diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..89c734d4 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# These are supported funding model platforms + +github: insality # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +ko_fi: insality # Replace with a single Ko-fi username +custom: ['https://www.buymeacoffee.com/insality'] diff --git a/.luacheckrc b/.luacheckrc index 82ec63cb..f9c6bc52 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,7 +2,7 @@ std = "max" files['.luacheckrc'].global = false unused_args = false -max_code_line_length = 90 +max_code_line_length = 120 max_comment_line_length = false globals = { @@ -45,8 +45,12 @@ globals = { "debug", "timer", "window", - "buffer", + "buffer", "resource", "defos", "html5", + "describe", + "before", + "after", + "it", } diff --git a/README.md b/README.md index 196ba219..63ffcdbc 100644 --- a/README.md +++ b/README.md @@ -4,192 +4,150 @@ [![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/insality) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/insality/druid)](https://github.com/Insality/druid/releases) -[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/insality/druid/Run%20tests)](https://github.com/Insality/druid/actions) +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/insality/druid/ci-workflow.yml?branch=master)](https://github.com/Insality/druid/actions) [![codecov](https://codecov.io/gh/Insality/druid/branch/master/graph/badge.svg)](https://codecov.io/gh/Insality/druid) -**Druid** - powerful Defold component UI library. Use basic and extended **Druid** components or make your own game-specific components to make amazing GUI in your games. +**Druid** - powerful **Defold** component UI framework that empowers developers to create stunning and customizable GUIs by leveraging a wide range of embedded components or effortlessly designing their own game-specific components. +Try the [**HTML5 version**](https://insality.github.io/druid/druid/) of the **Druid** example app. ## Setup ### Dependency -You can use the **Druid** extension in your own project by adding this project as a [Defold library dependency](https://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add: +To integrate the **Druid** extension into your own project, add this project as a [dependency](https://www.defold.com/manuals/libraries/) in your **Defold** game. Open your `game.project` file and add the following line to the dependencies field under the project section: -> [https://github.com/Insality/druid/archive/master.zip](https://github.com/Insality/druid/archive/master.zip) +**Druid v0.11.0** -Or point to the ZIP file of a [specific release](https://github.com/Insality/druid/releases). +> [https://github.com/Insality/druid/archive/refs/tags/0.11.0.zip](https://github.com/Insality/druid/archive/refs/tags/0.11.0.zip) -### Input bindings +Here is a list of [all releases](https://github.com/Insality/druid/releases). -**Druid** requires the following input bindings: +Size: **67.16 KB** -- Mouse trigger - `Button 1` -> `touch` _For basic input components_ -- Mouse trigger - `Wheel up` -> `scroll_up` _For scroll component_ -- Mouse trigger - `Wheel down` -> `scroll_down` _For scroll component_ -- Key trigger - `Backspace` -> `key_backspace` _For back_handler component, input component_ -- Key trigger - `Back` -> `key_back` _For back_handler component, Android back button, input component_ -- Key trigger - `Enter` -> `key_enter` _For input component, optional_ -- Key trigger - `Esc` -> `key_esc` _For input component, optional_ -- Touch triggers - `Touch multi` -> `multitouch` _For scroll component_ +> The size metrics exlcude the extended components, which are including only on demand. -![](media/input_binding_2.png) -![](media/input_binding_1.png) +### Input Bindings +**Druid** utilizes the `/builtins/input/all.input_binding` input bindings. For custom input bindings, refer to the Input Binding section in the **_[Advanced Setup](docs_md/advanced-setup.md#input-bindings)_**. -### Change key bindings [optional] -If you have to use your own key bindings (and key name), you can change it in your *game.project* file. - -Here is current default values for key bindings: -``` -[druid] -input_text = text -input_touch = touch -input_marked_text = marked_text -input_key_esc = key_esc -input_key_back = key_back -input_key_enter = key_enter -input_key_backspace = key_backspace -input_multitouch = multitouch -input_scroll_up = scroll_up -input_scroll_down = scroll_down -``` +## Usage +### Basic usage -### Input capturing [optional] +To utilize **Druid**, begin by creating a **Druid** instance to instantiate components and include the main functions of **Druid**: *update*, *final*, *on_message*, and *on_input*. -By default, **Druid** will auto-capture input focus, if any input component will be created. So you don't need to call `msg.post(".", "acquire_input_focus")` +When using **Druid** components, provide a node name string as an argument. If you don't have the node name available in some cases, you can pass `gui.get_node()` instead. -If you don't need this behaviour, you can disable it by setting `druid.no_auto_input` field in _game.project_: -``` -[druid] -no_auto_input = 1 -``` +All **Druid** and component methods are invoked using the `:` operator, such as `self.druid:new_button()`. +```lua +local druid = require("druid.druid") -### Template name check [optional] +-- All component callbacks pass "self" as first argument +-- This "self" is a context data passed in `druid.new(context)` +local function on_button_callback(self) + print("The button clicked!") +end -By default, **Druid** will auto check the parent component template name to build the full template name for component. +function init(self) + self.druid = druid.new(self) + self.button = self.druid:new_button("button_node_name", on_button_callback) +end -If for some reason you want to pass the full template name by yourself, you can disable it by setting `druid.no_auto_template` field in _game.project_: +-- "final" is a required function for the correct Druid workflow +function final(self) + self.druid:final() +end -``` -[druid] -no_auto_template = 1 -``` +-- "update" is used in progress bar, scroll, and timer basic components +function update(self, dt) + self.druid:update(dt) +end +-- "on_message" is used for specific Druid events, like language change or layout change +function on_message(self, message_id, message, sender) + self.druid:on_message(message_id, message, sender) +end -### Stencil check [optional] +-- "on_input" is used in almost all Druid components +-- The return value from `druid:on_input` is required! +function on_input(self, action_id, action) + return self.druid:on_input(action_id, action) +end -When creating input components inside stencil nodes, **Druid** automatically setup `component:set_click_zone()` on _late_init_ component step to restrict input clicks outside this stencil zone. -To disable this feature add next field in your _game.project_ file -``` -[druid] -no_stencil_check = 1 ``` +For all **Druid** instance functions, [see here](https://insality.github.io/druid/modules/DruidInstance.html). -### Code [optional] -Adjust **Druid** settings, if needed: -```lua -local druid = require("druid.druid") +### API Documentation --- Used for button component and custom components --- Callback should play sound by name -druid.set_sound_function(callback) +**Druid** offers a wide range of components and functions. To facilitate usage, **Druid** provides comprehensive API documentation with examples and annotations. --- Used for lang_text component --- Callback should return localized string by locale id -druid.set_text_function(callback) +Start reading the API documentation [here](https://insality.github.io/druid/modules/Druid.html). --- Used for change default druid style -druid.set_default_style(your_style) +**Druid** provide the *EmmyLua* annotations to add autocomplete inside your IDE. Check [EmmyLua Setup here](docs_md/advanced-setup.md#emmylua-annotations). --- Call this function on language changing in the game, --- to retranslate all lang_text components: -druid.on_language_change() - --- Call this function inside window.set_listener --- to catch game focus lost/gained callbacks: -druid.on_window_callback(event) -``` +### Create custom components -## Components - -Here is full **Druid** components list: - -| Name | Description | API page | Example Link | Is Basic component[^1] | Preview | -|------|-------------|----------|------------|-------------|---------| -| **[Button](docs_md/01-components.md#button)** | Basic input component. Handles all types of interactions: click, long click, hold click, double click, etc | [Button API](https://insality.github.io/druid/modules/Button.html) | [Button Example](https://insality.github.io/druid/druid/?example=general_buttons) | ✅ | | -| **[Text](docs_md/01-components.md#text)** | Wrap on GUI text node, handle different text size adjusting, providing additional text API | [Text API](https://insality.github.io/druid/modules/Button.html) | [Text Example](https://insality.github.io/druid/druid/?example=texts_general) | ✅ | | -| **[Scroll](docs_md/01-components.md#scroll)** | Scroll component | [Scroll API](https://insality.github.io/druid/modules/Scroll.html) | [Scroll Example](https://insality.github.io/druid/druid/?example=general_scroll) | ✅ | | -| **[Blocker](docs_md/01-components.md#blocker)** | Block user input in node zone area | [Blocker API](https://insality.github.io/druid/modules/Blocker.html) | ❌ | ✅ | | -| **[Back Handler](docs_md/01-components.md#back-handler)** | Handle back button (Android back button, backspace key) | [Back Handler API](https://insality.github.io/druid/modules/BackHandler.html) | ❌ | ✅ | | -| **[Static Grid](docs_md/01-components.md#static-grid)** | Component to manage node positions with equal sizes | [Static Grid API](https://insality.github.io/druid/modules/StaticGrid.html) | [Static Gid Example](https://insality.github.io/druid/druid/?example=general_grid) | ✅ | | -| **[Hover](docs_md/01-components.md#hover)** | Handle hover node state on node | [Hover API](https://insality.github.io/druid/modules/Hover.html) | ❌ | ✅ | | -| **[Swipe](docs_md/01-components.md#swipe)** | Handle swipe gestures on node | [Swipe API](https://insality.github.io/druid/modules/Swipe.html) | [Swipe Example](https://insality.github.io/druid/druid/?example=general_swipe) | ✅ | | -| **[Drag](docs_md/01-components.md#drag)** | Handle drag input on node | [Drag API](https://insality.github.io/druid/modules/Drag.html) | [Drag Example](https://insality.github.io/druid/druid/?example=general_drag) | ✅ | | -| **[Checkbox](docs_md/01-components.md#checkbox)** | Checkbox component | [Checkbox API](https://insality.github.io/druid/modules/Checkbox.html) | [Checkbox Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | ❌ | | -| **[Checkbox group](docs_md/01-components.md#checkbox-group)** | Several checkboxes in one group | [Checkbox group API](https://insality.github.io/druid/modules/CheckboxGroup.html) | [Checkbox group Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | ❌ | | -| **[Radio group](docs_md/01-components.md#radio-group)** | Several checkboxes in one group with a single choice | [Radio group API](https://insality.github.io/druid/modules/RadioGroup.html) | [Radio Group Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | ❌ | | -| **[Dynamic Grid](docs_md/01-components.md#dynamic-grid)** | Component to manage node positions with different sizes. Only in one row or column | [Dynamic Grid API](https://insality.github.io/druid/modules/DynamicGrid.html) | [Dynamic Grid Example](https://insality.github.io/druid/druid/?example=general_grid) | ❌ | | -| **[Data List](docs_md/01-components.md#data-list)** | Component to manage data for huge datasets in scroll | [Data List API](https://insality.github.io/druid/modules/DataList.html) | [Data List Example](https://insality.github.io/druid/druid/?example=general_data_list) | ❌ | | -| **[Input](docs_md/01-components.md#input)** | User text input component | [Input API](https://insality.github.io/druid/modules/Input.html) | [Input Example](https://insality.github.io/druid/druid/?example=general_input) | ❌ | | -| **[Lang text](docs_md/01-components.md#lang-text)** | Wrap on Text component to handle localization | [Lang Text API](https://insality.github.io/druid/modules/LangText.html) | ❌ | ❌ | | -| **[Progress](docs_md/01-components.md#progress)** | Progress bar component | [Progress API](https://insality.github.io/druid/modules/Progress.html) | [Progress Example](https://insality.github.io/druid/druid/?example=general_progress_bar) | ❌ | | -| **[Slider](docs_md/01-components.md#slider)** | Slider component | [Slider API](https://insality.github.io/druid/modules/Slider.html) | [Slider Example](https://insality.github.io/druid/druid/?example=general_sliders) | ❌ | | -| **[Timer](docs_md/01-components.md#timer)** | Handle timers on GUI text node | [Timer API](https://insality.github.io/druid/modules/Timer.html) | ❌ | ❌ | | -| **[Hotkey](docs_md/01-components.md#hotkey)** | Handle keyboard hotkeys with key modificators | [Hotkey API](https://insality.github.io/druid/modules/Hotkey.html) | [Hotkey Example](https://insality.github.io/druid/druid/?example=general_hokey) | ❌ | | -| **[Layout](docs_md/01-components.md#layout)** | Handle node size depends on layout mode and screen aspect ratio | [Layout API](https://insality.github.io/druid/modules/Layout.html) | [Layout Example](https://insality.github.io/druid/druid/?example=general_layout) | ❌ | | +If you want to create your own components, refer to the [Create Custom Components](docs_md/02-creating_custom_components.md) section in the documentation. -For a complete overview, see: **_[components.md](docs_md/01-components.md)_**. +Custom components are one of the most powerful features of **Druid**. They allow you to create your own components effortlessly and utilize them in your game. -[^1]: Non basic components before use should be registered first to be included in build +## Druid Components +Here is full **Druid** components list. -## Basic usage +### Basic Components -To use **Druid**, first you should create a Druid instance to spawn components and add Druids main engine functions: *update*, *final*, *on_message* and *on_input*. +> Basic components always included in the build and available for use. -All **Druid** components take node name string as arguments, don't do `gui.get_node()` before. +| Name | Description | Example |
Preview
| +|------|-------------|---------|---------| +| **[Button](https://insality.github.io/druid/modules/Button.html)** | Logic over GUI Node. Handle the user click interactions: click, long click, double click, etc. | [Button Example](https://insality.github.io/druid/druid/?example=general_buttons) | | +| **[Text](https://insality.github.io/druid/modules/Text.html)** | Logic over GUI Text. By default Text component fit the text inside text node size area with different adjust modes. | [Text Example](https://insality.github.io/druid/druid/?example=texts_general) | | +| **[Scroll](https://insality.github.io/druid/modules/Scroll.html)** | Logic over two GUI Nodes: input and content. Provides basic behaviour for scrollable content. | [Scroll Example](https://insality.github.io/druid/druid/?example=general_scroll) | | +| **[Blocker](https://insality.github.io/druid/modules/Blocker.html)** | Logic over GUI Node. Don't pass any user input below node area size. | ❌ | | +| **[Back Handler](https://insality.github.io/druid/modules/BackHandler.html)** | Call callback on user "Back" action. It's a Android back button or keyboard backspace key | ❌ | | +| **[Static Grid](https://insality.github.io/druid/modules/StaticGrid.html)** | Logic over GUI Node. Component to manage node positions with all equal node sizes. | [Static Gid Example](https://insality.github.io/druid/druid/?example=general_grid) | | +| **[Hover](https://insality.github.io/druid/modules/Hover.html)** | Logic over GUI Node. Handle hover action over node. For both: mobile touch and mouse cursor. | ❌ | | +| **[Swipe](https://insality.github.io/druid/modules/Swipe.html)** | Logic over GUI Node. Handle swipe gestures over node. | [Swipe Example](https://insality.github.io/druid/druid/?example=general_swipe) | | +| **[Drag](https://insality.github.io/druid/modules/Drag.html)** | Logic over GUI Node. Handle drag input actions. Can be useful to make on screen controlls. | [Drag Example](https://insality.github.io/druid/druid/?example=general_drag) | | -All **Druid** and component methods are called with `:` like `self.druid:new_button()`. - -```lua -local druid = require("druid.druid") - -local function button_callback(self) - print("Button was clicked!") -end - -function init(self) - self.druid = druid.new(self) - self.druid:new_button("button_node_name", button_callback) -end - -function final(self) - self.druid:final() -end -function on_message(self, message_id, message, sender) - self.druid:on_message(message_id, message, sender) -end +### Extended components +> Extended components before usage should be registered in **Druid** with [`druid.register()`](https://insality.github.io/druid/modules/Druid.html#druid.register) function. +> On usage of unregistered **Druid** component the next log will be shown in the console. +``` +local data_list = require("druid.extended.data_list") +druid.register("data_list", data_list) +``` -function on_input(self, action_id, action) - return self.druid:on_input(action_id, action) -end +| Name | Description | Example |
Preview
| +|------|-------------|---------|---------| +| **[Checkbox](https://insality.github.io/druid/modules/Checkbox.html)** | Switch node state on click event. | [Checkbox Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | | +| **[Checkbox group](https://insality.github.io/druid/modules/CheckboxGroup.html)** | Group of checkbox components. | [Checkbox group Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | | +| **[Radio group](https://insality.github.io/druid/modules/RadioGroup.html)** | Like checkbox group but with single choise only. | [Radio Group Example](https://insality.github.io/druid/druid/?example=general_checkboxes) | | +| **[Dynamic Grid](https://insality.github.io/druid/modules/DynamicGrid.html)** | Logic over GUI Node. Component to manage node positions with all different node sizes. Only one direction: horizontal or vertical. | [Dynamic Grid Example](https://insality.github.io/druid/druid/?example=general_grid) | | +| **[Data List](https://insality.github.io/druid/modules/DataList.html)** | Logic over Scroll and Grid components. Create only visible GUI nodes or components to make "infinity" scroll befaviour | [Data List Example](https://insality.github.io/druid/druid/?example=general_data_list) | | +| **[Input](https://insality.github.io/druid/modules/Input.html)** | Logic over GUI Node and GUI Text (or Text component). Provides basic user text input. | [Input Example](https://insality.github.io/druid/druid/?example=general_input) | | +| **[Lang text](https://insality.github.io/druid/modules/LangText.html)** | Logic over Text component to handle localization. Can be translated in real-time with `druid.on_language_change` | ❌ | | +| **[Progress](https://insality.github.io/druid/modules/Progress.html)** | Logic over GUI Node. Handle node size and scale to handle progress node size. | [Progress Example](https://insality.github.io/druid/druid/?example=general_progress_bar) | | +| **[Slider](https://insality.github.io/druid/modules/Slider.html)** | Logic over GUI Node. Handle draggable node with position restrictions. | [Slider Example](https://insality.github.io/druid/druid/?example=general_sliders) | | +| **[Timer](https://insality.github.io/druid/modules/Timer.html)** | Logic over GUI Text. Handle basic timer functions. | ❌ | | +| **[Hotkey](https://insality.github.io/druid/modules/Hotkey.html)** | Allow to set callbacks for keyboard hotkeys with key modificators. | [Hotkey Example](https://insality.github.io/druid/druid/?example=general_hotkey) | | +| **[Layout](https://insality.github.io/druid/modules/Layout.html)** | Logic over GUI Node. Handle node size depends on layout mode and screen aspect ratio. Contains helpers to build more complex UI layout. | [Layout Example](https://insality.github.io/druid/druid/?example=general_layout) | | -``` +For a complete overview, see: **_[components.md](docs_md/01-components.md)_**. -For all **Druid** instance functions, [see here](https://insality.github.io/druid/modules/druid_instance.html). ## Druid Events -Any **Druid** components as callbacks use [Druid Events](https://insality.github.io/druid/modules/druid_event.html). In component API ([button example](https://insality.github.io/druid/modules/druid.button.html#Events)) pointed list of component events. You can manually subscribe to those events with the following API: +Any **Druid** components as callbacks use [Druid Events](https://insality.github.io/druid/modules/DruidEvent.html). In component API ([button example](https://insality.github.io/druid/modules/Button.html#on_click)) pointed list of component events. You can manually subscribe to these events with the following API: - **event:subscribe**(callback) @@ -199,71 +157,37 @@ Any **Druid** components as callbacks use [Druid Events](https://insality.github You can subscribe several callbacks to a single event. -## Druid Lifecycle - -Here is full Druid lifecycle setup for your ***.gui_script** file: -```lua -local druid = require("druid.druid") - -function init(self) - self.druid = druid.new(self) -end - -function final(self) - self.druid:final() -end - -function update(self, dt) - self.druid:update(dt) -end - -function on_input(self, action_id, action) - return self.druid:on_input(action_id, action) -end - -function on_message(self, message_id, message, sender) - self.druid:on_message(message_id, message, sender) -end -``` - -- *final* is a **required** function for a correct Druid lifecycle -- *on_input* is used in almost all Druid components -- *update* in used in progress bar, scroll and timer base components -- *on_message* is used for specific Druid events, like language change or layout change - -It is recommended to fully integrate all **Druid** lifecycles functions. - - ## Details -- Druid input goes as stack. Last created button will checked first. So create your GUI from back -- Don't forget about `return` in `on_input`: `return self.druid:on_input()`. It is needed if you have more than 1 acquire inputs (several Druid, other input system, etc) -- By default, Druid will automatically _acquire_input_focus_. So you don't need do it manually. But only if you have components which require _on_input_ -- If you want to delete a node which has a Druid component, don't forget to remove it via `druid:remove(component)` - -[See full FAQ here](docs_md/FAQ.md) +- **Druid** processes input in a stack-based manner. The most recently created button will be checked first. Create your input GUI components from back to front. +- Remember to include `return` in the `on_input` function: `return self.druid:on_input()`. This is necessary if you have multiple input sources (multiple Druid instances, other input systems, etc.). +- Druid automatically calls `acquire_input_focus` if you have input components. Therefore, manual calling of `acquire_input_focus` is not required. +- When deleting a **Druid** component node, make sure to remove it using `druid:remove(component)`. ## Examples -See the [**example folder**](https://github.com/Insality/druid/tree/develop/example) for examples of how to use **Druid** +Try the [**HTML5 version**](https://insality.github.io/druid/druid/) of the **Druid** example app. + +Each example page provides a direct link to the corresponding example code, making it easier for you to understand how to use **Druid**. -Try the [**HTML5 version**](https://insality.github.io/druid/druid/) of the **Druid** example app +Or refer directly to the [**example folder**](https://github.com/Insality/druid/tree/develop/example) for code examples demonstrating how to use **Druid**. +If you want to see examples of GUIs created with Druid, please refer to the [game_examples.md](docs_md/game_examples.md) file. ## Documentation To better understand **Druid**, read the following documentation: +- [How To GUI in Defold](https://forum.defold.com/t/how-to-gui-in-defold/73256) - [Druid components](docs_md/01-components.md) - [Create custom components](docs_md/02-creating_custom_components.md) - [See FAQ article](docs_md/FAQ.md) - [Druid styles](docs_md/03-styles.md) -You can fund the full **Druid** documentation here: -https://insality.github.io/druid/ +You can find the full **Druid** [documentation here](https://insality.github.io/druid/modules/Druid.html). -## License +## Licenses - Developed and supported by [Insality](https://github.com/Insality) - Original idea by [AGulev](https://github.com/AGulev) @@ -275,8 +199,12 @@ https://insality.github.io/druid/ If you have any issues, questions or suggestions please [create an issue](https://github.com/Insality/druid/issues) or contact me: [insality@gmail.com](mailto:insality@gmail.com) +## History +For a complete history of the development of **Druid**, please check the [changelog](docs_md/changelog.md). + + ## ❤️ Support project ❤️ -Please support me if you like this project! It will help me keep engaged to update **Druid** and make it even better! +Your donation helps me stay engaged in creating valuable projects for **Defold**. If you appreciate what I'm doing, please consider supporting me! [![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/insality) diff --git a/config.ld b/config.ld index 67a62f59..1a295b1b 100644 --- a/config.ld +++ b/config.ld @@ -1,12 +1,13 @@ project='Druid' -title='Defold Druid UI Library' -description='Documentation for Druid Library' +title='Defold Druid UI Framework' +description='Documentation for Druid Framework' file={"./druid", exclude = { "./druid/styles/", "./druid/system/middleclass.lua", "./druid/templates/", "./druid/annotations.lua", + "./druid/custom/rich_text/module", } } package='druid' diff --git a/deployer_build_stats.csv b/deployer_build_stats.csv index 09bbddc9..2a151af3 100644 --- a/deployer_build_stats.csv +++ b/deployer_build_stats.csv @@ -9,3 +9,10 @@ date,sha,version,build_size,build_time,platform,mode,is_cache_using,commits_coun 2022-08-29T18:46:47Z,13003e472169cbd261e703eca7b133adf64a24f7,0.9.592,2316,40,js-web,release,true,592 2022-09-09T17:55:42Z,072507cc9e715541bdee7636d2e5eeeb3c22a57d,0.10.603,2340,43,js-web,release,true,603 2022-09-09T18:00:07Z,072507cc9e715541bdee7636d2e5eeeb3c22a57d,0.10.603,2340,5,js-web,release,true,603 +2023-07-05T20:19:22Z,d0062c2a78e618871ebb4c8ee66b1509b763f069,0.10.671,3292,12,x86_64-linux,headless,true,671 +2023-07-13T18:37:07Z,1cbe57376397a8352bbafcc67de0b6f95ae37b35,0.10.682,2496,53,js-web,release,true,682 +2023-07-13T19:31:47Z,ea185622702e6691275187741b1e2ee0c7f079ec,0.11.686,2452,51,js-web,release,true,686 +2023-07-15T12:56:18Z,556e1a9bae620e2df290b10287fa8d0f64d47293,0.11.690,2468,51,js-web,release,true,690 +2023-08-05T16:02:55Z,628723386eb3875f7190d079a2e7c510d044a311,0.11.692,2456,40,js-web,release,true,692 +2023-08-05T16:31:19Z,37fff52aa59feb20f761ef4d340d9f677743d54b,0.11.693,2456,43,js-web,release,true,693 +2023-08-05T16:41:25Z,d7dd4a86b81d73d345ad7e136de9c2c488bc4d8b,0.11.694,2452,43,js-web,release,true,694 diff --git a/docs/druid/archive/archive_files.json b/docs/druid/archive/archive_files.json index 28c4c68a..b50838c9 100644 --- a/docs/druid/archive/archive_files.json +++ b/docs/druid/archive/archive_files.json @@ -1 +1 @@ -{"content":[{"name":"game.projectc","size":3797,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":19808,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":449757,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":20704,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]} \ No newline at end of file +{"content":[{"name":"game.projectc","size":4114,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":23008,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":607568,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":24253,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]} \ No newline at end of file diff --git a/docs/druid/archive/game.arcd0 b/docs/druid/archive/game.arcd0 index 3e66d763..27cc27ad 100644 Binary files a/docs/druid/archive/game.arcd0 and b/docs/druid/archive/game.arcd0 differ diff --git a/docs/druid/archive/game.arci0 b/docs/druid/archive/game.arci0 index 6bfe0dff..71c67dfa 100644 Binary files a/docs/druid/archive/game.arci0 and b/docs/druid/archive/game.arci0 differ diff --git a/docs/druid/archive/game.dmanifest0 b/docs/druid/archive/game.dmanifest0 index 05763cba..a43bab64 100644 Binary files a/docs/druid/archive/game.dmanifest0 and b/docs/druid/archive/game.dmanifest0 differ diff --git a/docs/druid/archive/game.projectc0 b/docs/druid/archive/game.projectc0 index 4c25f8ee..ba7fbe07 100644 --- a/docs/druid/archive/game.projectc0 +++ b/docs/druid/archive/game.projectc0 @@ -1,21 +1,22 @@ [project] title = druid -version = 0.10.603 +version = 0.11.694 write_log = 0 compress_archive = 1 publisher = Insality developer = Insality -commit_sha = 072507cc9e715541bdee7636d2e5eeeb3c22a57d -build_date = 2022-09-09T18:00:07Z +commit_sha = d7dd4a86b81d73d345ad7e136de9c2c488bc4d8b +build_date = 2023-08-05T16:41:25Z title_as_file_name = druid [display] width = 600 height = 900 -high_dpi = 0 +high_dpi = 1 samples = 0 fullscreen = 0 update_frequency = 0 +swap_interval = 1 vsync = 1 display_profiles = /example/custom.display_profilesc dynamic_orientation = 1 @@ -29,6 +30,8 @@ clear_color_alpha = 0 [physics] type = 2D +max_collision_object_count = 128 +use_fixed_timestep = 0 gravity_y = -10 debug = 0 debug_alpha = 0.9 @@ -45,6 +48,7 @@ ray_cast_limit_2d = 64 ray_cast_limit_3d = 128 trigger_overlap_capacity = 16 velocity_threshold = 1 +max_fixed_timesteps = 2 [bootstrap] main_collection = /example/example.collectionc @@ -53,11 +57,11 @@ render = /builtins/render/default.renderc [graphics] default_texture_min_filter = linear default_texture_mag_filter = linear -max_draw_calls = 1024 +max_draw_calls = 128 max_characters = 8192 max_debug_vertices = 10000 texture_profiles = /example/custom.texture_profiles -verify_graphics_calls = 1 +verify_graphics_calls = 0 memory_size = 512 [shader] @@ -84,14 +88,15 @@ game_binding = /input/game.input_bindingc use_accelerometer = 0 [sprite] -max_count = 128 +max_count = 16 subpixels = 1 [model] -max_count = 128 +max_count = 0 +split_meshes = 0 [mesh] -max_count = 128 +max_count = 0 [gui] max_count = 64 @@ -99,70 +104,79 @@ max_particlefx_count = 64 max_particle_count = 1024 [collection] -max_instances = 1024 +max_instances = 128 max_input_stack_entries = 16 [collection_proxy] max_count = 8 [collectionfactory] -max_count = 128 +max_count = 64 [factory] -max_count = 128 +max_count = 16 [ios] launch_screen = /builtins/manifests/ios/LaunchScreen.storyboardc pre_renderered_icons = 0 bundle_identifier = example.unnamed +bundle_name = infoplist = /builtins/manifests/ios/Info.plist default_language = en localizations = en [android] -version_code = 603 -minimum_sdk_version = 16 -target_sdk_version = 30 +version_code = 694 +minimum_sdk_version = 19 +target_sdk_version = 33 package = com.insality.druid +gcm_sender_id = manifest = /builtins/manifests/android/AndroidManifest.xml iap_provider = GooglePlay input_method = HiddenInputField immersive_mode = 0 display_cutout = 1 debuggable = 0 +proguard = [osx] +app_icon = infoplist = /builtins/manifests/osx/Info.plist bundle_identifier = example.unnamed +bundle_name = bundle_version = 1 default_language = en localizations = en [windows] +app_icon = [html5] custom_heap_size = 0 heap_size = 64 htmlfile = /builtins/manifests/web/engine_template.html cssfile = /example/light_theme.css +splash_image = /media/druid_logo.png archive_location_prefix = archive +archive_location_suffix = +engine_arguments = --verify-graphics-calls=false +wasm_streaming = 0 show_fullscreen_button = 0 show_made_with_defold = 0 show_console_banner = 1 scale_mode = fit -engine_arguments = --verify-graphics-calls=false -splash_image = /media/druid_logo.png [particle_fx] -max_count = 64 -max_emitter_count = 64 -max_particle_count = 1024 +max_count = 0 +max_emitter_count = 0 +max_particle_count = 0 [iap] auto_finish_transactions = 1 [network] http_timeout = 0 +ssl_certificates = http_thread_count = 4 http_cache_enabled = 1 @@ -173,22 +187,24 @@ include_dirs = druid shared_state = 1 [label] -max_count = 64 +max_count = 0 subpixels = 1 [profiler] track_cpu = 0 +sleep_between_server_updates = 0 [liveupdate] settings = /liveupdate.settings enabled = 1 [tilemap] -max_count = 16 -max_tile_count = 2048 +max_count = 0 +max_tile_count = 0 [engine] run_while_iconified = 0 +fixed_update_frequency = 60 [druid] no_auto_input = 0 @@ -201,9 +217,9 @@ input_key_esc = key_esc input_key_back = key_back input_key_enter = key_enter input_key_backspace = key_backspace -input_multitouch = multitouch -input_scroll_up = scroll_up -input_scroll_down = scroll_down +input_multitouch = touch_multi +input_scroll_up = mouse_wheel_up +input_scroll_down = mouse_wheel_down [native_extension] app_manifest = /example/game.appmanifest diff --git a/docs/druid/dmloader.js b/docs/druid/dmloader.js index 9783be31..80d42677 100644 --- a/docs/druid/dmloader.js +++ b/docs/druid/dmloader.js @@ -102,18 +102,10 @@ var FileLoader = { var EngineLoader = { wasm_size: 2000000, - wasm_from: 0, - wasm_to: 40, - wasmjs_size: 250000, - wasmjs_from: 40, - wasmjs_to: 50, - asmjs_size: 4000000, - asmjs_from: 0, - asmjs_to: 50, - stream_wasm: true, + stream_wasm: false, loadAndInstantiateWasmAsync: function(src, fromProgress, toProgress, callback) { FileLoader.load(src, "arraybuffer", EngineLoader.wasm_size, @@ -133,9 +125,32 @@ var EngineLoader = { }); }, - streamAndInstantiateWasmAsync: function(src, fromProgress, toProgress, callback) { + setupWasmStreamAsync: async function(src, fromProgress, toProgress) { + // https://stackoverflow.com/a/69179454 + var fetchFn = fetch; + if (typeof TransformStream === "function" && ReadableStream.prototype.pipeThrough) { + async function fetchWithProgress(path) { + const response = await fetch(path); + // May be incorrect if compressed + const contentLength = response.headers.get("Content-Length"); + const total = parseInt(contentLength, 10); + + let bytesLoaded = 0; + const ts = new TransformStream({ + transform (chunk, controller) { + bytesLoaded += chunk.byteLength; + Progress.calculateProgress(fromProgress, toProgress, bytesLoaded, total); + controller.enqueue(chunk) + } + }); + + return new Response(response.body.pipeThrough(ts), response); + } + fetchFn = fetchWithProgress; + } + Module.instantiateWasm = function(imports, successCallback) { - WebAssembly.instantiateStreaming(fetch(src), imports).then(function(output) { + WebAssembly.instantiateStreaming(fetchFn(src), imports).then(function(output) { Progress.calculateProgress(fromProgress, toProgress, 1, 1); successCallback(output.instance); }).catch(function(e) { @@ -144,43 +159,45 @@ var EngineLoader = { }); return {}; // Compiling asynchronously, no exports. } - callback(); }, // instantiate the .wasm file either by streaming it or first loading and then instantiate it // https://github.com/emscripten-core/emscripten/blob/master/tests/manual_wasm_instantiate.html#L170 - loadWasmAsync: function(src, fromProgress, toProgress, callback) { + loadWasmAsync: function(exeName) { if (EngineLoader.stream_wasm && (typeof WebAssembly.instantiateStreaming === "function")) { - EngineLoader.streamAndInstantiateWasmAsync(src, fromProgress, toProgress, callback); + EngineLoader.setupWasmStreamAsync(exeName + ".wasm", 10, 50); + EngineLoader.loadAndRunScriptAsync(exeName + '_wasm.js', EngineLoader.wasmjs_size, 0, 10); } else { - EngineLoader.loadAndInstantiateWasmAsync(src, fromProgress, toProgress, callback); + EngineLoader.loadAndInstantiateWasmAsync(exeName + ".wasm", 0, 40, function() { + EngineLoader.loadAndRunScriptAsync(exeName + '_wasm.js', EngineLoader.wasmjs_size, 40, 50); + }); } }, + loadAsmJsAsync: function(exeName) { + EngineLoader.loadAndRunScriptAsync(exeName + '_asmjs.js', EngineLoader.asmjs_size, 0, 50); + }, + // load and start engine script (asm.js or wasm.js) - loadScriptAsync: function(src, estimatedSize, fromProgress, toProgress) { + loadAndRunScriptAsync: function(src, estimatedSize, fromProgress, toProgress) { FileLoader.load(src, "text", estimatedSize, function(loaded, total) { Progress.calculateProgress(fromProgress, toProgress, loaded, total); }, function(error) { throw error; }, function(response) { var tag = document.createElement("script"); tag.text = response; - document.head.appendChild(tag); + document.body.appendChild(tag); }); }, // load engine (asm.js or wasm.js + wasm) - // engine load progress goes from 1-50% for ams.js - // engine load progress goes from 0-40% for .wasm and 40-50% for wasm.js load: function(appCanvasId, exeName) { Progress.addProgress(Module.setupCanvas(appCanvasId)); if (Module['isWASMSupported']) { - EngineLoader.loadWasmAsync(exeName + ".wasm", EngineLoader.wasm_from, EngineLoader.wasm_to, function(wasm) { - EngineLoader.loadScriptAsync(exeName + '_wasm.js', EngineLoader.wasmjs_size, EngineLoader.wasmjs_from, EngineLoader.wasmjs_to); - }); + EngineLoader.loadWasmAsync(exeName); } else { - EngineLoader.loadScriptAsync(exeName + '_asmjs.js', EngineLoader.asmjs_size, EngineLoader.asmjs_from, EngineLoader.asmjs_to); + EngineLoader.loadAsmJsAsync(exeName); } } } @@ -699,9 +716,14 @@ var Module = { }, preSync: function(done) { + if (Module.persistentStorage != true) { + Module._syncInitial = true; + done(); + return; + } // Initial persistent sync before main is called FS.syncfs(true, function(err) { - if(err) { + if (err) { Module._syncTries += 1; console.error("FS syncfs error: " + err); if (Module._syncMaxTries > Module._syncTries) { @@ -734,6 +756,9 @@ var Module = { // It will flag that another one is needed if there is already one sync running. persistentSync: function() { + if (Module.persistentStorage != true) { + return; + } // Need to wait for the initial sync to finish since it // will call close on all its file streams which will trigger // new persistentSync for each. @@ -747,27 +772,40 @@ var Module = { }, preInit: [function() { - /* Mount filesystem on preinit */ + // Mount filesystem on preinit var dir = DMSYS.GetUserPersistentDataRoot(); - FS.mkdir(dir); + try { + FS.mkdir(dir); + } + catch (error) { + Module.persistentStorage = false; + Module._preloadAndCallMain(); + return; + } // If IndexedDB is supported we mount the persistent data root as IDBFS, // then try to do a IDB->MEM sync before we start the engine to get // previously saved data before boot. - window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; - if (Module.persistentStorage && window.indexedDB) { + try { FS.mount(IDBFS, {}, dir); - // Patch FS.close so it will try to sync MEM->IDB - var _close = FS.close; FS.close = function(stream) { var r = _close(stream); Module.persistentSync(); return r; } - - // Sync IDB->MEM before calling main() - Module.preSync(function() { - Module._preloadAndCallMain(); - }); - } else { + var _close = FS.close; + FS.close = function(stream) { + var r = _close(stream); + Module.persistentSync(); + return r; + } + } + catch (error) { + Module.persistentStorage = false; Module._preloadAndCallMain(); + return; } + + // Sync IDB->MEM before calling main() + Module.preSync(function() { + Module._preloadAndCallMain(); + }); }], preRun: [function() { diff --git a/docs/druid/druid.wasm b/docs/druid/druid.wasm index 37b1a7b1..75187b50 100644 Binary files a/docs/druid/druid.wasm and b/docs/druid/druid.wasm differ diff --git a/docs/druid/druid_asmjs.js b/docs/druid/druid_asmjs.js index 08ea7f4e..e8988585 100644 --- a/docs/druid/druid_asmjs.js +++ b/docs/druid/druid_asmjs.js @@ -1,82 +1,82 @@ var Module=typeof Module!=="undefined"?Module:{};var Promise=function(){function noop(){}function bind(fn,thisArg){return function(){fn.apply(thisArg,arguments)}}function Promise(fn){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if(typeof fn!=="function")throw new TypeError("not a function");this._state=0;this._handled=false;this._value=undefined;this._deferreds=[];doResolve(fn,this)}function handle(self,deferred){while(self._state===3){self=self._value}if(self._state===0){self._deferreds.push(deferred);return}self._handled=true;Promise._immediateFn(function(){var cb=self._state===1?deferred.onFulfilled:deferred.onRejected;if(cb===null){(self._state===1?resolve:reject)(deferred.promise,self._value);return}var ret;try{ret=cb(self._value)}catch(e){reject(deferred.promise,e);return}resolve(deferred.promise,ret)})}function resolve(self,newValue){try{if(newValue===self)throw new TypeError("A promise cannot be resolved with itself.");if(newValue&&(typeof newValue==="object"||typeof newValue==="function")){var then=newValue.then;if(newValue instanceof Promise){self._state=3;self._value=newValue;finale(self);return}else if(typeof then==="function"){doResolve(bind(then,newValue),self);return}}self._state=1;self._value=newValue;finale(self)}catch(e){reject(self,e)}}function reject(self,newValue){self._state=2;self._value=newValue;finale(self)}function finale(self){if(self._state===2&&self._deferreds.length===0){Promise._immediateFn(function(){if(!self._handled){Promise._unhandledRejectionFn(self._value)}})}for(var i=0,len=self._deferreds.length;i1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}readBinary=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else 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.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;return Math.ceil(size/factor)*factor}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];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(Cwa){function rwa(Dwa){Dwa.set=(function(c,Ewa){this[c]=Ewa});Dwa.get=(function(c){return this[c]});return Dwa}var a;var b=new Uint8Array(123);for(var c=25;c>=0;--c){b[48+c]=52+c;b[65+c]=c;b[97+c]=26+c}b[43]=62;b[47]=63;function swa(Fwa,Gwa,Hwa){var d,e,c=0,f=Gwa,g=Hwa.length,h=Gwa+(g*3>>2)-(Hwa[g-2]=="=")-(Hwa[g-1]=="=");for(;c>4;if(f>2;if(f=0;--c){b[48+c]=52+c;b[65+c]=c;b[97+c]=26+c}b[43]=62;b[47]=63;function Xwa(ixa,jxa,kxa){var d,e,c=0,f=jxa,g=kxa.length,h=jxa+(g*3>>2)-(kxa[g-2]=="=")-(kxa[g-1]=="=");for(;c>4;if(f>2;if(f>2]+8>>2]=0;q[a+18436>>2]=0;e=a+18340|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18268|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18196|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18124|0;q[e>>2]=0;q[e+4>>2]=0;a:{b:{if(!VB(a,0)){break b}E=a+18372|0;e=r[a+18372|0];c:{if((e|0)!=255){o[E|0]=255;break c}h=q[a>>2];e=q[h+172>>2];d:{if(e>>>0>2]){q[h+172>>2]=e+1;f=r[e|0];break d}if(!q[h+32>>2]){e=255;break c}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);i=h;e:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;e=h+41|0;break e}f=r[h+40|0];e=e+g|0}q[i+176>>2]=e;q[h+172>>2]=h+41}e=255;if((f&255)!=255){break c}while(1){h=q[a>>2];e=q[h+172>>2];f:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break f}if(!q[h+32>>2]){e=0;break c}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);g:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;f=h+41|0;e=0;break g}f=e+g|0;e=r[h+40|0]}q[h+176>>2]=f;q[h+172>>2]=h+41}if((e&255)==255){continue}break}}F=a+18376|0;y=a+18364|0;n=a+18368|0;h:while(1){i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{e=e&255;switch(e-217|0){case 3:break q;case 0:break s;case 1:break t;default:break r}}h=q[a>>2];g=q[h+172>>2];i=q[h+176>>2];u:{if(g>>>0>>0){e=g+1|0;q[h+172>>2]=e;f=r[g|0];break u}if(!q[h+32>>2]){f=0;e=g;break u}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);v:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;f=0;break v}i=e+g|0;f=r[h+40|0]}q[h+176>>2]=i;e=h+41|0;q[h+172>>2]=e}w:{if(e>>>0>>0){q[h+172>>2]=e+1;i=r[e|0];break w}if(!q[h+32>>2]){i=0;break w}g=h+40|0;j=ji[q[h+16>>2]](q[h+28>>2],g,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);e=h;x:{if(!j){i=0;o[h+40|0]=0;q[h+32>>2]=0;g=h+41|0;break x}i=r[h+40|0];g=g+j|0}q[e+176>>2]=g;q[h+172>>2]=h+41}j=q[a>>2];e=q[j+172>>2];y:{z:{A:{if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];break A}if(!q[j+32>>2]){q[a+18416>>2]=0;break z}e=j+40|0;g=ji[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);B:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;h=j+41|0;e=0;break B}h=e+g|0;e=r[j+40|0]}q[j+176>>2]=h;q[j+172>>2]=j+41}g=e&255;q[a+18416>>2]=g;if((e-1&255)>>>0>3){break z}e=q[a>>2];if((g|0)<=q[e+8>>2]){break y}}q[212945]=154250;break b}D=0;if(((g<<1)+6|0)!=(i&255|(f&255)<<8)){q[212945]=154250;break b}while(1){i=q[e+176>>2];f=q[e+172>>2];C:{if(i>>>0>f>>>0){g=f+1|0;q[e+172>>2]=g;v=r[f|0];break C}if(!q[e+32>>2]){v=0;g=f;break C}f=e+40|0;h=ji[q[e+16>>2]](q[e+28>>2],f,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);g=e;D:{if(!h){v=0;o[e+40|0]=0;q[e+32>>2]=0;h=e+41|0;break D}v=r[e+40|0];h=f+h|0}q[g+176>>2]=h;q[e+172>>2]=e+41;e=q[a>>2];i=q[e+176>>2];g=q[e+172>>2]}E:{if(g>>>0>>0){q[e+172>>2]=g+1;j=r[g|0];break E}if(!q[e+32>>2]){j=0;break E}f=e+40|0;h=ji[q[e+16>>2]](q[e+28>>2],f,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);g=e;F:{if(!h){j=0;o[e+40|0]=0;q[e+32>>2]=0;h=e+41|0;break F}j=r[e+40|0];h=f+h|0}q[g+176>>2]=h;q[e+172>>2]=e+41;e=q[a>>2]}f=0;m=q[e+8>>2];G:{if((m|0)<1){break G}i=v&255;if((i|0)==q[a+18076>>2]){break G}m=q[e+8>>2];f=(m|0)>1?m:1;h=f-1|0;g=0;while(1){if((g|0)==(h|0)){break G}g=g+1|0;if((i|0)!=q[(w(g,72)+a|0)+18076>>2]){continue}break}f=g}if((f|0)==(m|0)){break b}g=w(f,72)+a|0;h=j&255;q[g+18092>>2]=h>>>4;if(h>>>0>=64){q[212945]=154250;break b}i=g+18096|0;g=h&15;q[i>>2]=g;if(g>>>0>=4){q[212945]=154250;break b}q[((D<<2)+a|0)+18420>>2]=f;D=D+1|0;if((D|0)>2]){continue}break}g=q[e+176>>2];h=q[e+172>>2];H:{if(g>>>0>h>>>0){i=h+1|0;q[e+172>>2]=i;f=r[h|0];break H}if(!q[e+32>>2]){f=0;i=h;break H}g=e+40|0;f=ji[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);I:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break I}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41;e=q[a>>2];g=q[e+176>>2];i=q[e+172>>2]}q[a+18384>>2]=f&255;J:{if(g>>>0>i>>>0){h=i+1|0;q[e+172>>2]=h;f=r[i|0];break J}if(!q[e+32>>2]){f=0;h=i;break J}g=e+40|0;f=ji[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);K:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break K}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41;e=q[a>>2];g=q[e+176>>2];h=q[e+172>>2]}q[a+18388>>2]=f&255;L:{if(g>>>0>h>>>0){q[e+172>>2]=h+1;g=r[h|0];break L}if(!q[e+32>>2]){g=0;break L}g=e+40|0;f=ji[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);M:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;i=e+41|0;g=0;break M}i=f+g|0;g=r[e+40|0]}q[e+176>>2]=i;q[e+172>>2]=e+41}h=g&15;q[a+18396>>2]=h;e=g>>>4&15;q[a+18392>>2]=e;i=q[a+18384>>2];f=q[a+18380>>2];N:{if(f){O:{if((i|0)>63){break O}e=q[a+18388>>2];if((e|0)>63|(e|0)<(i|0)|(g&255)>>>0>223){break O}if(h>>>0<14){break N}}q[212945]=154250;break b}if(i){q[212945]=154250;break b}if(e|h){q[212945]=154250;break b}q[a+18388>>2]=63}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];e=e?e:2147483647;q[a+18440>>2]=e;g=q[a+18416>>2];if(!f){if((g|0)==1){I=q[a+18420>>2];g=w(I,72)+a|0;e=q[g+18108>>2];if((e|0)<1){break n}e=e+7>>3;C=(e|0)>1?e:1;J=q[g+18104>>2];e=J+7>>3;K=(e|0)>1?e:1;z=g+18112|0;x=g+18120|0;A=g+18088|0;B=g+18092|0;m=g+18096|0;v=0;while(1){if((J|0)>=1){j=v<<3;D=0;h=0;while(1){e=q[m>>2];if(!UB(a,u+16|0,(w(q[B>>2],1680)+a|0)+4|0,(w(e,1680)+a|0)+6724|0,((e<<10)+a|0)+13956|0,I,((q[A>>2]<<7)+a|0)+13444|0)){break o}e=q[z>>2];ji[q[a+18444>>2]]((q[x>>2]+w(e,j)|0)+(h<<3)|0,e,u+16|0);e=q[a+18440>>2];q[a+18440>>2]=e-1;if((e|0)<=1){P:{if(q[n>>2]>23){break P}while(1){g=0;Q:{if(q[F>>2]){break Q}f=q[a>>2];e=q[f+172>>2];R:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break R}if(!q[f+32>>2]){break Q}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);S:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break S}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Q}f=q[a>>2];e=q[f+172>>2];T:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break T}if(!q[f+32>>2]){e=0;break T}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);U:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break U}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Q}o[E|0]=e;q[F>>2]=1;break P}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);V:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break V}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}if((r[E|0]&248)!=208){break n}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];q[a+18440>>2]=e?e:2147483647}h=h+1|0;if((K|0)!=(h|0)){continue}break}}D=1;v=v+1|0;if((C|0)!=(v|0)){continue}break}break o}i=q[a+18064>>2];if((i|0)<1){break n}g=q[a+18060>>2];j=0;while(1){D=0;if((g|0)>=1){while(1){v=0;h=q[a+18416>>2];if((h|0)>=1){while(1){C=q[((v<<2)+a|0)+18420>>2];e=w(C,72)+a|0;J=e+18084|0;i=q[J>>2];if((i|0)>=1){K=e+18112|0;z=e+18120|0;x=e+18088|0;A=e+18092|0;B=e+18096|0;m=e+18080|0;e=q[m>>2];f=0;while(1){g=0;if((e|0)>=1){while(1){h=q[B>>2];if(!UB(a,u+16|0,(w(q[A>>2],1680)+a|0)+4|0,(w(h,1680)+a|0)+6724|0,((h<<10)+a|0)+13956|0,C,((q[x>>2]<<7)+a|0)+13444|0)){break b}h=q[K>>2];ji[q[a+18444>>2]]((q[z>>2]+(w(h,w(i,j)+f|0)<<3)|0)+(w(e,D)+g<<3)|0,h,u+16|0);i=q[J>>2];e=q[m>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}}f=f+1|0;if((i|0)>(f|0)){continue}break}h=q[a+18416>>2]}v=v+1|0;if((v|0)<(h|0)){continue}break}e=q[a+18440>>2]}h=e-1|0;q[a+18440>>2]=h;if((e|0)<=1){W:{if(q[n>>2]>23){break W}while(1){g=0;X:{if(q[F>>2]){break X}f=q[a>>2];e=q[f+172>>2];Y:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Y}if(!q[f+32>>2]){break X}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Z:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Z}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break X}f=q[a>>2];e=q[f+172>>2];_:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break _}if(!q[f+32>>2]){e=0;break _}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);$:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break $}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break X}o[E|0]=e;q[F>>2]=1;break W}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);aa:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break aa}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}if((r[E|0]&248)!=208){break n}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];h=e?e:2147483647;q[a+18440>>2]=h}e=h;g=q[a+18060>>2];D=D+1|0;if((g|0)>(D|0)){continue}break}i=q[a+18064>>2]}D=1;j=j+1|0;if((j|0)<(i|0)){continue}break}break o}if((g|0)==1){break p}i=q[a+18064>>2];if((i|0)<1){break n}g=q[a+18060>>2];D=0;while(1){f=0;if((g|0)>=1){while(1){v=0;h=q[a+18416>>2];if((h|0)>=1){while(1){z=q[((v<<2)+a|0)+18420>>2];e=w(z,72)+a|0;x=e+18084|0;i=q[x>>2];if((i|0)>=1){A=e+18092|0;B=e+18140|0;m=e+18136|0;j=e+18080|0;e=q[j>>2];h=0;while(1){g=0;if((e|0)>0){while(1){if(!TB(a,q[m>>2]+((w(e,f)+g|0)+w(q[B>>2],w(i,D)+h|0)<<7)|0,(w(q[A>>2],1680)+a|0)+4|0,z)){break b}i=q[x>>2];e=q[j>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}}h=h+1|0;if((i|0)>(h|0)){continue}break}h=q[a+18416>>2]}v=v+1|0;if((v|0)<(h|0)){continue}break}e=q[a+18440>>2]}h=e-1|0;q[a+18440>>2]=h;if((e|0)<=1){ba:{if(q[n>>2]>23){break ba}while(1){g=0;ca:{if(q[F>>2]){break ca}h=q[a>>2];e=q[h+172>>2];da:{if(e>>>0>2]){q[h+172>>2]=e+1;g=r[e|0];break da}if(!q[h+32>>2]){break ca}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ea:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;g=0;break ea}i=e+g|0;g=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}if((g&255)!=255){break ca}h=q[a>>2];e=q[h+172>>2];fa:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break fa}if(!q[h+32>>2]){e=0;break fa}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ga:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break ga}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}while(1){g=255;h=e&255;if((h|0)!=255){if(!h){break ca}o[E|0]=e;q[F>>2]=1;break ba}h=q[a>>2];e=q[h+172>>2];if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[h+32>>2]){continue}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ha:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break ha}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=r[E|0];if((e&248)!=208){break m}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];h=e?e:2147483647;q[a+18440>>2]=h}e=h;g=q[a+18060>>2];f=f+1|0;if((g|0)>(f|0)){continue}break}i=q[a+18064>>2]}D=D+1|0;if((D|0)<(i|0)){continue}break}break n}ia:{if(!q[a+18380>>2]){break ia}e=q[a>>2];if(q[e+8>>2]<1){break ia}i=0;while(1){h=w(i,72)+a|0;f=q[h+18108>>2];ja:{if((f|0)<1){break ja}g=q[h+18104>>2];if((g|0)<1){break ja}C=h+18112|0;J=h+18120|0;K=h+18088|0;z=h+18140|0;x=h+18136|0;e=f+7>>3;A=(e|0)>1?e:1;e=g+7>>3;B=(e|0)>1?e:1;f=0;while(1){m=f<<3;h=0;while(1){I=q[x>>2]+(w(q[z>>2],f)+h<<7)|0;v=q[K>>2];g=0;while(1){j=g<<1;e=j+I|0;p[e>>1]=w(s[e>>1],s[(j+((v<<7)+a|0)|0)+13444>>1]);g=g+1|0;if((g|0)!=64){continue}break}e=q[C>>2];ji[q[a+18444>>2]]((q[J>>2]+w(e,m)|0)+(h<<3)|0,e,I);h=h+1|0;if((B|0)!=(h|0)){continue}break}f=f+1|0;if((A|0)!=(f|0)){continue}break}e=q[a>>2]}i=i+1|0;if((i|0)>2]){continue}break}}h=q[a>>2];g=q[h+8>>2];G=(g|0)<3?1:3;e=(g|0)!=3;i=0;ka:{if(e){break ka}i=1;if(q[a+18412>>2]==3){break ka}i=0;if(q[a+18408>>2]){break ka}i=!q[a+18404>>2]}q[u+8>>2]=0;q[u+12>>2]=0;q[u>>2]=0;q[u+4>>2]=0;la:{ma:{I=(G|0)>2?g:e?g:i?g:1;if((I|0)<1){break ma}e=xi(q[h>>2]+3|0);q[a+18132>>2]=e;if(!e){break la}g=q[a>>2];v=q[a+18056>>2];j=q[a+18052>>2];e=0;while(1){x=(u+16|0)+(e<<5)|0;B=w(e,72)+a|0;m=(j|0)/q[B+18080>>2]|0;q[x+12>>2]=m;A=(v|0)/q[B+18084>>2]|0;q[x+16>>2]=A;q[x+24>>2]=A>>1;f=q[h>>2];q[x+28>>2]=0;h=m-1|0;q[x+20>>2]=(h+f>>>0)/(m>>>0);f=q[B+18120>>2];q[x+4>>2]=f;q[x+8>>2]=f;na:{oa:{pa:{switch(h|0){case 0:h=(A|0)==1?1316:(A|0)==2?1317:1318;break na;case 1:break pa;default:break oa}}h=1319;qa:{switch(A-1|0){case 0:break na;case 1:break qa;default:break oa}}h=q[a+18452>>2];break na}h=1318}q[x>>2]=h;e=e+1|0;if((I|0)==(e|0)){h=g;break ma}f=xi(q[g>>2]+3|0);q[(w(e,72)+a|0)+18132>>2]=f;h=g;if(f){continue}break}break la}f=0;ra:{e=q[h>>2];if((e|G)<0){break ra}g=q[h+4>>2];if((G|0)>(2147483647/(e|0)|0)?e:0){break ra}e=w(e,G);if((e|g)<0|((e|0)>(2147483647/(g|0)|0)?g:0)){break ra}e=w(e,g);if((e|0)==2147483647){break ra}e=xi(e+1|0);if(!e){break ra}if(q[h+4>>2]){J=(I|0)<1;K=(G|0)<3;v=0;while(1){B=w(q[h>>2],w(v,G));f=0;if(!J){while(1){x=w(f,72)+a|0;C=(u+16|0)+(f<<5)|0;A=C|4;z=C|8;j=q[C+24>>2];m=q[C+16>>2];g=(j|0)>1;h=ji[q[C>>2]](q[x+18132>>2],q[(g?A:z)>>2],q[(g?z:A)>>2],q[C+20>>2],q[C+12>>2])|0;g=j+1|0;q[C+24>>2]=g;q[(f<<2)+u>>2]=h;sa:{if((g|0)<(m|0)){break sa}q[C+24>>2]=0;h=q[z>>2];q[A>>2]=h;g=q[C+28>>2]+1|0;q[C+28>>2]=g;if((g|0)>=q[x+18108>>2]){break sa}q[z>>2]=h+q[x+18112>>2]}f=f+1|0;if((I|0)!=(f|0)){continue}break}}g=e+B|0;ta:{if(!K){x=q[u>>2];ua:{va:{wa:{z=q[a>>2];switch(q[z+8>>2]-3|0){case 1:break va;case 0:break wa;default:break ua}}if(i){if(!q[z>>2]){break ta}f=0;m=q[u+8>>2];j=q[u+4>>2];while(1){o[g|0]=r[f+x|0];o[g+1|0]=r[f+j|0];h=r[f+m|0];o[g+3|0]=255;o[g+2|0]=h;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}ji[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);break ta}xa:{switch(q[a+18408>>2]){case 0:if(!q[z>>2]){break ta}f=0;B=q[u+8>>2];m=q[u+4>>2];j=q[u+12>>2];while(1){A=r[f+j|0];h=w(A,r[f+x|0])+128|0;o[g|0]=(h>>>8|0)+h>>>8;h=w(A,r[f+m|0])+128|0;o[g+1|0]=(h>>>8|0)+h>>>8;h=r[f+B|0];o[g+3|0]=255;h=w(h,A)+128|0;o[g+2|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;case 2:ji[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);m=q[a>>2];if(!q[m>>2]){break ta}f=0;j=q[u+12>>2];while(1){B=r[f+j|0];h=w(B,r[g|0]^255)+128|0;o[g|0]=(h>>>8|0)+h>>>8;h=w(B,r[g+1|0]^255)+128|0;o[g+1|0]=(h>>>8|0)+h>>>8;h=w(B,r[g+2|0]^255)+128|0;o[g+2|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;default:break xa}}ji[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);break ta}f=0;if(!q[z>>2]){break ta}while(1){h=r[f+x|0];o[g+1|0]=h;o[g+2|0]=h;o[g+3|0]=255;o[g|0]=h;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}H=q[a>>2];if(i){f=q[H>>2];if((G|0)!=1){if(!f){break ta}f=0;x=q[u+8>>2];A=q[u+4>>2];B=q[u>>2];while(1){m=r[f+x|0];j=r[f+A|0];h=r[f+B|0];o[g+1|0]=255;o[g|0]=(w(j,150)+w(h,77)|0)+w(m,29)>>>8;g=g+2|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}if(!f){break ta}f=0;m=q[u+8>>2];j=q[u+4>>2];h=q[u>>2];while(1){o[g|0]=(w(r[f+j|0],150)+w(r[f+h|0],77)|0)+w(r[f+m|0],29)>>>8;g=g+1|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}ya:{if(q[H+8>>2]!=4){break ya}za:{switch(q[a+18408>>2]){case 0:if(!q[H>>2]){break ta}f=0;z=q[u+8>>2];x=q[u+4>>2];A=q[u>>2];B=q[u+12>>2];while(1){m=r[f+z|0];h=r[f+x|0];j=r[f+A|0];C=r[f+B|0];o[g+1|0]=255;h=w(h,C)+128|0;L=w((h>>>8|0)+h>>>8|0,150);h=w(j,C)+128|0;j=L+w((h>>>8|0)+h>>>8|0,77)|0;h=w(m,C)+128|0;o[g|0]=j+w((h>>>8|0)+h>>>8|0,29)>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;case 2:break za;default:break ya}}if(!q[H>>2]){break ta}f=0;B=q[u+12>>2];m=q[u>>2];while(1){j=r[f+B|0];h=r[f+m|0];o[g+1|0]=255;h=w(j,h^255)+128|0;o[g|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}h=q[H>>2];j=q[u>>2];if((G|0)!=1){f=0;if(!h){break ta}while(1){h=r[f+j|0];o[g+1|0]=255;o[g|0]=h;g=g+2|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}f=0;if(!h){break ta}while(1){o[f+g|0]=r[f+j|0];f=f+1|0;if(f>>>0>2]){continue}break}}v=v+1|0;h=q[a>>2];if(v>>>0>2]){continue}break}}i=q[h+8>>2];if((i|0)>=1){f=0;while(1){j=w(f,72)+a|0;h=j+18124|0;g=q[h>>2];if(g){ki(g);q[h>>2]=0;q[j+18120>>2]=0}h=j+18128|0;g=q[h>>2];if(g){ki(g);q[h>>2]=0;q[j+18136>>2]=0}h=j+18132|0;g=q[h>>2];if(g){ki(g);q[h>>2]=0}f=f+1|0;if((i|0)!=(f|0)){continue}break}h=q[a>>2]}q[b>>2]=q[h>>2];q[c>>2]=q[h+4>>2];if(!d){break a}q[d>>2]=q[h+8>>2]<3?1:3;break a}d=q[h+8>>2];if((d|0)>=1){while(1){e=w(f,72)+a|0;c=e+18124|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[e+18120>>2]=0}c=e+18128|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[e+18136>>2]=0}c=e+18132|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0}f=f+1|0;if((d|0)!=(f|0)){continue}break}}q[212945]=154488;e=0;break a}e=0;d=q[h+8>>2];if((d|0)>0){while(1){g=w(e,72)+a|0;c=g+18124|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[g+18120>>2]=0}c=g+18128|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[g+18136>>2]=0}c=g+18132|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0}e=e+1|0;if((d|0)!=(e|0)){continue}break}q[212945]=154488;e=0;break a}q[212945]=154488;break a}if(!SB(a,e)){break b}break l}h=q[a>>2];g=q[h+172>>2];i=q[h+176>>2];Aa:{if(g>>>0>>0){e=g+1|0;q[h+172>>2]=e;f=r[g|0];break Aa}if(!q[h+32>>2]){f=0;e=g;break Aa}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Ba:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;f=0;break Ba}i=e+g|0;f=r[h+40|0]}q[h+176>>2]=i;e=h+41|0;q[h+172>>2]=e}g=f&255;Ca:{if(e>>>0>>0){q[h+172>>2]=e+1;e=r[e|0];break Ca}if(!q[h+32>>2]){e=0;break Ca}e=h+40|0;f=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Da:{if(!f){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Da}i=e+f|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}j=g<<8;h=e&255;f=q[a>>2];g=q[f+172>>2];i=q[f+176>>2];Ea:{if(g>>>0>>0){e=g+1|0;q[f+172>>2]=e;m=r[g|0];break Ea}if(!q[f+32>>2]){m=0;e=g;break Ea}g=f+40|0;i=ji[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);e=f;Fa:{if(!i){m=0;o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;break Fa}m=r[f+40|0];i=g+i|0}q[e+176>>2]=i;e=f+41|0;q[f+172>>2]=e}g=h|j;Ga:{if(e>>>0>>0){q[f+172>>2]=e+1;e=r[e|0];break Ga}if(!q[f+32>>2]){e=0;break Ga}e=f+40|0;h=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ha:{if(!h){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ha}i=e+h|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g|0)!=4){q[212945]=154250;break b}if(q[q[a>>2]+4>>2]==(e&255|(m&255)<<8)){break l}q[212945]=154250;break b}I=q[a+18420>>2];g=w(I,72)+a|0;e=q[g+18108>>2];if((e|0)<1){break n}e=e+7>>3;C=(e|0)>1?e:1;J=q[g+18104>>2];e=J+7>>3;K=(e|0)>1?e:1;z=g+18092|0;x=g+18096|0;A=g+18140|0;B=g+18136|0;D=0;while(1){L=0;if((J|0)>=1){while(1){N=q[B>>2]+(w(q[A>>2],D)+L<<7)|0;f=q[a+18384>>2];Ia:{if(!f){if(TB(a,N,(w(q[z>>2],1680)+a|0)+4|0,I)){break Ia}break b}m=q[x>>2];G=(w(m,1680)+a|0)+6724|0;H=q[a+18396>>2];if(!q[a+18392>>2]){e=q[a+18400>>2];if(e){q[a+18400>>2]=e-1;break Ia}while(1){Ja:{if(q[n>>2]>15){break Ja}while(1){g=0;Ka:{if(q[F>>2]){break Ka}h=q[a>>2];e=q[h+172>>2];La:{if(e>>>0>2]){q[h+172>>2]=e+1;g=r[e|0];break La}if(!q[h+32>>2]){break Ka}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Ma:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;g=0;break Ma}i=e+g|0;g=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}if((g&255)!=255){break Ka}h=q[a>>2];e=q[h+172>>2];Na:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break Na}if(!q[h+32>>2]){e=0;break Na}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Oa:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Oa}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}while(1){g=255;h=e&255;if((h|0)!=255){if(!h){break Ka}o[E|0]=e;q[F>>2]=1;break Ja}h=q[a>>2];e=q[h+172>>2];if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[h+32>>2]){continue}e=h+40|0;g=ji[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Pa:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Pa}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=q[a+18364>>2];g=p[(((m<<10)+a|0)+(e>>>22&1022)|0)+13956>>1];Qa:{if(g){h=e;e=g&15;q[y>>2]=h<>2]=q[n>>2]-e;e=(g>>>4&15)+f|0;p[(r[e+154272|0]<<1)+N>>1]=g>>8<>>4|0;Ra:{k=e&15;if(!k){if((e|0)>239){break Ra}q[a+18400>>2]=1<>2]=0;break Ia}i=q[n>>2];Sa:{if((j|0)<=(i|0)){break Sa}while(1){g=0;Ta:{if(q[F>>2]){break Ta}f=q[a>>2];e=q[f+172>>2];Ua:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Ua}if(!q[f+32>>2]){break Ta}h=f+40|0;i=ji[q[f+16>>2]](q[f+28>>2],h,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);e=f;Va:{if(!i){o[f+40|0]=0;q[f+32>>2]=0;h=f+41|0;break Va}g=r[f+40|0];h=h+i|0}q[e+176>>2]=h;q[f+172>>2]=f+41}if((g&255)!=255){break Ta}g=q[a>>2];e=q[g+172>>2];Wa:{if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];break Wa}if(!q[g+32>>2]){i=0;break Wa}f=g+40|0;h=ji[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;Xa:{if(!h){i=0;o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break Xa}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41}while(1){g=255;e=i&255;if((e|0)!=255){if(!e){break Ta}o[E|0]=i;q[F>>2]=1;i=q[n>>2];break Sa}g=q[a>>2];e=q[g+172>>2];if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];continue}i=0;if(!q[g+32>>2]){continue}f=g+40|0;h=ji[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;Ya:{if(!h){o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break Ya}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;i=e+8|0;q[n>>2]=i;if((e|0)<17){continue}break}}q[a+18368>>2]=i-j;g=owa(q[a+18364>>2],j);e=q[(j<<2)+154528>>2];q[a+18364>>2]=g&(e^-1);q[a+18400>>2]=(q[a+18400>>2]+(e&g)|0)-1;break Ia}v=f+j|0;j=r[v+154272|0];e=q[n>>2];Za:{if((k|0)<=(e|0)){break Za}while(1){g=0;_a:{if(q[F>>2]){break _a}f=q[a>>2];e=q[f+172>>2];$a:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break $a}if(!q[f+32>>2]){break _a}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);ab:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break ab}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break _a}f=q[a>>2];e=q[f+172>>2];bb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break bb}if(!q[f+32>>2]){e=0;break bb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);cb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break cb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break _a}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break Za}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);db:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break db}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}h=q[y>>2];i=owa(h,k);f=k<<2;g=q[f+154528>>2];q[y>>2]=i&(g^-1);q[n>>2]=e-k;p[(j<<1)+N>>1]=(q[f+154704>>2]&(h>>31^-1))+(g&i)<>2]){continue}break}break Ia}M=1<>2];if(!e){H=M<<16>>16;m=0-H|0;while(1){g=or(a,G);if((g|0)<=-1){q[212945]=154250;break b}h=g>>>4|0;eb:{fb:{gb:{hb:{switch(g&15){case 0:v=0;e=0;if((g|0)>239){break gb}q[a+18400>>2]=-1<>2];ib:{if((h|0)<=(e|0)){break ib}while(1){g=0;jb:{if(q[F>>2]){break jb}k=q[a>>2];e=q[k+172>>2];kb:{if(e>>>0>2]){q[k+172>>2]=e+1;g=r[e|0];break kb}if(!q[k+32>>2]){break jb}e=k+40|0;g=ji[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);lb:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;g=0;break lb}i=e+g|0;g=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41}if((g&255)!=255){break jb}k=q[a>>2];e=q[k+172>>2];mb:{if(e>>>0>2]){q[k+172>>2]=e+1;e=r[e|0];break mb}if(!q[k+32>>2]){e=0;break mb}e=k+40|0;g=ji[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);nb:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;e=0;break nb}i=e+g|0;e=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break jb}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break ib}k=q[a>>2];e=q[k+172>>2];if(e>>>0>2]){q[k+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[k+32>>2]){continue}e=k+40|0;g=ji[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);ob:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;e=0;break ob}i=e+g|0;e=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}q[a+18368>>2]=e-h;g=owa(q[a+18364>>2],h);e=q[(h<<2)+154528>>2];q[a+18364>>2]=g&(e^-1);q[a+18400>>2]=q[a+18400>>2]+(e&g);break fb;case 1:break hb;default:break eb}}e=q[n>>2];pb:{if((e|0)>0){break pb}while(1){g=0;qb:{if(q[F>>2]){break qb}j=q[a>>2];e=q[j+172>>2];rb:{if(e>>>0>2]){q[j+172>>2]=e+1;g=r[e|0];break rb}if(!q[j+32>>2]){break qb}e=j+40|0;g=ji[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);sb:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;g=0;break sb}i=e+g|0;g=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41}if((g&255)!=255){break qb}j=q[a>>2];e=q[j+172>>2];tb:{if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];break tb}if(!q[j+32>>2]){e=0;break tb}e=j+40|0;g=ji[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);ub:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;e=0;break ub}i=e+g|0;e=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break qb}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break pb}j=q[a>>2];e=q[j+172>>2];if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[j+32>>2]){continue}e=j+40|0;g=ji[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);vb:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;e=0;break vb}i=e+g|0;e=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}g=q[y>>2];q[y>>2]=g<<1;q[n>>2]=e-1;e=(g|0)>-1?m:H}v=e;j=h}g=q[a+18388>>2];wb:{if((f|0)>(g|0)){break wb}while(1){h=f;f=f+1|0;xb:{yb:{zb:{k=(r[h+154272|0]<<1)+N|0;if(s[k>>1]){i=q[n>>2];if((i|0)>0){break zb}while(1){g=0;Ab:{if(q[F>>2]){break Ab}l=q[a>>2];e=q[l+172>>2];Bb:{if(e>>>0>2]){q[l+172>>2]=e+1;g=r[e|0];break Bb}if(!q[l+32>>2]){break Ab}e=l+40|0;g=ji[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Cb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;g=0;break Cb}i=e+g|0;g=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41}if((g&255)!=255){break Ab}l=q[a>>2];e=q[l+172>>2];Db:{if(e>>>0>2]){q[l+172>>2]=e+1;e=r[e|0];break Db}if(!q[l+32>>2]){e=0;break Db}e=l+40|0;g=ji[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Eb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;e=0;break Eb}i=e+g|0;e=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break Ab}o[E|0]=e;q[F>>2]=1;i=q[n>>2];break zb}l=q[a>>2];e=q[l+172>>2];if(e>>>0>2]){q[l+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[l+32>>2]){continue}e=l+40|0;g=ji[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Fb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;e=0;break Fb}i=e+g|0;e=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41;continue}}e=g&255;g=q[n>>2];e=q[y>>2]|e<<24-g;q[y>>2]=e;i=g+8|0;q[n>>2]=i;if((g|0)<17){continue}break}break yb}if(!j){p[k>>1]=v;break wb}j=j-1|0;break xb}e=q[y>>2]}q[y>>2]=e<<1;q[n>>2]=i-1;if((e|0)>-1){break xb}e=p[k>>1];if(e&H){break xb}if((e|0)>=1){p[k>>1]=e+M;break xb}p[k>>1]=e-M}g=q[a+18388>>2];if((h|0)<(g|0)){continue}break}}if((f|0)<=(g|0)){continue}break Ia}break}q[212945]=154250;break b}q[a+18400>>2]=e-1;if(q[a+18388>>2]<(f|0)){break Ia}j=M<<16>>16;while(1){h=f;v=(r[f+154272|0]<<1)+N|0;Gb:{if(!s[v>>1]){break Gb}Hb:{Ib:{i=q[n>>2];if((i|0)>0){break Ib}while(1){g=0;Jb:{if(q[F>>2]){break Jb}f=q[a>>2];e=q[f+172>>2];Kb:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Kb}if(!q[f+32>>2]){break Jb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Lb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Lb}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Jb}f=q[a>>2];e=q[f+172>>2];Mb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Mb}if(!q[f+32>>2]){e=0;break Mb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Nb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Nb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Jb}o[E|0]=e;q[F>>2]=1;i=q[n>>2];break Ib}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ob:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ob}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=g&255;g=q[n>>2];e=q[y>>2]|e<<24-g;q[y>>2]=e;i=g+8|0;q[n>>2]=i;if((g|0)<17){continue}break}break Hb}e=q[y>>2]}q[y>>2]=e<<1;q[n>>2]=i-1;if((e|0)>-1){break Gb}e=p[v>>1];if(e&j){break Gb}if((e|0)>=1){p[v>>1]=e+M;break Gb}p[v>>1]=e-M}f=h+1|0;if((h|0)>2]){continue}break}}e=q[a+18440>>2];q[a+18440>>2]=e-1;if((e|0)<=1){Pb:{if(q[n>>2]>23){break Pb}while(1){g=0;Qb:{if(q[F>>2]){break Qb}f=q[a>>2];e=q[f+172>>2];Rb:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Rb}if(!q[f+32>>2]){break Qb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Sb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Sb}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Qb}f=q[a>>2];e=q[f+172>>2];Tb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Tb}if(!q[f+32>>2]){e=0;break Tb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ub:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ub}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Qb}o[E|0]=e;q[F>>2]=1;break Pb}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Vb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Vb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=r[E|0];if((e&248)!=208){break m}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];q[a+18440>>2]=e?e:2147483647}L=L+1|0;if((K|0)!=(L|0)){continue}break}}D=D+1|0;if((C|0)!=(D|0)){continue}break}break n}if(!D){break b}}e=r[E|0]}if((e&255)!=255){break j}while(1){e=q[a>>2];Wb:{if(q[e+16>>2]){if(!(ji[q[e+24>>2]](q[e+28>>2])|0)){break Wb}if(!q[e+32>>2]){break l}}if(t[e+172>>2]>=t[e+176>>2]){break l}}f=q[a>>2];e=q[f+172>>2];Xb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Xb}if(!q[f+32>>2]){e=0;break Xb}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Yb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Yb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((e&255)!=255){continue}break}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];o[E|0]=e;break k}if(!q[f+32>>2]){e=0;o[E|0]=0;break k}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Zb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Zb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;o[E|0]=e;break k}e=r[E|0]}if((e&255)==255){break i}}o[E|0]=255;continue}g=q[a>>2];e=q[g+172>>2];_b:{if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];break _b}e=255;if(!q[g+32>>2]){continue}f=g+40|0;h=ji[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;$b:{if(!h){i=0;o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break $b}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41}e=255;if((i&255)!=255){continue}while(1){f=q[a>>2];e=q[f+172>>2];ac:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break ac}if(!q[f+32>>2]){e=0;continue h}e=f+40|0;g=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);bc:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break bc}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((e&255)==255){continue}break}continue}}e=0;d=q[q[a>>2]+8>>2];if((d|0)<1){break a}while(1){g=w(e,72)+a|0;c=g+18124|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[g+18120>>2]=0}c=g+18128|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0;q[g+18136>>2]=0}c=g+18132|0;b=q[c>>2];if(b){ki(b);q[c>>2]=0}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=0}fi=u+144|0;return e}function RO(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,v=0,z=0,A=0,B=0,D=0,E=0,F=0,H=x(0),I=0,K=0,L=0,M=0,N=0,O=0;B=fi-1008|0;fi=B;a:{b:{if(!el(a)){break b}b=r[a+1391|0];if(!(b&2)){q[a+116>>2]=34;break b}if(b&4){q[a+116>>2]=34;break b}if(b&1){q[a+116>>2]=34;break b}if(q[a+1132>>2]!=1){q[a+116>>2]=34;break b}if(r[a+1136|0]!=30){q[a+116>>2]=34;break b}c:{d:{e:{f:{g:{b=q[a+32>>2];h:{if(b){if(b>>>0>=t[a+40>>2]){break g}q[a+32>>2]=b+1;b=r[b|0];break h}b=pj(q[a+20>>2]);if((b|0)==-1){break g}}if((b&255)!=1){break f}b=q[a+32>>2];if(!b){break e}e=b+6|0;if(e>>>0>t[a+40>>2]){break d}p[B+1004>>1]=r[b+4|0]|r[b+5|0]<<8;q[B+1e3>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+32>>2]=e;break c}q[a+112>>2]=1}q[a+116>>2]=34;break b}if((Yk(B+1e3|0,6,1,q[a+20>>2])|0)==1){break c}}q[a+112>>2]=1;q[a+116>>2]=10;break b}if(ej(B+1e3|0,288752,6)){q[a+116>>2]=34;break b}i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=q[a+32>>2];t:{u:{v:{if(e){b=q[a+40>>2];if(e>>>0>=b>>>0){break v}d=e+1|0;q[a+32>>2]=d;e=r[e|0];break t}b=pj(q[a+20>>2]);if((b|0)!=-1){break u}}q[a+112>>2]=1;b=0}e=b&255;d=q[a+32>>2];if(!d){break s}b=q[a+40>>2]}if(b>>>0<=d>>>0){break r}f=d+1|0;q[a+32>>2]=f;e=r[d|0]<<8|e;break p}b=pj(q[a+20>>2]);if((b|0)!=-1){break q}}q[a+112>>2]=1;b=0}e=b<<8&65280|e;f=q[a+32>>2];if(!f){break o}b=q[a+40>>2]}if(b>>>0<=f>>>0){break n}d=f+1|0;q[a+32>>2]=d;f=r[f|0]<<16|e;break l}b=pj(q[a+20>>2]);if((b|0)!=-1){break m}}q[a+112>>2]=1;b=0}f=b<<16&16711680|e;d=q[a+32>>2];if(!d){break k}b=q[a+40>>2]}if(b>>>0<=d>>>0){break j}q[a+32>>2]=d+1;b=r[d|0];break i}b=pj(q[a+20>>2]);if((b|0)!=-1){break i}}q[a+112>>2]=1;b=0}if(b<<24|f){q[a+116>>2]=34;break b}w:{x:{y:{b=q[a+32>>2];z:{if(b){if(b>>>0>=t[a+40>>2]){break z}q[a+32>>2]=b+1;b=r[b|0];break y}b=pj(q[a+20>>2]);if((b|0)!=-1){break y}}q[a+4>>2]=0;q[a+112>>2]=1;break x}b=b&255;q[a+4>>2]=b;if(!b){break x}if(b>>>0<17){break w}q[a+116>>2]=5;break b}q[a+116>>2]=34;break b}A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{e=q[a+32>>2];L:{M:{N:{if(e){b=q[a+40>>2];if(e>>>0>=b>>>0){break N}d=e+1|0;q[a+32>>2]=d;e=r[e|0];break L}b=pj(q[a+20>>2]);if((b|0)!=-1){break M}}q[a+112>>2]=1;b=0}e=b&255;d=q[a+32>>2];if(!d){break K}b=q[a+40>>2]}if(b>>>0<=d>>>0){break J}f=d+1|0;q[a+32>>2]=f;e=r[d|0]<<8|e;break H}b=pj(q[a+20>>2]);if((b|0)!=-1){break I}}q[a+112>>2]=1;b=0}e=b<<8&65280|e;f=q[a+32>>2];if(!f){break G}b=q[a+40>>2]}if(b>>>0<=f>>>0){break F}d=f+1|0;q[a+32>>2]=d;f=r[f|0]<<16|e;break D}b=pj(q[a+20>>2]);if((b|0)!=-1){break E}}q[a+112>>2]=1;b=0}f=b<<16&16711680|e;d=q[a+32>>2];if(!d){break C}b=q[a+40>>2]}if(b>>>0<=d>>>0){break B}q[a+32>>2]=d+1;b=r[d|0];break A}b=pj(q[a+20>>2]);if((b|0)!=-1){break A}}q[a+112>>2]=1;b=0}b=b<<24|f;q[a>>2]=b;if(!b){q[a+116>>2]=34;break b}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:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{e=q[a+32>>2];Ha:{Ia:{Ja:{if(e){b=q[a+40>>2];if(e>>>0>=b>>>0){break Ja}d=e+1|0;q[a+32>>2]=d;break Ha}if((pj(q[a+20>>2])|0)!=-1){break Ia}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break Ga}b=q[a+40>>2]}if(b>>>0<=d>>>0){break Fa}d=d+1|0;q[a+32>>2]=d;break Da}if((pj(q[a+20>>2])|0)!=-1){break Ea}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break Ca}b=q[a+40>>2]}if(b>>>0<=d>>>0){break Ba}d=d+1|0;q[a+32>>2]=d;break za}if((pj(q[a+20>>2])|0)!=-1){break Aa}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break ya}b=q[a+40>>2]}if(b>>>0<=d>>>0){break xa}d=d+1|0;q[a+32>>2]=d;break va}if((pj(q[a+20>>2])|0)!=-1){break wa}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break ua}b=q[a+40>>2]}if(b>>>0<=d>>>0){break ta}d=d+1|0;q[a+32>>2]=d;break ra}if((pj(q[a+20>>2])|0)!=-1){break sa}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break qa}b=q[a+40>>2]}if(b>>>0<=d>>>0){break pa}d=d+1|0;q[a+32>>2]=d;break na}if((pj(q[a+20>>2])|0)!=-1){break oa}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break ma}b=q[a+40>>2]}if(b>>>0<=d>>>0){break la}d=d+1|0;q[a+32>>2]=d;break ja}if((pj(q[a+20>>2])|0)!=-1){break ka}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break ia}b=q[a+40>>2]}if(b>>>0<=d>>>0){break ha}d=d+1|0;q[a+32>>2]=d;break fa}if((pj(q[a+20>>2])|0)!=-1){break ga}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break ea}b=q[a+40>>2]}if(b>>>0<=d>>>0){break da}d=d+1|0;q[a+32>>2]=d;break ba}if((pj(q[a+20>>2])|0)!=-1){break ca}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break aa}b=q[a+40>>2]}if(b>>>0<=d>>>0){break $}d=d+1|0;q[a+32>>2]=d;break Z}if((pj(q[a+20>>2])|0)!=-1){break _}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break Y}b=q[a+40>>2]}if(b>>>0<=d>>>0){break X}d=d+1|0;q[a+32>>2]=d;break V}if((pj(q[a+20>>2])|0)!=-1){break W}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break U}b=q[a+40>>2]}if(b>>>0<=d>>>0){break T}d=d+1|0;q[a+32>>2]=d;break R}if((pj(q[a+20>>2])|0)!=-1){break S}}q[a+112>>2]=1}d=q[a+32>>2];if(!d){break Q}b=q[a+40>>2]}if(b>>>0<=d>>>0){break P}q[a+32>>2]=d+1;b=r[d|0];break O}b=pj(q[a+20>>2]);if((b|0)!=-1){break O}}q[a+112>>2]=1;b=0}e=b&15;q[a+128>>2]=1<>>4&15;q[a+132>>2]=1<>>0>=8){q[a+116>>2]=20;break b}if((b<<24)-1610612736>>24<=-1){q[a+116>>2]=20;break b}if(e>>>0>f>>>0){q[a+116>>2]=20;break b}Ka:{La:{Ma:{b=q[a+32>>2];Na:{if(b){if(b>>>0>=t[a+40>>2]){break Ma}q[a+32>>2]=b+1;b=r[b|0];break Na}b=pj(q[a+20>>2]);if((b|0)==-1){break Ma}}if(!(b&1)){break La}if(!el(a)){break b}while(1){e=q[a+1396>>2];if((e|0)!=-1){break Ka}if(!el(a)){break b}if(!(o[a+1391|0]&1)){continue}break}q[a+116>>2]=32;break b}q[a+112>>2]=1}q[a+116>>2]=34;break b}q[a+1412>>2]=0;q[a+1416>>2]=0;q[a+1400>>2]=0;o[a+1392|0]=0;c=e+1|0;q[a+1396>>2]=c;b=r[(a+e|0)+1136|0];if((b|0)!=255){q[a+1404>>2]=e;q[a+1400>>2]=1}if((c|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}o[a+1392|0]=b;e=q[a+32>>2];Oa:{if(e){e=b+e|0;q[a+32>>2]=e;if(e>>>0>2]){break Oa}q[a+112>>2]=1;break Oa}e=mn(q[a+20>>2]);El(q[a+20>>2],b+e|0,0)}o[a+1392|0]=0;if(b){while(1){c=0;Pa:{if(q[a+1400>>2]){break Pa}Qa:{Ra:{b=q[a+1396>>2];if((b|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break Pa}if(!(o[a+1391|0]&1)){break Ra}b=q[a+1396>>2]}e=b+1|0;q[a+1396>>2]=e;c=r[(a+b|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=b;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break Qa}o[a+1392|0]=c;break Pa}q[a+116>>2]=32;break Pa}break a}b=q[a+32>>2];Sa:{if(b){b=b+c|0;q[a+32>>2]=b;if(b>>>0>2]){break Sa}q[a+112>>2]=1;break Sa}b=mn(q[a+20>>2]);El(q[a+20>>2],b+c|0,0)}o[a+1392|0]=0;if(c){continue}break}}Ta:{while(1){if(q[a+1396>>2]!=-1){break Ta}c=0;if(!el(a)){break b}if(!(o[a+1391|0]&1)){continue}break}q[a+116>>2]=32;break b}q[a+1412>>2]=0;q[a+1416>>2]=0;c=0;q[a+1400>>2]=0;o[a+1392|0]=0;Ua:{if(!r[a+48|0]){break Ua}if(DY(a)){break Ua}if(q[a+116>>2]!=21){break b}q[a+116>>2]=20;break b}while(1){b=c<<25;e=(b^c<<24>>31&79764919)<<1;b=(e^b>>31&79764919)<<1;e=(e>>31&79764919^b)<<1;f=e>>31&79764919;e=(e^b>>31&79764919)<<1;b=(f^e)<<1;e=(b^e>>31&79764919)<<1;q[(c<<2)+960144>>2]=e>>31&79764919^(e^b>>31&79764919)<<1;c=c+1|0;if((c|0)!=256){continue}break}Va:{Wa:{c=r[a+1392|0];Xa:{if(!c){if(q[a+1400>>2]){break Xa}b=q[a+1396>>2];if((b|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break Xa}if(!(o[a+1391|0]&1)){break Xa}b=q[a+1396>>2]}e=b+1|0;q[a+1396>>2]=e;c=r[(a+b|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=b;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break a}o[a+1392|0]=c;if(!c){break Xa}}o[a+1392|0]=c-1;q[a+1416>>2]=q[a+1416>>2]+1;b=q[a+32>>2];Ya:{if(b){if(b>>>0>=t[a+40>>2]){break Ya}q[a+32>>2]=b+1;c=r[b|0];break Wa}c=pj(q[a+20>>2]);if((c|0)!=-1){break Wa}}q[a+112>>2]=1}q[a+1412>>2]=0;break Va}q[a+1412>>2]=0;if((c&255)!=5){break Va}c=0;while(1){Za:{_a:{$a:{d=r[a+1392|0];if(!d){b=255;if(q[a+1400>>2]){break Za}f=q[a+1396>>2];if((f|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break Za}if(!(o[a+1391|0]&1)){break $a}f=q[a+1396>>2]}e=f+1|0;q[a+1396>>2]=e;d=r[(a+f|0)+1136|0];if((d|0)!=255){q[a+1404>>2]=f;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break a}o[a+1392|0]=d;if(!d){break Za}}o[a+1392|0]=d-1;q[a+1416>>2]=q[a+1416>>2]+1;b=q[a+32>>2];if(b){if(b>>>0>=t[a+40>>2]){break _a}q[a+32>>2]=b+1;b=r[b|0];break Za}b=pj(q[a+20>>2]);if((b|0)==-1){break _a}break Za}q[a+116>>2]=32;break Za}q[a+112>>2]=1;b=0}q[a+1412>>2]=0;o[(B+1e3|0)+c|0]=b;c=c+1|0;if((c|0)!=6){continue}break}if(ej(B+1e3|0,288752,6)){q[a+116>>2]=20;c=0;break b}b=fj(a,8)+1|0;q[a+136>>2]=b;c=w(b,2096);q[a+8>>2]=c+q[a+8>>2];ab:{bb:{cb:{db:{eb:{fb:{e=a;b=q[a+96>>2];gb:{if(b){f=q[a+104>>2];d=f+c|0;if((d|0)>q[a+108>>2]){break fb}q[a+104>>2]=d;b=b+f|0;break gb}if(!c){break fb}b=xi(c)}q[e+140>>2]=b;if(!b){break ab}qi(b,0,c);if(q[a+136>>2]>=1){while(1){h=q[a+140>>2];if((fj(a,8)&255)!=66){q[a+116>>2]=20;c=0;break b}if((fj(a,8)&255)!=67){q[a+116>>2]=20;c=0;break b}if((fj(a,8)&255)!=86){q[a+116>>2]=20;c=0;break b}e=h+w(D,2096)|0;q[e>>2]=fj(a,8)&255|fj(a,8)<<8;b=fj(a,8);q[e+4>>2]=fj(a,8)<<8&65280|b&255|fj(a,8)<<16;l=e+4|0;hb:{ib:{jb:{kb:{f=fj(a,1);if(f){o[e+23|0]=0;n=e+23|0;break kb}b=fj(a,1);o[e+23|0]=b;n=e+23|0;if(!(b&255)){break kb}b=q[l>>2]+3&-4;c=q[a+96>>2];if(c){b=q[a+108>>2]-b|0;if((b|0)>2]){break ib}q[a+108>>2]=b;i=b+c|0;break jb}i=xi(b);break jb}c=q[l>>2]+3&-4;q[a+8>>2]=c+q[a+8>>2];b=e;d=q[a+96>>2];lb:{if(d){g=c;c=q[a+104>>2];g=g+c|0;i=0;if((g|0)>q[a+108>>2]){break lb}q[a+104>>2]=g;i=c+d|0;break lb}i=0;if(!c){break lb}i=xi(c)}q[b+8>>2]=i}if(i){break hb}}q[a+116>>2]=3;c=0;break b}mb:{if(!f){c=0;f=0;b=q[l>>2];if((b|0)<=0){break mb}while(1){nb:{ob:{if(r[n|0]){if(!fj(a,1)){break ob}}o[c+i|0]=fj(a,5)+1;f=f+1|0;break nb}o[c+i|0]=255}b=q[l>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}break mb}j=fj(a,5);f=0;c=0;b=q[l>>2];if((b|0)<1){break mb}while(1){d=a;b=b-c|0;pb:{if(b>>>0<=16383){g=o[b+203056|0];if(b>>>0<=15){break pb}g=o[(b>>>5|0)+203056|0]+5|0;if(b>>>0<=511){break pb}g=o[(b>>>10|0)+203056|0]+10|0;break pb}if(b>>>0<=16777215){g=o[(b>>>15|0)+203056|0]+15|0;if(b>>>0<=524287){break pb}g=o[(b>>>20|0)+203056|0]+20|0;break pb}g=o[(b>>>25|0)+203056|0]+25|0;if(b>>>0<=536870911){break pb}g=0;if((b|0)<0){break pb}g=o[(b>>>30|0)+203056|0]+30|0}b=fj(d,g);d=b+c|0;if((d|0)<=q[l>>2]){j=j+1|0;qi(c+i|0,j,b);b=q[l>>2];c=d;if((b|0)>(c|0)){continue}break mb}break}q[a+116>>2]=20;c=0;break b}qb:{rb:{if(r[n|0]){if(b>>2>(f|0)){break rb}if(q[a+16>>2]<(b|0)){q[a+16>>2]=b}f=b+3&-4;q[a+8>>2]=f+q[a+8>>2];d=q[a+96>>2];sb:{if(d){c=0;g=f;f=q[a+104>>2];g=g+f|0;if((g|0)>q[a+108>>2]){break sb}q[a+104>>2]=g;c=d+f|0;break sb}if(!f){c=0;break sb}c=xi(f);b=q[l>>2]}q[e+8>>2]=c;si(c,i,b);tb:{if(q[a+96>>2]){q[a+108>>2]=q[a+108>>2]+(q[l>>2]+3&-4);break tb}ki(i)}i=q[e+8>>2];o[n|0]=0}c=0;b=0;f=q[l>>2];if((f|0)>=1){while(1){b=((r[c+i|0]-11&255)>>>0<244)+b|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}q[e+2092>>2]=b;c=f<<2;q[a+8>>2]=c+q[a+8>>2];ub:{vb:{b=e;f=q[a+96>>2];wb:{if(f){d=c;c=q[a+104>>2];d=d+c|0;if((d|0)>q[a+108>>2]){break vb}q[a+104>>2]=d;c=c+f|0;break wb}if(!c){break vb}c=xi(c)}q[b+32>>2]=c;if(!c){break ub}m=e+2092|0;g=q[l>>2];k=0;break qb}q[(h+w(D,2096)|0)+32>>2]=0}q[a+116>>2]=3;c=0;break b}q[e+2092>>2]=f;m=e+2092|0;xb:{if(!f){k=0;break xb}b=f+3&-4;q[a+8>>2]=b+q[a+8>>2];yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{c=q[a+96>>2];Gb:{if(c){f=b;b=q[a+104>>2];f=f+b|0;if((f|0)>q[a+108>>2]){break Gb}q[a+104>>2]=f;q[e+8>>2]=b+c;b=q[a+108>>2]-(q[m>>2]<<2)|0;if((b|0)>=q[a+104>>2]){break Bb}q[(h+w(D,2096)|0)+32>>2]=0;break Cb}if(b){break Fb}}q[(h+w(D,2096)|0)+8>>2]=0;break Eb}b=xi(b);q[e+8>>2]=b;if(b){break Db}}q[a+116>>2]=3;c=0;break b}b=xi(q[m>>2]<<2);q[e+32>>2]=b;if(b){break Ab}}q[a+116>>2]=3;c=0;break b}q[a+108>>2]=b;q[e+32>>2]=b+c;b=q[a+108>>2]-(q[m>>2]<<2)|0;if((b|0)>2]){break yb}q[a+108>>2]=b;k=b+c|0;break zb}k=xi(q[m>>2]<<2)}if(k){break xb}}q[a+116>>2]=3;c=0;break b}g=q[l>>2];b=g+(q[m>>2]<<3)|0;if(b>>>0<=t[a+16>>2]){break qb}q[a+16>>2]=b}b=0;j=qi(B,0,128);Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{if((g|0)<1){break Rb}while(1){if(r[b+i|0]!=255){break Rb}b=b+1|0;if((g|0)!=(b|0)){continue}break}break Qb}if((b|0)!=(g|0)){break Pb}}if(!q[e+2092>>2]){break Ob}J(204455,202968,1028,204478);G()}c=b+i|0;Sb:{if(!r[e+23|0]){q[q[e+32>>2]+(b<<2)>>2]=0;break Sb}f=r[c|0];q[q[e+32>>2]>>2]=0;o[q[e+8>>2]]=f;q[k>>2]=b}f=r[c|0];if(f){c=1;f=f>>>0>1?f:1;while(1){q[j+(c<<2)>>2]=1<<32-c;d=(c|0)==(f|0);c=c+1|0;if(!d){continue}break}}h=b+1|0;if((g|0)<=(h|0)){break Ob}d=1;while(1){E=h+i|0;f=r[E|0];Tb:{if((f|0)==255){break Tb}Ub:{if(f){c=f;while(1){b=j+(c<<2)|0;v=q[b>>2];if(v){break Ub}b=(c|0)>1;c=c-1|0;if(b){continue}break}}J(204372,202968,1049,204478);G()}q[b>>2]=0;b=v>>>1&1431655765|v<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;b=owa(b>>>8&16711935|b<<8&-16711936,16);F=q[e+32>>2];z=F+(h<<2)|0;Vb:{if(!r[e+23|0]){break Vb}z=d<<2;q[z+F>>2]=b;o[q[e+8>>2]+d|0]=f;b=h;z=k+z|0}d=d+1|0;q[z>>2]=b;b=r[E|0];if((c|0)>=(b|0)){break Tb}while(1){f=j+(b<<2)|0;if(q[f>>2]){break Nb}q[f>>2]=v+(1<<32-b);b=b-1|0;if((c|0)<(b|0)){continue}break}}h=h+1|0;if((g|0)!=(h|0)){continue}break}}b=q[m>>2];if(!b){break Kb}d=(b<<2)+7&-4;f=d+q[a+8>>2]|0;c=e;h=q[a+96>>2];Wb:{if(h){b=e;j=q[a+104>>2];v=j+d|0;if((v|0)<=q[a+108>>2]){q[a+104>>2]=v;z=h+j|0}else{z=0}q[b+2084>>2]=z;q[a+8>>2]=d+f;f=e+2084|0;b=q[a+104>>2];d=b+d|0;if((d|0)>q[a+108>>2]){break Mb}q[a+104>>2]=d;b=b+h|0;break Wb}if(!d){q[e+2084>>2]=0;q[a+8>>2]=d+f;f=e+2084|0;break Mb}b=xi(d);d=q[m>>2];q[e+2084>>2]=b;b=(d<<2)+7&-4;q[a+8>>2]=b+f;f=e+2084|0;if(!b){break Mb}b=xi(b)}q[c+2088>>2]=b;if(!b){break Lb}q[e+2088>>2]=b+4;q[b>>2]=-1;break Lb}J(204496,202968,1056,204478);G()}q[e+2088>>2]=0}Xb:{if(r[e+23|0]){b=q[e+2092>>2];if((b|0)<1){break Xb}d=e+2092|0;h=q[e+32>>2];j=q[f>>2];c=0;while(1){v=c<<2;b=q[v+h>>2];b=b>>>1&1431655765|b<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;q[j+v>>2]=owa(b>>>8&16711935|b<<8&-16711936,16);b=q[d>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}break Xb}d=q[l>>2];Yb:{if((d|0)<1){b=0;break Yb}c=0;b=0;while(1){if((r[c+i|0]-11&255)>>>0<=243){d=q[q[e+32>>2]+(c<<2)>>2];d=d>>>1&1431655765|d<<1&-1431655766;d=d>>>2&858993459|d<<2&-858993460;d=d>>>4&252645135|d<<4&-252645136;q[q[f>>2]+(b<<2)>>2]=owa(d>>>8&16711935|d<<8&-16711936,16);d=q[l>>2];b=b+1|0}c=c+1|0;if((d|0)>(c|0)){continue}break}}if(q[e+2092>>2]==(b|0)){break Xb}J(204514,202968,1117,204537);G()}Cw(q[f>>2],b,4,1534);q[q[f>>2]+(q[e+2092>>2]<<2)>>2]=-1;F=e+2092|0;c=r[e+23|0];I=q[(c?F:l)>>2];if((I|0)<1){break Kb}d=e+2088|0;g=0;while(1){K=c&255;Zb:{_b:{if(K){j=r[q[(g<<2)+k>>2]+i|0];if((j|0)!=255){break _b}J(204591,202968,1097,204606);G()}j=r[i+g|0];if((j-11&255)>>>0>243){break Zb}}L=g<<2;b=q[L+q[e+32>>2]>>2];b=b>>>1&1431655765|b<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;h=owa(b>>>8&16711935|b<<8&-16711936,16);v=q[f>>2];c=0;b=q[F>>2];if((b|0)>=2){while(1){z=b>>>1|0;M=z+c|0;E=h>>>0>2];c=E?c:M;b=E?z:b-z|0;if((b|0)>1){continue}break}}b=c<<2;if((h|0)!=q[b+v>>2]){break Jb}if(K){q[b+q[d>>2]>>2]=q[k+L>>2];o[q[e+8>>2]+c|0]=j;break Zb}q[b+q[d>>2]>>2]=g}g=g+1|0;if((I|0)==(g|0)){break Kb}c=r[e+23|0];continue}}if(r[n|0]){$b:{ac:{bc:{cc:{dc:{if(q[a+96>>2]){q[a+108>>2]=q[a+108>>2]+(q[m>>2]<<2);c=e+32|0;break dc}ki(k);c=e+32|0;if(!q[a+96>>2]){break cc}}q[a+108>>2]=q[a+108>>2]+(q[m>>2]<<2);break bc}ki(q[e+32>>2]);if(!q[a+96>>2]){break ac}}q[a+108>>2]=q[a+108>>2]+(q[l>>2]+3&-4);break $b}ki(i)}q[c>>2]=0}qi(e+36|0,255,2048);c=r[e+23|0];b=q[(c?e+2092|0:l)>>2];if((b|0)<1){break Hb}b=(b|0)<32767?b:32767;f=(b|0)>1?b:1;d=q[e+8>>2];b=0;if(c){break Ib}while(1){h=b+d|0;ec:{if(r[h|0]>10){break ec}c=q[q[e+32>>2]+(b<<2)>>2];if(c>>>0>=1024){break ec}while(1){p[(e+(c<<1)|0)+36>>1]=b;c=(1<>>0<1024){continue}break}}b=b+1|0;if((f|0)!=(b|0)){continue}break}break Hb}J(204560,202968,1147,204537);G()}h=e+2084|0;while(1){k=b+d|0;fc:{if(r[k|0]>10){break fc}c=q[q[h>>2]+(b<<2)>>2];c=c>>>1&1431655765|c<<1&-1431655766;c=c>>>2&858993459|c<<2&-858993460;c=c>>>4&252645135|c<<4&-252645136;c=owa(c>>>8&16711935|c<<8&-16711936,16);if(c>>>0>1023){break fc}while(1){p[(e+(c<<1)|0)+36>>1]=b;c=(1<>>0<1024){continue}break}}b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=fj(a,4);o[e+21|0]=b;b=b&255;if(b>>>0>=3){q[a+116>>2]=20;c=0;break b}gc:{if(!b){break gc}b=fj(a,32);A=+((b&2097151)>>>0);u[e+12>>2]=Bx(+x((b|0)>-1?A:-A),(b>>>21&1023)-788|0);b=fj(a,32);A=+((b&2097151)>>>0);u[e+16>>2]=Bx(+x((b|0)>-1?A:-A),(b>>>21&1023)-788|0);o[e+20|0]=fj(a,4)+1;o[e+22|0]=fj(a,1);f=q[e>>2];c=q[l>>2];hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{if(r[e+21|0]==1){A=C(bu(+x(x(lE(+x(c|0)))/x(f|0))));qc:{if(y(A)<2147483648){b=~~A;break qc}b=-2147483648}A=+(f|0);N=C(qp(+x(x(b|0)+x(1)),A));rc:{if(y(N)<2147483648){f=~~N;break rc}f=-2147483648}b=((f|0)<=(c|0))+b|0;H=x(b|0);if(!(qp(+x(H+x(1)),A)>+(c|0))){break oc}A=C(qp(+H,A));sc:{if(y(A)<2147483648){f=~~A;break sc}f=-2147483648}if((f|0)<=(c|0)){break pc}J(204669,202968,1173,204654);G()}b=w(c,f)}q[e+24>>2]=b;b=(b<<1)+3&-4;tc:{c=q[a+96>>2];uc:{if(c){b=q[a+108>>2]-b|0;if((b|0)>2]){break tc}q[a+108>>2]=b;f=b+c|0;break uc}f=xi(b)}if(!f){break tc}c=0;b=q[e+24>>2];if((b|0)>0){while(1){b=fj(a,r[e+20|0]);if((b|0)==-1){vc:{if(q[a+96>>2]){q[a+108>>2]=q[a+108>>2]+((q[e+24>>2]<<1)+3&-4);break vc}ki(f)}q[a+116>>2]=20;c=0;break b}p[f+(c<<1)>>1]=b;b=q[e+24>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}}i=e+12|0;if(r[e+21|0]!=1){break nc}b=e;h=r[n|0];wc:{if(h){c=q[m>>2];if(!c){break mc}c=w(c,q[e>>2])<<2;q[a+8>>2]=c+q[a+8>>2];j=q[a+96>>2];if(j){d=c;c=q[a+104>>2];d=d+c|0;g=0;if((d|0)>q[a+108>>2]){break wc}q[a+104>>2]=d;g=c+j|0;break wc}g=0;if(!c){break wc}g=xi(c);break wc}c=w(q[l>>2],q[e>>2])<<2;q[a+8>>2]=c+q[a+8>>2];j=q[a+96>>2];if(j){d=c;c=q[a+104>>2];d=d+c|0;g=0;if((d|0)>q[a+108>>2]){break wc}q[a+104>>2]=d;g=c+j|0;break wc}g=0;if(!c){break wc}g=xi(c)}q[b+28>>2]=g;if(!g){if(!j){break lc}q[a+108>>2]=q[a+108>>2]+((q[e+24>>2]<<1)+3&-4);break kc}l=q[(h?m:l)>>2];if((l|0)<1){break ic}d=q[e>>2];if(h){break jc}h=0;while(1){if((d|0)>0){m=w(d,h);k=q[e+24>>2];c=1;b=0;while(1){u[(b+m<<2)+g>>2]=x(u[e+16>>2]*x(s[f+(((h|0)/(c|0)>>>0)%(k>>>0)<<1)>>1]))+u[i>>2];c=w(c,k);b=b+1|0;if((d|0)!=(b|0)){continue}break}}h=h+1|0;if((l|0)!=(h|0)){continue}break}break ic}q[a+116>>2]=3;c=0;break b}J(204622,202968,1172,204654);G()}c=b<<2;q[a+8>>2]=c+q[a+8>>2];h=q[a+96>>2];xc:{if(h){d=0;g=q[a+104>>2];c=c+g|0;if((c|0)>q[a+108>>2]){break xc}q[a+104>>2]=c;d=h+g|0;break xc}if(!c){d=0;break xc}d=xi(c);b=q[e+24>>2]}q[e+28>>2]=d;c=0;if((b|0)>=1){while(1){u[(c<<2)+d>>2]=x(u[e+16>>2]*x(s[f+(c<<1)>>1]))+u[i>>2];c=c+1|0;if((c|0)!=(b|0)){continue}break}}if(h){q[a+108>>2]=q[a+108>>2]+((b<<1)+3&-4);break mc}ki(f)}if(r[e+21|0]!=2){break gc}break hc}ki(f)}q[a+116>>2]=3;c=0;break b}m=q[e+2088>>2];k=0;while(1){if((d|0)>=1){n=q[m+(k<<2)>>2];v=w(d,k);h=q[e+24>>2];c=1;b=0;while(1){u[(b+v<<2)+g>>2]=x(u[e+16>>2]*x(s[f+(((n|0)/(c|0)>>>0)%(h>>>0)<<1)>>1]))+u[i>>2];c=w(c,h);b=b+1|0;if((d|0)!=(b|0)){continue}break}}k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j){q[a+108>>2]=q[a+108>>2]+((q[e+24>>2]<<1)+3&-4);o[e+21|0]=2;break hc}ki(f);o[e+21|0]=2}if(!r[e+22|0]){break gc}b=q[e+24>>2];if((b|0)>=2){f=q[e+28>>2];H=u[f>>2];c=1;while(1){u[f+(c<<2)>>2]=H;c=c+1|0;if((b|0)!=(c|0)){continue}break}}o[e+22|0]=0}D=D+1|0;if((D|0)>2]){continue}break}}yc:{b=fj(a,6)+1&255;if(!b){break yc}while(1){if(!fj(a,16)){O=O+1|0;if((b|0)!=(O|0)){continue}break yc}break}q[a+116>>2]=20;c=0;break b}f=fj(a,6)+1|0;q[a+144>>2]=f;c=w(f,1596);q[a+8>>2]=c+q[a+8>>2];b=a;d=q[a+96>>2];zc:{if(d){e=c;c=q[a+104>>2];h=e+c|0;e=0;if((h|0)>q[a+108>>2]){break zc}q[a+104>>2]=h;e=c+d|0;break zc}e=0;if(!c){break zc}e=xi(c)}q[b+276>>2]=e;if((f|0)<1){k=0}else{k=0;l=0;while(1){b=fj(a,16);p[((k<<1)+a|0)+148>>1]=b;b=b&65535;if(b>>>0>=2){q[a+116>>2]=20;c=0;break b}if(!b){b=q[a+276>>2]+w(k,1596)|0;o[b|0]=fj(a,8);p[b+2>>1]=fj(a,16);p[b+4>>1]=fj(a,16);o[b+6|0]=fj(a,6);o[b+7|0]=fj(a,8);e=(fj(a,4)&255)+1|0;o[b+8|0]=e;if((e|0)==(e&255)){e=b+9|0;c=0;while(1){o[c+e|0]=fj(a,8);c=c+1|0;if(c>>>0>2]=4;c=0;break b}f=q[a+276>>2]+w(k,1596)|0;d=fj(a,5);o[f|0]=d;c=-1;e=0;b=0;if(d&255){while(1){d=fj(a,4);o[(b+f|0)+1|0]=d;d=d&255;c=(c|0)<(d|0)?d:c;b=b+1|0;if(b>>>0>2]<=(b&255)){break Bc}if(r[d+49|0]==31){break Ac}}b=0;while(1){h=fj(a,8)-1|0;p[((f+(e<<4)|0)+(b<<1)|0)+82>>1]=h;if(q[a+136>>2]<=h<<16>>16){break Bc}b=b+1|0;if((b|0)<1<>2]=20;c=0;break b}b=(c|0)!=(e|0);e=e+1|0;if(b){continue}break}}b=2;o[f+1588|0]=fj(a,2)+1;e=fj(a,4);q[f+1592>>2]=2;h=0;p[f+338>>1]=0;o[f+1589|0]=e;p[f+340>>1]=1<>2];p[(f+(e<<1)|0)+338>>1]=b;b=e+1|0;q[d>>2]=b;c=c+1|0;if(c>>>0>>0<(e&255)>>>0){continue}break}if((b|0)<1){break Cc}}c=0;while(1){e=s[(f+(c<<1)|0)+338>>1];h=(c<<2)+B|0;p[h+2>>1]=c;p[h>>1]=e;c=c+1|0;if((c|0)!=(b|0)){continue}break}}Cw(B,b,4,1535);c=0;b=q[d>>2];Dc:{if((b|0)<=0){break Dc}while(1){o[(c+f|0)+838|0]=r[((c<<2)+B|0)+2|0];b=q[d>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}h=2;if((b|0)<=2){break Dc}while(1){m=f+(h<<1)|0;n=m;e=-1;j=65536;c=0;while(1){b=s[(f+(c<<1)|0)+338>>1];if((b|0)>(e|0)){D=b>>>0>1];e=D?b:e;g=D?c:g}if((b|0)<(j|0)){z=b;b=b>>>0>s[n+338>>1];j=b?z:j;i=b?c:i}c=c+1|0;if((h|0)!=(c|0)){continue}break}o[m+1089|0]=i;o[m+1088|0]=g;b=q[d>>2];h=h+1|0;if((b|0)>(h|0)){continue}break}}l=(b|0)>(l|0)?b:l;k=k+1|0;if((k|0)>2]){continue}break}k=(l<<1)+3&-4}c=fj(a,6)+1|0;q[a+280>>2]=c;e=w(c,24);q[a+8>>2]=e+q[a+8>>2];b=a;f=q[a+96>>2];Ec:{if(f){d=e;e=q[a+104>>2];d=d+e|0;i=0;if((d|0)>q[a+108>>2]){break Ec}q[a+104>>2]=d;i=e+f|0;break Ec}i=0;if(!e){break Ec}i=xi(e)}q[b+412>>2]=i;Fc:{Gc:{if((c|0)<1){break Gc}b=fj(a,16);p[a+284>>1]=b;if((b&65535)>>>0<=2){j=0;while(1){e=w(j,24)+i|0;q[e>>2]=fj(a,24);q[e+4>>2]=fj(a,24);q[e+8>>2]=fj(a,24)+1;o[e+12|0]=fj(a,6)+1;o[e+13|0]=fj(a,8);c=0;Hc:{if(!r[e+12|0]){d=0;break Hc}while(1){f=c+B|0;d=fj(a,3);b=0;Ic:{if(!fj(a,1)){break Ic}b=fj(a,5)}o[f|0]=d+(b<<3);c=c+1|0;d=r[e+12|0];if(c>>>0>>0){continue}break}}f=d<<4;h=f+q[a+8>>2]|0;q[a+8>>2]=h;c=q[a+96>>2];Jc:{Kc:{if(c){b=0;g=f;f=q[a+104>>2];g=g+f|0;if((g|0)>q[a+108>>2]){break Kc}q[a+104>>2]=g;b=c+f|0;break Kc}if(!d){c=0;q[e+20>>2]=0;break Jc}b=xi(f);d=r[e+12|0]}q[e+20>>2]=b;if(!(d&255)){break Jc}c=0;while(1){f=r[c+B|0];Lc:{if(f&1){d=fj(a,8);b=q[e+20>>2];p[b+(c<<4)>>1]=d;if(q[a+136>>2]>d<<16>>16){break Lc}break bb}p[(c<<4)+b>>1]=65535}Mc:{if(f&2){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+2>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Mc}p[((c<<4)+b|0)+2>>1]=65535}Nc:{if(f&4){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+4>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Nc}p[((c<<4)+b|0)+4>>1]=65535}Oc:{if(f&8){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+6>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Oc}p[((c<<4)+b|0)+6>>1]=65535}Pc:{if(f&16){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+8>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Pc}p[((c<<4)+b|0)+8>>1]=65535}Qc:{if(f&32){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+10>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Qc}p[((c<<4)+b|0)+10>>1]=65535}Rc:{if(f&64){d=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+12>>1]=d;if(q[a+136>>2]<=d<<16>>16){break bb}break Rc}p[((c<<4)+b|0)+12>>1]=65535}Sc:{if(f&128){f=fj(a,8);b=q[e+20>>2];p[(b+(c<<4)|0)+14>>1]=f;if(q[a+136>>2]<=f<<16>>16){break bb}break Sc}p[((c<<4)+b|0)+14>>1]=65535}c=c+1|0;if(c>>>0>2];h=q[a+8>>2]}d=q[a+140>>2];b=q[(d+w(r[e+13|0],2096)|0)+4>>2]<<2;q[a+8>>2]=b+h;f=e;Tc:{if(c){g=b;b=q[a+104>>2];g=g+b|0;if((g|0)>q[a+108>>2]){break Fc}q[a+104>>2]=g;b=b+c|0;break Tc}if(!b){break Fc}b=xi(b)}q[f+16>>2]=b;if(!b){break cb}g=0;qi(b,0,q[(d+w(r[e+13|0],2096)|0)+4>>2]<<2);c=q[a+140>>2];b=r[e+13|0];if(q[(c+w(b,2096)|0)+4>>2]>=1){while(1){c=q[w(b,2096)+c>>2];f=c+3&-4;q[a+8>>2]=f+q[a+8>>2];d=q[a+96>>2];Uc:{if(d){b=f;f=q[a+104>>2];i=b+f|0;b=0;if((i|0)>q[a+108>>2]){break Uc}q[a+104>>2]=i;b=d+f|0;break Uc}b=0;if(!f){break Uc}b=xi(f)}i=g<<2;q[i+q[e+16>>2]>>2]=b;if((c|0)>=1){d=r[e+12|0];b=g;while(1){f=c-1|0;o[f+q[i+q[e+16>>2]>>2]|0]=(b|0)%(d&255);d=r[e+12|0];b=(b|0)/(d|0)|0;h=(c|0)>1;c=f;if(h){continue}break}}g=g+1|0;c=q[a+140>>2];b=r[e+13|0];if((g|0)>2]){continue}break}}j=j+1|0;if((j|0)>=q[a+280>>2]){break Gc}i=q[a+412>>2];b=fj(a,16);p[((j<<1)+a|0)+284>>1]=b;if((b&65535)>>>0<=2){continue}break}}q[a+116>>2]=20;c=0;break b}f=fj(a,6)+1|0;q[a+416>>2]=f;c=w(f,40);q[a+8>>2]=c+q[a+8>>2];e=a;d=q[a+96>>2];Vc:{if(d){b=c;c=q[a+104>>2];i=b+c|0;b=0;if((i|0)>q[a+108>>2]){break Vc}q[a+104>>2]=i;b=c+d|0;break Vc}b=0;if(!c){break Vc}b=xi(c)}q[e+420>>2]=b;Wc:{if((f|0)<1){break Wc}if(!fj(a,16)){i=0;f=b;while(1){e=w(q[a+4>>2],3)+3&-4;q[a+8>>2]=e+q[a+8>>2];d=q[a+96>>2];Xc:{if(d){c=e;e=q[a+104>>2];g=c+e|0;c=0;if((g|0)>q[a+108>>2]){break Xc}q[a+104>>2]=g;c=e+d|0;break Xc}c=0;if(!e){break Xc}c=xi(e)}e=w(i,40)+f|0;q[e+4>>2]=c;c=e;if(fj(a,1)){f=fj(a,4)}else{f=1}o[c+8|0]=f;Yc:{if(fj(a,1)){c=(fj(a,8)&65535)+1|0;p[b>>1]=c;if((c|0)!=(c&65535)){break Yc}c=q[a+4>>2];j=0;while(1){f=a;Zc:{if(c>>>0<=16383){d=o[c+203056|0];if(c>>>0<=15){break Zc}d=o[(c>>>5|0)+203056|0]+5|0;if(c>>>0<=511){break Zc}d=o[(c>>>10|0)+203056|0]+10|0;break Zc}if(c>>>0<=16777215){d=o[(c>>>15|0)+203056|0]+15|0;if(c>>>0<=524287){break Zc}d=o[(c>>>20|0)+203056|0]+20|0;break Zc}d=o[(c>>>25|0)+203056|0]+25|0;if(c>>>0<=536870911){break Zc}d=0;if((c|0)<0){break Zc}d=o[(c>>>30|0)+203056|0]+30|0}c=fj(f,d-1|0);g=w(j,3);o[g+q[e+4>>2]|0]=c;c=a;f=q[a+4>>2];_c:{if(f>>>0<=16383){d=o[f+203056|0];if(f>>>0<=15){break _c}d=o[(f>>>5|0)+203056|0]+5|0;if(f>>>0<=511){break _c}d=o[(f>>>10|0)+203056|0]+10|0;break _c}if(f>>>0<=16777215){d=o[(f>>>15|0)+203056|0]+15|0;if(f>>>0<=524287){break _c}d=o[(f>>>20|0)+203056|0]+20|0;break _c}d=o[(f>>>25|0)+203056|0]+25|0;if(f>>>0<=536870911){break _c}d=0;if((f|0)<0){break _c}d=o[(f>>>30|0)+203056|0]+30|0}f=fj(c,d-1|0);d=g+q[e+4>>2]|0;o[d+1|0]=f;c=q[a+4>>2];d=r[d|0];if((c|0)<=(d|0)){q[a+116>>2]=20;c=0;break b}f=f&255;if((f|0)>=(c|0)){q[a+116>>2]=20;c=0;break b}if((d|0)!=(f|0)){j=j+1|0;if(j>>>0>=s[b>>1]){break Yc}continue}break}q[a+116>>2]=20;c=0;break b}p[b>>1]=0}if(fj(a,2)){q[a+116>>2]=20;c=0;break b}b=q[a+4>>2];$c:{ad:{f=r[e+8|0];if(f>>>0<=1){if((b|0)>=1){d=q[e+4>>2];c=0;while(1){o[(d+w(c,3)|0)+2|0]=0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}if(!f){break $c}break ad}c=0;if((b|0)<=0){break ad}while(1){bd:{b=fj(a,4);o[(q[e+4>>2]+w(c,3)|0)+2|0]=b;if(r[e+8|0]<=(b&255)>>>0){break bd}c=c+1|0;if((c|0)>2]){continue}break ad}break}q[a+116>>2]=20;c=0;break b}c=0;while(1){fj(a,8);f=c+e|0;b=f;o[b+9|0]=fj(a,8);f=fj(a,8);o[b+24|0]=f;if(q[a+144>>2]<=r[b+9|0]){q[a+116>>2]=20;c=0;break b}if(q[a+280>>2]>(f&255)){c=c+1|0;if(c>>>0>=r[e+8|0]){break $c}continue}break}q[a+116>>2]=20;c=0;break b}i=i+1|0;if((i|0)>=q[a+416>>2]){break Wc}f=q[a+420>>2];b=f+w(i,40)|0;if(!fj(a,16)){continue}break}}q[a+116>>2]=20;c=0;break b}e=fj(a,6)+1|0;q[a+424>>2]=e;b=0;cd:{if((e|0)<=0){break cd}while(1){e=w(b,6)+a|0;o[e+428|0]=fj(a,1);p[e+430>>1]=fj(a,16);p[e+432>>1]=fj(a,16);c=fj(a,8);o[e+429|0]=c;if(s[e+430>>1]){q[a+116>>2]=20;c=0;break b}if(s[e+432>>1]){q[a+116>>2]=20;c=0;break b}if(q[a+416>>2]>(c&255)){b=b+1|0;if((b|0)>=q[a+424>>2]){break cd}continue}break}q[a+116>>2]=20;c=0;break b}dd:{ed:{while(1){fd:{c=r[a+1392|0];if(!c){if(q[a+1400>>2]){break ed}b=q[a+1396>>2];if((b|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break ed}if(!(o[a+1391|0]&1)){break fd}b=q[a+1396>>2]}e=b+1|0;q[a+1396>>2]=e;c=r[(a+b|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=b;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break dd}o[a+1392|0]=c;if(!c){break ed}}o[a+1392|0]=c-1;q[a+1416>>2]=q[a+1416>>2]+1;b=q[a+32>>2];if(b){if(b>>>0>2]){q[a+32>>2]=b+1;continue}q[a+112>>2]=1;continue}if((pj(q[a+20>>2])|0)!=-1){continue}q[a+112>>2]=1;continue}break}q[a+116>>2]=32}c=0;q[a+1008>>2]=0;m=q[a+4>>2];if((m|0)<1){break db}b=q[a+132>>2];g=b<<2;j=(b<<1)+3&2147483644;e=q[a+96>>2];if(!e){break eb}l=q[a+108>>2];b=q[a+104>>2];f=q[a+8>>2];i=0;while(1){D=f+g|0;n=(i<<2)+a|0;f=n;d=b+g|0;gd:{if((l|0)<(d|0)){d=b;b=0;break gd}q[a+104>>2]=d;b=b+e|0}q[f+816>>2]=b;h=0;f=d+j|0;hd:{if((l|0)<(f|0)){f=d;b=0;break hd}q[a+104>>2]=f;b=e+d|0}d=j+D|0;q[n+944>>2]=b;b=f+k|0;id:{if((l|0)<(b|0)){b=f;break id}q[a+104>>2]=b;h=e+f|0}f=d+k|0;q[n+1012>>2]=h;i=i+1|0;if((m|0)>(i|0)){continue}break}q[a+8>>2]=f;break db}break a}q[(w(j,24)+i|0)+16>>2]=0;break cb}q[a+140>>2]=0;break ab}h=q[a+8>>2];b=0;while(1){f=0;i=h+g|0;e=(b<<2)+a|0;d=e;if(g){f=xi(g)}q[d+816>>2]=f;f=e;if(j){d=xi(j)}else{d=0}q[f+944>>2]=d;h=k+(i+j|0)|0;q[a+8>>2]=h;if(k){f=xi(k)}else{f=0}q[e+1012>>2]=f;b=b+1|0;if((m|0)>(b|0)){continue}break}}if(!nE(a,0,q[a+128>>2])){break b}if(!nE(a,1,q[a+132>>2])){break b}q[a+120>>2]=q[a+128>>2];b=q[a+132>>2];q[a+124>>2]=b;e=b<<1&2147483646;i=q[a+280>>2];b=4;jd:{if((i|0)<1){break jd}g=q[a+412>>2];b=0;d=0;while(1){f=g+w(d,24)|0;f=(q[f+4>>2]-q[f>>2]>>>0)/t[f+8>>2]|0;b=(b|0)<(f|0)?f:b;d=d+1|0;if((i|0)!=(d|0)){continue}break}b=(b<<2)+4|0}o[a+1393|0]=1;b=w(b,q[a+4>>2]);b=b>>>0>>0?e:b;q[a+12>>2]=b;kd:{ld:{if(!q[a+96>>2]){break ld}e=q[a+108>>2];if((e|0)!=q[a+100>>2]){break kd}if(e>>>0>=(b+q[a+104>>2]|0)+1532>>>0){break ld}q[a+116>>2]=3;break b}b=a;e=0;md:{if(r[a+48|0]){break md}e=q[a+32>>2];if(e){e=e-q[a+36>>2]|0;break md}e=mn(q[a+20>>2])-q[a+24>>2]|0}q[b+52>>2]=e;c=1;break b}J(204385,202968,4109,204441);G()}q[a+116>>2]=3;c=0;break b}q[a+116>>2]=20;c=0;break b}q[a+116>>2]=3;c=0;break b}q[a+116>>2]=20;c=0}fi=B+1008|0;return c}J(203021,202968,1480,203042);G()}function HO(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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0;l=fi-5120|0;fi=l;o[l+14|0]=0;p[l+12>>1]=0;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;b=q[a>>2];f=b+41|0;i=b+40|0;a:{b:{c:{c=q[b+176>>2];d=q[b+172>>2];d:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;d=r[d|0];break d}if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;e:{if(!c){d=0;q[b+32>>2]=0;o[i|0]=0;c=f;break e}d=r[b+40|0];c=c+(b+40|0)|0}q[e+176>>2]=c;q[b+172>>2]=f;e=f}if((d&255)!=137){break c}f:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;g:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break g}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break f}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=80){break c}h:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;i:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break i}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break h}e=g+1|0;q[b+172>>2]=e;d=r[g|0]}if((d&255)!=78){break c}j:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;k:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break k}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break j}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=71){break c}l:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;m:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break m}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break l}e=g+1|0;q[b+172>>2]=e;d=r[g|0]}if((d&255)!=13){break c}n:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;o:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break o}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break n}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=10){break c}p:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;q:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break q}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;h=f;break p}h=g+1|0;q[b+172>>2]=h;d=r[g|0]}if((d&255)!=26){break c}r:{if(c>>>0<=h>>>0){if(!q[b+32>>2]){break c}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;s:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break s}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break r}e=h+1|0;q[b+172>>2]=e;d=r[h|0]}if((d&255)!=10){break c}g=1;while(1){t:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break t}if(!q[b+32>>2]){h=0;d=e;break t}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;u:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break u}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}v:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break v}if(!q[b+32>>2]){j=0;e=d;break v}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;w:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break w}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}x:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break x}if(!q[b+32>>2]){m=0;d=e;break x}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;y:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break y}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}z:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;v=r[d|0];break z}if(!q[b+32>>2]){v=0;e=d;break z}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;A:{if(!c){v=0;q[b+32>>2]=0;o[i|0]=0;c=f;break A}v=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}h=h&255;k=j&255;B:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;j=r[e|0];break B}if(!q[b+32>>2]){j=0;d=e;break B}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;C:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break C}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}h=h<<24;k=k<<16;D:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;z=r[d|0];break D}if(!q[b+32>>2]){z=0;e=d;break D}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;E:{if(!c){z=0;q[b+32>>2]=0;o[i|0]=0;c=f;break E}z=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}C=m<<8;k=h|k;F:{if(c>>>0>e>>>0){h=e+1|0;q[b+172>>2]=h;m=r[e|0];break F}if(!q[b+32>>2]){m=0;h=e;break F}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;G:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break G}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;h=f}e=v&255;k=k|C;H:{if(c>>>0>h>>>0){d=h+1|0;q[b+172>>2]=d;v=r[h|0];break H}if(!q[b+32>>2]){v=0;d=h;break H}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;I:{if(!c){v=0;q[b+32>>2]=0;o[i|0]=0;c=f;break I}v=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}k=e|k;J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{h=j&255;e=v&255|(z<<16|h<<24|m<<8);if((e|0)<=1229472849){if((e|0)==1130840649){break Y}if((e|0)==1229209940){break U}if((e|0)!=1229278788){break S}if(!g){break T}q[212945]=154821;break b}if((e|0)==1229472850){break X}if((e|0)==1347179589){break W}if((e|0)!=1951551059){break S}if(!g){break V}q[212945]=154821;break b}E=1;if(!k){break J}if((k|0)<=-1){q[b+172>>2]=c;break J}Z:{if(!q[b+16>>2]){break Z}e=c-d|0;if((e|0)>=(k|0)){break Z}q[b+172>>2]=c;ji[q[b+20>>2]](q[b+28>>2],k-e|0);break J}q[b+172>>2]=d+k;break J}if(!g){q[212945]=154821;break b}if((k|0)!=13){q[212945]=154821;break b}_:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;g=r[d|0];break _}if(!q[b+32>>2]){g=0;e=d;break _}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;$:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break $}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}aa:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break aa}if(!q[b+32>>2]){h=0;d=e;break aa}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ba:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ba}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}g=g&255;h=h&255;ca:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break ca}if(!q[b+32>>2]){j=0;e=d;break ca}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;da:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break da}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}g=g<<24;h=h<<16;j=(j&255)<<8;ea:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break ea}if(!q[b+32>>2]){m=0;d=e;break ea}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;fa:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break fa}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}q[b>>2]=j|(g|h)|m;ga:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;g=r[d|0];break ga}if(!q[b+32>>2]){g=0;e=d;break ga}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ha:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ha}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}ia:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break ia}if(!q[b+32>>2]){h=0;d=e;break ia}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ja:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ja}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}g=g&255;h=h&255;ka:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break ka}if(!q[b+32>>2]){j=0;e=d;break ka}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;la:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break la}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}g=g<<24;h=h<<16;j=(j&255)<<8;ma:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break ma}if(!q[b+32>>2]){m=0;d=e;break ma}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;na:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break na}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}e=j|(g|h)|m;q[b+4>>2]=e;if(e>>>0>=16777217){q[212945]=154431;break b}if(t[b>>2]>=16777217){q[212945]=154431;break b}oa:{pa:{qa:{if(c>>>0>d>>>0){q[b+172>>2]=d+1;c=r[d|0];break qa}if(!q[b+32>>2]){q[a+16>>2]=0;break pa}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);ra:{if(!c){q[b+32>>2]=0;o[i|0]=0;d=f;c=0;break ra}d=c+(b+40|0)|0;c=r[b+40|0]}q[b+176>>2]=d;q[b+172>>2]=f}c=c&255;q[a+16>>2]=c;if(c>>>0>16){break pa}if(1<>2];e=q[b+172>>2];sa:{if(d>>>0>e>>>0){c=e+1|0;q[b+172>>2]=c;e=r[e|0];break sa}if(!q[b+32>>2]){A=0;c=e;break K}d=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;ta:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break ta}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}A=e&255;if(A>>>0>=7){q[212945]=154821;break b}if((e&255)==3){A=3;u=3;if(q[a+16>>2]!=16){break K}q[212945]=154821;break b}if(!(A&1)){break K}q[212945]=154821;break b}if(g){q[212945]=154821;break b}if(k>>>0>=769){q[212945]=154821;break b}e=k&65535;y=(e>>>0)/3|0;if((k|0)!=(w(y,3)|0)){break R}g=0;if(e>>>0<3){break J}m=y>>>0>1?y:1;j=0;while(1){ua:{if(c>>>0>d>>>0){g=d+1|0;q[b+172>>2]=g;h=r[d|0];break ua}if(!q[b+32>>2]){h=0;g=d;break ua}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;va:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break va}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;g=f}k=j<<2;o[k+(l+16|0)|0]=h;wa:{if(c>>>0>g>>>0){h=g+1|0;q[b+172>>2]=h;d=r[g|0];break wa}if(!q[b+32>>2]){d=0;h=g;break wa}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;xa:{if(!c){d=0;q[b+32>>2]=0;o[i|0]=0;c=f;break xa}d=r[b+40|0];c=c+(b+40|0)|0}q[e+176>>2]=c;q[b+172>>2]=f;h=f}o[(l+16|0)+(k|1)|0]=d;ya:{if(c>>>0>h>>>0){d=h+1|0;q[b+172>>2]=d;g=r[h|0];break ya}if(!q[b+32>>2]){g=0;d=h;break ya}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;za:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break za}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+16|0)+(k|2)|0]=g;o[(l+16|0)+(k|3)|0]=255;j=j+1|0;if((m|0)!=(j|0)){continue}break}g=0;break J}if(q[a+4>>2]){q[212945]=154821;break b}if(u){if(!y){q[212945]=154821;break b}if(k>>>0>y>>>0){break Q}u=4;g=0;e=0;if(!k){break J}while(1){Aa:{if(c>>>0>d>>>0){h=d+1|0;q[b+172>>2]=h;j=r[d|0];d=h;break Aa}if(!q[b+32>>2]){j=0;break Aa}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ba:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ba}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+16|0)+(e<<2|3)|0]=j;e=e+1|0;if((k|0)!=(e|0)){continue}break}break J}e=q[b+8>>2];if(!(e&1)){q[212945]=154821;break b}if((k|0)!=e<<1){q[212945]=154821;break b}Ca:{if(q[a+16>>2]!=16){g=0;if((e|0)>0){break Ca}D=1;u=0;break J}D=1;g=0;if((e|0)<1){u=0;break J}while(1){Da:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;h=r[d|0];break Da}if(!q[b+32>>2]){h=0;e=d;break Da}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ea:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ea}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}h=h<<8;Fa:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;j=r[e|0];break Fa}if(!q[b+32>>2]){j=0;d=e;break Fa}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ga:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ga}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}p[(l+6|0)+(g<<1)>>1]=h|j&255;u=0;g=g+1|0;if((g|0)>2]){continue}break}g=0;break J}while(1){e=b;Ha:{if(c>>>0>d>>>0){d=d+1|0}else{if(!q[b+32>>2]){break Ha}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ia:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Ia}c=(b+c|0)+40|0}q[d+176>>2]=c;d=f}q[e+172>>2]=d}Ja:{if(c>>>0>d>>>0){h=d+1|0;q[b+172>>2]=h;e=r[d|0];d=h;break Ja}if(!q[b+32>>2]){e=0;break Ja}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ka:{if(!c){e=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ka}e=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+12|0)+g|0]=w(r[q[a+16>>2]+154872|0],e);D=1;u=0;g=g+1|0;if((g|0)>2]){continue}break}g=0;break J}if(g){q[212945]=154821;break b}if(!(!u|y)){q[212945]=154821;break b}d=0;e=k+n|0;if((e|0)<(n|0)){break a}La:{if(e>>>0<=x>>>0){c=q[a+4>>2];break La}c=x?x:k>>>0>4096?k:4096;while(1){x=c;c=c<<1;if(e>>>0>x>>>0){continue}break}c=Pl(q[a+4>>2],x);if(!c){q[212945]=154488;break a}q[a+4>>2]=c}g=c+n|0;Ma:{Na:{Oa:{if(!q[b+16>>2]){j=q[b+176>>2];c=q[b+172>>2];break Oa}j=q[b+176>>2];c=q[b+172>>2];h=j-c|0;if((h|0)<(k|0)){break Na}}if(c+k>>>0>j>>>0){break Ma}si(g,c,k);q[b+172>>2]=k+q[b+172>>2];g=0;n=e;break J}c=si(g,c,h);g=c+h|0;c=k-h|0;h=ji[q[b+16>>2]](q[b+28>>2],g,c)|0;q[b+172>>2]=q[b+176>>2];g=0;n=e;if((c|0)==(h|0)){break J}}q[212945]=154821;break a}c=q[a+4>>2];if(!c){q[212945]=154821;break b}Pa:{d=q[b+4>>2];d=w(w(d,q[b+8>>2]),w(q[a+16>>2],q[b>>2])+7>>>3|0)+d|0;e=xi(d);if(e){q[l+1048>>2]=c;q[l+1052>>2]=c+n;if(LO(l+1048|0,e,d,!E)){break Pa}ki(q[l+1068>>2])}d=0;q[a+8>>2]=0;break a}d=q[l+1064>>2];c=q[l+1068>>2];q[a+8>>2]=c;if(!c){break b}h=d-c|0;ki(q[a+4>>2]);v=0;q[a+4>>2]=0;c=q[b+8>>2];d=c+1|0;z=D?d:u?c:d?c:d;q[b+12>>2]=z;k=q[a+16>>2];n=q[a+8>>2];d=q[a>>2];c=q[d+4>>2];g=q[d>>2];Qa:{Ra:{if(B){e=w(z,(k|0)==16?2:1);Sa:{if((c|g)<0|((g|0)>(2147483647/(c|0)|0)?c:0)){break Sa}c=w(c,g);if((c|e)<0|((c|0)>(2147483647/(e|0)|0)?e:0)){break Sa}v=xi(w(c,e))}y=0;while(1){c=y<<2;F=q[c+154960>>2];B=q[c+155024>>2];x=(q[d+4>>2]+(F^-1)|0)+B|0;m=(x>>>0)/(B>>>0)|0;C=q[c+154992>>2];H=q[c+154928>>2];c=C+(q[d>>2]+(H^-1)|0)|0;g=(c>>>0)/(C>>>0)|0;if(!(c>>>0>>0|x>>>0>>0)){c=q[d+8>>2];if(!WB(a,n,h,z,g,m,k,A)){break P}d=w(m,(w(c,w(g,k))+7>>3)+1|0);Ta:{if(!((m|0)>0?(g|0)>=1:0)){x=q[a+12>>2];break Ta}x=q[a+12>>2];I=q[a>>2];j=0;while(1){K=w(g,j);L=w(e,w(j,B)+F|0);c=0;while(1){si((w(q[I>>2],L)+v|0)+w(e,w(c,C)+H|0)|0,w(e,c+K|0)+x|0,e);c=c+1|0;if((g|0)!=(c|0)){continue}break}j=j+1|0;if((m|0)!=(j|0)){continue}break}}ki(x);n=d+n|0;h=h-d|0}y=y+1|0;if((y|0)==7){break Ra}d=q[a>>2];continue}}if(WB(a,n,h,z,g,c,k,A)){break Qa}break b}q[a+12>>2]=v}Ua:{if(!D){break Ua}if(q[a+16>>2]==16){c=q[a>>2];d=w(q[c+4>>2],q[c>>2]);c=q[a+12>>2];Va:{switch(q[b+12>>2]-2|0){case 2:if(!d){break Ua}h=s[l+6>>1];g=s[l+8>>1];n=s[l+10>>1];e=0;while(1){if(!((h|0)!=s[c>>1]|(g|0)!=s[c+2>>1]|(n|0)!=s[c+4>>1])){p[c+6>>1]=0}c=c+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua;case 0:break Va;default:break O}}if(!d){break Ua}h=s[l+6>>1];e=0;while(1){p[c+2>>1]=(h|0)!=s[c>>1]?-1:0;c=c+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua}c=q[a>>2];d=w(q[c+4>>2],q[c>>2]);c=q[a+12>>2];Wa:{switch(q[b+12>>2]-2|0){case 2:if(!d){break Ua}h=r[l+12|0];g=r[l+13|0];n=r[l+14|0];e=0;while(1){if(!((h|0)!=r[c|0]|(g|0)!=r[c+1|0]|(n|0)!=r[c+2|0])){o[c+3|0]=0}c=c+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua;case 0:break Wa;default:break N}}if(!d){break Ua}h=r[l+12|0];e=0;while(1){o[c+1|0]=(h|0)!=r[c|0]?-1:0;c=c+2|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!E|!q[212948]|q[b+12>>2]<3){break L}d=q[a>>2];h=w(q[d+4>>2],q[d>>2]);c=q[a+12>>2];Xa:{switch(q[d+12>>2]-3|0){case 0:if(!h){break L}e=0;while(1){d=r[c+2|0];o[c+2|0]=r[c|0];o[c|0]=d;c=c+3|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break L;default:J(155234,154179,4909,155252);G();case 1:break Xa}}if(!q[212947]){break M}if(!h){break L}d=0;while(1){g=r[c|0];e=r[c+3|0];Ya:{if(e){n=r[c+2|0];x=w(g,255);g=e>>>1|0;o[c+2|0]=((x+g&65535)>>>0)/(e>>>0);o[c|0]=((g+w(n,255)&65535)>>>0)/(e>>>0);o[c+1|0]=((g+w(r[c+1|0],255)&65535)>>>0)/(e>>>0);break Ya}e=r[c+2|0];o[c+2|0]=g;o[c|0]=e}c=c+4|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break L}if(g){q[212945]=154821;break b}if(!(h&32)){q[212945]=154881;break b}g=0;if(!k){break J}if((k|0)<=-1){q[b+172>>2]=c;break J}Za:{if(!q[b+16>>2]){break Za}e=c-d|0;if((e|0)>=(k|0)){break Za}q[b+172>>2]=c;ji[q[b+20>>2]](q[b+28>>2],k-e|0);break J}q[b+172>>2]=d+k;break J}q[212945]=154821;break b}q[212945]=154821;break b}ki(v);break b}J(155153,154179,4828,155178);G()}J(155153,154179,4803,155207);G()}if(!h){break L}e=0;while(1){d=r[c+2|0];o[c+2|0]=r[c|0];o[c|0]=d;c=c+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}_a:{if(u){q[b+8>>2]=u;q[b+12>>2]=u;d=0;$a:{c=q[a>>2];g=w(q[c+4>>2],q[c>>2]);ab:{if((g|u)<0){break ab}n=q[a+12>>2];if((g|0)>(2147483647/(u|0)|0)?u:0){break ab}h=xi(w(g,u));if(h){break $a}}q[212945]=154488;break a}bb:{if((u|0)!=3){if(!g){break bb}e=0;c=h;while(1){d=r[e+n|0]<<2;o[c|0]=r[d+(l+16|0)|0];o[c+1|0]=r[(l+16|0)+(d|1)|0];o[c+2|0]=r[(l+16|0)+(d|2)|0];o[c+3|0]=r[(l+16|0)+(d|3)|0];c=c+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break bb}if(!g){break bb}c=h;while(1){e=r[d+n|0]<<2;o[c|0]=r[e+(l+16|0)|0];o[c+1|0]=r[(l+16|0)+(e|1)|0];o[c+2|0]=r[(l+16|0)+(e|2)|0];c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}ki(n);q[a+12>>2]=h;break _a}if(!D){break _a}q[b+8>>2]=q[b+8>>2]+1}ki(q[a+8>>2]);q[a+8>>2]=0;d=b;a=q[b+172>>2];c=q[b+176>>2];cb:{db:{if(a>>>0>>0){a=a+1|0;break db}if(!q[b+32>>2]){break cb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;eb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break eb}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}d=b;fb:{if(a>>>0>>0){a=a+1|0}else{if(!q[b+32>>2]){break fb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;gb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break gb}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}d=b;hb:{if(a>>>0>>0){a=a+1|0}else{if(!q[b+32>>2]){break hb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;ib:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break ib}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}if(a>>>0>>0){d=1;q[b+172>>2]=a+1;break a}d=1;if(!q[b+32>>2]){break a}a=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;jb:{if(!a){q[b+32>>2]=0;o[i|0]=0;a=f;break jb}a=(a+b|0)+40|0}q[c+176>>2]=a;q[b+172>>2]=f;break a}kb:{lb:{if(c>>>0>>0){h=c+1|0;q[b+172>>2]=h;e=r[c|0];c=h;break lb}if(!q[b+32>>2]){break kb}d=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;mb:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break mb}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}if(!(e&255)){break kb}q[212945]=154821;break b}nb:{ob:{if(c>>>0>>0){h=c+1|0;q[b+172>>2]=h;e=r[c|0];c=h;break ob}if(!q[b+32>>2]){break nb}d=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;pb:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break pb}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}if(!(e&255)){break nb}q[212945]=154821;break b}qb:{rb:{if(c>>>0>>0){q[b+172>>2]=c+1;c=r[c|0];break rb}if(!q[b+32>>2]){B=0;break qb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);sb:{if(!c){q[b+32>>2]=0;o[i|0]=0;d=f;c=0;break sb}d=c+(b+40|0)|0;c=r[b+40|0]}q[b+176>>2]=d;q[b+172>>2]=f}B=c&255;if(B>>>0<2){break qb}q[212945]=154821;break b}tb:{c=q[b>>2];if(c){d=q[b+4>>2];if(d){break tb}}q[212945]=154821;break b}if(!u){e=(A>>>2&1)+(A&2|1)|0;q[b+8>>2]=e;if(d>>>0>(1073741824/(c>>>0)>>>0)/(e>>>0)>>>0){q[212945]=154462;break b}g=0;u=0;break J}q[b+8>>2]=1;g=0;if(d>>>0<=1073741824/(c>>>0)>>>2>>>0){break J}q[212945]=154821;break b}d=b;e=q[b+172>>2];c=q[b+176>>2];ub:{vb:{if(e>>>0>>0){e=e+1|0;break vb}if(!q[b+32>>2]){break ub}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;wb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break wb}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}d=b;xb:{if(c>>>0>e>>>0){e=e+1|0}else{if(!q[b+32>>2]){break xb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;yb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break yb}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}d=b;zb:{if(c>>>0>e>>>0){e=e+1|0}else{if(!q[b+32>>2]){break zb}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;Ab:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Ab}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}if(c>>>0>e>>>0){e=e+1|0;q[b+172>>2]=e;continue}if(!q[b+32>>2]){continue}c=ji[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Bb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Bb}c=(b+c|0)+40|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f;continue}}q[212945]=154768}d=0}fi=l+5120|0;return d}function Wy(a,b,c,d,e){var f=x(0),g=0,h=0,i=x(0),j=0,k=0,l=x(0),m=x(0),n=0,p=x(0),s=x(0),v=0,z=x(0),B=0,C=x(0),D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=0,T=0,U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=0,ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=0,na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0),ta=x(0),ua=x(0),va=x(0),wa=x(0),xa=x(0),ya=x(0),za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=x(0),Ma=x(0),Na=x(0),Oa=x(0),Pa=x(0),Qa=x(0),Ra=x(0),Sa=x(0),Ta=x(0),Ua=x(0),Va=x(0),Wa=x(0),Xa=x(0),Ya=x(0),Za=x(0),_a=x(0),$a=x(0);B=fi+ -64|0;fi=B;a:{b:{if(!q[c+264>>2]|e<=x(0)){break b}c:{if(o[842468]&1){break c}if(!ui(842468)){break c}if(r[852367]){g=Ri(134957)}else{g=-1}q[210616]=g;ti(842468)}d:{if(o[842476]&1){break d}if(!ui(842476)){break d}if(r[852367]){g=Yi(135520,15)}else{g=0}q[210618]=g;ti(842476)}h=q[210616];e:{if((h|0)!=-1){Qi(B+48|0,h,135520,q[210618]);break e}q[B+48>>2]=0}f:{g:{h:{i:{j:{g=q[c+52>>2];ha=q[c+48>>2];h=g-ha|0;if(h){v=(h|0)/160|0;while(1){if((g-ha|0)/160>>>0<=T>>>0){break a}k=w(T,160)+ha|0;f=x(u[k+64>>2]-e);u[k+64>>2]=f;k:{if(!(f>2]=u[j>>2];u[k+4>>2]=u[j+4>>2];u[k+8>>2]=u[j+8>>2];u[k+16>>2]=u[j+16>>2];u[k+20>>2]=u[j+20>>2];u[k+24>>2]=u[j+24>>2];u[k+28>>2]=u[j+28>>2];u[k+32>>2]=u[j+32>>2];u[k+36>>2]=u[j+36>>2];u[k+40>>2]=u[j+40>>2];u[k+44>>2]=u[j+44>>2];u[k+48>>2]=u[j+48>>2];u[k+52>>2]=u[j+52>>2];u[k+56>>2]=u[j+56>>2];h=q[j+84>>2];g=k- -64|0;q[g+16>>2]=q[j+80>>2];q[g+20>>2]=h;h=q[j+76>>2];q[g+8>>2]=q[j+72>>2];q[g+12>>2]=h;h=q[j+68>>2];q[g>>2]=q[j+64>>2];q[g+4>>2]=h;q[g+24>>2]=q[j+88>>2];u[k+96>>2]=u[j+96>>2];u[k+100>>2]=u[j+100>>2];u[k+104>>2]=u[j+104>>2];u[k+108>>2]=u[j+108>>2];u[k+112>>2]=u[j+112>>2];u[k+116>>2]=u[j+116>>2];u[k+120>>2]=u[j+120>>2];u[k+124>>2]=u[j+124>>2];u[k+128>>2]=u[j+128>>2];u[k+132>>2]=u[j+132>>2];u[k+136>>2]=u[j+136>>2];h=q[j+148>>2];q[k+144>>2]=q[j+144>>2];q[k+148>>2]=h;h=q[j+156>>2];q[k+152>>2]=q[j+152>>2];q[k+156>>2]=h;g=q[c+52>>2]-160|0;q[c+52>>2]=g;ha=q[c+48>>2];if(ha>>>0>g>>>0){break j}v=v-1|0;break k}T=T+1|0}if(v>>>0>T>>>0){continue}break}}if(q[B+48>>2]){Pi(B+48|0)}l:{if(o[842484]&1){break l}if(!ui(842484)){break l}if(r[852367]){g=Ri(134957)}else{g=-1}q[210620]=g;ti(842484)}m:{if(o[842492]&1){break m}if(!ui(842492)){break m}if(r[852367]){g=Yi(135563,18)}else{g=0}q[210622]=g;ti(842492)}h=q[210620];n:{if((h|0)!=-1){Qi(B+32|0,h,135563,q[210622]);break n}q[B+32>>2]=0}l=u[c+248>>2];v=q[c+264>>2];o:{p:{if((v|0)!=1){C=x(l+e);break p}f=u[c+272>>2];if(!(f<=l)){u[c+248>>2]=l+e;break f}q[c+264>>2]=2;h=q[a+72>>2];if(!h){f=x(x(l-f)+e);I=u[c+268>>2];C=f>2]=C;break o}ji[q[a+68>>2]](q[a+16>>2],q[c+112>>2],q[c+116>>2],2,h);C=x(x(u[c+248>>2]-u[c+272>>2])+e);u[c+248>>2]=C;v=q[c+264>>2];if((v|0)==1){break f}}I=u[c+268>>2];C=C>2]=C;if((v|0)!=2){break g}}if(!(r[c+280|0]&8|C>=I^1|q[d+4>>2]!=1)){C=x(C-I);u[c+248>>2]=C}s=u[c+252>>2];U=I<=x(0)?x(0):x(C/I);l=x(U*x(64));q:{if(l=x(0)){g=~~l>>>0;break q}g=0}g=w(g>>>0<63?g:63,12)+b|0;f=x(x(u[g+4>>2]+x(u[g+8>>2]*x(U-u[g>>2])))+u[c+276>>2]);f=x(s+x((f>x(0)?f:x(0))*e));r:{if(f=x(0)){h=~~f>>>0;break r}h=0}La=u[g+776>>2];Ma=u[g+780>>2];Na=u[g+772>>2];Oa=u[g+1548>>2];Pa=u[g+1552>>2];Qa=u[g+1544>>2];Ra=u[g+2320>>2];Sa=u[g+2324>>2];Ta=u[g+2316>>2];Ua=u[g+3092>>2];Va=u[g+3096>>2];Wa=u[g+3088>>2];Xa=u[g+3864>>2];Ya=u[g+3868>>2];Za=u[g+3860>>2];_a=u[g+4636>>2];$a=u[g+4640>>2];Q=u[g+4632>>2];V=u[g+5408>>2];K=u[g+5412>>2];Y=u[g+5404>>2];ca=u[g+6180>>2];da=u[g+6184>>2];ia=u[g+6176>>2];wa=u[g+6952>>2];xa=u[g+6956>>2];$=u[g+6948>>2];na=u[g+7724>>2];qa=u[g+7728>>2];ra=u[g+7720>>2];sa=u[g+8496>>2];ta=u[g+8500>>2];ua=u[g+8492>>2];va=u[g+9268>>2];ja=u[g+9272>>2];ka=u[g+9264>>2];L=u[g+10040>>2];O=u[g+10044>>2];P=u[g+10036>>2];R=u[g+10812>>2];E=u[g+10816>>2];H=u[g+10808>>2];u[c+252>>2]=f-x(h>>>0);g=(q[c+56>>2]-q[c+52>>2]|0)/160|0;Aa=g>>>0>>0?g:h;I=u[d+44>>2];C=u[d+40>>2];M=u[d+36>>2];ea=u[d+24>>2];ya=u[d+20>>2];N=u[d+32>>2];la=u[d+16>>2];aa=x(1);if(q[d+12>>2]){l=x(0)}else{Z=u[a+60>>2];_=u[a+48>>2];W=u[a+52>>2];D=x(x(x(I*Z)-x(N*_))-x(M*W));X=u[a+56>>2];s=x(C*X);p=x(x(M*_)+x(x(I*X)+x(C*Z)));z=x(N*W);m=x(x(N*X)+x(x(I*W)+x(M*Z)));i=x(C*_);l=x(x(C*W)+x(x(I*_)+x(N*Z)));f=x(M*X);aa=u[a+44>>2];fa=x(ya*aa);ga=x(la*aa);s:{if(o[a+82|0]&1){ba=x(ea*aa);la=x(x(x(X*ga)+x(Z*fa))-x(_*ba));oa=x(x(x(Z*ba)+x(_*fa))-x(W*ga));pa=x(x(x(Z*ga)+x(W*ba))-x(X*fa));ea=x(X*ba);ba=x(x(W*fa)+x(_*ga));break s}oa=x(x(x(ea*Z)+x(_*fa))-x(W*ga));la=x(x(x(X*ga)+x(Z*fa))-x(ea*_));pa=x(x(x(ea*W)+x(Z*ga))-x(X*fa));ea=x(ea*X);ba=x(x(_*ga)+x(W*fa))}I=x(D-s);C=x(p-z);M=x(m-i);N=x(l-f);f=x(ea+ba);ea=x(u[a+40>>2]+x(x(_*la)+x(x(x(X*f)+x(Z*oa))-x(W*pa))));ya=x(u[a+36>>2]+x(x(X*pa)+x(x(x(Z*la)+x(W*f))-x(_*oa))));la=x(u[a+32>>2]+x(x(W*oa)+x(x(x(Z*pa)+x(_*f))-x(X*la))));f=u[d+68>>2];oa=x(f*u[c+80>>2]);pa=x(f*u[c+84>>2]);l=x(f*u[c+88>>2])}if(!Aa){break h}W=x(x(x(U-H)*E)+R);X=x(x(x(U-P)*O)+L);fa=x(x(x(U-ka)*ja)+va);ga=x(x(x(U-ua)*ta)+sa);ba=x(x(x(U-ra)*qa)+na);wa=x(x(x(U-$)*xa)+wa);xa=x(x(x(U-ia)*da)+ca);$=x(x(x(U-Y)*K)+V);na=x(x(x(U-Q)*$a)+_a);qa=x(x(x(U-Za)*Ya)+Xa);ra=x(x(x(U-Wa)*Va)+Ua);sa=x(x(x(U-Ta)*Sa)+Ra);ta=x(x(x(U-Qa)*Pa)+Oa);ua=x(x(x(U-Na)*Ma)+La);ha=0;while(1){va=u[b+11576>>2];ja=u[b+10804>>2];ka=u[b+10032>>2];z=u[b+9260>>2];L=u[b+8488>>2];O=u[b+7716>>2];R=u[b+6944>>2];E=u[b+6172>>2];D=u[b+5400>>2];P=u[b+4628>>2];s=u[b+3856>>2];p=u[b+3084>>2];m=u[b+2312>>2];i=u[b+1540>>2];Ba=w(q[c+260>>2],-1443076087)+505908858|0;Ca=w(Ba,214013)+2531011|0;Da=w(Ca,214013)+2531011|0;Ea=w(Da,214013)+2531011|0;Fa=w(Ea,214013)+2531011|0;Ga=w(Fa,214013)+2531011|0;Ha=w(Ga,214013)+2531011|0;Ia=w(Ha,214013)+2531011|0;Ja=w(Ia,214013)+2531011|0;v=w(Ja,214013)+2531011|0;ma=w(v,214013)+2531011|0;T=w(ma,214013)+2531011|0;n=w(T,214013)+2531011|0;j=w(n,214013)+2531011|0;q[c+260>>2]=j;t:{if(o[842500]&1){break t}if(!ui(842500)){break t}if(r[852367]){g=Ri(134957)}else{g=-1}q[210624]=g;ti(842500)}u:{if(o[842508]&1){break u}if(!ui(842508)){break u}if(r[852367]){g=Yi(135582,5)}else{g=0}q[210626]=g;ti(842508)}h=q[210624];v:{if((h|0)!=-1){Qi(B+48|0,h,135582,q[210626]);break v}q[B+48>>2]=0}k=q[c+52>>2];za=q[c+48>>2];g=k-za|0;h=(g|0)/160|0;Ka=h+1|0;if(Ka>>>0>(q[c+56>>2]-za|0)/160>>>0){break i}q[c+52>>2]=w(Ka,160)+za;if(h>>>0>=(g+160|0)/160>>>0){break a}ca=x(x((T>>>16&32767)>>>0)*x(30518509447574615e-21));da=x(x((n>>>16&32767)>>>0)*x(30518509447574615e-21));ia=x(x((j>>>16&32767)>>>0)*x(30518509447574615e-21));f=x(x((Fa>>>16&32767)>>>0)*x(30518509447574615e-21));H=x(f+f);f=x(x((ma>>>16&32767)>>>0)*x(30518509447574615e-21));z=x(z*x(x(f+f)+x(-1)));f=x(x((Ba>>>16&32767)>>>0)*x(30518509447574615e-21));Y=x(ua+x(i*x(x(f+f)+x(-1))));f=x(x((Ca>>>16&32767)>>>0)*x(30518509447574615e-21));K=x(ta+x(m*x(x(f+f)+x(-1))));f=x(x((Da>>>16&32767)>>>0)*x(30518509447574615e-21));i=x(sa+x(p*x(x(f+f)+x(-1))));n=qi(k,0,160);f=x(x((Ea>>>16&32767)>>>0)*x(30518509447574615e-21));f=x(ra+x(s*x(x(f+f)+x(-1))));u[n+72>>2]=x(1)/f;u[n+68>>2]=f;u[n+64>>2]=f-e;g=w(q[c+260>>2],214013)+2531011|0;q[c+260>>2]=g;f=x(x((v>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+108>>2]=ba+x(L*x(x(f+f)+x(-1)));f=x(x((Ja>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+104>>2]=wa+x(O*x(x(f+f)+x(-1)));f=x(x((Ia>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+100>>2]=xa+x(R*x(x(f+f)+x(-1)));f=x(x((Ha>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+96>>2]=$+x(E*x(x(f+f)+x(-1)));f=x(x((Ga>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+80>>2]=aa*x(na+x(D*x(x(f+f)+x(-1))));f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));u[n+76>>2]=x(f+f)+x(-1);w:{x:{y:{z:{A:{B:{C:{D:{h=q[d+76>>2];switch(h|0){case 2:break z;case 1:break A;case 4:break B;case 0:break C;case 3:break D;default:break y}}k=w(g,214013)+2531011|0;g=w(k,214013)+2531011|0;h=w(g,214013)+2531011|0;q[c+260>>2]=h;f=x(x((k>>>16&32767)>>>0)*x(30518509447574615e-21));Q=x(x(f+f)+x(-1));m=x(F(x(x(1)-x(Q*Q))));i=x(x(x(((g>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));f=x(m*nk(i));s=x(x(Y*x(.5))*x(F(x(x(((h>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21)))));K=x(f*s);p=x(m*rl(i));L=x(p*s);V=x(Q*s);break w}g=w(g,214013)+2531011|0;h=w(g,214013)+2531011|0;q[c+260>>2]=h;Q=x(0);m=x(x(Y*x(.5))*x(F(x(x(((h>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21)))));V=x(m*x(0));i=x(x(x(((g>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));f=nk(i);K=x(f*m);p=rl(i);L=x(p*m);break w}j=w(g,214013)+2531011|0;k=w(j,214013)+2531011|0;g=w(k,214013)+2531011|0;h=w(g,214013)+2531011|0;q[c+260>>2]=h;p=x(0);f=x(x(x(((j>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));m=rl(f);s=nk(f);i=x(F(x(x((h>>>16&32767)>>>0)*x(30518509447574615e-21))));f=x(x(x((k>>>16&32767)>>>0)*x(30518509447574615e-21))+x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21)));f=x(Y*x(x(i*(x(f+x(-1))>=x(0)?x(x(2)-f):f))*x(.5)));V=x(s*f);K=x(K*i);L=x(m*f);f=x(x(V*V)+x(x(K*K)+x(L*L)));if(f==x(0)){f=x(1);Q=x(0);break w}i=x(x(1)/x(F(f)));Q=x(V*i);f=x(K*i);p=x(L*i);break w}g=w(g,214013)+2531011|0;h=w(g,214013)+2531011|0;q[c+260>>2]=h;p=x(0);f=x(Y*x(.5));i=x(x((h>>>16&32767)>>>0)*x(30518509447574615e-21));m=x(f*i);s=f;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));L=x(m-x(s*f));f=x(x(K*f)+x(K*i));K=x(K-f)>=x(0)?f:x(x(K+K)-f);f=x(x(x(L*L)+x(K*K))+x(0));if(f==x(0)){Q=x(0);f=x(1);break x}V=x(0);i=x(x(1)/x(F(f)));Q=x(i*x(0));f=x(K*i);p=x(L*i);break w}while(1){h=w(g,214013)+2531011|0;f=x(x((h>>>16&32767)>>>0)*x(30518509447574615e-21));p=x(x(f+f)+x(-1));h=w(h,214013)+2531011|0;f=x(x((h>>>16&32767)>>>0)*x(30518509447574615e-21));m=x(x(f+f)+x(-1));g=w(h,214013)+2531011|0;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));f=x(x(f+f)+x(-1));if(x(x(x(p*p)+x(m*m))+x(f*f))==x(0)){continue}break}q[c+260>>2]=g;V=x(x(i*x(.5))*f);K=x(x(K*x(.5))*m);L=x(x(Y*x(.5))*p);f=x(1);p=x(0);Q=x(0);break w}q[B>>2]=h;mi(3,134802,135588,B);p=x(0);Q=x(0);L=x(0);K=x(0);f=x(0)}V=x(0)}D=x(ca+ca);s=x(da+da);R=x(ia+ia);E=x(H+x(-1));H=x(ga+z);g=q[d+64>>2];E:{if((g|0)!=1){Y=x(1);ca=x(0);da=x(0);i=x(0);break E}z=x(p*x(0));m=x(Q*x(0));i=x(x(x(z+f)+m)+x(1));i=x(F(x(i+i)));O=x(x(1)/i);ca=x(x(z-m)*O);Y=x(i*x(.5));i=x(f*x(0));da=x(x(i-p)*O);i=x(x(Q-i)*O)}D=x(D+x(-1));s=x(s+x(-1));z=x(R+x(-1));m=x(P*E);ia=x(aa*L);L=x(aa*K);E=x(aa*V);O=x(x(x(C*ia)+x(I*L))-x(N*E));P=x(x(C*E)+x(x(N*ia)+x(M*L)));R=x(x(x(N*L)+x(I*E))-x(M*ia));E=x(x(x(I*ia)+x(M*E))-x(C*L));u[n+8>>2]=ea+x(x(N*O)+x(x(x(C*P)+x(I*R))-x(M*E)));u[n+4>>2]=ya+x(x(C*E)+x(x(x(I*O)+x(M*P))-x(N*R)));u[n>>2]=la+x(x(M*R)+x(x(x(N*P)+x(I*E))-x(C*O)));E=x(x(H*x(.01745329238474369))*x(.5));S=+E*10430.378350470453;F:{if(y(S)<2147483648){h=~~S;break F}h=-2147483648}H=x(ka*D);D=x(ja*s);s=x(va*z);P=x(qa+m);m=x(x(h&511)*x(.001953125));k=q[71806];z=x(m*u[k+(((h>>>9|0)+1&127)<<2)>>2]);m=x(x(x(1)-m)*u[k+(h>>>7&508)>>2]);S=+x(E+x(-1.5707963705062866))*10430.378350470453;G:{if(y(S)<2147483648){h=~~S;break G}h=-2147483648}ja=x(fa+H);ka=x(X+D);R=x(W+s);E=x(P*Q);H=x(P*f);D=x(P*p);z=x(m+z);f=x(x(h&511)*x(.001953125));m=x(x(x(x(1)-f)*u[k+(h>>>7&508)>>2])+x(f*u[k+(((h>>>9|0)+1&127)<<2)>>2]));V=x(0);H:{if((g|0)==2){Q=x(0);p=m;f=z;break H}L=x(x(x(x(I*Y)-x(N*i))-x(M*ca))-x(C*da));O=x(x(x(M*da)+x(x(I*i)+x(N*Y)))-x(C*ca));s=x(O*x(0));P=x(x(x(C*i)+x(x(I*ca)+x(M*Y)))-x(N*da));p=x(P*x(0));i=x(x(x(N*ca)+x(x(I*da)+x(C*Y)))-x(M*i));f=x(x(x(x(L*z)-s)-p)-x(i*m));p=x(x(s+x(x(L*m)+x(i*z)))-p);s=x(i*x(0));i=x(L*x(0));Q=x(x(s+x(i+x(P*z)))-x(O*m));V=x(x(x(P*m)+x(i+x(O*z)))-s)}u[n+148>>2]=ja;u[n+84>>2]=ja;u[n+32>>2]=V;u[n+16>>2]=V;u[n+156>>2]=R;u[n+152>>2]=ka;u[n+88>>2]=ka;u[n+44>>2]=f;u[n+40>>2]=p;u[n+36>>2]=Q;u[n+28>>2]=f;u[n+24>>2]=p;u[n+20>>2]=Q;s=x(aa*D);p=x(aa*H);f=x(aa*E);z=x(x(x(C*s)+x(I*p))-x(N*f));m=x(x(C*f)+x(x(N*s)+x(M*p)));i=x(x(x(N*p)+x(I*f))-x(M*s));f=x(x(x(I*s)+x(M*f))-x(C*p));u[n+56>>2]=l+x(x(N*z)+x(x(x(C*m)+x(I*i))-x(M*f)));u[n+52>>2]=pa+x(x(C*f)+x(x(x(M*m)+x(I*z))-x(N*i)));u[n+48>>2]=oa+x(x(M*i)+x(x(x(N*m)+x(I*f))-x(C*z)));if(q[B+48>>2]){Pi(B+48|0)}ha=ha+1|0;if((Aa|0)!=(ha|0)){continue}break}break h}J(135546,135222,484,135536);G()}J(135313,135222,474,135332);G()}v=r[c+280|0];if(!(u[c+248>>2]>=u[c+268>>2]^1|(q[d+4>>2]==1?!(v&8):0))){h=q[c+264>>2];I:{if(!h){break I}q[c+264>>2]=3;if((h|0)==3){break I}h=q[a+72>>2];if(!h){break I}ji[q[a+68>>2]](q[a+16>>2],q[c+112>>2],q[c+116>>2],3,h);v=r[c+280|0]}o[c+280|0]=v&247}v=q[c+264>>2]}if((v|0)!=3|q[c+52>>2]!=q[c+48>>2]){break f}q[c+264>>2]=0;g=q[a+72>>2];if(!g){break f}h=q[a+16>>2]-1|0;q[a+16>>2]=h;ji[q[a+68>>2]](h,q[c+112>>2],q[c+116>>2],0,g)}if(q[B+32>>2]){Pi(B+32|0)}k=q[c+52>>2];h=q[c+48>>2];g=k-h|0;j=(g|0)/160|0;J:{if(!g){break J}if((h|0)!=(k|0)){l=x(x(1)/u[b+18564>>2]);k=j>>>0>1?j:1;v=0;g=h;while(1){j=w(v,160)+g|0;f=x(x(x(1)-x(l*u[j+64>>2]))*x(65535));f=f=x(0)){g=~~f>>>0;break K}g=0}q[j+144>>2]=(j-h|0)/160&65535|g<<16;v=v+1|0;if((k|0)==(v|0)){break J}g=q[c+48>>2];if((q[c+52>>2]-g|0)/160>>>0>v>>>0){continue}break}}break a}L:{if(o[842516]&1){break L}if(!ui(842516)){break L}if(r[852367]){g=Ri(134957)}else{g=-1}q[210628]=g;ti(842516)}M:{if(o[842524]&1){break M}if(!ui(842524)){break M}if(r[852367]){g=Yi(135647,4)}else{g=0}q[210630]=g;ti(842524)}h=q[210628];N:{if((h|0)!=-1){Qi(B+48|0,h,135647,q[210630]);break N}q[B+48>>2]=0}Vv(q[c+48>>2],q[c+52>>2],B+32|0);if(q[B+48>>2]){Pi(B+48|0)}O:{if(o[842532]&1){break O}if(!ui(842532)){break O}if(r[852367]){g=Ri(134957)}else{g=-1}q[210632]=g;ti(842532)}P:{if(o[842540]&1){break P}if(!ui(842540)){break P}if(r[852367]){g=Yi(135652,8)}else{g=0}q[210634]=g;ti(842540)}h=q[210632];Q:{if((h|0)!=-1){Qi(B+48|0,h,135652,q[210634]);break Q}q[B+48>>2]=0}ma=q[c+48>>2];j=q[c+52>>2]-ma|0;n=(j|0)/160|0;if(j){g=n>>>0>1?n:1;T=0;while(1){v=ma+w(T,160)|0;$=u[v+68>>2]<=x(0)?x(0):x(x(1)-x(u[v+64>>2]*u[v+72>>2]));f=x($*x(64));R:{if(f=x(0)){k=~~f>>>0;break R}k=0}h=w(k>>>0<63?k:63,12)+b|0;qa=u[h+12356>>2];ra=u[h+12360>>2];sa=u[h+12352>>2];ta=u[h+13128>>2];ua=u[h+13132>>2];va=u[h+13124>>2];ja=u[h+13900>>2];ka=u[h+13904>>2];L=u[h+13896>>2];O=u[h+14672>>2];P=u[h+14676>>2];R=u[h+14668>>2];E=u[h+16988>>2];H=u[h+16992>>2];D=u[h+16984>>2];s=u[h+16216>>2];p=u[h+16220>>2];z=u[h+16212>>2];m=u[v+96>>2];i=u[v+100>>2];l=u[v+104>>2];f=u[v+108>>2];na=x(u[h+11584>>2]+x(u[h+11588>>2]*x($-u[h+11580>>2])));u[v+136>>2]=na;u[v+132>>2]=na;u[v+128>>2]=na;u[v+148>>2]=x(s+x(p*x($-z)))+u[v+84>>2];u[v+152>>2]=x(E+x(H*x($-D)))+u[v+88>>2];f=x(f*x(O+x(P*x($-R))));u[v+124>>2]=f>2]=f>2]=f>2]=f>2]-2|0){default:if(!j){break S}T=n>>>0>1?n:1;j=q[71806];v=0;while(1){n=ma+w(v,160)|0;f=u[n+68>>2]<=x(0)?x(0):x(x(1)-x(u[n+64>>2]*u[n+72>>2]));l=x(f*x(64));U:{if(l=x(0)){g=~~l>>>0;break U}g=0}h=w(g>>>0<63?g:63,12)+b|0;i=x(x(x(u[h+15444>>2]+x(u[h+15448>>2]*x(f-u[h+15440>>2])))*x(.01745329238474369))*x(.5));S=+x(i+x(-1.5707963705062866))*10430.378350470453;V:{if(y(S)<2147483648){h=~~S;break V}h=-2147483648}D=u[n+24>>2];f=x(x(h&511)*x(.001953125));E=x(x(u[j+(((h>>>9|0)+1&127)<<2)>>2]*f)+x(u[j+(h>>>7&508)>>2]*x(x(1)-f)));l=x(D*E);g=n;h=g;s=u[g+28>>2];f=s;S=+i*10430.378350470453;W:{if(y(S)<2147483648){k=~~S;break W}k=-2147483648}i=x(x(k&511)*x(.001953125));H=x(x(u[(((k>>>9|0)+1&127)<<2)+j>>2]*i)+x(u[j+(k>>>7&508)>>2]*x(x(1)-i)));p=u[n+16>>2];m=x(p*x(0));z=u[n+20>>2];i=x(z*x(0));u[h+44>>2]=x(x(x(f*H)-m)-i)-l;l=x(D*x(0));f=x(s*x(0));u[n+36>>2]=x(l+x(f+x(z*H)))-x(p*E);u[n+32>>2]=x(x(f+x(p*H))+x(z*E))-l;u[n+40>>2]=x(m+x(x(D*H)+x(s*E)))-i;v=v+1|0;if((T|0)!=(v|0)){continue}break}break S;case 0:if(!j){break S}T=n>>>0>1?n:1;j=q[71806];v=0;while(1){n=ma+w(v,160)|0;f=u[n+68>>2]<=x(0)?x(0):x(x(1)-x(u[n+64>>2]*u[n+72>>2]));l=x(f*x(64));X:{if(l=x(0)){g=~~l>>>0;break X}g=0}h=w(g>>>0<63?g:63,12)+b|0;i=x(x(x(u[h+15444>>2]+x(u[h+15448>>2]*x(f-u[h+15440>>2])))*x(.01745329238474369))*x(.5));S=+x(i+x(-1.5707963705062866))*10430.378350470453;Y:{if(y(S)<2147483648){h=~~S;break Y}h=-2147483648}D=u[n+24>>2];f=x(x(h&511)*x(.001953125));E=x(x(u[j+(((h>>>9|0)+1&127)<<2)>>2]*f)+x(u[j+(h>>>7&508)>>2]*x(x(1)-f)));l=x(D*E);g=n;h=g;s=u[g+28>>2];f=s;S=+i*10430.378350470453;Z:{if(y(S)<2147483648){k=~~S;break Z}k=-2147483648}i=x(x(k&511)*x(.001953125));H=x(x(u[(((k>>>9|0)+1&127)<<2)+j>>2]*i)+x(u[j+(k>>>7&508)>>2]*x(x(1)-i)));p=u[n+16>>2];m=x(p*x(0));z=u[n+20>>2];i=x(z*x(0));O=x(x(x(x(f*H)-m)-i)-l);u[h+44>>2]=O;l=x(D*x(0));f=x(s*x(0));P=x(x(l+x(f+x(z*H)))-x(p*E));u[n+36>>2]=P;R=x(x(x(f+x(p*H))+x(z*E))-l);u[n+32>>2]=R;s=x(x(m+x(x(D*H)+x(s*E)))-i);u[n+40>>2]=s;p=u[n+48>>2];i=u[n+52>>2];l=u[n+56>>2];f=x(x(x(p*p)+x(i*i))+x(l*l));if(!(f>x(9999999747378752e-20)^1)){C=x(1);M=x(0);N=x(0);K=x(0);f=x(x(1)/x(F(f)));z=x(l*f);m=x(z*x(0));l=x(i*f);f=x(p*f);i=x(f*x(0));p=x(x(m+x(l+i))+x(1));if(!((p>=x(0)?p:x(-p))>x(9999999747378752e-20)^1)){l=x(l*x(0));ba=x(l-f);f=x(F(x(p+p)));p=x(x(1)/f);C=x(ba*p);N=x(x(i-m)*p);M=x(x(z-l)*p);K=x(f*x(.5))}u[n+32>>2]=x(x(P*C)+x(x(O*M)+x(R*K)))-x(s*N);u[n+36>>2]=x(x(s*M)+x(x(O*N)+x(P*K)))-x(R*C);u[n+40>>2]=x(x(R*N)+x(x(O*C)+x(s*K)))-x(P*M);u[n+44>>2]=x(x(x(O*K)-x(R*M))-x(P*N))-x(s*C)}v=v+1|0;if((T|0)!=(v|0)){continue}break}break S;case 1:break T}}if(!j){break S}h=n>>>0>1?n:1;g=0;while(1){j=ma+w(g,160)|0;f=u[j+68>>2]<=x(0)?x(0):x(x(1)-x(u[j+64>>2]*u[j+72>>2]));l=x(f*x(64));_:{if(l=x(0)){k=~~l>>>0;break _}k=0}s=u[j+40>>2];k=w(k>>>0<63?k:63,12)+b|0;f=x(x(x(x(x(u[k+17760>>2]+x(u[k+17764>>2]*x(f-u[k+17756>>2])))*u[j+156>>2])*x(.01745329238474369))*e)*x(.5));D=nk(f);z=u[j+44>>2];p=rl(f);m=u[j+32>>2];l=x(m*x(0));i=u[j+36>>2];f=x(i*x(0));u[j+44>>2]=x(x(x(z*p)-l)-f)-x(s*D);u[j+40>>2]=x(l+x(x(z*D)+x(s*p)))-f;l=x(s*x(0));f=x(z*x(0));u[j+36>>2]=x(l+x(f+x(i*p)))-x(m*D);u[j+32>>2]=x(x(i*D)+x(f+x(m*p)))-l;g=g+1|0;if((h|0)!=(g|0)){continue}break}}p=x(1);p=q[d+12>>2]?p:u[a+44>>2];k=q[b+18532>>2];g=q[b+18528>>2];h=k-g|0;j=(h|0)/1544|0;$:{if(!h){break $}aa:{if((g|0)!=(k|0)){k=c+48|0;f=u[d+8>>2];E=f<=x(0)?x(0):x(u[c+248>>2]/f);h=j>>>0>1?j:1;v=0;while(1){if(t[d+104>>2]<=v>>>0){break aa}g=w(v,1544)+g|0;ba:{ca:{da:{ea:{fa:{j=q[d+100>>2]+(v<<6)|0;switch(q[j>>2]){case 3:break ca;case 2:break da;case 1:break ea;case 0:break fa;default:break ba}}H=u[d+44>>2];D=u[j+44>>2];s=u[j+32>>2];z=u[d+32>>2];m=u[d+36>>2];i=u[j+36>>2];l=u[j+40>>2];f=u[d+40>>2];u[B+44>>2]=x(x(x(H*D)-x(s*z))-x(m*i))-x(l*f);u[B+40>>2]=x(x(x(H*l)+x(D*f))+x(z*i))-x(s*m);u[B+36>>2]=x(x(s*f)+x(x(D*m)+x(H*i)))-x(z*l);u[B+32>>2]=x(x(x(H*s)+x(z*D))+x(m*l))-x(f*i);g6(k,g,B+32|0,p,E,e);break ba}H=u[d+44>>2];D=u[j+44>>2];s=u[j+32>>2];z=u[d+32>>2];m=u[d+36>>2];i=u[j+36>>2];l=u[j+40>>2];f=u[d+40>>2];u[B+44>>2]=x(x(x(H*D)-x(s*z))-x(m*i))-x(l*f);u[B+40>>2]=x(x(x(H*l)+x(D*f))+x(z*i))-x(s*m);u[B+36>>2]=x(x(s*f)+x(x(D*m)+x(H*i)))-x(z*l);u[B+32>>2]=x(x(x(H*s)+x(z*D))+x(m*l))-x(f*i);f6(k,g,j,B+32|0,E,e);break ba}JG(B+32|0,a,d,j);e6(k,g,B+32|0,p,E,e);break ba}JG(B+32|0,a,d,j);H=u[d+44>>2];D=u[j+44>>2];s=u[j+32>>2];z=u[d+32>>2];m=u[d+36>>2];i=u[j+36>>2];l=u[j+40>>2];f=u[d+40>>2];u[B+28>>2]=x(x(x(H*D)-x(s*z))-x(m*i))-x(l*f);u[B+24>>2]=x(x(x(H*l)+x(D*f))+x(z*i))-x(s*m);u[B+20>>2]=x(x(s*f)+x(x(D*m)+x(H*i)))-x(z*l);u[B+16>>2]=x(x(x(H*s)+x(z*D))+x(m*l))-x(f*i);d6(k,g,B+32|0,B+16|0,p,E,e)}v=v+1|0;if((h|0)==(v|0)){break $}g=q[b+18528>>2];if((q[b+18532>>2]-g|0)/1544>>>0>v>>>0){continue}break}}break a}J(135437,135449,240,135487);G()}a=q[c+52>>2];c=q[c+48>>2];a=a-c|0;b=(a|0)/160|0;ga:{if(!a){break ga}a=b>>>0>1?b:1;g=0;if(!r[d+120|0]){while(1){b=c+w(g,160)|0;u[b>>2]=u[b>>2]+x(u[b+48>>2]*e);f=u[b+128>>2];u[b+128>>2]=f+x(f*u[b+148>>2]);u[b+8>>2]=u[b+8>>2]+x(u[b+56>>2]*e);u[b+4>>2]=u[b+4>>2]+x(u[b+52>>2]*e);f=u[b+132>>2];u[b+132>>2]=f+x(f*u[b+152>>2]);g=g+1|0;if((a|0)!=(g|0)){continue}break ga}}while(1){b=c+w(g,160)|0;m=u[b+48>>2];u[b>>2]=u[b>>2]+x(m*e);f=u[b+128>>2];u[b+128>>2]=f+x(f*u[b+148>>2]);i=u[b+56>>2];u[b+8>>2]=u[b+8>>2]+x(i*e);l=u[b+52>>2];u[b+4>>2]=u[b+4>>2]+x(l*e);f=u[b+132>>2];u[b+132>>2]=f+x(x(x(F(x(x(x(m*m)+x(l*l))+x(i*i))))*x(f*u[b+152>>2]))*x(.008333333767950535));g=g+1|0;if((a|0)!=(g|0)){continue}break}}if(!q[B+48>>2]){break b}Pi(B+48|0)}fi=B- -64|0;return}J(136114,135222,447,135487);G()}function YD(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,p=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,D=0;l=fi-32|0;fi=l;z=q[31620];A=q[31618];B=q[31619];a:while(1){f=q[a+12>>2];j=q[a+24>>2];s=q[q[q[a+20>>2]+4>>2]>>2];n=q[q[s+16>>2]+8>>2];while(1){b:{c=j;j=c+4|0;i=q[c>>2];d=r[a+56|0];c:{if(!(d&12)){break c}e=q[a+64>>2]-1|0;q[a+64>>2]=e;d:{if(e){if(!(d&4)){break c}f=q[a+24>>2];q[a+24>>2]=j;break d}f=q[a+24>>2];q[a+24>>2]=j;if(!(d&8)){break d}q[a+64>>2]=q[a+60>>2];iE(a,3,-1)}e:{if(!(d&4)){break e}d=q[q[q[q[a+20>>2]+4>>2]>>2]+16>>2];e=q[d+12>>2];g=(j-e>>2)-1|0;d=q[d+20>>2];f:{if(!d){k=0;if(!g|f>>>0>=j>>>0){break f}break e}k=q[d+(g<<2)>>2];if(!g|f>>>0>=j>>>0){break f}if(q[(d+(f-e|0)|0)-4>>2]==(k|0)){break e}}iE(a,2,k)}if(r[a+6|0]==1){q[a+24>>2]=c;break b}f=q[a+12>>2]}m=i>>>6&255;g=(m<<4)+f|0;g:{h:{i:{switch(i&63){case 0:e=(i>>>19&8176)+f|0;c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 1:e=(i>>>10&4194288)+n|0;c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 2:q[g>>2]=i>>>23;q[((m<<4)+f|0)+8>>2]=1;j=i&8372224?c+8|0:j;continue;case 3:d=(i>>>19&8176)+f|0;while(1){q[d+8>>2]=0;d=d-16|0;if(g>>>0<=d>>>0){continue}break}continue;case 4:e=q[q[((i>>>21&2044)+s|0)+20>>2]+8>>2];c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 5:c=q[s+12>>2];q[l+8>>2]=5;q[l>>2]=c;q[a+24>>2]=j;Tr(a,l,(i>>>10&4194288)+n|0,g);f=q[a+12>>2];continue;case 6:q[a+24>>2]=j;c=i>>>10|0;Tr(a,(i>>>19&8176)+f|0,i&4194304?(c&4080)+n|0:(c&8176)+f|0,g);f=q[a+12>>2];continue;case 7:c=q[s+12>>2];q[l+8>>2]=5;q[l>>2]=c;q[a+24>>2]=j;Mt(a,l,(i>>>10&4194288)+n|0,g);f=q[a+12>>2];continue;case 8:c=q[g+4>>2];d=q[((i>>>21&2044)+s|0)+20>>2];e=q[d+8>>2];q[e>>2]=q[g>>2];q[e+4>>2]=c;c=(m<<4)+f|0;q[e+8>>2]=q[c+8>>2];if(q[c+8>>2]<4){continue}c=q[g>>2];if(!(r[c+5|0]&3)|!(r[d+5|0]&4)){continue}Mn(a,d,c);continue;case 9:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;Mt(a,g,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0);f=q[a+12>>2];continue;case 10:k=i>>>23|0;d=k>>>3&31;e=i>>>14&511;c=e>>>3&31;q[g>>2]=Ho(a,d?(k&7|8)<>2]=5;q[a+24>>2]=j;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}f=q[a+12>>2];continue;case 11:e=(i>>>19&8176)+f|0;c=q[e+4>>2];q[g+16>>2]=q[e>>2];q[g+20>>2]=c;q[g+24>>2]=q[e+8>>2];q[a+24>>2]=j;c=i>>>10|0;Tr(a,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0,g);f=q[a+12>>2];continue;case 12:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;j:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];k:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break k}v[g>>3]=v[e>>3]+v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break j}if(!xl(q[e>>2]+16|0,l)){break j}v[l+24>>3]=v[l>>3];c=l+24|0}l:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break j}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break l;default:break j}}v[g>>3]=v[c>>3]+v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}m:{f=Ik(a,e,5);if(!q[f+8>>2]){f=Ik(a,h,5);if(!q[f+8>>2]){break m}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 13:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;n:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];o:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break o}v[g>>3]=v[e>>3]-v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break n}if(!xl(q[e>>2]+16|0,l)){break n}v[l+24>>3]=v[l>>3];c=l+24|0}p:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break n}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break p;default:break n}}v[g>>3]=v[c>>3]-v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}q:{f=Ik(a,e,6);if(!q[f+8>>2]){f=Ik(a,h,6);if(!q[f+8>>2]){break q}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 14:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;r:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];s:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break s}v[g>>3]=v[e>>3]*v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break r}if(!xl(q[e>>2]+16|0,l)){break r}v[l+24>>3]=v[l>>3];c=l+24|0}t:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break r}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break t;default:break r}}v[g>>3]=v[c>>3]*v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}u:{f=Ik(a,e,7);if(!q[f+8>>2]){f=Ik(a,h,7);if(!q[f+8>>2]){break u}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 15:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;v:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];w:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break w}v[g>>3]=v[e>>3]/v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break v}if(!xl(q[e>>2]+16|0,l)){break v}v[l+24>>3]=v[l>>3];c=l+24|0}x:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break v}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break x;default:break v}}v[g>>3]=v[c>>3]/v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}y:{f=Ik(a,e,8);if(!q[f+8>>2]){f=Ik(a,h,8);if(!q[f+8>>2]){break y}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 16:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;z:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];A:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break A}u=v[e>>3];p=v[h>>3];v[g>>3]=u-p*C(u/p);q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break z}if(!xl(q[e>>2]+16|0,l)){break z}v[l+24>>3]=v[l>>3];c=l+24|0}B:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break z}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break B;default:break z}}u=v[c>>3];p=v[h>>3];v[g>>3]=u-p*C(u/p);q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}C:{f=Ik(a,e,9);if(!q[f+8>>2]){f=Ik(a,h,9);if(!q[f+8>>2]){break C}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 17:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;D:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];E:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break E}v[g>>3]=qp(v[e>>3],v[h>>3]);q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break D}if(!xl(q[e>>2]+16|0,l)){break D}v[l+24>>3]=v[l>>3];c=l+24|0}F:{switch(q[h+8>>2]-3|0){case 1:if(!xl(q[h>>2]+16|0,l)){break D}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break F;default:break D}}v[g>>3]=qp(v[c>>3],v[h>>3]);q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}G:{f=Ik(a,e,10);if(!q[f+8>>2]){f=Ik(a,h,10);if(!q[f+8>>2]){break G}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,e,h);f=q[a+12>>2];continue;case 18:k=(i>>>19&8176)+f|0;c=q[k+8>>2];if((c|0)==3){v[g>>3]=-v[k>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;H:{if((c|0)!=4){break H}if(!xl(q[k>>2]+16|0,l)){break H}v[l+24>>3]=v[l>>3];I:{switch(q[k+8>>2]-3|0){case 1:if(!xl(q[k>>2]+16|0,l)){break H}break;case 0:break I;default:break H}}v[g>>3]=-v[l+24>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}J:{f=Ik(a,k,11);if(!q[f+8>>2]){f=Ik(a,k,11);if(!q[f+8>>2]){break J}}e=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+16>>2]=q[k>>2];q[d+20>>2]=c;q[d+24>>2]=q[k+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+32>>2]=q[k>>2];q[d+36>>2]=c;q[d+40>>2]=q[k+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Gp(a,k,k);f=q[a+12>>2];continue;case 19:h=1;K:{L:{M:{c=(i>>>23<<4)+f|0;switch(q[c+8>>2]){case 0:break K;case 1:break M;default:break L}}h=!q[c>>2];break K}h=0}q[g>>2]=h;q[((m<<4)+f|0)+8>>2]=1;continue;case 20:N:{O:{P:{k=(i>>>19&8176)+f|0;switch(q[k+8>>2]-4|0){case 0:break O;case 1:break P;default:break N}}v[g>>3]=dE(q[k>>2])|0;q[((m<<4)+f|0)+8>>2]=3;continue}v[g>>3]=t[q[k>>2]+12>>2];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;Q:{f=Ik(a,k,12);if(!q[f+8>>2]){f=Ik(a,126472,12);if(!q[f+8>>2]){break Q}}e=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+16>>2]=q[k>>2];q[d+20>>2]=c;q[d+24>>2]=q[k+8>>2];c=q[a+8>>2];q[c+32>>2]=A;q[c+36>>2]=B;q[c+40>>2]=z;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Vt(a,k,128454);f=q[a+12>>2];continue;case 21:q[a+24>>2]=j;c=i>>>14&511;e=i>>>23|0;px(a,(c-e|0)+1|0,c);c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}f=q[a+12>>2];d=f+(m<<4)|0;e=(e<<4)+f|0;c=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=c;q[d+8>>2]=q[e+8>>2];continue;case 22:j=((i>>>12&1048572)+j|0)-524284|0;continue;case 23:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;c=i&4194304?(c&4080)+n|0:(c&8176)+f|0;if(q[e+8>>2]==q[c+8>>2]){c=(bX(a,e,c)|0)!=0}else{c=0}if((c|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 24:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;if((XD(a,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0)|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 25:q[a+24>>2]=j;R:{S:{c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;c=i>>>19|0;i=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[i+8>>2];if(q[h+8>>2]!=(c|0)){break S}T:{switch(c-3|0){case 0:d=v[i>>3]<=v[h>>3];break R;case 1:e=q[i>>2];g=e+16|0;c=q[h>>2];k=c+16|0;d=lt(g,k);U:{if(d){break U}h=q[e+12>>2];f=q[c+12>>2];while(1){c=Fi(g);if((c|0)==(f|0)){d=(f|0)!=(h|0);break U}if((c|0)==(h|0)){d=-1;break U}c=c+1|0;f=f-c|0;h=h-c|0;g=c+g|0;k=c+k|0;d=lt(g,k);if(!d){continue}break}}d=(d|0)<1;break R;default:break T}}V:{d=Ik(a,i,14);if(!q[d+8>>2]){break V}if(!Do(d,Ik(a,h,14))){break V}e=q[a+32>>2];c=q[d+4>>2];g=q[a+8>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;q[g+8>>2]=q[d+8>>2];c=q[i+4>>2];d=q[a+8>>2];q[d+16>>2]=q[i>>2];q[d+20>>2]=c;q[d+24>>2]=q[i+8>>2];c=q[h+4>>2];d=q[a+8>>2];q[d+32>>2]=q[h>>2];q[d+36>>2]=c;q[d+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){pk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;zl(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];W:{X:{c=q[a+8>>2];d=q[c+8>>2];switch(d|0){case 0:break R;case 1:break X;default:break W}}d=q[c>>2]!=0;break R}d=1;break R}d=Ik(a,h,13);if(!q[d+8>>2]){break S}if(!Do(d,Ik(a,i,13))){break S}e=q[a+32>>2];c=q[d+4>>2];k=q[a+8>>2];q[k>>2]=q[d>>2];q[k+4>>2]=c;q[k+8>>2]=q[d+8>>2];c=q[h+4>>2];d=q[a+8>>2];q[d+16>>2]=q[h>>2];q[d+20>>2]=c;q[d+24>>2]=q[h+8>>2];c=q[i+4>>2];d=q[a+8>>2];q[d+32>>2]=q[i>>2];q[d+36>>2]=c;q[d+40>>2]=q[i+8>>2];g=q[a+8>>2];if((q[a+28>>2]-g|0)<=48){pk(a,3);g=q[a+8>>2]}q[a+8>>2]=g+48;d=1;zl(a,g,1);g=q[a+8>>2]-16|0;q[a+8>>2]=g;c=q[g+4>>2];e=q[a+32>>2]+(k-e|0)|0;q[e>>2]=q[g>>2];q[e+4>>2]=c;q[e+8>>2]=q[g+8>>2];Y:{Z:{c=q[a+8>>2];switch(q[c+8>>2]){case 0:break R;case 1:break Z;default:break Y}}d=!q[c>>2];break R}d=0;break R}d=eE(a,i,h)}if((d|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 26:h=1;_:{$:{switch(q[((m<<4)+f|0)+8>>2]){case 1:h=!q[g>>2];break _;case 0:break _;default:break $}}h=0}if((i>>>14&511)!=(h|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 27:h=1;aa:{ba:{ca:{d=(i>>>19&8176)+f|0;e=q[d+8>>2];switch(e|0){case 0:break aa;case 1:break ca;default:break ba}}h=!q[d>>2];break aa}h=0}if((i>>>14&511)!=(h|0)){c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=e;j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 28:d=i>>>14&511;e=d-1|0;c=i>>>23|0;if(c){q[a+8>>2]=(c<<4)+g}q[a+24>>2]=j;c=Xt(a,g,e);if((c|0)!=1){if(c){break b}b=b+1|0;continue a}if(d){q[a+8>>2]=q[q[a+20>>2]+8>>2]}f=q[a+12>>2];continue;case 29:c=i>>>23|0;if(c){q[a+8>>2]=(c<<4)+g}q[a+24>>2]=j;c=Xt(a,g,-1);if((c|0)!=1){if(c){break b}h=q[a+20>>2];e=h-24|0;c=q[h+4>>2];j=h-20|0;i=q[j>>2];g=i;d=e;if(q[a+104>>2]){jo(a,q[e>>2]);g=q[j>>2]}j=g+(q[h>>2]-c|0)|0;q[d>>2]=j;q[a+12>>2]=j;j=0;g=c;if(c>>>0>2]){while(1){e=q[g+4>>2];d=j<<4;k=d+i|0;q[k>>2]=q[g>>2];q[k+4>>2]=e;q[k+8>>2]=q[(c+d|0)+8>>2];j=j+1|0;g=c+(j<<4)|0;if(g>>>0>2]){continue}break}}j=i+(j<<4)|0;q[a+8>>2]=j;q[h-16>>2]=j;q[h-12>>2]=q[a+24>>2];j=h-4|0;q[j>>2]=q[j>>2]+1;q[a+20>>2]=q[a+20>>2]-24;continue a}f=q[a+12>>2];continue;case 30:c=i>>>23|0;if(c){q[a+8>>2]=((c<<4)+g|0)-16}if(q[a+104>>2]){jo(a,f)}q[a+24>>2]=j;j=yx(a,g);b=b-1|0;if(!b){break b}if(!j){continue a}q[a+8>>2]=q[q[a+20>>2]+8>>2];continue a;case 31:p=v[g+32>>3];y=p+v[g>>3];u=v[g+16>>3];da:{if(!(p>0^1)){if(u>=y^1){continue}break da}if(u<=y^1){continue}}v[g>>3]=y;q[((m<<4)+f|0)+8>>2]=3;q[g+56>>2]=3;v[g+48>>3]=y;j=((i>>>12&1048572)+j|0)-524284|0;continue;case 32:q[a+24>>2]=j;ea:{e=(m<<4)+f|0;c=q[e+8>>2];if((c|0)!=3){if((c|0)!=4){break ea}if(!xl(q[g>>2]+16|0,l)){break ea}v[g>>3]=v[l>>3];q[e+8>>2]=3}c=q[g+24>>2];if((c|0)!=3){if((c|0)!=4){break h}if(!xl(q[g+16>>2]+16|0,l)){break h}p=v[l>>3];q[g+24>>2]=3;v[g+16>>3]=p}c=q[g+40>>2];if((c|0)==3){break g}fa:{if((c|0)!=4){break fa}if(!xl(q[g+32>>2]+16|0,l)){break fa}p=v[l>>3];q[g+40>>2]=3;v[g+32>>3]=p;break g}Ck(a,128534,0);G()}Ck(a,128468,0);break g;case 33:c=q[g+36>>2];q[g+80>>2]=q[g+32>>2];q[g+84>>2]=c;c=q[g+20>>2];e=g- -64|0;q[e>>2]=q[g+16>>2];q[e+4>>2]=c;c=q[g+4>>2];q[g+48>>2]=q[g>>2];q[g+52>>2]=c;q[g+88>>2]=q[g+40>>2];q[g+72>>2]=q[g+24>>2];c=m<<4;q[g+56>>2]=q[(c+f|0)+8>>2];q[a+24>>2]=j;q[a+8>>2]=g+96;zl(a,g+48|0,i>>>14&511);q[a+8>>2]=q[q[a+20>>2]+8>>2];f=q[a+12>>2];e=c+f|0;c=q[e+56>>2];if(c){q[e+40>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 34:k=i>>>14&511;d=i>>>23|0;if(!d){e=q[a+8>>2];q[a+8>>2]=q[q[a+20>>2]+8>>2];d=(e-g>>4)-1|0}if(!k){k=q[c+4>>2];j=c+8|0}if(q[((m<<4)+f|0)+8>>2]!=5){continue}h=(w(k,50)+d|0)-50|0;i=q[g>>2];if((h|0)>q[i+28>>2]){qX(a,i,h)}if((d|0)<1){continue}while(1){k=Ut(a,i,h);c=d;d=(c<<4)+g|0;e=q[d+4>>2];q[k>>2]=q[d>>2];q[k+4>>2]=e;q[k+8>>2]=q[d+8>>2];if(!(!(r[i+5|0]&4)|(!(r[q[d>>2]+5|0]&3)|q[d+8>>2]<4))){e=q[a+16>>2];o[i+5|0]=r[i+5|0]&251;q[i+24>>2]=q[e+40>>2];q[e+40>>2]=i}h=h-1|0;d=c-1|0;if((c|0)>1){continue}break}continue;case 35:jo(a,g);continue;case 36:c=q[q[q[s+16>>2]+16>>2]+(i>>>12&1048572)>>2];h=r[c+72|0];i=gE(a,h,q[s+12>>2]);q[i+16>>2]=c;d=0;if(h){while(1){e=q[j>>2];k=e>>>23|0;x=i+(d<<2)|0;if((e&63)==4){c=q[((k<<2)+s|0)+20>>2]}else{c=AX(a,(k<<4)+f|0)}q[x+20>>2]=c;j=j+4|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[g>>2]=i;q[((m<<4)+f|0)+8>>2]=6;q[a+24>>2]=j;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}f=q[a+12>>2];continue;case 37:break i;default:continue}}x=q[a+20>>2];e=(r[q[s+16>>2]+73|0]^-1)+(q[x>>2]-q[x+4>>2]>>4)|0;c=i>>>23|0;ga:{if(c){c=c-1|0;break ga}q[a+24>>2]=j;if((q[a+28>>2]-q[a+8>>2]|0)<=e<<4){pk(a,e)}f=q[a+12>>2];g=f+(m<<4)|0;q[a+8>>2]=g+(e<<4);c=e}if((c|0)<1){continue}d=0;m=0-e|0;while(1){D=(d<<4)+g|0;if((d|0)<(e|0)){k=d<<4;h=k+(q[x>>2]+(m<<4)|0)|0;i=g+k|0;k=q[h+4>>2];q[i>>2]=q[h>>2];q[i+4>>2]=k;i=q[h+8>>2]}else{i=0}q[D+8>>2]=i;d=d+1|0;if((c|0)!=(d|0)){continue}break}continue}Ck(a,128505,0)}v[g>>3]=v[g>>3]-v[g+32>>3];q[e+8>>2]=3;j=((i>>>12&1048572)+j|0)-524284|0;continue}break}break}fi=l+32|0}function Gsa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,t=0;d=fi-48|0;fi=d;c=qi(b,0,96);h=q[a+104>>2];b=r[h+88128|0];a:{b:{c:{d:{e:{f:{g:{h:{switch(h|0){case 0:case 5:case 10:case 12:case 14:case 15:case 18:q[c>>2]=6;e=b<<9;j=x(x(r[(e+302304|0)+(r[a+21|0]<<1)|0])/x(255));u[d+32>>2]=j;i:{if(h-15>>>0<=2){b=e+302304|0;e=r[b+(r[a+22|0]<<1)|0];u[d+36>>2]=j;u[d+40>>2]=j;j=x(x(e>>>0)/x(255));u[d+16>>2]=j;u[d+20>>2]=j;u[d+24>>2]=j;u[d+44>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+28>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);e=h-8|0;g=4;break i}g=r[h+88224|0];e=e+302304|0;u[d+36>>2]=x(r[e+(r[a+23|0]<<1)|0])/x(255);u[d+40>>2]=x(r[e+(r[a+25|0]<<1)|0])/x(255);u[d+16>>2]=x(r[e+(r[a+22|0]<<1)|0])/x(255);u[d+20>>2]=x(r[e+(r[a+24|0]<<1)|0])/x(255);u[d+24>>2]=x(r[e+(r[a+26|0]<<1)|0])/x(255);e=h-8|0;if(e>>>0<=6){b=(b<<9)+302304|0;u[d+44>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+28>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);break i}q[d+28>>2]=1065353216;q[d+44>>2]=1065353216}Tp(g&255,7,d+32|0,d+16|0,d+4|0,d,d+8|0);q[c+40>>2]=q[d+4>>2];q[c+52>>2]=q[d>>2];if(e>>>0>=10){o[c+55|0]=127;o[c+43|0]=127}q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2];b=c;j:{k:{switch(h-5|0){case 9:o[c+8|0]=r[r[a+39|0]+92128|0];o[c+9|0]=r[r[a+40|0]+92128|0];o[c+10|0]=r[r[a+41|0]+92128|0];o[c+11|0]=r[r[a+42|0]+92128|0];o[c+12|0]=r[r[a+43|0]+92128|0];o[c+13|0]=r[r[a+44|0]+92128|0];o[c+14|0]=r[r[a+45|0]+92128|0];o[c+15|0]=r[r[a+46|0]+92128|0];o[c+16|0]=r[r[a+47|0]+92128|0];o[c+17|0]=r[r[a+48|0]+92128|0];o[c+18|0]=r[r[a+49|0]+92128|0];o[c+19|0]=r[r[a+50|0]+92128|0];o[c+20|0]=r[r[a+51|0]+92128|0];o[c+21|0]=r[r[a+52|0]+92128|0];o[c+22|0]=r[r[a+53|0]+92128|0];a=r[a+54|0]+92128|0;break j;case 13:o[c+8|0]=r[r[a+39|0]+92096|0];o[c+9|0]=r[r[a+40|0]+92096|0];o[c+10|0]=r[r[a+41|0]+92096|0];o[c+11|0]=r[r[a+42|0]+92096|0];o[c+12|0]=r[r[a+43|0]+92096|0];o[c+13|0]=r[r[a+44|0]+92096|0];o[c+14|0]=r[r[a+45|0]+92096|0];o[c+15|0]=r[r[a+46|0]+92096|0];o[c+16|0]=r[r[a+47|0]+92096|0];o[c+17|0]=r[r[a+48|0]+92096|0];o[c+18|0]=r[r[a+49|0]+92096|0];o[c+19|0]=r[r[a+50|0]+92096|0];o[c+20|0]=r[r[a+51|0]+92096|0];o[c+21|0]=r[r[a+52|0]+92096|0];o[c+22|0]=r[r[a+53|0]+92096|0];a=r[a+54|0]+92096|0;break j;default:o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];a=a+54|0;break j;case 0:case 7:break k}}o[c+8|0]=r[r[a+39|0]+92132|0];o[c+9|0]=r[r[a+40|0]+92132|0];o[c+10|0]=r[r[a+41|0]+92132|0];o[c+11|0]=r[r[a+42|0]+92132|0];o[c+12|0]=r[r[a+43|0]+92132|0];o[c+13|0]=r[r[a+44|0]+92132|0];o[c+14|0]=r[r[a+45|0]+92132|0];o[c+15|0]=r[r[a+46|0]+92132|0];o[c+16|0]=r[r[a+47|0]+92132|0];o[c+17|0]=r[r[a+48|0]+92132|0];o[c+18|0]=r[r[a+49|0]+92132|0];o[c+19|0]=r[r[a+50|0]+92132|0];o[c+20|0]=r[r[a+51|0]+92132|0];o[c+21|0]=r[r[a+52|0]+92132|0];o[c+22|0]=r[r[a+53|0]+92132|0];a=r[a+54|0]+92132|0}o[b+23|0]=r[a|0];break b;case 1:q[c>>2]=3;u[d+32>>2]=x(r[a+21|0])/x(255);u[d+36>>2]=x(r[a+23|0])/x(255);b=r[a+25|0];q[d+44>>2]=1065353216;u[d+40>>2]=x(b>>>0)/x(255);u[d+16>>2]=x(r[a+22|0])/x(255);u[d+20>>2]=x(r[a+24|0])/x(255);b=r[a+26|0];q[d+28>>2]=1065353216;u[d+24>>2]=x(b>>>0)/x(255);q[d+4>>2]=0;q[d>>2]=0;Tp(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+44>>1]=s[d+4>>1];o[c+46|0]=r[d+6|0];b=r[d|0];o[c+52|0]=b;o[c+56|0]=b;b=r[d+1|0];o[c+57|0]=b;o[c+53|0]=b;b=r[d+2|0];o[c+58|0]=b;o[c+54|0]=b;b=q[d+8>>2];q[c+64>>2]=b;e=q[d+12>>2];q[c+76>>2]=e;q[c+72>>2]=b;q[c+68>>2]=e;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 2:q[c>>2]=1;b=q[a+108>>2];q[c+4>>2]=r[w(b,6)+86272|0];q[d+44>>2]=1065353216;q[d+28>>2]=1065353216;l:{if(43795755>>>b&1){b=r[a+21|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+22|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+23|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+24|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+25|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+26|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Jv(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+52>>1]=s[d>>1];o[c+54|0]=r[d+2|0];q[c+64>>2]=q[d+8>>2];b=r[a+27|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+28|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+29|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+30|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+31|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+32|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Jv(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+46|0]=r[d+6|0];p[c+44>>1]=s[d+4>>1];p[c+56>>1]=s[d>>1];o[c+58|0]=r[d+2|0];q[c+72>>2]=q[d+8>>2];break l}b=r[a+21|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+22|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+23|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+24|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+25|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+26|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Jv(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+44|0]=r[d+4|0];o[c+56|0]=r[d|0];o[c+45|0]=r[d+5|0];o[c+57|0]=r[d+1|0];o[c+46|0]=r[d+6|0];o[c+58|0]=r[d+2|0];q[c+72>>2]=q[d+8>>2];b=r[a+27|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+28|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+29|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+30|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+31|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+32|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Jv(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+40|0]=r[d+4|0];o[c+52|0]=r[d|0];o[c+41|0]=r[d+5|0];o[c+53|0]=r[d+1|0];o[c+42|0]=r[d+6|0];o[c+54|0]=r[d+2|0];q[c+64>>2]=q[d+8>>2]}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 3:q[c>>2]=2;h=w(q[a+108>>2],6)+86592|0;q[c+4>>2]=r[h|0];e=1;b=(b<<9)+302304|0;l=r[b+(r[a+22|0]<<1)|0];g=c+40|0;h=w(r[h+4|0],3)+86672|0;i=r[h|0]<<2;f=g+i|0;o[f|0]=(w(r[b+(r[a+21|0]<<1)|0],31)+127>>>0)/255;m=i;i=c+52|0;k=m+i|0;o[k|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+24|0]<<1)|0];o[f+1|0]=(w(r[b+(r[a+23|0]<<1)|0],31)+127>>>0)/255;o[k+1|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+26|0]<<1)|0];o[f+2|0]=(w(r[b+(r[a+25|0]<<1)|0],31)+127>>>0)/255;o[k+2|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+28|0]<<1)|0];k=r[h+1|0]<<2;f=k+g|0;o[f|0]=(w(r[b+(r[a+27|0]<<1)|0],31)+127>>>0)/255;k=i+k|0;o[k|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+30|0]<<1)|0];o[f+1|0]=(w(r[b+(r[a+29|0]<<1)|0],31)+127>>>0)/255;o[k+1|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+32|0]<<1)|0];o[f+2|0]=(w(r[b+(r[a+31|0]<<1)|0],31)+127>>>0)/255;o[k+2|0]=(w(l,31)+127>>>0)/255;f=r[b+(r[a+34|0]<<1)|0];h=r[h+2|0]<<2;g=h+g|0;o[g|0]=(w(r[b+(r[a+33|0]<<1)|0],31)+127>>>0)/255;h=h+i|0;o[h|0]=(w(f,31)+127>>>0)/255;f=r[b+(r[a+36|0]<<1)|0];o[g+1|0]=(w(r[b+(r[a+35|0]<<1)|0],31)+127>>>0)/255;o[h+1|0]=(w(f,31)+127>>>0)/255;f=r[b+(r[a+38|0]<<1)|0];o[g+2|0]=(w(r[b+(r[a+37|0]<<1)|0],31)+127>>>0)/255;o[h+2|0]=(w(f,31)+127>>>0)/255;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break a;case 4:q[c>>2]=3;e=q[a+108>>2];q[c+4>>2]=r[w(e,6)+86272|0];q[d+44>>2]=1065353216;q[d+28>>2]=1065353216;m:{if(43795755>>>e&1){b=(b<<9)+302304|0;u[d+32>>2]=x(r[b+(r[a+21|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+22|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+25|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+26|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Tp(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+52>>1]=s[d>>1];o[c+54|0]=r[d+2|0];o[c+55|0]=127;o[c+43|0]=127;q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2];u[d+32>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+29|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+30|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+31|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+32|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Tp(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+46|0]=r[d+6|0];p[c+44>>1]=s[d+4>>1];p[c+56>>1]=s[d>>1];o[c+58|0]=r[d+2|0];o[c+59|0]=127;o[c+47|0]=127;q[c+72>>2]=q[d+8>>2];q[c+76>>2]=q[d+12>>2];break m}b=(b<<9)+302304|0;u[d+32>>2]=x(r[b+(r[a+21|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+22|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+25|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+26|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Tp(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+44|0]=r[d+4|0];o[c+56|0]=r[d|0];o[c+45|0]=r[d+5|0];o[c+57|0]=r[d+1|0];o[c+46|0]=r[d+6|0];e=r[d+2|0];o[c+59|0]=127;o[c+47|0]=127;o[c+58|0]=e;q[c+72>>2]=q[d+8>>2];q[c+76>>2]=q[d+12>>2];u[d+32>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+29|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+30|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+31|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+32|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Tp(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+40|0]=r[d+4|0];o[c+52|0]=r[d|0];o[c+41|0]=r[d+5|0];o[c+53|0]=r[d+1|0];o[c+42|0]=r[d+6|0];b=r[d+2|0];o[c+55|0]=127;o[c+43|0]=127;o[c+54|0]=b;q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2]}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 6:case 11:case 13:case 17:q[c>>2]=5;e=q[a+16>>2];q[c+92>>2]=e+1&3;if(h-15>>>0<=2){if((e|0)!=3){break f}b=(b<<9)+302304|0;e=(w(r[b+(r[a+21|0]<<1)|0],127)+127>>>0)/255|0;o[c+40|0]=e;g=r[b+(r[a+22|0]<<1)|0];o[c+41|0]=e;o[c+42|0]=e;e=(w(g,127)+127>>>0)/255|0;o[c+53|0]=e;o[c+52|0]=e;o[c+54|0]=e;o[c+43|0]=r[b+(r[a+23|0]<<1)|0];o[c+55|0]=r[b+(r[a+24|0]<<1)|0];break d}i=b<<9;f=i+302304|0;g=r[f+(r[a+21|0]<<1)|0];f=r[f+(r[a+22|0]<<1)|0];if(e){f=(w(f&255,127)+127>>>0)/255|0;g=(w(g&255,127)+127>>>0)/255|0}e=(e?0:3)+c|0;o[e+52|0]=f;o[e+40|0]=g;g=i+302304|0;e=r[g+(r[a+24|0]<<1)|0];g=r[g+(r[a+23|0]<<1)|0];f=q[a+16>>2]==1;i=f?3:1;if(!f){g=(w(g&255,127)+127>>>0)/255|0;e=(w(e&255,127)+127>>>0)/255|0}f=c+i|0;o[f+52|0]=e;o[f+40|0]=g;g=(b<<9)+302304|0;e=r[g+(r[a+26|0]<<1)|0];g=r[g+(r[a+25|0]<<1)|0];f=q[a+16>>2]==2;i=f?3:2;if(!f){g=(w(g&255,127)+127>>>0)/255|0;e=(w(e&255,127)+127>>>0)/255|0}f=c+i|0;o[f+52|0]=e;o[f+40|0]=g;f=q[a+16>>2];e=255;g=255;if(h-8>>>0<=6){b=(b<<9)+302304|0;g=r[b+(r[a+28|0]<<1)|0];e=r[b+(r[a+27|0]<<1)|0]}if(f>>>0<=2){break g}break e;case 7:q[c>>2]=2;h=w(q[a+108>>2],6)+86464|0;q[c+4>>2]=r[h|0];e=1;b=(b<<9)+302304|0;g=a+21|0;h=r[h+4|0];i=w(SA(0,h),6);f=g+i|0;o[c+40|0]=(w(r[b+(r[f|0]<<1)|0],31)+127>>>0)/255;i=g+(i|1)|0;o[c+52|0]=(w(r[b+(r[i|0]<<1)|0],31)+127>>>0)/255;o[c+41|0]=(w(r[b+(r[f+2|0]<<1)|0],31)+127>>>0)/255;o[c+53|0]=(w(r[b+(r[i+2|0]<<1)|0],31)+127>>>0)/255;o[c+42|0]=(w(r[b+(r[f+4|0]<<1)|0],31)+127>>>0)/255;o[c+54|0]=(w(r[b+(r[i+4|0]<<1)|0],31)+127>>>0)/255;i=w(SA(1,h),6);f=i+g|0;o[c+44|0]=(w(r[b+(r[f|0]<<1)|0],31)+127>>>0)/255;i=g+(i|1)|0;o[c+56|0]=(w(r[b+(r[i|0]<<1)|0],31)+127>>>0)/255;o[c+45|0]=(w(r[b+(r[f+2|0]<<1)|0],31)+127>>>0)/255;o[c+57|0]=(w(r[b+(r[i+2|0]<<1)|0],31)+127>>>0)/255;o[c+46|0]=(w(r[b+(r[f+4|0]<<1)|0],31)+127>>>0)/255;o[c+58|0]=(w(r[b+(r[i+4|0]<<1)|0],31)+127>>>0)/255;f=w(SA(2,h),6);h=f+g|0;o[c+48|0]=(w(r[b+(r[h|0]<<1)|0],31)+127>>>0)/255;g=g+(f|1)|0;o[c+60|0]=(w(r[b+(r[g|0]<<1)|0],31)+127>>>0)/255;o[c+49|0]=(w(r[b+(r[h+2|0]<<1)|0],31)+127>>>0)/255;o[c+61|0]=(w(r[b+(r[g+2|0]<<1)|0],31)+127>>>0)/255;o[c+50|0]=(w(r[b+(r[h+4|0]<<1)|0],31)+127>>>0)/255;o[c+62|0]=(w(r[b+(r[g+4|0]<<1)|0],31)+127>>>0)/255;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break a;case 8:e=(r[a+115|0]<<3)+313056|0;g=(r[a+114|0]<<3)+313056|0;h=(r[a+113|0]<<3)+313056|0;f=(r[a+112|0]<<3)+313056|0;b=s[e+4>>1]+(s[g+4>>1]+(s[h+4>>1]+s[f+4>>1]|0)|0)|0;e=s[e>>1]+(s[g>>1]+(s[h>>1]+s[f>>1]|0)|0)|0;if(!(!e|!b)){q[c>>2]=5;o[c+40|0]=r[((r[a+112|0]<<2)+315104|0)+2|0];o[c+52|0]=r[((r[a+112|0]<<2)+315104|0)+3|0];o[c+41|0]=r[((r[a+113|0]<<2)+315104|0)+2|0];o[c+53|0]=r[((r[a+113|0]<<2)+315104|0)+3|0];o[c+42|0]=r[((r[a+114|0]<<2)+315104|0)+2|0];b=r[((r[a+114|0]<<2)+315104|0)+3|0];q[c+8>>2]=16843009;q[c+12>>2]=16843009;o[c+54|0]=b;q[c+16>>2]=16843009;q[c+20>>2]=16843009;o[c+43|0]=r[a+115|0];o[c+55|0]=r[a+115|0];break b}q[c>>2]=6;e=b>>>0>>0;b=e<<2;o[c+40|0]=r[(b+((r[a+112|0]<<3)+313056|0)|0)+2|0];o[c+52|0]=r[(b+((r[a+112|0]<<3)+313056|0)|0)+3|0];o[c+41|0]=r[(b+((r[a+113|0]<<3)+313056|0)|0)+2|0];o[c+53|0]=r[(b+((r[a+113|0]<<3)+313056|0)|0)+3|0];o[c+42|0]=r[(b+((r[a+114|0]<<3)+313056|0)|0)+2|0];o[c+54|0]=r[(b+((r[a+114|0]<<3)+313056|0)|0)+3|0];o[c+43|0]=r[(b+((r[a+115|0]<<3)+313056|0)|0)+2|0];a=r[(b+((r[a+115|0]<<3)+313056|0)|0)+3|0];q[c+68>>2]=e;q[c+64>>2]=e;o[c+55|0]=a;q[c+8>>2]=84215045;q[c+12>>2]=84215045;q[c+16>>2]=84215045;q[c+20>>2]=84215045;break b;case 9:case 16:break h;default:break a}}q[c>>2]=7;e=q[a+108>>2];q[c+4>>2]=r[w(e,6)+86272|0];l=(43795755>>>e^-1)&1;n=h-15>>>0>2;k=b<<9;h=a+21|0;b=1;while(1){m=d;t=k+302304|0;n:{if(!n){i=k+302304|0;f=g<<2;j=x(x(r[i+(r[f+h|0]<<1)|0])/x(255));u[d+32>>2]=j;e=r[i+(r[h+(f|1)|0]<<1)|0];u[d+36>>2]=j;u[d+40>>2]=j;j=x(x(e>>>0)/x(255));u[d+16>>2]=j;u[d+20>>2]=j;u[d+24>>2]=j;u[d+44>>2]=x(r[i+(r[h+(f|2)|0]<<1)|0])/x(255);e=f|3;break n}i=k+302304|0;f=g<<3;u[d+32>>2]=x(r[i+(r[f+h|0]<<1)|0])/x(255);u[d+36>>2]=x(r[i+(r[h+(f|2)|0]<<1)|0])/x(255);u[d+40>>2]=x(r[i+(r[h+(f|4)|0]<<1)|0])/x(255);u[d+44>>2]=x(r[i+(r[h+(f|6)|0]<<1)|0])/x(255);u[d+16>>2]=x(r[i+(r[h+(f|1)|0]<<1)|0])/x(255);u[d+20>>2]=x(r[i+(r[h+(f|3)|0]<<1)|0])/x(255);u[d+24>>2]=x(r[i+(r[h+(f|5)|0]<<1)|0])/x(255);e=f|7}u[m+28>>2]=x(r[t+(r[(e+a|0)+21|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;Tp(4,5,d+32|0,d+16|0,d+4|0,d,d+8|0);e=g^l;g=(e<<2)+c|0;q[g+40>>2]=q[d+4>>2];q[g+52>>2]=q[d>>2];e=(e<<3)+c|0;q[e- -64>>2]=q[d+8>>2];q[e+68>>2]=q[d+12>>2];e=b;b=0;g=1;if(e){continue}break}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b}g=(w(g,127)+127>>>0)/255|0;e=(w(e,127)+127>>>0)/255|0;break e}J(92140,85651,13343,92175);G()}b=c+f|0;o[b+52|0]=g;o[b+40|0]=e;if((h|0)==13){break c}}o[c+8|0]=r[a+39|0];o[c+24|0]=r[a+40|0];o[c+9|0]=r[a+41|0];o[c+25|0]=r[a+42|0];o[c+10|0]=r[a+43|0];o[c+26|0]=r[a+44|0];o[c+11|0]=r[a+45|0];o[c+27|0]=r[a+46|0];o[c+12|0]=r[a+47|0];o[c+28|0]=r[a+48|0];o[c+13|0]=r[a+49|0];o[c+29|0]=r[a+50|0];o[c+14|0]=r[a+51|0];o[c+30|0]=r[a+52|0];o[c+15|0]=r[a+53|0];o[c+31|0]=r[a+54|0];o[c+16|0]=r[a+55|0];o[c+32|0]=r[a+56|0];o[c+17|0]=r[a+57|0];o[c+33|0]=r[a+58|0];o[c+18|0]=r[a+59|0];o[c+34|0]=r[a+60|0];o[c+19|0]=r[a+61|0];o[c+35|0]=r[a+62|0];o[c+20|0]=r[a+63|0];o[c+36|0]=r[a- -64|0];o[c+21|0]=r[a+65|0];o[c+37|0]=r[a+66|0];o[c+22|0]=r[a+67|0];o[c+38|0]=r[a+68|0];o[c+23|0]=r[a+69|0];o[c+39|0]=r[a+70|0];break b}o[c+8|0]=r[a+39|0]?3:0;o[c+24|0]=r[a+40|0]?3:0;o[c+9|0]=r[a+41|0]?3:0;o[c+25|0]=r[a+42|0]?3:0;o[c+10|0]=r[a+43|0]?3:0;o[c+26|0]=r[a+44|0]?3:0;o[c+11|0]=r[a+45|0]?3:0;o[c+27|0]=r[a+46|0]?3:0;o[c+12|0]=r[a+47|0]?3:0;o[c+28|0]=r[a+48|0]?3:0;o[c+13|0]=r[a+49|0]?3:0;o[c+29|0]=r[a+50|0]?3:0;o[c+14|0]=r[a+51|0]?3:0;o[c+30|0]=r[a+52|0]?3:0;o[c+15|0]=r[a+53|0]?3:0;o[c+31|0]=r[a+54|0]?3:0;o[c+16|0]=r[a+55|0]?3:0;o[c+32|0]=r[a+56|0]?3:0;o[c+17|0]=r[a+57|0]?3:0;o[c+33|0]=r[a+58|0]?3:0;o[c+18|0]=r[a+59|0]?3:0;o[c+34|0]=r[a+60|0]?3:0;o[c+19|0]=r[a+61|0]?3:0;o[c+35|0]=r[a+62|0]?3:0;o[c+20|0]=r[a+63|0]?3:0;o[c+36|0]=r[a- -64|0]?3:0;o[c+21|0]=r[a+65|0]?3:0;o[c+37|0]=r[a+66|0]?3:0;o[c+22|0]=r[a+67|0]?3:0;o[c+38|0]=r[a+68|0]?3:0;o[c+23|0]=r[a+69|0]?3:0;o[c+39|0]=r[a+70|0]?3:0}e=1}fi=d+48|0;return e}function oS(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,u=0,v=0,x=0,y=0,z=0,A=0,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,_=0;u=fi-144|0;fi=u;a:{b:{c:{if(d>>>0<=e>>>0){j=q[f>>2];S=g&4;P=S?-1:j+((d^-1)+e|0)|0;E=P+1|0;if(!(E&P)){break c}}q[f>>2]=0;q[c>>2]=0;F=-3;break b}L=e+j|0;M=q[a+60>>2];A=q[a+40>>2];m=q[a+36>>2];D=q[a+32>>2];k=q[a+56>>2];j=q[a+4>>2];F=-1;y=e;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{l=b;x=q[c>>2];C=l+x|0;s:{t:{u:{v:{v=C;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:{pa:{n=q[a>>2];switch(n|0){case 39:break i;case 40:break j;case 10:break k;case 17:break l;case 21:break m;case 37:break n;case 34:break o;case 35:break r;case 53:break P;case 52:break Q;case 38:break R;case 24:break S;case 9:break T;case 42:break Y;case 41:break Z;case 32:break _;case 27:break $;case 26:break aa;case 25:break ba;case 23:break ca;case 18:break da;case 36:break e;case 16:break ea;case 14:break fa;case 11:break ga;case 51:break ha;case 7:break ia;case 6:break ja;case 5:break ka;case 3:break la;case 2:break ma;case 1:break oa;case 0:break pa;default:break d}}q[a+28>>2]=1;k=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+16>>2]=1;if(!(g&1)){A=0;D=0;j=0;m=0;break t}A=0;m=0;D=0;j=0;if((x|0)>0){break na}break y}if((x|0)<1){break y}q[a+8>>2]=r[b|0];l=b+1|0;break x}q[a+8>>2]=r[b|0];l=b+1|0;break x}if((x|0)<1){break w}break v}if((x|0)<1){break X}h=2;break s}i=1;if((x|0)<1){break A}l=b+1|0;h=r[b|0];break z}B=j;if((x|0)<1){break W}h=5;break s}if((x|0)<1){break V}o[(a+m|0)+10528|0]=r[b|0];l=b+1|0;B=j;break U}B=j;if((x|0)<1){break O}h=10;break s}K=m;if((x|0)<1){break N}h=14;break s}if((x|0)<1){break M}h=16;break s}if((x|0)<1){break L}h=18;break s}if((x|0)<1){break K}h=20;break s}if((x|0)<1){break J}h=22;break s}if((x|0)<1){break I}h=25;break s}if((x|0)<1){break H}h=27;break s}if((x|0)<1){break G}h=29;break s}i=1;if((x|0)<1){break C}l=b+1|0;G=r[b|0];break B}h=j;if((x|0)<1){break F}i=2;break p}if((x|0)<1){break E}l=b+1|0;G=r[b|0];h=j;break D}h=1;break s}h=4;break s}h=6;break s}h=7;break s}h=8;break s}h=23;break s}h=12;break s}h=11;break s}h=30;break s}h=9;break s}h=13;break s}h=15;break s}h=17;break s}h=19;break s}h=21;break s}h=24;break s}h=26;break s}h=28;break s}i=1;break p}i=3;break p}i=4;break p}if(!(g&2)){break B}n=32;F=1;break e}k=G<>2]=0;l=b}if(v>>>0>l>>>0){break v}}n=2;i=1;if(!(g&2)){break u}break g}h=r[l|0];l=l+1|0}q[a+12>>2]=h;i=0;m=q[a+8>>2];h=(((m<<8|h)>>>0)%31|h&32)!=0|(m&15)!=8;qa:{if(!S){m=256<<(m>>>4);if(!(h|(m>>>0>32768|m>>>0>E>>>0))){break qa}break f}if(h){break f}}m=0}h=0}ra:while(1){sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{switch(h|0){case 0:if(j>>>0>2){break Nb}break Ob;case 1:h=0;if(!(g&2)){break Pb}i=1;n=3;break g;case 29:break Ta;case 28:break Ua;case 27:break Wa;case 26:break Xa;case 25:break Za;case 24:break _a;case 23:break $a;case 22:break bb;case 21:break cb;case 20:break eb;case 19:break fb;case 18:break hb;case 17:break ib;case 16:break kb;case 15:break lb;case 14:break nb;case 13:break ob;case 12:break rb;case 11:break wb;case 10:break yb;case 9:break zb;case 8:break Ab;case 7:break Hb;case 6:break Ib;case 5:break Kb;case 4:break Lb;case 3:break Mb;case 2:break Qb;default:break Ra}}h=r[l|0];l=l+1|0}k=(h&255)<>>0>=3){break Nb}}if(l>>>0>>0){break Qa}h=1;continue}h=k&7;q[a+20>>2]=h;N=1;h=h>>>1|0;q[a+24>>2]=h;j=j-3|0;k=k>>>3|0;K=0;switch(h|0){case 0:break Pa;case 3:break k;case 1:break pb;default:break La}}B=j&-8;k=k>>>(j&7)|0;m=0;break Gb}i=0;if(!(g&2)){break Jb}i=1;n=6;break h}i=r[l|0];l=l+1|0}h=B;B=h+8|0;k=(i&255)<>>0>4294967287){break Fb}break Eb}if(g&2){i=1;n=7;F=1;break e}o[(a+m|0)+10528|0]=0;B=j;break Cb}m=m+1|0}if(m>>>0>3){break Bb}if(!B){break Db}if(B>>>0>7){break Eb}}if(l>>>0>>0){break Oa}h=4;continue}o[(a+m|0)+10528|0]=k;k=k>>>8|0;B=B-8|0;break Cb}j=0;if(l>>>0>=C>>>0){h=6;continue}o[(a+m|0)+10528|0]=r[l|0];l=l+1|0;B=0}h=7;continue}j=B;m=s[a+10528>>1];if((m|0)==(s[a+10530>>1]^65535)){break vb}break i}if(y>>>0>>0){break Ma}F=2;i=1;n=9;break e}i=0;if(!(g&2)){break xb}i=1;n=51;break h}i=r[l|0];l=l+1|0}h=B;B=h+8|0;k=(i&255)<>>0>4294967287){break ub}break tb}if(y>>>0>=L>>>0){break sb}o[y|0]=D;m=m-1|0;y=y+1|0;B=j}if(!(B?m:0)){j=B;break qb}if(B>>>0>7){break tb}}if(l>>>0>>0){break Na}h=9;continue}j=B-8|0;D=k&255;k=k>>>8|0;h=11;continue}F=2;i=1;n=52;break e}if(l>>>0>=C>>>0){if(!(g&2)){break j}i=1;n=38;F=1;break e}h=L-y|0;i=C-l|0;h=h>>>0>>0?h:i;h=h>>>0>>0?h:m;m=m-h|0;y=si(y,l,h)+h|0;l=h+l|0}h=0;if(!m){break xa}h=8;continue}q[a+44>>2]=288;q[a+48>>2]=32;h=a+3552|0;q[h>>2]=84215045;q[h+4>>2]=84215045;h=a+3560|0;q[h>>2]=84215045;q[h+4>>2]=84215045;h=a+3568|0;q[h>>2]=84215045;q[h+4>>2]=84215045;h=a+3576|0;q[h>>2]=84215045;q[h+4>>2]=84215045;qi(a- -64|0,8,144);qi(a+208|0,9,112);o[a+336|0]=7;o[a+337|0]=7;o[a+338|0]=7;o[a+339|0]=7;o[a+340|0]=7;o[a+341|0]=7;o[a+342|0]=7;o[a+343|0]=7;o[a+328|0]=7;o[a+329|0]=7;o[a+330|0]=7;o[a+331|0]=7;o[a+332|0]=7;o[a+333|0]=7;o[a+334|0]=7;o[a+335|0]=7;o[a+320|0]=7;o[a+321|0]=7;o[a+322|0]=7;o[a+323|0]=7;o[a+324|0]=7;o[a+325|0]=7;o[a+326|0]=7;o[a+327|0]=7;o[a+344|0]=8;o[a+345|0]=8;o[a+346|0]=8;o[a+347|0]=8;o[a+348|0]=8;o[a+349|0]=8;o[a+350|0]=8;o[a+351|0]=8;break Ba}h=0;if(!(g&2)){break mb}i=1;n=11;m=K;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0>>0){break sa}h=1;break Da}h=0;if(!(g&2)){break jb}i=1;n=14;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0<3){break ta}h=1;break Ca}h=0;if(!(g&2)){break gb}i=1;n=16;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0<15){break Ka}break Ja}i=l;h=0;if(!(g&2)){break db}i=1;n=18;break g}i=l+1|0;h=r[l|0]}l=i;k=(h&255)<>>0>j>>>0){break ua}T=D-16|0;h=3;break Aa}h=0;if(!(g&2)){break ab}i=1;n=23;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0<15){break Ia}break Ha}if(y>>>0>=L>>>0){F=2;i=1;n=24;break e}o[y|0]=m;y=y+1|0;break za}h=0;if(!(g&2)){break Ya}i=1;n=25;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0>j>>>0){break va}h=3;break ya}h=0;if(!(g&2)){break Va}i=1;n=26;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0<15){break Ga}break Fa}h=0;if(!(g&2)){break Sa}i=1;n=27;break g}h=r[l|0];l=l+1|0}k=(h&255)<>>0>j>>>0){break wa}h=6;break ya}if(y>>>0>=L>>>0){F=2;i=1;n=53;break e}o[y|0]=r[(M-D&P)+d|0];y=y+1|0;M=M+1|0;break Ea}h=2;continue}h=3;continue}h=5;continue}h=10;continue}h=12;continue}h=0;break Da}h=1;break Aa}h=2;break Aa}h=0;break ya}h=1;break ya}h=4;break ya}h=5;break ya}h=7;break ya}while(1){Rb:{Sb:{Tb:{if(!h){if(K>>>0>2){break Tb}O=o[K+196556|0];if(O>>>0<=j>>>0){break Rb}break sa}h=K<<2;q[(h+a|0)+44>>2]=q[h+196544>>2]+((-1<>>O|0;break Sb}m=0;qi(a+7040|0,0,288);h=0;break Ca}h=0;continue}h=1;continue}}while(1){Ub:{Vb:{Wb:{if(!h){if(t[a+52>>2]<=m>>>0){break Wb}if(j>>>0>2){break Ub}break ta}o[(r[m+198320|0]+a|0)+7040|0]=k&7;m=m+1|0;j=j-3|0;k=k>>>3|0;break Vb}q[a+52>>2]=19;N=q[a+24>>2];break Ba}h=0;continue}h=1;continue}}h=0}while(1){Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{switch(h|0){case 0:h=0;if((N|0)<0){break za}q[u+56>>2]=0;q[u+60>>2]=0;q[u+48>>2]=0;q[u+52>>2]=0;q[u+40>>2]=0;q[u+44>>2]=0;q[u+32>>2]=0;q[u+36>>2]=0;q[u+24>>2]=0;q[u+28>>2]=0;q[u+16>>2]=0;q[u+20>>2]=0;q[u+8>>2]=0;q[u+12>>2]=0;q[u>>2]=0;q[u+4>>2]=0;i=w(N,3488)+a|0;qi(i+352|0,0,3200);_=q[a+24>>2];Q=q[((_<<2)+a|0)+44>>2];gc:{if(!Q){n=0;H=0;E=0;x=0;I=0;J=0;U=0;V=0;W=0;X=0;Y=0;Z=0;i=0;break gc}while(1){n=(r[(h+i|0)- -64|0]<<2)+u|0;q[n>>2]=q[n>>2]+1;h=h+1|0;if((Q|0)!=(h|0)){continue}break}h=q[u+56>>2];n=q[u+48>>2];H=q[u+44>>2];E=q[u+40>>2];x=q[u+36>>2];I=q[u+28>>2];J=q[u+24>>2];U=q[u+20>>2];V=q[u+16>>2];W=q[u+12>>2];X=q[u+8>>2];Y=q[u+4>>2];Z=q[u+52>>2];i=q[u+32>>2]}q[u+64>>2]=0;q[u+68>>2]=0;v=Y<<1;q[u+72>>2]=v;v=v+X<<1;q[u+76>>2]=v;v=v+W<<1;q[u+80>>2]=v;v=v+V<<1;q[u+84>>2]=v;v=v+U<<1;q[u+88>>2]=v;v=v+J<<1;q[u+92>>2]=v;v=v+I<<1;q[u+96>>2]=v;v=i+v<<1;q[u+100>>2]=v;v=x+v<<1;q[u+104>>2]=v;v=v+E<<1;q[u+108>>2]=v;v=v+H<<1;q[u+112>>2]=v;v=n+v<<1;q[u+116>>2]=v;v=v+Z<<1;q[u+120>>2]=v;v=h+v<<1;q[u+124>>2]=v;R=v;v=q[u+60>>2];R=R+v<<1;q[u+128>>2]=R;if((R|0)!=65536?v+((Z+(((((((((((X+Y|0)+W|0)+V|0)+U|0)+J|0)+I|0)+i|0)+x|0)+E|0)+H|0)+n|0)|0)+h|0)>>>0>=2:0){break r}if(Q){x=-1;I=0;J=w(N,3488)+a|0;while(1){E=r[(I+J|0)- -64|0];hc:{if(!E){break hc}i=(u- -64|0)+(E<<2)|0;h=q[i>>2];q[i>>2]=h+1;i=0;n=E;while(1){H=i;i=h&1|i<<1;h=h>>>1|0;n=n-1|0;if(n){continue}break}if(E>>>0<=10){if(i>>>0>1023){break hc}h=E<<9|I;n=1<>1]=h;i=i+n|0;if(i>>>0<1024){continue}break}break hc}i=J+((i&1023)<<1)|0;h=p[i+352>>1];ic:{if(h){i=x;x=h;break ic}p[i+352>>1]=x;i=x-2|0}h=H>>>8&8388607;if(E>>>0>=12){while(1){h=h>>>1|0;n=(J+((h&1)+(x^-1)<<1)|0)+2400|0;x=p[n>>1];if(!x){p[n>>1]=i;x=i;i=i-2|0}E=E-1|0;if(E>>>0>11){continue}break}}p[(J+((h>>>1&1)+(x^-1)<<1)|0)+2400>>1]=I;x=i}I=I+1|0;if((Q|0)!=(I|0)){continue}break}}h=0;if((_|0)!=2){break _b}break cc;case 1:h=p[(((k&1023)<<1)+a|0)+7328>>1];jc:{if((h|0)>=0){if((h>>9)-1>>>0>=j>>>0){break jc}break bc}if(j>>>0<11){break jc}i=10;while(1){h=p[(((k>>>i&1)+(h^-1)<<1)+a|0)+9376>>1];if((h|0)<=-1){n=i+2|0;i=i+1|0;if(j>>>0>=n>>>0){continue}}break}if((h|0)>-1){break bc}}if(l>>>0>>0){break Zb}h=17;continue ra;case 2:i=p[(((k&1023)<<1)+a|0)+7328>>1];if((i|0)>=0){break ec}h=10;while(1){n=k>>>h|0;h=h+1|0;i=p[(((n&1)+(i^-1)<<1)+a|0)+9376>>1];if((i|0)<0){continue}break}break dc;default:break fc}}h=o[T+196564|0]+((-1<>>A|0;i=a+m|0;qi(i+10532|0,(D|0)==16?r[i+10531|0]:0,h);h=h+m|0;break cc}h=i>>9;i=i&511}j=j-h|0;k=k>>>h|0;D=i;if(i>>>0>15){break ac}o[(a+m|0)+10532|0]=D;h=m+1|0}i=q[a+48>>2];m=q[a+44>>2];n=i+m|0;if(n>>>0<=h>>>0){break $b}if(j>>>0<=14){if((C-l|0)<=1){m=h;h=1;continue}k=r[l|0]<>>0<=j>>>0){break Xb}break ua}if((h|0)!=(n|0)){m=h;break m}n=a+10532|0;si(a- -64|0,n,m);si(a+3552|0,m+n|0,i);m=h}N=q[a+24>>2]-1|0;q[a+24>>2]=N;break Yb}h=18;continue ra}h=0;continue}h=3;continue}}z=k;h=2}kc:while(1){lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{switch(h|0){case 0:h=p[(((k&1023)<<1)+a|0)+352>>1];Bc:{if((h|0)>=0){if((h>>9)-1>>>0>=j>>>0){break Bc}break lc}if(j>>>0<11){break Bc}i=10;while(1){h=p[(((k>>>i&1)+(h^-1)<<1)+a|0)+2400>>1];if((h|0)<=-1){n=i+2|0;i=i+1|0;if(j>>>0>=n>>>0){continue}}break}if((h|0)>-1){break lc}}if(l>>>0>>0){break zc}h=21;continue ra;case 1:i=p[(((k&1023)<<1)+a|0)+352>>1];if((i|0)>=0){break yc}h=10;while(1){m=k>>>h|0;h=h+1|0;i=p[(((m&1)+(i^-1)<<1)+a|0)+2400>>1];if((i|0)<0){continue}break}m=i;break xc;case 3:break oc;case 4:break pc;case 5:break tc;case 6:break uc;case 2:break Ac;default:break vc}}while(1){h=C-l|0;if(!((L-y|0)>1?(h|0)>=4:0)){if(j>>>0>14){k=z;break lc}if((h|0)<=1){k=z;h=0;continue kc}k=r[l|0]<>>0>14)){z=(r[l|0]|r[l+1|0]<<8)<>1];Cc:{if((m|0)<0){h=10;while(1){k=z>>>h|0;h=h+1|0;m=p[(((k&1)+(m^-1)<<1)+a|0)+2400>>1];if((m|0)<0){continue}break}break Cc}h=m>>9}j=j-h|0;k=z>>>h|0;if(m&256){l=n;break wc}Dc:{if(j>>>0>14){H=j;l=n;break Dc}H=j+16|0;k=(r[n|0]|r[n+1|0]<<8)<>1];Ec:{if((i|0)<0){h=10;while(1){j=k>>>h|0;h=h+1|0;i=p[(((j&1)+(i^-1)<<1)+a|0)+2400>>1];if((i|0)<0){continue}break}break Ec}h=i>>9}o[y|0]=m;j=H-h|0;z=k>>>h|0;if(!(i&256)){o[y+1|0]=i;y=y+2|0;continue}break}y=y+1|0;k=z;m=i;break wc}h=22;continue ra}h=i>>9;m=i&511}j=j-h|0;k=k>>>h|0;if(m>>>0>255){break wc}h=23;continue ra}h=256;i=m&511;if((i|0)==256){break xa}n=(i<<2)-1028|0;m=q[n+196032>>2];A=0;h=k;if(i-265>>>0>19){break nc}A=q[n+196160>>2];if(A>>>0>j>>>0){break va}h=3;continue}if(!m){z=k;m=-1;break rc}m=m-1|0;h=30;continue ra}j=j-A|0;z=k>>>A|0;D=((-1<>1];Fc:{if((i|0)<0){h=10;while(1){n=k>>>h|0;h=h+1|0;i=p[(((n&1)+(i^-1)<<1)+a|0)+5888>>1];if((i|0)<0){continue}break}break Fc}h=i>>9;i=i&511}n=i<<2;D=q[n+196288>>2];j=j-h|0;k=k>>>h|0;A=0;if(i-4>>>0>25){z=k;break sc}A=q[n+196416>>2];if(A>>>0<=j>>>0){break qc}break wa}M=y-d|0;if(!(!S|M>>>0>=D>>>0)){k=z;break n}i=(M-D&P)+d|0;if((i>>>0>>0?y:i)+m>>>0>L>>>0){k=z;h=7;continue}while(1){n=i;h=y;o[h|0]=r[i|0];o[h+1|0]=r[i+1|0];o[h+2|0]=r[i+2|0];i=i+3|0;y=h+3|0;x=m;m=m-3|0;if((m|0)>2){continue}break}if((m|0)<1){break rc}o[y|0]=r[i|0];if((m|0)!=1){o[h+4|0]=r[n+4|0]}y=h+x|0}h=2;continue}h=6;continue}h=p[(((k&1023)<<1)+a|0)+3840>>1];Gc:{if((h|0)>=0){if((h>>9)-1>>>0>=j>>>0){break Gc}break mc}if(j>>>0<11){break Gc}i=10;while(1){h=p[(((k>>>i&1)+(h^-1)<<1)+a|0)+5888>>1];if((h|0)<=-1){n=i+2|0;i=i+1|0;if(j>>>0>=n>>>0){continue}}break}if((h|0)>-1){break mc}}if(l>>>0>=C>>>0){h=26;continue ra}h=27;continue ra}j=j-A|0;m=((-1<>>A|0}k=h;if(j>>>0>14){break mc}if((C-l|0)<=1){h=4;continue}k=k|r[l|0]<>>0>=C>>>0){h=28;continue}h=29;continue}if(l>>>0>=C>>>0){h=24;continue}h=25;continue}if(l>>>0>=C>>>0){h=19;continue}h=20;continue}if(l>>>0>=C>>>0){h=15;continue}h=16;continue}h=l>>>0>=C>>>0?13:14;continue}}n=35;i=0;break e}h=j&-8;k=k>>>(j&7)|0;m=0;i=0}while(1){Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{switch(i|0){case 0:if(m>>>0>3){j=h;break o}if(!h){break Nc}if(h>>>0>7){break Oc}break Pc;case 1:G=0;if(!(g&2)){break Qc}i=1;n=41;j=h;F=1;break e;case 3:break Mc;case 2:break Rc;default:break Jc}}G=r[l|0];l=l+1|0}d=h;h=h+8|0;k=(G&255)<>>0<=4294967287){break Oc}}if(l>>>0>>0){break Ic}i=1;continue}G=k&255;k=k>>>8|0;h=h-8|0;break Kc}j=0;if(l>>>0>>0){break Lc}i=3;continue}G=0;h=j;if(!(g&2)){break Kc}i=1;n=42;F=1;break e}G=r[l|0];l=l+1|0;h=0}i=4;continue}q[a+16>>2]=q[a+16>>2]<<8|G;m=m+1|0;i=0;continue}i=2;continue}}F=0;i=1;n=34;G=1;break e}n=37;i=0;break e}n=21;i=0;break e}n=17;i=0;break e}n=10;i=0;break e}n=40;i=0;break e}n=39;i=0;break e}j=B}F=1;break e}m=1;n=36}H=G;q[a>>2]=n;G=i}q[a+56>>2]=k;q[a+4>>2]=j;q[a+60>>2]=M;q[a+40>>2]=A;q[a+36>>2]=m;q[a+32>>2]=D;q[c>>2]=l-b;j=y-e|0;q[f>>2]=j;if(!(g&9)|!G){break b}b=q[a+28>>2];m=b>>>16|0;i=b&65535;if(j){z=(j>>>0)%5552|0;while(1){h=0;if(z>>>0>7){while(1){b=r[e|0]+i|0;c=b+r[e+1|0]|0;d=c+r[e+2|0]|0;f=d+r[e+3|0]|0;k=f+r[e+4|0]|0;B=k+r[e+5|0]|0;l=B+r[e+6|0]|0;i=l+r[e+7|0]|0;m=i+(l+(B+(k+(f+(d+(c+(b+m|0)|0)|0)|0)|0)|0)|0)|0;e=e+8|0;h=h+8|0;if((h|7)>>>0>>0){continue}break}h=z&8184}if(h>>>0>>0){b=z-h|0;k=e;while(1){i=r[k|0]+i|0;m=m+i|0;k=k+1|0;h=h+1|0;if((z|0)!=(h|0)){continue}break}e=b+e|0}j=j-z|0;m=(m>>>0)%65521|0;i=(i>>>0)%65521|0;z=5552;if(j){continue}break}}b=m<<16|i;q[a+28>>2]=b;if(!H){break b}F=0;if(g&1){break a}}fi=u+144|0;return F}fi=u+144|0;return q[a+16>>2]==(b|0)?0:-2}function zF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,y=x(0),z=x(0),A=x(0),B=0,C=x(0),D=0,E=0,F=0,H=0,I=0,K=0,L=0;h=fi-2e3|0;fi=h;k=e+2|0;m=e+f|0;I=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{d:{if((f|0)<=1){qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+44>>2]=f+2;q[h+40>>2]=b;q[h+36>>2]=m;q[h+32>>2]=k;q[h+48>>2]=h+1344;q[h+28>>2]=c;q[h+24>>2]=g;q[h+20>>2]=0;q[h+16>>2]=118538;cj(h+1488|0,512,118407,h+16|0);q[h>>2]=h+1488;a=ni(a,118551,h);break d}p=r[e|0]|r[e+1|0]<<8;q[h+1264>>2]=p;R1(b,h+1264|0);ij(a,0,0);if(p){K=g+1|0;while(1){l=k+2|0;if(m>>>0>>0){j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];q[h+104>>2]=q[b+136>>2];q[h+100>>2]=m;q[h+96>>2]=l;q[h+108>>2]=(m-k|0)+2;q[h+112>>2]=h+1344;q[h+92>>2]=c;q[h+88>>2]=g;q[h+84>>2]=p;q[h+80>>2]=118559;cj(h+1488|0,512,118407,h+80|0);q[h+64>>2]=h+1488;a=ni(a,118551,h- -64|0);break d}L=o[k+1|0];e:{f:{g:{h:{i:{j:{k:{l:{s=o[k|0];i=s&255;switch(i-3|0){case 1:break j;case 0:break k;default:break l}}if((i|0)!=64){break e}}j=q[b+144>>2];q[b+144>>2]=j+1;o[b+j|0]=75;j=q[b+144>>2];if(j>>>0>t[b+140>>2]){q[b+140>>2]=j}j=j&127;q[b+144>>2]=j+1;o[b+j|0]=78;j=q[b+144>>2];if(j>>>0>t[b+140>>2]){q[b+140>>2]=j}q[b+144>>2]=j&127;switch(q[c+4>>2]){case 3:break h;case 0:break i;default:break g}}i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=75;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=83;i=q[b+140>>2];j=q[b+144>>2];if(i>>>0>>0){q[b+140>>2]=j;i=j}j=j&127;q[b+144>>2]=j;m:{if(t[c+4>>2]<2){B=Fi(l)+1|0;n=m-l|0;if((B|0)>(n|0)){k=0;qi(h+1344|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1344+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+132>>2];k=q[b+136>>2];q[h+1076>>2]=B;q[h+1080>>2]=n;q[h+1084>>2]=i;q[h+1088>>2]=k;q[h+1092>>2]=h+1344;q[h+1072>>2]=p;ni(a,119161,h+1072|0)}wi(a,l);break m}F=r[l|0]|r[l+1|0]<<8|(r[l+2|0]<<16|r[l+3|0]<<24);B=F+4|0;H=m-l|0;if((B|0)>(H|0)){n=0;qi(h+1344|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1344+((n^-1)+i)|0]=r[j+b|0];n=n+1|0;if((n|0)!=(i|0)){continue}break}}j=q[b+136>>2];i=h+1136|0;q[i>>2]=q[b+132>>2];q[i+4>>2]=j;q[h+1124>>2]=F;q[h+1128>>2]=B;q[h+1132>>2]=H;q[h+1144>>2]=h+1344;q[h+1120>>2]=p;cj(h+1488|0,512,119280,h+1120|0);q[h+1104>>2]=h+1488;ni(a,118551,h+1104|0)}Bi(a,k+6|0,F)}l=l+B|0;if(m>>>0>=l>>>0){break e}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+1052>>2]=m-l;q[h+1048>>2]=b;q[h+1044>>2]=m;q[h+1040>>2]=l;q[h+1056>>2]=h+1344;q[h+1036>>2]=c;q[h+1032>>2]=g;q[h+1028>>2]=p;q[h+1024>>2]=118574;cj(h+1488|0,512,118407,h+1024|0);q[h+1008>>2]=h+1488;a=ni(a,118551,h+1008|0);break d}if((s|0)!=3){q[h+1232>>2]=s;ni(a,119415,h+1232|0)}D=+((r[k+2|0]|r[k+3|0]<<8)>>>0);i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=D;q[a+8>>2]=q[a+8>>2]+16;l=k+4|0;break f}if(!((i|0)==3|(i|0)==64)){q[h+1248>>2]=s;ni(a,119415,h+1248|0)}D=+((r[k+2|0]|r[k+3|0]<<8|(r[k+4|0]<<16|r[k+5|0]<<24))>>>0);i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=(s|0)==64?-D:D;q[a+8>>2]=q[a+8>>2]+16;l=k+6|0;break f}if((s|0)!=3){q[h+1216>>2]=s;ni(a,119415,h+1216|0)}i=1;j=0;k=0;while(1){n:{n=r[l|0];k=(n&127)<>>0<5)&i;l=l+1|0;if(j>>>0>4){break n}j=j+1|0;if(n){continue}}break}if(i){i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=k>>>0;q[a+8>>2]=q[a+8>>2]+16;break f}ni(a,119435,0)}if(l>>>0<=m>>>0){break e}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+1196>>2]=m-l;q[h+1192>>2]=b;q[h+1188>>2]=m;q[h+1184>>2]=l;q[h+1200>>2]=h+1344;q[h+1180>>2]=c;q[h+1176>>2]=g;q[h+1172>>2]=p;q[h+1168>>2]=118585;cj(h+1488|0,512,118407,h+1168|0);q[h+1152>>2]=h+1488;a=ni(a,118551,h+1152|0);break d}o:{p:{switch(L-1|0){case 0:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=66;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=o[l|0];k=q[a+8>>2];q[k+8>>2]=1;q[k>>2]=(i|0)!=0;q[a+8>>2]=q[a+8>>2]+16;k=l+1|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+188>>2]=m-k;q[h+184>>2]=b;q[h+180>>2]=m;q[h+176>>2]=k;q[h+192>>2]=h+1344;q[h+172>>2]=c;q[h+168>>2]=g;q[h+164>>2]=p;q[h+160>>2]=118596;cj(h+1488|0,512,118407,h+160|0);q[h+144>>2]=h+1488;a=ni(a,118551,h+144|0);break d;case 2:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=78;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=l-d|0;i=((i+3&-4)-i|0)+l|0;if(i&3){break b}k=q[i+4>>2];vwa(0,q[i>>2]);vwa(1,k|0);D=+wwa();k=q[a+8>>2];q[k+8>>2]=3;v[k>>3]=D;q[a+8>>2]=q[a+8>>2]+16;k=i+8|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+316>>2]=m-k;q[h+312>>2]=b;q[h+308>>2]=m;q[h+304>>2]=k;q[h+320>>2]=h+1344;q[h+300>>2]=c;q[h+296>>2]=g;q[h+292>>2]=p;q[h+288>>2]=118650;cj(h+1488|0,512,118407,h+288|0);q[h+272>>2]=h+1488;a=ni(a,118551,h+272|0);break d;case 3:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=83;i=q[b+140>>2];k=q[b+144>>2];if(i>>>0>>0){q[b+140>>2]=k;i=k}j=k&127;q[b+144>>2]=j;q:{if(t[c+4>>2]<2){n=Fi(l)+1|0;s=m-l|0;if((n|0)>(s|0)){k=0;qi(h+1344|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1344+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+132>>2];k=q[b+136>>2];q[h+404>>2]=n;q[h+408>>2]=s;q[h+412>>2]=i;q[h+416>>2]=k;q[h+420>>2]=h+1344;q[h+400>>2]=p;ni(a,119161,h+400|0)}wi(a,l);break q}s=r[l|0]|r[l+1|0]<<8|(r[l+2|0]<<16|r[l+3|0]<<24);n=s+4|0;B=m-l|0;if((n|0)>(B|0)){k=0;qi(h+1344|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1344+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+136>>2];q[h+464>>2]=q[b+132>>2];q[h+468>>2]=i;q[h+452>>2]=s;q[h+456>>2]=n;q[h+460>>2]=B;q[h+472>>2]=h+1344;q[h+448>>2]=p;cj(h+1488|0,512,119280,h+448|0);q[h+432>>2]=h+1488;ni(a,118551,h+432|0)}Bi(a,l+4|0,s)}k=l+n|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+380>>2]=m-k;q[h+376>>2]=b;q[h+372>>2]=m;q[h+368>>2]=k;q[h+384>>2]=h+1344;q[h+364>>2]=c;q[h+360>>2]=g;q[h+356>>2]=p;q[h+352>>2]=118663;cj(h+1488|0,512,118407,h+352|0);q[h+336>>2]=h+1488;a=ni(a,118551,h+336|0);break d;case 6:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=85;k=q[b+140>>2];i=q[b+144>>2];if(k>>>0>>0){q[b+140>>2]=i;k=i}i=i&127;q[b+144>>2]=i;n=l+1|0;j=n-d|0;j=((j+3&-4)-j|0)+n|0;if(j&3){break c}if(j>>>0>m>>>0){l=0;qi(h+1344|0,0,129);if(k){while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1344+((l^-1)+k)|0]=r[i+b|0];l=l+1|0;if((k|0)!=(l|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+524>>2]=m-j;q[h+520>>2]=b;q[h+516>>2]=m;q[h+512>>2]=j;q[h+528>>2]=h+1344;q[h+508>>2]=c;q[h+504>>2]=g;q[h+500>>2]=p;q[h+496>>2]=118676;cj(h+1488|0,512,118407,h+496|0);q[h+480>>2]=h+1488;a=ni(a,118551,h+480|0);break d}r:{switch(r[l|0]){case 0:q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=51;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];u[h+1496>>2]=u[j+8>>2];q[h+1488>>2]=i;q[h+1492>>2]=k;hl(a,h+1488|0);k=j+12|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+604>>2]=m-k;q[h+600>>2]=b;q[h+596>>2]=m;q[h+592>>2]=k;q[h+608>>2]=h+1344;q[h+588>>2]=c;q[h+584>>2]=g;q[h+580>>2]=p;q[h+576>>2]=118697;cj(h+1488|0,512,118407,h+576|0);q[h+560>>2]=h+1488;a=ni(a,118551,h+560|0);break d;case 1:q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];l=q[j+12>>2];q[h+1496>>2]=q[j+8>>2];q[h+1500>>2]=l;q[h+1488>>2]=i;q[h+1492>>2]=k;mo(a,h+1488|0);k=j+16|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+668>>2]=m-k;q[h+664>>2]=b;q[h+660>>2]=m;q[h+656>>2]=k;q[h+672>>2]=h+1344;q[h+652>>2]=c;q[h+648>>2]=g;q[h+644>>2]=p;q[h+640>>2]=118708;cj(h+1488|0,512,118407,h+640|0);q[h+624>>2]=h+1488;a=ni(a,118551,h+624|0);break d;case 2:q[b+144>>2]=i+1;o[b+i|0]=81;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];l=q[j+12>>2];q[h+1496>>2]=q[j+8>>2];q[h+1500>>2]=l;q[h+1488>>2]=i;q[h+1492>>2]=k;Aq(a,h+1488|0);k=j+16|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+732>>2]=m-k;q[h+728>>2]=b;q[h+724>>2]=m;q[h+720>>2]=k;q[h+736>>2]=h+1344;q[h+716>>2]=c;q[h+712>>2]=g;q[h+708>>2]=p;q[h+704>>2]=118719;cj(h+1488|0,512,118407,h+704|0);q[h+688>>2]=h+1488;a=ni(a,118551,h+688|0);break d;case 3:q[b+144>>2]=i+1;o[b+i|0]=77;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;y=u[j>>2];u[h+1280>>2]=y;z=u[j+4>>2];u[h+1280>>2]=y;u[h+1284>>2]=z;A=u[j+8>>2];u[h+1280>>2]=y;u[h+1284>>2]=z;u[h+1288>>2]=A;C=u[j+12>>2];u[h+1284>>2]=z;u[h+1280>>2]=y;u[h+1288>>2]=A;u[h+1292>>2]=C;y=u[j+16>>2];u[h+1296>>2]=y;z=u[j+20>>2];u[h+1296>>2]=y;u[h+1300>>2]=z;A=u[j+24>>2];u[h+1296>>2]=y;u[h+1300>>2]=z;u[h+1304>>2]=A;C=u[j+28>>2];u[h+1300>>2]=z;u[h+1296>>2]=y;u[h+1304>>2]=A;u[h+1308>>2]=C;y=u[j+32>>2];u[h+1312>>2]=y;z=u[j+36>>2];u[h+1312>>2]=y;u[h+1316>>2]=z;A=u[j+40>>2];u[h+1312>>2]=y;u[h+1316>>2]=z;u[h+1320>>2]=A;C=u[j+44>>2];u[h+1316>>2]=z;u[h+1312>>2]=y;u[h+1320>>2]=A;u[h+1324>>2]=C;y=u[j+48>>2];u[h+1328>>2]=y;z=u[j+52>>2];u[h+1328>>2]=y;u[h+1332>>2]=z;A=u[j+56>>2];u[h+1328>>2]=y;u[h+1332>>2]=z;u[h+1336>>2]=A;C=u[j+60>>2];u[h+1332>>2]=z;u[h+1328>>2]=y;u[h+1336>>2]=A;u[h+1340>>2]=C;cy(a,h+1280|0);k=j- -64|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+796>>2]=m-k;q[h+792>>2]=b;q[h+788>>2]=m;q[h+784>>2]=k;q[h+800>>2]=h+1344;q[h+780>>2]=c;q[h+776>>2]=g;q[h+772>>2]=p;q[h+768>>2]=118730;cj(h+1488|0,512,118407,h+768|0);q[h+752>>2]=h+1488;a=ni(a,118551,h+752|0);break d;case 4:q[b+144>>2]=i+1;o[b+i|0]=72;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;Yj(a,r[j|0]|r[j+1|0]<<8|(r[j+2|0]<<16|r[j+3|0]<<24),r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24));k=j+8|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+860>>2]=m-k;q[h+856>>2]=b;q[h+852>>2]=m;q[h+848>>2]=k;q[h+864>>2]=h+1344;q[h+844>>2]=c;q[h+840>>2]=g;q[h+836>>2]=p;q[h+832>>2]=118741;cj(h+1488|0,512,118407,h+832|0);q[h+816>>2]=h+1488;a=ni(a,118551,h+816|0);break d;case 5:q[b+144>>2]=i+1;o[b+i|0]=85;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=82;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=76;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=h+1304|0;q[i>>2]=0;q[i+4>>2]=0;l=h+1296|0;k=l;q[k>>2]=0;q[k+4>>2]=0;k=h+1288|0;q[k>>2]=0;q[k+4>>2]=0;q[h+1280>>2]=0;q[h+1284>>2]=0;s=r[j+12|0]|r[j+13|0]<<8|(r[j+14|0]<<16|r[j+15|0]<<24);q[k>>2]=r[j+8|0]|r[j+9|0]<<8|(r[j+10|0]<<16|r[j+11|0]<<24);q[k+4>>2]=s;k=r[j+20|0]|r[j+21|0]<<8|(r[j+22|0]<<16|r[j+23|0]<<24);q[l>>2]=r[j+16|0]|r[j+17|0]<<8|(r[j+18|0]<<16|r[j+19|0]<<24);q[l+4>>2]=k;k=r[j+28|0]|r[j+29|0]<<8|(r[j+30|0]<<16|r[j+31|0]<<24);q[i>>2]=r[j+24|0]|r[j+25|0]<<8|(r[j+26|0]<<16|r[j+27|0]<<24);q[i+4>>2]=k;i=r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24);q[h+1280>>2]=r[j|0]|r[j+1|0]<<8|(r[j+2|0]<<16|r[j+3|0]<<24);q[h+1284>>2]=i;Ml(a,h+1280|0);k=j+32|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+924>>2]=m-k;q[h+920>>2]=b;q[h+916>>2]=m;q[h+912>>2]=k;q[h+928>>2]=h+1344;q[h+908>>2]=c;q[h+904>>2]=g;q[h+900>>2]=p;q[h+896>>2]=118752;cj(h+1488|0,512,118407,h+896|0);q[h+880>>2]=h+1488;a=ni(a,118551,h+880|0);break d;default:break r}}b=(s|0)==-1?125997:q[(s<<2)+261152>>2];q[h+552>>2]=j;q[h+548>>2]=E;q[h+544>>2]=b;a=ni(a,118762,h+544|0);break d;case 4:k=zF(a,b,c,d,l,f,K)+l|0;if(m>>>0>=k>>>0){break o}j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+988>>2]=m-k;q[h+984>>2]=b;q[h+980>>2]=m;q[h+976>>2]=k;q[h+992>>2]=h+1344;q[h+972>>2]=c;q[h+968>>2]=g;q[h+964>>2]=p;q[h+960>>2]=118826;cj(h+1488|0,512,118407,h+960|0);q[h+944>>2]=h+1488;a=ni(a,118551,h+944|0);break d;default:break p}}b=(s|0)==-1?125997:q[(s<<2)+261152>>2];q[h+136>>2]=l;q[h+132>>2]=E;q[h+128>>2]=b;a=ni(a,118832,h+128|0);break d}Wi(a,-3);if(k>>>0>m>>>0){j=0;qi(h+1344|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1344+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+252>>2]=m-k;q[h+248>>2]=b;q[h+244>>2]=m;q[h+240>>2]=k;q[h+256>>2]=h+1344;q[h+236>>2]=c;q[h+232>>2]=g;q[h+228>>2]=p;q[h+224>>2]=118884;cj(h+1488|0,512,118407,h+224|0);q[h+208>>2]=h+1488;a=ni(a,118551,h+208|0);break d}E=E+1|0;if((E|0)!=(p|0)){continue}break}}if((I+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}a=q[b+144>>2];q[b+144>>2]=a+1;o[a+b|0]=125;a=q[b+144>>2];if(a>>>0>t[b+140>>2]){q[b+140>>2]=a}q[b+144>>2]=a&127;a=k-e|0}fi=h+2e3|0;return a}J(118607,118319,786,118638);G()}J(118607,118319,752,118638);G()}J(118893,118319,875,118638);G()}function hpa(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,s=0,v=0,w=0,y=0;d=fi-12160|0;fi=d;q[d+308>>2]=4212;q[d+304>>2]=4206;mi(2,1031,1038,d+304|0);q[239693]=a;q[239692]=1;q[d+9080>>2]=4212;q[d+9076>>2]=4206;q[d+9072>>2]=4273;o[d+9084|0]=r[270692];l$(d+9072|0);e=a;f=ko(1062);if(f){f=r[f|0]==49}else{f=0}o[e+431|0]=f;qi(d+7024|0,0,1024);o[d+7024|0]=46;e=d+6e3|0;o[e|0]=0;wG(q[c>>2],e);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((b|0)<2){break j}e=q[((b<<2)+c|0)-4>>2];if(r[e|0]==45){break j}kj(d+8048|0,e,1024);break i}q[d+288>>2]=1217;cj(d+11136|0,1024,4280,d+288|0);q[d+272>>2]=1217;cj(d+10112|0,1024,4296,d+272|0);q[d+4660>>2]=d+10112;q[d+4656>>2]=d+11136;lk(d+6e3|0,4326,d+9088|0);q[d+4664>>2]=d+9088;if(!_k(d+11136|0)){e=0;g=1;while(1){f=e;e=g;if((e|0)==3){break h}g=e+1|0;k=q[(d+4656|0)+(e<<2)>>2];if(!_k(k)){continue}break}kj(d+8048|0,k,1024);if(f>>>0<2){break i}break h}kj(d+8048|0,d+11136|0,1024)}k:{e=Dqa(d+8048|0,b,c,a+4|0);if(e){if(r[a+432|0]){break k}q[d+244>>2]=e;q[d+240>>2]=d+8048;mi(5,1031,1077,d+240|0);e=0;break c}wG(d+8048|0,d+7024|0);kj(d+11136|0,d+7024|0,1024);kj(d+10112|0,d+7024|0,1024);wk(d+10112|0,r[d+7024|0]?1116:1132,1024);if(_k(d+10112|0)){kj(d+11136|0,1147,1024);wk(d+11136|0,d+10112|0,1024)}lk(d+6e3|0,1178,d+10112|0);lk(d+7024|0,wm(q[a+4>>2],1192,1217),d+9088|0);if(_k(d+10112|0)){break g}break f}q[d+260>>2]=e;q[d+256>>2]=d+8048;mi(4,1031,1077,d+256|0)}e=0;mi(5,1031,1155,0);break c}if(ds(d+10112|0,d+4656|0)){break f}e=q[d+4656>>2];g=xi(e);q[d+3632>>2]=0;e=es(d+10112|0,g,e,d+3632|0);if(e){q[d+228>>2]=e;q[d+224>>2]=d+10112;mi(4,1031,4340,d+224|0);ki(g);break f}f=q[d+3632>>2];e=q[d+4656>>2];if((f|0)!=(e|0)){q[d+212>>2]=f;q[d+208>>2]=e;mi(4,1031,4379,d+208|0);ki(g);break f}e=GF(g,f);ki(g);if(!e){break e}}if(!_k(d+9088|0)){break d}if(ds(d+9088|0,d+4656|0)){break d}e=q[d+4656>>2];g=xi(e);q[d+3632>>2]=0;e=es(d+9088|0,g,e,d+3632|0);if(e){q[d+196>>2]=e;q[d+192>>2]=d+9088;mi(4,1031,4340,d+192|0);ki(g);break d}f=q[d+3632>>2];e=q[d+4656>>2];if((f|0)!=(e|0)){q[d+180>>2]=f;q[d+176>>2]=e;mi(4,1031,4379,d+176|0);ki(g);break d}e=GF(g,f);ki(g);if(e){break d}}mi(2,1031,1218,0)}if((Hj(q[a+4>>2],1243,1)|0)==1){cb(1269,1697,0)|0}k=r[270692];g=Hj(q[a+4>>2],1698,1);o[d+5992|0]=r[1768];e=q[441];f=d+5984|0;q[f>>2]=q[440];q[f+4>>2]=e;e=q[439];q[d+5976>>2]=q[438];q[d+5980>>2]=e;e=q[437];q[d+5968>>2]=q[436];q[d+5972>>2]=e;m=k&(g|0)!=0;l:{if((b|0)<=0){break l}e=0;while(1){f=q[(e<<2)+c>>2];m:{if(!uk(d+5968|0,f,24)){g=Nj(f,61);f=g+1|0;if(!uk(1829,f,4)){m=1;break m}if(!uk(1834,f,5)){m=0;break m}q[d+164>>2]=g;q[d+160>>2]=d+5968;mi(3,1031,1840,d+160|0);break m}if(!uk(1769,f,11)){l=1;break m}if(!uk(1792,f,23)){h=1;break m}if(uk(1816,f,9)){if(uk(1826,f,2)){break m}}q[70342]=0}e=e+1|0;if((e|0)!=(b|0)){continue}break}}Iqa();e=d+5960|0;q[e>>2]=0;q[e+4>>2]=0;q[e+4>>2]=2;b=d;if(Hj(q[a+4>>2],1869,1)){Ob();c=0}else{c=16}o[b+5960|0]=c|r[d+5960|0]&239;qi(d+5696|0,0,264);fs(d+5696|0);b=q[d+5956>>2];if(b){b=oO(b);o[d+5960|0]=r[d+5960|0]&223|((b|0)!=0)<<5}q[a+404>>2]=e8(e);b=d+5692|0;q[b>>2]=0;q[d+5684>>2]=0;q[d+5688>>2]=0;q[d+5680>>2]=q[a+4>>2];q[d+5684>>2]=0;q[d+5688>>2]=q[a+152>>2];q[b>>2]=q[a+404>>2];b=Poa(d+5680|0);n:{if(b){q[d+144>>2]=b;mi(5,1031,1901,d+144|0);e=0;break n}b=0;o:{if(!Hj(q[a+4>>2],1938,0)){break o}c=wm(q[a+4>>2],1964,0);if(c){lk(c,1956,d+4656|0);q[d+440>>2]=d+4656;b=1}if(!(kj(d+3632|0,183912,1024)>>>0<1024?0:-21)){lk(d+3632|0,1956,d+2608|0);q[(d+440|0)+(b<<2)>>2]=d+2608;b=b+1|0}p:{if(!UE(wm(q[a+4>>2],1980,2007),d+1584|0)){lk(d+1584|0,1956,d+560|0);q[(d+440|0)+(b<<2)>>2]=d+560;b=b+1|0;break p}if(!b){break o}}e=0;while(1){c=C6(q[(d+440|0)+(e<<2)>>2]);e=e+1|0;if(e>>>0>=b>>>0){break o}if(!c){continue}break}}k=wm(q[a+4>>2],2018,0);q:{if(o[289480]&1){break q}if(!ui(289480)){break q}if(r[852367]){b=Ri(2042)}else{b=-1}q[72369]=b;ti(289480)}r:{if(o[289488]&1){break r}if(!ui(289488)){break r}if(r[852367]){b=Yi(2049,4)}else{b=0}q[72371]=b;ti(289488)}b=q[72369];s:{if((b|0)!=-1){Qi(d+544|0,b,2049,q[72371]);break s}q[d+544>>2]=0}f=d+528|0;q[f+8>>2]=0;q[f>>2]=5;q[f+4>>2]=2;o[f+12|0]=r[f+12|0]&248;q[f>>2]=Ej(wm(q[a+4>>2],2054,1024),1024)?3:5;q[f+4>>2]=Ej(wm(q[a+4>>2],2090,1024),1024)?1:2;e=r[f+12|0]&-2|m;o[f+12|0]=e;b=f;t:{if(!l){c=Hj(q[a+4>>2],2126,0);e=r[f+12|0];g=0;if(!c){break t}}g=2}e=g|e&-3;o[b+12|0]=e;b=f;u:{if(!h){c=Hj(q[a+4>>2],2149,0);e=r[f+12|0];g=0;if(!c){break u}}g=4}o[b+12|0]=g|e&251;e=0;q[f+8>>2]=Hj(q[a+4>>2],2179,0)<<20;b=ji[q[74874]](f)|0;q[a+216>>2]=b;v:{if(!b){mi(5,1031,2200,0);break v}q[a+468>>2]=Hj(q[a+4>>2],2239,960);q[a+472>>2]=Hj(q[a+4>>2],2253,640);i=+Gm(q[a+4>>2],2268,x(0))*255;w:{if(i<4294967296&i>=0){b=~~i>>>0;break w}b=0}c=b&255;i=+Gm(q[a+4>>2],2291,x(0))*255;x:{if(i<4294967296&i>=0){b=~~i>>>0;break x}b=0}c=c|b<<8&65280;b=a;i=+Gm(q[a+4>>2],2316,x(0))*255;y:{if(i<4294967296&i>=0){f=~~i>>>0;break y}f=0}f=f<<16&16711680|c;i=+Gm(q[a+4>>2],2340,x(0))*255;z:{if(i<4294967296&i>=0){c=~~i>>>0;break z}c=0}c=f|c<<24;q[b+476>>2]=c;f=aca(d+1584|0);q[f+28>>2]=a;q[f+24>>2]=3;q[f+20>>2]=a;q[f+16>>2]=4;q[f+12>>2]=a;q[f+8>>2]=5;q[f+4>>2]=a;q[f>>2]=6;q[f+32>>2]=q[a+468>>2];q[f+36>>2]=q[a+472>>2];q[f+40>>2]=Hj(q[a+4>>2],2365,0);q[f+44>>2]=wm(q[a+4>>2],2381,2395);o[f+48|0]=(Hj(q[a+4>>2],2405,0)|0)!=0;o[f+49|0]=(Hj(q[a+4>>2],2424,0)|0)!=0;b=Hj(q[a+4>>2],2452,0);q[f+52>>2]=c;o[f+50|0]=(b|0)!=0;b=ji[q[74879]](q[a+216>>2],f)|0;if(b){q[d+128>>2]=b;mi(5,1031,2469,d+128|0);break v}f=ji[q[74883]](q[a+216>>2])|0;e=ji[q[74886]](q[a+216>>2])|0;c=ji[q[74887]](q[a+216>>2])|0;u[a+480>>2]=x(1)/x(e>>>0);b=0;o[a+428|0]=0;u[a+484>>2]=x(1)/x(c>>>0);q[74610]=c;q[74609]=e;g=1;e=Hj(q[a+4>>2],2497,1);c=Hj(q[a+4>>2],2511,0);A:{if(!e){o[a+429|0]=!c;g=0;e=c;break A}o[a+429|0]=0;e=ji[q[74878]](q[a+216>>2])|0;if(!e){e=60;b=1;break A}if(!c){b=1;break A}b=1;j=x((e>>>0)/(c>>>0)>>>0);B:{if(j=x(0)){c=~~j>>>0;break B}c=0}g=c?c:1}q[a+488>>2]=b;q[a+464>>2]=e?e:1;if(!r[a+429|0]){c=(g|0)>0?g:0;e=q[a+488>>2];C:{if(!e){o[a+428|0]=1;break C}b=(g|0)<1;o[a+428|0]=b&(e|0)==1;if((e|0)!=1|b){break C}q[a+464>>2]=t[a+464>>2]/(g>>>0)}ji[q[74893]](q[a+216>>2],c)}b=Hj(q[a+4>>2],q[60020],1024);q[d+584>>2]=0;q[d+588>>2]=0;q[d+576>>2]=0;q[d+580>>2]=0;q[d+568>>2]=0;q[d+572>>2]=0;q[d+564>>2]=0;q[d+568>>2]=0;q[d+560>>2]=1024;q[d+572>>2]=0;q[d+576>>2]=0;q[d+580>>2]=0;q[d+584>>2]=0;q[d+588>>2]=0;q[d+564>>2]=0;q[d+560>>2]=b;q[72984]=0;D3();D:{if(!r[270692]){break D}q[d+564>>2]=1;if(!Hj(q[a+4>>2],2536,1)){break D}q[d+564>>2]=q[d+564>>2]|4}if(Hj(q[a+4>>2],2556,1)){q[d+564>>2]=q[d+564>>2]|8;S6()}q[d+572>>2]=q[54672];q[d+580>>2]=q[58441];q[d+588>>2]=q[58824];q[d+576>>2]=218704;q[d+568>>2]=217200;q[d+584>>2]=233776;b=wm(q[a+4>>2],2575,d+11136|0);q[d+112>>2]=b;mi(2,1031,2588,d+112|0);b=U3(d+560|0,b);q[a+280>>2]=b;if(!b){e=0;break v}l=a+384|0;q[79154]=0;g=Hj(q[a+4>>2],2610,0);b=hy(q[a+4>>2],q[a+280>>2]);E:{if(g){q[a+264>>2]=b;iu(b);b=q[a+264>>2];q[a+276>>2]=b;q[a+272>>2]=b;q[a+268>>2]=b;if(o[a+396|0]&1){break a}vi(1,4,l,a+392|0,a+388|0);e=q[a+388>>2];b=a+264|0;if((e|0)!=q[a+392>>2]){break E}break b}q[a+268>>2]=b;iu(b);b=hy(q[a+4>>2],q[a+280>>2]);q[a+272>>2]=b;iu(b);b=hy(q[a+4>>2],q[a+280>>2]);q[a+276>>2]=b;iu(b);if(o[a+396|0]&1){break a}vi(3,4,l,a+392|0,a+388|0);b=q[a+388>>2];if((b|0)==q[a+392>>2]){break b}q[a+388>>2]=b+4;q[b>>2]=q[a+268>>2];b=q[a+388>>2];if((b|0)==q[a+392>>2]){break b}q[a+388>>2]=b+4;q[b>>2]=q[a+272>>2];e=q[a+388>>2];if((e|0)==q[a+392>>2]){break b}b=a+276|0}b=q[b>>2];q[a+388>>2]=e+4;q[e>>2]=b;g8(q[a+404>>2]);N$(d+488|0);o[d+520|0]=0;q[d+488>>2]=2630;F:{if(!S$(q[a+4>>2],d+488|0)){q[d+96>>2]=q[d+488>>2];mi(2,1031,2638,d+96|0);break F}mi(3,1031,2668,0)}b=Fma(q[a+152>>2],Hj(q[a+4>>2],q[59080],1024));if(b){q[d+80>>2]=b;mi(5,1031,2703,d+80|0);e=0;break v}c=q[a+152>>2];b=Hj(q[a+4>>2],q[59081],16);if(!c){J(7136,7150,241,7241);G()}q[c+28084>>2]=b;c=d+440|0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=1024;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+16>>2]=16;b=Hj(q[a+4>>2],2757,1024);q[c+24>>2]=32;q[c+20>>2]=b;q[c+8>>2]=235312;b=q[58958];q[c+12>>2]=235840;q[c+28>>2]=b;q[c+32>>2]=q[59033];b=Hj(q[a+4>>2],2781,8192);q[c+40>>2]=1024;q[c+36>>2]=b;q[c>>2]=q[a+272>>2];q[c+44>>2]=Hj(q[a+4>>2],2805,1e4);q[a+220>>2]=k5(q[a+216>>2],c);Una(q[a+152>>2],q[a+268>>2]);q[a+240>>2]=q[a+280>>2];q[a+244>>2]=q[a+220>>2];q[a+248>>2]=Hj(q[a+4>>2],q[65898],64);q[a+256>>2]=Hj(q[a+4>>2],q[65899],64);e=0;b=Hj(q[a+4>>2],q[65900],1024);o[a+260|0]=0;q[a+252>>2]=b;q[d+424>>2]=q[a+404>>2];u[d+428>>2]=Gm(q[a+4>>2],2833,x(.5));u[d+432>>2]=Gm(q[a+4>>2],2852,x(.20000000298023224));q[a+408>>2]=n7(d+424|0);b=ws(2874,a+288|0);if(b){q[d+68>>2]=b;q[d+64>>2]=2874;mi(5,1031,2882,d- -64|0);break v}e=Hj(q[a+4>>2],2922,128);c=Hj(q[a+4>>2],2945,128);M8(d+384|0);b=q[a+276>>2];q[d+400>>2]=7;q[d+396>>2]=8;q[d+392>>2]=9;q[d+388>>2]=10;q[d+384>>2]=b;b=ji[q[74886]](q[a+216>>2])|0;q[d+408>>2]=ji[q[74887]](q[a+216>>2]);q[d+404>>2]=b;q[d+412>>2]=q[a+468>>2];b=q[a+472>>2];q[d+420>>2]=f;q[d+416>>2]=b;q[a+284>>2]=a9(d+384|0);h=P5(d+2608|0);q[h+16>>2]=Hj(q[a+4>>2],2961,4);f=wm(q[a+4>>2],2981,2994);u[h>>2]=Gm(q[a+4>>2],2997,x(0));u[h+4>>2]=Gm(q[a+4>>2],3015,x(-10));u[h+8>>2]=Gm(q[a+4>>2],3033,x(0));u[h+20>>2]=Gm(q[a+4>>2],3051,x(1));q[h+36>>2]=Hj(q[a+4>>2],3065,64);q[h+40>>2]=Hj(q[a+4>>2],3091,128);q[h+44>>2]=Hj(q[a+4>>2],3117,16);u[h+32>>2]=Gm(q[a+4>>2],3150,x(1));b=(c|0)>(e|0);j=u[h+20>>2];G:{if(j>x(1)^1?!(j>2]=0;q[d+60>>2]=1072693248;q[d+48>>2]=1073741824;q[d+52>>2]=1065646817;mi(3,1031,3177,d+48|0);j=u[h+20>>2];if(!(j>2]=1008981770;break G}if(j>x(1)^1){break G}q[h+20>>2]=1065353216}c=b?c:e;u[h+24>>2]=Gm(q[a+4>>2],3246,x(0));b=Hj(q[a+4>>2],3276,1);o[h+48|0]=r[h+48|0]&254|(b|0)!=0;H:{if(!Pn(f,3309)){o[a+237|0]=1;break H}if(!Pn(f,2994)){o[a+237|0]=0;break H}q[d+32>>2]=f;mi(3,1031,3312,d+32|0);o[a+237|0]=0}q[a+224>>2]=0;q[a+228>>2]=Hj(q[a+4>>2],q[60213],64);q[a+232>>2]=Hj(q[a+4>>2],q[60214],128);e=0;o[a+236|0]=(Hj(q[a+4>>2],3358,0)|0)!=0;q[a+296>>2]=q[a+220>>2];q[a+300>>2]=Hj(q[a+4>>2],3372,128);f=Hj(q[a+4>>2],3389,1);q[a+340>>2]=c;c=q[a+220>>2];q[a+332>>2]=c;b=q[a+280>>2];q[a+348>>2]=b;q[a+344>>2]=c;q[a+336>>2]=b;o[a+304|0]=r[a+304|0]&254|f&1;q[a+352>>2]=Hj(q[a+4>>2],3406,128);q[a+356>>2]=q[a+220>>2];q[a+360>>2]=Hj(q[a+4>>2],3421,64);b=Hj(q[a+4>>2],3437,1);q[a+368>>2]=q[a+220>>2];o[a+364|0]=r[a+364|0]&254|b&1;q[a+372>>2]=Hj(q[a+4>>2],3453,16);q[a+376>>2]=Hj(q[a+4>>2],3471,2048);q[a+380>>2]=Hj(q[a+4>>2],3494,32);q[a+308>>2]=q[a+280>>2];q[a+312>>2]=Hj(q[a+4>>2],q[60212],8);q[a+320>>2]=Hj(q[a+4>>2],q[60215],128);q[a+328>>2]=Hj(q[a+4>>2],q[60211],128);b=q[(g?264:268)+a>>2];q[a+324>>2]=b;q[a+316>>2]=b;q[d+368>>2]=0;q[d+372>>2]=0;q[d+376>>2]=0;q[d+380>>2]=0;q[d+360>>2]=0;q[d+364>>2]=0;q[d+372>>2]=-1;q[d+352>>2]=0;q[d+356>>2]=0;HK(a,d+336|0);b=d+320|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;g=ko(3520);c=li(3534);q[d+4656>>2]=q[a+152>>2];f=a+176|0;um(f,c,ii,d+4656|0);c=li(3538);q[d+4656>>2]=q[a+152>>2];um(f,c,ii,d+4656|0);c=li(3550);q[d+4656>>2]=l;um(f,c,ii,d+4656|0);c=li(3555);q[d+4656>>2]=q[a+268>>2];um(f,c,ii,d+4656|0);if(q[a+284>>2]){c=li(3563);q[d+4656>>2]=q[a+276>>2];um(f,c,ii,d+4656|0);c=li(3575);q[d+4656>>2]=q[a+284>>2];um(f,c,ii,d+4656|0)}I:{if(T3(q[a+280>>2],f)){break I}c=a+224|0;if(Eha(q[a+280>>2],q[a+220>>2],q[a+408>>2],c)){break I}if(Gha(q[a+280>>2],q[a+152>>2],q[a+220>>2],c,a+240|0,a+296|0,a+308|0,a+316|0,a+324|0,a+332|0,a+344|0,a+356|0,a+368|0,a+380|0)){break I}if(doa(d+336|0)){break I}if(!fpa(a,q[a+4>>2])){mi(4,1031,3580,0);break I}q[q[a+284>>2]+172>>2]=q[a+400>>2];q[q[a+284>>2]+176>>2]=q[a+416>>2];ji[q[74891]](q[a+216>>2]);f=q[a+216>>2];c=ji[q[74886]](f)|0;p=f,s=0,v=0,w=c,y=ji[q[74887]](q[a+216>>2])|0,n=q[74938],ji[n](p|0,s|0,v|0,w|0,y|0);c=q[a+476>>2];ji[q[74894]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);ji[q[74892]](q[a+216>>2]);ji[q[74891]](q[a+216>>2]);f=q[a+216>>2];c=ji[q[74886]](f)|0;y=f,w=0,v=0,s=c,p=ji[q[74887]](q[a+216>>2])|0,n=q[74938],ji[n](y|0,w|0,v|0,s|0,p|0);c=q[a+476>>2];ji[q[74894]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);ji[q[74892]](q[a+216>>2]);ji[q[74891]](q[a+216>>2]);f=q[a+216>>2];c=ji[q[74886]](f)|0;p=f,s=0,v=0,w=c,y=ji[q[74887]](q[a+216>>2])|0,n=q[74938],ji[n](p|0,s|0,v|0,w|0,y|0);c=q[a+476>>2];ji[q[74894]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);ji[q[74892]](q[a+216>>2]);J:{c=q[a+420>>2];if(!c){break J}if((uu(q[c+24>>2],0,0)|0)==1){break J}mi(5,1031,3611,0);break I}q[b+4>>2]=q[a+280>>2];q[b+8>>2]=q[a+152>>2];f=q[a+264>>2];K:{if(f){q[b>>2]=f?q[f+120>>2]:0;if($z(b)){break K}break I}c=b;f=q[a+268>>2];h=0;L:{if(!f){break L}h=q[f+120>>2]}q[c>>2]=h;if(!$z(b)){break I}c=b;f=q[a+276>>2];h=0;M:{if(!f){break M}h=q[f+120>>2]}q[c>>2]=h;if(!$z(b)){break I}}q[239951]=q[a+280>>2];q[239950]=0;o[959884]=1;if(Ij(q[a+280>>2],wm(q[a+4>>2],3651,3677),a+156|0)){break I}Is(q[a+156>>2]);q[a+208>>2]=0;q[d+16>>2]=g?3701:1217;cj(d+4656|0,512,3708,d+16|0);if(!Am(d+4656|0,d+3632|0)){q[a+208>>2]=q[d+3696>>2]}if(k){b=Sk(k);e=wq(b,3739,d+4656|0);if(e){g=0;while(1){N:{if(!jl(q[a+280>>2],e,d+3632|0)){Cma(q[a+152>>2],q[d+3632>>2],g&65535);g=g+1|0;break N}q[d>>2]=e;mi(4,1031,3741,d)}e=wq(0,3739,d+4656|0);if(e){continue}break}}ki(b)}Bma(q[a+152>>2]);b=Uj();q[a+440>>2]=b-16666;q[a+444>>2]=ii-(b>>>0<16666);b=Uj();q[a+448>>2]=0;q[a+452>>2]=0;q[a+456>>2]=b;q[a+460>>2]=ii;e=1}if(o[d+380|0]&1){break v}a=q[d+360>>2];if(a){ki(a)}a=q[d+352>>2];if(!a){break v}ki(a)}if(!q[d+544>>2]){break n}Pi(d+544|0)}a=q[d+5956>>2];if(!a){break c}ki(a)}fi=d+12160|0;return e}J(4521,4545,501,4624);G()}J(5105,4545,461,4936);G()}function SB(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;m=fi+ -64|0;fi=m;a:{b:{c:{d:{e:{f:{g:{h:{switch(b-196|0){default:if((b|0)!=255){break g}q[212945]=154250;break e;case 25:c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];i:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break i}if(!q[c+32>>2]){d=b;break i}d=c+40|0;e=ji[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;j:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break j}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;k:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break k}if(!q[c+32>>2]){d=0;break k}b=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);l:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break l}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}if((f|d&255)!=4){q[212945]=154250;break e}c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];m:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break m}if(!q[c+32>>2]){g=0;d=b;break m}d=c+40|0;e=ji[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;n:{if(!e){g=0;o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break n}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;o:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break o}if(!q[c+32>>2]){d=0;break o}b=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);p:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break p}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}q[a+18436>>2]=f|d&255;a=1;break a;case 23:c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];q:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break q}if(!q[c+32>>2]){d=b;break q}d=c+40|0;e=ji[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;r:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break r}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;s:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break s}if(!q[c+32>>2]){d=0;break s}b=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);t:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break t}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}h=(f+(d&255)|0)-2|0;if((h|0)>=1){while(1){c=q[a>>2];b=q[c+172>>2];u:{v:{if(b>>>0>2]){q[c+172>>2]=b+1;d=r[b|0];break v}if(!q[c+32>>2]){l=0;f=1;break u}b=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);w:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break w}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}b=d&255;if(b>>>0>=32){q[212945]=154250;break e}l=d&15;if(l>>>0>3){break f}f=!(b&240)}e=0;while(1){b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];x:{if(!f){y:{if(c>>>0>d>>>0){g=d+1|0;q[b+172>>2]=g;j=r[d|0];break y}if(!q[b+32>>2]){j=0;g=d;break y}c=b+40|0;g=ji[q[b+16>>2]](q[b+28>>2],c,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;z:{if(!g){j=0;o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break z}j=r[b+40|0];c=c+g|0}q[d+176>>2]=c;g=b+41|0;q[b+172>>2]=g}i=j<<8;A:{if(c>>>0>g>>>0){q[b+172>>2]=g+1;c=r[g|0];break A}if(!q[b+32>>2]){c=0;break A}g=b+40|0;k=ji[q[b+16>>2]](q[b+28>>2],g,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;B:{if(!k){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;c=0;break B}g=g+k|0;c=r[b+40|0]}q[d+176>>2]=g;q[b+172>>2]=b+41}b=i|c&255;break x}C:{if(c>>>0>d>>>0){q[b+172>>2]=d+1;d=r[d|0];break C}if(!q[b+32>>2]){d=0;break C}d=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],d,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);D:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;d=0;break D}c=c+d|0;d=r[b+40|0]}q[b+176>>2]=c;q[b+172>>2]=b+41}b=d&255}p[(((l<<7)+a|0)+(r[e+154272|0]<<1)|0)+13444>>1]=b;e=e+1|0;if((e|0)!=64){continue}break}h=(f?-65:-129)+h|0;if((h|0)>0){continue}break}}a=!h;break a;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:case 19:case 20:case 21:case 22:case 24:break g;case 0:break h}}c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];E:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break E}if(!q[c+32>>2]){d=b;break E}d=c+40|0;e=ji[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;F:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break F}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;G:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break G}if(!q[c+32>>2]){d=0;break G}b=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);H:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break H}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}j=(f+(d&255)|0)-2|0;if((j|0)>=1){while(1){d=q[a>>2];b=q[d+172>>2];I:{if(b>>>0>2]){q[d+172>>2]=b+1;c=r[b|0];break I}if(!q[d+32>>2]){c=0;break I}e=d+40|0;f=ji[q[d+16>>2]](q[d+28>>2],e,q[d+36>>2])|0;q[d+168>>2]=q[d+168>>2]+(q[d+172>>2]-q[d+180>>2]|0);b=d;J:{if(!f){c=0;o[d+40|0]=0;q[d+32>>2]=0;e=d+41|0;break J}c=r[d+40|0];e=e+f|0}q[b+176>>2]=e;q[d+172>>2]=d+41}K:{f=c&255;if(f>>>0<=31){e=0;d=0;k=c&15;if(k>>>0<4){break K}}q[212945]=154250;break e}while(1){g=q[a>>2];b=q[g+172>>2];L:{if(b>>>0>2]){q[g+172>>2]=b+1;c=r[b|0];break L}if(!q[g+32>>2]){c=0;break L}b=g+40|0;c=ji[q[g+16>>2]](q[g+28>>2],b,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);M:{if(!c){o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;c=0;break M}h=b+c|0;c=r[g+40|0]}q[g+176>>2]=h;q[g+172>>2]=g+41}b=c&255;q[(d<<2)+m>>2]=b;e=b+e|0;d=d+1|0;if((d|0)!=16){continue}break}f=f&240;N:{if(!f){b=w(k,1680)+a|0;if(!XB(b+4|0,m)){break e}b=b+1028|0;break N}b=w(k,1680)+a|0;if(!XB(b+6724|0,m)){break e}b=b+7748|0}d=0;if(e){while(1){i=q[a>>2];c=q[i+172>>2];O:{if(c>>>0>2]){q[i+172>>2]=c+1;c=r[c|0];break O}if(!q[i+32>>2]){c=0;break O}c=i+40|0;g=ji[q[i+16>>2]](q[i+28>>2],c,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);P:{if(!g){o[i+40|0]=0;q[i+32>>2]=0;l=i+41|0;c=0;break P}l=c+g|0;c=r[i+40|0]}q[i+176>>2]=l;q[i+172>>2]=i+41}o[b+d|0]=c;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=0;if(f){while(1){d=w(k,1680)+a|0;c=r[(d+b|0)+6724|0];g=(((k<<10)+a|0)+(b<<1)|0)+13956|0;p[g>>1]=0;Q:{if((c|0)==255){break Q}d=c+d|0;f=r[d+7748|0];i=f&15;if(!i){break Q}d=r[d+8004|0];c=d+i|0;if(c>>>0>9){break Q}d=(b<>>9-i|0;d=((d|0)<1<>>0>255){break Q}p[g>>1]=(c+(f&240)|0)+(d<<8)}b=b+1|0;if((b|0)!=512){continue}break}}j=(j-17|0)-e|0;if((j|0)>0){continue}break}}a=!j;break a}R:{S:{T:{U:{V:{W:{if(!((b&-16)!=224?(b|0)!=254:0)){f=q[a>>2];d=q[f+172>>2];c=q[f+176>>2];X:{if(d>>>0>>0){e=d+1|0;q[f+172>>2]=e;h=r[d|0];break X}if(!q[f+32>>2]){e=d;break X}e=f+40|0;c=ji[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);d=f;Y:{if(!c){o[f+40|0]=0;q[f+32>>2]=0;c=f+41|0;break Y}h=r[f+40|0];c=c+e|0}q[d+176>>2]=c;e=f+41|0;q[f+172>>2]=e}g=(h&255)<<8;Z:{if(c>>>0>e>>>0){q[f+172>>2]=e+1;e=r[e|0];break Z}if(!q[f+32>>2]){e=0;break Z}d=f+40|0;e=ji[q[f+16>>2]](q[f+28>>2],d,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);_:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;c=f+41|0;e=0;break _}c=d+e|0;e=r[f+40|0]}q[f+176>>2]=c;q[f+172>>2]=f+41}i=g|e&255;if(i>>>0<=1){q[212945]=154250;break e}if(!((b|0)!=224|i>>>0<7)){b=q[a>>2];e=q[b+172>>2];c=q[b+176>>2];$:{if(e>>>0>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break $}if(!q[b+32>>2]){h=0;d=e;break $}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;aa:{if(!c){h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break aa}h=r[b+40|0];e=c+e|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}if(c>>>0>d>>>0){break V}if(q[b+32>>2]){break W}g=0;break U}d=i-2|0;if((b|0)!=238|i>>>0<14){break c}b=q[a>>2];e=q[b+172>>2];c=q[b+176>>2];ba:{if(e>>>0>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break ba}if(!q[b+32>>2]){h=0;d=e;break ba}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ca:{if(!c){h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break ca}h=r[b+40|0];e=c+e|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}if(c>>>0>d>>>0){break S}if(q[b+32>>2]){break T}g=0;break R}q[212945]=154250;break e}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;da:{if(c){g=r[b+40|0];e=c+e|0;break da}g=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break U}e=d+1|0;q[b+172>>2]=e;g=r[d|0];d=e}f=(g&255)==70&(h&255)==74;ea:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break ea}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;fa:{if(c){h=r[b+40|0];e=c+e|0;break fa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break ea}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==73;ga:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break ga}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ha:{if(c){h=r[b+40|0];e=c+e|0;break ha}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break ga}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==70;ia:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){c=0;break ia}e=b+40|0;g=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ja:{if(g){c=r[b+40|0];e=e+g|0;break ja}c=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;break ia}q[b+172>>2]=d+1;c=r[d|0]}d=i-7|0;if(!(f&!(c&255))){break c}q[a+18404>>2]=1;break c}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ka:{if(c){g=r[b+40|0];e=c+e|0;break ka}g=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break R}e=d+1|0;q[b+172>>2]=e;g=r[d|0];d=e}f=(g&255)==100&(h&255)==65;la:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break la}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ma:{if(c){h=r[b+40|0];e=c+e|0;break ma}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break la}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==111;na:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break na}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;oa:{if(c){h=r[b+40|0];e=c+e|0;break oa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break na}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==98;pa:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break pa}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;qa:{if(c){h=r[b+40|0];e=c+e|0;break qa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break pa}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}e=f&(h&255)==101;ra:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){d=0;break ra}d=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],d,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);sa:{if(c){c=c+d|0;d=r[b+40|0];break sa}o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;d=0}q[b+176>>2]=c;q[b+172>>2]=b+41;break ra}q[b+172>>2]=d+1;d=r[d|0]}if(e&!(d&255)){break d}d=i-8|0;break b}q[212945]=154250}a=0;break a}b=q[a>>2];d=q[b+172>>2];c=q[b+176>>2];ta:{if(d>>>0>>0){d=d+1|0;q[b+172>>2]=d;break ta}if(!q[b+32>>2]){break ta}e=ji[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ua:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break ua}e=(b+e|0)+40|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}e=b;va:{if(c>>>0>d>>>0){d=d+1|0}else{if(!q[b+32>>2]){break va}c=ji[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;wa:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break wa}c=(b+c|0)+40|0}q[d+176>>2]=c;d=b+41|0}q[e+172>>2]=d}e=b;xa:{if(c>>>0>d>>>0){b=d+1|0}else{if(!q[b+32>>2]){break xa}c=ji[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ya:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break ya}c=(b+c|0)+40|0}q[d+176>>2]=c;b=b+41|0}q[e+172>>2]=b}b=q[a>>2];d=q[b+172>>2];c=q[b+176>>2];za:{Aa:{if(d>>>0>>0){d=d+1|0;break Aa}if(!q[b+32>>2]){break za}e=ji[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ba:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break Ba}c=(b+e|0)+40|0}q[d+176>>2]=c;d=b+41|0}q[b+172>>2]=d}e=b;Ca:{if(c>>>0>d>>>0){b=d+1|0}else{if(!q[b+32>>2]){break Ca}c=ji[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Da:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break Da}c=(b+c|0)+40|0}q[d+176>>2]=c;b=b+41|0}q[e+172>>2]=b}e=q[a>>2];b=q[e+172>>2];Ea:{if(b>>>0>2]){q[e+172>>2]=b+1;d=r[b|0];break Ea}if(!q[e+32>>2]){d=0;break Ea}b=e+40|0;d=ji[q[e+16>>2]](q[e+28>>2],b,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);Fa:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;c=e+41|0;d=0;break Fa}c=b+d|0;d=r[e+40|0]}q[e+176>>2]=c;q[e+172>>2]=e+41}q[a+18408>>2]=d&255;d=i-14|0}if(d){break b}a=1;break a}c=q[a>>2];if((d|0)<=-1){q[c+172>>2]=q[c+176>>2];a=1;break a}Ga:{if(!q[c+16>>2]){a=q[c+172>>2];break Ga}e=q[c+176>>2];a=q[c+172>>2];b=e-a|0;if((b|0)>=(d|0)){break Ga}q[c+172>>2]=e;ji[q[c+20>>2]](q[c+28>>2],d-b|0);a=1;break a}q[c+172>>2]=a+d;a=1}fi=m- -64|0;return a}function $Y(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,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,H=0,I=0,J=0;u=fi-16|0;fi=u;B=-2;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}v=q[a+12>>2];if(!v){break a}g=q[a>>2];if(q[a+4>>2]?!g:0){break a}c=q[b>>2];if((c|0)==11){q[b>>2]=12;c=12}J=b+88|0;D=b+752|0;G=b+112|0;H=b+84|0;E=b+108|0;C=b+1328|0;d=q[b+60>>2];e=q[b+56>>2];I=q[a+4>>2];h=I;n=q[a+16>>2];A=n;b:{c:{d:while(1){e:{f=-3;j=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:{switch(c|0){case 23:j=q[b+72>>2];break x;case 21:j=q[b+72>>2];break z;case 18:j=q[b+104>>2];break N;case 0:f=q[b+8>>2];if(!f){break H}if(d>>>0<16){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}if(!(!(f&2)|(e|0)!=35615)){e=0;c=bl(0,0,0);q[b+24>>2]=c;o[u+12|0]=31;o[u+13|0]=139;c=bl(c,u+12|0,2);q[b>>2]=1;q[b+24>>2]=c;d=0;c=q[b>>2];continue}q[b+16>>2]=0;c=q[b+32>>2];if(c){q[c+48>>2]=-1}if(!(((e<<8&65280)+(e>>>8|0)>>>0)%31|0?0:f&1)){q[a+24>>2]=178214;q[b>>2]=29;c=q[b>>2];continue}if((e&15)!=8){q[a+24>>2]=178237;q[b>>2]=29;c=q[b>>2];continue}c=e>>>4|0;i=c&15;j=i+8|0;f=q[b+36>>2];if(!f){q[b+36>>2]=j;break f}if(f>>>0>=j>>>0){break f}d=d-4|0;q[a+24>>2]=178264;q[b>>2]=29;e=c;c=q[b>>2];continue;case 1:if(d>>>0<16){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}q[b+16>>2]=e;if((e&255)!=8){q[a+24>>2]=178237;q[b>>2]=29;c=q[b>>2];continue}if(e&57344){q[a+24>>2]=178284;q[b>>2]=29;c=q[b>>2];continue}c=q[b+32>>2];if(c){q[c>>2]=e>>>8&1}if(e&512){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=bl(q[b+24>>2],u+12|0,2)}q[b>>2]=2;d=0;e=0;break da;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 11:case 12:break V;case 10:break W;case 9:break X;case 4:break _;case 3:break ba;case 2:break ea;default:break a}}if(d>>>0>31){break ca}}c=g;while(1){if(!h){h=0;g=c;f=z;break c}h=h-1|0;e=(r[c|0]<>>0<24;d=d+8|0;g=c+1|0;c=g;if(f){continue}break}}c=q[b+32>>2];if(c){q[c+4>>2]=e}if(r[b+17|0]&2){o[u+12|0]=e;o[u+13|0]=e>>>8;o[u+14|0]=e>>>16;o[u+15|0]=e>>>24;q[b+24>>2]=bl(q[b+24>>2],u+12|0,4)}q[b>>2]=3;d=0;e=0;break aa}if(d>>>0>15){break $}}c=g;while(1){if(!h){h=0;g=c;f=z;break c}h=h-1|0;e=(r[c|0]<>>0<8;d=d+8|0;g=c+1|0;c=g;if(f){continue}break}}c=q[b+32>>2];if(c){q[c+12>>2]=e>>>8;q[c+8>>2]=e&255}if(r[b+17|0]&2){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=bl(q[b+24>>2],u+12|0,2)}q[b>>2]=4;c=0;d=0;e=0;j=q[b+16>>2];if(j&1024){break Z}break p}j=q[b+16>>2];if(!(j&1024)){c=d;break p}c=e;if(d>>>0>15){break Y}}while(1){if(!h){h=0;e=c;f=z;break c}h=h-1|0;c=(r[g|0]<>>0<8;d=d+8|0;f=g+1|0;g=f;if(i){continue}break}g=f;e=c}q[b+64>>2]=e;c=q[b+32>>2];if(c){q[c+20>>2]=e}d=0;if(j&512){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=bl(q[b+24>>2],u+12|0,2)}e=0;break o}if(d>>>0<32){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}c=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=10;e=0;d=0}if(!q[b+12>>2]){q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;B=2;break a}c=Vp(0,0,0);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=11}fa:{ga:{if(!q[b+4>>2]){c=d;f=c;if(c>>>0>2){break fa}if(h){break ga}break j}q[b>>2]=26;e=e>>>(d&7)|0;d=d&-8;c=q[b>>2];continue}h=h-1|0;e=(r[g|0]<>2]=e&1;d=13;ha:{ia:{ja:{switch((e>>>1&3)-1|0){case 0:q[b+84>>2]=9;q[b+88>>2]=5;q[b>>2]=19;q[b+76>>2]=178688;q[b+80>>2]=180736;break ha;case 1:d=16;break ia;case 2:break ja;default:break ia}}q[a+24>>2]=178329;d=29}q[b>>2]=d}d=c-3|0;e=e>>>3|0;c=q[b>>2];continue}e=e>>>(d&7)|0;d=d&-8;if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}c=e&65535;if((c|0)!=((e^-1)>>>16|0)){q[a+24>>2]=178348;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=14;q[b+64>>2]=c;e=0;d=0}q[b>>2]=15}c=q[b+64>>2];if(c){c=c>>>0>h>>>0?h:c;f=c>>>0>n>>>0?n:c;if(!f){break i}c=si(v,g,f);q[b+64>>2]=q[b+64>>2]-f;v=c+f|0;n=n-f|0;g=g+f|0;h=h-f|0;c=q[b>>2];continue}q[b>>2]=11;c=q[b>>2];continue}if(d>>>0<14){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<6;d=d+8|0;g=g+1|0;if(c){continue}break}}f=e&31;q[b+96>>2]=f+257;c=e>>>5&31;q[b+100>>2]=c+1;i=(e>>>10&15)+4|0;q[b+92>>2]=i;d=d-14|0;e=e>>>14|0;if(!(c>>>0<30?f>>>0<=29:0)){q[a+24>>2]=178377;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=17;c=0;q[b+104>>2]=0;break P}c=q[b+104>>2];i=q[b+92>>2];if(c>>>0>=i>>>0){break O}}f=c;while(1){if(d>>>0<=2){if(!h){break e}h=h-1|0;e=(r[g|0]<>2]=c;p[((s[(f<<1)+178176>>1]<<1)+b|0)+112>>1]=e&7;d=d-3|0;e=e>>>3|0;f=c;if(i>>>0>c>>>0){continue}break}}if(c>>>0<19){while(1){p[((s[(c<<1)+178176>>1]<<1)+b|0)+112>>1]=0;c=c+1|0;if((c|0)!=19){continue}break}q[b+104>>2]=19}q[b+84>>2]=7;q[b+76>>2]=C;q[b+108>>2]=C;j=0;z=Cx(0,G,19,E,H,D);if(z){q[a+24>>2]=178413;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=18;q[b+104>>2]=0;z=0}x=q[b+96>>2];m=x+q[b+100>>2]|0;if(m>>>0>j>>>0){w=-1<>2]^-1;F=q[b+76>>2];while(1){k=d;c=h;f=g;y=e&w;l=r[((y<<2)+F|0)+1|0];ka:{if(l>>>0<=d>>>0){i=d;break ka}while(1){if(!c){break G}l=r[f|0]<>>0>i>>>0){continue}break}}h=s[((y<<2)+F|0)+2>>1];la:{if(h>>>0<=15){g=j+1|0;q[b+104>>2]=g;p[((j<<1)+b|0)+112>>1]=h;d=i-l|0;e=e>>>l|0;j=g;break la}ma:{na:{oa:{switch(h-16|0){case 0:g=l+2|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=i-l|0;i=e>>>l|0;if(!j){q[a+24>>2]=178438;q[b>>2]=29;g=f;h=c;e=i;c=q[b>>2];continue d}d=d-2|0;e=i>>>2|0;h=(i&3)+3|0;g=s[((j<<1)+b|0)+110>>1];break ma;case 1:g=l+3|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=(i-l|0)-3|0;g=e>>>l|0;e=g>>>3|0;h=(g&7)+3|0;break na;default:break oa}}g=l+7|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=(i-l|0)-7|0;g=e>>>l|0;e=g>>>7|0;h=(g&127)+11|0}g=0}if(m>>>0>>0){q[a+24>>2]=178438;q[b>>2]=29;g=f;h=c;c=q[b>>2];continue d}while(1){p[((j<<1)+b|0)+112>>1]=g;j=j+1|0;h=h-1|0;if(h){continue}break}q[b+104>>2]=j}g=f;h=c;if(j>>>0>>0){continue}break}}if(!s[b+624>>1]){q[a+24>>2]=178464;q[b>>2]=29;c=q[b>>2];continue}q[b+84>>2]=9;q[b+76>>2]=C;q[b+108>>2]=C;z=Cx(1,G,x,E,H,D);if(z){q[a+24>>2]=178501;q[b>>2]=29;c=q[b>>2];continue}q[b+88>>2]=6;q[b+80>>2]=q[b+108>>2];z=Cx(2,((q[b+96>>2]<<1)+b|0)+112|0,q[b+100>>2],E,J,D);if(z){q[a+24>>2]=178529;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=19;z=0}q[b>>2]=20}if(!(n>>>0<258|h>>>0<6)){q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;YY(a,A);d=q[b+60>>2];e=q[b+56>>2];h=q[a+4>>2];g=q[a>>2];n=q[a+16>>2];v=q[a+12>>2];if(q[b>>2]!=11){break v}q[b+7108>>2]=-1;c=q[b>>2];continue}q[b+7108>>2]=0;j=d;c=h;f=g;w=q[b+76>>2];x=-1<>2]^-1;l=x&e;k=r[(w+(l<<2)|0)+1|0];pa:{if(k>>>0<=d>>>0){i=d;break pa}while(1){if(!c){break E}k=r[f|0]<>>0>i>>>0){continue}break}}d=k;g=w+(l<<2)|0;y=s[g+2>>1];m=r[g|0];if(!m|m&240){break B}h=c;g=f;j=i;x=-1<>>d|0)+y|0;k=r[(w+(m<<2)|0)+1|0];qa:{if(i>>>0>=k+d>>>0){l=i;break qa}while(1){if(!h){break F}k=r[g|0]<>>d|0)+y|0;k=r[(w+(m<<2)|0)+1|0];if(j>>>0>>0){continue}break}}c=w+(m<<2)|0;m=r[c|0];y=s[c+2>>1];q[b+7108>>2]=d;i=l-d|0;e=e>>>d|0;break A}if(!n){break i}o[v|0]=q[b+64>>2];q[b>>2]=20;n=n-1|0;v=v+1|0;c=q[b>>2];continue}if(q[b+8>>2]){if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}j=A-n|0;q[a+20>>2]=j+q[a+20>>2];q[b+28>>2]=j+q[b+28>>2];ra:{if(!j){c=q[b+24>>2];break ra}i=v-j|0;f=q[b+24>>2];k=b;sa:{if(q[b+16>>2]){c=bl(f,i,j);break sa}c=Vp(f,i,j)}q[k+24>>2]=c;q[a+48>>2]=c}if(((q[b+16>>2]?e:e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))|0)!=(c|0)){break D}e=0;A=n;d=0}q[b>>2]=27}if(!(!q[b+8>>2]|!q[b+16>>2])){if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}if(q[b+28>>2]!=(e|0)){break C}e=0;d=0}q[b>>2]=28;f=1;break c}q[b>>2]=12;break v}g=g+h|0;d=(h<<3)+d|0;break e}g=c+f|0;d=(c<<3)+i|0;break e}g=g+h|0;d=(h<<3)+d|0;break e}q[a+24>>2]=178631;q[b>>2]=29;A=n;c=q[b>>2];continue}q[a+24>>2]=178652;q[b>>2]=29;c=q[b>>2];continue}d=0;g=f;h=c}q[b+64>>2]=y&65535;q[b+7108>>2]=d+k;d=i-k|0;e=e>>>k|0;if(!m){q[b>>2]=25;c=q[b>>2];continue}if(m&32){q[b>>2]=11;q[b+7108>>2]=-1;c=q[b>>2];continue}if(m&64){q[a+24>>2]=178551;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=21;j=m&15;q[b+72>>2]=j}i=g;k=h;ta:{if(!j){f=q[b+64>>2];break ta}f=g;c=d;if(j>>>0>c>>>0){while(1){if(!h){break r}h=h-1|0;e=(r[f|0]<>>0>c>>>0){continue}break}}q[b+7108>>2]=q[b+7108>>2]+j;f=q[b+64>>2]+((-1<>2]=f;d=c-j|0;e=e>>>j|0}q[b>>2]=22;q[b+7112>>2]=f}j=d;c=h;f=g;w=q[b+80>>2];x=-1<>2]^-1;l=x&e;k=r[(w+(l<<2)|0)+1|0];ua:{if(k>>>0<=d>>>0){i=d;break ua}while(1){if(!c){break s}k=r[f|0]<>>0>i>>>0){continue}break}}g=w+(l<<2)|0;y=s[g+2>>1];m=r[g|0];va:{if(m&240){d=q[b+7108>>2];g=f;h=c;j=k;break va}h=c;g=f;d=i;x=-1<>>k|0)+y|0;j=r[(w+(m<<2)|0)+1|0];wa:{if(d>>>0>=k+j>>>0){l=i;break wa}while(1){if(!h){break t}j=r[g|0]<>>k|0)+y|0;j=r[(w+(m<<2)|0)+1|0];if(d>>>0>>0){continue}break}}c=w+(m<<2)|0;m=r[c|0];y=s[c+2>>1];d=q[b+7108>>2]+k|0;q[b+7108>>2]=d;i=l-k|0;e=e>>>k|0}q[b+7108>>2]=d+j;d=i-j|0;e=e>>>j|0;if(m&64){q[a+24>>2]=178579;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=23;j=m&15;q[b+72>>2]=j;q[b+68>>2]=y&65535}i=g;k=h;if(j){f=g;c=d;if(j>>>0>c>>>0){while(1){if(!h){break u}h=h-1|0;e=(r[f|0]<>>0>c>>>0){continue}break}}q[b+7108>>2]=q[b+7108>>2]+j;q[b+68>>2]=q[b+68>>2]+((-1<>>j|0;d=c-j|0}q[b>>2]=24}if(!n){break i}j=q[b+68>>2];c=A-n|0;xa:{if(j>>>0>c>>>0){c=j-c|0;if(!(!q[b+7104>>2]|c>>>0<=t[b+44>>2])){q[a+24>>2]=178601;q[b>>2]=29;c=q[b>>2];continue}f=q[b+48>>2];ya:{if(f>>>0>>0){c=c-f|0;j=q[b+40>>2]-c|0;break ya}j=f-c|0}i=q[b+64>>2];f=c>>>0>i>>>0?i:c;c=j+q[b+52>>2]|0;break xa}i=q[b+64>>2];f=i;c=v-j|0}j=i;i=f>>>0>n>>>0?n:f;q[b+64>>2]=j-i;f=i;while(1){o[v|0]=r[c|0];v=v+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}n=n-i|0;if(q[b+64>>2]){break v}q[b>>2]=20;c=q[b>>2];continue}c=q[b>>2];continue}g=i+k|0;d=(k<<3)+d|0;break e}g=c+f|0;d=(c<<3)+i|0;break e}g=g+h|0;d=(h<<3)+d|0;break e}g=i+k|0;d=(k<<3)+d|0;break e}h=0;g=f;d=i;f=z;break c}f=q[b+32>>2];if(f){q[f+16>>2]=0}d=c}q[b>>2]=5}j=q[b+16>>2];if(j&1024){c=q[b+64>>2];k=c>>>0>h>>>0?h:c;if(k){i=q[b+32>>2];za:{if(!i){break za}f=q[i+16>>2];if(!f){break za}j=f;f=q[i+20>>2]-c|0;c=q[i+24>>2];si(j+f|0,g,c>>>0>>0?c-f|0:k);j=q[b+16>>2]}if(j&512){q[b+24>>2]=bl(q[b+24>>2],g,k)}c=q[b+64>>2]-k|0;q[b+64>>2]=c;h=h-k|0;g=g+k|0}if(c){break i}}q[b>>2]=6;q[b+64>>2]=0}Aa:{if(r[b+17|0]&8){f=0;if(!h){break j}while(1){c=f+1|0;j=r[g+f|0];i=q[b+32>>2];Ba:{if(!i){break Ba}f=q[i+28>>2];if(!f){break Ba}k=q[i+32>>2];i=q[b+64>>2];if(k>>>0<=i>>>0){break Ba}q[b+64>>2]=i+1;o[f+i|0]=j}if(c>>>0>>0){f=c;if(j){continue}}break}if(r[b+17|0]&2){q[b+24>>2]=bl(q[b+24>>2],g,c)}g=c+g|0;h=h-c|0;if(!j){break Aa}break i}c=q[b+32>>2];if(!c){break Aa}q[c+28>>2]=0}q[b>>2]=7;q[b+64>>2]=0}Ca:{if(r[b+17|0]&16){f=0;if(!h){break j}while(1){c=f+1|0;j=r[g+f|0];i=q[b+32>>2];Da:{if(!i){break Da}f=q[i+36>>2];if(!f){break Da}k=q[i+40>>2];i=q[b+64>>2];if(k>>>0<=i>>>0){break Da}q[b+64>>2]=i+1;o[f+i|0]=j}if(c>>>0>>0){f=c;if(j){continue}}break}if(r[b+17|0]&2){q[b+24>>2]=bl(q[b+24>>2],g,c)}g=c+g|0;h=h-c|0;if(!j){break Ca}break i}c=q[b+32>>2];if(!c){break Ca}q[c+36>>2]=0}q[b>>2]=8}f=q[b+16>>2];if(f&512){if(d>>>0<=15){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}if(s[b+24>>1]!=(e|0)){break g}e=0;d=0}c=q[b+32>>2];if(c){q[c+48>>2]=1;q[c+44>>2]=f>>>9&1}c=bl(0,0,0);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=11;c=q[b>>2];continue}h=0}j=z}f=j;break c}q[a+24>>2]=178309;q[b>>2]=29;c=q[b>>2];continue}q[b+20>>2]=256<>2]=c;q[a+48>>2]=c;q[b>>2]=e&8192?9:11;e=0;c=q[b>>2];continue}break}h=0;f=z}q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;Ea:{if(!((n|0)==(A|0)|t[b>>2]>28?!q[b+40>>2]:0)){if(TN(a,v,A-n|0)){break Ea}n=q[a+16>>2];h=q[a+4>>2]}g=I-h|0;q[a+8>>2]=g+q[a+8>>2];i=A-n|0;q[a+20>>2]=i+q[a+20>>2];q[b+28>>2]=i+q[b+28>>2];if(!(!i|!q[b+8>>2])){d=q[a+12>>2]-i|0;h=q[b+24>>2];c=b;Fa:{if(q[b+16>>2]){h=bl(h,d,i);break Fa}h=Vp(h,d,i)}q[c+24>>2]=h;q[a+48>>2]=h}c=a;a=q[b>>2];q[c+44>>2]=((q[b+60>>2]+((q[b+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);B=f?f:g|i?f:-5;break a}q[b>>2]=30}B=-4}fi=u+16|0;return B}function NF(a,b,c){var d=0,e=x(0),f=0,g=0,h=0,i=0,j=x(0),k=0,l=x(0),m=0,n=x(0),p=0,s=x(0),v=0,z=x(0),C=x(0),D=x(0),E=x(0),H=0,I=x(0),K=x(0),L=0,M=x(0),N=x(0),O=0,P=x(0),Q=x(0),R=0,S=x(0),T=0,U=0,V=x(0),W=0,X=x(0),Y=x(0),Z=x(0),_=x(0),$=0,aa=0,ba=0,ca=0,da=0,ea=0;f=fi-320|0;fi=f;a:{b:{c:{d:{e:{d=q[b+136>>2];h=q[b+132>>2];f:{if(!(r[b+224|0]&4)|(d|0)==(h|0)){break f}ea=d-h|0;da=(ea|0)/48|0;ba=q[b+88>>2];W=q[b+68>>2];aa=q[b+72>>2];if(ea){g=da>>>0>1?da:1;d=0;while(1){i=h+w(d,48)|0;q[i+32>>2]=1065353216;q[i+36>>2]=1065353216;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=1065353216;q[i>>2]=0;q[i+4>>2]=0;q[i+40>>2]=1065353216;q[i+24>>2]=0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=q[b+152>>2];m=q[b+148>>2];g=d-m|0;if(g){d=m-d|0;h=((d|0)>(g|0)?d:g)>>>3|0;d=(g|0)>-1?g:-1;d=w(h,(d|0)<1?d:1);i=d>>>0>1?d:1;h=q[aa+12>>2];while(1){if((h|0)==(k|0)){break e}g=m+(k<<3)|0;d=q[aa+8>>2]+(k<<5)|0;u[g>>2]=u[d+24>>2];o[g+4|0]=r[d+20|0];k=k+1|0;if((i|0)!=(k|0)){continue}break}}g=r[b+224|0];g:{if(!(g&2)){d=g;break g}s=x(u[b+212>>2]+c);u[b+212>>2]=s;if(u[b+208>>2]<=s^1){d=g;break g}d=g&253;o[b+224|0]=d;g=(((g^-1)&1)<<5)+b|0;o[g+28|0]=r[g+28|0]&254}R=d&1;H=(R<<5)+b|0;k=r[H+28|0];if(k&4){h:{if(!q[b+196>>2]){break h}T=q[q[b+76>>2]+28>>2];if((T|0)<1){break h}m=q[b+180>>2];i=(q[b+184>>2]-m|0)/24|0;while(1){if((i|0)==(p|0)){break d}h=m+w(p,24)|0;v=q[h+20>>2];q[h+16>>2]=q[v+16>>2];d=h;if(q[v+24>>2]){g=q[v+20>>2]}else{g=136608}u[d>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];p=p+1|0;if((T|0)!=(p|0)){continue}break}k=r[H+28|0]}o[H+28|0]=k&251}m=q[q[b+76>>2]+28>>2];q[f+316>>2]=0;$=a+132|0;g=a+140|0;U=q[a+132>>2];d=q[g>>2]-U>>2;if(d>>>0>>0){if(o[a+144|0]&1){break c}vi(m,4,$,g,a+136|0);U=q[a+132>>2];d=q[a+140>>2]-U>>2}if(d>>>0>>0){break b}q[a+136>>2]=(m<<2)+U;if(m){g=q[b+108>>2];h=q[b+104>>2];i=g-h|0;d=(i|0)>-1?i:-1;p=(d|0)<1?d:1;d=h-g|0;g=w(p,((d|0)>(i|0)?d:i)>>>2|0);k=0;while(1){if((g|0)==(k|0)){break d}d=k<<2;q[d+h>>2]=k;q[d+U>>2]=1101037;k=k+1|0;if((m|0)!=(k|0)){continue}break}}ca=b+132|0;O=b+148|0;i:{if(r[b+224|0]&2){s=x(u[b+212>>2]/u[b+208>>2]);j=x(x(1)-s);e=R?j:s;j:{if(e>x(.5)^1){break j}d=r[b+28|0];if(d&8){break j}o[b+28|0]=d|8;if(!q[b+196>>2]){break j}T=q[q[b+76>>2]+28>>2];if((T|0)<1){break j}m=q[b+180>>2];i=(q[b+184>>2]-m|0)/24|0;p=0;while(1){if((i|0)==(p|0)){break d}h=m+w(p,24)|0;v=q[h+20>>2];q[h+16>>2]=q[v+16>>2];d=h;if(q[v+24>>2]){g=q[v+20>>2]}else{g=136608}u[d>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];p=p+1|0;if((T|0)!=(p|0)){continue}break}}vy(b,b,c,e);v=b+180|0;xy(b,ca,ba,O,v,R?s=x(.5),$,f+316|0,x(1));e=R?s:j;k:{if(e>x(.5)^1){break k}d=r[b+60|0];if(d&8){break k}o[b+60|0]=d|8;if(!q[b+196>>2]){break k}T=q[q[b+76>>2]+28>>2];if((T|0)<1){break k}m=q[b+180>>2];i=(q[b+184>>2]-m|0)/24|0;p=0;while(1){if((i|0)==(p|0)){break d}h=m+w(p,24)|0;H=q[h+20>>2];q[h+16>>2]=q[H+16>>2];d=h;if(q[H+24>>2]){g=q[H+20>>2]}else{g=136608}u[d>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];p=p+1|0;if((T|0)!=(p|0)){continue}break}}d=b+32|0;vy(b,d,c,e);xy(d,ca,ba,O,v,R?s>=x(.5):s>2]<1){break l}h=a+156|0;U=q[a+148>>2];d=q[h>>2]-U>>2;ba=q[b+108>>2];O=q[b+104>>2];R=ba-O|0;g=R>>2;if(d>>>0>>0){if(o[a+160|0]&1){break c}vi(g,4,a+148|0,h,a+152|0);U=q[a+148>>2];d=q[a+156>>2]-U>>2}if(d>>>0>>0){break b}q[a+152>>2]=(g<<2)+U;m:{if((R|0)<1){d=0;k=0;break m}d=O-ba|0;$=((d|0)>(R|0)?d:R)>>>2|0;H=$>>>0>1?$:1;h=q[b+108>>2];i=q[b+104>>2];m=h-i|0;d=(m|0)>-1?m:-1;p=(d|0)<1?d:1;d=i-h|0;d=w(p,((d|0)>(m|0)?d:m)>>>2|0);k=0;while(1){if((d|0)==(k|0)){break d}q[i+(k<<2)>>2]=-1;k=k+1|0;if((H|0)!=(k|0)){continue}break}d=q[a+136>>2];v=q[a+132>>2];h=d-v|0;a=(h|0)>-1?h:-1;i=(a|0)<1?a:1;a=v-d|0;T=w(i,((a|0)>(h|0)?a:h)>>>2|0);m=q[b+104>>2];i=q[b+108>>2]-m>>2;p=0;k=0;d=0;while(1){if((p|0)==(T|0)){break d}h=q[v+(p<<2)>>2];n:{if((h|0)==1101037){p=p+1|0;break n}if((d|0)!=(p|0)){a=k>>>0>$>>>0?k:$;while(1){if((a|0)==(k|0)){break d}q[(k<<2)+U>>2]=d;k=k+1|0;d=d+1|0;if((p|0)!=(d|0)){continue}break}}a=h+p|0;if(a>>>0>=i>>>0){break d}q[m+(a<<2)>>2]=p;p=p+1|0;d=p}if((p|0)!=(H|0)){continue}break}}if((d|0)<(g|0)){a=O-ba|0;h=((a|0)>(R|0)?a:R)>>>2|0;a=(R|0)>-1?R:-1;h=w(h,(a|0)<1?a:1);a=h>>>0>>0?k:h;while(1){if((a|0)==(k|0)){break d}q[(k<<2)+U>>2]=d;k=k+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if((R|0)<1){break l}m=q[b+104>>2];i=q[b+108>>2]-m>>2;d=g;while(1){a=d-1|0;if(a>>>0>=i>>>0){break d}h=m+(a<<2)|0;if(q[h>>2]==-1){k=k-1|0;if(g>>>0<=k>>>0){break d}q[h>>2]=q[(k<<2)+U>>2]}h=(d|0)>1;d=a;if(h){continue}break}}if(ea){i=da>>>0>1?da:1;h=q[b+132>>2];g=(q[b+136>>2]-h|0)/48|0;p=0;while(1){if((g|0)==(p|0)){break d}d=h+w(p,48)|0;if(r[b+224|0]&2){a=d;c=u[a>>2];s=u[a+4>>2];n=u[a+8>>2];l=u[a+12>>2];e=x(x(x(x(c*c)+x(s*s))+x(n*n))+x(l*l));if(!(e>x(.0010000000474974513)^1)){e=x(x(1)/x(F(e)));l=x(l*e);n=x(n*e);s=x(s*e);c=x(c*e)}u[a>>2]=c;u[d+4>>2]=s;u[d+8>>2]=n;u[d+12>>2]=l}a=q[W>>2];if((q[W+4>>2]-a|0)/176>>>0<=p>>>0){break a}a=a+w(p,176)|0;e=u[a+20>>2];c=u[a+24>>2];u[d+16>>2]=u[a+16>>2]+u[d+16>>2];u[d+24>>2]=c+u[d+24>>2];u[d+20>>2]=e+u[d+20>>2];l=u[a+4>>2];n=u[d+8>>2];j=u[a+12>>2];e=u[d>>2];X=u[a>>2];Y=u[d+12>>2];Z=u[a+8>>2];c=u[d+4>>2];u[d>>2]=x(x(l*n)+x(x(j*e)+x(X*Y)))-x(Z*c);u[d+12>>2]=x(x(x(j*Y)-x(X*e))-x(l*c))-x(Z*n);u[d+8>>2]=x(x(X*c)+x(x(j*n)+x(Z*Y)))-x(l*e);u[d+4>>2]=x(x(Z*e)+x(x(j*c)+x(l*Y)))-x(X*n);c=u[a+32>>2];s=u[a+36>>2];u[d+40>>2]=u[a+40>>2]*u[d+40>>2];u[d+36>>2]=s*u[d+36>>2];u[d+32>>2]=c*u[d+32>>2];p=p+1|0;if((i|0)!=(p|0)){continue}break}}if(!q[aa+12>>2]){break f}o:{if(o[842740]&1){break o}if(!ui(842740)){break o}if(r[852367]){a=Ri(136624)}else{a=-1}q[210684]=a;ti(842740)}p:{if(o[842748]&1){break p}if(!ui(842748)){break p}if(r[852367]){a=Yi(137177,2)}else{a=0}q[210686]=a;ti(842748)}a=q[210684];q:{if((a|0)!=-1){Qi(f+296|0,a,137177,q[210686]);break q}q[f+296>>2]=0}r:{T=q[aa+12>>2];if(!T){break r}d=0;s:{t:{while(1){v=q[aa+8>>2]+(d<<5)|0;i=v;g=q[i+8>>2];a=q[b+132>>2];if(g>>>0>=(q[b+136>>2]-a|0)/48>>>0){break d}a=a+w(g,48)|0;u[f+192>>2]=u[a>>2];u[f+196>>2]=u[a+4>>2];u[f+200>>2]=u[a+8>>2];u[f+204>>2]=u[a+12>>2];u[f+208>>2]=u[a+16>>2];u[f+212>>2]=u[a+20>>2];u[f+216>>2]=u[a+24>>2];u[f+224>>2]=u[a+32>>2];u[f+228>>2]=u[a+36>>2];u[f+232>>2]=u[a+40>>2];lu(f+240|0,W,ca,f+192|0,g);g=q[v+16>>2];a=q[b+132>>2];if(g>>>0>=(q[b+136>>2]-a|0)/48>>>0){break d}a=a+w(g,48)|0;u[f+96>>2]=u[a>>2];u[f+100>>2]=u[a+4>>2];u[f+104>>2]=u[a+8>>2];u[f+108>>2]=u[a+12>>2];u[f+112>>2]=u[a+16>>2];u[f+116>>2]=u[a+20>>2];u[f+120>>2]=u[a+24>>2];u[f+128>>2]=u[a+32>>2];u[f+132>>2]=u[a+36>>2];u[f+136>>2]=u[a+40>>2];lu(f+144|0,W,ca,f+96|0,g);a=q[i+8>>2];if(a>>>0>=t[aa+4>>2]){break t}m=q[q[aa>>2]+w(a,80)>>2];u:{if((m|0)==65535){z=u[f+168>>2];j=u[f+164>>2];l=u[f+160>>2];break u}a=q[b+132>>2];if(m>>>0>=(q[b+136>>2]-a|0)/48>>>0){break d}a=a+w(m,48)|0;u[f>>2]=u[a>>2];u[f+4>>2]=u[a+4>>2];u[f+8>>2]=u[a+8>>2];u[f+12>>2]=u[a+12>>2];u[f+16>>2]=u[a+16>>2];u[f+20>>2]=u[a+20>>2];u[f+24>>2]=u[a+24>>2];u[f+32>>2]=u[a+32>>2];u[f+36>>2]=u[a+36>>2];u[f+40>>2]=u[a+40>>2];lu(f+48|0,W,ca,f,m);K=u[f+80>>2];if(K==x(0)){break s}P=u[f+84>>2];if(P==x(0)){break s}S=u[f+88>>2];if(S==x(0)){break s}s=u[f+72>>2];V=u[f+64>>2];_=u[f+68>>2];D=u[f+56>>2];I=u[f+52>>2];c=u[f+60>>2];E=u[f+48>>2];Q=u[f+264>>2];l=u[f+260>>2];n=u[f+256>>2];N=u[f+244>>2];C=u[f+248>>2];z=u[f+240>>2];M=u[f+252>>2];j=u[f+272>>2];e=u[f+276>>2];Z=x(x(1)/S);u[f+280>>2]=Z*u[f+280>>2];Y=x(x(1)/P);u[f+276>>2]=e*Y;X=x(x(1)/K);u[f+272>>2]=j*X;u[f+240>>2]=x(D*N)+x(x(x(c*z)-x(E*M))-x(I*C));u[f+252>>2]=x(D*C)+x(x(I*N)+x(x(E*z)+x(c*M)));u[f+248>>2]=x(I*z)+x(x(x(c*C)-x(D*M))-x(E*N));u[f+244>>2]=x(E*C)+x(x(x(c*N)-x(I*M))-x(D*z));C=x(x(x(I*s)-x(c*V))-x(D*_));z=x(x(x(E*_)-x(c*s))-x(I*V));M=x(x(D*s)+x(x(E*V)+x(I*_)));S=x(x(x(D*V)-x(c*_))-x(E*s));K=x(Z*x(x(x(I*C)+x(x(c*z)-x(D*M)))-x(E*S)));N=x(Y*l);P=x(X*n);e=x(Z*Q);l=x(x(D*N)+x(x(c*P)-x(I*e)));n=x(x(I*P)+x(x(c*e)-x(E*N)));V=x(-I);j=x(x(x(N*V)-x(E*P))-x(D*e));e=x(x(x(c*N)-x(D*P))+x(E*e));u[f+264>>2]=K+x(x(x(I*l)+x(x(c*n)-x(D*j)))-x(E*e));P=x(Y*x(x(x(x(c*S)-x(I*M))+x(E*z))-x(D*C)));u[f+260>>2]=P+x(x(x(x(c*e)-x(I*j))+x(E*n))-x(D*l));S=x(X*x(x(x(D*S)+x(x(c*C)-x(E*M)))-x(I*z)));u[f+256>>2]=S+x(x(x(D*e)+x(x(c*l)-x(E*j)))-x(I*n));Q=u[f+168>>2];l=u[f+164>>2];n=u[f+160>>2];N=u[f+152>>2];C=u[f+148>>2];z=u[f+144>>2];M=u[f+156>>2];j=u[f+176>>2];e=u[f+180>>2];u[f+184>>2]=Z*u[f+184>>2];u[f+180>>2]=Y*e;u[f+176>>2]=X*j;u[f+156>>2]=x(D*N)+x(x(I*C)+x(x(E*z)+x(c*M)));u[f+152>>2]=x(I*z)+x(x(x(c*N)-x(D*M))-x(E*C));u[f+148>>2]=x(E*N)+x(x(x(c*C)-x(I*M))-x(D*z));u[f+144>>2]=x(D*C)+x(x(x(c*z)-x(E*M))-x(I*N));C=K;K=x(Y*l);j=x(X*n);e=x(Z*Q);Q=x(x(D*K)+x(x(c*j)-x(I*e)));l=x(x(I*j)+x(x(c*e)-x(E*K)));n=x(x(x(K*V)-x(E*j))-x(D*e));e=x(x(x(c*K)-x(D*j))+x(E*e));z=x(C+x(x(x(I*Q)+x(x(c*l)-x(D*n)))-x(E*e)));u[f+168>>2]=z;j=x(P+x(x(x(x(c*e)-x(I*n))+x(E*l))-x(D*Q)));u[f+164>>2]=j;l=x(S+x(x(x(D*e)+x(x(c*Q)-x(E*n)))-x(I*l)));u[f+160>>2]=l;_=x(-D);s=x(-E)}k=q[b+164>>2];a=(q[b+168>>2]-k|0)/48|0;if(d>>>0>=a>>>0){break d}M=u[f+260>>2];K=u[f+256>>2];h=w(d,48);H=h+k|0;v:{if(u[H>>2]==x(0)){break v}g=q[H+32>>2];w:{if(g){ji[g|0](f+48|0,H);z=u[f+56>>2];n=u[f+52>>2];k=q[b+164>>2];a=(q[b+168>>2]-k|0)/48|0;e=u[f+48>>2];break w}q[H+40>>2]=0;q[H+44>>2]=0;q[H>>2]=0;n=j;e=l}if(a>>>0<=d>>>0){break d}N=u[h+k>>2];if((m|0)!=65535){C=x(X*e);z=x(Z*z);e=x(Y*n);P=x(x(x(c*C)+x(V*z))-x(_*e));S=x(x(x(_*C)+x(c*e))-x(s*z));Q=x(x(_*z)+x(x(s*C)+x(V*e)));e=x(x(x(s*e)+x(c*z))-x(V*C));n=x(x(_*P)+x(x(x(c*S)+x(V*Q))-x(s*e)));e=x(x(V*e)+x(x(x(s*Q)+x(c*P))-x(_*S)))}if(N==x(1)){l=e;j=n;break v}j=x(j+x(N*x(n-j)));l=x(l+x(N*x(e-l)))}g=q[b+148>>2];a=q[b+152>>2]-g>>3;O=q[v+12>>2];H=q[i+8>>2];x:{if((O|0)==(H|0)){if(a>>>0<=d>>>0){break d}e=u[g+(d<<3)>>2];if(e==x(0)){break x}a=q[W>>2];if(O>>>0>=(q[W+4>>2]-a|0)/176>>>0){break a}m=q[b+132>>2];if(O>>>0>=(q[b+136>>2]-m|0)/48>>>0){break d}a=a+w(O,176)|0;Io(f+48|0,u[a+8>>2],u[a+4>>2],u[a>>2],u[a+12>>2]);n=e;j=yo(x(j-M),x(l-K));e=x(+u[f+56>>2]*.017453292519943295);e=x(x(x(n*x(j-e))+e)*x(.5));L=+x(e+x(-1.5707963705062866))*10430.378350470453;y:{if(y(L)<2147483648){h=~~L;break y}h=-2147483648}i=q[71806];l=u[(((h>>>9|0)+1&127)<<2)+i>>2];n=u[i+(h>>>7&508)>>2];L=+e*10430.378350470453;z:{if(y(L)<2147483648){a=~~L;break z}a=-2147483648}e=u[(((a>>>9|0)+1&127)<<2)+i>>2];j=u[i+(a>>>7&508)>>2];g=m+w(O,48)|0;q[g>>2]=0;q[g+4>>2]=0;K=e;e=x(x(a&511)*x(.001953125));u[g+12>>2]=x(K*e)+x(j*x(x(1)-e));e=x(x(h&511)*x(.001953125));u[g+8>>2]=x(l*e)+x(n*x(x(1)-e));break x}if(a>>>0<=d>>>0){break d}g=g+(d<<3)|0;z=u[g>>2];if(z==x(0)){break x}i=q[W>>2];a=(q[W+4>>2]-i|0)/176|0;if(a>>>0<=H>>>0|a>>>0<=O>>>0){break a}m=q[b+132>>2];a=(q[b+136>>2]-m|0)/48|0;if(a>>>0<=H>>>0|a>>>0<=O>>>0){break d}h=r[g+4|0];g=i+w(O,176)|0;Io(f+48|0,u[g+8>>2],u[g+4>>2],u[g>>2],u[g+12>>2]);n=u[f+56>>2];a=i+w(H,176)|0;Io(f+48|0,u[a+8>>2],u[a+4>>2],u[a>>2],u[a+12>>2]);e=u[f+56>>2];P=u[g+20>>2];Q=u[g+16>>2];S=yo(P,Q);a=q[v+12>>2];g=q[W>>2];if(a>>>0>=(q[W+4>>2]-g|0)/176>>>0){break a}C=x(j-M);M=x(l-K);v=m+w(O,48)|0;K=x(+n*.017453292519943295);n=x(+e*.017453292519943295);j=x(F(x(x(Q*Q)+x(P*P))));l=u[(g+w(a,176)|0)+164>>2];e=x(x(j+j)*l);if(!(e>>9|0)+1&127)<<2)+i>>2];n=u[i+(h>>>7&508)>>2];L=+e*10430.378350470453;B:{if(y(L)<2147483648){a=~~L;break B}a=-2147483648}e=u[(((a>>>9|0)+1&127)<<2)+i>>2];j=u[i+(a>>>7&508)>>2];q[v>>2]=0;K=e;e=x(x(a&511)*x(.001953125));u[v+12>>2]=x(K*e)+x(j*x(x(1)-e));q[v+4>>2]=0;e=x(x(h&511)*x(.001953125));u[v+8>>2]=x(l*e)+x(n*x(x(1)-e));break x}e=x(B(x(A(x(x(x(x(x(M*M)+x(C*C))-x(j*j))-x(l*l))/e),x(1))),x(-1)));j=x(j+x(l*e));e=er(e);Q=h?e:x(-e);e=x(l*nk(Q));e=x(x(z*x(x(yo(x(x(C*j)-x(M*e)),x(x(M*j)+x(C*e)))-S)-n))*x(.5));L=+x(e+x(-1.5707963705062866))*10430.378350470453;C:{if(y(L)<2147483648){i=~~L;break C}i=-2147483648}a=q[71806];l=u[(((i>>>9|0)+1&127)<<2)+a>>2];n=u[a+(i>>>7&508)>>2];L=+e*10430.378350470453;D:{if(y(L)<2147483648){g=~~L;break D}g=-2147483648}e=u[(((g>>>9|0)+1&127)<<2)+a>>2];j=u[a+(g>>>7&508)>>2];h=m+w(H,48)|0;q[h>>2]=0;q[h+4>>2]=0;C=e;e=x(x(g&511)*x(.001953125));u[h+12>>2]=x(C*e)+x(j*x(x(1)-e));e=x(x(i&511)*x(.001953125));u[h+8>>2]=x(l*e)+x(n*x(x(1)-e));e=x(x(z*x(x(S+Q)-K))*x(.5));L=+x(e+x(-1.5707963705062866))*10430.378350470453;E:{if(y(L)<2147483648){i=~~L;break E}i=-2147483648}l=u[(((i>>>9|0)+1&127)<<2)+a>>2];n=u[a+(i>>>7&508)>>2];L=+e*10430.378350470453;F:{if(y(L)<2147483648){g=~~L;break F}g=-2147483648}e=u[(g>>>7&508)+a>>2];j=u[a+(((g>>>9|0)+1&127)<<2)>>2];q[v>>2]=0;q[v+4>>2]=0;K=e;e=x(x(g&511)*x(.001953125));u[v+12>>2]=x(K*x(x(1)-e))+x(e*j);e=x(x(i&511)*x(.001953125));u[v+8>>2]=x(e*l)+x(n*x(x(1)-e))}d=d+1|0;if((T|0)==(d|0)){break r}if(t[aa+12>>2]>d>>>0){continue}break}break e}J(136761,136773,68,136801);G()}J(137180,137293,281,137376);G()}if(!q[f+296>>2]){break f}Pi(f+296|0)}fi=f+320|0;return}J(136761,136773,76,136801);G()}J(136820,136831,447,136801);G()}J(136910,136831,461,136985);G()}J(136997,136831,474,137016);G()}J(136820,136831,454,136801);G()}function t3(a,b,c,d,e){var f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=x(0),m=x(0),n=x(0),p=x(0),s=x(0),v=0,y=0,z=0,A=0,B=x(0),C=0,D=x(0),E=x(0),H=x(0),I=0,K=x(0),L=0,M=0,N=0,O=0,P=0,Q=x(0),R=x(0),S=0,T=0,U=0,V=x(0),W=x(0),X=x(0),Y=x(0),Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=x(0),ea=x(0),fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;v=fi+ -64|0;fi=v;a:{b:{c:{d:{e:{f:{g:{f=q[b+196>>2];h:{if(!f|!(r[b+224|0]&8)){break h}i:{switch(q[f+12>>2]){case 1:g=q[b+180>>2];if((g|0)==q[b+184>>2]){break e}g=q[g+16>>2];if((g|0)==-1){break h}f=q[f+8>>2];if(g>>>0>=t[f+12>>2]){break d}if(q[q[f+8>>2]+(g<<2)>>2]==-1){break h}break;case 0:break h;default:break i}}U=a+68|0;j:{f=q[b+72>>2];if(!f){N=a+72|0;q[N>>2]=q[a+68>>2];break j}y=q[f+4>>2];N=a+72|0;q[N>>2]=q[a+68>>2];if(!y){break j}f=q[b+84>>2];if(q[f+4>>2]==q[f>>2]){break j}L=a+84|0;g=a+92|0;A=q[a+84>>2];f=q[g>>2]-A>>6;if(f>>>0>>0){if(o[a+96|0]&1){break c}vi(y,64,L,g,a+88|0);A=q[a+84>>2];f=q[a+92>>2]-A>>6}if(f>>>0>>0){break b}q[a+88>>2]=(y<<6)+A;k=q[a+68>>2];f=q[a+76>>2]-k>>6;z=q[b+220>>2];if(f>>>0>>0){if(o[a+80|0]&1){break c}vi(z,64,U,a+76|0,N);k=q[U>>2];g=q[a+76>>2]-k>>6;if(g>>>0>>0){break b}q[N>>2]=(z<<6)+k;while(1){h=(f<<6)+k|0;q[h+4>>2]=0;q[h+8>>2]=0;q[h>>2]=1065353216;q[h+12>>2]=0;q[h+16>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+20>>2]=1065353216;q[h+32>>2]=0;q[h+36>>2]=0;q[h+44>>2]=0;q[h+48>>2]=0;q[h+40>>2]=1065353216;q[h+52>>2]=0;q[h+56>>2]=0;q[h+60>>2]=1065353216;f=f+1|0;if(z>>>0>f>>>0){continue}break}f=g}if(f>>>0>>0){break b}q[N>>2]=(z<<6)+k;g=q[b+72>>2];k:{if(r[g+16|0]){k=a+60|0;z=q[a+52>>2];f=(q[k>>2]-z|0)/48|0;if(f>>>0>>0){if(o[a- -64|0]&1){break c}vi(y,48,a+52|0,k,a+56|0);z=q[a+52>>2];f=(q[a+60>>2]-z|0)/48|0}if(f>>>0>>0){break b}f=w(y,48)+z|0;q[a+56>>2]=f;A=q[g+4>>2];if(A){P=q[g>>2];C=q[b+132>>2];I=(q[b+136>>2]-C|0)/48|0;g=0;while(1){if((g|0)==(I|0)){break a}if((g|0)==(y|0)){break e}f=w(g,48);k=f+z|0;f=f+C|0;u[k>>2]=u[f>>2];u[k+4>>2]=u[f+4>>2];u[k+8>>2]=u[f+8>>2];u[k+12>>2]=u[f+12>>2];u[k+16>>2]=u[f+16>>2];u[k+20>>2]=u[f+20>>2];u[k+24>>2]=u[f+24>>2];u[k+32>>2]=u[f+32>>2];u[k+36>>2]=u[f+36>>2];u[k+40>>2]=u[f+40>>2];if(g){S=P+w(g,80)|0;h=q[S>>2];l:{if(r[S+64|0]){if(h>>>0>=y>>>0){break e}h=w(h,48)+z|0;m=u[h>>2];l=u[h+8>>2];E=u[h+32>>2];j=x(u[f+16>>2]*E);p=u[h+12>>2];V=u[h+36>>2];s=x(u[f+20>>2]*V);W=u[h+40>>2];i=x(u[f+24>>2]*W);B=x(x(x(l*j)+x(p*s))-x(m*i));n=u[h+4>>2];D=x(x(l*i)+x(x(m*j)+x(n*s)));H=x(x(x(m*s)+x(p*i))-x(n*j));j=x(x(x(p*j)+x(n*i))-x(l*s));K=x(u[h+24>>2]+x(x(m*B)+x(x(x(l*D)+x(p*H))-x(n*j))));Q=x(u[h+20>>2]+x(x(l*j)+x(x(x(p*B)+x(n*D))-x(m*H))));D=x(u[h+16>>2]+x(x(n*H)+x(x(x(m*D)+x(p*j))-x(l*B))));j=u[f+12>>2];s=u[f>>2];i=u[f+4>>2];B=u[f+8>>2];H=x(x(x(x(p*j)-x(m*s))-x(n*i))-x(l*B));X=x(x(x(m*i)+x(x(p*B)+x(l*j)))-x(n*s));Y=x(x(x(l*s)+x(x(p*i)+x(n*j)))-x(m*B));m=x(x(x(n*B)+x(x(p*s)+x(m*j)))-x(l*i));p=x(W*u[f+40>>2]);n=x(V*u[f+36>>2]);l=x(E*u[f+32>>2]);break l}if(h>>>0>=y>>>0){break e}h=w(h,48)+z|0;m=u[h>>2];l=u[h+8>>2];j=x(u[f+16>>2]*u[h+32>>2]);p=u[h+12>>2];s=x(u[f+20>>2]*u[h+36>>2]);i=x(u[f+24>>2]*u[h+40>>2]);B=x(x(x(l*j)+x(p*s))-x(m*i));n=u[h+4>>2];D=x(x(l*i)+x(x(m*j)+x(n*s)));H=x(x(x(m*s)+x(p*i))-x(n*j));j=x(x(x(p*j)+x(n*i))-x(l*s));K=x(u[h+24>>2]+x(x(m*B)+x(x(x(l*D)+x(p*H))-x(n*j))));Q=x(u[h+20>>2]+x(x(l*j)+x(x(x(p*B)+x(n*D))-x(m*H))));D=x(u[h+16>>2]+x(x(n*H)+x(x(x(m*D)+x(p*j))-x(l*B))));j=u[f+12>>2];s=u[f>>2];i=u[f+4>>2];B=u[f+8>>2];H=x(x(x(x(p*j)-x(m*s))-x(n*i))-x(l*B));X=x(x(x(m*i)+x(x(p*B)+x(l*j)))-x(n*s));Y=x(x(x(l*s)+x(x(p*i)+x(n*j)))-x(m*B));m=x(x(x(n*B)+x(x(p*s)+x(m*j)))-x(l*i));p=u[f+40>>2];n=u[f+36>>2];l=u[f+32>>2]}u[k>>2]=m;u[k+4>>2]=Y;u[k+8>>2]=X;u[k+12>>2]=H;u[k+16>>2]=D;u[k+20>>2]=Q;u[k+24>>2]=K;u[k+32>>2]=l;u[k+36>>2]=n;u[k+40>>2]=p}g=g+1|0;if((A|0)!=(g|0)){continue}break}z=q[a+52>>2];f=q[a+56>>2]}JF(z,f,L);break k}JF(q[b+132>>2],q[b+136>>2],L);y=q[g+4>>2];if(!y){break k}L=q[g>>2];f=0;while(1){k=q[a+84>>2];h=q[a+88>>2]-k>>6;if(h>>>0<=f>>>0){break a}m:{if(!f){break m}g=k+(f<<6)|0;z=g;A=L+w(f,80)|0;if(r[A+64|0]){C=h;h=q[A>>2];if(C>>>0<=h>>>0){break e}Dk(v,k+(h<<6)|0,g);u[g>>2]=u[v>>2];u[g+4>>2]=u[v+4>>2];u[g+8>>2]=u[v+8>>2];u[g+12>>2]=u[v+12>>2];u[g+16>>2]=u[v+16>>2];u[g+20>>2]=u[v+20>>2];u[g+24>>2]=u[v+24>>2];u[g+28>>2]=u[v+28>>2];u[g+32>>2]=u[v+32>>2];u[g+36>>2]=u[v+36>>2];u[g+40>>2]=u[v+40>>2];u[g+44>>2]=u[v+44>>2];u[g+48>>2]=u[v+48>>2];u[g+52>>2]=u[v+52>>2];u[g+56>>2]=u[v+56>>2];u[z+60>>2]=u[v+60>>2];break m}C=h;h=q[A>>2];if(C>>>0<=h>>>0){break e}m=u[g+32>>2];l=u[g+16>>2];p=u[g+40>>2];n=u[g+36>>2];j=u[g+24>>2];s=u[g+20>>2];k=k+(h<<6)|0;i=u[k+44>>2];B=u[k+40>>2];D=u[k+36>>2];H=u[k+32>>2];K=u[k+28>>2];Q=u[k+24>>2];X=u[k+20>>2];Y=u[k+16>>2];V=u[g+8>>2];W=x(V*x(0));da=u[g+4>>2];ea=x(da*x(0));E=u[k>>2];R=x(E*E);E=u[k+4>>2];R=x(R+x(E*E));E=u[k+8>>2];R=x(R+x(E*E));E=u[k+12>>2];E=x(x(1)/x(F(x(R+x(E*E)))));R=u[g>>2];u[g>>2]=W+x(ea+x(E*R));K=x(x(1)/x(F(x(x(x(x(Y*Y)+x(X*X))+x(Q*Q))+x(K*K)))));Q=x(R*x(0));u[g+4>>2]=W+x(x(da*K)+Q);i=x(x(1)/x(F(x(x(x(x(H*H)+x(D*D))+x(B*B))+x(i*i)))));u[g+8>>2]=x(ea+Q)+x(V*i);B=x(j*x(0));D=x(s*x(0));u[g+16>>2]=B+x(D+x(l*E));l=x(l*x(0));u[g+20>>2]=B+x(l+x(s*K));u[g+24>>2]=x(l+D)+x(j*i);l=x(p*x(0));j=x(n*x(0));u[g+32>>2]=l+x(j+x(m*E));m=x(m*x(0));u[g+36>>2]=l+x(m+x(n*K));u[g+40>>2]=x(m+j)+x(p*i);Dk(v,k,g);u[g>>2]=u[v>>2];u[g+4>>2]=u[v+4>>2];u[g+8>>2]=u[v+8>>2];u[g+12>>2]=u[v+12>>2];u[g+16>>2]=u[v+16>>2];u[g+20>>2]=u[v+20>>2];u[g+24>>2]=u[v+24>>2];u[g+28>>2]=u[v+28>>2];u[g+32>>2]=u[v+32>>2];u[g+36>>2]=u[v+36>>2];u[g+40>>2]=u[v+40>>2];u[g+44>>2]=u[v+44>>2];u[g+48>>2]=u[v+48>>2];u[g+52>>2]=u[v+52>>2];u[g+56>>2]=u[v+56>>2];u[z+60>>2]=u[v+60>>2]}f=f+1|0;if((y|0)!=(f|0)){continue}break}}k=q[a+84>>2];z=q[a+88>>2];n:{if((k|0)==(z|0)){A=0;break n}h=q[b+68>>2];f=0;while(1){z=q[h>>2];if((q[h+4>>2]-z|0)/176>>>0<=f>>>0){break a}g=(f<<6)+k|0;Dk(v,g,(z+w(f,176)|0)+96|0);u[g>>2]=u[v>>2];u[g+4>>2]=u[v+4>>2];u[g+8>>2]=u[v+8>>2];u[g+12>>2]=u[v+12>>2];u[g+16>>2]=u[v+16>>2];u[g+20>>2]=u[v+20>>2];u[g+24>>2]=u[v+24>>2];u[g+28>>2]=u[v+28>>2];u[g+32>>2]=u[v+32>>2];u[g+36>>2]=u[v+36>>2];u[g+40>>2]=u[v+40>>2];u[g+44>>2]=u[v+44>>2];u[g+48>>2]=u[v+48>>2];u[g+52>>2]=u[v+52>>2];u[g+56>>2]=u[v+56>>2];u[g+60>>2]=u[v+60>>2];f=f+1|0;z=q[a+88>>2];k=q[a+84>>2];A=z-k|0;if(f>>>0>6>>>0){continue}break}}f=q[b+84>>2];g=q[f+4>>2];y=q[f>>2];if((g|0)==(y|0)){break j}f=g-y|0;h=(f|0)>-1?f:-1;g=y-g|0;f=w((h|0)<1?h:1,((f|0)<(g|0)?g:f)>>>2|0);L=f>>>0>1?f:1;f=k-z|0;g=((f|0)>(A|0)?f:A)>>>6|0;f=(A|0)>-1?A:-1;z=w(g,(f|0)<1?f:1);A=q[U>>2];P=q[N>>2]-A>>6;g=0;o:{while(1){if((g|0)!=(z|0)){f=q[y+(g<<2)>>2];if(f>>>0>=P>>>0){break o}f=A+(f<<6)|0;h=(g<<6)+k|0;u[f>>2]=u[h>>2];u[f+4>>2]=u[h+4>>2];u[f+8>>2]=u[h+8>>2];u[f+12>>2]=u[h+12>>2];u[f+16>>2]=u[h+16>>2];u[f+20>>2]=u[h+20>>2];u[f+24>>2]=u[h+24>>2];u[f+28>>2]=u[h+28>>2];u[f+32>>2]=u[h+32>>2];u[f+36>>2]=u[h+36>>2];u[f+40>>2]=u[h+40>>2];u[f+44>>2]=u[h+44>>2];u[f+48>>2]=u[h+48>>2];u[f+52>>2]=u[h+52>>2];u[f+56>>2]=u[h+56>>2];u[f+60>>2]=u[h+60>>2];g=g+1|0;if((L|0)!=(g|0)){continue}break j}break}break a}break e}fa=q[q[b+76>>2]+28>>2];if((fa|0)>=1){L=a+116|0;P=a+100|0;ga=a+120|0;S=a+124|0;ha=a+104|0;ca=a+108|0;while(1){f=q[b+104>>2];if(q[b+108>>2]-f>>2>>>0<=Z>>>0){break e}f=q[f+(Z<<2)>>2];g=q[b+180>>2];if(f>>>0>=(q[b+184>>2]-g|0)/24>>>0){break e}g=g+w(f,24)|0;f=q[g+16>>2];p:{if((f|0)==-1){break p}g=q[g+20>>2];if(f>>>0>=t[g+12>>2]){break d}f=q[q[g+8>>2]+(f<<2)>>2];if((f|0)==-1){break p}g=q[b+76>>2];if(f>>>0>=t[g+12>>2]){break g}y=q[g+8>>2]+w(f,92)|0;T=y;k=q[P>>2];f=q[ca>>2]-k>>4;h=q[y+28>>2];if(f>>>0>>0){if(o[a+112|0]&1){break c}vi(h,16,P,ca,ha);k=q[P>>2];f=q[ca>>2]-k>>4}if(f>>>0>>0){break b}z=h<<4;q[ha>>2]=z+k;if(q[y+36>>2]){g=q[L>>2];f=q[S>>2]-g>>4;if(f>>>0>>0){if(o[a+128|0]&1){break c}vi(h,16,L,S,ga);g=q[L>>2];f=q[S>>2]-g>>4}if(f>>>0>>0){break b}q[ga>>2]=g+z;k=q[P>>2]}g=q[y+4>>2];f=(g>>>0)/3|0;A=q[y>>2];h=q[L>>2];q:{r:{_=q[y+80>>2];if(_){z=q[U>>2];C=q[N>>2]-z|0;if(C){break r}}if(g>>>0<3){break q}z=f>>>0>1?f:1;g=0;f=k;while(1){n=u[c+48>>2];j=u[c+32>>2];s=u[c>>2];i=u[c+16>>2];B=u[c+52>>2];D=u[c+36>>2];H=u[c+4>>2];K=u[c+20>>2];m=u[A>>2];l=u[A+4>>2];p=u[A+8>>2];u[f+8>>2]=u[c+56>>2]+x(x(x(m*u[c+8>>2])+x(l*u[c+24>>2]))+x(p*u[c+40>>2]));u[f+4>>2]=B+x(x(x(m*H)+x(l*K))+x(p*D));u[f>>2]=n+x(x(x(m*s)+x(l*i))+x(p*j));f=f+12|0;A=A+12|0;g=g+1|0;if((z|0)!=(g|0)){continue}break}break q}if(g>>>0<3){break q}C=C>>6;$=q[y+68>>2];aa=q[y+76>>2];ba=f>>>0>1?f:1;I=0;g=k;while(1){m=x(0);l=x(0);p=x(0);f=I<<4;O=f+$|0;i=u[O>>2];s:{if(i==x(0)){break s}M=f+aa|0;f=q[M>>2];if(f>>>0>=C>>>0){break a}f=z+(f<<6)|0;n=u[A>>2];j=u[A+4>>2];s=u[A+8>>2];m=x(x(i*x(u[f+48>>2]+x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2]))))+x(0));p=x(x(i*x(u[f+56>>2]+x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2]))))+x(0));l=x(x(i*x(u[f+52>>2]+x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2]))))+x(0));i=u[O+4>>2];if(i==x(0)){break s}f=q[M+4>>2];if(f>>>0>=C>>>0){break a}f=z+(f<<6)|0;m=x(m+x(i*x(u[f+48>>2]+x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2])))));p=x(p+x(i*x(u[f+56>>2]+x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2])))));l=x(l+x(i*x(u[f+52>>2]+x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2])))));i=u[O+8>>2];if(i==x(0)){break s}f=q[M+8>>2];if(f>>>0>=C>>>0){break a}f=z+(f<<6)|0;m=x(m+x(i*x(u[f+48>>2]+x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2])))));p=x(p+x(i*x(u[f+56>>2]+x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2])))));l=x(l+x(i*x(u[f+52>>2]+x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2])))));i=u[O+12>>2];if(i==x(0)){break s}f=q[M+12>>2];if(f>>>0>=C>>>0){break a}f=z+(f<<6)|0;m=x(m+x(i*x(u[f+48>>2]+x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2])))));p=x(p+x(i*x(u[f+56>>2]+x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2])))));l=x(l+x(i*x(u[f+52>>2]+x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2])))))}A=A+12|0;n=u[c+48>>2];j=u[c+32>>2];s=u[c>>2];i=u[c+16>>2];B=u[c+52>>2];D=u[c+36>>2];H=u[c+4>>2];K=u[c+20>>2];u[g+8>>2]=u[c+56>>2]+x(x(x(m*u[c+8>>2])+x(l*u[c+24>>2]))+x(p*u[c+40>>2]));u[g+4>>2]=B+x(x(x(m*H)+x(l*K))+x(p*D));u[g>>2]=n+x(x(x(m*s)+x(l*i))+x(p*j));g=g+12|0;I=I+1|0;if((ba|0)!=(I|0)){continue}break}}ba=q[y+36>>2];g=q[T+28>>2];t:{if(!ba){break t}$=q[y+32>>2];aa=q[y+8>>2];z=q[T+28>>2];u:{v:{if(_){C=q[U>>2];f=q[N>>2]-C|0;if(f){break v}}f=h;A=0;g=0;if(!z){break t}while(1){n=u[d+32>>2];j=u[d+16>>2];s=u[d>>2];i=u[d+36>>2];B=u[d+20>>2];D=u[d+4>>2];g=aa+w(q[$+(A<<2)>>2],12)|0;m=u[g>>2];l=u[g+4>>2];p=u[g+8>>2];u[f+8>>2]=x(x(m*u[d+8>>2])+x(l*u[d+24>>2]))+x(p*u[d+40>>2]);u[f+4>>2]=x(x(m*D)+x(l*B))+x(p*i);u[f>>2]=x(x(m*s)+x(l*j))+x(p*n);f=f+12|0;A=A+1|0;if((z|0)!=(A|0)){continue}break}break u}A=0;g=0;if(!z){break t}I=f>>6;_=q[y+24>>2];ja=q[y+68>>2];ka=q[y+76>>2];g=h;while(1){m=x(0);l=x(0);p=x(0);f=A<<2;M=q[f+_>>2]<<4;O=M+ja|0;i=u[O>>2];w:{if(i==x(0)){break w}M=M+ka|0;ia=q[M>>2];if(I>>>0<=ia>>>0){break a}T=aa+w(q[f+$>>2],12)|0;n=u[T>>2];f=C+(ia<<6)|0;j=u[T+4>>2];s=u[T+8>>2];m=x(x(i*x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2])))+x(0));p=x(x(i*x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2])))+x(0));l=x(x(i*x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2])))+x(0));i=u[O+4>>2];if(i==x(0)){break w}f=q[M+4>>2];if(f>>>0>=I>>>0){break a}f=C+(f<<6)|0;m=x(m+x(i*x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2]))));p=x(p+x(i*x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2]))));l=x(l+x(i*x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2]))));i=u[O+8>>2];if(i==x(0)){break w}f=q[M+8>>2];if(f>>>0>=I>>>0){break a}f=C+(f<<6)|0;m=x(m+x(i*x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2]))));p=x(p+x(i*x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2]))));l=x(l+x(i*x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2]))));i=u[O+12>>2];if(i==x(0)){break w}f=q[M+12>>2];if(f>>>0>=I>>>0){break a}f=C+(f<<6)|0;m=x(m+x(i*x(x(x(n*u[f>>2])+x(j*u[f+16>>2]))+x(s*u[f+32>>2]))));p=x(p+x(i*x(x(x(n*u[f+8>>2])+x(j*u[f+24>>2]))+x(s*u[f+40>>2]))));l=x(l+x(i*x(x(x(n*u[f+4>>2])+x(j*u[f+20>>2]))+x(s*u[f+36>>2]))))}n=u[d+32>>2];j=u[d>>2];s=u[d+16>>2];i=u[d+36>>2];B=u[d+4>>2];D=u[d+20>>2];u[g+8>>2]=x(x(m*u[d+8>>2])+x(l*u[d+24>>2]))+x(p*u[d+40>>2]);u[g+4>>2]=x(x(m*B)+x(l*D))+x(p*i);u[g>>2]=x(x(m*j)+x(l*s))+x(p*n);g=g+12|0;A=A+1|0;if((z|0)!=(A|0)){continue}break}}g=z}C=q[y+24>>2];z=C;z=q[y+44>>2]?q[y+40>>2]:z;A=q[y+16>>2];if(ba){f=0;if(!g){break p}while(1){I=f<<2;y=w(q[I+C>>2],12)+k|0;u[e>>2]=u[y>>2];u[e+4>>2]=u[y+4>>2];u[e+8>>2]=u[y+8>>2];y=q[z+I>>2]<<3;u[e+12>>2]=u[y+A>>2];u[e+16>>2]=u[A+(y|4)>>2];y=h+w(f,12)|0;u[e+20>>2]=u[y>>2];u[e+24>>2]=u[y+4>>2];u[e+28>>2]=u[y+8>>2];e=e+32|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break p}f=0;if(!g){break p}while(1){y=f<<2;h=w(q[y+C>>2],12)+k|0;u[e>>2]=u[h>>2];u[e+4>>2]=u[h+4>>2];u[e+8>>2]=u[h+8>>2];h=q[y+z>>2]<<3;u[e+12>>2]=u[h+A>>2];m=u[A+(h|4)>>2];q[e+28>>2]=1065353216;q[e+20>>2]=0;q[e+24>>2]=0;u[e+16>>2]=m;e=e+32|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}Z=Z+1|0;if((fa|0)!=(Z|0)){continue}break}}if(!e){break f}}fi=v- -64|0;return e}J(136761,136773,450,136801);G()}J(136635,136658,1477,136673);G()}J(136820,136831,447,136801);G()}J(136761,136773,402,136801);G()}J(136910,136831,461,136985);G()}J(136997,136831,474,137016);G()}J(136820,136831,454,136801);G()}function wn(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=fi+ -64|0;fi=h;m=r[a|0]&127;a:{if((m|0)==69){break a}y=r[m+91760|0];q[b+104>>2]=y;m=q[((y<<3)+87904|0)+4>>2];q[h+60>>2]=m;if((y|0)==8){o[b+112|0]=cl(a,h+60|0,8);o[b+113|0]=cl(a,h+60|0,8);o[b+114|0]=cl(a,h+60|0,8);o[b+115|0]=cl(a,h+60|0,8);e=1;if(!d){break a}o[b+118|0]=0;o[b+119|0]=(Zs(a,h+60|0)|0)!=0;c=cl(a,h+60|0,3);q[b+124>>2]=0;q[b+120>>2]=c;q[b+136>>2]=cl(a,h+60|0,2);q[b+140>>2]=cl(a,h+60|0,5);q[b+144>>2]=cl(a,h+60|0,5);a=cl(a,h+60|0,5);q[b+128>>2]=0;q[b+132>>2]=0;q[b+148>>2]=a;break a}b:{if(d){o[b+116|0]=(Zs(a,h+60|0)|0)!=0;d=b;g=7424>>>y&1;if(g){n=0}else{n=(Zs(a,h+60|0)|0)!=0}o[d+117|0]=n;o[b+118|0]=(Zs(a,h+60|0)|0)!=0;o[b+119|0]=(Zs(a,h+60|0)|0)!=0;q[b+120>>2]=cl(a,h+60|0,3);q[b+124>>2]=cl(a,h+60|0,3);d=b;if(g){n=0}else{n=cl(a,h+60|0,5)}q[d+128>>2]=n;if(y-8>>>0<=9){q[b+132>>2]=cl(a,h+60|0,8);break b}q[b+132>>2]=0;break b}q[h+60>>2]=m+r[y+91888|0]}n=1;c:{d:{e:{f:{u=y>>>0>16;m=1;g:{h:{i:{if(u){break i}if(!(1<>2]=d;n=0;break h}q[b+108>>2]=cl(a,h+60|0,5);n=0;m=2}j:{d=0;k:{if(u){break k}if(!(1<>2];if(d>>>0>18){break a}d=w(d,6)+86466|0;break g}d=q[b+108>>2];if(d>>>0>29){break a}d=s[(w(d,6)+86272|0)+2>>1]}e=d;t=1;switch(y-6|0){case 11:break e;case 0:case 5:case 7:break f;default:break c}}d=q[b+108>>2];g=m}if(d>>>0>10){break a}m=g;d=w(d,6)+86594|0}e=s[d>>1];t=1;break c}q[b+16>>2]=cl(a,h+60|0,2);t=2;break d}q[b+16>>2]=3;t=2}C=1}q[b+4>>2]=m;o[b+20|0]=C;q[b+8>>2]=e&65535;q[b+12>>2]=r[y+91920|0];q[b>>2]=r[y+88096|0];A=r[y+88128|0];f=q[w(A,12)+88256>>2];B=r[y+88224|0];v=w(B,m);k=v<<1;l:{m:{n:{o:{g=1497965>>>A&1;p:{if(!g){z=3;e=4;d=5;break p}if(1797559>>>A&1){break o}z=5;e=2;d=3}e=e+k|0;u=(e>>>0)/(d>>>0)|0;l=d>>>0>e>>>0;if(l){break n}i=g?7:8;e=u-1|0;j=k-w(e,d)|0;x=(j|0)==1;if(!g){if(x){g=0;while(1){q[(h+16|0)+(g<<2)>>2]=cl(a,h+60|0,(e|0)==(g|0)?2:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}x=j-2|0;D=(x<<2)+100100|0;g=0;while(1){j=(e|0)==(g|0)?8:i;q[(h+16|0)+(g<<2)>>2]=cl(a,h+60|0,(e|0)!=(g|0)|x>>>0>2?j:q[D>>2]);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}if(!(1797559>>>A&1)){j=x?3:(j|0)==2?5:7;g=0;while(1){q[(h+16|0)+(g<<2)>>2]=cl(a,h+60|0,(e|0)==(g|0)?j:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}g=0;if((j|0)==1){while(1){q[(h+16|0)+(g<<2)>>2]=cl(a,h+60|0,(e|0)==(g|0)?7:i);g=g+1|0;if((u|0)!=(g|0)){continue}break n}}while(1){q[(h+16|0)+(g<<2)>>2]=cl(a,h+60|0,(e|0)==(g|0)?7:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}if(k){break m}break l}if(!k){break l}if(l){break m}j=v<<1;k=0;e=0;g=0;i=0;while(1){q:{v=cl(a,h+60|0,f);if(!e){if(i>>>0>=u>>>0){break q}k=q[(h+16|0)+(i<<2)>>2];i=i+1|0;e=d}l=k;k=(k>>>0)/(z>>>0)|0;o[(b+g|0)+21|0]=v|l-w(z,k)<>2],h+12|0);r:{if((y|0)==18){o[b+39|0]=jm(a,h+60|0,i-1|0);o[b+40|0]=jm(a,h+60|0,i);o[b+41|0]=jm(a,h+60|0,i);o[b+42|0]=jm(a,h+60|0,i);o[b+43|0]=jm(a,h+60|0,i);o[b+44|0]=jm(a,h+60|0,i);o[b+45|0]=jm(a,h+60|0,i);o[b+46|0]=jm(a,h+60|0,i);o[b+47|0]=jm(a,h+60|0,i);o[b+48|0]=jm(a,h+60|0,i);o[b+49|0]=jm(a,h+60|0,i);o[b+50|0]=jm(a,h+60|0,i);o[b+51|0]=jm(a,h+60|0,i);o[b+52|0]=jm(a,h+60|0,i);o[b+53|0]=jm(a,h+60|0,i);o[b+54|0]=jm(a,h+60|0,i);break r}d=a;a=128-q[h+60>>2]|0;g=Osa(d,h+60|0,(a|0)>64?64:a);a=ii;q[h+60>>2]=0;k=-1<>>0>=32?a>>>n|0:((1<>>n);f=d<<1;d=f&31;o[b+41|0]=k&((f&63)>>>0>=32?a>>>d|0:((1<>>d);f=f+i|0;e=f&31;o[b+42|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+43|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+44|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+45|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+46|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+47|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+48|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+49|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+50|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+51|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+52|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+53|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+54|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+55|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+56|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+57|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+58|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+59|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+60|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+61|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+62|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+63|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b- -64|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+65|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+66|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+67|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+68|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+69|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);e=f+i|0;d=e&31;o[b+70|0]=((e&63)>>>0>=32?a>>>d|0:((1<>>d)&k;q[h+60>>2]=e+i;break r}if(n){if(33793>>>y&1){e=g;o[b+39|0]=e&7;o[b+54|0]=a>>>27&15;o[b+53|0]=a>>>23&15;o[b+52|0]=a>>>19&15;o[b+51|0]=a>>>15&15;o[b+50|0]=a>>>11&15;o[b+49|0]=a>>>7&15;o[b+48|0]=a>>>3&15;o[b+47|0]=((a&2147483647)<<1|e>>>31)&15;o[b+46|0]=e>>>27&15;o[b+45|0]=e>>>23&15;o[b+44|0]=e>>>19&15;o[b+43|0]=e>>>15&15;o[b+42|0]=e>>>11&15;o[b+41|0]=e>>>7&15;o[b+40|0]=e>>>3&15;break r}o[b+39|0]=g&f;f=d&31;o[b+40|0]=k&((d&63)>>>0>=32?a>>>f|0:((1<>>f);f=d+i|0;d=f&31;o[b+41|0]=k&((f&63)>>>0>=32?a>>>d|0:((1<>>d);f=f+i|0;e=f&31;o[b+42|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+43|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+44|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+45|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+46|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+47|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+48|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+49|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+50|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+51|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+52|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+53|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);e=f+i|0;d=e&31;o[b+54|0]=((e&63)>>>0>=32?a>>>d|0:((1<>>d)&k;q[h+60>>2]=e+i;break r}u=r[e+2|0];n=r[e|0];z=r[e+1|0];j=!u|(!n|!z);o[b+39|0]=(j?f:k)&g;l=j?d:i;j=l&31;v=(n|0)==1|(z|0)==1|(u|0)==1;o[b+40|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==2|(z|0)==2|(u|0)==2;o[b+41|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==3|(z|0)==3|(u|0)==3;o[b+42|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==4|(z|0)==4|(u|0)==4;o[b+43|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==5|(z|0)==5|(u|0)==5;o[b+44|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==6|(z|0)==6|(u|0)==6;o[b+45|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==7|(z|0)==7|(u|0)==7;o[b+46|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==8|(z|0)==8|(u|0)==8;o[b+47|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==9|(z|0)==9|(u|0)==9;o[b+48|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==10|(z|0)==10|(u|0)==10;o[b+49|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==11|(z|0)==11|(u|0)==11;o[b+50|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==12|(z|0)==12|(u|0)==12;o[b+51|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==13|(z|0)==13|(u|0)==13;o[b+52|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);v=l+(v?d:i)|0;l=v;j=l&31;x=(n|0)==14|(z|0)==14|(u|0)==14;o[b+53|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);e=(n|0)==15|(z|0)==15|(u|0)==15;u=g;n=l+(x?d:i)|0;g=n&31;o[b+54|0]=((n&63)>>>0>=32?a>>>g|0:((1<>>g)&(e?f:k);q[h+60>>2]=n+(e?d:i)}s:{if(!c|y-15>>>0<3){break s}c=0;o[h+10|0]=0;p[h+8>>1]=0;e=B>>>0>1?B:1;u=A<<9;d=b+21|0;k=0;t:{while(1){a=u+302304|0;y=w(c,B);f=y<<1;g=f+d|0;if((r[a+(r[g+3|0]<<1)|0]+r[a+(r[d+(f|1)|0]<<1)|0]|0)+r[a+(r[g+5|0]<<1)|0]>>>0>>0){a=0;while(1){g=a+y<<1;dl(g+d|0,d+(g|1)|0);a=a+1|0;if((e|0)!=(a|0)){continue}break}k=1;o[(h+8|0)+c|0]=1;c=c+1|0;if((m|0)!=(c|0)){continue}break t}c=c+1|0;if((m|0)!=(c|0)){continue}break}if(!(k&1)){break s}}a=-1<>2];d=r[r[c|0]+(h+8|0)|0];if(!C){if(d){o[b+39|0]=a-r[b+39|0]}if(r[r[c+1|0]+(h+8|0)|0]){d=b+t|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+2|0]+(h+8|0)|0]){d=(t<<1)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+3|0]+(h+8|0)|0]){d=w(t,3)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+4|0]+(h+8|0)|0]){d=(t<<2)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+5|0]+(h+8|0)|0]){d=w(t,5)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+6|0]+(h+8|0)|0]){d=w(t,6)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+7|0]+(h+8|0)|0]){d=w(t,7)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+8|0]+(h+8|0)|0]){d=(t<<3)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+9|0]+(h+8|0)|0]){d=w(t,9)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+10|0]+(h+8|0)|0]){d=w(t,10)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+11|0]+(h+8|0)|0]){d=w(t,11)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+12|0]+(h+8|0)|0]){d=w(t,12)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+13|0]+(h+8|0)|0]){d=w(t,13)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+14|0]+(h+8|0)|0]){d=w(t,14)+b|0;o[d+39|0]=a-r[d+39|0]}if(!r[r[c+15|0]+(h+8|0)|0]){break s}b=w(t,15)+b|0;o[b+39|0]=a-r[b+39|0];break s}if(d){o[b+39|0]=a-r[b+39|0];o[b+40|0]=a-r[b+40|0]}if(r[r[c+1|0]+(h+8|0)|0]){d=b+t|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+2|0]+(h+8|0)|0]){d=b+39|0;m=t<<1;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+3|0]+(h+8|0)|0]){d=w(t,3)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+4|0]+(h+8|0)|0]){d=b+39|0;m=t<<2;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+5|0]+(h+8|0)|0]){d=w(t,5)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+6|0]+(h+8|0)|0]){d=b+39|0;m=w(t,6);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+7|0]+(h+8|0)|0]){d=w(t,7)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+8|0]+(h+8|0)|0]){d=b+39|0;m=t<<3;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+9|0]+(h+8|0)|0]){d=w(t,9)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+10|0]+(h+8|0)|0]){d=b+39|0;m=w(t,10);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+11|0]+(h+8|0)|0]){d=w(t,11)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+12|0]+(h+8|0)|0]){d=b+39|0;m=w(t,12);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+13|0]+(h+8|0)|0]){d=w(t,13)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+14|0]+(h+8|0)|0]){d=b+39|0;m=w(t,14);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(!r[r[c+15|0]+(h+8|0)|0]){break s}b=w(t,15)+b|0;o[b+39|0]=a-r[b+39|0];o[b+40|0]=a-r[b+40|0]}e=1}fi=h- -64|0;return e}function lL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0;j=fi-3824|0;fi=j;i=xi(40);q[i>>2]=0;qi(j+48|0,0,704);q[240911]=0;n=c+1|0;k=ba(1163,n|0)|0;g=q[240911];q[240911]=0;m=963648;h=-1;l=4;a:{if(!g){break a}m=q[240912];if(!m){break a}h=Xj(q[g>>2],i,4);if(!h){R(g|0,m|0);G()}L(m|0)}b:{c:{d:{e:{g=M()|0;f:{if((h|0)==1){break f}q[j+32>>2]=k;o[si(k,b,c)+c|0]=10;q[240911]=0;q[j+36>>2]=0;q[j+40>>2]=n;q[j+44>>2]=a;q[j+28>>2]=e;q[j+24>>2]=d;u=j+720|0;A=j+728|0;p=j+724|0;Z(1164,128,16,u|0,A|0,p|0);a=q[240911];q[240911]=0;c=-1;g:{if(!a){break g}b=q[240912];if(!b){break g}c=Xj(q[a>>2],i,4);if(!c){break e}L(b|0)}E=j+732|0;F=j+24|4;m=j+36|0;z=j+40|0;s=j+32|0;B=j+24|0;g=M()|0;if((c|0)==1){break f}v=j+736|0;h:{i:{j:{k:{D=j+748|0;if(o[D|0]&1){q[240911]=0;N(1165,139346,139421,461,139447);a=q[240911];q[240911]=0;if(!a){break j}b=q[240912];if(!b){break j}if(Xj(q[a>>2],i,4)){break k}break e}q[240911]=0;C=j+744|0;t=j+740|0;Z(1164,256,1,v|0,C|0,t|0);a=q[240911];q[240911]=0;c=-1;if(!a){break h}b=q[240912];if(!b){break h}c=Xj(q[a>>2],i,4);if(c){break i}break e}L(b|0)}g=M()|0;break f}L(b|0)}g=M()|0;if((c|0)==1){break f}q[j+716>>2]=1;H=j+716|0;i=zw(j+48|0,1,i,4);l=M()|0;g=0}l:while(1){m:{n:{o:{h=g;if(h){a=q[s>>2];if(!a){break m}q[240911]=0;aa(1166,a|0);a=q[240911];q[240911]=0;c=-1;if(!a){break n}b=q[240912];if(!b){break n}c=Xj(q[a>>2],i,l);if(c){break o}break e}x=j+204|0;p:{q:{r:{s:{t:{while(1){n=q[s>>2];k=q[z>>2];c=q[m>>2];h=c;b=0;d=1;while(1){a=b;e=0;u:{if((h|0)>=(k|0)){break u}c=h+1|0;q[m>>2]=c;b=h+n|0;h=c;e=o[b|0];if((e|0)!=13){break u}while(1){if((c|0)==(k|0)){c=k;h=c;e=0;break u}h=c+1|0;q[m>>2]=h;b=c+n|0;c=h;e=o[b|0];if((e|0)==13){continue}break}}v:{w:{x:{if(d&1){if((e|0)==10){break x}d=0;b=1;if((e|0)==35|(e|0)==59){continue}break w}if((e|0)!=10){break w}}d=1;q[H>>2]=q[H>>2]+1;break v}b=1;d=0;if(a&1){continue}}q[240911]=0;y=ba(1167,e|0)|0;a=q[240911];q[240911]=0;b=-1;y:{if(!a){break y}g=q[240912];if(!g){break y}b=Xj(q[a>>2],i,l);if(!b){R(a|0,g|0);G()}L(g|0)}g=M()|0;if((b|0)==1){continue l}b=0;if(y){continue}break}if(!(!e|(c|0)<1)){a=c-1|0;q[m>>2]=a;o[a+n|0]=e;k=q[z>>2];c=q[m>>2]}if((c|0)>=(k|0)){z:{if(q[B>>2]<1){break z}h=0;A:{while(1){a=q[q[F>>2]+(h<<2)>>2];q[240911]=0;e=va(1168,139310,a|0,9)|0;b=q[240911];q[240911]=0;c=-1;B:{if(!b){break B}d=q[240912];if(!d){break B}c=Xj(q[b>>2],i,l);if(!c){break d}L(d|0)}g=M()|0;if((c|0)==1){continue l}C:{D:{if(e){break D}q[240911]=0;e=ka(1169,a|0,61)|0;b=q[240911];q[240911]=0;c=-1;E:{if(!b){break E}d=q[240912];if(!d){break E}c=Xj(q[b>>2],i,l);if(!c){break d}L(d|0)}g=M()|0;if((c|0)==1){continue l}q[240911]=0;e=e+1|0;d=ka(1169,e|0,61)|0;b=q[240911];q[240911]=0;c=-1;F:{if(!b){break F}g=q[240912];if(!g){break F}c=Xj(q[b>>2],i,l);if(!c){break c}L(g|0)}g=M()|0;if((c|0)==1){continue l}G:{H:{I:{J:{if(!d){q[240911]=0;q[j+16>>2]=a;N(1170,3,139100,139320,j+16|0);a=q[240911];q[240911]=0;c=-1;if(!a){break I}b=q[240912];if(!b){break I}c=Xj(q[a>>2],i,l);if(c){break J}break e}q[240911]=0;x=kb(1171,e|0,d-e|0)|0;n=M()|0;a=q[240911];q[240911]=0;c=-1;if(!a){break G}b=q[240912];if(!b){break G}c=Xj(q[a>>2],i,l);if(c){break H}break e}L(b|0)}g=M()|0;if((c|0)==1){continue l}break D}L(b|0)}g=M()|0;if((c|0)==1){continue l}c=q[p>>2];b=q[u>>2];if((c|0)!=(b|0)){if((x|0)==q[b>>2]&(n|0)==q[b+4>>2]){break D}e=1;a=c-b|0;g=(a|0)>-1?a:-1;c=b-c|0;c=w((g|0)<1?g:1,((a|0)<(c|0)?c:a)>>>4|0);c=c>>>0>1?c:1;g=a>>4;while(1){a=e;if((a|0)!=(c|0)){e=a+1|0;k=b+(a<<4)|0;if((x|0)!=q[k>>2]|q[k+4>>2]!=(n|0)){continue}}break}if(a>>>0>>0){break D}}q[240911]=0;d=d+1|0;e=ba(1172,d|0)|0;a=q[240911];q[240911]=0;c=-1;K:{if(!a){break K}b=q[240912];if(!b){break K}c=Xj(q[a>>2],i,l);if(!c){break e}L(b|0)}g=M()|0;if((c|0)==1){continue l}b=e+1|0;k=q[C>>2];a=q[t>>2];if(b>>>0>k-a>>>0){L:{M:{N:{O:{if(o[D|0]&1){q[240911]=0;N(1165,139346,139421,461,139447);a=q[240911];q[240911]=0;if(!a){break N}b=q[240912];if(!b){break N}if(Xj(q[a>>2],i,l)){break O}break e}a=q[v>>2];q[240911]=0;Z(1164,((b>>>0>1024?b:1024)+k|0)-a|0,1,v|0,C|0,t|0);a=q[240911];q[240911]=0;e=-1;if(!a){break L}c=q[240912];if(!c){break L}e=Xj(q[a>>2],i,l);if(e){break M}R(a|0,c|0);G()}L(b|0)}g=M()|0;continue l}L(c|0)}g=M()|0;if((e|0)==1){continue l}k=q[C>>2];a=q[t>>2]}c=a;a=q[v>>2];y=c-a|0;c=y+b|0;P:{Q:{R:{S:{T:{U:{V:{W:{X:{if(c>>>0>k-a>>>0){q[240911]=0;N(1165,139571,139421,474,139590);a=q[240911];q[240911]=0;if(!a){break W}b=q[240912];if(!b){break W}if(Xj(q[a>>2],i,l)){break X}break e}q[t>>2]=a+c;if(c>>>0<=y>>>0){q[240911]=0;N(1165,139549,139421,447,139560);a=q[240911];q[240911]=0;if(!a){break U}b=q[240912];if(!b){break U}if(Xj(q[a>>2],i,l)){break V}break e}si(a+y|0,d,b);c=q[p>>2];e=q[A>>2];if((c|0)!=(e|0)){break P}if(o[E|0]&1){q[240911]=0;N(1165,139346,139421,461,139447);a=q[240911];q[240911]=0;if(!a){break S}b=q[240912];if(!b){break S}if(Xj(q[a>>2],i,l)){break T}break e}a=q[u>>2];q[240911]=0;Z(1164,(e-a>>4)+32|0,16,u|0,A|0,p|0);b=q[240911];q[240911]=0;c=-1;if(!b){break Q}d=q[240912];if(!d){break Q}c=Xj(q[b>>2],i,l);if(c){break R}break d}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;continue l}L(d|0)}g=M()|0;if((c|0)==1){continue l}c=q[p>>2];e=q[A>>2]}if((c|0)==(e|0)){q[240911]=0;N(1165,139520,139421,501,139544);a=q[240911];q[240911]=0;if(!a){break A}b=q[240912];if(!b){break A}if(Xj(q[a>>2],i,l)){break C}break e}q[p>>2]=c+16;q[c+8>>2]=y;q[c>>2]=x;q[c+4>>2]=n}h=h+1|0;if((h|0)>2]){continue}break z}break}L(b|0)}g=M()|0;continue l}q[240911]=0;a=ba(1173,32)|0;b=q[240911];q[240911]=0;h=-1;Y:{if(!b){break Y}c=q[240912];if(!c){break Y}h=Xj(q[b>>2],i,l);if(!h){break b}L(c|0)}g=M()|0;if((h|0)==1){continue l}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=a+8|0;q[b>>2]=0;q[b+4>>2]=0;Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{c=q[p>>2]-q[u>>2]|0;if(c){q[240911]=0;Z(1164,c>>4,16,a|0,b|0,a+4|0);b=q[240911];q[240911]=0;h=-1;na:{if(!b){break na}c=q[240912];if(!c){break na}h=Xj(q[b>>2],i,l);if(!h){break b}L(c|0)}g=M()|0;if((h|0)==1){continue l}d=q[u>>2];c=q[p>>2]-d|0;e=c>>4;b=q[a>>2];if(e>>>0>q[a+8>>2]-b>>4>>>0){q[240911]=0;N(1165,139571,139421,474,139590);a=q[240911];q[240911]=0;if(!a){break la}b=q[240912];if(!b){break la}if(Xj(q[a>>2],i,l)){break ma}break e}q[a+4>>2]=b+(e<<4);if(!c){q[240911]=0;N(1165,139549,139421,447,139560);a=q[240911];q[240911]=0;if(!a){break ja}b=q[240912];if(!b){break ja}if(Xj(q[a>>2],i,l)){break ka}break e}si(b,d,c)}b=q[t>>2]-q[v>>2]|0;if(!b){break ea}if(o[a+28|0]&1){q[240911]=0;N(1165,139346,139421,461,139447);a=q[240911];q[240911]=0;if(!a){break ha}b=q[240912];if(!b){break ha}if(Xj(q[a>>2],i,l)){break ia}break e}q[240911]=0;Z(1164,b|0,1,a+16|0,a+24|0,a+20|0);b=q[240911];q[240911]=0;e=-1;if(!b){break fa}c=q[240912];if(!c){break fa}e=Xj(q[b>>2],i,l);if(e){break ga}break b}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;continue l}L(c|0)}g=M()|0;if((e|0)==1){continue l}d=q[v>>2];b=q[t>>2]-d|0;c=q[a+16>>2];if(b>>>0>q[a+24>>2]-c>>>0){q[240911]=0;N(1165,139571,139421,474,139590);a=q[240911];q[240911]=0;if(!a){break ca}b=q[240912];if(!b){break ca}if(Xj(q[a>>2],i,l)){break da}break e}q[a+20>>2]=b+c;if(!b){q[240911]=0;N(1165,139549,139421,447,139560);a=q[240911];q[240911]=0;if(!a){break aa}b=q[240912];if(!b){break aa}if(Xj(q[a>>2],i,l)){break ba}break e}si(c,d,b)}q[f>>2]=a;a=q[s>>2];if(!a){break Z}q[240911]=0;aa(1166,a|0);a=q[240911];q[240911]=0;c=-1;if(!a){break _}b=q[240912];if(!b){break _}c=Xj(q[a>>2],i,l);if(c){break $}break e}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;continue l}L(b|0)}g=M()|0;if((c|0)==1){continue l}}h=0;break m}a=q[s>>2];q[m>>2]=c+1;b=a+c|0;a=r[b|0];if(!(!a|(c|0)<0)){q[m>>2]=c;o[b|0]=a}oa:{pa:{qa:{ra:{if((a|0)==91){q[240911]=0;aa(1174,j+24|0);a=q[240911];q[240911]=0;c=-1;if(!a){break qa}b=q[240912];if(!b){break qa}c=Xj(q[a>>2],i,l);if(c){break ra}break e}q[240911]=0;a=ba(1172,x|0)|0;b=q[240911];q[240911]=0;h=-1;if(!b){break oa}c=q[240912];if(!c){break oa}h=Xj(q[b>>2],i,l);if(h){break pa}break b}L(b|0)}g=M()|0;if((c|0)==1){continue l}continue}L(c|0)}g=M()|0;if((h|0)==1){continue l}si(j+2800|0,x,a);b=a+(j+2800|0)|0;o[b|0]=46;o[b+1|0]=0;q[240911]=0;Ka(1175,j+24|0,b+1|0,1023-a|0);a=q[240911];q[240911]=0;h=-1;sa:{if(!a){break sa}b=q[240912];if(!b){break sa}h=Xj(q[a>>2],i,l);if(!h){break e}L(b|0)}g=M()|0;if((h|0)==1){continue l}e=q[m>>2];h=q[z>>2];ta:{ua:{if((e|0)>=(h|0)){break ua}k=q[s>>2];va:{while(1){c=e+1|0;q[m>>2]=c;e=r[e+k|0];if((e|0)==13){while(1){if((c|0)==(h|0)){c=0;a=h;break ta}a=c+1|0;q[m>>2]=a;b=c+k|0;c=a;e=r[b|0];if((e|0)==13){continue}break}}if((e|0)!=9?(e|0)!=32:0){break va}e=c;if((c|0)<(h|0)){continue}break}break ua}if((c|0)<1){e=c;break ua}if(!e){e=c;break ua}a=c-1|0;q[m>>2]=a;o[a+k|0]=e;h=q[z>>2];e=q[m>>2]}k=q[s>>2];c=0;if((e|0)>=(h|0)){a=e;break ta}a=e+1|0;q[m>>2]=a;c=o[e+k|0]}wa:{while(1){xa:{if((c|0)!=13){if((c|0)==-1){break xa}if((c|0)==61){break wa}q[240911]=0;ja(1176,j+24|0,-3);a=q[240911];q[240911]=0;if(!a){break r}b=q[240912];if(!b){break r}if(Xj(q[a>>2],i,l)){break s}break e}c=0;if((a|0)>=(h|0)){continue}b=a+1|0;q[m>>2]=b;c=o[a+k|0];a=b;continue}break}q[240911]=0;ja(1176,j+24|0,-4);a=q[240911];q[240911]=0;if(!a){break p}b=q[240912];if(!b){break p}if(Xj(q[a>>2],i,l)){break q}break e}ya:{za:{Aa:{Ba:{if((a|0)>=(h|0)){break Ba}Ca:{while(1){c=a+1|0;q[m>>2]=c;e=r[a+k|0];if((e|0)==13){while(1){if((c|0)==(h|0)){a=0;e=h;break Aa}a=c+1|0;q[m>>2]=a;b=c+k|0;c=a;e=r[b|0];if((e|0)==13){continue}break}}if((e|0)!=9?(e|0)!=32:0){break Ca}a=c;if((h|0)>(a|0)){continue}break}break Ba}if((c|0)<1){a=c;break Ba}if(!e){a=c;break Ba}a=c-1|0;q[m>>2]=a;o[a+k|0]=e;h=q[z>>2];a=q[m>>2]}k=q[s>>2];if((a|0)>=(h|0)){e=a;a=0;break Aa}e=a+1|0;q[m>>2]=e;a=r[a+k|0];if((a|0)==13){while(1){if((e|0)==(h|0)){e=h;a=0;break Aa}a=e+1|0;q[m>>2]=a;b=e+k|0;e=a;a=r[b|0];if((a|0)==13){continue}break}}b=0;if((a|0)==10){break za}}b=0;while(1){o[(j+752|0)+b|0]=a;if((b|0)==2047){q[240911]=0;ja(1176,j+24|0,-2);a=q[240911];q[240911]=0;if(!a){break t}b=q[240912];if(!b){break t}if(Xj(q[a>>2],i,l)){break ya}break e}Da:{if((e|0)>=(h|0)){a=0;break Da}c=e+1|0;q[m>>2]=c;a=e+k|0;e=c;a=o[a|0];if((a|0)!=13){break Da}while(1){if((c|0)==(h|0)){e=h;a=0;break Da}e=c+1|0;q[m>>2]=e;a=c+k|0;c=e;a=o[a|0];if((a|0)==13){continue}break}}b=b+1|0;if((a|0)!=10){continue}break}}if((e|0)>=1){a=e-1|0;q[m>>2]=a;o[a+k|0]=10}c=0;o[(j+752|0)+b|0]=0;e=j+752|0;d=q[B>>2];Ea:{if((d|0)<1){break Ea}while(1){a=q[q[F>>2]+(c<<2)>>2];q[240911]=0;k=va(1168,139310,a|0,9)|0;b=q[240911];q[240911]=0;h=-1;Fa:{if(!b){break Fa}g=q[240912];if(!g){break Fa}h=Xj(q[b>>2],i,l);if(!h){break c}L(g|0)}g=M()|0;if((h|0)==1){continue l}Ga:{if(k){break Ga}q[240911]=0;k=ka(1169,a|0,61)|0;b=q[240911];q[240911]=0;h=-1;Ha:{if(!b){break Ha}g=q[240912];if(!g){break Ha}h=Xj(q[b>>2],i,l);if(!h){break c}L(g|0)}g=M()|0;if((h|0)==1){continue l}q[240911]=0;k=k+1|0;b=ka(1169,k|0,61)|0;g=q[240911];q[240911]=0;h=-1;Ia:{if(!g){break Ia}n=q[240912];if(!n){break Ia}h=Xj(q[g>>2],i,l);if(!h){R(g|0,n|0);G()}L(n|0)}g=M()|0;if((h|0)==1){continue l}Ja:{Ka:{La:{Ma:{Na:{Oa:{if(b){q[240911]=0;k=va(1168,j+2800|0,k|0,b-k|0)|0;a=q[240911];q[240911]=0;h=-1;if(!a){break Na}g=q[240912];if(!g){break Na}h=Xj(q[a>>2],i,l);if(h){break Oa}R(a|0,g|0);G()}q[240911]=0;q[j>>2]=a;N(1170,3,139100,139320,j|0);a=q[240911];q[240911]=0;h=-1;if(!a){break La}b=q[240912];if(!b){break La}h=Xj(q[a>>2],i,l);if(h){break Ma}break e}L(g|0)}g=M()|0;if((h|0)!=1){break Ka}continue l}L(b|0)}g=M()|0;if((h|0)!=1){break Ja}continue l}if(k){break Ga}e=b+1|0;break Ea}d=q[B>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}}q[240911]=0;Ka(1177,j+24|0,j+2800|0,e|0);a=q[240911];q[240911]=0;c=-1;Pa:{if(!a){break Pa}b=q[240912];if(!b){break Pa}c=Xj(q[a>>2],i,l);if(!c){break e}L(b|0)}g=M()|0;if((c|0)==1){continue l}continue}break}L(b|0)}g=M()|0;continue}L(b|0)}g=M()|0;continue}L(b|0)}g=M()|0;continue}L(b|0)}g=M()|0;if((c|0)==1){continue}}Qa:{if(o[D|0]&1){break Qa}a=q[j+736>>2];if(!a){break Qa}q[240911]=0;aa(1166,a|0);a=q[240911];q[240911]=0;c=-1;Ra:{if(!a){break Ra}b=q[240912];if(!b){break Ra}c=Xj(q[a>>2],i,l);if(!c){break e}L(b|0)}g=M()|0;if((c|0)==1){continue}}Sa:{if(o[E|0]&1){break Sa}a=q[j+720>>2];if(!a){break Sa}q[240911]=0;aa(1166,a|0);a=q[240911];q[240911]=0;c=-1;Ta:{if(!a){break Ta}b=q[240912];if(!b){break Ta}c=Xj(q[a>>2],i,l);if(!c){break e}L(b|0)}g=M()|0;if((c|0)==1){continue}}break}ki(i);fi=j+3824|0;return h}R(a|0,b|0);G()}R(b|0,d|0);G()}R(b|0,g|0);G()}R(b|0,c|0);G()}function r5(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=x(0),j=0,k=0,l=x(0),m=0,n=x(0),p=x(0),v=0,z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=0,N=0,O=0,P=0,Q=x(0),R=0,S=x(0),T=0,U=x(0),V=0,W=0,X=x(0),Y=x(0),Z=0,_=0,$=0,aa=0,ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=x(0),Ba=0,Ca=0,Da=x(0),Ea=0,Fa=0,Ga=0,Ha=0,Ia=x(0),Ja=0,Ka=0,La=0,Ma=x(0);h=fi-1152|0;fi=h;j=q[a+4>>2];f=q[j+1840>>2];if((f|0)!=q[j+1844>>2]){q[j+1844>>2]=f;q[j+1836>>2]=0;q[j+1800>>2]=0;f=j+1788|0;q[f>>2]=0;q[f+4>>2]=0}a:{b:{c:{switch(q[a+8>>2]-1|0){case 1:a=q[j+1792>>2];if((a|0)==q[j+1800>>2]){break b}f=j+1776|0;ji[q[74897]](q[f>>2],0,0,0);ji[q[74897]](q[f>>2],w(a,112),q[j+1780>>2],0);f=q[j+1800>>2];d=q[j+1792>>2];q[j+1800>>2]=d;d:{if(o[316180]&1){break d}if(!ui(316180)){break d}if(r[852367]){a=Ek(101782)}else{a=-1}q[79044]=a;ti(316180)}a=d-f|0;f=q[79044];if((f|0)!=-1){Fk(f,(a>>>0)/6|0)}e:{if(o[316188]&1){break e}if(!ui(316188)){break e}if(r[852367]){f=Ek(101801)}else{f=-1}q[79046]=f;ti(316188)}f=q[79046];if((f|0)==-1){break b}Fk(f,w(a,112));break b;case 0:break c;default:break b}}xa=q[a+20>>2];$=q[a+16>>2];ya=q[a+12>>2];f:{if(o[316196]&1){break f}if(!ui(316196)){break f}if(r[852367]){a=Ri(101419)}else{a=-1}q[79048]=a;ti(316196)}g:{if(o[316204]&1){break g}if(!ui(316204)){break g}if(r[852367]){a=Yi(101818,21)}else{a=0}q[79050]=a;ti(316204)}a=q[79048];h:{if((a|0)!=-1){Qi(h+88|0,a,101818,q[79050]);break h}q[h+88>>2]=0}a=q[(w(q[$>>2],48)+ya|0)+32>>2];k=q[a+176>>2];f=q[k>>2];i:{if(!f){ca=x(1);da=x(1);e=x(0);break i}e=x(ji[q[74967]](f)>>>0);da=x(x(1)/e);Q=x(ji[q[74968]](q[k>>2])>>>0);ca=x(x(1)/Q);Q=x(x(t[k+132>>2])/Q);e=x(x(t[k+128>>2])/e)}W=q[j+1788>>2];ta=q[j+1744>>2];j:{if(W>>>0>=(q[j+1748>>2]-ta|0)/272>>>0){q[h+48>>2]=W;mi(3,101221,101840,h+48|0);break j}k:{l:{f=q[j+1760>>2];if(q[j+1764>>2]-f>>2>>>0>W>>>0){Ga=q[j+1780>>2];f=q[f+(W<<2)>>2];q[j+1788>>2]=W+1;m=w(W,272)+ta|0;q[m+200>>2]=q[a+184>>2];q[m+204>>2]=q[a+188>>2];d=r[m+256|0]|1;o[m+256|0]=d;q[m+156>>2]=q[a+180>>2];q[m+160>>2]=q[k>>2];q[m+248>>2]=q[j+1792>>2];g=q[a+4>>2];q[m+212>>2]=q[a>>2];q[m+216>>2]=g;g=q[a+12>>2];q[m+220>>2]=q[a+8>>2];q[m+224>>2]=g;g=q[a+20>>2];q[m+228>>2]=q[a+16>>2];q[m+232>>2]=g;g=q[a+28>>2];q[m+236>>2]=q[a+24>>2];q[m+240>>2]=g;q[m+244>>2]=q[a+32>>2];o[m+256|0]=r[a+244|0]>>>3&2|d&253;u[h+76>>2]=Q;u[h+72>>2]=e;u[h+68>>2]=ca;u[h+64>>2]=da;Ty(f);aG(f,a+112|0,r[a+218|0]);ru(f,q[79034],q[79035],h- -64|0,1);q[m>>2]=f;if(($|0)==(xa|0)){break l}za=j+1744|0;while(1){b=q[(w(q[$>>2],48)+ya|0)+32>>2];d=q[b+204>>2];f=q[j+1804>>2];if(d>>>0>2]-f>>>0){g=q[j+1796>>2];N=q[j+1792>>2];l=u[b+228>>2];a=r[b+219|0];Q=u[b+220>>2];e=u[b+232>>2];i=u[k+52>>2];S=u[k+48>>2];q[h+112>>2]=k;X=x(S+i);Aa=x(e*X);u[h+116>>2]=Aa;O=q[h+116>>2];q[h+40>>2]=q[h+112>>2];q[h+44>>2]=O;ua=d+f|0;aa=CB(ua,a?Q:x(3.4028234663852886e+38),h+128|0,h+124|0,h+40|0,!a);e=u[b+220>>2];Q=x(0);m:{n:{o:{a=r[b+244|0];switch((a&3)-1|0){case 1:break n;case 0:break o;default:break m}}Q=x(e*x(.5));break m}Q=e}S=u[k+48>>2];Y=u[k+52>>2];e=x(S+Y);i=u[b+228>>2];n=u[b+224>>2];p:{q:{switch((a>>>2&3)-1|0){case 0:S=x(x(x(n*x(.5))+x(x(x(x(e*i)*x(aa>>>0))-x(e*x(i+x(-1))))*x(.5)))-S);break p;case 1:S=x(Y+x(x(e*i)*x(aa-1>>>0)));break p;default:break q}}S=x(n-S)}Ha=j;T=r[k+141|0];r:{if(!(T&1)){mi(4,101221,101994,0);a=0;break r}va=g-N|0;c=q[b+212>>2];M=q[b+208>>2];R=q[b+200>>2];e=u[b- -64>>2];i=u[b+48>>2];n=u[k+56>>2];Y=u[k+68>>2];ea=u[k+64>>2];Ba=T&2;s:{t:{if(!(T&6)){Z=1;f=0;break t}Z=((T>>>2&1)+(Ba>>>1|0)|0)+1|0;a=0;f=0;O=0;if((aa|0)<1){break s}while(1){d=(h+128|0)+(O<<3)|0;q[h+108>>2]=s[d+4>>1]+ua;if(s[d+6>>1]){P=d|6;_=0;while(1){g=lo(h+108|0);u:{v:{w:{x:{v=q[k+12>>2];y:{if(!v){break y}V=q[k+8>>2];d=q[V+((g>>>0)%(v>>>0)<<2)>>2];if((d|0)!=-1){wa=q[k+16>>2];while(1){d=wa+w(d,80)|0;if((g|0)==q[d>>2]){break x}d=q[d+72>>2];if((d|0)!=-1){continue}break}}d=q[V+(126%(v>>>0)<<2)>>2];if((d|0)==-1){break y}v=q[k+16>>2];while(1){d=v+w(d,80)|0;if(q[d>>2]==126){break w}d=q[d+72>>2];if((d|0)!=-1){continue}break}}q[h+32>>2]=g;mi(3,101221,102159,h+32|0);break u}d=d+8|0;break v}d=d+8|0}g=a+6|0;if(w(g,Z)>>>0>va>>>0){break t}if(!q[d+4>>2]){break u}if(r[d+32|0]){d=1}else{rG(k,za,d,q[k+136>>2]-q[d+16>>2]<<16>>16);d=r[d+32|0]}a=d?g:a;f=((d|0)!=0)+f|0}_=_+1|0;if(_>>>0>1]){continue}break}}O=O+1|0;if((aa|0)!=(O|0)){continue}break}}if((aa|0)<1){a=0;break s}N=w(N,112)+Ga|0;Ia=x(X*l);X=x(x(c>>>24>>>0)/x(255));fa=x(x((c&255)>>>0)/x(255));ga=x(x(M>>>24>>>0)/x(255));ha=x(x((M&255)>>>0)/x(255));ia=x(x(R>>>24>>>0)/x(255));ja=x(x((R&255)>>>0)/x(255));ka=x(x((c>>>16&255)>>>0)/x(255));la=x(x((c>>>8&255)>>>0)/x(255));ma=x(x((M>>>16&255)>>>0)/x(255));na=x(x((M>>>8&255)>>>0)/x(255));oa=x(x((R>>>16&255)>>>0)/x(255));pa=x(x((R>>>8&255)>>>0)/x(255));qa=x(x(.25)/x(n*x(F(x(x(i*i)+x(e*e))))));wa=T&4;a=w(f,6);Ja=w(a,Z-2|0);Ka=w(a,Z-1|0);n=(Z|0)<2?x(1):x(0);a=0;R=0;while(1){f=(h+128|0)+(R<<3)|0;i=u[f>>2];e=x(0);z:{A:{switch((r[b+244|0]&3)-1|0){case 0:e=x(i*x(.5));break z;case 1:break A;default:break z}}e=i}q[h+108>>2]=s[f+4>>1]+ua;B:{Ca=s[f+6>>1];if(Ca){e=x(x(Q-e)+x(.5));C:{if(x(y(e))>2];I:{if(!g){break I}c=q[k+8>>2];d=q[c+((f>>>0)%(g>>>0)<<2)>>2];if((d|0)!=-1){M=q[k+16>>2];while(1){d=M+w(d,80)|0;if((f|0)==q[d>>2]){break H}d=q[d+72>>2];if((d|0)!=-1){continue}break}}d=q[c+(126%(g>>>0)<<2)>>2];if((d|0)==-1){break I}g=q[k+16>>2];while(1){d=g+w(d,80)|0;if(q[d>>2]==126){break G}d=q[d+72>>2];if((d|0)!=-1){continue}break}}q[h>>2]=f;mi(3,101221,102159,h);break E}g=d+8|0;break F}g=d+8|0}f=a+6|0;if(w(Z,f)>>>0>va>>>0){break B}P=q[g+4>>2];J:{if(!P){f=a;break J}v=q[g+16>>2];d=q[k+136>>2]-v|0;V=q[g+20>>2];K:{if(r[g+32|0]){break K}rG(k,za,g,d<<16>>16);if(r[g+32|0]){break K}f=a;break J}q[g+56>>2]=q[j+1840>>2];l=u[b+96>>2];p=u[b+80>>2];z=u[b+48>>2];A=u[b+64>>2];B=u[b+100>>2];C=u[b+84>>2];D=u[b+52>>2];E=u[b+68>>2];H=u[b+104>>2];I=u[b+88>>2];K=u[b+56>>2];L=u[b+72>>2];M=a+Ka|0;c=N+w(M,112)|0;ba=x(O<<16>>16);e=x(u[g+12>>2]+ba);ra=V<<16>>16;i=x(T-ra|0);u[c+12>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*i))+x(u[b+92>>2]*x(0)));u[c+8>>2]=H+x(x(x(e*K)+x(L*i))+x(I*x(0)));u[c+4>>2]=B+x(x(x(e*D)+x(E*i))+x(C*x(0)));u[c>>2]=l+x(x(x(z*e)+x(A*i))+x(p*x(0)));p=u[b+96>>2];z=u[b+80>>2];A=u[b+48>>2];B=u[b+64>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+52>>2];H=u[b+68>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+56>>2];U=u[b+72>>2];sa=v<<16>>16;l=x(sa+T|0);u[c+124>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*l))+x(u[b+92>>2]*x(0)));u[c+120>>2]=I+x(x(x(e*L)+x(U*l))+x(K*x(0)));u[c+116>>2]=C+x(x(x(e*E)+x(H*l))+x(D*x(0)));v=c+112|0;u[v>>2]=p+x(x(x(e*A)+x(B*l))+x(z*x(0)));p=u[b+96>>2];z=u[b+80>>2];A=u[b+64>>2];B=u[b+48>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+68>>2];H=u[b+52>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+72>>2];U=u[b+56>>2];Da=x(P<<16>>16);e=x(e+Da);u[c+236>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*i))+x(u[b+92>>2]*x(0)));u[c+232>>2]=I+x(x(x(e*U)+x(L*i))+x(K*x(0)));u[c+228>>2]=C+x(x(x(e*H)+x(E*i))+x(D*x(0)));P=c+224|0;u[P>>2]=p+x(x(x(e*B)+x(A*i))+x(z*x(0)));p=u[b+96>>2];z=u[b+80>>2];A=u[b+64>>2];B=u[b+48>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+68>>2];H=u[b+52>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+72>>2];U=u[b+56>>2];u[c+572>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*l))+x(u[b+92>>2]*x(0)));u[c+568>>2]=I+x(x(x(e*U)+x(L*l))+x(K*x(0)));u[c+564>>2]=C+x(x(x(e*H)+x(E*l))+x(D*x(0)));V=c+560|0;u[V>>2]=p+x(x(x(e*B)+x(A*l))+x(z*x(0)));Ea=r[k+140|0];Fa=Ea+q[g+24>>2]|0;e=x(da*x(Fa|0));u[c+16>>2]=e;La=q[g+28>>2];u[c+128>>2]=e;d=((d<<16>>16)+Ea|0)+La|0;e=x(ca*x(d|0));u[c+132>>2]=e;p=x(ca*x(d+(ra+sa|0)|0));u[c+20>>2]=p;d=q[g+4>>2];u[c+244>>2]=p;u[c+580>>2]=e;u[c+68>>2]=X;u[c- -64>>2]=ka;u[c+60>>2]=la;u[c+56>>2]=fa;u[c+52>>2]=ga;u[c+48>>2]=ma;u[c+44>>2]=na;q[c+72>>2]=1061158912;u[c+84>>2]=Y;u[c+80>>2]=qa;u[c+76>>2]=ea;u[c+36>>2]=ia;u[c+32>>2]=oa;u[c+28>>2]=pa;u[c+24>>2]=ja;u[c+40>>2]=ha;e=x(da*x(d+Fa>>>0));u[c+240>>2]=e;u[c+576>>2]=e;u[c+180>>2]=X;u[c+176>>2]=ka;u[c+172>>2]=la;u[c+168>>2]=fa;u[c+164>>2]=ga;u[c+160>>2]=ma;u[c+156>>2]=na;u[c+152>>2]=ha;u[c+196>>2]=Y;u[c+192>>2]=qa;u[c+188>>2]=ea;q[c+184>>2]=1061158912;u[c+148>>2]=ia;u[c+144>>2]=oa;u[c+140>>2]=pa;u[c+136>>2]=ja;u[c+264>>2]=ha;u[c+268>>2]=na;u[c+272>>2]=ma;u[c+276>>2]=ga;u[c+280>>2]=fa;u[c+284>>2]=la;u[c+288>>2]=ka;u[c+248>>2]=ja;u[c+252>>2]=pa;u[c+256>>2]=oa;u[c+260>>2]=ia;u[c+300>>2]=ea;u[c+304>>2]=qa;u[c+308>>2]=Y;q[c+296>>2]=1061158912;u[c+292>>2]=X;u[c+628>>2]=X;u[c+624>>2]=ka;u[c+620>>2]=la;u[c+616>>2]=fa;u[c+612>>2]=ga;u[c+608>>2]=ma;u[c+604>>2]=na;u[c+600>>2]=ha;u[c+644>>2]=Y;u[c+640>>2]=qa;u[c+636>>2]=ea;q[c+632>>2]=1061158912;u[c+596>>2]=ia;u[c+592>>2]=oa;u[c+588>>2]=pa;u[c+584>>2]=ja;ra=si(c+336|0,P,112);sa=si(c+448|0,v,112);if(Ba){d=si(N+w(a+Ja|0,112)|0,c,112);si(d+112|0,v,112);si(d+224|0,P,112);si(d+336|0,ra,112);si(d+448|0,sa,112);si(d+560|0,V,112);q[d+96>>2]=0;q[d+88>>2]=0;q[d+92>>2]=1065353216;q[d+208>>2]=0;q[d+200>>2]=0;q[d+204>>2]=1065353216;q[d+312>>2]=0;q[d+316>>2]=1065353216;q[d+320>>2]=0;q[d+424>>2]=0;q[d+428>>2]=1065353216;q[d+432>>2]=0;q[d+536>>2]=0;q[d+540>>2]=1065353216;q[d+544>>2]=0;q[d+648>>2]=0;q[d+652>>2]=1065353216;q[d+656>>2]=0}if(wa){e=u[k+40>>2];p=u[k+44>>2];a=si(N+w(a,112)|0,c,112);d=si(a+112|0,v,112);v=si(a+224|0,P,112);P=si(a+560|0,V,112);z=u[b+96>>2];A=u[b+80>>2];B=u[b+48>>2];C=u[b+64>>2];D=u[b+100>>2];E=u[b+84>>2];H=u[b+52>>2];I=u[b+68>>2];K=u[b+104>>2];L=u[b+88>>2];U=u[b+56>>2];Ma=u[b+72>>2];e=x(e+x(u[g+12>>2]+ba));i=x(p+i);u[a+12>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(i*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+8>>2]=K+x(x(x(e*U)+x(i*Ma))+x(L*x(0)));u[a+4>>2]=D+x(x(x(e*H)+x(i*I))+x(E*x(0)));u[a>>2]=z+x(x(x(B*e)+x(i*C))+x(A*x(0)));z=u[b+96>>2];A=u[b+80>>2];B=u[b+48>>2];C=u[b+64>>2];D=u[b+100>>2];E=u[b+84>>2];H=u[b+52>>2];I=u[b+68>>2];K=u[b+104>>2];L=u[b+88>>2];ba=u[b+56>>2];U=u[b+72>>2];l=x(p+l);u[a+124>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(l*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+120>>2]=K+x(x(x(e*ba)+x(l*U))+x(L*x(0)));u[a+116>>2]=D+x(x(x(e*H)+x(l*I))+x(E*x(0)));u[d>>2]=z+x(x(x(e*B)+x(l*C))+x(A*x(0)));p=u[b+96>>2];z=u[b+80>>2];A=u[b+48>>2];B=u[b+64>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+52>>2];H=u[b+68>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+56>>2];ba=u[b+72>>2];e=x(e+Da);u[a+236>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(i*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+232>>2]=I+x(x(x(e*L)+x(i*ba))+x(K*x(0)));u[a+228>>2]=C+x(x(x(e*E)+x(i*H))+x(D*x(0)));u[v>>2]=p+x(x(x(e*A)+x(i*B))+x(z*x(0)));i=u[b+96>>2];p=u[b+80>>2];z=u[b+48>>2];A=u[b+64>>2];B=u[b+100>>2];C=u[b+84>>2];D=u[b+52>>2];E=u[b+68>>2];H=u[b+104>>2];I=u[b+88>>2];K=u[b+56>>2];L=u[b+72>>2];u[a+572>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(l*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+568>>2]=H+x(x(x(e*K)+x(l*L))+x(I*x(0)));u[a+564>>2]=B+x(x(x(e*D)+x(l*E))+x(C*x(0)));u[P>>2]=i+x(x(x(e*z)+x(l*A))+x(p*x(0)));si(a+336|0,v,112);si(a+448|0,d,112);q[a+96>>2]=1065353216;q[a+88>>2]=0;q[a+92>>2]=0;q[a+208>>2]=1065353216;q[a+200>>2]=0;q[a+204>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=1065353216;q[a+424>>2]=0;q[a+428>>2]=0;q[a+432>>2]=1065353216;q[a+536>>2]=0;q[a+540>>2]=0;q[a+544>>2]=1065353216;q[a+648>>2]=0;q[a+652>>2]=0;q[a+656>>2]=1065353216}q[c+88>>2]=1065353216;u[c+96>>2]=n;u[c+92>>2]=n;a=N+w(M+1|0,112)|0;u[a+96>>2]=n;u[a+92>>2]=n;q[a+88>>2]=1065353216;a=N+w(M+2|0,112)|0;u[a+96>>2]=n;u[a+92>>2]=n;q[a+88>>2]=1065353216;a=N+w(M+3|0,112)|0;u[a+96>>2]=n;u[a+92>>2]=n;q[a+88>>2]=1065353216;a=N+w(M+4|0,112)|0;u[a+96>>2]=n;u[a+92>>2]=n;q[a+88>>2]=1065353216;a=N+w(M+5|0,112)|0;u[a+96>>2]=n;u[a+92>>2]=n;q[a+88>>2]=1065353216}e=x(Aa+u[g+8>>2]);L:{if(x(y(e))>2]=(va>>>0)/6;mi(3,101221,102046,h+16|0)}a=w(a,Z)}a=a+q[j+1792>>2]|0;q[Ha+1792>>2]=a;$=$+4|0;if((xa|0)!=($|0)){continue}break k}break}break a}break a}a=q[j+1792>>2]}q[(w(W,272)+ta|0)+252>>2]=a-q[m+248>>2];Sn(j,m)}if(!q[h+88>>2]){break b}Pi(h+88|0)}fi=h+1152|0;return}J(101893,101904,447,101983);G()}function Wv(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=fi-16|0;fi=d;a:while(1){i=b-16|0;b:while(1){g=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-g|0;e=a>>4;switch(e|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}a=b-16|0;c=q[a>>2];b=q[a+4>>2];e=q[g+4>>2];if((b|0)==(e|0)&t[g>>2]<=c>>>0|b>>>0>e>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}a=g+16|0;b=b-16|0;c=b;f=q[c>>2];c=q[c+4>>2];e=q[g+20>>2];j=q[g+4>>2];i=q[g+16>>2];if((e|0)==(j|0)&i>>>0>=t[g>>2]|e>>>0>j>>>0){if((c|0)==(e|0)&f>>>0>=i>>>0|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;c=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=c;b=q[g+20>>2];c=q[g+4>>2];if((b|0)==(c|0)&t[g+16>>2]>=t[g>>2]|b>>>0>c>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}if((c|0)==(e|0)&f>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[b+12>>2];q[g+8>>2]=q[b+8>>2];q[g+12>>2]=a;a=q[b+4>>2];q[g>>2]=q[b>>2];q[g+4>>2]=a;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+8|0;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;c=q[b+4>>2];e=q[g+20>>2];if((c|0)==(e|0)&t[b>>2]>=t[g+16>>2]|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+16|0;a=g+32|0;e=g+48|0;kr(g,c,a,e);b=b-16|0;f=b;i=q[f>>2];f=q[f+4>>2];h=q[g+52>>2];if((f|0)==(h|0)&t[g+48>>2]<=i>>>0|f>>>0>h>>>0){break d}f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;f=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=f;f=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=f;f=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=f;f=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=f;b=q[e+4>>2];f=q[a+4>>2];if((b|0)==(f|0)&t[e>>2]>=t[a>>2]|b>>>0>f>>>0){break d}b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[e+12>>2];q[a+8>>2]=q[e+8>>2];q[a+12>>2]=b;b=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=b;b=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=b;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;b=q[a+4>>2];e=q[c+4>>2];if((b|0)==(e|0)&t[a>>2]>=t[c>>2]|b>>>0>e>>>0){break d}b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=b;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;a=q[g+20>>2];b=q[g+4>>2];if((a|0)==(b|0)&t[g+16>>2]>=t[g>>2]|a>>>0>b>>>0){break d}a=g+8|0;b=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=b;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[c+4>>2];q[g>>2]=q[c>>2];q[g+4>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;break d}if((a|0)<=495){a=g+16|0;e=g+32|0;i=q[g+32>>2];c=q[g+36>>2];f=q[g+20>>2];h=q[g+4>>2];j=q[g+16>>2];m=q[g>>2];l:{if((f|0)==(h|0)&j>>>0>=m>>>0|f>>>0>h>>>0){if((c|0)==(f|0)&i>>>0>=j>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;c=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=c;c=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=c;c=q[a+4>>2];if((h|0)==(c|0)&m>>>0<=t[a>>2]|c>>>0>h>>>0){break l}c=g+8|0;f=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=f;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;break l}if((c|0)==(f|0)&i>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=e+8|0;c=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=c;a=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=a;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;break l}f=g+8|0;h=q[f+4>>2];q[d+8>>2]=q[f>>2];q[d+12>>2]=h;f=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=f;f=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=f;f=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=f;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;f=q[g+20>>2];if((f|0)==(c|0)&t[g+16>>2]<=i>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a}a=g+48|0;if((b|0)==(a|0)){break d}while(1){c=a;i=q[a+4>>2];f=i;j=q[e+4>>2];h=q[a>>2];if((f|0)==(j|0)&h>>>0>2]|f>>>0>>0){j=q[c+8>>2];k=q[c+12>>2];f=c;while(1){m:{a=e;l=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=l;l=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=l;if((a|0)==(g|0)){a=g;break m}f=a;e=a-16|0;m=q[e>>2];l=q[e+4>>2];if((l|0)==(i|0)&h>>>0>>0|i>>>0>>0){continue}}break}q[a+8>>2]=j;q[a+12>>2]=k;q[a>>2]=h;q[a+4>>2]=i}e=c;a=e+16|0;if((b|0)!=(a|0)){continue}break}break d}f=((e|0)/2<<4)+g|0;n:{if((a|0)>=15985){e=(e|0)/4<<4;a=e+g|0;e=e+f|0;j=kr(g,a,f,e);h=q[i+4>>2];k=q[e+4>>2];if((h|0)==(k|0)&t[i>>2]>=t[e>>2]|h>>>0>k>>>0){break n}h=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=h;h=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=h;h=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=h;h=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=h;h=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=h;h=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=h;h=q[e+4>>2];k=q[f+4>>2];if((h|0)==(k|0)&t[e>>2]>=t[f>>2]|h>>>0>k>>>0){j=j+1|0;break n}h=f+8|0;k=q[h+4>>2];q[d+8>>2]=q[h>>2];q[d+12>>2]=k;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=h;h=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=h;h=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=h;h=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=h;e=q[f+4>>2];h=q[a+4>>2];if((e|0)==(h|0)&t[f>>2]>=t[a>>2]|e>>>0>h>>>0){j=j+2|0;break n}e=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=e;e=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=e;e=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=e;e=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=e;e=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=e;e=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=e;e=q[a+4>>2];h=q[g+4>>2];if((e|0)==(h|0)&t[a>>2]>=t[g>>2]|e>>>0>h>>>0){j=j+3|0;break n}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=e;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+4|0;break n}a=q[f+4>>2];j=q[g+4>>2];e=q[f>>2];o:{if((a|0)==(j|0)&e>>>0>=t[g>>2]|a>>>0>j>>>0){j=0;h=q[i+4>>2];if((a|0)==(h|0)&e>>>0<=t[i>>2]|a>>>0>>0){break n}a=f+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;a=q[f+4>>2];e=q[g+4>>2];if((a|0)==(e|0)&t[f>>2]>=t[g>>2]|a>>>0>e>>>0){break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=a;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;break o}h=q[i+4>>2];if((h|0)==(a|0)&t[i>>2]>>0|a>>>0>h>>>0){a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=a;a=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=f+8|0;e=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=e;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=1;a=q[i+4>>2];e=q[f+4>>2];if((a|0)==(e|0)&t[i>>2]>=t[f>>2]|a>>>0>e>>>0){break n}a=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=a;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a}j=2}a=i;h=q[g+4>>2];e=q[f+4>>2];k=q[g>>2];n=q[f>>2];if(!((h|0)==(e|0)&k>>>0>>0|h>>>0>>0)){while(1){a=a-16|0;if((g|0)==(a|0)){e=g+16|0;a=q[i+4>>2];if((a|0)==(h|0)&t[i>>2]>k>>>0|a>>>0>h>>>0){break e}if((e|0)==(i|0)){break d}while(1){a=q[e+4>>2];if((h|0)==(a|0)&k>>>0>2]|a>>>0>h>>>0){a=e+8|0;f=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=f;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=a;a=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;e=e+16|0;break e}e=e+16|0;if((i|0)!=(e|0)){continue}break}break d}l=q[a+4>>2];if((e|0)==(l|0)&n>>>0<=t[a>>2]|e>>>0>>0){continue}break}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=a+8|0;h=q[e+4>>2];q[g+8>>2]=q[e>>2];q[g+12>>2]=h;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+1|0}e=g+16|0;if(e>>>0>=a>>>0){break f}while(1){l=q[f>>2];k=q[f+4>>2];while(1){h=e;e=e+16|0;m=q[h+4>>2];if((k|0)==(m|0)&l>>>0>t[h>>2]|k>>>0>m>>>0){continue}break}while(1){a=a-16|0;n=q[a>>2];m=q[a+4>>2];if((k|0)==(m|0)&l>>>0<=n>>>0|k>>>0>>0){continue}break}if(a>>>0>>0){e=h;break f}else{k=q[h+12>>2];q[d+8>>2]=q[h+8>>2];q[d+12>>2]=k;k=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=k;k=a+8|0;l=q[k+4>>2];q[h+8>>2]=q[k>>2];q[h+12>>2]=l;k=q[a+4>>2];q[h>>2]=q[a>>2];q[h+4>>2]=k;k=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=k;k=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=k;f=(f|0)==(h|0)?a:f;j=j+1|0;continue}}}kr(g,g+16|0,g+32|0,b-16|0);break d}p:{if((e|0)==(f|0)){break p}a=q[f+4>>2];h=q[e+4>>2];if((a|0)==(h|0)&t[f>>2]>=t[e>>2]|a>>>0>h>>>0){break p}a=e+8|0;h=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=h;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=f+8|0;h=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=h;a=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=j+1|0}if(!j){f=LL(g,e,c);a=e+16|0;if(LL(a,b,c)){b=e;a=g;if(!f){continue a}break d}if(f){continue b}}if((e-g|0)<(b-e|0)){Wv(g,e,c);a=e+16|0;continue b}Wv(e+16|0,b,c);b=e;a=g;continue a}a=i;if((e|0)==(a|0)){break d}while(1){j=q[g>>2];h=q[g+4>>2];while(1){f=e;e=e+16|0;k=q[f+4>>2];if((k|0)==(h|0)&t[f>>2]<=j>>>0|h>>>0>k>>>0){continue}break}while(1){a=a-16|0;l=q[a>>2];k=q[a+4>>2];if((k|0)==(h|0)&j>>>0>>0|h>>>0>>0){continue}break}if(a>>>0<=f>>>0){g=f;continue c}else{h=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=h;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=a+8|0;j=q[h+4>>2];q[f+8>>2]=q[h>>2];q[f+12>>2]=j;h=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=h;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;continue}}}break}break}break}fi=d+16|0}function MC(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;e=fi-640|0;fi=e;a:{if(b){qi(a+36626|0,8,144);qi(a+36770|0,9,112);b=a+36898|0;o[b|0]=7;o[b+1|0]=7;o[b+2|0]=7;o[b+3|0]=7;o[b+4|0]=7;o[b+5|0]=7;o[b+6|0]=7;o[b+7|0]=7;b=a+36890|0;o[b|0]=7;o[b+1|0]=7;o[b+2|0]=7;o[b+3|0]=7;o[b+4|0]=7;o[b+5|0]=7;o[b+6|0]=7;o[b+7|0]=7;b=a+36882|0;o[b|0]=7;o[b+1|0]=7;o[b+2|0]=7;o[b+3|0]=7;o[b+4|0]=7;o[b+5|0]=7;o[b+6|0]=7;o[b+7|0]=7;b=a+36914|0;p[b>>1]=1285;p[b+2>>1]=1285;p[b+4>>1]=1285;p[b+6>>1]=1285;b=a+36906|0;o[b|0]=8;o[b+1|0]=8;o[b+2|0]=8;o[b+3|0]=8;o[b+4|0]=8;o[b+5|0]=8;o[b+6|0]=8;o[b+7|0]=8;b=a+36922|0;p[b>>1]=1285;p[b+2>>1]=1285;p[b+4>>1]=1285;p[b+6>>1]=1285;b=a+36930|0;p[b>>1]=1285;p[b+2>>1]=1285;p[b+4>>1]=1285;p[b+6>>1]=1285;b=a+36938|0;p[b>>1]=1285;p[b+2>>1]=1285;p[b+4>>1]=1285;p[b+6>>1]=1285;qi(e+320|0,0,132);q[e+352>>2]=1;b=1;while(1){c=(e+320|0)+(r[(a+b|0)+36626|0]<<2)|0;q[c>>2]=q[c>>2]+1;b=b+1|0;if((b|0)!=288){continue}break}q[e+4>>2]=0;b=q[e+324>>2]<<1;q[e+8>>2]=b;b=b+q[e+328>>2]<<1;q[e+12>>2]=b;b=b+q[e+332>>2]<<1;q[e+16>>2]=b;b=b+q[e+336>>2]<<1;q[e+20>>2]=b;b=b+q[e+340>>2]<<1;q[e+24>>2]=b;b=b+q[e+344>>2]<<1;q[e+28>>2]=b;b=b+q[e+348>>2]<<1;q[e+32>>2]=b;b=b+q[e+352>>2]<<1;q[e+36>>2]=b;b=b+q[e+356>>2]<<1;q[e+40>>2]=b;b=b+q[e+360>>2]<<1;q[e+44>>2]=b;b=b+q[e+364>>2]<<1;q[e+48>>2]=b;b=b+q[e+368>>2]<<1;q[e+52>>2]=b;b=b+q[e+372>>2]<<1;q[e+56>>2]=b;q[e+60>>2]=b+q[e+376>>2]<<1;b=8;while(1){b=b&255;if(b){d=(b<<2)+e|0;c=q[d>>2];q[d>>2]=c+1;d=0;while(1){d=c&1|d<<1;c=c>>>1|0;g=(b|0)>1;b=b-1|0;if(g){continue}break}p[((f<<1)+a|0)+34898>>1]=d}f=f+1|0;if((f|0)!=288){b=r[(a+f|0)+36626|0];continue}break}f=0;qi(e+320|0,0,132);b=(e+320|0)+(r[a+36914|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36915|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36916|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36917|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36918|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36919|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36920|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36921|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36922|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36923|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36924|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36925|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36926|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36927|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36928|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36929|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36930|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36931|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36932|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36933|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36934|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36935|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36936|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36937|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36938|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36939|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36940|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36941|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36942|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36943|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36944|0]<<2)|0;q[b>>2]=q[b>>2]+1;b=(e+320|0)+(r[a+36945|0]<<2)|0;q[b>>2]=q[b>>2]+1;q[e+4>>2]=0;b=q[e+324>>2]<<1;q[e+8>>2]=b;b=b+q[e+328>>2]<<1;q[e+12>>2]=b;b=b+q[e+332>>2]<<1;q[e+16>>2]=b;b=b+q[e+336>>2]<<1;q[e+20>>2]=b;b=b+q[e+340>>2]<<1;q[e+24>>2]=b;b=b+q[e+344>>2]<<1;q[e+28>>2]=b;b=b+q[e+348>>2]<<1;q[e+32>>2]=b;b=b+q[e+352>>2]<<1;q[e+36>>2]=b;b=b+q[e+356>>2]<<1;q[e+40>>2]=b;b=b+q[e+360>>2]<<1;q[e+44>>2]=b;b=b+q[e+364>>2]<<1;q[e+48>>2]=b;b=b+q[e+368>>2]<<1;q[e+52>>2]=b;b=b+q[e+372>>2]<<1;q[e+56>>2]=b;q[e+60>>2]=b+q[e+376>>2]<<1;while(1){b=r[(a+f|0)+36914|0];if(b){d=(b<<2)+e|0;c=q[d>>2];q[d>>2]=c+1;d=0;while(1){d=c&1|d<<1;c=c>>>1|0;g=(b|0)>1;b=b-1|0;if(g){continue}break}p[((f<<1)+a|0)+35474>>1]=d}f=f+1|0;if((f|0)!=32){continue}break}b=q[a+68>>2];c=b+2|0;q[a+68>>2]=c;b=q[a+72>>2]|1<>2]=b;if(c>>>0<8){break a}while(1){d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=b;c=q[a+68>>2];b=q[a+72>>2]}c=c-8|0;q[a+68>>2]=c;b=b>>>8|0;q[a+72>>2]=b;if(c>>>0>7){continue}break}break a}p[a+33682>>1]=1;Lw(a,0,288,15);Lw(a,1,32,15);b=286;while(1){b:{g=b;if(b>>>0<258){g=257;break b}b=g-1|0;if(!r[(b+a|0)+36626|0]){continue}}break}b=30;while(1){c:{i=b;if(b>>>0<2){i=1;break c}b=i-1|0;if(!r[(b+a|0)+36914|0]){continue}}break}si(e+320|0,a+36626|0,g);si((e+320|0)+g|0,a+36914|0,i);b=a+34352|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;b=a+34346|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;b=a+34338|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;b=a+34330|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;k=a+34322|0;b=k;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;m=g+i|0;d:{if(!m){break d}b=0;d=255;while(1){j=d;d=r[(e+320|0)+f|0];e:{f:{g:{if(!d){h:{if(!c){break h}if(c>>>0<=2){l=(((j&255)<<1)+a|0)+34322|0;p[l>>1]=s[l>>1]+c;qi(e+h|0,j,c);h=c+h|0;break h}p[a+34354>>1]=s[a+34354>>1]+1;j=e+h|0;o[j+1|0]=c-3;o[j|0]=16;h=h+2|0}c=0;b=b+1|0;if((b|0)!=138){break e}p[a+34358>>1]=s[a+34358>>1]+1;b=e+h|0;o[b|0]=18;o[b+1|0]=127;break g}i:{if(!b){break i}if(b>>>0<=2){p[k>>1]=s[k>>1]+b;qi(e+h|0,0,b);h=b+h|0;break i}j:{if(b>>>0<=10){p[a+34356>>1]=s[a+34356>>1]+1;l=e+h|0;o[l+1|0]=b-3;o[l|0]=17;break j}p[a+34358>>1]=s[a+34358>>1]+1;l=e+h|0;o[l+1|0]=b-11;o[l|0]=18}h=h+2|0}b=j&255;if((b|0)!=(d|0)){k:{if(!c){break k}if(c>>>0<=2){b=((b<<1)+a|0)+34322|0;p[b>>1]=s[b>>1]+c;qi(e+h|0,j,c);h=c+h|0;break k}p[a+34354>>1]=s[a+34354>>1]+1;b=e+h|0;o[b+1|0]=c-3;o[b|0]=16;h=h+2|0}b=((d<<1)+a|0)+34322|0;p[b>>1]=s[b>>1]+1;o[e+h|0]=d;h=h+1|0;break f}b=0;c=c+1|0;if((c|0)!=6){break e}p[a+34354>>1]=s[a+34354>>1]+1;b=e+h|0;o[b|0]=16;o[b+1|0]=3}h=h+2|0}c=0;b=0}f=f+1|0;if((m|0)!=(f|0)){continue}break}if(c){if(c>>>0<=2){b=((d<<1)+a|0)+34322|0;p[b>>1]=s[b>>1]+c;qi(e+h|0,d,c);h=c+h|0;break d}p[a+34354>>1]=s[a+34354>>1]+1;b=e+h|0;o[b+1|0]=c-3;o[b|0]=16;h=h+2|0;break d}if(!b){break d}if(b>>>0<=2){p[k>>1]=s[k>>1]+b;qi(e+h|0,0,b);h=b+h|0;break d}if(b>>>0<=10){p[a+34356>>1]=s[a+34356>>1]+1;c=e+h|0;o[c+1|0]=b-3;o[c|0]=17;h=h+2|0;break d}p[a+34358>>1]=s[a+34358>>1]+1;c=e+h|0;o[c+1|0]=b-11;o[c|0]=18;h=h+2|0}Lw(a,2,19,7);c=q[a+68>>2];b=c+2|0;q[a+68>>2]=b;d=q[a+72>>2]|2<>2]=d;if(b>>>0>=8){while(1){c=a;f=q[a+48>>2];if(f>>>0>2]){q[a+48>>2]=f+1;o[f|0]=d;d=q[a+72>>2];b=q[a+68>>2]}b=b-8|0;q[c+68>>2]=b;d=d>>>8|0;q[a+72>>2]=d;if(b>>>0>7){continue}break}}l:{m:{n:{g=g-257|0;if(g>>>0<32){c=b+5|0;q[a+68>>2]=c;f=g<>2]=f;if(b>>>0>=3){while(1){b=a;d=q[b+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=f;f=q[a+72>>2];c=q[a+68>>2]}c=c-8|0;q[b+68>>2]=c;f=f>>>8|0;q[a+72>>2]=f;if(c>>>0>7){continue}break}}b=i-1|0;if(b>>>0>=32){break n}d=c+5|0;q[a+68>>2]=d;b=b<>2]=b;if(c>>>0>=3){while(1){c=q[a+48>>2];if(c>>>0>2]){q[a+48>>2]=c+1;o[c|0]=b;d=q[a+68>>2];b=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;b=b>>>8|0;q[a+72>>2]=b;if(d>>>0>7){continue}break}}g=19;if(r[a+37217|0]){break m}g=18;if(r[a+37203|0]){break m}g=17;if(r[a+37216|0]){break m}g=16;if(r[a+37204|0]){break m}g=15;if(r[a+37215|0]){break m}g=14;if(r[a+37205|0]){break m}g=13;if(r[a+37214|0]){break m}g=12;if(r[a+37206|0]){break m}g=11;if(r[a+37213|0]){break m}g=10;if(r[a+37207|0]){break m}g=9;if(r[a+37212|0]){break m}g=8;if(r[a+37208|0]){break m}g=7;if(r[a+37211|0]){break m}g=6;if(r[a+37209|0]){break m}g=5;if(r[a+37210|0]){break m}g=4;if(r[a+37202|0]|r[a+37220|0]|(r[a+37219|0]|r[a+37218|0])){break m}f=0;break l}J(198223,196587,2942,198290);G()}J(198223,196587,2943,198290);G()}f=g-4|0}c=d+4|0;q[a+68>>2]=c;b=f<>2]=b;if(d>>>0>=4){while(1){d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=b;c=q[a+68>>2];b=q[a+72>>2]}c=c-8|0;q[a+68>>2]=c;b=b>>>8|0;q[a+72>>2]=b;if(c>>>0>7){continue}break}}f=0;o:{p:{q:{r:{while(1){i=r[(r[f+198320|0]+a|0)+37202|0];if(i>>>0>=8){break r}d=c+3|0;q[a+68>>2]=d;b=i<>2]=b;c=d;if(c>>>0>=8){while(1){d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=b;c=q[a+68>>2];b=q[a+72>>2]}c=c-8|0;q[a+68>>2]=c;b=b>>>8|0;q[a+72>>2]=b;if(c>>>0>7){continue}break}}f=f+1|0;if((f|0)!=(g|0)){continue}break}if(!h){break a}f=0;while(1){i=r[e+f|0];if(i>>>0>=19){break q}g=s[((i<<1)+a|0)+36050>>1];d=r[(a+i|0)+37202|0];if(g>>>d|0){break p}d=c+d|0;q[a+68>>2]=d;b=g<>2]=b;if(d>>>0>=8){while(1){c=q[a+48>>2];if(c>>>0>2]){q[a+48>>2]=c+1;o[c|0]=b;d=q[a+68>>2];b=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;b=b>>>8|0;q[a+72>>2]=b;if(d>>>0>7){continue}break}}g=f+1|0;s:{if(i>>>0<16){c=d;f=g;break s}g=r[e+g|0];c=o[i+196544|0];if(g>>>c|0){break o}f=f+2|0;c=c+d|0;q[a+68>>2]=c;b=g<>2]=b;if(c>>>0<8){break s}while(1){d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=b;c=q[a+68>>2];b=q[a+72>>2]}c=c-8|0;q[a+68>>2]=c;b=b>>>8|0;q[a+72>>2]=b;if(c>>>0>7){continue}break}}if(f>>>0>>0){continue}break}break a}J(198223,196587,2953,198290);G()}J(198339,196587,2958,198290);G()}J(198223,196587,2959,198290);G()}J(198223,196587,2962,198290);G()}t:{u:{v:{w:{x:{y:{z:{A:{g=a+37490|0;if(g>>>0>2]){h=1;while(1){if((h|0)==1){h=r[g|0]|256;g=g+1|0}B:{if(h&1){i=r[g|0];f=s[(i<<1)+197664>>1];d=r[(f+a|0)+36626|0];if(!d){break A}j=s[((f<<1)+a|0)+34898>>1];if(j>>>d|0){break z}f=r[g+2|0];k=r[g+1|0];d=c+d|0;q[a+68>>2]=d;c=j<>2]=c;if(d>>>0>=8){while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=c;d=q[a+68>>2];c=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;c=c>>>8|0;q[a+72>>2]=c;if(d>>>0>7){continue}break}}b=r[i+198528|0];i=i&q[(b<<2)+198448>>2];if(i>>>b|0){break y}b=b+d|0;q[a+68>>2]=b;c=i<>2]=c;if(b>>>0>=8){while(1){d=a;i=q[a+48>>2];if(i>>>0>2]){q[a+48>>2]=i+1;o[i|0]=c;c=q[a+72>>2];b=q[a+68>>2]}b=b-8|0;q[d+68>>2]=b;c=c>>>8|0;q[a+72>>2]=c;if(b>>>0>7){continue}break}}i=k|f<<8;d=i>>>0<512;j=r[(d?i+197024|0:f+197536|0)|0];k=s[((j<<1)+a|0)+35474>>1];j=r[(a+j|0)+36914|0];if(k>>>j|0){break x}f=r[(d?i+198784|0:f+199296|0)|0];d=b+j|0;q[a+68>>2]=d;b=k<>2]=b;if(d>>>0>=8){while(1){c=q[a+48>>2];if(c>>>0>2]){q[a+48>>2]=c+1;o[c|0]=b;d=q[a+68>>2];b=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;b=b>>>8|0;q[a+72>>2]=b;if(d>>>0>7){continue}break}}i=i&q[(f<<2)+198448>>2];if(i>>>f|0){break w}g=g+3|0;c=d+f|0;q[a+68>>2]=c;b=i<>2]=b;if(c>>>0<8){break B}while(1){d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=b;c=q[a+68>>2];b=q[a+72>>2]}c=c-8|0;q[a+68>>2]=c;b=b>>>8|0;q[a+72>>2]=b;if(c>>>0>7){continue}break}break B}f=r[g|0];d=r[(f+a|0)+36626|0];if(!d){break v}f=s[((f<<1)+a|0)+34898>>1];if(f>>>d|0){break u}g=g+1|0;d=c+d|0;q[a+68>>2]=d;b=f<>2]=b;if(d>>>0>=8){while(1){c=q[a+48>>2];if(c>>>0>2]){q[a+48>>2]=c+1;o[c|0]=b;d=q[a+68>>2];b=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;b=b>>>8|0;q[a+72>>2]=b;if(d>>>0>7){continue}break}}c=d}h=h>>>1|0;if(t[a+40>>2]>g>>>0){continue}break}}g=s[a+35410>>1];d=r[a+36882|0];if(g>>>d|0){break t}d=c+d|0;q[a+68>>2]=d;b=g<>2]=b;if(d>>>0>=8){while(1){c=q[a+48>>2];if(c>>>0>2]){q[a+48>>2]=c+1;o[c|0]=b;d=q[a+68>>2];b=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;b=b>>>8|0;q[a+72>>2]=b;if(d>>>0>7){continue}break}}fi=e+640|0;return t[a+52>>2]>t[a+48>>2]}J(198371,196587,3103,198423);G()}J(198223,196587,3105,198423);G()}J(198223,196587,3107,198423);G()}J(198223,196587,3116,198423);G()}J(198223,196587,3117,198423);G()}J(199424,196587,3120,198423);G()}J(198223,196587,3121,198423);G()}J(198223,196587,3125,198423);G()}function ira(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=-2;a:{b:{c:{if(!a){break c}c=q[a+28>>2];if(!c){break c}d:{if(!(!q[a+12>>2]|(q[a+4>>2]?!q[a>>2]:0))){d=q[c+4>>2];break d}q[a+24>>2]=q[71860];return-2}if(!q[a+16>>2]){break b}q[c>>2]=a;q[c+40>>2]=4;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((d|0)==42){if(q[c+24>>2]==2){q[a+48>>2]=bl(0,0,0);b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=31;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=139;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=8;b=q[c+28>>2];if(!b){b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;d=2;b=q[c+132>>2];if((b|0)!=9){d=(b|0)<2?4:(q[c+136>>2]>1)<<2}b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=3;q[c+4>>2]=113;break e}e=q[b+36>>2];f=q[b+28>>2];g=q[b+16>>2];h=q[b+44>>2];b=q[b>>2];i=q[c+20>>2];q[c+20>>2]=i+1;d=2;o[i+q[c+8>>2]|0]=((h|0)!=0)<<1|(b|0)!=0|((g|0)!=0)<<2|((f|0)!=0)<<3|((e|0)!=0)<<4;b=q[q[c+28>>2]+4>>2];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=q[q[c+28>>2]+4>>2];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b>>>8;b=s[q[c+28>>2]+6>>1];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=r[q[c+28>>2]+7|0];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=q[c+132>>2];if((b|0)!=9){d=(b|0)<2?4:(q[c+136>>2]>1)<<2}b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[q[c+28>>2]+12>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[c+28>>2];if(q[b+16>>2]){b=q[b+20>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[q[c+28>>2]+20>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=q[c+28>>2]}if(q[b+44>>2]){q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2],q[c+20>>2])}q[c+4>>2]=69;q[c+32>>2]=0;break o}e=(q[c+48>>2]<<12)-30720|0;d=0;p:{if(q[c+136>>2]>1){break p}b=q[c+132>>2];if((b|0)<2){break p}d=64;if((b|0)<6){break p}d=(b|0)==6?128:192}q[c+4>>2]=113;b=q[c+20>>2];q[c+20>>2]=b+1;f=b+q[c+8>>2]|0;b=d|e;b=q[c+108>>2]?b|32:b;o[f|0]=b>>>8;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=(b|(b>>>0)%31)^31;if(q[c+108>>2]){b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>24;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>16;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b}q[a+48>>2]=Vp(0,0,0);d=q[c+4>>2]}if((d|0)!=69){break n}}q:{f=q[c+28>>2];if(q[f+16>>2]){d=q[c+20>>2];e=q[c+32>>2];if(e>>>0>=s[f+20>>1]){break q}b=d;while(1){if(q[c+12>>2]==(d|0)){if(!(!q[f+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];nl(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;r:{if(!d){break r}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break r}q[b+16>>2]=q[b+8>>2]}f=q[c+28>>2];d=q[c+20>>2];if((d|0)==q[c+12>>2]){break q}e=q[c+32>>2];b=d}e=r[q[f+16>>2]+e|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=e;e=q[c+32>>2]+1|0;q[c+32>>2]=e;f=q[c+28>>2];if(s[f+20>>1]<=e>>>0){d=b;break q}else{d=q[c+20>>2];continue}}}q[c+4>>2]=73;break m}s:{if(!q[f+44>>2]){break s}b=q[c+20>>2];if(b>>>0<=d>>>0){break s}q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+d|0,b-d|0);f=q[c+28>>2]}if(q[c+32>>2]==q[f+20>>2]){q[c+4>>2]=73;q[c+32>>2]=0;break m}d=q[c+4>>2]}if((d|0)!=73){break l}f=q[c+28>>2]}if(!q[f+28>>2]){break j}d=q[c+20>>2];b=d;t:{while(1){u:{if(q[c+12>>2]==(d|0)){if(!(!q[q[c+28>>2]+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];nl(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;v:{if(!d){break v}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break v}q[b+16>>2]=q[b+8>>2]}d=q[c+20>>2];if((d|0)==q[c+12>>2]){break u}b=d}e=1;f=q[q[c+28>>2]+28>>2];g=q[c+32>>2];q[c+32>>2]=g+1;f=r[f+g|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=f;if(f){d=q[c+20>>2];continue}else{d=b;break t}}break}e=0}w:{if(!q[q[c+28>>2]+44>>2]){break w}b=q[c+20>>2];if(b>>>0<=d>>>0){break w}q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+d|0,b-d|0)}if(e){break k}d=q[c+4>>2]}if((d|0)==91){break i}break h}q[c+32>>2]=0}q[c+4>>2]=91}if(!q[q[c+28>>2]+36>>2]){break g}d=q[c+20>>2];b=d;x:{while(1){y:{if(q[c+12>>2]==(d|0)){if(!(!q[q[c+28>>2]+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];nl(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;z:{if(!d){break z}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break z}q[b+16>>2]=q[b+8>>2]}d=q[c+20>>2];if((d|0)==q[c+12>>2]){break y}b=d}e=1;f=q[q[c+28>>2]+36>>2];g=q[c+32>>2];q[c+32>>2]=g+1;f=r[f+g|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=f;if(f){d=q[c+20>>2];continue}else{d=b;break x}}break}e=0}A:{if(!q[q[c+28>>2]+44>>2]){break A}b=q[c+20>>2];if(b>>>0<=d>>>0){break A}q[a+48>>2]=bl(q[a+48>>2],q[c+8>>2]+d|0,b-d|0)}if(e){break g}d=q[c+4>>2]}if((d|0)==103){break f}break e}q[c+4>>2]=103}if(q[q[c+28>>2]+44>>2]){B:{if(t[c+12>>2]>=q[c+20>>2]+2>>>0){break B}b=q[a+28>>2];nl(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;if(!d){break B}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break B}q[b+16>>2]=q[b+8>>2]}b=q[c+20>>2];if(t[c+12>>2]>>0){break e}d=q[a+48>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;q[a+48>>2]=bl(0,0,0);q[c+4>>2]=113;break e}q[c+4>>2]=113}C:{if(q[c+20>>2]){b=q[a+28>>2];nl(b);e=q[a+16>>2];d=q[b+20>>2];d=d>>>0>e>>>0?e:d;D:{if(!d){break D}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];e=q[a+16>>2]-d|0;q[a+16>>2]=e;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break D}q[b+16>>2]=q[b+8>>2]}if(e){break C}break a}if(q[a+4>>2]){break C}}b=q[a+4>>2];E:{d=q[c+4>>2];F:{G:{if((d|0)==666){if(!b){break G}break b}if(b){break F}}if((d|0)!=666){break F}if(!q[c+116>>2]){break E}}H:{I:{J:{K:{switch(q[c+136>>2]-2|0){case 0:while(1){L:{if(q[c+116>>2]){break L}as(c);if(q[c+116>>2]){break L}q[c+5812>>2]=0;b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}ym(b,e,q[c+108>>2]-d|0,1);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];nl(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;M:{if(!e){break M}si(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break M}q[d+16>>2]=q[d+8>>2]}b=q[q[c>>2]+16>>2]?3:2;break J}q[c+96>>2]=0;b=r[q[c+56>>2]+q[c+108>>2]|0];d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=0;q[c+5792>>2]=d+1;o[d+q[c+5784>>2]|0]=b;b=(b<<2)+c|0;p[b+148>>1]=s[b+148>>1]+1;q[c+116>>2]=q[c+116>>2]-1;f=q[c+108>>2]+1|0;q[c+108>>2]=f;if(q[c+5792>>2]!=(q[c+5788>>2]-1|0)){continue}b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}ym(b,e,f-d|0,0);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];nl(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;N:{if(!e){break N}si(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break N}q[d+16>>2]=q[d+8>>2]}if(q[q[c>>2]+16>>2]){continue}break}break I;case 1:while(1){O:{P:{Q:{d=q[c+116>>2];if(d>>>0>=259){q[c+96>>2]=0;break Q}as(c);d=q[c+116>>2];if(d){q[c+96>>2]=0;if(d>>>0>2){break Q}f=q[c+108>>2];break P}q[c+5812>>2]=0;b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}ym(b,e,q[c+108>>2]-d|0,1);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];nl(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;R:{if(!e){break R}si(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break R}q[d+16>>2]=q[d+8>>2]}b=q[q[c>>2]+16>>2]?3:2;break J}f=q[c+108>>2];if(!f){f=0;break P}j=q[c+56>>2]+f|0;b=j-1|0;h=r[b|0];if((h|0)!=r[j|0]|(h|0)!=r[b+2|0]|(h|0)!=r[b+3|0]){break P}k=j+258|0;b=-1;S:{T:{U:{V:{W:{X:{while(1){g=b+j|0;if((h|0)==r[g+4|0]){if((h|0)!=r[g+5|0]){break X}if((h|0)!=r[g+6|0]){break W}if((h|0)!=r[g+7|0]){break V}e=b+8|0;i=e+j|0;if((h|0)!=r[i|0]){break S}if((h|0)!=r[g+9|0]){break U}if((h|0)!=r[g+10|0]){break T}i=g+11|0;if((b|0)>246){break S}b=e;if((h|0)==r[i|0]){continue}break S}break}i=g+4|0;break S}i=g+5|0;break S}i=g+6|0;break S}i=g+7|0;break S}i=g+9|0;break S}i=g+10|0}b=(i-k|0)+258|0;b=b>>>0>d>>>0?d:b;q[c+96>>2]=b;if(b>>>0<3){break P}d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=1;q[c+5792>>2]=d+1;b=b-3|0;o[d+q[c+5784>>2]|0]=b;b=((r[(b&255)+181632|0]<<2)+c|0)+1176|0;p[b>>1]=s[b>>1]+1;b=((r[181120]<<2)+c|0)+2440|0;p[b>>1]=s[b>>1]+1;b=q[c+96>>2];q[c+96>>2]=0;q[c+116>>2]=q[c+116>>2]-b;d=b+q[c+108>>2]|0;q[c+108>>2]=d;break O}b=r[q[c+56>>2]+f|0];d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=0;q[c+5792>>2]=d+1;o[d+q[c+5784>>2]|0]=b;b=(b<<2)+c|0;p[b+148>>1]=s[b+148>>1]+1;q[c+116>>2]=q[c+116>>2]-1;d=q[c+108>>2]+1|0;q[c+108>>2]=d}if(q[c+5792>>2]!=(q[c+5788>>2]-1|0)){continue}b=c;e=q[c+92>>2];if((e|0)>=0){f=e+q[c+56>>2]|0}else{f=0}ym(b,f,d-e|0,0);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];nl(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;Y:{if(!e){break Y}si(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break Y}q[d+16>>2]=q[d+8>>2]}if(q[q[c>>2]+16>>2]){continue}break}break I;default:break K}}b=ji[q[(w(q[c+132>>2],12)+287232|0)+8>>2]](c,4)|0}if((b&-2)==2){q[c+4>>2]=666}if(b&-3){break H}}d=0;if(q[a+16>>2]){break c}break a}if((b|0)!=1){break E}fM(c,0,0,0);b=q[a+28>>2];nl(b);e=q[a+16>>2];d=q[b+20>>2];d=d>>>0>e>>>0?e:d;Z:{if(!d){break Z}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];e=q[a+16>>2]-d|0;q[a+16>>2]=e;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break Z}q[b+16>>2]=q[b+8>>2]}if(e){break E}break a}d=1;e=q[c+24>>2];if((e|0)<1){break c}b=q[a+48>>2];_:{if((e|0)==2){d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=s[a+50>>1];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=r[a+51|0];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+8>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+8>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=s[a+10>>1];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;d=r[a+11|0];b=q[c+20>>2];q[c+20>>2]=b+1;b=b+q[c+8>>2]|0;break _}d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>24;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>16;d=q[a+48>>2];b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d>>>8;b=q[c+20>>2];q[c+20>>2]=b+1;b=b+q[c+8>>2]|0}o[b|0]=d;b=q[a+28>>2];nl(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;$:{if(!d){break $}si(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;a=q[b+20>>2]-d|0;q[b+20>>2]=a;if(a){break $}q[b+16>>2]=q[b+8>>2]}a=q[c+24>>2];if((a|0)>=1){q[c+24>>2]=0-a}d=!q[c+20>>2]}return d}q[a+24>>2]=q[71863];return-5}q[c+40>>2]=-1;return 0}function b6(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=0,l=x(0),m=x(0),n=x(0),p=x(0),s=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=0,E=x(0),F=0,H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=0,R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=0,ea=0,fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=0,ka=0,la=0,ma=0;c=fi-864|0;fi=c;a:{b:{c:{d:{D=q[a+4>>2];F=q[a>>2];k=D-F|0;if(k){D=F-D|0;s=((k|0)<(D|0)?D:k)>>>2|0;k=(k|0)>-1?k:-1;k=w(s,(k|0)<1?k:1);ja=k>>>0>1?k:1;while(1){k=q[a>>2];if(q[a+4>>2]-k>>2>>>0<=da>>>0){break c}e:{D=q[k+(da<<2)>>2];if(!D){break e}s=q[D+4>>2];k=q[D>>2];F=s-k|0;if(!F){break e}F=(F|0)/288|0;if((k|0)!=(s|0)){ka=F>>>0>1?F:1;la=q[D+64>>2];F=0;while(1){s=q[la+16>>2];if(t[s+4>>2]<=F>>>0){break d}s=q[s>>2];q[c+856>>2]=0;q[c+860>>2]=1065353216;q[c+848>>2]=0;q[c+852>>2]=1065353216;k=w(F,288)+k|0;f:{g:{if(!q[k+264>>2]){e=x(1);g=x(0);break g}if(q[(s+(F<<7)|0)+4>>2]==1?!(r[k+280|0]&8):0){break f}e=u[(s+(F<<7)|0)+8>>2];e=e<=x(0)?x(0):x(u[k+248>>2]/e);g=x(x(1)-e)}u[c+856>>2]=e;u[c+852>>2]=g}k=s+(F<<7)|0;e=u[k+44>>2];d=u[D+60>>2];g=u[k+32>>2];v=u[D+48>>2];h=u[k+36>>2];i=u[D+52>>2];H=x(x(x(e*d)-x(g*v))-x(h*i));j=u[k+40>>2];f=u[D+56>>2];I=x(j*f);C=x(x(h*v)+x(x(e*f)+x(j*d)));O=x(g*i);P=x(x(g*f)+x(x(e*i)+x(h*d)));B=x(j*v);j=x(x(j*i)+x(x(e*v)+x(g*d)));E=x(h*f);n=u[D+44>>2];e=x(u[k+16>>2]*n);g=x(u[k+20>>2]*n);h=u[k+24>>2];h:{if(o[D+82|0]&1){h=x(h*n);l=x(x(x(f*e)+x(d*g))-x(v*h));m=x(x(x(d*h)+x(v*g))-x(i*e));p=x(x(x(d*e)+x(i*h))-x(f*g));z=x(x(i*g)+x(v*e));y=x(f*h);break h}m=x(x(x(h*d)+x(v*g))-x(i*e));l=x(x(x(f*e)+x(d*g))-x(h*v));p=x(x(x(h*i)+x(d*e))-x(f*g));z=x(x(v*e)+x(i*g));y=x(h*f)}e=x(H-I);g=x(C-O);h=x(P-B);j=x(j-E);H=x(y+z);y=x(u[D+40>>2]+x(x(v*l)+x(x(x(f*H)+x(d*m))-x(i*p))));z=x(u[D+36>>2]+x(x(f*p)+x(x(x(d*l)+x(i*H))-x(v*m))));v=x(u[D+32>>2]+x(x(i*m)+x(x(x(d*p)+x(v*H))-x(f*l))));i:{j:{switch(q[k+76>>2]-2|0){case 1:if(t[k+88>>2]<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}d=x(u[q[k+20>>2]+4>>2]*x(.5));k=0;while(1){s=(c+32|0)+w(k,48)|0;q[s+16>>2]=0;q[s+8>>2]=0;q[s+36>>2]=0;f=x(x(x(k>>>0)*x(6.2831854820251465))*x(.0625));i=x(d*nk(f));u[s+40>>2]=i;f=x(d*rl(f));u[s+32>>2]=f;u[s+24>>2]=i;u[s+20>>2]=f;u[s+4>>2]=i;u[s>>2]=f;s=1;k=k+1|0;if((k|0)!=17){continue}break}while(1){ma=s-1|0;k=0;while(1){ea=k<<4;Q=ea+((c+32|0)+w(ma,48)|0)|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));Q=((c+32|0)+w(s,48)|0)+ea|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+8>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+4>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));ji[442](b,c+16|0,c,c+848|0);k=k+1|0;if((k|0)!=3){continue}break}s=s+1|0;if((s|0)!=17){continue}break}break i;case 2:s=q[k+88>>2];if(s>>>0<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}if(s>>>0<=2){break b}if(!q[k+40>>2]){break a}d=u[q[k+20>>2]+4>>2];i=u[q[k+36>>2]+4>>2];u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;d=x(d*x(.5));f=x(n*d);N=x(e*f);l=x(n*i);O=x(h*l);m=x(n*x(0));p=x(m*g);P=x(x(N+O)-p);B=x(m*e);S=x(g*f);H=x(j*l);E=x(x(B+S)-H);I=x(m*h);T=x(j*f);C=x(g*l);K=x(x(I+T)+C);m=x(j*m);l=x(e*l);A=x(m+l);U=x(h*f);f=x(A-U);u[c+20>>2]=z+x(x(g*P)+x(x(x(e*E)+x(h*K))-x(j*f)));u[c+24>>2]=y+x(x(j*E)+x(x(x(g*K)+x(e*f))-x(h*P)));u[c+16>>2]=v+x(x(h*f)+x(x(x(j*K)+x(e*P))-x(g*E)));ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;P=x(-d);f=x(n*P);L=x(g*f);E=x(x(B+L)-H);M=x(j*f);K=x(x(I+M)+C);V=x(h*f);A=x(A-V);W=x(e*f);f=x(x(W+O)-p);u[c+24>>2]=y+x(x(j*E)+x(x(x(g*K)+x(e*A))-x(h*f)));u[c+20>>2]=z+x(x(g*f)+x(x(x(e*E)+x(h*K))-x(j*A)));u[c+16>>2]=v+x(x(h*A)+x(x(x(j*K)+x(e*f))-x(g*E)));ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;f=x(x(p+N)-H);E=x(x(m+U)+C);K=x(x(T+l)-I);B=x(B+O);O=x(B-S);u[c+24>>2]=y+x(x(j*f)+x(x(x(g*E)+x(e*K))-x(h*O)));u[c+20>>2]=z+x(x(g*O)+x(x(x(e*f)+x(h*E))-x(j*K)));u[c+16>>2]=v+x(x(h*K)+x(x(x(j*E)+x(e*O))-x(g*f)));ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;f=x(x(p+W)-H);m=x(x(m+V)+C);l=x(x(M+l)-I);p=x(B-L);u[c+24>>2]=y+x(x(j*f)+x(x(x(g*m)+x(e*l))-x(h*p)));u[c+20>>2]=z+x(x(g*p)+x(x(x(e*f)+x(h*m))-x(j*l)));u[c+16>>2]=v+x(x(h*l)+x(x(x(j*m)+x(e*p))-x(g*f)));ji[442](b,c+32|0,c+16|0,c+848|0);u[c+280>>2]=i;f=x(d*x(-.3826834261417389));u[c+276>>2]=f;u[c+272>>2]=d*x(.9238795638084412);u[c+264>>2]=i;u[c+260>>2]=d*x(-.7071065306663513);u[c+256>>2]=d*x(.7071070075035095);u[c+248>>2]=i;u[c+244>>2]=d*x(-.9238794445991516);u[c+240>>2]=d*x(.3826836049556732);u[c+232>>2]=i;u[c+228>>2]=P;u[c+224>>2]=d*x(1.1924880638503055e-8);u[c+216>>2]=i;u[c+212>>2]=d*x(-.9238796830177307);u[c+208>>2]=d*x(-.382683128118515);u[c+200>>2]=i;u[c+196>>2]=d*x(-.70710688829422);u[c+192>>2]=d*x(-.7071066498756409);u[c+184>>2]=i;u[c+180>>2]=f;u[c+176>>2]=d*x(-.9238795042037964);u[c+168>>2]=i;u[c+164>>2]=d*x(-8.742277657347586e-8);u[c+160>>2]=P;u[c+152>>2]=i;u[c+148>>2]=d*x(.38268327713012695);u[c+144>>2]=d*x(-.9238796234130859);u[c+136>>2]=i;f=x(d*x(.7071067690849304));u[c+132>>2]=f;u[c+128>>2]=d*x(-.7071067690849304);u[c+120>>2]=i;l=x(d*x(.9238795042037964));u[c+116>>2]=l;u[c+112>>2]=d*x(-.38268351554870605);u[c+104>>2]=i;u[c+100>>2]=d;u[c+96>>2]=d*x(-4.371138828673793e-8);u[c+88>>2]=i;u[c+84>>2]=l;u[c+80>>2]=d*x(.3826834261417389);u[c+72>>2]=i;u[c+68>>2]=f;u[c+64>>2]=f;u[c+56>>2]=i;u[c+52>>2]=d*x(.3826834559440613);u[c+48>>2]=l;u[c+40>>2]=i;u[c+36>>2]=d*x(0);u[c+32>>2]=d;k=1;while(1){s=(c+32|0)+(k<<4)|0;Q=s-16|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));d=x(n*u[s>>2]);i=x(n*u[s+4>>2]);f=x(n*u[s+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+8>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+4>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));ji[442](b,c+16|0,c,c+848|0);k=k+1|0;if((k|0)!=16){continue}break}d=x(n*u[c+272>>2]);i=x(n*u[c+276>>2]);f=x(n*u[c+280>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));R=y;d=x(n*u[c+32>>2]);y=x(n*u[c+36>>2]);n=x(n*u[c+40>>2]);i=x(x(x(g*d)+x(e*y))-x(j*n));f=x(x(g*n)+x(x(j*d)+x(h*y)));l=x(x(x(j*y)+x(e*n))-x(h*d));n=x(x(x(e*d)+x(h*n))-x(g*y));u[c+8>>2]=R+x(x(j*i)+x(x(x(g*f)+x(e*l))-x(h*n)));u[c+4>>2]=z+x(x(g*n)+x(x(x(e*i)+x(h*f))-x(j*l)));u[c>>2]=v+x(x(h*l)+x(x(x(j*f)+x(e*n))-x(g*i)));ji[442](b,c+16|0,c,c+848|0);break i;case 0:break j;default:break i}}s=q[k+88>>2];if(s>>>0<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}if(s>>>0<=2){break b}if(!q[k+40>>2]){break a}if(s>>>0<=3){break b}if(!q[k+56>>2]){break a}B=x(u[q[k+20>>2]+4>>2]*x(.5));d=x(n*x(-B));V=x(e*d);L=x(u[q[k+52>>2]+4>>2]*x(.5));i=x(n*x(-L));E=x(h*i);U=x(V+E);A=x(u[q[k+36>>2]+4>>2]*x(.5));f=x(n*x(-A));l=x(g*f);H=x(U-l);M=x(g*d);K=x(e*f);W=x(M+K);m=x(j*i);I=x(W-m);X=x(j*d);N=x(h*f);Y=x(X+N);p=x(g*i);C=x(Y+p);R=x(j*f);S=x(e*i);f=x(R+S);d=x(h*d);i=x(f-d);O=x(z+x(x(g*H)+x(x(x(e*I)+x(h*C))-x(j*i))));u[c+36>>2]=O;P=x(y+x(x(j*I)+x(x(x(g*C)+x(e*i))-x(h*H))));u[c+40>>2]=P;H=x(v+x(x(h*i)+x(x(x(j*C)+x(e*H))-x(g*I))));u[c+32>>2]=H;i=x(n*B);T=x(g*i);Z=x(T+K);I=x(Z-m);_=x(j*i);aa=x(_+N);C=x(aa+p);$=f;f=x(h*i);B=x($-f);fa=x(e*i);N=x(fa+E);i=x(N-l);E=x(y+x(x(j*I)+x(x(x(g*C)+x(e*B))-x(h*i))));u[c+24>>2]=E;K=x(z+x(x(g*i)+x(x(x(e*I)+x(h*C))-x(j*B))));u[c+20>>2]=K;I=x(v+x(x(h*B)+x(x(x(j*C)+x(e*i))-x(g*I))));u[c+16>>2]=I;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=E;u[c+36>>2]=K;u[c+32>>2]=I;i=x(n*A);ba=x(e*i);ga=x(T+ba);C=x(ga-m);$=_;_=x(h*i);ha=x($+_);B=x(ha+p);ia=x(j*i);ca=x(ia+S);A=x(ca-f);i=x(g*i);N=x(N-i);S=x(y+x(x(j*C)+x(x(x(g*B)+x(e*A))-x(h*N))));u[c+24>>2]=S;T=x(z+x(x(g*N)+x(x(x(e*C)+x(h*B))-x(j*A))));u[c+20>>2]=T;C=x(v+x(x(h*A)+x(x(x(j*B)+x(e*N))-x(g*C))));u[c+16>>2]=C;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=S;u[c+36>>2]=T;u[c+32>>2]=C;ba=x(M+ba);m=x(ba-m);_=x(X+_);p=x(_+p);B=x(ca-d);A=x(U-i);N=x(y+x(x(j*m)+x(x(x(g*p)+x(e*B))-x(h*A))));u[c+24>>2]=N;U=x(z+x(x(g*A)+x(x(x(e*m)+x(h*p))-x(j*B))));u[c+20>>2]=U;B=x(v+x(x(h*B)+x(x(x(j*p)+x(e*A))-x(g*m))));u[c+16>>2]=B;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=N;u[c+36>>2]=U;u[c+32>>2]=B;u[c+24>>2]=P;u[c+20>>2]=O;u[c+16>>2]=H;ji[442](b,c+32|0,c+16|0,c+848|0);n=x(n*L);m=x(j*n);A=x(W-m);p=x(g*n);L=x(Y+p);$=R;R=x(e*n);X=x($+R);M=x(X-d);Y=x(h*n);ca=x(V+Y);n=x(ca-l);V=x(y+x(x(j*A)+x(x(x(g*L)+x(e*M))-x(h*n))));u[c+40>>2]=V;W=x(z+x(x(g*n)+x(x(x(e*A)+x(h*L))-x(j*M))));u[c+36>>2]=W;n=x(v+x(x(h*M)+x(x(x(j*L)+x(e*n))-x(g*A))));u[c+32>>2]=n;A=x(Z-m);L=x(aa+p);M=x(X-f);Z=x(fa+Y);l=x(Z-l);X=x(y+x(x(j*A)+x(x(x(g*L)+x(e*M))-x(h*l))));u[c+24>>2]=X;Y=x(z+x(x(g*l)+x(x(x(e*A)+x(h*L))-x(j*M))));u[c+20>>2]=Y;l=x(v+x(x(h*M)+x(x(x(j*L)+x(e*l))-x(g*A))));u[c+16>>2]=l;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=X;u[c+36>>2]=Y;u[c+32>>2]=l;A=x(ga-m);L=x(ha+p);aa=x(ia+R);f=x(aa-f);M=x(Z-i);R=x(y+x(x(j*A)+x(x(x(g*L)+x(e*f))-x(h*M))));u[c+24>>2]=R;Z=x(z+x(x(g*M)+x(x(x(e*A)+x(h*L))-x(j*f))));u[c+20>>2]=Z;f=x(v+x(x(h*f)+x(x(x(j*L)+x(e*M))-x(g*A))));u[c+16>>2]=f;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=R;u[c+36>>2]=Z;u[c+32>>2]=f;$=y;y=x(ba-m);m=x(_+p);d=x(aa-d);i=x(ca-i);p=x($+x(x(j*y)+x(x(x(g*m)+x(e*d))-x(h*i))));u[c+24>>2]=p;z=x(z+x(x(g*i)+x(x(x(e*y)+x(h*m))-x(j*d))));u[c+20>>2]=z;e=x(v+x(x(h*d)+x(x(x(j*m)+x(e*i))-x(g*y))));u[c+16>>2]=e;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=p;u[c+36>>2]=z;u[c+32>>2]=e;u[c+24>>2]=V;u[c+20>>2]=W;u[c+16>>2]=n;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=P;u[c+36>>2]=O;u[c+32>>2]=H;u[c+24>>2]=V;u[c+20>>2]=W;u[c+16>>2]=n;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=E;u[c+36>>2]=K;u[c+32>>2]=I;u[c+24>>2]=X;u[c+20>>2]=Y;u[c+16>>2]=l;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=S;u[c+36>>2]=T;u[c+32>>2]=C;u[c+24>>2]=R;u[c+20>>2]=Z;u[c+16>>2]=f;ji[442](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=N;u[c+36>>2]=U;u[c+32>>2]=B;u[c+24>>2]=p;u[c+20>>2]=z;u[c+16>>2]=e;ji[442](b,c+32|0,c+16|0,c+848|0)}F=F+1|0;if((ka|0)==(F|0)){break e}k=q[D>>2];if((q[D+4>>2]-k|0)/288>>>0>F>>>0){continue}break}}break c}da=da+1|0;if((ja|0)!=(da|0)){continue}break}}fi=c+864|0;return}J(135437,135449,260,135487);G()}J(136114,135222,447,135487);G()}J(135437,135449,224,135487);G()}J(135437,135449,179,135487);G()}function jra(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,v=0,y=0,z=x(0),A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;g=fi-16|0;A=g;fi=g;j=q[a+412>>2];m=j+w(e,24)|0;n=(q[m+4>>2]-q[m>>2]>>>0)/t[m+8>>2]|0;H=s[((e<<1)+a|0)+284>>1];K=q[q[a+140>>2]+w(r[m+13|0],2096)>>2];h=q[a+4>>2];R=q[a+108>>2];k=q[a+96>>2];a:{if(k){g=w(h,-4-(n<<2)|0)+R|0;if((g|0)>2]){break a}q[a+108>>2]=g;B=g+k|0;break a}B=g-(w(h,(n<<2)+4|0)+15&-16)|0;fi=B}if((h|0)>=1){k=n<<2;g=(h<<2)+B|0;while(1){q[(i<<2)+B>>2]=g;g=g+k|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}b:{c:{d:{e:{if((c|0)>=1){h=d<<2;g=0;while(1){if(!r[f+g|0]){qi(q[(g<<2)+b>>2],0,h)}g=g+1|0;if((g|0)!=(c|0)){continue}break}if((c|0)==1|(H|0)!=2){break e}g=0;if((c|0)<1){break d}while(1){if(!r[f+g|0]){break d}g=g+1|0;if((g|0)!=(c|0)){continue}break}break c}g=0;if((H|0)==2){break d}}O=j+w(e,24)|0;P=O;Q=(n|0)<1;while(1){if(!Q){j=0;C=(c|0)<1;S=C|(E|0)!=0;v=0;while(1){h=0;if(!S){while(1){if(!r[f+h|0]){k=r[m+13|0];l=q[a+140>>2];d=q[a+1412>>2];f:{if((d|0)>9){break f}if(!d){q[a+1408>>2]=0}while(1){g=r[a+1392|0];g:{h:{i:{j:{if(q[a+1400>>2]){if(g&255){break j}break f}if(g&255){break j}i=q[a+1396>>2];if((i|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break f}if(!(o[a+1391|0]&1)){break i}i=q[a+1396>>2]}d=i+1|0;q[a+1396>>2]=d;g=r[(a+i|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=i;q[a+1400>>2]=1}if((d|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break b}o[a+1392|0]=g;if(!g){break f}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;d=q[a+32>>2];k:{if(d){if(d>>>0>=t[a+40>>2]){break h}q[a+32>>2]=d+1;g=r[d|0];break k}g=pj(q[a+20>>2]);if((g|0)==-1){break h}}d=g&255;break g}q[a+116>>2]=32;break f}q[a+112>>2]=1;d=0}e=q[a+1412>>2];q[a+1412>>2]=e+8;q[a+1408>>2]=q[a+1408>>2]+(d<>2];e=p[(d+((g&1023)<<1)|0)+36>>1];l:{if((e|0)>=0){D=g;g=r[e+q[d+8>>2]|0];q[a+1408>>2]=D>>>g;i=q[a+1412>>2]-g|0;g=(i|0)<0;q[a+1412>>2]=g?0:i;g=g?-1:e;break l}g=so(a,d)}g=r[d+23|0]?q[q[d+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[(h<<2)+B>>2]+(j<<2)>>2]=q[q[O+16>>2]+(g<<2)>>2]}h=h+1|0;if((h|0)!=(c|0)){continue}break}}m:{if((n|0)<=(v|0)){break m}I=0;if((K|0)<1){break m}while(1){h=0;if(!C){while(1){n:{if(r[f+h|0]){break n}g=h<<2;d=p[(q[P+20>>2]+(r[q[q[g+B>>2]+(j<<2)>>2]+I|0]<<4)|0)+(E<<1)>>1];if((d|0)<0){break n}d=q[a+140>>2]+w(d&65535,2096)|0;e=q[m+8>>2];k=q[m>>2]+w(e,v)|0;D=q[b+g>>2];if(H){if((e|0)<1){break n}y=0;while(1){g=zL(a,d);if((g|0)<0){break c}L=D+(k<<2)|0;i=q[d>>2];l=e-y|0;l=(i|0)<(l|0)?i:l;M=w(g,i);o:{if(r[d+22|0]){if((l|0)<1){break o}F=q[d+28>>2];g=0;z=x(0);while(1){N=L+(g<<2)|0;z=x(z+u[F+(g+M<<2)>>2]);u[N>>2]=u[N>>2]+z;z=x(z+u[d+12>>2]);g=g+1|0;if((l|0)!=(g|0)){continue}break}break o}if((l|0)<1){break o}F=q[d+28>>2];g=0;while(1){N=L+(g<<2)|0;u[N>>2]=u[N>>2]+x(u[F+(g+M<<2)>>2]+x(0));g=g+1|0;if((l|0)!=(g|0)){continue}break}}k=i+k|0;y=i+y|0;if((e|0)>(y|0)){continue}break}break n}i=(e|0)/q[d>>2]|0;if((i|0)<1){break n}L=D+(k<<2)|0;M=e-k|0;e=0;while(1){y=zL(a,d);if((y|0)<0){break c}g=q[d>>2];k=M-e|0;k=(g|0)<(k|0)?g:k;p:{if((k|0)<1){break p}l=L+(e<<2)|0;y=w(g,y);D=q[d+28>>2];z=x(0);g=0;if(!r[d+22|0]){while(1){F=l+(w(g,i)<<2)|0;u[F>>2]=u[F>>2]+x(u[D+(g+y<<2)>>2]+x(0));g=g+1|0;if((k|0)!=(g|0)){continue}break p}}while(1){F=l+(w(g,i)<<2)|0;z=x(z+u[D+(g+y<<2)>>2]);u[F>>2]=u[F>>2]+z;g=g+1|0;if((k|0)!=(g|0)){continue}break}}e=e+1|0;if((i|0)!=(e|0)){continue}break}}h=h+1|0;if((h|0)!=(c|0)){continue}break}}v=v+1|0;if((v|0)>=(n|0)){break m}I=I+1|0;if((I|0)<(K|0)){continue}break}}j=j+1|0;if((n|0)>(v|0)){continue}break}}E=E+1|0;if((E|0)!=8){continue}break}break c}if((c|0)==(g|0)){break c}M=d<<1;D=j+w(e,24)|0;L=D;O=c-1|0;k=0;while(1){q:{r:{switch(O|0){case 0:if((n|0)<1){break q}i=0;e=0;while(1){f=q[m>>2];g=q[m+8>>2];q[A+12>>2]=0;q[A+8>>2]=f+w(g,i);if(!k){j=r[m+13|0];v=q[a+140>>2];f=q[a+1412>>2];s:{if((f|0)>9){break s}if(!f){q[a+1408>>2]=0}while(1){g=r[a+1392|0];t:{u:{v:{w:{if(q[a+1400>>2]){if(g&255){break w}break s}if(g&255){break w}h=q[a+1396>>2];if((h|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break s}if(!(o[a+1391|0]&1)){break v}h=q[a+1396>>2]}f=h+1|0;q[a+1396>>2]=f;g=r[(a+h|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=h;q[a+1400>>2]=1}if((f|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break b}o[a+1392|0]=g;if(!g){break s}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;f=q[a+32>>2];x:{if(f){if(f>>>0>=t[a+40>>2]){break u}q[a+32>>2]=f+1;g=r[f|0];break x}g=pj(q[a+20>>2]);if((g|0)==-1){break u}}f=g&255;break t}q[a+116>>2]=32;break s}q[a+112>>2]=1;f=0}g=q[a+1412>>2];q[a+1412>>2]=g+8;q[a+1408>>2]=q[a+1408>>2]+(f<>2];g=p[(f+((h&1023)<<1)|0)+36>>1];y:{if((g|0)>=0){j=h;h=r[g+q[f+8>>2]|0];q[a+1408>>2]=j>>>h;j=q[a+1412>>2]-h|0;h=(j|0)<0;q[a+1412>>2]=h?0:j;g=h?-1:g;break y}g=so(a,f)}g=r[f+23|0]?q[q[f+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[B>>2]+(e<<2)>>2]=q[q[D+16>>2]+(g<<2)>>2]}z:{if((i|0)>=(n|0)){break z}g=0;if((K|0)<1){break z}while(1){f=q[m+8>>2];h=p[(q[L+20>>2]+(r[q[q[B>>2]+(e<<2)>>2]+g|0]<<4)|0)+(k<<1)>>1];A:{if((h|0)>=0){if(AL(a,q[a+140>>2]+w(h&65535,2096)|0,b,1,A+12|0,A+8|0,d,f)){break A}break c}h=q[m>>2];q[A+12>>2]=0;q[A+8>>2]=h+(f+w(f,i)|0)}i=i+1|0;if((n|0)<=(i|0)){break z}g=g+1|0;if((K|0)>(g|0)){continue}break}}e=e+1|0;if((i|0)<(n|0)){continue}break}break q;default:if((n|0)<1){break q}i=0;e=0;while(1){g=q[m>>2]+w(q[m+8>>2],i)|0;f=(g|0)/(c|0)|0;q[A+12>>2]=g-w(c,f);q[A+8>>2]=f;if(!k){j=r[m+13|0];v=q[a+140>>2];f=q[a+1412>>2];B:{if((f|0)>9){break B}if(!f){q[a+1408>>2]=0}while(1){g=r[a+1392|0];C:{D:{E:{F:{if(q[a+1400>>2]){if(g&255){break F}break B}if(g&255){break F}h=q[a+1396>>2];if((h|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break B}if(!(o[a+1391|0]&1)){break E}h=q[a+1396>>2]}f=h+1|0;q[a+1396>>2]=f;g=r[(a+h|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=h;q[a+1400>>2]=1}if((f|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break b}o[a+1392|0]=g;if(!g){break B}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;f=q[a+32>>2];G:{if(f){if(f>>>0>=t[a+40>>2]){break D}q[a+32>>2]=f+1;g=r[f|0];break G}g=pj(q[a+20>>2]);if((g|0)==-1){break D}}f=g&255;break C}q[a+116>>2]=32;break B}q[a+112>>2]=1;f=0}g=q[a+1412>>2];q[a+1412>>2]=g+8;q[a+1408>>2]=q[a+1408>>2]+(f<>2];g=p[(f+((h&1023)<<1)|0)+36>>1];H:{if((g|0)>=0){j=h;h=r[g+q[f+8>>2]|0];q[a+1408>>2]=j>>>h;j=q[a+1412>>2]-h|0;h=(j|0)<0;q[a+1412>>2]=h?0:j;g=h?-1:g;break H}g=so(a,f)}g=r[f+23|0]?q[q[f+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[B>>2]+(e<<2)>>2]=q[q[D+16>>2]+(g<<2)>>2]}I:{if((i|0)>=(n|0)){break I}g=0;if((K|0)<1){break I}while(1){f=q[m+8>>2];h=p[(q[L+20>>2]+(r[q[q[B>>2]+(e<<2)>>2]+g|0]<<4)|0)+(k<<1)>>1];J:{if((h|0)>=0){if(AL(a,q[a+140>>2]+w(h&65535,2096)|0,b,c,A+12|0,A+8|0,d,f)){break J}break c}f=q[m>>2]+(f+w(f,i)|0)|0;h=(f|0)/(c|0)|0;q[A+8>>2]=h;q[A+12>>2]=f-w(c,h)}i=i+1|0;if((n|0)<=(i|0)){break I}g=g+1|0;if((K|0)>(g|0)){continue}break}}e=e+1|0;if((i|0)<(n|0)){continue}break}break q;case 1:break r}}if((n|0)<1){break q}v=0;I=0;while(1){h=q[m+8>>2];j=q[m>>2];if(!k){l=r[m+13|0];E=q[a+140>>2];e=q[a+1412>>2];K:{if((e|0)>9){break K}if(!e){q[a+1408>>2]=0}while(1){g=r[a+1392|0];L:{M:{N:{O:{if(q[a+1400>>2]){if(g&255){break O}break K}if(g&255){break O}i=q[a+1396>>2];if((i|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break K}if(!(o[a+1391|0]&1)){break N}i=q[a+1396>>2]}e=i+1|0;q[a+1396>>2]=e;g=r[(a+i|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=i;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break b}o[a+1392|0]=g;if(!g){break K}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;e=q[a+32>>2];P:{if(e){if(e>>>0>=t[a+40>>2]){break M}q[a+32>>2]=e+1;g=r[e|0];break P}g=pj(q[a+20>>2]);if((g|0)==-1){break M}}e=g&255;break L}q[a+116>>2]=32;break K}q[a+112>>2]=1;e=0}f=q[a+1412>>2];q[a+1412>>2]=f+8;q[a+1408>>2]=q[a+1408>>2]+(e<>2];f=p[(e+((g&1023)<<1)|0)+36>>1];Q:{if((f|0)>=0){C=g;g=r[f+q[e+8>>2]|0];q[a+1408>>2]=C>>>g;i=q[a+1412>>2]-g|0;g=(i|0)<0;q[a+1412>>2]=g?0:i;g=g?-1:f;break Q}g=so(a,e)}g=r[e+23|0]?q[q[e+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[B>>2]+(I<<2)>>2]=q[q[D+16>>2]+(g<<2)>>2]}R:{if((K|0)<1|(n|0)<=(v|0)){break R}e=j+w(h,v)|0;g=e>>1;i=e&1;E=0;while(1){H=q[m+8>>2];e=p[(q[L+20>>2]+(r[q[q[B>>2]+(I<<2)>>2]+E|0]<<4)|0)+(k<<1)>>1];S:{if((e|0)>=0){l=q[a+140>>2]+w(e&65535,2096)|0;if(r[l+21|0]){if((H|0)<1){break S}e=q[l>>2];while(1){f=q[a+1412>>2];T:{if((f|0)>9){break T}if(!f){q[a+1408>>2]=0}while(1){h=r[a+1392|0];U:{V:{W:{X:{if(q[a+1400>>2]){if(h&255){break X}break T}if(h&255){break X}f=q[a+1396>>2];if((f|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break T}if(!(o[a+1391|0]&1)){break W}f=q[a+1396>>2]}j=f+1|0;q[a+1396>>2]=j;h=r[(a+f|0)+1136|0];if((h|0)!=255){q[a+1404>>2]=f;q[a+1400>>2]=1}if((j|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break b}o[a+1392|0]=h;if(!h){break T}}o[a+1392|0]=h-1;q[a+1416>>2]=q[a+1416>>2]+1;f=q[a+32>>2];Y:{if(f){if(f>>>0>=t[a+40>>2]){break V}q[a+32>>2]=f+1;h=r[f|0];break Y}h=pj(q[a+20>>2]);if((h|0)==-1){break V}}f=h&255;break U}q[a+116>>2]=32;break T}q[a+112>>2]=1;f=0}h=q[a+1412>>2];q[a+1412>>2]=h+8;q[a+1408>>2]=q[a+1408>>2]+(f<>2];h=p[(l+((f&1023)<<1)|0)+36>>1];_:{$:{if((h|0)>=0){j=f;f=r[q[l+8>>2]+h|0];q[a+1408>>2]=j>>>f;j=q[a+1412>>2]-f|0;f=(j|0)<0;q[a+1412>>2]=f?0:j;if(!f){break $}break _}h=so(a,l)}if((h|0)>-1){break Z}}if(q[a+1400>>2]?!r[a+1392|0]:0){break c}q[a+116>>2]=21;break c}f=g<<1;e=(M|0)<(f+(e+i|0)|0)?(i+M|0)-f|0:e;y=w(q[l>>2],h);aa:{if(r[l+22|0]){if((e|0)<1){break aa}j=q[l+28>>2];z=x(0);h=0;while(1){f=q[(i<<2)+b>>2]+(g<<2)|0;z=x(z+u[j+(h+y<<2)>>2]);u[f>>2]=z+u[f>>2];i=i+1|0;f=(i|0)==2;i=f?0:i;g=f+g|0;h=h+1|0;if((h|0)!=(e|0)){continue}break}break aa}ba:{if((i|0)!=1){f=q[b+4>>2];h=0;break ba}f=q[b+4>>2];h=f+(g<<2)|0;u[h>>2]=x(u[q[l+28>>2]+(y<<2)>>2]+x(0))+u[h>>2];g=g+1|0;i=0;h=1}ca:{if((h+1|0)>=(e|0)){j=h;break ca}P=q[b>>2];Q=q[l+28>>2];while(1){j=g<<2;C=j+P|0;F=C;z=u[C>>2];C=Q+(h+y<<2)|0;u[F>>2]=z+x(u[C>>2]+x(0));j=f+j|0;u[j>>2]=u[j>>2]+x(u[C+4>>2]+x(0));g=g+1|0;C=h+3|0;j=h+2|0;h=j;if((e|0)>(C|0)){continue}break}}if((e|0)<=(j|0)){break aa}f=q[(i<<2)+b>>2]+(g<<2)|0;u[f>>2]=x(u[q[l+28>>2]+(j+y<<2)>>2]+x(0))+u[f>>2];i=i+1|0}H=H-e|0;if((H|0)>0){continue}break}break S}q[a+116>>2]=21;break c}e=q[m>>2]+(w(v,H)+H|0)|0;g=e>>1;i=e&1}v=v+1|0;if((v|0)>=(n|0)){break R}E=E+1|0;if((E|0)<(K|0)){continue}break}}I=I+1|0;if((n|0)>(v|0)){continue}break}}k=k+1|0;if((k|0)!=8){continue}break}}q[a+108>>2]=R;fi=A+16|0;return}J(203021,202968,1480,203042);G()}function mE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=fi-288|0;fi=g;q[q[a+60>>2]+4>>2]=0;a:{b:{c:{d:{e:while(1){c=287;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=q[a>>2];switch(f+1|0){case 0:break a;case 63:break j;case 61:break k;case 62:break l;case 92:break m;case 46:break n;case 11:case 14:break o;case 47:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13: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 36:case 37:case 38:case 39:case 41:case 42:case 43:case 44:case 45: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 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:break f;case 35:case 40:break i;default:break g}}Zt(a);continue}d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;p:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break p}d=mk(d)}q[c>>2]=d;c=45;if((d|0)!=45){break a}d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;q:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break q}f=mk(d)}q[c>>2]=f;if((f|0)==91){c=ot(a);q[q[a+60>>2]+4>>2]=0;if((c|0)>-1){break h}f=q[a>>2]}while(1){c=f+1|0;if(1<>>0<=14:0){continue e}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;f=r[c|0];q[a>>2]=f}else{f=mk(c);q[a>>2]=f}continue}}c=ot(a);if((c|0)>=0){CC(a,b,c);c=286;break a}if((c|0)==-1){c=91;break a}Kl(a,127039,286)}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;r:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break r}d=mk(c)}q[b>>2]=d;c=61;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;s:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break s}b=mk(b)}q[a>>2]=b;c=280;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;t:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break t}d=mk(c)}q[b>>2]=d;c=60;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;u:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break u}b=mk(b)}q[a>>2]=b;c=282;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;v:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break v}d=mk(c)}q[b>>2]=d;c=62;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;w:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break w}b=mk(b)}q[a>>2]=b;c=281;break a}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;e=q[c+8>>2];x:{if(d>>>0<=e>>>0){e=q[c>>2];break x}if(e>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+152>>2]=127014;q[g+148>>2]=e;q[g+144>>2]=g+208;Oi(d,126991,g+144|0);oj(q[a+52>>2],3);e=q[c+8>>2]}d=q[a+52>>2];i=e<<1;y:{if((i|0)!=-2){e=dj(d,q[c>>2],e,i);break y}e=Rj(d)}q[c+8>>2]=i;q[c>>2]=e;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[e+h|0]=f;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;z:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break z}c=mk(c)}q[d>>2]=c;if((c|0)!=(f|0)){while(1){A:{B:{C:{switch(c+1|0){case 0:Bk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];d=q[a+4>>2];q[g+72>>2]=127174;q[g+68>>2]=d;q[g+64>>2]=g+208;c=Oi(c,126991,g- -64|0);d=q[a+52>>2];q[g+52>>2]=126973;q[g+48>>2]=c;Oi(d,127001,g+48|0);oj(q[a+52>>2],3);c=q[a>>2];break A;case 11:case 14:Kl(a,127174,286);c=q[a>>2];break A;default:if((c|0)==92){break B}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13:break C}}e=q[a+60>>2];h=q[e+4>>2];d=h+1|0;i=q[e+8>>2];D:{if(d>>>0<=i>>>0){i=q[e>>2];break D}if(i>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+40>>2]=127014;q[g+36>>2]=i;q[g+32>>2]=g+208;Oi(d,126991,g+32|0);oj(q[a+52>>2],3);i=q[e+8>>2]}d=q[a+52>>2];h=i<<1;E:{if((h|0)!=-2){i=dj(d,q[e>>2],i,h);break E}i=Rj(d)}q[e+8>>2]=h;q[e>>2]=i;h=q[e+4>>2];d=h+1|0}q[e+4>>2]=d;o[h+i|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;F:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break F}c=mk(c)}q[d>>2]=c;break A}c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;G:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break G}c=mk(c)}q[d>>2]=c;e=7;H:{I:{J:{K:{L:{M:{N:{switch(c-97|0){default:switch(c+1|0){case 0:break L;case 11:case 14:break M;default:break K};case 5:e=12;break I;case 13:e=10;break I;case 17:e=13;break I;case 19:e=9;break I;case 0:break I;case 1:break J;case 2:case 3:case 4:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:case 16:case 18:case 20:break K;case 21:break N}}e=11;break I}c=q[a+60>>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];O:{if(h>>>0<=d>>>0){d=q[c>>2];break O}if(d>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+136>>2]=127014;q[g+132>>2]=e;q[g+128>>2]=g+208;Oi(d,126991,g+128|0);oj(q[a+52>>2],3);d=q[c+8>>2]}e=q[a+52>>2];i=d<<1;P:{if((i|0)!=-2){d=dj(e,q[c>>2],d,i);break P}d=Rj(e)}q[c+8>>2]=i;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=10;Zt(a)}c=q[a>>2];break A}d=0;if(c-48>>>0>=10){break H}h=0;while(1){e=q[a+56>>2];i=q[e>>2];q[e>>2]=i-1;d=(w(d,10)+c|0)-48|0;j=a;Q:{if(i){c=q[e+4>>2];q[e+4>>2]=c+1;c=r[c|0];break Q}c=mk(e)}q[j>>2]=c;if((h|0)!=2){h=h+1|0;if(c-48>>>0<10){continue}}break}if((d|0)>=256){Kl(a,127192,286)}c=q[a+60>>2];h=q[c+4>>2];i=h+1|0;e=q[c+8>>2];R:{if(i>>>0<=e>>>0){e=q[c>>2];break R}if(e>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];i=q[a+4>>2];q[g+88>>2]=127014;q[g+84>>2]=i;q[g+80>>2]=g+208;Oi(e,126991,g+80|0);oj(q[a+52>>2],3);e=q[c+8>>2]}i=q[a+52>>2];h=e<<1;S:{if((h|0)!=-2){e=dj(i,q[c>>2],e,h);break S}e=Rj(i)}q[c+8>>2]=h;q[c>>2]=e;h=q[c+4>>2];i=h+1|0}q[c+4>>2]=i;o[e+h|0]=d;c=q[a>>2];break A}e=8}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;i=q[c+8>>2];T:{if(d>>>0<=i>>>0){i=q[c>>2];break T}if(i>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+120>>2]=127014;q[g+116>>2]=i;q[g+112>>2]=g+208;Oi(d,126991,g+112|0);oj(q[a+52>>2],3);i=q[c+8>>2]}d=q[a+52>>2];h=i<<1;U:{if((h|0)!=-2){i=dj(d,q[c>>2],i,h);break U}i=Rj(d)}q[c+8>>2]=h;q[c>>2]=i;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[h+i|0]=e;c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];c=q[a>>2];break A}q[a>>2]=mk(c);c=q[a>>2];break A}e=q[a+60>>2];h=q[e+4>>2];d=h+1|0;i=q[e+8>>2];V:{if(d>>>0<=i>>>0){i=q[e>>2];break V}if(i>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+104>>2]=127014;q[g+100>>2]=i;q[g+96>>2]=g+208;Oi(d,126991,g+96|0);oj(q[a+52>>2],3);i=q[e+8>>2]}d=q[a+52>>2];h=i<<1;W:{if((h|0)!=-2){i=dj(d,q[e>>2],i,h);break W}i=Rj(d)}q[e+8>>2]=h;q[e>>2]=i;h=q[e+4>>2];d=h+1|0}q[e+4>>2]=d;o[h+i|0]=c;c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];c=q[a>>2];break A}q[a>>2]=mk(c);c=q[a>>2]}if((c|0)!=(f|0)){continue}break}}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;e=q[c+8>>2];X:{if(d>>>0<=e>>>0){e=q[c>>2];break X}if(e>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+24>>2]=127014;q[g+20>>2]=e;q[g+16>>2]=g+208;Oi(d,126991,g+16|0);oj(q[a+52>>2],3);e=q[c+8>>2]}d=q[a+52>>2];i=e<<1;Y:{if((i|0)!=-2){e=dj(d,q[c>>2],e,i);break Y}e=Rj(d)}q[c+8>>2]=i;q[c>>2]=e;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[e+h|0]=f;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;Z:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break Z}d=mk(d)}q[c>>2]=d;d=q[a+52>>2];c=q[a+60>>2];c=Bj(d,q[c>>2]+1|0,q[c+4>>2]-2|0);a=Yr(d,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}q[b>>2]=c;c=286;break a}CC(a,0,c);q[q[a+60>>2]+4>>2]=0;continue}if((f|0)==126){break b}}if((f|0)==32|f-9>>>0<5){c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];continue}q[a>>2]=mk(c);continue}break}if(f-48>>>0<=9){break c}if(!((f|32)-97>>>0<26?0:(f|0)!=95)){while(1){c=q[a+60>>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];_:{if(h>>>0<=d>>>0){d=q[c>>2];break _}if(d>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+8>>2]=127014;q[g+4>>2]=e;q[g>>2]=g+208;Oi(d,126991,g);oj(q[a+52>>2],3);d=q[c+8>>2]}e=q[a+52>>2];i=d<<1;$:{if((i|0)!=-2){d=dj(e,q[c>>2],d,i);break $}d=Rj(e)}q[c+8>>2]=i;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=f;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;aa:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break aa}f=mk(d)}q[c>>2]=f;if((f|0)==95|((f|32)-97>>>0<26?1:f-48>>>0<10)){continue}break}d=q[a+52>>2];c=q[a+60>>2];c=Bj(d,q[c>>2],q[c+4>>2]);a=Yr(d,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}a=r[c+6|0];if(a){c=a|256;break a}q[b>>2]=c;c=285;break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;q[a>>2]=r[b|0];c=f;break a}q[a>>2]=mk(b);c=f;break a}d=q[a+60>>2];c=q[d+4>>2];e=c+1|0;h=q[d+8>>2];ba:{if(e>>>0<=h>>>0){h=q[d>>2];break ba}if(h>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];f=q[a+4>>2];q[g+200>>2]=127014;q[g+196>>2]=f;q[g+192>>2]=g+208;Oi(c,126991,g+192|0);oj(q[a+52>>2],3);h=q[d+8>>2]}c=q[a+52>>2];f=h<<1;ca:{if((f|0)!=-2){h=dj(c,q[d>>2],h,f);break ca}h=Rj(c)}q[d+8>>2]=f;q[d>>2]=h;c=q[d+4>>2];e=c+1|0}q[d+4>>2]=e;o[c+h|0]=46;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;da:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break da}f=mk(d)}q[c>>2]=f;ea:{c=f&255;if(c>>>0>63){break ea}d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=1<>2];e=q[b+4>>2];h=e+1|0;d=q[b+8>>2];fa:{if(h>>>0<=d>>>0){d=q[b>>2];break fa}if(d>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];d=q[a+4>>2];q[g+184>>2]=127014;q[g+180>>2]=d;q[g+176>>2]=g+208;Oi(c,126991,g+176|0);oj(q[a+52>>2],3);d=q[b+8>>2]}c=q[a+52>>2];e=d<<1;ga:{if((e|0)!=-2){d=dj(c,q[b>>2],d,e);break ga}d=Rj(c)}q[b+8>>2]=e;q[b>>2]=d;e=q[b+4>>2];h=e+1|0}q[b+4>>2]=h;o[d+e|0]=f;b=q[a+56>>2];d=q[b>>2];q[b>>2]=d-1;c=a;ha:{if(d){d=b;b=q[b+4>>2];q[d+4>>2]=b+1;b=r[b|0];break ha}b=mk(b)}q[c>>2]=b;c=278;d=b&255;if(d>>>0>63){break a}f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;f=1<>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];ia:{if(h>>>0<=d>>>0){d=q[c>>2];break ia}if(d>>>0>=2147483646){Bk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];f=q[a+4>>2];q[g+168>>2]=127014;q[g+164>>2]=f;q[g+160>>2]=g+208;Oi(d,126991,g+160|0);oj(q[a+52>>2],3);d=q[c+8>>2]}f=q[a+52>>2];e=d<<1;ja:{if((e|0)!=-2){d=dj(f,q[c>>2],d,e);break ja}d=Rj(f)}q[c+8>>2]=e;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=b;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;ka:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break ka}b=mk(b)}q[a>>2]=b;c=279;break a}c=46;if(f-48>>>0>9){break a}}dR(a,b);c=284;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;la:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break la}d=mk(c)}q[b>>2]=d;c=126;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;ma:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break ma}b=mk(b)}q[a>>2]=b;c=283}fi=g+288|0;return c}function xi(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;m=fi-16|0;fi=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(a>>>0<=244){g=q[240914];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=q[f+963704>>2];a=b+8|0;d=q[b+8>>2];f=f+963696|0;m:{if((d|0)==(f|0)){q[240914]=owa(-2,c)&g;break m}q[d+12>>2]=f;q[f+8>>2]=d}c=c<<3;q[b+4>>2]=c|3;b=b+c|0;q[b+4>>2]=q[b+4>>2]|1;break a}i=q[240916];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=q[d+963704>>2];a=q[b+8>>2];d=d+963696|0;n:{if((a|0)==(d|0)){g=owa(-2,c)&g;q[240914]=g;break n}q[a+12>>2]=d;q[d+8>>2]=a}a=b+8|0;q[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;q[e+4>>2]=f|1;q[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+963696|0;d=q[240919];c=1<>2]}q[b+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=c}q[240919]=e;q[240916]=f;break a}k=q[240915];if(!k){break l}a=(k&0-k)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=q[((c|b)+(a>>>b|0)<<2)+963960>>2];e=(q[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=q[c+16>>2];if(!a){a=q[c+20>>2];if(!a){break p}}d=(q[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}l=b+f|0;if(l>>>0<=b>>>0){break k}j=q[b+24>>2];d=q[b+12>>2];if((d|0)!=(b|0)){a=q[b+8>>2];q[a+12>>2]=d;q[d+8>>2]=a;break b}c=b+20|0;a=q[c>>2];if(!a){a=q[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=q[c>>2];if(a){continue}c=d+16|0;a=q[d+16>>2];if(a){continue}break}q[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=q[240915];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=q[(h<<2)+963960>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(q[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=q[c+20>>2];c=q[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=q[((c|b)+(a>>>b|0)<<2)+963960>>2]}if(!a){break q}}while(1){c=(q[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=q[a+16>>2];if(b){a=b}else{a=q[a+20>>2]}if(a){continue}break}}if(!d|q[240916]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}j=q[d+24>>2];b=q[d+12>>2];if((d|0)!=(b|0)){a=q[d+8>>2];q[a+12>>2]=b;q[b+8>>2]=a;break c}c=d+20|0;a=q[c>>2];if(!a){a=q[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=q[c>>2];if(a){continue}c=b+16|0;a=q[b+16>>2];if(a){continue}break}q[g>>2]=0;break c}b=q[240916];if(b>>>0>=f>>>0){a=q[240919];c=b-f|0;u:{if(c>>>0>=16){q[240916]=c;d=a+f|0;q[240919]=d;q[d+4>>2]=c|1;q[a+b>>2]=c;q[a+4>>2]=f|3;break u}q[240919]=0;q[240916]=0;q[a+4>>2]=b|3;b=a+b|0;q[b+4>>2]=q[b+4>>2]|1}a=a+8|0;break a}d=q[240917];if(d>>>0>f>>>0){b=d-f|0;q[240917]=b;a=q[240920];c=a+f|0;q[240920]=c;q[c+4>>2]=b|1;q[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(q[241032]){b=q[241034]}else{q[241035]=-1;q[241036]=-1;q[241033]=4096;q[241034]=4096;q[241032]=m+12&-16^1431655768;q[241037]=0;q[241025]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=q[241024];if(i){j=q[241022];b=j+c|0;if(b>>>0<=j>>>0|b>>>0>i>>>0){break a}}if(r[964100]&4){break f}v:{w:{b=q[240920];if(b){a=964104;while(1){i=q[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=q[a+8>>2];if(a){continue}break}}b=pp(0);if((b|0)==-1){break g}g=c;a=q[241033];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=q[241024];if(d){h=q[241022];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=pp(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=pp(g);if((b|0)==(q[a>>2]+q[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=q[241034];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((pp(b)|0)!=-1){g=b+g|0;b=a;break e}pp(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}G()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}q[241025]=q[241025]|4}if(c>>>0>2147483646){break d}b=pp(c);a=pp(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=q[241022]+g|0;q[241022]=a;if(a>>>0>t[241023]){q[241023]=a}x:{y:{z:{e=q[240920];if(e){a=964104;while(1){c=q[a>>2];d=q[a+4>>2];if((c+d|0)==(b|0)){break z}a=q[a+8>>2];if(a){continue}break}break y}a=q[240918];if(!(a>>>0<=b>>>0?a:0)){q[240918]=b}a=0;q[241027]=g;q[241026]=b;q[240922]=-1;q[240923]=q[241032];q[241029]=0;while(1){c=a<<3;d=c+963696|0;q[c+963704>>2]=d;q[c+963708>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;q[240917]=d;c=b+c|0;q[240920]=c;q[c+4>>2]=d|1;q[(a+b|0)+4>>2]=40;q[240921]=q[241036];break x}if(r[a+12|0]&8|b>>>0<=e>>>0|c>>>0>e>>>0){break y}q[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;q[240920]=b;c=q[240917]+g|0;a=c-a|0;q[240917]=a;q[b+4>>2]=a|1;q[(c+e|0)+4>>2]=40;q[240921]=q[241036];break x}d=q[240918];if(d>>>0>b>>>0){q[240918]=b;d=0}c=b+g|0;a=964104;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=q[a>>2]){a=q[a+8>>2];if(a){continue}break F}break}if(!(r[a+12|0]&8)){break E}}a=964104;while(1){c=q[a>>2];if(c>>>0<=e>>>0){d=c+q[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=q[a+8>>2];continue}}q[a>>2]=b;q[a+4>>2]=q[a+4>>2]+g;j=(b+8&7?-8-b&7:0)+b|0;q[j+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-j|0)-f|0;h=f+j|0;if((b|0)==(e|0)){q[240920]=h;a=q[240917]+a|0;q[240917]=a;q[h+4>>2]=a|1;break B}if(q[240919]==(b|0)){q[240919]=h;a=q[240916]+a|0;q[240916]=a;q[h+4>>2]=a|1;q[a+h>>2]=a;break B}c=q[b+4>>2];if((c&3)==1){k=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=q[b+8>>2];d=q[b+12>>2];if((d|0)==(c|0)){q[240914]=q[240914]&owa(-2,f);break G}q[c+12>>2]=d;q[d+8>>2]=c;break G}i=q[b+24>>2];g=q[b+12>>2];H:{if((g|0)!=(b|0)){c=q[b+8>>2];q[c+12>>2]=g;q[g+8>>2]=c;break H}I:{e=b+20|0;f=q[e>>2];if(f){break I}e=b+16|0;f=q[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=q[e>>2];if(f){continue}e=g+16|0;f=q[g+16>>2];if(f){continue}break}q[c>>2]=0}if(!i){break G}c=q[b+28>>2];d=(c<<2)+963960|0;J:{if(q[d>>2]==(b|0)){q[d>>2]=g;if(g){break J}q[240915]=q[240915]&owa(-2,c);break G}q[i+(q[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}q[g+24>>2]=i;c=q[b+16>>2];if(c){q[g+16>>2]=c;q[c+24>>2]=g}c=q[b+20>>2];if(!c){break G}q[g+20>>2]=c;q[c+24>>2]=g}b=b+k|0;a=a+k|0}q[b+4>>2]=q[b+4>>2]&-2;q[h+4>>2]=a|1;q[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+963696|0;c=q[240914];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}q[h+28>>2]=e;q[h+16>>2]=0;q[h+20>>2]=0;b=(e<<2)+963960|0;c=q[240915];d=1<>2]=h;q[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=q[b>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=q[d+16>>2];if(b){continue}break}q[d+16>>2]=h;q[h+24>>2]=c}q[h+12>>2]=h;q[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;q[240917]=h;c=b+c|0;q[240920]=c;q[c+4>>2]=h|1;q[(a+b|0)+4>>2]=40;q[240921]=q[241036];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;q[c+4>>2]=27;a=q[241029];q[c+16>>2]=q[241028];q[c+20>>2]=a;a=q[241027];q[c+8>>2]=q[241026];q[c+12>>2]=a;q[241028]=c+8;q[241027]=g;q[241026]=b;q[241029]=0;a=c+24|0;while(1){q[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}q[c+4>>2]=q[c+4>>2]&-2;d=c-e|0;q[e+4>>2]=d|1;q[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+963696|0;c=q[240914];b=1<>2]}q[a+8>>2]=e;q[b+12>>2]=e;q[e+12>>2]=a;q[e+8>>2]=b;break x}a=31;q[e+16>>2]=0;q[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}q[e+28>>2]=a;b=(a<<2)+963960|0;c=q[240915];g=1<>2]=e;q[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=q[b>>2];while(1){c=b;if((d|0)==(q[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=q[g+16>>2];if(b){continue}break}q[g+16>>2]=e;q[e+24>>2]=c}q[e+12>>2]=e;q[e+8>>2]=e;break x}a=q[c+8>>2];q[a+12>>2]=h;q[c+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=c;q[h+8>>2]=a}a=j+8|0;break a}a=q[c+8>>2];q[a+12>>2]=e;q[c+8>>2]=e;q[e+24>>2]=0;q[e+12>>2]=c;q[e+8>>2]=a}a=q[240917];if(a>>>0<=f>>>0){break d}b=a-f|0;q[240917]=b;a=q[240920];c=a+f|0;q[240920]=c;q[c+4>>2]=b|1;q[a+4>>2]=f|3;a=a+8|0;break a}q[240833]=48;a=0;break a}O:{if(!j){break O}a=q[d+28>>2];c=(a<<2)+963960|0;P:{if(q[c>>2]==(d|0)){q[c>>2]=b;if(b){break P}i=owa(-2,a)&i;q[240915]=i;break O}q[j+(q[j+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}q[b+24>>2]=j;a=q[d+16>>2];if(a){q[b+16>>2]=a;q[a+24>>2]=b}a=q[d+20>>2];if(!a){break O}q[b+20>>2]=a;q[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;q[d+4>>2]=a|3;a=a+d|0;q[a+4>>2]=q[a+4>>2]|1;break Q}q[d+4>>2]=f|3;q[h+4>>2]=e|1;q[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+963696|0;c=q[240914];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}q[h+28>>2]=a;q[h+16>>2]=0;q[h+20>>2]=0;b=(a<<2)+963960|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=q[b>>2];while(1){b=f;if((q[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=q[c+16>>2];if(f){continue}break}q[c+16>>2]=h}q[h+24>>2]=b;q[h+12>>2]=h;q[h+8>>2]=h;break Q}a=q[b+8>>2];q[a+12>>2]=h;q[b+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=b;q[h+8>>2]=a}a=d+8|0;break a}U:{if(!j){break U}a=q[b+28>>2];c=(a<<2)+963960|0;V:{if(q[c>>2]==(b|0)){q[c>>2]=d;if(d){break V}q[240915]=owa(-2,a)&k;break U}q[j+(q[j+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}q[d+24>>2]=j;a=q[b+16>>2];if(a){q[d+16>>2]=a;q[a+24>>2]=d}a=q[b+20>>2];if(!a){break U}q[d+20>>2]=a;q[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;q[b+4>>2]=a|3;a=a+b|0;q[a+4>>2]=q[a+4>>2]|1;break W}q[b+4>>2]=f|3;q[l+4>>2]=e|1;q[e+l>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+963696|0;d=q[240919];c=1<>2]}q[a+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=a;q[d+8>>2]=c}q[240919]=l;q[240916]=e}a=b+8|0}fi=m+16|0;return a|0}function Ama(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=x(0),n=0,v=0,y=x(0),z=0,A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=0,T=0,U=x(0),V=x(0),W=x(0),X=x(0),Y=0,Z=0,_=x(0),$=x(0),aa=x(0),ba=0,ca=0,da=0;h=fi-304|0;fi=h;U=u[f+8>>2];V=u[f+4>>2];W=u[f>>2];E=u[e+12>>2];F=u[e+8>>2];H=u[e+4>>2];I=u[e>>2];_=u[d+8>>2];$=u[d+4>>2];aa=u[d>>2];k=q[a>>2];an(h+192|0,1);tj(q[k+4240>>2]);a=q[k+4248>>2];q[k+4248>>2]=a+1;lj(q[k+4240>>2]);q[h+148>>2]=a;q[h+144>>2]=q[59082];cj(h+224|0,32,11105,h+144|0);kl(h+192|0,h+224|0,Fi(h+224|0));ys(g,32,q[b+8>>2]);a=h+184|0;q[a>>2]=0;q[a+4>>2]=0;q[h+176>>2]=0;q[h+180>>2]=0;vi(q[b+8>>2],4,h+176|0,a,h+176|4);a:{b:{c:{d:{e:{f:{g:{h:{d=q[b+8>>2];i:{if(d){l=k+4164|0;n=1;e=0;while(1){if(d>>>0<=e>>>0){break b}a=q[b+4>>2];q[h+172>>2]=0;f=a+w(e,80)|0;a=q[f+4>>2];j:{if(!a){break j}d=q[k>>2];if(Ij(d,a,h+172|0)){break j}a=hv(k,q[h+172>>2],q[f+4>>2]);if(!a){break h}j=q[a+140>>2];q[a+136>>2]=q[a+136>>2]&-2561|q[b+20>>2]<<9&512|2048;q[a+140>>2]=j;K=u[f+72>>2];B=u[f+64>>2];m=u[f+68>>2];if(!(B!=x(0)|m!=x(0)|K!=x(0))){B=u[f+56>>2];m=B;K=m}d=q[f+32>>2];j=q[f+36>>2];i=q[f+40>>2];v=q[f+44>>2];z=q[f+20>>2];L=q[f+16>>2];M=u[f+24>>2];u[a+40>>2]=K;u[a+36>>2]=m;u[a+32>>2]=B;u[a+24>>2]=M;q[a+16>>2]=L;q[a+20>>2]=z;q[a+8>>2]=i;q[a+12>>2]=v;q[a>>2]=d;q[a+4>>2]=j;j=a+104|0;Cs(j,h+192|0,1);d=q[f>>2];i=Rm(d,o[q[59082]]);k:{if(!i){q[h+128>>2]=d;mi(4,7277,10353,h+128|0);n=0;break k}kl(j,d,(i-d|0)+1|0)}Cs(h+272|0,h+192|0,1);d=q[f>>2];kl(h+272|0,d,Fi(d));q[h+152>>2]=Vn(h+272|0);q[h+156>>2]=ii;d=q[f>>2];Ju(g,Nl(d,Fi(d)),ii,h+152|0);d=q[h+180>>2];if((d|0)==q[h+184>>2]){break c}q[h+180>>2]=d+4;q[d>>2]=a;d=q[h+152>>2];j=q[h+156>>2];q[h+268>>2]=a;l:{i=q[k+4168>>2];m:{if(!i){break m}i=q[q[l>>2]+(lwa(d,j,i)<<2)>>2];if((i|0)==-1){break m}v=q[k+4172>>2];while(1){i=v+(i<<4)|0;if((d|0)==q[i>>2]&(j|0)==q[i+4>>2]){break l}i=q[i+12>>2];if((i|0)!=-1){continue}break}}if(q[a+96>>2]!=q[72440]|q[a+100>>2]!=q[72441]){break l}q[a+96>>2]=d;q[a+100>>2]=j;Iq(l,d,j,h+268|0);if(t[k+4188>>2]<=s[k+2078>>1]){break j}J(7759,7150,940,8050);G()}q[h+116>>2]=q[f>>2];q[h+112>>2]=h+224;mi(4,7277,10415,h+112|0);n=0}d=q[b+8>>2];e=e+1|0;if(d>>>0>e>>>0){continue}break}Kq(h+192|0);if(n&1){break i}break g}Kq(h+192|0)}e=q[b+8>>2];n:{if(!e){e=0;break n}n=1;d=0;while(1){if(d>>>0>=e>>>0){break b}i=q[b+4>>2]+w(d,80)|0;f=li(q[i>>2]);j=ii;o:{a=q[g+4>>2];p:{if(!a){break p}e=q[q[g>>2]+(lwa(f,j,a)<<2)>>2];if((e|0)==-1){break p}l=q[g+8>>2];while(1){a=l+w(e,24)|0;if((f|0)==q[a>>2]&(j|0)==q[a+4>>2]){break o}e=q[a+16>>2];if((e|0)!=-1){continue}break}}J(10462,7150,1222,10472);G()}e=q[k+4168>>2];if(!e){break e}f=q[a+8>>2];j=q[a+12>>2];e=q[q[k+4164>>2]+(lwa(f,j,e)<<2)>>2];if((e|0)==-1){break e}l=q[k+4172>>2];while(1){a=l+(e<<4)|0;if(q[a>>2]!=(f|0)|q[a+4>>2]!=(j|0)){e=q[a+12>>2];if((e|0)!=-1){continue}break e}break}l=q[a+8>>2];if(!l){break e}e=q[i+12>>2];if(e){z=l+104|0;f=0;while(1){q:{r:{s:{if(e>>>0>f>>>0){v=f<<2;a=q[v+q[i+8>>2]>>2];e=Fi(a);t:{if(r[a|0]==r[q[59082]]){a=Nl(a,e);j=ii;break t}Cs(h+272|0,z,0);kl(h+272|0,a,e);a=Vn(h+272|0);j=ii}e=q[g+4>>2];u:{if(!e){break u}e=q[q[g>>2]+(lwa(a,j,e)<<2)>>2];if((e|0)==-1){break u}L=q[g+8>>2];while(1){e=L+w(e,24)|0;if(q[e>>2]!=(a|0)|q[e+4>>2]!=(j|0)){e=q[e+16>>2];if((e|0)!=-1){continue}break u}break}a=q[e+8>>2];j=q[e+12>>2]}e=q[k+4168>>2];if(!e){break s}e=q[q[k+4164>>2]+(lwa(a,j,e)<<2)>>2];if((e|0)==-1){break s}L=q[k+4172>>2];while(1){e=L+(e<<4)|0;if(q[e>>2]!=(a|0)|q[e+4>>2]!=(j|0)){e=q[e+12>>2];if((e|0)!=-1){continue}break s}break}a=q[e+8>>2];if(!a){break s}a=ev(a,l);if(!a){break q}if(t[i+12>>2]<=f>>>0){break d}e=q[v+q[i+8>>2]>>2];j=q[i>>2];q[h+104>>2]=a;q[h+100>>2]=e;q[h+96>>2]=j;mi(4,7277,10511,h+96|0);break r}break d}if(t[i+12>>2]<=f>>>0){break d}q[h+80>>2]=q[v+q[i+8>>2]>>2];mi(4,7277,10549,h+80|0)}n=0}e=q[i+12>>2];f=f+1|0;if(e>>>0>f>>>0){continue}break}}d=d+1|0;e=q[b+8>>2];if(d>>>0>>0){continue}break}if(!(n&1)){break g}}d=q[h+180>>2];f=q[h+176>>2];a=d-f|0;if(a){d=f-d|0;e=((a|0)<(d|0)?d:a)>>>2|0;d=(a|0)>-1?a:-1;l=w(e,(d|0)<1?d:1);v=a>>2;d=0;while(1){if((d|0)==(l|0)){break a}e=q[f+(d<<2)>>2];j=q[e+136>>2];a=q[e+140>>2];v:{w:{i=j>>>16|0;if((i|0)==32767){break w}z=q[e+80>>2];n=q[z+2056>>2];if(i>>>0>=q[z+2060>>2]-n>>2>>>0){break a}if(!q[n+(i<<2)>>2]){break w}K=u[e+40>>2];B=u[e+36>>2];M=u[e+32>>2];R=u[e+12>>2];N=u[e+8>>2];O=u[e+4>>2];m=u[e>>2];break v}M=x(W*u[e+32>>2]);u[e+32>>2]=M;K=x(U*u[e+40>>2]);u[e+40>>2]=K;B=x(V*u[e+36>>2]);u[e+36>>2]=B;m=u[e+12>>2];y=u[e>>2];A=u[e+4>>2];C=u[e+8>>2];R=x(x(x(x(E*m)-x(I*y))-x(H*A))-x(F*C));u[e+12>>2]=R;N=x(x(x(I*A)+x(x(E*C)+x(F*m)))-x(H*y));u[e+8>>2]=N;O=x(x(x(F*y)+x(x(E*A)+x(H*m)))-x(I*C));u[e+4>>2]=O;m=x(x(x(H*C)+x(x(E*y)+x(I*m)))-x(F*A));u[e>>2]=m;y=x(W*u[e+16>>2]);A=x(V*u[e+20>>2]);C=x(U*u[e+24>>2]);D=x(x(x(F*y)+x(E*A))-x(I*C));P=x(x(F*C)+x(x(I*y)+x(H*A)));Q=x(x(x(I*A)+x(E*C))-x(H*y));y=x(x(x(E*y)+x(H*C))-x(F*A));u[e+24>>2]=_+x(x(I*D)+x(x(x(F*P)+x(E*Q))-x(H*y)));u[e+20>>2]=$+x(x(F*y)+x(x(x(E*D)+x(H*P))-x(I*Q)));u[e+16>>2]=aa+x(x(H*Q)+x(x(x(I*P)+x(E*y))-x(F*D)))}a=a&32767;i=q[k+4148>>2];if(a>>>0>=q[k+4152>>2]-i>>6>>>0){break a}C=u[e+24>>2];j=q[e+16>>2];e=q[e+20>>2];a=i+(a<<6)|0;y=x(N+N);D=x(R*y);A=x(O+O);P=x(m*A);u[a+4>>2]=M*x(D+P);Q=x(y*m);X=x(R*A);u[a+8>>2]=M*x(Q-X);u[a+12>>2]=M*x(0);u[a+16>>2]=B*x(P-D);u[a+32>>2]=K*x(Q+X);q[a+48>>2]=j;q[a+52>>2]=e;D=m;m=x(m+m);D=x(x(1)-x(D*m));N=x(N*y);u[a+20>>2]=B*x(D-N);y=x(O*y);m=x(R*m);u[a+24>>2]=B*x(y+m);u[a+28>>2]=B*x(0);u[a+36>>2]=K*x(y-m);m=x(O*A);u[a+40>>2]=K*x(D-m);u[a+44>>2]=K*x(0);q[a+60>>2]=1065353216;u[a+56>>2]=C;u[a>>2]=M*x(x(x(1)-m)-N);d=d+1|0;if((v|0)!=(d|0)){continue}break}e=q[b+8>>2]}a=h+160|0;q[a>>2]=0;q[a+4>>2]=0;q[h+152>>2]=0;q[h+156>>2]=0;vi(e,4,h+152|0,a,h+152|4);x:{y:{z:{A:{e=q[b+8>>2];if(e){ba=k+4164|0;j=h+272|4;d=1;while(1){B:{C:{D:{if(e>>>0>S>>>0){z=q[b+4>>2]+w(S,80)|0;f=li(q[z>>2]);i=ii;E:{a=q[g+4>>2];F:{if(!a){break F}e=q[q[g>>2]+(lwa(f,i,a)<<2)>>2];if((e|0)==-1){break F}n=q[g+8>>2];while(1){a=n+w(e,24)|0;if((f|0)==q[a>>2]&(i|0)==q[a+4>>2]){break E}e=q[a+16>>2];if((e|0)!=-1){continue}break}}J(10569,7150,1300,10472);G()}v=0;e=q[k+4168>>2];G:{if(!e){break G}f=q[a+8>>2];i=q[a+12>>2];e=q[q[k+4164>>2]+(lwa(f,i,e)<<2)>>2];if((e|0)==-1){break G}n=q[k+4172>>2];while(1){a=n+(e<<4)|0;if(q[a>>2]!=(f|0)|q[a+4>>2]!=(i|0)){e=q[a+12>>2];if((e|0)!=-1){continue}break G}break}v=q[a+8>>2]}if(!Qs(k,v)){break D}a=q[h+156>>2];if((a|0)!=q[h+160>>2]){q[h+156>>2]=a+4;q[a>>2]=v;a=q[v+84>>2];Y=q[a+4>>2];if(!Y){break B}ca=q[a>>2];L=0;T=0;while(1){H:{l=w(L,80)+ca|0;n=q[l+16>>2];if(q[n+76>>2]){if(!(o[n+98|0]&1)){a=Ei(q[l>>2],q[l+4>>2]);d=q[z>>2];q[h+8>>2]=q[b>>2];q[h+4>>2]=d;q[h>>2]=a;mi(4,7277,10581,h);break C}I:{a=q[z+52>>2];if(!a){i=0;break I}e=0;while(1){f=q[z+48>>2]+w(e,92)|0;if((li(q[f>>2])|0)==q[l>>2]&(ii|0)==q[l+4>>2]){i=xA(f+12|0);if(i){break I}a=Ei(q[l>>2],q[l+4>>2]);d=q[z>>2];q[h+72>>2]=q[b>>2];q[h+68>>2]=d;q[h+64>>2]=a;mi(4,7277,10707,h- -64|0);i=0;d=0;break I}e=e+1|0;if((a|0)==(e|0)){i=0;break I}if(t[z+52>>2]>e>>>0){continue}break}J(9345,9357,157,9406);G()}f=li(q[z>>2]);Z=ii;J:{K:{L:{M:{N:{a=q[c+4>>2];O:{if(!a){break O}e=q[q[c>>2]+(lwa(f,Z,a)<<2)>>2];if((e|0)==-1){break O}da=q[c+8>>2];while(1){a=da+w(e,24)|0;if((f|0)==q[a>>2]&(Z|0)==q[a+4>>2]){break N}e=q[a+16>>2];if((e|0)!=-1){continue}break}}f=0;if(!(d&1)){break M}e=(i|0)!=0;break K}f=0;P:{if(Ej(q[n+4>>2],10807)){break P}f=yK(q[n+16>>2],q[a+8>>2],q[a+12>>2]);if(f){break P}a=Ei(q[l>>2],q[l+4>>2]);d=q[z>>2];q[h+40>>2]=q[b>>2];q[h+36>>2]=d;q[h+32>>2]=a;mi(4,7277,10815,h+32|0);f=0;break M}if(d&1){break L}}ki(f);ki(i);break C}e=(i|0)!=0;if(!i|!f){break K}e=Qna(i,f);ki(f);ki(i);if(e){break J}a=Ei(q[l>>2],q[l+4>>2]);d=q[z>>2];q[h+56>>2]=q[b>>2];q[h+52>>2]=d;q[h+48>>2]=a;mi(4,7277,10921,h+48|0);break C}e=e?i:f}a=j;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[h+272>>2]=v;if(e){q[h+284>>2]=e;q[h+280>>2]=27;q[h+276>>2]=28}q[h+288>>2]=((T<<2)+v|0)+156;if(ji[q[n+76>>2]](h+272|0)|0){break H}n=q[l+16>>2];d=1}T=(p[n+98>>1]&1)+T|0;L=L+1|0;if((Y|0)!=(L|0)){continue}break B}break}a=Ei(q[l>>2],q[l+4>>2]);d=q[z>>2];q[h+24>>2]=q[b>>2];q[h+20>>2]=d;q[h+16>>2]=a;mi(4,7277,11021,h+16|0);ki(e);break C}break c}break b}a=q[v+96>>2];d=q[v+100>>2];if((a|0)!=q[72440]|(d|0)!=q[72441]){Jq(ba,a,d);a=q[72441];q[v+96>>2]=q[72440];q[v+100>>2]=a}Vq(k,v)}d=0}e=q[b+8>>2];S=S+1|0;if(e>>>0>S>>>0){continue}break}if(!(d&1)){break A}}d=q[h+152>>2];a=q[h+156>>2]-d|0;if(!a){f=1;break y}f=a>>2;e=0;while(1){if(e>>>0>=f>>>0){break a}if(!pA(k,q[(e<<2)+d>>2])){break A}e=e+1|0;b=q[h+156>>2];d=q[h+152>>2];a=b-d|0;f=a>>2;if((e|0)!=(f|0)){continue}break}break z}d=q[h+152>>2];a=q[h+156>>2]-d|0;if(a){f=a>>2;e=0;while(1){if(e>>>0>=f>>>0){break a}Os(k,q[(e<<2)+d>>2],0);e=e+1|0;d=q[h+152>>2];f=q[h+156>>2]-d>>2;if((e|0)!=(f|0)){continue}break}}qi(q[g>>2],255,q[g+4>>2]<<2);q[g+20>>2]=-1;q[g+24>>2]=0;q[g+12>>2]=q[g+8>>2];f=0;break y}if(!a){f=1;break y}b=d-b|0;c=((a|0)<(b|0)?b:a)>>>2|0;b=(a|0)>-1?a:-1;c=w(c,(b|0)<1?b:1);g=a>>2;e=0;while(1){if((c|0)==(e|0)){break a}b=q[(e<<2)+d>>2];f=q[b+148>>2];if(f&32768){break x}i=q[b+140>>2];a=i;if(!(a&32768)){q[b+148>>2]=f|32768;a=a&32767;b=s[k+4274>>1];Q:{if((b|0)!=32767){f=q[k+2056>>2];if(b>>>0>=q[k+2060>>2]-f>>2>>>0){break a}p[q[f+(b<<2)>>2]+146>>1]=a;break Q}p[k+4272>>1]=a}p[k+4274>>1]=a}f=1;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(o[h+164|0]&1){break f}a=q[h+152>>2];if(!a){break f}ki(a);break f}J(11472,7150,961,11499);G()}Di(d,q[h+172>>2]);Kq(h+192|0)}f=q[h+180>>2];d=q[h+176>>2];a=f-d|0;if(a){b=k+4164|0;i=a>>2;e=0;while(1){if(e>>>0>=i>>>0){break a}c=e<<2;a=q[c+d>>2];i=q[a+96>>2];j=q[a+100>>2];if((i|0)!=q[72440]|(j|0)!=q[72441]){Jq(b,i,j);d=q[72441];q[a+96>>2]=q[72440];q[a+100>>2]=d;f=q[h+180>>2];d=q[h+176>>2]}if(f-d>>2>>>0<=e>>>0){break a}Vq(k,q[c+d>>2]);e=e+1|0;f=q[h+180>>2];d=q[h+176>>2];i=f-d>>2;if((e|0)!=(i|0)){continue}break}}qi(q[g>>2],255,q[g+4>>2]<<2);q[g+20>>2]=-1;q[g+24>>2]=0;q[g+12>>2]=q[g+8>>2];f=0}R:{if(o[h+188|0]&1){break R}a=q[h+176>>2];if(!a){break R}ki(a)}fi=h+304|0;return f}J(10504,7150,1225,10472);G()}J(9345,9357,148,9406);G()}J(12486,10090,501,12510);G()}J(9345,9357,241,9406);G()}J(12475,10090,447,9406);G()}function l7(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=x(0),p=0,v=0,y=0,z=0;l=fi+ -64|0;fi=l;a:{if(o[842380]&1){break a}if(!ui(842380)){break a}if(r[852367]){d=Ri(133512)}else{d=-1}q[210594]=d;ti(842380)}b:{if(o[842388]&1){break b}if(!ui(842388)){break b}if(r[852367]){d=Yi(133518,13)}else{d=0}q[210596]=d;ti(842388)}d=q[210594];c:{if((d|0)!=-1){Qi(l+48|0,d,133518,q[210596]);break c}q[l+48>>2]=0}d=q[a+44>>2];if(d){while(1){c=q[q[a+40>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){d=q[a+48>>2]+w(c,960)|0;u[d+12>>2]=u[d+8>>2];q[d+8>>2]=0;q[d+792>>2]=0;q[d+796>>2]=0;q[d+532>>2]=0;q[d+948>>2]=q[d+948>>2]&-399;c=q[d+952>>2];if((c|0)!=-1){continue}break}d=q[a+44>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}v=q[q[a>>2]+40>>2];q[l+40>>2]=0;q[l+44>>2]=0;q[l+32>>2]=0;q[l+36>>2]=0;q[l+24>>2]=0;q[l+28>>2]=0;q[l+16>>2]=0;q[l+20>>2]=0;q[l+8>>2]=0;q[l+12>>2]=0;f=q[a+4>>2];d:{if(!f){break d}j=f+48|0;if(!_H(q[f>>2],j)){break d}c=q[f+92>>2];if((c|0)!=q[f+96>>2]){e=0;while(1){c=(e<<4)+c|0;d=0;e:{if(!j){break e}d=q[(q[c>>2]<<2)+841360>>2];d=q[j+((d|0)/32<<2)>>2]>>>d&1}m=q[a+44>>2];f:{if(!m){break f}h=q[c+8>>2];g=q[c+12>>2];c=q[q[a+40>>2]+(lwa(h,g,m)<<2)>>2];if((c|0)==-1){break f}k=d?x(1):x(0);m=q[a+48>>2];while(1){d=m+w(c,960)|0;if(q[d>>2]!=(h|0)|q[d+4>>2]!=(g|0)){c=q[d+952>>2];if((c|0)!=-1){continue}break f}break}n=u[d+8>>2];if(k>(n>=x(0)?n:x(-n))^1){break f}u[d+8>>2]=k}e=e+1|0;c=q[f+92>>2];if(e>>>0>2]-c>>4>>>0){continue}break}}d=q[j+4>>2];q[f+4>>2]=q[j>>2];q[f+8>>2]=d;q[f+44>>2]=q[j+40>>2];d=q[j+36>>2];q[f+36>>2]=q[j+32>>2];q[f+40>>2]=d;d=q[j+28>>2];q[f+28>>2]=q[j+24>>2];q[f+32>>2]=d;d=q[j+20>>2];q[f+20>>2]=q[j+16>>2];q[f+24>>2]=d;d=q[j+12>>2];q[f+12>>2]=q[j+8>>2];q[f+16>>2]=d}e=q[a+36>>2];g:{if(!e){break g}h:{if(!i8(v,e)){break h}j=q[e+524>>2];m=q[e+528>>2];if((j|0)==(m|0)){break h}while(1){d=(i<<4)+j|0;i:{if(q[d>>2]){break i}f=q[a+44>>2];if(!f){break i}h=q[d+8>>2];d=q[d+12>>2];c=q[q[a+40>>2]+(lwa(h,d,f)<<2)>>2];if((c|0)==-1){break i}f=q[a+48>>2];while(1){c=f+w(c,960)|0;if(q[c>>2]==(h|0)&q[c+4>>2]==(d|0)){d=0;if(q[e+256>>2]){while(1){o[(d+c|0)+536|0]=r[d+e|0];d=d+1|0;f=q[e+256>>2];if(d>>>0>>0){continue}break}j=q[e+524>>2];m=q[e+528>>2];d=f}q[c+796>>2]=(d|0)!=0;q[c+792>>2]=d;break i}c=q[c+952>>2];if((c|0)!=-1){continue}break}}i=i+1|0;if(i>>>0>4>>>0){continue}break}}if(!k8(v,e+260|0)){break g}j=q[e+524>>2];m=q[e+528>>2];if((j|0)==(m|0)){break g}i=0;while(1){d=(i<<4)+j|0;j:{if(q[d>>2]!=1){break j}f=q[a+44>>2];if(!f){break j}h=q[d+8>>2];d=q[d+12>>2];c=q[q[a+40>>2]+(lwa(h,d,f)<<2)>>2];if((c|0)==-1){break j}f=q[a+48>>2];while(1){c=f+w(c,960)|0;if(q[c>>2]==(h|0)&q[c+4>>2]==(d|0)){d=0;if(q[e+516>>2]){while(1){o[(d+c|0)+536|0]=r[(d+e|0)+260|0];d=d+1|0;f=q[e+516>>2];if(d>>>0>>0){continue}break}j=q[e+524>>2];m=q[e+528>>2];d=f}q[c+792>>2]=d;q[c+796>>2]=o[e+520|0]&1|(d|0)!=0;break j}c=q[c+952>>2];if((c|0)!=-1){continue}break}}i=i+1|0;if(i>>>0>4>>>0){continue}break}}d=q[a+8>>2];k:{if(!d){break k}f=d+20|0;if(!j8(q[d>>2],f)){break k}c=q[d+20>>2];q[l+16>>2]=c;e=q[d+24>>2];q[l+20>>2]=e;q[l+24>>2]=c-q[d+4>>2];c=q[d+8>>2];y=1;o[l+44|0]=1;q[l+28>>2]=e-c;c=q[d+36>>2];if((c|0)!=q[d+40>>2]){i=0;while(1){l:{m:{n:{o:{c=(i<<4)+c|0;j=q[c>>2];switch(j|0){case 1:break n;case 0:break o;default:break m}}k=x(q[d+28>>2]-q[d+12>>2]|0);break l}k=x(q[d+12>>2]-q[d+28>>2]|0);break l}if(f){e=q[(j<<2)+841872>>2];g=q[(f+((e|0)/32<<2)|0)+12>>2]>>>e&1}else{g=0}k=g?x(1):x(0)}e=q[a+44>>2];p:{if(!e){break p}j=q[c+8>>2];m=q[c+12>>2];c=q[q[a+40>>2]+(lwa(j,m,e)<<2)>>2];if((c|0)==-1){break p}k=k>2];while(1){c=e+w(c,960)|0;if(q[c>>2]!=(j|0)|q[c+4>>2]!=(m|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break p}break}n=u[c+8>>2];if((n>=x(0)?n:x(-n))<(k>=x(0)?k:x(-k))^1){break p}u[c+8>>2]=k}i=i+1|0;c=q[d+36>>2];if(i>>>0>2]-c>>4>>>0){continue}break}}c=q[f+4>>2];q[d+4>>2]=q[f>>2];q[d+8>>2]=c;c=q[f+12>>2];q[d+12>>2]=q[f+8>>2];q[d+16>>2]=c}q:{r:{s:{t:{c=q[a+12>>2];if((c|0)!=q[a+16>>2]){j=0;while(1){e=q[(j<<2)+c>>2];u:{if(!e){break u}d=q[e+312>>2];if(d){i=0;while(1){c=q[q[e+308>>2]+(i<<2)>>2];if((c|0)!=-1){while(1){d=q[e+316>>2]+w(c,960)|0;u[d+12>>2]=u[d+8>>2];q[d+8>>2]=0;q[d+792>>2]=0;q[d+796>>2]=0;q[d+532>>2]=0;q[d+948>>2]=q[d+948>>2]&-399;c=q[d+952>>2];if((c|0)!=-1){continue}break}d=q[e+312>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}h=r[e+345|0];c=h&1;g=c;m=q[e>>2];f=m;d=0;v:{if(!f){break v}d=q[f+144>>2]>>>31|0}f=d^1;w:{if(!(g|f)){Az(m,l+4|0);q[e+340>>2]=Bs(q[l+4>>2]);f=d;d=r[e+345|0]&-4;o[e+345|0]=f|d;h=d|1;break w}o[e+345|0]=d|h&254;if(f&!c){break u}}x:{y:{z:{d=q[a>>2];f=q[d+12>>2];A:{if(!f){break A}g=q[d+8>>2];i=q[e+340>>2];c=q[g+((i>>>0)%(f>>>0)<<2)>>2];if((c|0)!=-1){p=q[d+16>>2];while(1){c=w(c,184)+p|0;if((i|0)==q[c>>2]){break y}c=q[c+180>>2];if((c|0)!=-1){continue}break}}i=q[210339];c=q[g+((i>>>0)%(f>>>0)<<2)>>2];if((c|0)==-1){break A}f=q[d+16>>2];while(1){d=f+w(c,184)|0;if((i|0)==q[d>>2]){break z}c=q[d+180>>2];if((c|0)!=-1){continue}break}}if(h&2){break u}q[l>>2]=r[e+344|0];mi(3,133458,133745,l);o[e+345|0]=r[e+345|0]|2;break u}f=d+4|0;break x}f=c+4|0}i=e+148|0;l8(m,i);d=s[f+74>>1];c=s[f+92>>1];h=s[f+26>>1];B:{if((h|0)==65535){break B}g=s[f+8>>1];if((g|0)==65535){break B}if(h>>>0>=32){break q}if(g>>>0>=32){break r}g=i+(g<<2)|0;k=u[g>>2];n=x(k*k);h=i+(h<<2)|0;k=u[h>>2];n=x(n+x(k*k));k=u[f+4>>2];if(n<=x(k*k)^1){break B}q[g>>2]=0;q[h>>2]=0}C:{if((c|0)==65535|(d|0)==65535){break C}if(c>>>0>=32){break s}if(d>>>0>=32){break t}d=i+(d<<2)|0;k=u[d>>2];n=x(k*k);c=i+(c<<2)|0;k=u[c>>2];n=x(n+x(k*k));k=u[f+4>>2];if(n<=x(k*k)^1){break C}q[d>>2]=0;q[c>>2]=0}c=q[e+292>>2];if((c|0)!=q[e+296>>2]){d=0;while(1){D:{E:{F:{G:{H:{I:{c=(d<<4)+c|0;h=q[c>>2];switch(h-25|0){case 0:break G;case 2:break H;case 1:break I;default:break F}}if(!r[e+288|0]){break F}break E}h=q[e+312>>2];if(!h){break D}g=q[c+8>>2];p=q[c+12>>2];c=q[q[e+308>>2]+(lwa(g,p,h)<<2)>>2];if((c|0)==-1){break D}h=q[e+316>>2];while(1){c=h+w(c,960)|0;if(q[c>>2]!=(g|0)|q[c+4>>2]!=(p|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break D}break}si(c+804|0,i,144);q[c+948>>2]=q[c+948>>2]|8;break D}if(r[e+289|0]){break E}}h=f+w(h,6)|0;g=h+8|0;if(s[g>>1]==65535){break D}k=u7(i,g);g=q[e+312>>2];if(!g){break D}p=q[c+8>>2];z=q[c+12>>2];c=q[q[e+308>>2]+(lwa(p,z,g)<<2)>>2];if((c|0)==-1){break D}g=q[e+316>>2];while(1){c=g+w(c,960)|0;if(q[c>>2]!=(p|0)|q[c+4>>2]!=(z|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break D}break}n=u[c+8>>2];if(!((n>=x(0)?n:x(-n))<(k>=x(0)?k:x(-k))^1)){u[c+8>>2]=k;n=k}g=q[c+948>>2];q[c+948>>2]=g&-513;if(r[h+12|0]&3|u[c+12>>2]==n){break D}q[c+948>>2]=g|512;break D}h=q[e+312>>2];if(!h){break D}g=q[c+8>>2];p=q[c+12>>2];c=q[q[e+308>>2]+(lwa(g,p,h)<<2)>>2];if((c|0)==-1){break D}h=q[e+316>>2];while(1){c=h+w(c,960)|0;if(q[c>>2]!=(g|0)|q[c+4>>2]!=(p|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break D}break}h=q[c+948>>2]&-3|r[e+288|0]<<1&254;q[c+948>>2]=h;g=h&-5;h=r[e+289|0];q[c+948>>2]=g|h<<2&252;if(!h){break D}Az(m,l+4|0);q[c+792>>2]=kj(c+536|0,q[l+4>>2],256)}d=d+1|0;c=q[e+292>>2];if(d>>>0>2]-c>>4>>>0){continue}break}}si(e+4|0,i,144)}j=j+1|0;c=q[a+12>>2];if(j>>>0>2]-c>>2>>>0){continue}break}}f=q[a+28>>2];J:{if(!f){break J}j=f+492|0;if(!h8(q[f>>2],j)){break J}e=q[f+980>>2];i=q[f+984>>2];if((e|0)!=(i|0)){m=0;while(1){d=q[a+44>>2];K:{if(!d){break K}c=(m<<4)+e|0;h=q[c+8>>2];g=q[c+12>>2];c=q[q[a+40>>2]+(lwa(h,g,d)<<2)>>2];if((c|0)==-1){break K}p=q[a+48>>2];while(1){d=p+w(c,960)|0;if(q[d>>2]!=(h|0)|q[d+4>>2]!=(g|0)){c=q[d+952>>2];if((c|0)!=-1){continue}break K}break}L:{M:{h=q[f+976>>2];if((h|0)<12){q[d+8>>2]=0;if((h|0)<1){break L}q[d+88>>2]=q[f+532>>2];c=q[f+528>>2];q[d+80>>2]=q[f+524>>2];q[d+84>>2]=c;c=q[f+520>>2];e=q[f+516>>2];q[d+72>>2]=e;q[d+76>>2]=c;i=q[f+512>>2];c=d- -64|0;q[c>>2]=q[f+508>>2];q[c+4>>2]=i;c=q[f+504>>2];i=q[f+500>>2];q[d+56>>2]=i;q[d+60>>2]=c;g=q[f+496>>2];q[d+48>>2]=q[f+492>>2];q[d+52>>2]=g;g=q[f+496>>2];q[d+28>>2]=e;q[d+20>>2]=i;q[d+24>>2]=c;q[d+32>>2]=q[d+76>>2];q[d+948>>2]=q[d+948>>2]|128;if(g>>>0<=2){q[d+8>>2]=1065353216}i=1;if((h|0)==1){break M}while(1){c=w(i,44);e=c+d|0;c=c+f|0;q[e+88>>2]=q[c+532>>2];g=q[c+528>>2];q[e+80>>2]=q[c+524>>2];q[e+84>>2]=g;g=q[c+520>>2];q[e+72>>2]=q[c+516>>2];q[e+76>>2]=g;p=q[c+512>>2];g=e- -64|0;q[g>>2]=q[c+508>>2];q[g+4>>2]=p;g=q[c+504>>2];q[e+56>>2]=q[c+500>>2];q[e+60>>2]=g;g=q[c+496>>2];q[e+48>>2]=q[c+492>>2];q[e+52>>2]=g;if(t[c+496>>2]<=2){q[d+8>>2]=1065353216}i=i+1|0;if((i|0)!=(h|0)){continue}break}break M}J(133797,133581,820,133518);G()}e=q[f+980>>2];i=q[f+984>>2];h=q[f+976>>2]}q[d+532>>2]=h}m=m+1|0;if(m>>>0>4>>>0){continue}break}}si(f+4|0,j,488)}N:{if(!q[a+32>>2]){break N}o[l+44|0]=y;if(!(q[v+3668>>2]&1)){break N}d=q[a+32>>2];f=d+12|0;if(f){c=q[v+3648>>2];q[f>>2]=q[v+3644>>2];q[f+4>>2]=c;q[f+8>>2]=q[v+3652>>2]}u[l+32>>2]=u[d+12>>2];u[l+36>>2]=u[d+16>>2];k=u[d+20>>2];o[l+44|0]=y|2;u[l+40>>2]=k;q[d+8>>2]=q[d+20>>2];f=q[d+16>>2];q[d>>2]=q[d+12>>2];q[d+4>>2]=f}u[l+8>>2]=b;q[l+12>>2]=q[a>>2];e=q[a+44>>2];if(e){d=0;while(1){c=q[q[a+40>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){f=q[a+48>>2]+w(c,960)|0;_G(l+8|0,f,f+8|0);c=q[f+952>>2];if((c|0)!=-1){continue}break}e=q[a+44>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=q[a+12>>2];e=q[a+16>>2];if((c|0)!=(e|0)){j=0;while(1){d=q[(j<<2)+c>>2];O:{if(!d){break O}i=q[d+312>>2];if(!i){break O}e=0;while(1){c=q[q[d+308>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){f=q[d+316>>2]+w(c,960)|0;_G(l+8|0,f,f+8|0);c=q[f+952>>2];if((c|0)!=-1){continue}break}i=q[d+312>>2]}e=e+1|0;if(i>>>0>e>>>0){continue}break}c=q[a+12>>2];e=q[a+16>>2]}j=j+1|0;if(j>>>0>2>>>0){continue}break}}if(q[l+48>>2]){Pi(l+48|0)}fi=l- -64|0;return}J(133696,133581,725,133518);G()}J(133647,133581,724,133518);G()}J(133598,133581,712,133518);G()}J(133532,133581,711,133518);G()}function VB(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,p=0,s=0,u=0,v=0,x=0,y=0;q[a+18404>>2]=0;q[a+18408>>2]=-1;o[a+18372|0]=255;c=q[a>>2];d=q[c+172>>2];a:{b:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break b}if(!q[c+32>>2]){break a}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;c:{if(!i){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break c}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){break a}while(1){c=q[a>>2];d=q[c+172>>2];d:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break d}if(!q[c+32>>2]){break a}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;e:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break e}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}d=f&255;if((d|0)==255){continue}break}if((d|0)!=216){break a}f=1;f:{if((b|0)==1){break f}f=r[a+18372|0];g:{if((f|0)!=255){o[a+18372|0]=255;break g}g=q[a>>2];d=q[g+172>>2];h:{if(d>>>0>2]){q[g+172>>2]=d+1;c=r[d|0];break h}if(!q[g+32>>2]){f=255;break g}d=g+40|0;c=ji[q[g+16>>2]](q[g+28>>2],d,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);i:{if(!c){o[g+40|0]=0;q[g+32>>2]=0;f=g+41|0;c=0;break i}f=c+d|0;c=r[g+40|0]}q[g+176>>2]=f;q[g+172>>2]=g+41}f=255;if((c&255)!=255){break g}while(1){c=q[a>>2];d=q[c+172>>2];j:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break j}if(!q[c+32>>2]){f=0;break g}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;k:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break k}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}}d=f&255;c=(d|0)==194;l:{if(c|(f&254)==192){break l}while(1){f=0;if(!SB(a,d)){break f}f=r[a+18372|0];m:{if((f|0)!=255){o[a+18372|0]=255;break m}c=q[a>>2];d=q[c+172>>2];n:{o:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break o}if(!q[c+32>>2]){break n}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;p:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break p}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){break n}while(1){c=q[a>>2];d=q[c+172>>2];q:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break q}if(!q[c+32>>2]){f=0;break m}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;r:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break r}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}break m}while(1){s:{d=q[a>>2];if(q[d+16>>2]){if(!(ji[q[d+24>>2]](q[d+28>>2])|0)){break s}if(!q[d+32>>2]){break a}}if(t[d+172>>2]>2]){break s}break a}f=r[a+18372|0];if((f|0)!=255){o[a+18372|0]=255;break m}c=q[a>>2];d=q[c+172>>2];t:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break t}if(!q[c+32>>2]){continue}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;u:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break u}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){continue}break}while(1){c=q[a>>2];d=q[c+172>>2];v:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break v}if(!q[c+32>>2]){f=0;break m}g=c+40|0;i=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;w:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break w}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}}d=f&255;c=(d|0)==194;if(c){break l}if((f&254)!=192){continue}break}}q[a+18380>>2]=c;e=q[a>>2];d=q[e+172>>2];f=q[e+176>>2];x:{if(d>>>0>>0){c=d+1|0;q[e+172>>2]=c;h=r[d|0];break x}if(!q[e+32>>2]){c=d;break x}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);y:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;h=0;break y}f=c+d|0;h=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}g=(h&255)<<8;z:{if(c>>>0>>0){d=c+1|0;q[e+172>>2]=d;h=r[c|0];break z}if(!q[e+32>>2]){h=0;d=c;break z}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);A:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;h=0;break A}f=c+d|0;h=r[e+40|0]}q[e+176>>2]=f;d=e+41|0;q[e+172>>2]=d}l=g|h&255;if(l>>>0<=10){break a}B:{C:{D:{if(d>>>0>>0){c=d+1|0;q[e+172>>2]=c;g=r[d|0];break D}if(!q[e+32>>2]){break C}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);E:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;g=0;break E}f=c+d|0;g=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}if((g&255)==8){break B}}q[212945]=154351;return 0}F:{if(c>>>0>>0){g=c+1|0;q[e+172>>2]=g;d=r[c|0];break F}if(!q[e+32>>2]){d=0;g=c;break F}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);G:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break G}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;g=e+41|0;q[e+172>>2]=g}h=(d&255)<<8;H:{if(f>>>0>g>>>0){c=g+1|0;q[e+172>>2]=c;j=r[g|0];break H}if(!q[e+32>>2]){c=g;break H}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);I:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;j=0;break I}f=c+d|0;j=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}d=h|j&255;q[e+4>>2]=d;if(!d){q[212945]=154389;return 0}J:{if(c>>>0>>0){g=c+1|0;q[e+172>>2]=g;d=r[c|0];break J}if(!q[e+32>>2]){d=0;g=c;break J}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);K:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break K}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;g=e+41|0;q[e+172>>2]=g}c=(d&255)<<8;L:{if(f>>>0>g>>>0){i=g+1|0;q[e+172>>2]=i;d=r[g|0];break L}if(!q[e+32>>2]){d=0;i=g;break L}d=e+40|0;h=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);M:{if(!h){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break M}f=d+h|0;d=r[e+40|0]}q[e+176>>2]=f;i=e+41|0;q[e+172>>2]=i}d=c|d&255;q[e>>2]=d;if(!d){break a}if(t[e+4>>2]>=16777217){q[212945]=154431;return 0}N:{if(f>>>0>i>>>0){j=i+1|0;q[e+172>>2]=j;d=r[i|0];break N}if(!q[e+32>>2]){break a}d=e+40|0;c=ji[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);O:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break O}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;j=e+41|0;q[e+172>>2]=j}if(!(1<>>0>4){break a}q[e+8>>2]=d;c=0;while(1){h=w(c,72)+a|0;q[h+18132>>2]=0;q[h+18120>>2]=0;c=c+1|0;if((c|0)!=(d|0)){continue}break}if((l|0)!=(w(d,3)+8|0)){break a}i=0;q[a+18412>>2]=0;if(d){c=e+41|0;m=e+40|0;i=d;g=0;while(1){P:{if(f>>>0>j>>>0){h=j+1|0;q[e+172>>2]=h;d=r[j|0];break P}if(!q[e+32>>2]){d=0;h=j;break P}d=ji[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);Q:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;d=0;break Q}f=d+m|0;d=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;i=q[e+8>>2];h=c}l=w(g,72)+a|0;d=d&255;q[l+18076>>2]=d;if(!((i|0)!=3|(d|0)!=r[g+154459|0])){q[a+18412>>2]=q[a+18412>>2]+1}R:{if(f>>>0>h>>>0){d=h+1|0;q[e+172>>2]=d;j=r[h|0];break R}if(!q[e+32>>2]){j=0;d=h;break R}d=ji[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);S:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;j=0;break S}f=d+m|0;j=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;d=c}j=j&255;h=j>>>4|0;q[l+18080>>2]=h;if(!(h?j>>>0<=79:0)){break a}h=j&15;q[l+18084>>2]=h;if(h-1>>>0>=4){break a}T:{U:{if(d>>>0>>0){j=d+1|0;q[e+172>>2]=j;h=r[d|0];break U}if(!q[e+32>>2]){q[l+18088>>2]=0;j=d;break T}d=ji[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);V:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;h=0;break V}f=d+m|0;h=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;j=c}d=h&255;q[l+18088>>2]=d;if(d>>>0<4){break T}break a}g=g+1|0;i=q[e+8>>2];if((g|0)<(i|0)){continue}break}}f=1;if(b){break f}f=0;W:{j=q[e>>2];h=q[e+4>>2];if((j|h)<0|((2147483647/(h|0)|0)<(j|0)?h:0)){break W}g=0;d=w(h,j);if((d|i)<0){break W}c=1;b=1;X:{if(!i){break X}if((d|0)>(2147483647/(i|0)|0)){break W}if((i|0)<=0){break X}while(1){g=w(f,72)+a|0;d=q[g+18084>>2];b=(b|0)<(d|0)?d:b;d=q[g+18080>>2];c=(c|0)<(d|0)?d:c;g=1;f=f+1|0;if((i|0)!=(f|0)){continue}break}}q[a+18056>>2]=b;q[a+18052>>2]=c;f=b<<3;q[a+18072>>2]=f;d=c<<3;q[a+18068>>2]=d;v=((f+h|0)-1>>>0)/(f>>>0)|0;q[a+18064>>2]=v;x=((d+j|0)-1>>>0)/(d>>>0)|0;q[a+18060>>2]=x;f=1;if(!g){break f}y=b-1|0;m=c-1|0;g=0;while(1){k=w(g,72)+a|0;l=k+18136|0;q[l>>2]=0;s=k+18128|0;q[s>>2]=0;q[s+4>>2]=0;i=q[k+18084>>2];u=w(i,v);n=u<<3;q[k+18116>>2]=n;f=q[k+18080>>2];d=w(f,x);p=d<<3;q[k+18112>>2]=p;q[k+18104>>2]=(m+w(f,j)>>>0)/(c>>>0);q[k+18108>>2]=(w(h,i)+y>>>0)/(b>>>0);Y:{Z:{if(!(!u|(2147483647/(n|0)|0)>=(p|0)?(n|p)>=0:0)){q[(w(g,72)+a|0)+18124>>2]=0;break Z}j=w(n,p);h=xi(j|15);q[k+18124>>2]=h;if(h){break Y}}q[212945]=154488;c=0;while(1){h=w(c,72)+a|0;d=h+18124|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0;q[h+18120>>2]=0}d=h+18128|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0;q[h+18136>>2]=0}d=h+18132|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0}b=(c|0)==(g|0);f=0;c=c+1|0;if(!b){continue}break}break f}q[k+18120>>2]=h+15&-16;_:{if(q[a+18380>>2]){q[k+18144>>2]=u;q[k+18140>>2]=d;$:{aa:{if(u){if((2147483647/(n|0)|0)<(p|0)|j>>>0>1073741823){break aa}break $}if(j>>>0<1073741824){break $}}q[s>>2]=0;break _}d=xi(j<<1|15);q[s>>2]=d;if(!d){break _}q[l>>2]=d+15&-16}f=1;g=g+1|0;if((g|0)>=q[e+8>>2]){break f}h=q[e+4>>2];j=q[e>>2];continue}break}q[212945]=154488;c=0;while(1){h=w(c,72)+a|0;d=h+18124|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0;q[h+18120>>2]=0}d=h+18128|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0;q[h+18136>>2]=0}d=h+18132|0;b=q[d>>2];if(b){ki(b);q[d>>2]=0}b=(c|0)==(g|0);f=0;c=c+1|0;if(!b){continue}break}break f}q[212945]=154462}return f}q[212945]=154250;return 0}function vJ(a,b,c,d,e,f,g,h){var i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=x(0),v=x(0),w=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=0;m=fi+ -64|0;fi=m;q[m+60>>2]=0;q[m+56>>2]=0;q[m+52>>2]=0;q[m+48>>2]=0;a=Rs(a,d,e,m+60|0,m+56|0,m+52|0,m+48|0);a:{if(a){b=Ei(d,e);q[m+36>>2]=a;q[m+32>>2]=b;mi(4,44487,45576,m+32|0);break a}I=q[m+52>>2];if((I&-2)!=2){q[m+16>>2]=Ei(d,e);q[m+20>>2]=q[m+52>>2];mi(4,44487,45653,m+16|0);break a}b:{c:{d:{e:{f:{g:{h:{switch(f|0){case 0:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];e=q[m+56>>2];if((I&255)==2){break b}if(!e){break a}h=0;while(1){j=x(r[f|0]);k=x(r[f+1|0]);l=x(r[f+2|0]);n=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*l))+x(i*u[c+56>>2]));i:{if(n=x(0)){b=~~n>>>0;break i}b=0}z=u[c+48>>2];A=u[c+32>>2];v=u[c>>2];w=u[c+16>>2];n=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];o[a+2|0]=b;b=a;n=x(x(x(x(C*j)+x(E*k))+x(B*l))+x(i*n));j:{if(n=x(0)){g=~~n>>>0;break j}g=0}o[b+1|0]=g;b=a;j=x(x(x(x(v*j)+x(w*k))+x(A*l))+x(i*z));k:{if(j=x(0)){g=~~j>>>0;break k}g=0}o[b|0]=g;a=a+d|0;f=d+f|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break a;case 1:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;e=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break c}if(!d){break a}n=x(i*u[c+48>>2]);z=x(i*u[c+56>>2]);A=x(i*u[c+52>>2]);v=u[c+40>>2];w=u[c+24>>2];B=u[c+36>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+32>>2];D=u[c+16>>2];H=u[c>>2];c=0;while(1){b=a;i=x(s[f>>1]);j=x(s[f+2>>1]);k=x(s[f+4>>1]);l=x(z+x(x(x(E*i)+x(w*j))+x(v*k)));l:{if(l=x(0)){g=~~l>>>0;break l}g=0}p[b+4>>1]=g;b=a;l=x(A+x(x(x(F*i)+x(C*j))+x(B*k)));m:{if(l=x(0)){g=~~l>>>0;break m}g=0}p[b+2>>1]=g;b=a;i=x(n+x(x(x(H*i)+x(D*j))+x(G*k)));n:{if(i=x(0)){g=~~i>>>0;break n}g=0}p[b>>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 2:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;b=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break d}if(!d){break a}n=x(i*u[c+48>>2]);z=x(i*u[c+56>>2]);A=x(i*u[c+52>>2]);v=u[c+40>>2];w=u[c+24>>2];B=u[c+36>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+32>>2];D=u[c+16>>2];H=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(t[f>>2]);j=x(t[f+4>>2]);k=x(t[f+8>>2]);l=x(z+x(x(x(E*i)+x(w*j))+x(v*k)));o:{if(l=x(0)){g=~~l>>>0;break o}g=0}q[b+8>>2]=g;b=a;l=x(A+x(x(x(F*i)+x(C*j))+x(B*k)));p:{if(l=x(0)){g=~~l>>>0;break p}g=0}q[b+4>>2]=g;b=a;i=x(n+x(x(x(H*i)+x(D*j))+x(G*k)));q:{if(i=x(0)){g=~~i>>>0;break q}g=0}q[b>>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 4:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];e=q[m+56>>2];if((I&255)==2){break e}if(!e){break a}h=0;while(1){j=x(o[f|0]);k=x(o[f+1|0]);l=x(o[f+2|0]);n=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*l))+x(i*u[c+56>>2]));r:{if(x(y(n))>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];w=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];o[a+2|0]=b;b=a;w=x(x(x(x(C*j)+x(E*k))+x(B*l))+x(i*w));s:{if(x(y(w))>2];a=(f-g|0)+h|0;e=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break f}if(!d){break a}l=x(i*u[c+48>>2]);n=x(i*u[c+56>>2]);z=x(i*u[c+52>>2]);A=u[c+40>>2];v=u[c+24>>2];w=u[c+36>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+32>>2];G=u[c+16>>2];D=u[c>>2];c=0;while(1){b=a;i=x(p[f>>1]);j=x(p[f+2>>1]);k=x(p[f+4>>1]);H=x(n+x(x(x(C*i)+x(v*j))+x(A*k)));u:{if(x(y(H))>1]=g;b=a;H=x(z+x(x(x(E*i)+x(B*j))+x(w*k)));v:{if(x(y(H))>1]=g;b=a;i=x(l+x(x(x(D*i)+x(G*j))+x(F*k)));w:{if(x(y(i))>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 6:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;b=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break g}if(!d){break a}l=x(i*u[c+48>>2]);n=x(i*u[c+56>>2]);z=x(i*u[c+52>>2]);A=u[c+40>>2];v=u[c+24>>2];w=u[c+36>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+32>>2];G=u[c+16>>2];D=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(q[f>>2]);j=x(q[f+4>>2]);k=x(q[f+8>>2]);H=x(n+x(x(x(C*i)+x(v*j))+x(A*k)));x:{if(x(y(H))>2]=g;b=a;H=x(z+x(x(x(E*i)+x(B*j))+x(w*k)));y:{if(x(y(H))>2]=g;b=a;i=x(l+x(x(x(D*i)+x(G*j))+x(F*k)));z:{if(x(y(i))>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 8:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];b=q[m+56>>2];if((I&255)!=2){if(!b){break a}g=0;d=d<<2;while(1){n=u[c+48>>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];w=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];j=u[f>>2];k=u[f+4>>2];l=u[f+8>>2];u[a+8>>2]=x(x(x(j*u[c+8>>2])+x(k*u[c+24>>2]))+x(l*u[c+40>>2]))+x(i*u[c+56>>2]);u[a+4>>2]=x(x(x(j*C)+x(k*E))+x(l*B))+x(i*w);u[a>>2]=x(x(x(j*A)+x(k*v))+x(l*z))+x(i*n);a=a+d|0;f=d+f|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break a}if(!b){break a}g=0;d=d<<2;while(1){l=u[c+48>>2];n=u[c+32>>2];z=u[c>>2];A=u[c+16>>2];v=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];j=u[f>>2];k=u[f+4>>2];u[a+8>>2]=x(x(x(j*u[c+8>>2])+x(k*u[c+24>>2]))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]);u[a+4>>2]=x(x(x(j*B)+x(k*C))+x(w*x(0)))+x(i*v);u[a>>2]=x(x(x(j*z)+x(k*A))+x(n*x(0)))+x(i*l);a=a+d|0;f=d+f|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break a;default:break h}}q[m+4>>2]=Ei(d,e);q[m>>2]=f;mi(4,44487,45770,m);break a}if(!d){break a}k=x(i*u[c+48>>2]);l=x(u[c+32>>2]*x(0));n=x(i*u[c+56>>2]);z=x(u[c+40>>2]*x(0));A=x(i*u[c+52>>2]);v=x(u[c+36>>2]*x(0));w=u[c+24>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+16>>2];G=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(q[f>>2]);j=x(q[f+4>>2]);D=x(n+x(z+x(x(C*i)+x(w*j))));A:{if(x(y(D))>2]=g;b=a;D=x(A+x(v+x(x(E*i)+x(B*j))));B:{if(x(y(D))>2]=g;b=a;i=x(k+x(l+x(x(G*i)+x(F*j))));C:{if(x(y(i))>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!d){break a}k=x(i*u[c+48>>2]);l=x(u[c+32>>2]*x(0));n=x(i*u[c+56>>2]);z=x(u[c+40>>2]*x(0));A=x(i*u[c+52>>2]);v=x(u[c+36>>2]*x(0));w=u[c+24>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+16>>2];G=u[c>>2];c=0;while(1){b=a;i=x(p[f>>1]);j=x(p[f+2>>1]);D=x(n+x(z+x(x(C*i)+x(w*j))));D:{if(x(y(D))>1]=g;b=a;D=x(A+x(v+x(x(E*i)+x(B*j))));E:{if(x(y(D))>1]=g;b=a;i=x(k+x(l+x(x(G*i)+x(F*j))));F:{if(x(y(i))>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!e){break a}h=0;while(1){j=x(o[f|0]);k=x(o[f+1|0]);l=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]));G:{if(x(y(l))>2];n=u[c+32>>2];z=u[c>>2];A=u[c+16>>2];v=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];o[a+2|0]=b;b=a;v=x(x(x(x(B*j)+x(C*k))+x(w*x(0)))+x(i*v));H:{if(x(y(v))>2]);n=x(u[c+32>>2]*x(0));z=x(i*u[c+56>>2]);A=x(u[c+40>>2]*x(0));v=x(i*u[c+52>>2]);w=x(u[c+36>>2]*x(0));B=u[c+24>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+16>>2];D=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(t[f>>2]);j=x(t[f+4>>2]);k=x(z+x(A+x(x(E*i)+x(B*j))));J:{if(k=x(0)){g=~~k>>>0;break J}g=0}q[b+8>>2]=g;b=a;k=x(v+x(w+x(x(F*i)+x(C*j))));K:{if(k=x(0)){g=~~k>>>0;break K}g=0}q[b+4>>2]=g;b=a;i=x(l+x(n+x(x(D*i)+x(G*j))));L:{if(i=x(0)){g=~~i>>>0;break L}g=0}q[b>>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!d){break a}l=x(i*u[c+48>>2]);n=x(u[c+32>>2]*x(0));z=x(i*u[c+56>>2]);A=x(u[c+40>>2]*x(0));v=x(i*u[c+52>>2]);w=x(u[c+36>>2]*x(0));B=u[c+24>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+16>>2];D=u[c>>2];c=0;while(1){b=a;i=x(s[f>>1]);j=x(s[f+2>>1]);k=x(z+x(A+x(x(E*i)+x(B*j))));M:{if(k=x(0)){g=~~k>>>0;break M}g=0}p[b+4>>1]=g;b=a;k=x(v+x(w+x(x(F*i)+x(C*j))));N:{if(k=x(0)){g=~~k>>>0;break N}g=0}p[b+2>>1]=g;b=a;i=x(l+x(n+x(x(D*i)+x(G*j))));O:{if(i=x(0)){g=~~i>>>0;break O}g=0}p[b>>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!e){break a}h=0;while(1){j=x(r[f|0]);k=x(r[f+1|0]);l=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]));P:{if(l=x(0)){b=~~l>>>0;break P}b=0}n=u[c+48>>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];l=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];o[a+2|0]=b;b=a;l=x(x(x(x(B*j)+x(C*k))+x(w*x(0)))+x(i*l));Q:{if(l=x(0)){g=~~l>>>0;break Q}g=0}o[b+1|0]=g;b=a;j=x(x(x(x(A*j)+x(v*k))+x(z*x(0)))+x(i*n));R:{if(j=x(0)){g=~~j>>>0;break R}g=0}o[b|0]=g;a=a+d|0;f=d+f|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}fi=m- -64|0}function nJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=x(0),l=0,m=0,n=x(0),s=x(0),v=0,y=x(0),z=0,A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=0,H=x(0),I=x(0),K=0,L=x(0),M=x(0),N=x(0),O=0,P=x(0),Q=x(0),R=x(0),S=x(0),T=0,U=x(0),V=x(0),W=0,X=0,Y=x(0),Z=x(0),_=x(0),$=x(0),aa=0,ba=0,ca=x(0),da=x(0),ea=x(0),fa=0,ga=0,ha=0,ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0);i=fi-432|0;fi=i;j=q[g+8>>2];a:{b:{v=q[b+8>>2];if(!Wo(a,v)){l=q[j+4>>2];h=q[j>>2];F=l-h|0;T=(F|0)/288|0;m=T+1|0;if(m>>>0<=(q[j+8>>2]-h|0)/288>>>0){q[j+4>>2]=h+w(m,288);if(T>>>0<(F+288|0)/288>>>0){h=q[g+12>>2];q[g+12>>2]=h+1;q[l+272>>2]=h;Mm(l);h=q[e>>2];o[l+256|0]=r[l+256|0]|2;c:{d:{if(h){q[l+212>>2]=5;q[l+216>>2]=0;q[l+220>>2]=2;q[l+224>>2]=2;o[l+244|0]=r[h|0];o[l+245|0]=r[h+1|0];o[l+246|0]=r[h+2|0];e=l+247|0;o[e|0]=r[l+247|0]&208|r[h+3|0]&15;if(!r[g+16|0]){break c}o[g+16|0]=0;h=r[l+247|0]|16;break d}q[l+212>>2]=7;q[l+216>>2]=0;o[l+246|0]=255;p[l+244>>1]=65280;q[l+220>>2]=0;q[l+224>>2]=0;e=l+247|0;h=r[e|0]&-48|15}o[e|0]=h}e=Es(a,v);if(e>>>0<5){o[l+256|0]=r[l+256|0]|1;e=e<<2;q[l+204>>2]=q[e+42556>>2];q[l+200>>2]=q[e+42536>>2];q[l+148>>2]=q[j+48>>2];e=q[j+52>>2];q[l+192>>2]=1;q[l+144>>2]=e;m=j+60|0;q[l+248>>2]=(q[m>>2]-q[j+56>>2]|0)/36;q[l+156>>2]=q[g+4>>2];g=Ds(a,v,i+16|0);e:{if(q[i+16>>2]==2){if(!g){break e}g=q[g+48>>2]}e=g;if(!e){e=q[j+72>>2]}q[l+160>>2]=e;f:{h=w(f,54);F=j- -64|0;v=q[F>>2];if(h>>>0>(v-q[j+60>>2]|0)/36>>>0){if(o[j+68|0]&1){break f}e=j+56|0;vi(((v-q[e>>2]|0)/36|0)+(h>>>0>128?h:128)|0,36,e,F,m);e=q[l+160>>2]}e=ji[q[74969]](e)|0;j=ji[q[74970]](q[l+160>>2])|0;if(!(!e|!j)){if(!f){T=0;break b}ca=x(x(1)/x(j>>>0));da=x(x(1)/x(e>>>0));T=0;while(1){v=q[((W<<4)+b|0)+8>>2];g:{if(tn(a,v)){break g}Bl(i+416|0,a,v,3);P=u[(W<<2)+d>>2];Q=u[i+424>>2];R=u[i+420>>2];S=u[i+416>>2];q[i+400>>2]=0;q[i+396>>2]=0;q[i+392>>2]=0;q[i+388>>2]=1065353216;q[i+384>>2]=1065353216;q[i+380>>2]=1065353216;h=FI(a,v);xba(i+352|0,a,v);h:{if(g){k=x(x(x(u[i+352>>2]+u[i+356>>2])+u[i+360>>2])+u[i+364>>2]);if(!(!h&k==x(0))){break h}}j=q[m>>2];if((j|0)==q[F>>2]){break a}e=(W<<6)+c|0;C=u[e+16>>2];A=u[e>>2];H=u[e+32>>2];k=u[e+48>>2];B=u[e+8>>2];D=u[e+24>>2];I=u[e+40>>2];n=u[e+56>>2];y=u[e+4>>2];N=u[e+20>>2];E=u[e+36>>2];s=u[e+52>>2];q[m>>2]=j+36;u[j+32>>2]=P;u[j+28>>2]=Q;u[j+24>>2]=R;u[j+20>>2]=S;q[j+12>>2]=0;q[j+16>>2]=0;L=x(B*x(0));M=x(D*x(0));I=x(I*x(0));U=x(n+x(x(L+M)+I));u[j+8>>2]=U;V=x(y*x(0));Y=x(N*x(0));E=x(E*x(0));Z=x(s+x(x(V+Y)+E));u[j+4>>2]=Z;_=x(A*x(0));$=x(C*x(0));H=x(H*x(0));ea=x(k+x(x(_+$)+H));u[j>>2]=ea;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=0;u[e+8>>2]=n+x(x(B+M)+I);u[e+4>>2]=s+x(x(y+Y)+E);u[e>>2]=k+x(x(A+$)+H);e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=1065353216;B=x(n+x(x(B+D)+I));u[e+8>>2]=B;y=x(s+x(x(y+N)+E));u[e+4>>2]=y;A=x(k+x(x(A+C)+H));u[e>>2]=A;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=0;q[e+16>>2]=0;u[e+8>>2]=U;u[e+4>>2]=Z;u[e>>2]=ea;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=1065353216;u[e+8>>2]=B;u[e+4>>2]=y;u[e>>2]=A;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=0;q[e+16>>2]=1065353216;u[e+8>>2]=n+x(x(L+D)+I);u[e+4>>2]=s+x(x(V+N)+E);u[e>>2]=k+x(x(_+C)+H);T=T+6|0;break g}i:{j:{e=vba(a,v);if(!e){break j}e=q[e+16>>2];if(!e){break j}j=q[e+68>>2]!=0;break i}e=0;j=0}o[i+351|0]=0;o[i+350|0]=0;if(h){GI(a,v,i+351|0,i+350|0)}k:{l:{m:{if(!(j^1|k!=x(0))){j=Gba(a,v);if(j>>>0>=t[e+80>>2]){break m}v=q[e+64>>2]+(q[q[e+76>>2]+(j<<2)>>2]<<5)|0;X=q[v+28>>2];if(!X){break k}z=q[v+16>>2];fa=q[v+8>>2];j=(W<<6)+c|0;ga=j;e=0;aa=r[i+351|0];ba=r[i+350|0];if((aa|0)==(ba|0)){break l}O=q[v+12>>2];while(1){h=q[m>>2];if((h|0)==q[F>>2]){break a}K=(O+((q[q[v+24>>2]+(e<<2)>>2]^-1)<<1)&1073741822)<<2;ha=K+fa|0;k=u[ha+4>>2];n=u[ha>>2];s=u[j+48>>2];C=u[ga+32>>2];A=u[j>>2];B=u[j+16>>2];D=u[j+52>>2];y=u[j+36>>2];N=u[j+4>>2];I=u[j+20>>2];E=u[j+56>>2];H=u[j+40>>2];L=u[j+8>>2];M=u[j+24>>2];K=z+K|0;ha=q[K+4>>2];K=q[K>>2];q[m>>2]=h+36;u[h+32>>2]=P;u[h+28>>2]=Q;u[h+24>>2]=R;u[h+20>>2]=S;q[h+12>>2]=K;q[h+16>>2]=ha;n=x((aa?x(-n):n)+x(.5));k=x((ba?x(-k):k)+x(.5));u[h+8>>2]=E+x(x(x(L*n)+x(M*k))+x(H*x(0)));u[h+4>>2]=D+x(x(x(n*N)+x(k*I))+x(y*x(0)));u[h>>2]=s+x(x(x(n*A)+x(k*B))+x(C*x(0)));e=e+1|0;if((X|0)!=(e|0)){continue}break}break k}q[i+300>>2]=1065353216;q[i+288>>2]=0;yI(i+272|0,a,v);k=u[i+276>>2];A=k>x(.0010000000474974513)?x(x(1)/k):x(0);k=u[i+272>>2];B=k>x(.0010000000474974513)?x(x(1)/k):x(0);v=i+304|0;n:{o:{k=u[(h?h:i+400|0)>>2];s=u[(h?h+8|0:i+392|0)>>2];if(k==s){break o}n=u[(h?h+20|0:i+380|0)>>2];if(n==u[(h?h+12|0:i+388|0)>>2]){break o}e=r[i+350|0];u[(i+320|(e?12:0))>>2]=k;j=r[i+351|0];D=u[i+364>>2];u[(i+320|(e?8:4))>>2]=k+x(da*D);k=u[i+356>>2];u[(i+320|(e?4:8))>>2]=s-x(da*k);u[(i+320|(e?0:12))>>2]=s;s=u[(h?h+4|0:i+396|0)>>2];u[(i+304|(j?12:0))>>2]=s;y=u[i+352>>2];u[(i+304|(j?8:4))>>2]=s-x(ca*y);s=u[i+360>>2];C=x(n+x(ca*s));X=1;e=!j;break n}X=0;e=r[i+351|0];u[(i+320|(e?12:0))>>2]=k;j=r[i+350|0];y=u[i+352>>2];u[(i+320|(e?8:4))>>2]=k+x(da*y);k=u[(h?h+16|0:i+384|0)>>2];s=u[i+360>>2];u[(i+320|(e?4:8))>>2]=k-x(da*s);u[(i+320|(e?0:12))>>2]=k;k=u[(h?h+4|0:i+396|0)>>2];u[(i+304|(j?12:0))>>2]=k;D=u[i+364>>2];u[(i+304|(j?8:4))>>2]=k+x(ca*D);n=u[(h?h+12|0:i+388|0)>>2];k=u[i+356>>2];C=x(n-x(ca*k));e=!j}u[(v|(e?8:4))>>2]=C;j=0;u[(i+304|(e?12:0))>>2]=n;u[i+292>>2]=A*D;u[i+296>>2]=x(1)-x(A*k);k=x(x(1)-x(B*s));e=(W<<6)+c|0;I=u[e+12>>2];Y=x(k*I);E=u[e+8>>2];Z=x(k*E);H=u[e+4>>2];_=x(k*H);L=u[e>>2];$=x(k*L);k=x(B*y);ea=x(k*I);ia=x(k*E);ja=x(k*H);ka=x(k*L);k=x(0);la=x(I*x(0));ma=x(E*x(0));na=x(H*x(0));oa=x(L*x(0));n=x(u[e+44>>2]*x(0));s=x(u[e+40>>2]*x(0));C=x(u[e+36>>2]*x(0));A=x(u[e+32>>2]*x(0));B=u[e+60>>2];pa=u[e+28>>2];D=u[e+56>>2];qa=u[e+24>>2];y=u[e+52>>2];ra=u[e+20>>2];N=u[e+48>>2];sa=u[e+16>>2];e=0;while(1){h=(i+16|0)+(e<<6)|0;M=x(k*pa);u[h+60>>2]=B+x(x(I+M)+n);U=x(k*qa);u[h+56>>2]=D+x(x(E+U)+s);V=x(k*ra);u[h+52>>2]=y+x(x(H+V)+C);k=x(k*sa);u[h+48>>2]=N+x(x(L+k)+A);u[h+44>>2]=B+x(x(Y+M)+n);u[h+40>>2]=D+x(x(Z+U)+s);u[h+36>>2]=y+x(x(_+V)+C);u[h+32>>2]=N+x(x($+k)+A);u[h+28>>2]=B+x(x(ea+M)+n);u[h+24>>2]=D+x(x(ia+U)+s);u[h+20>>2]=y+x(x(ja+V)+C);u[h+16>>2]=N+x(x(ka+k)+A);u[h+12>>2]=B+x(x(la+M)+n);u[h+8>>2]=D+x(x(ma+U)+s);u[h+4>>2]=y+x(x(na+V)+C);u[h>>2]=N+x(x(oa+k)+A);e=e+1|0;if((e|0)!=4){k=u[(i+288|0)+(e<<2)>>2];continue}break}while(1){e=j<<2;fa=e+(i+320|0)|0;ga=e+(i+304|0)|0;v=j+1|0;e=v<<2;aa=e+(i+320|0)|0;ba=e+(i+304|0)|0;e=0;p:{while(1){O=(i+16|0)+(v<<6)|0;h=e+1|0;K=h<<4;z=O+K|0;A=u[z+8>>2];B=u[z+4>>2];D=u[z>>2];z=O;O=e<<4;z=z+O|0;U=u[z+8>>2];V=u[z+4>>2];Y=u[z>>2];z=K;K=(i+16|0)+(j<<6)|0;z=z+K|0;Z=u[z+8>>2];_=u[z+4>>2];$=u[z>>2];z=K+O|0;y=u[z+8>>2];N=u[z+4>>2];I=u[z>>2];q:{if(X){E=u[aa>>2];s=E;C=u[(i+304|0)+(h<<2)>>2];H=C;L=u[(i+304|0)+(e<<2)>>2];n=L;M=u[fa>>2];k=M;break q}L=u[ba>>2];C=L;M=u[(i+320|0)+(h<<2)>>2];s=M;H=u[ga>>2];n=H;E=u[(i+320|0)+(e<<2)>>2];k=E}e=q[m>>2];if((e|0)!=q[F>>2]){q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=n;u[e+12>>2]=k;u[e+8>>2]=y;u[e+4>>2]=N;u[e>>2]=I;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=H;u[e+12>>2]=M;u[e+8>>2]=Z;u[e+4>>2]=_;u[e>>2]=$;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=C;u[e+12>>2]=s;u[e+8>>2]=A;u[e+4>>2]=B;u[e>>2]=D;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=n;u[e+12>>2]=k;u[e+8>>2]=y;u[e+4>>2]=N;u[e>>2]=I;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=C;u[e+12>>2]=s;u[e+8>>2]=A;u[e+4>>2]=B;u[e>>2]=D;e=q[m>>2];if((e|0)==q[F>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=L;u[e+12>>2]=E;u[e+8>>2]=U;u[e+4>>2]=V;u[e>>2]=Y;e=h;if((e|0)==3){break p}continue}break}break a}j=v;if((j|0)!=3){continue}break}T=T+54|0;break g}J(39714,39726,147,39510);G()}while(1){h=q[m>>2];if((h|0)==q[F>>2]){break a}O=q[q[v+24>>2]+(e<<2)>>2]<<3;K=O+fa|0;k=u[K+4>>2];n=u[K>>2];s=u[j+48>>2];C=u[ga+32>>2];A=u[j>>2];B=u[j+16>>2];D=u[j+52>>2];y=u[j+36>>2];N=u[j+4>>2];I=u[j+20>>2];E=u[j+56>>2];H=u[j+40>>2];L=u[j+8>>2];M=u[j+24>>2];O=z+O|0;K=q[O+4>>2];O=q[O>>2];q[m>>2]=h+36;u[h+32>>2]=P;u[h+28>>2]=Q;u[h+24>>2]=R;u[h+20>>2]=S;q[h+12>>2]=O;q[h+16>>2]=K;n=x((aa?x(-n):n)+x(.5));k=x((ba?x(-k):k)+x(.5));u[h+8>>2]=E+x(x(x(L*n)+x(M*k))+x(H*x(0)));u[h+4>>2]=D+x(x(x(n*N)+x(k*I))+x(y*x(0)));u[h>>2]=s+x(x(x(n*A)+x(k*B))+x(C*x(0)));e=e+1|0;if((X|0)!=(e|0)){continue}break}}T=T+X|0}W=W+1|0;if((W|0)!=(f|0)){continue}break}break b}J(40963,39661,1257,40948);G()}J(39145,39220,461,39299);G()}J(40832,39661,868,40848);G()}q[i>>2]=e;mi(4,38938,40995,i);J(41019,39661,812,41021);G()}J(39499,39220,447,39510);G()}J(39472,39220,474,39491);G()}J(40914,39661,1215,40948);G()}q[l+252>>2]=T;fi=i+432|0;return}J(39443,39220,501,39467);G()}function vM(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,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;m=fi-192|0;fi=m;y=h;F=i&65535;n=d;o=e&65535;G=(e^i)&-2147483648;l=i>>>16&32767;a:{t=e>>>16&32767;b:{c:{if(l-1>>>0<32766?t-1>>>0<=32765:0){break c}H=e&2147483647;k=H;j=d;if(!(!j&(k|0)==2147418112?!(b|c):k>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|j|(c|k))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((k|0)==65535|k>>>0<65535){i=b;d=!(o|n);h=d<<6;j=z(d?b:n)+32|0;b=z(d?c:o);b=h+((b|0)==32?j:b)|0;Zl(m+176|0,i,c,n,o,b-15|0);I=16-b|0;n=q[m+184>>2];o=q[m+188>>2];c=q[m+180>>2];b=q[m+176>>2]}if(e>>>0>65535){break c}d=!(y|F);e=d<<6;h=z(d?f:y)+32|0;d=z(d?g:F);d=e+((d|0)==32?h:d)|0;Zl(m+160|0,f,g,y,F,d-15|0);I=(d+I|0)-16|0;y=q[m+168>>2];F=q[m+172>>2];f=q[m+160>>2];g=q[m+164>>2]}e=F|65536;H=e;N=y;d=y;k=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=k;j=k;i=1963258675-(j+(d>>>0>4192101508)|0)|0;zn(m+144|0,d,j,h,i);j=q[m+152>>2];zn(m+128|0,0-j|0,0-(q[m+156>>2]+((j|0)!=0)|0)|0,h,i);h=q[m+136>>2];i=h<<1|q[m+132>>2]>>>31;h=q[m+140>>2]<<1|h>>>31;zn(m+112|0,i,h,d,k);j=h;h=q[m+120>>2];zn(m+96|0,i,j,0-h|0,0-(q[m+124>>2]+((h|0)!=0)|0)|0);h=q[m+104>>2];i=h<<1|q[m+100>>2]>>>31;h=q[m+108>>2]<<1|h>>>31;zn(m+80|0,i,h,d,k);j=h;h=q[m+88>>2];zn(m- -64|0,i,j,0-h|0,0-(q[m+92>>2]+((h|0)!=0)|0)|0);h=q[m+72>>2];i=h<<1|q[m+68>>2]>>>31;h=q[m+76>>2]<<1|h>>>31;zn(m+48|0,i,h,d,k);j=h;h=q[m+56>>2];zn(m+32|0,i,j,0-h|0,0-(q[m+60>>2]+((h|0)!=0)|0)|0);h=q[m+40>>2];i=h<<1|q[m+36>>2]>>>31;h=q[m+44>>2]<<1|h>>>31;zn(m+16|0,i,h,d,k);j=h;h=q[m+24>>2];zn(m,i,j,0-h|0,0-(q[m+28>>2]+((h|0)!=0)|0)|0);I=(t-l|0)+I|0;h=q[m+8>>2];j=q[m+12>>2]<<1|h>>>31;k=h<<1|q[m+4>>2]>>>31;h=k-1|0;k=j-(k>>>0<1)|0;j=0;C=j;i=h;p=e;e=0;r=jwa(h,j,p,e);j=ii;u=j;x=k;l=0;t=d;h=jwa(k,l,d,0);d=h+r|0;j=ii+j|0;j=d>>>0>>0?j+1|0:j;h=d;d=j;j=0;k=(d|0)==(u|0)&h>>>0>>0|d>>>0>>0;r=jwa(x,l,p,e);e=r+d|0;k=ii+(j|k)|0;j=e;e=j>>>0>>0?k+1|0:k;p=j;k=h;r=0;h=jwa(i,C,t,s);d=r+h|0;j=ii+k|0;j=d>>>0>>0?j+1|0:j;h=j;t=(k|0)==(j|0)&r>>>0>d>>>0|j>>>0>>0;k=p+t|0;j=e;A=k;e=k>>>0>>0?j+1|0:j;p=d;r=d;t=h;d=g;B=(d&131071)<<15|f>>>17;u=jwa(i,C,B,0);d=ii;s=d;j=f;k=j<<15&-32768;w=0;D=jwa(x,l,k,w);h=D+u|0;j=ii+d|0;j=h>>>0>>0?j+1|0:j;d=j;D=0;E=jwa(i,C,k,w);w=D+E|0;k=h;j=k+ii|0;j=w>>>0>>0?j+1|0:j;v=(j|0)==(k|0)&w>>>0>>0|j>>>0>>0;j=(d|0)==(s|0)&k>>>0>>0|d>>>0>>0;h=d;d=jwa(x,l,B,K)+d|0;k=j+ii|0;k=d>>>0>>0?k+1|0:k;h=d;d=v+d|0;j=k;j=d>>>0>>0?j+1|0:j;h=d;d=d+r|0;j=j+t|0;j=d>>>0>>0?j+1|0:j;r=d;u=j;h=(j|0)==(t|0)&d>>>0

>>0|e>>>0>j>>>0;e=k+v|0;j=h;j=e>>>0>>0?j+1|0:j;k=e;e=i;u=e-2|0;h=u;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=k+e|0;j=d>>>0>>0?j+1|0:j;e=d;d=d-1|0;h=j-(e>>>0<1)|0;e=0;w=e;l=d;i=n;v=i<<2|c>>>30;B=0;p=jwa(d,e,v,B);e=ii;s=e;k=e;e=c;K=(e&1073741823)<<2|b>>>30;t=0;D=h;i=0;e=jwa(K,t,h,i);d=e+p|0;k=ii+k|0;k=d>>>0>>0?k+1|0:k;j=(k|0)==(s|0)&d>>>0

>>0|k>>>0>>0;p=d;h=k;A=r;k=0;r=k;c=j;E=((o&1073741823)<<2|n>>>30)&-262145|262144;k=jwa(A,k,E,0);d=k+d|0;j=ii+h|0;j=d>>>0>>0?j+1|0:j;o=d;e=j;h=(j|0)==(h|0)&d>>>0

>>0|h>>>0>j>>>0;d=c+h|0;j=0;j=d>>>0>>0?1:j;h=jwa(D,i,E,M);d=h+d|0;k=ii+j|0;k=d>>>0>>0?k+1|0:k;n=jwa(l,w,E,M);h=ii;c=d;s=jwa(v,B,D,i);d=s+n|0;j=ii+h|0;j=d>>>0>>0?j+1|0:j;s=d;d=j;j=(h|0)==(j|0)&n>>>0>s>>>0|h>>>0>j>>>0;n=c+d|0;j=j+k|0;k=n;h=k>>>0>>0?j+1|0:j;p=o;c=k;o=0;d=p+o|0;n=e;k=s+e|0;k=d>>>0>>0?k+1|0:k;j=d;e=k;o=(k|0)==(n|0)&j>>>0

>>0|k>>>0>>0;k=c+o|0;j=h;C=k;h=k>>>0>>0?j+1|0:j;n=d;o=e;p=jwa(K,t,A,r);e=ii;s=jwa(u,0,v,B);d=s+p|0;k=ii+e|0;k=d>>>0>>0?k+1|0:k;s=d;p=(e|0)==(k|0)&p>>>0>d>>>0|e>>>0>k>>>0;e=k;x=p;j=b;L=j<<2&-4;c=0;j=jwa(l,w,L,c);d=j+d|0;k=ii+k|0;k=d>>>0>>0?k+1|0:k;p=d;j=d;d=k;k=(k|0)==(e|0)&j>>>0>>0|e>>>0>k>>>0;e=x+k|0;j=0;j=e>>>0>>0?1:j;k=e;e=n+k|0;j=j+o|0;j=e>>>0>>0?j+1|0:j;s=e;k=e;e=j;o=(j|0)==(o|0)&k>>>0>>0|j>>>0>>0;j=o+C|0;k=h;C=j;o=j>>>0>>0?k+1|0:k;x=jwa(D,i,L,c);D=ii;i=jwa(E,M,u,O);h=i+x|0;j=ii+D|0;j=h>>>0>>0?j+1|0:j;E=h;k=jwa(v,B,A,r);h=h+k|0;i=j;j=j+ii|0;j=h>>>0>>0?j+1|0:j;v=h;n=jwa(l,w,K,t);h=h+n|0;k=j+ii|0;k=h>>>0>>0?k+1|0:k;n=h;h=k;w=0;l=(k|0)==(j|0)&n>>>0>>0|k>>>0>>0;k=(i|0)==(j|0)&v>>>0>>0|i>>>0>j>>>0;i=k+((i|0)==(D|0)&E>>>0>>0|i>>>0>>0)|0;j=0;i=l+i|0;j=i;k=h|0;i=k+s|0;j=(j|w)+e|0;j=i>>>0>>0?j+1|0:j;k=j;l=(e|0)==(j|0)&i>>>0>>0|e>>>0>j>>>0;e=l+C|0;j=o;v=e;e=e>>>0>>0?j+1|0:j;s=i;o=k;A=jwa(A,r,L,c);r=ii;j=jwa(K,t,u,O);i=j+A|0;k=ii+r|0;k=i>>>0>>0?k+1|0:k;l=k;k=0;j=(l|0)==(r|0)&i>>>0>>0|l>>>0>>0;i=l+p|0;j=(j|k)+d|0;j=i>>>0>>0?j+1|0:j;l=i;k=i;i=j;k=(d|0)==(j|0)&k>>>0

>>0|d>>>0>j>>>0;d=j;p=k;j=n;n=0;h=n+l|0;k=d+j|0;d=h;k=d>>>0>>0?k+1|0:k;h=(i|0)==(k|0)&d>>>0>>0|i>>>0>k>>>0;d=p+h|0;k=0;k=d>>>0>>0?1:k;h=d;d=d+s|0;j=k+o|0;j=d>>>0>>0?j+1|0:j;h=d;i=j;j=(j|0)==(o|0)&d>>>0>>0|j>>>0>>0;d=j+v|0;k=e;k=d>>>0>>0?k+1|0:k;e=k;d:{if((k|0)==131071|k>>>0<131071){x=0;l=f;w=0;j=jwa(h,x,l,w);n=ii;k=b<<17;b=0;c=(j|0)!=0|(n|0)!=0;t=b-c|0;D=k-(b>>>0>>0)|0;b=0-(((j|0)!=0)+n|0)|0;r=0-j|0;u=b;c=0;v=jwa(i,c,l,w);b=ii;B=b;n=0;p=jwa(h,x,g,n);j=p+v|0;k=ii+b|0;k=j>>>0

>>0?k+1|0:k;b=j;p=0;s=j;j=(j|0)==(u|0)&r>>>0

>>0|j>>>0>u>>>0;C=t-j|0;t=D-(j>>>0>t>>>0)|0;j=jwa(d,0,l,w);l=ii;x=jwa(h,x,y,0);o=x+j|0;j=ii+l|0;j=o>>>0>>0?j+1|0:j;l=jwa(g,n,i,c);o=l+o|0;j=ii+j|0;j=((k|0)==(B|0)&b>>>0>>0|k>>>0>>0)+(l>>>0>o>>>0?j+1|0:j)|0;b=k+o|0;o=b;b=b>>>0>>0?j+1|0:j;j=jwa(h,i,H,0);l=ii;v=o;o=jwa(f,g,e,0);j=o+j|0;k=ii+l|0;k=j>>>0>>0?k+1|0:k;l=jwa(d,e,g,n);o=l+j|0;k=jwa(i,c,y,F);c=k+o|0;k=c;y=0;c=v+y|0;j=b+k|0;j=c>>>0>>0?j+1|0:j;b=c;y=C-b|0;F=t-((b>>>0>C>>>0)+j|0)|0;I=I-1|0;o=r-p|0;b=u-((r>>>0

>>0)+s|0)|0;break d}r=i>>>1|0;k=0;n=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;v=0;l=f;B=0;b=jwa(h,v,l,B);j=ii;t=j;j=(b|0)!=0|(j|0)!=0;u=0-j|0;E=n-(c>>>0>>0)|0;p=0-b|0;s=0-(((b|0)!=0)+t|0)|0;n=0;t=jwa(h,v,g,n);b=ii;D=b;j=e<<31|d>>>1;r=r|d<<31;O=j|k;C=r;L=0;k=jwa(r,L,l,B);c=k+t|0;j=ii+b|0;j=c>>>0>>0?j+1|0:j;b=j;k=c;w=k;x=0;j=(k|0)==(s|0)&x>>>0>p>>>0|k>>>0>s>>>0;A=u-j|0;u=E-(j>>>0>u>>>0)|0;j=jwa(h,i,H,0);E=ii;M=jwa(l,g,e>>>1|0,0);k=M+j|0;j=ii+E|0;E=k;k=k>>>0>>0?j+1|0:j;j=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=jwa(d,e,g,n);j=j+E|0;k=ii+k|0;F=jwa(r,O,y,F);j=F+j|0;r=0;F=j;j=jwa(g,n,C,L);n=ii;l=jwa(d,0,l,B);k=l+j|0;j=ii+n|0;j=k>>>0>>0?j+1|0:j;y=jwa(h,v,y,0);k=y+k|0;j=ii+j|0;o=k;k=k>>>0>>0?j+1|0:j;y=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+o|0;k=k+y|0;k=b>>>0>>0?k+1|0:k;c=b;b=b+r|0;k=k+F|0;k=b>>>0>>0?k+1|0:k;y=A-b|0;F=u-((b>>>0>A>>>0)+k|0)|0;o=p-x|0;b=s-((p>>>0>>0)+w|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}l=I+16383|0;if((I|0)<=-16383){e:{if(l){break e}l=o;j=b<<1|l>>>31;l=l<<1;c=(g|0)==(j|0)&f>>>0>>0|g>>>0>>0;f=y;j=F<<1|f>>>31;g=f<<1|b>>>31;k=g;f=(k|0)==(N|0)&(j|0)==(H|0)?c:(H|0)==(j|0)&k>>>0>N>>>0|j>>>0>H>>>0;b=f+h|0;j=i;j=b>>>0>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0>>0|i>>>0>j>>>0)|0;k=e&65535;e=f;k=d>>>0>e>>>0?k+1|0:k;d=k;if(!(k&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}n=o;k=b<<1|n>>>31;n=n<<1;c=(g|0)==(k|0)&f>>>0<=n>>>0|g>>>0>>0;f=y;k=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&f>>>0>=N>>>0|k>>>0>H>>>0;b=f+h|0;j=i;j=b>>>0>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0>>0|i>>>0>j>>>0)|0;k=e&65535;k=d>>>0>f>>>0?k+1|0:k;e=0;d=e+f|0;j=(l<<16)+k|0;J=d|J;G=G|(d>>>0>>0?j+1|0:j)}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=J;q[a+12>>2]=G;fi=m+192|0;return}q[a>>2]=0;q[a+4>>2]=0;b=!(d|f|(e|g));q[a+8>>2]=b?0:J;q[a+12>>2]=b?2147450880:G;fi=m+192|0}function Yna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=0,n=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=0,A=x(0),B=x(0),C=x(0),D=0,E=0,F=0;c=fi-416|0;fi=c;h=q[b>>2];a:{b:{c:{d:{d=q[a+72>>2];e:{if(!d|(q[a>>2]!=q[a+32>>2]|q[a+4>>2]!=q[a+36>>2])){break e}e=q[a+16>>2];f=q[a+20>>2];if((e|0)!=q[a+48>>2]|(f|0)!=q[a+52>>2]){break e}if(q[d+96>>2]==(e|0)&q[d+100>>2]==(f|0)){break d}}e=q[h+4168>>2];f:{if(!e){break f}f=q[a+48>>2];g=q[a+52>>2];d=q[q[h+4164>>2]+(lwa(f,g,e)<<2)>>2];if((d|0)==-1){break f}e=q[h+4172>>2];while(1){m=e+(d<<4)|0;if(q[m>>2]!=(f|0)|q[m+4>>2]!=(g|0)){d=q[m+12>>2];if((d|0)!=-1){continue}break f}break}d=q[(e+(d<<4)|0)+8>>2];if(d){break d}}e=_m(q[a>>2],q[a+4>>2]);f=Ei(q[a+16>>2],q[a+20>>2]);d=Ei(q[a+24>>2],q[a+28>>2]);h=Ei(q[a+48>>2],q[a+52>>2]);a=Ei(q[a+64>>2],q[a+68>>2]);q[c+16>>2]=d;q[c+12>>2]=f;q[c+8>>2]=e;q[c+4>>2]=a;q[c>>2]=h;mi(4,7277,8322,c);o[b+4|0]=0;break c}g:{h:{i:{j:{e=q[a+80>>2];if(!e){break j}if((e|0)==q[59569]){Ioa(h,d);break c}if((e|0)==q[59570]){i=q[h+4200>>2];a=q[h+4196>>2];b=i-a|0;if(!b){break c}g=b>>2;e=0;b=0;while(1){f=e;e=e+1|0;m=(f<<2)+a|0;b=q[m>>2]==(d|0)|b;if(!(!(b&1)|f>>>0>=g-1>>>0)){if(e>>>0>=g>>>0){break a}q[m>>2]=q[(e<<2)+a>>2];i=q[h+4200>>2];a=q[h+4196>>2]}g=i-a>>2;if(g>>>0>e>>>0){continue}break}if(!(b&1)){break c}if((a|0)==(i|0)){break i}q[h+4200>>2]=i-4;break c}if((e|0)==q[59571]){b=q[d+20>>2];e=q[d+16>>2];u[c+296>>2]=u[d+24>>2];q[c+288>>2]=e;q[c+292>>2]=b;b=q[d>>2];e=q[d+4>>2];f=q[d+12>>2];q[c+312>>2]=q[d+8>>2];q[c+316>>2]=f;q[c+304>>2]=b;q[c+308>>2]=e;j=u[d+40>>2];l=u[d+32>>2];s=u[d+36>>2];u[c+372>>2]=s;u[c+376>>2]=j;u[c+368>>2]=l;l=l>2]=j>2];b=q[e+4148>>2];m=q[e+4152>>2]-b>>6;e=q[d+140>>2]&32767;if(m>>>0<=e>>>0){break a}b=b+(e<<6)|0;e=q[b+52>>2];f=q[b+48>>2];u[c+328>>2]=u[b+56>>2];q[c+320>>2]=f;q[c+324>>2]=e;Ks(c+224|0,d);b=q[c+236>>2];q[c+344>>2]=q[c+232>>2];q[c+348>>2]=b;b=q[c+228>>2];q[c+336>>2]=q[c+224>>2];q[c+340>>2]=b;Wq(c+224|0,d);j=u[c+224>>2];l=u[c+228>>2];s=u[c+232>>2];l=l>s?l:s;u[c+384>>2]=j>l?j:l;Wq(c+224|0,d);b=q[c+232>>2];q[c+404>>2]=q[c+228>>2];q[c+408>>2]=b;u[c+400>>2]=u[c+224>>2];b=q[59624];f=q[b+8>>2];e=q[b+12>>2];if(!po(q[a>>2],q[a+4>>2])){break c}a=Zj(a+32|0,a,f,e,q[a+72>>2],b,c+288|0,128);if(!a){break c}q[c+64>>2]=q[q[59624]+4>>2];q[c+68>>2]=a;mi(4,7277,8404,c- -64|0);break c}if((e|0)!=q[59646]){break j}e=0;b=q[a+96>>2];f=q[a+100>>2];k:{if(!(b|f)){break k}e=q[h+4168>>2];l:{if(!e){break l}e=q[q[h+4164>>2]+(lwa(b,f,e)<<2)>>2];if((e|0)==-1){break l}g=q[h+4172>>2];while(1){i=g+(e<<4)|0;if(q[i>>2]!=(b|0)|q[i+4>>2]!=(f|0)){e=q[i+12>>2];if((e|0)!=-1){continue}break l}break}e=q[(g+(e<<4)|0)+8>>2];if(e){break k}}q[c+96>>2]=Ei(b,f);mi(3,7277,8447,c+96|0);e=0}q[c+312>>2]=0;q[c+316>>2]=0;q[c+308>>2]=1065353216;q[c+320>>2]=0;q[c+324>>2]=0;q[c+332>>2]=0;q[c+336>>2]=0;q[c+328>>2]=1065353216;q[c+340>>2]=0;q[c+344>>2]=0;q[c+348>>2]=1065353216;q[c+292>>2]=0;q[c+296>>2]=0;q[c+288>>2]=1065353216;q[c+300>>2]=0;q[c+304>>2]=0;if(e){f=q[e+140>>2]&32767;b=q[h+4148>>2];if(f>>>0>=q[h+4152>>2]-b>>6>>>0){break a}b=b+(f<<6)|0;u[c+288>>2]=u[b>>2];u[c+292>>2]=u[b+4>>2];u[c+296>>2]=u[b+8>>2];u[c+300>>2]=u[b+12>>2];u[c+304>>2]=u[b+16>>2];u[c+308>>2]=u[b+20>>2];u[c+312>>2]=u[b+24>>2];u[c+316>>2]=u[b+28>>2];u[c+320>>2]=u[b+32>>2];u[c+324>>2]=u[b+36>>2];u[c+328>>2]=u[b+40>>2];u[c+332>>2]=u[b+44>>2];u[c+336>>2]=u[b+48>>2];u[c+340>>2]=u[b+52>>2];u[c+344>>2]=u[b+56>>2];u[c+348>>2]=u[b+60>>2]}f=q[d+136>>2];b=q[d+140>>2];m:{if(!q[a+104>>2]){b=b&32767;m=q[h+4152>>2];h=q[h+4148>>2];if(b>>>0>=m-h>>6>>>0){break a}g=h+(b<<6)|0;if(f&512){l=u[d+40>>2];s=u[d+36>>2];v=u[d+24>>2];B=u[d+32>>2];f=q[d+20>>2];i=q[d+16>>2];k=u[d+4>>2];y=u[d+8>>2];C=u[d+12>>2];j=u[d>>2];q[c+220>>2]=1065353216;u[c+216>>2]=v;u[c+188>>2]=s*x(0);u[c+204>>2]=l*x(0);v=x(y+y);n=x(k*v);A=x(j+j);t=x(C*A);u[c+184>>2]=s*x(n+t);u[c+196>>2]=l*x(n-t);n=x(x(1)-x(j*A));y=x(y*v);u[c+180>>2]=s*x(n-y);t=n;n=k;k=x(k+k);n=x(n*k);u[c+200>>2]=l*x(t-n);q[c+208>>2]=i;q[c+212>>2]=f;u[c+172>>2]=B*x(0);A=x(j*k);t=x(C*v);u[c+164>>2]=B*x(A+t);j=x(j*v);k=x(k*C);u[c+168>>2]=B*x(j-k);u[c+176>>2]=s*x(A-t);u[c+192>>2]=l*x(j+k);u[c+160>>2]=B*x(x(x(1)-n)-y);Dk(c+224|0,c+288|0,c+160|0);u[g>>2]=u[c+224>>2];b=h+(b<<6)|0;u[b+4>>2]=u[c+228>>2];u[b+8>>2]=u[c+232>>2];u[b+12>>2]=u[c+236>>2];u[b+16>>2]=u[c+240>>2];u[b+20>>2]=u[c+244>>2];u[b+24>>2]=u[c+248>>2];u[b+28>>2]=u[c+252>>2];u[b+32>>2]=u[c+256>>2];u[b+36>>2]=u[c+260>>2];u[b+40>>2]=u[c+264>>2];u[b+44>>2]=u[c+268>>2];u[b+48>>2]=u[c+272>>2];u[b+52>>2]=u[c+276>>2];u[b+56>>2]=u[c+280>>2];u[b+60>>2]=u[c+284>>2];break m}l=u[d+40>>2];s=u[d+36>>2];v=u[d+24>>2];B=u[d+32>>2];f=q[d+20>>2];i=q[d+16>>2];k=u[d+4>>2];y=u[d+8>>2];C=u[d+12>>2];j=u[d>>2];q[c+220>>2]=1065353216;u[c+216>>2]=v;u[c+188>>2]=s*x(0);u[c+204>>2]=l*x(0);v=x(y+y);n=x(k*v);A=x(j+j);t=x(C*A);u[c+184>>2]=s*x(n+t);u[c+196>>2]=l*x(n-t);n=x(x(1)-x(j*A));y=x(y*v);u[c+180>>2]=s*x(n-y);t=n;n=k;k=x(k+k);n=x(n*k);u[c+200>>2]=l*x(t-n);q[c+208>>2]=i;q[c+212>>2]=f;u[c+172>>2]=B*x(0);A=x(j*k);t=x(C*v);u[c+164>>2]=B*x(A+t);j=x(j*v);k=x(k*C);u[c+168>>2]=B*x(j-k);u[c+176>>2]=s*x(A-t);u[c+192>>2]=l*x(j+k);u[c+160>>2]=B*x(x(x(1)-n)-y);On(c+224|0,c+288|0,c+160|0);u[g>>2]=u[c+224>>2];b=h+(b<<6)|0;u[b+4>>2]=u[c+228>>2];u[b+8>>2]=u[c+232>>2];u[b+12>>2]=u[c+236>>2];u[b+16>>2]=u[c+240>>2];u[b+20>>2]=u[c+244>>2];u[b+24>>2]=u[c+248>>2];u[b+28>>2]=u[c+252>>2];u[b+32>>2]=u[c+256>>2];u[b+36>>2]=u[c+260>>2];u[b+40>>2]=u[c+264>>2];u[b+44>>2]=u[c+268>>2];u[b+48>>2]=u[c+272>>2];u[b+52>>2]=u[c+276>>2];u[b+56>>2]=u[c+280>>2];u[b+60>>2]=u[c+284>>2];break m}if(f&512){ir(c+160|0,c+288|0);f=q[d+140>>2]&32767;b=q[h+4148>>2];if(f>>>0>=q[h+4152>>2]-b>>6>>>0){break a}Dk(c+224|0,c+160|0,b+(f<<6)|0);Ko(c+112|0,c+224|0);u[d>>2]=u[c+112>>2];u[d+4>>2]=u[c+116>>2];u[d+8>>2]=u[c+120>>2];u[d+12>>2]=u[c+124>>2];u[d+16>>2]=u[c+128>>2];u[d+20>>2]=u[c+132>>2];u[d+24>>2]=u[c+136>>2];u[d+32>>2]=u[c+144>>2];u[d+36>>2]=u[c+148>>2];u[d+40>>2]=u[c+152>>2];break m}ir(c+160|0,c+288|0);f=q[d+140>>2]&32767;b=q[h+4148>>2];if(f>>>0>=q[h+4152>>2]-b>>6>>>0){break a}On(c+224|0,c+160|0,b+(f<<6)|0);Ko(c+160|0,c+224|0);u[d>>2]=u[c+160>>2];u[d+4>>2]=u[c+164>>2];u[d+8>>2]=u[c+168>>2];u[d+12>>2]=u[c+172>>2];u[d+16>>2]=u[c+176>>2];u[d+20>>2]=u[c+180>>2];u[d+24>>2]=u[c+184>>2];u[d+32>>2]=u[c+192>>2];u[d+36>>2]=u[c+196>>2];u[d+40>>2]=u[c+200>>2]}b=ev(d,e);if(!b){break c}e=Ei(q[d+96>>2],q[d+100>>2]);a=Ei(q[a+96>>2],q[a+100>>2]);q[c+88>>2]=b;q[c+84>>2]=a;q[c+80>>2]=e;mi(3,7277,8492,c+80|0);break c}m=q[d+84>>2];g=q[m+4>>2];z=q[a+56>>2];D=q[a+60>>2];if(z|D){break g}if(!g){break c}e=0;while(1){D=q[m>>2]+w(e,80)|0;f=q[D+16>>2];if(!f){break h}z=q[f+96>>2];n:{if(q[f+64>>2]){E=z<<15;g=(i<<2)+d|0;o:{if(o[289988]&1){break o}if(!ui(289988)){break o}if(r[852367]){F=Ri(7503)}else{F=-1}q[72496]=F;ti(289988)}E=E>>31;g=g+156|0;p:{if(o[289996]&1){break p}if(!ui(289996)){break p}if(r[852367]){F=Yi(8657,17)}else{F=0}q[72498]=F;ti(289996)}g=g&E;E=q[72496];q:{if((E|0)!=-1){Qi(c+224|0,E,8657,q[72498]);break q}q[c+224>>2]=0}q[c+288>>2]=d;q[c+292>>2]=q[(h+(q[D+20>>2]<<2)|0)+12>>2];D=q[f+16>>2];q[c+304>>2]=a;q[c+300>>2]=g;q[c+296>>2]=D;if(ji[q[f+64>>2]](c+288|0)|0){o[b+4|0]=0}if(q[c+224>>2]){Pi(c+224|0)}g=q[m+4>>2];z=(z&65536)>>>16|0;break n}z=z>>>16&1}i=z+i|0;e=e+1|0;if(e>>>0>>0){continue}break}break c}J(12666,10090,516,12522);G()}J(7920,7150,2289,8632);G()}r:{if(g){f=q[m>>2];e=0;while(1){i=f+w(e,80)|0;if((z|0)==q[i>>2]&(D|0)==q[i+4>>2]){break r}e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=_m(q[a>>2],q[a+4>>2]);f=Ei(q[a+16>>2],q[a+20>>2]);d=Ei(q[a+24>>2],q[a+28>>2]);h=Ei(q[a+48>>2],q[a+52>>2]);g=Ei(q[a+56>>2],q[a+60>>2]);a=Ei(q[a+64>>2],q[a+68>>2]);q[c+52>>2]=d;q[c+48>>2]=f;q[c+44>>2]=e;q[c+40>>2]=a;q[c+36>>2]=g;q[c+32>>2]=h;mi(4,7277,8546,c+32|0);o[b+4|0]=0;break c}m=e&65535;i=q[(f+w(m,80)|0)+16>>2];if(!i){break b}if(q[i+64>>2]){g=0;if(m){e=0;while(1){g=(p[q[(f+w(e,80)|0)+16>>2]+98>>1]&1)+g|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}g=(g<<2)+d|0;z=q[i+96>>2]<<15;s:{if(o[289972]&1){break s}if(!ui(289972)){break s}if(r[852367]){e=Ri(7503)}else{e=-1}q[72492]=e;ti(289972)}g=g+156|0;z=z>>31;t:{if(o[289980]&1){break t}if(!ui(289980)){break t}if(r[852367]){e=Yi(8657,17)}else{e=0}q[72494]=e;ti(289980)}e=g&z;g=q[72492];u:{if((g|0)!=-1){Qi(c+224|0,g,8657,q[72494]);break u}q[c+224>>2]=0}q[c+288>>2]=d;q[c+292>>2]=q[(h+(q[(f+w(m,80)|0)+20>>2]<<2)|0)+12>>2];f=q[i+16>>2];q[c+304>>2]=a;q[c+300>>2]=e;q[c+296>>2]=f;if(ji[q[i+64>>2]](c+288|0)|0){o[b+4|0]=0}if(!q[c+224>>2]){break c}Pi(c+224|0);break c}mi(3,7277,8675,0)}fi=c+416|0;return}J(7920,7150,2242,8632);G()}J(12475,10090,447,9406);G()}function Lr(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,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,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0;d=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);B=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);l=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);t=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);i=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=owa(B^l^t^i,1);f=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);ra=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);sa=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=owa(e^(d^(ra^sa)),1);c=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);w=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);u=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);s=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=owa(w^j^u^s,1);g=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);ta=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);C=owa(c^(m^(B^ta)),1);D=owa(C^(i^(u^ra)),1);E=owa(D^(e^(m^t)),1);g=owa(E^(f^(d^i)),1);h=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);ma=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);z=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);b=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);A=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);y=owa(d^(z^l^A),1);b=owa(ma^(w^sa)^y,1);F=owa(b^(s^(A^ta)),1);G=owa(F^(c^(u^ma)),1);H=owa(G^(C^(m^s)),1);I=owa(H^(D^(c^i)),1);J=owa(I^(E^(e^C)),1);h=owa(J^(f^D^g),1);K=owa(f^(y^(t^A)),1);L=owa(K^(b^(d^ma)),1);M=owa(L^(s^y^F),1);N=owa(M^(b^c^G),1);O=owa(N^(C^F^H),1);P=owa(O^(D^G^I),1);Q=owa(P^(E^H^J),1);p=owa(Q^(g^I^h),1);R=owa(e^y^K^g,1);k=owa(R^(b^f^L),1);S=owa(E^K^R^h,1);x=owa(S^(g^L^k),1);T=owa(J^R^S^p,1);U=owa(T^(h^k^x),1);V=owa(F^K^M^k,1);W=owa(V^(G^L^N),1);X=owa(W^(H^M^O),1);Y=owa(X^(I^N^P),1);Z=owa(Y^(J^O^Q),1);_=owa(Z^(h^P^p),1);$=owa(_^(Q^S^T),1);aa=owa($^(p^x^U),1);ba=owa(M^R^V^x,1);ca=owa(ba^(k^N^W),1);da=owa(ca^(O^V^X),1);ea=owa(da^(P^W^Y),1);fa=owa(ea^(Q^X^Z),1);ga=owa(fa^(p^Y^_),1);na=owa(ga^(T^Z^$),1);ua=owa(na^(U^_^aa),1);ha=owa(S^V^ba^U,1);ia=owa(ha^(x^W^ca),1);ja=owa(ia^(X^ba^da),1);ka=owa(ja^(Y^ca^ea),1);va=owa(ka^(Z^da^fa),1);wa=owa(va^(_^ea^ga),1);za=owa(wa^($^fa^na),1);Aa=owa(za^(aa^ga^ua),1);la=owa(T^ba^ha^aa,1);xa=owa(la^($^ha)^ua,1);oa=owa(U^ca^ia^la,1);Ba=q[a+24>>2];pa=q[a+8>>2];n=Ba+(owa(pa,5)+z|0)|0;qa=q[a+20>>2];ya=q[a+12>>2];z=q[a+16>>2];v=(n+(qa^ya&(z^qa))|0)+1518500249|0;n=owa(v,30);o=j+qa|0;j=owa(ya,30);o=((o+(z^(j^z)&pa)|0)+owa(v,5)|0)+1518500249|0;Ca=l+z|0;l=owa(pa,30);v=((Ca+(j^v&(l^j))|0)+owa(o,5)|0)+1518500249|0;w=(owa(v,5)+((j+w|0)+(l^o&(n^l))|0)|0)+1518500249|0;j=owa(v,30);o=owa(o,30);l=(((l+B|0)+(n^v&(o^n))|0)+owa(w,5)|0)+1518500249|0;B=(owa(l,5)+((n+sa|0)+(o^(j^o)&w)|0)|0)+1518500249|0;n=owa(B,30);v=o+ta|0;o=owa(w,30);v=((v+(j^l&(o^j))|0)+owa(B,5)|0)+1518500249|0;l=owa(l,30);w=(((j+ra|0)+(o^B&(l^o))|0)+owa(v,5)|0)+1518500249|0;A=(owa(w,5)+((o+A|0)+(l^v&(n^l))|0)|0)+1518500249|0;j=owa(w,30);l=l+u|0;u=owa(v,30);o=((l+(n^w&(u^n))|0)+owa(A,5)|0)+1518500249|0;l=(owa(o,5)+((n+t|0)+(u^A&(j^u))|0)|0)+1518500249|0;n=owa(l,30);t=owa(A,30);u=(((u+ma|0)+(j^o&(t^j))|0)+owa(l,5)|0)+1518500249|0;j=j+m|0;m=owa(o,30);j=((j+(t^l&(m^t))|0)+owa(u,5)|0)+1518500249|0;t=(owa(j,5)+((d+t|0)+(m^u&(n^m))|0)|0)+1518500249|0;d=owa(j,30);m=m+s|0;s=owa(u,30);j=((m+(n^j&(s^n))|0)+owa(t,5)|0)+1518500249|0;n=(owa(j,5)+((i+n|0)+(s^t&(d^s))|0)|0)+1518500249|0;i=owa(n,30);m=owa(j,30);l=s+y|0;s=owa(t,30);y=((l+(d^j&(s^d))|0)+owa(n,5)|0)+1518500249|0;c=(owa(y,5)+((c+d|0)+(s^n&(m^s))|0)|0)+1518500249|0;d=owa(c,30);n=owa(y,30);b=(b+m|0)+(i^c&(n^i))|0;m=(owa(c,5)+((e+s|0)+(m^y&(i^m))|0)|0)+1518500249|0;b=(b+owa(m,5)|0)+1518500249|0;i=(owa(b,5)+((i+C|0)+(m^(d^n))|0)|0)+1859775393|0;e=owa(i,30);c=owa(b,30);j=f+n|0;f=owa(m,30);b=((j+(b^(f^d))|0)+owa(i,5)|0)+1859775393|0;i=(owa(b,5)+((d+F|0)+(i^(c^f))|0)|0)+1859775393|0;d=owa(i,30);m=owa(b,30);j=(c+K|0)+(i^(m^e))|0;c=(owa(i,5)+((f+D|0)+(b^(c^e))|0)|0)+1859775393|0;b=(j+owa(c,5)|0)+1859775393|0;i=(owa(b,5)+((e+G|0)+(c^(d^m))|0)|0)+1859775393|0;e=owa(i,30);f=owa(b,30);c=owa(c,30);b=(((m+E|0)+(b^(c^d))|0)+owa(i,5)|0)+1859775393|0;i=(owa(b,5)+((d+L|0)+(i^(c^f))|0)|0)+1859775393|0;d=owa(i,30);j=f+g|0;g=owa(b,30);c=(owa(i,5)+((c+H|0)+(b^(e^f))|0)|0)+1859775393|0;b=((j+(i^(g^e))|0)+owa(c,5)|0)+1859775393|0;i=(owa(b,5)+((e+M|0)+(c^(d^g))|0)|0)+1859775393|0;e=owa(i,30);f=owa(b,30);c=owa(c,30);b=(((g+I|0)+(b^(c^d))|0)+owa(i,5)|0)+1859775393|0;g=(owa(b,5)+((d+R|0)+(i^(c^f))|0)|0)+1859775393|0;d=owa(g,30);i=owa(b,30);c=(owa(g,5)+((c+N|0)+(b^(e^f))|0)|0)+1859775393|0;b=(((f+J|0)+(g^(i^e))|0)+owa(c,5)|0)+1859775393|0;g=(owa(b,5)+((e+k|0)+(c^(d^i))|0)|0)+1859775393|0;f=owa(g,30);k=owa(c,30);e=(((i+O|0)+(b^(k^d))|0)+owa(g,5)|0)+1859775393|0;c=d+h|0;h=owa(b,30);c=((c+(g^(h^k))|0)+owa(e,5)|0)+1859775393|0;b=(owa(c,5)+((k+V|0)+(e^(f^h))|0)|0)+1859775393|0;d=owa(c,30);k=h+P|0;h=owa(e,30);e=((k+(c^(h^f))|0)+owa(b,5)|0)+1859775393|0;c=(owa(e,5)+((f+S|0)+(h&(b|d)|b&d)|0)|0)-1894007588|0;f=owa(c,30);b=owa(b,30);g=owa(e,30);k=(d+Q|0)+(b&(g|c)|c&g)|0;c=(owa(c,5)+((h+W|0)+(d&(b|e)|b&e)|0)|0)-1894007588|0;d=(k+owa(c,5)|0)-1894007588|0;b=(owa(d,5)+((b+x|0)+(g&(c|f)|c&f)|0)|0)-1894007588|0;e=owa(d,30);c=owa(c,30);d=(((g+X|0)+(f&(c|d)|c&d)|0)+owa(b,5)|0)-1894007588|0;g=(owa(d,5)+((f+p|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=owa(g,30);b=owa(b,30);h=owa(d,30);c=(owa(g,5)+((c+ba|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;d=(((e+Y|0)+(b&(h|g)|g&h)|0)+owa(c,5)|0)-1894007588|0;b=(owa(d,5)+((b+T|0)+(h&(c|f)|c&f)|0)|0)-1894007588|0;e=owa(d,30);c=owa(c,30);d=(((h+ca|0)+(f&(c|d)|c&d)|0)+owa(b,5)|0)-1894007588|0;g=(owa(d,5)+((f+Z|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=owa(g,30);b=owa(b,30);h=owa(d,30);c=(owa(g,5)+((c+U|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;d=(((e+da|0)+(b&(h|g)|g&h)|0)+owa(c,5)|0)-1894007588|0;b=(owa(d,5)+((b+_|0)+(h&(c|f)|c&f)|0)|0)-1894007588|0;e=owa(d,30);c=owa(c,30);d=(((h+ha|0)+(f&(c|d)|c&d)|0)+owa(b,5)|0)-1894007588|0;g=(owa(d,5)+((f+ea|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=owa(g,30);b=owa(b,30);h=owa(d,30);d=(owa(g,5)+((c+$|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;e=(((e+ia|0)+(b&(h|g)|g&h)|0)+owa(d,5)|0)-1894007588|0;c=owa(e,30);g=owa(d,30);k=(h+aa|0)+(f&(g|e)|e&g)|0;h=(owa(e,5)+((b+fa|0)+(h&(d|f)|d&f)|0)|0)-1894007588|0;b=(k+owa(h,5)|0)-1894007588|0;f=(owa(b,5)+((f+ja|0)+(h^(c^g))|0)|0)-899497514|0;d=owa(f,30);e=owa(b,30);k=g+ga|0;g=owa(h,30);b=((k+(b^(g^c))|0)+owa(f,5)|0)-899497514|0;c=(owa(b,5)+((c+la|0)+(f^(e^g))|0)|0)-899497514|0;f=owa(c,30);h=owa(b,30);k=(e+na|0)+(c^(h^d))|0;c=(owa(c,5)+((g+ka|0)+(b^(d^e))|0)|0)-899497514|0;b=(k+owa(c,5)|0)-899497514|0;g=(owa(b,5)+((d+oa|0)+(c^(f^h))|0)|0)-899497514|0;d=owa(g,30);e=owa(b,30);c=owa(c,30);b=(((h+va|0)+(b^(c^f))|0)+owa(g,5)|0)-899497514|0;g=(owa(b,5)+((f+ua|0)+(g^(c^e))|0)|0)-899497514|0;f=owa(g,30);h=owa(b,30);p=(e+wa|0)+(g^(h^d))|0;k=c;c=owa(da^ha^ja^oa,1);e=(((k+c|0)+(b^(d^e))|0)+owa(g,5)|0)-899497514|0;b=(p+owa(e,5)|0)-899497514|0;d=(owa(b,5)+((d+xa|0)+(e^(f^h))|0)|0)-899497514|0;g=owa(d,30);p=owa(b,30);e=owa(e,30);k=h;h=owa(c^(ea^ia^ka),1);b=(((k+h|0)+(b^(e^f))|0)+owa(d,5)|0)-899497514|0;d=(((f+za|0)+(d^(p^e))|0)+owa(b,5)|0)-899497514|0;f=owa(d,30);k=owa(b,30);x=owa(aa^ia^oa^xa,1);b=(((x+e|0)+(b^(g^p))|0)+owa(d,5)|0)-899497514|0;i=p;p=owa(h^(fa^ja^va),1);d=(((i+p|0)+(d^(g^k))|0)+owa(b,5)|0)-899497514|0;e=(((g+Aa|0)+(f^k^b)|0)+owa(d,5)|0)-899497514|0;g=owa(e,30);q[a+24>>2]=g+Ba;i=k;k=owa(x^(c^(ja^la)),1);b=owa(b,30);c=(((i+k|0)+(d^(b^f))|0)+owa(e,5)|0)-899497514|0;x=owa(c,30);q[a+20>>2]=x+qa;p=owa(p^(ga^ka^wa),1)+f|0;d=owa(d,30);e=((p+(e^(d^b))|0)+owa(c,5)|0)-899497514|0;q[a+16>>2]=owa(e,30)+z;b=(((owa(la^na^xa^Aa,1)+b|0)+(c^(d^g))|0)+owa(e,5)|0)-899497514|0;q[a+12>>2]=b+ya;q[a+8>>2]=(((d+(owa(k^(h^(ka^oa)),1)+pa|0)|0)+(e^(g^x))|0)+owa(b,5)|0)-899497514;return 0}function cr(a,b,c,d,e,f,g,h,i,j,k,l,m,n,u){var v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;v=fi-80|0;fi=v;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(r[300249]){P=g-21>>>0<9;M=P|!n;F=a+180|0;A=n?n:l;n:{if(n|P){break n}M=0;A=c;if((g|0)!=15){break n}A=l+7>>>3|0}Q=w(c,d);o:{if(!i){break o}l=0;if(k>>>0>15){break a}R=((w(j,192)+F|0)+w(k,12)|0)+24|0;if(t[R+4>>2]>=Q>>>0){break o}Vs(R,Q)}C=v+56|0;q[C>>2]=0;q[C+4>>2]=0;q[C+16>>2]=0;q[C+20>>2]=0;q[C+8>>2]=0;q[C+12>>2]=0;if(!Kv(C,e,f)){break b}f=q[a+176>>2];K=v+40|0;e=K;q[e+8>>2]=0;q[e>>2]=0;q[e+4>>2]=0;Vs(e,f);q[e+12>>2]=f>>>1;q[v+32>>2]=0;q[v+36>>2]=0;o[v+35|0]=r[v+35|0]&254|1;o[v+35|0]=r[v+35|0]&253|2;p:{if((g&-2)!=6){break p}V=xi(w(Q,12));if(V){break p}break c}if(t[F+4>>2]>>0){RL(F,c);RL(F+12|0,c)}e=q[a>>2];e=e?e:a;N=e+4|0;if(!q[N+4>>2]){break c}H=e+16|0;if(!q[H+4>>2]){break c}e=q[H+4>>2];if(d){$=u?u:M?m:u;aa=e+q[a+176>>2]|0;S=A<<2;T=A<<1;ba=a+140|0;ca=a+104|0;da=a+68|0;ea=a+32|0;X=F+12|0;m=v+16|12;P=v+16|14;fa=(g|0)==24;u=0;M=0;j=0;while(1){if(c){Y=w(A,E);Z=w(c,E);e=E<<2;B=$-e|0;I=w(e,A);W=E&1;ga=w(W,12)+F|0;_=w(W^1,12)+F|0;k=0;while(1){q:{if(k&1){break q}if(!W){r:{if(O){O=O-1|0}else{O=0;u=Gl(C,ea);if((u|0)!=256){break r}O=XL(C,4)+2|0}u=M}o[ll(X,k)+2|0]=u>>>4;M=u;break q}u=r[ll(X,k)+2|0]}s:{t:{u:{v:{w:{e=u&3;switch(e|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}n=0;if(k){break s}break e}if(!E){break e}j=s[ll(_,k)>>1];n=0;break s}if(i){f=q[ll(R,k+Z|0)>>2];j=f&65535;n=f>>>16|0;break s}if(!E|!k){break e}j=s[ll(_,k-1|0)>>1];n=0;break s}n=0;j=Gl(C,da)+j|0;if(j>>>0>2]){break s}j=j-q[N+4>>2]|0}p[ll(ga,k)>>1]=j;x:{if((e|0)==2&i){break x}y:{if(U){U=U-1|0}else{U=0;n=Gl(C,ca);if((aa|0)!=(n|0)){break y}n=Gl(C,ba);if((n|0)==63){n=XL(C,7)}if(n+3>>>0>Q>>>0){break e}U=n+2|0}n=q[H+4>>2]}e=q[a+176>>2];if(q[H+4>>2]<=(n|0)){if(!e){break m}e=n-q[H+4>>2]|0;if((e|0)>=q[K+4>>2]){break e}n=q[ll(K,e)>>2];if(!e){break x}Vta(K,e);break x}if(!e){break x}Wta(K,n)}if(t[N+4>>2]<=j>>>0|t[H+4>>2]<=n>>>0){break e}if(i){q[ll(R,k+Z|0)>>2]=n<<16|j}e=vsa(N,j);D=ssa(H,n);z:{A:{switch(g|0){case 2:J(85745,85651,8289,85697);G();case 4:J(85745,85651,8299,85697);G();case 6:J(85745,85651,8334,85697);G();case 7:J(85745,85651,8385,85697);G();case 8:case 9:J(85745,85651,8397,85697);G();case 10:J(85745,85651,8407,85697);G();case 11:J(85745,85651,8417,85697);G();case 12:J(85745,85651,8427,85697);G();case 13:J(85745,85651,8437,85697);G();case 15:J(85745,85651,8452,85697);G();case 20:e=w(k+Y|0,h)+b|0;p[e+2>>1]=n;p[e>>1]=j;break z;case 23:if((h|0)!=4){break l}n=k<<2;f=A-n|0;l=(f|0)>4?4:f;f=(B|0)>4?4:B;Ata(v+16|0,e,r[e+4|0]);x=(n+I<<2)+b|0;if((l|0)!=4){if(!f){break z}e=0;if(!l){break z}while(1){z=r[e+D|0];n=0;while(1){o[(n<<2|3)+x|0]=q[(v+16|(z>>>(n<<1)&3)<<2)>>2];n=n+1|0;if((l|0)!=(n|0)){continue}break}x=x+S|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break z}l=0;if(!f){break z}while(1){e=r[l+D|0];o[x+3|0]=q[(v+16|(e&3)<<2)>>2];o[x+7|0]=q[(v+16|e&12)>>2];o[x+11|0]=q[(v+16|e>>>2&12)>>2];o[x+15|0]=q[(v+16|e>>>4&12)>>2];x=x+S|0;l=l+1|0;if((f|0)!=(l|0)){continue}break}break z;case 21:if((h|0)!=4){break k}br(v+16|0,e,r[e+4|0]);z=(B|0)>4?4:B;if(!z){break z}e=k<<2;f=A-e|0;y=(f|0)>4?4:f;if(!y){break z}x=(e+I<<2)+b|0;e=0;while(1){L=r[e+D|0];n=0;while(1){f=n<<2;l=v+16|(L>>>(n<<1)&3)<<2;o[f+x|0]=r[l|0];o[(f|1)+x|0]=r[l+1|0];o[(f|2)+x|0]=r[l+2|0];n=n+1|0;if((y|0)!=(n|0)){continue}break}x=x+S|0;e=e+1|0;if((z|0)!=(e|0)){continue}break}break z;case 22:if((h|0)!=4){break j}br(v+16|0,e,r[e+4|0]);z=(B|0)>4?4:B;if(!z){break z}e=k<<2;f=A-e|0;y=(f|0)>4?4:f;if(!y){break z}n=(e+I<<2)+b|0;e=0;while(1){L=r[e+D|0];x=0;while(1){f=x<<2;l=v+16|(L>>>(x<<1)&3)<<2;o[f+n|0]=r[l|0];o[(f|1)+n|0]=r[l+1|0];o[(f|2)+n|0]=r[l+2|0];o[(f|3)+n|0]=255;x=x+1|0;if((y|0)!=(x|0)){continue}break}n=n+S|0;e=e+1|0;if((z|0)!=(e|0)){continue}break}break z;case 24:case 25:if((h|0)!=2){break i}x=(B|0)>4?4:B;br(v+16|0,e,r[e+4|0]);f=v;B:{if(!fa){e=w(r[v+17|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+18|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+16|0],31)+128|0;p[v+8>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+21|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+22|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+20|0],31)+128|0;p[v+10>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+25|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+26|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+24|0],31)+128|0;p[v+12>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+29|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+30|0],31)+128|0;n=l|(e>>>8|0)+e>>>8<<11;e=m;break B}e=w(r[v+17|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+16|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+18|0],31)+128|0;p[v+8>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+21|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+20|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+22|0],31)+128|0;p[v+10>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+25|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+24|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+26|0],31)+128|0;p[v+12>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+29|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+28|0],31)+128|0;n=l|(e>>>8|0)+e>>>8<<11;e=P}e=w(r[e|0],31)+128|0;p[f+14>>1]=(e>>>8|0)+e>>>8|n;if(!x){break z}e=k<<2;f=A-e|0;z=(f|0)>4?4:f;if(!z){break z}l=(e+I<<1)+b|0;f=0;while(1){e=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((e>>>y&3)<<1)>>1];n=n+1|0;if((z|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((x|0)!=(f|0)){continue}break}break z;case 26:if((h|0)!=2){break h}br(v+16|0,e,r[e+4|0]);e=w(r[v+17|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+16|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+18|0],15)+128|0;p[v+8>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+21|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+20|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+22|0],15)+128|0;p[v+10>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+25|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+24|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+26|0],15)+128|0;p[v+12>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+29|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+28|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+30|0],15)+128|0;p[v+14>>1]=f|(e>>>8|0)+e>>>8<<4;l=(B|0)>4?4:B;if(!l){break z}e=k<<2;f=A-e|0;x=(f|0)>4?4:f;if(!x){break z}f=(e+I<<1)+b|0;e=0;while(1){z=r[e+D|0];n=0;while(1){y=n<<1;L=y+f|0;p[L>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1]|s[L>>1]&15;n=n+1|0;if((x|0)!=(n|0)){continue}break}f=f+T|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}break z;case 28:if((h|0)!=2){break g}br(v+16|0,e,r[e+4|0]);e=w(r[v+16|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+17|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+18|0],15)+128|0;p[v+8>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+20|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+21|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+22|0],15)+128|0;p[v+10>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+24|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+25|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+26|0],15)+128|0;p[v+12>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+28|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+29|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+30|0],15)+128|0;p[v+14>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=(B|0)>4?4:B;if(!e){break z}f=k<<2;l=A-f|0;x=(l|0)>4?4:l;if(!x){break z}l=(f+I<<1)+b|0;f=0;while(1){z=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1];n=n+1|0;if((x|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break z;case 27:if((h|0)!=2){break f}br(v+16|0,e,r[e+4|0]);e=w(r[v+17|0],15)+128|0;p[v+8>>1]=(e>>>8|0)+e>>>8;e=w(r[v+21|0],15)+128|0;p[v+10>>1]=(e>>>8|0)+e>>>8;e=w(r[v+25|0],15)+128|0;p[v+12>>1]=(e>>>8|0)+e>>>8;e=w(r[v+29|0],15)+128|0;p[v+14>>1]=(e>>>8|0)+e>>>8;e=(B|0)>4?4:B;if(!e){break z}f=k<<2;l=A-f|0;x=(l|0)>4?4:l;if(!x){break z}l=(f+I<<1)+b|0;f=0;while(1){z=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1];n=n+1|0;if((x|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break z;case 18:J(85745,85651,8735,85697);G();default:J(85745,85651,8741,85697);G();case 16:case 17:break z;case 0:break A}}vta(v+32|0,wta(r[e|0],r[e+1|0],r[e+2|0]));WL(v+32|0,0,r[e+4|0]);WL(v+32|0,1,r[e+4|0]);e=w(k+Y|0,h)+b|0;q[e>>2]=q[v+32>>2];f=r[D+4|0];l=r[D+5|0];n=r[D+6|0];o[e+7|0]=r[D+7|0];o[e+6|0]=n;o[e+5|0]=l;o[e+4|0]=f}u=u>>>2|0;k=k+1|0;if((k|0)!=(c|0)){continue}break}}E=E+1|0;if((E|0)!=(d|0)){continue}break}x=0;if(O){break c}}x=1;break d}J(85626,85651,7960,85697);G()}J(85713,85651,8209,85697);G()}J(85747,85651,8484,85697);G()}J(85747,85651,8524,85697);G()}J(85747,85651,8553,85697);G()}J(85805,85651,8584,85697);G()}J(85805,85651,8627,85697);G()}J(85805,85651,8667,85697);G()}J(85805,85651,8698,85697);G()}x=0}if(!V){break c}ki(V)}Rp(K)}l=x}fi=v+80|0;return l}function _E(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),v=0,z=x(0),C=0,E=x(0),F=x(0),H=x(0),I=0,K=0,L=0,M=x(0),N=0,O=0,P=0,Q=0,R=0,S=0,T=0;g=fi-112|0;fi=g;a:{if(o[960052]&1){break a}if(!ui(960052)){break a}if(r[852367]){c=Ri(201592)}else{c=-1}q[240012]=c;ti(960052)}b:{if(o[960060]&1){break b}if(!ui(960060)){break b}if(r[852367]){c=Yi(201598,6)}else{c=0}q[240014]=c;ti(960060)}c=q[240012];c:{if((c|0)!=-1){Qi(g+48|0,c,201598,q[240014]);break c}q[g+48>>2]=0}d:{e:{if(!q[a+8>>2]){break e}c=s[a+42>>1];f:{d=r[a+33947|0];if(d){o[a+33947|0]=0;if(c){break f}R=-14;break e}if(d){break e}if(c){break f}R=-14;break e}if(!r[a+33946|0]){ji[q[q[a+4>>2]+24>>2]](q[a+8>>2]);o[a+33946|0]=1}O=q[q[239986]+16>>2];if(O){tj(O)}P=ji[q[q[a+4>>2]+16>>2]](q[a+8>>2])|0;if(P){d=q[239986];while(1){c=d+w(b,1056)|0;if(q[c+132>>2]){K=q[c+128>>2];q[c+120>>2]=q[c+124>>2];q[c+124>>2]=K}b=b+1|0;if((b|0)!=32){continue}break}K=q[d+24>>2];c=q[d+20>>2];b=K-c|0;if(b){d=c-K|0;d=((b|0)<(d|0)?d:b)>>>6|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;while(1){b=c+(l<<6)|0;if(!(q[b+44>>2]?0:!(r[b+60|0]&4))){K=q[b+24>>2];q[b+16>>2]=q[b+20>>2];q[b+20>>2]=K;i=u[b+32>>2];u[b+32>>2]=u[b+36>>2];u[b+28>>2]=i}l=l+1|0;if((d|0)!=(l|0)){continue}break}}K=P;while(1){q[g+44>>2]=P;q[g+40>>2]=S;g:{if(o[960068]&1){break g}if(!ui(960068)){break g}if(r[852367]){b=Ri(201592)}else{b=-1}q[240016]=b;ti(960068)}h:{if(o[960076]&1){break h}if(!ui(960076)){break h}if(r[852367]){b=Yi(201605,12)}else{b=0}q[240018]=b;ti(960076)}b=q[240016];i:{if((b|0)!=-1){Qi(g- -64|0,b,201605,q[240018]);break i}q[g+64>>2]=0}C=q[239986];e=0;while(1){c=C+w(e,1056)|0;d=q[c+132>>2];if(d){h=q[C+33912>>2];j:{if(!h){n=x(0);i=x(0);M=x(0);F=x(0);break j}z=u[c+124>>2];b=0;F=x(0);M=x(0);i=x(0);n=x(0);while(1){f=b<<3;H=x(z*u[f+d>>2]);H=x(H*H);i=i>H?i:H;E=x(z*u[d+(f|4)>>2]);E=x(E*E);n=n>E?n:E;F=x(F+H);M=x(M+E);b=b+1|0;if((h|0)!=(b|0)){continue}break}}f=c+136|0;m=c+1160|0;j=q[m>>2];b=j<<3;u[f+b>>2]=F;k=f;f=b|4;u[k+f>>2]=M;k=b;b=c+648|0;u[k+b>>2]=i;u[b+f>>2]=n;q[m>>2]=j+1&63;qi(d,0,h<<3)}e=e+1|0;if((e|0)!=32){continue}break}k:{d=q[C+24>>2];b=q[C+20>>2];c=d-b|0;if(!c){break k}l:{m:{n:{if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>6|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);T=c>>>0>1?c:1;l=0;while(1){b=(l<<6)+b|0;k=b;e=r[b+60|0];if(!(q[b+44>>2]?0:!(e&4))){d=q[239986];q[g+92>>2]=0;C$(q[b>>2],g+80|0);o:{p:{q:{r:{v=r[g+89|0];switch(v-8|0){case 0:case 8:break r;default:break q}}L=r[g+88|0];if((L-1&255)>>>0<2){break p}}c=q[d+48>>2];e=(q[d+52>>2]-c|0)/24|0;d=s[b+58>>1];if(e>>>0<=d>>>0){break d}c=c+w(d,24)|0;q[g>>2]=Ei(q[c>>2],q[c+4>>2]);q[g+4>>2]=r[g+89|0];q[g+8>>2]=r[g+88|0];mi(4,201088,201618,g);o[k+60|0]=r[k+60|0]&251;break o}c=q[g+80>>2];h=q[d+33908>>2];if(c>>>0>h>>>0){f=s[b+58>>1];e=q[d+52>>2];d=q[d+48>>2];if(f>>>0>=(e-d|0)/24>>>0){break d}d=d+w(f,24)|0;q[g+24>>2]=Ei(q[d>>2],q[d+4>>2]);q[g+20>>2]=h;q[g+16>>2]=c;mi(4,201088,201693,g+16|0);o[k+60|0]=r[k+60|0]&251;break o}m=1;i=u[b+40>>2];s:{if(!(q[b+24>>2]|(q[b+16>>2]|q[b+20>>2]))|i==x(0)){break s}h=q[239986];c=q[h+80>>2];t:{if(!c){break t}j=q[h+76>>2];I=q[b+8>>2];N=q[b+12>>2];e=q[j+(lwa(I,N,c)<<2)>>2];u:{if((e|0)==-1){break u}Q=q[h+84>>2];while(1){f=Q+(e<<4)|0;if(q[f>>2]!=(I|0)|q[f+4>>2]!=(N|0)){e=q[f+12>>2];if((e|0)!=-1){continue}break u}break}f=h+w(q[f+8>>2],1056)|0;if(!(q[f+124>>2]|q[f+120>>2]|q[f+128>>2])){break s}}f=q[239984];I=q[239985];e=q[j+(lwa(f,I,c)<<2)>>2];if((e|0)==-1){break t}j=q[h+84>>2];while(1){c=j+(e<<4)|0;if(q[c>>2]!=(f|0)|q[c+4>>2]!=(I|0)){e=q[c+12>>2];if((e|0)!=-1){continue}break t}break}c=h+w(q[c+8>>2],1056)|0;if(!(q[c+124>>2]|q[c+120>>2]|q[c+128>>2])){break s}}m=0}v:{f=!(r[k+60|0]&4);e=q[b+44>>2];h=e;i=x(D(x(x(B(i,x(1)))*x(t[d+33912>>2]))));w:{if(i=x(0)){c=~~i>>>0;break w}c=0}if(f|h>>>0>=c>>>0){break v}f=c-e|0;h=w(L,v>>>3|0);j=q[b>>2];v=q[d>>2];x:{if(!m){f=YE(j,q[b+4>>2]+w(e,h)|0,w(f,h),g+92|0);break x}e=j;j=w(f,h);f=XE(v,e,j,g+92|0);qi(q[b+4>>2]+w(h,q[b+44>>2])|0,0,j)}e=q[g+92>>2];j=(e>>>0)/(h>>>0)|0;if(e-w(h,j)|0){break n}e=j+q[b+44>>2]|0;q[b+44>>2]=e;y:{if(c>>>0<=e>>>0){break y}j=r[k+60|0];if(!(!(j&1)|!r[b+61|0])){xq(q[b>>2]);f=o[b+61|0];if((f|0)>=1){o[b+61|0]=f-1}j=q[b+44>>2];c=c-j|0;f=q[b>>2];e=q[d>>2];z:{if(!m){f=YE(f,q[b+4>>2]+w(h,j)|0,w(c,h),g+92|0);break z}c=w(c,h);f=XE(e,f,c,g+92|0);qi(q[b+4>>2]+w(h,q[b+44>>2])|0,0,c)}m=q[g+92>>2];c=(m>>>0)/(h>>>0)|0;if(m-w(c,h)|0){break m}e=c+q[b+44>>2]|0;q[b+44>>2]=e;break y}if(!(u[b+40>>2]>x(e>>>0)^1)){q[b+44>>2]=0;e=0}o[k+60|0]=j|2}if(!f){break v}c=q[d+48>>2];e=(q[d+52>>2]-c|0)/24|0;d=s[b+58>>1];if(e>>>0<=d>>>0){break d}c=c+w(d,24)|0;c=Ei(q[c>>2],q[c+4>>2]);q[g+36>>2]=f;q[g+32>>2]=c;mi(3,201088,201803,g+32|0);o[k+60|0]=r[k+60|0]&251;break o}if(e){A:{if(o[960084]&1){break A}if(!ui(960084)){break A}if(r[852367]){c=Ri(201592)}else{c=-1}q[240020]=c;ti(960084)}B:{if(o[960092]&1){break B}if(!ui(960092)){break B}if(r[852367]){c=Yi(201841,3)}else{c=0}q[240022]=c;ti(960092)}c=q[240020];C:{if((c|0)!=-1){Qi(g+96|0,c,201841,q[240022]);break C}q[g+96>>2]=0}c=q[b+44>>2];d=c>>>1|0;i=x(+(c<<31>>>0)+ +(d>>>0)*4294967296);n=u[b+40>>2];c=q[g+80>>2];h=c>>>1|0;v=q[239986];d=q[v+33908>>2];i=x(i/x(n*x(+(kwa(c<<31,h,d)>>>0)+0)));D:{if(i=x(0)){h=~~i>>>0;break D}h=0}E:{F:{f=q[v+80>>2];G:{if(!f){break G}m=q[b+8>>2];j=q[b+12>>2];e=q[q[v+76>>2]+(lwa(m,j,f)<<2)>>2];if((e|0)==-1){break G}f=q[v+33912>>2];h=f>>>0>h>>>0?h:f;f=q[v+84>>2];while(1){L=f+(e<<4)|0;e=L;if((m|0)==q[e>>2]&(j|0)==q[e+4>>2]){break F}e=q[L+12>>2];if((e|0)!=-1){continue}break}}mi(4,201088,201845,0);break E}if(c>>>0>d>>>0){break l}e=0;I=r[g+88|0];N=r[g+89|0];Q=g+40|0;f=b;j=c;m=d;v=q[(v+w(q[L+8>>2],1056)|0)+132>>2];H:{if(!((c|0)!=(d|0)|n!=x(1))){while(1){c=w(e,12);if((N|0)!=q[(c+96e4|0)+4>>2]|(I|0)!=q[c+96e4>>2]){e=e+1|0;continue}else{c=c+960008|0;break H}}}while(1){c=w(e,12);if(!((I|0)==q[c+959952>>2]?(N|0)==q[(c+959952|0)+4>>2]:0)){e=e+1|0;continue}break}c=c+959960|0}ji[q[c>>2]](Q,f,j,m,v,h)}if(q[g+96>>2]){Pi(g+96|0)}if(t[b+44>>2]>1){break o}}if(!(r[k+60|0]&2)){break o}q[b+44>>2]=0}e=r[k+60|0]}if(!(q[b+44>>2]|!(e&2))){o[k+60|0]=e&251}l=l+1|0;if((T|0)==(l|0)){break k}b=q[C+20>>2];if(q[C+24>>2]-b>>6>>>0>l>>>0){continue}break}}break d}J(201769,201413,1176,201791);G()}J(201769,201413,1202,201791);G()}J(201867,201413,1053,201884);G()}if(q[g+64>>2]){Pi(g- -64|0)}I:{if(o[960100]&1){break I}if(!ui(960100)){break I}if(r[852367]){b=Ri(201592)}else{b=-1}q[240024]=b;ti(960100)}J:{if(o[960108]&1){break J}if(!ui(960108)){break J}if(r[852367]){b=Yi(201896,6)}else{b=0}q[240026]=b;ti(960108)}b=q[240024];K:{if((b|0)!=-1){Qi(g+96|0,b,201896,q[240026]);break K}q[g+96>>2]=0}c=q[239986];m=q[((s[c+33944>>1]<<2)+c|0)+33920>>2];h=q[c+33912>>2];b=q[c+84>>2];j=q[239984];e=q[239985];l=q[q[c+76>>2]+(lwa(j,e,q[c+80>>2])<<2)>>2];d=b+(l<<4)|0;if(q[d>>2]!=(j|0)|(e|0)!=q[d+4>>2]){while(1){l=q[(b+(l<<4)|0)+12>>2];d=b+(l<<4)|0;if((j|0)!=q[d>>2]|(e|0)!=q[d+4>>2]){continue}break}}d=c+w(q[(b+(l<<4)|0)+8>>2],1056)|0;v=d;i=u[d+124>>2];n=u[d+120>>2];L:{if(q[d+128>>2]|(q[d+124>>2]|q[d+120>>2])){f=q[d+132>>2];M=x(x(1)/x(h>>>0));if(h){n=x(t[g+40>>2]);F=x(t[g+44>>2]);k=0;while(1){b=c+w(k,1056)|0;l=q[b+132>>2];M:{if(!l|(j|0)==q[b+112>>2]&(e|0)==q[b+116>>2]){break M}z=u[b+124>>2];i=u[b+120>>2];if(!(q[b+128>>2]|(q[b+124>>2]|q[b+120>>2]))){break M}z=x(x(z-i)/F);i=x(x(z*n)+i);z=x(x(z+i)-i);b=0;while(1){C=b<<3;L=C|4;H=u[L+l>>2];I=f+C|0;E=x(i+x(z*x(M*x(b|0))));E=E>2]=u[I>>2]+x(u[l+C>>2]*E);C=f+L|0;u[C>>2]=u[C>>2]+x(H*E);b=b+1|0;if((h|0)!=(b|0)){continue}break}}k=k+1|0;if((k|0)!=32){continue}break}i=u[v+124>>2];n=u[d+120>>2]}if(!h){break L}i=x(x(i-n)/x(t[g+44>>2]));z=i;i=x(n+x(i*x(t[g+40>>2])));n=x(x(z+i)-i);b=0;while(1){d=b<<1|1;F=u[f+(d<<2)>>2];e=m+(b<<2)|0;z=x(i+x(n*x(M*x(b|0))));H=x(B(x(A(x(u[f+(b<<3)>>2]*z),x(32767))),x(-32768)));N:{if(x(y(H))>1]=c;d=m+(d<<1)|0;F=x(B(x(A(x(F*z),x(32767))),x(-32768)));O:{if(x(y(F))>1]=c;b=b+1|0;if((h|0)!=(b|0)){continue}break}break L}qi(m,0,h<<2)}if(q[g+96>>2]){Pi(g+96|0)}ji[q[q[a+4>>2]+12>>2]](q[a+8>>2],q[((s[a+33944>>1]<<2)+a|0)+33920>>2],q[a+33912>>2])|0;p[a+33944>>1]=(s[a+33944>>1]+1>>>0)%6;S=S+1|0;K=K-1|0;if(K){continue}break}}if(!O){break e}lj(O)}if(q[g+48>>2]){Pi(g+48|0)}fi=g+112|0;return R}J(202193,201978,447,202204);G()}function kra(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,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=fi-8976|0;fi=h;z=d+e|0;F=0-z|0;a:{b:{while(1){c:{if((c|0)!=48){if((c|0)!=46){break a}c=q[b+4>>2];if(c>>>0>=t[b+104>>2]){break c}q[b+4>>2]=c+1;c=r[c|0];break b}c=q[b+4>>2];if(c>>>0>2]){j=1;q[b+4>>2]=c+1;c=r[c|0]}else{j=1;c=kk(b)}continue}break}c=kk(b)}k=1;if((c|0)!=48){break a}while(1){n=l;l=l-1|0;m=m-(n>>>0<1)|0;c=q[b+4>>2];d:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break d}c=kk(b)}if((c|0)==48){continue}break}j=1}q[h+784>>2]=0;e:{f:{p=(c|0)==46;n=c-48|0;g:{h:{i:{j:{if(p|n>>>0<=9){while(1){k:{if(p&1){if(!k){l=o;m=i;k=1;break k}j=!j;break j}o=o+1|0;i=o>>>0<1?i+1|0:i;if((u|0)<=2044){y=(c|0)==48?y:o;j=(h+784|0)+(u<<2)|0;p=j;if(s){n=(w(q[j>>2],10)+c|0)-48|0}q[p>>2]=n;j=1;n=s+1|0;c=(n|0)==9;s=c?0:n;u=c+u|0;break k}if((c|0)==48){break k}q[h+8960>>2]=q[h+8960>>2]|1;y=18396}c=q[b+4>>2];l:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break l}c=kk(b)}p=(c|0)==46;n=c-48|0;if(p|n>>>0<10){continue}break}}l=k?l:o;m=k?m:i;if(!(!j|(c&-33)!=69)){k=xC(b,g);c=ii;p=c;m:{if(k|(c|0)!=-2147483648){break m}if(!g){break g}k=0;p=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}if(!j){break h}m=m+p|0;b=k+l|0;m=b>>>0>>0?m+1|0:m;l=b;break f}j=!j;if((c|0)<0){break i}}if(!q[b+104>>2]){break i}q[b+4>>2]=q[b+4>>2]-1}if(!j){break f}}q[240833]=28}o=0;i=0;fn(b,0,0);c=0;b=0;break e}b=q[h+784>>2];if(!b){Zn(h,+(f|0)*0);o=q[h>>2];i=q[h+4>>2];c=q[h+12>>2];b=q[h+8>>2];break e}if(!((l|0)!=(o|0)|(i|0)!=(m|0)|((i|0)>0?1:(i|0)>=0?o>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){Hm(h+48|0,f);hr(h+32|0,b);tk(h+16|0,q[h+48>>2],q[h+52>>2],q[h+56>>2],q[h+60>>2],q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2]);o=q[h+16>>2];i=q[h+20>>2];c=q[h+28>>2];b=q[h+24>>2];break e}if((m|0)>0?1:(m|0)>=0?l>>>0>(e|0)/-2>>>0:0){q[240833]=68;Hm(h+96|0,f);tk(h+80|0,q[h+96>>2],q[h+100>>2],q[h+104>>2],q[h+108>>2],-1,-1,-1,2147418111);tk(h- -64|0,q[h+80>>2],q[h+84>>2],q[h+88>>2],q[h+92>>2],-1,-1,-1,2147418111);o=q[h+64>>2];i=q[h+68>>2];c=q[h+76>>2];b=q[h+72>>2];break e}b=e-226|0;c=l>>>0>>0;b=b>>31;if((b|0)>(m|0)?1:(m|0)<=(b|0)?c:0){q[240833]=68;Hm(h+144|0,f);tk(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,65536);tk(h+112|0,q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2],0,0,0,65536);o=q[h+112>>2];i=q[h+116>>2];c=q[h+124>>2];b=q[h+120>>2];break e}if(s){if((s|0)<=8){c=(h+784|0)+(u<<2)|0;b=q[c>>2];while(1){b=w(b,10);s=s+1|0;if((s|0)!=9){continue}break}q[c>>2]=b}u=u+1|0}n:{k=l;if((y|0)>(k|0)|(y|0)>=9|(k|0)>17){break n}if((k|0)==9){Hm(h+192|0,f);hr(h+176|0,q[h+784>>2]);tk(h+160|0,q[h+192>>2],q[h+196>>2],q[h+200>>2],q[h+204>>2],q[h+176>>2],q[h+180>>2],q[h+184>>2],q[h+188>>2]);o=q[h+160>>2];i=q[h+164>>2];c=q[h+172>>2];b=q[h+168>>2];break e}if((k|0)<=8){Hm(h+272|0,f);hr(h+256|0,q[h+784>>2]);tk(h+240|0,q[h+272>>2],q[h+276>>2],q[h+280>>2],q[h+284>>2],q[h+256>>2],q[h+260>>2],q[h+264>>2],q[h+268>>2]);Hm(h+224|0,q[(0-k<<2)+211728>>2]);vM(h+208|0,q[h+240>>2],q[h+244>>2],q[h+248>>2],q[h+252>>2],q[h+224>>2],q[h+228>>2],q[h+232>>2],q[h+236>>2]);o=q[h+208>>2];i=q[h+212>>2];c=q[h+220>>2];b=q[h+216>>2];break e}b=(w(k,-3)+d|0)+27|0;c=q[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}Hm(h+352|0,f);hr(h+336|0,c);tk(h+320|0,q[h+352>>2],q[h+356>>2],q[h+360>>2],q[h+364>>2],q[h+336>>2],q[h+340>>2],q[h+344>>2],q[h+348>>2]);Hm(h+304|0,q[(k<<2)+211656>>2]);tk(h+288|0,q[h+320>>2],q[h+324>>2],q[h+328>>2],q[h+332>>2],q[h+304>>2],q[h+308>>2],q[h+312>>2],q[h+316>>2]);o=q[h+288>>2];i=q[h+292>>2];c=q[h+300>>2];b=q[h+296>>2];break e}while(1){c=u;u=c-1|0;if(!q[(h+784|0)+(u<<2)>>2]){continue}break}s=0;b=(k|0)%9|0;o:{if(!b){j=0;break o}g=(k|0)>-1?b:b+9|0;p:{if(!c){j=0;c=0;break p}l=q[(0-g<<2)+211728>>2];m=1e9/(l|0)|0;p=0;b=0;j=0;while(1){n=p;i=(h+784|0)+(b<<2)|0;o=q[i>>2];p=(o>>>0)/(l>>>0)|0;n=n+p|0;q[i>>2]=n;n=!n&(b|0)==(j|0);j=n?j+1&2047:j;k=n?k-9|0:k;p=w(m,o-w(l,p)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!p){break p}q[(h+784|0)+(c<<2)>>2]=p;c=c+1|0}k=(k-g|0)+9|0}while(1){o=(h+784|0)+(j<<2)|0;q:{while(1){if((k|0)!=36|t[o>>2]>=10384593?(k|0)>=36:0){break q}u=c+2047|0;p=0;n=c;while(1){c=n;i=u&2047;n=(h+784|0)+(i<<2)|0;b=q[n>>2];m=b>>>3|0;g=b<<29;b=g+p|0;m=b>>>0>>0?m+1|0:m;l=b;g=0;r:{if(!m&b>>>0<1000000001){break r}g=kwa(b,m,1e9);l=l-jwa(g,ii,1e9,0)|0}p=g;q[n>>2]=l;n=(i|0)!=(c-1&2047)?c:(i|0)==(j|0)?c:l?c:i;u=i-1|0;if((i|0)!=(j|0)){continue}break}s=s-29|0;if(!p){continue}break}j=j-1&2047;if((n|0)==(j|0)){b=(h+784|0)+((n+2046&2047)<<2)|0;c=n-1&2047;q[b>>2]=q[b>>2]|q[(h+784|0)+(c<<2)>>2]}k=k+9|0;q[(h+784|0)+(j<<2)>>2]=p;continue}break}s:{t:while(1){g=c+1&2047;m=(h+784|0)+((c-1&2047)<<2)|0;while(1){l=(k|0)>45?9:1;u:{while(1){n=j;b=0;v:{while(1){w:{j=b+n&2047;if((j|0)==(c|0)){break w}j=q[(h+784|0)+(j<<2)>>2];i=q[(b<<2)+211680>>2];if(j>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((k|0)!=36){break v}l=0;m=0;b=0;o=0;i=0;while(1){g=b+n&2047;if((g|0)==(c|0)){c=c+1&2047;q[((c<<2)+h|0)+780>>2]=0}tk(h+768|0,l,m,o,i,0,0,1342177280,1075633366);hr(h+752|0,q[(h+784|0)+(g<<2)>>2]);zm(h+736|0,q[h+768>>2],q[h+772>>2],q[h+776>>2],q[h+780>>2],q[h+752>>2],q[h+756>>2],q[h+760>>2],q[h+764>>2]);o=q[h+744>>2];i=q[h+748>>2];l=q[h+736>>2];m=q[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}Hm(h+720|0,f);tk(h+704|0,l,m,o,i,q[h+720>>2],q[h+724>>2],q[h+728>>2],q[h+732>>2]);o=q[h+712>>2];i=q[h+716>>2];l=0;m=0;k=q[h+704>>2];p=q[h+708>>2];j=s+113|0;e=j-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}s=l+s|0;j=c;if((c|0)==(n|0)){continue}break}i=1e9>>>l|0;o=-1<>2];b=(u>>>l|0)+b|0;q[p>>2]=b;b=!b&(j|0)==(n|0);j=b?j+1&2047:j;k=b?k-9|0:k;b=w(i,o&u);n=n+1&2047;if((n|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(j|0)){q[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}q[m>>2]=q[m>>2]|1;j=g;continue}break}break}Zn(h+656|0,Cn(1,225-d|0));vL(h+688|0,q[h+656>>2],q[h+660>>2],q[h+664>>2],q[h+668>>2],k,p,o,i);A=q[h+696>>2];B=q[h+700>>2];C=q[h+688>>2];D=q[h+692>>2];Zn(h+640|0,Cn(1,113-d|0));GE(h+672|0,k,p,o,i,q[h+640>>2],q[h+644>>2],q[h+648>>2],q[h+652>>2]);l=q[h+672>>2];m=q[h+676>>2];v=q[h+680>>2];x=q[h+684>>2];bB(h+624|0,k,p,o,i,l,m,v,x);zm(h+608|0,C,D,A,B,q[h+624>>2],q[h+628>>2],q[h+632>>2],q[h+636>>2]);o=q[h+616>>2];i=q[h+620>>2];k=q[h+608>>2];p=q[h+612>>2]}b=n+4&2047;x:{if((b|0)==(c|0)){break x}b=q[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((n+5&2047)==(c|0)?!b:0){break y}Zn(h+496|0,+(f|0)*.25);zm(h+480|0,l,m,v,x,q[h+496>>2],q[h+500>>2],q[h+504>>2],q[h+508>>2]);v=q[h+488>>2];x=q[h+492>>2];l=q[h+480>>2];m=q[h+484>>2];break y}if((b|0)!=5e8){Zn(h+592|0,+(f|0)*.75);zm(h+576|0,l,m,v,x,q[h+592>>2],q[h+596>>2],q[h+600>>2],q[h+604>>2]);v=q[h+584>>2];x=q[h+588>>2];l=q[h+576>>2];m=q[h+580>>2];break y}E=+(f|0);if((n+5&2047)==(c|0)){Zn(h+528|0,E*.5);zm(h+512|0,l,m,v,x,q[h+528>>2],q[h+532>>2],q[h+536>>2],q[h+540>>2]);v=q[h+520>>2];x=q[h+524>>2];l=q[h+512>>2];m=q[h+516>>2];break y}Zn(h+560|0,E*.75);zm(h+544|0,l,m,v,x,q[h+560>>2],q[h+564>>2],q[h+568>>2],q[h+572>>2]);v=q[h+552>>2];x=q[h+556>>2];l=q[h+544>>2];m=q[h+548>>2]}if((d|0)>111){break x}GE(h+464|0,l,m,v,x,0,0,0,1073676288);if(Wp(q[h+464>>2],q[h+468>>2],q[h+472>>2],q[h+476>>2],0,0,0,0)){break x}zm(h+448|0,l,m,v,x,0,0,0,1073676288);v=q[h+456>>2];x=q[h+460>>2];l=q[h+448>>2];m=q[h+452>>2]}zm(h+432|0,k,p,o,i,l,m,v,x);bB(h+416|0,q[h+432>>2],q[h+436>>2],q[h+440>>2],q[h+444>>2],C,D,A,B);o=q[h+424>>2];i=q[h+428>>2];k=q[h+416>>2];p=q[h+420>>2];z:{if((-2-z|0)>=(j&2147483647)){break z}q[h+408>>2]=o;q[h+412>>2]=i&2147483647;q[h+400>>2]=k;q[h+404>>2]=p;tk(h+384|0,k,p,o,i,0,0,0,1073610752);c=oM(q[h+400>>2],q[h+404>>2],q[h+408>>2],q[h+412>>2],1081081856);b=(c|0)<0;o=b?o:q[h+392>>2];i=b?i:q[h+396>>2];k=b?k:q[h+384>>2];p=b?p:q[h+388>>2];s=((c|0)>-1)+s|0;if(G=!(g&(b|(d|0)!=(e|0))&(Wp(l,m,v,x,0,0,0,0)|0)!=0),H=0,I=(s+110|0)<=(F|0),I?G:H){break z}q[240833]=68}yC(h+368|0,k,p,o,i,s);o=q[h+368>>2];i=q[h+372>>2];c=q[h+380>>2];b=q[h+376>>2]}q[a>>2]=o;q[a+4>>2]=i;q[a+8>>2]=b;q[a+12>>2]=c;fi=h+8976|0}function gca(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;g=fi-16|0;fi=g;a:{if(o[300148]&1){break a}if(!ui(300148)){break a}if(r[852367]){c=Ri(80454)}else{c=-1}q[75036]=c;ti(300148)}b:{if(o[300156]&1){break b}if(!ui(300156)){break b}if(r[852367]){c=Yi(83120,10)}else{c=0}q[75038]=c;ti(300156)}c=q[75036];c:{if((c|0)!=-1){Qi(g,c,83120,q[75038]);break c}q[g>>2]=0}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:{c=q[b>>2];switch(c-6|0){case 0:break D;case 1:break F;default:break E}}mi(4,79120,83191,0);break C}d=q[q[74995]+56>>2];if(d>>>0>1]){break B}if(d>>>0>1]){break A}h=1;G:{if((c|0)==3){break G}c=c-9|0;H:{if(c>>>0<=12){c=8141>>>c&1;break H}c=0}if(c){break G}d=s[b+30>>1];c=$da(q[b>>2])>>>3|0;c=w(d,c?c:1);if(!(c&3)){break G}Sa(3317,(c&1?1:2)|0);h=0;if(!(r[q[74995]+104|0]&8)){break G}c=K()|0;if(c){break z}}c=s[a+20>>1];d=s[b+28>>1]+1|0;p[a+20>>1]=c>>>0>(d&65535)>>>0?c:d;c=q[a>>2];i=c?(c|0)==1?34067:0:3553;sa(i|0,q[a+4>>2]);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break y}}c=q[b+4>>2];q[a+24>>2]=q[b>>2];q[a+28>>2]=c;q[a- -64>>2]=q[b+40>>2];c=q[b+36>>2];q[a+56>>2]=q[b+32>>2];q[a+60>>2]=c;c=q[b+28>>2];q[a+48>>2]=q[b+24>>2];q[a+52>>2]=c;c=q[b+20>>2];q[a+40>>2]=q[b+16>>2];q[a+44>>2]=c;c=q[b+12>>2];q[a+32>>2]=q[b+8>>2];q[a+36>>2]=c;I:{if(r[b+34|0]){break I}ji[q[74965]](a,q[b+4>>2],q[b+8>>2],q[b+12>>2],q[b+16>>2]);if(s[b+28>>1]){break I}p[a+12>>1]=s[b+30>>1];p[a+14>>1]=s[b+32>>1];q[a+8>>2]=q[b+24>>2]}c=35841;d=5121;f=6409;e=6409;J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{switch(q[b>>2]){case 4:d=33635;break W;case 5:d=32819;break T;case 10:c=35843;break K;case 11:c=35842;break K;case 12:c=36196;break K;case 13:c=37488;break K;case 14:c=37490;break K;case 15:c=37496;break K;case 16:c=37808;break K;case 17:c=33776;break K;case 18:c=33779;break K;case 19:c=36283;break K;case 20:c=36285;break K;case 21:c=36492;break K;case 22:d=5131;break W;case 8:break K;case 9:break L;case 0:break M;case 1:break N;case 29:break P;case 27:break Q;case 28:break R;case 26:break S;case 3:break T;case 25:break U;case 24:break V;case 2:break W;case 23:break X;default:break O}}d=5126}f=6407;e=6407;break M}d=5131;break T}d=5126}f=6408;e=6408;break M}e=6403;d=5131;f=33325;break M}e=6403;d=5126;f=33326;break M}e=33319;d=5131;f=33327;break M}e=33319;d=5126;f=33328;break M}J(79249,79164,2523,83299);G()}f=6410;e=6410}Y:{switch(q[a>>2]){case 0:a=s[b+28>>1];Z:{if(r[b+34|0]){U(3553,a|0,q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,q[b+20>>2]);break Z}V(3553,a|0,f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,q[b+20>>2])}if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2549);J(79249,79164,2549,83299);G();case 1:c=s[b+28>>1];a=q[b+20>>2];if(r[b+34|0]){U(34069,c|0,q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break x}}U(34070,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a+q[b+24>>2]|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break w}}U(34071,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a+(q[b+24>>2]<<1)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break v}}U(34072,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a+w(q[b+24>>2],3)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break u}}U(34074,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a+(q[b+24>>2]<<2)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break t}}U(34073,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],e|0,d|0,a+w(q[b+24>>2],5)|0);if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2564);J(79249,79164,2564,83299);G()}V(34069,c|0,f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break s}}V(34070,s[b+28>>1],f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a+q[b+24>>2]|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break r}}V(34071,s[b+28>>1],f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a+(q[b+24>>2]<<1)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break q}}V(34072,s[b+28>>1],f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a+w(q[b+24>>2],3)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break p}}V(34074,s[b+28>>1],f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a+(q[b+24>>2]<<2)|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break o}}V(34073,s[b+28>>1],f|0,s[b+30>>1],s[b+32>>1],0,e|0,d|0,a+w(q[b+24>>2],5)|0);if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2577);J(79249,79164,2577,83299);G();default:break Y}}J(79249,79164,2581,83299);G()}c=35840}d=q[b+24>>2];if(!d){break J}_:{switch(q[a>>2]){case 0:a=s[b+28>>1];$:{if(r[b+34|0]){W(3553,a|0,q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,q[b+20>>2]);break $}X(3553,a|0,c|0,s[b+30>>1],s[b+32>>1],0,d|0,q[b+20>>2])}if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2606);J(79249,79164,2606,83299);G();case 1:e=s[b+28>>1];a=q[b+20>>2];if(r[b+34|0]){W(34069,e|0,q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,a|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break n}}d=q[b+24>>2];W(34070,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,a+d|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break m}}d=q[b+24>>2];W(34071,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,a+(d<<1)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break l}}d=q[b+24>>2];W(34072,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,a+w(d,3)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break k}}d=q[b+24>>2];W(34074,s[b+28>>1],q[b+36>>2],q[b+40>>2],s[b+30>>1],s[b+32>>1],c|0,d|0,a+(d<<2)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break j}}d=s[b+28>>1];e=q[b+36>>2];f=q[b+40>>2];j=s[b+30>>1];k=s[b+32>>1];b=q[b+24>>2];W(34073,d|0,e|0,f|0,j|0,k|0,c|0,b|0,a+w(b,5)|0);if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2621);J(79249,79164,2621,83299);G()}X(34069,e|0,c|0,s[b+30>>1],s[b+32>>1],0,d|0,a|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break i}}d=q[b+24>>2];X(34070,s[b+28>>1],c|0,s[b+30>>1],s[b+32>>1],0,d|0,a+d|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break h}}d=q[b+24>>2];X(34071,s[b+28>>1],c|0,s[b+30>>1],s[b+32>>1],0,d|0,a+(d<<1)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break g}}d=q[b+24>>2];X(34072,s[b+28>>1],c|0,s[b+30>>1],s[b+32>>1],0,d|0,a+w(d,3)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break f}}d=q[b+24>>2];X(34074,s[b+28>>1],c|0,s[b+30>>1],s[b+32>>1],0,d|0,a+(d<<2)|0);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break e}}d=s[b+28>>1];e=s[b+30>>1];f=s[b+32>>1];b=q[b+24>>2];X(34073,d|0,c|0,e|0,f|0,0,b|0,a+w(b,5)|0);if(!(r[q[74995]+104|0]&8)){break J}a=K()|0;if(!a){break J}Mi(a,83299,2634);J(79249,79164,2634,83299);G();default:break _}}J(79249,79164,2637,83299);G()}sa(i|0,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break d}}if(h){break C}Sa(3317,4);if(!(r[q[74995]+104|0]&8)){break C}a=K()|0;if(!a){break C}Mi(a,83299,2653);J(79249,79164,2653,83299);G()}mi(4,79120,83131,0)}if(q[g>>2]){Pi(g)}fi=g+16|0;return}J(83253,79164,2388,83299);G()}J(83316,79164,2389,83299);G()}Mi(c,83299,2410);J(79249,79164,2410,83299);G()}Mi(c,83299,2416);J(79249,79164,2416,83299);G()}Mi(c,83299,2554);J(79249,79164,2554,83299);G()}Mi(c,83299,2556);J(79249,79164,2556,83299);G()}Mi(c,83299,2558);J(79249,79164,2558,83299);G()}Mi(c,83299,2560);J(79249,79164,2560,83299);G()}Mi(c,83299,2562);J(79249,79164,2562,83299);G()}Mi(c,83299,2567);J(79249,79164,2567,83299);G()}Mi(c,83299,2569);J(79249,79164,2569,83299);G()}Mi(c,83299,2571);J(79249,79164,2571,83299);G()}Mi(c,83299,2573);J(79249,79164,2573,83299);G()}Mi(c,83299,2575);J(79249,79164,2575,83299);G()}Mi(d,83299,2611);J(79249,79164,2611,83299);G()}Mi(d,83299,2613);J(79249,79164,2613,83299);G()}Mi(d,83299,2615);J(79249,79164,2615,83299);G()}Mi(d,83299,2617);J(79249,79164,2617,83299);G()}Mi(d,83299,2619);J(79249,79164,2619,83299);G()}Mi(d,83299,2624);J(79249,79164,2624,83299);G()}Mi(d,83299,2626);J(79249,79164,2626,83299);G()}Mi(d,83299,2628);J(79249,79164,2628,83299);G()}Mi(d,83299,2630);J(79249,79164,2630,83299);G()}Mi(d,83299,2632);J(79249,79164,2632,83299);G()}Mi(a,83299,2648);J(79249,79164,2648,83299);G()}function PA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,t=x(0),v=x(0),z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=x(0),M=x(0),N=0,O=0,P=0,Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=0,W=x(0);h=fi-48|0;fi=h;a:{b:{c:{d:{if(c&4){d=r[a+4|0];e=r[a+5|0];f=r[a+6|0];g=r[a+7|0];o[h+47|0]=r[(g>>>6|0)+95137|0];o[h+44|0]=r[(g&3)+95137|0];o[h+43|0]=r[(f>>>6|0)+95137|0];o[h+40|0]=r[(f&3)+95137|0];o[h+39|0]=r[(e>>>6|0)+95137|0];o[h+36|0]=r[(e&3)+95137|0];o[h+35|0]=r[(d>>>6|0)+95137|0];o[h+32|0]=r[(d&3)+95137|0];o[h+46|0]=r[(g>>>4&3)+95137|0];o[h+45|0]=r[(g>>>2&3)+95137|0];o[h+42|0]=r[(f>>>4&3)+95137|0];o[h+41|0]=r[(f>>>2&3)+95137|0];o[h+38|0]=r[(e>>>4&3)+95137|0];o[h+37|0]=r[(e>>>2&3)+95137|0];o[h+34|0]=r[(d>>>4&3)+95137|0];o[h+33|0]=r[(d>>>2&3)+95137|0];K=-1;break d}e=r[b+2|0];e:{d=r[b|0];i=r[b+4|0];f=r[b+1|0];if((d|0)!=(i|0)|(f|0)!=r[b+5|0]|(r[b+6|0]!=(e|0)|r[b+8|0]!=(d|0))){break e}if(r[b+9|0]!=(f|0)|r[b+10|0]!=(e|0)|(r[b+12|0]!=(d|0)|r[b+13|0]!=(f|0))){break e}if(r[b+14|0]!=(e|0)|r[b+16|0]!=(d|0)|(r[b+17|0]!=(f|0)|r[b+18|0]!=(e|0))){break e}if(r[b+20|0]!=(d|0)|r[b+21|0]!=(f|0)|(r[b+22|0]!=(e|0)|r[b+24|0]!=(d|0))){break e}if(r[b+25|0]!=(f|0)|r[b+26|0]!=(e|0)|(r[b+28|0]!=(d|0)|r[b+29|0]!=(f|0))){break e}if(r[b+30|0]!=(e|0)|r[b+32|0]!=(d|0)|(r[b+33|0]!=(f|0)|r[b+34|0]!=(e|0))){break e}if(r[b+36|0]!=(d|0)|r[b+37|0]!=(f|0)|(r[b+38|0]!=(e|0)|r[b+40|0]!=(d|0))){break e}if(r[b+41|0]!=(f|0)|r[b+42|0]!=(e|0)|(r[b+44|0]!=(d|0)|r[b+45|0]!=(f|0))){break e}if(r[b+46|0]!=(e|0)|r[b+48|0]!=(d|0)|(r[b+49|0]!=(f|0)|r[b+50|0]!=(e|0))){break e}if(r[b+52|0]!=(d|0)|r[b+53|0]!=(f|0)|(r[b+54|0]!=(e|0)|r[b+56|0]!=(d|0))){break e}if(r[b+57|0]!=(f|0)|r[b+58|0]!=(e|0)|(r[b+60|0]!=(d|0)|r[b+61|0]!=(f|0))){break e}if(r[b+62|0]!=(e|0)){break e}OA(a,d,f,e);break c}g=1;A=d;z=d;n=e;K=e;p=f;H=f;while(1){i=i&255;d=i+d|0;I=(g<<2)+b|0;l=r[I+2|0];K=l+K|0;I=r[I+1|0];H=I+H|0;z=(i|0)<(z|0)?z:i;p=(p|0)>(I|0)?p:I;n=(l|0)<(n|0)?n:l;A=(i|0)>(A|0)?A:i;f=(f|0)<(I|0)?f:I;e=(e|0)<(l|0)?e:l;g=g+1|0;if((g|0)!=16){i=r[(g<<2)+b|0];continue}break}I=K+8>>>4|0;H=H+8>>>4|0;K=d+8>>>4|0;d=0;i=0;g=0;l=0;while(1){m=(l<<2)+b|0;B=r[m+2|0]-I|0;C=r[m+1|0]-H|0;i=w(B,C)+i|0;m=r[m|0]-K|0;D=w(m,B)+D|0;E=w(m,C)+E|0;d=w(B,B)+d|0;g=w(C,C)+g|0;F=w(m,m)+F|0;l=l+1|0;if((l|0)!=16){continue}break}Q=x(x(F|0)*x(.003921568859368563));R=x(z-A|0);j=x(x(E|0)*x(.003921568859368563));t=x(p-f|0);v=x(x(D|0)*x(.003921568859368563));M=x(n-e|0);T=x(x(x(Q*R)+x(j*t))+x(v*M));U=x(x(g|0)*x(.003921568859368563));L=x(x(i|0)*x(.003921568859368563));S=x(x(x(j*R)+x(U*t))+x(L*M));t=x(x(v*R)+x(L*t));R=x(x(d|0)*x(.003921568859368563));t=x(t+x(R*M));M=x(x(x(T*Q)+x(S*j))+x(t*v));W=x(x(x(T*j)+x(S*U))+x(t*L));t=x(x(x(T*v)+x(S*L))+x(t*R));T=x(x(x(M*Q)+x(W*j))+x(t*v));S=x(T*Q);Q=x(x(x(M*j)+x(W*U))+x(t*L));t=x(x(x(M*v)+x(W*L))+x(t*R));M=x(x(S+x(Q*j))+x(t*v));S=x(y(M));U=x(x(x(T*j)+x(Q*U))+x(t*L));j=x(y(U));j=jL?j:L;f:{if(j>=x(2)^1){g=117;i=601;d=306;break f}j=x(x(1024)/j);v=x(v*j);g:{if(x(y(v))(f|0);k=f?e:k;e=(k|0)<(A|0);P=g+(g>>>8|0)>>>8|0;g=w(r[d+1|0],63)+128|0;d=w(r[d+2|0],31)+128|0;V=(d>>>8|0)+d>>>8|0;f=e?2:f;d=e?A:k;e=(d|0)<(z|0);f=e?3:f;d=e?z:d;e=(d|0)<(n|0);f=e?4:f;d=e?n:d;e=(d|0)<(p|0);f=e?5:f;d=e?p:d;e=(d|0)<(l|0);f=e?6:f;d=e?l:d;e=(d|0)<(B|0);f=e?7:f;d=e?B:d;e=(d|0)<(C|0);f=e?8:f;d=e?C:d;e=(d|0)<(m|0);f=e?9:f;d=e?m:d;e=(d|0)<(D|0);f=e?10:f;d=e?D:d;e=(d|0)<(E|0);f=e?11:f;d=e?E:d;e=(d|0)<(F|0);f=e?12:f;d=e?F:d;e=(d|0)<(N|0);f=e?13:f;d=e?N:d;e=(d|0)<(O|0);d=(((i|0)>((e?O:d)|0)?15:e?14:f)<<2)+b|0;e=w(r[d|0],31)+128|0;f=(e>>>8|0)+e>>>8|0;e=w(r[d+1|0],63)+128|0;d=w(r[d+2|0],31)+128|0;YL(b,P,(g>>>8|0)+g>>>8|0,V,f,(e>>>8|0)+e>>>8|0,(d>>>8|0)+d>>>8|0,h+32|0)}c=c&2?3:c&1?2:1;z=c>>>0>1?c:1;g=0;while(1){i:{if(!Dta(b,h+32|0,h+16|0,h)){if((K|0)<=-1){I=(r[b+62|0]+(r[b+58|0]+(r[b+54|0]+(r[b+50|0]+(r[b+46|0]+(r[b+42|0]+(r[b+38|0]+(r[b+34|0]+(r[b+30|0]+(r[b+26|0]+(r[b+22|0]+(r[b+18|0]+(r[b+14|0]+(r[b+10|0]+(r[b+2|0]+r[b+6|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0;H=(r[b+61|0]+(r[b+57|0]+(r[b+53|0]+(r[b+49|0]+(r[b+45|0]+(r[b+41|0]+(r[b+37|0]+(r[b+33|0]+(r[b+29|0]+(r[b+25|0]+(r[b+21|0]+(r[b+17|0]+(r[b+13|0]+(r[b+9|0]+(r[b+1|0]+r[b+5|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0;K=(r[b+60|0]+(r[b+56|0]+(r[b+52|0]+(r[b+48|0]+(r[b+44|0]+(r[b+40|0]+(r[b+36|0]+(r[b+32|0]+(r[b+28|0]+(r[b+24|0]+(r[b+20|0]+(r[b+16|0]+(r[b+12|0]+(r[b+8|0]+(r[b|0]+r[b+4|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0}c=(I<<1)+300256|0;i=r[c+1|0];d=(H<<1)+301280|0;A=r[d+1|0];n=(K<<1)+300256|0;l=r[n+1|0];f=r[c|0];e=r[d|0];d=r[n|0];break i}j=x(x(u[h+16>>2]*x(.12156862765550613))+x(.5));j:{if(x(y(j))31?31:c;j=x(x(u[h+20>>2]*x(.24705882370471954))+x(.5));k:{if(x(y(j))63?63:c;j=x(x(u[h+24>>2]*x(.12156862765550613))+x(.5));l:{if(x(y(j))31?31:c;j=x(x(u[h>>2]*x(.12156862765550613))+x(.5));m:{if(x(y(j))31?31:c;j=x(x(u[h+4>>2]*x(.24705882370471954))+x(.5));n:{if(x(y(j))63?63:c;j=x(x(u[h+8>>2]*x(.12156862765550613))+x(.5));o:{if(x(y(j))31?31:c}YL(b,d,e,f,l,A,i,h+32|0);g=g+1|0;if((z|0)!=(g|0)){continue}break}b=(d<<11|f|e<<5)&65535;q[h+16>>2]=b;g=(l<<11|i|A<<5)&65535;q[h>>2]=g;if((b|0)==(g|0)){p:{if(!b){g=0;b=1;i=85;break p}i=0;g=g-1|0;if(g>>>0>=b>>>0){break b}}o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=g;o[a+3|0]=g>>>8;b=w(i,16843009);o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;break c}i=0;if(b>>>0>>0){ol(h+16|0,h);i=85;g=q[h>>2];b=q[h+16>>2]}if(b>>>0<=g>>>0){break a}o[a|0]=b;o[a+1|0]=b>>>8;b=s[h>>1];o[a+2|0]=b;o[a+3|0]=b>>>8;b=r[h+47|0];c=r[h+46|0];d=r[h+45|0];e=r[h+44|0];f=r[h+43|0];g=r[h+42|0];K=r[h+41|0];A=r[h+40|0];H=r[h+39|0];z=r[h+38|0];n=r[h+37|0];p=r[h+36|0];l=r[r[h+32|0]+95141|0]|r[r[h+33|0]+95141|0]<<2|r[r[h+34|0]+95141|0]<<4|r[r[h+35|0]+95141|0]<<6;o[a+4|0]=l^i;H=l|r[p+95141|0]<<8|r[n+95141|0]<<10|r[z+95141|0]<<12|r[H+95141|0]<<14;o[a+5|0]=H>>>8^i;f=H|r[A+95141|0]<<16|r[K+95141|0]<<18|r[g+95141|0]<<20|r[f+95141|0]<<22;o[a+6|0]=f>>>16^i;o[a+7|0]=(f|r[e+95141|0]<<24|r[d+95141|0]<<26|r[c+95141|0]<<28|r[b+95141|0]<<30)>>>24^i}fi=h+48|0;return}J(95125,85651,15266,95114);G()}J(95125,85651,15284,95114);G()}function Sv(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,v=0,y=0,z=x(0),A=0,B=x(0),C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=x(0),R=0,S=0,T=0,U=0;k=fi-2384|0;fi=k;a:{b:{c:{d:{e=0;e:{if(!tN(a,c,k+8|0,d,k+4|0,k+12|0)){break e}S=q[d>>2];K=q[c>>2];M=q[k+4>>2];d=w(q[k+12>>2],6)+a|0;T=d;L=q[((r[d+428|0]<<2)+a|0)+120>>2];C=r[d+429|0];A=q[a+420>>2];g=q[a+4>>2];if((g|0)>=1){D=A+w(C,40)|0;P=D;while(1){d=r[(q[P+4>>2]+w(n,3)|0)+2|0];E=(k+1360|0)+(n<<2)|0;q[E>>2]=0;d=r[(d+D|0)+9|0];if(!s[((d<<1)+a|0)+148>>1]){q[a+116>>2]=21;e=0;break e}e=q[a+276>>2];f:{g:{if(fj(a,1)){f=2;l=q[((n<<2)+a|0)+1012>>2];v=e+w(d,1596)|0;N=q[(r[v+1588|0]<<2)+203068>>2];d=o[(N>>>5|0)+203056|0]+4|0;p[l>>1]=fj(a,d);p[l+2>>1]=fj(a,d);i=0;if(r[v|0]){while(1){F=r[(i+v|0)+1|0];d=F+v|0;h=r[d+33|0];g=0;m=r[d+49|0];h:{if(!m){break h}g=r[d+65|0];j=q[a+140>>2];d=q[a+1412>>2];i:{if((d|0)>9){break i}if(!d){q[a+1408>>2]=0}while(1){d=r[a+1392|0];j:{k:{l:{m:{if(q[a+1400>>2]){if(d&255){break m}break i}if(d&255){break m}e=q[a+1396>>2];if((e|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break i}if(!(o[a+1391|0]&1)){break l}e=q[a+1396>>2]}y=e+1|0;q[a+1396>>2]=y;d=r[(a+e|0)+1136|0];if((d|0)!=255){q[a+1404>>2]=e;q[a+1400>>2]=1}if((y|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break a}o[a+1392|0]=d;if(!d){break i}}o[a+1392|0]=d-1;q[a+1416>>2]=q[a+1416>>2]+1;d=q[a+32>>2];n:{if(d){if(d>>>0>=t[a+40>>2]){break k}q[a+32>>2]=d+1;d=r[d|0];break n}d=pj(q[a+20>>2]);if((d|0)==-1){break k}}d=d&255;break j}q[a+116>>2]=32;break i}q[a+112>>2]=1;d=0}e=q[a+1412>>2];q[a+1412>>2]=e+8;q[a+1408>>2]=q[a+1408>>2]+(d<>2];e=p[(d+((y&1023)<<1)|0)+36>>1];o:{if((e|0)>=0){g=r[e+q[d+8>>2]|0];q[a+1408>>2]=y>>>g;j=q[a+1412>>2]-g|0;g=(j|0)<0;q[a+1412>>2]=g?0:j;g=g?-1:e;break o}g=so(a,d)}if(!r[d+23|0]){break h}g=q[q[d+2088>>2]+(g<<2)>>2]}if(h){y=-1<>1];p:{if((j|0)<0){break p}I=q[a+140>>2];d=q[a+1412>>2];q:{if((d|0)>9){break q}if(!d){q[a+1408>>2]=0}while(1){d=r[a+1392|0];r:{s:{t:{u:{if(q[a+1400>>2]){if(d&255){break u}break q}if(d&255){break u}e=q[a+1396>>2];if((e|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break q}if(!(o[a+1391|0]&1)){break t}e=q[a+1396>>2]}H=e+1|0;q[a+1396>>2]=H;d=r[(a+e|0)+1136|0];if((d|0)!=255){q[a+1404>>2]=e;q[a+1400>>2]=1}if((H|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break a}o[a+1392|0]=d;if(!d){break q}}o[a+1392|0]=d-1;q[a+1416>>2]=q[a+1416>>2]+1;d=q[a+32>>2];v:{if(d){if(d>>>0>=t[a+40>>2]){break s}q[a+32>>2]=d+1;d=r[d|0];break v}d=pj(q[a+20>>2]);if((d|0)==-1){break s}}d=d&255;break r}q[a+116>>2]=32;break q}q[a+112>>2]=1;d=0}e=q[a+1412>>2];q[a+1412>>2]=e+8;q[a+1408>>2]=q[a+1408>>2]+(d<>2];d=p[(e+((H&1023)<<1)|0)+36>>1];w:{if((d|0)>=0){j=r[d+q[e+8>>2]|0];q[a+1408>>2]=H>>>j;I=q[a+1412>>2]-j|0;j=(I|0)<0;q[a+1412>>2]=j?0:I;d=j?-1:d;break w}d=so(a,e)}if(!r[e+23|0]){break p}d=q[q[e+2088>>2]+(d<<2)>>2]}g=g>>m;p[l+(f<<1)>>1]=d;f=f+1|0;if((h|0)!=(f|0)){continue}break}f=h}i=i+1|0;if(i>>>0>2]!=-1){break g}}q[E>>2]=1;break f}p[k+336>>1]=257;e=2;g=q[v+1592>>2];if((g|0)>2){while(1){f=e<<1;d=f+v|0;j=r[d+1089|0];E=j<<1;F=r[d+1088|0];i=F<<1;y=p[i+l>>1];d=p[E+l>>1]-y|0;h=d>>31;m=i;i=v+338|0;m=s[m+i>>1];h=(w(s[f+i>>1]-m|0,h^d+h)|0)/(s[i+E>>1]-m|0)|0;d=y+((d|0)<0?0-h|0:h)|0;i=f+l|0;f=p[i>>1];x:{y:{if(f){o[j+(k+336|0)|0]=1;o[F+(k+336|0)|0]=1;o[(k+336|0)+e|0]=1;h=N-d|0;if((f|0)>=((d|0)>(h|0)?h:d)<<1){if((d|0)<(h|0)){break x}d=(h+(d-f|0)|0)-1|0;break y}if(f&1){d=d-(f+1>>>1|0)|0;break y}d=(f>>1)+d|0;break y}o[(k+336|0)+e|0]=0}p[i>>1]=d}e=e+1|0;if((g|0)!=(e|0)){continue}break}}d=0;if((g|0)<=0){break f}while(1){if(!r[(k+336|0)+d|0]){p[l+(d<<1)>>1]=65535}d=d+1|0;if((g|0)!=(d|0)){continue}break}}g=q[a+4>>2];n=n+1|0;if((g|0)>(n|0)){continue}break}}v=L>>1;z:{if(q[a+1528>>2]){break z}e=q[a+96>>2];if(q[a+100>>2]!=q[a+108>>2]?e:0){break d}si(k+336|0,k+1360|0,g<<2);h=A+w(C,40)|0;d=s[h>>1];if(d){n=d>>>0>1?d:1;i=q[h+4>>2];d=0;while(1){l=i+w(d,3)|0;f=r[l+1|0];l=(k+1360|0)+(r[l|0]<<2)|0;if(!(q[(k+1360|0)+(f<<2)>>2]?q[l>>2]:0)){q[(k+1360|0)+(f<<2)>>2]=0;q[l>>2]=0}d=d+1|0;if((n|0)!=(d|0)){continue}break}}if(r[h+8|0]){l=A+w(C,40)|0;m=l;f=0;while(1){e=0;if((g|0)>=1){j=q[m+4>>2];d=0;while(1){if(r[(j+w(d,3)|0)+2|0]==(f|0)){D=(k+16|0)+e|0;n=d<<2;A:{if(q[n+(k+1360|0)>>2]){i=1;n=0;break A}i=0;n=q[(a+n|0)+816>>2]}o[D|0]=i;q[(k+272|0)+(e<<2)>>2]=n;e=e+1|0}d=d+1|0;if((g|0)!=(d|0)){continue}break}}jra(a,k+272|0,e,v,r[(f+l|0)+24|0],k+16|0);f=f+1|0;if(f>>>0>2];continue}break}e=q[a+96>>2]}if(q[a+100>>2]!=q[a+108>>2]?e:0){break c}e=s[h>>1];if(!(!e|(L|0)<2)){h=q[(A+w(C,40)|0)+4>>2];n=(v|0)>1?v:1;g=a+816|0;while(1){f=e-1|0;d=h+w(f,3)|0;i=q[g+(r[d+1|0]<<2)>>2];l=q[g+(r[d|0]<<2)>>2];d=0;while(1){m=d<<2;j=m+i|0;z=u[j>>2];m=l+m|0;B=u[m>>2];B:{C:{if(!(B>x(0))){if(!(z>x(0))){Q=x(B-z);z=B;break B}z=x(B+z);break C}if(!(z>x(0))){Q=x(B+z);z=B;break B}z=x(B-z)}Q=B}u[m>>2]=Q;u[j>>2]=z;d=d+1|0;if((n|0)!=(d|0)){continue}break}d=(e|0)>1;e=f;if(d){continue}break}}n=q[a+4>>2];if((n|0)<1){break z}P=v<<2;E=A+w(C,40)|0;N=E;l=0;while(1){e=l<<2;f=e+a|0;d=f;D:{if(q[e+(k+336|0)>>2]){qi(q[d+816>>2],0,P);n=q[a+4>>2];break D}e=r[(E+r[(q[N+4>>2]+w(l,3)|0)+2|0]|0)+9|0];if(!s[((e<<1)+a|0)+148>>1]){q[a+116>>2]=21;break D}C=q[d+816>>2];A=q[a+276>>2]+w(e,1596)|0;y=r[A+1588|0];F=q[f+1012>>2];e=w(y,p[F>>1]);i=1;d=0;I=q[A+1592>>2];if((I|0)>=2){while(1){f=r[(i+A|0)+838|0]<<1;h=p[f+F>>1];if((h|0)>=0){g=s[(f+A|0)+338>>1];f=C+(d<<2)|0;u[f>>2]=u[(e<<2)+203312>>2]*u[f>>2];h=w(y,h&65535);m=h-e|0;j=g-d|0;D=(m|0)/(j|0)|0;d=d+1|0;H=(g|0)>(v|0)?v:g;if((d|0)<(H|0)){f=D>>31;O=w(j,f-(f^D)|0);f=m>>31;U=O+(f+m^f)|0;f=0;m=(m|0)<0?-1:1;while(1){O=C+(d<<2)|0;f=f+U|0;R=(f|0)<(j|0);e=(e+D|0)+(R?0:m)|0;u[O>>2]=u[(e<<2)+203312>>2]*u[O>>2];f=f-(R?0:j)|0;d=d+1|0;if((H|0)!=(d|0)){continue}break}}e=h;d=g}i=i+1|0;if((I|0)!=(i|0)){continue}break}}if((d|0)>=(v|0)){break D}B=u[(e<<2)+203312>>2];while(1){e=C+(d<<2)|0;u[e>>2]=B*u[e>>2];d=d+1|0;if((v|0)!=(d|0)){continue}break}}l=l+1|0;if((n|0)>(l|0)){continue}break}if(q[a+1528>>2]|(n|0)<1){break z}d=0;while(1){WY(q[((d<<2)+a|0)+816>>2],L,a,r[T+428|0]);d=d+1|0;if((d|0)>2]){continue}break}}f=0-v|0;E:{while(1){F:{d=r[a+1392|0];if(!d){if(q[a+1400>>2]){break E}e=q[a+1396>>2];if((e|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break E}if(!(o[a+1391|0]&1)){break F}e=q[a+1396>>2]}g=e+1|0;q[a+1396>>2]=g;d=r[(a+e|0)+1136|0];if((d|0)!=255){q[a+1404>>2]=e;q[a+1400>>2]=1}if((g|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break a}o[a+1392|0]=d;if(!d){break E}}o[a+1392|0]=d-1;q[a+1416>>2]=q[a+1416>>2]+1;d=q[a+32>>2];if(d){if(d>>>0>=t[a+40>>2]){q[a+112>>2]=1;continue}q[a+32>>2]=d+1;continue}if((pj(q[a+20>>2])|0)!=-1){continue}q[a+112>>2]=1;continue}break}q[a+116>>2]=32}G:{if(r[a+1393|0]){q[a+1076>>2]=f;o[a+1393|0]=0;q[a+1080>>2]=1;q[a+1428>>2]=L-M;break G}d=q[a+1428>>2];if(!d){break G}K=d+K|0;q[c>>2]=K;q[a+1428>>2]=0}d=q[a+1080>>2];c=a;H:{I:{J:{if(q[a+1404>>2]==q[a+1420>>2]){K:{if(!d|!(r[a+1391|0]&4)){break K}d=q[a+1424>>2]+(M-L|0)|0;e=q[a+1076>>2];if(d>>>0>=e+M>>>0){break K}c=b;b=d-e|0;b=(b>>>0>d>>>0?0:b)+K|0;q[c>>2]=b;q[a+1076>>2]=b+q[a+1076>>2];break H}q[a+1080>>2]=1;d=q[a+1424>>2]+(K-v|0)|0;break J}if(!d){break I}d=q[a+1076>>2]}q[c+1076>>2]=d+(S-K|0)}if(q[a+100>>2]!=q[a+108>>2]?q[a+96>>2]:0){break b}q[b>>2]=M}e=1}fi=k+2384|0;return e}J(202912,202968,3313,203088);G()}J(202912,202968,3346,203088);G()}J(202912,202968,3459,203088);G()}J(203021,202968,1480,203042);G()}function WB(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=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;y=q[q[a>>2]+8>>2];O=y+1|0;a:{b:{c:{D=(d|0)==(y|0);if(!((d|0)!=(O|0)?!D:0)){d:{e:{f:{g:{if((e|f)<0|((2147483647/(f|0)|0)<(e|0)?f:0)){break g}k=(g|0)==16?2:1;n=w(k,d);m=w(e,f);if((n|m)<0){break g}if(!n|(m|0)<=(2147483647/(n|0)|0)){break f}}q[a+12>>2]=0;break e}i=xi(w(m,n));q[a+12>>2]=i;if(i){break d}}q[212945]=154488;return 0}if((e|y)<0|((2147483647/(e|0)|0)<(y|0)?e:0)){break a}B=w(e,y);if((B|g)<0|((2147483647/(g|0)|0)<(B|0)?g:0)){break a}m=w(g,B);if((m|0)>=2147483641){break a}E=m+7>>>3|0;if(w(E+1|0,f)>>>0>c>>>0){break b}L=w(d,e);h:{i:{j:{k:{if(f){c=r[b|0];if(c>>>0<=4){j=w(k,y);R=(g|0)<8|D;m=e-1|0;M=w(k,L);S=0-M|0;T=L-E|0;U=(g|0)>7;V=(g|0)!=8;P=(g|0)!=16;A=e;while(1){if(!U){if(e>>>0>>0){break a}j=1;A=E;i=i+T|0}l=c&255;l=C?l:r[l+155120|0];k=b+1|0;s=i+S|0;l:{if((j|0)<1){break l}c=0;m:{switch(l|0){case 0:while(1){o[c+i|0]=r[c+k|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}break l;case 1:while(1){o[c+i|0]=r[c+k|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}break l;default:break m}}while(1){z=c+i|0;n:{o:{p:{switch(l-2|0){case 0:t=r[c+s|0]+r[c+k|0]|0;break o;case 1:t=r[c+k|0]+(r[c+s|0]>>>1|0)|0;break o;case 2:t=r[c+s|0]+r[c+k|0]|0;break o;case 3:t=r[c+k|0];break o;case 4:break p;default:break n}}t=r[c+k|0]}o[z|0]=t}c=c+1|0;if((j|0)!=(c|0)){continue}break}}q:{if(!V){if(!D){o[i+y|0]=255}c=d;b=k+y|0;break q}if(!P){if(!D){b=i+j|0;o[b|0]=255;o[b+1|0]=255}c=n;b=j+k|0;break q}c=1;b=b+2|0}k=c+s|0;c=c+i|0;r:{s:{t:{if(R){i=w(A-1|0,j);u:{v:{switch(l|0){case 0:si(c,b,i);b=b+i|0;break t;case 1:k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[(k-j|0)+c|0]+r[b+k|0];k=k+1|0;if((i|0)!=(k|0)){continue}break}break u;case 2:l=0;if((i|0)<=0){break u}while(1){o[c+l|0]=r[k+l|0]+r[b+l|0];l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 3:l=0;if((i|0)<=0){break u}while(1){o[c+l|0]=r[b+l|0]+(r[(l-j|0)+c|0]+r[k+l|0]>>>1|0);l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 4:l=0;if((i|0)<=0){break u}while(1){u=l-j|0;t=r[u+k|0];s=r[k+l|0];u=r[c+u|0];v=(s+u|0)-t|0;F=v-s|0;x=F>>31;H=v-t|0;I=H>>31;K=v-u|0;v=K>>31;z=t;N=s;t=x^x+F;s=I^I+H;x=(t|0)>(s|0)?z:N;z=s;s=v^v+K;o[c+l|0]=r[b+l|0]+((s|0)>(t|0)?x:(z|0)<(s|0)?x:u);l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 5:k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[b+k|0]+(r[(k-j|0)+c|0]>>>1|0);k=k+1|0;if((i|0)!=(k|0)){continue}break}break u;case 6:break v;default:break u}}k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[(k-j|0)+c|0]+r[b+k|0];k=k+1|0;if((i|0)!=(k|0)){continue}break}}b=b+i|0;break t}if((d|0)!=(O|0)){break c}w:{x:{y:{z:{A:{B:{C:{D:{switch(l|0){case 6:if(!m){break w}if((j|0)<=0){break x}k=m;while(1){i=0;while(1){o[c+i|0]=r[(i-n|0)+c|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 5:if(!m){break w}if((j|0)<=0){break y}k=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0]+(r[(i-n|0)+c|0]>>>1|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 4:if(!m){break w}if((j|0)<=0){break z}l=m;while(1){i=0;while(1){u=i-n|0;t=r[u+k|0];s=r[i+k|0];u=r[c+u|0];v=(s+u|0)-t|0;F=v-s|0;x=F>>31;H=v-t|0;I=H>>31;K=v-u|0;v=K>>31;z=t;N=s;t=x^x+F;s=I^I+H;x=(t|0)>(s|0)?z:N;z=s;s=v^v+K;o[c+i|0]=r[b+i|0]+((s|0)>(t|0)?x:(z|0)<(s|0)?x:u);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 3:if(!m){break w}if((j|0)<=0){break A}l=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0]+(r[(i-n|0)+c|0]+r[i+k|0]>>>1|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 2:if(!m){break w}if((j|0)<=0){break B}l=m;while(1){i=0;while(1){o[c+i|0]=r[i+k|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 1:if(!m){break w}if((j|0)<=0){break C}k=m;while(1){i=0;while(1){o[c+i|0]=r[(i-n|0)+c|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 0:break D;default:break w}}if(!m){break w}if((j|0)>0){k=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0}if(P){break t}if(!e){break s}k=j+1|0;c=q[a+12>>2]+Q|0;i=0;while(1){o[c+k|0]=255;c=c+n|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}C=C+1|0;if((C|0)!=(f|0)){break r}if((g|0)>=8){break j}if(f){break k}return 1}C=C+1|0;if((C|0)==(f|0)){break i}}Q=w(C,M);i=Q+q[a+12>>2]|0;c=r[b|0];if(c>>>0<=4){continue}break}}break a}if((g|0)<8){break h}if((g|0)==16){break i}break h}m=e-1|0;k=0-E|0;l=(B|0)>7;e=0;while(1){i=w(e,M);c=i+q[a+12>>2]|0;b=L+c|0;j=1;j=h?j:r[g+154872|0];b=b+k|0;E:{F:{switch(g-1|0){case 3:d=B;if((d|0)>=2){while(1){o[c|0]=w(r[b|0]>>>4|0,j);o[c+1|0]=w(r[b|0]&15,j);b=b+1|0;c=c+2|0;A=(d|0)>3;d=d-2|0;if(A){continue}break}}if((d|0)!=1){break E}o[c|0]=w(r[b|0]>>>4|0,j);break E;case 1:d=B;if((d|0)>3){while(1){o[c|0]=w(r[b|0]>>>6|0,j);o[c+1|0]=w(r[b|0]>>>4&3,j);o[c+2|0]=w(r[b|0]>>>2&3,j);o[c+3|0]=w(r[b|0]&3,j);b=b+1|0;c=c+4|0;A=(d|0)>7;d=d-4|0;if(A){continue}break}}if((d|0)<1){break E}o[c|0]=w(r[b|0]>>>6|0,j);if((d|0)==1){break E}o[c+1|0]=w(r[b|0]>>>4&3,j);if((d|0)<3){break E}o[c+2|0]=w(r[b|0]>>>2&3,j);break E;case 0:break F;default:break E}}d=B;if(l){while(1){o[c|0]=o[b|0]>>>7&j;o[c+1|0]=w(r[b|0]>>>6&1,j);o[c+2|0]=w(r[b|0]>>>5&1,j);o[c+3|0]=w(r[b|0]>>>4&1,j);o[c+4|0]=w(r[b|0]>>>3&1,j);o[c+5|0]=w(r[b|0]>>>2&1,j);o[c+6|0]=w(r[b|0]>>>1&1,j);o[c+7|0]=w(o[b|0]&1,j);b=b+1|0;c=c+8|0;A=(d|0)>15;d=d-8|0;if(A){continue}break}}if((d|0)<1){break E}o[c|0]=o[b|0]>>>7&j;if((d|0)==1){break E}o[c+1|0]=w(r[b|0]>>>6&1,j);if((d|0)<3){break E}o[c+2|0]=w(r[b|0]>>>5&1,j);if((d|0)==3){break E}o[c+3|0]=w(r[b|0]>>>4&1,j);if((d|0)<5){break E}o[c+4|0]=w(r[b|0]>>>3&1,j);if((d|0)==5){break E}o[c+5|0]=w(r[b|0]>>>2&1,j);if((d|0)<7){break E}o[c+6|0]=w(r[b|0]>>>1&1,j)}G:{if(D){break G}c=i+q[a+12>>2]|0;H:{switch(y-1|0){case 0:b=m;if((b|0)<0){break G}while(1){d=b<<1;o[c+(d|1)|0]=255;o[c+d|0]=r[b+c|0];d=(b|0)>0;b=b-1|0;if(d){continue}break}break G;default:J(155142,154179,4725,155093);G();case 2:break H}}b=m;if((b|0)<=-1){break G}while(1){d=b<<2;o[c+(d|3)|0]=255;i=c+w(b,3)|0;o[c+(d|2)|0]=r[i+2|0];o[c+(d|1)|0]=r[i+1|0];o[c+d|0]=r[i|0];d=(b|0)>0;b=b-1|0;if(d){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}break h}if((g|0)!=16){break h}}d=w(f,L);if(!d){return 1}c=q[a+12>>2];b=0;while(1){a=r[c|0]|r[c+1|0]<<8;p[c>>1]=(a<<24|a<<8&16711680)>>>16;c=c+2|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 1}J(155052,154179,4552,155093);G()}J(155125,154179,4636,155093);G()}q[212945]=154821;return 0}q[212945]=154821;return 0}function GM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=fi-640|0;fi=c;h=q[a>>2];d=s[h+52>>1]+1|0;p[h+52>>1]=d;if((d&65535)>>>0>=201){d=q[a+12>>2];q[c+628>>2]=128337;q[c+624>>2]=d;Oi(h,128309,c+624|0);oj(q[a>>2],3);h=q[a>>2]}h=wx(h);d=q[q[a>>2]+8>>2];q[d+8>>2]=9;q[d>>2]=h;e=q[a>>2];f=q[e+8>>2];if((q[e+28>>2]-f|0)<=16){pk(e,1);e=q[a>>2];f=q[e+8>>2]}q[e+8>>2]=f+16;if(Gk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+612>>2]=128294;q[c+608>>2]=d;Oi(g,128309,c+608|0);oj(q[a>>2],3)}d=h;g=q[c+632>>2];i=0;a:{if(!g){break a}j=Sr(q[a>>2],q[a+8>>2],g);if(Gk(q[a+4>>2],j,q[c+632>>2])){i=q[a>>2];g=q[a+12>>2];q[c+596>>2]=128294;q[c+592>>2]=g;Oi(i,128309,c+592|0);oj(q[a>>2],3)}i=Bj(q[a>>2],j,q[c+632>>2]-1|0)}q[d+32>>2]=i?i:b;if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+580>>2]=128294;q[c+576>>2]=b;Oi(d,128309,c+576|0);oj(q[a>>2],3)}d=h;b=q[c+632>>2];if((b|0)<=-1){g=q[a>>2];b=q[a+12>>2];q[c+564>>2]=128360;q[c+560>>2]=b;Oi(g,128309,c+560|0);oj(q[a>>2],3);b=q[c+632>>2]}q[d+60>>2]=b;if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+548>>2]=128294;q[c+544>>2]=b;Oi(d,128309,c+544|0);oj(q[a>>2],3)}d=h;b=q[c+632>>2];if((b|0)<=-1){g=q[a>>2];b=q[a+12>>2];q[c+532>>2]=128360;q[c+528>>2]=b;Oi(g,128309,c+528|0);oj(q[a>>2],3);b=q[c+632>>2]}q[d+64>>2]=b;if(Gk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+516>>2]=128294;q[c+512>>2]=b;Oi(d,128309,c+512|0);oj(q[a>>2],3)}o[h+72|0]=r[c+632|0];if(Gk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+500>>2]=128294;q[c+496>>2]=b;Oi(d,128309,c+496|0);oj(q[a>>2],3)}o[h+73|0]=r[c+632|0];if(Gk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+484>>2]=128294;q[c+480>>2]=b;Oi(d,128309,c+480|0);oj(q[a>>2],3)}o[h+74|0]=r[c+632|0];if(Gk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+468>>2]=128294;q[c+464>>2]=b;Oi(d,128309,c+464|0);oj(q[a>>2],3)}o[h+75|0]=r[c+632|0];if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+452>>2]=128294;q[c+448>>2]=b;Oi(d,128309,c+448|0);oj(q[a>>2],3)}f=q[c+632>>2];if((f|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+436>>2]=128360;q[c+432>>2]=b;Oi(d,128309,c+432|0);oj(q[a>>2],3);f=q[c+632>>2]}b=q[a>>2];b:{if(f+1>>>0<=1073741823){e=f<<2;b=dj(b,0,0,e);break b}e=f<<2;b=Rj(b)}q[h+44>>2]=f;q[h+12>>2]=b;if(Gk(q[a+4>>2],b,e)){d=q[a>>2];b=q[a+12>>2];q[c+420>>2]=128294;q[c+416>>2]=b;Oi(d,128309,c+416|0);oj(q[a>>2],3)}if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+404>>2]=128294;q[c+400>>2]=b;Oi(d,128309,c+400|0);oj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+388>>2]=128360;q[c+384>>2]=b;Oi(d,128309,c+384|0);oj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];c:{if(e+1>>>0<=268435455){b=dj(b,0,0,e<<4);break c}b=Rj(b)}q[h+40>>2]=e;q[h+8>>2]=b;f=0;d:{if((e|0)<=0){break d}while(1){q[((f<<4)+b|0)+8>>2]=0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if((e|0)<1){break d}f=0;while(1){if(Gk(q[a+4>>2],c+632|0,1)){g=q[a>>2];d=q[a+12>>2];q[c+372>>2]=128294;q[c+368>>2]=d;Oi(g,128309,c+368|0);oj(q[a>>2],3)}d=(f<<4)+b|0;e:{f:{switch(o[c+632|0]){case 0:q[d+8>>2]=0;break e;case 1:if(Gk(q[a+4>>2],c+632|0,1)){g=q[a>>2];b=q[a+12>>2];q[c+308>>2]=128294;q[c+304>>2]=b;Oi(g,128309,c+304|0);oj(q[a>>2],3)}q[d>>2]=r[c+632|0]!=0;q[d+8>>2]=1;break e;case 3:if(Gk(q[a+4>>2],c+632|0,8)){g=q[a>>2];b=q[a+12>>2];q[c+324>>2]=128294;q[c+320>>2]=b;Oi(g,128309,c+320|0);oj(q[a>>2],3)}v[d>>3]=v[c+632>>3];q[d+8>>2]=3;break e;case 4:if(Gk(q[a+4>>2],c+632|0,4)){g=q[a>>2];b=q[a+12>>2];q[c+356>>2]=128294;q[c+352>>2]=b;Oi(g,128309,c+352|0);oj(q[a>>2],3)}b=d;g=q[c+632>>2];i=0;g:{if(!g){break g}j=Sr(q[a>>2],q[a+8>>2],g);if(Gk(q[a+4>>2],j,q[c+632>>2])){i=q[a>>2];g=q[a+12>>2];q[c+340>>2]=128294;q[c+336>>2]=g;Oi(i,128309,c+336|0);oj(q[a>>2],3)}i=Bj(q[a>>2],j,q[c+632>>2]-1|0)}q[b>>2]=i;q[d+8>>2]=4;break e;default:break f}}d=q[a>>2];b=q[a+12>>2];q[c+292>>2]=128372;q[c+288>>2]=b;Oi(d,128309,c+288|0);oj(q[a>>2],3)}f=f+1|0;if((f|0)==(e|0)){break d}b=q[h+8>>2];continue}}if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+276>>2]=128294;q[c+272>>2]=b;Oi(d,128309,c+272|0);oj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+260>>2]=128360;q[c+256>>2]=b;Oi(d,128309,c+256|0);oj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];h:{if(e+1>>>0<=1073741823){d=dj(b,0,0,e<<2);break h}d=Rj(b)}q[h+52>>2]=e;q[h+16>>2]=d;b=1;i:{if((e|0)<1){break i}f=0;q[d>>2]=0;if((e|0)!=1){while(1){q[q[h+16>>2]+(b<<2)>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if((e|0)<=0){break i}while(1){b=GM(a,q[h+32>>2]);q[q[h+16>>2]+(f<<2)>>2]=b;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+244>>2]=128294;q[c+240>>2]=b;Oi(d,128309,c+240|0);oj(q[a>>2],3)}f=q[c+632>>2];if((f|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+228>>2]=128360;q[c+224>>2]=b;Oi(d,128309,c+224|0);oj(q[a>>2],3);f=q[c+632>>2]}b=q[a>>2];j:{if(f+1>>>0<=1073741823){e=f<<2;b=dj(b,0,0,e);break j}e=f<<2;b=Rj(b)}q[h+48>>2]=f;q[h+20>>2]=b;if(Gk(q[a+4>>2],b,e)){d=q[a>>2];b=q[a+12>>2];q[c+212>>2]=128294;q[c+208>>2]=b;Oi(d,128309,c+208|0);oj(q[a>>2],3)}if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+196>>2]=128294;q[c+192>>2]=b;Oi(d,128309,c+192|0);oj(q[a>>2],3)}b=q[c+632>>2];if((b|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+180>>2]=128360;q[c+176>>2]=b;Oi(d,128309,c+176|0);oj(q[a>>2],3);b=q[c+632>>2]}d=q[a>>2];k:{if(b+1>>>0<=357913941){d=dj(d,0,0,w(b,12));break k}d=Rj(d)}q[h+56>>2]=b;q[h+24>>2]=d;f=0;if((b|0)>0){while(1){q[d+w(f,12)>>2]=0;f=f+1|0;if((f|0)!=(b|0)){continue}break}f=0;while(1){if(Gk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+164>>2]=128294;q[c+160>>2]=d;Oi(g,128309,c+160|0);oj(q[a>>2],3)}d=q[c+632>>2];g=0;l:{if(!d){break l}i=Sr(q[a>>2],q[a+8>>2],d);if(Gk(q[a+4>>2],i,q[c+632>>2])){g=q[a>>2];d=q[a+12>>2];q[c+148>>2]=128294;q[c+144>>2]=d;Oi(g,128309,c+144|0);oj(q[a>>2],3)}g=Bj(q[a>>2],i,q[c+632>>2]-1|0)}i=w(f,12);q[i+q[h+24>>2]>>2]=g;if(Gk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+132>>2]=128294;q[c+128>>2]=d;Oi(g,128309,c+128|0);oj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){g=q[a>>2];d=q[a+12>>2];q[c+116>>2]=128360;q[c+112>>2]=d;Oi(g,128309,c+112|0);oj(q[a>>2],3);e=q[c+632>>2]}q[(i+q[h+24>>2]|0)+4>>2]=e;if(Gk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+100>>2]=128294;q[c+96>>2]=d;Oi(g,128309,c+96|0);oj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){g=q[a>>2];d=q[a+12>>2];q[c+84>>2]=128360;q[c+80>>2]=d;Oi(g,128309,c+80|0);oj(q[a>>2],3);e=q[c+632>>2]}q[(i+q[h+24>>2]|0)+8>>2]=e;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+68>>2]=128294;q[c+64>>2]=b;Oi(d,128309,c- -64|0);oj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+52>>2]=128360;q[c+48>>2]=b;Oi(d,128309,c+48|0);oj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];m:{if(e+1>>>0<=1073741823){d=dj(b,0,0,e<<2);break m}d=Rj(b)}q[h+36>>2]=e;q[h+28>>2]=d;b=1;if((e|0)>=1){f=0;q[d>>2]=0;if((e|0)!=1){while(1){q[q[h+28>>2]+(b<<2)>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}while(1){if(Gk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+36>>2]=128294;q[c+32>>2]=b;Oi(d,128309,c+32|0);oj(q[a>>2],3)}b=q[c+632>>2];d=0;n:{if(!b){break n}g=Sr(q[a>>2],q[a+8>>2],b);if(Gk(q[a+4>>2],g,q[c+632>>2])){d=q[a>>2];b=q[a+12>>2];q[c+20>>2]=128294;q[c+16>>2]=b;Oi(d,128309,c+16|0);oj(q[a>>2],3)}d=Bj(q[a>>2],g,q[c+632>>2]-1|0)}q[q[h+28>>2]+(f<<2)>>2]=d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(!LB(h,q[h+44>>2],255)){d=q[a>>2];b=q[a+12>>2];q[c+4>>2]=128351;q[c>>2]=b;Oi(d,128309,c);oj(q[a>>2],3)}a=q[a>>2];q[a+8>>2]=q[a+8>>2]-16;p[a+52>>1]=s[a+52>>1]-1;fi=c+640|0;return h}function Gha(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,r=0,s=0;r=fi-432|0;fi=r;o=hm(r+320|0);s=jl(a,31339,r+428|0);a:{if(s){q[r+212>>2]=s;q[r+208>>2]=31339;mi(3,31356,31596,r+208|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31339;s=q[r+428>>2];q[o+56>>2]=241;q[o+48>>2]=0;q[o+44>>2]=242;q[o+40>>2]=243;q[o+36>>2]=0;q[o+32>>2]=244;q[o+28>>2]=245;q[o+24>>2]=246;q[o+20>>2]=247;q[o+16>>2]=g;q[o>>2]=s;q[o+92>>2]=0;q[o+88>>2]=248;q[o+80>>2]=0;q[o+84>>2]=0;q[o+72>>2]=0;q[o+68>>2]=249;q[o+64>>2]=250;q[o+60>>2]=251;q[o+52>>2]=252;p[o+100>>1]=100;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}g=jl(a,31133,r+428|0);if(g){q[r+196>>2]=g;q[r+192>>2]=31133;mi(3,31356,31596,r+192|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31133;g=q[r+428>>2];q[o+56>>2]=0;q[o+48>>2]=0;q[o+44>>2]=253;q[o+40>>2]=254;q[o+36>>2]=0;q[o+32>>2]=255;q[o+28>>2]=256;q[o+24>>2]=257;q[o+20>>2]=258;q[o+16>>2]=d;q[o>>2]=g;q[o+92>>2]=259;q[o+88>>2]=0;q[o+84>>2]=260;q[o+80>>2]=261;q[o+72>>2]=262;q[o+68>>2]=0;q[o+64>>2]=263;q[o+60>>2]=264;q[o+52>>2]=265;p[o+100>>1]=400;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}d=jl(a,31471,r+428|0);if(d){q[r+180>>2]=d;q[r+176>>2]=31471;mi(3,31356,31596,r+176|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31471;d=q[r+428>>2];q[o+48>>2]=0;q[o+44>>2]=266;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=267;q[o+28>>2]=268;q[o+24>>2]=269;q[o+20>>2]=270;q[o+16>>2]=c;q[o>>2]=d;q[o+88>>2]=0;q[o+92>>2]=0;q[o+84>>2]=271;q[o+80>>2]=272;q[o+72>>2]=273;q[o+68>>2]=0;q[o+64>>2]=274;q[o+56>>2]=0;q[o+60>>2]=0;q[o+52>>2]=275;p[o+100>>1]=500;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}d=jl(a,31464,r+428|0);if(d){q[r+164>>2]=d;q[r+160>>2]=31464;mi(3,31356,31596,r+160|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31464;d=q[r+428>>2];q[o+48>>2]=0;q[o+44>>2]=276;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=277;q[o+28>>2]=278;q[o+24>>2]=279;q[o+20>>2]=280;q[o+16>>2]=n;q[o>>2]=d;q[o+88>>2]=0;q[o+92>>2]=0;q[o+84>>2]=281;q[o+80>>2]=282;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=283;q[o+56>>2]=0;q[o+60>>2]=0;q[o+52>>2]=284;q[o+96>>2]=q[o+96>>2]&-196609|65536;p[o+100>>1]=600;g=vm(b,o);if(g){break a}d=jl(a,31183,r+428|0);if(d){q[r+148>>2]=d;q[r+144>>2]=31183;mi(3,31356,31596,r+144|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31183;d=q[r+428>>2];q[o+56>>2]=285;q[o+48>>2]=0;q[o+44>>2]=286;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=287;q[o+28>>2]=288;q[o+24>>2]=289;q[o+20>>2]=290;q[o+16>>2]=j;q[o>>2]=d;q[o+92>>2]=291;q[o+88>>2]=0;q[o+84>>2]=292;q[o+80>>2]=293;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=294;q[o+60>>2]=0;q[o+52>>2]=295;p[o+100>>1]=700;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}d=jl(a,31448,r+428|0);if(d){q[r+132>>2]=d;q[r+128>>2]=31448;mi(3,31356,31596,r+128|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31448;d=q[r+428>>2];q[o+56>>2]=296;q[o+48>>2]=0;q[o+44>>2]=297;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=298;q[o+28>>2]=299;q[o+24>>2]=300;q[o+20>>2]=301;q[o+16>>2]=k;q[o>>2]=d;q[o+92>>2]=302;q[o+88>>2]=0;q[o+84>>2]=303;q[o+80>>2]=304;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=305;q[o+60>>2]=0;q[o+52>>2]=306;p[o+100>>1]=725;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}d=jl(a,31419,r+428|0);if(d){q[r+116>>2]=d;q[r+112>>2]=31419;mi(3,31356,31596,r+112|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31419;d=q[r+428>>2];q[o+32>>2]=307;q[o+28>>2]=308;q[o+24>>2]=309;q[o+20>>2]=310;q[o+16>>2]=0;q[o>>2]=d;q[o+60>>2]=0;q[o+52>>2]=0;q[o+56>>2]=0;q[o+44>>2]=0;q[o+48>>2]=0;q[o+36>>2]=0;q[o+40>>2]=0;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=311;q[o+88>>2]=0;q[o+92>>2]=0;q[o+80>>2]=0;q[o+84>>2]=0;p[o+100>>1]=750;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}d=jl(a,31428,r+428|0);if(d){q[r+100>>2]=d;q[r+96>>2]=31428;mi(3,31356,31596,r+96|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31428;d=q[r+428>>2];q[o+56>>2]=312;q[o+48>>2]=0;q[o+44>>2]=313;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=314;q[o+28>>2]=315;q[o+24>>2]=316;q[o+20>>2]=317;q[o+16>>2]=e;q[o>>2]=d;q[o+72>>2]=318;q[o+68>>2]=0;q[o+64>>2]=319;q[o+60>>2]=0;q[o+52>>2]=320;q[o+80>>2]=0;q[o+84>>2]=0;q[o+88>>2]=0;q[o+92>>2]=0;p[o+100>>1]=800;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}d=jl(a,31150,r+428|0);if(d){q[r+84>>2]=d;q[r+80>>2]=31150;mi(3,31356,31596,r+80|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31150;d=q[r+428>>2];q[o+48>>2]=0;q[o+44>>2]=321;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=322;q[o+28>>2]=323;q[o+24>>2]=324;q[o+20>>2]=325;q[o+16>>2]=h;q[o>>2]=d;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=326;q[o+56>>2]=0;q[o+60>>2]=0;q[o+52>>2]=327;q[o+88>>2]=0;q[o+92>>2]=0;q[o+80>>2]=0;q[o+84>>2]=0;p[o+100>>1]=900;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}d=jl(a,31114,r+428|0);if(d){q[r+68>>2]=d;q[r+64>>2]=31114;mi(3,31356,31596,r- -64|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31114;d=q[r+428>>2];q[o+56>>2]=0;q[o+48>>2]=0;q[o+44>>2]=328;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=329;q[o+28>>2]=330;q[o+24>>2]=331;q[o+20>>2]=332;q[o+16>>2]=i;q[o>>2]=d;q[o+52>>2]=333;q[o+68>>2]=0;q[o+72>>2]=0;q[o+60>>2]=0;q[o+64>>2]=0;q[o+88>>2]=0;q[o+92>>2]=0;q[o+80>>2]=0;q[o+84>>2]=0;p[o+100>>1]=950;q[o+96>>2]=q[o+96>>2]&-196609|65536;g=vm(b,o);if(g){break a}d=jl(a,31511,r+428|0);if(d){q[r+52>>2]=d;q[r+48>>2]=31511;mi(3,31356,31596,r+48|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31511;d=q[r+428>>2];q[o+48>>2]=0;q[o+44>>2]=334;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=335;q[o+28>>2]=336;q[o+24>>2]=337;q[o+20>>2]=338;q[o+16>>2]=c;q[o>>2]=d;q[o+68>>2]=0;q[o+72>>2]=0;q[o+64>>2]=339;q[o+56>>2]=0;q[o+60>>2]=0;q[o+52>>2]=340;q[o+88>>2]=0;q[o+92>>2]=0;q[o+80>>2]=0;q[o+84>>2]=0;p[o+100>>1]=1e3;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}c=jl(a,31541,r+428|0);if(c){q[r+36>>2]=c;q[r+32>>2]=31541;mi(3,31356,31596,r+32|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31541;c=q[r+428>>2];q[o+56>>2]=341;q[o+48>>2]=0;q[o+44>>2]=342;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=343;q[o+28>>2]=344;q[o+24>>2]=345;q[o+20>>2]=346;q[o+16>>2]=f;q[o>>2]=c;q[o+92>>2]=347;q[o+88>>2]=0;q[o+84>>2]=348;q[o+80>>2]=349;q[o+72>>2]=350;q[o+68>>2]=0;q[o+64>>2]=351;q[o+60>>2]=0;q[o+52>>2]=352;p[o+100>>1]=1100;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}c=jl(a,31211,r+428|0);if(c){q[r+20>>2]=c;q[r+16>>2]=31211;mi(3,31356,31596,r+16|0);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31211;c=q[r+428>>2];q[o+56>>2]=353;q[o+48>>2]=0;q[o+44>>2]=354;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=355;q[o+28>>2]=356;q[o+24>>2]=357;q[o+20>>2]=358;q[o+16>>2]=m;q[o>>2]=c;q[o+92>>2]=359;q[o+88>>2]=0;q[o+84>>2]=360;q[o+80>>2]=361;q[o+72>>2]=362;q[o+68>>2]=0;q[o+64>>2]=363;q[o+60>>2]=0;q[o+52>>2]=364;p[o+100>>1]=1200;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o);if(g){break a}a=jl(a,31504,r+428|0);if(a){q[r+4>>2]=a;q[r>>2]=31504;mi(3,31356,31596,r);g=-1e3;break a}hm(r+216|0);si(r+320|0,r+216|0,102);q[o+4>>2]=31504;a=q[r+428>>2];q[o+56>>2]=365;q[o+48>>2]=366;q[o+44>>2]=367;q[o+36>>2]=0;q[o+40>>2]=0;q[o+32>>2]=368;q[o+28>>2]=369;q[o+24>>2]=370;q[o+20>>2]=371;q[o+16>>2]=l;q[o>>2]=a;q[o+92>>2]=372;q[o+88>>2]=0;q[o+84>>2]=373;q[o+80>>2]=374;q[o+72>>2]=375;q[o+68>>2]=0;q[o+64>>2]=376;q[o+60>>2]=0;q[o+52>>2]=377;p[o+100>>1]=1400;q[o+96>>2]=q[o+96>>2]|196608;g=vm(b,o)}fi=r+432|0;return g}function mt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=fi-208|0;fi=c;k=q[a+4>>2];a:{b:{c:{switch(q[a+16>>2]-258|0){case 8:d=q[a+48>>2];q[c+176>>2]=-1;e=IB(a);while(1){b=q[a+16>>2];if((b|0)!=261){d:{if((b|0)==260){Xr(d,c+176|0,Go(d));Lm(d,e);yj(a);Us(a);break d}Xr(d,c+176|0,e)}Lm(d,q[c+176>>2]);uo(a,262,266,k);break b}else{Xr(d,c+176|0,Go(d));Lm(d,e);e=IB(a);continue}};default:b=q[a+48>>2];Ew(a,c+184|0);if(q[c+184>>2]==13){a=q[q[b>>2]+12>>2]+(q[c+192>>2]<<2)|0;q[a>>2]=q[a>>2]&-8372225|16384;break b}q[c+176>>2]=0;eM(a,c+176|0,1);break b;case 0:yj(a);f=q[a+48>>2];b=q[f+20>>2];e:{if(b){while(1){if(r[b+10|0]){d=b;break e}e=r[b+9|0]|e;b=q[b>>2];if(b){continue}break}}xj(a,127905)}if(e){dm(f,35,r[d+8|0],0,0)}Xr(f,d+4|0,Go(f));b=1;break a;case 15:f=q[a+48>>2];yj(a);d=q[a+16>>2];b=d-260|0;f:{if(!(b>>>0>27|!(1<>2]==44){b=1;while(1){yj(a);pm(q[a+48>>2],c+176|0);Tk(a,c+176|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}if(q[c+176>>2]-13>>>0>=2){break h}a=b;break j}a=1;if(q[c+176>>2]-13>>>0>1){break i}}b=-1;Qt(f,c+176|0,-1);if((a|0)!=1|q[c+176>>2]!=13){break g}a=q[q[f>>2]+12>>2]+(q[c+184>>2]<<2)|0;q[a>>2]=q[a>>2]&-64|29;break g}b=1;j=Xm(f,c+176|0);break f}pm(f,c+176|0)}j=r[f+50|0]}aE(f,j,b);b=1;break a;case 10:yj(a);e=q[a+16>>2];if((e|0)==265){yj(a);e=q[a+48>>2];if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+112>>2]=Xk(a,285);xj(a,Oi(b,127343,c+112|0))}d=q[a+24>>2];yj(a);Bm(a,d,0);d=q[e+36>>2];q[c+192>>2]=-1;q[c+196>>2]=-1;q[c+184>>2]=d;q[c+176>>2]=6;Fp(e,1);f=q[a+48>>2];d=r[f+50|0]+1|0;o[f+50|0]=d;q[(q[q[f>>2]+24>>2]+w(s[(f+((d&255)<<1)|0)+170>>1],12)|0)+4>>2]=q[f+24>>2];MA(a,c+152|0,0,q[a+4>>2]);tx(e,c+176|0,c+152|0);q[(q[q[e>>2]+24>>2]+w(s[(e+(r[e+50|0]<<1)|0)+170>>1],12)|0)+4>>2]=q[e+24>>2];b=0;break a}while(1){if((e|0)!=285){d=q[a+52>>2];q[c+128>>2]=Xk(a,285);xj(a,Oi(d,127343,c+128|0))}d=q[a+24>>2];yj(a);Bm(a,d,b);b=b+1|0;d=q[a+16>>2];if((d|0)==44){yj(a);e=q[a+16>>2];continue}break}k:{if((d|0)==61){yj(a);Tk(a,c+176|0,0);e=1;if(q[a+16>>2]!=44){break k}while(1){yj(a);pm(q[a+48>>2],c+176|0);Tk(a,c+176|0,0);e=e+1|0;if(q[a+16>>2]==44){continue}break}break k}e=0;q[c+176>>2]=0}YA(q[a+48>>2],b,e,c+176|0);e=q[a+48>>2];a=r[e+50|0]+b|0;o[e+50|0]=a;f=a&255;d=q[e+24>>2];a=q[q[e>>2]+24>>2];while(1){q[(a+w(s[(e+(f-b<<1)|0)+172>>1],12)|0)+4>>2]=d;b=b-1|0;if(b){continue}break}break b;case 7:yj(a);if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+96>>2]=Xk(a,285);xj(a,Oi(b,127343,c+96|0))}d=q[a+24>>2];yj(a);b=q[a+48>>2];if((tw(b,d,c+176|0,1)|0)==8){q[c+184>>2]=Ep(b,d)}while(1){f=q[a+16>>2];if((f|0)!=46){b=a;e=c+152|0;if((f|0)==58){Nx(a,c+176|0);d=1}else{d=0}MA(b,e,d,k);tx(q[a+48>>2],c+176|0,c+152|0);a=q[a+48>>2];q[(q[q[a>>2]+20>>2]+(q[a+24>>2]<<2)|0)-4>>2]=k;break b}else{Nx(a,c+176|0);continue}};case 14:i=q[a+48>>2];f=q[i+24>>2];q[i+28>>2]=f;q[c+156>>2]=-1;o[c+162|0]=1;d=r[i+50|0];o[c+161|0]=0;o[c+160|0]=d;b=q[i+20>>2];q[c+140>>2]=-1;q[c+152>>2]=b;o[c+145|0]=0;o[c+146|0]=0;o[c+144|0]=d;q[c+136>>2]=c+152;q[i+20>>2]=c+136;yj(a);b=q[a+52>>2];d=s[b+52>>1]+1|0;p[b+52>>1]=d;if((d&65535)>>>0>=201){Kl(a,127357,0)}while(1){b=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){d=mt(a);if(q[a+16>>2]==59){yj(a)}b=q[a+48>>2];q[b+36>>2]=r[b+50|0];if(!d){continue}}break}b=q[a+52>>2];p[b+52>>1]=s[b+52>>1]-1;uo(a,276,272,k);Tk(a,c+176|0,0);if(q[c+176>>2]==1){q[c+176>>2]=3}St(q[a+48>>2],c+176|0);j=q[c+196>>2];l:{if(!r[c+145|0]){k=q[i+20>>2];q[i+20>>2]=q[k>>2];g=q[q[i+12>>2]+48>>2];b=r[g+50|0];h=r[k+8|0];if(b>>>0>h>>>0){e=q[g+24>>2];d=q[q[g>>2]+24>>2];while(1){b=b-1|0;q[(w(s[(g+(b<<1)|0)+172>>1],12)+d|0)+8>>2]=e;if(b>>>0>h>>>0){continue}break}o[g+50|0]=b}if(r[k+9|0]){dm(i,35,h,0,0)}q[i+36>>2]=r[i+50|0];Lm(i,q[k+4>>2]);Rt(q[a+48>>2],j,f);break l}d=0;h=q[a+48>>2];b=q[h+20>>2];m:{if(b){while(1){if(r[b+10|0]){d=b;break m}e=r[b+9|0]|e;b=q[b>>2];if(b){continue}break}}xj(a,127905)}if(e){dm(h,35,r[d+8|0],0,0)}Xr(h,d+4|0,Go(h));Lm(q[a+48>>2],j);j=q[i+20>>2];q[i+20>>2]=q[j>>2];k=q[q[i+12>>2]+48>>2];b=r[k+50|0];h=r[j+8|0];if(b>>>0>h>>>0){e=q[k+24>>2];d=q[q[k>>2]+24>>2];while(1){b=b-1|0;q[(d+w(s[(k+(b<<1)|0)+172>>1],12)|0)+8>>2]=e;if(b>>>0>h>>>0){continue}break}o[k+50|0]=b}if(r[j+9|0]){dm(i,35,h,0,0)}q[i+36>>2]=r[i+50|0];Lm(i,q[j+4>>2]);Rt(q[a+48>>2],Go(i),f)}e=q[i+20>>2];q[i+20>>2]=q[e>>2];h=q[q[i+12>>2]+48>>2];a=r[h+50|0];f=r[e+8|0];if(a>>>0>f>>>0){d=q[h+24>>2];b=q[q[h>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(h+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>f>>>0){continue}break}o[h+50|0]=a}if(r[e+9|0]){dm(i,35,f,0,0)}q[i+36>>2]=r[i+50|0];Lm(i,q[e+4>>2]);break b;case 6:g=q[a+48>>2];o[c+162|0]=1;q[c+156>>2]=-1;b=r[g+50|0];o[c+161|0]=0;o[c+160|0]=b;q[c+152>>2]=q[g+20>>2];q[g+20>>2]=c+152;yj(a);if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+80>>2]=Xk(a,285);xj(a,Oi(b,127343,c+80|0))}j=q[a+24>>2];yj(a);n:{o:{p:{q:{r:{b=q[a+16>>2];switch(b-44|0){case 0:break o;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:break p;case 17:break r;default:break q}}f=q[a+48>>2];d=q[f+36>>2];Bm(a,go(a,127828,11),0);Bm(a,go(a,127840,11),1);Bm(a,go(a,127852,10),2);Bm(a,j,3);if(q[a+16>>2]!=61){b=q[a+52>>2];q[c+32>>2]=Xk(a,61);xj(a,Oi(b,127343,c+32|0))}yj(a);Tk(a,c+176|0,0);pm(q[a+48>>2],c+176|0);if(q[a+16>>2]!=44){b=q[a+52>>2];q[c+16>>2]=Xk(a,44);xj(a,Oi(b,127343,c+16|0))}yj(a);Tk(a,c+176|0,0);pm(q[a+48>>2],c+176|0);s:{if(q[a+16>>2]==44){yj(a);Tk(a,c+176|0,0);pm(q[a+48>>2],c+176|0);break s}Tt(f,1,q[f+36>>2],lX(f));Fp(f,1)}FE(a,d,k,1,1);break n}if((b|0)==267){break o}}xj(a,127807);break n}h=q[a+48>>2];f=q[h+36>>2];Bm(a,go(a,127863,15),0);e=1;Bm(a,go(a,127879,11),1);Bm(a,go(a,127891,13),2);Bm(a,j,3);j=q[a+16>>2];if((j|0)==44){e=4;while(1){b=e;yj(a);if(q[a+16>>2]!=285){d=q[a+52>>2];q[c+64>>2]=Xk(a,285);xj(a,Oi(d,127343,c- -64|0))}d=q[a+24>>2];yj(a);Bm(a,d,b);e=b+1|0;j=q[a+16>>2];if((j|0)==44){continue}break}e=b-2|0}if((j|0)!=267){b=q[a+52>>2];q[c+48>>2]=Xk(a,267);xj(a,Oi(b,127343,c+48|0))}yj(a);d=q[a+4>>2];Tk(a,c+176|0,0);b=1;if(q[a+16>>2]==44){while(1){yj(a);pm(q[a+48>>2],c+176|0);Tk(a,c+176|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}}YA(q[a+48>>2],3,b,c+176|0);pX(h);FE(a,f,d,e,0)}uo(a,262,264,k);e=q[g+20>>2];q[g+20>>2]=q[e>>2];h=q[q[g+12>>2]+48>>2];a=r[h+50|0];f=r[e+8|0];if(a>>>0>f>>>0){d=q[h+24>>2];b=q[q[h>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(h+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>f>>>0){continue}break}o[h+50|0]=a}if(r[e+9|0]){dm(g,35,f,0,0)}q[g+36>>2]=r[g+50|0];Lm(g,q[e+4>>2]);break b;case 1:yj(a);Us(a);uo(a,262,259,k);break b;case 19:break c}}g=q[a+48>>2];yj(a);d=q[g+24>>2];q[g+28>>2]=d;Tk(a,c+176|0,0);if(q[c+176>>2]==1){q[c+176>>2]=3}St(q[a+48>>2],c+176|0);o[c+162|0]=1;q[c+156>>2]=-1;f=q[c+196>>2];b=r[g+50|0];o[c+161|0]=0;o[c+160|0]=b;q[c+152>>2]=q[g+20>>2];q[g+20>>2]=c+152;if(q[a+16>>2]!=259){b=q[a+52>>2];q[c>>2]=Xk(a,259);xj(a,Oi(b,127343,c))}yj(a);Us(a);Rt(g,Go(g),d);uo(a,262,277,k);h=q[g+20>>2];q[g+20>>2]=q[h>>2];j=q[q[g+12>>2]+48>>2];a=r[j+50|0];e=r[h+8|0];if(a>>>0>e>>>0){d=q[j+24>>2];b=q[q[j>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(j+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>e>>>0){continue}break}o[j+50|0]=a}if(r[h+9|0]){dm(g,35,e,0,0)}q[g+36>>2]=r[g+50|0];Lm(g,q[h+4>>2]);Lm(g,f)}b=0}fi=c+208|0;return b}function I7(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,t=0,u=0,v=0;e=fi-2240|0;fi=e;a:{b:{c:{g=q[a>>2];if(!Am(g,e+1128|0)){if(r[e+1141|0]&64){break c}q[e>>2]=g;mi(4,150860,150865,e);a=-1;break b}c=Vx(g);if(!c){break c}q[e+84>>2]=c;q[e+80>>2]=g;mi(4,150860,150945,e+80|0);a=-2;break b}d=Ci(96);c=q[a+8>>2];a=q[a+12>>2];q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+52>>2]=0;q[d+56>>2]=0;o[d+60|0]=0;q[d+36>>2]=-1;i=Sk(g);q[d+8>>2]=jwa(c,a,1e6,0);q[d+12>>2]=ii;q[d>>2]=i;l=d+16|0;Lu(l,11,32);a=zj();q[d+80>>2]=0;q[d+48>>2]=a;a=Ci(8);q[a+4>>2]=4096;c=Ci(4104);q[c>>2]=0;q[c+4>>2]=0;q[a>>2]=c;o[d+88|0]=0;q[d+84>>2]=a;d:{e:{f:{g:{a=s[d+56>>1];if(a>>>0<17){c=q[d+52>>2];i=xi(32);q[d+52>>2]=i;i=si(i,c,a<<1);p[d+56>>1]=16;if((a|0)!=16){while(1){p[i+(a<<1)>>1]=a;a=a+1|0;if((a|0)!=16){continue}break}}ki(c);if(o[d+76|0]&1){break g}c=d- -64|0;vi(16,64,c,d+72|0,d+68|0);a=q[d+64>>2];if(q[d+72>>2]-a>>6>>>0<=15){break f}q[d+68>>2]=a+1024;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<=1){break a}q[a+64>>2]=0;q[a+68>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<3){break a}q[a+128>>2]=0;q[a+132>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<4){break a}q[a+192>>2]=0;q[a+196>>2]=0;q[a+248>>2]=0;q[a+252>>2]=0;q[a+240>>2]=0;q[a+244>>2]=0;q[a+232>>2]=0;q[a+236>>2]=0;q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<5){break a}q[a+256>>2]=0;q[a+260>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+304>>2]=0;q[a+308>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<6){break a}q[a+320>>2]=0;q[a+324>>2]=0;q[a+376>>2]=0;q[a+380>>2]=0;q[a+368>>2]=0;q[a+372>>2]=0;q[a+360>>2]=0;q[a+364>>2]=0;q[a+352>>2]=0;q[a+356>>2]=0;q[a+344>>2]=0;q[a+348>>2]=0;q[a+336>>2]=0;q[a+340>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<7){break a}q[a+384>>2]=0;q[a+388>>2]=0;q[a+440>>2]=0;q[a+444>>2]=0;q[a+432>>2]=0;q[a+436>>2]=0;q[a+424>>2]=0;q[a+428>>2]=0;q[a+416>>2]=0;q[a+420>>2]=0;q[a+408>>2]=0;q[a+412>>2]=0;q[a+400>>2]=0;q[a+404>>2]=0;q[a+392>>2]=0;q[a+396>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<8){break a}q[a+448>>2]=0;q[a+452>>2]=0;q[a+504>>2]=0;q[a+508>>2]=0;q[a+496>>2]=0;q[a+500>>2]=0;q[a+488>>2]=0;q[a+492>>2]=0;q[a+480>>2]=0;q[a+484>>2]=0;q[a+472>>2]=0;q[a+476>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;q[a+456>>2]=0;q[a+460>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<9){break a}q[a+512>>2]=0;q[a+516>>2]=0;q[a+568>>2]=0;q[a+572>>2]=0;q[a+560>>2]=0;q[a+564>>2]=0;q[a+552>>2]=0;q[a+556>>2]=0;q[a+544>>2]=0;q[a+548>>2]=0;q[a+536>>2]=0;q[a+540>>2]=0;q[a+528>>2]=0;q[a+532>>2]=0;q[a+520>>2]=0;q[a+524>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<10){break a}q[a+576>>2]=0;q[a+580>>2]=0;q[a+632>>2]=0;q[a+636>>2]=0;q[a+624>>2]=0;q[a+628>>2]=0;q[a+616>>2]=0;q[a+620>>2]=0;q[a+608>>2]=0;q[a+612>>2]=0;q[a+600>>2]=0;q[a+604>>2]=0;q[a+592>>2]=0;q[a+596>>2]=0;q[a+584>>2]=0;q[a+588>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<11){break a}q[a+640>>2]=0;q[a+644>>2]=0;q[a+696>>2]=0;q[a+700>>2]=0;q[a+688>>2]=0;q[a+692>>2]=0;q[a+680>>2]=0;q[a+684>>2]=0;q[a+672>>2]=0;q[a+676>>2]=0;q[a+664>>2]=0;q[a+668>>2]=0;q[a+656>>2]=0;q[a+660>>2]=0;q[a+648>>2]=0;q[a+652>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<12){break a}q[a+704>>2]=0;q[a+708>>2]=0;q[a+760>>2]=0;q[a+764>>2]=0;q[a+752>>2]=0;q[a+756>>2]=0;q[a+744>>2]=0;q[a+748>>2]=0;q[a+736>>2]=0;q[a+740>>2]=0;q[a+728>>2]=0;q[a+732>>2]=0;q[a+720>>2]=0;q[a+724>>2]=0;q[a+712>>2]=0;q[a+716>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<13){break a}q[a+768>>2]=0;q[a+772>>2]=0;q[a+824>>2]=0;q[a+828>>2]=0;q[a+816>>2]=0;q[a+820>>2]=0;q[a+808>>2]=0;q[a+812>>2]=0;q[a+800>>2]=0;q[a+804>>2]=0;q[a+792>>2]=0;q[a+796>>2]=0;q[a+784>>2]=0;q[a+788>>2]=0;q[a+776>>2]=0;q[a+780>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<14){break a}q[a+832>>2]=0;q[a+836>>2]=0;q[a+888>>2]=0;q[a+892>>2]=0;q[a+880>>2]=0;q[a+884>>2]=0;q[a+872>>2]=0;q[a+876>>2]=0;q[a+864>>2]=0;q[a+868>>2]=0;q[a+856>>2]=0;q[a+860>>2]=0;q[a+848>>2]=0;q[a+852>>2]=0;q[a+840>>2]=0;q[a+844>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<15){break a}q[a+896>>2]=0;q[a+900>>2]=0;q[a+952>>2]=0;q[a+956>>2]=0;q[a+944>>2]=0;q[a+948>>2]=0;q[a+936>>2]=0;q[a+940>>2]=0;q[a+928>>2]=0;q[a+932>>2]=0;q[a+920>>2]=0;q[a+924>>2]=0;q[a+912>>2]=0;q[a+916>>2]=0;q[a+904>>2]=0;q[a+908>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<16){break a}q[a+960>>2]=0;q[a+964>>2]=0;q[a+1016>>2]=0;q[a+1020>>2]=0;q[a+1008>>2]=0;q[a+1012>>2]=0;q[a+1e3>>2]=0;q[a+1004>>2]=0;q[a+992>>2]=0;q[a+996>>2]=0;q[a+984>>2]=0;q[a+988>>2]=0;q[a+976>>2]=0;q[a+980>>2]=0;q[a+968>>2]=0;q[a+972>>2]=0;q[e+64>>2]=g;q[e+68>>2]=150988;cj(e+96|0,1024,150982,e- -64|0);k=sk(e+96|0,150994);if(k){break e}break d}J(152127,152150,112,152046);G()}J(152175,152250,461,152046);G()}J(152276,152250,474,152295);G()}El(k,0,2);a=mn(k);El(k,0,0);h=xi(a);Yk(h,1,a,k);h:{i:{if(!(q[h>>2]!=-894784852|a>>>0<24|(q[h+4>>2]!=7|q[h+16>>2]!=120))){if(q[h+20>>2]==2232){break i}}q[e+16>>2]=e+96;mi(4,150860,150997,e+16|0);Zk(e+96|0);break h}n=h+24|0;a=a-24|0;if((Nl(n,a)|0)!=q[h+8>>2]|(ii|0)!=q[h+12>>2]){q[e+48>>2]=e+96;mi(4,150860,151043,e+48|0);break h}c=(a>>>0)/2232|0;g=c+128|0;Lu(l,(g<<1>>>0)/3|0,g);g=Uj();i=ii;if(a>>>0<2232){break h}v=c>>>0>1?c:1;t=e+1224|0;while(1){c=i;a=w(m,2232)+n|0;u=q[a+2208>>2];f=u+q[d+8>>2]|0;j=q[d+12>>2]+q[a+2212>>2]|0;j=f>>>0>>0?j+1|0:j;j:{if((c|0)==(j|0)&g>>>0<=f>>>0|c>>>0>>0){qi(e+1216|0,0,120);f=a- -64|0;j=q[f+4>>2];c=e+1272|0;q[c>>2]=q[f>>2];q[c+4>>2]=j;f=q[a+60>>2];c=e+1264|0;q[c>>2]=q[a+56>>2];q[c+4>>2]=f;f=q[a+52>>2];c=e+1256|0;q[c>>2]=q[a+48>>2];q[c+4>>2]=f;f=q[a+44>>2];c=e+1248|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=f;f=q[a+36>>2];c=e+1240|0;q[c>>2]=q[a+32>>2];q[c+4>>2]=f;f=q[a+28>>2];c=e+1232|0;q[c>>2]=q[a+24>>2];q[c+4>>2]=f;c=q[a+20>>2];q[t>>2]=q[a+16>>2];q[t+4>>2]=c;c=q[a+12>>2];q[e+1216>>2]=q[a+8>>2];q[e+1220>>2]=c;q[e+1280>>2]=tG(q[d+84>>2],a+72|0);c=q[a+2204>>2];q[e+1288>>2]=q[a+2200>>2];q[e+1292>>2]=c;c=a+2208|0;f=q[c+4>>2];q[e+1296>>2]=q[c>>2];q[e+1300>>2]=f;c=q[a+2220>>2];q[e+1304>>2]=q[a+2216>>2];q[e+1308>>2]=c;c=q[a+2228>>2];q[e+1312>>2]=q[a+2224>>2];q[e+1316>>2]=c;rz(l,q[a>>2],q[a+4>>2],e+1216|0);break j}hz(q[d>>2],q[a+2200>>2],q[a+2204>>2],e+1216|0);if(!Zk(e+1216|0)){break j}q[e+32>>2]=e+1216;mi(3,150860,151876,e+32|0);o[d+88|0]=1}m=m+1|0;if((v|0)!=(m|0)){continue}break}}ki(h);Qj(k)}q[b>>2]=d;a=0}fi=e+2240|0;return a}J(152303,152250,447,152314);G()}function LO(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,p=0;i=fi-2512|0;fi=i;q[a+28>>2]=1;q[a+16>>2]=b;q[a+20>>2]=b;q[a+24>>2]=b+c;a:{b:{c:{if(!d){break c}c=q[a>>2];f=q[a+4>>2];d:{if(c>>>0>=f>>>0){d=c;c=0;break d}d=c+1|0;q[a>>2]=d;c=r[c|0]}e:{if(d>>>0>=f>>>0){e=d;break e}e=d+1|0;q[a>>2]=e;g=r[d|0]}if(e>>>0>=f>>>0){q[212945]=154821;break b}if(((c<<8|g)>>>0)%31|0){q[212945]=154821;break b}if(g&32){q[212945]=154821;break b}if((c&15)==8){break c}q[212945]=154821;break b}q[a+8>>2]=0;q[a+12>>2]=0;m=a+2052|0;n=a+32|0;d=0;while(1){l=q[a+12>>2];c=d;f:{if((d|0)>0){break f}while(1){if(l>>>d|0){q[a>>2]=q[a+4>>2];c=d;break f}c=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}l=e<>2]=l;c=d+8|0;q[a+8>>2]=c;e=(d|0)<17;d=c;if(e){continue}break}}e=l>>>1|0;q[a+12>>2]=e;d=c-1|0;q[a+8>>2]=d;g=d;g:{if((c|0)>2){break g}while(1){if(e>>>d|0){q[a>>2]=q[a+4>>2];g=d;break g}c=a;f=q[a>>2];if(f>>>0>2]){q[a>>2]=f+1;f=r[f|0]}else{f=0}e=f<>2]=e;g=d+8|0;q[a+8>>2]=g;c=(d|0)<17;d=g;if(c){continue}break}}f=e>>>2|0;q[a+12>>2]=f;c=g-2|0;q[a+8>>2]=c;j=0;h:{i:{j:{switch(e&3){case 0:e=c&7;if(e){d=c;k:{if((e|0)<=(d|0)){break k}while(1){if(f>>>c|0){q[a>>2]=q[a+4>>2];d=c;break k}d=a;g=q[a>>2];if(g>>>0>2]){q[a>>2]=g+1;g=r[g|0]}else{g=0}f=g<>2]=f;d=c+8|0;q[a+8>>2]=d;g=(c|0)<17;c=d;if(g){continue}break}}f=f>>>e|0;q[a+12>>2]=f;c=d-e|0;q[a+8>>2]=c}d=0;l:{m:{n:{o:{p:{q:{if((c|0)>=1){while(1){g=d;o[(i+488|0)+d|0]=f;e=c;c=c-8|0;f=f>>>8|0;d=d+1|0;if((e|0)>8){continue}break}q[a+12>>2]=f;q[a+8>>2]=c;if((e|0)==8){break q}d=154821;break n}if((c|0)>=0){break p}d=154821;break n}if(g>>>0>2){break o}}g=q[a+4>>2];c=q[a>>2];while(1){f=0;if(c>>>0>>0){e=c+1|0;q[a>>2]=e;f=r[c|0];c=e}o[(i+488|0)+d|0]=f;d=d+1|0;if((d|0)!=4){continue}break}}e=r[i+488|0]|r[i+489|0]<<8;d=154821;if((r[i+490|0]|r[i+491|0]<<8)!=(e^65535)){break n}c=q[a>>2];d=154821;if(t[a+4>>2]>>0){break n}g=q[a+24>>2];if(g>>>0>=b+e>>>0){break l}d=154821;if(!q[a+28>>2]){break n}c=q[a+20>>2];f=b-c|0;d=154488;if(e>>>0>(f^-1)>>>0){break n}b=g-c|0;g=e+f|0;if(b>>>0>>0){while(1){d=154488;if((b|0)<0){break n}b=b<<1;if(g>>>0>b>>>0){continue}break}}c=Pl(c,b);if(c){break m}d=154488}q[212945]=d;break b}q[a+20>>2]=c;q[a+24>>2]=b+c;b=c+f|0;q[a+16>>2]=b;c=q[a>>2]}si(b,c,e);q[a>>2]=e+q[a>>2];b=e+q[a+16>>2]|0;break h;case 1:if(!nr(n,155328,288)){break b}if(!nr(m,155616,32)){break b}break i;case 3:break a;default:break j}}e=c;r:{if((g|0)>6){break r}while(1){if(f>>>c|0){q[a>>2]=q[a+4>>2];e=c;break r}b=a;d=q[a>>2];if(d>>>0>2]){q[a>>2]=d+1;d=r[d|0]}else{d=0}f=d<>2]=f;e=c+8|0;q[a+8>>2]=e;b=(c|0)<17;c=e;if(b){continue}break}}d=f>>>5|0;q[a+12>>2]=d;b=e-5|0;q[a+8>>2]=b;g=b;s:{if((e|0)>9){break s}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];g=b;break s}c=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}d=e<>2]=d;g=b+8|0;q[a+8>>2]=g;c=(b|0)<17;b=g;if(c){continue}break}}f=f&31;c=d>>>5|0;q[a+12>>2]=c;b=g-5|0;q[a+8>>2]=b;j=d&31;d=b;t:{if((g|0)>8){break t}while(1){if(c>>>b|0){q[a>>2]=q[a+4>>2];d=b;break t}d=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}c=e<>2]=c;d=b+8|0;q[a+8>>2]=d;e=(b|0)<17;b=d;if(e){continue}break}}k=f+257|0;p=j+1|0;f=c>>>4|0;q[a+12>>2]=f;b=d-4|0;q[a+8>>2]=b;d=0;o[i+15|0]=0;o[i+16|0]=0;o[i+17|0]=0;o[i+18|0]=0;q[i+8>>2]=0;q[i+12>>2]=0;q[i>>2]=0;q[i+4>>2]=0;g=(c&15)+3|0;while(1){e=d;d=f;c=b;u:{if((b|0)>2){break u}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];c=b;break u}c=a;f=q[a>>2];if(f>>>0>2]){q[a>>2]=f+1;f=r[f|0]}else{f=0}d=f<>2]=d;c=b+8|0;q[a+8>>2]=c;f=(b|0)<17;b=c;if(f){continue}break}}f=d>>>3|0;q[a+12>>2]=f;b=c-3|0;q[a+8>>2]=b;o[r[e+155648|0]+i|0]=d&7;d=e+1|0;if((e|0)!=(g|0)){continue}break}j=0;b=0;v:{if(!nr(i+488|0,i,19)){break v}e=k+p|0;c=0;while(1){b=kw(a,i+488|0);if(b>>>0>=19){q[212945]=154821;b=0;break v}g=e;w:{if((b|0)<=15){o[(i+32|0)+c|0]=b;c=c+1|0;break w}x:{y:{z:{switch(b-16|0){case 0:d=q[a+12>>2];b=q[a+8>>2];f=b;A:{if((b|0)>1){break A}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break A}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>2;q[a+8>>2]=f-2;if(!c){q[212945]=154821;b=0;break v}b=(d&3)+3|0;d=r[(c+i|0)+31|0];break x;case 1:d=q[a+12>>2];b=q[a+8>>2];f=b;B:{if((b|0)>2){break B}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break B}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>3;q[a+8>>2]=f-3;b=(d&7)+3|0;break y;default:break z}}d=q[a+12>>2];b=q[a+8>>2];f=b;C:{if((b|0)>6){break C}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break C}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>7;q[a+8>>2]=f-7;b=(d&127)+11|0}d=0}if((e-c|0)<(b|0)){q[212945]=154821;b=0;break v}qi((i+32|0)+c|0,d,b);c=b+c|0}if((g|0)>(c|0)){continue}break}if((c|0)!=(e|0)){q[212945]=154821;b=0;break v}b=0;if(!nr(n,i+32|0,k)){break v}b=(nr(m,k+(i+32|0)|0,p)|0)!=0}if(!b){break a}}b=q[a+16>>2];D:{while(1){E:{d=kw(a,n);if((d|0)<=255){if((d|0)<=-1){q[212945]=154821;break b}f=q[a+24>>2];if(f>>>0<=b>>>0){q[a+16>>2]=b;if(!q[a+28>>2]){q[212945]=154821;break b}e=q[a+20>>2];c=b-e|0;if((c|0)==-1){break E}b=f-e|0;if(c>>>0>=b>>>0){while(1){if((b|0)<=-1){q[212945]=154488;break b}b=b<<1;if(c>>>0>=b>>>0){continue}break}}e=Pl(e,b);if(!e){q[212945]=154488;break b}q[a+20>>2]=e;q[a+24>>2]=b+e;b=c+e|0;q[a+16>>2]=b}o[b|0]=d;b=b+1|0;continue}if((d|0)==256){break h}g=d-257<<2;c=q[g+155680>>2];if(d-265>>>0<=19){f=q[a+12>>2];d=q[a+8>>2];e=d;g=q[g+155808>>2];F:{if((g|0)<=(d|0)){break F}while(1){if(f>>>d|0){q[a>>2]=q[a+4>>2];e=d;break F}e=a;j=q[a>>2];if(j>>>0>2]){q[a>>2]=j+1;j=r[j|0]}else{j=0}f=j<>2]=f;e=d+8|0;q[a+8>>2]=e;j=(d|0)<17;d=e;if(j){continue}break}}q[a+12>>2]=f>>>g;q[a+8>>2]=e-g;c=((-1<>2];if(d-4>>>0<=25){f=q[a+12>>2];d=q[a+8>>2];e=d;g=q[g+156064>>2];G:{if((g|0)<=(d|0)){break G}while(1){if(f>>>d|0){q[a>>2]=q[a+4>>2];e=d;break G}e=a;k=q[a>>2];if(k>>>0>2]){q[a>>2]=k+1;h=r[k|0]}else{h=0}f=h<>2]=f;e=d+8|0;q[a+8>>2]=e;k=(d|0)<17;d=e;if(k){continue}break}}q[a+12>>2]=f>>>g;q[a+8>>2]=e-g;j=((-1<>2];d=b-e|0;if((d|0)<(j|0)){q[212945]=154821;break b}f=q[a+24>>2];if(f>>>0>>0){q[a+16>>2]=b;if(!q[a+28>>2]){q[212945]=154821;break b}if((d^-1)>>>0>>0){break D}b=f-e|0;f=c+d|0;if(b>>>0>>0){while(1){if((b|0)<=-1){q[212945]=154488;break b}b=b<<1;if(f>>>0>b>>>0){continue}break}}e=Pl(e,b);if(!e){q[212945]=154488;break b}q[a+20>>2]=e;q[a+24>>2]=b+e;b=d+e|0;q[a+16>>2]=b}d=b-j|0;if((j|0)==1){if(!c){continue}b=qi(b,r[d|0],c)+c|0;continue}if(!c){continue}while(1){o[b|0]=r[d|0];b=b+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}continue}break}q[212945]=154488;break b}q[212945]=154488;break b}q[a+16>>2]=b;if(!(l&1)){d=q[a+8>>2];continue}break}j=1;break a}j=0}fi=i+2512|0;return j}function EG(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=x(0),n=x(0),p=x(0),v=x(0),y=0,z=x(0),A=x(0),B=0,C=x(0),D=x(0),E=x(0),F=0,H=x(0),I=x(0),K=0,L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=0,X=x(0),Y=x(0),Z=0,_=0,$=x(0),aa=x(0),ba=0,ca=x(0),da=0,ea=0,fa=0,ga=x(0),ha=x(0),ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=x(0),ua=x(0),va=x(0),wa=0,xa=x(0),ya=x(0);F=fi-48|0;fi=F;a:{if(o[842428]&1){break a}if(!ui(842428)){break a}if(r[852367]){j=Ri(134957)}else{j=-1}q[210606]=j;ti(842428)}b:{if(o[842436]&1){break b}if(!ui(842436)){break b}if(r[852367]){j=Yi(134966,18)}else{j=0}q[210608]=j;ti(842436)}j=q[210606];c:{if((j|0)!=-1){Qi(F+16|0,j,134966,q[210608]);break c}q[F+16>>2]=0}d:{e:{if(!c){break e}f:{g:{h:{i:{j=c&65535;B=q[a>>2];if(j>>>0>2]-B>>2>>>0){k=q[B+(j<<2)>>2];if(s[k+80>>1]!=(c>>>16|0)){mi(4,134802,135498,0);break e}_=q[k>>2];c=q[k+4>>2]-_|0;if(!c){break e}B=(c|0)/288|0;if(!q[_+264>>2]){l=1;j=B>>>0>1?B:1;while(1){c=l;if((j|0)!=(l|0)){l=c+1|0;if(!q[(w(c,288)+_|0)+264>>2]){continue}}break}if(c>>>0>=B>>>0){break e}}c=t[h>>2]/36|0;if(d>>>0>=B>>>0){break d}j=q[q[k+64>>2]+16>>2];if(t[j+4>>2]<=d>>>0){break i}if(!f|!g){break f}B=q[j>>2];j:{if(o[842564]&1){break j}if(!ui(842564)){break j}if(r[852367]){j=Ri(134957)}else{j=-1}q[210640]=j;ti(842564)}k:{if(o[842572]&1){break k}if(!ui(842572)){break k}if(r[852367]){j=Yi(135830,16)}else{j=0}q[210642]=j;ti(842572)}j=q[210640];l:{if((j|0)!=-1){Qi(F+32|0,j,135830,q[210642]);break l}q[F+32>>2]=0}y=w(d,288)+_|0;q[y+244>>2]=0;q[y+240>>2]=c;ba=q[y+12>>2];da=q[y+24>>2];ea=q[y+28>>2]-da|0;na=(ba|0)!=0&ea>>>0>1;j=B+(d<<7)|0;oa=q[y+8>>2];pa=na&(q[j+108>>2]==1&(oa|0)!=0);ca=x(1);Y=x(1);L=x(1);if(q[j+12>>2]==1){L=u[k+60>>2];R=u[k+56>>2];S=u[k+52>>2];Y=u[k+44>>2];ta=u[k+40>>2];ua=u[k+36>>2];T=u[k+48>>2];va=u[k+32>>2]}fa=q[y+52>>2];l=q[y+48>>2];k=fa-l|0;qa=(g>>>0)/36|0;$=x(1);m:{if(pa){break m}g=w(d,288)+_|0;j=q[g+16>>2];g=q[g+20>>2];if(j>>>0>g>>>0){ca=x(x(x(g>>>0)/x(j>>>0))*x(.5));$=x(.5);break m}if(!g){ca=x(.5);$=x(.5);break m}ca=x(.5);$=x(x(x(j>>>0)/x(g>>>0))*x(.5))}g=(k|0)!=0;j=c;B=j+6|0;if(qa>>>0>>0){break g}j=c;if(!k){break g}W=q[y+4>>2];j=q[y+32>>2];ra=(k|0)/160|0;k=q[y+40>>2];g=q[y+36>>2];if((l|0)!=(fa|0)){ga=x(j>>>0);ma=(ea<<1)-2|0;j=ba-5>>>0<2?ma?ma:1:ea;ga=x(ga/x(j>>>0));sa=W?da:0;wa=W?W:135952;xa=x(b*x(.5));g=(g|0)!=0;K=w(k?g|2:g,24)+135856|0;W=W?j:1;ya=x(W>>>0);da=ba>>>0>6;fa=ba-2|0;j=c;while(1){n:{if(na){k=w(Z,160)+l|0;aa=x(x(u[k+68>>2]-u[k+64>>2])-xa);b=ga;o:{if(da){break o}b=ga;if(!(1<>2]}b=x(x(aa*b)*ya);p:{if(b=x(0)){g=~~b>>>0;break p}g=0}g=(g>>>0)%(W>>>0)|0;g=g>>>0>>0?g:ma-g|0;q:{switch(fa|0){case 0:case 2:g=W+(g^-1)|0;break;default:break q}}C=u[k+128>>2];H=u[k+136>>2];D=u[k+132>>2];if(pa){k=(g+sa<<3)+oa|0;ca=x(u[k+4>>2]*x(.5));$=x(u[k>>2]*x(.5));break n}b=u[k+80>>2];H=x(H*b);D=x(D*b);C=x(C*b);break n}g=w(Z,160)+l|0;b=u[g+80>>2];C=x(u[g+128>>2]*b);H=x(u[g+136>>2]*b);D=x(u[g+132>>2]*b);g=0}l=w(Z,160)+l|0;E=x(Y*u[l>>2]);p=x(Y*u[l+4>>2]);b=x(Y*u[l+8>>2]);z=x(x(x(R*E)+x(L*p))-x(T*b));A=x(x(R*b)+x(x(T*E)+x(S*p)));X=x(x(x(T*p)+x(L*b))-x(S*E));n=x(x(x(L*E)+x(S*b))-x(R*p));ha=x(ta+x(x(T*z)+x(x(x(R*A)+x(L*X))-x(S*n))));V=u[l+40>>2];I=u[l+32>>2];v=u[l+44>>2];p=u[l+36>>2];M=x(x(x(S*V)+x(x(L*I)+x(T*v)))-x(R*p));U=x(Y*C);m=x(U*$);N=x(x(x(T*p)+x(x(L*V)+x(R*v)))-x(S*I));C=x(Y*D);O=x(C*x(0));P=x(x(x(x(L*v)-x(T*I))-x(S*p))-x(R*V));b=x(x(Y*H)*x(0));D=x(M*b);H=x(x(x(m*N)+x(O*P))-D);E=x(b*N);Q=x(x(x(R*I)+x(x(L*p)+x(S*v)))-x(T*V));I=x(E+x(x(m*M)+x(O*Q)));p=x(b*P);v=x(x(x(O*M)+p)-x(m*Q));b=x(b*Q);O=x(x(x(m*P)+b)-x(O*N));ia=x(x(M*H)+x(x(x(N*I)+x(P*v))-x(Q*O)));U=x(U*x(0));C=x(C*ca);D=x(x(x(U*N)+x(C*P))-D);E=x(E+x(x(U*M)+x(C*Q)));p=x(x(x(C*M)+p)-x(U*Q));b=x(x(x(U*P)+b)-x(C*N));ja=x(x(M*D)+x(x(x(N*E)+x(P*p))-x(Q*b)));ka=x(ha+x(ia+ja));la=x(ua+x(x(R*n)+x(x(x(L*z)+x(S*A))-x(T*X))));V=x(x(N*O)+x(x(x(P*H)+x(Q*I))-x(M*v)));m=x(x(N*b)+x(x(x(P*D)+x(Q*E))-x(M*p)));aa=x(la+x(V+m));n=x(va+x(x(S*X)+x(x(x(T*A)+x(L*n))-x(R*z))));v=x(x(Q*v)+x(x(x(M*I)+x(P*O))-x(N*H)));b=x(x(Q*p)+x(x(x(M*E)+x(P*b))-x(N*D)));X=x(n+x(v+b));O=x(ha+x(ia-ja));U=x(la+x(V-m));C=x(n+x(v-b));D=x(ha+x(ja-ia));E=x(la+x(m-V));p=x(n+x(b-v));H=x(ha+x(x(-ia)-ja));I=x(la+x(x(-V)-m));v=x(n+x(x(-v)-b));k=(g+sa<<5)+wa|0;m=x(u[l+112>>2]*u[e>>2]);z=x(u[l+124>>2]*u[e+12>>2]);A=x(u[l+120>>2]*u[e+8>>2]);n=x(u[l+116>>2]*u[e+4>>2]);r:{if(!i){j=w(j,36)+f|0;u[j+24>>2]=z;u[j+20>>2]=A;u[j+16>>2]=n;u[j+12>>2]=m;u[j+8>>2]=H;u[j+4>>2]=I;u[j>>2]=v;g=q[K>>2]<<3;u[j+28>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+60>>2]=z;u[j+56>>2]=A;u[j+52>>2]=n;u[j+48>>2]=m;u[j+44>>2]=D;u[j+40>>2]=E;u[j+36>>2]=p;u[j+32>>2]=b;g=q[K+4>>2]<<3;u[j- -64>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+96>>2]=z;u[j+92>>2]=A;u[j+88>>2]=n;u[j+84>>2]=m;u[j+80>>2]=ka;u[j+76>>2]=aa;u[j+72>>2]=X;u[j+68>>2]=b;g=q[K+8>>2]<<3;u[j+100>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+132>>2]=z;u[j+128>>2]=A;u[j+124>>2]=n;u[j+120>>2]=m;u[j+116>>2]=ka;u[j+112>>2]=aa;u[j+108>>2]=X;u[j+104>>2]=b;g=q[K+12>>2]<<3;u[j+136>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+168>>2]=z;u[j+164>>2]=A;u[j+160>>2]=n;u[j+156>>2]=m;u[j+152>>2]=O;u[j+148>>2]=U;u[j+144>>2]=C;u[j+140>>2]=b;g=q[K+16>>2]<<3;u[j+172>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+204>>2]=z;u[j+200>>2]=A;u[j+196>>2]=n;u[j+192>>2]=m;u[j+188>>2]=H;u[j+184>>2]=I;u[j+180>>2]=v;u[j+176>>2]=b;g=q[K+20>>2]<<3;u[j+208>>2]=u[g+k>>2];u[j+212>>2]=u[k+(g|4)>>2];break r}if((i|0)!=1){break r}j=w(j,36)+f|0;u[j+20>>2]=m;u[j+8>>2]=H;u[j+4>>2]=I;u[j>>2]=v;u[j+32>>2]=z;u[j+28>>2]=A;u[j+24>>2]=n;g=q[K>>2]<<3;u[j+12>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+68>>2]=z;u[j- -64>>2]=A;u[j+60>>2]=n;u[j+56>>2]=m;u[j+44>>2]=D;u[j+40>>2]=E;u[j+36>>2]=p;u[j+16>>2]=b;g=q[K+4>>2]<<3;u[j+48>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+104>>2]=z;u[j+100>>2]=A;u[j+96>>2]=n;u[j+92>>2]=m;u[j+80>>2]=ka;u[j+76>>2]=aa;u[j+72>>2]=X;u[j+52>>2]=b;g=q[K+8>>2]<<3;u[j+84>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+140>>2]=z;u[j+136>>2]=A;u[j+132>>2]=n;u[j+128>>2]=m;u[j+116>>2]=ka;u[j+112>>2]=aa;u[j+108>>2]=X;u[j+88>>2]=b;g=q[K+12>>2]<<3;u[j+120>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+176>>2]=z;u[j+172>>2]=A;u[j+168>>2]=n;u[j+164>>2]=m;u[j+152>>2]=O;u[j+148>>2]=U;u[j+144>>2]=C;u[j+124>>2]=b;g=q[K+16>>2]<<3;u[j+156>>2]=u[g+k>>2];b=u[k+(g|4)>>2];u[j+212>>2]=z;u[j+208>>2]=A;u[j+204>>2]=n;u[j+200>>2]=m;u[j+188>>2]=H;u[j+184>>2]=I;u[j+180>>2]=v;u[j+160>>2]=b;g=q[K+20>>2]<<3;u[j+192>>2]=u[g+k>>2];u[j+196>>2]=u[k+(g|4)>>2]}Z=Z+1|0;g=ra>>>0>Z>>>0;l=B+6|0;if(l>>>0>qa>>>0|Z>>>0>=ra>>>0){break h}j=B;B=l;l=q[y+48>>2];if((q[y+52>>2]-l|0)/160>>>0>Z>>>0){continue}break}}break d}break d}J(135437,135449,260,135487);G()}j=B}s:{if(!g){break s}d=w(d,288)+_|0;if(o[d+280|0]&1){break s}q[F>>2]=q[a+28>>2];q[F+4>>2]=(i|0)==1?135984:q[65900];mi(3,134802,136007,F);o[d+280|0]=r[d+280|0]|1}d=j-q[y+240>>2]|0;q[y+244>>2]=d;if(q[F+32>>2]){Pi(F+32|0)}c=c+d|0}q[h>>2]=w(c,36);q[a+36>>2]=(c>>>0)/6}if(q[F+16>>2]){Pi(F+16|0)}fi=F+48|0;return}J(136114,135222,447,135487);G()}function vI(a){var b=0,c=0;a=a?q[a+120>>2]:0;c=q[a+8>>2]-q[a+12>>2]>>4;Vl(a,187729,187740,287504);q[213955]=Vl(a,187748,187768,287536);q[213956]=Vl(a,187431,187776,287600);ek(a,187784,287648);Bi(a,187788,8);pi(a,-2,187797);Bi(a,187811,8);pi(a,-2,187820);Bi(a,187834,5);pi(a,-2,187840);Bi(a,187851,5);pi(a,-2,187857);Bi(a,187868,7);pi(a,-2,187876);Bi(a,187889,6);pi(a,-2,187896);Bi(a,187908,4);pi(a,-2,187913);Bi(a,187923,10);pi(a,-2,187934);Bi(a,187950,12);pi(a,-2,187963);Bi(a,187981,6);pi(a,-2,187988);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188e3);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188012);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188022);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188033);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188046);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188060);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188074);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188089);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188106);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188123);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188138);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188154);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188172);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=9;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188190);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=10;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188205);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=11;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188221);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=12;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188239);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=13;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188257);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=14;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188272);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=15;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188288);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=16;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188306);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=17;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188324);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=18;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188338);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=19;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188353);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=20;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188370);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=21;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188387);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=22;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188401);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=23;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188416);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=24;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188433);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=25;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188450);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=26;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188464);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=27;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188479);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=28;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188496);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=29;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188513);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=30;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188530);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=31;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188548);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=32;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188568);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=33;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188588);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=34;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188602);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=35;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188617);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=36;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188634);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=37;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188651);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=38;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188667);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=39;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188684);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=40;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188703);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188722);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188734);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188744);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188760);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188771);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188790);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188812);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188834);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188859);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188879);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188902);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188914);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188926);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188939);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188950);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188964);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188977);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188985);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,188994);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189002);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189011);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189019);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189028);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189036);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189045);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189056);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189068);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189083);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189105);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189128);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189151);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189173);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189196);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189219);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189239);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189257);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189287);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-9;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189311);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189329);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,189346);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(189361,187364,4686,189382);G()}return a}function Pta(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0,w=0;j=fi-352|0;fi=j;if(!q[a>>2]){k=j+328|0;q[k>>2]=0;q[k+4>>2]=0;q[k+16>>2]=0;q[k+20>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;p=Pm(j+288|0);s=Pm(j+248|0);u=Pm(j+208|0);v=Pm(j+168|0);a:{if(!Kv(k,c,d)){break a}if(!en(k,p)){break a}if(!en(k,s)){break a}if(!en(k,u)){break a}if(!en(k,v)|!q[p+4>>2]|(!q[s+4>>2]|!q[u+4>>2])){break a}if(!q[v+4>>2]){break a}c=qk(k,1);l=a+4|0;usa(l,b);d=j+160|0;o[d+3|0]=0;o[d+2|0]=16;o[d+1|0]=16;o[d|0]=16;b:{if(!b){break b}w=c?1:3;if(!c){c=0;while(1){h=Gl(k,v);o[Yn(l,c)+4|0]=h+n&7;n=r[Yn(l,c)+4|0];h=0;while(1){m=k;if(r[Cj(d,h)|0]>=10){i=r[Cj(d,h)|0]<22?s:u}else{i=p}i=Gl(m,i)+r[Cj(d,h)|0]&31;o[Cj(Yn(l,c),h)|0]=i;o[Cj(d,h)|0]=i;h=h+1|0;if((w|0)!=(h|0)){continue}break}c=c+1|0;if((c|0)!=(b|0)){continue}break}break b}c=0;while(1){h=Gl(k,v);o[Yn(l,c)+4|0]=h+n&7;n=r[Yn(l,c)+4|0];h=0;while(1){m=k;if(r[Cj(d,h)|0]>=10){i=r[Cj(d,h)|0]<22?s:u}else{i=p}i=Gl(m,i)+r[Cj(d,h)|0]&31;o[Cj(Yn(l,c),h)|0]=i;o[Cj(d,h)|0]=i;h=h+1|0;if((w|0)!=(h|0)){continue}break}h=r[Cj(Yn(l,c),0)|0];o[Cj(Yn(l,c),1)|0]=h;h=r[Cj(Yn(l,c),0)|0];o[Cj(Yn(l,c),2)|0]=h;c=c+1|0;if((c|0)!=(b|0)){continue}break}}h=0;i=a+16|0;rsa(i,e);if(!Kv(k,f,g)){break a}m=Pm(j+120|0);c:{d:{e:{if((qk(k,1)|0)==1){d=qk(k,4);f=qk(k,4);c=Pm(j+80|0);if(f){if(!en(k,c)|!q[c+4>>2]){break d}}f:{g:{if(!e){break g}n=1;if(!d){while(1){d=0;if(f){d=Gl(k,c)}if(!q[q[a+28>>2]+4>>2]){break f}Fv(j+40|0,q[a+28>>2],0,Gv(j+24|0,d));Li(Ii(i,h),0,0,mj(j+40|0,0));Li(Ii(i,h),1,0,mj(j+40|0,1));Li(Ii(i,h),2,0,mj(j+40|0,2));Li(Ii(i,h),3,0,mj(j+40|0,3));Li(Ii(i,h),0,1,mj(j+40|0,4));Li(Ii(i,h),1,1,mj(j+40|0,5));Li(Ii(i,h),2,1,mj(j+40|0,6));Li(Ii(i,h),3,1,mj(j+40|0,7));Li(Ii(i,h),0,2,mj(j+40|0,8));Li(Ii(i,h),1,2,mj(j+40|0,9));Li(Ii(i,h),2,2,mj(j+40|0,10));Li(Ii(i,h),3,2,mj(j+40|0,11));Li(Ii(i,h),0,3,mj(j+40|0,12));Li(Ii(i,h),1,3,mj(j+40|0,13));Li(Ii(i,h),2,3,mj(j+40|0,14));Li(Ii(i,h),3,3,mj(j+40|0,15));$q(Ii(i,h));h=h+1|0;n=h>>>0>>0;if((e|0)!=(h|0)){continue}break g}}while(1){g=qk(k,d);b=0;if(f){b=Gl(k,c)}if(g>>>0>=t[q[a+28>>2]+4>>2]){break f}Fv(j+40|0,q[a+28>>2],g,Gv(j+24|0,b));Li(Ii(i,h),0,0,mj(j+40|0,0));Li(Ii(i,h),1,0,mj(j+40|0,1));Li(Ii(i,h),2,0,mj(j+40|0,2));Li(Ii(i,h),3,0,mj(j+40|0,3));Li(Ii(i,h),0,1,mj(j+40|0,4));Li(Ii(i,h),1,1,mj(j+40|0,5));Li(Ii(i,h),2,1,mj(j+40|0,6));Li(Ii(i,h),3,1,mj(j+40|0,7));Li(Ii(i,h),0,2,mj(j+40|0,8));Li(Ii(i,h),1,2,mj(j+40|0,9));Li(Ii(i,h),2,2,mj(j+40|0,10));Li(Ii(i,h),3,2,mj(j+40|0,11));Li(Ii(i,h),0,3,mj(j+40|0,12));Li(Ii(i,h),1,3,mj(j+40|0,13));Li(Ii(i,h),2,3,mj(j+40|0,14));Li(Ii(i,h),3,3,mj(j+40|0,15));$q(Ii(i,h));h=h+1|0;n=h>>>0>>0;if((e|0)!=(h|0)){continue}break}}xn(c);break e}xn(c);h=0;if(!n){break e}break c}if((qk(k,1)|0)==1){n=qk(k,4);l=qk(k,4);d=1;g=Pm(j+80|0);if(!(!en(k,g)|!q[g+4>>2])){f=Pm(j+40|0);h:{if(l){if(!en(k,f)|!q[f+4>>2]){break h}}i:{if(!e){break i}if(!n){d=0;b=0;while(1){if(!d){d=8;b=Gl(k,g)}j:{if(!(b&1)){c=qk(k,8);Li(Ii(i,h),0,0,c&3);Li(Ii(i,h),1,0,c>>>2&3);Li(Ii(i,h),2,0,c>>>4&3);Li(Ii(i,h),3,0,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,1,c&3);Li(Ii(i,h),1,1,c>>>2&3);Li(Ii(i,h),2,1,c>>>4&3);Li(Ii(i,h),3,1,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,2,c&3);Li(Ii(i,h),1,2,c>>>2&3);Li(Ii(i,h),2,2,c>>>4&3);Li(Ii(i,h),3,2,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,3,c&3);Li(Ii(i,h),1,3,c>>>2&3);Li(Ii(i,h),2,3,c>>>4&3);Li(Ii(i,h),3,3,c>>>6&3);break j}if(l){c=Gl(k,f)}else{c=0}if(!q[q[a+28>>2]+4>>2]){d=1;break h}Fv(j+24|0,q[a+28>>2],0,Gv(j+8|0,c));Li(Ii(i,h),0,0,mj(j+24|0,0));Li(Ii(i,h),1,0,mj(j+24|0,1));Li(Ii(i,h),2,0,mj(j+24|0,2));Li(Ii(i,h),3,0,mj(j+24|0,3));Li(Ii(i,h),0,1,mj(j+24|0,4));Li(Ii(i,h),1,1,mj(j+24|0,5));Li(Ii(i,h),2,1,mj(j+24|0,6));Li(Ii(i,h),3,1,mj(j+24|0,7));Li(Ii(i,h),0,2,mj(j+24|0,8));Li(Ii(i,h),1,2,mj(j+24|0,9));Li(Ii(i,h),2,2,mj(j+24|0,10));Li(Ii(i,h),3,2,mj(j+24|0,11));Li(Ii(i,h),0,3,mj(j+24|0,12));Li(Ii(i,h),1,3,mj(j+24|0,13));Li(Ii(i,h),2,3,mj(j+24|0,14));Li(Ii(i,h),3,3,mj(j+24|0,15))}b=b>>>1|0;d=d-1|0;$q(Ii(i,h));h=h+1|0;if((h|0)!=(e|0)){continue}break}break i}d=0;b=0;while(1){if(!d){d=8;b=Gl(k,g)}k:{if(!(b&1)){c=qk(k,8);Li(Ii(i,h),0,0,c&3);Li(Ii(i,h),1,0,c>>>2&3);Li(Ii(i,h),2,0,c>>>4&3);Li(Ii(i,h),3,0,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,1,c&3);Li(Ii(i,h),1,1,c>>>2&3);Li(Ii(i,h),2,1,c>>>4&3);Li(Ii(i,h),3,1,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,2,c&3);Li(Ii(i,h),1,2,c>>>2&3);Li(Ii(i,h),2,2,c>>>4&3);Li(Ii(i,h),3,2,c>>>6&3);c=qk(k,8);Li(Ii(i,h),0,3,c&3);Li(Ii(i,h),1,3,c>>>2&3);Li(Ii(i,h),2,3,c>>>4&3);Li(Ii(i,h),3,3,c>>>6&3);break k}w=qk(k,n);if(l){c=Gl(k,f)}else{c=0}if(w>>>0>=t[q[a+28>>2]+4>>2]){d=1;break h}Fv(j+24|0,q[a+28>>2],w,Gv(j+8|0,c));Li(Ii(i,h),0,0,mj(j+24|0,0));Li(Ii(i,h),1,0,mj(j+24|0,1));Li(Ii(i,h),2,0,mj(j+24|0,2));Li(Ii(i,h),3,0,mj(j+24|0,3));Li(Ii(i,h),0,1,mj(j+24|0,4));Li(Ii(i,h),1,1,mj(j+24|0,5));Li(Ii(i,h),2,1,mj(j+24|0,6));Li(Ii(i,h),3,1,mj(j+24|0,7));Li(Ii(i,h),0,2,mj(j+24|0,8));Li(Ii(i,h),1,2,mj(j+24|0,9));Li(Ii(i,h),2,2,mj(j+24|0,10));Li(Ii(i,h),3,2,mj(j+24|0,11));Li(Ii(i,h),0,3,mj(j+24|0,12));Li(Ii(i,h),1,3,mj(j+24|0,13));Li(Ii(i,h),2,3,mj(j+24|0,14));Li(Ii(i,h),3,3,mj(j+24|0,15))}b=b>>>1|0;d=d-1|0;$q(Ii(i,h));h=h+1|0;if((h|0)!=(e|0)){continue}break}}d=0}xn(f)}xn(g);h=0;if(!d){break e}break c}if((qk(k,1)|0)==1){if(!e){break e}while(1){a=qk(k,8);Li(Ii(i,h),0,0,a&3);Li(Ii(i,h),1,0,a>>>2&3);Li(Ii(i,h),2,0,a>>>4&3);Li(Ii(i,h),3,0,a>>>6&3);a=qk(k,8);Li(Ii(i,h),0,1,a&3);Li(Ii(i,h),1,1,a>>>2&3);Li(Ii(i,h),2,1,a>>>4&3);Li(Ii(i,h),3,1,a>>>6&3);a=qk(k,8);Li(Ii(i,h),0,2,a&3);Li(Ii(i,h),1,2,a>>>2&3);Li(Ii(i,h),2,2,a>>>4&3);Li(Ii(i,h),3,2,a>>>6&3);a=qk(k,8);Li(Ii(i,h),0,3,a&3);Li(Ii(i,h),1,3,a>>>2&3);Li(Ii(i,h),2,3,a>>>4&3);Li(Ii(i,h),3,3,a>>>6&3);$q(Ii(i,h));h=h+1|0;if((h|0)!=(e|0)){continue}break}break e}if(!en(k,m)){break c}l:{if(e>>>0>=2){if(q[m+4>>2]){break l}break c}if(!e){break e}}d=0;b=0;f=0;g=0;while(1){c=i;m:{if(h){g=Gl(k,m)^g&255;Li(Ii(i,h),0,0,g&3);Li(Ii(i,h),1,0,g>>>2&3);Li(Ii(i,h),2,0,g>>>4&3);Li(Ii(i,h),3,0,g>>>6&3);f=Gl(k,m)^f&255;Li(Ii(i,h),0,1,f&3);Li(Ii(i,h),1,1,f>>>2&3);Li(Ii(i,h),2,1,f>>>4&3);Li(Ii(i,h),3,1,f>>>6&3);b=Gl(k,m)^b&255;Li(Ii(i,h),0,2,b&3);Li(Ii(i,h),1,2,b>>>2&3);Li(Ii(i,h),2,2,b>>>4&3);Li(Ii(i,h),3,2,b>>>6&3);d=Gl(k,m)^d&255;a=h;break m}g=qk(k,8);Li(Ii(i,0),0,0,g&3);Li(Ii(i,0),1,0,g>>>2&3);Li(Ii(i,0),2,0,g>>>4&3);Li(Ii(i,0),3,0,g>>>6&3);f=qk(k,8);Li(Ii(i,0),0,1,f&3);Li(Ii(i,0),1,1,f>>>2&3);Li(Ii(i,0),2,1,f>>>4&3);Li(Ii(i,0),3,1,f>>>6&3);b=qk(k,8);Li(Ii(i,0),0,2,b&3);Li(Ii(i,0),1,2,b>>>2&3);Li(Ii(i,0),2,2,b>>>4&3);Li(Ii(i,0),3,2,b>>>6&3);d=qk(k,8);a=0}Li(Ii(c,a),0,3,d&3);Li(Ii(i,a),1,3,d>>>2&3);Li(Ii(i,a),2,3,d>>>4&3);Li(Ii(i,a),3,3,d>>>6&3);$q(Ii(i,a));h=h+1|0;if((h|0)!=(e|0)){continue}break}}h=1;break c}xn(c)}xn(m)}xn(v);xn(u);xn(s);xn(p)}fi=j+352|0;return h}function FD(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;d=fi-128|0;fi=d;q[d+80>>2]=0;q[d+84>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;q[d+108>>2]=0;q[d+112>>2]=0;q[d+116>>2]=0;q[d+120>>2]=0;q[d+124>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;qi(a+4|0,0,272);i=d- -64|0;a:{b:{if(!((c|0)==256|(c|0)==192)){e=-36;if((c|0)!=128){break a}q[a>>2]=3;v=1;e=16;break b}q[a>>2]=4;k=1;e=c>>>3|0}si(i,b,e);e=r[d+80|0];c:{if((c|0)!=192){i=r[d+83|0];l=r[d+82|0];j=r[d+81|0];break c}o[d+88|0]=e^-1;j=r[d+81|0];o[d+89|0]=j^-1;l=r[d+82|0];o[d+90|0]=l^-1;i=r[d+83|0];o[d+91|0]=i^-1;o[d+92|0]=r[d+84|0]^-1;o[d+93|0]=r[d+85|0]^-1;o[d+94|0]=r[d+86|0]^-1;o[d+95|0]=r[d+87|0]^-1}m=d+56|0;q[m>>2]=0;q[m+4>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;b=q[d+64>>2];q[d>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=q[d+68>>2];q[d+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=q[d+88>>2];f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+24>>2]=f;b=q[d+72>>2];g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+8>>2]=g;b=q[d+84>>2];h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+20>>2]=h;b=q[d+76>>2];s=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+12>>2]=s;b=q[d+92>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+28>>2]=b;e=i&255|((j&255)<<16|e<<24|(l&255)<<8);q[d+16>>2]=e;q[d+40>>2]=f^g;q[d+44>>2]=b^s;b=e^q[d>>2];q[d+32>>2]=b;e=h^q[d+4>>2];q[d+36>>2]=e;i=b;b=d+40|0;bn(i,e,-1600231809,1003262091,b);e=d+32|0;bn(q[d+40>>2],q[d+44>>2],-1233459112,1286239154,e);i=q[d+32>>2]^q[d>>2];q[d+32>>2]=i;l=q[d+36>>2]^q[d+4>>2];q[d+36>>2]=l;q[d+40>>2]=q[d+40>>2]^q[d+8>>2];q[d+44>>2]=q[d+44>>2]^q[d+12>>2];bn(i,l,-957401297,-380665154,b);bn(q[d+40>>2],q[d+44>>2],1426019237,-237801700,e);if(c>>>0>=129){b=q[d+32>>2]^q[d+16>>2];q[d+48>>2]=b;e=q[d+36>>2]^q[d+20>>2];q[d+52>>2]=e;q[d+56>>2]=q[d+40>>2]^q[d+24>>2];q[d+60>>2]=q[d+44>>2]^q[d+28>>2];bn(b,e,283453434,-563598051,m);bn(q[d+56>>2],q[d+60>>2],-1336506174,-1276722691,d+48|0)}e=q[d+12>>2];f=q[d>>2];m=e<<15|f>>>17;g=q[d+8>>2];l=g<<15|e>>>17;h=q[d+4>>2];j=h<<15|g>>>17;if(!k){x=h<<30|g>>>2;y=f<<30|h>>>2;t=e<<30|f>>>2;n=g<<30|e>>>2}b=a+4|0;p=w(k,80);i=p+147936|0;q[b+(o[i|0]<<2)>>2]=f;q[b+(o[i+1|0]<<2)>>2]=h;q[b+(o[i+2|0]<<2)>>2]=g;q[b+(o[i+3|0]<<2)>>2]=e;q[b+(o[i+4|0]<<2)>>2]=f<<15|h>>>17;q[b+(o[i+5|0]<<2)>>2]=j;q[b+(o[i+6|0]<<2)>>2]=l;q[b+(o[i+7|0]<<2)>>2]=m;u=f<<28|h>>>4;m=e<<13|f>>>19;s=g<<13|e>>>19;l=h<<13|g>>>19;i=f<<13|h>>>19;if(!k){j=p+147936|0;q[b+(o[j+8|0]<<2)>>2]=y;q[b+(o[j+9|0]<<2)>>2]=x;q[b+(o[j+10|0]<<2)>>2]=n;q[b+(o[j+11|0]<<2)>>2]=t}j=e<<28|f>>>4;t=g<<28|e>>>4;n=h<<28|g>>>4;e=p+147936|0;q[b+(o[e+12|0]<<2)>>2]=i;q[b+(o[e+13|0]<<2)>>2]=l;q[b+(o[e+14|0]<<2)>>2]=s;q[b+(o[e+15|0]<<2)>>2]=m;q[b+(o[e+16|0]<<2)>>2]=u;if(!v){e=a+4|0;b=w(k,80)+147936|0;q[e+(o[b+17|0]<<2)>>2]=n;q[e+(o[b+18|0]<<2)>>2]=t}q[((o[(w(k,80)+147936|0)+19|0]<<2)+a|0)+4>>2]=j;if(!(v|c>>>0<=128)){b=q[d+28>>2];e=q[d+24>>2];f=q[d+20>>2];g=q[d+16>>2];h=k|v;if(!h){m=b<<13|g>>>19;s=e<<13|b>>>19;l=f<<13|e>>>19;i=g<<13|f>>>19}if(!h){q[((o[(w(k,80)+147936|0)+20|0]<<2)+a|0)+4>>2]=g}if(!h){q[((o[w(k,80)+147957|0]<<2)+a|0)+4>>2]=f}if(!h){q[((o[w(k,80)+147958|0]<<2)+a|0)+4>>2]=e}if(!h){q[((o[w(k,80)+147959|0]<<2)+a|0)+4>>2]=b}n=a+4|0;t=w(k,80);j=t+147936|0;q[n+(o[j+24|0]<<2)>>2]=g<<15|f>>>17;q[n+(o[j+25|0]<<2)>>2]=f<<15|e>>>17;q[n+(o[j+26|0]<<2)>>2]=e<<15|b>>>17;q[n+(o[j+27|0]<<2)>>2]=b<<15|g>>>17;q[n+(o[j+28|0]<<2)>>2]=g<<30|f>>>2;q[n+(o[j+29|0]<<2)>>2]=f<<30|e>>>2;q[n+(o[j+30|0]<<2)>>2]=e<<30|b>>>2;q[n+(o[j+31|0]<<2)>>2]=b<<30|g>>>2;if(!h){q[((o[t+147968|0]<<2)+a|0)+4>>2]=i}if(!h){q[((o[w(k,80)+147969|0]<<2)+a|0)+4>>2]=l}if(!h){q[((o[w(k,80)+147970|0]<<2)+a|0)+4>>2]=s}j=b<<28|g>>>4;t=e<<28|b>>>4;n=f<<28|e>>>4;u=g<<28|f>>>4;if(!h){q[((o[w(k,80)+147971|0]<<2)+a|0)+4>>2]=m}e=a+4|0;b=w(k,80)+147936|0;q[e+(o[b+36|0]<<2)>>2]=u;q[e+(o[b+37|0]<<2)>>2]=n;q[e+(o[b+38|0]<<2)>>2]=t;q[e+(o[b+39|0]<<2)>>2]=j}e=q[d+32>>2];m=e>>>19|0;f=q[d+44>>2];l=f<<13;g=q[d+40>>2];s=g<<13;h=q[d+36>>2];p=h<<13;if(!k){i=a+4|0;b=w(k,80)+147936|0;q[i+(o[b+40|0]<<2)>>2]=e;q[i+(o[b+41|0]<<2)>>2]=h;q[i+(o[b+42|0]<<2)>>2]=g;q[i+(o[b+43|0]<<2)>>2]=f;t=g<<28|f>>>4;n=h<<28|g>>>4;u=e<<28|h>>>4;j=f<<28|e>>>4}m=l|m;i=s|f>>>19;l=p|g>>>19;s=e<<13|h>>>19;b=a+4|0;x=w(k,80);p=x+147936|0;q[b+(o[p+44|0]<<2)>>2]=e<<15|h>>>17;q[b+(o[p+45|0]<<2)>>2]=h<<15|g>>>17;q[b+(o[p+46|0]<<2)>>2]=g<<15|f>>>17;q[b+(o[p+47|0]<<2)>>2]=f<<15|e>>>17;q[b+(o[p+48|0]<<2)>>2]=e<<30|h>>>2;q[b+(o[p+49|0]<<2)>>2]=h<<30|g>>>2;q[b+(o[p+50|0]<<2)>>2]=g<<30|f>>>2;q[b+(o[p+51|0]<<2)>>2]=f<<30|e>>>2;d:{if(!v){e=x+147936|0;q[b+(o[e+52|0]<<2)>>2]=s;q[b+(o[e+53|0]<<2)>>2]=l;q[b+(o[e+54|0]<<2)>>2]=i;b=e+55|0;e=m;break d}b=x+147936|0;q[((o[b+53|0]<<2)+a|0)+4>>2]=l;b=b+54|0;e=i}q[((o[b|0]<<2)+a|0)+4>>2]=e;if(!k){e=a+4|0;b=w(k,80)+147936|0;q[e+(o[b+56|0]<<2)>>2]=u;q[e+(o[b+57|0]<<2)>>2]=n;q[e+(o[b+58|0]<<2)>>2]=t;q[e+(o[b+59|0]<<2)>>2]=j}if(!(v|c>>>0<=128)){e=q[d+60>>2];f=q[d+48>>2];n=e<<30|f>>>2;g=q[d+56>>2];t=g<<30|e>>>2;j=q[d+52>>2];p=j<<30|g>>>2;h=k|v;if(!h){m=e<<13|f>>>19;l=j<<13|g>>>19;s=f<<13|j>>>19;i=g<<13|e>>>19}c=a+4|0;u=w(k,80);b=u+147936|0;q[c+(o[b+60|0]<<2)>>2]=f;q[c+(o[b+61|0]<<2)>>2]=j;q[c+(o[b+62|0]<<2)>>2]=g;q[c+(o[b+63|0]<<2)>>2]=e;q[c+(o[b- -64|0]<<2)>>2]=f<<15|j>>>17;q[c+(o[b+65|0]<<2)>>2]=j<<15|g>>>17;q[c+(o[b+66|0]<<2)>>2]=g<<15|e>>>17;q[c+(o[b+67|0]<<2)>>2]=e<<15|f>>>17;q[c+(o[b+68|0]<<2)>>2]=f<<30|j>>>2;q[c+(o[b+69|0]<<2)>>2]=p;q[c+(o[b+70|0]<<2)>>2]=t;q[c+(o[b+71|0]<<2)>>2]=n;if(!h){q[((o[u+148008|0]<<2)+a|0)+4>>2]=s}if(!h){q[((o[w(k,80)+148009|0]<<2)+a|0)+4>>2]=l}if(!h){q[((o[w(k,80)+148010|0]<<2)+a|0)+4>>2]=i}if(!h){q[((o[w(k,80)+148011|0]<<2)+a|0)+4>>2]=m}c=a+4|0;b=w(k,80)+147936|0;q[c+(o[b+76|0]<<2)>>2]=f<<28|j>>>4;q[c+(o[b+77|0]<<2)>>2]=j<<28|g>>>4;q[c+(o[b+78|0]<<2)>>2]=g<<28|e>>>4;q[c+(o[b+79|0]<<2)>>2]=e<<28|f>>>4}b=a+4|0;m=w(k,12);l=m|32;c=b+(l<<2)|0;i=w(k,20);e=i+148096|0;q[c>>2]=q[b+(o[e|0]<<2)>>2];m=m<<2;q[b+(m|132)>>2]=q[b+(o[e+1|0]<<2)>>2];q[b+(m|136)>>2]=q[b+(o[e+2|0]<<2)>>2];q[b+(m|140)>>2]=q[b+(o[e+3|0]<<2)>>2];if(!v){e=i+148096|0;q[c+16>>2]=q[b+(o[e+4|0]<<2)>>2];q[c+20>>2]=q[b+(o[e+5|0]<<2)>>2];q[c+24>>2]=q[b+(o[e+6|0]<<2)>>2];q[c+28>>2]=q[b+(o[e+7|0]<<2)>>2]}e=i+148096|0;q[c+32>>2]=q[b+(o[e+8|0]<<2)>>2];q[c+36>>2]=q[b+(o[e+9|0]<<2)>>2];q[c+40>>2]=q[b+(o[e+10|0]<<2)>>2];q[c+44>>2]=q[b+(o[e+11|0]<<2)>>2];e=0;if(k){break a}a=a+4|0;b=a+(l<<2)|0;c=w(k,20)+148096|0;q[b+48>>2]=q[a+(o[c+12|0]<<2)>>2];q[b+52>>2]=q[a+(o[c+13|0]<<2)>>2];q[b+56>>2]=q[a+(o[c+14|0]<<2)>>2];q[b+60>>2]=q[a+(o[c+15|0]<<2)>>2];q[b- -64>>2]=q[a+(o[c+16|0]<<2)>>2];q[b+68>>2]=q[a+(o[c+17|0]<<2)>>2];q[b+72>>2]=q[a+(o[c+18|0]<<2)>>2];q[b+76>>2]=q[a+(o[c+19|0]<<2)>>2]}fi=d+128|0;return e}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,m=0,n=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;i=196016;a:{b:{if(!a){if(b){q[b>>2]=0}i=-2;break b}q[a+120>>2]=b;q[a+112>>2]=196016;q[a+132>>2]=196016;q[a+124>>2]=0;q[a+116>>2]=0;j=b?q[b>>2]:j;q[a+140>>2]=0;q[a+136>>2]=j;q[a+128>>2]=4;C=a;c:{d:{if(!(q[a+108>>2]|!q[a>>2])){c=q[a+104>>2];e:{if(!b){break e}}break d}if(b){q[b>>2]=0}i=-2;break c}q[a+104>>2]=c|1;c=q[a+92>>2];if(!(q[a+96>>2]?0:!c)){if(b){q[b>>2]=0}i=!c&q[a+96>>2]!=0;break c}D=a+37490|0;E=a+103018|0;v=a+144|0;b=196016;f:{g:{h:{while(1){i:{j:{k:{l:{if(!j){c=q[a+32>>2];if(!c){break g}k=q[a+36>>2];if(k+c>>>0>1){break l}j=0;break j}c=q[a+32>>2];k=q[a+36>>2];if(c+k>>>0>1){break l}e=c>>>0>258?c:258;while(1){if((c|0)==(e|0)){c=e;break j}m=q[a+28>>2];f=m+c|0;d=f&32767;g=r[b|0];o[(d+a|0)+144|0]=g;if(d>>>0<=256){o[((d|32768)+a|0)+144|0]=g}j=j-1|0;c=c+1|0;q[a+32>>2]=c;if(c+k>>>0>=3){d=f-2|0;h=d&32767;f=(((r[h+v|0]<<10&31744^(g^r[(f-1&32767)+v|0]<<5))<<1)+a|0)+168562|0;p[((h<<1)+a|0)+103026>>1]=s[f>>1];p[f>>1]=d}b=b+1|0;if(j){continue}break}j=0;break k}m=q[a+28>>2];e=m+c|0;g=r[(e-1&32767)+v|0];f=e-2|0;h=r[(f&32767)+v|0];t=c;c=258-c|0;d=c>>>0>j>>>0?j:c;c=t+d|0;q[a+32>>2]=c;j=j-d|0;if(!d){break k}d=b+d|0;g=g^h<<5;while(1){e=e&32767;h=r[b|0];o[(e+a|0)+144|0]=h;b=b+1|0;if(e>>>0<=256){o[((e|32768)+a|0)+144|0]=h}g=h^g<<5&32736;h=((g<<1)+a|0)+168562|0;p[(((f&32767)<<1)+a|0)+103026>>1]=s[h>>1];p[h>>1]=f;f=f+1|0;e=e+1|0;if((b|0)!=(d|0)){continue}break}b=d}e=32768-c|0;k=e>>>0>>0?e:k;q[a+36>>2]=k;break i}e=32768-c|0;k=e>>>0>>0?e:k;q[a+36>>2]=k;m=q[a+28>>2]}h=m&32767;n=q[a+80>>2];e=n?n:2;m:{x=q[a+8>>2];if(x&589824){f=0;if(!k|x&524288){break m}n:{if(!c){break n}e=r[((m-1&32767)+a|0)+144|0];while(1){if((e|0)!=r[((f+h|0)+a|0)+144|0]){break n}f=f+1|0;if((f|0)!=(c|0)){continue}break}f=c}e=f>>>0<3?0:f;f=f>>>0>2;break m}if(c>>>0<259){f=0;if(c>>>0<=e>>>0){break m}y=q[(((e>>>0>31)<<2)+a|0)+12>>2]-1|0;if(!y){break m}t=(a+h|0)+144|0;f=(e+h|0)+a|0;z=r[f+144|0];A=r[f+143|0];f=0;l=h;while(1){d=s[((l<<1)+a|0)+103026>>1];if(!d){break m}g=m-d&65535;if(k>>>0>>0){break m}l=d&32767;d=(l+e|0)+a|0;o:{p:{if(r[d+143|0]==(A|0)?r[d+144|0]==(z|0):0){break p}d=s[((l<<1)+a|0)+103026>>1];if(!d){break m}g=m-d&65535;if(k>>>0>>0){break m}l=d&32767;d=(l+e|0)+a|0;if(r[d+143|0]==(A|0)?r[d+144|0]==(z|0):0){break p}d=s[((l<<1)+a|0)+103026>>1];if(!d){break m}g=m-d&65535;if(k>>>0>>0){break m}l=d&32767;d=(l+e|0)+a|0;if(r[d+144|0]!=(z|0)|r[d+143|0]!=(A|0)){break o}}if(!g){break m}B=(a+l|0)+144|0;d=0;u=t;q:{while(1){if(r[u|0]!=r[B|0]){break q}u=u+1|0;B=B+1|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}if(e>>>0>=d>>>0){break o}if((c|0)==(d|0)){f=g;e=c;break m}e=(d+h|0)+a|0;A=r[e+143|0];z=r[e+144|0];f=g;e=d}y=y-1|0;if(y){continue}break}break m}J(196855,196587,3338,196892);G()}r:{s:{t:{u:{v:{w:{if(!((e|0)==3&f>>>0>8191|(f|0)==(h|0)|(e>>>0<6?x&131072:0))){if(!n){break v}if(e>>>0<=n>>>0){break w}q[a+60>>2]=q[a+60>>2]+1;c=q[a+40>>2];q[a+40>>2]=c+1;d=c;c=q[a+84>>2];o[d|0]=c;d=q[a+44>>2];o[d|0]=r[d|0]>>>1;d=q[a+56>>2]-1|0;q[a+56>>2]=d;if(!d){q[a+56>>2]=8;d=q[a+40>>2];q[a+44>>2]=d;q[a+40>>2]=d+1}c=(((c&255)<<1)+a|0)+33170|0;p[c>>1]=s[c>>1]+1;if(e>>>0>=128){c=f-1|0;if(c>>>0>=32768){break a}q[a+60>>2]=q[a+60>>2]+e;f=e-3|0;o[q[a+40>>2]]=f;o[q[a+40>>2]+1|0]=c;d=c>>>8|0;o[q[a+40>>2]+2|0]=d;q[a+40>>2]=q[a+40>>2]+3;g=q[a+44>>2];o[g|0]=r[g|0]>>>1|128;g=q[a+56>>2]-1|0;q[a+56>>2]=g;if(!g){q[a+56>>2]=8;g=q[a+40>>2];q[a+44>>2]=g;q[a+40>>2]=g+1}d=r[(c>>>0<512?(c&511)+197024|0:d+197536|0)|0]<<1;c=a+33170|0;d=d+c|0;p[d+576>>1]=s[d+576>>1]+1;c=c+(s[(f<<1)+197664>>1]<<1)|0;p[c>>1]=s[c>>1]+1;q[a+80>>2]=0;break r}break s}if(!n){break u}}if(n>>>0<3){break a}c=q[a+76>>2]-1|0;if(c>>>0>=32768){break a}q[a+60>>2]=q[a+60>>2]+n;e=n-3|0;o[q[a+40>>2]]=e;o[q[a+40>>2]+1|0]=c;f=c>>>8|0;o[q[a+40>>2]+2|0]=f;q[a+40>>2]=q[a+40>>2]+3;d=q[a+44>>2];o[d|0]=r[d|0]>>>1|128;d=q[a+56>>2]-1|0;q[a+56>>2]=d;if(!d){q[a+56>>2]=8;d=q[a+40>>2];q[a+44>>2]=d;q[a+40>>2]=d+1}d=r[(c>>>0<512?(c&511)+197024|0:f+197536|0)|0]<<1;c=a+33170|0;f=d+c|0;p[f+576>>1]=s[f+576>>1]+1;c=c+(s[(e<<1)+197664>>1]<<1)|0;p[c>>1]=s[c>>1]+1;c=q[a+80>>2];q[a+80>>2]=0;e=c-1|0;break r}if(f){break t}}c=r[(a+h|0)+144|0];q[a+60>>2]=q[a+60>>2]+1;e=q[a+40>>2];q[a+40>>2]=e+1;o[e|0]=c;e=q[a+44>>2];o[e|0]=r[e|0]>>>1;e=q[a+56>>2]-1|0;q[a+56>>2]=e;if(!e){q[a+56>>2]=8;e=q[a+40>>2];q[a+44>>2]=e;q[a+40>>2]=e+1}e=1;c=((c<<1)+a|0)+33170|0;p[c>>1]=s[c>>1]+1;break r}if(!(e>>>0<128?!(q[a+20>>2]|x&65536):0)){if(e>>>0<3){break a}c=f-1|0;if(c>>>0>=32768){break a}q[a+60>>2]=q[a+60>>2]+e;f=e-3|0;o[q[a+40>>2]]=f;o[q[a+40>>2]+1|0]=c;d=c>>>8|0;o[q[a+40>>2]+2|0]=d;q[a+40>>2]=q[a+40>>2]+3;g=q[a+44>>2];o[g|0]=r[g|0]>>>1|128;g=q[a+56>>2]-1|0;q[a+56>>2]=g;if(!g){q[a+56>>2]=8;g=q[a+40>>2];q[a+44>>2]=g;q[a+40>>2]=g+1}d=r[(c>>>0<512?(c&511)+197024|0:d+197536|0)|0]<<1;c=a+33170|0;d=d+c|0;p[d+576>>1]=s[d+576>>1]+1;c=c+(s[(f<<1)+197664>>1]<<1)|0;p[c>>1]=s[c>>1]+1;break r}}c=r[(a+h|0)+144|0];q[a+80>>2]=e;q[a+76>>2]=f;q[a+84>>2]=c;e=1}q[a+28>>2]=q[a+28>>2]+e;c=q[a+32>>2];if(c>>>0>>0){break h}q[a+32>>2]=c-e;c=q[a+36>>2]+e|0;q[a+36>>2]=c>>>0<32768?c:32768;c=q[a+40>>2];x:{if(c>>>0>E>>>0){break x}e=q[a+60>>2];if(e>>>0<31745){continue}if(e>>>0<=w(c-D|0,115)>>>7>>>0){break x}if(!(r[a+10|0]&8)){continue}}q[a+136>>2]=j;q[a+132>>2]=b;c=LC(a,0);if(!c){continue}break}if((c|0)>-1){break f}return q[a+108>>2]}J(196798,196587,3718,196833);G()}q[a+136>>2]=0;q[a+132>>2]=b}if(q[a+8>>2]&12288){c=q[a+24>>2];b=c>>>16|0;f=c&65535;g=q[a+132>>2]-196016|0;if(g){c=(g>>>0)%5552|0;while(1){e=0;if(c>>>0>7){while(1){d=r[i|0]+f|0;j=d+r[i+1|0]|0;h=j+r[i+2|0]|0;l=h+r[i+3|0]|0;u=l+r[i+4|0]|0;t=u+r[i+5|0]|0;k=t+r[i+6|0]|0;f=k+r[i+7|0]|0;b=f+(k+(t+(u+(l+(h+(j+(b+d|0)|0)|0)|0)|0)|0)|0)|0;i=i+8|0;e=e+8|0;if((e|7)>>>0>>0){continue}break}e=c&8184}d=e;j=i;if(c>>>0>e>>>0){while(1){f=r[j|0]+f|0;b=f+b|0;j=j+1|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}i=(c-e|0)+i|0}g=g-c|0;b=(b>>>0)%65521|0;f=(f>>>0)%65521|0;c=5552;if(g){continue}break}}q[a+24>>2]=b<<16|f}if(!(q[a+92>>2]|(q[a+32>>2]|q[a+136>>2]))){if((LC(a,4)|0)<=-1){return q[a+108>>2]}q[a+96>>2]=1}b=q[a+120>>2];if(b){q[b>>2]=q[a+132>>2]-q[a+112>>2]}b=q[a+124>>2];if(b){c=q[a+140>>2];b=q[b>>2]-c|0;e=q[a+92>>2];b=b>>>0>>0?b:e;si(c+q[a+116>>2]|0,(q[a+88>>2]+a|0)+234098|0,b);q[a+88>>2]=b+q[a+88>>2];q[a+92>>2]=q[a+92>>2]-b;b=b+q[a+140>>2]|0;q[a+140>>2]=b;q[q[a+124>>2]>>2]=b}i=0;if(!q[a+96>>2]){break c}i=!q[a+92>>2]}q[C+108>>2]=i}return i}J(196909,196587,3573,197003);G()}function Bha(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=x(0),m=0,n=x(0),p=0,v=0,y=x(0),z=x(0),A=0,B=x(0),C=0,D=0,E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=0,P=x(0),Q=x(0),R=x(0),S=0;b=fi-144|0;fi=b;c=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(q[a+8>>2]){case 0:q[c+148>>2]=0;q[c+60>>2]=q[c+56>>2];i=c+112|0;h=q[c+104>>2];d=q[i>>2]-h>>2;e=q[c+120>>2];g=q[c+124>>2]-e|0;a=g>>2;p=c+108|0;f=q[p>>2];h=f-h>>2;if(d>>>0>>0){if(o[c+116|0]&1){break b}vi(a+d|0,4,c+104|0,i,p);f=q[c+108>>2];a=q[c+104>>2];h=f-a>>2;d=q[c+112>>2]-a>>2;e=q[c+120>>2];g=q[c+124>>2]-e|0;a=g>>2}if(d-h>>>0>>0){break j}si(f,e,g);q[c+124>>2]=q[c+120>>2];q[c+108>>2]=q[c+108>>2]+(a<<2);break d;case 1:p=q[a+20>>2];h=q[a+16>>2];C=q[a+12>>2];S=q[a>>2];n:{if(o[294660]&1){break n}if(!ui(294660)){break n}if(r[852367]){a=Ri(45352)}else{a=-1}q[73664]=a;ti(294660)}o:{if(o[294668]&1){break o}if(!ui(294668)){break o}if(r[852367]){a=Yi(45443,11)}else{a=0}q[73666]=a;ti(294668)}a=q[73664];p:{if((a|0)!=-1){Qi(b+16|0,a,45443,q[73666]);break p}q[b+16>>2]=0}d=q[(C+w(q[h>>2],48)|0)+32>>2];a=q[d+192>>2];if(!a){a=q[q[d+152>>2]+8>>2]}q:{switch(q[a+104>>2]){case 0:break q;case 1:break g;default:break h}}q[b+140>>2]=a;r:{if(o[294676]&1){break r}if(!ui(294676)){break r}if(r[852367]){a=Ri(45352)}else{a=-1}q[73668]=a;ti(294676)}s:{if(o[294684]&1){break s}if(!ui(294684)){break s}if(r[852367]){a=Yi(45455,16)}else{a=0}q[73670]=a;ti(294684)}a=q[73668];t:{if((a|0)!=-1){Qi(b+112|0,a,45455,q[73670]);break t}q[b+112>>2]=0}d=q[c+108>>2];a=q[c+104>>2];u:{if((d|0)!=(a|0)){d=d-a|0;if(!d){break a}d=(d>>2)-1|0;if(d>>>0>q[c+112>>2]-a>>2>>>0){break c}a=a+(d<<2)|0;f=q[a>>2];q[c+108>>2]=a;break u}f=ji[q[74895]](q[c+136>>2],0,0,1)|0}q[b+136>>2]=f;if(!f){break k}g=c+124|0;a=q[g>>2];i=c+128|0;d=q[i>>2];if((a|0)==(d|0)){if(o[c+132|0]&1){break b}d=a;a=c+120|0;vi((d-q[a>>2]>>2)+2|0,4,a,i,g);d=q[i>>2];a=q[g>>2]}if((a|0)==(d|0)){break l}q[c+124>>2]=a+4;q[a>>2]=f;A=q[c+60>>2];a=q[c+56>>2];d=((A-a|0)/272|0)+1|0;if(d>>>0>(q[c- -64>>2]-a|0)/272>>>0){break c}q[c+60>>2]=a+w(d,272);d=q[(C+w(q[h>>2],48)|0)+32>>2];i=d;v=q[d+152>>2];q[b+132>>2]=q[v+112>>2];j=q[v+124>>2];g=0;if((h|0)==(p|0)){break f}a=h;while(1){e=q[d+156>>2];if(!e){e=q[q[d+152>>2]+4>>2]}g=q[e+16>>2]+g|0;a=a+4|0;if((p|0)==(a|0)){break f}d=q[(C+w(q[a>>2],48)|0)+32>>2];continue};case 2:break i;default:break m}}J(45391,44705,763,45397);G()}J(45244,45268,501,45347);G()}J(45472,44705,571,45484);G()}J(46052,45268,508,46081);G()}v:{if(o[294652]&1){break v}if(!ui(294652)){break v}if(r[852367]){a=Ek(45374)}else{a=-1}q[73662]=a;ti(294652)}a=q[73662];if((a|0)==-1){break d}Fk(a,q[c+148>>2]);break d}J(45391,44705,730,45443);G()}q[b+136>>2]=a;w:{if(o[294692]&1){break w}if(!ui(294692)){break w}if(r[852367]){a=Ri(45352)}else{a=-1}q[73672]=a;ti(294692)}x:{if(o[294700]&1){break x}if(!ui(294700)){break x}if(r[852367]){a=Yi(45812,16)}else{a=0}q[73674]=a;ti(294700)}a=q[73672];y:{if((a|0)!=-1){Qi(b+32|0,a,45812,q[73674]);break y}q[b+32>>2]=0}z:{if((h|0)==(p|0)){break z}v=c+72|0;A:{while(1){k=q[c+60>>2];a=q[c+56>>2];d=((k-a|0)/272|0)+1|0;if(d>>>0<=(q[c+64>>2]-a|0)/272>>>0){q[c+60>>2]=a+w(d,272);i=q[(C+w(q[h>>2],48)|0)+32>>2];j=q[i+152>>2];g=q[i+156>>2];if(!g){g=q[j+4>>2]}q[b+132>>2]=q[j+112>>2];B:{if(!q[i+156>>2]){m=q[j+124>>2];a=g+16|0;break B}q[b+132>>2]=q[i+196>>2];m=s[i+204>>1];a=i+200|0}A=q[a>>2];d=q[g+8>>2];f=q[g+12>>2];C:{D:{a=q[c+76>>2];E:{if(!a){break E}a=q[q[v>>2]+(lwa(d,f,a)<<2)>>2];if((a|0)==-1){break E}e=q[c+80>>2];while(1){a=e+w(a,24)|0;if((d|0)==q[a>>2]&(f|0)==q[a+4>>2]){break D}a=q[a+20>>2];if((a|0)!=-1){continue}break}}e=q[c+108>>2];a=q[c+104>>2];F:{if((e|0)!=(a|0)){e=e-a|0;if(!e){break a}e=(e>>2)-1|0;if(e>>>0>q[c+112>>2]-a>>2>>>0){break c}a=a+(e<<2)|0;e=q[a>>2];q[c+108>>2]=a;break F}e=ji[q[74895]](q[c+136>>2],0,0,1)|0;d=q[g+8>>2];f=q[g+12>>2]}q[b+128>>2]=e;q[b+120>>2]=q[g+20>>2];q[b+112>>2]=e;q[b+116>>2]=1;a=q[c+96>>2];if((a|0)==((q[c+88>>2]-q[c+80>>2]|0)/24|0)){a=a+8|0;sz(v,(a>>>0)/3|0,a)}tz(v,d,f,b+112|0);a=q[g+20>>2];d=a^-1;f=0;break C}e=q[a+8>>2];q[b+128>>2]=e;f=a+8|0;d=q[a+16>>2];a=q[g+20>>2]}G:{if((a|0)==(d|0)){a=w(m,A);break G}q[f+8>>2]=a;a=q[g+4>>2];q[b+112>>2]=0;q[b+140>>2]=0;if(dp(a,b+112|0,b+140|0)){break A}a=w(m,A);ji[q[74897]](e,a,q[b+112>>2],1)}q[c+148>>2]=q[c+148>>2]+a;uJ(k,j+128|0,b+136|0,j+12|0,i+160|0,b+132|0,b+128|0,A,i+80|0,q[i+148>>2]);Sn(S,k);h=h+4|0;if((p|0)!=(h|0)){continue}break z}break}break c}J(45062,44705,166,45087);G()}if(!q[b+32>>2]){break e}Pi(b+32|0);break e}j=w(g,j);if(j>>>0>t[c+144>>2]){q[c+144>>2]=j;q[c+140>>2]=Pl(q[c+140>>2],j)}if((h|0)!=(p|0)){m=q[c+140>>2];d=h;while(1){a=q[(C+w(q[d>>2],48)|0)+32>>2];f=q[a+152>>2];e=q[a+156>>2];if(!e){e=q[f+4>>2]}H:{if(!q[e+16>>2]){break H}q[b+128>>2]=0;q[b+108>>2]=0;k=dp(q[e+4>>2],b+128|0,b+108|0);if(k){q[b>>2]=k;mi(4,44487,45503,b);break H}m=si(m,q[b+128>>2],q[b+108>>2]);k=q[f+140>>2];O=k;D=q[f+136>>2];if(k|D){vJ(q[e+4>>2],1,a+80|0,D,O,q[f+144>>2],q[b+128>>2],m)}k=q[f+156>>2];O=k;D=q[f+152>>2];if(k|D){P=u[a+132>>2];Q=u[a+136>>2];R=u[a+128>>2];E=u[a+120>>2];F=u[a+116>>2];K=u[a+96>>2];y=u[a+112>>2];L=u[a+104>>2];n=u[a+84>>2];M=u[a+100>>2];B=u[a+88>>2];N=u[a+80>>2];q[b+88>>2]=0;q[b+92>>2]=1065353216;q[b+80>>2]=0;q[b+84>>2]=0;z=x(x(N*M)-x(n*K));H=x(x(n*L)-x(B*M));I=x(x(B*K)-x(N*L));l=x(x(1)/x(x(E*z)+x(x(y*H)+x(F*I))));H=x(H*l);u[b+64>>2]=H;z=x(z*l);u[b+72>>2]=z;I=x(I*l);u[b+68>>2]=I;u[b+76>>2]=-x(x(R*H)+x(x(P*I)+x(Q*z)));z=x(x(x(B*F)-x(n*E))*l);u[b+48>>2]=z;n=x(x(x(n*y)-x(N*F))*l);u[b+56>>2]=n;B=x(x(x(N*E)-x(B*y))*l);u[b+52>>2]=B;u[b+60>>2]=-x(x(R*z)+x(x(P*B)+x(Q*n)));n=x(x(x(K*F)-x(M*y))*l);u[b+40>>2]=n;y=x(x(x(L*y)-x(K*E))*l);u[b+36>>2]=y;l=x(x(x(M*E)-x(L*F))*l);u[b+32>>2]=l;u[b+44>>2]=-x(x(R*l)+x(x(P*y)+x(Q*n)));vJ(q[e+4>>2],0,b+32|0,D,O,q[f+160>>2],q[b+128>>2],m)}m=m+q[b+108>>2]|0}d=d+4|0;if((p|0)!=(d|0)){continue}break}f=q[b+136>>2]}q[c+148>>2]=j+q[c+148>>2];a=q[(C+w(q[h>>2],48)|0)+32>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+52>>2]=1065353216;h=b- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[b+76>>2]=0;q[b+80>>2]=0;q[b+72>>2]=1065353216;q[b+84>>2]=0;q[b+88>>2]=0;q[b+92>>2]=1065353216;q[b+36>>2]=0;q[b+40>>2]=0;q[b+32>>2]=1065353216;q[b+44>>2]=0;q[b+48>>2]=0;uJ(A,v+128|0,b+140|0,v+12|0,a+160|0,b+132|0,b+136|0,g,b+32|0,q[i+148>>2]);ji[q[74897]](f,j,q[c+140>>2],1);Sn(S,A);if(!q[b+112>>2]){break e}Pi(b+112|0)}if(!q[b+16>>2]){break d}Pi(b+16|0)}fi=b+144|0;return}J(45416,45268,474,45435);G()}J(45977,45268,461,44893);G()}J(45837,45268,447,45848);G()}function wu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,t=x(0),v=x(0),y=0,z=x(0),A=0,B=0,C=0,D=x(0),E=0,F=0,H=0,I=0,K=0;g=fi-304|0;fi=g;a:{if(o[316212]&1){break a}if(!ui(316212)){break a}if(r[852367]){d=Ri(103746)}else{d=-1}q[79052]=d;ti(316212)}b:{if(o[316220]&1){break b}if(!ui(316220)){break b}if(r[852367]){d=Yi(103753,14)}else{d=0}q[79054]=d;ti(316220)}d=q[79052];c:{if((d|0)!=-1){Qi(g+8|0,d,103753,q[79054]);break c}q[g+8>>2]=0}u5(a);d:{if(q[a+1964>>2]!=q[a+1960>>2]){break d}e:{if(o[316244]&1){break e}if(!ui(316244)){break e}if(r[852367]){d=Ri(103746)}else{d=-1}q[79060]=d;ti(316244)}f:{if(o[316252]&1){break f}if(!ui(316252)){break f}if(r[852367]){d=Yi(103850,14)}else{d=0}q[79062]=d;ti(316252)}d=q[79060];g:{if((d|0)!=-1){Qi(g+24|0,d,103850,q[79062]);break g}q[g+24>>2]=0}d=q[a+1880>>2];if((d|0)!=q[a+1884>>2]){i=q[a+1948>>2];e=q[a+1944>>2];q[g+288>>2]=d;d=i-e|0;h=d>>2;h:{i:{if((d|0)>=513){f=(h|0)<536870911?h:536870911;while(1){d=Ci(f<<2);if(d){break i}f=f>>>1|0;if(f){continue}break}jp(e,i,g+288|0,h,0,0);break h}jp(e,i,g+288|0,h,0,0);break h}jp(e,i,g+288|0,h,d,f);ki(d)}e=q[a+1880>>2];q[g+288>>2]=e;d=q[a+1944>>2];nG(d,0,q[a+1948>>2]-d>>2,e,g+288|0,a,703)}if(!q[g+24>>2]){break d}Pi(g+24|0)}e=b?q[b+256>>2]:0;j:{if(o[316260]&1){break j}if(!ui(316260)){break j}if(r[852367]){d=Ri(103746)}else{d=-1}q[79064]=d;ti(316260)}k:{if(o[316268]&1){break k}if(!ui(316268)){break k}if(r[852367]){d=Yi(104060,14)}else{d=0}q[79066]=d;ti(316268)}d=q[79064];l:{if((d|0)!=-1){Qi(g+288|0,d,104060,q[79066]);break l}q[g+288>>2]=0}m:{n:{o:{p:{q:{if(!(o[a+1940|0]&1)){d=q[a+1952>>2]-q[a+1944>>2]>>2;E=a+1928|0;I=a+1936|0;A=a+1932|0;vi(d,4,E,I,A);q[A>>2]=q[a+1928>>2];if(o[a+1924|0]&1){break n}f=d;K=a+1912|0;d=a+1920|0;vi(f,8,K,d,a+1916|0);C=q[a+1912>>2];f=q[d>>2]-C>>3;d=q[a+1948>>2]-q[a+1944>>2]>>2;if(f>>>0>>0){break q}q[a+1916>>2]=C+(d<<3);F=q[a+1960>>2];d=q[a+1964>>2]-F|0;p=(d|0)/12|0;if(!d){break o}H=q[a+1880>>2];n=p>>>0>1?p:1;z=x(-3.4028234663852886e+38);t=x(3.4028234663852886e+38);if(!e){while(1){h=F+w(l,12)|0;Ly(a,q[h>>2],g+24|0);k=q[h+8>>2]&2147483647;q[h+8>>2]=k;d=q[h+4>>2];if(d>>>0>>0){f=d;while(1){e=q[a+1944>>2];if(q[a+1948>>2]-e>>2>>>0<=f>>>0){break m}e=q[e+(f<<2)>>2];i=w(e,48)+H|0;if((s[i+40>>1]&48)==16){D=u[i>>2];v=u[i+4>>2];j=u[i+8>>2];j=x(x(u[a+2200>>2]+x(x(x(D*u[a+2152>>2])+x(v*u[a+2168>>2]))+x(j*u[a+2184>>2])))/x(u[a+2204>>2]+x(x(x(D*u[a+2156>>2])+x(v*u[a+2172>>2]))+x(j*u[a+2188>>2]))));u[C+(e<<3)>>2]=j;z=j>z?j:z;t=j>2];d=q[h+4>>2]}f=f+1|0;if(f>>>0<(k&2147483647)+d>>>0){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break p}}h=g+32|0;while(1){m=F+w(l,12)|0;Ly(a,q[m>>2],g+24|0);q[m+8>>2]=q[m+8>>2]&2147483647;r:{if(!fG(q[g+24>>2],h,e,b)){q[m+8>>2]=q[m+8>>2]|-2147483648;break r}d=q[m+4>>2];k=q[m+8>>2];if(d>>>0>=(k&2147483647)+d>>>0){break r}f=d;while(1){i=q[a+1944>>2];if(q[a+1948>>2]-i>>2>>>0<=f>>>0){break m}i=q[i+(f<<2)>>2];y=w(i,48)+H|0;if((s[y+40>>1]&48)==16){D=u[y>>2];v=u[y+4>>2];j=u[y+8>>2];j=x(x(u[a+2200>>2]+x(x(x(D*u[a+2152>>2])+x(v*u[a+2168>>2]))+x(j*u[a+2184>>2])))/x(u[a+2204>>2]+x(x(x(D*u[a+2156>>2])+x(v*u[a+2172>>2]))+x(j*u[a+2188>>2]))));u[C+(i<<3)>>2]=j;z=j>z?j:z;t=j>2];d=q[m+4>>2]}f=f+1|0;if(f>>>0<(k&2147483647)+d>>>0){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break}break p}break n}J(104075,103940,474,104094);G()}v=x(0);v=t>>0>1?p:1;k=0;s:{while(1){t:{l=F+w(k,12)|0;e=q[l+8>>2];u:{if((e|0)<0){break u}d=q[l+4>>2];if(d>>>0>=d+e>>>0){break u}while(1){e=q[a+1944>>2];if(q[a+1948>>2]-e>>2>>>0<=d>>>0){break t}m=q[e+(d<<2)>>2];e=C+(m<<3)|0;n=q[e+4>>2]&-251658241;j=u[e>>2];B=w(m,48)+H|0;h=(s[B+40>>1]>>>4&3)<<24;f=q[e>>2];q[e>>2]=f;h=h|n;q[e+4>>2]=h;i=e;n=h&-218103808;v:{if((s[B+40>>1]&48)==16){j=x(x(16777208)-x(v*x(j-t)));if(j=x(0)){h=~~j>>>0;break v}h=0;break v}h=q[B+16>>2]}y=f;q[i>>2]=f;f=h&16777215|n;q[i+4>>2]=f;n=f&67108863;h=s[B+40>>1]<<28;i=y;q[e>>2]=i;f=h|n;q[e+4>>2]=f;f=f&-201326593;i=i&-16777216|q[B+20>>2]&16777215;q[e>>2]=i;q[e+4>>2]=f;q[e>>2]=s[B+40>>1]<<18&-16777216|i&16777215;q[e+4>>2]=f&-201326593;e=q[A>>2];if((e|0)==q[I>>2]){break s}q[A>>2]=e+4;q[e>>2]=m;d=d+1|0;if(d>>>0>2]+(q[l+8>>2]&2147483647)>>>0){continue}break}}k=k+1|0;if((p|0)!=(k|0)){continue}break o}break}break m}J(104031,103940,501,104055);G()}if(q[g+288>>2]){Pi(g+288|0)}w:{if(q[A>>2]!=q[E>>2]){x:{if(o[316228]&1){break x}if(!ui(316228)){break x}if(r[852367]){d=Ri(103746)}else{d=-1}q[79056]=d;ti(316228)}y:{if(o[316236]&1){break y}if(!ui(316236)){break y}if(r[852367]){d=Yi(103768,19)}else{d=0}q[79058]=d;ti(316236)}d=q[79056];z:{if((d|0)!=-1){Qi(g+24|0,d,103768,q[79058]);break z}q[g+24>>2]=0}i=q[A>>2];e=q[E>>2];q[g+288>>2]=q[K>>2];d=i-e|0;h=d>>2;A:{B:{if((d|0)>=513){f=(h|0)<536870911?h:536870911;while(1){d=Ci(f<<2);if(d){break B}f=f>>>1|0;if(f){continue}break}ip(e,i,g+288|0,h,0,0);break A}ip(e,i,g+288|0,h,0,0);break A}ip(e,i,g+288|0,h,d,f);ki(d)}if(q[g+24>>2]){Pi(g+24|0)}q[a+1864>>2]=q[a+1860>>2];e=0;q[g+44>>2]=0;q[g+36>>2]=0;q[g+40>>2]=0;q[g+28>>2]=0;q[g+32>>2]=0;q[g+24>>2]=a;l=q[a+1900>>2];f=q[a+1896>>2];d=l-f|0;if(d){d=d>>3;while(1){if(d>>>0<=e>>>0){break m}d=(e<<3)+f|0;q[g+28>>2]=q[d+4>>2];ji[q[d>>2]](g+24|0);l=q[a+1900>>2];f=q[a+1896>>2];d=l-f>>3;e=e+1|0;if((d|0)!=(e|0)){continue}break}}q[g+32>>2]=1;p=q[a+1880>>2];q[g+36>>2]=p;k=q[a+1928>>2];d=q[a+1932>>2]-k|0;if(d){y=d>>2;d=k;f=1;C:{while(1){D:{e=(f<<2)+k|0;k=p+w(q[d>>2],48)|0;n=s[k+40>>1];E:{F:{if(f>>>0>=y>>>0){break F}h=p+w(q[e>>2],48)|0;i=n^s[h+40>>1];if(i&16320|i&15|q[k+20>>2]!=q[h+20>>2]){break F}e=d;break E}h=n>>>6&255;if((h|0)==255){break E}i=q[a+1896>>2];if(h>>>0>=q[a+1900>>2]-i>>3>>>0){break D}h=i+(h<<3)|0;i=q[h+4>>2];q[g+44>>2]=e;q[g+40>>2]=d;q[g+28>>2]=i;ji[q[h>>2]](g+24|0)}f=f+1|0;if(y>>>0>>0){break C}k=q[E>>2];d=e;continue}break}J(103788,103375,560,103753);G()}l=q[a+1900>>2];f=q[a+1896>>2]}q[g+40>>2]=0;q[g+44>>2]=0;q[g+32>>2]=2;q[g+36>>2]=0;d=l-f|0;if(d){d=d>>3;e=0;while(1){if(d>>>0<=e>>>0){break w}d=(e<<3)+f|0;q[g+28>>2]=q[d+4>>2];ji[q[d>>2]](g+24|0);f=q[a+1896>>2];d=q[a+1900>>2]-f>>3;e=e+1|0;if((d|0)!=(e|0)){continue}break}}x5(a,b,c)}if(q[g+8>>2]){Pi(g+8|0)}fi=g+304|0;return}break m}J(103865,103940,461,104019);G()}J(104102,103940,447,104113);G()}function Jr(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,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,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;A=fi-640|0;fi=A;while(1){k=C<<3;h=k+A|0;t=r[(k|3)+b|0]|(r[(k|1)+b|0]<<16|r[b+k|0]<<24|r[(k|2)+b|0]<<8);e=r[(k|4)+b|0];c=e>>>8|0;e=e<<24;i=c|t;g=e;e=r[(k|5)+b|0];c=e>>>16|0;e=g|e<<16;i=c|i;g=e;e=r[(k|6)+b|0];c=e>>>24|0;q[h>>2]=r[(k|7)+b|0]|(g|e<<8);q[h+4>>2]=c|i;C=C+1|0;if((C|0)!=16){continue}break}b=16;y=q[A>>2];h=q[A+4>>2];while(1){l=(b<<3)+A|0;e=l;k=h;c=e-56|0;h=q[c>>2];t=q[c+4>>2];i=e-16|0;c=q[i+4>>2];i=q[i>>2];j=pwa(i,c,45);n=ii;g=h;l=pwa(i,c,3)^j;h=c;c=c>>>6|0;i=l^((h&63)<<26|i>>>6);h=g+i|0;c=(c^(ii^n))+t|0;c=h>>>0>>0?c+1|0:c;i=h;h=i+y|0;c=c+k|0;c=h>>>0>>0?c+1|0:c;i=h;k=c;c=e-120|0;h=q[c+4>>2];y=q[c>>2];c=pwa(y,h,63);l=ii;c=pwa(y,h,56)^c;t=ii^l;l=e;f=i;g=c;e=h;c=e>>>7|0;i=g^((e&127)<<25|y>>>7);e=f+i|0;c=(c^t)+k|0;q[l>>2]=e;q[l+4>>2]=e>>>0>>0?c+1|0:c;b=b+1|0;if((b|0)!=80){continue}break}C=0;c=a;b=q[c+20>>2];E=q[c+16>>2];i=E;N=b;t=b;h=q[c+28>>2];O=h;F=q[c+24>>2];y=F;k=q[c+36>>2];P=k;G=q[c+32>>2];j=G;l=q[c+44>>2];Q=l;H=q[c+40>>2];n=H;b=q[c+52>>2];R=b;I=q[c+48>>2];s=I;e=q[c+60>>2];S=e;J=q[c+56>>2];u=J;m=c- -64|0;p=q[m+4>>2];K=q[m>>2];m=K;T=p;L=q[c+72>>2];f=L;M=q[c+76>>2];w=M;while(1){B=C<<3;c=B+140656|0;g=q[c>>2];d=q[c+4>>2];c=pwa(s,b,50);x=ii;c=pwa(s,b,46)^c;x=ii^x;v=g;g=f;f=pwa(s,b,23)^c;g=g+f|0;c=(ii^x)+w|0;c=f>>>0>g>>>0?c+1|0:c;w=v+g|0;c=c+d|0;c=g>>>0>w>>>0?c+1|0:c;g=m^s&(m^u);w=g+w|0;c=(p^b&(e^p))+c|0;c=g>>>0>w>>>0?c+1|0:c;g=A+B|0;d=q[g>>2];w=d+w|0;c=q[g+4>>2]+c|0;x=w;c=d>>>0>w>>>0?c+1|0:c;d=c;c=pwa(i,t,36);g=ii;c=pwa(i,t,30)^c;f=ii^g;o=pwa(i,t,25)^c;g=o+((i|y)&j|i&y)|0;c=((h|t)&k|h&t)+(ii^f)|0;c=g>>>0>>0?c+1|0:c;f=g;g=f+x|0;c=c+d|0;w=g;c=f>>>0>g>>>0?c+1|0:c;g=pwa(g,c,36);f=ii;v=g;g=c;o=v^pwa(w,c,30);v=ii^f;f=pwa(w,c,25)^o;o=y&(i|w)|i&w;f=f+o|0;c=(h&(c|t)|c&t)+(ii^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|8;c=z+140656|0;o=m+q[c>>2]|0;c=p+q[c+4>>2]|0;c=m>>>0>o>>>0?c+1|0:c;m=o;p=A+z|0;o=q[p>>2];m=m+o|0;c=q[p+4>>2]+c|0;p=m;m=m>>>0>>0?c+1|0:c;o=p;c=d+l|0;p=n+x|0;c=p>>>0>>0?c+1|0:c;l=p;d=u^p&(s^u);p=o+d|0;n=c;c=(e^c&(b^e))+m|0;c=d>>>0>p>>>0?c+1|0:c;m=p;p=pwa(l,n,50);d=ii;p=pwa(l,n,46)^p;d=ii^d;p=pwa(l,n,23)^p;m=p+m|0;c=(ii^d)+c|0;c=m>>>0

>>0?c+1|0:c;o=m;p=m;m=m+v|0;d=c;c=c+f|0;c=m>>>0

>>0?c+1|0:c;p=pwa(m,c,36);f=ii;v=p;p=c;x=v^pwa(m,c,30);v=ii^f;f=pwa(m,c,25)^x;x=i&(m|w)|m&w;f=f+x|0;c=(t&(c|g)|c&g)+(ii^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|16;c=z+140656|0;x=u+q[c>>2]|0;c=e+q[c+4>>2]|0;c=u>>>0>x>>>0?c+1|0:c;e=x;u=A+z|0;x=q[u>>2];e=e+x|0;c=q[u+4>>2]+c|0;c=e>>>0>>0?c+1|0:c;u=c;x=e;c=d+k|0;e=j+o|0;c=e>>>0>>0?c+1|0:c;d=s^e&(l^s);j=x+d|0;k=c;c=(b^c&(b^n))+u|0;c=d>>>0>j>>>0?c+1|0:c;u=pwa(e,k,50);d=ii;u=pwa(e,k,46)^u;d=ii^d;u=pwa(e,k,23)^u;j=u+j|0;c=(ii^d)+c|0;c=j>>>0>>0?c+1|0:c;u=j+v|0;d=c;c=c+f|0;c=u>>>0>>0?c+1|0:c;x=u;u=pwa(u,c,36);f=ii;v=u;u=c;o=v^pwa(x,c,30);v=ii^f;f=pwa(x,c,25)^o;o=w&(m|x)|m&x;f=f+o|0;c=(g&(c|p)|c&p)+(ii^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|24;c=z+140656|0;o=s+q[c>>2]|0;c=b+q[c+4>>2]|0;c=s>>>0>o>>>0?c+1|0:c;b=o;s=A+z|0;o=q[s>>2];b=b+o|0;c=q[s+4>>2]+c|0;c=b>>>0>>0?c+1|0:c;s=c;o=b;c=d+h|0;b=j+y|0;c=b>>>0>>0?c+1|0:c;d=l^b&(e^l);j=o+d|0;h=c;c=(n^c&(k^n))+s|0;c=d>>>0>j>>>0?c+1|0:c;s=pwa(b,h,50);d=ii;s=pwa(b,h,46)^s;d=ii^d;s=pwa(b,h,23)^s;j=s+j|0;c=(ii^d)+c|0;c=j>>>0>>0?c+1|0:c;y=j;d=j;s=d+v|0;j=c;c=c+f|0;o=s;c=d>>>0>s>>>0?c+1|0:c;s=pwa(s,c,36);d=ii;f=s;s=c;f=f^pwa(o,c,30);v=ii^d;d=pwa(o,c,25)^f;f=m&(o|x)|o&x;d=d+f|0;c=(p&(c|u)|c&u)+(ii^v)|0;v=d;d=d>>>0>>0?c+1|0:c;z=B|32;c=z+140656|0;f=l+q[c>>2]|0;c=n+q[c+4>>2]|0;c=f>>>0>>0?c+1|0:c;l=f;n=A+z|0;f=q[n>>2];l=l+f|0;c=q[n+4>>2]+c|0;n=l;l=f>>>0>n>>>0?c+1|0:c;f=n;c=j+t|0;n=i+y|0;c=n>>>0>>0?c+1|0:c;i=n;n=e^i&(b^e);j=f+n|0;t=c;c=(k^c&(h^k))+l|0;c=j>>>0>>0?c+1|0:c;l=j;j=pwa(i,t,50);n=ii;j=pwa(i,t,46)^j;n=ii^n;j=pwa(i,t,23)^j;l=j+l|0;c=(ii^n)+c|0;c=j>>>0>l>>>0?c+1|0:c;y=l;n=l;l=n+v|0;j=c;c=c+d|0;c=l>>>0>>0?c+1|0:c;n=l;l=pwa(n,c,36);d=ii;f=l;l=c;f=f^pwa(n,c,30);v=ii^d;d=pwa(n,c,25)^f;f=x&(n|o)|n&o;d=d+f|0;c=(u&(c|s)|c&s)+(ii^v)|0;v=d;d=d>>>0>>0?c+1|0:c;c=B|40;z=c+A|0;c=c+140656|0;D=q[c>>2];f=q[z>>2]+D|0;c=q[z+4>>2]+q[c+4>>2]|0;c=f>>>0>>0?c+1|0:c;f=e+f|0;c=c+k|0;e=e>>>0>f>>>0?c+1|0:c;D=f;c=j+g|0;k=w+y|0;c=k>>>0>>0?c+1|0:c;f=k;j=b^f&(b^i);k=D+j|0;w=c;c=(h^c&(h^t))+e|0;c=j>>>0>k>>>0?c+1|0:c;e=k;k=pwa(f,w,50);j=ii;k=pwa(f,w,46)^k;j=ii^j;k=pwa(f,w,23)^k;e=k+e|0;c=(ii^j)+c|0;c=e>>>0>>0?c+1|0:c;y=e;j=e;k=e+v|0;e=c;c=c+d|0;c=j>>>0>k>>>0?c+1|0:c;j=k;k=pwa(j,c,36);g=ii;d=k;k=c;d=d^pwa(j,c,30);v=ii^g;g=pwa(j,c,25)^d;d=o&(j|n)|j&n;g=g+d|0;c=(s&(c|l)|c&l)+(ii^v)|0;v=g;g=d>>>0>g>>>0?c+1|0:c;c=B|48;z=c+A|0;c=c+140656|0;D=q[c>>2];d=q[z>>2]+D|0;c=q[z+4>>2]+q[c+4>>2]|0;c=d>>>0>>0?c+1|0:c;d=b+d|0;c=c+h|0;b=b>>>0>d>>>0?c+1|0:c;c=e+p|0;h=m+y|0;c=h>>>0>>0?c+1|0:c;m=h;e=i^h&(f^i);h=d+e|0;p=c;c=(t^c&(t^w))+b|0;c=e>>>0>h>>>0?c+1|0:c;b=h;h=pwa(m,p,50);e=ii;h=pwa(m,p,46)^h;e=ii^e;h=pwa(m,p,23)^h;b=h+b|0;c=(ii^e)+c|0;c=b>>>0>>0?c+1|0:c;h=b+v|0;e=c;c=c+g|0;y=h;c=b>>>0>h>>>0?c+1|0:c;h=pwa(h,c,36);g=ii;d=h;h=c;d=d^pwa(y,c,30);v=ii^g;g=pwa(y,c,25)^d;d=n&(j|y)|j&y;g=g+d|0;c=(l&(c|k)|c&k)+(ii^v)|0;v=g;g=d>>>0>g>>>0?c+1|0:c;c=B|56;B=c+A|0;c=c+140656|0;z=q[c>>2];d=q[B>>2]+z|0;c=q[B+4>>2]+q[c+4>>2]|0;c=d>>>0>>0?c+1|0:c;d=d+i|0;c=c+t|0;i=d>>>0>>0?c+1|0:c;c=e+u|0;t=b+x|0;c=t>>>0>>0?c+1|0:c;u=t;t=f^t&(f^m);b=d+t|0;e=c;c=(w^c&(p^w))+i|0;c=b>>>0>>0?c+1|0:c;i=pwa(u,e,50);t=ii;i=pwa(u,e,46)^i;t=ii^t;i=pwa(u,e,23)^i;b=i+b|0;c=(ii^t)+c|0;c=b>>>0>>0?c+1|0:c;i=b+v|0;d=g;g=c;c=d+c|0;c=i>>>0>>0?c+1|0:c;t=c;c=g+s|0;d=b+o|0;c=d>>>0>>0?c+1|0:c;s=d;b=c;c=C>>>0<72;C=C+8|0;if(c){continue}break}c=w+M|0;d=f+L|0;c=d>>>0>>0?c+1|0:c;g=a;q[g+72>>2]=d;q[g+76>>2]=c;c=p+T|0;m=m+K|0;c=m>>>0>>0?c+1|0:c;q[g+64>>2]=m;q[g+68>>2]=c;c=e+S|0;u=u+J|0;c=u>>>0>>0?c+1|0:c;q[g+56>>2]=u;q[g+60>>2]=c;c=b+R|0;s=s+I|0;c=s>>>0>>0?c+1|0:c;e=g;q[e+48>>2]=s;q[e+52>>2]=c;c=l+Q|0;e=n+H|0;c=e>>>0>>0?c+1|0:c;b=g;q[b+40>>2]=e;q[b+44>>2]=c;c=k+P|0;e=j+G|0;c=e>>>0>>0?c+1|0:c;q[b+32>>2]=e;q[b+36>>2]=c;c=h+O|0;e=y+F|0;c=e>>>0>>0?c+1|0:c;q[b+24>>2]=e;q[b+28>>2]=c;c=t+N|0;b=i+E|0;c=b>>>0>>0?c+1|0:c;q[g+16>>2]=b;q[g+20>>2]=c;fi=A+640|0;return 0}function pta(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,p=0,s=0;c=fi-128|0;fi=c;l=q[b>>2];h=r[l+91248|0];n=l-4|0;f=88992;a:{if(n>>>0<3){break a}e=q[b+4>>2]<<4;f=e+89008|0;if(138>>>l&1){break a}f=e+90032|0}e=q[b+12>>2];q[c+112>>2]=q[b+8>>2];q[c+116>>2]=e;e=q[b+20>>2];q[c+120>>2]=q[b+16>>2];q[c+124>>2]=e;e=q[b+36>>2];q[c+104>>2]=q[b+32>>2];q[c+108>>2]=e;e=q[b+28>>2];q[c+96>>2]=q[b+24>>2];q[c+100>>2]=e;q[c+88>>2]=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);e=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);q[c+80>>2]=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);q[c+84>>2]=e;q[c+72>>2]=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);e=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);q[c+64>>2]=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);q[c+68>>2]=e;e=q[b+84>>2];q[c+48>>2]=q[b+80>>2];q[c+52>>2]=e;e=q[b+76>>2];q[c+40>>2]=q[b+72>>2];q[c+44>>2]=e;e=q[b+68>>2];q[c+32>>2]=q[b+64>>2];q[c+36>>2]=e;q[c+24>>2]=-1;q[c+16>>2]=-1;q[c+20>>2]=-1;s=h>>>0>1?h:1;p=l&-3;while(1){j=d<<2;g=j+(c+16|0)|0;if(d){k=q[b+4>>2]+91120|0;b:{if(!((d|0)!=1|p)){break b}e=q[b+4>>2];k=e+91184|0;if(!((d|0)!=2|p)){break b}k=e+91056|0}e=r[k|0]}else{e=0}q[g>>2]=e;g=1<>2]+r[l+91256|0];c:{if(!(r[(c+112|0)+e|0]&g>>>1)){break c}if(r[f|0]==(d|0)){o[c+112|0]=g+(r[c+112|0]^-1)}if(r[f+1|0]==(d|0)){o[c+113|0]=g+(r[c+113|0]^-1)}if(r[f+2|0]==(d|0)){o[c+114|0]=g+(r[c+114|0]^-1)}if(r[f+3|0]==(d|0)){o[c+115|0]=g+(r[c+115|0]^-1)}if(r[f+4|0]==(d|0)){o[c+116|0]=g+(r[c+116|0]^-1)}if(r[f+5|0]==(d|0)){o[c+117|0]=g+(r[c+117|0]^-1)}if(r[f+6|0]==(d|0)){o[c+118|0]=g+(r[c+118|0]^-1)}if(r[f+7|0]==(d|0)){o[c+119|0]=g+(r[c+119|0]^-1)}if(r[f+8|0]==(d|0)){o[c+120|0]=g+(r[c+120|0]^-1)}if(r[f+9|0]==(d|0)){o[c+121|0]=g+(r[c+121|0]^-1)}if(r[f+10|0]==(d|0)){o[c+122|0]=g+(r[c+122|0]^-1)}if(r[f+11|0]==(d|0)){o[c+123|0]=g+(r[c+123|0]^-1)}if(r[f+12|0]==(d|0)){o[c+124|0]=g+(r[c+124|0]^-1)}if(r[f+13|0]==(d|0)){o[c+125|0]=g+(r[c+125|0]^-1)}if(r[f+14|0]==(d|0)){o[c+126|0]=g+(r[c+126|0]^-1)}if(r[f+15|0]==(d|0)){o[c+127|0]=g+(r[c+127|0]^-1)}d:{if((l&-2)!=4){g=j+(c+80|0)|0;i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);k=j+(c- -64|0)|0;m=r[k|0]|r[k+1|0]<<8|(r[k+2|0]<<16|r[k+3|0]<<24);o[g|0]=m;o[g+1|0]=m>>>8;o[g+2|0]=m>>>16;o[g+3|0]=m>>>24;o[k|0]=i;o[k+1|0]=i>>>8;o[k+2|0]=i>>>16;o[k+3|0]=i>>>24;break d}g=j+(c+80|0)|0;i=r[g|0];k=j+(c- -64|0)|0;o[g|0]=r[k|0];o[k|0]=i;i=r[g+1|0]|r[g+2|0]<<8;m=r[k+1|0]|r[k+2|0]<<8;o[g+1|0]=m;o[g+2|0]=m>>>8;o[k+1|0]=i;o[k+2|0]=i>>>8}if((l|0)==1){break c}g=(c+32|0)+(d<<3)|0;q[g>>2]=pwa(q[g>>2],q[g+4>>2],32);q[g+4>>2]=ii}e:{if((l&-2)!=4){break e}k=r[(c+96|0)+e|0];e=1<>2];if(!(k&e>>>1)){break e}if(r[f|0]==(d|0)){o[c+96|0]=e+(r[c+96|0]^-1)}if(r[f+1|0]==(d|0)){o[c+97|0]=e+(r[c+97|0]^-1)}if(r[f+2|0]==(d|0)){o[c+98|0]=e+(r[c+98|0]^-1)}if(r[f+3|0]==(d|0)){o[c+99|0]=e+(r[c+99|0]^-1)}if(r[f+4|0]==(d|0)){o[c+100|0]=e+(r[c+100|0]^-1)}if(r[f+5|0]==(d|0)){o[c+101|0]=e+(r[c+101|0]^-1)}if(r[f+6|0]==(d|0)){o[c+102|0]=e+(r[c+102|0]^-1)}if(r[f+7|0]==(d|0)){o[c+103|0]=e+(r[c+103|0]^-1)}if(r[f+8|0]==(d|0)){o[c+104|0]=e+(r[c+104|0]^-1)}if(r[f+9|0]==(d|0)){o[c+105|0]=e+(r[c+105|0]^-1)}if(r[f+10|0]==(d|0)){o[c+106|0]=e+(r[c+106|0]^-1)}if(r[f+11|0]==(d|0)){o[c+107|0]=e+(r[c+107|0]^-1)}if(r[f+12|0]==(d|0)){o[c+108|0]=e+(r[c+108|0]^-1)}if(r[f+13|0]==(d|0)){o[c+109|0]=e+(r[c+109|0]^-1)}if(r[f+14|0]==(d|0)){o[c+110|0]=e+(r[c+110|0]^-1)}if(r[f+15|0]==(d|0)){o[c+111|0]=e+(r[c+111|0]^-1)}e=j+(c+80|0)|0;g=r[e+3|0];k=e;e=j+(c- -64|0)|0;o[k+3|0]=r[e+3|0];o[e+3|0]=g}d=d+1|0;if((s|0)!=(d|0)){continue}break}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[c+12>>2]=0;Hl(a,1<>2],2,c+12|0)}if((l|0)==4){Hl(a,q[b+88>>2],1,c+12|0)}if(n>>>0>=3){Hl(a,q[b+4>>2],142>>>l&1?6:4,c+12|0)}e=h>>>0>1?h:1;k=l>>>0>3?4:3;f=0;while(1){f:{if((f|0)!=3){g=r[l+91264|0];d=0;while(1){j=d<<2;Hl(a,r[(j+(c+80|0)|0)+f|0],g,c+12|0);Hl(a,r[(j+(c- -64|0)|0)+f|0],g,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}break f}g=o[l+91272|0];d=0;while(1){j=d<<2;Hl(a,r[(j+(c+80|0)|0)+3|0],g,c+12|0);Hl(a,r[(j+(c- -64|0)|0)+3|0],g,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}}f=f+1|0;if((k|0)!=(f|0)){continue}break}g:{if(52>>>l&1){break g}d=0;if((l|0)==1){while(1){Hl(a,q[(c+32|0)+(d<<3)>>2],1,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break g}}while(1){f=(c+32|0)+(d<<3)|0;Hl(a,q[f>>2],1,c+12|0);Hl(a,q[f+4>>2],1,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=q[c+24>>2];d=q[c+20>>2];g=q[c+16>>2];k=0;while(1){f=a;j=k<<2;i=r[j+(q[b+88>>2]?c+96|0:c+112|0)|0];h=q[b+88>>2];h:{if(h){h=r[l+91280|0]-h|0;break h}h=r[l+91256|0]}Hl(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);f=a;h=j|1;m=r[h+(q[b+88>>2]?c+96|0:c+112|0)|0];i=q[b+88>>2];i:{if(i){i=r[l+91280|0]-i|0;break i}i=r[l+91256|0]}Hl(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;h=j|2;m=r[h+(q[b+88>>2]?c+96|0:c+112|0)|0];i=q[b+88>>2];j:{if(i){i=r[l+91280|0]-i|0;break j}i=r[l+91256|0]}Hl(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;j=j|3;i=r[j+(q[b+88>>2]?c+96|0:c+112|0)|0];h=q[b+88>>2];k:{if(h){h=r[l+91280|0]-h|0;break k}h=r[l+91256|0]}Hl(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);k=k+1|0;if((k|0)!=4){continue}break}if((l&-2)==4){k=0;while(1){f=a;j=k<<2;i=r[j+(q[b+88>>2]?c+112|0:c+96|0)|0];h=q[b+88>>2];l:{if(h){h=h+r[l+91256|0]|0;break l}h=r[l+91280|0]}Hl(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);f=a;h=j|1;m=r[h+(q[b+88>>2]?c+112|0:c+96|0)|0];i=q[b+88>>2];m:{if(i){i=i+r[l+91256|0]|0;break m}i=r[l+91280|0]}Hl(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;h=j|2;m=r[h+(q[b+88>>2]?c+112|0:c+96|0)|0];i=q[b+88>>2];n:{if(i){i=i+r[l+91256|0]|0;break n}i=r[l+91280|0]}Hl(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;j=j|3;i=r[j+(q[b+88>>2]?c+112|0:c+96|0)|0];h=q[b+88>>2];o:{if(h){h=h+r[l+91256|0]|0;break o}h=r[l+91280|0]}Hl(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);k=k+1|0;if((k|0)!=4){continue}break}}if(q[c+12>>2]==128){fi=c+128|0;return}J(91288,85651,11846,91307);G()}function moa(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;g=fi-176|0;fi=g;a:{if(o[290292]&1){break a}if(!ui(290292)){break a}if(r[852367]){b=Ri(12741)}else{b=-1}q[72572]=b;ti(290292)}b:{if(o[290300]&1){break b}if(!ui(290300)){break b}if(r[852367]){b=Yi(12748,9)}else{b=0}q[72574]=b;ti(290300)}b=q[72572];c:{if((b|0)!=-1){Qi(g+160|0,b,12748,q[72574]);break c}q[g+160>>2]=0}d:{j=q[q[a+12>>2]>>2];f=q[q[j>>2]+20>>2];if((f|0)!=-2){c=q[a+8>>2];b=0;e:{if(!c){break e}b=q[c+120>>2]}k=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[j+12>>2]);bk(b);Xi(b,-1e4,f);Xi(b,-1e4,q[j+12>>2]);f=a;c=q[a+4>>2];a=q[c+4>>2];i=q[c>>2];c=a;f:{if(a|i){Yj(b,i,c);break f}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16}ij(b,0,16);i=q[b+8>>2]-q[b+12>>2]>>4;a=q[f+4>>2];c=s[a+952>>1];if(c&1){Bi(b,12936,7);d=+t[q[f+4>>2]+804>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);a=q[f+4>>2];c=s[a+952>>1]}if(c&4){Bi(b,a+544|0,q[a+800>>2]);pi(b,i,12944);a=q[f+4>>2];c=s[a+952>>1]}if(c&8){si(g+16|0,a+808|0,144);Bi(b,12957,12);a=0;ij(b,32,0);while(1){c=q[b+8>>2];q[c+8>>2]=3;e=c;c=a+1|0;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;d=+u[(g+16|0)+(a<<2)>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);a=c;if((a|0)!=32){continue}break}Wi(b,-3);Bi(b,12970,15);a=0;ij(b,32,0);while(1){c=q[b+8>>2];q[c+8>>2]=3;e=c;c=a+1|0;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;h=g+16|0;e=0;g:{if(!h){break g}e=q[(h+(a>>>3&536870908)|0)+128>>2]>>>a&1}a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=e>>>0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);a=c;if((a|0)!=32){continue}break}Wi(b,-3);Bi(b,12986,12);ij(b,4,0);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;a=g+16|0;if(a){o[g+12|0]=r[a+136|0]}d=a?+r[g+12|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;a=g+16|0;if(a){o[g+12|0]=r[a+137|0]}d=a?+r[g+12|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;a=g+16|0;if(a){o[g+12|0]=r[a+138|0]}d=a?+r[g+12|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;a=g+16|0;if(a){o[g+12|0]=r[a+139|0]}d=a?+r[g+12|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Wi(b,-3);a=q[f+4>>2]}if(q[a>>2]|q[a+4>>2]){Bi(b,12999,5);d=+u[q[f+4>>2]+8>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13005,7);a=s[q[f+4>>2]+952>>1]>>>5&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13013,8);a=s[q[f+4>>2]+952>>1]>>>6&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13022,8);a=s[q[f+4>>2]+952>>1]>>>7&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);a=q[f+4>>2]}c=s[a+952>>1];if(c&256){Bi(b,13031,1);d=+u[q[f+4>>2]+12>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13033,1);d=+u[q[f+4>>2]+16>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13035,2);d=+u[q[f+4>>2]+20>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13038,2);d=+u[q[f+4>>2]+24>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13041,8);d=+u[q[f+4>>2]+28>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13050,8);d=+u[q[f+4>>2]+32>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13059,9);d=+u[q[f+4>>2]+36>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13069,9);d=+u[q[f+4>>2]+40>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);a=q[f+4>>2];c=s[a+952>>1]}if(c&512){Bi(b,13079,5);d=+u[q[f+4>>2]+44>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13085,5);d=+u[q[f+4>>2]+48>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);Bi(b,13091,5);d=+u[q[f+4>>2]+52>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,i);a=q[f+4>>2]}i=q[a+540>>2];if((i|0)>=1){Bi(b,13097,5);ij(b,i,0);c=0;while(1){e=q[f+4>>2];a=q[b+8>>2];q[a+8>>2]=3;h=a;a=c+1|0;v[h>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;ij(b,0,6);Bi(b,13103,2);c=e+w(c,44)|0;e=q[c+96>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13106,9);e=q[c+56>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13005,7);e=!q[c+60>>2];h=q[b+8>>2];q[h+8>>2]=1;q[h>>2]=e;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13013,8);e=q[c+60>>2]-3>>>0<2;h=q[b+8>>2];q[h+8>>2]=1;q[h>>2]=e;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13031,1);e=q[c- -64>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13033,1);e=q[c+68>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13041,8);d=+q[c+72>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13050,8);d=+q[c+76>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13035,2);e=q[c+80>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);Bi(b,13038,2);e=q[c+84>>2];h=q[b+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;Wi(b,-3);wi(b,13059);d=+q[c+88>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;qj(b,-3);wi(b,13069);d=+q[c+92>>2];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[b+8>>2]=q[b+8>>2]+16;qj(b,-3);Wi(b,-3);c=a;if((a|0)!=(i|0)){continue}break}Wi(b,-3);a=q[f+4>>2]}if(r[a+952|0]&16){a=q[a+800>>2];Bi(b,13116,4);h:{if(!a){wi(b,13121);break h}Bi(b,q[f+4>>2]+544|0,a)}Wi(b,-3)}f=q[b+8>>2]-q[b+12>>2]>>4;q[g+12>>2]=0;c=Cq(b,0,q[q[q[j>>2]+40>>2]+8>>2],q[59088],0,g+12|0);i:{if(o[290308]&1){break i}if(!ui(290308)){break i}if(r[852367]){a=Ri(13122)}else{a=-1}q[72576]=a;ti(290308)}a=q[72576];j:{if((a|0)!=-1){Qi(g+16|0,a,c,q[g+12>>2]);break j}q[g+16>>2]=0}a=Wl(b,3,-1);if(q[g+16>>2]){Pi(g+16|0)}c=-1e3;k:{if(a){break k}c=0;a=((q[b+8>>2]-q[b+12>>2]>>4)-f|0)+3|0;if((a|0)<0){break k}c=q[59088];l:{m:{if(a){break m}if((ri(b,-1)|0)!=1){break m}c=(Fj(b,-1)|0)!=0;break l}q[g>>2]=c;mi(4,12677,13130,g);c=-1e3}oi(b,-2-a|0)}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;bk(b);if(q[b+8>>2]-q[b+12>>2]>>4!=(k|0)){break d}}if(q[g+160>>2]){Pi(g+160|0)}fi=g+176|0;return c|0}J(12758,12779,694,13202);G()}function WY(a,b,c,d){var e=x(0),f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0,p=x(0),r=0,t=0,v=x(0),y=x(0),z=0,A=x(0),B=0,C=0,D=0,E=0,F=0,G=x(0),H=x(0),I=0,J=0,K=0,L=0,M=x(0),N=x(0),O=0,P=0,Q=0,R=0,S=x(0),T=0,U=0,V=0,W=0,X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=0,ja=0,ka=0,la=0;m=fi;ia=m;F=b>>1;U=q[c+108>>2];h=q[c+96>>2];a:{if(h){m=U-(F<<2)|0;if((m|0)>2]){break a}q[c+108>>2]=m;z=h+m|0;break a}z=m-((F<<2)+15&-16)|0;fi=z}h=F<<2;I=h+a|0;j=(h+z|0)-8|0;m=q[((d<<2)+c|0)+1084>>2];b:{if(!F){f=m;break b}i=a;f=m;while(1){u[j+4>>2]=x(u[i>>2]*u[f>>2])-x(u[i+8>>2]*u[f+4>>2]);u[j>>2]=x(u[i>>2]*u[f+4>>2])+x(u[i+8>>2]*u[f>>2]);f=f+8|0;j=j-8|0;i=i+16|0;if((I|0)!=(i|0)){continue}break}}if(j>>>0>=z>>>0){i=((F<<2)+a|0)-12|0;while(1){u[j+4>>2]=x(u[i>>2]*u[f+4>>2])-x(u[i+8>>2]*u[f>>2]);u[j>>2]=x(u[f>>2]*x(-u[i>>2]))-x(u[i+8>>2]*u[f+4>>2]);i=i-16|0;f=f+8|0;j=j-8|0;if(z>>>0<=j>>>0){continue}break}}T=b>>2;if((b|0)>=16){h=T<<2;j=h+z|0;r=a+h|0;f=(m+(F<<2)|0)-32|0;h=a;i=z;while(1){k=u[i>>2];l=u[j>>2];g=u[j+4>>2];e=u[i+4>>2];u[r+4>>2]=g+e;u[r>>2]=u[j>>2]+u[i>>2];g=x(g-e);e=x(l-k);u[h+4>>2]=x(g*u[f+16>>2])-x(e*u[f+20>>2]);u[h>>2]=x(e*u[f+16>>2])+x(g*u[f+20>>2]);k=u[i+8>>2];l=u[j+8>>2];g=u[j+12>>2];e=u[i+12>>2];u[r+12>>2]=g+e;u[r+8>>2]=u[j+8>>2]+u[i+8>>2];g=x(g-e);e=x(l-k);u[h+12>>2]=x(g*u[f>>2])-x(e*u[f+4>>2]);u[h+8>>2]=x(e*u[f>>2])+x(g*u[f+4>>2]);i=i+16|0;j=j+16|0;h=h+16|0;r=r+16|0;f=f-32|0;if(m>>>0<=f>>>0){continue}break}}J=b>>3;c:{if(b>>>0<=16383){h=o[b+203056|0];if(b>>>0<=15){break c}h=o[(b>>>5|0)+203056|0]+5|0;if(b>>>0<=511){break c}h=o[(b>>>10|0)+203056|0]+10|0;break c}if(b>>>0<=16777215){h=o[(b>>>15|0)+203056|0]+15|0;if(b>>>0<=524287){break c}h=o[(b>>>20|0)+203056|0]+20|0;break c}h=o[(b>>>25|0)+203056|0]+25|0;if(b>>>0<=536870911){break c}h=0;if((b|0)<0){break c}h=o[(b>>>30|0)+203056|0]+30|0}j=b>>4;B=F-1|0;i=0-J|0;vE(j,a,B,i,m);vE(j,a,B-T|0,i,m);K=b>>5;i=0-j|0;_r(K,a,B,i,m,16);_r(K,a,B-J|0,i,m,16);_r(K,a,B-(J<<1)|0,i,m,16);_r(K,a,B+w(J,-3)|0,i,m,16);C=2;if((h|0)>=10){i=h-4>>1;C=(i|0)>3?i:3;j=2;while(1){i=j;j=i+1|0;t=2<=1){n=8<>i+2;r=0-(D>>1)|0;i=b>>i+4;while(1){_r(i,a,B-w(f,D)|0,r,m,n);f=f+1|0;if((t|0)!=(f|0)){continue}break}}if((j|0)!=(C|0)){continue}break}}V=h-7|0;if((V|0)>(C|0)){while(1){h=C;C=h+1|0;O=b>>h+6;if((O|0)>=1){r=2<>h+2;ja=0-h|0;ka=i+1|0;la=0-(h>>1)|0;P=w(i,3);Q=P+1|0;L=i<<1;R=L|1;h=m;D=B;while(1){if((r|0)>=1){M=u[(Q<<2)+h>>2];N=u[(P<<2)+h>>2];G=u[(R<<2)+h>>2];H=u[(L<<2)+h>>2];A=u[(ka<<2)+h>>2];v=u[h+W>>2];y=u[h+4>>2];p=u[h>>2];f=(D<<2)+a|0;j=f+(la<<2)|0;i=r;while(1){t=j-4|0;l=u[t>>2];g=u[f>>2];e=u[j>>2];u[f>>2]=g+e;n=f-4|0;k=u[n>>2];u[n>>2]=k+u[t>>2];g=x(g-e);e=x(k-l);u[t>>2]=x(y*g)+x(p*e);u[j>>2]=x(p*g)-x(y*e);E=j-12|0;l=u[E>>2];n=f-8|0;g=u[n>>2];t=j-8|0;e=u[t>>2];u[n>>2]=g+e;n=f-12|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(A*g)+x(v*e);u[t>>2]=x(v*g)-x(A*e);E=j-20|0;l=u[E>>2];n=f-16|0;g=u[n>>2];t=j-16|0;e=u[t>>2];u[n>>2]=g+e;n=f-20|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(G*g)+x(H*e);u[t>>2]=x(H*g)-x(G*e);E=j-28|0;l=u[E>>2];n=f-24|0;g=u[n>>2];t=j-24|0;e=u[t>>2];u[n>>2]=g+e;n=f-28|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(M*g)+x(N*e);u[t>>2]=x(N*g)-x(M*e);n=ja<<2;j=n+j|0;f=f+n|0;n=(i|0)>1;i=i-1|0;if(n){continue}break}}D=D-8|0;h=(W<<2)+h|0;i=(O|0)>1;O=O-1|0;if(i){continue}break}}if((C|0)!=(V|0)){continue}break}}if((b|0)>=32){f=(B<<2)+a|0;P=f-(K<<6)|0;S=u[m+(J<<2)>>2];while(1){X=u[f>>2];Q=f-32|0;Y=u[Q>>2];k=x(X+Y);L=f-48|0;Z=u[L>>2];m=f-16|0;_=u[m>>2];l=x(Z+_);g=x(k+l);h=f-8|0;$=u[h>>2];R=f-40|0;aa=u[R>>2];ba=x($+aa);t=f-56|0;ca=u[t>>2];n=f-24|0;da=u[n>>2];ea=x(ca+da);e=x(ba+ea);u[f>>2]=g+e;u[h>>2]=g-e;G=x(k-l);B=f-12|0;fa=u[B>>2];C=f-44|0;H=u[C>>2];v=x(fa+H);D=f-28|0;ga=u[D>>2];r=f-60|0;A=u[r>>2];e=x(ga+A);y=x(v-e);u[m>>2]=G+y;j=f-4|0;M=u[j>>2];i=f-36|0;N=u[i>>2];p=x(M+N);m=f-20|0;k=u[m>>2];h=f-52|0;l=u[h>>2];g=x(k+l);ha=x(p+g);e=x(v+e);u[j>>2]=ha+e;u[n>>2]=G-y;u[B>>2]=ha-e;g=x(p-g);e=x(ba-ea);u[m>>2]=g-e;u[D>>2]=g+e;G=x(X-Y);v=x(k-l);y=x(G+v);p=x($-aa);k=x(fa-H);H=x(S*x(p+k));l=x(ca-da);g=x(ga-A);A=x(S*x(l+g));e=x(H+A);u[Q>>2]=y+e;u[R>>2]=y-e;v=x(G-v);y=x(S*x(k-p));e=x(S*x(l-g));p=x(y-e);u[L>>2]=v+p;k=x(M-N);l=x(Z-_);g=x(k+l);e=x(y+e);u[i>>2]=g+e;u[t>>2]=v-p;u[C>>2]=g-e;g=x(k-l);e=x(H-A);u[h>>2]=g-e;u[r>>2]=g+e;f=f+ -64|0;if(P>>>0>>0){continue}break}}C=F-4|0;f=((T<<2)+z|0)-16|0;if(z>>>0<=f>>>0){j=(C<<2)+z|0;i=q[((d<<2)+c|0)+1116>>2];while(1){h=(s[i>>1]<<2)+a|0;u[j+12>>2]=u[h>>2];u[j+8>>2]=u[h+4>>2];u[f+12>>2]=u[h+8>>2];u[f+8>>2]=u[h+12>>2];h=(s[i+2>>1]<<2)+a|0;u[j+4>>2]=u[h>>2];u[j>>2]=u[h+4>>2];u[f+4>>2]=u[h+8>>2];u[f>>2]=u[h+12>>2];i=i+4|0;j=j-16|0;f=f-16|0;if(z>>>0<=f>>>0){continue}break}}j=(F<<2)+z|0;h=j-16|0;if(z>>>0>>0){i=q[((d<<2)+c|0)+1100>>2];r=j;f=z;while(1){g=u[f+4>>2];D=r-4|0;e=u[D>>2];A=x(g-e);v=u[i+4>>2];y=x(g+e);p=u[f>>2];m=r-8|0;g=u[m>>2];k=x(p-g);e=u[i>>2];l=x(x(v*y)-x(k*e));u[f+4>>2]=A+l;g=x(p+g);e=x(x(k*v)+x(y*e));u[f>>2]=g+e;u[D>>2]=l-A;u[m>>2]=g-e;g=u[f+12>>2];m=r-12|0;e=u[m>>2];A=x(g-e);v=u[i+12>>2];y=x(g+e);p=u[f+8>>2];g=u[h>>2];k=x(p-g);e=u[i+8>>2];l=x(x(v*y)-x(k*e));u[f+12>>2]=A+l;g=x(p+g);e=x(x(k*v)+x(y*e));u[f+8>>2]=g+e;u[h>>2]=g-e;u[m>>2]=l-A;i=i+16|0;r=h;f=f+16|0;h=h-16|0;if(f>>>0>>0){continue}break}}h=j-32|0;if(z>>>0<=h>>>0){f=q[((d<<2)+c|0)+1092>>2]+(F<<2)|0;i=(C<<2)+a|0;r=((b<<2)+a|0)-16|0;while(1){p=u[j-8>>2];k=u[f-4>>2];l=u[j-4>>2];g=u[f-8>>2];e=x(x(p*k)-x(l*g));u[a>>2]=e;u[i+12>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I>>2]=e;u[r+12>>2]=e;p=u[j-16>>2];k=u[f-12>>2];l=u[j-12>>2];g=u[f-16>>2];e=x(x(p*k)-x(l*g));u[a+4>>2]=e;u[i+8>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+4>>2]=e;u[r+8>>2]=e;p=u[j-24>>2];k=u[f-20>>2];l=u[j-20>>2];g=u[f-24>>2];e=x(x(p*k)-x(l*g));u[a+8>>2]=e;u[i+4>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+8>>2]=e;u[r+4>>2]=e;p=u[h>>2];k=u[f-28>>2];l=u[j-28>>2];f=f-32|0;g=u[f>>2];e=x(x(p*k)-x(l*g));u[a+12>>2]=e;u[i>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+12>>2]=e;u[r>>2]=e;r=r-16|0;i=i-16|0;I=I+16|0;a=a+16|0;j=h;h=h-32|0;if(z>>>0<=h>>>0){continue}break}}q[c+108>>2]=U;fi=ia}function UB(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;a:{if(q[a+18368>>2]>15){break a}while(1){i=0;b:{if(q[a+18376>>2]){break b}h=q[a>>2];j=q[h+172>>2];c:{if(j>>>0>2]){q[h+172>>2]=j+1;i=r[j|0];break c}if(!q[h+32>>2]){break b}j=h+40|0;i=ji[q[h+16>>2]](q[h+28>>2],j,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);d:{if(!i){o[h+40|0]=0;q[h+32>>2]=0;j=h+41|0;i=0;break d}j=i+j|0;i=r[h+40|0]}q[h+176>>2]=j;q[h+172>>2]=h+41}if((i|0)!=255){break b}i=q[a>>2];h=q[i+172>>2];e:{if(h>>>0>2]){q[i+172>>2]=h+1;h=r[h|0];break e}if(!q[i+32>>2]){h=0;break e}j=i+40|0;h=ji[q[i+16>>2]](q[i+28>>2],j,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);f:{if(!h){o[i+40|0]=0;q[i+32>>2]=0;j=i+41|0;h=0;break f}j=h+j|0;h=r[i+40|0]}q[i+176>>2]=j;q[i+172>>2]=i+41}while(1){i=255;if((h|0)!=255){if(!h){break b}q[a+18376>>2]=1;o[a+18372|0]=h;break a}i=q[a>>2];h=q[i+172>>2];if(h>>>0>2]){q[i+172>>2]=h+1;h=r[h|0];continue}h=0;if(!q[i+32>>2]){continue}j=i+40|0;h=ji[q[i+16>>2]](q[i+28>>2],j,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);g:{if(!h){o[i+40|0]=0;q[i+32>>2]=0;j=i+41|0;h=0;break g}j=h+j|0;h=r[i+40|0]}q[i+176>>2]=j;q[i+172>>2]=i+41;continue}}h=q[a+18368>>2];q[a+18368>>2]=h+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-h;if((h|0)<17){continue}break}}h:{k=or(a,c);if((k|0)<=-1){break h}l=qi(b,0,128);i:{if(!k){break i}j:{if((k|0)<=q[a+18368>>2]){break j}while(1){i=0;k:{if(q[a+18376>>2]){break k}b=q[a>>2];c=q[b+172>>2];l:{if(c>>>0>2]){q[b+172>>2]=c+1;i=r[c|0];break l}if(!q[b+32>>2]){break k}j=b+40|0;h=ji[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;m:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break m}i=r[b+40|0];h=h+j|0}q[c+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break k}b=q[a>>2];c=q[b+172>>2];n:{if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];break n}if(!q[b+32>>2]){h=0;break n}h=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);o:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break o}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break k}q[a+18376>>2]=1;o[a+18372|0]=h;break j}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);p:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break p}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}if(k>>>0>16){break i}b=q[a+18364>>2];q[a+18368>>2]=q[a+18368>>2]-k;c=owa(b,k);h=k<<2;i=q[h+154528>>2];q[a+18364>>2]=c&(i^-1);m=(q[h+154704>>2]&(b>>31^-1))+(c&i)|0}c=(w(f,72)+a|0)+18100|0;b=q[c>>2]+m|0;q[c>>2]=b;p[l>>1]=w(b,s[g>>1]);c=1;while(1){q:{if(q[a+18368>>2]>15){break q}while(1){i=0;r:{if(q[a+18376>>2]){break r}b=q[a>>2];f=q[b+172>>2];s:{if(f>>>0>2]){q[b+172>>2]=f+1;i=r[f|0];break s}if(!q[b+32>>2]){break r}j=b+40|0;h=ji[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);f=b;t:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break t}i=r[b+40|0];h=h+j|0}q[f+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break r}b=q[a>>2];f=q[b+172>>2];u:{if(f>>>0>2]){q[b+172>>2]=f+1;h=r[f|0];break u}if(!q[b+32>>2]){h=0;break u}h=b+40|0;f=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);v:{if(!f){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break v}j=f+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break r}q[a+18376>>2]=1;o[a+18372|0]=h;break q}b=q[a>>2];f=q[b+172>>2];if(f>>>0>2]){q[b+172>>2]=f+1;h=r[f|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;f=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);w:{if(!f){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break w}j=f+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}f=q[a+18364>>2];b=s[(f>>>22&1022)+e>>1];x:{y:{if(b){h=f;f=b&15;q[a+18364>>2]=h<>2]=q[a+18368>>2]-f;c=(b>>>4&15)+c|0;f=r[c+154272|0]<<1;p[f+l>>1]=w(s[f+g>>1],b<<16>>16>>>8|0);c=c+1|0;break y}b=or(a,d);if((b|0)<=-1){break h}f=b&15;if(!f){if((b|0)!=240){break x}c=c+16|0;break y}k=(b>>>4|0)+c|0;m=r[k+154272|0];j=q[a+18368>>2];z:{if((f|0)<=(j|0)){break z}while(1){i=0;A:{if(q[a+18376>>2]){break A}b=q[a>>2];c=q[b+172>>2];B:{if(c>>>0>2]){q[b+172>>2]=c+1;i=r[c|0];break B}if(!q[b+32>>2]){break A}j=b+40|0;h=ji[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;C:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break C}i=r[b+40|0];h=h+j|0}q[c+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break A}b=q[a>>2];c=q[b+172>>2];D:{if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];break D}if(!q[b+32>>2]){h=0;break D}h=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);E:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break E}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break A}q[a+18376>>2]=1;o[a+18372|0]=h;j=q[a+18368>>2];break z}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);F:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break F}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];j=b+8|0;q[a+18368>>2]=j;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}q[a+18368>>2]=j-f;c=q[a+18364>>2];b=owa(c,f);f=f<<2;h=q[f+154528>>2];q[a+18364>>2]=b&(h^-1);i=m<<1;p[i+l>>1]=w(s[g+i>>1],(q[f+154704>>2]&(c>>31^-1))+(b&h)|0);c=k+1|0}if((c|0)<64){continue}}break}return 1}q[212945]=154250;return 0}function LL(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=fi-16|0;fi=e;g=1;a:{b:{switch(b-a>>4){case 2:b=b-16|0;c=b;d=q[c>>2];c=q[c+4>>2];f=q[a+4>>2];if((c|0)==(f|0)&t[a>>2]<=d>>>0|c>>>0>f>>>0){break a}c=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=c;c=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a;case 3:c=a+16|0;b=b-16|0;h=q[b>>2];d=q[b+4>>2];f=q[a+20>>2];j=q[a+4>>2];i=q[a+16>>2];if((f|0)==(j|0)&i>>>0>=t[a>>2]|f>>>0>j>>>0){if((d|0)==(f|0)&h>>>0>=i>>>0|d>>>0>f>>>0){break a}d=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=d;d=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=d;d=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=d;b=q[a+20>>2];d=q[a+4>>2];if((b|0)==(d|0)&t[a+16>>2]>=t[a>>2]|b>>>0>d>>>0){break a}b=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=b;b=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;a=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=a;a=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=a;break a}if((d|0)==(f|0)&h>>>0>>0|d>>>0>>0){c=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=c;c=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a}d=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=d;d=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=d;d=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=d;d=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=d;d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[b+4>>2];f=q[a+20>>2];if((d|0)==(f|0)&t[b>>2]>=t[a+16>>2]|d>>>0>f>>>0){break a}a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=a;a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a;case 4:kr(a,a+16|0,a+32|0,b-16|0);break a;case 5:d=a+16|0;c=a+32|0;f=a+48|0;kr(a,d,c,f);b=b-16|0;i=q[b>>2];h=q[b+4>>2];k=q[a+52>>2];if((h|0)==(k|0)&t[a+48>>2]<=i>>>0|h>>>0>k>>>0){break a}h=q[f+12>>2];q[e+8>>2]=q[f+8>>2];q[e+12>>2]=h;h=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=h;h=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=h;h=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=h;h=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=h;h=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=h;b=q[f+4>>2];h=q[c+4>>2];if((b|0)==(h|0)&t[f>>2]>=t[c>>2]|b>>>0>h>>>0){break a}b=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=b;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;b=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=b;b=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=b;b=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=b;b=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=b;b=q[c+4>>2];f=q[d+4>>2];if((b|0)==(f|0)&t[c>>2]>=t[d>>2]|b>>>0>f>>>0){break a}b=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=b;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=b;b=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=b;b=q[a+20>>2];c=q[a+4>>2];if((b|0)==(c|0)&t[a+16>>2]>=t[a>>2]|b>>>0>c>>>0){break a}b=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=b;b=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;a=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=a;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;break a;case 0:case 1:break a;default:break b}}g=a+16|0;f=a+32|0;i=q[a+32>>2];d=q[a+36>>2];h=q[a+20>>2];k=q[a+4>>2];j=q[a+16>>2];l=q[a>>2];c:{if((h|0)==(k|0)&j>>>0>=l>>>0|h>>>0>k>>>0){if((d|0)==(h|0)&i>>>0>=j>>>0|d>>>0>h>>>0){break c}h=q[g+12>>2];c=e+8|0;q[c>>2]=q[g+8>>2];q[c+4>>2]=h;d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;d=f+8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=d;d=q[c+4>>2];q[f+8>>2]=q[c>>2];q[f+12>>2]=d;d=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=d;d=q[g+4>>2];if((k|0)==(d|0)&l>>>0<=t[g>>2]|d>>>0>k>>>0){break c}d=q[a+12>>2];q[c>>2]=q[a+8>>2];q[c+4>>2]=d;d=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=d;d=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=d;d=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=d;d=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=d;d=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=d;break c}if((d|0)==(h|0)&i>>>0>>0|d>>>0>>0){c=a+8|0;d=q[c+4>>2];q[e+8>>2]=q[c>>2];q[e+12>>2]=d;g=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=g;g=f+8|0;d=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=d;g=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=g;g=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=g;g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;break c}k=q[a+12>>2];c=e+8|0;q[c>>2]=q[a+8>>2];q[c+4>>2]=k;h=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=h;h=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=h;h=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=h;h=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=h;h=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=h;h=q[a+20>>2];if((h|0)==(d|0)&t[a+16>>2]<=i>>>0|d>>>0>h>>>0){break c}d=q[g+12>>2];q[c>>2]=q[g+8>>2];q[c+4>>2]=d;d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;d=f+8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=d;g=q[c+4>>2];q[f+8>>2]=q[c>>2];q[f+12>>2]=g;g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g}d:{e:{g=a+48|0;if((g|0)==(b|0)){break e}while(1){f:{d=g;h=q[d+4>>2];j=q[f+4>>2];i=q[d>>2];if((h|0)==(j|0)&i>>>0>2]|h>>>0>>0){k=q[d+8>>2];j=q[d+12>>2];c=d;while(1){g:{g=f;l=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=l;l=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=l;if((a|0)==(f|0)){g=a;break g}c=g;f=c-16|0;l=q[f+4>>2];if((l|0)==(h|0)&i>>>0>2]|h>>>0>>0){continue}}break}q[g+8>>2]=k;q[g+12>>2]=j;q[g>>2]=i;q[g+4>>2]=h;m=m+1|0;if((m|0)==8){break f}}f=d;g=d+16|0;if((g|0)!=(b|0)){continue}break e}break}c=(d+16|0)==(b|0);a=0;break d}a=1}g=a|c}fi=e+16|0;return g&1}function CF(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0;i=fi-336|0;fi=i;t=q[a+8>>2]-q[a+12>>2]>>4;vj(a,f,5);Hi(a,f);f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if(e>>>0<=1){ni(a,118003,0)}f=d+2|0;if(dk(a,-2)){l=d+e|0;while(1){if((m&65535)==65535){q[i+320>>2]=65535;ni(a,118019,i+320|0)}k=ri(a,-2);p=ri(a,-1);g=k-3|0;if(g>>>0>=2){q[i+304>>2]=(k|0)==-1?125997:q[(k<<2)+261152>>2];ni(a,118055,i+304|0)}m=m+1|0;if((l-f|0)<=1){q[i+288>>2]=e;q[i+292>>2]=m&65535;ni(a,118113,i+288|0)}a:{b:{switch(g|0){case 1:o[f+1|0]=p;o[f|0]=4;q[i+332>>2]=0;s=_i(a,-2,i+332|0);g=q[i+332>>2];j=g+4|0;h=f+2|0;if((j|0)>(l-h|0)){q[i+228>>2]=s;q[i+224>>2]=e;q[i+232>>2]=m&65535;ni(a,119058,i+224|0);g=q[i+332>>2]}o[f+2|0]=g;o[f+3|0]=g>>>8;o[f+4|0]=g>>>16;o[f+5|0]=g>>>24;si(f+6|0,s,g);f=h+j|0;break a;case 0:break b;default:break a}}n=wj(a,-2);o[f+1|0]=p;o[f|0]=n>=0?3:64;g=f+2|0;c:{switch(q[b+4>>2]){case 0:if((l-g|0)<=1){ni(a,118003,0)}if(!(n>65535^1)){q[i+256>>2]=65535;ni(a,119130,i+256|0)}j=f;h=f;if(n<4294967296&n>=0){g=~~n>>>0}else{g=0}o[h+2|0]=g;o[j+3|0]=g>>>8;f=f+4|0;break a;case 3:if((l-g|0)<=3){ni(a,118003,0)}n=n<0?-n:n;if(!(n>4294967295^1)){q[i+272>>2]=-1;ni(a,119130,i+272|0)}j=f;h=f;if(n<4294967296&n>=0){g=~~n>>>0}else{g=0}o[h+2|0]=g;o[j+3|0]=g>>>8;o[j+4|0]=g>>>16;o[j+5|0]=g>>>24;f=f+6|0;break a;default:break c}}if(!(n>4294967295^1)){q[i+240>>2]=-1;ni(a,119130,i+240|0)}if(n<4294967296&n>=0){f=~~n>>>0}else{f=0}j=f;d:{if(f>>>0<128){break d}while(1){if(g>>>0>=l>>>0){j=f;break d}o[g|0]=f|128;g=g+1|0;h=f>>>0>16383;j=f>>>7|0;f=j;if(h){continue}break}}if(g>>>0>>0){o[g|0]=j&127;f=g+1|0;break a}ni(a,118003,0);f=g}e:{f:{switch(p-1|0){case 0:if((l-f|0)<=0){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+24>>2]=m&65535;q[i+20>>2]=j;q[i+16>>2]=e;ni(a,118184,i+16|0)}o[f|0]=Fj(a,-1);f=f+1|0;break e;case 2:j=f-c|0;g=(j+3&-4)-j|0;if((g|0)>(l-f|0)){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+56>>2]=m&65535;q[i+52>>2]=j;q[i+48>>2]=e;ni(a,118184,i+48|0)}h=qi(f,0,g)+g|0;f=l-h|0;if(!((f|0)>=(g|0)?(f|0)>=8:0)){f=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+40>>2]=m&65535;q[i+36>>2]=f;q[i+32>>2]=e;ni(a,118184,i+32|0)}xwa(+wj(a,-1));j=uwa(1)|0;f=uwa(0)|0;o[h|0]=f;o[h+1|0]=f>>>8;o[h+2|0]=f>>>16;o[h+3|0]=f>>>24;o[h+4|0]=j;o[h+5|0]=j>>>8;o[h+6|0]=j>>>16;o[h+7|0]=j>>>24;f=h+8|0;break e;case 3:q[i+332>>2]=0;h=_i(a,-1,i+332|0);g=q[i+332>>2];j=g+4|0;if((j|0)>(l-f|0)){q[i+68>>2]=h;q[i+64>>2]=e;q[i+72>>2]=m&65535;ni(a,119058,i- -64|0);g=q[i+332>>2]}o[f|0]=g;o[f+1|0]=g>>>8;o[f+2|0]=g>>>16;o[f+3|0]=g>>>24;si(f+4|0,h,g);f=f+j|0;break e;case 6:if((l-f|0)<=0){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+216>>2]=m&65535;q[i+212>>2]=j;q[i+208>>2]=e;ni(a,118184,i+208|0)}g=f+1|0;j=g-c|0;h=(j+3&-4)-j|0;if((h|0)>(l-g|0)){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+200>>2]=m&65535;q[i+196>>2]=j;q[i+192>>2]=e;ni(a,118184,i+192|0)}h=qi(g,0,h)+h|0;g=sm(a,-1);if(g){if((l-h|0)<=11){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+184>>2]=m&65535;q[i+180>>2]=j;q[i+176>>2]=e;ni(a,118184,i+176|0)}o[f|0]=0;u[h>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];f=h+12|0;break e}g=pn(a,-1);if(g){if((l-h|0)<=15){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+168>>2]=m&65535;q[i+164>>2]=j;q[i+160>>2]=e;ni(a,118184,i+160|0)}o[f|0]=1;u[h>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];f=h+16|0;break e}g=$x(a,-1);if(g){if((l-h|0)<=15){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+152>>2]=m&65535;q[i+148>>2]=j;q[i+144>>2]=e;ni(a,118184,i+144|0)}o[f|0]=2;u[h>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];f=h+16|0;break e}g=fk(a,-1,q[210279]);if(g){if((l-h|0)<=63){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+136>>2]=m&65535;q[i+132>>2]=j;q[i+128>>2]=e;ni(a,118184,i+128|0)}o[f|0]=3;u[h>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];u[h+16>>2]=u[g+16>>2];u[h+20>>2]=u[g+20>>2];u[h+24>>2]=u[g+24>>2];u[h+28>>2]=u[g+28>>2];u[h+32>>2]=u[g+32>>2];u[h+36>>2]=u[g+36>>2];u[h+40>>2]=u[g+40>>2];u[h+44>>2]=u[g+44>>2];u[h+48>>2]=u[g+48>>2];u[h+52>>2]=u[g+52>>2];u[h+56>>2]=u[g+56>>2];u[h+60>>2]=u[g+60>>2];f=h- -64|0;break e}if(Qn(a,-1)){j=Vi(a,-1);g=q[j>>2];j=q[j+4>>2];if((l-h|0)<=7){s=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+88>>2]=m&65535;q[i+84>>2]=s;q[i+80>>2]=e;ni(a,118184,i+80|0)}o[f|0]=4;o[h|0]=g;o[h+1|0]=g>>>8;o[h+2|0]=g>>>16;o[h+3|0]=g>>>24;o[h+4|0]=j;o[h+5|0]=j>>>8;o[h+6|0]=j>>>16;o[h+7|0]=j>>>24;f=h+8|0;break e}if(jy(a,-1)){g=Vi(a,-1);if((l-h|0)<=31){j=(k|0)==-1?125997:q[(k<<2)+261152>>2];q[i+104>>2]=m&65535;q[i+100>>2]=j;q[i+96>>2]=e;ni(a,118184,i+96|0)}o[f|0]=5;j=r[g+28|0]|r[g+29|0]<<8|(r[g+30|0]<<16|r[g+31|0]<<24);f=r[g+24|0]|r[g+25|0]<<8|(r[g+26|0]<<16|r[g+27|0]<<24);o[h+24|0]=f;o[h+25|0]=f>>>8;o[h+26|0]=f>>>16;o[h+27|0]=f>>>24;o[h+28|0]=j;o[h+29|0]=j>>>8;o[h+30|0]=j>>>16;o[h+31|0]=j>>>24;j=r[g+20|0]|r[g+21|0]<<8|(r[g+22|0]<<16|r[g+23|0]<<24);f=r[g+16|0]|r[g+17|0]<<8|(r[g+18|0]<<16|r[g+19|0]<<24);o[h+16|0]=f;o[h+17|0]=f>>>8;o[h+18|0]=f>>>16;o[h+19|0]=f>>>24;o[h+20|0]=j;o[h+21|0]=j>>>8;o[h+22|0]=j>>>16;o[h+23|0]=j>>>24;j=r[g+12|0]|r[g+13|0]<<8|(r[g+14|0]<<16|r[g+15|0]<<24);f=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);o[h+8|0]=f;o[h+9|0]=f>>>8;o[h+10|0]=f>>>16;o[h+11|0]=f>>>24;o[h+12|0]=j;o[h+13|0]=j>>>8;o[h+14|0]=j>>>16;o[h+15|0]=j>>>24;j=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);f=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);o[h|0]=f;o[h+1|0]=f>>>8;o[h+2|0]=f>>>16;o[h+3|0]=f>>>24;o[h+4|0]=j;o[h+5|0]=j>>>8;o[h+6|0]=j>>>16;o[h+7|0]=j>>>24;f=h+32|0;break e}q[i+112>>2]=q[65295];ni(a,118262,i+112|0);f=h;break e;case 4:f=CF(a,b,c,f,l-f|0,-1)+f|0;break e;default:break f}}q[i>>2]=(p|0)==-1?125997:q[(p<<2)+261152>>2];ni(a,118262,i)}oi(a,-2);if(dk(a,-2)){continue}break}}oi(a,-2);o[d|0]=m;o[d+1|0]=m>>>8;if(q[a+8>>2]-q[a+12>>2]>>4!=(t|0)){J(118298,118319,537,118343);G()}fi=i+336|0;return f-d|0}function Op(a){var b=0,c=0,d=0,e=x(0),f=0,g=x(0),h=x(0),i=x(0),j=0,k=0,l=x(0),m=x(0),n=x(0),p=x(0),t=x(0),v=x(0),y=x(0),z=0,A=0,B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=x(0);c=fi-144|0;fi=c;a:{if(o[290004]&1){break a}if(!ui(290004)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72500]=b;ti(290004)}b:{if(o[290012]&1){break b}if(!ui(290012)){break b}if(r[852367]){b=Yi(8720,16)}else{b=0}q[72502]=b;ti(290012)}b=q[72500];c:{if((b|0)!=-1){Qi(c+128|0,b,8720,q[72502]);break c}q[c+128>>2]=0}d:{e:{k=q[a+2104>>2];b=q[a+2100>>2];d=k-b|0;if(!d){break e}if((b|0)!=(k|0)){k=b-k|0;f=((d|0)<(k|0)?k:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);j=d>>>0>1?d:1;k=0;while(1){f:{d=s[(k<<1)+b>>1];f=q[a+2056>>2];if(d>>>0>2]-f>>2>>>0){b=q[f+(d<<2)>>2];f=q[b+48>>2];g:{h:{if((f|0)!=q[b+64>>2]){e=u[b+52>>2];break h}e=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break h}if(q[b+56>>2]==q[b+72>>2]){break g}}u[b+68>>2]=e;q[b+64>>2]=f;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=e;q[c>>2]=f;Jo(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}f=q[a+4148>>2];if(d>>>0>=q[a+4152>>2]-f>>6>>>0){break d}e=u[b+40>>2];i=u[b+36>>2];v=u[b+24>>2];z=q[b+20>>2];D=q[b+16>>2];d=f+(d<<6)|0;p=u[b+32>>2];g=u[b>>2];l=u[b+4>>2];y=x(l+l);h=x(g*y);m=u[b+12>>2];t=u[b+8>>2];n=x(t+t);B=x(m*n);u[d+4>>2]=p*x(h+B);C=x(g*n);I=x(y*m);u[d+8>>2]=p*x(C-I);u[d+12>>2]=p*x(0);u[d+16>>2]=i*x(h-B);u[d+32>>2]=e*x(C+I);q[d+48>>2]=D;q[d+52>>2]=z;h=g;g=x(g+g);h=x(x(1)-x(h*g));t=x(t*n);u[d+20>>2]=i*x(h-t);n=x(l*n);g=x(g*m);u[d+24>>2]=i*x(n+g);u[d+28>>2]=i*x(0);u[d+36>>2]=e*x(n-g);i=x(l*y);u[d+40>>2]=e*x(h-i);u[d+44>>2]=e*x(0);q[d+60>>2]=1065353216;u[d+56>>2]=v;u[d>>2]=p*x(x(x(1)-i)-t);b=s[b+138>>1];d=b>>>16|0;if(!(d|b<<16^2147418112)){break f}J(8737,7150,2390,8720);G()}break d}k=k+1|0;if((j|0)==(k|0)){break e}b=q[a+2100>>2];if(q[a+2104>>2]-b>>1>>>0>k>>>0){continue}break}}break d}i:{if(r[a+4276|0]&4){k=1;j:{k:{while(1){l:{m:{b=(k<<4)+a|0;D=b+2104|0;f=q[D>>2];E=b+2100|0;b=q[E>>2];d=f-b|0;if(!d){break m}if((b|0)!=(f|0)){f=b-f|0;f=((d|0)<(f|0)?f:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);F=d>>>0>1?d:1;d=0;while(1){f=s[(d<<1)+b>>1];j=q[a+2056>>2];if(f>>>0>=q[a+2060>>2]-j>>2>>>0){break l}b=q[j+(f<<2)>>2];j=q[b+48>>2];n:{o:{if((j|0)!=q[b+64>>2]){e=u[b+52>>2];break o}e=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break o}if(q[b+56>>2]==q[b+72>>2]){break n}}u[b+68>>2]=e;q[b+64>>2]=j;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=e;q[c>>2]=j;Jo(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}j=q[a+4148>>2];A=q[a+4152>>2]-j>>6;if(A>>>0<=f>>>0){break d}z=s[b+138>>1];if((z|0)==32767){break k}if(z>>>0>=A>>>0){break j}i=u[b+40>>2];g=u[b+36>>2];m=u[b+24>>2];e=u[b>>2];p=u[b+4>>2];l=u[b+12>>2];n=u[b+8>>2];A=q[b+20>>2];H=q[b+16>>2];y=u[b+32>>2];u[c+76>>2]=y*x(0);q[c+112>>2]=H;q[c+116>>2]=A;q[c+124>>2]=1065353216;u[c+120>>2]=m;u[c+92>>2]=g*x(0);u[c+108>>2]=i*x(0);t=x(p+p);v=x(e*t);m=x(n+n);h=x(l*m);u[c+68>>2]=y*x(v+h);B=x(e*m);C=x(t*l);u[c+72>>2]=y*x(B-C);u[c+80>>2]=g*x(v-h);v=x(p*m);h=l;l=x(e+e);h=x(h*l);u[c+88>>2]=g*x(v+h);u[c+96>>2]=i*x(B+C);u[c+100>>2]=i*x(v-h);h=g;e=x(x(1)-x(e*l));g=x(n*m);u[c+84>>2]=h*x(e-g);l=e;e=x(p*t);u[c+104>>2]=i*x(l-e);u[c+64>>2]=y*x(x(x(1)-e)-g);Dk(c,j+(z<<6)|0,c- -64|0);b=j+(f<<6)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];u[b+52>>2]=u[c+52>>2];u[b+56>>2]=u[c+56>>2];u[b+60>>2]=u[c+60>>2];d=d+1|0;if((F|0)==(d|0)){break m}b=q[E>>2];if(q[D>>2]-b>>1>>>0>d>>>0){continue}break}}break d}k=k+1|0;if((k|0)!=128){continue}break i}break}break d}J(8776,7150,2407,8720);G()}break d}k=1;while(1){p:{b=(k<<4)+a|0;D=b+2104|0;f=q[D>>2];E=b+2100|0;b=q[E>>2];d=f-b|0;if(!d){break p}q:{r:{if((b|0)!=(f|0)){f=b-f|0;f=((d|0)<(f|0)?f:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);F=d>>>0>1?d:1;d=0;while(1){f=s[(d<<1)+b>>1];j=q[a+2056>>2];if(f>>>0>=q[a+2060>>2]-j>>2>>>0){break d}b=q[j+(f<<2)>>2];j=q[b+48>>2];s:{t:{if((j|0)!=q[b+64>>2]){e=u[b+52>>2];break t}e=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break t}if(q[b+56>>2]==q[b+72>>2]){break s}}u[b+68>>2]=e;q[b+64>>2]=j;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=e;q[c>>2]=j;Jo(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}j=q[a+4148>>2];A=q[a+4152>>2]-j>>6;if(A>>>0<=f>>>0){break d}z=s[b+138>>1];if((z|0)==32767){break r}if(z>>>0>=A>>>0){break q}i=u[b+40>>2];g=u[b+36>>2];m=u[b+24>>2];e=u[b>>2];p=u[b+4>>2];l=u[b+12>>2];n=u[b+8>>2];A=q[b+20>>2];H=q[b+16>>2];y=u[b+32>>2];u[c+76>>2]=y*x(0);q[c+112>>2]=H;q[c+116>>2]=A;q[c+124>>2]=1065353216;u[c+120>>2]=m;u[c+92>>2]=g*x(0);u[c+108>>2]=i*x(0);t=x(p+p);v=x(e*t);m=x(n+n);h=x(l*m);u[c+68>>2]=y*x(v+h);B=x(e*m);C=x(t*l);u[c+72>>2]=y*x(B-C);u[c+80>>2]=g*x(v-h);v=x(p*m);h=l;l=x(e+e);h=x(h*l);u[c+88>>2]=g*x(v+h);u[c+96>>2]=i*x(B+C);u[c+100>>2]=i*x(v-h);h=g;e=x(x(1)-x(e*l));g=x(n*m);u[c+84>>2]=h*x(e-g);l=e;e=x(p*t);u[c+104>>2]=i*x(l-e);u[c+64>>2]=y*x(x(x(1)-e)-g);On(c,j+(z<<6)|0,c- -64|0);b=j+(f<<6)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];u[b+52>>2]=u[c+52>>2];u[b+56>>2]=u[c+56>>2];u[b+60>>2]=u[c+60>>2];d=d+1|0;if((F|0)==(d|0)){break p}b=q[E>>2];if(q[D>>2]-b>>1>>>0>d>>>0){continue}break}}break d}J(8776,7150,2427,8720);G()}break d}k=k+1|0;if((k|0)!=128){continue}break}}o[a+4276|0]=r[a+4276|0]&247;if(q[c+128>>2]){Pi(c+128|0)}fi=c+144|0;return}J(12475,10090,447,9406);G()}function xja(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=0,m=x(0),n=x(0),t=0,v=x(0),z=0,A=0,B=x(0),C=x(0),D=x(0),E=x(0),F=0,H=0,I=0,K=x(0),L=x(0);b=fi-208|0;fi=b;i=q[a+8>>2];F=r[i+8|0];f=q[a+4>>2];a:{if(o[295772]&1){break a}if(!ui(295772)){break a}if(r[852367]){a=Ri(51585)}else{a=-1}q[73942]=a;ti(295772)}b:{if(o[295780]&1){break b}if(!ui(295780)){break b}if(r[852367]){a=Yi(51962,16)}else{a=0}q[73944]=a;ti(295780)}a=q[73942];c:{if((a|0)!=-1){Qi(b+192|0,a,51962,q[73944]);break c}q[b+192>>2]=0}e=q[f>>2];a=q[f+4>>2]-e|0;I=(a|0)/240|0;d:{e:{if(!a){break e}f:{if((r[q[q[q[q[e>>2]+80>>2]+8>>2]>>2]+4276|0]&4)>>>2|0){H=I>>>0>1?I:1;while(1){a=q[f>>2];if((q[f+4>>2]-a|0)/240>>>0<=l>>>0){break d}c=a+w(l,240)|0;h=u[c+32>>2];B=u[c+36>>2];n=u[c+44>>2];j=u[c+40>>2];d=u[c+24>>2];e=q[c+16>>2];a=q[c+20>>2];q[b+140>>2]=0;q[b+156>>2]=0;q[b+172>>2]=0;q[b+176>>2]=e;q[b+180>>2]=a;q[b+188>>2]=1065353216;u[b+184>>2]=d;C=x(B+B);m=x(h*C);v=x(j+j);d=x(n*v);u[b+132>>2]=m+d;D=x(h*v);E=x(C*n);u[b+136>>2]=D-E;u[b+144>>2]=m-d;d=x(h+h);h=x(x(1)-x(h*d));j=x(j*v);u[b+148>>2]=h-j;m=x(B*v);d=x(d*n);u[b+152>>2]=m+d;u[b+160>>2]=D+E;u[b+164>>2]=m-d;d=x(B*C);u[b+168>>2]=h-d;u[b+128>>2]=x(x(1)-d)-j;a=cp(q[c>>2]);u[b+64>>2]=u[a>>2];u[b+68>>2]=u[a+4>>2];u[b+72>>2]=u[a+8>>2];u[b+76>>2]=u[a+12>>2];u[b+80>>2]=u[a+16>>2];u[b+84>>2]=u[a+20>>2];u[b+88>>2]=u[a+24>>2];u[b+92>>2]=u[a+28>>2];u[b+96>>2]=u[a+32>>2];u[b+100>>2]=u[a+36>>2];u[b+104>>2]=u[a+40>>2];u[b+108>>2]=u[a+44>>2];u[b+112>>2]=u[a+48>>2];u[b+116>>2]=u[a+52>>2];u[b+120>>2]=u[a+56>>2];u[b+124>>2]=u[a+60>>2];L=u[c+52>>2];K=u[c+68>>2];B=u[c+48>>2];n=u[c+64>>2];Dk(b,b- -64|0,b+128|0);v=u[b>>2];C=u[b+28>>2];D=u[b+24>>2];E=u[b+20>>2];h=u[b+16>>2];j=u[b+12>>2];m=u[b+8>>2];d=u[b+4>>2];k=q[b+32>>2];z=q[b+36>>2];A=q[b+40>>2];t=q[b+44>>2];g=q[b+48>>2];e=q[b+52>>2];a=q[b+60>>2];q[c+136>>2]=q[b+56>>2];q[c+140>>2]=a;q[c+128>>2]=g;q[c+132>>2]=e;q[c+120>>2]=A;q[c+124>>2]=t;q[c+112>>2]=k;q[c+116>>2]=z;n=x(n*B);u[c+84>>2]=d*n;u[c+88>>2]=n*m;u[c+92>>2]=n*j;d=x(K*L);u[c+96>>2]=h*d;u[c+100>>2]=d*E;u[c+104>>2]=d*D;u[c+108>>2]=d*C;u[c+80>>2]=n*v;l=l+1|0;if((H|0)!=(l|0)){continue}break}break f}H=I>>>0>1?I:1;while(1){a=q[f>>2];if((q[f+4>>2]-a|0)/240>>>0<=l>>>0){break d}c=a+w(l,240)|0;h=u[c+32>>2];B=u[c+36>>2];n=u[c+44>>2];j=u[c+40>>2];d=u[c+24>>2];e=q[c+16>>2];a=q[c+20>>2];q[b+140>>2]=0;q[b+156>>2]=0;q[b+172>>2]=0;q[b+176>>2]=e;q[b+180>>2]=a;q[b+188>>2]=1065353216;u[b+184>>2]=d;C=x(B+B);m=x(h*C);v=x(j+j);d=x(n*v);u[b+132>>2]=m+d;D=x(h*v);E=x(C*n);u[b+136>>2]=D-E;u[b+144>>2]=m-d;d=x(h+h);h=x(x(1)-x(h*d));j=x(j*v);u[b+148>>2]=h-j;m=x(B*v);d=x(d*n);u[b+152>>2]=m+d;u[b+160>>2]=D+E;u[b+164>>2]=m-d;d=x(B*C);u[b+168>>2]=h-d;u[b+128>>2]=x(x(1)-d)-j;a=cp(q[c>>2]);u[b+64>>2]=u[a>>2];u[b+68>>2]=u[a+4>>2];u[b+72>>2]=u[a+8>>2];u[b+76>>2]=u[a+12>>2];u[b+80>>2]=u[a+16>>2];u[b+84>>2]=u[a+20>>2];u[b+88>>2]=u[a+24>>2];u[b+92>>2]=u[a+28>>2];u[b+96>>2]=u[a+32>>2];u[b+100>>2]=u[a+36>>2];u[b+104>>2]=u[a+40>>2];u[b+108>>2]=u[a+44>>2];u[b+112>>2]=u[a+48>>2];u[b+116>>2]=u[a+52>>2];u[b+120>>2]=u[a+56>>2];u[b+124>>2]=u[a+60>>2];On(b,b- -64|0,b+128|0);v=u[b+28>>2];C=u[b+24>>2];D=u[b+20>>2];E=u[b+16>>2];h=u[b+12>>2];j=u[b+8>>2];m=u[b+4>>2];d=u[b>>2];k=q[b+56>>2];z=q[b+60>>2];A=q[b+48>>2];t=q[b+52>>2];g=q[b+40>>2];e=q[b+44>>2];a=q[b+36>>2];q[c+112>>2]=q[b+32>>2];q[c+116>>2]=a;q[c+120>>2]=g;q[c+124>>2]=e;q[c+128>>2]=A;q[c+132>>2]=t;q[c+136>>2]=k;q[c+140>>2]=z;K=d;d=x(u[c+64>>2]*u[c+48>>2]);u[c+80>>2]=K*d;u[c+84>>2]=d*m;u[c+88>>2]=d*j;u[c+92>>2]=d*h;d=x(u[c+68>>2]*u[c+52>>2]);u[c+96>>2]=E*d;u[c+100>>2]=d*D;u[c+104>>2]=d*C;u[c+108>>2]=d*v;l=l+1|0;if((H|0)!=(l|0)){continue}break}}if(F&1){break e}z=I>>>0>1?I:1;A=q[f>>2];t=(q[f+4>>2]-A|0)/240|0;a=0;while(1){if((a|0)==(t|0)){break d}g=A+w(a,240)|0;e=g;d=u[e+132>>2];g:{if(x(y(d))>2]=k|0;e=g;g=e;d=u[e+128>>2];h:{if(x(y(d))>2]=e|0;a=a+1|0;if((z|0)!=(a|0)){continue}break}}if(q[b+192>>2]){Pi(b+192|0)}a=q[f+4>>2]-q[f>>2]|0;A=(a|0)/240|0;if(a){F=q[i>>2];a=r[f+100|0];if(a&4){g=a&2?8:4;e=w(g,3)-6|0;t=q[i+4>>2];a=q[f+76>>2];if(a){ji[q[74896]](a);q[f+76>>2]=0}q[f+76>>2]=ji[q[74895]](q[F+2208>>2],0,0,1);a=w(g,t);q[f+80>>2]=xi(w(a,20));a=a>>>0<65537;o[f+100|0]=a|r[f+100|0]&254;z=w(e,t);t=w(z,a?2:4);a=Pl(q[f+92>>2],t);q[f+92>>2]=a;e=r[f+100|0];i:{if(e&2){break i}if(e&1){if(!z){break i}e=0;k=0;while(1){p[a+10>>1]=e;p[a>>1]=e;p[a+8>>1]=e|3;g=e|2;p[a+6>>1]=g;p[a+4>>1]=g;p[a+2>>1]=e|1;e=e+4|0;a=a+12|0;k=k+6|0;if(z>>>0>k>>>0){continue}break}break i}if(!z){break i}e=0;k=0;while(1){q[a+20>>2]=e;q[a>>2]=e;q[a+16>>2]=e|3;g=e|2;q[a+12>>2]=g;q[a+8>>2]=g;q[a+4>>2]=e|1;e=e+4|0;a=a+24|0;k=k+6|0;if(z>>>0>k>>>0){continue}break}}a=q[f+88>>2];if(a){ji[q[74903]](a);q[f+88>>2]=0}q[f+88>>2]=ji[q[74902]](q[F+2208>>2],t,q[f+92>>2],1);o[f+100|0]=r[f+100|0]&251}k=A>>>0>1?A:1;t=Qo(F,A);z=Po(F,444,f)<<6;l=0;e=t;while(1){a=q[f>>2];if((q[f+4>>2]-a|0)/240>>>0<=l>>>0){break d}i=a+w(l,240)|0;a=s[i+234>>1];if((a&132)==132){j:{if(!(a&256)){a=q[i+192>>2];if(!a|!r[a+52|0]){break j}}H=q[i+188>>2];A=q[H+12>>2];g=b;a=q[i+200>>2];if(!a){a=q[H+16>>2]}q[g+64>>2]=a;a=q[i+196>>2];if(!a){a=q[H+8>>2]}q[g>>2]=a;q[b+128>>2]=0;q[b+132>>2]=0;q[b+144>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;Sj(b+128|0,b- -64|0,4);Sj(b+128|0,b,4);Sj(b+128|0,A+12|0,4);a=q[i+192>>2];if(a){Fs(a,b+128|0)}q[i+144>>2]=Uo(b+128|0);p[i+234>>1]=s[i+234>>1]&65279}g=q[i+128>>2];a=q[i+132>>2];d=u[i+136>>2];q[e+32>>2]=i;q[e+36>>2]=0;u[e+8>>2]=d;q[e>>2]=g;q[e+4>>2]=a;q[e+20>>2]=q[i+144>>2];g=e;a=q[i+200>>2];if(!a){a=q[q[i+188>>2]+16>>2]}q[g+24>>2]=q[a+80>>2];p[e+40>>1]=z|s[e+40>>1]&49152|16;e=e+48|0}l=l+1|0;if((k|0)!=(l|0)){continue}break}Oo(F,t,e)}fi=b+208|0;return 0}J(52519,51871,447,51574);G()}function dH(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,p=0;e=fi-288|0;fi=e;k=a+2208|0;i=a+4|0;p=e+188|0;l=e+116|0;m=1;a:{b:{while(1){o[e+116|0]=0;q[e+112>>2]=-1;q[e+100>>2]=0;q[e+92>>2]=0;q[e+96>>2]=0;q[e+88>>2]=a;q[e+104>>2]=-1;q[e+108>>2]=0;o[e+180|0]=g&252;q[e+200>>2]=0;q[e+204>>2]=0;q[e+192>>2]=0;q[e+196>>2]=0;q[e+184>>2]=0;q[e+188>>2]=0;q[a+2128>>2]=0;q[a+2176>>2]=q[a+2176>>2]+1;g=0;d=-1;c:{if(x7(e+88|0,q[a>>2],s[a+2198>>1],r[a+2196|0],q[a+2160>>2])){break c}f=q[a+2204>>2];if(f){d=0;if(q[f>>2]){break c}}if(q[a+2160>>2]){f=Uj();d=0;h=q[a+2168>>2];if(q[a+2160>>2]<=(f-h|0)){break c}}d=Yl(e+88|0,c,Fi(c));d:{e:{if(d){q[a+2128>>2]=d;break e}d=Yl(e+88|0,153469,1);if(d){q[a+2128>>2]=d;break e}d=Yl(e+88|0,b,Fi(b));if(d){q[a+2128>>2]=d;break e}d=Yl(e+88|0,153471,11);if(d){q[a+2128>>2]=d;break e}d=Yl(e+88|0,153483,6);if(d){q[a+2128>>2]=d;break e}d=q[a>>2];d=Yl(e+88|0,d,Fi(d));if(d){q[a+2128>>2]=d;break e}d=Yl(e+88|0,153143,2);if(d){q[a+2128>>2]=d;break e}f:{g:{d=q[a+2152>>2];h:{if(d){if(ji[d|0](e+88|0,q[a+2132>>2])|0){break h}}i:{if(o[a+2200|0]&1){break i}d=q[a+2192>>2];if(!d){break i}if(iH(d,i,e+208|0)){break i}d=Yl(e+88|0,153490,15);j:{if(d){break j}d=Yl(e+88|0,e+208|0,Fi(e+208|0));if(d){break j}d=Yl(e+88|0,153143,2);if(!d){break i}}q[a+2128>>2]=d;break h}k:{l:{m:{if(!Ej(c,153133)){break m}if(!Ej(c,153506)){break m}if(!Ej(c,153510)){break m}d=0;break l}d=ji[q[a+2144>>2]](e+88|0,q[a+2132>>2])|0;if(!(d>>>0<16385|!r[a+2196|0])){f=Yl(e+88|0,153516,28);if(f){break f}f=0;break k}q[e+80>>2]=d;cj(e+208|0,64,153545,e+80|0);f=Yl(e+88|0,e+208|0,Fi(e+208|0));if(f){break g}}f=1}g=Yl(e+88|0,153143,2);if(g){q[a+2128>>2]=g;break e}n:{if(!Ej(c,153133)){break n}if(!Ej(c,153506)){break n}if(Ej(c,153510)){break h}}if(!f){g=0;if(d){while(1){f=d-g|0;f=f>>>0<16384?f:16384;q[e+64>>2]=f;cj(e+208|0,64,153566,e- -64|0);o:{h=Yl(e+88|0,e+208|0,Fi(e+208|0));if(!h){if(ji[q[a+2148>>2]](e+88|0,g,f,q[a+2132>>2])|0){break h}h=Yl(e+88|0,153143,2);if(!h){break o}}q[a+2128>>2]=h;break h}g=f+g|0;if(g>>>0>>0){continue}break}}d=Yl(e+88|0,153571,5);if(!d){break h}q[a+2128>>2]=d;break e}ji[q[a+2148>>2]](e+88|0,0,d,q[a+2132>>2])|0}d=-1;if(q[a+2128>>2]){break d}d=0;q[e+108>>2]=0;p:{while(1){q[e+208>>2]=0;f=65536-d|0;d=(a+d|0)+2208|0;q:{r:{g=q[e+204>>2];s:{if(g){d=ku(g,d,f,e+208|0);break s}d=fu(q[e+200>>2],d,f,e+208|0)}d=(d|0)==-3?-101:d;t:{if((d|0)!=-101?d:0){break t}f=q[a+2204>>2];if(!(!f|!q[f>>2])){d=-3;break t}u:{if(!q[a+2160>>2]){break u}f=Uj();g=q[a+2168>>2];if(q[a+2160>>2]>(f-g|0)){break u}d=-3;break t}if((d|0)==-101){break q}if(!d){break r}}q[a+2128>>2]=d;d=-1;break p}d=q[e+208>>2];f=d+q[e+108>>2]|0;q[e+108>>2]=f;o[(a+f|0)+2208|0]=0;v:{w:{x:{y:{z:{f=A7(k,e+88|0,!d);if((f|0)!=1){d=-2;if((f|0)==-1){break p}d=q[e+100>>2];if((d|0)==204){q[e+112>>2]=0}f=r[e+180|0];if(f&1|(d|0)==304|q[e+112>>2]!=-1){break z}o[e+180|0]=f|2;break y}if(q[e+208>>2]){break q}mi(3,153048,153577,0);d=-7;break p}if((d|0)!=304){break y}d=q[e+112>>2];if(d+1>>>0<=1){q[a+2180>>2]=q[a+2180>>2]+1;d=0;A:{if(o[a+2200|0]&1){break A}d=q[a+2192>>2];if(!d){mi(3,153048,153701,0);d=0;break A}o[e+208|0]=0;if(iH(d,i,e+208|0)){mi(3,153048,153759,0);d=0;break A}B:{if(!r[e+116|0]){break B}if(!Ej(e+208|0,l)){break B}q[e+36>>2]=l;q[e+32>>2]=e+208;mi(5,153048,153843,e+32|0);d=-8;break A}q[e+284>>2]=0;d=-8;if(hH(q[a+2192>>2],i,e+208|0,e+284|0,e+272|0)){break A}while(1){d=Yk(k,1,65536,q[e+284>>2]);o[(d+a|0)+2208|0]=0;ji[q[a+2136>>2]](e+88|0,q[a+2132>>2],q[e+100>>2],k,d);if(d){continue}break}fH(q[a+2192>>2],i,e+208|0,q[e+284>>2]);eH(q[a+2192>>2],i);d=0}q[e+108>>2]=0;break v}q[e+16>>2]=d;mi(3,153048,153321,e+16|0);d=-3;break x}C:{if(o[a+2200|0]&1|(d|0)!=200){break C}f=q[a+2192>>2];if(!f){break C}O7(f,i,l,q[e+184>>2],p);d=q[e+100>>2]}ji[q[a+2136>>2]](e+88|0,q[a+2132>>2],d,0,0);D:{if(!Ej(c,153868)){d=Gu(a,e+88|0,0,q[a+2136>>2],1);break D}d=q[e+104>>2];if(o[e+180|0]&1){f=(a+d|0)+2208|0;d=q[e+108>>2]-d|0;f=Kk(k,f,d);q[e+104>>2]=0;q[e+108>>2]=d;while(1){E:{q[e+208>>2]=0;g=(a+d|0)+2208|0;o[g|0]=0;h=Im(f,153143);F:{if(h){q[e+48>>2]=e+208;qw(f,153873,e+48|0);q[e+104>>2]=(h-f|0)+2;d=Gu(a,e+88|0,q[e+208>>2],q[a+2136>>2],1);if(d){break D}d=Gu(a,e+88|0,2,1311,0);if(d){break D}if(q[e+208>>2]){break F}d=0;break D}if((d|0)>=65536){d=-2;break D}d=65536-d|0;h=q[e+204>>2];G:{if(h){d=ku(h,g,d,e+272|0);break G}d=fu(q[e+200>>2],g,d,e+272|0)}g=(d|0)==-3?-101:d;if((g|0)!=-101?g:0){break E}d=q[a+2204>>2];if(q[d>>2]?d:0){break E}if(q[a+2160>>2]){d=Uj();h=q[a+2168>>2];if(q[a+2160>>2]<=(d-h|0)){break E}}if((g|0)==-101){break F}if(g){break E}q[e+108>>2]=q[e+108>>2]+q[e+272>>2]}d=q[e+108>>2];continue}break}d=-1;break D}if((d|0)==-1){break w}d=Gu(a,e+88|0,q[e+112>>2],q[a+2136>>2],1)}f=q[e+188>>2];if(!f){break x}L7(q[a+2192>>2],f);q[e+188>>2]=0}f=q[e+108>>2];if(!f){break v}q[e>>2]=f;q[e+4>>2]=c;q[e+8>>2]=q[e+100>>2];mi(4,153048,153383,e);d=-3;break d}J(153876,153193,890,153908);G()}g=0;H:{switch(d|0){case 1:break c;case 0:break H;default:break d}}d=q[e+100>>2]!=200;break c}d=q[e+108>>2];if((d|0)<=65535){continue}break}d=-2}o[e+180|0]=r[e+180|0]|2;break d}q[a+2128>>2]=f;break e}q[a+2128>>2]=f}d=-1}o[e+180|0]=r[e+180|0]|2;f=q[a+2204>>2];if(!(!f|!q[f>>2])){g=0;break c}I:{if(!q[a+2160>>2]){break I}f=Uj();g=q[a+2168>>2];if(q[a+2160>>2]>(f-g|0)){break I}g=0;break c}if(!yqa(q[e+192>>2],q[e+196>>2])){g=0;break c}g=0;if(q[e+108>>2]){break c}g=1;q[a+2188>>2]=q[a+2188>>2]+1;d=j}j=q[e+196>>2];J:{if(!j){break J}if(!(q[q[e+88>>2]+2128>>2]?0:!(r[e+180|0]&2))){iL(q[e+192>>2],j);break J}fL(q[e+192>>2],j)}if(g){f=n+1|0;if((f|0)==33){break b}m=n>>>0<32;g=r[e+180|0];j=d;n=f;continue}break}if(m){break a}}mi(3,153048,153229,0);d=-1e3}fi=e+288|0;return d}function KA(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;m=fi-32|0;c=q[b+8>>2];h=q[c>>2];i=q[c+12>>2];k=q[b>>2];q[a+5200>>2]=0;q[a+5204>>2]=573;t=-1;a:{if((i|0)>0){while(1){c=(g<<2)+k|0;b:{if(s[c>>1]){c=q[a+5200>>2]+1|0;q[a+5200>>2]=c;q[((c<<2)+a|0)+2908>>2]=g;o[(a+g|0)+5208|0]=0;t=g;break b}p[c+2>>1]=0}g=g+1|0;if((i|0)!=(g|0)){continue}break}g=q[a+5200>>2];if((g|0)>1){break a}}if(!h){while(1){c=g+1|0;q[a+5200>>2]=c;f=((c<<2)+a|0)+2908|0;e=t+1|0;c=(t|0)<2;d=c?e:0;q[f>>2]=d;p[(d<<2)+k>>1]=1;o[(a+d|0)+5208|0]=0;q[a+5800>>2]=q[a+5800>>2]-1;t=c?e:t;g=q[a+5200>>2];if((g|0)<2){continue}break a}}while(1){c=g+1|0;q[a+5200>>2]=c;d=t+1|0;e=(t|0)<2;f=e?d:0;q[((c<<2)+a|0)+2908>>2]=f;c=f<<2;p[c+k>>1]=1;o[(a+f|0)+5208|0]=0;q[a+5800>>2]=q[a+5800>>2]-1;q[a+5804>>2]=q[a+5804>>2]-s[(c+h|0)+2>>1];t=e?d:t;g=q[a+5200>>2];if((g|0)<2){continue}break}}q[b+4>>2]=t;f=g>>>1|0;while(1){j=q[((f<<2)+a|0)+2908>>2];c=f;d=c<<1;c:{if((g|0)<(d|0)){break c}n=(a+j|0)+5208|0;u=(j<<2)+k|0;e=f;while(1){d:{if((d|0)>=(g|0)){c=d;break d}c=a+2908|0;h=d|1;v=q[c+(h<<2)>>2];l=s[(v<<2)+k>>1];g=q[c+(d<<2)>>2];c=s[(g<<2)+k>>1];if(l>>>0>=c>>>0){if((c|0)!=(l|0)){c=d;break d}c=d;d=a+5208|0;if(r[d+v|0]>r[d+g|0]){break d}}c=h}h=s[u>>1];g=q[((c<<2)+a|0)+2908>>2];d=s[(g<<2)+k>>1];if(h>>>0>>0){c=e;break c}if(!((d|0)!=(h|0)|r[n|0]>r[(a+g|0)+5208|0])){c=e;break c}q[((e<<2)+a|0)+2908>>2]=g;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}q[((c<<2)+a|0)+2908>>2]=j;if((f|0)>=2){f=f-1|0;g=q[a+5200>>2];continue}break}d=q[a+5200>>2];while(1){h=i;g=d-1|0;q[a+5200>>2]=g;j=q[a+2912>>2];n=q[((d<<2)+a|0)+2908>>2];q[a+2912>>2]=n;c=1;e:{if((d|0)<3){break e}u=(a+n|0)+5208|0;d=2;v=(n<<2)+k|0;e=1;while(1){f:{if((d|0)>=(g|0)){c=d;break f}c=a+2908|0;f=d|1;l=q[c+(f<<2)>>2];g=s[(l<<2)+k>>1];i=q[c+(d<<2)>>2];c=s[(i<<2)+k>>1];if(g>>>0>=c>>>0){if((c|0)!=(g|0)){c=d;break f}c=d;d=a+5208|0;if(r[d+l|0]>r[d+i|0]){break f}}c=f}f=s[v>>1];i=q[((c<<2)+a|0)+2908>>2];d=s[(i<<2)+k>>1];if(f>>>0>>0){c=e;break e}if(!((d|0)!=(f|0)|r[u|0]>r[(a+i|0)+5208|0])){c=e;break e}q[((e<<2)+a|0)+2908>>2]=i;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}d=2;x=a+2908|0;q[x+(c<<2)>>2]=n;c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;e=q[a+2912>>2];q[x+(c<<2)>>2]=j;c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;q[x+(c<<2)>>2]=e;n=(h<<2)+k|0;i=(e<<2)+k|0;f=(j<<2)+k|0;p[n>>1]=s[i>>1]+s[f>>1];y=a+5208|0;u=y+h|0;e=r[e+y|0];c=r[j+y|0];o[u|0]=(c>>>0>>0?e:c)+1;p[i+2>>1]=h;p[f+2>>1]=h;q[a+2912>>2]=h;e=1;c=1;g=q[a+5200>>2];g:{if((g|0)<2){break g}while(1){c=d;j=c;h:{if((c|0)>=(g|0)){break h}f=d|1;v=q[x+(f<<2)>>2];l=s[(v<<2)+k>>1];g=q[x+(d<<2)>>2];i=s[(g<<2)+k>>1];if(l>>>0>=i>>>0){j=d;if((i|0)!=(l|0)){break h}j=d;if(r[v+y|0]>r[g+y|0]){break h}}j=f}c=j;f=s[n>>1];i=q[((c<<2)+a|0)+2908>>2];d=s[(i<<2)+k>>1];if(f>>>0>>0){c=e;break g}if(!((d|0)!=(f|0)|r[u|0]>r[(a+i|0)+5208|0])){c=e;break g}q[((e<<2)+a|0)+2908>>2]=i;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}i=h+1|0;q[((c<<2)+a|0)+2908>>2]=h;d=q[a+5200>>2];if((d|0)>1){continue}break}c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;e=c<<2;c=a+2908|0;q[e+c>>2]=q[a+2912>>2];n=q[b+4>>2];e=q[b+8>>2];f=q[e+16>>2];C=q[e+8>>2];g=q[e+4>>2];i=q[e>>2];A=q[b>>2];B=a+2900|0;p[B>>1]=0;p[B+2>>1]=0;p[B+4>>1]=0;p[B+6>>1]=0;x=a+2892|0;p[x>>1]=0;p[x+2>>1]=0;p[x+4>>1]=0;p[x+6>>1]=0;y=a+2884|0;p[y>>1]=0;p[y+2>>1]=0;p[y+4>>1]=0;p[y+6>>1]=0;j=a+2876|0;p[j>>1]=0;p[j+2>>1]=0;p[j+4>>1]=0;p[j+6>>1]=0;p[((q[c+(q[a+5204>>2]<<2)>>2]<<2)+A|0)+2>>1]=0;i:{b=q[a+5204>>2];if((b|0)>571){break i}c=b+1|0;j:{if(!i){while(1){h=q[((c<<2)+a|0)+2908>>2];e=(h<<2)+A|0;i=s[((s[e+2>>1]<<2)+A|0)+2>>1];l=(f|0)>(i|0)?i+1|0:f;p[e+2>>1]=l;if((h|0)<=(n|0)){b=((l<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+1;q[a+5800>>2]=q[a+5800>>2]+w(s[e>>1],l+((h|0)>=(C|0)?q[g+(h-C<<2)>>2]:0)|0)}z=((f|0)<=(i|0))+z|0;c=c+1|0;if((c|0)!=573){continue}break j}}while(1){u=q[((c<<2)+a|0)+2908>>2];e=u<<2;h=e+A|0;d=s[((s[h+2>>1]<<2)+A|0)+2>>1];v=(d|0)<(f|0)?d+1|0:f;p[h+2>>1]=v;if((n|0)>=(u|0)){b=((v<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+1;l=0;b=s[h>>1];l=(u|0)>=(C|0)?q[g+(u-C<<2)>>2]:l;q[a+5800>>2]=q[a+5800>>2]+w(b,v+l|0);q[a+5804>>2]=q[a+5804>>2]+w(b,s[(e+i|0)+2>>1]+l|0)}z=((d|0)>=(f|0))+z|0;c=c+1|0;if((c|0)!=573){continue}break}}if(!z){break i}h=((f<<1)+a|0)+2876|0;while(1){c=f;while(1){b=c;c=c-1|0;d=((c<<1)+a|0)+2876|0;e=s[d>>1];if(!e){continue}break}p[d>>1]=e-1;b=((b<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+2;d=s[h>>1]-1|0;p[h>>1]=d;b=(z|0)>2;z=z-2|0;if(b){continue}break}if(!f){break i}c=573;while(1){e=d&65535;if(e){while(1){c=c-1|0;b=q[((c<<2)+a|0)+2908>>2];if((b|0)>(n|0)){continue}d=(b<<2)+A|0;b=s[d+2>>1];if((b|0)!=(f|0)){q[a+5800>>2]=q[a+5800>>2]+w(s[d>>1],f-b|0);p[d+2>>1]=f}e=e-1|0;if(e){continue}break}}f=f-1|0;if(!f){break i}d=s[((f<<1)+a|0)+2876>>1];continue}}b=s[j>>1]<<1;p[m+2>>1]=b;b=s[a+2878>>1]+(b&65534)<<1;p[m+4>>1]=b;b=s[a+2880>>1]+(b&65534)<<1;p[m+6>>1]=b;b=s[a+2882>>1]+(b&65534)<<1;p[m+8>>1]=b;b=s[y>>1]+(b&65534)<<1;p[m+10>>1]=b;b=s[a+2886>>1]+(b&65534)<<1;p[m+12>>1]=b;b=s[a+2888>>1]+(b&65534)<<1;p[m+14>>1]=b;b=s[a+2890>>1]+(b&65534)<<1;p[m+16>>1]=b;b=s[x>>1]+(b&65534)<<1;p[m+18>>1]=b;b=s[a+2894>>1]+(b&65534)<<1;p[m+20>>1]=b;b=s[a+2896>>1]+(b&65534)<<1;p[m+22>>1]=b;b=b+s[a+2898>>1]<<1;p[m+24>>1]=b;b=b+s[B>>1]<<1;p[m+26>>1]=b;b=b+s[a+2902>>1]<<1;p[m+28>>1]=b;p[m+30>>1]=b+s[a+2904>>1]<<1;if((t|0)>=0){while(1){f=(D<<2)+k|0;c=s[f+2>>1];if(c){b=(c<<1)+m|0;a=s[b>>1];p[b>>1]=a+1;d=0;while(1){e=a&1|d;d=e<<1;b=(c|0)>1;a=a>>>1|0;c=c-1|0;if(b){continue}break}p[f>>1]=e}a=(t|0)!=(D|0);D=D+1|0;if(a){continue}break}}}function AB(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,s=0,x=0,y=0,z=0,A=0,B=0;g=fi-304|0;fi=g;e=r[b|0];a:{if(!e){break a}b:{c:{d:{while(1){e:{e=e&255;f:{if((e|0)==32|e-9>>>0<5){while(1){e=b;b=b+1|0;d=r[e+1|0];if((d|0)==32|d-9>>>0<5){continue}break}fn(a,0,0);while(1){b=q[a+4>>2];g:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break g}b=kk(a)}if((b|0)==32|b-9>>>0<5){continue}break}b=q[a+4>>2];if(q[a+104>>2]){b=b-1|0;q[a+4>>2]=b}d=b-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=k+q[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;break f}h:{i:{j:{e=r[b|0];if((e|0)==37){d=r[b+1|0];if((d|0)==42){break j}if((d|0)!=37){break i}}fn(a,0,0);e=((e|0)==37)+b|0;b=q[a+4>>2];k:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break k}b=kk(a)}if((b|0)!=r[e|0]){if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}z=0;if((b|0)>=0){break a}break c}b=k+1|0;h=b>>>0<1?h+1|0:h;k=b;break f}j=0;e=b+2|0;break h}if(!(r[b+2|0]!=36|d-48>>>0>=10)){j=bua(c,r[b+1|0]-48|0);e=b+3|0;break h}j=q[c>>2];c=c+4|0;e=b+1|0}z=0;b=0;if(r[e|0]-48>>>0<10){while(1){b=(r[e|0]+w(b,10)|0)-48|0;d=r[e+1|0];e=e+1|0;if(d-48>>>0<10){continue}break}}d=e;f=r[d|0];l:{if((f|0)!=109){break l}m=0;z=(j|0)!=0;f=r[e+1|0];n=0;d=e+1|0}e=d+1|0;i=3;m:{n:{switch(f-65|0){case 39:f=d+2|0;d=r[d+1|0]==104;e=d?f:e;i=d?-2:-1;break m;case 43:f=d+2|0;d=r[d+1|0]==108;e=d?f:e;i=d?3:1;break m;case 51:case 57:i=1;break m;case 11:i=2;break m;case 41:break m;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 n;default:break c}}i=0;e=d}f=r[e|0];d=(f&47)==3;y=d?1:i;s=d?f|32:f;o:{if((s|0)==91){break o}p:{if((s|0)!=110){if((s|0)!=99){break p}b=(b|0)>1?b:1;break o}RB(j,y,k,h);break f}fn(a,0,0);while(1){d=q[a+4>>2];q:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break q}d=kk(a)}if((d|0)==32|d-9>>>0<5){continue}break}d=q[a+4>>2];if(q[a+104>>2]){d=d-1|0;q[a+4>>2]=d}d=d-q[a+8>>2]|0;f=d;d=d>>31;l=f;x=h+q[a+124>>2]|0;f=k+q[a+120>>2]|0;x=f>>>0>>0?x+1|0:x;k=l+f|0;d=d+x|0;d=f>>>0>k>>>0?d+1|0:d;h=d}x=b;B=b>>31;fn(a,b,B);d=q[a+104>>2];f=q[a+4>>2];r:{if(d>>>0>f>>>0){q[a+4>>2]=f+1;break r}if((kk(a)|0)<0){break c}d=q[a+104>>2]}if(d){q[a+4>>2]=q[a+4>>2]-1}d=16;s:{t:{u:{v:{w:{x:{y:{switch(s-88|0){default:b=s-65|0;if(b>>>0>6|!(1<>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!j){break s}x=q[g+8>>2];f=q[g+12>>2];d=q[g>>2];b=q[g+4>>2];switch(y|0){case 2:break u;case 1:break v;case 0:break w;default:break s};case 3:case 11:case 27:if((s&239)==99){qi(g+32|0,-1,257);o[g+32|0]=0;if((s|0)!=115){break t}o[g+65|0]=0;o[g+46|0]=0;p[g+42>>1]=0;p[g+44>>1]=0;break t}l=r[e+1|0];f=(l|0)==94;qi(g+32|0,f,257);o[g+32|0]=0;d=f?e+2|0:e+1|0;z:{A:{B:{e=r[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break B}i=(l|0)!=94;break z}i=(l|0)!=94;o[g+78|0]=i;break A}i=(l|0)!=94;o[g+126|0]=i}d=d+1|0}e=d;while(1){d=r[e|0];C:{if((d|0)!=45){if(!d){break c}if((d|0)!=93){break C}break t}d=45;l=r[e+1|0];if(!l|(l|0)==93){break C}f=e+1|0;e=r[e-1|0];D:{if(l>>>0<=e>>>0){d=l;break D}while(1){e=e+1|0;o[e+(g+32|0)|0]=i;d=r[f|0];if(e>>>0>>0){continue}break}}e=f}o[(d+g|0)+33|0]=i;e=e+1|0;continue};case 23:d=8;break x;case 12:case 29:d=10;break x;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 s;case 0:case 24:case 32:break x;case 17:break y}}d=0}x=nM(a,d,0,-1,-1);f=ii;d=q[a+4>>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!(!j|(s|0)!=112)){q[j>>2]=x;break s}RB(j,y,x,f);break s}u[j>>2]=uua(d,b,x,f);break s}v[j>>3]=$A(d,b,x,f);break s}q[j>>2]=d;q[j+4>>2]=b;q[j+8>>2]=x;q[j+12>>2]=f;break s}s=(s|0)==99;i=s?b+1|0:31;l=(y|0)!=1;E:{if(!l){d=j;if(z){d=xi(i<<2);if(!d){break d}}q[g+296>>2]=0;q[g+300>>2]=0;b=0;while(1){n=d;F:{while(1){d=q[a+4>>2];G:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break G}d=kk(a)}if(!r[(d+g|0)+33|0]){break F}o[g+27|0]=d;d=rT(g+28|0,g+27|0,g+296|0);if((d|0)==-2){continue}if((d|0)==-1){break e}if(n){q[(b<<2)+n>>2]=q[g+28>>2];b=b+1|0}if(z^1|(b|0)!=(i|0)){continue}break}i=i<<1|1;d=Pl(n,i<<2);if(d){continue}break e}break}d=g+296|0;f=1;H:{if(!d){break H}f=!q[d>>2]}if(!f){break e}m=0;break E}if(z){b=0;d=xi(i);if(!d){break d}while(1){m=d;while(1){d=q[a+4>>2];I:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break I}d=kk(a)}if(!r[(d+g|0)+33|0]){n=0;break E}o[b+m|0]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}n=0;i=i<<1|1;d=Pl(m,i);if(d){continue}break}break c}b=0;if(j){while(1){d=q[a+4>>2];J:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break J}d=kk(a)}if(r[(d+g|0)+33|0]){o[b+j|0]=d;b=b+1|0;continue}else{n=0;m=j;break E}}}while(1){b=q[a+4>>2];K:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break K}b=kk(a)}if(r[(b+g|0)+33|0]){continue}break}m=0;n=0;b=0}d=q[a+4>>2];if(q[a+104>>2]){d=d-1|0;q[a+4>>2]=d}d=d-q[a+8>>2]|0;f=d;y=d+q[a+120>>2]|0;d=q[a+124>>2]+(d>>31)|0;d=f>>>0>y>>>0?d+1|0:d;if(!(d|y)|(s?(x|0)!=(y|0)|(d|0)!=(B|0):0)){break b}L:{if(!z){break L}if(!l){q[j>>2]=n;break L}q[j>>2]=m}if(s){break s}if(n){q[(b<<2)+n>>2]=0}if(!m){m=0;break s}o[b+m|0]=0}d=q[a+4>>2]-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=k+q[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;A=((j|0)!=0)+A|0}b=e+1|0;e=r[e+1|0];if(e){continue}break a}break}m=0;break c}m=0;n=0}A=A?A:-1}if(!z){break a}ki(m);ki(n)}fi=g+304|0;return A}function Aha(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,p=x(0),t=0,v=0,y=0,z=0,A=x(0),B=x(0),C=x(0);c=fi-112|0;fi=c;h=q[a+4>>2];a:{b:{c:{d:{e:{f:{switch(q[a+8>>2]){case 1:m=q[a+20>>2];i=q[a+16>>2];n=q[a+12>>2];v=q[a>>2];g:{if(o[294956]&1){break g}if(!ui(294956)){break g}if(r[852367]){a=Ri(46784)}else{a=-1}q[73738]=a;ti(294956)}h:{if(o[294964]&1){break h}if(!ui(294964)){break h}if(r[852367]){a=Yi(47788,11)}else{a=0}q[73740]=a;ti(294964)}a=q[73738];i:{if((a|0)!=-1){Qi(c,a,47788,q[73740]);break i}q[c>>2]=0}j:{switch(q[q[q[q[(w(q[i>>2],48)+n|0)+32>>2]+128>>2]+8>>2]+104>>2]){case 0:k:{if(o[294972]&1){break k}if(!ui(294972)){break k}if(r[852367]){a=Ri(46784)}else{a=-1}q[73742]=a;ti(294972)}l:{if(o[294980]&1){break l}if(!ui(294980)){break l}if(r[852367]){a=Yi(47800,16)}else{a=0}q[73744]=a;ti(294980)}a=q[73742];m:{if((a|0)!=-1){Qi(c+96|0,a,47800,q[73744]);break m}q[c+96>>2]=0}n:{if((i|0)==(m|0)){break n}a=w(q[i>>2],48)+n|0;b=s[a+40>>1];j=q[a+32>>2];k=q[j+128>>2];g=wy(q[j+132>>2]);a=i+4|0;if((m|0)!=(a|0)){while(1){g=wy(q[q[(w(q[a>>2],48)+n|0)+32>>2]+132>>2])+g|0;a=a+4|0;if((m|0)!=(a|0)){continue}break}}if(!g){break n}y=b&15;l=q[h+76>>2]+(y<<4)|0;t=l+4|0;z=l+8|0;b=q[l+8>>2];d=q[l+4>>2];a=b-d>>5;if(a>>>0>>0){if(o[l+12|0]&1){break e}vi((g-a|0)+(b-q[l>>2]>>5)|0,32,l,z,t);d=q[t>>2]}e=q[h+72>>2];a=d;while(1){f=q[h+96>>2];b=q[(w(q[i>>2],48)+n|0)+32>>2];g=b- -64|0;ir(c+32|0,g);p=u[c+88>>2];u[c+88>>2]=u[c+76>>2];A=u[c+84>>2];u[c+84>>2]=u[c+60>>2];B=u[c+80>>2];u[c+80>>2]=u[c+44>>2];u[c+76>>2]=p;p=u[c+68>>2];u[c+68>>2]=u[c+56>>2];C=u[c+64>>2];u[c+64>>2]=u[c+40>>2];u[c+60>>2]=A;u[c+56>>2]=p;p=u[c+48>>2];u[c+48>>2]=u[c+36>>2];u[c+44>>2]=B;u[c+40>>2]=C;u[c+36>>2]=p;b=q[b+132>>2];q[c+24>>2]=1065353216;q[c+28>>2]=1065353216;q[c+16>>2]=1065353216;q[c+20>>2]=1065353216;a=t3(f,b,g,c+32|0,a);i=i+4|0;if((m|0)!=(i|0)){continue}break}b=q[l>>2];if(q[z>>2]-b>>>0>>0){break a}q[t>>2]=a;b=q[h+56>>2];f=q[h+52>>2];g=((b-f|0)/272|0)+1|0;if(g>>>0>(q[h+60>>2]-f|0)/272>>>0){break a}q[h+56>>2]=f+w(g,272);Mm(b);q[b+148>>2]=q[h+68>>2];g=q[e+(y<<2)>>2];q[b+192>>2]=1;q[b+144>>2]=g;g=q[l>>2];q[b+252>>2]=a-d>>5;q[b+248>>2]=d-g>>5;a=q[j+216>>2];if(!a){a=q[k+8>>2]}q[b+16>>2]=1065353216;q[b+156>>2]=a;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+36>>2]=1065353216;q[b+48>>2]=0;q[b+52>>2]=0;q[b+60>>2]=0;q[b+64>>2]=0;q[b+56>>2]=1065353216;q[b+68>>2]=0;q[b+72>>2]=0;q[b+76>>2]=1065353216;d=b;a=q[j+184>>2];if(!a){a=q[k+20>>2]}q[d+160>>2]=a;a=q[j+188>>2];if(!a){a=q[k+24>>2]}q[d+164>>2]=a;a=q[j+192>>2];if(!a){a=q[k+28>>2]}q[d+168>>2]=a;a=q[j+196>>2];if(!a){a=q[k+32>>2]}q[d+172>>2]=a;a=q[j+200>>2];if(!a){a=q[k+36>>2]}q[d+176>>2]=a;a=q[j+204>>2];if(!a){a=q[k+40>>2]}q[d+180>>2]=a;a=q[j+208>>2];if(!a){a=q[k+44>>2]}q[d+184>>2]=a;a=q[j+212>>2];if(!a){a=q[k+48>>2]}q[d+188>>2]=a;a=q[j+180>>2];if(a){Tq(b,a)}Sn(v,b)}if(!q[c+96>>2]){break c}Pi(c+96|0);break c;case 1:o:{if(o[294988]&1){break o}if(!ui(294988)){break o}if(r[852367]){a=Ri(46784)}else{a=-1}q[73746]=a;ti(294988)}p:{if(o[294996]&1){break p}if(!ui(294996)){break p}if(r[852367]){a=Yi(47817,16)}else{a=0}q[73748]=a;ti(294996)}a=q[73746];q:{if((a|0)!=-1){Qi(c+32|0,a,47817,q[73748]);break q}q[c+32>>2]=0}if((i|0)!=(m|0)){while(1){a=q[h+56>>2];d=q[h+52>>2];b=((a-d|0)/272|0)+1|0;if(b>>>0>(q[h+60>>2]-d|0)/272>>>0){break a}q[h+56>>2]=d+w(b,272);e=q[(w(q[i>>2],48)+n|0)+32>>2];f=q[e+128>>2];if(!q[f+12>>2]){break d}Mm(a);q[a+148>>2]=q[h+68>>2];q[a+144>>2]=q[f+12>>2];g=q[e+216>>2];if(!g){g=q[f+8>>2]}q[a+248>>2]=0;q[a+192>>2]=1;q[a+156>>2]=g;q[a+252>>2]=q[f+124>>2];u[a+16>>2]=u[e+64>>2];u[a+20>>2]=u[e+68>>2];u[a+24>>2]=u[e+72>>2];u[a+28>>2]=u[e+76>>2];u[a+32>>2]=u[e+80>>2];u[a+36>>2]=u[e+84>>2];u[a+40>>2]=u[e+88>>2];u[a+44>>2]=u[e+92>>2];u[a+48>>2]=u[e+96>>2];u[a+52>>2]=u[e+100>>2];u[a+56>>2]=u[e+104>>2];u[a+60>>2]=u[e+108>>2];u[a- -64>>2]=u[e+112>>2];u[a+68>>2]=u[e+116>>2];u[a+72>>2]=u[e+120>>2];u[a+76>>2]=u[e+124>>2];b=q[f+16>>2];if(b){q[a+152>>2]=b;q[a+196>>2]=q[f+120>>2]}d=a;b=q[e+184>>2];if(!b){b=q[f+20>>2]}q[d+160>>2]=b;b=q[e+188>>2];if(!b){b=q[f+24>>2]}q[d+164>>2]=b;b=q[e+192>>2];if(!b){b=q[f+28>>2]}q[d+168>>2]=b;b=q[e+196>>2];if(!b){b=q[f+32>>2]}q[d+172>>2]=b;b=q[e+200>>2];if(!b){b=q[f+36>>2]}q[d+176>>2]=b;b=q[e+204>>2];if(!b){b=q[f+40>>2]}q[d+180>>2]=b;b=q[e+208>>2];if(!b){b=q[f+44>>2]}q[d+184>>2]=b;b=q[e+212>>2];if(!b){b=q[f+48>>2]}q[d+188>>2]=b;b=q[e+180>>2];if(b){Tq(a,b)}Sn(v,a);i=i+4|0;if((m|0)!=(i|0)){continue}break}}if(!q[c+32>>2]){break c}Pi(c+32|0);break c;default:break j}}J(47763,47023,589,47788);G();case 2:a=0;while(1){d=q[h+76>>2]+(a<<4)|0;b=q[d+4>>2];d=q[d>>2];if((b|0)!=(d|0)){b=b-d|0;ji[q[74897]](q[q[h+72>>2]+(a<<2)>>2],b,d,1);i=b+i|0}a=a+1|0;if((a|0)!=16){continue}break}r:{if(o[294948]&1){break r}if(!ui(294948)){break r}if(r[852367]){a=Ek(47745)}else{a=-1}q[73736]=a;ti(294948)}a=q[73736];if((a|0)==-1){break b}Fk(a,i);break b;default:J(47763,47023,701,47769);G();case 0:break f}}q[h+56>>2]=q[h+52>>2];a=q[h+76>>2];q[a+132>>2]=q[a+128>>2];q[a+116>>2]=q[a+112>>2];q[a+100>>2]=q[a+96>>2];q[a+84>>2]=q[a+80>>2];q[a+68>>2]=q[a+64>>2];q[a+52>>2]=q[a+48>>2];q[a+36>>2]=q[a+32>>2];q[a+20>>2]=q[a+16>>2];q[a+4>>2]=q[a>>2];q[a+148>>2]=q[a+144>>2];q[a+164>>2]=q[a+160>>2];q[a+180>>2]=q[a+176>>2];q[a+196>>2]=q[a+192>>2];q[a+212>>2]=q[a+208>>2];q[a+228>>2]=q[a+224>>2];q[a+244>>2]=q[a+240>>2];break b}J(47221,47134,461,47296);G()}J(47834,47023,475,47853);G()}if(!q[c>>2]){break b}Pi(c)}fi=c+112|0;return}J(47115,47134,474,47213);G()}function Usa(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,t=0,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=x(0),K=0,L=x(0),M=0,N=0,O=x(0),P=0,Q=x(0),R=0,S=0,T=0,U=0,V=0,W=0,X=0;D=fi-96|0;fi=D;a:{M=w(c,15)+b|0;d=r[M|0];j=w(c,14)+b|0;k=r[j|0];E=w(c,13)+b|0;e=r[E|0];N=w(c,12)+b|0;h=r[N|0];g=w(c,11)+b|0;m=r[g|0];P=w(c,10)+b|0;n=r[P|0];u=w(c,9)+b|0;t=r[u|0];R=(c<<3)+b|0;i=r[R|0];S=w(c,7)+b|0;A=r[S|0];T=w(c,6)+b|0;B=r[T|0];U=w(c,5)+b|0;C=r[U|0];V=(c<<2)+b|0;z=r[V|0];W=w(c,3)+b|0;F=r[W|0];X=(c<<1)+b|0;l=r[X|0];v=b+c|0;H=r[v|0];K=r[b|0];f=H>>>0>K>>>0?H:K;f=f>>>0>>0?l:f;f=f>>>0>>0?F:f;f=f>>>0>>0?z:f;f=f>>>0>>0?C:f;f=f>>>0>>0?B:f;f=f>>>0>>0?A:f;f=i>>>0>f>>>0?i:f;f=f>>>0>>0?t:f;f=f>>>0>>0?n:f;f=f>>>0>>0?m:f;f=h>>>0>f>>>0?h:f;f=e>>>0>f>>>0?e:f;f=f>>>0>>0?k:f;f=d>>>0>f>>>0?d:f;H=H>>>0>>0?H:K;l=l>>>0>>0?l:H;F=l>>>0>F>>>0?F:l;z=z>>>0>>0?z:F;C=C>>>0>>0?C:z;B=B>>>0>>0?B:C;A=A>>>0>>0?A:B;i=i>>>0>>0?i:A;t=i>>>0>t>>>0?t:i;n=n>>>0>>0?n:t;m=m>>>0>>0?m:n;h=h>>>0>>0?h:m;e=e>>>0>>0?e:h;k=e>>>0>k>>>0?k:e;d=d>>>0>>0?d:k;b:{if((f|0)==(d|0)){p[a>>1]=d&255|3328;b=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[a+2|0]=b;o[a+3|0]=b>>>8;o[a+4|0]=b>>>16;o[a+5|0]=b>>>24;b=r[94712]|r[94713]<<8;o[a+6|0]=b;o[a+7|0]=b>>>8;break b}h=f-d|0;if(h>>>0<=5){c=f-2|0;c=(c>>>0<256?c:c>>31^-1)&255;p[a>>1]=c|7424;d=r[b|0];b=3-c|0;d=d+b|0;if(d>>>0>=6){break a}c=b+r[v|0]|0;if(c>>>0>=6){break a}k=b+r[X|0]|0;if(k>>>0>5){break a}e=b+r[W|0]|0;if(e>>>0>5){break a}h=b+r[V|0]|0;if(h>>>0>5){break a}m=b+r[U|0]|0;if(m>>>0>5){break a}n=b+r[T|0]|0;if(n>>>0>5){break a}t=b+r[S|0]|0;if(t>>>0>5){break a}i=b+r[R|0]|0;if(i>>>0>5){break a}A=b+r[u|0]|0;if(A>>>0>5){break a}B=b+r[P|0]|0;if(B>>>0>5){break a}C=b+r[g|0]|0;if(C>>>0>5){break a}z=b+r[N|0]|0;if(z>>>0>5){break a}F=b+r[E|0]|0;if(F>>>0>5){break a}l=b+r[j|0]|0;if(l>>>0>5){break a}H=b+r[M|0]|0;if(H>>>0>5){break a}b=a;c=r[c+96895|0]<<1;a=r[d+96895|0]<<13;d=0;K=a|c;c=r[k+96895|0];a=c>>>11|0;c=c<<21|d;d=a|K;v=c;c=r[e+96895|0];a=c>>>23|0;c=v|c<<9;d=a|d|r[h+96895|0]<<10;e=c;c=r[m+96895|0];a=c>>>2|0;c=e|c<<30;d=a|d;e=c;c=r[n+96895|0];a=c>>>14|0;c=e|c<<18;d=a|d;e=c;c=r[t+96895|0];a=c>>>26|0;c=e|c<<6;d=a|d|r[i+96895|0]<<7;e=c;c=r[A+96895|0];a=c>>>5|0;c=e|c<<27;d=a|d;e=c;c=r[B+96895|0];a=c>>>17|0;c=e|c<<15;d=a|d;e=c;c=r[C+96895|0];a=c>>>29|0;c=e|c<<3;d=a|d|r[z+96895|0]<<4;e=c;c=r[F+96895|0];a=c>>>8|0;c=e|c<<24;d=a|d;e=b;b=r[l+96895|0];a=b>>>20|0;_s(e,r[H+96895|0]|(b<<12|c),a|d);break b}e=D;Q=x(f>>>0);L=x(d>>>0);I=L;I=$n(x(x(x(Q-I)*x(.5199999809265137))+I));c:{if(x(y(I))>>0<256?d:d>>31^-1)&255;q[e+80>>2]=H;e=D;I=x(h>>>0);O=$n(x(I/x(25)));d:{if(x(y(O))15?15:d;if((d|0)<1){k=1}q[e+64>>2]=k;e=D;O=$n(x(x(x(Q-L)*x(.5263158082962036))+L));e:{if(x(y(O))>>0<256?d:d>>31^-1)&255;q[e+84>>2]=K;h=D;I=$n(x(I/x(19)));f:{if(x(y(I))15?15:d;if((d|0)<1){e=1}d=e;q[h+68>>2]=d;I=$n(x(x(x(Q-L)*x(.5263158082962036))+L));g:{if(x(y(I))>2]=d;f=(e>>>0<256?e:e>>31^-1)&255;q[D+88>>2]=f;L=$n(x(x(x(Q-L)*x(.5263158082962036))+L));h:{if(x(y(L))>2]=d;M=(e>>>0<256?e:e>>31^-1)&255;q[D+92>>2]=M;F=0;P=(d|k)!=1;A=0;B=0;C=0;z=0;while(1){h=-1;m=-1;n=-1;t=-1;e=0;i=r[w(c,z)+b|0];i:{if((i-7&255)>>>0>=242){while(1){l=e+94768|0;j=H+w(k,o[l+16|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;h=h>>>0>>0?h:j;j=K+w(d,o[l- -64|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;m=j>>>0>m>>>0?m:j;j=f+w(d,o[l+88|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;n=j>>>0>n>>>0?n:j;l=M+w(d,o[l+104|0])|0;j=((l>>>0<256?l:l>>31^-1)&255)-i|0;l=j>>31;l=(l^j+l)<<3|e;t=l>>>0>t>>>0?t:l;e=e+1|0;if((e|0)!=8){continue}break i}}l=M-i|0;j=f-i|0;E=K-i|0;N=H-i|0;if(!P){while(1){i=e+94768|0;u=N+o[i+16|0]|0;g=u>>31;g=(g^g+u)<<3|e;h=h>>>0>>0?h:g;u=E+o[i- -64|0]|0;g=u>>31;g=(g^g+u)<<3|e;m=g>>>0>m>>>0?m:g;u=j+o[i+88|0]|0;g=u>>31;g=(g^g+u)<<3|e;n=g>>>0>n>>>0?n:g;g=l+o[i+104|0]|0;i=g>>31;i=(i^g+i)<<3|e;t=i>>>0>t>>>0?t:i;e=e+1|0;if((e|0)!=8){continue}break i}}while(1){i=e+94768|0;u=N+w(k,o[i+16|0])|0;g=u>>31;g=(g^g+u)<<3|e;h=h>>>0>>0?h:g;u=E+w(d,o[i- -64|0])|0;g=u>>31;g=(g^g+u)<<3|e;m=g>>>0>m>>>0?m:g;u=j+w(d,o[i+88|0])|0;g=u>>31;g=(g^g+u)<<3|e;n=g>>>0>n>>>0?n:g;g=l+w(d,o[i+104|0])|0;i=g>>31;i=(i^g+i)<<3|e;t=i>>>0>t>>>0?t:i;e=e+1|0;if((e|0)!=8){continue}break}}e=D+z|0;o[e|0]=h&7;o[e+16|0]=m&7;o[e+32|0]=n&7;o[e+48|0]=t&7;e=h>>>3|0;C=w(e,e)+C|0;e=m>>>3|0;B=w(e,e)+B|0;e=n>>>3|0;A=w(e,e)+A|0;e=t>>>3|0;F=w(e,e)+F|0;z=z+1|0;if((z|0)!=16){continue}break}c=B>>>0>>0;d=c?B:C;b=d>>>0>A>>>0;c=(b?A:d)>>>0>F>>>0?3:b?2:c;b=c<<2;p[a>>1]=s[(b|D- -64)>>1]<<12|r[b|D+80]|(r[c+96910|0]&15)<<8;b=a;k=(c<<4)+D|0;c=r[k+14|0];a=c>>>20|0;e=c<<12;c=a;m=r[k+1|0]<<1|r[k|0]<<13;d=r[k+2|0];a=d>>>11|0;d=d<<21;h=a|m;v=d;d=r[k+3|0];a=d>>>23|0;d=v|d<<9;h=a|h|r[k+4|0]<<10;v=d;d=r[k+5|0];a=d>>>2|0;d=v|d<<30;h=a|h;v=d;d=r[k+6|0];a=d>>>14|0;d=v|d<<18;h=a|h;v=d;d=r[k+7|0];a=d>>>26|0;d=v|d<<6;h=a|h|r[k+8|0]<<7;v=d;d=r[k+9|0];a=d>>>5|0;d=v|d<<27;h=a|h;v=d;d=r[k+10|0];a=d>>>17|0;d=v|d<<15;h=a|h;v=d;d=r[k+11|0];a=d>>>29|0;d=v|d<<3;h=a|h|r[k+12|0]<<4;v=b;b=r[k+13|0];a=b>>>8|0;_s(v,r[k+15|0]|(b<<24|d|e),a|h|c)}fi=D+96|0;return}J(96852,85651,15941,96901);G()}function Tsa(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,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=x(0),O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=x(0),X=x(0),Y=x(0),Z=x(0);h=fi-448|0;fi=h;a:{E=w(c,15)+b|0;d=r[E|0];F=w(c,14)+b|0;e=r[F|0];H=w(c,13)+b|0;k=r[H|0];I=w(c,12)+b|0;j=r[I|0];K=w(c,11)+b|0;f=r[K|0];L=w(c,10)+b|0;l=r[L|0];M=w(c,9)+b|0;B=r[M|0];O=(c<<3)+b|0;i=r[O|0];P=w(c,7)+b|0;C=r[P|0];Q=w(c,6)+b|0;m=r[Q|0];R=w(c,5)+b|0;n=r[R|0];S=(c<<2)+b|0;u=r[S|0];T=w(c,3)+b|0;v=r[T|0];U=(c<<1)+b|0;z=r[U|0];V=b+c|0;A=r[V|0];D=r[b|0];g=A>>>0>D>>>0?A:D;g=g>>>0>>0?z:g;g=g>>>0>>0?v:g;g=g>>>0>>0?u:g;g=g>>>0>>0?n:g;g=g>>>0>>0?m:g;g=g>>>0>>0?C:g;g=g>>>0>>0?i:g;g=g>>>0>>0?B:g;g=g>>>0>>0?l:g;g=g>>>0>>0?f:g;g=j>>>0>g>>>0?j:g;g=g>>>0>>0?k:g;g=e>>>0>g>>>0?e:g;g=d>>>0>g>>>0?d:g;A=A>>>0>>0?A:D;z=z>>>0>>0?z:A;v=v>>>0>>0?v:z;u=u>>>0>>0?u:v;n=n>>>0>>0?n:u;m=m>>>0>>0?m:n;C=m>>>0>C>>>0?C:m;i=i>>>0>>0?i:C;B=i>>>0>B>>>0?B:i;l=l>>>0>>0?l:B;f=f>>>0>>0?f:l;j=j>>>0>>0?j:f;k=j>>>0>k>>>0?k:j;e=e>>>0>>0?e:k;d=d>>>0>>0?d:e;b:{if((g|0)==(d|0)){p[a>>1]=d&255|3328;b=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[a+2|0]=b;o[a+3|0]=b>>>8;o[a+4|0]=b>>>16;o[a+5|0]=b>>>24;b=r[94712]|r[94713]<<8;o[a+6|0]=b;o[a+7|0]=b>>>8;break b}e=g-d|0;if(e>>>0<=5){c=g-2|0;c=(c>>>0<256?c:c>>31^-1)&255;p[a>>1]=c|7424;d=r[b|0];b=3-c|0;d=d+b|0;if(d>>>0>=6){break a}c=b+r[V|0]|0;if(c>>>0>=6){break a}e=b+r[U|0]|0;if(e>>>0>5){break a}k=b+r[T|0]|0;if(k>>>0>5){break a}j=b+r[S|0]|0;if(j>>>0>5){break a}f=b+r[R|0]|0;if(f>>>0>5){break a}l=b+r[Q|0]|0;if(l>>>0>5){break a}B=b+r[P|0]|0;if(B>>>0>5){break a}i=b+r[O|0]|0;if(i>>>0>5){break a}C=b+r[M|0]|0;if(C>>>0>5){break a}m=b+r[L|0]|0;if(m>>>0>5){break a}n=b+r[K|0]|0;if(n>>>0>5){break a}u=b+r[I|0]|0;if(u>>>0>5){break a}v=b+r[H|0]|0;if(v>>>0>5){break a}z=b+r[F|0]|0;if(z>>>0>5){break a}A=b+r[E|0]|0;if(A>>>0>5){break a}b=a;c=r[c+96895|0]<<1;a=r[d+96895|0]<<13;d=0;D=a|c;c=r[e+96895|0];a=c>>>11|0;c=c<<21|d;d=a|D;e=c;c=r[k+96895|0];a=c>>>23|0;c=e|c<<9;d=a|d|r[j+96895|0]<<10;e=c;c=r[f+96895|0];a=c>>>2|0;c=e|c<<30;d=a|d;e=c;c=r[l+96895|0];a=c>>>14|0;c=e|c<<18;d=a|d;e=c;c=r[B+96895|0];a=c>>>26|0;c=e|c<<6;d=a|d|r[i+96895|0]<<7;e=c;c=r[C+96895|0];a=c>>>5|0;c=e|c<<27;d=a|d;e=c;c=r[m+96895|0];a=c>>>17|0;c=e|c<<15;d=a|d;e=c;c=r[n+96895|0];a=c>>>29|0;c=e|c<<3;d=a|d|r[u+96895|0]<<4;e=c;c=r[v+96895|0];a=c>>>8|0;c=e|c<<24;d=a|d;e=b;b=r[z+96895|0];a=b>>>20|0;_s(e,r[A+96895|0]|(b<<12|c),a|d);break b}Y=x(e>>>0);Z=x(g>>>0);W=x(d>>>0);e=0;while(1){d=(e<<3)+94768|0;k=o[d+3|0];N=x(o[d+7|0]-k|0);X=$n(x(x(x(Z-W)*x(x(0-k|0)/N))+W));c:{if(x(y(X))>2]=(d>>>0<256?d:d>>31^-1)&255;j=k+(h+320|0)|0;N=$n(x(Y/N));d:{if(x(y(N))15?15:d;if((d|0)<1){k=1}q[j>>2]=k;e=e+1|0;if((e|0)!=16){continue}break}q[h+312>>2]=0;q[h+316>>2]=0;q[h+304>>2]=0;q[h+308>>2]=0;q[h+296>>2]=0;q[h+300>>2]=0;q[h+288>>2]=0;q[h+292>>2]=0;q[h+280>>2]=0;q[h+284>>2]=0;q[h+272>>2]=0;q[h+276>>2]=0;q[h+264>>2]=0;q[h+268>>2]=0;q[h+256>>2]=0;q[h+260>>2]=0;l=0;while(1){f=(l<<3)+94768|0;D=f;d=l<<2;C=d+(h+256|0)|0;k=q[d+(h+384|0)>>2];j=q[d+(h+320|0)>>2];e=-1;B=0;i=0;while(1){d=r[w(c,B)+b|0];if((d|0)!=(e|0)){e=k+w(j,o[f|0])|0;g=((e>>>0<256?e:e>>31^-1)&255)-d|0;e=g>>31;i=k+w(j,o[f+1|0])|0;E=((i>>>0<256?i:i>>31^-1)&255)-d|0;i=E>>31;m=k+w(j,o[f+2|0])|0;F=((m>>>0<256?m:m>>31^-1)&255)-d|0;m=F>>31;n=k+w(j,o[f+3|0])|0;H=((n>>>0<256?n:n>>31^-1)&255)-d|0;n=H>>31;u=k+w(j,o[f+4|0])|0;I=((u>>>0<256?u:u>>31^-1)&255)-d|0;u=I>>31;v=k+w(j,o[f+5|0])|0;K=((v>>>0<256?v:v>>31^-1)&255)-d|0;v=K>>31;z=k+w(j,o[f+6|0])|0;L=((z>>>0<256?z:z>>31^-1)&255)-d|0;z=L>>31;A=k+w(j,o[D+7|0])|0;M=((A>>>0<256?A:A>>31^-1)&255)-d|0;A=M>>31;e=(e^e+g)<<3;i=(i^i+E)<<3|1;e=e>>>0>>0?e:i;i=(m^m+F)<<3|2;e=e>>>0>>0?e:i;i=(n^n+H)<<3|3;e=e>>>0>>0?e:i;i=(u^u+I)<<3|4;e=e>>>0>>0?e:i;i=(v^v+K)<<3|5;e=e>>>0>>0?e:i;i=(z^z+L)<<3|6;e=e>>>0>>0?e:i;i=(A^A+M)<<3|7;i=e>>>0>>0?e:i;e=d}o[((l<<4)+h|0)+B|0]=i&7;d=i>>>3|0;q[C>>2]=q[C>>2]+w(d,d);B=B+1|0;if((B|0)!=16){continue}break}l=l+1|0;if((l|0)!=16){continue}break}b=q[h+260>>2];c=q[h+256>>2];d=b>>>0>>0;e=q[h+264>>2];b=d?b:c;c=e>>>0>>0;f=c?2:d;d=q[h+268>>2];b=c?e:b;c=d>>>0>>0;f=c?3:f;e=q[h+272>>2];b=c?d:b;c=e>>>0>>0;f=c?4:f;d=q[h+276>>2];b=c?e:b;c=d>>>0>>0;f=c?5:f;e=q[h+280>>2];b=c?d:b;c=e>>>0>>0;f=c?6:f;d=q[h+284>>2];b=c?e:b;c=d>>>0>>0;f=c?7:f;e=q[h+288>>2];b=c?d:b;c=e>>>0>>0;f=c?8:f;d=q[h+292>>2];b=c?e:b;c=d>>>0>>0;f=c?9:f;e=q[h+296>>2];b=c?d:b;c=e>>>0>>0;f=c?10:f;d=q[h+300>>2];b=c?e:b;c=d>>>0>>0;f=c?11:f;e=q[h+304>>2];b=c?d:b;c=e>>>0>>0;f=c?12:f;d=q[h+308>>2];b=c?e:b;c=d>>>0>>0;f=c?13:f;e=q[h+312>>2];b=c?d:b;c=e>>>0>>0;c=t[h+316>>2]<(c?e:b)>>>0?15:c?14:f;b=c<<2;p[a>>1]=r[b+(h+384|0)|0]|c<<8&3840|s[b+(h+320|0)>>1]<<12;b=a;e=(c<<4)+h|0;c=r[e+14|0];a=c>>>20|0;k=c<<12;c=a;f=r[e+1|0]<<1|r[e|0]<<13;d=r[e+2|0];a=d>>>11|0;d=d<<21;j=a|f;f=d;d=r[e+3|0];a=d>>>23|0;d=f|d<<9;j=a|j|r[e+4|0]<<10;f=d;d=r[e+5|0];a=d>>>2|0;d=f|d<<30;j=a|j;f=d;d=r[e+6|0];a=d>>>14|0;d=f|d<<18;j=a|j;f=d;d=r[e+7|0];a=d>>>26|0;d=f|d<<6;j=a|j|r[e+8|0]<<7;f=d;d=r[e+9|0];a=d>>>5|0;d=f|d<<27;j=a|j;f=d;d=r[e+10|0];a=d>>>17|0;d=f|d<<15;j=a|j;f=d;d=r[e+11|0];a=d>>>29|0;d=f|d<<3;j=a|j|r[e+12|0]<<4;f=b;b=r[e+13|0];a=b>>>8|0;_s(f,r[e+15|0]|(b<<24|d|k),a|j|c)}fi=h+448|0;return}J(96852,85651,16098,96873);G()}function Nq(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;l=fi+ -64|0;fi=l;a:{if(o[855748]&1){break a}if(!ui(855748)){break a}if(r[852367]){f=Ri(184957)}else{f=-1}q[213936]=f;ti(855748)}b:{if(o[855756]&1){break b}if(!ui(855756)){break b}if(r[852367]){f=Yi(184964,9)}else{f=0}q[213938]=f;ti(855756)}f=q[213936];c:{if((f|0)!=-1){Qi(l+48|0,f,184964,q[213938]);break c}q[l+48>>2]=0}f=0;d:{e:{f:{g:{if(!q[a+16>>2]){break g}e=q[q[a+12>>2]>>2];n=q[e+8>>2]-q[e+12>>2]>>4;h=(c|0)==-2;i=h?q[q[a+16>>2]+(b<<2)>>2]:c;if((i|0)!=-2){Xi(e,-1e4,q[a>>2]);bk(e);h:{if(!h){rF(e,c);if((ri(e,-1)|0)!=6){oi(e,-2);a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;bk(e);mi(3,184623,184974,0);break g}lF(e,c);break h}Xi(e,-1e4,i)}if((ri(e,-1)|0)!=6){break f}Xi(e,-1e4,q[a>>2]);h=1;i:{j:{switch(b-2|0){case 0:g=+u[d>>2];h=q[e+8>>2];q[h+8>>2]=3;v[h>>3]=g;q[e+8>>2]=q[e+8>>2]+16;h=2;break i;case 1:Yj(e,q[d+64>>2],q[d+68>>2]);h=q[d+80>>2];k:{if(h){f=q[h+4>>2];dy(e,h,d+96|0);break k}if(r[852367]){f=To(q[d+64>>2],q[d+68>>2])}else{f=0}h=q[d+84>>2];if(h){zq(e,d+96|0,h);break k}ij(e,0,0)}Ml(e,d);h=4;break i;case 2:break j;default:break i}}i=q[d>>2];f=q[i+4>>2];m=q[i>>2];h=f;l:{if(f|m){Yj(e,m,h);break l}f=q[e+8>>2];q[f+8>>2]=0;q[e+8>>2]=f+16}ij(e,0,0);f=s[i+808>>1];if(f&1){Bi(e,185078,7);g=+t[i+804>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);f=s[i+808>>1]}if(f&4){Bi(e,i+544|0,q[i+800>>2]);pi(e,-2,185086)}if(q[i>>2]|q[i+4>>2]){wi(e,185099);g=+u[i+8>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185105);f=s[i+808>>1]>>>4&1;h=q[e+8>>2];q[h+8>>2]=1;q[h>>2]=f;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185113);f=s[i+808>>1]>>>5&1;h=q[e+8>>2];q[h+8>>2]=1;q[h>>2]=f;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185122);f=s[i+808>>1]>>>6&1;h=q[e+8>>2];q[h+8>>2]=1;q[h>>2]=f;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3)}f=s[i+808>>1];if(f&128){wi(e,185131);g=+u[i+12>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185133);g=+u[i+16>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185135);g=+u[i+20>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185138);g=+u[i+24>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185141);g=+u[i+28>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185150);g=+u[i+32>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185159);g=+u[i+36>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185169);g=+u[i+40>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);f=s[i+808>>1]}if(f&256){wi(e,185179);g=+u[i+44>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185185);g=+u[i+48>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185191);g=+u[i+52>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3)}m=q[i+540>>2];if((m|0)>=1){Bi(e,185197,5);ij(e,m,0);f=0;while(1){h=q[e+8>>2];q[h+8>>2]=3;j=h;h=f+1|0;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;ij(e,0,6);Bi(e,185203,2);f=i+w(f,44)|0;j=q[f+96>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185206,9);j=q[f+56>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185105,7);j=!q[f+60>>2];k=q[e+8>>2];q[k+8>>2]=1;q[k>>2]=j;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185113,8);j=q[f+60>>2]-3>>>0<2;k=q[e+8>>2];q[k+8>>2]=1;q[k>>2]=j;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185131,1);j=q[f- -64>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185133,1);j=q[f+68>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);wi(e,185141);g=+q[f+72>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185150);g=+q[f+76>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);Bi(e,185135,2);j=q[f+80>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);Bi(e,185138,2);j=q[f+84>>2];k=q[e+8>>2];q[k+8>>2]=3;v[k>>3]=j|0;q[e+8>>2]=q[e+8>>2]+16;Wi(e,-3);wi(e,185159);g=+q[f+88>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);wi(e,185169);g=+q[f+92>>2];f=q[e+8>>2];q[f+8>>2]=3;v[f>>3]=g;q[e+8>>2]=q[e+8>>2]+16;qj(e,-3);Wi(e,-3);f=h;if((m|0)!=(f|0)){continue}break}Wi(e,-3)}h=3;f=0;if(!(r[i+808|0]&8)){break i}Bi(e,185216,4);m=q[i+800>>2];m:{if(!m){wi(e,184109);break m}Bi(e,i+544|0,m)}Wi(e,-3)}q[l+44>>2]=0;j=q[q[a+16>>2]+28>>2];a=q[(b<<2)+287472>>2];f=Cq(e,(c|0)==-2?0:-5,j,a,f,l+44|0);n:{if(o[855764]&1){break n}if(!ui(855764)){break n}if(r[852367]){c=Ri(184957)}else{c=-1}q[213940]=c;ti(855764)}c=q[213940];o:{if((c|0)!=-1){Qi(l+24|0,c,f,q[l+44>>2]);break o}q[l+24>>2]=0}c=Wl(e,h,-1);p:{if(!c){f=0;break p}f=-2;if(q[e+8>>2]-q[e+12>>2]>>4!=(n|0)){break e}}if(q[l+24>>2]){Pi(l+24|0)}q:{if(c){break q}c=q[e+8>>2]-q[e+12>>2]>>4;r:{if((b|0)==4){s:{t:{f=c-n|0;switch(f|0){case 0:break q;case 1:break t;default:break s}}if((ri(e,-1)|0)!=1){break s}f=0;o[d+4|0]=(Fj(e,-1)|0)!=0;oi(e,-2);break q}q[l>>2]=a;mi(4,184623,185221,l);break r}f=0;if((c|0)==(n|0)){break q}q[l+20>>2]=0;q[l+16>>2]=a;mi(4,184623,185288,l+16|0)}oi(e,n);f=-2}a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;bk(e);if(q[e+8>>2]-q[e+12>>2]>>4==(n|0)){break g}J(184593,184532,1982,185068);G()}if(q[e+8>>2]-q[e+12>>2]>>4!=(n|0)){break d}}if(q[l+48>>2]){Pi(l+48|0)}fi=l- -64|0;return f}J(185046,184532,1706,185068);G()}J(184593,184532,1943,185068);G()}J(184593,184532,1985,185068);G()}function LC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=r[a+10|0]&8?t[a+36>>2]>=q[a+28>>2]-q[a+64>>2]>>>0:g;c=a;a:{b:{if(q[a>>2]){break b}d=q[a+140>>2];if(q[q[a+124>>2]>>2]-d>>>0<85196){break b}h=d+q[a+116>>2]|0;break a}h=a+234098|0}q[c+48>>2]=h;q[a+52>>2]=h+85180;c:{d:{if(!q[a+92>>2]){q[a+88>>2]=0;q[a+92>>2]=0;c=q[a+44>>2];o[c|0]=r[c|0]>>>q[a+56>>2];q[a+40>>2]=q[a+40>>2]-(q[a+56>>2]==8);if(!(q[a+100>>2]|!(r[a+9|0]&16))){d=q[a+68>>2];c=d+8|0;q[a+68>>2]=c;e=q[a+72>>2]|120<>2]=e;if(d>>>0<=4294967287){while(1){d=a;f=q[a+48>>2];if(f>>>0>2]){q[a+48>>2]=f+1;o[f|0]=e;e=q[a+72>>2];c=q[a+68>>2]}c=c-8|0;q[d+68>>2]=c;e=e>>>8|0;q[a+72>>2]=e;if(c>>>0>7){continue}break}}d=c+8|0;q[a+68>>2]=d;c=1<>2]=c;while(1){e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=c;d=q[a+68>>2];c=q[a+72>>2]}d=d-8|0;q[a+68>>2]=d;c=c>>>8|0;q[a+72>>2]=c;if(d>>>0>7){continue}break}}d=q[a+68>>2];c=d+1|0;q[a+68>>2]=c;d=q[a+72>>2]|((b|0)==4)<>2]=d;if(c>>>0>=8){while(1){e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=d;d=q[a+72>>2];c=q[a+68>>2]}d=d>>>8|0;q[a+72>>2]=d;c=c-8|0;q[a+68>>2]=c;if(c>>>0>7){continue}break}}f=q[a+48>>2];e=0;e:{f:{if(!g){e=MC(a,r[a+10|0]&4?1:t[a+60>>2]<48);g=q[a+60>>2];if(!g|g>>>0>(q[a+48>>2]-f|0)+1>>>0){break f}}if(t[a+36>>2]>2]-q[a+64>>2]>>>0){break f}q[a+72>>2]=d;q[a+48>>2]=f;e=c+2|0;q[a+68>>2]=e;g:{h:{if(c>>>0<6){break h}while(1){c=a;if(t[a+52>>2]>f>>>0){q[a+48>>2]=f+1;o[f|0]=d;e=q[a+68>>2];d=q[a+72>>2]}d=d>>>8|0;q[c+72>>2]=d;e=e-8|0;q[a+68>>2]=e;if(e>>>0>=8){f=q[a+48>>2];continue}break}if(e){break h}c=0;break g}q[a+68>>2]=8;c=8;while(1){e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=d;d=q[a+72>>2];c=q[a+68>>2]}d=d>>>8|0;q[a+72>>2]=d;c=c-8|0;q[a+68>>2]=c;if(c>>>0>7){continue}break}}f=c+16|0;q[a+68>>2]=f;d=s[a+60>>1]<>2]=d;while(1){e=q[a+48>>2];c=f;i:{if(e>>>0>=t[a+52>>2]){break i}q[a+48>>2]=e+1;o[e|0]=d;d=q[a+72>>2];c=q[a+68>>2]}d=d>>>8|0;q[a+72>>2]=d;f=c-8|0;q[a+68>>2]=f;if(f>>>0>7){continue}break}e=c+8|0;q[a+68>>2]=e;c=q[a+60>>2]^65535;q[a+60>>2]=c;c=(c&65535)<>2]=c;while(1){d=a;f=q[a+48>>2];if(f>>>0>2]){q[a+48>>2]=f+1;o[f|0]=c;e=q[a+68>>2];c=q[a+72>>2]}c=c>>>8|0;q[d+72>>2]=c;e=e-8|0;q[a+68>>2]=e;if(e>>>0>7){continue}break}g=q[a+60>>2]^65535;q[a+60>>2]=g;if(!g){break e}f=0;while(1){i=r[((q[a+64>>2]+f&32767)+a|0)+144|0];d=e+8|0;q[a+68>>2]=d;c=i<>2]=c;if(e>>>0<=4294967287){while(1){e=a;g=q[a+48>>2];if(g>>>0>2]){q[a+48>>2]=g+1;o[g|0]=c;d=q[a+68>>2];c=q[a+72>>2]}c=c>>>8|0;q[e+72>>2]=c;d=d-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}g=q[a+60>>2]}e=d;f=f+1|0;if(g>>>0>f>>>0){continue}break}break e}if(e){break e}q[a+72>>2]=d;q[a+48>>2]=f;q[a+68>>2]=c;MC(a,1)}if(!b){break c}c=q[a+68>>2];if((b|0)!=4){break d}j:{if(!c){d=0;break j}q[a+68>>2]=8;d=8;while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=q[a+72>>2];d=q[a+68>>2]}q[a+72>>2]=q[a+72>>2]>>>8;d=d-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}}if(!(r[a+9|0]&16)){break c}e=d+8|0;q[a+68>>2]=e;b=q[a+24>>2];c=q[a+72>>2]|b>>>24<>2]=c;while(1){d=e;e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=c;c=q[a+72>>2];d=q[a+68>>2]}c=c>>>8|0;q[a+72>>2]=c;e=d-8|0;q[a+68>>2]=e;if(e>>>0>7){continue}break}e=(b>>>16&255)<>2]=e;q[a+68>>2]=d;f=b&255;while(1){c=d;d=q[a+48>>2];if(d>>>0>2]){q[a+48>>2]=d+1;o[d|0]=e;e=q[a+72>>2];c=q[a+68>>2]}e=e>>>8|0;q[a+72>>2]=e;d=c-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}e=(b>>>8&255)<>2]=e;q[a+68>>2]=c;while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=e;e=q[a+72>>2];c=q[a+68>>2]}e=e>>>8|0;q[a+72>>2]=e;d=c;c=c-8|0;q[a+68>>2]=c;if(c>>>0>7){continue}break}c=f<>2]=c;q[a+68>>2]=d;while(1){b=a;e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=c;d=q[a+68>>2];c=q[a+72>>2]}c=c>>>8|0;q[b+72>>2]=c;d=d-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}break c}J(198176,196587,3156,198205);G()}d=c+3|0;q[a+68>>2]=d;if(d>>>0>=8){while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=q[a+72>>2];d=q[a+68>>2]}q[a+72>>2]=q[a+72>>2]>>>8;d=d-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}}k:{if(!d){d=q[a+72>>2];c=16;break k}q[a+68>>2]=8;c=8;while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=q[a+72>>2];c=q[a+68>>2]}d=q[a+72>>2]>>>8|0;q[a+72>>2]=d;b=c;c=c-8|0;q[a+68>>2]=c;if(c>>>0>7){continue}break}c=b+8|0}q[a+72>>2]=d;q[a+68>>2]=c;while(1){b=q[a+48>>2];if(b>>>0>2]){q[a+48>>2]=b+1;o[b|0]=d;d=q[a+72>>2];c=q[a+68>>2]}d=d>>>8|0;q[a+72>>2]=d;b=c;c=c-8|0;q[a+68>>2]=c;if(c>>>0>7){continue}break}c=65535<>2]=c;d=b+8|0;q[a+68>>2]=d;while(1){b=a;e=q[a+48>>2];if(e>>>0>2]){q[a+48>>2]=e+1;o[e|0]=c;d=q[a+68>>2];c=q[a+72>>2]}c=c>>>8|0;q[b+72>>2]=c;d=d-8|0;q[a+68>>2]=d;if(d>>>0>7){continue}break}}b=q[a+48>>2];if(b>>>0>2]){qi(a+33170|0,0,640);q[a+56>>2]=8;q[a+44>>2]=a+37490;q[a+40>>2]=a+37491;c=q[a+60>>2];q[a+60>>2]=0;q[a+64>>2]=c+q[a+64>>2];q[a+100>>2]=q[a+100>>2]+1;b=b-h|0;l:{if(!b){break l}c=q[a>>2];if(c){q[q[a+120>>2]>>2]=q[a+132>>2]-q[a+112>>2];if(ji[c|0](a+234098|0,b,q[a+4>>2])|0){break l}q[a+108>>2]=-1;return-1}d=a+234098|0;if((d|0)==(h|0)){e=q[a+140>>2];c=q[q[a+124>>2]>>2]-e|0;c=b>>>0>>0?b:c;si(e+q[a+116>>2]|0,d,c);q[a+140>>2]=c+q[a+140>>2];b=b-c|0;if(!b){break l}q[a+92>>2]=b;q[a+88>>2]=c;return q[a+92>>2]}q[a+140>>2]=b+q[a+140>>2]}return q[a+92>>2]}J(198250,196587,3233,198205);G()}function _sa(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,t=0,u=0,v=0,x=0,y=0,A=0,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=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,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0;g=fi+ -64|0;fi=g;W=d-1|0;k=W;k=k?32-z(k)|0:0;X=e-1|0;j=X;j=j?32-z(j)|0:0;aa=j>>>0>k>>>0?k:j;if((e|0)>=1){ba=aa<<1;Xa=-1<>2];D=dn(j);H=cn(j);j=q[Y>>2];I=dn(j);f=cn(j);j=q[ca+Y>>2];dn(j);cn(j);Z=(w(o&X,d)<<2)+b|0;j=q[k+Z>>2];u=dn(j);v=cn(j);j=q[Z>>2];l=dn(j);h=cn(j);j=q[ca+Z>>2];dn(j);cn(j);oa=o+1|0;_=(w(oa&X,d)<<2)+b|0;k=q[k+_>>2];p=dn(k);n=cn(k);k=q[_>>2];A=dn(k);E=cn(k);k=q[ca+_>>2];dn(k);cn(k);if((d|0)>=1){Ya=s[((o&255)<<1)+98064>>1]|s[(o>>>7&33554430)+98064>>1]<<16;Za=o>>>aa<>>0)/31|0;D=(w(H,255)>>>0)/31|0;t=(w(I,255)>>>0)/31|0;y=(w(f,255)>>>0)/31|0;o=(w(u,255)>>>0)/31|0;k=(w(v,255)>>>0)/31|0;v=(w(l,255)>>>0)/31|0;l=(w(h,255)>>>0)/31|0;H=(w(p,255)>>>0)/31|0;I=(w(n,255)>>>0)/31|0;p=(w(A,255)>>>0)/31|0;n=(w(E,255)>>>0)/31|0;E=0;while(1){h=j;j=t;f=o;o=v;v=D;D=y;u=k;k=l;A=H;H=p;p=I;I=n;Sp((da<<4)+a|0,g);y=s[(E>>>7&33554430)+98064>>1]<<17|Ya|s[((E&255)<<1)+98064>>1]<<1;n=y;a:{if((d|0)==(e|0)){break a}y=y&Xa;n=y|E>>>aa<>>0>e>>>0){break a}n=y|Za}pa=(n<<3)+c|0;q[pa+4>>2]=q[(da<<2)+b>>2];E=E+1|0;l=(W&E)<<2;t=q[l+Y>>2];y=dn(t);n=cn(t);t=q[l+Z>>2];U=dn(t);x=cn(t);l=q[l+_>>2];V=dn(l);$=cn(l);l=w(o,6);M=l+w(j,6)|0;B=M+(f+h<<1)|0;t=(r[g+6|0]+(r[g+5|0]+r[g+4|0]|0)<<4)-B<<4;C=0-t|0;i=t;t=w(k,6);F=t+w(D,6)|0;qa=F+(u+v<<1)|0;ra=(qa|0)<(B|0);m=ra?C:i;J=f+o|0;N=h+j|0;ea=J+N<<2;O=(r[g+2|0]+(r[g+1|0]+r[g|0]|0)<<4)-ea<<4;K=k+u|0;P=v+D|0;sa=K+P<<2;ta=(sa|0)<(ea|0);O=ta?0-O|0:O;fa=l+(w(f,6)+(N<<1)|0)|0;l=(r[g+18|0]+(r[g+17|0]+r[g+16|0]|0)<<4)-fa<<4;ua=t+(w(u,6)+(P<<1)|0)|0;va=(ua|0)<(fa|0);N=va?0-l|0:l;G=w(j,3);L=w(o,9);Q=L+w(f,3)|0;ga=G+(Q+h|0)|0;l=(r[g+22|0]+(r[g+21|0]+r[g+20|0]|0)<<4)-ga<<4;R=w(D,3);S=w(k,9);T=S+w(u,3)|0;wa=R+(T+v|0)|0;xa=(wa|0)<(ga|0);h=xa?0-l|0:l;ha=j+o<<3;v=(r[g+10|0]+(r[g+9|0]+r[g+8|0]|0)<<4)-ha<<4;ya=k+D<<3;za=(ya|0)<(ha|0);P=za?0-v|0:v;t=(w(y,255)>>>0)/31|0;v=(w(U,255)>>>0)/31|0;ia=(M+(t<<1)|0)+(v<<1)|0;l=(r[g+14|0]+(r[g+13|0]+r[g+12|0]|0)<<4)-ia<<4;C=0-l|0;i=l;y=(w(n,255)>>>0)/31|0;l=(w(x,255)>>>0)/31|0;Aa=(F+(y<<1)|0)+(l<<1)|0;Ba=(Aa|0)<(ia|0);U=Ba?C:i;n=w(o,12);ja=n+(j<<2)|0;x=(r[g+26|0]+(r[g+25|0]+r[g+24|0]|0)<<4)-ja<<4;C=0-x|0;i=x;x=w(k,12);Ca=x+(D<<2)|0;Da=Ca>>>0>>0;M=Da?C:i;C=w(v,3);ka=C+((G+L|0)+t|0)|0;F=(r[g+30|0]+(r[g+29|0]+r[g+28|0]|0)<<4)-ka<<4;Ea=w(l,3);Fa=Ea+((S+R|0)+y|0)|0;Ga=(Fa|0)<(ka|0);F=Ga?0-F|0:F;R=J<<3;G=(r[g+34|0]+(r[g+33|0]+r[g+32|0]|0)<<4)-R<<4;Ha=K<<3;Ia=(Ha|0)<(R|0);G=Ia?0-G|0:G;la=n+(f<<2)|0;f=(r[g+38|0]+(r[g+37|0]+r[g+36|0]|0)<<4)-la<<4;Ja=x+(u<<2)|0;Ka=(Ja|0)<(la|0);f=Ka?0-f|0:f;ma=(w(J,6)+(A<<1)|0)+(H<<1)|0;u=(r[g+50|0]+(r[g+49|0]+r[g+48|0]|0)<<4)-ma<<4;La=(w(K,6)+(p<<1)|0)+(I<<1)|0;Ma=(La|0)<(ma|0);u=Ma?0-u|0:u;i=w(H,3);Q=i+(A+Q|0)|0;A=(r[g+54|0]+(r[g+53|0]+r[g+52|0]|0)<<4)-Q<<4;Na=w(I,3);Oa=Na+(p+T|0)|0;Pa=(Oa|0)<(Q|0);A=Pa?0-A|0:A;p=r[g+42|0]+(r[g+41|0]+(r[g+40|0]-o|0)|0)<<8;Qa=k<<4;Ra=o<<4;Sa=Qa>>>0>>0;J=Sa?0-p|0:p;T=n+(v<<2)|0;p=(r[g+46|0]+(r[g+45|0]+r[g+44|0]|0)<<4)-T<<4;Ta=x+(l<<2)|0;Ua=Ta>>>0>>0;K=Ua?0-p|0:p;na=n+(H<<2)|0;p=(r[g+58|0]+(r[g+57|0]+r[g+56|0]|0)<<4)-na<<4;Va=x+(I<<2)|0;Wa=Va>>>0>>0;x=Wa?0-p|0:p;p=(w(V,255)>>>0)/31|0;V=i+(p+(L+C|0)|0)|0;n=(r[g+62|0]+(r[g+61|0]+r[g+60|0]|0)<<4)-V<<4;C=0-n|0;i=n;n=(w($,255)>>>0)/31|0;S=Na+(n+(S+Ea|0)|0)|0;$=(S|0)<(V|0);L=$?C:i;B=qa-B|0;B=ra?0-B|0:B;i=(m|0)>(w(B,13)|0)?12:(m|0)>B<<3?8:((m|0)>(w(B,3)|0))<<2;m=sa-ea|0;m=ta?0-m|0:m;i=i|((O|0)>(w(m,13)|0)?3:(O|0)>m<<3?2:(O|0)>(w(m,3)|0));m=ua-fa|0;m=va?0-m|0:m;i=i|((N|0)>(w(m,13)|0)?768:(N|0)>m<<3?512:((N|0)>(w(m,3)|0))<<8);m=wa-ga|0;m=xa?0-m|0:m;i=i|((h|0)>(w(m,13)|0)?3072:(h|0)>m<<3?2048:((h|0)>(w(m,3)|0))<<10);h=ya-ha|0;h=za?0-h|0:h;i=i|((P|0)>(w(h,13)|0)?48:(P|0)>h<<3?32:((P|0)>(w(h,3)|0))<<4);h=Aa-ia|0;h=Ba?0-h|0:h;i=i|((U|0)>(w(h,13)|0)?192:(U|0)>h<<3?128:((U|0)>(w(h,3)|0))<<6);h=Ca-ja|0;h=Da?0-h|0:h;i=i|((M|0)>(w(h,13)|0)?12288:(M|0)>h<<3?8192:((M|0)>(w(h,3)|0))<<12);h=Fa-ka|0;h=Ga?0-h|0:h;i=i|((F|0)>(w(h,13)|0)?49152:(F|0)>h<<3?32768:((F|0)>(w(h,3)|0))<<14);h=Ha-R|0;h=Ia?0-h|0:h;i=i|((G|0)>(w(h,13)|0)?196608:(G|0)>h<<3?131072:((G|0)>(w(h,3)|0))<<16);h=Ja-la|0;h=Ka?0-h|0:h;i=i|((f|0)>(w(h,13)|0)?786432:(f|0)>h<<3?524288:((f|0)>(w(h,3)|0))<<18);f=La-ma|0;f=Ma?0-f|0:f;i=i|((u|0)>(w(f,13)|0)?50331648:(u|0)>f<<3?33554432:((u|0)>(w(f,3)|0))<<24);f=Oa-Q|0;f=Pa?0-f|0:f;i=i|((A|0)>(w(f,13)|0)?201326592:(A|0)>f<<3?134217728:((A|0)>(w(f,3)|0))<<26);f=Qa-Ra|0;f=Sa?0-f|0:f;i=i|((J|0)>(w(f,13)|0)?3145728:(J|0)>f<<3?2097152:((J|0)>(w(f,3)|0))<<20);f=Ta-T|0;f=Ua?0-f|0:f;i=i|((K|0)>(w(f,13)|0)?12582912:(K|0)>f<<3?8388608:((K|0)>(w(f,3)|0))<<22);f=Va-na|0;f=Wa?0-f|0:f;i=i|((x|0)>(w(f,13)|0)?805306368:(x|0)>f<<3?536870912:((x|0)>(w(f,3)|0))<<28);f=S-V|0;f=$?0-f|0:f;q[pa>>2]=i|((L|0)>(w(f,13)|0)?-1073741824:(L|0)>f<<3?-2147483648:((L|0)>(w(f,3)|0))<<30);da=da+1|0;if((d|0)!=(E|0)){continue}break}}o=oa;if((o|0)!=(e|0)){continue}break}}fi=g- -64|0}function cJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0);e=fi-464|0;fi=e;h=Ti(e+440|0,a,0,67527,573);i=x(1);a:{b:{switch(b-1|0){case 0:i=x(0);break a;case 1:o[e+429|0]=0;o[e+430|0]=0;o[e+431|0]=0;o[e+432|0]=0;o[e+433|0]=0;o[e+434|0]=0;o[e+435|0]=0;o[e+436|0]=0;q[e+424>>2]=0;q[e+428>>2]=0;break a;case 2:o[e+429|0]=0;o[e+430|0]=0;o[e+431|0]=0;o[e+432|0]=0;o[e+433|0]=0;o[e+434|0]=0;o[e+435|0]=0;o[e+436|0]=0;q[e+424>>2]=0;q[e+428>>2]=0;q[e+412>>2]=0;o[e+415|0]=0;o[e+416|0]=0;o[e+417|0]=0;o[e+418|0]=0;j=x(1);break a;case 3:break b;default:break a}}i=x(0)}o[d|0]=0;f=r[e+437|0]|r[e+438|0]<<8;o[d+1|0]=f;o[d+2|0]=f>>>8;o[d+3|0]=r[e+439|0];u[d+12>>2]=j;q[d+8>>2]=0;u[d+4>>2]=i;f=q[e+428>>2];q[d+16>>2]=q[e+424>>2];q[d+20>>2]=f;f=r[e+433|0]|r[e+434|0]<<8|(r[e+435|0]<<16|r[e+436|0]<<24);g=r[e+429|0]|r[e+430|0]<<8|(r[e+431|0]<<16|r[e+432|0]<<24);o[d+21|0]=g;o[d+22|0]=g>>>8;o[d+23|0]=g>>>16;o[d+24|0]=g>>>24;o[d+25|0]=f;o[d+26|0]=f>>>8;o[d+27|0]=f>>>16;o[d+28|0]=f>>>24;o[d+33|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+32|0]=0;f=q[e+416>>2];g=q[e+412>>2];p[d+34>>1]=g;p[d+36>>1]=g>>>16;p[d+38>>1]=f;p[d+40>>1]=f>>>16;p[d+42>>1]=s[e+420>>1];q[d+44>>2]=0;q[d+48>>2]=0;f=ri(a,c);c:{if(f+1>>>0<2){break c}if((f|0)!=5){q[e+400>>2]=c;uj(h,68571,e+400|0);break c}zi(a,c,68637);f=ri(a,-1);d:{if(f+1>>>0>=2){if((f|0)!=1){q[e+388>>2]=q[65289];q[e+384>>2]=68637;if(!ni(a,69050,e+384|0)){break d}}o[d|0]=(Fj(a,-1)|0)!=0}oi(a,-2)}e:{switch(b|0){case 0:zi(a,c,68655);b=ri(a,-1);f:{if(b+1>>>0>=2){if((b|0)!=3){q[e+52>>2]=q[65291];q[e+48>>2]=68655;if(!ni(a,69050,e+48|0)){break f}}u[d+4>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68662);b=ri(a,-1);g:{if(b+1>>>0>=2){if((b|0)!=3){q[e+36>>2]=q[65291];q[e+32>>2]=68662;if(!ni(a,69050,e+32|0)){break g}}u[d+8>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68672);b=ri(a,-1);if(b+1>>>0<=1){oi(a,-2);break c}if((b|0)!=3){q[e+20>>2]=q[65291];q[e+16>>2]=68672;if(!ni(a,69050,e+16|0)){break c}}u[d+12>>2]=wj(a,-1);oi(a,-2);break c;case 1:zi(a,c,68680);b=ri(a,-1);if(b+1>>>0<=1){oi(a,-2);break c}if((b|0)!=3){q[e+68>>2]=q[65291];q[e+64>>2]=68680;if(!ni(a,69050,e- -64|0)){break c}}u[d+4>>2]=wj(a,-1);oi(a,-2);break c;case 2:zi(a,c,68691);b=ri(a,-1);h:{if(b+1>>>0>=2){if((b|0)!=3){q[e+180>>2]=q[65291];q[e+176>>2]=68691;if(!ni(a,69050,e+176|0)){break h}}u[d+12>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68707);b=ri(a,-1);i:{if(b+1>>>0>=2){if((b|0)!=3){q[e+164>>2]=q[65291];q[e+160>>2]=68707;if(!ni(a,69050,e+160|0)){break i}}u[d+16>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68719);b=ri(a,-1);j:{if(b+1>>>0>=2){if((b|0)!=3){q[e+148>>2]=q[65291];q[e+144>>2]=68719;if(!ni(a,69050,e+144|0)){break j}}u[d+20>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68731);b=ri(a,-1);k:{if(b+1>>>0>=2){if((b|0)!=3){q[e+132>>2]=q[65291];q[e+128>>2]=68731;if(!ni(a,69050,e+128|0)){break k}}u[d+24>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68748);b=ri(a,-1);l:{if(b+1>>>0>=2){if((b|0)!=3){q[e+116>>2]=q[65291];q[e+112>>2]=68748;if(!ni(a,69050,e+112|0)){break l}}u[d+28>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68760);b=ri(a,-1);m:{if(b+1>>>0>=2){if((b|0)!=1){q[e+100>>2]=q[65289];q[e+96>>2]=68760;if(!ni(a,69050,e+96|0)){break m}}o[d+32|0]=(Fj(a,-1)|0)!=0}oi(a,-2)}zi(a,c,68773);b=ri(a,-1);n:{if(b+1>>>0>=2){if((b|0)!=1){q[e+84>>2]=q[65289];q[e+80>>2]=68773;if(!ni(a,69050,e+80|0)){break n}}o[d+33|0]=(Fj(a,-1)|0)!=0}oi(a,-2)}if(u[d+16>>2]>u[d+20>>2]^1){break c}ni(a,68786,0);break c;case 3:zi(a,c,68855);b=ri(a,-1);o:{if(b+1>>>0<=1){oi(a,-2);break o}if((b|0)!=7){q[e+324>>2]=q[65295];q[e+320>>2]=68855;if(!ni(a,69050,e+320|0)){break o}}b=sm(a,-1);if(!b){oi(a,-2);q[e+304>>2]=68855;ni(a,69100,e+304|0);break o}u[d+12>>2]=u[b>>2];u[d+16>>2]=u[b+4>>2];u[d+20>>2]=u[b+8>>2];oi(a,-2)}zi(a,c,68691);b=ri(a,-1);p:{if(b+1>>>0>=2){if((b|0)!=3){q[e+292>>2]=q[65291];q[e+288>>2]=68691;if(!ni(a,69050,e+288|0)){break p}}u[d+24>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68760);b=ri(a,-1);q:{if(b+1>>>0>=2){if((b|0)!=1){q[e+276>>2]=q[65289];q[e+272>>2]=68760;if(!ni(a,69050,e+272|0)){break q}}o[d+28|0]=(Fj(a,-1)|0)!=0}oi(a,-2)}zi(a,c,68868);b=ri(a,-1);r:{if(b+1>>>0>=2){if((b|0)!=3){q[e+260>>2]=q[65291];q[e+256>>2]=68868;if(!ni(a,69050,e+256|0)){break r}}u[d+32>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68886);b=ri(a,-1);s:{if(b+1>>>0>=2){if((b|0)!=3){q[e+244>>2]=q[65291];q[e+240>>2]=68886;if(!ni(a,69050,e+240|0)){break s}}u[d+36>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68773);b=ri(a,-1);t:{if(b+1>>>0>=2){if((b|0)!=1){q[e+228>>2]=q[65289];q[e+224>>2]=68773;if(!ni(a,69050,e+224|0)){break t}}o[d+40|0]=(Fj(a,-1)|0)!=0}oi(a,-2)}zi(a,c,68904);b=ri(a,-1);u:{if(b+1>>>0>=2){if((b|0)!=3){q[e+212>>2]=q[65291];q[e+208>>2]=68904;if(!ni(a,69050,e+208|0)){break u}}u[d+44>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68748);b=ri(a,-1);v:{if(b+1>>>0>=2){if((b|0)!=3){q[e+196>>2]=q[65291];q[e+192>>2]=68748;if(!ni(a,69050,e+192|0)){break v}}u[d+48>>2]=wj(a,-1)}oi(a,-2)}if(u[d+32>>2]>u[d+36>>2]^1){break c}ni(a,68920,0);break c;case 4:zi(a,c,68691);b=ri(a,-1);w:{if(b+1>>>0>=2){if((b|0)!=3){q[e+372>>2]=q[65291];q[e+368>>2]=68691;if(!ni(a,69050,e+368|0)){break w}}u[d+4>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68662);b=ri(a,-1);x:{if(b+1>>>0>=2){if((b|0)!=3){q[e+356>>2]=q[65291];q[e+352>>2]=68662;if(!ni(a,69050,e+352|0)){break x}}u[d+8>>2]=wj(a,-1)}oi(a,-2)}zi(a,c,68672);b=ri(a,-1);if(b+1>>>0<=1){oi(a,-2);break c}if((b|0)!=3){q[e+340>>2]=q[65291];q[e+336>>2]=68672;if(!ni(a,69050,e+336|0)){break c}}u[d+12>>2]=wj(a,-1);oi(a,-2);break c;default:break e}}q[e>>2]=b;uj(h,69001,e)}Si(h);fi=e+464|0}function XZ(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,p=0,s=0,t=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;l=fi-560|0;fi=l;q[l+44>>2]=0;xwa(+b);g=uwa(1)|0;uwa(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;xwa(+b);g=uwa(1)|0;uwa(0)|0;u=205536;break a}B=1;u=205539;if(e&2048){break a}u=205542;if(e&1){break a}B=0;A=1;u=205537}b:{if((g&2146435072)==2146435072){k=B+3|0;_l(a,32,c,k,e&-65537);Dl(a,u,B);d=f&32;Dl(a,b!=b?d?205563:205567:d?205555:205559,3);break b}v=l+16|0;c:{d:{e:{b=Jx(b,l+44|0);b=b+b;if(b!=0){g=q[l+44>>2];q[l+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}k=q[l+44>>2];m=(d|0)<0?6:d;break d}k=g-29|0;q[l+44>>2]=k;b=b*268435456;m=(d|0)<0?6:d}n=(k|0)<0?l+48|0:l+336|0;j=n;while(1){d=j;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}q[d>>2]=g;j=j+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<1){d=k;g=j;h=n;break f}h=n;d=k;while(1){p=(d|0)<29?d:29;g=j-4|0;g:{if(h>>>0>g>>>0){break g}d=p;i=0;while(1){t=g;D=i;E=q[g>>2];s=d&31;if((d&63)>>>0>=32){i=E<>>32-s;E=E<>>0>>0?i+1|0:i;i=kwa(s,i,1e9);D=t;t=jwa(i,ii,1e9,0);q[D>>2]=s-t;g=g-4|0;if(h>>>0<=g>>>0){continue}break}if(!i){break g}h=h-4|0;q[h>>2]=i}while(1){g=j;if(h>>>0>>0){j=g-4|0;if(!q[j>>2]){continue}}break}d=q[l+44>>2]-p|0;q[l+44>>2]=d;j=g;if((d|0)>0){continue}break}}if((d|0)<=-1){x=((m+25|0)/9|0)+1|0;p=(C|0)==102;while(1){i=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=h>>>0){h=q[h>>2]?h:h+4|0;break h}t=1e9>>>i|0;s=-1<>2];q[j>>2]=D+(d>>>i|0);d=w(t,d&s);j=j+4|0;if(j>>>0>>0){continue}break}h=q[h>>2]?h:h+4|0;if(!d){break h}q[g>>2]=d;g=g+4|0}d=q[l+44>>2]+i|0;q[l+44>>2]=d;j=p?n:h;g=g-j>>2>(x|0)?j+(x<<2)|0:g;if((d|0)<0){continue}break}}j=0;i:{if(g>>>0<=h>>>0){break i}j=w(n-h>>2,9);d=10;i=q[h>>2];if(i>>>0<10){break i}while(1){j=j+1|0;d=w(d,10);if(i>>>0>=d>>>0){continue}break}}d=(m-((C|0)==102?0:j)|0)-((C|0)==103&(m|0)!=0)|0;if((d|0)<(w(g-n>>2,9)-9|0)){i=d+9216|0;p=(i|0)/9|0;k=((p<<2)+((k|0)<0?l+48|4:l+340|0)|0)-4096|0;d=10;i=i-w(p,9)|0;if((i|0)<=7){while(1){d=w(d,10);i=i+1|0;if((i|0)!=8){continue}break}}p=q[k>>2];t=(p>>>0)/(d>>>0)|0;x=k+4|0;i=p-w(d,t)|0;j:{if(i?0:(x|0)==(g|0)){break j}s=d>>>1|0;z=i>>>0>>0?.5:(g|0)==(x|0)?(s|0)==(i|0)?1:1.5:1.5;b=t&1?9007199254740994:9007199254740992;if(!(r[u|0]!=45|A)){z=-z;b=-b}i=p-i|0;q[k>>2]=i;if(b+z==b){break j}d=d+i|0;q[k>>2]=d;if(d>>>0>=1e9){while(1){q[k>>2]=0;k=k-4|0;if(k>>>0>>0){h=h-4|0;q[h>>2]=0}d=q[k>>2]+1|0;q[k>>2]=d;if(d>>>0>999999999){continue}break}}j=w(n-h>>2,9);d=10;i=q[h>>2];if(i>>>0<10){break j}while(1){j=j+1|0;d=w(d,10);if(i>>>0>=d>>>0){continue}break}}d=k+4|0;g=d>>>0>>0?d:g}while(1){d=g;k=g>>>0<=h>>>0;if(!k){g=d-4|0;if(!q[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=m?m:1;i=(g|0)>(j|0)&(j|0)>-5;m=(i?j^-1:-1)+g|0;f=(i?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(k){break l}p=q[d-4>>2];if(!p){break l}i=10;g=0;if((p>>>0)%10|0){break l}while(1){k=g;g=g+1|0;i=w(i,10);if(!((p>>>0)%(i>>>0)|0)){continue}break}g=k^-1}k=w(d-n>>2,9);if((f&-33)==70){A=0;g=(g+k|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break k}A=0;g=((j+k|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}p=m|A;t=(p|0)!=0;D=a;i=c;s=f&-33;g=(j|0)>0?j:0;m:{if((s|0)==70){break m}g=j>>31;g=uq(g+j^g,0,v);if((v-g|0)<=1){while(1){g=g-1|0;o[g|0]=48;if((v-g|0)<2){continue}break}}x=g-2|0;o[x|0]=f;o[g-1|0]=(j|0)<0?45:43;g=v-x|0}k=(g+(t+(m+B|0)|0)|0)+1|0;_l(D,32,i,k,e);Dl(a,u,B);_l(a,48,c,k,e^65536);n:{o:{p:{if((s|0)==70){f=l+16|8;j=l+16|9;i=h>>>0>n>>>0?n:h;h=i;while(1){g=uq(q[h>>2],0,j);q:{if((h|0)!=(i|0)){if(l+16>>>0>=g>>>0){break q}while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}break q}if((g|0)!=(j|0)){break q}o[l+24|0]=48;g=f}Dl(a,g,j-g|0);h=h+4|0;if(n>>>0>=h>>>0){continue}break}if(p){Dl(a,205571,1)}if((m|0)<1|d>>>0<=h>>>0){break p}while(1){g=uq(q[h>>2],0,j);if(g>>>0>l+16>>>0){while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}}Dl(a,g,(m|0)<9?m:9);g=m-9|0;h=h+4|0;if(d>>>0<=h>>>0){break o}f=(m|0)>9;m=g;if(f){continue}break}break o}r:{if((m|0)<0){break r}n=d>>>0>h>>>0?d:h+4|0;d=l+16|8;f=l+16|9;j=h;while(1){g=uq(q[j>>2],0,f);if((f|0)==(g|0)){o[l+24|0]=48;g=d}s:{if((h|0)!=(j|0)){if(l+16>>>0>=g>>>0){break s}while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}break s}Dl(a,g,1);g=g+1|0;if((m|0)<1?!A:0){break s}Dl(a,205571,1)}t=g;g=f-g|0;Dl(a,t,(g|0)<(m|0)?g:m);m=m-g|0;j=j+4|0;if(n>>>0<=j>>>0){break r}if((m|0)>-1){continue}break}}_l(a,48,m+18|0,18,0);Dl(a,x,v-x|0);break n}g=m}_l(a,48,g+9|0,9,0)}break b}m=f&32;i=m?u+9|0:u;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(r[i|0]==45){b=-(z+(-b-z));break t}b=b+z-z}h=q[l+44>>2];g=h>>31;g=uq(g^g+h,0,v);if((v|0)==(g|0)){o[l+15|0]=48;g=l+15|0}j=B|2;h=q[l+44>>2];n=g-2|0;o[n|0]=f+15;o[g-1|0]=(h|0)<0?45:43;k=e&8;h=l+16|0;while(1){f=h;t=h;h=m;if(y(b)<2147483648){g=~~b}else{g=-2147483648}o[t|0]=h|r[g+205520|0];b=(b- +(g|0))*16;h=f+1|0;if(!((h-(l+16|0)|0)!=1|(b==0?!((d|0)>0|k):0))){o[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((h-l|0)-18|0)>=(d|0)){m=((v-(l+16|0)|0)-n|0)+h|0}else{m=((d+v|0)-n|0)+2|0}d=m;k=d+j|0;_l(g,32,f,k,e);Dl(a,i,j);_l(a,48,c,k,e^65536);f=h-(l+16|0)|0;Dl(a,l+16|0,f);d=v-n|0;_l(a,48,m-(d+f|0)|0,0,0);Dl(a,n,d)}_l(a,32,c,k,e^8192);fi=l+560|0;return((c|0)>(k|0)?c:k)|0}function GL(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,s=0,t=0,u=0,v=0;l=fi+ -64|0;fi=l;s=-13;a:{if(g>>>0>65280|e-7>>>0>6|((k|0)==2|k>>>0>16)){break a}if(k&1){break a}v=14-e|0;o[l+32|0]=(k<<2)+248&248|(v|((g|0)!=0)<<6);si(l+32|1,d,e);u=15-e|0;m=c;while(1){o[(l-n|0)+47|0]=m;m=m>>>8|0;t=t+1|0;n=t&255;if(u>>>0>n>>>0){continue}break}if(m){break a}o[l+16|0]=r[l+32|0];m=r[l+33|0]|r[l+34|0]<<8|(r[l+35|0]<<16|r[l+36|0]<<24);o[l+17|0]=m;o[l+18|0]=m>>>8;o[l+19|0]=m>>>16;o[l+20|0]=m>>>24;m=r[l+41|0]|r[l+42|0]<<8|(r[l+43|0]<<16|r[l+44|0]<<24);n=r[l+37|0]|r[l+38|0]<<8|(r[l+39|0]<<16|r[l+40|0]<<24);o[l+21|0]=n;o[l+22|0]=n>>>8;o[l+23|0]=n>>>16;o[l+24|0]=n>>>24;o[l+25|0]=m;o[l+26|0]=m>>>8;o[l+27|0]=m>>>16;o[l+28|0]=m>>>24;m=r[l+45|0]|r[l+46|0]<<8;o[l+29|0]=m;o[l+30|0]=m>>>8;o[l+31|0]=r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}b:{if(!g){break b}q[l+32>>2]=0;q[l+36>>2]=0;q[l+40>>2]=0;q[l+44>>2]=0;p[l+32>>1]=(g<<8&16711680|g<<24)>>>16;m=g>>>0<14?g:14;si(l+32|2,f,m);o[l+16|0]=r[l+16|0]^g>>>8;o[l+17|0]=r[l+17|0]^g;o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}n=g-m|0;if(!n){break b}t=f+m|0;while(1){f=n>>>0<16?n:16;qi(f+(l+32|0)|0,0,f>>>0>15?0:16-f|0);si(l+32|0,t,f);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}t=f+t|0;n=n-f|0;if(n){continue}break}}o[l|0]=v;qi(si(l|1,d,e)+e|0,0,u);o[l+15|0]=1;c:{if(!c){break c}if(!b){while(1){d=c>>>0<16?c:16;e=d>>>0>15?0:16-d|0;f=qi(d+(l+32|0)|0,0,e);si(l+32|0,h,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}m=0;n=0;s=Km(a,l,16,l+32|0,l+60|0);if(s){break a}while(1){o[i+m|0]=r[(l+32|0)+m|0]^r[h+m|0];n=n+1|0;m=n&255;if(d>>>0>m>>>0){continue}break}if((b|0)==1){qi(f,0,e);si(l+32|0,i,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}}c=c-d|0;h=d+h|0;i=d+i|0;m=0;n=0;while(1){d:{e=l-m|0;d=r[e+15|0]+1|0;o[e+15|0]=d;if((d|0)==(d&255)){break d}n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}}break}if(c){continue}break c}}while(1){s=Km(a,l,16,l+32|0,l+60|0);if(s){break a}d=c>>>0<16?c:16;m=0;n=0;while(1){o[i+m|0]=r[(l+32|0)+m|0]^r[h+m|0];n=n+1|0;m=n&255;if(d>>>0>m>>>0){continue}break}if((b|0)==1){qi(d+(l+32|0)|0,0,d>>>0>15?0:16-d|0);si(l+32|0,i,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Km(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}}c=c-d|0;h=d+h|0;i=d+i|0;m=0;n=0;while(1){e:{e=l-m|0;d=r[e+15|0]+1|0;o[e+15|0]=d;if((d|0)==(d&255)){break e}n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}}break}if(c){continue}break}}m=0;n=0;while(1){o[(l-m|0)+15|0]=0;n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}break}s=Km(a,l,16,l+32|0,l+60|0);if(s){break a}o[l+16|0]=r[l+32|0]^r[l+16|0];o[l+17|0]=r[l+33|0]^r[l+17|0];o[l+18|0]=r[l+34|0]^r[l+18|0];o[l+19|0]=r[l+35|0]^r[l+19|0];o[l+20|0]=r[l+36|0]^r[l+20|0];o[l+21|0]=r[l+37|0]^r[l+21|0];o[l+22|0]=r[l+38|0]^r[l+22|0];o[l+23|0]=r[l+39|0]^r[l+23|0];o[l+24|0]=r[l+40|0]^r[l+24|0];o[l+25|0]=r[l+41|0]^r[l+25|0];o[l+26|0]=r[l+42|0]^r[l+26|0];o[l+27|0]=r[l+43|0]^r[l+27|0];o[l+28|0]=r[l+44|0]^r[l+28|0];o[l+29|0]=r[l+45|0]^r[l+29|0];o[l+30|0]=r[l+46|0]^r[l+30|0];o[l+31|0]=r[l+47|0]^r[l+31|0];si(j,l+16|0,k);s=0}fi=l- -64|0;return s}function yha(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=x(0),m=x(0),n=x(0),t=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=0,F=x(0),H=x(0),I=x(0),K=0,L=0,M=0,N=0,O=0,P=0,Q=x(0),R=x(0),S=x(0),T=0,U=0,V=0,W=0,X=x(0),Y=x(0),Z=0,_=0,$=0,aa=x(0),ba=x(0);j=fi-48|0;fi=j;d=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{switch(q[a+8>>2]){case 0:q[d+68>>2]=0;q[d+84>>2]=q[d+80>>2];q[d+96>>2]=q[d+92>>2];break f;case 2:c=q[d+80>>2];a=q[d+84>>2]-c|0;h:{if(!a){break h}ji[q[74897]](q[d+76>>2],a,c,1);i:{if(o[295788]&1){break i}if(!ui(295788)){break i}if(r[852367]){c=Ek(51979)}else{c=-1}q[73946]=c;ti(295788)}c=q[73946];if((c|0)==-1){break h}Fk(c,a)}if(!(r[d+100|0]&2)){break f}c=q[d+92>>2];a=q[d+96>>2]-c|0;if(!a){break f}ji[q[74904]](q[d+88>>2],a,c,1);j:{if(o[295796]&1){break j}if(!ui(295796)){break j}if(r[852367]){c=Ek(51998)}else{c=-1}q[73948]=c;ti(295796)}c=q[73948];if((c|0)==-1){break f}Fk(c,a);break f;default:J(52016,51351,889,52076);G();case 1:break g}}N=q[a+20>>2];k=q[a+16>>2];T=q[a+12>>2];Z=q[a>>2];k:{if(o[295804]&1){break k}if(!ui(295804)){break k}if(r[852367]){a=Ri(51585)}else{a=-1}q[73950]=a;ti(295804)}l:{if(o[295812]&1){break l}if(!ui(295812)){break l}if(r[852367]){a=Yi(52095,11)}else{a=0}q[73952]=a;ti(295812)}a=q[73950];m:{if((a|0)!=-1){Qi(j+16|0,a,52095,q[73952]);break m}q[j+16>>2]=0}K=q[(w(q[k>>2],48)+T|0)+32>>2];if(!(r[K+234|0]&4)){break e}U=q[K+188>>2];O=q[K+196>>2];if(!O){O=q[U+8>>2]}a=q[d+68>>2];c=d+60|0;b=q[d+52>>2];if((a|0)==q[c>>2]-b>>2){if(o[d- -64|0]&1){break d}vi(a+1|0,4,d+52|0,c,d+56|0);c=Ci(272);Mm(c);a=q[d+56>>2];if((a|0)==q[d+60>>2]){break c}q[d+56>>2]=a+4;q[a>>2]=c;b=q[d+52>>2];a=q[d+68>>2]}q[d+68>>2]=a+1;if(q[d+56>>2]-b>>2>>>0<=a>>>0){break b}h=q[(a<<2)+b>>2];E=q[d+96>>2];a=q[d+84>>2];n:{if(o[295820]&1){break n}if(!ui(295820)){break n}if(r[852367]){c=Ri(51585)}else{c=-1}q[73954]=c;ti(295820)}o:{if(o[295828]&1){break o}if(!ui(295828)){break o}if(r[852367]){c=Yi(52179,16)}else{c=0}q[73956]=c;ti(295828)}c=q[73954];p:{if((c|0)!=-1){Qi(j+32|0,c,52179,q[73956]);break p}q[j+32>>2]=0}b=r[d+100|0];P=b&1?2:4;c=q[O+64>>2];W=q[c+4>>2];q:{if(b&2){if((k|0)==(N|0)){c=E;break q}V=q[c+76>>2];_=q[c+64>>2];g=(a-q[d+80>>2]|0)/20|0;c=E;while(1){e=q[(w(q[k>>2],48)+T|0)+32>>2];b=w(q[e+184>>2],40)+W|0;t=(q[V+(q[e+216>>2]+q[b+12>>2]<<2)>>2]<<5)+_|0;i=q[t+12>>2];L=i>>>1|0;if(L){f=s[e+234>>1];M=q[b+28>>2]^f>>>5&1;b=q[b+32>>2]^f>>>6&1;f=(M|0)==(b|0);$=f?2:-2;F=x((b?-1:1)|0);H=x((M?-1:1)|0);b=q[t+8>>2];i=(i&-2)<<2;b=f?b:(i+b|0)-8|0;M=q[t+16>>2];f=f?M:(i+M|0)-8|0;v=x(u[e+120>>2]*x(0));y=x(u[e+116>>2]*x(0));n=x(u[e+112>>2]*x(0));z=u[e+136>>2];A=u[e+104>>2];B=u[e+88>>2];C=u[e+132>>2];D=u[e+100>>2];I=u[e+84>>2];Q=u[e+128>>2];R=u[e+96>>2];S=u[e+80>>2];e=0;while(1){l=u[b>>2];m=u[b+4>>2];i=q[f+4>>2];q[a+12>>2]=q[f>>2];q[a+16>>2]=i;l=x(l*H);m=x(m*F);u[a+4>>2]=C+x(y+x(x(I*l)+x(D*m)));u[a+8>>2]=z+x(v+x(x(B*l)+x(A*m)));u[a>>2]=Q+x(n+x(x(S*l)+x(R*m)));a=a+20|0;i=$<<2;f=i+f|0;b=b+i|0;e=e+1|0;if((L|0)!=(e|0)){continue}break}}e=q[t+24>>2];f=q[t+28>>2];r:{s:{t:{if(o[d+100|0]&1){if(f){break t}f=0;break r}if(f){break s}f=0;break r}b=0;while(1){p[(b<<1)+c>>1]=q[e+(b<<2)>>2]+g;b=b+1|0;if((f|0)!=(b|0)){continue}break}break r}b=0;while(1){i=b<<2;q[i+c>>2]=q[e+i>>2]+g;b=b+1|0;if((f|0)!=(b|0)){continue}break}f=q[t+28>>2]}g=g+L|0;c=w(f,P)+c|0;k=k+4|0;if((N|0)!=(k|0)){continue}break}break q}if((k|0)==(N|0)){c=E;break q}f=q[c+48>>2];t=w(P,6);c=E;while(1){b=q[(w(q[k>>2],48)+T|0)+32>>2];g=q[b+216>>2];e=w(q[b+184>>2],40)+W|0;P=q[e+12>>2];L=q[e+28>>2];V=q[e+32>>2];e=s[b+234>>1];l=u[b+128>>2];y=u[b+112>>2];n=u[b+96>>2];z=u[b+80>>2];m=u[b+132>>2];v=u[b+116>>2];A=u[b+84>>2];B=u[b+100>>2];F=u[b+136>>2];C=u[b+88>>2];D=x(C*x(-.5));I=u[b+104>>2];Q=x(I*x(-.5));H=x(u[b+120>>2]*x(0));u[a+8>>2]=F+x(x(D+Q)+H);R=x(A*x(-.5));S=x(B*x(-.5));v=x(v*x(0));u[a+4>>2]=m+x(x(R+S)+v);X=x(z*x(-.5));Y=x(n*x(-.5));y=x(y*x(0));u[a>>2]=l+x(x(X+Y)+y);b=f+(g+P<<5)|0;g=(L|0)!=(e>>>5&1);e=w((V|0)==(e>>>6&1)?g:g|2,24)+52208|0;g=q[e>>2]<<3;u[a+12>>2]=u[b+g>>2];aa=u[b+(g|4)>>2];ba=D;D=x(I*x(.5));u[a+28>>2]=F+x(x(ba+D)+H);B=x(B*x(.5));u[a+24>>2]=m+x(x(R+B)+v);n=x(n*x(.5));u[a+20>>2]=l+x(x(X+n)+y);u[a+16>>2]=aa;g=q[e+4>>2]<<3;u[a+32>>2]=u[g+b>>2];I=u[b+(g|4)>>2];C=x(C*x(.5));u[a+48>>2]=F+x(x(C+D)+H);A=x(A*x(.5));u[a+44>>2]=m+x(x(A+B)+v);z=x(z*x(.5));u[a+40>>2]=l+x(x(z+n)+y);u[a+36>>2]=I;g=q[e+8>>2]<<3;u[a+52>>2]=u[g+b>>2];n=u[b+(g|4)>>2];u[a+68>>2]=F+x(x(C+Q)+H);u[a- -64>>2]=m+x(x(A+S)+v);u[a+60>>2]=l+x(x(z+Y)+y);u[a+56>>2]=n;e=q[e+16>>2]<<3;u[a+72>>2]=u[e+b>>2];u[a+76>>2]=u[b+(e|4)>>2];c=c+t|0;a=a+80|0;k=k+4|0;if((N|0)!=(k|0)){continue}break}}if(q[j+32>>2]){Pi(j+32|0)}q[d+96>>2]=c;q[d+84>>2]=a;Mm(h);q[h+148>>2]=q[d+72>>2];q[h+144>>2]=q[d+76>>2];q[h+152>>2]=q[d+88>>2];c=h;a=q[K+200>>2];if(!a){a=q[U+16>>2]}q[c+156>>2]=a;a=q[O+48>>2];q[h+192>>2]=1;q[h+160>>2]=a;q[h+196>>2]=o[d+100|0]&1?3:5;a=q[d+96>>2];c=r[d+100|0];q[h+248>>2]=E-q[d+92>>2];q[h+252>>2]=a-E>>>(c&1?1:2);a=q[K+192>>2];if(a){Tq(h,a)}a=q[q[U+12>>2]+12>>2];if(a>>>0>=5){break a}o[h+256|0]=r[h+256|0]|1;a=a<<2;q[h+204>>2]=q[a+52620>>2];q[h+200>>2]=q[a+52600>>2];Sn(Z,h);if(!q[j+16>>2]){break f}Pi(j+16|0)}fi=j+48|0;return}J(52107,51351,578,52095);G()}J(51796,51871,461,51950);G()}J(52150,51871,501,52174);G()}J(52519,51871,447,51574);G()}q[j>>2]=a;mi(4,51183,52124,j);J(52148,51351,655,52095);G()}function Zsa(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,t=0,u=0,v=0,x=0,y=0,A=0,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=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,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0;g=fi+ -64|0;fi=g;P=d-1|0;i=P;p=i?32-z(i)|0:0;Q=e-1|0;i=Q;i=i?32-z(i)|0:0;Y=i>>>0>p>>>0?p:i;if((e|0)>=1){Z=Y<<1;Ya=-1<>2];C=Rk(i,0);D=Rk(i,1);i=q[R>>2];S=Rk(i,0);T=Rk(i,1);i=q[_+R>>2];Rk(i,0);Rk(i,1);U=(w(f&Q,d)<<2)+b|0;i=q[p+U>>2];t=Rk(i,0);u=Rk(i,1);i=q[U>>2];J=Rk(i,0);K=Rk(i,1);i=q[_+U>>2];Rk(i,0);Rk(i,1);Da=f+1|0;V=(w(Da&Q,d)<<2)+b|0;i=q[p+V>>2];p=Rk(i,0);i=Rk(i,1);l=q[V>>2];o=Rk(l,0);l=Rk(l,1);m=q[_+V>>2];Rk(m,0);Rk(m,1);if((d|0)>=1){Za=s[((f&255)<<1)+98064>>1]|s[(f>>>7&33554430)+98064>>1]<<16;_a=f>>>Y<>>7&33554430)+98064>>1]<<17|Za|s[((E&255)<<1)+98064>>1]<<1;h=o;a:{if((d|0)==(e|0)){break a}o=o&Ya;h=o|E>>>Y<>>0>e>>>0){break a}h=o|_a}Ea=(h<<3)+c|0;q[Ea+4>>2]=q[($<<2)+b>>2];E=E+1|0;o=(P&E)<<2;l=q[o+R>>2];S=Rk(l,0);T=Rk(l,1);l=q[o+U>>2];J=Rk(l,0);K=Rk(l,1);l=q[o+V>>2];o=Rk(l,0);l=Rk(l,1);L=w(t,6);M=L+w(C,6)|0;aa=M+(k+v<<1)|0;n=(r[g+7|0]+(r[g+6|0]+(r[g+5|0]+r[g+4|0]|0)|0)<<4)-aa<<4;N=w(u,6);O=N+w(D,6)|0;Fa=O+(j+x<<1)|0;Ga=(Fa|0)<(aa|0);ba=Ga?0-n|0:n;F=t+v|0;y=k+C|0;ca=F+y<<2;n=(r[g+3|0]+(r[g+2|0]+(r[g+1|0]+r[g|0]|0)|0)<<4)-ca<<4;G=u+x|0;A=j+D|0;Ha=G+A<<2;Ia=(Ha|0)<(ca|0);da=Ia?0-n|0:n;ea=L+(w(v,6)+(y<<1)|0)|0;n=(r[g+19|0]+(r[g+18|0]+(r[g+17|0]+r[g+16|0]|0)|0)<<4)-ea<<4;Ja=N+(w(x,6)+(A<<1)|0)|0;Ka=(Ja|0)<(ea|0);fa=Ka?0-n|0:n;A=w(C,3);ga=w(t,9);y=ga+w(v,3)|0;ha=A+(y+k|0)|0;k=(r[g+23|0]+(r[g+22|0]+(r[g+21|0]+r[g+20|0]|0)|0)<<4)-ha<<4;W=0-k|0;h=k;k=w(D,3);ia=w(u,9);n=ia+w(x,3)|0;La=k+(n+j|0)|0;Ma=(La|0)<(ha|0);ja=Ma?W:h;ka=t+C<<3;j=(r[g+11|0]+(r[g+10|0]+(r[g+9|0]+r[g+8|0]|0)|0)<<4)-ka<<4;Na=u+D<<3;Oa=(Na|0)<(ka|0);la=Oa?0-j|0:j;ma=(M+(S<<1)|0)+(J<<1)|0;j=(r[g+15|0]+(r[g+14|0]+(r[g+13|0]+r[g+12|0]|0)|0)<<4)-ma<<4;Pa=(O+(T<<1)|0)+(K<<1)|0;Qa=(Pa|0)<(ma|0);na=Qa?0-j|0:j;X=w(t,12);oa=X+(C<<2)|0;j=(r[g+27|0]+(r[g+26|0]+(r[g+25|0]+r[g+24|0]|0)|0)<<4)-oa<<4;B=w(u,12);Ra=B+(D<<2)|0;Sa=(Ra|0)<(oa|0);pa=Sa?0-j|0:j;H=w(J,3);qa=H+((A+ga|0)+S|0)|0;j=(r[g+31|0]+(r[g+30|0]+(r[g+29|0]+r[g+28|0]|0)|0)<<4)-qa<<4;I=w(K,3);Ta=I+((k+ia|0)+T|0)|0;Ua=(Ta|0)<(qa|0);ra=Ua?0-j|0:j;sa=F<<3;j=(r[g+35|0]+(r[g+34|0]+(r[g+33|0]+r[g+32|0]|0)|0)<<4)-sa<<4;Va=G<<3;Wa=(Va|0)<(sa|0);ta=Wa?0-j|0:j;ua=X+(v<<2)|0;j=(r[g+39|0]+(r[g+38|0]+(r[g+37|0]+r[g+36|0]|0)|0)<<4)-ua<<4;Xa=B+(x<<2)|0;W=(Xa|0)<(ua|0);va=W?0-j|0:j;wa=(w(F,6)+(m<<1)|0)+(p<<1)|0;j=(r[g+51|0]+(r[g+50|0]+(r[g+49|0]+r[g+48|0]|0)|0)<<4)-wa<<4;G=(w(G,6)+(f<<1)|0)+(i<<1)|0;L=(G|0)<(wa|0);xa=L?0-j|0:j;j=w(p,3);ya=j+(m+y|0)|0;m=(r[g+55|0]+(r[g+54|0]+(r[g+53|0]+r[g+52|0]|0)|0)<<4)-ya<<4;h=0-m|0;k=m;m=w(i,3);M=m+(f+n|0)|0;N=(M|0)<(ya|0);za=N?h:k;f=r[g+43|0]+(r[g+42|0]+(r[g+41|0]+(r[g+40|0]-t|0)|0)|0)<<8;O=u<<4;y=t<<4;A=(O|0)<(y|0);Aa=A?0-f|0:f;Ba=X+(J<<2)|0;f=(r[g+47|0]+(r[g+46|0]+(r[g+45|0]+r[g+44|0]|0)|0)<<4)-Ba<<4;n=B+(K<<2)|0;v=(n|0)<(Ba|0);Ca=v?0-f|0:f;F=X+(p<<2)|0;f=(r[g+59|0]+(r[g+58|0]+(r[g+57|0]+r[g+56|0]|0)|0)<<4)-F<<4;x=B+(i<<2)|0;k=(x|0)<(F|0);B=k?0-f|0:f;H=j+((H+ga|0)+o|0)|0;f=(r[g+63|0]+(r[g+62|0]+(r[g+61|0]+r[g+60|0]|0)|0)<<4)-H<<4;j=m+((I+ia|0)+l|0)|0;m=(j|0)<(H|0);I=m?0-f|0:f;f=Fa-aa|0;f=Ga?0-f|0:f;h=(ba|0)>(w(f,13)|0)?12:(ba|0)>f<<3?8:((ba|0)>(w(f,3)|0))<<2;f=Ha-ca|0;f=Ia?0-f|0:f;h=h|((da|0)>(w(f,13)|0)?3:(da|0)>f<<3?2:(da|0)>(w(f,3)|0));f=Ja-ea|0;f=Ka?0-f|0:f;h=h|((fa|0)>(w(f,13)|0)?768:(fa|0)>f<<3?512:((fa|0)>(w(f,3)|0))<<8);f=La-ha|0;f=Ma?0-f|0:f;h=h|((ja|0)>(w(f,13)|0)?3072:(ja|0)>f<<3?2048:((ja|0)>(w(f,3)|0))<<10);f=Na-ka|0;f=Oa?0-f|0:f;h=h|((la|0)>(w(f,13)|0)?48:(la|0)>f<<3?32:((la|0)>(w(f,3)|0))<<4);f=Pa-ma|0;f=Qa?0-f|0:f;h=h|((na|0)>(w(f,13)|0)?192:(na|0)>f<<3?128:((na|0)>(w(f,3)|0))<<6);f=Ra-oa|0;f=Sa?0-f|0:f;h=h|((pa|0)>(w(f,13)|0)?12288:(pa|0)>f<<3?8192:((pa|0)>(w(f,3)|0))<<12);f=Ta-qa|0;f=Ua?0-f|0:f;h=h|((ra|0)>(w(f,13)|0)?49152:(ra|0)>f<<3?32768:((ra|0)>(w(f,3)|0))<<14);f=Va-sa|0;f=Wa?0-f|0:f;h=h|((ta|0)>(w(f,13)|0)?196608:(ta|0)>f<<3?131072:((ta|0)>(w(f,3)|0))<<16);f=Xa-ua|0;f=W?0-f|0:f;h=h|((va|0)>(w(f,13)|0)?786432:(va|0)>f<<3?524288:((va|0)>(w(f,3)|0))<<18);f=G-wa|0;f=L?0-f|0:f;h=h|((xa|0)>(w(f,13)|0)?50331648:(xa|0)>f<<3?33554432:((xa|0)>(w(f,3)|0))<<24);f=M-ya|0;f=N?0-f|0:f;h=h|((za|0)>(w(f,13)|0)?201326592:(za|0)>f<<3?134217728:((za|0)>(w(f,3)|0))<<26);f=O-y|0;f=A?0-f|0:f;h=h|((Aa|0)>(w(f,13)|0)?3145728:(Aa|0)>f<<3?2097152:((Aa|0)>(w(f,3)|0))<<20);f=n-Ba|0;f=v?0-f|0:f;h=h|((Ca|0)>(w(f,13)|0)?12582912:(Ca|0)>f<<3?8388608:((Ca|0)>(w(f,3)|0))<<22);f=x-F|0;f=k?0-f|0:f;k=h|((B|0)>(w(f,13)|0)?805306368:(B|0)>f<<3?536870912:((B|0)>(w(f,3)|0))<<28);f=j-H|0;f=m?0-f|0:f;q[Ea>>2]=k|((I|0)>(w(f,13)|0)?-1073741824:(I|0)>f<<3?-2147483648:((I|0)>(w(f,3)|0))<<30);$=$+1|0;if((d|0)!=(E|0)){continue}break}}f=Da;if((f|0)!=(e|0)){continue}break}}fi=g- -64|0}function kJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0,s=x(0),t=0,v=0,z=0,B=0,D=x(0),E=x(0),F=0,H=0,I=x(0),K=x(0),L=x(0),M=0,N=x(0),O=0,P=0,Q=x(0),R=0,S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=0,ea=0,fa=x(0),ga=x(0),ha=0,ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0),ta=x(0),ua=x(0);m=fi-48|0;fi=m;j=q[g+8>>2];a:{F=q[b+8>>2];if((Wo(a,F)|0)==2){h=q[j+4>>2];H=q[j>>2];v=h-H|0;i=(v|0)/288|0;z=i+1|0;if(z>>>0<=(q[j+8>>2]-H|0)/288>>>0){q[j+4>>2]=H+w(z,288);if(i>>>0<(v+288|0)/288>>>0){i=q[g+12>>2];q[g+12>>2]=i+1;q[h+272>>2]=i;Mm(h);i=q[e>>2];o[h+256|0]=r[h+256|0]|2;b:{c:{if(i){q[h+212>>2]=5;q[h+216>>2]=0;q[h+220>>2]=2;q[h+224>>2]=2;o[h+244|0]=r[i|0];o[h+245|0]=r[i+1|0];o[h+246|0]=r[i+2|0];e=h+247|0;o[e|0]=r[h+247|0]&208|r[i+3|0]&15;if(!r[g+16|0]){break b}o[g+16|0]=0;i=r[h+247|0]|16;break c}q[h+212>>2]=7;q[h+216>>2]=0;o[h+246|0]=255;p[h+244>>1]=65280;q[h+220>>2]=0;q[h+224>>2]=0;e=h+247|0;i=r[e|0]&-48|15}o[e|0]=i}e=Es(a,F);if(e>>>0<5){o[h+256|0]=r[h+256|0]|1;e=e<<2;q[h+204>>2]=q[e+42556>>2];q[h+200>>2]=q[e+42536>>2];q[h+148>>2]=q[j+48>>2];e=q[j+52>>2];q[h+192>>2]=2;q[h+144>>2]=e;t=j+60|0;i=q[t>>2];e=q[j+56>>2];q[h+252>>2]=0;q[h+248>>2]=(i-e|0)/36;q[h+156>>2]=q[g+4>>2];g=Ds(a,F,m+32|0);e=h;d:{if(q[m+32>>2]==2){if(!g){break d}g=q[g+48>>2]}if(!g){g=q[j+72>>2]}q[e+160>>2]=g;if(f){g=0;while(1){e=Tu(a,q[((g<<4)+b|0)+8>>2]);n=(((e>>>0>4?e:4)<<1)+n|0)+12|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}O=j+56|0;e:{M=j- -64|0;e=q[M>>2];if((e-q[j+60>>2]|0)/36>>>0>>0){if(o[j+68|0]&1){break e}vi(((e-q[O>>2]|0)/36|0)+(n>>>0>128?n:128)|0,36,O,M,t)}if(f){while(1){da=(P<<4)+b|0;g=q[da+8>>2];yI(m+32|0,a,g);f:{if(tn(a,g)){break f}s=u[m+32>>2];if((s>=x(0)?s:x(-s))>2];X=u[m+24>>2];Y=u[m+20>>2];Z=u[m+16>>2];e=Tu(a,g);k=CI(a,g);l=u[m+32>>2];I=x(0);ea=AI(a,g);_=x(1);$=zI(a,g);fa=x(x(x(A($>>0>4?e:4)>>>0));s=x(x(C(x(x(fa/ga)+x(.9990000128746033))))+x(1));g:{if(s=x(0)){F=~~s>>>0;break g}F=0}j=FI(a,g);h:{if(!j){e=0;Q=x(1);K=x(-1);break h}GI(a,g,m+15|0,m+14|0);i:{j:{I=u[j>>2];k:{if(I==u[j+8>>2]){g=1;e=0;i=o[m+14|0]&1;n=i;v=0;if(o[m+15|0]&1){break k}break j}g=o[m+15|0]&1;H=o[m+14|0]&1;if(u[j+12>>2]!=u[j+20>>2]){n=0;e=1;i=1;v=g;if(!H){break j}break k}z=g;g=1;e=0;i=H;n=i;v=0;if(!z){break j}}s=x(u[j+16>>2]-I);I=x(I+s);_=x(-s);break i}i=n;g=v;_=x(u[j+16>>2]-I)}z=e?5:1;v=e?1:3;if(((e?g:i)|0)==1){s=u[j+(v<<2)>>2];K=x(u[j+(z<<2)>>2]-s);Q=x(s+K);K=x(-K);break h}Q=u[j+(v<<2)>>2];K=x(u[j+(z<<2)>>2]-Q)}g=q[t>>2]-q[O>>2]|0;j=(g|0)/-36|0;if(F){s=x(k/l);ha=F-1|0;B=(P<<6)+c|0;H=B;ba=x(0);N=x(.7853981852531433);v=1;n=0;l:{while(1){k=(n|0)==(ha|0)?fa:x(ga*x(n>>>0));ca=x(.5);l=s;z=q[71806];i=z;if(!ea){g=N>ba^1|k>=N^1;ba=g?k:N;N=g?N:x(N+x(1.5707963705062866));n=n-(g^1)|0;k=ba}D=$>>9|0)+1&127)<<2)>>2]*k)+x(u[z+(g>>>7&508)>>2]*x(x(1)-k)));T=x(x(l*S)+x(.5));k=_;l=s;R=+x(D+x(-1.5707963705062866))*10430.378350470453;n:{if(y(R)<2147483648){i=~~R;break n}i=-2147483648}D=x(x(i&511)*x(.001953125));U=x(x(u[(((i>>>9|0)+1&127)<<2)+z>>2]*D)+x(u[z+(i>>>7&508)>>2]*x(x(1)-D)));V=x(x(l*U)+x(.5));E=x(k*(e?V:T));ia=u[B+8>>2];ja=u[B+24>>2];ka=x(u[B+40>>2]*x(0));L=x(x(x(T*ia)+x(V*ja))+ka);la=u[H+56>>2];ma=x(u[B+36>>2]*x(0));na=u[B+4>>2];oa=u[B+20>>2];aa=x(ma+x(x(na*T)+x(oa*V)));pa=u[B+52>>2];qa=x(u[B+32>>2]*x(0));ra=u[B>>2];sa=u[B+16>>2];D=x(qa+x(x(ra*T)+x(sa*V)));ta=u[B+48>>2];if(!ea){k=U>=x(0)?U:x(-U);l=S>=x(0)?S:x(-S);ca=x(x(.5)/(k>l?k:l))}ua=x(I+E);E=x(Q+x(K*(e?T:x(x(1)-V))));L=x(la+L);k=x(pa+aa);l=x(ta+D);o:{if(v&1){g=q[t>>2];if((g|0)==q[M>>2]){break o}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=E;u[g+12>>2]=ua;u[g+8>>2]=L;u[g+4>>2]=k;u[g>>2]=l}g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=E;u[g+12>>2]=ua;u[g+8>>2]=L;u[g+4>>2]=k;u[g>>2]=l;g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;E=x(x(S*ca)+x(.5));l=x(x(U*ca)+x(.5));L=x(Q+x(K*(e?E:x(x(1)-l))));u[g+16>>2]=L;aa=x(I+x(_*(e?l:E)));u[g+12>>2]=aa;D=x(la+x(ka+x(x(ia*E)+x(ja*l))));u[g+8>>2]=D;k=x(pa+x(ma+x(x(na*E)+x(oa*l))));u[g+4>>2]=k;l=x(ta+x(qa+x(x(ra*E)+x(sa*l))));u[g>>2]=l;if((n|0)==(ha|0)){g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=L;u[g+12>>2]=aa;u[g+8>>2]=D;u[g+4>>2]=k;u[g>>2]=l}v=0;n=n+1|0;if((F|0)==(n|0)){break l}continue}break}break a}g=q[t>>2]-q[O>>2]|0}e=Tu(a,q[da+8>>2]);if(((g|0)/36|0)+j>>>0<=((e>>>0>4?e:4)<<1)+12>>>0){break f}J(41083,39661,1700,41068);G()}P=P+1|0;if((P|0)!=(f|0)){continue}break}}q[h+252>>2]=((q[t>>2]-q[O>>2]|0)/36|0)-q[h+248>>2];fi=m+48|0;return}J(39145,39220,461,39299);G()}J(40832,39661,868,40848);G()}q[m>>2]=e;mi(4,38938,40995,m);J(41019,39661,812,41021);G()}J(39499,39220,447,39510);G()}J(39472,39220,474,39491);G()}J(41034,39661,1520,41068);G()}J(39443,39220,501,39467);G()}function $G(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;d=fi-944|0;fi=d;qi(q[a+40>>2],255,q[a+44>>2]<<2);q[a+60>>2]=-1;q[a+64>>2]=0;q[a+52>>2]=q[a+48>>2];k=a+40|0;j=qi(d,0,944);Un(k,0,0,j);c=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{if(q[b+4>>2]){h:{if(!c){d=Ci(108);q[a+4>>2]=d;qi(d,0,108);c=q[a+4>>2];q[c>>2]=q[q[a>>2]+40>>2]+2560;break h}q[c+96>>2]=q[c+92>>2]}if(o[c+104|0]&1){break b}vi(q[b+4>>2],16,c+92|0,c+100|0,c+96|0);e=q[b+4>>2];if(!e){break g}c=0;while(1){if(c>>>0>=e>>>0){break f}d=q[b>>2]+(c<<3)|0;i=li(q[d+4>>2]);e=ii;f=q[a+4>>2];g=q[f+96>>2];if((g|0)==q[f+100>>2]){break a}d=q[d>>2];q[f+96>>2]=g+16;q[g+8>>2]=i;q[g+12>>2]=e;q[g>>2]=d;Un(k,i,e,j);c=c+1|0;e=q[b+4>>2];if(c>>>0>>0){continue}break}break g}if(!c){break g}i:{if(o[c+104|0]&1){break i}d=q[c+92>>2];if(!d){break i}ki(d)}ki(c);q[a+4>>2]=0}c=q[a+8>>2];j:{if(q[b+12>>2]){k:{if(!c){d=Ci(52);q[a+8>>2]=d;q[d+48>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;c=q[a+8>>2];q[c>>2]=q[q[a>>2]+40>>2]+2608;break k}q[c+40>>2]=q[c+36>>2]}if(o[c+48|0]&1){break b}vi(q[b+12>>2],16,c+36|0,c+44|0,c+40|0);e=q[b+12>>2];if(e){c=0;while(1){if(c>>>0>=e>>>0){break e}d=q[b+8>>2]+(c<<3)|0;i=li(q[d+4>>2]);e=ii;f=q[a+8>>2];g=q[f+40>>2];if((g|0)==q[f+44>>2]){break a}d=q[d>>2];q[f+40>>2]=g+16;q[g+8>>2]=i;q[g+12>>2]=e;q[g>>2]=d;Un(k,i,e,j);c=c+1|0;e=q[b+12>>2];if(c>>>0>>0){continue}break}}Un(k,0,0,j);break j}if(!c){break j}l:{if(o[c+48|0]&1){break l}d=q[c+36>>2];if(!d){break l}ki(d)}ki(c);q[a+8>>2]=0}e=q[a+72>>2];if(e){f=q[a+76>>2];if(f){c=0;while(1){d=q[(e+(c<<3)|0)+4>>2];if(d){ki(d)}c=c+1|0;if((f|0)!=(c|0)){continue}break}}ki(e)}q[a+72>>2]=0;l=q[b+20>>2];q[a+76>>2]=l;if(!l){break c}i=q[b+16>>2];h=Ci((l&536870911)!=(l|0)?-1:l<<3);c=0;while(1){d=c<<3;f=d+h|0;d=d+i|0;q[f>>2]=q[d>>2];m=f;e=q[d+4>>2];f=Fi(e);d=f+1|0;g=Ci(d);q[m+4>>2]=g;kj(g,e,d);o[f+g|0]=0;c=c+1|0;if((l|0)!=(c|0)){continue}break}q[a+72>>2]=h;c=q[a+12>>2];d=q[a+16>>2];if((c|0)==(d|0)){c=d;break d}e=0;while(1){f=q[(e<<2)+c>>2];if(f){m:{if(o[f+336|0]&1){break m}d=q[f+316>>2];if(d){ki(d)}d=q[f+308>>2];if(!d){break m}ki(d)}n:{if(o[f+304|0]&1){break n}d=q[f+292>>2];if(!d){break n}ki(d)}ki(f);c=q[a+12>>2];d=q[a+16>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}break d}J(133868,133880,350,133912);G()}J(133868,133880,358,133912);G()}q[a+16>>2]=c;d=Xl(a,0);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,1);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,2);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,3);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,4);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,5);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,6);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,7);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,8);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,9);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,10);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,11);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,12);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,13);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,14);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Xl(a,15);if(!d){break c}c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}c=q[a+28>>2];o:{p:{q:{f=q[b+28>>2];r:{if(f){s:{if(!c){d=Ci(996);q[a+28>>2]=d;qi(d,0,996);c=q[a+28>>2];q[c>>2]=q[q[a>>2]+40>>2]+2628;break s}q[c+984>>2]=q[c+980>>2]}if(o[c+992|0]&1){break b}vi(f,16,c+980|0,c+988|0,c+984|0);f=f>>>0>1?f:1;c=0;while(1){if(t[b+28>>2]<=c>>>0){break q}d=q[b+24>>2]+(c<<3)|0;g=li(q[d+4>>2]);i=ii;e=q[a+28>>2];h=q[e+984>>2];if((h|0)==q[e+988>>2]){break a}d=q[d>>2];q[e+984>>2]=h+16;q[h+8>>2]=g;q[h+12>>2]=i;q[h>>2]=d;Un(k,g,i,j);c=c+1|0;if((f|0)!=(c|0)){continue}break}Un(k,0,0,j);break r}if(!c){break r}t:{if(o[c+992|0]&1){break t}d=q[c+980>>2];if(!d){break t}ki(d)}ki(c);q[a+28>>2]=0}c=q[a+36>>2];d=q[b+36>>2];u:{if(d){v:{if(!c){c=Ci(540);q[a+36>>2]=c;qi(c,0,540);break v}q[c+528>>2]=q[c+524>>2]}if(o[c+536|0]&1){break b}vi(d,16,c+524|0,c+532|0,c+528|0);f=d>>>0>1?d:1;c=0;while(1){if(t[b+36>>2]<=c>>>0){break p}d=q[b+32>>2]+(c<<3)|0;g=li(q[d+4>>2]);i=ii;e=q[a+36>>2];h=q[e+528>>2];if((h|0)==q[e+532>>2]){break o}d=q[d>>2];q[e+528>>2]=h+16;q[h+8>>2]=g;q[h+12>>2]=i;q[h>>2]=d;Un(k,g,i,j);c=c+1|0;if((f|0)!=(c|0)){continue}break}Un(k,0,0,j);break u}if(!c){break u}w:{if(o[c+536|0]&1){break w}b=q[c+524>>2];if(!b){break w}ki(b)}ki(c);q[a+36>>2]=0}if(!q[a+32>>2]){b=a;a=Ci(24);q[b+32>>2]=a;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}fi=j+944|0;return}J(133868,133880,374,133912);G()}J(133868,133880,382,133912);G()}break a}J(134002,133923,461,134077);G()}J(134089,133923,501,134113);G()}function Q8(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,t=0,v=0,z=0,A=x(0),B=0,C=0,D=0,E=0,F=x(0),H=0,I=0,K=0,L=0,M=0,N=x(0),O=x(0);i=fi-80|0;fi=i;h=a+328|0;q[h>>2]=q[a+324>>2];e=q[a+12>>2];a:{b:{c:{d:{f=q[a+164>>2];e:{if(!f){break e}j=a+332|0;l=a+324|0;while(1){g=q[q[a+160>>2]+(k<<2)>>2];if((g|0)!=-1){while(1){d=q[a+168>>2]+w(g,40)|0;f=q[d+8>>2];f:{if(r[d+12|0]&2){if(f){ji[q[b+8>>2]](a,f,c)}f=q[h>>2];g=q[j>>2];if((f|0)==(g|0)){if(o[a+336|0]&1){break d}vi((f-q[l>>2]>>3)+16|0,8,l,j,h);g=q[j>>2];f=q[h>>2]}if((f|0)==(g|0)){break c}g=q[d>>2];t=q[d+4>>2];q[h>>2]=f+8;q[f>>2]=g;q[f+4>>2]=t;break f}g=q[d+24>>2];if(!f){if(!g){break f}q[d+8>>2]=ji[q[b+4>>2]](a,q[d+16>>2],q[d+20>>2],q[d+28>>2],g,c);ki(q[d+24>>2]);q[d+24>>2]=0;n=n+1|0;break f}if(!g){break f}ji[q[b+12>>2]](a,f,q[d+16>>2],q[d+20>>2],q[d+28>>2],g,c);ki(q[d+24>>2]);q[d+24>>2]=0}g=q[d+32>>2];if((g|0)!=-1){continue}break}f=q[a+164>>2]}k=k+1|0;if(k>>>0>>0){continue}break}if((n|0)<1){break e}j=q[a+32>>2];d=q[a+36>>2]-j|0;if(!d|!f){break e}d=(d|0)/576|0;l=d>>>0>1?d:1;k=q[a+160>>2];d=0;while(1){h=j+w(d,576)|0;n=q[h+424>>2];t=q[h+428>>2];g=q[k+(lwa(n,t,f)<<2)>>2];g:{if((g|0)==-1){break g}B=q[a+168>>2];while(1){g=B+w(g,40)|0;if(q[g>>2]!=(n|0)|q[g+4>>2]!=(t|0)){g=q[g+32>>2];if((g|0)!=-1){continue}break g}break}g=q[g+8>>2];q[h+436>>2]=3;q[h+432>>2]=g}d=d+1|0;if((l|0)!=(d|0)){continue}break}}g=q[a+324>>2];if((g|0)!=q[a+328>>2]){j=a+160|0;f=0;while(1){g=(f<<3)+g|0;d=q[g+4>>2];l=q[g>>2];V7(j,l,d);k=q[a+32>>2];h=q[a+36>>2]-k|0;g=(h|0)/576|0;if(h){n=g>>>0>1?g:1;g=0;while(1){h=k+w(g,576)|0;if(q[h+424>>2]==(l|0)&q[h+428>>2]==(d|0)){q[h+432>>2]=0;q[h+436>>2]=0}g=g+1|0;if((n|0)!=(g|0)){continue}break}}f=f+1|0;g=q[a+324>>2];if(f>>>0>2]-g>>3>>>0){continue}break}}t=e+60|0;f=q[e+56>>2];q[t>>2]=f;l=e+76|0;q[l>>2]=q[e+72>>2];k=e+92|0;q[k>>2]=q[e+88>>2];B=e+108|0;q[B>>2]=q[e+104>>2];g=e+124|0;q[g>>2]=q[e+120>>2];z=e+140|0;q[z>>2]=q[e+136>>2];v=e+144|0;C=e+136|0;h=e+128|0;H=e+120|0;E=e+112|0;j=e+104|0;I=e+96|0;K=e+88|0;L=e+80|0;M=e+72|0;n=e+56|0;d=e- -64|0;m=q[d>>2]-f>>4;f=s[a+26>>1]<<1;if(m>>>0>>0){if(o[e+68|0]&1){break d}vi(f,16,n,d,t);if(o[e+84|0]&1){break d}vi(f,64,M,L,l);if(o[e+100|0]&1){break d}vi(f,4,K,I,k);if(o[e+192|0]&1){break d}vi(f,80,e+180|0,e+188|0,e+184|0);d=q[e+180>>2];if(f>>>0>(q[e+188>>2]-d|0)/80>>>0){break b}q[e+184>>2]=d+w(f,80);if(o[e+116|0]&1){break d}vi(f,24,j,E,B);if(o[e+132|0]&1){break d}vi(f,4,H,h,g);if(o[e+148|0]&1){break d}vi(f,2,C,v,z)}p[e+196>>1]=0;f=s[e+198>>1]+1|0;p[e+198>>1]=(f&65535)==65535?0:f;MI(a,s[a+348>>1],0,0,j,65535);Pz(a,s[a+348>>1],0,0,j,n);d=q[e+56>>2];m=q[e+60>>2];q[i+16>>2]=a;Wv(d,m,i+16|0);f=q[e+64>>2]-q[e+56>>2]>>4;if(f>>>0>q[e+80>>2]-q[e+72>>2]>>6>>>0){if(o[e+84|0]&1){break d}vi(f,64,M,L,l);if(o[e+100|0]&1){break d}vi(f,4,K,I,k);if(o[e+192|0]&1){break d}vi(f,80,e+180|0,e+188|0,e+184|0);D=q[e+180>>2];if(f>>>0>(q[e+188>>2]-D|0)/80>>>0){break b}q[e+184>>2]=D+w(f,80);if(o[e+116|0]&1){break d}vi(f,24,j,E,B);if(o[e+132|0]&1){break d}vi(f,4,H,h,g);if(o[e+148|0]&1){break d}vi(f,2,C,v,z)}f=m-d|0;if(f){d=d-m|0;d=((d|0)>(f|0)?d:f)>>>4|0;f=(f|0)>-1?f:-1;f=w(d,(f|0)<1?f:1);E=f>>>0>1?f:1;f=0;while(1){d=q[n>>2];if(q[t>>2]-d>>4>>>0<=f>>>0){break a}m=d+(f<<4)|0;z=s[m+8>>1];e=q[a+32>>2];if(z>>>0>=(q[a+36>>2]-e|0)/576>>>0){break a}q[i+12>>2]=1065353216;e=e+w(z,576)|0;d=q[e+412>>2];h:{if(!(d&262144)|(d>>>4&15)-5>>>0<2|q[e+436>>2]!=2){break h}D=q[e+452>>2];if(!D){break h}d=q[e+440>>2];v=d&8191;C=(d>>>13&8191)-v|0;A=x(u[e+472>>2]*x(C|0));i:{if(x(y(A))>2];j:{N=u[d>>2];F=u[d+8>>2];if(N==F){break j}O=u[d+20>>2];if(A==O){break j}u[e+64>>2]=x(u[d+4>>2]-O)*x(s[e+446>>1]);u[e+68>>2]=x(F-N)*x(s[e+444>>1]);break h}F=u[d+4>>2];u[e+64>>2]=x(u[d+16>>2]-N)*x(s[e+444>>1]);u[e+68>>2]=x(A-F)*x(s[e+446>>1])}Xba(a,e,i+16|0,i+12|0);d=q[l>>2];if((d|0)==q[L>>2]){break c}q[l>>2]=d- -64;u[d>>2]=u[i+16>>2];u[d+4>>2]=u[i+20>>2];u[d+8>>2]=u[i+24>>2];u[d+12>>2]=u[i+28>>2];u[d+16>>2]=u[i+32>>2];u[d+20>>2]=u[i+36>>2];u[d+24>>2]=u[i+40>>2];u[d+28>>2]=u[i+44>>2];u[d+32>>2]=u[i+48>>2];u[d+36>>2]=u[i+52>>2];u[d+40>>2]=u[i+56>>2];u[d+44>>2]=u[i+60>>2];u[d+48>>2]=u[i+64>>2];u[d+52>>2]=u[i+68>>2];u[d+56>>2]=u[i+72>>2];u[d+60>>2]=u[i+76>>2];d=q[k>>2];if((d|0)==q[I>>2]){break c}A=u[i+12>>2];q[k>>2]=d+4;u[d>>2]=A;d=s[e+570>>1];k:{if((d|0)!=65535){e=q[j>>2];v=(q[B>>2]-e|0)/24|0;if(v>>>0<=d>>>0){break a}d=e+w(d,24)|0;if((z|0)==s[d+20>>1]){if(q[d+8>>2]==q[m>>2]&q[d+12>>2]==q[m+4>>2]){d=s[d+16>>1];m=0;l:{if((d|0)==65535){break l}if(d>>>0>=v>>>0){break a}m=(e+w(d,24)|0)+4|0}d=q[g>>2];if((d|0)==q[h>>2]){break c}q[g>>2]=d+4;q[d>>2]=m;break k}e=q[g>>2];if((e|0)==q[h>>2]){break c}q[g>>2]=e+4;q[e>>2]=d;break k}e=q[g>>2];if((e|0)==q[h>>2]){break c}q[g>>2]=e+4;q[e>>2]=d+4;break k}d=q[g>>2];if((d|0)==q[h>>2]){break c}q[g>>2]=d+4;q[d>>2]=0}f=f+1|0;if((E|0)!=(f|0)){continue}break}}o[a+358|0]=r[a+358|0]&254;d=a;a=q[n>>2];ji[q[b>>2]](d,a,q[M>>2],q[K>>2],q[H>>2],q[t>>2]-a>>4,c);fi=i+80|0;return}J(187176,186599,461,186335);G()}J(186744,186599,501,186768);G()}J(187316,186599,474,187335);G()}J(186773,186599,447,186784);G()}function Zoa(a){var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0,p=0,s=0,v=0,z=0,B=0;d=fi-96|0;fi=d;o[a+148|0]=1;q[a+140>>2]=0;q[a+144>>2]=0;g=q[a+456>>2];m=q[a+460>>2];h=q[a+464>>2];b=Uj();i=ii;h=1e6/(h>>>0)|0;k=x(x(1)/x(t[a+464>>2]));e=k;a:{if(!r[a+429|0]){break a}f=q[a+444>>2];c=q[a+440>>2];e=k;if((f|0)==(i|0)&c>>>0>=b>>>0|i>>>0>>0){break a}e=x(k*x(25));l=x((+(b-c>>>0)+ +(i-((b>>>0>>0)+f|0)>>>0)*4294967296)*1e-6);e=ex(.5)?r[a+433|0]?e:k:e:e;q[a+440>>2]=b;q[a+444>>2]=i;b:{if(!r[a+148|0]){break b}c=ji[q[74882]](q[a+216>>2],131075)|0;b=r[a+430|0];c:{if(c){d:{if(b){break d}o[a+430|0]=1;if(r[a+433|0]){break d}b=q[239986];if(!(!b|!q[b+12>>2])){o[b+33950|0]=1}}if(r[a+433|0]){break c}ZH(q[a+404>>2]);gn(1e5);j=a;c=Uj();f=c;h=c;e=x(k*x(1e6));e:{if(e=x(0)){g=x(y(e))>=x(1)?e>x(0)?~~x(A(x(C(x(e*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(e-x(~~e>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;b=~~e>>>0;break e}g=0;b=0}i=h-b|0;h=ii;b=h-((b>>>0>f>>>0)+g|0)|0;g=(b|0)==(h|0)&c>>>0>>0|b>>>0>h>>>0;q[j+440>>2]=g?0:i;q[a+444>>2]=g?0:b;break b}if(!b){break c}o[a+430|0]=0;b=q[239986];if(!(!b|!q[b+12>>2])){o[b+33950|0]=0}}i=L5();f:{if(o[289496]&1){break f}if(!ui(289496)){break f}if(r[852367]){b=Ri(2042)}else{b=-1}q[72373]=b;ti(289496)}g:{if(o[289504]&1){break g}if(!ui(289504)){break g}if(r[852367]){b=Yi(3794,5)}else{b=0}q[72375]=b;ti(289504)}b=q[72373];h:{if((b|0)!=-1){Qi(d+80|0,b,3794,q[72375]);break h}q[d+80>>2]=0}i:{if(o[289512]&1){break i}if(!ui(289512)){break i}if(r[852367]){b=Ri(2042)}else{b=-1}q[72377]=b;ti(289512)}j:{if(o[289520]&1){break j}if(!ui(289520)){break j}if(r[852367]){b=Yi(3800,3)}else{b=0}q[72379]=b;ti(289520)}b=q[72377];k:{if((b|0)!=-1){Qi(d- -64|0,b,3800,q[72379]);break k}q[d+64>>2]=0}j7();b=q[a+280>>2];Kp(q[b+5168>>2],q[b+5172>>2],122,b);ZH(q[a+404>>2]);l:{m:{if(r[a+433|0]){break m}if(!(ji[q[74882]](q[a+216>>2],131075)|0)){break m}sG(i);b=0;break l}c=q[a+264>>2];n:{if(!c){b=q[a+268>>2];if(b){Zx(b)}b=q[a+272>>2];if(b){Zx(b)}c=q[a+276>>2];if(!c){break n}}Zx(c)}ZE();o:{p:{if(r[a+431|0]){_H(q[a+404>>2]+2560|0,d+16|0);c=d+16|0;b=0;q:{if(!c){break q}b=q[c+32>>2]>>>1&1}if(b){break p}}if(ji[q[74882]](q[a+216>>2],131073)|0){break o}}o[a+148|0]=0;b=0;break l}l7(q[a+412>>2],e);q[a+164>>2]=q[a+160>>2];r7(q[a+412>>2],a);b=q[a+160>>2];Cw(b,(q[a+164>>2]-b|0)/960|0,960,13);b=q[a+160>>2];c=q[a+164>>2]-b|0;if(c){rK(q[a+156>>2],b,(c|0)/960|0)}u[d+8>>2]=e;WJ(q[a+156>>2],d+8|0);r:{if(ji[q[74882]](q[a+216>>2],131075)|0){break r}b=d+16|0;q[b>>2]=0;q[b+4>>2]=0;c=b;q[b>>2]=q[a+4>>2];j=b;b=q[a+264>>2];s:{if(b){b=b?q[b+120>>2]:0;break s}f=q[a+268>>2];b=0;t:{if(!f){break t}b=q[f+120>>2]}}q[j+4>>2]=b;Noa(c);d5(q[a+220>>2]);aK(q[a+156>>2]);b=q[a+420>>2];if(b){y5(q[b+24>>2])}Oy(q[a+220>>2],2,16777215);ji[q[74891]](q[a+216>>2]);b=q[a+420>>2];if(b){e4(q[b+24>>2],e);break r}b=q[a+216>>2];c=ji[q[74886]](b)|0;p=b,s=0,v=0,z=c,B=ji[q[74887]](q[a+216>>2])|0,n=q[74938],ji[n](p|0,s|0,v|0,z|0,B|0);b=q[a+476>>2];ji[q[74894]](q[a+216>>2],7,b&255,b>>>8&255,b>>>16&255,b>>>24|0,x(1),0);wu(q[a+220>>2],0,0)}hK(q[a+156>>2]);gK(q[a+152>>2]);E5(q[a+220>>2]);Kp(q[a+288>>2],q[a+292>>2],14,a);b=1}if(q[d+64>>2]){Pi(d- -64|0)}if(b){u:{if(o[289528]&1){break u}if(!ui(289528)){break u}if(r[852367]){b=Ek(3804)}else{b=-1}q[72381]=b;ti(289528)}b=q[72381];if((b|0)!=-1){Fk(b,q[79154])}v:{if(o[289536]&1){break v}if(!ui(289536)){break v}if(r[852367]){b=Ek(3813)}else{b=-1}q[72383]=b;ti(289536)}b=q[72383];if((b|0)!=-1){c=q[a+264>>2];w:{if(c){c=ly(c?q[c+120>>2]:0);break w}f=q[a+268>>2];c=0;x:{if(!f){break x}c=q[f+120>>2]}j=ly(c);f=q[a+276>>2];c=0;y:{if(!f){break y}c=q[f+120>>2]}c=j+ly(c)|0}Fk(b,c)}if(r[270692]){nn(q[51431]);nn(q[51432])}if(!(ji[q[74882]](q[a+216>>2],131075)|0)){b=d+16|0;q[b>>2]=0;q[b+4>>2]=0;c=b;q[b>>2]=q[a+4>>2];j=b;b=q[a+264>>2];z:{if(b){b=b?q[b+120>>2]:0;break z}f=q[a+268>>2];b=0;A:{if(!f){break A}b=q[f+120>>2]}}q[j+4>>2]=b;Ooa(c)}B:{if(!r[a+428|0]){break B}b=Uj();f=ii;if(r[a+429|0]){break B}c=b-g|0;g=f-((b>>>0>>0)+m|0)|0;b=h;if(!g&b>>>0<=c>>>0|g){break B}c=(b-c|0)-q[a+448>>2]|0;if((c|0)<1001){break B}C:{if(o[289544]&1){break C}if(!ui(289544)){break C}if(r[852367]){b=Ri(2042)}else{b=-1}q[72385]=b;ti(289544)}D:{if(o[289552]&1){break D}if(!ui(289552)){break D}if(r[852367]){b=Yi(3826,13)}else{b=0}q[72387]=b;ti(289552)}b=q[72385];E:{if((b|0)!=-1){Qi(d+16|0,b,3826,q[72387]);break E}q[d+16>>2]=0}while(1){b=Uj();gn(100);c=(b-Uj()|0)+c|0;if((c|0)>500){continue}break}if(!q[d+16>>2]){break B}Pi(d+16|0)}b=Uj();h=ii;ji[q[74892]](q[a+216>>2]);g=Uj();q[a+456>>2]=g;c=ii;q[a+460>>2]=c;q[a+448>>2]=g-b;q[a+452>>2]=c-((b>>>0>g>>>0)+h|0);if(q[a+492>>2]){if(!(t[a+500>>2]%t[a+504>>2]|0)){b=ji[q[74884]](q[a+216>>2])|0;g=ji[q[74885]](q[a+216>>2])|0;ji[q[74975]](q[a+216>>2],q[a+496>>2],w(b,g)<<2);q[d>>2]=-3;mi(4,1031,3840,d)}q[a+500>>2]=q[a+500>>2]+1}if(q[d+80>>2]){Pi(d+80|0)}sG(i);q[a+424>>2]=q[a+424>>2]+1;break b}if(!q[d+80>>2]){break b}Pi(d+80|0)}fi=d+96|0}function ysa(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0;f=fi-416|0;fi=f;a:{if((a|0)==8){q[e>>2]=q[c>>2];q[e+4>>2]=q[c>>2];q[e+8>>2]=q[c>>2];q[e+12>>2]=q[c>>2];q[e+16>>2]=q[c>>2];q[e+20>>2]=q[c>>2];q[e+24>>2]=q[c>>2];q[e+28>>2]=q[c>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=q[c>>2];q[e+40>>2]=q[c>>2];q[e+44>>2]=q[c>>2];q[e+48>>2]=q[c>>2];q[e+52>>2]=q[c>>2];q[e+56>>2]=q[c>>2];q[e+60>>2]=q[c>>2];break a}v=r[a+88160|0];x=v>>>0>1?v:1;s=r[a+88064|0];g=1<>>0>4?4:c;b:{if((k|0)==2){h=h<<9;m=d+21|0;while(1){t=h+302304|0;n=j<<2;c=r[t+(r[m+(n|3)|0]<<1)|0];l=r[t+(r[m+(n|1)|0]<<1)|0];i=r[t+(r[m+n|0]<<1)|0];p=(f+384|0)+(j<<3)|0;o[p+3|0]=r[t+(r[m+(n|2)|0]<<1)|0];o[p+2|0]=i;o[p+1|0]=i;o[p|0]=i;i=p|4;o[i+3|0]=c;o[i+2|0]=l;o[i+1|0]=l;o[i|0]=l;j=j+1|0;if((x|0)!=(j|0)){continue}break}break b}u=k>>>0>3;m=h<<9;y=d+21|0;while(1){if(k){p=w(j,k);n=(f+384|0)+(j<<3)|0;t=n|4;c=0;while(1){i=m+302304|0;l=c+p<<1;h=r[i+(r[l+y|0]<<1)|0];o[Cj(n,c)|0]=h;h=r[i+(r[y+(l|1)|0]<<1)|0];o[Cj(t,c)|0]=h;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(!u){i=(f+384|0)+(j<<3)|0;h=i|4;c=k;while(1){o[Cj(i,c)|0]=255;o[Cj(h,c)|0]=255;c=c+1|0;if((c|0)!=4){continue}break}}j=j+1|0;if((x|0)!=(j|0)){continue}break}}p=q[(s<<2)+254576>>2];t=v>>>0>1?v:1;n=g>>>0>1?g:1;j=0;while(1){u=(f+384|0)+(j<<3)|0;m=u|4;c=0;s=0;c:{if((k|0)==2){while(1){h=c<<2;l=h+((j<<7)+f|0)|0;h=h+p|0;i=UA(r[Cj(u,0)|0],r[Cj(m,0)|0],q[h>>2])&255;o[l+3|0]=UA(r[Cj(u,3)|0],r[Cj(m,3)|0],q[h>>2]);o[l+2|0]=i;o[l+1|0]=i;o[l|0]=i;c=c+1|0;if((n|0)!=(c|0)){continue}break c}}while(1){d:{e:{if(!k){c=0;break e}c=s<<2;l=c+((j<<7)+f|0)|0;i=c+p|0;c=0;while(1){h=UA(r[Cj(u,c)|0],r[Cj(m,c)|0],q[i>>2]);o[Cj(l,c)|0]=h;c=c+1|0;if((k|0)!=(c|0)){continue}break}c=k;if(c>>>0>3){break d}}h=((j<<7)+f|0)+(s<<2)|0;while(1){o[Cj(h,c)|0]=255;c=c+1|0;if((c|0)!=4){continue}break}}s=s+1|0;if((n|0)!=(s|0)){continue}break}}j=j+1|0;if((t|0)!=(j|0)){continue}break}c=91744;f:{if(!(66204>>>a&1)){break f}g:{switch(a-3|0){case 0:c=(b<<4)+87216|0;break f;case 4:c=(b<<4)+87392|0;break f;default:break g}}c=(b<<4)+86736|0}b=457827>>>a&1;h:{i:{j:{k:{l:{if(382655>>>a&1){a=r[d+39|0];if(b){if(a>>>0>=g>>>0){break l}q[e>>2]=q[(a<<2)+f>>2];a=r[d+40|0];if(a>>>0>=g>>>0){break l}q[e+4>>2]=q[(a<<2)+f>>2];a=r[d+41|0];if(a>>>0>=g>>>0){break l}q[e+8>>2]=q[(a<<2)+f>>2];a=r[d+42|0];if(a>>>0>=g>>>0){break l}q[e+12>>2]=q[(a<<2)+f>>2];a=r[d+43|0];if(a>>>0>=g>>>0){break l}q[e+16>>2]=q[(a<<2)+f>>2];a=r[d+44|0];if(a>>>0>=g>>>0){break l}q[e+20>>2]=q[(a<<2)+f>>2];a=r[d+45|0];if(a>>>0>=g>>>0){break l}q[e+24>>2]=q[(a<<2)+f>>2];a=r[d+46|0];if(a>>>0>=g>>>0){break l}q[e+28>>2]=q[(a<<2)+f>>2];a=r[d+47|0];if(a>>>0>=g>>>0){break l}q[e+32>>2]=q[(a<<2)+f>>2];a=r[d+48|0];if(a>>>0>=g>>>0){break l}q[e+36>>2]=q[(a<<2)+f>>2];a=r[d+49|0];if(a>>>0>=g>>>0){break l}q[e+40>>2]=q[(a<<2)+f>>2];a=r[d+50|0];if(a>>>0>=g>>>0){break l}q[e+44>>2]=q[(a<<2)+f>>2];a=r[d+51|0];if(a>>>0>=g>>>0){break l}q[e+48>>2]=q[(a<<2)+f>>2];a=r[d+52|0];if(a>>>0>=g>>>0){break l}q[e+52>>2]=q[(a<<2)+f>>2];a=r[d+53|0];if(a>>>0>=g>>>0){break l}q[e+56>>2]=q[(a<<2)+f>>2];a=r[d+54|0];if(a>>>0>=g>>>0){break l}c=(a<<2)+f|0;break h}if(a>>>0>=g>>>0){break k}q[e>>2]=q[((r[c|0]<<7)+f|0)+(a<<2)>>2];a=r[d+40|0];if(a>>>0>=g>>>0){break k}q[e+4>>2]=q[((r[c+1|0]<<7)+f|0)+(a<<2)>>2];a=r[d+41|0];if(a>>>0>=g>>>0){break k}q[e+8>>2]=q[((r[c+2|0]<<7)+f|0)+(a<<2)>>2];a=r[d+42|0];if(a>>>0>=g>>>0){break k}q[e+12>>2]=q[((r[c+3|0]<<7)+f|0)+(a<<2)>>2];a=r[d+43|0];if(a>>>0>=g>>>0){break k}q[e+16>>2]=q[((r[c+4|0]<<7)+f|0)+(a<<2)>>2];a=r[d+44|0];if(a>>>0>=g>>>0){break k}q[e+20>>2]=q[((r[c+5|0]<<7)+f|0)+(a<<2)>>2];a=r[d+45|0];if(a>>>0>=g>>>0){break k}q[e+24>>2]=q[((r[c+6|0]<<7)+f|0)+(a<<2)>>2];a=r[d+46|0];if(a>>>0>=g>>>0){break k}q[e+28>>2]=q[((r[c+7|0]<<7)+f|0)+(a<<2)>>2];a=r[d+47|0];if(a>>>0>=g>>>0){break k}q[e+32>>2]=q[((r[c+8|0]<<7)+f|0)+(a<<2)>>2];a=r[d+48|0];if(a>>>0>=g>>>0){break k}q[e+36>>2]=q[((r[c+9|0]<<7)+f|0)+(a<<2)>>2];a=r[d+49|0];if(a>>>0>=g>>>0){break k}q[e+40>>2]=q[((r[c+10|0]<<7)+f|0)+(a<<2)>>2];a=r[d+50|0];if(a>>>0>=g>>>0){break k}q[e+44>>2]=q[((r[c+11|0]<<7)+f|0)+(a<<2)>>2];a=r[d+51|0];if(a>>>0>=g>>>0){break k}q[e+48>>2]=q[((r[c+12|0]<<7)+f|0)+(a<<2)>>2];a=r[d+52|0];if(a>>>0>=g>>>0){break k}q[e+52>>2]=q[((r[c+13|0]<<7)+f|0)+(a<<2)>>2];a=r[d+53|0];if(a>>>0>=g>>>0){break k}q[e+56>>2]=q[((r[c+14|0]<<7)+f|0)+(a<<2)>>2];a=r[d+54|0];if(a>>>0>=g>>>0){break k}c=((r[c+15|0]<<7)+f|0)+(a<<2)|0;break h}if(!b){break j}k=d+39|0;c=0;while(1){a=c<<1;b=r[a+k|0];if(b>>>0>=g>>>0){break i}a=r[k+(a|1)|0];if(a>>>0>=g>>>0){break i}i=(b<<2)+f|0;h=(a<<2)+f|0;a=r[Cj(q[d+16>>2]?i:h,0)|0];b=(c<<2)+e|0;o[Cj(b,0)|0]=a;a=r[Cj(q[d+16>>2]==1?h:i,1)|0];o[Cj(b,1)|0]=a;a=r[Cj(q[d+16>>2]==2?h:i,2)|0];o[Cj(b,2)|0]=a;a=r[Cj(q[d+16>>2]==3?h:i,3)|0];o[Cj(b,3)|0]=a;c=c+1|0;if((c|0)!=16){continue}break}break a}J(91978,85651,12865,91965);G()}J(91978,85651,12873,91965);G()}J(92012,85651,12880,91965);G()}J(92031,85651,12889,91965);G()}q[e+60>>2]=q[c>>2]}fi=f+416|0}function yoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=0,k=0,l=x(0),m=0,n=0,t=0,y=0,z=0,B=0,C=0;h=fi-192|0;fi=h;a:{if(o[289736]&1){break a}if(!ui(289736)){break a}if(r[852367]){k=Ri(5822)}else{k=-1}q[72433]=k;ti(289736)}b:{if(o[289744]&1){break b}if(!ui(289744)){break b}if(r[852367]){k=Yi(5832,6)}else{k=0}q[72435]=k;ti(289744)}f=q[72433];c:{if((f|0)!=-1){Qi(h+176|0,f,5832,q[72435]);break c}q[h+176>>2]=0}f=q[a+8>>2];o[f+108|0]=r[f+108|0]|1;C=q[f+4>>2]-q[f>>2]|0;k=(C|0)/104|0;d:{if(o[289752]&1){break d}if(!ui(289752)){break d}if(r[852367]){d=Ek(5839)}else{d=-1}q[72437]=d;ti(289752)}d=q[72437];if((d|0)!=-1){Fk(d,k)}e:{f:{g:{h:{i:{j:{if(!C){break j}m=k>>>0>1?k:1;k:{while(1){d=q[f>>2];if((q[f+4>>2]-d|0)/104>>>0>c>>>0){d=d+w(c,104)|0;e=r[d+96|0];l:{if(!(e&1)|!(e&16)|u[d+60>>2]>u[q[a+4>>2]>>2]){break l}o[d+96|0]=e&239;m:{if(e&4){break m}e=q[d+48>>2];if(e){u[d+52>>2]=u[e>>2];break m}e=ap(h+96|0);i=q[d+16>>2];j=q[d+20>>2];n=q[d+8>>2];z=q[d+12>>2];B=q[d>>2];y=q[h+92>>2];q[h+56>>2]=q[h+88>>2];q[h+60>>2]=y;q[h+80>>2]=0;y=q[h+84>>2];q[h+48>>2]=q[h+80>>2];q[h+52>>2]=y;Xq(B,n,z,i,j,h+48|0,e);u[d+52>>2]=v[h+136>>3]}e=q[f+48>>2];if(!e){break l}j=q[d>>2];i=q[q[f+44>>2]+((j>>>0)%(e>>>0)<<2)>>2];if((i|0)==-1){break l}n=q[f+52>>2];while(1){e=n+w(i,12)|0;if((j|0)!=q[e>>2]){i=q[e+8>>2];if((i|0)!=-1){continue}break l}break}i=s[e+4>>1];if((i|0)==65535){break l}while(1){i=i&65535;e=q[f+16>>2];if(i>>>0>=q[f+20>>2]-e>>1>>>0){break e}i=s[e+(i<<1)>>1];j=q[f>>2];if(i>>>0>=(q[f+4>>2]-j|0)/104>>>0){break e}n:{if((c|0)==(i|0)){break n}e=j+w(i,104)|0;n=r[e+96|0];if(n&16|(q[e+8>>2]!=q[d+8>>2]|q[e+12>>2]!=q[d+12>>2])|(q[e+16>>2]!=q[d+16>>2]|q[e+20>>2]!=q[d+20>>2]|u[e+60>>2]<=x(0)^1)){break n}o[e+96|0]=n&252}i=s[(j+w(i,104)|0)+94>>1];if((i|0)!=65535){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break k}break}break e}if(!C){break j}n=k>>>0>1?k:1;i=0;o:{while(1){c=q[f>>2];if((q[f+4>>2]-c|0)/104>>>0>i>>>0){c=c+w(i,104)|0;e=r[c+96|0];p:{if(!(e&1)){break p}g=u[c+60>>2];l=u[q[a+4>>2]>>2];if(!(g>l^1)){u[c+60>>2]=g-l;break p}j=0;q[c+60>>2]=0;m=q[c+24>>2];q:{if(!m){break q}g=x(x(l-g)+u[c+64>>2]);u[c+64>>2]=g;d=c- -64|0;r:{switch(m-1|0){case 0:case 1:case 2:l=g;g=u[c+68>>2];if(l>=g^1){break q}u[d>>2]=g;j=1;break q;case 3:case 4:l=u[c+68>>2];if(l>x(0)^1|g>=l^1){break q}while(1){g=x(g-l);if(!(l<=g^1)){continue}break}u[d>>2]=g;break q;case 5:break r;default:break q}}l=u[c+68>>2];if(l>x(0)^1|g>=l^1){break q}while(1){e=e^8;g=x(g-l);if(!(l<=g^1)){continue}break}u[d>>2]=g;o[c+96|0]=e}s:{if(e&4){break s}g=x(1);l=u[c+64>>2];if(!(l>2]^1)){g=x(l*u[c+72>>2]);g=gx(1)^1){break t}g=x(x(2)-g)}q[h+40>>2]=q[c+44>>2];d=q[c+40>>2];q[h+32>>2]=q[c+36>>2];q[h+36>>2]=d;d=q[c+32>>2];q[h+24>>2]=q[c+28>>2];q[h+28>>2]=d;g=JK(h+24|0,g);l=u[c+52>>2];g=x(l+x(g*x(u[c+56>>2]-l)));d=q[c+48>>2];if(d){u[d>>2]=g;break s}e=q[c+16>>2];m=q[c+20>>2];z=q[c+8>>2];B=q[c+12>>2];y=q[c>>2];q[h+64>>2]=0;d=h+96|0;q[d>>2]=0;v[d+8>>3]=g;t=q[h+76>>2];q[h+16>>2]=q[h+72>>2];q[h+20>>2]=t;t=q[h+68>>2];q[h+8>>2]=q[h+64>>2];q[h+12>>2]=t;YJ(y,z,B,e,m,h+8|0,d)}if(!j){break p}o[c+96|0]=r[c+96|0]&252|2}i=i+1|0;if((n|0)!=(i|0)){continue}break o}break}break e}if(!C){break j}n=f+44|0;c=q[f>>2];i=q[f+4>>2];e=0;while(1){if((i-c|0)/104>>>0<=e>>>0){break e}m=w(e,104);j=m+c|0;d=r[j+96|0];v:{if(!(d&1)){a=c+m|0;c=q[a+76>>2];w:{if(!c){d=k;break w}ji[c|0](q[j>>2],q[a+8>>2],q[a+12>>2],q[a+16>>2],q[a+20>>2],(d&2)>>>1|0,q[a+80>>2],q[a+84>>2]);a=f;c=q[f>>2];d=(q[f+4>>2]-c|0)/104|0;if((k|0)!=(d|0)){if(d>>>0<=e>>>0){break e}j=c+m|0}bK(a,j);a=q[j+36>>2];if(!a){break w}ji[a|0](j+28|0)}i=q[j>>2];a=q[f+48>>2];x:{y:{if(!a){break y}c=q[q[n>>2]+((i>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break y}k=q[f+52>>2];while(1){c=w(c,12);a=c+k|0;if(q[a>>2]==(i|0)){break x}c=q[(c+k|0)+8>>2];if((c|0)!=-1){continue}break}}a=0}k=a?a+4|0:0;a=s[k>>1];z:{if((a|0)!=65535){z=s[j+92>>1];A:{if((z|0)!=(a|0)){B=q[f+16>>2];y=q[f+20>>2]-B>>1;c=a;while(1){c=c&65535;if(c>>>0>=y>>>0){break e}c=s[B+(c<<1)>>1];t=q[f>>2];if(c>>>0>=(q[f+4>>2]-t|0)/104>>>0){break e}t=t+w(c,104)|0;c=s[t+94>>1];if((c|0)==65535){break A}if((c|0)!=(z|0)){continue}break}a=t+94|0}else{a=k}p[a>>1]=s[j+94>>1];c=q[f+32>>2];if(!c){break i}a=s[f+38>>1];if(!a|a>>>0>s[f+36>>1]){break h}j=s[j+92>>1];a=a-1|0;p[f+38>>1]=a;p[c+((a&65535)<<1)>>1]=j;a=s[k>>1]}if((a|0)!=65535){break z}}Iu(n,i)}a=q[f+4>>2];c=q[f>>2];if((a-c|0)/104>>>0<=e>>>0){break g}si(c+m|0,a-104|0,97);i=q[f+4>>2]-104|0;q[f+4>>2]=i;c=q[f>>2];if(i>>>0>>0){break f}k=d-1|0;if(e>>>0>=k>>>0){break v}d=s[(c+m|0)+92>>1];a=q[f+16>>2];if(d>>>0>=q[f+20>>2]-a>>1>>>0){break e}p[a+(d<<1)>>1]=e;break v}e=e+1|0}if(e>>>0>>0){continue}break}}o[f+108|0]=r[f+108|0]&254;o[b|0]=(C|0)!=0;if(q[h+176>>2]){Pi(h+176|0)}fi=h+192|0;return 0}J(6142,6149,140,6740);G()}J(6745,6149,141,6740);G()}J(6865,6437,481,6880);G()}J(6890,6437,484,6880);G()}J(6718,6437,447,6729);G()}function Ij(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,p=0,s=0,t=0,u=0,v=0;d=fi-1312|0;fi=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(b){if(!c){break i}q[c>>2]=0;g=r[b|0];if((g|0)!=47){if(!g){mi(4,24355,24364,0);e=-3;break c}q[d>>2]=b;mi(4,24355,24384,d);e=-3;break c}u=q[a+5140>>2];tj(u);e=q[a+5144>>2];j:{if(e){f=q[a+5148>>2];g=q[a+5152>>2];break j}f=q[a+5148>>2];q[a+5152>>2]=f;g=f}l=a+5148|0;q[a+5144>>2]=e+1;j=a+5152|0;k:{e=g-f|0;if(!e){break k}k=e>>2;h=f-g|0;h=((e|0)<(h|0)?h:e)>>>2|0;e=(e|0)>-1?e:-1;e=w(h,(e|0)<1?e:1);h=e>>>0>1?e:1;e=0;while(1){if(Ej(q[(e<<2)+f>>2],b)){e=e+1|0;if((h|0)!=(e|0)){continue}break k}break}e=0;mi(4,24355,25737,0);mi(4,24355,25770,0);while(1){c=q[l>>2];if(q[j>>2]-c>>2>>>0<=e>>>0){break h}q[d+132>>2]=q[c+(e<<2)>>2];q[d+128>>2]=e;mi(4,24355,25787,d+128|0);e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+116>>2]=b;q[d+112>>2]=k;mi(4,24355,25787,d+112|0);e=-16;break d}m=a+5156|0;e=q[m>>2];if((g|0)==(e|0)){if(o[a+5160|0]&1){break a}vi((g-q[l>>2]>>2)+16|0,4,l,m,j);e=q[m>>2];g=q[j>>2]}if((e|0)==(g|0)){break g}q[j>>2]=g+4;q[g>>2]=b;l:{if(o[291924]&1){break l}if(!ui(291924)){break l}if(r[852367]){g=Ri(25947)}else{g=-1}q[72980]=g;ti(291924)}m:{if(o[291932]&1){break m}if(!ui(291932)){break m}if(r[852367]){g=Yi(25724,3)}else{g=0}q[72982]=g;ti(291932)}g=q[72980];n:{if((g|0)!=-1){Qi(d+1296|0,g,25724,q[72982]);break n}q[d+1296>>2]=0}g=0;q[c>>2]=0;q[d+96>>2]=24354;q[d+100>>2]=b;cj(d+272|0,1024,24348,d+96|0);f=d+272|0;h=f;o:{while(1){p:{e=r[h|0];q:{r:{if((e|0)!=47){if(e){break r}o[f|0]=0;k=Nl(d+272|0,Fi(d+272|0));n=ii;g=q[a>>2];e=q[g+4>>2];s:{if(!e){break s}e=q[q[g>>2]+(lwa(k,n,e)<<2)>>2];if((e|0)==-1){break s}f=q[g+8>>2];while(1){h=f+w(e,48)|0;if(q[h>>2]==(k|0)&(n|0)==q[h+4>>2]){break p}e=q[h+40>>2];if((e|0)!=-1){continue}break}}f=(q[g+16>>2]-q[g+8>>2]|0)/48|0;g=q[g+24>>2];if((f|0)!=(g|0)){break o}q[d+16>>2]=g;q[d+20>>2]=q[60020];mi(4,24355,25794,d+16|0);e=-11;break e}if((g&255)==47){break q}}o[f|0]=e;f=f+1|0}h=h+1|0;g=e;continue}break}t:{b=q[a+4>>2];h=q[b+4>>2];u:{if(!h){break u}g=q[(f+w(e,48)|0)+16>>2];h=q[q[b>>2]+((g>>>0)%(h>>>0)<<2)>>2];if((h|0)==-1){break u}b=q[b+8>>2];while(1){h=b+w(h,24)|0;if((g|0)==q[h>>2]){break t}h=q[h+16>>2];if((h|0)!=-1){continue}break}}J(27321,24439,1058,27315);G()}b=f+w(e,48)|0;q[b+36>>2]=q[b+36>>2]+1;q[c>>2]=g;e=0;break e}v:{g=Rm(d+272|0,46);if(!g){break v}h=0;if((kj(d+208|0,g,64)|0)<0){break v}g=d+208|1;e=q[a+5136>>2];if(!e){break f}while(1){if(Ej(g,q[(w(h,40)+a|0)+24>>2])){h=h+1|0;if((e|0)!=(h|0)){continue}break f}break}g=a+7376|0;p=a+7384|0;e=q[a+7376>>2];if((q[p>>2]-e|0)!=1048576){if(o[a+7388|0]&1){break a}vi(1048576,1,g,p,a+7380|0);e=q[a+7376>>2]}t=a+7380|0;q[t>>2]=e;w:{x:{y:{z:{A:{e=pu(a,d+272|0,b,d+204|0,g);switch(e+3|0){case 0:break z;case 3:break A;default:break e}}v=q[a+7376>>2];q[d+184>>2]=0;q[d+188>>2]=0;q[d+176>>2]=0;q[d+180>>2]=0;q[d+196>>2]=1;q[d+168>>2]=k;q[d+172>>2]=n;q[d+192>>2]=(w(h,40)+a|0)+16;e=0;q[d+164>>2]=0;f=w(h,40)+a|0;s=q[f+32>>2];if(s){break y}i=q[d+204>>2];break x}q[d+80>>2]=b;mi(3,24355,27406,d+80|0);e=-3;break e}q[d+136>>2]=a;e=q[f+28>>2];q[d+148>>2]=v;q[d+140>>2]=e;i=q[d+204>>2];q[d+152>>2]=i;q[d+156>>2]=0;q[d+144>>2]=b;q[d+160>>2]=d+164;e=ji[s|0](d+136|0)|0;if(e){break w}e=q[d+164>>2]}q[d+184>>2]=0;q[d+188>>2]=i;q[d+136>>2]=a;f=w(h,40)+a|0;s=q[f+28>>2];q[d+156>>2]=e;q[d+152>>2]=i;q[d+148>>2]=v;q[d+140>>2]=s;q[d+144>>2]=b;q[d+160>>2]=d+168;e=ji[q[f+36>>2]](d+136|0)|0;if(e){break w}e=0;i=q[f+40>>2];if(!i){break w}q[d+136>>2]=a;q[d+140>>2]=q[f+28>>2];q[d+144>>2]=q[d+164>>2];q[d+148>>2]=d+168;e=ji[i|0](d+136|0)|0;if((e|0)!=-17){break w}while(1){gn(1e3);e=ji[q[f+40>>2]](d+136|0)|0;if((e|0)==-17){continue}break}}f=q[p>>2];i=q[g>>2];q[t>>2]=i;if((f-i|0)!=1048576){if(o[a+7388|0]&1){break a}vi(1048576,1,g,p,t)}f=26427;B:{C:{switch(e+21|0){case 21:e=XF(a,b,k,n,d+168|0);if(!e){q[c>>2]=q[d+176>>2];e=0;break e}q[d+136>>2]=a;b=w(h,40)+a|0;q[d+140>>2]=q[b+28>>2];q[d+144>>2]=d+168;ji[q[b+44>>2]](d+136|0)|0;break e;case 19:f=26440;break B;case 18:f=26450;break B;case 17:f=26469;break B;case 16:f=26492;break B;case 15:f=26511;break B;case 14:f=26517;break B;case 13:f=26539;break B;case 12:f=26553;break B;case 11:f=26562;break B;case 10:f=26573;break B;case 9:f=26590;break B;case 8:f=26613;break B;case 7:f=26626;break B;case 6:f=26641;break B;case 5:f=26655;break B;case 4:f=26675;break B;case 2:f=26683;break B;case 1:f=26700;break B;case 0:f=26719;break B;case 20:break B;default:break C}}f=26733}q[d+68>>2]=f;q[d+64>>2]=d+272;mi(3,24355,27429,d- -64|0);break e}q[d+32>>2]=b;mi(3,24355,27463,d+32|0);e=-4;break e}J(25719,24439,1189,25724);G()}J(25728,24439,1190,25724);G()}J(27799,26974,447,27810);G()}J(27821,26974,501,27845);G()}q[d+48>>2]=g;mi(4,24355,27380,d+48|0);e=-7}if(q[d+1296>>2]){Pi(d+1296|0)}b=q[l>>2];c=(q[j>>2]-b>>2)-1|0;if(c>>>0>q[m>>2]-b>>2>>>0){break b}q[j>>2]=b+(c<<2)}q[a+5144>>2]=q[a+5144>>2]-1;lj(u)}fi=d+1312|0;return e}J(27605,26974,474,27624);G()}J(27518,26974,461,27593);G()}function YB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{f=q[a+32>>2];c:{if(f){if(f>>>0>=t[a+40>>2]){break b}q[a+32>>2]=f+1;c=r[f|0];break c}c=pj(q[a+20>>2]);if((c|0)==-1){break b}}if(!(c&255)){break a}q[a+116>>2]=31;return 0}q[a+112>>2]=1}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:{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:{f=q[a+32>>2];ma:{na:{oa:{if(f){c=q[a+40>>2];if(f>>>0>=c>>>0){break oa}b=f+1|0;q[a+32>>2]=b;o[a+1391|0]=r[f|0];break ma}c=pj(q[a+20>>2]);if((c|0)!=-1){break na}}q[a+112>>2]=1;c=0}o[a+1391|0]=c;b=q[a+32>>2];if(!b){break la}c=q[a+40>>2]}if(c>>>0<=b>>>0){break ka}d=b+1|0;q[a+32>>2]=d;g=r[b|0];break ia}c=pj(q[a+20>>2]);if((c|0)!=-1){break ja}}q[a+112>>2]=1;c=0}g=c&255;d=q[a+32>>2];if(!d){break ha}c=q[a+40>>2]}if(c>>>0<=d>>>0){break ga}b=d+1|0;q[a+32>>2]=b;g=r[d|0]<<8|g;break ea}c=pj(q[a+20>>2]);if((c|0)!=-1){break fa}}q[a+112>>2]=1;c=0}g=c<<8&65280|g;b=q[a+32>>2];if(!b){break da}c=q[a+40>>2]}if(c>>>0<=b>>>0){break ca}d=b+1|0;q[a+32>>2]=d;g=r[b|0]<<16|g;break aa}c=pj(q[a+20>>2]);if((c|0)!=-1){break ba}}q[a+112>>2]=1;c=0}g=c<<16&16711680|g;d=q[a+32>>2];if(!d){break $}c=q[a+40>>2]}if(c>>>0<=d>>>0){break _}b=d+1|0;q[a+32>>2]=b;g=r[d|0]<<24|g;break Y}c=pj(q[a+20>>2]);if((c|0)!=-1){break Z}}q[a+112>>2]=1;c=0}g=c<<24|g;b=q[a+32>>2];if(!b){break X}c=q[a+40>>2]}if(c>>>0<=b>>>0){break W}d=b+1|0;q[a+32>>2]=d;e=r[b|0];break U}c=pj(q[a+20>>2]);if((c|0)!=-1){break V}}q[a+112>>2]=1;c=0}e=c&255;d=q[a+32>>2];if(!d){break T}c=q[a+40>>2]}if(c>>>0<=d>>>0){break S}b=d+1|0;q[a+32>>2]=b;e=r[d|0]<<8|e;break Q}c=pj(q[a+20>>2]);if((c|0)!=-1){break R}}q[a+112>>2]=1;c=0}e=c<<8&65280|e;b=q[a+32>>2];if(!b){break P}c=q[a+40>>2]}if(c>>>0<=b>>>0){break O}d=b+1|0;q[a+32>>2]=d;e=r[b|0]<<16|e;break M}c=pj(q[a+20>>2]);if((c|0)!=-1){break N}}q[a+112>>2]=1;c=0}e=c<<16&16711680|e;d=q[a+32>>2];if(!d){break L}c=q[a+40>>2]}if(c>>>0<=d>>>0){break K}b=d+1|0;q[a+32>>2]=b;h=r[d|0]<<24|e;break I}c=pj(q[a+20>>2]);if((c|0)!=-1){break J}}q[a+112>>2]=1;c=0}h=c<<24|e;b=q[a+32>>2];if(!b){break H}c=q[a+40>>2]}if(c>>>0<=b>>>0){break G}b=b+1|0;q[a+32>>2]=b;break E}if((pj(q[a+20>>2])|0)!=-1){break F}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break D}c=q[a+40>>2]}if(c>>>0<=b>>>0){break C}b=b+1|0;q[a+32>>2]=b;break A}if((pj(q[a+20>>2])|0)!=-1){break B}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break z}}c=q[a+40>>2];if(b>>>0>=c>>>0){break y}b=b+1|0;q[a+32>>2]=b;break w}if((pj(q[a+20>>2])|0)!=-1){break x}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break v}c=q[a+40>>2]}if(c>>>0<=b>>>0){break u}b=b+1|0;q[a+32>>2]=b;break s}if((pj(q[a+20>>2])|0)!=-1){break t}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break r}c=q[a+40>>2]}if(c>>>0<=b>>>0){break q}d=b+1|0;q[a+32>>2]=d;e=r[b|0];break o}c=pj(q[a+20>>2]);if((c|0)!=-1){break p}}q[a+112>>2]=1;c=0}e=c&255;d=q[a+32>>2];if(!d){break n}c=q[a+40>>2]}if(c>>>0<=d>>>0){break m}b=d+1|0;q[a+32>>2]=b;e=r[d|0]<<8|e;break k}c=pj(q[a+20>>2]);if((c|0)!=-1){break l}}q[a+112>>2]=1;c=0}e=c<<8&65280|e;b=q[a+32>>2];if(!b){break j}c=q[a+40>>2]}if(c>>>0<=b>>>0){break i}d=b+1|0;q[a+32>>2]=d;b=r[b|0]<<16|e;break g}c=pj(q[a+20>>2]);if((c|0)!=-1){break h}}q[a+112>>2]=1;c=0}b=c<<16&16711680|e;d=q[a+32>>2];if(!d){break f}c=q[a+40>>2]}if(c>>>0<=d>>>0){break e}q[a+32>>2]=d+1;c=r[d|0];break d}c=pj(q[a+20>>2]);if((c|0)!=-1){break d}}q[a+112>>2]=1;c=0}q[a+1128>>2]=c<<24|b;pa:{qa:{ra:{d=a;sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{b=q[a+32>>2];Ha:{Ia:{Ja:{if(b){c=q[a+40>>2];if(b>>>0>=c>>>0){break Ja}b=b+1|0;q[a+32>>2]=b;break Ha}if((pj(q[a+20>>2])|0)!=-1){break Ia}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break Ga}c=q[a+40>>2]}if(c>>>0<=b>>>0){break Fa}b=b+1|0;q[a+32>>2]=b;break Da}if((pj(q[a+20>>2])|0)!=-1){break Ea}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break Ca}c=q[a+40>>2]}if(c>>>0<=b>>>0){break Ba}b=b+1|0;q[a+32>>2]=b;break za}if((pj(q[a+20>>2])|0)!=-1){break Aa}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break ya}c=q[a+40>>2]}if(c>>>0<=b>>>0){break xa}b=b+1|0;q[a+32>>2]=b;break va}if((pj(q[a+20>>2])|0)!=-1){break wa}}q[a+112>>2]=1}b=q[a+32>>2];if(!b){break ua}c=q[a+40>>2]}if(c>>>0<=b>>>0){q[a+112>>2]=1;b=0;break ta}d=b+1|0;q[a+32>>2]=d;b=r[b|0];q[a+1132>>2]=b;e=a+1136|0;i=a+1132|0;break sa}b=pj(q[a+20>>2]);if((b|0)==-1){q[a+112>>2]=1;b=0;break ta}b=b&255}q[d+1132>>2]=b;e=a+1136|0;i=a+1132|0;d=q[a+32>>2];if(!d){break ra}c=q[a+40>>2]}f=b+d|0;if(f>>>0>c>>>0){break qa}si(e,d,b);q[a+32>>2]=f;break pa}if((Yk(e,b,1,q[a+20>>2])|0)==1){break pa}}q[a+112>>2]=1;q[a+116>>2]=10;return 0}q[a+1420>>2]=-2;if((g&h)!=-1){b=q[i>>2];while(1){b=b-1|0;if(r[(b+a|0)+1136|0]==255){continue}break}q[a+1424>>2]=g;q[a+1420>>2]=b}if(r[a+1393|0]){h=q[i>>2];b=27;Ka:{if((h|0)<1){break Ka}b=0;c=0;while(1){c=r[(a+b|0)+1136|0]+c|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}b=c+27|0}q[a+72>>2]=g;q[a+68>>2]=0;f=q[a+52>>2];q[a- -64>>2]=f;q[a+56>>2]=f;q[a+60>>2]=f+(b+h|0)}q[a+1396>>2]=0;return 1}function p8(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,v=0;m=fi-16|0;fi=m;u[m+12>>2]=b;Nq(a,2,-2,m+12|0);n=q[a+32>>2];c=q[a+36>>2]-n|0;e=(c|0)/576|0;a:{b:{if(!(!r[270692]|!c)){v=e>>>0>1?e:1;while(1){d=n+w(k,576)|0;c:{if(o[d+572|0]&1){break c}c=q[d+468>>2];g=c;l=q[d+464>>2];if(!(c|l)|q[d+436>>2]!=2){break c}i=d+440|0;d:{e=q[a+400>>2];e:{if(!e){mi(4,184623,187088,0);break e}c=q[d+440>>2];j=r[d+448|0];h=s[d+446>>1];f=s[d+444>>1];if(!(ji[e|0](q[d+432>>2],l,g,i)|0)){break d}}q[i>>2]=0;q[i+4>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;f=s[d+554>>1];c=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-c|0)/576>>>0){break b}e=s[d+552>>1];if((e|0)!=s[(c+w(f,576)|0)+552>>1]){break a}h=q[a+48>>2];c=q[a+52>>2]-h|0;j=(c|0)/72|0;f:{if(!c){break f}f=f|e<<16;e=d+472|0;c=j>>>0>1?j:1;d=0;while(1){j=h+w(d,72)|0;if(!((e|0)==q[j+4>>2]?(f|0)==q[j>>2]:0)){d=d+1|0;if((c|0)!=(d|0)){continue}break f}break}o[j+68|0]=r[j+68|0]|4}q[m>>2]=Ei(l,g);mi(3,184623,187055,m);break c}e=q[i>>2];c=e^c;if(!(c&67108863|(f|0)!=s[d+444>>1]|(c&1006632960|(h|0)!=s[d+446>>1]))){if((j|0)==r[d+448|0]){break c}}q[d+472>>2]=0;g=s[d+554>>1];j=s[d+552>>1];l=g|j<<16;h=d+472|0;f=q[a+32>>2];c=(q[a+36>>2]-f|0)/576|0;if((e&1006632960)==402653184){if(c>>>0<=g>>>0){break b}if((j|0)!=s[(f+w(g,576)|0)+552>>1]){break a}e=q[a+48>>2];c=q[a+52>>2]-e|0;if(!c){break c}c=(c|0)/72|0;c=c>>>0>1?c:1;d=0;while(1){f=e+w(d,72)|0;if(!((h|0)==q[f+4>>2]?(l|0)==q[f>>2]:0)){d=d+1|0;if((c|0)!=(d|0)){continue}break c}break}o[f+68|0]=r[f+68|0]|4;break c}if(c>>>0<=g>>>0){break b}if((j|0)!=s[(f+w(g,576)|0)+552>>1]){break a}e=q[a+48>>2];c=q[a+52>>2]-e|0;f=(c|0)/72|0;g:{if(!c){break g}c=f>>>0>1?f:1;d=0;while(1){f=e+w(d,72)|0;if(!((h|0)==q[f+4>>2]?(l|0)==q[f>>2]:0)){d=d+1|0;if((c|0)!=(d|0)){continue}break g}break}if(r[f+68|0]&4){break g}Sz(a,l,x(0),x(1),q[f+56>>2],q[f+60>>2],q[f+64>>2]);break c}Sz(a,l,x(0),x(1),0,0,0)}k=k+1|0;if((v|0)!=(k|0)){continue}break}}q8(a,u[m+12>>2]);f=q[a+32>>2];c=q[a+36>>2]-f|0;h:{if(!c){l=0;n=0;break h}k=(c|0)/576|0;n=0;l=0;i=0;while(1){h=f+w(i,576)|0;i:{if(o[h+572|0]&1){Oz(a,s[h+554>>1]|s[h+552>>1]<<16,0);p[h+572>>1]=s[h+572>>1]&65534;k=(q[a+36>>2]-q[a+32>>2]|0)/576|0;break i}e=s[h+554>>1];if((e|0)==65535){break i}n=n+1|0;l=(q[h+412>>2]>>>20&1)+l|0;c=q[h+416>>2];if(!c){break i}ji[q[a+384>>2]](q[a+388>>2],a,e|s[h+552>>1]<<16,c,q[h+512>>2],u[m+12>>2])}i=i+1|0;if(k>>>0>i>>>0){continue}break}}j:{k:{l:{m:{n:{o:{p:{q:{e=q[a+232>>2];d=q[a+228>>2];c=e-d|0;if(!c){break q}if((d|0)!=(e|0)){i=(c|0)/12|0;g=0;while(1){h=w(g,12);v=h+d|0;r:{if(DG(q[a+192>>2],q[v>>2])){j=q[v+8>>2];s:{if(!j){break s}e=j&65535;c=q[a+32>>2];if(e>>>0>=(q[a+36>>2]-c|0)/576>>>0){break b}k=c+w(e,576)|0;if(s[k+552>>1]!=(j>>>16|0)){break p}if((e|0)!=s[k+554>>1]){break o}if(q[k+532>>2]==q[v>>2]){q[k+532>>2]=0}if(!(r[k+415|0]&16)){break s}if(i){f=q[a+228>>2];e=(q[a+232>>2]-f|0)/12|0;d=0;while(1){if((d|0)==(e|0)){break b}c=f+w(d,12)|0;if((j|0)==q[c+8>>2]){q[c+8>>2]=0}d=d+1|0;if((i|0)!=(d|0)){continue}break}}Oq(a,k);e=q[a+20>>2];if(!e){break n}c=s[a+26>>1];if(!c|c>>>0>s[a+24>>1]){break m}f=s[k+554>>1];c=c-1|0;p[a+26>>1]=c;p[e+((c&65535)<<1)>>1]=f;c=q[a+32>>2];if((f+1|0)==((q[a+36>>2]-c|0)/576|0)){if(f>>>0>(q[a+40>>2]-c|0)/576>>>0){break l}q[a+36>>2]=c+w(f,576)}c=q[k+420>>2];if(c){ki(c)}qi(k,0,576);p[k+554>>1]=65535}vs(q[a+192>>2],q[v>>2]);e=q[a+232>>2];c=q[a+228>>2];if((e-c|0)/12>>>0<=g>>>0){break k}f=c+h|0;e=e-12|0;c=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=c;q[f+8>>2]=q[e+8>>2];c=q[a+232>>2]-12|0;q[a+232>>2]=c;if(c>>>0>2]){break j}i=i-1|0;break r}g=g+1|0}if(i>>>0<=g>>>0){break q}d=q[a+228>>2];if((q[a+232>>2]-d|0)/12>>>0>g>>>0){continue}break}}break b}t:{if(o[855772]&1){break t}if(!ui(855772)){break t}if(r[852367]){g=Ek(185340)}else{g=-1}q[213942]=g;ti(855772)}c=q[213942];if((c|0)!=-1){Fk(c,n)}u:{if(o[855780]&1){break u}if(!ui(855780)){break u}if(r[852367]){g=Ek(185350)}else{g=-1}q[213944]=g;ti(855780)}c=q[213944];if((c|0)!=-1){Fk(c,l)}v:{if(o[855788]&1){break v}if(!ui(855788)){break v}if(r[852367]){g=Ek(185366)}else{g=-1}q[213946]=g;ti(855788)}c=q[213946];if((c|0)!=-1){Fk(c,q[a+152>>2])}w:{if(o[855796]&1){break w}if(!ui(855796)){break w}if(r[852367]){g=Ek(185385)}else{g=-1}q[213948]=g;ti(855796)}c=q[213948];if((c|0)!=-1){Fk(c,q[a+184>>2])}x:{if(o[855804]&1){break x}if(!ui(855804)){break x}if(r[852367]){g=Ek(185405)}else{g=-1}q[213950]=g;ti(855804)}c=q[213950];if((c|0)!=-1){Fk(c,q[a+184>>2]+q[a+152>>2]|0)}y:{if(o[855812]&1){break y}if(!ui(855812)){break y}if(r[852367]){g=Ek(185418)}else{g=-1}q[213952]=g;ti(855812)}c=q[213952];if((c|0)!=-1){Fk(c,(q[a+232>>2]-q[a+228>>2]|0)/12|0)}fi=m+16|0;return}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186843,186850,140,186768);G()}J(186948,186850,141,186768);G()}J(187316,186599,474,187335);G()}J(187274,186599,481,187289);G()}J(187299,186599,484,187289);G()}J(186773,186599,447,186784);G()}J(184508,184532,3571,187033);G()}function uS(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,u=0;g=fi-4192|0;fi=g;a:{d=q[a+4>>2];b=q[a>>2];b:{if(!d&b>>>0<=21){q[a+28>>2]=8;break b}c:{i=(d|0)>0?1:(d|0)>=0?b>>>0>4096:0;j=i?b-4096|0:0;e=j;k=i?d-(b>>>0<4096)|0:0;f=d-(k+(b>>>0>>0)|0)|0;b=b-e|0;h=!f&b>>>0<4096?b:4096;if((h|0)!=(ji[q[a+56>>2]](q[a+68>>2],e,k,g+96|0,h)|0)){break c}d:{while(1){if(h>>>0>=4){e=h-4|0;f=0;while(1){b=(g+96|0)+e|0;if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==101010256){i=q[a>>2];m=q[a+4>>2];d=j;l=d+e|0;b=f+k|0;b=d>>>0>l>>>0?b+1|0:b;d=l;m=m-((d>>>0>i>>>0)+b|0)|0;i=i-d|0;if(!m&i>>>0>21|m){break d}}d=(f|0)>0?1:(f|0)>=0?!!e:0;b=e;e=b-1|0;f=f-(b>>>0<1)|0;if(d){continue}break}}if(j|k){e=q[a+4>>2];b=q[a>>2];f=j;d=e-((b>>>0>>0)+k|0)|0;f=b-f|0;if(!d&f>>>0>65556|d){break c}d=!k&j>>>0>4093|(k|0)!=0;i=d?j:4093;j=i-4093|0;f=j;k=(d?k:0)-(i>>>0<4093)|0;d=e-(k+(b>>>0>>0)|0)|0;b=b-f|0;h=!d&b>>>0<4096?b:4096;if((h|0)==(ji[q[a+56>>2]](q[a+68>>2],f,k,g+96|0,h)|0)){continue}break c}break}if(a){break c}h=0;break b}if((ji[q[a+56>>2]](q[a+68>>2],d,b,g+96|0,22)|0)!=22){q[a+28>>2]=20;h=0;break b}if(q[g+96>>2]!=101010256){q[a+28>>2]=8;h=0;break b}e:{if((b|0)<0?1:(b|0)<=0?d>>>0<76:0){break e}if((ji[q[a+56>>2]](q[a+68>>2],d-20|0,b-(d>>>0<20)|0,g- -64|0,20)|0)!=20|q[g+64>>2]!=117853008){break e}b=q[a>>2];f=b-56|0;j=q[g+76>>2];d=j;b=q[a+4>>2]-(b>>>0<56)|0;e=q[g+72>>2];if((d|0)==(b|0)&f>>>0>>0|b>>>0>>0){q[a+28>>2]=8;h=0;break b}if((ji[q[a+56>>2]](q[a+68>>2],e,j,g,56)|0)!=56|q[g>>2]!=101075792){break e}q[q[a+72>>2]+52>>2]=1}c=s[g+106>>1];q[a+16>>2]=c;n=q[a+72>>2];f:{if(!q[n+52>>2]){e=q[g+112>>2];f=0;d=q[g+108>>2];o=s[g+100>>1];h=s[g+104>>1];b=s[g+102>>1];break f}if(!q[g+8>>2]&t[g+4>>2]<=43){q[a+28>>2]=9;h=0;break b}if(q[g+80>>2]!=1){q[a+28>>2]=10;h=0;break b}if(r[g+36|0]|r[g+37|0]<<8|r[g+38|0]<<16|r[g+39|0]<<24){q[a+28>>2]=2;h=0;break b}f=r[g+44|0];j=r[g+45|0];e=r[g+46|0];i=r[g+47|0];l=r[g+28|0];b=r[g+29|0];k=r[g+30|0];m=r[g+31|0];d=q[g+40>>2];h=q[g+24>>2];c=q[g+32>>2];q[a+16>>2]=c;o=b<<8;b=l;if(b|o|k<<16|m<<24){q[a+28>>2]=2;h=0;break b}j=j<<8;b=f;if(b|j|e<<16|i<<24){q[a+28>>2]=15;h=0;break b}e=q[g+48>>2];f=q[g+52>>2];o=q[g+16>>2];b=q[g+20>>2]}if((c|0)!=(h|0)){q[a+28>>2]=10;h=0;break b}if(!(!(b|o)|((o|0)==1?(b|0)==1:0))){q[a+28>>2]=10;h=0;break b}if(w(c,46)>>>0>d>>>0){q[a+28>>2]=9;h=0;break b}k=q[a>>2];i=q[a+4>>2];b=f;l=d+e|0;b=l>>>0>>0?b+1|0:b;j=l;if((b|0)==(i|0)&j>>>0>k>>>0|b>>>0>i>>>0){q[a+28>>2]=9;h=0;break b}q[a+8>>2]=e;q[a+12>>2]=f;h=1;if(!c){break b}g:{if(t[n+8>>2]>>0){b=q[n+12>>2];if(!b){break a}b=ji[q[a+48>>2]](q[a+52>>2],q[n>>2],b,d)|0;if(!b){break g}q[n+8>>2]=d;q[n>>2]=b;c=q[a+16>>2]}q[n+4>>2]=d;b=q[a+72>>2];if(t[b+24>>2]>>0){j=q[b+28>>2];if(!j){break a}j=ji[q[a+48>>2]](q[a+52>>2],q[b+16>>2],j,c)|0;if(!j){break g}q[b+24>>2]=c;q[b+16>>2]=j}q[b+20>>2]=c;if((ji[q[a+56>>2]](q[a+68>>2],e,f,q[q[a+72>>2]>>2],d)|0)!=(d|0)){q[a+28>>2]=20;h=0;break b}if(q[a+16>>2]){b=f;f=e+46|0;b=f>>>0<46?b+1|0:b;u=f;j=b;c=q[q[a+72>>2]>>2];while(1){if(!((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))==33639248?d>>>0>=46:0)){q[a+28>>2]=9;h=0;break b}b=q[a+72>>2];q[q[b+16>>2]+(p<<2)>>2]=c-q[b>>2];m=r[c+24|0]|r[c+25|0]<<8|(r[c+26|0]<<16|r[c+27|0]<<24);k=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);h:{if(q[b+56>>2]){break h}l=r[c+30|0]|r[c+31|0]<<8;if(!l){break h}b=0;e=k>>>0>m>>>0?k:m;i=r[c+42|0]|r[c+43|0]<<8|(r[c+44|0]<<16|r[c+45|0]<<24);f=!b&e>>>0>i>>>0|(b|0)!=0;if(((f?e:i)|0)!=-1|(f?b:0)){break h}b=r[c+28|0]|r[c+29|0]<<8;i:{if((b+l|0)+46>>>0>d>>>0){e=xi(l);if(!e){q[a+28>>2]=16;h=0;break b}f=e;i=b;n=b+u|0;b=j;if((ji[q[a+56>>2]](q[a+68>>2],n,i>>>0>n>>>0?b+1|0:b,e,l)|0)==(l|0)){break i}ki(e);q[a+28>>2]=20;h=0;break b}e=(b+c|0)+46|0;f=0}while(1){if(l>>>0<=3){ki(f);h=0;if(!a){break b}q[a+28>>2]=9;break b}b=r[e+2|0]|r[e+3|0]<<8;i=b+4|0;if(i>>>0>l>>>0){ki(f);h=0;if(!a){break b}q[a+28>>2]=9;break b}j:{if((r[e|0]|r[e+1|0]<<8)==1){b=q[a+72>>2];q[b+52>>2]=1;q[b+56>>2]=1;break j}e=e+i|0;l=(l-b|0)-4|0;if(l){continue}}break}ki(f)}f=(k|0)==-1;if(!(f|(m|0)==-1|(!m|k?!(r[c+10|0]|r[c+11|0]<<8|(r[c+12|0]<<16|r[c+13|0]<<24)?0:(k|0)!=(m|0)):0))){h=0;if(!a){break b}q[a+28>>2]=9;break b}b=r[c+34|0]|r[c+35|0]<<8;if(!((b|0)==(o|0)|(b|0)==1?(b|0)!=65535:0)){h=0;if(!a){break b}q[a+28>>2]=10;break b}k:{if(f){break k}i=q[a>>2];f=q[a+4>>2];l=r[c+42|0]|r[c+43|0]<<8|(r[c+44|0]<<16|r[c+45|0]<<24);e=l+k|0;b=0;b=e>>>0>>0?1:b;e=e+30|0;if(e>>>0<30){b=b+1|0}if((b|0)==(f|0)&e>>>0<=i>>>0|b>>>0>>0){break k}q[a+28>>2]=9;h=0;break b}if(r[c+9|0]&32){h=0;if(!a){break b}q[a+28>>2]=5;break b}b=(((r[c+28|0]|r[c+29|0]<<8)+(r[c+30|0]|r[c+31|0]<<8)|0)+(r[c+32|0]|r[c+33|0]<<8)|0)+46|0;if(b>>>0>d>>>0){h=0;if(!a){break b}q[a+28>>2]=9;break b}c=b+c|0;d=d-b|0;p=p+1|0;if(p>>>0>2]){continue}break}}break b}q[a+28>>2]=16;h=0;break b}q[a+28>>2]=7;h=0}fi=g+4192|0;return h}J(199453,196587,4376,199476);G()}function hL(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;j=fi-160|0;fi=j;k=-4;a:{b:{if(!(o[a+32|0]&1)){break b}l=j+56|0;k=l;q[k>>2]=0;q[k+4>>2]=0;q[k+16>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;k=Uj();h=iF(b,l,e,h,i);c:{if((e|0)<1){break c}e=(k-Uj()|0)+e|0;if((e|0)>=1){break c}k=-2;break b}i=j- -64|0;k=q[i+4>>2];q[j+128>>2]=q[i>>2];q[j+132>>2]=k;q[j+136>>2]=q[j+72>>2];i=q[j+60>>2];q[j+120>>2]=q[j+56>>2];q[j+124>>2]=i;p[j+144>>1]=c;o[j+119|0]=d;an(j+80|0,0);kl(j+80|0,j+120|0,20);kl(j+80|0,j+144|0,2);kl(j+80|0,j+119|0,1);x=Vn(j+80|0);y=ii;d:{e:{f:{if(!h){n=q[a+28>>2];tj(n);i=q[a+12>>2];k=q[a+8>>2];v=Uj();u=ii;h=i-k|0;if(h){i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);i=h>>>0>1?h:1;k=0;while(1){h=q[a+8>>2];if(q[a+12>>2]-h>>6>>>0<=k>>>0){break a}h=h+(k<<6)|0;g:{if(q[h+48>>2]!=1){break g}m=q[h+36>>2];if((m|0)==(u|0)&t[h+32>>2]>v>>>0|m>>>0>u>>>0){break g}m=q[h+40>>2];if(m){ps(m);q[h+40>>2]=0}m=q[h+44>>2];if((m|0)!=-1){Mo(m);rm(q[h+44>>2])}q[h>>2]=0;q[h+4>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h+44>>2]=-1;q[h+40>>2]=0;q[h+48>>2]=0}k=k+1|0;if((i|0)!=(k|0)){continue}break}}i=q[a+12>>2];k=q[a+8>>2];h=i-k|0;if(!h){break e}h:{switch(q[l>>2]-1|0){case 1:if((i|0)==(k|0)){break a}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);l=h>>>0>1?h:1;i=0;while(1){i:{h=(i<<6)+k|0;if(q[h+48>>2]!=1|((x|0)!=q[h+24>>2]|(y|0)!=q[h+28>>2])){break i}if(!Xx(q[h+44>>2])){break i}break d}i=i+1|0;if((l|0)==(i|0)){break e}k=q[a+8>>2];if(q[a+12>>2]-k>>6>>>0>i>>>0){continue}break}break a;case 0:break f;default:break h}}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);if((h>>>0>1?h:1)-1>>>0>=h>>>0){break a}break e}q[g>>2]=-100;k=-2;break b}if((i|0)==(k|0)){break a}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);l=h>>>0>1?h:1;i=0;while(1){j:{h=(i<<6)+k|0;if(q[h+48>>2]!=1|((x|0)!=q[h+24>>2]|(y|0)!=q[h+28>>2])){break j}if(!Yx(q[h+44>>2])){break j}break d}i=i+1|0;if((l|0)==(i|0)){break e}k=q[a+8>>2];if(q[a+12>>2]-k>>6>>>0>i>>>0){continue}break}break a}k:{i=q[a+12>>2];u=q[a+8>>2];h=i-u|0;if(h){i=u-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);h=h>>>0>1?h:1;i=0;while(1){v=u+(i<<6)|0;if(!q[v+48>>2]){break k}i=i+1|0;if((h|0)!=(i|0)){continue}break}}k=-1;lj(n);break b}q[v+48>>2]=2;lj(n);q[j+136>>2]=q[j+72>>2];h=j- -64|0;k=q[h+4>>2];q[j+128>>2]=q[h>>2];q[j+132>>2]=k;h=q[j+60>>2];q[j+120>>2]=q[j+56>>2];q[j+124>>2]=h;k=Uj();B=ii;q[j+96>>2]=q[j+136>>2];h=q[j+132>>2];q[j+88>>2]=q[j+128>>2];q[j+92>>2]=h;h=q[j+124>>2];n=q[j+120>>2];q[j+80>>2]=n;q[j+84>>2]=h;l=n;h=u+(i<<6)|0;n=h;l=a0(l,h+44|0);q[g>>2]=l;l:{m:{n:{o:{if(l){break o}l=q[n+44>>2];if((e|0)>=1){m=dF(l,0);q[g>>2]=m;l=q[n+44>>2];if(m){rm(l);break o}q[j+24>>2]=q[j+96>>2];m=q[j+92>>2];q[j+16>>2]=q[j+88>>2];q[j+20>>2]=m;m=q[j+84>>2];q[j+8>>2]=q[j+80>>2];q[j+12>>2]=m;l=jF(l,j+8|0,c);q[g>>2]=l;if(l){rm(q[n+44>>2]);break o}l=fF(j+144|0);DK(l);eF(l,1,q[n+44>>2]);z=gF(l,e);q[g>>2]=z;m=q[n+44>>2];if((z|0)==-3){rm(m);if(o[l+12|0]&1){break o}b=q[l>>2];if(!b){break o}ki(b);break o}m=dF(m,1);q[g>>2]=m;if(m){rm(q[n+44>>2]);if(o[l+12|0]&1){break o}b=q[l>>2];if(!b){break o}ki(b);break o}p:{if(o[l+12|0]&1){break p}l=q[l>>2];if(!l){break p}ki(l)}l=Uj();m=l-k|0;if((ii|0)==((k>>>0>l>>>0)+B|0)&e>>>0>=m>>>0){break m}rm(q[n+44>>2]);q[n+44>>2]=-1;k=-2;break l}q[j+48>>2]=q[j+96>>2];k=q[j+92>>2];q[j+40>>2]=q[j+88>>2];q[j+44>>2]=k;k=q[j+84>>2];q[j+32>>2]=q[j+80>>2];q[j+36>>2]=k;k=jF(l,j+32|0,c);q[g>>2]=k;if(!k){break n}rm(q[n+44>>2])}q[n+44>>2]=-1;k=-2;break l}Uj()}k=0;A=1;if(!d){break l}d=b;b=u+(i<<6)|0;d=m3(q[n+44>>2],d,e,e>>31,b+40|0);if(!d){break l}A=0;q[b+40>>2]=0;k=-3;q[g>>2]=(d|0)==-2002?-3:-1e3}g=q[a+28>>2];tj(g);q:{if(A){b=s[a+24>>1];d=b?b:1;p[a+24>>1]=d+1;b=u+(i<<6)|0;p[b+54>>1]=d;q[f>>2]=i&65535|d<<16;p[b+56>>1]=0;q[b+24>>2]=x;q[b+28>>2]=y;q[v+48>>2]=2;d=jwa(q[a>>2],q[a+4>>2],1e6,0);f=ii;i=Uj();e=i+d|0;d=ii+f|0;a=b;q[a+32>>2]=e;q[a+36>>2]=e>>>0>>0?d+1|0:d;q[h+16>>2]=q[j+72>>2];a=j- -64|0;d=q[a+4>>2];q[h+8>>2]=q[a>>2];q[h+12>>2]=d;a=q[j+60>>2];q[h>>2]=q[j+56>>2];q[h+4>>2]=a;p[b+52>>1]=c;o[b+58|0]=r[b+58|0]&254;break q}b=u+(i<<6)|0;a=q[b+40>>2];if(a){ps(a);q[b+40>>2]=0}a=q[n+44>>2];if((a|0)!=-1){Mo(a);rm(q[n+44>>2])}q[h>>2]=0;q[h+4>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[n+44>>2]=-1;q[b+40>>2]=0;q[v+48>>2]=0}lj(g);break b}q[h+48>>2]=2;b=(i<<6)+k|0;p[b+56>>1]=s[b+56>>1]+1;c=a;a=s[a+24>>1];a=a?a:1;p[c+24>>1]=a+1;p[b+54>>1]=a;q[f>>2]=i&65535|a<<16;k=0;lj(n)}fi=j+160|0;return k}J(153026,152878,447,153037);G()}function L5(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=0,p=0,v=0,y=0,z=x(0),A=x(0);d=fi-880|0;fi=d;a:{b:{c:{d:{if(r[852367]){while(1){a=q[213093];q[213093]=a?a:1;if(a){continue}break}g=q[70349];q[d+104>>2]=-1;q[d+108>>2]=-1;q[d+96>>2]=-1;q[d+100>>2]=-1;q[d+88>>2]=-1;q[d+92>>2]=-1;q[d+80>>2]=-1;q[d+84>>2]=-1;q[d+72>>2]=-1;q[d+76>>2]=-1;a=16;q[d+20>>2]=16;b=d- -64|0;q[b>>2]=-1;q[b+4>>2]=-1;q[d+56>>2]=-1;q[d+60>>2]=-1;q[d+48>>2]=-1;q[d+52>>2]=-1;q[d+32>>2]=d+880;b=d+112|0;q[d+28>>2]=b;q[d+24>>2]=b;q[d+36>>2]=-1;q[d+40>>2]=0;q[d+44>>2]=1;q[d+16>>2]=d+48;e=q[g+4>>2];b=q[g>>2];c=e-b|0;if(!c){break d}if((b|0)==(e|0)){break a}e=(c|0)/24|0;c=e>>>0>1?e:1;e=0;while(1){b=s[(w(e,24)+b|0)+20>>1];e:{f:{if(!a){break f}a=q[q[d+16>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break f}k=q[d+24>>2];while(1){a=k+w(a,12)|0;if((b|0)==q[a>>2]){break e}a=q[a+8>>2];if((a|0)!=-1){continue}break}}if(q[d+40>>2]==((q[d+32>>2]-q[d+24>>2]|0)/12|0)){mi(4,157660,157907,0);break d}o[d+15|0]=1;Z7(d+16|0,b,d+15|0)}e=e+1|0;if((c|0)==(e|0)){break d}b=q[g>>2];if((q[g+4>>2]-b|0)/24>>>0<=e>>>0){break a}a=q[d+20>>2];continue}}e=q[70349];break c}b=q[d+20>>2];if(b){k=0;while(1){a=q[q[d+16>>2]+(k<<2)>>2];if((a|0)!=-1){while(1){f=q[g+4>>2];b=q[g>>2];j=f-b|0;e=(j|0)/24|0;y=q[d+24>>2]+w(a,12)|0;h=q[y>>2];n=q[213002];i=q[213001];c=n-i|0;if(c){a=i-n|0;l=((a|0)>(c|0)?a:c)>>>4|0;a=(c|0)>-1?c:-1;a=w(l,(a|0)<1?a:1);v=a>>>0>1?a:1;a=0;while(1){q[(i+(a<<4)|0)+12>>2]=0;a=a+1|0;if((v|0)!=(a|0)){continue}break}}q[70355]=0;g:{if(!j){break g}h:{if((b|0)!=(f|0)){v=e>>>0>1?e:1;e=0;while(1){b=w(e,24)+b|0;f=q[b>>2];a=q[213079];i:{j:{if(!a){break j}a=q[q[213078]+((f>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break j}j=q[213080];while(1){a=j+w(a,12)|0;if((f|0)==q[a>>2]){break i}a=q[a+8>>2];if((a|0)!=-1){continue}break}}if(q[213084]==((q[213082]-q[213080]|0)/12|0)){mi(3,157660,158104,0);break i}oH(852312,f,b)}k:{if((h|0)!=s[b+20>>1]){break k}j=q[b+4>>2];a=q[j+12>>2];if(a){f=q[b+8>>2];l=q[a+8>>2];if(f>>>0>2]>>>0?f>>>0>=l>>>0:0){break k}l=s[j+8>>1];f=q[g+32>>2];if(l>>>0>=(q[g+36>>2]-f|0)/12>>>0){break h}f=f+w(l,12)|0;q[f+4>>2]=q[f+4>>2]+q[a+12>>2];q[f+8>>2]=q[f+8>>2]+1}q[j+12>>2]=b}e=e+1|0;if((v|0)==(e|0)){break g}b=q[g>>2];if((q[g+4>>2]-b|0)/24>>>0>e>>>0){continue}break}}break a}break a}if(c){a=i-n|0;b=((a|0)>(c|0)?a:c)>>>4|0;a=(c|0)>-1?c:-1;a=w(b,(a|0)<1?a:1);f=a>>>0>1?a:1;b=q[213002];e=q[213001];a=b-e|0;c=(a|0)>-1?a:-1;b=e-b|0;n=w((c|0)<1?c:1,((a|0)<(b|0)?b:a)>>>4|0);a=0;while(1){if((a|0)==(n|0)){break a}c=e+(a<<4)|0;i=q[c+12>>2];if(!(!i|(h|0)!=s[i+20>>1])){j=s[c+8>>1];b=q[g+32>>2];if(j>>>0>=(q[g+36>>2]-b|0)/12>>>0){break a}b=b+w(j,12)|0;q[b+4>>2]=q[b+4>>2]+q[i+12>>2];q[b+8>>2]=q[b+8>>2]+1;q[c+12>>2]=0}a=a+1|0;if((f|0)!=(a|0)){continue}break}}l:{if(h){break l}h=q[213002];i=q[213001];b=h-i|0;if(b){e=q[g+32>>2];a=q[g+36>>2]-e|0;if(!a){break a}c=(a|0)/12|0;z=x(1e3/(+t[70350]+ +t[70351]*4294967296));m=x(z*x(t[e+4>>2]));u[213088]=m;if(b>>4>>>0>=2){a=1;h=i-h|0;f=((b|0)<(h|0)?h:b)>>>4|0;b=(b|0)>-1?b:-1;b=w(f,(b|0)<1?b:1);c=c>>>0>1?c:1;while(1){if((a|0)==(c|0)){break a}A=x(z*x(t[(e+w(a,12)|0)+4>>2]));m=x(m-A)>=x(0)?m:A;u[213088]=m;a=a+1|0;if((b|0)!=(a|0)){continue}break}}a=q[213090]+1|0;q[213090]=a;if(u[213089]>>0<=60){break l}u[213089]=m;q[213090]=0;break l}q[213088]=0}a=q[y+8>>2];if((a|0)!=-1){continue}break}b=q[d+20>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}m:{if(o[d+44|0]&1){break m}a=q[d+24>>2];if(a){ki(a)}a=q[d+16>>2];if(!a){break m}ki(a)}e=q[70349];q[e+48>>2]=q[213002]-q[213001]>>4;q[e+52>>2]=q[213014]-q[213013]>>3;a=q[213074];c=q[213075];if((a|0)==(c|0)){b=0;while(1){q[213093]=0;gn(4e3);b=b+1|0;if(!((b>>>0)%100|0)){mi(4,157660,157773,0)}while(1){a=q[213093];q[213093]=a?a:1;if(a){continue}break}a=q[213074];c=q[213075];if((a|0)==(c|0)){continue}break}}g=q[a>>2];q[a>>2]=q[c-4>>2];a=q[213075]-4|0;q[213075]=a;if(a>>>0>>4|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);k=a>>>0>1?a:1;h=q[g+32>>2];i=(q[g+36>>2]-h|0)/12|0;a=0;while(1){if((a|0)==(i|0)){break a}c=h+w(a,12)|0;q[c+4>>2]=0;q[c+8>>2]=0;q[c>>2]=b+(a<<4);a=a+1|0;if((k|0)!=(a|0)){continue}break}}c=q[213014];b=q[213013];a=c-b|0;if(a){c=b-c|0;c=((a|0)<(c|0)?c:a)>>>3|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);k=a>>>0>1?a:1;h=q[g+20>>2];c=q[g+16>>2];a=h-c|0;i=(a|0)>-1?a:-1;h=c-h|0;h=w((i|0)<1?i:1,((a|0)<(h|0)?h:a)>>>3|0);a=0;while(1){if((a|0)==(h|0)){break a}i=a<<3;f=i+c|0;q[f+4>>2]=0;q[f>>2]=b+i;a=a+1|0;if((k|0)!=(a|0)){continue}break}}q[g+4>>2]=q[g>>2];p=+ua();o[852364]=0;o[852365]=0;o[852366]=0;q[213093]=0;p=p*1e3;if(p<0x10000000000000000&p>=0){q[213087]=~~p>>>0;break c}q[213087]=0}fi=d+880|0;return e}J(158373,158259,484,158363);G()}J(158341,158259,447,158352);G()}function Vn(a){var b=0,c=0,d=0,e=0,f=0;b=jwa(q[a+8>>2],q[a+12>>2],1540483477,-962287725);e=ii;c=jwa(b^e>>>15,e,1540483477,-962287725);q[a+8>>2]=c;d=ii;q[a+12>>2]=d;c=jwa(jwa(q[a>>2],q[a+4>>2],1540483477,-962287725)^c,ii^d,1540483477,-962287725);e=ii;d=jwa(q[a+20>>2],0,1540483477,-962287725);f=ii;d=jwa(d^f>>>15,f,1540483477,-962287725)^c;e=ii^e;d=jwa(d^e>>>15,e,1540483477,-962287725);e=ii;q[a>>2]=d^e>>>15;q[a+4>>2]=e;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b:{c:{d:{e:{if(!(!r[851668]|!q[a+24>>2]|t[a+20>>2]>1024)){f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}e=q[212916];tj(e);g:{if(o[851768]&1){break g}if(!ui(851768)){break g}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b=q[a>>2];d=q[a+4>>2];h:{i:{c=q[212927];j:{if(!c){break j}c=q[q[212926]+(lwa(b,d,c)<<2)>>2];if((c|0)==-1){break j}f=q[212928];while(1){c=f+w(c,24)|0;if((b|0)==q[c>>2]&(d|0)==q[c+4>>2]){break i}c=q[c+16>>2];if((c|0)!=-1){continue}break}}if(q[212932]==((q[212930]-q[212928]|0)/24|0)){k:{if(o[851768]&1){break k}if(!ui(851768)){break k}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b=(q[212930]-q[212928]|0)/24|0;l:{if(o[851768]&1){break l}if(!ui(851768)){break l}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;d=zj();o[851668]=0;q[212916]=d;ti(851768)}Mu(851704,1024,b+256|0);d=q[a+4>>2];b=q[a>>2]}m:{if(o[851768]&1){break m}if(!ui(851768)){break m}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}f=q[a+24>>2];c=q[212934];if(f>>>0>=q[212935]-c>>3>>>0){break b}uz(851704,b,d,c+(f<<3)|0);break h}n:{if(o[851768]&1){break n}if(!ui(851768)){break n}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}d=q[a+24>>2];b=q[212934];if(d>>>0>=q[212935]-b>>3>>>0){break b}ki(q[b+(d<<3)>>2])}o:{if(o[851768]&1){break o}if(!ui(851768)){break o}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}d=q[a+24>>2];if(!d){break e}c=q[212938];if(!c){break d}b=q[212940]-1|0;if(b>>>0>=t[212939]){break c}q[212940]=b;q[(b<<2)+c>>2]=d;q[a+24>>2]=0;lj(e)}ii=q[a+4>>2];return q[a>>2]}J(150510,150161,131,150526);G()}J(150377,150352,140,150408);G()}J(150413,150352,141,150408);G()}J(150666,150264,447,150677);G()}function Dw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,B=0;h=fi-80|0;fi=h;q[h+76>>2]=b;B=h+55|0;y=h+56|0;b=0;a:{b:while(1){c:{if((t|0)<0){break c}if((2147483647-t|0)<(b|0)){q[240833]=61;t=-1;break c}t=b+t|0}d:{e:{f:{k=q[h+76>>2];b=k;i=r[b|0];if(i){while(1){g:{i=i&255;h:{if(!i){i=b;break h}if((i|0)!=37){break g}i=b;while(1){if(r[b+1|0]!=37){break h}j=b+2|0;q[h+76>>2]=j;i=i+1|0;l=r[b+2|0];b=j;if((l|0)==37){continue}break}}b=i-k|0;if(a){Dl(a,k,b)}if(b){continue b}i=h;b=q[h+76>>2];i:{if(!(r[b+2|0]!=36|o[q[h+76>>2]+1|0]-48>>>0>=10)){x=o[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}q[i+76>>2]=b;m=0;u=o[b|0];j=u-32|0;j:{if(j>>>0>31){i=b;break j}i=b;j=1<>2]=i;m=j|m;u=o[b+1|0];j=u-32|0;if(j>>>0>=32){break j}b=i;j=1<>>0>=10){break m}b=q[h+76>>2];if(r[b+2|0]!=36){break m}q[((o[b+1|0]<<2)+e|0)-192>>2]=10;n=q[((o[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;n=0;if(a){b=q[c>>2];q[c>>2]=b+4;n=q[b>>2]}b=q[h+76>>2]+1|0}q[j+76>>2]=b;if((n|0)>-1){break k}n=0-n|0;m=m|8192;break k}n=xE(h+76|0);if((n|0)<0){break f}b=q[h+76>>2]}l=-1;n:{if(r[b|0]!=46){break n}if(r[b+1|0]==42){o:{if(o[b+2|0]-48>>>0>=10){break o}b=q[h+76>>2];if(r[b+3|0]!=36){break o}q[((o[b+2|0]<<2)+e|0)-192>>2]=10;l=q[((o[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;q[h+76>>2]=b;break n}if(z){break f}if(a){b=q[c>>2];q[c>>2]=b+4;l=q[b>>2]}else{l=0}b=q[h+76>>2]+2|0;q[h+76>>2]=b;break n}q[h+76>>2]=b+1;l=xE(h+76|0);b=q[h+76>>2]}i=0;while(1){A=i;s=-1;if(o[b|0]-65>>>0>57){break a}u=b+1|0;q[h+76>>2]=u;i=o[b|0];b=u;i=r[(i+w(A,58)|0)+204991|0];if(i-1>>>0<8){continue}break}p:{q:{if((i|0)!=19){if(!i){break a}if((x|0)>=0){q[(x<<2)+e>>2]=i;b=(x<<3)+d|0;i=q[b+4>>2];q[h+64>>2]=q[b>>2];q[h+68>>2]=i;break q}if(!a){break d}DC(h- -64|0,i,c,g);u=q[h+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}j=m&-65537;i=m&8192?j:m;s=0;x=205031;m=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=o[u-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;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 e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=q[h+64>>2];k=q[h+68>>2];x=205031;break z}b=0;I:{switch(A&255){case 0:q[q[h+64>>2]>>2]=t;continue b;case 1:q[q[h+64>>2]>>2]=t;continue b;case 2:i=q[h+64>>2];q[i>>2]=t;q[i+4>>2]=t>>31;continue b;case 3:p[q[h+64>>2]>>1]=t;continue b;case 4:o[q[h+64>>2]]=t;continue b;case 6:q[q[h+64>>2]>>2]=t;continue b;case 7:break I;default:continue b}}i=q[h+64>>2];q[i>>2]=t;q[i+4>>2]=t>>31;continue b}l=l>>>0>8?l:8;i=i|8;b=120}k=VZ(q[h+64>>2],q[h+68>>2],y,b&32);if(!(i&8)|!(q[h+64>>2]|q[h+68>>2])){break y}x=(b>>>4|0)+205031|0;s=2;break y}k=WZ(q[h+64>>2],q[h+68>>2],y);if(!(i&8)){break y}b=y-k|0;l=(b|0)<(l|0)?l:b+1|0;break y}j=q[h+68>>2];k=j;b=q[h+64>>2];if((j|0)<-1?1:(j|0)<=-1){k=0-(k+((b|0)!=0)|0)|0;b=0-b|0;q[h+64>>2]=b;q[h+68>>2]=k;s=1;x=205031;break z}if(i&2048){s=1;x=205032;break z}s=i&1;x=s?205033:205031}k=uq(b,k,y)}i=(l|0)>-1?i&-65537:i;b=q[h+64>>2];j=q[h+68>>2];if(!(!!(b|j)|l)){l=0;k=y;break e}b=!(b|j)+(y-k|0)|0;l=(b|0)<(l|0)?l:b;break e}b=q[h+64>>2];k=b?b:205041;b=eq(k,0,l);m=b?b:l+k|0;i=j;l=b?b-k|0:l;break e}j=q[h+64>>2];if(l){break u}b=0;_l(a,32,n,0,i);break t}q[h+12>>2]=0;q[h+8>>2]=q[h+64>>2];q[h+64>>2]=h+8;l=-1;j=h+8|0}b=0;J:{while(1){k=q[j>>2];if(!k){break J}k=tB(h+4|0,k);m=(k|0)<0;if(!(m|k>>>0>l-b>>>0)){j=j+4|0;b=b+k|0;if(l>>>0>b>>>0){continue}break J}break}s=-1;if(m){break a}}_l(a,32,n,b,i);if(!b){b=0;break t}u=0;j=q[h+64>>2];while(1){k=q[j>>2];if(!k){break t}k=tB(h+4|0,k);u=k+u|0;if((u|0)>(b|0)){break t}Dl(a,h+4|0,k);j=j+4|0;if(b>>>0>u>>>0){continue}break}}_l(a,32,n,b,i^8192);b=(b|0)<(n|0)?n:b;continue b}b=ji[f|0](a,v[h+64>>3],n,l,i,b)|0;continue b}o[h+55|0]=q[h+64>>2];l=1;k=B;i=j;break e}j=b+1|0;q[h+76>>2]=j;i=r[b+1|0];b=j;continue}}s=t;if(a){break a}if(!z){break d}b=1;while(1){a=q[(b<<2)+e>>2];if(a){DC((b<<3)+d|0,a,c,g);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>=10){break a}while(1){if(q[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}s=-1;break a}m=m-k|0;l=(l|0)<(m|0)?m:l;j=l+s|0;b=(j|0)>(n|0)?j:n;_l(a,32,b,j,i);Dl(a,x,s);_l(a,48,b,j,i^65536);_l(a,48,l,m,0);Dl(a,k,m);_l(a,32,b,j,i^8192);continue}break}s=0}fi=h+80|0;return s}function kn(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,p=0,s=0;a:{b:while(1){n=b+1|0;s=b-1|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{f=c;d=r[c|0];if((d|0)!=37){m:{n:{o:{c=d<<24>>24;switch(c-36|0){case 1:case 2:case 3:break k;case 0:break l;case 5:break m;case 4:break n;default:break o}}if(c){break k}return b}if(r[f+1|0]==41){c=q[a+12>>2];if((c|0)>=32){ni(q[a+8>>2],131851,0)}d=(c<<3)+a|0;q[d+20>>2]=-2;q[d+16>>2]=b;q[a+12>>2]=c+1;h=kn(a,b,f+2|0);if(h){break c}break a}c=q[a+12>>2];if((c|0)>=32){ni(q[a+8>>2],131851,0)}d=(c<<3)+a|0;q[d+20>>2]=-1;q[d+16>>2]=b;q[a+12>>2]=c+1;h=kn(a,b,f+1|0);if(h){break c}break a}g=f+1|0;d=q[a+12>>2];p:{while(1){if((d|0)>=1){d=d-1|0;if(q[((d<<3)+a|0)+20>>2]!=-1){continue}break p}break}d=ni(q[a+8>>2],131869,0)}c=(d<<3)+a|0;q[c+20>>2]=b-q[c+16>>2];h=kn(a,b,g);if(h){break c}q[c+20>>2]=-1;return 0}q:{d=o[f+1|0];c=d&255;if((c|0)!=102){if((d|0)!=98){break q}d=r[f+2|0];if(!(r[f+3|0]?d:0)){ni(q[a+8>>2],131893,0);d=r[f+2|0]}h=0;c=d&255;if((c|0)!=r[b|0]){break c}e=1;d=b+1|0;g=q[a+4>>2];if(d>>>0>=g>>>0){break c}i=r[f+3|0];while(1){j=r[b+1|0];r:{if((j|0)==(i|0)){e=e-1|0;if(e){break r}c=f+4|0;b=b+2|0;continue b}e=((c|0)==(j|0))+e|0}b=d;d=d+1|0;if((g|0)!=(d|0)){continue}break}break c}if(r[f+2|0]==91){i=f+3|0;break e}ni(q[a+8>>2],131816,0);i=f+3|0;d=o[f+2|0];if((d|0)==91){break e}c=i;if((d|0)!=37){break d}if(!r[i|0]){ni(q[a+8>>2],131912,0)}c=f+4|0;break d}if(c-48>>>0>=10){if(!d){ni(q[a+8>>2],131912,0)}i=f+1|0;c=f+2|0;break j}s:{t:{if(c>>>0<49){break t}e=c-49|0;if((e|0)>=q[a+12>>2]){break t}d=q[((e<<3)+a|0)+20>>2];if((d|0)!=-1){break s}}e=ni(q[a+8>>2],131979,0);d=q[((e<<3)+a|0)+20>>2]}h=0;if(q[a+4>>2]-b>>>0>>0){break c}if(ej(q[((e<<3)+a|0)+16>>2],b,d)|!b){break c}c=f+2|0;b=b+d|0;continue b}if(!r[f+1|0]){break i}i=f+1|0;c=i;break j}i=f+1|0;c=i;if((d|0)!=91){break j}c=r[f+1|0]==94;d=c?f+2|0:i;e=r[f+(c?2:1)|0];while(1){c=d+1|0;if(!(e&255)){ni(q[a+8>>2],131947,0);e=r[d|0]}if(!((e&255)!=37)){c=r[d+1|0]?d+2|0:c}d=c;e=r[d|0];if((e|0)!=93){continue}break}c=d+1|0}d=0;if(t[a+4>>2]<=b>>>0){break f}h=r[b|0];g=1;u:{v:{w:{d=o[f|0];switch(d-37|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;case 0:break w;case 9:break g;default:break v}}g=Bo(h,r[i|0]);break g}if((d|0)==91){break h}}g=(h|0)==(d&255);break g}h=q[a+4>>2]==(b|0)?b:0;break c}j=r[f+1|0];g=(j|0)==94;d=g?i:f;e=d+1|0;l=c-1|0;if(e>>>0>=l>>>0){break g}j=(j|0)!=94;while(1){k=r[d+2|0];x:{y:{m=r[d+1|0];if((m|0)==37){if(!Bo(h,k)){break y}g=j;break g}z:{if((k|0)!=45){break z}d=d+3|0;if(l>>>0<=d>>>0){break z}if(h>>>0>>0|h>>>0>r[d|0]){break x}g=j;break g}d=e;if((h|0)!=(m|0)){break x}g=j;break g}d=d+2|0}e=d+1|0;if(l>>>0>e>>>0){continue}break}}d=(g|0)!=0}g=o[c|0];if((g|0)!=63){A:{switch(g-42|0){case 3:m=c+1|0;h=kn(a,b,m);if(h){break c}n=c-1|0;while(1){h=0;if(t[a+4>>2]<=b>>>0){break c}e=r[b|0];B:{C:{D:{E:{F:{G:{c=o[f|0];switch(c-37|0){case 9:break B;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break E;case 0:break G;default:break F}}c=Bo(e,r[i|0]);break C}if((c|0)==91){break D}}c=(e|0)==(c&255);break C}g=r[f+1|0];c=(g|0)==94;d=c?i:f;j=d+1|0;if(n>>>0<=j>>>0){break C}g=(g|0)!=94;while(1){l=r[d+2|0];H:{I:{k=r[d+1|0];if((k|0)==37){if(!Bo(e,l)){break I}c=g;break C}J:{if((l|0)!=45){break J}d=d+3|0;if(n>>>0<=d>>>0){break J}if(e>>>0>>0|e>>>0>r[d|0]){break H}c=g;break C}d=j;if((e|0)!=(k|0)){break H}c=g;break C}d=d+2|0}j=d+1|0;if(n>>>0>j>>>0){continue}break}}if(!c){break c}}b=b+1|0;h=kn(a,b,m);if(!h){continue}break}break c;default:if(!d){return 0}b=n;continue b;case 1:h=0;if(!d){break c}return OD(a,b+1|0,f,c);case 0:break A}}return OD(a,b,f,c)}if(d){h=kn(a,n,c+1|0);if(h){break c}}c=c+1|0;continue}c=r[f+3|0]==94;d=c?f+4|0:i;e=r[f+(c?4:3)|0];while(1){c=d+1|0;if(!(e&255)){ni(q[a+8>>2],131947,0);e=r[d|0]}if(!((e&255)!=37)){c=r[d+1|0]?d+2|0:c}d=c;e=r[d|0];if((e|0)!=93){continue}break}c=d+1|0}h=0;d=0;d=q[a>>2]!=(b|0)?r[s|0]:d;j=f+2|0;g=r[i|0];f=(g|0)==94;e=f?i:j;i=e+1|0;l=c-1|0;if(i>>>0>=l>>>0){break c}k=d&255;g=(g|0)!=94;j=i;d=e;K:{while(1){m=r[d+2|0];L:{M:{p=r[d+1|0];if((p|0)==37){if(!Bo(k,m)){break M}d=g;break K}N:{if((m|0)!=45){break N}d=d+3|0;if(l>>>0<=d>>>0){break N}if(k>>>0

>>0|k>>>0>r[d|0]){break L}d=g;break K}d=j;if((k|0)!=(p|0)){break L}d=g;break K}d=d+2|0}j=d+1|0;if(l>>>0>j>>>0){continue}break}d=f}if(d){break c}d=r[b|0];O:{while(1){j=r[e+2|0];k=r[e+1|0];P:{if((k|0)==37){if(Bo(d,j)){break O}e=e+2|0;break P}Q:{if((j|0)!=45){break Q}e=e+3|0;if(l>>>0<=e>>>0){break Q}if(d>>>0>>0|d>>>0>r[e|0]){break P}break O}e=i;if((d|0)==(k|0)){break O}}i=e+1|0;if(l>>>0>i>>>0){continue}break}g=f}if(g){continue}}break}break}return h}q[a+12>>2]=q[a+12>>2]-1;return 0}function Xra(a,b,c){var d=0,e=0,f=0,g=0;d=fi-800|0;fi=d;g=-56;a:{if(c>>>0>384){break a}g=0;qi(d+384|0,0,416);Qr(d+8|0);o[d+407|0]=48;o[d+403|0]=c;o[d+402|0]=c>>>8;p[d+400>>1]=0;o[si(d+408|0,b,c)+c|0]=128;q[d+328>>2]=454695192;q[d+332>>2]=522067228;q[d+320>>2]=319951120;q[d+324>>2]=387323156;q[d+312>>2]=185207048;q[d+316>>2]=252579084;q[d+304>>2]=50462976;q[d+308>>2]=117835012;e=oq(d+8|0,d+304|0,256);b:{if(e){break b}q[d+296>>2]=0;q[d+300>>2]=0;q[d+288>>2]=0;q[d+292>>2]=0;b=d+384|0;f=c+25|0;c=f;while(1){if(c){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];e=c-16|0;c=c>>>0>>0?0:e;b=b+16|0;e=nm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+344>>2]=q[d+296>>2];q[d+348>>2]=b;b=q[d+292>>2];q[d+336>>2]=q[d+288>>2];q[d+340>>2]=b;q[d+288>>2]=0;q[d+292>>2]=0;q[d+296>>2]=0;q[d+300>>2]=0;o[d+387|0]=r[d+387|0]+1;b=d+384|0;c=f;while(1){if(c){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];e=c-16|0;c=c>>>0>>0?0:e;b=b+16|0;e=nm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+360>>2]=q[d+296>>2];q[d+364>>2]=b;b=q[d+292>>2];q[d+352>>2]=q[d+288>>2];q[d+356>>2]=b;q[d+288>>2]=0;q[d+292>>2]=0;q[d+296>>2]=0;q[d+300>>2]=0;o[d+387|0]=r[d+387|0]+1;b=d+384|0;while(1){if(f){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];c=f-16|0;f=c>>>0>f>>>0?0:c;b=b+16|0;e=nm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+376>>2]=q[d+296>>2];q[d+380>>2]=b;b=q[d+292>>2];q[d+368>>2]=q[d+288>>2];q[d+372>>2]=b;o[d+387|0]=r[d+387|0]+1;e=oq(d+8|0,d+336|0,256);if(e){break b}b=d+368|0;e=nm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=e;o[a+9|0]=e>>>8;o[a+10|0]=e>>>16;o[a+11|0]=e>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;e=nm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a+16|0]=e;o[a+17|0]=e>>>8;o[a+18|0]=e>>>16;o[a+19|0]=e>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+24|0]=e;o[a+25|0]=e>>>8;o[a+26|0]=e>>>16;o[a+27|0]=e>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;e=nm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a+32|0]=e;o[a+33|0]=e>>>8;o[a+34|0]=e>>>16;o[a+35|0]=e>>>24;o[a+36|0]=c;o[a+37|0]=c>>>8;o[a+38|0]=c>>>16;o[a+39|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+40|0]=b;o[a+41|0]=b>>>8;o[a+42|0]=b>>>16;o[a+43|0]=b>>>24;o[a+44|0]=c;o[a+45|0]=c>>>8;o[a+46|0]=c>>>16;o[a+47|0]=c>>>24;e=0}b=d+8|0;if(b){ji[q[66742]](b,0,280)|0}ji[q[66742]](d+384|0,0,416)|0;ji[q[66742]](d+336|0,0,48)|0;ji[q[66742]](d+304|0,0,32)|0;ji[q[66742]](d+288|0,0,16)|0;if(!e){break a}ji[q[66742]](a,0,48)|0;g=e}fi=d+800|0;return g}function tk(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,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;l=fi-96|0;fi=l;p=c;v=(g&131071)<<15|f>>>17;j=i&65535;t=j;k=h;D=k<<15|g>>>17;n=(e^i)&-2147483648;o=e&65535;x=o;m=d;y=o;o=0;E=(j&131071)<<15|k>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){j=0;if(F-1>>>0<32766){break b}}r=e&2147483647;w=r;j=d;if(!(!j&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;n=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;n=i|32768;b=f;c=g;break a}if(!(b|j|(w^2147418112|c))){if(!(d|f|(g|r))){n=2147450880;b=0;c=0;break a}n=n|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|j;e=c|w;b=0;c=0;if(!(d|e)){n=2147450880;break a}n=n|2147418112;break a}if(!(b|j|(c|w))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((w|0)==65535|w>>>0<65535){h=b;i=c;d=!(m|x);e=d<<6;j=z(d?b:m)+32|0;b=z(d?c:x);b=e+((b|0)==32?j:b)|0;Zl(l+80|0,h,i,m,x,b-15|0);m=q[l+88>>2];p=q[l+84>>2];y=q[l+92>>2];u=16-b|0;b=q[l+80>>2]}j=u;if(r>>>0>65535){break b}c=!(k|t);d=c<<6;e=z(c?f:k)+32|0;c=z(c?g:t);c=d+((c|0)==32?e:c)|0;i=c;Zl(l- -64|0,f,g,k,t,c-15|0);e=q[l+76>>2];c=e;h=q[l+72>>2];d=h;d=d<<15;e=q[l+68>>2];D=e>>>17|d;d=0;f=q[l+64>>2];v=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;j=(u-i|0)+16|0}u=j;d=v;c=b;t=0;r=jwa(d,0,b,t);b=ii;G=b;e=f;B=e<<15&-32768;k=p;g=jwa(B,0,k,0);f=g+r|0;e=ii+b|0;e=f>>>0>>0?e+1|0:e;h=f;j=f;i=0;g=jwa(c,t,B,C);f=i+g|0;b=j;j=j+ii|0;j=f>>>0>>0?j+1|0:j;v=f;g=j;J=(b|0)==(j|0)&f>>>0>>0|b>>>0>j>>>0;N=jwa(d,s,k,H);K=ii;p=m;f=jwa(B,C,m,0);b=f+N|0;j=ii+K|0;O=b;m=jwa(D,0,c,t);i=b+m|0;b=b>>>0>>0?j+1|0:j;f=b+ii|0;w=i;f=i>>>0>>0?f+1|0:f;x=f;j=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+w|0;j=f+j|0;r=h;j=h>>>0>>0?j+1|0:j;m=j;e=h;h=j;Q=jwa(d,s,p,P);G=ii;f=B;I=y|65536;B=o;i=jwa(f,C,I,o);f=i+Q|0;j=ii+G|0;j=f>>>0>>0?j+1|0:j;R=f;C=jwa(D,S,k,H);i=f+C|0;o=j;f=j+ii|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=jwa(c,t,E,0);c=L+i|0;t=f;j=f+ii|0;C=c;c=c>>>0>>0?j+1|0:j;y=J;i=0;f=i+e|0;j=h+C|0;J=f;h=f;e=y+f|0;y=f>>>0>>0?j+1|0:j;f=y;f=e>>>0>>0?f+1|0:f;h=e;i=f;u=(u+(F+M|0)|0)-16383|0;f=jwa(p,P,D,S);e=ii;s=jwa(d,s,I,B);d=s+f|0;j=ii+e|0;j=d>>>0>>0?j+1|0:j;s=d;f=(e|0)==(j|0)&f>>>0>d>>>0|e>>>0>j>>>0;e=j;F=f;f=jwa(E,T,k,H);d=f+d|0;j=ii+j|0;j=d>>>0>>0?j+1|0:j;f=d;d=j;k=(j|0)==(e|0)&f>>>0>>0|e>>>0>j>>>0;j=F+k|0;e=0;e=j>>>0>>0?1:e;s=f;k=d;F=j;f=(b|0)==(x|0)&w>>>0>>0|b>>>0>x>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;j=0;j=b>>>0>>0?1:j;f=b;b=s+f|0;j=d+j|0;j=b>>>0>>0?j+1|0:j;H=b;d=j;j=(j|0)==(k|0)&b>>>0>>0|j>>>0>>0;b=F+j|0;f=e;f=b>>>0>>0?f+1|0:f;e=jwa(E,T,I,B);b=e+b|0;j=ii+f|0;s=b;e=b>>>0>>0?j+1|0:j;k=jwa(E,T,p,P);f=ii;p=jwa(D,S,I,B);b=p+k|0;j=ii+f|0;j=b>>>0

>>0?j+1|0:j;p=b;b=j;j=(f|0)==(j|0)&k>>>0>p>>>0|f>>>0>j>>>0;k=b+s|0;e=e+j|0;e=k>>>0>>0?e+1|0:e;s=k;k=0;b=k+H|0;j=d+p|0;j=b>>>0>>0?j+1|0:j;f=j;k=(d|0)==(j|0)&b>>>0>>0|d>>>0>j>>>0;d=s+k|0;j=e;D=d;d=d>>>0>>0?j+1|0:j;p=b;k=f;f=(o|0)==(t|0)&R>>>0>L>>>0|o>>>0>t>>>0;e=f+((o|0)==(G|0)&Q>>>0>R>>>0|o>>>0>>0)|0;f=e;e=f+((c|0)==(t|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+k|0;e=b>>>0>>0?e+1|0:e;o=b;c=b;b=e;e=(e|0)==(k|0)&c>>>0

>>0|e>>>0>>0;c=e+D|0;j=d;j=c>>>0>>0?j+1|0:j;d=c;k=d;e=(m|0)==(y|0)&r>>>0>J>>>0|m>>>0>y>>>0;d=e+((m|0)==(x|0)&r>>>0>>0|m>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;m=d;d=d+o|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0>>0|b>>>0>e>>>0;b=k+c|0;j=b>>>0>>0?j+1|0:j;c=j;c:{if(j&65536){u=u+1|0;break c}m=g>>>31|0;j=c<<1|b>>>31;b=b<<1|e>>>31;c=j;j=e<<1|d>>>31;d=d<<1|i>>>31;e=j;o=v;j=g<<1|o>>>31;v=o<<1;g=j;j=i<<1|h>>>31;h=h<<1|m;i=j}if((u|0)>=32767){n=n|2147418112;b=0;c=0;break a}d:{if((u|0)<=0){f=1-u|0;if(f>>>0>=128){b=0;c=0;break a}j=u+127|0;Zl(l+48|0,v,g,h,i,j);Zl(l+32|0,d,e,b,c,j);gr(l+16|0,v,g,h,i,f);gr(l,d,e,b,c,f);v=(q[l+48>>2]|q[l+56>>2])!=0|(q[l+52>>2]|q[l+60>>2])!=0|(q[l+32>>2]|q[l+16>>2]);g=q[l+36>>2]|q[l+20>>2];h=q[l+40>>2]|q[l+24>>2];i=q[l+44>>2]|q[l+28>>2];d=q[l>>2];e=q[l+4>>2];c=q[l+12>>2];b=q[l+8>>2];break d}c=c&65535|u<<16}A=b|A;n=c|n;if(!(!h&(i|0)==-2147483648?!(g|v):(i|0)>-1)){j=e;b=d+1|0;j=b>>>0<1?j+1|0:j;f=b;c=j;f=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=f+A|0;e=n;A=d;n=d>>>0>>0?e+1|0:e;break a}if(h|v|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;j=e;j=b>>>0>>0?j+1|0:j;f=b;c=j;e=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=e+A|0;j=n;A=d;n=d>>>0>>0?j+1|0:j}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=A;q[a+12>>2]=n;fi=l+96|0}function ym(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,t=0,u=0,v=0,x=0;x=!b;a:{b:{c:{d:{if(q[a+132>>2]>=1){f=q[a>>2];if(q[f+44>>2]!=2){break b}if(s[a+148>>1]|s[a+152>>1]|(s[a+156>>1]|s[a+160>>1])){break c}if(s[a+164>>1]|s[a+168>>1]|(s[a+172>>1]|s[a+204>>1])){break c}if(s[a+208>>1]|s[a+212>>1]|(s[a+216>>1]|s[a+220>>1])){break c}if(s[a+224>>1]|s[a+228>>1]|(s[a+232>>1]|s[a+236>>1])){break c}if(s[a+240>>1]|s[a+244>>1]|(s[a+248>>1]|s[a+260>>1])){break c}if(s[a+272>>1]|(s[a+264>>1]|s[a+268>>1])){break c}e=1;if(!s[a+184>>1]){break d}break c}e=c+5|0;f=e;break a}if(s[a+188>>1]|s[a+200>>1]){break c}g=32;while(1){if(s[((g<<2)+a|0)+148>>1]){break c}g=g+1|0;if((g|0)!=256){continue}break}e=0}q[f+44>>2]=e}KA(a,a+2840|0);KA(a,a+2852|0);f=s[a+150>>1];l=q[a+2844>>2];p[((l<<2)+a|0)+154>>1]=65535;e=0;if((l|0)>=0){k=f?7:138;m=f?4:3;n=a+2752|0;t=a+2756|0;u=a+2748|0;g=-1;while(1){h=f;v=j;j=j+1|0;f=s[((j<<2)+a|0)+150>>1];i=e+1|0;e:{if(!((h|0)!=(f|0)|(i|0)>=(k|0))){e=i;break e}f:{if((i|0)<(m|0)){e=((h<<2)+a|0)+2684|0;g=i+s[e>>1]|0;break f}if(h){if((g|0)!=(h|0)){e=((h<<2)+a|0)+2684|0;p[e>>1]=s[e>>1]+1}e=u;g=s[e>>1]+1|0;break f}if((e|0)<=9){e=n;g=s[e>>1]+1|0;break f}e=t;g=s[e>>1]+1|0}p[e>>1]=g;e=0;g:{if(!f){m=3;k=138;break g}g=(f|0)==(h|0);m=g?3:4;k=g?6:7}g=h}if((l|0)!=(v|0)){continue}break}}f=s[a+2442>>1];l=q[a+2856>>2];p[((l<<2)+a|0)+2446>>1]=65535;e=0;if((l|0)>=0){k=f?7:138;m=f?4:3;n=a+2752|0;t=a+2756|0;u=a+2748|0;g=-1;j=0;while(1){h=f;v=j;j=j+1|0;f=s[((j<<2)+a|0)+2442>>1];i=e+1|0;h:{if(!((h|0)!=(f|0)|(i|0)>=(k|0))){e=i;break h}i:{if((i|0)<(m|0)){e=((h<<2)+a|0)+2684|0;g=i+s[e>>1]|0;break i}if(h){if((g|0)!=(h|0)){e=((h<<2)+a|0)+2684|0;p[e>>1]=s[e>>1]+1}e=u;g=s[e>>1]+1|0;break i}if((e|0)<=9){e=n;g=s[e>>1]+1|0;break i}e=t;g=s[e>>1]+1|0}p[e>>1]=g;e=0;j:{if(!f){m=3;k=138;break j}g=(f|0)==(h|0);m=g?3:4;k=g?6:7}g=h}if((l|0)!=(v|0)){continue}break}}KA(a,a+2864|0);g=a;h=q[a+5800>>2];e=18;k:{if(s[a+2746>>1]){break k}e=17;if(s[a+2690>>1]){break k}e=16;if(s[a+2742>>1]){break k}e=15;if(s[a+2694>>1]){break k}e=14;if(s[a+2738>>1]){break k}e=13;if(s[a+2698>>1]){break k}e=12;if(s[a+2734>>1]){break k}e=11;if(s[a+2702>>1]){break k}e=10;if(s[a+2730>>1]){break k}e=9;if(s[a+2706>>1]){break k}e=8;if(s[a+2726>>1]){break k}e=7;if(s[a+2710>>1]){break k}e=6;if(s[a+2722>>1]){break k}e=5;if(s[a+2714>>1]){break k}e=4;if(s[a+2718>>1]){break k}e=s[a+2686>>1]?3:2}j=e;e=h+w(e,3)|0;q[g+5800>>2]=e+17;f=e+27>>>3|0;e=q[a+5804>>2]+10>>>3|0;f=e>>>0>f>>>0?f:e}l:{if(!(x|f>>>0>>0)){fM(a,b,c,d);break l}c=q[a+5820>>2];if(!(q[a+136>>2]!=4?(e|0)!=(f|0):0)){e=d+2&65535;f=s[a+5816>>1]|e<>1]=f;b=a;m:{if((c|0)>=14){c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=f;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=r[a+5817|0];c=q[a+5820>>2];p[a+5816>>1]=e>>>16-c;c=c-13|0;break m}c=c+3|0}q[b+5820>>2]=c;xL(a,181888,183040);break l}b=d+4&65535;e=s[a+5816>>1]|b<=14){p[a+5816>>1]=e;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=e;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=r[a+5817|0];c=q[a+5820>>2];f=c-13|0;e=b>>>16-c|0;break n}f=c+3|0}q[a+5820>>2]=f;h=q[a+2844>>2];g=h+65280&65535;b=g<>2];o:{if((f|0)>=12){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-11|0;b=g>>>16-b|0;break o}f=f+5|0;b=b|e}q[a+5820>>2]=f;g=c&65535;e=g<=12){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-11|0;b=g>>>16-b|0;break p}f=f+5|0;b=b|e}q[a+5820>>2]=f;g=j+65533&65535;e=g<=13){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-12|0;g=g>>>16-b|0;break q}f=f+4|0;g=b|e}q[a+5820>>2]=f;e=0;k=a+5817|0;while(1){i=s[((r[e+183504|0]<<2)+a|0)+2686>>1];g=i<>1]=g;b=a;r:{if((f|0)>=14){f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=g;f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=r[k|0];f=q[a+5820>>2];g=i>>>16-f|0;p[a+5816>>1]=g;f=f-13|0;break r}f=f+3|0}q[b+5820>>2]=f;b=(e|0)!=(j|0);e=e+1|0;if(b){continue}break}b=a+148|0;wC(a,b,h);e=a+2440|0;wC(a,e,c);xL(a,b,e)}oE(a);if(d){b=q[a+5820>>2];s:{t:{if((b|0)>=9){b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];b=q[a+20>>2];q[a+20>>2]=b+1;f=b+q[a+8>>2]|0;b=r[a+5817|0];break t}if((b|0)<1){break s}b=q[a+20>>2];q[a+20>>2]=b+1;f=b+q[a+8>>2]|0;b=r[a+5816|0]}o[f|0]=b}q[a+5820>>2]=0;p[a+5816>>1]=0}}function GJ(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,r=0,s=0;f=fi-32|0;fi=f;c=q[a>>2];l=q[c+4>>2];m=xi(w(l,24));i=a;a:{if(l){b:{c:{if(q[c+4>>2]){while(1){e=w(b,24)+m|0;c=q[c>>2]+w(b,52)|0;q[e>>2]=li(q[c>>2]);q[e+4>>2]=ii;j=q[c+4>>2];q[e+8>>2]=j;g=e;e=q[c+8>>2];o[g+12|0]=e;e=e&255;if(!e){break c}k=!h;d:{e:{switch(j|0){case 3:g=c+32|0;break d;case 4:case 5:case 6:g=c+24|0;break d;case 7:g=c+40|0;break d;case 8:g=c+48|0;break d;default:J(54696,54458,74,54761);G();case 0:case 1:case 2:break e}}g=c+16|0}e=t[g>>2]/(e>>>0)|0;c=k&e>>>0>d>>>0;d=c?e:d;h=c?0:h;b=b+1|0;if((l|0)==(b|0)){break b}c=q[a>>2];if(t[c+4>>2]>b>>>0){continue}break}}break a}J(54430,54458,124,54498);G()}}q[i+16>>2]=d;d=uv(d,m,l&255,a+4|0);f:{if(!d){g:{h:{i:{if(l){while(1){d=q[a>>2];if(t[d+4>>2]<=n>>>0){break a}d=q[d>>2];q[f+28>>2]=0;q[f+24>>2]=0;q[f+20>>2]=0;q[f+16>>2]=0;i=w(n,24)+m|0;if(Rs(q[a+4>>2],q[i>>2],q[i+4>>2],f+28|0,f+24|0,f+20|0,f+16|0)){break h}j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{i=d+w(n,52)|0;switch(q[i+4>>2]){case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 4:break o;case 3:break p;case 2:break q;case 1:break r;case 0:break s;default:break i}}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;t:{if(g>>>0>=t[i+16>>2]){o[b+c|0]=0;mi(4,54510,54775,0);break t}o[b+c|0]=q[q[i+12>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=c+j|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;u:{if(g>>>0>=t[i+16>>2]){p[(b<<1)+c>>1]=0;mi(4,54510,54775,0);break u}p[(b<<1)+c>>1]=q[q[i+12>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<1)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;v:{if(g>>>0>=t[i+16>>2]){q[(b<<2)+c>>2]=0;mi(4,54510,54775,0);break v}q[(b<<2)+c>>2]=q[q[i+12>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<2)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;w:{if(g>>>0>=t[i+32>>2]){g=(b<<3)+c|0;q[g>>2]=0;q[g+4>>2]=0;mi(4,54510,54775,0);break w}g=q[i+28>>2]+(g<<3)|0;s=q[g+4>>2];r=(b<<3)+c|0;q[r>>2]=q[g>>2];q[r+4>>2]=s}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<3)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;x:{if(g>>>0>=t[i+24>>2]){o[b+c|0]=0;mi(4,54510,54775,0);break x}o[b+c|0]=q[q[i+20>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=c+j|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;y:{if(g>>>0>=t[i+24>>2]){p[(b<<1)+c>>1]=0;mi(4,54510,54775,0);break y}p[(b<<1)+c>>1]=q[q[i+20>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<1)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;z:{if(g>>>0>=t[i+24>>2]){q[(b<<2)+c>>2]=0;mi(4,54510,54775,0);break z}q[(b<<2)+c>>2]=q[q[i+20>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<2)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;A:{if(g>>>0>=t[i+40>>2]){g=(b<<3)+c|0;q[g>>2]=0;q[g+4>>2]=0;mi(4,54510,54775,0);break A}g=q[i+36>>2]+(g<<3)|0;s=q[g+4>>2];r=(b<<3)+c|0;q[r>>2]=q[g>>2];q[r+4>>2]=s}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<3)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break j}h=q[f+24>>2];if(!h){break j}e=q[f+20>>2];if(!e){break j}j=q[f+16>>2];d=0;c=q[f+28>>2];while(1){k=w(d,e);b=0;while(1){g=b+k|0;B:{if(g>>>0>=t[i+48>>2]){q[(b<<2)+c>>2]=0;mi(4,54510,54775,0);break B}u[(b<<2)+c>>2]=u[q[i+44>>2]+(g<<2)>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}c=(j<<2)+c|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}n=n+1|0;if((n|0)!=(l|0)){continue}break}}ki(m);b=1;break f}mi(4,54510,54547,0);b=0;break g}mi(4,54510,54592,0);b=0}ki(m);break f}q[f>>2]=d;mi(4,54510,54518,f);ki(m);b=0}fi=f+32|0;return b}J(54638,54650,99,54685);G()}function Uo(a){var b=0,c=0,d=0,e=0;b=w(q[a+4>>2],1540483477);b=w(b>>>24^b,1540483477);q[a+4>>2]=b;c=w(b^w(q[a>>2],1540483477),1540483477);b=w(q[a+12>>2],1540483477);b=c^w(b>>>24^b,1540483477);b=w(b>>>13^b,1540483477);q[a>>2]=b>>>15^b;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b:{c:{d:{e:{if(!(!r[851668]|!q[a+16>>2]|t[a+12>>2]>1024)){f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}e=q[212916];tj(e);g:{if(o[851768]&1){break g}if(!ui(851768)){break g}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b=q[a>>2];h:{i:{c=q[212919];j:{if(!c){break j}c=q[q[212918]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break j}d=q[212920];while(1){c=d+(c<<4)|0;if(q[c>>2]==(b|0)){break i}c=q[c+12>>2];if((c|0)!=-1){continue}break}}if(q[212924]==q[212922]-q[212920]>>4){k:{if(o[851768]&1){break k}if(!ui(851768)){break k}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b=q[212922]-q[212920]>>4;l:{if(o[851768]&1){break l}if(!ui(851768)){break l}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}Ou(851672,1024,b+256|0);b=q[a>>2]}m:{if(o[851768]&1){break m}if(!ui(851768)){break m}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}d=q[a+16>>2];c=q[212934];if(d>>>0>=q[212935]-c>>3>>>0){break b}zz(851672,b,c+(d<<3)|0);break h}n:{if(o[851768]&1){break n}if(!ui(851768)){break n}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}c=q[a+16>>2];b=q[212934];if(c>>>0>=q[212935]-b>>3>>>0){break b}ki(q[b+(c<<3)>>2])}o:{if(o[851768]&1){break o}if(!ui(851768)){break o}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}c=q[a+16>>2];if(!c){break e}d=q[212938];if(!d){break d}b=q[212940]-1|0;if(b>>>0>=t[212939]){break c}q[212940]=b;q[d+(b<<2)>>2]=c;q[a+16>>2]=0;lj(e)}return q[a>>2]}J(150510,150161,131,150526);G()}J(150377,150352,140,150408);G()}J(150413,150352,141,150408);G()}J(150666,150264,447,150677);G()}function TB(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(q[a+18388>>2]){break a}b:{if(q[a+18368>>2]>15){break b}while(1){f=0;c:{if(q[a+18376>>2]){break c}e=q[a>>2];g=q[e+172>>2];d:{if(g>>>0>2]){q[e+172>>2]=g+1;f=r[g|0];break d}if(!q[e+32>>2]){break c}g=e+40|0;f=ji[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);e:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break e}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41}if((f&255)!=255){break c}f=q[a>>2];e=q[f+172>>2];f:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break f}if(!q[f+32>>2]){e=0;break f}g=f+40|0;e=ji[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);g:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;g=f+41|0;e=0;break g}g=e+g|0;e=r[f+40|0]}q[f+176>>2]=g;q[f+172>>2]=f+41}while(1){f=255;if((e|0)!=255){if(!e){break c}q[a+18376>>2]=1;o[a+18372|0]=e;break b}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}g=f+40|0;e=ji[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);h:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;g=f+41|0;e=0;break h}g=e+g|0;e=r[f+40|0]}q[f+176>>2]=g;q[f+172>>2]=f+41;continue}}e=q[a+18368>>2];q[a+18368>>2]=e+8;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-e;if((e|0)<17){continue}break}}if(!q[a+18392>>2]){i=qi(b,0,128);h=or(a,c);f=h;i:{j:{switch(f+1|0){case 0:break a;case 1:break i;default:break j}}k:{if((h|0)<=q[a+18368>>2]){break k}while(1){f=0;l:{if(q[a+18376>>2]){break l}b=q[a>>2];c=q[b+172>>2];m:{if(c>>>0>2]){q[b+172>>2]=c+1;f=r[c|0];break m}if(!q[b+32>>2]){break l}g=b+40|0;e=ji[q[b+16>>2]](q[b+28>>2],g,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;n:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break n}f=r[b+40|0];e=e+g|0}q[c+176>>2]=e;q[b+172>>2]=b+41}if((f&255)!=255){break l}b=q[a>>2];c=q[b+172>>2];o:{if(c>>>0>2]){q[b+172>>2]=c+1;e=r[c|0];break o}if(!q[b+32>>2]){e=0;break o}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);p:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;e=0;break p}g=c+e|0;e=r[b+40|0]}q[b+176>>2]=g;q[b+172>>2]=b+41}while(1){f=255;if((e|0)!=255){if(!e){break l}q[a+18376>>2]=1;o[a+18372|0]=e;break k}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;e=r[c|0];continue}e=0;if(!q[b+32>>2]){continue}e=b+40|0;c=ji[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);q:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;e=0;break q}g=c+e|0;e=r[b+40|0]}q[b+176>>2]=g;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-b;if((b|0)<17){continue}break}}f=0;if(h>>>0>16){break i}b=q[a+18364>>2];q[a+18368>>2]=q[a+18368>>2]-h;c=owa(b,h);e=h<<2;f=q[e+154528>>2];q[a+18364>>2]=c&(f^-1);f=(q[e+154704>>2]&(b>>31^-1))+(c&f)|0}c=(w(d,72)+a|0)+18100|0;b=q[c>>2]+f|0;q[c>>2]=b;p[i>>1]=b<>2];return 1}g=q[a+18368>>2];r:{if((g|0)>0){break r}while(1){f=0;s:{if(q[a+18376>>2]){break s}c=q[a>>2];d=q[c+172>>2];t:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break t}if(!q[c+32>>2]){break s}g=c+40|0;e=ji[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;u:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break u}f=r[c+40|0];e=e+g|0}q[d+176>>2]=e;q[c+172>>2]=c+41}if((f&255)!=255){break s}c=q[a>>2];d=q[c+172>>2];v:{if(d>>>0>2]){q[c+172>>2]=d+1;e=r[d|0];break v}if(!q[c+32>>2]){e=0;break v}e=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);w:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;e=0;break w}g=d+e|0;e=r[c+40|0]}q[c+176>>2]=g;q[c+172>>2]=c+41}while(1){f=255;if((e|0)!=255){if(!e){break s}q[a+18376>>2]=1;o[a+18372|0]=e;g=q[a+18368>>2];break r}c=q[a>>2];d=q[c+172>>2];if(d>>>0>2]){q[c+172>>2]=d+1;e=r[d|0];continue}e=0;if(!q[c+32>>2]){continue}e=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);x:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;e=0;break x}g=d+e|0;e=r[c+40|0]}q[c+176>>2]=g;q[c+172>>2]=c+41;continue}}c=q[a+18368>>2];g=c+8|0;q[a+18368>>2]=g;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-c;if((c|0)<17){continue}break}}q[a+18368>>2]=g-1;c=q[a+18364>>2];q[a+18364>>2]=c<<1;if((c|0)<=-1){p[b>>1]=s[b>>1]+(65536<>2]>>>16|0)}return 1}q[212945]=154250;return 0}function eJ(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,p=x(0),s=0;e=fi-192|0;fi=e;g=q[c>>2];q[b+16>>2]=q[c+4>>2];q[b+320>>2]=q[g+76>>2];a:{b:{c:{d:{e:{f:{g:{if(q[c+12>>2]!=q[c+8>>2]){while(1){if(t[g+8>>2]<=d>>>0){break g}f=d<<3;i=q[f+q[g+4>>2]>>2];h=li(i);j=ii;l=q[c+8>>2];if(q[c+12>>2]-l>>2>>>0<=d>>>0){break a}k=q[c+24>>2];if(q[c+28>>2]-k>>3>>>0<=d>>>0){break a}f=f+k|0;f=UI(b,h,j,q[l+(d<<2)>>2],q[f>>2],q[f+4>>2]);if(f){break e}d=d+1|0;if(d>>>0>2]-q[c+8>>2]>>2>>>0){continue}break}}h=q[c+56>>2];if((h|0)!=q[c+60>>2]){d=0;while(1){f=q[q[g+92>>2]+(d<<3)>>2];i=Zba(b,f,q[(d<<2)+h>>2]);if(i){q[e+116>>2]=i;q[e+112>>2]=f;mi(4,38938,40401,e+112|0);a=0;break d}d=d+1|0;h=q[c+56>>2];if(d>>>0>2]-h>>2>>>0){continue}break}}h:{i:{d=q[c+40>>2];if((d|0)==q[c+44>>2]){break i}f=0;while(1){if(t[g+16>>2]<=f>>>0){break h}h=f<<3;i=h+d|0;d=q[i+4>>2];i=q[i>>2];h=q[h+q[g+12>>2]>>2];d=TI(b,li(h),ii,i?i:d,i?2:1,ji[q[74969]](d)|0,ji[q[74970]](d)|0);if(!d){f=f+1|0;d=q[c+40>>2];if(f>>>0>=q[c+44>>2]-d>>3>>>0){break i}continue}break}q[e+100>>2]=d;q[e+96>>2]=h;mi(4,38938,40449,e+96|0);a=0;break d}j:{k:{d=q[g+60>>2];if(!d){break k}c=0;while(1){f=q[q[g+56>>2]+(c<<2)>>2];i=$ba(b,f);if(!i){c=c+1|0;if((d|0)==(c|0)){break k}if(t[g+60>>2]>c>>>0){continue}break j}break}q[e+84>>2]=i;q[e+80>>2]=f;mi(4,38938,40490,e+80|0);a=0;break d}l:{m:{i=q[g+72>>2];if(!i){break m}Yba(b,q[g+52>>2],i);c=0;while(1){if(t[g+72>>2]<=c>>>0){break l}d=q[q[g+68>>2]+w(c,12)>>2];f=_ba(b,d);if(!f){c=c+1|0;if((i|0)==(c|0)){break m}continue}break}q[e+68>>2]=f;q[e+64>>2]=d;mi(4,38938,40529,e- -64|0);a=0;break d}n:{c=q[g+52>>2];o:{if(!c){a=1;break o}n=i&65535;l=1;f=0;while(1){if(c>>>0<=f>>>0){break n}c=q[g+48>>2]+w(f,304)|0;h=q[c+292>>2];d=q[c+80>>2];j=q[c+48>>2];k=q[c+52>>2];p=u[c+56>>2];m=q[c+4>>2];s=q[c>>2];u[e+152>>2]=u[c+8>>2];q[e+144>>2]=s;q[e+148>>2]=m;u[e+184>>2]=p;q[e+176>>2]=j;q[e+180>>2]=k;j=Fz(b,e+144|0,e+176|0,d,h);p:{if(!j){l=0;break p}k=q[c+100>>2];if(k){A8(b,j,k)}if(!fJ(b,j,c)){a=0;break d}if(!i){break p}mI(b,j,c,0,n)}q:{if((d|0)!=6){break q}m=HI(b,j);r:{s:{k=q[a+100>>2];d=q[k+20>>2];t:{if(!d){break t}d=q[q[k+16>>2]+((h>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break t}k=q[k+24>>2];while(1){d=k+w(d,12)|0;if((h|0)==q[d>>2]){break s}d=q[d+8>>2];if((d|0)!=-1){continue}break}}d=0;if(r[293936]){break r}o[293936]=1;q[e+48>>2]=h;mi(4,38938,39766,e+48|0);break r}d=q[d+4>>2]}k=q[d+28>>2];if(!k){break q}q[e+156>>2]=j;q[e+152>>2]=b;d=q[d+4>>2];q[e+160>>2]=h;q[e+144>>2]=m;q[e+148>>2]=d;ji[k|0](e+176|0,e+144|0,c)}c=q[g+52>>2];f=f+1|0;if(c>>>0>f>>>0){continue}break}a=0;if(!l){break o}a=1;if(!c){break o}d=0;while(1){if(c>>>0<=d>>>0){break b}f=q[g+48>>2]+w(d,304)|0;j=Uu(b,q[f+100>>2]);c=0;h=q[f+168>>2];u:{if(!h|!r[h|0]){break u}c=Uu(b,h);if(c){break u}q[e+32>>2]=q[f+168>>2];mi(4,38938,40569,e+32|0);c=0;a=0}Mq(b,j,c,0);c=q[g+52>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}}if(!i){break d}f=q[g+72>>2];d=0;while(1){if(d>>>0>>0){j=w(d,12);l=Jba(b,li(q[j+q[g+68>>2]>>2]),ii);f=q[g+72>>2];if(f>>>0<=d>>>0){break c}c=0;h=q[g+68>>2];if(q[(j+h|0)+8>>2]){while(1){f=q[(h+j|0)+4>>2]+w(c,304)|0;h=Uu(b,q[f+100>>2]);v:{if(h){mI(b,h,f,l,l);break v}q[e+16>>2]=q[f+100>>2];mi(4,38938,40618,e+16|0)}f=q[g+72>>2];if(f>>>0<=d>>>0){break c}c=c+1|0;h=q[g+68>>2];if(c>>>0>2]){continue}break}}d=d+1|0;if((i|0)!=(d|0)){continue}break f}break}break c}break b}break c}J(39714,40677,268,39510);G()}J(39714,40677,251,39510);G()}J(39714,40677,243,39510);G()}c=e+152|0;q[c>>2]=0;q[c+4>>2]=0;q[e+144>>2]=0;q[e+148>>2]=0;g=i+1|0;vi(g,8,e+144|0,c,e+144|4);w:{if(g>>>0>>0){break w}c=0;while(1){x:{d=II(b,c&65535,e+176|0);if(!d){d=q[e+148>>2];if((d|0)!=q[e+152>>2]){break x}J(39443,39220,501,39467);G()}q[e>>2]=d;mi(4,38938,39940,e);break w}q[e+148>>2]=d+8;f=q[e+180>>2];q[d>>2]=q[e+176>>2];q[d+4>>2]=f;c=c+1|0;if(g>>>0>(c&65535)>>>0){continue}break}}c=q[b+12>>2];q[e+140>>2]=q[c+20>>2];q[e+136>>2]=q[c+24>>2];g=q[q[b+12>>2]+176>>2];c=jG(g,q[e+140>>2],q[e+136>>2],0,e+144|0);d=ii;if((c|0)!=q[213720]|(d|0)!=q[213721]){mG(g,c,d,e+176|0);g=q[e+176>>2];q[b+364>>2]=q[e+180>>2];q[b+360>>2]=g;o[b+358|0]=r[b+358|0]|1;rI(b,c,d)}if(o[e+156|0]&1){break d}b=q[e+144>>2];if(!b){break d}ki(b);break d}q[e+132>>2]=f;q[e+128>>2]=i;mi(4,38938,40363,e+128|0);a=0}fi=e+192|0;return a&1}J(39714,40677,277,39510);G()}J(39714,40677,260,39510);G()}J(39499,39220,447,39510);G()}function Mr(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);i=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);m=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);n=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);o=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);p=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);g=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);h=q[a+12>>2];j=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);C=q[a+8>>2];s=q[a+20>>2];k=q[a+16>>2];c=h+owa(((j+C|0)+(s^(s^k)&h)|0)-680876936|0,7)|0;t=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);u=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);e=owa(((p+s|0)+(c&(h^k)^k)|0)-389564586|0,12)+c|0;d=owa(((u+k|0)+(e&(c^h)^h)|0)+606105819|0,17)+e|0;f=owa(((h+t|0)+(c^d&(c^e))|0)-1044525330|0,22)+d|0;c=owa(((c+l|0)+(e^f&(d^e))|0)-176418897|0,7)+f|0;v=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);w=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);e=owa(((e+g|0)+(d^c&(d^f))|0)+1200080426|0,12)+c|0;d=owa(((d+w|0)+(f^e&(c^f))|0)-1473231341|0,17)+e|0;f=owa(((f+v|0)+(c^d&(c^e))|0)-45705983|0,22)+d|0;c=owa(((c+i|0)+(e^f&(d^e))|0)+1770035416|0,7)+f|0;x=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);y=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);e=owa(((e+n|0)+(d^c&(d^f))|0)-1958414417|0,12)+c|0;d=owa(((y+d|0)+(f^e&(c^f))|0)-42063|0,17)+e|0;f=owa(((f+x|0)+(c^d&(c^e))|0)-1990404162|0,22)+d|0;c=owa(((c+m|0)+(e^f&(d^e))|0)+1804603682|0,7)+f|0;z=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);B=c+p|0;A=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);e=owa(((e+o|0)+(d^c&(d^f))|0)-40341101|0,12)+c|0;b=owa(((A+d|0)+(f^e&(c^f))|0)-1502002290|0,17)+e|0;c=owa(((f+z|0)+(c^b&(c^e))|0)+1236535329|0,22)+b|0;d=owa((B+((b^c)&e^b)|0)-165796510|0,5)+c|0;f=b+x|0;b=owa(((e+w|0)+(c^b&(c^d))|0)-1069501632|0,9)+d|0;e=owa((f+(d^c&(b^d))|0)+643717713|0,14)+b|0;c=owa(((c+j|0)+(b^d&(b^e))|0)-373897302|0,20)+e|0;d=owa(((d+g|0)+((e^c)&b^e)|0)-701558691|0,5)+c|0;b=owa(((b+y|0)+(c^e&(c^d))|0)+38016083|0,9)+d|0;e=owa(((e+z|0)+(d^c&(b^d))|0)-660478335|0,14)+b|0;c=owa(((c+l|0)+(b^d&(b^e))|0)-405537848|0,20)+e|0;d=owa(((d+n|0)+((e^c)&b^e)|0)+568446438|0,5)+c|0;f=e+t|0;e=owa(((b+A|0)+(c^e&(c^d))|0)-1019803690|0,9)+d|0;f=owa((f+(d^(e^d)&c)|0)-187363961|0,14)+e|0;c=owa(((c+i|0)+(e^(e^f)&d)|0)+1163531501|0,20)+f|0;b=owa(((d+o|0)+((f^c)&e^f)|0)-1444681467|0,5)+c|0;d=owa(((e+u|0)+(c^f&(b^c))|0)-51403784|0,9)+b|0;e=owa(((f+v|0)+(b^c&(d^b))|0)+1735328473|0,14)+d|0;B=d+i|0;f=d^e;c=owa(((c+m|0)+(d^f&b)|0)-1926607734|0,20)+e|0;d=owa(((b+g|0)+(c^f)|0)-378558|0,4)+c|0;b=owa((B+(c^e^d)|0)-2022574463|0,11)+d|0;e=owa(((e+x|0)+(b^(c^d))|0)+1839030562|0,16)+b|0;c=owa(((c+A|0)+(e^(b^d))|0)-35309556|0,23)+e|0;d=owa(((d+p|0)+(c^(b^e))|0)-1530992060|0,4)+c|0;b=owa(((b+l|0)+(d^(c^e))|0)+1272893353|0,11)+d|0;e=owa(((e+v|0)+(b^(c^d))|0)-155497632|0,16)+b|0;c=owa(((c+y|0)+(e^(b^d))|0)-1094730640|0,23)+e|0;d=owa(((d+o|0)+(c^(b^e))|0)+681279174|0,4)+c|0;b=owa(((b+j|0)+(d^(c^e))|0)-358537222|0,11)+d|0;e=owa(((e+t|0)+(b^(c^d))|0)-722521979|0,16)+b|0;c=owa(((c+w|0)+(e^(b^d))|0)+76029189|0,23)+e|0;d=owa(((d+n|0)+(c^(b^e))|0)-640364487|0,4)+c|0;b=owa(((b+m|0)+(d^(c^e))|0)-421815835|0,11)+d|0;f=d+j|0;j=b^d;d=owa(((e+z|0)+(b^(c^d))|0)+530742520|0,16)+b|0;e=owa(((c+u|0)+(j^d)|0)-995338651|0,23)+d|0;c=owa((f+((e|b^-1)^d)|0)-198630844|0,6)+e|0;f=e+g|0;g=d+A|0;d=owa(((b+v|0)+(e^(c|d^-1))|0)+1126891415|0,10)+c|0;e=owa((g+(c^(d|e^-1))|0)-1416354905|0,15)+d|0;b=owa((f+((e|c^-1)^d)|0)-57434055|0,21)+e|0;f=e+y|0;g=d+t|0;d=owa(((c+m|0)+(e^(b|d^-1))|0)+1700485571|0,6)+b|0;e=owa((g+(b^(d|e^-1))|0)-1894986606|0,10)+d|0;c=owa((f+((e|b^-1)^d)|0)-1051523|0,15)+e|0;f=e+z|0;i=d+i|0;d=owa(((b+p|0)+(e^(c|d^-1))|0)-2054922799|0,21)+c|0;e=owa((i+(c^(d|e^-1))|0)+1873313359|0,6)+d|0;b=owa((f+((e|c^-1)^d)|0)-30611744|0,10)+e|0;c=owa(((c+w|0)+(e^(b|d^-1))|0)-1560198380|0,15)+b|0;d=owa(((d+o|0)+(b^(c|e^-1))|0)+1309151649|0,21)+c|0;e=owa(((e+l|0)+((d|b^-1)^c)|0)-145523070|0,6)+d|0;q[a+8>>2]=e+C;b=owa(((b+x|0)+(d^(e|c^-1))|0)-1120210379|0,10)+e|0;q[a+20>>2]=b+s;c=owa(((c+u|0)+(e^(b|d^-1))|0)+718787259|0,15)+b|0;q[a+16>>2]=c+k;q[a+12>>2]=owa(((d+n|0)+(b^(c|e^-1))|0)-343485551|0,21)+(c+h|0);return 0}function lna(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,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=fi-48|0;fi=g;h=q[a>>2];D=h+4164|0;a:{while(1){b:{b=(o<<4)+h|0;v=b+2104|0;d=q[v>>2];x=b+2100|0;c=q[x>>2];b=d-c|0;if(!b){break b}c:{d:{e:{f:{g:{if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>1|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);E=b>>>0>1?b:1;n=0;while(1){l=s[(n<<1)+c>>1];b=q[h+2056>>2];if(l>>>0>=q[h+2060>>2]-b>>2>>>0){break a}y=l<<2;e=q[b+y>>2];d=q[e+84>>2];b=q[a+4>>2];h:{if((d|0)!=q[b+8>>2]){if(!q[d+4>>2]){break h}f=0;l=0;while(1){m=q[d>>2]+w(f,80)|0;c=q[m+16>>2];i:{if(q[m+8>>2]!=q[b>>2]|q[m+12>>2]!=q[b+4>>2]){break i}j=q[c+72>>2];if(!j){break i}d=q[c+96>>2];q[g+24>>2]=e;q[g+28>>2]=q[b+8>>2];q[g+32>>2]=q[((q[m+20>>2]<<2)+h|0)+12>>2];b=q[c+16>>2];q[g+40>>2]=((l<<2)+e|0)+156&d<<15>>31;q[g+36>>2]=b;ji[j|0](g+24|0);d=q[e+84>>2]}f=f+1|0;if(f>>>0>=t[d+4>>2]){break h}l=(p[c+98>>1]&1)+l|0;b=q[a+4>>2];continue}}if(r[e+149|0]&128){break g}if(q[e+140>>2]&32768){break f}m=q[b+12>>2];b=q[d+4>>2];j:{if(!b){f=0;break j}j=q[a+8>>2];i=q[d>>2];f=0;c=0;while(1){k=q[(i+w(c,80)|0)+16>>2];if(!k){break e}f=(p[k+98>>1]&1)+f|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=Ci((f<<2)+160|0);q[b+88>>2]=-1;q[b+84>>2]=d;q[b+72>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=1065353216;q[b+32>>2]=1065353216;q[b+36>>2]=1065353216;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=1065353216;q[b>>2]=0;q[b+4>>2]=0;q[b+80>>2]=0;d=q[72441];q[b+96>>2]=q[72440];q[b+100>>2]=d;j=b+104|0;an(j,0);q[b+144>>2]=2147450879;q[b+152>>2]=f;d=q[b+140>>2]&-2147483648;c=d;f=q[b+136>>2]&61440;q[b+136>>2]=f|2147418112;q[b+140>>2]=c|2147450879;i=q[b+148>>2]&-2147483648;q[b+148>>2]=i|2147450879;q[g+20>>2]=b;q[b+80>>2]=q[e+80>>2];d=q[e+140>>2];p[b+144>>1]=32767;d=c|d&32767;c=d;q[b+136>>2]=f|2147418112;q[b+140>>2]=c|2147418112;d=q[e+140>>2];p[b+144>>1]=32767;c=d&2147418112|c;d=c;f=f|2147418112;q[b+136>>2]=f;q[b+140>>2]=c;c=r[e+136|0];p[b+144>>1]=32767;c=c|f;q[b+136>>2]=c;q[b+140>>2]=d;f=q[e+136>>2];p[b+144>>1]=32767;f=c|f&1024;q[b+136>>2]=f;q[b+140>>2]=d;c=s[e+138>>1];p[b+144>>1]=32767;k=f&62719;f=c>>>16|0;c=k|c<<16;f=f|d&-32769;q[b+136>>2]=c;q[b+140>>2]=f;d=i|q[e+148>>2]&2147418112;q[b+148>>2]=d|32767;q[b+148>>2]=d|q[e+148>>2]&32767;u[b>>2]=u[e>>2];u[b+4>>2]=u[e+4>>2];u[b+8>>2]=u[e+8>>2];u[b+12>>2]=u[e+12>>2];u[b+16>>2]=u[e+16>>2];u[b+20>>2]=u[e+20>>2];u[b+24>>2]=u[e+24>>2];u[b+32>>2]=u[e+32>>2];u[b+36>>2]=u[e+36>>2];u[b+40>>2]=u[e+40>>2];u[b+48>>2]=u[e+48>>2];u[b+52>>2]=u[e+52>>2];u[b+56>>2]=u[e+56>>2];u[b+64>>2]=u[e+64>>2];u[b+68>>2]=u[e+68>>2];u[b+72>>2]=u[e+72>>2];d=q[e+136>>2];p[b+144>>1]=32767;q[b+136>>2]=c|d&512;q[b+140>>2]=f;d=q[e+100>>2];q[b+96>>2]=q[e+96>>2];q[b+100>>2]=d;q[b+88>>2]=q[e+88>>2];z=e+104|0;Cs(j,z,1);c=q[g+20>>2];b=c;d=q[b+136>>2]&-2049;b=q[b+140>>2];q[c+136>>2]=q[e+136>>2]&2048|d;q[c+140>>2]=b;if(!Qs(q[q[h+8>>2]>>2],c)){Kq(c+104|0);ki(qi(c,204,160));break h}k:{if(!(q[e+136>>2]&256)){q[e+84>>2]=m;break k}j=q[c+84>>2];i=q[j+4>>2];if(i){d=0;f=0;while(1){A=q[j>>2]+w(f,80)|0;k=q[A+16>>2];B=q[k+96>>2];b=((B&65536)>>>16|0)+d|0;if(b>>>0>t[c+152>>2]){break d}C=q[k+36>>2];l:{if(C){i=q[h+8>>2];q[g+28>>2]=c;q[g+24>>2]=i;q[g+32>>2]=q[((q[A+20>>2]<<2)+h|0)+12>>2];i=q[k+16>>2];q[g+40>>2]=((d<<2)+c|0)+156&B<<15>>31;q[g+36>>2]=i;if(ji[C|0](g+24|0)|0){break l}i=q[j+4>>2]}d=b;f=f+1|0;if(i>>>0>f>>>0){continue}}break}c=q[g+20>>2]}b=q[c+140>>2];q[c+136>>2]=q[c+136>>2]|256;q[c+140>>2]=b;q[e+84>>2]=m;if(!(q[e+136>>2]&256)){break k}sA(h,e)}tK(h,e);Kq(z);b=q[h+2056>>2];if(l>>>0>=q[h+2060>>2]-b>>2>>>0){break c}q[b+y>>2]=q[g+20>>2];b=q[g+20>>2];Iq(D,q[b+96>>2],q[b+100>>2],g+20|0);c=q[h+4200>>2];d=q[h+4196>>2];b=c-d|0;m:{if(!b){break m}c=d-c|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);b=b>>>0>1?b:1;c=0;while(1){f=d+(c<<2)|0;if(q[f>>2]!=(e|0)){c=c+1|0;if((b|0)!=(c|0)){continue}break m}break}q[f>>2]=q[g+20>>2]}ki(qi(e,204,160));uA(h,q[g+20>>2])}n=n+1|0;if((E|0)==(n|0)){break b}c=q[x>>2];if(q[v>>2]-c>>1>>>0>n>>>0){continue}break}}break a}J(11472,7150,3450,12332);G()}J(12349,7150,3451,12332);G()}q[g+4>>2]=j;q[g>>2]=c;mi(4,7277,9899,g);J(9954,7150,658,9960);G()}J(7962,7150,1583,11457);G()}break a}o=o+1|0;if((o|0)!=128){continue}break}fi=g+48|0;return}J(12475,10090,447,9406);G()}function n5(a,b,c){q[a+4>>2]=c;b=b?q[b+120>>2]:0;q[a>>2]=b;c=q[b+8>>2]-q[b+12>>2]>>4;Vl(b,106442,106456,254864);q[79069]=Vl(b,106464,106488,254896);q[79070]=Vl(b,104193,106496,254960);q[79071]=Vl(b,106221,106504,255008);ek(b,104341,255040);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106512);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106529);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106548);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106565);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106577);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106593);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106619);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106636);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106647);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106659);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106672);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106687);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106701);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106716);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106737);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106756);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106777);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106789);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106800);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106810);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106826);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106852);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106868);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106894);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106910);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=8;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106936);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=9;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106952);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=10;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,106978);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=11;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107003);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=12;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107024);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=13;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107055);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=14;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107076);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107107);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107126);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107144);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107164);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107185);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107205);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107224);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107246);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107266);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107282);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107298);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107317);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107333);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107354);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107370);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107391);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107409);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107420);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107430);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107450);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107467);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,107484);oi(b,-2);if((c|0)!=q[b+8>>2]-q[b+12>>2]>>4){J(104348,104245,2557,107503);G()}}function k5(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi+ -64|0;fi=e;f=Ci(2240);qi(f+32|0,0,272);c=f;q[c+52>>2]=0;q[c+56>>2]=0;q[c+48>>2]=1065353216;q[c+60>>2]=0;q[c+64>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+68>>2]=1065353216;q[c+80>>2]=0;q[c+84>>2]=0;q[c+92>>2]=0;q[c+96>>2]=0;q[c+88>>2]=1065353216;q[c+100>>2]=0;q[c+104>>2]=0;q[c+116>>2]=0;q[c+120>>2]=0;q[c+108>>2]=1065353216;q[c+112>>2]=1065353216;q[c+124>>2]=0;q[c+128>>2]=0;q[c+136>>2]=0;q[c+140>>2]=0;q[c+132>>2]=1065353216;q[c+144>>2]=0;q[c+148>>2]=0;q[c+152>>2]=1065353216;q[c+156>>2]=0;q[c+160>>2]=0;q[c+164>>2]=0;q[c+168>>2]=0;q[c+172>>2]=1065353216;qi(c+320|0,0,272);q[c+340>>2]=0;q[c+344>>2]=0;q[c+336>>2]=1065353216;q[c+348>>2]=0;q[c+352>>2]=0;q[c+360>>2]=0;q[c+364>>2]=0;q[c+356>>2]=1065353216;q[c+368>>2]=0;q[c+372>>2]=0;q[c+380>>2]=0;q[c+384>>2]=0;q[c+376>>2]=1065353216;q[c+388>>2]=0;q[c+392>>2]=0;q[c+404>>2]=0;q[c+408>>2]=0;q[c+396>>2]=1065353216;q[c+400>>2]=1065353216;q[c+412>>2]=0;q[c+416>>2]=0;q[c+424>>2]=0;q[c+428>>2]=0;q[c+420>>2]=1065353216;q[c+432>>2]=0;q[c+436>>2]=0;q[c+440>>2]=1065353216;q[c+444>>2]=0;q[c+448>>2]=0;q[c+452>>2]=0;q[c+456>>2]=0;q[c+460>>2]=1065353216;qi(c+608|0,0,272);q[c+628>>2]=0;q[c+632>>2]=0;q[c+624>>2]=1065353216;q[c+636>>2]=0;q[c+640>>2]=0;q[c+648>>2]=0;q[c+652>>2]=0;q[c+644>>2]=1065353216;q[c+656>>2]=0;q[c+660>>2]=0;q[c+668>>2]=0;q[c+672>>2]=0;q[c+664>>2]=1065353216;q[c+676>>2]=0;q[c+680>>2]=0;q[c+692>>2]=0;q[c+696>>2]=0;q[c+684>>2]=1065353216;q[c+688>>2]=1065353216;q[c+700>>2]=0;q[c+704>>2]=0;q[c+712>>2]=0;q[c+716>>2]=0;q[c+708>>2]=1065353216;q[c+720>>2]=0;q[c+724>>2]=0;q[c+728>>2]=1065353216;q[c+732>>2]=0;q[c+736>>2]=0;q[c+740>>2]=0;q[c+744>>2]=0;q[c+748>>2]=1065353216;qi(c+896|0,0,272);q[c+916>>2]=0;q[c+920>>2]=0;q[c+912>>2]=1065353216;q[c+924>>2]=0;q[c+928>>2]=0;q[c+936>>2]=0;q[c+940>>2]=0;q[c+932>>2]=1065353216;q[c+944>>2]=0;q[c+948>>2]=0;q[c+956>>2]=0;q[c+960>>2]=0;q[c+952>>2]=1065353216;q[c+964>>2]=0;q[c+968>>2]=0;q[c+980>>2]=0;q[c+984>>2]=0;q[c+972>>2]=1065353216;q[c+976>>2]=1065353216;q[c+988>>2]=0;q[c+992>>2]=0;q[c+1e3>>2]=0;q[c+1004>>2]=0;q[c+996>>2]=1065353216;q[c+1008>>2]=0;q[c+1012>>2]=0;q[c+1016>>2]=1065353216;q[c+1020>>2]=0;q[c+1024>>2]=0;d=c+1028|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1744>>2]=0;q[c+1748>>2]=0;q[c+1036>>2]=1065353216;d=c+1752|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1760|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1768|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1804>>2]=0;q[c+1808>>2]=0;d=c+1812|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1820|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1828|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1852>>2]=0;q[c+1856>>2]=0;d=c+1860|0;q[d>>2]=0;q[d+4>>2]=0;g=c+1868|0;q[g>>2]=0;q[g+4>>2]=0;qi(c+1880|0,0,128);q[c+1996>>2]=-1;vi(q[b+20>>2],4,d,g,c+1864|0);q[c+2208>>2]=a;q[c+1864>>2]=q[d>>2];q[c+2008>>2]=q[b+4>>2];q[c+2100>>2]=1065353216;a=c+2092|0;q[a>>2]=0;q[a+4>>2]=0;q[c+2084>>2]=0;q[c+2088>>2]=0;q[c+2076>>2]=1065353216;q[c+2080>>2]=1065353216;q[c+2104>>2]=0;q[c+2108>>2]=0;a=c+2112|0;q[a>>2]=0;q[a+4>>2]=0;a=c+2068|0;q[a>>2]=0;q[a+4>>2]=0;q[c+2060>>2]=0;q[c+2064>>2]=0;q[c+2120>>2]=1065353216;q[c+2056>>2]=1065353216;a=c+2048|0;q[a>>2]=0;q[a+4>>2]=0;q[c+2040>>2]=0;q[c+2044>>2]=0;a=c+2132|0;q[a>>2]=0;q[a+4>>2]=0;q[c+2124>>2]=0;q[c+2128>>2]=0;q[c+2036>>2]=1065353216;a=c+2028|0;q[a>>2]=0;q[a+4>>2]=0;q[c+2020>>2]=0;q[c+2024>>2]=0;q[c+2016>>2]=1065353216;q[c+2212>>2]=0;q[c+2140>>2]=1065353216;Dk(e,c+2080|0,c+2016|0);u[c+2144>>2]=u[e>>2];u[c+2148>>2]=u[e+4>>2];u[c+2152>>2]=u[e+8>>2];u[c+2156>>2]=u[e+12>>2];u[c+2160>>2]=u[e+16>>2];u[c+2164>>2]=u[e+20>>2];u[c+2168>>2]=u[e+24>>2];u[c+2172>>2]=u[e+28>>2];u[c+2176>>2]=u[e+32>>2];u[c+2180>>2]=u[e+36>>2];u[c+2184>>2]=u[e+40>>2];u[c+2188>>2]=u[e+44>>2];u[c+2192>>2]=u[e+48>>2];u[c+2196>>2]=u[e+52>>2];u[c+2200>>2]=u[e+56>>2];u[c+2204>>2]=u[e+60>>2];a=q[b>>2];q[c+1848>>2]=a;n5(c+1852|0,a,q[b+40>>2]);a=gy(q[c+1848>>2]);q[c+1712>>2]=0;q[c+1876>>2]=a;a=q[b+8>>2];a:{if(!a){break a}c=q[b+28>>2];if(!c){break a}d=q[b+12>>2];if(!d){break a}g=q[b+32>>2];if(!g){break a}o5(f,q[b+44>>2],a,c,d,g)}a=f;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;m5(a,q[b+36>>2]);o[a+2224|0]=r[a+2224|0]&252;b:{if(!(o[a+1908|0]&1)){vi(255,8,f+1896|0,f+1904|0,f+1900|0);if(ws(q[63707],f+2216|0)){break b}fi=e- -64|0;return f}J(103865,103940,461,104019);G()}J(103349,103375,135,103400);G()}function kZ(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=fi-432|0;fi=g;h=q[b+4>>2];a:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break a}i=kk(b)}b:{c:{while(1){d:{if((i|0)!=48){if((i|0)!=46){break b}h=q[b+4>>2];if(h>>>0>=t[b+104>>2]){break d}q[b+4>>2]=h+1;i=r[h|0];break c}h=q[b+4>>2];if(h>>>0>2]){z=1;q[b+4>>2]=h+1;i=r[h|0]}else{z=1;i=kk(b)}continue}break}i=kk(b)}y=1;if((i|0)!=48){break b}while(1){h=q[b+4>>2];e:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break e}i=kk(b)}h=u;u=h-1|0;v=v-(h>>>0<1)|0;if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=m;v=j;break g}i=(i|0)>57?A-87|0:B;i:{if((j|0)<0?1:(j|0)<=0?m>>>0<=7:0){o=i+(o<<4)|0;break i}if((j|0)<0?1:(j|0)<=0?m>>>0<=28:0){Hm(g+48|0,i);tk(g+32|0,w,x,n,h,0,0,0,1073414144);w=q[g+32>>2];x=q[g+36>>2];n=q[g+40>>2];h=q[g+44>>2];tk(g+16|0,w,x,n,h,q[g+48>>2],q[g+52>>2],q[g+56>>2],q[g+60>>2]);zm(g,k,l,p,s,q[g+16>>2],q[g+20>>2],q[g+24>>2],q[g+28>>2]);p=q[g+8>>2];s=q[g+12>>2];k=q[g>>2];l=q[g+4>>2];break i}if(!i|E){break i}tk(g+80|0,w,x,n,h,0,0,0,1073610752);zm(g- -64|0,k,l,p,s,q[g+80>>2],q[g+84>>2],q[g+88>>2],q[g+92>>2]);p=q[g+72>>2];s=q[g+76>>2];E=1;k=q[g+64>>2];l=q[g+68>>2]}m=m+1|0;j=m>>>0<1?j+1|0:j;z=1}i=q[b+4>>2];if(i>>>0>2]){q[b+4>>2]=i+1;i=r[i|0]}else{i=kk(b)}continue}break}j:{k:{l:{if(!z){if(!q[b+104>>2]){if(f){break k}break l}c=q[b+4>>2];q[b+4>>2]=c-1;if(!f){break l}q[b+4>>2]=c-2;if(!y){break k}q[b+4>>2]=c-3;break k}if((j|0)<0?1:(j|0)<=0?m>>>0<=7:0){n=m;h=j;while(1){o=o<<4;n=n+1|0;h=n>>>0<1?h+1|0:h;if((n|0)!=8|h){continue}break}}m:{if((i&-33)==80){n=xC(b,f);i=ii;h=i;if(n|(h|0)!=-2147483648){break m}if(f){n=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1;break m}k=0;l=0;fn(b,0,0);c=0;b=0;break j}n=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}if(!o){Zn(g+112|0,+(e|0)*0);k=q[g+112>>2];l=q[g+116>>2];c=q[g+120>>2];b=q[g+124>>2];break j}f=y?u:m;b=(y?v:j)<<2|f>>>30;f=n+(f<<2)|0;j=b+h|0;b=f;m=b-32|0;j=(b>>>0>>0?j+1|0:j)-(b>>>0<32)|0;b=j;if((b|0)>0?1:(b|0)>=0?m>>>0>0-d>>>0:0){q[240833]=68;Hm(g+160|0,e);tk(g+144|0,q[g+160>>2],q[g+164>>2],q[g+168>>2],q[g+172>>2],-1,-1,-1,2147418111);tk(g+128|0,q[g+144>>2],q[g+148>>2],q[g+152>>2],q[g+156>>2],-1,-1,-1,2147418111);k=q[g+128>>2];l=q[g+132>>2];c=q[g+136>>2];b=q[g+140>>2];break j}b=d-226|0;f=m>>>0>=b>>>0;b=b>>31;if((b|0)<(j|0)?1:(j|0)>=(b|0)?f:0){if((o|0)>-1){while(1){zm(g+416|0,k,l,p,s,0,0,0,-1073807360);h=oM(k,l,p,s,1073610752);f=(h|0)<0;b=f;zm(g+400|0,k,l,p,s,b?k:q[g+416>>2],b?l:q[g+420>>2],b?p:q[g+424>>2],b?s:q[g+428>>2]);b=m;m=b-1|0;j=j-(b>>>0<1)|0;p=q[g+408>>2];s=q[g+412>>2];k=q[g+400>>2];l=q[g+404>>2];o=o<<1|(h|0)>-1;if((o|0)>-1){continue}break}}b=d;h=(m-b|0)+32|0;j=j-((b>>31)+(b>>>0>m>>>0)|0)|0;b=h;j=b>>>0<32?j+1|0:j;c=((j|0)<0?1:(j|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){Hm(g+384|0,e);u=q[g+392>>2];v=q[g+396>>2];w=q[g+384>>2];x=q[g+388>>2];d=0;b=0;break n}Zn(g+352|0,Cn(1,144-c|0));Hm(g+336|0,e);w=q[g+336>>2];x=q[g+340>>2];u=q[g+344>>2];v=q[g+348>>2];vL(g+368|0,q[g+352>>2],q[g+356>>2],q[g+360>>2],q[g+364>>2],w,x,u,v);C=q[g+376>>2];D=q[g+380>>2];d=q[g+372>>2];b=q[g+368>>2]}c=!(o&1)&((Wp(k,l,p,s,0,0,0,0)|0)!=0&(c|0)<32);hr(g+320|0,c+o|0);tk(g+304|0,w,x,u,v,q[g+320>>2],q[g+324>>2],q[g+328>>2],q[g+332>>2]);zm(g+272|0,q[g+304>>2],q[g+308>>2],q[g+312>>2],q[g+316>>2],b,d,C,D);tk(g+288|0,c?0:k,c?0:l,c?0:p,c?0:s,w,x,u,v);zm(g+256|0,q[g+288>>2],q[g+292>>2],q[g+296>>2],q[g+300>>2],q[g+272>>2],q[g+276>>2],q[g+280>>2],q[g+284>>2]);bB(g+240|0,q[g+256>>2],q[g+260>>2],q[g+264>>2],q[g+268>>2],b,d,C,D);e=q[g+240>>2];d=q[g+244>>2];c=q[g+248>>2];b=q[g+252>>2];if(!Wp(e,d,c,b,0,0,0,0)){q[240833]=68}yC(g+224|0,e,d,c,b,m);k=q[g+224>>2];l=q[g+228>>2];c=q[g+232>>2];b=q[g+236>>2];break j}q[240833]=68;Hm(g+208|0,e);tk(g+192|0,q[g+208>>2],q[g+212>>2],q[g+216>>2],q[g+220>>2],0,0,0,65536);tk(g+176|0,q[g+192>>2],q[g+196>>2],q[g+200>>2],q[g+204>>2],0,0,0,65536);k=q[g+176>>2];l=q[g+180>>2];c=q[g+184>>2];b=q[g+188>>2];break j}fn(b,0,0)}Zn(g+96|0,+(e|0)*0);k=q[g+96>>2];l=q[g+100>>2];c=q[g+104>>2];b=q[g+108>>2]}q[a>>2]=k;q[a+4>>2]=l;q[a+8>>2]=c;q[a+12>>2]=b;fi=g+432|0}function Gpa(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;a:{b:{c:{d:{h=q[c+4>>2]>>>22&63;g=h-1|0;if(!(g>>>0>=14|!(15871>>>g&1))){f=2;e:{if(q[(g<<2)+23780>>2]!=(b|0)){break e}f:{switch(h-1|0){case 1:if(!Upa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 0:if(!Xpa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 4:if(!DA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 12:if(!DA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 2:if(!VK(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 3:if(!VK(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 13:if(!DA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 7:break f;default:break d}}if(!Ypa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;o[q[a+4>>2]+q[a>>2]|0]=r[e+8|0];q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}o[b|0]=r[e+8|0]}fi=e+16|0;return f}J(23112,23732,83,23754);G()}J(23112,23114,72,23141);G()}J(23414,23114,241,23536);G()}J(23414,23114,229,23404);G()}J(23446,23114,231,23404);G()}function xy(a,b,c,d,e,f,g,h,i){var j=x(0),k=x(0),l=x(0),m=0,n=x(0),p=0,s=0,v=0,y=x(0),z=0,A=x(0),B=0,C=0,D=x(0),E=x(0),F=x(0),H=0,I=x(0),K=x(0),L=x(0),M=x(0),N=0,O=0,P=0,Q=0,R=0,S=0,T=x(0),U=0,V=x(0),W=x(0),X=x(0),Y=x(0),Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;a:{b:{c:{d:{e:{f:{C=q[a>>2];if(!C){break f}k=u[C+8>>2];s=q[a+24>>2]==3;j=s?x(k+k):k;k=u[a+16>>2];k=r[a+28|0]&2?x(j-k):k;k=x(u[C+12>>2]*(s?k>x(j*x(.5))?x(j-k):k:k));g:{if(k=x(0)){s=~~k>>>0;break g}s=0}n=x(s>>>0);j=x(k+x(.5));h:{if(j=x(0)){N=~~j>>>0;break h}N=0}n=x(k-n);i:{j:{k:{H=q[C+20>>2];if(H){E=x(x(1)-i);F=x(x(1)-n);z=w(s,3);O=z+5|0;P=z+4|0;Q=z+2|0;R=z+1|0;S=z+3|0;p=q[b>>2];Z=(q[b+4>>2]-p|0)/48|0;U=q[c>>2];_=q[c+4>>2]-U>>2;$=q[C+16>>2];a=0;b=s<<2;aa=b+5<<2;ba=(b|1)<<2;ca=b+4<<2;da=b+6<<2;ea=(b|2)<<2;fa=b+7<<2;ga=(b|3)<<2;while(1){if((a|0)==(H|0)){break k}m=w(a,28)+$|0;c=q[m>>2];l:{if(c>>>0>=_>>>0){break l}v=q[(c<<2)+U>>2];if(v>>>0>=Z>>>0){break a}if(q[m+8>>2]){c=q[m+4>>2];D=u[c+(S<<2)>>2];k=u[c+(z<<2)>>2];y=u[c+(P<<2)>>2];j=u[c+(R<<2)>>2];B=p+w(v,48)|0;l=u[B+24>>2];A=u[c+(Q<<2)>>2];u[B+24>>2]=l+x(x(x(A+x(n*x(u[c+(O<<2)>>2]-A)))-l)*i);l=u[B+20>>2];u[B+20>>2]=l+x(x(x(j+x(n*x(y-j)))-l)*i);j=u[B+16>>2];u[B+16>>2]=j+x(x(x(k+x(n*x(D-k)))-j)*i)}if(q[m+16>>2]){c=q[m+12>>2];I=u[c+(b<<2)>>2];V=u[c+ca>>2];K=u[c+ba>>2];W=u[c+aa>>2];L=u[c+ea>>2];X=u[c+da>>2];M=u[c+ga>>2];Y=u[c+fa>>2];l=x(x(x(x(I*V)+x(K*W))+x(L*X))+x(M*Y));if(!(l>2];y=u[c+8>>2];A=u[c+4>>2];T=u[c>>2];k=n;j=F;if(!(l>2]=x(I*k)+x(T*j);u[c+4>>2]=x(K*k)+x(A*j);u[c+8>>2]=x(L*k)+x(y*j);u[c+12>>2]=x(M*k)+x(D*j)}if(!q[m+24>>2]){break l}c=q[m+20>>2];l=u[c+(S<<2)>>2];k=u[c+(z<<2)>>2];D=u[c+(P<<2)>>2];j=u[c+(R<<2)>>2];m=p+w(v,48)|0;y=u[m+40>>2];A=u[c+(Q<<2)>>2];u[m+40>>2]=y+x(x(x(A+x(n*x(u[c+(O<<2)>>2]-A)))-y)*i);y=u[m+36>>2];u[m+36>>2]=y+x(x(x(j+x(n*x(D-j)))-y)*i);j=u[m+32>>2];u[m+32>>2]=j+x(x(x(k+x(n*x(l-k)))-j)*i)}a=a+1|0;if((H|0)!=(a|0)){continue}break}}b=q[C+44>>2];if(!b){break i}z=s+1|0;a=q[d+4>>2];d=q[d>>2];m=a-d>>3;B=q[C+40>>2];a=0;if(!(i>=x(.5)^1)){break j}while(1){if((a|0)==(b|0)){break b}c=B+w(a,20)|0;p=q[c>>2];if(p>>>0>=m>>>0){break a}if(q[c+8>>2]){p=d+(p<<3)|0;k=u[p>>2];c=q[c+4>>2];j=u[c+(s<<2)>>2];u[p>>2]=k+x(x(x(j+x(n*x(u[c+(z<<2)>>2]-j)))-k)*i)}a=a+1|0;if((b|0)!=(a|0)){continue}break}break i}J(136761,136773,210,136801);G()}while(1){if((a|0)==(b|0)){break b}c=B+w(a,20)|0;p=q[c>>2];if(p>>>0>=m>>>0){break a}if(q[c+8>>2]){v=d+(p<<3)|0;k=u[v>>2];H=v;v=q[c+4>>2];j=u[v+(s<<2)>>2];u[H>>2]=k+x(x(x(j+x(n*x(u[v+(z<<2)>>2]-j)))-k)*i)}v=q[c+16>>2];if(v){if(s>>>0>=v>>>0){break e}o[(d+(p<<3)|0)+4|0]=r[s+q[c+12>>2]|0]}a=a+1|0;if((b|0)!=(a|0)){continue}break}}m=q[C+36>>2];if(!m){break f}a=N;N=f^1;B=q[g>>2];p=q[g+4>>2]-B>>2;g=q[e>>2];z=(q[e+4>>2]-g|0)/24|0;v=q[C+32>>2];e=0;c=s<<2;s=(c|3)<<2;H=c+7<<2;O=c+4<<2;P=c+5<<2;Q=(c|1)<<2;R=c+6<<2;S=(c|2)<<2;while(1){b=v+w(e,28)|0;if(q[b+24>>2]){f=q[b>>2];if(f>>>0>=z>>>0){break a}d=q[b+20>>2];l=u[d+O>>2];k=u[d+(c<<2)>>2];D=u[d+P>>2];j=u[d+Q>>2];y=u[d+R>>2];E=u[d+S>>2];f=g+w(f,24)|0;F=u[f+12>>2];A=u[d+s>>2];u[f+12>>2]=F+x(x(x(A+x(n*x(u[d+H>>2]-A)))-F)*i);F=u[f+8>>2];u[f+8>>2]=F+x(x(x(E+x(n*x(y-E)))-F)*i);E=u[f+4>>2];u[f+4>>2]=E+x(x(x(j+x(n*x(D-j)))-E)*i);j=u[f>>2];u[f>>2]=j+x(x(x(k+x(n*x(l-k)))-j)*i)}d=q[b+16>>2];if(!(N|!d)){f=q[b>>2];if(f>>>0>=z>>>0){break a}if(a>>>0>=d>>>0){break d}q[(g+w(f,24)|0)+16>>2]=q[q[b+12>>2]+(a<<2)>>2]}d=q[b+8>>2];if(!(N|!d)){f=q[b>>2];if(f>>>0>=p>>>0){break a}if(a>>>0>=d>>>0){break c}q[B+(f<<2)>>2]=q[q[b+4>>2]+(a<<2)>>2];q[h>>2]=q[h>>2]+1}e=e+1|0;if((m|0)==(e|0)){break f}if(t[C+36>>2]>e>>>0){continue}break}J(136761,136773,226,136801);G()}return}J(136761,136773,133,136801);G()}J(136761,136773,157,136801);G()}J(136761,136773,149,136801);G()}J(136761,136773,234,136801);G()}J(136820,136831,447,136801);G()}function xZ(a,b){var c=0,d=0,e=0;a:{if(!q[213635]){break a}c=q[213630];q[a>>2]=q[213629];q[a+4>>2]=c;c=q[213636];q[a+24>>2]=q[213635];q[a+28>>2]=c;c=q[213634];q[a+16>>2]=q[213633];q[a+20>>2]=c;c=q[213632];q[a+8>>2]=q[213631];q[a+12>>2]=c;e=1;d=q[213630];b:{if(d-3>>>0<=1){q[213635]=0;c=6;break b}c=2;c:{switch(d|0){case 0:break b;case 5:break c;default:break a}}q[a+4>>2]=0;c=3}q[213630]=c}if(q[213643]){d=q[213638];c=(e<<5)+a|0;q[c>>2]=q[213637];q[c+4>>2]=d;d=q[213644];q[c+24>>2]=q[213643];q[c+28>>2]=d;d=q[213642];q[c+16>>2]=q[213641];q[c+20>>2]=d;d=q[213640];q[c+8>>2]=q[213639];q[c+12>>2]=d;c=2;d=q[213638];d:{e:{if(d-3>>>0>=2){f:{switch(d|0){case 0:break e;case 5:break f;default:break d}}q[((e<<5)+a|0)+4>>2]=0;c=3;break e}q[213643]=0;c=6}q[213638]=c}e=e+1|0}if(q[213651]){d=q[213646];c=(e<<5)+a|0;q[c>>2]=q[213645];q[c+4>>2]=d;d=q[213652];q[c+24>>2]=q[213651];q[c+28>>2]=d;d=q[213650];q[c+16>>2]=q[213649];q[c+20>>2]=d;d=q[213648];q[c+8>>2]=q[213647];q[c+12>>2]=d;c=2;d=q[213646];g:{h:{if(d-3>>>0>=2){i:{switch(d|0){case 0:break h;case 5:break i;default:break g}}q[((e<<5)+a|0)+4>>2]=0;c=3;break h}q[213651]=0;c=6}q[213646]=c}e=e+1|0}if(q[213659]){d=q[213654];c=(e<<5)+a|0;q[c>>2]=q[213653];q[c+4>>2]=d;d=q[213660];q[c+24>>2]=q[213659];q[c+28>>2]=d;d=q[213658];q[c+16>>2]=q[213657];q[c+20>>2]=d;d=q[213656];q[c+8>>2]=q[213655];q[c+12>>2]=d;c=2;d=q[213654];j:{k:{if(d-3>>>0>=2){l:{switch(d|0){case 0:break k;case 5:break l;default:break j}}q[((e<<5)+a|0)+4>>2]=0;c=3;break k}q[213659]=0;c=6}q[213654]=c}e=e+1|0}if(q[213667]){d=q[213662];c=(e<<5)+a|0;q[c>>2]=q[213661];q[c+4>>2]=d;d=q[213668];q[c+24>>2]=q[213667];q[c+28>>2]=d;d=q[213666];q[c+16>>2]=q[213665];q[c+20>>2]=d;d=q[213664];q[c+8>>2]=q[213663];q[c+12>>2]=d;c=2;d=q[213662];m:{n:{if(d-3>>>0>=2){o:{switch(d|0){case 0:break n;case 5:break o;default:break m}}q[((e<<5)+a|0)+4>>2]=0;c=3;break n}q[213667]=0;c=6}q[213662]=c}e=e+1|0}if(q[213675]){d=q[213670];c=(e<<5)+a|0;q[c>>2]=q[213669];q[c+4>>2]=d;d=q[213676];q[c+24>>2]=q[213675];q[c+28>>2]=d;d=q[213674];q[c+16>>2]=q[213673];q[c+20>>2]=d;d=q[213672];q[c+8>>2]=q[213671];q[c+12>>2]=d;c=2;d=q[213670];p:{q:{if(d-3>>>0>=2){r:{switch(d|0){case 0:break q;case 5:break r;default:break p}}q[((e<<5)+a|0)+4>>2]=0;c=3;break q}q[213675]=0;c=6}q[213670]=c}e=e+1|0}if(q[213683]){d=q[213678];c=(e<<5)+a|0;q[c>>2]=q[213677];q[c+4>>2]=d;d=q[213684];q[c+24>>2]=q[213683];q[c+28>>2]=d;d=q[213682];q[c+16>>2]=q[213681];q[c+20>>2]=d;d=q[213680];q[c+8>>2]=q[213679];q[c+12>>2]=d;c=2;d=q[213678];s:{t:{if(d-3>>>0>=2){u:{switch(d|0){case 0:break t;case 5:break u;default:break s}}q[((e<<5)+a|0)+4>>2]=0;c=3;break t}q[213683]=0;c=6}q[213678]=c}e=e+1|0}if(q[213691]){d=q[213686];c=(e<<5)+a|0;q[c>>2]=q[213685];q[c+4>>2]=d;d=q[213692];q[c+24>>2]=q[213691];q[c+28>>2]=d;d=q[213690];q[c+16>>2]=q[213689];q[c+20>>2]=d;d=q[213688];q[c+8>>2]=q[213687];q[c+12>>2]=d;c=2;d=q[213686];v:{w:{if(d-3>>>0>=2){x:{switch(d|0){case 0:break w;case 5:break x;default:break v}}q[((e<<5)+a|0)+4>>2]=0;c=3;break w}q[213691]=0;c=6}q[213686]=c}e=e+1|0}if(q[213699]){d=q[213694];c=(e<<5)+a|0;q[c>>2]=q[213693];q[c+4>>2]=d;d=q[213700];q[c+24>>2]=q[213699];q[c+28>>2]=d;d=q[213698];q[c+16>>2]=q[213697];q[c+20>>2]=d;d=q[213696];q[c+8>>2]=q[213695];q[c+12>>2]=d;c=2;d=q[213694];y:{z:{if(d-3>>>0>=2){A:{switch(d|0){case 0:break z;case 5:break A;default:break y}}q[((e<<5)+a|0)+4>>2]=0;c=3;break z}q[213699]=0;c=6}q[213694]=c}e=e+1|0}if(q[213707]){d=q[213702];c=(e<<5)+a|0;q[c>>2]=q[213701];q[c+4>>2]=d;d=q[213708];q[c+24>>2]=q[213707];q[c+28>>2]=d;d=q[213706];q[c+16>>2]=q[213705];q[c+20>>2]=d;d=q[213704];q[c+8>>2]=q[213703];q[c+12>>2]=d;c=2;d=q[213702];B:{C:{if(d-3>>>0>=2){D:{switch(d|0){case 0:break C;case 5:break D;default:break B}}q[((e<<5)+a|0)+4>>2]=0;c=3;break C}q[213707]=0;c=6}q[213702]=c}e=e+1|0}if(q[213715]){d=q[213710];c=(e<<5)+a|0;q[c>>2]=q[213709];q[c+4>>2]=d;d=q[213716];q[c+24>>2]=q[213715];q[c+28>>2]=d;d=q[213714];q[c+16>>2]=q[213713];q[c+20>>2]=d;d=q[213712];q[c+8>>2]=q[213711];q[c+12>>2]=d;c=2;d=q[213710];E:{F:{if(d-3>>>0>=2){G:{switch(d|0){case 0:break F;case 5:break G;default:break E}}q[((e<<5)+a|0)+4>>2]=0;c=3;break F}q[213715]=0;c=6}q[213710]=c}e=e+1|0}q[b>>2]=(e|0)>11?11:e;return 1}function eta(a,b,c){var d=0,e=0,f=0;e=fi-16|0;fi=e;d=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);f=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=f;o[a+1|0]=f>>>8;o[a+2|0]=f>>>16;o[a+3|0]=f>>>24;o[a+4|0]=d;o[a+5|0]=d>>>8;o[a+6|0]=d>>>16;o[a+7|0]=d>>>24;d=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=d;o[a+13|0]=d>>>8;o[a+14|0]=d>>>16;o[a+15|0]=d>>>24;if(r[c+8|0]){cta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+9|0]){bta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}ita(e,a,r[c+6|0],r[c+12|0]);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;if(r[c+7|0]){lta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+10|0]){jta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+11|0]){hta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+1|0]){dta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+3|0]){kta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+4|0]){ata(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}b=r[c|0];if(b){mta(e,a,b);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+5|0]){gta(e,a);b=q[e+12>>2];d=q[e+8>>2];o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];d=q[e>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}if(r[c+2|0]){fta(e,a);b=q[e+12>>2];c=q[e+8>>2];o[a+8|0]=c;o[a+9|0]=c>>>8;o[a+10|0]=c>>>16;o[a+11|0]=c>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;b=q[e+4>>2];c=q[e>>2];o[a|0]=c;o[a+1|0]=c>>>8;o[a+2|0]=c>>>16;o[a+3|0]=c>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24}fi=e+16|0}function U3(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-1280|0;fi=c;q[c+1272>>2]=0;q[c+1276>>2]=0;d=ws(25167,c+1272|0);a:{if(d){q[c+148>>2]=d;q[c+144>>2]=25167;mi(5,24355,25177,c+144|0);b=0;break a}d=qi(Ci(7424),0,7424);e=q[c+1276>>2];q[d+5168>>2]=q[c+1272>>2];q[d+5172>>2]=e;o[d+7420|0]=r[a+4|0]>>>3&1;b:{e=d+5176|0;if(RE(b,e)){q[c+128>>2]=b;mi(4,24355,25219,c+128|0);$m(q[c+1272>>2],q[c+1276>>2]);c:{if(o[d+7388|0]&1){break c}a=q[d+7376>>2];if(!a){break c}ki(a)}if(o[d+5160|0]&1){break b}a=q[d+5148>>2];if(!a){break b}ki(a);break b}q[d+7364>>2]=0;q[d+7368>>2]=0;q[d+7372>>2]=0;d:{e:{f:{g:{h:{if(ej(e,25243,5)){if(ej(e,25248,6)){break h}}f=d+7368|0;q[f>>2]=0;i:{if(!(r[a+4|0]&4)){break i}q[c+168>>2]=432e3;q[c+172>>2]=0;q[c+160>>2]=0;q[c+164>>2]=0;g=du(25254,c+240|0);if(!g){wk(c+240|0,25261,1024);q[c+160>>2]=c+240;g=I7(c+160|0,f);if(g){q[c+48>>2]=g;mi(3,24355,25268,c+48|0);break i}j:{k:{g=E7(q[f>>2],e);switch(g+3|0){case 0:case 3:break j;default:break k}}q[c+32>>2]=g;mi(3,24355,25299,c+32|0)}gz(q[f>>2],1);break i}q[c+68>>2]=g;q[c+64>>2]=25254;mi(3,24355,25328,c- -64|0)}q[c+248>>2]=0;q[c+252>>2]=0;q[c+268>>2]=1;q[c+272>>2]=0;q[c+244>>2]=1307;q[c+256>>2]=0;q[c+260>>2]=0;q[c+264>>2]=0;q[c+244>>2]=120;q[c+248>>2]=121;q[c+240>>2]=d;q[c+264>>2]=q[d+7368>>2];e=ez(c+240|0,d+5248|0,s[d+5312>>1],!ej(e,25248,6));q[d+7364>>2]=e;if(e){break g}q[c>>2]=b;mi(4,24355,25385,c);$m(q[c+1272>>2],q[c+1276>>2]);l:{if(o[d+7388|0]&1){break l}a=q[d+7376>>2];if(!a){break l}ki(a)}if(o[d+5160|0]&1){break b}a=q[d+5148>>2];if(!a){break b}ki(a);break b}if(!ej(e,25401,5)){break g}if(ej(e,25406,7)){break f}q[d+7416>>2]=0;q[c+236>>2]=0;b=d+5316|0;e=zy(b,c+236|0);if(e){q[c+100>>2]=e;q[c+96>>2]=b;mi(4,24355,25413,c+96|0);$m(q[c+1272>>2],q[c+1276>>2]);a=q[c+236>>2];if(a){ki(a)}m:{if(o[d+7388|0]&1){break m}a=q[d+7376>>2];if(!a){break m}ki(a)}if(o[d+5160|0]&1){break b}a=q[d+5148>>2];if(!a){break b}ki(a);break b}if(Gq(q[c+236>>2],c+240|0)){$m(q[c+1272>>2],q[c+1276>>2]);a=q[c+236>>2];if(a){ki(a)}n:{if(o[d+7388|0]&1){break n}a=q[d+7376>>2];if(!a){break n}ki(a)}if(o[d+5160|0]&1){break b}a=q[d+5148>>2];if(!a){break b}ki(a);break b}e=q[c+236>>2];if(e){f=q[e+4>>2];if(f){Ui(f)}f=q[e+8>>2];if(f){Ui(f)}ki(e)}g=c+160|0;e=Rm(b,47);if(!e){e=Rm(b,92)}kj(g,e?e:b,64);e=Nj(c+160|0,46);if(e){o[e|0]=0}f=Fi(b);e=c-(f+16&-16)|0;fi=e;kj(e,b,f+1|0);f=Rm(e,47);o:{if(f){o[f|0]=0;break o}o[e|0]=0}q[c+156>>2]=0;g=e;e=d+7412|0;f=I3(c+160|0,g,c+240|0,e,c+156|0);p:{if(!f){b=q[e>>2];q[b>>2]=q[c+156>>2];Ui(q[b+4>>2]);q[q[e>>2]+4>>2]=0;break p}q[c+84>>2]=f;q[c+80>>2]=b;mi(4,24355,25466,c+80|0);$m(q[c+1272>>2],q[c+1276>>2]);b=q[e>>2];if(b){e=q[b+4>>2];if(e){Ui(e)}e=q[b+8>>2];if(e){Ui(e)}ki(b)}q:{if(o[d+7388|0]&1){break q}b=q[d+7376>>2];if(!b){break q}ki(b)}r:{if(o[d+5160|0]&1){break r}b=q[d+5148>>2];if(!b){break r}ki(b)}ki(d)}b=0;if(f){break a}}q[d+5136>>2]=0;e=q[a>>2];b=Ci(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[d>>2]=b;g=b;b=w(e,3)>>>2|0;f=b?b:1;vH(g,f,e);b=Ci(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[d+4>>2]=b;jz(b,f,q[a>>2]);if(!(o[a+4|0]&1)){break e}b=Ci(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[d+8>>2]=b;NH(b,f,q[a>>2]);b=Ci(16);q[b>>2]=0;q[b+4>>2]=0;e=b+8|0;q[e>>2]=0;q[e+4>>2]=0;q[d+12>>2]=b;vi(256,8,b,e,b+4|0);break d}q[c+112>>2]=b;mi(4,24355,25385,c+112|0);$m(q[c+1272>>2],q[c+1276>>2]);s:{if(o[d+7388|0]&1){break s}a=q[d+7376>>2];if(!a){break s}ki(a)}if(o[d+5160|0]&1){break b}a=q[d+5148>>2];if(!a){break b}ki(a);break b}q[d+8>>2]=0;q[d+12>>2]=0}e=q[a+28>>2];t:{if(!e){break t}b=Ci(12);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[d+7408>>2]=b;b=rj(q[a+24>>2],e,q[60192],b+4|0);if(b){q[c+16>>2]=b;mi(4,24355,25509,c+16|0);break t}b=q[d+7408>>2];e=q[b+4>>2];rj(q[e>>2],q[e+4>>2],q[60164],b+8|0);x3(q[a+8>>2],q[a+12>>2],q[a+16>>2],q[a+20>>2],q[d+7408>>2]);a=q[q[d+7408>>2]>>2];q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+28>>2]=123;q[a+24>>2]=124}q[d+5140>>2]=zj();b=d;break a}ki(d);b=0}fi=c+1280|0;return b}function BY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{h=q[a>>2];c:{if(h>>>0>=c>>>0){break c}while(1){f=r[b+h|0];if(!f){break c}g=h;d:{e:{f:{g:{h:{i:{j=f<<24>>24;switch(j-9|0){case 0:case 1:case 4:case 23:case 35:case 49:break d;case 2:case 3: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 24:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34: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 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 83:break e;case 25:break f;case 84:break g;case 82:break h;default:break i}}switch(j-123|0){case 2:break g;case 0:break h;default:break e}}k=k+1|0;if(!d){break d}j=q[a+4>>2];if(j>>>0>=e>>>0){return-1}q[a+4>>2]=j+1;g=(j<<4)+d|0;q[g+12>>2]=0;q[g+4>>2]=-1;q[g+8>>2]=-1;i=q[a+8>>2];if((i|0)!=-1){i=(i<<4)+d|0;q[i+12>>2]=q[i+12>>2]+1}q[g>>2]=(f|0)==123?1:2;q[g+4>>2]=h;q[a+8>>2]=j;break d}if(!d){break d}j:{j=q[a+4>>2];g=j-1|0;if((g|0)>=0){j=(f|0)==125?1:2;while(1){f=(g<<4)+d|0;if(!(q[f+4>>2]==-1|q[f+8>>2]!=-1)){if((j|0)==q[f>>2]){break j}return-2}g=g-1|0;if((g|0)>-1){continue}break}return-2}if(j){break d}return-2}q[a+8>>2]=-1;q[f+8>>2]=h+1;while(1){f=(g<<4)+d|0;if(!(q[f+4>>2]==-1|q[f+8>>2]!=-1)){q[a+8>>2]=g;break d}f=(g|0)>0;g=g-1|0;if(f){continue}break}break d}j=h+1|0;q[a>>2]=j;g=j;k:{if(g>>>0>=c>>>0){break k}while(1){l:{m:{n:{f=r[b+g|0];if((f|0)!=92){if(!f){break k}if((f|0)!=34){f=g;break l}if(!d){k=k+1|0;h=g;break d}f=q[a+4>>2];if(f>>>0>>0){break n}break a}f=g+1|0;q[a>>2]=f;o:{switch(o[b+f|0]-34|0){case 0:case 13:case 58:case 64:case 68:case 76:case 80:case 82:break l;case 83:break o;default:break b}}f=g+2|0;q[a>>2]=f;i=r[b+f|0];if(!i){break m}p:{if((i-48&255)>>>0<10){break p}switch(i-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 p;default:break b}}f=g+3|0;q[a>>2]=f;i=r[b+f|0];if(!i){break m}q:{if((i-48&255)>>>0<10){break q}switch(i-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 q;default:break b}}f=g+4|0;q[a>>2]=f;i=r[b+f|0];if(!i){break m}r:{if((i-48&255)>>>0<10){break r}switch(i-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 r;default:break b}}f=g+5|0;q[a>>2]=f;i=r[b+f|0];if(!i){break m}s:{if((i-48&255)>>>0<10){break s}switch(i-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 s;default:break b}}f=g+6|0;break m}q[a+4>>2]=f+1;h=(f<<4)+d|0;q[h+12>>2]=0;q[h+8>>2]=g;q[h+4>>2]=j;q[h>>2]=3;k=k+1|0;h=q[a+8>>2];if((h|0)==-1){h=g;break d}h=(h<<4)+d|0;q[h+12>>2]=q[h+12>>2]+1;h=g;break d}f=f-1|0}g=f+1|0;q[a>>2]=g;if(c>>>0>g>>>0){continue}break}}q[a>>2]=h;return-3}while(1){t:{u:{v:{j=f<<24>>24;switch(j-9|0){case 0:case 1:case 4:case 23:case 35:case 49:break t;case 2:case 3: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 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34: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:break u;default:break v}}if((j|0)==93|(j|0)==125){break t}}if((f-32&255)>>>0>=95){break b}g=g+1|0;q[a>>2]=g;if((c|0)==(g|0)){g=c;break t}f=r[b+g|0];if(f){continue}}break}if(!d){k=k+1|0;h=g-1|0;break d}f=q[a+4>>2];if(f>>>0>=e>>>0){break a}q[a+4>>2]=f+1;f=(f<<4)+d|0;q[f+12>>2]=0;q[f+8>>2]=g;q[f+4>>2]=h;q[f>>2]=0;k=k+1|0;h=g-1|0;g=q[a+8>>2];if((g|0)==-1){break d}g=(g<<4)+d|0;q[g+12>>2]=q[g+12>>2]+1}h=h+1|0;q[a>>2]=h;if(c>>>0>h>>>0){continue}break}}g=q[a+4>>2]-1|0;if((g|0)>=0){while(1){a=(g<<4)+d|0;if(!(q[a+4>>2]==-1|q[a+8>>2]!=-1)){return-3}g=g-1|0;if((g|0)>-1){continue}break}}return k}q[a>>2]=h;return-2}q[a>>2]=h;return-1}function jM(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,r=0,s=0,t=0,u=0,x=0,z=0,A=0,B=0,D=0;h=fi-560|0;fi=h;g=c;c=(c-3|0)/24|0;t=(c|0)>0?c:0;l=g+w(t,-24)|0;n=q[(e<<2)+205808>>2];j=d-1|0;if((n+j|0)>=0){g=d+n|0;c=t-j|0;while(1){v[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+q[(c<<2)+205824>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}p=l-24|0;g=0;i=(n|0)>0?n:0;m=(d|0)<1;while(1){a:{if(m){f=0;break a}k=g+j|0;c=0;f=0;while(1){f=f+v[(c<<3)+a>>3]*v[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}B=47-l|0;u=48-l|0;D=l-25|0;g=n;b:{while(1){f=v[(g<<3)+h>>3];c=0;i=g;k=(g|0)<1;if(!k){while(1){m=(h+480|0)+(c<<2)|0;o=f;f=f*5.960464477539063e-8;c:{if(y(f)<2147483648){j=~~f;break c}j=-2147483648}f=+(j|0);o=o+f*-16777216;d:{if(y(o)<2147483648){j=~~o;break d}j=-2147483648}q[m>>2]=j;i=i-1|0;f=v[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Cn(f,p);f=f+C(f*.125)*-8;e:{if(y(f)<2147483648){m=~~f;break e}m=-2147483648}f=f- +(m|0);f:{g:{h:{x=(p|0)<1;i:{if(!x){i=(g<<2)+h|0;j=q[i+476>>2];c=j>>u;s=i;i=j-(c<>2]=i;m=c+m|0;j=i>>B;break i}if(p){break h}j=q[((g<<2)+h|0)+476>>2]>>23}if((j|0)<1){break f}break g}j=2;if(!(f>=.5^1)){break g}j=0;break f}c=0;i=0;if(!k){while(1){s=(h+480|0)+(c<<2)|0;z=q[s>>2];k=16777215;j:{k:{if(i){break k}k=16777216;if(z){break k}i=0;break j}q[s>>2]=k-z;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(x){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;q[c+476>>2]=q[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;q[c+476>>2]=q[c+476>>2]&4194303}m=m+1|0;if((j|0)!=2){break f}f=1-f;j=2;if(!i){break f}f=f-Cn(1,p)}if(f==0){i=0;n:{c=g;if((n|0)>=(c|0)){break n}while(1){c=c-1|0;i=q[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(n|0)){continue}break}if(!i){break n}l=p;while(1){l=l-24|0;g=g-1|0;if(!q[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!q[(h+480|0)+(n-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;v[(h+320|0)+(j<<3)>>3]=q[(t+g<<2)+205824>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+v[(c<<3)+a>>3]*v[(h+320|0)+(j-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Cn(f,24-l|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;o=f;f=f*5.960464477539063e-8;p:{if(y(f)<2147483648){c=~~f;break p}c=-2147483648}f=o+ +(c|0)*-16777216;q:{if(y(f)<2147483648){a=~~f;break q}a=-2147483648}q[d>>2]=a;g=g+1|0;break o}if(y(f)<2147483648){c=~~f}else{c=-2147483648}l=p}q[(h+480|0)+(g<<2)>>2]=c}f=Cn(1,l);r:{if((g|0)<=-1){break r}c=g;while(1){v[(c<<3)+h>>3]=f*+q[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}k=0;if((g|0)<0){break r}a=(n|0)>0?n:0;i=g;while(1){d=a>>>0>>0?a:k;l=g-i|0;c=0;f=0;while(1){f=f+v[(c<<3)+208592>>3]*v[(c+i<<3)+h>>3];p=(c|0)!=(d|0);c=c+1|0;if(p){continue}break}v[(h+160|0)+(l<<3)>>3]=f;i=i-1|0;c=(g|0)!=(k|0);k=k+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=v[(h+160|0)+(g<<3)>>3];c=g;while(1){o=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;A=v[d>>3];f=A+f;v[(h+160|0)+(c<<3)>>3]=o+(A-f);v[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=v[(h+160|0)+(g<<3)>>3];c=g;while(1){o=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;r=v[d>>3];f=r+f;v[(h+160|0)+(c<<3)>>3]=o+(r-f);v[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}r=0;if((g|0)<=1){break v}while(1){r=r+v[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=v[h+160>>3];if(j){break t}v[b>>3]=f;f=v[h+168>>3];v[b+16>>3]=r;v[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+v[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}v[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+v[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}v[b>>3]=j?-f:f;f=v[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+v[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}v[b+8>>3]=j?-f:f;break s}v[b>>3]=-f;f=v[h+168>>3];v[b+16>>3]=-r;v[b+8>>3]=-f}fi=h+560|0;return m&7}function Hv(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;l=r[b|0];d=l;c=r[b+16|0];d=c>>>0>d>>>0?d:c;m=r[b+32|0];e=m;e=e>>>0>d>>>0?d:e;d=r[b+48|0];i=e>>>0>>0?e:d;t=r[b+4|0];e=t;p=r[b+20|0];h=p;h=e>>>0>>0?e:h;e=r[b+36|0];g=e>>>0>h>>>0?h:e;h=r[b+52|0];g=g>>>0>>0?g:h;j=g>>>0>i>>>0?i:g;i=r[b+8|0];u=r[b+24|0];g=u;g=g>>>0>i>>>0?i:g;s=r[b+40|0];f=s;f=f>>>0>g>>>0?g:f;g=r[b+56|0];f=f>>>0>>0?f:g;k=f>>>0>j>>>0?j:f;j=r[b+12|0];v=r[b+28|0];f=v;f=f>>>0>j>>>0?j:f;x=r[b+44|0];n=x;n=f>>>0>>0?f:n;f=r[b+60|0];n=f>>>0>n>>>0?n:f;k=k>>>0>>0?k:n;o[a+1|0]=k;c=c>>>0>>0?l:c;c=c>>>0>m>>>0?c:m;c=c>>>0>d>>>0?c:d;d=p>>>0>>0?t:p;d=e>>>0>>0?d:e;d=d>>>0>h>>>0?d:h;c=c>>>0>d>>>0?c:d;d=i>>>0>u>>>0?i:u;d=d>>>0>s>>>0?d:s;d=d>>>0>g>>>0?d:g;c=c>>>0>d>>>0?c:d;d=j>>>0>v>>>0?j:v;d=d>>>0>x>>>0?d:x;d=d>>>0>f>>>0?d:f;d=c>>>0>d>>>0?c:d;o[a|0]=d;if((d|0)==(k|0)){o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;return}t=r[b+60|0];p=r[b+56|0];u=r[b+52|0];s=r[b+48|0];v=r[b+44|0];x=r[b+40|0];n=r[b+36|0];m=r[b+32|0];h=w(k,-14)+4|0;c=h+w(r[b+20|0],14)|0;e=d-k|0;i=w(e,13);g=w(e,11);j=w(e,9);f=w(e,7);k=w(e,5);l=w(e,3);d=q[((((((((c|0)>=(i|0))+((g|0)<=(c|0))|0)+((j|0)<=(c|0))|0)+((f|0)<=(c|0))|0)+((k|0)<=(c|0))|0)+((l|0)<=(c|0))|0)+((c|0)>=(e|0))<<2)+94992>>2]<<12;c=h+w(r[b+4|0],14)|0;d=d|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+94992>>2];c=h+w(r[b|0],14)|0;y=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+94960>>2];c=h+w(r[b+16|0],14)|0;d=d|(y|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+94960>>2]<<12);c=h+w(r[b+8|0],14)|0;y=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+95024>>2];c=h+w(r[b+24|0],14)|0;d=d|(y|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+95024>>2]<<12);c=h+w(r[b+12|0],14)|0;b=h+w(r[b+28|0],14)|0;b=d|(q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+95056>>2]|q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+95056>>2]<<12);o[a+2|0]=b;o[a+4|0]=b>>>16;o[a+3|0]=b>>>8;c=h+w(m,14)|0;m=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+94960>>2];c=m>>>8|0;d=b|m<<24;b=h+w(n,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+94992>>2];m=b>>>8|0;b=d|b<<24;m=c|m;d=b;b=h+w(x,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+95024>>2];c=b>>>8|0;b=d|b<<24;c=c|m;d=b;b=h+w(v,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+95056>>2];m=b>>>8|0;b=d|b<<24;m=c|m;c=m;o[a+5|0]=(c&16777215)<<8|b>>>24;b=h+w(s,14)|0;s=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+94960>>2]<<4|c;b=h+w(u,14)|0;c=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+94992>>2]<<4;b=h+w(p,14)|0;p=c|s|q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+95024>>2]<<4;b=h+w(t,14)|0;c=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+95056>>2]<<4;e=c|p;c=e;d=a;o[d+7|0]=c>>>8;o[d+6|0]=c}function Lja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=x(0),n=0,p=0,s=x(0),v=x(0),y=x(0),z=x(0);f=fi+ -64|0;fi=f;d=q[a+4>>2];b=q[d+32>>2];a:{b:{c:{d:{e:{e=q[q[a+12>>2]>>2];if(e>>>0>2]-b>>3>>>0){j=q[b+(e<<3)>>2];h=q[d+16>>2];if(j>>>0>=q[d+20>>2]-h>>4>>>0){break a}b=h+(j<<4)|0;f:{g:{h:{g=q[a+16>>2];c=q[g+80>>2];if((c|0)==q[61022]){c=q[d+72>>2];e=q[d+76>>2];if((c|0)==(e|0)){break h}l=q[d+68>>2];if(!l){break e}if(c>>>0<=e>>>0){break d}i=q[b>>2];n=q[i+8>>2];q[d+76>>2]=e+1;l=q[l+(e<<2)>>2];b=q[d>>2];if(l>>>0>=(q[d+4>>2]-b|0)/104>>>0){break a}c=0;e=q[q[q[a>>2]+80>>2]+8>>2];i:{if(!e){break i}e=q[e>>2];if(!e){break i}c=q[e>>2]}ss(c,i);b=b+w(l,104)|0;q[b+4>>2]=i;q[b>>2]=c;o[b+96|0]=r[b+96|0]&248;q[b+80>>2]=q[a>>2];e=q[a+16>>2];c=q[e+36>>2];q[b+48>>2]=q[e+32>>2];q[b+52>>2]=c;c=q[e+60>>2];q[b+72>>2]=q[e+56>>2];q[b+76>>2]=c;p=q[e+52>>2];c=b- -64|0;q[c>>2]=q[e+48>>2];q[c+4>>2]=p;c=q[e+44>>2];q[b+56>>2]=q[e+40>>2];q[b+60>>2]=c;u[b+88>>2]=u[g+96>>2];q[b+92>>2]=q[g+112>>2];o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+40|0]=0;o[b+41|0]=0;o[b+42|0]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;q[b+84>>2]=0;e=Q$(n,b+8|0);if(!e){d=q[b+4>>2];d=L$(q[b+8>>2],q[d>>2],q[d+4>>2]);if(d){q[f+16>>2]=d;mi(4,49876,50129,f+16|0)}k=u[g+108>>2];d=h+(j<<4)|0;m=u[d+12>>2];s=u[g+104>>2];v=u[d+4>>2];y=u[g+100>>2];z=u[d+8>>2];d=q[b+8>>2];e=0;q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=y*z;Lo(d,0,f+48|0);d=q[b+8>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=s+v;Lo(d,1,f+48|0);d=q[b+8>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k*m;Lo(d,2,f+48|0);c=o[i+25|0]&1;d=r[i+24|0];K$(q[b+8>>2],c,(c?d?d:-1:d)<<24>>24);d=q[a+16>>2];c=q[d+4>>2];q[b+16>>2]=q[d>>2];q[b+20>>2]=c;c=q[d+28>>2];q[b+40>>2]=q[d+24>>2];q[b+44>>2]=c;c=q[d+20>>2];q[b+32>>2]=q[d+16>>2];q[b+36>>2]=c;c=q[d+12>>2];q[b+24>>2]=q[d+8>>2];q[b+28>>2]=c;q[b+84>>2]=q[q[a+16>>2]+76>>2];break f}c=q[d+68>>2];if(!c){break c}b=q[d+76>>2];if(!b|b>>>0>t[d+72>>2]){break b}b=b-1|0;q[d+76>>2]=b;q[c+(b<<2)>>2]=l;a=q[a+16>>2];q[f+32>>2]=e;Om(a,50160,f+32|0);break g}if((c|0)==q[61023]){c=q[d>>2];h=q[d+4>>2];if((c|0)==(h|0)){break g}e=0;while(1){g=w(e,104)+c|0;if(!(!q[g+8>>2]|q[g+4>>2]!=q[b>>2]|q[g+80>>2]!=q[a>>2])){o[g+96|0]=r[g+96|0]|1;c=q[d>>2];h=q[d+4>>2]}e=e+1|0;if(e>>>0<(h-c|0)/104>>>0){continue}break}break g}if((c|0)==q[61042]){c=q[d>>2];h=q[d+4>>2];if((c|0)==(h|0)){break g}j=r[g+96|0]<<2;e=0;while(1){g=w(e,104)+c|0;if(!(!q[g+8>>2]|q[g+4>>2]!=q[b>>2]|q[g+80>>2]!=q[a>>2])){o[g+96|0]=j|r[g+96|0]&249|2;c=q[d>>2];h=q[d+4>>2]}e=e+1|0;if(e>>>0<(h-c|0)/104>>>0){continue}break}break g}if((c|0)==q[61078]){i=q[a>>2];k=u[g+96>>2];u[(h+(j<<4)|0)+8>>2]=k;e=q[d+4>>2];c=q[d>>2];a=e-c|0;if(!a){break g}a=(a|0)/104|0;if((c|0)!=(e|0)){b=q[b>>2];g=a>>>0>1?a:1;e=0;while(1){j:{a=w(e,104)+c|0;c=q[a+8>>2];if(!c|(b|0)!=q[a+4>>2]|(i|0)!=q[a+80>>2]){break j}m=u[b+12>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k*m;if(!Lo(c,0,f+48|0)){break j}e=-1e3;break f}e=e+1|0;if((g|0)==(e|0)){break g}c=q[d>>2];if((q[d+4>>2]-c|0)/104>>>0>e>>>0){continue}break}}break a}e=0;if((c|0)!=q[61094]){break f}i=q[a>>2];k=u[g+96>>2];u[(h+(j<<4)|0)+4>>2]=k;g=q[d+4>>2];c=q[d>>2];a=g-c|0;if(!a){break f}a=(a|0)/104|0;if((c|0)!=(g|0)){b=q[b>>2];g=a>>>0>1?a:1;while(1){k:{a=w(e,104)+c|0;c=q[a+8>>2];if(!c|(b|0)!=q[a+4>>2]|(i|0)!=q[a+80>>2]){break k}m=u[b+16>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k+m;if(!Lo(c,1,f+48|0)){break k}e=-1e3;break f}e=e+1|0;if((g|0)==(e|0)){break g}c=q[d>>2];if((q[d+4>>2]-c|0)/104>>>0>e>>>0){continue}break}}break a}q[f>>2]=c;Om(g,50200,f)}e=0}fi=f- -64|0;return e|0}break a}J(50780,50481,151,50828);G()}J(50832,50481,152,50828);G()}J(50780,50481,140,50787);G()}J(50792,50481,141,50787);G()}J(50690,50340,447,50701);G()}function Py(a,b,c,d,e){var f=0,g=x(0),h=0,i=0,j=0,k=0,l=0;f=fi-320|0;fi=f;q[f+312>>2]=c;q[f+316>>2]=b;a:{if(o[316148]&1){break a}if(!ui(316148)){break a}if(r[852367]){b=Ri(101419)}else{b=-1}q[79036]=b;ti(316148)}b:{if(o[316156]&1){break b}if(!ui(316156)){break b}if(r[852367]){b=Yi(101426,8)}else{b=0}q[79038]=b;ti(316156)}b=q[79036];c:{if((b|0)!=-1){Qi(f+296|0,b,101426,q[79038]);break c}q[f+296>>2]=0}d:{e:{f:{b=q[a+1824>>2];g:{if((b|0)==q[a+1828>>2]){q[f>>2]=b-q[a+1820>>2]>>8;mi(3,101221,101435,f);break g}if(!d){an(f+32|0,0);kl(f+32|0,f+316|0,4);kl(f+32|0,e+188|0,2);if(o[e+256|0]&1){kl(f+32|0,e+220|0,36)}if(q[f+312>>2]){kl(f+32|0,f+312|0,4)}d=Vn(f+32|0);l=ii}i=q[a+1812>>2];h=q[a+1804>>2];j=i-h|0;k=q[e+112>>2];b=Fi(k);c=q[a+1808>>2];h=c-h|0;if(j>>>0<(b+h|0)+1>>>0){q[f+16>>2]=j;mi(3,101221,101466,f+16|0);break g}if(b>>>0>i-c>>>0){break f}si(c,k,b);b=b+q[a+1808>>2]|0;q[a+1808>>2]=b;if((b|0)==q[a+1812>>2]){break d}q[a+1808>>2]=b+1;o[b|0]=0;c=f;b=q[f+312>>2];if(!b){b=q[q[f+316>>2]+4>>2]}q[c+312>>2]=b;ZF(f+32|0);u[f+80>>2]=u[e>>2];u[f+84>>2]=u[e+4>>2];u[f+88>>2]=u[e+8>>2];u[f+92>>2]=u[e+12>>2];u[f+96>>2]=u[e+16>>2];u[f+100>>2]=u[e+20>>2];u[f+104>>2]=u[e+24>>2];u[f+108>>2]=u[e+28>>2];u[f+112>>2]=u[e+32>>2];u[f+116>>2]=u[e+36>>2];u[f+120>>2]=u[e+40>>2];u[f+124>>2]=u[e+44>>2];u[f+128>>2]=u[e+48>>2];u[f+132>>2]=u[e+52>>2];u[f+136>>2]=u[e+56>>2];u[f+140>>2]=u[e+60>>2];q[f+236>>2]=h;b=q[f+316>>2];q[f+208>>2]=b;q[f+268>>2]=-1;q[f+272>>2]=-1;q[f+224>>2]=d;q[f+228>>2]=l;q[f+212>>2]=q[f+312>>2];g=x(u[e+68>>2]*x(255));h:{if(g=x(0)){c=~~g>>>0;break h}c=0}c=c<<8;d=f;g=x(u[e+64>>2]*x(255));i:{if(g=x(0)){h=~~g>>>0;break i}h=0}h=h|c;g=x(u[e+72>>2]*x(255));j:{if(g=x(0)){c=~~g>>>0;break j}c=0}h=h|c<<16;g=x(x(u[e+76>>2]*u[b+72>>2])*x(255));k:{if(g=x(0)){c=~~g>>>0;break k}c=0}q[d+232>>2]=h|c<<24;g=x(u[e+84>>2]*x(255));l:{if(g=x(0)){c=~~g>>>0;break l}c=0}c=c<<8;d=f;g=x(u[e+80>>2]*x(255));m:{if(g=x(0)){h=~~g>>>0;break m}h=0}h=h|c;g=x(u[e+88>>2]*x(255));n:{if(g=x(0)){c=~~g>>>0;break n}c=0}h=h|c<<16;g=x(x(u[e+92>>2]*u[b+76>>2])*x(255));o:{if(g=x(0)){c=~~g>>>0;break o}c=0}q[d+240>>2]=h|c<<24;g=x(u[e+100>>2]*x(255));p:{if(g=x(0)){c=~~g>>>0;break p}c=0}c=c<<8;d=f;g=x(u[e+96>>2]*x(255));q:{if(g=x(0)){h=~~g>>>0;break q}h=0}h=h|c;g=x(u[e+104>>2]*x(255));r:{if(g=x(0)){c=~~g>>>0;break r}c=0}c=h|c<<16;g=x(x(u[e+108>>2]*u[b+80>>2])*x(255));s:{if(g=x(0)){b=~~g>>>0;break s}b=0}q[d+244>>2]=c|b<<24;p[f+248>>1]=s[e+188>>1];u[f+252>>2]=u[e+192>>2];u[f+256>>2]=u[e+196>>2];u[f+260>>2]=u[e+200>>2];u[f+264>>2]=u[e+204>>2];o[f+251|0]=r[e+208|0];b=r[e+216|0];c=r[e+212|0];d=q[e+240>>2];q[f+48>>2]=q[e+236>>2];q[f+52>>2]=d;d=q[e+248>>2];q[f+56>>2]=q[e+244>>2];q[f+60>>2]=d;q[f- -64>>2]=q[e+252>>2];d=q[e+224>>2];q[f+32>>2]=q[e+220>>2];q[f+36>>2]=d;d=q[e+232>>2];q[f+40>>2]=q[e+228>>2];q[f+44>>2]=d;o[f+276|0]=r[e+256|0]<<4&16|(b<<2&12|(r[f+276|0]&224|c&3));q[f+216>>2]=q[e+180>>2];q[f+220>>2]=q[e+184>>2];b=r[e+190|0];if(b>>>0>=17){break e}o[f+250|0]=b;c=si(f+144|0,e+116|0,b<<2);b=q[a+1824>>2];if((b|0)==q[a+1828>>2]){break d}q[a+1824>>2]=b+256;q[b+32>>2]=q[f- -64>>2];a=q[f+60>>2];q[b+24>>2]=q[f+56>>2];q[b+28>>2]=a;a=q[f+52>>2];q[b+16>>2]=q[f+48>>2];q[b+20>>2]=a;a=q[f+44>>2];q[b+8>>2]=q[f+40>>2];q[b+12>>2]=a;a=q[f+36>>2];q[b>>2]=q[f+32>>2];q[b+4>>2]=a;u[b+48>>2]=u[f+80>>2];u[b+52>>2]=u[f+84>>2];u[b+56>>2]=u[f+88>>2];u[b+60>>2]=u[f+92>>2];u[b- -64>>2]=u[f+96>>2];u[b+68>>2]=u[f+100>>2];u[b+72>>2]=u[f+104>>2];u[b+76>>2]=u[f+108>>2];u[b+80>>2]=u[f+112>>2];u[b+84>>2]=u[f+116>>2];u[b+88>>2]=u[f+120>>2];u[b+92>>2]=u[f+124>>2];u[b+96>>2]=u[f+128>>2];u[b+100>>2]=u[f+132>>2];u[b+104>>2]=u[f+136>>2];u[b+108>>2]=u[f+140>>2];si(b+112|0,c,133)}if(q[f+296>>2]){Pi(f+296|0)}fi=f+320|0;return}J(102591,101904,508,102620);G()}J(101548,101615,561,101426);G()}J(102562,101904,501,102586);G()}function Xq(a,b,c,d,e,f,g){var h=0,i=x(0),j=0,k=x(0),l=x(0),m=0,n=0,s=0,t=0,y=0,z=0,A=0;j=fi-128|0;fi=j;a:{if(!a){m=-6;break a}o[g+77|0]=r[g+77|0]&254;if(!(b|c)){q[g+72>>2]=0;b:{if(q[72474]==(d|0)&q[72475]==(e|0)){h=a+32|0;q[g+72>>2]=h;b=q[72477];q[g>>2]=q[72476];q[g+4>>2]=b;b=q[72479];q[g+8>>2]=q[72478];q[g+12>>2]=b;b=q[72481];q[g+16>>2]=q[72480];q[g+20>>2]=b;b=q[a+36>>2];c=q[a+32>>2];u[g+48>>2]=u[a+40>>2];q[g+40>>2]=c;q[g+44>>2]=b;q[g+32>>2]=3;break b}if(q[72476]==(d|0)&q[72477]==(e|0)){h=a+32|0;q[g+72>>2]=h;i=u[a+32>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72478]==(d|0)&q[72479]==(e|0)){h=a+36|0;q[g+72>>2]=h;i=u[h>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72480]==(d|0)&q[72481]==(e|0)){h=a+40|0;q[g+72>>2]=h;i=u[h>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72448]==(d|0)&q[72449]==(e|0)){h=a+16|0;q[g+72>>2]=h;b=q[72451];q[g>>2]=q[72450];q[g+4>>2]=b;b=q[72453];q[g+8>>2]=q[72452];q[g+12>>2]=b;b=q[72455];q[g+16>>2]=q[72454];q[g+20>>2]=b;b=q[a+20>>2];c=q[a+16>>2];u[g+48>>2]=u[a+24>>2];q[g+40>>2]=c;q[g+44>>2]=b;q[g+32>>2]=3;break b}if(q[72450]==(d|0)&q[72451]==(e|0)){h=a+16|0;q[g+72>>2]=h;i=u[a+16>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72452]==(d|0)&q[72453]==(e|0)){h=a+20|0;q[g+72>>2]=h;i=u[h>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72454]==(d|0)&q[72455]==(e|0)){h=a+24|0;q[g+72>>2]=h;i=u[h>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72456]==(d|0)&q[72457]==(e|0)){q[g+72>>2]=a;b=q[72459];q[g>>2]=q[72458];q[g+4>>2]=b;b=q[72461];q[g+8>>2]=q[72460];q[g+12>>2]=b;b=q[72463];q[g+16>>2]=q[72462];q[g+20>>2]=b;b=q[72465];q[g+24>>2]=q[72464];q[g+28>>2]=b;b=q[a>>2];c=q[a+4>>2];d=q[a+12>>2];q[g+48>>2]=q[a+8>>2];q[g+52>>2]=d;q[g+40>>2]=b;q[g+44>>2]=c;q[g+32>>2]=5;h=a;break b}if(q[72458]==(d|0)&q[72459]==(e|0)){q[g+72>>2]=a;i=u[a>>2];q[g+32>>2]=0;v[g+40>>3]=i;h=a;break b}if(q[72460]==(d|0)&q[72461]==(e|0)){h=a+4|0;q[g+72>>2]=h;i=u[a+4>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72462]==(d|0)&q[72463]==(e|0)){h=a+8|0;q[g+72>>2]=h;i=u[a+8>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72464]==(d|0)&q[72465]==(e|0)){h=a+12|0;q[g+72>>2]=h;i=u[a+12>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[72466]==(d|0)&q[72467]==(e|0)){Io(j,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);i=u[j>>2];u[a+48>>2]=i;k=u[j+4>>2];u[a+52>>2]=k;l=u[j+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=k;u[a+64>>2]=i;h=a+48|0;q[g+72>>2]=h;a=q[72469];q[g>>2]=q[72468];q[g+4>>2]=a;a=q[72471];q[g+8>>2]=q[72470];q[g+12>>2]=a;a=q[72472];b=q[72473];u[g+48>>2]=l;u[g+44>>2]=k;u[g+40>>2]=i;q[g+32>>2]=3;q[g+16>>2]=a;q[g+20>>2]=b;break b}c:{if(q[72468]==(d|0)&q[72469]==(e|0)){Io(j,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);i=u[j>>2];u[a+48>>2]=i;k=u[j+4>>2];u[a+52>>2]=k;l=u[j+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=k;u[a+64>>2]=i;v[g+40>>3]=i;q[g+32>>2]=0;h=a+48|0;break c}if(q[72470]==(d|0)&q[72471]==(e|0)){Io(j,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);k=u[j>>2];u[a+48>>2]=k;h=a+52|0;i=u[j+4>>2];u[h>>2]=i;l=u[j+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=i;u[a+64>>2]=k;v[g+40>>3]=i;q[g+32>>2]=0;break c}if((d|0)!=q[72472]|(e|0)!=q[72473]){break b}Io(j,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);k=u[j>>2];u[a+48>>2]=k;l=u[j+4>>2];u[a+52>>2]=l;h=a+56|0;i=u[j+8>>2];u[h>>2]=i;u[a+72>>2]=i;u[a+68>>2]=l;u[a+64>>2]=k;v[g+40>>3]=i;q[g+32>>2]=0}q[g+72>>2]=h}fi=j+128|0;return h?0:-1}m=-5;h=q[a+84>>2];s=q[h+4>>2];if(!s){break a}n=q[h>>2];h=0;while(1){t=w(h,80)+n|0;if(q[t>>2]!=(b|0)|q[t+4>>2]!=(c|0)){h=h+1|0;if((s|0)!=(h|0)){continue}break a}break}b=h&65535;c=q[(w(b,80)+n|0)+16>>2];if(!q[c+80>>2]){m=-1;break a}h=0;if(o[c+98|0]&1){d:{if(!b){m=0;break d}m=0;while(1){m=(p[q[(w(h,80)+n|0)+16>>2]+98>>1]&1)+m|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}}h=((m<<2)+a|0)+156|0}q[j+80>>2]=q[c+16>>2];b=q[(q[a+80>>2]+(q[(w(b,80)+n|0)+20>>2]<<2)|0)+12>>2];q[j+96>>2]=d;q[j+100>>2]=e;q[j+88>>2]=a;q[j+84>>2]=b;a=q[f+12>>2];q[j+120>>2]=q[f+8>>2];q[j+124>>2]=a;a=q[f+4>>2];q[j+112>>2]=q[f>>2];q[j+116>>2]=a;q[j+104>>2]=h;m=(z=j+80|0,A=ap(j),y=q[c+80>>2],ji[y](z|0,A|0)|0);if(m){break a}si(g,j,78)}fi=j+128|0;return m}function dK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{e=c<<2;switch(q[e+q[b+12>>2]>>2]){case 2:break i;case 1:break j;case 0:break k;case 7:break d;case 6:break e;case 5:break f;case 4:break g;case 3:break h;default:break b}}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[q[b+8>>2]+(c<<2)>>2];c=q[b+4>>2]+(c<<3)|0;h=q[c+4>>2];c=q[c>>2];e=1;b=q[b+20>>2];q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=c;q[i+4>>2]=h;c=f<<2;q[c+q[d+12>>2]>>2]=0;f=c+q[d+8>>2]|0;c=q[a+8>>2];q[f>>2]=c;u[q[d+20>>2]+(c<<2)>>2]=u[b+(g<<2)>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[b+16>>2]+(q[q[b+8>>2]+(c<<2)>>2]<<3)|0;g=q[e>>2];h=q[e+4>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];e=1;q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=1;c=b+q[d+8>>2]|0;b=q[a+12>>2];q[c>>2]=b;b=q[d+16>>2]+(b<<3)|0;q[b>>2]=g;q[b+4>>2]=h;a=a+12|0;break c}d=q[a+4>>2];e=q[a>>2];if(d>>>0>=t[e>>2]){break a}f=q[q[b+8>>2]+(c<<2)>>2];c=q[b+4>>2]+(c<<3)|0;g=q[c+4>>2];c=q[c>>2];h=q[b+24>>2];q[a+4>>2]=d+1;b=q[e+4>>2]+(d<<3)|0;q[b>>2]=c;q[b+4>>2]=g;b=d<<2;q[b+q[e+12>>2]>>2]=2;c=b+q[e+8>>2]|0;b=q[a+20>>2];q[c>>2]=b;b=b+q[e+24>>2]|0;c=f+h|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=d;o[b+1|0]=d>>>8;o[b+2|0]=d>>>16;o[b+3|0]=d>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;e=r[c+28|0]|r[c+29|0]<<8|(r[c+30|0]<<16|r[c+31|0]<<24);d=r[c+24|0]|r[c+25|0]<<8|(r[c+26|0]<<16|r[c+27|0]<<24);o[b+24|0]=d;o[b+25|0]=d>>>8;o[b+26|0]=d>>>16;o[b+27|0]=d>>>24;o[b+28|0]=e;o[b+29|0]=e>>>8;o[b+30|0]=e>>>16;o[b+31|0]=e>>>24;e=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);d=r[c+16|0]|r[c+17|0]<<8|(r[c+18|0]<<16|r[c+19|0]<<24);o[b+16|0]=d;o[b+17|0]=d>>>8;o[b+18|0]=d>>>16;o[b+19|0]=d>>>24;o[b+20|0]=e;o[b+21|0]=e>>>8;o[b+22|0]=e>>>16;o[b+23|0]=e>>>24;e=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[b+12|0]=e;o[b+13|0]=e>>>8;o[b+14|0]=e>>>16;o[b+15|0]=e>>>24;e=32;a=a+20|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[e+q[b+8>>2]>>2];h=q[b+20>>2];e=3;b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=3;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=h+(g<<2)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[e+q[b+8>>2]>>2];h=q[b+20>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;e=q[d+4>>2]+(f<<3)|0;q[e>>2]=b;q[e+4>>2]=c;e=4;b=f<<2;q[b+q[d+12>>2]>>2]=4;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=h+(g<<2)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[e+q[b+8>>2]>>2];g=q[b+20>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;h=q[d+4>>2]+(f<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=5;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=g+(e<<2)|0;u[b>>2]=u[c>>2];e=4;u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=r[q[b+28>>2]+q[q[b+8>>2]+(c<<2)>>2]|0];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];e=1;q[a+4>>2]=f+1;h=q[d+4>>2]+(f<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=6;c=b+q[d+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;o[b+q[d+28>>2]|0]=(g|0)!=0;a=a+16|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[b+28>>2]+q[e+q[b+8>>2]>>2]|0;b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;g=q[d+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=7;c=b+q[d+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;c=b+q[d+28>>2]|0;b=e;e=Fi(e)+1|0;si(c,b,e);a=a+16|0}q[a>>2]=q[a>>2]+e;return}J(13913,13798,420,14104);G()}J(14016,13798,256,14079);G()}function vq(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;wv(a,b,c);a:{if(q[b>>2]!=10){break a}i=q[b+8>>2];if((i|0)==-1){break a}d=q[b+16>>2];if((d|0)!=-1){h=q[q[a>>2]+12>>2];while(1){f=d;e=h+(d<<2)|0;g=q[e>>2];d=(g>>>14|0)-131071|0;d=(d|0)==-1?-1:(f+d|0)+1|0;if((d|0)!=-1){continue}break}f=i+(f^-1)|0;d=f>>31;h=e;if((d^d+f)>=131072){xj(q[a+12>>2],127273);g=q[e>>2]}q[h>>2]=(g&16383|f<<14)+2147467264;break a}q[b+16>>2]=i}d=q[b+16>>2];g=q[b+20>>2];b:{if((d|0)==(g|0)){break b}m=-1;c:{d:{if((d|0)!=-1){h=q[q[a>>2]+12>>2];while(1){e=h+(d<<2)|0;e:{if((d|0)>=1){f=q[e-4>>2];if(o[(f&63)+126784|0]<0){break e}}f=q[e>>2]}if((f&63)!=27){break d}f=d;d=(q[e>>2]>>>14|0)-131071|0;d=(d|0)==-1?-1:(f+d|0)+1|0;if((d|0)!=-1){continue}break}}j=-1;if((g|0)==-1){break c}e=q[q[a>>2]+12>>2];while(1){d=e+(g<<2)|0;f:{if((g|0)>=1){f=q[d-4>>2];if(o[(f&63)+126784|0]<0){break f}}f=q[d>>2]}if((f&63)!=27){break d}d=(q[d>>2]>>>14|0)-131071|0;g=(d|0)==-1?-1:(d+g|0)+1|0;if((g|0)!=-1){continue}break}break c}e=-1;g:{if(q[b>>2]==10){break g}f=q[a+32>>2];q[a+32>>2]=-1;e=Jk(a,2147450902,q[q[a+12>>2]+8>>2]);if((f|0)==-1){break g}if((e|0)==-1){e=f;break g}k=q[q[a>>2]+12>>2];d=e;while(1){h=d;g=k+(d<<2)|0;i=q[g>>2];d=(i>>>14|0)-131071|0;d=(d|0)==-1?-1:(h+d|0)+1|0;if((d|0)!=-1){continue}break}f=f+(h^-1)|0;d=f>>31;h=g;if((d^d+f)>=131072){xj(q[a+12>>2],127273);i=q[g>>2]}q[h>>2]=(i&16383|f<<14)+2147467264}q[a+28>>2]=q[a+24>>2];d=c<<6;j=Jk(a,d|16386,q[q[a+12>>2]+8>>2]);q[a+28>>2]=q[a+24>>2];m=Jk(a,d|8388610,q[q[a+12>>2]+8>>2]);q[a+28>>2]=q[a+24>>2];if((e|0)==-1){break c}d=q[a+32>>2];if((d|0)!=-1){i=q[q[a>>2]+12>>2];while(1){g=d;f=i+(d<<2)|0;h=q[f>>2];d=(h>>>14|0)-131071|0;d=(d|0)==-1?-1:(g+d|0)+1|0;if((d|0)!=-1){continue}break}e=(g^-1)+e|0;d=e>>31;g=f;if((d^d+e)>=131072){xj(q[a+12>>2],127273);h=q[f>>2]}q[g>>2]=(h&16383|e<<14)+2147467264;break c}q[a+32>>2]=e}k=q[a+24>>2];q[a+28>>2]=k;d=q[b+20>>2];h:{if((d|0)==-1){break h}if((c|0)==255){while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;l=(d+e|0)+1|0;i:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+126784|0]<0){break i}}f=g;e=h}i=i?-1:l;j:{k:{l:{if((f&63)!=27){d=(d^-1)+j|0;e=d>>31;if((e^d+e)>131071){break l}break j}q[e>>2]=f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)<131072){break k}}xj(q[a+12>>2],127273)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break h}}l=c<<6&16320;while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;n=(d+e|0)+1|0;m:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+126784|0]<0){break m}}f=g;e=h}i=i?-1:n;n:{o:{p:{if((f&63)==27){q[e>>2]=(f>>>23|0)!=(c|0)?l|f&-16321:f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)>131071){break p}break o}d=(d^-1)+j|0;e=d>>31;if((e^d+e)<131072){break n}}xj(q[a+12>>2],127273)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break}}d=q[b+16>>2];if((d|0)==-1){break b}if((c|0)==255){while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;j=(d+e|0)+1|0;q:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+126784|0]<0){break q}}f=g;e=h}i=i?-1:j;r:{s:{t:{if((f&63)!=27){d=(d^-1)+m|0;e=d>>31;if((e^d+e)>131071){break t}break r}q[e>>2]=f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)<131072){break s}}xj(q[a+12>>2],127273)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break b}}j=c<<6&16320;while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;l=(d+e|0)+1|0;u:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+126784|0]<0){break u}}f=g;e=h}i=i?-1:l;v:{w:{x:{if((f&63)==27){q[e>>2]=(f>>>23|0)!=(c|0)?j|f&-16321:f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)>131071){break x}break w}d=(d^-1)+m|0;e=d>>31;if((e^d+e)<131072){break v}}xj(q[a+12>>2],127273)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break}}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=c;q[b>>2]=12}function YJ(a,b,c,d,e,f,g){var h=0,i=0,j=x(0),k=0,l=x(0),m=x(0),n=0,r=0,s=0;h=fi-112|0;fi=h;a:{if(!a){i=-6;break a}if(!(b|c)){if(q[72448]==(d|0)&q[72449]==(e|0)){i=-4;if(q[g>>2]!=3){break a}u[a+16>>2]=u[g+8>>2];u[a+20>>2]=u[g+12>>2];u[a+24>>2]=u[g+16>>2];i=0;break a}if(q[72450]==(d|0)&q[72451]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+16>>2]=v[g+8>>3];i=0;break a}if(q[72452]==(d|0)&q[72453]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+20>>2]=v[g+8>>3];i=0;break a}if(q[72454]==(d|0)&q[72455]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+24>>2]=v[g+8>>3];i=0;break a}if(q[72474]==(d|0)&q[72475]==(e|0)){i=-4;b:{switch(q[g>>2]){case 0:j=x(v[g+8>>3]);u[a+40>>2]=j;u[a+36>>2]=j;u[a+32>>2]=j;i=0;break a;case 3:break b;default:break a}}u[a+32>>2]=u[g+8>>2];u[a+36>>2]=u[g+12>>2];u[a+40>>2]=u[g+16>>2];i=0;break a}if(q[72476]==(d|0)&q[72477]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+32>>2]=v[g+8>>3];i=0;break a}if(q[72478]==(d|0)&q[72479]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+36>>2]=v[g+8>>3];i=0;break a}if(q[72480]==(d|0)&q[72481]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+40>>2]=v[g+8>>3];i=0;break a}if(q[72456]==(d|0)&q[72457]==(e|0)){i=-4;if(q[g>>2]!=5){break a}u[a>>2]=u[g+8>>2];u[a+4>>2]=u[g+12>>2];u[a+8>>2]=u[g+16>>2];u[a+12>>2]=u[g+20>>2];i=0;break a}if(q[72458]==(d|0)&q[72459]==(e|0)){i=-4;if(q[g>>2]){break a}u[a>>2]=v[g+8>>3];i=0;break a}if(q[72460]==(d|0)&q[72461]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+4>>2]=v[g+8>>3];i=0;break a}if(q[72462]==(d|0)&q[72463]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+8>>2]=v[g+8>>3];i=0;break a}if(q[72464]==(d|0)&q[72465]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+12>>2]=v[g+8>>3];i=0;break a}if(q[72466]==(d|0)&q[72467]==(e|0)){i=-4;if(q[g>>2]!=3){break a}j=u[g+12>>2];l=u[g+8>>2];m=u[g+16>>2];u[a+56>>2]=m;u[a+52>>2]=j;u[a+48>>2]=l;u[a+72>>2]=m;u[a+68>>2]=j;u[a+64>>2]=l;u[h+104>>2]=m;u[h+100>>2]=j;u[h+96>>2]=l;Jo(h,h+96|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}if(q[72468]==(d|0)&q[72469]==(e|0)){i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+48>>2]=j;u[a+64>>2]=j;l=u[a+52>>2];u[a+68>>2]=l;m=u[a+56>>2];u[a+72>>2]=m;u[h+104>>2]=m;u[h+100>>2]=l;u[h+96>>2]=j;Jo(h,h+96|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}if(q[72470]==(d|0)&q[72471]==(e|0)){i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+52>>2]=j;u[a+68>>2]=j;l=u[a+48>>2];u[a+64>>2]=l;m=u[a+56>>2];u[a+72>>2]=m;u[h+104>>2]=m;u[h+100>>2]=j;u[h+96>>2]=l;Jo(h,h+96|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}i=-1;if((d|0)!=q[72472]|(e|0)!=q[72473]){break a}i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+56>>2]=j;u[a+72>>2]=j;l=u[a+48>>2];u[a+64>>2]=l;m=u[a+52>>2];u[a+68>>2]=m;u[h+104>>2]=j;u[h+100>>2]=m;u[h+96>>2]=l;Jo(h,h+96|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}i=-5;k=q[a+84>>2];r=q[k+4>>2];if(!r){break a}n=q[k>>2];k=0;while(1){s=n+w(k,80)|0;if(q[s>>2]!=(b|0)|q[s+4>>2]!=(c|0)){k=k+1|0;if((r|0)!=(k|0)){continue}break a}break}b=k&65535;c=q[(n+w(b,80)|0)+16>>2];if(!q[c+84>>2]){i=-1;break a}k=0;if(o[c+98|0]&1){c:{if(!b){i=0;break c}i=0;while(1){i=(p[q[(n+w(k,80)|0)+16>>2]+98>>1]&1)+i|0;k=k+1|0;if((b|0)!=(k|0)){continue}break}}k=((i<<2)+a|0)+156|0}i=h- -64|0;q[i>>2]=0;q[i+4>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h>>2]=q[c+16>>2];b=q[(q[a+80>>2]+(q[(n+w(b,80)|0)+20>>2]<<2)|0)+12>>2];q[h+24>>2]=k;q[h+16>>2]=d;q[h+20>>2]=e;q[h+8>>2]=a;q[h+4>>2]=b;a=q[g+36>>2];q[i>>2]=q[g+32>>2];q[i+4>>2]=a;a=q[g+28>>2];q[h+56>>2]=q[g+24>>2];q[h+60>>2]=a;a=q[g+20>>2];q[h+48>>2]=q[g+16>>2];q[h+52>>2]=a;a=q[g+12>>2];q[h+40>>2]=q[g+8>>2];q[h+44>>2]=a;a=q[g+4>>2];q[h+32>>2]=q[g>>2];q[h+36>>2]=a;a=q[f+12>>2];q[h+80>>2]=q[f+8>>2];q[h+84>>2]=a;a=q[f+4>>2];q[h+72>>2]=q[f>>2];q[h+76>>2]=a;i=ji[q[c+84>>2]](h)|0}fi=h+112|0;return i}function era(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){a:{b:{c:{if(t[a+116>>2]>261){break c}as(a);c=q[a+116>>2];if(!(c>>>0>=262|b)){return 0}if(!c){break a}if(c>>>0>2){break c}c=q[a+96>>2];q[a+120>>2]=c;q[a+100>>2]=q[a+112>>2];e=2;q[a+96>>2]=2;break b}e=2;c=q[a+108>>2];d=q[a+84>>2]&(r[(c+q[a+56>>2]|0)+2|0]^q[a+72>>2]<>2]);q[a+72>>2]=d;f=q[a+68>>2]+(d<<1)|0;d=s[f>>1];p[q[a+64>>2]+((c&q[a+52>>2])<<1)>>1]=d;p[f>>1]=c;c=q[a+96>>2];q[a+120>>2]=c;q[a+100>>2]=q[a+112>>2];q[a+96>>2]=2;if(!d){break b}d:{if(q[a+44>>2]-262>>>0>2]-d>>>0|t[a+128>>2]<=c>>>0){break d}e=kE(a,d);q[a+96>>2]=e;if(e>>>0>5){break d}if(q[a+136>>2]!=1){if((e|0)!=3){break d}e=3;if(q[a+108>>2]-q[a+112>>2]>>>0<4097){break d}}e=2;q[a+96>>2]=2}c=q[a+120>>2]}if(!(c>>>0<3|c>>>0>>0)){f=q[a+116>>2];d=q[a+5792>>2];h=q[a+108>>2];e=h+(q[a+100>>2]^-1)|0;p[q[a+5796>>2]+(d<<1)>>1]=e;q[a+5792>>2]=d+1;c=c-3|0;o[d+q[a+5784>>2]|0]=c;c=((r[(c&255)+181632|0]<<2)+a|0)+1176|0;p[c>>1]=s[c>>1]+1;c=e-1&65535;c=((r[(c>>>0<256?c:(c>>>7|0)+256|0)+181120|0]<<2)+a|0)+2440|0;p[c>>1]=s[c>>1]+1;c=q[a+120>>2];e=c-2|0;q[a+120>>2]=e;q[a+116>>2]=(q[a+116>>2]-c|0)+1;f=(f+h|0)-3|0;h=q[a+5788>>2]-1|0;c=q[a+108>>2];i=q[a+5792>>2];while(1){d=c;c=c+1|0;q[a+108>>2]=c;if(c>>>0<=f>>>0){g=q[a+84>>2]&(r[(d+q[a+56>>2]|0)+3|0]^q[a+72>>2]<>2]);q[a+72>>2]=g;g=q[a+68>>2]+(g<<1)|0;p[q[a+64>>2]+((q[a+52>>2]&c)<<1)>>1]=s[g>>1];p[g>>1]=c}e=e-1|0;q[a+120>>2]=e;if(e){continue}break}q[a+96>>2]=2;q[a+104>>2]=0;f=d+2|0;q[a+108>>2]=f;if((h|0)!=(i|0)){continue}c=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}ym(c,e,f-d|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];nl(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;e:{if(!e){break e}si(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break e}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}return 0}if(q[a+104>>2]){c=r[(q[a+108>>2]+q[a+56>>2]|0)-1|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;f:{if(q[a+5792>>2]!=(q[a+5788>>2]-1|0)){break f}c=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}ym(c,e,q[a+108>>2]-d|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];nl(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;if(!e){break f}si(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break f}q[d+16>>2]=q[d+8>>2]}q[a+108>>2]=q[a+108>>2]+1;q[a+116>>2]=q[a+116>>2]-1;if(q[q[a>>2]+16>>2]){continue}return 0}else{q[a+104>>2]=1;q[a+108>>2]=q[a+108>>2]+1;q[a+116>>2]=q[a+116>>2]-1;continue}}break}if(q[a+104>>2]){c=r[(q[a+108>>2]+q[a+56>>2]|0)-1|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;q[a+104>>2]=0}c=q[a+108>>2];q[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}ym(b,e,c-d|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;g:{if(!d){break g}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break g}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}h:{if(!q[a+5792>>2]){break h}b=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}ym(b,e,c-d|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;i:{if(!d){break i}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break i}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break h}return 0}return 1}function Xv(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:while(1){k=b-2|0;b:while(1){f=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-f|0;d=a>>1;switch(d|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}c=q[c>>2]+8|0;a=b-2|0;b=s[a>>1];d=s[f>>1];if(s[(c+w(b,104)|0)+100>>1]>=s[(c+w(d,104)|0)+100>>1]){break d}p[f>>1]=b;p[a>>1]=d;return}c=q[c>>2];g=c+8|0;a=b-2|0;d=s[a>>1];e=s[(g+w(d,104)|0)+100>>1];b=s[f>>1];h=g+w(b,104)|0;k=s[f+2>>1];g=s[(g+w(k,104)|0)+100>>1];if(s[h+100>>1]<=g>>>0){if(e>>>0>=g>>>0){break d}p[f+2>>1]=d;p[a>>1]=k;b=c+8|0;a=s[f+2>>1];c=s[f>>1];if(s[(b+w(a,104)|0)+100>>1]>=s[(b+w(c,104)|0)+100>>1]){break d}p[f+2>>1]=c;p[f>>1]=a;return}if(e>>>0>>0){p[f>>1]=d;p[a>>1]=b;return}p[f+2>>1]=b;p[f>>1]=k;d=s[a>>1];if(s[(c+w(d,104)|0)+108>>1]>=s[h+100>>1]){break d}p[f+2>>1]=d;p[a>>1]=b;return}a=f;lr(f,f+2|0,f+4|0,f+6|0,c);g=q[c>>2];c=g+8|0;b=b-2|0;d=s[b>>1];e=s[f+6>>1];if(s[(c+w(d,104)|0)+100>>1]>=s[(c+w(e,104)|0)+100>>1]){break d}p[a+6>>1]=d;p[b>>1]=e;d=s[a+6>>1];e=c+w(d,104)|0;b=f;k=s[f+4>>1];if(s[e+100>>1]>=s[(c+w(k,104)|0)+100>>1]){break d}p[b+4>>1]=d;p[a+6>>1]=k;b=s[f+2>>1];if(s[e+100>>1]>=s[(g+w(b,104)|0)+108>>1]){break d}p[a+4>>1]=b;p[a+2>>1]=d;b=s[a>>1];if(s[e+100>>1]>=s[(g+w(b,104)|0)+108>>1]){break d}p[a+2>>1]=b;p[a>>1]=d;return}if((a|0)<=61){AN(f,b,c);return}h=((d|0)/2<<1)+f|0;l:{if((a|0)>=1999){a=(d|0)/4<<1;g=a+f|0;e=a+h|0;i=lr(f,g,h,e,c);a=q[c>>2];d=a+8|0;j=s[k>>1];l=s[e>>1];if(s[(d+w(j,104)|0)+100>>1]>=s[(d+w(l,104)|0)+100>>1]){break l}p[e>>1]=j;p[k>>1]=l;j=s[e>>1];l=s[h>>1];if(s[(d+w(j,104)|0)+100>>1]>=s[(d+w(l,104)|0)+100>>1]){i=i+1|0;break l}p[h>>1]=j;p[e>>1]=l;e=s[h>>1];j=s[g>>1];if(s[(d+w(e,104)|0)+100>>1]>=s[(d+w(j,104)|0)+100>>1]){i=i+2|0;break l}p[g>>1]=e;p[h>>1]=j;e=s[g>>1];j=s[f>>1];if(s[(d+w(e,104)|0)+100>>1]>=s[(d+w(j,104)|0)+100>>1]){i=i+3|0;break l}p[f>>1]=e;p[g>>1]=j;i=i+4|0;break l}a=q[c>>2];d=a+8|0;e=s[k>>1];j=s[(d+w(e,104)|0)+100>>1];l=s[h>>1];m=s[(d+w(l,104)|0)+100>>1];g=s[f>>1];n=d+w(g,104)|0;m:{if(m>>>0>=s[n+100>>1]){i=0;if(j>>>0>=m>>>0){break l}p[h>>1]=e;p[k>>1]=l;i=1;g=s[h>>1];e=s[f>>1];if(s[(d+w(g,104)|0)+100>>1]>=s[(d+w(e,104)|0)+100>>1]){break l}p[f>>1]=g;p[h>>1]=e;break m}if(j>>>0>>0){p[f>>1]=e;p[k>>1]=g;i=1;break l}p[f>>1]=l;p[h>>1]=g;i=1;d=s[k>>1];if(s[(w(d,104)+a|0)+108>>1]>=s[n+100>>1]){break l}p[h>>1]=d;p[k>>1]=g}i=2}e=k;j=a+8|0;d=s[f>>1];g=s[(j+w(d,104)|0)+100>>1];l=s[(j+w(s[h>>1],104)|0)+100>>1];if(g>>>0>=l>>>0){while(1){e=e-2|0;if((e|0)==(f|0)){d=f+2|0;e=s[k>>1];if(g>>>0>1]){break e}if((d|0)==(k|0)){break d}while(1){h=s[d>>1];if(g>>>0>1]){p[d>>1]=e;p[k>>1]=h;d=d+2|0;break e}d=d+2|0;if((k|0)!=(d|0)){continue}break}break d}m=s[e>>1];if(l>>>0<=s[(w(m,104)+a|0)+108>>1]){continue}break}p[f>>1]=m;p[e>>1]=d;i=i+1|0}d=f+2|0;if(e>>>0<=d>>>0){break f}while(1){l=s[(w(s[h>>1],104)+a|0)+108>>1];while(1){g=d;d=d+2|0;m=s[g>>1];if(l>>>0>s[(w(m,104)+a|0)+108>>1]){continue}break}while(1){e=e-2|0;n=s[e>>1];if(l>>>0<=s[(w(n,104)+a|0)+108>>1]){continue}break}if(e>>>0>>0){d=g;break f}else{p[g>>1]=n;p[e>>1]=m;h=(g|0)==(h|0)?e:h;i=i+1|0;continue}}}lr(f,f+2|0,f+4|0,b-2|0,c);break d}n:{if((d|0)==(h|0)){break n}a=s[h>>1];g=s[d>>1];if(s[(j+w(a,104)|0)+100>>1]>=s[(j+w(g,104)|0)+100>>1]){break n}p[d>>1]=a;p[h>>1]=g;i=i+1|0}if(!i){g=ML(f,d,c);a=d+2|0;if(ML(a,b,c)){b=d;a=f;if(!g){continue a}break d}if(g){continue b}}if((d-f|0)<(b-d|0)){Xv(f,d,c);a=d+2|0;continue b}Xv(d+2|0,b,c);b=d;a=f;continue a}e=k;if((e|0)==(d|0)){break d}while(1){h=s[(w(s[f>>1],104)+a|0)+108>>1];while(1){g=d;d=d+2|0;i=s[g>>1];if(h>>>0>=s[(w(i,104)+a|0)+108>>1]){continue}break}while(1){e=e-2|0;j=s[e>>1];if(h>>>0>1]){continue}break}if(e>>>0<=g>>>0){f=g;continue c}else{p[g>>1]=j;p[e>>1]=i;continue}}}break}break}break}}function Uja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),t=0,v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=0,F=0,H=0,I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=0,Q=x(0),R=x(0);f=fi-80|0;fi=f;e=q[a+4>>2];a:{b:{c:{c=q[a+16>>2];b=q[c+64>>2];g=q[61114];d=q[c+68>>2];d:{if((b|0)==q[g+8>>2]&(d|0)==q[g+12>>2]){g=q[e+84>>2];d=q[q[a+12>>2]>>2];q[f+76>>2]=0;if(q[c+84>>2]==20){b=xi(16);q[f+76>>2]=b;q[f+72>>2]=q[c+96>>2];h=r[c+112|0]|r[c+113|0]<<8|(r[c+114|0]<<16|r[c+115|0]<<24);i=r[c+108|0]|r[c+109|0]<<8|(r[c+110|0]<<16|r[c+111|0]<<24);o[b+8|0]=i;o[b+9|0]=i>>>8;o[b+10|0]=i>>>16;o[b+11|0]=i>>>24;o[b+12|0]=h;o[b+13|0]=h>>>8;o[b+14|0]=h>>>16;o[b+15|0]=h>>>24;h=r[c+104|0]|r[c+105|0]<<8|(r[c+106|0]<<16|r[c+107|0]<<24);i=r[c+100|0]|r[c+101|0]<<8|(r[c+102|0]<<16|r[c+103|0]<<24);o[b|0]=i;o[b+1|0]=i>>>8;o[b+2|0]=i>>>16;o[b+3|0]=i>>>24;o[b+4|0]=h;o[b+5|0]=h>>>8;o[b+6|0]=h>>>16;o[b+7|0]=h>>>24}h=e+4|0;E=q[c+56>>2];F=q[c+60>>2];H=q[a>>2];b=q[e+4>>2];c=q[e+8>>2];if((b|0)==(c|0)){if(o[e+12|0]&1){break c}vi(((b-q[e>>2]|0)/40|0)+4|0,40,e,e+8|0,h);c=q[e+8>>2];b=q[e+4>>2]}i=q[e>>2];t=b-i|0;P=(t|0)/40|0;v=P+1|0;if(v>>>0>(c-i|0)/40>>>0){break b}q[h>>2]=i+w(v,40);if((t+40|0)/40>>>0<=P>>>0){break a}q[b+8>>2]=E;q[b+12>>2]=F;q[b>>2]=H;q[b+28>>2]=(d-q[e+48>>2]|0)/48;ss(q[q[e+80>>2]>>2],q[d+32>>2]);q[b+16>>2]=HG(q[e+84>>2],q[d+32>>2],f+72|0);c=q[d+32>>2];q[b+24>>2]=e;q[b+20>>2]=c;p[b+32>>1]=s[b+32>>1]&65534|p[d+36>>1]&1;q[e+112>>2]=q[e+112>>2]+((q[c+4>>2]-q[c>>2]|0)/18568|0);y=u[d+24>>2];z=u[d+20>>2];A=u[d+28>>2];B=u[d+16>>2];b=q[b+16>>2];k=u[d>>2];l=u[d+4>>2];m=u[d+8>>2];mv(f+16|0,q[a>>2]);Q=u[f+36>>2];R=u[f+32>>2];j=u[f+24>>2];I=u[f+48>>2];n=x(k*I);k=u[f+28>>2];K=u[f+52>>2];C=x(l*K);l=u[f+16>>2];L=u[f+56>>2];D=x(m*L);M=x(x(x(j*n)+x(k*C))-x(l*D));m=u[f+20>>2];N=x(x(j*D)+x(x(l*n)+x(m*C)));O=x(x(x(l*C)+x(k*D))-x(m*n));n=x(x(x(k*n)+x(m*D))-x(j*C));u[f+24>>2]=u[f+40>>2]+x(x(l*M)+x(x(x(j*N)+x(k*O))-x(m*n)));u[f+20>>2]=Q+x(x(j*n)+x(x(x(k*M)+x(m*N))-x(l*O)));u[f+16>>2]=R+x(x(m*O)+x(x(x(l*N)+x(k*n))-x(j*M)));Bu(g,b,f+16|0);u[f+28>>2]=x(x(x(A*k)-x(B*l))-x(z*m))-x(y*j);u[f+24>>2]=x(x(z*l)+x(x(A*j)+x(y*k)))-x(B*m);u[f+20>>2]=x(x(B*j)+x(x(A*m)+x(z*k)))-x(y*l);u[f+16>>2]=x(x(y*m)+x(x(A*l)+x(B*k)))-x(z*j);Au(g,b,f+16|0);j=IL?L:j);AG(g,b,(q[q[a>>2]+136>>2]&512)>>>9|0);if(!(o[d+36|0]&1)){break d}Yy(g,b);break d}g=q[61115];if((b|0)==q[g+8>>2]&(d|0)==q[g+12>>2]){d=q[e+4>>2];b=q[e>>2];c=d-b|0;if(!c){break d}c=(c|0)/40|0;if((b|0)!=(d|0)){c=c>>>0>1?c:1;d=0;while(1){b=w(d,40)+b|0;e:{if(q[b>>2]!=q[a>>2]){break e}g=q[a+16>>2];if(q[b+8>>2]!=q[g+56>>2]|q[b+12>>2]!=q[g+60>>2]){break e}Xy(q[e+84>>2],q[b+16>>2])}d=d+1|0;if((c|0)==(d|0)){break d}b=q[e>>2];if((q[e+4>>2]-b|0)/40>>>0>d>>>0){continue}break}}break a}g=q[61140];if((b|0)==q[g+8>>2]&(d|0)==q[g+12>>2]){g=q[e+4>>2];b=q[e>>2];h=g-b|0;d=(h|0)/40|0;if(h){f:{if((b|0)!=(g|0)){h=d>>>0>1?d:1;d=0;g=0;while(1){b=w(d,40)+b|0;if(q[b>>2]==q[a>>2]){b=q[b+16>>2];i=q[c+104>>2];E=q[c+108>>2];F=q[c+100>>2];H=q[c+96>>2];t=q[e+84>>2];u[f>>2]=u[c+112>>2];u[f+4>>2]=u[c+116>>2];u[f+8>>2]=u[c+120>>2];u[f+12>>2]=u[c+124>>2];Q5(t,b,H,F,i,E,f);g=g+1|0}d=d+1|0;if((h|0)==(d|0)){break f}b=q[e>>2];if((q[e+4>>2]-b|0)/40>>>0>d>>>0){continue}break}}break a}if(g){break d}}mi(3,48249,48449,0);break d}v=b;b=q[61162];if((v|0)!=q[b+8>>2]|q[b+12>>2]!=(d|0)){break d}g=q[e+4>>2];b=q[e>>2];h=g-b|0;d=(h|0)/40|0;if(h){g:{if((b|0)!=(g|0)){h=d>>>0>1?d:1;g=0;d=0;while(1){b=w(d,40)+b|0;if(q[b>>2]==q[a>>2]){S5(q[e+84>>2],q[b+16>>2],q[c+96>>2],q[c+100>>2],q[c+104>>2],q[c+108>>2]);g=g+1|0}d=d+1|0;if((h|0)==(d|0)){break g}b=q[e>>2];if((q[e+4>>2]-b|0)/40>>>0>d>>>0){continue}break}}break a}if(g){break d}}mi(3,48249,48556,0)}fi=f+80|0;return 0}J(48837,48652,461,48912);G()}J(48633,48652,474,48731);G()}J(48739,48652,447,48750);G()}function vP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Dn(a);a:{if(b){break a}if(q[a+128>>2]!=22){if(q[a+8>>2]==1){c=q[a+12>>2];q[a+12>>2]=c+1;d=q[q[a>>2]+160>>2];if((d|0)>=0){b=-30464;if((c|0)>=(d|0)){break a}}q[a+176>>2]=1;return-27392}Aj(a,2,10);return-30464}c=q[a+120>>2];b=q[a>>2];if(r[b+184|0]&2){if(r[c|0]==3){return CP(a)}ki(q[q[a+68>>2]+480>>2]);b=q[a+68>>2];o[b+484|0]=0;q[b+480>>2]=0;b=q[a>>2]}d=r[b+184|0]&2?12:4;b:{if(!(r[c|0]==2?t[a+168>>2]>=d+38>>>0:0)){Aj(a,2,50);break b}e=q[b+184>>2]>>>1&1;b=c+d|0;Sw(a+16|0,a+20|0,e,b);c:{d=q[a+16>>2];c=q[a>>2];d:{if((d|0)>2];if((e|0)r[c+180|0]){break d}if((e|0)<=r[c+181|0]){break c}}Aj(a,2,70);return-28288}d=r[b+30|0]|r[b+31|0]<<8|(r[b+32|0]<<16|r[b+33|0]<<24);e=q[a+68>>2];c=e+1184|0;f=r[b+26|0]|r[b+27|0]<<8|(r[b+28|0]<<16|r[b+29|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;d=r[b+22|0]|r[b+23|0]<<8|(r[b+24|0]<<16|r[b+25|0]<<24);c=e+1176|0;f=r[b+18|0]|r[b+19|0]<<8|(r[b+20|0]<<16|r[b+21|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;d=r[b+14|0]|r[b+15|0]<<8|(r[b+16|0]<<16|r[b+17|0]<<24);c=e+1168|0;f=r[b+10|0]|r[b+11|0]<<8|(r[b+12|0]<<16|r[b+13|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;c=e+1160|0;d=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);e=r[b+2|0]|r[b+3|0]<<8|(r[b+4|0]<<16|r[b+5|0]<<24);o[c|0]=e;o[c+1|0]=e>>>8;o[c+2|0]=e>>>16;o[c+3|0]=e>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;c=r[b+34|0];if(c>>>0>=33){Aj(a,2,50);break b}e:{f=q[a+168>>2];e=c+(r[q[a>>2]+184|0]&2?12:4)|0;if(f>>>0>e+39>>>0){d=b+c|0;d=r[d+38|0]<<8|r[d+39|0];if((f|0)==((d+e|0)+40|0)?d-1>>>0>=3:0){break e}Aj(a,2,50);break b}d=0;if((f|0)==(e+38|0)){break e}Aj(a,2,50);break b}f=b+c|0;if(r[f+37|0]){Aj(a,2,47);return-28800}g=r[f+36|0]|r[f+35|0]<<8;e=xt(g);q[q[a+68>>2]+1120>>2]=e;if(!e){Aj(a,2,80);return-28928}ST(a,e);f:{g:{h=q[a+68>>2];h:{if(q[a+8>>2]|(!c|!q[h+2252>>2])){break h}e=q[a+64>>2];if((g|0)!=q[e+4>>2]|q[e+8>>2]|(c|0)!=q[e+12>>2]){break h}if(!ej(e+16|0,b+35|0,c)){break g}}q[a+4>>2]=q[a+4>>2]+1;q[h+2252>>2]=0;h=T(0)|0;e=q[a+64>>2];q[e+12>>2]=c;q[e+8>>2]=0;q[e+4>>2]=g;q[e>>2]=h;si(e+16|0,b+35|0,c);break f}q[a+4>>2]=12;b=UC(a);if(!b){break f}Aj(a,2,80);return b}e=q[q[a>>2]+(q[a+20>>2]<<2)>>2];b=0;while(1){c=q[e+(b<<2)>>2];if(!c){Aj(a,2,47);break b}b=b+1|0;if((c|0)!=q[q[a+64>>2]+4>>2]){continue}break}c=xt(c);b=q[a+20>>2];if(_B(c,a,b,b)){Aj(a,2,47);break b}e=0;q[q[a+64>>2]+8>>2]=0;c=f+40|0;while(1){if(d){b=r[c+3|0]|r[c+2|0]<<8;f=b+4|0;if(f>>>0>d>>>0){Aj(a,2,50);break b}i:{j:{k:{l:{m:{n:{o:{p:{q:{g=r[c|0]|r[c+1|0]<<8;g=(g<<24|g<<8&16711680)>>>16|0;switch(g-1|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 16:case 17:case 18:case 19:case 20:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break i;case 15:break j;case 10:break k;case 34:break l;case 22:break m;case 21:break n;case 3:break o;case 0:break p;default:break q}}if((g|0)!=65281){break i}e=1;b=yP(a,c+4|0,b);if(!b){break i}break a}b=BP(a,c+4|0,b);if(!b){break i}break a}b=oP(a,b);if(!b){break i}break a}b=EP(a,b);if(!b){break i}break a}b=DP(a,b);if(!b){break i}break a}b=rP(a,b);if(!b){break i}break a}b=pP(a,c+4|0,b);if(!b){break i}break a}b=IP(a,c+4|0,b);if(b){break a}}c=c+f|0;b=-31104;d=d-f|0;if(d-1>>>0>=3){continue}break a}break}c=q[a+244>>2];r:{if((q[q[a>>2]+184>>2]&48)==32?!c:0){break r}b=0;if(q[a+8>>2]!=1){break a}if((c|0)==1?!e:0){break r}if(c){break a}if(e){break r}if(q[q[a>>2]+184>>2]&48){break a}}Aj(a,2,40)}b=-31104}return b}function Una(a,b){var c=0;q[72644]=a;a=b?q[b+120>>2]:0;b=q[a+8>>2]-q[a+12>>2]>>4;q[72646]=Vl(a,17630,17640,236368);q[72645]=Vl(a,14540,17648,236400);ek(a,17656,236480);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17659);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17673);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17695);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17718);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17741);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17763);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17786);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17809);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17823);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17837);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17852);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17869);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17886);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17901);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17917);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17935);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=9;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17953);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=10;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17968);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=11;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,17984);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=12;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18002);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=13;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18020);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=14;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18035);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=15;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18051);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=16;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18069);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=17;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18087);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=18;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18101);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=19;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18116);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=20;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18133);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=21;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18150);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=22;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18164);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=23;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18179);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=24;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18196);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=25;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18213);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=26;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18227);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=27;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18242);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=28;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18259);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=29;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18276);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=30;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18293);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=31;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18311);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=32;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18331);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=33;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18351);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=34;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18365);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=35;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18380);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=36;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18397);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=37;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18414);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=38;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18430);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=39;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18447);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=40;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,18466);oi(a,-2);if((b|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(16481,15813,2226,18485);G()}}function Mka(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=x(0),n=x(0),s=x(0),t=x(0),v=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=0;b=fi-432|0;fi=b;h=q[a+4>>2];i=q[h+4>>2]-q[h>>2]|0;k=(i|0)/240|0;a:{b:{if(i){a=q[a+8>>2];i=q[a>>2];c=r[a+8|0];c:{if(o[294420]&1){break c}if(!ui(294420)){break c}if(r[852367]){a=Ri(43206)}else{a=-1}q[73604]=a;ti(294420)}d:{if(o[294428]&1){break d}if(!ui(294428)){break d}if(r[852367]){a=Yi(43212,16)}else{a=0}q[73606]=a;ti(294428)}a=q[73604];e:{if((a|0)!=-1){Qi(b+416|0,a,43212,q[73606]);break e}q[b+416>>2]=0}f=q[h+4>>2];a=q[h>>2];g=f-a|0;d=(g|0)/240|0;f:{if(!g){break f}if((a|0)!=(f|0)){c=c&1;l=d>>>0>1?d:1;f=0;while(1){a=w(f,240)+a|0;if((r[a+238|0]&3)==3){g=a- -64|0;Pka(b+16|0,a+16|0,a+32|0,g,a+48|0,q[a+192>>2]);d=cp(q[a>>2]);u[b+352>>2]=u[d>>2];u[b+356>>2]=u[d+4>>2];u[b+360>>2]=u[d+8>>2];u[b+364>>2]=u[d+12>>2];u[b+368>>2]=u[d+16>>2];u[b+372>>2]=u[d+20>>2];u[b+376>>2]=u[d+24>>2];u[b+380>>2]=u[d+28>>2];u[b+384>>2]=u[d+32>>2];u[b+388>>2]=u[d+36>>2];u[b+392>>2]=u[d+40>>2];u[b+396>>2]=u[d+44>>2];u[b+400>>2]=u[d+48>>2];u[b+404>>2]=u[d+52>>2];u[b+408>>2]=u[d+56>>2];u[b+412>>2]=u[d+60>>2];g:{if((q[q[a>>2]+136>>2]&512)>>>9|0){Dk(b+288|0,b+352|0,b+16|0);break g}On(b+288|0,b+352|0,b+16|0)}j=u[b+348>>2];s=u[b+344>>2];e=u[b+340>>2];n=u[b+336>>2];t=u[b+332>>2];v=u[b+328>>2];z=u[b+324>>2];A=u[b+320>>2];B=u[b+316>>2];C=u[b+312>>2];D=u[b+308>>2];E=u[b+304>>2];F=u[b+300>>2];H=u[b+296>>2];I=u[b+292>>2];m=u[g>>2];u[a+128>>2]=u[b+288>>2]*m;u[a+188>>2]=j;u[a+184>>2]=s;d=a;j=e;if(x(y(e))>2]=c?j:x(g|0);d=a;e=n;j=e;if(x(y(e))>2]=c?j:x(g|0);u[a+140>>2]=F*m;u[a+136>>2]=H*m;u[a+132>>2]=I*m;e=u[a+72>>2];u[a+172>>2]=t*e;u[a+168>>2]=v*e;u[a+164>>2]=z*e;u[a+160>>2]=A*e;e=u[a+68>>2];u[a+156>>2]=B*e;u[a+152>>2]=C*e;u[a+148>>2]=D*e;u[a+144>>2]=E*e}f=f+1|0;if((l|0)==(f|0)){break f}a=q[h>>2];if((q[h+4>>2]-a|0)/240>>>0>f>>>0){continue}break}}break a}if(q[b+416>>2]){Pi(b+416|0)}K=k>>>0>1?k:1;f=0;while(1){a=q[h>>2];if((q[h+4>>2]-a|0)/240>>>0<=f>>>0){break a}c=a+w(f,240)|0;a=r[c+238|0];if((a&3)==3){h:{if(!(a&8)){a=q[c+220>>2];if(!a|!r[a+52|0]){break h}}Hha(c)}g=Qy(b+16|0);a=q[q[c+216>>2]>>2];u[b+80>>2]=u[c+80>>2];u[b+84>>2]=u[c+84>>2];u[b+88>>2]=u[c+88>>2];u[b+92>>2]=u[c+92>>2];u[b+96>>2]=u[c+96>>2];u[b+100>>2]=u[c+100>>2];u[b+104>>2]=u[c+104>>2];u[b+108>>2]=u[c+108>>2];u[b+112>>2]=u[c+112>>2];u[b+116>>2]=u[c+116>>2];u[b+120>>2]=u[c+120>>2];u[b+124>>2]=u[c+124>>2];q[b+128>>2]=q[c+232>>2];u[b+16>>2]=u[c+128>>2];u[b+20>>2]=u[c+132>>2];u[b+24>>2]=u[c+136>>2];u[b+28>>2]=u[c+140>>2];u[b+32>>2]=u[c+144>>2];u[b+36>>2]=u[c+148>>2];u[b+40>>2]=u[c+152>>2];u[b+44>>2]=u[c+156>>2];u[b+48>>2]=u[c+160>>2];u[b+52>>2]=u[c+164>>2];u[b+56>>2]=u[c+168>>2];u[b+60>>2]=u[c+172>>2];u[b+64>>2]=u[c+176>>2];u[b+68>>2]=u[c+180>>2];u[b+72>>2]=u[c+184>>2];e=u[c+188>>2];p[b+204>>1]=0;u[b+76>>2]=e;o[b+224|0]=r[a+96|0];u[b+216>>2]=u[a+80>>2];u[b+220>>2]=u[a+84>>2];u[b+208>>2]=u[c+48>>2];u[b+212>>2]=u[c+52>>2];o[b+272|0]=r[b+272|0]&254;d=q[a+88>>2];if(d>>>0<=8){d=d<<2;q[b+232>>2]=q[d+43804>>2];q[b+228>>2]=q[d+43768>>2]}a=q[a+92>>2];if(a>>>0>=5|!(27>>>a&1)){break b}a=a<<2;q[b+200>>2]=q[a+43860>>2];q[b+196>>2]=q[a+43840>>2];a=q[c+220>>2];if(a){a=q[a+4>>2]-q[a>>2]>>2;d=a>>>0<16?a:16;if(d){a=0;while(1){q[(g+(a<<2)|0)+116>>2]=Fia(q[c+220>>2],a);a=a+1|0;if((d|0)!=(a|0)){continue}break}}o[b+206|0]=d}l=q[c+216>>2];d=i;a=q[c+228>>2];if(!a){a=q[l+8>>2]}k=a;a=q[c+224>>2];if(!a){a=q[l+4>>2]}Py(d,k,a,q[c+196>>2],g)}f=f+1|0;if((K|0)!=(f|0)){continue}break}Oy(i,1,0)}fi=b+432|0;return 0}q[b>>2]=a;mi(4,42986,43229,b);J(43260,43114,420,43262);G()}J(43678,43572,447,43689);G()}function Lca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-432|0;fi=c;a:{b:{c:{if(a){if(!b){break c}d=1;d:{if(r[a+104|0]&4){break d}if(r[b+50|0]){wa(131097,1)}wa(131098,196609);wa(131091,q[b+40>>2]);d=-2;if(!(Ab(q[b+32>>2],q[b+36>>2],8,8,8,8,32,8,(r[b+48|0]?65538:65537)|0)|0)){break d}tb(q[b+52>>2]);pb(691);sb(692);rb(693);qb(694);La(1);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break b}}q[a+4>>2]=q[b>>2];q[a+8>>2]=q[b+4>>2];q[a+12>>2]=q[b+8>>2];q[a+16>>2]=q[b+12>>2];q[a+20>>2]=q[b+16>>2];q[a+24>>2]=q[b+20>>2];q[a+28>>2]=q[b+24>>2];q[a+32>>2]=q[b+28>>2];o[a+104|0]=r[a+104|0]|4;q[a+36>>2]=q[b+32>>2];q[a+40>>2]=q[b+36>>2];Oa(c+92|0,c+88|0);q[a+44>>2]=q[c+92>>2];d=q[c+88>>2];q[a+52>>2]=0;q[a+48>>2]=d;o[a+104|0]=r[a+104|0]|96;d=ca(7938)|0;o[a+104|0]=r[a+104|0]&223|!Im(d,79251)<<5;if(r[b+49|0]){mi(2,79120,79264,0);q[c+64>>2]=ca(7937);mi(2,79120,79279,c- -64|0);q[c+48>>2]=ca(7938);mi(2,79120,79292,c+48|0);q[c+32>>2]=ca(7936);mi(2,79120,79304,c+32|0)}d=ca(7939)|0;if(!d){break a}if(r[b+49|0]){q[c+16>>2]=d;mi(2,79120,79326,c+16|0)}if(!q[74994]){b=kj(c+96|0,80151,8);kj(b+(c+96|0)|0,79362,256-b|0);b=0;e:{if($k(c+96|0,d)){b=kj(c+96|0,79341,255);kj(b+(c+96|0)|0,80175,256-b|0);b=xa(c+96|0)|0;if(b){break e}}e=kj(c+96|0,80159,8);kj(e+(c+96|0)|0,79362,256-e|0);if($k(c+96|0,d)){b=kj(c+96|0,79341,255);kj(b+(c+96|0)|0,80179,256-b|0);b=xa(c+96|0)|0;if(b){break e}}e=kj(c+96|0,80167,8);kj(e+(c+96|0)|0,79362,256-e|0);if(!$k(c+96|0,d)){break e}b=kj(c+96|0,79341,255);kj(b+(c+96|0)|0,80183,256-b|0);b=xa(c+96|0)|0}q[74994]=b}f:{if(!$k(79382,d)){if(!$k(79415,d)){break f}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|3840;q[a+92>>2]=b}g:{h:{if($k(79446,d)){break h}if($k(79482,d)){break h}if(!$k(79511,d)){break g}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|4096;q[a+92>>2]=b}i:{if(!$k(79541,d)){if(!$k(79573,d)){break i}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|393216;q[a+92>>2]=b}j:{k:{if($k(79603,d)){break k}if($k(79635,d)){break k}if(!$k(79667,d)){break j}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|1572864;q[a+92>>2]=b}l:{m:{if($k(79696,d)){break m}if($k(79728,d)){break m}if(!$k(79760,d)){break l}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|2097152;q[a+92>>2]=b}if($k(79789,d)){b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|32768;q[a+92>>2]=b}n:{o:{if($k(79814,d)){break o}if($k(79850,d)){break o}if($k(79882,d)){break o}if(!$k(79911,d)){break n}}b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|65536;q[a+92>>2]=b}q[c+84>>2]=0;ea(34466,c+84|0);b=q[c+84>>2];if((b|0)>=1){f=Ci((b|0)!=(b&1073741823)?-1:b<<2);ea(34467,f|0);h=q[c+84>>2];if((h|0)>=1){b=0;while(1){e=32768;p:{q:{r:{s:{t:{g=q[f+(b<<2)>>2];switch(g-37488|0){case 1:case 3:case 4:case 5:case 6:case 7:break p;case 8:break q;case 2:break s;case 0:break t;default:break r}}e=8192;break q}e=16384;break q}if((g|0)!=37808){break p}e=65536}g=q[a+92>>2];q[a+88>>2]=e|q[a+88>>2];q[a+92>>2]=g}b=b+1|0;if((h|0)!=(b|0)){continue}break}}ki(f)}q[a+96>>2]=16;o[a+104|0]=r[a+104|0]|2;q[c+80>>2]=1024;ea(3379,c+80|0);q[a+56>>2]=q[c+80>>2];u:{if(!(r[q[74995]+104|0]&8)){break u}if(!(K()|0)){break u}while(1){if(K()|0){continue}break}}q[c+76>>2]=65536;b=a;f=r[a+104|0]&32;if(f){ea(33e3,c+76|0);e=q[c+76>>2];e=(e|0)>65536?e:65536}else{e=65536}q[b+68>>2]=e;v:{if(!(r[q[74995]+104|0]&8)){break v}if(!(K()|0)){break v}while(1){if(K()|0){continue}break}}q[c+72>>2]=65536;b=a;if(f){ea(33001,c+72|0);e=q[c+72>>2];e=(e|0)>65536?e:65536}else{e=65536}q[b+72>>2]=e;w:{if(!(r[q[74995]+104|0]&8)){break w}if(!(K()|0)){break w}while(1){if(K()|0){continue}break}}if($k(79446,d)){b=q[a+92>>2];q[a+88>>2]=q[a+88>>2]|4096;q[a+92>>2]=b}if($k(79941,d)){q[a+80>>2]=q[a+80>>2]|2}mi(0,83746,83755,0);d=0}fi=c+432|0;return d|0}J(79156,79164,695,79225);G()}J(79242,79164,696,79225);G()}Mi(d,79225,852);J(79249,79164,852,79225);G()}J(79315,79164,948,79225);G()}function ur(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+36>>2];o[c+5|0]=r[c+5|0]|4;a:{b:{c:{d:{switch(r[c+4|0]-5|0){case 0:q[a+36>>2]=q[c+24>>2];b=q[c+8>>2];e:{if(!b){break e}if(r[b+5|0]&3){rk(a,b);b=q[c+8>>2];if(!b){break e}}if(r[b+6|0]&8){break e}b=Jn(b,3,q[a+200>>2]);if(!b|q[b+8>>2]!=4){break e}b=q[b>>2]+16|0;d=Nj(b,107);b=Nj(b,118);if(d|b){o[c+5|0]=r[c+5|0]&231|(((b|0)!=0)<<4|((d|0)!=0)<<3);q[c+24>>2]=q[a+44>>2];q[a+44>>2]=c}if(b?d:0){break b}if(b){break c}f=(d|0)!=0}b=q[c+28>>2];if(b){while(1){b=b-1|0;d=q[c+12>>2]+(b<<4)|0;f:{if(q[d+8>>2]<4){break f}d=q[d>>2];if(!(r[d+5|0]&3)){break f}rk(a,d)}if(b){continue}break}}b=-1<>2]+(b<<5)|0;e=q[b+8>>2];h:{if(e){if((e|0)<4){break h}b=q[b>>2];if(!(r[b+5|0]&3)){break h}rk(a,b);break h}if(q[b+24>>2]<4){break h}q[b+24>>2]=11}b=d-1|0;if(d){continue}break g}}while(1){e=b;b=q[c+16>>2]+(b<<5)|0;g=b;h=q[b+24>>2];d=q[b+8>>2];i:{if(!d){if((h|0)<4){break i}q[g+24>>2]=11;break i}j:{if((h|0)<4){break j}g=q[b+16>>2];if(!(r[g+5|0]&3)){break j}rk(a,g);d=q[b+8>>2]}if((d|0)<4){break i}b=q[b>>2];if(!(r[b+5|0]&3)){break i}rk(a,b)}b=e-1|0;if(e){continue}break}}if(!f){break a}break b;case 1:q[a+36>>2]=q[c+8>>2];b=q[c+12>>2];if(r[b+5|0]&3){rk(a,b)}k:{if(r[c+6|0]){b=0;e=r[c+7|0];if(!e){e=0;break k}while(1){d=(b<<4)+c|0;l:{if(q[d+32>>2]<4){break l}d=q[d+24>>2];if(!(r[d+5|0]&3)){break l}rk(a,d);e=r[c+7|0]}b=b+1|0;if(b>>>0<(e&255)>>>0){continue}break}break k}b=q[c+16>>2];if(r[b+5|0]&3){rk(a,b)}b=0;e=r[c+7|0];if(!e){e=0;break k}while(1){d=q[((b<<2)+c|0)+20>>2];if(r[d+5|0]&3){rk(a,d);e=r[c+7|0]}b=b+1|0;if(b>>>0<(e&255)>>>0){continue}break}}a=e&255;if(r[c+6|0]){return(a<<4)+24|0}return(a<<2)+20|0;case 3:q[a+36>>2]=q[c+108>>2];q[c+108>>2]=q[a+40>>2];q[a+40>>2]=c;o[c+5|0]=r[c+5|0]&251;m:{if(q[c+80>>2]<4){break m}b=q[c+72>>2];if(!(r[b+5|0]&3)){break m}rk(a,b)}d=q[c+8>>2];e=d;b=q[c+40>>2];f=q[c+20>>2];if(b>>>0<=f>>>0){e=d;while(1){g=q[b+8>>2];e=e>>>0>>0?g:e;b=b+24|0;if(f>>>0>=b>>>0){continue}break}}b=q[c+32>>2];if(d>>>0>b>>>0){while(1){n:{if(q[b+8>>2]<4){break n}f=q[b>>2];if(!(r[f+5|0]&3)){break n}rk(a,f);d=q[c+8>>2]}b=b+16|0;if(d>>>0>b>>>0){continue}break}}if(b>>>0<=e>>>0){while(1){q[b+8>>2]=0;b=b+16|0;if(e>>>0>=b>>>0){continue}break}}a=q[c+48>>2];o:{if((a|0)>2e4){break o}b=e-q[c+32>>2]|0;if(!((a|0)<17|(a|0)<=(q[c+20>>2]-q[c+40>>2]|0)/24<<2)){DX(c,a>>>1|0)}a=q[c+44>>2];if((a|0)<=b>>2|(a|0)<91){break o}Ym(c,a>>>1|0)}return(w(q[c+48>>2],24)+(q[c+44>>2]<<4)|0)+120|0;case 4:q[a+36>>2]=q[c+68>>2];b=q[c+32>>2];if(b){o[b+5|0]=r[b+5|0]&252}d=q[c+40>>2];if((d|0)>=1){b=0;while(1){e=q[c+8>>2]+(b<<4)|0;p:{if(q[e+8>>2]<4){break p}e=q[e>>2];if(!(r[e+5|0]&3)){break p}rk(a,e);d=q[c+40>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+36>>2];if((d|0)>=1){b=0;while(1){e=q[q[c+28>>2]+(b<<2)>>2];if(e){o[e+5|0]=r[e+5|0]&252;d=q[c+36>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+52>>2];if((d|0)>=1){b=0;while(1){e=q[q[c+16>>2]+(b<<2)>>2];if(!(!e|!(r[e+5|0]&3))){rk(a,e);d=q[c+52>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}a=q[c+56>>2];if((a|0)>=1){b=0;while(1){d=q[q[c+24>>2]+w(b,12)>>2];if(d){o[d+5|0]=r[d+5|0]&252;a=q[c+56>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}d=q[c+52>>2]}b=((w(a,12)+(q[c+40>>2]<<4)|0)+(q[c+36>>2]+(q[c+48>>2]+(q[c+44>>2]+d|0)|0)<<2)|0)+76|0;break;default:break d}}return b}b=-1<>2]+(b<<5)|0;if(!(q[b+8>>2]|q[b+24>>2]<4)){q[b+24>>2]=11}b=a-1|0;if(a){continue}break b}}while(1){d=b;f=q[c+16>>2]+(b<<5)|0;b=f;e=q[b+24>>2];q:{if(q[b+8>>2]){if((e|0)<4){break q}b=q[f+16>>2];if(!(r[b+5|0]&3)){break q}rk(a,b);break q}if((e|0)<4){break q}q[b+24>>2]=11}b=d-1|0;if(d){continue}break}}o[c+5|0]=r[c+5|0]&251}return((q[c+28>>2]<<4)+(32<>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);t=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){h=1;c=ri(a,1);l=ji[q[74973]](q[q[t+304>>2]+2208>>2])|0;m=(c|0)==5?1:2;vj(a,m,5);q[b+264>>2]=0;o[b+268|0]=1;q[b+280>>2]=0;o[b+284|0]=1;q[b+248>>2]=0;q[b+240>>2]=0;q[b+244>>2]=0;q[b+256>>2]=0;q[b+260>>2]=0;o[b+252|0]=1;q[b+272>>2]=0;q[b+276>>2]=0;o[b+123|0]=0;o[b+124|0]=0;o[b+125|0]=0;o[b+126|0]=0;o[b+127|0]=0;o[b+128|0]=0;o[b+129|0]=0;o[b+130|0]=0;q[b+176>>2]=0;q[b+180>>2]=0;q[b+156>>2]=1;q[b+148>>2]=2;q[b+152>>2]=1;q[b+160>>2]=0;q[b+164>>2]=0;o[b+167|0]=0;o[b+168|0]=0;o[b+169|0]=0;o[b+170|0]=0;o[b+171|0]=0;o[b+172|0]=0;o[b+173|0]=0;o[b+174|0]=0;q[b+200>>2]=1;q[b+192>>2]=2;q[b+196>>2]=1;q[b+220>>2]=0;q[b+224>>2]=0;q[b+204>>2]=0;q[b+208>>2]=0;o[b+211|0]=0;o[b+212|0]=0;o[b+213|0]=0;o[b+214|0]=0;o[b+215|0]=0;o[b+216|0]=0;o[b+217|0]=0;o[b+218|0]=0;q[b+132>>2]=0;q[b+136>>2]=0;q[b+112>>2]=1;q[b+104>>2]=2;q[b+108>>2]=1;q[b+96>>2]=3;q[b+100>>2]=5;q[b+116>>2]=0;q[b+120>>2]=0;q[b+140>>2]=3;q[b+144>>2]=5;q[b+184>>2]=3;q[b+188>>2]=5;c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;c:{d:{e:{if(dk(a,m)){while(1){j=-1;d=Ai(a,-2);f:{if(d<4294967296&d>=0){g=~~d>>>0;break f}g=0}c=g-1|0;if(c>>>0<=3){j=q[(c<<2)+109308>>2]}vj(a,-1,5);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;c=0;if(!dk(a,-2)){break b}u=g|u;e=0;i=0;while(1){f=Ni(a,-2,0);n=uk(f,104486,6);r=uk(f,104493,5);f=uk(f,104499,6);oi(a,-2);c=n?c:1;e=r?e:1;i=f?i:1;if(dk(a,-2)){continue}break}if(!(c&255)){c=0;break b}if(!(e&255)){c=1;break b}if(!(i&255)){c=2;break b}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(dk(a,-2)){e=(b+240|0)+(j<<4)|0;n=e|4;c=(b+96|0)+w(j,44)|0;i=c;r=e|6;while(1){e=Ni(a,-2,0);if(!ri(a,-1)){q[b+36>>2]=e;q[b+32>>2]=104341;h=ni(a,104545,b+32|0);break a}g:{if(!uk(e,104486,6)){f=c;d=Ai(a,-1);h:{if(y(d)<2147483648){e=~~d;break h}e=-2147483648}q[f>>2]=e;if(!((e|0)==6|(g|0)!=2)){h=ni(a,104589,0);break a}if((e|0)==7|(g|0)!=4){break g}h=ni(a,104646,0);break a}if(!uk(e,104493,5)){e=i;d=Ai(a,-1);i:{if(d<4294967296&d>=0){f=~~d>>>0;break i}f=0}p[e+30>>1]=f;p[n>>1]=f;break g}if(!uk(e,104499,6)){e=c;d=Ai(a,-1);j:{if(d<4294967296&d>=0){f=~~d>>>0;break j}f=0}p[e+32>>1]=f;p[r>>1]=f;break g}k:{if(!uk(e,104707,10)){d=Ai(a,-1);if(!(y(d)<2147483648)){break k}q[c+4>>2]=~~d;break g}if(!uk(e,104718,10)){d=Ai(a,-1);if(y(d)<2147483648){q[c+8>>2]=~~d;break g}q[c+8>>2]=-2147483648;break g}if(!uk(e,104729,6)){d=Ai(a,-1);if(y(d)<2147483648){q[c+12>>2]=~~d;break g}q[c+12>>2]=-2147483648;break g}if(!uk(e,104736,6)){d=Ai(a,-1);if(y(d)<2147483648){q[c+16>>2]=~~d;break g}q[c+16>>2]=-2147483648;break g}oi(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(k|0)){break e}q[b+80>>2]=104736;q[b+76>>2]=104729;q[b+72>>2]=104718;q[b+68>>2]=104707;q[b- -64>>2]=104499;q[b+52>>2]=e;q[b+60>>2]=104493;q[b+56>>2]=104486;q[b+48>>2]=104341;h=ni(a,104769,b+48|0);break a}q[c+4>>2]=-2147483648}oi(a,-2);if(dk(a,-2)){continue}break}}oi(a,-2);c=(b+240|0)+(j<<4)|0;if(!(s[c+6>>1]<=l>>>0?s[c+4>>1]<=l>>>0:0)){oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(k|0)){break d}i=s[(c|4)>>1];c=b;g=g-1|0;f=107899;l:{if(g>>>0>3){break l}f=q[(g<<2)+255336>>2]}q[c+16>>2]=f;q[b+20>>2]=i;q[b+28>>2]=l;q[b+24>>2]=s[((b+240|0)+(j<<4)|0)+6>>1];h=ni(a,104862,b+16|0);break a}if(dk(a,m)){continue}break}}c=ji[q[74954]](q[q[t+304>>2]+2208>>2],u,b+240|0,b+96|0)|0;g=q[a+8>>2];q[g+8>>2]=2;q[g>>2]=c;q[a+8>>2]=q[a+8>>2]+16;if((k+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break c}break a}J(104348,104245,760,104743);G()}J(104348,104245,778,104743);G()}J(104220,104245,788,104743);G()}J(104348,104245,265,107702);G()}q[b>>2]=q[(c<<2)+254848>>2];h=ni(a,104506,b)}fi=b+288|0;return h|0}function Xt(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=fi-112|0;fi=i;if(q[b+8>>2]!=6){g=Ik(a,b,16);h=q[a+32>>2];if(q[g+8>>2]!=6){Vt(a,b,126408)}d=q[a+8>>2];if(d>>>0>b>>>0){while(1){e=d-16|0;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+8>>2]=q[e+8>>2];d=e;if(d>>>0>b>>>0){continue}break}d=q[a+8>>2]}if((q[a+28>>2]-d|0)<=16){e=q[a+44>>2];Ym(a,(e|0)<1?e+1|0:e<<1)}q[a+8>>2]=q[a+8>>2]+16;e=q[g+4>>2];b=q[a+32>>2]+(b-h|0)|0;q[b>>2]=q[g>>2];q[b+4>>2]=e;q[b+8>>2]=q[g+8>>2]}d=q[b>>2];e=q[a+32>>2];q[q[a+20>>2]+12>>2]=q[a+24>>2];n=b-e|0;a:{b:{c:{if(!r[d+6|0]){l=q[d+16>>2];e=r[l+75|0];if((q[a+28>>2]-q[a+8>>2]|0)<=e<<4){b=q[a+44>>2];Ym(a,(b|0)<(e|0)?b+e|0:b<<1)}e=q[a+32>>2]+n|0;f=r[l+74|0];d:{if(!f){d=e+16|0;b=d+(r[l+73|0]<<4)|0;if(b>>>0>=t[a+8>>2]){break d}q[a+8>>2]=b;break d}d=q[a+8>>2];b=d-e>>4;e=b-1|0;j=b;b=r[l+73|0];if((j|0)<=(b|0)){while(1){q[d+8>>2]=0;d=d+16|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}q[a+8>>2]=d;e=b}if(f&4){d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}j=e-b|0;m=Ho(a,j,1);if((j|0)>=1){d=0;g=0-j<<4;while(1){h=d<<4;f=q[a+8>>2];d=d+1|0;k=Ut(a,m,d);h=h+(f+g|0)|0;f=q[h+4>>2];q[k>>2]=q[h>>2];q[k+4>>2]=f;q[k+8>>2]=q[h+8>>2];if((d|0)!=(j|0)){continue}break}}d=Yr(a,m,Bj(a,126413,1));q[d+8>>2]=3;v[d>>3]=j|0;d=q[a+8>>2]}e:{if(!b){break e}q[a+8>>2]=d+16;h=d-(e<<4)|0;f=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=f;e=(0-e<<4)+d|0;q[d+8>>2]=q[e+8>>2];q[e+8>>2]=0;e=1;if((b|0)==1){break e}while(1){k=q[a+8>>2];q[a+8>>2]=k+16;g=h+(e<<4)|0;f=q[g+4>>2];q[k>>2]=q[g>>2];q[k+4>>2]=f;q[k+8>>2]=q[g+8>>2];q[g+8>>2]=0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(m){b=q[a+8>>2];q[a+8>>2]=b+16;q[b+8>>2]=5;q[b>>2]=m}e=q[a+32>>2]+n|0}b=q[a+20>>2];f:{if((b|0)!=q[a+36>>2]){break f}g=q[a+48>>2];if((g|0)>=20001){break b}h=q[a+40>>2];f=g<<1;g:{if((f|1)>>>0<=178956970){b=dj(a,h,w(g,24),w(g,48));break g}b=Rj(a)}q[a+48>>2]=f;q[a+40>>2]=b;q[a+36>>2]=(b+w(f,24)|0)-24;b=b+w((q[a+20>>2]-h|0)/24|0,24)|0;q[a+20>>2]=b;if((g|0)<10001){break f}Ck(a,126415,0);b=q[a+20>>2]}f=b+24|0;q[a+20>>2]=f;q[b+24>>2]=d;q[b+28>>2]=e;q[a+12>>2]=d;g=(r[l+75|0]<<4)+d|0;q[b+32>>2]=g;e=q[l+12>>2];q[a+24>>2]=e;q[b+40>>2]=c;h=0;q[b+44>>2]=0;d=q[a+8>>2];if(g>>>0>d>>>0){while(1){q[d+8>>2]=0;d=d+16|0;if(g>>>0>d>>>0){continue}break}}q[a+8>>2]=g;if(!(o[a+56|0]&1)){break c}d=e+4|0;q[a+24>>2]=d;j=a;c=q[a+68>>2];if(!(!c|!r[a+57|0])){b=q[a+32>>2];q[i+28>>2]=-1;q[i+8>>2]=0;q[i+104>>2]=(f-q[a+40>>2]|0)/24;if((q[a+28>>2]-g|0)<=320){e=q[a+44>>2];Ym(a,(e|0)<20?e+20|0:e<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;ji[c|0](a,i+8|0);o[a+57|0]=1;b=q[a+32>>2]+(g-b|0)|0;q[q[a+20>>2]+8>>2]=b;q[a+8>>2]=b;d=q[a+24>>2]}q[j+24>>2]=d-4;break c}if((q[a+28>>2]-q[a+8>>2]|0)<=320){b=q[a+44>>2];Ym(a,(b|0)<20?b+20|0:b<<1)}d=q[a+20>>2];h:{if((d|0)!=q[a+36>>2]){break h}f=q[a+48>>2];if((f|0)>=20001){break a}d=q[a+40>>2];e=f<<1;i:{if((e|1)>>>0<=178956970){b=dj(a,d,w(f,24),w(f,48));break i}b=Rj(a)}q[a+48>>2]=e;q[a+40>>2]=b;q[a+36>>2]=(b+w(e,24)|0)-24;d=b+w((q[a+20>>2]-d|0)/24|0,24)|0;q[a+20>>2]=d;if((f|0)<10001){break h}Ck(a,126415,0);d=q[a+20>>2]}e=d+24|0;q[a+20>>2]=e;f=q[a+32>>2];b=f+n|0;q[d+28>>2]=b;b=b+16|0;q[d+24>>2]=b;q[a+12>>2]=b;h=q[a+8>>2];q[d+40>>2]=c;c=h+320|0;q[d+32>>2]=c;j:{if(!(o[a+56|0]&1)){break j}b=q[a+68>>2];if(!b|!r[a+57|0]){break j}q[i+28>>2]=-1;q[i+8>>2]=0;q[i+104>>2]=(e-q[a+40>>2]|0)/24;if((q[a+28>>2]-h|0)<=320){e=q[a+44>>2];Ym(a,(e|0)<20?e+20|0:e<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;ji[b|0](a,i+8|0);o[a+57|0]=1;e=q[a+20>>2];b=q[a+32>>2];q[e+8>>2]=b+(c-f|0);q[a+8>>2]=b+(h-f|0)}b=ji[q[q[q[e+4>>2]>>2]+16>>2]](a)|0;if((b|0)<0){h=2;break c}yx(a,q[a+8>>2]-(b<<4)|0);h=1}fi=i+112|0;return h}oj(a,5);G()}oj(a,5);G()}function ok(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fi-192|0;fi=e;a:{if(fk(a,b,q[79186])){b=Vi(a,b);f=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=f;f=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=f;f=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=f;f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;if(!d){break a}o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;Bq(a,d);break a}q[e+184>>2]=0;q[e+188>>2]=0;q[e+176>>2]=0;q[e+180>>2]=0;q[e+168>>2]=0;q[e+172>>2]=0;b:{if(!$j(a,b)){break b}g=_i(a,b,0);h=LG(g,e+168|0);f=h?0:g;i=(f|0)!=0;k=!h;if(!f|h){break b}h=0;k=1;j=q[e+172>>2];if(!(!j|!q[e+180>>2])){i=1;f=g;if(r[q[e+176>>2]]!=47){break b}if(j>>>0>63){break a}kj(e+96|0,q[e+168>>2],j+1|0);c:{d:{e:{b=Nm(e+96|0,e+88|0);switch(b+6|0){case 2:break d;case 0:case 6:break e;default:break c}}b=q[e+92>>2];q[c>>2]=q[e+88>>2];q[c+4>>2]=b;q[c+16>>2]=Nl(q[e+176>>2],q[e+180>>2]);q[c+20>>2]=ii;q[c+24>>2]=Nl(q[e+184>>2],q[e+188>>2]);q[c+28>>2]=ii;if(!d){break a}o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;Bq(a,d);break a}q[e+80>>2]=e+96;ni(a,115576,e+80|0);break a}q[e+68>>2]=b;q[e+64>>2]=e+96;ni(a,116113,e- -64|0);break a}i=1;f=g}q[e+120>>2]=0;q[e+124>>2]=0;q[e+112>>2]=0;q[e+116>>2]=0;q[e+104>>2]=0;q[e+108>>2]=0;q[e+96>>2]=0;q[e+100>>2]=0;o[e+96|0]=0;o[e+97|0]=0;o[e+98|0]=0;o[e+99|0]=0;o[e+100|0]=0;o[e+101|0]=0;o[e+102|0]=0;o[e+103|0]=0;o[e+120|0]=0;o[e+121|0]=0;o[e+122|0]=0;o[e+123|0]=0;o[e+124|0]=0;o[e+125|0]=0;o[e+126|0]=0;o[e+127|0]=0;o[e+112|0]=0;o[e+113|0]=0;o[e+114|0]=0;o[e+115|0]=0;o[e+116|0]=0;o[e+117|0]=0;o[e+118|0]=0;o[e+119|0]=0;o[e+104|0]=0;o[e+105|0]=0;o[e+106|0]=0;o[e+107|0]=0;o[e+108|0]=0;o[e+109|0]=0;o[e+110|0]=0;o[e+111|0]=0;Bq(a,e+96|0);if(d){g=q[e+100>>2];q[d>>2]=q[e+96>>2];q[d+4>>2]=g;g=q[e+124>>2];q[d+24>>2]=q[e+120>>2];q[d+28>>2]=g;g=q[e+116>>2];q[d+16>>2]=q[e+112>>2];q[d+20>>2]=g;g=q[e+108>>2];q[d+8>>2]=q[e+104>>2];q[d+12>>2]=g}f:{if(q[a+8>>2]-q[a+12>>2]>>4>=(b|0)){if(ri(a,b)){break f}}a=q[e+100>>2];q[c>>2]=q[e+96>>2];q[c+4>>2]=a;a=q[e+124>>2];q[c+24>>2]=q[e+120>>2];q[c+28>>2]=a;a=q[e+116>>2];q[c+16>>2]=q[e+112>>2];q[c+20>>2]=a;a=q[e+108>>2];q[c+8>>2]=q[e+104>>2];q[c+12>>2]=a;break a}g:{h:{if(i){b=c;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;if(k){h=ay(a,f,c,e+96|0)}i:{switch(h+5|0){case 1:q[e+32>>2]=f;ni(a,116238,e+32|0);break a;case 3:q[e+48>>2]=f;ni(a,116274,e+48|0);break a;case 5:break a;case 0:break h;default:break i}}q[e+4>>2]=h;q[e>>2]=f;ni(a,116313,e);break a}if(!Qn(a,b)){break g}d=q[e+100>>2];q[c>>2]=q[e+96>>2];q[c+4>>2]=d;a=Vi(a,b);b=q[a>>2];a=q[a+4>>2];q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=b;q[c+20>>2]=a;break a}q[e+16>>2]=f;ni(a,116150,e+16|0);break a}hk(a,b,115799)}fi=e+192|0}function qp(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,w=0;c=1;xwa(+b);e=uwa(1)|0;d=uwa(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}xwa(+a);j=uwa(1)|0;r=uwa(0)|0;o=j;if((j|0)==1072693248?!r:0){break c}d:{j=o&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(r|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((o|0)>-1){break h}p=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;p=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(o|0)<0){break e}return F(a)}c=y(a);if(!((j?(o&1073741823)!=1072693248:0)|r)){c=(g|0)<0?1/c:c;if((o|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((o|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?I:0}return(g|0)>0?I:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;xwa(+(c+k));d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;xwa(+a);e=uwa(1)|0;uwa(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;q=v[g+208816>>3];xwa(+c);uwa(1)|0;vwa(0,uwa(0)|0);vwa(1,e|0);k=+wwa();i=v[g+208784>>3];n=k-i;s=1/(i+k);c=n*s;xwa(+c);d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();u=a;t=a*a;w=n;vwa(0,0);vwa(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+wwa();k=s*(w-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);xwa(+(t+3+i));d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();n=u*a;c=k*a+c*(i-(a+ -3-t));xwa(+(n+c));d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();i=a*.9617967009544373;k=v[g+208800>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);xwa(+(q+(i+k)+c));d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();i=a-c-q-i}vwa(0,0);vwa(1,l|0);q=+wwa();c=a*q;a=(k-i)*b+(b-q)*a;b=c+a;xwa(+b);f=uwa(1)|0;d=uwa(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;vwa(0,0);vwa(1,e&-1048576>>l-1023);c=c- +wwa();xwa(+(a+c));d=uwa(1)|0;uwa(0)|0}vwa(0,0);vwa(1,d|0);b=+wwa();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;xwa(+a);d=uwa(1)|0;e=uwa(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=Cn(a,f);break n}vwa(0,e|0);vwa(1,d|0);a=+wwa()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function uja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=x(0),m=x(0),n=0,v=0;b=fi-112|0;fi=b;h=q[a+8>>2];m=u[q[a+4>>2]>>2];a:{if(o[295740]&1){break a}if(!ui(295740)){break a}if(r[852367]){a=Ri(51585)}else{a=-1}q[73934]=a;ti(295740)}b:{if(o[295748]&1){break b}if(!ui(295748)){break b}if(r[852367]){a=Yi(51592,7)}else{a=0}q[73936]=a;ti(295748)}a=q[73934];c:{if((a|0)!=-1){Qi(b+80|0,a,51592,q[73936]);break c}q[b+80>>2]=0}e=q[h+4>>2];f=q[h>>2];c=e-f|0;a=(c|0)/240|0;d:{e:{f:{if(!c){break f}g:{if((e|0)!=(f|0)){i=a>>>0>1?a:1;a=0;while(1){e=w(a,240)+f|0;f=s[e+234>>1];h:{if(!(f&4)){break h}if((f&136)==136){d=q[e+184>>2];g=d;c=q[e+196>>2];if(!c){c=q[q[e+188>>2]+8>>2]}c=q[c+64>>2];if(t[c+8>>2]<=g>>>0){break g}g=q[c+4>>2];j=x(u[e+224>>2]+x(x(m*u[e+220>>2])*u[e+228>>2]));u[e+224>>2]=j;if(!(j>=x(1)^1)){k=e;d=q[(g+w(d,40)|0)+24>>2];i:{if(d>>>0<=6){l=x(1);if(1<>2]=l}f=f|16;p[e+234>>1]=f}if(!(f&16)){break h}p[e+234>>1]=f&65519;aJ(e)}a=a+1|0;if((i|0)==(a|0)){break f}f=q[h>>2];if((q[h+4>>2]-f|0)/240>>>0>a>>>0){continue}break}}break e}break d}if(q[b+80>>2]){Pi(b+80|0)}j:{if(o[295756]&1){break j}if(!ui(295756)){break j}if(r[852367]){a=Ri(51585)}else{a=-1}q[73938]=a;ti(295756)}k:{if(o[295764]&1){break k}if(!ui(295764)){break k}if(r[852367]){a=Yi(51600,12)}else{a=0}q[73940]=a;ti(295764)}a=q[73938];l:{if((a|0)!=-1){Qi(b- -64|0,a,51600,q[73940]);break l}q[b+64>>2]=0}c=q[h+4>>2];a=q[h>>2];f=c-a|0;e=(f|0)/240|0;m:{if(!f){break m}n:{if((a|0)!=(c|0)){n=e>>>0>1?e:1;v=b+80|4;e=b+88|0;i=b+104|0;f=0;while(1){c=w(f,240)+a|0;d=s[c+234>>1];o:{if((d&12)!=12){break o}g=q[c+184>>2];k=g;a=q[c+196>>2];if(!a){a=q[q[c+188>>2]+8>>2]}a=q[a+64>>2];if(t[a+8>>2]<=k>>>0){break n}a=q[(q[a+4>>2]+w(g,40)|0)+24>>2];if(a>>>0>6|!(1<>2]>=x(1)^1){break o}p[c+234>>1]=d&65527;if(!(q[c+176>>2]|q[c+180>>2])){break o}q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;a=e;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;a=0;d=0;g=q[q[q[c>>2]+80>>2]+8>>2];p:{if(!g){break p}g=q[g>>2];if(!g){break p}a=q[g+4224>>2];d=q[g+4228>>2]}q[b+80>>2]=a;q[b+84>>2]=d;q:{if(po(a,d)){if(!qo(q[c>>2],s[c+232>>1],i)){break q}}mi(4,51183,51613,0);break m}a=c+152|0;d=q[c>>2];g=q[d+100>>2];q[b+48>>2]=q[d+96>>2];q[b+52>>2]=g;d=q[e+4>>2];q[b+40>>2]=q[e>>2];q[b+44>>2]=d;d=q[i+4>>2];q[b+56>>2]=q[i>>2];q[b+60>>2]=d;d=q[b+84>>2];q[b+32>>2]=q[b+80>>2];q[b+36>>2]=d;if(!un(q[q[q[c>>2]+80>>2]+8>>2],q[c+168>>2],q[c+172>>2])){a=Ei(q[a>>2],q[a+4>>2]);e=Ei(q[c+168>>2],q[c+172>>2]);q[b+8>>2]=Ei(q[c+176>>2],q[c+180>>2]);q[b+4>>2]=e;q[b>>2]=a;mi(4,51183,51680,b);break m}q[b+16>>2]=q[c+216>>2]+1;d=q[c+212>>2];q[b+24>>2]=q[c+208>>2];q[b+28>>2]=d;c=q[c+148>>2];q[e>>2]=0;q[e+4>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;vi(16,1,b+80|0,e,v);MK(b+16|0,q[62646],b+80|0);d=q[b+80>>2];c=Jna(q[62646],d,q[b+84>>2]-d|0,b+32|0,a,c);r:{if(o[b+92|0]&1){break r}d=q[b+80>>2];if(!d){break r}ki(d)}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;if(!c){break o}mi(4,51183,51732,0)}f=f+1|0;if((n|0)==(f|0)){break m}a=q[h>>2];if((q[h+4>>2]-a|0)/240>>>0>f>>>0){continue}break}}break e}break d}if(q[b+64>>2]){Pi(b- -64|0)}fi=b+112|0;return 0}J(52519,51871,447,51574);G()}J(51522,51534,88,51574);G()}function pA(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=0,r=x(0),v=x(0),y=x(0),z=0,A=0,B=0,C=x(0),D=x(0),E=0,F=0;c=fi-128|0;fi=c;z=1;a:{b:{c:{d:{if(!b){break d}d=q[b+140>>2];m=q[b+136>>2];e:{if(m&256){mi(3,7277,11375,0);n=q[b+136>>2];d=q[b+140>>2];break e}p[b+144>>1]=s[b+144>>1];n=m|256;q[b+136>>2]=n;q[b+140>>2]=d}d=d&32767;m=q[a+2056>>2];if(d>>>0>=q[a+2060>>2]-m>>2>>>0){break a}if(q[m+(d<<2)>>2]!=(b|0)){break c}m=q[a+4148>>2];A=q[a+4152>>2]-m>>6;if(A>>>0<=d>>>0){break a}B=m+(d<<6)|0;o=n>>>16|0;f:{if((o|0)==32767){j=u[b+36>>2];k=u[b+40>>2];e=u[b+24>>2];f=u[b+12>>2];g=u[b>>2];n=q[b+16>>2];o=q[b+20>>2];i=u[b+4>>2];y=x(i+i);h=u[b+8>>2];r=x(h+h);l=x(i*y);v=x(h*r);h=u[b+32>>2];u[B>>2]=x(x(x(1)-l)-v)*h;d=m+(d<<6)|0;q[d+60>>2]=1065353216;u[d+56>>2]=e;q[d+48>>2]=n;q[d+52>>2]=o;u[d+44>>2]=k*x(0);e=x(g+g);D=x(x(1)-x(g*e));u[d+40>>2]=k*x(D-l);i=x(i*r);e=x(e*f);u[d+36>>2]=k*x(i-e);C=k;k=x(g*r);l=x(y*f);u[d+32>>2]=C*x(k+l);u[d+28>>2]=j*x(0);u[d+24>>2]=j*x(i+e);u[d+20>>2]=j*x(D-v);e=j;g=x(g*y);j=x(f*r);u[d+16>>2]=e*x(g-j);u[d+12>>2]=h*x(0);u[d+8>>2]=h*x(k-l);u[d+4>>2]=h*x(g+j);break f}if(o>>>0>=A>>>0){break a}o=m+(o<<6)|0;if(n&512){j=u[b+40>>2];k=u[b+36>>2];h=u[b+24>>2];r=u[b+32>>2];n=q[b+16>>2];A=q[b+20>>2];f=u[b+4>>2];i=u[b+8>>2];y=u[b+12>>2];g=u[b>>2];q[c+60>>2]=1065353216;u[c+56>>2]=h;u[c+28>>2]=k*x(0);u[c+44>>2]=j*x(0);h=x(i+i);e=x(f*h);l=x(g+g);v=x(y*l);u[c+24>>2]=k*x(e+v);u[c+36>>2]=j*x(e-v);e=x(x(1)-x(g*l));i=x(i*h);u[c+20>>2]=k*x(e-i);C=e;e=f;f=x(f+f);e=x(e*f);u[c+40>>2]=j*x(C-e);q[c+48>>2]=n;q[c+52>>2]=A;u[c+12>>2]=r*x(0);l=x(g*f);v=x(y*h);u[c+4>>2]=r*x(l+v);g=x(g*h);f=x(f*y);u[c+8>>2]=r*x(g-f);u[c+16>>2]=k*x(l-v);u[c+32>>2]=j*x(g+f);u[c>>2]=r*x(x(x(1)-e)-i);Dk(c- -64|0,o,c);u[B>>2]=u[c+64>>2];d=m+(d<<6)|0;u[d+4>>2]=u[c+68>>2];u[d+8>>2]=u[c+72>>2];u[d+12>>2]=u[c+76>>2];u[d+16>>2]=u[c+80>>2];u[d+20>>2]=u[c+84>>2];u[d+24>>2]=u[c+88>>2];u[d+28>>2]=u[c+92>>2];u[d+32>>2]=u[c+96>>2];u[d+36>>2]=u[c+100>>2];u[d+40>>2]=u[c+104>>2];u[d+44>>2]=u[c+108>>2];u[d+48>>2]=u[c+112>>2];u[d+52>>2]=u[c+116>>2];u[d+56>>2]=u[c+120>>2];u[d+60>>2]=u[c+124>>2];break f}j=u[b+40>>2];k=u[b+36>>2];h=u[b+24>>2];r=u[b+32>>2];n=q[b+16>>2];A=q[b+20>>2];f=u[b+4>>2];i=u[b+8>>2];y=u[b+12>>2];g=u[b>>2];q[c+60>>2]=1065353216;u[c+56>>2]=h;u[c+28>>2]=k*x(0);u[c+44>>2]=j*x(0);h=x(i+i);e=x(f*h);l=x(g+g);v=x(y*l);u[c+24>>2]=k*x(e+v);u[c+36>>2]=j*x(e-v);e=x(x(1)-x(g*l));i=x(i*h);u[c+20>>2]=k*x(e-i);C=e;e=f;f=x(f+f);e=x(e*f);u[c+40>>2]=j*x(C-e);q[c+48>>2]=n;q[c+52>>2]=A;u[c+12>>2]=r*x(0);l=x(g*f);v=x(y*h);u[c+4>>2]=r*x(l+v);g=x(g*h);f=x(f*y);u[c+8>>2]=r*x(g-f);u[c+16>>2]=k*x(l-v);u[c+32>>2]=j*x(g+f);u[c>>2]=r*x(x(x(1)-e)-i);On(c- -64|0,o,c);u[B>>2]=u[c+64>>2];d=m+(d<<6)|0;u[d+4>>2]=u[c+68>>2];u[d+8>>2]=u[c+72>>2];u[d+12>>2]=u[c+76>>2];u[d+16>>2]=u[c+80>>2];u[d+20>>2]=u[c+84>>2];u[d+24>>2]=u[c+88>>2];u[d+28>>2]=u[c+92>>2];u[d+32>>2]=u[c+96>>2];u[d+36>>2]=u[c+100>>2];u[d+40>>2]=u[c+104>>2];u[d+44>>2]=u[c+108>>2];u[d+48>>2]=u[c+112>>2];u[d+52>>2]=u[c+116>>2];u[d+56>>2]=u[c+120>>2];u[d+60>>2]=u[c+124>>2]}B=q[b+84>>2];o=q[B+4>>2];if(!o){break d}d=0;n=0;while(1){A=q[B>>2]+w(n,80)|0;z=q[A+16>>2];E=q[z+96>>2];m=((E&65536)>>>16|0)+d|0;if(m>>>0>t[b+152>>2]){break b}F=q[z+36>>2];if(F){o=q[a+8>>2];q[c+68>>2]=b;q[c+64>>2]=o;q[c+72>>2]=q[((q[A+20>>2]<<2)+a|0)+12>>2];z=q[z+16>>2];q[c+80>>2]=((d<<2)+b|0)+156&E<<15>>31;q[c+76>>2]=z;if(ji[F|0](c- -64|0)|0){z=0;break d}o=q[B+4>>2]}z=1;d=m;n=n+1|0;if(n>>>0>>0){continue}break}}fi=c+128|0;return z}J(8137,7150,1616,11444);G()}J(7962,7150,1583,11457);G()}J(12475,10090,447,9406);G()}function CC(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=fi-192|0;fi=h;i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];a:{if(g>>>0<=e>>>0){e=q[f>>2];break a}if(e>>>0>=2147483646){Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+104>>2]=127014;q[h+100>>2]=d;q[h+96>>2]=h+112;Oi(e,126991,h+96|0);oj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;b:{if((g|0)!=-2){e=dj(d,q[f>>2],e,g);break b}e=Rj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;c:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break c}d=mk(d)}q[e>>2]=d;d:{switch(d-10|0){case 0:case 3:Zt(a);break;default:break d}}j=b?127094:127117;while(1){e:{f:{g:{h:{i:{j:{i=q[a>>2];switch(i+1|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13:break e;case 11:case 14:break f;case 0:break i;default:break j}}switch(i-91|0){case 2:break g;case 0:break h;default:break e}}Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+40>>2]=j;q[h+36>>2]=d;q[h+32>>2]=h+112;e=Oi(e,126991,h+32|0);d=q[a+52>>2];q[h+20>>2]=126973;q[h+16>>2]=e;Oi(d,127001,h+16|0);oj(q[a+52>>2],3);continue}if((ot(a)|0)!=(c|0)){continue}i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];k:{if(g>>>0<=e>>>0){e=q[f>>2];break k}if(e>>>0>=2147483646){Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+56>>2]=127014;q[h+52>>2]=d;q[h+48>>2]=h+112;Oi(e,126991,h+48|0);oj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;l:{if((g|0)!=-2){e=dj(d,q[f>>2],e,g);break l}e=Rj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;m:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break m}d=mk(d)}q[e>>2]=d;if(c){continue}Kl(a,127141,91);continue}if((ot(a)|0)!=(c|0)){continue}i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];n:{if(g>>>0<=e>>>0){e=q[f>>2];break n}if(e>>>0>=2147483646){Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+72>>2]=127014;q[h+68>>2]=d;q[h+64>>2]=h+112;Oi(e,126991,h- -64|0);oj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;o:{if((g|0)!=-2){e=dj(d,q[f>>2],e,g);break o}e=Rj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;p:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break p}d=mk(d)}q[e>>2]=d;if(b){e=q[a+52>>2];c=c+2|0;d=q[a+60>>2];c=Bj(e,c+q[d>>2]|0,q[d+4>>2]-(c<<1)|0);a=Yr(e,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}q[b>>2]=c}fi=h+192|0;return}f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];q:{if(g>>>0<=e>>>0){e=q[f>>2];break q}if(e>>>0>=2147483646){Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+88>>2]=127014;q[h+84>>2]=d;q[h+80>>2]=h+112;Oi(e,126991,h+80|0);oj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;r:{if((g|0)!=-2){e=dj(d,q[f>>2],e,g);break r}e=Rj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=10;Zt(a);if(b){continue}q[q[a+60>>2]+4>>2]=0;continue}if(b){f=q[a+60>>2];g=q[f+4>>2];e=g+1|0;d=q[f+8>>2];s:{if(e>>>0<=d>>>0){d=q[f>>2];break s}if(d>>>0>=2147483646){Bk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+8>>2]=127014;q[h+4>>2]=d;q[h>>2]=h+112;Oi(e,126991,h);oj(q[a+52>>2],3);d=q[f+8>>2]}e=q[a+52>>2];g=d<<1;t:{if((g|0)!=-2){d=dj(e,q[f>>2],d,g);break t}d=Rj(e)}q[f+8>>2]=g;q[f>>2]=d;g=q[f+4>>2];e=g+1|0}q[f+4>>2]=e;o[d+g|0]=i;e=q[a+56>>2];d=q[e>>2];q[e>>2]=d-1;if(d){d=e;e=q[e+4>>2];q[d+4>>2]=e+1;q[a>>2]=r[e|0];continue}q[a>>2]=mk(e);continue}e=q[a+56>>2];d=q[e>>2];q[e>>2]=d-1;if(d){d=e;e=q[e+4>>2];q[d+4>>2]=e+1;q[a>>2]=r[e|0]}else{q[a>>2]=mk(e)}continue}}function JM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-16|0;fi=d;e=c;f=q[a+32>>2];a:{b:{if(!(q[c+12>>2]?0:!((f|0)==(b|0)|!f))){q[d+8>>2]=0;b=q[c+16>>2];if(b){break a}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break b}q[d+8>>2]=q[f+12>>2]+1;b=q[c+16>>2];if(b){break a}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break a}b=ji[q[c+4>>2]](q[c>>2],f+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}q[d+8>>2]=q[a+60>>2];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}q[d+8>>2]=q[a+64>>2];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+72|0];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+73|0];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+74|0];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+75|0];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}e=q[a+12>>2];f=q[a+44>>2];q[d+8>>2]=f;c:{d:{if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(!b){break d}}h=q[a+40>>2];q[d+8>>2]=h;break c}b=ji[q[c+4>>2]](q[c>>2],e,f<<2,q[c+8>>2])|0;q[c+16>>2]=b;h=q[a+40>>2];q[d+8>>2]=h;if(b){break c}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((h|0)>=1){while(1){i=q[a+8>>2]+(g<<4)|0;e=q[i+8>>2];o[d+8|0]=e;f=c;if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b;e=q[i+8>>2]}e:{f:{g:{switch(e-1|0){case 0:o[d+8|0]=q[i>>2];if(b){break e}b=ji[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;break f;case 2:v[d+8>>3]=v[i>>3];if(b){break e}b=ji[q[c+4>>2]](q[c>>2],d+8|0,8,q[c+8>>2])|0;break f;case 3:break g;default:break e}}e=q[i>>2];if(!e){q[d+8>>2]=0;if(b){break e}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break f}q[d+8>>2]=q[e+12>>2]+1;if(b){break e}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break e}b=ji[q[c+4>>2]](q[c>>2],e+16|0,q[d+8>>2],q[c+8>>2])|0}q[f+16>>2]=b}g=g+1|0;if((h|0)!=(g|0)){continue}break}}e=q[a+52>>2];q[d+8>>2]=e;if(!b){q[c+16>>2]=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])}if((e|0)>=1){b=0;while(1){JM(q[q[a+16>>2]+(b<<2)>>2],q[a+32>>2],c);b=b+1|0;if((e|0)!=(b|0)){continue}break}}g=0;e=q[a+20>>2];g=q[c+12>>2]?g:q[a+48>>2];q[d+8>>2]=g;b=q[c+16>>2];h:{if(b){break h}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break h}b=ji[q[c+4>>2]](q[c>>2],e,g<<2,q[c+8>>2])|0;q[c+16>>2]=b}h=0;h=q[c+12>>2]?h:q[a+56>>2];q[d+8>>2]=h;if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((h|0)>=1){g=0;while(1){e=c;i=w(g,12);f=q[i+q[a+24>>2]>>2];i:{j:{if(!f){q[d+8>>2]=0;if(b){break i}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break j}q[d+8>>2]=q[f+12>>2]+1;if(b){break i}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break i}b=ji[q[c+4>>2]](q[c>>2],f+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}e=q[a+24>>2];q[d+8>>2]=q[(e+i|0)+4>>2];f=d;if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;e=q[a+24>>2]}q[f+8>>2]=q[(e+i|0)+8>>2];if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;f=q[c+12>>2]?f:q[a+36>>2];q[d+8>>2]=f;if(!b){b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((f|0)>=1){g=0;while(1){e=c;h=q[q[a+28>>2]+(g<<2)>>2];k:{l:{if(!h){q[d+8>>2]=0;if(b){break k}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break l}q[d+8>>2]=q[h+12>>2]+1;if(b){break k}b=ji[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break k}b=ji[q[c+4>>2]](q[c>>2],h+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}g=g+1|0;if((f|0)!=(g|0)){continue}break}}fi=d+16|0}function UC(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=fi-368|0;fi=d;f=q[a+68>>2];h=q[a+84>>2];p=q[a+64>>2];q[h+76>>2]=q[p+124>>2];q[h+208>>2]=q[a+20>>2];c=-28928;s=q[f+1120>>2];l=EV(q[s+8>>2]);a:{if(!l){break a}b=q[s+12>>2]-3|0;b:{if(b>>>0<=5){g=q[(b<<2)+267260>>2];break b}g=0}if(!g){break a}b=f;k=q[a+20>>2];c:{if((k|0)<=2){q[f+1116>>2]=1331;c=1333;k=1332;break c}c=-27648;if((k|0)!=3){break a}if(q[s+12>>2]==7){q[f+1116>>2]=1334;c=1336;k=1335;break c}q[f+1116>>2]=1337;c=1339;k=1338}q[b+1112>>2]=k;q[f+1108>>2]=c;if(!q[f+2252>>2]){b=q[a+68>>2];d:{if(q[b+2272>>2]!=1){b=f+1128|0;c=64;k=166704;break d}ji[q[b+1108>>2]](a,d);b=d;if(q[a+20>>2]!=3){c=36;k=166718;break d}c=q[s+12>>2]==7?48:32;k=166718}e=f+1192|0;c=ji[q[f+1116>>2]](e,q[f+1124>>2],k,b,c,p+48|0,48)|0;if(c){break a}ji[q[66742]](e,0,1060)|0}m=f+1184|0;b=m;c=q[b+4>>2];w=q[b>>2];q[d+360>>2]=w;q[d+364>>2]=c;e=f+1176|0;i=q[e+4>>2];x=q[e>>2];q[d+352>>2]=x;q[d+356>>2]=i;j=f+1168|0;b=j;t=q[b+4>>2];y=q[b>>2];q[d+344>>2]=y;q[d+348>>2]=t;k=f+1160|0;b=k;z=q[b+4>>2];A=q[b>>2];q[d+336>>2]=A;q[d+340>>2]=z;u=f+1152|0;b=u;n=q[b+4>>2];q[d+328>>2]=q[b>>2];q[d+332>>2]=n;n=f+1144|0;b=n;v=q[b+4>>2];q[d+320>>2]=q[b>>2];q[d+324>>2]=v;b=q[f+1132>>2];q[d+304>>2]=q[f+1128>>2];q[d+308>>2]=b;b=f+1136|0;v=q[b+4>>2];q[d+312>>2]=q[b>>2];q[d+316>>2]=v;q[f+1128>>2]=A;q[f+1132>>2]=z;q[b>>2]=y;q[b+4>>2]=t;q[n>>2]=x;q[n+4>>2]=i;q[u>>2]=w;q[u+4>>2]=c;c=q[d+308>>2];b=k;i=q[d+304>>2];o[b|0]=i;o[b+1|0]=i>>>8;o[b+2|0]=i>>>16;o[b+3|0]=i>>>24;o[b+4|0]=c;o[b+5|0]=c>>>8;o[b+6|0]=c>>>16;o[b+7|0]=c>>>24;b=j;j=q[d+316>>2];c=q[d+312>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=j;o[b+5|0]=j>>>8;o[b+6|0]=j>>>16;o[b+7|0]=j>>>24;b=e;e=q[d+324>>2];j=q[d+320>>2];o[b|0]=j;o[b+1|0]=j>>>8;o[b+2|0]=j>>>16;o[b+3|0]=j>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;b=m;e=q[d+332>>2];m=q[d+328>>2];o[b|0]=m;o[b+1|0]=m>>>8;o[b+2|0]=m>>>16;o[b+3|0]=m>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;ji[q[66742]](d+304|0,0,64)|0;m=p+48|0;j=f+1128|0;c=ji[q[f+1116>>2]](m,48,166741,j,64,d+48|0,256)|0;if(c){break a}c=-27648;e=q[l+4>>2];if(e>>>0>10){break a}t=q[l+8>>2];b=1<>2]:0)&255;e=q[p+120>>2]==1?10:b;q[h+12>>2]=e;i=q[l+16>>2];q[h+4>>2]=i;if(q[l+4>>2]==7){q[h>>2]=e;break f}c=q[l+24>>2];g=c+e|0;g=q[p+124>>2]!=1?g-((e>>>0)%(c>>>0)|0)|0:g;q[h>>2]=g;c=-27648;g:{switch(q[a+20>>2]){case 0:case 1:break f;case 2:case 3:break g;default:break e}}q[h>>2]=g+i;break f}b=0;q[h+12>>2]=0;i=12;g=r[s+36|0];e=(e|0)==10?12:4;q[h+8>>2]=e;q[h+4>>2]=12;g=g&2?8:16;q[h+16>>2]=g;q[h>>2]=(g-e|0)+12}c=-27648;if(o[q[a>>2]+184|0]&1){break e}s=(d+48|0)+(b<<1)|0;e=t>>>3|0;p=s+e|0;t=e+p|0;g=q[h+8>>2];g=g?g:i;si(h+20|0,t,g);si(h+36|0,g+t|0,g);if(q[a+20>>2]<1){break e}if(b){Ao(h+52|0,d+48|0,b);Ao(h- -64|0,(d+48|0)+b|0,b)}c=q[a>>2];i=q[c+68>>2];if(i){ji[i|0](q[c+76>>2],m,d+48|0,b,e,g)|0;c=q[a>>2]}i=q[c+72>>2];if(i){u=q[c+76>>2];c=d+48|0;a=j;f=q[f+1116>>2];n=2;h:{if((f|0)==1331){break h}n=3;if((f|0)==1334){break h}n=((f|0)==1337)<<2}ji[i|0](u,m,c,b,e,g,k,a,n)|0}a=h+80|0;c=Ft(a,l);if(c){break e}b=h+144|0;c=Ft(b,l);if(c){break e}c=Gt(a,s,q[l+8>>2],1);if(c){break e}c=Gt(b,p,q[l+8>>2],0);if(c){break e}c=0;if(q[l+4>>2]!=2){break e}c=jx(a,4);if(c){break e}c=jx(b,4)}ji[q[66742]](d+48|0,0,256)|0;ji[q[66742]](j,0,64)|0}fi=d+368|0;return c}function gma(a,b){a=a|0;b=b|0;var c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),p=0,t=x(0),v=0,w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=0;b=fi-352|0;fi=b;p=q[a+8>>2];g=q[p+16>>2];p=q[p+20>>2]-g|0;a:{b:{if(!p){break b}g=q[(g+p|0)-4>>2];if(!g){break b}v=r[g+24|0];if(!(v&2)){break b}p=q[a+12>>2];if(v&1){e=x(x(ji[q[74886]](q[p+2208>>2])>>>0)/x(ji[q[74887]](q[p+2208>>2])>>>0))}else{e=u[g+8>>2]}f=u[g+12>>2];c=u[g+20>>2];d=u[g+16>>2];q[b+312>>2]=0;q[b+316>>2]=0;f=KB(x(x(f*x(-.5))+x(1.5707963705062866)));u[b+308>>2]=f;q[b+320>>2]=0;q[b+324>>2]=0;a=0;q[b+348>>2]=0;q[b+340>>2]=0;q[b+332>>2]=-1082130432;q[b+336>>2]=0;l=x(x(1)/x(d-c));u[b+328>>2]=x(d+c)*l;c=x(x(d*c)*l);u[b+344>>2]=c+c;q[b+292>>2]=0;q[b+296>>2]=0;q[b+300>>2]=0;q[b+304>>2]=0;u[b+288>>2]=f/e;bp(b+272|0,q[g>>2]);Ks(b+256|0,q[g>>2]);t=u[b+280>>2];z=u[b+272>>2];A=u[b+276>>2];c=u[b+268>>2];d=u[b+264>>2];e=u[b+260>>2];f=u[b+256>>2];q[b+252>>2]=1065353216;q[b+236>>2]=0;q[b+220>>2]=0;i=x(c*x(0));m=x(d*x(0));l=x(f+x(i+m));h=x(e*x(0));y=x(f*x(0));j=x(x(h+y)-d);k=x(x(y-c)-h);w=x(x(i-e)-m);n=x(t-x(t+x(x(f*l)+x(x(x(d*j)+x(c*k))-x(e*w)))));C=n;B=x(n*n);n=x(z-x(z+x(x(e*k)+x(x(x(c*w)+x(f*j))-x(d*l)))));j=x(A-x(A+x(x(d*w)+x(x(x(c*l)+x(e*j))-x(f*k)))));k=x(x(1)/x(F(x(B+x(x(n*n)+x(j*j))))));l=x(C*k);u[b+232>>2]=l;j=x(j*k);u[b+216>>2]=j;k=x(n*k);B=x(-x(x(z*k)+x(x(A*j)+x(t*l))));u[b+248>>2]=B;w=x(x(c+m)-y);n=x(x(i+f)-h);m=x(m+x(e+y));i=x(x(i+h)-d);h=x(x(f*w)+x(x(x(c*n)+x(d*m))-x(e*i)));C=h;y=x(h*h);h=x(x(e*n)+x(x(x(c*i)+x(f*m))-x(d*w)));c=x(x(d*i)+x(x(x(c*w)+x(e*m))-x(f*n)));d=x(x(1)/x(F(x(y+x(x(h*h)+x(c*c))))));i=x(C*d);f=x(h*d);e=x(x(k*i)-x(f*l));h=e;c=x(c*d);f=x(x(f*j)-x(k*c));d=x(x(c*l)-x(i*j));e=x(x(1)/x(F(x(x(f*f)+x(x(d*d)+x(e*e))))));c=x(h*e);d=x(d*e);i=x(x(k*c)-x(j*d));u[b+228>>2]=i;e=x(f*e);f=x(x(l*d)-x(k*e));u[b+212>>2]=f;m=x(x(j*e)-x(l*c));h=x(-x(x(z*m)+x(x(A*f)+x(t*i))));u[b+244>>2]=h;q[b+204>>2]=0;u[b+200>>2]=k;u[b+224>>2]=e;u[b+208>>2]=c;u[b+192>>2]=d;u[b+196>>2]=m;t=x(-x(x(z*d)+x(x(A*c)+x(t*e))));u[b+240>>2]=t;v=q[60980];D=q[v+8>>2];v=q[v+12>>2];q[b+124>>2]=1065353216;u[b+120>>2]=B;u[b+116>>2]=h;u[b+112>>2]=t;q[b+108>>2]=0;u[b+104>>2]=l;u[b+100>>2]=i;u[b+96>>2]=e;q[b+92>>2]=0;u[b+88>>2]=j;u[b+84>>2]=f;u[b+80>>2]=c;q[b+76>>2]=0;u[b+72>>2]=k;u[b+68>>2]=m;u[b+64>>2]=d;u[b+128>>2]=u[b+288>>2];u[b+132>>2]=u[b+292>>2];u[b+136>>2]=u[b+296>>2];u[b+140>>2]=u[b+300>>2];u[b+144>>2]=u[b+304>>2];u[b+148>>2]=u[b+308>>2];u[b+152>>2]=u[b+312>>2];u[b+156>>2]=u[b+316>>2];u[b+160>>2]=u[b+320>>2];u[b+164>>2]=u[b+324>>2];u[b+168>>2]=u[b+328>>2];u[b+172>>2]=u[b+332>>2];u[b+176>>2]=u[b+336>>2];u[b+180>>2]=u[b+340>>2];u[b+184>>2]=u[b+344>>2];u[b+188>>2]=u[b+348>>2];c:{if(qo(q[g>>2],s[g+26>>1],b+48|0)){mi(4,32589,32705,0);g=1;break c}q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+40|0]=0;o[b+41|0]=0;o[b+42|0]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;a=-1e3;d:{if(Nm(q[63707],b+16|0)){q[b>>2]=q[63707];mi(4,32589,32773,b);g=1;break d}Zj(0,b+16|0,D,v,0,q[60980],b+48|0,144);$F(p,b+288|0);_F(p,b+192|0);g=0}}if(g){break a}}a=0}fi=b+352|0;return a|0}function kja(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0,v=x(0),z=x(0),A=x(0),B=x(0),D=x(0),E=0,F=x(0),H=0,I=x(0),K=0,L=x(0),M=x(0);c=fi-128|0;fi=c;e=q[q[a+12>>2]>>2];a:{b:{g=q[a+16>>2];d=g;b=q[d+64>>2];n=q[63198];d=q[d+68>>2];c:{if((b|0)==q[n+8>>2]&(d|0)==q[n+12>>2]){b=q[g+96>>2];d=q[g+100>>2];d:{h=q[q[e+156>>2]+4>>2];n=q[h+8>>2];e:{if(!n){break e}E=q[h+4>>2];h=0;while(1){H=E+(h<<5)|0;if(q[H+16>>2]!=(b|0)|q[H+20>>2]!=(d|0)){h=h+1|0;if((n|0)!=(h|0)){continue}break e}break}if((h|0)!=-1){break d}}a=Ei(b,d);b=q[q[63198]+4>>2];q[c>>2]=a;q[c+4>>2]=b;mi(4,52865,53399,c);h=-1e3;break c}b=q[e+96>>2];mv(c+80|0,b);B=u[c+112>>2];if(B==x(0)){break b}l=u[c+116>>2];if(l==x(0)){break b}F=u[c+120>>2];if(F==x(0)){break b}z=u[c+88>>2];k=u[c+96>>2];f=u[c+92>>2];D=u[c+100>>2];i=u[c+80>>2];m=u[c+104>>2];v=x(x(x(z*k)-x(f*D))-x(i*m));j=u[c+84>>2];A=x(x(z*m)+x(x(i*k)+x(j*D)));l=x(x(1)/l);I=x(x(x(i*D)-x(f*m))-x(j*k));k=x(x(x(j*m)-x(f*k))-x(z*D));M=x(l*x(x(x(x(f*v)-x(j*A))+x(i*I))-x(z*k)));I=x(x(x(z*v)+x(x(f*k)-x(i*A)))-x(j*I));D=x(x(1)/B);k=u[g+120>>2];m=u[g+116>>2];v=u[g+112>>2];A=x(-j);f:{if((q[b+136>>2]&512)>>>9|0){m=x(l*m);v=x(D*v);k=x(x(x(1)/F)*k);l=x(x(x(f*m)-x(z*v))+x(i*k));B=x(x(x(m*A)-x(i*v))-x(z*k));A=x(x(f*l)-x(j*B));L=x(z*l);l=x(x(z*m)+x(x(f*v)-x(j*k)));F=j;j=x(x(j*v)+x(x(f*k)-x(i*m)));f=x(x(L+x(x(f*l)-x(i*B)))-x(F*j));B=x(i*j);break f}m=x(l*m);v=x(D*v);l=x(x(i*k)+x(x(f*m)-x(z*v)));A=x(x(x(m*A)-x(i*v))-x(z*k));B=x(x(f*l)-x(j*A));L=x(z*l);l=x(x(z*m)+x(x(f*v)-x(j*k)));F=j;j=x(x(j*v)+x(x(f*k)-x(i*m)));f=x(x(L+x(x(f*l)-x(i*A)))-x(F*j));A=x(i*j)}f=x(x(D*I)+f);E=q[g+136>>2];d=q[e+156>>2];H=q[d+40>>2];i=x(M+x(x(A+B)-x(z*l)));b=q[e+152>>2];if(!b){b=q[d>>2]}n=q[b+64>>2];i=x(C(x(i*x(x(1)/x(t[n+24>>2])))));g:{if(x(y(i))>2])))));i:{if(x(y(f))>2]-q[d+36>>2]|0)|0;j:{if((n|0)<0){break j}b=(E-H|0)+b|0;if((b|0)<0){break j}E=q[d+28>>2];if((E|0)<=(n|0)){break j}d=q[d+32>>2]&2147483647;if((d|0)>(b|0)){break h}}mi(4,52865,53449,0);h=-1e3;break c}d=n+w(E,b+w(d,h)|0)|0;g=q[g+128>>2]-1|0;p[q[e+100>>2]+(d<<1)>>1]=g;d=d+q[e+104>>2]|0;o[d|0]=r[d|0]&248;d=q[e+108>>2];K=q[e+112>>2]-d|0;e=w(s[e+160>>1],b>>>5|0)+(n>>>5|0)|0;if(K>>>0<=e>>>0){break a}e=d+e|0;o[e|0]=r[e|0]|1;q[c+56>>2]=n;q[c+48>>2]=h;q[c+60>>2]=g;q[c+52>>2]=b;e=q[62480];b=e;g=q[b+8>>2];d=q[b+12>>2];b=q[a+16>>2];h=q[b+52>>2];q[c+96>>2]=q[b+48>>2];q[c+100>>2]=h;h=q[b+44>>2];q[c+88>>2]=q[b+40>>2];q[c+92>>2]=h;h=q[b+36>>2];q[c+80>>2]=q[b+32>>2];q[c+84>>2]=h;q[c+104>>2]=0;q[c+108>>2]=0;h=0;b=Zj(b+32|0,c+80|0,g,d,0,e,c+48|0,28);if(!b){break c}a=q[a+16>>2];q[c+16>>2]=q[q[62480]+4>>2];q[c+20>>2]=b;Om(a,53514,c+16|0);h=-1e3;break c}a=q[63218];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){a=q[e+144>>2];if(!a){a=Np();q[e+144>>2]=a}b=q[e+148>>2];if(!b){b=q[q[e+156>>2]+24>>2]}d=q[g+100>>2];n=q[g+96>>2];u[c+32>>2]=u[g+112>>2];u[c+36>>2]=u[g+116>>2];u[c+40>>2]=u[g+120>>2];u[c+44>>2]=u[g+124>>2];Sq(a,b,n,d,0,0,$o(c+80|0,c+32|0));$u(e);break c}a=q[63234];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){a=q[e+144>>2];if(!a){break c}dv(a,q[g+96>>2],q[g+100>>2]);break c}a=q[59647];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){o[e+166|0]=r[e+166|0]|1;break c}a=q[59648];if(q[a+8>>2]!=(b|0)|q[a+12>>2]!=(d|0)){break c}o[e+166|0]=r[e+166|0]&254}fi=c+128|0;return h|0}J(54096,54209,281,54292);G()}J(53991,53817,447,53980);G()}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;j=fi-16|0;fi=j;a:{if(o[290100]&1){break a}if(!ui(290100)){break a}if(r[852367]){c=Ri(7503)}else{c=-1}q[72524]=c;ti(290100)}b:{if(o[290108]&1){break b}if(!ui(290108)){break b}if(r[852367]){c=Yi(9486,16)}else{c=0}q[72526]=c;ti(290108)}c=q[72524];c:{if((c|0)!=-1){Qi(j,c,9486,q[72526]);break c}q[j>>2]=0}h=q[a+8>>2];Eoa(h,b);d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if(r[b+149|0]&128){g=s[a+4274>>1];f=q[b+140>>2]&32767;if(s[b+146>>1]==32767?(g|0)!=(f|0):0){break n}k=a+4272|0;e=k;d=s[a+4272>>1];if((f|0)!=(d|0)){l=q[a+2056>>2];m=q[a+2060>>2]-l>>2;c=d;while(1){if(d>>>0>=m>>>0){break f}d=q[(d<<2)+l>>2];e=d+146|0;i=f;d=s[d+146>>1];if((d|0)==(g&65535)){p[a+4274>>1]=c;g=c;c=s[e>>1]}else{c=d}d=c&65535;if((i|0)!=(d|0)){continue}break}}c=s[b+146>>1];p[e>>1]=c;if(!((e|0)!=(k|0)|(c|0)!=32767)){p[a+4274>>1]=32767}p[b+146>>1]=32767;q[b+148>>2]=q[b+148>>2]&-32769}g=q[b+84>>2];i=q[a>>2];tK(a,b);Kq(b+104|0);if(q[b+136>>2]&2048){_7(q[b+96>>2],q[b+100>>2])}f=q[b+88>>2];if(f>>>0>2]){c=q[h>>2];tj(q[c+4240>>2]);e=q[c+4252>>2];if(!e){break e}d=q[c+4260>>2];if(!d|d>>>0>t[c+4256>>2]){break d}d=d-1|0;q[c+4260>>2]=d;q[e+(d<<2)>>2]=f;lj(q[c+4240>>2])}c=q[b+96>>2];d=q[b+100>>2];if((c|0)!=q[72440]|(d|0)!=q[72441]){Jq(a+4164|0,c,d);c=q[72441];q[b+96>>2]=q[72440];q[b+100>>2]=c}c=q[b+140>>2];f=q[b+136>>2];d=((f&255)<<4)+a|0;e=q[d+2104>>2]-q[d+2100>>2]|0;if(!e){break m}if((c>>>16&32767)>>>0>=e>>1>>>0){break l}d=s[b+150>>1]&32767;c=(c&65535)<<16|f>>>16;o:{if((d|0)==32767){break o}e=q[a+2060>>2];c=q[a+2056>>2];while(1){if(e-c>>2>>>0<=d>>>0){break f}h=d<<2;c=q[h+c>>2];f=q[c+136>>2];k=q[c+140>>2];l=q[b+136>>2];if((q[b+140>>2]&32767)!=(f>>>16|0)){break k}p[c+144>>1]=s[c+144>>1];q[c+136>>2]=l&-65536|f&65535;q[c+140>>2]=k;e=q[a+2060>>2];c=q[a+2056>>2];if(e-c>>2>>>0<=d>>>0){break f}d=q[q[c+h>>2]+148>>2]&32767;if((d|0)!=32767){continue}break}c=(q[b+140>>2]&65535)<<16|q[b+136>>2]>>>16}c=c&65535;if((c|0)!=32767){f=q[a+2056>>2];e=q[a+2060>>2]-f>>2;if(e>>>0<=c>>>0){break f}h=q[f+(c<<2)>>2];c=q[h+148>>2];d=c>>>16&32767;p:{if((d|0)!=32767){while(1){if(d>>>0>=e>>>0){break f}c=q[f+(d<<2)>>2];d=q[c+148>>2]&32767;if((d|0)!=32767){continue}break}f=q[c+148>>2];if((f&32767)!=32767){break j}d=c+148|0;e=s[b+150>>1]&32767;c=f&-32768;break p}if((c&2147418112)!=2147418112){break i}d=h+148|0;e=q[b+148>>2]&2147418112;c=c&-2147418113}q[d>>2]=c|e}hA(a,b);Ns(a,b);oA(a,q[b+148>>2]);if((g|0)!=289768){Di(i,g)}d=q[a+2072>>2];if(!d){break e}c=s[a+2078>>1];if(!c|c>>>0>s[a+2076>>1]){break d}g=q[b+140>>2];c=c-1|0;p[a+2078>>1]=c;p[d+((c&65535)<<1)>>1]=g&32767;g=q[b+140>>2]&32767;c=q[a+2056>>2];if(g>>>0>=q[a+2060>>2]-c>>2>>>0){break f}d=0;q[c+(g<<2)>>2]=0;i=q[a+4200>>2];c=q[a+4196>>2];g=i-c|0;q:{if(!g){break q}e=g>>2;g=0;while(1){f=d;d=d+1|0;h=(f<<2)+c|0;g=q[h>>2]==(b|0)|g;if(!(!(g&1)|f>>>0>=e-1>>>0)){if(d>>>0>=e>>>0){break f}q[h>>2]=q[(d<<2)+c>>2];i=q[a+4200>>2];c=q[a+4196>>2]}e=i-c>>2;if(e>>>0>d>>>0){continue}break}if(!(g&1)){break q}if((c|0)==(i|0)){break h}q[a+4200>>2]=i-4}ki(qi(b,204,160));if(t[a+4188>>2]>s[a+2078>>1]){break g}if(q[j>>2]){Pi(j)}fi=j+16|0;return}J(9738,7150,1811,9831);G()}J(9503,7150,1854,9486);G()}J(9560,7150,1855,9486);G()}J(8236,7150,1862,9486);G()}J(9638,7150,1882,9486);G()}J(9686,7150,1887,9486);G()}J(12666,10090,516,12522);G()}J(7759,7150,1925,9486);G()}J(12475,10090,447,9406);G()}J(12515,12401,140,12510);G()}J(12546,12401,141,12510);G()}function fK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fi-192|0;fi=e;h=q[a+40>>2];f=e+152|0;q[f>>2]=0;q[f+4>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;a:{b:{c:{i=q[h+48>>2];if(!i){break c}a=0;while(1){g=q[h+44>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]){q[e+96>>2]=d;q[e+100>>2]=q[59172];mi(4,14873,18608,e+96|0);break b}wi(c,d);k=v[f+8>>3];d=q[c+8>>2];q[d+8>>2]=3;v[d>>3]=k;q[c+8>>2]=q[c+8>>2]+16;Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){break c}if(t[h+48>>2]>a>>>0){continue}break}J(19343,19355,53,19397);G()}d:{i=q[h+56>>2];if(!i){break d}a=0;while(1){g=q[h+52>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=1){q[e+80>>2]=d;q[e+84>>2]=q[59173];mi(4,14873,18608,e+80|0);break b}wi(c,d);Yj(c,q[f+8>>2],q[f+12>>2]);Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){break d}if(t[h+56>>2]>a>>>0){continue}break}J(19343,19355,61,19397);G()}e:{i=q[h- -64>>2];if(i){g=f+8|0;a=0;while(1){d=e+112|0;q[d>>2]=0;q[d+4>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;d=q[e+148>>2];q[e+184>>2]=q[e+144>>2];q[e+188>>2]=d;d=q[e+140>>2];q[e+176>>2]=q[e+136>>2];q[e+180>>2]=d;d=q[e+132>>2];q[e+168>>2]=q[e+128>>2];q[e+172>>2]=d;d=q[e+124>>2];q[e+160>>2]=q[e+120>>2];q[e+164>>2]=d;d=q[e+116>>2];q[e+152>>2]=q[e+112>>2];q[e+156>>2]=d;if(t[h+64>>2]<=a>>>0){break e}j=q[h+60>>2]+(a<<5)|0;d=j;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[j>>2];if(q[f>>2]!=2){q[e+64>>2]=d;q[e+68>>2]=q[59174];mi(4,14873,18608,e- -64|0);break b}wi(c,d);Ml(c,g);Wi(c,-3);a=a+1|0;if((i|0)!=(a|0)){continue}break}}f:{i=q[h+72>>2];if(!i){break f}a=0;while(1){g=q[h+68>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=3){q[e+48>>2]=d;q[e+52>>2]=q[59175];mi(4,14873,18608,e+48|0);break b}wi(c,d);d=q[f+12>>2];g=q[f+8>>2];u[e+120>>2]=u[f+16>>2];q[e+112>>2]=g;q[e+116>>2]=d;hl(c,e+112|0);Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){break f}if(t[h+72>>2]>a>>>0){continue}break}J(19343,19355,77,19397);G()}g:{i=q[h+80>>2];if(!i){break g}a=0;while(1){g=q[h+76>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=4){q[e+32>>2]=d;q[e+36>>2]=q[59176];mi(4,14873,18608,e+32|0);break b}wi(c,d);d=q[f+8>>2];g=q[f+12>>2];j=q[f+20>>2];q[e+120>>2]=q[f+16>>2];q[e+124>>2]=j;q[e+112>>2]=d;q[e+116>>2]=g;mo(c,e+112|0);Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){break g}if(t[h+80>>2]>a>>>0){continue}break}J(19343,19355,85,19397);G()}h:{i=q[h+88>>2];if(!i){break h}a=0;while(1){g=q[h+84>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=5){q[e+16>>2]=d;q[e+20>>2]=q[59177];mi(4,14873,18608,e+16|0);break b}wi(c,d);d=q[f+8>>2];g=q[f+12>>2];j=q[f+20>>2];q[e+120>>2]=q[f+16>>2];q[e+124>>2]=j;q[e+112>>2]=d;q[e+116>>2]=g;Aq(c,e+112|0);Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){break h}if(t[h+88>>2]>a>>>0){continue}break}J(19343,19355,93,19397);G()}i=q[h+96>>2];if(!i){d=0;break a}a=0;while(1){g=q[h+92>>2]+(a<<5)|0;d=g;d=Pp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=6){q[e>>2]=d;q[e+4>>2]=q[59178];mi(4,14873,18608,e);break b}wi(c,d);d=r[f+8|0];g=q[c+8>>2];q[g+8>>2]=1;q[g>>2]=(d|0)!=0;q[c+8>>2]=q[c+8>>2]+16;Wi(c,-3);a=a+1|0;if((i|0)==(a|0)){d=0;break a}if(t[h+96>>2]>a>>>0){continue}break}J(19343,19355,101,19397);G()}J(19343,19355,69,19397);G()}d=-4}fi=e+192|0;return d}function Lw(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,t=0;j=fi-5520|0;fi=j;qi(j+2304|0,0,132);if((c|0)>=1){f=w(b,576)+a|0;while(1){g=s[(f+(e<<1)|0)+33170>>1];if(g){i=(j+1152|0)+(m<<2)|0;p[i+2>>1]=e;p[i>>1]=g;m=m+1|0}e=e+1|0;if((e|0)!=(c|0)){continue}break}}qi(j+3472|0,0,2048);a:{if(m){while(1){e=s[(j+1152|0)+(h<<2)>>1];f=(j+3472|0)+((e&255)<<2)|0;q[f>>2]=q[f>>2]+1;e=(j+3472|0)+((e>>>6|1024)&2044)|0;q[e>>2]=q[e>>2]+1;h=h+1|0;if((m|0)!=(h|0)){continue}break}e=q[j+4496>>2]==(m|0)?1:2;l=e>>>0>1?e:1;g=0;i=j+1152|0;e=j;while(1){f=e;n=(j+3472|0)+(k<<10)|0;e=0;h=0;while(1){t=h<<2;q[t+(j+2448|0)>>2]=e;e=q[n+t>>2]+e|0;h=h+1|0;if((h|0)!=256){continue}break}e=0;while(1){n=(e<<2)+i|0;t=(j+2448|0)+((s[n>>1]>>>g&255)<<2)|0;h=q[t>>2];q[t>>2]=h+1;h=(h<<2)+f|0;n=s[n>>1]|s[n+2>>1]<<16;p[h>>1]=n;p[h+2>>1]=n>>>16;e=e+1|0;if((m|0)!=(e|0)){continue}break}g=g+8|0;e=i;i=f;k=k+1|0;if((l|0)!=(k|0)){continue}break}break a}f=j}b:{c:{d:{switch(m|0){case 1:p[f>>1]=1;break c;case 0:break b;default:break d}}p[f>>1]=s[f>>1]+s[f+4>>1];h=m-1|0;g=2;e:{if((m|0)>2){l=0;e=1;while(1){k=(l<<2)+f|0;i=s[k>>1];f:{g:{if((g|0)<(m|0)){n=s[(g<<2)+f>>1];if(n>>>0<=i>>>0){break g}}p[(e<<2)+f>>1]=i;p[k>>1]=e;l=l+1|0;break f}p[(e<<2)+f>>1]=n;g=g+1|0}h:{i:{j:{if((g|0)>=(m|0)){i=s[(l<<2)+f>>1];break j}if((e|0)<=(l|0)){k=s[(g<<2)+f>>1];break i}i=s[(l<<2)+f>>1];k=s[(g<<2)+f>>1];if(i>>>0>=k>>>0){break i}}k=(e<<2)+f|0;p[k>>1]=s[k>>1]+i;p[(l<<2)+f>>1]=e;l=l+1|0;break h}i=(e<<2)+f|0;p[i>>1]=s[i>>1]+k;g=g+1|0}e=e+1|0;if((h|0)!=(e|0)){continue}break}k=m-2|0;p[(k<<2)+f>>1]=0;e=m-3|0;while(1){g=(e<<2)+f|0;p[g>>1]=s[(s[g>>1]<<2)+f>>1]+1;g=(e|0)>0;e=e-1|0;if(g){continue}break}break e}k=m-2|0;p[(k<<2)+f>>1]=0}i=0;l=1;while(1){k:{if((k|0)<0){e=0;break k}n=k+1|0;e=0;g=k;while(1){if(s[(g<<2)+f>>1]!=(i|0)){k=g;break k}g=g-1|0;t=(e|0)!=(k|0);e=e+1|0;if(t){continue}break}k=-1;e=n}if((e|0)<(l|0)){while(1){p[(h<<2)+f>>1]=i;h=h-1|0;l=l-1|0;if((l|0)>(e|0)){continue}break}}i=i+1|0;l=e<<1;if((e|0)>0){continue}break}if((m|0)<1){break b}}e=0;while(1){g=(j+2304|0)+(s[(e<<2)+f>>1]<<2)|0;q[g>>2]=q[g>>2]+1;e=e+1|0;if((m|0)!=(e|0)){continue}break}if((m|0)<2){break b}l:{m:{if((d|0)>=32){break m}g=(j+2304|0)+(d<<2)|0;h=q[g>>2];e=d;while(1){e=e+1|0;h=q[(j+2304|0)+(e<<2)>>2]+h|0;q[g>>2]=h;if((e|0)!=32){continue}break}i=0;if((d|0)>0){break m}k=1<>2]<1;e=e-1|0;if(g){continue}break}k=1<>2]=q[n>>2]-1;e=d;n:{while(1){g=e;if((e|0)<2){break n}e=g-1|0;h=(j+2304|0)+(e<<2)|0;l=q[h>>2];if(!l){continue}break}q[h>>2]=l-1;e=(j+2304|0)+(g<<2)|0;q[e>>2]=q[e>>2]+2}i=i-1|0;if((k|0)!=(i|0)){continue}break}}g=w(b,288)+a|0;qi(g+36626|0,0,288);qi((w(b,576)+a|0)+34898|0,0,576);l=1;if((d|0)>=1){while(1){e=q[(j+2304|0)+(l<<2)>>2];if((e|0)>=1){while(1){m=m-1|0;o[(g+s[((m<<2)+f|0)+2>>1]|0)+36626|0]=l;i=(e|0)>1;e=e-1|0;if(i){continue}break}}e=(d|0)!=(l|0);l=l+1|0;if(e){continue}break}}h=0;q[j+3476>>2]=0;if((d|0)>1){e=2;while(1){f=e<<2;h=q[(f+j|0)+2300>>2]+h<<1;q[f+(j+3472|0)>>2]=h;f=(d|0)==(e|0);e=e+1|0;if(!f){continue}break}}f=0;if((c|0)>0){d=w(b,288)+a|0;a=w(b,576)+a|0;while(1){e=r[(d+f|0)+36626|0];if(e){b=(j+3472|0)+(e<<2)|0;h=q[b>>2];q[b>>2]=h+1;m=0;while(1){m=h&1|m<<1;h=h>>>1|0;b=(e|0)>1;e=e-1|0;if(b){continue}break}p[(a+(f<<1)|0)+34898>>1]=m}f=f+1|0;if((f|0)!=(c|0)){continue}break}}fi=j+5520|0}function Cx(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=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,H=0;h=fi+ -64|0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){j=(h+32|0)+(s[(k<<1)+b>>1]<<1)|0;p[j>>1]=s[j>>1]+1;k=k+1|0;if((k|0)!=(c|0)){continue}break}k=q[e>>2];l=15;v=s[h+62>>1];if(v){break d}break e}k=q[e>>2]}l=14;v=0;if(s[h+60>>1]){break d}l=13;if(s[h+58>>1]){break d}l=12;if(s[h+56>>1]){break d}l=11;if(s[h+54>>1]){break d}l=10;if(s[h+52>>1]){break d}l=9;if(s[h+50>>1]){break d}l=8;if(s[h+48>>1]){break d}l=7;if(s[h+46>>1]){break d}l=6;if(s[h+44>>1]){break d}l=5;if(s[h+42>>1]){break d}l=4;if(s[h+40>>1]){break d}l=3;if(s[h+38>>1]){break d}l=2;if(s[h+36>>1]){break d}if(!s[h+34>>1]){a=q[d>>2];q[d>>2]=a+4;p[a>>1]=320;p[a+2>>1]=0;a=q[d>>2];q[d>>2]=a+4;p[a>>1]=320;p[a+2>>1]=0;q[e>>2]=1;break b}m=(k|0)!=0;l=1;k=1;break c}m=k>>>0>l>>>0?l:k;g=1;k=1;while(1){if(s[(h+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;t=s[h+34>>1];if(t>>>0>2){break a}u=s[h+36>>1];i=4-(u+(t<<1)|0)|0;if((i|0)<0){break a}w=s[h+38>>1];i=(i<<1)-w|0;if((i|0)<0){break a}x=s[h+40>>1];i=(i<<1)-x|0;if((i|0)<0){break a}z=s[h+42>>1];i=(i<<1)-z|0;if((i|0)<0){break a}A=s[h+44>>1];i=(i<<1)-A|0;if((i|0)<0){break a}D=s[h+46>>1];i=(i<<1)-D|0;if((i|0)<0){break a}E=s[h+48>>1];i=(i<<1)-E|0;if((i|0)<0){break a}B=s[h+50>>1];i=(i<<1)-B|0;if((i|0)<0){break a}G=s[h+52>>1];i=(i<<1)-G|0;if((i|0)<0){break a}H=s[h+54>>1];i=(i<<1)-H|0;if((i|0)<0){break a}n=s[h+56>>1];i=(i<<1)-n|0;if((i|0)<0){break a}C=s[h+58>>1];i=(i<<1)-C|0;if((i|0)<0){break a}F=s[h+60>>1];i=(i<<1)-F|0;if((i|0)<0){break a}i=(i<<1)-v|0;if((i|0)<0|(!a|g?i:0)){break a}j=0;p[h+2>>1]=0;p[h+4>>1]=t;g=t+u|0;p[h+6>>1]=g;g=g+w|0;p[h+8>>1]=g;g=g+x|0;p[h+10>>1]=g;g=g+z|0;p[h+12>>1]=g;g=g+A|0;p[h+14>>1]=g;g=g+D|0;p[h+16>>1]=g;g=g+E|0;p[h+18>>1]=g;g=g+B|0;p[h+20>>1]=g;g=g+G|0;p[h+22>>1]=g;g=g+H|0;p[h+24>>1]=g;g=g+n|0;p[h+26>>1]=g;g=g+C|0;p[h+28>>1]=g;p[h+30>>1]=g+F;if(c){while(1){g=s[(j<<1)+b>>1];if(g){g=(g<<1)+h|0;i=s[g>>1];p[g>>1]=i+1;p[(i<<1)+f>>1]=j}j=j+1|0;if((j|0)!=(c|0)){continue}break}}n=k>>>0>m>>>0?k:m;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:j=1;if(n>>>0>9){break a}z=180414;C=180350;t=256;E=1;break f;case 0:break f;default:break g}}z=181056;C=180992;D=(a|0)==2;t=-1;if((a|0)!=2){break f}j=1;if(n>>>0>9){break a}}u=1<>2];x=0;g=n;m=0;i=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=s[a+C>>1];a=r[a+z|0]}H=m>>>y|0;j=-1<>1]=g;o[B+1|0]=A;o[B|0]=a;if(c){continue}break}j=1<>>1|0;if(a&m){continue}break}c=(h+32|0)+(k<<1)|0;g=s[c>>1]-1|0;p[c>>1]=g;m=a?a+(a-1&m)|0:0;x=x+1|0;if(!(g&65535)){if((k|0)==(l|0)){break h}k=s[(s[(x<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=n>>>0){continue}a=m&G;if((a|0)==(i|0)){continue}break}y=y?y:n;g=k-y|0;v=1<>>0>>0){c=l-y|0;j=k;j:{while(1){j=v-s[(h+32|0)+(j<<1)>>1]|0;if((j|0)<1){break j}v=j<<1;g=g+1|0;j=y+g|0;if(l>>>0>j>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=q[d>>2];j=c+(a<<2)|0;o[j+1|0]=n;o[j|0]=g;w=(F<<2)+w|0;p[j+2>>1]=w-c>>>2;i=a;continue}break}if(m){a=(m<<2)+w|0;p[a+2>>1]=0;o[a+1|0]=A;o[a|0]=64}q[d>>2]=q[d>>2]+(u<<2);q[e>>2]=n}j=0}return j}function Pz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0;u=fi-16|0;fi=u;a:{b:{c:{if((b|0)!=65535){t=f+8|0;l=f+4|0;while(1){B=q[a+32>>2];i=(q[a+36>>2]-B|0)/576|0;m=b&65535;if(i>>>0<=m>>>0){break c}H=w(m,576);C=H+B|0;v=q[C+412>>2];d:{if(v&1048576){x=B+H|0;y=s[x+552>>1];j=s[x+554>>1];g=C;k=q[x+496>>2];h=q[x+500>>2];e:{if((k|0)!=q[213718]|(h|0)!=q[213719]){break e}while(1){b=s[g+560>>1];if((b|0)==65535){break e}if(b>>>0>=i>>>0){break c}g=w(b,576)+B|0;if((k|0)==q[g+496>>2]&(h|0)==q[g+500>>2]){continue}break}}z=j|y<<16;n=s[g+504>>1];g=n;f:{h=s[x+570>>1];if((h|0)==65535){break f}b=q[e>>2];if(h>>>0>=(q[e+4>>2]-b|0)/24>>>0){break c}j=b+w(h,24)|0;if((m|0)!=s[j+20>>1]){break f}p[u+12>>1]=c;q[u+8>>2]=1;g:{if(!d){m=1;c=c+1|0;b=u+8|0;break g}b=s[d>>1];m=b>>>0<255?b+1|0:255;p[d>>1]=m;b=d}i=b;k=s[i+4>>1];b=s[i+2>>1];Pz(a,s[x+562>>1],2,i,e,f);A=0;v=b<<6;D=k<<25;y=k>>>7|0;b=m&65535;h=b>>>15|0;E=b<<17;k=h;m=g<<13;b=g>>>19|0;if(n){h=s[i+2>>1]<<6;b=b|h;g=s[i+4>>1];h=g>>>7|0;g=m|g<<25;b=b|h;m=g;g=s[i>>1];h=g>>>15|0;n=m|g<<17;g=b|h}else{n=E|(D|(m|A));g=k|(y|(b|v))}b=g;h=n|1;q[j+8>>2]=h;q[j+12>>2]=g;g=q[l>>2];j=q[t>>2];if((g|0)==(j|0)){if(o[f+12|0]&1){break b}vi((g-q[f>>2]>>4)+16|0,16,f,t,l);j=q[f+8>>2];g=q[f+4>>2]}if((g|0)==(j|0)){break a}q[l>>2]=g+16;q[g+12>>2]=0;q[g+8>>2]=z;q[g>>2]=E|(A|D);q[g+4>>2]=k|(v|y);if(r[C+415|0]&2){g=q[l>>2];j=q[t>>2];if((g|0)==(j|0)){if(o[f+12|0]&1){break b}vi((g-q[f>>2]>>4)+16|0,16,f,t,l);j=q[f+8>>2];g=q[f+4>>2]}if((g|0)==(j|0)){break a}q[l>>2]=g+16;q[g+12>>2]=0;q[g+8>>2]=z;q[g>>2]=h;q[g+4>>2]=b}if(d){b=s[i>>1];p[i>>1]=b>>>0<255?b+1|0:255}b=s[x+558>>1];break d}h:{if((v&240)==80){k=q[a+232>>2];b=q[a+228>>2];h=k-b|0;if(!h){break h}h=(h|0)/12|0;if((b|0)!=(k|0)){D=h>>>0>1?h:1;E=0;C=g<<6;m=g<<13;k=g>>>19|0;n=0;while(1){F=w(n,12)+b|0;i:{if(q[F+8>>2]!=(z|0)){break i}A=$5(q[a+192>>2],q[F>>2]);if(!A){break i}b=0;if(!d){while(1){$y(q[a+192>>2],q[F>>2],b,u+4|0);h=q[u+4>>2];if(h){g=q[l>>2];i=q[t>>2];if((g|0)==(i|0)){if(o[f+12|0]&1){break b}vi((g-q[f>>2]>>4)+16|0,16,f,t,l);i=q[f+8>>2];g=q[f+4>>2]}if((g|0)==(i|0)){break a}q[l>>2]=g+16;q[g+12>>2]=h;q[g+8>>2]=z;h=c&65535;j=h>>>7|0;q[g>>2]=E|h<<25;q[g+4>>2]=j|C;c=c+1|0}b=b+1|0;if((A|0)!=(b|0)){continue}break i}}while(1){$y(q[a+192>>2],q[F>>2],b,u+4|0);j=q[u+4>>2];if(j){h=s[d+2>>1];v=s[d+4>>1];y=s[d>>1];g=q[l>>2];i=q[t>>2];if((g|0)==(i|0)){if(o[f+12|0]&1){break b}vi((g-q[f>>2]>>4)+16|0,16,f,t,l);i=q[f+8>>2];g=q[f+4>>2]}if((g|0)==(i|0)){break a}q[l>>2]=g+16;q[g+12>>2]=j;q[g+8>>2]=z;i=h<<6|k;q[g>>2]=m|c&65535|v<<25|y<<17;q[g+4>>2]=v>>>7|i|y>>>15;c=c+1|0}b=b+1|0;if((A|0)!=(b|0)){continue}break}}n=n+1|0;if((D|0)==(n|0)){break h}b=q[a+228>>2];if((q[a+232>>2]-b|0)/12>>>0>n>>>0){continue}break}}break c}j:{if(d){h=g>>>19|0;g=c&65535|g<<13;b=s[d+2>>1]<<6|h;i=g;g=s[d+4>>1];h=g>>>7|0;i=i|g<<25;g=s[d>>1];j=g>>>15|0;k=i|g<<17;h=j|(b|h);break j}h=g<<6;g=0;b=h;i=g;g=c&65535;h=g>>>7|0;k=i|g<<25;h=b|h}b=q[l>>2];g=q[t>>2];if((b|0)==(g|0)){if(o[f+12|0]&1){break b}vi((b-q[f>>2]>>4)+16|0,16,f,t,l);g=q[f+8>>2];b=q[f+4>>2]}if((b|0)==(g|0)){break a}c=c+1|0;q[l>>2]=b+16;q[b+12>>2]=0;q[b+8>>2]=z;q[b>>2]=k;q[b+4>>2]=h}c=Pz(a,s[x+562>>1],c&65535,d,e,f)}b=s[(B+H|0)+558>>1]}if((b&65535)!=65535){continue}break}}fi=u+16|0;return c&65535}J(186773,186599,447,186784);G()}J(187176,186599,461,186335);G()}J(186744,186599,501,186768);G()}function Eva(){var a=0;q[213718]=li(184109);q[213719]=ii;q[213720]=li(184109);q[213721]=ii;a=li(184112);o[854908]=255;q[213726]=0;q[213724]=a;q[213725]=ii;a=li(184121);o[854924]=0;q[213730]=0;q[213728]=a;q[213729]=ii;a=li(184132);o[854940]=1;q[213734]=0;q[213732]=a;q[213733]=ii;a=li(184143);o[854956]=2;q[213738]=0;q[213736]=a;q[213737]=ii;a=li(184154);o[854972]=3;q[213742]=0;q[213740]=a;q[213741]=ii;a=li(184165);o[854988]=255;q[213746]=1;q[213744]=a;q[213745]=ii;a=li(184174);o[855004]=0;q[213750]=1;q[213748]=a;q[213749]=ii;a=li(184185);o[855020]=1;q[213754]=1;q[213752]=a;q[213753]=ii;a=li(184196);o[855036]=2;q[213758]=1;q[213756]=a;q[213757]=ii;a=li(184207);o[855052]=3;q[213762]=1;q[213760]=a;q[213761]=ii;a=li(184218);o[855068]=255;q[213766]=2;q[213764]=a;q[213765]=ii;a=li(184224);o[855084]=0;q[213770]=2;q[213768]=a;q[213769]=ii;a=li(184232);o[855100]=1;q[213774]=2;q[213772]=a;q[213773]=ii;a=li(184240);o[855116]=2;q[213778]=2;q[213776]=a;q[213777]=ii;a=li(184248);o[855132]=3;q[213782]=2;q[213780]=a;q[213781]=ii;a=li(184256);o[855148]=255;q[213786]=3;q[213784]=a;q[213785]=ii;a=li(184262);o[855164]=0;q[213790]=3;q[213788]=a;q[213789]=ii;a=li(184270);o[855180]=1;q[213794]=3;q[213792]=a;q[213793]=ii;a=li(184278);o[855196]=2;q[213798]=3;q[213796]=a;q[213797]=ii;a=li(184286);o[855212]=3;q[213802]=3;q[213800]=a;q[213801]=ii;a=li(184294);o[855228]=255;q[213806]=4;q[213804]=a;q[213805]=ii;a=li(184299);o[855244]=0;q[213810]=4;q[213808]=a;q[213809]=ii;a=li(184306);o[855260]=1;q[213814]=4;q[213812]=a;q[213813]=ii;a=li(184313);o[855276]=2;q[213818]=4;q[213816]=a;q[213817]=ii;a=li(184320);o[855292]=3;q[213822]=4;q[213820]=a;q[213821]=ii;a=li(184327);o[855308]=255;q[213826]=5;q[213824]=a;q[213825]=ii;a=li(184335);o[855324]=0;q[213830]=5;q[213828]=a;q[213829]=ii;a=li(184345);o[855340]=1;q[213834]=5;q[213832]=a;q[213833]=ii;a=li(184355);o[855356]=2;q[213838]=5;q[213836]=a;q[213837]=ii;a=li(184365);o[855372]=3;q[213842]=5;q[213840]=a;q[213841]=ii;a=li(184375);o[855388]=255;q[213846]=6;q[213844]=a;q[213845]=ii;a=li(184382);o[855404]=0;q[213850]=6;q[213848]=a;q[213849]=ii;a=li(184391);o[855420]=1;q[213854]=6;q[213852]=a;q[213853]=ii;a=li(184400);o[855436]=2;q[213858]=6;q[213856]=a;q[213857]=ii;a=li(184409);o[855452]=3;q[213862]=6;q[213860]=a;q[213861]=ii;a=li(184418);o[855468]=255;q[213866]=7;q[213864]=a;q[213865]=ii;a=li(184425);o[855484]=0;q[213870]=7;q[213868]=a;q[213869]=ii;a=li(184434);o[855500]=1;q[213874]=7;q[213872]=a;q[213873]=ii;a=li(184443);o[855516]=2;q[213878]=7;q[213876]=a;q[213877]=ii;a=li(184452);o[855532]=3;q[213882]=7;q[213880]=a;q[213881]=ii;a=li(184461);o[855548]=0;q[213886]=8;q[213884]=a;q[213885]=ii;a=li(184474);o[855564]=1;q[213890]=8;q[213888]=a;q[213889]=ii;a=li(184485);o[855580]=0;q[213894]=9;q[213892]=a;q[213893]=ii;a=li(184493);o[855596]=1;q[213898]=9;q[213896]=a;q[213897]=ii;a=li(184112);o[855612]=255;q[213902]=0;q[213900]=a;q[213901]=ii;a=li(184165);o[855628]=255;q[213906]=1;q[213904]=a;q[213905]=ii;a=li(184218);o[855644]=255;q[213910]=2;q[213908]=a;q[213909]=ii;a=li(184256);o[855660]=255;q[213914]=3;q[213912]=a;q[213913]=ii;a=li(184294);o[855676]=255;q[213918]=4;q[213916]=a;q[213917]=ii;a=li(184327);o[855692]=255;q[213922]=5;q[213920]=a;q[213921]=ii;a=li(184375);o[855708]=255;q[213926]=6;q[213924]=a;q[213925]=ii;a=li(184502);o[855724]=255;q[213930]=7;q[213928]=a;q[213929]=ii}function AF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,v=0,x=0,y=0;m=fi-48|0;fi=m;vj(a,f,5);if(r[b+24|0]){while(1){j=q[b+20>>2]+w(x,20)|0;wi(a,q[j>>2]);gl(a,f);a:{if(!ri(a,-1)){h=q[j+4>>2];if((h&-268435456)==268435456){i=q[j+16>>2];if(i){DF(a,j,c,d,e,i,g);break a}if((h&264241152)==46137344){h=q[j+8>>2];i=r[h+24|0];if(!i){break a}j=q[j+12>>2]+c|0;n=0;while(1){k=q[h+20>>2]+w(n,20)|0;p=q[k+16>>2];if(p){DF(a,k,j,d,e,p,j);i=r[h+24|0]}n=n+1|0;if(i>>>0>n>>>0){continue}break}break a}b:{c:{d:{e:{f:{g:{h:{i:{h=h>>>22&63;switch(h-2|0){case 12:break c;case 7:break d;case 0:break e;case 6:break f;case 2:break g;case 11:break h;case 3:break i;default:break b}}q[q[j+12>>2]+c>>2]=0;break a}q[q[j+12>>2]+c>>2]=0;break a}h=q[j+12>>2]+c|0;q[h>>2]=0;q[h+4>>2]=0;break a}o[q[j+12>>2]+c|0]=0;break a}q[q[j+12>>2]+c>>2]=0;break a}h=q[d>>2];j:{if(t[e>>2]>>0){ni(a,112477,0);break j}o[h|0]=0;q[q[j+12>>2]+c>>2]=q[d>>2]-g}q[d>>2]=q[d>>2]+1;break a}q[q[j+12>>2]+c>>2]=0;break a}q[m+4>>2]=q[j>>2];q[m>>2]=h;ni(a,112553,m);break a}q[m+16>>2]=q[j>>2];ni(a,112445,m+16|0);break a}i=q[j+12>>2]+c|0;k=ri(a,-1);n=0;s=1;y=(q[j+4>>2]&-268435456)!=805306368;k:{if(y){h=i;p=0;break k}vj(a,-1,5);p=4;l:{m:{switch((q[j+4>>2]>>>22&63)-2|0){case 6:p=1;break l;case 9:p=q[q[j+8>>2]+16>>2];break l;default:J(112601,112607,215,112629);G();case 0:case 3:case 7:case 11:case 12:break l;case 2:break m}}p=8}s=wl(a,-1);h=q[d>>2]+15&-16;q[d>>2]=h;l=w(p,s)+h|0;if(l>>>0>t[e>>2]){ni(a,112643,0);break a}q[i+4>>2]=s;q[i>>2]=h-c;q[d>>2]=l;if(!s){break a}}while(1){if(!y){Xi(a,-1,n+1|0)}n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{i=q[j+4>>2]>>>22&63;switch(i-2|0){case 9:break q;case 12:break r;case 7:break s;case 0:break t;case 6:break u;case 2:break v;case 11:break w;case 3:break x;default:break p}}if(!k){q[h>>2]=0;break n}q[h>>2]=gj(a,-1);break n}if(!k){q[h>>2]=0;break n}q[h>>2]=gj(a,-1);break n}if(!k){q[h>>2]=0;q[h+4>>2]=0;break n}q[h>>2]=Qk(a,-1);q[h+4>>2]=ii;break n}if(!k){o[h|0]=0;break n}o[h|0]=(Fj(a,-1)|0)!=0;break n}if(!k){q[h>>2]=0;break n}u[h>>2]=Ai(a,-1);break n}if(k){i=Ni(a,-1,0)}else{i=112552}v=q[d>>2];l=Fi(i)+1|0;y:{if(v+l>>>0>t[e>>2]){ni(a,112477,0);break y}si(v,i,l);q[h>>2]=q[d>>2]-g}q[d>>2]=l+q[d>>2];break n}if(!k){q[h>>2]=0;break n}q[h>>2]=gj(a,-1);break n}if(!k){break n}l=q[j+8>>2];i=q[l+4>>2];if(!uk(i,112336,8)){break o}if(!uk(i,112344,7)){i=il(a,-1);l=q[i+4>>2];v=q[i>>2];u[h+8>>2]=u[i+8>>2];q[h>>2]=v;q[h+4>>2]=l;break n}if(!uk(i,112351,8)){i=tm(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];break n}if(!uk(i,112359,5)){i=Dq(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];break n}if(!uk(i,112364,8)){i=no(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];u[h+16>>2]=u[i+16>>2];u[h+20>>2]=u[i+20>>2];u[h+24>>2]=u[i+24>>2];u[h+28>>2]=u[i+28>>2];u[h+32>>2]=u[i+32>>2];u[h+36>>2]=u[i+36>>2];u[h+40>>2]=u[i+40>>2];u[h+44>>2]=u[i+44>>2];u[h+48>>2]=u[i+48>>2];u[h+52>>2]=u[i+52>>2];u[h+56>>2]=u[i+56>>2];u[h+60>>2]=u[i+60>>2];break n}AF(a,l,h,d,e,q[a+8>>2]-q[a+12>>2]>>4,g);break n}q[m+36>>2]=q[j>>2];q[m+32>>2]=i;ni(a,112380,m+32|0);break n}i=il(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2]}if(!y){oi(a,-2);h=h+p|0}n=n+1|0;if((s|0)!=(n|0)){continue}break}}oi(a,-2);x=x+1|0;if(x>>>0>2]=0}d:{e:{f:{d=0;g:{if((b|0)<0){break g}k=a+155708|0;while(1){h:{i:{j:{j=b&65535;b=(j<<6)+a|0;d=b+88168|0;switch(q[d>>2]+17|0){case 1:break i;case 0:break j;default:break h}}k:{if(o[292068]&1){break k}if(!ui(292068)){break k}if(r[852367]){c=Ri(29243)}else{c=-1}q[73016]=c;ti(292068)}l:{if(o[292076]&1){break l}if(!ui(292076)){break l}if(r[852367]){c=Yi(29872,23)}else{c=0}q[73018]=c;ti(292076)}c=q[73016];m:{if((c|0)!=-1){Qi(f+48|0,c,29872,q[73018]);break m}q[f+48>>2]=0}i=b+88172|0;if(q[i>>2]){break f}l=b+88120|0;n:{if(!q[l>>2]){q[d>>2]=-7;d=s[b+88144>>1];if((d|0)!=65535){c=((d<<16>>16<<6)+a|0)+88150|0;g=s[c>>1];if(!g){break d}p[c>>1]=g-1}d=mu(a,d);break n}h=b+88112|0;g=b+88152|0;c=q[g>>2];if(c){if((E6(q[a+155700>>2],c,f+44|0,f+40|0,f+24|0)|0)==-1){d=0;break n}o[a+173492|0]=0;c=q[f+40>>2];j=q[f+44>>2];SF(a);o:{p:{e=q[f+24>>2];if(e){break p}e=q[f+28>>2];if(e){break p}e=q[d>>2];break o}q[d>>2]=e}q:{if((e|0)==-17){break q}Dy(a,h);e=p[b+88144>>1];if((e|0)==-1){break q}e=((e<<6)+a|0)+88150|0;i=s[e>>1];if(!i){break d}p[e>>1]=i-1}q[b+88164>>2]=q[f+32>>2];if(s[b+88146>>1]==65535){d=q[d>>2];if((d|0)==-17){YF(a,h,j,c)}r:{c=q[a+155712>>2];s:{if(!c){break s}e=b+88136|0;h=q[e>>2];e=q[e+4>>2];c=q[q[k>>2]+(lwa(h,e,c)<<2)>>2];if((c|0)==-1){break s}d=(d|0)==-17;j=q[a+155716>>2];while(1){c=j+(c<<4)|0;if((h|0)==q[c>>2]&(e|0)==q[c+4>>2]){break r}c=q[c+12>>2];if((c|0)!=-1){continue}break}}J(30222,29361,301,30268);G()}QH(k,h,e);c=q[g>>2];q[q[a+155700>>2]+28>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[g>>2]=0;mu(a,s[b+88144>>1]);break n}d=Oqa(q[a+173488>>2],c);q[b+88156>>2]=d;si(d,j,c);q[b+88160>>2]=c;d=q[g>>2];q[q[a+155700>>2]+28>>2]=0;q[d>>2]=0;q[d+4>>2]=0;d=0;q[g>>2]=0;break n}if(q[b+88156>>2]){d=RF(a,p[b+88146>>1]);break n}e=b+88136|0;c=e;c=ou(q[a+155704>>2],q[c>>2],q[c+4>>2]);if(c){q[c+28>>2]=q[c+28>>2]+1;q[i>>2]=q[c+8>>2];q[d>>2]=0;Dy(a,h);d=s[b+88144>>1];if((d|0)!=65535){c=((d<<16>>16<<6)+a|0)+88150|0;g=s[c>>1];if(!g){break d}p[c>>1]=g-1}d=mu(a,d);break n}d=0;if(r[a+173492|0]){break n}c=q[a+155712>>2];t:{if(!c){break t}i=q[e>>2];m=q[e+4>>2];c=q[q[a+155708>>2]+(lwa(i,m,c)<<2)>>2];if((c|0)==-1){break t}n=q[a+155716>>2];while(1){c=n+(c<<4)|0;if((i|0)==q[c>>2]&(m|0)==q[c+4>>2]){break n}c=q[c+12>>2];if((c|0)!=-1){continue}break}}q[f+28>>2]=a;q[f+32>>2]=j;d=q[l>>2];q[f+24>>2]=q[d+16>>2];q[f+36>>2]=q[d+12>>2];h=G6(q[a+155700>>2],q[h>>2],q[b+88116>>2],f+24|0);q[g>>2]=h;u:{if(h){d=q[e>>2];g=q[e+4>>2];c=q[a+155712>>2];v:{if(!c){break v}c=q[q[k>>2]+(lwa(d,g,c)<<2)>>2];if((c|0)==-1){break v}e=q[a+155716>>2];while(1){c=e+(c<<4)|0;if((d|0)==q[c>>2]&(g|0)==q[c+4>>2]){break e}c=q[c+12>>2];if((c|0)!=-1){continue}break}}o[f+44|0]=1;X7(k,d,g,f+44|0);break u}o[a+173492|0]=1}d=(h|0)!=0}if(q[f+48>>2]){Pi(f+48|0)}if(!d){break h}d=1;break g}if(!mu(a,s[b+88144>>1])){break h}d=1;break g}b=p[b+88148>>1];if((b|0)>-1){continue}break}d=0}if(q[f+8>>2]){Pi(f+8|0)}fi=f- -64|0;return d}J(29896,29361,786,29872);G()}J(30541,29361,294,30587);G()}J(29913,29361,318,29973);G()}function dR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=fi-160|0;fi=h;c=q[a>>2];while(1){g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];a:{if(e>>>0<=d>>>0){d=q[g>>2];break a}if(d>>>0>=2147483646){Bk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+72>>2]=127014;q[h+68>>2]=e;q[h+64>>2]=h+80;Oi(d,126991,h- -64|0);oj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;b:{if((f|0)!=-2){d=dj(e,q[g>>2],d,f);break b}d=Rj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;c:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break c}c=mk(c)}q[d>>2]=c;if((c|0)==46|c-48>>>0<10){continue}break}d:{if(!eq(127218,c,3)){break d}g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];e:{if(e>>>0<=d>>>0){d=q[g>>2];break e}if(d>>>0>=2147483646){Bk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+56>>2]=127014;q[h+52>>2]=e;q[h+48>>2]=h+80;Oi(d,126991,h+48|0);oj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;f:{if((f|0)!=-2){d=dj(e,q[g>>2],d,f);break f}d=Rj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;g:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break g}c=mk(c)}q[d>>2]=c;d=c&255;if(d>>>0>63){break d}e=d&31;if((d&63)>>>0>=32){d=1<>>32-e;e=1<>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];h:{if(e>>>0<=d>>>0){d=q[g>>2];break h}if(d>>>0>=2147483646){Bk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+40>>2]=127014;q[h+36>>2]=e;q[h+32>>2]=h+80;Oi(d,126991,h+32|0);oj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;i:{if((f|0)!=-2){d=dj(e,q[g>>2],d,f);break i}d=Rj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;j:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break j}c=mk(c)}q[d>>2]=c}if(!(((c|32)-97>>>0<26?1:c-48>>>0<10)?0:(c|0)!=95)){while(1){g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];k:{if(e>>>0<=d>>>0){d=q[g>>2];break k}if(d>>>0>=2147483646){Bk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+24>>2]=127014;q[h+20>>2]=e;q[h+16>>2]=h+80;Oi(d,126991,h+16|0);oj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;l:{if((f|0)!=-2){d=dj(e,q[g>>2],d,f);break l}d=Rj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;m:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break m}c=mk(c)}q[d>>2]=c;if((c|0)==95|((c|32)-97>>>0<26?1:c-48>>>0<10)){continue}break}}d=q[a+60>>2];c=q[d+4>>2];f=c+1|0;e=q[d+8>>2];n:{if(f>>>0<=e>>>0){e=q[d>>2];break n}if(e>>>0>=2147483646){Bk(h+80|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];e=q[a+4>>2];q[h+8>>2]=127014;q[h+4>>2]=e;q[h>>2]=h+80;Oi(c,126991,h);oj(q[a+52>>2],3);e=q[d+8>>2]}c=q[a+52>>2];f=e<<1;o:{if((f|0)!=-2){e=dj(c,q[d>>2],e,f);break o}e=Rj(c)}q[d+8>>2]=f;q[d>>2]=e;c=q[d+4>>2];f=c+1|0}q[d+4>>2]=f;o[c+e|0]=0;c=q[a+60>>2];d=q[c>>2];c=q[c+4>>2];if(c){e=r[a+68|0];while(1){c=c-1|0;f=d+c|0;if(r[f|0]==46){o[f|0]=e}if(c){continue}break}d=q[q[a+60>>2]>>2]}p:{if(xl(d,b)){break p}e=r[a+68|0];f=r[q[52787]];o[a+68|0]=f;c=q[a+60>>2];d=q[c>>2];c=q[c+4>>2];if(c){while(1){c=c-1|0;g=d+c|0;if((e|0)==r[g|0]){o[g|0]=f}if(c){continue}break}d=q[q[a+60>>2]>>2]}if(xl(d,b)){break p}b=q[a+60>>2];c=q[b+4>>2];if(c){b=q[b>>2];d=r[a+68|0];while(1){c=c-1|0;e=b+c|0;if((d|0)==r[e|0]){o[e|0]=46}if(c){continue}break}}Kl(a,127221,284)}fi=h+160|0}function TJ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0;h=fi-112|0;fi=h;a:{b:{c:{if(rj(c,d,q[62156],e+164|0)){break c}q[e+128>>2]=li(q[q[e+164>>2]+20>>2]);q[e+132>>2]=ii;d:{e:{f:{d=q[q[e+164>>2]+28>>2];g:{h:{if(d>>>0>=17){q[h+80>>2]=f;mi(3,55222,55230,h+80|0);d=16;break h}if(!d){break g}}while(1){c=q[e+164>>2];if(t[c+28>>2]<=g>>>0){break f}f=(g<<3)+e|0;q[f>>2]=li(q[q[c+24>>2]+(g<<2)>>2]);q[f+4>>2]=ii;g=g+1|0;if((g|0)!=(d|0)){continue}break}}c=q[e+164>>2];i=q[c+36>>2];n=q[c+32>>2];d=q[c>>2];if(!d|!r[d|0]){break d}if(Ij(b,d,h+96|0)){break d}if(jl(b,55335,h+92|0)){break d}if(nu(b,q[h+96>>2],h+88|0)|q[h+88>>2]!=q[h+92>>2]){break d}g=q[h+96>>2];q[e+136>>2]=g;d=q[e+160>>2]|-2147483648;q[e+160>>2]=d;l=q[g+12>>2];m=q[g+8>>2];b=l-m|0;j=b>>2;f=j+i|0;q[e+144>>2]=xi(f<<2);f=f<<4;q[e+148>>2]=xi(f);q[e+152>>2]=xi(f);if(!b){break e}f=q[g+8>>2];if((f|0)!=q[g+12>>2]){d=m-l|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;g=0;while(1){b=g<<2;q[b+q[e+144>>2]>>2]=q[b+f>>2];f=g<<4;b=f+q[e+148>>2]|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=f+q[e+152>>2]|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;g=g+1|0;if((d|0)==(g|0)){d=q[e+160>>2];break e}b=q[e+136>>2];f=q[b+8>>2];if(q[b+12>>2]-f>>2>>>0>g>>>0){continue}break}}J(55566,55577,447,55428);G()}J(55380,55392,116,55428);G()}q[e+156>>2]=j;q[e+160>>2]=d&-2147483648|j&2147483647}i:{if(!n){c=q[e+160>>2];break i}g=r[a+13|0];j:{if(g){q[e+140>>2]=xi(i<<2);a=i<<4;q[e+148>>2]=xi(a);q[e+152>>2]=xi(a);f=q[e+160>>2];break j}f=q[e+160>>2];if((f|0)<0){break j}q[e+144>>2]=xi(i<<2);a=i<<4;q[e+148>>2]=xi(a);q[e+152>>2]=xi(a)}d=f&2147483647;if(i){f=0;if(g&255){if(t[c+36>>2]<=f>>>0){break b}a=q[c+44>>2];g=q[c+40>>2];k:{l:{m:{n:{o:{p:{q:{b=q[c+32>>2]+(f<<6)|0;c=q[b>>2];switch(c|0){case 3:break n;case 2:break o;case 1:break p;case 0:break q;default:break m}}if(a>>>0>2]+1>>>0){break l}break k}b=q[b+48>>2];if(a>>>0>>0){break l}a=g+(b<<2)|0;k=u[a+8>>2];b=q[a+4>>2];q[h+96>>2]=q[a>>2];q[h+100>>2]=b;u[h+104>>2]=k;break k}if(a>>>0>2]+2>>>0){break l}break k}c=q[b+52>>2];b=q[b+48>>2];if(a>>>0>>0){break l}if(a>>>0<=b>>>0){break a}break k}q[h+48>>2]=c;mi(4,55222,55439,h+48|0);break k}q[h+64>>2]=f;mi(4,55222,55477,h- -64|0)}q[e+160>>2]=q[e+160>>2]&-2147483648|d&2147483647;g=0;break c}if(t[c+36>>2]<=f>>>0){break b}b=q[c+44>>2];i=q[c+40>>2];r:{s:{t:{u:{v:{w:{x:{a=q[c+32>>2]+(f<<6)|0;c=q[a>>2];switch(c|0){case 3:break u;case 2:break v;case 1:break w;case 0:break x;default:break t}}if(b>>>0>2]+1>>>0){break s}break r}a=q[a+48>>2];if(b>>>0>>0){break s}a=i+(a<<2)|0;k=u[a+8>>2];b=q[a+4>>2];q[h+96>>2]=q[a>>2];q[h+100>>2]=b;u[h+104>>2]=k;break r}q[h+32>>2]=55532;mi(4,55222,55529,h+32|0);break r}c=q[a+52>>2];if(b>>>0>2]>>>0){break s}g=c<<1;c=(g>>>0)/3|0;f=Ci((c|0)!=(c&1073741823)?-1:c<<2);if(g>>>0>=3){c=c>>>0>1?c:1;a=q[a+48>>2];g=0;while(1){j=(a+(g&1)|0)+w(g>>>1|0,3)|0;if(j>>>0>=b>>>0){break a}u[f+(g<<2)>>2]=u[i+(j<<2)>>2];g=g+1|0;if((c|0)!=(g|0)){continue}break}}ki(f);break r}q[h>>2]=c;mi(4,55222,55439,h);break r}q[h+16>>2]=f;mi(4,55222,55477,h+16|0)}q[e+160>>2]=q[e+160>>2]&-2147483648|d&2147483647;g=0;break c}c=q[e+160>>2]&-2147483648|d&2147483647;q[e+160>>2]=c}g=1;if(c&2147483647){break c}g=0;mi(4,55222,55344,0)}fi=h+112|0;return g}J(55380,55392,87,55428);G()}J(55380,55392,95,55428);G()}function ota(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,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,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;j=fi-16|0;fi=j;C=j|12;D=j|8;E=j|4;while(1){zta(a,j,A);f=r[Cj(j,0)|0];h=r[Cj(j,1)|0];i=r[Cj(j,2)|0];d=r[Cj(E,0)|0];f=(w(h,183)+w(f,54)|0)+w(i,19)|0;h=(w(r[Cj(E,1)|0],183)+w(d,54)|0)+w(r[Cj(E,2)|0],19)|0;f=f+h|0;i=r[Cj(D,0)|0];i=(w(r[Cj(D,1)|0],183)+w(i,54)|0)+w(r[Cj(D,2)|0],19)|0;h=i+h|0;d=r[Cj(C,0)|0];i=i+((w(r[Cj(C,1)|0],183)+w(d,54)|0)+w(r[Cj(C,2)|0],19)|0)|0;d=A<<1;a:{if(!(o[a+3|0]&1)){e=d<<2;d=e+b|0;z=$i(d,0);k=$i(d,1);l=$i(d,2);g=d+16|0;m=$i(g,0);n=$i(g,1);q=$i(g,2);g=d+32|0;s=$i(g,0);t=$i(g,1);u=$i(g,2);d=d+48|0;v=$i(d,0);x=$i(d,1);y=$i(d,2);d=(e|4)+b|0;F=$i(d,0);G=$i(d,1);H=$i(d,2);g=d+16|0;I=$i(g,0);J=$i(g,1);K=$i(g,2);g=d+32|0;L=$i(g,0);M=$i(g,1);N=$i(g,2);g=d+48|0;O=$i(g,0);d=A<<3;e=d|1;P=c;c=(w(k,366)+w(z,108)|0)+w(l,38)|0;z=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];c=(w(n,366)+w(m,108)|0)+w(q,38)|0;k=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];c=(w(t,366)+w(s,108)|0)+w(u,38)|0;l=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];m=d|2;c=(w(x,366)+w(v,108)|0)+w(y,38)|0;n=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];q=d|3;c=(w(G,366)+w(F,108)|0)+w(H,38)|0;s=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];t=d|4;c=(w(J,366)+w(I,108)|0)+w(K,38)|0;u=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];v=d|5;c=(w(M,366)+w(L,108)|0)+w(N,38)|0;x=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];y=d|6;c=f;f=(w($i(g,1),366)+w(O,108)|0)+w($i(g,2),38)|0;f=r[(((c>>>0>f>>>0)+(f>>>0>>0)|0)+(f>>>0>>0)|0)+96750|0];h=d|7;c=P|z>>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];c=(w(q,366)+w(n,108)|0)+w(s,38)|0;l=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];m=d+4|0;c=(w(u,366)+w(t,108)|0)+w(v,38)|0;n=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];q=d+8|0;c=(w(y,366)+w(x,108)|0)+w(F,38)|0;s=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];t=d+12|0;c=(w(H,366)+w(G,108)|0)+w(I,38)|0;u=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];c=(w(K,366)+w(J,108)|0)+w(L,38)|0;v=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];c=(w(N,366)+w(M,108)|0)+w(O,38)|0;x=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+96750|0];y=g+8|0;c=f;f=(w($i(e,1),366)+w(Q,108)|0)+w($i(e,2),38)|0;f=r[(((c>>>0>f>>>0)+(f>>>0>>0)|0)+(f>>>0>>0)|0)+96750|0];h=g+12|0;c=P|k>>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>8;p[a+6>>1]=(B<<8&16711680|B<<24)>>>16;fi=j+16|0}function kX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{switch(b|0){case 13:qm(a,d);i=q[c+20>>2];if((i|0)==-1){break a}b=q[d+20>>2];if((b|0)==-1){break d}h=q[q[a>>2]+12>>2];while(1){e=b;g=h+(b<<2)|0;f=q[g>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;h=i+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){xj(q[a+12>>2],127273);f=q[g>>2]}q[b>>2]=(f&16383|h<<14)+2147467264;break a;case 14:qm(a,d);i=q[c+16>>2];if((i|0)==-1){break a}b=q[d+16>>2];if((b|0)==-1){break c}h=q[q[a>>2]+12>>2];while(1){e=b;g=h+(b<<2)|0;f=q[g>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;h=i+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){xj(q[a+12>>2],127273);f=q[g>>2]}q[b>>2]=(f&16383|h<<14)+2147467264;break a;case 6:f:{if(q[d+16>>2]!=q[d+20>>2]){Xm(a,d);break f}qm(a,d)}g:{if(q[d>>2]!=11){break g}f=q[q[a>>2]+12>>2];e=q[d+8>>2];g=q[f+(e<<2)>>2];if((g&63)!=21){break g}h:{if(q[c>>2]!=12){break h}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1;e=q[d+8>>2];g=q[f+(e<<2)>>2]}q[f+(e<<2)>>2]=g&8388607|q[c+8>>2]<<23;q[c>>2]=11;q[c+8>>2]=q[d+8>>2];return}qm(a,d);i:{if(q[d>>2]!=12){break i}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];f=e+1|0;g=q[a>>2];j:{if((e|0)=249){xj(q[a+12>>2],127238);g=q[a>>2];b=q[a+36>>2]+1|0}o[g+75|0]=f}q[a+36>>2]=b;vq(a,d,b-1|0);to(a,21,c,d);return;case 0:to(a,12,c,d);return;case 1:to(a,13,c,d);return;case 2:to(a,14,c,d);return;case 3:to(a,15,c,d);return;case 4:to(a,16,c,d);return;case 5:to(a,17,c,d);return;case 8:e=ql(a,c);f=ql(a,d);k:{if(q[d>>2]!=12){break k}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}l:{if(q[c>>2]!=12){break l}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,23,1,e,f);break b;case 7:e=ql(a,c);f=ql(a,d);m:{if(q[d>>2]!=12){break m}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}n:{if(q[c>>2]!=12){break n}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,23,0,e,f);break b;case 9:e=ql(a,c);f=ql(a,d);o:{if(q[d>>2]!=12){break o}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}p:{if(q[c>>2]!=12){break p}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,24,1,e,f);break b;case 10:e=ql(a,c);f=ql(a,d);q:{if(q[d>>2]!=12){break q}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}r:{if(q[c>>2]!=12){break r}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,25,1,e,f);break b;case 11:e=ql(a,c);f=ql(a,d);s:{if(q[d>>2]!=12){break s}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}t:{if(q[c>>2]!=12){break t}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,24,1,f,e);break b;case 12:e=ql(a,c);f=ql(a,d);u:{if(q[d>>2]!=12){break u}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}v:{if(q[c>>2]!=12){break v}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=Wn(a,25,1,f,e);q[c>>2]=10;q[c+8>>2]=a;break;default:break e}}return}q[d+20>>2]=i;break a}q[d+16>>2]=i;break a}q[c>>2]=10;q[c+8>>2]=a;return}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a}function KL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0),L=x(0);g=fi-48|0;fi=g;e=1;a:{b:{switch((b-a|0)/160|0){case 2:if(t[b-16>>2]>=t[a+144>>2]){break a}Vj(a,b-160|0);break a;case 3:d=b-160|0;h=a+160|0;b=b-16|0;f=q[b>>2];c=q[a+304>>2];if(c>>>0>=t[a+144>>2]){if(c>>>0<=f>>>0){break a}Vj(h,d);if(t[a+304>>2]>=t[a+144>>2]){break a}Vj(a,h);break a}if(c>>>0>f>>>0){Vj(a,d);break a}Vj(a,h);if(t[b>>2]>=t[a+304>>2]){break a}Vj(h,d);break a;case 4:gw(a,a+160|0,a+320|0,b-160|0);break a;case 5:cw(a,a+160|0,a+320|0,a+480|0,b-160|0);break a;case 0:case 1:break a;default:break b}}e=a+160|0;f=a+320|0;d=q[a+464>>2];c=q[a+304>>2];c:{if(c>>>0>=t[a+144>>2]){if(c>>>0<=d>>>0){break c}Vj(e,f);if(t[a+304>>2]>=t[a+144>>2]){break c}Vj(a,e);break c}if(c>>>0>d>>>0){Vj(a,f);break c}Vj(a,e);if(t[a+464>>2]>=t[a+304>>2]){break c}Vj(e,f)}d:{e:{e=a+480|0;if((e|0)==(b|0)){break e}while(1){f:{i=q[e+144>>2];if(i>>>0>2]){j=u[e+56>>2];k=u[e+52>>2];l=u[e+44>>2];m=u[e+40>>2];n=u[e+36>>2];o=u[e+28>>2];p=u[e+24>>2];r=u[e+20>>2];s=u[e+48>>2];v=u[e+32>>2];w=u[e+16>>2];y=u[e+8>>2];z=u[e+4>>2];A=u[e>>2];q[g+44>>2]=q[e+88>>2];c=q[e+84>>2];q[g+36>>2]=q[e+80>>2];q[g+40>>2]=c;c=q[e+76>>2];q[g+28>>2]=q[e+72>>2];q[g+32>>2]=c;c=q[e+68>>2];q[g+20>>2]=q[e+64>>2];q[g+24>>2]=c;B=u[e+136>>2];C=u[e+132>>2];D=u[e+124>>2];E=u[e+120>>2];F=u[e+116>>2];G=u[e+108>>2];H=u[e+104>>2];I=u[e+100>>2];J=u[e+128>>2];K=u[e+112>>2];L=u[e+96>>2];q[g+8>>2]=q[e+156>>2];c=q[e+152>>2];q[g>>2]=q[e+148>>2];q[g+4>>2]=c;c=e;while(1){g:{d=f;u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];f=q[d+68>>2];q[c+64>>2]=q[d+64>>2];q[c+68>>2]=f;f=q[d+76>>2];q[c+72>>2]=q[d+72>>2];q[c+76>>2]=f;f=q[d+84>>2];q[c+80>>2]=q[d+80>>2];q[c+84>>2]=f;q[c+88>>2]=q[d+88>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];f=q[d+148>>2];q[c+144>>2]=q[d+144>>2];q[c+148>>2]=f;f=q[d+156>>2];q[c+152>>2]=q[d+152>>2];q[c+156>>2]=f;if((a|0)==(d|0)){c=a;break g}f=d-160|0;c=d;if(t[c-16>>2]>i>>>0){continue}}break}u[c+48>>2]=s;u[c+32>>2]=v;u[c+16>>2]=w;u[c+8>>2]=y;u[c+4>>2]=z;u[c>>2]=A;u[c+56>>2]=j;u[c+52>>2]=k;u[c+44>>2]=l;u[c+40>>2]=m;u[c+36>>2]=n;u[c+28>>2]=o;u[c+24>>2]=p;u[c+20>>2]=r;d=d- -64|0;q[d+24>>2]=q[g+44>>2];f=q[g+40>>2];q[d+16>>2]=q[g+36>>2];q[d+20>>2]=f;f=q[g+32>>2];q[d+8>>2]=q[g+28>>2];q[d+12>>2]=f;f=q[g+24>>2];q[d>>2]=q[g+20>>2];q[d+4>>2]=f;q[c+144>>2]=i;u[c+136>>2]=B;u[c+132>>2]=C;u[c+128>>2]=J;u[c+124>>2]=D;u[c+120>>2]=E;u[c+116>>2]=F;u[c+112>>2]=K;u[c+108>>2]=G;u[c+104>>2]=H;u[c+100>>2]=I;u[c+96>>2]=L;f=q[g+4>>2];q[c+148>>2]=q[g>>2];q[c+152>>2]=f;q[c+156>>2]=q[g+8>>2];h=h+1|0;if((h|0)==8){break f}}f=e;e=e+160|0;if((e|0)!=(b|0)){continue}break e}break}c=(e+160|0)==(b|0);a=0;break d}a=1}e=a|c}fi=g+48|0;return e&1}function zm(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0;k=fi-112|0;fi=k;l=h;o=i&2147483647;m=c-(b>>>0<1)|0;j=b-1|0;r=(j|0)==-1&(m|0)==-1;s=d;p=(c|0)==(m|0)&b>>>0>j>>>0|c>>>0>m>>>0;n=d+p|0;m=e&2147483647;j=m;j=n>>>0

>>0?j+1|0:j;p=n-1|0;a:{b:{j=j-(n>>>0<1)|0;if(!((p|0)==-1&(j|0)==2147418111?r:j>>>0>2147418111)){j=f;n=g-(j>>>0<1)|0;j=j-1|0;r=(j|0)!=-1|(n|0)!=-1;p=(g|0)==(n|0)&f>>>0>j>>>0|g>>>0>n>>>0;n=p+l|0;j=o;j=n>>>0

>>0?j+1|0:j;p=n;n=n-1|0;j=j-(p>>>0<1)|0;if((n|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&(n|0)!=-1|j>>>0<2147418111){break b}}if(!(!s&(m|0)==2147418112?!(b|c):m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!l&(o|0)==2147418112?!(f|g):o>>>0<2147418112)){i=i|32768;break a}if(!(b|s|(m^2147418112|c))){j=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:j;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|l|(o^2147418112|g))){break a}if(!(b|s|(c|m))){if(f|l|(g|o)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|l|(g|o)){break b}f=b;g=c;h=d;i=e;break a}r=(l|0)==(s|0)&(m|0)==(o|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(m|0)==(o|0)&l>>>0>s>>>0|m>>>0>>0;j=r;n=j?f:b;o=j?g:c;l=j?i:e;s=l;m=j?h:d;j=l&65535;i=r?e:i;e=i;h=r?d:h;p=i>>>16&32767;l=l>>>16&32767;if(!l){d=!(j|m);i=d<<6;l=z(d?n:m)+32|0;d=z(d?o:j);d=i+((d|0)==32?l:d)|0;Zl(k+96|0,n,o,m,j,d-15|0);m=q[k+104>>2];n=q[k+96>>2];o=q[k+100>>2];l=16-d|0;j=q[k+108>>2]}f=r?b:f;g=r?c:g;i=e&65535;if(!p){b=!(h|i);c=b<<6;d=z(b?f:h)+32|0;b=z(b?g:i);b=c+((b|0)==32?d:b)|0;Zl(k+80|0,f,g,h,i,b-15|0);p=16-b|0;h=q[k+88>>2];i=q[k+92>>2];g=q[k+84>>2];f=q[k+80>>2]}b=h;c=i<<3|b>>>29;h=b<<3|g>>>29;i=c|524288;b=m;d=j<<3|b>>>29;m=b<<3|o>>>29;t=d;r=e^s;b=f;j=g<<3|b>>>29;b=b<<3;c=j;d=l-p|0;e=b;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;j=0;e=1;break c}Zl(k- -64|0,b,c,h,i,128-d|0);gr(k+48|0,b,c,h,i,d);h=q[k+56>>2];i=q[k+60>>2];j=q[k+52>>2];e=q[k+48>>2]|((q[k+64>>2]|q[k+72>>2])!=0|(q[k+68>>2]|q[k+76>>2])!=0)}f=j;d=m;p=t|524288;b=n;j=o<<3|b>>>29;c=b<<3;d:{if((r|0)<-1?1:(r|0)<=-1){o=e;b=c-e|0;m=h;n=d-h|0;e=(f|0)==(j|0)&c>>>0>>0|f>>>0>j>>>0;h=n-e|0;c=j-((c>>>0>>0)+f|0)|0;i=(p-((d>>>0>>0)+i|0)|0)-(e>>>0>n>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=z(d?b:h)+32|0;b=z(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Zl(k+32|0,f,c,h,i,b);l=l-b|0;h=q[k+40>>2];i=q[k+44>>2];b=q[k+32>>2];c=q[k+36>>2];break d}b=c;g=b+e|0;c=f+j|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+p|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;l=l+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}j=0;o=s&-2147483648;if((l|0)>=32767){h=j;i=o|2147418112;f=0;g=0;break a}e=0;e:{if((l|0)>0){e=l;break e}Zl(k+16|0,b,c,h,i,l+127|0);gr(k,b,c,h,i,1-l|0);b=q[k>>2]|((q[k+16>>2]|q[k+24>>2])!=0|(q[k+20>>2]|q[k+28>>2])!=0);c=q[k+4>>2];h=q[k+8>>2];i=q[k+12>>2]}s=(c&7)<<29|b>>>3;g=s;l=b&7;b=g+(l>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|j;b=b+d|0;j=o|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?j+1|0:j;f:{if((l|0)==4){j=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?j+1|0:j;break f}if(!l){break a}}}q[a>>2]=f;q[a+4>>2]=g;q[a+8>>2]=h;q[a+12>>2]=i;fi=k+112|0}function IO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=fi-32|0;fi=k;q[e+8>>2]=0;q[e>>2]=8;q[e+4>>2]=0;g=xi(18456);q[g+18452>>2]=1313;q[g+18448>>2]=1314;q[g+18444>>2]=1315;q[g>>2]=a;f=VB(g,1);j=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=j;ki(g);a:{if(f){e=xi(18456);q[e+18452>>2]=1313;q[e+18448>>2]=1314;q[e+18444>>2]=1315;q[e>>2]=a;a=tY(e,b,c,d);ki(e);break a}g=a+41|0;l=a+40|0;b:{c:{f=q[a+176>>2];i=q[a+172>>2];d:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);e:{if(!f){o[a+40|0]=0;q[a+32>>2]=0;f=g;break e}h=r[a+40|0];f=f+(a+40|0)|0}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break d}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=137){break c}f:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);g:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break g}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break f}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=80){break c}h:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);i:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break i}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break h}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=78){break c}j:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);k:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break k}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break j}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=71){break c}l:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);m:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break m}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break l}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=13){break c}n:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);o:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break o}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break n}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=10){break c}p:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);q:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break q}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;break p}g=i+1|0;q[a+172>>2]=g;h=r[i|0]}if((h|0)!=26){break c}r:{if(f>>>0<=g>>>0){if(!q[a+32>>2]){break c}g=ji[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);if(g){break r}o[a+40|0]=0;q[a+32>>2]=0;break c}q[a+172>>2]=g+1;l=g}if(r[l|0]!=10){break c}g=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=g;q[k+8>>2]=a;a=0;s:{if(!HO(k+8|0)){f=q[k+20>>2];break s}a=8;t:{g=q[k+24>>2];if((g|0)<9){break t}a=16;if((g|0)==16){break t}q[212945]=154778;break b}q[e>>2]=a;a=q[k+20>>2];e=b;b=q[k+8>>2];q[e>>2]=q[b>>2];q[c>>2]=q[b+4>>2];f=0;if(!d){break s}q[d>>2]=q[b+8>>2]}ki(f);ki(q[k+16>>2]);ki(q[k+12>>2]);break a}b=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=b;q[212945]=154210}a=0}fi=k+32|0;return a}function BJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{switch(q[a+40>>2]){case 0:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;i=q[a+32>>2];a=q[a+16>>2]+w(i,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+w(c,b)|0;while(1){o[a+g|0]=r[b+d|0];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:b+c|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:a+i|0;e=e-1|0;if(e){continue}break}break b;case 1:if(!e){break a}f=q[a+36>>2];i=(b>>>0)/(f>>>0)|0;g=b-w(f,i)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;h=1;j=i;i=q[a+32>>2];a=q[a+16>>2]+(w(j,i)<<1)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<1)|0;while(1){p[(g<<1)+a>>1]=s[(d<<1)+b>>1];d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<1)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<1)+a|0;e=e-1|0;if(e){continue}break}break b;case 2:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){q[(g<<2)+a>>2]=q[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}break b;case 3:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<3)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<3)|0;while(1){j=(d<<3)+b|0;k=q[j+4>>2];h=(g<<3)+a|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<3)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<3)+a|0;e=e-1|0;if(e){continue}break}break b;case 4:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;i=q[a+32>>2];a=q[a+16>>2]+w(i,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+w(c,b)|0;while(1){o[a+g|0]=r[b+d|0];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:b+c|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:a+i|0;e=e-1|0;if(e){continue}break}break b;case 5:if(!e){break a}f=q[a+36>>2];i=(b>>>0)/(f>>>0)|0;g=b-w(f,i)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;h=1;j=i;i=q[a+32>>2];a=q[a+16>>2]+(w(j,i)<<1)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<1)|0;while(1){p[(g<<1)+a>>1]=s[(d<<1)+b>>1];d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<1)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<1)+a|0;e=e-1|0;if(e){continue}break}break b;case 6:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){q[(g<<2)+a>>2]=q[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}break b;case 7:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<3)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<3)|0;while(1){j=(d<<3)+b|0;k=q[j+4>>2];h=(g<<3)+a|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<3)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<3)+a|0;e=e-1|0;if(e){continue}break}break b;case 8:break c;default:break b}}if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){u[(g<<2)+a>>2]=u[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}}return h}return 1}function ita(a,b,c,d){var e=0,f=0;f=fi-16|0;fi=f;e=f;o[e|0]=0;o[e+1|0]=0;o[e+2|0]=0;o[e+3|0]=0;o[e+4|0]=0;o[e+5|0]=0;o[e+6|0]=0;o[e+7|0]=0;o[e+8|0]=0;o[e+9|0]=0;o[e+10|0]=0;o[e+11|0]=0;o[e+12|0]=0;o[e+13|0]=0;o[e+14|0]=0;o[e+15|0]=0;a:{if(c){c=hj(b,0,3);o[Gi(e,0,0)|0]=c;c=hj(b,1,3);o[Gi(e,1,0)|0]=c;c=hj(b,2,3);o[Gi(e,2,0)|0]=c;c=hj(b,3,3);o[Gi(e,3,0)|0]=c;c=hj(b,0,2);o[Gi(e,0,1)|0]=c;c=hj(b,1,2);o[Gi(e,1,1)|0]=c;c=hj(b,2,2);o[Gi(e,2,1)|0]=c;c=hj(b,3,2);o[Gi(e,3,1)|0]=c;c=hj(b,0,1);o[Gi(e,0,2)|0]=c;c=hj(b,1,1);o[Gi(e,1,2)|0]=c;c=hj(b,2,1);o[Gi(e,2,2)|0]=c;c=hj(b,3,1);o[Gi(e,3,2)|0]=c;c=hj(b,0,0);o[Gi(e,0,3)|0]=c;c=hj(b,1,0);o[Gi(e,1,3)|0]=c;c=hj(b,2,0);o[Gi(e,2,3)|0]=c;b=hj(b,3,0);o[Gi(e,3,3)|0]=b;break a}c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);q[f+8>>2]=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);q[f+12>>2]=c;c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[f>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[f+4>>2]=c}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;b:{c:{switch(d|0){case 2:b=r[Gi(e,3,3)|0];o[Gi(a,0,0)|0]=b;b=r[Gi(e,2,3)|0];o[Gi(a,1,0)|0]=b;b=r[Gi(e,1,3)|0];o[Gi(a,2,0)|0]=b;b=r[Gi(e,0,3)|0];o[Gi(a,3,0)|0]=b;b=r[Gi(e,3,2)|0];o[Gi(a,0,1)|0]=b;b=r[Gi(e,2,2)|0];o[Gi(a,1,1)|0]=b;b=r[Gi(e,1,2)|0];o[Gi(a,2,1)|0]=b;b=r[Gi(e,0,2)|0];o[Gi(a,3,1)|0]=b;b=r[Gi(e,3,1)|0];o[Gi(a,0,2)|0]=b;b=r[Gi(e,2,1)|0];o[Gi(a,1,2)|0]=b;b=r[Gi(e,1,1)|0];o[Gi(a,2,2)|0]=b;b=r[Gi(e,0,1)|0];o[Gi(a,3,2)|0]=b;b=r[Gi(e,3,0)|0];o[Gi(a,0,3)|0]=b;b=r[Gi(e,2,0)|0];o[Gi(a,1,3)|0]=b;b=r[Gi(e,1,0)|0];o[Gi(a,2,3)|0]=b;b=r[Gi(e,0,0)|0];o[Gi(a,3,3)|0]=b;break b;case 1:b=r[Gi(e,0,3)|0];o[Gi(a,0,0)|0]=b;b=r[Gi(e,0,2)|0];o[Gi(a,1,0)|0]=b;b=r[Gi(e,0,1)|0];o[Gi(a,2,0)|0]=b;b=r[Gi(e,0,0)|0];o[Gi(a,3,0)|0]=b;b=r[Gi(e,1,3)|0];o[Gi(a,0,1)|0]=b;b=r[Gi(e,1,2)|0];o[Gi(a,1,1)|0]=b;b=r[Gi(e,1,1)|0];o[Gi(a,2,1)|0]=b;b=r[Gi(e,1,0)|0];o[Gi(a,3,1)|0]=b;b=r[Gi(e,2,3)|0];o[Gi(a,0,2)|0]=b;b=r[Gi(e,2,2)|0];o[Gi(a,1,2)|0]=b;b=r[Gi(e,2,1)|0];o[Gi(a,2,2)|0]=b;b=r[Gi(e,2,0)|0];o[Gi(a,3,2)|0]=b;b=r[Gi(e,3,3)|0];o[Gi(a,0,3)|0]=b;b=r[Gi(e,3,2)|0];o[Gi(a,1,3)|0]=b;b=r[Gi(e,3,1)|0];o[Gi(a,2,3)|0]=b;b=r[Gi(e,3,0)|0];o[Gi(a,3,3)|0]=b;break b;case 0:b=q[f+4>>2];c=q[f>>2];o[a|0]=c;o[a+1|0]=c>>>8;o[a+2|0]=c>>>16;o[a+3|0]=c>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;b=q[f+12>>2];c=q[f+8>>2];o[a+8|0]=c;o[a+9|0]=c>>>8;o[a+10|0]=c>>>16;o[a+11|0]=c>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;break b;default:J(85745,95189,489,95663);G();case 3:break c}}b=r[Gi(e,3,0)|0];o[Gi(a,0,0)|0]=b;b=r[Gi(e,3,1)|0];o[Gi(a,1,0)|0]=b;b=r[Gi(e,3,2)|0];o[Gi(a,2,0)|0]=b;b=r[Gi(e,3,3)|0];o[Gi(a,3,0)|0]=b;b=r[Gi(e,2,0)|0];o[Gi(a,0,1)|0]=b;b=r[Gi(e,2,1)|0];o[Gi(a,1,1)|0]=b;b=r[Gi(e,2,2)|0];o[Gi(a,2,1)|0]=b;b=r[Gi(e,2,3)|0];o[Gi(a,3,1)|0]=b;b=r[Gi(e,1,0)|0];o[Gi(a,0,2)|0]=b;b=r[Gi(e,1,1)|0];o[Gi(a,1,2)|0]=b;b=r[Gi(e,1,2)|0];o[Gi(a,2,2)|0]=b;b=r[Gi(e,1,3)|0];o[Gi(a,3,2)|0]=b;b=r[Gi(e,0,0)|0];o[Gi(a,0,3)|0]=b;b=r[Gi(e,0,1)|0];o[Gi(a,1,3)|0]=b;b=r[Gi(e,0,2)|0];o[Gi(a,2,3)|0]=b;b=r[Gi(e,0,3)|0];o[Gi(a,3,3)|0]=b}fi=f+16|0}function nM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=fi-16|0;fi=l;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=q[a+4>>2];g:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break g}f=kk(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}m=(f|0)==45?-1:0;f=q[a+4>>2];if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break h}f=kk(a)}j:{if(!(b&-17|(f|0)!=48)){f=q[a+4>>2];k:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break k}f=kk(a)}if((f&-33)==88){b=q[a+4>>2];l:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break l}f=kk(a)}b=16;if(r[f+211393|0]<16){break e}if(!q[a+104>>2]){d=0;e=0;if(c){break a}break b}b=q[a+4>>2];q[a+4>>2]=b-1;if(!c){break b}q[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>r[f+211393|0]){break j}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}d=0;e=0;fn(a,0,0);q[240833]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){h=w(b,10);b=q[a+4>>2];m:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break m}f=kk(a)}b=c+h|0;c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b;h=0}if(c>>>0>9){break f}i=jwa(g,0,10,0);b=ii;while(1){f=q[a+4>>2];n:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break n}f=kk(a)}g=c+i|0;h=g>>>0>>0?b+1|0:b;c=f-48|0;if((h|0)==429496729&g>>>0>=2576980378|h>>>0>429496729|c>>>0>9){break f}i=jwa(g,h,10,0);b=ii;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}q[240833]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=r[f+211393|0];if(c>>>0>>0){while(1){i=w(b,i)+c|0;g=i>>>0<=119304646;c=q[a+4>>2];o:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break o}f=kk(a)}c=r[f+211393|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){j=jwa(g,h,i,0);k=ii;c=c&255;if((k|0)==-1&(c^-1)>>>0>>0){break d}f=q[a+4>>2];p:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break p}f=kk(a)}h=k;g=c+j|0;h=g>>>0>>0?h+1|0:h;c=r[f+211393|0];if(c>>>0>=b>>>0){break d}zn(l,i,0,g,h);if(!(q[l+8>>2]|q[l+12>>2])){continue}break}break d}k=o[(w(b,23)>>>5&7)+211649|0];c=r[f+211393|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=q[a+4>>2];q:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break q}f=kk(a)}c=r[f+211393|0];if(c>>>0>>0?g:0){continue}break}g=i}i=k;j=i&31;if((i&63)>>>0>=32){k=0;j=-1>>>j|0}else{k=-1>>>j|0;j=(1<>>j}if(!k&g>>>0>j>>>0|b>>>0<=c>>>0){break d}while(1){n=c&255;c=i;f=c&31;if((c&63)>>>0>=32){h=g<>>32-f|h<>2];r:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break r}f=kk(a)}if((h|0)==(k|0)&g>>>0>j>>>0|h>>>0>k>>>0){break d}c=r[f+211393|0];if(c>>>0>>0){continue}break}}if(r[f+211393|0]>=b>>>0){break c}while(1){f=q[a+4>>2];s:{if(f>>>0>2]){q[a+4>>2]=f+1;c=r[f|0];break s}c=kk(a)}if(r[c+211393|0]>>0){continue}break}q[240833]=68;m=d&1?0:m;g=d;h=e}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}t:{if((e|0)==(h|0)&d>>>0>g>>>0|e>>>0>h>>>0){break t}if(!(m|d&1)){q[240833]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(h|0)&d>>>0>=g>>>0|e>>>0>h>>>0){break t}q[240833]=68;break a}a=m;b=a^g;d=b-a|0;c=a>>31;e=(c^h)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;fn(a,0,0)}fi=l+16|0;ii=e;return d}function N0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-160|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;q[b+152>>2]=0;q[b+156>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;o[b+128|0]=0;o[b+129|0]=0;o[b+130|0]=0;o[b+131|0]=0;o[b+132|0]=0;o[b+133|0]=0;o[b+134|0]=0;o[b+135|0]=0;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;o[b+144|0]=0;o[b+145|0]=0;o[b+146|0]=0;o[b+147|0]=0;o[b+148|0]=0;o[b+149|0]=0;o[b+150|0]=0;o[b+151|0]=0;o[b+136|0]=0;o[b+137|0]=0;o[b+138|0]=0;o[b+139|0]=0;o[b+140|0]=0;o[b+141|0]=0;o[b+142|0]=0;o[b+143|0]=0;a:{b:{c:{if((e|0)<=1){ok(a,1,b+128|0,0);break c}if((e|0)==3){q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;if(!ri(a,1)){o[b+96|0]=0;o[b+97|0]=0;o[b+98|0]=0;o[b+99|0]=0;o[b+100|0]=0;o[b+101|0]=0;o[b+102|0]=0;o[b+103|0]=0;o[b+120|0]=0;o[b+121|0]=0;o[b+122|0]=0;o[b+123|0]=0;o[b+124|0]=0;o[b+125|0]=0;o[b+126|0]=0;o[b+127|0]=0;o[b+112|0]=0;o[b+113|0]=0;o[b+114|0]=0;o[b+115|0]=0;o[b+116|0]=0;o[b+117|0]=0;o[b+118|0]=0;o[b+119|0]=0;o[b+104|0]=0;o[b+105|0]=0;o[b+106|0]=0;o[b+107|0]=0;o[b+108|0]=0;o[b+109|0]=0;o[b+110|0]=0;o[b+111|0]=0;Bq(a,b+96|0)}d:{if(ri(a,1)){if(Qn(a,1)){c=Vi(a,1);d=q[c+4>>2];q[b+128>>2]=q[c>>2];q[b+132>>2]=d;break d}e:{c=_i(a,1,0);d=Nm(c,b+128|0);switch(d+6|0){case 2:break b;case 0:case 6:break d;default:break e}}q[b+4>>2]=d;q[b>>2]=c;c=ni(a,115609,b);break a}c=q[b+100>>2];q[b+128>>2]=q[b+96>>2];q[b+132>>2]=c}f:{g:{if(ri(a,2)){if($j(a,2)){c=_i(a,2,0);h:{if(ri(a,1)){if(!$j(a,1)){break h}if(r[_i(a,1,0)|0]){break h}}d=Fi(c);if(!d){break g}qF(a,c,d,b+144|0);break f}q[b+144>>2]=li(c);q[b+148>>2]=ii;break f}q[b+144>>2]=Qk(a,2);q[b+148>>2]=ii;break f}if(!ri(a,1)){c=q[b+116>>2];q[b+144>>2]=q[b+112>>2];q[b+148>>2]=c;break f}if(!ri(a,3)){break f}c=ni(a,115645,0);break a}q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;c=b- -64|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;Bq(a,b- -64|0);c=q[b+84>>2];q[b+144>>2]=q[b+80>>2];q[b+148>>2]=c}if(ri(a,3)){if($j(a,3)){q[b+152>>2]=li(_i(a,3,0));q[b+156>>2]=ii;break c}q[b+152>>2]=Qk(a,3);q[b+156>>2]=ii;break c}i:{if(ri(a,1)){break i}if(ri(a,2)){break i}f=q[b+120>>2];g=q[b+124>>2]}q[b+152>>2]=f;q[b+156>>2]=g;break c}q[b+52>>2]=115799;q[b+48>>2]=115795;q[b+44>>2]=115799;q[b+40>>2]=115795;q[b+36>>2]=115799;q[b+32>>2]=115795;ni(a,115698,b+32|0)}c=bj(a,32);f=q[b+156>>2];q[c+24>>2]=q[b+152>>2];q[c+28>>2]=f;d=q[b+148>>2];q[c+16>>2]=q[b+144>>2];q[c+20>>2]=d;d=q[b+140>>2];q[c+8>>2]=q[b+136>>2];q[c+12>>2]=d;d=q[b+132>>2];q[c>>2]=q[b+128>>2];q[c+4>>2]=d;zi(a,-1e4,115799);aj(a,-2);c=1;if((e+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(115803,115828,445,115850);G()}q[b+16>>2]=c;c=ni(a,115576,b+16|0)}fi=b+160|0;return c|0}function oq(a,b,c){var d=0,e=0,f=0,g=0;d=a;e=10;a:{b:{if((c|0)==128){break b}if((c|0)!=256){f=-32;if((c|0)!=192){break a}e=12;break b}e=14}q[d>>2]=e;if(!r[842896]){eua();o[842896]=1}d=a+8|0;q[a+4>>2]=d;f=c>>>5|0;c=0;while(1){e=c<<2;q[(e+a|0)+8>>2]=r[b+e|0]|r[(e|1)+b|0]<<8|r[(e|2)+b|0]<<16|r[(e|3)+b|0]<<24;c=c+1|0;if((f|0)!=(c|0)){continue}break}f=0;c:{switch(q[a>>2]-10|0){case 0:b=q[d>>2];c=0;while(1){a=q[d+12>>2];b=r[(a>>>8&255)+842960|0]^(q[(c<<2)+842912>>2]^b)^r[(a>>>16&255)+842960|0]<<8^r[(a>>>24|0)+842960|0]<<16^r[(a&255)+842960|0]<<24;q[d+16>>2]=b;e=q[d+4>>2]^b;q[d+20>>2]=e;e=e^q[d+8>>2];q[d+24>>2]=e;q[d+28>>2]=a^e;d=d+16|0;c=c+1|0;if((c|0)!=10){continue}break}break a;case 2:b=q[a+28>>2];c=r[(b>>>8&255)+842960|0]^(q[210728]^q[a+8>>2])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+32>>2]=c;d=c^q[a+12>>2];q[a+36>>2]=d;e=d^q[a+16>>2];q[a+40>>2]=e;f=e^q[a+20>>2];q[a+44>>2]=f;g=f^q[a+24>>2];q[a+48>>2]=g;b=b^g;q[a+52>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210729])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+56>>2]=c;d=c^d;q[a+60>>2]=d;e=d^e;q[a- -64>>2]=e;f=e^f;q[a+68>>2]=f;g=f^g;q[a+72>>2]=g;b=b^g;q[a+76>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210730])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+80>>2]=c;d=c^d;q[a+84>>2]=d;e=d^e;q[a+88>>2]=e;f=e^f;q[a+92>>2]=f;g=f^g;q[a+96>>2]=g;b=b^g;q[a+100>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210731])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+104>>2]=c;d=c^d;q[a+108>>2]=d;e=d^e;q[a+112>>2]=e;f=e^f;q[a+116>>2]=f;g=f^g;q[a+120>>2]=g;b=b^g;q[a+124>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210732])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+128>>2]=c;d=c^d;q[a+132>>2]=d;e=d^e;q[a+136>>2]=e;f=e^f;q[a+140>>2]=f;g=f^g;q[a+144>>2]=g;b=b^g;q[a+148>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210733])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+152>>2]=c;d=c^d;q[a+156>>2]=d;e=d^e;q[a+160>>2]=e;f=e^f;q[a+164>>2]=f;g=f^g;q[a+168>>2]=g;b=b^g;q[a+172>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210734])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+176>>2]=c;d=c^d;q[a+180>>2]=d;e=d^e;q[a+184>>2]=e;f=e^f;q[a+188>>2]=f;g=f^g;q[a+192>>2]=g;b=b^g;q[a+196>>2]=b;c=r[(b>>>8&255)+842960|0]^(c^q[210735])^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[a+200>>2]=c;c=c^d;q[a+204>>2]=c;c=c^e;q[a+208>>2]=c;c=c^f;q[a+212>>2]=c;c=c^g;q[a+216>>2]=c;q[a+220>>2]=b^c;return 0;case 4:break c;default:break a}}a=q[d>>2];e=0;while(1){b=q[d+28>>2];a=r[(b>>>8&255)+842960|0]^(q[(e<<2)+842912>>2]^a)^r[(b>>>16&255)+842960|0]<<8^r[(b>>>24|0)+842960|0]<<16^r[(b&255)+842960|0]<<24;q[d+32>>2]=a;c=q[d+4>>2]^a;q[d+36>>2]=c;c=c^q[d+8>>2];q[d+40>>2]=c;c=c^q[d+12>>2];q[d+44>>2]=c;c=q[d+16>>2]^r[(c&255)+842960|0]^r[(c>>>8&255)+842960|0]<<8^r[(c>>>16&255)+842960|0]<<16^r[(c>>>24|0)+842960|0]<<24;q[d+48>>2]=c;c=c^q[d+20>>2];q[d+52>>2]=c;c=c^q[d+24>>2];q[d+56>>2]=c;q[d+60>>2]=b^c;d=d+32|0;e=e+1|0;if((e|0)!=7){continue}break}}return f}function fP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=fi-16|0;fi=g;b=q[a>>2];a:{if(!q[b+24>>2]){f=-29696;break a}if(!q[a+8>>2]){q[a+16>>2]=r[b+182|0];q[a+20>>2]=r[b+183|0]}c=r[b+180|0];if(!c){f=-28928;break a}d=q[a+204>>2];vr(c,r[b+181|0],q[b+184>>2]>>>1&1,d+4|0);f=OP(a);if(f){break a}b=q[a+68>>2];c=r[b+1132|0]|r[b+1133|0]<<8|(r[b+1134|0]<<16|r[b+1135|0]<<24);e=r[b+1128|0]|r[b+1129|0]<<8|(r[b+1130|0]<<16|r[b+1131|0]<<24);o[d+6|0]=e;o[d+7|0]=e>>>8;o[d+8|0]=e>>>16;o[d+9|0]=e>>>24;o[d+10|0]=c;o[d+11|0]=c>>>8;o[d+12|0]=c>>>16;o[d+13|0]=c>>>24;c=b+1152|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d+30|0]=c;o[d+31|0]=c>>>8;o[d+32|0]=c>>>16;o[d+33|0]=c>>>24;o[d+34|0]=e;o[d+35|0]=e>>>8;o[d+36|0]=e>>>16;o[d+37|0]=e>>>24;c=b+1144|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d+22|0]=c;o[d+23|0]=c>>>8;o[d+24|0]=c>>>16;o[d+25|0]=c>>>24;o[d+26|0]=e;o[d+27|0]=e>>>8;o[d+28|0]=e>>>16;o[d+29|0]=e>>>24;b=b+1136|0;c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[d+14|0]=b;o[d+15|0]=b>>>8;o[d+16|0]=b>>>16;o[d+17|0]=b>>>24;o[d+18|0]=c;o[d+19|0]=c>>>8;o[d+20|0]=c>>>16;o[d+21|0]=c>>>24;b=q[a+8>>2];b:{c:{d:{e:{c=q[a+64>>2];e=q[c+12>>2];f:{if(e-16>>>0<=16){if(b){break e}b=q[q[a+68>>2]+2252>>2]?e:0;break f}if(b){break e}b=0}if(!q[c+104>>2]|!q[c+108>>2]){break d}b=32;e=q[a>>2];f=ji[q[e+24>>2]](q[e+28>>2],c+16|0,32)|0;if(f){break a}q[q[a+64>>2]+12>>2]=32;o[d+38|0]=32;i=d+39|0;break c}o[d+38|0]=0;i=d+39|0;break b}o[d+38|0]=b;i=d+39|0;if(!b){break b}}f=0;while(1){o[i|0]=r[(q[a+64>>2]+f|0)+16|0];i=i+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}g:{if(!(r[q[a>>2]+184|0]&2)){break g}b=q[a+68>>2];if(!q[b+480>>2]){o[i|0]=0;i=i+1|0;break g}o[i|0]=r[b+484|0];b=q[a+68>>2];i=si(i+1|0,q[b+480>>2],r[b+484|0])+r[q[a+68>>2]+484|0]|0}h=i+2|0;e=q[q[a>>2]+(q[a+20>>2]<<2)>>2];f=q[e>>2];if(f){c=e;b=0;while(1){f=xt(f);k=q[a>>2];if(!_B(f,a,r[k+183|0],r[k+181|0])){f=q[f+16>>2]-3|0;h:{if(f>>>0<=8){f=q[(f<<2)+166628>>2];break h}f=0}o[h|0]=q[c>>2]>>>8;o[h+1|0]=q[c>>2];j=j+1|0;l=f|l;h=h+2|0}b=b+1|0;c=e+(b<<2)|0;f=q[c>>2];if(f){continue}break}}if(!q[a+8>>2]){o[h|0]=0;o[h+1|0]=255;j=j+1|0;h=h+2|0}if(o[q[a>>2]+186|0]&1){o[h|0]=86;o[h+1|0]=0;j=j+1|0;h=h+2|0}o[i+1|0]=j<<1;o[i|0]=j>>>7;o[h|0]=1;o[h+1|0]=0;e=h+4|0;bP(a,e,g+12|0);b=q[g+12>>2];$O(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;ZO(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;c=a;if(l){XO(a,b+e|0,g+12|0);b=q[g+12>>2]+b|0;WO(q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0}aP(c,b+e|0,g+12|0);b=q[g+12>>2]+b|0;VO(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;dP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;cP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;hP(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;_O(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;c=h+2|0;i:{if(!b){break i}c=(b<<8&16711680|b<<24)>>>16|0;o[h+2|0]=c;o[h+3|0]=c>>>8;c=b+e|0}q[a+208>>2]=22;q[a+212>>2]=c-d;o[q[a+204>>2]]=1;q[a+4>>2]=q[a+4>>2]+1;if(r[q[a>>2]+184|0]&2){RC(a)}f=fq(a);if(f){break a}if(r[q[a>>2]+184|0]&2){f=gq(a);if(f){break a}}f=0}fi=g+16|0;return f}function AK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,v=0,y=x(0),z=0,A=0,B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=x(0),K=0;g=fi-128|0;fi=g;if(!b){J(7136,7150,235,7212);G()}a:{b:{c:{z=Pna(q[c>>2],a,b,q[b+28080>>2],c);d:{if(!z){mi(4,19702,19713,0);h=-11;break d}j=q[z>>2];o[j+4276|0]=r[c+20|0]<<2&4|r[j+4276|0]&251;e:{f:{D=j+2084|0;h=kv(a,q[c+32>>2],q[c+36>>2],D);if(h){break f}o[j+4276|0]=r[c+20|0]<<2&4|r[j+4276|0]&251;b=q[c+8>>2];g:{if(!b){h=0;Op(j);break g}h:{while(1){if(b>>>0<=s>>>0){break b}b=q[c+4>>2];q[g+104>>2]=0;f=b+w(s,80)|0;h=f;i:{b=q[f+4>>2];j:{if(!b){break j}if(Ij(a,b,g+104|0)){break j}b=hv(j,q[g+104>>2],q[h+4>>2]);if(b){break i}Di(a,q[g+104>>2])}q[g+64>>2]=q[h+4>>2];mi(4,19702,19871,g- -64|0);h=-13;b=-13;if(s){break h}Op(j);break g}m=q[b+140>>2];q[b+136>>2]=q[b+136>>2]&-513|q[c+20>>2]<<9&512;q[b+140>>2]=m;B=u[f+72>>2];y=u[f+64>>2];C=u[f+68>>2];if(!(y!=x(0)|C!=x(0)|B!=x(0))){y=u[f+56>>2];C=y;B=y}h=q[f+32>>2];m=q[f+36>>2];l=q[f+40>>2];i=q[f+44>>2];k=q[f+20>>2];n=q[f+16>>2];I=u[f+24>>2];u[b+40>>2]=B;u[b+36>>2]=C;u[b+32>>2]=y;u[b+24>>2]=I;q[b+16>>2]=n;q[b+20>>2]=k;q[b+8>>2]=l;q[b+12>>2]=i;q[b>>2]=h;q[b+4>>2]=m;m=b+104|0;an(m,1);h=q[f>>2];l=Rm(h,o[q[59082]]);k:{if(!l){q[g+96>>2]=h;mi(4,19702,19768,g+96|0);break k}kl(m,h,(l-h|0)+1|0)}if(Ema(j,b,q[f>>2])){q[g+80>>2]=q[f>>2];mi(4,19702,19830,g+80|0)}b=q[c+8>>2];s=s+1|0;if(b>>>0>s>>>0){continue}break}b=0}h=b;l=0;while(1){l:{if(t[c+8>>2]>l>>>0){f=q[c+4>>2]+w(l,80)|0;m=rA(j,li(q[f>>2]),ii);if(!m){break c}i=q[f+12>>2];if(!i){break l}b=0;while(1){if(b>>>0>=i>>>0){break a}i=b<<2;k=q[i+q[f+8>>2]>>2];k=rA(j,Ls(m,k,Fi(k)),ii);m:{if(k){k=ev(k,m);if(!k){break m}if(t[f+12>>2]<=b>>>0){break a}i=q[i+q[f+8>>2]>>2];n=q[f>>2];q[g+56>>2]=k;q[g+52>>2]=i;q[g+48>>2]=n;mi(4,19702,19948,g+48|0);break m}if(t[f+12>>2]<=b>>>0){break a}q[g+32>>2]=q[i+q[f+8>>2]>>2];mi(4,19702,19986,g+32|0)}b=b+1|0;i=q[f+12>>2];if(b>>>0>>0){continue}break}break l}break b}l=l+1|0;if((s|0)!=(l|0)){continue}break}Op(j);m=g+104|4;i=0;while(1){n:{o:{if(t[c+8>>2]>i>>>0){k=q[c+4>>2]+w(i,80)|0;n=rA(j,li(q[k>>2]),ii);if(!Qs(j,n)){break o}b=q[n+84>>2];E=q[b+4>>2];if(!E){break n}K=q[b>>2];A=0;l=0;while(1){v=w(A,80)+K|0;f=q[v+16>>2];if(q[f+76>>2]){p:{q:{if(!(o[f+98|0]&1)){b=Ei(q[v>>2],q[v+4>>2]);q[g+4>>2]=q[k>>2];q[g>>2]=b;mi(4,19702,20006,g);break q}b=m;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[g+104>>2]=n;F=q[k+52>>2];if(!F){break p}b=0;r:{while(1){H=q[k+48>>2]+w(b,92)|0;if((li(q[H>>2])|0)==q[v>>2]&(ii|0)==q[v+4>>2]){b=xA(H+12|0);q[g+116>>2]=b;if(!b){break r}q[g+112>>2]=27;q[g+108>>2]=28;break p}b=b+1|0;if((F|0)==(b|0)){break p}if(t[k+52>>2]>b>>>0){continue}break}J(20224,20236,157,20285);G()}b=q[k>>2];q[g+20>>2]=d;q[g+16>>2]=b;mi(4,19702,20113,g+16|0)}h=-13;break f}q[g+120>>2]=(n+(l<<2)|0)+156;ji[q[f+76>>2]](g+104|0)|0;f=q[v+16>>2]}l=(p[f+98>>1]&1)+l|0;A=A+1|0;if((E|0)!=(A|0)){continue}break}break n}break b}Ana(j,n);Vq(j,n);h=-13}i=i+1|0;if((s|0)!=(i|0)){continue}break}}if(q[c+16>>2]){mi(4,19702,20177,0)}if(h){break f}h=0;break e}Yo(a,D);Ps(j);z=0}q[e>>2]=z}fi=g+128|0;return h}J(19924,19634,113,19931);G()}J(20224,20236,241,20285);G()}J(20224,20236,148,20285);G()}function dU(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,p=0;e=fi-256|0;fi=e;a:{if(!a){c=-27648;break a}if(!b){c=-27648;break a}c=q[b+12>>2];if(!c){c=-27648;break a}d=q[b+16>>2];j=q[b+20>>2];if(d>>>0>>0){c=-27648;break a}f=q[b+24>>2];if(f>>>0>d-j>>>0){c=-27648;break a}l=a+144|0;h=c+j|0;c=-27648;b:{c:{d:{e:{d=q[a+144>>2];g=0;f:{if(!d){break f}g=q[d+4>>2]}switch(g-2|0){case 4:case 6:case 8:break e;case 0:break d;default:break a}}c=-29056;d=q[a+4>>2];n=q[a+8>>2];k=d-n|0;i=k+q[a+16>>2]|0;if(i>>>0>f>>>0){break a}d=(d|0)!=12;g:{if(!(d|(n|0)!=4)){q[e>>2]=q[a+36>>2];d=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);q[e+4>>2]=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);q[e+8>>2]=d;break g}c=-27648;if((n|0)!=12|d){break a}q[e+8>>2]=q[a+44>>2];d=q[a+40>>2];q[e>>2]=q[a+36>>2];q[e+4>>2]=d;o[e+4|0]=r[e+4|0]^r[b|0];o[e+5|0]=r[e+5|0]^r[b+1|0];o[e+6|0]=r[e+6|0]^r[b+2|0];o[e+7|0]=r[e+7|0]^r[b+3|0];o[e+8|0]=r[e+8|0]^r[b+4|0];o[e+9|0]=r[e+9|0]^r[b+5|0];o[e+10|0]=r[e+10|0]^r[b+6|0];o[e+11|0]=r[e+11|0]^r[b+7|0]}q[b+24>>2]=f-i;q[b+20>>2]=k+j;aq(e+192|0,e+188|0,b);si((q[a+8>>2]+a|0)+36|0,h,k);c=-29056;i=h+k|0;d=q[b+24>>2];a=HV(l,e,q[a+4>>2],e+192|0,q[e+188>>2],i,d,i,e+252|0,d+i|0,q[a+16>>2]);if((a|0)==-25344){break a}if(a){c=a;break a}c=-27648;if(q[e+252>>2]==q[b+24>>2]){break c}break a}c=q[a+4>>2];d=q[a+208>>2]>1?c:0;if(c+d>>>0>f>>>0){c=-29056;break a}g=d;d=q[a+12>>2];if((g+d|0)+1>>>0>f>>>0){c=-29056;break a}k=q[a+76>>2];if((k|0)==1){q[b+24>>2]=f-d;aq(e+192|0,e+188|0,b);d=a- -64|0;Mk(d,e+192|0,q[e+188>>2]);Mk(d,h,q[b+24>>2]);Il(d,e);Jm(d);if(wr(q[b+24>>2]+h|0,e,q[a+12>>2])){c=-29056;break a}f=q[b+24>>2];c=q[a+4>>2]}if((f>>>0)%(c>>>0)|0){c=-29056;break a}d=a+36|0;g=d;j=c;if(q[a+208>>2]>=2){si(a+36|0,h,c);q[b+20>>2]=q[b+20>>2]+c;f=q[b+24>>2]-c|0;q[b+24>>2]=f;h=c+h|0}c=BD(l,g,j,h,f,h,e+252|0);if(c){break a}g=q[b+24>>2];if((g|0)!=q[e+252>>2]){c=-27648;break a}if(q[a+208>>2]<=1){si(d,a+184|0,q[a+4>>2]);g=q[b+24>>2]}c=r[(h+g|0)-1|0];d=(k|0)==1?c>>>0>>0:(c+q[a+12>>2]|0)+1>>>0<=g>>>0;if(q[a+208>>2]<1){c=-27648;break a}l=d?c:0;m=l+1|0;c=g-256|0;c=c>>>0>g>>>0?0:c;h:{if(g>>>0<=c>>>0){f=0;break h}n=g-m|0;f=0;while(1){i=c>>>0>=n>>>0|i;f=((l|0)==r[c+h|0]?i:0)+f|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}j=d&(f|0)==(m|0);m=m&(j?511:0);d=g-m|0;q[b+24>>2]=d;if((k|0)!=1){q[b+24>>2]=d-q[a+12>>2];aq(e+192|0,e+188|0,b);if(q[a+208>>2]<1){break b}c=q[b+24>>2];p=qi(e,0,128);i:{j:{k:{d=q[a+64>>2];i=0;l:{if(!d){break l}i=q[d>>2]}switch(i-3|0){case 4:break j;case 0:case 1:case 3:break k;default:break b}}g=q[p+188>>2];d=(g+q[b+24>>2]|0)+8|0;k=d>>>6|0;i=d+m>>>6|0;break i}g=q[p+188>>2];d=(g+q[b+24>>2]|0)+16|0;k=d>>>7|0;i=d+m>>>7|0}l=c+m|0;d=l-256|0;n=d>>>0>l>>>0?0:d;f=a- -64|0;Mk(f,p+192|0,g);Mk(f,h,q[b+24>>2]);aC(q[b+24>>2]+h|0,m);Il(f,p+128|0);c=0;i=i-k&(j?255:0);while(1){m:{if(!f){break m}d=q[f>>2];if(!d){break m}ji[q[d+44>>2]](q[f+4>>2],p)|0}d=(c|0)==(i|0);c=c+1|0;if(!d){continue}break}Jm(f);aC(h+n|0,q[a+12>>2]+(l-n|0)|0);if(wr(q[b+24>>2]+h|0,p+128|0,q[a+12>>2])){c=-29056;break a}c=-29056;if(!(j^1)){break c}break a}c=-29056;if(!j){break a}}c=0;break a}c=-27648}fi=e+256|0;return c}function zJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0,p=x(0),r=0,s=x(0),v=0,y=0,z=x(0),A=x(0),B=x(0),C=0,D=x(0),E=x(0),F=x(0),H=x(0),I=0,K=0,L=0,M=x(0),N=x(0),O=x(0),P=x(0),Q=0,R=0,S=0,T=0,U=x(0),V=x(0),W=x(0);e=fi-48|0;fi=e;c=1;a:{b:{c:{d:{if(q[q[q[b+128>>2]+4>>2]+20>>2]){r=b+220|0;Q=q[b>>2];C=q[q[Q+80>>2]+8>>2];n=b+224|0;c=q[b+220>>2];R=q[n>>2]-c>>2;I=q[q[b+128>>2]+4>>2];K=q[q[I+20>>2]>>2];g=q[K+4>>2];v=b+228|0;f=q[v>>2]-c>>2;if(g>>>0>f>>>0){if(o[b+232|0]&1){break c}vi(f+(g-R|0)|0,4,r,v,n);c=q[r>>2];f=q[v>>2]-c>>2}if(f>>>0>>0){break b}q[n>>2]=(g<<2)+c;S=a+80|0;e:{f:{L=a+88|0;f=q[a+80>>2];if(q[L>>2]-f>>2>>>0>>0){if(o[a+92|0]&1){break c}y=a+84|0;vi(g,4,S,L,y);q[a+84>>2]=q[a+80>>2];break f}y=a+84|0;q[y>>2]=f;if(g){break f}break e}T=1;c=0;g:{h:{i:{while(1){j:{k:{if(c>>>0>>0){a=q[r>>2];if(q[n>>2]-a>>2>>>0<=c>>>0){break j}d=q[a+(c<<2)>>2];break k}d=Kna(C);if(!d){a=q[r>>2];if(q[v>>2]-a>>2>>>0>>0){break b}q[n>>2]=a+(c<<2);break e}h=AA(C);if((h|0)==-1){pv(C,d,0);a=q[r>>2];if(q[v>>2]-a>>2>>>0>>0){break b}q[n>>2]=a+(c<<2);break e}f=yA(h);a=ii;if(d){q[d+88>>2]=h}if(Dma(C,d,f,a)){pv(C,d,0);a=q[r>>2];if(q[v>>2]-a>>2>>>0>>0){break b}q[n>>2]=a+(c<<2);break e}a=q[d+140>>2];q[d+136>>2]=q[d+136>>2]&-1025|1024;q[d+140>>2]=a;a=q[r>>2];if(q[n>>2]-a>>2>>>0<=c>>>0){break a}q[a+(c<<2)>>2]=d}a=q[I>>2];if((q[I+4>>2]-a|0)/176>>>0<=c>>>0){break i}a=a+w(c,176)|0;M=u[a+32>>2];s=u[a+16>>2];D=u[a+12>>2];E=u[a+8>>2];F=u[a+4>>2];z=u[a>>2];N=u[a+40>>2];O=u[a+36>>2];P=u[a+24>>2];p=u[a+20>>2];l:{if(c){A=F;B=E;i=D;break l}j=u[b+24>>2];U=u[b+48>>2];H=x(s*U);k=u[b+28>>2];V=u[b+52>>2];p=x(p*V);l=u[b+16>>2];W=u[b+56>>2];i=x(P*W);s=x(x(x(j*H)+x(k*p))-x(l*i));m=u[b+20>>2];A=x(x(j*i)+x(x(l*H)+x(m*p)));B=x(x(x(l*p)+x(k*i))-x(m*H));i=x(x(x(k*H)+x(m*i))-x(j*p));P=x(u[b+40>>2]+x(x(l*s)+x(x(x(j*A)+x(k*B))-x(m*i))));p=x(u[b+36>>2]+x(x(j*i)+x(x(x(k*s)+x(m*A))-x(l*B))));s=x(u[b+32>>2]+x(x(m*B)+x(x(x(l*A)+x(k*i))-x(j*s))));i=x(x(x(x(D*k)-x(z*l))-x(F*m))-x(E*j));B=x(x(x(F*l)+x(x(D*j)+x(E*k)))-x(z*m));A=x(x(x(z*j)+x(x(D*m)+x(F*k)))-x(E*l));z=x(x(x(E*m)+x(x(D*l)+x(z*k)))-x(F*j));N=x(N*W);O=x(O*V);M=x(M*U)}u[e+40>>2]=P;u[e+36>>2]=p;u[e+32>>2]=s;f=q[e+32>>2];a=q[e+36>>2];u[d+24>>2]=u[e+40>>2];q[d+16>>2]=f;q[d+20>>2]=a;u[e+28>>2]=i;u[e+24>>2]=B;u[e+20>>2]=A;u[e+16>>2]=z;h=q[e+16>>2];f=q[e+20>>2];a=q[e+28>>2];q[d+8>>2]=q[e+24>>2];q[d+12>>2]=a;q[d>>2]=h;q[d+4>>2]=f;u[e+8>>2]=N;u[e+4>>2]=O;u[e>>2]=M;f=q[e>>2];a=q[e+4>>2];u[d+40>>2]=u[e+8>>2];q[d+32>>2]=f;q[d+36>>2]=a;a=q[y>>2];if((a|0)==q[L>>2]){break h}q[y>>2]=a+4;q[a>>2]=d;c=c+1|0;T=g>>>0>c>>>0;if((c|0)!=(g|0)){continue}break g}break}break a}J(47308,47134,454,47319);G()}J(47330,47134,501,47354);G()}if(!g){break e}c=0;while(1){f=q[S>>2];a=q[y>>2]-f>>2;h=(c^-1)+g|0;if(a>>>0<=h>>>0){break a}d=q[f+(h<<2)>>2];if(h){if(h>>>0>=t[K+4>>2]){break d}b=a;a=q[q[K>>2]+w(h,80)>>2];if(b>>>0<=a>>>0){break a}a=q[f+(a<<2)>>2]}else{a=Q}ev(d,a);c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=T^1}fi=e+48|0;return c&1}J(47359,47371,68,47319);G()}J(47221,47134,461,47296);G()}J(47115,47134,474,47213);G()}J(47308,47134,447,47319);G()}function mJ(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,s=0,t=0,v=0,y=0,z=x(0),A=0,B=0,C=0,D=0,E=x(0),F=x(0),H=0,I=0,K=0,L=0,M=0,N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0);j=fi-160|0;fi=j;v=q[i+8>>2];a:{b:{c:{d:{e:{f:{B=q[d+8>>2];if((Wo(a,B)|0)==6){if(!b){break f}k=q[i+8>>2];m=q[k>>2];l=q[k+4>>2];n=l-m|0;s=(n|0)/288|0;t=s+1|0;if(t>>>0>(q[k+8>>2]-m|0)/288>>>0){break a}q[k+4>>2]=m+w(t,288);if(s>>>0>=(n+288|0)/288>>>0){break e}k=q[i+12>>2];q[i+12>>2]=k+1;q[l+272>>2]=k;y=v+60|0;I=q[y>>2];K=q[v+56>>2];k=li(39418);q[j+96>>2]=0;q[j+100>>2]=0;o[j+92|0]=3;q[j+88>>2]=8;q[j+80>>2]=k;q[j+84>>2]=ii;k=li(39427);q[j+120>>2]=0;q[j+124>>2]=0;o[j+116|0]=2;q[j+112>>2]=8;q[j+104>>2]=k;q[j+108>>2]=ii;k=li(39437);q[j+144>>2]=0;q[j+148>>2]=0;o[j+140|0]=4;q[j+136>>2]=8;q[j+128>>2]=k;q[j+132>>2]=ii;q[j+76>>2]=0;qL(3,j+80|0,j+76|0,0);if(h){C=v+56|0;D=v- -64|0;t=0;while(1){k=q[((t<<4)+d|0)+8>>2];if(!tn(a,k)){m=HI(a,k);q[j+68>>2]=k;q[j+64>>2]=a;n=q[c+4>>2];q[j+72>>2]=b;q[j+56>>2]=m;q[j+60>>2]=n;q[j+48>>2]=0;q[j+52>>2]=0;q[j+40>>2]=0;q[j+44>>2]=0;ji[q[c+24>>2]](j+56|0,3,j+80|0,q[j+76>>2],j+40|0);z=u[(t<<2)+f>>2];m=q[j+76>>2];n=q[j+40>>2];s=q[j+44>>2];Bl(j+16|0,a,k,3);u[j+28>>2]=z;k=s-n|0;s=(k>>>0)/(m>>>0)|0;if(k>>>0>=m>>>0){A=q[j+40>>2];L=s>>>0>1?s:1;m=(t<<6)+e|0;M=m;n=0;while(1){N=u[m+48>>2];O=u[m+32>>2];P=u[m>>2];Q=u[m+16>>2];R=u[m+52>>2];S=u[m+36>>2];T=u[m+4>>2];U=u[m+20>>2];k=w(n,36)+A|0;z=u[k>>2];E=u[k+4>>2];F=u[k+8>>2];u[k+8>>2]=u[M+56>>2]+x(x(x(z*u[m+8>>2])+x(E*u[m+24>>2]))+x(F*u[m+40>>2]));u[k+4>>2]=R+x(x(x(z*T)+x(E*U))+x(F*S));u[k>>2]=N+x(x(x(z*P)+x(E*Q))+x(F*O));u[k+20>>2]=u[j+16>>2]*u[k+20>>2];u[k+24>>2]=u[j+20>>2]*u[k+24>>2];u[k+28>>2]=u[j+24>>2]*u[k+28>>2];u[k+32>>2]=u[j+28>>2]*u[k+32>>2];n=n+1|0;if((L|0)!=(n|0)){continue}break}}n=q[D>>2];k=q[y>>2];if(s>>>0>(n-k|0)/36>>>0){if(o[v+68|0]&1){break b}vi(((n-q[C>>2]|0)/36|0)+(s>>>0>128?s:128)|0,36,C,D,y);n=q[D>>2];k=q[y>>2]}m=q[C>>2];A=s+((k-m|0)/36|0)|0;if(A>>>0>(n-m|0)/36>>>0){break a}q[y>>2]=m+w(A,36);si(k,q[j+40>>2],w(s,36));g:{if(o[j+52|0]&1){break g}k=q[j+40>>2];if(!k){break g}ki(k)}H=s+H|0}t=t+1|0;if((t|0)!=(h|0)){continue}break}}Mm(l);q[l+148>>2]=q[v+48>>2];b=q[v+52>>2];q[l+252>>2]=H;q[l+248>>2]=(I-K|0)/36;q[l+192>>2]=1;q[l+144>>2]=b;q[l+156>>2]=q[i+4>>2];b=Es(a,B);if(b>>>0>=5){break d}c=r[l+256|0];o[l+256|0]=c|1;b=b<<2;q[l+204>>2]=q[b+42556>>2];q[l+200>>2]=q[b+42536>>2];b=q[g>>2];o[l+256|0]=c|3;h:{i:{if(b){q[l+212>>2]=5;q[l+216>>2]=0;q[l+220>>2]=2;q[l+224>>2]=2;o[l+244|0]=r[b|0];o[l+245|0]=r[b+1|0];o[l+246|0]=r[b+2|0];n=l+247|0;o[n|0]=r[l+247|0]&208|r[b+3|0]&15;if(!r[i+16|0]){break h}o[i+16|0]=0;b=r[l+247|0]|16;break i}q[l+212>>2]=7;q[l+216>>2]=0;o[l+246|0]=255;p[l+244>>1]=65280;q[l+220>>2]=0;q[l+224>>2]=0;n=l+247|0;b=r[n|0]&-48|15}o[n|0]=b}k=Ds(a,B,j+56|0);if(q[j+56>>2]==2){if(!k){break c}k=q[k+48>>2]}if(!k){k=q[v+72>>2]}q[l+160>>2]=k;fi=j+160|0;return}J(41286,39661,1104,41323);G()}J(41341,39661,1105,41323);G()}J(39499,39220,447,39510);G()}q[j>>2]=b;mi(4,38938,40995,j);J(41019,39661,812,41021);G()}J(40832,39661,868,40848);G()}J(39145,39220,461,39299);G()}J(39472,39220,474,39491);G()}function Pu(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=0,D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=0,N=0;c=fi-160|0;fi=c;q[b+384>>2]=1065353216;q[b+388>>2]=1065353216;q[b+392>>2]=1065353216;q[b+396>>2]=1065353216;r=u[b+40>>2];l=u[b+36>>2];A=u[b+32>>2];i=u[b+8>>2];j=u[b+4>>2];m=u[b>>2];a:{g=q[a+320>>2];b:{if((g|0)==2){o=x(1);p=x(1);break b}c:{d:{if(!g){break d}h=s[b+560>>1];if((h|0)==65535){break d}v=q[a+32>>2];if(h>>>0>=(q[a+36>>2]-v|0)/576>>>0){break a}h=v+w(h,576)|0;o=u[h+384>>2];p=u[h+388>>2];break c}h=q[a+12>>2];p=x(x(t[h+24>>2])/x(t[a+364>>2]));o=x(x(t[h+20>>2])/x(t[a+360>>2]));if(g){break c}if(s[b+560>>1]!=65535){break b}}d=o;e=p;e:{f:{g:{h:{v=q[b+412>>2];switch(v>>>16&3){case 1:break g;case 0:break h;default:break e}}d=op?o:p}e=d}C=q[a+12>>2];i:{j:{k:{l:{if(!g){break l}h=s[b+560>>1];if((h|0)==65535){break l}g=(q[a+36>>2]-q[a+32>>2]|0)/576|0;if(h>>>0>>0){break k}break a}M=q[a+364>>2];N=q[a+360>>2];if(!g){break j}h=s[b+560>>1];if((h|0)==65535){break j}g=(q[a+36>>2]-q[a+32>>2]|0)/576|0}f=x(0);if(g>>>0>h>>>0){break i}break a}k=x(x(x(t[C+20>>2])-x(d*x(N>>>0)))*x(.5));f=x(x(x(t[C+24>>2])-x(e*x(M>>>0)))*x(.5))}u[b+388>>2]=e;u[b+384>>2]=d;g=(v>>>10&3)-1>>>0<2;j=x(x(j*(g?p:e))+(g?x(0):f));g=(v>>>8&3)-1>>>0<2;m=x(x(m*(g?o:d))+(g?x(0):k));i=x(i+x(0))}g=q[b+20>>2];h=q[b+16>>2];u[c+136>>2]=u[b+24>>2];q[c+128>>2]=h;q[c+132>>2]=g;Jo(c+144|0,c+128|0);n=u[c+144>>2];e=u[c+148>>2];f=u[c+152>>2];k=u[c+156>>2];d=x(x(1)/x(F(x(x(x(x(n*n)+x(e*e))+x(f*f))+x(k*k)))));e=x(e*d);u[c+148>>2]=e;f=x(f*d);u[c+152>>2]=f;k=x(k*d);u[c+156>>2]=k;d=x(n*d);u[c+144>>2]=d;u[b+376>>2]=i;u[b+372>>2]=j;u[b+368>>2]=m;i=x(f+f);y=x(d*i);j=x(e+e);B=x(k*j);D=x(y-B);n=x(D*x(0));E=x(e*i);z=x(d+d);H=x(k*z);I=x(E+H);K=x(I*x(0));m=x(r*u[b+392>>2]);r=x(x(1)-x(d*z));z=x(e*j);L=x(r-z);u[b+360>>2]=x(n+K)+x(m*L);e=x(l*u[b+388>>2]);l=x(L*x(0));u[b+344>>2]=x(n+x(e*I))+l;n=x(A*u[b+384>>2]);u[b+328>>2]=x(x(n*D)+K)+l;l=x(E-H);d=x(d*j);j=x(k*i);k=x(d+j);A=x(k*x(0));i=x(f*i);f=x(r-i);r=x(f*x(0));u[b+356>>2]=x(l*m)+x(A+r);y=x(y+B);B=x(y*m);d=x(d-j);j=x(d*x(0));i=x(x(x(1)-z)-i);m=x(i*x(0));u[b+352>>2]=B+x(j+m);l=x(l*x(0));u[b+340>>2]=l+x(A+x(e*f));f=x(y*x(0));u[b+336>>2]=f+x(x(e*d)+m);u[b+324>>2]=l+x(x(n*k)+r);u[b+320>>2]=f+x(j+x(n*i));if(!(s[b+560>>1]==65535|q[a+320>>2]!=1)){q[c+24>>2]=0;q[c+28>>2]=0;u[c+20>>2]=x(1)/p;q[c+32>>2]=0;q[c+36>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+40>>2]=1065353216;q[c+52>>2]=0;q[c+56>>2]=0;q[c+60>>2]=1065353216;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=x(1)/o;q[c+12>>2]=0;q[c+16>>2]=0;Dk(c- -64|0,c,b+320|0);u[b+320>>2]=u[c+64>>2];u[b+324>>2]=u[c+68>>2];u[b+328>>2]=u[c+72>>2];u[b+332>>2]=u[c+76>>2];u[b+336>>2]=u[c+80>>2];u[b+340>>2]=u[c+84>>2];u[b+344>>2]=u[c+88>>2];u[b+348>>2]=u[c+92>>2];u[b+352>>2]=u[c+96>>2];u[b+356>>2]=u[c+100>>2];u[b+360>>2]=u[c+104>>2];u[b+364>>2]=u[c+108>>2];u[b+368>>2]=u[c+112>>2];u[b+372>>2]=u[c+116>>2];u[b+376>>2]=u[c+120>>2];u[b+380>>2]=u[c+124>>2]}q[b+412>>2]=q[b+412>>2]&-2097153;fi=c+160|0;return}J(186773,186599,447,186784);G()}function yO(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;b=fi-1680|0;fi=b;l=1;f=Ni(a,1,b+1672|0);d=q[b+1672>>2];c=b+632|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;a:{if((d|0)>=1){m=f+d|0;n=b+608|1;j=b+1668|0;g=1;while(1){c=r[f|0];b:{if((c|0)!=37){e=q[b+632>>2];if(j>>>0<=e>>>0){Pk(b+632|0);e=q[b+632>>2];c=r[f|0]}q[b+632>>2]=e+1;o[e|0]=c;f=f+1|0;break b}h=f+1|0;c=r[f+1|0];if((c|0)==37){e=37;c=q[b+632>>2];if(j>>>0<=c>>>0){Pk(b+632|0);e=r[h|0];c=q[b+632>>2]}q[b+632>>2]=c+1;o[c|0]=e;f=f+2|0;break b}d=0;f=h;c:{if(!c){break c}while(1){if((c&255)>>>0>63){d=c;break c}k=c&31;if((c&63)>>>0>=32){e=1<>>32-k;k=1<>>0>=6){ni(a,132054,0);d=r[f|0]}c=(d&255)-48>>>0<10?e:c;c=r[c|0]-48>>>0<10?c+1|0:c;f=r[c|0];if((f|0)==46){f=r[c+1|0]-48>>>0<10;d=f?c+2|0:c+1|0;c=r[(f?2:1)+c|0]-48>>>0<10?d+1|0:d;f=r[c|0]}if((f&255)-48>>>0<=9){ni(a,132086,0)}g=g+1|0;o[b+608|0]=37;f=(c-h|0)+1|0;o[jw(n,h,f)+f|0]=0;f=c+1|0;d:{e:{f:{g:{h:{i:{j:{k:{c=o[c|0];switch(c-69|0){case 0:case 2:case 32:case 33:case 34:break e;case 46:break g;case 44:break h;case 19:case 42:case 48:case 51:break i;case 31:case 36:break j;case 30:break k;default:break f}}c=b;i=Ai(a,g);l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}q[c+16>>2]=d;Sm(b+96|0,b+608|0,b+16|0);break d}c=Fi(b+608|0)+(b+608|0)|0;d=c-1|0;h=r[d|0];o[d|0]=108;o[d+1|0]=0;o[c+1|0]=0;o[c|0]=h;c=b;i=Ai(a,g);m:{if(y(i)<2147483648){d=~~i;break m}d=-2147483648}q[c+32>>2]=d;Sm(b+96|0,b+608|0,b+32|0);break d}c=Fi(b+608|0)+(b+608|0)|0;d=c-1|0;h=r[d|0];o[d|0]=108;o[d+1|0]=0;o[c+1|0]=0;o[c|0]=h;c=b;i=Ai(a,g);n:{if(i<4294967296&i>=0){d=~~i>>>0;break n}d=0}q[c+48>>2]=d;Sm(b+96|0,b+608|0,b+48|0);break d}c=Ni(a,g,b+1676|0);e=q[b+632>>2];if(j>>>0<=e>>>0){Pk(b+632|0);e=q[b+632>>2]}q[b+632>>2]=e+1;o[e|0]=34;d=q[b+1676>>2];q[b+1676>>2]=d-1;if(d){while(1){o:{p:{q:{r:{s:{t:{e=o[c|0];switch(e|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12: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:break p;case 0:break q;case 13:break r;case 10:case 34:break s;default:break t}}if((e|0)!=92){break p}}e=q[b+632>>2];if(j>>>0<=e>>>0){Pk(b+632|0);e=q[b+632>>2]}q[b+632>>2]=e+1;o[e|0]=92;e=q[b+632>>2];if(j>>>0<=e>>>0){Pk(b+632|0);e=q[b+632>>2]}d=r[c|0];q[b+632>>2]=e+1;o[e|0]=d;break o}Wm(b+632|0,132131,2);break o}Wm(b+632|0,132134,4);break o}d=q[b+632>>2];if(j>>>0<=d>>>0){Pk(b+632|0);e=r[c|0];d=q[b+632>>2]}q[b+632>>2]=d+1;o[d|0]=e}d=q[b+1676>>2];q[b+1676>>2]=d-1;c=c+1|0;if(d){continue}break}}c=q[b+632>>2];if(j>>>0<=c>>>0){Pk(b+632|0);c=q[b+632>>2]}q[b+632>>2]=c+1;o[c|0]=34;break b}c=Ni(a,g,b+1676|0);if(!(Nj(b+608|0,46)|t[b+1676>>2]<100)){Hi(a,g);Wr(b+632|0);break b}q[b+80>>2]=c;Sm(b+96|0,b+608|0,b+80|0);break d}q[b>>2]=c;l=ni(a,132020,b);break a}v[b+64>>3]=Ai(a,g);bt(b+96|0,b+608|0,b- -64|0)}Wm(b+632|0,b+96|0,Fi(b+96|0))}if(f>>>0>>0){continue}break}}bm(b+632|0)}fi=b+1680|0;return l|0}function Sla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-176|0;fi=f;d=q[a+8>>2];c=q[q[a+12>>2]>>2];b=q[a+16>>2];e=q[b+64>>2];b=q[b+68>>2];a:{b:{if((li(34734)|0)!=(e|0)|(ii|0)!=(b|0)){b=q[a+16>>2];e=q[b+64>>2];b=q[b+68>>2];if((li(34739)|0)!=(e|0)|(ii|0)!=(b|0)){break b}}if(!q[c+36>>2]){if(q[c+60>>2]){q[f+32>>2]=q[q[q[c+32>>2]>>2]>>2];mi(3,34535,34750,f+32|0);d=0;break a}q[c+56>>2]=q[c+56>>2]&-524289;e=q[a+16>>2];b=q[e+4>>2];q[c+64>>2]=q[e>>2];q[c+68>>2]=b;b=q[e+28>>2];q[c+88>>2]=q[e+24>>2];q[c+92>>2]=b;b=q[e+20>>2];q[c+80>>2]=q[e+16>>2];q[c+84>>2]=b;b=q[e+12>>2];q[c+72>>2]=q[e+8>>2];q[c+76>>2]=b;e=q[a+16>>2];b=q[e+36>>2];q[c+96>>2]=q[e+32>>2];q[c+100>>2]=b;b=q[e+44>>2];q[c+104>>2]=q[e+40>>2];q[c+108>>2]=b;b=q[e+52>>2];q[c+112>>2]=q[e+48>>2];q[c+116>>2]=b;b=q[e+60>>2];q[c+120>>2]=q[e+56>>2];q[c+124>>2]=b;a=q[a+16>>2];e=q[a+64>>2];b=q[a+68>>2];a=li(34739);g=q[d>>2];d=q[q[q[c+32>>2]>>2]>>2];if((a|0)==(e|0)&(b|0)==(ii|0)){q[c+60>>2]=UF(g,d);d=0;break a}if(Ij(g,d,c+36|0)){q[f+16>>2]=q[q[q[c+32>>2]>>2]>>2];mi(4,34535,35435,f+16|0);d=-1e3;break a}d=0;a=c- -64|0;if(!po(q[a>>2],q[a+4>>2])){break a}a=Zj(c+96|0,a,li(34522),ii,0,0,0,0);if(!a){break a}q[f>>2]=a;mi(3,34535,34543,f);break a}a=q[a+16>>2];q[f+48>>2]=q[q[q[c+32>>2]>>2]>>2];Om(a,34793,f+48|0);d=0;break a}b=q[a+16>>2];e=q[b+64>>2];b=q[b+68>>2];if((li(34853)|0)==(e|0)&(ii|0)==(b|0)){b=q[c+60>>2];if(b){sn(b);q[c+60>>2]=0}b=q[c+36>>2];if(b){Di(q[d>>2],b);d=0;q[c+36>>2]=0;q[c+56>>2]=q[c+56>>2]&-983041|524288;b=q[a+16>>2];a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;a=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=a;a=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=a;a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;break a}a=q[a+16>>2];q[f+64>>2]=q[q[q[c+32>>2]>>2]>>2];Om(a,34860,f- -64|0);d=0;break a}b=q[a+16>>2];e=q[b+64>>2];b=q[b+68>>2];if((li(34927)|0)==(e|0)&(ii|0)==(b|0)){b=q[c+36>>2];if(b){if(!(o[c+58|0]&1)){Is(b);q[c+56>>2]=q[c+56>>2]|65536;d=0;break a}a=q[a+16>>2];q[f+96>>2]=q[q[q[c+32>>2]>>2]>>2];Om(a,34932,f+96|0);d=0;break a}a=q[a+16>>2];q[f+80>>2]=q[q[q[c+32>>2]>>2]>>2];Om(a,35002,f+80|0);d=0;break a}b=q[a+16>>2];e=q[b+64>>2];b=q[b+68>>2];if((li(35075)|0)==(e|0)&(ii|0)==(b|0)){c:{if(!(o[c+58|0]&1)){break c}b=q[c+36>>2];if(!b){break c}Ms(b);q[c+56>>2]=q[c+56>>2]&-65537;d=0;break a}a=q[a+16>>2];q[f+112>>2]=q[q[q[c+32>>2]>>2]>>2];Om(a,35081,f+112|0);d=0;break a}d=q[a+16>>2];b=d;e=q[b+64>>2];a=q[59647];b=q[b+68>>2];if((e|0)==q[a+8>>2]&(b|0)==q[a+12>>2]){a=q[c+36>>2];if(a){b=q[c+56>>2];if(!(b&393216)){q[c+56>>2]=b|262144;d=0;if(b&65536){break a}Is(a);q[c+56>>2]=q[c+56>>2]|65536;break a}q[f+144>>2]=q[q[q[c+32>>2]>>2]>>2];Om(d,35154,f+144|0);d=0;break a}q[f+128>>2]=q[q[q[c+32>>2]>>2]>>2];Om(d,35002,f+128|0);d=0;break a}a=q[59648];if((e|0)==q[a+8>>2]&(b|0)==q[a+12>>2]){a=q[c+56>>2];if((a&393216)==393216){q[c+56>>2]=a&-262145;d=0;break a}q[f+160>>2]=q[q[q[c+32>>2]>>2]>>2];Om(d,35214,f+160|0);d=0;break a}if(q[d+80>>2]==q[60870]){u[c+48>>2]=u[d+96>>2];q[c+44>>2]=q[d+100>>2];d=0;break a}d=0;if((li(35279)|0)!=(e|0)|(b|0)!=(ii|0)){break a}q[c+44>>2]=0;q[c+48>>2]=1065353216}fi=f+176|0;return d|0}function LB(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,s=0,t=0,u=0,v=0,w=0;a:{i=r[a+75|0];b:{if(i>>>0>250){break b}e=r[a+74|0];if((e&5)==4|r[a+73|0]+(e&1)>>>0>i>>>0){break b}u=r[a+72|0];if((u|0)>2]){break b}l=q[a+44>>2];if((l|0)<1){break b}d=q[a+48>>2];if(!(!d|(d|0)==(l|0))){break b}m=q[a+12>>2];p=l-1|0;d=q[m+(p<<2)>>2];if((d&63)!=30){break b}h=d;if((b|0)<1){break b}w=(e&6)!=2;k=p;while(1){n=(g<<2)+m|0;h=q[n>>2];s=h&63;if(s>>>0>37){break a}j=h>>>6&255;if(j>>>0>=i>>>0){break a}e=r[s+126784|0];t=e<<24>>24;d=0;f=0;c:{d:{switch(e&3){case 0:f=h>>>23|0;e:{f:{switch(e>>>4&3){case 0:if(!f){break e}break a;case 2:if(f>>>0>>0){break e}break a;case 3:break f;default:break e}}if((h|0)<=-1){if(q[a+40>>2]>(f&255)){break e}break a}if(f>>>0>>0){break e}break a}o=h>>>14|0;e=o&511;d=e;g:{switch(t>>>2&3){case 0:d=0;h=0;if(!e){break c}break b;case 2:d=e;if(d>>>0>>0){break c}break a;case 3:break g;default:break c}}if(h&4194304){d=e;if(q[a+40>>2]>(o&255)){break c}break a}d=e;if(d>>>0>>0){break c}break a;case 1:f=h>>>14|0;if((e&48)!=48){break c}h=0;if(q[a+40>>2]>(f|0)){break c}break b;case 2:break d;default:break c}}o=h>>>14|0;f=o-131071|0;if((e&48)!=32){break c}h=0;v=f+g|0;d=v+1|0;if((d|0)<0|(d|0)>=(l|0)){break b}if((d|0)<1){d=0;break c}d=(g+o|0)-131070|0;e=0;h:{while(1){if((q[(v-e<<2)+m>>2]&8372287)!=34){break h}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}d=0;if(e&1){break b}}if((t|0)<=-1){h=0;if((q[n+4>>2]&63)!=22|(g+2|0)>=(l|0)){break b}}k=(c|0)==(j|0)?(t&64)>>>6|0?g:k:k;i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(s-2|0){case 0:if((d|0)!=1){break i}h=0;if((g+2|0)>=(l|0)){break b}if((q[n+4>>2]&8372287)!=34){break i}break b;case 1:k=(c|0)<(j|0)?k:(c|0)>(f|0)?k:g;break i;case 2:case 6:if((f|0)<(u|0)){break i}break a;case 3:case 5:if(q[(q[a+8>>2]+(f<<4)|0)+8>>2]==4){break i}break a;case 9:d=j+1|0;if(d>>>0>=i>>>0){break a}k=(c|0)==(d|0)?g:k;break i;case 19:if((d|0)>(f|0)){break i}break a;case 31:h=0;if(!d){break b}e=d;d=j+2|0;if(e+d>>>0>=i>>>0){break b}k=(c|0)<(d|0)?k:g;break i;case 35:break k;case 34:break l;case 32:break m;case 28:break n;case 26:case 27:break o;case 20:break p;case 29:case 30:break q;default:break i}}if(j+3>>>0>>0){break p}break a}d=(f+g|0)+1|0;g=((b|0)<(d|0)?0:(c|0)==255?0:(d|0)<=(g|0)?0:f)+g|0;break i}h=0;if((f+j|0)>(i|0)?f:0){break b}r:{if(!d){d=q[n+4>>2];e=d&63;if((e|0)!=34?e-28>>>0>=3:0){break b}if(d>>>0<=8388607){break r}break b}d=d-1|0;if(!d){break r}if((d+j|0)>(i|0)){break b}}k=(c|0)<(j|0)?k:g;break i}if((f|0)<2|((f+j|0)-1|0)<=(i|0)){break i}break a}h=0;if((f+j|0)>=(i|0)?(f|0)>=1:0){break b}if(d){break i}g=g+1|0;if((p|0)>(g|0)){break i}break b}h=0;if(q[a+52>>2]<=(f|0)){break b}d=r[q[q[a+16>>2]+(f<<2)>>2]+72|0];f=d+g|0;if((f|0)>=(l|0)){break b}e=1;if(!d){break j}while(1){if(r[(e+g<<2)+m|0]&59){break b}j=(d|0)==(e|0);e=e+1|0;if(!j){continue}break}break j}h=0;if(w){break b}if(!f){d=q[n+4>>2];e=d&63;if(((e|0)!=34?e-28>>>0>=3:0)|d>>>0>8388607){break b}}if(((f+j|0)-1|0)>(i|0)){break b}break i}g=(c|0)==255?g:f}g=g+1|0;if((g|0)<(b|0)){continue}break}h=q[(k<<2)+m>>2]}return h}return 0}function Gma(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;b=fi-448|0;fi=b;l=Ti(b+424|0,a,0,15813,799);Ki(a);c=yi(a,-1,q[72645],18648);oi(a,-2);g=q[c+4>>2];q[b+416>>2]=0;q[b+420>>2]=0;q[b+408>>2]=0;q[b+412>>2]=0;q[b+400>>2]=0;q[b+404>>2]=0;q[b+392>>2]=0;q[b+396>>2]=0;fm(a,b+392|0);q[b+384>>2]=0;q[b+388>>2]=0;q[b+376>>2]=0;q[b+380>>2]=0;q[b+368>>2]=0;q[b+372>>2]=0;q[b+360>>2]=0;q[b+364>>2]=0;ok(a,1,b+360|0,b+392|0);c=q[q[q[c+4>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}d=q[c+4224>>2];e=q[c+4228>>2]}if((d|0)!=q[b+360>>2]|(e|0)!=q[b+364>>2]){ni(a,15853,0)}b:{if($j(a,2)){d=li(_i(a,2,0));e=ii;break b}d=Qk(a,2);e=ii}c=b+320|0;q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;j=c;k=un(q[q[g+80>>2]+8>>2],q[b+376>>2],q[b+380>>2]);c:{if(!k){q[b>>2]=Ei(q[b+376>>2],q[b+380>>2]);c=ni(a,15914,b);break c}c=iv(a,3,j);d:{if(q[a+8>>2]-q[a+12>>2]>>4<4){break d}vj(a,4,5);Hi(a,4);zi(a,-1,15025);g=ri(a,-1);e:{if(!g){f=0;break e}h=Pj(a,-1);i=ii;f=1}oi(a,-2);zi(a,-1,15029);f:{if(!ri(a,-1)){break f}if(g){c=ni(a,15035,0);break c}if(!Gj(a,-1)){c=ni(a,15088,0);break c}g=gj(a,-1);h=g-1|0;if((g|0)>0){break f}i=Ei(d,e);q[b+196>>2]=h;q[b+192>>2]=i;c=ni(a,15956,b+192|0);break c}oi(a,-2);oi(a,-2)}if(!c){o[b+304|0]=f;c=r[b+316|0]|r[b+317|0]<<8|(r[b+318|0]<<16|r[b+319|0]<<24);o[b+308|0]=c;o[b+309|0]=c>>>8;o[b+310|0]=c>>>16;o[b+311|0]=c>>>24;c=r[b+313|0]|r[b+314|0]<<8|(r[b+315|0]<<16|r[b+316|0]<<24);o[b+305|0]=c;o[b+306|0]=c>>>8;o[b+307|0]=c>>>16;o[b+308|0]=c>>>24;c=q[b+308>>2];q[b+184>>2]=q[b+304>>2];q[b+188>>2]=c;g=h;q[b+296>>2]=g;c=i;q[b+300>>2]=c;q[b+176>>2]=g;q[b+180>>2]=c;c=YJ(k,q[b+384>>2],q[b+388>>2],d,e,b+176|0,j)}g:{switch(c+12|0){case 11:h:{if(!ri(a,1)){c=16016;break h}Bi(a,16020,0);Hi(a,1);Jl(a,2);c=_i(a,-1,0);oi(a,-2)}q[b+36>>2]=Ei(d,e);q[b+32>>2]=c;c=ni(a,15686,b+32|0);break c;case 8:case 9:j=ap(b+216|0);o[b+208|0]=f;c=r[b+316|0]|r[b+317|0]<<8|(r[b+318|0]<<16|r[b+319|0]<<24);o[b+212|0]=c;o[b+213|0]=c>>>8;o[b+214|0]=c>>>16;o[b+215|0]=c>>>24;c=r[b+313|0]|r[b+314|0]<<8|(r[b+315|0]<<16|r[b+316|0]<<24);o[b+209|0]=c;o[b+210|0]=c>>>8;o[b+211|0]=c>>>16;o[b+212|0]=c>>>24;c=q[b+212>>2];q[b+72>>2]=q[b+208>>2];q[b+76>>2]=c;f=h;q[b+200>>2]=f;q[b+204>>2]=i;q[b+64>>2]=f;q[b+68>>2]=i;Xq(k,q[b+384>>2],q[b+388>>2],d,e,b- -64|0,j);d=Ei(d,e);e=_i(a,1,0);c=b;f=q[j+32>>2];h=18732;i:{if(f>>>0>6){break i}h=q[(f<<2)+236716>>2]}q[c+56>>2]=h;q[b+52>>2]=e;q[b+48>>2]=d;c=ni(a,16021,b+48|0);break c;case 1:if(f){q[b+96>>2]=Ei(d,e);c=ni(a,15406,b+96|0);break c}q[b+84>>2]=Ei(d,e);q[b+80>>2]=h+1;c=ni(a,15486,b+80|0);break c;case 0:if(!f){q[b+112>>2]=Ei(d,e);c=ni(a,15521,b+112|0);break c}i=Ei(h,i);q[b+132>>2]=Ei(d,e);q[b+128>>2]=i;c=ni(a,15604,b+128|0);break c;case 7:i=Ei(q[b+384>>2],q[b+388>>2]);q[b+148>>2]=_i(a,1,0);q[b+144>>2]=i;c=ni(a,16060,b+144|0);break c;case 4:c=ni(a,16110,0);break c;case 3:q[b+160>>2]=Ei(d,e);c=ni(a,16157,b+160|0);break c;case 12:break c;default:break g}}q[b+16>>2]=c;c=ni(a,16205,b+16|0)}Si(l);fi=b+448|0;return c|0}function ki(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}d=a-8|0;b=q[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=q[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=q[d+8>>2];b=b>>>3|0;c=q[d+12>>2];if((c|0)==(e|0)){q[240914]=q[240914]&owa(-2,b);break b}q[e+12>>2]=c;q[c+8>>2]=e;break b}h=q[d+24>>2];b=q[d+12>>2];c:{if((d|0)!=(b|0)){c=q[d+8>>2];q[c+12>>2]=b;q[b+8>>2]=c;break c}d:{e=d+20|0;c=q[e>>2];if(c){break d}e=d+16|0;c=q[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=q[e>>2];if(c){continue}e=b+16|0;c=q[b+16>>2];if(c){continue}break}q[g>>2]=0}if(!h){break b}e=q[d+28>>2];c=(e<<2)+963960|0;e:{if(q[c>>2]==(d|0)){q[c>>2]=b;if(b){break e}q[240915]=q[240915]&owa(-2,e);break b}q[h+(q[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}q[b+24>>2]=h;c=q[d+16>>2];if(c){q[b+16>>2]=c;q[c+24>>2]=b}c=q[d+20>>2];if(!c){break b}q[b+20>>2]=c;q[c+24>>2]=b;break b}b=q[f+4>>2];if((b&3)!=3){break b}q[240916]=a;q[f+4>>2]=b&-2;q[d+4>>2]=a|1;q[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=q[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(q[240920]==(f|0)){q[240920]=d;a=q[240917]+a|0;q[240917]=a;q[d+4>>2]=a|1;if(q[240919]!=(d|0)){break a}q[240916]=0;q[240919]=0;return}if(q[240919]==(f|0)){q[240919]=d;a=q[240916]+a|0;q[240916]=a;q[d+4>>2]=a|1;q[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=q[f+8>>2];b=b>>>3|0;e=q[f+12>>2];if((c|0)==(e|0)){q[240914]=q[240914]&owa(-2,b);break g}q[c+12>>2]=e;q[e+8>>2]=c;break g}h=q[f+24>>2];b=q[f+12>>2];h:{if((f|0)!=(b|0)){c=q[f+8>>2];q[c+12>>2]=b;q[b+8>>2]=c;break h}i:{e=f+20|0;c=q[e>>2];if(c){break i}e=f+16|0;c=q[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=q[e>>2];if(c){continue}e=b+16|0;c=q[b+16>>2];if(c){continue}break}q[g>>2]=0}if(!h){break g}e=q[f+28>>2];c=(e<<2)+963960|0;j:{if(q[c>>2]==(f|0)){q[c>>2]=b;if(b){break j}q[240915]=q[240915]&owa(-2,e);break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}q[b+24>>2]=h;c=q[f+16>>2];if(c){q[b+16>>2]=c;q[c+24>>2]=b}c=q[f+20>>2];if(!c){break g}q[b+20>>2]=c;q[c+24>>2]=b}q[d+4>>2]=a|1;q[a+d>>2]=a;if(q[240919]!=(d|0)){break f}q[240916]=a;return}q[f+4>>2]=b&-2;q[d+4>>2]=a|1;q[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+963696|0;c=q[240914];a=1<>2]}q[b+8>>2]=d;q[a+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=a;return}e=31;q[d+16>>2]=0;q[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}q[d+28>>2]=e;g=(e<<2)+963960|0;l:{m:{c=q[240915];b=1<>2]=d;q[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=q[g>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=q[g+16>>2];if(b){continue}break}q[g+16>>2]=d;q[d+24>>2]=c}q[d+12>>2]=d;q[d+8>>2]=d;break l}a=q[c+8>>2];q[a+12>>2]=d;q[c+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=c;q[d+8>>2]=a}a=q[240922]-1|0;q[240922]=a;if(a){break a}d=964112;while(1){a=q[d>>2];d=a+8|0;if(a){continue}break}q[240922]=-1}}function sp(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,p=0,s=0,u=0,w=0;s=fi-112|0;fi=s;a:{b:{switch(q[c+8>>2]-1|0){case 2:j=v[c>>3];if(j==0){f=q[b+16>>2];d=f;break a}f=q[b+16>>2];xwa(+j);e=uwa(1)|0;d=uwa(0)|0;e=d+e|0;d=f+((e>>>0)%((-1<>>0)<<5)|0;break a;case 3:f=q[b+16>>2];d=f+((q[q[c>>2]+8>>2]&(-1<>2];d=f+((q[c>>2]&(-1<>2];d=f+(t[c>>2]%((-1<>>0)<<5)|0;break a;default:break b}}f=q[b+16>>2];d=f+(t[c>>2]%((-1<>>0)<<5)|0}c:{d:{if(q[d+8>>2]?0:(d|0)!=128040){break d}e=q[b+20>>2];e:{f:{g:{h:{i:{j:{k:{while(1){i=e;e=e-32|0;q[b+20>>2]=e;if(f>>>0>=i>>>0){break k}if(q[i-8>>2]){continue}break}switch(q[d+24>>2]-1|0){case 1:break g;case 0:break h;case 3:break i;case 2:break j;default:break f}}n=qi(s,0,108);d=q[b+28>>2];h=1;i=1;while(1){l:{g=i;if((d|0)<(g|0)){g=d;if((d|0)<(h|0)){break l}}e=0;if((g|0)>=(h|0)){m=q[b+12>>2];while(1){e=(q[(m+(h<<4)|0)-8>>2]!=0)+e|0;p=(g|0)!=(h|0);h=h+1|0;if(p){continue}break}h=g+1|0}g=(k<<2)+n|0;q[g>>2]=q[g>>2]+e;i=i<<1;u=e+u|0;k=k+1|0;if((k|0)!=27){continue}}break}h=-1<>2]){d=0;m:{if(q[e+24>>2]!=3){break m}j=v[e+16>>3];n:{if(y(j)<2147483648){e=~~j;break n}e=-2147483648}if(+(e|0)!=j){break m}e=e-1|0;if(e>>>0>67108863){break m}d=1;e=(rx(e)<<2)+n|0;q[e+4>>2]=q[e+4>>2]+1}i=d+i|0;g=g+1|0}if(h){h=h-1|0;f=q[b+16>>2];continue}break}i=i+u|0;d=0;e=0;o:{if(q[c+8>>2]!=3){break o}j=v[c>>3];p:{if(y(j)<2147483648){f=~~j;break p}f=-2147483648}if(+(f|0)!=j){break o}f=f-1|0;if(f>>>0>67108863){break o}e=1;f=(rx(f)<<2)+n|0;q[f+4>>2]=q[f+4>>2]+1}h=1;m=e+i|0;q:{if((m|0)<1){i=0;k=0;break q}k=0;i=0;e=0;f=0;while(1){w=k;k=q[(f<<2)+n>>2];p=(k|0)>0;l=d;d=e+k|0;l=p&(l|0)<(d|0);k=l?h:w;i=l?d:i;e=p?d:e;if((m|0)==(e|0)){break q}f=f+1|0;d=h&2147483647;h=h<<1;if((d|0)<(m|0)){continue}break}}Aw(a,b,k,((g+u|0)-i|0)+1|0);d=Zr(b,c);o[b+6|0]=0;if((d|0)!=126472){break c}r:{s:{switch(q[c+8>>2]){case 0:Ck(a,127977,0);d=sp(a,b,c);break c;case 3:break s;default:break r}}j=v[c>>3];if(j==j){break r}Ck(a,127996,0)}d=sp(a,b,c);break c}j=v[d+16>>3];if(j==0){break e}l=f;xwa(+j);h=uwa(1)|0;g=uwa(0)|0;f=g+h|0;f=l+((f>>>0)%((-1<>>0)<<5)|0;break e}f=((q[q[d+16>>2]+8>>2]&(-1<>2]&(-1<>2]%((-1<>>0)<<5)+f|0;break e}f=(t[d+16>>2]%((-1<>>0)<<5)+f|0}if((d|0)!=(f|0)){while(1){g=f;f=q[f+28>>2];if((f|0)!=(d|0)){continue}break}q[g+28>>2]=e;g=q[d+28>>2];q[e+24>>2]=q[d+24>>2];q[e+28>>2]=g;g=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=g;g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;g=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=g;q[d+28>>2]=0;q[d+8>>2]=0;break d}q[i-4>>2]=q[d+28>>2];q[d+28>>2]=e;d=e}e=q[c+4>>2];q[d+16>>2]=q[c>>2];q[d+20>>2]=e;q[d+24>>2]=q[c+8>>2];if(!(r[b+5|0]&4)|(!(r[q[c>>2]+5|0]&3)|q[c+8>>2]<4)){break c}a=q[a+16>>2];o[b+5|0]=r[b+5|0]&251;q[b+24>>2]=q[a+40>>2];q[a+40>>2]=b}fi=s+112|0;return d}function U5(a,b){var c=0,d=0,e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0,m=0,n=x(0),v=0,y=0,z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=0,H=0,I=0,K=0;a:{b:{c:{d:{if(b){d=b&65535;c=q[a>>2];if(d>>>0>=q[a+4>>2]-c>>2>>>0){break c}e=q[c+(d<<2)>>2];if(s[e+80>>1]==(b>>>16|0)){break d}mi(4,134802,135498,0)}return}c=q[e+72>>2];if(c){ki(c);q[e+16>>2]=0;q[e+72>>2]=0}m=q[e+64>>2];i=q[m+16>>2];e:{f:{g:{d=(q[m+4>>2]-q[m>>2]|0)/18568|0;g=q[e>>2];c=q[e+4>>2]-g|0;f=(c|0)/288|0;h:{if((d|0)==(f|0)){break h}i:{if(d>>>0>=f>>>0){break i}if(d>>>0<(c|0)/288>>>0){c=d;while(1){g=w(c,288)+g|0;if(o[g+60|0]&1){break b}vi(0,160,g+48|0,g+56|0,g+52|0);c=c+1|0;if((f|0)==(c|0)){break i}g=q[e>>2];if((q[e+4>>2]-g|0)/288>>>0>c>>>0){continue}break}}break c}if(o[e+12|0]&1){break b}vi(d,288,e,e+8|0,e+4|0);c=q[e>>2];if(d>>>0>(q[e+8>>2]-c|0)/288>>>0){break g}q[e+4>>2]=c+w(d,288);if(d>>>0<=f>>>0){break h}qi(c+w(f,288)|0,0,w(d-f|0,288));g=Uj();c=f;while(1){k=q[e>>2];if((q[e+4>>2]-k|0)/288>>>0<=c>>>0){break c}j=s[a+34>>1];p[a+34>>1]=j+1;if(t[i+4>>2]<=c>>>0){break a}k=k+w(c,288)|0;j=j+(c+g|0)|0;_y(k,q[i>>2]+(c<<7)|0,j);q[k+260>>2]=j;c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=d>>>0>f>>>0?f:d;if(d){c=0;while(1){f=q[e>>2];if((q[e+4>>2]-f|0)/288>>>0<=c>>>0){break c}if(t[i+4>>2]<=c>>>0){break a}f=f+w(c,288)|0;_y(f,q[i>>2]+(c<<7)|0,q[f+256>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=q[e+4>>2];d=q[e>>2];i=k-d|0;f=(i|0)/288|0;if(!i){q[e+76>>2]=0;break e}c=0;j=f>>>0>1?f:1;v=q[m>>2];y=j-1>>>0<(q[m+4>>2]-v|0)/18568>>>0;while(1){if(!y){break c}D=n;h=u[e+76>>2];g=w(c,288)+d|0;z=u[g+272>>2];A=u[g+268>>2];B=u[(v+w(c,18568)|0)+18564>>2];if(!(h>x(z+x(A+B))^1)){C=x(x(1)/A);h=x(C*x(h-z));j:{if(h=x(0)){l=~~h>>>0;break j}l=0}g=l;E=x(h-x(g>>>0));h=x(C*B);k:{if(h=x(0)){l=~~h>>>0;break k}l=0}h=x(z+x(A*x(E+x(l+1>>>0))))}n=h>2]=n;if(!i){break e}l:{if((d|0)!=(k|0)){k=f>>>0>1?f:1;f=0;while(1){j=q[m>>2];if((q[m+4>>2]-j|0)/18568>>>0<=f>>>0){break c}c=q[m+16>>2];if(t[c+4>>2]<=f>>>0){break l}d=w(f,288)+d|0;i=q[d+48>>2];v=q[c>>2];q[d+48>>2]=0;y=r[d+60|0];o[d+60|0]=y&254;g=q[d+256>>2];F=q[d+268>>2];H=q[d+272>>2];n=u[d+276>>2];I=q[d+116>>2];K=q[d+112>>2];l=q[d+56>>2];c=qi(d,0,288);q[d+56>>2]=l;q[c+112>>2]=K;q[c+116>>2]=I;u[c+276>>2]=n;q[c+268>>2]=F;q[c+272>>2]=H;q[c+260>>2]=g;q[c+256>>2]=g;q[c+52>>2]=i;g=q[c+48>>2];q[c+48>>2]=i;l=d;d=r[d+60|0];o[l+60|0]=d&254|y&1;if(!(!g|d&1)){ki(g)}d=q[c+264>>2];n=u[e+76>>2];q[c+264>>2]=1;m:{if((d|0)==1){break m}d=q[e+72>>2];if(!d){break m}i=q[e+16>>2]+1|0;q[e+16>>2]=i;ji[q[e+68>>2]](i,q[c+112>>2],q[c+116>>2],1,d)}o[c+280|0]=r[c+280|0]&247;h=x(0);if(!(n>x(0)^1)){d=j+w(f,18568)|0;i=v+(f<<7)|0;while(1){Wy(e,d,c,i,x(.01666666753590107));h=x(h+x(.01666666753590107));if(n>h){continue}break}}f=f+1|0;if((k|0)==(f|0)){break e}d=q[e>>2];if((q[e+4>>2]-d|0)/288>>>0>f>>>0){continue}break}}break c}break a}V5(a,b);return}J(136114,135222,447,135487);G()}J(135147,135222,461,135301);G()}J(135437,135449,260,135487);G()}function Mp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=fi-16|0;fi=g;c=a;d=b;if(d>>>0>=4){while(1){h=f;f=w(r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24),1540483477);f=w(h^w(f>>>24^f,1540483477),1540483477);c=c+4|0;d=d-4|0;if(d>>>0>3){continue}break}}a:{switch(d-1|0){case 2:e=r[c+2|0]<<16;case 1:e=r[c+1|0]<<8|e;case 0:e=w(r[c|0]^e,1540483477);break;default:break a}}c=w(b,1540483477);c=w(w(e>>>24^e,1540483477)^f,1540483477)^w(c>>>24^c,1540483477);c=w(c>>>13^c,1540483477);d=c>>>15|0;b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;e=zj();o[851668]=0;q[212916]=e;ti(851768)}d=c^d;if(!(!r[851668]|b>>>0>1024)){c:{if(o[851768]&1){break c}if(!ui(851768)){break c}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}e=q[212916];tj(e);d:{if(o[851768]&1){break d}if(!ui(851768)){break d}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212919];e:{f:{if(!c){break f}c=q[q[212918]+((d>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break f}f=q[212920];while(1){c=f+(c<<4)|0;if((d|0)==q[c>>2]){break e}c=q[c+12>>2];if((c|0)!=-1){continue}break}}if(q[212924]==q[212922]-q[212920]>>4){g:{if(o[851768]&1){break g}if(!ui(851768)){break g}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212922]-q[212920]>>4;h:{if(o[851768]&1){break h}if(!ui(851768)){break h}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;f=zj();o[851668]=0;q[212916]=f;ti(851768)}Ou(851672,1024,c+256|0)}a=si(xi(b+1|0),a,b);o[a+b|0]=0;p[g+12>>1]=b;q[g+8>>2]=a;zz(851672,d,g+8|0)}lj(e)}fi=g+16|0;return d}function Yha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-128|0;fi=c;g=Ti(c+104|0,a,1,67527,756);b=Pj(a,2);e=ii;f=q[q[Kj(a)+80>>2]+8>>2];q[c+100>>2]=0;q[c+96>>2]=0;h=c- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;Hk(a,1,f,67321,c+100|0,c+40|0,c+96|0);f=Iia(q[c+96>>2],q[c+100>>2],b,e,c+92|0);a:{if(f){q[c>>2]=Ei(b,e);q[c+8>>2]=f;q[c+4>>2]=q[(f<<2)+242016>>2];i=uj(g,69309,c);break a}ij(a,0,0);b=r[c+40|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68637);b:{c:{switch(q[c+92>>2]){case 0:d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68655);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68662);d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68672);break b;case 1:d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68680);break b;case 2:d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68691);d=+u[c+56>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68707);d=+u[c+60>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68719);d=+u[c- -64>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68731);d=+u[c+68>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68748);b=r[c+72|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68760);b=r[c+73|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68773);d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,69356);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,69368);break b;case 3:u[c+24>>2]=u[c+60>>2];b=q[c+56>>2];q[c+16>>2]=q[c+52>>2];q[c+20>>2]=b;hl(a,c+16|0);pi(a,-2,68855);d=+u[c- -64>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68691);b=r[c+68|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68760);d=+u[c+72>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68868);d=+u[c+76>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68886);b=r[c+80|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68773);d=+u[c+84>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68904);d=+u[c+88>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68748);d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,69380);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,69368);break b;case 4:break c;default:break a}}d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68691);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68662);d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68672)}i=1}Si(g);fi=c+128|0;return i|0}function Kw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a>>>0>=16){i=d;while(1){f=jwa(q[b>>2],0,i,0);g=ii;f=e+f|0;j=f+q[c>>2]|0;q[c>>2]=j;h=jwa(q[b+4>>2],0,i,0);k=ii;f=((e>>>0>f>>>0)+g|0)+(f>>>0>j>>>0)|0;e=f+h|0;g=e+q[c+4>>2]|0;q[c+4>>2]=g;h=jwa(q[b+8>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+8>>2]|0;q[c+8>>2]=g;h=jwa(q[b+12>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+12>>2]|0;q[c+12>>2]=g;h=jwa(q[b+16>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+16>>2]|0;q[c+16>>2]=g;h=jwa(q[b+20>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+20>>2]|0;q[c+20>>2]=g;h=jwa(q[b+24>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+24>>2]|0;q[c+24>>2]=g;h=jwa(q[b+28>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+28>>2]|0;q[c+28>>2]=g;h=jwa(q[b+32>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+32>>2]|0;q[c+32>>2]=g;h=jwa(q[b+36>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+36>>2]|0;q[c+36>>2]=g;h=jwa(q[b+40>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+40>>2]|0;q[c+40>>2]=g;h=jwa(q[b+44>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+44>>2]|0;q[c+44>>2]=g;h=jwa(q[b+48>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+48>>2]|0;q[c+48>>2]=g;h=jwa(q[b+52>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+52>>2]|0;q[c+52>>2]=g;h=jwa(q[b+56>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+56>>2]|0;q[c+56>>2]=g;e=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;h=jwa(q[b+60>>2],0,i,0)+e|0;f=h+q[c+60>>2]|0;q[c+60>>2]=f;e=(ii+(e>>>0>h>>>0)|0)+(f>>>0>>0)|0;c=c- -64|0;b=b- -64|0;a=a-16|0;if(a>>>0>15){continue}break}}if(a>>>0>=8){i=d;while(1){f=jwa(q[b>>2],0,i,0);g=ii;f=e+f|0;j=f+q[c>>2]|0;q[c>>2]=j;h=jwa(q[b+4>>2],0,i,0);k=ii;f=((e>>>0>f>>>0)+g|0)+(f>>>0>j>>>0)|0;e=f+h|0;g=e+q[c+4>>2]|0;q[c+4>>2]=g;h=jwa(q[b+8>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+8>>2]|0;q[c+8>>2]=g;h=jwa(q[b+12>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+12>>2]|0;q[c+12>>2]=g;h=jwa(q[b+16>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+16>>2]|0;q[c+16>>2]=g;h=jwa(q[b+20>>2],0,i,0);k=ii;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+20>>2]|0;q[c+20>>2]=g;h=jwa(q[b+24>>2],0,i,0);j=ii;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+24>>2]|0;q[c+24>>2]=g;e=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;h=jwa(q[b+28>>2],0,i,0)+e|0;f=h+q[c+28>>2]|0;q[c+28>>2]=f;e=(ii+(e>>>0>h>>>0)|0)+(f>>>0>>0)|0;c=c+32|0;b=b+32|0;a=a-8|0;if(a>>>0>7){continue}break}}if(a){while(1){f=jwa(q[b>>2],0,d,0)+e|0;h=f+q[c>>2]|0;q[c>>2]=h;e=(ii+(e>>>0>f>>>0)|0)+(f>>>0>h>>>0)|0;c=c+4|0;b=b+4|0;a=a-1|0;if(a){continue}break}}a=q[c>>2];b=a+e|0;q[c>>2]=b;if(a>>>0>b>>>0){while(1){a=q[c+4>>2];b=a+1|0;q[c+4>>2]=b;c=c+4|0;if(a>>>0>b>>>0){continue}break}}}function fra(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,u=0;a:{while(1){b:{c:{if(t[a+116>>2]<=261){as(a);c=q[a+116>>2];if(!(c>>>0>=262|b)){return 0}if(!c){break a}if(c>>>0<3){break c}}c=q[a+108>>2];d=q[a+84>>2]&(r[(c+q[a+56>>2]|0)+2|0]^q[a+72>>2]<>2]);q[a+72>>2]=d;e=q[a+68>>2]+(d<<1)|0;d=s[e>>1];p[q[a+64>>2]+((c&q[a+52>>2])<<1)>>1]=d;p[e>>1]=c;if(!d|q[a+44>>2]-262>>>0>>0){break c}c=kE(a,d);q[a+96>>2]=c;break b}c=q[a+96>>2]}d:{if(c>>>0>=3){d=q[a+5792>>2];e=q[a+108>>2]-q[a+112>>2]|0;p[q[a+5796>>2]+(d<<1)>>1]=e;q[a+5792>>2]=d+1;c=c-3|0;o[d+q[a+5784>>2]|0]=c;c=((r[(c&255)+181632|0]<<2)+a|0)+1176|0;p[c>>1]=s[c>>1]+1;c=e-1&65535;c=((r[(c>>>0<256?c:(c>>>7|0)+256|0)+181120|0]<<2)+a|0)+2440|0;p[c>>1]=s[c>>1]+1;c=q[a+96>>2];d=q[a+116>>2]-c|0;q[a+116>>2]=d;h=q[a+5788>>2]-1|0;i=q[a+5792>>2];if(!(d>>>0<3|c>>>0>t[a+128>>2])){e=c-1|0;q[a+96>>2]=e;g=q[a+72>>2];c=q[a+108>>2];k=q[a+52>>2];l=q[a+64>>2];m=q[a+68>>2];n=q[a+84>>2];u=q[a+56>>2];f=q[a+88>>2];while(1){d=c;c=c+1|0;q[a+108>>2]=c;g=(r[(d+u|0)+3|0]^g<>2]=g;j=(g<<1)+m|0;p[((c&k)<<1)+l>>1]=s[j>>1];p[j>>1]=c;e=e-1|0;q[a+96>>2]=e;if(e){continue}break}c=d+2|0;q[a+108>>2]=c;if((h|0)!=(i|0)){continue}break d}q[a+96>>2]=0;c=c+q[a+108>>2]|0;q[a+108>>2]=c;d=q[a+56>>2]+c|0;e=r[d|0];q[a+72>>2]=e;q[a+72>>2]=q[a+84>>2]&(r[d+1|0]^e<>2]);if((h|0)!=(i|0)){continue}break d}c=r[q[a+56>>2]+q[a+108>>2]|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;q[a+116>>2]=q[a+116>>2]-1;c=q[a+108>>2]+1|0;q[a+108>>2]=c;if(q[a+5792>>2]!=(q[a+5788>>2]-1|0)){continue}}d=a;e=q[a+92>>2];if((e|0)>=0){f=e+q[a+56>>2]|0}else{f=0}ym(d,f,c-e|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];nl(d);e=q[c+16>>2];g=q[d+20>>2];e=e>>>0>>0?e:g;e:{if(!e){break e}si(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break e}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}break}return 0}c=q[a+108>>2];q[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=q[a+92>>2];if((d|0)>=0){f=d+q[a+56>>2]|0}else{f=0}ym(b,f,c-d|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break f}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}g:{if(!q[a+5792>>2]){break g}b=a;d=q[a+92>>2];if((d|0)>=0){f=d+q[a+56>>2]|0}else{f=0}ym(b,f,c-d|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;h:{if(!d){break h}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break h}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break g}return 0}return 1}function wha(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0;k=fi-48|0;fi=k;a:{if(o[293960]&1){break a}if(!ui(293960)){break a}if(r[852367]){h=Ri(40793)}else{h=-1}q[73489]=h;ti(293960)}b:{if(o[293968]&1){break b}if(!ui(293968)){break b}if(r[852367]){h=Yi(40804,11)}else{h=0}q[73491]=h;ti(293968)}h=q[73489];c:{if((h|0)!=-1){Qi(k+24|0,h,40804,q[73491]);break c}q[k+24>>2]=0}d:{e:{if(!f){break e}u=q[g+8>>2];q[u+88>>2]=0;o[g+16|0]=1;j=q[b+8>>2];A=Es(a,j);i=Wo(a,j);v=Nz(a,j);p=Ds(a,j,k+44|0);if(q[k+44>>2]==2){if(!p){break d}p=q[p+48>>2]}s=(i|0)==6;t=0;h=i;n=s?h:0;j=Mz(a,j);x=(h|0)==5?q[q[b+12>>2]+96>>2]:x;y=h|t;s=q[e>>2];B=f>>>0>1?f:1;f=0;while(1){h=f;D=x;t=s;l=j;E=p;F=y;H=n;z=v;I=i;K=A;C=(m<<4)+b|0;j=q[C+8>>2];f:{if(tn(a,j)){j=l;break f}A=Es(a,j);i=Wo(a,j);v=Nz(a,j);p=Ds(a,j,k+44|0);if(q[k+44>>2]==2){if(!p){break d}p=q[p+48>>2]}s=(i|0)==6;y=0;f=i;n=s?f:0;s=(m<<2)+e|0;j=Mz(a,j);x=0;x=(f|0)==5?q[q[C+12>>2]+96>>2]:x;y=f|y;s=q[s>>2];if(!m){f=h;break f}if(!((y|0)!=(F|0)|(n|0)!=(H|0)|(A|0)!=(K|0)|(p|0)!=(E|0)|(j|0)!=(l|0)|(s|0)!=(t|0)|(x|0)!=(D|0))){f=h;break f}t=m-h|0;f=m;g:{h:{switch(I|0){case 1:f=h<<2;jJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,t,g);break g;case 0:f=h<<2;nJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,t,g);break g;case 2:f=h<<2;kJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,t,g);break g;case 5:f=h<<2;lJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,t,g);break g;case 6:break h;default:break f}}i:{j:{l=q[u+100>>2];f=q[l+20>>2];k:{if(!f){break k}f=q[q[l+16>>2]+((z>>>0)%(f>>>0)<<2)>>2];if((f|0)==-1){break k}l=q[l+24>>2];while(1){f=l+w(f,12)|0;if(q[f>>2]==(z|0)){break j}f=q[f+8>>2];if((f|0)!=-1){continue}break}}f=0;if(r[293936]){break i}o[293936]=1;q[k+16>>2]=z;mi(4,38938,39766,k+16|0);break i}f=q[f+4>>2]}l=f;f=h<<2;mJ(a,z,l,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,t,g)}f=m}m=m+1|0;if((B|0)!=(m|0)){continue}break}h=B-f|0;l:{if(!h){break l}m:{switch(i|0){case 1:i=a;a=f<<2;jJ(i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break l;case 0:i=a;a=f<<2;nJ(i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break l;case 2:i=a;a=f<<2;kJ(i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break l;case 5:i=a;a=f<<2;lJ(i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break l;case 6:break m;default:break l}}n:{o:{n=q[u+100>>2];i=q[n+20>>2];p:{if(!i){break p}i=q[q[n+16>>2]+((v>>>0)%(i>>>0)<<2)>>2];if((i|0)==-1){break p}n=q[n+24>>2];while(1){m=n+w(i,12)|0;if(q[m>>2]==(v|0)){break o}i=q[m+8>>2];if((i|0)!=-1){continue}break}}i=0;if(r[293936]){break n}o[293936]=1;q[k>>2]=v;mi(4,38938,39766,k);break n}i=q[(n+w(i,12)|0)+4>>2]}l=a;a=f<<2;mJ(l,v,i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g)}a=q[u+56>>2];ji[q[74897]](q[u+52>>2],q[u+60>>2]-a|0,a,0);q:{if(o[293976]&1){break q}if(!ui(293976)){break q}if(r[852367]){a=Ek(40816)}else{a=-1}q[73493]=a;ti(293976)}a=q[73493];if((a|0)==-1){break e}Fk(a,(q[u+60>>2]-q[u+56>>2]|0)/36|0)}if(q[k+24>>2]){Pi(k+24|0)}fi=k+48|0;return}J(40832,39661,868,40848);G()}function lm(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0;t=fi+ -64|0;fi=t;if(r[300249]){u=f-21>>>0<9;a:{if(j){s=u^1;break a}if(u){j=h;break a}s=1;if((f|0)!=15){j=b;break a}j=h+7>>>3|0}b:{if(w(b,c)<<4>>>0>e>>>0){break b}c:{if((f&-2)!=6){if(c){break c}n=1;break b}if((f|0)==7){Asa(d,a,b,c);n=1;break b}Bsa(d,a,b,c);n=1;break b}F=k?k:s?k:i;H=j<<2;C=j<<1;I=w(g,j);while(1){d:{if(!b){break d}e=A<<2;u=F-e|0;B=w(e,j);h=w(A,I)+a|0;s=0;D=1;e:{while(1){f:{g:{h:{i:{j:{k:{l:{m:{switch(f|0){case 2:if(Msa(d,h)){break g}break f;case 3:if(Lsa(d,h)){break g}break f;case 4:l=(l|0)>0?l:0;if(Ksa(d,h,l)){break g}break f;case 5:l=(l|0)>0?l:0;m=(m|0)<0?3:m;if(Jsa(d,h,l,m)){break g}break f;case 8:case 9:if(Hsa(d,h)){break g}break f;case 12:if(Nsa(d,h)){break g}break f;case 18:l=(l|0)>0?l:0;if(Esa(d,h,l)){break g}break f;case 19:l=(l|0)>0?l:0;m=(m|0)<0?3:m;if(Dsa(d,h,l,m)){break g}break f;case 22:z=Sp(d,t);if((g|0)!=4){break l}y=(u|0)>4?4:u;e=s<<2;i=j-e|0;q=(i|0)>4?4:i;if(!(!y|!q)){e=(e+B<<2)+a|0;k=0;while(1){i=0;while(1){n=i<<2;p=n+((k<<4)+t|0)|0;o[e+n|0]=r[p|0];o[(n|1)+e|0]=r[p+1|0];o[(n|2)+e|0]=r[p+2|0];o[(n|3)+e|0]=r[p+3|0];i=i+1|0;if((q|0)!=(i|0)){continue}break}e=e+H|0;k=k+1|0;if((y|0)!=(k|0)){continue}break}}if(z){break g}break f;case 29:break h;case 0:break j;case 1:break k;case 24:case 25:break m;default:break i}}z=Sp(d,t);if((g|0)==2){e=s<<2;i=j-e|0;k=(i|0)>4?4:i;y=(u|0)>4?4:u;if(y){e=(e+B<<1)+a|0;i=0;while(1){n:{if(!k){break n}n=0;if((f|0)==24){while(1){p=((i<<4)+t|0)+(n<<2)|0;q=w(r[p|0],31)+128|0;v=n<<1;x=w(r[p+2|0],31)+128|0;p=w(r[p+1|0],63)+128|0;p=((p>>>8|0)+p>>>8&255)<<5;o[v+e|0]=(x>>>8|0)+x>>>8&255|p;o[(v|1)+e|0]=(p|(q+(q>>>8|0)>>>8&255)<<11)>>>8;n=n+1|0;if((k|0)!=(n|0)){continue}break n}}while(1){p=((i<<4)+t|0)+(n<<2)|0;q=w(r[p+2|0],31)+128|0;v=n<<1;x=w(r[p|0],31)+128|0;p=w(r[p+1|0],63)+128|0;p=((p>>>8|0)+p>>>8&255)<<5;o[v+e|0]=(x>>>8|0)+x>>>8&255|p;o[(v|1)+e|0]=(p|(q+(q>>>8|0)>>>8&255)<<11)>>>8;n=n+1|0;if((k|0)!=(n|0)){continue}break}}e=e+C|0;i=i+1|0;if((y|0)!=(i|0)){continue}break}}if(z){break g}break f}J(85805,85651,9584,85697);G()}J(85747,85651,9555,85697);G()}if(Csa(d,h)){break g}break f}if(!Fsa(d,h)){break f}break g}J(85745,85651,9636,85697);G()}y=Sp(d,t);if((g|0)!=2){break e}v=(u|0)>4?4:u;e=s<<2;i=j-e|0;p=(i|0)>4?4:i;if(!(!v|!p)){e=(e+B<<1)+a|0;i=0;while(1){n=0;while(1){k=((i<<4)+t|0)+(n<<2)|0;q=w(r[k|0],15)+128|0;z=w(r[k+1|0],15)+128|0;x=n<<1;E=w(r[k+3|0],15)+128|0;k=w(r[k+2|0],15)+128|0;k=((k>>>8|0)+k>>>8&255)<<4;o[x+e|0]=E+(E>>>8|0)>>>8|k;o[(x|1)+e|0]=(k|((z+(z>>>8|0)>>>8&255)<<8|(q+(q>>>8|0)>>>8&255)<<12))>>>8;n=n+1|0;if((p|0)!=(n|0)){continue}break}e=e+C|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}}if(!y){break f}}h=g+h|0;d=d+16|0;s=s+1|0;D=s>>>0>>0;if((b|0)!=(s|0)){continue}break d}break}if(!D){break d}n=0;break b}J(85805,85651,9613,85697);G()}n=1;A=A+1|0;if((A|0)!=(c|0)){continue}break}}fi=t- -64|0;return n}J(85626,85651,9425,85697);G()}function $ia(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=x(0),m=0,n=0,p=x(0),v=x(0),y=x(0),z=0,A=x(0),B=0,C=x(0),D=x(0),E=0,F=0,H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=0,U=x(0),V=x(0),W=0,X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=x(0),ia=x(0);n=fi-32|0;fi=n;a:{if(o[296036]&1){break a}if(!ui(296036)){break a}if(r[852367]){g=Ri(53073)}else{g=-1}q[74008]=g;ti(296036)}b:{if(o[296044]&1){break b}if(!ui(296044)){break b}if(r[852367]){g=Yi(53082,16)}else{g=0}q[74010]=g;ti(296044)}g=q[74008];c:{if((g|0)!=-1){Qi(n+16|0,g,53082,q[74010]);break c}q[n+16>>2]=0}d:{e:{f:{if((e|0)==(f|0)){break f}c=q[c+64>>2];ba=q[c+48>>2];T=q[a+4>>2];ca=q[a+8>>2]-T>>2;U=x(t[c+24>>2]);V=x(t[c+20>>2]);while(1){c=w(q[e>>2],48)+d|0;B=q[c+32>>2];c=q[c+36>>2];g=B;m=g&65535;if(m>>>0>=ca>>>0){break e}E=g>>>16|0;j=q[(m<<2)+T>>2];z=q[j+156>>2];F=q[z+4>>2];if(E>>>0>=t[F+8>>2]){break d}i=q[z+40>>2];g=i+(c>>>11&2097120)|0;m=g+32|0;g:{h=i;i=q[z+32>>2]&2147483647;k=h+i|0;m=(k|0)>(m|0)?m:k;if((m|0)>(g|0)){k=q[z+36>>2];B=k+(((c&134217727)<<5|B>>>27)&2097120)|0;c=B+32|0;W=q[z+28>>2];k=k+W|0;k=(c|0)<(k|0)?c:k;Q=u[(q[F+4>>2]+(E<<5)|0)+4>>2];da=w(i,E);while(1){E=m;if((k|0)<=(B|0)){g=g+1|0}else{R=x(U*x(g|0));F=g+1|0;S=x(U*x(F|0));ea=w((g+da|0)-q[z+40>>2]|0,W);fa=q[j+100>>2];ga=q[z+36>>2];c=B;while(1){g=(c-ga|0)+ea|0;i=s[(g<<1)+fa>>1];h:{if((i|0)==65535){c=c+1|0;break h}h=q[a+48>>2];if(h>>>0<=b>>>0){break g}h=r[g+q[j+104>>2]|0];C=u[j+80>>2];L=u[j+64>>2];H=u[j+32>>2];l=u[j+48>>2];M=u[j+84>>2];D=u[j+68>>2];I=u[j+36>>2];p=u[j+52>>2];N=u[j+88>>2];v=x(V*x(c|0));K=u[j+40>>2];y=x(v*K);A=u[j+56>>2];X=x(R*A);O=x(Q*u[j+72>>2]);Y=x(N+x(x(y+X)+O));u[b+8>>2]=Y;P=x(v*I);Z=x(R*p);D=x(Q*D);_=x(M+x(x(P+Z)+D));u[b+4>>2]=_;$=x(v*H);aa=x(R*l);v=x(Q*L);L=x(C+x(x($+aa)+v));u[b>>2]=L;g=(i<<5)+ba|0;i=w(h&7,24)+53104|0;h=q[i>>2]<<3;u[b+12>>2]=u[g+h>>2];ha=u[g+(h|4)>>2];ia=y;y=x(S*A);u[b+28>>2]=N+x(x(ia+y)+O);p=x(S*p);u[b+24>>2]=M+x(x(P+p)+D);A=x(S*l);u[b+20>>2]=C+x(x($+A)+v);u[b+16>>2]=ha;h=q[i+4>>2]<<3;u[b+32>>2]=u[h+g>>2];P=u[g+(h|4)>>2];c=c+1|0;l=x(V*x(c|0));K=x(K*l);y=x(N+x(x(K+y)+O));u[b+48>>2]=y;I=x(l*I);p=x(M+x(x(I+p)+D));u[b+44>>2]=p;H=x(l*H);l=x(C+x(x(H+A)+v));u[b+40>>2]=l;u[b+36>>2]=P;h=q[i+8>>2]<<3;u[b+52>>2]=u[h+g>>2];A=u[g+(h|4)>>2];u[b+68>>2]=y;u[b- -64>>2]=p;u[b+60>>2]=l;u[b+56>>2]=A;h=q[i+12>>2]<<3;u[b+72>>2]=u[h+g>>2];l=u[g+(h|4)>>2];u[b+88>>2]=N+x(x(K+X)+O);u[b+84>>2]=M+x(x(I+Z)+D);u[b+80>>2]=C+x(x(H+aa)+v);u[b+76>>2]=l;h=q[i+16>>2]<<3;u[b+92>>2]=u[h+g>>2];C=u[g+(h|4)>>2];u[b+108>>2]=Y;u[b+104>>2]=_;u[b+100>>2]=L;u[b+96>>2]=C;i=q[i+20>>2]<<3;u[b+112>>2]=u[i+g>>2];u[b+116>>2]=u[g+(i|4)>>2];b=b+120|0}if((c|0)<(k|0)){continue}break}g=F}if((E|0)>(g|0)){continue}break}}e=e+4|0;if((f|0)!=(e|0)){continue}break f}break}q[n>>2]=(h-q[a+44>>2]|0)/120;mi(4,52865,53296,n);b=q[a+48>>2]}if(q[n+16>>2]){Pi(n+16|0)}fi=n+32|0;return b}J(53991,53817,447,53980);G()}J(53935,53947,189,53980);G()}function y2(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0,o=0;c=fi-288|0;fi=c;d=em(a,2);a:{if((d|0)==q[210276]){break a}b=1;if((d|0)==q[210277]){break a}b=2;if((d|0)==q[210278]){break a}b=3;if((d|0)==q[210279]){break a}b=(d|0)==q[210280]?4:5}d=em(a,3);b:{if((d|0)==q[210276]){break b}n=1;if((d|0)==q[210277]){break b}n=2;if((d|0)==q[210278]){break b}n=3;if((d|0)==q[210279]){break b}n=(d|0)==q[210280]?4:5}i=x(Ai(a,1));c:{d:{if(!((b|0)==5|(b|0)!=(n|0))){e:{switch(b|0){case 0:b=yi(a,2,q[210276],0);f=u[b>>2];g=u[b+4>>2];f:{if(!(f!=f|g!=g)){e=u[b+8>>2];if(e==e){break f}}e=u[b+8>>2];v[c+80>>3]=g;v[c+88>>3]=e;v[c+72>>3]=f;q[c+64>>2]=2;ni(a,120787,c- -64|0)}d=yi(a,3,q[210276],0);f=u[d>>2];g=u[d+4>>2];g:{if(!(f!=f|g!=g)){e=u[d+8>>2];if(e==e){break g}}e=u[d+8>>2];v[c+48>>3]=g;v[c+56>>3]=e;v[c+40>>3]=f;q[c+32>>2]=3;ni(a,120787,c+32|0);e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}h=u[b+8>>2];j=u[b>>2];k=u[b+4>>2];b=bj(a,16);u[b+8>>2]=h+x(x(e-h)*i);u[b+4>>2]=k+x(x(g-k)*i);u[b>>2]=j+x(x(f-j)*i);zi(a,-1e4,120656);aj(a,-2);a=1;break c;case 1:b=yi(a,2,q[210277],0);f=u[b>>2];g=u[b+4>>2];h:{i:{if(f!=f|g!=g){break i}e=u[b+8>>2];if(e!=e){break i}e=u[b+12>>2];if(e==e){break h}}e=u[b+8>>2];h=u[b+12>>2];v[c+160>>3]=g;v[c+176>>3]=h;v[c+168>>3]=e;v[c+152>>3]=f;q[c+144>>2]=2;ni(a,120877,c+144|0)}d=yi(a,3,q[210277],0);f=u[d>>2];g=u[d+4>>2];j:{k:{if(f!=f|g!=g){break k}e=u[d+8>>2];if(e!=e){break k}h=u[d+12>>2];if(h==h){break j}}e=u[d+8>>2];h=u[d+12>>2];v[c+112>>3]=g;v[c+128>>3]=h;v[c+120>>3]=e;v[c+104>>3]=f;q[c+96>>2]=3;ni(a,120877,c+96|0);h=u[d+12>>2];e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}j=u[b+12>>2];k=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];b=bj(a,16);u[b+12>>2]=j+x(x(h-j)*i);u[b+8>>2]=m+x(x(e-m)*i);u[b+4>>2]=l+x(x(g-l)*i);u[b>>2]=k+x(x(f-k)*i);zi(a,-1e4,120672);aj(a,-2);a=1;break c;case 2:break e;default:break d}}b=yi(a,2,q[210278],0);f=u[b>>2];g=u[b+4>>2];l:{m:{if(f!=f|g!=g){break m}e=u[b+8>>2];if(e!=e){break m}e=u[b+12>>2];if(e==e){break l}}e=u[b+8>>2];h=u[b+12>>2];v[c+256>>3]=g;v[c+272>>3]=h;v[c+264>>3]=e;v[c+248>>3]=f;q[c+240>>2]=2;ni(a,120971,c+240|0)}d=yi(a,3,q[210278],0);f=u[d>>2];g=u[d+4>>2];n:{o:{if(f!=f|g!=g){break o}e=u[d+8>>2];if(e!=e){break o}h=u[d+12>>2];if(h==h){break n}}e=u[d+8>>2];h=u[d+12>>2];v[c+208>>3]=g;v[c+224>>3]=h;v[c+216>>3]=e;v[c+200>>3]=f;q[c+192>>2]=3;ni(a,120971,c+192|0);h=u[d+12>>2];e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}j=u[b+12>>2];k=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];b=bj(a,16);u[b+12>>2]=j+x(x(h-j)*i);u[b+8>>2]=m+x(x(e-m)*i);u[b+4>>2]=l+x(x(g-l)*i);u[b>>2]=k+x(x(f-k)*i);zi(a,-1e4,120688);aj(a,-2);a=1;break c}if(!Gj(a,2)){break d}if(!Gj(a,3)){break d}o=+x(Ai(a,2));o=(+x(Ai(a,3))-o)*+i+o;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=o;q[a+8>>2]=q[a+8>>2]+16;a=1;break c}q[c+28>>2]=120688;q[c+24>>2]=120720;q[c+20>>2]=120672;q[c+16>>2]=120720;q[c+12>>2]=120656;q[c+8>>2]=120720;q[c+4>>2]=122277;q[c>>2]=120720;a=ni(a,122684,c)}fi=c+288|0;return a|0}function UJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=fi-112|0;fi=f;h=q[c>>2];g=q[h+4>>2];a:{b:{if(g){i=c+132|0;l=c+4|0;while(1){c:{d:{e:{f:{g:{h:{if(g>>>0>k>>>0){h=q[h>>2];j=h+(k<<6)|0;g=q[j+16>>2];if(g>>>0>=18){break h}q[f+108>>2]=q[j+24>>2];g=q[(g<<2)+59852>>2];i:{if(q[j+44>>2]-3>>>0<2){q[f+108>>2]=32;g=aea(b,g,q[j>>2],q[j+4>>2]);if(bca(a,j,g,l,i,f+108|0)){break i}q[f+32>>2]=a;mi(4,59432,59440,f+32|0);break c}if(!(ji[q[74960]](b,g)|0)){break c}}q[f+96>>2]=0;q[f+88>>2]=0;q[f+92>>2]=0;o[f+100|0]=1;o[f+67|0]=0;o[f+68|0]=0;o[f+69|0]=0;o[f+70|0]=0;o[f+71|0]=0;o[f+72|0]=0;o[f+73|0]=0;o[f+74|0]=0;q[f+76>>2]=0;q[f+80>>2]=0;q[f+56>>2]=1;q[f+48>>2]=2;q[f+52>>2]=1;q[f+40>>2]=3;q[f+44>>2]=5;q[f+60>>2]=0;q[f+64>>2]=0;ji[q[74890]](b,f+40|4,f+48|0);q[f+40>>2]=g;g=q[j>>2];p[f+70>>1]=g;i=q[(h+(k<<6)|0)+4>>2];p[f+72>>1]=i;a=q[j+24>>2];if(a>>>0>=33){break g}j:{k:{switch(q[q[c>>2]+8>>2]-1|0){case 1:q[f+88>>2]=1;break j;default:J(59568,59510,131,59551);G();case 0:break k}}q[f+88>>2]=0}p[f+94>>1]=i;p[f+92>>1]=g;g=h+(k<<6)|0;p[f+96>>1]=q[g+8>>2];g=q[g+12>>2];o[f+100|0]=a;p[f+98>>1]=g;if(!d){d=ji[q[74961]](b,f+88|0)|0;a=q[j+24>>2]}l:{if(a>>>0>1){break l}m:{switch(q[f+44>>2]-3|0){case 2:q[f+44>>2]=2;break l;case 0:break m;default:break l}}q[f+44>>2]=1}a=ji[q[74973]](b)|0;b=s[f+70>>1];g=s[f+72>>1];if(!(g>>>0<=a>>>0?a>>>0>=b>>>0:0)){q[f+28>>2]=a;q[f+24>>2]=a;q[f+20>>2]=g;q[f+16>>2]=b;mi(4,59432,59570,f+16|0);p[f+72>>1]=1;q[f+64>>2]=4;q[f+68>>2]=65536;q[f+60>>2]=59408;q[f+40>>2]=3;ji[q[74964]](d,f+40|0);break b}if(!r[c+260|0]){if(!q[f+108>>2]){break b}b=h+(k<<6)|0;k=b;h=0;while(1){p[f+68>>1]=h;a=f;g=h<<2;i=g+c|0;l=q[i+4>>2];n:{if(!l){if(t[j+24>>2]<=h>>>0){break f}i=q[g+q[b+20>>2]>>2];if(i>>>0>=t[b+40>>2]){break e}q[f+60>>2]=i+q[b+36>>2];if(t[b+32>>2]<=h>>>0){break d}g=g+q[k+28>>2]|0;break n}q[f+60>>2]=l;g=i+132|0}q[a+64>>2]=q[g>>2];ji[q[74964]](d,f+40|0);a=s[f+70>>1]>>>1|0;p[f+70>>1]=a;g=s[f+72>>1]>>>1|0;p[f+72>>1]=g;if(!a){p[f+70>>1]=1}if(!g){p[f+72>>1]=1}h=h+1|0;if(h>>>0>2]){continue}break}break b}p[f+72>>1]=1;q[f+64>>2]=4;q[f+68>>2]=65536;q[f+40>>2]=3;q[f+60>>2]=59408;ji[q[74964]](d,f+40|0);break b}J(59720,59732,136,59812);G()}J(59568,59510,58,59823);G()}J(59463,59510,124,59551);G()}J(59720,59732,97,59812);G()}J(59720,59732,113,59812);G()}J(59720,59732,105,59812);G()}h=q[c>>2];g=q[h+4>>2];k=k+1|0;if(g>>>0>k>>>0){continue}break}}q[f>>2]=a;mi(4,59432,59658,f);o:{if(d){break o}o[f+52|0]=1;q[f+44>>2]=65537;q[f+48>>2]=65537;q[f+40>>2]=0;d=ji[q[74961]](b,f+40|0)|0;if(d){break o}a=-13;break a}o[f+67|0]=0;o[f+68|0]=0;o[f+69|0]=0;o[f+70|0]=0;o[f+71|0]=0;o[f+72|0]=0;o[f+73|0]=0;o[f+74|0]=0;q[f+76>>2]=0;q[f+80>>2]=0;q[f+56>>2]=1;q[f+48>>2]=2;q[f+52>>2]=1;q[f+40>>2]=3;q[f+44>>2]=5;q[f+60>>2]=0;q[f+64>>2]=0;ji[q[74890]](b,f+40|4,f+48|0);p[f+72>>1]=1;q[f+64>>2]=4;q[f+68>>2]=65536;q[f+60>>2]=59408;q[f+40>>2]=3;ji[q[74964]](d,f+40|0)}q[e>>2]=d;a=0}fi=f+112|0;return a}function v3(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0,m=x(0),n=x(0),p=x(0),s=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=0,C=0,D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=0,Q=x(0),R=x(0),S=x(0);d=fi-128|0;fi=d;a:{b:{c:{d:{if(!(o[b+12|0]&1)){C=q[a+4>>2];vi(C,176,b,b+8|0,b+4|0);e=q[b>>2];if((q[b+8>>2]-e|0)/176>>>0>>0){break d}q[b+4>>2]=w(C,176)+e;if(!C){break b}l=C;while(1){if(t[a+4>>2]<=B>>>0){break c}i=q[a>>2]+w(B,80)|0;j=u[i+32>>2];f=u[i+36>>2];h=u[i+40>>2];g=u[i+44>>2];m=u[i+16>>2];D=u[i+20>>2];E=u[i+24>>2];v=u[i+48>>2];y=u[i+52>>2];c=w(B,176)+e|0;z=u[i+56>>2];u[c+40>>2]=z;u[c+36>>2]=y;u[c+32>>2]=v;u[c+24>>2]=E;u[c+20>>2]=D;u[c+16>>2]=m;u[c+12>>2]=g;u[c+8>>2]=h;u[c+4>>2]=f;u[c>>2]=j;e:{f:{if(B){P=l;l=q[i>>2];if(P>>>0<=l>>>0){break a}e=w(l,176)+e|0;Q=u[e- -64>>2];R=u[e+68>>2];S=u[e+72>>2];k=u[e+56>>2];n=u[e+52>>2];p=u[e+60>>2];s=u[e+48>>2];F=u[e+80>>2];H=u[e+84>>2];l=c+88|0;O=u[e+88>>2];K=x(z*O);u[l>>2]=K;L=x(y*H);u[c+84>>2]=L;M=x(v*F);u[c+80>>2]=M;A=x(x(x(x(g*p)-x(j*s))-x(f*n))-x(h*k));u[c+60>>2]=A;N=x(x(x(f*s)+x(x(g*k)+x(h*p)))-x(j*n));u[c+56>>2]=N;I=x(x(x(j*k)+x(x(g*n)+x(f*p)))-x(h*s));u[c+52>>2]=I;j=x(x(x(h*n)+x(x(g*s)+x(j*p)))-x(f*k));u[c+48>>2]=j;f=x(m*F);h=x(D*H);g=x(E*O);m=x(x(x(k*f)+x(p*h))-x(s*g));F=x(x(k*g)+x(x(s*f)+x(n*h)));H=x(x(x(s*h)+x(p*g))-x(n*f));f=x(x(x(p*f)+x(n*g))-x(k*h));E=x(S+x(x(s*m)+x(x(x(k*F)+x(p*H))-x(n*f))));u[c+72>>2]=E;D=x(R+x(x(k*f)+x(x(x(p*m)+x(n*F))-x(s*H))));u[c+68>>2]=D;m=x(Q+x(x(n*H)+x(x(x(s*F)+x(p*f))-x(k*m))));u[c- -64>>2]=m;if(r[i+64|0]){z=K;y=L;v=M;break e}u[c+80>>2]=v;u[c+84>>2]=y;break f}u[e+48>>2]=j;u[e+84>>2]=y;u[e+80>>2]=v;u[e+72>>2]=E;u[e+68>>2]=D;u[e- -64>>2]=m;u[e+60>>2]=g;u[e+56>>2]=h;u[e+52>>2]=f;l=e+88|0;A=g;N=h;I=f}u[l>>2]=z}q[d+60>>2]=1065353216;u[d+56>>2]=E;u[d+52>>2]=D;u[d+48>>2]=m;u[d+44>>2]=z*x(0);u[d+28>>2]=y*x(0);u[d+12>>2]=v*x(0);f=x(N+N);g=x(I*f);K=x(j+j);L=x(K*A);u[d+36>>2]=x(g-L)*z;M=x(j*f);h=x(I+I);k=x(h*A);u[d+32>>2]=x(M+k)*z;u[d+24>>2]=x(g+L)*y;g=x(j*h);A=x(A*f);u[d+16>>2]=x(g-A)*y;u[d+8>>2]=x(M-k)*v;u[d+4>>2]=x(g+A)*v;g=x(x(1)-x(j*K));h=x(I*h);u[d+40>>2]=x(g-h)*z;f=x(N*f);u[d+20>>2]=x(g-f)*y;u[d>>2]=x(x(x(1)-h)-f)*v;ir(d- -64|0,d);u[c+96>>2]=u[d+64>>2];u[c+100>>2]=u[d+68>>2];u[c+104>>2]=u[d+72>>2];u[c+108>>2]=u[d+76>>2];u[c+112>>2]=u[d+80>>2];u[c+116>>2]=u[d+84>>2];u[c+120>>2]=u[d+88>>2];u[c+124>>2]=u[d+92>>2];u[c+128>>2]=u[d+96>>2];u[c+132>>2]=u[d+100>>2];u[c+136>>2]=u[d+104>>2];u[c+140>>2]=u[d+108>>2];u[c+144>>2]=u[d+112>>2];u[c+148>>2]=u[d+116>>2];u[c+152>>2]=u[d+120>>2];u[c+156>>2]=u[d+124>>2];q[c+160>>2]=q[i>>2];u[c+164>>2]=u[i+68>>2];B=B+1|0;if((C|0)==(B|0)){break b}e=q[b>>2];l=(q[b+4>>2]-e|0)/176|0;if(l>>>0>B>>>0){continue}break}break a}J(136910,136831,461,136985);G()}J(136997,136831,474,137016);G()}J(136761,136773,69,136801);G()}fi=d+128|0;return}J(136820,136831,447,136801);G()}function Yv(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,r=0,s=0,t=0,u=0,v=0,w=0;a:{if(!f){break a}while(1){b:{c:{if(!((f|0)<=(h|0)|(e|0)<=(h|0))){if(!e){break a}i=q[d>>2];t=q[b>>2];j=i+(t<<3)|0;l=q[j>>2];j=q[j+4>>2];while(1){k=q[a>>2];m=i+(k<<3)|0;n=q[m>>2];m=q[m+4>>2];if((m|0)==(j|0)&l>>>0>>0|j>>>0>>0){break c}a=a+4|0;e=e-1|0;if(e){continue}break}break a}if((e|0)>(f|0)){break b}if((a|0)==(b|0)){break a}i=g;j=a;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(b|0)){continue}break}if((g|0)==(i|0)){break a}d=q[d>>2];while(1){if((b|0)==(c|0)){b=i-g|0;if(!b){break a}Kk(a,g,b);return}e=q[b>>2];f=d+(e<<3)|0;h=q[f>>2];j=q[g>>2];l=d+(j<<3)|0;k=q[l>>2];f=q[f+4>>2];l=q[l+4>>2];d:{if((f|0)==(l|0)&h>>>0>>0|f>>>0>>0){q[a>>2]=e;b=b+4|0;break d}q[a>>2]=j;g=g+4|0}a=a+4|0;if((g|0)!=(i|0)){continue}break}break a}e:{if((e|0)<(f|0)){n=(f|0)/2|0;l=(n<<2)+b|0;j=b-a|0;f:{if(!j){k=a;break f}j=j>>2;k=i+(q[l>>2]<<3)|0;r=q[k>>2];m=q[k+4>>2];k=a;while(1){p=j>>>1|0;o=(p<<2)+k|0;s=i+(q[o>>2]<<3)|0;u=q[s>>2];v=k;w=o+4|0;k=q[s+4>>2];o=(k|0)==(m|0)&r>>>0>>0|k>>>0>m>>>0;k=o?v:w;j=o?p:(p^-1)+j|0;if(j){continue}break}}p=k-a>>2;break e}if((e|0)==1){q[a>>2]=t;q[b>>2]=k;return}p=(e|0)/2|0;k=(p<<2)+a|0;j=c-b|0;g:{if(!j){l=b;break g}j=j>>2;l=i+(q[k>>2]<<3)|0;r=q[l>>2];m=q[l+4>>2];l=b;while(1){n=j>>>1|0;o=(n<<2)+l|0;s=i+(q[o>>2]<<3)|0;u=q[s>>2];w=o+4|0;v=l;l=q[s+4>>2];o=(m|0)==(l|0)&r>>>0>u>>>0|l>>>0>>0;l=o?w:v;j=o?(n^-1)+j|0:n;if(j){continue}break}}n=l-b>>2}f=f-n|0;e=e-p|0;i=l;h:{if((b|0)==(k|0)){break h}i=k;if((b|0)==(l|0)){break h}m=k+4|0;if((m|0)==(b|0)){j=q[k>>2];i=l-b|0;if(i){Kk(k,b,i)}i=i+k|0;q[i>>2]=j;break h}if((b+4|0)==(l|0)){b=l-4|0;j=q[b>>2];i=l;b=b-k|0;if(b){i=l-b|0;Kk(i,k,b)}q[k>>2]=j;break h}o=l-b>>2;i=o;r=b-k>>2;j=r;if((i|0)==(j|0)){i=q[k>>2];q[k>>2]=t;q[b>>2]=i;i=b;if((b|0)==(m|0)){break h}while(1){j=q[m>>2];q[m>>2]=q[i+4>>2];q[i+4>>2]=j;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break h}while(1){b=j;j=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(j){b=(j<<2)+k|0;while(1){b=b-4|0;t=r<<2;m=b+t|0;s=q[b>>2];j=b;while(1){i=m;q[j>>2]=q[i>>2];j=i;m=l-i>>2;m=(m|0)>(r|0)?i+t|0:(r-m<<2)+k|0;if((m|0)!=(b|0)){continue}break}q[i>>2]=s;if((b|0)!=(k|0)){continue}break}}i=(o<<2)+k|0}i:{if((n+p|0)<(e+f|0)){Yv(a,k,i,d,p,n,g,h);a=i;b=l;break i}Yv(i,l,c,d,e,f,g,h);f=n;e=p;c=i;b=k}if(f){continue}break a}break}if((b|0)==(c|0)){break a}j=b;i=g;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(c|0)){continue}break}if((g|0)==(i|0)){break a}f=q[d>>2];while(1){if((a|0)==(b|0)){if((g|0)==(i|0)){break a}while(1){c=c-4|0;i=i-4|0;q[c>>2]=q[i>>2];if((g|0)!=(i|0)){continue}break}break a}d=i-4|0;e=q[d>>2];h=f+(e<<3)|0;l=q[h>>2];j=b-4|0;m=q[j>>2];k=f+(m<<3)|0;n=q[k>>2];h=q[h+4>>2];k=q[k+4>>2];if((h|0)==(k|0)&l>>>0>=n>>>0|h>>>0>k>>>0){m=e;j=b;i=d}c=c-4|0;q[c>>2]=m;b=j;if((g|0)!=(i|0)){continue}break}}}function QM(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;j=fi-4096|0;fi=j;k=-1;a:{if(!a|!b){break a}i=Fi(b);if(!i){break a}b:{c:{d=Oj(i+1|0,1);if(d){c=d;while(1){d:{f=r[b|0];e:{if((f|0)!=92){if(f){break e}break d}f=47}b=b+1|0;o[c|0]=f;c=c+1|0;e=e+1|0;if((e|0)!=(i|0)){continue}}break}q[a+92>>2]=d;c=q[a+20>>2];if((c|0)==1){b=vS(a,d);q[a+88>>2]=b;if((b|0)<0){break b}if(!Mw(a,b,j)){break b}b=j;d=q[b+28>>2];q[a+104>>2]=q[b+24>>2];q[a+108>>2]=d;d=q[b+36>>2];q[a+96>>2]=q[b+32>>2];q[a+100>>2]=d;q[a+112>>2]=q[b+20>>2];q[a+120>>2]=q[b+4>>2];q[a+124>>2]=0;d=q[b+52>>2];q[a+160>>2]=q[b+48>>2];q[a+164>>2]=d;p[a+168>>1]=s[b+14>>1];q[a+319496>>2]=q[b+44>>2];q[a+319500>>2]=q[b+16>>2];k=0;break a}q[a+96>>2]=0;q[a+100>>2]=0;f=q[a+16>>2];q[a+88>>2]=f;q[a+104>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;b=q[a+4>>2];d=b;e=q[a>>2];q[a+160>>2]=e;q[a+164>>2]=b;q[a+120>>2]=e;q[a+124>>2]=b;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0;p[a+150>>1]=0;p[a+152>>1]=0;p[a+154>>1]=0;p[a+156>>1]=0;q[a+319496>>2]=-2119958528;p[a+168>>1]=0;if(!q[a+72>>2]|(c|0)!=2|(q[a+80>>2]&1024|(f|0)==65535)){break b}b=q[a+32>>2];c=b-1|0;h=q[a+36>>2]|b?c&b-(c&e):0;l=h;f=i;c=e;g=f+c|0;b=d;b=c>>>0>g>>>0?b+1|0:b;c=h+g|0;b=c>>>0>>0?b+1|0:b;if(c+76>>>0<76){b=b+1|0}if(b){break b}c=h+30|0;m=qi(j,0,c>>>0<4096?c:4096);b=c;while(1){if(b){g=b>>>0<4096?b:4096;n=ji[q[a+60>>2]](q[a+68>>2],e,d,m,g)|0;b=b-g|0;h=e;e=g;h=h+e|0;d=e>>>0>h>>>0?d+1|0:d;e=h;if((g|0)==(n|0)){continue}break b}break}b=q[a+164>>2];e=l+q[a+160>>2]|0;b=e>>>0>>0?b+1|0:b;q[a+160>>2]=e;q[a+164>>2]=b;d=q[a+32>>2];g=q[a+36>>2];if(e&d-1|b&g-(d>>>0<1)?d|g:0){break c}d=q[a+124>>2];e=c+q[a+120>>2]|0;d=e>>>0>>0?d+1|0:d;c=e;q[a+120>>2]=c;q[a+124>>2]=d;if((ji[q[a+60>>2]](q[a+68>>2],c,d,q[a+92>>2],i)|0)!=(i|0)){break b}b=q[a+124>>2];c=f+q[a+120>>2]|0;b=c>>>0>>0?b+1|0:b;f=c;c=b;q[a+120>>2]=f;q[a+124>>2]=b;b=q[a+80>>2]&15;if(b){q[a+204>>2]=a+176;q[a+200>>2]=1512;q[a+192>>2]=0;q[a+196>>2]=0;q[a+184>>2]=f;q[a+188>>2]=c;q[a+176>>2]=a;c=(b>>>0<4)<<14;b=q[((b>>>0<10?b:10)<<2)+196640>>2];d=c|b;q[a+208>>2]=d;q[a+220>>2]=d>>>14&1;b=b&4095;q[a+212>>2]=((b+2>>>0)/3|0)+1;q[a+216>>2]=(((b>>>2|0)+2>>>0)/3|0)+1;qi(a+168762|0,0,65536);q[a+232>>2]=0;q[a+236>>2]=0;q[a+260>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;q[a+272>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+256>>2]=8;q[a+244>>2]=a+37690;q[a+240>>2]=a+37691;q[a+304>>2]=0;q[a+308>>2]=0;b=a+234298|0;q[a+252>>2]=b;q[a+248>>2]=b;q[a+284>>2]=0;q[a+276>>2]=0;q[a+280>>2]=0;q[a+224>>2]=1;q[a+228>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=0;q[a+324>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;q[a+336>>2]=0;q[a+340>>2]=0;qi(a+33370|0,0,640)}k=0;q[a+319500>>2]=T(0);break a}q[a+92>>2]=0;break a}J(196694,196764,355,196783);G()}b=q[a+92>>2];if(!b){break a}ki(b);q[a+92>>2]=0}fi=j+4096|0;return k}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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;e=fi-16|0;fi=e;a:{if(q[a+104>>2]==8){b=q[a+120>>2];o[c+3|0]=b<<5|r[a+119|0]<<1|b<<2;d=q[a+140>>2];b=c;b:{if(r[a+119|0]){o[c|0]=d<<3;o[c+1|0]=r[a+144|0]<<3;d=r[a+148|0]<<3;break b}o[c|0]=d|d<<4;d=q[a+144>>2];o[c+1|0]=d<<4|d;d=q[a+148>>2];d=d<<4|d}o[b+2|0]=d;a=q[(q[a+136>>2]<<2)+92240>>2];o[c+4|0]=a;o[c+5|0]=a>>>8;o[c+6|0]=a>>>16;o[c+7|0]=a>>>24;break a}d=r[a+118|0];p=r[a+119|0];o[c+3|0]=d|p<<1|q[a+120>>2]<<5|q[a+124>>2]<<2;g=e+8|4;n=d<<5;d=n+92256|0;f=((r[d+3|0]<<4)+b|0)+(r[d+2|0]<<2)|0;s=r[f|0];h=((r[d+1|0]<<4)+b|0)+(r[d|0]<<2)|0;t=r[h|0];i=((r[d+5|0]<<4)+b|0)+(r[d+4|0]<<2)|0;u=r[i|0];j=((r[d+7|0]<<4)+b|0)+(r[d+6|0]<<2)|0;v=r[j|0];k=((r[d+9|0]<<4)+b|0)+(r[d+8|0]<<2)|0;x=r[k|0];l=((r[d+11|0]<<4)+b|0)+(r[d+10|0]<<2)|0;y=r[l|0];m=((r[d+13|0]<<4)+b|0)+(r[d+12|0]<<2)|0;z=r[m|0];d=((r[d+15|0]<<4)+b|0)+(r[d+14|0]<<2)|0;A=r[d|0];B=r[d+2|0];C=r[m+2|0];D=r[l+2|0];E=r[k+2|0];F=r[j+2|0];G=r[i+2|0];H=r[f+2|0];I=r[h+2|0];J=r[d+1|0];m=r[m+1|0];l=r[l+1|0];k=r[k+1|0];j=r[j+1|0];i=r[i+1|0];K=r[f+1|0];h=r[h+1|0];d=e+8|0;f=p?31:15;o[Cj(d,0)|0]=((w(f,A+(z+(y+(x+(v+(u+(s+t|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Cj(d,1)|0]=((w(f,(m+(l+(k+(j+(i+(h+K|0)|0)|0)|0)|0)|0)+J|0)+1020&65535)>>>0)/2040;o[Cj(d,2)|0]=((w(f,B+(C+(D+(E+(F+(G+(H+I|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Cj(d,3)|0]=0;if(!(7424>>>q[a+104>>2]&1)){bM(e,d,q[a+128>>2],f,0);q[e+8>>2]=q[e>>2]}d=n+92256|0;h=((r[d+19|0]<<4)+b|0)+(r[d+18|0]<<2)|0;s=r[h|0];i=((r[d+17|0]<<4)+b|0)+(r[d+16|0]<<2)|0;t=r[i|0];j=((r[d+21|0]<<4)+b|0)+(r[d+20|0]<<2)|0;u=r[j|0];k=((r[d+23|0]<<4)+b|0)+(r[d+22|0]<<2)|0;v=r[k|0];l=((r[d+25|0]<<4)+b|0)+(r[d+24|0]<<2)|0;x=r[l|0];m=((r[d+27|0]<<4)+b|0)+(r[d+26|0]<<2)|0;y=r[m|0];n=((r[d+29|0]<<4)+b|0)+(r[d+28|0]<<2)|0;z=r[n|0];d=((r[d+31|0]<<4)+b|0)+(r[d+30|0]<<2)|0;A=r[d|0];B=r[d+2|0];C=r[n+2|0];D=r[m+2|0];E=r[l+2|0];F=r[k+2|0];G=r[j+2|0];H=r[h+2|0];I=r[i+2|0];d=r[d+1|0];n=r[n+1|0];m=r[m+1|0];l=r[l+1|0];k=r[k+1|0];j=r[j+1|0];h=r[h+1|0];i=r[i+1|0];o[Cj(g,0)|0]=((w(f,A+(z+(y+(x+(v+(u+(s+t|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Cj(g,1)|0]=((w(f,d+(n+(m+(l+(k+(j+(h+i|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Cj(g,2)|0]=((w(f,B+(C+(D+(E+(F+(G+(H+I|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Cj(g,3)|0]=0;if(!(7424>>>q[a+104>>2]&1)){bM(e,g,q[a+128>>2],f,1);q[e+12>>2]=q[e>>2]}g=r[e+12|0];d=c;c:{if(!p){o[c|0]=g|r[e+8|0]<<4;f=r[e+14|0]|r[e+10|0]<<4;a=r[e+13|0]|r[e+9|0]<<4;break c}a=r[e+13|0]-r[e+9|0]|0;a=(a|0)<-4?-4:(a|0)>3?3:a;f=r[e+14|0]-r[e+10|0]|0;f=(f|0)<-4?-4:(f|0)>3?3:f;g=g-r[e+8|0]|0;g=(g|0)<-4?-4:(g|0)>3?3:g;o[c|0]=r[e+8|0]<<3|((g|0)<0?g+8|0:g);f=r[e+10|0]<<3|((f|0)<0?f+8|0:f);a=r[e+9|0]<<3|((a|0)<0?a+8|0:a)}o[d+2|0]=f;o[c+1|0]=a;ota(c,b)}fi=e+16|0}function nA(a,b,c,d,e,f,g,h,i,j,k,l,m,n,t,v){var y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0;A=fi-48|0;fi=A;B=q[a+4>>2];K=q[a>>2];H=B-K|0;C=(H|0)/104|0;a:{b:{c:{d:{e:{f:{g:{h:{if((H|0)==676e4){q[A>>2]=65e3;mi(4,5930,5941,A);b=0;break h}z=q[a+32>>2];if(!z){break g}y=s[a+38>>1];if(y>>>0>=s[a+36>>1]){break f}I=a+4|0;p[a+38>>1]=y+1;z=s[z+(y<<1)>>1];p[A+46>>1]=z;D=a+44|0;i:{j:{y=q[a+48>>2];k:{if(!y){break k}y=q[q[D>>2]+((b>>>0)%(y>>>0)<<2)>>2];if((y|0)==-1){break k}E=q[a+52>>2];while(1){F=E+w(y,12)|0;if(q[F>>2]==(b|0)){break j}y=q[F+8>>2];if((y|0)!=-1){continue}break}}y=q[a+68>>2];if((y|0)==((q[a+60>>2]-q[a+52>>2]|0)/12|0)){q[A+16>>2]=y;mi(4,5930,6002,A+16|0);c=q[a+32>>2];if(!c){break e}b=s[a+38>>1];if(!b|b>>>0>s[a+36>>1]){break d}d=a;a=b-1|0;p[d+38>>1]=a;p[c+((a&65535)<<1)>>1]=z;b=0;break h}Hu(D,b,A+46|0);B=q[I>>2];break i}D=q[a+16>>2];F=q[a+20>>2]-D>>1;y=s[(E+w(y,12)|0)+4>>1];if(F>>>0<=y>>>0){break a}y=s[D+(y<<1)>>1];if(C>>>0<=y>>>0){break a}l:{while(1){E=w(y,104)+K|0;y=s[E+94>>1];if((y|0)==65535){break l}if(y>>>0>=F>>>0){break a}y=s[D+(y<<1)>>1];if(C>>>0>y>>>0){continue}break}break a}p[E+94>>1]=z}z=q[a+8>>2];if((B|0)==(z|0)){if(o[a+12|0]&1){break c}y=(B-q[a>>2]|0)/104|0;z=(y>>>1|0)+2048>>>1|0;y=(z>>>0<2048?z:2048)+y|0;vi(y>>>0<65e3?y:65e3,104,a,a+8|0,I);B=q[a+8>>2]}else{B=z}y=q[a>>2];z=C+1|0;if((B-y|0)/104>>>0>>0){break b}q[I>>2]=y+w(z,104);if((H+104|0)/104>>>0<=C>>>0){break a}y=qi(y+w(C,104)|0,0,104);B=s[A+46>>1];z=q[a+16>>2];if(B>>>0>=q[a+20>>2]-z>>1>>>0){break a}p[z+(B<<1)>>1]=C;p[y+92>>1]=s[A+46>>1];q[y>>2]=b;q[y+24>>2]=g;q[y+16>>2]=e;q[y+20>>2]=f;q[y+8>>2]=c;q[y+12>>2]=d;b=q[k+4>>2];q[y+28>>2]=q[k>>2];q[y+32>>2]=b;b=q[k+12>>2];q[y+36>>2]=q[k+8>>2];q[y+40>>2]=b;q[y+44>>2]=q[k+16>>2];p[y+94>>1]=65535;q[y+88>>2]=-1;q[y+84>>2]=0;q[y+80>>2]=t;q[y+76>>2]=n;b=l>x(0);u[y+72>>2]=b?x(x(1)/l):x(0);u[y+68>>2]=b?l:x(0);u[y+60>>2]=m>x(0)?m:x(0);u[y+56>>2]=j;u[y+52>>2]=i;q[y+48>>2]=h;b=r[y+96|0]&-6|(v?4:0);z=b|1;o[y+96|0]=z;m:{switch(g-2|0){case 0:case 3:z=b|9;o[y+96|0]=z;break;default:break m}}o[y+96|0]=z|16;b=1;if(!n){break h}c=a+76|0;n:{o:{d=q[a+80>>2];p:{if(!d){break p}z=q[q[c>>2]+((t>>>0)%(d>>>0)<<2)>>2];if((z|0)==-1){break p}d=q[a+84>>2];while(1){e=d+w(z,12)|0;if(q[e>>2]==(t|0)){break o}z=q[e+8>>2];if((z|0)!=-1){continue}break}}d=(q[a+92>>2]-q[a+84>>2]|0)/12|0;a=q[a+100>>2];if((d|0)!=(a|0)){break n}q[A+32>>2]=a;mi(4,5930,6072,A+32|0);b=0;break h}d=s[(d+w(z,12)|0)+4>>1];e=q[a+16>>2];if(d>>>0>=q[a+20>>2]-e>>1>>>0){break a}d=s[e+(d<<1)>>1];e=q[a+4>>2];a=q[a>>2];if(d>>>0>=(e-a|0)/104>>>0){break a}a=a+w(d,104)|0;p[y+90>>1]=s[a+92>>1];p[a+88>>1]=s[A+46>>1]}Hu(c,t,A+46|0)}fi=A+48|0;return b}J(6142,6149,151,6223);G()}J(6227,6149,152,6223);G()}J(6142,6149,140,6740);G()}J(6745,6149,141,6740);G()}J(6524,6437,461,6599);G()}J(6418,6437,474,6516);G()}J(6718,6437,447,6729);G()}function vv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=a+b|0;a:{b:{c=q[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=q[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=q[240919]){if(c>>>0<=255){e=c>>>3|0;c=q[a+8>>2];d=q[a+12>>2];if((d|0)==(c|0)){q[240914]=q[240914]&owa(-2,e);break b}q[c+12>>2]=d;q[d+8>>2]=c;break b}h=q[a+24>>2];c=q[a+12>>2];c:{if((c|0)!=(a|0)){d=q[a+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break c}d:{d=a+20|0;e=q[d>>2];if(e){break d}d=a+16|0;e=q[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break b}d=q[a+28>>2];e=(d<<2)+963960|0;e:{if(q[e>>2]==(a|0)){q[e>>2]=c;if(c){break e}q[240915]=q[240915]&owa(-2,d);break b}q[h+(q[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;d=q[a+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[a+20>>2];if(!d){break b}q[c+20>>2]=d;q[d+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[240916]=b;q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[f>>2]=b;return}c=q[f+4>>2];f:{if(!(c&2)){if(q[240920]==(f|0)){q[240920]=a;b=q[240917]+b|0;q[240917]=b;q[a+4>>2]=b|1;if(q[240919]!=(a|0)){break a}q[240916]=0;q[240919]=0;return}if(q[240919]==(f|0)){q[240919]=a;b=q[240916]+b|0;q[240916]=b;q[a+4>>2]=b|1;q[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=q[f+8>>2];d=q[f+12>>2];if((d|0)==(c|0)){q[240914]=q[240914]&owa(-2,e);break g}q[c+12>>2]=d;q[d+8>>2]=c;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){d=q[f+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break h}i:{d=f+20|0;e=q[d>>2];if(e){break i}d=f+16|0;e=q[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break g}d=q[f+28>>2];e=(d<<2)+963960|0;j:{if(q[e>>2]==(f|0)){q[e>>2]=c;if(c){break j}q[240915]=q[240915]&owa(-2,d);break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;d=q[f+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[f+20>>2];if(!d){break g}q[c+20>>2]=d;q[d+24>>2]=c}q[a+4>>2]=b|1;q[a+b>>2]=b;if(q[240919]!=(a|0)){break f}q[240916]=b;return}q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+963696|0;d=q[240914];c=1<>2]}q[b+8>>2]=a;q[c+12>>2]=a;q[a+12>>2]=b;q[a+8>>2]=c;return}d=31;q[a+16>>2]=0;q[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}q[a+28>>2]=d;c=(d<<2)+963960|0;l:{e=q[240915];g=1<>2]=a;q[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=q[c>>2];while(1){e=c;if((q[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=a;q[a+24>>2]=e}q[a+12>>2]=a;q[a+8>>2]=a;return}b=q[e+8>>2];q[b+12>>2]=a;q[e+8>>2]=a;q[a+24>>2]=0;q[a+12>>2]=e;q[a+8>>2]=b}}function G5(a,b,c){var d=0,e=0,f=0,g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0,m=x(0),n=0,o=x(0),p=x(0),r=x(0),t=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=0,H=0,I=0;d=fi-192|0;fi=d;f=q[a+2208>>2];l=q[b+52>>2];e=q[b+48>>2];n=l-e|0;i=(n|0)/40|0;a:{if(!n){break a}if((e|0)!=(l|0)){H=i>>>0>1?i:1;l=a+2144|0;i=c+16|0;I=c+80|0;n=a+2016|0;F=a+2080|0;c=d+128|4;a=0;while(1){t=q[w(a,40)+e>>2];e=q[t+20>>2];b:{c:{switch(q[t+16>>2]){case 0:q[d+128>>2]=s[t+24>>1];ji[q[74935]](f,q[t>>2],q[d+128>>2],e);break b;case 1:if((ji[q[74928]](f)|0)==5){q[d+128>>2]=1065353216;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Dk(d- -64|0,d+128|0,l);ji[q[74936]](f,d- -64|0,e);break b}ji[q[74936]](f,l,e);break b;case 2:ji[q[74936]](f,i,e);break b;case 3:ji[q[74936]](f,I,e);break b;case 4:ji[q[74936]](f,n,e);break b;case 5:if((ji[q[74928]](f)|0)==5){q[d+128>>2]=1065353216;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Dk(d- -64|0,d+128|0,F);ji[q[74936]](f,d- -64|0,e);break b}ji[q[74936]](f,F,e);break b;case 6:Dk(d+128|0,n,i);q[d+188>>2]=1065353216;C=u[d+180>>2];D=u[d+184>>2];q[d+180>>2]=0;q[d+184>>2]=0;E=u[d+176>>2];q[d+176>>2]=0;h=u[d+128>>2];v=u[d+148>>2];m=u[d+132>>2];y=u[d+144>>2];g=x(x(h*v)-x(m*y));z=g;o=u[d+168>>2];j=u[d+160>>2];A=u[d+152>>2];B=u[d+136>>2];k=x(x(m*A)-x(B*v));p=u[d+164>>2];r=x(x(B*y)-x(h*A));g=x(x(1)/x(x(g*o)+x(x(j*k)+x(p*r))));z=x(z*g);u[d+168>>2]=z;r=x(r*g);u[d+164>>2]=r;k=x(k*g);u[d+160>>2]=k;u[d+172>>2]=-x(x(E*k)+x(x(C*r)+x(D*z)));k=x(x(x(m*j)-x(h*p))*g);u[d+152>>2]=k;h=x(x(x(h*o)-x(B*j))*g);u[d+148>>2]=h;m=x(x(x(B*p)-x(m*o))*g);u[d+144>>2]=m;u[d+156>>2]=-x(x(E*m)+x(x(C*h)+x(D*k)));h=x(x(x(y*p)-x(v*j))*g);u[d+136>>2]=h;j=x(x(x(A*j)-x(y*o))*g);u[d+132>>2]=j;g=x(x(x(v*o)-x(A*p))*g);u[d+128>>2]=g;u[d+140>>2]=-x(x(E*g)+x(x(C*j)+x(D*h)));ji[q[74936]](f,d+128|0,e);break b;case 7:Dk(d+128|0,n,i);ji[q[74936]](f,d+128|0,e);break b;case 8:break c;default:break b}}if((ji[q[74928]](f)|0)==5){q[d+128>>2]=1065353216;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Dk(d,d+128|0,l);Dk(d- -64|0,d,i);ji[q[74936]](f,d- -64|0,e);break b}Dk(d+128|0,l,i);ji[q[74936]](f,d+128|0,e)}a=a+1|0;if((H|0)==(a|0)){break a}e=q[b+48>>2];if((q[b+52>>2]-e|0)/40>>>0>a>>>0){continue}break}}J(103319,103123,454,103330);G()}fi=d+192|0}function s1(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=0;d=fi-192|0;fi=d;b=em(a,2);a:{if((b|0)==q[210276]){break a}g=1;if((b|0)==q[210277]){break a}g=2;if((b|0)==q[210278]){break a}g=3;if((b|0)==q[210279]){break a}g=(b|0)==q[210280]?4:5}b=em(a,3);b:{if((b|0)==q[210276]){break b}r=1;if((b|0)==q[210277]){break b}r=2;if((b|0)==q[210278]){break b}r=3;if((b|0)==q[210279]){break b}r=(b|0)==q[210280]?4:5}c:{d:{if((g|0)!=(r|0)){break d}h=x(Ai(a,1));e:{switch(g|0){case 2:b=Vi(a,2);g=Vi(a,3);e=u[b>>2];l=u[g>>2];f=u[b+4>>2];m=u[g+4>>2];i=u[b+8>>2];o=u[g+8>>2];j=u[b+12>>2];p=u[g+12>>2];c=x(x(x(x(e*l)+x(f*m))+x(i*o))+x(j*p));if(!(c>2]=x(p*c)+x(j*h);u[b+8>>2]=x(o*c)+x(i*h);u[b+4>>2]=x(m*c)+x(f*h);u[b>>2]=x(l*c)+x(e*h);zi(a,-1e4,120688);aj(a,-2);a=1;break c;case 1:b=yi(a,2,q[210277],0);c=u[b>>2];f=u[b+4>>2];g:{h:{if(c!=c|f!=f){break h}e=u[b+8>>2];if(e!=e){break h}e=u[b+12>>2];if(e==e){break g}}e=u[b+8>>2];i=u[b+12>>2];v[d+96>>3]=f;v[d+112>>3]=i;v[d+104>>3]=e;v[d+88>>3]=c;q[d+80>>2]=2;ni(a,120877,d+80|0)}g=yi(a,3,q[210277],0);e=u[g>>2];f=u[g+4>>2];i:{j:{if(e!=e|f!=f){break j}i=u[g+8>>2];if(i!=i){break j}j=u[g+12>>2];if(j==j){break i}}c=u[g+8>>2];i=u[g+12>>2];v[d+48>>3]=f;v[d- -64>>3]=i;v[d+56>>3]=c;v[d+40>>3]=e;q[d+32>>2]=3;ni(a,120877,d+32|0);j=u[g+12>>2];i=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}l=u[b>>2];m=u[b+4>>2];o=u[b+8>>2];p=u[b+12>>2];c=x(x(x(x(l*e)+x(m*f))+x(o*i))+x(p*j));k:{if(!(c>2]=x(j*c)+x(p*h);u[b+8>>2]=x(i*c)+x(o*h);u[b+4>>2]=x(f*c)+x(m*h);u[b>>2]=x(e*c)+x(l*h);zi(a,-1e4,120672);aj(a,-2);a=1;break c;case 0:break e;default:break d}}b=yi(a,2,q[210276],0);c=u[b>>2];f=u[b+4>>2];l:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break l}}e=u[b+8>>2];v[d+176>>3]=f;v[d+184>>3]=e;v[d+168>>3]=c;q[d+160>>2]=2;ni(a,120787,d+160|0)}g=yi(a,3,q[210276],0);c=u[g>>2];i=u[g+4>>2];m:{if(!(c!=c|i!=i)){e=u[g+8>>2];if(e==e){break m}}f=u[g+8>>2];v[d+144>>3]=i;v[d+152>>3]=f;v[d+136>>3]=c;q[d+128>>2]=3;ni(a,120787,d+128|0);e=u[g+8>>2];i=u[g+4>>2];c=u[g>>2]}n=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];f=x(x(x(n*c)+x(l*i))+x(m*e));n:{if(!(f>2]=x(e*f)+x(m*h);u[b+4>>2]=x(i*f)+x(l*h);u[b>>2]=x(c*f)+x(n*h);zi(a,-1e4,120656);aj(a,-2);a=1;break c}q[d+20>>2]=120688;q[d+16>>2]=120720;q[d+12>>2]=120656;q[d+8>>2]=120720;q[d+4>>2]=122282;q[d>>2]=120720;a=ni(a,122776,d)}fi=d+192|0;return a|0}function Wna(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;j=fi-32|0;fi=j;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{f=q[b+40>>2];g=q[f+48>>2];if(g){h=q[f+44>>2];b=0;while(1){if((b|0)==(g|0)){break k}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){a=0;q[e>>2]=0;b=q[(h+(b<<5)|0)+16>>2];if(b>>>0>=t[f+104>>2]){break a}v[e+8>>3]=u[q[f+100>>2]+(b<<2)>>2];break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}g=q[f+56>>2];if(g){h=q[f+52>>2];b=0;while(1){if((b|0)==(g|0)){break j}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=1;a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+112>>2]){break i}a=q[f+108>>2]+(a<<3)|0;b=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=b;a=0;break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}g=q[f- -64>>2];if(g){h=q[f+60>>2];b=0;while(1){if((b|0)==(g|0)){break h}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=2;c=j;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a+40>>2];ji[q[a+44>>2]](d,c);a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+120>>2]){break g}a=ay(d,q[q[f+116>>2]+(a<<2)>>2],e+8|0,j)?-2:0;break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}a=q[f+72>>2];if(a){g=q[f+68>>2];b=0;while(1){if((a|0)==(b|0)){break f}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=3;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+104>>2]){break a}a=q[f+100>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+80>>2];if(a){g=q[f+76>>2];b=0;while(1){if((a|0)==(b|0)){break e}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=4;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+104>>2]){break a}a=q[f+100>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];u[e+20>>2]=u[a+12>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+88>>2];if(a){g=q[f+84>>2];b=0;while(1){if((a|0)==(b|0)){break d}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=5;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+104>>2]){break a}a=q[f+100>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];u[e+20>>2]=u[a+12>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+96>>2];l:{if(!a){g=0;break l}h=q[f+92>>2];b=0;g=1;while(1){if((a|0)==(b|0)){break c}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=6;a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+104>>2]){break a}o[e+8|0]=u[q[f+100>>2]+(a<<2)>>2]!=x(0);break l}b=b+1|0;g=a>>>0>b>>>0;if((a|0)!=(b|0)){continue}break}}fi=j+32|0;return g-1|0}J(19343,19355,53,19397);G()}J(19343,19355,61,19397);G()}J(19343,19355,117,19397);G()}J(19343,19355,69,19397);G()}J(19343,19355,125,19397);G()}J(19343,19355,77,19397);G()}J(19343,19355,85,19397);G()}J(19343,19355,93,19397);G()}J(19343,19355,101,19397);G()}fi=j+32|0;return a|0}J(19343,19355,109,19397);G()}function TF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=fi-32|0;fi=h;c=Ci(173536);q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=1;q[c+36>>2]=-1;q[c+20>>2]=509;q[c+8>>2]=0;q[c+12>>2]=0;d=c+48|0;q[c+16>>2]=d;qi(d,255,2036);q[c+155732>>2]=0;q[c+155736>>2]=1;d=0;q[c+88100>>2]=0;q[c+32>>2]=c+26660;e=c+2084|0;q[c+28>>2]=e;q[c+24>>2]=e;q[c+155728>>2]=-1;q[c+155712>>2]=341;e=c+155740|0;q[c+155708>>2]=e;qi(e,255,1364);q[c+173500>>2]=0;q[c+173504>>2]=0;q[c+155724>>2]=c+173488;e=c+157104|0;q[c+155720>>2]=e;q[c+155716>>2]=e;e=c+173508|0;q[e>>2]=0;q[e+4>>2]=0;q[c+173520>>2]=0;q[c+173524>>2]=0;e=c+173528|0;q[e>>2]=0;q[e+4>>2]=0;e=c+153648|0;i=c+173520|0;g=c+173500|0;while(1){p[e+(d<<1)>>1]=1023-d;d=d+1|0;if((d|0)!=1023){continue}break}q[c+155704>>2]=a;q[c+155696>>2]=1023;a=F6(a);q[c+88104>>2]=0;q[c+155700>>2]=a;p[c+173516>>1]=0;a:{b:{c:{if(!(o[c+173532|0]&1)){vi(q[b+4>>2]-q[b>>2]>>2,4,i,c+173528|0,c+173524|0);a=c+88168|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88160|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88152|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88144|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88136|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88128|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88120|0;q[a>>2]=0;q[a+4>>2]=0;q[c+88112>>2]=0;q[c+88116>>2]=0;a=q[b>>2];if((a|0)==q[b+4>>2]){break c}a=Fy(c,q[a>>2],c+88112|0);p[c+88148>>1]=65535;q[c+88144>>2]=-1;q[c+88168>>2]=a;p[c+173516>>1]=s[c+173516>>1]+1;if(o[c+173512|0]&1){break a}vi(128,56,g,c+173508|0,c+173504|0);q[c+173496>>2]=0;p[c+173492>>1]=0;q[c+173488>>2]=Nqa();if(!q[c+88168>>2]){q[c+88168>>2]=-17}d=q[b>>2];if(q[b+4>>2]-d>>2>>>0>=2){i=1;while(1){d:{if(Fy(c,q[(i<<2)+d>>2],h)){break d}d=s[c+88146>>1];if((d|0)!=65535){a=q[h+16>>2];e=q[h+20>>2];while(1){d=(d<<16>>16<<6)+c|0;g=d+88128|0;if((a|0)==q[g>>2]&(e|0)==q[g+4>>2]){break d}d=s[d+88148>>1];if((d|0)!=65535){continue}break}}a=q[c+155696>>2];if(!a){break d}a=a-1|0;q[c+155696>>2]=a;j=p[((a<<1)+c|0)+153648>>1];e=(j<<6)+c|0;g=e+88168|0;a=g;q[a>>2]=0;q[a+4>>2]=0;a=e+88160|0;q[a>>2]=0;q[a+4>>2]=0;a=e+88152|0;q[a>>2]=0;q[a+4>>2]=0;k=e+88144|0;a=k;q[a>>2]=0;q[a+4>>2]=0;a=h;f=q[a+4>>2];d=e+88112|0;q[d>>2]=q[a>>2];q[d+4>>2]=f;f=q[a+12>>2];d=e+88120|0;q[d>>2]=q[a+8>>2];q[d+4>>2]=f;f=q[a+20>>2];d=e+88128|0;q[d>>2]=q[a+16>>2];q[d+4>>2]=f;f=q[a+28>>2];d=e+88136|0;q[d>>2]=q[a+24>>2];q[d+4>>2]=f;q[g>>2]=-17;p[e+88146>>1]=65535;f=s[c+88146>>1];d=0;p[k>>1]=0;p[e+88148>>1]=f;p[c+88146>>1]=j;e=s[c+88150>>1];j=e+1|0;p[c+88150>>1]=j;k=q[a+24>>2];a=q[a+28>>2];while(1){e:{d=(d<<16>>16<<6)+c|0;f=d+88136|0;if(q[f>>2]==(k|0)&q[f+4>>2]==(a|0)){q[g>>2]=-16;if(!(j&65535)){break b}p[c+88150>>1]=e;break e}d=s[d+88144>>1];if((d|0)!=65535){continue}}break}p[c+173516>>1]=s[c+173516>>1]+1}i=i+1|0;d=q[b>>2];if(i>>>0>2]-d>>2>>>0){continue}break}}fi=h+32|0;return c}break a}J(29721,29732,454,29811);G()}J(29668,29361,362,29646);G()}J(30723,29732,461,30798);G()}function RJ(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,s=0,t=0,v=0;f=fi-32|0;fi=f;a:{b:{c:{j=Ij(b,q[q[c>>2]>>2],c+4|0);d:{if(j){break d}j=Ij(b,q[q[c>>2]+4>>2],c+8|0);if(j){break d}q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;e:{h=q[c>>2];g=q[h+12>>2];if(!g){break e}j=0;f:{while(1){if(d>>>0>>0){g=d<<2;h=q[g+q[h+8>>2]>>2];g:{if(!r[h|0]){break g}g=f+g|0;h=Ij(b,h,g);if(h){j=j?j:h;break g}g=ts(b,q[g>>2],((d<<3)+c|0)+56|0);j=g?g:j}if(d>>>0>6){break f}d=d+1|0;h=q[c>>2];g=q[h+12>>2];if(d>>>0>>0){continue}break f}break}J(58330,58342,57,58376);G()}if(!j){break e}a=q[f>>2];if(a){Di(b,a)}a=q[f+4>>2];if(a){Di(b,a)}a=q[f+8>>2];if(a){Di(b,a)}a=q[f+12>>2];if(a){Di(b,a)}a=q[f+16>>2];if(a){Di(b,a)}a=q[f+20>>2];if(a){Di(b,a)}a=q[f+24>>2];if(a){Di(b,a)}a=q[f+28>>2];if(!a){break d}Di(b,a);break d}b=q[f+4>>2];q[c+20>>2]=q[f>>2];q[c+24>>2]=b;b=q[f+12>>2];q[c+28>>2]=q[f+8>>2];q[c+32>>2]=b;b=q[f+28>>2];q[c+44>>2]=q[f+24>>2];q[c+48>>2]=b;b=q[f+20>>2];q[c+36>>2]=q[f+16>>2];q[c+40>>2]=b;j=0;if(q[q[c+8>>2]+104>>2]!=1){break d}b=q[c+4>>2];if(!(q[b+20>>2]?0:!q[b+28>>2])){mi(4,58213,58221,0);j=-15;break d}b=q[q[b+24>>2]>>2];if(!b|!q[b+4>>2]|!q[b+12>>2]){break d}d=q[b+8>>2];h:{if(q[d+64>>2]==1){g=q[d+60>>2]>>>2|0;if(ji[q[74908]](a,1)|0){b=ji[q[74902]](a,q[d+60>>2],q[d+56>>2],2)|0;q[c+120>>2]=5;q[c+16>>2]=b;break h}k=g<<5;b=Ci((g&134217727)!=(g|0)?-1:k);if(g){l=q[d+48>>2];m=q[d+12>>2];n=q[d+20>>2];o=q[d+8>>2];p=q[d+16>>2];s=q[d>>2];v=q[d+4>>2];h=q[d+56>>2];d=b;while(1){i=l+w(q[h>>2],12)|0;e=w(q[i>>2],3);if(e>>>0>=v>>>0){break c}e=s+(e<<2)|0;u[d>>2]=u[e>>2];u[d+4>>2]=u[e+4>>2];u[d+8>>2]=u[e+8>>2];e=q[i+4>>2]<<1;if(e>>>0>=n>>>0){break b}e=p+(e<<2)|0;u[d+12>>2]=u[e>>2];u[d+16>>2]=u[e+4>>2];i=w(q[i+8>>2],3);if(i>>>0>=m>>>0){break a}i=o+(i<<2)|0;u[d+20>>2]=u[i>>2];u[d+24>>2]=u[i+4>>2];u[d+28>>2]=u[i+8>>2];h=h+4|0;d=d+32|0;t=t+1|0;if((t|0)!=(g|0)){continue}break}}q[c+12>>2]=ji[q[74895]](a,k,b,2);ki(b);q[c+124>>2]=g;break d}b=ji[q[74902]](a,q[d+60>>2],q[d+56>>2],2)|0;q[c+120>>2]=3;q[c+16>>2]=b;g=q[d+60>>2]>>>1|0}q[c+124>>2]=g;i=q[d+52>>2];k=i<<5;g=Ci((i|0)!=(i&134217727)?-1:k);if(i){l=q[d+12>>2];m=q[d+20>>2];n=q[d+8>>2];o=q[d+16>>2];p=q[d>>2];s=q[d+4>>2];h=q[d+48>>2];b=0;d=g;while(1){e=w(q[h>>2],3);if(e>>>0>=s>>>0){break c}e=p+(e<<2)|0;u[d>>2]=u[e>>2];u[d+4>>2]=u[e+4>>2];u[d+8>>2]=u[e+8>>2];e=q[h+4>>2]<<1;if(e>>>0>=m>>>0){break b}e=o+(e<<2)|0;u[d+12>>2]=u[e>>2];u[d+16>>2]=u[e+4>>2];e=w(q[h+8>>2],3);if(e>>>0>=l>>>0){break a}e=n+(e<<2)|0;u[d+20>>2]=u[e>>2];u[d+24>>2]=u[e+4>>2];u[d+28>>2]=u[e+8>>2];d=d+32|0;h=h+12|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}q[c+12>>2]=ji[q[74895]](a,k,g,2);ki(g)}fi=f+32|0;return j}J(58330,58387,305,58376);G()}J(58330,58387,321,58376);G()}J(58330,58387,313,58376);G()}function lJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,v=0,y=0,z=0,A=0,B=0,C=0,D=x(0);i=fi-80|0;fi=i;y=q[b+12>>2];k=q[g+8>>2];a:{b:{c:{if((Wo(a,q[b+8>>2])|0)==5){j=q[k+4>>2];h=q[k>>2];v=j-h|0;z=(v|0)/288|0;n=z+1|0;if(n>>>0>(q[k+8>>2]-h|0)/288>>>0){break b}m=q[q[k+76>>2]+28>>2];A=q[k+88>>2];q[k+4>>2]=h+w(n,288);if((v+288|0)/288>>>0<=z>>>0){break a}v=w(m,216)-A|0;h=q[g+12>>2];q[g+12>>2]=h+1;q[j+272>>2]=h;Mm(j);q[j+148>>2]=q[k+48>>2];h=q[k+52>>2];q[j+192>>2]=1;q[j+144>>2]=h;A=k+60|0;q[j+248>>2]=(q[A>>2]-q[k+56>>2]|0)/36;q[j+156>>2]=q[g+4>>2];q[j+160>>2]=q[y+72>>2];n=0;if(!f){break c}h=0;while(1){m=(h<<4)+b|0;if(!tn(a,q[m+8>>2])){m=q[m+12>>2];B=a6(q[k+76>>2],q[m+84>>2],q[m+88>>2]);Ko(i+32|0,(h<<6)+c|0);l=q[m+84>>2];s=q[k+76>>2];D=u[i+64>>2];u[i+24>>2]=u[i+56>>2];C=q[i+52>>2];q[i+16>>2]=q[i+48>>2];q[i+20>>2]=C;Bu(s,l,i+16|0);l=q[m+84>>2];s=q[k+76>>2];C=q[i+36>>2];q[i+16>>2]=q[i+32>>2];q[i+20>>2]=C;C=q[i+44>>2];q[i+24>>2]=q[i+40>>2];q[i+28>>2]=C;Au(s,l,i+16|0);zu(q[k+76>>2],q[m+84>>2],D);n=n+B|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}break c}J(41223,39661,973,41264);G()}m=k+56|0;d:{e:{h=(v>>>0)/36|0;h=h>>>0>n>>>0?n:h;B=k- -64|0;l=q[B>>2];c=q[k+60>>2];if(h>>>0>(l-c|0)/36>>>0){if(o[k+68|0]&1){break e}vi(((l-q[m>>2]|0)/36|0)+(h>>>0>128?h:128)|0,36,m,B,A);c=q[A>>2]}if(!f){n=0;break d}n=0;h=0;while(1){l=(h<<4)+b|0;s=q[l+8>>2];if(!tn(a,s)){Bl(i+32|0,a,s,3);u[i+28>>2]=u[(h<<2)+d>>2];u[i+24>>2]=u[i+40>>2];s=q[i+36>>2];q[i+16>>2]=q[i+32>>2];q[i+20>>2]=s;l=q[l+12>>2];q[i+12>>2]=0;EG(q[k+76>>2],u[k+92>>2],q[l+84>>2],q[l+88>>2],i+16|0,c,v,i+12|0,1);l=q[i+12>>2];v=v-l|0;l=(l>>>0)/36|0;n=l+n|0;c=w(l,36)+c|0}h=h+1|0;if((h|0)!=(f|0)){continue}break}break d}J(39145,39220,461,39299);G()}q[k+88>>2]=q[k+88>>2]+w(n,36);q[j+252>>2]=n;f:{a=q[(q[y+68>>2]<<2)+293788>>2];if(a>>>0<5){o[j+256|0]=r[j+256|0]|1;a=a<<2;q[j+204>>2]=q[a+42556>>2];q[j+200>>2]=q[a+42536>>2];a=q[k+16>>2];if(q[k+20>>2]-a>>2>>>0<=z>>>0){break a}a=q[a+(z<<2)>>2];h=q[y+80>>2];if(!(a|!h)){a=Np();b=q[k+16>>2];if(q[k+20>>2]-b>>2>>>0<=z>>>0){break a}q[b+(z<<2)>>2]=a;h=q[y+80>>2]}if(h){b=0;while(1){d=q[y+76>>2]+(b<<5)|0;Rea(a,q[d>>2],q[d+4>>2],d+16|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(a){Tq(j,a)}a=q[e>>2];o[j+256|0]=r[j+256|0]|2;g:{h:{if(a){q[j+212>>2]=5;q[j+216>>2]=0;q[j+220>>2]=2;q[j+224>>2]=2;o[j+244|0]=r[a|0];o[j+245|0]=r[a+1|0];o[j+246|0]=r[a+2|0];h=j+247|0;o[h|0]=r[j+247|0]&208|r[a+3|0]&15;if(!r[g+16|0]){break g}o[g+16|0]=0;a=r[j+247|0]|16;break h}q[j+212>>2]=7;q[j+216>>2]=0;o[j+246|0]=255;p[j+244>>1]=65280;q[j+220>>2]=0;q[j+224>>2]=0;h=j+247|0;a=r[h|0]&-48|15}o[h|0]=a}a=q[m>>2];if((q[B>>2]-a|0)/36>>>0<(c-a|0)/36>>>0){break f}q[A>>2]=c;fi=i+80|0;return}q[i>>2]=a;mi(4,38938,40995,i);J(41019,39661,812,41021);G()}}J(39472,39220,474,39491);G()}J(39499,39220,447,39510);G()}function kr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=fi-16|0;j=q[c>>2];g=q[c+4>>2];h=q[b+4>>2];e=h;k=q[a+4>>2];i=q[b>>2];a:{b:{if((e|0)==(k|0)&i>>>0>=t[a>>2]|e>>>0>k>>>0){e=0;if((g|0)==(h|0)&j>>>0>=i>>>0|g>>>0>h>>>0){break a}e=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=e;e=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=e;e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e;g=q[b+4>>2];h=q[a+4>>2];e=1;if((g|0)==(h|0)&t[b>>2]>=t[a>>2]|g>>>0>h>>>0){break a}e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=e;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;e=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=e;e=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=e;break b}if((g|0)==(h|0)&j>>>0>>0|g>>>0>>0){e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=e;e=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e;e=1;break a}e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=e;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;e=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=e;e=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=e;g=q[c+4>>2];h=q[b+4>>2];e=1;if((g|0)==(h|0)&t[c>>2]>=t[b>>2]|g>>>0>h>>>0){break a}e=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=e;e=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=e;e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e}e=2}g=q[d+4>>2];h=q[c+4>>2];if((g|0)==(h|0)&t[d>>2]>2]|g>>>0>>0){g=q[c+12>>2];q[f+8>>2]=q[c+8>>2];q[f+12>>2]=g;g=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=g;g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;g=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=g;g=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=g;d=q[c+4>>2];g=q[b+4>>2];if((d|0)==(g|0)&t[c>>2]>=t[b>>2]|d>>>0>g>>>0){return e+1|0}d=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=d;d=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=d;d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;d=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=d;d=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=d;c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return e+2|0}c=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=c;c=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=a;a=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=a;e=e+3|0}return e}function Oz(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,t=0,u=0,v=0;a:{b:{c:{d:{e:{f:{h=b&65535;i=q[a+32>>2];if(h>>>0<(q[a+36>>2]-i|0)/576>>>0){l=b>>>16|0;if((l|0)!=s[(w(h,576)+i|0)+552>>1]){break c}k=w(h,576)+i|0;t=s[k+554>>1];if((t|0)!=(b&65535)){break b}d=q[k+416>>2];if(d){ji[q[a+376>>2]](q[a+388>>2],a,b,d,q[(w(h,576)+i|0)+512>>2])}j=w(h,576)+i|0;n=j;g=q[a+232>>2];d=q[a+228>>2];e=g-d|0;f=(e|0)/12|0;if(!e|(q[j+412>>2]&240)!=80){break e}if(!c){break f}u=w(h,576);v=u+i|0;e=0;g:{h:{while(1){if((g-d|0)/12>>>0<=e>>>0){break d}i:{m=w(e,12);j:{if(q[(m+d|0)+8>>2]!=(b|0)){e=e+1|0;break j}d=q[a+32>>2];if((q[a+36>>2]-d|0)/576>>>0<=h>>>0){break i}d=d+u|0;if((l|0)!=s[d+552>>1]){break c}if(s[d+554>>1]!=(t|0)){break b}vs(q[a+192>>2],q[d+532>>2]);q[v+532>>2]=0;g=q[a+232>>2];d=q[a+228>>2];if((g-d|0)/12>>>0<=e>>>0){break h}d=d+m|0;g=g-12|0;m=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=m;q[d+8>>2]=q[g+8>>2];g=q[a+232>>2]-12|0;q[a+232>>2]=g;d=q[a+228>>2];if(g>>>0>>0){break g}f=f-1|0}if(e>>>0>>0){continue}break e}break}break d}J(187274,186599,481,187289);G()}J(187299,186599,484,187289);G()}break d}if((d|0)==(g|0)){break d}g=f>>>0>1?f:1;e=0;while(1){d=w(e,12)+d|0;if(q[d+8>>2]==(b|0)){Xy(q[a+192>>2],q[d>>2]);q[n+412>>2]=q[n+412>>2]|268435456}e=e+1|0;if((g|0)==(e|0)){break e}d=q[a+228>>2];if((q[a+232>>2]-d|0)/12>>>0>e>>>0){continue}break}break d}d=s[j+562>>1];if((d|0)!=65535){while(1){d=d&65535;e=q[a+32>>2];if(d>>>0>=(q[a+36>>2]-e|0)/576>>>0){break d}e=e+w(d,576)|0;d=s[e+558>>1];Oz(a,s[e+554>>1]|s[e+552>>1]<<16,c);if((d|0)!=65535){continue}break}}j=q[a+52>>2];e=q[a+48>>2];d=j-e|0;if(d){g=(d|0)/72|0;d=0;while(1){if((j-e|0)/72>>>0<=d>>>0){break d}l=w(d,72);f=l+e|0;if(q[f>>2]==(b|0)){e=r[f+68|0];k:{if(e&2){break k}o[f+68|0]=e|2;e=q[f+40>>2];if(e){ji[e|0](f+32|0)}e=q[f+56>>2];if(!e){break k}ji[e|0](a,q[f>>2],0,q[f+60>>2],q[f+64>>2])}f=q[a+52>>2];e=q[a+48>>2];if((f-e|0)/72>>>0<=d>>>0){break d}e=e+l|0;Kk(e,e+72|0,(f-e|0)-72|0);e=q[a+48>>2];f=((q[a+52>>2]-e|0)/72|0)-1|0;if(f>>>0>(q[a+56>>2]-e|0)/72>>>0){break a}j=w(f,72)+e|0;q[a+52>>2]=j;g=g-1|0;d=d-1|0}d=d+1|0;if(d>>>0>>0){continue}break}}l:{m:{n:{o:{if(!(!(r[n+415|0]&16)|c)){Oq(a,k);a=w(h,576)+i|0;p[a+556>>1]=65535;p[a+560>>1]=65535;f=a+558|0;break o}Oq(a,k);d=q[a+20>>2];if(!d){break n}c=s[a+26>>1];if(!c|c>>>0>s[a+24>>1]){break m}f=k+554|0;b=s[f>>1];c=c-1|0;p[a+26>>1]=c;p[d+((c&65535)<<1)>>1]=b;c=q[a+32>>2];if((b+1|0)==((q[a+36>>2]-c|0)/576|0)){if(b>>>0>(q[a+40>>2]-c|0)/576>>>0){break l}q[a+36>>2]=c+w(b,576)}a=q[(w(h,576)+i|0)+420>>2];if(a){ki(a)}qi(k,0,576)}p[f>>1]=65535;return}J(186843,186850,140,186768);G()}J(186948,186850,141,186768);G()}break a}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(187316,186599,474,187335);G()}function uw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{c=q[a+16>>2];switch(r[c+21|0]){case 4:break b;case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break a}}PD(a);return 0}if(q[c+36>>2]){return ur(c)}b=q[c+140>>2];d=c+120|0;g:{if((b|0)==(d|0)){break g}while(1){h:{if(r[b+5|0]&7){break h}e=q[b+8>>2];if(q[e+8>>2]<4){break h}e=q[e>>2];if(!(r[e+5|0]&3)){break h}rk(c,e)}b=q[b+20>>2];if((d|0)!=(b|0)){continue}break}if(!q[c+36>>2]){break g}while(1){ur(c);if(q[c+36>>2]){continue}break}}b=q[c+44>>2];q[c+44>>2]=0;q[c+36>>2]=b;if(r[a+5|0]&3){rk(c,a)}QD(c);if(q[c+36>>2]){while(1){ur(c);if(q[c+36>>2]){continue}break}}b=q[c+40>>2];q[c+40>>2]=0;q[c+36>>2]=b;if(b){while(1){ur(c);if(q[c+36>>2]){continue}break}}g=q[a+16>>2];d=q[g+112>>2];b=q[d>>2];if(b){while(1){e=r[b+5|0];i:{if(!(e&3?!(e&8):0)){d=b;break i}j:{h=b;f=q[b+8>>2];if(!(!f|r[f+6|0]&4)){if(Jn(f,2,q[q[a+16>>2]+196>>2])){break j}e=r[b+5|0]}o[h+5|0]=e|8;d=b;break i}o[b+5|0]=r[b+5|0]|8;e=q[b+16>>2];q[d>>2]=q[b>>2];i=(e+i|0)+32|0;e=q[g+48>>2];k:{if(!e){q[b>>2]=b;break k}q[b>>2]=q[e>>2];q[q[g+48>>2]>>2]=b}q[g+48>>2]=b}b=q[d>>2];if(b){continue}break}}b=q[c+48>>2];if(b){while(1){b=q[b>>2];o[b+5|0]=r[c+20|0]&3|r[b+5|0]&248;rk(c,b);if(q[c+48>>2]!=(b|0)){continue}break}}g=0;if(q[c+36>>2]){while(1){g=ur(c)+g|0;if(q[c+36>>2]){continue}break}}d=q[c+44>>2];if(d){while(1){b=q[d+28>>2];if(!(!b|!(r[d+5|0]&16))){while(1){b=b-1|0;a=q[d+12>>2]+(b<<4)|0;e=q[a+8>>2];l:{if((e|0)<4){break l}if((e|0)==4){a=q[a>>2];o[a+5|0]=r[a+5|0]&252;break l}f=r[q[a>>2]+5|0];if(!(f&8)|(e|0)!=7?!(f&3):0){break l}q[a+8>>2]=0}if(b){continue}break}}a=-1<>2]+(b<<5)|0;e=q[a+8>>2];m:{if(!e){break m}f=q[a+24>>2];n:{o:{if((f|0)<4){break o}if((f|0)==4){e=q[a+16>>2];o[e+5|0]=r[e+5|0]&252;e=q[a+8>>2];break o}if(r[q[a+16>>2]+5|0]&3){break n}}if((e|0)<4){break m}if((e|0)==4){a=q[a>>2];o[a+5|0]=r[a+5|0]&252;break m}f=r[q[a>>2]+5|0];if(f&3){break n}if(!(f&8)|(e|0)!=7){break m}}q[a+8>>2]=0;if(q[a+24>>2]<4){break m}q[a+24>>2]=11}a=b-1|0;if(b){continue}break}d=q[d+24>>2];if(d){continue}break}}q[c+24>>2]=0;o[c+21|0]=2;q[c+32>>2]=c+28;o[c+20|0]=r[c+20|0]^3;q[c+72>>2]=q[c+68>>2]-(g+i|0);return 0}b=q[c+24>>2];q[c+24>>2]=b+1;d=q[c+68>>2];mr(a,q[c>>2]+(b<<2)|0,-3);if(q[c+24>>2]>=q[c+8>>2]){o[c+21|0]=3}q[c+72>>2]=q[c+72>>2]+(q[c+68>>2]-d|0);return 10}e=q[c+68>>2];b=mr(a,q[c+32>>2],40);q[c+32>>2]=b;if(!q[b>>2]){b=q[a+16>>2];d=q[b+8>>2];g=(d|0)/4|0;if(!((d|0)<65|g>>>0<=t[b+4>>2])){qx(a,d>>>1|0)}d=q[b+60>>2];if(d>>>0>=65){h=a;a=d>>>1|0;d=dj(h,q[b+52>>2],d,a);q[b+60>>2]=a;q[b+52>>2]=d}o[c+21|0]=4}q[c+72>>2]=q[c+72>>2]+(q[c+68>>2]-e|0);return 400}if(q[c+48>>2]){HM(a);b=100;a=q[c+72>>2];if(a>>>0<101){break a}q[c+72>>2]=a-100;return 100}q[c+76>>2]=0;o[c+21|0]=0}return b}function CG(a,b){var c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=0,j=0,k=0,l=x(0),m=0,n=0,p=0,r=x(0),s=0,v=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;p=fi-48|0;fi=p;z=q[b+4>>2];c=q[a+16>>2];if(c){Ui(c)}q[a+16>>2]=b;a:{b:{c:{if(!(o[a+12|0]&1)){vi(z,18568,a,a+8|0,a+4|0);c=q[a>>2];if((q[a+8>>2]-c|0)/18568>>>0>=z>>>0){d=w(z,18568);q[a+4>>2]=d+c;qi(c,0,d);if(z){while(1){d:{if(t[b+4>>2]>s>>>0){k=q[b>>2]+(s<<7)|0;d=k;if(q[d+60>>2]==2){q[d+60>>2]=1}c=q[a>>2];if((q[a+4>>2]-c|0)/18568>>>0<=s>>>0){break c}c=c+w(s,18568)|0;q[c+18544>>2]=li(q[k+52>>2]);q[c+18548>>2]=ii;q[c+18560>>2]=q[d+60>>2];c=qi(c,0,18528);m=q[k+88>>2];if(!m){break d}e=0;while(1){d=q[k+84>>2]+(e<<4)|0;i=q[d>>2];e:{if((i|0)<=14){f=0;h=x(0);n=q[d+4>>2];v=q[d+8>>2];g=Hq(n,v,x(0));while(1){y=c+w(i,772)|0;j=y+w(f,12)|0;l=x(h+x(.015625));r=Hq(n,v,l);u[j+8>>2]=x(r-g)*x(64);u[j+4>>2]=g;u[j>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}u[y+768>>2]=u[d+12>>2];break e}q[p+32>>2]=i;mi(3,134802,135008,p+32|0)}e=e+1|0;if((m|0)==(e|0)){break d}if(t[k+88>>2]>e>>>0){continue}break}J(135437,135449,224,135487);G()}J(135437,135449,260,135487);G()}f=0;h=x(0);while(1){d=c+w(f,12)|0;g=u[d+3096>>2];l=u[d+3092>>2];g=g>=x(0)?x(g+l):l;h=h>2]=h;f:{j=q[k+96>>2];if(!j){break f}e=0;while(1){d=q[k+92>>2]+w(e,12)|0;i=q[d>>2];g:{if((i|0)<=8){f=0;h=x(0);m=q[d+4>>2];n=q[d+8>>2];g=Hq(m,n,x(0));while(1){d=(c+w(i,772)|0)+w(f,12)|0;l=x(h+x(.015625));r=Hq(m,n,l);u[d+11588>>2]=x(r-g)*x(64);u[d+11584>>2]=g;u[d+11580>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}break g}q[p+16>>2]=i;mi(3,134802,135047,p+16|0)}e=e+1|0;if((j|0)==(e|0)){break f}if(t[k+96>>2]>e>>>0){continue}break}J(135437,135449,232,135487);G()}h:{if(!(o[c+18540|0]&1)){i=q[k+104>>2];n=c+18528|0;d=c+18536|0;v=c+18532|0;vi(i,1544,n,d,v);c=q[n>>2];if(i>>>0<=(q[d>>2]-c|0)/1544>>>0){d=w(i,1544);q[v>>2]=d+c;qi(c,0,d);if(!i){break h}e=0;while(1){i:{j:{B=q[n>>2];if((q[v>>2]-B|0)/1544>>>0>e>>>0){if(t[k+104>>2]<=e>>>0){break j}c=q[k+100>>2]+(e<<6)|0;C=q[c+52>>2];if(!C){break i}d=c;j=0;while(1){m=q[c+48>>2]+(j<<4)|0;y=q[m>>2];k:{if((y|0)<=1){f=0;h=x(0);D=q[m+4>>2];E=q[m+8>>2];g=Hq(D,E,x(0));while(1){F=(B+w(e,1544)|0)+w(y,772)|0;A=F+w(f,12)|0;l=x(h+x(.015625));r=Hq(D,E,l);u[A+8>>2]=x(r-g)*x(64);u[A+4>>2]=g;u[A>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}u[F+768>>2]=u[m+12>>2];break k}q[p>>2]=y;mi(3,134802,135087,p)}j=j+1|0;if((C|0)==(j|0)){break i}if(t[d+52>>2]>j>>>0){continue}break}J(135437,135449,160,135487);G()}break c}J(135437,135449,240,135487);G()}e=e+1|0;if((i|0)!=(e|0)){continue}break}break h}break b}break a}s=s+1|0;if((z|0)!=(s|0)){continue}break}}fi=p+48|0;return}break b}break a}J(136114,135222,447,135487);G()}J(135313,135222,474,135332);G()}J(135147,135222,461,135301);G()}function bx(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,r=0,s=0;f=fi-80|0;fi=f;a:{if(!jj(d,0)){d=-12;break a}e=f- -64|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;q[f+56>>2]=0;q[f+48>>2]=1;q[f+52>>2]=0;q[f+40>>2]=0;q[f+32>>2]=1;q[f+36>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;b:{if((Gr(c,d)|0)<=-1){if(a){e=gk(a,0);if(e){break b}}d=0;if(!b){break a}e=_j(b,c);if(e){break b}break a}e=_j(f- -64|0,c);if(e){break b}e=_j(f+48|0,d);if(e){break b}q[f+64>>2]=1;q[f+48>>2]=1;e=Vk(f+32|0,q[c+4>>2]+2|0);if(e){break b}e=gk(f+32|0,0);if(e){break b}e=Vk(f+16|0,2);if(e){break b}e=Vk(f,3);if(e){break b}e=ul(f+48|0)&31;if((e|0)!=31){o=e^31;e=Um(f- -64|0,o);if(e){break b}e=Um(f+48|0,o);if(e){break b}}h=q[f+68>>2]-1|0;m=q[f+52>>2];k=m-1|0;i=h-k|0;g=i<<5;e=Um(f+48|0,g);if(e){break b}i=i<<2;while(1){if((Dj(f- -64|0,f+48|0)|0)>=0){e=i+q[f+40>>2]|0;q[e>>2]=q[e>>2]+1;e=fl(f- -64|0,f- -64|0,f+48|0);if(!e){continue}break b}break}e=Nk(f+48|0,g);if(e){break b}if(h>>>0>k>>>0){s=m-2<<2;while(1){p=h<<2;e=q[f+72>>2];i=q[p+e>>2];r=k<<2;j=q[r+q[f+56>>2]>>2];c:{if(i>>>0>=j>>>0){e=-1;g=q[f+40>>2];l=h-m|0;q[g+(l<<2)>>2]=-1;i=h-1|0;break c}g=q[f+40>>2];l=h-m|0;n=i;i=h-1|0;e=TU(n,q[e+(i<<2)>>2],j);q[g+(l<<2)>>2]=e}j=l<<2;q[j+g>>2]=e;n=h-2|0;e=gk(f+16|0,0);d:{if(k){if(e){break b}while(1){e=q[f+24>>2];g=q[f+56>>2];q[e>>2]=q[g+s>>2];q[e+4>>2]=q[g+r>>2];e=jq(f+16|0,f+16|0,q[j+q[f+40>>2]>>2]);if(e){break b}e=gk(f,0);if(e){break b}e:{if(h>>>0>=2){e=q[f+8>>2];g=q[f+72>>2];q[e>>2]=q[g+(n<<2)>>2];break e}e=q[f+8>>2];q[e>>2]=0;g=q[f+72>>2]}q[e+4>>2]=q[(i<<2)+g>>2];q[e+8>>2]=q[g+p>>2];if((Dj(f+16|0,f)|0)<1){break d}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1;e=gk(f+16|0,0);if(!e){continue}break}break b}if(e){break b}while(1){e=q[f+24>>2];q[e>>2]=0;q[e+4>>2]=q[q[f+56>>2]>>2];e=jq(f+16|0,f+16|0,q[j+q[f+40>>2]>>2]);if(e){break b}e=gk(f,0);if(e){break b}f:{if(h>>>0>=2){e=q[f+8>>2];g=q[f+72>>2];q[e>>2]=q[g+(n<<2)>>2];break f}e=q[f+8>>2];q[e>>2]=0;g=q[f+72>>2]}q[e+4>>2]=q[(i<<2)+g>>2];q[e+8>>2]=q[g+p>>2];if((Dj(f+16|0,f)|0)<1){break d}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1;e=gk(f+16|0,0);if(!e){continue}break}break b}e=jq(f+16|0,f+48|0,q[j+q[f+40>>2]>>2]);if(e){break b}h=l<<5;e=Um(f+16|0,h);if(e){break b}e=fl(f- -64|0,f- -64|0,f+16|0);if(e){break b}if((jj(f- -64|0,0)|0)<=-1){e=_j(f+16|0,f+48|0);if(e){break b}e=Um(f+16|0,h);if(e){break b}e=vl(f- -64|0,f- -64|0,f+16|0);if(e){break b}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1}h=i;if(k>>>0>>0){continue}break}}if(a){e=_j(a,f+32|0);if(e){break b}q[a>>2]=w(q[d>>2],q[c>>2])}if(!b){e=0;break b}e=Nk(f- -64|0,o);if(e){break b}q[f+64>>2]=q[c>>2];e=_j(b,f- -64|0);if(e){break b}e=0;if(jj(b,0)){break b}q[b>>2]=1}Ji(f- -64|0);Ji(f+48|0);Ji(f+32|0);Ji(f+16|0);Ji(f);d=e}fi=f+80|0;return d}function SU(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0;e=q[a+4>>2];d=e+16|0;f=q[e+12>>2]^(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24));g=q[e+8>>2]^(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24));h=q[e+4>>2]^(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24));b=q[e>>2]^(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24));a=q[a>>2];if((a|0)>=4){a=a>>>1|0;while(1){e=q[(h>>>22&1020)+846288>>2]^(q[(g>>>14&1020)+845264>>2]^(q[(f>>>6&1020)+844240>>2]^(q[((b&255)<<2)+843216>>2]^q[d>>2])));i=q[(g>>>22&1020)+846288>>2]^(q[(f>>>14&1020)+845264>>2]^(q[(b>>>6&1020)+844240>>2]^(q[((h&255)<<2)+843216>>2]^q[d+4>>2])));j=q[(f>>>22&1020)+846288>>2]^(q[(b>>>14&1020)+845264>>2]^(q[(h>>>6&1020)+844240>>2]^(q[((g&255)<<2)+843216>>2]^q[d+8>>2])));b=q[(b>>>22&1020)+846288>>2]^(q[(h>>>14&1020)+845264>>2]^(q[(g>>>6&1020)+844240>>2]^(q[((f&255)<<2)+843216>>2]^q[d+12>>2])));f=q[(e>>>22&1020)+846288>>2]^(q[(i>>>14&1020)+845264>>2]^(q[(j>>>6&1020)+844240>>2]^(q[((b&255)<<2)+843216>>2]^q[d+28>>2])));g=q[(b>>>22&1020)+846288>>2]^(q[(e>>>14&1020)+845264>>2]^(q[(i>>>6&1020)+844240>>2]^(q[((j&255)<<2)+843216>>2]^q[d+24>>2])));h=q[(j>>>22&1020)+846288>>2]^(q[(b>>>14&1020)+845264>>2]^(q[(e>>>6&1020)+844240>>2]^(q[((i&255)<<2)+843216>>2]^q[d+20>>2])));b=q[(i>>>22&1020)+846288>>2]^(q[(j>>>14&1020)+845264>>2]^(q[(b>>>6&1020)+844240>>2]^(q[((e&255)<<2)+843216>>2]^q[d+16>>2])));d=d+32|0;e=(a|0)>2;a=a-1|0;if(e){continue}break}}e=q[(b>>>22&1020)+846288>>2]^(q[(h>>>14&1020)+845264>>2]^(q[(g>>>6&1020)+844240>>2]^(q[((f&255)<<2)+843216>>2]^q[d+12>>2])));j=r[(e>>>8&255)+851408|0];a=q[(f>>>22&1020)+846288>>2]^(q[(b>>>14&1020)+845264>>2]^(q[(h>>>6&1020)+844240>>2]^(q[((g&255)<<2)+843216>>2]^q[d+8>>2])));k=r[(a>>>16&255)+851408|0];i=q[(h>>>22&1020)+846288>>2]^(q[(g>>>14&1020)+845264>>2]^(q[(f>>>6&1020)+844240>>2]^(q[((b&255)<<2)+843216>>2]^q[d>>2])));l=r[(i>>>8&255)+851408|0];m=r[(e>>>16&255)+851408|0];b=q[(g>>>22&1020)+846288>>2]^(q[(f>>>14&1020)+845264>>2]^(q[(b>>>6&1020)+844240>>2]^(q[((h&255)<<2)+843216>>2]^q[d+4>>2])));g=r[(b>>>8&255)+851408|0];h=r[(i>>>16&255)+851408|0];n=r[(a>>>8&255)+851408|0];p=r[(b>>>16&255)+851408|0];s=r[(b>>>24|0)+851408|0];t=r[(a>>>24|0)+851408|0];u=r[(e>>>24|0)+851408|0];v=r[(i>>>24|0)+851408|0];i=r[(i&255)+851408|0];w=r[(b&255)+851408|0];x=r[(a&255)+851408|0];a=q[d+16>>2];b=q[d+20>>2];f=q[d+24>>2];d=q[d+28>>2];o[c+12|0]=d^r[(e&255)+851408|0];o[c+8|0]=f^x;o[c+4|0]=b^w;o[c|0]=a^i;o[c+15|0]=(d^v<<24)>>>24;o[c+11|0]=(f^u<<24)>>>24;o[c+7|0]=(b^t<<24)>>>24;o[c+3|0]=(a^s<<24)>>>24;o[c+14|0]=(d^p<<16)>>>16;o[c+13|0]=(d^n<<8)>>>8;o[c+10|0]=(f^h<<16)>>>16;o[c+9|0]=(f^g<<8)>>>8;o[c+6|0]=(b^m<<16)>>>16;o[c+5|0]=(b^l<<8)>>>8;o[c+2|0]=(a^k<<16)>>>16;o[c+1|0]=(a^j<<8)>>>8}function RU(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0;e=q[a+4>>2];d=e+16|0;f=q[e+12>>2]^(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24));g=q[e+8>>2]^(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24));h=q[e+4>>2]^(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24));b=q[e>>2]^(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24));a=q[a>>2];if((a|0)>=4){a=a>>>1|0;while(1){e=q[(h>>>22&1020)+850384>>2]^(q[(b>>>14&1020)+849360>>2]^(q[(f>>>6&1020)+848336>>2]^(q[((g&255)<<2)+847312>>2]^q[d+8>>2])));i=q[(b>>>22&1020)+850384>>2]^(q[(f>>>14&1020)+849360>>2]^(q[(g>>>6&1020)+848336>>2]^(q[((h&255)<<2)+847312>>2]^q[d+4>>2])));j=q[(f>>>22&1020)+850384>>2]^(q[(g>>>14&1020)+849360>>2]^(q[(h>>>6&1020)+848336>>2]^(q[((b&255)<<2)+847312>>2]^q[d>>2])));b=q[(g>>>22&1020)+850384>>2]^(q[(h>>>14&1020)+849360>>2]^(q[(b>>>6&1020)+848336>>2]^(q[((f&255)<<2)+847312>>2]^q[d+12>>2])));f=q[(e>>>22&1020)+850384>>2]^(q[(i>>>14&1020)+849360>>2]^(q[(j>>>6&1020)+848336>>2]^(q[((b&255)<<2)+847312>>2]^q[d+28>>2])));g=q[(i>>>22&1020)+850384>>2]^(q[(j>>>14&1020)+849360>>2]^(q[(b>>>6&1020)+848336>>2]^(q[((e&255)<<2)+847312>>2]^q[d+24>>2])));h=q[(j>>>22&1020)+850384>>2]^(q[(b>>>14&1020)+849360>>2]^(q[(e>>>6&1020)+848336>>2]^(q[((i&255)<<2)+847312>>2]^q[d+20>>2])));b=q[(b>>>22&1020)+850384>>2]^(q[(e>>>14&1020)+849360>>2]^(q[(i>>>6&1020)+848336>>2]^(q[((j&255)<<2)+847312>>2]^q[d+16>>2])));d=d+32|0;e=(a|0)>2;a=a-1|0;if(e){continue}break}}a=q[(b>>>22&1020)+850384>>2]^(q[(f>>>14&1020)+849360>>2]^(q[(g>>>6&1020)+848336>>2]^(q[((h&255)<<2)+847312>>2]^q[d+4>>2])));j=r[(a>>>8&255)+842960|0];e=q[(h>>>22&1020)+850384>>2]^(q[(b>>>14&1020)+849360>>2]^(q[(f>>>6&1020)+848336>>2]^(q[((g&255)<<2)+847312>>2]^q[d+8>>2])));k=r[(e>>>16&255)+842960|0];l=r[(e>>>8&255)+842960|0];i=q[(g>>>22&1020)+850384>>2]^(q[(h>>>14&1020)+849360>>2]^(q[(b>>>6&1020)+848336>>2]^(q[((f&255)<<2)+847312>>2]^q[d+12>>2])));m=r[(i>>>16&255)+842960|0];n=r[(i>>>8&255)+842960|0];b=q[(f>>>22&1020)+850384>>2]^(q[(g>>>14&1020)+849360>>2]^(q[(h>>>6&1020)+848336>>2]^(q[((b&255)<<2)+847312>>2]^q[d>>2])));g=r[(b>>>16&255)+842960|0];h=r[(b>>>8&255)+842960|0];p=r[(a>>>16&255)+842960|0];s=r[(i>>>24|0)+842960|0];t=r[(b>>>24|0)+842960|0];u=r[(a>>>24|0)+842960|0];v=r[(e>>>24|0)+842960|0];w=r[(b&255)+842960|0];x=r[(a&255)+842960|0];e=r[(e&255)+842960|0];a=q[d+16>>2];b=q[d+20>>2];f=q[d+24>>2];d=q[d+28>>2];o[c+12|0]=d^r[(i&255)+842960|0];o[c+8|0]=e^f;o[c+4|0]=b^x;o[c|0]=a^w;o[c+15|0]=(d^v<<24)>>>24;o[c+11|0]=(f^u<<24)>>>24;o[c+7|0]=(b^t<<24)>>>24;o[c+3|0]=(a^s<<24)>>>24;o[c+14|0]=(d^p<<16)>>>16;o[c+13|0]=(d^h<<8)>>>8;o[c+10|0]=(f^g<<16)>>>16;o[c+9|0]=(f^n<<8)>>>8;o[c+6|0]=(b^m<<16)>>>16;o[c+5|0]=(b^l<<8)>>>8;o[c+2|0]=(a^k<<16)>>>16;o[c+1|0]=(a^j<<8)>>>8}function XJ(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=x(0),n=x(0),o=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=0,N=0,O=0;l=fi-80|0;fi=l;a:{b:{if(!b){a=0;mi(4,7277,8064,0);break b}k=q[a>>2];c:{if(r[k+4276|0]&2){mi(3,7277,11511,0);break c}a=hv(k,b,c);if(!a){break c}ss(q[k>>2],b);o=u[h>>2];v=u[h+4>>2];E=u[h+8>>2];u[a+24>>2]=E;u[a+20>>2]=v;u[a+16>>2]=o;m=u[i>>2];n=u[i+4>>2];C=u[i+8>>2];D=u[i+12>>2];u[a+12>>2]=D;u[a+8>>2]=C;u[a+4>>2]=n;u[a>>2]=m;z=u[j>>2];A=u[j+4>>2];B=u[j+8>>2];u[a+40>>2]=B;u[a+36>>2]=A;u[a+32>>2]=z;d:{e:{h=q[a+140>>2]&32767;b=q[k+4148>>2];if(h>>>0>2]-b>>6>>>0){b=b+(h<<6)|0;u[b+48>>2]=o;o=x(C+C);F=x(m*o);y=x(n+n);H=x(y*D);u[b+32>>2]=x(F+H)*B;I=x(m*y);K=x(D*o);u[b+16>>2]=x(I-K)*A;u[b+12>>2]=z*x(0);u[b+8>>2]=x(F-H)*z;u[b+4>>2]=x(I+K)*z;q[b+60>>2]=1065353216;u[b+56>>2]=E;u[b+52>>2]=v;u[b+44>>2]=B*x(0);v=m;m=x(m+m);v=x(x(1)-x(v*m));y=x(n*y);u[b+40>>2]=x(v-y)*B;n=x(n*o);m=x(m*D);u[b+36>>2]=x(n-m)*B;u[b+28>>2]=A*x(0);u[b+24>>2]=x(n+m)*A;m=x(C*o);u[b+20>>2]=x(v-m)*A;u[b>>2]=x(x(x(1)-y)-m)*z;b=a+104|0;an(b,1);h=b;b=q[59082];kl(h,b,Fi(b));q[l+56>>2]=a;h=k+4164|0;f:{g:{b=q[k+4168>>2];h:{if(!b){break h}b=q[q[h>>2]+(lwa(d,e,b)<<2)>>2];if((b|0)==-1){break h}i=q[k+4172>>2];while(1){b=i+(b<<4)|0;if((d|0)==q[b>>2]&(e|0)==q[b+4>>2]){break g}b=q[b+12>>2];if((b|0)!=-1){continue}break}}if(q[a+96>>2]!=q[72440]|q[a+100>>2]!=q[72441]){break f}q[a+96>>2]=d;q[a+100>>2]=e;Iq(h,d,e,l+56|0);if(t[k+4188>>2]<=s[k+2078>>1]){break f}J(7759,7150,940,8050);G()}q[l+48>>2]=Ei(d,e);mi(4,7277,11573,l+48|0);Vq(k,a);break c}if(!Qs(k,a)){b=q[a+96>>2];d=q[a+100>>2];if((b|0)!=q[72440]|(d|0)!=q[72441]){Jq(h,b,d);b=q[72441];q[a+96>>2]=q[72440];q[a+100>>2]=b}Vq(k,a);break c}b=q[a+84>>2];j=q[b+4>>2];i:{if(!j){break i}O=q[b>>2];e=l+56|4;h=0;L=1;b=0;while(1){M=w(b,80)+O|0;i=q[M+16>>2];N=q[i+96>>2];j:{if(Ej(q[i+4>>2],10807)|!q[i+76>>2]){break j}d=e;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[l+72>>2]=((h<<2)+a|0)+156&N<<15>>31;q[l+56>>2]=a;d=yK(q[i+16>>2],f,g);q[l+68>>2]=d;if(d){q[l+64>>2]=27;q[l+60>>2]=28;if(!(ji[q[q[M+16>>2]+76>>2]](l+56|0)|0)){break j}b=11708}else{b=11651}q[l+32>>2]=c;mi(4,7277,b,l+32|0);if(!L){break i}break d}h=((N&65536)>>>16|0)+h|0;b=b+1|0;L=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(!pA(k,a)){q[l+16>>2]=c;mi(4,7277,11612,l+16|0);break d}c=q[a+148>>2];if(c&32768){break e}d=q[a+140>>2];b=d;if(b&32768){break b}q[a+148>>2]=c|32768;b=b&32767;c=s[k+4274>>1];k:{if((c|0)!=32767){d=q[k+2056>>2];if(c>>>0>=q[k+2060>>2]-d>>2>>>0){break a}p[q[d+(c<<2)>>2]+146>>1]=b;break k}p[k+4272>>1]=b}p[k+4274>>1]=b;break b}break a}J(11472,7150,961,11499);G()}Os(k,a,0)}q[l>>2]=c;mi(4,7277,8092,l);a=0}fi=l+80|0;return a}J(12475,10090,447,9406);G()} +function sP(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,v=0,z=0,A=0,B=0,D=0,E=0,F=0,H=x(0),I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;n=ti-1008|0;ti=n;o[a+1389|0]=1;a:{b:{if(!Lk(a)){break b}c=r[a+1387|0];if(!(c&2)){q[a+112>>2]=34;break b}if(c&4){q[a+112>>2]=34;break b}if(c&1){q[a+112>>2]=34;break b}if(q[a+1128>>2]!=1){q[a+112>>2]=34;break b}c:{d:{c=r[a+1132|0];if((c|0)!=30){if((c|0)!=64){break c}e:{f:{c=q[a+44>>2];if(c){b=c+6|0;if(b>>>0<=t[a+52>>2]){break f}q[a+108>>2]=1;break c}if((tl(n+1e3|0,6,1,q[a+32>>2])|0)==1){break e}q[a+108>>2]=1;break c}p[n+1004>>1]=r[c+4|0]|r[c+5|0]<<8;q[n+1e3>>2]=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+44>>2]=b}if(r[n+1e3|0]!=102|r[n+1001|0]!=105|(r[n+1002|0]!=115|r[n+1003|0]!=104)){break c}if(r[n+1004|0]!=101|r[n+1005|0]!=97){break c}c=q[a+44>>2];if(c){if(c>>>0>=t[a+52>>2]){q[a+108>>2]=1;break c}q[a+44>>2]=c+1;d=r[c|0];break d}d=ej(q[a+32>>2]);if((d|0)!=-1){break d}q[a+108>>2]=1;break c}g:{h:{i:{j:{k:{c=q[a+44>>2];l:{if(c){if(c>>>0>=t[a+52>>2]){break k}q[a+44>>2]=c+1;d=r[c|0];break l}d=ej(q[a+32>>2]);if((d|0)==-1){break k}}if((d&255)!=1){break j}c=q[a+44>>2];if(!c){break i}b=c+6|0;if(b>>>0>t[a+52>>2]){break h}p[n+1004>>1]=r[c+4|0]|r[c+5|0]<<8;q[n+1e3>>2]=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+44>>2]=b;break g}q[a+108>>2]=1}q[a+112>>2]=34;break b}if((tl(n+1e3|0,6,1,q[a+32>>2])|0)==1){break g}}q[a+108>>2]=1;q[a+112>>2]=10;break b}if(pj(n+1e3|0,295328,6)){q[a+112>>2]=34;break b}m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{c=q[a+44>>2];x:{y:{z:{if(c){d=q[a+52>>2];if(c>>>0>=d>>>0){break z}b=c+1|0;q[a+44>>2]=b;f=r[c|0];break x}d=ej(q[a+32>>2]);if((d|0)!=-1){break y}}q[a+108>>2]=1;d=0}f=d&255;b=q[a+44>>2];if(!b){break w}d=q[a+52>>2]}if(b>>>0>=d>>>0){break v}h=b+1|0;q[a+44>>2]=h;f=r[b|0]<<8|f;break t}d=ej(q[a+32>>2]);if((d|0)!=-1){break u}}q[a+108>>2]=1;d=0}f=d<<8&65280|f;h=q[a+44>>2];if(!h){break s}d=q[a+52>>2]}if(d>>>0<=h>>>0){break r}b=h+1|0;q[a+44>>2]=b;h=r[h|0]<<16|f;break p}d=ej(q[a+32>>2]);if((d|0)!=-1){break q}}q[a+108>>2]=1;d=0}h=d<<16&16711680|f;b=q[a+44>>2];if(!b){break o}d=q[a+52>>2]}if(b>>>0>=d>>>0){break n}q[a+44>>2]=b+1;d=r[b|0];break m}d=ej(q[a+32>>2]);if((d|0)!=-1){break m}}q[a+108>>2]=1;d=0}if(d<<24|h){q[a+112>>2]=34;break b}A:{B:{C:{c=q[a+44>>2];D:{if(c){if(c>>>0>=t[a+52>>2]){break D}q[a+44>>2]=c+1;d=r[c|0];break C}d=ej(q[a+32>>2]);if((d|0)!=-1){break C}}q[a+4>>2]=0;q[a+108>>2]=1;break B}c=d&255;q[a+4>>2]=c;if(!c){break B}if(c>>>0<17){break A}q[a+112>>2]=5;break b}q[a+112>>2]=34;break b}E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{c=q[a+44>>2];P:{Q:{R:{if(c){d=q[a+52>>2];if(c>>>0>=d>>>0){break R}b=c+1|0;q[a+44>>2]=b;f=r[c|0];break P}d=ej(q[a+32>>2]);if((d|0)!=-1){break Q}}q[a+108>>2]=1;d=0}f=d&255;b=q[a+44>>2];if(!b){break O}d=q[a+52>>2]}if(b>>>0>=d>>>0){break N}h=b+1|0;q[a+44>>2]=h;f=r[b|0]<<8|f;break L}d=ej(q[a+32>>2]);if((d|0)!=-1){break M}}q[a+108>>2]=1;d=0}f=d<<8&65280|f;h=q[a+44>>2];if(!h){break K}d=q[a+52>>2]}if(d>>>0<=h>>>0){break J}b=h+1|0;q[a+44>>2]=b;h=r[h|0]<<16|f;break H}d=ej(q[a+32>>2]);if((d|0)!=-1){break I}}q[a+108>>2]=1;d=0}h=d<<16&16711680|f;b=q[a+44>>2];if(!b){break G}d=q[a+52>>2]}if(b>>>0>=d>>>0){break F}q[a+44>>2]=b+1;d=r[b|0];break E}d=ej(q[a+32>>2]);if((d|0)!=-1){break E}}q[a+108>>2]=1;d=0}c=d<<24|h;q[a>>2]=c;if(!c){q[a+112>>2]=34;break b}S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{c=q[a+44>>2];La:{Ma:{Na:{if(c){d=q[a+52>>2];if(c>>>0>=d>>>0){break Na}b=c+1|0;q[a+44>>2]=b;break La}if((ej(q[a+32>>2])|0)!=-1){break Ma}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Ka}d=q[a+52>>2]}if(b>>>0>=d>>>0){break Ja}b=b+1|0;q[a+44>>2]=b;break Ha}if((ej(q[a+32>>2])|0)!=-1){break Ia}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Ga}d=q[a+52>>2]}if(b>>>0>=d>>>0){break Fa}b=b+1|0;q[a+44>>2]=b;break Da}if((ej(q[a+32>>2])|0)!=-1){break Ea}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Ca}d=q[a+52>>2]}if(b>>>0>=d>>>0){break Ba}b=b+1|0;q[a+44>>2]=b;break za}if((ej(q[a+32>>2])|0)!=-1){break Aa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break ya}d=q[a+52>>2]}if(b>>>0>=d>>>0){break xa}b=b+1|0;q[a+44>>2]=b;break va}if((ej(q[a+32>>2])|0)!=-1){break wa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break ua}d=q[a+52>>2]}if(b>>>0>=d>>>0){break ta}b=b+1|0;q[a+44>>2]=b;break ra}if((ej(q[a+32>>2])|0)!=-1){break sa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break qa}d=q[a+52>>2]}if(b>>>0>=d>>>0){break pa}b=b+1|0;q[a+44>>2]=b;break na}if((ej(q[a+32>>2])|0)!=-1){break oa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break ma}d=q[a+52>>2]}if(b>>>0>=d>>>0){break la}b=b+1|0;q[a+44>>2]=b;break ja}if((ej(q[a+32>>2])|0)!=-1){break ka}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break ia}d=q[a+52>>2]}if(b>>>0>=d>>>0){break ha}b=b+1|0;q[a+44>>2]=b;break fa}if((ej(q[a+32>>2])|0)!=-1){break ga}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break ea}d=q[a+52>>2]}if(b>>>0>=d>>>0){break da}b=b+1|0;q[a+44>>2]=b;break ba}if((ej(q[a+32>>2])|0)!=-1){break ca}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break aa}d=q[a+52>>2]}if(b>>>0>=d>>>0){break $}b=b+1|0;q[a+44>>2]=b;break Z}if((ej(q[a+32>>2])|0)!=-1){break _}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Y}d=q[a+52>>2]}if(b>>>0>=d>>>0){break X}b=b+1|0;q[a+44>>2]=b;break V}if((ej(q[a+32>>2])|0)!=-1){break W}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break U}d=q[a+52>>2]}if(b>>>0>=d>>>0){break T}q[a+44>>2]=b+1;d=r[b|0];break S}d=ej(q[a+32>>2]);if((d|0)!=-1){break S}}q[a+108>>2]=1;d=0}c=d&15;q[a+124>>2]=1<>>4&15;q[a+128>>2]=1<>>0>=8){q[a+112>>2]=20;break b}if((d<<24)-1610612736>>24<=-1){q[a+112>>2]=20;break b}if(b>>>0>>0){q[a+112>>2]=20;break b}Oa:{Pa:{Qa:{c=q[a+44>>2];Ra:{if(c){if(c>>>0>=t[a+52>>2]){break Qa}q[a+44>>2]=c+1;d=r[c|0];break Ra}d=ej(q[a+32>>2]);if((d|0)==-1){break Qa}}if(!(d&1)){break Pa}if(!Lk(a)){break b}m=a+1392|0;while(1){c=q[m>>2];if((c|0)!=-1){break Oa}if(!Lk(a)){break b}if(!(o[a+1387|0]&1)){continue}break}q[a+112>>2]=32;break b}q[a+108>>2]=1}q[a+112>>2]=34;break b}q[a+1408>>2]=0;q[a+1412>>2]=0;q[a+1396>>2]=0;o[a+1388|0]=0;d=c+1|0;q[a+1392>>2]=d;b=r[(a+c|0)+1132|0];if((b|0)!=255){q[a+1400>>2]=c;q[a+1396>>2]=1}if((d|0)>=q[a+1128>>2]){q[m>>2]=-1}l=a+1388|0;o[l|0]=b;if(!b){break b}q[a+1412>>2]=1;o[a+1388|0]=b-1;Sa:{Ta:{c=q[a+44>>2];Ua:{if(c){if(c>>>0>=t[a+52>>2]){break Ua}q[a+44>>2]=c+1;b=r[c|0];break Ta}b=ej(q[a+32>>2]);if((b|0)!=-1){break Ta}}q[a+1408>>2]=0;q[a+108>>2]=1;break Sa}q[a+1408>>2]=0;if((b&255)!=3){break Sa}while(1){Va:{Wa:{Xa:{f=r[l|0];if(!f){b=255;if(q[a+1396>>2]){break Va}d=q[m>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break Va}if(!(o[a+1387|0]&1)){break Xa}d=q[m>>2]}c=d+1|0;q[a+1392>>2]=c;f=r[(a+d|0)+1132|0];if((f|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=f;if(!f){break Va}}o[a+1388|0]=f-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>=t[a+52>>2]){break Wa}q[a+44>>2]=c+1;b=r[c|0];break Va}b=ej(q[a+32>>2]);if((b|0)==-1){break Wa}break Va}q[a+112>>2]=32;break Va}q[a+108>>2]=1;b=0}q[a+1408>>2]=0;o[(n+1e3|0)+e|0]=b;e=e+1|0;if((e|0)!=6){continue}break}Ya:{if(pj(n+1e3|0,295328,6)){q[a+112>>2]=20;break Ya}d=cy(a);c=d+8&-8;q[a+8>>2]=c+q[a+8>>2];Za:{_a:{b=a;e=q[a+92>>2];$a:{if(e){g=c;c=q[a+100>>2];g=g+c|0;if((g|0)>q[a+104>>2]){break _a}q[a+100>>2]=g;c=c+e|0;break $a}if(!c){break _a}c=Ji(c)}q[b+20>>2]=c;if(!c){break Za}e=0;if((d|0)>0){while(1){ab:{bb:{cb:{f=r[l|0];if(!f){b=255;if(q[a+1396>>2]){break ab}h=q[m>>2];if((h|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break ab}if(!(o[a+1387|0]&1)){break cb}h=q[m>>2]}c=h+1|0;q[a+1392>>2]=c;f=r[(a+h|0)+1132|0];if((f|0)!=255){q[a+1400>>2]=h;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=f;if(!f){break ab}}o[a+1388|0]=f-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>=t[a+52>>2]){break bb}q[a+44>>2]=c+1;b=r[c|0];break ab}b=ej(q[a+32>>2]);if((b|0)==-1){break bb}break ab}q[a+112>>2]=32;break ab}q[a+108>>2]=1;b=0}q[a+1408>>2]=0;o[q[a+20>>2]+e|0]=b;e=e+1|0;if((d|0)!=(e|0)){continue}break}c=q[a+20>>2]}o[c+d|0]=0;c=cy(a);q[a+28>>2]=0;q[a+24>>2]=c;db:{eb:{fb:{gb:{hb:{ib:{if((c|0)>=1){b=(c<<2)+7&-8;q[a+8>>2]=b+q[a+8>>2];c=a;d=q[a+92>>2];jb:{if(d){e=b;b=q[a+100>>2];e=e+b|0;if((e|0)>q[a+104>>2]){break hb}q[a+100>>2]=e;b=b+d|0;break jb}if(!b){break hb}b=Ji(b)}q[c+28>>2]=b;if(!b){break db}g=0;while(1){d=cy(a);c=d+8&-8;q[a+8>>2]=c+q[a+8>>2];e=q[a+92>>2];kb:{if(e){b=c;c=q[a+100>>2];i=b+c|0;b=0;if((i|0)>q[a+104>>2]){break kb}q[a+100>>2]=i;b=c+e|0;break kb}b=0;if(!c){break kb}b=Ji(c)}i=g<<2;q[i+q[a+28>>2]>>2]=b;c=q[i+q[a+28>>2]>>2];if(!c){break ib}e=0;if((d|0)>0){while(1){lb:{mb:{nb:{f=r[l|0];if(!f){b=255;if(q[a+1396>>2]){break lb}j=q[m>>2];if((j|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break lb}if(!(o[a+1387|0]&1)){break nb}j=q[m>>2]}c=j+1|0;q[a+1392>>2]=c;f=r[(a+j|0)+1132|0];if((f|0)!=255){q[a+1400>>2]=j;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=f;if(!f){break lb}}o[a+1388|0]=f-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>=t[a+52>>2]){break mb}q[a+44>>2]=c+1;b=r[c|0];break lb}b=ej(q[a+32>>2]);if((b|0)==-1){break mb}break lb}q[a+112>>2]=32;break lb}q[a+108>>2]=1;b=0}q[a+1408>>2]=0;o[q[i+q[a+28>>2]>>2]+e|0]=b;e=e+1|0;if((d|0)!=(e|0)){continue}break}c=q[i+q[a+28>>2]>>2]}o[c+d|0]=0;g=g+1|0;if((g|0)>2]){continue}break}}ob:{pb:{qb:{e=r[l|0];if(!e){if(q[a+1396>>2]){break pb}b=q[m>>2];if((b|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break pb}if(!(o[a+1387|0]&1)){break qb}b=q[m>>2]}c=b+1|0;q[a+1392>>2]=c;e=r[(a+b|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=b;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break ob}o[l|0]=e;if(!e){break pb}}o[a+1388|0]=e-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];rb:{if(c){if(c>>>0>=t[a+52>>2]){break rb}q[a+44>>2]=c+1;e=r[c|0];break gb}e=ej(q[a+32>>2]);if((e|0)!=-1){break gb}}q[a+1408>>2]=0;q[a+108>>2]=1;break fb}q[a+112>>2]=32}q[a+1408>>2]=0;break eb}break a}q[a+112>>2]=3;break Ya}q[a+28>>2]=0;break db}q[a+1408>>2]=0;if(e&1){break eb}}q[a+112>>2]=20;break Ya}c=r[l|0];b=q[a+44>>2];sb:{if(b){c=b+c|0;q[a+44>>2]=c;if(c>>>0>2]){break sb}q[a+108>>2]=1;break sb}b=um(q[a+32>>2]);Ik(q[a+32>>2],b+c|0,0)}e=0;o[a+1388|0]=0;tb:{if(q[a+1396>>2]){break tb}ub:{vb:{b=q[m>>2];if((b|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break tb}if(!(o[a+1387|0]&1)){break vb}b=q[m>>2]}c=b+1|0;q[a+1392>>2]=c;e=r[(a+b|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=b;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break ub}o[l|0]=e;break tb}q[a+112>>2]=32;break tb}break a}c=q[a+44>>2];wb:{if(c){c=c+e|0;q[a+44>>2]=c;if(c>>>0>2]){break wb}q[a+108>>2]=1;break wb}c=um(q[a+32>>2]);Ik(q[a+32>>2],c+e|0,0)}o[l|0]=0;if(e){while(1){e=0;xb:{if(q[a+1396>>2]){break xb}yb:{zb:{b=q[m>>2];if((b|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break xb}if(!(o[a+1387|0]&1)){break zb}b=q[m>>2]}c=b+1|0;q[a+1392>>2]=c;e=r[(a+b|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=b;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break yb}o[l|0]=e;break xb}q[a+112>>2]=32;break xb}break a}c=q[a+44>>2];Ab:{if(c){c=c+e|0;q[a+44>>2]=c;if(c>>>0>2]){break Ab}q[a+108>>2]=1;break Ab}c=um(q[a+32>>2]);Ik(q[a+32>>2],c+e|0,0)}o[l|0]=0;if(e){continue}break}}Bb:{while(1){if(q[m>>2]!=-1){break Bb}e=0;if(!Lk(a)){break b}if(!(o[a+1387|0]&1)){continue}break}q[a+112>>2]=32;break b}q[a+1408>>2]=0;q[a+1412>>2]=0;e=0;q[a+1396>>2]=0;o[a+1388|0]=0;Cb:{if(!r[a+60|0]){break Cb}if(WY(a)){break Cb}if(q[a+112>>2]!=21){break b}q[a+112>>2]=20;break b}while(1){c=e<<25;b=(c^e<<24>>31&79764919)<<1;c=(b^c>>31&79764919)<<1;b=(b>>31&79764919^c)<<1;d=b>>31&79764919;b=(b^c>>31&79764919)<<1;c=(d^b)<<1;b=(c^b>>31&79764919)<<1;q[(e<<2)+968640>>2]=b>>31&79764919^(b^c>>31&79764919)<<1;e=e+1|0;if((e|0)!=256){continue}break}Db:{Eb:{e=r[l|0];Fb:{if(!e){if(q[a+1396>>2]){break Fb}b=q[m>>2];if((b|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break Fb}if(!(o[a+1387|0]&1)){break Fb}b=q[m>>2]}c=b+1|0;q[a+1392>>2]=c;e=r[(a+b|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=b;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=e;if(!e){break Fb}}o[a+1388|0]=e-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];Gb:{if(c){if(c>>>0>=t[a+52>>2]){break Gb}q[a+44>>2]=c+1;b=r[c|0];break Eb}b=ej(q[a+32>>2]);if((b|0)!=-1){break Eb}}q[a+108>>2]=1}q[a+1408>>2]=0;break Db}e=0;q[a+1408>>2]=0;if((b&255)!=5){break Db}while(1){Hb:{Ib:{Jb:{f=r[l|0];if(!f){b=255;if(q[a+1396>>2]){break Hb}d=q[m>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break Hb}if(!(o[a+1387|0]&1)){break Jb}d=q[m>>2]}c=d+1|0;q[a+1392>>2]=c;f=r[(a+d|0)+1132|0];if((f|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=f;if(!f){break Hb}}o[a+1388|0]=f-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>=t[a+52>>2]){break Ib}q[a+44>>2]=c+1;b=r[c|0];break Hb}b=ej(q[a+32>>2]);if((b|0)==-1){break Ib}break Hb}q[a+112>>2]=32;break Hb}q[a+108>>2]=1;b=0}q[a+1408>>2]=0;o[(n+1e3|0)+e|0]=b;e=e+1|0;if((e|0)!=6){continue}break}if(pj(n+1e3|0,295328,6)){q[a+112>>2]=20;break Ya}c=oj(a,8)+1|0;q[a+132>>2]=c;d=w(c,2096);q[a+8>>2]=d+q[a+8>>2];Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{b=a;c=q[a+92>>2];Rb:{if(c){e=q[a+100>>2];g=e+d|0;if((g|0)>q[a+104>>2]){break Qb}q[a+100>>2]=g;c=c+e|0;break Rb}if(!d){break Qb}c=Ji(d)}q[b+136>>2]=c;if(!c){break Kb}Fi(c,0,d);Sb:{if(q[a+132>>2]>=1){while(1){z=q[a+136>>2];if((oj(a,8)&255)!=66){q[a+112>>2]=20;break Ya}if((oj(a,8)&255)!=67){q[a+112>>2]=20;break Ya}if((oj(a,8)&255)!=86){q[a+112>>2]=20;break Ya}c=z+w(B,2096)|0;q[c>>2]=oj(a,8)&255|oj(a,8)<<8;b=oj(a,8);q[c+4>>2]=oj(a,8)<<8&65280|b&255|oj(a,8)<<16;e=0;i=oj(a,1);if(!i){e=oj(a,1)}o[c+23|0]=e;k=c+4|0;if(!(q[c>>2]|!q[k>>2])){q[a+112>>2]=20;break Ya}d=q[k>>2]+7&-8;Tb:{Ub:{Vb:{if(e&255){e=q[a+92>>2];if(e){b=q[a+104>>2]-d|0;if((b|0)>2]){break Ub}q[a+104>>2]=b;g=b+e|0;break Vb}g=Ji(d);break Vb}q[a+8>>2]=d+q[a+8>>2];b=c;e=q[a+92>>2];Wb:{if(e){g=d;d=q[a+100>>2];h=g+d|0;g=0;if((h|0)>q[a+104>>2]){break Wb}q[a+100>>2]=h;g=d+e|0;break Wb}g=0;if(!d){break Wb}g=Ji(d)}q[b+8>>2]=g}if(g){break Tb}}q[a+112>>2]=3;break Ya}Xb:{if(!i){e=0;j=0;f=q[k>>2];if((f|0)<=0){break Xb}while(1){Yb:{Zb:{if(r[c+23|0]){if(!oj(a,1)){break Zb}}b=oj(a,5)+1|0;o[e+g|0]=b;if((b&255)!=32){j=j+1|0;break Yb}q[a+112>>2]=20;break Ya}o[e+g|0]=255}e=e+1|0;f=q[k>>2];if((e|0)<(f|0)){continue}break}break Xb}e=oj(a,5);j=0;b=0;f=q[k>>2];if((f|0)<1){break Xb}while(1){e=e+1|0;d=a;i=f-b|0;h=0;_b:{if((i|0)<0){break _b}if((i|0)<=16383){h=o[i+205792|0];if((i|0)<=15){break _b}h=o[(i>>>5|0)+205792|0]+5|0;if((i|0)<=511){break _b}h=o[(i>>>10|0)+205792|0]+10|0;break _b}if((i|0)<=16777215){h=o[(i>>>15|0)+205792|0]+15|0;if((i|0)<=524287){break _b}h=o[(i>>>20|0)+205792|0]+20|0;break _b}h=o[(i>>>25|0)+205792|0]+25|0;if((i|0)<=536870911){break _b}h=o[(i>>>30|0)+205792|0]+30|0}i=oj(d,h);if((e|0)>=32){q[a+112>>2]=20;break Ya}d=b+i|0;if((d|0)>q[k>>2]){q[a+112>>2]=20;break Ya}Fi(b+g|0,e,i);b=d;f=q[k>>2];if((b|0)<(f|0)){continue}break}}$b:{ac:{bc:{cc:{dc:{ec:{if(r[c+23|0]){if(f>>2>(j|0)){break ec}if(q[a+16>>2]<(f|0)){q[a+16>>2]=f}b=f+7&-8;q[a+8>>2]=b+q[a+8>>2];d=c;e=q[a+92>>2];fc:{if(e){i=b;b=q[a+100>>2];i=i+b|0;if((i|0)>q[a+104>>2]){break dc}q[a+100>>2]=i;b=b+e|0;break fc}if(!b){break dc}b=Ji(b)}q[d+8>>2]=b;if(!b){break Lb}Gi(b,g,q[k>>2]);gc:{if(q[a+92>>2]){q[a+104>>2]=q[a+104>>2]+(q[k>>2]+7&-8);break gc}yi(g)}g=q[c+8>>2];o[c+23|0]=0}e=0;b=0;d=q[k>>2];if((d|0)>=1){while(1){b=((r[e+g|0]-11&255)>>>0<244)+b|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}q[c+2092>>2]=b;d=(d<<2)+7&-8;q[a+8>>2]=d+q[a+8>>2];hc:{ic:{b=c;e=q[a+92>>2];jc:{if(e){i=d;d=q[a+100>>2];i=i+d|0;if((i|0)>q[a+104>>2]){break ic}q[a+100>>2]=i;d=d+e|0;break jc}if(!d){break ic}d=Ji(d)}q[b+32>>2]=d;if(!d){break hc}v=c+2092|0;j=q[k>>2];h=0;break $b}q[(z+w(B,2096)|0)+32>>2]=0}q[a+112>>2]=3;break Ya}q[c+2092>>2]=j;v=c+2092|0;if(!j){h=0;break ac}e=j+7&-8;q[a+8>>2]=e+q[a+8>>2];b=c;d=q[a+92>>2];kc:{if(d){i=e;e=q[a+100>>2];i=i+e|0;if((i|0)>q[a+104>>2]){break cc}q[a+100>>2]=i;e=d+e|0;break kc}if(!e){break cc}e=Ji(e)}q[b+8>>2]=e;if(!e){break bc}e=(q[v>>2]<<2)+7&-8;lc:{b=c;mc:{nc:{if(d){e=q[a+104>>2]-e|0;if((e|0)>2]){q[(z+w(B,2096)|0)+32>>2]=0;break mc}q[a+104>>2]=e;e=d+e|0;break nc}e=Ji(e)}q[b+32>>2]=e;if(e){break lc}}q[a+112>>2]=3;break Ya}b=(q[v>>2]<<2)+7&-8;oc:{pc:{if(d){b=q[a+104>>2]-b|0;if((b|0)>2]){break oc}q[a+104>>2]=b;h=b+d|0;break pc}h=Ji(b)}if(h){break ac}}q[a+112>>2]=3;break Ya}q[(z+w(B,2096)|0)+8>>2]=0;break Lb}q[(z+w(B,2096)|0)+8>>2]=0}q[a+112>>2]=3;break Ya}j=q[k>>2];b=j+(q[v>>2]<<3)|0;if(b>>>0<=t[a+16>>2]){break $b}q[a+16>>2]=b}b=0;D=Fi(n,0,128);qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{if((j|0)<1){break Ec}while(1){if(r[b+g|0]!=255){break Ec}b=b+1|0;if((j|0)!=(b|0)){continue}break}break Dc}if((b|0)!=(j|0)){break Cc}}if(!q[c+2092>>2]){break Bc}J(207146,205607,1094,207169);G()}e=b+g|0;i=r[e|0];if(i>>>0>=32){break Ac}d=q[c+32>>2];Fc:{if(!r[c+23|0]){q[d+(b<<2)>>2]=0;break Fc}q[d>>2]=0;o[q[c+8>>2]]=i;q[h>>2]=b}d=r[e|0];if(d){e=1;d=d>>>0>1?d:1;while(1){q[D+(e<<2)>>2]=1<<32-e;i=(d|0)==(e|0);e=e+1|0;if(!i){continue}break}}d=b+1|0;if((j|0)<=(d|0)){break Bc}i=1;while(1){I=d+g|0;f=r[I|0];Gc:{if((f|0)==255){break Gc}if(f>>>0>31){break zc}Hc:{e=f;if(e){while(1){b=D+(e<<2)|0;E=q[b>>2];if(E){break Hc}b=(e|0)>1;e=e-1|0;if(b){continue}break}}if(!(q[a+92>>2]|!r[c+23|0])){yi(h)}q[a+112>>2]=20;break Ya}q[b>>2]=0;b=E>>>1&1431655765|E<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;b=Twa(b>>>8&16711935|b<<8&-16711936,16);K=q[c+32>>2];F=K+(d<<2)|0;Ic:{if(!r[c+23|0]){break Ic}F=i<<2;q[F+K>>2]=b;o[q[c+8>>2]+i|0]=f;b=d;F=h+F|0}i=i+1|0;q[F>>2]=b;b=r[I|0];if((e|0)>=(b|0)){break Gc}while(1){f=D+(b<<2)|0;if(q[f>>2]){break yc}q[f>>2]=E+(1<<32-b);b=b-1|0;if((e|0)<(b|0)){continue}break}}d=d+1|0;if((j|0)!=(d|0)){continue}break}}b=q[v>>2];if(!b){break uc}d=(b<<2)+11&-8;i=d+q[a+8>>2]|0;q[a+8>>2]=i;b=c;e=q[a+92>>2];Jc:{if(e){j=d;d=q[a+100>>2];f=j+d|0;if((f|0)>q[a+104>>2]){break xc}q[a+100>>2]=f;d=d+e|0;break Jc}if(!d){break xc}d=Ji(d)}q[b+2084>>2]=d;if(!d){break Mb}b=(q[v>>2]<<2)+11&-8;q[a+8>>2]=b+i;d=c;Kc:{if(e){i=b;b=q[a+100>>2];i=i+b|0;if((i|0)>q[a+104>>2]){break wc}q[a+100>>2]=i;b=b+e|0;break Kc}if(!b){break wc}b=Ji(b)}q[d+2088>>2]=b;if(!b){break Nb}i=c+2084|0;j=c+2088|0;q[j>>2]=b+4;q[b>>2]=-1;if(r[c+23|0]){b=q[c+2092>>2];if((b|0)<1){break vc}d=c+2092|0;f=q[c+32>>2];D=q[i>>2];e=0;while(1){E=e<<2;b=q[E+f>>2];b=b>>>1&1431655765|b<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;q[D+E>>2]=Twa(b>>>8&16711935|b<<8&-16711936,16);b=q[d>>2];e=e+1|0;if((b|0)>(e|0)){continue}break}break vc}f=q[k>>2];Lc:{if((f|0)<1){b=0;break Lc}e=0;b=0;while(1){if((r[e+g|0]-11&255)>>>0<=243){d=q[q[c+32>>2]+(e<<2)>>2];d=d>>>1&1431655765|d<<1&-1431655766;d=d>>>2&858993459|d<<2&-858993460;d=d>>>4&252645135|d<<4&-252645136;q[q[i>>2]+(b<<2)>>2]=Twa(d>>>8&16711935|d<<8&-16711936,16);f=q[k>>2];b=b+1|0}e=e+1|0;if((f|0)>(e|0)){continue}break}}if(q[c+2092>>2]==(b|0)){break vc}J(207224,205607,1191,207247);G()}J(207187,205607,1095,207169);G()}J(207199,205607,1109,207169);G()}J(207206,205607,1124,207169);G()}q[(z+w(B,2096)|0)+2084>>2]=0;break Mb}q[(z+w(B,2096)|0)+2088>>2]=0;break Nb}dx(q[i>>2],b,4,1568);q[q[i>>2]+(q[c+2092>>2]<<2)>>2]=-1;K=c+2092|0;e=r[c+23|0];L=q[(e?K:k)>>2];if((L|0)<1){break tc}d=0;while(1){M=e&255;Mc:{Nc:{if(M){f=r[q[(d<<2)+h>>2]+g|0];if((f|0)!=255){break Nc}J(207301,205607,1171,207316);G()}f=r[d+g|0];if((f-11&255)>>>0>243){break Mc}}N=d<<2;b=q[N+q[c+32>>2]>>2];b=b>>>1&1431655765|b<<1&-1431655766;b=b>>>2&858993459|b<<2&-858993460;b=b>>>4&252645135|b<<4&-252645136;D=Twa(b>>>8&16711935|b<<8&-16711936,16);E=q[i>>2];e=0;b=q[K>>2];if((b|0)>=2){while(1){F=b>>>1|0;O=F+e|0;I=D>>>0>2];e=I?e:O;b=I?F:b-F|0;if((b|0)>1){continue}break}}b=e<<2;if((D|0)!=q[b+E>>2]){break sc}if(M){q[b+q[j>>2]>>2]=q[h+N>>2];o[q[c+8>>2]+e|0]=f;break Mc}q[b+q[j>>2]>>2]=d}d=d+1|0;if((L|0)==(d|0)){break uc}e=r[c+23|0];continue}}e=r[c+23|0]}if(e&255){Oc:{Pc:{Qc:{Rc:{Sc:{if(q[a+92>>2]){q[a+104>>2]=q[a+104>>2]+((q[v>>2]<<2)+7&-8);e=c+32|0;break Sc}yi(h);e=c+32|0;if(!q[a+92>>2]){break Rc}}q[a+104>>2]=q[a+104>>2]+((q[v>>2]<<2)+7&-8);break Qc}yi(q[c+32>>2]);if(!q[a+92>>2]){break Pc}}q[a+104>>2]=q[a+104>>2]+(q[k>>2]+7&-8);break Oc}yi(g)}q[e>>2]=0;b=r[c+23|0]}else{b=0}Fi(c+36|0,255,2048);e=b&255;b=q[(e?c+2092|0:k)>>2];if((b|0)<1){break qc}b=(b|0)<32767?b:32767;d=(b|0)>1?b:1;g=q[c+8>>2];b=0;if(e){break rc}while(1){i=b+g|0;Tc:{if(r[i|0]>10){break Tc}e=q[q[c+32>>2]+(b<<2)>>2];if(e>>>0>=1024){break Tc}while(1){p[(c+(e<<1)|0)+36>>1]=b;e=(1<>>0<1024){continue}break}}b=b+1|0;if((d|0)!=(b|0)){continue}break}break qc}J(207270,205607,1221,207247);G()}i=c+2084|0;while(1){h=b+g|0;Uc:{if(r[h|0]>10){break Uc}e=q[q[i>>2]+(b<<2)>>2];e=e>>>1&1431655765|e<<1&-1431655766;e=e>>>2&858993459|e<<2&-858993460;e=e>>>4&252645135|e<<4&-252645136;e=Twa(e>>>8&16711935|e<<8&-16711936,16);if(e>>>0>1023){break Uc}while(1){p[(c+(e<<1)|0)+36>>1]=b;e=(1<>>0<1024){continue}break}}b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=oj(a,4);o[c+21|0]=b;b=b&255;if(b>>>0>=3){q[a+112>>2]=20;break Ya}Vc:{if(!b){break Vc}b=oj(a,32);A=+((b&2097151)>>>0);u[c+12>>2]=Vx(+x((b|0)>-1?A:-A),(b>>>21&1023)-788|0);b=oj(a,32);A=+((b&2097151)>>>0);u[c+16>>2]=Vx(+x((b|0)>-1?A:-A),(b>>>21&1023)-788|0);o[c+20|0]=oj(a,4)+1;o[c+22|0]=oj(a,1);e=q[c>>2];d=q[k>>2];Wc:{if(r[c+21|0]==1){A=C(wu(+x(x(sE(+x(d|0)))/x(e|0))));Xc:{if(y(A)<2147483648){b=~~A;break Xc}b=-2147483648}A=+(e|0);P=C(yp(+x(x(b|0)+x(1)),A));Yc:{if(y(P)<2147483648){e=~~P;break Yc}e=-2147483648}e=((e|0)<=(d|0))+b|0;H=x(e|0);Zc:{if(yp(+x(H+x(1)),A)<=+(d|0)){break Zc}g=(e|0)<0;A=C(yp(+H,A));_c:{if(y(A)<2147483648){b=~~A;break _c}b=-2147483648}if(g){break Zc}if((b|0)<=(d|0)){break Wc}}q[a+112>>2]=20;break Ya}e=w(d,e)}q[c+24>>2]=e;if(!e){q[a+112>>2]=20;break Ya}b=(e<<1)+7&-8;d=q[a+92>>2];$c:{if(d){b=q[a+104>>2]-b|0;if((b|0)>2]){break Sb}q[a+104>>2]=b;b=b+d|0;break $c}b=Ji(b)}if(!b){break Sb}e=0;f=q[c+24>>2];if((f|0)>0){while(1){d=oj(a,r[c+20|0]);if((d|0)==-1){ad:{if(q[a+92>>2]){q[a+104>>2]=q[a+104>>2]+((q[c+24>>2]<<1)+7&-8);break ad}yi(b)}q[a+112>>2]=20;break Ya}p[b+(e<<1)>>1]=d;e=e+1|0;f=q[c+24>>2];if((e|0)<(f|0)){continue}break}}bd:{if(r[c+21|0]==1){e=c;z=r[c+23|0];cd:{if(z){d=q[v>>2];if(!d){g=q[a+92>>2];break bd}i=(w(d,q[c>>2])<<2)+7&-8;q[a+8>>2]=i+q[a+8>>2];g=q[a+92>>2];if(g){d=i;i=q[a+100>>2];h=d+i|0;d=0;if((h|0)>q[a+104>>2]){break cd}q[a+100>>2]=h;d=g+i|0;break cd}d=0;if(!i){break cd}d=Ji(i);break cd}i=(w(q[k>>2],q[c>>2])<<2)+7&-8;q[a+8>>2]=i+q[a+8>>2];g=q[a+92>>2];if(g){d=i;i=q[a+100>>2];h=d+i|0;d=0;if((h|0)>q[a+104>>2]){break cd}q[a+100>>2]=h;d=g+i|0;break cd}d=0;if(!i){break cd}d=Ji(i)}h=d;q[e+28>>2]=h;if(!h){dd:{if(g){q[a+104>>2]=q[a+104>>2]+((q[c+24>>2]<<1)+7&-8);break dd}yi(b)}q[a+112>>2]=3;break Ya}D=q[(z?v:k)>>2];if((D|0)>=1){E=c+2088|0;k=q[c>>2];H=x(0);i=0;while(1){d=i;d=z?q[q[E>>2]+(d<<2)>>2]:d;ed:{if((k|0)<1){break ed}v=w(i,k);j=q[c+24>>2];f=1;e=0;if(!r[c+22|0]){while(1){u[h+(e+v<<2)>>2]=H+x(x(u[c+16>>2]*x(s[b+(((d>>>0)/(f>>>0)>>>0)%(j>>>0)<<1)>>1]))+u[c+12>>2]);e=e+1|0;if((k|0)<=(e|0)){break ed}Owa(j,0,f,0);if(wi){break Ob}f=w(f,j);continue}}while(1){H=x(H+x(x(u[c+16>>2]*x(s[b+(((d>>>0)/(f>>>0)>>>0)%(j>>>0)<<1)>>1]))+u[c+12>>2]));u[h+(e+v<<2)>>2]=H;e=e+1|0;if((k|0)>(e|0)){Owa(j,0,f,0);if(wi){break Ob}f=w(f,j)}if((e|0)<(k|0)){continue}break}}i=i+1|0;if((D|0)!=(i|0)){continue}break}}o[c+21|0]=2;break bd}d=(f<<2)+7&-8;q[a+8>>2]=d+q[a+8>>2];fd:{gd:{hd:{e=c;g=q[a+92>>2];id:{if(g){i=d;d=q[a+100>>2];i=i+d|0;if((i|0)>q[a+104>>2]){break hd}q[a+100>>2]=i;d=d+g|0;break id}if(!d){break hd}d=Ji(d)}q[e+28>>2]=d;if(!d){break gd}i=q[c+24>>2];if((i|0)<1){break bd}H=x(0);e=0;if(r[c+22|0]){break fd}while(1){u[d+(e<<2)>>2]=x(x(u[c+16>>2]*x(s[b+(e<<1)>>1]))+u[c+12>>2])+x(0);e=e+1|0;if((i|0)!=(e|0)){continue}break}break bd}q[(z+w(B,2096)|0)+28>>2]=0}jd:{if(g){q[a+104>>2]=q[a+104>>2]+((q[c+24>>2]<<1)+7&-8);break jd}yi(b)}q[a+112>>2]=3;break Ya}while(1){H=x(H+x(x(u[c+16>>2]*x(s[b+(e<<1)>>1]))+u[c+12>>2]));u[d+(e<<2)>>2]=H;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(g){q[a+104>>2]=q[a+104>>2]+((q[c+24>>2]<<1)+7&-8);break Vc}yi(b)}B=B+1|0;if((B|0)>2]){continue}break}}kd:{c=oj(a,6)+1&255;if(!c){break kd}while(1){if(!oj(a,16)){Q=Q+1|0;if((c|0)!=(Q|0)){continue}break kd}break}q[a+112>>2]=20;break Ya}d=oj(a,6)+1|0;q[a+140>>2]=d;b=w(d,1596)+7&-8;q[a+8>>2]=b+q[a+8>>2];ld:{md:{nd:{c=a;e=q[a+92>>2];od:{if(e){g=b;b=q[a+100>>2];g=g+b|0;if((g|0)>q[a+104>>2]){break nd}q[a+100>>2]=g;b=b+e|0;break od}if(!b){break nd}b=Ji(b)}q[c+272>>2]=b;if(!b){break md}if((d|0)>=1){break ld}i=0;break Pb}q[a+272>>2]=0}q[a+112>>2]=3;break Ya}i=0;f=0;pd:while(1){c=oj(a,16);p[((i<<1)+a|0)+144>>1]=c;c=c&65535;if(c>>>0>=2){q[a+112>>2]=20;break Ya}if(!c){c=q[a+272>>2]+w(i,1596)|0;o[c|0]=oj(a,8);p[c+2>>1]=oj(a,16);p[c+4>>1]=oj(a,16);o[c+6|0]=oj(a,6);o[c+7|0]=oj(a,8);b=(oj(a,4)&255)+1|0;o[c+8|0]=b;if((b|0)==(b&255)){b=c+9|0;e=0;while(1){o[b+e|0]=oj(a,8);e=e+1|0;if(e>>>0>2]=4;break Ya}c=q[a+272>>2]+w(i,1596)|0;d=oj(a,5);o[c|0]=d;e=-1;h=0;b=0;qd:{if(d&255){while(1){d=oj(a,4);o[(b+c|0)+1|0]=d;d=d&255;e=(d|0)>(e|0)?d:e;b=b+1|0;if(b>>>0>2]<=(b&255)){break qd}if(r[d+49|0]==31){break rd}}b=0;while(1){g=oj(a,8)-1|0;p[((c+(h<<4)|0)+(b<<1)|0)+82>>1]=g;if(q[a+132>>2]<=g<<16>>16){break qd}b=b+1|0;if((b|0)<1<>2]=2;g=0;p[c+338>>1]=0;o[c+1589|0]=b;p[c+340>>1]=1<>2];p[(c+(h<<1)|0)+338>>1]=d;d=h+1|0;q[b>>2]=d;e=e+1|0;if(e>>>0>>0<(h&255)>>>0){continue}break}if((d|0)<1){break sd}}e=0;while(1){g=s[(c+(e<<1)|0)+338>>1];h=(e<<2)+n|0;p[h+2>>1]=e;p[h>>1]=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}}dx(n,d,4,1569);e=0;d=q[b>>2];g=d-1|0;g=(g|0)>0?g:0;while(1){if((e|0)==(g|0)){e=0;td:{if((d|0)<=0){break td}while(1){o[(c+e|0)+838|0]=r[((e<<2)+n|0)+2|0];e=e+1|0;d=q[b>>2];if((e|0)<(d|0)){continue}break}v=2;if((d|0)<=2){break td}while(1){B=c+(v<<1)|0;z=B;h=-1;j=65536;g=0;d=0;e=0;while(1){k=s[(c+(e<<1)|0)+338>>1];if((k|0)>(h|0)){D=k>>>0>1];h=D?k:h;g=D?e:g}if((j|0)>(k|0)){F=k;k=k>>>0>s[z+338>>1];j=k?F:j;d=k?e:d}e=e+1|0;if((v|0)!=(e|0)){continue}break}o[B+1089|0]=d;o[B+1088|0]=g;d=q[b>>2];v=v+1|0;if((d|0)>(v|0)){continue}break}}f=(d|0)>(f|0)?d:f;i=i+1|0;if((i|0)>2]){continue pd}i=(f<<1)+7&-8;break Pb}h=s[(e<<2)+n>>1];e=e+1|0;if((h|0)!=s[(e<<2)+n>>1]){continue}break}}break}q[a+112>>2]=20;break Ya}q[a+112>>2]=3;break Ya}q[a+136>>2]=0;break Kb}c=oj(a,6)+1|0;q[a+276>>2]=c;d=w(c,24);q[a+8>>2]=d+q[a+8>>2];ud:{vd:{wd:{xd:{yd:{zd:{Ad:{Bd:{Cd:{b=a;c=q[a+92>>2];Dd:{if(c){e=q[a+100>>2];g=e+d|0;if((g|0)>q[a+104>>2]){break Cd}q[a+100>>2]=g;c=c+e|0;break Dd}if(!d){break Cd}c=Ji(d)}q[b+408>>2]=c;if(!c){break ud}j=0;Fi(c,0,d);Ed:{if(q[a+276>>2]>=1){while(1){h=q[a+408>>2];c=oj(a,16);p[((j<<1)+a|0)+280>>1]=c;if((c&65535)>>>0>=3){q[a+112>>2]=20;break Ya}c=h+w(j,24)|0;q[c>>2]=oj(a,24);b=oj(a,24);q[c+4>>2]=b;if(b>>>0>2]){q[a+112>>2]=20;break Ya}q[c+8>>2]=oj(a,24)+1;o[c+12|0]=oj(a,6)+1;b=oj(a,8);o[c+13|0]=b;Fd:{Gd:{if(q[a+132>>2]>(b&255)){e=0;if(r[c+12|0]){break Gd}b=0;break Fd}q[a+112>>2]=20;break Ya}while(1){d=oj(a,3);g=e+n|0;if(oj(a,1)){b=oj(a,5)}else{b=0}o[g|0]=d+(b<<3);b=r[c+12|0];e=e+1|0;if(b>>>0>e>>>0){continue}break}}f=b<<4;d=f+q[a+8>>2]|0;q[a+8>>2]=d;g=c;e=q[a+92>>2];Hd:{if(e){b=q[a+100>>2];f=b+f|0;if((f|0)>q[a+104>>2]){break xd}q[a+100>>2]=f;b=b+e|0;break Hd}if(!b){break xd}b=Ji(f)}q[g+20>>2]=b;if(!b){break wd}k=a;if(r[c+12|0]){e=0;while(1){d=r[e+n|0];Id:{if(d&1){g=oj(a,8);b=q[c+20>>2];p[b+(e<<4)>>1]=g;if(q[a+132>>2]>g<<16>>16){break Id}break vd}p[(e<<4)+b>>1]=65535}Jd:{if(d&2){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+2>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Jd}p[((e<<4)+b|0)+2>>1]=65535}Kd:{if(d&4){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+4>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Kd}p[((e<<4)+b|0)+4>>1]=65535}Ld:{if(d&8){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+6>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Ld}p[((e<<4)+b|0)+6>>1]=65535}Md:{if(d&16){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+8>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Md}p[((e<<4)+b|0)+8>>1]=65535}Nd:{if(d&32){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+10>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Nd}p[((e<<4)+b|0)+10>>1]=65535}Od:{if(d&64){g=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+12>>1]=g;if(q[a+132>>2]<=g<<16>>16){break vd}break Od}p[((e<<4)+b|0)+12>>1]=65535}Pd:{if(d&128){d=oj(a,8);b=q[c+20>>2];p[(b+(e<<4)|0)+14>>1]=d;if(q[a+132>>2]<=d<<16>>16){break vd}break Pd}p[((e<<4)+b|0)+14>>1]=65535}e=e+1|0;if(e>>>0>2];d=q[a+8>>2]}f=q[a+136>>2];b=(q[(f+w(r[c+13|0],2096)|0)+4>>2]<<2)+7&-8;q[k+8>>2]=d+b;d=c;Qd:{if(e){g=b;b=q[a+100>>2];g=g+b|0;if((g|0)>q[a+104>>2]){break Ed}q[a+100>>2]=g;b=b+e|0;break Qd}if(!b){break Ed}b=Ji(b)}q[d+16>>2]=b;if(!b){break yd}g=0;Fi(b,0,q[(f+w(r[c+13|0],2096)|0)+4>>2]<<2);e=q[a+136>>2];b=r[c+13|0];if(q[(e+w(b,2096)|0)+4>>2]>0){while(1){d=q[w(b,2096)+e>>2];e=d+7&-8;q[a+8>>2]=e+q[a+8>>2];h=q[a+92>>2];Rd:{if(h){b=e;e=q[a+100>>2];f=b+e|0;b=0;if((f|0)>q[a+104>>2]){break Rd}q[a+100>>2]=f;b=e+h|0;break Rd}b=0;if(!e){break Rd}b=Ji(e)}h=g<<2;q[h+q[c+16>>2]>>2]=b;Sd:{b=q[h+q[c+16>>2]>>2];if(b){if((d|0)<1){break Sd}e=d-1|0;o[b+e|0]=(g>>>0)%r[c+12|0];b=g;if((d|0)==1){break Sd}while(1){d=e-1|0;f=r[c+12|0];b=(b|0)/(f|0)|0;o[d+q[h+q[c+16>>2]>>2]|0]=(b|0)%(f|0);f=(e|0)>1;e=d;if(f){continue}break}break Sd}q[a+112>>2]=3;break Ya}g=g+1|0;e=q[a+136>>2];b=r[c+13|0];if((g|0)>2]){continue}break}}j=j+1|0;if((j|0)>2]){continue}break}}c=oj(a,6)+1|0;q[a+412>>2]=c;d=w(c,40);q[a+8>>2]=d+q[a+8>>2];Td:{b=a;c=q[a+92>>2];Ud:{if(c){e=q[a+100>>2];g=e+d|0;if((g|0)>q[a+104>>2]){break Td}q[a+100>>2]=g;c=c+e|0;break Ud}if(!d){break Td}c=Ji(d)}q[b+416>>2]=c;if(!c){break zd}j=0;Fi(c,0,d);if(q[a+412>>2]>=1){g=0;while(1){d=q[a+416>>2];if(oj(a,16)){q[a+112>>2]=20;break Ya}c=w(q[a+4>>2],3)+7&-8;q[a+8>>2]=c+q[a+8>>2];Vd:{Wd:{Xd:{b=q[a+92>>2];Yd:{if(b){e=c;c=q[a+100>>2];e=e+c|0;if((e|0)>q[a+104>>2]){break Xd}q[a+100>>2]=e;b=b+c|0;break Yd}if(!c){break Xd}b=Ji(c)}c=d+w(g,40)|0;q[c+4>>2]=b;if(!b){break Ad}b=c;if(oj(a,1)){d=oj(a,4)+1|0}else{d=1}o[b+8|0]=d;Zd:{if(oj(a,1)){b=oj(a,8)+1|0;p[c>>1]=b;_d:{e=q[a+4>>2];b=b&65535;if((e|0)>=(b|0)){d=0;if(b){break _d}break Zd}q[a+112>>2]=20;break Ya}while(1){b=a;f=0;$d:{if((e|0)<1){break $d}h=e-1|0;if((e|0)<=16384){f=o[h+205792|0];if((e|0)<=16){break $d}f=o[(h>>>5|0)+205792|0]+5|0;if((e|0)<=512){break $d}f=o[(h>>>10|0)+205792|0]+10|0;break $d}if((e|0)<=16777216){f=o[(h>>>15|0)+205792|0]+15|0;if((e|0)<=524288){break $d}f=o[(h>>>20|0)+205792|0]+20|0;break $d}f=o[(h>>>25|0)+205792|0]+25|0;if((e|0)<=536870912){break $d}f=o[(h>>>30|0)+205792|0]+30|0}b=oj(b,f);f=w(d,3);o[f+q[c+4>>2]|0]=b;b=a;h=q[a+4>>2];k=0;ae:{if((h|0)<1){break ae}e=h-1|0;if((h|0)<=16384){k=o[e+205792|0];if((h|0)<=16){break ae}k=o[(e>>>5|0)+205792|0]+5|0;if((h|0)<=512){break ae}k=o[(e>>>10|0)+205792|0]+10|0;break ae}if((h|0)<=16777216){k=o[(e>>>15|0)+205792|0]+15|0;if((h|0)<=524288){break ae}k=o[(e>>>20|0)+205792|0]+20|0;break ae}k=o[(e>>>25|0)+205792|0]+25|0;if((h|0)<=536870912){break ae}k=o[(e>>>30|0)+205792|0]+30|0}b=oj(b,k);h=f+q[c+4>>2]|0;o[h+1|0]=b;e=q[a+4>>2];h=r[h|0];if((e|0)<=(h|0)){q[a+112>>2]=20;break Ya}b=b&255;if((b|0)>=(e|0)){q[a+112>>2]=20;break Ya}if((b|0)!=(h|0)){d=d+1|0;if(d>>>0>=s[c>>1]){break Zd}continue}break}q[a+112>>2]=20;break Ya}p[c>>1]=0}if(oj(a,2)){q[a+112>>2]=20;break Ya}b=q[a+4>>2];d=r[c+8|0];if(d>>>0<=1){if((b|0)>=1){h=q[c+4>>2];e=0;while(1){o[(h+w(e,3)|0)+2|0]=0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(!d){break Vd}break Wd}e=0;if((b|0)<=0){break Wd}while(1){be:{b=oj(a,4);o[(q[c+4>>2]+w(e,3)|0)+2|0]=b;if(r[c+8|0]<=(b&255)>>>0){break be}e=e+1|0;if((e|0)>2]){continue}break Wd}break}q[a+112>>2]=20;break Ya}q[(d+w(g,40)|0)+4>>2]=0;break Ad}e=0;while(1){oj(a,8);d=c+e|0;b=d;o[b+9|0]=oj(a,8);d=oj(a,8);o[b+24|0]=d;if(q[a+140>>2]<=r[b+9|0]){q[a+112>>2]=20;break Ya}if(q[a+276>>2]>(d&255)){e=e+1|0;if(e>>>0>=r[c+8|0]){break Vd}continue}break}q[a+112>>2]=20;break Ya}g=g+1|0;if((g|0)>2]){continue}break}}c=oj(a,6)+1|0;q[a+420>>2]=c;ce:{if((c|0)<=0){break ce}while(1){c=w(j,6)+a|0;o[c+424|0]=oj(a,1);p[c+426>>1]=oj(a,16);p[c+428>>1]=oj(a,16);b=oj(a,8);o[c+425|0]=b;if(s[c+426>>1]){q[a+112>>2]=20;break Ya}if(s[c+428>>1]){q[a+112>>2]=20;break Ya}if(q[a+412>>2]>(b&255)){j=j+1|0;if((j|0)>=q[a+420>>2]){break ce}continue}break}q[a+112>>2]=20;break Ya}de:{while(1){ee:{e=r[l|0];if(!e){if(q[a+1396>>2]){break de}b=q[m>>2];if((b|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break de}if(!(o[a+1387|0]&1)){break ee}b=q[m>>2]}c=b+1|0;q[a+1392>>2]=c;e=r[(a+b|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=b;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[m>>2]=-1}if(r[l|0]){break a}o[l|0]=e;if(!e){break de}}o[a+1388|0]=e-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>2]){q[a+44>>2]=c+1;continue}q[a+108>>2]=1;continue}if((ej(q[a+32>>2])|0)!=-1){continue}q[a+108>>2]=1;continue}break}q[a+112>>2]=32}e=0;q[a+1004>>2]=0;fe:{if(q[a+4>>2]<1){break fe}b=0;if(!i){while(1){i=q[a+128>>2];j=i<<2;g=j+7&-8;h=g+q[a+8>>2]|0;d=q[a+92>>2];ge:{if(d){c=g;g=q[a+100>>2];f=c+g|0;c=0;if((f|0)>q[a+104>>2]){break ge}q[a+100>>2]=f;c=d+g|0;break ge}c=0;if(!g){break ge}c=Ji(g)}g=(b<<2)+a|0;q[g+812>>2]=c;i=(i<<1)+7&2147483640;h=i+h|0;he:{if(d){f=0;k=i;i=q[a+100>>2];l=k+i|0;if((l|0)<=q[a+104>>2]){q[a+100>>2]=l;f=d+i|0}q[g+940>>2]=f;q[a+8>>2]=h;i=d;d=q[a+100>>2];d=(d|0)>q[a+104>>2]?0:i+d|0;break he}d=0;f=0;if(i){f=Ji(i)}q[g+940>>2]=f;q[a+8>>2]=h}q[g+1008>>2]=d;if(!f|(!c|!d)){break Bd}Fi(c,0,j);b=b+1|0;if((b|0)>2]){continue}break fe}}while(1){f=q[a+128>>2];k=f<<2;d=k+7&-8;j=d+q[a+8>>2]|0;h=q[a+92>>2];ie:{if(h){c=d;d=q[a+100>>2];g=c+d|0;c=0;if((g|0)>q[a+104>>2]){break ie}q[a+100>>2]=g;c=d+h|0;break ie}c=0;if(!d){break ie}c=Ji(d)}g=(b<<2)+a|0;q[g+812>>2]=c;d=j;j=(f<<1)+7&2147483640;l=d+j|0;je:{if(h){f=0;d=0;z=j;j=q[a+100>>2];v=z+j|0;if((v|0)<=q[a+104>>2]){q[a+100>>2]=v;d=h+j|0}q[g+940>>2]=d;q[a+8>>2]=i+l;j=q[a+100>>2];l=j+i|0;if((l|0)>q[a+104>>2]){break je}q[a+100>>2]=l;f=h+j|0;break je}h=g;if(j){d=Ji(j)}else{d=0}q[h+940>>2]=d;q[a+8>>2]=i+l;f=Ji(i)}q[g+1008>>2]=f;if(!d|(!c|!f)){break Bd}Fi(c,0,k);b=b+1|0;if((b|0)>2]){continue}break}}if(!yE(a,0,q[a+124>>2])){break b}if(!yE(a,1,q[a+128>>2])){break b}q[a+116>>2]=q[a+124>>2];b=q[a+128>>2];q[a+120>>2]=b;i=a;g=b<<1&2147483646;z=g;j=q[a+276>>2];c=4;ke:{if((j|0)<1){break ke}b=(b|0)/2|0;l=q[a+408>>2];h=0;f=0;while(1){d=l+w(f,24)|0;k=q[d+4>>2];c=b>>>0>k>>>0?k:b;k=q[d>>2];d=(c-(b>>>0>k>>>0?k:b)>>>0)/t[d+8>>2]|0;h=(d|0)>(h|0)?d:h;f=f+1|0;if((j|0)!=(f|0)){continue}break}c=(h<<2)+4|0}c=w(c,q[a+4>>2]);c=c>>>0>>0?z:c;q[i+12>>2]=c;le:{me:{if(!q[a+92>>2]){break me}b=q[a+104>>2];if((b|0)!=q[a+96>>2]){break le}if(b>>>0>=(c+q[a+100>>2]|0)+1524>>>0){break me}q[a+112>>2]=3;break b}if(q[m>>2]==-1){c=a;b=0;ne:{if(r[a+60|0]){break ne}b=q[a+44>>2];if(b){b=b-q[a+48>>2]|0;break ne}b=um(q[a+32>>2])-q[a+36>>2]|0}q[c+64>>2]=b;e=1;break b}q[a+64>>2]=0;e=1;break b}J(207076,205607,4187,207132);G()}q[a+416>>2]=0;break zd}q[(h+w(j,24)|0)+16>>2]=0;break yd}q[a+408>>2]=0;break ud}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[(h+w(j,24)|0)+20>>2]=0}q[a+112>>2]=3;break Ya}q[a+112>>2]=20;break Ya}q[a+112>>2]=3;break Ya}oe:{if(g){q[a+104>>2]=q[a+104>>2]+((j<<1)+7&-8);break oe}yi(b)}q[a+112>>2]=20;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=3;break Ya}q[a+112>>2]=20;break Ya}q[a+112>>2]=3;break Ya}q[a+20>>2]=0}q[a+112>>2]=3}e=0;break b}q[a+112>>2]=20;break b}if((d&255)!=100){break c}pe:{qe:{c=q[a+44>>2];re:{if(c){if(c>>>0>=t[a+52>>2]){break qe}q[a+44>>2]=c+1;d=r[c|0];break re}d=ej(q[a+32>>2]);if((d|0)==-1){break qe}}if(d&255){break c}break pe}q[a+108>>2]=1}q[a+112>>2]=38;break b}q[a+112>>2]=34}ti=n+1008|0;return e}J(205744,205607,1555,205765);G()}function NY(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,u=0,v=0,x=0,y=0,z=0,A=0,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;u=ti-144|0;ti=u;q[q[a>>2]+8>>2]=0;q[a+18436>>2]=0;e=a+18340|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18268|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18196|0;q[e>>2]=0;q[e+4>>2]=0;e=a+18124|0;q[e>>2]=0;q[e+4>>2]=0;a:{b:{if(!fC(a,0)){break b}E=a+18372|0;e=r[a+18372|0];c:{if((e|0)!=255){o[E|0]=255;break c}h=q[a>>2];e=q[h+172>>2];d:{if(e>>>0>2]){q[h+172>>2]=e+1;f=r[e|0];break d}if(!q[h+32>>2]){e=255;break c}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);i=h;e:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;e=h+41|0;break e}f=r[h+40|0];e=e+g|0}q[i+176>>2]=e;q[h+172>>2]=h+41}e=255;if((f&255)!=255){break c}while(1){h=q[a>>2];e=q[h+172>>2];f:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break f}if(!q[h+32>>2]){e=0;break c}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);g:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;f=h+41|0;e=0;break g}f=e+g|0;e=r[h+40|0]}q[h+176>>2]=f;q[h+172>>2]=h+41}if((e&255)==255){continue}break}}F=a+18376|0;y=a+18364|0;n=a+18368|0;h:while(1){i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{e=e&255;switch(e-217|0){case 3:break q;case 0:break s;case 1:break t;default:break r}}h=q[a>>2];g=q[h+172>>2];i=q[h+176>>2];u:{if(g>>>0>>0){e=g+1|0;q[h+172>>2]=e;f=r[g|0];break u}if(!q[h+32>>2]){f=0;e=g;break u}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);v:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;f=0;break v}i=e+g|0;f=r[h+40|0]}q[h+176>>2]=i;e=h+41|0;q[h+172>>2]=e}w:{if(e>>>0>>0){q[h+172>>2]=e+1;i=r[e|0];break w}if(!q[h+32>>2]){i=0;break w}g=h+40|0;j=xi[q[h+16>>2]](q[h+28>>2],g,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);e=h;x:{if(!j){i=0;o[h+40|0]=0;q[h+32>>2]=0;g=h+41|0;break x}i=r[h+40|0];g=g+j|0}q[e+176>>2]=g;q[h+172>>2]=h+41}j=q[a>>2];e=q[j+172>>2];y:{z:{A:{if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];break A}if(!q[j+32>>2]){q[a+18416>>2]=0;break z}e=j+40|0;g=xi[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);B:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;h=j+41|0;e=0;break B}h=e+g|0;e=r[j+40|0]}q[j+176>>2]=h;q[j+172>>2]=j+41}g=e&255;q[a+18416>>2]=g;if((e-1&255)>>>0>3){break z}e=q[a>>2];if((g|0)<=q[e+8>>2]){break y}}q[215613]=164129;break b}D=0;if(((g<<1)+6|0)!=(i&255|(f&255)<<8)){q[215613]=164129;break b}while(1){i=q[e+176>>2];f=q[e+172>>2];C:{if(i>>>0>f>>>0){g=f+1|0;q[e+172>>2]=g;v=r[f|0];break C}if(!q[e+32>>2]){v=0;g=f;break C}f=e+40|0;h=xi[q[e+16>>2]](q[e+28>>2],f,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);g=e;D:{if(!h){v=0;o[e+40|0]=0;q[e+32>>2]=0;h=e+41|0;break D}v=r[e+40|0];h=f+h|0}q[g+176>>2]=h;q[e+172>>2]=e+41;e=q[a>>2];i=q[e+176>>2];g=q[e+172>>2]}E:{if(g>>>0>>0){q[e+172>>2]=g+1;j=r[g|0];break E}if(!q[e+32>>2]){j=0;break E}f=e+40|0;h=xi[q[e+16>>2]](q[e+28>>2],f,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);g=e;F:{if(!h){j=0;o[e+40|0]=0;q[e+32>>2]=0;h=e+41|0;break F}j=r[e+40|0];h=f+h|0}q[g+176>>2]=h;q[e+172>>2]=e+41;e=q[a>>2]}f=0;m=q[e+8>>2];G:{if((m|0)<1){break G}i=v&255;if((i|0)==q[a+18076>>2]){break G}m=q[e+8>>2];f=(m|0)>1?m:1;h=f-1|0;g=0;while(1){if((g|0)==(h|0)){break G}g=g+1|0;if((i|0)!=q[(w(g,72)+a|0)+18076>>2]){continue}break}f=g}if((f|0)==(m|0)){break b}g=w(f,72)+a|0;h=j&255;q[g+18092>>2]=h>>>4;if(h>>>0>=64){q[215613]=164129;break b}i=g+18096|0;g=h&15;q[i>>2]=g;if(g>>>0>=4){q[215613]=164129;break b}q[((D<<2)+a|0)+18420>>2]=f;D=D+1|0;if((D|0)>2]){continue}break}g=q[e+176>>2];h=q[e+172>>2];H:{if(g>>>0>h>>>0){i=h+1|0;q[e+172>>2]=i;f=r[h|0];break H}if(!q[e+32>>2]){f=0;i=h;break H}g=e+40|0;f=xi[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);I:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break I}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41;e=q[a>>2];g=q[e+176>>2];i=q[e+172>>2]}q[a+18384>>2]=f&255;J:{if(g>>>0>i>>>0){h=i+1|0;q[e+172>>2]=h;f=r[i|0];break J}if(!q[e+32>>2]){f=0;h=i;break J}g=e+40|0;f=xi[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);K:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break K}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41;e=q[a>>2];g=q[e+176>>2];h=q[e+172>>2]}q[a+18388>>2]=f&255;L:{if(g>>>0>h>>>0){q[e+172>>2]=h+1;g=r[h|0];break L}if(!q[e+32>>2]){g=0;break L}g=e+40|0;f=xi[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);M:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;i=e+41|0;g=0;break M}i=f+g|0;g=r[e+40|0]}q[e+176>>2]=i;q[e+172>>2]=e+41}h=g&15;q[a+18396>>2]=h;e=g>>>4&15;q[a+18392>>2]=e;i=q[a+18384>>2];f=q[a+18380>>2];N:{if(f){O:{if((i|0)>63){break O}e=q[a+18388>>2];if((e|0)>63|(e|0)<(i|0)|(g&255)>>>0>223){break O}if(h>>>0<14){break N}}q[215613]=164129;break b}if(i){q[215613]=164129;break b}if(e|h){q[215613]=164129;break b}q[a+18388>>2]=63}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];e=e?e:2147483647;q[a+18440>>2]=e;g=q[a+18416>>2];if(!f){if((g|0)==1){I=q[a+18420>>2];g=w(I,72)+a|0;e=q[g+18108>>2];if((e|0)<1){break n}e=e+7>>3;C=(e|0)>1?e:1;J=q[g+18104>>2];e=J+7>>3;K=(e|0)>1?e:1;z=g+18112|0;x=g+18120|0;A=g+18088|0;B=g+18092|0;m=g+18096|0;v=0;while(1){if((J|0)>=1){j=v<<3;D=0;h=0;while(1){e=q[m>>2];if(!eC(a,u+16|0,(w(q[B>>2],1680)+a|0)+4|0,(w(e,1680)+a|0)+6724|0,((e<<10)+a|0)+13956|0,I,((q[A>>2]<<7)+a|0)+13444|0)){break o}e=q[z>>2];xi[q[a+18444>>2]]((q[x>>2]+w(e,j)|0)+(h<<3)|0,e,u+16|0);e=q[a+18440>>2];q[a+18440>>2]=e-1;if((e|0)<=1){P:{if(q[n>>2]>23){break P}while(1){g=0;Q:{if(q[F>>2]){break Q}f=q[a>>2];e=q[f+172>>2];R:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break R}if(!q[f+32>>2]){break Q}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);S:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break S}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Q}f=q[a>>2];e=q[f+172>>2];T:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break T}if(!q[f+32>>2]){e=0;break T}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);U:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break U}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Q}o[E|0]=e;q[F>>2]=1;break P}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);V:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break V}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}if((r[E|0]&248)!=208){break n}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];q[a+18440>>2]=e?e:2147483647}h=h+1|0;if((K|0)!=(h|0)){continue}break}}D=1;v=v+1|0;if((C|0)!=(v|0)){continue}break}break o}i=q[a+18064>>2];if((i|0)<1){break n}g=q[a+18060>>2];j=0;while(1){D=0;if((g|0)>=1){while(1){v=0;h=q[a+18416>>2];if((h|0)>=1){while(1){C=q[((v<<2)+a|0)+18420>>2];e=w(C,72)+a|0;J=e+18084|0;i=q[J>>2];if((i|0)>=1){K=e+18112|0;z=e+18120|0;x=e+18088|0;A=e+18092|0;B=e+18096|0;m=e+18080|0;e=q[m>>2];f=0;while(1){g=0;if((e|0)>=1){while(1){h=q[B>>2];if(!eC(a,u+16|0,(w(q[A>>2],1680)+a|0)+4|0,(w(h,1680)+a|0)+6724|0,((h<<10)+a|0)+13956|0,C,((q[x>>2]<<7)+a|0)+13444|0)){break b}h=q[K>>2];xi[q[a+18444>>2]]((q[z>>2]+(w(h,w(i,j)+f|0)<<3)|0)+(w(e,D)+g<<3)|0,h,u+16|0);i=q[J>>2];e=q[m>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}}f=f+1|0;if((i|0)>(f|0)){continue}break}h=q[a+18416>>2]}v=v+1|0;if((v|0)<(h|0)){continue}break}e=q[a+18440>>2]}h=e-1|0;q[a+18440>>2]=h;if((e|0)<=1){W:{if(q[n>>2]>23){break W}while(1){g=0;X:{if(q[F>>2]){break X}f=q[a>>2];e=q[f+172>>2];Y:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Y}if(!q[f+32>>2]){break X}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Z:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Z}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break X}f=q[a>>2];e=q[f+172>>2];_:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break _}if(!q[f+32>>2]){e=0;break _}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);$:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break $}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break X}o[E|0]=e;q[F>>2]=1;break W}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);aa:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break aa}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}if((r[E|0]&248)!=208){break n}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];h=e?e:2147483647;q[a+18440>>2]=h}e=h;g=q[a+18060>>2];D=D+1|0;if((g|0)>(D|0)){continue}break}i=q[a+18064>>2]}D=1;j=j+1|0;if((j|0)<(i|0)){continue}break}break o}if((g|0)==1){break p}i=q[a+18064>>2];if((i|0)<1){break n}g=q[a+18060>>2];D=0;while(1){f=0;if((g|0)>=1){while(1){v=0;h=q[a+18416>>2];if((h|0)>=1){while(1){z=q[((v<<2)+a|0)+18420>>2];e=w(z,72)+a|0;x=e+18084|0;i=q[x>>2];if((i|0)>=1){A=e+18092|0;B=e+18140|0;m=e+18136|0;j=e+18080|0;e=q[j>>2];h=0;while(1){g=0;if((e|0)>0){while(1){if(!dC(a,q[m>>2]+((w(e,f)+g|0)+w(q[B>>2],w(i,D)+h|0)<<7)|0,(w(q[A>>2],1680)+a|0)+4|0,z)){break b}i=q[x>>2];e=q[j>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}}h=h+1|0;if((i|0)>(h|0)){continue}break}h=q[a+18416>>2]}v=v+1|0;if((v|0)<(h|0)){continue}break}e=q[a+18440>>2]}h=e-1|0;q[a+18440>>2]=h;if((e|0)<=1){ba:{if(q[n>>2]>23){break ba}while(1){g=0;ca:{if(q[F>>2]){break ca}h=q[a>>2];e=q[h+172>>2];da:{if(e>>>0>2]){q[h+172>>2]=e+1;g=r[e|0];break da}if(!q[h+32>>2]){break ca}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ea:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;g=0;break ea}i=e+g|0;g=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}if((g&255)!=255){break ca}h=q[a>>2];e=q[h+172>>2];fa:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break fa}if(!q[h+32>>2]){e=0;break fa}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ga:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break ga}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}while(1){g=255;h=e&255;if((h|0)!=255){if(!h){break ca}o[E|0]=e;q[F>>2]=1;break ba}h=q[a>>2];e=q[h+172>>2];if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[h+32>>2]){continue}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);ha:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break ha}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=r[E|0];if((e&248)!=208){break m}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];h=e?e:2147483647;q[a+18440>>2]=h}e=h;g=q[a+18060>>2];f=f+1|0;if((g|0)>(f|0)){continue}break}i=q[a+18064>>2]}D=D+1|0;if((D|0)<(i|0)){continue}break}break n}ia:{if(!q[a+18380>>2]){break ia}e=q[a>>2];if(q[e+8>>2]<1){break ia}i=0;while(1){h=w(i,72)+a|0;f=q[h+18108>>2];ja:{if((f|0)<1){break ja}g=q[h+18104>>2];if((g|0)<1){break ja}C=h+18112|0;J=h+18120|0;K=h+18088|0;z=h+18140|0;x=h+18136|0;e=f+7>>3;A=(e|0)>1?e:1;e=g+7>>3;B=(e|0)>1?e:1;f=0;while(1){m=f<<3;h=0;while(1){I=q[x>>2]+(w(q[z>>2],f)+h<<7)|0;v=q[K>>2];g=0;while(1){j=g<<1;e=j+I|0;p[e>>1]=w(s[e>>1],s[(j+((v<<7)+a|0)|0)+13444>>1]);g=g+1|0;if((g|0)!=64){continue}break}e=q[C>>2];xi[q[a+18444>>2]]((q[J>>2]+w(e,m)|0)+(h<<3)|0,e,I);h=h+1|0;if((B|0)!=(h|0)){continue}break}f=f+1|0;if((A|0)!=(f|0)){continue}break}e=q[a>>2]}i=i+1|0;if((i|0)>2]){continue}break}}h=q[a>>2];g=q[h+8>>2];G=(g|0)<3?1:3;e=(g|0)!=3;i=0;ka:{if(e){break ka}i=1;if(q[a+18412>>2]==3){break ka}i=0;if(q[a+18408>>2]){break ka}i=!q[a+18404>>2]}q[u+8>>2]=0;q[u+12>>2]=0;q[u>>2]=0;q[u+4>>2]=0;la:{ma:{I=(G|0)>2?g:e?g:i?g:1;if((I|0)<1){break ma}e=Ji(q[h>>2]+3|0);q[a+18132>>2]=e;if(!e){break la}g=q[a>>2];v=q[a+18056>>2];j=q[a+18052>>2];e=0;while(1){x=(u+16|0)+(e<<5)|0;B=w(e,72)+a|0;m=(j|0)/q[B+18080>>2]|0;q[x+12>>2]=m;A=(v|0)/q[B+18084>>2]|0;q[x+16>>2]=A;q[x+24>>2]=A>>1;f=q[h>>2];q[x+28>>2]=0;h=m-1|0;q[x+20>>2]=(h+f>>>0)/(m>>>0);f=q[B+18120>>2];q[x+4>>2]=f;q[x+8>>2]=f;na:{oa:{pa:{switch(h|0){case 0:h=(A|0)==1?1367:(A|0)==2?1368:1369;break na;case 1:break pa;default:break oa}}h=1370;qa:{switch(A-1|0){case 0:break na;case 1:break qa;default:break oa}}h=q[a+18452>>2];break na}h=1369}q[x>>2]=h;e=e+1|0;if((I|0)==(e|0)){h=g;break ma}f=Ji(q[g>>2]+3|0);q[(w(e,72)+a|0)+18132>>2]=f;h=g;if(f){continue}break}break la}f=0;ra:{e=q[h>>2];if((e|G)<0){break ra}g=q[h+4>>2];if((G|0)>(2147483647/(e|0)|0)?e:0){break ra}e=w(e,G);if((e|g)<0|((e|0)>(2147483647/(g|0)|0)?g:0)){break ra}e=w(e,g);if((e|0)==2147483647){break ra}e=Ji(e+1|0);if(!e){break ra}if(q[h+4>>2]){J=(I|0)<1;K=(G|0)<3;v=0;while(1){B=w(q[h>>2],w(v,G));f=0;if(!J){while(1){x=w(f,72)+a|0;C=(u+16|0)+(f<<5)|0;A=C|4;z=C|8;j=q[C+24>>2];m=q[C+16>>2];g=(j|0)>1;h=xi[q[C>>2]](q[x+18132>>2],q[(g?A:z)>>2],q[(g?z:A)>>2],q[C+20>>2],q[C+12>>2])|0;g=j+1|0;q[C+24>>2]=g;q[(f<<2)+u>>2]=h;sa:{if((g|0)<(m|0)){break sa}q[C+24>>2]=0;h=q[z>>2];q[A>>2]=h;g=q[C+28>>2]+1|0;q[C+28>>2]=g;if((g|0)>=q[x+18108>>2]){break sa}q[z>>2]=h+q[x+18112>>2]}f=f+1|0;if((I|0)!=(f|0)){continue}break}}g=e+B|0;ta:{if(!K){x=q[u>>2];ua:{va:{wa:{z=q[a>>2];switch(q[z+8>>2]-3|0){case 1:break va;case 0:break wa;default:break ua}}if(i){if(!q[z>>2]){break ta}f=0;m=q[u+8>>2];j=q[u+4>>2];while(1){o[g|0]=r[f+x|0];o[g+1|0]=r[f+j|0];h=r[f+m|0];o[g+3|0]=255;o[g+2|0]=h;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}xi[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);break ta}xa:{switch(q[a+18408>>2]){case 0:if(!q[z>>2]){break ta}f=0;B=q[u+8>>2];m=q[u+4>>2];j=q[u+12>>2];while(1){A=r[f+j|0];h=w(A,r[f+x|0])+128|0;o[g|0]=(h>>>8|0)+h>>>8;h=w(A,r[f+m|0])+128|0;o[g+1|0]=(h>>>8|0)+h>>>8;h=r[f+B|0];o[g+3|0]=255;h=w(h,A)+128|0;o[g+2|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;case 2:xi[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);m=q[a>>2];if(!q[m>>2]){break ta}f=0;j=q[u+12>>2];while(1){B=r[f+j|0];h=w(B,r[g|0]^255)+128|0;o[g|0]=(h>>>8|0)+h>>>8;h=w(B,r[g+1|0]^255)+128|0;o[g+1|0]=(h>>>8|0)+h>>>8;h=w(B,r[g+2|0]^255)+128|0;o[g+2|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;default:break xa}}xi[q[a+18448>>2]](g,x,q[u+4>>2],q[u+8>>2],q[z>>2],G);break ta}f=0;if(!q[z>>2]){break ta}while(1){h=r[f+x|0];o[g+1|0]=h;o[g+2|0]=h;o[g+3|0]=255;o[g|0]=h;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}H=q[a>>2];if(i){f=q[H>>2];if((G|0)!=1){if(!f){break ta}f=0;x=q[u+8>>2];A=q[u+4>>2];B=q[u>>2];while(1){m=r[f+x|0];j=r[f+A|0];h=r[f+B|0];o[g+1|0]=255;o[g|0]=(w(j,150)+w(h,77)|0)+w(m,29)>>>8;g=g+2|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}if(!f){break ta}f=0;m=q[u+8>>2];j=q[u+4>>2];h=q[u>>2];while(1){o[g|0]=(w(r[f+j|0],150)+w(r[f+h|0],77)|0)+w(r[f+m|0],29)>>>8;g=g+1|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}ya:{if(q[H+8>>2]!=4){break ya}za:{switch(q[a+18408>>2]){case 0:if(!q[H>>2]){break ta}f=0;z=q[u+8>>2];x=q[u+4>>2];A=q[u>>2];B=q[u+12>>2];while(1){m=r[f+z|0];h=r[f+x|0];j=r[f+A|0];C=r[f+B|0];o[g+1|0]=255;h=w(h,C)+128|0;L=w((h>>>8|0)+h>>>8|0,150);h=w(j,C)+128|0;j=L+w((h>>>8|0)+h>>>8|0,77)|0;h=w(m,C)+128|0;o[g|0]=j+w((h>>>8|0)+h>>>8|0,29)>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta;case 2:break za;default:break ya}}if(!q[H>>2]){break ta}f=0;B=q[u+12>>2];m=q[u>>2];while(1){j=r[f+B|0];h=r[f+m|0];o[g+1|0]=255;h=w(j,h^255)+128|0;o[g|0]=(h>>>8|0)+h>>>8;g=g+G|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}h=q[H>>2];j=q[u>>2];if((G|0)!=1){f=0;if(!h){break ta}while(1){h=r[f+j|0];o[g+1|0]=255;o[g|0]=h;g=g+2|0;f=f+1|0;if(f>>>0>2]){continue}break}break ta}f=0;if(!h){break ta}while(1){o[f+g|0]=r[f+j|0];f=f+1|0;if(f>>>0>2]){continue}break}}v=v+1|0;h=q[a>>2];if(v>>>0>2]){continue}break}}i=q[h+8>>2];if((i|0)>=1){f=0;while(1){j=w(f,72)+a|0;h=j+18124|0;g=q[h>>2];if(g){yi(g);q[h>>2]=0;q[j+18120>>2]=0}h=j+18128|0;g=q[h>>2];if(g){yi(g);q[h>>2]=0;q[j+18136>>2]=0}h=j+18132|0;g=q[h>>2];if(g){yi(g);q[h>>2]=0}f=f+1|0;if((i|0)!=(f|0)){continue}break}h=q[a>>2]}q[b>>2]=q[h>>2];q[c>>2]=q[h+4>>2];if(!d){break a}q[d>>2]=q[h+8>>2]<3?1:3;break a}d=q[h+8>>2];if((d|0)>=1){while(1){e=w(f,72)+a|0;c=e+18124|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[e+18120>>2]=0}c=e+18128|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[e+18136>>2]=0}c=e+18132|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0}f=f+1|0;if((d|0)!=(f|0)){continue}break}}q[215613]=164360;e=0;break a}e=0;d=q[h+8>>2];if((d|0)>0){while(1){g=w(e,72)+a|0;c=g+18124|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[g+18120>>2]=0}c=g+18128|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[g+18136>>2]=0}c=g+18132|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0}e=e+1|0;if((d|0)!=(e|0)){continue}break}q[215613]=164360;e=0;break a}q[215613]=164360;break a}if(!cC(a,e)){break b}break l}h=q[a>>2];g=q[h+172>>2];i=q[h+176>>2];Aa:{if(g>>>0>>0){e=g+1|0;q[h+172>>2]=e;f=r[g|0];break Aa}if(!q[h+32>>2]){f=0;e=g;break Aa}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Ba:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;f=0;break Ba}i=e+g|0;f=r[h+40|0]}q[h+176>>2]=i;e=h+41|0;q[h+172>>2]=e}g=f&255;Ca:{if(e>>>0>>0){q[h+172>>2]=e+1;e=r[e|0];break Ca}if(!q[h+32>>2]){e=0;break Ca}e=h+40|0;f=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Da:{if(!f){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Da}i=e+f|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}j=g<<8;h=e&255;f=q[a>>2];g=q[f+172>>2];i=q[f+176>>2];Ea:{if(g>>>0>>0){e=g+1|0;q[f+172>>2]=e;m=r[g|0];break Ea}if(!q[f+32>>2]){m=0;e=g;break Ea}g=f+40|0;i=xi[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);e=f;Fa:{if(!i){m=0;o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;break Fa}m=r[f+40|0];i=g+i|0}q[e+176>>2]=i;e=f+41|0;q[f+172>>2]=e}g=h|j;Ga:{if(e>>>0>>0){q[f+172>>2]=e+1;e=r[e|0];break Ga}if(!q[f+32>>2]){e=0;break Ga}e=f+40|0;h=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ha:{if(!h){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ha}i=e+h|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g|0)!=4){q[215613]=164129;break b}if(q[q[a>>2]+4>>2]==(e&255|(m&255)<<8)){break l}q[215613]=164129;break b}I=q[a+18420>>2];g=w(I,72)+a|0;e=q[g+18108>>2];if((e|0)<1){break n}e=e+7>>3;C=(e|0)>1?e:1;J=q[g+18104>>2];e=J+7>>3;K=(e|0)>1?e:1;z=g+18092|0;x=g+18096|0;A=g+18140|0;B=g+18136|0;D=0;while(1){L=0;if((J|0)>=1){while(1){N=q[B>>2]+(w(q[A>>2],D)+L<<7)|0;f=q[a+18384>>2];Ia:{if(!f){if(dC(a,N,(w(q[z>>2],1680)+a|0)+4|0,I)){break Ia}break b}m=q[x>>2];G=(w(m,1680)+a|0)+6724|0;H=q[a+18396>>2];if(!q[a+18392>>2]){e=q[a+18400>>2];if(e){q[a+18400>>2]=e-1;break Ia}while(1){Ja:{if(q[n>>2]>15){break Ja}while(1){g=0;Ka:{if(q[F>>2]){break Ka}h=q[a>>2];e=q[h+172>>2];La:{if(e>>>0>2]){q[h+172>>2]=e+1;g=r[e|0];break La}if(!q[h+32>>2]){break Ka}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Ma:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;g=0;break Ma}i=e+g|0;g=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}if((g&255)!=255){break Ka}h=q[a>>2];e=q[h+172>>2];Na:{if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];break Na}if(!q[h+32>>2]){e=0;break Na}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Oa:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Oa}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41}while(1){g=255;h=e&255;if((h|0)!=255){if(!h){break Ka}o[E|0]=e;q[F>>2]=1;break Ja}h=q[a>>2];e=q[h+172>>2];if(e>>>0>2]){q[h+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[h+32>>2]){continue}e=h+40|0;g=xi[q[h+16>>2]](q[h+28>>2],e,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);Pa:{if(!g){o[h+40|0]=0;q[h+32>>2]=0;i=h+41|0;e=0;break Pa}i=e+g|0;e=r[h+40|0]}q[h+176>>2]=i;q[h+172>>2]=h+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=q[a+18364>>2];g=p[(((m<<10)+a|0)+(e>>>22&1022)|0)+13956>>1];Qa:{if(g){h=e;e=g&15;q[y>>2]=h<>2]=q[n>>2]-e;e=(g>>>4&15)+f|0;p[(r[e+164144|0]<<1)+N>>1]=g>>8<>>4|0;Ra:{k=e&15;if(!k){if((e|0)>239){break Ra}q[a+18400>>2]=1<>2]=0;break Ia}i=q[n>>2];Sa:{if((j|0)<=(i|0)){break Sa}while(1){g=0;Ta:{if(q[F>>2]){break Ta}f=q[a>>2];e=q[f+172>>2];Ua:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Ua}if(!q[f+32>>2]){break Ta}h=f+40|0;i=xi[q[f+16>>2]](q[f+28>>2],h,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);e=f;Va:{if(!i){o[f+40|0]=0;q[f+32>>2]=0;h=f+41|0;break Va}g=r[f+40|0];h=h+i|0}q[e+176>>2]=h;q[f+172>>2]=f+41}if((g&255)!=255){break Ta}g=q[a>>2];e=q[g+172>>2];Wa:{if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];break Wa}if(!q[g+32>>2]){i=0;break Wa}f=g+40|0;h=xi[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;Xa:{if(!h){i=0;o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break Xa}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41}while(1){g=255;e=i&255;if((e|0)!=255){if(!e){break Ta}o[E|0]=i;q[F>>2]=1;i=q[n>>2];break Sa}g=q[a>>2];e=q[g+172>>2];if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];continue}i=0;if(!q[g+32>>2]){continue}f=g+40|0;h=xi[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;Ya:{if(!h){o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break Ya}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;i=e+8|0;q[n>>2]=i;if((e|0)<17){continue}break}}q[a+18368>>2]=i-j;g=Twa(q[a+18364>>2],j);e=q[(j<<2)+164400>>2];q[a+18364>>2]=g&(e^-1);q[a+18400>>2]=(q[a+18400>>2]+(e&g)|0)-1;break Ia}v=f+j|0;j=r[v+164144|0];e=q[n>>2];Za:{if((k|0)<=(e|0)){break Za}while(1){g=0;_a:{if(q[F>>2]){break _a}f=q[a>>2];e=q[f+172>>2];$a:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break $a}if(!q[f+32>>2]){break _a}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);ab:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break ab}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break _a}f=q[a>>2];e=q[f+172>>2];bb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break bb}if(!q[f+32>>2]){e=0;break bb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);cb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break cb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break _a}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break Za}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);db:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break db}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}h=q[y>>2];i=Twa(h,k);f=k<<2;g=q[f+164400>>2];q[y>>2]=i&(g^-1);q[n>>2]=e-k;p[(j<<1)+N>>1]=(q[f+164576>>2]&(h>>31^-1))+(g&i)<>2]){continue}break}break Ia}M=1<>2];if(!e){H=M<<16>>16;m=0-H|0;while(1){g=Cr(a,G);if((g|0)<=-1){q[215613]=164129;break b}h=g>>>4|0;eb:{fb:{gb:{hb:{switch(g&15){case 0:v=0;e=0;if((g|0)>239){break gb}q[a+18400>>2]=-1<>2];ib:{if((h|0)<=(e|0)){break ib}while(1){g=0;jb:{if(q[F>>2]){break jb}k=q[a>>2];e=q[k+172>>2];kb:{if(e>>>0>2]){q[k+172>>2]=e+1;g=r[e|0];break kb}if(!q[k+32>>2]){break jb}e=k+40|0;g=xi[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);lb:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;g=0;break lb}i=e+g|0;g=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41}if((g&255)!=255){break jb}k=q[a>>2];e=q[k+172>>2];mb:{if(e>>>0>2]){q[k+172>>2]=e+1;e=r[e|0];break mb}if(!q[k+32>>2]){e=0;break mb}e=k+40|0;g=xi[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);nb:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;e=0;break nb}i=e+g|0;e=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break jb}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break ib}k=q[a>>2];e=q[k+172>>2];if(e>>>0>2]){q[k+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[k+32>>2]){continue}e=k+40|0;g=xi[q[k+16>>2]](q[k+28>>2],e,q[k+36>>2])|0;q[k+168>>2]=q[k+168>>2]+(q[k+172>>2]-q[k+180>>2]|0);ob:{if(!g){o[k+40|0]=0;q[k+32>>2]=0;i=k+41|0;e=0;break ob}i=e+g|0;e=r[k+40|0]}q[k+176>>2]=i;q[k+172>>2]=k+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}q[a+18368>>2]=e-h;g=Twa(q[a+18364>>2],h);e=q[(h<<2)+164400>>2];q[a+18364>>2]=g&(e^-1);q[a+18400>>2]=q[a+18400>>2]+(e&g);break fb;case 1:break hb;default:break eb}}e=q[n>>2];pb:{if((e|0)>0){break pb}while(1){g=0;qb:{if(q[F>>2]){break qb}j=q[a>>2];e=q[j+172>>2];rb:{if(e>>>0>2]){q[j+172>>2]=e+1;g=r[e|0];break rb}if(!q[j+32>>2]){break qb}e=j+40|0;g=xi[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);sb:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;g=0;break sb}i=e+g|0;g=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41}if((g&255)!=255){break qb}j=q[a>>2];e=q[j+172>>2];tb:{if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];break tb}if(!q[j+32>>2]){e=0;break tb}e=j+40|0;g=xi[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);ub:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;e=0;break ub}i=e+g|0;e=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break qb}o[E|0]=e;q[F>>2]=1;e=q[n>>2];break pb}j=q[a>>2];e=q[j+172>>2];if(e>>>0>2]){q[j+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[j+32>>2]){continue}e=j+40|0;g=xi[q[j+16>>2]](q[j+28>>2],e,q[j+36>>2])|0;q[j+168>>2]=q[j+168>>2]+(q[j+172>>2]-q[j+180>>2]|0);vb:{if(!g){o[j+40|0]=0;q[j+32>>2]=0;i=j+41|0;e=0;break vb}i=e+g|0;e=r[j+40|0]}q[j+176>>2]=i;q[j+172>>2]=j+41;continue}}e=g&255;g=q[n>>2];q[y>>2]=q[y>>2]|e<<24-g;e=g+8|0;q[n>>2]=e;if((g|0)<17){continue}break}}g=q[y>>2];q[y>>2]=g<<1;q[n>>2]=e-1;e=(g|0)>-1?m:H}v=e;j=h}g=q[a+18388>>2];wb:{if((f|0)>(g|0)){break wb}while(1){h=f;f=f+1|0;xb:{yb:{zb:{k=(r[h+164144|0]<<1)+N|0;if(s[k>>1]){i=q[n>>2];if((i|0)>0){break zb}while(1){g=0;Ab:{if(q[F>>2]){break Ab}l=q[a>>2];e=q[l+172>>2];Bb:{if(e>>>0>2]){q[l+172>>2]=e+1;g=r[e|0];break Bb}if(!q[l+32>>2]){break Ab}e=l+40|0;g=xi[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Cb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;g=0;break Cb}i=e+g|0;g=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41}if((g&255)!=255){break Ab}l=q[a>>2];e=q[l+172>>2];Db:{if(e>>>0>2]){q[l+172>>2]=e+1;e=r[e|0];break Db}if(!q[l+32>>2]){e=0;break Db}e=l+40|0;g=xi[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Eb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;e=0;break Eb}i=e+g|0;e=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41}while(1){g=255;i=e&255;if((i|0)!=255){if(!i){break Ab}o[E|0]=e;q[F>>2]=1;i=q[n>>2];break zb}l=q[a>>2];e=q[l+172>>2];if(e>>>0>2]){q[l+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[l+32>>2]){continue}e=l+40|0;g=xi[q[l+16>>2]](q[l+28>>2],e,q[l+36>>2])|0;q[l+168>>2]=q[l+168>>2]+(q[l+172>>2]-q[l+180>>2]|0);Fb:{if(!g){o[l+40|0]=0;q[l+32>>2]=0;i=l+41|0;e=0;break Fb}i=e+g|0;e=r[l+40|0]}q[l+176>>2]=i;q[l+172>>2]=l+41;continue}}e=g&255;g=q[n>>2];e=q[y>>2]|e<<24-g;q[y>>2]=e;i=g+8|0;q[n>>2]=i;if((g|0)<17){continue}break}break yb}if(!j){p[k>>1]=v;break wb}j=j-1|0;break xb}e=q[y>>2]}q[y>>2]=e<<1;q[n>>2]=i-1;if((e|0)>-1){break xb}e=p[k>>1];if(e&H){break xb}if((e|0)>=1){p[k>>1]=e+M;break xb}p[k>>1]=e-M}g=q[a+18388>>2];if((h|0)<(g|0)){continue}break}}if((f|0)<=(g|0)){continue}break Ia}break}q[215613]=164129;break b}q[a+18400>>2]=e-1;if(q[a+18388>>2]<(f|0)){break Ia}j=M<<16>>16;while(1){h=f;v=(r[f+164144|0]<<1)+N|0;Gb:{if(!s[v>>1]){break Gb}Hb:{Ib:{i=q[n>>2];if((i|0)>0){break Ib}while(1){g=0;Jb:{if(q[F>>2]){break Jb}f=q[a>>2];e=q[f+172>>2];Kb:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Kb}if(!q[f+32>>2]){break Jb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Lb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Lb}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Jb}f=q[a>>2];e=q[f+172>>2];Mb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Mb}if(!q[f+32>>2]){e=0;break Mb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Nb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Nb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Jb}o[E|0]=e;q[F>>2]=1;i=q[n>>2];break Ib}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ob:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ob}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=g&255;g=q[n>>2];e=q[y>>2]|e<<24-g;q[y>>2]=e;i=g+8|0;q[n>>2]=i;if((g|0)<17){continue}break}break Hb}e=q[y>>2]}q[y>>2]=e<<1;q[n>>2]=i-1;if((e|0)>-1){break Gb}e=p[v>>1];if(e&j){break Gb}if((e|0)>=1){p[v>>1]=e+M;break Gb}p[v>>1]=e-M}f=h+1|0;if((h|0)>2]){continue}break}}e=q[a+18440>>2];q[a+18440>>2]=e-1;if((e|0)<=1){Pb:{if(q[n>>2]>23){break Pb}while(1){g=0;Qb:{if(q[F>>2]){break Qb}f=q[a>>2];e=q[f+172>>2];Rb:{if(e>>>0>2]){q[f+172>>2]=e+1;g=r[e|0];break Rb}if(!q[f+32>>2]){break Qb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Sb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;g=0;break Sb}i=e+g|0;g=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((g&255)!=255){break Qb}f=q[a>>2];e=q[f+172>>2];Tb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Tb}if(!q[f+32>>2]){e=0;break Tb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Ub:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Ub}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}while(1){g=255;f=e&255;if((f|0)!=255){if(!f){break Qb}o[E|0]=e;q[F>>2]=1;break Pb}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Vb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Vb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;continue}}e=q[n>>2];q[y>>2]=q[y>>2]|(g&255)<<24-e;q[n>>2]=e+8;if((e|0)<17){continue}break}}e=r[E|0];if((e&248)!=208){break m}q[a+18376>>2]=0;q[a+18364>>2]=0;q[a+18368>>2]=0;q[a+18316>>2]=0;q[a+18244>>2]=0;q[a+18172>>2]=0;o[a+18372|0]=255;q[a+18100>>2]=0;q[a+18400>>2]=0;e=q[a+18436>>2];q[a+18440>>2]=e?e:2147483647}L=L+1|0;if((K|0)!=(L|0)){continue}break}}D=D+1|0;if((C|0)!=(D|0)){continue}break}break n}if(!D){break b}}e=r[E|0]}if((e&255)!=255){break j}while(1){e=q[a>>2];Wb:{if(q[e+16>>2]){if(!(xi[q[e+24>>2]](q[e+28>>2])|0)){break Wb}if(!q[e+32>>2]){break l}}if(t[e+172>>2]>=t[e+176>>2]){break l}}f=q[a>>2];e=q[f+172>>2];Xb:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break Xb}if(!q[f+32>>2]){e=0;break Xb}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Yb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Yb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((e&255)!=255){continue}break}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];o[E|0]=e;break k}if(!q[f+32>>2]){e=0;o[E|0]=0;break k}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);Zb:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break Zb}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41;o[E|0]=e;break k}e=r[E|0]}if((e&255)==255){break i}}o[E|0]=255;continue}g=q[a>>2];e=q[g+172>>2];_b:{if(e>>>0>2]){q[g+172>>2]=e+1;i=r[e|0];break _b}e=255;if(!q[g+32>>2]){continue}f=g+40|0;h=xi[q[g+16>>2]](q[g+28>>2],f,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);e=g;$b:{if(!h){i=0;o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;break $b}i=r[g+40|0];h=f+h|0}q[e+176>>2]=h;q[g+172>>2]=g+41}e=255;if((i&255)!=255){continue}while(1){f=q[a>>2];e=q[f+172>>2];ac:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break ac}if(!q[f+32>>2]){e=0;continue h}e=f+40|0;g=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);bc:{if(!g){o[f+40|0]=0;q[f+32>>2]=0;i=f+41|0;e=0;break bc}i=e+g|0;e=r[f+40|0]}q[f+176>>2]=i;q[f+172>>2]=f+41}if((e&255)==255){continue}break}continue}}e=0;d=q[q[a>>2]+8>>2];if((d|0)<1){break a}while(1){g=w(e,72)+a|0;c=g+18124|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[g+18120>>2]=0}c=g+18128|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0;q[g+18136>>2]=0}c=g+18132|0;b=q[c>>2];if(b){yi(b);q[c>>2]=0}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=0}ti=u+144|0;return e}function hP(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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0;l=ti-5120|0;ti=l;o[l+14|0]=0;p[l+12>>1]=0;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;b=q[a>>2];f=b+41|0;i=b+40|0;a:{b:{c:{c=q[b+176>>2];d=q[b+172>>2];d:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;d=r[d|0];break d}if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;e:{if(!c){d=0;q[b+32>>2]=0;o[i|0]=0;c=f;break e}d=r[b+40|0];c=c+(b+40|0)|0}q[e+176>>2]=c;q[b+172>>2]=f;e=f}if((d&255)!=137){break c}f:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;g:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break g}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break f}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=80){break c}h:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;i:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break i}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break h}e=g+1|0;q[b+172>>2]=e;d=r[g|0]}if((d&255)!=78){break c}j:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;k:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break k}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break j}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=71){break c}l:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;m:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break m}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break l}e=g+1|0;q[b+172>>2]=e;d=r[g|0]}if((d&255)!=13){break c}n:{if(c>>>0<=e>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;o:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break o}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;g=f;break n}g=e+1|0;q[b+172>>2]=g;d=r[e|0]}if((d&255)!=10){break c}p:{if(c>>>0<=g>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;q:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break q}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;h=f;break p}h=g+1|0;q[b+172>>2]=h;d=r[g|0]}if((d&255)!=26){break c}r:{if(c>>>0<=h>>>0){if(!q[b+32>>2]){break c}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;s:{if(c){d=r[b+40|0];c=c+(b+40|0)|0;break s}d=0;q[b+32>>2]=0;o[i|0]=0;c=f}q[e+176>>2]=c;q[b+172>>2]=f;e=f;break r}e=h+1|0;q[b+172>>2]=e;d=r[h|0]}if((d&255)!=10){break c}g=1;while(1){t:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break t}if(!q[b+32>>2]){h=0;d=e;break t}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;u:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break u}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}v:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break v}if(!q[b+32>>2]){j=0;e=d;break v}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;w:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break w}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}x:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break x}if(!q[b+32>>2]){m=0;d=e;break x}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;y:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break y}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}z:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;v=r[d|0];break z}if(!q[b+32>>2]){v=0;e=d;break z}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;A:{if(!c){v=0;q[b+32>>2]=0;o[i|0]=0;c=f;break A}v=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}h=h&255;k=j&255;B:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;j=r[e|0];break B}if(!q[b+32>>2]){j=0;d=e;break B}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;C:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break C}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}h=h<<24;k=k<<16;D:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;z=r[d|0];break D}if(!q[b+32>>2]){z=0;e=d;break D}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;E:{if(!c){z=0;q[b+32>>2]=0;o[i|0]=0;c=f;break E}z=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}C=m<<8;k=h|k;F:{if(c>>>0>e>>>0){h=e+1|0;q[b+172>>2]=h;m=r[e|0];break F}if(!q[b+32>>2]){m=0;h=e;break F}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;G:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break G}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;h=f}e=v&255;k=k|C;H:{if(c>>>0>h>>>0){d=h+1|0;q[b+172>>2]=d;v=r[h|0];break H}if(!q[b+32>>2]){v=0;d=h;break H}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;I:{if(!c){v=0;q[b+32>>2]=0;o[i|0]=0;c=f;break I}v=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}k=e|k;J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{h=j&255;e=v&255|(z<<16|h<<24|m<<8);if((e|0)<=1229472849){if((e|0)==1130840649){break Y}if((e|0)==1229209940){break U}if((e|0)!=1229278788){break S}if(!g){break T}q[215613]=164693;break b}if((e|0)==1229472850){break X}if((e|0)==1347179589){break W}if((e|0)!=1951551059){break S}if(!g){break V}q[215613]=164693;break b}E=1;if(!k){break J}if((k|0)<=-1){q[b+172>>2]=c;break J}Z:{if(!q[b+16>>2]){break Z}e=c-d|0;if((e|0)>=(k|0)){break Z}q[b+172>>2]=c;xi[q[b+20>>2]](q[b+28>>2],k-e|0);break J}q[b+172>>2]=d+k;break J}if(!g){q[215613]=164693;break b}if((k|0)!=13){q[215613]=164693;break b}_:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;g=r[d|0];break _}if(!q[b+32>>2]){g=0;e=d;break _}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;$:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break $}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}aa:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break aa}if(!q[b+32>>2]){h=0;d=e;break aa}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ba:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ba}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}g=g&255;h=h&255;ca:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break ca}if(!q[b+32>>2]){j=0;e=d;break ca}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;da:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break da}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}g=g<<24;h=h<<16;j=(j&255)<<8;ea:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break ea}if(!q[b+32>>2]){m=0;d=e;break ea}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;fa:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break fa}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}q[b>>2]=j|(g|h)|m;ga:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;g=r[d|0];break ga}if(!q[b+32>>2]){g=0;e=d;break ga}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ha:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ha}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}ia:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break ia}if(!q[b+32>>2]){h=0;d=e;break ia}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ja:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break ja}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}g=g&255;h=h&255;ka:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;j=r[d|0];break ka}if(!q[b+32>>2]){j=0;e=d;break ka}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;la:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break la}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}g=g<<24;h=h<<16;j=(j&255)<<8;ma:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;m=r[e|0];break ma}if(!q[b+32>>2]){m=0;d=e;break ma}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;na:{if(!c){m=0;q[b+32>>2]=0;o[i|0]=0;c=f;break na}m=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}e=j|(g|h)|m;q[b+4>>2]=e;if(e>>>0>=16777217){q[215613]=164303;break b}if(t[b>>2]>=16777217){q[215613]=164303;break b}oa:{pa:{qa:{if(c>>>0>d>>>0){q[b+172>>2]=d+1;c=r[d|0];break qa}if(!q[b+32>>2]){q[a+16>>2]=0;break pa}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);ra:{if(!c){q[b+32>>2]=0;o[i|0]=0;d=f;c=0;break ra}d=c+(b+40|0)|0;c=r[b+40|0]}q[b+176>>2]=d;q[b+172>>2]=f}c=c&255;q[a+16>>2]=c;if(c>>>0>16){break pa}if(1<>2];e=q[b+172>>2];sa:{if(d>>>0>e>>>0){c=e+1|0;q[b+172>>2]=c;e=r[e|0];break sa}if(!q[b+32>>2]){A=0;c=e;break K}d=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;ta:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break ta}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}A=e&255;if(A>>>0>=7){q[215613]=164693;break b}if((e&255)==3){A=3;u=3;if(q[a+16>>2]!=16){break K}q[215613]=164693;break b}if(!(A&1)){break K}q[215613]=164693;break b}if(g){q[215613]=164693;break b}if(k>>>0>=769){q[215613]=164693;break b}e=k&65535;y=(e>>>0)/3|0;if((k|0)!=(w(y,3)|0)){break R}g=0;if(e>>>0<3){break J}m=y>>>0>1?y:1;j=0;while(1){ua:{if(c>>>0>d>>>0){g=d+1|0;q[b+172>>2]=g;h=r[d|0];break ua}if(!q[b+32>>2]){h=0;g=d;break ua}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;va:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break va}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;g=f}k=j<<2;o[k+(l+16|0)|0]=h;wa:{if(c>>>0>g>>>0){h=g+1|0;q[b+172>>2]=h;d=r[g|0];break wa}if(!q[b+32>>2]){d=0;h=g;break wa}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;xa:{if(!c){d=0;q[b+32>>2]=0;o[i|0]=0;c=f;break xa}d=r[b+40|0];c=c+(b+40|0)|0}q[e+176>>2]=c;q[b+172>>2]=f;h=f}o[(l+16|0)+(k|1)|0]=d;ya:{if(c>>>0>h>>>0){d=h+1|0;q[b+172>>2]=d;g=r[h|0];break ya}if(!q[b+32>>2]){g=0;d=h;break ya}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;za:{if(!c){g=0;q[b+32>>2]=0;o[i|0]=0;c=f;break za}g=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+16|0)+(k|2)|0]=g;o[(l+16|0)+(k|3)|0]=255;j=j+1|0;if((m|0)!=(j|0)){continue}break}g=0;break J}if(q[a+4>>2]){q[215613]=164693;break b}if(u){if(!y){q[215613]=164693;break b}if(k>>>0>y>>>0){break Q}u=4;g=0;e=0;if(!k){break J}while(1){Aa:{if(c>>>0>d>>>0){h=d+1|0;q[b+172>>2]=h;j=r[d|0];d=h;break Aa}if(!q[b+32>>2]){j=0;break Aa}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ba:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ba}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+16|0)+(e<<2|3)|0]=j;e=e+1|0;if((k|0)!=(e|0)){continue}break}break J}e=q[b+8>>2];if(!(e&1)){q[215613]=164693;break b}if((k|0)!=e<<1){q[215613]=164693;break b}Ca:{if(q[a+16>>2]!=16){g=0;if((e|0)>0){break Ca}D=1;u=0;break J}D=1;g=0;if((e|0)<1){u=0;break J}while(1){Da:{if(c>>>0>d>>>0){e=d+1|0;q[b+172>>2]=e;h=r[d|0];break Da}if(!q[b+32>>2]){h=0;e=d;break Da}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ea:{if(!c){h=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ea}h=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f}h=h<<8;Fa:{if(c>>>0>e>>>0){d=e+1|0;q[b+172>>2]=d;j=r[e|0];break Fa}if(!q[b+32>>2]){j=0;d=e;break Fa}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ga:{if(!c){j=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ga}j=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}p[(l+6|0)+(g<<1)>>1]=h|j&255;u=0;g=g+1|0;if((g|0)>2]){continue}break}g=0;break J}while(1){e=b;Ha:{if(c>>>0>d>>>0){d=d+1|0}else{if(!q[b+32>>2]){break Ha}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ia:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Ia}c=(b+c|0)+40|0}q[d+176>>2]=c;d=f}q[e+172>>2]=d}Ja:{if(c>>>0>d>>>0){h=d+1|0;q[b+172>>2]=h;e=r[d|0];d=h;break Ja}if(!q[b+32>>2]){e=0;break Ja}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ka:{if(!c){e=0;q[b+32>>2]=0;o[i|0]=0;c=f;break Ka}e=r[b+40|0];c=c+(b+40|0)|0}q[d+176>>2]=c;q[b+172>>2]=f;d=f}o[(l+12|0)+g|0]=w(r[q[a+16>>2]+164744|0],e);D=1;u=0;g=g+1|0;if((g|0)>2]){continue}break}g=0;break J}if(g){q[215613]=164693;break b}if(!(!u|y)){q[215613]=164693;break b}d=0;e=k+n|0;if((e|0)<(n|0)){break a}La:{if(e>>>0<=x>>>0){c=q[a+4>>2];break La}c=x?x:k>>>0>4096?k:4096;while(1){x=c;c=c<<1;if(e>>>0>x>>>0){continue}break}c=nl(q[a+4>>2],x);if(!c){q[215613]=164360;break a}q[a+4>>2]=c}g=c+n|0;Ma:{Na:{Oa:{if(!q[b+16>>2]){j=q[b+176>>2];c=q[b+172>>2];break Oa}j=q[b+176>>2];c=q[b+172>>2];h=j-c|0;if((h|0)<(k|0)){break Na}}if(c+k>>>0>j>>>0){break Ma}Gi(g,c,k);q[b+172>>2]=k+q[b+172>>2];g=0;n=e;break J}c=Gi(g,c,h);g=c+h|0;c=k-h|0;h=xi[q[b+16>>2]](q[b+28>>2],g,c)|0;q[b+172>>2]=q[b+176>>2];g=0;n=e;if((c|0)==(h|0)){break J}}q[215613]=164693;break a}c=q[a+4>>2];if(!c){q[215613]=164693;break b}Pa:{d=q[b+4>>2];d=w(w(d,q[b+8>>2]),w(q[a+16>>2],q[b>>2])+7>>>3|0)+d|0;e=Ji(d);if(e){q[l+1048>>2]=c;q[l+1052>>2]=c+n;if(lP(l+1048|0,e,d,!E)){break Pa}yi(q[l+1068>>2])}d=0;q[a+8>>2]=0;break a}d=q[l+1064>>2];c=q[l+1068>>2];q[a+8>>2]=c;if(!c){break b}h=d-c|0;yi(q[a+4>>2]);v=0;q[a+4>>2]=0;c=q[b+8>>2];d=c+1|0;z=D?d:u?c:d?c:d;q[b+12>>2]=z;k=q[a+16>>2];n=q[a+8>>2];d=q[a>>2];c=q[d+4>>2];g=q[d>>2];Qa:{Ra:{if(B){e=w(z,(k|0)==16?2:1);Sa:{if((c|g)<0|((g|0)>(2147483647/(c|0)|0)?c:0)){break Sa}c=w(c,g);if((c|e)<0|((c|0)>(2147483647/(e|0)|0)?e:0)){break Sa}v=Ji(w(c,e))}y=0;while(1){c=y<<2;F=q[c+164832>>2];B=q[c+164896>>2];x=(q[d+4>>2]+(F^-1)|0)+B|0;m=(x>>>0)/(B>>>0)|0;C=q[c+164864>>2];H=q[c+164800>>2];c=C+(q[d>>2]+(H^-1)|0)|0;g=(c>>>0)/(C>>>0)|0;if(!(c>>>0>>0|x>>>0>>0)){c=q[d+8>>2];if(!gC(a,n,h,z,g,m,k,A)){break P}d=w(m,(w(c,w(g,k))+7>>3)+1|0);Ta:{if(!((m|0)>0?(g|0)>=1:0)){x=q[a+12>>2];break Ta}x=q[a+12>>2];I=q[a>>2];j=0;while(1){K=w(g,j);L=w(e,w(j,B)+F|0);c=0;while(1){Gi((w(q[I>>2],L)+v|0)+w(e,w(c,C)+H|0)|0,w(e,c+K|0)+x|0,e);c=c+1|0;if((g|0)!=(c|0)){continue}break}j=j+1|0;if((m|0)!=(j|0)){continue}break}}yi(x);n=d+n|0;h=h-d|0}y=y+1|0;if((y|0)==7){break Ra}d=q[a>>2];continue}}if(gC(a,n,h,z,g,c,k,A)){break Qa}break b}q[a+12>>2]=v}Ua:{if(!D){break Ua}if(q[a+16>>2]==16){c=q[a>>2];d=w(q[c+4>>2],q[c>>2]);c=q[a+12>>2];Va:{switch(q[b+12>>2]-2|0){case 2:if(!d){break Ua}h=s[l+6>>1];g=s[l+8>>1];n=s[l+10>>1];e=0;while(1){if(!((h|0)!=s[c>>1]|(g|0)!=s[c+2>>1]|(n|0)!=s[c+4>>1])){p[c+6>>1]=0}c=c+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua;case 0:break Va;default:break O}}if(!d){break Ua}h=s[l+6>>1];e=0;while(1){p[c+2>>1]=(h|0)!=s[c>>1]?-1:0;c=c+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua}c=q[a>>2];d=w(q[c+4>>2],q[c>>2]);c=q[a+12>>2];Wa:{switch(q[b+12>>2]-2|0){case 2:if(!d){break Ua}h=r[l+12|0];g=r[l+13|0];n=r[l+14|0];e=0;while(1){if(!((h|0)!=r[c|0]|(g|0)!=r[c+1|0]|(n|0)!=r[c+2|0])){o[c+3|0]=0}c=c+4|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}break Ua;case 0:break Wa;default:break N}}if(!d){break Ua}h=r[l+12|0];e=0;while(1){o[c+1|0]=(h|0)!=r[c|0]?-1:0;c=c+2|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}if(!E|!q[215616]|q[b+12>>2]<3){break L}d=q[a>>2];h=w(q[d+4>>2],q[d>>2]);c=q[a+12>>2];Xa:{switch(q[d+12>>2]-3|0){case 0:if(!h){break L}e=0;while(1){d=r[c+2|0];o[c+2|0]=r[c|0];o[c|0]=d;c=c+3|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break L;default:J(165106,164058,4909,165124);G();case 1:break Xa}}if(!q[215615]){break M}if(!h){break L}d=0;while(1){g=r[c|0];e=r[c+3|0];Ya:{if(e){n=r[c+2|0];x=w(g,255);g=e>>>1|0;o[c+2|0]=((x+g&65535)>>>0)/(e>>>0);o[c|0]=((g+w(n,255)&65535)>>>0)/(e>>>0);o[c+1|0]=((g+w(r[c+1|0],255)&65535)>>>0)/(e>>>0);break Ya}e=r[c+2|0];o[c+2|0]=g;o[c|0]=e}c=c+4|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break L}if(g){q[215613]=164693;break b}if(!(h&32)){q[215613]=164753;break b}g=0;if(!k){break J}if((k|0)<=-1){q[b+172>>2]=c;break J}Za:{if(!q[b+16>>2]){break Za}e=c-d|0;if((e|0)>=(k|0)){break Za}q[b+172>>2]=c;xi[q[b+20>>2]](q[b+28>>2],k-e|0);break J}q[b+172>>2]=d+k;break J}q[215613]=164693;break b}q[215613]=164693;break b}yi(v);break b}J(165025,164058,4828,165050);G()}J(165025,164058,4803,165079);G()}if(!h){break L}e=0;while(1){d=r[c+2|0];o[c+2|0]=r[c|0];o[c|0]=d;c=c+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}_a:{if(u){q[b+8>>2]=u;q[b+12>>2]=u;d=0;$a:{c=q[a>>2];g=w(q[c+4>>2],q[c>>2]);ab:{if((g|u)<0){break ab}n=q[a+12>>2];if((g|0)>(2147483647/(u|0)|0)?u:0){break ab}h=Ji(w(g,u));if(h){break $a}}q[215613]=164360;break a}bb:{if((u|0)!=3){if(!g){break bb}e=0;c=h;while(1){d=r[e+n|0]<<2;o[c|0]=r[d+(l+16|0)|0];o[c+1|0]=r[(l+16|0)+(d|1)|0];o[c+2|0]=r[(l+16|0)+(d|2)|0];o[c+3|0]=r[(l+16|0)+(d|3)|0];c=c+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break bb}if(!g){break bb}c=h;while(1){e=r[d+n|0]<<2;o[c|0]=r[e+(l+16|0)|0];o[c+1|0]=r[(l+16|0)+(e|1)|0];o[c+2|0]=r[(l+16|0)+(e|2)|0];c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}yi(n);q[a+12>>2]=h;break _a}if(!D){break _a}q[b+8>>2]=q[b+8>>2]+1}yi(q[a+8>>2]);q[a+8>>2]=0;d=b;a=q[b+172>>2];c=q[b+176>>2];cb:{db:{if(a>>>0>>0){a=a+1|0;break db}if(!q[b+32>>2]){break cb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;eb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break eb}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}d=b;fb:{if(a>>>0>>0){a=a+1|0}else{if(!q[b+32>>2]){break fb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;gb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break gb}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}d=b;hb:{if(a>>>0>>0){a=a+1|0}else{if(!q[b+32>>2]){break hb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);a=b;ib:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break ib}c=(b+c|0)+40|0}q[a+176>>2]=c;a=f}q[d+172>>2]=a}if(a>>>0>>0){d=1;q[b+172>>2]=a+1;break a}d=1;if(!q[b+32>>2]){break a}a=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;jb:{if(!a){q[b+32>>2]=0;o[i|0]=0;a=f;break jb}a=(a+b|0)+40|0}q[c+176>>2]=a;q[b+172>>2]=f;break a}kb:{lb:{if(c>>>0>>0){h=c+1|0;q[b+172>>2]=h;e=r[c|0];c=h;break lb}if(!q[b+32>>2]){break kb}d=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;mb:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break mb}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}if(!(e&255)){break kb}q[215613]=164693;break b}nb:{ob:{if(c>>>0>>0){h=c+1|0;q[b+172>>2]=h;e=r[c|0];c=h;break ob}if(!q[b+32>>2]){break nb}d=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;pb:{if(!d){e=0;q[b+32>>2]=0;o[i|0]=0;d=f;break pb}e=r[b+40|0];d=d+(b+40|0)|0}q[c+176>>2]=d;q[b+172>>2]=f;c=f}if(!(e&255)){break nb}q[215613]=164693;break b}qb:{rb:{if(c>>>0>>0){q[b+172>>2]=c+1;c=r[c|0];break rb}if(!q[b+32>>2]){B=0;break qb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);sb:{if(!c){q[b+32>>2]=0;o[i|0]=0;d=f;c=0;break sb}d=c+(b+40|0)|0;c=r[b+40|0]}q[b+176>>2]=d;q[b+172>>2]=f}B=c&255;if(B>>>0<2){break qb}q[215613]=164693;break b}tb:{c=q[b>>2];if(c){d=q[b+4>>2];if(d){break tb}}q[215613]=164693;break b}if(!u){e=(A>>>2&1)+(A&2|1)|0;q[b+8>>2]=e;if(d>>>0>(1073741824/(c>>>0)>>>0)/(e>>>0)>>>0){q[215613]=164334;break b}g=0;u=0;break J}q[b+8>>2]=1;g=0;if(d>>>0<=1073741824/(c>>>0)>>>2>>>0){break J}q[215613]=164693;break b}d=b;e=q[b+172>>2];c=q[b+176>>2];ub:{vb:{if(e>>>0>>0){e=e+1|0;break vb}if(!q[b+32>>2]){break ub}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;wb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break wb}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}d=b;xb:{if(c>>>0>e>>>0){e=e+1|0}else{if(!q[b+32>>2]){break xb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;yb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break yb}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}d=b;zb:{if(c>>>0>e>>>0){e=e+1|0}else{if(!q[b+32>>2]){break zb}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);e=b;Ab:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Ab}c=(b+c|0)+40|0}q[e+176>>2]=c;e=f}q[d+172>>2]=e}if(c>>>0>e>>>0){e=e+1|0;q[b+172>>2]=e;continue}if(!q[b+32>>2]){continue}c=xi[q[b+16>>2]](q[b+28>>2],i,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Bb:{if(!c){q[b+32>>2]=0;o[i|0]=0;c=f;break Bb}c=(b+c|0)+40|0}q[d+176>>2]=c;q[b+172>>2]=f;e=f;continue}}q[215613]=164640}d=0}ti=l+5120|0;return d}function kz(a,b,c,d,e){var f=x(0),g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0,p=x(0),s=x(0),v=0,z=0,B=x(0),C=x(0),D=x(0),E=x(0),H=0,I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=0,P=x(0),Q=x(0),R=x(0),S=x(0),T=0,U=0,V=x(0),W=x(0),X=x(0),Y=x(0),Z=0,_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0),ta=x(0),ua=x(0),va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=x(0),Ja=x(0),Ka=x(0),La=x(0),Ma=x(0),Na=x(0),Oa=x(0),Pa=x(0),Qa=x(0),Ra=x(0),Sa=x(0),Ta=x(0),Ua=x(0),Va=x(0),Wa=x(0),Xa=x(0),Ya=x(0),Za=x(0);H=ti+ -64|0;ti=H;a:{if(!(!q[c+280>>2]|e<=x(0))){q[H+32>>2]=0;b:{c:{d:{e:{g=q[c+60>>2];v=q[c+56>>2];h=g-v|0;if(h){z=(h|0)/160|0;while(1){if((g-v|0)/160>>>0<=n>>>0){break a}h=w(n,160)+v|0;f=x(u[h+64>>2]-e);u[h+64>>2]=f;f:{if(!(f>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+16>>2]=u[g+16>>2];u[h+20>>2]=u[g+20>>2];u[h+24>>2]=u[g+24>>2];u[h+28>>2]=u[g+28>>2];u[h+32>>2]=u[g+32>>2];u[h+36>>2]=u[g+36>>2];u[h+40>>2]=u[g+40>>2];u[h+44>>2]=u[g+44>>2];u[h+48>>2]=u[g+48>>2];u[h+52>>2]=u[g+52>>2];u[h+56>>2]=u[g+56>>2];T=q[g+84>>2];v=h- -64|0;q[v+16>>2]=q[g+80>>2];q[v+20>>2]=T;U=q[g+76>>2];q[v+8>>2]=q[g+72>>2];q[v+12>>2]=U;U=q[g+68>>2];q[v>>2]=q[g+64>>2];q[v+4>>2]=U;q[v+24>>2]=q[g+88>>2];u[h+96>>2]=u[g+96>>2];u[h+100>>2]=u[g+100>>2];u[h+104>>2]=u[g+104>>2];u[h+108>>2]=u[g+108>>2];u[h+112>>2]=u[g+112>>2];u[h+116>>2]=u[g+116>>2];u[h+120>>2]=u[g+120>>2];u[h+124>>2]=u[g+124>>2];u[h+128>>2]=u[g+128>>2];u[h+132>>2]=u[g+132>>2];u[h+136>>2]=u[g+136>>2];v=q[g+148>>2];q[h+144>>2]=q[g+144>>2];q[h+148>>2]=v;v=q[g+156>>2];q[h+152>>2]=q[g+152>>2];q[h+156>>2]=v;g=q[c+60>>2]-160|0;q[c+60>>2]=g;v=q[c+56>>2];if(v>>>0>g>>>0){break e}z=z-1|0;break f}n=n+1|0}if(n>>>0>>0){continue}break}}q[H+16>>2]=0;f=u[c+264>>2];z=q[c+280>>2];g:{h:{if((z|0)!=1){p=x(f+e);break h}i=u[c+288>>2];if(!(i<=f)){u[c+264>>2]=f+e;break b}q[c+280>>2]=2;g=q[a+72>>2];if(!g){f=x(x(f-i)+e);s=u[c+284>>2];p=f>2]=p;break g}xi[q[a+68>>2]](q[a+16>>2],q[c+128>>2],q[c+132>>2],2,g);p=x(x(u[c+264>>2]-u[c+288>>2])+e);u[c+264>>2]=p;z=q[c+280>>2];if((z|0)==1){break b}}s=u[c+284>>2];p=p>2]=p;if((z|0)!=2){break c}}if(!(r[c+296|0]&8|p>=s^1|q[d+4>>2]!=1)){p=x(p-s);u[c+264>>2]=p}l=u[c+268>>2];i=s<=x(0)?x(0):x(p/s);f=x(i*x(64));i:{if(f=x(0)){h=~~f>>>0;break i}h=0}h=w(h>>>0<63?h:63,12)+b|0;f=x(x(u[h+4>>2]+x(u[h+8>>2]*x(i-u[h>>2])))+u[c+292>>2]);f=x(l+x((f>x(0)?f:x(0))*e));j:{if(f=x(0)){g=~~f>>>0;break j}g=0}C=u[h+776>>2];I=u[h+780>>2];K=u[h+772>>2];N=u[h+1548>>2];P=u[h+1552>>2];L=u[h+1544>>2];S=u[h+2320>>2];aa=u[h+2324>>2];_=u[h+2316>>2];$=u[h+3092>>2];fa=u[h+3096>>2];ga=u[h+3088>>2];ha=u[h+3864>>2];ia=u[h+3868>>2];ja=u[h+3860>>2];ka=u[h+4636>>2];ca=u[h+4640>>2];W=u[h+4632>>2];la=u[h+5408>>2];da=u[h+5412>>2];ba=u[h+5404>>2];ma=u[h+6180>>2];na=u[h+6184>>2];oa=u[h+6176>>2];pa=u[h+6952>>2];Ia=u[h+6956>>2];Ja=u[h+6948>>2];qa=u[h+7724>>2];Ka=u[h+7728>>2];La=u[h+7720>>2];ra=u[h+8496>>2];Ma=u[h+8500>>2];Na=u[h+8492>>2];sa=u[h+9268>>2];Oa=u[h+9272>>2];Pa=u[h+9264>>2];ta=u[h+10040>>2];Qa=u[h+10044>>2];Ra=u[h+10036>>2];ua=u[h+10812>>2];Sa=u[h+10816>>2];Ta=u[h+10808>>2];u[c+268>>2]=f-x(g>>>0);h=(q[c- -64>>2]-q[c+60>>2]|0)/160|0;U=g>>>0>h>>>0?h:g;s=u[d+44>>2];p=u[d+40>>2];D=u[d+36>>2];R=u[d+24>>2];ea=u[d+20>>2];E=u[d+32>>2];V=u[d+16>>2];Q=x(1);if(q[d+12>>2]){f=x(0)}else{f=u[a+60>>2];j=u[a+48>>2];k=u[a+52>>2];Ua=x(x(x(s*f)-x(E*j))-x(D*k));m=u[a+56>>2];Va=x(p*m);Wa=x(x(D*j)+x(x(s*m)+x(p*f)));Xa=x(E*k);Ya=x(x(E*m)+x(x(s*k)+x(D*f)));Za=x(p*j);E=x(x(p*k)+x(x(s*j)+x(E*f)));M=x(D*m);Q=u[a+44>>2];l=x(ea*Q);B=x(V*Q);k:{if(o[a+82|0]&1){p=x(R*Q);V=x(x(x(m*B)+x(f*l))-x(j*p));X=x(x(x(f*p)+x(j*l))-x(k*B));Y=x(x(x(f*B)+x(k*p))-x(m*l));R=x(m*p);l=x(x(k*l)+x(j*B));break k}X=x(x(x(R*f)+x(j*l))-x(k*B));V=x(x(x(m*B)+x(f*l))-x(R*j));Y=x(x(x(R*k)+x(f*B))-x(m*l));R=x(R*m);l=x(x(j*B)+x(k*l))}s=x(Ua-Va);p=x(Wa-Xa);D=x(Ya-Za);E=x(E-M);l=x(R+l);R=x(u[a+40>>2]+x(x(j*V)+x(x(x(m*l)+x(f*X))-x(k*Y))));ea=x(u[a+36>>2]+x(x(m*Y)+x(x(x(f*V)+x(k*l))-x(j*X))));V=x(u[a+32>>2]+x(x(k*X)+x(x(x(f*Y)+x(j*l))-x(m*V))));f=u[d+68>>2];X=x(f*u[c+96>>2]);Y=x(f*u[c+100>>2]);f=x(f*u[c+104>>2])}if(!U){break d}B=f;ua=x(x(x(i-Ta)*Sa)+ua);ta=x(x(x(i-Ra)*Qa)+ta);sa=x(x(x(i-Pa)*Oa)+sa);ra=x(x(x(i-Na)*Ma)+ra);qa=x(x(x(i-La)*Ka)+qa);pa=x(x(x(i-Ja)*Ia)+pa);ma=x(x(x(i-oa)*na)+ma);la=x(x(x(i-ba)*da)+la);ka=x(x(x(i-W)*ca)+ka);ha=x(x(x(i-ja)*ia)+ha);fa=x(x(x(i-ga)*fa)+$);ga=x(x(x(i-_)*aa)+S);ia=x(x(x(i-L)*P)+N);ja=x(x(x(i-K)*I)+C);v=0;while(1){_=u[b+11576>>2];aa=u[b+10804>>2];$=u[b+10032>>2];f=u[b+9260>>2];k=u[b+8488>>2];m=u[b+7716>>2];C=u[b+6944>>2];I=u[b+6172>>2];L=u[b+5400>>2];ca=u[b+4628>>2];S=u[b+3856>>2];l=u[b+3084>>2];i=u[b+2312>>2];j=u[b+1540>>2];h=w(q[c+276>>2],-1443076087)+505908858|0;n=w(h,214013)+2531011|0;z=w(n,214013)+2531011|0;T=w(z,214013)+2531011|0;Z=w(T,214013)+2531011|0;va=w(Z,214013)+2531011|0;wa=w(va,214013)+2531011|0;xa=w(wa,214013)+2531011|0;ya=w(xa,214013)+2531011|0;za=w(ya,214013)+2531011|0;Aa=w(za,214013)+2531011|0;Ba=w(Aa,214013)+2531011|0;Ca=w(Ba,214013)+2531011|0;Da=w(Ca,214013)+2531011|0;q[c+276>>2]=Da;q[H+32>>2]=0;Ea=q[c+60>>2];g=q[c+56>>2];Fa=Ea-g|0;Ga=(Fa|0)/160|0;Ha=Ga+1|0;if(Ha>>>0>(q[c+64>>2]-g|0)/160>>>0){J(145819,145751,506,145838);G()}q[c+60>>2]=g+w(Ha,160);if((Fa+160|0)/160>>>0<=Ga>>>0){break a}M=j;j=x(x((h>>>16&32767)>>>0)*x(30518509447574615e-21));j=x(ja+x(M*x(x(j+j)+x(-1))));M=i;i=x(x((n>>>16&32767)>>>0)*x(30518509447574615e-21));i=x(ia+x(M*x(x(i+i)+x(-1))));M=l;l=x(x((z>>>16&32767)>>>0)*x(30518509447574615e-21));W=x(ga+x(M*x(x(l+l)+x(-1))));l=x(x((Z>>>16&32767)>>>0)*x(30518509447574615e-21));M=f;f=x(x((Aa>>>16&32767)>>>0)*x(30518509447574615e-21));da=x(M*x(x(f+f)+x(-1)));K=x(x((Ba>>>16&32767)>>>0)*x(30518509447574615e-21));N=x(x((Ca>>>16&32767)>>>0)*x(30518509447574615e-21));P=x(x((Da>>>16&32767)>>>0)*x(30518509447574615e-21));h=Fi(Ea,0,160);f=x(x((T>>>16&32767)>>>0)*x(30518509447574615e-21));f=x(fa+x(S*x(x(f+f)+x(-1))));u[h+72>>2]=x(1)/f;u[h+68>>2]=f;u[h+64>>2]=f-e;g=w(q[c+276>>2],214013)+2531011|0;q[c+276>>2]=g;f=x(x((za>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+108>>2]=qa+x(k*x(x(f+f)+x(-1)));f=x(x((ya>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+104>>2]=pa+x(m*x(x(f+f)+x(-1)));f=x(x((xa>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+100>>2]=ma+x(C*x(x(f+f)+x(-1)));f=x(x((wa>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+96>>2]=la+x(I*x(x(f+f)+x(-1)));f=x(x((va>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+80>>2]=Q*x(ka+x(L*x(x(f+f)+x(-1))));f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));u[h+76>>2]=x(f+f)+x(-1);l:{m:{n:{o:{p:{q:{r:{s:{n=q[d+76>>2];switch(n|0){case 2:break o;case 1:break p;case 4:break q;case 0:break r;case 3:break s;default:break n}}g=w(g,214013)+2531011|0;n=w(g,214013)+2531011|0;z=w(n,214013)+2531011|0;q[c+276>>2]=z;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));C=x(x(f+f)+x(-1));m=x(F(x(x(1)-x(C*C))));I=x(x(x(((n>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));i=x(m*uk(I));f=x(x(j*x(.5))*x(F(x(x(((z>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21)))));k=x(i*f);I=x(m*xl(I));m=x(I*f);f=x(C*f);break l}g=w(g,214013)+2531011|0;n=w(g,214013)+2531011|0;q[c+276>>2]=n;C=x(0);j=x(x(j*x(.5))*x(F(x(x(((n>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21)))));f=x(j*x(0));m=x(x(x(((g>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));i=uk(m);k=x(i*j);I=xl(m);m=x(I*j);break l}g=w(g,214013)+2531011|0;n=w(g,214013)+2531011|0;z=w(n,214013)+2531011|0;T=w(z,214013)+2531011|0;q[c+276>>2]=T;I=x(0);f=x(x(x(((g>>>16&32767)>>>0)%32767>>>0)*x(30518509447574615e-21))*x(6.2831854820251465));m=xl(f);M=uk(f);k=j;j=x(F(x(x((T>>>16&32767)>>>0)*x(30518509447574615e-21))));f=x(x(x((n>>>16&32767)>>>0)*x(30518509447574615e-21))+x(x((z>>>16&32767)>>>0)*x(30518509447574615e-21)));C=x(k*x(x(j*(x(f+x(-1))>=x(0)?x(x(2)-f):f))*x(.5)));f=x(M*C);k=x(i*j);m=x(m*C);i=x(x(f*f)+x(x(k*k)+x(m*m)));if(i==x(0)){i=x(1);C=x(0);break l}j=x(x(1)/x(F(i)));C=x(f*j);i=x(k*j);I=x(m*j);break l}g=w(g,214013)+2531011|0;n=w(g,214013)+2531011|0;q[c+276>>2]=n;I=x(0);f=x(j*x(.5));j=x(x((n>>>16&32767)>>>0)*x(30518509447574615e-21));M=x(f*j);k=f;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));m=x(M-x(k*f));f=x(x(i*f)+x(i*j));k=x(i-f)>=x(0)?f:x(x(i+i)-f);i=x(x(x(m*m)+x(k*k))+x(0));if(i==x(0)){C=x(0);i=x(1);break m}f=x(0);j=x(x(1)/x(F(i)));C=x(j*x(0));i=x(k*j);I=x(m*j);break l}while(1){g=w(g,214013)+2531011|0;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));m=x(x(f+f)+x(-1));g=w(g,214013)+2531011|0;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));k=x(x(f+f)+x(-1));g=w(g,214013)+2531011|0;f=x(x((g>>>16&32767)>>>0)*x(30518509447574615e-21));f=x(x(f+f)+x(-1));if(x(x(x(m*m)+x(k*k))+x(f*f))==x(0)){continue}break}q[c+276>>2]=g;f=x(x(W*x(.5))*f);k=x(x(i*x(.5))*k);m=x(x(j*x(.5))*m);i=x(1);I=x(0);C=x(0);break l}q[H>>2]=n;Ai(3,145356,146086,H);I=x(0);C=x(0);m=x(0);k=x(0);i=x(0)}f=x(0)}L=x(l+l);S=x(K+K);W=x(N+N);P=x(P+P);da=x(ra+da);z=q[d+64>>2];t:{if((z|0)!=1){K=x(1);j=x(0);N=x(0);l=x(0);break t}j=x(I*x(0));K=x(C*x(0));l=x(x(x(j+i)+K)+x(1));N=x(F(x(l+l)));l=x(x(1)/N);j=x(x(j-K)*l);K=x(N*x(.5));ba=x(i*x(0));N=x(x(ba-I)*l);l=x(x(C-ba)*l)}ba=x(L+x(-1));na=x(S+x(-1));oa=x(P+x(-1));m=x(Q*m);k=x(Q*k);f=x(Q*f);P=x(x(x(p*m)+x(s*k))-x(E*f));L=x(x(p*f)+x(x(E*m)+x(D*k)));S=x(x(x(E*k)+x(s*f))-x(D*m));f=x(x(x(s*m)+x(D*f))-x(p*k));u[h+8>>2]=R+x(x(E*P)+x(x(x(p*L)+x(s*S))-x(D*f)));u[h+4>>2]=ea+x(x(p*f)+x(x(x(s*P)+x(D*L))-x(E*S)));u[h>>2]=V+x(x(D*S)+x(x(x(E*L)+x(s*f))-x(p*P)));P=x(ha+x(ca*ba));S=x(sa+x($*na));aa=x(ta+x(aa*x(W+x(-1))));ca=x(ua+x(_*oa));f=x(x(da*x(.01745329238474369))*x(.5));O=+f*10430.378350470453;u:{if(y(O)<2147483648){g=~~O;break u}g=-2147483648}k=x(x(g&511)*x(.001953125));n=q[73450];k=x(x(x(x(1)-k)*u[n+(g>>>7&508)>>2])+x(k*u[n+(((g>>>9|0)+1&127)<<2)>>2]));O=+x(f+x(-1.5707963705062866))*10430.378350470453;v:{if(y(O)<2147483648){g=~~O;break v}g=-2147483648}f=x(x(g&511)*x(.001953125));m=x(x(x(x(1)-f)*u[n+(g>>>7&508)>>2])+x(f*u[n+(((g>>>9|0)+1&127)<<2)>>2]));L=x(0);w:{if((z|0)==2){K=x(0);f=m;j=k;break w}L=x(x(x(x(s*K)-x(E*l))-x(D*j))-x(p*N));_=x(x(x(D*N)+x(x(s*l)+x(E*K)))-x(p*j));f=x(_*x(0));$=x(x(x(p*l)+x(x(s*j)+x(D*K)))-x(E*N));W=x($*x(0));l=x(x(x(E*j)+x(x(s*N)+x(p*K)))-x(D*l));j=x(x(x(x(L*k)-f)-W)-x(l*m));f=x(x(f+x(x(L*m)+x(l*k)))-W);l=x(l*x(0));N=x(L*x(0));K=x(x(l+x(N+x($*k)))-x(_*m));L=x(x(x($*m)+x(N+x(_*k)))-l)}u[h+148>>2]=S;u[h+84>>2]=S;u[h+32>>2]=L;u[h+16>>2]=L;u[h+156>>2]=ca;u[h+152>>2]=aa;u[h+88>>2]=aa;u[h+44>>2]=j;u[h+40>>2]=f;u[h+36>>2]=K;u[h+28>>2]=j;u[h+24>>2]=f;u[h+20>>2]=K;f=x(Q*x(P*I));i=x(Q*x(P*i));j=x(Q*x(P*C));k=x(x(x(p*f)+x(s*i))-x(E*j));m=x(x(p*j)+x(x(E*f)+x(D*i)));l=x(x(x(E*i)+x(s*j))-x(D*f));f=x(x(x(s*f)+x(D*j))-x(p*i));u[h+56>>2]=B+x(x(E*k)+x(x(x(p*m)+x(s*l))-x(D*f)));u[h+52>>2]=Y+x(x(p*f)+x(x(x(D*m)+x(s*k))-x(E*l)));u[h+48>>2]=X+x(x(D*l)+x(x(x(E*m)+x(s*f))-x(p*k)));v=v+1|0;if((U|0)!=(v|0)){continue}break}break d}J(146036,145751,516,146026);G()}z=r[c+296|0];if(!(u[c+264>>2]>=u[c+284>>2]^1|(q[d+4>>2]==1?!(z&8):0))){g=q[c+280>>2];x:{if(!g){break x}q[c+280>>2]=3;if((g|0)==3){break x}g=q[a+72>>2];if(!g){break x}xi[q[a+68>>2]](q[a+16>>2],q[c+128>>2],q[c+132>>2],3,g);z=r[c+296|0]}o[c+296|0]=z&247}z=q[c+280>>2]}if((z|0)!=3|q[c+60>>2]!=q[c+56>>2]){break b}q[c+280>>2]=0;g=q[a+72>>2];if(!g){break b}h=q[a+16>>2]-1|0;q[a+16>>2]=h;xi[q[a+68>>2]](h,q[c+128>>2],q[c+132>>2],0,g)}n=q[c+60>>2];h=q[c+56>>2];v=n-h|0;g=(v|0)/160|0;y:{if(!v){break y}if((h|0)!=(n|0)){i=x(x(1)/u[b+18564>>2]);v=g>>>0>1?g:1;z=0;g=h;while(1){g=w(z,160)+g|0;f=x(x(x(1)-x(i*u[g+64>>2]))*x(65535));f=f=x(0)){n=~~f>>>0;break z}n=0}q[g+144>>2]=(g-h|0)/160&65535|n<<16;z=z+1|0;if((v|0)==(z|0)){break y}g=q[c+56>>2];if((q[c+60>>2]-g|0)/160>>>0>z>>>0){continue}break}}break a}n=0;q[H+32>>2]=0;sw(q[c+56>>2],q[c+60>>2],H+16|0);q[H+56>>2]=0;T=q[c+56>>2];U=q[c+60>>2]-T|0;v=(U|0)/160|0;if(U){Z=v>>>0>1?v:1;while(1){h=T+w(n,160)|0;f=u[h+68>>2]<=x(0)?x(0):x(x(1)-x(u[h+64>>2]*u[h+72>>2]));i=x(f*x(64));A:{if(i=x(0)){g=~~i>>>0;break A}g=0}z=g;g=w(z>>>0<63?z:63,12)+b|0;j=u[g+12356>>2];k=u[g+12360>>2];m=u[g+12352>>2];l=u[g+13128>>2];B=u[g+13132>>2];p=u[g+13124>>2];s=u[g+13900>>2];D=u[g+13904>>2];E=u[g+13896>>2];C=u[g+14672>>2];R=u[g+14676>>2];Q=u[g+14668>>2];I=u[g+16988>>2];K=u[g+16992>>2];V=u[g+16984>>2];X=u[g+16216>>2];Y=u[g+16220>>2];N=u[g+16212>>2];ea=u[h+96>>2];P=u[h+100>>2];L=u[h+104>>2];S=u[h+108>>2];i=x(u[g+11584>>2]+x(u[g+11588>>2]*x(f-u[g+11580>>2])));u[h+136>>2]=i;u[h+132>>2]=i;u[h+128>>2]=i;u[h+148>>2]=x(X+x(Y*x(f-N)))+u[h+84>>2];u[h+152>>2]=x(I+x(K*x(f-V)))+u[h+88>>2];i=x(S*x(C+x(R*x(f-Q))));u[h+124>>2]=i>2]=i>2]=i>2]=f>2]-2|0){default:if(!U){break B}Z=v>>>0>1?v:1;h=q[73450];z=0;while(1){g=T+w(z,160)|0;i=u[g+68>>2]<=x(0)?x(0):x(x(1)-x(u[g+64>>2]*u[g+72>>2]));f=x(i*x(64));D:{if(f=x(0)){v=~~f>>>0;break D}v=0}n=w(v>>>0<63?v:63,12)+b|0;i=x(x(x(u[n+15444>>2]+x(u[n+15448>>2]*x(i-u[n+15440>>2])))*x(.01745329238474369))*x(.5));O=+x(i+x(-1.5707963705062866))*10430.378350470453;E:{if(y(O)<2147483648){n=~~O;break E}n=-2147483648}j=u[g+24>>2];f=x(x(n&511)*x(.001953125));f=x(x(u[h+(((n>>>9|0)+1&127)<<2)>>2]*f)+x(u[h+(n>>>7&508)>>2]*x(x(1)-f)));B=x(j*f);v=g;k=u[g+28>>2];M=k;O=+i*10430.378350470453;F:{if(y(O)<2147483648){n=~~O;break F}n=-2147483648}i=x(x(n&511)*x(.001953125));i=x(x(u[(((n>>>9|0)+1&127)<<2)+h>>2]*i)+x(u[h+(n>>>7&508)>>2]*x(x(1)-i)));m=u[g+16>>2];p=x(m*x(0));l=u[g+20>>2];s=x(l*x(0));u[v+44>>2]=x(x(x(M*i)-p)-s)-B;B=x(j*x(0));D=x(k*x(0));u[g+36>>2]=x(B+x(D+x(l*i)))-x(m*f);u[g+32>>2]=x(x(D+x(m*i))+x(l*f))-B;u[g+40>>2]=x(p+x(x(j*i)+x(k*f)))-s;z=z+1|0;if((Z|0)!=(z|0)){continue}break}break B;case 0:if(!U){break B}Z=v>>>0>1?v:1;h=q[73450];z=0;while(1){g=T+w(z,160)|0;i=u[g+68>>2]<=x(0)?x(0):x(x(1)-x(u[g+64>>2]*u[g+72>>2]));f=x(i*x(64));G:{if(f=x(0)){v=~~f>>>0;break G}v=0}n=w(v>>>0<63?v:63,12)+b|0;i=x(x(x(u[n+15444>>2]+x(u[n+15448>>2]*x(i-u[n+15440>>2])))*x(.01745329238474369))*x(.5));O=+x(i+x(-1.5707963705062866))*10430.378350470453;H:{if(y(O)<2147483648){n=~~O;break H}n=-2147483648}l=u[g+24>>2];f=x(x(n&511)*x(.001953125));k=x(x(u[h+(((n>>>9|0)+1&127)<<2)>>2]*f)+x(u[h+(n>>>7&508)>>2]*x(x(1)-f)));s=x(l*k);v=g;B=u[g+28>>2];M=B;O=+i*10430.378350470453;I:{if(y(O)<2147483648){n=~~O;break I}n=-2147483648}f=x(x(n&511)*x(.001953125));m=x(x(u[(((n>>>9|0)+1&127)<<2)+h>>2]*f)+x(u[h+(n>>>7&508)>>2]*x(x(1)-f)));j=u[g+16>>2];D=x(j*x(0));p=u[g+20>>2];E=x(p*x(0));f=x(x(x(x(M*m)-D)-E)-s);u[v+44>>2]=f;s=x(l*x(0));C=x(B*x(0));i=x(x(s+x(C+x(p*m)))-x(j*k));u[g+36>>2]=i;j=x(x(x(C+x(j*m))+x(p*k))-s);u[g+32>>2]=j;m=x(x(D+x(x(l*m)+x(B*k)))-E);u[g+40>>2]=m;l=u[g+48>>2];B=u[g+52>>2];s=u[g+56>>2];C=x(x(x(l*l)+x(B*B))+x(s*s));if(!(C>x(9999999747378752e-20)^1)){p=x(1);D=x(0);E=x(0);k=x(0);M=s;s=x(x(1)/x(F(C)));C=x(M*s);R=x(C*x(0));B=x(B*s);s=x(l*s);Q=x(s*x(0));l=x(x(R+x(B+Q))+x(1));if(!((l>=x(0)?l:x(-l))>x(9999999747378752e-20)^1)){B=x(B*x(0));l=x(F(x(l+l)));k=x(x(1)/l);p=x(x(B-s)*k);E=x(x(Q-R)*k);D=x(x(C-B)*k);k=x(l*x(.5))}u[g+32>>2]=x(x(i*p)+x(x(f*D)+x(j*k)))-x(m*E);u[g+36>>2]=x(x(m*D)+x(x(f*E)+x(i*k)))-x(j*p);u[g+40>>2]=x(x(j*E)+x(x(f*p)+x(m*k)))-x(i*D);u[g+44>>2]=x(x(x(f*k)-x(j*D))-x(i*E))-x(m*p)}z=z+1|0;if((Z|0)!=(z|0)){continue}break}break B;case 1:break C}}if(!U){break B}v=v>>>0>1?v:1;g=0;while(1){h=T+w(g,160)|0;j=u[h+68>>2]<=x(0)?x(0):x(x(1)-x(u[h+64>>2]*u[h+72>>2]));f=x(j*x(64));J:{if(f=x(0)){n=~~f>>>0;break J}n=0}i=u[h+40>>2];n=w(n>>>0<63?n:63,12)+b|0;j=x(x(x(x(x(u[n+17760>>2]+x(u[n+17764>>2]*x(j-u[n+17756>>2])))*u[h+156>>2])*x(.01745329238474369))*e)*x(.5));f=uk(j);k=u[h+44>>2];j=xl(j);m=u[h+32>>2];B=x(m*x(0));l=u[h+36>>2];p=x(l*x(0));u[h+44>>2]=x(x(x(k*j)-B)-p)-x(i*f);u[h+40>>2]=x(B+x(x(k*f)+x(i*j)))-p;i=x(i*x(0));k=x(k*x(0));u[h+36>>2]=x(i+x(k+x(l*j)))-x(m*f);u[h+32>>2]=x(x(l*f)+x(k+x(m*j)))-i;g=g+1|0;if((v|0)!=(g|0)){continue}break}}C=x(1);C=q[d+12>>2]?C:u[a+44>>2];h=q[b+18532>>2];g=q[b+18528>>2];v=h-g|0;n=(v|0)/1544|0;K:{if(!v){break K}L:{if((g|0)!=(h|0)){h=c+56|0;f=u[d+8>>2];f=f<=x(0)?x(0):x(u[c+264>>2]/f);v=n>>>0>1?n:1;z=0;while(1){if(t[d+104>>2]<=z>>>0){break L}n=w(z,1544)+g|0;M:{N:{O:{P:{Q:{g=q[d+100>>2]+(z<<6)|0;switch(q[g>>2]){case 3:break N;case 2:break O;case 1:break P;case 0:break Q;default:break M}}i=u[d+44>>2];j=u[g+44>>2];k=u[g+32>>2];m=u[d+32>>2];l=u[d+36>>2];B=u[g+36>>2];p=u[g+40>>2];s=u[d+40>>2];u[H+44>>2]=x(x(x(i*j)-x(k*m))-x(l*B))-x(p*s);u[H+40>>2]=x(x(x(i*p)+x(j*s))+x(m*B))-x(k*l);u[H+36>>2]=x(x(k*s)+x(x(j*l)+x(i*B)))-x(m*p);u[H+32>>2]=x(x(x(i*k)+x(m*j))+x(l*p))-x(s*B);D6(h,n,H+32|0,C,f,e);break M}i=u[d+44>>2];j=u[g+44>>2];k=u[g+32>>2];m=u[d+32>>2];l=u[d+36>>2];B=u[g+36>>2];p=u[g+40>>2];s=u[d+40>>2];u[H+44>>2]=x(x(x(i*j)-x(k*m))-x(l*B))-x(p*s);u[H+40>>2]=x(x(x(i*p)+x(j*s))+x(m*B))-x(k*l);u[H+36>>2]=x(x(k*s)+x(x(j*l)+x(i*B)))-x(m*p);u[H+32>>2]=x(x(x(i*k)+x(m*j))+x(l*p))-x(s*B);C6(h,n,g,H+32|0,f,e);break M}XG(H+32|0,a,d,g);B6(h,n,H+32|0,C,f,e);break M}XG(H+32|0,a,d,g);i=u[d+44>>2];j=u[g+44>>2];k=u[g+32>>2];m=u[d+32>>2];l=u[d+36>>2];B=u[g+36>>2];p=u[g+40>>2];s=u[d+40>>2];u[H+28>>2]=x(x(x(i*j)-x(k*m))-x(l*B))-x(p*s);u[H+24>>2]=x(x(x(i*p)+x(j*s))+x(m*B))-x(k*l);u[H+20>>2]=x(x(k*s)+x(x(j*l)+x(i*B)))-x(m*p);u[H+16>>2]=x(x(x(i*k)+x(m*j))+x(l*p))-x(s*B);A6(h,n,H+32|0,H+16|0,C,f,e)}z=z+1|0;if((v|0)==(z|0)){break K}g=q[b+18528>>2];if((q[b+18532>>2]-g|0)/1544>>>0>z>>>0){continue}break}}break a}J(145920,145932,240,145962);G()}b=q[c+56>>2];c=q[c+60>>2]-b|0;a=(c|0)/160|0;R:{if(!c){break R}c=a>>>0>1?a:1;g=0;if(!r[d+120|0]){while(1){a=b+w(g,160)|0;u[a>>2]=u[a>>2]+x(u[a+48>>2]*e);f=u[a+128>>2];u[a+128>>2]=f+x(f*u[a+148>>2]);u[a+8>>2]=u[a+8>>2]+x(u[a+56>>2]*e);u[a+4>>2]=u[a+4>>2]+x(u[a+52>>2]*e);f=u[a+132>>2];u[a+132>>2]=f+x(f*u[a+152>>2]);g=g+1|0;if((c|0)!=(g|0)){continue}break R}}while(1){a=b+w(g,160)|0;f=u[a+48>>2];u[a>>2]=u[a>>2]+x(f*e);i=u[a+128>>2];u[a+128>>2]=i+x(i*u[a+148>>2]);i=u[a+56>>2];u[a+8>>2]=u[a+8>>2]+x(i*e);j=u[a+52>>2];u[a+4>>2]=u[a+4>>2]+x(j*e);k=u[a+132>>2];u[a+132>>2]=k+x(x(x(F(x(x(x(f*f)+x(j*j))+x(i*i))))*x(k*u[a+152>>2]))*x(.008333333767950535));g=g+1|0;if((c|0)!=(g|0)){continue}break}}}ti=H- -64|0;return}J(146626,145751,479,145962);G()}function dE(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,p=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,D=0;l=ti-32|0;ti=l;z=q[33938];A=q[33936];B=q[33937];a:while(1){f=q[a+12>>2];j=q[a+24>>2];s=q[q[q[a+20>>2]+4>>2]>>2];n=q[q[s+16>>2]+8>>2];while(1){b:{c=j;j=c+4|0;i=q[c>>2];d=r[a+56|0];c:{if(!(d&12)){break c}e=q[a+64>>2]-1|0;q[a+64>>2]=e;d:{if(e){if(!(d&4)){break c}f=q[a+24>>2];q[a+24>>2]=j;break d}f=q[a+24>>2];q[a+24>>2]=j;if(!(d&8)){break d}q[a+64>>2]=q[a+60>>2];pE(a,3,-1)}e:{if(!(d&4)){break e}d=q[q[q[q[a+20>>2]+4>>2]>>2]+16>>2];e=q[d+12>>2];g=(j-e>>2)-1|0;d=q[d+20>>2];f:{if(!d){k=0;if(!g|f>>>0>=j>>>0){break f}break e}k=q[d+(g<<2)>>2];if(!g|f>>>0>=j>>>0){break f}if(q[(d+(f-e|0)|0)-4>>2]==(k|0)){break e}}pE(a,2,k)}if(r[a+6|0]==1){q[a+24>>2]=c;break b}f=q[a+12>>2]}m=i>>>6&255;g=(m<<4)+f|0;g:{h:{i:{switch(i&63){case 0:e=(i>>>19&8176)+f|0;c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 1:e=(i>>>10&4194288)+n|0;c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 2:q[g>>2]=i>>>23;q[((m<<4)+f|0)+8>>2]=1;j=i&8372224?c+8|0:j;continue;case 3:d=(i>>>19&8176)+f|0;while(1){q[d+8>>2]=0;d=d-16|0;if(g>>>0<=d>>>0){continue}break}continue;case 4:e=q[q[((i>>>21&2044)+s|0)+20>>2]+8>>2];c=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=q[e+8>>2];continue;case 5:c=q[s+12>>2];q[l+8>>2]=5;q[l>>2]=c;q[a+24>>2]=j;is(a,l,(i>>>10&4194288)+n|0,g);f=q[a+12>>2];continue;case 6:q[a+24>>2]=j;c=i>>>10|0;is(a,(i>>>19&8176)+f|0,i&4194304?(c&4080)+n|0:(c&8176)+f|0,g);f=q[a+12>>2];continue;case 7:c=q[s+12>>2];q[l+8>>2]=5;q[l>>2]=c;q[a+24>>2]=j;eu(a,l,(i>>>10&4194288)+n|0,g);f=q[a+12>>2];continue;case 8:c=q[g+4>>2];d=q[((i>>>21&2044)+s|0)+20>>2];e=q[d+8>>2];q[e>>2]=q[g>>2];q[e+4>>2]=c;c=(m<<4)+f|0;q[e+8>>2]=q[c+8>>2];if(q[c+8>>2]<4){continue}c=q[g>>2];if(!(r[c+5|0]&3)|!(r[d+5|0]&4)){continue}Qn(a,d,c);continue;case 9:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;eu(a,g,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0);f=q[a+12>>2];continue;case 10:k=i>>>23|0;d=k>>>3&31;e=i>>>14&511;c=e>>>3&31;q[g>>2]=To(a,d?(k&7|8)<>2]=5;q[a+24>>2]=j;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}f=q[a+12>>2];continue;case 11:e=(i>>>19&8176)+f|0;c=q[e+4>>2];q[g+16>>2]=q[e>>2];q[g+20>>2]=c;q[g+24>>2]=q[e+8>>2];q[a+24>>2]=j;c=i>>>10|0;is(a,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0,g);f=q[a+12>>2];continue;case 12:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;j:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];k:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break k}v[g>>3]=v[e>>3]+v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break j}if(!Cl(q[e>>2]+16|0,l)){break j}v[l+24>>3]=v[l>>3];c=l+24|0}l:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break j}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break l;default:break j}}v[g>>3]=v[c>>3]+v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}m:{f=Pk(a,e,5);if(!q[f+8>>2]){f=Pk(a,h,5);if(!q[f+8>>2]){break m}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 13:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;n:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];o:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break o}v[g>>3]=v[e>>3]-v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break n}if(!Cl(q[e>>2]+16|0,l)){break n}v[l+24>>3]=v[l>>3];c=l+24|0}p:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break n}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break p;default:break n}}v[g>>3]=v[c>>3]-v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}q:{f=Pk(a,e,6);if(!q[f+8>>2]){f=Pk(a,h,6);if(!q[f+8>>2]){break q}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 14:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;r:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];s:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break s}v[g>>3]=v[e>>3]*v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break r}if(!Cl(q[e>>2]+16|0,l)){break r}v[l+24>>3]=v[l>>3];c=l+24|0}t:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break r}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break t;default:break r}}v[g>>3]=v[c>>3]*v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}u:{f=Pk(a,e,7);if(!q[f+8>>2]){f=Pk(a,h,7);if(!q[f+8>>2]){break u}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 15:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;v:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];w:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break w}v[g>>3]=v[e>>3]/v[h>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break v}if(!Cl(q[e>>2]+16|0,l)){break v}v[l+24>>3]=v[l>>3];c=l+24|0}x:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break v}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break x;default:break v}}v[g>>3]=v[c>>3]/v[h>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}y:{f=Pk(a,e,8);if(!q[f+8>>2]){f=Pk(a,h,8);if(!q[f+8>>2]){break y}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 16:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;z:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];A:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break A}u=v[e>>3];p=v[h>>3];v[g>>3]=u-p*C(u/p);q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break z}if(!Cl(q[e>>2]+16|0,l)){break z}v[l+24>>3]=v[l>>3];c=l+24|0}B:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break z}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break B;default:break z}}u=v[c>>3];p=v[h>>3];v[g>>3]=u-p*C(u/p);q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}C:{f=Pk(a,e,9);if(!q[f+8>>2]){f=Pk(a,h,9);if(!q[f+8>>2]){break C}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 17:c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;D:{c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[e+8>>2];E:{if((c|0)==3){if(q[h+8>>2]!=3){q[a+24>>2]=j;c=e;break E}v[g>>3]=yp(v[e>>3],v[h>>3]);q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;if((c|0)!=4){break D}if(!Cl(q[e>>2]+16|0,l)){break D}v[l+24>>3]=v[l>>3];c=l+24|0}F:{switch(q[h+8>>2]-3|0){case 1:if(!Cl(q[h>>2]+16|0,l)){break D}v[l+16>>3]=v[l>>3];h=l+16|0;break;case 0:break F;default:break D}}v[g>>3]=yp(v[c>>3],v[h>>3]);q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}G:{f=Pk(a,e,10);if(!q[f+8>>2]){f=Pk(a,h,10);if(!q[f+8>>2]){break G}}k=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[e+4>>2];d=q[a+8>>2];q[d+16>>2]=q[e>>2];q[d+20>>2]=c;q[d+24>>2]=q[e+8>>2];c=q[h+4>>2];e=q[a+8>>2];q[e+32>>2]=q[h>>2];q[e+36>>2]=c;q[e+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-k|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,e,h);f=q[a+12>>2];continue;case 18:k=(i>>>19&8176)+f|0;c=q[k+8>>2];if((c|0)==3){v[g>>3]=-v[k>>3];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;H:{if((c|0)!=4){break H}if(!Cl(q[k>>2]+16|0,l)){break H}v[l+24>>3]=v[l>>3];I:{switch(q[k+8>>2]-3|0){case 1:if(!Cl(q[k>>2]+16|0,l)){break H}break;case 0:break I;default:break H}}v[g>>3]=-v[l+24>>3];q[((m<<4)+f|0)+8>>2]=3;f=q[a+12>>2];continue}J:{f=Pk(a,k,11);if(!q[f+8>>2]){f=Pk(a,k,11);if(!q[f+8>>2]){break J}}e=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+16>>2]=q[k>>2];q[d+20>>2]=c;q[d+24>>2]=q[k+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+32>>2]=q[k>>2];q[d+36>>2]=c;q[d+40>>2]=q[k+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}Mp(a,k,k);f=q[a+12>>2];continue;case 19:h=1;K:{L:{M:{c=(i>>>23<<4)+f|0;switch(q[c+8>>2]){case 0:break K;case 1:break M;default:break L}}h=!q[c>>2];break K}h=0}q[g>>2]=h;q[((m<<4)+f|0)+8>>2]=1;continue;case 20:N:{O:{P:{k=(i>>>19&8176)+f|0;switch(q[k+8>>2]-4|0){case 0:break O;case 1:break P;default:break N}}v[g>>3]=kE(q[k>>2])|0;q[((m<<4)+f|0)+8>>2]=3;continue}v[g>>3]=t[q[k>>2]+12>>2];q[((m<<4)+f|0)+8>>2]=3;continue}q[a+24>>2]=j;Q:{f=Pk(a,k,12);if(!q[f+8>>2]){f=Pk(a,135744,12);if(!q[f+8>>2]){break Q}}e=q[a+32>>2];c=q[f+4>>2];d=q[a+8>>2];q[d>>2]=q[f>>2];q[d+4>>2]=c;q[d+8>>2]=q[f+8>>2];c=q[k+4>>2];d=q[a+8>>2];q[d+16>>2]=q[k>>2];q[d+20>>2]=c;q[d+24>>2]=q[k+8>>2];c=q[a+8>>2];q[c+32>>2]=A;q[c+36>>2]=B;q[c+40>>2]=z;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];f=q[a+12>>2];continue}nu(a,k,137718);f=q[a+12>>2];continue;case 21:q[a+24>>2]=j;c=i>>>14&511;e=i>>>23|0;Kx(a,(c-e|0)+1|0,c);c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}f=q[a+12>>2];d=f+(m<<4)|0;e=(e<<4)+f|0;c=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=c;q[d+8>>2]=q[e+8>>2];continue;case 22:j=((i>>>12&1048572)+j|0)-524284|0;continue;case 23:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;c=i&4194304?(c&4080)+n|0:(c&8176)+f|0;if(q[e+8>>2]==q[c+8>>2]){c=(uX(a,e,c)|0)!=0}else{c=0}if((c|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 24:q[a+24>>2]=j;c=i>>>19|0;e=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=i>>>10|0;if((cE(a,e,i&4194304?(c&4080)+n|0:(c&8176)+f|0)|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 25:q[a+24>>2]=j;R:{S:{c=i>>>10|0;h=i&4194304?(c&4080)+n|0:(c&8176)+f|0;c=i>>>19|0;i=(i|0)>-1?(c&8176)+f|0:(c&4080)+n|0;c=q[i+8>>2];if(q[h+8>>2]!=(c|0)){break S}T:{switch(c-3|0){case 0:d=v[i>>3]<=v[h>>3];break R;case 1:e=q[i>>2];g=e+16|0;c=q[h>>2];k=c+16|0;d=Ft(g,k);U:{if(d){break U}h=q[e+12>>2];f=q[c+12>>2];while(1){c=Ui(g);if((c|0)==(f|0)){d=(f|0)!=(h|0);break U}if((c|0)==(h|0)){d=-1;break U}c=c+1|0;f=f-c|0;h=h-c|0;g=c+g|0;k=c+k|0;d=Ft(g,k);if(!d){continue}break}}d=(d|0)<1;break R;default:break T}}V:{d=Pk(a,i,14);if(!q[d+8>>2]){break V}if(!Po(d,Pk(a,h,14))){break V}e=q[a+32>>2];c=q[d+4>>2];g=q[a+8>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;q[g+8>>2]=q[d+8>>2];c=q[i+4>>2];d=q[a+8>>2];q[d+16>>2]=q[i>>2];q[d+20>>2]=c;q[d+24>>2]=q[i+8>>2];c=q[h+4>>2];d=q[a+8>>2];q[d+32>>2]=q[h>>2];q[d+36>>2]=c;q[d+40>>2]=q[h+8>>2];d=q[a+8>>2];if((q[a+28>>2]-d|0)<=48){vk(a,3);d=q[a+8>>2]}q[a+8>>2]=d+48;El(a,d,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;c=q[d+4>>2];e=q[a+32>>2]+(g-e|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=c;q[e+8>>2]=q[d+8>>2];W:{X:{c=q[a+8>>2];d=q[c+8>>2];switch(d|0){case 0:break R;case 1:break X;default:break W}}d=q[c>>2]!=0;break R}d=1;break R}d=Pk(a,h,13);if(!q[d+8>>2]){break S}if(!Po(d,Pk(a,i,13))){break S}e=q[a+32>>2];c=q[d+4>>2];k=q[a+8>>2];q[k>>2]=q[d>>2];q[k+4>>2]=c;q[k+8>>2]=q[d+8>>2];c=q[h+4>>2];d=q[a+8>>2];q[d+16>>2]=q[h>>2];q[d+20>>2]=c;q[d+24>>2]=q[h+8>>2];c=q[i+4>>2];d=q[a+8>>2];q[d+32>>2]=q[i>>2];q[d+36>>2]=c;q[d+40>>2]=q[i+8>>2];g=q[a+8>>2];if((q[a+28>>2]-g|0)<=48){vk(a,3);g=q[a+8>>2]}q[a+8>>2]=g+48;d=1;El(a,g,1);g=q[a+8>>2]-16|0;q[a+8>>2]=g;c=q[g+4>>2];e=q[a+32>>2]+(k-e|0)|0;q[e>>2]=q[g>>2];q[e+4>>2]=c;q[e+8>>2]=q[g+8>>2];Y:{Z:{c=q[a+8>>2];switch(q[c+8>>2]){case 0:break R;case 1:break Z;default:break Y}}d=!q[c>>2];break R}d=0;break R}d=lE(a,i,h)}if((d|0)==(m|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;f=q[a+12>>2];continue;case 26:h=1;_:{$:{switch(q[((m<<4)+f|0)+8>>2]){case 1:h=!q[g>>2];break _;case 0:break _;default:break $}}h=0}if((i>>>14&511)!=(h|0)){j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 27:h=1;aa:{ba:{ca:{d=(i>>>19&8176)+f|0;e=q[d+8>>2];switch(e|0){case 0:break aa;case 1:break ca;default:break ba}}h=!q[d>>2];break aa}h=0}if((i>>>14&511)!=(h|0)){c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;q[((m<<4)+f|0)+8>>2]=e;j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 28:d=i>>>14&511;e=d-1|0;c=i>>>23|0;if(c){q[a+8>>2]=(c<<4)+g}q[a+24>>2]=j;c=pu(a,g,e);if((c|0)!=1){if(c){break b}b=b+1|0;continue a}if(d){q[a+8>>2]=q[q[a+20>>2]+8>>2]}f=q[a+12>>2];continue;case 29:c=i>>>23|0;if(c){q[a+8>>2]=(c<<4)+g}q[a+24>>2]=j;c=pu(a,g,-1);if((c|0)!=1){if(c){break b}h=q[a+20>>2];e=h-24|0;c=q[h+4>>2];j=h-20|0;i=q[j>>2];g=i;d=e;if(q[a+104>>2]){qo(a,q[e>>2]);g=q[j>>2]}j=g+(q[h>>2]-c|0)|0;q[d>>2]=j;q[a+12>>2]=j;j=0;g=c;if(c>>>0>2]){while(1){e=q[g+4>>2];d=j<<4;k=d+i|0;q[k>>2]=q[g>>2];q[k+4>>2]=e;q[k+8>>2]=q[(c+d|0)+8>>2];j=j+1|0;g=c+(j<<4)|0;if(g>>>0>2]){continue}break}}j=i+(j<<4)|0;q[a+8>>2]=j;q[h-16>>2]=j;q[h-12>>2]=q[a+24>>2];j=h-4|0;q[j>>2]=q[j>>2]+1;q[a+20>>2]=q[a+20>>2]-24;continue a}f=q[a+12>>2];continue;case 30:c=i>>>23|0;if(c){q[a+8>>2]=((c<<4)+g|0)-16}if(q[a+104>>2]){qo(a,f)}q[a+24>>2]=j;j=Tx(a,g);b=b-1|0;if(!b){break b}if(!j){continue a}q[a+8>>2]=q[q[a+20>>2]+8>>2];continue a;case 31:p=v[g+32>>3];y=p+v[g>>3];u=v[g+16>>3];da:{if(!(p>0^1)){if(u>=y^1){continue}break da}if(u<=y^1){continue}}v[g>>3]=y;q[((m<<4)+f|0)+8>>2]=3;q[g+56>>2]=3;v[g+48>>3]=y;j=((i>>>12&1048572)+j|0)-524284|0;continue;case 32:q[a+24>>2]=j;ea:{e=(m<<4)+f|0;c=q[e+8>>2];if((c|0)!=3){if((c|0)!=4){break ea}if(!Cl(q[g>>2]+16|0,l)){break ea}v[g>>3]=v[l>>3];q[e+8>>2]=3}c=q[g+24>>2];if((c|0)!=3){if((c|0)!=4){break h}if(!Cl(q[g+16>>2]+16|0,l)){break h}p=v[l>>3];q[g+24>>2]=3;v[g+16>>3]=p}c=q[g+40>>2];if((c|0)==3){break g}fa:{if((c|0)!=4){break fa}if(!Cl(q[g+32>>2]+16|0,l)){break fa}p=v[l>>3];q[g+40>>2]=3;v[g+32>>3]=p;break g}Hk(a,137798,0);G()}Hk(a,137732,0);break g;case 33:c=q[g+36>>2];q[g+80>>2]=q[g+32>>2];q[g+84>>2]=c;c=q[g+20>>2];e=g- -64|0;q[e>>2]=q[g+16>>2];q[e+4>>2]=c;c=q[g+4>>2];q[g+48>>2]=q[g>>2];q[g+52>>2]=c;q[g+88>>2]=q[g+40>>2];q[g+72>>2]=q[g+24>>2];c=m<<4;q[g+56>>2]=q[(c+f|0)+8>>2];q[a+24>>2]=j;q[a+8>>2]=g+96;El(a,g+48|0,i>>>14&511);q[a+8>>2]=q[q[a+20>>2]+8>>2];f=q[a+12>>2];e=c+f|0;c=q[e+56>>2];if(c){q[e+40>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;j=((q[j>>2]>>>12&1048572)+j|0)-524284|0}j=j+4|0;continue;case 34:k=i>>>14&511;d=i>>>23|0;if(!d){e=q[a+8>>2];q[a+8>>2]=q[q[a+20>>2]+8>>2];d=(e-g>>4)-1|0}if(!k){k=q[c+4>>2];j=c+8|0}if(q[((m<<4)+f|0)+8>>2]!=5){continue}h=(w(k,50)+d|0)-50|0;i=q[g>>2];if((h|0)>q[i+28>>2]){JX(a,i,h)}if((d|0)<1){continue}while(1){k=mu(a,i,h);c=d;d=(c<<4)+g|0;e=q[d+4>>2];q[k>>2]=q[d>>2];q[k+4>>2]=e;q[k+8>>2]=q[d+8>>2];if(!(!(r[i+5|0]&4)|(!(r[q[d>>2]+5|0]&3)|q[d+8>>2]<4))){e=q[a+16>>2];o[i+5|0]=r[i+5|0]&251;q[i+24>>2]=q[e+40>>2];q[e+40>>2]=i}h=h-1|0;d=c-1|0;if((c|0)>1){continue}break}continue;case 35:qo(a,g);continue;case 36:c=q[q[q[s+16>>2]+16>>2]+(i>>>12&1048572)>>2];h=r[c+72|0];i=nE(a,h,q[s+12>>2]);q[i+16>>2]=c;d=0;if(h){while(1){e=q[j>>2];k=e>>>23|0;x=i+(d<<2)|0;if((e&63)==4){c=q[((k<<2)+s|0)+20>>2]}else{c=TX(a,(k<<4)+f|0)}q[x+20>>2]=c;j=j+4|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[g>>2]=i;q[((m<<4)+f|0)+8>>2]=6;q[a+24>>2]=j;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}f=q[a+12>>2];continue;case 37:break i;default:continue}}x=q[a+20>>2];e=(r[q[s+16>>2]+73|0]^-1)+(q[x>>2]-q[x+4>>2]>>4)|0;c=i>>>23|0;ga:{if(c){c=c-1|0;break ga}q[a+24>>2]=j;if((q[a+28>>2]-q[a+8>>2]|0)<=e<<4){vk(a,e)}f=q[a+12>>2];g=f+(m<<4)|0;q[a+8>>2]=g+(e<<4);c=e}if((c|0)<1){continue}d=0;m=0-e|0;while(1){D=(d<<4)+g|0;if((d|0)<(e|0)){k=d<<4;h=k+(q[x>>2]+(m<<4)|0)|0;i=g+k|0;k=q[h+4>>2];q[i>>2]=q[h>>2];q[i+4>>2]=k;i=q[h+8>>2]}else{i=0}q[D+8>>2]=i;d=d+1|0;if((c|0)!=(d|0)){continue}break}continue}Hk(a,137769,0)}v[g>>3]=v[g>>3]-v[g+32>>3];q[e+8>>2]=3;j=((i>>>12&1048572)+j|0)-524284|0;continue}break}break}ti=l+32|0}function Ata(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,t=0;d=ti-48|0;ti=d;c=Fi(b,0,96);h=q[a+104>>2];b=r[h+94560|0];a:{b:{c:{d:{e:{f:{g:{h:{switch(h|0){case 0:case 5:case 10:case 12:case 14:case 15:case 18:q[c>>2]=6;e=b<<9;j=x(x(r[(e+312416|0)+(r[a+21|0]<<1)|0])/x(255));u[d+32>>2]=j;i:{if(h-15>>>0<=2){b=e+312416|0;e=r[b+(r[a+22|0]<<1)|0];u[d+36>>2]=j;u[d+40>>2]=j;j=x(x(e>>>0)/x(255));u[d+16>>2]=j;u[d+20>>2]=j;u[d+24>>2]=j;u[d+44>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+28>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);e=h-8|0;g=4;break i}g=r[h+94656|0];e=e+312416|0;u[d+36>>2]=x(r[e+(r[a+23|0]<<1)|0])/x(255);u[d+40>>2]=x(r[e+(r[a+25|0]<<1)|0])/x(255);u[d+16>>2]=x(r[e+(r[a+22|0]<<1)|0])/x(255);u[d+20>>2]=x(r[e+(r[a+24|0]<<1)|0])/x(255);u[d+24>>2]=x(r[e+(r[a+26|0]<<1)|0])/x(255);e=h-8|0;if(e>>>0<=6){b=(b<<9)+312416|0;u[d+44>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+28>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);break i}q[d+28>>2]=1065353216;q[d+44>>2]=1065353216}dq(g&255,7,d+32|0,d+16|0,d+4|0,d,d+8|0);q[c+40>>2]=q[d+4>>2];q[c+52>>2]=q[d>>2];if(e>>>0>=10){o[c+55|0]=127;o[c+43|0]=127}q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2];b=c;j:{k:{switch(h-5|0){case 9:o[c+8|0]=r[r[a+39|0]+98560|0];o[c+9|0]=r[r[a+40|0]+98560|0];o[c+10|0]=r[r[a+41|0]+98560|0];o[c+11|0]=r[r[a+42|0]+98560|0];o[c+12|0]=r[r[a+43|0]+98560|0];o[c+13|0]=r[r[a+44|0]+98560|0];o[c+14|0]=r[r[a+45|0]+98560|0];o[c+15|0]=r[r[a+46|0]+98560|0];o[c+16|0]=r[r[a+47|0]+98560|0];o[c+17|0]=r[r[a+48|0]+98560|0];o[c+18|0]=r[r[a+49|0]+98560|0];o[c+19|0]=r[r[a+50|0]+98560|0];o[c+20|0]=r[r[a+51|0]+98560|0];o[c+21|0]=r[r[a+52|0]+98560|0];o[c+22|0]=r[r[a+53|0]+98560|0];a=r[a+54|0]+98560|0;break j;case 13:o[c+8|0]=r[r[a+39|0]+98528|0];o[c+9|0]=r[r[a+40|0]+98528|0];o[c+10|0]=r[r[a+41|0]+98528|0];o[c+11|0]=r[r[a+42|0]+98528|0];o[c+12|0]=r[r[a+43|0]+98528|0];o[c+13|0]=r[r[a+44|0]+98528|0];o[c+14|0]=r[r[a+45|0]+98528|0];o[c+15|0]=r[r[a+46|0]+98528|0];o[c+16|0]=r[r[a+47|0]+98528|0];o[c+17|0]=r[r[a+48|0]+98528|0];o[c+18|0]=r[r[a+49|0]+98528|0];o[c+19|0]=r[r[a+50|0]+98528|0];o[c+20|0]=r[r[a+51|0]+98528|0];o[c+21|0]=r[r[a+52|0]+98528|0];o[c+22|0]=r[r[a+53|0]+98528|0];a=r[a+54|0]+98528|0;break j;default:o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];a=a+54|0;break j;case 0:case 7:break k}}o[c+8|0]=r[r[a+39|0]+98564|0];o[c+9|0]=r[r[a+40|0]+98564|0];o[c+10|0]=r[r[a+41|0]+98564|0];o[c+11|0]=r[r[a+42|0]+98564|0];o[c+12|0]=r[r[a+43|0]+98564|0];o[c+13|0]=r[r[a+44|0]+98564|0];o[c+14|0]=r[r[a+45|0]+98564|0];o[c+15|0]=r[r[a+46|0]+98564|0];o[c+16|0]=r[r[a+47|0]+98564|0];o[c+17|0]=r[r[a+48|0]+98564|0];o[c+18|0]=r[r[a+49|0]+98564|0];o[c+19|0]=r[r[a+50|0]+98564|0];o[c+20|0]=r[r[a+51|0]+98564|0];o[c+21|0]=r[r[a+52|0]+98564|0];o[c+22|0]=r[r[a+53|0]+98564|0];a=r[a+54|0]+98564|0}o[b+23|0]=r[a|0];break b;case 1:q[c>>2]=3;u[d+32>>2]=x(r[a+21|0])/x(255);u[d+36>>2]=x(r[a+23|0])/x(255);b=r[a+25|0];q[d+44>>2]=1065353216;u[d+40>>2]=x(b>>>0)/x(255);u[d+16>>2]=x(r[a+22|0])/x(255);u[d+20>>2]=x(r[a+24|0])/x(255);b=r[a+26|0];q[d+28>>2]=1065353216;u[d+24>>2]=x(b>>>0)/x(255);q[d+4>>2]=0;q[d>>2]=0;dq(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+44>>1]=s[d+4>>1];o[c+46|0]=r[d+6|0];b=r[d|0];o[c+52|0]=b;o[c+56|0]=b;b=r[d+1|0];o[c+57|0]=b;o[c+53|0]=b;b=r[d+2|0];o[c+58|0]=b;o[c+54|0]=b;b=q[d+8>>2];q[c+64>>2]=b;e=q[d+12>>2];q[c+76>>2]=e;q[c+72>>2]=b;q[c+68>>2]=e;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 2:q[c>>2]=1;b=q[a+108>>2];q[c+4>>2]=r[w(b,6)+92704|0];q[d+44>>2]=1065353216;q[d+28>>2]=1065353216;l:{if(43795755>>>b&1){b=r[a+21|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+22|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+23|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+24|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+25|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+26|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;hw(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+52>>1]=s[d>>1];o[c+54|0]=r[d+2|0];q[c+64>>2]=q[d+8>>2];b=r[a+27|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+28|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+29|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+30|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+31|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+32|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;hw(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+46|0]=r[d+6|0];p[c+44>>1]=s[d+4>>1];p[c+56>>1]=s[d>>1];o[c+58|0]=r[d+2|0];q[c+72>>2]=q[d+8>>2];break l}b=r[a+21|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+22|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+23|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+24|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+25|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+26|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;hw(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+44|0]=r[d+4|0];o[c+56|0]=r[d|0];o[c+45|0]=r[d+5|0];o[c+57|0]=r[d+1|0];o[c+46|0]=r[d+6|0];o[c+58|0]=r[d+2|0];q[c+72>>2]=q[d+8>>2];b=r[a+27|0];u[d+32>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+28|0];u[d+16>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+29|0];u[d+36>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+30|0];u[d+20>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+31|0];u[d+40>>2]=x((b<<4|b)>>>0)/x(255);b=r[a+32|0];u[d+24>>2]=x((b<<4|b)>>>0)/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;hw(d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+40|0]=r[d+4|0];o[c+52|0]=r[d|0];o[c+41|0]=r[d+5|0];o[c+53|0]=r[d+1|0];o[c+42|0]=r[d+6|0];o[c+54|0]=r[d+2|0];q[c+64>>2]=q[d+8>>2]}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 3:q[c>>2]=2;h=w(q[a+108>>2],6)+93024|0;q[c+4>>2]=r[h|0];e=1;b=(b<<9)+312416|0;l=r[b+(r[a+22|0]<<1)|0];g=c+40|0;h=w(r[h+4|0],3)+93104|0;i=r[h|0]<<2;f=g+i|0;o[f|0]=(w(r[b+(r[a+21|0]<<1)|0],31)+127>>>0)/255;m=i;i=c+52|0;k=m+i|0;o[k|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+24|0]<<1)|0];o[f+1|0]=(w(r[b+(r[a+23|0]<<1)|0],31)+127>>>0)/255;o[k+1|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+26|0]<<1)|0];o[f+2|0]=(w(r[b+(r[a+25|0]<<1)|0],31)+127>>>0)/255;o[k+2|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+28|0]<<1)|0];k=r[h+1|0]<<2;f=k+g|0;o[f|0]=(w(r[b+(r[a+27|0]<<1)|0],31)+127>>>0)/255;k=i+k|0;o[k|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+30|0]<<1)|0];o[f+1|0]=(w(r[b+(r[a+29|0]<<1)|0],31)+127>>>0)/255;o[k+1|0]=(w(l,31)+127>>>0)/255;l=r[b+(r[a+32|0]<<1)|0];o[f+2|0]=(w(r[b+(r[a+31|0]<<1)|0],31)+127>>>0)/255;o[k+2|0]=(w(l,31)+127>>>0)/255;f=r[b+(r[a+34|0]<<1)|0];h=r[h+2|0]<<2;g=h+g|0;o[g|0]=(w(r[b+(r[a+33|0]<<1)|0],31)+127>>>0)/255;h=h+i|0;o[h|0]=(w(f,31)+127>>>0)/255;f=r[b+(r[a+36|0]<<1)|0];o[g+1|0]=(w(r[b+(r[a+35|0]<<1)|0],31)+127>>>0)/255;o[h+1|0]=(w(f,31)+127>>>0)/255;f=r[b+(r[a+38|0]<<1)|0];o[g+2|0]=(w(r[b+(r[a+37|0]<<1)|0],31)+127>>>0)/255;o[h+2|0]=(w(f,31)+127>>>0)/255;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break a;case 4:q[c>>2]=3;e=q[a+108>>2];q[c+4>>2]=r[w(e,6)+92704|0];q[d+44>>2]=1065353216;q[d+28>>2]=1065353216;m:{if(43795755>>>e&1){b=(b<<9)+312416|0;u[d+32>>2]=x(r[b+(r[a+21|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+22|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+25|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+26|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;dq(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+42|0]=r[d+6|0];p[c+40>>1]=s[d+4>>1];p[c+52>>1]=s[d>>1];o[c+54|0]=r[d+2|0];o[c+55|0]=127;o[c+43|0]=127;q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2];u[d+32>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+29|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+30|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+31|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+32|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;dq(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+46|0]=r[d+6|0];p[c+44>>1]=s[d+4>>1];p[c+56>>1]=s[d>>1];o[c+58|0]=r[d+2|0];o[c+59|0]=127;o[c+47|0]=127;q[c+72>>2]=q[d+8>>2];q[c+76>>2]=q[d+12>>2];break m}b=(b<<9)+312416|0;u[d+32>>2]=x(r[b+(r[a+21|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+22|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+23|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+24|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+25|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+26|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;dq(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+44|0]=r[d+4|0];o[c+56|0]=r[d|0];o[c+45|0]=r[d+5|0];o[c+57|0]=r[d+1|0];o[c+46|0]=r[d+6|0];e=r[d+2|0];o[c+59|0]=127;o[c+47|0]=127;o[c+58|0]=e;q[c+72>>2]=q[d+8>>2];q[c+76>>2]=q[d+12>>2];u[d+32>>2]=x(r[b+(r[a+27|0]<<1)|0])/x(255);u[d+16>>2]=x(r[b+(r[a+28|0]<<1)|0])/x(255);u[d+36>>2]=x(r[b+(r[a+29|0]<<1)|0])/x(255);u[d+20>>2]=x(r[b+(r[a+30|0]<<1)|0])/x(255);u[d+40>>2]=x(r[b+(r[a+31|0]<<1)|0])/x(255);u[d+24>>2]=x(r[b+(r[a+32|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;dq(3,7,d+32|0,d+16|0,d+4|0,d,d+8|0);o[c+40|0]=r[d+4|0];o[c+52|0]=r[d|0];o[c+41|0]=r[d+5|0];o[c+53|0]=r[d+1|0];o[c+42|0]=r[d+6|0];b=r[d+2|0];o[c+55|0]=127;o[c+43|0]=127;o[c+54|0]=b;q[c+64>>2]=q[d+8>>2];q[c+68>>2]=q[d+12>>2]}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b;case 6:case 11:case 13:case 17:q[c>>2]=5;e=q[a+16>>2];q[c+92>>2]=e+1&3;if(h-15>>>0<=2){if((e|0)!=3){break f}b=(b<<9)+312416|0;e=(w(r[b+(r[a+21|0]<<1)|0],127)+127>>>0)/255|0;o[c+40|0]=e;g=r[b+(r[a+22|0]<<1)|0];o[c+41|0]=e;o[c+42|0]=e;e=(w(g,127)+127>>>0)/255|0;o[c+53|0]=e;o[c+52|0]=e;o[c+54|0]=e;o[c+43|0]=r[b+(r[a+23|0]<<1)|0];o[c+55|0]=r[b+(r[a+24|0]<<1)|0];break d}i=b<<9;f=i+312416|0;g=r[f+(r[a+21|0]<<1)|0];f=r[f+(r[a+22|0]<<1)|0];if(e){f=(w(f&255,127)+127>>>0)/255|0;g=(w(g&255,127)+127>>>0)/255|0}e=(e?0:3)+c|0;o[e+52|0]=f;o[e+40|0]=g;g=i+312416|0;e=r[g+(r[a+24|0]<<1)|0];g=r[g+(r[a+23|0]<<1)|0];f=q[a+16>>2]==1;i=f?3:1;if(!f){g=(w(g&255,127)+127>>>0)/255|0;e=(w(e&255,127)+127>>>0)/255|0}f=c+i|0;o[f+52|0]=e;o[f+40|0]=g;g=(b<<9)+312416|0;e=r[g+(r[a+26|0]<<1)|0];g=r[g+(r[a+25|0]<<1)|0];f=q[a+16>>2]==2;i=f?3:2;if(!f){g=(w(g&255,127)+127>>>0)/255|0;e=(w(e&255,127)+127>>>0)/255|0}f=c+i|0;o[f+52|0]=e;o[f+40|0]=g;f=q[a+16>>2];e=255;g=255;if(h-8>>>0<=6){b=(b<<9)+312416|0;g=r[b+(r[a+28|0]<<1)|0];e=r[b+(r[a+27|0]<<1)|0]}if(f>>>0<=2){break g}break e;case 7:q[c>>2]=2;h=w(q[a+108>>2],6)+92896|0;q[c+4>>2]=r[h|0];e=1;b=(b<<9)+312416|0;g=a+21|0;h=r[h+4|0];i=w(bB(0,h),6);f=g+i|0;o[c+40|0]=(w(r[b+(r[f|0]<<1)|0],31)+127>>>0)/255;i=g+(i|1)|0;o[c+52|0]=(w(r[b+(r[i|0]<<1)|0],31)+127>>>0)/255;o[c+41|0]=(w(r[b+(r[f+2|0]<<1)|0],31)+127>>>0)/255;o[c+53|0]=(w(r[b+(r[i+2|0]<<1)|0],31)+127>>>0)/255;o[c+42|0]=(w(r[b+(r[f+4|0]<<1)|0],31)+127>>>0)/255;o[c+54|0]=(w(r[b+(r[i+4|0]<<1)|0],31)+127>>>0)/255;i=w(bB(1,h),6);f=i+g|0;o[c+44|0]=(w(r[b+(r[f|0]<<1)|0],31)+127>>>0)/255;i=g+(i|1)|0;o[c+56|0]=(w(r[b+(r[i|0]<<1)|0],31)+127>>>0)/255;o[c+45|0]=(w(r[b+(r[f+2|0]<<1)|0],31)+127>>>0)/255;o[c+57|0]=(w(r[b+(r[i+2|0]<<1)|0],31)+127>>>0)/255;o[c+46|0]=(w(r[b+(r[f+4|0]<<1)|0],31)+127>>>0)/255;o[c+58|0]=(w(r[b+(r[i+4|0]<<1)|0],31)+127>>>0)/255;f=w(bB(2,h),6);h=f+g|0;o[c+48|0]=(w(r[b+(r[h|0]<<1)|0],31)+127>>>0)/255;g=g+(f|1)|0;o[c+60|0]=(w(r[b+(r[g|0]<<1)|0],31)+127>>>0)/255;o[c+49|0]=(w(r[b+(r[h+2|0]<<1)|0],31)+127>>>0)/255;o[c+61|0]=(w(r[b+(r[g+2|0]<<1)|0],31)+127>>>0)/255;o[c+50|0]=(w(r[b+(r[h+4|0]<<1)|0],31)+127>>>0)/255;o[c+62|0]=(w(r[b+(r[g+4|0]<<1)|0],31)+127>>>0)/255;o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break a;case 8:e=(r[a+115|0]<<3)+323168|0;g=(r[a+114|0]<<3)+323168|0;h=(r[a+113|0]<<3)+323168|0;f=(r[a+112|0]<<3)+323168|0;b=s[e+4>>1]+(s[g+4>>1]+(s[h+4>>1]+s[f+4>>1]|0)|0)|0;e=s[e>>1]+(s[g>>1]+(s[h>>1]+s[f>>1]|0)|0)|0;if(!(!e|!b)){q[c>>2]=5;o[c+40|0]=r[((r[a+112|0]<<2)+325216|0)+2|0];o[c+52|0]=r[((r[a+112|0]<<2)+325216|0)+3|0];o[c+41|0]=r[((r[a+113|0]<<2)+325216|0)+2|0];o[c+53|0]=r[((r[a+113|0]<<2)+325216|0)+3|0];o[c+42|0]=r[((r[a+114|0]<<2)+325216|0)+2|0];b=r[((r[a+114|0]<<2)+325216|0)+3|0];q[c+8>>2]=16843009;q[c+12>>2]=16843009;o[c+54|0]=b;q[c+16>>2]=16843009;q[c+20>>2]=16843009;o[c+43|0]=r[a+115|0];o[c+55|0]=r[a+115|0];break b}q[c>>2]=6;e=b>>>0>>0;b=e<<2;o[c+40|0]=r[(b+((r[a+112|0]<<3)+323168|0)|0)+2|0];o[c+52|0]=r[(b+((r[a+112|0]<<3)+323168|0)|0)+3|0];o[c+41|0]=r[(b+((r[a+113|0]<<3)+323168|0)|0)+2|0];o[c+53|0]=r[(b+((r[a+113|0]<<3)+323168|0)|0)+3|0];o[c+42|0]=r[(b+((r[a+114|0]<<3)+323168|0)|0)+2|0];o[c+54|0]=r[(b+((r[a+114|0]<<3)+323168|0)|0)+3|0];o[c+43|0]=r[(b+((r[a+115|0]<<3)+323168|0)|0)+2|0];a=r[(b+((r[a+115|0]<<3)+323168|0)|0)+3|0];q[c+68>>2]=e;q[c+64>>2]=e;o[c+55|0]=a;q[c+8>>2]=84215045;q[c+12>>2]=84215045;q[c+16>>2]=84215045;q[c+20>>2]=84215045;break b;case 9:case 16:break h;default:break a}}q[c>>2]=7;e=q[a+108>>2];q[c+4>>2]=r[w(e,6)+92704|0];l=(43795755>>>e^-1)&1;n=h-15>>>0>2;k=b<<9;h=a+21|0;b=1;while(1){m=d;t=k+312416|0;n:{if(!n){i=k+312416|0;f=g<<2;j=x(x(r[i+(r[f+h|0]<<1)|0])/x(255));u[d+32>>2]=j;e=r[i+(r[h+(f|1)|0]<<1)|0];u[d+36>>2]=j;u[d+40>>2]=j;j=x(x(e>>>0)/x(255));u[d+16>>2]=j;u[d+20>>2]=j;u[d+24>>2]=j;u[d+44>>2]=x(r[i+(r[h+(f|2)|0]<<1)|0])/x(255);e=f|3;break n}i=k+312416|0;f=g<<3;u[d+32>>2]=x(r[i+(r[f+h|0]<<1)|0])/x(255);u[d+36>>2]=x(r[i+(r[h+(f|2)|0]<<1)|0])/x(255);u[d+40>>2]=x(r[i+(r[h+(f|4)|0]<<1)|0])/x(255);u[d+44>>2]=x(r[i+(r[h+(f|6)|0]<<1)|0])/x(255);u[d+16>>2]=x(r[i+(r[h+(f|1)|0]<<1)|0])/x(255);u[d+20>>2]=x(r[i+(r[h+(f|3)|0]<<1)|0])/x(255);u[d+24>>2]=x(r[i+(r[h+(f|5)|0]<<1)|0])/x(255);e=f|7}u[m+28>>2]=x(r[t+(r[(e+a|0)+21|0]<<1)|0])/x(255);q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=0;dq(4,5,d+32|0,d+16|0,d+4|0,d,d+8|0);e=g^l;g=(e<<2)+c|0;q[g+40>>2]=q[d+4>>2];q[g+52>>2]=q[d>>2];e=(e<<3)+c|0;q[e- -64>>2]=q[d+8>>2];q[e+68>>2]=q[d+12>>2];e=b;b=0;g=1;if(e){continue}break}o[c+8|0]=r[a+39|0];o[c+9|0]=r[a+40|0];o[c+10|0]=r[a+41|0];o[c+11|0]=r[a+42|0];o[c+12|0]=r[a+43|0];o[c+13|0]=r[a+44|0];o[c+14|0]=r[a+45|0];o[c+15|0]=r[a+46|0];o[c+16|0]=r[a+47|0];o[c+17|0]=r[a+48|0];o[c+18|0]=r[a+49|0];o[c+19|0]=r[a+50|0];o[c+20|0]=r[a+51|0];o[c+21|0]=r[a+52|0];o[c+22|0]=r[a+53|0];o[c+23|0]=r[a+54|0];break b}g=(w(g,127)+127>>>0)/255|0;e=(w(e,127)+127>>>0)/255|0;break e}J(98572,92069,13218,98607);G()}b=c+f|0;o[b+52|0]=g;o[b+40|0]=e;if((h|0)==13){break c}}o[c+8|0]=r[a+39|0];o[c+24|0]=r[a+40|0];o[c+9|0]=r[a+41|0];o[c+25|0]=r[a+42|0];o[c+10|0]=r[a+43|0];o[c+26|0]=r[a+44|0];o[c+11|0]=r[a+45|0];o[c+27|0]=r[a+46|0];o[c+12|0]=r[a+47|0];o[c+28|0]=r[a+48|0];o[c+13|0]=r[a+49|0];o[c+29|0]=r[a+50|0];o[c+14|0]=r[a+51|0];o[c+30|0]=r[a+52|0];o[c+15|0]=r[a+53|0];o[c+31|0]=r[a+54|0];o[c+16|0]=r[a+55|0];o[c+32|0]=r[a+56|0];o[c+17|0]=r[a+57|0];o[c+33|0]=r[a+58|0];o[c+18|0]=r[a+59|0];o[c+34|0]=r[a+60|0];o[c+19|0]=r[a+61|0];o[c+35|0]=r[a+62|0];o[c+20|0]=r[a+63|0];o[c+36|0]=r[a- -64|0];o[c+21|0]=r[a+65|0];o[c+37|0]=r[a+66|0];o[c+22|0]=r[a+67|0];o[c+38|0]=r[a+68|0];o[c+23|0]=r[a+69|0];o[c+39|0]=r[a+70|0];break b}o[c+8|0]=r[a+39|0]?3:0;o[c+24|0]=r[a+40|0]?3:0;o[c+9|0]=r[a+41|0]?3:0;o[c+25|0]=r[a+42|0]?3:0;o[c+10|0]=r[a+43|0]?3:0;o[c+26|0]=r[a+44|0]?3:0;o[c+11|0]=r[a+45|0]?3:0;o[c+27|0]=r[a+46|0]?3:0;o[c+12|0]=r[a+47|0]?3:0;o[c+28|0]=r[a+48|0]?3:0;o[c+13|0]=r[a+49|0]?3:0;o[c+29|0]=r[a+50|0]?3:0;o[c+14|0]=r[a+51|0]?3:0;o[c+30|0]=r[a+52|0]?3:0;o[c+15|0]=r[a+53|0]?3:0;o[c+31|0]=r[a+54|0]?3:0;o[c+16|0]=r[a+55|0]?3:0;o[c+32|0]=r[a+56|0]?3:0;o[c+17|0]=r[a+57|0]?3:0;o[c+33|0]=r[a+58|0]?3:0;o[c+18|0]=r[a+59|0]?3:0;o[c+34|0]=r[a+60|0]?3:0;o[c+19|0]=r[a+61|0]?3:0;o[c+35|0]=r[a+62|0]?3:0;o[c+20|0]=r[a+63|0]?3:0;o[c+36|0]=r[a- -64|0]?3:0;o[c+21|0]=r[a+65|0]?3:0;o[c+37|0]=r[a+66|0]?3:0;o[c+22|0]=r[a+67|0]?3:0;o[c+38|0]=r[a+68|0]?3:0;o[c+23|0]=r[a+69|0]?3:0;o[c+39|0]=r[a+70|0]?3:0}e=1}ti=d+48|0;return e}function JF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,y=x(0),z=x(0),A=x(0),B=0,C=x(0),D=0,E=0,F=0,H=0,I=0,K=0,L=0;h=ti-2048|0;ti=h;k=e+2|0;m=e+f|0;I=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{if((f|0)<=1){Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+44>>2]=f+2;q[h+40>>2]=b;q[h+36>>2]=m;q[h+32>>2]=k;q[h+48>>2]=h+1392;q[h+28>>2]=c;q[h+24>>2]=g;q[h+20>>2]=0;q[h+16>>2]=126202;hj(h+1536|0,512,126072,h+16|0);q[h>>2]=h+1536;a=Bi(a,126215,h);break c}i=h;if(t[c+4>>2]<=3){n=r[e|0]|r[e+1|0]<<8}else{k=e+4|0;n=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24)}q[i+1312>>2]=n;n2(b,h+1312|0);if(k>>>0>m>>>0){Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+84>>2]=k;q[h+88>>2]=m;q[h+96>>2]=m-k;q[h+100>>2]=h+1392;q[h+92>>2]=b;q[h+80>>2]=c;hj(h+1536|0,512,126223,h+80|0);q[h+64>>2]=h+1536;a=Bi(a,126215,h- -64|0);break c}gj(a,0,0);if(n){K=g+1|0;while(1){l=k+2|0;if(m>>>0>>0){j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];q[h+152>>2]=q[b+136>>2];q[h+148>>2]=m;q[h+144>>2]=l;q[h+156>>2]=(m-k|0)+2;q[h+160>>2]=h+1392;q[h+140>>2]=c;q[h+136>>2]=g;q[h+132>>2]=n;q[h+128>>2]=126338;hj(h+1536|0,512,126072,h+128|0);q[h+112>>2]=h+1536;a=Bi(a,126215,h+112|0);break c}L=o[k+1|0];d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{s=o[k|0];i=s&255;switch(i-3|0){case 1:break k;case 0:break l;default:break m}}if((i|0)!=64){break d}}j=q[b+144>>2];q[b+144>>2]=j+1;o[b+j|0]=75;j=q[b+144>>2];if(j>>>0>t[b+140>>2]){q[b+140>>2]=j}j=j&127;q[b+144>>2]=j+1;o[b+j|0]=78;j=q[b+144>>2];if(j>>>0>t[b+140>>2]){q[b+140>>2]=j}q[b+144>>2]=j&127;switch(q[c+4>>2]){case 3:case 4:break h;case 1:case 2:break i;case 0:break j;default:break g}}i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=75;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=83;i=q[b+140>>2];j=q[b+144>>2];if(i>>>0>>0){q[b+140>>2]=j;i=j}j=j&127;q[b+144>>2]=j;n:{if(t[c+4>>2]<2){B=Ui(l)+1|0;p=m-l|0;if((B|0)>(p|0)){k=0;Fi(h+1392|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1392+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+132>>2];k=q[b+136>>2];q[h+1124>>2]=B;q[h+1128>>2]=p;q[h+1132>>2]=i;q[h+1136>>2]=k;q[h+1140>>2]=h+1392;q[h+1120>>2]=n;Bi(a,127147,h+1120|0)}Hi(a,l);break n}F=r[l|0]|r[l+1|0]<<8|(r[l+2|0]<<16|r[l+3|0]<<24);B=F+4|0;H=m-l|0;if((B|0)>(H|0)){p=0;Fi(h+1392|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1392+((p^-1)+i)|0]=r[j+b|0];p=p+1|0;if((p|0)!=(i|0)){continue}break}}j=q[b+136>>2];i=h+1184|0;q[i>>2]=q[b+132>>2];q[i+4>>2]=j;q[h+1172>>2]=F;q[h+1176>>2]=B;q[h+1180>>2]=H;q[h+1192>>2]=h+1392;q[h+1168>>2]=n;hj(h+1536|0,512,127266,h+1168|0);q[h+1152>>2]=h+1536;Bi(a,126215,h+1152|0)}Ni(a,k+6|0,F)}l=l+B|0;if(m>>>0>=l>>>0){break d}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+1100>>2]=m-l;q[h+1096>>2]=b;q[h+1092>>2]=m;q[h+1088>>2]=l;q[h+1104>>2]=h+1392;q[h+1084>>2]=c;q[h+1080>>2]=g;q[h+1076>>2]=n;q[h+1072>>2]=126353;hj(h+1536|0,512,126072,h+1072|0);q[h+1056>>2]=h+1536;a=Bi(a,126215,h+1056|0);break c}if((s|0)!=3){q[h+1264>>2]=s;Bi(a,127401,h+1264|0)}D=+((r[k+2|0]|r[k+3|0]<<8)>>>0);i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=D;q[a+8>>2]=q[a+8>>2]+16;l=k+4|0;break e}if((s|0)!=3){q[h+1280>>2]=s;Bi(a,127401,h+1280|0)}i=1;j=0;k=0;while(1){o:{p=r[l|0];k=(p&127)<>>0<5)&i;l=l+1|0;if(j>>>0>4){break o}j=j+1|0;if(p){continue}}break}if(!i){break f}i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=k>>>0;q[a+8>>2]=q[a+8>>2]+16;break e}if(!((i|0)==3|(i|0)==64)){q[h+1296>>2]=s;Bi(a,127401,h+1296|0)}D=+((r[k+2|0]|r[k+3|0]<<8|(r[k+4|0]<<16|r[k+5|0]<<24))>>>0);i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=(s|0)==64?-D:D;q[a+8>>2]=q[a+8>>2]+16;l=k+6|0;break e}J(127127,125707,794,127445);G()}Bi(a,127421,0)}if(l>>>0<=m>>>0){break d}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){i=q[b+144>>2];while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[i+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+1244>>2]=m-l;q[h+1240>>2]=b;q[h+1236>>2]=m;q[h+1232>>2]=l;q[h+1248>>2]=h+1392;q[h+1228>>2]=c;q[h+1224>>2]=g;q[h+1220>>2]=n;q[h+1216>>2]=126364;hj(h+1536|0,512,126072,h+1216|0);q[h+1200>>2]=h+1536;a=Bi(a,126215,h+1200|0);break c}p:{q:{switch(L-1|0){case 0:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=66;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=o[l|0];k=q[a+8>>2];q[k+8>>2]=1;q[k>>2]=(i|0)!=0;q[a+8>>2]=q[a+8>>2]+16;k=l+1|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+236>>2]=m-k;q[h+232>>2]=b;q[h+228>>2]=m;q[h+224>>2]=k;q[h+240>>2]=h+1392;q[h+220>>2]=c;q[h+216>>2]=g;q[h+212>>2]=n;q[h+208>>2]=126375;hj(h+1536|0,512,126072,h+208|0);q[h+192>>2]=h+1536;a=Bi(a,126215,h+192|0);break c;case 2:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=78;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=l-d|0;i=((i+3&-4)-i|0)+l|0;k=r[i+4|0]|r[i+5|0]<<8|(r[i+6|0]<<16|r[i+7|0]<<24);_wa(0,r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24));_wa(1,k|0);D=+$wa();k=q[a+8>>2];q[k+8>>2]=3;v[k>>3]=D;q[a+8>>2]=q[a+8>>2]+16;k=i+8|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+364>>2]=m-k;q[h+360>>2]=b;q[h+356>>2]=m;q[h+352>>2]=k;q[h+368>>2]=h+1392;q[h+348>>2]=c;q[h+344>>2]=g;q[h+340>>2]=n;q[h+336>>2]=126386;hj(h+1536|0,512,126072,h+336|0);q[h+320>>2]=h+1536;a=Bi(a,126215,h+320|0);break c;case 3:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=83;i=q[b+140>>2];k=q[b+144>>2];if(i>>>0>>0){q[b+140>>2]=k;i=k}j=k&127;q[b+144>>2]=j;r:{if(t[c+4>>2]<2){p=Ui(l)+1|0;s=m-l|0;if((p|0)>(s|0)){k=0;Fi(h+1392|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1392+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+132>>2];k=q[b+136>>2];q[h+452>>2]=p;q[h+456>>2]=s;q[h+460>>2]=i;q[h+464>>2]=k;q[h+468>>2]=h+1392;q[h+448>>2]=n;Bi(a,127147,h+448|0)}Hi(a,l);break r}s=r[l|0]|r[l+1|0]<<8|(r[l+2|0]<<16|r[l+3|0]<<24);p=s+4|0;B=m-l|0;if((p|0)>(B|0)){k=0;Fi(h+1392|0,0,129);if(i){while(1){j=(((j|0)<1?127:-1)+j|0)%128|0;o[h+1392+((k^-1)+i)|0]=r[j+b|0];k=k+1|0;if((k|0)!=(i|0)){continue}break}}i=q[b+136>>2];q[h+512>>2]=q[b+132>>2];q[h+516>>2]=i;q[h+500>>2]=s;q[h+504>>2]=p;q[h+508>>2]=B;q[h+520>>2]=h+1392;q[h+496>>2]=n;hj(h+1536|0,512,127266,h+496|0);q[h+480>>2]=h+1536;Bi(a,126215,h+480|0)}Ni(a,l+4|0,s)}k=l+p|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+428>>2]=m-k;q[h+424>>2]=b;q[h+420>>2]=m;q[h+416>>2]=k;q[h+432>>2]=h+1392;q[h+412>>2]=c;q[h+408>>2]=g;q[h+404>>2]=n;q[h+400>>2]=126399;hj(h+1536|0,512,126072,h+400|0);q[h+384>>2]=h+1536;a=Bi(a,126215,h+384|0);break c;case 6:i=q[b+144>>2];q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=85;k=q[b+140>>2];i=q[b+144>>2];if(k>>>0>>0){q[b+140>>2]=i;k=i}i=i&127;q[b+144>>2]=i;p=l+1|0;j=p-d|0;j=((j+3&-4)-j|0)+p|0;if(j&3){break b}if(j>>>0>m>>>0){l=0;Fi(h+1392|0,0,129);if(k){while(1){i=(((i|0)<1?127:-1)+i|0)%128|0;o[h+1392+((l^-1)+k)|0]=r[i+b|0];l=l+1|0;if((k|0)!=(l|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+572>>2]=m-j;q[h+568>>2]=b;q[h+564>>2]=m;q[h+560>>2]=j;q[h+576>>2]=h+1392;q[h+556>>2]=c;q[h+552>>2]=g;q[h+548>>2]=n;q[h+544>>2]=126455;hj(h+1536|0,512,126072,h+544|0);q[h+528>>2]=h+1536;a=Bi(a,126215,h+528|0);break c}s:{switch(r[l|0]){case 0:q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=51;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];u[h+1544>>2]=u[j+8>>2];q[h+1536>>2]=i;q[h+1540>>2]=k;jl(a,h+1536|0);k=j+12|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+652>>2]=m-k;q[h+648>>2]=b;q[h+644>>2]=m;q[h+640>>2]=k;q[h+656>>2]=h+1392;q[h+636>>2]=c;q[h+632>>2]=g;q[h+628>>2]=n;q[h+624>>2]=126476;hj(h+1536|0,512,126072,h+624|0);q[h+608>>2]=h+1536;a=Bi(a,126215,h+608|0);break c;case 1:q[b+144>>2]=i+1;o[b+i|0]=86;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];l=q[j+12>>2];q[h+1544>>2]=q[j+8>>2];q[h+1548>>2]=l;q[h+1536>>2]=i;q[h+1540>>2]=k;Un(a,h+1536|0);k=j+16|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+716>>2]=m-k;q[h+712>>2]=b;q[h+708>>2]=m;q[h+704>>2]=k;q[h+720>>2]=h+1392;q[h+700>>2]=c;q[h+696>>2]=g;q[h+692>>2]=n;q[h+688>>2]=126487;hj(h+1536|0,512,126072,h+688|0);q[h+672>>2]=h+1536;a=Bi(a,126215,h+672|0);break c;case 2:q[b+144>>2]=i+1;o[b+i|0]=81;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=q[j>>2];k=q[j+4>>2];l=q[j+12>>2];q[h+1544>>2]=q[j+8>>2];q[h+1548>>2]=l;q[h+1536>>2]=i;q[h+1540>>2]=k;Mq(a,h+1536|0);k=j+16|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+780>>2]=m-k;q[h+776>>2]=b;q[h+772>>2]=m;q[h+768>>2]=k;q[h+784>>2]=h+1392;q[h+764>>2]=c;q[h+760>>2]=g;q[h+756>>2]=n;q[h+752>>2]=126498;hj(h+1536|0,512,126072,h+752|0);q[h+736>>2]=h+1536;a=Bi(a,126215,h+736|0);break c;case 3:q[b+144>>2]=i+1;o[b+i|0]=77;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=52;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;y=u[j>>2];u[h+1328>>2]=y;z=u[j+4>>2];u[h+1328>>2]=y;u[h+1332>>2]=z;A=u[j+8>>2];u[h+1328>>2]=y;u[h+1332>>2]=z;u[h+1336>>2]=A;C=u[j+12>>2];u[h+1332>>2]=z;u[h+1328>>2]=y;u[h+1336>>2]=A;u[h+1340>>2]=C;y=u[j+16>>2];u[h+1344>>2]=y;z=u[j+20>>2];u[h+1344>>2]=y;u[h+1348>>2]=z;A=u[j+24>>2];u[h+1344>>2]=y;u[h+1348>>2]=z;u[h+1352>>2]=A;C=u[j+28>>2];u[h+1348>>2]=z;u[h+1344>>2]=y;u[h+1352>>2]=A;u[h+1356>>2]=C;y=u[j+32>>2];u[h+1360>>2]=y;z=u[j+36>>2];u[h+1360>>2]=y;u[h+1364>>2]=z;A=u[j+40>>2];u[h+1360>>2]=y;u[h+1364>>2]=z;u[h+1368>>2]=A;C=u[j+44>>2];u[h+1364>>2]=z;u[h+1360>>2]=y;u[h+1368>>2]=A;u[h+1372>>2]=C;y=u[j+48>>2];u[h+1376>>2]=y;z=u[j+52>>2];u[h+1376>>2]=y;u[h+1380>>2]=z;A=u[j+56>>2];u[h+1376>>2]=y;u[h+1380>>2]=z;u[h+1384>>2]=A;C=u[j+60>>2];u[h+1380>>2]=z;u[h+1376>>2]=y;u[h+1384>>2]=A;u[h+1388>>2]=C;Nq(a,h+1328|0);k=j- -64|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+844>>2]=m-k;q[h+840>>2]=b;q[h+836>>2]=m;q[h+832>>2]=k;q[h+848>>2]=h+1392;q[h+828>>2]=c;q[h+824>>2]=g;q[h+820>>2]=n;q[h+816>>2]=126509;hj(h+1536|0,512,126072,h+816|0);q[h+800>>2]=h+1536;a=Bi(a,126215,h+800|0);break c;case 4:q[b+144>>2]=i+1;o[b+i|0]=72;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;Zj(a,r[j|0]|r[j+1|0]<<8|(r[j+2|0]<<16|r[j+3|0]<<24),r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24));k=j+8|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+908>>2]=m-k;q[h+904>>2]=b;q[h+900>>2]=m;q[h+896>>2]=k;q[h+912>>2]=h+1392;q[h+892>>2]=c;q[h+888>>2]=g;q[h+884>>2]=n;q[h+880>>2]=126520;hj(h+1536|0,512,126072,h+880|0);q[h+864>>2]=h+1536;a=Bi(a,126215,h+864|0);break c;case 5:q[b+144>>2]=i+1;o[b+i|0]=85;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=82;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}i=i&127;q[b+144>>2]=i+1;o[b+i|0]=76;i=q[b+144>>2];if(i>>>0>t[b+140>>2]){q[b+140>>2]=i}q[b+144>>2]=i&127;i=h+1352|0;q[i>>2]=0;q[i+4>>2]=0;l=h+1344|0;k=l;q[k>>2]=0;q[k+4>>2]=0;k=h+1336|0;q[k>>2]=0;q[k+4>>2]=0;q[h+1328>>2]=0;q[h+1332>>2]=0;s=r[j+12|0]|r[j+13|0]<<8|(r[j+14|0]<<16|r[j+15|0]<<24);q[k>>2]=r[j+8|0]|r[j+9|0]<<8|(r[j+10|0]<<16|r[j+11|0]<<24);q[k+4>>2]=s;k=r[j+20|0]|r[j+21|0]<<8|(r[j+22|0]<<16|r[j+23|0]<<24);q[l>>2]=r[j+16|0]|r[j+17|0]<<8|(r[j+18|0]<<16|r[j+19|0]<<24);q[l+4>>2]=k;k=r[j+28|0]|r[j+29|0]<<8|(r[j+30|0]<<16|r[j+31|0]<<24);q[i>>2]=r[j+24|0]|r[j+25|0]<<8|(r[j+26|0]<<16|r[j+27|0]<<24);q[i+4>>2]=k;i=r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24);q[h+1328>>2]=r[j|0]|r[j+1|0]<<8|(r[j+2|0]<<16|r[j+3|0]<<24);q[h+1332>>2]=i;Ul(a,h+1328|0);k=j+32|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+972>>2]=m-k;q[h+968>>2]=b;q[h+964>>2]=m;q[h+960>>2]=k;q[h+976>>2]=h+1392;q[h+956>>2]=c;q[h+952>>2]=g;q[h+948>>2]=n;q[h+944>>2]=126531;hj(h+1536|0,512,126072,h+944|0);q[h+928>>2]=h+1536;a=Bi(a,126215,h+928|0);break c;default:break s}}b=(s|0)==-1?135271:q[(s<<2)+267792>>2];q[h+600>>2]=j;q[h+596>>2]=E;q[h+592>>2]=b;a=Bi(a,126541,h+592|0);break c;case 4:k=JF(a,b,c,d,l,f,K)+l|0;if(m>>>0>=k>>>0){break p}j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+1036>>2]=m-k;q[h+1032>>2]=b;q[h+1028>>2]=m;q[h+1024>>2]=k;q[h+1040>>2]=h+1392;q[h+1020>>2]=c;q[h+1016>>2]=g;q[h+1012>>2]=n;q[h+1008>>2]=126605;hj(h+1536|0,512,126072,h+1008|0);q[h+992>>2]=h+1536;a=Bi(a,126215,h+992|0);break c;default:break q}}b=(s|0)==-1?135271:q[(s<<2)+267792>>2];q[h+184>>2]=l;q[h+180>>2]=E;q[h+176>>2]=b;a=Bi(a,126611,h+176|0);break c}$i(a,-3);if(k>>>0>m>>>0){j=0;Fi(h+1392|0,0,129);c=q[b+140>>2];if(c){l=q[b+144>>2];while(1){l=(((l|0)<1?127:-1)+l|0)%128|0;o[h+1392+(c+(j^-1))|0]=r[l+b|0];j=j+1|0;if((c|0)!=(j|0)){continue}break}}c=q[b+132>>2];b=q[b+136>>2];q[h+300>>2]=m-k;q[h+296>>2]=b;q[h+292>>2]=m;q[h+288>>2]=k;q[h+304>>2]=h+1392;q[h+284>>2]=c;q[h+280>>2]=g;q[h+276>>2]=n;q[h+272>>2]=126663;hj(h+1536|0,512,126072,h+272|0);q[h+256>>2]=h+1536;a=Bi(a,126215,h+256|0);break c}E=E+1|0;if((E|0)!=(n|0)){continue}break}}if((I+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}a=q[b+144>>2];q[b+144>>2]=a+1;o[a+b|0]=125;a=q[b+144>>2];if(a>>>0>t[b+140>>2]){q[b+140>>2]=a}q[b+144>>2]=a&127;a=k-e|0}ti=h+2048|0;return a}J(126412,125707,978,126443);G()}J(126672,125707,1067,126443);G()}function cC(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;m=ti+ -64|0;ti=m;a:{b:{c:{d:{e:{f:{g:{h:{switch(b-196|0){default:if((b|0)!=255){break g}q[215613]=164129;break e;case 25:c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];i:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break i}if(!q[c+32>>2]){d=b;break i}d=c+40|0;e=xi[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;j:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break j}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;k:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break k}if(!q[c+32>>2]){d=0;break k}b=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);l:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break l}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}if((f|d&255)!=4){q[215613]=164129;break e}c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];m:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break m}if(!q[c+32>>2]){g=0;d=b;break m}d=c+40|0;e=xi[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;n:{if(!e){g=0;o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break n}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;o:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break o}if(!q[c+32>>2]){d=0;break o}b=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);p:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break p}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}q[a+18436>>2]=f|d&255;a=1;break a;case 23:c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];q:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break q}if(!q[c+32>>2]){d=b;break q}d=c+40|0;e=xi[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;r:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break r}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;s:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break s}if(!q[c+32>>2]){d=0;break s}b=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);t:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break t}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}h=(f+(d&255)|0)-2|0;if((h|0)>=1){while(1){c=q[a>>2];b=q[c+172>>2];u:{v:{if(b>>>0>2]){q[c+172>>2]=b+1;d=r[b|0];break v}if(!q[c+32>>2]){l=0;f=1;break u}b=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);w:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break w}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}b=d&255;if(b>>>0>=32){q[215613]=164129;break e}l=d&15;if(l>>>0>3){break f}f=!(b&240)}e=0;while(1){b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];x:{if(!f){y:{if(c>>>0>d>>>0){g=d+1|0;q[b+172>>2]=g;j=r[d|0];break y}if(!q[b+32>>2]){j=0;g=d;break y}c=b+40|0;g=xi[q[b+16>>2]](q[b+28>>2],c,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;z:{if(!g){j=0;o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break z}j=r[b+40|0];c=c+g|0}q[d+176>>2]=c;g=b+41|0;q[b+172>>2]=g}i=j<<8;A:{if(c>>>0>g>>>0){q[b+172>>2]=g+1;c=r[g|0];break A}if(!q[b+32>>2]){c=0;break A}g=b+40|0;k=xi[q[b+16>>2]](q[b+28>>2],g,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;B:{if(!k){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;c=0;break B}g=g+k|0;c=r[b+40|0]}q[d+176>>2]=g;q[b+172>>2]=b+41}b=i|c&255;break x}C:{if(c>>>0>d>>>0){q[b+172>>2]=d+1;d=r[d|0];break C}if(!q[b+32>>2]){d=0;break C}d=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],d,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);D:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;d=0;break D}c=c+d|0;d=r[b+40|0]}q[b+176>>2]=c;q[b+172>>2]=b+41}b=d&255}p[(((l<<7)+a|0)+(r[e+164144|0]<<1)|0)+13444>>1]=b;e=e+1|0;if((e|0)!=64){continue}break}h=(f?-65:-129)+h|0;if((h|0)>0){continue}break}}a=!h;break a;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:case 19:case 20:case 21:case 22:case 24:break g;case 0:break h}}c=q[a>>2];b=q[c+172>>2];e=q[c+176>>2];E:{if(b>>>0>>0){d=b+1|0;q[c+172>>2]=d;g=r[b|0];break E}if(!q[c+32>>2]){d=b;break E}d=c+40|0;e=xi[q[c+16>>2]](q[c+28>>2],d,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);b=c;F:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break F}g=r[c+40|0];e=d+e|0}q[b+176>>2]=e;d=c+41|0;q[c+172>>2]=d}f=(g&255)<<8;G:{if(d>>>0>>0){q[c+172>>2]=d+1;d=r[d|0];break G}if(!q[c+32>>2]){d=0;break G}b=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],b,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);H:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break H}e=b+d|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}j=(f+(d&255)|0)-2|0;if((j|0)>=1){while(1){d=q[a>>2];b=q[d+172>>2];I:{if(b>>>0>2]){q[d+172>>2]=b+1;c=r[b|0];break I}if(!q[d+32>>2]){c=0;break I}e=d+40|0;f=xi[q[d+16>>2]](q[d+28>>2],e,q[d+36>>2])|0;q[d+168>>2]=q[d+168>>2]+(q[d+172>>2]-q[d+180>>2]|0);b=d;J:{if(!f){c=0;o[d+40|0]=0;q[d+32>>2]=0;e=d+41|0;break J}c=r[d+40|0];e=e+f|0}q[b+176>>2]=e;q[d+172>>2]=d+41}K:{f=c&255;if(f>>>0<=31){e=0;d=0;k=c&15;if(k>>>0<4){break K}}q[215613]=164129;break e}while(1){g=q[a>>2];b=q[g+172>>2];L:{if(b>>>0>2]){q[g+172>>2]=b+1;c=r[b|0];break L}if(!q[g+32>>2]){c=0;break L}b=g+40|0;c=xi[q[g+16>>2]](q[g+28>>2],b,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);M:{if(!c){o[g+40|0]=0;q[g+32>>2]=0;h=g+41|0;c=0;break M}h=b+c|0;c=r[g+40|0]}q[g+176>>2]=h;q[g+172>>2]=g+41}b=c&255;q[(d<<2)+m>>2]=b;e=b+e|0;d=d+1|0;if((d|0)!=16){continue}break}f=f&240;N:{if(!f){b=w(k,1680)+a|0;if(!hC(b+4|0,m)){break e}b=b+1028|0;break N}b=w(k,1680)+a|0;if(!hC(b+6724|0,m)){break e}b=b+7748|0}d=0;if(e){while(1){i=q[a>>2];c=q[i+172>>2];O:{if(c>>>0>2]){q[i+172>>2]=c+1;c=r[c|0];break O}if(!q[i+32>>2]){c=0;break O}c=i+40|0;g=xi[q[i+16>>2]](q[i+28>>2],c,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);P:{if(!g){o[i+40|0]=0;q[i+32>>2]=0;l=i+41|0;c=0;break P}l=c+g|0;c=r[i+40|0]}q[i+176>>2]=l;q[i+172>>2]=i+41}o[b+d|0]=c;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=0;if(f){while(1){d=w(k,1680)+a|0;c=r[(d+b|0)+6724|0];g=(((k<<10)+a|0)+(b<<1)|0)+13956|0;p[g>>1]=0;Q:{if((c|0)==255){break Q}d=c+d|0;f=r[d+7748|0];i=f&15;if(!i){break Q}d=r[d+8004|0];c=d+i|0;if(c>>>0>9){break Q}d=(b<>>9-i|0;d=((d|0)<1<>>0>255){break Q}p[g>>1]=(c+(f&240)|0)+(d<<8)}b=b+1|0;if((b|0)!=512){continue}break}}j=(j-17|0)-e|0;if((j|0)>0){continue}break}}a=!j;break a}R:{S:{T:{U:{V:{W:{if(!((b&-16)!=224?(b|0)!=254:0)){f=q[a>>2];d=q[f+172>>2];c=q[f+176>>2];X:{if(d>>>0>>0){e=d+1|0;q[f+172>>2]=e;h=r[d|0];break X}if(!q[f+32>>2]){e=d;break X}e=f+40|0;c=xi[q[f+16>>2]](q[f+28>>2],e,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);d=f;Y:{if(!c){o[f+40|0]=0;q[f+32>>2]=0;c=f+41|0;break Y}h=r[f+40|0];c=c+e|0}q[d+176>>2]=c;e=f+41|0;q[f+172>>2]=e}g=(h&255)<<8;Z:{if(c>>>0>e>>>0){q[f+172>>2]=e+1;e=r[e|0];break Z}if(!q[f+32>>2]){e=0;break Z}d=f+40|0;e=xi[q[f+16>>2]](q[f+28>>2],d,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);_:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;c=f+41|0;e=0;break _}c=d+e|0;e=r[f+40|0]}q[f+176>>2]=c;q[f+172>>2]=f+41}i=g|e&255;if(i>>>0<=1){q[215613]=164129;break e}if(!((b|0)!=224|i>>>0<7)){b=q[a>>2];e=q[b+172>>2];c=q[b+176>>2];$:{if(e>>>0>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break $}if(!q[b+32>>2]){h=0;d=e;break $}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;aa:{if(!c){h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break aa}h=r[b+40|0];e=c+e|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}if(c>>>0>d>>>0){break V}if(q[b+32>>2]){break W}g=0;break U}d=i-2|0;if((b|0)!=238|i>>>0<14){break c}b=q[a>>2];e=q[b+172>>2];c=q[b+176>>2];ba:{if(e>>>0>>0){d=e+1|0;q[b+172>>2]=d;h=r[e|0];break ba}if(!q[b+32>>2]){h=0;d=e;break ba}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ca:{if(!c){h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break ca}h=r[b+40|0];e=c+e|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}if(c>>>0>d>>>0){break S}if(q[b+32>>2]){break T}g=0;break R}q[215613]=164129;break e}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;da:{if(c){g=r[b+40|0];e=c+e|0;break da}g=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break U}e=d+1|0;q[b+172>>2]=e;g=r[d|0];d=e}f=(g&255)==70&(h&255)==74;ea:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break ea}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;fa:{if(c){h=r[b+40|0];e=c+e|0;break fa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break ea}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==73;ga:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break ga}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ha:{if(c){h=r[b+40|0];e=c+e|0;break ha}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break ga}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==70;ia:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){c=0;break ia}e=b+40|0;g=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ja:{if(g){c=r[b+40|0];e=e+g|0;break ja}c=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;break ia}q[b+172>>2]=d+1;c=r[d|0]}d=i-7|0;if(!(f&!(c&255))){break c}q[a+18404>>2]=1;break c}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ka:{if(c){g=r[b+40|0];e=c+e|0;break ka}g=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break R}e=d+1|0;q[b+172>>2]=e;g=r[d|0];d=e}f=(g&255)==100&(h&255)==65;la:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break la}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ma:{if(c){h=r[b+40|0];e=c+e|0;break ma}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break la}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==111;na:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break na}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;oa:{if(c){h=r[b+40|0];e=c+e|0;break oa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break na}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}f=f&(h&255)==98;pa:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){h=0;break pa}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;qa:{if(c){h=r[b+40|0];e=c+e|0;break qa}h=0;o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2];break pa}e=d+1|0;q[b+172>>2]=e;h=r[d|0];d=e}e=f&(h&255)==101;ra:{if(c>>>0<=d>>>0){if(!q[b+32>>2]){d=0;break ra}d=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],d,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);sa:{if(c){c=c+d|0;d=r[b+40|0];break sa}o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;d=0}q[b+176>>2]=c;q[b+172>>2]=b+41;break ra}q[b+172>>2]=d+1;d=r[d|0]}if(e&!(d&255)){break d}d=i-8|0;break b}q[215613]=164129}a=0;break a}b=q[a>>2];d=q[b+172>>2];c=q[b+176>>2];ta:{if(d>>>0>>0){d=d+1|0;q[b+172>>2]=d;break ta}if(!q[b+32>>2]){break ta}e=xi[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ua:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break ua}e=(b+e|0)+40|0}q[d+176>>2]=e;q[b+172>>2]=b+41;b=q[a>>2];c=q[b+176>>2];d=q[b+172>>2]}e=b;va:{if(c>>>0>d>>>0){d=d+1|0}else{if(!q[b+32>>2]){break va}c=xi[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;wa:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break wa}c=(b+c|0)+40|0}q[d+176>>2]=c;d=b+41|0}q[e+172>>2]=d}e=b;xa:{if(c>>>0>d>>>0){b=d+1|0}else{if(!q[b+32>>2]){break xa}c=xi[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;ya:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break ya}c=(b+c|0)+40|0}q[d+176>>2]=c;b=b+41|0}q[e+172>>2]=b}b=q[a>>2];d=q[b+172>>2];c=q[b+176>>2];za:{Aa:{if(d>>>0>>0){d=d+1|0;break Aa}if(!q[b+32>>2]){break za}e=xi[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Ba:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break Ba}c=(b+e|0)+40|0}q[d+176>>2]=c;d=b+41|0}q[b+172>>2]=d}e=b;Ca:{if(c>>>0>d>>>0){b=d+1|0}else{if(!q[b+32>>2]){break Ca}c=xi[q[b+16>>2]](q[b+28>>2],b+40|0,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);d=b;Da:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;c=b+41|0;break Da}c=(b+c|0)+40|0}q[d+176>>2]=c;b=b+41|0}q[e+172>>2]=b}e=q[a>>2];b=q[e+172>>2];Ea:{if(b>>>0>2]){q[e+172>>2]=b+1;d=r[b|0];break Ea}if(!q[e+32>>2]){d=0;break Ea}b=e+40|0;d=xi[q[e+16>>2]](q[e+28>>2],b,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);Fa:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;c=e+41|0;d=0;break Fa}c=b+d|0;d=r[e+40|0]}q[e+176>>2]=c;q[e+172>>2]=e+41}q[a+18408>>2]=d&255;d=i-14|0}if(d){break b}a=1;break a}c=q[a>>2];if((d|0)<=-1){q[c+172>>2]=q[c+176>>2];a=1;break a}Ga:{if(!q[c+16>>2]){a=q[c+172>>2];break Ga}e=q[c+176>>2];a=q[c+172>>2];b=e-a|0;if((b|0)>=(d|0)){break Ga}q[c+172>>2]=e;xi[q[c+20>>2]](q[c+28>>2],d-b|0);a=1;break a}q[c+172>>2]=a+d;a=1}ti=m- -64|0;return a}function fqa(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0,p=0,s=0,t=0,v=0;d=ti-12160|0;ti=d;q[d+308>>2]=4282;q[d+304>>2]=4276;Ai(2,1076,1083,d+304|0);q[242109]=a;q[242108]=1;q[d+9080>>2]=4282;q[d+9076>>2]=4276;q[d+9072>>2]=4343;o[d+9084|0]=r[277316];E$(d+9072|0);f=a;e=vn(1107);if(e){e=r[e|0]==49}else{e=0}o[f+441|0]=e;Fi(d+8048|0,0,1024);Fi(d+7024|0,0,1024);Fi(d+6e3|0,0,1024);o[d+6e3|0]=46;f=d+4976|0;o[f|0]=0;IG(q[c>>2],f);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((b|0)<2){break j}f=q[((b<<2)+c|0)-4>>2];if(r[f|0]==45){break j}zj(d+8048|0,f,1024);break i}f=d;e=3862;k:{if(!vn(3678)){break k}e=vn(3678)}q[f+288>>2]=e;hj(d+11136|0,1024,4350,d+288|0);q[d+272>>2]=e;hj(d+10112|0,1024,4366,d+272|0);q[d+3636>>2]=d+10112;q[d+3632>>2]=d+11136;uo(d+4976|0,4396,d+9088|0);q[d+3640>>2]=d+9088;if(!to(d+11136|0)){f=0;e=1;while(1){g=f;f=e;if((e|0)==3){break h}e=f+1|0;h=q[(d+3632|0)+(f<<2)>>2];if(!to(h)){continue}break}zj(d+8048|0,h,1024);if(g>>>0<2){break i}break h}zj(d+8048|0,d+11136|0,1024)}l:{f=wra(d+8048|0,b,c,a+4|0);if(f){if(r[a+442|0]){break l}q[d+244>>2]=f;q[d+240>>2]=d+8048;Ai(5,1076,1122,d+240|0);f=0;break c}IG(d+8048|0,d+6e3|0);zj(d+7024|0,d+6e3|0,1024);zj(d+11136|0,d+6e3|0,1024);Bk(d+11136|0,r[d+6e3|0]?1161:1177,1024);if(to(d+11136|0)){zj(d+7024|0,1192,1024);Bk(d+7024|0,d+11136|0,1024)}uo(d+4976|0,1223,d+11136|0);f=0;e=xm(q[a+4>>2],1237,0);if(e){uo(d+6e3|0,e,d+10112|0);f=d+10112|0}if(to(d+11136|0)){break g}break f}q[d+260>>2]=f;q[d+256>>2]=d+8048;Ai(4,1076,1122,d+256|0)}f=0;Ai(5,1076,1200,0);break c}if(xu(d+11136|0,d+9088|0)){break f}g=q[d+9088>>2];e=Ji(g);q[d+3632>>2]=0;g=yu(d+11136|0,e,g,d+3632|0);if(g){q[d+228>>2]=g;q[d+224>>2]=d+11136;Ai(4,1076,4410,d+224|0);yi(e);break f}g=q[d+3632>>2];h=q[d+9088>>2];if((g|0)!=(h|0)){q[d+212>>2]=g;q[d+208>>2]=h;Ai(4,1076,4449,d+208|0);yi(e);break f}g=UF(e,g);yi(e);if(!g){break e}}if(!f){break d}if(!to(f)){break d}if(xu(f,d+9088|0)){break d}g=q[d+9088>>2];e=Ji(g);q[d+3632>>2]=0;g=yu(f,e,g,d+3632|0);if(g){q[d+196>>2]=g;q[d+192>>2]=f;Ai(4,1076,4410,d+192|0);yi(e);break d}f=q[d+3632>>2];g=q[d+9088>>2];if((f|0)!=(g|0)){q[d+180>>2]=f;q[d+176>>2]=g;Ai(4,1076,4449,d+176|0);yi(e);break d}f=UF(e,f);yi(e);if(f){break d}}Ai(2,1076,1262,0)}if((Fj(q[a+4>>2],1287,1)|0)==1){va(1313,1741,0)|0}f=r[277316];e=Fj(q[a+4>>2],1742,1);o[d+4968|0]=r[1800];h=q[449];g=d+4960|0;q[g>>2]=q[448];q[g+4>>2]=h;g=q[447];q[d+4952>>2]=q[446];q[d+4956>>2]=g;g=q[445];q[d+4944>>2]=q[444];q[d+4948>>2]=g;h=0;g=f&(e|0)!=0;if((b|0)>0){f=0;while(1){e=q[(f<<2)+c>>2];m:{if(!tk(d+4944|0,e,24)){e=Oj(e,61);j=e+1|0;if(!tk(1861,j,4)){g=1;break m}if(!tk(1866,j,5)){g=0;break m}q[d+164>>2]=e;q[d+160>>2]=d+4944;Ai(3,1076,1872,d+160|0);break m}if(!tk(1801,e,11)){h=1;break m}if(!tk(1824,e,23)){l=1;break m}if(tk(1848,e,9)){if(tk(1858,e,2)){break m}}q[71998]=0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}Bra();f=d+4936|0;q[f>>2]=0;b=d;if(Fj(q[a+4>>2],1901,1)){Sb();c=0}else{c=16}o[b+4936|0]=c|r[d+4936|0]&239;Fi(d+4672|0,0,264);zu(d+4672|0);b=q[d+4932>>2];if(b){b=PO(b);o[d+4936|0]=r[d+4936|0]&223|((b|0)!=0)<<5}b=Fi(Oi(3484),0,3480);q[b+3480>>2]=r[f|0]<<1&126;q[a+412>>2]=b;b=d+4668|0;q[b>>2]=0;q[d+4660>>2]=0;q[d+4664>>2]=0;q[d+4656>>2]=q[a+4>>2];q[d+4660>>2]=0;q[d+4664>>2]=q[a+152>>2];q[b>>2]=q[a+412>>2];b=Npa(d+4656|0);n:{if(b){q[d+144>>2]=b;Ai(5,1076,1933,d+144|0);f=0;break n}b=0;o:{if(!Fj(q[a+4>>2],1970,0)){break o}c=xm(q[a+4>>2],1996,0);if(c){uo(c,1988,d+9088|0);q[d+448>>2]=d+9088;b=1}if(!(zj(d+3632|0,177788,1024)>>>0<1024?0:-21)){uo(d+3632|0,1988,d+2608|0);q[(d+448|0)+(b<<2)>>2]=d+2608;b=b+1|0}p:{if(!bF(xm(q[a+4>>2],2012,2039),d+1584|0)){uo(d+1584|0,1988,d+560|0);q[(d+448|0)+(b<<2)>>2]=d+560;b=b+1|0;break p}if(!b){break o}}f=0;while(1){c=Z6(q[(d+448|0)+(f<<2)>>2]);f=f+1|0;if(f>>>0>=b>>>0){break o}if(!c){continue}break}}c=0;j=xm(q[a+4>>2],2050,0);q[d+552>>2]=0;e=d+536|0;q[e+8>>2]=0;q[e>>2]=5;q[e+4>>2]=2;o[e+12|0]=r[e+12|0]&248;q[e>>2]=nj(xm(q[a+4>>2],2079,1069),1069)?3:5;q[e+4>>2]=nj(xm(q[a+4>>2],2115,1069),1069)?1:2;f=r[e+12|0]&-2|g;o[e+12|0]=f;q:{if(!h){b=Fj(q[a+4>>2],2151,0);f=r[e+12|0];if(!b){break q}}c=2}f=f&-3|c;o[e+12|0]=f;b=e;r:{if(!l){c=Fj(q[a+4>>2],2174,0);f=r[e+12|0];g=0;if(!c){break r}}g=4}o[b+12|0]=g|f&251;f=0;q[e+8>>2]=Fj(q[a+4>>2],2204,0)<<20;b=xi[q[77417]](e)|0;q[a+216>>2]=b;s:{if(!b){Ai(5,1076,2225,0);break s}q[a+468>>2]=Fj(q[a+4>>2],2264,960);q[a+472>>2]=Fj(q[a+4>>2],2278,640);i=+ym(q[a+4>>2],2293,x(0))*255;t:{if(i<4294967296&i>=0){b=~~i>>>0;break t}b=0}b=b&255;i=+ym(q[a+4>>2],2316,x(0))*255;u:{if(i<4294967296&i>=0){c=~~i>>>0;break u}c=0}e=b|c<<8&65280;b=a;i=+ym(q[a+4>>2],2341,x(0))*255;v:{if(i<4294967296&i>=0){c=~~i>>>0;break v}c=0}c=c<<16&16711680|e;i=+ym(q[a+4>>2],2365,x(0))*255;w:{if(i<4294967296&i>=0){e=~~i>>>0;break w}e=0}c=c|e<<24;q[b+476>>2]=c;b=hca(d+1584|0);q[b+28>>2]=a;q[b+24>>2]=2;q[b+20>>2]=a;q[b+16>>2]=3;q[b+12>>2]=a;q[b+8>>2]=4;q[b+4>>2]=a;q[b>>2]=5;q[b+32>>2]=q[a+468>>2];q[b+36>>2]=q[a+472>>2];q[b+40>>2]=Fj(q[a+4>>2],2390,0);q[b+44>>2]=xm(q[a+4>>2],2406,2420);o[b+48|0]=(Fj(q[a+4>>2],2430,0)|0)!=0;o[b+49|0]=(Fj(q[a+4>>2],2449,0)|0)!=0;e=Fj(q[a+4>>2],2477,0);q[b+52>>2]=c;o[b+50|0]=(e|0)!=0;b=xi[q[77422]](q[a+216>>2],b)|0;if(b){q[d+128>>2]=b;Ai(5,1076,2494,d+128|0);break s}l=xi[q[77426]](q[a+216>>2])|0;b=xi[q[77429]](q[a+216>>2])|0;c=xi[q[77430]](q[a+216>>2])|0;u[a+480>>2]=x(1)/x(b>>>0);u[a+484>>2]=x(1)/x(c>>>0);q[a+464>>2]=Fj(q[a+4>>2],2522,60);q[77107]=c;q[77106]=b;q[a+460>>2]=Fj(q[a+4>>2],2552,0);b=Fj(q[a+4>>2],2577,1);b=(m=Fj(q[a+4>>2],2591,1),n=0,p=b,p?m:n);xi[q[77437]](q[a+216>>2],(b|0)>0?b:0);b=Fj(q[a+4>>2],q[60712],1024);q[d+584>>2]=0;q[d+588>>2]=0;q[d+576>>2]=0;q[d+580>>2]=0;q[d+568>>2]=0;q[d+572>>2]=0;q[d+564>>2]=0;q[d+568>>2]=0;q[d+560>>2]=1024;q[d+572>>2]=0;q[d+576>>2]=0;q[d+580>>2]=0;q[d+584>>2]=0;q[d+588>>2]=0;q[d+564>>2]=0;q[d+560>>2]=b;q[74728]=0;b4();x:{if(!r[277316]){break x}q[d+564>>2]=1;if(!Fj(q[a+4>>2],2613,1)){break x}q[d+564>>2]=q[d+564>>2]|4}if(Fj(q[a+4>>2],2633,1)){q[d+564>>2]=q[d+564>>2]|8}q[d+572>>2]=q[55536];q[d+580>>2]=q[59185];q[d+588>>2]=q[59568];q[d+576>>2]=222160;q[d+568>>2]=220656;q[d+584>>2]=236752;b=xm(q[a+4>>2],2652,d+7024|0);q[d+112>>2]=b;Ai(2,1076,2665,d+112|0);b=n4(d+560|0,b);q[a+288>>2]=b;if(!b){break s}g=a+392|0;q[81758]=0;h=Fj(q[a+4>>2],2687,0);b=Cy(q[a+4>>2],q[a+288>>2]);y:{if(h){q[a+272>>2]=b;Hu(b);b=q[a+272>>2];q[a+284>>2]=b;q[a+280>>2]=b;q[a+276>>2]=b;if(o[a+404|0]&1){break a}f=a+396|0;Ii(1,4,g,a+400|0,f);e=q[a+396>>2];b=a+272|0;if((e|0)!=q[a+400>>2]){break y}break b}q[a+276>>2]=b;Hu(b);b=Cy(q[a+4>>2],q[a+288>>2]);q[a+280>>2]=b;Hu(b);b=Cy(q[a+4>>2],q[a+288>>2]);q[a+284>>2]=b;Hu(b);if(o[a+404|0]&1){break a}f=a+396|0;Ii(3,4,g,a+400|0,f);b=q[a+396>>2];if((b|0)==q[a+400>>2]){break b}q[a+396>>2]=b+4;q[b>>2]=q[a+276>>2];b=q[a+396>>2];if((b|0)==q[a+400>>2]){break b}q[a+396>>2]=b+4;q[b>>2]=q[a+280>>2];e=q[a+396>>2];if((e|0)==q[a+400>>2]){break b}b=a+284|0}b=q[b>>2];q[f>>2]=e+4;q[e>>2]=b;e0(d+496|0);o[d+528|0]=0;q[d+496>>2]=2707;z:{if(!j0(q[a+4>>2],d+496|0)){q[d+96>>2]=q[d+496>>2];Ai(2,1076,2715,d+96|0);break z}Ai(3,1076,2745,0)}b=zna(q[a+152>>2],Fj(q[a+4>>2],q[59616],1024));if(b){q[d+80>>2]=b;Ai(5,1076,2780,d+80|0);f=0;break s}b=q[a+152>>2];c=Fj(q[a+4>>2],q[59617],16);if(!b){J(7277,7291,256,7382);G()}q[b+29104>>2]=c;b=d+448|0;q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=1024;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+16>>2]=16;c=Fj(q[a+4>>2],2834,1024);q[b+24>>2]=32;q[b+20>>2]=c;q[b+8>>2]=219824;c=q[55086];q[b+12>>2]=220352;q[b+28>>2]=c;q[b+32>>2]=q[55162];c=Fj(q[a+4>>2],2858,8192);q[b+40>>2]=1024;q[b+36>>2]=c;q[b>>2]=q[a+280>>2];q[b+44>>2]=Fj(q[a+4>>2],2882,1e4);q[a+220>>2]=K5(q[a+216>>2],b);Roa(q[a+152>>2],q[a+276>>2]);q[a+248>>2]=q[a+288>>2];q[a+252>>2]=q[a+220>>2];q[a+256>>2]=Fj(q[a+4>>2],q[67554],64);q[a+264>>2]=Fj(q[a+4>>2],q[67555],64);f=0;b=Fj(q[a+4>>2],q[67556],1024);o[a+268|0]=0;q[a+260>>2]=b;q[d+432>>2]=q[a+412>>2];u[d+436>>2]=ym(q[a+4>>2],2910,x(.5));u[d+440>>2]=ym(q[a+4>>2],2929,x(.20000000298023224));b=k7(d+432|0);q[a+416>>2]=b;c=q[a+412>>2];q[c+3468>>2]=b;q[c+3464>>2]=6;b8(q[a+412>>2]);b=Uq(2951,a+296|0);if(b){q[d+68>>2]=b;q[d+64>>2]=2951;Ai(5,1076,2959,d- -64|0);break s}if((Fj(q[a+4>>2],2999,-1)|0)!=-1){Ai(3,1076,3022,0)}P8(d+392|0);b=q[a+284>>2];q[d+408>>2]=7;q[d+404>>2]=8;q[d+400>>2]=9;q[d+396>>2]=10;q[d+392>>2]=b;b=xi[q[77429]](q[a+216>>2])|0;q[d+416>>2]=xi[q[77430]](q[a+216>>2]);q[d+412>>2]=b;q[d+420>>2]=q[a+468>>2];b=q[a+472>>2];q[d+428>>2]=l;q[d+424>>2]=b;q[a+292>>2]=d9(d+392|0);b=j6(d+2608|0);q[b+16>>2]=Fj(q[a+4>>2],3092,4);c=xm(q[a+4>>2],3112,3125);u[b>>2]=ym(q[a+4>>2],3128,x(0));u[b+4>>2]=ym(q[a+4>>2],3146,x(-10));u[b+8>>2]=ym(q[a+4>>2],3164,x(0));u[b+20>>2]=ym(q[a+4>>2],3182,x(1));q[b+36>>2]=Fj(q[a+4>>2],3196,64);q[b+40>>2]=Fj(q[a+4>>2],3222,128);q[b+44>>2]=Fj(q[a+4>>2],3248,16);u[b+32>>2]=ym(q[a+4>>2],3281,x(1));k=u[b+20>>2];A:{if(k>x(1)^1?!(k>2]=0;q[d+60>>2]=1072693248;q[d+48>>2]=1073741824;q[d+52>>2]=1065646817;Ai(3,1076,3308,d+48|0);k=u[b+20>>2];if(!(k>2]=1008981770;break A}if(k>x(1)^1){break A}q[b+20>>2]=1065353216}u[b+24>>2]=ym(q[a+4>>2],3377,x(0));f=Fj(q[a+4>>2],3407,1);o[b+48|0]=r[b+48|0]&254|(f|0)!=0;B:{if(!Em(c,3440)){o[a+241|0]=1;break B}if(!Em(c,3125)){o[a+241|0]=0;break B}q[d+32>>2]=c;Ai(3,1076,3443,d+32|0);o[a+241|0]=0}q[a+224>>2]=0;q[a+232>>2]=Fj(q[a+4>>2],q[60917],128);q[a+228>>2]=Fj(q[a+4>>2],q[60918],64);q[a+236>>2]=Fj(q[a+4>>2],q[60919],128);f=0;o[a+242|0]=(Fj(q[a+4>>2],q[60920],1)|0)!=0;q[a+244>>2]=Fj(q[a+4>>2],q[60921],2);o[a+240|0]=(Fj(q[a+4>>2],3489,0)|0)!=0;q[a+304>>2]=q[a+220>>2];q[a+308>>2]=Fj(q[a+4>>2],3503,128);b=Fj(q[a+4>>2],3520,1);q[a+348>>2]=q[a+220>>2];q[a+352>>2]=q[a+288>>2];o[a+312|0]=r[a+312|0]&254|b&1;q[a+356>>2]=Fj(q[a+4>>2],3537,128);q[a+360>>2]=q[a+220>>2];q[a+364>>2]=Fj(q[a+4>>2],3553,64);b=Fj(q[a+4>>2],3569,1);q[a+372>>2]=q[a+220>>2];o[a+368|0]=r[a+368|0]&254|b&1;q[a+376>>2]=Fj(q[a+4>>2],3585,16);q[a+380>>2]=Fj(q[a+4>>2],3603,2048);q[a+384>>2]=Fj(q[a+4>>2],3626,32);q[a+388>>2]=Fj(q[a+4>>2],3652,256);q[a+316>>2]=q[a+288>>2];q[a+320>>2]=Fj(q[a+4>>2],q[60916],8);q[a+332>>2]=Fj(q[a+4>>2],q[60922],128);q[a+324>>2]=q[a+288>>2];q[a+344>>2]=Fj(q[a+4>>2],q[60915],128);q[a+336>>2]=q[a+288>>2];b=q[(h?272:276)+a>>2];q[a+328>>2]=b;q[a+340>>2]=b;q[d+376>>2]=0;q[d+380>>2]=0;q[d+384>>2]=0;q[d+388>>2]=0;q[d+368>>2]=0;q[d+372>>2]=0;q[d+380>>2]=-1;q[d+360>>2]=0;q[d+364>>2]=0;mL(a,d+344|0);b=d+320|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;h=vn(3678);e=zi(3688);q[d+9088>>2]=q[a+152>>2];c=a+176|0;wm(c,e,wi,d+9088|0);e=zi(3692);q[d+9088>>2]=q[a+152>>2];wm(c,e,wi,d+9088|0);e=zi(3704);q[d+9088>>2]=g;wm(c,e,wi,d+9088|0);e=zi(3709);q[d+9088>>2]=q[a+276>>2];wm(c,e,wi,d+9088|0);if(q[a+292>>2]){e=zi(3717);q[d+9088>>2]=q[a+284>>2];wm(c,e,wi,d+9088|0);e=zi(3729);q[d+9088>>2]=q[a+292>>2];wm(c,e,wi,d+9088|0)}C:{if(m4(q[a+288>>2],c)){break C}c=a+224|0;if($ha(q[a+288>>2],q[a+220>>2],q[a+416>>2],c)){break C}if(bia(q[a+288>>2],q[a+152>>2],q[a+220>>2],c,a+248|0,a+304|0,a+316|0,a+324|0,a+336|0,a+348|0,a+360|0,a+372|0,a+384|0)){break C}if(bpa(d+344|0)){break C}if(!dqa(a,q[a+4>>2])){Ai(4,1076,3734,0);break C}q[q[a+292>>2]+172>>2]=q[a+408>>2];q[q[a+292>>2]+176>>2]=q[a+424>>2];xi[q[77435]](q[a+216>>2]);c=q[a+216>>2];e=xi[q[77429]](c)|0;n=c,p=0,s=0,t=e,v=xi[q[77430]](q[a+216>>2])|0,m=q[77478],xi[m](n|0,p|0,s|0,t|0,v|0);c=q[a+476>>2];xi[q[77438]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);xi[q[77436]](q[a+216>>2]);xi[q[77435]](q[a+216>>2]);c=q[a+216>>2];e=xi[q[77429]](c)|0;v=c,t=0,s=0,p=e,n=xi[q[77430]](q[a+216>>2])|0,m=q[77478],xi[m](v|0,t|0,s|0,p|0,n|0);c=q[a+476>>2];xi[q[77438]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);xi[q[77436]](q[a+216>>2]);xi[q[77435]](q[a+216>>2]);c=q[a+216>>2];e=xi[q[77429]](c)|0;n=c,p=0,s=0,t=e,v=xi[q[77430]](q[a+216>>2])|0,m=q[77478],xi[m](n|0,p|0,s|0,t|0,v|0);c=q[a+476>>2];xi[q[77438]](q[a+216>>2],1,c&255,c>>>8&255,c>>>16&255,c>>>24|0,x(1),0);xi[q[77436]](q[a+216>>2]);D:{c=q[a+428>>2];if(!c){break D}if((Qu(q[c+24>>2],0,0)|0)==1){break D}Ai(5,1076,3765,0);break C}q[b+4>>2]=q[a+288>>2];q[b+8>>2]=q[a+152>>2];q[b+12>>2]=q[a+412>>2];q[b+16>>2]=q[a+216>>2];e=q[a+272>>2];E:{if(e){q[b>>2]=e?q[e+120>>2]:0;if(kA(b)){break E}break C}c=b;g=q[a+276>>2];e=0;F:{if(!g){break F}e=q[g+120>>2]}q[c>>2]=e;if(!kA(b)){break C}c=b;g=q[a+284>>2];e=0;G:{if(!g){break G}e=q[g+120>>2]}q[c>>2]=e;if(!kA(b)){break C}}if(Nj(q[a+288>>2],xm(q[a+4>>2],3805,3831),a+156|0)){break C}Zs(q[a+156>>2]);q[a+208>>2]=0;q[d+16>>2]=h?3855:3862;hj(d+9088|0,512,3863,d+16|0);if(!mq(d+9088|0,d+3632|0)){q[a+208>>2]=q[d+3696>>2]}if(j){b=Jk(j);f=Xo(b,3894,d+9088|0);if(f){e=0;while(1){H:{if(!Fl(q[a+288>>2],f,d+3632|0)){wna(q[a+152>>2],q[d+3632>>2],e&65535);e=e+1|0;break H}q[d>>2]=f;Ai(4,1076,3896,d)}f=Xo(0,3894,d+9088|0);if(f){continue}break}}yi(b)}vna(q[a+152>>2]);q[a+448>>2]=pk();q[a+452>>2]=wi;f=1}if(o[d+388|0]&1){break s}a=q[d+368>>2];if(a){yi(a)}a=q[d+360>>2];if(!a){break s}yi(a)}}a=q[d+4932>>2];if(!a){break c}yi(a)}ti=d+12160|0;return f}J(4709,4653,533,4733);G()}J(5187,4653,493,5022);G()}function sZ(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,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,H=0,I=0,J=0;u=ti-16|0;ti=u;B=-2;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}v=q[a+12>>2];if(!v){break a}g=q[a>>2];if(q[a+4>>2]?!g:0){break a}c=q[b>>2];if((c|0)==11){q[b>>2]=12;c=12}J=b+88|0;D=b+752|0;G=b+112|0;H=b+84|0;E=b+108|0;C=b+1328|0;d=q[b+60>>2];e=q[b+56>>2];I=q[a+4>>2];h=I;n=q[a+16>>2];A=n;b:{c:{d:while(1){e:{f=-3;j=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:{switch(c|0){case 23:j=q[b+72>>2];break x;case 21:j=q[b+72>>2];break z;case 18:j=q[b+104>>2];break N;case 0:f=q[b+8>>2];if(!f){break H}if(d>>>0<16){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}if(!(!(f&2)|(e|0)!=35615)){e=0;c=el(0,0,0);q[b+24>>2]=c;o[u+12|0]=31;o[u+13|0]=139;c=el(c,u+12|0,2);q[b>>2]=1;q[b+24>>2]=c;d=0;c=q[b>>2];continue}q[b+16>>2]=0;c=q[b+32>>2];if(c){q[c+48>>2]=-1}if(!(((e<<8&65280)+(e>>>8|0)>>>0)%31|0?0:f&1)){q[a+24>>2]=187350;q[b>>2]=29;c=q[b>>2];continue}if((e&15)!=8){q[a+24>>2]=187373;q[b>>2]=29;c=q[b>>2];continue}c=e>>>4|0;i=c&15;j=i+8|0;f=q[b+36>>2];if(!f){q[b+36>>2]=j;break f}if(f>>>0>=j>>>0){break f}d=d-4|0;q[a+24>>2]=187400;q[b>>2]=29;e=c;c=q[b>>2];continue;case 1:if(d>>>0<16){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}q[b+16>>2]=e;if((e&255)!=8){q[a+24>>2]=187373;q[b>>2]=29;c=q[b>>2];continue}if(e&57344){q[a+24>>2]=187420;q[b>>2]=29;c=q[b>>2];continue}c=q[b+32>>2];if(c){q[c>>2]=e>>>8&1}if(e&512){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=el(q[b+24>>2],u+12|0,2)}q[b>>2]=2;d=0;e=0;break da;case 28:break h;case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 24:break w;case 22:break y;case 27:break I;case 26:break J;case 25:break K;case 30:break b;case 20:break L;case 19:break M;case 17:break Q;case 16:break R;case 15:break S;case 14:break T;case 13:break U;case 29:break c;case 11:case 12:break V;case 10:break W;case 9:break X;case 4:break _;case 3:break ba;case 2:break ea;default:break a}}if(d>>>0>31){break ca}}c=g;while(1){if(!h){h=0;g=c;f=z;break c}h=h-1|0;e=(r[c|0]<>>0<24;d=d+8|0;g=c+1|0;c=g;if(f){continue}break}}c=q[b+32>>2];if(c){q[c+4>>2]=e}if(r[b+17|0]&2){o[u+12|0]=e;o[u+13|0]=e>>>8;o[u+14|0]=e>>>16;o[u+15|0]=e>>>24;q[b+24>>2]=el(q[b+24>>2],u+12|0,4)}q[b>>2]=3;d=0;e=0;break aa}if(d>>>0>15){break $}}c=g;while(1){if(!h){h=0;g=c;f=z;break c}h=h-1|0;e=(r[c|0]<>>0<8;d=d+8|0;g=c+1|0;c=g;if(f){continue}break}}c=q[b+32>>2];if(c){q[c+12>>2]=e>>>8;q[c+8>>2]=e&255}if(r[b+17|0]&2){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=el(q[b+24>>2],u+12|0,2)}q[b>>2]=4;c=0;d=0;e=0;j=q[b+16>>2];if(j&1024){break Z}break p}j=q[b+16>>2];if(!(j&1024)){c=d;break p}c=e;if(d>>>0>15){break Y}}while(1){if(!h){h=0;e=c;f=z;break c}h=h-1|0;c=(r[g|0]<>>0<8;d=d+8|0;f=g+1|0;g=f;if(i){continue}break}g=f;e=c}q[b+64>>2]=e;c=q[b+32>>2];if(c){q[c+20>>2]=e}d=0;if(j&512){o[u+12|0]=e;o[u+13|0]=e>>>8;q[b+24>>2]=el(q[b+24>>2],u+12|0,2)}e=0;break o}if(d>>>0<32){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}c=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=10;e=0;d=0}if(!q[b+12>>2]){q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;B=2;break a}c=fq(0,0,0);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=11}fa:{ga:{if(!q[b+4>>2]){c=d;f=c;if(c>>>0>2){break fa}if(h){break ga}break j}q[b>>2]=26;e=e>>>(d&7)|0;d=d&-8;c=q[b>>2];continue}h=h-1|0;e=(r[g|0]<>2]=e&1;d=13;ha:{ia:{ja:{switch((e>>>1&3)-1|0){case 0:q[b+84>>2]=9;q[b+88>>2]=5;q[b>>2]=19;q[b+76>>2]=187824;q[b+80>>2]=189872;break ha;case 1:d=16;break ia;case 2:break ja;default:break ia}}q[a+24>>2]=187465;d=29}q[b>>2]=d}d=c-3|0;e=e>>>3|0;c=q[b>>2];continue}e=e>>>(d&7)|0;d=d&-8;if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}c=e&65535;if((c|0)!=((e^-1)>>>16|0)){q[a+24>>2]=187484;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=14;q[b+64>>2]=c;e=0;d=0}q[b>>2]=15}c=q[b+64>>2];if(c){c=c>>>0>h>>>0?h:c;f=c>>>0>n>>>0?n:c;if(!f){break i}c=Gi(v,g,f);q[b+64>>2]=q[b+64>>2]-f;v=c+f|0;n=n-f|0;g=g+f|0;h=h-f|0;c=q[b>>2];continue}q[b>>2]=11;c=q[b>>2];continue}if(d>>>0<14){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<6;d=d+8|0;g=g+1|0;if(c){continue}break}}f=e&31;q[b+96>>2]=f+257;c=e>>>5&31;q[b+100>>2]=c+1;i=(e>>>10&15)+4|0;q[b+92>>2]=i;d=d-14|0;e=e>>>14|0;if(!(c>>>0<30?f>>>0<=29:0)){q[a+24>>2]=187513;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=17;c=0;q[b+104>>2]=0;break P}c=q[b+104>>2];i=q[b+92>>2];if(c>>>0>=i>>>0){break O}}f=c;while(1){if(d>>>0<=2){if(!h){break e}h=h-1|0;e=(r[g|0]<>2]=c;p[((s[(f<<1)+187312>>1]<<1)+b|0)+112>>1]=e&7;d=d-3|0;e=e>>>3|0;f=c;if(i>>>0>c>>>0){continue}break}}if(c>>>0<19){while(1){p[((s[(c<<1)+187312>>1]<<1)+b|0)+112>>1]=0;c=c+1|0;if((c|0)!=19){continue}break}q[b+104>>2]=19}q[b+84>>2]=7;q[b+76>>2]=C;q[b+108>>2]=C;j=0;z=Xx(0,G,19,E,H,D);if(z){q[a+24>>2]=187549;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=18;q[b+104>>2]=0;z=0}x=q[b+96>>2];m=x+q[b+100>>2]|0;if(m>>>0>j>>>0){w=-1<>2]^-1;F=q[b+76>>2];while(1){k=d;c=h;f=g;y=e&w;l=r[((y<<2)+F|0)+1|0];ka:{if(l>>>0<=d>>>0){i=d;break ka}while(1){if(!c){break G}l=r[f|0]<>>0>i>>>0){continue}break}}h=s[((y<<2)+F|0)+2>>1];la:{if(h>>>0<=15){g=j+1|0;q[b+104>>2]=g;p[((j<<1)+b|0)+112>>1]=h;d=i-l|0;e=e>>>l|0;j=g;break la}ma:{na:{oa:{switch(h-16|0){case 0:g=l+2|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=i-l|0;i=e>>>l|0;if(!j){q[a+24>>2]=187574;q[b>>2]=29;g=f;h=c;e=i;c=q[b>>2];continue d}d=d-2|0;e=i>>>2|0;h=(i&3)+3|0;g=s[((j<<1)+b|0)+110>>1];break ma;case 1:g=l+3|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=(i-l|0)-3|0;g=e>>>l|0;e=g>>>3|0;h=(g&7)+3|0;break na;default:break oa}}g=l+7|0;if(g>>>0>i>>>0){while(1){if(!c){break q}c=c-1|0;e=(r[f|0]<>>0>i>>>0){continue}break}}d=(i-l|0)-7|0;g=e>>>l|0;e=g>>>7|0;h=(g&127)+11|0}g=0}if(m>>>0>>0){q[a+24>>2]=187574;q[b>>2]=29;g=f;h=c;c=q[b>>2];continue d}while(1){p[((j<<1)+b|0)+112>>1]=g;j=j+1|0;h=h-1|0;if(h){continue}break}q[b+104>>2]=j}g=f;h=c;if(j>>>0>>0){continue}break}}if(!s[b+624>>1]){q[a+24>>2]=187600;q[b>>2]=29;c=q[b>>2];continue}q[b+84>>2]=9;q[b+76>>2]=C;q[b+108>>2]=C;z=Xx(1,G,x,E,H,D);if(z){q[a+24>>2]=187637;q[b>>2]=29;c=q[b>>2];continue}q[b+88>>2]=6;q[b+80>>2]=q[b+108>>2];z=Xx(2,((q[b+96>>2]<<1)+b|0)+112|0,q[b+100>>2],E,J,D);if(z){q[a+24>>2]=187665;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=19;z=0}q[b>>2]=20}if(!(n>>>0<258|h>>>0<6)){q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;pZ(a,A);d=q[b+60>>2];e=q[b+56>>2];h=q[a+4>>2];g=q[a>>2];n=q[a+16>>2];v=q[a+12>>2];if(q[b>>2]!=11){break v}q[b+7108>>2]=-1;c=q[b>>2];continue}q[b+7108>>2]=0;j=d;c=h;f=g;w=q[b+76>>2];x=-1<>2]^-1;l=x&e;k=r[(w+(l<<2)|0)+1|0];pa:{if(k>>>0<=d>>>0){i=d;break pa}while(1){if(!c){break E}k=r[f|0]<>>0>i>>>0){continue}break}}d=k;g=w+(l<<2)|0;y=s[g+2>>1];m=r[g|0];if(!m|m&240){break B}h=c;g=f;j=i;x=-1<>>d|0)+y|0;k=r[(w+(m<<2)|0)+1|0];qa:{if(i>>>0>=k+d>>>0){l=i;break qa}while(1){if(!h){break F}k=r[g|0]<>>d|0)+y|0;k=r[(w+(m<<2)|0)+1|0];if(j>>>0>>0){continue}break}}c=w+(m<<2)|0;m=r[c|0];y=s[c+2>>1];q[b+7108>>2]=d;i=l-d|0;e=e>>>d|0;break A}if(!n){break i}o[v|0]=q[b+64>>2];q[b>>2]=20;n=n-1|0;v=v+1|0;c=q[b>>2];continue}if(q[b+8>>2]){if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}j=A-n|0;q[a+20>>2]=j+q[a+20>>2];q[b+28>>2]=j+q[b+28>>2];ra:{if(!j){c=q[b+24>>2];break ra}i=v-j|0;f=q[b+24>>2];k=b;sa:{if(q[b+16>>2]){c=el(f,i,j);break sa}c=fq(f,i,j)}q[k+24>>2]=c;q[a+48>>2]=c}if(((q[b+16>>2]?e:e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))|0)!=(c|0)){break D}e=0;A=n;d=0}q[b>>2]=27}if(!(!q[b+8>>2]|!q[b+16>>2])){if(d>>>0<=31){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<24;d=d+8|0;g=g+1|0;if(c){continue}break}}if(q[b+28>>2]!=(e|0)){break C}e=0;d=0}q[b>>2]=28;f=1;break c}q[b>>2]=12;break v}g=g+h|0;d=(h<<3)+d|0;break e}g=c+f|0;d=(c<<3)+i|0;break e}g=g+h|0;d=(h<<3)+d|0;break e}q[a+24>>2]=187767;q[b>>2]=29;A=n;c=q[b>>2];continue}q[a+24>>2]=187788;q[b>>2]=29;c=q[b>>2];continue}d=0;g=f;h=c}q[b+64>>2]=y&65535;q[b+7108>>2]=d+k;d=i-k|0;e=e>>>k|0;if(!m){q[b>>2]=25;c=q[b>>2];continue}if(m&32){q[b>>2]=11;q[b+7108>>2]=-1;c=q[b>>2];continue}if(m&64){q[a+24>>2]=187687;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=21;j=m&15;q[b+72>>2]=j}i=g;k=h;ta:{if(!j){f=q[b+64>>2];break ta}f=g;c=d;if(j>>>0>c>>>0){while(1){if(!h){break r}h=h-1|0;e=(r[f|0]<>>0>c>>>0){continue}break}}q[b+7108>>2]=q[b+7108>>2]+j;f=q[b+64>>2]+((-1<>2]=f;d=c-j|0;e=e>>>j|0}q[b>>2]=22;q[b+7112>>2]=f}j=d;c=h;f=g;w=q[b+80>>2];x=-1<>2]^-1;l=x&e;k=r[(w+(l<<2)|0)+1|0];ua:{if(k>>>0<=d>>>0){i=d;break ua}while(1){if(!c){break s}k=r[f|0]<>>0>i>>>0){continue}break}}g=w+(l<<2)|0;y=s[g+2>>1];m=r[g|0];va:{if(m&240){d=q[b+7108>>2];g=f;h=c;j=k;break va}h=c;g=f;d=i;x=-1<>>k|0)+y|0;j=r[(w+(m<<2)|0)+1|0];wa:{if(d>>>0>=k+j>>>0){l=i;break wa}while(1){if(!h){break t}j=r[g|0]<>>k|0)+y|0;j=r[(w+(m<<2)|0)+1|0];if(d>>>0>>0){continue}break}}c=w+(m<<2)|0;m=r[c|0];y=s[c+2>>1];d=q[b+7108>>2]+k|0;q[b+7108>>2]=d;i=l-k|0;e=e>>>k|0}q[b+7108>>2]=d+j;d=i-j|0;e=e>>>j|0;if(m&64){q[a+24>>2]=187715;q[b>>2]=29;c=q[b>>2];continue}q[b>>2]=23;j=m&15;q[b+72>>2]=j;q[b+68>>2]=y&65535}i=g;k=h;if(j){f=g;c=d;if(j>>>0>c>>>0){while(1){if(!h){break u}h=h-1|0;e=(r[f|0]<>>0>c>>>0){continue}break}}q[b+7108>>2]=q[b+7108>>2]+j;q[b+68>>2]=q[b+68>>2]+((-1<>>j|0;d=c-j|0}q[b>>2]=24}if(!n){break i}j=q[b+68>>2];c=A-n|0;xa:{if(j>>>0>c>>>0){c=j-c|0;if(!(!q[b+7104>>2]|c>>>0<=t[b+44>>2])){q[a+24>>2]=187737;q[b>>2]=29;c=q[b>>2];continue}f=q[b+48>>2];ya:{if(f>>>0>>0){c=c-f|0;j=q[b+40>>2]-c|0;break ya}j=f-c|0}i=q[b+64>>2];f=c>>>0>i>>>0?i:c;c=j+q[b+52>>2]|0;break xa}i=q[b+64>>2];f=i;c=v-j|0}j=i;i=f>>>0>n>>>0?n:f;q[b+64>>2]=j-i;f=i;while(1){o[v|0]=r[c|0];v=v+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}n=n-i|0;if(q[b+64>>2]){break v}q[b>>2]=20;c=q[b>>2];continue}c=q[b>>2];continue}g=i+k|0;d=(k<<3)+d|0;break e}g=c+f|0;d=(c<<3)+i|0;break e}g=g+h|0;d=(h<<3)+d|0;break e}g=i+k|0;d=(k<<3)+d|0;break e}h=0;g=f;d=i;f=z;break c}f=q[b+32>>2];if(f){q[f+16>>2]=0}d=c}q[b>>2]=5}j=q[b+16>>2];if(j&1024){c=q[b+64>>2];k=c>>>0>h>>>0?h:c;if(k){i=q[b+32>>2];za:{if(!i){break za}f=q[i+16>>2];if(!f){break za}j=f;f=q[i+20>>2]-c|0;c=q[i+24>>2];Gi(j+f|0,g,c>>>0>>0?c-f|0:k);j=q[b+16>>2]}if(j&512){q[b+24>>2]=el(q[b+24>>2],g,k)}c=q[b+64>>2]-k|0;q[b+64>>2]=c;h=h-k|0;g=g+k|0}if(c){break i}}q[b>>2]=6;q[b+64>>2]=0}Aa:{if(r[b+17|0]&8){f=0;if(!h){break j}while(1){c=f+1|0;j=r[g+f|0];i=q[b+32>>2];Ba:{if(!i){break Ba}f=q[i+28>>2];if(!f){break Ba}k=q[i+32>>2];i=q[b+64>>2];if(k>>>0<=i>>>0){break Ba}q[b+64>>2]=i+1;o[f+i|0]=j}if(c>>>0>>0){f=c;if(j){continue}}break}if(r[b+17|0]&2){q[b+24>>2]=el(q[b+24>>2],g,c)}g=c+g|0;h=h-c|0;if(!j){break Aa}break i}c=q[b+32>>2];if(!c){break Aa}q[c+28>>2]=0}q[b>>2]=7;q[b+64>>2]=0}Ca:{if(r[b+17|0]&16){f=0;if(!h){break j}while(1){c=f+1|0;j=r[g+f|0];i=q[b+32>>2];Da:{if(!i){break Da}f=q[i+36>>2];if(!f){break Da}k=q[i+40>>2];i=q[b+64>>2];if(k>>>0<=i>>>0){break Da}q[b+64>>2]=i+1;o[f+i|0]=j}if(c>>>0>>0){f=c;if(j){continue}}break}if(r[b+17|0]&2){q[b+24>>2]=el(q[b+24>>2],g,c)}g=c+g|0;h=h-c|0;if(!j){break Ca}break i}c=q[b+32>>2];if(!c){break Ca}q[c+36>>2]=0}q[b>>2]=8}f=q[b+16>>2];if(f&512){if(d>>>0<=15){while(1){if(!h){break e}h=h-1|0;e=(r[g|0]<>>0<8;d=d+8|0;g=g+1|0;if(c){continue}break}}if(s[b+24>>1]!=(e|0)){break g}e=0;d=0}c=q[b+32>>2];if(c){q[c+48>>2]=1;q[c+44>>2]=f>>>9&1}c=el(0,0,0);q[b+24>>2]=c;q[a+48>>2]=c;q[b>>2]=11;c=q[b>>2];continue}h=0}j=z}f=j;break c}q[a+24>>2]=187445;q[b>>2]=29;c=q[b>>2];continue}q[b+20>>2]=256<>2]=c;q[a+48>>2]=c;q[b>>2]=e&8192?9:11;e=0;c=q[b>>2];continue}break}h=0;f=z}q[a+16>>2]=n;q[a+12>>2]=v;q[a+4>>2]=h;q[a>>2]=g;q[b+60>>2]=d;q[b+56>>2]=e;Ea:{if(!((n|0)==(A|0)|t[b>>2]>28?!q[b+40>>2]:0)){if(tO(a,v,A-n|0)){break Ea}n=q[a+16>>2];h=q[a+4>>2]}g=I-h|0;q[a+8>>2]=g+q[a+8>>2];i=A-n|0;q[a+20>>2]=i+q[a+20>>2];q[b+28>>2]=i+q[b+28>>2];if(!(!i|!q[b+8>>2])){d=q[a+12>>2]-i|0;h=q[b+24>>2];c=b;Fa:{if(q[b+16>>2]){h=el(h,d,i);break Fa}h=fq(h,d,i)}q[c+24>>2]=h;q[a+48>>2]=h}c=a;a=q[b>>2];q[c+44>>2]=((q[b+60>>2]+((q[b+4>>2]!=0)<<6)|0)+(((a|0)==11)<<7)|0)+((a|0)==19?256:((a|0)==14)<<8);B=f?f:g|i?f:-5;break a}q[b>>2]=30}B=-4}ti=u+16|0;return B}function Uha(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=0,N=0,O=0,P=0,Q=0,R=x(0),S=x(0),T=0,U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=0,ca=x(0),da=0,ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0;e=ti-112|0;ti=e;j=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{switch(q[a+8>>2]){case 0:q[j+84>>2]=0;q[j+100>>2]=q[j+96>>2];q[j+120>>2]=q[j+116>>2];break f;case 2:c=q[j+96>>2];P=q[j+100>>2]-c|0;a=(P|0)/24|0;if(P){xi[q[77441]](q[j+92>>2],P,c,1);q[75922]=a+q[75922];q[e+56>>2]=a;q[e+60>>2]=0;q[e+24>>2]=a;q[e+28>>2]=0;q[75944]=P+q[75944];a=P;q[e+48>>2]=a;q[e+52>>2]=0;q[e+16>>2]=a;q[e+20>>2]=0}P=q[j+116>>2];a=q[j+120>>2]-P|0;if(!a){break f}xi[q[77446]](q[j+104>>2],a,P,1);q[75966]=a+q[75966];q[e+40>>2]=a;q[e+44>>2]=0;q[e+8>>2]=a;q[e+12>>2]=0;break f;default:J(48720,48093,1129,48780);G();case 1:break g}}pa=q[a+20>>2];sa=q[a>>2];qa=q[a+12>>2];ja=q[a+16>>2];q[e+64>>2]=0;ka=q[(w(q[ja>>2],48)+qa|0)+16>>2];la=q[j>>2];if(ka>>>0>=(q[j+4>>2]-la|0)/240>>>0){break a}if(!(r[(w(ka,240)+la|0)+234|0]&4)){break b}a=w(ka,240)+la|0;na=q[a+188>>2];oa=q[a+196>>2];if(!oa){oa=q[na+8>>2]}a=q[j+84>>2];P=j+60|0;k=q[j+52>>2];if((a|0)==q[P>>2]-k>>2){if(o[j- -64|0]&1){break c}Ii(a+1|0,4,j+52|0,P,j+56|0);a=Oi(304);Qm(a);P=q[j+56>>2];if((P|0)==q[j+60>>2]){break d}q[j+56>>2]=P+4;q[P>>2]=a;k=q[j+52>>2];a=q[j+84>>2]}q[j+84>>2]=a+1;if(q[j+56>>2]-k>>2>>>0<=a>>>0){break a}T=q[(a<<2)+k>>2];P=q[j+120>>2];a=q[j+100>>2];q[e+72>>2]=0;h:{if((ja|0)==(pa|0)){c=P;break h}ta=o[j+124|0]&1?2:4;g=(a-q[j+96>>2]|0)/24|0;c=P;while(1){i:{b=q[(w(q[ja>>2],48)+qa|0)+16>>2];h=q[j>>2];if(b>>>0<(q[j+4>>2]-h|0)/240>>>0){i=h+w(b,240)|0;l=q[i+188>>2];h=q[i+184>>2];N=q[i+196>>2];if(!N){N=q[l+8>>2]}M=q[N+64>>2];ra=q[M+96>>2];k=q[M+76>>2];b=q[M+4>>2];if(q[M+72>>2]){l=b+w(h,40)|0;Q=q[k+(q[i+216>>2]+q[l+12>>2]<<2)>>2];ba=q[M+64>>2]+(Q<<5)|0;k=q[ba+12>>2];da=k>>>1|0;if(da){b=s[i+234>>1];h=q[l+28>>2]^b>>>5&1;b=q[l+32>>2]^b>>>6&1;O=(h|0)==(b|0);l=O?2:-2;X=x((b?-1:1)|0);Y=x((h?-1:1)|0);b=q[ba+8>>2];h=(k&-2)<<2;k=O?b:(h+b|0)-8|0;b=q[ba+16>>2];N=O?b:(b+h|0)-8|0;Z=x(u[i+120>>2]*x(0));_=x(u[i+116>>2]*x(0));I=x(u[i+112>>2]*x(0));R=u[i+80>>2];S=x(r[(Q<<2)+ra|0]);K=u[i+136>>2];F=u[i+104>>2];H=u[i+88>>2];D=u[i+132>>2];E=u[i+100>>2];B=u[i+84>>2];L=u[i+128>>2];C=u[i+96>>2];h=0;while(1){f=u[k>>2];d=u[k+4>>2];b=q[N+4>>2];q[a+12>>2]=q[N>>2];q[a+16>>2]=b;u[a+20>>2]=S;f=x(f*Y);d=x(d*X);u[a+4>>2]=D+x(_+x(x(B*f)+x(E*d)));u[a+8>>2]=K+x(Z+x(x(H*f)+x(F*d)));u[a>>2]=L+x(I+x(x(R*f)+x(C*d)));a=a+24|0;b=l<<2;N=b+N|0;k=b+k|0;h=h+1|0;if((da|0)!=(h|0)){continue}break}}h=q[ba+24>>2];N=q[ba+28>>2];j:{k:{if(o[j+124|0]&1){if(N){break k}N=0;break i}if(N){break j}N=0;break i}k=0;while(1){p[(k<<1)+c>>1]=q[h+(k<<2)>>2]+g;k=k+1|0;if((N|0)!=(k|0)){continue}break}break i}k=0;while(1){b=k<<2;q[b+c>>2]=q[b+h>>2]+g;k=k+1|0;if((N|0)!=(k|0)){continue}break}N=q[ba+28>>2];break i}b=b+w(h,40)|0;O=q[b+32>>2];h=s[i+234>>1];Q=h>>>6&1;ma=(O|0)==(Q|0);ba=h>>>5&1;da=q[b+28>>2];b=q[i+216>>2]+q[b+12>>2]|0;M=q[M+48>>2]+(b<<5)|0;k=q[(q[k+(b<<2)>>2]<<2)+ra>>2];l:{m:{if(h&512){d=u[i+64>>2];E=d>x(.0010000000474974513)?x(x(1)/d):x(0);d=u[i+68>>2];B=d>x(.0010000000474974513)?x(x(1)/d):x(0);h=r[j+124|0];b=q[l+12>>2];F=u[b+28>>2];H=u[b+24>>2];D=u[b+20>>2];L=u[b+16>>2];b=q[N+48>>2];R=x(x(1)/x(xi[q[77507]](q[b>>2],q[b+4>>2])>>>0));b=q[N+48>>2];S=x(x(1)/x(xi[q[77508]](q[b>>2],q[b+4>>2])>>>0));f=u[M+12>>2];n:{o:{K=u[M>>2];C=u[M+8>>2];if(K==C){break o}d=u[M+20>>2];if(d==f){break o}ma=(ba|0)==(da|0);b=(O|0)==(Q|0);u[(e+96|(b?0:12))>>2]=K;u[(e+96|(b?4:8))>>2]=x(F*R)+K;u[(e+96|(b?8:4))>>2]=C-x(D*R);u[(e+96|(b?12:0))>>2]=C;b=(ba|0)==(da|0);f=u[M+4>>2];u[(e+80|(b?0:12))>>2]=f;u[(e+80|(b?4:8))>>2]=f-x(L*S);l=1;f=d;d=x(x(H*S)+d);break n}l=0;b=(ba|0)==(da|0);u[(e+96|(b?0:12))>>2]=K;u[(e+96|(b?4:8))>>2]=x(L*R)+K;d=u[M+16>>2];u[(e+96|(b?8:4))>>2]=d-x(H*R);u[(e+96|(b?12:0))>>2]=d;b=(O|0)==(Q|0);d=u[M+4>>2];u[(e+80|(b?0:12))>>2]=d;u[(e+80|(b?4:8))>>2]=d+x(F*S);d=x(f-x(D*S))}b=h&1;u[(e+80|(ma?8:4))>>2]=d;u[(e+80|(ma?12:0))>>2]=f;d=x(B*F);L=x(E*L);C=x(x(1)-x(B*D));f=x(x(1)-x(E*H));m=x(u[i+120>>2]*x(0));n=x(u[i+116>>2]*x(0));t=x(u[i+112>>2]*x(0));v=x((k&255)>>>0);y=u[i+136>>2];fa=u[i+104>>2];F=u[i+88>>2];z=u[i+132>>2];ga=u[i+100>>2];H=u[i+84>>2];A=u[i+128>>2];ha=u[i+96>>2];ca=u[i+80>>2];p:{if(l){$=u[e+80>>2];aa=u[e+84>>2];X=u[e+88>>2];ia=u[e+92>>2];D=x(fa*x(-.5));U=x(F*x(.5));u[a+8>>2]=y+x(m+x(D-U));E=x(ga*x(-.5));V=x(H*x(.5));u[a+4>>2]=z+x(n+x(E-V));B=x(ha*x(-.5));W=x(ca*x(.5));u[a>>2]=A+x(t+x(B-W));Y=u[e+96>>2];d=x(d+x(-.5));Z=x(d*fa);u[a+104>>2]=y+x(m+x(Z-U));_=x(d*ga);u[a+100>>2]=z+x(n+x(_-V));I=x(d*ha);u[a+96>>2]=A+x(t+x(I-W));u[a+92>>2]=v;u[a+88>>2]=ia;u[a+84>>2]=Y;u[a+80>>2]=y+x(m+x(U+D));u[a+76>>2]=z+x(n+x(V+E));u[a+72>>2]=A+x(t+x(W+B));u[a+68>>2]=v;u[a- -64>>2]=X;u[a+60>>2]=Y;d=x(f+x(-.5));R=x(d*F);u[a+56>>2]=y+x(m+x(R+D));S=x(d*H);u[a+52>>2]=z+x(n+x(S+E));K=x(d*ca);u[a+48>>2]=A+x(t+x(K+B));u[a+44>>2]=v;u[a+40>>2]=aa;u[a+36>>2]=Y;d=x(L+x(-.5));F=x(d*F);u[a+32>>2]=y+x(m+x(F+D));H=x(d*H);u[a+28>>2]=z+x(n+x(H+E));D=x(d*ca);u[a+24>>2]=A+x(t+x(D+B));u[a+20>>2]=v;u[a+16>>2]=$;u[a+12>>2]=Y;f=u[e+100>>2];d=x(C+x(-.5));E=x(d*fa);u[a+200>>2]=y+x(m+x(E-U));B=x(d*ga);u[a+196>>2]=z+x(n+x(B-V));L=x(d*ha);u[a+192>>2]=A+x(t+x(L-W));u[a+188>>2]=v;u[a+184>>2]=ia;u[a+180>>2]=f;u[a+176>>2]=y+x(m+x(U+Z));u[a+172>>2]=z+x(n+x(V+_));u[a+168>>2]=A+x(t+x(W+I));u[a+164>>2]=v;u[a+160>>2]=X;u[a+156>>2]=f;u[a+152>>2]=y+x(m+x(R+Z));u[a+148>>2]=z+x(n+x(S+_));u[a+144>>2]=A+x(t+x(K+I));u[a+140>>2]=v;u[a+136>>2]=aa;u[a+132>>2]=f;u[a+128>>2]=y+x(m+x(F+Z));u[a+124>>2]=z+x(n+x(H+_));u[a+120>>2]=A+x(t+x(D+I));u[a+116>>2]=v;u[a+112>>2]=$;u[a+108>>2]=f;I=u[e+104>>2];C=x(fa*x(.5));u[a+296>>2]=y+x(m+x(C-U));f=x(ga*x(.5));u[a+292>>2]=z+x(n+x(f-V));d=x(ha*x(.5));u[a+288>>2]=A+x(t+x(d-W));u[a+284>>2]=v;u[a+280>>2]=ia;u[a+276>>2]=I;u[a+272>>2]=y+x(m+x(U+E));u[a+268>>2]=z+x(n+x(V+B));u[a+264>>2]=A+x(t+x(W+L));u[a+260>>2]=v;u[a+256>>2]=X;u[a+252>>2]=I;u[a+248>>2]=y+x(m+x(R+E));u[a+244>>2]=z+x(n+x(S+B));u[a+240>>2]=A+x(t+x(K+L));u[a+236>>2]=v;u[a+232>>2]=aa;u[a+228>>2]=I;u[a+224>>2]=y+x(m+x(F+E));u[a+220>>2]=z+x(n+x(H+B));u[a+216>>2]=A+x(t+x(D+L));u[a+212>>2]=v;u[a+208>>2]=$;u[a+204>>2]=I;ea=u[e+108>>2];u[a+356>>2]=v;u[a+352>>2]=X;u[a+348>>2]=ea;u[a+344>>2]=y+x(m+x(R+C));u[a+340>>2]=z+x(n+x(S+f));u[a+336>>2]=A+x(t+x(K+d));u[a+332>>2]=v;u[a+328>>2]=aa;u[a+324>>2]=ea;u[a+320>>2]=y+x(m+x(F+C));u[a+316>>2]=z+x(n+x(H+f));u[a+312>>2]=A+x(t+x(D+d));u[a+308>>2]=v;u[a+304>>2]=$;u[a+300>>2]=ea;C=x(U+C);f=x(V+f);d=x(W+d);break p}$=u[e+100>>2];aa=u[e+104>>2];ea=u[e+108>>2];Y=u[e+96>>2];u[a+12>>2]=Y;D=x(fa*x(-.5));U=x(F*x(.5));u[a+8>>2]=y+x(m+x(D-U));E=x(ga*x(-.5));V=x(H*x(.5));u[a+4>>2]=z+x(n+x(E-V));B=x(ha*x(-.5));W=x(ca*x(.5));u[a>>2]=A+x(t+x(B-W));X=u[e+80>>2];u[a+108>>2]=Y;d=x(d+x(-.5));Z=x(d*fa);u[a+104>>2]=y+x(m+x(Z-U));_=x(d*ga);u[a+100>>2]=z+x(n+x(_-V));I=x(d*ha);u[a+96>>2]=A+x(t+x(I-W));u[a+92>>2]=v;u[a+88>>2]=X;u[a+84>>2]=ea;u[a+80>>2]=y+x(m+x(U+D));u[a+76>>2]=z+x(n+x(V+E));u[a+72>>2]=A+x(t+x(W+B));u[a+68>>2]=v;u[a- -64>>2]=X;u[a+60>>2]=aa;d=x(f+x(-.5));R=x(d*F);u[a+56>>2]=y+x(m+x(R+D));S=x(d*H);u[a+52>>2]=z+x(n+x(S+E));K=x(d*ca);u[a+48>>2]=A+x(t+x(K+B));u[a+44>>2]=v;u[a+40>>2]=X;u[a+36>>2]=$;d=x(L+x(-.5));F=x(d*F);u[a+32>>2]=y+x(m+x(F+D));H=x(d*H);u[a+28>>2]=z+x(n+x(H+E));D=x(d*ca);u[a+24>>2]=A+x(t+x(D+B));u[a+20>>2]=v;u[a+16>>2]=X;f=u[e+84>>2];u[a+204>>2]=Y;d=x(C+x(-.5));E=x(d*fa);u[a+200>>2]=y+x(m+x(E-U));B=x(d*ga);u[a+196>>2]=z+x(n+x(B-V));L=x(d*ha);u[a+192>>2]=A+x(t+x(L-W));u[a+188>>2]=v;u[a+184>>2]=f;u[a+180>>2]=ea;u[a+176>>2]=y+x(m+x(U+Z));u[a+172>>2]=z+x(n+x(V+_));u[a+168>>2]=A+x(t+x(W+I));u[a+164>>2]=v;u[a+160>>2]=f;u[a+156>>2]=aa;u[a+152>>2]=y+x(m+x(R+Z));u[a+148>>2]=z+x(n+x(S+_));u[a+144>>2]=A+x(t+x(K+I));u[a+140>>2]=v;u[a+136>>2]=f;u[a+132>>2]=$;u[a+128>>2]=y+x(m+x(F+Z));u[a+124>>2]=z+x(n+x(H+_));u[a+120>>2]=A+x(t+x(D+I));u[a+116>>2]=v;u[a+112>>2]=f;I=u[e+88>>2];u[a+300>>2]=Y;C=x(fa*x(.5));u[a+296>>2]=y+x(m+x(C-U));f=x(ga*x(.5));u[a+292>>2]=z+x(n+x(f-V));d=x(ha*x(.5));u[a+288>>2]=A+x(t+x(d-W));u[a+284>>2]=v;u[a+280>>2]=I;u[a+276>>2]=ea;u[a+272>>2]=y+x(m+x(U+E));u[a+268>>2]=z+x(n+x(V+B));u[a+264>>2]=A+x(t+x(W+L));u[a+260>>2]=v;u[a+256>>2]=I;u[a+252>>2]=aa;u[a+248>>2]=y+x(m+x(R+E));u[a+244>>2]=z+x(n+x(S+B));u[a+240>>2]=A+x(t+x(K+L));u[a+236>>2]=v;u[a+232>>2]=I;u[a+228>>2]=$;u[a+224>>2]=y+x(m+x(F+E));u[a+220>>2]=z+x(n+x(H+B));u[a+216>>2]=A+x(t+x(D+L));u[a+212>>2]=v;u[a+208>>2]=I;ia=u[e+92>>2];u[a+356>>2]=v;u[a+352>>2]=ia;u[a+348>>2]=aa;u[a+344>>2]=y+x(m+x(R+C));u[a+340>>2]=z+x(n+x(S+f));u[a+336>>2]=A+x(t+x(K+d));u[a+332>>2]=v;u[a+328>>2]=ia;u[a+324>>2]=$;u[a+320>>2]=y+x(m+x(F+C));u[a+316>>2]=z+x(n+x(H+f));u[a+312>>2]=A+x(t+x(D+d));u[a+308>>2]=v;u[a+304>>2]=ia;C=x(U+C);f=x(V+f);d=x(W+d)}u[a+380>>2]=v;u[a+376>>2]=ia;u[a+372>>2]=ea;u[a+368>>2]=y+x(m+C);u[a+364>>2]=z+x(n+f);u[a+360>>2]=A+x(t+d);if(!b){break m}p[c>>1]=g;p[c+106>>1]=g+15;l=g+11|0;p[c+104>>1]=l;b=g+14|0;p[c+102>>1]=b;p[c+100>>1]=b;p[c+98>>1]=l;O=g+10|0;p[c+96>>1]=O;p[c+94>>1]=b;p[c+92>>1]=O;b=g+13|0;p[c+90>>1]=b;p[c+88>>1]=b;p[c+86>>1]=O;Q=g+9|0;p[c+84>>1]=Q;p[c+82>>1]=b;p[c+80>>1]=Q;b=g+12|0;p[c+78>>1]=b;p[c+76>>1]=b;p[c+74>>1]=Q;h=g+8|0;p[c+72>>1]=h;p[c+70>>1]=l;b=g+7|0;p[c+68>>1]=b;p[c+66>>1]=O;p[c+64>>1]=O;p[c+62>>1]=b;k=g+6|0;p[c+60>>1]=k;p[c+58>>1]=O;p[c+56>>1]=k;p[c+54>>1]=Q;p[c+52>>1]=Q;p[c+50>>1]=k;l=g+5|0;p[c+48>>1]=l;p[c+46>>1]=Q;p[c+44>>1]=l;p[c+42>>1]=h;p[c+40>>1]=h;p[c+38>>1]=l;h=g+4|0;p[c+36>>1]=h;p[c+34>>1]=b;b=g+3|0;p[c+32>>1]=b;p[c+30>>1]=k;p[c+28>>1]=k;p[c+26>>1]=b;b=g+2|0;p[c+24>>1]=b;p[c+22>>1]=k;p[c+20>>1]=b;p[c+18>>1]=l;p[c+16>>1]=l;p[c+14>>1]=b;b=g+1|0;p[c+12>>1]=b;p[c+10>>1]=l;p[c+8>>1]=b;p[c+6>>1]=h;p[c+4>>1]=h;p[c+2>>1]=b;break l}ca=u[i+128>>2];K=u[i+112>>2];_=u[i+96>>2];$=u[i+132>>2];d=u[i+116>>2];I=u[i+84>>2];R=u[i+100>>2];S=u[i+80>>2];aa=u[i+136>>2];F=u[i+88>>2];B=x(F*x(-.5));C=u[i+104>>2];H=x(C*x(-.5));X=x(u[i+120>>2]*x(0));u[a+8>>2]=aa+x(x(B+H)+X);f=x(I*x(-.5));D=x(R*x(-.5));Y=x(d*x(0));u[a+4>>2]=$+x(x(f+D)+Y);L=x(S*x(-.5));E=x(_*x(-.5));Z=x(K*x(0));u[a>>2]=ca+x(x(L+E)+Z);b=(ba|0)!=(da|0);h=w(ma?b:b|2,24)+48928|0;b=q[h>>2]<<3;u[a+12>>2]=u[b+M>>2];d=u[M+(b|4)>>2];C=x(C*x(.5));u[a+32>>2]=aa+x(x(B+C)+X);ea=f;f=x(R*x(.5));u[a+28>>2]=$+x(x(ea+f)+Y);B=x(_*x(.5));u[a+24>>2]=ca+x(x(L+B)+Z);K=x((k&255)>>>0);u[a+20>>2]=K;u[a+16>>2]=d;b=q[h+4>>2]<<3;u[a+36>>2]=u[b+M>>2];d=u[M+(b|4)>>2];L=x(F*x(.5));u[a+56>>2]=aa+x(x(L+C)+X);C=x(I*x(.5));u[a+52>>2]=$+x(x(C+f)+Y);f=x(S*x(.5));u[a+48>>2]=ca+x(x(f+B)+Z);u[a+44>>2]=K;u[a+40>>2]=d;b=q[h+8>>2]<<3;u[a+60>>2]=u[b+M>>2];d=u[M+(b|4)>>2];u[a+80>>2]=aa+x(x(L+H)+X);u[a+76>>2]=$+x(x(C+D)+Y);u[a+72>>2]=ca+x(x(f+E)+Z);u[a+68>>2]=K;u[a- -64>>2]=d;b=q[h+16>>2]<<3;u[a+84>>2]=u[b+M>>2];d=u[M+(b|4)>>2];u[a+92>>2]=K;u[a+88>>2]=d;q:{if(o[j+124|0]&1){p[c+10>>1]=g;p[c>>1]=g;p[c+8>>1]=g+3;b=g+2|0;p[c+6>>1]=b;p[c+4>>1]=b;p[c+2>>1]=g+1;break q}q[c+20>>2]=g;q[c>>2]=g;q[c+16>>2]=g+3;b=g+2|0;q[c+12>>2]=b;q[c+8>>2]=b;q[c+4>>2]=g+1}a=a+96|0;N=6;da=4;break i}q[c>>2]=g;q[c+212>>2]=g+15;l=g+11|0;q[c+208>>2]=l;b=g+14|0;q[c+204>>2]=b;q[c+200>>2]=b;q[c+196>>2]=l;O=g+10|0;q[c+192>>2]=O;q[c+188>>2]=b;q[c+184>>2]=O;b=g+13|0;q[c+180>>2]=b;q[c+176>>2]=b;q[c+172>>2]=O;Q=g+9|0;q[c+168>>2]=Q;q[c+164>>2]=b;q[c+160>>2]=Q;b=g+12|0;q[c+156>>2]=b;q[c+152>>2]=b;q[c+148>>2]=Q;h=g+8|0;q[c+144>>2]=h;q[c+140>>2]=l;b=g+7|0;q[c+136>>2]=b;q[c+132>>2]=O;q[c+128>>2]=O;q[c+124>>2]=b;k=g+6|0;q[c+120>>2]=k;q[c+116>>2]=O;q[c+112>>2]=k;q[c+108>>2]=Q;q[c+104>>2]=Q;q[c+100>>2]=k;l=g+5|0;q[c+96>>2]=l;q[c+92>>2]=Q;q[c+88>>2]=l;q[c+84>>2]=h;q[c+80>>2]=h;q[c+76>>2]=l;h=g+4|0;q[c+72>>2]=h;q[c+68>>2]=b;b=g+3|0;q[c+64>>2]=b;q[c+60>>2]=k;q[c+56>>2]=k;q[c+52>>2]=b;b=g+2|0;q[c+48>>2]=b;q[c+44>>2]=k;q[c+40>>2]=b;q[c+36>>2]=l;q[c+32>>2]=l;q[c+28>>2]=b;b=g+1|0;q[c+24>>2]=b;q[c+20>>2]=l;q[c+16>>2]=b;q[c+12>>2]=h;q[c+8>>2]=h;q[c+4>>2]=b}a=a+384|0;N=54;da=16;break i}J(48683,48598,486,48308);G()}g=g+da|0;c=w(N,ta)+c|0;ja=ja+4|0;if((pa|0)!=(ja|0)){continue}break}}q[j+120>>2]=c;q[j+100>>2]=a;Qm(T);q[T+148>>2]=q[j+88>>2];q[T+144>>2]=q[j+92>>2];q[T+152>>2]=q[j+104>>2];c=T;b=w(ka,240)+la|0;a=q[b+200>>2];if(!a){a=q[na+16>>2]}q[c+156>>2]=a;a=q[oa+48>>2];c=q[a+4>>2];a=q[a>>2];q[T+224>>2]=1;q[T+160>>2]=a;q[T+164>>2]=c;q[T+228>>2]=o[j+124|0]&1?3:5;c=q[j+120>>2];a=r[j+124|0];q[T+280>>2]=P-q[j+116>>2];q[T+284>>2]=c-P>>>(a&1?1:2);a=q[b+192>>2];if(a){er(T,a)}a=q[q[na+12>>2]+12>>2];if(a>>>0>=5){break e}o[T+288|0]=r[T+288|0]|1;a=a<<2;q[T+236>>2]=q[a+49304>>2];q[T+232>>2]=q[a+49284>>2];Yn(sa,T)}ti=e+112|0;return}q[e+32>>2]=a;Ai(4,47991,48846,e+32|0);J(48870,48093,819,48834);G()}J(48872,48598,533,48896);G()}J(48523,48598,493,48654);G()}J(48817,48093,742,48834);G()}J(48683,48598,479,48308);G()}function PL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0;k=ti-1776|0;ti=k;i=Ji(40);q[i>>2]=0;Fi(k+48|0,0,704);q[243032]=0;p=c+1|0;j=ba(1216,p|0)|0;n=q[243032];q[243032]=0;m=972132;g=-1;l=4;a:{if(!n){break a}m=q[243033];if(!m){break a}g=$j(q[n>>2],i,4);if(!g){O(n|0,m|0);G()}L(m|0)}b:{c:{d:{h=M()|0;e:{if((g|0)==1){break e}q[k+32>>2]=j;o[Gi(j,b,c)+c|0]=10;q[243032]=0;q[k+36>>2]=0;q[k+40>>2]=p;q[k+44>>2]=a;q[k+28>>2]=e;q[k+24>>2]=d;x=k+720|0;A=k+728|0;s=k+724|0;$(1217,128,16,x|0,A|0,s|0);a=q[243032];q[243032]=0;c=-1;f:{if(!a){break f}b=q[243033];if(!b){break f}c=$j(q[a>>2],i,4);if(!c){break d}L(b|0)}E=k+732|0;F=k+24|4;m=k+36|0;y=k+40|0;t=k+32|0;B=k+24|0;h=M()|0;if((c|0)==1){break e}z=k+736|0;g:{h:{i:{j:{D=k+748|0;if(o[D|0]&1){q[243032]=0;P(1218,149482,149557,493,149583);a=q[243032];q[243032]=0;if(!a){break i}b=q[243033];if(!b){break i}if($j(q[a>>2],i,4)){break j}break d}q[243032]=0;C=k+744|0;u=k+740|0;$(1217,256,1,z|0,C|0,u|0);a=q[243032];q[243032]=0;c=-1;if(!a){break g}b=q[243033];if(!b){break g}c=$j(q[a>>2],i,4);if(c){break h}break d}L(b|0)}h=M()|0;break e}L(b|0)}h=M()|0;if((c|0)==1){break e}q[k+716>>2]=1;H=k+716|0;i=ax(k+48|0,1,i,4);l=M()|0;h=0}k:while(1){l:{m:{n:{o:{p:{g=h;if(g){a=q[t>>2];if(!a){break l}q[243032]=0;aa(1219,a|0);a=q[243032];q[243032]=0;c=-1;if(!a){break o}b=q[243033];if(!b){break o}c=$j(q[a>>2],i,l);if(c){break p}break d}j=q[y>>2];q[243032]=0;g=-1;n=ba(1216,((j|0)>-1?j:-1)|0)|0;a=q[243032];q[243032]=0;if(!a){break m}b=q[243033];if(!b){break m}g=$j(q[a>>2],i,l);if(g){break n}break d}L(b|0)}h=M()|0;if((c|0)==1){continue}break l}L(b|0)}h=M()|0;if((g|0)==1){continue}a=j-1|0;I=(a|0)>0?a:0;v=k+204|0;while(1){p=q[t>>2];d=1;c=q[m>>2];g=c;b=0;while(1){a=b;e=0;q:{if((g|0)>=(j|0)){break q}c=g+1|0;q[m>>2]=c;b=g+p|0;g=c;e=o[b|0];if((e|0)!=13){break q}while(1){if((c|0)==(j|0)){c=j;g=c;e=0;break q}g=c+1|0;q[m>>2]=g;b=c+p|0;c=g;e=o[b|0];if((e|0)==13){continue}break}}r:{s:{t:{if(d&1){if((e|0)==10){break t}d=0;b=1;if((e|0)==35|(e|0)==59){continue}break s}if((e|0)!=10){break s}}d=1;q[H>>2]=q[H>>2]+1;break r}b=1;d=0;if(a&1){continue}}q[243032]=0;J=ba(1220,e|0)|0;a=q[243032];q[243032]=0;b=-1;u:{if(!a){break u}h=q[243033];if(!h){break u}b=$j(q[a>>2],i,l);if(!b){O(a|0,h|0);G()}L(h|0)}h=M()|0;if((b|0)==1){continue k}b=0;if(J){continue}break}v:{w:{x:{y:{z:{A:{B:{if(!(!e|(c|0)<1)){a=c-1|0;q[m>>2]=a;o[a+p|0]=e;j=q[y>>2];c=q[m>>2]}if((c|0)<(j|0)){a=q[t>>2];q[m>>2]=c+1;b=a+c|0;a=r[b|0];if(!(!a|(c|0)<0)){q[m>>2]=c;o[b|0]=a}if((a|0)==91){q[243032]=0;aa(1221,k+24|0);a=q[243032];q[243032]=0;c=-1;if(!a){break v}b=q[243033];if(!b){break v}c=$j(q[a>>2],i,l);if(c){break B}break d}q[243032]=0;a=ba(1222,v|0)|0;b=q[243032];q[243032]=0;g=-1;if(!b){break z}c=q[243033];if(!c){break z}g=$j(q[b>>2],i,l);if(g){break A}break c}q[243032]=0;aa(1219,n|0);a=q[243032];q[243032]=0;c=-1;if(!a){break x}b=q[243033];if(!b){break x}c=$j(q[a>>2],i,l);if(c){break y}break d}L(b|0);break v}L(c|0)}h=M()|0;if((g|0)!=1){break w}continue k}L(b|0)}h=M()|0;if((c|0)==1){continue k}C:{if(q[B>>2]<1){break C}g=0;D:{while(1){a=q[q[F>>2]+(g<<2)>>2];q[243032]=0;e=wa(1223,149446,a|0,9)|0;b=q[243032];q[243032]=0;c=-1;E:{if(!b){break E}d=q[243033];if(!d){break E}c=$j(q[b>>2],i,l);if(!c){break b}L(d|0)}h=M()|0;if((c|0)==1){continue k}F:{G:{if(e){break G}q[243032]=0;e=ka(1224,a|0,61)|0;b=q[243032];q[243032]=0;c=-1;H:{if(!b){break H}d=q[243033];if(!d){break H}c=$j(q[b>>2],i,l);if(!c){break b}L(d|0)}h=M()|0;if((c|0)==1){continue k}q[243032]=0;e=e+1|0;d=ka(1224,e|0,61)|0;b=q[243032];q[243032]=0;c=-1;I:{if(!b){break I}n=q[243033];if(!n){break I}c=$j(q[b>>2],i,l);if(!c){O(b|0,n|0);G()}L(n|0)}h=M()|0;if((c|0)==1){continue k}J:{K:{L:{M:{if(!d){q[243032]=0;q[k+16>>2]=a;P(1225,3,149340,149456,k+16|0);a=q[243032];q[243032]=0;c=-1;if(!a){break L}b=q[243033];if(!b){break L}c=$j(q[a>>2],i,l);if(c){break M}break d}q[243032]=0;p=jb(1226,e|0,d-e|0)|0;n=M()|0;a=q[243032];q[243032]=0;c=-1;if(!a){break J}b=q[243033];if(!b){break J}c=$j(q[a>>2],i,l);if(c){break K}break d}L(b|0)}h=M()|0;if((c|0)==1){continue k}break G}L(b|0)}h=M()|0;if((c|0)==1){continue k}c=q[s>>2];b=q[x>>2];if((c|0)!=(b|0)){if((p|0)==q[b>>2]&(n|0)==q[b+4>>2]){break G}e=1;a=c-b|0;h=(a|0)>-1?a:-1;c=b-c|0;c=w((h|0)<1?h:1,((a|0)<(c|0)?c:a)>>>4|0);c=c>>>0>1?c:1;h=a>>4;while(1){a=e;if((a|0)!=(c|0)){e=a+1|0;j=b+(a<<4)|0;if((p|0)!=q[j>>2]|q[j+4>>2]!=(n|0)){continue}}break}if(a>>>0>>0){break G}}q[243032]=0;d=d+1|0;e=ba(1222,d|0)|0;a=q[243032];q[243032]=0;c=-1;N:{if(!a){break N}b=q[243033];if(!b){break N}c=$j(q[a>>2],i,l);if(!c){break d}L(b|0)}h=M()|0;if((c|0)==1){continue k}b=e+1|0;j=q[C>>2];a=q[u>>2];if(b>>>0>j-a>>>0){O:{P:{Q:{R:{if(o[D|0]&1){q[243032]=0;P(1218,149482,149557,493,149583);a=q[243032];q[243032]=0;if(!a){break Q}b=q[243033];if(!b){break Q}if($j(q[a>>2],i,l)){break R}break d}a=q[z>>2];q[243032]=0;$(1217,((b>>>0>1024?b:1024)+j|0)-a|0,1,z|0,C|0,u|0);a=q[243032];q[243032]=0;e=-1;if(!a){break O}c=q[243033];if(!c){break O}e=$j(q[a>>2],i,l);if(e){break P}O(a|0,c|0);G()}L(b|0)}h=M()|0;continue k}L(c|0)}h=M()|0;if((e|0)==1){continue k}j=q[C>>2];a=q[u>>2]}c=a;a=q[z>>2];v=c-a|0;c=v+b|0;S:{T:{U:{V:{W:{X:{Y:{Z:{_:{if(c>>>0>j-a>>>0){q[243032]=0;P(1218,149707,149557,506,149726);a=q[243032];q[243032]=0;if(!a){break Z}b=q[243033];if(!b){break Z}if($j(q[a>>2],i,l)){break _}break d}q[u>>2]=a+c;if(c>>>0<=v>>>0){q[243032]=0;P(1218,149685,149557,479,149696);a=q[243032];q[243032]=0;if(!a){break X}b=q[243033];if(!b){break X}if($j(q[a>>2],i,l)){break Y}break d}Gi(a+v|0,d,b);c=q[s>>2];e=q[A>>2];if((c|0)!=(e|0)){break S}if(o[E|0]&1){q[243032]=0;P(1218,149482,149557,493,149583);a=q[243032];q[243032]=0;if(!a){break V}b=q[243033];if(!b){break V}if($j(q[a>>2],i,l)){break W}break d}a=q[x>>2];q[243032]=0;$(1217,(e-a>>4)+32|0,16,x|0,A|0,s|0);b=q[243032];q[243032]=0;c=-1;if(!b){break T}d=q[243033];if(!d){break T}c=$j(q[b>>2],i,l);if(c){break U}break b}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(d|0)}h=M()|0;if((c|0)==1){continue k}c=q[s>>2];e=q[A>>2]}if((c|0)==(e|0)){q[243032]=0;P(1218,149656,149557,533,149680);a=q[243032];q[243032]=0;if(!a){break D}b=q[243033];if(!b){break D}if($j(q[a>>2],i,l)){break F}break d}q[s>>2]=c+16;q[c+8>>2]=v;q[c>>2]=p;q[c+4>>2]=n}g=g+1|0;if((g|0)>2]){continue}break C}break}L(b|0)}h=M()|0;continue k}q[243032]=0;a=ba(1227,32)|0;b=q[243032];q[243032]=0;g=-1;$:{if(!b){break $}c=q[243033];if(!c){break $}g=$j(q[b>>2],i,l);if(!g){break c}L(c|0)}h=M()|0;if((g|0)==1){continue k}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=a+8|0;q[b>>2]=0;q[b+4>>2]=0;aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{c=q[s>>2]-q[x>>2]|0;if(c){q[243032]=0;$(1217,c>>4,16,a|0,b|0,a+4|0);b=q[243032];q[243032]=0;g=-1;pa:{if(!b){break pa}c=q[243033];if(!c){break pa}g=$j(q[b>>2],i,l);if(!g){break c}L(c|0)}h=M()|0;if((g|0)==1){continue k}d=q[x>>2];c=q[s>>2]-d|0;e=c>>4;b=q[a>>2];if(e>>>0>q[a+8>>2]-b>>4>>>0){q[243032]=0;P(1218,149707,149557,506,149726);a=q[243032];q[243032]=0;if(!a){break na}b=q[243033];if(!b){break na}if($j(q[a>>2],i,l)){break oa}break d}q[a+4>>2]=b+(e<<4);if(!c){q[243032]=0;P(1218,149685,149557,479,149696);a=q[243032];q[243032]=0;if(!a){break la}b=q[243033];if(!b){break la}if($j(q[a>>2],i,l)){break ma}break d}Gi(b,d,c)}b=q[u>>2]-q[z>>2]|0;if(!b){break ga}if(o[a+28|0]&1){q[243032]=0;P(1218,149482,149557,493,149583);a=q[243032];q[243032]=0;if(!a){break ja}b=q[243033];if(!b){break ja}if($j(q[a>>2],i,l)){break ka}break d}q[243032]=0;$(1217,b|0,1,a+16|0,a+24|0,a+20|0);b=q[243032];q[243032]=0;e=-1;if(!b){break ha}c=q[243033];if(!c){break ha}e=$j(q[b>>2],i,l);if(e){break ia}break c}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(c|0)}h=M()|0;if((e|0)==1){continue k}d=q[z>>2];b=q[u>>2]-d|0;c=q[a+16>>2];if(b>>>0>q[a+24>>2]-c>>>0){q[243032]=0;P(1218,149707,149557,506,149726);a=q[243032];q[243032]=0;if(!a){break ea}b=q[243033];if(!b){break ea}if($j(q[a>>2],i,l)){break fa}break d}q[a+20>>2]=b+c;if(!b){q[243032]=0;P(1218,149685,149557,479,149696);a=q[243032];q[243032]=0;if(!a){break ca}b=q[243033];if(!b){break ca}if($j(q[a>>2],i,l)){break da}break d}Gi(c,d,b)}q[f>>2]=a;a=q[t>>2];if(!a){g=0;break l}g=0;q[243032]=0;aa(1219,a|0);a=q[243032];q[243032]=0;c=-1;if(!a){break aa}b=q[243033];if(!b){break aa}c=$j(q[a>>2],i,l);if(c){break ba}break d}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;if((c|0)==1){continue k}break l}Gi(k+752|0,v,a);b=a+(k+752|0)|0;o[b|0]=46;o[b+1|0]=0;q[243032]=0;La(1228,k+24|0,b+1|0,1023-a|0);a=q[243032];q[243032]=0;g=-1;qa:{if(!a){break qa}b=q[243033];if(!b){break qa}g=$j(q[a>>2],i,l);if(!g){break d}L(b|0)}h=M()|0;if((g|0)==1){continue k}e=q[m>>2];g=q[y>>2];ra:{sa:{if((e|0)>=(g|0)){break sa}j=q[t>>2];ta:{while(1){c=e+1|0;q[m>>2]=c;e=r[e+j|0];if((e|0)==13){while(1){if((c|0)==(g|0)){c=0;a=g;break ra}a=c+1|0;q[m>>2]=a;b=c+j|0;c=a;e=r[b|0];if((e|0)==13){continue}break}}if((e|0)!=9?(e|0)!=32:0){break ta}e=c;if((c|0)<(g|0)){continue}break}break sa}if((c|0)<1){e=c;break sa}if(!e){e=c;break sa}a=c-1|0;q[m>>2]=a;o[a+j|0]=e;g=q[y>>2];e=q[m>>2]}j=q[t>>2];c=0;if((e|0)>=(g|0)){a=e;break ra}a=e+1|0;q[m>>2]=a;c=o[e+j|0]}ua:{va:{wa:{xa:{ya:{while(1){za:{if((c|0)!=13){if((c|0)==-1){break za}if((c|0)==61){break ya}q[243032]=0;ja(1229,k+24|0,-3);a=q[243032];q[243032]=0;if(!a){break wa}b=q[243033];if(!b){break wa}if($j(q[a>>2],i,l)){break xa}break d}c=0;if((a|0)>=(g|0)){continue}b=a+1|0;q[m>>2]=b;c=o[a+j|0];a=b;continue}break}q[243032]=0;ja(1229,k+24|0,-4);a=q[243032];q[243032]=0;if(!a){break ua}b=q[243033];if(!b){break ua}if($j(q[a>>2],i,l)){break va}break d}Aa:{Ba:{Ca:{Da:{Ea:{if((a|0)>=(g|0)){break Ea}Fa:{while(1){c=a+1|0;q[m>>2]=c;e=r[a+j|0];if((e|0)==13){while(1){if((c|0)==(g|0)){a=0;e=g;break Da}a=c+1|0;q[m>>2]=a;b=c+j|0;c=a;e=r[b|0];if((e|0)==13){continue}break}}if((e|0)!=9?(e|0)!=32:0){break Fa}a=c;if((g|0)>(a|0)){continue}break}break Ea}if((c|0)<1){a=c;break Ea}if(!e){a=c;break Ea}a=c-1|0;q[m>>2]=a;o[a+j|0]=e;g=q[y>>2];a=q[m>>2]}j=q[t>>2];if((a|0)>=(g|0)){e=a;a=0;break Da}e=a+1|0;q[m>>2]=e;a=r[a+j|0];if((a|0)==13){while(1){if((e|0)==(g|0)){e=g;a=0;break Da}a=e+1|0;q[m>>2]=a;b=e+j|0;e=a;a=r[b|0];if((a|0)==13){continue}break}}b=0;if((a|0)==10){break Ca}}b=0;while(1){o[b+n|0]=a;if((b|0)==(I|0)){q[243032]=0;ja(1229,k+24|0,-2);a=q[243032];q[243032]=0;if(!a){break Aa}b=q[243033];if(!b){break Aa}if($j(q[a>>2],i,l)){break Ba}break d}Ga:{if((e|0)>=(g|0)){a=0;break Ga}c=e+1|0;q[m>>2]=c;a=e+j|0;e=c;a=o[a|0];if((a|0)!=13){break Ga}while(1){if((c|0)==(g|0)){e=g;a=0;break Ga}e=c+1|0;q[m>>2]=e;a=c+j|0;c=e;a=o[a|0];if((a|0)==13){continue}break}}b=b+1|0;if((a|0)!=10){continue}break}}if((e|0)>=1){a=e-1|0;q[m>>2]=a;o[a+j|0]=10}c=0;o[b+n|0]=0;d=q[B>>2];a=n;Ha:{if((d|0)<1){break Ha}while(1){a=q[q[F>>2]+(c<<2)>>2];q[243032]=0;j=wa(1223,149446,a|0,9)|0;b=q[243032];q[243032]=0;g=-1;Ia:{if(!b){break Ia}e=q[243033];if(!e){break Ia}g=$j(q[b>>2],i,l);if(!g){O(b|0,e|0);G()}L(e|0)}h=M()|0;if((g|0)==1){continue k}Ja:{if(j){break Ja}q[243032]=0;j=ka(1224,a|0,61)|0;b=q[243032];q[243032]=0;g=-1;Ka:{if(!b){break Ka}e=q[243033];if(!e){break Ka}g=$j(q[b>>2],i,l);if(!g){O(b|0,e|0);G()}L(e|0)}h=M()|0;if((g|0)==1){continue k}q[243032]=0;j=j+1|0;b=ka(1224,j|0,61)|0;e=q[243032];q[243032]=0;g=-1;La:{if(!e){break La}h=q[243033];if(!h){break La}g=$j(q[e>>2],i,l);if(!g){O(e|0,h|0);G()}L(h|0)}h=M()|0;if((g|0)==1){continue k}Ma:{Na:{Oa:{Pa:{Qa:{Ra:{if(b){q[243032]=0;j=wa(1223,k+752|0,j|0,b-j|0)|0;a=q[243032];q[243032]=0;g=-1;if(!a){break Qa}e=q[243033];if(!e){break Qa}g=$j(q[a>>2],i,l);if(g){break Ra}O(a|0,e|0);G()}q[243032]=0;q[k>>2]=a;P(1225,3,149340,149456,k|0);a=q[243032];q[243032]=0;g=-1;if(!a){break Oa}b=q[243033];if(!b){break Oa}g=$j(q[a>>2],i,l);if(g){break Pa}break d}L(e|0)}h=M()|0;if((g|0)!=1){break Na}continue k}L(b|0)}h=M()|0;if((g|0)!=1){break Ma}continue k}if(j){break Ja}a=b+1|0;break Ha}d=q[B>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}a=n}q[243032]=0;La(1230,k+24|0,k+752|0,a|0);a=q[243032];q[243032]=0;c=-1;Sa:{if(!a){break Sa}b=q[243033];if(!b){break Sa}c=$j(q[a>>2],i,l);if(!c){break d}L(b|0)}break v}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}L(b|0)}h=M()|0;continue k}h=M()|0;if((c|0)==1){continue k}j=q[y>>2];continue}}Ta:{if(o[D|0]&1){break Ta}a=q[k+736>>2];if(!a){break Ta}q[243032]=0;aa(1219,a|0);a=q[243032];q[243032]=0;c=-1;Ua:{if(!a){break Ua}b=q[243033];if(!b){break Ua}c=$j(q[a>>2],i,l);if(!c){break d}L(b|0)}h=M()|0;if((c|0)==1){continue}}Va:{if(o[E|0]&1){break Va}a=q[k+720>>2];if(!a){break Va}q[243032]=0;aa(1219,a|0);a=q[243032];q[243032]=0;c=-1;Wa:{if(!a){break Wa}b=q[243033];if(!b){break Wa}c=$j(q[a>>2],i,l);if(!c){break d}L(b|0)}h=M()|0;if((c|0)==1){continue}}break}yi(i);ti=k+1776|0;return g}O(a|0,b|0);G()}O(b|0,c|0);G()}O(b|0,d|0);G()}function Dn(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;h=ti+ -64|0;ti=h;m=r[a|0]&127;a:{if((m|0)==69){break a}y=r[m+98192|0];q[b+104>>2]=y;m=q[((y<<3)+94336|0)+4>>2];q[h+60>>2]=m;if((y|0)==8){o[b+112|0]=fl(a,h+60|0,8);o[b+113|0]=fl(a,h+60|0,8);o[b+114|0]=fl(a,h+60|0,8);o[b+115|0]=fl(a,h+60|0,8);e=1;if(!d){break a}o[b+118|0]=0;o[b+119|0]=(nt(a,h+60|0)|0)!=0;c=fl(a,h+60|0,3);q[b+124>>2]=0;q[b+120>>2]=c;q[b+136>>2]=fl(a,h+60|0,2);q[b+140>>2]=fl(a,h+60|0,5);q[b+144>>2]=fl(a,h+60|0,5);a=fl(a,h+60|0,5);q[b+128>>2]=0;q[b+132>>2]=0;q[b+148>>2]=a;break a}b:{if(d){o[b+116|0]=(nt(a,h+60|0)|0)!=0;d=b;g=7424>>>y&1;if(g){n=0}else{n=(nt(a,h+60|0)|0)!=0}o[d+117|0]=n;o[b+118|0]=(nt(a,h+60|0)|0)!=0;o[b+119|0]=(nt(a,h+60|0)|0)!=0;q[b+120>>2]=fl(a,h+60|0,3);q[b+124>>2]=fl(a,h+60|0,3);d=b;if(g){n=0}else{n=fl(a,h+60|0,5)}q[d+128>>2]=n;if(y-8>>>0<=9){q[b+132>>2]=fl(a,h+60|0,8);break b}q[b+132>>2]=0;break b}q[h+60>>2]=m+r[y+98320|0]}n=1;c:{d:{e:{f:{u=y>>>0>16;m=1;g:{h:{i:{if(u){break i}if(!(1<>2]=d;n=0;break h}q[b+108>>2]=fl(a,h+60|0,5);n=0;m=2}j:{d=0;k:{if(u){break k}if(!(1<>2];if(d>>>0>18){break a}d=w(d,6)+92898|0;break g}d=q[b+108>>2];if(d>>>0>29){break a}d=s[(w(d,6)+92704|0)+2>>1]}e=d;t=1;switch(y-6|0){case 11:break e;case 0:case 5:case 7:break f;default:break c}}d=q[b+108>>2];g=m}if(d>>>0>10){break a}m=g;d=w(d,6)+93026|0}e=s[d>>1];t=1;break c}q[b+16>>2]=fl(a,h+60|0,2);t=2;break d}q[b+16>>2]=3;t=2}C=1}q[b+4>>2]=m;o[b+20|0]=C;q[b+8>>2]=e&65535;q[b+12>>2]=r[y+98352|0];q[b>>2]=r[y+94528|0];A=r[y+94560|0];f=q[w(A,12)+94688>>2];B=r[y+94656|0];v=w(B,m);k=v<<1;l:{m:{n:{o:{g=1497965>>>A&1;p:{if(!g){z=3;e=4;d=5;break p}if(1797559>>>A&1){break o}z=5;e=2;d=3}e=e+k|0;u=(e>>>0)/(d>>>0)|0;l=d>>>0>e>>>0;if(l){break n}i=g?7:8;e=u-1|0;j=k-w(e,d)|0;x=(j|0)==1;if(!g){if(x){g=0;while(1){q[(h+16|0)+(g<<2)>>2]=fl(a,h+60|0,(e|0)==(g|0)?2:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}x=j-2|0;D=(x<<2)+106324|0;g=0;while(1){j=(e|0)==(g|0)?8:i;q[(h+16|0)+(g<<2)>>2]=fl(a,h+60|0,(e|0)!=(g|0)|x>>>0>2?j:q[D>>2]);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}if(!(1797559>>>A&1)){j=x?3:(j|0)==2?5:7;g=0;while(1){q[(h+16|0)+(g<<2)>>2]=fl(a,h+60|0,(e|0)==(g|0)?j:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}g=0;if((j|0)==1){while(1){q[(h+16|0)+(g<<2)>>2]=fl(a,h+60|0,(e|0)==(g|0)?7:i);g=g+1|0;if((u|0)!=(g|0)){continue}break n}}while(1){q[(h+16|0)+(g<<2)>>2]=fl(a,h+60|0,(e|0)==(g|0)?7:i);g=g+1|0;if((u|0)!=(g|0)){continue}break}break n}if(k){break m}break l}if(!k){break l}if(l){break m}j=v<<1;k=0;e=0;g=0;i=0;while(1){q:{v=fl(a,h+60|0,f);if(!e){if(i>>>0>=u>>>0){break q}k=q[(h+16|0)+(i<<2)>>2];i=i+1|0;e=d}l=k;k=(k>>>0)/(z>>>0)|0;o[(b+g|0)+21|0]=v|l-w(z,k)<>2],h+12|0);r:{if((y|0)==18){o[b+39|0]=mm(a,h+60|0,i-1|0);o[b+40|0]=mm(a,h+60|0,i);o[b+41|0]=mm(a,h+60|0,i);o[b+42|0]=mm(a,h+60|0,i);o[b+43|0]=mm(a,h+60|0,i);o[b+44|0]=mm(a,h+60|0,i);o[b+45|0]=mm(a,h+60|0,i);o[b+46|0]=mm(a,h+60|0,i);o[b+47|0]=mm(a,h+60|0,i);o[b+48|0]=mm(a,h+60|0,i);o[b+49|0]=mm(a,h+60|0,i);o[b+50|0]=mm(a,h+60|0,i);o[b+51|0]=mm(a,h+60|0,i);o[b+52|0]=mm(a,h+60|0,i);o[b+53|0]=mm(a,h+60|0,i);o[b+54|0]=mm(a,h+60|0,i);break r}d=a;a=128-q[h+60>>2]|0;g=Ita(d,h+60|0,(a|0)>64?64:a);a=wi;q[h+60>>2]=0;k=-1<>>0>=32?a>>>n|0:((1<>>n);f=d<<1;d=f&31;o[b+41|0]=k&((f&63)>>>0>=32?a>>>d|0:((1<>>d);f=f+i|0;e=f&31;o[b+42|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+43|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+44|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+45|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+46|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+47|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+48|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+49|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+50|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+51|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+52|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+53|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+54|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+55|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+56|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+57|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+58|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+59|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+60|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+61|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+62|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+63|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b- -64|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+65|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+66|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+67|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+68|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+69|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);e=f+i|0;d=e&31;o[b+70|0]=((e&63)>>>0>=32?a>>>d|0:((1<>>d)&k;q[h+60>>2]=e+i;break r}if(n){if(33793>>>y&1){e=g;o[b+39|0]=e&7;o[b+54|0]=a>>>27&15;o[b+53|0]=a>>>23&15;o[b+52|0]=a>>>19&15;o[b+51|0]=a>>>15&15;o[b+50|0]=a>>>11&15;o[b+49|0]=a>>>7&15;o[b+48|0]=a>>>3&15;o[b+47|0]=((a&2147483647)<<1|e>>>31)&15;o[b+46|0]=e>>>27&15;o[b+45|0]=e>>>23&15;o[b+44|0]=e>>>19&15;o[b+43|0]=e>>>15&15;o[b+42|0]=e>>>11&15;o[b+41|0]=e>>>7&15;o[b+40|0]=e>>>3&15;break r}o[b+39|0]=g&f;f=d&31;o[b+40|0]=k&((d&63)>>>0>=32?a>>>f|0:((1<>>f);f=d+i|0;d=f&31;o[b+41|0]=k&((f&63)>>>0>=32?a>>>d|0:((1<>>d);f=f+i|0;e=f&31;o[b+42|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+43|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+44|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+45|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+46|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+47|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+48|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+49|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+50|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+51|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+52|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);f=f+i|0;e=f&31;o[b+53|0]=k&((f&63)>>>0>=32?a>>>e|0:((1<>>e);e=f+i|0;d=e&31;o[b+54|0]=((e&63)>>>0>=32?a>>>d|0:((1<>>d)&k;q[h+60>>2]=e+i;break r}u=r[e+2|0];n=r[e|0];z=r[e+1|0];j=!u|(!n|!z);o[b+39|0]=(j?f:k)&g;l=j?d:i;j=l&31;v=(n|0)==1|(z|0)==1|(u|0)==1;o[b+40|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==2|(z|0)==2|(u|0)==2;o[b+41|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==3|(z|0)==3|(u|0)==3;o[b+42|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==4|(z|0)==4|(u|0)==4;o[b+43|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==5|(z|0)==5|(u|0)==5;o[b+44|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==6|(z|0)==6|(u|0)==6;o[b+45|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==7|(z|0)==7|(u|0)==7;o[b+46|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==8|(z|0)==8|(u|0)==8;o[b+47|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==9|(z|0)==9|(u|0)==9;o[b+48|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==10|(z|0)==10|(u|0)==10;o[b+49|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==11|(z|0)==11|(u|0)==11;o[b+50|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);l=l+(v?d:i)|0;j=l&31;x=(n|0)==12|(z|0)==12|(u|0)==12;o[b+51|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);l=l+(x?d:i)|0;j=l&31;v=(n|0)==13|(z|0)==13|(u|0)==13;o[b+52|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(v?f:k);v=l+(v?d:i)|0;l=v;j=l&31;x=(n|0)==14|(z|0)==14|(u|0)==14;o[b+53|0]=((l&63)>>>0>=32?a>>>j|0:((1<>>j)&(x?f:k);e=(n|0)==15|(z|0)==15|(u|0)==15;u=g;n=l+(x?d:i)|0;g=n&31;o[b+54|0]=((n&63)>>>0>=32?a>>>g|0:((1<>>g)&(e?f:k);q[h+60>>2]=n+(e?d:i)}s:{if(!c|y-15>>>0<3){break s}c=0;o[h+10|0]=0;p[h+8>>1]=0;e=B>>>0>1?B:1;u=A<<9;d=b+21|0;k=0;t:{while(1){a=u+312416|0;y=w(c,B);f=y<<1;g=f+d|0;if((r[a+(r[g+3|0]<<1)|0]+r[a+(r[d+(f|1)|0]<<1)|0]|0)+r[a+(r[g+5|0]<<1)|0]>>>0>>0){a=0;while(1){g=a+y<<1;Mw(g+d|0,d+(g|1)|0);a=a+1|0;if((e|0)!=(a|0)){continue}break}k=1;o[(h+8|0)+c|0]=1;c=c+1|0;if((m|0)!=(c|0)){continue}break t}c=c+1|0;if((m|0)!=(c|0)){continue}break}if(!(k&1)){break s}}a=-1<>2];d=r[r[c|0]+(h+8|0)|0];if(!C){if(d){o[b+39|0]=a-r[b+39|0]}if(r[r[c+1|0]+(h+8|0)|0]){d=b+t|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+2|0]+(h+8|0)|0]){d=(t<<1)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+3|0]+(h+8|0)|0]){d=w(t,3)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+4|0]+(h+8|0)|0]){d=(t<<2)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+5|0]+(h+8|0)|0]){d=w(t,5)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+6|0]+(h+8|0)|0]){d=w(t,6)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+7|0]+(h+8|0)|0]){d=w(t,7)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+8|0]+(h+8|0)|0]){d=(t<<3)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+9|0]+(h+8|0)|0]){d=w(t,9)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+10|0]+(h+8|0)|0]){d=w(t,10)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+11|0]+(h+8|0)|0]){d=w(t,11)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+12|0]+(h+8|0)|0]){d=w(t,12)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+13|0]+(h+8|0)|0]){d=w(t,13)+b|0;o[d+39|0]=a-r[d+39|0]}if(r[r[c+14|0]+(h+8|0)|0]){d=w(t,14)+b|0;o[d+39|0]=a-r[d+39|0]}if(!r[r[c+15|0]+(h+8|0)|0]){break s}b=w(t,15)+b|0;o[b+39|0]=a-r[b+39|0];break s}if(d){o[b+39|0]=a-r[b+39|0];o[b+40|0]=a-r[b+40|0]}if(r[r[c+1|0]+(h+8|0)|0]){d=b+t|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+2|0]+(h+8|0)|0]){d=b+39|0;m=t<<1;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+3|0]+(h+8|0)|0]){d=w(t,3)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+4|0]+(h+8|0)|0]){d=b+39|0;m=t<<2;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+5|0]+(h+8|0)|0]){d=w(t,5)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+6|0]+(h+8|0)|0]){d=b+39|0;m=w(t,6);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+7|0]+(h+8|0)|0]){d=w(t,7)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+8|0]+(h+8|0)|0]){d=b+39|0;m=t<<3;g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+9|0]+(h+8|0)|0]){d=w(t,9)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+10|0]+(h+8|0)|0]){d=b+39|0;m=w(t,10);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+11|0]+(h+8|0)|0]){d=w(t,11)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+12|0]+(h+8|0)|0]){d=b+39|0;m=w(t,12);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(r[r[c+13|0]+(h+8|0)|0]){d=w(t,13)+b|0;o[d+39|0]=a-r[d+39|0];o[d+40|0]=a-r[d+40|0]}if(r[r[c+14|0]+(h+8|0)|0]){d=b+39|0;m=w(t,14);g=d+m|0;o[g|0]=a-r[g|0];d=d+(m|1)|0;o[d|0]=a-r[d|0]}if(!r[r[c+15|0]+(h+8|0)|0]){break s}b=w(t,15)+b|0;o[b+39|0]=a-r[b+39|0];o[b+40|0]=a-r[b+40|0]}e=1}ti=h- -64|0;return e}function uw(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=ti-16|0;ti=d;a:while(1){i=b-16|0;b:while(1){g=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-g|0;e=a>>4;switch(e|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}a=b-16|0;c=q[a>>2];b=q[a+4>>2];e=q[g+4>>2];if((b|0)==(e|0)&t[g>>2]<=c>>>0|b>>>0>e>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}a=g+16|0;b=b-16|0;c=b;f=q[c>>2];c=q[c+4>>2];e=q[g+20>>2];j=q[g+4>>2];i=q[g+16>>2];if((e|0)==(j|0)&i>>>0>=t[g>>2]|e>>>0>j>>>0){if((c|0)==(e|0)&f>>>0>=i>>>0|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;c=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=c;b=q[g+20>>2];c=q[g+4>>2];if((b|0)==(c|0)&t[g+16>>2]>=t[g>>2]|b>>>0>c>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}if((c|0)==(e|0)&f>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[b+12>>2];q[g+8>>2]=q[b+8>>2];q[g+12>>2]=a;a=q[b+4>>2];q[g>>2]=q[b>>2];q[g+4>>2]=a;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+8|0;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;c=q[b+4>>2];e=q[g+20>>2];if((c|0)==(e|0)&t[b>>2]>=t[g+16>>2]|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+16|0;a=g+32|0;e=g+48|0;Jo(g,c,a,e);b=b-16|0;f=b;i=q[f>>2];f=q[f+4>>2];h=q[g+52>>2];if((f|0)==(h|0)&t[g+48>>2]<=i>>>0|f>>>0>h>>>0){break d}f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;f=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=f;f=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=f;f=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=f;f=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=f;b=q[e+4>>2];f=q[a+4>>2];if((b|0)==(f|0)&t[e>>2]>=t[a>>2]|b>>>0>f>>>0){break d}b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[e+12>>2];q[a+8>>2]=q[e+8>>2];q[a+12>>2]=b;b=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=b;b=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=b;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;b=q[a+4>>2];e=q[c+4>>2];if((b|0)==(e|0)&t[a>>2]>=t[c>>2]|b>>>0>e>>>0){break d}b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=b;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;a=q[g+20>>2];b=q[g+4>>2];if((a|0)==(b|0)&t[g+16>>2]>=t[g>>2]|a>>>0>b>>>0){break d}a=g+8|0;b=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=b;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[c+4>>2];q[g>>2]=q[c>>2];q[g+4>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;break d}if((a|0)<=495){a=g+16|0;e=g+32|0;i=q[g+32>>2];c=q[g+36>>2];f=q[g+20>>2];h=q[g+4>>2];j=q[g+16>>2];m=q[g>>2];l:{if((f|0)==(h|0)&j>>>0>=m>>>0|f>>>0>h>>>0){if((c|0)==(f|0)&i>>>0>=j>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;c=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=c;c=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=c;c=q[a+4>>2];if((h|0)==(c|0)&m>>>0<=t[a>>2]|c>>>0>h>>>0){break l}c=g+8|0;f=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=f;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;break l}if((c|0)==(f|0)&i>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=e+8|0;c=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=c;a=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=a;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;break l}f=g+8|0;h=q[f+4>>2];q[d+8>>2]=q[f>>2];q[d+12>>2]=h;f=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=f;f=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=f;f=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=f;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;f=q[g+20>>2];if((f|0)==(c|0)&t[g+16>>2]<=i>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a}a=g+48|0;if((b|0)==(a|0)){break d}while(1){c=a;i=q[a+4>>2];f=i;j=q[e+4>>2];h=q[a>>2];if((f|0)==(j|0)&h>>>0>2]|f>>>0>>0){j=q[c+8>>2];k=q[c+12>>2];f=c;while(1){m:{a=e;l=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=l;l=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=l;if((a|0)==(g|0)){a=g;break m}f=a;e=a-16|0;m=q[e>>2];l=q[e+4>>2];if((l|0)==(i|0)&h>>>0>>0|i>>>0>>0){continue}}break}q[a+8>>2]=j;q[a+12>>2]=k;q[a>>2]=h;q[a+4>>2]=i}e=c;a=e+16|0;if((b|0)!=(a|0)){continue}break}break d}f=((e|0)/2<<4)+g|0;n:{if((a|0)>=15985){e=(e|0)/4<<4;a=e+g|0;e=e+f|0;j=Jo(g,a,f,e);h=q[i+4>>2];k=q[e+4>>2];if((h|0)==(k|0)&t[i>>2]>=t[e>>2]|h>>>0>k>>>0){break n}h=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=h;h=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=h;h=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=h;h=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=h;h=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=h;h=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=h;h=q[e+4>>2];k=q[f+4>>2];if((h|0)==(k|0)&t[e>>2]>=t[f>>2]|h>>>0>k>>>0){j=j+1|0;break n}h=f+8|0;k=q[h+4>>2];q[d+8>>2]=q[h>>2];q[d+12>>2]=k;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=h;h=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=h;h=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=h;h=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=h;e=q[f+4>>2];h=q[a+4>>2];if((e|0)==(h|0)&t[f>>2]>=t[a>>2]|e>>>0>h>>>0){j=j+2|0;break n}e=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=e;e=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=e;e=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=e;e=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=e;e=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=e;e=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=e;e=q[a+4>>2];h=q[g+4>>2];if((e|0)==(h|0)&t[a>>2]>=t[g>>2]|e>>>0>h>>>0){j=j+3|0;break n}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=e;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+4|0;break n}a=q[f+4>>2];j=q[g+4>>2];e=q[f>>2];o:{if((a|0)==(j|0)&e>>>0>=t[g>>2]|a>>>0>j>>>0){j=0;h=q[i+4>>2];if((a|0)==(h|0)&e>>>0<=t[i>>2]|a>>>0>>0){break n}a=f+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;a=q[f+4>>2];e=q[g+4>>2];if((a|0)==(e|0)&t[f>>2]>=t[g>>2]|a>>>0>e>>>0){break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=a;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;break o}h=q[i+4>>2];if((h|0)==(a|0)&t[i>>2]>>0|a>>>0>h>>>0){a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=a;a=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=f+8|0;e=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=e;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=1;a=q[i+4>>2];e=q[f+4>>2];if((a|0)==(e|0)&t[i>>2]>=t[f>>2]|a>>>0>e>>>0){break n}a=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=a;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a}j=2}a=i;h=q[g+4>>2];e=q[f+4>>2];k=q[g>>2];n=q[f>>2];if(!((h|0)==(e|0)&k>>>0>>0|h>>>0>>0)){while(1){a=a-16|0;if((g|0)==(a|0)){e=g+16|0;a=q[i+4>>2];if((a|0)==(h|0)&t[i>>2]>k>>>0|a>>>0>h>>>0){break e}if((e|0)==(i|0)){break d}while(1){a=q[e+4>>2];if((h|0)==(a|0)&k>>>0>2]|a>>>0>h>>>0){a=e+8|0;f=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=f;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=a;a=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;e=e+16|0;break e}e=e+16|0;if((i|0)!=(e|0)){continue}break}break d}l=q[a+4>>2];if((e|0)==(l|0)&n>>>0<=t[a>>2]|e>>>0>>0){continue}break}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=a+8|0;h=q[e+4>>2];q[g+8>>2]=q[e>>2];q[g+12>>2]=h;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+1|0}e=g+16|0;if(e>>>0>=a>>>0){break f}while(1){l=q[f>>2];k=q[f+4>>2];while(1){h=e;e=e+16|0;m=q[h+4>>2];if((k|0)==(m|0)&l>>>0>t[h>>2]|k>>>0>m>>>0){continue}break}while(1){a=a-16|0;n=q[a>>2];m=q[a+4>>2];if((k|0)==(m|0)&l>>>0<=n>>>0|k>>>0>>0){continue}break}if(a>>>0>>0){e=h;break f}else{k=q[h+12>>2];q[d+8>>2]=q[h+8>>2];q[d+12>>2]=k;k=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=k;k=a+8|0;l=q[k+4>>2];q[h+8>>2]=q[k>>2];q[h+12>>2]=l;k=q[a+4>>2];q[h>>2]=q[a>>2];q[h+4>>2]=k;k=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=k;k=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=k;f=(f|0)==(h|0)?a:f;j=j+1|0;continue}}}Jo(g,g+16|0,g+32|0,b-16|0);break d}p:{if((e|0)==(f|0)){break p}a=q[f+4>>2];h=q[e+4>>2];if((a|0)==(h|0)&t[f>>2]>=t[e>>2]|a>>>0>h>>>0){break p}a=e+8|0;h=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=h;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=f+8|0;h=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=h;a=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=j+1|0}if(!j){f=$v(g,e,c);a=e+16|0;if($v(a,b,c)){b=e;a=g;if(!f){continue a}break d}if(f){continue b}}if((e-g|0)<(b-e|0)){uw(g,e,c);a=e+16|0;continue b}uw(e+16|0,b,c);b=e;a=g;continue a}a=i;if((e|0)==(a|0)){break d}while(1){j=q[g>>2];h=q[g+4>>2];while(1){f=e;e=e+16|0;k=q[f+4>>2];if((k|0)==(h|0)&t[f>>2]<=j>>>0|h>>>0>k>>>0){continue}break}while(1){a=a-16|0;l=q[a>>2];k=q[a+4>>2];if((k|0)==(h|0)&j>>>0>>0|h>>>0>>0){continue}break}if(a>>>0<=f>>>0){g=f;continue c}else{h=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=h;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=a+8|0;j=q[h+4>>2];q[f+8>>2]=q[h>>2];q[f+12>>2]=j;h=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=h;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;continue}}}break}break}break}ti=d+16|0} -function Bv(a,b,c){var d=0,e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=x(0),F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0;a:{b:{d=q[a+104>>2];if(!((d|0)==8|d-8>>>0>9)){d=r[b+3|0];e=d>>>0>255?255:d;d=r[b+7|0];e=d>>>0>e>>>0?e:d;d=r[b+11|0];e=d>>>0>e>>>0?e:d;d=r[b+15|0];e=d>>>0>e>>>0?e:d;d=r[b+19|0];e=d>>>0>e>>>0?e:d;d=r[b+23|0];e=d>>>0>e>>>0?e:d;d=r[b+27|0];e=d>>>0>e>>>0?e:d;d=r[b+31|0];e=d>>>0>e>>>0?e:d;d=r[b+35|0];e=d>>>0>e>>>0?e:d;d=r[b+39|0];e=d>>>0>e>>>0?e:d;d=r[b+43|0];e=d>>>0>e>>>0?e:d;d=r[b+47|0];e=d>>>0>e>>>0?e:d;d=r[b+51|0];e=d>>>0>e>>>0?e:d;d=r[b+55|0];e=d>>>0>e>>>0?e:d;d=r[b+59|0];e=d>>>0>e>>>0?e:d;d=r[b+63|0];g=d>>>0>e>>>0?e:d;e=r[b+3|0];d=r[b+7|0];e=d>>>0>>0?e:d;d=r[b+11|0];e=d>>>0>>0?e:d;d=r[b+15|0];e=d>>>0>>0?e:d;d=r[b+19|0];e=d>>>0>>0?e:d;d=r[b+23|0];e=d>>>0>>0?e:d;d=r[b+27|0];e=d>>>0>>0?e:d;d=r[b+31|0];e=d>>>0>>0?e:d;d=r[b+35|0];e=d>>>0>>0?e:d;d=r[b+39|0];e=d>>>0>>0?e:d;d=r[b+43|0];e=d>>>0>>0?e:d;d=r[b+47|0];e=d>>>0>>0?e:d;d=r[b+51|0];e=d>>>0>>0?e:d;d=r[b+55|0];e=d>>>0>>0?e:d;d=r[b+59|0];e=d>>>0>>0?e:d;d=r[b+63|0];d=d>>>0>>0?e:d;if((g|0)!=(d|0)){break b}p[c>>1]=g&255|7424;break a}b=c;if((d|0)==8){a=r[Cj(a+112|0,3)|0]|7424}else{a=7679}p[b>>1]=a;break a}e=q[a+132>>2];f=e>>>4|0;if(f){o[c+1|0]=(e<<8&3840|f<<12)>>>8;a=c;h=x(g>>>0);E=x(x(d>>>0)-h);e=((e&15)<<3)+94768|0;d=o[e+3|0];h=$n(x(x(E*x(x(0-d|0)/x(o[e+7|0]-d|0)))+h));c:{if(x(y(h))>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+1|0])|0;H=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+2|0])|0;I=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+3|0])|0;K=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+4|0])|0;L=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+5|0])|0;M=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+6|0])|0;N=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+7|0])|0;O=(a>>>0<256?a:a>>31^-1)&255;while(1){a=j;e=r[((((a&3)<<4)+b|0)+(a&-4)|0)+3|0];d=F-e|0;k=d>>31;a=H-e|0;l=a>>31;m=I-e|0;n=m>>31;s=K-e|0;t=s>>31;u=L-e|0;v=u>>31;f=M-e|0;z=f>>31;g=N-e|0;A=g>>31;e=O-e|0;B=e>>31;d=(k^d+k)<<3;a=(l^a+l)<<3|1;d=a>>>0>d>>>0?d:a;a=(n^n+m)<<3|2;d=a>>>0>d>>>0?d:a;a=(t^t+s)<<3|3;d=a>>>0>d>>>0?d:a;a=(v^v+u)<<3|4;d=a>>>0>d>>>0?d:a;a=(z^f+z)<<3|5;d=a>>>0>d>>>0?d:a;a=(A^g+A)<<3|6;d=a>>>0>d>>>0?d:a;a=(B^e+B)<<3|7;e=(a>>>0>d>>>0?d:a)&7;d=jwa(j,i,-3,-1)+45|0;a=d;d=d&31;if((a&63)>>>0>=32){a=e<>>32-d;d=e<>>0<1?i+1|0:i;j=a;if((a|0)!=16|i){continue}break}_s(c,C,D);return}J(94714,85651,14688,94730);G()}a=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[c+2|0]=a;o[c+3|0]=a>>>8;o[c+4|0]=a>>>16;o[c+5|0]=a>>>24;a=r[94712]|r[94713]<<8;o[c+6|0]=a;o[c+7|0]=a>>>8}function zr(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+4>>2];g=a+80|0;f=q[a>>2];d=f&127;o[g+d|0]=128;e=d+1|0;a:{if(d>>>0<=111){qi((a+e|0)+80|0,0,111-d|0);break a}qi((a+e|0)+80|0,0,d^127);Jr(a,g);qi(g,0,112);f=q[a>>2];c=q[a+4>>2]}o[a+206|0]=(c&31)<<27|f>>>5;o[a+205|0]=(c&8191)<<19|f>>>13;o[a+204|0]=(c&2097151)<<11|f>>>21;o[a+203|0]=(c&536870911)<<3|f>>>29;o[a+202|0]=c>>>5;o[a+201|0]=c>>>13;o[a+200|0]=c>>>21;o[a+207|0]=f<<3;e=q[a+12>>2];d=e;e=q[a+8>>2];o[a+198|0]=(d&31)<<27|e>>>5;o[a+197|0]=(d&8191)<<19|e>>>13;o[a+196|0]=(d&2097151)<<11|e>>>21;o[a+195|0]=(d&536870911)<<3|e>>>29;o[a+194|0]=d>>>5;o[a+193|0]=d>>>13;o[a+192|0]=d>>>21;o[a+199|0]=e<<3|c>>>29;Jr(a,g);o[b|0]=r[a+23|0];o[b+1|0]=s[a+22>>1];o[b+2|0]=q[a+20>>2]>>>8;o[b+3|0]=q[a+20>>2];o[b+4|0]=(q[a+20>>2]&16777215)<<8|q[a+16>>2]>>>24;o[b+5|0]=(q[a+20>>2]&65535)<<16|q[a+16>>2]>>>16;o[b+6|0]=(q[a+20>>2]&255)<<24|q[a+16>>2]>>>8;o[b+7|0]=q[a+16>>2];o[b+8|0]=r[a+31|0];o[b+9|0]=s[a+30>>1];o[b+10|0]=q[a+28>>2]>>>8;o[b+11|0]=q[a+28>>2];o[b+12|0]=(q[a+28>>2]&16777215)<<8|q[a+24>>2]>>>24;o[b+13|0]=(q[a+28>>2]&65535)<<16|q[a+24>>2]>>>16;o[b+14|0]=(q[a+28>>2]&255)<<24|q[a+24>>2]>>>8;o[b+15|0]=q[a+24>>2];o[b+16|0]=r[a+39|0];o[b+17|0]=s[a+38>>1];o[b+18|0]=q[a+36>>2]>>>8;o[b+19|0]=q[a+36>>2];o[b+20|0]=(q[a+36>>2]&16777215)<<8|q[a+32>>2]>>>24;o[b+21|0]=(q[a+36>>2]&65535)<<16|q[a+32>>2]>>>16;o[b+22|0]=(q[a+36>>2]&255)<<24|q[a+32>>2]>>>8;o[b+23|0]=q[a+32>>2];o[b+24|0]=r[a+47|0];o[b+25|0]=s[a+46>>1];o[b+26|0]=q[a+44>>2]>>>8;o[b+27|0]=q[a+44>>2];o[b+28|0]=(q[a+44>>2]&16777215)<<8|q[a+40>>2]>>>24;o[b+29|0]=(q[a+44>>2]&65535)<<16|q[a+40>>2]>>>16;o[b+30|0]=(q[a+44>>2]&255)<<24|q[a+40>>2]>>>8;o[b+31|0]=q[a+40>>2];o[b+32|0]=r[a+55|0];o[b+33|0]=s[a+54>>1];o[b+34|0]=q[a+52>>2]>>>8;o[b+35|0]=q[a+52>>2];o[b+36|0]=(q[a+52>>2]&16777215)<<8|q[a+48>>2]>>>24;o[b+37|0]=(q[a+52>>2]&65535)<<16|q[a+48>>2]>>>16;o[b+38|0]=(q[a+52>>2]&255)<<24|q[a+48>>2]>>>8;o[b+39|0]=q[a+48>>2];o[b+40|0]=r[a+63|0];o[b+41|0]=s[a+62>>1];o[b+42|0]=q[a+60>>2]>>>8;o[b+43|0]=q[a+60>>2];o[b+44|0]=(q[a+60>>2]&16777215)<<8|q[a+56>>2]>>>24;o[b+45|0]=(q[a+60>>2]&65535)<<16|q[a+56>>2]>>>16;o[b+46|0]=(q[a+60>>2]&255)<<24|q[a+56>>2]>>>8;o[b+47|0]=q[a+56>>2];if(!q[a+208>>2]){o[b+48|0]=r[a+71|0];o[b+49|0]=s[a+70>>1];c=a- -64|0;e=q[c+4>>2];o[b+50|0]=e>>>8;o[b+51|0]=q[a+68>>2];o[b+52|0]=(q[c+4>>2]&16777215)<<8|q[c>>2]>>>24;o[b+53|0]=(q[c+4>>2]&65535)<<16|q[c>>2]>>>16;o[b+54|0]=(q[c+4>>2]&255)<<24|q[c>>2]>>>8;o[b+55|0]=q[c>>2];o[b+56|0]=r[a+79|0];o[b+57|0]=s[a+78>>1];o[b+58|0]=q[a+76>>2]>>>8;o[b+59|0]=q[a+76>>2];o[b+60|0]=(q[a+76>>2]&16777215)<<8|q[a+72>>2]>>>24;o[b+61|0]=(q[a+76>>2]&65535)<<16|q[a+72>>2]>>>16;o[b+62|0]=(q[a+76>>2]&255)<<24|q[a+72>>2]>>>8;o[b+63|0]=q[a+72>>2]}return 0}function zN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0);g=fi-48|0;fi=g;e=a+160|0;f=a+320|0;d=q[a+464>>2];c=q[a+304>>2];a:{if(c>>>0>=t[a+144>>2]){if(c>>>0<=d>>>0){break a}Vj(e,f);if(t[a+304>>2]>=t[a+144>>2]){break a}Vj(a,e);break a}if(c>>>0>d>>>0){Vj(a,f);break a}Vj(a,e);if(t[a+464>>2]>=t[a+304>>2]){break a}Vj(e,f)}e=a+480|0;if((e|0)!=(b|0)){while(1){h=q[e+144>>2];if(h>>>0>2]){i=u[e+56>>2];j=u[e+52>>2];k=u[e+44>>2];l=u[e+40>>2];m=u[e+36>>2];n=u[e+28>>2];o=u[e+24>>2];p=u[e+20>>2];r=u[e+48>>2];s=u[e+32>>2];v=u[e+16>>2];w=u[e+8>>2];y=u[e+4>>2];z=u[e>>2];q[g+44>>2]=q[e+88>>2];c=q[e+84>>2];q[g+36>>2]=q[e+80>>2];q[g+40>>2]=c;c=q[e+76>>2];q[g+28>>2]=q[e+72>>2];q[g+32>>2]=c;c=q[e+68>>2];q[g+20>>2]=q[e+64>>2];q[g+24>>2]=c;A=u[e+136>>2];B=u[e+132>>2];C=u[e+124>>2];D=u[e+120>>2];E=u[e+116>>2];F=u[e+108>>2];G=u[e+104>>2];H=u[e+100>>2];I=u[e+128>>2];J=u[e+112>>2];K=u[e+96>>2];q[g+8>>2]=q[e+156>>2];c=q[e+152>>2];q[g>>2]=q[e+148>>2];q[g+4>>2]=c;c=e;while(1){b:{d=f;u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];f=q[d+68>>2];q[c+64>>2]=q[d+64>>2];q[c+68>>2]=f;f=q[d+76>>2];q[c+72>>2]=q[d+72>>2];q[c+76>>2]=f;f=q[d+84>>2];q[c+80>>2]=q[d+80>>2];q[c+84>>2]=f;q[c+88>>2]=q[d+88>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];f=q[d+148>>2];q[c+144>>2]=q[d+144>>2];q[c+148>>2]=f;f=q[d+156>>2];q[c+152>>2]=q[d+152>>2];q[c+156>>2]=f;if((a|0)==(d|0)){c=a;break b}f=d-160|0;c=d;if(t[c-16>>2]>h>>>0){continue}}break}u[c+48>>2]=r;u[c+32>>2]=s;u[c+16>>2]=v;u[c+8>>2]=w;u[c+4>>2]=y;u[c>>2]=z;u[c+56>>2]=i;u[c+52>>2]=j;u[c+44>>2]=k;u[c+40>>2]=l;u[c+36>>2]=m;u[c+28>>2]=n;u[c+24>>2]=o;u[c+20>>2]=p;d=d- -64|0;q[d+24>>2]=q[g+44>>2];f=q[g+40>>2];q[d+16>>2]=q[g+36>>2];q[d+20>>2]=f;f=q[g+32>>2];q[d+8>>2]=q[g+28>>2];q[d+12>>2]=f;f=q[g+24>>2];q[d>>2]=q[g+20>>2];q[d+4>>2]=f;q[c+144>>2]=h;u[c+136>>2]=A;u[c+132>>2]=B;u[c+128>>2]=I;u[c+124>>2]=C;u[c+120>>2]=D;u[c+116>>2]=E;u[c+112>>2]=J;u[c+108>>2]=F;u[c+104>>2]=G;u[c+100>>2]=H;u[c+96>>2]=K;f=q[g+4>>2];q[c+148>>2]=q[g>>2];q[c+152>>2]=f;q[c+156>>2]=q[g+8>>2]}f=e;e=e+160|0;if((e|0)!=(b|0)){continue}break}}fi=g+48|0}function k1(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;c=fi-2880|0;fi=c;h=q[a+8>>2]-q[a+12>>2]>>4;b=c+180|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+340|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+500|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+660|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+820|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+980|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1140|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1300|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1460|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1620|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1780|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1940|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2100|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2260|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2420|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2580|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[c+44>>2]=0;q[c+44>>2]=0;ij(a,q[c+44>>2],0);if(q[c+44>>2]){i=c+2736|0;j=c+2672|0;while(1){ij(a,0,0);d=(c+48|0)+w(f,160)|0;wi(a,d);pi(a,-2,117250);a:{if(r[d+128|0]&4){q[c+40>>2]=q[d+148>>2];b=q[d+144>>2];q[c+32>>2]=q[d+140>>2];q[c+36>>2]=b;b=q[d+136>>2];q[c+24>>2]=q[d+132>>2];q[c+28>>2]=b;b=c0(c+24|0);if(b){wi(a,b);ki(b);break a}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;ki(b);break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}pi(a,-2,117255);b:{c:{switch(q[d+132>>2]-1|0){case 0:wi(a,117263);break b;case 1:wi(a,117268);break b;default:break c}}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}pi(a,-2,117273);d:{if(r[d+128|0]&8){b=r[d+152|0];e=r[d+153|0];g=r[d+154|0];k=r[d+155|0];l=r[d+156|0];q[c+20>>2]=r[d+157|0];q[c+16>>2]=l;q[c+12>>2]=k;q[c+8>>2]=g;q[c+4>>2]=e;q[c>>2]=b;cj(c+2608|0,64,117280,c);wi(a,c+2608|0);break d}e=0;qi(c+2608|0,0,264);fs(c+2608|0);b=j;b=(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))!=1919184449|(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))!=6580591;if(!b){e=(mp(i,0)|0)>22}g=q[c+2868>>2];if(g){ki(g)}if(!(b|e^1)){wi(a,117310);break d}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}pi(a,-2,117328);b=q[d+128>>2]&1;e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=b;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,117332);b=q[d+128>>2]>>>1&1;d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,117335);f=f+1|0;vk(a,-2,f);if(t[c+44>>2]>f>>>0){continue}break}}if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(116875,116900,838,117343);G()}fi=c+2880|0;return 1}function YY(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,p=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=q[a+12>>2]-1|0;c=q[a+16>>2];w=f+(c-b|0)|0;j=q[a+28>>2];k=q[j+48>>2];n=q[j+40>>2];x=k+n|0;m=q[j+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;p=(c+f|0)-257|0;i=q[a>>2]-1|0;t=(i+q[a+4>>2]|0)-5|0;u=q[j+80>>2];v=q[j+76>>2];g=q[j+60>>2];b=q[j+56>>2];A=q[j+44>>2];while(1){if(g>>>0<=14){b=((r[i+1|0]<>>c|0;h=s[e+2>>1];a:{b:{c:{d=r[e|0];if(!d){break c}d:{e:{f:{B=j;C=a;g:{h:{i:{while(1){e=d&255;if(d&16){h=h&65535;e=e&15;j:{if(!e){c=i;break j}if(e>>>0<=g>>>0){c=i}else{b=(r[i+1|0]<>>e|0}d=b;if(g>>>0<=14){d=((r[c+1|0]<>>b|0;e=s[i+2>>1];d=r[i|0];if(d&16){break i}while(1){if(!(d&64)){d=(((-1<>>i|0;e=s[d+2>>1];d=r[d|0];if(!(d&16)){continue}break i}break}i=c;c=178126;break h}if(!(e&64)){e=(((-1<>>c|0;h=s[e+2>>1];d=r[e|0];if(!d){break c}continue}break}c=11;if(e&32){break g}c=178148;break h}l=e&65535;d=d&15;k:{if(d>>>0<=g>>>0){e=g;i=c;break k}b=(r[c+1|0]<>>0<=e>>>0){break k}b=(r[c+2|0]<>>d|0;l=c+l|0;c=f-w|0;if(l>>>0<=c>>>0){break e}c=l-c|0;if(!q[j+7104>>2]|c>>>0<=A>>>0){break f}c=178096}q[C+24>>2]=c;c=29}q[B>>2]=c;break a}l:{m:{if(!k){d=(n-c|0)+m|0;break m}if(c>>>0>k>>>0){d=(x-c|0)+m|0;c=c-k|0;e=c;if(h>>>0<=c>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=m;e=k;h=h-c|0;if(e>>>0>=h>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=f-l|0;h=h-k|0;break l}d=(k-c|0)+m|0}e=c;if(h>>>0<=c>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=f-l|0;h=h-c|0}if(h>>>0>=3){while(1){o[f+1|0]=r[d+1|0];o[f+2|0]=r[d+2|0];o[f+3|0]=r[d+3|0];f=f+3|0;d=d+3|0;h=h-3|0;if(h>>>0>2){continue}break}}if(!h){break b}o[f+1|0]=r[d+1|0];if((h|0)!=1){break d}f=f+1|0;break b}c=f-l|0;while(1){d=f;e=c;o[d+1|0]=r[c+1|0];o[d+2|0]=r[c+2|0];o[d+3|0]=r[c+3|0];f=d+3|0;c=c+3|0;h=h-3|0;if(h>>>0>2){continue}break}if(!h){break b}o[d+4|0]=r[e+4|0];if((h|0)==1){f=d+4|0;break b}o[d+5|0]=r[e+5|0];f=d+5|0;break b}o[f+2|0]=r[d+2|0];f=f+2|0;break b}o[f+1|0]=h;f=f+1|0}if(f>>>0>=p>>>0){break a}if(i>>>0>>0){continue}}break}q[a+12>>2]=f+1;q[a+16>>2]=(p-f|0)+257;c=i-(g>>>3|0)|0;q[a>>2]=c+1;q[a+4>>2]=(t-c|0)+5;a=g&7;q[j+60>>2]=a;q[j+56>>2]=(-1<>2];q[b+392>>2]=0;q[b+396>>2]=0;q[b+384>>2]=0;q[b+388>>2]=0;q[b+376>>2]=0;q[b+380>>2]=0;q[b+368>>2]=0;q[b+372>>2]=0;fm(a,b+368|0);q[b+360>>2]=0;q[b+364>>2]=0;q[b+352>>2]=0;q[b+356>>2]=0;q[b+344>>2]=0;q[b+348>>2]=0;q[b+336>>2]=0;q[b+340>>2]=0;ok(a,1,b+336|0,b+368|0);c=q[q[q[c+4>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+4224>>2];g=q[c+4228>>2]}b:{if((e|0)!=q[b+336>>2]|(g|0)!=q[b+340>>2]){a=ni(a,14922,0);break b}c:{if($j(a,2)){c=li(_i(a,2,0));e=ii;break c}c=Qk(a,2);e=ii}l=un(q[q[f+80>>2]+8>>2],q[b+352>>2],q[b+356>>2]);if(!l){q[b>>2]=Ei(q[b+352>>2],q[b+356>>2]);a=ni(a,14983,b);break b}d:{if(q[a+8>>2]-q[a+12>>2]>>4<3){f=0;g=0;i=0;break d}vj(a,3,5);Hi(a,3);zi(a,-1,15025);d=ri(a,-1);e:{if(!d){f=0;g=0;break e}f=Pj(a,-1);h=ii;g=1}oi(a,-2);zi(a,-1,15029);f:{i=ri(a,-1);if(!i){break f}if(d){a=ni(a,15035,0);break b}if(!Gj(a,-1)){a=ni(a,15088,0);break b}d=gj(a,-1);f=d-1|0;if((d|0)>0){break f}c=Ei(c,e);q[b+228>>2]=f;q[b+224>>2]=c;a=ni(a,15146,b+224|0);break b}oi(a,-2);oi(a,-2);i=(i|0)!=0}k=ap(b+248|0);o[b+240|0]=g;d=r[b+332|0]|r[b+333|0]<<8|(r[b+334|0]<<16|r[b+335|0]<<24);o[b+244|0]=d;o[b+245|0]=d>>>8;o[b+246|0]=d>>>16;o[b+247|0]=d>>>24;d=r[b+329|0]|r[b+330|0]<<8|(r[b+331|0]<<16|r[b+332|0]<<24);o[b+241|0]=d;o[b+242|0]=d>>>8;o[b+243|0]=d>>>16;o[b+244|0]=d>>>24;d=q[b+244>>2];q[b+216>>2]=q[b+240>>2];q[b+220>>2]=d;j=f|j;q[b+232>>2]=j;d=h;q[b+236>>2]=d;q[b+208>>2]=j;q[b+212>>2]=d;g:{h:{i:{j:{k:{l:{m:{h=Xq(l,q[b+360>>2],q[b+364>>2],c,e,b+208|0,k);switch(h+12|0){case 7:break h;case 11:break i;case 0:break j;case 1:break k;case 2:break l;case 12:break m;default:break g}}if(!(!i|!(o[k+77|0]&1))){q[b+48>>2]=Ei(c,e);a=ni(a,15207,b+48|0);break b}if(!(!g|o[k+77|0]&1)){q[b+32>>2]=Ei(c,e);a=ni(a,15272,b+32|0);break b}jK(a,k+32|0);a=1;break b}if(g){f=Ei(j,d);q[b+84>>2]=Ei(c,e);q[b+80>>2]=f;a=ni(a,15338,b+80|0);break b}q[b+64>>2]=Ei(c,e);a=ni(a,15381,b- -64|0);break b}if(g){q[b+112>>2]=Ei(c,e);a=ni(a,15406,b+112|0);break b}q[b+100>>2]=Ei(c,e);q[b+96>>2]=f+1;a=ni(a,15486,b+96|0);break b}if(!g){q[b+128>>2]=Ei(c,e);a=ni(a,15521,b+128|0);break b}f=Ei(j,d);q[b+148>>2]=Ei(c,e);q[b+144>>2]=f;a=ni(a,15604,b+144|0);break b}f=Ei(q[b+352>>2],q[b+356>>2]);c=Ei(c,e);e=q[b+364>>2];g=e;h=q[b+360>>2];if(e|h){e=Ei(h,g);q[b+184>>2]=c;q[b+180>>2]=e;q[b+176>>2]=f;a=ni(a,15639,b+176|0);break b}q[b+164>>2]=c;q[b+160>>2]=f;a=ni(a,15686,b+160|0);break b}c=Ei(q[b+360>>2],q[b+364>>2]);q[b+196>>2]=_i(a,1,0);q[b+192>>2]=c;a=ni(a,15730,b+192|0);break b}q[b+16>>2]=h;a=ni(a,15780,b+16|0)}fi=b+400|0;return a|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=fi-16|0;fi=d;e=a8(a,b);f=ii;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}if(!(!r[851668]|b>>>0>1024)){b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}h=q[212916];tj(h);c:{if(o[851768]&1){break c}if(!ui(851768)){break c}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212927];d:{e:{if(!c){break e}c=q[q[212926]+(lwa(e,f,c)<<2)>>2];if((c|0)==-1){break e}g=q[212928];while(1){c=g+w(c,24)|0;if(q[c>>2]==(e|0)&(f|0)==q[c+4>>2]){break d}c=q[c+16>>2];if((c|0)!=-1){continue}break}}if(q[212932]==((q[212930]-q[212928]|0)/24|0)){f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=(q[212930]-q[212928]|0)/24|0;g:{if(o[851768]&1){break g}if(!ui(851768)){break g}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;g=zj();o[851668]=0;q[212916]=g;ti(851768)}Mu(851704,1024,c+256|0)}a=si(xi(b+1|0),a,b);o[a+b|0]=0;p[d+12>>1]=b;q[d+8>>2]=a;uz(851704,e,f,d+8|0)}lj(h)}fi=d+16|0;ii=f;return e|0}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,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,H=0,I=0,J=0,K=0,L=0,M=0,N=0;e=fi-256|0;fi=e;a:{if(!b){ar(a);d=1;break a}PL(a,b);si(Ws(a,0),c,b);k=a+12|0;Vs(k,0);Vs(k,1024);i=a+24|0;Av(i,0);Av(i,b<<1);_v(e+128|0);a=0;while(1){f=r[a+c|0];if(f>>>0>31){break a}f=(e+128|0)+(f<<2)|0;q[f>>2]=q[f>>2]+1;a=a+1|0;if((b|0)!=(a|0)){continue}break}q[e>>2]=0;q[e+4>>2]=0;a=q[e+132>>2];f=a<<1;q[e+8>>2]=f;d=f;f=q[e+136>>2];d=d+f<<1;q[e+12>>2]=d;h=q[e+140>>2];d=h+d<<1;q[e+16>>2]=d;g=q[e+144>>2];d=g+d<<1;q[e+20>>2]=d;j=q[e+148>>2];d=j+d<<1;q[e+24>>2]=d;l=q[e+152>>2];d=l+d<<1;q[e+28>>2]=d;m=q[e+156>>2];d=d+m<<1;q[e+32>>2]=d;n=q[e+160>>2];d=d+n<<1;q[e+36>>2]=d;o=q[e+164>>2];d=d+o<<1;q[e+40>>2]=d;t=q[e+168>>2];d=d+t<<1;q[e+44>>2]=d;u=q[e+172>>2];d=d+u<<1;q[e+48>>2]=d;v=q[e+176>>2];d=d+v<<1;q[e+52>>2]=d;w=q[e+180>>2];d=d+w<<1;q[e+56>>2]=d;x=q[e+184>>2];d=d+x<<1;q[e+60>>2]=d;y=q[e+188>>2];d=d+y<<1;q[e+64>>2]=d;z=q[e+192>>2];d=d+z<<1;q[e+68>>2]=d;A=q[e+196>>2];d=d+A<<1;q[e+72>>2]=d;B=q[e+200>>2];d=d+B<<1;q[e+76>>2]=d;C=q[e+204>>2];d=d+C<<1;q[e+80>>2]=d;D=q[e+208>>2];d=d+D<<1;q[e+84>>2]=d;E=q[e+212>>2];d=d+E<<1;q[e+88>>2]=d;F=q[e+216>>2];d=d+F<<1;q[e+92>>2]=d;G=q[e+220>>2];d=d+G<<1;q[e+96>>2]=d;H=q[e+224>>2];d=d+H<<1;q[e+100>>2]=d;I=q[e+228>>2];d=d+I<<1;q[e+104>>2]=d;J=q[e+232>>2];d=d+J<<1;q[e+108>>2]=d;K=q[e+236>>2];d=d+K<<1;q[e+112>>2]=d;L=q[e+240>>2];d=d+L<<1;q[e+116>>2]=d;M=q[e+244>>2];d=d+M<<1;q[e+120>>2]=d;N=q[e+248>>2];d=d+N<<1;q[e+124>>2]=d;if((d|0)!=-2147483648){d=0;if(((((((((((((((((((((((((l+(j+(g+(h+(a+f|0)|0)|0)|0)|0)+m|0)+n|0)+o|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)+H|0)+I|0)+J|0)+K|0)+L|0)+M|0)+N>>>0>1){break a}}d=1;if((b|0)<1){break a}j=0;f=-1;while(1){h=r[c+j|0];b:{if(!h){break b}d=(h<<2)+e|0;a=q[d>>2];q[d>>2]=a+1;g=0;d=h;while(1){g=a&1|g<<1;a=a>>>1|0;d=d-1|0;if(d){continue}break}if(h>>>0<=10){if(g>>>0>=1024){break b}a=h<<16|j;d=1<>2]){d=0;break a}q[ll(k,g)>>2]=a;g=d+g|0;if(g>>>0<1024){continue}break}break b}a=g&1023;d=q[ll(k,a)>>2];c:{if(d){a=f;f=d;break c}if(q[ll(k,a)>>2]){d=0;break a}q[ll(k,a)>>2]=f;a=f-2|0}if((f|0)>-1){d=0;break a}g=g>>>9|0;if((h|0)>11){while(1){d=0;g=g>>>1|0;l=f-(g&1)|0;if((l|0)>-1){break a}f=l^-1;if((f|0)>=q[i+4>>2]){Av(i,0-l|0)}d:{if(!s[Xs(i,f)>>1]){p[Xs(i,f)>>1]=a;f=a;a=f-2|0;break d}f=p[Xs(i,f)>>1];if((f|0)>-1){break a}}h=h-1|0;if((h|0)>11){continue}break}}f=(g>>>1&1)-f|0;if((f|0)<1){d=0;break a}if((f|0)>q[i+4>>2]){Av(i,f)}d=0;f=f-1|0;if(s[Xs(i,f)>>1]){break a}p[Xs(i,f)>>1]=j;f=a}d=1;j=j+1|0;if((j|0)!=(b|0)){continue}break}}fi=e+256|0;return d}function Vy(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,p=0,v=0;h=fi-48|0;fi=h;a:{if(o[842444]&1){break a}if(!ui(842444)){break a}if(r[852367]){c=Ri(134957)}else{c=-1}q[210610]=c;ti(842444)}b:{if(o[842452]&1){break b}if(!ui(842452)){break b}if(r[852367]){c=Yi(134985,6)}else{c=0}q[210612]=c;ti(842452)}c=q[210610];c:{if((c|0)!=-1){Qi(h+16|0,c,134985,q[210612]);break c}q[h+16>>2]=0}d:{e:{f:{d=q[a+4>>2];e=q[a>>2];c=d-e|0;if(!c){break f}g:{if((d|0)!=(e|0)){d=e-d|0;d=((d|0)>(c|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);n=c>>>0>1?c:1;while(1){h:{g=q[(k<<2)+e>>2];if(!g){break h}j=q[g+4>>2];e=q[g>>2];f=j-e|0;if(!f){break h}c=1;i=(f|0)/288|0;l=i>>>0>1?i:1;i:{if(q[e+264>>2]){break i}while(1){d=c;if((d|0)!=(l|0)){c=d+1|0;if(!q[(w(d,288)+e|0)+264>>2]){continue}}break}if(d>>>0>>0){break i}if(!f){break h}if((e|0)!=(j|0)){d=i>>>0>1?i:1;c=0;while(1){e=w(c,288)+e|0;q[e+244>>2]=0;i=q[q[g+64>>2]+16>>2];if(t[i+4>>2]<=c>>>0){break d}xG(g,e,q[i>>2]+(c<<7)|0,b);c=c+1|0;if((d|0)==(c|0)){break h}e=q[g>>2];if((q[g+4>>2]-e|0)/288>>>0>c>>>0){continue}break}}break e}u[g+76>>2]=u[g+76>>2]+b;if((e|0)!=(j|0)){p=s[g+80>>1]<<16|k;i=q[g+64>>2];c=0;while(1){f=q[i>>2];if((q[i+4>>2]-f|0)/18568>>>0<=c>>>0){break e}j=q[i+16>>2];if(t[j+4>>2]<=c>>>0){break d}d=w(c,288)+e|0;j=q[j>>2]+(c<<7)|0;xG(g,d,j,b);e=f+w(c,18568)|0;Wy(g,e,d,j,b);v=(q[d+52>>2]-q[d+48>>2]|0)/160|0;j:{if(o[842548]&1){break j}if(!ui(842548)){break j}if(r[852367]){f=Ri(134957)}else{f=-1}q[210636]=f;ti(842548)}k:{if(o[842556]&1){break k}if(!ui(842556)){break k}if(r[852367]){f=Yi(135661,14)}else{f=0}q[210638]=f;ti(842556)}f=q[210636];l:{if((f|0)!=-1){Qi(h+32|0,f,135661,q[210638]);break l}q[h+32>>2]=0}q[d>>2]=0;q[d+4>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;f=q[e+18552>>2];m:{if(!f){break m}if(ji[418](f,q[e+18544>>2],q[e+18548>>2],d)|0){f=r[d+280|0];if(f&2){break m}o[d+280|0]=f|2;e=e+18544|0;q[h>>2]=Ei(q[e>>2],q[e+4>>2]);mi(3,134802,135676,h);break m}if(q[d+44>>2]!=48){break g}o[d+280|0]=r[d+280|0]&253}if(q[h+32>>2]){Pi(h+32|0)}yG(p,c,g,d,j);if(r[d+280|0]&16){Zy(d)}m=m+v|0;c=c+1|0;if((l|0)==(c|0)){break h}e=q[g>>2];if((q[g+4>>2]-e|0)/288>>>0>c>>>0){continue}break}}break e}k=k+1|0;if((n|0)==(k|0)){break f}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>k>>>0){continue}break}}break e}J(135714,135127,729,135661);G()}n:{if(o[842460]&1){break n}if(!ui(842460)){break n}if(r[852367]){a=Ek(134992)}else{a=-1}q[210614]=a;ti(842460)}a=q[210614];if((a|0)!=-1){Fk(a,m)}if(q[h+16>>2]){Pi(h+16|0)}fi=h+48|0;return}J(136114,135222,447,135487);G()}J(135437,135449,260,135487);G()}function wC(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,t=0,u=0;if((c|0)>=0){k=s[b+2>>1];i=k?4:3;e=k?7:138;j=a+5817|0;g=-1;while(1){u=n;l=k;n=n+1|0;k=s[((n<<2)+b|0)+2>>1];d=f+1|0;a:{if(!((l|0)!=(k|0)|(e|0)<=(d|0))){f=d;break a}b:{if((d|0)<(i|0)){f=(l<<2)+a|0;g=f+2684|0;h=f+2686|0;f=q[a+5820>>2];while(1){i=s[h>>1];m=s[g>>1];e=s[a+5816>>1]|m<>1]=e;t=a;c:{if((16-i|0)<(f|0)){f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=e;f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=r[j|0];f=q[a+5820>>2];p[a+5816>>1]=m>>>16-f;f=(f+i|0)-16|0;break c}f=f+i|0}q[t+5820>>2]=f;d=d-1|0;if(d){continue}break}break b}t=a;d:{if(l){e:{if((g|0)==(l|0)){e=q[a+5820>>2];f=d;break e}d=(l<<2)+a|0;e=s[d+2686>>1];h=s[d+2684>>1];g=q[a+5820>>2];m=s[a+5816>>1]|h<>1]=m;d=a;f:{if((g|0)>(16-e|0)){g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=m;g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=r[j|0];g=q[a+5820>>2];p[a+5816>>1]=h>>>16-g;i=(e+g|0)-16|0;break f}i=e+g|0}e=i;q[d+5820>>2]=e}h=s[a+2748>>1];d=s[a+5816>>1]|h<>1];g:{if((16-g|0)<(e|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break g}e=e+g|0}q[a+5820>>2]=e;f=f+65533&65535;d=f<>1]=d;if((e|0)>=15){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-14|0;break d}f=e+2|0;break d}if((f|0)<=9){h=s[a+2752>>1];e=q[a+5820>>2];d=s[a+5816>>1]|h<>1];h:{if((e|0)>(16-g|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break h}e=e+g|0}q[a+5820>>2]=e;f=f+65534&65535;d=f<>1]=d;if((e|0)>=14){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-13|0;break d}f=e+3|0;break d}h=s[a+2756>>1];e=q[a+5820>>2];d=s[a+5816>>1]|h<>1];i:{if((e|0)>(16-g|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break i}e=e+g|0}q[a+5820>>2]=e;f=f+65526&65535;d=f<>1]=d;if((e|0)>=10){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-9|0;break d}f=e+7|0}q[t+5820>>2]=f}f=0;j:{if(!k){e=138;d=3;break j}d=(l|0)==(k|0);e=d?6:7;d=d?3:4}i=d;g=l}if((c|0)!=(u|0)){continue}break}}}function loa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=fi+ -64|0;fi=d;a:{if(o[290276]&1){break a}if(!ui(290276)){break a}if(r[852367]){f=Ri(12741)}else{f=-1}q[72568]=f;ti(290276)}b:{if(o[290284]&1){break b}if(!ui(290284)){break b}if(r[852367]){f=Yi(12748,9)}else{f=0}q[72570]=f;ti(290284)}c=q[72568];c:{if((c|0)!=-1){Qi(d+24|0,c,12748,q[72570]);break c}q[d+24>>2]=0}j=q[q[a+12>>2]>>2];q[d+20>>2]=0;g=1;d:{e:{f:{g:{h:{i:{j:{k:{c=q[a+16>>2];if(!q[c+80>>2]){break k}f=q[59680];if(q[c+64>>2]!=q[f+8>>2]|q[c+68>>2]!=q[f+12>>2]){break k}q[d+40>>2]=0;i=WK(q[c+96>>2],q[c+100>>2]);if(!i){q[d>>2]=Ei(q[c+96>>2],q[c+100>>2]);mi(3,12677,12846,d);break f}if(PK(q[a+16>>2]+120|0,q[c+104>>2],i,d+20|0,d+40|0)){q[d+16>>2]=q[i+4>>2];mi(3,12677,12899,d+16|0);break f}h=q[d+40>>2];b=xi(h+96|0);f=q[a+16>>2];g=f;e=q[g+4>>2];q[b>>2]=q[g>>2];q[b+4>>2]=e;e=q[g+28>>2];q[b+24>>2]=q[g+24>>2];q[b+28>>2]=e;e=q[g+20>>2];q[b+16>>2]=q[g+16>>2];q[b+20>>2]=e;e=q[g+12>>2];q[b+8>>2]=q[g+8>>2];q[b+12>>2]=e;e=q[g+60>>2];q[b+56>>2]=q[g+56>>2];q[b+60>>2]=e;e=q[g+52>>2];q[b+48>>2]=q[g+48>>2];q[b+52>>2]=e;e=q[g+44>>2];q[b+40>>2]=q[g+40>>2];q[b+44>>2]=e;e=q[g+36>>2];q[b+32>>2]=q[g+32>>2];q[b+36>>2]=e;e=q[i+12>>2];q[b+64>>2]=q[i+8>>2];q[b+68>>2]=e;g=0;q[b+88>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+80>>2]=i;q[b+84>>2]=h;e=q[d+20>>2];si(b+96|0,e,h);h=q[c+108>>2];l:{if(h){g=r[c+112|0]!=0;c=h-2|0;break l}c=q[q[j>>2]+16>>2]}h=(h|0)!=0;if(!e){break j}f=b;break i}f=c}c=q[f+76>>2];if(c){c=c-2|0;h=1;break h}c=q[q[j>>2]+16>>2]}b=0;if((c|0)==-2){break g}}a=q[a+8>>2];b=0;m:{if(!a){break m}b=q[a+120>>2]}e=q[b+8>>2];a=q[b+12>>2];Xi(b,-1e4,q[j+12>>2]);bk(b);n:{if(h){rF(b,c);if((ri(b,-1)|0)!=6){oi(b,-2);a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;bk(b);mi(3,12677,13414,0);b=0;break g}if(!g){break n}lF(b,c);break n}Xi(b,-1e4,c)}if((ri(b,-1)|0)!=6){break e}e=e-a>>4;Xi(b,-1e4,q[j+12>>2]);Yj(b,q[f+64>>2],q[f+68>>2]);a=q[f+80>>2];o:{if(a){c=q[a+4>>2];dy(b,a,f+96|0);break o}if(r[852367]){c=To(q[f+64>>2],q[f+68>>2])}else{c=0}a=q[f+84>>2];if(a){zq(b,f+96|0,a);break o}ij(b,0,0)}Ml(b,f);q[d+60>>2]=0;c=Cq(b,h?-5:0,q[q[q[j>>2]+40>>2]+8>>2],q[59087],c,d+60|0);p:{if(o[290316]&1){break p}if(!ui(290316)){break p}if(r[852367]){a=Ri(12741)}else{a=-1}q[72578]=a;ti(290316)}a=q[72578];q:{if((a|0)!=-1){Qi(d+40|0,a,c,q[d+60>>2]);break q}q[d+40>>2]=0}c=Wl(b,4,0);if(q[d+40>>2]){Pi(d+40|0)}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;bk(b);if((e|0)!=q[b+8>>2]-q[b+12>>2]>>4){break d}b=c?-1e3:0}a=q[d+20>>2];if(!a){break f}Ui(a);ki(f)}if(q[d+24>>2]){Pi(d+24|0)}fi=d- -64|0;return b|0}J(13486,12779,281,13508);G()}J(12758,12779,324,13508);G()}function oK(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0;o[g|0]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l=q[a+52>>2];if(l){j=q[a+48>>2];while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break k}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+4>>2];if(l){j=q[a>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break j}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+12>>2];if(l){j=q[a+8>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+20>>2];if(l){j=q[a+16>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break h}i=i+1|0;if((l|0)!=(i|0)){continue}break}}m=q[a+28>>2];l:{if(!m){break l}k=q[a+24>>2];i=0;while(1){j=k+(i<<5)|0;if((b|0)==q[j+8>>2]&(c|0)==q[j+12>>2]){break g}l=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}j=0;while(1){m:{i=k+(j<<5)|0;n=q[i+24>>2];if(n){r=q[i+20>>2];i=0;while(1){p=r+(i<<3)|0;if((b|0)==q[p>>2]&(c|0)==q[p+4>>2]){break m}i=i+1|0;if((n|0)!=(i|0)){continue}break}}j=j+1|0;l=m>>>0>j>>>0;if((j|0)!=(m|0)){continue}break l}break}q[d>>2]=q[k+(j<<5)>>2];q[h>>2]=i;if(l){break a}}m=q[a+36>>2];n:{if(!m){break n}k=q[a+32>>2];i=0;while(1){j=k+(i<<5)|0;if((b|0)==q[j+8>>2]&(c|0)==q[j+12>>2]){break f}l=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}j=0;while(1){o:{i=k+(j<<5)|0;n=q[i+24>>2];if(n){r=q[i+20>>2];i=0;while(1){p=r+(i<<3)|0;if((b|0)==q[p>>2]&(c|0)==q[p+4>>2]){break o}i=i+1|0;if((n|0)!=(i|0)){continue}break}}j=j+1|0;l=m>>>0>j>>>0;if((j|0)!=(m|0)){continue}break n}break}q[d>>2]=q[k+(j<<5)>>2];q[h>>2]=i;if(l){break b}}i=0;l=q[a+44>>2];if(!l){break c}j=q[a+40>>2];while(1){a=j+(i<<5)|0;if((b|0)==q[a+8>>2]&q[a+12>>2]==(c|0)){break e}a=1;i=i+1|0;if((l|0)!=(i|0)){continue}break}f=0;while(1){p:{i=j+(f<<5)|0;k=q[i+24>>2];if(k){m=q[i+20>>2];i=0;while(1){n=m+(i<<3)|0;if((b|0)==q[n>>2]&q[n+4>>2]==(c|0)){break p}i=i+1|0;if((k|0)!=(i|0)){continue}break}}f=f+1|0;a=l>>>0>f>>>0;i=0;if((f|0)!=(l|0)){continue}break c}break}q[d>>2]=q[j+(f<<5)>>2];q[h>>2]=i;i=0;if(!(a&1)){break c}q[e>>2]=0;o[g|0]=1;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=6;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=0;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=1;return 1}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=2;break d}a=k+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=3;break d}a=k+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=4;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=5}i=1}return i}q[e>>2]=0;o[g|0]=1;return 1}q[e>>2]=0;o[g|0]=1;return 1}function q8(a,b){var c=0,d=0,e=x(0),f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,t=0;l=fi-32|0;fi=l;a:{b:{c:{d=q[a+48>>2];if((d|0)==q[a+52>>2]){break c}d:{while(1){e:{c=w(g,72)+d|0;e=u[c+20>>2];h=u[c+24>>2];f:{if(e>h){break f}f=r[c+68|0];if(f&4){break f}i=q[c+52>>2];k=i-3|0;m=h==x(0);if(k>>>0>2?!(m|e!=h):0){break f}n=q[a+32>>2];p=(q[a+36>>2]-n|0)/576|0;d=q[c>>2];while(1){d=d&65535;if(d>>>0>=p>>>0){break e}d=n+w(d,576)|0;if(!(r[d+414|0]&16)){break f}d=s[d+560>>1];if((d|0)!=65535){continue}break}t=t+1|0;j=u[c+16>>2];if(!(j>2]=u[q[c+4>>2]>>2];f=f&254;o[c+68|0]=f;e=x(-j);u[c+20>>2]=e;q[c+16>>2]=0}j=e;e=x(u[c+28>>2]*b);j=x(j+e);e=x(x(j+x(e*x(.5)))-h)>=x(0)?h:j;u[c+20>>2]=e;h=m?x(1):x(h-e)>=x(0)?x(e/h):x(1);g:{h:{switch(i-1|0){default:e=h;if(!(f&8)){break g}break;case 0:case 3:break h}}e=x(x(1)-h)}i:{j:{switch(i-2|0){case 0:case 3:break j;default:break i}}e=x(e+e);if(e>x(1)^1){break i}e=x(x(2)-e)}q[l+24>>2]=q[c+48>>2];d=q[c+44>>2];q[l+16>>2]=q[c+40>>2];q[l+20>>2]=d;d=q[c+36>>2];q[l+8>>2]=q[c+32>>2];q[l+12>>2]=d;e=JK(l+8|0,e);j=u[c+8>>2];u[q[c+4>>2]>>2]=j+x(e*x(u[c+12>>2]-j));f=s[c>>1];d=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-d|0)/576>>>0){break a}d=d+w(f,576)|0;q[d+412>>2]=q[d+412>>2]|2097152;if(h>=x(1)^1){break f}if(k>>>0<=2){u[c+20>>2]=u[c+20>>2]-u[c+24>>2];if((i|0)!=5){break f}o[c+68|0]=r[c+68|0]^8;break f}d=r[c+68|0];if(d&2){break f}o[c+68|0]=d|2;d=q[c+40>>2];if(d){ji[d|0](c+32|0)}d=q[c+56>>2];if(!d){break f}ji[d|0](a,q[c>>2],1,q[c+60>>2],q[c+64>>2]);break f}u[c+16>>2]=j-b}g=g+1|0;k=q[a+52>>2];d=q[a+48>>2];c=k-d|0;i=(c|0)/72|0;if(g>>>0>>0){continue}break d}break}break a}if(!c){break c}g=0;k:{while(1){m=(k-d|0)/72|0;if(m>>>0>g>>>0){n=w(g,72);c=n+d|0;l:{m:{if(!(u[c+20>>2]>=u[c+24>>2]^1|u[c+16>>2]!=x(0))){f=r[c+68|0];break m}f=r[c+68|0];if(!(f&4)){break l}}n:{if(f&2){break n}p=q[c+56>>2];if(!p){break n}o[c+68|0]=f|2;ji[p|0](a,q[c>>2],!(f&4),q[c+60>>2],q[c+64>>2]);k=q[a+52>>2];d=q[a+48>>2];m=(k-d|0)/72|0}if(g>>>0>=m>>>0){break a}c=d+n|0;Kk(c,c+72|0,(k-c|0)-72|0);d=q[a+48>>2];c=((q[a+52>>2]-d|0)/72|0)-1|0;if(c>>>0>(q[a+56>>2]-d|0)/72>>>0){break k}k=w(c,72)+d|0;q[a+52>>2]=k;i=i-1|0;g=g-1|0}g=g+1|0;if(i>>>0>g>>>0){continue}break b}break}break a}J(187316,186599,474,187335);G()}i=0}o:{if(o[855732]&1){break o}if(!ui(855732)){break o}if(r[852367]){a=Ek(184921)}else{a=-1}q[213932]=a;ti(855732)}a=q[213932];if((a|0)!=-1){Fk(a,i)}p:{if(o[855740]&1){break p}if(!ui(855740)){break p}if(r[852367]){a=Ek(184936)}else{a=-1}q[213934]=a;ti(855740)}a=q[213934];if((a|0)!=-1){Fk(a,t)}fi=l+32|0;return}J(186773,186599,447,186784);G()}function hka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=x(0);c=fi-48|0;fi=c;a:{d=q[a+4>>2];e=q[d+16>>2];b:{c:{d:{e:{f=q[q[a+24>>2]>>2];if(f>>>0>2]-e>>3>>>0){e=q[(f<<3)+e>>2];f=q[d+4>>2];d=q[d>>2];if(e>>>0>=f-d>>2>>>0){break a}f=q[d+(e<<2)>>2];d=q[a+16>>2];e=q[a+20>>2];if((d|0)==q[73724]&(e|0)==q[73725]){a=q[f+132>>2];d=q[a+204>>2];q[c+16>>2]=q[a+200>>2];q[c+20>>2]=d;q[c+8>>2]=1;d=q[c+44>>2];a=b- -64|0;q[a>>2]=q[c+40>>2];q[a+4>>2]=d;a=q[c+36>>2];q[b+56>>2]=q[c+32>>2];q[b+60>>2]=a;a=q[c+28>>2];q[b+48>>2]=q[c+24>>2];q[b+52>>2]=a;a=q[c+20>>2];q[b+40>>2]=q[c+16>>2];q[b+44>>2]=a;a=q[c+12>>2];q[b+32>>2]=q[c+8>>2];q[b+36>>2]=a;a=0;break b}if((d|0)==q[73726]&(e|0)==q[73727]){a=q[f+132>>2];a=((o[a+224|0]&1)<<5)+a|0;d=q[a+12>>2];q[c+16>>2]=q[a+8>>2];q[c+20>>2]=d;q[c+8>>2]=1;d=q[c+44>>2];a=b- -64|0;q[a>>2]=q[c+40>>2];q[a+4>>2]=d;a=q[c+36>>2];q[b+56>>2]=q[c+32>>2];q[b+60>>2]=a;a=q[c+28>>2];q[b+48>>2]=q[c+24>>2];q[b+52>>2]=a;a=q[c+20>>2];q[b+40>>2]=q[c+16>>2];q[b+44>>2]=a;a=q[c+12>>2];q[b+32>>2]=q[c+8>>2];q[b+36>>2]=a;a=0;break b}if((d|0)==q[73728]&(e|0)==q[73729]){h=s3(q[f+132>>2]);a=c+8|0;q[a>>2]=0;v[a+8>>3]=h;d=q[c+44>>2];a=b- -64|0;q[a>>2]=q[c+40>>2];q[a+4>>2]=d;a=q[c+36>>2];q[b+56>>2]=q[c+32>>2];q[b+60>>2]=a;a=q[c+28>>2];q[b+48>>2]=q[c+24>>2];q[b+52>>2]=a;a=q[c+20>>2];q[b+40>>2]=q[c+16>>2];q[b+44>>2]=a;a=q[c+12>>2];q[b+32>>2]=q[c+8>>2];q[b+36>>2]=a;a=0;break b}if((d|0)==q[73730]&(e|0)==q[73731]){a=c+8|0;d=q[f+132>>2];d=((o[d+224|0]&1)<<5)+d|0;h=x(1);f:{if(!q[d>>2]){break f}h=u[d+20>>2]}q[a>>2]=0;v[a+8>>3]=h;d=q[c+44>>2];a=b- -64|0;q[a>>2]=q[c+40>>2];q[a+4>>2]=d;a=q[c+36>>2];q[b+56>>2]=q[c+32>>2];q[b+60>>2]=a;a=q[c+28>>2];q[b+48>>2]=q[c+24>>2];q[b+52>>2]=a;a=q[c+20>>2];q[b+40>>2]=q[c+16>>2];q[b+44>>2]=a;a=q[c+12>>2];q[b+32>>2]=q[c+8>>2];q[b+36>>2]=a;a=0;break b}g:{if((d|0)!=q[73702]|(e|0)!=q[73703]){if(q[73704]!=(d|0)|q[73705]!=(e|0)){break g}break c}d=q[q[q[a+8>>2]+80>>2]>>2];a=q[f+216>>2];if(!a){a=q[q[f+128>>2]+8>>2]}a=gm(d,a,b);break b}g=1;if(q[73706]==(d|0)&q[73707]==(e|0)){break c}g=2;if(q[73708]==(d|0)&q[73709]==(e|0)){break c}g=3;if(q[73710]==(d|0)&q[73711]==(e|0)){break c}g=4;if(q[73712]==(d|0)&q[73713]==(e|0)){break c}g=5;if(q[73714]==(d|0)&q[73715]==(e|0)){break c}g=6;if(q[73716]==(d|0)&q[73717]==(e|0)){break c}g=7;if(q[73718]==(d|0)&q[73719]==(e|0)){break c}g=q[f+216>>2];if(!g){break e}break d}break a}g=q[q[f+128>>2]+8>>2]}a=Hs(g,d,e,q[a+32>>2],b,1,440,f);break b}d=q[q[q[a+8>>2]+80>>2]>>2];e=g<<2;a=q[(e+f|0)+184>>2];if(!a){a=q[(e+q[f+128>>2]|0)+20>>2]}a=gm(d,a,b)}fi=c+48|0;return a|0}J(47308,47134,447,47319);G()}function Fw(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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;o=q[a+48>>2];j=q[a+44>>2];i=q[a+40>>2];n=q[a+36>>2];e=q[a+32>>2];if(b){A=q[a+12>>2];s=A+(A>>>2|0)|0;x=q[a+8>>2];y=x+(x>>>2|0)|0;t=q[a+4>>2];B=t+(t>>>2|0)|0;u=q[a>>2];while(1){k=e;f=r[(l|1)+c|0];e=f>>>24|0;g=r[c+l|0]|f<<8;h=r[(l|2)+c|0];f=h>>>16|0;h=g|h<<16;m=e|f;g=k;f=r[(l|3)+c|0];e=f>>>8|0;k=f<<24|h;f=g+k|0;g=e|m;g=f>>>0>>0?g+1|0:g;p=f;F=jwa(u,0,f,0);G=ii;h=g;g=g+n|0;f=0;f=g>>>0>>0?f+1|0:f;n=g;e=r[(l|5)+c|0];g=e>>>24|0;k=r[(l|4)+c|0]|e<<8;h=r[(l|6)+c|0];e=h>>>16|0;h=k|h<<16;m=e|g;e=r[(l|7)+c|0];g=e>>>8|0;h=e<<24|h;k=h+n|0;e=(g|m)+f|0;e=h>>>0>k>>>0?e+1|0:e;v=k;k=jwa(s,0,k,0);H=ii;g=i;i=e;e=g+e|0;f=0;f=e>>>0>>0?f+1|0:f;n=e;g=r[(l|9)+c|0];e=g>>>24|0;h=r[(l|8)+c|0]|g<<8;i=r[(l|10)+c|0];g=i>>>16|0;i=h|i<<16;m=e|g;g=r[(l|11)+c|0];e=g>>>8|0;h=g<<24|i;g=h+n|0;f=(e|m)+f|0;f=g>>>0>>0?f+1|0:f;C=g;I=jwa(y,0,g,0);h=ii;g=j;e=0;j=f;f=g+f|0;n=f;j=f>>>0>>0?e+1|0:e;e=r[(l|13)+c|0];f=e>>>24|0;g=r[(l|12)+c|0]|e<<8;i=r[(l|14)+c|0];e=i>>>16|0;i=g|i<<16;m=e|f;e=r[(l|15)+c|0];f=e>>>8|0;g=e<<24|i;e=g+n|0;f=(f|m)+j|0;f=e>>>0>>0?f+1|0:f;D=e;J=jwa(B,0,e,0);j=ii;z=(d+o|0)+f|0;i=jwa(B,0,z,0);n=ii;e=jwa(A,0,p,0);f=ii;o=jwa(x,0,v,0);e=o+e|0;g=ii+f|0;g=e>>>0>>0?g+1|0:g;o=jwa(t,0,C,0);f=o+e|0;e=ii+g|0;K=f;o=f>>>0>>0?e+1|0:e;e=jwa(x,0,p,0);g=ii;m=jwa(t,0,v,0);f=m+e|0;e=ii+g|0;e=f>>>0>>0?e+1|0:e;m=jwa(u,0,C,0);g=m+f|0;f=ii+e|0;L=g;m=g>>>0>>0?f+1|0:f;e=jwa(t,0,p,0);f=ii;g=jwa(u,0,v,0);e=g+e|0;f=ii+f|0;f=e>>>0>>0?f+1|0:f;p=e;g=G+H|0;e=k+F|0;g=e>>>0>>0?g+1|0:g;v=e;k=e+I|0;e=g+h|0;e=k>>>0>>0?e+1|0:e;g=k+J|0;e=e+j|0;e=g>>>0>>0?e+1|0:e;k=g;h=e;e=e+p|0;f=e>>>0>>0?f+1|0:f;g=jwa(s,0,C,0);e=g+e|0;f=ii+f|0;f=e>>>0>>0?f+1|0:f;h=jwa(y,0,D,0);g=h+e|0;e=ii+f|0;e=g>>>0>>0?e+1|0:e;f=g+i|0;e=e+n|0;h=f;j=f>>>0>>0?e+1|0:e;e=j+L|0;g=m;g=e>>>0>>0?g+1|0:g;j=jwa(s,0,D,0);e=j+e|0;f=ii+g|0;f=e>>>0>>0?f+1|0:f;j=jwa(y,0,z,0);g=j+e|0;e=ii+f|0;e=g>>>0>>0?e+1|0:e;j=g;i=e;f=e+K|0;e=o;e=f>>>0>>0?e+1|0:e;i=jwa(u,0,D,0);g=i+f|0;f=ii+e|0;f=g>>>0>>0?f+1|0:f;e=g;g=jwa(s,0,z,0);e=e+g|0;f=ii+f|0;f=e>>>0>>0?f+1|0:f;f=w(u,z)+f|0;n=f&3;i=e;m=0;p=0;g=f&-4;e=0;f=k+(f>>>2|0)|0;e=f>>>0>>0?e+1|0:e;k=f;f=g+f|0;g=f>>>0>>0?e+1|0:e;k=f;f=p;e=g+h|0;h=e;p=j;j=e>>>0>>0?f+1|0:f;f=p+j|0;e=m;g=f;p=i;i=f>>>0>>0?e+1|0:e;j=p+i|0;f=j;o=(i>>>0>f>>>0?e+1|0:e)+n|0;e=k;n=h;i=g;l=l+16|0;E=E+1|0;if((E|0)!=(b|0)){continue}break}}q[a+48>>2]=o;q[a+44>>2]=j;q[a+40>>2]=i;q[a+36>>2]=n;q[a+32>>2]=e}function MF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;f=q[a>>2];b=q[f+8>>2];a:{b:{c:{d:{if((b|0)==q[f+4>>2]){c=2;q[g>>2]=b-q[f>>2]>>2;mi(4,136692,136696,g);break d}b=Ci(232);q[b+104>>2]=0;q[b+108>>2]=0;o[b+60|0]=4;q[b+56>>2]=1;q[b+48>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;o[b+28|0]=4;q[b+24>>2]=1;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+140>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;q[b+160>>2]=0;q[b+164>>2]=0;q[b+168>>2]=0;q[b+172>>2]=0;q[b+176>>2]=0;q[b+180>>2]=0;q[b+184>>2]=0;q[b+188>>2]=0;q[b+192>>2]=0;q[q[a+4>>2]>>2]=b;b=q[q[a+4>>2]>>2];c=j6(f);b=qi(b,0,232);q[b+64>>2]=c;d=q[f+16>>2];if(c>>>0>=q[f+20>>2]-d>>3>>>0){break c}c=q[d+(c<<3)>>2];e=q[f>>2];if(c>>>0>=q[f+4>>2]-e>>2>>>0){break c}q[e+(c<<2)>>2]=b;c=q[a+20>>2];q[b+200>>2]=q[a+16>>2];q[b+204>>2]=c;q[b+92>>2]=q[a+56>>2];q[b+96>>2]=q[a+60>>2];q[b+100>>2]=q[a+64>>2];q[b+120>>2]=q[a+68>>2];q[b+124>>2]=q[a+72>>2];q[b+128>>2]=q[a+76>>2];q[b+68>>2]=q[a+32>>2];q[b+72>>2]=q[a+36>>2];q[b+76>>2]=q[a+40>>2];q[b+80>>2]=q[a+44>>2];q[b+84>>2]=q[a+48>>2];q[b+88>>2]=q[a+52>>2];o[b+224|0]=r[b+224|0]|4;if(o[b+192|0]&1){break b}c=q[a+40>>2];vi(q[c+28>>2],24,b+180|0,b+188|0,b+184|0);d=q[c+28>>2];e=q[b+180>>2];if(d>>>0>(q[b+188>>2]-e|0)/24>>>0){break a}q[b+184>>2]=e+w(d,24);if(o[b+116|0]&1){break b}vi(d,4,b+104|0,b+112|0,b+108|0);c=q[c+28>>2];d=q[b+104>>2];if(c>>>0>q[b+112>>2]-d>>2>>>0){break a}q[b+108>>2]=d+(c<<2);IF(b,q[b+200>>2],q[b+204>>2]);c=q[q[b+76>>2]+24>>2];e=q[b+72>>2];e:{if(!e){q[b+220>>2]=c;break e}d=q[e+4>>2];q[b+220>>2]=c>>>0>d>>>0?c:d;if(o[b+144|0]&1){break b}vi(d,48,b+132|0,b+140|0,b+136|0);h=q[b+132>>2];if(d>>>0>(q[b+140>>2]-h|0)/48>>>0){break a}q[b+136>>2]=w(d,48)+h;if(d){while(1){c=w(i,48)+h|0;q[c+32>>2]=1065353216;q[c+36>>2]=1065353216;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=1065353216;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=1065353216;q[c+24>>2]=0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(o[b+176|0]&1){break b}vi(q[e+12>>2],48,b+164|0,b+172|0,b+168|0);d=q[e+12>>2];c=q[b+164>>2];if(d>>>0>(q[b+172>>2]-c|0)/48>>>0){break a}d=w(d,48);q[b+168>>2]=d+c;qi(c,0,d);if(o[b+160|0]&1){break b}vi(q[e+12>>2],8,b+148|0,b+156|0,b+152|0);d=q[e+12>>2];c=q[b+148>>2];if(d>>>0>q[b+156>>2]-c>>3>>>0){break a}q[b+152>>2]=c+(d<<3)}c=q[a+24>>2];d=q[a+28>>2];if((c|0)!=q[210674]|(d|0)!=q[210675]){KF(b,c,d,4,x(0),x(0),x(1))}c=0;if(!r[a+80|0]){break d}NF(f,b,x(0))}fi=g+16|0;return c}J(136820,136831,447,136801);G()}J(136910,136831,461,136985);G()}J(136997,136831,474,137016);G()}function m7(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,s=x(0);c=fi-368|0;fi=c;e=q[b+4>>2];a:{if(e){g=q[b>>2];while(1){if((d|0)==(e|0)){break a}f=!Ej(133454,q[(g+w(d,20)|0)+4>>2])+f|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}l=a+8|0;e=f+1|0;g=(e>>>0)/3|0;TH(l,g>>>0>1?g:1,e);q[c+196>>2]=0;e=q[210339];q[c+192>>2]=e;qi(c+200|0,0,168);p[c+362>>1]=65535;p[c+356>>1]=65535;p[c+350>>1]=65535;p[c+344>>1]=65535;p[c+338>>1]=65535;p[c+332>>1]=65535;p[c+326>>1]=65535;p[c+320>>1]=65535;p[c+314>>1]=65535;p[c+308>>1]=65535;p[c+302>>1]=65535;p[c+296>>1]=65535;p[c+290>>1]=65535;p[c+284>>1]=65535;p[c+278>>1]=65535;p[c+272>>1]=65535;p[c+266>>1]=65535;p[c+260>>1]=65535;p[c+254>>1]=65535;p[c+248>>1]=65535;p[c+242>>1]=65535;p[c+236>>1]=65535;p[c+230>>1]=65535;p[c+224>>1]=65535;p[c+218>>1]=65535;p[c+212>>1]=65535;p[c+206>>1]=65535;p[c+200>>1]=65535;yz(l,e,c+192|0);b:{c:{if(!f){break c}d=q[b+4>>2];if(!d){break c}n=c+24|0;while(1){d:{e:{if(d>>>0>j>>>0){f=w(j,20);i=f+q[b>>2]|0;if(Ej(133454,q[i+4>>2])){break d}m=Bs(q[i>>2]);e=q[a+12>>2];f:{if(!e){break f}d=q[q[l>>2]+((m>>>0)%(e>>>0)<<2)>>2];if((d|0)==-1){break f}e=q[a+16>>2];while(1){g=e+w(d,184)|0;if(q[g>>2]==(m|0)){break e}d=q[g+180>>2];if((d|0)!=-1){continue}break}}s=u[i+8>>2];q[c+16>>2]=m;u[c+20>>2]=s;qi(n,0,168);p[c+186>>1]=65535;p[c+180>>1]=65535;p[c+174>>1]=65535;p[c+168>>1]=65535;p[c+162>>1]=65535;p[c+156>>1]=65535;p[c+150>>1]=65535;p[c+144>>1]=65535;p[c+138>>1]=65535;p[c+132>>1]=65535;p[c+126>>1]=65535;p[c+120>>1]=65535;p[c+114>>1]=65535;p[c+108>>1]=65535;p[c+102>>1]=65535;p[c+96>>1]=65535;p[c+90>>1]=65535;p[c+84>>1]=65535;p[c+78>>1]=65535;p[c+72>>1]=65535;p[c+66>>1]=65535;p[c+60>>1]=65535;p[c+54>>1]=65535;p[c+48>>1]=65535;p[c+42>>1]=65535;p[c+36>>1]=65535;p[c+30>>1]=65535;p[c+24>>1]=65535;d=q[i+16>>2];if(d){k=0;while(1){g:{h:{if(d>>>0>k>>>0){h=q[i+12>>2]+w(k,24)|0;e=(c+16|0)+w(q[h>>2],6)|0;p[e+8>>1]=q[h+8>>2];f=r[e+12|0]&-4|r[h+4|0]&3;o[e+12|0]=f;if(q[h+4>>2]==2){p[e+10>>1]=q[h+20>>2]}g=q[h+16>>2];if(!g){break g}d=0;while(1){if(d>>>0>=g>>>0){break h}g=e;i:{j:{k:{switch(q[q[h+12>>2]+(d<<2)>>2]){case 2:f=f|16;break j;case 0:f=f|4;break j;case 1:break k;default:break i}}f=f|8}o[g+12|0]=f}d=d+1|0;g=q[h+16>>2];if(d>>>0>>0){continue}break}break g}J(133868,133880,274,133912);G()}J(133868,133880,255,133912);G()}d=q[i+16>>2];k=k+1|0;if(d>>>0>k>>>0){continue}break}}yz(l,m,c+16|0);break d}break a}if(t[b+4>>2]<=j>>>0){break b}q[c>>2]=q[f+q[b>>2]>>2];mi(3,133458,133464,c)}d=q[b+4>>2];j=j+1|0;if(d>>>0>j>>>0){continue}break}}fi=c+368|0;return}}J(133868,133880,289,133912);G()}function ala(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=fi-80|0;fi=h;d=Ci(76);c=d;q[c+32>>2]=0;q[c+36>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+36>>2]=-1;q[c+48>>2]=q[a+4>>2];g=li(38984);e=q[a+24>>2];i=ii;c=q[q[a+16>>2]+(lwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+52>>2]=q[(e+(c<<4)|0)+8>>2];g=li(38979);e=q[a+24>>2];i=ii;c=q[q[a+16>>2]+(lwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+56>>2]=q[(e+(c<<4)|0)+8>>2];g=li(38991);e=q[a+24>>2];i=ii;c=q[q[a+16>>2]+(lwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+60>>2]=q[(e+(c<<4)|0)+8>>2];q[d+64>>2]=Hj(q[a>>2],39003,64);q[d+68>>2]=Hj(q[a>>2],39017,64);q[d+72>>2]=Hj(q[a>>2],39042,1024);vi(Hj(q[a>>2],39065,128),4,d,d+8|0,d+4|0);vI(q[d+60>>2]);p[b+100>>1]=300;q[b+16>>2]=d;q[b+96>>2]=q[b+96>>2]&-65537|65536;e=0;q[b+96>>2]=q[b+96>>2]&-131073;q[b+20>>2]=393;q[b+24>>2]=394;q[b+28>>2]=395;q[b+32>>2]=396;q[b+36>>2]=397;q[b+40>>2]=398;q[b+44>>2]=399;q[b+52>>2]=400;q[b+56>>2]=401;q[b+64>>2]=402;q[b+68>>2]=403;q[b+72>>2]=404;q[b+80>>2]=405;q[b+84>>2]=406;q[b+88>>2]=407;q[b+92>>2]=408;q[b+48>>2]=409;b=h;q[b+60>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+72>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b- -64>>2]=-1;q[b+44>>2]=0;q[b+48>>2]=0;q[b+24>>2]=q[a>>2];q[b+32>>2]=q[d+52>>2];q[b+28>>2]=q[d+48>>2];q[b+36>>2]=q[d+56>>2];q[b+40>>2]=q[d+60>>2];g=b+44|0;So(g,7,q[a+32>>2]-q[a+24>>2]>>4);b=q[a+20>>2];if(b){while(1){c=q[q[a+16>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){b=q[a+24>>2]+(c<<4)|0;um(g,q[b>>2],q[b+4>>2],b+8|0);c=q[b+12>>2];if((c|0)!=-1){continue}break}b=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}a:{if(r[293980]){break a}b:{c=q[73496];if(c){b=d+16|0;while(1){a=Ci(32);q[h+76>>2]=a;q[a>>2]=c;q[c+12>>2]=a;a=ji[q[c+4>>2]](h+24|0,a)|0;if(a){break b}a=q[d+40>>2];if((a|0)==((q[d+32>>2]-q[d+24>>2]|0)/12|0)){a=a+4|0;UH(b,a>>>0<3?1:(a>>>0)/3|0,a)}VH(b,q[c+20>>2],h+76|0);c=q[c>>2];if(c){continue}break}}o[293980]=1;break a}q[h+16>>2]=q[c+16>>2];mi(4,38938,42362,h+16|0);q[h>>2]=a;mi(4,38938,39088,h)}c:{if(o[h+72|0]&1){break c}a=q[h+52>>2];if(a){ki(a)}a=q[h+44>>2];if(!a){break c}ki(a)}fi=h+80|0;return 0}function bca(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;h=fi-736|0;fi=h;a:{if(o[300236]&1){break a}if(!ui(300236)){break a}if(r[852367]){g=Ri(85002)}else{g=-1}q[75058]=g;ti(300236)}b:{if(o[300244]&1){break b}if(!ui(300244)){break b}if(r[852367]){g=Yi(85011,14)}else{g=0}q[75060]=g;ti(300244)}k=q[75058];c:{if((k|0)!=-1){Qi(h+720|0,k,85011,q[75060]);break c}q[h+720>>2]=0}if(!r[300248]){o[300248]=1;Gta()}n=h+128|0;Qta(n);o[n+589|0]=0;x=q[f>>2];p=q[b+36>>2];s=q[b+40>>2];d:{if(!Hta(p,s)){q[h+64>>2]=a;mi(4,85026,85035,h- -64|0);break d}b=0;Kta(p,s,h+80|0);i=84818;g=84455;k=84385;j=14;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{switch(c|0){case 0:k=84360;break t;default:q[h+8>>2]=a;q[h>>2]=c;mi(4,85026,85083,h);break d;case 2:k=84416;break t;case 4:break e;case 21:break g;case 20:break h;case 19:break i;case 18:break j;case 17:break k;case 16:break l;case 14:break m;case 13:break n;case 15:break o;case 12:break p;case 11:break q;case 9:break r;case 5:break s;case 1:break t;case 3:break u}}k=84435}i=84808;j=13;m=1;g=k;break e}i=84828;j=16;g=84480;break f}i=84840;j=8;g=84506;break f}i=84856;j=9;g=84538;break f}i=84873;g=84571;j=0;break e}i=84885;j=1;g=84640;break f}i=84898;j=20;g=84595;break f}i=84914;j=21;g=84617;break f}i=84931;j=10;g=84665;break f}i=84948;j=2;g=84694;break f}i=84959;j=3;g=84717;break f}i=84971;j=4;g=84741;break f}i=84980;j=5;g=84762;break f}i=84990;j=6;g=84784}}q[h+48>>2]=i;q[h+44>>2]=g;q[h+40>>2]=j;q[h+36>>2]=c;q[h+32>>2]=a;mi(2,85026,85152,h+32|0);Ita(n,p,s);v:{if(!q[h+84>>2]){break v}y=c>>>0<3&m;z=(j&30)!=8;k=0;while(1){b=0;w:{if(!Jta(p,s,k,h+76|0,h+72|0,h+68|0)){break w}x:{y:{z:{if(j-13>>>0<4){t=n;u=p;v=s;A=k;l=j-13|0;A:{if(l>>>0<=3){l=q[(l<<2)+100084>>2];break A}l=0}b=q[h+72>>2];g=q[h+76>>2];m=w(b,g);i=w(l,m);l=Ci(i);t=ZL(t,u,v,A,l,m,j,g,b);if(!(!y|(i|0)<1)){u=i+l|0;m=l;g=l;while(1){b=0;while(1){o[m|0]=r[b+g|0];m=m+1|0;v=(b|0)==(c|0);b=b+1|0;if(!v){continue}break}g=g+4|0;if(u>>>0>g>>>0){continue}break}}if(!t){break z}break x}g=Mv(j);i=w(g,q[h+68>>2]);if(!z){b=i;i=q[h+72>>2]+3&-4;l=i>>>0>8?i:8;i=q[h+76>>2]+3&-4;i=w(l,i>>>0>8?i:8)>>>1&536870904;if(b>>>0>i>>>0){break y}}l=Ci(i);if(ZL(n,p,s,k,l,(i>>>0)/(g>>>0)|0,j,0,0)){break x}}q[h+20>>2]=a;q[h+16>>2]=k;mi(4,85026,85300,h+16|0);ki(l);b=0;break w}J(85193,85241,235,85290);G()}b=1;if(k>>>0>=x>>>0){break w}g=k<<2;q[g+d>>2]=l;q[e+g>>2]=i}if(b){b=q[h+84>>2];k=k+1|0;if(b>>>0<=k>>>0){break v}continue}break}m=0;break d}q[f>>2]=b;m=1}Mta(n);if(q[h+720>>2]){Pi(h+720|0)}fi=h+736|0;return m}function d2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=0,y=x(0),z=x(0),A=x(0),B=0;c=fi-144|0;fi=c;B=1;a:{if(Gj(a,1)){w=wj(a,1);b=no(a,2);e=u[b>>2];u[c+80>>2]=e;f=u[b+4>>2];u[c+84>>2]=f;g=u[b+8>>2];u[c+88>>2]=g;h=u[b+12>>2];u[c+92>>2]=h;i=u[b+16>>2];u[c+96>>2]=i;j=u[b+20>>2];u[c+100>>2]=j;k=u[b+24>>2];u[c+104>>2]=k;l=u[b+28>>2];u[c+108>>2]=l;m=u[b+32>>2];u[c+112>>2]=m;n=u[b+36>>2];u[c+116>>2]=n;o=u[b+40>>2];u[c+120>>2]=o;p=u[b+44>>2];u[c+124>>2]=p;r=u[b+48>>2];u[c+128>>2]=r;s=u[b+52>>2];u[c+132>>2]=s;t=u[b+56>>2];u[c+136>>2]=t;d=u[b+60>>2];u[c+140>>2]=d;b=bj(a,64);v=d;d=x(w);u[b+60>>2]=v*d;u[b+56>>2]=t*d;u[b+52>>2]=s*d;u[b+48>>2]=r*d;u[b+44>>2]=p*d;u[b+40>>2]=o*d;u[b+36>>2]=n*d;u[b+32>>2]=m*d;u[b+28>>2]=l*d;u[b+24>>2]=k*d;u[b+20>>2]=j*d;u[b+16>>2]=i*d;u[b+12>>2]=h*d;u[b+8>>2]=g*d;u[b+4>>2]=f*d;u[b>>2]=e*d;zi(a,-1e4,120704);aj(a,-2);break a}b=no(a,1);h=u[b>>2];u[c+80>>2]=h;i=u[b+4>>2];u[c+84>>2]=i;j=u[b+8>>2];u[c+88>>2]=j;k=u[b+12>>2];u[c+92>>2]=k;l=u[b+16>>2];u[c+96>>2]=l;m=u[b+20>>2];u[c+100>>2]=m;n=u[b+24>>2];u[c+104>>2]=n;o=u[b+28>>2];u[c+108>>2]=o;p=u[b+32>>2];u[c+112>>2]=p;r=u[b+36>>2];u[c+116>>2]=r;s=u[b+40>>2];u[c+120>>2]=s;t=u[b+44>>2];u[c+124>>2]=t;v=u[b+48>>2];u[c+128>>2]=v;y=u[b+52>>2];u[c+132>>2]=y;z=u[b+56>>2];u[c+136>>2]=z;A=u[b+60>>2];u[c+140>>2]=A;b=fk(a,2,q[210279]);if(b){Dk(c+16|0,c+80|0,b);b=bj(a,64);u[b>>2]=u[c+16>>2];u[b+4>>2]=u[c+20>>2];u[b+8>>2]=u[c+24>>2];u[b+12>>2]=u[c+28>>2];u[b+16>>2]=u[c+32>>2];u[b+20>>2]=u[c+36>>2];u[b+24>>2]=u[c+40>>2];u[b+28>>2]=u[c+44>>2];u[b+32>>2]=u[c+48>>2];u[b+36>>2]=u[c+52>>2];u[b+40>>2]=u[c+56>>2];u[b+44>>2]=u[c+60>>2];u[b+48>>2]=u[c+64>>2];u[b+52>>2]=u[c+68>>2];u[b+56>>2]=u[c+72>>2];u[b+60>>2]=u[c+76>>2];zi(a,-1e4,120704);aj(a,-2);break a}b=fk(a,2,q[210277]);if(b){d=u[b+4>>2];e=u[b>>2];f=u[b+8>>2];g=u[b+12>>2];b=bj(a,16);u[b+12>>2]=x(x(x(e*k)+x(d*o))+x(f*t))+x(g*A);u[b+8>>2]=x(x(x(e*j)+x(d*n))+x(f*s))+x(g*z);u[b+4>>2]=x(x(x(e*i)+x(d*m))+x(f*r))+x(g*y);u[b>>2]=x(x(x(h*e)+x(l*d))+x(p*f))+x(v*g);zi(a,-1e4,120672);aj(a,-2);break a}if(Gj(a,2)){w=Ai(a,2);b=bj(a,64);d=x(w);u[b+60>>2]=A*d;u[b+56>>2]=z*d;u[b+52>>2]=y*d;u[b+48>>2]=v*d;u[b+44>>2]=t*d;u[b+40>>2]=s*d;u[b+36>>2]=r*d;u[b+32>>2]=p*d;u[b+28>>2]=o*d;u[b+24>>2]=n*d;u[b+20>>2]=m*d;u[b+16>>2]=l*d;u[b+12>>2]=k*d;u[b+8>>2]=j*d;u[b+4>>2]=i*d;u[b>>2]=h*d;zi(a,-1e4,120704);aj(a,-2);break a}q[c+12>>2]=120672;q[c+8>>2]=120704;q[c+4>>2]=120704;q[c>>2]=120720;B=ni(a,121772,c)}fi=c+144|0;return B|0}function Zv(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,r=0,s=0,u=0;a:{if(!f){break a}while(1){b:{c:{if(!((f|0)<=(h|0)|(e|0)<=(h|0))){if(!e){break a}i=q[d>>2];s=q[b>>2];j=q[(i+w(s,48)|0)+24>>2];while(1){m=q[a>>2];if(j>>>0>2]){break c}a=a+4|0;e=e-1|0;if(e){continue}break}break a}if((e|0)>(f|0)){break b}if((a|0)==(b|0)){break a}i=g;j=a;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(b|0)){continue}break}if((g|0)==(i|0)){break a}d=q[d>>2];while(1){if((b|0)==(c|0)){b=i-g|0;if(!b){break a}Kk(a,g,b);return}e=q[b>>2];f=q[g>>2];d:{if(t[(d+w(e,48)|0)+24>>2]>2]){q[a>>2]=e;b=b+4|0;break d}q[a>>2]=f;g=g+4|0}a=a+4|0;if((g|0)!=(i|0)){continue}break}break a}e:{if((e|0)<(f|0)){n=(f|0)/2|0;m=(n<<2)+b|0;j=b-a|0;f:{if(!j){l=a;break f}j=j>>2;p=q[(i+w(q[m>>2],48)|0)+24>>2];l=a;while(1){k=j>>>1|0;r=(k<<2)+l|0;o=p>>>0>2],48)|0)+24>>2];l=o?l:r+4|0;j=o?k:(k^-1)+j|0;if(j){continue}break}}o=l-a>>2;break e}if((e|0)==1){q[a>>2]=s;q[b>>2]=m;return}o=(e|0)/2|0;l=(o<<2)+a|0;j=c-b|0;g:{if(!j){m=b;break g}j=j>>2;p=q[(i+w(q[l>>2],48)|0)+24>>2];m=b;while(1){k=j>>>1|0;r=(k<<2)+m|0;n=p>>>0>t[(i+w(q[r>>2],48)|0)+24>>2];m=n?r+4|0:m;j=n?(k^-1)+j|0:k;if(j){continue}break}}n=m-b>>2}f=f-n|0;e=e-o|0;i=m;h:{if((b|0)==(l|0)){break h}i=l;if((b|0)==(m|0)){break h}k=l+4|0;if((k|0)==(b|0)){j=q[l>>2];i=m-b|0;if(i){Kk(l,b,i)}i=i+l|0;q[i>>2]=j;break h}if((b+4|0)==(m|0)){b=m-4|0;j=q[b>>2];i=m;b=b-l|0;if(b){i=m-b|0;Kk(i,l,b)}q[l>>2]=j;break h}r=m-b>>2;i=r;p=b-l>>2;j=p;if((i|0)==(j|0)){i=q[l>>2];q[l>>2]=s;q[b>>2]=i;i=b;if((b|0)==(k|0)){break h}while(1){j=q[k>>2];q[k>>2]=q[i+4>>2];q[i+4>>2]=j;i=i+4|0;k=k+4|0;if((k|0)!=(b|0)){continue}break}i=b;break h}while(1){b=j;j=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(j){b=(j<<2)+l|0;while(1){b=b-4|0;s=p<<2;k=b+s|0;u=q[b>>2];j=b;while(1){i=k;q[j>>2]=q[i>>2];j=i;k=m-i>>2;k=(k|0)>(p|0)?i+s|0:(p-k<<2)+l|0;if((k|0)!=(b|0)){continue}break}q[i>>2]=u;if((b|0)!=(l|0)){continue}break}}i=(r<<2)+l|0}i:{if((n+o|0)<(e+f|0)){Zv(a,l,i,d,o,n,g,h);a=i;b=m;break i}Zv(i,m,c,d,e,f,g,h);f=n;e=o;c=i;b=l}if(f){continue}break a}break}if((b|0)==(c|0)){break a}j=b;i=g;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(c|0)){continue}break}if((g|0)==(i|0)){break a}f=q[d>>2];while(1){if((a|0)==(b|0)){if((g|0)==(i|0)){break a}while(1){c=c-4|0;i=i-4|0;q[c>>2]=q[i>>2];if((g|0)!=(i|0)){continue}break}break a}d=i-4|0;e=q[d>>2];j=b-4|0;k=q[j>>2];if(t[(f+w(e,48)|0)+24>>2]>=t[(f+w(k,48)|0)+24>>2]){k=e;j=b;i=d}c=c-4|0;q[c>>2]=k;b=j;if((g|0)!=(i|0)){continue}break}}}function kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;q[a+20>>2]=q[a+20>>2]+c;a:{if(!c){break a}g=b;h=c;while(1){e=q[a+16>>2];if(!(e?0:(h|0)>=8)){d=r[g|0];i=e+1|0;q[a+16>>2]=i;j=a;k=q[a+12>>2];f=e<<3;e=f&31;if((f&63)>>>0>=32){f=d<>>32-e;d=d<>2];e=f|k;f=e;q[j+8>>2]=d;q[j+12>>2]=e;h=h-1|0;if((i|0)==8){q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;e=jwa(q[a>>2],q[a+4>>2],1540483477,-962287725);i=ii;d=jwa(d,f,1540483477,-962287725);f=ii;q[a>>2]=jwa(d^f>>>15,f,1540483477,-962287725)^e;q[a+4>>2]=ii^i}g=g+1|0;if(h){continue}break a}break}f=q[a>>2];i=q[a+4>>2];while(1){d=g;d=jwa(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24),r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24),1540483477,-962287725);k=ii;d=jwa(d^k>>>15,k,1540483477,-962287725);e=ii;f=jwa(f,i,1540483477,-962287725)^d;d=ii^e;i=d;q[a>>2]=f;q[a+4>>2]=d;g=g+8|0;d=(h|0)>15;j=h-8|0;h=j;if(d){continue}break}if(!j){break a}while(1){e=q[a+16>>2];if(e?0:(j|0)>=8){break a}h=r[g|0];i=e+1|0;q[a+16>>2]=i;d=a;k=q[a+12>>2];e=e<<3;f=e&31;if((e&63)>>>0>=32){e=h<>>32-f;f=h<>2];e=e|k;f=e;q[d+8>>2]=h;q[d+12>>2]=e;j=j-1|0;if((i|0)==8){q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;e=jwa(q[a>>2],q[a+4>>2],1540483477,-962287725);i=ii;h=jwa(h,f,1540483477,-962287725);k=ii;q[a>>2]=jwa(h^k>>>15,k,1540483477,-962287725)^e;q[a+4>>2]=ii^i}g=g+1|0;if(j){continue}break}}b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;g=zj();o[851668]=0;q[212916]=g;ti(851768)}c:{d:{if(!(!r[851668]|!q[a+24>>2]|t[a+20>>2]>1024)){e:{if(o[851768]&1){break e}if(!ui(851768)){break e}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;g=zj();o[851668]=0;q[212916]=g;ti(851768)}a=q[a+24>>2];if(!a){break d}g=q[212934];if(a>>>0>=q[212935]-g>>3>>>0){break c}a=g+(a<<3)|0;g=s[a+4>>1]+c|0;h=Pl(q[a>>2],g+32&-16);q[a>>2]=h;si(h+s[a+4>>1]|0,b,c);o[g+h|0]=0;p[a+4>>1]=g}return}J(150449,150161,150,150488);G()}J(150666,150264,447,150677);G()}function oo(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,w=0;u=fi-16|0;fi=u;a:{if(o[851976]&1){break a}if(!ui(851976)){break a}if(r[852367]){m=Ri(157031)}else{m=-1}q[212993]=m;ti(851976)}b:{if(o[851984]&1){break b}if(!ui(851984)){break b}if(r[852367]){m=Yi(157049,4)}else{m=0}q[212995]=m;ti(851984)}k=q[212993];c:{if((k|0)!=-1){Qi(u,k,157049,q[212995]);break c}q[u>>2]=0}d:{if(o[851992]&1){break d}if(!ui(851992)){break d}if(r[852367]){m=Ek(157054)}else{m=-1}q[212997]=m;ti(851992)}k=q[212997];if((k|0)!=-1){Fk(k,1)}l=-2;e:{f:{g:{if(!b){break g}k=q[212988];s=q[b>>2];t=q[b+4>>2];while(1){n=q[k+32>>2];q[k+32>>2]=n?n:1;if(n){continue}break}h:{p=q[212988];n=q[p+4>>2];i:{if(!n){break i}n=q[q[p>>2]+(lwa(s,t,n)<<2)>>2];if((n|0)==-1){break i}p=q[p+8>>2];while(1){m=p+(n<<6)|0;if((s|0)==q[m>>2]&(t|0)==q[m+4>>2]){break h}n=q[m+56>>2];if((n|0)!=-1){continue}break}}q[k+32>>2]=0;break g}s=p+(n<<6)|0;l=q[s+8>>2];if(!l){break e}t=s+8|0;q[t>>2]=l+1;q[k+32>>2]=0;tj(q[s+36>>2]);v=i+111&-16;if(v>>>0>=4097){break f}m=p+(n<<6)|0;w=m;k=q[m+44>>2];j:{if(k){l=q[k+4096>>2];if(4096-l>>>0>=v>>>0){break j}l=p+(n<<6)|0;q[k+4100>>2]=q[l+52>>2];q[l+52>>2]=k}k=q[m+48>>2];k:{if(k){q[m+48>>2]=q[k+4100>>2];break k}k=Ci(4104)}q[k+4096>>2]=0;q[k+4100>>2]=0;q[w+44>>2]=k;l=0}q[k+4096>>2]=l+v;k=k+l|0;l:{if(a){l=q[a+4>>2];q[k>>2]=q[a>>2];q[k+4>>2]=l;l=q[a+28>>2];q[k+24>>2]=q[a+24>>2];q[k+28>>2]=l;l=q[a+20>>2];q[k+16>>2]=q[a+16>>2];q[k+20>>2]=l;l=q[a+12>>2];q[k+8>>2]=q[a+8>>2];q[k+12>>2]=l;break l}o[k|0]=0;o[k+1|0]=0;o[k+2|0]=0;o[k+3|0]=0;o[k+4|0]=0;o[k+5|0]=0;o[k+6|0]=0;o[k+7|0]=0;o[k+24|0]=0;o[k+25|0]=0;o[k+26|0]=0;o[k+27|0]=0;o[k+28|0]=0;o[k+29|0]=0;o[k+30|0]=0;o[k+31|0]=0;o[k+16|0]=0;o[k+17|0]=0;o[k+18|0]=0;o[k+19|0]=0;o[k+20|0]=0;o[k+21|0]=0;o[k+22|0]=0;o[k+23|0]=0;o[k+8|0]=0;o[k+9|0]=0;o[k+10|0]=0;o[k+11|0]=0;o[k+12|0]=0;o[k+13|0]=0;o[k+14|0]=0;o[k+15|0]=0}a=q[b+4>>2];q[k+32>>2]=q[b>>2];q[k+36>>2]=a;a=q[b+28>>2];q[k+56>>2]=q[b+24>>2];q[k+60>>2]=a;a=q[b+20>>2];q[k+48>>2]=q[b+16>>2];q[k+52>>2]=a;a=q[b+12>>2];q[k+40>>2]=q[b+8>>2];q[k+44>>2]=a;q[k+92>>2]=j;q[k+88>>2]=0;q[k+84>>2]=i;q[k+80>>2]=g;q[k+76>>2]=f;q[k+72>>2]=e;q[k+64>>2]=c;q[k+68>>2]=d;si(k+96|0,h,i);a=p+(n<<6)|0;b=a;m:{if(q[a+24>>2]){q[q[a+28>>2]+88>>2]=k;break m}q[b+24>>2]=k}q[a+28>>2]=k;lj(q[s+36>>2]);a=q[212988];while(1){b=q[a+32>>2];q[a+32>>2]=b?b:1;if(b){continue}break}b=q[t>>2]-1|0;q[t>>2]=b;l=0;q[a+32>>2]=0;if(b){break g}xs(t)}if(q[u>>2]){Pi(u)}fi=u+16|0;return l}J(157246,157208,97,157275);G()}J(157189,157208,261,157232);G()}function J5(){var a=0,b=0,c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(r[270692]){e:{f:{a=q[213003]-q[213001]|0;if(!(a>>4!=256?a:0)){nH(852312,1024,1536);q[213086]=o$();if(q[213003]==q[213001]){if(o[852016]&1){break b}vi(256,16,852004,852012,852008);q[213002]=q[213001]}if(o[852308]&1){break b}vi(3,4,852296,852304,852300);q[213075]=q[213074];if(o[852140]&1){break b}vi(16384,24,852128,852136,852132);q[213033]=q[213032];if(o[852156]&1){break b}vi(128,8,852144,852152,852148);a=q[213036];if(q[213038]-a>>3>>>0<128){break a}q[213037]=a+1024;if(o[852172]&1){break b}vi(256,12,852160,852168,852164);a=q[213040];if((q[213042]-a|0)/12>>>0<256){break a}q[213044]=0;q[213045]=0;q[213041]=a+3072;a=q[213075];if((a|0)==q[213076]){break f}q[213075]=a+4;q[a>>2]=852128;if(o[852196]&1){break b}vi(16384,24,852184,852192,852188);q[213047]=q[213046];if(o[852212]&1){break b}vi(128,8,852200,852208,852204);a=q[213050];if(q[213052]-a>>3>>>0<128){break a}q[213051]=a+1024;if(o[852228]&1){break b}vi(256,12,852216,852224,852220);a=q[213054];if((q[213056]-a|0)/12>>>0<256){break a}q[213058]=0;q[213059]=0;q[213055]=a+3072;a=q[213075];if((a|0)==q[213076]){break f}q[213075]=a+4;q[a>>2]=852184;if(o[852252]&1){break b}vi(16384,24,852240,852248,852244);q[213061]=q[213060];if(o[852268]&1){break b}vi(128,8,852256,852264,852260);a=q[213064];if(q[213066]-a>>3>>>0<128){break a}q[213065]=a+1024;if(o[852284]&1){break b}vi(256,12,852272,852280,852276);a=q[213068];if((q[213070]-a|0)/12>>>0<256){break a}q[213072]=0;q[213073]=0;q[213069]=a+3072;a=q[213075];if((a|0)==q[213076]){break f}q[213075]=a+4;q[a>>2]=852240;c=q[213075];a=q[213074];if((c|0)!=(a|0)){break e}break c}mi(4,157660,157665,0);J(157736,157738,109,157762);G()}J(158312,158259,501,158336);G()}q[70349]=q[a>>2];q[a>>2]=q[c-4>>2];a=q[213075]-4|0;q[213075]=a;if(a>>>0>>4|0;a=(a|0)>-1?a:-1;a=w(b,(a|0)<1?a:1);f=a>>>0>1?a:1;a=0;while(1){e=q[70349];b=q[e+32>>2];if((q[e+36>>2]-b|0)/12>>>0<=a>>>0){break c}b=b+w(a,12)|0;q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=c+(a<<4);a=a+1|0;if((f|0)!=(a|0)){continue}break}}Nu(852020,85,128);qi(q[213005],255,q[213006]<<2);q[213010]=-1;q[213011]=0;q[213008]=q[213007];if(o[852064]&1){break b}vi(128,8,852052,852060,852056);q[213014]=q[213013];d=+ua();o[852367]=1;d=d*1e3;if(d<0x10000000000000000&d>=0){q[213087]=~~d>>>0;return}q[213087]=0}return}J(158373,158259,484,158363);G()}J(158341,158259,447,158352);G()}J(158184,158259,461,158149);G()}J(158285,158259,474,158304);G()}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,m=0,n=0;d=fi-48|0;fi=d;c=q[a>>2];a:{if(o[290220]&1){break a}if(!ui(290220)){break a}if(r[852367]){a=Ri(7503)}else{a=-1}q[72554]=a;ti(290220)}b:{if(o[290228]&1){break b}if(!ui(290228)){break b}if(r[852367]){a=Yi(8870,10)}else{a=0}q[72556]=a;ti(290228)}a=q[72554];c:{if((a|0)!=-1){Qi(d+16|0,a,8870,q[72556]);break c}q[d+16>>2]=0}d:{e:{if(c){a=q[c+4>>2];if(!a){break e}g=q[a>>2];if(!g){i=1;break d}i=1;while(1){l=s[(a+(b<<1)|0)+26528>>1];h=a+w(l,104)|0;e=h;if(q[e+68>>2]){f:{if(o[290236]&1){break f}if(!ui(290236)){break f}if(r[852367]){f=Ri(7503)}else{f=-1}q[72558]=f;ti(290236)}f=q[72558];g:{if((f|0)!=-1){Qi(d+32|0,f,q[h+12>>2],q[h+16>>2]);break g}q[d+32>>2]=0}q[d>>2]=q[c+8>>2];q[d+4>>2]=q[((l<<2)+c|0)+12>>2];q[d+8>>2]=q[h+24>>2];h=!(ji[q[e+68>>2]](d)|0);if(q[d+32>>2]){Pi(d+32|0)}i=i&h}b=b+1|0;if((g|0)!=(b|0)){continue}break}break d}J(8822,7150,2553,8870);G()}J(12137,7150,2555,8870);G()}h:{a=s[c+4268>>1];i:{if((a|0)!=32767){h=0;while(1){q[c+4268>>2]=2147450879;l=h;h=h+1|0;b=a;j:{k:{l:{m:{n:{o:{while(1){j=q[c+2056>>2];k=q[c+2060>>2]-j>>2;b=b&65535;if(k>>>0<=b>>>0){break h}e=q[j+(b<<2)>>2];b=e;f=q[b+140>>2];b=q[b+136>>2];n=k;g=f;k=g&32767;if(n>>>0<=k>>>0){break h}f=j;j=k<<2;if((e|0)!=q[f+j>>2]){break o}if(!(g&32768)){break n}f=s[e+144>>1];if(b&256){p[e+144>>1]=f;q[e+136>>2]=b&-257;q[e+140>>2]=g;b=q[c+2056>>2];if(k>>>0>=q[c+2060>>2]-b>>2>>>0){break h}if((e|0)!=q[b+j>>2]){break m}i=sA(c,e)&i;b=s[e+144>>1]}else{b=f}if((b&65535)!=32767){continue}break}b=q[c+4228>>2];q[d+32>>2]=q[c+4224>>2];q[d+36>>2]=b;b=q[c+4236>>2];q[d+40>>2]=q[c+4232>>2];q[d+44>>2]=b;i=ov(c,d+32|0,2)&i;while(1){e=q[c+2056>>2];j=q[c+2060>>2]-e>>2;if(j>>>0<=a>>>0){break h}g=q[e+(a<<2)>>2];b=g;a=q[b+140>>2];f=a;a=a&32767;if(a>>>0>=j>>>0){break h}if((g|0)!=q[e+(a<<2)>>2]){break l}if(!(f&32768)){break k}a=s[g+144>>1];qK(c,g);m=m+1|0;if((a|0)!=32767){continue}break}break j}J(8137,7150,2595,8870);G()}J(12141,7150,2596,8870);G()}J(8137,7150,1730,12034);G()}J(8137,7150,2614,8870);G()}J(12141,7150,2615,8870);G()}if(l>>>0<=8){a=s[c+4268>>1];if((a|0)!=32767){continue}}break}if((h|0)!=10){break i}mi(3,7277,12165,0);break i}a=q[c+4228>>2];q[d+32>>2]=q[c+4224>>2];q[d+36>>2]=a;a=q[c+4236>>2];q[d+40>>2]=q[c+4232>>2];q[d+44>>2]=a;i=ov(c,d+32|0,2)&i}p:{if(o[290244]&1){break p}if(!ui(290244)){break p}if(r[852367]){a=Ek(12252)}else{a=-1}q[72560]=a;ti(290244)}a=q[72560];if((a|0)!=-1){Fk(a,m)}if(q[d+16>>2]){Pi(d+16|0)}fi=d+48|0;return i}J(12475,10090,447,9406);G()}function I$(a){var b=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+120>>2]=0;q[a+124>>2]=1065353216;b=a+1176|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+2232|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+3288|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+4344|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+5400|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+6456|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+7512|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+8568|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+9624|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+10680|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+11736|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+12792|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+13848|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+14904|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+15960|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+17016|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+18072|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+19128|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+20184|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+21240|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+22296|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+23352|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+24408|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+25464|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+26520|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+27576|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+28632|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+29688|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+30744|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+31800|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+32856|0;q[b>>2]=0;q[b+4>>2]=1065353216;q[a+32864>>2]=1065353216;q[a+31808>>2]=1065353216;q[a+30752>>2]=1065353216;q[a+29696>>2]=1065353216;q[a+28640>>2]=1065353216;q[a+27584>>2]=1065353216;q[a+26528>>2]=1065353216;q[a+25472>>2]=1065353216;q[a+24416>>2]=1065353216;q[a+23360>>2]=1065353216;q[a+22304>>2]=1065353216;q[a+21248>>2]=1065353216;q[a+20192>>2]=1065353216;q[a+19136>>2]=1065353216;q[a+18080>>2]=1065353216;q[a+17024>>2]=1065353216;q[a+15968>>2]=1065353216;q[a+14912>>2]=1065353216;q[a+13856>>2]=1065353216;q[a+12800>>2]=1065353216;q[a+11744>>2]=1065353216;q[a+10688>>2]=1065353216;q[a+9632>>2]=1065353216;q[a+8576>>2]=1065353216;q[a+7520>>2]=1065353216;q[a+6464>>2]=1065353216;q[a+5408>>2]=1065353216;q[a+4352>>2]=1065353216;q[a+3296>>2]=1065353216;q[a+2240>>2]=1065353216;q[a+1184>>2]=1065353216;q[a+128>>2]=1065353216;q[a+96>>2]=-1;o[a+44|0]=r[a+44|0]&254;o[a+72|0]=r[a+72|0]&254}function Ara(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,s=0,t=0,v=x(0),y=0,z=0;y=fi-128|0;fi=y;a:{if(!((c|0)>6|(a|0)>2|(a|0)==(c|0))){if((a|0)==2){if((f|0)<=0){break a}a=16;while(1){s=qi(y,0,128);i=a+h|0;n=(i|0)>(f|0);a=n?f-h|0:a;if(!((c|0)<1|(a|0)<1)){o=e+h|0;j=0;while(1){b:{c:{switch((r[(w(c,6)+204720|0)+j|0]&6)-2|0){case 4:t=q[(j<<2)+d>>2];g=0;while(1){k=g<<3;l=k+s|0;v=u[t+(g+o<<2)>>2];u[l>>2]=v+u[l>>2];k=s+(k|4)|0;u[k>>2]=v+u[k>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}break b;case 2:t=q[(j<<2)+d>>2];g=0;while(1){k=s+(g<<3|4)|0;u[k>>2]=u[t+(g+o<<2)>>2]+u[k>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}break b;case 0:break c;default:break b}}t=q[(j<<2)+d>>2];g=0;while(1){k=s+(g<<3)|0;u[k>>2]=u[t+(g+o<<2)>>2]+u[k>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}}j=j+1|0;if((j|0)!=(c|0)){continue}break}}if(a<<1>=1){j=h<<1;o=(n?f:i)+m<<1;g=0;while(1){i=(ywa(x(u[s+(g<<2)>>2]+x(384))),uwa(2));i=(i|0)>1136623616?i:1136623616;p[(g+j<<1)+b>>1]=(i|0)<1136689151?i:1136689151;g=g+1|0;if((o|0)!=(g|0)){continue}break}}m=m-16|0;h=h+16|0;if((h|0)<(f|0)){continue}break}o=0;if((f|0)<=0){break a}g=16;m=0;while(1){j=qi(s,0,128);n=g+m|0;t=(n|0)>(f|0);g=t?f-m|0:g;if(!((c|0)<1|(g|0)<1)){i=e+m|0;h=0;while(1){d:{e:{switch((r[(w(c,6)+204720|0)+h|0]&6)-2|0){case 2:k=q[(h<<2)+d>>2];a=0;while(1){l=j+(a<<3|4)|0;u[l>>2]=u[k+(a+i<<2)>>2]+u[l>>2];a=a+1|0;if((g|0)>(a|0)){continue}break}break d;case 0:k=q[(h<<2)+d>>2];a=0;while(1){l=j+(a<<3)|0;u[l>>2]=u[k+(a+i<<2)>>2]+u[l>>2];a=a+1|0;if((g|0)>(a|0)){continue}break}break d;case 4:break e;default:break d}}k=q[(h<<2)+d>>2];a=0;while(1){l=a<<3;z=l+j|0;v=u[k+(a+i<<2)>>2];u[z>>2]=v+u[z>>2];l=j+(l|4)|0;u[l>>2]=v+u[l>>2];a=a+1|0;if((g|0)>(a|0)){continue}break}}h=h+1|0;if((h|0)!=(c|0)){continue}break}}if(g<<1>=1){h=m<<1;i=(t?f:n)+o<<1;a=0;while(1){n=(ywa(x(u[j+(a<<2)>>2]+x(384))),uwa(2));n=(n|0)>1136623616?n:1136623616;p[(a+h<<1)+b>>1]=(n|0)<1136689151?n:1136689151;a=a+1|0;if((i|0)!=(a|0)){continue}break}}o=o-16|0;m=m+16|0;if((m|0)<(f|0)){continue}break}break a}J(204762,202968,5196,204773);G()}if((f|0)<1){break a}h=(a|0)<(c|0)?a:c;if((h|0)<=0){c=a<<1;while(1){if((a|0)>=1){b=qi(b,0,c)+c|0}g=g+1|0;if((g|0)!=(f|0)){continue}break}break a}s=a-h<<1;j=0-h<<1;while(1){o=e+m|0;g=0;while(1){i=(ywa(x(u[q[(g<<2)+d>>2]+(o<<2)>>2]+x(384))),uwa(2));i=(i|0)>1136623616?i:1136623616;p[b>>1]=(i|0)<1136689151?i:1136689151;b=b+2|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if((a|0)>(c|0)){b=j+(qi(b,0,s)+(a<<1)|0)|0}m=m+1|0;if((m|0)!=(f|0)){continue}break}}fi=y+128|0}function S$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0);f=fi-48|0;fi=f;q[f+44>>2]=0;q[f+32>>2]=6;q[f+36>>2]=q[b+24>>2];e=q[b>>2];i=-11;a:{b:{d=q[239987];c:{if(!d){break c}while(1){if(Ej(q[d>>2],e)){d=q[d+32>>2];if(d){continue}break c}break}i=ji[q[d+4>>2]](f+32|0,f+44|0)|0;if(!i){break b}e=q[b>>2]}q[f>>2]=e;mi(4,201088,201094,f);q[f+24>>2]=44100;break a}ji[q[d+20>>2]](q[f+44>>2],f+24|0);i=0;g=d}k=u[b+4>>2];c=qi(Ci(33952),0,33952);I$(c);q[239986]=c;o[c+33948|0]=1;p[c+33946>>1]=0;q[c+4>>2]=g;q[c+8>>2]=q[f+44>>2];q[f+16>>2]=q[b+28>>2];q[c>>2]=A$(f+16|0);g=q[b+28>>2];h=q[b+8>>2];if(a){d=q[b+12>>2];e=q[b+16>>2];k=Gm(a,201121,x(1));h=Hj(a,201132,h);Hj(a,201153,e);Hj(a,201177,d);g=Hj(a,201201,g)}d:{e:{f:{g:{if(o[c+32|0]&1){break g}vi(g,64,c+20|0,c+28|0,c+24|0);a=q[c+20>>2];if(q[c+28>>2]-a>>6>>>0>>0){break f}q[c+24>>2]=a+(g<<6);d=s[c+40>>1];a=g&65535;if(d>>>0>a>>>0){break e}e=q[c+36>>2];j=xi(a<<1);q[c+36>>2]=j;j=si(j,e,d<<1);p[c+40>>1]=g;if(a>>>0>d>>>0){while(1){p[j+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}ki(e);if(g){e=0;while(1){a=q[c+20>>2];if(q[c+24>>2]-a>>6>>>0<=e>>>0){break d}a=a+(e<<6)|0;q[a+56>>2]=0;q[a+60>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+56>>2]=-1;q[a+4>>2]=xi(w(q[b+24>>2],20)+4|0);q[a+40>>2]=1065353216;q[a+44>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(o[c+60|0]&1){break g}vi(h,24,c+48|0,c+56|0,c+52|0);a=q[c+48>>2];if((q[c+56>>2]-a|0)/24>>>0>>0){break f}q[c+52>>2]=a+w(h,24);d=s[c+68>>1];a=h&65535;if(d>>>0>a>>>0){break e}g=q[c+64>>2];e=xi(a<<1);q[c+64>>2]=e;e=si(e,g,d<<1);p[c+68>>1]=h;if(a>>>0>d>>>0){while(1){p[e+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}ki(g);if(h){a=q[c+48>>2];g=(q[c+52>>2]-a|0)/24|0;d=0;while(1){if((d|0)==(g|0)){break d}p[(a+w(d,24)|0)+16>>1]=65535;d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[c+33908>>2]=q[f+24>>2];a=q[b+24>>2];q[c+33912>>2]=a;a=a<<2;q[c+33920>>2]=xi(a);q[c+33924>>2]=xi(a);q[c+33928>>2]=xi(a);q[c+33932>>2]=xi(a);q[c+33936>>2]=xi(a);a=xi(a);p[c+33944>>1]=0;q[c+33940>>2]=a;zs(c+76|0,65,32);a=qi(c+112|0,0,33792)+w(Wx(201073),1056)|0;q[a+8>>2]=0;u[a+16>>2]=k;u[a+12>>2]=k;o[c+33949|0]=1;o[c+33950|0]=0;q[c+33904>>2]=-14;q[c+12>>2]=0;q[c+16>>2]=0;if(r[b+32|0]){q[c+16>>2]=zj();q[c+12>>2]=j$(c)}fi=f+48|0;return i}J(201903,201978,461,202057);G()}J(202069,201978,474,202088);G()}J(202096,202119,112,202057);G()}J(202193,201978,447,202204);G()}function x5(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=fi-272|0;fi=i;if(a){f=q[a+2208>>2];l=q[a+2212>>2];if(l){ji[q[74929]](f,q[l+4>>2])}d=q[a+1860>>2];g=q[a+1864>>2];if((d|0)!=(g|0)){n=i+16|0;h=l;while(1){e=q[(m<<2)+d>>2];if(q[e+252>>2]){Ly(a,q[q[e+156>>2]+80>>2],i+8|0);a:{if(b){if(!fG(q[i+8>>2],n,q[b+256>>2],b)){break a}}b:{if(l){break b}d=q[e+156>>2];if((d|0)==(h|0)){break b}ji[q[74929]](f,q[d+4>>2]);h=d}G5(a,h,e);d=q[e>>2];if(d){qG(a,h,d)}if(c){qG(a,h,c)}d=r[e+256|0];if(d&1){ji[q[74941]](f,q[e+200>>2],q[e+204>>2]);d=r[e+256|0]}c:{if(!(d&2)){break c}d=q[a+2208>>2];d:{if(!(r[e+247|0]&16)){break d}g=r[a+2224|0];if(g&2){o[a+2224|0]=g&253;break d}ji[q[74946]](d,255);ji[q[74894]](d,4,0,0,0,0,x(1),0)}g=r[e+247|0];ji[q[74942]](d,(g&8)>>>3|0,(g&4)>>>2|0,(g&2)>>>1|0,g&1);ji[q[74946]](d,r[e+246|0]);g=r[e+245|0];j=r[e+244|0];k=q[e+212>>2];if(r[e+247|0]&32){ji[q[74948]](d,0,k,j,g);ji[q[74948]](d,1,q[e+228>>2],r[e+244|0],r[e+245|0]);ji[q[74950]](d,0,q[e+216>>2],q[e+220>>2],q[e+224>>2]);ji[q[74950]](d,1,q[e+232>>2],q[e+236>>2],q[e+240>>2]);break c}ji[q[74947]](d,k,j,g);ji[q[74949]](d,q[e+216>>2],q[e+220>>2],q[e+224>>2])}if(r[e+256|0]&4){ji[q[74952]](f,q[e+208>>2])}d=q[a>>2];d=d?d:q[e+160>>2];if(d){ji[q[74971]](f,0,d);Ro(a,h,0,d)}d=q[a+4>>2];d=d?d:q[e+164>>2];if(d){ji[q[74971]](f,1,d);Ro(a,h,1,d)}d=q[a+8>>2];d=d?d:q[e+168>>2];if(d){ji[q[74971]](f,2,d);Ro(a,h,2,d)}d=q[a+12>>2];d=d?d:q[e+172>>2];if(d){ji[q[74971]](f,3,d);Ro(a,h,3,d)}d=q[a+16>>2];d=d?d:q[e+176>>2];if(d){ji[q[74971]](f,4,d);Ro(a,h,4,d)}d=q[a+20>>2];d=d?d:q[e+180>>2];if(d){ji[q[74971]](f,5,d);Ro(a,h,5,d)}d=q[a+24>>2];d=d?d:q[e+184>>2];if(d){ji[q[74971]](f,6,d);Ro(a,h,6,d)}d=q[a+28>>2];d=d?d:q[e+188>>2];if(d){ji[q[74971]](f,7,d);Ro(a,h,7,d)}ji[q[74915]](f,q[e+148>>2],q[e+144>>2],q[h+4>>2]);d=q[e+252>>2];g=q[e+248>>2];j=q[e+192>>2];k=q[e+152>>2];e:{if(!k){ji[q[74919]](f,j,g,d);break e}ji[q[74918]](f,j,g,d,q[e+196>>2],k)}ji[q[74916]](f,q[e+148>>2]);d=q[a>>2];d=d?d:q[e+160>>2];if(d){ji[q[74972]](f,0,d)}d=q[a+4>>2];d=d?d:q[e+164>>2];if(d){ji[q[74972]](f,1,d)}d=q[a+8>>2];d=d?d:q[e+168>>2];if(d){ji[q[74972]](f,2,d)}d=q[a+12>>2];d=d?d:q[e+172>>2];if(d){ji[q[74972]](f,3,d)}d=q[a+16>>2];d=d?d:q[e+176>>2];if(d){ji[q[74972]](f,4,d)}d=q[a+20>>2];d=d?d:q[e+180>>2];if(d){ji[q[74972]](f,5,d)}d=q[a+24>>2];d=d?d:q[e+184>>2];if(d){ji[q[74972]](f,6,d)}d=q[a+28>>2];d=d?d:q[e+188>>2];if(!d){break a}ji[q[74972]](f,7,d)}g=q[a+1864>>2];d=q[a+1860>>2]}m=m+1|0;if(m>>>0>2>>>0){continue}break}}}fi=i+272|0}function xS(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,u=0,v=0,w=0,x=0;f=fi-11616|0;fi=f;a:{if(!(!d|c)){b=0;break a}if(!Mw(a,b,f+11040|0)){b=0;break a}if(!(q[f+11064>>2]|q[f+11068>>2])){b=1;break a}b:{if(!a){break b}e=q[a+72>>2];if(!e|t[a+16>>2]<=b>>>0|q[a+20>>2]!=1){break b}g=q[e>>2];if(!g){break b}e=g+q[q[e+16>>2]+(b<<2)>>2]|0;g=r[e+28|0]|r[e+29|0]<<8;if(g){b=1;if(r[(e+g|0)+45|0]==47){break a}}b=1;if(r[e+38|0]&16){break a}}if(r[f+11052|0]&33){b=0;break a}b=0;c:{switch(s[f+11054>>1]){case 0:case 8:break c;default:break a}}j=q[f+11076>>2];e=j;g=q[f+11072>>2];if(!e&d>>>0>>0|e){break a}h=q[f+11088>>2];e=q[f+11092>>2];if((ji[q[a+56>>2]](q[a+68>>2],h,e,f+11008|0,30)|0)!=30|q[f+11008>>2]!=67324752){break a}x=q[a>>2];d=q[a+4>>2];i=s[f+11034>>1];h=i+h|0;e=h>>>0>>0?e+1|0:e;i=h;h=h+s[f+11036>>1]|0;e=h>>>0>>0?e+1|0:e;h=h+30|0;if(h>>>0<30){e=e+1|0}n=h;i=q[f+11064>>2];k=h+i|0;h=e;m=q[f+11068>>2];e=e+m|0;e=k>>>0>>0?e+1|0:e;if((d|0)==(e|0)&k>>>0>x>>>0|d>>>0>>0){break a}if(!s[f+11054>>1]){a=ji[q[a+56>>2]](q[a+68>>2],n,h,c,g)|0;b=!j&(a|0)==(g|0);if((a|0)!=(g|0)|j){break a}b=0;d:{if(!c){break d}a=q[f+11072>>2];if(!a){break d}b=-1;while(1){d=r[c|0];b=q[(((d^b)&15)<<2)+195952>>2]^b>>>4;b=b>>>4^q[((b&15^d>>>4)<<2)+195952>>2];c=c+1|0;a=a-1|0;if(a){continue}break}b=b^-1}b=q[f+11060>>2]==(b|0);break a}q[f+16>>2]=0;b=q[q[a+72>>2]+72>>2];e:{if(b){d=b+n|0;g=i;j=m;break e}b=!m&i>>>0<65536;i=b?i:65536;m=b?m:0;d=ji[q[a+40>>2]](q[a+52>>2],1,i)|0;if(!d){b=0;break a}p=q[f+11064>>2];o=q[f+11068>>2];g=0;j=0}f:{g:{while(1){e=q[f+11072>>2];b=l;q[f+8>>2]=e-b;h:{if(g|j){break h}g=0;j=0;if(q[q[a+72>>2]+72>>2]){break h}b=(m|0)==(o|0)&i>>>0

>>0|m>>>0>>0;g=b?i:p;j=b?m:o;if((ji[q[a+56>>2]](q[a+68>>2],n,h,d,g)|0)!=(g|0)|j){break g}b=p;e=g;p=b-e|0;o=o-((b>>>0>>0)+j|0)|0;e=h+j|0;b=g+n|0;e=b>>>0>>0?e+1|0:e;n=b;h=e;u=0;v=0}q[f+12>>2]=g;b=oS(f+16|0,d+u|0,f+12|0,c,c+l|0,f+8|0,o|p?6:4);k=q[f+8>>2];l=k+l|0;e=w;e=l>>>0>>0?e+1|0:e;w=e;k=q[f+12>>2];u=k+u|0;e=v;e=u>>>0>>0?e+1|0:e;v=e;e=g;g=e-k|0;j=j-(e>>>0>>0)|0;if((b|0)==1){continue}break}if(b){break f}if(q[f+11072>>2]!=(l|0)|q[f+11076>>2]!=(w|0)){break g}b=0;e=0;i:{if(!c){break i}e=0;if(!l){break i}e=-1;while(1){g=r[c|0];e=q[(((g^e)&15)<<2)+195952>>2]^e>>>4;e=e>>>4^q[((e&15^g>>>4)<<2)+195952>>2];c=c+1|0;l=l-1|0;if(l){continue}break}e=e^-1}if((e|0)==q[f+11060>>2]){break f}}b=-1}if(!q[q[a+72>>2]+72>>2]){ji[q[a+44>>2]](q[a+52>>2],d)}b=!b}fi=f+11616|0;return b}function bM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=e?0:-1;l=e?-1:1;i=e?-1:0;f=-2;j=(e|0)!=0;k=!e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(c-2|0){case 0:x:{y:{c=$i(b,0);if(c){if((c|0)==(d|0)){break y}e=c-g|0;c=c+g|0;c=(c|0)<0?e:(c|0)>(d|0)?e:c;break x}c=(e|0)!=0;break x}c=d+g|0;if((c|0)<1){break d}c=c-1|0}if((c|0)>(d|0)){break b}o[Cj(a,0)|0]=c;c=1;e=$i(b,1);if(!e){break u}c=e;if((e|0)!=(d|0)){break u}c=d-1|0;break t;case 3:case 4:f=0;break v;case 5:f=k;break v;case 9:case 13:f=0;break v;case 16:f=i;break v;case 17:case 18:f=0;break v;case 19:f=j;break v;case 6:case 22:f=0;break v;case 25:f=g;break v;case 26:f=l;break v;case 27:f=j;break v;case 28:f=i;break v;case 29:f=k;break v;case 8:break v;default:break w}}f=((c>>>0)%3|0)-1|0}h=$i(b,0);z:{A:{if(!h){e=3;if((f|0)==-2){break z}e=f+1|0;break A}e=(d+f|0)-1|0;if((d|0)==(h|0)){break A}e=h-f|0;m=e;e=f+h|0;e=(e|0)<0?m:(d|0)<(e|0)?m:e}if((e|0)<=-1){break d}}if((d|0)<(e|0)){break b}o[Cj(a,0)|0]=e;f=-2;switch(c-5|0){case 6:break j;case 10:case 13:break k;case 14:break l;case 15:case 16:break m;case 19:break n;case 3:break o;case 22:break p;case 23:break q;case 24:break r;case 25:break s;case 5:break e;case 26:break g;case 0:break h;case 1:case 2:break i;default:break f}}if((c|0)>(d|0)){break b}}e=1;o[Cj(a,1)|0]=c;b=$i(b,2);if(!b){break c}e=b;if((e|0)!=(d|0)){break c}e=d-1|0;break a}f=i;break e}f=j;break e}f=l;break e}f=g;break e}f=0;break e}f=j;break e}f=0;break e}f=i;break e}f=0;break e}f=k;break e}f=0;break e}f=g;break e}f=k;break e}f=(((c>>>0)/3>>>0)%3|0)-1|0}e=$i(b,1);B:{C:{if(e){if((d|0)!=(e|0)){h=e-f|0;e=e+f|0;e=(e|0)<0?h:(d|0)<(e|0)?h:e;break C}e=(d+f|0)-1|0;break C}e=3;if((f|0)==-2){break B}e=f+1|0}if((e|0)<0){break d}}if((d|0)<(e|0)){break b}o[Cj(a,1)|0]=e;f=-2;D:{E:{switch(c-5|0){case 25:f=i;break D;case 24:f=j;break D;case 23:f=l;break D;case 22:f=g;break D;case 3:f=j;break D;case 16:case 19:f=0;break D;case 15:f=i;break D;case 13:case 14:f=0;break D;case 10:f=k;break D;case 2:case 6:f=0;break D;case 1:f=g;break D;case 0:f=0;break D;case 26:f=k;break D;case 5:break D;default:break E}}f=(((c>>>0)/9>>>0)%3|0)-1|0}b=$i(b,2);F:{G:{if(b){if((b|0)!=(d|0)){c=b-f|0;b=b+f|0;e=(b|0)<0?c:(b|0)>(d|0)?c:b;break G}e=(d+f|0)-1|0;break G}e=3;if((f|0)==-2){break F}e=f+1|0}if((e|0)<0){break d}}if((d|0)>=(e|0)){break a}break b}J(92198,85651,13628,92205);G()}if((d|0)>=(e|0)){break a}}J(92221,85651,13629,92205);G()}o[Cj(a,2)|0]=e}function ix(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=(d>>>4^b)&252645135;d=e<<4^d;e=b^e;b=d>>>16^e&65535;e=b^e;b=d^b<<16;d=(e>>>2^b)&858993459;e=d<<2^e;b=b^d;d=(e>>>8^b)&16711935;e=owa(d<<8^e,1);b=b^d;d=(b^e)&-1431655766;e=e^d;b=owa(b^d,1);d=a;while(1){i=e;h=q[d+4>>2]^owa(e,28);f=b;b=q[d>>2]^e;b=q[((h&63)<<2)+146624>>2]^(f^q[((b&63)<<2)+145600>>2]^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2])^q[(h>>>6&252)+146880>>2]^q[(h>>>14&252)+147136>>2]^q[(h>>>22&252)+147392>>2];e=b^q[d+8>>2];f=i^q[((e&63)<<2)+145600>>2]^q[(e>>>6&252)+145856>>2]^q[(e>>>14&252)+146112>>2]^q[(e>>>22&252)+146368>>2];e=q[d+12>>2]^owa(b,28);e=f^q[((e&63)<<2)+146624>>2]^q[(e>>>6&252)+146880>>2]^q[(e>>>14&252)+147136>>2]^q[(e>>>22&252)+147392>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}d=a+128|0;g=0;while(1){f=b;h=q[d+4>>2]^owa(b,28);b=q[d>>2]^b;e=q[((h&63)<<2)+146624>>2]^(q[((b&63)<<2)+145600>>2]^e^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2])^q[(h>>>6&252)+146880>>2]^q[(h>>>14&252)+147136>>2]^q[(h>>>22&252)+147392>>2];b=e^q[d+8>>2];f=f^q[((b&63)<<2)+145600>>2]^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2];b=q[d+12>>2]^owa(e,28);b=f^q[((b&63)<<2)+146624>>2]^q[(b>>>6&252)+146880>>2]^q[(b>>>14&252)+147136>>2]^q[(b>>>22&252)+147392>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}d=a+256|0;g=0;while(1){a=q[d+4>>2]^owa(e,28);f=b;b=q[d>>2]^e;b=q[((a&63)<<2)+146624>>2]^(f^q[((b&63)<<2)+145600>>2]^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2])^q[(a>>>6&252)+146880>>2]^q[(a>>>14&252)+147136>>2]^q[(a>>>22&252)+147392>>2];a=b^q[d+8>>2];f=q[((a&63)<<2)+145600>>2]^e^q[(a>>>6&252)+145856>>2]^q[(a>>>14&252)+146112>>2]^q[(a>>>22&252)+146368>>2];a=q[d+12>>2]^owa(b,28);e=f^q[((a&63)<<2)+146624>>2]^q[(a>>>6&252)+146880>>2]^q[(a>>>14&252)+147136>>2]^q[(a>>>22&252)+147392>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}i=b<<31;f=b;a=owa(e,31);b=(a^b)&-1431655766;d=i|(f^b)>>>1;a=a^b;b=(d>>>8^a)&16711935;d=b<<8^d;a=a^b;b=(d>>>2^a)&858993459;d=b<<2^d;a=a^b;b=d&65535^a>>>16;e=b<<16^a;a=b^d;b=(e>>>4^a)&252645135;a=a^b;o[c+7|0]=a;o[c+6|0]=a>>>8;o[c+5|0]=a>>>16;o[c+4|0]=a>>>24;a=e^b<<4;o[c+3|0]=a;o[c+2|0]=a>>>8;o[c+1|0]=a>>>16;o[c|0]=a>>>24;return 0}function Tk(a,b,c){var d=0,e=0,f=0,g=0;g=fi-32|0;fi=g;d=1;f=q[a+52>>2];e=s[f+52>>1]+1|0;p[f+52>>1]=e;if((e&65535)>>>0>=201){Kl(a,127357,0)}a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=q[a+16>>2];switch(e-263|0){case 0:break i;case 12:break j;case 6:break k;case 23:break l;case 7:break m;case 21:break d;case 1:case 3:case 4:case 5:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 22:break e;case 2:break g;case 16:break h;default:break n}}o:{switch(e-35|0){case 10:d=0;break m;case 0:break o;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break e;default:break f}}d=2}yj(a);Tk(a,b,8);jX(q[a+48>>2],d,b);break a}d=Ep(q[a+48>>2],q[a+24>>2]);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=4;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=1;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=2;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=3;break c}f=q[a+48>>2];d=q[f>>2];e=r[d+74|0];if(!e){xj(a,127422);d=q[f>>2];e=r[d+74|0]}o[d+74|0]=e&251;d=dm(f,37,0,1,0);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=14;break c}yj(a);MA(a,b,0,q[a+4>>2]);break a}if((e|0)==123){break b}}Ew(a,b);break a}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=5;v[b+8>>3]=v[a+24>>3]}yj(a);break a}wL(a,b)}d=0;e=15;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{f=q[a+16>>2];switch(f-37|0){case 1:case 2:case 3:case 4:case 7:case 9: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 24: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 51:case 52:case 53:case 54:case 55:case 56:break p;case 6:break q;case 25:break u;case 23:break w;case 57:break A;case 0:break B;case 10:break C;case 5:break D;case 8:break E;default:break F}}switch(f-257|0){case 14:break r;case 0:break s;case 24:break t;case 25:break v;case 23:break x;case 26:break y;case 21:break z;default:break p}}d=1;break q}d=2;break q}d=3;break q}d=4;break q}d=5;break q}d=6;break q}d=7;break q}d=8;break q}d=9;break q}d=10;break q}d=11;break q}d=12;break q}d=13;break q}d=14}while(1){e=d<<1;if(r[e+127392|0]<=c>>>0){e=d;break p}yj(a);nX(q[a+48>>2],d,b);f=Tk(a,g+8|0,r[(e+127392|0)+1|0]);kX(q[a+48>>2],d,b,g+8|0);e=15;d=f;if((d|0)!=15){continue}break}}a=q[a+52>>2];p[a+52>>1]=s[a+52>>1]-1;fi=g+32|0;return e}function uma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0,m=0;b=fi-4256|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;d=Kj(a);e=q[q[d+80>>2]+8>>2];c=b+4240|0;q[c>>2]=0;q[c+4>>2]=0;c=b+4232|0;q[c>>2]=0;q[c+4>>2]=0;c=b+4224|0;q[c>>2]=0;q[c+4>>2]=0;q[b+4216>>2]=0;q[b+4220>>2]=0;Hk(a,1,e,63050,b+4252|0,b+4216|0,0);l=q[b+4252>>2];a:{b:{if((f|0)<2){break b}if(!ri(a,2)){break b}c=il(a,2);g=q[c+4>>2];h=q[c>>2];u[b+4200>>2]=u[c+8>>2];q[b+4192>>2]=h;q[b+4196>>2]=g;break a}bp(b+80|0,d);u[b+4192>>2]=u[b+80>>2];c=q[b+88>>2];q[b+4196>>2]=q[b+84>>2];q[b+4200>>2]=c}c:{d:{if((f|0)<3){break d}if(!ri(a,3)){break d}c=Dq(a,3);u[b+4176>>2]=u[c>>2];u[b+4180>>2]=u[c+4>>2];u[b+4184>>2]=u[c+8>>2];u[b+4188>>2]=u[c+12>>2];break c}Ks(b+80|0,d);c=q[b+84>>2];q[b+4176>>2]=q[b+80>>2];q[b+4180>>2]=c;c=q[b+92>>2];q[b+4184>>2]=q[b+88>>2];q[b+4188>>2]=c}c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+68>>2]=-1;IH(b+48|0,8,32);e:{f:{g:{h:{i:{if((f|0)<=3){break i}if(ri(a,4)){if((ri(a,4)|0)!=5){break g}Hi(a,4);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(dk(a,-2)){c=0;while(1){h=Qk(a,-2);m=ii;j=(b+80|0)+c|0;k=4096-c|0;g=os(a,j,k,-1);if(g>>>0>k>>>0){a=ni(a,63588,0);break e}q[b>>2]=j;q[b+4>>2]=g;JH(b+48|0,h,m,b);oi(a,-2);c=(c|15)+g&-16;if(dk(a,-2)){continue}break}}oi(a,-2)}if((f|0)<5){break i}if(!ri(a,5)){break i}c=sm(a,5);if(c){u[b+32>>2]=u[c>>2];u[b+36>>2]=u[c+4>>2];u[b+40>>2]=u[c+8>>2];break h}i=x(Ai(a,5));u[b+40>>2]=i;u[b+36>>2]=i;u[b+32>>2]=i;break h}Wq(b,d);u[b+32>>2]=u[b>>2];c=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=c}Ki(a);c=ck(a,-1e4);q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=-1;d=Ama(e,q[q[l>>2]>>2],b+48|0,b+4192|0,b+4176|0,b+32|0,b);Xi(a,-1e4,c);bk(a);sj(a,-1e4,c);ij(a,0,0);j:{if(!d){break j}ij(a,0,1);Wj(a,503,0);pi(a,-2,63741);aj(a,-2);e=q[b+4>>2];if(!e){break j}d=0;while(1){c=q[q[b>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){c=q[b+8>>2]+w(c,24)|0;Yj(a,q[c>>2],q[c+4>>2]);Yj(a,q[c+8>>2],q[c+12>>2]);qj(a,-3);c=q[c+16>>2];if((c|0)!=-1){continue}break}e=q[b+4>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break f}k:{if(o[b+28|0]&1){break k}a=q[b+8>>2];if(a){ki(a)}a=q[b>>2];if(!a){break k}ki(a)}a=1;break e}a=ni(a,63683,0);break e}J(63749,63275,418,63654);G()}l:{if(o[b+76|0]&1){break l}c=q[b+56>>2];if(c){ki(c)}c=q[b+48>>2];if(!c){break l}ki(c)}fi=b+4256|0;return a|0}function Jja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=0,m=0,n=0;b=fi-128|0;fi=b;a:{g=q[a+8>>2];c=q[g>>2];if((c|0)==q[g+4>>2]){break a}b:{while(1){c:{e=w(h,104)+c|0;c=q[e+8>>2];d:{if(!c){break d}i=u[e+88>>2];j=x(i-u[q[a+4>>2]>>2]);u[e+88>>2]=j;if(j=x(0)^1)){c=O$(c);if(!c){break d}q[b+48>>2]=c;mi(4,49876,50011,b+48|0);break e}d=r[e+96|0];if(!(d&6|(r[c+60|0]&4)>>>2)){Di(q[e>>2],q[e+4>>2]);f=aF(q[e+8>>2]);q[e+8>>2]=0;d=q[g+68>>2];if(!d){break c}c=q[g+76>>2];if(!c|c>>>0>t[g+72>>2]){break b}c=c-1|0;q[g+76>>2]=c;q[(c<<2)+d>>2]=h;if(f){q[b>>2]=f;mi(4,49876,50037,b);break e}if(!(q[e+40>>2]|q[e+44>>2])|q[e+92>>2]==-1){break d}c=q[61058];l=q[c+8>>2];m=q[c+12>>2];d=e+16|0;c=q[d+28>>2];q[b+112>>2]=q[d+24>>2];q[b+116>>2]=c;c=q[d+20>>2];q[b+104>>2]=q[d+16>>2];q[b+108>>2]=c;c=q[d+12>>2];q[b+96>>2]=q[d+8>>2];q[b+100>>2]=c;c=q[d+4>>2];q[b+88>>2]=q[d>>2];q[b+92>>2]=c;c=q[e+76>>2];q[b+80>>2]=q[e+72>>2];q[b+84>>2]=c;f=e- -64|0;c=q[f+4>>2];q[b+72>>2]=q[f>>2];q[b+76>>2]=c;c=q[e+60>>2];f=b- -64|0;q[f>>2]=q[e+56>>2];q[f+4>>2]=c;k=q[e+52>>2];f=q[e+48>>2];q[b+56>>2]=f;q[b+60>>2]=k;c=e+48|0;f:{if(!po(f,k)){break f}if(!po(q[b+88>>2],q[b+92>>2])){break f}q[b+120>>2]=q[e+92>>2];if(!oo(b+56|0,b+88|0,l,m,0,q[e+84>>2],q[61058],b+120|0,4,0)){break f}mi(4,49876,50064,0)}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;break d}if(d&1){c=$E(q[e+8>>2]);if(!c){break d}q[b+32>>2]=c;mi(4,49876,50037,b+32|0);break e}if(!(d&2)){break d}o[e+96|0]=d&253;c=P$(q[e+8>>2],(d&4)>>>2|0);if(!c){break d}q[b+16>>2]=c;mi(4,49876,50103,b+16|0)}n=-1e3}h=h+1|0;c=q[g>>2];if(h>>>0<(q[g+4>>2]-c|0)/104>>>0){continue}break a}break}J(50780,50481,140,50787);G()}J(50792,50481,141,50787);G()}ZE();fi=b+128|0;return n|0}function aU(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,p=0;e=fi-128|0;fi=e;a:{if(!a){f=-27648;break a}if(!b){f=-27648;break a}i=q[b+12>>2];if(!i){f=-27648;break a}f=q[b+16>>2];g=q[b+20>>2];if(f>>>0>>0){f=-27648;break a}l=q[b+24>>2];j=f-g|0;if(l>>>0>j>>>0){f=-27648;break a}f=-28928;k=q[a+80>>2];h=0;b:{if(!k){break b}h=q[k+4>>2]}if(l>>>0>16384){break a}k=b+24|0;p=a+80|0;g=g+i|0;i=j-l|0;n=1;c:{d:{e:{f:{g:{h=h-2|0;switch(h|0){case 5:break f;case 0:break g;default:break e}}if(q[a+76>>2]){break d}}f=-27136;if(t[a+12>>2]>i>>>0){break a}if(q[a+208>>2]<1){f=-27648;break a}aq(e+80|0,e+76|0,b);f=a+52|0;Mk(f,e+80|0,q[e+76>>2]);Mk(f,g,q[b+24>>2]);Il(f,e+16|0);Jm(f);si(q[b+24>>2]+g|0,e+16|0,q[a+12>>2]);f=q[a+12>>2];l=f+q[b+24>>2]|0;q[b+24>>2]=l;i=i-f|0;n=0}f=-27648;h:{switch(h|0){case 4:case 6:case 8:break h;case 0:break d;default:break a}}f=-27136;if(t[a+16>>2]>i>>>0){break a}i=q[a+4>>2];d=q[a+8>>2];c=i-d|0;if(c>>>0>t[b+20>>2]){break a}i=(i|0)!=12;i:{if(!(i|(d|0)!=4)){q[e+16>>2]=q[a+20>>2];si(e+16|4,b,c);si(g-c|0,b,c);break i}f=-27648;if((d|0)!=12|i){break a}q[e+24>>2]=q[a+28>>2];d=q[a+24>>2];q[e+16>>2]=q[a+20>>2];q[e+20>>2]=d;o[e+20|0]=r[e+20|0]^r[b|0];o[e+21|0]=r[e+21|0]^r[b+1|0];o[e+22|0]=r[e+22|0]^r[b+2|0];o[e+23|0]=r[e+23|0]^r[b+3|0];o[e+24|0]=r[e+24|0]^r[b+4|0];o[e+25|0]=r[e+25|0]^r[b+5|0];o[e+26|0]=r[e+26|0]^r[b+6|0];o[e+27|0]=r[e+27|0]^r[b+7|0]}aq(e+80|0,e+76|0,b);d=q[b+24>>2];f=GV(p,e+16|0,q[a+4>>2],e+80|0,q[e+76>>2],g,d,g,k,d+g|0,q[a+16>>2]);if(f){break a}a=q[a+16>>2];q[b+20>>2]=q[b+20>>2]-c;q[b+24>>2]=q[b+24>>2]+(a+c|0);f=-27648;if(n){break c}break a}h=1;f=-27136;m=q[a+4>>2];j=(l+1>>>0)%(m>>>0)|0;j=j?m-j|0:0;m=j+1|0;if(m>>>0>i>>>0){break a}o[g+l|0]=j;if(j){while(1){o[(q[k>>2]+h|0)+g|0]=j;h=h+1|0;if(j>>>0>=h>>>0){continue}break}}h=q[k>>2]+m|0;q[k>>2]=h;if(q[a+208>>2]>=2){if(!c){f=-27648;break a}h=q[a+4>>2];if(h>>>0>t[b+20>>2]){break a}f=d;d=a+20|0;f=ji[c|0](f,d,h)|0;if(f){break a}c=q[a+4>>2];si(g-c|0,d,c);h=q[k>>2]}c=a+20|0;f=BD(p,c,q[a+4>>2],g,h,g,e+12|0);if(f){break a}f=-27648;d=q[k>>2];if((d|0)!=q[e+12>>2]){break a}j:{if(q[a+208>>2]<=1){si(c,a+120|0,q[a+4>>2]);break j}c=q[a+4>>2];q[b+24>>2]=c+d;q[b+20>>2]=q[b+20>>2]-c;g=g-c|0}if(!n){break c}if(t[a+12>>2]>i-m>>>0){f=-27136;break a}aq(e+80|0,e+76|0,b);c=a+52|0;Mk(c,e+80|0,q[e+76>>2]);Mk(c,g,q[b+24>>2]);Il(c,e+16|0);Jm(c);si(q[b+24>>2]+g|0,e+16|0,q[a+12>>2]);q[b+24>>2]=q[b+24>>2]+q[a+12>>2]}f=0}fi=e+128|0;return f}function Dja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=0;f=fi-48|0;fi=f;c=q[a+4>>2];d=q[c+16>>2];e=q[q[a+24>>2]>>2];if(e>>>0>2]-d>>3>>>0){h=q[d+(e<<3)>>2];i=q[c>>2];if(h>>>0<(q[c+4>>2]-i|0)/240>>>0){a:{b:{d=q[a+16>>2];e=q[a+20>>2];if(!((d|0)==q[73908]&(e|0)==q[73909]|(d|0)==q[73910]&(e|0)==q[73911]|(d|0)==q[73912]&(e|0)==q[73913])){if((d|0)!=q[73914]|(e|0)!=q[73915]){break b}}a=bv(b,d,e,(i+w(h,240)|0)+48|0,295632);break a}c:{if(!((d|0)==q[73922]&(e|0)==q[73923]|((d|0)==q[73918]&(e|0)==q[73919]|(d|0)==q[73920]&(e|0)==q[73921]))){if((d|0)!=q[73924]|(e|0)!=q[73925]){break c}}a=bv(b,d,e,(i+w(h,240)|0)- -64|0,295672);break a}if((d|0)==q[73928]&(e|0)==q[73929]){a=i+w(h,240)|0;g=u[a+224>>2];a=s[a+234>>1];g=a&2?x(x(1)-g):g;d:{if(!(a&1)){break d}g=x(g+g);if(g>x(1)^1){break d}g=x(x(2)-g)}a=f+8|0;q[a>>2]=0;v[a+8>>3]=g;a=f;d=q[a+44>>2];c=b- -64|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=d;c=q[a+36>>2];q[b+56>>2]=q[a+32>>2];q[b+60>>2]=c;c=q[a+28>>2];q[b+48>>2]=q[a+24>>2];q[b+52>>2]=c;c=q[a+20>>2];q[b+40>>2]=q[a+16>>2];q[b+44>>2]=c;c=q[a+12>>2];q[b+32>>2]=q[a+8>>2];q[b+36>>2]=c;a=0;break a}if((d|0)==q[73930]&(e|0)==q[73931]){g=u[(i+w(h,240)|0)+228>>2];a=f+8|0;q[a>>2]=0;v[a+8>>3]=g;a=f;d=q[a+44>>2];c=b- -64|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=d;c=q[a+36>>2];q[b+56>>2]=q[a+32>>2];q[b+60>>2]=c;c=q[a+28>>2];q[b+48>>2]=q[a+24>>2];q[b+52>>2]=c;c=q[a+20>>2];q[b+40>>2]=q[a+16>>2];q[b+44>>2]=c;c=q[a+12>>2];q[b+32>>2]=q[a+8>>2];q[b+36>>2]=c;a=0;break a}if((d|0)==q[73886]&(e|0)==q[73887]){c=q[q[q[a+8>>2]+80>>2]>>2];d=i+w(h,240)|0;a=q[d+200>>2];if(!a){a=q[q[d+188>>2]+16>>2]}a=gm(c,a,b);break a}if((d|0)==q[73884]&(e|0)==q[73885]){c=q[q[q[a+8>>2]+80>>2]>>2];d=i+w(h,240)|0;a=q[d+196>>2];if(!a){a=q[q[d+188>>2]+8>>2]}a=gm(c,a,b);break a}if((d|0)==q[73888]&(e|0)==q[73889]){c=q[q[q[a+8>>2]+80>>2]>>2];d=i+w(h,240)|0;a=q[d+196>>2];if(!a){a=q[q[d+188>>2]+8>>2]}a=gm(c,q[a+48>>2],b);break a}if((d|0)==q[73932]&(e|0)==q[73933]){a=i+w(h,240)|0;c=q[a+212>>2];q[f+16>>2]=q[a+208>>2];q[f+20>>2]=c;q[f+8>>2]=1;c=q[f+44>>2];a=b- -64|0;q[a>>2]=q[f+40>>2];q[a+4>>2]=c;a=q[f+36>>2];q[b+56>>2]=q[f+32>>2];q[b+60>>2]=a;a=q[f+28>>2];q[b+48>>2]=q[f+24>>2];q[b+52>>2]=a;a=q[f+20>>2];q[b+40>>2]=q[f+16>>2];q[b+44>>2]=a;a=q[f+12>>2];q[b+32>>2]=q[f+8>>2];q[b+36>>2]=a;a=0;break a}j=i+w(h,240)|0;c=q[j+200>>2];if(!c){c=q[q[j+188>>2]+16>>2]}a=Hs(c,d,e,q[a+32>>2],b,0,446,i+w(h,240)|0)}fi=f+48|0;return a|0}}J(52519,51871,447,51574);G()}function Qna(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,r=0,s=0,t=0,u=0,v=0;d=fi-48|0;fi=d;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;a:{m=q[b>>2];if(m){e=q[b+12>>2];while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{p=c<<2;switch(q[p+e>>2]){case 3:break h;case 2:break i;case 1:break j;case 0:break c;case 7:break d;case 6:break e;case 5:break f;case 4:break g;default:break a}}f=f+1|0;break b}h=h+1|0;break b}g=g+1|0;break b}j=j+1|0;break b}k=k+1|0;break b}l=l+1|0;break b}i=i+1|0;n=(Fi(q[b+28>>2]+q[p+q[b+8>>2]>>2]|0)+n|0)+1|0;break b}o=o+1|0}c=c+1|0;if(m>>>0>c>>>0){continue}break}q[d+40>>2]=l;q[d+16>>2]=i;q[d+20>>2]=n;q[d+36>>2]=k;q[d+32>>2]=j;q[d+28>>2]=g;q[d+24>>2]=h;q[d+12>>2]=f;q[d+8>>2]=o}p=q[a>>2];if(p){k:{if(m){s=q[a+4>>2];t=q[b+4>>2];e=0;while(1){c=(e<<3)+s|0;u=q[c>>2];v=q[c+4>>2];c=0;l:{while(1){r=(c<<3)+t|0;if((u|0)==q[r>>2]&(v|0)==q[r+4>>2]){break l}c=c+1|0;if((m|0)!=(c|0)){continue}break}m:{n:{o:{p:{q:{r:{s:{t:{c=e<<2;switch(q[c+q[a+12>>2]>>2]){case 0:break m;case 7:break n;case 6:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break s;case 1:break t;default:break a}}f=f+1|0;break l}h=h+1|0;break l}g=g+1|0;break l}j=j+1|0;break l}k=k+1|0;break l}l=l+1|0;break l}i=i+1|0;n=(Fi(q[a+28>>2]+q[c+q[a+8>>2]>>2]|0)+n|0)+1|0;break l}o=o+1|0}e=e+1|0;if(p>>>0>e>>>0){continue}break}break k}e=q[a+12>>2];c=0;while(1){u:{v:{w:{x:{y:{z:{A:{B:{C:{m=c<<2;switch(q[m+e>>2]){case 0:break v;case 1:break w;case 2:break x;case 3:break y;case 4:break z;case 5:break A;case 6:break B;case 7:break C;default:break a}}i=i+1|0;n=(Fi(q[a+28>>2]+q[m+q[a+8>>2]>>2]|0)+n|0)+1|0;break u}l=l+1|0;break u}k=k+1|0;break u}j=j+1|0;break u}g=g+1|0;break u}h=h+1|0;break u}f=f+1|0;break u}o=o+1|0}c=c+1|0;if(p>>>0>c>>>0){continue}break}}q[d+40>>2]=l;q[d+16>>2]=i;q[d+20>>2]=n;q[d+36>>2]=k;q[d+32>>2]=j;q[d+28>>2]=g;q[d+24>>2]=h;q[d+12>>2]=f;q[d+8>>2]=o}g=qv(d+8|0);c=0;D:{if(!q[b>>2]){f=0;break D}while(1){dK(g,b,c);c=c+1|0;f=q[b>>2];if(c>>>0>>0){continue}break}}E:{h=q[a>>2];if(!h){break E}e=0;while(1){F:{if(f){c=q[a+4>>2]+(e<<3)|0;j=q[c>>2];k=q[c+4>>2];l=q[b+4>>2];c=0;while(1){i=l+(c<<3)|0;if((j|0)==q[i>>2]&(k|0)==q[i+4>>2]){break F}c=c+1|0;if((f|0)!=(c|0)){continue}break}}dK(g,a,e);h=q[a>>2]}e=e+1|0;if(h>>>0<=e>>>0){break E}f=q[b>>2];continue}}a=q[g>>2];ki(g);fi=d+48|0;return a}J(13913,13798,386,14093);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,r=0,s=0,t=0,v=x(0);j=c<<1&-4;l=q[a+8>>2];i=((b<<2)+a|0)+1084|0;h=q[a+96>>2];a:{if(h){f=q[a+104>>2];d=f+j|0;g=0;if((d|0)>q[a+108>>2]){break a}q[a+104>>2]=d;g=f+h|0;break a}g=0;if(!j){break a}g=xi(j)}q[i>>2]=g;n=l+(j<<1)|0;l=((b<<2)+a|0)+1092|0;i=q[a+96>>2];b:{if(i){h=q[a+104>>2];d=h+j|0;f=0;if((d|0)>q[a+108>>2]){break b}q[a+104>>2]=d;f=h+i|0;break b}f=0;if(!j){break b}f=xi(j)}q[l>>2]=f;h=c&-4;t=h+n|0;q[a+8>>2]=t;n=((b<<2)+a|0)+1100|0;l=q[a+96>>2];c:{if(l){i=q[a+104>>2];h=i+h|0;d=0;if((h|0)>q[a+108>>2]){break c}q[a+104>>2]=h;d=i+l|0;break c}d=0;if(!h){break c}d=xi(h)}q[n>>2]=d;if(!(f?!(!g|!d):0)){q[a+116>>2]=3;return 0}r=c>>2;d:{if((c|0)<4){break d}n=(r|0)>1?r:1;s=+(c|0);while(1){l=e<<2;k=+(m<<2)*3.141592653589793/s;u[g+l>>2]=yv(k);i=e|1;h=i<<2;u[g+h>>2]=-x(cq(k));k=+(i|0)*3.141592653589793/s*.5;u[f+l>>2]=x(yv(k))*x(.5);u[f+h>>2]=x(cq(k))*x(.5);e=e+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}if((c|0)<8){break d}f=c>>3;g=(f|0)>1?f:1;e=0;m=0;while(1){f=e|1;k=+(f<<1)*3.141592653589793/s;u[d+(e<<2)>>2]=yv(k);u[d+(f<<2)>>2]=-x(cq(k));e=e+2|0;m=m+1|0;if((g|0)!=(m|0)){continue}break}}i=j+t|0;q[a+8>>2]=i;e:{f:{g:{h:{i:{j:{k:{e=((b<<2)+a|0)+1108|0;g=q[a+96>>2];l:{if(g){f=q[a+104>>2];d=f+j|0;if((d|0)>q[a+108>>2]){break k}q[a+104>>2]=d;d=f+g|0;break l}if(!j){break k}d=xi(j)}q[e>>2]=d;if(!d){break e}if((c|0)>=2){g=c>>1;f=(g|0)>1?g:1;k=+(g|0);e=0;while(1){v=x(cq((+(e|0)+.5)/k*.5*3.141592653589793));u[d+(e<<2)>>2]=cq(+x(v*v)*1.5707963267948966);e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=(r&-2)+3&-4;q[a+8>>2]=d+i;e=((b<<2)+a|0)+1116|0;g=q[a+96>>2];m:{if(g){f=q[a+104>>2];d=f+d|0;if((d|0)>q[a+108>>2]){break j}q[a+104>>2]=d;b=f+g|0;break m}if(!d){break j}b=xi(d)}q[e>>2]=b;if(!b){break f}n:{if(c>>>0<=16383){if(c>>>0<16){break n}e=c>>>0<512?5:10;break i}if(c>>>0<=16777215){e=c>>>0<524288?15:20;break i}e=25;if(c>>>0<536870912){break i}e=30;if((c|0)>-1){break i}return 1}if((c|0)<=7){break g}d=o[c+203056|0];break h}q[((b<<2)+a|0)+1108>>2]=0;break e}q[((b<<2)+a|0)+1116>>2]=0;break f}d=o[(c>>>e|0)+203056|0]+e|0}a=c>>>3|0;f=a>>>0>1?a:1;d=36-d|0;e=0;while(1){c=e<<1;a=e>>>1&357913941|c&-1431655766;a=a>>>2&590558003|a<<2&-858993460;a=a>>>4&235867919|a<<4&-252645136;p[b+c>>1]=owa(a>>>8&16646399|a<<8&-16711936,16)>>>d<<2;e=e+1|0;if((f|0)!=(e|0)){continue}break}}return 1}q[a+116>>2]=3;return 0}q[a+116>>2]=3;return 0}function eB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=fi-48|0;fi=g;xwa(+a);d=uwa(1)|0;f=uwa(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;v[b>>3]=a;xwa(+a);d=uwa(1)|0;uwa(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(y(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;v[b>>3]=a;f=e;xwa(+a);e=uwa(1)|0;uwa(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;v[b>>3]=a}v[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;v[b>>3]=a;v[b+8>>3]=a;d=0;break a}vwa(0,f|0);vwa(1,e&1048575|1096810496);a=+wwa();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(y(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);v[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}v[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(v[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=jM(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=v[g>>3];if((e|0)<-1?1:(e|0)<=-1){v[b>>3]=-a;v[b+8>>3]=-v[g+8>>3];d=0-d|0;break a}v[b>>3]=a;v[b+8>>3]=v[g+8>>3]}fi=g+48|0;return d}function Y8(a,b){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];u[a+60>>2]=u[b+60>>2];u[a+64>>2]=u[b+64>>2];u[a+68>>2]=u[b+68>>2];u[a+72>>2]=u[b+72>>2];u[a+76>>2]=u[b+76>>2];u[a+80>>2]=u[b+80>>2];u[a+84>>2]=u[b+84>>2];u[a+88>>2]=u[b+88>>2];u[a+92>>2]=u[b+92>>2];u[a+96>>2]=u[b+96>>2];u[a+100>>2]=u[b+100>>2];u[a+104>>2]=u[b+104>>2];u[a+108>>2]=u[b+108>>2];u[a+112>>2]=u[b+112>>2];u[a+116>>2]=u[b+116>>2];u[a+120>>2]=u[b+120>>2];u[a+124>>2]=u[b+124>>2];u[a+128>>2]=u[b+128>>2];u[a+132>>2]=u[b+132>>2];u[a+136>>2]=u[b+136>>2];u[a+140>>2]=u[b+140>>2];u[a+144>>2]=u[b+144>>2];u[a+148>>2]=u[b+148>>2];u[a+152>>2]=u[b+152>>2];u[a+156>>2]=u[b+156>>2];u[a+160>>2]=u[b+160>>2];u[a+164>>2]=u[b+164>>2];u[a+168>>2]=u[b+168>>2];u[a+172>>2]=u[b+172>>2];u[a+176>>2]=u[b+176>>2];u[a+180>>2]=u[b+180>>2];u[a+184>>2]=u[b+184>>2];u[a+188>>2]=u[b+188>>2];u[a+192>>2]=u[b+192>>2];u[a+196>>2]=u[b+196>>2];u[a+200>>2]=u[b+200>>2];u[a+204>>2]=u[b+204>>2];u[a+208>>2]=u[b+208>>2];u[a+212>>2]=u[b+212>>2];u[a+216>>2]=u[b+216>>2];u[a+220>>2]=u[b+220>>2];u[a+224>>2]=u[b+224>>2];u[a+228>>2]=u[b+228>>2];u[a+232>>2]=u[b+232>>2];u[a+236>>2]=u[b+236>>2];u[a+240>>2]=u[b+240>>2];u[a+244>>2]=u[b+244>>2];u[a+248>>2]=u[b+248>>2];u[a+252>>2]=u[b+252>>2];u[a+256>>2]=u[b+256>>2];u[a+260>>2]=u[b+260>>2];u[a+264>>2]=u[b+264>>2];u[a+268>>2]=u[b+268>>2];u[a+272>>2]=u[b+272>>2];u[a+276>>2]=u[b+276>>2];u[a+280>>2]=u[b+280>>2];u[a+284>>2]=u[b+284>>2];u[a+288>>2]=u[b+288>>2];u[a+292>>2]=u[b+292>>2];u[a+296>>2]=u[b+296>>2];u[a+300>>2]=u[b+300>>2];u[a+304>>2]=u[b+304>>2];u[a+308>>2]=u[b+308>>2];u[a+312>>2]=u[b+312>>2];u[a+316>>2]=u[b+316>>2];u[a+320>>2]=u[b+320>>2];u[a+324>>2]=u[b+324>>2];u[a+328>>2]=u[b+328>>2];u[a+332>>2]=u[b+332>>2];u[a+336>>2]=u[b+336>>2];u[a+340>>2]=u[b+340>>2];u[a+344>>2]=u[b+344>>2];u[a+348>>2]=u[b+348>>2];u[a+352>>2]=u[b+352>>2];u[a+356>>2]=u[b+356>>2];u[a+360>>2]=u[b+360>>2];u[a+364>>2]=u[b+364>>2];u[a+368>>2]=u[b+368>>2];u[a+372>>2]=u[b+372>>2];u[a+376>>2]=u[b+376>>2];u[a+380>>2]=u[b+380>>2];u[a+384>>2]=u[b+384>>2];u[a+388>>2]=u[b+388>>2];u[a+392>>2]=u[b+392>>2];u[a+396>>2]=u[b+396>>2];si(a+400|0,b+400|0,136)}function Iy(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,p=0,s=0,t=0;e=fi-160|0;fi=e;d=Ci(112);q[d>>2]=0;q[d+4>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+104>>2]=1;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;h=d- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d>>2]=a;q[d+36>>2]=-1;q[d+12>>2]=c;q[d+8>>2]=b;a=ji[q[74922]](q[a+2208>>2],b,c)|0;q[d+4>>2]=a;h=ji[q[74933]](a)|0;a=0;q[e+24>>2]=0;if(h){b=0;while(1){q[e+28>>2]=-1;ji[q[74932]](q[d+4>>2],b,e+32|0,128,e+28|0,e+24|0)|0;c=q[e+28>>2];a:{if(c-7>>>0<=1){a=a+1|0;break a}if(c-9>>>0<=1){f=f+1|0;break a}q[e+4>>2]=c;q[e>>2]=e+32;mi(3,102630,102637,e)}b=b+1|0;if((h|0)!=(b|0)){continue}break}}b:{c:{b=a+f|0;if(b){zs(d+16|0,b,b<<1);if(o[d+60|0]&1){break c}vi(a,40,d+48|0,d+56|0,d+52|0)}if(f){if(o[d+76|0]&1){break c}vi(f,32,d- -64|0,d+72|0,d+68|0);c=0;while(1){a=q[d+68>>2];if((a|0)==q[d+72>>2]){break b}q[d+68>>2]=a+32;q[a+20>>2]=1;q[a+24>>2]=1;q[a+12>>2]=5;q[a+16>>2]=2;q[a+8>>2]=c<<24|16777215;q[a>>2]=0;q[a+4>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}d:{if(!h){break d}j=d+16|0;f=0;a=0;while(1){c=ji[q[74932]](q[d+4>>2],f,e+32|0,128,e+28|0,e+24|0)|0;b=ji[q[74934]](q[d+4>>2],e+32|0)|0;q[e+20>>2]=b;e:{if((b|0)==-1){break e}b=0;if(!c){J(102679,102699,100,102726);G()}f:{while(1){g=(e+32|0)+b|0;if(r[g|0]!=91){b=b+1|0;if((c|0)!=(b|0)){continue}break f}break}o[g|0]=0}b=li(e+32|0);c=ii;g=q[e+28>>2];if(g-7>>>0<=1){As(j,b,c,e+20|0);g=Jy(b,c);q[g+20>>2]=q[e+20>>2];c=q[e+24>>2];g:{if(c>>>0<=a>>>0){b=c;c=a;break g}b=c;if(i){ki(i);b=q[e+24>>2]}a=c<<4;i=Ci((c&268435455)!=(c|0)?-1:a);qi(i,0,a)}tu(g,i,b);b=0;k=0;l=0;m=0;n=0;p=0;s=0;t=0;if(q[e+28>>2]==7){a=Fi(e+32|0);wk(e+32|0,102738,128);l=li(e+32|0);m=ii;a=a+(e+32|0)|0;o[a|0]=0;wk(e+32|0,102741,128);b=li(e+32|0);k=ii;o[a|0]=0;wk(e+32|0,102744,128);n=li(e+32|0);p=ii;o[a|0]=0;wk(e+32|0,102747,128);s=li(e+32|0);o[a|0]=0;t=ii}a=q[d+52>>2];if((a|0)==q[d+56>>2]){break b}q[d+52>>2]=a+40;q[a+32>>2]=s;q[a+36>>2]=t;q[a+24>>2]=n;q[a+28>>2]=p;q[a+16>>2]=b;q[a+20>>2]=k;q[a+8>>2]=l;q[a+12>>2]=m;q[a>>2]=g;a=c;break e}if(g-9>>>0>1){break e}As(j,b,c,e+20|0)}f=f+1|0;if((h|0)!=(f|0)){continue}break}if(!i){break d}ki(i)}fi=e+160|0;return d}J(103048,103123,461,102967);G()}J(103202,103123,501,103226);G()}function tua(){var a=0;Mua();Nva();IM();Mva();NM();LM();FM();DM();CM();zM();yM();Lva();q[59717]=q[72890];q[72890]=238840;q[59747]=q[72890];q[72890]=238960;q[59805]=q[72890];q[72890]=239192;q[72895]=0;q[72896]=0;q[72891]=0;q[72892]=0;q[72897]=0;q[72898]=0;q[72893]=0;q[72894]=0;q[72896]=-1;q[59835]=q[72890];q[72890]=239312;q[59863]=q[72890];q[72890]=239424;q[59891]=q[72890];q[72890]=239536;q[59923]=q[72890];q[72890]=239664;q[60019]=q[72890];q[72890]=240048;q[60057]=q[72890];q[72890]=240200;q[60101]=q[72890];q[72890]=240376;q[60137]=q[72890];q[72890]=240520;q[60163]=q[72890];q[72890]=240624;q[60191]=q[72890];q[72890]=240736;q[60209]=q[72890];q[72890]=240808;Kva();Hva();Iva();_va();Zva();Yva();Xva();Wva();MM();Vva();Uva();Tva();Sva();Rva();Qva();Pva();Ova();EM();BM();AM();uva();tva();sva();rva();qva();pva();ova();nva();mva();lva();q[60663]=q[72890];q[72890]=242624;q[60677]=q[72890];q[72890]=242680;$va();Jva();Dva();q[61785]=q[72890];q[72890]=247112;q[61801]=q[72890];q[72890]=247176;q[61845]=q[72890];q[72890]=247352;zva();yva();q[62555]=q[72890];q[72890]=250192;q[62595]=q[72890];q[72890]=250352;q[62623]=q[72890];q[72890]=250464;q[62645]=q[72890];q[72890]=250552;q[62661]=q[72890];q[72890]=250616;q[62677]=q[72890];q[72890]=250680;q[62741]=q[72890];q[72890]=250936;q[62777]=q[72890];q[72890]=251080;q[62853]=q[72890];q[72890]=251384;iva();a=q[74873];q[74981]=587;q[74979]=a;o[299928]=1;q[74980]=588;q[74873]=299916;Fva();Gva();q[79034]=li(101400);q[79035]=ii;q[63937]=q[72890];q[72890]=255720;q[63997]=q[72890];q[72890]=255960;q[64131]=q[72890];q[72890]=256496;q[64159]=q[72890];q[72890]=256608;q[64193]=q[72890];q[72890]=256744;q[64249]=q[72890];q[72890]=256968;wva();q[79152]=Mp(110304,22);q[79153]=Lq(110432,15);q[79162]=0;q[79163]=0;q[79158]=0;q[79159]=0;q[79164]=0;q[79165]=0;q[79160]=0;q[79161]=0;q[79163]=-1;q[210259]=Mp(119472,18);Cva();q[65127]=q[72890];q[72890]=260480;jva();q[210339]=Bs(133428);Bva();q[65931]=q[72890];q[72890]=263696;q[65955]=q[72890];q[72890]=263792;q[65989]=q[72890];q[72890]=263928;q[66015]=q[72890];q[72890]=264032;q[66033]=q[72890];q[72890]=264104;q[66163]=q[72890];q[72890]=264624;q[66181]=q[72890];q[72890]=264696;q[210674]=li(136597);q[210675]=ii;vva();q[212943]=0;q[212944]=zj();xva();Eva();KM();Ava();kva();q[72176]=q[239978];q[239978]=288668;q[72186]=q[239978];q[239978]=288708;q[72198]=q[239987];q[239987]=288760}function Rja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,r=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=0,N=x(0),O=x(0);b=fi-48|0;fi=b;f=q[a+8>>2];g=u[q[a+4>>2]>>2];u[f+116>>2]=g;a:{b:{d=q[f>>2];h=q[f+4>>2];c=(d|0)==(h|0);if(c){break b}e=h-d|0;r=(e|0)/40|0;h=q[f+84>>2];if(!e){Vy(h,g);break b}if(!c){M=r>>>0>1?r:1;while(1){d=w(m,40)+d|0;n=q[d>>2];c:{if(!n){break c}L=q[d+28>>2];c=q[f+48>>2];if(L>>>0>=(q[f+52>>2]-c|0)/48>>>0){break a}c=w(L,48)+c|0;v=u[c+24>>2];y=u[c+20>>2];z=u[c+28>>2];A=u[c+16>>2];i=u[c>>2];j=u[c+4>>2];k=u[c+8>>2];mv(b,n);N=u[b+16>>2];O=u[b+20>>2];n=q[d+16>>2];g=u[b+8>>2];D=u[b+32>>2];l=x(i*D);i=u[b+12>>2];E=u[b+36>>2];B=x(j*E);j=u[b>>2];F=u[b+40>>2];C=x(k*F);H=x(x(x(g*l)+x(i*B))-x(j*C));k=u[b+4>>2];I=x(x(g*C)+x(x(j*l)+x(k*B)));K=x(x(x(j*B)+x(i*C))-x(k*l));l=x(x(x(i*l)+x(k*C))-x(g*B));u[b+8>>2]=u[b+24>>2]+x(x(j*H)+x(x(x(g*I)+x(i*K))-x(k*l)));u[b+4>>2]=O+x(x(g*l)+x(x(x(i*H)+x(k*I))-x(j*K)));u[b>>2]=N+x(x(k*K)+x(x(x(j*I)+x(i*l))-x(g*H)));Bu(h,n,b);n=q[d+16>>2];u[b+12>>2]=x(x(x(z*i)-x(A*j))-x(y*k))-x(v*g);u[b+8>>2]=x(x(y*j)+x(x(z*g)+x(v*i)))-x(A*k);u[b+4>>2]=x(x(A*g)+x(x(z*k)+x(y*i)))-x(v*j);u[b>>2]=x(x(v*k)+x(x(z*j)+x(A*i)))-x(y*g);Au(h,n,b);g=D>2],g>F?F:g);AG(h,q[d+16>>2],(q[q[d>>2]+136>>2]&512)>>>9|0);if(!(o[c+36|0]&1)|o[d+32|0]&1){break c}Yy(h,q[d+16>>2]);p[d+32>>1]=s[d+32>>1]|1}m=m+1|0;if((M|0)==(m|0)){m=q[a+12>>2];Vy(h,u[q[a+4>>2]>>2]);if(!e){break b}d=0;d:{e:{while(1){a=q[f>>2];if((q[f+4>>2]-a|0)/40>>>0<=d>>>0){break a}f:{g:{c=w(d,40);a=c+a|0;if(q[a>>2]?!(o[a+32|0]&1):0){break g}if(!DG(h,q[a+16>>2])){break g}e=q[a+20>>2];q[f+112>>2]=q[f+112>>2]-((q[e+4>>2]-q[e>>2]|0)/18568|0);Di(q[m>>2],q[a+20>>2]);vs(h,q[a+16>>2]);e=q[f+4>>2];a=q[f>>2];if((e-a|0)/40>>>0<=d>>>0){break e}a=a+c|0;c=e-40|0;e=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=e;e=q[c+36>>2];q[a+32>>2]=q[c+32>>2];q[a+36>>2]=e;e=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=e;e=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=e;e=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=e;a=q[f+4>>2]-40|0;q[f+4>>2]=a;if(a>>>0>2]){break d}r=r-1|0;break f}d=d+1|0}if(d>>>0>>0){continue}break}break b}J(49093,48652,481,49108);G()}J(49118,48652,484,49108);G()}d=q[f>>2];if((q[f+4>>2]-d|0)/40>>>0>m>>>0){continue}break}}break a}fi=b+48|0;return 0}J(48739,48652,447,48750);G()}function co(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0;g=fi-1584|0;fi=g;f=-4;a:{if((jj(d,0)|0)<1){break a}h=q[q[d+8>>2]>>2];if(!(h&1)){break a}if((jj(c,0)|0)<0){break a}lS(g+1580|0,h);h=g+1568|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;h=g+1552|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;qi(g+16|0,0,1536);h=ul(c);i=6;b:{if(h>>>0>671){break b}i=5;if(h>>>0>239){break b}i=4;if(h>>>0>79){break b}i=h>>>0>23?3:1}h=q[d+4>>2]+1|0;f=Vk(a,h);c:{if(f){break c}m=g+16|12;f=Vk(m,h);if(f){break c}f=Vk(g+1552|0,h<<1);if(f){break c}r=q[b>>2];if((r|0)==-1){f=_j(g,b);if(f){break c}q[g>>2]=1;b=g}d:{e:{if(!(q[e+8>>2]?e:0)){f=gk(g+1568|0,1);if(f){break c}f=Um(g+1568|0,q[d+4>>2]<<6);if(f){break c}f=Lk(g+1568|0,g+1568|0,d);if(f){break c}if(!e){break d}f=g+1568|0;h=e;break e}f=e;h=g+1568|0}j=q[f+4>>2];q[h>>2]=q[f>>2];q[h+4>>2]=j;q[h+8>>2]=q[f+8>>2]}f:{if((Dj(b,d)|0)>=0){f=Lk(m,b,d);if(!f){break f}break c}f=_j(m,b);if(f){break c}}k=q[g+1580>>2];f=ao(m,g+1568|0,d,k,g+1552|0);if(f){break c}f=_j(a,g+1568|0);if(f){break c}f=JC(a,d,k,g+1552|0);if(f){break c}g:{if(i>>>0<2){break g}l=i-1|0;j=1<>2]+1|0);if(f){break c}f=_j(b,m);if(f){break c}h=0;while(1){f=ao(b,b,d,k,g+1552|0);if(f){break c}h=h+1|0;if((l|0)!=(h|0)){continue}break}while(1){b=j+1|0;if(b>>>i|0){break g}h=(g+16|0)+w(b,12)|0;f=Vk(h,q[d+4>>2]+1|0);if(f){break c}f=_j(h,(g+16|0)+w(j,12)|0);if(f){break c}j=b;f=ao(h,m,d,k,g+1552|0);if(!f){continue}break}break c}p=q[c+4>>2];l=0;b=0;h=0;while(1){if(!b){if(!p){if(n){h=1<>2]|!(o[q[c+8>>2]]&1)){break c}q[a>>2]=-1;f=vl(a,d,a);break c}p=p-1|0;b=32}f=h;h=0;b=b-1|0;j=q[q[c+8>>2]+(p<<2)>>2]>>>b&1;if(!(j|f)){continue}if(!(j|(f|0)!=1)){h=1;f=ao(a,a,d,k,g+1552|0);if(!f){continue}break c}n=n+1|0;l=j<>>i|0)){while(1){Ji((g+16|0)+w(d,12)|0);d=d+1|0;if(!(d>>>i|0)){continue}break}}Ji(g+16|12);Ji(g+1552|0);Ji(g);if(q[e+8>>2]?e:0){break a}Ji(g+1568|0)}fi=g+1584|0;return f}function KJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=fi-32|0;fi=g;q[d>>2]=c;a:{b:{c:{d:{e:{e=Ij(a,q[c+64>>2],d+80|0);f:{if(e){break f}if(q[q[d+80>>2]+104>>2]){mi(4,56195,56203,0);e=-15;break f}e=q[d>>2];c=q[e>>2];if(!(!c|!r[c|0])){e=Ij(a,c,d+4|0);if(e){break f}e=q[d>>2]}h=d+84|0;c=q[e+104>>2];e=c>>>0<3?1:(c>>>0)/3|0;So(h,e,c);i=d+116|0;ys(i,e,q[q[d>>2]+104>>2]);e=q[d>>2];f=q[e+104>>2];if(f){c=0;while(1){q[g+28>>2]=0;if(c>>>0>=f>>>0){break c}f=c<<3;e=Ij(a,q[(f+q[e+100>>2]|0)+4>>2],g+28|0);if(e){break f}e=q[d>>2];if(t[e+104>>2]<=c>>>0){break c}e=f+q[e+100>>2]|0;j=Rm(q[e+4>>2],46);e=li(q[e>>2]);f=ii;q[g+16>>2]=li(j);q[g+20>>2]=ii;um(h,e,f,g+28|0);Ju(i,e,f,g+16|0);c=c+1|0;e=q[d>>2];f=q[e+104>>2];if(c>>>0>>0){continue}break}}if(o[d+68|0]&1){break b}f=d- -64|0;vi(q[e+96>>2],4,d+56|0,f,d+60|0);q[d+60>>2]=q[d+56>>2];e=q[d>>2];if(q[e+96>>2]){c=0;while(1){q[g+16>>2]=0;e=Ij(a,q[(q[e+92>>2]+(c<<3)|0)+4>>2],g+16|0);if(e){break f}e=q[d+60>>2];if((e|0)==q[f>>2]){break a}h=q[g+16>>2];q[d+60>>2]=e+4;q[e>>2]=h;c=c+1|0;e=q[d>>2];if(c>>>0>2]){continue}break}}if(o[d+20|0]&1){break b}vi(q[e+8>>2],4,d+8|0,d+16|0,d+12|0);c=q[d+8>>2];q[d+12>>2]=c;if(o[d+36|0]&1){break b}vi(q[d+16>>2]-c>>2,8,d+24|0,d+32|0,d+28|0);q[d+28>>2]=q[d+24>>2];e=q[d>>2];f=q[e+8>>2];if(f){c=0;while(1){if(c>>>0>=f>>>0){break e}e=Ij(a,q[(q[e+4>>2]+(c<<3)|0)+4>>2],g+28|0);if(e){break f}e=q[d+12>>2];if((e|0)==q[d+16>>2]){break a}f=q[g+28>>2];q[d+12>>2]=e+4;q[e>>2]=f;q[g+16>>2]=0;q[g+20>>2]=0;ts(a,q[g+28>>2],g+16|0);e=q[d+28>>2];if((e|0)==q[d+32>>2]){break a}f=q[g+16>>2];h=q[g+20>>2];q[d+28>>2]=e+8;q[e>>2]=f;q[e+4>>2]=h;c=c+1|0;e=q[d>>2];f=q[e+8>>2];if(c>>>0>>0){continue}break}}jl(a,56333,g+16|0);if(o[d+52|0]&1){break b}vi(q[q[d>>2]+16>>2],8,d+40|0,d+48|0,d+44|0);q[d+44>>2]=q[d+40>>2];e=q[d>>2];f=q[e+16>>2];if(f){c=0;while(1){if(c>>>0>=f>>>0){break d}e=Ij(a,q[(q[e+12>>2]+(c<<3)|0)+4>>2],g+28|0);if(e){break f}e=nu(a,q[g+28>>2],g+12|0);if(e){break f}e=q[d+44>>2];if((e|0)==q[d+48>>2]){break a}f=q[g+28>>2];h=q[g+12>>2]==q[g+16>>2];i=q[(h?f+48|0:g+28|0)>>2];q[d+44>>2]=e+8;q[e+4>>2]=i;q[e>>2]=h?f:0;c=c+1|0;e=q[d>>2];f=q[e+16>>2];if(c>>>0>>0){continue}break}}a=Sk(q[e>>2]);q[d+76>>2]=b;q[d+72>>2]=a;e=0}fi=g+32|0;return e}J(56350,56362,243,56394);G()}J(56350,56362,251,56394);G()}J(56350,56362,303,56394);G()}J(56487,56562,461,56475);G()}J(56641,56562,501,56665);G()}function Qu(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,p=x(0),t=0,v=0,z=0,A=x(0);m=fi-32|0;fi=m;a:{b:{c:{d:{k=b&65535;l=q[a+32>>2];if(k>>>0<(q[a+36>>2]-l|0)/576>>>0){t=b>>>16|0;if((t|0)!=s[(w(k,576)+l|0)+552>>1]){break d}j=w(k,576)+l|0;if(s[j+554>>1]!=(b&65535)){break c}q[j+464>>2]=0;q[j+468>>2]=0;q[j+472>>2]=0;e:{if(!(c|d)){mi(4,184623,185929,0);a=-7;break e}z=w(k,576)+l|0;if(q[z+436>>2]!=2){mi(4,184623,185981,0);a=-7;break e}v=j+472|0;q[j+464>>2]=c;q[j+468>>2]=d;f:{j=q[a+400>>2];g:{if(!j){mi(4,184623,187088,0);j=-2;break g}n=w(k,576)+l|0;j=ji[j|0](q[n+432>>2],c,d,n+440|0)|0;if(!j){break f}}g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=k>>>0){break b}if(s[(g+w(k,576)|0)+552>>1]!=(t|0)){break a}g=q[a+48>>2];h=q[a+52>>2]-g|0;a=(h|0)/72|0;h:{if(!h){break h}h=a>>>0>1?a:1;a=0;while(1){i=g+w(a,72)|0;if(!(q[i+4>>2]==(v|0)?q[i>>2]==(b|0):0)){a=a+1|0;if((h|0)!=(a|0)){continue}break h}break}a=g+w(a,72)|0;o[a+68|0]=r[a+68|0]|4}a=w(k,576)+l|0;q[a+440>>2]=0;q[a+444>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;q[a+456>>2]=0;q[a+460>>2]=0;q[a+448>>2]=0;q[a+452>>2]=0;a=Ei(c,d);if((j|0)==-1){q[m>>2]=a;mi(3,184623,186045,m);a=-5;break e}q[m+20>>2]=j;q[m+16>>2]=a;mi(3,184623,186084,m+16|0);a=-5;break e}i:{if((q[n+440>>2]&1006632960)==402653184){c=q[a+32>>2];if((q[a+36>>2]-c|0)/576>>>0<=k>>>0){break b}if(s[(c+w(k,576)|0)+552>>1]!=(t|0)){break a}c=q[a+48>>2];a=q[a+52>>2]-c|0;if(!a){break i}a=(a|0)/72|0;d=a>>>0>1?a:1;a=0;while(1){g=c+w(a,72)|0;if(!(q[g+4>>2]==(v|0)?q[g>>2]==(b|0):0)){a=a+1|0;if((d|0)!=(a|0)){continue}break i}break}a=c+w(a,72)|0;o[a+68|0]=r[a+68|0]|4;break i}Sz(a,b,e,f,g,h,i)}a=0;b=q[(w(k,576)+l|0)+412>>2];if(!(b&262144)|(b>>>4&15)-5>>>0<2|q[z+436>>2]!=2){break e}g=q[(w(k,576)+l|0)+452>>2];if(!g){break e}a=q[n+440>>2];c=a&8191;d=(a>>>13&8191)-c|0;e=x(u[v>>2]*x(d|0));j:{if(x(y(e))>2];k:{f=u[b>>2];p=u[b+8>>2];if(f==p){break k}A=u[b+20>>2];if(e==A){break k}c=w(k,576)+l|0;u[c+64>>2]=x(u[b+4>>2]-A)*x(s[c+446>>1]);u[c+68>>2]=x(p-f)*x(s[c+444>>1]);break e}p=u[b+4>>2];c=w(k,576)+l|0;u[c+64>>2]=x(u[b+16>>2]-f)*x(s[c+444>>1]);u[c+68>>2]=x(e-p)*x(s[c+446>>1])}fi=m+32|0;return a}break b}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}J(184508,184532,3571,187033);G()}function wM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{if(r[851668]!=(a|0)){g=q[212916];tj(g);o[851668]=a;h:{if(a){if(q[212922]-q[212920]>>4>>>0<=511){Ou(851672,1024,512)}qi(q[212918],255,q[212919]<<2);q[212923]=-1;q[212924]=0;q[212921]=q[212920];if((q[212930]-q[212928]|0)/24>>>0<=511){Mu(851704,1024,512)}qi(q[212926],255,q[212927]<<2);q[212931]=-1;q[212932]=0;q[212929]=q[212928];if(o[851748]&1){break g}vi(512,8,851736,851744,851740);a=q[212934];if(q[212936]-a>>3>>>0<=511){break f}q[212935]=a+4096;a=q[212939];if(a>>>0>=513){break e}b=q[212938];c=xi(2048);q[212938]=c;c=si(c,b,a<<2);q[212939]=512;if((a|0)!=512){while(1){q[c+(a<<2)>>2]=a;a=a+1|0;if((a|0)!=512){continue}break}}ki(b);a=0;q[212940]=0;b=q[212938];i:{if(q[212939]){while(1){q[b+(a<<2)>>2]=a;a=a+1|0;c=q[212939];if(a>>>0>>0){continue}break}a=q[212940];if(a>>>0>>0){break i}break a}if(b){break a}J(150377,150352,151,150384);G()}q[212940]=a+1;if(!q[b+(a<<2)>>2]){break h}J(150143,150161,94,150182);G()}a=q[212919];if(a){b=a;while(1){a=q[q[212918]+(d<<2)>>2];if((a|0)!=-1){while(1){a=q[212920]+(a<<4)|0;ki(q[a+4>>2]);a=q[a+12>>2];if((a|0)!=-1){continue}break}b=q[212919]}d=d+1|0;if(d>>>0>>0){continue}break}}qi(q[212918],255,b<<2);q[212923]=-1;q[212924]=0;q[212921]=q[212920];a=q[212927];if(a){d=0;c=a;while(1){a=q[q[212926]+(d<<2)>>2];if((a|0)!=-1){while(1){a=q[212928]+w(a,24)|0;ki(q[a+8>>2]);a=q[a+16>>2];if((a|0)!=-1){continue}break}c=q[212927]}d=d+1|0;if(d>>>0>>0){continue}break}}qi(q[212926],255,c<<2);q[212931]=-1;q[212932]=0;q[212929]=q[212928];a=q[212940];if(!a){break h}f=q[212938];if(!f){break d}if(a>>>0>t[212939]){break c}b=a-1|0;q[212940]=b;a=0;q[(b<<2)+f>>2]=0;b=q[212935];d=q[212934];c=q[212940];e=q[212939];if(c>>>0>>0){i=b-d>>3;while(1){h=q[(c<<2)+f>>2];if(h>>>0>=i>>>0){break b}q[(h<<3)+d>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((b|0)!=(d|0)){while(1){c=q[(a<<3)+d>>2];if(c){ki(c);b=q[212935]}a=a+1|0;d=q[212934];if(a>>>0>3>>>0){continue}break}e=q[212939]}a=0;q[212940]=0;if(!e){break h}b=q[212938];while(1){q[b+(a<<2)>>2]=a;a=a+1|0;if(a>>>0>1];g=f;a:{b:{c:{d:{h=s[a+26>>1];e:{if((h|0)==(f|0)){break e}g=q[a+20>>2];if(!g){break d}if(f>>>0<=h>>>0){break c}p[a+26>>1]=h+1;g=s[g+(h<<1)>>1];h=q[a+32>>2];if(g>>>0<(q[a+36>>2]-h|0)/576>>>0){break e}if((q[a+40>>2]-h|0)/576>>>0<=g>>>0){break b}q[a+36>>2]=(h+w(g,576)|0)+576}f:{if((f|0)==(g|0)){q[i>>2]=f;mi(4,184623,185462,i);b=0;break f}h=q[a+32>>2];if((q[a+36>>2]-h|0)/576>>>0<=g>>>0){break a}k=s[a+352>>1];f=qi(h+w(g,576)|0,0,576);j=u[b+8>>2];q[f+24>>2]=0;q[f+28>>2]=0;l=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=l;q[f+16>>2]=0;q[f+20>>2]=0;q[f+12>>2]=1065353216;u[f+8>>2]=j;q[f+104>>2]=0;q[f+108>>2]=1065353216;q[f+96>>2]=0;q[f+100>>2]=0;q[f+88>>2]=0;q[f+92>>2]=1065353216;q[f+80>>2]=0;q[f+84>>2]=0;q[f+56>>2]=1065353216;q[f+60>>2]=1065353216;q[f+48>>2]=1065353216;q[f+52>>2]=1065353216;q[f+40>>2]=1065353216;q[f+44>>2]=0;q[f+32>>2]=1065353216;q[f+36>>2]=1065353216;j=u[c+8>>2];b=q[c>>2];c=q[c+4>>2];q[f+112>>2]=0;q[f+116>>2]=0;q[f+76>>2]=0;q[f+128>>2]=0;q[f+324>>2]=0;q[f+328>>2]=0;q[f+320>>2]=1065353216;q[f+156>>2]=0;q[f+148>>2]=0;q[f+152>>2]=0;q[f+140>>2]=0;q[f+144>>2]=1065353216;q[f+132>>2]=1135869952;q[f+136>>2]=0;q[f+332>>2]=0;q[f+336>>2]=0;q[f+340>>2]=1065353216;q[f+352>>2]=0;q[f+356>>2]=0;q[f+344>>2]=0;q[f+348>>2]=0;q[f+360>>2]=1065353216;q[f+120>>2]=0;q[f+124>>2]=0;q[f+64>>2]=b;q[f+68>>2]=c;u[f+72>>2]=j;q[f+372>>2]=0;q[f+376>>2]=0;q[f+364>>2]=0;q[f+368>>2]=0;q[f+404>>2]=64;q[f+408>>2]=1;q[f+380>>2]=1065353216;q[f+384>>2]=1065353216;q[f+388>>2]=1065353216;q[f+392>>2]=1065353216;q[f+396>>2]=1065353216;q[f+416>>2]=e;q[f+480>>2]=0;q[f+484>>2]=0;q[f+488>>2]=0;q[f+424>>2]=0;q[f+428>>2]=0;q[f+432>>2]=0;q[f+436>>2]=0;q[f+440>>2]=0;q[f+444>>2]=0;q[f+448>>2]=0;q[f+452>>2]=0;q[f+456>>2]=0;q[f+460>>2]=0;q[f+464>>2]=0;q[f+468>>2]=0;q[f+472>>2]=0;q[f+412>>2]=q[f+412>>2]&-402653184|d<<4&240|36700160;c=q[213718];d=q[213719];q[f+568>>2]=-1;p[f+554>>1]=g;b=k?k:1;p[f+552>>1]=b;q[f+508>>2]=0;p[f+504>>1]=0;q[f+496>>2]=c;q[f+500>>2]=d;q[f+556>>2]=-1;q[f+560>>2]=-1;p[f+564>>1]=65535;p[a+352>>1]=(b+1>>>0)%65535;b=b<<16|g;if(e){q[(h+w(g,576)|0)+512>>2]=ji[q[a+372>>2]](q[a+388>>2],a,b,e)}Ru(a,b,0)}fi=i+16|0;return b}J(186843,186850,151,186924);G()}J(186928,186850,152,186924);G()}J(187316,186599,474,187335);G()}J(186773,186599,447,186784);G()}function YF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-80|0;fi=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(q[b+56>>2]==-17){if(s[b+38>>1]){break l}g=q[b+8>>2];if(!g){break k}f=e- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[e+56>>2]=0;q[e+60>>2]=0;f=q[b+28>>2];h=q[b+24>>2];q[e+76>>2]=1;q[e+48>>2]=h;q[e+52>>2]=f;q[e+72>>2]=g;q[e+16>>2]=q[a+155704>>2];q[e+20>>2]=q[g+12>>2];q[e+36>>2]=q[b+52>>2];q[e+40>>2]=e+48;q[e+24>>2]=q[b>>2];m:{if(!c){c=q[b+44>>2];if(!c){break j}d=q[b+48>>2];q[e+32>>2]=d;q[e+28>>2]=c;q[e+68>>2]=d;q[b+56>>2]=ji[q[g+20>>2]](e+16|0);Lqa(q[a+173488>>2],q[b+44>>2],q[b+48>>2]);q[b+44>>2]=0;c=q[b+56>>2];break m}q[e+32>>2]=d;q[e+28>>2]=c;q[e+68>>2]=d;c=ji[q[g+20>>2]](e+16|0)|0;q[b+56>>2]=c}if(!(!q[g+24>>2]|c)){d=a+173500|0;f=a+173504|0;c=q[f>>2];h=a+173508|0;i=q[h>>2];if((c|0)==(i|0)){if(o[a+173512|0]&1){break i}vi(((c-q[d>>2]|0)/56|0)+128|0,56,d,h,f);i=q[h>>2];c=q[f>>2]}h=q[d>>2];d=((c-h|0)/56|0)+1|0;if(d>>>0>(i-h|0)/56>>>0){break h}q[f>>2]=h+w(d,56);if(!d){break g}o[c+48|0]=0;q[c>>2]=q[a+155704>>2];q[c+4>>2]=q[g+12>>2];d=q[b+52>>2];q[c+12>>2]=0;q[c+8>>2]=d;d=q[e+52>>2];q[c+16>>2]=q[e+48>>2];q[c+20>>2]=d;d=q[e+60>>2];q[c+24>>2]=q[e+56>>2];q[c+28>>2]=d;d=e- -64|0;f=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=f;d=q[e+76>>2];q[c+40>>2]=q[e+72>>2];q[c+44>>2]=d}if(q[b+44>>2]){break f}q[b+52>>2]=0;c=p[b+32>>1];if((c|0)!=-1){c=((c<<6)+a|0)+88150|0;d=s[c>>1];if(!d){break e}p[c>>1]=d-1}Dy(a,b);if(q[b+56>>2]){break b}if(!q[e+56>>2]){break d}c=ou(q[a+155704>>2],q[b+24>>2],q[b+28>>2]);if(c){q[c+28>>2]=q[c+28>>2]+1;q[b+60>>2]=q[c+8>>2];break c}c=XF(q[a+155704>>2],q[b>>2],q[b+24>>2],q[b+28>>2],e+48|0);q[b+56>>2]=c;if(c){break c}q[b+60>>2]=q[e+56>>2];break b}J(30002,29361,518,30038);G()}J(30053,29361,519,30038);G()}J(30083,29361,521,30038);G()}J(30120,29361,542,30038);G()}J(30723,29732,461,30798);G()}J(29822,29732,474,29841);G()}J(30206,29732,403,30217);G()}J(30134,29361,579,30038);G()}J(29913,29361,318,29973);G()}J(30153,29361,595,30038);G()}d=q[e+56>>2];if(!d){break a}n:{if(!q[g+24>>2]){break n}b=q[a+173496>>2];c=q[a+173500>>2];f=(q[a+173504>>2]-c|0)/56|0;if(b>>>0>=f>>>0){break n}while(1){if((d|0)==q[(c+w(b,56)|0)+24>>2]){o[(c+w(b,56)|0)+48|0]=1;break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}}q[e>>2]=q[a+155704>>2];q[e+4>>2]=q[g+12>>2];q[e+8>>2]=e+48;ji[q[g+28>>2]](e)|0}fi=e+80|0;return}J(30177,29361,625,30038);G()}function ija(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=x(0),n=0,v=0,y=0,z=0,A=x(0),B=x(0),C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0);a:{b:{c:{g=q[a+4>>2];k=q[g+8>>2];j=q[g+4>>2];c=k-j|0;d:{if(!c){break d}e=c>>2;l=q[a+8>>2];while(1){d=q[j+(i<<2)>>2];e:{if((r[d+166|0]&3)!=3|!s[d+164>>1]){break e}b=q[d+124>>2];h=q[d+128>>2]-b|0;if(!h){break e}a=0;while(1){f=o[a+b|0]&1?w(s[d+160>>1],s[d+162>>1])+f|0:f;a=a+1|0;if((h|0)!=(a|0)){continue}break}}i=i+1|0;if((e|0)!=(i|0)){continue}break}if((q[g+28>>2]-q[g+20>>2]|0)/272>>>0>>0){if(o[g+32|0]&1){break b}vi(f,272,g+20|0,g+28|0,g+24|0)}a=j-k|0;e=((a|0)>(c|0)?a:c)>>>2|0;a=(c|0)>-1?c:-1;a=w(e,(a|0)<1?a:1);D=a>>>0>1?a:1;y=q[l>>2];k=Qo(y,f);E=Po(y,448,g)<<6;i=0;a=k;while(1){c=q[g+4>>2];if(q[g+8>>2]-c>>2>>>0<=i>>>0){break a}b=q[c+(i<<2)>>2];f:{if((r[b+166|0]&3)!=3|!s[b+164>>1]){break f}c=q[b+144>>2];if(!(!c|!r[c+52|0])){$u(b)}c=q[b+156>>2];d=q[b+152>>2];if(!d){d=q[c>>2]}z=q[c+4>>2];C=q[z+8>>2];if(!C){break f}c=q[d+64>>2];F=q[c+24>>2];H=q[c+20>>2];I=i&65535;h=0;while(1){c=q[b+124>>2];if(q[b+128>>2]-c>>>0<=h>>>0){break a}g:{if(!(o[c+h|0]&1)){break g}if(t[z+8>>2]<=h>>>0){break c}j=s[b+162>>1];if(!j){break g}K=q[z+4>>2]+(h<<5)|0;L=h<<16|I;n=0;v=0;c=0;f=s[b+160>>1];d=f;while(1){if(d&65535){j=v<<16;M=L;A=x(w(v,F)>>>0);l=0;d=0;h:{while(1){e=q[b+108>>2];if(q[b+112>>2]-e>>>0>n>>>0){if(r[e+n|0]&2){N=u[b+80>>2];O=u[b+64>>2];P=u[b+32>>2];Q=u[b+48>>2];R=u[b+84>>2];S=u[b+68>>2];T=u[b+36>>2];U=u[b+52>>2];m=u[b+88>>2];V=u[b+72>>2];B=u[K+4>>2];W=u[b+40>>2];X=u[b+56>>2];e=a;q[a+32>>2]=M;q[a+36>>2]=j|l;Y=m;m=x(w(l,H)>>>0);u[a+8>>2]=Y+x(x(x(W*m)+x(X*A))+x(B*V));u[a+4>>2]=R+x(x(x(T*m)+x(U*A))+x(B*S));u[a>>2]=N+x(x(x(P*m)+x(Q*A))+x(B*O));f=q[b+148>>2];if(!f){f=q[q[b+156>>2]+24>>2]}q[e+24>>2]=q[f+80>>2];q[a+20>>2]=q[b+140>>2];p[a+40>>1]=s[a+40>>1]&49152|E|16;f=s[b+160>>1];a=a+48|0}n=n+1|0;e=l+1|0;d=e>>>0<1?d+1|0:d;l=e;if(!d&(f&65535)>>>0>e>>>0){continue}break h}break}break a}j=s[b+162>>1];d=f}else{d=0}e=v+1|0;c=e>>>0<1?c+1|0:c;v=e;if(!c&(j&65535)>>>0>e>>>0){continue}break}}h=h+1|0;if((C|0)!=(h|0)){continue}break}}i=i+1|0;if((D|0)!=(i|0)){continue}break}if((a|0)==(k|0)){break d}Oo(y,k,a)}return 0}J(53935,53947,189,53980);G()}J(53742,53817,461,53896);G()}J(53991,53817,447,53980);G()}function Su(a,b){a:{if(q[213724]!=(a|0)|q[213725]!=(b|0)){if((a|0)!=q[213728]|(b|0)!=q[213729]){break a}a=854912}else{a=854896}return a}if(q[213732]==(a|0)&q[213733]==(b|0)){return 854928}if(q[213736]==(a|0)&q[213737]==(b|0)){return 854944}if(q[213740]==(a|0)&q[213741]==(b|0)){return 854960}if(q[213744]==(a|0)&q[213745]==(b|0)){return 854976}if(q[213748]==(a|0)&q[213749]==(b|0)){return 854992}if(q[213752]==(a|0)&q[213753]==(b|0)){return 855008}if(q[213756]==(a|0)&q[213757]==(b|0)){return 855024}if(q[213760]==(a|0)&q[213761]==(b|0)){return 855040}if(q[213764]==(a|0)&q[213765]==(b|0)){return 855056}if(q[213768]==(a|0)&q[213769]==(b|0)){return 855072}if(q[213772]==(a|0)&q[213773]==(b|0)){return 855088}if(q[213776]==(a|0)&q[213777]==(b|0)){return 855104}if(q[213780]==(a|0)&q[213781]==(b|0)){return 855120}if(q[213784]==(a|0)&q[213785]==(b|0)){return 855136}if(q[213788]==(a|0)&q[213789]==(b|0)){return 855152}if(q[213792]==(a|0)&q[213793]==(b|0)){return 855168}if(q[213796]==(a|0)&q[213797]==(b|0)){return 855184}if(q[213800]==(a|0)&q[213801]==(b|0)){return 855200}if(q[213804]==(a|0)&q[213805]==(b|0)){return 855216}if(q[213808]==(a|0)&q[213809]==(b|0)){return 855232}if(q[213812]==(a|0)&q[213813]==(b|0)){return 855248}if(q[213816]==(a|0)&q[213817]==(b|0)){return 855264}if(q[213820]==(a|0)&q[213821]==(b|0)){return 855280}if(q[213824]==(a|0)&q[213825]==(b|0)){return 855296}if(q[213828]==(a|0)&q[213829]==(b|0)){return 855312}if(q[213832]==(a|0)&q[213833]==(b|0)){return 855328}if(q[213836]==(a|0)&q[213837]==(b|0)){return 855344}if(q[213840]==(a|0)&q[213841]==(b|0)){return 855360}if(q[213844]==(a|0)&q[213845]==(b|0)){return 855376}if(q[213848]==(a|0)&q[213849]==(b|0)){return 855392}if(q[213852]==(a|0)&q[213853]==(b|0)){return 855408}if(q[213856]==(a|0)&q[213857]==(b|0)){return 855424}if(q[213860]==(a|0)&q[213861]==(b|0)){return 855440}if(q[213864]==(a|0)&q[213865]==(b|0)){return 855456}if(q[213868]==(a|0)&q[213869]==(b|0)){return 855472}if(q[213872]==(a|0)&q[213873]==(b|0)){return 855488}if(q[213876]==(a|0)&q[213877]==(b|0)){return 855504}if(q[213880]==(a|0)&q[213881]==(b|0)){return 855520}if(q[213884]==(a|0)&q[213885]==(b|0)){return 855536}if(q[213888]==(a|0)&q[213889]==(b|0)){return 855552}if(q[213892]==(a|0)&q[213893]==(b|0)){return 855568}return(a|0)==q[213896]&(b|0)==q[213897]?855584:0}function Vra(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,p=0;e=fi-1056|0;fi=e;n=q[a+8>>2]-q[a+12>>2]>>4;d=yl(a,3,123591,e+12|0);Bn(q[b+20>>2]);c=e+16|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;Wm(e+16|0,d,q[e+12>>2]);a:{b:{c:{d:{e:{if(!Gj(a,2)){d=yl(a,2,123592,0);if(r[d|0]!=42){break c}f:{switch(r[d+1|0]-97|0){case 11:p=b+32|0;f=q[b+28>>2];c=q[b+24>>2];l=e+1052|0;while(1){g=0;h=0;if(c>>>0>=f>>>0){d=q[b+16>>2];h=ji[q[d+8>>2]](q[d>>2],p,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;f=q[e+1052>>2];q[b+28>>2]=f;c=0}d=b;g:{j=f-c|0;if(j){k=(b+c|0)+32|0;while(1){h:{i:{i=g+k|0;c=r[i|0];switch(c-10|0){case 0:break g;case 3:break h;default:break i}}f=q[e+16>>2];if(l>>>0<=f>>>0){Pk(e+16|0);f=q[e+16>>2];c=r[i|0]}q[e+16>>2]=f+1;o[f|0]=c}g=g+1|0;if((j|0)!=(g|0)){continue}break}f=q[b+28>>2];c=q[b+24>>2]}c=c+j|0;q[d+24>>2]=c;q[b+12>>2]=j+q[b+12>>2];if(c>>>0>=f>>>0){q[b+24>>2]=0;q[b+28>>2]=0;f=0;c=0}if(!h){continue}break d}break}d=g+1|0;q[b+12>>2]=d+q[b+12>>2];d=d+q[b+24>>2]|0;q[b+24>>2]=d;if(d>>>0>2]){break e}q[b+24>>2]=0;q[b+28>>2]=0;break e;case 0:break f;default:break c}}k=b+32|0;while(1){if(h){if((h|0)!=-2){break e}h=-2;if(!f){break d}break b}h=0;i=e+16|0;c=q[b+28>>2];g=q[b+24>>2];if(c>>>0<=g>>>0){d=q[b+16>>2];h=ji[q[d+8>>2]](q[d>>2],k,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;c=q[e+1052>>2];q[b+28>>2]=c;g=0}c=c-g|0;Wm(i,(b+g|0)+32|0,c);q[b+12>>2]=c+q[b+12>>2];d=c+q[b+24>>2]|0;q[b+24>>2]=d;f=c+f|0;if(d>>>0>2]){continue}q[b+24>>2]=0;q[b+28>>2]=0;continue}}m=wj(a,2);c=m>=0;d=~~m>>>0;j:{if(c&m<4294967296){break j}d=0}if(!c){Mj(a,2,123595)}c=q[e+12>>2];if(c>>>0>=d>>>0?c:0){break b}k=b+32|0;l=d-c|0;c=0;while(1){if(h){break d}h=0;j=e+16|0;f=q[b+28>>2];g=q[b+24>>2];if(f>>>0<=g>>>0){d=q[b+16>>2];h=ji[q[d+8>>2]](q[d>>2],k,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;f=q[e+1052>>2];q[b+28>>2]=f;g=0}i=f-g|0;d=l-c|0;i=d>>>0>i>>>0?i:d;Wm(j,(b+g|0)+32|0,i);q[b+12>>2]=i+q[b+12>>2];d=i+q[b+24>>2]|0;q[b+24>>2]=d;if(d>>>0>=t[b+28>>2]){q[b+24>>2]=0;q[b+28>>2]=0}c=c+i|0;if(l>>>0>c>>>0){continue}break}}if(!h){break b}}bm(e+16|0);b=q[b+16>>2];wi(a,ji[q[b+12>>2]](q[b>>2],h)|0);Hi(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;pq(a,-4);break a}Mj(a,2,123595)}bm(e+16|0);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}fi=e+1056|0;return(q[a+8>>2]-q[a+12>>2]>>4)-n|0}function Hs(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=x(0);i=fi-128|0;fi=i;q[i+120>>2]=0;q[i+124>>2]=0;q[i+116>>2]=0;k=-1;q[i+112>>2]=-1;p[i+110>>1]=0;a:{if(!kG(a,b,c,i+120|0,i+116|0,i+112|0,i+110|0)){break a}if(ji[g|0](h,q[i+120>>2],q[i+124>>2],i+100|0)|0){g=q[i+100>>2];q[i+104>>2]=s[g+24>>1];k=-11;if(t[i+104>>2]<=d>>>0){break a}j=q[g>>2]+(d<<4)|0}o[e+77|0]=r[e+77|0]&254;b:{g=q[i+120>>2];h=q[i+124>>2];if((g|0)==(b|0)&(h|0)==(c|0)){g=q[i+116>>2];if(g){h=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=h;h=q[g+12>>2];q[e+8>>2]=q[g+8>>2];q[e+12>>2]=h;h=q[g+20>>2];q[e+16>>2]=q[g+16>>2];q[e+20>>2]=h;h=q[g+28>>2];q[e+24>>2]=q[g+24>>2];q[e+28>>2]=h}if(j){u[i+32>>2]=u[j>>2];u[i+36>>2]=u[j+4>>2];u[i+40>>2]=u[j+8>>2];u[i+44>>2]=u[j+12>>2];$o(i+56|0,i+32|0);b=q[i+92>>2];a=e- -64|0;q[a>>2]=q[i+88>>2];q[a+4>>2]=b;a=q[i+84>>2];q[e+56>>2]=q[i+80>>2];q[e+60>>2]=a;a=q[i+76>>2];q[e+48>>2]=q[i+72>>2];q[e+52>>2]=a;a=i- -64|0;b=q[a+4>>2];q[e+40>>2]=q[a>>2];q[e+44>>2]=b;a=q[i+60>>2];q[e+32>>2]=q[i+56>>2];q[e+36>>2]=a;k=0;if(!f){break a}q[e+72>>2]=j;break a}My(a,b,c,i+28|0);a=q[i+28>>2];q[i+104>>2]=s[a+24>>1];if(t[i+104>>2]<=d>>>0){break b}a=q[a>>2]+(d<<4)|0;u[i>>2]=u[a>>2];u[i+4>>2]=u[a+4>>2];u[i+8>>2]=u[a+8>>2];u[i+12>>2]=u[a+12>>2];$o(i+56|0,i);b=q[i+92>>2];a=e- -64|0;q[a>>2]=q[i+88>>2];q[a+4>>2]=b;a=q[i+84>>2];q[e+56>>2]=q[i+80>>2];q[e+60>>2]=a;a=q[i+76>>2];q[e+48>>2]=q[i+72>>2];q[e+52>>2]=a;a=i- -64|0;b=q[a+4>>2];q[e+40>>2]=q[a>>2];q[e+44>>2]=b;a=q[i+60>>2];q[e+32>>2]=q[i+56>>2];q[e+36>>2]=a;k=0;break a}if(j){a=(q[i+112>>2]<<2)+j|0;l=u[a>>2];b=i+56|0;q[b>>2]=0;v[b+8>>3]=l;c=q[i+92>>2];b=e- -64|0;q[b>>2]=q[i+88>>2];q[b+4>>2]=c;b=q[i+84>>2];q[e+56>>2]=q[i+80>>2];q[e+60>>2]=b;b=q[i+76>>2];q[e+48>>2]=q[i+72>>2];q[e+52>>2]=b;b=i- -64|0;c=q[b+4>>2];q[e+40>>2]=q[b>>2];q[e+44>>2]=c;b=q[i+60>>2];q[e+32>>2]=q[i+56>>2];q[e+36>>2]=b;k=0;if(!f){break a}q[e+72>>2]=a;break a}My(a,g,h,i+28|0);a=q[i+28>>2];q[i+104>>2]=s[a+24>>1];if(t[i+104>>2]<=d>>>0){break b}l=u[(q[a>>2]+(d<<4)|0)+(q[i+112>>2]<<2)>>2];a=i+56|0;q[a>>2]=0;v[a+8>>3]=l;b=q[i+92>>2];a=e- -64|0;q[a>>2]=q[i+88>>2];q[a+4>>2]=b;a=q[i+84>>2];q[e+56>>2]=q[i+80>>2];q[e+60>>2]=a;a=q[i+76>>2];q[e+48>>2]=q[i+72>>2];q[e+52>>2]=a;a=i- -64|0;b=q[a+4>>2];q[e+40>>2]=q[a>>2];q[e+44>>2]=b;a=q[i+60>>2];q[e+32>>2]=q[i+56>>2];q[e+36>>2]=a;k=0;break a}k=-11}fi=i+128|0;return k} +function tw(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=ti-16|0;ti=d;a:while(1){i=b-16|0;b:while(1){g=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-g|0;e=a>>4;switch(e|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}a=b-16|0;c=q[a>>2];b=q[a+4>>2];e=q[g+4>>2];if((b|0)==(e|0)&t[g>>2]<=c>>>0|b>>>0>e>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}a=g+16|0;b=b-16|0;c=b;f=q[c>>2];c=q[c+4>>2];e=q[g+20>>2];j=q[g+4>>2];i=q[g+16>>2];if((e|0)==(j|0)&i>>>0>=t[g>>2]|e>>>0>j>>>0){if((c|0)==(e|0)&f>>>0>=i>>>0|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;c=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=c;b=q[g+20>>2];c=q[g+4>>2];if((b|0)==(c|0)&t[g+16>>2]>=t[g>>2]|b>>>0>c>>>0){break d}b=g+8|0;c=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=c;b=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=b;b=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=b;b=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}if((c|0)==(e|0)&f>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[b+12>>2];q[g+8>>2]=q[b+8>>2];q[g+12>>2]=a;a=q[b+4>>2];q[g>>2]=q[b>>2];q[g+4>>2]=a;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+8|0;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;c=q[b+4>>2];e=q[g+20>>2];if((c|0)==(e|0)&t[b>>2]>=t[g+16>>2]|c>>>0>e>>>0){break d}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=a;a=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=a;break d}c=g+16|0;a=g+32|0;e=g+48|0;Jo(g,c,a,e);b=b-16|0;f=b;i=q[f>>2];f=q[f+4>>2];h=q[g+52>>2];if((f|0)==(h|0)&t[g+48>>2]<=i>>>0|f>>>0>h>>>0){break d}f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;f=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=f;f=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=f;f=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=f;f=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=f;b=q[e+4>>2];f=q[a+4>>2];if((b|0)==(f|0)&t[e>>2]>=t[a>>2]|b>>>0>f>>>0){break d}b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[e+12>>2];q[a+8>>2]=q[e+8>>2];q[a+12>>2]=b;b=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=b;b=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=b;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;b=q[a+4>>2];e=q[c+4>>2];if((b|0)==(e|0)&t[a>>2]>=t[c>>2]|b>>>0>e>>>0){break d}b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=b;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;a=q[g+20>>2];b=q[g+4>>2];if((a|0)==(b|0)&t[g+16>>2]>=t[g>>2]|a>>>0>b>>>0){break d}a=g+8|0;b=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=b;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[c+4>>2];q[g>>2]=q[c>>2];q[g+4>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;break d}if((a|0)<=495){a=g+16|0;e=g+32|0;i=q[g+32>>2];c=q[g+36>>2];f=q[g+20>>2];h=q[g+4>>2];j=q[g+16>>2];m=q[g>>2];l:{if((f|0)==(h|0)&j>>>0>=m>>>0|f>>>0>h>>>0){if((c|0)==(f|0)&i>>>0>=j>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;c=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=c;c=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=c;c=q[a+4>>2];if((h|0)==(c|0)&m>>>0<=t[a>>2]|c>>>0>h>>>0){break l}c=g+8|0;f=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=f;c=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=c;c=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=c;c=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=c;c=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=c;c=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=c;break l}if((c|0)==(f|0)&i>>>0>>0|c>>>0>>0){a=g+8|0;c=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=c;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=e+8|0;c=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=c;a=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=a;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;break l}f=g+8|0;h=q[f+4>>2];q[d+8>>2]=q[f>>2];q[d+12>>2]=h;f=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=f;f=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=f;f=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=f;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;f=q[g+20>>2];if((f|0)==(c|0)&t[g+16>>2]<=i>>>0|c>>>0>f>>>0){break l}c=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=c;c=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=c;c=e+8|0;f=q[c+4>>2];q[a+8>>2]=q[c>>2];q[a+12>>2]=f;c=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=c;a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a}a=g+48|0;if((b|0)==(a|0)){break d}while(1){c=a;i=q[a+4>>2];f=i;j=q[e+4>>2];h=q[a>>2];if((f|0)==(j|0)&h>>>0>2]|f>>>0>>0){j=q[c+8>>2];k=q[c+12>>2];f=c;while(1){m:{a=e;l=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=l;l=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=l;if((a|0)==(g|0)){a=g;break m}f=a;e=a-16|0;m=q[e>>2];l=q[e+4>>2];if((l|0)==(i|0)&h>>>0>>0|i>>>0>>0){continue}}break}q[a+8>>2]=j;q[a+12>>2]=k;q[a>>2]=h;q[a+4>>2]=i}e=c;a=e+16|0;if((b|0)!=(a|0)){continue}break}break d}f=((e|0)/2<<4)+g|0;n:{if((a|0)>=15985){e=(e|0)/4<<4;a=e+g|0;e=e+f|0;j=Jo(g,a,f,e);h=q[i+4>>2];k=q[e+4>>2];if((h|0)==(k|0)&t[i>>2]>=t[e>>2]|h>>>0>k>>>0){break n}h=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=h;h=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=h;h=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=h;h=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=h;h=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=h;h=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=h;h=q[e+4>>2];k=q[f+4>>2];if((h|0)==(k|0)&t[e>>2]>=t[f>>2]|h>>>0>k>>>0){j=j+1|0;break n}h=f+8|0;k=q[h+4>>2];q[d+8>>2]=q[h>>2];q[d+12>>2]=k;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=h;h=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=h;h=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=h;h=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=h;e=q[f+4>>2];h=q[a+4>>2];if((e|0)==(h|0)&t[f>>2]>=t[a>>2]|e>>>0>h>>>0){j=j+2|0;break n}e=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=e;e=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=e;e=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=e;e=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=e;e=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=e;e=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=e;e=q[a+4>>2];h=q[g+4>>2];if((e|0)==(h|0)&t[a>>2]>=t[g>>2]|e>>>0>h>>>0){j=j+3|0;break n}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=q[a+12>>2];q[g+8>>2]=q[a+8>>2];q[g+12>>2]=e;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+4|0;break n}a=q[f+4>>2];j=q[g+4>>2];e=q[f>>2];o:{if((a|0)==(j|0)&e>>>0>=t[g>>2]|a>>>0>j>>>0){j=0;h=q[i+4>>2];if((a|0)==(h|0)&e>>>0<=t[i>>2]|a>>>0>>0){break n}a=f+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;a=q[f+4>>2];e=q[g+4>>2];if((a|0)==(e|0)&t[f>>2]>=t[g>>2]|a>>>0>e>>>0){break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=a;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;break o}h=q[i+4>>2];if((h|0)==(a|0)&t[i>>2]>>0|a>>>0>h>>>0){a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=a;a=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;j=1;break n}a=g+8|0;e=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=e;a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;a=f+8|0;e=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=e;a=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=1;a=q[i+4>>2];e=q[f+4>>2];if((a|0)==(e|0)&t[i>>2]>=t[f>>2]|a>>>0>e>>>0){break n}a=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=a;a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=q[i+12>>2];q[f+8>>2]=q[i+8>>2];q[f+12>>2]=a;a=q[i+4>>2];q[f>>2]=q[i>>2];q[f+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a}j=2}a=i;h=q[g+4>>2];e=q[f+4>>2];k=q[g>>2];n=q[f>>2];if(!((h|0)==(e|0)&k>>>0>>0|h>>>0>>0)){while(1){a=a-16|0;if((g|0)==(a|0)){e=g+16|0;a=q[i+4>>2];if((a|0)==(h|0)&t[i>>2]>k>>>0|a>>>0>h>>>0){break e}if((e|0)==(i|0)){break d}while(1){a=q[e+4>>2];if((h|0)==(a|0)&k>>>0>2]|a>>>0>h>>>0){a=e+8|0;f=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=f;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=q[i+12>>2];q[e+8>>2]=q[i+8>>2];q[e+12>>2]=a;a=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=a;a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;a=q[d+4>>2];q[i>>2]=q[d>>2];q[i+4>>2]=a;e=e+16|0;break e}e=e+16|0;if((i|0)!=(e|0)){continue}break}break d}l=q[a+4>>2];if((e|0)==(l|0)&n>>>0<=t[a>>2]|e>>>0>>0){continue}break}e=g+8|0;h=q[e+4>>2];q[d+8>>2]=q[e>>2];q[d+12>>2]=h;e=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=e;e=a+8|0;h=q[e+4>>2];q[g+8>>2]=q[e>>2];q[g+12>>2]=h;e=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=e;e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;j=j+1|0}e=g+16|0;if(e>>>0>=a>>>0){break f}while(1){l=q[f>>2];k=q[f+4>>2];while(1){h=e;e=e+16|0;m=q[h+4>>2];if((k|0)==(m|0)&l>>>0>t[h>>2]|k>>>0>m>>>0){continue}break}while(1){a=a-16|0;n=q[a>>2];m=q[a+4>>2];if((k|0)==(m|0)&l>>>0<=n>>>0|k>>>0>>0){continue}break}if(a>>>0>>0){e=h;break f}else{k=q[h+12>>2];q[d+8>>2]=q[h+8>>2];q[d+12>>2]=k;k=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=k;k=a+8|0;l=q[k+4>>2];q[h+8>>2]=q[k>>2];q[h+12>>2]=l;k=q[a+4>>2];q[h>>2]=q[a>>2];q[h+4>>2]=k;k=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=k;k=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=k;f=(f|0)==(h|0)?a:f;j=j+1|0;continue}}}Jo(g,g+16|0,g+32|0,b-16|0);break d}p:{if((e|0)==(f|0)){break p}a=q[f+4>>2];h=q[e+4>>2];if((a|0)==(h|0)&t[f>>2]>=t[e>>2]|a>>>0>h>>>0){break p}a=e+8|0;h=q[a+4>>2];q[d+8>>2]=q[a>>2];q[d+12>>2]=h;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=f+8|0;h=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=h;a=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=a;a=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=a;a=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=a;j=j+1|0}if(!j){f=$v(g,e,c);a=e+16|0;if($v(a,b,c)){b=e;a=g;if(!f){continue a}break d}if(f){continue b}}if((e-g|0)<(b-e|0)){tw(g,e,c);a=e+16|0;continue b}tw(e+16|0,b,c);b=e;a=g;continue a}a=i;if((e|0)==(a|0)){break d}while(1){j=q[g>>2];h=q[g+4>>2];while(1){f=e;e=e+16|0;k=q[f+4>>2];if((k|0)==(h|0)&t[f>>2]<=j>>>0|h>>>0>k>>>0){continue}break}while(1){a=a-16|0;l=q[a>>2];k=q[a+4>>2];if((k|0)==(h|0)&j>>>0>>0|h>>>0>>0){continue}break}if(a>>>0<=f>>>0){g=f;continue c}else{h=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=h;h=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=h;h=a+8|0;j=q[h+4>>2];q[f+8>>2]=q[h>>2];q[f+12>>2]=j;h=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=h;f=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=f;f=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=f;continue}}}break}break}break}ti=d+16|0}function Q5(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=x(0),k=0,l=x(0),m=0,n=0,p=x(0),v=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=0,N=0,O=0,P=0,Q=x(0),R=0,S=x(0),T=0,U=x(0),V=0,W=0,X=x(0),Y=x(0),Z=0,_=0,$=0,aa=0,ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=x(0),Ba=0,Ca=0,Da=x(0),Ea=0,Fa=0,Ga=0,Ha=0,Ia=x(0),Ja=0,Ka=0,La=0,Ma=x(0);h=ti-1168|0;ti=h;k=q[a+4>>2];a:{b:{c:{switch(q[a+8>>2]-1|0){case 1:a=q[k+1952>>2];if((a|0)==q[k+1960>>2]){break b}g=k+1936|0;xi[q[77441]](q[g>>2],0,0,0);xi[q[77441]](q[g>>2],w(a,112),q[k+1940>>2],0);a=q[k+1960>>2];g=q[k+1952>>2];q[k+1960>>2]=g;g=g-a|0;a=(g>>>0)/6|0;q[81566]=a+q[81566];q[h+88>>2]=a;q[h+92>>2]=0;q[h+72>>2]=a;q[h+76>>2]=0;a=w(g,112);q[81588]=a+q[81588];q[h+80>>2]=a;q[h+84>>2]=0;q[h+64>>2]=a;q[h+68>>2]=0;break b;case 0:break c;default:break b}}xa=q[a+20>>2];ya=q[a+12>>2];$=q[a+16>>2];q[h+120>>2]=0;a=q[(w(q[$>>2],48)+ya|0)+16>>2];i=q[a+176>>2];g=q[i>>2];d=q[i+4>>2];f=d;d:{if(!(d|g)){ca=x(1);da=x(1);e=x(0);break d}e=x(xi[q[77507]](g,f)>>>0);da=x(x(1)/e);Q=x(xi[q[77508]](q[i>>2],q[i+4>>2])>>>0);ca=x(x(1)/Q);Q=x(x(t[i+136>>2])/Q);e=x(x(t[i+132>>2])/e)}W=q[k+1948>>2];ta=q[k+1904>>2];e:{if(W>>>0>=(q[k+1908>>2]-ta|0)/304>>>0){q[h+48>>2]=W;Ai(3,107445,108015,h+48|0);break e}f:{g:{g=q[k+1920>>2];if(q[k+1924>>2]-g>>2>>>0>W>>>0){Ga=q[k+1940>>2];g=q[g+(W<<2)>>2];q[k+1948>>2]=W+1;m=w(W,304)+ta|0;q[m+232>>2]=q[a+184>>2];q[m+236>>2]=q[a+188>>2];d=r[m+288|0]|1;o[m+288|0]=d;q[m+156>>2]=q[a+180>>2];f=q[i+4>>2];q[m+160>>2]=q[i>>2];q[m+164>>2]=f;q[m+280>>2]=q[k+1952>>2];f=q[a+4>>2];q[m+244>>2]=q[a>>2];q[m+248>>2]=f;f=q[a+12>>2];q[m+252>>2]=q[a+8>>2];q[m+256>>2]=f;f=q[a+20>>2];q[m+260>>2]=q[a+16>>2];q[m+264>>2]=f;f=q[a+28>>2];q[m+268>>2]=q[a+24>>2];q[m+272>>2]=f;q[m+276>>2]=q[a+32>>2];o[m+288|0]=r[a+276|0]>>>3&2|d&253;u[h+108>>2]=Q;u[h+104>>2]=e;u[h+100>>2]=ca;u[h+96>>2]=da;hz(g);lG(g,a+112|0,r[a+218|0]);Vy(g,q[81606],q[81607],h+96|0,1,0);q[m>>2]=g;if(($|0)==(xa|0)){break g}za=k+1904|0;while(1){b=q[(w(q[$>>2],48)+ya|0)+16>>2];d=q[b+204>>2];g=q[k+1964>>2];if(d>>>0>2]-g>>>0){f=q[k+1956>>2];M=q[k+1952>>2];l=u[b+228>>2];a=r[b+219|0];Q=u[b+220>>2];e=u[b+232>>2];j=u[i+56>>2];S=u[i+52>>2];q[h+128>>2]=i;X=x(S+j);Aa=x(e*X);u[h+132>>2]=Aa;O=q[h+132>>2];q[h+40>>2]=q[h+128>>2];q[h+44>>2]=O;ua=d+g|0;aa=Gw(ua,a?Q:x(3.4028234663852886e+38),h+144|0,h+140|0,h+40|0,!a);e=u[b+220>>2];Q=x(0);h:{i:{j:{a=r[b+276|0];switch((a&3)-1|0){case 1:break i;case 0:break j;default:break h}}Q=x(e*x(.5));break h}Q=e}S=u[i+52>>2];Y=u[i+56>>2];e=x(S+Y);j=u[b+228>>2];p=u[b+224>>2];k:{l:{switch((a>>>2&3)-1|0){case 0:S=x(x(x(p*x(.5))+x(x(x(x(e*j)*x(aa>>>0))-x(e*x(j+x(-1))))*x(.5)))-S);break k;case 1:S=x(Y+x(x(e*j)*x(aa-1>>>0)));break k;default:break l}}S=x(p-S)}Ha=k;T=r[i+145|0];m:{if(!(T&1)){Ai(4,107445,108146,0);a=0;break m}va=f-M|0;c=q[b+212>>2];N=q[b+208>>2];R=q[b+200>>2];e=u[b- -64>>2];j=u[b+48>>2];p=u[i+60>>2];Y=u[i+72>>2];ea=u[i+68>>2];Ba=T&2;n:{o:{if(!(T&6)){Z=1;g=0;break o}Z=((T>>>2&1)+(Ba>>>1|0)|0)+1|0;a=0;g=0;O=0;if((aa|0)<1){break n}while(1){d=(h+144|0)+(O<<3)|0;q[h+124>>2]=s[d+4>>1]+ua;if(s[d+6>>1]){P=d|6;_=0;while(1){f=so(h+124|0);p:{q:{r:{s:{n=q[i+16>>2];t:{if(!n){break t}V=q[i+12>>2];d=q[V+((f>>>0)%(n>>>0)<<2)>>2];if((d|0)!=-1){wa=q[i+20>>2];while(1){d=wa+w(d,80)|0;if((f|0)==q[d>>2]){break s}d=q[d+72>>2];if((d|0)!=-1){continue}break}}d=q[V+(126%(n>>>0)<<2)>>2];if((d|0)==-1){break t}n=q[i+20>>2];while(1){d=n+w(d,80)|0;if(q[d>>2]==126){break r}d=q[d+72>>2];if((d|0)!=-1){continue}break}}q[h+32>>2]=f;Ai(3,107445,108311,h+32|0);break p}d=d+8|0;break q}d=d+8|0}f=a+6|0;if(w(f,Z)>>>0>va>>>0){break o}if(!q[d+4>>2]){break p}n=1;if(!r[d+32|0]){EG(i,za,d,q[i+140>>2]-q[d+16>>2]<<16>>16);n=r[d+32|0]}a=n?f:a;g=((n|0)!=0)+g|0}_=_+1|0;if(_>>>0>1]){continue}break}}O=O+1|0;if((aa|0)!=(O|0)){continue}break}}if((aa|0)<1){a=0;break n}n=w(M,112)+Ga|0;Ia=x(X*l);X=x(x(c>>>24>>>0)/x(255));fa=x(x((c&255)>>>0)/x(255));ga=x(x(N>>>24>>>0)/x(255));ha=x(x((N&255)>>>0)/x(255));ia=x(x(R>>>24>>>0)/x(255));ja=x(x((R&255)>>>0)/x(255));ka=x(x((c>>>16&255)>>>0)/x(255));la=x(x((c>>>8&255)>>>0)/x(255));ma=x(x((N>>>16&255)>>>0)/x(255));na=x(x((N>>>8&255)>>>0)/x(255));oa=x(x((R>>>16&255)>>>0)/x(255));pa=x(x((R>>>8&255)>>>0)/x(255));qa=x(x(.25)/x(p*x(F(x(x(j*j)+x(e*e))))));wa=T&4;a=w(g,6);Ja=w(a,Z-2|0);Ka=w(a,Z-1|0);p=(Z|0)<2?x(1):x(0);a=0;R=0;while(1){g=(h+144|0)+(R<<3)|0;j=u[g>>2];e=x(0);u:{v:{switch((r[b+276|0]&3)-1|0){case 0:e=x(j*x(.5));break u;case 1:break v;default:break u}}e=j}q[h+124>>2]=s[g+4>>1]+ua;w:{Ca=s[g+6>>1];if(Ca){e=x(x(Q-e)+x(.5));x:{if(x(y(e))>2];D:{if(!f){break D}c=q[i+12>>2];d=q[c+((g>>>0)%(f>>>0)<<2)>>2];if((d|0)!=-1){N=q[i+20>>2];while(1){d=N+w(d,80)|0;if((g|0)==q[d>>2]){break C}d=q[d+72>>2];if((d|0)!=-1){continue}break}}d=q[c+(126%(f>>>0)<<2)>>2];if((d|0)==-1){break D}f=q[i+20>>2];while(1){d=f+w(d,80)|0;if(q[d>>2]==126){break B}d=q[d+72>>2];if((d|0)!=-1){continue}break}}q[h>>2]=g;Ai(3,107445,108311,h);break z}f=d+8|0;break A}f=d+8|0}g=a+6|0;if(w(Z,g)>>>0>va>>>0){break w}P=q[f+4>>2];E:{if(!P){g=a;break E}M=q[f+16>>2];d=q[i+140>>2]-M|0;V=q[f+20>>2];F:{if(r[f+32|0]){break F}EG(i,za,f,d<<16>>16);if(r[f+32|0]){break F}g=a;break E}q[f+56>>2]=q[k+2e3>>2];l=u[b+96>>2];v=u[b+80>>2];z=u[b+48>>2];A=u[b+64>>2];B=u[b+100>>2];C=u[b+84>>2];D=u[b+52>>2];E=u[b+68>>2];H=u[b+104>>2];I=u[b+88>>2];K=u[b+56>>2];L=u[b+72>>2];N=a+Ka|0;c=n+w(N,112)|0;ba=x(O<<16>>16);e=x(u[f+12>>2]+ba);ra=V<<16>>16;j=x(T-ra|0);u[c+12>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*j))+x(u[b+92>>2]*x(0)));u[c+8>>2]=H+x(x(x(e*K)+x(L*j))+x(I*x(0)));u[c+4>>2]=B+x(x(x(e*D)+x(E*j))+x(C*x(0)));u[c>>2]=l+x(x(x(z*e)+x(A*j))+x(v*x(0)));v=u[b+96>>2];z=u[b+80>>2];A=u[b+48>>2];B=u[b+64>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+52>>2];H=u[b+68>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+56>>2];U=u[b+72>>2];sa=M<<16>>16;l=x(sa+T|0);u[c+124>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*l))+x(u[b+92>>2]*x(0)));u[c+120>>2]=I+x(x(x(e*L)+x(U*l))+x(K*x(0)));u[c+116>>2]=C+x(x(x(e*E)+x(H*l))+x(D*x(0)));M=c+112|0;u[M>>2]=v+x(x(x(e*A)+x(B*l))+x(z*x(0)));v=u[b+96>>2];z=u[b+80>>2];A=u[b+64>>2];B=u[b+48>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+68>>2];H=u[b+52>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+72>>2];U=u[b+56>>2];Da=x(P<<16>>16);e=x(e+Da);u[c+236>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*j))+x(u[b+92>>2]*x(0)));u[c+232>>2]=I+x(x(x(e*U)+x(L*j))+x(K*x(0)));u[c+228>>2]=C+x(x(x(e*H)+x(E*j))+x(D*x(0)));P=c+224|0;u[P>>2]=v+x(x(x(e*B)+x(A*j))+x(z*x(0)));v=u[b+96>>2];z=u[b+80>>2];A=u[b+64>>2];B=u[b+48>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+68>>2];H=u[b+52>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+72>>2];U=u[b+56>>2];u[c+572>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(u[b+76>>2]*l))+x(u[b+92>>2]*x(0)));u[c+568>>2]=I+x(x(x(e*U)+x(L*l))+x(K*x(0)));u[c+564>>2]=C+x(x(x(e*H)+x(E*l))+x(D*x(0)));V=c+560|0;u[V>>2]=v+x(x(x(e*B)+x(A*l))+x(z*x(0)));Ea=r[i+144|0];Fa=Ea+q[f+24>>2]|0;e=x(da*x(Fa|0));u[c+16>>2]=e;La=q[f+28>>2];u[c+128>>2]=e;d=((d<<16>>16)+Ea|0)+La|0;e=x(ca*x(d|0));u[c+132>>2]=e;v=x(ca*x(d+(ra+sa|0)|0));u[c+20>>2]=v;d=q[f+4>>2];u[c+244>>2]=v;u[c+580>>2]=e;u[c+68>>2]=X;u[c- -64>>2]=ka;u[c+60>>2]=la;u[c+56>>2]=fa;u[c+52>>2]=ga;u[c+48>>2]=ma;u[c+44>>2]=na;q[c+72>>2]=1061158912;u[c+84>>2]=Y;u[c+80>>2]=qa;u[c+76>>2]=ea;u[c+36>>2]=ia;u[c+32>>2]=oa;u[c+28>>2]=pa;u[c+24>>2]=ja;u[c+40>>2]=ha;e=x(da*x(d+Fa>>>0));u[c+240>>2]=e;u[c+576>>2]=e;u[c+180>>2]=X;u[c+176>>2]=ka;u[c+172>>2]=la;u[c+168>>2]=fa;u[c+164>>2]=ga;u[c+160>>2]=ma;u[c+156>>2]=na;u[c+152>>2]=ha;u[c+196>>2]=Y;u[c+192>>2]=qa;u[c+188>>2]=ea;q[c+184>>2]=1061158912;u[c+148>>2]=ia;u[c+144>>2]=oa;u[c+140>>2]=pa;u[c+136>>2]=ja;u[c+264>>2]=ha;u[c+268>>2]=na;u[c+272>>2]=ma;u[c+276>>2]=ga;u[c+280>>2]=fa;u[c+284>>2]=la;u[c+288>>2]=ka;u[c+248>>2]=ja;u[c+252>>2]=pa;u[c+256>>2]=oa;u[c+260>>2]=ia;u[c+300>>2]=ea;u[c+304>>2]=qa;u[c+308>>2]=Y;q[c+296>>2]=1061158912;u[c+292>>2]=X;u[c+628>>2]=X;u[c+624>>2]=ka;u[c+620>>2]=la;u[c+616>>2]=fa;u[c+612>>2]=ga;u[c+608>>2]=ma;u[c+604>>2]=na;u[c+600>>2]=ha;u[c+644>>2]=Y;u[c+640>>2]=qa;u[c+636>>2]=ea;q[c+632>>2]=1061158912;u[c+596>>2]=ia;u[c+592>>2]=oa;u[c+588>>2]=pa;u[c+584>>2]=ja;ra=Gi(c+336|0,P,112);sa=Gi(c+448|0,M,112);if(Ba){d=Gi(n+w(a+Ja|0,112)|0,c,112);Gi(d+112|0,M,112);Gi(d+224|0,P,112);Gi(d+336|0,ra,112);Gi(d+448|0,sa,112);Gi(d+560|0,V,112);q[d+96>>2]=0;q[d+88>>2]=0;q[d+92>>2]=1065353216;q[d+208>>2]=0;q[d+200>>2]=0;q[d+204>>2]=1065353216;q[d+312>>2]=0;q[d+316>>2]=1065353216;q[d+320>>2]=0;q[d+424>>2]=0;q[d+428>>2]=1065353216;q[d+432>>2]=0;q[d+536>>2]=0;q[d+540>>2]=1065353216;q[d+544>>2]=0;q[d+648>>2]=0;q[d+652>>2]=1065353216;q[d+656>>2]=0}if(wa){e=u[i+44>>2];v=u[i+48>>2];a=Gi(n+w(a,112)|0,c,112);d=Gi(a+112|0,M,112);M=Gi(a+224|0,P,112);P=Gi(a+560|0,V,112);z=u[b+96>>2];A=u[b+80>>2];B=u[b+48>>2];C=u[b+64>>2];D=u[b+100>>2];E=u[b+84>>2];H=u[b+52>>2];I=u[b+68>>2];K=u[b+104>>2];L=u[b+88>>2];U=u[b+56>>2];Ma=u[b+72>>2];e=x(e+x(u[f+12>>2]+ba));j=x(v+j);u[a+12>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(j*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+8>>2]=K+x(x(x(e*U)+x(j*Ma))+x(L*x(0)));u[a+4>>2]=D+x(x(x(e*H)+x(j*I))+x(E*x(0)));u[a>>2]=z+x(x(x(B*e)+x(j*C))+x(A*x(0)));z=u[b+96>>2];A=u[b+80>>2];B=u[b+48>>2];C=u[b+64>>2];D=u[b+100>>2];E=u[b+84>>2];H=u[b+52>>2];I=u[b+68>>2];K=u[b+104>>2];L=u[b+88>>2];ba=u[b+56>>2];U=u[b+72>>2];l=x(v+l);u[a+124>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(l*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+120>>2]=K+x(x(x(e*ba)+x(l*U))+x(L*x(0)));u[a+116>>2]=D+x(x(x(e*H)+x(l*I))+x(E*x(0)));u[d>>2]=z+x(x(x(e*B)+x(l*C))+x(A*x(0)));v=u[b+96>>2];z=u[b+80>>2];A=u[b+48>>2];B=u[b+64>>2];C=u[b+100>>2];D=u[b+84>>2];E=u[b+52>>2];H=u[b+68>>2];I=u[b+104>>2];K=u[b+88>>2];L=u[b+56>>2];ba=u[b+72>>2];e=x(e+Da);u[a+236>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(j*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+232>>2]=I+x(x(x(e*L)+x(j*ba))+x(K*x(0)));u[a+228>>2]=C+x(x(x(e*E)+x(j*H))+x(D*x(0)));u[M>>2]=v+x(x(x(e*A)+x(j*B))+x(z*x(0)));j=u[b+96>>2];v=u[b+80>>2];z=u[b+48>>2];A=u[b+64>>2];B=u[b+100>>2];C=u[b+84>>2];D=u[b+52>>2];E=u[b+68>>2];H=u[b+104>>2];I=u[b+88>>2];K=u[b+56>>2];L=u[b+72>>2];u[a+572>>2]=u[b+108>>2]+x(x(x(e*u[b+60>>2])+x(l*u[b+76>>2]))+x(u[b+92>>2]*x(0)));u[a+568>>2]=H+x(x(x(e*K)+x(l*L))+x(I*x(0)));u[a+564>>2]=B+x(x(x(e*D)+x(l*E))+x(C*x(0)));u[P>>2]=j+x(x(x(e*z)+x(l*A))+x(v*x(0)));Gi(a+336|0,M,112);Gi(a+448|0,d,112);q[a+96>>2]=1065353216;q[a+88>>2]=0;q[a+92>>2]=0;q[a+208>>2]=1065353216;q[a+200>>2]=0;q[a+204>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=1065353216;q[a+424>>2]=0;q[a+428>>2]=0;q[a+432>>2]=1065353216;q[a+536>>2]=0;q[a+540>>2]=0;q[a+544>>2]=1065353216;q[a+648>>2]=0;q[a+652>>2]=0;q[a+656>>2]=1065353216}q[c+88>>2]=1065353216;u[c+96>>2]=p;u[c+92>>2]=p;a=n+w(N+1|0,112)|0;u[a+96>>2]=p;u[a+92>>2]=p;q[a+88>>2]=1065353216;a=n+w(N+2|0,112)|0;u[a+96>>2]=p;u[a+92>>2]=p;q[a+88>>2]=1065353216;a=n+w(N+3|0,112)|0;u[a+96>>2]=p;u[a+92>>2]=p;q[a+88>>2]=1065353216;a=n+w(N+4|0,112)|0;u[a+96>>2]=p;u[a+92>>2]=p;q[a+88>>2]=1065353216;a=n+w(N+5|0,112)|0;u[a+96>>2]=p;u[a+92>>2]=p;q[a+88>>2]=1065353216}e=x(Aa+u[f+8>>2]);G:{if(x(y(e))>2]=(va>>>0)/6;Ai(3,107445,108198,h+16|0)}a=w(a,Z)}a=a+q[k+1952>>2]|0;q[Ha+1952>>2]=a;$=$+4|0;if((xa|0)!=($|0)){continue}break f}break}break a}break a}a=q[k+1952>>2]}q[(w(W,304)+ta|0)+284>>2]=a-q[m+280>>2];Yn(k,m)}}ti=h+1168|0;return}J(108068,108079,479,108135);G()}function dsa(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=-2;a:{b:{c:{if(!a){break c}c=q[a+28>>2];if(!c){break c}d:{if(!(!q[a+12>>2]|(q[a+4>>2]?!q[a>>2]:0))){d=q[c+4>>2];break d}q[a+24>>2]=q[73504];return-2}if(!q[a+16>>2]){break b}q[c>>2]=a;q[c+40>>2]=4;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((d|0)==42){if(q[c+24>>2]==2){q[a+48>>2]=el(0,0,0);b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=31;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=139;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=8;b=q[c+28>>2];if(!b){b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=0;d=2;b=q[c+132>>2];if((b|0)!=9){d=(b|0)<2?4:(q[c+136>>2]>1)<<2}b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=3;q[c+4>>2]=113;break e}e=q[b+36>>2];f=q[b+28>>2];g=q[b+16>>2];h=q[b+44>>2];b=q[b>>2];i=q[c+20>>2];q[c+20>>2]=i+1;d=2;o[i+q[c+8>>2]|0]=((h|0)!=0)<<1|(b|0)!=0|((g|0)!=0)<<2|((f|0)!=0)<<3|((e|0)!=0)<<4;b=q[q[c+28>>2]+4>>2];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=q[q[c+28>>2]+4>>2];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b>>>8;b=s[q[c+28>>2]+6>>1];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=r[q[c+28>>2]+7|0];e=q[c+20>>2];q[c+20>>2]=e+1;o[e+q[c+8>>2]|0]=b;b=q[c+132>>2];if((b|0)!=9){d=(b|0)<2?4:(q[c+136>>2]>1)<<2}b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[q[c+28>>2]+12>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[c+28>>2];if(q[b+16>>2]){b=q[b+20>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[q[c+28>>2]+20>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=q[c+28>>2]}if(q[b+44>>2]){q[a+48>>2]=el(q[a+48>>2],q[c+8>>2],q[c+20>>2])}q[c+4>>2]=69;q[c+32>>2]=0;break o}e=(q[c+48>>2]<<12)-30720|0;d=0;p:{if(q[c+136>>2]>1){break p}b=q[c+132>>2];if((b|0)<2){break p}d=64;if((b|0)<6){break p}d=(b|0)==6?128:192}q[c+4>>2]=113;b=q[c+20>>2];q[c+20>>2]=b+1;f=b+q[c+8>>2]|0;b=d|e;b=q[c+108>>2]?b|32:b;o[f|0]=b>>>8;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=(b|(b>>>0)%31)^31;if(q[c+108>>2]){b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>24;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>16;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b}q[a+48>>2]=fq(0,0,0);d=q[c+4>>2]}if((d|0)!=69){break n}}q:{f=q[c+28>>2];if(q[f+16>>2]){d=q[c+20>>2];e=q[c+32>>2];if(e>>>0>=s[f+20>>1]){break q}b=d;while(1){if(q[c+12>>2]==(d|0)){if(!(!q[f+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];ql(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;r:{if(!d){break r}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break r}q[b+16>>2]=q[b+8>>2]}f=q[c+28>>2];d=q[c+20>>2];if((d|0)==q[c+12>>2]){break q}e=q[c+32>>2];b=d}e=r[q[f+16>>2]+e|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=e;e=q[c+32>>2]+1|0;q[c+32>>2]=e;f=q[c+28>>2];if(s[f+20>>1]<=e>>>0){d=b;break q}else{d=q[c+20>>2];continue}}}q[c+4>>2]=73;break m}s:{if(!q[f+44>>2]){break s}b=q[c+20>>2];if(b>>>0<=d>>>0){break s}q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+d|0,b-d|0);f=q[c+28>>2]}if(q[c+32>>2]==q[f+20>>2]){q[c+4>>2]=73;q[c+32>>2]=0;break m}d=q[c+4>>2]}if((d|0)!=73){break l}f=q[c+28>>2]}if(!q[f+28>>2]){break j}d=q[c+20>>2];b=d;t:{while(1){u:{if(q[c+12>>2]==(d|0)){if(!(!q[q[c+28>>2]+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];ql(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;v:{if(!d){break v}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break v}q[b+16>>2]=q[b+8>>2]}d=q[c+20>>2];if((d|0)==q[c+12>>2]){break u}b=d}e=1;f=q[q[c+28>>2]+28>>2];g=q[c+32>>2];q[c+32>>2]=g+1;f=r[f+g|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=f;if(f){d=q[c+20>>2];continue}else{d=b;break t}}break}e=0}w:{if(!q[q[c+28>>2]+44>>2]){break w}b=q[c+20>>2];if(b>>>0<=d>>>0){break w}q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+d|0,b-d|0)}if(e){break k}d=q[c+4>>2]}if((d|0)==91){break i}break h}q[c+32>>2]=0}q[c+4>>2]=91}if(!q[q[c+28>>2]+36>>2]){break g}d=q[c+20>>2];b=d;x:{while(1){y:{if(q[c+12>>2]==(d|0)){if(!(!q[q[c+28>>2]+44>>2]|b>>>0>=d>>>0)){q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+b|0,d-b|0)}b=q[a+28>>2];ql(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;z:{if(!d){break z}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break z}q[b+16>>2]=q[b+8>>2]}d=q[c+20>>2];if((d|0)==q[c+12>>2]){break y}b=d}e=1;f=q[q[c+28>>2]+36>>2];g=q[c+32>>2];q[c+32>>2]=g+1;f=r[f+g|0];q[c+20>>2]=d+1;o[q[c+8>>2]+d|0]=f;if(f){d=q[c+20>>2];continue}else{d=b;break x}}break}e=0}A:{if(!q[q[c+28>>2]+44>>2]){break A}b=q[c+20>>2];if(b>>>0<=d>>>0){break A}q[a+48>>2]=el(q[a+48>>2],q[c+8>>2]+d|0,b-d|0)}if(e){break g}d=q[c+4>>2]}if((d|0)==103){break f}break e}q[c+4>>2]=103}if(q[q[c+28>>2]+44>>2]){B:{if(t[c+12>>2]>=q[c+20>>2]+2>>>0){break B}b=q[a+28>>2];ql(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;if(!d){break B}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break B}q[b+16>>2]=q[b+8>>2]}b=q[c+20>>2];if(t[c+12>>2]>>0){break e}d=q[a+48>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;q[a+48>>2]=el(0,0,0);q[c+4>>2]=113;break e}q[c+4>>2]=113}C:{if(q[c+20>>2]){b=q[a+28>>2];ql(b);e=q[a+16>>2];d=q[b+20>>2];d=d>>>0>e>>>0?e:d;D:{if(!d){break D}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];e=q[a+16>>2]-d|0;q[a+16>>2]=e;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break D}q[b+16>>2]=q[b+8>>2]}if(e){break C}break a}if(q[a+4>>2]){break C}}b=q[a+4>>2];E:{d=q[c+4>>2];F:{G:{if((d|0)==666){if(!b){break G}break b}if(b){break F}}if((d|0)!=666){break F}if(!q[c+116>>2]){break E}}H:{I:{J:{K:{switch(q[c+136>>2]-2|0){case 0:while(1){L:{if(q[c+116>>2]){break L}rs(c);if(q[c+116>>2]){break L}q[c+5812>>2]=0;b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}zm(b,e,q[c+108>>2]-d|0,1);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];ql(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;M:{if(!e){break M}Gi(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break M}q[d+16>>2]=q[d+8>>2]}b=q[q[c>>2]+16>>2]?3:2;break J}q[c+96>>2]=0;b=r[q[c+56>>2]+q[c+108>>2]|0];d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=0;q[c+5792>>2]=d+1;o[d+q[c+5784>>2]|0]=b;b=(b<<2)+c|0;p[b+148>>1]=s[b+148>>1]+1;q[c+116>>2]=q[c+116>>2]-1;f=q[c+108>>2]+1|0;q[c+108>>2]=f;if(q[c+5792>>2]!=(q[c+5788>>2]-1|0)){continue}b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}zm(b,e,f-d|0,0);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];ql(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;N:{if(!e){break N}Gi(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break N}q[d+16>>2]=q[d+8>>2]}if(q[q[c>>2]+16>>2]){continue}break}break I;case 1:while(1){O:{P:{Q:{d=q[c+116>>2];if(d>>>0>=259){q[c+96>>2]=0;break Q}rs(c);d=q[c+116>>2];if(d){q[c+96>>2]=0;if(d>>>0>2){break Q}f=q[c+108>>2];break P}q[c+5812>>2]=0;b=c;d=q[c+92>>2];if((d|0)>=0){e=d+q[c+56>>2]|0}else{e=0}zm(b,e,q[c+108>>2]-d|0,1);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];ql(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;R:{if(!e){break R}Gi(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break R}q[d+16>>2]=q[d+8>>2]}b=q[q[c>>2]+16>>2]?3:2;break J}f=q[c+108>>2];if(!f){f=0;break P}j=q[c+56>>2]+f|0;b=j-1|0;h=r[b|0];if((h|0)!=r[j|0]|(h|0)!=r[b+2|0]|(h|0)!=r[b+3|0]){break P}k=j+258|0;b=-1;S:{T:{U:{V:{W:{X:{while(1){g=b+j|0;if((h|0)==r[g+4|0]){if((h|0)!=r[g+5|0]){break X}if((h|0)!=r[g+6|0]){break W}if((h|0)!=r[g+7|0]){break V}e=b+8|0;i=e+j|0;if((h|0)!=r[i|0]){break S}if((h|0)!=r[g+9|0]){break U}if((h|0)!=r[g+10|0]){break T}i=g+11|0;if((b|0)>246){break S}b=e;if((h|0)==r[i|0]){continue}break S}break}i=g+4|0;break S}i=g+5|0;break S}i=g+6|0;break S}i=g+7|0;break S}i=g+9|0;break S}i=g+10|0}b=(i-k|0)+258|0;b=b>>>0>d>>>0?d:b;q[c+96>>2]=b;if(b>>>0<3){break P}d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=1;q[c+5792>>2]=d+1;b=b-3|0;o[d+q[c+5784>>2]|0]=b;b=((r[(b&255)+190768|0]<<2)+c|0)+1176|0;p[b>>1]=s[b>>1]+1;b=((r[190256]<<2)+c|0)+2440|0;p[b>>1]=s[b>>1]+1;b=q[c+96>>2];q[c+96>>2]=0;q[c+116>>2]=q[c+116>>2]-b;d=b+q[c+108>>2]|0;q[c+108>>2]=d;break O}b=r[q[c+56>>2]+f|0];d=q[c+5792>>2];p[q[c+5796>>2]+(d<<1)>>1]=0;q[c+5792>>2]=d+1;o[d+q[c+5784>>2]|0]=b;b=(b<<2)+c|0;p[b+148>>1]=s[b+148>>1]+1;q[c+116>>2]=q[c+116>>2]-1;d=q[c+108>>2]+1|0;q[c+108>>2]=d}if(q[c+5792>>2]!=(q[c+5788>>2]-1|0)){continue}b=c;e=q[c+92>>2];if((e|0)>=0){f=e+q[c+56>>2]|0}else{f=0}zm(b,f,d-e|0,0);q[c+92>>2]=q[c+108>>2];b=q[c>>2];d=q[b+28>>2];ql(d);e=q[b+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;Y:{if(!e){break Y}Gi(q[b+12>>2],q[d+16>>2],e);q[b+12>>2]=e+q[b+12>>2];q[d+16>>2]=e+q[d+16>>2];q[b+20>>2]=e+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-e;b=q[d+20>>2]-e|0;q[d+20>>2]=b;if(b){break Y}q[d+16>>2]=q[d+8>>2]}if(q[q[c>>2]+16>>2]){continue}break}break I;default:break K}}b=xi[q[(w(q[c+132>>2],12)+293808|0)+8>>2]](c,4)|0}if((b&-2)==2){q[c+4>>2]=666}if(b&-3){break H}}d=0;if(q[a+16>>2]){break c}break a}if((b|0)!=1){break E}KM(c,0,0,0);b=q[a+28>>2];ql(b);e=q[a+16>>2];d=q[b+20>>2];d=d>>>0>e>>>0?e:d;Z:{if(!d){break Z}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];e=q[a+16>>2]-d|0;q[a+16>>2]=e;d=q[b+20>>2]-d|0;q[b+20>>2]=d;if(d){break Z}q[b+16>>2]=q[b+8>>2]}if(e){break E}break a}d=1;e=q[c+24>>2];if((e|0)<1){break c}b=q[a+48>>2];_:{if((e|0)==2){d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+48>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=s[a+50>>1];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=r[a+51|0];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+8>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;b=q[a+8>>2];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>8;b=s[a+10>>1];d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b;d=r[a+11|0];b=q[c+20>>2];q[c+20>>2]=b+1;b=b+q[c+8>>2]|0;break _}d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>24;d=q[c+20>>2];q[c+20>>2]=d+1;o[d+q[c+8>>2]|0]=b>>>16;d=q[a+48>>2];b=q[c+20>>2];q[c+20>>2]=b+1;o[b+q[c+8>>2]|0]=d>>>8;b=q[c+20>>2];q[c+20>>2]=b+1;b=b+q[c+8>>2]|0}o[b|0]=d;b=q[a+28>>2];ql(b);d=q[a+16>>2];e=q[b+20>>2];d=d>>>0>>0?d:e;$:{if(!d){break $}Gi(q[a+12>>2],q[b+16>>2],d);q[a+12>>2]=d+q[a+12>>2];q[b+16>>2]=d+q[b+16>>2];q[a+20>>2]=d+q[a+20>>2];q[a+16>>2]=q[a+16>>2]-d;a=q[b+20>>2]-d|0;q[b+20>>2]=a;if(a){break $}q[b+16>>2]=q[b+8>>2]}a=q[c+24>>2];if((a|0)>=1){q[c+24>>2]=0-a}d=!q[c+20>>2]}return d}q[a+24>>2]=q[73507];return-5}q[c+40>>2]=-1;return 0}function W3(a,b,c,d,e){var f=0,g=0,h=x(0),i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),p=x(0),v=0,y=x(0),z=x(0),A=0,B=0,C=0,D=0,E=x(0),F=0,H=0,I=0,K=x(0),L=x(0),M=0,N=0,O=x(0),P=0,Q=0,R=0,S=x(0),T=x(0);g=ti+ -64|0;ti=g;a:{b:{c:{d:{if(!(r[b+186|0]&8)|(!c|!q[b+160>>2])){break d}e:{f:{g:{h:{f=q[b+76>>2];if(!f){break h}k=q[f+4>>2];if(!k){break h}l=a+60|0;A=q[a+52>>2];f=q[l>>2]-A>>6;if(f>>>0>>0){if(o[a- -64|0]&1){break a}Ii(k,64,a+52|0,l,a+56|0);A=q[a+52>>2];f=q[a+60>>2]-A>>6}if(f>>>0>>0){break b}f=k<<6;q[a+56>>2]=f+A;l=q[b+112>>2];C=q[b+116>>2]-l|0;k=(C|0)/176|0;if(C){C=0;v=0-f|0;v=((f|0)<(v|0)?v:f)>>>6|0;f=(f|0)>-1?f:-1;v=w(v,(f|0)<1?f:1);D=k>>>0>1?k:1;while(1){if((v|0)==(C|0)){break f}k=l+w(C,176)|0;h=u[k+88>>2];j=u[k+84>>2];L=u[k+72>>2];f=k- -64|0;B=q[f+4>>2];H=q[f>>2];f=(C<<6)+A|0;n=u[k+80>>2];i=u[k+48>>2];p=u[k+52>>2];y=x(p+p);K=x(i*y);z=u[k+60>>2];E=u[k+56>>2];m=x(E+E);O=x(z*m);u[f+4>>2]=n*x(K+O);S=x(i*m);T=x(y*z);u[f+8>>2]=n*x(S-T);u[f+12>>2]=n*x(0);u[f+16>>2]=j*x(K-O);K=i;i=x(i+i);K=x(x(1)-x(K*i));E=x(E*m);u[f+20>>2]=j*x(K-E);m=x(p*m);i=x(i*z);u[f+24>>2]=j*x(m+i);u[f+28>>2]=j*x(0);u[f+32>>2]=h*x(S+T);u[f+36>>2]=h*x(m-i);j=x(p*y);u[f+40>>2]=h*x(K-j);u[f+44>>2]=h*x(0);q[f+48>>2]=H;q[f+52>>2]=B;q[f+60>>2]=1065353216;u[f+56>>2]=L;u[f>>2]=n*x(x(x(1)-j)-E);C=C+1|0;if((D|0)!=(C|0)){continue}break}}f=q[b+68>>2];k=0;while(1){l=q[f>>2];if((q[f+4>>2]-l|0)/80>>>0<=k>>>0){break c}b=(k<<6)+A|0;Kk(g,b,l+w(k,80)|0);u[b>>2]=u[g>>2];u[b+4>>2]=u[g+4>>2];u[b+8>>2]=u[g+8>>2];u[b+12>>2]=u[g+12>>2];u[b+16>>2]=u[g+16>>2];u[b+20>>2]=u[g+20>>2];u[b+24>>2]=u[g+24>>2];u[b+28>>2]=u[g+28>>2];u[b+32>>2]=u[g+32>>2];u[b+36>>2]=u[g+36>>2];u[b+40>>2]=u[g+40>>2];u[b+44>>2]=u[g+44>>2];u[b+48>>2]=u[g+48>>2];u[b+52>>2]=u[g+52>>2];u[b+56>>2]=u[g+56>>2];u[b+60>>2]=u[g+60>>2];k=k+1|0;A=q[a+52>>2];if(k>>>0>2]-A>>6>>>0){continue}break}break g}q[a+56>>2]=q[a+52>>2]}yt(g,d);h=u[g+56>>2];u[g+56>>2]=u[g+44>>2];j=u[g+52>>2];u[g+52>>2]=u[g+28>>2];u[g+44>>2]=h;h=u[g+36>>2];u[g+36>>2]=u[g+24>>2];u[g+28>>2]=j;u[g+24>>2]=h;h=u[g+48>>2];u[g+48>>2]=u[g+12>>2];j=u[g+32>>2];u[g+32>>2]=u[g+8>>2];i=u[g+16>>2];u[g+16>>2]=u[g+4>>2];u[g+12>>2]=h;u[g+8>>2]=j;u[g+4>>2]=i;i:{A=a+76|0;k=q[a+68>>2];b=q[A>>2]-k>>4;f=t[c+36>>2]/3|0;if(b>>>0>>0){if(o[a+80|0]&1){break i}Ii(f,16,a+68|0,A,a+72|0);k=q[a+68>>2];b=q[a+76>>2]-k>>4}if(b>>>0>=f>>>0){q[a+72>>2]=(f<<4)+k;j:{A=a+92|0;k=q[a+84>>2];b=q[A>>2]-k>>4;if(b>>>0>>0){if(o[a+96|0]&1){break j}Ii(f,16,a+84|0,A,a+88|0);k=q[a+84>>2];b=q[a+92>>2]-k>>4}if(b>>>0>=f>>>0){q[a+88>>2]=(f<<4)+k;k:{A=a+108|0;k=q[a+100>>2];b=q[A>>2]-k>>4;if(b>>>0>>0){if(o[a+112|0]&1){break k}Ii(f,16,a+100|0,A,a+104|0);k=q[a+100>>2];b=q[a+108>>2]-k>>4}if(b>>>0>=f>>>0){q[a+104>>2]=(f<<4)+k;B=q[c+36>>2];v=(B>>>0)/3|0;A=q[a+84>>2];C=q[a+68>>2];f=q[c+32>>2];l:{m:{n:{N=q[c+112>>2];if(N){H=q[a+52>>2];b=q[a+56>>2]-H|0;if(b){break n}}if(B>>>0<3){break m}D=v>>>0>1?v:1;l=0;b=C;while(1){n=u[d+48>>2];p=u[d+32>>2];m=u[d>>2];y=u[d+16>>2];z=u[d+52>>2];E=u[d+36>>2];L=u[d+4>>2];K=u[d+20>>2];h=u[f>>2];j=u[f+4>>2];i=u[f+8>>2];u[b+8>>2]=u[d+56>>2]+x(x(x(h*u[d+8>>2])+x(j*u[d+24>>2]))+x(i*u[d+40>>2]));u[b+4>>2]=z+x(x(x(h*L)+x(j*K))+x(i*E));u[b>>2]=n+x(x(x(h*m)+x(j*y))+x(i*p));b=b+12|0;f=f+12|0;l=l+1|0;if((D|0)!=(l|0)){continue}break}break m}if(B>>>0<3){break m}I=b>>6;P=q[c+100>>2];Q=q[c+108>>2];R=v>>>0>1?v:1;D=0;l=C;while(1){h=x(0);j=x(0);i=x(0);b=D<<4;F=b+P|0;y=u[F>>2];o:{if(y==x(0)){break o}M=b+Q|0;b=q[M>>2];if(b>>>0>=I>>>0){break l}b=H+(b<<6)|0;n=u[f>>2];p=u[f+4>>2];m=u[f+8>>2];h=x(x(y*x(u[b+48>>2]+x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2]))))+x(0));i=x(x(y*x(u[b+56>>2]+x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2]))))+x(0));j=x(x(y*x(u[b+52>>2]+x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2]))))+x(0));y=u[F+4>>2];if(y==x(0)){break o}b=q[M+4>>2];if(b>>>0>=I>>>0){break c}b=H+(b<<6)|0;h=x(h+x(y*x(u[b+48>>2]+x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2])))));i=x(i+x(y*x(u[b+56>>2]+x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2])))));j=x(j+x(y*x(u[b+52>>2]+x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2])))));y=u[F+8>>2];if(y==x(0)){break o}b=q[M+8>>2];if(b>>>0>=I>>>0){break c}b=H+(b<<6)|0;h=x(h+x(y*x(u[b+48>>2]+x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2])))));i=x(i+x(y*x(u[b+56>>2]+x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2])))));j=x(j+x(y*x(u[b+52>>2]+x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2])))));y=u[F+12>>2];if(y==x(0)){break o}b=q[M+12>>2];if(b>>>0>=I>>>0){break c}b=H+(b<<6)|0;h=x(h+x(y*x(u[b+48>>2]+x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2])))));i=x(i+x(y*x(u[b+56>>2]+x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2])))));j=x(j+x(y*x(u[b+52>>2]+x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2])))))}f=f+12|0;n=u[d+48>>2];p=u[d+32>>2];m=u[d>>2];y=u[d+16>>2];z=u[d+52>>2];E=u[d+36>>2];L=u[d+4>>2];K=u[d+20>>2];u[l+8>>2]=u[d+56>>2]+x(x(x(h*u[d+8>>2])+x(j*u[d+24>>2]))+x(i*u[d+40>>2]));u[l+4>>2]=z+x(x(x(h*L)+x(j*K))+x(i*E));u[l>>2]=n+x(x(x(h*m)+x(j*y))+x(i*p));l=l+12|0;D=D+1|0;if((R|0)!=(D|0)){continue}break}}p:{q:{if(!q[c+44>>2]){break q}M=q[c+52>>2];b=0;r:{if(!M){break r}b=q[c+48>>2]}D=q[c+40>>2];s:{if(N){f=q[a+52>>2];a=q[a+56>>2]-f|0;if(a){break s}}if(B>>>0<3){break q}H=v>>>0>1?v:1;a=0;if(!M){f=A;while(1){n=u[g+32>>2];p=u[g+16>>2];m=u[g>>2];y=u[g+36>>2];z=u[g+20>>2];E=u[g+4>>2];b=D+w(a,12)|0;h=u[b>>2];j=u[b+4>>2];i=u[b+8>>2];u[f+8>>2]=x(x(h*u[g+8>>2])+x(j*u[g+24>>2]))+x(i*u[g+40>>2]);u[f+4>>2]=x(x(h*E)+x(j*z))+x(i*y);u[f>>2]=x(x(h*m)+x(j*p))+x(i*n);f=f+12|0;a=a+1|0;if((H|0)!=(a|0)){continue}break}break q}f=A;d=k;while(1){n=u[g+32>>2];p=u[g+16>>2];m=u[g>>2];y=u[g+36>>2];z=u[g+20>>2];E=u[g+4>>2];l=w(a,12);h=u[l+D>>2];I=l+4|0;j=u[I+D>>2];F=l+8|0;i=u[F+D>>2];u[f+8>>2]=x(x(h*u[g+8>>2])+x(j*u[g+24>>2]))+x(i*u[g+40>>2]);u[f+4>>2]=x(x(h*E)+x(j*z))+x(i*y);u[f>>2]=x(x(h*m)+x(j*p))+x(i*n);n=u[g+32>>2];p=u[g>>2];m=u[g+16>>2];y=u[g+36>>2];z=u[g+4>>2];E=u[g+20>>2];h=u[b+l>>2];j=u[b+I>>2];i=u[b+F>>2];u[d+8>>2]=x(x(h*u[g+8>>2])+x(j*u[g+24>>2]))+x(i*u[g+40>>2]);u[d+4>>2]=x(x(h*z)+x(j*E))+x(i*y);u[d>>2]=x(x(h*p)+x(j*m))+x(i*n);d=d+12|0;f=f+12|0;a=a+1|0;if((H|0)!=(a|0)){continue}break}break q}if(B>>>0<3){break q}H=a>>6;P=q[c+100>>2];Q=q[c+108>>2];R=v>>>0>1?v:1;a=0;d=A;l=k;while(1){h=x(0);j=x(0);i=x(0);y=x(0);b=a<<4;I=b+P|0;z=u[I>>2];t:{if(z==x(0)){break t}F=b+Q|0;b=q[F>>2];if(b>>>0>=H>>>0){break p}N=D+w(a,12)|0;n=u[N>>2];b=f+(b<<6)|0;p=u[N+4>>2];m=u[N+8>>2];h=x(x(z*x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2])))+x(0));y=x(x(z*x(x(x(n*u[b+12>>2])+x(p*u[b+28>>2]))+x(m*u[b+44>>2])))+x(0));i=x(x(z*x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2])))+x(0));j=x(x(z*x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2])))+x(0));z=u[I+4>>2];if(z==x(0)){break t}b=q[F+4>>2];if(b>>>0>=H>>>0){break c}b=f+(b<<6)|0;h=x(h+x(z*x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2]))));y=x(y+x(z*x(x(x(n*u[b+12>>2])+x(p*u[b+28>>2]))+x(m*u[b+44>>2]))));i=x(i+x(z*x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2]))));j=x(j+x(z*x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2]))));z=u[I+8>>2];if(z==x(0)){break t}b=q[F+8>>2];if(b>>>0>=H>>>0){break c}b=f+(b<<6)|0;h=x(h+x(z*x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2]))));y=x(y+x(z*x(x(x(n*u[b+12>>2])+x(p*u[b+28>>2]))+x(m*u[b+44>>2]))));i=x(i+x(z*x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2]))));j=x(j+x(z*x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2]))));z=u[I+12>>2];if(z==x(0)){break t}b=q[F+12>>2];if(b>>>0>=H>>>0){break c}b=f+(b<<6)|0;h=x(h+x(z*x(x(x(n*u[b>>2])+x(p*u[b+16>>2]))+x(m*u[b+32>>2]))));y=x(y+x(z*x(x(x(n*u[b+12>>2])+x(p*u[b+28>>2]))+x(m*u[b+44>>2]))));i=x(i+x(z*x(x(x(n*u[b+8>>2])+x(p*u[b+24>>2]))+x(m*u[b+40>>2]))));j=x(j+x(z*x(x(x(n*u[b+4>>2])+x(p*u[b+20>>2]))+x(m*u[b+36>>2]))))}n=u[g+32>>2];p=u[g>>2];m=u[g+16>>2];z=u[g+36>>2];E=u[g+4>>2];L=u[g+20>>2];u[d+8>>2]=x(x(h*u[g+8>>2])+x(j*u[g+24>>2]))+x(i*u[g+40>>2]);u[d+4>>2]=x(x(h*E)+x(j*L))+x(i*z);u[d>>2]=x(x(h*p)+x(j*m))+x(i*n);if(M){n=u[g+48>>2];p=u[g+32>>2];m=u[g>>2];z=u[g+16>>2];E=u[g+52>>2];L=u[g+36>>2];K=u[g+4>>2];O=u[g+20>>2];u[l+8>>2]=x(x(x(h*u[g+8>>2])+x(j*u[g+24>>2]))+x(i*u[g+40>>2]))+x(y*u[g+56>>2]);u[l+4>>2]=x(x(x(h*K)+x(j*O))+x(i*L))+x(y*E);u[l>>2]=x(x(x(h*m)+x(j*z))+x(i*p))+x(y*n);l=l+12|0}d=d+12|0;a=a+1|0;if((R|0)!=(a|0)){continue}break}}d=0;b=0;b=q[c+68>>2]?q[c+64>>2]:b;d=q[c+80>>2]?q[c+76>>2]:d;if(q[c+60>>2]){f=q[c+56>>2]}else{f=0}a=q[c+92>>2];if(a){break e}if(B>>>0<3){break d}v=v>>>0>1?v:1;c=0;while(1){u[e>>2]=u[C>>2];u[e+12>>2]=u[A>>2];u[e+24>>2]=u[k>>2];u[e+4>>2]=u[C+4>>2];u[e+16>>2]=u[A+4>>2];u[e+28>>2]=u[k+4>>2];u[e+8>>2]=u[C+8>>2];u[e+20>>2]=u[A+8>>2];u[e+32>>2]=u[k+8>>2];u:{if(!f){q[e+36>>2]=1065353216;q[e+40>>2]=1065353216;q[e+44>>2]=1065353216;h=x(1);f=0;break u}u[e+36>>2]=u[f>>2];u[e+40>>2]=u[f+4>>2];u[e+44>>2]=u[f+8>>2];h=u[f+12>>2];f=f+16|0}u[e+48>>2]=h;h=x(0);a=0;l=0;j=x(0);if(b){j=u[b>>2];l=b+4|0}u[e+52>>2]=j;if(d){h=u[d>>2];a=d+4|0}u[e+60>>2]=h;h=x(0);d=0;b=0;j=x(0);if(l){j=u[l>>2];b=l+4|0}u[e+56>>2]=j;if(a){h=u[a>>2];d=a+4|0}A=A+12|0;u[e- -64>>2]=h;e=e+68|0;k=k+12|0;C=C+12|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}break d}break c}break c}break b}break a}break b}break a}break b}break a}J(147249,147260,479,147227);G()}v:{w:{if(q[c+96>>2]==1){D=a>>>2|0;if(!D){break d}a=0;B=q[c+88>>2];if(B){break v}H=!b;I=!f;c=!d;break w}D=a>>>1|0;if(!D){break d}H=!b;I=!f;a=q[c+88>>2];c=!d}l=0;while(1){F=s[(l<<1)+a>>1];v=w(F,12);u[e>>2]=u[v+C>>2];u[e+12>>2]=u[v+A>>2];u[e+24>>2]=u[k+v>>2];B=v+4|0;u[e+4>>2]=u[B+C>>2];u[e+16>>2]=u[A+B>>2];u[e+28>>2]=u[k+B>>2];v=v+8|0;u[e+8>>2]=u[v+C>>2];u[e+20>>2]=u[v+A>>2];u[e+32>>2]=u[k+v>>2];v=e;x:{if(!I){B=F<<4;u[e+36>>2]=u[B+f>>2];u[e+40>>2]=u[(B|4)+f>>2];u[e+44>>2]=u[(B|8)+f>>2];i=u[(B|12)+f>>2];break x}q[e+36>>2]=1065353216;q[e+40>>2]=1065353216;q[e+44>>2]=1065353216;i=x(1)}u[v+48>>2]=i;B=F<<1;y:{if(!H){F=B<<2;u[e+52>>2]=u[F+b>>2];u[e+60>>2]=c?x(0):u[d+F>>2];v=(B|1)<<2;u[e+56>>2]=u[v+b>>2];u[e- -64>>2]=c?x(0):u[d+v>>2];break y}if(!c){q[e+52>>2]=0;v=B<<2;h=u[v+d>>2];q[e+56>>2]=0;u[e+60>>2]=h;u[e- -64>>2]=u[(v|4)+d>>2];break y}v=e+52|0;q[v>>2]=0;q[v+4>>2]=0;q[e+60>>2]=0;q[e+64>>2]=0}e=e+68|0;l=l+1|0;if((D|0)!=(l|0)){continue}break}break d}while(1){v=q[B+(a<<2)>>2];c=w(v,12);u[e>>2]=u[c+C>>2];u[e+12>>2]=u[c+A>>2];u[e+24>>2]=u[c+k>>2];l=c+4|0;u[e+4>>2]=u[l+C>>2];u[e+16>>2]=u[l+A>>2];u[e+28>>2]=u[l+k>>2];c=c+8|0;u[e+8>>2]=u[c+C>>2];u[e+20>>2]=u[c+A>>2];u[e+32>>2]=u[c+k>>2];c=e;z:{if(f){l=v<<4;u[e+36>>2]=u[l+f>>2];u[e+40>>2]=u[(l|4)+f>>2];u[e+44>>2]=u[(l|8)+f>>2];i=u[(l|12)+f>>2];break z}q[e+36>>2]=1065353216;q[e+40>>2]=1065353216;q[e+44>>2]=1065353216;i=x(1)}u[c+48>>2]=i;l=v<<1;A:{if(b){v=l<<2;u[e+52>>2]=u[v+b>>2];u[e+60>>2]=d?u[d+v>>2]:x(0);c=(l|1)<<2;u[e+56>>2]=u[c+b>>2];u[e- -64>>2]=d?u[c+d>>2]:x(0);break A}if(d){q[e+52>>2]=0;c=l<<2;h=u[c+d>>2];q[e+56>>2]=0;u[e+60>>2]=h;u[e- -64>>2]=u[(c|4)+d>>2];break A}c=e+52|0;q[c>>2]=0;q[c+4>>2]=0;q[e+60>>2]=0;q[e+64>>2]=0}e=e+68|0;a=a+1|0;if((D|0)!=(a|0)){continue}break}}ti=g- -64|0;return e}J(147249,147260,486,147227);G()}J(147403,147260,506,147422);G()}J(147316,147260,493,147391);G()}function y6(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=0,l=x(0),m=x(0),n=x(0),p=x(0),s=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=0,E=x(0),F=0,H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=0,R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=0,ea=0,fa=x(0),ga=x(0),ha=x(0),ia=x(0),ja=0,ka=0,la=0,ma=0;c=ti-864|0;ti=c;a:{b:{c:{d:{D=q[a+4>>2];F=q[a>>2];k=D-F|0;if(k){D=F-D|0;s=((k|0)<(D|0)?D:k)>>>2|0;k=(k|0)>-1?k:-1;k=w(s,(k|0)<1?k:1);ja=k>>>0>1?k:1;while(1){k=q[a>>2];if(q[a+4>>2]-k>>2>>>0<=da>>>0){break c}e:{D=q[k+(da<<2)>>2];if(!D){break e}s=q[D+4>>2];k=q[D>>2];F=s-k|0;if(!F){break e}F=(F|0)/304|0;if((k|0)!=(s|0)){ka=F>>>0>1?F:1;la=q[D+64>>2];F=0;while(1){s=q[la+16>>2];if(t[s+4>>2]<=F>>>0){break d}s=q[s>>2];q[c+856>>2]=0;q[c+860>>2]=1065353216;q[c+848>>2]=0;q[c+852>>2]=1065353216;k=w(F,304)+k|0;f:{g:{if(!q[k+280>>2]){e=x(1);g=x(0);break g}if(q[(s+w(F,144)|0)+4>>2]==1?!(r[k+296|0]&8):0){break f}e=u[(s+w(F,144)|0)+8>>2];e=e<=x(0)?x(0):x(u[k+264>>2]/e);g=x(x(1)-e)}u[c+856>>2]=e;u[c+852>>2]=g}k=s+w(F,144)|0;e=u[k+44>>2];d=u[D+60>>2];g=u[k+32>>2];v=u[D+48>>2];h=u[k+36>>2];i=u[D+52>>2];H=x(x(x(e*d)-x(g*v))-x(h*i));j=u[k+40>>2];f=u[D+56>>2];I=x(j*f);C=x(x(h*v)+x(x(e*f)+x(j*d)));O=x(g*i);P=x(x(g*f)+x(x(e*i)+x(h*d)));B=x(j*v);j=x(x(j*i)+x(x(e*v)+x(g*d)));E=x(h*f);n=u[D+44>>2];e=x(u[k+16>>2]*n);g=x(u[k+20>>2]*n);h=u[k+24>>2];h:{if(o[D+82|0]&1){h=x(h*n);l=x(x(x(f*e)+x(d*g))-x(v*h));m=x(x(x(d*h)+x(v*g))-x(i*e));p=x(x(x(d*e)+x(i*h))-x(f*g));z=x(x(i*g)+x(v*e));y=x(f*h);break h}m=x(x(x(h*d)+x(v*g))-x(i*e));l=x(x(x(f*e)+x(d*g))-x(h*v));p=x(x(x(h*i)+x(d*e))-x(f*g));z=x(x(v*e)+x(i*g));y=x(h*f)}e=x(H-I);g=x(C-O);h=x(P-B);j=x(j-E);H=x(y+z);y=x(u[D+40>>2]+x(x(v*l)+x(x(x(f*H)+x(d*m))-x(i*p))));z=x(u[D+36>>2]+x(x(f*p)+x(x(x(d*l)+x(i*H))-x(v*m))));v=x(u[D+32>>2]+x(x(i*m)+x(x(x(d*p)+x(v*H))-x(f*l))));i:{j:{switch(q[k+76>>2]-2|0){case 1:if(t[k+88>>2]<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}d=x(u[q[k+20>>2]+4>>2]*x(.5));k=0;while(1){s=(c+32|0)+w(k,48)|0;q[s+16>>2]=0;q[s+8>>2]=0;q[s+36>>2]=0;f=x(x(x(k>>>0)*x(6.2831854820251465))*x(.0625));i=x(d*uk(f));u[s+40>>2]=i;f=x(d*xl(f));u[s+32>>2]=f;u[s+24>>2]=i;u[s+20>>2]=f;u[s+4>>2]=i;u[s>>2]=f;s=1;k=k+1|0;if((k|0)!=17){continue}break}while(1){ma=s-1|0;k=0;while(1){ea=k<<4;Q=ea+((c+32|0)+w(ma,48)|0)|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));Q=((c+32|0)+w(s,48)|0)+ea|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+8>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+4>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));xi[199](b,c+16|0,c,c+848|0);k=k+1|0;if((k|0)!=3){continue}break}s=s+1|0;if((s|0)!=17){continue}break}break i;case 2:s=q[k+88>>2];if(s>>>0<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}if(s>>>0<=2){break b}if(!q[k+40>>2]){break a}d=u[q[k+20>>2]+4>>2];i=u[q[k+36>>2]+4>>2];u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;d=x(d*x(.5));f=x(n*d);N=x(e*f);l=x(n*i);O=x(h*l);m=x(n*x(0));p=x(m*g);P=x(x(N+O)-p);B=x(m*e);S=x(g*f);H=x(j*l);E=x(x(B+S)-H);I=x(m*h);T=x(j*f);C=x(g*l);K=x(x(I+T)+C);m=x(j*m);l=x(e*l);A=x(m+l);U=x(h*f);f=x(A-U);u[c+20>>2]=z+x(x(g*P)+x(x(x(e*E)+x(h*K))-x(j*f)));u[c+24>>2]=y+x(x(j*E)+x(x(x(g*K)+x(e*f))-x(h*P)));u[c+16>>2]=v+x(x(h*f)+x(x(x(j*K)+x(e*P))-x(g*E)));xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;P=x(-d);f=x(n*P);L=x(g*f);E=x(x(B+L)-H);M=x(j*f);K=x(x(I+M)+C);V=x(h*f);A=x(A-V);W=x(e*f);f=x(x(W+O)-p);u[c+24>>2]=y+x(x(j*E)+x(x(x(g*K)+x(e*A))-x(h*f)));u[c+20>>2]=z+x(x(g*f)+x(x(x(e*E)+x(h*K))-x(j*A)));u[c+16>>2]=v+x(x(h*A)+x(x(x(j*K)+x(e*f))-x(g*E)));xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;f=x(x(p+N)-H);E=x(x(m+U)+C);K=x(x(T+l)-I);B=x(B+O);O=x(B-S);u[c+24>>2]=y+x(x(j*f)+x(x(x(g*E)+x(e*K))-x(h*O)));u[c+20>>2]=z+x(x(g*O)+x(x(x(e*f)+x(h*E))-x(j*K)));u[c+16>>2]=v+x(x(h*K)+x(x(x(j*E)+x(e*O))-x(g*f)));xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=y;u[c+36>>2]=z;u[c+32>>2]=v;f=x(x(p+W)-H);m=x(x(m+V)+C);l=x(x(M+l)-I);p=x(B-L);u[c+24>>2]=y+x(x(j*f)+x(x(x(g*m)+x(e*l))-x(h*p)));u[c+20>>2]=z+x(x(g*p)+x(x(x(e*f)+x(h*m))-x(j*l)));u[c+16>>2]=v+x(x(h*l)+x(x(x(j*m)+x(e*p))-x(g*f)));xi[199](b,c+32|0,c+16|0,c+848|0);u[c+280>>2]=i;f=x(d*x(-.3826834261417389));u[c+276>>2]=f;u[c+272>>2]=d*x(.9238795638084412);u[c+264>>2]=i;u[c+260>>2]=d*x(-.7071065306663513);u[c+256>>2]=d*x(.7071070075035095);u[c+248>>2]=i;u[c+244>>2]=d*x(-.9238794445991516);u[c+240>>2]=d*x(.3826836049556732);u[c+232>>2]=i;u[c+228>>2]=P;u[c+224>>2]=d*x(1.1924880638503055e-8);u[c+216>>2]=i;u[c+212>>2]=d*x(-.9238796830177307);u[c+208>>2]=d*x(-.382683128118515);u[c+200>>2]=i;u[c+196>>2]=d*x(-.70710688829422);u[c+192>>2]=d*x(-.7071066498756409);u[c+184>>2]=i;u[c+180>>2]=f;u[c+176>>2]=d*x(-.9238795042037964);u[c+168>>2]=i;u[c+164>>2]=d*x(-8.742277657347586e-8);u[c+160>>2]=P;u[c+152>>2]=i;u[c+148>>2]=d*x(.38268327713012695);u[c+144>>2]=d*x(-.9238796234130859);u[c+136>>2]=i;f=x(d*x(.7071067690849304));u[c+132>>2]=f;u[c+128>>2]=d*x(-.7071067690849304);u[c+120>>2]=i;l=x(d*x(.9238795042037964));u[c+116>>2]=l;u[c+112>>2]=d*x(-.38268351554870605);u[c+104>>2]=i;u[c+100>>2]=d;u[c+96>>2]=d*x(-4.371138828673793e-8);u[c+88>>2]=i;u[c+84>>2]=l;u[c+80>>2]=d*x(.3826834261417389);u[c+72>>2]=i;u[c+68>>2]=f;u[c+64>>2]=f;u[c+56>>2]=i;u[c+52>>2]=d*x(.3826834559440613);u[c+48>>2]=l;u[c+40>>2]=i;u[c+36>>2]=d*x(0);u[c+32>>2]=d;k=1;while(1){s=(c+32|0)+(k<<4)|0;Q=s-16|0;d=x(n*u[Q>>2]);i=x(n*u[Q+4>>2]);f=x(n*u[Q+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));d=x(n*u[s>>2]);i=x(n*u[s+4>>2]);f=x(n*u[s+8>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+8>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+4>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));xi[199](b,c+16|0,c,c+848|0);k=k+1|0;if((k|0)!=16){continue}break}d=x(n*u[c+272>>2]);i=x(n*u[c+276>>2]);f=x(n*u[c+280>>2]);l=x(x(x(g*d)+x(e*i))-x(j*f));m=x(x(g*f)+x(x(j*d)+x(h*i)));p=x(x(x(j*i)+x(e*f))-x(h*d));d=x(x(x(e*d)+x(h*f))-x(g*i));u[c+24>>2]=y+x(x(j*l)+x(x(x(g*m)+x(e*p))-x(h*d)));u[c+20>>2]=z+x(x(g*d)+x(x(x(e*l)+x(h*m))-x(j*p)));u[c+16>>2]=v+x(x(h*p)+x(x(x(j*m)+x(e*d))-x(g*l)));R=y;d=x(n*u[c+32>>2]);y=x(n*u[c+36>>2]);n=x(n*u[c+40>>2]);i=x(x(x(g*d)+x(e*y))-x(j*n));f=x(x(g*n)+x(x(j*d)+x(h*y)));l=x(x(x(j*y)+x(e*n))-x(h*d));n=x(x(x(e*d)+x(h*n))-x(g*y));u[c+8>>2]=R+x(x(j*i)+x(x(x(g*f)+x(e*l))-x(h*n)));u[c+4>>2]=z+x(x(g*n)+x(x(x(e*i)+x(h*f))-x(j*l)));u[c>>2]=v+x(x(h*l)+x(x(x(j*f)+x(e*n))-x(g*i)));xi[199](b,c+16|0,c,c+848|0);break i;case 0:break j;default:break i}}s=q[k+88>>2];if(s>>>0<=1){break b}k=q[k+84>>2];if(!q[k+24>>2]){break a}if(s>>>0<=2){break b}if(!q[k+40>>2]){break a}if(s>>>0<=3){break b}if(!q[k+56>>2]){break a}B=x(u[q[k+20>>2]+4>>2]*x(.5));d=x(n*x(-B));V=x(e*d);L=x(u[q[k+52>>2]+4>>2]*x(.5));i=x(n*x(-L));E=x(h*i);U=x(V+E);A=x(u[q[k+36>>2]+4>>2]*x(.5));f=x(n*x(-A));l=x(g*f);H=x(U-l);M=x(g*d);K=x(e*f);W=x(M+K);m=x(j*i);I=x(W-m);X=x(j*d);N=x(h*f);Y=x(X+N);p=x(g*i);C=x(Y+p);R=x(j*f);S=x(e*i);f=x(R+S);d=x(h*d);i=x(f-d);O=x(z+x(x(g*H)+x(x(x(e*I)+x(h*C))-x(j*i))));u[c+36>>2]=O;P=x(y+x(x(j*I)+x(x(x(g*C)+x(e*i))-x(h*H))));u[c+40>>2]=P;H=x(v+x(x(h*i)+x(x(x(j*C)+x(e*H))-x(g*I))));u[c+32>>2]=H;i=x(n*B);T=x(g*i);Z=x(T+K);I=x(Z-m);_=x(j*i);aa=x(_+N);C=x(aa+p);$=f;f=x(h*i);B=x($-f);fa=x(e*i);N=x(fa+E);i=x(N-l);E=x(y+x(x(j*I)+x(x(x(g*C)+x(e*B))-x(h*i))));u[c+24>>2]=E;K=x(z+x(x(g*i)+x(x(x(e*I)+x(h*C))-x(j*B))));u[c+20>>2]=K;I=x(v+x(x(h*B)+x(x(x(j*C)+x(e*i))-x(g*I))));u[c+16>>2]=I;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=E;u[c+36>>2]=K;u[c+32>>2]=I;i=x(n*A);ba=x(e*i);ga=x(T+ba);C=x(ga-m);$=_;_=x(h*i);ha=x($+_);B=x(ha+p);ia=x(j*i);ca=x(ia+S);A=x(ca-f);i=x(g*i);N=x(N-i);S=x(y+x(x(j*C)+x(x(x(g*B)+x(e*A))-x(h*N))));u[c+24>>2]=S;T=x(z+x(x(g*N)+x(x(x(e*C)+x(h*B))-x(j*A))));u[c+20>>2]=T;C=x(v+x(x(h*A)+x(x(x(j*B)+x(e*N))-x(g*C))));u[c+16>>2]=C;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=S;u[c+36>>2]=T;u[c+32>>2]=C;ba=x(M+ba);m=x(ba-m);_=x(X+_);p=x(_+p);B=x(ca-d);A=x(U-i);N=x(y+x(x(j*m)+x(x(x(g*p)+x(e*B))-x(h*A))));u[c+24>>2]=N;U=x(z+x(x(g*A)+x(x(x(e*m)+x(h*p))-x(j*B))));u[c+20>>2]=U;B=x(v+x(x(h*B)+x(x(x(j*p)+x(e*A))-x(g*m))));u[c+16>>2]=B;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=N;u[c+36>>2]=U;u[c+32>>2]=B;u[c+24>>2]=P;u[c+20>>2]=O;u[c+16>>2]=H;xi[199](b,c+32|0,c+16|0,c+848|0);n=x(n*L);m=x(j*n);A=x(W-m);p=x(g*n);L=x(Y+p);$=R;R=x(e*n);X=x($+R);M=x(X-d);Y=x(h*n);ca=x(V+Y);n=x(ca-l);V=x(y+x(x(j*A)+x(x(x(g*L)+x(e*M))-x(h*n))));u[c+40>>2]=V;W=x(z+x(x(g*n)+x(x(x(e*A)+x(h*L))-x(j*M))));u[c+36>>2]=W;n=x(v+x(x(h*M)+x(x(x(j*L)+x(e*n))-x(g*A))));u[c+32>>2]=n;A=x(Z-m);L=x(aa+p);M=x(X-f);Z=x(fa+Y);l=x(Z-l);X=x(y+x(x(j*A)+x(x(x(g*L)+x(e*M))-x(h*l))));u[c+24>>2]=X;Y=x(z+x(x(g*l)+x(x(x(e*A)+x(h*L))-x(j*M))));u[c+20>>2]=Y;l=x(v+x(x(h*M)+x(x(x(j*L)+x(e*l))-x(g*A))));u[c+16>>2]=l;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=X;u[c+36>>2]=Y;u[c+32>>2]=l;A=x(ga-m);L=x(ha+p);aa=x(ia+R);f=x(aa-f);M=x(Z-i);R=x(y+x(x(j*A)+x(x(x(g*L)+x(e*f))-x(h*M))));u[c+24>>2]=R;Z=x(z+x(x(g*M)+x(x(x(e*A)+x(h*L))-x(j*f))));u[c+20>>2]=Z;f=x(v+x(x(h*f)+x(x(x(j*L)+x(e*M))-x(g*A))));u[c+16>>2]=f;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=R;u[c+36>>2]=Z;u[c+32>>2]=f;$=y;y=x(ba-m);m=x(_+p);d=x(aa-d);i=x(ca-i);p=x($+x(x(j*y)+x(x(x(g*m)+x(e*d))-x(h*i))));u[c+24>>2]=p;z=x(z+x(x(g*i)+x(x(x(e*y)+x(h*m))-x(j*d))));u[c+20>>2]=z;e=x(v+x(x(h*d)+x(x(x(j*m)+x(e*i))-x(g*y))));u[c+16>>2]=e;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=p;u[c+36>>2]=z;u[c+32>>2]=e;u[c+24>>2]=V;u[c+20>>2]=W;u[c+16>>2]=n;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=P;u[c+36>>2]=O;u[c+32>>2]=H;u[c+24>>2]=V;u[c+20>>2]=W;u[c+16>>2]=n;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=E;u[c+36>>2]=K;u[c+32>>2]=I;u[c+24>>2]=X;u[c+20>>2]=Y;u[c+16>>2]=l;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=S;u[c+36>>2]=T;u[c+32>>2]=C;u[c+24>>2]=R;u[c+20>>2]=Z;u[c+16>>2]=f;xi[199](b,c+32|0,c+16|0,c+848|0);u[c+40>>2]=N;u[c+36>>2]=U;u[c+32>>2]=B;u[c+24>>2]=p;u[c+20>>2]=z;u[c+16>>2]=e;xi[199](b,c+32|0,c+16|0,c+848|0)}F=F+1|0;if((ka|0)==(F|0)){break e}k=q[D>>2];if((q[D+4>>2]-k|0)/304>>>0>F>>>0){continue}break}}break c}da=da+1|0;if((ja|0)!=(da|0)){continue}break}}ti=c+864|0;return}J(145920,145932,261,145962);G()}J(146626,145751,479,145962);G()}J(145920,145932,224,145962);G()}J(145920,145932,179,145962);G()}function uE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-288|0;ti=g;q[q[a+60>>2]+4>>2]=0;a:{b:{c:{d:{e:while(1){c=287;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=q[a>>2];switch(f+1|0){case 0:break a;case 63:break j;case 61:break k;case 62:break l;case 92:break m;case 46:break n;case 11:case 14:break o;case 47:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13: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 36:case 37:case 38:case 39:case 41:case 42:case 43:case 44:case 45: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 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:break f;case 35:case 40:break i;default:break g}}ru(a);continue}d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;p:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break p}d=sk(d)}q[c>>2]=d;c=45;if((d|0)!=45){break a}d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;q:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break q}f=sk(d)}q[c>>2]=f;if((f|0)==91){c=It(a);q[q[a+60>>2]+4>>2]=0;if((c|0)>-1){break h}f=q[a>>2]}while(1){c=f+1|0;if(1<>>0<=14:0){continue e}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;f=r[c|0];q[a>>2]=f}else{f=sk(c);q[a>>2]=f}continue}}c=It(a);if((c|0)>=0){PC(a,b,c);c=286;break a}if((c|0)==-1){c=91;break a}Pl(a,136303,286)}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;r:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break r}d=sk(c)}q[b>>2]=d;c=61;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;s:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break s}b=sk(b)}q[a>>2]=b;c=280;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;t:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break t}d=sk(c)}q[b>>2]=d;c=60;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;u:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break u}b=sk(b)}q[a>>2]=b;c=282;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;v:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break v}d=sk(c)}q[b>>2]=d;c=62;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;w:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break w}b=sk(b)}q[a>>2]=b;c=281;break a}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;e=q[c+8>>2];x:{if(d>>>0<=e>>>0){e=q[c>>2];break x}if(e>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+152>>2]=136278;q[g+148>>2]=e;q[g+144>>2]=g+208;_i(d,136255,g+144|0);yj(q[a+52>>2],3);e=q[c+8>>2]}d=q[a+52>>2];i=e<<1;y:{if((i|0)!=-2){e=lj(d,q[c>>2],e,i);break y}e=Yj(d)}q[c+8>>2]=i;q[c>>2]=e;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[e+h|0]=f;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;z:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break z}c=sk(c)}q[d>>2]=c;if((c|0)!=(f|0)){while(1){A:{B:{C:{switch(c+1|0){case 0:Gk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];d=q[a+4>>2];q[g+72>>2]=136438;q[g+68>>2]=d;q[g+64>>2]=g+208;c=_i(c,136255,g- -64|0);d=q[a+52>>2];q[g+52>>2]=136237;q[g+48>>2]=c;_i(d,136265,g+48|0);yj(q[a+52>>2],3);c=q[a>>2];break A;case 11:case 14:Pl(a,136438,286);c=q[a>>2];break A;default:if((c|0)==92){break B}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13:break C}}e=q[a+60>>2];h=q[e+4>>2];d=h+1|0;i=q[e+8>>2];D:{if(d>>>0<=i>>>0){i=q[e>>2];break D}if(i>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+40>>2]=136278;q[g+36>>2]=i;q[g+32>>2]=g+208;_i(d,136255,g+32|0);yj(q[a+52>>2],3);i=q[e+8>>2]}d=q[a+52>>2];h=i<<1;E:{if((h|0)!=-2){i=lj(d,q[e>>2],i,h);break E}i=Yj(d)}q[e+8>>2]=h;q[e>>2]=i;h=q[e+4>>2];d=h+1|0}q[e+4>>2]=d;o[h+i|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;F:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break F}c=sk(c)}q[d>>2]=c;break A}c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;G:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break G}c=sk(c)}q[d>>2]=c;e=7;H:{I:{J:{K:{L:{M:{N:{switch(c-97|0){default:switch(c+1|0){case 0:break L;case 11:case 14:break M;default:break K};case 5:e=12;break I;case 13:e=10;break I;case 17:e=13;break I;case 19:e=9;break I;case 0:break I;case 1:break J;case 2:case 3:case 4:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:case 16:case 18:case 20:break K;case 21:break N}}e=11;break I}c=q[a+60>>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];O:{if(h>>>0<=d>>>0){d=q[c>>2];break O}if(d>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+136>>2]=136278;q[g+132>>2]=e;q[g+128>>2]=g+208;_i(d,136255,g+128|0);yj(q[a+52>>2],3);d=q[c+8>>2]}e=q[a+52>>2];i=d<<1;P:{if((i|0)!=-2){d=lj(e,q[c>>2],d,i);break P}d=Yj(e)}q[c+8>>2]=i;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=10;ru(a)}c=q[a>>2];break A}d=0;if(c-48>>>0>=10){break H}h=0;while(1){e=q[a+56>>2];i=q[e>>2];q[e>>2]=i-1;d=(w(d,10)+c|0)-48|0;j=a;Q:{if(i){c=q[e+4>>2];q[e+4>>2]=c+1;c=r[c|0];break Q}c=sk(e)}q[j>>2]=c;if((h|0)!=2){h=h+1|0;if(c-48>>>0<10){continue}}break}if((d|0)>=256){Pl(a,136456,286)}c=q[a+60>>2];h=q[c+4>>2];i=h+1|0;e=q[c+8>>2];R:{if(i>>>0<=e>>>0){e=q[c>>2];break R}if(e>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];i=q[a+4>>2];q[g+88>>2]=136278;q[g+84>>2]=i;q[g+80>>2]=g+208;_i(e,136255,g+80|0);yj(q[a+52>>2],3);e=q[c+8>>2]}i=q[a+52>>2];h=e<<1;S:{if((h|0)!=-2){e=lj(i,q[c>>2],e,h);break S}e=Yj(i)}q[c+8>>2]=h;q[c>>2]=e;h=q[c+4>>2];i=h+1|0}q[c+4>>2]=i;o[e+h|0]=d;c=q[a>>2];break A}e=8}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;i=q[c+8>>2];T:{if(d>>>0<=i>>>0){i=q[c>>2];break T}if(i>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+120>>2]=136278;q[g+116>>2]=i;q[g+112>>2]=g+208;_i(d,136255,g+112|0);yj(q[a+52>>2],3);i=q[c+8>>2]}d=q[a+52>>2];h=i<<1;U:{if((h|0)!=-2){i=lj(d,q[c>>2],i,h);break U}i=Yj(d)}q[c+8>>2]=h;q[c>>2]=i;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[h+i|0]=e;c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];c=q[a>>2];break A}q[a>>2]=sk(c);c=q[a>>2];break A}e=q[a+60>>2];h=q[e+4>>2];d=h+1|0;i=q[e+8>>2];V:{if(d>>>0<=i>>>0){i=q[e>>2];break V}if(i>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];i=q[a+4>>2];q[g+104>>2]=136278;q[g+100>>2]=i;q[g+96>>2]=g+208;_i(d,136255,g+96|0);yj(q[a+52>>2],3);i=q[e+8>>2]}d=q[a+52>>2];h=i<<1;W:{if((h|0)!=-2){i=lj(d,q[e>>2],i,h);break W}i=Yj(d)}q[e+8>>2]=h;q[e>>2]=i;h=q[e+4>>2];d=h+1|0}q[e+4>>2]=d;o[h+i|0]=c;c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];c=q[a>>2];break A}q[a>>2]=sk(c);c=q[a>>2]}if((c|0)!=(f|0)){continue}break}}c=q[a+60>>2];h=q[c+4>>2];d=h+1|0;e=q[c+8>>2];X:{if(d>>>0<=e>>>0){e=q[c>>2];break X}if(e>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+24>>2]=136278;q[g+20>>2]=e;q[g+16>>2]=g+208;_i(d,136255,g+16|0);yj(q[a+52>>2],3);e=q[c+8>>2]}d=q[a+52>>2];i=e<<1;Y:{if((i|0)!=-2){e=lj(d,q[c>>2],e,i);break Y}e=Yj(d)}q[c+8>>2]=i;q[c>>2]=e;h=q[c+4>>2];d=h+1|0}q[c+4>>2]=d;o[e+h|0]=f;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;Z:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break Z}d=sk(d)}q[c>>2]=d;d=q[a+52>>2];c=q[a+60>>2];c=Jj(d,q[c>>2]+1|0,q[c+4>>2]-2|0);a=ns(d,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}q[b>>2]=c;c=286;break a}PC(a,0,c);q[q[a+60>>2]+4>>2]=0;continue}if((f|0)==126){break b}}if((f|0)==32|f-9>>>0<5){c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;q[a>>2]=r[c|0];continue}q[a>>2]=sk(c);continue}break}if(f-48>>>0<=9){break c}if(!((f|32)-97>>>0<26?0:(f|0)!=95)){while(1){c=q[a+60>>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];_:{if(h>>>0<=d>>>0){d=q[c>>2];break _}if(d>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[g+8>>2]=136278;q[g+4>>2]=e;q[g>>2]=g+208;_i(d,136255,g);yj(q[a+52>>2],3);d=q[c+8>>2]}e=q[a+52>>2];i=d<<1;$:{if((i|0)!=-2){d=lj(e,q[c>>2],d,i);break $}d=Yj(e)}q[c+8>>2]=i;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=f;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;aa:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break aa}f=sk(d)}q[c>>2]=f;if((f|0)==95|((f|32)-97>>>0<26?1:f-48>>>0<10)){continue}break}d=q[a+52>>2];c=q[a+60>>2];c=Jj(d,q[c>>2],q[c+4>>2]);a=ns(d,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}a=r[c+6|0];if(a){c=a|256;break a}q[b>>2]=c;c=285;break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;q[a>>2]=r[b|0];c=f;break a}q[a>>2]=sk(b);c=f;break a}d=q[a+60>>2];c=q[d+4>>2];e=c+1|0;h=q[d+8>>2];ba:{if(e>>>0<=h>>>0){h=q[d>>2];break ba}if(h>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];f=q[a+4>>2];q[g+200>>2]=136278;q[g+196>>2]=f;q[g+192>>2]=g+208;_i(c,136255,g+192|0);yj(q[a+52>>2],3);h=q[d+8>>2]}c=q[a+52>>2];f=h<<1;ca:{if((f|0)!=-2){h=lj(c,q[d>>2],h,f);break ca}h=Yj(c)}q[d+8>>2]=f;q[d>>2]=h;c=q[d+4>>2];e=c+1|0}q[d+4>>2]=e;o[c+h|0]=46;d=q[a+56>>2];f=q[d>>2];q[d>>2]=f-1;c=a;da:{if(f){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;f=r[d|0];break da}f=sk(d)}q[c>>2]=f;ea:{c=f&255;if(c>>>0>63){break ea}d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=1<>2];e=q[b+4>>2];h=e+1|0;d=q[b+8>>2];fa:{if(h>>>0<=d>>>0){d=q[b>>2];break fa}if(d>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];d=q[a+4>>2];q[g+184>>2]=136278;q[g+180>>2]=d;q[g+176>>2]=g+208;_i(c,136255,g+176|0);yj(q[a+52>>2],3);d=q[b+8>>2]}c=q[a+52>>2];e=d<<1;ga:{if((e|0)!=-2){d=lj(c,q[b>>2],d,e);break ga}d=Yj(c)}q[b+8>>2]=e;q[b>>2]=d;e=q[b+4>>2];h=e+1|0}q[b+4>>2]=h;o[d+e|0]=f;b=q[a+56>>2];d=q[b>>2];q[b>>2]=d-1;c=a;ha:{if(d){d=b;b=q[b+4>>2];q[d+4>>2]=b+1;b=r[b|0];break ha}b=sk(b)}q[c>>2]=b;c=278;d=b&255;if(d>>>0>63){break a}f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;f=1<>2];e=q[c+4>>2];h=e+1|0;d=q[c+8>>2];ia:{if(h>>>0<=d>>>0){d=q[c>>2];break ia}if(d>>>0>=2147483646){Gk(g+208|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];f=q[a+4>>2];q[g+168>>2]=136278;q[g+164>>2]=f;q[g+160>>2]=g+208;_i(d,136255,g+160|0);yj(q[a+52>>2],3);d=q[c+8>>2]}f=q[a+52>>2];e=d<<1;ja:{if((e|0)!=-2){d=lj(f,q[c>>2],d,e);break ja}d=Yj(f)}q[c+8>>2]=e;q[c>>2]=d;e=q[c+4>>2];h=e+1|0}q[c+4>>2]=h;o[d+e|0]=b;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;ka:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break ka}b=sk(b)}q[a>>2]=b;c=279;break a}c=46;if(f-48>>>0>9){break a}}FR(a,b);c=284;break a}c=q[a+56>>2];d=q[c>>2];q[c>>2]=d-1;b=a;la:{if(d){d=c;c=q[c+4>>2];q[d+4>>2]=c+1;d=r[c|0];break la}d=sk(c)}q[b>>2]=d;c=126;if((d|0)!=61){break a}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;ma:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break ma}b=sk(b)}q[a>>2]=b;c=283}ti=g+288|0;return c}function Ji(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;m=ti-16|0;ti=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(a>>>0<=244){g=q[243035];f=a>>>0<11?16:a+11&-8;a=f>>>3|0;b=g>>>a|0;if(b&3){c=a+((b^-1)&1)|0;f=c<<3;b=q[f+972188>>2];a=b+8|0;d=q[b+8>>2];f=f+972180|0;m:{if((d|0)==(f|0)){q[243035]=Twa(-2,c)&g;break m}q[d+12>>2]=f;q[f+8>>2]=d}c=c<<3;q[b+4>>2]=c|3;b=b+c|0;q[b+4>>2]=q[b+4>>2]|1;break a}i=q[243037];if(i>>>0>=f>>>0){break l}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=q[d+972188>>2];a=q[b+8>>2];d=d+972180|0;n:{if((a|0)==(d|0)){g=Twa(-2,c)&g;q[243035]=g;break n}q[a+12>>2]=d;q[d+8>>2]=a}a=b+8|0;q[b+4>>2]=f|3;e=b+f|0;c=c<<3;f=c-f|0;q[e+4>>2]=f|1;q[b+c>>2]=f;if(i){c=i>>>3|0;b=(c<<3)+972180|0;d=q[243040];c=1<>2]}q[b+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=c}q[243040]=e;q[243037]=f;break a}k=q[243036];if(!k){break l}a=(k&0-k)-1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=q[((c|b)+(a>>>b|0)<<2)+972444>>2];e=(q[b+4>>2]&-8)-f|0;c=b;while(1){p:{a=q[c+16>>2];if(!a){a=q[c+20>>2];if(!a){break p}}d=(q[a+4>>2]&-8)-f|0;c=d>>>0>>0;e=c?d:e;b=c?a:b;c=a;continue}break}l=b+f|0;if(l>>>0<=b>>>0){break k}j=q[b+24>>2];d=q[b+12>>2];if((d|0)!=(b|0)){a=q[b+8>>2];q[a+12>>2]=d;q[d+8>>2]=a;break b}c=b+20|0;a=q[c>>2];if(!a){a=q[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;d=a;c=a+20|0;a=q[c>>2];if(a){continue}c=d+16|0;a=q[d+16>>2];if(a){continue}break}q[h>>2]=0;break b}f=-1;if(a>>>0>4294967231){break l}a=a+11|0;f=a&-8;i=q[243036];if(!i){break l}h=31;e=0-f|0;if(f>>>0<=16777215){b=a>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;h=(a<<1|f>>>a+21&1)+28|0}c=q[(h<<2)+972444>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=f<<((h|0)==31?0:25-(h>>>1|0)|0);while(1){t:{g=(q[c+4>>2]&-8)-f|0;if(g>>>0>=e>>>0){break t}d=c;e=g;if(e){break t}e=0;a=c;break r}g=q[c+20>>2];c=q[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|d)){a=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;a=q[((c|b)+(a>>>b|0)<<2)+972444>>2]}if(!a){break q}}while(1){c=(q[a+4>>2]&-8)-f|0;b=c>>>0>>0;e=b?c:e;d=b?a:d;b=q[a+16>>2];if(b){a=b}else{a=q[a+20>>2]}if(a){continue}break}}if(!d|q[243037]-f>>>0<=e>>>0){break l}h=d+f|0;if(h>>>0<=d>>>0){break k}j=q[d+24>>2];b=q[d+12>>2];if((d|0)!=(b|0)){a=q[d+8>>2];q[a+12>>2]=b;q[b+8>>2]=a;break c}c=d+20|0;a=q[c>>2];if(!a){a=q[d+16>>2];if(!a){break i}c=d+16|0}while(1){g=c;b=a;c=a+20|0;a=q[c>>2];if(a){continue}c=b+16|0;a=q[b+16>>2];if(a){continue}break}q[g>>2]=0;break c}b=q[243037];if(b>>>0>=f>>>0){a=q[243040];c=b-f|0;u:{if(c>>>0>=16){q[243037]=c;d=a+f|0;q[243040]=d;q[d+4>>2]=c|1;q[a+b>>2]=c;q[a+4>>2]=f|3;break u}q[243040]=0;q[243037]=0;q[a+4>>2]=b|3;b=a+b|0;q[b+4>>2]=q[b+4>>2]|1}a=a+8|0;break a}d=q[243038];if(d>>>0>f>>>0){b=d-f|0;q[243038]=b;a=q[243041];c=a+f|0;q[243041]=c;q[c+4>>2]=b|1;q[a+4>>2]=f|3;a=a+8|0;break a}a=0;e=f+47|0;c=e;if(q[243153]){b=q[243155]}else{q[243156]=-1;q[243157]=-1;q[243154]=4096;q[243155]=4096;q[243153]=m+12&-16^1431655768;q[243158]=0;q[243146]=0;b=4096}g=c+b|0;h=0-b|0;c=g&h;if(c>>>0<=f>>>0){break a}i=q[243145];if(i){j=q[243143];b=j+c|0;if(b>>>0<=j>>>0|b>>>0>i>>>0){break a}}if(r[972584]&4){break f}v:{w:{b=q[243041];if(b){a=972588;while(1){i=q[a>>2];if(b>>>0>2]>>>0?i>>>0<=b>>>0:0){break w}a=q[a+8>>2];if(a){continue}break}}b=xp(0);if((b|0)==-1){break g}g=c;a=q[243154];d=a-1|0;if(d&b){g=(c-b|0)+(b+d&0-a)|0}if(g>>>0>2147483646|f>>>0>=g>>>0){break g}d=q[243145];if(d){h=q[243143];a=h+g|0;if(a>>>0<=h>>>0|a>>>0>d>>>0){break g}}a=xp(g);if((b|0)!=(a|0)){break v}break e}g=h&g-d;if(g>>>0>2147483646){break g}b=xp(g);if((b|0)==(q[a>>2]+q[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|f+48>>>0<=g>>>0)){b=q[243155];b=b+(e-g|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((xp(b)|0)!=-1){g=b+g|0;b=a;break e}xp(0-g|0);break g}b=a;if((a|0)!=-1){break e}break g}G()}d=0;break b}b=0;break c}if((b|0)!=-1){break e}}q[243146]=q[243146]|4}if(c>>>0>2147483646){break d}b=xp(c);a=xp(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}g=a-b|0;if(g>>>0<=f+40>>>0){break d}}a=q[243143]+g|0;q[243143]=a;if(a>>>0>t[243144]){q[243144]=a}x:{y:{z:{e=q[243041];if(e){a=972588;while(1){c=q[a>>2];d=q[a+4>>2];if((c+d|0)==(b|0)){break z}a=q[a+8>>2];if(a){continue}break}break y}a=q[243039];if(!(a>>>0<=b>>>0?a:0)){q[243039]=b}a=0;q[243148]=g;q[243147]=b;q[243043]=-1;q[243044]=q[243153];q[243150]=0;while(1){c=a<<3;d=c+972180|0;q[c+972188>>2]=d;q[c+972192>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=g-40|0;c=b+8&7?-8-b&7:0;d=a-c|0;q[243038]=d;c=b+c|0;q[243041]=c;q[c+4>>2]=d|1;q[(a+b|0)+4>>2]=40;q[243042]=q[243157];break x}if(r[a+12|0]&8|b>>>0<=e>>>0|c>>>0>e>>>0){break y}q[a+4>>2]=d+g;a=e+8&7?-8-e&7:0;b=a+e|0;q[243041]=b;c=q[243038]+g|0;a=c-a|0;q[243038]=a;q[b+4>>2]=a|1;q[(c+e|0)+4>>2]=40;q[243042]=q[243157];break x}d=q[243039];if(d>>>0>b>>>0){q[243039]=b;d=0}c=b+g|0;a=972588;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=q[a>>2]){a=q[a+8>>2];if(a){continue}break F}break}if(!(r[a+12|0]&8)){break E}}a=972588;while(1){c=q[a>>2];if(c>>>0<=e>>>0){d=c+q[a+4>>2]|0;if(d>>>0>e>>>0){break D}}a=q[a+8>>2];continue}}q[a>>2]=b;q[a+4>>2]=q[a+4>>2]+g;j=(b+8&7?-8-b&7:0)+b|0;q[j+4>>2]=f|3;b=c+(c+8&7?-8-c&7:0)|0;a=(b-j|0)-f|0;h=f+j|0;if((b|0)==(e|0)){q[243041]=h;a=q[243038]+a|0;q[243038]=a;q[h+4>>2]=a|1;break B}if(q[243040]==(b|0)){q[243040]=h;a=q[243037]+a|0;q[243037]=a;q[h+4>>2]=a|1;q[a+h>>2]=a;break B}c=q[b+4>>2];if((c&3)==1){k=c&-8;G:{if(c>>>0<=255){f=c>>>3|0;c=q[b+8>>2];d=q[b+12>>2];if((d|0)==(c|0)){q[243035]=q[243035]&Twa(-2,f);break G}q[c+12>>2]=d;q[d+8>>2]=c;break G}i=q[b+24>>2];g=q[b+12>>2];H:{if((g|0)!=(b|0)){c=q[b+8>>2];q[c+12>>2]=g;q[g+8>>2]=c;break H}I:{e=b+20|0;f=q[e>>2];if(f){break I}e=b+16|0;f=q[e>>2];if(f){break I}g=0;break H}while(1){c=e;g=f;e=f+20|0;f=q[e>>2];if(f){continue}e=g+16|0;f=q[g+16>>2];if(f){continue}break}q[c>>2]=0}if(!i){break G}c=q[b+28>>2];d=(c<<2)+972444|0;J:{if(q[d>>2]==(b|0)){q[d>>2]=g;if(g){break J}q[243036]=q[243036]&Twa(-2,c);break G}q[i+(q[i+16>>2]==(b|0)?16:20)>>2]=g;if(!g){break G}}q[g+24>>2]=i;c=q[b+16>>2];if(c){q[g+16>>2]=c;q[c+24>>2]=g}c=q[b+20>>2];if(!c){break G}q[g+20>>2]=c;q[c+24>>2]=g}b=b+k|0;a=a+k|0}q[b+4>>2]=q[b+4>>2]&-2;q[h+4>>2]=a|1;q[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+972180|0;c=q[243035];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break B}e=31;if(a>>>0<=16777215){c=a>>>8|0;b=c+1048320>>>16&8;d=c<>>16&4;f=d<>>16&2;b=(f<>>15|0)-(d|(b|c))|0;e=(b<<1|a>>>b+21&1)+28|0}q[h+28>>2]=e;q[h+16>>2]=0;q[h+20>>2]=0;b=(e<<2)+972444|0;c=q[243036];d=1<>2]=h;q[h+24>>2]=b;break L}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=q[b>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break C}b=e>>>29|0;e=e<<1;d=c+(b&4)|0;b=q[d+16>>2];if(b){continue}break}q[d+16>>2]=h;q[h+24>>2]=c}q[h+12>>2]=h;q[h+8>>2]=h;break B}a=g-40|0;c=b+8&7?-8-b&7:0;h=a-c|0;q[243038]=h;c=b+c|0;q[243041]=c;q[c+4>>2]=h|1;q[(a+b|0)+4>>2]=40;q[243042]=q[243157];a=(d+(d-39&7?39-d&7:0)|0)-47|0;c=a>>>0>>0?e:a;q[c+4>>2]=27;a=q[243150];q[c+16>>2]=q[243149];q[c+20>>2]=a;a=q[243148];q[c+8>>2]=q[243147];q[c+12>>2]=a;q[243149]=c+8;q[243148]=g;q[243147]=b;q[243150]=0;a=c+24|0;while(1){q[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(e|0)){break x}q[c+4>>2]=q[c+4>>2]&-2;d=c-e|0;q[e+4>>2]=d|1;q[c>>2]=d;if(d>>>0<=255){b=d>>>3|0;a=(b<<3)+972180|0;c=q[243035];b=1<>2]}q[a+8>>2]=e;q[b+12>>2]=e;q[e+12>>2]=a;q[e+8>>2]=b;break x}a=31;q[e+16>>2]=0;q[e+20>>2]=0;if(d>>>0<=16777215){b=d>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;g=c<>>16&2;a=(g<>>15|0)-(c|(a|b))|0;a=(a<<1|d>>>a+21&1)+28|0}q[e+28>>2]=a;b=(a<<2)+972444|0;c=q[243036];g=1<>2]=e;q[e+24>>2]=b;break N}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);b=q[b>>2];while(1){c=b;if((d|0)==(q[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;g=c+(b&4)|0;b=q[g+16>>2];if(b){continue}break}q[g+16>>2]=e;q[e+24>>2]=c}q[e+12>>2]=e;q[e+8>>2]=e;break x}a=q[c+8>>2];q[a+12>>2]=h;q[c+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=c;q[h+8>>2]=a}a=j+8|0;break a}a=q[c+8>>2];q[a+12>>2]=e;q[c+8>>2]=e;q[e+24>>2]=0;q[e+12>>2]=c;q[e+8>>2]=a}a=q[243038];if(a>>>0<=f>>>0){break d}b=a-f|0;q[243038]=b;a=q[243041];c=a+f|0;q[243041]=c;q[c+4>>2]=b|1;q[a+4>>2]=f|3;a=a+8|0;break a}q[242957]=48;a=0;break a}O:{if(!j){break O}a=q[d+28>>2];c=(a<<2)+972444|0;P:{if(q[c>>2]==(d|0)){q[c>>2]=b;if(b){break P}i=Twa(-2,a)&i;q[243036]=i;break O}q[j+(q[j+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break O}}q[b+24>>2]=j;a=q[d+16>>2];if(a){q[b+16>>2]=a;q[a+24>>2]=b}a=q[d+20>>2];if(!a){break O}q[b+20>>2]=a;q[a+24>>2]=b}Q:{if(e>>>0<=15){a=e+f|0;q[d+4>>2]=a|3;a=a+d|0;q[a+4>>2]=q[a+4>>2]|1;break Q}q[d+4>>2]=f|3;q[h+4>>2]=e|1;q[e+h>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+972180|0;c=q[243035];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break Q}a=31;if(e>>>0<=16777215){b=e>>>8|0;a=b+1048320>>>16&8;c=b<>>16&4;f=c<>>16&2;a=(f<>>15|0)-(c|(a|b))|0;a=(a<<1|e>>>a+21&1)+28|0}q[h+28>>2]=a;q[h+16>>2]=0;q[h+20>>2]=0;b=(a<<2)+972444|0;S:{c=1<>2]=h;break T}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);f=q[b>>2];while(1){b=f;if((q[b+4>>2]&-8)==(e|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;f=q[c+16>>2];if(f){continue}break}q[c+16>>2]=h}q[h+24>>2]=b;q[h+12>>2]=h;q[h+8>>2]=h;break Q}a=q[b+8>>2];q[a+12>>2]=h;q[b+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=b;q[h+8>>2]=a}a=d+8|0;break a}U:{if(!j){break U}a=q[b+28>>2];c=(a<<2)+972444|0;V:{if(q[c>>2]==(b|0)){q[c>>2]=d;if(d){break V}q[243036]=Twa(-2,a)&k;break U}q[j+(q[j+16>>2]==(b|0)?16:20)>>2]=d;if(!d){break U}}q[d+24>>2]=j;a=q[b+16>>2];if(a){q[d+16>>2]=a;q[a+24>>2]=d}a=q[b+20>>2];if(!a){break U}q[d+20>>2]=a;q[a+24>>2]=d}W:{if(e>>>0<=15){a=e+f|0;q[b+4>>2]=a|3;a=a+b|0;q[a+4>>2]=q[a+4>>2]|1;break W}q[b+4>>2]=f|3;q[l+4>>2]=e|1;q[e+l>>2]=e;if(i){c=i>>>3|0;a=(c<<3)+972180|0;d=q[243040];c=1<>2]}q[a+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=a;q[d+8>>2]=c}q[243040]=l;q[243037]=e}a=b+8|0}ti=m+16|0;return a|0}function una(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=x(0),v=x(0),y=0,z=x(0),A=0,B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=0,T=x(0),U=x(0),V=x(0),W=x(0),X=0,Y=0,Z=x(0),_=x(0),$=x(0),aa=0,ba=0,ca=0;h=ti-304|0;ti=h;T=u[f+8>>2];U=u[f+4>>2];V=u[f>>2];E=u[e+12>>2];F=u[e+8>>2];H=u[e+4>>2];I=u[e>>2];Z=u[d+8>>2];_=u[d+4>>2];$=u[d>>2];j=q[a>>2];hn(h+192|0,1);wj(q[j+3232>>2]);a=q[j+3240>>2];q[j+3240>>2]=a+1;qj(q[j+3232>>2]);q[h+148>>2]=a;q[h+144>>2]=q[59618];hj(h+224|0,32,11254,h+144|0);ll(h+192|0,h+224|0,Ui(h+224|0));Ms(g,32,q[b+8>>2]);a=h+184|0;q[a>>2]=0;q[a+4>>2]=0;q[h+176>>2]=0;q[h+180>>2]=0;Ii(q[b+8>>2],4,h+176|0,a,h+176|4);a:{b:{c:{d:{e:{f:{g:{h:{d=q[b+8>>2];i:{if(d){l=j+3144|0;i=1;e=0;while(1){if(d>>>0<=e>>>0){break b}a=q[b+4>>2];q[h+172>>2]=0;f=a+w(e,80)|0;a=q[f+4>>2];j:{if(!a){break j}d=q[j>>2];if(Nj(d,a,h+172|0)){break j}a=Gv(j,q[h+172>>2],q[f+4>>2]);if(!a){break h}m=q[a+140>>2];q[a+136>>2]=q[a+136>>2]&-2561|q[b+20>>2]<<9&512|2048;q[a+140>>2]=m;K=u[f+72>>2];B=u[f+64>>2];n=u[f+68>>2];if(!(B!=x(0)|n!=x(0)|K!=x(0))){B=u[f+56>>2];n=B;K=n}d=q[f+32>>2];m=q[f+36>>2];k=q[f+40>>2];y=q[f+44>>2];A=q[f+20>>2];L=q[f+16>>2];M=u[f+24>>2];u[a+40>>2]=K;u[a+36>>2]=n;u[a+32>>2]=B;u[a+24>>2]=M;q[a+16>>2]=L;q[a+20>>2]=A;q[a+8>>2]=k;q[a+12>>2]=y;q[a>>2]=d;q[a+4>>2]=m;m=a+104|0;Rs(m,h+192|0,1);d=q[f>>2];k=Km(d,o[q[59618]]);k:{if(!k){q[h+128>>2]=d;Ai(4,7418,10502,h+128|0);i=0;break k}ll(m,d,(k-d|0)+1|0)}Rs(h+272|0,h+192|0,1);d=q[f>>2];ll(h+272|0,d,Ui(d));q[h+152>>2]=$n(h+272|0);q[h+156>>2]=wi;d=q[f>>2];bv(g,vl(d,Ui(d)),wi,h+152|0);d=q[h+180>>2];if((d|0)==q[h+184>>2]){break a}q[h+180>>2]=d+4;q[d>>2]=a;d=q[h+152>>2];m=q[h+156>>2];q[h+268>>2]=a;l:{k=q[j+3148>>2];m:{if(!k){break m}k=q[q[l>>2]+(Qwa(d,m,k)<<2)>>2];if((k|0)==-1){break m}y=q[j+3152>>2];while(1){k=y+(k<<4)|0;if((d|0)==q[k>>2]&(m|0)==q[k+4>>2]){break l}k=q[k+12>>2];if((k|0)!=-1){continue}break}}if(q[a+96>>2]!=q[74208]|q[a+100>>2]!=q[74209]){break l}q[a+96>>2]=d;q[a+100>>2]=m;Wq(l,d,m,h+268|0);if(t[j+3168>>2]<=s[j+1058>>1]){break j}J(7941,7291,1e3,8205);G()}q[h+116>>2]=q[f>>2];q[h+112>>2]=h+224;Ai(4,7418,10564,h+112|0);i=0}d=q[b+8>>2];e=e+1|0;if(d>>>0>e>>>0){continue}break}Yq(h+192|0);if(i){break i}break g}Yq(h+192|0)}e=q[b+8>>2];n:{if(!e){e=0;break n}i=1;k=0;while(1){if(e>>>0<=k>>>0){break b}m=q[b+4>>2]+w(k,80)|0;d=zi(q[m>>2]);f=wi;o:{a=q[g+4>>2];p:{if(!a){break p}e=q[q[g>>2]+(Qwa(d,f,a)<<2)>>2];if((e|0)==-1){break p}l=q[g+8>>2];while(1){a=l+w(e,24)|0;if((d|0)==q[a>>2]&(f|0)==q[a+4>>2]){break o}e=q[a+16>>2];if((e|0)!=-1){continue}break}}J(10611,7291,1383,10621);G()}d=q[j+3148>>2];if(!d){break e}f=q[a+8>>2];l=q[a+12>>2];e=q[q[j+3144>>2]+(Qwa(f,l,d)<<2)>>2];if((e|0)==-1){break e}d=q[j+3152>>2];while(1){a=d+(e<<4)|0;if(q[a>>2]!=(f|0)|q[a+4>>2]!=(l|0)){e=q[a+12>>2];if((e|0)!=-1){continue}break e}break}l=q[a+8>>2];if(!l){break e}e=q[m+12>>2];if(e){A=l+104|0;f=0;while(1){q:{r:{s:{if(e>>>0>f>>>0){y=f<<2;a=q[y+q[m+8>>2]>>2];d=Ui(a);t:{if(r[a|0]==r[q[59618]]){a=vl(a,d);d=wi;break t}Rs(h+272|0,A,0);ll(h+272|0,a,d);a=$n(h+272|0);d=wi}e=q[g+4>>2];u:{if(!e){break u}e=q[q[g>>2]+(Qwa(a,d,e)<<2)>>2];if((e|0)==-1){break u}L=q[g+8>>2];while(1){e=L+w(e,24)|0;if(q[e>>2]!=(a|0)|q[e+4>>2]!=(d|0)){e=q[e+16>>2];if((e|0)!=-1){continue}break u}break}a=q[e+8>>2];d=q[e+12>>2]}e=q[j+3148>>2];if(!e){break s}e=q[q[j+3144>>2]+(Qwa(a,d,e)<<2)>>2];if((e|0)==-1){break s}L=q[j+3152>>2];while(1){e=L+(e<<4)|0;if(q[e>>2]!=(a|0)|q[e+4>>2]!=(d|0)){e=q[e+12>>2];if((e|0)!=-1){continue}break s}break}a=q[e+8>>2];if(!a){break s}a=Cv(a,l);if(!a){break q}if(t[m+12>>2]<=f>>>0){break d}d=q[y+q[m+8>>2]>>2];e=q[m>>2];q[h+104>>2]=a;q[h+100>>2]=d;q[h+96>>2]=e;Ai(4,7418,10660,h+96|0);break r}break d}if(t[m+12>>2]<=f>>>0){break d}q[h+80>>2]=q[y+q[m+8>>2]>>2];Ai(4,7418,10698,h+80|0)}i=0}e=q[m+12>>2];f=f+1|0;if(e>>>0>f>>>0){continue}break}}e=q[b+8>>2];k=k+1|0;if(e>>>0>k>>>0){continue}break}if(!i){break g}}d=q[h+180>>2];f=q[h+176>>2];a=d-f|0;if(a){d=f-d|0;e=((a|0)<(d|0)?d:a)>>>2|0;d=(a|0)>-1?a:-1;l=w(e,(d|0)<1?d:1);y=a>>2;d=0;while(1){if((d|0)==(l|0)){break c}e=q[f+(d<<2)>>2];m=q[e+136>>2];a=q[e+140>>2];v:{w:{i=m>>>16|0;if((i|0)==32767){break w}A=q[e+80>>2];k=q[A+1036>>2];if(i>>>0>=q[A+1040>>2]-k>>2>>>0){break c}if(!q[k+(i<<2)>>2]){break w}K=u[e+40>>2];B=u[e+36>>2];M=u[e+32>>2];R=u[e+12>>2];N=u[e+8>>2];O=u[e+4>>2];n=u[e>>2];break v}M=x(V*u[e+32>>2]);u[e+32>>2]=M;K=x(T*u[e+40>>2]);u[e+40>>2]=K;B=x(U*u[e+36>>2]);u[e+36>>2]=B;n=u[e+12>>2];v=u[e>>2];z=u[e+4>>2];C=u[e+8>>2];R=x(x(x(x(E*n)-x(I*v))-x(H*z))-x(F*C));u[e+12>>2]=R;N=x(x(x(I*z)+x(x(E*C)+x(F*n)))-x(H*v));u[e+8>>2]=N;O=x(x(x(F*v)+x(x(E*z)+x(H*n)))-x(I*C));u[e+4>>2]=O;n=x(x(x(H*C)+x(x(E*v)+x(I*n)))-x(F*z));u[e>>2]=n;v=x(V*u[e+16>>2]);z=x(U*u[e+20>>2]);C=x(T*u[e+24>>2]);D=x(x(x(F*v)+x(E*z))-x(I*C));P=x(x(F*C)+x(x(I*v)+x(H*z)));Q=x(x(x(I*z)+x(E*C))-x(H*v));v=x(x(x(E*v)+x(H*C))-x(F*z));u[e+24>>2]=Z+x(x(I*D)+x(x(x(F*P)+x(E*Q))-x(H*v)));u[e+20>>2]=_+x(x(F*v)+x(x(x(E*D)+x(H*P))-x(I*Q)));u[e+16>>2]=$+x(x(H*Q)+x(x(x(I*P)+x(E*v))-x(F*D)))}a=a&32767;i=q[j+3128>>2];if(a>>>0>=q[j+3132>>2]-i>>6>>>0){break c}C=u[e+24>>2];m=q[e+16>>2];e=q[e+20>>2];a=i+(a<<6)|0;v=x(N+N);D=x(R*v);z=x(O+O);P=x(n*z);u[a+4>>2]=M*x(D+P);Q=x(v*n);W=x(R*z);u[a+8>>2]=M*x(Q-W);u[a+12>>2]=M*x(0);u[a+16>>2]=B*x(P-D);u[a+32>>2]=K*x(Q+W);q[a+48>>2]=m;q[a+52>>2]=e;D=n;n=x(n+n);D=x(x(1)-x(D*n));N=x(N*v);u[a+20>>2]=B*x(D-N);v=x(O*v);n=x(R*n);u[a+24>>2]=B*x(v+n);u[a+28>>2]=B*x(0);u[a+36>>2]=K*x(v-n);n=x(O*z);u[a+40>>2]=K*x(D-n);u[a+44>>2]=K*x(0);q[a+60>>2]=1065353216;u[a+56>>2]=C;u[a>>2]=M*x(x(x(1)-n)-N);d=d+1|0;if((y|0)!=(d|0)){continue}break}e=q[b+8>>2]}a=h+160|0;q[a>>2]=0;q[a+4>>2]=0;q[h+152>>2]=0;q[h+156>>2]=0;Ii(e,4,h+152|0,a,h+152|4);x:{y:{z:{A:{B:{e=q[b+8>>2];if(e){aa=j+3144|0;m=h+272|4;k=1;A=0;while(1){C:{D:{E:{if(e>>>0>A>>>0){y=q[b+4>>2]+w(A,80)|0;d=zi(q[y>>2]);f=wi;F:{a=q[g+4>>2];G:{if(!a){break G}e=q[q[g>>2]+(Qwa(d,f,a)<<2)>>2];if((e|0)==-1){break G}i=q[g+8>>2];while(1){a=i+w(e,24)|0;if((d|0)==q[a>>2]&(f|0)==q[a+4>>2]){break F}e=q[a+16>>2];if((e|0)!=-1){continue}break}}J(10718,7291,1458,10621);G()}d=0;e=q[j+3148>>2];H:{if(!e){break H}f=q[a+8>>2];i=q[a+12>>2];e=q[q[j+3144>>2]+(Qwa(f,i,e)<<2)>>2];if((e|0)==-1){break H}l=q[j+3152>>2];while(1){a=l+(e<<4)|0;if(q[a>>2]!=(f|0)|q[a+4>>2]!=(i|0)){e=q[a+12>>2];if((e|0)!=-1){continue}break H}break}d=q[a+8>>2]}if(!et(j,d)){break E}a=q[h+156>>2];if((a|0)!=q[h+160>>2]){q[h+156>>2]=a+4;q[a>>2]=d;a=q[d+84>>2];X=q[a+4>>2];if(!X){break C}ba=q[a>>2];L=0;S=0;while(1){I:{l=w(L,96)+ba|0;a=q[l+16>>2];if(q[a+80>>2]){if(!(o[a+102|0]&1)){a=Mi(q[l>>2],q[l+4>>2]);d=q[y>>2];q[h+8>>2]=q[b>>2];q[h+4>>2]=d;q[h>>2]=a;Ai(4,7418,10730,h);break D}J:{f=q[y+52>>2];if(!f){i=0;break J}e=0;while(1){i=q[y+48>>2]+w(e,92)|0;if((zi(q[i>>2])|0)==q[l>>2]&(wi|0)==q[l+4>>2]){i=EA(i+12|0);if(i){break J}e=Mi(q[l>>2],q[l+4>>2]);f=q[y>>2];q[h+72>>2]=q[b>>2];q[h+68>>2]=f;q[h+64>>2]=e;Ai(4,7418,10856,h- -64|0);i=0;k=0;break J}e=e+1|0;if((f|0)==(e|0)){i=0;break J}if(t[y+52>>2]>e>>>0){continue}break}J(9500,9512,160,9553);G()}f=zi(q[y>>2]);Y=wi;K:{L:{M:{N:{O:{e=q[c+4>>2];P:{if(!e){break P}e=q[q[c>>2]+(Qwa(f,Y,e)<<2)>>2];if((e|0)==-1){break P}ca=q[c+8>>2];while(1){e=ca+w(e,24)|0;if((f|0)==q[e>>2]&(Y|0)==q[e+4>>2]){break O}e=q[e+16>>2];if((e|0)!=-1){continue}break}}f=0;if(!(k&1)){break N}e=(i|0)!=0;break L}f=0;Q:{if(nj(q[a+4>>2],10956)){break Q}f=dL(q[a+16>>2],q[e+8>>2],q[e+12>>2]);if(f){break Q}a=Mi(q[l>>2],q[l+4>>2]);d=q[y>>2];q[h+40>>2]=q[b>>2];q[h+36>>2]=d;q[h+32>>2]=a;Ai(4,7418,10964,h+32|0);f=0;break N}if(k&1){break M}}yi(f);yi(i);break D}e=(i|0)!=0;if(!i|!f){break L}e=Noa(i,f);yi(f);yi(i);if(e){break K}a=Mi(q[l>>2],q[l+4>>2]);d=q[y>>2];q[h+56>>2]=q[b>>2];q[h+52>>2]=d;q[h+48>>2]=a;Ai(4,7418,11070,h+48|0);break D}e=e?i:f}f=m;q[f>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[h+272>>2]=d;if(e){q[h+284>>2]=e;q[h+280>>2]=27;q[h+276>>2]=28}q[h+288>>2]=((S<<2)+d|0)+156;if(xi[q[a+80>>2]](h+272|0)|0){break I}k=1;a=q[l+16>>2]}S=(p[a+102>>1]&1)+S|0;L=L+1|0;if((X|0)!=(L|0)){continue}break C}break}a=Mi(q[l>>2],q[l+4>>2]);d=q[y>>2];q[h+24>>2]=q[b>>2];q[h+20>>2]=d;q[h+16>>2]=a;Ai(4,7418,11170,h+16|0);yi(e);break D}break a}break b}FK(j,d);Bv(j,d);Hv(j,q[d+148>>2]);a=q[d+96>>2];e=q[d+100>>2];if((a|0)!=q[74208]|(e|0)!=q[74209]){Xq(aa,a,e);a=q[74209];q[d+96>>2]=q[74208];q[d+100>>2]=a}gr(j,d)}k=0}e=q[b+8>>2];A=A+1|0;if(e>>>0>A>>>0){continue}break}if(!(k&1)){break B}}d=q[h+152>>2];a=q[h+156>>2]-d|0;if(!a){f=1;break z}f=a>>2;e=0;while(1){if(e>>>0>=f>>>0){break c}if(!xA(j,q[(e<<2)+d>>2])){break B}e=e+1|0;b=q[h+156>>2];d=q[h+152>>2];a=b-d|0;f=a>>2;if((e|0)!=(f|0)){continue}break}break A}d=q[h+152>>2];a=q[h+156>>2]-d|0;if(a){f=a>>2;e=0;while(1){if(e>>>0>=f>>>0){break c}dt(j,q[(e<<2)+d>>2],0);e=e+1|0;d=q[h+152>>2];f=q[h+156>>2]-d>>2;if((e|0)!=(f|0)){continue}break}}Fi(q[g>>2],255,q[g+4>>2]<<2);q[g+20>>2]=-1;q[g+24>>2]=0;q[g+12>>2]=q[g+8>>2];f=0;break z}if(!a){f=1;break z}b=d-b|0;c=((a|0)<(b|0)?b:a)>>>2|0;b=(a|0)>-1?a:-1;c=w(c,(b|0)<1?b:1);g=a>>2;e=0;while(1){if((c|0)==(e|0)){break c}b=q[(e<<2)+d>>2];f=q[b+148>>2];if(f&32768){break y}i=q[b+140>>2];a=i;if(!(a&32768)){q[b+148>>2]=f|32768;a=a&32767;b=s[j+3266>>1];R:{if((b|0)!=32767){f=q[j+1036>>2];if(b>>>0>=q[j+1040>>2]-f>>2>>>0){break x}p[q[f+(b<<2)>>2]+146>>1]=a;break R}p[j+3264>>1]=a}p[j+3266>>1]=a}f=1;e=e+1|0;if((g|0)!=(e|0)){continue}break}}if(o[h+164|0]&1){break f}a=q[h+152>>2];if(!a){break f}yi(a);break f}J(11594,7291,1021,11621);G()}break c}Pi(d,q[h+172>>2]);Yq(h+192|0)}f=q[h+180>>2];d=q[h+176>>2];a=f-d|0;if(a){b=j+3144|0;k=a>>2;e=0;while(1){if(e>>>0>=k>>>0){break c}c=e<<2;a=q[c+d>>2];i=q[a+96>>2];m=q[a+100>>2];if((i|0)!=q[74208]|(m|0)!=q[74209]){Xq(b,i,m);d=q[74209];q[a+96>>2]=q[74208];q[a+100>>2]=d;f=q[h+180>>2];d=q[h+176>>2]}if(f-d>>2>>>0<=e>>>0){break c}gr(j,q[c+d>>2]);e=e+1|0;f=q[h+180>>2];d=q[h+176>>2];k=f-d>>2;if((e|0)!=(k|0)){continue}break}}Fi(q[g>>2],255,q[g+4>>2]<<2);q[g+20>>2]=-1;q[g+24>>2]=0;q[g+12>>2]=q[g+8>>2];f=0}S:{if(o[h+188|0]&1){break S}a=q[h+176>>2];if(!a){break S}yi(a)}ti=h+304|0;return f}J(10653,7291,1386,10621);G()}J(9500,9512,151,9553);G()}J(12518,10061,479,9553);G()}J(9500,9512,244,9553);G()}J(12529,10061,533,12553);G()}function fC(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,p=0,s=0,u=0,v=0,x=0,y=0;q[a+18404>>2]=0;q[a+18408>>2]=-1;o[a+18372|0]=255;c=q[a>>2];d=q[c+172>>2];a:{b:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break b}if(!q[c+32>>2]){break a}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;c:{if(!i){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break c}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){break a}while(1){c=q[a>>2];d=q[c+172>>2];d:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break d}if(!q[c+32>>2]){break a}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;e:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break e}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}d=f&255;if((d|0)==255){continue}break}if((d|0)!=216){break a}f=1;f:{if((b|0)==1){break f}f=r[a+18372|0];g:{if((f|0)!=255){o[a+18372|0]=255;break g}g=q[a>>2];d=q[g+172>>2];h:{if(d>>>0>2]){q[g+172>>2]=d+1;c=r[d|0];break h}if(!q[g+32>>2]){f=255;break g}d=g+40|0;c=xi[q[g+16>>2]](q[g+28>>2],d,q[g+36>>2])|0;q[g+168>>2]=q[g+168>>2]+(q[g+172>>2]-q[g+180>>2]|0);i:{if(!c){o[g+40|0]=0;q[g+32>>2]=0;f=g+41|0;c=0;break i}f=c+d|0;c=r[g+40|0]}q[g+176>>2]=f;q[g+172>>2]=g+41}f=255;if((c&255)!=255){break g}while(1){c=q[a>>2];d=q[c+172>>2];j:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break j}if(!q[c+32>>2]){f=0;break g}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;k:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break k}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}}d=f&255;c=(d|0)==194;l:{if(c|(f&254)==192){break l}while(1){f=0;if(!cC(a,d)){break f}f=r[a+18372|0];m:{if((f|0)!=255){o[a+18372|0]=255;break m}c=q[a>>2];d=q[c+172>>2];n:{o:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break o}if(!q[c+32>>2]){break n}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;p:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break p}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){break n}while(1){c=q[a>>2];d=q[c+172>>2];q:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break q}if(!q[c+32>>2]){f=0;break m}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;r:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break r}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}break m}while(1){s:{d=q[a>>2];if(q[d+16>>2]){if(!(xi[q[d+24>>2]](q[d+28>>2])|0)){break s}if(!q[d+32>>2]){break a}}if(t[d+172>>2]>2]){break s}break a}f=r[a+18372|0];if((f|0)!=255){o[a+18372|0]=255;break m}c=q[a>>2];d=q[c+172>>2];t:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break t}if(!q[c+32>>2]){continue}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;u:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break u}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)!=255){continue}break}while(1){c=q[a>>2];d=q[c+172>>2];v:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break v}if(!q[c+32>>2]){f=0;break m}g=c+40|0;i=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;w:{if(!i){f=0;o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;break w}f=r[c+40|0];g=g+i|0}q[d+176>>2]=g;q[c+172>>2]=c+41}if((f&255)==255){continue}break}}d=f&255;c=(d|0)==194;if(c){break l}if((f&254)!=192){continue}break}}q[a+18380>>2]=c;e=q[a>>2];d=q[e+172>>2];f=q[e+176>>2];x:{if(d>>>0>>0){c=d+1|0;q[e+172>>2]=c;h=r[d|0];break x}if(!q[e+32>>2]){c=d;break x}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);y:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;h=0;break y}f=c+d|0;h=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}g=(h&255)<<8;z:{if(c>>>0>>0){d=c+1|0;q[e+172>>2]=d;h=r[c|0];break z}if(!q[e+32>>2]){h=0;d=c;break z}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);A:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;h=0;break A}f=c+d|0;h=r[e+40|0]}q[e+176>>2]=f;d=e+41|0;q[e+172>>2]=d}l=g|h&255;if(l>>>0<=10){break a}B:{C:{D:{if(d>>>0>>0){c=d+1|0;q[e+172>>2]=c;g=r[d|0];break D}if(!q[e+32>>2]){break C}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);E:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;g=0;break E}f=c+d|0;g=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}if((g&255)==8){break B}}q[215613]=164223;return 0}F:{if(c>>>0>>0){g=c+1|0;q[e+172>>2]=g;d=r[c|0];break F}if(!q[e+32>>2]){d=0;g=c;break F}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);G:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break G}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;g=e+41|0;q[e+172>>2]=g}h=(d&255)<<8;H:{if(f>>>0>g>>>0){c=g+1|0;q[e+172>>2]=c;j=r[g|0];break H}if(!q[e+32>>2]){c=g;break H}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);I:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;j=0;break I}f=c+d|0;j=r[e+40|0]}q[e+176>>2]=f;c=e+41|0;q[e+172>>2]=c}d=h|j&255;q[e+4>>2]=d;if(!d){q[215613]=164261;return 0}J:{if(c>>>0>>0){g=c+1|0;q[e+172>>2]=g;d=r[c|0];break J}if(!q[e+32>>2]){d=0;g=c;break J}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);K:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break K}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;g=e+41|0;q[e+172>>2]=g}c=(d&255)<<8;L:{if(f>>>0>g>>>0){i=g+1|0;q[e+172>>2]=i;d=r[g|0];break L}if(!q[e+32>>2]){d=0;i=g;break L}d=e+40|0;h=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);M:{if(!h){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break M}f=d+h|0;d=r[e+40|0]}q[e+176>>2]=f;i=e+41|0;q[e+172>>2]=i}d=c|d&255;q[e>>2]=d;if(!d){break a}if(t[e+4>>2]>=16777217){q[215613]=164303;return 0}N:{if(f>>>0>i>>>0){j=i+1|0;q[e+172>>2]=j;d=r[i|0];break N}if(!q[e+32>>2]){break a}d=e+40|0;c=xi[q[e+16>>2]](q[e+28>>2],d,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);O:{if(!c){o[e+40|0]=0;q[e+32>>2]=0;f=e+41|0;d=0;break O}f=c+d|0;d=r[e+40|0]}q[e+176>>2]=f;j=e+41|0;q[e+172>>2]=j}if(!(1<>>0>4){break a}q[e+8>>2]=d;c=0;while(1){h=w(c,72)+a|0;q[h+18132>>2]=0;q[h+18120>>2]=0;c=c+1|0;if((c|0)!=(d|0)){continue}break}if((l|0)!=(w(d,3)+8|0)){break a}i=0;q[a+18412>>2]=0;if(d){c=e+41|0;m=e+40|0;i=d;g=0;while(1){P:{if(f>>>0>j>>>0){h=j+1|0;q[e+172>>2]=h;d=r[j|0];break P}if(!q[e+32>>2]){d=0;h=j;break P}d=xi[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);Q:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;d=0;break Q}f=d+m|0;d=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;i=q[e+8>>2];h=c}l=w(g,72)+a|0;d=d&255;q[l+18076>>2]=d;if(!((i|0)!=3|(d|0)!=r[g+164331|0])){q[a+18412>>2]=q[a+18412>>2]+1}R:{if(f>>>0>h>>>0){d=h+1|0;q[e+172>>2]=d;j=r[h|0];break R}if(!q[e+32>>2]){j=0;d=h;break R}d=xi[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);S:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;j=0;break S}f=d+m|0;j=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;d=c}j=j&255;h=j>>>4|0;q[l+18080>>2]=h;if(!(h?j>>>0<=79:0)){break a}h=j&15;q[l+18084>>2]=h;if(h-1>>>0>=4){break a}T:{U:{if(d>>>0>>0){j=d+1|0;q[e+172>>2]=j;h=r[d|0];break U}if(!q[e+32>>2]){q[l+18088>>2]=0;j=d;break T}d=xi[q[e+16>>2]](q[e+28>>2],m,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);V:{if(!d){o[e+40|0]=0;q[e+32>>2]=0;f=c;h=0;break V}f=d+m|0;h=r[e+40|0]}q[e+172>>2]=c;q[e+176>>2]=f;j=c}d=h&255;q[l+18088>>2]=d;if(d>>>0<4){break T}break a}g=g+1|0;i=q[e+8>>2];if((g|0)<(i|0)){continue}break}}f=1;if(b){break f}f=0;W:{j=q[e>>2];h=q[e+4>>2];if((j|h)<0|((2147483647/(h|0)|0)<(j|0)?h:0)){break W}g=0;d=w(h,j);if((d|i)<0){break W}c=1;b=1;X:{if(!i){break X}if((d|0)>(2147483647/(i|0)|0)){break W}if((i|0)<=0){break X}while(1){g=w(f,72)+a|0;d=q[g+18084>>2];b=(b|0)<(d|0)?d:b;d=q[g+18080>>2];c=(c|0)<(d|0)?d:c;g=1;f=f+1|0;if((i|0)!=(f|0)){continue}break}}q[a+18056>>2]=b;q[a+18052>>2]=c;f=b<<3;q[a+18072>>2]=f;d=c<<3;q[a+18068>>2]=d;v=((f+h|0)-1>>>0)/(f>>>0)|0;q[a+18064>>2]=v;x=((d+j|0)-1>>>0)/(d>>>0)|0;q[a+18060>>2]=x;f=1;if(!g){break f}y=b-1|0;m=c-1|0;g=0;while(1){k=w(g,72)+a|0;l=k+18136|0;q[l>>2]=0;s=k+18128|0;q[s>>2]=0;q[s+4>>2]=0;i=q[k+18084>>2];u=w(i,v);n=u<<3;q[k+18116>>2]=n;f=q[k+18080>>2];d=w(f,x);p=d<<3;q[k+18112>>2]=p;q[k+18104>>2]=(m+w(f,j)>>>0)/(c>>>0);q[k+18108>>2]=(w(h,i)+y>>>0)/(b>>>0);Y:{Z:{if(!(!u|(2147483647/(n|0)|0)>=(p|0)?(n|p)>=0:0)){q[(w(g,72)+a|0)+18124>>2]=0;break Z}j=w(n,p);h=Ji(j|15);q[k+18124>>2]=h;if(h){break Y}}q[215613]=164360;c=0;while(1){h=w(c,72)+a|0;d=h+18124|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0;q[h+18120>>2]=0}d=h+18128|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0;q[h+18136>>2]=0}d=h+18132|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0}b=(c|0)==(g|0);f=0;c=c+1|0;if(!b){continue}break}break f}q[k+18120>>2]=h+15&-16;_:{if(q[a+18380>>2]){q[k+18144>>2]=u;q[k+18140>>2]=d;$:{aa:{if(u){if((2147483647/(n|0)|0)<(p|0)|j>>>0>1073741823){break aa}break $}if(j>>>0<1073741824){break $}}q[s>>2]=0;break _}d=Ji(j<<1|15);q[s>>2]=d;if(!d){break _}q[l>>2]=d+15&-16}f=1;g=g+1|0;if((g|0)>=q[e+8>>2]){break f}h=q[e+4>>2];j=q[e>>2];continue}break}q[215613]=164360;c=0;while(1){h=w(c,72)+a|0;d=h+18124|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0;q[h+18120>>2]=0}d=h+18128|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0;q[h+18136>>2]=0}d=h+18132|0;b=q[d>>2];if(b){yi(b);q[d>>2]=0}b=(c|0)==(g|0);f=0;c=c+1|0;if(!b){continue}break}break f}q[215613]=164334}return f}q[215613]=164129;return 0}function i7(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=x(0),p=0,v=0,y=0,z=0;k=ti-192|0;ti=k;q[k+184>>2]=0;d=q[a+44>>2];if(d){while(1){c=q[q[a+40>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){d=q[a+48>>2]+w(c,960)|0;u[d+12>>2]=u[d+8>>2];q[d+8>>2]=0;q[d+792>>2]=0;q[d+796>>2]=0;q[d+532>>2]=0;q[d+948>>2]=q[d+948>>2]&-399;c=q[d+952>>2];if((c|0)!=-1){continue}break}d=q[a+44>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}v=q[q[a>>2]+72>>2];q[k+176>>2]=0;q[k+180>>2]=0;q[k+168>>2]=0;q[k+172>>2]=0;q[k+160>>2]=0;q[k+164>>2]=0;q[k+152>>2]=0;q[k+156>>2]=0;q[k+144>>2]=0;q[k+148>>2]=0;f=q[a+4>>2];a:{if(!f){break a}g=f+48|0;if(!iI(q[f>>2],g)){break a}c=q[f+92>>2];if((c|0)!=q[f+96>>2]){e=0;while(1){c=(e<<4)+c|0;d=0;b:{if(!g){break b}d=q[(q[c>>2]<<2)+851888>>2];d=q[g+((d|0)/32<<2)>>2]>>>d&1}l=q[a+44>>2];c:{if(!l){break c}m=q[c+8>>2];h=q[c+12>>2];c=q[q[a+40>>2]+(Qwa(m,h,l)<<2)>>2];if((c|0)==-1){break c}j=d?x(1):x(0);l=q[a+48>>2];while(1){d=l+w(c,960)|0;if(q[d>>2]!=(m|0)|q[d+4>>2]!=(h|0)){c=q[d+952>>2];if((c|0)!=-1){continue}break c}break}n=u[d+8>>2];if(j>(n>=x(0)?n:x(-n))^1){break c}u[d+8>>2]=j}e=e+1|0;c=q[f+92>>2];if(e>>>0>2]-c>>4>>>0){continue}break}}d=q[g+4>>2];q[f+4>>2]=q[g>>2];q[f+8>>2]=d;q[f+44>>2]=q[g+40>>2];d=q[g+36>>2];q[f+36>>2]=q[g+32>>2];q[f+40>>2]=d;d=q[g+28>>2];q[f+28>>2]=q[g+24>>2];q[f+32>>2]=d;d=q[g+20>>2];q[f+20>>2]=q[g+16>>2];q[f+24>>2]=d;d=q[g+12>>2];q[f+12>>2]=q[g+8>>2];q[f+16>>2]=d}e=q[a+36>>2];d:{if(!e){break d}e:{if(!d8(v,e)){break e}l=q[e+524>>2];m=q[e+528>>2];if((l|0)==(m|0)){break e}g=0;while(1){d=(g<<4)+l|0;f:{if(q[d>>2]){break f}f=q[a+44>>2];if(!f){break f}h=q[d+8>>2];d=q[d+12>>2];c=q[q[a+40>>2]+(Qwa(h,d,f)<<2)>>2];if((c|0)==-1){break f}f=q[a+48>>2];while(1){c=f+w(c,960)|0;if(q[c>>2]==(h|0)&q[c+4>>2]==(d|0)){d=0;if(q[e+256>>2]){while(1){o[(c+d|0)+536|0]=r[d+e|0];d=d+1|0;f=q[e+256>>2];if(d>>>0>>0){continue}break}l=q[e+524>>2];m=q[e+528>>2];d=f}q[c+796>>2]=(d|0)!=0;q[c+792>>2]=d;break f}c=q[c+952>>2];if((c|0)!=-1){continue}break}}g=g+1|0;if(g>>>0>4>>>0){continue}break}}if(!f8(v,e+260|0)){break d}l=q[e+524>>2];m=q[e+528>>2];if((l|0)==(m|0)){break d}g=0;while(1){d=(g<<4)+l|0;g:{if(q[d>>2]!=1){break g}f=q[a+44>>2];if(!f){break g}h=q[d+8>>2];d=q[d+12>>2];c=q[q[a+40>>2]+(Qwa(h,d,f)<<2)>>2];if((c|0)==-1){break g}f=q[a+48>>2];while(1){c=f+w(c,960)|0;if(q[c>>2]==(h|0)&q[c+4>>2]==(d|0)){d=0;if(q[e+516>>2]){while(1){o[(c+d|0)+536|0]=r[(d+e|0)+260|0];d=d+1|0;f=q[e+516>>2];if(d>>>0>>0){continue}break}l=q[e+524>>2];m=q[e+528>>2];d=f}q[c+792>>2]=d;q[c+796>>2]=o[e+520|0]&1|(d|0)!=0;break g}c=q[c+952>>2];if((c|0)!=-1){continue}break}}g=g+1|0;if(g>>>0>4>>>0){continue}break}}d=q[a+8>>2];h:{if(!d){break h}f=d+20|0;if(!e8(q[d>>2],f)){break h}c=q[d+20>>2];q[k+152>>2]=c;e=q[d+24>>2];q[k+156>>2]=e;q[k+160>>2]=c-q[d+4>>2];c=q[d+8>>2];y=1;o[k+180|0]=1;q[k+164>>2]=e-c;c=q[d+36>>2];if((c|0)!=q[d+40>>2]){g=0;while(1){i:{j:{k:{l:{c=(g<<4)+c|0;l=q[c>>2];switch(l|0){case 1:break k;case 0:break l;default:break j}}j=x(q[d+28>>2]-q[d+12>>2]|0);break i}j=x(q[d+12>>2]-q[d+28>>2]|0);break i}if(f){e=q[(l<<2)+852400>>2];i=q[(f+((e|0)/32<<2)|0)+12>>2]>>>e&1}else{i=0}j=i?x(1):x(0)}e=q[a+44>>2];m:{if(!e){break m}l=q[c+8>>2];m=q[c+12>>2];c=q[q[a+40>>2]+(Qwa(l,m,e)<<2)>>2];if((c|0)==-1){break m}j=j>2];while(1){c=e+w(c,960)|0;if(q[c>>2]!=(l|0)|q[c+4>>2]!=(m|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break m}break}n=u[c+8>>2];if((n>=x(0)?n:x(-n))<(j>=x(0)?j:x(-j))^1){break m}u[c+8>>2]=j}g=g+1|0;c=q[d+36>>2];if(g>>>0>2]-c>>4>>>0){continue}break}}c=q[f+4>>2];q[d+4>>2]=q[f>>2];q[d+8>>2]=c;c=q[f+12>>2];q[d+12>>2]=q[f+8>>2];q[d+16>>2]=c}n:{o:{p:{q:{c=q[a+12>>2];if((c|0)!=q[a+16>>2]){l=0;while(1){e=q[(l<<2)+c>>2];r:{if(!e){break r}d=q[e+312>>2];if(d){g=0;while(1){c=q[q[e+308>>2]+(g<<2)>>2];if((c|0)!=-1){while(1){d=q[e+316>>2]+w(c,960)|0;u[d+12>>2]=u[d+8>>2];q[d+8>>2]=0;q[d+792>>2]=0;q[d+796>>2]=0;q[d+532>>2]=0;q[d+948>>2]=q[d+948>>2]&-399;c=q[d+952>>2];if((c|0)!=-1){continue}break}d=q[e+312>>2]}g=g+1|0;if(g>>>0>>0){continue}break}}h=r[e+345|0];c=h&1;i=c;m=q[e>>2];f=m;d=0;s:{if(!f){break s}d=o[f+147|0]<0}f=d^1;t:{if(!(i|f)){Lz(q[q[a>>2]+72>>2],m,k+16|0);q[e+340>>2]=Ps(k+16|0);f=d;d=r[e+345|0]&-4;o[e+345|0]=f|d;h=d|1;break t}o[e+345|0]=d|h&254;if(f&!c){break r}}u:{v:{w:{d=q[a>>2];f=q[d+12>>2];x:{if(!f){break x}i=q[d+8>>2];g=q[e+340>>2];c=q[i+((g>>>0)%(f>>>0)<<2)>>2];if((c|0)!=-1){p=q[d+16>>2];while(1){c=w(c,184)+p|0;if((g|0)==q[c>>2]){break v}c=q[c+180>>2];if((c|0)!=-1){continue}break}}g=q[212970];c=q[i+((g>>>0)%(f>>>0)<<2)>>2];if((c|0)==-1){break x}f=q[d+16>>2];while(1){d=f+w(c,184)|0;if((g|0)==q[d>>2]){break w}c=q[d+180>>2];if((c|0)!=-1){continue}break}}if(h&2){break r}q[k>>2]=r[e+344|0];Ai(3,143998,144279,k);o[e+345|0]=r[e+345|0]|2;break r}f=d+4|0;break u}f=c+4|0}g=e+148|0;g8(m,g);d=s[f+74>>1];c=s[f+92>>1];h=s[f+26>>1];y:{if((h|0)==65535){break y}i=s[f+8>>1];if((i|0)==65535){break y}if(h>>>0>=32){break n}if(i>>>0>=32){break o}i=g+(i<<2)|0;j=u[i>>2];n=x(j*j);h=g+(h<<2)|0;j=u[h>>2];n=x(n+x(j*j));j=u[f+4>>2];if(n<=x(j*j)^1){break y}q[i>>2]=0;q[h>>2]=0}z:{if((c|0)==65535|(d|0)==65535){break z}if(c>>>0>=32){break p}if(d>>>0>=32){break q}d=g+(d<<2)|0;j=u[d>>2];n=x(j*j);c=g+(c<<2)|0;j=u[c>>2];n=x(n+x(j*j));j=u[f+4>>2];if(n<=x(j*j)^1){break z}q[d>>2]=0;q[c>>2]=0}c=q[e+292>>2];if((c|0)!=q[e+296>>2]){d=0;while(1){A:{B:{C:{D:{E:{F:{c=(d<<4)+c|0;h=q[c>>2];switch(h-25|0){case 0:break D;case 2:break E;case 1:break F;default:break C}}if(!r[e+288|0]){break C}break B}h=q[e+312>>2];if(!h){break A}i=q[c+8>>2];p=q[c+12>>2];c=q[q[e+308>>2]+(Qwa(i,p,h)<<2)>>2];if((c|0)==-1){break A}h=q[e+316>>2];while(1){c=h+w(c,960)|0;if(q[c>>2]!=(i|0)|q[c+4>>2]!=(p|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break A}break}Gi(c+804|0,g,144);q[c+948>>2]=q[c+948>>2]|8;break A}if(r[e+289|0]){break B}}h=f+w(h,6)|0;i=h+8|0;if(s[i>>1]==65535){break A}j=r7(g,i);i=q[e+312>>2];if(!i){break A}p=q[c+8>>2];z=q[c+12>>2];c=q[q[e+308>>2]+(Qwa(p,z,i)<<2)>>2];if((c|0)==-1){break A}i=q[e+316>>2];while(1){c=i+w(c,960)|0;if(q[c>>2]!=(p|0)|q[c+4>>2]!=(z|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break A}break}n=u[c+8>>2];if(!((n>=x(0)?n:x(-n))<(j>=x(0)?j:x(-j))^1)){u[c+8>>2]=j;n=j}i=q[c+948>>2];q[c+948>>2]=i&-513;if(r[h+12|0]&3|u[c+12>>2]==n){break A}q[c+948>>2]=i|512;break A}h=q[e+312>>2];if(!h){break A}i=q[c+8>>2];p=q[c+12>>2];c=q[q[e+308>>2]+(Qwa(i,p,h)<<2)>>2];if((c|0)==-1){break A}h=q[e+316>>2];while(1){c=h+w(c,960)|0;if(q[c>>2]!=(i|0)|q[c+4>>2]!=(p|0)){c=q[c+952>>2];if((c|0)!=-1){continue}break A}break}h=q[c+948>>2]&-3|r[e+288|0]<<1&254;q[c+948>>2]=h;i=h&-5;h=r[e+289|0];q[c+948>>2]=i|h<<2&252;if(!h){break A}Lz(q[q[a>>2]+72>>2],m,k+16|0);q[c+792>>2]=zj(c+536|0,k+16|0,256)}d=d+1|0;c=q[e+292>>2];if(d>>>0>2]-c>>4>>>0){continue}break}}Gi(e+4|0,g,144)}l=l+1|0;c=q[a+12>>2];if(l>>>0>2]-c>>2>>>0){continue}break}}f=q[a+28>>2];G:{if(!f){break G}l=f+492|0;if(!c8(q[f>>2],l)){break G}e=q[f+980>>2];g=q[f+984>>2];if((e|0)!=(g|0)){m=0;while(1){d=q[a+44>>2];H:{if(!d){break H}c=(m<<4)+e|0;h=q[c+8>>2];i=q[c+12>>2];c=q[q[a+40>>2]+(Qwa(h,i,d)<<2)>>2];if((c|0)==-1){break H}p=q[a+48>>2];while(1){d=p+w(c,960)|0;if(q[d>>2]!=(h|0)|q[d+4>>2]!=(i|0)){c=q[d+952>>2];if((c|0)!=-1){continue}break H}break}I:{J:{h=q[f+976>>2];if((h|0)<12){q[d+8>>2]=0;if((h|0)<1){break I}q[d+88>>2]=q[f+532>>2];c=q[f+528>>2];q[d+80>>2]=q[f+524>>2];q[d+84>>2]=c;c=q[f+520>>2];e=q[f+516>>2];q[d+72>>2]=e;q[d+76>>2]=c;g=q[f+512>>2];c=d- -64|0;q[c>>2]=q[f+508>>2];q[c+4>>2]=g;c=q[f+504>>2];g=q[f+500>>2];q[d+56>>2]=g;q[d+60>>2]=c;i=q[f+496>>2];q[d+48>>2]=q[f+492>>2];q[d+52>>2]=i;i=q[f+496>>2];q[d+28>>2]=e;q[d+20>>2]=g;q[d+24>>2]=c;q[d+32>>2]=q[d+76>>2];q[d+948>>2]=q[d+948>>2]|128;if(i>>>0<=2){q[d+8>>2]=1065353216}g=1;if((h|0)==1){break J}while(1){c=w(g,44);e=c+d|0;c=c+f|0;q[e+88>>2]=q[c+532>>2];i=q[c+528>>2];q[e+80>>2]=q[c+524>>2];q[e+84>>2]=i;i=q[c+520>>2];q[e+72>>2]=q[c+516>>2];q[e+76>>2]=i;p=q[c+512>>2];i=e- -64|0;q[i>>2]=q[c+508>>2];q[i+4>>2]=p;i=q[c+504>>2];q[e+56>>2]=q[c+500>>2];q[e+60>>2]=i;i=q[c+496>>2];q[e+48>>2]=q[c+492>>2];q[e+52>>2]=i;if(t[c+496>>2]<=2){q[d+8>>2]=1065353216}g=g+1|0;if((h|0)!=(g|0)){continue}break}break J}J(144331,144115,850,144052);G()}e=q[f+980>>2];g=q[f+984>>2];h=q[f+976>>2]}q[d+532>>2]=h}m=m+1|0;if(m>>>0>4>>>0){continue}break}}Gi(f+4|0,l,488)}K:{if(!q[a+32>>2]){break K}o[k+180|0]=y;if(!(q[v+3480>>2]&1)){break K}d=q[a+32>>2];f=d+12|0;if(f){c=q[v+3456>>2];q[f>>2]=q[v+3452>>2];q[f+4>>2]=c;q[f+8>>2]=q[v+3460>>2]}u[k+168>>2]=u[d+12>>2];u[k+172>>2]=u[d+16>>2];j=u[d+20>>2];o[k+180|0]=y|2;u[k+176>>2]=j;q[d+8>>2]=q[d+20>>2];f=q[d+16>>2];q[d>>2]=q[d+12>>2];q[d+4>>2]=f}u[k+144>>2]=b;q[k+148>>2]=q[a>>2];e=q[a+44>>2];if(e){d=0;while(1){c=q[q[a+40>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){f=q[a+48>>2]+w(c,960)|0;hH(k+144|0,f,f+8|0);c=q[f+952>>2];if((c|0)!=-1){continue}break}e=q[a+44>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=q[a+12>>2];e=q[a+16>>2];if((c|0)!=(e|0)){l=0;while(1){d=q[(l<<2)+c>>2];L:{if(!d){break L}g=q[d+312>>2];if(!g){break L}e=0;while(1){c=q[q[d+308>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){f=q[d+316>>2]+w(c,960)|0;hH(k+144|0,f,f+8|0);c=q[f+952>>2];if((c|0)!=-1){continue}break}g=q[d+312>>2]}e=e+1|0;if(g>>>0>e>>>0){continue}break}c=q[a+12>>2];e=q[a+16>>2]}l=l+1|0;if(l>>>0>2>>>0){continue}break}}ti=k+192|0;return}J(144230,144115,755,144052);G()}J(144181,144115,754,144052);G()}J(144132,144115,742,144052);G()}J(144066,144115,741,144052);G()}function nca(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,u=0;l=ti-16|0;ti=l;q[l+8>>2]=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:{g=q[c+8>>2];switch(g-6|0){case 0:break E;case 1:break G;default:break F}}Ai(4,84116,89259,0);break D}e=q[q[77547]+108>>2];if(e>>>0>1]){break C}if(e>>>0>1]){break B}m=1;H:{if((g|0)==3){break H}g=g-9|0;I:{if(g>>>0<=12){e=8141>>>g&1;break I}e=0}if(e){break H}e=s[c+40>>1];g=qJ(q[c+8>>2])>>>3|0;g=w(e,g?g:1);if(!(g&3)){break H}Ta(3317,(g&1?1:2)|0);m=0;if(!(r[q[77547]+156|0]&64)){break H}g=K()|0;if(g){break A}}if((b|0)==2097152|b>>>0>2097152){break z}d=q[77547];e=a;g=0;J:{if(e+1>>>0<2){break J}f=e&65535;if(f>>>0>=t[d+32>>2]){break y}h=q[q[d+24>>2]+(f<<2)>>2];g=0;if(!h){break J}g=s[q[d+28>>2]+(f<<1)>>1]==(e>>>16|0)?h:0}e=s[g+24>>1];f=(r[c+46|0]&127)+1|0;p[g+24>>1]=e>>>0>f>>>0?e:f;e=q[g>>2];if(e>>>0<=2){n=q[(e<<2)+89860>>2]}i=5121;f=6409;h=6409;K:{L:{switch(q[c+8>>2]){case 4:i=33635;case 2:f=6407;h=6407;break K;case 5:i=32819;case 3:f=6408;h=6408;break K;case 8:h=-1;f=35841;break K;case 9:h=-1;f=35840;break K;case 10:h=-1;f=35843;break K;case 11:h=-1;f=35842;break K;case 12:h=-1;f=36196;break K;case 13:h=-1;f=37488;break K;case 14:h=-1;f=37490;break K;case 15:h=-1;f=37496;break K;case 16:h=-1;f=37808;break K;case 17:h=-1;f=33776;break K;case 18:h=-1;f=33779;break K;case 19:h=-1;f=36283;break K;case 20:h=-1;f=36285;break K;case 21:h=-1;f=36492;break K;case 22:f=6407;h=o[d+157|0]&1?34843:6407;i=5131;break K;case 23:f=6407;h=o[d+157|0]&1?34837:6407;i=5126;break K;case 24:h=34842;i=5131;f=6408;break K;case 25:f=6408;h=o[d+157|0]&1?34836:6408;i=5126;break K;case 26:h=33325;i=5131;f=6403;break K;case 28:h=33326;i=5126;f=6403;break K;case 27:h=33327;i=5131;f=33319;break K;case 29:h=33328;i=5126;f=33319;break K;default:J(84254,84160,3006,89473);G();case 0:break K;case 1:break L}}f=6410;h=6410}e=q[c+4>>2];q[g+28>>2]=q[c>>2];q[g+32>>2]=e;e=r[c+43|0]|r[c+44|0]<<8|(r[c+45|0]<<16|r[c+46|0]<<24);d=r[c+39|0]|r[c+40|0]<<8|(r[c+41|0]<<16|r[c+42|0]<<24);o[g+67|0]=d;o[g+68|0]=d>>>8;o[g+69|0]=d>>>16;o[g+70|0]=d>>>24;o[g+71|0]=e;o[g+72|0]=e>>>8;o[g+73|0]=e>>>16;o[g+74|0]=e>>>24;e=q[c+36>>2];q[g+60>>2]=q[c+32>>2];q[g+64>>2]=e;e=q[c+28>>2];q[g+52>>2]=q[c+24>>2];q[g+56>>2]=e;e=q[c+20>>2];q[g+44>>2]=q[c+16>>2];q[g+48>>2]=e;e=q[c+12>>2];q[g+36>>2]=q[c+8>>2];q[g+40>>2]=e;e=o[c+46|0];M:{if((e|0)<0){break M}if(!e){p[g+14>>1]=s[c+40>>1];p[g+16>>1]=s[c+42>>1];p[g+18>>1]=s[c+44>>1];e=r[c+46|0]}if(e&127){break M}q[g+8>>2]=q[c+4>>2]}if(s[g+12>>1]){while(1){ta(n|0,q[q[g+4>>2]+(k<<2)>>2]);if(r[q[77547]+156|0]&64){e=K()|0;if(e){break x}}if(o[c+46|0]>=0){xi[q[77505]](a,b,q[c+12>>2],q[c+16>>2],q[c+20>>2],q[c+24>>2],x(1))}N:{O:{e=q[c+8>>2];if(e>>>0>29){break O}e=1<>2]){case 0:e=q[c>>2];d=r[c+46|0];j=d<<24>>24;Q:{if((j|0)<=-1){V(3553,j&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+w(q[c+4>>2],k)|0);break Q}W(3553,d|0,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+w(q[c+4>>2],k)|0)}if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3125);J(84254,84160,3125,89182);G();case 1:if(!(r[q[77547]+156|0]&2)){break w}e=r[c+46|0];d=e<<24>>24;R:{if((d|0)<=-1){Xb(35866,d&127,q[c+28>>2],q[c+36>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],s[c+44>>1],f|0,i|0,q[c>>2]);break R}Zb(35866,e|0,h|0,s[c+40>>1],s[c+42>>1],s[c+44>>1],0,f|0,i|0,q[c>>2])}if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3138);J(84254,84160,3138,89182);G();case 2:if(s[g+12>>1]!=1){break v}e=q[c>>2];d=r[c+46|0];j=d<<24>>24;if((j|0)<=-1){V(34069,j&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break u}}V(34070,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+q[c+4>>2]|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break t}}V(34071,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+(q[c+4>>2]<<1)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break s}}V(34072,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+w(q[c+4>>2],3)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break r}}V(34073,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+(q[c+4>>2]<<2)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break q}}V(34074,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,i|0,e+w(q[c+4>>2],5)|0);if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3157);J(84254,84160,3157,89182);G()}W(34069,d|0,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break p}}W(34070,r[c+46|0]&127,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+q[c+4>>2]|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break o}}W(34071,r[c+46|0]&127,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+(q[c+4>>2]<<1)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break n}}W(34072,r[c+46|0]&127,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+w(q[c+4>>2],3)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break m}}W(34073,r[c+46|0]&127,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+(q[c+4>>2]<<2)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break l}}W(34074,r[c+46|0]&127,h|0,s[c+40>>1],s[c+42>>1],0,f|0,i|0,e+w(q[c+4>>2],5)|0);if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3172);J(84254,84160,3172,89182);G();default:break P}}J(84254,84160,3177,89182);G()}d=q[c+4>>2];if(!d){break N}S:{switch(q[g>>2]){case 0:e=r[c+46|0];j=e<<24>>24;T:{if((j|0)<=-1){X(3553,j&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,q[c>>2]);break T}Y(3553,e|0,f|0,s[c+40>>1],s[c+42>>1],0,d|0,q[c>>2])}if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3207);J(84254,84160,3207,89182);G();case 1:e=r[c+46|0];j=e<<24>>24;U:{if((j|0)<=-1){Bc(35866,j&127,q[c+28>>2],q[c+32>>2],q[c+36>>2],s[c+40>>1],s[c+42>>1],s[c+44>>1],f|0,i|0,q[c>>2]);break U}j=e;e=s[c+44>>1];Cc(35866,j|0,f|0,s[c+40>>1],s[c+42>>1],e|0,0,w(e,d)|0,q[c>>2])}if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3219);J(84254,84160,3219,89182);G();case 2:e=q[c>>2];j=r[c+46|0];u=j<<24>>24;if((u|0)<=-1){X(34069,u&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break k}}d=q[c+4>>2];X(34070,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e+d|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break j}}d=q[c+4>>2];X(34071,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e+(d<<1)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break i}}d=q[c+4>>2];X(34072,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e+w(d,3)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break h}}d=q[c+4>>2];X(34074,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e+(d<<2)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break g}}d=q[c+4>>2];X(34073,r[c+46|0]&127,q[c+28>>2],q[c+32>>2],s[c+40>>1],s[c+42>>1],f|0,d|0,e+w(d,5)|0);if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3237);J(84254,84160,3237,89182);G()}Y(34069,j|0,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break f}}d=q[c+4>>2];Y(34070,r[c+46|0]&127,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e+d|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break e}}d=q[c+4>>2];Y(34071,r[c+46|0]&127,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e+(d<<1)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break d}}d=q[c+4>>2];Y(34072,r[c+46|0]&127,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e+w(d,3)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break c}}d=q[c+4>>2];Y(34074,r[c+46|0]&127,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e+(d<<2)|0);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break b}}d=q[c+4>>2];Y(34073,r[c+46|0]&127,f|0,s[c+40>>1],s[c+42>>1],0,d|0,e+w(d,5)|0);if(!(r[q[77547]+156|0]&64)){break N}e=K()|0;if(!e){break N}Vi(e,89182,3252);J(84254,84160,3252,89182);G();default:break S}}J(84254,84160,3257,89182);G()}J(84254,84160,3262,89182);G()}k=k+1|0;if(k>>>0>1]){continue}break}}ta(n|0,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}if(m){break D}Ta(3317,4);if(!(r[q[77547]+156|0]&64)){break D}a=K()|0;if(!a){break D}Vi(a,89182,3274);J(84254,84160,3274,89182);G()}Ai(4,84116,89199,0)}ti=l+16|0;return}J(89321,84160,3034,89182);G()}J(89367,84160,3035,89182);G()}Vi(g,89182,3057);J(84254,84160,3057,89182);G()}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}Vi(e,89182,3091);J(84254,84160,3091,89182);G()}J(89414,84160,3129,89182);G()}J(89447,84160,3142,89182);G()}Vi(d,89182,3147);J(84254,84160,3147,89182);G()}Vi(d,89182,3149);J(84254,84160,3149,89182);G()}Vi(d,89182,3151);J(84254,84160,3151,89182);G()}Vi(d,89182,3153);J(84254,84160,3153,89182);G()}Vi(d,89182,3155);J(84254,84160,3155,89182);G()}Vi(d,89182,3162);J(84254,84160,3162,89182);G()}Vi(d,89182,3164);J(84254,84160,3164,89182);G()}Vi(d,89182,3166);J(84254,84160,3166,89182);G()}Vi(d,89182,3168);J(84254,84160,3168,89182);G()}Vi(d,89182,3170);J(84254,84160,3170,89182);G()}Vi(d,89182,3227);J(84254,84160,3227,89182);G()}Vi(d,89182,3229);J(84254,84160,3229,89182);G()}Vi(d,89182,3231);J(84254,84160,3231,89182);G()}Vi(d,89182,3233);J(84254,84160,3233,89182);G()}Vi(d,89182,3235);J(84254,84160,3235,89182);G()}Vi(d,89182,3242);J(84254,84160,3242,89182);G()}Vi(d,89182,3244);J(84254,84160,3244,89182);G()}Vi(d,89182,3246);J(84254,84160,3246,89182);G()}Vi(d,89182,3248);J(84254,84160,3248,89182);G()}Vi(d,89182,3250);J(84254,84160,3250,89182);G()}Vi(a,89182,3268);J(84254,84160,3268,89182);G()}function ZJ(a,b,c,d,e,f,g,h){var i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=x(0),v=x(0),w=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=0;m=ti+ -64|0;ti=m;q[m+60>>2]=0;q[m+56>>2]=0;q[m+52>>2]=0;q[m+48>>2]=0;a=gt(a,d,e,m+60|0,m+56|0,m+52|0,m+48|0);a:{if(a){b=Mi(d,e);q[m+36>>2]=a;q[m+32>>2]=b;Ai(4,40063,40998,m+32|0);break a}I=q[m+52>>2];if((I&-2)!=2){q[m+16>>2]=Mi(d,e);q[m+20>>2]=q[m+52>>2];Ai(4,40063,41075,m+16|0);break a}b:{c:{d:{e:{f:{g:{h:{switch(f|0){case 0:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];e=q[m+56>>2];if((I&255)==2){break b}if(!e){break a}h=0;while(1){j=x(r[f|0]);k=x(r[f+1|0]);l=x(r[f+2|0]);n=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*l))+x(i*u[c+56>>2]));i:{if(n=x(0)){b=~~n>>>0;break i}b=0}z=u[c+48>>2];A=u[c+32>>2];v=u[c>>2];w=u[c+16>>2];n=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];o[a+2|0]=b;b=a;n=x(x(x(x(C*j)+x(E*k))+x(B*l))+x(i*n));j:{if(n=x(0)){g=~~n>>>0;break j}g=0}o[b+1|0]=g;b=a;j=x(x(x(x(v*j)+x(w*k))+x(A*l))+x(i*z));k:{if(j=x(0)){g=~~j>>>0;break k}g=0}o[b|0]=g;a=a+d|0;f=d+f|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break a;case 1:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;e=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break c}if(!d){break a}n=x(i*u[c+48>>2]);z=x(i*u[c+56>>2]);A=x(i*u[c+52>>2]);v=u[c+40>>2];w=u[c+24>>2];B=u[c+36>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+32>>2];D=u[c+16>>2];H=u[c>>2];c=0;while(1){b=a;i=x(s[f>>1]);j=x(s[f+2>>1]);k=x(s[f+4>>1]);l=x(z+x(x(x(E*i)+x(w*j))+x(v*k)));l:{if(l=x(0)){g=~~l>>>0;break l}g=0}p[b+4>>1]=g;b=a;l=x(A+x(x(x(F*i)+x(C*j))+x(B*k)));m:{if(l=x(0)){g=~~l>>>0;break m}g=0}p[b+2>>1]=g;b=a;i=x(n+x(x(x(H*i)+x(D*j))+x(G*k)));n:{if(i=x(0)){g=~~i>>>0;break n}g=0}p[b>>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 2:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;b=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break d}if(!d){break a}n=x(i*u[c+48>>2]);z=x(i*u[c+56>>2]);A=x(i*u[c+52>>2]);v=u[c+40>>2];w=u[c+24>>2];B=u[c+36>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+32>>2];D=u[c+16>>2];H=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(t[f>>2]);j=x(t[f+4>>2]);k=x(t[f+8>>2]);l=x(z+x(x(x(E*i)+x(w*j))+x(v*k)));o:{if(l=x(0)){g=~~l>>>0;break o}g=0}q[b+8>>2]=g;b=a;l=x(A+x(x(x(F*i)+x(C*j))+x(B*k)));p:{if(l=x(0)){g=~~l>>>0;break p}g=0}q[b+4>>2]=g;b=a;i=x(n+x(x(x(H*i)+x(D*j))+x(G*k)));q:{if(i=x(0)){g=~~i>>>0;break q}g=0}q[b>>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 4:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];e=q[m+56>>2];if((I&255)==2){break e}if(!e){break a}h=0;while(1){j=x(o[f|0]);k=x(o[f+1|0]);l=x(o[f+2|0]);n=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*l))+x(i*u[c+56>>2]));r:{if(x(y(n))>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];w=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];o[a+2|0]=b;b=a;w=x(x(x(x(C*j)+x(E*k))+x(B*l))+x(i*w));s:{if(x(y(w))>2];a=(f-g|0)+h|0;e=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break f}if(!d){break a}l=x(i*u[c+48>>2]);n=x(i*u[c+56>>2]);z=x(i*u[c+52>>2]);A=u[c+40>>2];v=u[c+24>>2];w=u[c+36>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+32>>2];G=u[c+16>>2];D=u[c>>2];c=0;while(1){b=a;i=x(p[f>>1]);j=x(p[f+2>>1]);k=x(p[f+4>>1]);H=x(n+x(x(x(C*i)+x(v*j))+x(A*k)));u:{if(x(y(H))>1]=g;b=a;H=x(z+x(x(x(E*i)+x(B*j))+x(w*k)));v:{if(x(y(H))>1]=g;b=a;i=x(l+x(x(x(D*i)+x(G*j))+x(F*k)));w:{if(x(y(i))>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 6:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;b=q[m+48>>2];d=q[m+56>>2];if((I&255)==2){break g}if(!d){break a}l=x(i*u[c+48>>2]);n=x(i*u[c+56>>2]);z=x(i*u[c+52>>2]);A=u[c+40>>2];v=u[c+24>>2];w=u[c+36>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+32>>2];G=u[c+16>>2];D=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(q[f>>2]);j=x(q[f+4>>2]);k=x(q[f+8>>2]);H=x(n+x(x(x(C*i)+x(v*j))+x(A*k)));x:{if(x(y(H))>2]=g;b=a;H=x(z+x(x(x(E*i)+x(B*j))+x(w*k)));y:{if(x(y(H))>2]=g;b=a;i=x(l+x(x(x(D*i)+x(G*j))+x(F*k)));z:{if(x(y(i))>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a;case 8:i=b?x(1):x(0);f=q[m+60>>2];a=(f-g|0)+h|0;d=q[m+48>>2];b=q[m+56>>2];if((I&255)!=2){if(!b){break a}g=0;d=d<<2;while(1){n=u[c+48>>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];w=u[c+52>>2];B=u[c+36>>2];C=u[c+4>>2];E=u[c+20>>2];j=u[f>>2];k=u[f+4>>2];l=u[f+8>>2];u[a+8>>2]=x(x(x(j*u[c+8>>2])+x(k*u[c+24>>2]))+x(l*u[c+40>>2]))+x(i*u[c+56>>2]);u[a+4>>2]=x(x(x(j*C)+x(k*E))+x(l*B))+x(i*w);u[a>>2]=x(x(x(j*A)+x(k*v))+x(l*z))+x(i*n);a=a+d|0;f=d+f|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break a}if(!b){break a}g=0;d=d<<2;while(1){l=u[c+48>>2];n=u[c+32>>2];z=u[c>>2];A=u[c+16>>2];v=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];j=u[f>>2];k=u[f+4>>2];u[a+8>>2]=x(x(x(j*u[c+8>>2])+x(k*u[c+24>>2]))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]);u[a+4>>2]=x(x(x(j*B)+x(k*C))+x(w*x(0)))+x(i*v);u[a>>2]=x(x(x(j*z)+x(k*A))+x(n*x(0)))+x(i*l);a=a+d|0;f=d+f|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break a;default:break h}}q[m+4>>2]=Mi(d,e);q[m>>2]=f;Ai(4,40063,41192,m);break a}if(!d){break a}k=x(i*u[c+48>>2]);l=x(u[c+32>>2]*x(0));n=x(i*u[c+56>>2]);z=x(u[c+40>>2]*x(0));A=x(i*u[c+52>>2]);v=x(u[c+36>>2]*x(0));w=u[c+24>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+16>>2];G=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(q[f>>2]);j=x(q[f+4>>2]);D=x(n+x(z+x(x(C*i)+x(w*j))));A:{if(x(y(D))>2]=g;b=a;D=x(A+x(v+x(x(E*i)+x(B*j))));B:{if(x(y(D))>2]=g;b=a;i=x(k+x(l+x(x(G*i)+x(F*j))));C:{if(x(y(i))>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!d){break a}k=x(i*u[c+48>>2]);l=x(u[c+32>>2]*x(0));n=x(i*u[c+56>>2]);z=x(u[c+40>>2]*x(0));A=x(i*u[c+52>>2]);v=x(u[c+36>>2]*x(0));w=u[c+24>>2];B=u[c+20>>2];C=u[c+8>>2];E=u[c+4>>2];F=u[c+16>>2];G=u[c>>2];c=0;while(1){b=a;i=x(p[f>>1]);j=x(p[f+2>>1]);D=x(n+x(z+x(x(C*i)+x(w*j))));D:{if(x(y(D))>1]=g;b=a;D=x(A+x(v+x(x(E*i)+x(B*j))));E:{if(x(y(D))>1]=g;b=a;i=x(k+x(l+x(x(G*i)+x(F*j))));F:{if(x(y(i))>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!e){break a}h=0;while(1){j=x(o[f|0]);k=x(o[f+1|0]);l=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]));G:{if(x(y(l))>2];n=u[c+32>>2];z=u[c>>2];A=u[c+16>>2];v=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];o[a+2|0]=b;b=a;v=x(x(x(x(B*j)+x(C*k))+x(w*x(0)))+x(i*v));H:{if(x(y(v))>2]);n=x(u[c+32>>2]*x(0));z=x(i*u[c+56>>2]);A=x(u[c+40>>2]*x(0));v=x(i*u[c+52>>2]);w=x(u[c+36>>2]*x(0));B=u[c+24>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+16>>2];D=u[c>>2];c=0;e=b<<2;while(1){b=a;i=x(t[f>>2]);j=x(t[f+4>>2]);k=x(z+x(A+x(x(E*i)+x(B*j))));J:{if(k=x(0)){g=~~k>>>0;break J}g=0}q[b+8>>2]=g;b=a;k=x(v+x(w+x(x(F*i)+x(C*j))));K:{if(k=x(0)){g=~~k>>>0;break K}g=0}q[b+4>>2]=g;b=a;i=x(l+x(n+x(x(D*i)+x(G*j))));L:{if(i=x(0)){g=~~i>>>0;break L}g=0}q[b>>2]=g;a=a+e|0;f=e+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!d){break a}l=x(i*u[c+48>>2]);n=x(u[c+32>>2]*x(0));z=x(i*u[c+56>>2]);A=x(u[c+40>>2]*x(0));v=x(i*u[c+52>>2]);w=x(u[c+36>>2]*x(0));B=u[c+24>>2];C=u[c+20>>2];E=u[c+8>>2];F=u[c+4>>2];G=u[c+16>>2];D=u[c>>2];c=0;while(1){b=a;i=x(s[f>>1]);j=x(s[f+2>>1]);k=x(z+x(A+x(x(E*i)+x(B*j))));M:{if(k=x(0)){g=~~k>>>0;break M}g=0}p[b+4>>1]=g;b=a;k=x(v+x(w+x(x(F*i)+x(C*j))));N:{if(k=x(0)){g=~~k>>>0;break N}g=0}p[b+2>>1]=g;b=a;i=x(l+x(n+x(x(D*i)+x(G*j))));O:{if(i=x(0)){g=~~i>>>0;break O}g=0}p[b>>1]=g;b=e<<1;a=b+a|0;f=b+f|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}if(!e){break a}h=0;while(1){j=x(r[f|0]);k=x(r[f+1|0]);l=x(x(x(x(u[c+8>>2]*j)+x(u[c+24>>2]*k))+x(u[c+40>>2]*x(0)))+x(i*u[c+56>>2]));P:{if(l=x(0)){b=~~l>>>0;break P}b=0}n=u[c+48>>2];z=u[c+32>>2];A=u[c>>2];v=u[c+16>>2];l=u[c+52>>2];w=u[c+36>>2];B=u[c+4>>2];C=u[c+20>>2];o[a+2|0]=b;b=a;l=x(x(x(x(B*j)+x(C*k))+x(w*x(0)))+x(i*l));Q:{if(l=x(0)){g=~~l>>>0;break Q}g=0}o[b+1|0]=g;b=a;j=x(x(x(x(A*j)+x(v*k))+x(z*x(0)))+x(i*n));R:{if(j=x(0)){g=~~j>>>0;break R}g=0}o[b|0]=g;a=a+d|0;f=d+f|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}ti=m- -64|0}function OJ(a,b,c,d,e,f,g){var h=0,i=x(0),j=0,k=x(0),l=0,m=0,n=0,s=x(0),v=0,y=x(0),z=x(0),A=0,B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=0,K=0,L=x(0),M=x(0),N=x(0),O=0,P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=0,W=0,X=x(0),Y=x(0),Z=x(0),_=x(0),$=0,aa=0,ba=0,ca=0,da=x(0),ea=x(0),fa=x(0),ga=0,ha=0,ia=0,ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0),ta=x(0);h=ti-432|0;ti=h;v=q[g+8>>2];a:{b:{$=q[b+8>>2];if(!ep(a,$)){l=q[v+4>>2];j=q[v>>2];ca=l-j|0;m=(ca|0)/320|0;n=m+1|0;if(n>>>0<=(q[v+8>>2]-j|0)/320>>>0){q[v+4>>2]=j+w(n,320);if(m>>>0<(ca+320|0)/320>>>0){j=q[g+12>>2];q[g+12>>2]=j+1;q[l+304>>2]=j;Qm(l);j=q[e>>2];o[l+288|0]=r[l+288|0]|2;c:{d:{if(j){q[l+244>>2]=5;q[l+248>>2]=0;q[l+252>>2]=2;q[l+256>>2]=2;o[l+276|0]=r[j|0];o[l+277|0]=r[j+1|0];o[l+278|0]=r[j+2|0];e=l+279|0;o[e|0]=r[l+279|0]&208|r[j+3|0]&15;if(!r[g+16|0]){break c}o[g+16|0]=0;j=r[l+279|0]|16;break d}q[l+244>>2]=7;q[l+248>>2]=0;o[l+278|0]=255;p[l+276>>1]=65280;q[l+252>>2]=0;q[l+256>>2]=0;e=l+279|0;j=r[e|0]&-48|15}o[e|0]=j}e=Ts(a,$);if(e>>>0<5){o[l+288|0]=r[l+288|0]|1;e=e<<2;q[l+236>>2]=q[e+39604>>2];q[l+232>>2]=q[e+39584>>2];q[l+148>>2]=q[v+48>>2];e=q[v+52>>2];q[l+224>>2]=1;q[l+144>>2]=e;m=v+60|0;q[l+280>>2]=(q[m>>2]-q[v+56>>2]|0)/36;q[l+156>>2]=q[g+4>>2];e=Ss(a,$,h+16|0);e:{f:{if(q[h+16>>2]==2){if(!e){break e}g=q[e+48>>2];e=q[g>>2];g=q[g+4>>2];break f}g=0}$=e;ca=g;if(!(g|e)){g=q[v+76>>2];e=q[v+72>>2]}q[l+160>>2]=e;q[l+164>>2]=g;g:{j=w(f,54);K=v- -64|0;n=q[K>>2];if(j>>>0>(n-q[v+60>>2]|0)/36>>>0){if(o[v+68|0]&1){break g}e=v+56|0;Ii(((n-q[e>>2]|0)/36|0)+(j>>>0>128?j:128)|0,36,e,K,m);e=q[l+160>>2];g=q[l+164>>2]}e=xi[q[77510]](e,g)|0;g=xi[q[77511]](q[l+160>>2],q[l+164>>2])|0;if(!(!e|!g)){if(!f){v=0;break b}da=x(x(1)/x(g>>>0));ea=x(x(1)/x(e>>>0));v=0;while(1){n=q[((V<<4)+b|0)+8>>2];Gl(h+416|0,a,n,3);P=u[(V<<2)+d>>2];Q=u[h+424>>2];R=u[h+420>>2];S=u[h+416>>2];q[h+400>>2]=0;q[h+396>>2]=0;q[h+392>>2]=0;q[h+388>>2]=1065353216;q[h+384>>2]=1065353216;q[h+380>>2]=1065353216;j=TI(a,n);Dba(h+352|0,a,n);h:{i:{if($|ca){i=x(x(x(u[h+352>>2]+u[h+356>>2])+u[h+360>>2])+u[h+364>>2]);if(!(!j&i==x(0))){break i}}g=q[m>>2];if((g|0)==q[K>>2]){break a}e=(V<<6)+c|0;z=u[e+16>>2];B=u[e>>2];D=u[e+32>>2];i=u[e+48>>2];C=u[e+8>>2];E=u[e+24>>2];H=u[e+40>>2];k=u[e+56>>2];y=u[e+4>>2];N=u[e+20>>2];F=u[e+36>>2];s=u[e+52>>2];q[m>>2]=g+36;u[g+32>>2]=P;u[g+28>>2]=Q;u[g+24>>2]=R;u[g+20>>2]=S;q[g+12>>2]=0;q[g+16>>2]=0;L=x(C*x(0));M=x(E*x(0));H=x(H*x(0));T=x(k+x(x(L+M)+H));u[g+8>>2]=T;U=x(y*x(0));X=x(N*x(0));F=x(F*x(0));Y=x(s+x(x(U+X)+F));u[g+4>>2]=Y;Z=x(B*x(0));_=x(z*x(0));D=x(D*x(0));fa=x(i+x(x(Z+_)+D));u[g>>2]=fa;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=0;u[e+8>>2]=k+x(x(C+M)+H);u[e+4>>2]=s+x(x(y+X)+F);u[e>>2]=i+x(x(B+_)+D);e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=1065353216;C=x(k+x(x(C+E)+H));u[e+8>>2]=C;y=x(s+x(x(y+N)+F));u[e+4>>2]=y;B=x(i+x(x(B+z)+D));u[e>>2]=B;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=0;q[e+16>>2]=0;u[e+8>>2]=T;u[e+4>>2]=Y;u[e>>2]=fa;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=1065353216;q[e+16>>2]=1065353216;u[e+8>>2]=C;u[e+4>>2]=y;u[e>>2]=B;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;q[e+12>>2]=0;q[e+16>>2]=1065353216;u[e+8>>2]=k+x(x(L+E)+H);u[e+4>>2]=s+x(x(U+N)+F);u[e>>2]=i+x(x(Z+z)+D);v=v+6|0;break h}j:{k:{e=Bba(a,n);if(!e){break k}e=q[e+16>>2];if(!e){break k}g=q[e+68>>2]!=0;break j}e=0;g=0}o[h+351|0]=0;o[h+350|0]=0;if(j){UI(a,n,h+351|0,h+350|0)}l:{m:{n:{if(!(g^1|i!=x(0))){g=Mba(a,n);if(g>>>0>=t[e+80>>2]){break n}n=q[e+64>>2]+(q[q[e+76>>2]+(g<<2)>>2]<<5)|0;W=q[n+28>>2];if(!W){break l}A=q[n+16>>2];ga=q[n+8>>2];e=(V<<6)+c|0;ha=e;j=0;aa=r[h+351|0];ba=r[h+350|0];if((aa|0)==(ba|0)){break m}O=q[n+12>>2];while(1){g=q[m>>2];if((g|0)==q[K>>2]){break a}I=(O+((q[q[n+24>>2]+(j<<2)>>2]^-1)<<1)&1073741822)<<2;ia=I+ga|0;i=u[ia+4>>2];k=u[ia>>2];s=u[e+48>>2];z=u[ha+32>>2];B=u[e>>2];C=u[e+16>>2];E=u[e+52>>2];y=u[e+36>>2];N=u[e+4>>2];H=u[e+20>>2];F=u[e+56>>2];D=u[e+40>>2];L=u[e+8>>2];M=u[e+24>>2];I=A+I|0;ia=q[I+4>>2];I=q[I>>2];q[m>>2]=g+36;u[g+32>>2]=P;u[g+28>>2]=Q;u[g+24>>2]=R;u[g+20>>2]=S;q[g+12>>2]=I;q[g+16>>2]=ia;k=x((aa?x(-k):k)+x(.5));i=x((ba?x(-i):i)+x(.5));u[g+8>>2]=F+x(x(x(L*k)+x(M*i))+x(D*x(0)));u[g+4>>2]=E+x(x(x(k*N)+x(i*H))+x(y*x(0)));u[g>>2]=s+x(x(x(k*B)+x(i*C))+x(z*x(0)));j=j+1|0;if((W|0)!=(j|0)){continue}break}break l}q[h+300>>2]=1065353216;q[h+288>>2]=0;MI(h+272|0,a,n);i=u[h+276>>2];B=i>x(.0010000000474974513)?x(x(1)/i):x(0);i=u[h+272>>2];C=i>x(.0010000000474974513)?x(x(1)/i):x(0);n=h+304|0;o:{p:{i=u[(j?j:h+400|0)>>2];k=u[(j?j+8|0:h+392|0)>>2];if(i==k){break p}s=u[(j?j+20|0:h+380|0)>>2];if(s==u[(j?j+12|0:h+388|0)>>2]){break p}e=r[h+350|0];u[(h+320|(e?12:0))>>2]=i;g=r[h+351|0];z=i;i=u[h+364>>2];u[(h+320|(e?8:4))>>2]=z+x(ea*i);E=u[h+356>>2];u[(h+320|(e?4:8))>>2]=k-x(ea*E);u[(h+320|(e?0:12))>>2]=k;k=u[(j?j+4|0:h+396|0)>>2];u[(h+304|(g?12:0))>>2]=k;y=u[h+352>>2];u[(h+304|(g?8:4))>>2]=k-x(da*y);k=u[h+360>>2];z=x(s+x(da*k));W=1;e=!g;break o}W=0;e=r[h+351|0];u[(h+320|(e?12:0))>>2]=i;g=r[h+350|0];y=u[h+352>>2];u[(h+320|(e?8:4))>>2]=i+x(ea*y);i=u[(j?j+16|0:h+384|0)>>2];k=u[h+360>>2];u[(h+320|(e?4:8))>>2]=i-x(ea*k);u[(h+320|(e?0:12))>>2]=i;i=u[(j?j+4|0:h+396|0)>>2];u[(h+304|(g?12:0))>>2]=i;s=i;i=u[h+364>>2];u[(h+304|(g?8:4))>>2]=s+x(da*i);s=u[(j?j+12|0:h+388|0)>>2];E=u[h+356>>2];z=x(s-x(da*E));e=!g}u[(n|(e?8:4))>>2]=z;g=0;u[(h+304|(e?12:0))>>2]=s;u[h+292>>2]=B*i;u[h+296>>2]=x(1)-x(B*E);i=x(x(1)-x(C*k));e=(V<<6)+c|0;H=u[e+12>>2];X=x(i*H);F=u[e+8>>2];Y=x(i*F);D=u[e+4>>2];Z=x(i*D);L=u[e>>2];_=x(i*L);i=x(C*y);fa=x(i*H);ja=x(i*F);ka=x(i*D);la=x(i*L);k=x(0);ma=x(H*x(0));na=x(F*x(0));oa=x(D*x(0));pa=x(L*x(0));i=x(u[e+44>>2]*x(0));s=x(u[e+40>>2]*x(0));z=x(u[e+36>>2]*x(0));B=x(u[e+32>>2]*x(0));C=u[e+60>>2];qa=u[e+28>>2];E=u[e+56>>2];ra=u[e+24>>2];y=u[e+52>>2];sa=u[e+20>>2];N=u[e+48>>2];ta=u[e+16>>2];j=0;while(1){e=(h+16|0)+(j<<6)|0;M=x(k*qa);u[e+60>>2]=C+x(x(H+M)+i);T=x(k*ra);u[e+56>>2]=E+x(x(F+T)+s);U=x(k*sa);u[e+52>>2]=y+x(x(D+U)+z);k=x(k*ta);u[e+48>>2]=N+x(x(L+k)+B);u[e+44>>2]=C+x(x(X+M)+i);u[e+40>>2]=E+x(x(Y+T)+s);u[e+36>>2]=y+x(x(Z+U)+z);u[e+32>>2]=N+x(x(_+k)+B);u[e+28>>2]=C+x(x(fa+M)+i);u[e+24>>2]=E+x(x(ja+T)+s);u[e+20>>2]=y+x(x(ka+U)+z);u[e+16>>2]=N+x(x(la+k)+B);u[e+12>>2]=C+x(x(ma+M)+i);u[e+8>>2]=E+x(x(na+T)+s);u[e+4>>2]=y+x(x(oa+U)+z);u[e>>2]=N+x(x(pa+k)+B);j=j+1|0;if((j|0)!=4){k=u[(h+288|0)+(j<<2)>>2];continue}break}while(1){e=g<<2;ga=e+(h+320|0)|0;ha=e+(h+304|0)|0;n=g+1|0;e=n<<2;aa=e+(h+320|0)|0;ba=e+(h+304|0)|0;e=0;q:{while(1){O=(h+16|0)+(n<<6)|0;j=e+1|0;I=j<<4;A=O+I|0;B=u[A+8>>2];C=u[A+4>>2];E=u[A>>2];A=O;O=e<<4;A=A+O|0;T=u[A+8>>2];U=u[A+4>>2];X=u[A>>2];A=I;I=(h+16|0)+(g<<6)|0;A=A+I|0;Y=u[A+8>>2];Z=u[A+4>>2];_=u[A>>2];A=I+O|0;y=u[A+8>>2];N=u[A+4>>2];H=u[A>>2];r:{if(W){z=u[(h+304|0)+(j<<2)>>2];F=z;D=u[ga>>2];s=D;L=u[(h+304|0)+(e<<2)>>2];k=L;M=u[aa>>2];i=M;break r}L=u[ba>>2];z=L;M=u[(h+320|0)+(e<<2)>>2];s=M;F=u[ha>>2];k=F;D=u[(h+320|0)+(j<<2)>>2];i=D}e=q[m>>2];if((e|0)!=q[K>>2]){q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=k;u[e+12>>2]=s;u[e+8>>2]=y;u[e+4>>2]=N;u[e>>2]=H;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=F;u[e+12>>2]=D;u[e+8>>2]=Y;u[e+4>>2]=Z;u[e>>2]=_;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=z;u[e+12>>2]=i;u[e+8>>2]=B;u[e+4>>2]=C;u[e>>2]=E;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=k;u[e+12>>2]=s;u[e+8>>2]=y;u[e+4>>2]=N;u[e>>2]=H;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=z;u[e+12>>2]=i;u[e+8>>2]=B;u[e+4>>2]=C;u[e>>2]=E;e=q[m>>2];if((e|0)==q[K>>2]){break a}q[m>>2]=e+36;u[e+32>>2]=P;u[e+28>>2]=Q;u[e+24>>2]=R;u[e+20>>2]=S;u[e+16>>2]=L;u[e+12>>2]=M;u[e+8>>2]=T;u[e+4>>2]=U;u[e>>2]=X;e=j;if((e|0)==3){break q}continue}break}break a}g=n;if((g|0)!=3){continue}break}v=v+54|0;break h}J(36824,36836,147,36616);G()}while(1){g=q[m>>2];if((g|0)==q[K>>2]){break a}O=q[q[n+24>>2]+(j<<2)>>2]<<3;I=O+ga|0;i=u[I+4>>2];k=u[I>>2];s=u[e+48>>2];z=u[ha+32>>2];B=u[e>>2];C=u[e+16>>2];E=u[e+52>>2];y=u[e+36>>2];N=u[e+4>>2];H=u[e+20>>2];F=u[e+56>>2];D=u[e+40>>2];L=u[e+8>>2];M=u[e+24>>2];O=A+O|0;I=q[O+4>>2];O=q[O>>2];q[m>>2]=g+36;u[g+32>>2]=P;u[g+28>>2]=Q;u[g+24>>2]=R;u[g+20>>2]=S;q[g+12>>2]=O;q[g+16>>2]=I;k=x((aa?x(-k):k)+x(.5));i=x((ba?x(-i):i)+x(.5));u[g+8>>2]=F+x(x(x(L*k)+x(M*i))+x(D*x(0)));u[g+4>>2]=E+x(x(x(k*N)+x(i*H))+x(y*x(0)));u[g>>2]=s+x(x(x(k*B)+x(i*C))+x(z*x(0)));j=j+1|0;if((W|0)!=(j|0)){continue}break}}v=v+W|0}V=V+1|0;if((V|0)!=(f|0)){continue}break}break b}J(38037,36771,1279,38022);G()}J(36255,36330,493,36386);G()}J(37906,36771,904,37922);G()}q[h>>2]=e;Ai(4,36048,38069,h);J(38093,36771,848,38095);G()}J(36605,36330,479,36616);G()}J(36578,36330,506,36597);G()}J(37988,36771,1237,38022);G()}q[l+284>>2]=v;ti=h+432|0;return}J(36549,36330,533,36573);G()}function _M(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,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;m=ti-192|0;ti=m;y=h;F=i&65535;n=d;o=e&65535;G=(e^i)&-2147483648;l=i>>>16&32767;a:{t=e>>>16&32767;b:{c:{if(l-1>>>0<32766?t-1>>>0<=32765:0){break c}H=e&2147483647;k=H;j=d;if(!(!j&(k|0)==2147418112?!(b|c):k>>>0<2147418112)){J=d;G=e|32768;break b}H=i&2147483647;e=H;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){J=h;G=i|32768;b=f;c=g;break b}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;G=2147450880;break b}G=G|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|j|(c|k))){break a}if(!(d|f|(e|g))){G=G|2147418112;b=0;c=0;break b}if((k|0)==65535|k>>>0<65535){i=b;d=!(o|n);h=d<<6;j=z(d?b:n)+32|0;b=z(d?c:o);b=h+((b|0)==32?j:b)|0;dm(m+176|0,i,c,n,o,b-15|0);I=16-b|0;n=q[m+184>>2];o=q[m+188>>2];c=q[m+180>>2];b=q[m+176>>2]}if(e>>>0>65535){break c}d=!(y|F);e=d<<6;h=z(d?f:y)+32|0;d=z(d?g:F);d=e+((d|0)==32?h:d)|0;dm(m+160|0,f,g,y,F,d-15|0);I=(d+I|0)-16|0;y=q[m+168>>2];F=q[m+172>>2];f=q[m+160>>2];g=q[m+164>>2]}e=F|65536;H=e;N=y;d=y;k=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=k;j=k;i=1963258675-(j+(d>>>0>4192101508)|0)|0;Fn(m+144|0,d,j,h,i);j=q[m+152>>2];Fn(m+128|0,0-j|0,0-(q[m+156>>2]+((j|0)!=0)|0)|0,h,i);h=q[m+136>>2];i=h<<1|q[m+132>>2]>>>31;h=q[m+140>>2]<<1|h>>>31;Fn(m+112|0,i,h,d,k);j=h;h=q[m+120>>2];Fn(m+96|0,i,j,0-h|0,0-(q[m+124>>2]+((h|0)!=0)|0)|0);h=q[m+104>>2];i=h<<1|q[m+100>>2]>>>31;h=q[m+108>>2]<<1|h>>>31;Fn(m+80|0,i,h,d,k);j=h;h=q[m+88>>2];Fn(m- -64|0,i,j,0-h|0,0-(q[m+92>>2]+((h|0)!=0)|0)|0);h=q[m+72>>2];i=h<<1|q[m+68>>2]>>>31;h=q[m+76>>2]<<1|h>>>31;Fn(m+48|0,i,h,d,k);j=h;h=q[m+56>>2];Fn(m+32|0,i,j,0-h|0,0-(q[m+60>>2]+((h|0)!=0)|0)|0);h=q[m+40>>2];i=h<<1|q[m+36>>2]>>>31;h=q[m+44>>2]<<1|h>>>31;Fn(m+16|0,i,h,d,k);j=h;h=q[m+24>>2];Fn(m,i,j,0-h|0,0-(q[m+28>>2]+((h|0)!=0)|0)|0);I=(t-l|0)+I|0;h=q[m+8>>2];j=q[m+12>>2]<<1|h>>>31;k=h<<1|q[m+4>>2]>>>31;h=k-1|0;k=j-(k>>>0<1)|0;j=0;C=j;i=h;p=e;e=0;r=Owa(h,j,p,e);j=wi;u=j;x=k;l=0;t=d;h=Owa(k,l,d,0);d=h+r|0;j=wi+j|0;j=d>>>0>>0?j+1|0:j;h=d;d=j;j=0;k=(d|0)==(u|0)&h>>>0>>0|d>>>0>>0;r=Owa(x,l,p,e);e=r+d|0;k=wi+(j|k)|0;j=e;e=j>>>0>>0?k+1|0:k;p=j;k=h;r=0;h=Owa(i,C,t,s);d=r+h|0;j=wi+k|0;j=d>>>0>>0?j+1|0:j;h=j;t=(k|0)==(j|0)&r>>>0>d>>>0|j>>>0>>0;k=p+t|0;j=e;A=k;e=k>>>0>>0?j+1|0:j;p=d;r=d;t=h;d=g;B=(d&131071)<<15|f>>>17;u=Owa(i,C,B,0);d=wi;s=d;j=f;k=j<<15&-32768;w=0;D=Owa(x,l,k,w);h=D+u|0;j=wi+d|0;j=h>>>0>>0?j+1|0:j;d=j;D=0;E=Owa(i,C,k,w);w=D+E|0;k=h;j=k+wi|0;j=w>>>0>>0?j+1|0:j;v=(j|0)==(k|0)&w>>>0>>0|j>>>0>>0;j=(d|0)==(s|0)&k>>>0>>0|d>>>0>>0;h=d;d=Owa(x,l,B,K)+d|0;k=j+wi|0;k=d>>>0>>0?k+1|0:k;h=d;d=v+d|0;j=k;j=d>>>0>>0?j+1|0:j;h=d;d=d+r|0;j=j+t|0;j=d>>>0>>0?j+1|0:j;r=d;u=j;h=(j|0)==(t|0)&d>>>0

>>0|j>>>0>>0;d=h+A|0;j=e;j=d>>>0>>0?j+1|0:j;e=(r|0)!=0|(u|0)!=0;d=e+d|0;k=d>>>0>>0?j+1|0:j;h=d;s=0-d|0;A=0;t=Owa(s,A,i,C);d=wi;w=d;e=t;p=d;A=Owa(x,l,s,A);d=wi;v=d;B=0-(((h|0)!=0)+k|0)|0;s=0;k=Owa(i,C,B,s);h=k+A|0;j=wi+d|0;j=h>>>0>>0?j+1|0:j;d=j;k=h+p|0;e=0+e|0;p=e;j=e;k=j>>>0>>0?k+1|0:k;e=k;k=(w|0)==(k|0)&j>>>0>>0|k>>>0>>0;j=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;h=d;d=Owa(x,l,B,s)+d|0;j=j+wi|0;j=d>>>0>>0?j+1|0:j;h=d;d=k+d|0;v=d;h=d>>>0>>0?j+1|0:j;d=0-r|0;B=0-(((r|0)!=0)+u|0)|0;r=0;A=Owa(B,r,i,C);w=wi;u=d;k=Owa(d,0,x,l);d=k+A|0;j=wi+w|0;j=d>>>0>>0?j+1|0:j;k=d;d=j;C=Owa(i,C,u,K);u=0+C|0;j=k+wi|0;j=u>>>0>>0?j+1|0:j;u=(k|0)==(j|0)&u>>>0>>0|k>>>0>j>>>0;i=(d|0)==(w|0)&k>>>0>>0|d>>>0>>0;k=d;d=Owa(x,l,B,r)+k|0;j=i+wi|0;j=d>>>0>>0?j+1|0:j;i=d;d=d+u|0;k=d>>>0>>0?j+1|0:j;i=d;d=d+p|0;j=k+e|0;j=d>>>0>>0?j+1|0:j;i=d;k=d;d=j;k=(e|0)==(j|0)&k>>>0

>>0|e>>>0>j>>>0;e=k+v|0;j=h;j=e>>>0>>0?j+1|0:j;k=e;e=i;u=e-2|0;h=u;r=d-(e>>>0<2)|0;e=r;e=(d|0)==(e|0)&h>>>0>>0|d>>>0>e>>>0;d=k+e|0;j=d>>>0>>0?j+1|0:j;e=d;d=d-1|0;h=j-(e>>>0<1)|0;e=0;w=e;l=d;i=n;v=i<<2|c>>>30;B=0;p=Owa(d,e,v,B);e=wi;s=e;k=e;e=c;K=(e&1073741823)<<2|b>>>30;t=0;D=h;i=0;e=Owa(K,t,h,i);d=e+p|0;k=wi+k|0;k=d>>>0>>0?k+1|0:k;j=(k|0)==(s|0)&d>>>0

>>0|k>>>0>>0;p=d;h=k;A=r;k=0;r=k;c=j;E=((o&1073741823)<<2|n>>>30)&-262145|262144;k=Owa(A,k,E,0);d=k+d|0;j=wi+h|0;j=d>>>0>>0?j+1|0:j;o=d;e=j;h=(j|0)==(h|0)&d>>>0

>>0|h>>>0>j>>>0;d=c+h|0;j=0;j=d>>>0>>0?1:j;h=Owa(D,i,E,M);d=h+d|0;k=wi+j|0;k=d>>>0>>0?k+1|0:k;n=Owa(l,w,E,M);h=wi;c=d;s=Owa(v,B,D,i);d=s+n|0;j=wi+h|0;j=d>>>0>>0?j+1|0:j;s=d;d=j;j=(h|0)==(j|0)&n>>>0>s>>>0|h>>>0>j>>>0;n=c+d|0;j=j+k|0;k=n;h=k>>>0>>0?j+1|0:j;p=o;c=k;o=0;d=p+o|0;n=e;k=s+e|0;k=d>>>0>>0?k+1|0:k;j=d;e=k;o=(k|0)==(n|0)&j>>>0

>>0|k>>>0>>0;k=c+o|0;j=h;C=k;h=k>>>0>>0?j+1|0:j;n=d;o=e;p=Owa(K,t,A,r);e=wi;s=Owa(u,0,v,B);d=s+p|0;k=wi+e|0;k=d>>>0>>0?k+1|0:k;s=d;p=(e|0)==(k|0)&p>>>0>d>>>0|e>>>0>k>>>0;e=k;x=p;j=b;L=j<<2&-4;c=0;j=Owa(l,w,L,c);d=j+d|0;k=wi+k|0;k=d>>>0>>0?k+1|0:k;p=d;j=d;d=k;k=(k|0)==(e|0)&j>>>0>>0|e>>>0>k>>>0;e=x+k|0;j=0;j=e>>>0>>0?1:j;k=e;e=n+k|0;j=j+o|0;j=e>>>0>>0?j+1|0:j;s=e;k=e;e=j;o=(j|0)==(o|0)&k>>>0>>0|j>>>0>>0;j=o+C|0;k=h;C=j;o=j>>>0>>0?k+1|0:k;x=Owa(D,i,L,c);D=wi;i=Owa(E,M,u,O);h=i+x|0;j=wi+D|0;j=h>>>0>>0?j+1|0:j;E=h;k=Owa(v,B,A,r);h=h+k|0;i=j;j=j+wi|0;j=h>>>0>>0?j+1|0:j;v=h;n=Owa(l,w,K,t);h=h+n|0;k=j+wi|0;k=h>>>0>>0?k+1|0:k;n=h;h=k;w=0;l=(k|0)==(j|0)&n>>>0>>0|k>>>0>>0;k=(i|0)==(j|0)&v>>>0>>0|i>>>0>j>>>0;i=k+((i|0)==(D|0)&E>>>0>>0|i>>>0>>0)|0;j=0;i=l+i|0;j=i;k=h|0;i=k+s|0;j=(j|w)+e|0;j=i>>>0>>0?j+1|0:j;k=j;l=(e|0)==(j|0)&i>>>0>>0|e>>>0>j>>>0;e=l+C|0;j=o;v=e;e=e>>>0>>0?j+1|0:j;s=i;o=k;A=Owa(A,r,L,c);r=wi;j=Owa(K,t,u,O);i=j+A|0;k=wi+r|0;k=i>>>0>>0?k+1|0:k;l=k;k=0;j=(l|0)==(r|0)&i>>>0>>0|l>>>0>>0;i=l+p|0;j=(j|k)+d|0;j=i>>>0>>0?j+1|0:j;l=i;k=i;i=j;k=(d|0)==(j|0)&k>>>0

>>0|d>>>0>j>>>0;d=j;p=k;j=n;n=0;h=n+l|0;k=d+j|0;d=h;k=d>>>0>>0?k+1|0:k;h=(i|0)==(k|0)&d>>>0>>0|i>>>0>k>>>0;d=p+h|0;k=0;k=d>>>0>>0?1:k;h=d;d=d+s|0;j=k+o|0;j=d>>>0>>0?j+1|0:j;h=d;i=j;j=(j|0)==(o|0)&d>>>0>>0|j>>>0>>0;d=j+v|0;k=e;k=d>>>0>>0?k+1|0:k;e=k;d:{if((k|0)==131071|k>>>0<131071){x=0;l=f;w=0;j=Owa(h,x,l,w);n=wi;k=b<<17;b=0;c=(j|0)!=0|(n|0)!=0;t=b-c|0;D=k-(b>>>0>>0)|0;b=0-(((j|0)!=0)+n|0)|0;r=0-j|0;u=b;c=0;v=Owa(i,c,l,w);b=wi;B=b;n=0;p=Owa(h,x,g,n);j=p+v|0;k=wi+b|0;k=j>>>0

>>0?k+1|0:k;b=j;p=0;s=j;j=(j|0)==(u|0)&r>>>0

>>0|j>>>0>u>>>0;C=t-j|0;t=D-(j>>>0>t>>>0)|0;j=Owa(d,0,l,w);l=wi;x=Owa(h,x,y,0);o=x+j|0;j=wi+l|0;j=o>>>0>>0?j+1|0:j;l=Owa(g,n,i,c);o=l+o|0;j=wi+j|0;j=((k|0)==(B|0)&b>>>0>>0|k>>>0>>0)+(l>>>0>o>>>0?j+1|0:j)|0;b=k+o|0;o=b;b=b>>>0>>0?j+1|0:j;j=Owa(h,i,H,0);l=wi;v=o;o=Owa(f,g,e,0);j=o+j|0;k=wi+l|0;k=j>>>0>>0?k+1|0:k;l=Owa(d,e,g,n);o=l+j|0;k=Owa(i,c,y,F);c=k+o|0;k=c;y=0;c=v+y|0;j=b+k|0;j=c>>>0>>0?j+1|0:j;b=c;y=C-b|0;F=t-((b>>>0>C>>>0)+j|0)|0;I=I-1|0;o=r-p|0;b=u-((r>>>0

>>0)+s|0)|0;break d}r=i>>>1|0;k=0;n=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;v=0;l=f;B=0;b=Owa(h,v,l,B);j=wi;t=j;j=(b|0)!=0|(j|0)!=0;u=0-j|0;E=n-(c>>>0>>0)|0;p=0-b|0;s=0-(((b|0)!=0)+t|0)|0;n=0;t=Owa(h,v,g,n);b=wi;D=b;j=e<<31|d>>>1;r=r|d<<31;O=j|k;C=r;L=0;k=Owa(r,L,l,B);c=k+t|0;j=wi+b|0;j=c>>>0>>0?j+1|0:j;b=j;k=c;w=k;x=0;j=(k|0)==(s|0)&x>>>0>p>>>0|k>>>0>s>>>0;A=u-j|0;u=E-(j>>>0>u>>>0)|0;j=Owa(h,i,H,0);E=wi;M=Owa(l,g,e>>>1|0,0);k=M+j|0;j=wi+E|0;E=k;k=k>>>0>>0?j+1|0:j;j=E;d=(e&1)<<31|d>>>1;e=e>>>1|0;E=Owa(d,e,g,n);j=j+E|0;k=wi+k|0;F=Owa(r,O,y,F);j=F+j|0;r=0;F=j;j=Owa(g,n,C,L);n=wi;l=Owa(d,0,l,B);k=l+j|0;j=wi+n|0;j=k>>>0>>0?j+1|0:j;y=Owa(h,v,y,0);k=y+k|0;j=wi+j|0;o=k;k=k>>>0>>0?j+1|0:j;y=(b|0)==(D|0)&c>>>0>>0|b>>>0>>0;c=b;b=b+o|0;k=k+y|0;k=b>>>0>>0?k+1|0:k;c=b;b=b+r|0;k=k+F|0;k=b>>>0>>0?k+1|0:k;y=A-b|0;F=u-((b>>>0>A>>>0)+k|0)|0;o=p-x|0;b=s-((p>>>0>>0)+w|0)|0}if((I|0)>=16384){G=G|2147418112;b=0;c=0;break b}l=I+16383|0;if((I|0)<=-16383){e:{if(l){break e}l=o;j=b<<1|l>>>31;l=l<<1;c=(g|0)==(j|0)&f>>>0>>0|g>>>0>>0;f=y;j=F<<1|f>>>31;g=f<<1|b>>>31;k=g;f=(k|0)==(N|0)&(j|0)==(H|0)?c:(H|0)==(j|0)&k>>>0>N>>>0|j>>>0>H>>>0;b=f+h|0;j=i;j=b>>>0>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0>>0|i>>>0>j>>>0)|0;k=e&65535;e=f;k=d>>>0>e>>>0?k+1|0:k;d=k;if(!(k&65536)){break e}J=e|J;G=d|G;break b}b=0;c=0;break b}n=o;k=b<<1|n>>>31;n=n<<1;c=(g|0)==(k|0)&f>>>0<=n>>>0|g>>>0>>0;f=y;k=F<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(N|0)&(k|0)==(H|0)?c:(H|0)==(k|0)&f>>>0>=N>>>0|k>>>0>H>>>0;b=f+h|0;j=i;j=b>>>0>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0>>0|i>>>0>j>>>0)|0;k=e&65535;k=d>>>0>f>>>0?k+1|0:k;e=0;d=e+f|0;j=(l<<16)+k|0;J=d|J;G=G|(d>>>0>>0?j+1|0:j)}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=J;q[a+12>>2]=G;ti=m+192|0;return}q[a>>2]=0;q[a+4>>2]=0;b=!(d|f|(e|g));q[a+8>>2]=b?0:J;q[a+12>>2]=b?2147450880:G;ti=m+192|0}function Rca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-304|0;ti=f;a:{b:{c:{d:{e:{f:{if(a){if(!b){break f}c=1;g:{if(r[a+156|0]&32){break g}if(r[b+50|0]){xa(131097,1)}xa(131098,196609);xa(131091,q[b+40>>2]);c=-2;if(!(Ab(q[b+32>>2],q[b+36>>2],8,8,8,8,32,8,(r[b+48|0]?65538:65537)|0)|0)){break g}sb(q[b+52>>2]);ob(727);rb(728);qb(729);pb(730);Ma(1);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break e}}q[a+40>>2]=q[b>>2];q[a+44>>2]=q[b+4>>2];q[a+48>>2]=q[b+8>>2];q[a+52>>2]=q[b+12>>2];q[a+56>>2]=q[b+16>>2];q[a+60>>2]=q[b+20>>2];q[a+64>>2]=q[b+24>>2];q[a+68>>2]=q[b+28>>2];p[a+156>>1]=s[a+156>>1]|32;q[a+88>>2]=q[b+32>>2];q[a+92>>2]=q[b+36>>2];Pa(f+172|0,f+168|0);q[a+96>>2]=q[f+172>>2];c=q[f+168>>2];q[a+104>>2]=0;q[a+100>>2]=c;p[a+156>>1]=s[a+156>>1]|256;p[f+232>>1]=s[f+232>>1]&59392|512;c=q[f+228>>2]&-1073741824|2097148;q[f+224>>2]=29361471;q[f+228>>2]=c;c=q[f+236>>2];q[a+80>>2]=q[f+232>>2];q[a+84>>2]=c;c=q[f+228>>2];q[a+72>>2]=q[f+224>>2];q[a+76>>2]=c;p[a+156>>1]=s[a+156>>1]|512;c=U(7938)|0;p[a+156>>1]=s[a+156>>1]&65279|!on(c,84256)<<8;c=Lc()|0;if(!c){break d}N(c|0,84336)|0;N(c|0,84359)|0;N(c|0,84376)|0;N(c|0,84399)|0;N(c|0,84427)|0;N(c|0,84452)|0;N(c|0,84468)|0;N(c|0,84483)|0;N(c|0,84506)|0;N(c|0,84515)|0;N(c|0,84544)|0;N(c|0,84573)|0;N(c|0,84604)|0;N(c|0,84623)|0;N(c|0,84651)|0;N(c|0,84674)|0;N(c|0,84696)|0;N(c|0,84721)|0;N(c|0,84739)|0;N(c|0,84764)|0;N(c|0,84787)|0;N(c|0,84817)|0;N(c|0,84841)|0;N(c|0,84856)|0;N(c|0,84881)|0;N(c|0,84911)|0;N(c|0,84940)|0;N(c|0,84970)|0;N(c|0,85001)|0;N(c|0,85031)|0;N(c|0,85066)|0;N(c|0,85092)|0;N(c|0,85112)|0;N(c|0,85132)|0;N(c|0,85151)|0;N(c|0,85170)|0;if(r[b+49|0]){Ai(2,84116,85187,0);q[f+144>>2]=U(7937);Ai(2,84116,85202,f+144|0);q[f+128>>2]=U(7938);Ai(2,84116,85215,f+128|0);q[f+112>>2]=U(7936);Ai(2,84116,85227,f+112|0)}c=U(7939)|0;if(!c){break c}c=Jk(c);q[a+20>>2]=c;q[f+224>>2]=0;h=Xo(c,86010,f+224|0);if(h){g=a+12|0;d=a+8|0;e=a+4|0;while(1){c=q[d>>2];i=q[g>>2];if((c|0)==(i|0)){if(o[a+16|0]&1){break b}Ii((c-q[e>>2]>>2)+4|0,4,e,g,d);i=q[g>>2];c=q[d>>2]}if((c|0)==(i|0)){break a}q[d>>2]=c+4;q[c>>2]=h;h=Xo(0,86010,f+224|0);if(h){continue}break}}if(!q[77545]){q[77545]=tJ(85249,85270,a)}if(!q[77546]){q[77546]=tJ(85290,85304,a)}c=q[a+8>>2];g=q[a+4>>2];d=c-g|0;h:{if(!d){break h}c=g-c|0;h=(c|0)>(d|0)?c:d;c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;i:{j:{while(1){if(!nj(85317,q[g+(c<<2)>>2])){break j}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(84970,q[g+(c<<2)>>2])){break j}c=c+1|0;if((e|0)!=(c|0)){continue}break}break i}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|3840;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;k:{l:{while(1){if(!nj(85350,q[g+(c<<2)>>2])){break l}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(84911,q[g+(c<<2)>>2])){break l}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(84940,q[g+(c<<2)>>2])){break l}c=c+1|0;if((e|0)!=(c|0)){continue}break}break k}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|4096;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;m:{n:{while(1){if(!nj(85386,q[g+(c<<2)>>2])){break n}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(85001,q[g+(c<<2)>>2])){break n}c=c+1|0;if((e|0)!=(c|0)){continue}break}break m}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|393216;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;o:{p:{while(1){if(!nj(85418,q[g+(c<<2)>>2])){break p}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(85450,q[g+(c<<2)>>2])){break p}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(84544,q[g+(c<<2)>>2])){break p}c=c+1|0;if((e|0)!=(c|0)){continue}break}break o}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|1572864;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;q:{r:{while(1){if(!nj(85482,q[g+(c<<2)>>2])){break r}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(85514,q[g+(c<<2)>>2])){break r}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(84515,q[g+(c<<2)>>2])){break r}c=c+1|0;if((e|0)!=(c|0)){continue}break}break q}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|2097152;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;s:{while(1){if(nj(85546,q[g+(c<<2)>>2])){c=c+1|0;if((e|0)!=(c|0)){continue}break s}break}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|32768;q[a+140>>2]=c}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;t:{while(1){if(!nj(85571,q[g+(c<<2)>>2])){break t}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(85607,q[g+(c<<2)>>2])){break t}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){if(!nj(85639,q[g+(c<<2)>>2])){break t}c=c+1|0;if((e|0)!=(c|0)){continue}break}if(!d){break h}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);d=c>>>0>1?c:1;c=0;while(1){if(!nj(84881,q[g+(c<<2)>>2])){break t}c=c+1|0;if((d|0)!=(c|0)){continue}break}break h}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|65536;q[a+140>>2]=c}if(o[a+157|0]&1){c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|1069547520;q[a+140>>2]=c}q[f+164>>2]=0;fa(34466,f+164|0);c=q[f+164>>2];if((c|0)>=1){g=Oi((c|0)!=(c&1073741823)?-1:c<<2);fa(34467,g|0);h=q[f+164>>2];if((h|0)>=1){c=0;while(1){d=32768;u:{v:{w:{x:{y:{e=q[g+(c<<2)>>2];switch(e-37488|0){case 1:case 3:case 4:case 5:case 6:case 7:break u;case 8:break v;case 2:break x;case 0:break y;default:break w}}d=8192;break v}d=16384;break v}if((e|0)!=37808){break u}d=65536}e=q[a+140>>2];q[a+136>>2]=d|q[a+136>>2];q[a+140>>2]=e}c=c+1|0;if((h|0)!=(c|0)){continue}break}}yi(g)}q[a+144>>2]=16;p[a+156>>1]=s[a+156>>1]|16;q[f+160>>2]=1024;fa(3379,f+160|0);q[a+108>>2]=q[f+160>>2];z:{if(!(r[q[77547]+156|0]&64)){break z}if(!(K()|0)){break z}while(1){if(K()|0){continue}break}}q[f+156>>2]=65536;c=a;e=c;g=s[c+156>>1]&256;if(g){fa(33e3,f+156|0);d=q[f+156>>2];c=(d|0)>65536?d:65536}else{c=65536}q[e+120>>2]=c;A:{if(!(r[q[77547]+156|0]&64)){break A}if(!(K()|0)){break A}while(1){if(K()|0){continue}break}}q[f+152>>2]=65536;c=a;if(g){fa(33001,f+152|0);d=q[f+152>>2];e=(d|0)>65536?d:65536}else{e=65536}q[c+124>>2]=e;B:{if(!(r[q[77547]+156|0]&64)){break B}if(!(K()|0)){break B}while(1){if(K()|0){continue}break}}c=q[a+8>>2];g=q[a+4>>2];d=c-g|0;C:{if(!d){break C}c=g-c|0;h=(c|0)>(d|0)?c:d;c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;D:{while(1){if(nj(85350,q[g+(c<<2)>>2])){c=c+1|0;if((e|0)!=(c|0)){continue}break D}break}c=q[a+140>>2];q[a+136>>2]=q[a+136>>2]|4096;q[a+140>>2]=c}if(!d){break C}c=(d|0)>-1?d:-1;c=w(h>>>2|0,(c|0)<1?c:1);d=c>>>0>1?c:1;c=0;while(1){if(nj(85668,q[g+(c<<2)>>2])){c=c+1|0;if((d|0)!=(c|0)){continue}break C}break}p[a+156>>1]=s[a+156>>1]|1;hc(34047,a+152|0)}h=q[a+8>>2];g=q[a+4>>2];d=h-g|0;E:{F:{G:{e=s[a+156>>1];if(e&256){break G}if(!d){break E}c=g-h|0;i=((c|0)>(d|0)?c:d)>>>2|0;c=(d|0)>-1?d:-1;c=w(i,(c|0)<1?c:1);i=c>>>0>1?c:1;c=0;while(1){if(!nj(85702,q[g+(c<<2)>>2])){break G}c=c+1|0;if((i|0)!=(c|0)){continue}break}break F}p[a+156>>1]=e|6}if(!d){break E}c=g-h|0;e=((c|0)>(d|0)?c:d)>>>2|0;c=(d|0)>-1?d:-1;c=w(e,(c|0)<1?c:1);d=c>>>0>1?c:1;c=0;while(1){if(nj(85723,q[g+(c<<2)>>2])){c=c+1|0;if((d|0)!=(c|0)){continue}break E}break}q[a+132>>2]=q[a+132>>2]|2}H:{if(!r[b+49|0]){break H}c=0;Ai(2,84116,85187,0);q[f+96>>2]=U(7937);Ai(2,84116,85202,f+96|0);q[f+80>>2]=U(7938);Ai(2,84116,85215,f+80|0);q[f+64>>2]=U(7936);Ai(2,84116,85227,f- -64|0);Ai(2,84116,86220,0);b=q[a+4>>2];if((b|0)!=q[a+8>>2]){while(1){q[f+48>>2]=q[(c<<2)+b>>2];Ai(2,84116,86232,f+48|0);c=c+1|0;b=q[a+4>>2];if(c>>>0>2]-b>>2>>>0){continue}break}}Ai(2,84116,86237,0);if(xi[q[77526]](a,0)|0){q[f+32>>2]=86255;Ai(2,84116,86232,f+32|0)}if(!(xi[q[77526]](a,1)|0)){break H}q[f+16>>2]=86294;Ai(2,84116,86232,f+16|0)}Ai(0,89935,89944,0);c=0}ti=f+304|0;return c|0}J(84221,84160,788,84230);G()}J(84247,84160,789,84230);G()}Vi(c,84230,955);J(84254,84160,955,84230);G()}J(84269,84160,1e3,84230);G()}J(85238,84160,1098,84230);G()}J(86012,86087,493,86143);G()}J(86155,86087,533,86179);G()}function $r(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,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,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0;d=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);B=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);l=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);t=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);i=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=Twa(B^l^t^i,1);f=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);ra=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);sa=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=Twa(e^(d^(ra^sa)),1);c=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);w=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);u=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);s=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=Twa(w^j^u^s,1);g=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);ta=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);C=Twa(c^(m^(B^ta)),1);D=Twa(C^(i^(u^ra)),1);E=Twa(D^(e^(m^t)),1);g=Twa(E^(f^(d^i)),1);h=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);ma=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);z=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);b=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);A=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);y=Twa(d^(z^l^A),1);b=Twa(ma^(w^sa)^y,1);F=Twa(b^(s^(A^ta)),1);G=Twa(F^(c^(u^ma)),1);H=Twa(G^(C^(m^s)),1);I=Twa(H^(D^(c^i)),1);J=Twa(I^(E^(e^C)),1);h=Twa(J^(f^D^g),1);K=Twa(f^(y^(t^A)),1);L=Twa(K^(b^(d^ma)),1);M=Twa(L^(s^y^F),1);N=Twa(M^(b^c^G),1);O=Twa(N^(C^F^H),1);P=Twa(O^(D^G^I),1);Q=Twa(P^(E^H^J),1);p=Twa(Q^(g^I^h),1);R=Twa(e^y^K^g,1);k=Twa(R^(b^f^L),1);S=Twa(E^K^R^h,1);x=Twa(S^(g^L^k),1);T=Twa(J^R^S^p,1);U=Twa(T^(h^k^x),1);V=Twa(F^K^M^k,1);W=Twa(V^(G^L^N),1);X=Twa(W^(H^M^O),1);Y=Twa(X^(I^N^P),1);Z=Twa(Y^(J^O^Q),1);_=Twa(Z^(h^P^p),1);$=Twa(_^(Q^S^T),1);aa=Twa($^(p^x^U),1);ba=Twa(M^R^V^x,1);ca=Twa(ba^(k^N^W),1);da=Twa(ca^(O^V^X),1);ea=Twa(da^(P^W^Y),1);fa=Twa(ea^(Q^X^Z),1);ga=Twa(fa^(p^Y^_),1);na=Twa(ga^(T^Z^$),1);ua=Twa(na^(U^_^aa),1);ha=Twa(S^V^ba^U,1);ia=Twa(ha^(x^W^ca),1);ja=Twa(ia^(X^ba^da),1);ka=Twa(ja^(Y^ca^ea),1);va=Twa(ka^(Z^da^fa),1);wa=Twa(va^(_^ea^ga),1);za=Twa(wa^($^fa^na),1);Aa=Twa(za^(aa^ga^ua),1);la=Twa(T^ba^ha^aa,1);xa=Twa(la^($^ha)^ua,1);oa=Twa(U^ca^ia^la,1);Ba=q[a+24>>2];pa=q[a+8>>2];n=Ba+(Twa(pa,5)+z|0)|0;qa=q[a+20>>2];ya=q[a+12>>2];z=q[a+16>>2];v=(n+(qa^ya&(z^qa))|0)+1518500249|0;n=Twa(v,30);o=j+qa|0;j=Twa(ya,30);o=((o+(z^(j^z)&pa)|0)+Twa(v,5)|0)+1518500249|0;Ca=l+z|0;l=Twa(pa,30);v=((Ca+(j^v&(l^j))|0)+Twa(o,5)|0)+1518500249|0;w=(Twa(v,5)+((j+w|0)+(l^o&(n^l))|0)|0)+1518500249|0;j=Twa(v,30);o=Twa(o,30);l=(((l+B|0)+(n^v&(o^n))|0)+Twa(w,5)|0)+1518500249|0;B=(Twa(l,5)+((n+sa|0)+(o^(j^o)&w)|0)|0)+1518500249|0;n=Twa(B,30);v=o+ta|0;o=Twa(w,30);v=((v+(j^l&(o^j))|0)+Twa(B,5)|0)+1518500249|0;l=Twa(l,30);w=(((j+ra|0)+(o^B&(l^o))|0)+Twa(v,5)|0)+1518500249|0;A=(Twa(w,5)+((o+A|0)+(l^v&(n^l))|0)|0)+1518500249|0;j=Twa(w,30);l=l+u|0;u=Twa(v,30);o=((l+(n^w&(u^n))|0)+Twa(A,5)|0)+1518500249|0;l=(Twa(o,5)+((n+t|0)+(u^A&(j^u))|0)|0)+1518500249|0;n=Twa(l,30);t=Twa(A,30);u=(((u+ma|0)+(j^o&(t^j))|0)+Twa(l,5)|0)+1518500249|0;j=j+m|0;m=Twa(o,30);j=((j+(t^l&(m^t))|0)+Twa(u,5)|0)+1518500249|0;t=(Twa(j,5)+((d+t|0)+(m^u&(n^m))|0)|0)+1518500249|0;d=Twa(j,30);m=m+s|0;s=Twa(u,30);j=((m+(n^j&(s^n))|0)+Twa(t,5)|0)+1518500249|0;n=(Twa(j,5)+((i+n|0)+(s^t&(d^s))|0)|0)+1518500249|0;i=Twa(n,30);m=Twa(j,30);l=s+y|0;s=Twa(t,30);y=((l+(d^j&(s^d))|0)+Twa(n,5)|0)+1518500249|0;c=(Twa(y,5)+((c+d|0)+(s^n&(m^s))|0)|0)+1518500249|0;d=Twa(c,30);n=Twa(y,30);b=(b+m|0)+(i^c&(n^i))|0;m=(Twa(c,5)+((e+s|0)+(m^y&(i^m))|0)|0)+1518500249|0;b=(b+Twa(m,5)|0)+1518500249|0;i=(Twa(b,5)+((i+C|0)+(m^(d^n))|0)|0)+1859775393|0;e=Twa(i,30);c=Twa(b,30);j=f+n|0;f=Twa(m,30);b=((j+(b^(f^d))|0)+Twa(i,5)|0)+1859775393|0;i=(Twa(b,5)+((d+F|0)+(i^(c^f))|0)|0)+1859775393|0;d=Twa(i,30);m=Twa(b,30);j=(c+K|0)+(i^(m^e))|0;c=(Twa(i,5)+((f+D|0)+(b^(c^e))|0)|0)+1859775393|0;b=(j+Twa(c,5)|0)+1859775393|0;i=(Twa(b,5)+((e+G|0)+(c^(d^m))|0)|0)+1859775393|0;e=Twa(i,30);f=Twa(b,30);c=Twa(c,30);b=(((m+E|0)+(b^(c^d))|0)+Twa(i,5)|0)+1859775393|0;i=(Twa(b,5)+((d+L|0)+(i^(c^f))|0)|0)+1859775393|0;d=Twa(i,30);j=f+g|0;g=Twa(b,30);c=(Twa(i,5)+((c+H|0)+(b^(e^f))|0)|0)+1859775393|0;b=((j+(i^(g^e))|0)+Twa(c,5)|0)+1859775393|0;i=(Twa(b,5)+((e+M|0)+(c^(d^g))|0)|0)+1859775393|0;e=Twa(i,30);f=Twa(b,30);c=Twa(c,30);b=(((g+I|0)+(b^(c^d))|0)+Twa(i,5)|0)+1859775393|0;g=(Twa(b,5)+((d+R|0)+(i^(c^f))|0)|0)+1859775393|0;d=Twa(g,30);i=Twa(b,30);c=(Twa(g,5)+((c+N|0)+(b^(e^f))|0)|0)+1859775393|0;b=(((f+J|0)+(g^(i^e))|0)+Twa(c,5)|0)+1859775393|0;g=(Twa(b,5)+((e+k|0)+(c^(d^i))|0)|0)+1859775393|0;f=Twa(g,30);k=Twa(c,30);e=(((i+O|0)+(b^(k^d))|0)+Twa(g,5)|0)+1859775393|0;c=d+h|0;h=Twa(b,30);c=((c+(g^(h^k))|0)+Twa(e,5)|0)+1859775393|0;b=(Twa(c,5)+((k+V|0)+(e^(f^h))|0)|0)+1859775393|0;d=Twa(c,30);k=h+P|0;h=Twa(e,30);e=((k+(c^(h^f))|0)+Twa(b,5)|0)+1859775393|0;c=(Twa(e,5)+((f+S|0)+(h&(b|d)|b&d)|0)|0)-1894007588|0;f=Twa(c,30);b=Twa(b,30);g=Twa(e,30);k=(d+Q|0)+(b&(g|c)|c&g)|0;c=(Twa(c,5)+((h+W|0)+(d&(b|e)|b&e)|0)|0)-1894007588|0;d=(k+Twa(c,5)|0)-1894007588|0;b=(Twa(d,5)+((b+x|0)+(g&(c|f)|c&f)|0)|0)-1894007588|0;e=Twa(d,30);c=Twa(c,30);d=(((g+X|0)+(f&(c|d)|c&d)|0)+Twa(b,5)|0)-1894007588|0;g=(Twa(d,5)+((f+p|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=Twa(g,30);b=Twa(b,30);h=Twa(d,30);c=(Twa(g,5)+((c+ba|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;d=(((e+Y|0)+(b&(h|g)|g&h)|0)+Twa(c,5)|0)-1894007588|0;b=(Twa(d,5)+((b+T|0)+(h&(c|f)|c&f)|0)|0)-1894007588|0;e=Twa(d,30);c=Twa(c,30);d=(((h+ca|0)+(f&(c|d)|c&d)|0)+Twa(b,5)|0)-1894007588|0;g=(Twa(d,5)+((f+Z|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=Twa(g,30);b=Twa(b,30);h=Twa(d,30);c=(Twa(g,5)+((c+U|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;d=(((e+da|0)+(b&(h|g)|g&h)|0)+Twa(c,5)|0)-1894007588|0;b=(Twa(d,5)+((b+_|0)+(h&(c|f)|c&f)|0)|0)-1894007588|0;e=Twa(d,30);c=Twa(c,30);d=(((h+ha|0)+(f&(c|d)|c&d)|0)+Twa(b,5)|0)-1894007588|0;g=(Twa(d,5)+((f+ea|0)+(c&(b|e)|b&e)|0)|0)-1894007588|0;f=Twa(g,30);b=Twa(b,30);h=Twa(d,30);d=(Twa(g,5)+((c+$|0)+(e&(b|d)|b&d)|0)|0)-1894007588|0;e=(((e+ia|0)+(b&(h|g)|g&h)|0)+Twa(d,5)|0)-1894007588|0;c=Twa(e,30);g=Twa(d,30);k=(h+aa|0)+(f&(g|e)|e&g)|0;h=(Twa(e,5)+((b+fa|0)+(h&(d|f)|d&f)|0)|0)-1894007588|0;b=(k+Twa(h,5)|0)-1894007588|0;f=(Twa(b,5)+((f+ja|0)+(h^(c^g))|0)|0)-899497514|0;d=Twa(f,30);e=Twa(b,30);k=g+ga|0;g=Twa(h,30);b=((k+(b^(g^c))|0)+Twa(f,5)|0)-899497514|0;c=(Twa(b,5)+((c+la|0)+(f^(e^g))|0)|0)-899497514|0;f=Twa(c,30);h=Twa(b,30);k=(e+na|0)+(c^(h^d))|0;c=(Twa(c,5)+((g+ka|0)+(b^(d^e))|0)|0)-899497514|0;b=(k+Twa(c,5)|0)-899497514|0;g=(Twa(b,5)+((d+oa|0)+(c^(f^h))|0)|0)-899497514|0;d=Twa(g,30);e=Twa(b,30);c=Twa(c,30);b=(((h+va|0)+(b^(c^f))|0)+Twa(g,5)|0)-899497514|0;g=(Twa(b,5)+((f+ua|0)+(g^(c^e))|0)|0)-899497514|0;f=Twa(g,30);h=Twa(b,30);p=(e+wa|0)+(g^(h^d))|0;k=c;c=Twa(da^ha^ja^oa,1);e=(((k+c|0)+(b^(d^e))|0)+Twa(g,5)|0)-899497514|0;b=(p+Twa(e,5)|0)-899497514|0;d=(Twa(b,5)+((d+xa|0)+(e^(f^h))|0)|0)-899497514|0;g=Twa(d,30);p=Twa(b,30);e=Twa(e,30);k=h;h=Twa(c^(ea^ia^ka),1);b=(((k+h|0)+(b^(e^f))|0)+Twa(d,5)|0)-899497514|0;d=(((f+za|0)+(d^(p^e))|0)+Twa(b,5)|0)-899497514|0;f=Twa(d,30);k=Twa(b,30);x=Twa(aa^ia^oa^xa,1);b=(((x+e|0)+(b^(g^p))|0)+Twa(d,5)|0)-899497514|0;i=p;p=Twa(h^(fa^ja^va),1);d=(((i+p|0)+(d^(g^k))|0)+Twa(b,5)|0)-899497514|0;e=(((g+Aa|0)+(f^k^b)|0)+Twa(d,5)|0)-899497514|0;g=Twa(e,30);q[a+24>>2]=g+Ba;i=k;k=Twa(x^(c^(ja^la)),1);b=Twa(b,30);c=(((i+k|0)+(d^(b^f))|0)+Twa(e,5)|0)-899497514|0;x=Twa(c,30);q[a+20>>2]=x+qa;p=Twa(p^(ga^ka^wa),1)+f|0;d=Twa(d,30);e=((p+(e^(d^b))|0)+Twa(c,5)|0)-899497514|0;q[a+16>>2]=Twa(e,30)+z;b=(((Twa(la^na^xa^Aa,1)+b|0)+(c^(d^g))|0)+Twa(e,5)|0)-899497514|0;q[a+12>>2]=b+ya;q[a+8>>2]=(((d+(Twa(k^(h^(ka^oa)),1)+pa|0)|0)+(e^(g^x))|0)+Twa(b,5)|0)-899497514;return 0}function sr(a,b,c,d,e,f,g,h,i,j,k,l,m,n,u){var v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;v=ti-80|0;ti=v;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(r[310361]){P=g-21>>>0<9;M=P|!n;F=a+176|0;A=n?n:l;n:{if(n|P){break n}M=0;A=c;if((g|0)!=15){break n}A=l+7>>>3|0}Q=w(c,d);o:{if(!i){break o}l=0;if(k>>>0>15){break a}R=((w(j,192)+F|0)+w(k,12)|0)+24|0;if(t[R+4>>2]>=Q>>>0){break o}jt(R,Q)}C=v+56|0;q[C>>2]=0;q[C+4>>2]=0;q[C+16>>2]=0;q[C+20>>2]=0;q[C+8>>2]=0;q[C+12>>2]=0;if(!iw(C,e,f)){break b}f=q[a+172>>2];K=v+40|0;e=K;q[e+8>>2]=0;q[e>>2]=0;q[e+4>>2]=0;jt(e,f);q[e+12>>2]=f>>>1;q[v+32>>2]=0;q[v+36>>2]=0;o[v+35|0]=r[v+35|0]&254;o[v+35|0]=r[v+35|0]&253|2;p:{if((g&-2)!=6){break p}V=Ji(w(Q,12));if(V){break p}break c}if(t[F+4>>2]>>0){sM(F,c);sM(F+12|0,c)}e=q[a>>2];e=e?e:a;N=e+4|0;if(!q[N+4>>2]){break c}H=e+16|0;if(!q[H+4>>2]){break c}e=q[H+4>>2];if(d){$=u?u:M?m:u;aa=e+q[a+172>>2]|0;S=A<<2;T=A<<1;ba=a+136|0;ca=a+100|0;da=a- -64|0;ea=a+28|0;X=F+12|0;m=v+16|12;P=v+16|14;fa=(g|0)==24;u=0;M=0;j=0;while(1){if(c){Y=w(A,E);Z=w(c,E);e=E<<2;B=$-e|0;I=w(e,A);W=E&1;ga=w(W,12)+F|0;_=w(W^1,12)+F|0;k=0;while(1){q:{if(k&1){break q}if(!W){r:{if(O){O=O-1|0}else{O=0;u=Xm(C,ea);if((u|0)!=256){break r}O=zM(C,4)+2|0}u=M}o[ol(X,k)+2|0]=u>>>4;M=u;break q}u=r[ol(X,k)+2|0]}s:{t:{u:{v:{w:{e=u&3;switch(e|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}n=0;if(k){break s}break e}if(!E){break e}j=s[ol(_,k)>>1];n=0;break s}if(i){f=q[ol(R,k+Z|0)>>2];j=f&65535;n=f>>>16|0;break s}if(!E|!k){break e}j=s[ol(_,k-1|0)>>1];n=0;break s}n=0;j=Xm(C,da)+j|0;if(j>>>0>2]){break s}j=j-q[N+4>>2]|0}p[ol(ga,k)>>1]=j;x:{if((e|0)==2&i){break x}y:{if(U){U=U-1|0}else{U=0;n=Xm(C,ca);if((aa|0)!=(n|0)){break y}n=Xm(C,ba);if((n|0)==63){n=zM(C,7)}if(n+3>>>0>Q>>>0){break e}U=n+2|0}n=q[H+4>>2]}e=q[a+172>>2];if(q[H+4>>2]<=(n|0)){if(!e){break m}e=n-q[H+4>>2]|0;if((e|0)>=q[K+4>>2]){break e}n=q[ol(K,e)>>2];if(!e){break x}yua(K,e);break x}if(!e){break x}zua(K,n)}if(t[N+4>>2]<=j>>>0|t[H+4>>2]<=n>>>0){break e}if(i){q[ol(R,k+Z|0)>>2]=n<<16|j}e=pta(N,j);D=nta(H,n);z:{A:{switch(g|0){case 2:J(92163,92069,8162,92115);G();case 4:J(92163,92069,8172,92115);G();case 6:J(92163,92069,8207,92115);G();case 7:J(92163,92069,8258,92115);G();case 8:case 9:J(92163,92069,8270,92115);G();case 10:J(92163,92069,8280,92115);G();case 11:J(92163,92069,8290,92115);G();case 12:J(92163,92069,8300,92115);G();case 13:J(92163,92069,8310,92115);G();case 15:J(92163,92069,8325,92115);G();case 20:e=w(k+Y|0,h)+b|0;p[e+2>>1]=n;p[e>>1]=j;break z;case 23:if((h|0)!=4){break l}n=k<<2;f=A-n|0;l=(f|0)>4?4:f;f=(B|0)>4?4:B;fua(v+16|0,e,r[e+4|0]);x=(n+I<<2)+b|0;if((l|0)!=4){if(!f){break z}e=0;if(!l){break z}while(1){z=r[e+D|0];n=0;while(1){o[(n<<2|3)+x|0]=q[(v+16|(z>>>(n<<1)&3)<<2)>>2];n=n+1|0;if((l|0)!=(n|0)){continue}break}x=x+S|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}break z}l=0;if(!f){break z}while(1){e=r[l+D|0];o[x+3|0]=q[(v+16|(e&3)<<2)>>2];o[x+7|0]=q[(v+16|e&12)>>2];o[x+11|0]=q[(v+16|e>>>2&12)>>2];o[x+15|0]=q[(v+16|e>>>4&12)>>2];x=x+S|0;l=l+1|0;if((f|0)!=(l|0)){continue}break}break z;case 21:if((h|0)!=4){break k}rr(v+16|0,e,r[e+4|0]);z=(B|0)>4?4:B;if(!z){break z}e=k<<2;f=A-e|0;y=(f|0)>4?4:f;if(!y){break z}x=(e+I<<2)+b|0;e=0;while(1){L=r[e+D|0];n=0;while(1){f=n<<2;l=v+16|(L>>>(n<<1)&3)<<2;o[f+x|0]=r[l|0];o[(f|1)+x|0]=r[l+1|0];o[(f|2)+x|0]=r[l+2|0];n=n+1|0;if((y|0)!=(n|0)){continue}break}x=x+S|0;e=e+1|0;if((z|0)!=(e|0)){continue}break}break z;case 22:if((h|0)!=4){break j}rr(v+16|0,e,r[e+4|0]);z=(B|0)>4?4:B;if(!z){break z}e=k<<2;f=A-e|0;y=(f|0)>4?4:f;if(!y){break z}n=(e+I<<2)+b|0;e=0;while(1){L=r[e+D|0];x=0;while(1){f=x<<2;l=v+16|(L>>>(x<<1)&3)<<2;o[f+n|0]=r[l|0];o[(f|1)+n|0]=r[l+1|0];o[(f|2)+n|0]=r[l+2|0];o[(f|3)+n|0]=255;x=x+1|0;if((y|0)!=(x|0)){continue}break}n=n+S|0;e=e+1|0;if((z|0)!=(e|0)){continue}break}break z;case 24:case 25:if((h|0)!=2){break i}x=(B|0)>4?4:B;rr(v+16|0,e,r[e+4|0]);f=v;B:{if(!fa){e=w(r[v+17|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+18|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+16|0],31)+128|0;p[v+8>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+21|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+22|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+20|0],31)+128|0;p[v+10>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+25|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+26|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+24|0],31)+128|0;p[v+12>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+29|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+30|0],31)+128|0;n=l|(e>>>8|0)+e>>>8<<11;e=m;break B}e=w(r[v+17|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+16|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+18|0],31)+128|0;p[v+8>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+21|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+20|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+22|0],31)+128|0;p[v+10>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+25|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+24|0],31)+128|0;l=l|(e>>>8|0)+e>>>8<<11;e=w(r[v+26|0],31)+128|0;p[v+12>>1]=l|(e>>>8|0)+e>>>8;e=w(r[v+29|0],63)+128|0;l=(e>>>8|0)+e>>>8<<5;e=w(r[v+28|0],31)+128|0;n=l|(e>>>8|0)+e>>>8<<11;e=P}e=w(r[e|0],31)+128|0;p[f+14>>1]=(e>>>8|0)+e>>>8|n;if(!x){break z}e=k<<2;f=A-e|0;z=(f|0)>4?4:f;if(!z){break z}l=(e+I<<1)+b|0;f=0;while(1){e=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((e>>>y&3)<<1)>>1];n=n+1|0;if((z|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((x|0)!=(f|0)){continue}break}break z;case 26:if((h|0)!=2){break h}rr(v+16|0,e,r[e+4|0]);e=w(r[v+17|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+16|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+18|0],15)+128|0;p[v+8>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+21|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+20|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+22|0],15)+128|0;p[v+10>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+25|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+24|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+26|0],15)+128|0;p[v+12>>1]=f|(e>>>8|0)+e>>>8<<4;e=w(r[v+29|0],15)+128|0;f=(e>>>8|0)+e>>>8<<8;e=w(r[v+28|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<12;e=w(r[v+30|0],15)+128|0;p[v+14>>1]=f|(e>>>8|0)+e>>>8<<4;l=(B|0)>4?4:B;if(!l){break z}e=k<<2;f=A-e|0;x=(f|0)>4?4:f;if(!x){break z}f=(e+I<<1)+b|0;e=0;while(1){z=r[e+D|0];n=0;while(1){y=n<<1;L=y+f|0;p[L>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1]|s[L>>1]&15;n=n+1|0;if((x|0)!=(n|0)){continue}break}f=f+T|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}break z;case 28:if((h|0)!=2){break g}rr(v+16|0,e,r[e+4|0]);e=w(r[v+16|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+17|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+18|0],15)+128|0;p[v+8>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+20|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+21|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+22|0],15)+128|0;p[v+10>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+24|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+25|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+26|0],15)+128|0;p[v+12>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=w(r[v+28|0],15)+128|0;f=(e>>>8|0)+e>>>8<<12;e=w(r[v+29|0],15)+128|0;f=f|(e>>>8|0)+e>>>8<<8;e=w(r[v+30|0],15)+128|0;p[v+14>>1]=f|(e>>>8|0)+e>>>8<<4|15;e=(B|0)>4?4:B;if(!e){break z}f=k<<2;l=A-f|0;x=(l|0)>4?4:l;if(!x){break z}l=(f+I<<1)+b|0;f=0;while(1){z=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1];n=n+1|0;if((x|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break z;case 27:if((h|0)!=2){break f}rr(v+16|0,e,r[e+4|0]);e=w(r[v+17|0],15)+128|0;p[v+8>>1]=(e>>>8|0)+e>>>8;e=w(r[v+21|0],15)+128|0;p[v+10>>1]=(e>>>8|0)+e>>>8;e=w(r[v+25|0],15)+128|0;p[v+12>>1]=(e>>>8|0)+e>>>8;e=w(r[v+29|0],15)+128|0;p[v+14>>1]=(e>>>8|0)+e>>>8;e=(B|0)>4?4:B;if(!e){break z}f=k<<2;l=A-f|0;x=(l|0)>4?4:l;if(!x){break z}l=(f+I<<1)+b|0;f=0;while(1){z=r[f+D|0];n=0;while(1){y=n<<1;p[y+l>>1]=s[(v+8|0)+((z>>>y&3)<<1)>>1];n=n+1|0;if((x|0)!=(n|0)){continue}break}l=l+T|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break z;case 18:J(92163,92069,8608,92115);G();default:J(92163,92069,8614,92115);G();case 16:case 17:break z;case 0:break A}}aua(v+32|0,bua(r[e|0],r[e+1|0],r[e+2|0]));yM(v+32|0,0,r[e+4|0]);yM(v+32|0,1,r[e+4|0]);e=w(k+Y|0,h)+b|0;q[e>>2]=q[v+32>>2];f=r[D+4|0];l=r[D+5|0];n=r[D+6|0];o[e+7|0]=r[D+7|0];o[e+6|0]=n;o[e+5|0]=l;o[e+4|0]=f}u=u>>>2|0;k=k+1|0;if((k|0)!=(c|0)){continue}break}}E=E+1|0;if((E|0)!=(d|0)){continue}break}x=0;if(O){break c}}x=1;break d}J(92044,92069,7830,92115);G()}J(92131,92069,8082,92115);G()}J(92165,92069,8357,92115);G()}J(92165,92069,8397,92115);G()}J(92165,92069,8426,92115);G()}J(92223,92069,8457,92115);G()}J(92223,92069,8500,92115);G()}J(92223,92069,8540,92115);G()}J(92223,92069,8571,92115);G()}x=0}if(!V){break c}yi(V)}bq(K)}l=x}ti=v+80|0;return l}function fsa(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,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=ti-8976|0;ti=h;z=d+e|0;F=0-z|0;a:{b:{while(1){c:{if((c|0)!=48){if((c|0)!=46){break a}c=q[b+4>>2];if(c>>>0>=t[b+104>>2]){break c}q[b+4>>2]=c+1;c=r[c|0];break b}c=q[b+4>>2];if(c>>>0>2]){j=1;q[b+4>>2]=c+1;c=r[c|0]}else{j=1;c=ok(b)}continue}break}c=ok(b)}k=1;if((c|0)!=48){break a}while(1){n=l;l=l-1|0;m=m-(n>>>0<1)|0;c=q[b+4>>2];d:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break d}c=ok(b)}if((c|0)==48){continue}break}j=1}q[h+784>>2]=0;e:{f:{p=(c|0)==46;n=c-48|0;g:{h:{i:{j:{if(p|n>>>0<=9){while(1){k:{if(p&1){if(!k){l=o;m=i;k=1;break k}j=!j;break j}o=o+1|0;i=o>>>0<1?i+1|0:i;if((u|0)<=2044){y=(c|0)==48?y:o;j=(h+784|0)+(u<<2)|0;p=j;if(s){n=(w(q[j>>2],10)+c|0)-48|0}q[p>>2]=n;j=1;n=s+1|0;c=(n|0)==9;s=c?0:n;u=c+u|0;break k}if((c|0)==48){break k}q[h+8960>>2]=q[h+8960>>2]|1;y=18396}c=q[b+4>>2];l:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break l}c=ok(b)}p=(c|0)==46;n=c-48|0;if(p|n>>>0<10){continue}break}}l=k?l:o;m=k?m:i;if(!(!j|(c&-33)!=69)){k=LC(b,g);c=wi;p=c;m:{if(k|(c|0)!=-2147483648){break m}if(!g){break g}k=0;p=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}if(!j){break h}m=m+p|0;b=k+l|0;m=b>>>0>>0?m+1|0:m;l=b;break f}j=!j;if((c|0)<0){break i}}if(!q[b+104>>2]){break i}q[b+4>>2]=q[b+4>>2]-1}if(!j){break f}}q[242957]=28}o=0;i=0;nn(b,0,0);c=0;b=0;break e}b=q[h+784>>2];if(!b){fo(h,+(f|0)*0);o=q[h>>2];i=q[h+4>>2];c=q[h+12>>2];b=q[h+8>>2];break e}if(!((l|0)!=(o|0)|(i|0)!=(m|0)|((i|0)>0?1:(i|0)>=0?o>>>0>9:0)|(b>>>d|0?(d|0)<=30:0))){Jm(h+48|0,f);wr(h+32|0,b);yk(h+16|0,q[h+48>>2],q[h+52>>2],q[h+56>>2],q[h+60>>2],q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2]);o=q[h+16>>2];i=q[h+20>>2];c=q[h+28>>2];b=q[h+24>>2];break e}if((m|0)>0?1:(m|0)>=0?l>>>0>(e|0)/-2>>>0:0){q[242957]=68;Jm(h+96|0,f);yk(h+80|0,q[h+96>>2],q[h+100>>2],q[h+104>>2],q[h+108>>2],-1,-1,-1,2147418111);yk(h- -64|0,q[h+80>>2],q[h+84>>2],q[h+88>>2],q[h+92>>2],-1,-1,-1,2147418111);o=q[h+64>>2];i=q[h+68>>2];c=q[h+76>>2];b=q[h+72>>2];break e}b=e-226|0;c=l>>>0>>0;b=b>>31;if((b|0)>(m|0)?1:(m|0)<=(b|0)?c:0){q[242957]=68;Jm(h+144|0,f);yk(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,65536);yk(h+112|0,q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2],0,0,0,65536);o=q[h+112>>2];i=q[h+116>>2];c=q[h+124>>2];b=q[h+120>>2];break e}if(s){if((s|0)<=8){c=(h+784|0)+(u<<2)|0;b=q[c>>2];while(1){b=w(b,10);s=s+1|0;if((s|0)!=9){continue}break}q[c>>2]=b}u=u+1|0}n:{k=l;if((y|0)>(k|0)|(y|0)>=9|(k|0)>17){break n}if((k|0)==9){Jm(h+192|0,f);wr(h+176|0,q[h+784>>2]);yk(h+160|0,q[h+192>>2],q[h+196>>2],q[h+200>>2],q[h+204>>2],q[h+176>>2],q[h+180>>2],q[h+184>>2],q[h+188>>2]);o=q[h+160>>2];i=q[h+164>>2];c=q[h+172>>2];b=q[h+168>>2];break e}if((k|0)<=8){Jm(h+272|0,f);wr(h+256|0,q[h+784>>2]);yk(h+240|0,q[h+272>>2],q[h+276>>2],q[h+280>>2],q[h+284>>2],q[h+256>>2],q[h+260>>2],q[h+264>>2],q[h+268>>2]);Jm(h+224|0,q[(0-k<<2)+214352>>2]);_M(h+208|0,q[h+240>>2],q[h+244>>2],q[h+248>>2],q[h+252>>2],q[h+224>>2],q[h+228>>2],q[h+232>>2],q[h+236>>2]);o=q[h+208>>2];i=q[h+212>>2];c=q[h+220>>2];b=q[h+216>>2];break e}b=(w(k,-3)+d|0)+27|0;c=q[h+784>>2];if(c>>>b|0?(b|0)<=30:0){break n}Jm(h+352|0,f);wr(h+336|0,c);yk(h+320|0,q[h+352>>2],q[h+356>>2],q[h+360>>2],q[h+364>>2],q[h+336>>2],q[h+340>>2],q[h+344>>2],q[h+348>>2]);Jm(h+304|0,q[(k<<2)+214280>>2]);yk(h+288|0,q[h+320>>2],q[h+324>>2],q[h+328>>2],q[h+332>>2],q[h+304>>2],q[h+308>>2],q[h+312>>2],q[h+316>>2]);o=q[h+288>>2];i=q[h+292>>2];c=q[h+300>>2];b=q[h+296>>2];break e}while(1){c=u;u=c-1|0;if(!q[(h+784|0)+(u<<2)>>2]){continue}break}s=0;b=(k|0)%9|0;o:{if(!b){j=0;break o}g=(k|0)>-1?b:b+9|0;p:{if(!c){j=0;c=0;break p}l=q[(0-g<<2)+214352>>2];m=1e9/(l|0)|0;p=0;b=0;j=0;while(1){n=p;i=(h+784|0)+(b<<2)|0;o=q[i>>2];p=(o>>>0)/(l>>>0)|0;n=n+p|0;q[i>>2]=n;n=!n&(b|0)==(j|0);j=n?j+1&2047:j;k=n?k-9|0:k;p=w(m,o-w(l,p)|0);b=b+1|0;if((c|0)!=(b|0)){continue}break}if(!p){break p}q[(h+784|0)+(c<<2)>>2]=p;c=c+1|0}k=(k-g|0)+9|0}while(1){o=(h+784|0)+(j<<2)|0;q:{while(1){if((k|0)!=36|t[o>>2]>=10384593?(k|0)>=36:0){break q}u=c+2047|0;p=0;n=c;while(1){c=n;i=u&2047;n=(h+784|0)+(i<<2)|0;b=q[n>>2];m=b>>>3|0;g=b<<29;b=g+p|0;m=b>>>0>>0?m+1|0:m;l=b;g=0;r:{if(!m&b>>>0<1000000001){break r}g=Pwa(b,m,1e9);l=l-Owa(g,wi,1e9,0)|0}p=g;q[n>>2]=l;n=(i|0)!=(c-1&2047)?c:(i|0)==(j|0)?c:l?c:i;u=i-1|0;if((i|0)!=(j|0)){continue}break}s=s-29|0;if(!p){continue}break}j=j-1&2047;if((n|0)==(j|0)){b=(h+784|0)+((n+2046&2047)<<2)|0;c=n-1&2047;q[b>>2]=q[b>>2]|q[(h+784|0)+(c<<2)>>2]}k=k+9|0;q[(h+784|0)+(j<<2)>>2]=p;continue}break}s:{t:while(1){g=c+1&2047;m=(h+784|0)+((c-1&2047)<<2)|0;while(1){l=(k|0)>45?9:1;u:{while(1){n=j;b=0;v:{while(1){w:{j=b+n&2047;if((j|0)==(c|0)){break w}j=q[(h+784|0)+(j<<2)>>2];i=q[(b<<2)+214304>>2];if(j>>>0>>0){break w}if(i>>>0>>0){break v}b=b+1|0;if((b|0)!=4){continue}}break}if((k|0)!=36){break v}l=0;m=0;b=0;o=0;i=0;while(1){g=b+n&2047;if((g|0)==(c|0)){c=c+1&2047;q[((c<<2)+h|0)+780>>2]=0}yk(h+768|0,l,m,o,i,0,0,1342177280,1075633366);wr(h+752|0,q[(h+784|0)+(g<<2)>>2]);Am(h+736|0,q[h+768>>2],q[h+772>>2],q[h+776>>2],q[h+780>>2],q[h+752>>2],q[h+756>>2],q[h+760>>2],q[h+764>>2]);o=q[h+744>>2];i=q[h+748>>2];l=q[h+736>>2];m=q[h+740>>2];b=b+1|0;if((b|0)!=4){continue}break}Jm(h+720|0,f);yk(h+704|0,l,m,o,i,q[h+720>>2],q[h+724>>2],q[h+728>>2],q[h+732>>2]);o=q[h+712>>2];i=q[h+716>>2];l=0;m=0;k=q[h+704>>2];p=q[h+708>>2];j=s+113|0;e=j-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break u}break s}s=l+s|0;j=c;if((c|0)==(n|0)){continue}break}i=1e9>>>l|0;o=-1<>2];b=(u>>>l|0)+b|0;q[p>>2]=b;b=!b&(j|0)==(n|0);j=b?j+1&2047:j;k=b?k-9|0:k;b=w(i,o&u);n=n+1&2047;if((n|0)!=(c|0)){continue}break}if(!b){continue}if((g|0)!=(j|0)){q[(h+784|0)+(c<<2)>>2]=b;c=g;continue t}q[m>>2]=q[m>>2]|1;j=g;continue}break}break}fo(h+656|0,In(1,225-d|0));ZL(h+688|0,q[h+656>>2],q[h+660>>2],q[h+664>>2],q[h+668>>2],k,p,o,i);A=q[h+696>>2];B=q[h+700>>2];C=q[h+688>>2];D=q[h+692>>2];fo(h+640|0,In(1,113-d|0));SE(h+672|0,k,p,o,i,q[h+640>>2],q[h+644>>2],q[h+648>>2],q[h+652>>2]);l=q[h+672>>2];m=q[h+676>>2];v=q[h+680>>2];x=q[h+684>>2];mB(h+624|0,k,p,o,i,l,m,v,x);Am(h+608|0,C,D,A,B,q[h+624>>2],q[h+628>>2],q[h+632>>2],q[h+636>>2]);o=q[h+616>>2];i=q[h+620>>2];k=q[h+608>>2];p=q[h+612>>2]}b=n+4&2047;x:{if((b|0)==(c|0)){break x}b=q[(h+784|0)+(b<<2)>>2];y:{if(b>>>0<=499999999){if((n+5&2047)==(c|0)?!b:0){break y}fo(h+496|0,+(f|0)*.25);Am(h+480|0,l,m,v,x,q[h+496>>2],q[h+500>>2],q[h+504>>2],q[h+508>>2]);v=q[h+488>>2];x=q[h+492>>2];l=q[h+480>>2];m=q[h+484>>2];break y}if((b|0)!=5e8){fo(h+592|0,+(f|0)*.75);Am(h+576|0,l,m,v,x,q[h+592>>2],q[h+596>>2],q[h+600>>2],q[h+604>>2]);v=q[h+584>>2];x=q[h+588>>2];l=q[h+576>>2];m=q[h+580>>2];break y}E=+(f|0);if((n+5&2047)==(c|0)){fo(h+528|0,E*.5);Am(h+512|0,l,m,v,x,q[h+528>>2],q[h+532>>2],q[h+536>>2],q[h+540>>2]);v=q[h+520>>2];x=q[h+524>>2];l=q[h+512>>2];m=q[h+516>>2];break y}fo(h+560|0,E*.75);Am(h+544|0,l,m,v,x,q[h+560>>2],q[h+564>>2],q[h+568>>2],q[h+572>>2]);v=q[h+552>>2];x=q[h+556>>2];l=q[h+544>>2];m=q[h+548>>2]}if((d|0)>111){break x}SE(h+464|0,l,m,v,x,0,0,0,1073676288);if(gq(q[h+464>>2],q[h+468>>2],q[h+472>>2],q[h+476>>2],0,0,0,0)){break x}Am(h+448|0,l,m,v,x,0,0,0,1073676288);v=q[h+456>>2];x=q[h+460>>2];l=q[h+448>>2];m=q[h+452>>2]}Am(h+432|0,k,p,o,i,l,m,v,x);mB(h+416|0,q[h+432>>2],q[h+436>>2],q[h+440>>2],q[h+444>>2],C,D,A,B);o=q[h+424>>2];i=q[h+428>>2];k=q[h+416>>2];p=q[h+420>>2];z:{if((-2-z|0)>=(j&2147483647)){break z}q[h+408>>2]=o;q[h+412>>2]=i&2147483647;q[h+400>>2]=k;q[h+404>>2]=p;yk(h+384|0,k,p,o,i,0,0,0,1073610752);c=TM(q[h+400>>2],q[h+404>>2],q[h+408>>2],q[h+412>>2],1081081856);b=(c|0)<0;o=b?o:q[h+392>>2];i=b?i:q[h+396>>2];k=b?k:q[h+384>>2];p=b?p:q[h+388>>2];s=((c|0)>-1)+s|0;if(G=!(g&(b|(d|0)!=(e|0))&(gq(l,m,v,x,0,0,0,0)|0)!=0),H=0,I=(s+110|0)<=(F|0),I?G:H){break z}q[242957]=68}MC(h+368|0,k,p,o,i,s);o=q[h+368>>2];i=q[h+372>>2];c=q[h+380>>2];b=q[h+376>>2]}q[a>>2]=o;q[a+4>>2]=i;q[a+8>>2]=b;q[a+12>>2]=c;ti=h+8976|0}function _A(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,t=x(0),v=x(0),z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=x(0),M=x(0),N=0,O=0,P=0,Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=0,W=x(0);h=ti-48|0;ti=h;a:{b:{c:{d:{if(c&4){d=r[a+4|0];e=r[a+5|0];f=r[a+6|0];g=r[a+7|0];o[h+47|0]=r[(g>>>6|0)+101569|0];o[h+44|0]=r[(g&3)+101569|0];o[h+43|0]=r[(f>>>6|0)+101569|0];o[h+40|0]=r[(f&3)+101569|0];o[h+39|0]=r[(e>>>6|0)+101569|0];o[h+36|0]=r[(e&3)+101569|0];o[h+35|0]=r[(d>>>6|0)+101569|0];o[h+32|0]=r[(d&3)+101569|0];o[h+46|0]=r[(g>>>4&3)+101569|0];o[h+45|0]=r[(g>>>2&3)+101569|0];o[h+42|0]=r[(f>>>4&3)+101569|0];o[h+41|0]=r[(f>>>2&3)+101569|0];o[h+38|0]=r[(e>>>4&3)+101569|0];o[h+37|0]=r[(e>>>2&3)+101569|0];o[h+34|0]=r[(d>>>4&3)+101569|0];o[h+33|0]=r[(d>>>2&3)+101569|0];K=-1;break d}e=r[b+2|0];e:{d=r[b|0];i=r[b+4|0];f=r[b+1|0];if((d|0)!=(i|0)|(f|0)!=r[b+5|0]|(r[b+6|0]!=(e|0)|r[b+8|0]!=(d|0))){break e}if(r[b+9|0]!=(f|0)|r[b+10|0]!=(e|0)|(r[b+12|0]!=(d|0)|r[b+13|0]!=(f|0))){break e}if(r[b+14|0]!=(e|0)|r[b+16|0]!=(d|0)|(r[b+17|0]!=(f|0)|r[b+18|0]!=(e|0))){break e}if(r[b+20|0]!=(d|0)|r[b+21|0]!=(f|0)|(r[b+22|0]!=(e|0)|r[b+24|0]!=(d|0))){break e}if(r[b+25|0]!=(f|0)|r[b+26|0]!=(e|0)|(r[b+28|0]!=(d|0)|r[b+29|0]!=(f|0))){break e}if(r[b+30|0]!=(e|0)|r[b+32|0]!=(d|0)|(r[b+33|0]!=(f|0)|r[b+34|0]!=(e|0))){break e}if(r[b+36|0]!=(d|0)|r[b+37|0]!=(f|0)|(r[b+38|0]!=(e|0)|r[b+40|0]!=(d|0))){break e}if(r[b+41|0]!=(f|0)|r[b+42|0]!=(e|0)|(r[b+44|0]!=(d|0)|r[b+45|0]!=(f|0))){break e}if(r[b+46|0]!=(e|0)|r[b+48|0]!=(d|0)|(r[b+49|0]!=(f|0)|r[b+50|0]!=(e|0))){break e}if(r[b+52|0]!=(d|0)|r[b+53|0]!=(f|0)|(r[b+54|0]!=(e|0)|r[b+56|0]!=(d|0))){break e}if(r[b+57|0]!=(f|0)|r[b+58|0]!=(e|0)|(r[b+60|0]!=(d|0)|r[b+61|0]!=(f|0))){break e}if(r[b+62|0]!=(e|0)){break e}ZA(a,d,f,e);break c}g=1;A=d;z=d;n=e;K=e;p=f;H=f;while(1){i=i&255;d=i+d|0;I=(g<<2)+b|0;l=r[I+2|0];K=l+K|0;I=r[I+1|0];H=I+H|0;z=(i|0)<(z|0)?z:i;p=(p|0)>(I|0)?p:I;n=(l|0)<(n|0)?n:l;A=(i|0)>(A|0)?A:i;f=(f|0)<(I|0)?f:I;e=(e|0)<(l|0)?e:l;g=g+1|0;if((g|0)!=16){i=r[(g<<2)+b|0];continue}break}I=K+8>>>4|0;H=H+8>>>4|0;K=d+8>>>4|0;d=0;i=0;g=0;l=0;while(1){m=(l<<2)+b|0;B=r[m+2|0]-I|0;C=r[m+1|0]-H|0;i=w(B,C)+i|0;m=r[m|0]-K|0;D=w(m,B)+D|0;E=w(m,C)+E|0;d=w(B,B)+d|0;g=w(C,C)+g|0;F=w(m,m)+F|0;l=l+1|0;if((l|0)!=16){continue}break}Q=x(x(F|0)*x(.003921568859368563));R=x(z-A|0);j=x(x(E|0)*x(.003921568859368563));t=x(p-f|0);v=x(x(D|0)*x(.003921568859368563));M=x(n-e|0);T=x(x(x(Q*R)+x(j*t))+x(v*M));U=x(x(g|0)*x(.003921568859368563));L=x(x(i|0)*x(.003921568859368563));S=x(x(x(j*R)+x(U*t))+x(L*M));t=x(x(v*R)+x(L*t));R=x(x(d|0)*x(.003921568859368563));t=x(t+x(R*M));M=x(x(x(T*Q)+x(S*j))+x(t*v));W=x(x(x(T*j)+x(S*U))+x(t*L));t=x(x(x(T*v)+x(S*L))+x(t*R));T=x(x(x(M*Q)+x(W*j))+x(t*v));S=x(T*Q);Q=x(x(x(M*j)+x(W*U))+x(t*L));t=x(x(x(M*v)+x(W*L))+x(t*R));M=x(x(S+x(Q*j))+x(t*v));S=x(y(M));U=x(x(x(T*j)+x(Q*U))+x(t*L));j=x(y(U));j=jL?j:L;f:{if(j>=x(2)^1){g=117;i=601;d=306;break f}j=x(x(1024)/j);v=x(v*j);g:{if(x(y(v))(f|0);k=f?e:k;e=(k|0)<(A|0);P=g+(g>>>8|0)>>>8|0;g=w(r[d+1|0],63)+128|0;d=w(r[d+2|0],31)+128|0;V=(d>>>8|0)+d>>>8|0;f=e?2:f;d=e?A:k;e=(d|0)<(z|0);f=e?3:f;d=e?z:d;e=(d|0)<(n|0);f=e?4:f;d=e?n:d;e=(d|0)<(p|0);f=e?5:f;d=e?p:d;e=(d|0)<(l|0);f=e?6:f;d=e?l:d;e=(d|0)<(B|0);f=e?7:f;d=e?B:d;e=(d|0)<(C|0);f=e?8:f;d=e?C:d;e=(d|0)<(m|0);f=e?9:f;d=e?m:d;e=(d|0)<(D|0);f=e?10:f;d=e?D:d;e=(d|0)<(E|0);f=e?11:f;d=e?E:d;e=(d|0)<(F|0);f=e?12:f;d=e?F:d;e=(d|0)<(N|0);f=e?13:f;d=e?N:d;e=(d|0)<(O|0);d=(((i|0)>((e?O:d)|0)?15:e?14:f)<<2)+b|0;e=w(r[d|0],31)+128|0;f=(e>>>8|0)+e>>>8|0;e=w(r[d+1|0],63)+128|0;d=w(r[d+2|0],31)+128|0;AM(b,P,(g>>>8|0)+g>>>8|0,V,f,(e>>>8|0)+e>>>8|0,(d>>>8|0)+d>>>8|0,h+32|0)}c=c&2?3:c&1?2:1;z=c>>>0>1?c:1;g=0;while(1){i:{if(!iua(b,h+32|0,h+16|0,h)){if((K|0)<=-1){I=(r[b+62|0]+(r[b+58|0]+(r[b+54|0]+(r[b+50|0]+(r[b+46|0]+(r[b+42|0]+(r[b+38|0]+(r[b+34|0]+(r[b+30|0]+(r[b+26|0]+(r[b+22|0]+(r[b+18|0]+(r[b+14|0]+(r[b+10|0]+(r[b+2|0]+r[b+6|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0;H=(r[b+61|0]+(r[b+57|0]+(r[b+53|0]+(r[b+49|0]+(r[b+45|0]+(r[b+41|0]+(r[b+37|0]+(r[b+33|0]+(r[b+29|0]+(r[b+25|0]+(r[b+21|0]+(r[b+17|0]+(r[b+13|0]+(r[b+9|0]+(r[b+1|0]+r[b+5|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0;K=(r[b+60|0]+(r[b+56|0]+(r[b+52|0]+(r[b+48|0]+(r[b+44|0]+(r[b+40|0]+(r[b+36|0]+(r[b+32|0]+(r[b+28|0]+(r[b+24|0]+(r[b+20|0]+(r[b+16|0]+(r[b+12|0]+(r[b+8|0]+(r[b|0]+r[b+4|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)+8>>>4|0}c=(I<<1)+310368|0;i=r[c+1|0];d=(H<<1)+311392|0;A=r[d+1|0];n=(K<<1)+310368|0;l=r[n+1|0];f=r[c|0];e=r[d|0];d=r[n|0];break i}j=x(x(u[h+16>>2]*x(.12156862765550613))+x(.5));j:{if(x(y(j))31?31:c;j=x(x(u[h+20>>2]*x(.24705882370471954))+x(.5));k:{if(x(y(j))63?63:c;j=x(x(u[h+24>>2]*x(.12156862765550613))+x(.5));l:{if(x(y(j))31?31:c;j=x(x(u[h>>2]*x(.12156862765550613))+x(.5));m:{if(x(y(j))31?31:c;j=x(x(u[h+4>>2]*x(.24705882370471954))+x(.5));n:{if(x(y(j))63?63:c;j=x(x(u[h+8>>2]*x(.12156862765550613))+x(.5));o:{if(x(y(j))31?31:c}AM(b,d,e,f,l,A,i,h+32|0);g=g+1|0;if((z|0)!=(g|0)){continue}break}b=(d<<11|f|e<<5)&65535;q[h+16>>2]=b;g=(l<<11|i|A<<5)&65535;q[h>>2]=g;if((b|0)==(g|0)){p:{if(!b){g=0;b=1;i=85;break p}i=0;g=g-1|0;if(g>>>0>=b>>>0){break b}}o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=g;o[a+3|0]=g>>>8;b=w(i,16843009);o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;break c}i=0;if(b>>>0>>0){rl(h+16|0,h);i=85;g=q[h>>2];b=q[h+16>>2]}if(b>>>0<=g>>>0){break a}o[a|0]=b;o[a+1|0]=b>>>8;b=s[h>>1];o[a+2|0]=b;o[a+3|0]=b>>>8;b=r[h+47|0];c=r[h+46|0];d=r[h+45|0];e=r[h+44|0];f=r[h+43|0];g=r[h+42|0];K=r[h+41|0];A=r[h+40|0];H=r[h+39|0];z=r[h+38|0];n=r[h+37|0];p=r[h+36|0];l=r[r[h+32|0]+101573|0]|r[r[h+33|0]+101573|0]<<2|r[r[h+34|0]+101573|0]<<4|r[r[h+35|0]+101573|0]<<6;o[a+4|0]=l^i;H=l|r[p+101573|0]<<8|r[n+101573|0]<<10|r[z+101573|0]<<12|r[H+101573|0]<<14;o[a+5|0]=H>>>8^i;f=H|r[A+101573|0]<<16|r[K+101573|0]<<18|r[g+101573|0]<<20|r[f+101573|0]<<22;o[a+6|0]=f>>>16^i;o[a+7|0]=(f|r[e+101573|0]<<24|r[d+101573|0]<<26|r[c+101573|0]<<28|r[b+101573|0]<<30)>>>24^i}ti=h+48|0;return}J(101557,92069,15141,101546);G()}J(101557,92069,15159,101546);G()}function Voa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=0,n=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=0,B=x(0),C=0;c=ti-416|0;ti=c;g=q[b>>2];a:{b:{c:{d:{d=q[a+72>>2];e:{if(!d|(q[a>>2]!=q[a+32>>2]|q[a+4>>2]!=q[a+36>>2])){break e}e=q[a+16>>2];f=q[a+20>>2];if((e|0)!=q[a+48>>2]|(f|0)!=q[a+52>>2]){break e}if(q[d+96>>2]==(e|0)&q[d+100>>2]==(f|0)){break d}}e=q[g+3148>>2];f:{if(!e){break f}f=q[a+48>>2];h=q[a+52>>2];d=q[q[g+3144>>2]+(Qwa(f,h,e)<<2)>>2];if((d|0)==-1){break f}e=q[g+3152>>2];while(1){m=e+(d<<4)|0;if(q[m>>2]!=(f|0)|q[m+4>>2]!=(h|0)){d=q[m+12>>2];if((d|0)!=-1){continue}break f}break}d=q[(e+(d<<4)|0)+8>>2];if(d){break d}}e=bm(q[a>>2],q[a+4>>2]);f=Mi(q[a+16>>2],q[a+20>>2]);d=Mi(q[a+24>>2],q[a+28>>2]);g=Mi(q[a+48>>2],q[a+52>>2]);a=Mi(q[a+64>>2],q[a+68>>2]);q[c+16>>2]=d;q[c+12>>2]=f;q[c+8>>2]=e;q[c+4>>2]=a;q[c>>2]=g;Ai(4,7418,8477,c);o[b+4|0]=0;break c}g:{h:{i:{j:{e=q[a+80>>2];if(!e){break j}if((e|0)==q[60171]){Hpa(g,d);break c}if((e|0)==q[60172]){i=q[g+3180>>2];a=q[g+3176>>2];b=i-a|0;if(!b){break c}h=b>>2;e=0;b=0;while(1){f=e;e=e+1|0;m=(f<<2)+a|0;b=q[m>>2]==(d|0)|b;if(!(!(b&1)|f>>>0>=h-1>>>0)){if(e>>>0>=h>>>0){break a}q[m>>2]=q[(e<<2)+a>>2];i=q[g+3180>>2];a=q[g+3176>>2]}h=i-a>>2;if(h>>>0>e>>>0){continue}break}if(!(b&1)){break c}if((a|0)==(i|0)){break i}q[g+3180>>2]=i-4;break c}if((e|0)==q[60173]){b=q[d+20>>2];e=q[d+16>>2];u[c+296>>2]=u[d+24>>2];q[c+288>>2]=e;q[c+292>>2]=b;b=q[d>>2];e=q[d+4>>2];f=q[d+12>>2];q[c+312>>2]=q[d+8>>2];q[c+316>>2]=f;q[c+304>>2]=b;q[c+308>>2]=e;j=u[d+40>>2];l=u[d+32>>2];r=u[d+36>>2];u[c+372>>2]=r;u[c+376>>2]=j;u[c+368>>2]=l;l=l>2]=j>2];b=q[e+3128>>2];m=q[e+3132>>2]-b>>6;e=q[d+140>>2]&32767;if(m>>>0<=e>>>0){break a}b=b+(e<<6)|0;e=q[b+52>>2];f=q[b+48>>2];u[c+328>>2]=u[b+56>>2];q[c+320>>2]=f;q[c+324>>2]=e;$s(c+224|0,d);b=q[c+236>>2];q[c+344>>2]=q[c+232>>2];q[c+348>>2]=b;b=q[c+228>>2];q[c+336>>2]=q[c+224>>2];q[c+340>>2]=b;ir(c+224|0,d);j=u[c+224>>2];l=u[c+228>>2];r=u[c+232>>2];l=l>r?l:r;u[c+384>>2]=j>l?j:l;ir(c+224|0,d);b=q[c+232>>2];q[c+404>>2]=q[c+228>>2];q[c+408>>2]=b;u[c+400>>2]=u[c+224>>2];b=q[60236];f=q[b+8>>2];e=q[b+12>>2];if(!wo(q[a>>2],q[a+4>>2])){break c}a=fk(a+32|0,a,f,e,q[a+72>>2],b,c+288|0,128);if(!a){break c}q[c+64>>2]=q[q[60236]+4>>2];q[c+68>>2]=a;Ai(4,7418,8559,c- -64|0);break c}if((e|0)!=q[60260]){break j}e=0;b=q[a+96>>2];f=q[a+100>>2];k:{if(!(b|f)){break k}e=q[g+3148>>2];l:{if(!e){break l}e=q[q[g+3144>>2]+(Qwa(b,f,e)<<2)>>2];if((e|0)==-1){break l}h=q[g+3152>>2];while(1){i=h+(e<<4)|0;if(q[i>>2]!=(b|0)|q[i+4>>2]!=(f|0)){e=q[i+12>>2];if((e|0)!=-1){continue}break l}break}e=q[(h+(e<<4)|0)+8>>2];if(e){break k}}q[c+96>>2]=Mi(b,f);Ai(3,7418,8602,c+96|0);e=0}q[c+312>>2]=0;q[c+316>>2]=0;q[c+308>>2]=1065353216;q[c+320>>2]=0;q[c+324>>2]=0;q[c+332>>2]=0;q[c+336>>2]=0;q[c+328>>2]=1065353216;q[c+340>>2]=0;q[c+344>>2]=0;q[c+348>>2]=1065353216;q[c+292>>2]=0;q[c+296>>2]=0;q[c+288>>2]=1065353216;q[c+300>>2]=0;q[c+304>>2]=0;if(e){f=q[e+140>>2]&32767;b=q[g+3128>>2];if(f>>>0>=q[g+3132>>2]-b>>6>>>0){break a}b=b+(f<<6)|0;u[c+288>>2]=u[b>>2];u[c+292>>2]=u[b+4>>2];u[c+296>>2]=u[b+8>>2];u[c+300>>2]=u[b+12>>2];u[c+304>>2]=u[b+16>>2];u[c+308>>2]=u[b+20>>2];u[c+312>>2]=u[b+24>>2];u[c+316>>2]=u[b+28>>2];u[c+320>>2]=u[b+32>>2];u[c+324>>2]=u[b+36>>2];u[c+328>>2]=u[b+40>>2];u[c+332>>2]=u[b+44>>2];u[c+336>>2]=u[b+48>>2];u[c+340>>2]=u[b+52>>2];u[c+344>>2]=u[b+56>>2];u[c+348>>2]=u[b+60>>2]}f=q[d+136>>2];b=q[d+140>>2];m:{if(!q[a+104>>2]){b=b&32767;m=q[g+3132>>2];g=q[g+3128>>2];if(b>>>0>=m-g>>6>>>0){break a}h=g+(b<<6)|0;if(f&512){l=u[d+40>>2];r=u[d+36>>2];t=u[d+24>>2];z=u[d+32>>2];f=q[d+20>>2];i=q[d+16>>2];k=u[d+4>>2];v=u[d+8>>2];B=u[d+12>>2];j=u[d>>2];q[c+220>>2]=1065353216;u[c+216>>2]=t;u[c+188>>2]=r*x(0);u[c+204>>2]=l*x(0);t=x(v+v);n=x(k*t);y=x(j+j);s=x(B*y);u[c+184>>2]=r*x(n+s);u[c+196>>2]=l*x(n-s);n=x(x(1)-x(j*y));v=x(v*t);u[c+180>>2]=r*x(n-v);s=n;n=k;k=x(k+k);n=x(n*k);u[c+200>>2]=l*x(s-n);q[c+208>>2]=i;q[c+212>>2]=f;u[c+172>>2]=z*x(0);y=x(j*k);s=x(B*t);u[c+164>>2]=z*x(y+s);j=x(j*t);k=x(k*B);u[c+168>>2]=z*x(j-k);u[c+176>>2]=r*x(y-s);u[c+192>>2]=l*x(j+k);u[c+160>>2]=z*x(x(x(1)-n)-v);Kk(c+224|0,c+288|0,c+160|0);u[h>>2]=u[c+224>>2];b=g+(b<<6)|0;u[b+4>>2]=u[c+228>>2];u[b+8>>2]=u[c+232>>2];u[b+12>>2]=u[c+236>>2];u[b+16>>2]=u[c+240>>2];u[b+20>>2]=u[c+244>>2];u[b+24>>2]=u[c+248>>2];u[b+28>>2]=u[c+252>>2];u[b+32>>2]=u[c+256>>2];u[b+36>>2]=u[c+260>>2];u[b+40>>2]=u[c+264>>2];u[b+44>>2]=u[c+268>>2];u[b+48>>2]=u[c+272>>2];u[b+52>>2]=u[c+276>>2];u[b+56>>2]=u[c+280>>2];u[b+60>>2]=u[c+284>>2];break m}l=u[d+40>>2];r=u[d+36>>2];t=u[d+24>>2];z=u[d+32>>2];f=q[d+20>>2];i=q[d+16>>2];k=u[d+4>>2];v=u[d+8>>2];B=u[d+12>>2];j=u[d>>2];q[c+220>>2]=1065353216;u[c+216>>2]=t;u[c+188>>2]=r*x(0);u[c+204>>2]=l*x(0);t=x(v+v);n=x(k*t);y=x(j+j);s=x(B*y);u[c+184>>2]=r*x(n+s);u[c+196>>2]=l*x(n-s);n=x(x(1)-x(j*y));v=x(v*t);u[c+180>>2]=r*x(n-v);s=n;n=k;k=x(k+k);n=x(n*k);u[c+200>>2]=l*x(s-n);q[c+208>>2]=i;q[c+212>>2]=f;u[c+172>>2]=z*x(0);y=x(j*k);s=x(B*t);u[c+164>>2]=z*x(y+s);j=x(j*t);k=x(k*B);u[c+168>>2]=z*x(j-k);u[c+176>>2]=r*x(y-s);u[c+192>>2]=l*x(j+k);u[c+160>>2]=z*x(x(x(1)-n)-v);Tn(c+224|0,c+288|0,c+160|0);u[h>>2]=u[c+224>>2];b=g+(b<<6)|0;u[b+4>>2]=u[c+228>>2];u[b+8>>2]=u[c+232>>2];u[b+12>>2]=u[c+236>>2];u[b+16>>2]=u[c+240>>2];u[b+20>>2]=u[c+244>>2];u[b+24>>2]=u[c+248>>2];u[b+28>>2]=u[c+252>>2];u[b+32>>2]=u[c+256>>2];u[b+36>>2]=u[c+260>>2];u[b+40>>2]=u[c+264>>2];u[b+44>>2]=u[c+268>>2];u[b+48>>2]=u[c+272>>2];u[b+52>>2]=u[c+276>>2];u[b+56>>2]=u[c+280>>2];u[b+60>>2]=u[c+284>>2];break m}if(f&512){yt(c+160|0,c+288|0);f=q[d+140>>2]&32767;b=q[g+3128>>2];if(f>>>0>=q[g+3132>>2]-b>>6>>>0){break a}Kk(c+224|0,c+160|0,b+(f<<6)|0);Wo(c+112|0,c+224|0);u[d>>2]=u[c+112>>2];u[d+4>>2]=u[c+116>>2];u[d+8>>2]=u[c+120>>2];u[d+12>>2]=u[c+124>>2];u[d+16>>2]=u[c+128>>2];u[d+20>>2]=u[c+132>>2];u[d+24>>2]=u[c+136>>2];u[d+32>>2]=u[c+144>>2];u[d+36>>2]=u[c+148>>2];u[d+40>>2]=u[c+152>>2];break m}yt(c+160|0,c+288|0);f=q[d+140>>2]&32767;b=q[g+3128>>2];if(f>>>0>=q[g+3132>>2]-b>>6>>>0){break a}Tn(c+224|0,c+160|0,b+(f<<6)|0);Wo(c+160|0,c+224|0);u[d>>2]=u[c+160>>2];u[d+4>>2]=u[c+164>>2];u[d+8>>2]=u[c+168>>2];u[d+12>>2]=u[c+172>>2];u[d+16>>2]=u[c+176>>2];u[d+20>>2]=u[c+180>>2];u[d+24>>2]=u[c+184>>2];u[d+32>>2]=u[c+192>>2];u[d+36>>2]=u[c+196>>2];u[d+40>>2]=u[c+200>>2]}b=Cv(d,e);if(!b){break c}e=Mi(q[d+96>>2],q[d+100>>2]);a=Mi(q[a+96>>2],q[a+100>>2]);q[c+88>>2]=b;q[c+84>>2]=a;q[c+80>>2]=e;Ai(3,7418,8647,c+80|0);break c}m=q[d+84>>2];h=q[m+4>>2];A=q[a+56>>2];C=q[a+60>>2];if(A|C){break g}if(!h){break c}e=0;while(1){C=q[m>>2]+w(e,96)|0;f=q[C+16>>2];if(!f){break h}A=q[f+100>>2];n:{if(q[f+68>>2]){q[c+224>>2]=0;q[c+288>>2]=d;q[c+292>>2]=q[(g+(q[C+20>>2]<<2)|0)+12>>2];h=q[f+16>>2];q[c+304>>2]=a;q[c+300>>2]=((i<<2)+d|0)+156&A<<15>>31;q[c+296>>2]=h;if(xi[q[f+68>>2]](c+288|0)|0){o[b+4|0]=0}h=q[m+4>>2];A=(A&65536)>>>16|0;break n}A=A>>>16&1}i=A+i|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}break c}J(12712,10061,548,12565);G()}J(8102,7291,2356,8787);G()}o:{if(h){f=q[m>>2];e=0;while(1){i=f+w(e,96)|0;if((A|0)==q[i>>2]&(C|0)==q[i+4>>2]){break o}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=bm(q[a>>2],q[a+4>>2]);f=Mi(q[a+16>>2],q[a+20>>2]);d=Mi(q[a+24>>2],q[a+28>>2]);g=Mi(q[a+48>>2],q[a+52>>2]);h=Mi(q[a+56>>2],q[a+60>>2]);a=Mi(q[a+64>>2],q[a+68>>2]);q[c+52>>2]=d;q[c+48>>2]=f;q[c+44>>2]=e;q[c+40>>2]=a;q[c+36>>2]=h;q[c+32>>2]=g;Ai(4,7418,8701,c+32|0);o[b+4|0]=0;break c}m=e&65535;i=q[(f+w(m,96)|0)+16>>2];if(!i){break b}if(q[i+68>>2]){h=0;if(m){e=0;while(1){h=(p[q[(f+w(e,96)|0)+16>>2]+102>>1]&1)+h|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}e=q[i+100>>2];q[c+224>>2]=0;q[c+288>>2]=d;q[c+292>>2]=q[(g+(q[(f+w(m,96)|0)+20>>2]<<2)|0)+12>>2];f=q[i+16>>2];q[c+304>>2]=a;q[c+300>>2]=((h<<2)+d|0)+156&e<<15>>31;q[c+296>>2]=f;if(xi[q[i+68>>2]](c+288|0)|0){o[b+4|0]=0}break c}Ai(3,7418,8830,0)}ti=c+416|0;return}J(8102,7291,2309,8787);G()}J(12518,10061,479,9553);G()}function qw(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,v=0,y=0,z=0,A=x(0),B=0,C=x(0),D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=x(0),S=0,T=0,U=0;j=ti-2384|0;ti=j;a:{b:{e=0;c:{if(!WN(a,c,j+8|0,d,j+4|0,j+12|0)){break c}M=q[d>>2];D=q[c>>2];L=q[j+4>>2];d=w(q[j+12>>2],6)+a|0;T=d;N=q[((r[d+424|0]<<2)+a|0)+116>>2];E=r[d+425|0];B=q[a+416>>2];f=q[a+4>>2];if((f|0)>=1){F=B+w(E,40)|0;Q=F;while(1){d=r[(q[Q+4>>2]+w(n,3)|0)+2|0];H=(j+1360|0)+(n<<2)|0;q[H>>2]=0;d=r[(d+F|0)+9|0];if(!s[((d<<1)+a|0)+144>>1]){q[a+112>>2]=21;e=0;break c}e=q[a+272>>2];d:{e:{if(oj(a,1)){f=2;v=q[((n<<2)+a|0)+1008>>2];l=e+w(d,1596)|0;O=q[(r[l+1588|0]<<2)+205804>>2];d=o[(O>>>5|0)+205792|0]+4|0;p[v>>1]=oj(a,d);p[v+2>>1]=oj(a,d);h=0;if(r[l|0]){while(1){I=r[(h+l|0)+1|0];d=I+l|0;i=r[d+33|0];g=0;m=r[d+49|0];f:{if(!m){break f}g=r[d+65|0];k=q[a+136>>2];d=q[a+1408>>2];g:{if((d|0)>9){break g}if(!d){q[a+1404>>2]=0}while(1){d=r[a+1388|0];h:{i:{j:{k:{if(q[a+1396>>2]){if(d&255){break k}break g}if(d&255){break k}e=q[a+1392>>2];if((e|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break g}if(!(o[a+1387|0]&1)){break j}e=q[a+1392>>2]}z=e+1|0;q[a+1392>>2]=z;d=r[(a+e|0)+1132|0];if((d|0)!=255){q[a+1400>>2]=e;q[a+1396>>2]=1}if((z|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=d;if(!d){break g}}o[a+1388|0]=d-1;q[a+1412>>2]=q[a+1412>>2]+1;d=q[a+44>>2];l:{if(d){if(d>>>0>=t[a+52>>2]){break i}q[a+44>>2]=d+1;d=r[d|0];break l}d=ej(q[a+32>>2]);if((d|0)==-1){break i}}d=d&255;break h}q[a+112>>2]=32;break g}q[a+108>>2]=1;d=0}e=q[a+1408>>2];q[a+1408>>2]=e+8;q[a+1404>>2]=q[a+1404>>2]+(d<>2];e=p[(d+((z&1023)<<1)|0)+36>>1];m:{if((e|0)>=0){g=r[e+q[d+8>>2]|0];q[a+1404>>2]=z>>>g;k=q[a+1408>>2]-g|0;g=(k|0)<0;q[a+1408>>2]=g?0:k;g=g?-1:e;break m}g=aq(a,d)}if(!r[d+23|0]){break f}g=q[q[d+2088>>2]+(g<<2)>>2]}if(i){z=-1<>1];n:{if((k|0)<0){break n}K=q[a+136>>2];d=q[a+1408>>2];o:{if((d|0)>9){break o}if(!d){q[a+1404>>2]=0}while(1){d=r[a+1388|0];p:{q:{r:{s:{if(q[a+1396>>2]){if(d&255){break s}break o}if(d&255){break s}e=q[a+1392>>2];if((e|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break o}if(!(o[a+1387|0]&1)){break r}e=q[a+1392>>2]}y=e+1|0;q[a+1392>>2]=y;d=r[(a+e|0)+1132|0];if((d|0)!=255){q[a+1400>>2]=e;q[a+1396>>2]=1}if((y|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=d;if(!d){break o}}o[a+1388|0]=d-1;q[a+1412>>2]=q[a+1412>>2]+1;d=q[a+44>>2];t:{if(d){if(d>>>0>=t[a+52>>2]){break q}q[a+44>>2]=d+1;d=r[d|0];break t}d=ej(q[a+32>>2]);if((d|0)==-1){break q}}d=d&255;break p}q[a+112>>2]=32;break o}q[a+108>>2]=1;d=0}e=q[a+1408>>2];q[a+1408>>2]=e+8;q[a+1404>>2]=q[a+1404>>2]+(d<>2];d=p[(e+((y&1023)<<1)|0)+36>>1];u:{if((d|0)>=0){k=r[d+q[e+8>>2]|0];q[a+1404>>2]=y>>>k;K=q[a+1408>>2]-k|0;k=(K|0)<0;q[a+1408>>2]=k?0:K;d=k?-1:d;break u}d=aq(a,e)}if(!r[e+23|0]){break n}d=q[q[e+2088>>2]+(d<<2)>>2]}g=g>>m;p[v+(f<<1)>>1]=d;f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}h=h+1|0;if(h>>>0>2]!=-1){break e}}q[H>>2]=1;break d}p[j+336>>1]=257;e=2;g=q[l+1592>>2];if((g|0)>2){while(1){f=e<<1;d=f+l|0;k=r[d+1089|0];H=k<<1;I=r[d+1088|0];h=I<<1;z=p[h+v>>1];d=p[H+v>>1]-z|0;i=d>>31;m=h;h=l+338|0;m=s[m+h>>1];i=(w(s[f+h>>1]-m|0,i^d+i)|0)/(s[h+H>>1]-m|0)|0;d=z+((d|0)<0?0-i|0:i)|0;h=f+v|0;f=p[h>>1];v:{w:{if(f){o[k+(j+336|0)|0]=1;o[I+(j+336|0)|0]=1;o[(j+336|0)+e|0]=1;i=O-d|0;if((f|0)>=((d|0)>(i|0)?i:d)<<1){if((d|0)<(i|0)){break v}d=(i+(d-f|0)|0)-1|0;break w}if(f&1){d=d-(f+1>>>1|0)|0;break w}d=(f>>1)+d|0;break w}o[(j+336|0)+e|0]=0}p[h>>1]=d}e=e+1|0;if((g|0)!=(e|0)){continue}break}}d=0;if((g|0)<=0){break d}while(1){if(!r[(j+336|0)+d|0]){p[v+(d<<1)>>1]=65535}d=d+1|0;if((g|0)!=(d|0)){continue}break}}f=q[a+4>>2];n=n+1|0;if((f|0)>(n|0)){continue}break}}x:{y:{z:{e=q[a+92>>2];if(!(q[a+96>>2]!=q[a+104>>2]?e:0)){Gi(j+336|0,j+1360|0,f<<2);i=B+w(E,40)|0;d=s[i>>1];if(d){n=d>>>0>1?d:1;l=q[i+4>>2];d=0;while(1){h=l+w(d,3)|0;g=r[h+1|0];h=(j+1360|0)+(r[h|0]<<2)|0;if(!(q[(j+1360|0)+(g<<2)>>2]?q[h>>2]:0)){q[(j+1360|0)+(g<<2)>>2]=0;q[h>>2]=0}d=d+1|0;if((n|0)!=(d|0)){continue}break}}l=N>>1;if(r[i+8|0]){v=B+w(E,40)|0;m=v;g=0;while(1){e=0;if((f|0)>=1){k=q[m+4>>2];d=0;while(1){if(r[(k+w(d,3)|0)+2|0]==(g|0)){F=(j+16|0)+e|0;n=d<<2;A:{if(q[n+(j+1360|0)>>2]){h=1;n=0;break A}h=0;n=q[(a+n|0)+812>>2]}o[F|0]=h;q[(j+272|0)+(e<<2)>>2]=n;e=e+1|0}d=d+1|0;if((f|0)!=(d|0)){continue}break}}esa(a,j+272|0,e,l,r[(g+v|0)+24|0],j+16|0);g=g+1|0;if(g>>>0>2];continue}break}e=q[a+92>>2]}if(q[a+96>>2]!=q[a+104>>2]?e:0){break z}e=s[i>>1];if(!(!e|(N|0)<2)){i=q[(B+w(E,40)|0)+4>>2];n=(l|0)>1?l:1;g=a+812|0;while(1){f=e-1|0;d=i+w(f,3)|0;h=q[g+(r[d+1|0]<<2)>>2];v=q[g+(r[d|0]<<2)>>2];d=0;while(1){m=d<<2;k=m+h|0;A=u[k>>2];m=v+m|0;C=u[m>>2];B:{C:{if(!(C>x(0))){if(!(A>x(0))){R=x(C-A);A=C;break B}A=x(C+A);break C}if(!(A>x(0))){R=x(C+A);A=C;break B}A=x(C-A)}R=C}u[m>>2]=R;u[k>>2]=A;d=d+1|0;if((n|0)!=(d|0)){continue}break}d=(e|0)>1;e=f;if(d){continue}break}}n=q[a+4>>2];if((n|0)<1){break x}Q=l<<2;H=B+w(E,40)|0;O=H;v=0;while(1){e=v<<2;f=e+a|0;d=f;D:{if(q[e+(j+336|0)>>2]){Fi(q[d+812>>2],0,Q);n=q[a+4>>2];break D}e=r[(H+r[(q[O+4>>2]+w(v,3)|0)+2|0]|0)+9|0];if(!s[((e<<1)+a|0)+144>>1]){q[a+112>>2]=21;break D}E=q[d+812>>2];B=q[a+272>>2]+w(e,1596)|0;z=r[B+1588|0];I=q[f+1008>>2];e=w(z,p[I>>1]);h=1;d=0;K=q[B+1592>>2];if((K|0)>=2){while(1){f=r[(h+B|0)+838|0]<<1;g=p[f+I>>1];if((g|0)>=0){i=w(z,g&65535);g=s[(f+B|0)+338>>1];if((g|0)!=(d|0)){f=i-e|0;m=g-d|0;k=(f|0)/(m|0)|0;F=(g|0)>(l|0)?l:g;E:{if((F|0)<=(d|0)){break E}y=E+(d<<2)|0;u[y>>2]=u[((e&255)<<2)+206016>>2]*u[y>>2];d=d+1|0;if((F|0)<=(d|0)){break E}y=k>>31;P=w(m,y-(k^y)|0);y=f>>31;y=P+(y+f^y)|0;U=(f|0)<0?-1:1;f=0;while(1){P=E+(d<<2)|0;f=f+y|0;S=(f|0)<(m|0);e=(e+k|0)+(S?0:U)|0;u[P>>2]=u[((e&255)<<2)+206016>>2]*u[P>>2];f=f-(S?0:m)|0;d=d+1|0;if((F|0)!=(d|0)){continue}break}}d=g}e=i}h=h+1|0;if((K|0)!=(h|0)){continue}break}}if((d|0)>=(l|0)){break D}C=u[(e<<2)+206016>>2];while(1){e=E+(d<<2)|0;u[e>>2]=C*u[e>>2];d=d+1|0;if((l|0)!=(d|0)){continue}break}}v=v+1|0;if((v|0)<(n|0)){continue}break}break y}J(205638,205607,3293,205824);G()}J(205638,205607,3326,205824);G()}d=0;if((n|0)<=0){break x}while(1){nZ(q[((d<<2)+a|0)+812>>2],N,a,r[T+424|0]);d=d+1|0;if((d|0)>2]){continue}break}}f=0-l|0;F:{while(1){G:{d=r[a+1388|0];if(!d){if(q[a+1396>>2]){break F}e=q[a+1392>>2];if((e|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break F}if(!(o[a+1387|0]&1)){break G}e=q[a+1392>>2]}g=e+1|0;q[a+1392>>2]=g;d=r[(a+e|0)+1132|0];if((d|0)!=255){q[a+1400>>2]=e;q[a+1396>>2]=1}if((g|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=d;if(!d){break F}}o[a+1388|0]=d-1;q[a+1412>>2]=q[a+1412>>2]+1;d=q[a+44>>2];if(d){if(d>>>0>=t[a+52>>2]){q[a+108>>2]=1;continue}q[a+44>>2]=d+1;continue}if((ej(q[a+32>>2])|0)!=-1){continue}q[a+108>>2]=1;continue}break}q[a+112>>2]=32}H:{if(r[a+1389|0]){q[a+1072>>2]=f;o[a+1389|0]=0;q[a+1076>>2]=1;q[a+1424>>2]=N-L;break H}d=q[a+1424>>2];if(!d){break H}e=M-D|0;if((e|0)<=(d|0)){q[a+1424>>2]=d-e;q[c>>2]=M;D=M;break H}D=d+D|0;q[c>>2]=D;q[a+1424>>2]=0}d=q[a+1076>>2];c=a;I:{J:{K:{if(q[a+1400>>2]==q[a+1416>>2]){L:{if(!d|!(r[a+1387|0]&4)){break L}d=q[a+1420>>2];e=q[a+1072>>2];if(d>>>0>=e+(L-D|0)>>>0){break L}c=b;b=d-e|0;b=(b>>>0>d>>>0?0:b)+D|0;b=(b|0)>(L|0)?L:b;q[c>>2]=b;q[a+1072>>2]=b+q[a+1072>>2];break I}q[a+1076>>2]=1;d=q[a+1420>>2]+(D-l|0)|0;break K}if(!d){break J}d=q[a+1072>>2]}q[c+1072>>2]=d+(M-D|0)}if(q[a+96>>2]!=q[a+104>>2]?q[a+92>>2]:0){break b}q[b>>2]=L}e=1}ti=j+2384|0;return e}J(205638,205607,3442,205824);G()}J(205744,205607,1555,205765);G()}function gC(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=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;y=q[q[a>>2]+8>>2];O=y+1|0;a:{b:{c:{D=(d|0)==(y|0);if(!((d|0)!=(O|0)?!D:0)){d:{e:{f:{g:{if((e|f)<0|((2147483647/(f|0)|0)<(e|0)?f:0)){break g}k=(g|0)==16?2:1;n=w(k,d);m=w(e,f);if((n|m)<0){break g}if(!n|(m|0)<=(2147483647/(n|0)|0)){break f}}q[a+12>>2]=0;break e}i=Ji(w(m,n));q[a+12>>2]=i;if(i){break d}}q[215613]=164360;return 0}if((e|y)<0|((2147483647/(e|0)|0)<(y|0)?e:0)){break a}B=w(e,y);if((B|g)<0|((2147483647/(g|0)|0)<(B|0)?g:0)){break a}m=w(g,B);if((m|0)>=2147483641){break a}E=m+7>>>3|0;if(w(E+1|0,f)>>>0>c>>>0){break b}L=w(d,e);h:{i:{j:{k:{if(f){c=r[b|0];if(c>>>0<=4){j=w(k,y);R=(g|0)<8|D;m=e-1|0;M=w(k,L);S=0-M|0;T=L-E|0;U=(g|0)>7;V=(g|0)!=8;P=(g|0)!=16;A=e;while(1){if(!U){if(e>>>0>>0){break a}j=1;A=E;i=i+T|0}l=c&255;l=C?l:r[l+164992|0];k=b+1|0;s=i+S|0;l:{if((j|0)<1){break l}c=0;m:{switch(l|0){case 0:while(1){o[c+i|0]=r[c+k|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}break l;case 1:while(1){o[c+i|0]=r[c+k|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}break l;default:break m}}while(1){z=c+i|0;n:{o:{p:{switch(l-2|0){case 0:t=r[c+s|0]+r[c+k|0]|0;break o;case 1:t=r[c+k|0]+(r[c+s|0]>>>1|0)|0;break o;case 2:t=r[c+s|0]+r[c+k|0]|0;break o;case 3:t=r[c+k|0];break o;case 4:break p;default:break n}}t=r[c+k|0]}o[z|0]=t}c=c+1|0;if((j|0)!=(c|0)){continue}break}}q:{if(!V){if(!D){o[i+y|0]=255}c=d;b=k+y|0;break q}if(!P){if(!D){b=i+j|0;o[b|0]=255;o[b+1|0]=255}c=n;b=j+k|0;break q}c=1;b=b+2|0}k=c+s|0;c=c+i|0;r:{s:{t:{if(R){i=w(A-1|0,j);u:{v:{switch(l|0){case 0:Gi(c,b,i);b=b+i|0;break t;case 1:k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[(k-j|0)+c|0]+r[b+k|0];k=k+1|0;if((i|0)!=(k|0)){continue}break}break u;case 2:l=0;if((i|0)<=0){break u}while(1){o[c+l|0]=r[k+l|0]+r[b+l|0];l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 3:l=0;if((i|0)<=0){break u}while(1){o[c+l|0]=r[b+l|0]+(r[(l-j|0)+c|0]+r[k+l|0]>>>1|0);l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 4:l=0;if((i|0)<=0){break u}while(1){u=l-j|0;t=r[u+k|0];s=r[k+l|0];u=r[c+u|0];v=(s+u|0)-t|0;F=v-s|0;x=F>>31;H=v-t|0;I=H>>31;K=v-u|0;v=K>>31;z=t;N=s;t=x^x+F;s=I^I+H;x=(t|0)>(s|0)?z:N;z=s;s=v^v+K;o[c+l|0]=r[b+l|0]+((s|0)>(t|0)?x:(z|0)<(s|0)?x:u);l=l+1|0;if((i|0)!=(l|0)){continue}break}break u;case 5:k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[b+k|0]+(r[(k-j|0)+c|0]>>>1|0);k=k+1|0;if((i|0)!=(k|0)){continue}break}break u;case 6:break v;default:break u}}k=0;if((i|0)<=0){break u}while(1){o[c+k|0]=r[(k-j|0)+c|0]+r[b+k|0];k=k+1|0;if((i|0)!=(k|0)){continue}break}}b=b+i|0;break t}if((d|0)!=(O|0)){break c}w:{x:{y:{z:{A:{B:{C:{D:{switch(l|0){case 6:if(!m){break w}if((j|0)<=0){break x}k=m;while(1){i=0;while(1){o[c+i|0]=r[(i-n|0)+c|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 5:if(!m){break w}if((j|0)<=0){break y}k=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0]+(r[(i-n|0)+c|0]>>>1|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 4:if(!m){break w}if((j|0)<=0){break z}l=m;while(1){i=0;while(1){u=i-n|0;t=r[u+k|0];s=r[i+k|0];u=r[c+u|0];v=(s+u|0)-t|0;F=v-s|0;x=F>>31;H=v-t|0;I=H>>31;K=v-u|0;v=K>>31;z=t;N=s;t=x^x+F;s=I^I+H;x=(t|0)>(s|0)?z:N;z=s;s=v^v+K;o[c+i|0]=r[b+i|0]+((s|0)>(t|0)?x:(z|0)<(s|0)?x:u);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 3:if(!m){break w}if((j|0)<=0){break A}l=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0]+(r[(i-n|0)+c|0]+r[i+k|0]>>>1|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 2:if(!m){break w}if((j|0)<=0){break B}l=m;while(1){i=0;while(1){o[c+i|0]=r[i+k|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;k=k+n|0;c=c+n|0;b=b+j|0;l=l-1|0;if(l){continue}break}break w;case 1:if(!m){break w}if((j|0)<=0){break C}k=m;while(1){i=0;while(1){o[c+i|0]=r[(i-n|0)+c|0]+r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w;case 0:break D;default:break w}}if(!m){break w}if((j|0)>0){k=m;while(1){i=0;while(1){o[c+i|0]=r[b+i|0];i=i+1|0;if((j|0)!=(i|0)){continue}break}o[c+j|0]=255;c=c+n|0;b=b+j|0;k=k-1|0;if(k){continue}break}break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0;break w}k=w(j,m);i=m;while(1){o[c+j|0]=255;c=c+n|0;i=i-1|0;if(i){continue}break}b=b+k|0}if(P){break t}if(!e){break s}k=j+1|0;c=q[a+12>>2]+Q|0;i=0;while(1){o[c+k|0]=255;c=c+n|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}C=C+1|0;if((C|0)!=(f|0)){break r}if((g|0)>=8){break j}if(f){break k}return 1}C=C+1|0;if((C|0)==(f|0)){break i}}Q=w(C,M);i=Q+q[a+12>>2]|0;c=r[b|0];if(c>>>0<=4){continue}break}}break a}if((g|0)<8){break h}if((g|0)==16){break i}break h}m=e-1|0;k=0-E|0;l=(B|0)>7;e=0;while(1){i=w(e,M);c=i+q[a+12>>2]|0;b=L+c|0;j=1;j=h?j:r[g+164744|0];b=b+k|0;E:{F:{switch(g-1|0){case 3:d=B;if((d|0)>=2){while(1){o[c|0]=w(r[b|0]>>>4|0,j);o[c+1|0]=w(r[b|0]&15,j);b=b+1|0;c=c+2|0;A=(d|0)>3;d=d-2|0;if(A){continue}break}}if((d|0)!=1){break E}o[c|0]=w(r[b|0]>>>4|0,j);break E;case 1:d=B;if((d|0)>3){while(1){o[c|0]=w(r[b|0]>>>6|0,j);o[c+1|0]=w(r[b|0]>>>4&3,j);o[c+2|0]=w(r[b|0]>>>2&3,j);o[c+3|0]=w(r[b|0]&3,j);b=b+1|0;c=c+4|0;A=(d|0)>7;d=d-4|0;if(A){continue}break}}if((d|0)<1){break E}o[c|0]=w(r[b|0]>>>6|0,j);if((d|0)==1){break E}o[c+1|0]=w(r[b|0]>>>4&3,j);if((d|0)<3){break E}o[c+2|0]=w(r[b|0]>>>2&3,j);break E;case 0:break F;default:break E}}d=B;if(l){while(1){o[c|0]=o[b|0]>>>7&j;o[c+1|0]=w(r[b|0]>>>6&1,j);o[c+2|0]=w(r[b|0]>>>5&1,j);o[c+3|0]=w(r[b|0]>>>4&1,j);o[c+4|0]=w(r[b|0]>>>3&1,j);o[c+5|0]=w(r[b|0]>>>2&1,j);o[c+6|0]=w(r[b|0]>>>1&1,j);o[c+7|0]=w(o[b|0]&1,j);b=b+1|0;c=c+8|0;A=(d|0)>15;d=d-8|0;if(A){continue}break}}if((d|0)<1){break E}o[c|0]=o[b|0]>>>7&j;if((d|0)==1){break E}o[c+1|0]=w(r[b|0]>>>6&1,j);if((d|0)<3){break E}o[c+2|0]=w(r[b|0]>>>5&1,j);if((d|0)==3){break E}o[c+3|0]=w(r[b|0]>>>4&1,j);if((d|0)<5){break E}o[c+4|0]=w(r[b|0]>>>3&1,j);if((d|0)==5){break E}o[c+5|0]=w(r[b|0]>>>2&1,j);if((d|0)<7){break E}o[c+6|0]=w(r[b|0]>>>1&1,j)}G:{if(D){break G}c=i+q[a+12>>2]|0;H:{switch(y-1|0){case 0:b=m;if((b|0)<0){break G}while(1){d=b<<1;o[c+(d|1)|0]=255;o[c+d|0]=r[b+c|0];d=(b|0)>0;b=b-1|0;if(d){continue}break}break G;default:J(165014,164058,4725,164965);G();case 2:break H}}b=m;if((b|0)<=-1){break G}while(1){d=b<<2;o[c+(d|3)|0]=255;i=c+w(b,3)|0;o[c+(d|2)|0]=r[i+2|0];o[c+(d|1)|0]=r[i+1|0];o[c+d|0]=r[i|0];d=(b|0)>0;b=b-1|0;if(d){continue}break}}e=e+1|0;if((f|0)!=(e|0)){continue}break}break h}if((g|0)!=16){break h}}d=w(f,L);if(!d){return 1}c=q[a+12>>2];b=0;while(1){a=r[c|0]|r[c+1|0]<<8;p[c>>1]=(a<<24|a<<8&16711680)>>>16;c=c+2|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 1}J(164924,164058,4552,164965);G()}J(164997,164058,4636,164965);G()}q[215613]=164693;return 0}q[215613]=164693;return 0}function jN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=ti-640|0;ti=c;h=q[a>>2];d=s[h+52>>1]+1|0;p[h+52>>1]=d;if((d&65535)>>>0>=201){d=q[a+12>>2];q[c+628>>2]=137601;q[c+624>>2]=d;_i(h,137573,c+624|0);yj(q[a>>2],3);h=q[a>>2]}h=Rx(h);d=q[q[a>>2]+8>>2];q[d+8>>2]=9;q[d>>2]=h;e=q[a>>2];f=q[e+8>>2];if((q[e+28>>2]-f|0)<=16){vk(e,1);e=q[a>>2];f=q[e+8>>2]}q[e+8>>2]=f+16;if(Nk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+612>>2]=137558;q[c+608>>2]=d;_i(g,137573,c+608|0);yj(q[a>>2],3)}d=h;g=q[c+632>>2];i=0;a:{if(!g){break a}j=hs(q[a>>2],q[a+8>>2],g);if(Nk(q[a+4>>2],j,q[c+632>>2])){i=q[a>>2];g=q[a+12>>2];q[c+596>>2]=137558;q[c+592>>2]=g;_i(i,137573,c+592|0);yj(q[a>>2],3)}i=Jj(q[a>>2],j,q[c+632>>2]-1|0)}q[d+32>>2]=i?i:b;if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+580>>2]=137558;q[c+576>>2]=b;_i(d,137573,c+576|0);yj(q[a>>2],3)}d=h;b=q[c+632>>2];if((b|0)<=-1){g=q[a>>2];b=q[a+12>>2];q[c+564>>2]=137624;q[c+560>>2]=b;_i(g,137573,c+560|0);yj(q[a>>2],3);b=q[c+632>>2]}q[d+60>>2]=b;if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+548>>2]=137558;q[c+544>>2]=b;_i(d,137573,c+544|0);yj(q[a>>2],3)}d=h;b=q[c+632>>2];if((b|0)<=-1){g=q[a>>2];b=q[a+12>>2];q[c+532>>2]=137624;q[c+528>>2]=b;_i(g,137573,c+528|0);yj(q[a>>2],3);b=q[c+632>>2]}q[d+64>>2]=b;if(Nk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+516>>2]=137558;q[c+512>>2]=b;_i(d,137573,c+512|0);yj(q[a>>2],3)}o[h+72|0]=r[c+632|0];if(Nk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+500>>2]=137558;q[c+496>>2]=b;_i(d,137573,c+496|0);yj(q[a>>2],3)}o[h+73|0]=r[c+632|0];if(Nk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+484>>2]=137558;q[c+480>>2]=b;_i(d,137573,c+480|0);yj(q[a>>2],3)}o[h+74|0]=r[c+632|0];if(Nk(q[a+4>>2],c+632|0,1)){d=q[a>>2];b=q[a+12>>2];q[c+468>>2]=137558;q[c+464>>2]=b;_i(d,137573,c+464|0);yj(q[a>>2],3)}o[h+75|0]=r[c+632|0];if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+452>>2]=137558;q[c+448>>2]=b;_i(d,137573,c+448|0);yj(q[a>>2],3)}f=q[c+632>>2];if((f|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+436>>2]=137624;q[c+432>>2]=b;_i(d,137573,c+432|0);yj(q[a>>2],3);f=q[c+632>>2]}b=q[a>>2];b:{if(f+1>>>0<=1073741823){e=f<<2;b=lj(b,0,0,e);break b}e=f<<2;b=Yj(b)}q[h+44>>2]=f;q[h+12>>2]=b;if(Nk(q[a+4>>2],b,e)){d=q[a>>2];b=q[a+12>>2];q[c+420>>2]=137558;q[c+416>>2]=b;_i(d,137573,c+416|0);yj(q[a>>2],3)}if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+404>>2]=137558;q[c+400>>2]=b;_i(d,137573,c+400|0);yj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+388>>2]=137624;q[c+384>>2]=b;_i(d,137573,c+384|0);yj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];c:{if(e+1>>>0<=268435455){b=lj(b,0,0,e<<4);break c}b=Yj(b)}q[h+40>>2]=e;q[h+8>>2]=b;f=0;d:{if((e|0)<=0){break d}while(1){q[((f<<4)+b|0)+8>>2]=0;f=f+1|0;if((f|0)!=(e|0)){continue}break}if((e|0)<1){break d}f=0;while(1){if(Nk(q[a+4>>2],c+632|0,1)){g=q[a>>2];d=q[a+12>>2];q[c+372>>2]=137558;q[c+368>>2]=d;_i(g,137573,c+368|0);yj(q[a>>2],3)}d=(f<<4)+b|0;e:{f:{switch(o[c+632|0]){case 0:q[d+8>>2]=0;break e;case 1:if(Nk(q[a+4>>2],c+632|0,1)){g=q[a>>2];b=q[a+12>>2];q[c+308>>2]=137558;q[c+304>>2]=b;_i(g,137573,c+304|0);yj(q[a>>2],3)}q[d>>2]=r[c+632|0]!=0;q[d+8>>2]=1;break e;case 3:if(Nk(q[a+4>>2],c+632|0,8)){g=q[a>>2];b=q[a+12>>2];q[c+324>>2]=137558;q[c+320>>2]=b;_i(g,137573,c+320|0);yj(q[a>>2],3)}v[d>>3]=v[c+632>>3];q[d+8>>2]=3;break e;case 4:if(Nk(q[a+4>>2],c+632|0,4)){g=q[a>>2];b=q[a+12>>2];q[c+356>>2]=137558;q[c+352>>2]=b;_i(g,137573,c+352|0);yj(q[a>>2],3)}b=d;g=q[c+632>>2];i=0;g:{if(!g){break g}j=hs(q[a>>2],q[a+8>>2],g);if(Nk(q[a+4>>2],j,q[c+632>>2])){i=q[a>>2];g=q[a+12>>2];q[c+340>>2]=137558;q[c+336>>2]=g;_i(i,137573,c+336|0);yj(q[a>>2],3)}i=Jj(q[a>>2],j,q[c+632>>2]-1|0)}q[b>>2]=i;q[d+8>>2]=4;break e;default:break f}}d=q[a>>2];b=q[a+12>>2];q[c+292>>2]=137636;q[c+288>>2]=b;_i(d,137573,c+288|0);yj(q[a>>2],3)}f=f+1|0;if((f|0)==(e|0)){break d}b=q[h+8>>2];continue}}if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+276>>2]=137558;q[c+272>>2]=b;_i(d,137573,c+272|0);yj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+260>>2]=137624;q[c+256>>2]=b;_i(d,137573,c+256|0);yj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];h:{if(e+1>>>0<=1073741823){d=lj(b,0,0,e<<2);break h}d=Yj(b)}q[h+52>>2]=e;q[h+16>>2]=d;b=1;i:{if((e|0)<1){break i}f=0;q[d>>2]=0;if((e|0)!=1){while(1){q[q[h+16>>2]+(b<<2)>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}if((e|0)<=0){break i}while(1){b=jN(a,q[h+32>>2]);q[q[h+16>>2]+(f<<2)>>2]=b;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+244>>2]=137558;q[c+240>>2]=b;_i(d,137573,c+240|0);yj(q[a>>2],3)}f=q[c+632>>2];if((f|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+228>>2]=137624;q[c+224>>2]=b;_i(d,137573,c+224|0);yj(q[a>>2],3);f=q[c+632>>2]}b=q[a>>2];j:{if(f+1>>>0<=1073741823){e=f<<2;b=lj(b,0,0,e);break j}e=f<<2;b=Yj(b)}q[h+48>>2]=f;q[h+20>>2]=b;if(Nk(q[a+4>>2],b,e)){d=q[a>>2];b=q[a+12>>2];q[c+212>>2]=137558;q[c+208>>2]=b;_i(d,137573,c+208|0);yj(q[a>>2],3)}if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+196>>2]=137558;q[c+192>>2]=b;_i(d,137573,c+192|0);yj(q[a>>2],3)}b=q[c+632>>2];if((b|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+180>>2]=137624;q[c+176>>2]=b;_i(d,137573,c+176|0);yj(q[a>>2],3);b=q[c+632>>2]}d=q[a>>2];k:{if(b+1>>>0<=357913941){d=lj(d,0,0,w(b,12));break k}d=Yj(d)}q[h+56>>2]=b;q[h+24>>2]=d;f=0;if((b|0)>0){while(1){q[d+w(f,12)>>2]=0;f=f+1|0;if((f|0)!=(b|0)){continue}break}f=0;while(1){if(Nk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+164>>2]=137558;q[c+160>>2]=d;_i(g,137573,c+160|0);yj(q[a>>2],3)}d=q[c+632>>2];g=0;l:{if(!d){break l}i=hs(q[a>>2],q[a+8>>2],d);if(Nk(q[a+4>>2],i,q[c+632>>2])){g=q[a>>2];d=q[a+12>>2];q[c+148>>2]=137558;q[c+144>>2]=d;_i(g,137573,c+144|0);yj(q[a>>2],3)}g=Jj(q[a>>2],i,q[c+632>>2]-1|0)}i=w(f,12);q[i+q[h+24>>2]>>2]=g;if(Nk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+132>>2]=137558;q[c+128>>2]=d;_i(g,137573,c+128|0);yj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){g=q[a>>2];d=q[a+12>>2];q[c+116>>2]=137624;q[c+112>>2]=d;_i(g,137573,c+112|0);yj(q[a>>2],3);e=q[c+632>>2]}q[(i+q[h+24>>2]|0)+4>>2]=e;if(Nk(q[a+4>>2],c+632|0,4)){g=q[a>>2];d=q[a+12>>2];q[c+100>>2]=137558;q[c+96>>2]=d;_i(g,137573,c+96|0);yj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){g=q[a>>2];d=q[a+12>>2];q[c+84>>2]=137624;q[c+80>>2]=d;_i(g,137573,c+80|0);yj(q[a>>2],3);e=q[c+632>>2]}q[(i+q[h+24>>2]|0)+8>>2]=e;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+68>>2]=137558;q[c+64>>2]=b;_i(d,137573,c- -64|0);yj(q[a>>2],3)}e=q[c+632>>2];if((e|0)<=-1){d=q[a>>2];b=q[a+12>>2];q[c+52>>2]=137624;q[c+48>>2]=b;_i(d,137573,c+48|0);yj(q[a>>2],3);e=q[c+632>>2]}b=q[a>>2];m:{if(e+1>>>0<=1073741823){d=lj(b,0,0,e<<2);break m}d=Yj(b)}q[h+36>>2]=e;q[h+28>>2]=d;b=1;if((e|0)>=1){f=0;q[d>>2]=0;if((e|0)!=1){while(1){q[q[h+28>>2]+(b<<2)>>2]=0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}while(1){if(Nk(q[a+4>>2],c+632|0,4)){d=q[a>>2];b=q[a+12>>2];q[c+36>>2]=137558;q[c+32>>2]=b;_i(d,137573,c+32|0);yj(q[a>>2],3)}b=q[c+632>>2];d=0;n:{if(!b){break n}g=hs(q[a>>2],q[a+8>>2],b);if(Nk(q[a+4>>2],g,q[c+632>>2])){d=q[a>>2];b=q[a+12>>2];q[c+20>>2]=137558;q[c+16>>2]=b;_i(d,137573,c+16|0);yj(q[a>>2],3)}d=Jj(q[a>>2],g,q[c+632>>2]-1|0)}q[q[h+28>>2]+(f<<2)>>2]=d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(!WB(h,q[h+44>>2],255)){d=q[a>>2];b=q[a+12>>2];q[c+4>>2]=137615;q[c>>2]=b;_i(d,137573,c);yj(q[a>>2],3)}a=q[a>>2];q[a+8>>2]=q[a+8>>2]-16;p[a+52>>1]=s[a+52>>1]-1;ti=c+640|0;return h}function Gt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=ti-208|0;ti=c;k=q[a+4>>2];a:{b:{c:{switch(q[a+16>>2]-258|0){case 8:d=q[a+48>>2];q[c+176>>2]=-1;e=TB(a);while(1){b=q[a+16>>2];if((b|0)!=261){d:{if((b|0)==260){ms(d,c+176|0,So(d));Nm(d,e);Gj(a);it(a);break d}ms(d,c+176|0,e)}Nm(d,q[c+176>>2]);Do(a,262,266,k);break b}else{ms(d,c+176|0,So(d));Nm(d,e);e=TB(a);continue}};default:b=q[a+48>>2];fx(a,c+184|0);if(q[c+184>>2]==13){a=q[q[b>>2]+12>>2]+(q[c+192>>2]<<2)|0;q[a>>2]=q[a>>2]&-8372225|16384;break b}q[c+176>>2]=0;JM(a,c+176|0,1);break b;case 0:Gj(a);f=q[a+48>>2];b=q[f+20>>2];e:{if(b){while(1){if(r[b+10|0]){d=b;break e}e=r[b+9|0]|e;b=q[b>>2];if(b){continue}break}}Dj(a,137169)}if(e){im(f,35,r[d+8|0],0,0)}ms(f,d+4|0,So(f));b=1;break a;case 15:f=q[a+48>>2];Gj(a);d=q[a+16>>2];b=d-260|0;f:{if(!(b>>>0>27|!(1<>2]==44){b=1;while(1){Gj(a);sm(q[a+48>>2],c+176|0);$k(a,c+176|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}if(q[c+176>>2]-13>>>0>=2){break h}a=b;break j}a=1;if(q[c+176>>2]-13>>>0>1){break i}}b=-1;iu(f,c+176|0,-1);if((a|0)!=1|q[c+176>>2]!=13){break g}a=q[q[f>>2]+12>>2]+(q[c+184>>2]<<2)|0;q[a>>2]=q[a>>2]&-64|29;break g}b=1;j=cn(f,c+176|0);break f}sm(f,c+176|0)}j=r[f+50|0]}hE(f,j,b);b=1;break a;case 10:Gj(a);e=q[a+16>>2];if((e|0)==265){Gj(a);e=q[a+48>>2];if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+112>>2]=dl(a,285);Dj(a,_i(b,136607,c+112|0))}d=q[a+24>>2];Gj(a);Bm(a,d,0);d=q[e+36>>2];q[c+192>>2]=-1;q[c+196>>2]=-1;q[c+184>>2]=d;q[c+176>>2]=6;Lp(e,1);f=q[a+48>>2];d=r[f+50|0]+1|0;o[f+50|0]=d;q[(q[q[f>>2]+24>>2]+w(s[(f+((d&255)<<1)|0)+170>>1],12)|0)+4>>2]=q[f+24>>2];XA(a,c+152|0,0,q[a+4>>2]);Ox(e,c+176|0,c+152|0);q[(q[q[e>>2]+24>>2]+w(s[(e+(r[e+50|0]<<1)|0)+170>>1],12)|0)+4>>2]=q[e+24>>2];b=0;break a}while(1){if((e|0)!=285){d=q[a+52>>2];q[c+128>>2]=dl(a,285);Dj(a,_i(d,136607,c+128|0))}d=q[a+24>>2];Gj(a);Bm(a,d,b);b=b+1|0;d=q[a+16>>2];if((d|0)==44){Gj(a);e=q[a+16>>2];continue}break}k:{if((d|0)==61){Gj(a);$k(a,c+176|0,0);e=1;if(q[a+16>>2]!=44){break k}while(1){Gj(a);sm(q[a+48>>2],c+176|0);$k(a,c+176|0,0);e=e+1|0;if(q[a+16>>2]==44){continue}break}break k}e=0;q[c+176>>2]=0}hB(q[a+48>>2],b,e,c+176|0);e=q[a+48>>2];a=r[e+50|0]+b|0;o[e+50|0]=a;f=a&255;d=q[e+24>>2];a=q[q[e>>2]+24>>2];while(1){q[(a+w(s[(e+(f-b<<1)|0)+172>>1],12)|0)+4>>2]=d;b=b-1|0;if(b){continue}break}break b;case 7:Gj(a);if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+96>>2]=dl(a,285);Dj(a,_i(b,136607,c+96|0))}d=q[a+24>>2];Gj(a);b=q[a+48>>2];if((Ww(b,d,c+176|0,1)|0)==8){q[c+184>>2]=Kp(b,d)}while(1){f=q[a+16>>2];if((f|0)!=46){b=a;e=c+152|0;if((f|0)==58){hy(a,c+176|0);d=1}else{d=0}XA(b,e,d,k);Ox(q[a+48>>2],c+176|0,c+152|0);a=q[a+48>>2];q[(q[q[a>>2]+20>>2]+(q[a+24>>2]<<2)|0)-4>>2]=k;break b}else{hy(a,c+176|0);continue}};case 14:i=q[a+48>>2];f=q[i+24>>2];q[i+28>>2]=f;q[c+156>>2]=-1;o[c+162|0]=1;d=r[i+50|0];o[c+161|0]=0;o[c+160|0]=d;b=q[i+20>>2];q[c+140>>2]=-1;q[c+152>>2]=b;o[c+145|0]=0;o[c+146|0]=0;o[c+144|0]=d;q[c+136>>2]=c+152;q[i+20>>2]=c+136;Gj(a);b=q[a+52>>2];d=s[b+52>>1]+1|0;p[b+52>>1]=d;if((d&65535)>>>0>=201){Pl(a,136621,0)}while(1){b=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){d=Gt(a);if(q[a+16>>2]==59){Gj(a)}b=q[a+48>>2];q[b+36>>2]=r[b+50|0];if(!d){continue}}break}b=q[a+52>>2];p[b+52>>1]=s[b+52>>1]-1;Do(a,276,272,k);$k(a,c+176|0,0);if(q[c+176>>2]==1){q[c+176>>2]=3}ku(q[a+48>>2],c+176|0);j=q[c+196>>2];l:{if(!r[c+145|0]){k=q[i+20>>2];q[i+20>>2]=q[k>>2];g=q[q[i+12>>2]+48>>2];b=r[g+50|0];h=r[k+8|0];if(b>>>0>h>>>0){e=q[g+24>>2];d=q[q[g>>2]+24>>2];while(1){b=b-1|0;q[(w(s[(g+(b<<1)|0)+172>>1],12)+d|0)+8>>2]=e;if(b>>>0>h>>>0){continue}break}o[g+50|0]=b}if(r[k+9|0]){im(i,35,h,0,0)}q[i+36>>2]=r[i+50|0];Nm(i,q[k+4>>2]);ju(q[a+48>>2],j,f);break l}d=0;h=q[a+48>>2];b=q[h+20>>2];m:{if(b){while(1){if(r[b+10|0]){d=b;break m}e=r[b+9|0]|e;b=q[b>>2];if(b){continue}break}}Dj(a,137169)}if(e){im(h,35,r[d+8|0],0,0)}ms(h,d+4|0,So(h));Nm(q[a+48>>2],j);j=q[i+20>>2];q[i+20>>2]=q[j>>2];k=q[q[i+12>>2]+48>>2];b=r[k+50|0];h=r[j+8|0];if(b>>>0>h>>>0){e=q[k+24>>2];d=q[q[k>>2]+24>>2];while(1){b=b-1|0;q[(d+w(s[(k+(b<<1)|0)+172>>1],12)|0)+8>>2]=e;if(b>>>0>h>>>0){continue}break}o[k+50|0]=b}if(r[j+9|0]){im(i,35,h,0,0)}q[i+36>>2]=r[i+50|0];Nm(i,q[j+4>>2]);ju(q[a+48>>2],So(i),f)}e=q[i+20>>2];q[i+20>>2]=q[e>>2];h=q[q[i+12>>2]+48>>2];a=r[h+50|0];f=r[e+8|0];if(a>>>0>f>>>0){d=q[h+24>>2];b=q[q[h>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(h+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>f>>>0){continue}break}o[h+50|0]=a}if(r[e+9|0]){im(i,35,f,0,0)}q[i+36>>2]=r[i+50|0];Nm(i,q[e+4>>2]);break b;case 6:g=q[a+48>>2];o[c+162|0]=1;q[c+156>>2]=-1;b=r[g+50|0];o[c+161|0]=0;o[c+160|0]=b;q[c+152>>2]=q[g+20>>2];q[g+20>>2]=c+152;Gj(a);if(q[a+16>>2]!=285){b=q[a+52>>2];q[c+80>>2]=dl(a,285);Dj(a,_i(b,136607,c+80|0))}j=q[a+24>>2];Gj(a);n:{o:{p:{q:{r:{b=q[a+16>>2];switch(b-44|0){case 0:break o;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:break p;case 17:break r;default:break q}}f=q[a+48>>2];d=q[f+36>>2];Bm(a,no(a,137092,11),0);Bm(a,no(a,137104,11),1);Bm(a,no(a,137116,10),2);Bm(a,j,3);if(q[a+16>>2]!=61){b=q[a+52>>2];q[c+32>>2]=dl(a,61);Dj(a,_i(b,136607,c+32|0))}Gj(a);$k(a,c+176|0,0);sm(q[a+48>>2],c+176|0);if(q[a+16>>2]!=44){b=q[a+52>>2];q[c+16>>2]=dl(a,44);Dj(a,_i(b,136607,c+16|0))}Gj(a);$k(a,c+176|0,0);sm(q[a+48>>2],c+176|0);s:{if(q[a+16>>2]==44){Gj(a);$k(a,c+176|0,0);sm(q[a+48>>2],c+176|0);break s}lu(f,1,q[f+36>>2],EX(f));Lp(f,1)}RE(a,d,k,1,1);break n}if((b|0)==267){break o}}Dj(a,137071);break n}h=q[a+48>>2];f=q[h+36>>2];Bm(a,no(a,137127,15),0);e=1;Bm(a,no(a,137143,11),1);Bm(a,no(a,137155,13),2);Bm(a,j,3);j=q[a+16>>2];if((j|0)==44){e=4;while(1){b=e;Gj(a);if(q[a+16>>2]!=285){d=q[a+52>>2];q[c+64>>2]=dl(a,285);Dj(a,_i(d,136607,c- -64|0))}d=q[a+24>>2];Gj(a);Bm(a,d,b);e=b+1|0;j=q[a+16>>2];if((j|0)==44){continue}break}e=b-2|0}if((j|0)!=267){b=q[a+52>>2];q[c+48>>2]=dl(a,267);Dj(a,_i(b,136607,c+48|0))}Gj(a);d=q[a+4>>2];$k(a,c+176|0,0);b=1;if(q[a+16>>2]==44){while(1){Gj(a);sm(q[a+48>>2],c+176|0);$k(a,c+176|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}}hB(q[a+48>>2],3,b,c+176|0);IX(h);RE(a,f,d,e,0)}Do(a,262,264,k);e=q[g+20>>2];q[g+20>>2]=q[e>>2];h=q[q[g+12>>2]+48>>2];a=r[h+50|0];f=r[e+8|0];if(a>>>0>f>>>0){d=q[h+24>>2];b=q[q[h>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(h+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>f>>>0){continue}break}o[h+50|0]=a}if(r[e+9|0]){im(g,35,f,0,0)}q[g+36>>2]=r[g+50|0];Nm(g,q[e+4>>2]);break b;case 1:Gj(a);it(a);Do(a,262,259,k);break b;case 19:break c}}g=q[a+48>>2];Gj(a);d=q[g+24>>2];q[g+28>>2]=d;$k(a,c+176|0,0);if(q[c+176>>2]==1){q[c+176>>2]=3}ku(q[a+48>>2],c+176|0);o[c+162|0]=1;q[c+156>>2]=-1;f=q[c+196>>2];b=r[g+50|0];o[c+161|0]=0;o[c+160|0]=b;q[c+152>>2]=q[g+20>>2];q[g+20>>2]=c+152;if(q[a+16>>2]!=259){b=q[a+52>>2];q[c>>2]=dl(a,259);Dj(a,_i(b,136607,c))}Gj(a);it(a);ju(g,So(g),d);Do(a,262,277,k);h=q[g+20>>2];q[g+20>>2]=q[h>>2];j=q[q[g+12>>2]+48>>2];a=r[j+50|0];e=r[h+8|0];if(a>>>0>e>>>0){d=q[j+24>>2];b=q[q[j>>2]+24>>2];while(1){a=a-1|0;q[(b+w(s[(j+(a<<1)|0)+172>>1],12)|0)+8>>2]=d;if(a>>>0>e>>>0){continue}break}o[j+50|0]=a}if(r[h+9|0]){im(g,35,e,0,0)}q[g+36>>2]=r[g+50|0];Nm(g,q[h+4>>2]);Nm(g,f)}b=0}ti=c+208|0;return b}function esa(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,v=0,y=0,z=0,A=0,B=0,C=0,D=0,E=x(0),F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;h=ti-16|0;v=h;ti=h;y=q[a+408>>2];l=y+w(e,24)|0;j=q[l+4>>2];F=s[((e<<1)+a|0)+280>>1];g=d<<((F|0)==2);z=g>>>0>j>>>0?j:g;j=q[l>>2];A=(z-(g>>>0>j>>>0?j:g)>>>0)/t[l+8>>2]|0;z=A<<2;j=q[a+4>>2];g=w(z+4|0,j);H=q[q[a+136>>2]+w(r[l+13|0],2096)>>2];N=q[a+104>>2];i=q[a+92>>2];a:{if(i){g=N-(g+7&-8)|0;if((g|0)>2]){break a}q[a+104>>2]=g;C=g+i|0;break a}C=h-(g+15&-16)|0;ti=C}if((j|0)>=1){g=(j<<2)+C|0;h=0;while(1){q[(h<<2)+C>>2]=g;g=g+z|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}b:{c:{d:{e:{if((c|0)>=1){h=d<<2;g=0;while(1){if(!r[f+g|0]){Fi(q[(g<<2)+b>>2],0,h)}g=g+1|0;if((g|0)!=(c|0)){continue}break}if((c|0)==1|(F|0)!=2){break e}g=0;if((c|0)<1){break d}while(1){if(!r[f+g|0]){break d}g=g+1|0;if((g|0)!=(c|0)){continue}break}break c}g=0;if((F|0)==2){break d}}O=y+w(e,24)|0;Q=O;R=(A|0)<1;y=0;while(1){if(!R){z=0;P=(c|0)<1;S=P|(y|0)!=0;j=0;while(1){e=0;if(!S){while(1){if(!r[e+f|0]){i=r[l+13|0];m=q[a+136>>2];d=q[a+1408>>2];f:{if((d|0)>9){break f}if(!d){q[a+1404>>2]=0}while(1){g=r[a+1388|0];g:{h:{i:{j:{if(q[a+1396>>2]){if(g&255){break j}break f}if(g&255){break j}h=q[a+1392>>2];if((h|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break f}if(!(o[a+1387|0]&1)){break i}h=q[a+1392>>2]}d=h+1|0;q[a+1392>>2]=d;g=r[(a+h|0)+1132|0];if((g|0)!=255){q[a+1400>>2]=h;q[a+1396>>2]=1}if((d|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break b}o[a+1388|0]=g;if(!g){break f}}o[a+1388|0]=g-1;q[a+1412>>2]=q[a+1412>>2]+1;d=q[a+44>>2];k:{if(d){if(d>>>0>=t[a+52>>2]){break h}q[a+44>>2]=d+1;g=r[d|0];break k}g=ej(q[a+32>>2]);if((g|0)==-1){break h}}d=g&255;break g}q[a+112>>2]=32;break f}q[a+108>>2]=1;d=0}g=q[a+1408>>2];q[a+1408>>2]=g+8;q[a+1404>>2]=q[a+1404>>2]+(d<>2];g=p[(d+((h&1023)<<1)|0)+36>>1];l:{if((g|0)>=0){i=h;h=r[g+q[d+8>>2]|0];q[a+1404>>2]=i>>>h;i=q[a+1408>>2]-h|0;h=(i|0)<0;q[a+1408>>2]=h?0:i;g=h?-1:g;break l}g=aq(a,d)}g=r[d+23|0]?q[q[d+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[(e<<2)+C>>2]+(z<<2)>>2]=q[q[O+16>>2]+(g<<2)>>2]}e=e+1|0;if((e|0)!=(c|0)){continue}break}}m:{if((j|0)>=(A|0)){break m}n=0;if((H|0)<1){break m}while(1){i=0;if(!P){while(1){n:{if(r[f+i|0]){break n}g=i<<2;d=p[(q[Q+20>>2]+(r[q[q[g+C>>2]+(z<<2)>>2]+n|0]<<4)|0)+(y<<1)>>1];if((d|0)<0){break n}d=q[a+136>>2]+w(d&65535,2096)|0;e=q[l+8>>2];h=q[l>>2]+w(e,j)|0;I=q[b+g>>2];if(F){if((e|0)<1){break n}k=0;while(1){g=bM(a,d);if((g|0)<0){break c}L=I+(h<<2)|0;m=q[d>>2];B=e-k|0;B=(m|0)<(B|0)?m:B;M=w(g,m);o:{if(r[d+22|0]){if((B|0)<1){break o}D=q[d+28>>2];g=0;E=x(0);while(1){K=L+(g<<2)|0;E=x(E+u[D+(g+M<<2)>>2]);u[K>>2]=u[K>>2]+E;E=x(E+u[d+12>>2]);g=g+1|0;if((B|0)!=(g|0)){continue}break}break o}if((B|0)<1){break o}D=q[d+28>>2];g=0;while(1){K=L+(g<<2)|0;u[K>>2]=u[K>>2]+x(u[D+(g+M<<2)>>2]+x(0));g=g+1|0;if((B|0)!=(g|0)){continue}break}}h=h+m|0;k=k+m|0;if((e|0)>(k|0)){continue}break}break n}m=(e|0)/q[d>>2]|0;if((m|0)<1){break n}L=I+(h<<2)|0;M=e-h|0;e=0;while(1){k=bM(a,d);if((k|0)<0){break c}g=q[d>>2];h=M-e|0;h=(g|0)<(h|0)?g:h;p:{if((h|0)<1){break p}B=L+(e<<2)|0;k=w(g,k);I=q[d+28>>2];E=x(0);g=0;if(!r[d+22|0]){while(1){D=B+(w(g,m)<<2)|0;u[D>>2]=u[D>>2]+x(u[I+(g+k<<2)>>2]+x(0));g=g+1|0;if((h|0)!=(g|0)){continue}break p}}while(1){D=B+(w(g,m)<<2)|0;E=x(E+u[I+(g+k<<2)>>2]);u[D>>2]=u[D>>2]+E;g=g+1|0;if((h|0)!=(g|0)){continue}break}}e=e+1|0;if((m|0)!=(e|0)){continue}break}}i=i+1|0;if((i|0)!=(c|0)){continue}break}}j=j+1|0;if((A|0)<=(j|0)){break m}n=n+1|0;if((H|0)>(n|0)){continue}break}}z=z+1|0;if((j|0)<(A|0)){continue}break}}y=y+1|0;if((y|0)!=8){continue}break}break c}if((c|0)==(g|0)){break c}m=(A|0)<1;B=m|(c|0)<3;y=y+w(e,24)|0;z=y;F=(c|0)!=2;j=0;while(1){q:{if(!F){if(m){break q}h=0;f=0;while(1){e=q[l>>2]+w(q[l+8>>2],h)|0;q[v+12>>2]=e&1;q[v+8>>2]=e>>1;if(!j){i=r[l+13|0];n=q[a+136>>2];e=q[a+1408>>2];r:{if((e|0)>9){break r}if(!e){q[a+1404>>2]=0}while(1){g=r[a+1388|0];s:{t:{u:{v:{if(q[a+1396>>2]){if(g&255){break v}break r}if(g&255){break v}e=q[a+1392>>2];if((e|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break r}if(!(o[a+1387|0]&1)){break u}e=q[a+1392>>2]}k=e+1|0;q[a+1392>>2]=k;g=r[(a+e|0)+1132|0];if((g|0)!=255){q[a+1400>>2]=e;q[a+1396>>2]=1}if((k|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break b}o[a+1388|0]=g;if(!g){break r}}o[a+1388|0]=g-1;q[a+1412>>2]=q[a+1412>>2]+1;e=q[a+44>>2];w:{if(e){if(e>>>0>=t[a+52>>2]){break t}q[a+44>>2]=e+1;g=r[e|0];break w}g=ej(q[a+32>>2]);if((g|0)==-1){break t}}e=g&255;break s}q[a+112>>2]=32;break r}q[a+108>>2]=1;e=0}g=q[a+1408>>2];q[a+1408>>2]=g+8;q[a+1404>>2]=q[a+1404>>2]+(e<>2];g=p[(e+((k&1023)<<1)|0)+36>>1];x:{if((g|0)>=0){i=r[g+q[e+8>>2]|0];q[a+1404>>2]=k>>>i;n=q[a+1408>>2]-i|0;i=(n|0)<0;q[a+1408>>2]=i?0:n;g=i?-1:g;break x}g=aq(a,e)}g=r[e+23|0]?q[q[e+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[C>>2]+(f<<2)>>2]=q[q[y+16>>2]+(g<<2)>>2]}y:{if((h|0)>=(A|0)){break y}g=0;if((H|0)<1){break y}while(1){e=q[l+8>>2];i=p[(q[z+20>>2]+(r[q[q[C>>2]+(f<<2)>>2]+g|0]<<4)|0)+(j<<1)>>1];z:{if((i|0)>=0){if(cM(a,q[a+136>>2]+w(i&65535,2096)|0,b,2,v+12|0,v+8|0,d,e)){break z}break c}e=q[l>>2]+(e+w(e,h)|0)|0;q[v+8>>2]=e>>1;q[v+12>>2]=e&1}h=h+1|0;if((A|0)<=(h|0)){break y}g=g+1|0;if((H|0)>(g|0)){continue}break}}f=f+1|0;if((h|0)<(A|0)){continue}break}break q}if(B){break q}h=0;f=0;while(1){g=q[l>>2]+w(q[l+8>>2],h)|0;e=(g|0)/(c|0)|0;q[v+12>>2]=g-w(c,e);q[v+8>>2]=e;if(!j){i=r[l+13|0];n=q[a+136>>2];e=q[a+1408>>2];A:{if((e|0)>9){break A}if(!e){q[a+1404>>2]=0}while(1){g=r[a+1388|0];B:{C:{D:{E:{if(q[a+1396>>2]){if(g&255){break E}break A}if(g&255){break E}e=q[a+1392>>2];if((e|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break A}if(!(o[a+1387|0]&1)){break D}e=q[a+1392>>2]}k=e+1|0;q[a+1392>>2]=k;g=r[(a+e|0)+1132|0];if((g|0)!=255){q[a+1400>>2]=e;q[a+1396>>2]=1}if((k|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break b}o[a+1388|0]=g;if(!g){break A}}o[a+1388|0]=g-1;q[a+1412>>2]=q[a+1412>>2]+1;e=q[a+44>>2];F:{if(e){if(e>>>0>=t[a+52>>2]){break C}q[a+44>>2]=e+1;g=r[e|0];break F}g=ej(q[a+32>>2]);if((g|0)==-1){break C}}e=g&255;break B}q[a+112>>2]=32;break A}q[a+108>>2]=1;e=0}g=q[a+1408>>2];q[a+1408>>2]=g+8;q[a+1404>>2]=q[a+1404>>2]+(e<>2];g=p[(e+((k&1023)<<1)|0)+36>>1];G:{if((g|0)>=0){i=r[g+q[e+8>>2]|0];q[a+1404>>2]=k>>>i;n=q[a+1408>>2]-i|0;i=(n|0)<0;q[a+1408>>2]=i?0:n;g=i?-1:g;break G}g=aq(a,e)}g=r[e+23|0]?q[q[e+2088>>2]+(g<<2)>>2]:g;if((g|0)==-1){break c}q[q[C>>2]+(f<<2)>>2]=q[q[y+16>>2]+(g<<2)>>2]}H:{if((h|0)>=(A|0)){break H}g=0;if((H|0)<1){break H}while(1){e=q[l+8>>2];i=p[(q[z+20>>2]+(r[q[q[C>>2]+(f<<2)>>2]+g|0]<<4)|0)+(j<<1)>>1];I:{if((i|0)>=0){if(cM(a,q[a+136>>2]+w(i&65535,2096)|0,b,c,v+12|0,v+8|0,d,e)){break I}break c}e=q[l>>2]+(e+w(e,h)|0)|0;i=(e|0)/(c|0)|0;q[v+8>>2]=i;q[v+12>>2]=e-w(c,i)}h=h+1|0;if((A|0)<=(h|0)){break H}g=g+1|0;if((H|0)>(g|0)){continue}break}}f=f+1|0;if((h|0)<(A|0)){continue}break}}j=j+1|0;if((j|0)!=8){continue}break}}q[a+104>>2]=N;ti=v+16|0;return}J(205744,205607,1555,205765);G()}function vw(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=ti-16|0;ti=d;a:while(1){l=b-4|0;j=b-12|0;b:while(1){f=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{e=b-f|0;switch((e|0)/12|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}if(t[q[b-4>>2]+116>>2]>=t[q[f+8>>2]+116>>2]){break d}q[d+8>>2]=q[f+8>>2];a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;a=b-12|0;q[f+8>>2]=q[a+8>>2];b=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=b;q[a+8>>2]=q[d+8>>2];b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}c=b-12|0;a=f+12|0;g=b-4|0;b=q[q[g>>2]+116>>2];e=q[q[f+20>>2]+116>>2];if(e>>>0>=t[q[f+8>>2]+116>>2]){if(b>>>0>=e>>>0){break d}q[d+8>>2]=q[a+8>>2];b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;q[a+8>>2]=q[c+8>>2];b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;q[c+8>>2]=q[d+8>>2];b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;if(t[q[f+20>>2]+116>>2]>=t[q[f+8>>2]+116>>2]){break d}q[d+8>>2]=q[f+8>>2];b=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=b;q[f+8>>2]=q[a+8>>2];b=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=b;q[a+8>>2]=q[d+8>>2];b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}if(b>>>0>>0){q[d+8>>2]=q[f+8>>2];a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;q[f+8>>2]=q[c+8>>2];a=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=a;q[c+8>>2]=q[d+8>>2];a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;break d}q[d+8>>2]=q[f+8>>2];b=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=b;q[f+8>>2]=q[a+8>>2];b=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=b;q[a+8>>2]=q[d+8>>2];b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;if(t[q[g>>2]+116>>2]>=t[q[f+20>>2]+116>>2]){break d}q[d+8>>2]=q[a+8>>2];b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;q[a+8>>2]=q[c+8>>2];b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;q[c+8>>2]=q[d+8>>2];a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;break d}a=f+12|0;c=f+24|0;e=f+36|0;xr(f,a,c,e);if(t[q[b-4>>2]+116>>2]>=t[q[f+44>>2]+116>>2]){break d}q[d+8>>2]=q[e+8>>2];g=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=g;b=b-12|0;q[e+8>>2]=q[b+8>>2];g=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=g;q[b+8>>2]=q[d+8>>2];g=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=g;if(t[q[f+44>>2]+116>>2]>=t[q[f+32>>2]+116>>2]){break d}q[d+8>>2]=q[c+8>>2];b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;q[c+8>>2]=q[e+8>>2];b=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=b;q[e+8>>2]=q[d+8>>2];b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;if(t[q[f+32>>2]+116>>2]>=t[q[f+20>>2]+116>>2]){break d}q[d+8>>2]=q[a+8>>2];b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;q[a+8>>2]=q[c+8>>2];b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;q[c+8>>2]=q[d+8>>2];b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;if(t[q[f+20>>2]+116>>2]>=t[q[f+8>>2]+116>>2]){break d}q[d+8>>2]=q[f+8>>2];b=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=b;q[f+8>>2]=q[a+8>>2];b=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=b;q[a+8>>2]=q[d+8>>2];b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;break d}if((e|0)<=371){$N(f,b);break d}l:{if((e|0)>=11989){g=w((e>>>0)/48|0,12);a=g+f|0;i=w((e>>>0)/24|0,12);h=i+f|0;e=g+h|0;k=xr(f,a,h,e);if(t[q[l>>2]+116>>2]>=t[q[e+8>>2]+116>>2]){break l}q[d+8>>2]=q[e+8>>2];g=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=g;q[e+8>>2]=q[j+8>>2];g=q[j+4>>2];q[e>>2]=q[j>>2];q[e+4>>2]=g;q[j+8>>2]=q[d+8>>2];g=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=g;g=f+i|0;if(t[q[e+8>>2]+116>>2]>=t[q[g+8>>2]+116>>2]){k=k+1|0;break l}q[d+8>>2]=q[h+8>>2];i=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=i;q[h+8>>2]=q[e+8>>2];i=q[e+4>>2];q[h>>2]=q[e>>2];q[h+4>>2]=i;q[e+8>>2]=q[d+8>>2];i=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=i;if(t[q[g+8>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){k=k+2|0;break l}q[d+8>>2]=q[a+8>>2];e=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=e;q[a+8>>2]=q[h+8>>2];e=q[h+4>>2];q[a>>2]=q[h>>2];q[a+4>>2]=e;q[h+8>>2]=q[d+8>>2];e=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=e;if(t[q[a+8>>2]+116>>2]>=t[q[f+8>>2]+116>>2]){k=k+3|0;break l}q[d+8>>2]=q[f+8>>2];e=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=e;q[f+8>>2]=q[a+8>>2];e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;q[a+8>>2]=q[d+8>>2];e=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=e;k=k+4|0;break l}h=w(((e&65535)>>>0)/24|0,12)+f|0;a=h;e=q[q[a+8>>2]+116>>2];m:{if(e>>>0>=t[q[f+8>>2]+116>>2]){k=0;if(e>>>0<=t[q[l>>2]+116>>2]){break l}q[d+8>>2]=q[a+8>>2];e=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=e;q[a+8>>2]=q[j+8>>2];e=q[j+4>>2];q[h>>2]=q[j>>2];q[h+4>>2]=e;q[j+8>>2]=q[d+8>>2];e=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=e;k=1;if(t[q[a+8>>2]+116>>2]>=t[q[f+8>>2]+116>>2]){break l}q[d+8>>2]=q[f+8>>2];e=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=e;q[f+8>>2]=q[a+8>>2];e=q[h+4>>2];q[f>>2]=q[h>>2];q[f+4>>2]=e;q[a+8>>2]=q[d+8>>2];a=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=a;break m}if(e>>>0>t[q[l>>2]+116>>2]){q[d+8>>2]=q[f+8>>2];a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;q[f+8>>2]=q[j+8>>2];a=q[j+4>>2];q[f>>2]=q[j>>2];q[f+4>>2]=a;q[j+8>>2]=q[d+8>>2];a=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=a;k=1;break l}q[d+8>>2]=q[f+8>>2];e=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=e;q[f+8>>2]=q[a+8>>2];e=q[h+4>>2];q[f>>2]=q[h>>2];q[f+4>>2]=e;q[a+8>>2]=q[d+8>>2];e=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=e;k=1;if(t[q[l>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){break l}q[d+8>>2]=q[a+8>>2];e=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=e;q[a+8>>2]=q[j+8>>2];a=q[j+4>>2];q[h>>2]=q[j>>2];q[h+4>>2]=a;q[j+8>>2]=q[d+8>>2];a=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=a}k=2}a=j;g=q[q[f+8>>2]+116>>2];i=q[q[h+8>>2]+116>>2];n:{if(g>>>0>>0){e=j;break n}while(1){e=a-12|0;if((e|0)==(f|0)){i=f+12|0;if(g>>>0>2]+116>>2]){break e}if((i|0)==(j|0)){break d}while(1){if(g>>>0>2]+116>>2]){q[d+8>>2]=q[i+8>>2];a=q[i+4>>2];q[d>>2]=q[i>>2];q[d+4>>2]=a;q[i+8>>2]=q[j+8>>2];a=q[j+4>>2];q[i>>2]=q[j>>2];q[i+4>>2]=a;q[j+8>>2]=q[d+8>>2];a=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=a;i=i+12|0;break e}i=i+12|0;if((j|0)!=(i|0)){continue}break}break d}m=a-4|0;a=e;if(i>>>0<=t[q[m>>2]+116>>2]){continue}break}q[d+8>>2]=q[f+8>>2];a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;q[f+8>>2]=q[e+8>>2];a=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=a;q[e+8>>2]=q[d+8>>2];a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;k=k+1|0}g=f+12|0;if(g>>>0>=e>>>0){break f}while(1){m=q[q[h+8>>2]+116>>2];while(1){i=g;g=g+12|0;if(m>>>0>t[q[i+8>>2]+116>>2]){continue}break}a=e;while(1){n=a-4|0;e=a-12|0;a=e;if(m>>>0<=t[q[n>>2]+116>>2]){continue}break}if(e>>>0>>0){g=i;break f}else{q[d+8>>2]=q[i+8>>2];a=q[i+4>>2];q[d>>2]=q[i>>2];q[d+4>>2]=a;q[i+8>>2]=q[e+8>>2];a=q[e+4>>2];q[i>>2]=q[e>>2];q[i+4>>2]=a;q[e+8>>2]=q[d+8>>2];a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;h=(h|0)==(i|0)?e:h;k=k+1|0;continue}}}xr(f,f+12|0,f+24|0,b-12|0);break d}if(!((g|0)==(h|0)|t[q[h+8>>2]+116>>2]>=t[q[g+8>>2]+116>>2])){q[d+8>>2]=q[g+8>>2];a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;q[g+8>>2]=q[h+8>>2];a=q[h+4>>2];q[g>>2]=q[h>>2];q[g+4>>2]=a;q[h+8>>2]=q[d+8>>2];a=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=a;k=k+1|0}if(!k){e=mM(f,g);a=g+12|0;if(mM(a,b)){b=g;a=f;if(!e){continue a}break d}if(e){continue b}}if(((g-f|0)/12|0)<((b-g|0)/12|0)){vw(f,g,c);a=g+12|0;continue b}vw(g+12|0,b,c);b=g;a=f;continue a}e=j;if((i|0)==(e|0)){break d}while(1){h=q[q[f+8>>2]+116>>2];while(1){g=i;i=g+12|0;if(h>>>0>=t[q[g+8>>2]+116>>2]){continue}break}a=e;while(1){k=a-4|0;e=a-12|0;a=e;if(h>>>0>2]+116>>2]){continue}break}if(e>>>0<=g>>>0){f=g;continue c}else{q[d+8>>2]=q[g+8>>2];a=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=a;q[g+8>>2]=q[e+8>>2];a=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=a;q[e+8>>2]=q[d+8>>2];a=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=a;continue}}}break}break}break}ti=d+16|0}function hF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),v=0,z=x(0),C=x(0),E=x(0),F=x(0),H=0,I=0,K=0,L=0,M=x(0),N=0,O=0,P=0,Q=0,R=0,S=0,T=0;h=ti-96|0;ti=h;q[h+56>>2]=0;a:{b:{if(!q[a+8>>2]){break b}c=q[q[242116]+16>>2];c:{if(!c){b=s[a+42>>1];break c}wj(c);b=s[a+42>>1];qj(c)}d:{c=r[a+33955|0];if(c){o[a+33955|0]=0;if(b){break d}R=-14;break b}if(c){break b}if(b){break d}R=-14;break b}if(!r[a+33954|0]){xi[q[q[a+4>>2]+24>>2]](q[a+8>>2]);o[a+33954|0]=1}O=q[q[242116]+16>>2];if(O){wj(O)}P=xi[q[q[a+4>>2]+16>>2]](q[a+8>>2])|0;if(P){c=q[242116];while(1){b=c+w(d,1056)|0;if(q[b+132>>2]){L=q[b+128>>2];q[b+120>>2]=q[b+124>>2];q[b+124>>2]=L}d=d+1|0;if((d|0)!=32){continue}break}d=q[c+24>>2];c=q[c+20>>2];b=d-c|0;if(b){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>6|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;while(1){b=c+(k<<6)|0;if(!(q[b+44>>2]?0:!(r[b+60|0]&4))){L=q[b+24>>2];q[b+16>>2]=q[b+20>>2];q[b+20>>2]=L;i=u[b+32>>2];u[b+32>>2]=u[b+36>>2];u[b+28>>2]=i}k=k+1|0;if((d|0)!=(k|0)){continue}break}}L=P;while(1){q[h+52>>2]=P;q[h+48>>2]=S;q[h+64>>2]=0;K=q[242116];k=0;while(1){b=K+w(k,1056)|0;c=q[b+132>>2];if(c){g=q[K+33920>>2];e:{if(!g){n=x(0);i=x(0);M=x(0);E=x(0);break e}z=u[b+124>>2];d=0;E=x(0);M=x(0);i=x(0);n=x(0);while(1){f=d<<3;F=x(z*u[f+c>>2]);F=x(F*F);i=i>F?i:F;C=x(z*u[c+(f|4)>>2]);C=x(C*C);n=n>C?n:C;E=x(E+F);M=x(M+C);d=d+1|0;if((g|0)!=(d|0)){continue}break}}f=b+136|0;l=b+1160|0;j=q[l>>2];d=j<<3;u[f+d>>2]=E;e=f;f=d|4;u[e+f>>2]=M;b=b+648|0;u[b+d>>2]=i;u[b+f>>2]=n;q[l>>2]=j+1&63;Fi(c,0,g<<3)}k=k+1|0;if((k|0)!=32){continue}break}f:{g:{h:{i:{j:{k:{c=q[K+24>>2];d=q[K+20>>2];b=c-d|0;if(!b){break k}if((c|0)!=(d|0)){c=d-c|0;c=((b|0)<(c|0)?c:b)>>>6|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);T=b>>>0>1?b:1;k=0;while(1){b=(k<<6)+d|0;v=b;e=r[b+60|0];if(!(q[b+44>>2]?0:!(e&4))){d=q[242116];q[h+84>>2]=0;W$(q[b>>2],h+72|0);l:{m:{n:{o:{m=r[h+81|0];switch(m-8|0){case 0:case 8:break o;default:break n}}H=r[h+80|0];if((H-1&255)>>>0<2){break m}}c=q[d+48>>2];e=q[d+52>>2]-c>>5;d=s[b+58>>1];if(e>>>0<=d>>>0){break a}c=c+(d<<5)|0;q[h>>2]=Mi(q[c>>2],q[c+4>>2]);q[h+4>>2]=r[h+81|0];q[h+8>>2]=r[h+80|0];Ai(4,203857,204395,h);o[v+60|0]=r[v+60|0]&251;break l}c=q[h+72>>2];g=q[d+33916>>2];if(c>>>0>g>>>0){f=s[b+58>>1];e=q[d+52>>2];d=q[d+48>>2];if(f>>>0>=e-d>>5>>>0){break a}d=d+(f<<5)|0;q[h+24>>2]=Mi(q[d>>2],q[d+4>>2]);q[h+20>>2]=g;q[h+16>>2]=c;Ai(4,203857,204470,h+16|0);o[v+60|0]=r[v+60|0]&251;break l}l=1;i=u[b+40>>2];p:{if(!(q[b+24>>2]|(q[b+16>>2]|q[b+20>>2]))|i==x(0)){break p}g=q[242116];c=q[g+80>>2];q:{if(!c){break q}j=q[g+76>>2];I=q[b+8>>2];N=q[b+12>>2];e=q[j+(Qwa(I,N,c)<<2)>>2];r:{if((e|0)==-1){break r}Q=q[g+84>>2];while(1){f=Q+(e<<4)|0;if(q[f>>2]!=(I|0)|q[f+4>>2]!=(N|0)){e=q[f+12>>2];if((e|0)!=-1){continue}break r}break}f=g+w(q[f+8>>2],1056)|0;if(!(q[f+124>>2]|q[f+120>>2]|q[f+128>>2])){break p}}f=q[242114];I=q[242115];e=q[j+(Qwa(f,I,c)<<2)>>2];if((e|0)==-1){break q}j=q[g+84>>2];while(1){c=j+(e<<4)|0;if(q[c>>2]!=(f|0)|q[c+4>>2]!=(I|0)){e=q[c+12>>2];if((e|0)!=-1){continue}break q}break}c=g+w(q[c+8>>2],1056)|0;if(!(q[c+124>>2]|q[c+120>>2]|q[c+128>>2])){break p}}l=0}s:{f=!(r[v+60|0]&4);e=q[b+44>>2];g=e;i=x(D(x(x(B(i,x(1)))*x(t[d+33920>>2]))));t:{if(i=x(0)){c=~~i>>>0;break t}c=0}if(f|g>>>0>=c>>>0){break s}f=c-e|0;g=w(H,m>>>3|0);j=q[b>>2];m=q[d>>2];u:{if(!l){f=fF(j,q[b+4>>2]+w(e,g)|0,w(f,g),h+84|0);break u}e=j;j=w(f,g);f=eF(m,e,j,h+84|0);Fi(q[b+4>>2]+w(g,q[b+44>>2])|0,0,j)}e=q[h+84>>2];j=(e>>>0)/(g>>>0)|0;if(e-w(g,j)|0){break j}e=j+q[b+44>>2]|0;q[b+44>>2]=e;v:{if(c>>>0<=e>>>0){break v}j=r[v+60|0];if(!(!(j&1)|!r[b+61|0])){Jq(q[b>>2]);f=o[b+61|0];if((f|0)>=1){o[b+61|0]=f-1}j=q[b+44>>2];c=c-j|0;f=q[b>>2];e=q[d>>2];w:{if(!l){f=fF(f,q[b+4>>2]+w(g,j)|0,w(c,g),h+84|0);break w}c=w(c,g);f=eF(e,f,c,h+84|0);Fi(q[b+4>>2]+w(g,q[b+44>>2])|0,0,c)}l=q[h+84>>2];c=(l>>>0)/(g>>>0)|0;if(l-w(c,g)|0){break i}e=c+q[b+44>>2]|0;q[b+44>>2]=e;break v}if(!(u[b+40>>2]>x(e>>>0)^1)){q[b+44>>2]=0;e=0}o[v+60|0]=j|2}if(!f){break s}c=q[d+48>>2];e=q[d+52>>2]-c>>5;d=s[b+58>>1];if(e>>>0<=d>>>0){break a}c=c+(d<<5)|0;c=Mi(q[c>>2],q[c+4>>2]);q[h+36>>2]=f;q[h+32>>2]=c;Ai(3,203857,204580,h+32|0);o[v+60|0]=r[v+60|0]&251;break l}if(e){q[h+88>>2]=0;c=q[b+44>>2];d=c>>>1|0;i=x(+(c<<31>>>0)+ +(d>>>0)*4294967296);n=u[b+40>>2];c=q[h+72>>2];g=c>>>1|0;m=q[242116];d=q[m+33916>>2];i=x(i/x(n*x(+(Pwa(c<<31,g,d)>>>0)+0)));x:{if(i=x(0)){g=~~i>>>0;break x}g=0}y:{z:{f=q[m+80>>2];A:{if(!f){break A}l=q[b+8>>2];j=q[b+12>>2];e=q[q[m+76>>2]+(Qwa(l,j,f)<<2)>>2];if((e|0)==-1){break A}f=q[m+33920>>2];g=f>>>0>g>>>0?g:f;f=q[m+84>>2];while(1){H=f+(e<<4)|0;e=H;if((l|0)==q[e>>2]&(j|0)==q[e+4>>2]){break z}e=q[H+12>>2];if((e|0)!=-1){continue}break}}Ai(4,203857,204622,0);break y}if(c>>>0>d>>>0){break h}e=0;I=r[h+80|0];N=r[h+81|0];Q=h+48|0;f=b;j=c;l=d;H=q[(m+w(q[H+8>>2],1056)|0)+132>>2];B:{if(!((c|0)!=(d|0)|n!=x(1))){while(1){c=w(e,12);if((N|0)!=q[(c+968528|0)+4>>2]|(I|0)!=q[c+968528>>2]){e=e+1|0;continue}else{c=c+968536|0;break B}}}while(1){c=w(e,12);if(!((I|0)==q[c+968480>>2]?(N|0)==q[(c+968480|0)+4>>2]:0)){e=e+1|0;continue}break}c=c+968488|0}xi[q[c>>2]](Q,f,j,l,H,g)}if(t[b+44>>2]>1){break l}}if(!(r[v+60|0]&2)){break l}q[b+44>>2]=0}e=r[v+60|0]}if(!(q[b+44>>2]|!(e&2))){o[v+60|0]=e&251}k=k+1|0;if((T|0)==(k|0)){break k}d=q[K+20>>2];if(q[K+24>>2]-d>>6>>>0>k>>>0){continue}break}}break a}q[h+72>>2]=0;g=q[242116];c=((s[g+33952>>1]<<2)+g|0)+33928|0;b=q[g+84>>2];j=q[242114];e=q[242115];k=q[q[g+76>>2]+(Qwa(j,e,q[g+80>>2])<<2)>>2];d=b+(k<<4)|0;if(q[d>>2]!=(j|0)|(e|0)!=q[d+4>>2]){while(1){k=q[(b+(k<<4)|0)+12>>2];d=b+(k<<4)|0;if((j|0)!=q[d>>2]|(e|0)!=q[d+4>>2]){continue}break}}v=q[c>>2];f=q[g+33920>>2];b=g+w(q[(b+(k<<4)|0)+8>>2],1056)|0;i=u[b+124>>2];n=u[b+120>>2];if(!(q[b+128>>2]|(q[b+124>>2]|q[b+120>>2]))){break g}c=b;l=q[b+132>>2];M=x(x(1)/x(f>>>0));if(f){n=x(t[h+48>>2]);E=x(t[h+52>>2]);k=0;while(1){d=g+w(k,1056)|0;K=q[d+132>>2];C:{if(!K|(j|0)==q[d+112>>2]&(e|0)==q[d+116>>2]){break C}z=u[d+124>>2];i=u[d+120>>2];if(!(q[d+128>>2]|(q[d+124>>2]|q[d+120>>2]))){break C}z=x(x(z-i)/E);i=x(x(z*n)+i);z=x(x(z+i)-i);d=0;while(1){m=d<<3;H=m|4;F=u[H+K>>2];I=l+m|0;C=x(i+x(z*x(M*x(d|0))));C=C>2]=u[I>>2]+x(u[m+K>>2]*C);m=l+H|0;u[m>>2]=u[m>>2]+x(F*C);d=d+1|0;if((f|0)!=(d|0)){continue}break}}k=k+1|0;if((k|0)!=32){continue}break}i=u[c+124>>2];n=u[b+120>>2]}if(!f){break f}i=x(x(i-n)/x(t[h+52>>2]));z=i;i=x(n+x(i*x(t[h+48>>2])));n=x(x(z+i)-i);d=0;while(1){c=d<<1|1;E=u[l+(c<<2)>>2];e=v+(d<<2)|0;z=x(i+x(n*x(M*x(d|0))));F=x(B(x(A(x(u[l+(d<<3)>>2]*z),x(32767))),x(-32768)));D:{if(x(y(F))>1]=b;b=v+(c<<1)|0;E=x(B(x(A(x(E*z),x(32767))),x(-32768)));E:{if(x(y(E))>1]=c;d=d+1|0;if((f|0)!=(d|0)){continue}break}break f}J(204546,204086,1196,204568);G()}J(204546,204086,1222,204568);G()}J(204644,204086,1073,204661);G()}Fi(v,0,f<<2)}xi[q[q[a+4>>2]+12>>2]](q[a+8>>2],q[((s[a+33952>>1]<<2)+a|0)+33928>>2],q[a+33920>>2])|0;p[a+33952>>1]=(s[a+33952>>1]+1>>>0)%6;S=S+1|0;L=L-1|0;if(L){continue}break}}if(!O){break b}qj(O)}ti=h+96|0;return R}J(204924,204755,479,204935);G()}function F7(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,r=0,t=0,u=0;e=ti-2144|0;ti=e;a:{b:{c:{g=q[a>>2];if(to(g)){if(!G$(g)){break c}q[e+64>>2]=g;Ai(4,160800,160805,e- -64|0);a=-1;break b}c=ny(g);if(!c){break c}q[e+84>>2]=c;q[e+80>>2]=g;Ai(4,160800,160885,e+80|0);a=-2;break b}d=Oi(96);c=q[a+8>>2];a=q[a+12>>2];q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+52>>2]=0;q[d+56>>2]=0;o[d+60|0]=0;q[d+36>>2]=-1;i=Jk(g);q[d+8>>2]=Owa(c,a,1e6,0);q[d+12>>2]=wi;q[d>>2]=i;l=d+16|0;ev(l,11,32);a=Hj();q[d+80>>2]=0;q[d+48>>2]=a;a=Oi(8);q[a+4>>2]=4096;c=Oi(4104);q[c>>2]=0;q[c+4>>2]=0;q[a>>2]=c;o[d+88|0]=0;q[d+84>>2]=a;d:{e:{f:{g:{a=s[d+56>>1];if(a>>>0<17){c=q[d+52>>2];i=Ji(32);q[d+52>>2]=i;i=Gi(i,c,a<<1);p[d+56>>1]=16;if((a|0)!=16){while(1){p[i+(a<<1)>>1]=a;a=a+1|0;if((a|0)!=16){continue}break}}yi(c);if(o[d+76|0]&1){break g}c=d- -64|0;Ii(16,64,c,d+72|0,d+68|0);a=q[d+64>>2];if(q[d+72>>2]-a>>6>>>0<=15){break f}q[d+68>>2]=a+1024;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<=1){break a}q[a+64>>2]=0;q[a+68>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<3){break a}q[a+128>>2]=0;q[a+132>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<4){break a}q[a+192>>2]=0;q[a+196>>2]=0;q[a+248>>2]=0;q[a+252>>2]=0;q[a+240>>2]=0;q[a+244>>2]=0;q[a+232>>2]=0;q[a+236>>2]=0;q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<5){break a}q[a+256>>2]=0;q[a+260>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+304>>2]=0;q[a+308>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<6){break a}q[a+320>>2]=0;q[a+324>>2]=0;q[a+376>>2]=0;q[a+380>>2]=0;q[a+368>>2]=0;q[a+372>>2]=0;q[a+360>>2]=0;q[a+364>>2]=0;q[a+352>>2]=0;q[a+356>>2]=0;q[a+344>>2]=0;q[a+348>>2]=0;q[a+336>>2]=0;q[a+340>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<7){break a}q[a+384>>2]=0;q[a+388>>2]=0;q[a+440>>2]=0;q[a+444>>2]=0;q[a+432>>2]=0;q[a+436>>2]=0;q[a+424>>2]=0;q[a+428>>2]=0;q[a+416>>2]=0;q[a+420>>2]=0;q[a+408>>2]=0;q[a+412>>2]=0;q[a+400>>2]=0;q[a+404>>2]=0;q[a+392>>2]=0;q[a+396>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<8){break a}q[a+448>>2]=0;q[a+452>>2]=0;q[a+504>>2]=0;q[a+508>>2]=0;q[a+496>>2]=0;q[a+500>>2]=0;q[a+488>>2]=0;q[a+492>>2]=0;q[a+480>>2]=0;q[a+484>>2]=0;q[a+472>>2]=0;q[a+476>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;q[a+456>>2]=0;q[a+460>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<9){break a}q[a+512>>2]=0;q[a+516>>2]=0;q[a+568>>2]=0;q[a+572>>2]=0;q[a+560>>2]=0;q[a+564>>2]=0;q[a+552>>2]=0;q[a+556>>2]=0;q[a+544>>2]=0;q[a+548>>2]=0;q[a+536>>2]=0;q[a+540>>2]=0;q[a+528>>2]=0;q[a+532>>2]=0;q[a+520>>2]=0;q[a+524>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<10){break a}q[a+576>>2]=0;q[a+580>>2]=0;q[a+632>>2]=0;q[a+636>>2]=0;q[a+624>>2]=0;q[a+628>>2]=0;q[a+616>>2]=0;q[a+620>>2]=0;q[a+608>>2]=0;q[a+612>>2]=0;q[a+600>>2]=0;q[a+604>>2]=0;q[a+592>>2]=0;q[a+596>>2]=0;q[a+584>>2]=0;q[a+588>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<11){break a}q[a+640>>2]=0;q[a+644>>2]=0;q[a+696>>2]=0;q[a+700>>2]=0;q[a+688>>2]=0;q[a+692>>2]=0;q[a+680>>2]=0;q[a+684>>2]=0;q[a+672>>2]=0;q[a+676>>2]=0;q[a+664>>2]=0;q[a+668>>2]=0;q[a+656>>2]=0;q[a+660>>2]=0;q[a+648>>2]=0;q[a+652>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<12){break a}q[a+704>>2]=0;q[a+708>>2]=0;q[a+760>>2]=0;q[a+764>>2]=0;q[a+752>>2]=0;q[a+756>>2]=0;q[a+744>>2]=0;q[a+748>>2]=0;q[a+736>>2]=0;q[a+740>>2]=0;q[a+728>>2]=0;q[a+732>>2]=0;q[a+720>>2]=0;q[a+724>>2]=0;q[a+712>>2]=0;q[a+716>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<13){break a}q[a+768>>2]=0;q[a+772>>2]=0;q[a+824>>2]=0;q[a+828>>2]=0;q[a+816>>2]=0;q[a+820>>2]=0;q[a+808>>2]=0;q[a+812>>2]=0;q[a+800>>2]=0;q[a+804>>2]=0;q[a+792>>2]=0;q[a+796>>2]=0;q[a+784>>2]=0;q[a+788>>2]=0;q[a+776>>2]=0;q[a+780>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<14){break a}q[a+832>>2]=0;q[a+836>>2]=0;q[a+888>>2]=0;q[a+892>>2]=0;q[a+880>>2]=0;q[a+884>>2]=0;q[a+872>>2]=0;q[a+876>>2]=0;q[a+864>>2]=0;q[a+868>>2]=0;q[a+856>>2]=0;q[a+860>>2]=0;q[a+848>>2]=0;q[a+852>>2]=0;q[a+840>>2]=0;q[a+844>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<15){break a}q[a+896>>2]=0;q[a+900>>2]=0;q[a+952>>2]=0;q[a+956>>2]=0;q[a+944>>2]=0;q[a+948>>2]=0;q[a+936>>2]=0;q[a+940>>2]=0;q[a+928>>2]=0;q[a+932>>2]=0;q[a+920>>2]=0;q[a+924>>2]=0;q[a+912>>2]=0;q[a+916>>2]=0;q[a+904>>2]=0;q[a+908>>2]=0;a=q[c>>2];if(q[d+68>>2]-a>>6>>>0<16){break a}q[a+960>>2]=0;q[a+964>>2]=0;q[a+1016>>2]=0;q[a+1020>>2]=0;q[a+1008>>2]=0;q[a+1012>>2]=0;q[a+1e3>>2]=0;q[a+1004>>2]=0;q[a+992>>2]=0;q[a+996>>2]=0;q[a+984>>2]=0;q[a+988>>2]=0;q[a+976>>2]=0;q[a+980>>2]=0;q[a+968>>2]=0;q[a+972>>2]=0;q[e+48>>2]=g;q[e+52>>2]=160928;hj(e+96|0,1024,160922,e+48|0);k=il(e+96|0,160934);if(k){break e}break d}J(162059,162082,112,161982);G()}J(162107,162182,493,161982);G()}J(162208,162182,506,162227);G()}Ik(k,0,2);a=um(k);Ik(k,0,0);h=Ji(a);tl(h,1,a,k);h:{i:{if(!(q[h>>2]!=-894784852|a>>>0<24|(q[h+4>>2]!=7|q[h+16>>2]!=120))){if(q[h+20>>2]==2232){break i}}q[e>>2]=e+96;Ai(4,160800,160937,e);xn(e+96|0);break h}n=h+24|0;a=a-24|0;if((vl(n,a)|0)!=q[h+8>>2]|(wi|0)!=q[h+12>>2]){q[e+32>>2]=e+96;Ai(4,160800,160983,e+32|0);break h}c=(a>>>0)/2232|0;g=c+128|0;ev(l,(g<<1>>>0)/3|0,g);g=pk();i=wi;if(a>>>0<2232){break h}u=c>>>0>1?c:1;r=e+1128|0;while(1){c=i;a=w(m,2232)+n|0;t=q[a+2208>>2];f=t+q[d+8>>2]|0;j=q[d+12>>2]+q[a+2212>>2]|0;j=f>>>0>>0?j+1|0:j;j:{if((c|0)==(j|0)&g>>>0<=f>>>0|c>>>0>>0){Fi(e+1120|0,0,120);f=a- -64|0;j=q[f+4>>2];c=e+1176|0;q[c>>2]=q[f>>2];q[c+4>>2]=j;f=q[a+60>>2];c=e+1168|0;q[c>>2]=q[a+56>>2];q[c+4>>2]=f;f=q[a+52>>2];c=e+1160|0;q[c>>2]=q[a+48>>2];q[c+4>>2]=f;f=q[a+44>>2];c=e+1152|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=f;f=q[a+36>>2];c=e+1144|0;q[c>>2]=q[a+32>>2];q[c+4>>2]=f;f=q[a+28>>2];c=e+1136|0;q[c>>2]=q[a+24>>2];q[c+4>>2]=f;c=q[a+20>>2];q[r>>2]=q[a+16>>2];q[r+4>>2]=c;c=q[a+12>>2];q[e+1120>>2]=q[a+8>>2];q[e+1124>>2]=c;q[e+1184>>2]=FG(q[d+84>>2],a+72|0);c=q[a+2204>>2];q[e+1192>>2]=q[a+2200>>2];q[e+1196>>2]=c;c=a+2208|0;f=q[c+4>>2];q[e+1200>>2]=q[c>>2];q[e+1204>>2]=f;c=q[a+2220>>2];q[e+1208>>2]=q[a+2216>>2];q[e+1212>>2]=c;c=q[a+2228>>2];q[e+1216>>2]=q[a+2224>>2];q[e+1220>>2]=c;Dz(l,q[a>>2],q[a+4>>2],e+1120|0);break j}tz(q[d>>2],q[a+2200>>2],q[a+2204>>2],e+1120|0);if(!xn(e+1120|0)){break j}q[e+16>>2]=e+1120;Ai(3,160800,161816,e+16|0);o[d+88|0]=1}m=m+1|0;if((u|0)!=(m|0)){continue}break}}yi(h);Ak(k)}q[b>>2]=d;a=0}ti=e+2144|0;return a}J(162235,162182,479,162246);G()}function SG(a,b,c,d,e,f,g,h,i){var j=0,k=x(0),l=x(0),m=x(0),n=x(0),p=0,v=x(0),y=0,z=0,A=0,B=x(0),C=x(0),D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=0,M=x(0),N=0,O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=0,X=x(0),Y=0,Z=0,_=x(0),$=x(0),aa=x(0),ba=0,ca=0,da=0,ea=0,fa=x(0),ga=x(0),ha=x(0),ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=x(0),pa=0,qa=x(0),ra=x(0),sa=x(0),ta=x(0),ua=0,va=0,wa=x(0),xa=x(0),ya=x(0),za=x(0),Aa=x(0),Ba=0,Ca=0;W=ti-32|0;ti=W;q[W+16>>2]=0;a:{b:{if(!c){break b}c:{d:{e:{f:{y=c&65535;N=q[a>>2];if(y>>>0>2]-N>>2>>>0){y=q[N+(y<<2)>>2];if(s[y+80>>1]!=(c>>>16|0)){Ai(4,145356,145973,0);break b}ba=q[y>>2];c=q[y+4>>2]-ba|0;if(!c){break b}j=(c|0)/304|0;if(!q[ba+280>>2]){p=1;N=j>>>0>1?j:1;while(1){c=p;if((c|0)!=(N|0)){p=c+1|0;if(!q[(w(c,304)+ba|0)+280>>2]){continue}}break}if(c>>>0>=j>>>0){break b}}ea=(i|0)==1?36:40;N=t[h>>2]/(ea>>>0)|0;if(d>>>0>=j>>>0){break a}c=q[q[y+64>>2]+16>>2];if(t[c+4>>2]<=d>>>0){break f}if(!f|!g){break c}c=q[c>>2];q[W+24>>2]=0;A=w(d,304)+ba|0;q[A+260>>2]=0;q[A+256>>2]=N;j=c+w(d,144)|0;ia=q[A+8>>2];c=q[j+108>>2]==1&(ia|0)!=0;ca=q[A+20>>2];L=q[A+32>>2];da=q[A+36>>2]-L|0;ja=(ca|0)!=0&da>>>0>1;g:{if(q[j+12>>2]!=1){X=x(1);O=x(1);P=x(0);break g}O=u[y+60>>2];S=u[y+56>>2];T=u[y+52>>2];X=u[y+44>>2];ra=u[y+40>>2];sa=u[y+36>>2];ta=u[y+32>>2];P=u[y+48>>2]}ka=c&ja;Y=q[A+60>>2];p=q[A+56>>2];z=Y-p|0;la=(g>>>0)/(ea>>>0)|0;g=q[A+24>>2];c=q[A+28>>2];h:{if(g>>>0>c>>>0){m=x(x(c>>>0)/x(g>>>0));k=x(1);break h}m=x(1);k=x(1);if(!c){break h}k=x(x(g>>>0)/x(c>>>0))}fa=x(1);ga=x(1);if(!ka){ga=c>>>0>>0?x(.5):c?x(k*x(.5)):x(.5);fa=x(m*x(.5))}g=(z|0)!=0;c=N;y=c+6|0;if(la>>>0>>0){break d}c=N;if(!z){break d}ma=(z|0)/160|0;l=u[j+132>>2];B=u[j+128>>2];n=u[j+136>>2];c=q[A+40>>2];g=q[A+4>>2];j=q[A+48>>2];z=q[A+44>>2];na=q[A+16>>2];ua=q[A+12>>2];if((p|0)!=(Y|0)){Y=(da<<1)-2|0;Z=ca-5>>>0<2?Y?Y:1:da;oa=x(x(c>>>0)/x(Z>>>0));pa=g?L:0;va=g?g:146464;wa=x(b*x(.5));qa=x(F(x(x(x(B*B)+x(l*l))+x(n*n))));c=qa>x(0);xa=c?x(l*m):x(0);ya=c?x(B*k):x(0);za=c?n:x(0);c=0;z=(z|0)!=0;z=w(j?z|2:z,24)+146368|0;Z=g?Z:1;Aa=x(Z>>>0);Ba=ca>>>0>6;Ca=ca-2|0;j=N;while(1){i:{if(ja){L=w(c,160)+p|0;k=x(x(u[L+68>>2]-u[L+64>>2])-wa);b=oa;j:{if(Ba){break j}b=oa;if(!(1<>2]}b=x(x(k*b)*Aa);k:{if(b=x(0)){g=~~b>>>0;break k}g=0}g=(g>>>0)%(Z>>>0)|0;g=g>>>0>>0?g:Y-g|0;l:{switch(Ca|0){case 0:case 2:g=Z+(g^-1)|0;break;default:break l}}k=u[L+128>>2];E=u[L+136>>2];H=u[L+132>>2];if(ka){L=(g+pa<<3)+ia|0;fa=x(u[L+4>>2]*x(.5));ga=x(u[L>>2]*x(.5));break i}b=u[L+80>>2];E=x(E*b);H=x(H*b);k=x(k*b);break i}g=w(c,160)+p|0;b=u[g+80>>2];k=x(u[g+128>>2]*b);E=x(u[g+136>>2]*b);H=x(u[g+132>>2]*b);g=0}g=g+pa|0;B=na?x(t[(q[(g<<2)+na>>2]<<2)+ua>>2]):x(0);L=g<<5;g=w(c,160)+p|0;b=x(X*u[g>>2]);l=x(X*u[g+4>>2]);m=x(X*u[g+8>>2]);n=x(x(x(S*b)+x(O*l))-x(P*m));M=x(x(S*m)+x(x(P*b)+x(T*l)));v=x(x(x(P*l)+x(O*m))-x(T*b));b=x(x(x(O*b)+x(T*m))-x(S*l));I=x(ra+x(x(P*n)+x(x(x(S*M)+x(O*v))-x(T*b))));Q=x(sa+x(x(S*b)+x(x(x(O*n)+x(T*M))-x(P*v))));M=x(ta+x(x(T*v)+x(x(x(P*M)+x(O*b))-x(S*n))));n=u[g+44>>2];v=u[g+32>>2];C=u[g+36>>2];D=u[g+40>>2];l=x(x(x(x(O*n)-x(P*v))-x(T*C))-x(S*D));b=x(x(x(P*C)+x(x(O*D)+x(S*n)))-x(T*v));m=x(x(x(S*v)+x(x(O*C)+x(T*n)))-x(P*D));n=x(x(x(T*D)+x(x(O*v)+x(P*n)))-x(S*C));C=x(X*E);E=x(X*H);H=x(X*k);m:{if(qa>x(0)^1){k=l;break m}R=I;k=x(ya*H);I=x(xa*E);v=x(za*C);D=x(x(x(k*b)+x(I*l))-x(v*n));K=x(x(v*b)+x(x(k*n)+x(I*m)));U=x(x(x(I*n)+x(v*l))-x(k*m));k=x(x(x(k*l)+x(v*m))-x(I*b));I=x(R+x(x(n*D)+x(x(x(b*K)+x(l*U))-x(m*k))));Q=x(Q+x(x(b*k)+x(x(x(l*D)+x(m*K))-x(n*U))));M=x(M+x(x(m*U)+x(x(x(n*K)+x(l*k))-x(b*D))));v=x(n*x(0));D=x(m*x(0));K=x(b*x(0));k=x(x(x(l-v)-D)-K);l=x(l*x(0));b=x(x(v+x(b+l))-D);m=x(x(K+x(m+l))-v);n=x(x(D+x(n+l))-K)}p=L+va|0;l=x(H*ga);v=x(E*x(0));C=x(C*x(0));D=x(C*n);K=x(x(x(l*b)+x(v*k))-D);R=x(C*b);U=x(R+x(x(l*n)+x(v*m)));V=x(C*k);_=x(x(x(v*n)+V)-x(l*m));C=x(C*m);$=x(x(C+x(l*k))-x(v*b));l=x(x(n*K)+x(x(x(b*U)+x(k*_))-x(m*$)));H=x(H*x(0));E=x(E*fa);aa=x(x(x(H*b)+x(E*k))-D);R=x(R+x(x(H*n)+x(E*m)));V=x(x(x(E*n)+V)-x(H*m));ha=x(x(C+x(H*k))-x(E*b));v=x(x(n*aa)+x(x(x(b*R)+x(k*V))-x(m*ha)));E=x(I+x(l+v));C=x(x(b*$)+x(x(x(m*U)+x(k*K))-x(n*_)));D=x(x(b*ha)+x(x(x(m*R)+x(k*aa))-x(n*V)));H=x(Q+x(C+D));K=x(x(m*_)+x(x(x(n*U)+x(k*$))-x(b*K)));b=x(x(m*V)+x(x(x(n*R)+x(k*ha))-x(b*aa)));n=x(M+x(K+b));U=x(I+x(l-v));_=x(Q+x(C-D));$=x(M+x(K-b));aa=x(I+x(v-l));R=x(Q+x(D-C));V=x(M+x(b-K));I=x(I+x(x(-l)-v));Q=x(Q+x(x(-C)-D));M=x(M+x(x(-K)-b));b=x(u[g+112>>2]*u[e>>2]);k=x(u[g+124>>2]*u[e+12>>2]);l=x(u[g+120>>2]*u[e+8>>2]);m=x(u[g+116>>2]*u[e+4>>2]);n:{if(!i){g=w(j,40)+f|0;u[g+24>>2]=k;u[g+20>>2]=l;u[g+16>>2]=m;u[g+12>>2]=b;u[g+8>>2]=I;u[g+4>>2]=Q;u[g>>2]=M;j=q[z>>2]<<3;u[g+28>>2]=u[j+p>>2];v=u[p+(j|4)>>2];u[g- -64>>2]=k;u[g+60>>2]=l;u[g+56>>2]=m;u[g+52>>2]=b;u[g+48>>2]=aa;u[g+44>>2]=R;u[g+40>>2]=V;u[g+36>>2]=B;u[g+32>>2]=v;j=q[z+4>>2]<<3;u[g+68>>2]=u[j+p>>2];v=u[p+(j|4)>>2];u[g+104>>2]=k;u[g+100>>2]=l;u[g+96>>2]=m;u[g+92>>2]=b;u[g+88>>2]=E;u[g+84>>2]=H;u[g+80>>2]=n;u[g+76>>2]=B;u[g+72>>2]=v;j=q[z+8>>2]<<3;u[g+108>>2]=u[j+p>>2];v=u[p+(j|4)>>2];u[g+144>>2]=k;u[g+140>>2]=l;u[g+136>>2]=m;u[g+132>>2]=b;u[g+128>>2]=E;u[g+124>>2]=H;u[g+120>>2]=n;u[g+116>>2]=B;u[g+112>>2]=v;j=q[z+12>>2]<<3;u[g+148>>2]=u[j+p>>2];n=u[p+(j|4)>>2];u[g+184>>2]=k;u[g+180>>2]=l;u[g+176>>2]=m;u[g+172>>2]=b;u[g+168>>2]=U;u[g+164>>2]=_;u[g+160>>2]=$;u[g+156>>2]=B;u[g+152>>2]=n;j=q[z+16>>2]<<3;u[g+188>>2]=u[j+p>>2];n=u[p+(j|4)>>2];u[g+224>>2]=k;u[g+220>>2]=l;u[g+216>>2]=m;u[g+212>>2]=b;u[g+208>>2]=I;u[g+204>>2]=Q;u[g+200>>2]=M;u[g+196>>2]=B;u[g+192>>2]=n;j=q[z+20>>2]<<3;u[g+228>>2]=u[j+p>>2];b=u[p+(j|4)>>2];u[g+236>>2]=B;u[g+232>>2]=b;break n}if((i|0)!=1){break n}g=w(j,36)+f|0;u[g+20>>2]=b;u[g+8>>2]=I;u[g+4>>2]=Q;u[g>>2]=M;u[g+32>>2]=k;u[g+28>>2]=l;u[g+24>>2]=m;j=q[z>>2]<<3;u[g+12>>2]=u[j+p>>2];B=u[p+(j|4)>>2];u[g+68>>2]=k;u[g- -64>>2]=l;u[g+60>>2]=m;u[g+56>>2]=b;u[g+44>>2]=aa;u[g+40>>2]=R;u[g+36>>2]=V;u[g+16>>2]=B;j=q[z+4>>2]<<3;u[g+48>>2]=u[j+p>>2];B=u[p+(j|4)>>2];u[g+104>>2]=k;u[g+100>>2]=l;u[g+96>>2]=m;u[g+92>>2]=b;u[g+80>>2]=E;u[g+76>>2]=H;u[g+72>>2]=n;u[g+52>>2]=B;j=q[z+8>>2]<<3;u[g+84>>2]=u[j+p>>2];B=u[p+(j|4)>>2];u[g+140>>2]=k;u[g+136>>2]=l;u[g+132>>2]=m;u[g+128>>2]=b;u[g+116>>2]=E;u[g+112>>2]=H;u[g+108>>2]=n;u[g+88>>2]=B;j=q[z+12>>2]<<3;u[g+120>>2]=u[j+p>>2];B=u[p+(j|4)>>2];u[g+176>>2]=k;u[g+172>>2]=l;u[g+168>>2]=m;u[g+164>>2]=b;u[g+152>>2]=U;u[g+148>>2]=_;u[g+144>>2]=$;u[g+124>>2]=B;j=q[z+16>>2]<<3;u[g+156>>2]=u[j+p>>2];B=u[p+(j|4)>>2];u[g+212>>2]=k;u[g+208>>2]=l;u[g+204>>2]=m;u[g+200>>2]=b;u[g+188>>2]=I;u[g+184>>2]=Q;u[g+180>>2]=M;u[g+160>>2]=B;j=q[z+20>>2]<<3;u[g+192>>2]=u[j+p>>2];u[g+196>>2]=u[p+(j|4)>>2]}c=c+1|0;g=ma>>>0>c>>>0;p=y+6|0;if(p>>>0>la>>>0|c>>>0>=ma>>>0){break e}j=y;y=p;p=q[A+56>>2];if((q[A+60>>2]-p|0)/160>>>0>c>>>0){continue}break}}break a}break a}J(145920,145932,261,145962);G()}c=y}o:{if(!g){break o}d=w(d,304)+ba|0;if(o[d+296|0]&1){break o}q[W>>2]=q[a+28>>2];q[W+4>>2]=(i|0)==1?146496:q[67556];Ai(3,145356,146519,W);o[d+296|0]=r[d+296|0]|1}c=c-q[A+256>>2]|0;q[A+260>>2]=c;N=c+N|0}q[h>>2]=w(N,ea);q[a+36>>2]=(N>>>0)/6}ti=W+32|0;return}J(146626,145751,479,145962);G()}function lP(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,p=0;i=ti-2512|0;ti=i;q[a+28>>2]=1;q[a+16>>2]=b;q[a+20>>2]=b;q[a+24>>2]=b+c;a:{b:{c:{if(!d){break c}c=q[a>>2];f=q[a+4>>2];d:{if(c>>>0>=f>>>0){d=c;c=0;break d}d=c+1|0;q[a>>2]=d;c=r[c|0]}e:{if(d>>>0>=f>>>0){e=d;break e}e=d+1|0;q[a>>2]=e;g=r[d|0]}if(e>>>0>=f>>>0){q[215613]=164693;break b}if(((c<<8|g)>>>0)%31|0){q[215613]=164693;break b}if(g&32){q[215613]=164693;break b}if((c&15)==8){break c}q[215613]=164693;break b}q[a+8>>2]=0;q[a+12>>2]=0;m=a+2052|0;n=a+32|0;d=0;while(1){l=q[a+12>>2];c=d;f:{if((d|0)>0){break f}while(1){if(l>>>d|0){q[a>>2]=q[a+4>>2];c=d;break f}c=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}l=e<>2]=l;c=d+8|0;q[a+8>>2]=c;e=(d|0)<17;d=c;if(e){continue}break}}e=l>>>1|0;q[a+12>>2]=e;d=c-1|0;q[a+8>>2]=d;g=d;g:{if((c|0)>2){break g}while(1){if(e>>>d|0){q[a>>2]=q[a+4>>2];g=d;break g}c=a;f=q[a>>2];if(f>>>0>2]){q[a>>2]=f+1;f=r[f|0]}else{f=0}e=f<>2]=e;g=d+8|0;q[a+8>>2]=g;c=(d|0)<17;d=g;if(c){continue}break}}f=e>>>2|0;q[a+12>>2]=f;c=g-2|0;q[a+8>>2]=c;j=0;h:{i:{j:{switch(e&3){case 0:e=c&7;if(e){d=c;k:{if((e|0)<=(d|0)){break k}while(1){if(f>>>c|0){q[a>>2]=q[a+4>>2];d=c;break k}d=a;g=q[a>>2];if(g>>>0>2]){q[a>>2]=g+1;g=r[g|0]}else{g=0}f=g<>2]=f;d=c+8|0;q[a+8>>2]=d;g=(c|0)<17;c=d;if(g){continue}break}}f=f>>>e|0;q[a+12>>2]=f;c=d-e|0;q[a+8>>2]=c}d=0;l:{m:{n:{o:{p:{q:{if((c|0)>=1){while(1){g=d;o[(i+488|0)+d|0]=f;e=c;c=c-8|0;f=f>>>8|0;d=d+1|0;if((e|0)>8){continue}break}q[a+12>>2]=f;q[a+8>>2]=c;if((e|0)==8){break q}d=164693;break n}if((c|0)>=0){break p}d=164693;break n}if(g>>>0>2){break o}}g=q[a+4>>2];c=q[a>>2];while(1){f=0;if(c>>>0>>0){e=c+1|0;q[a>>2]=e;f=r[c|0];c=e}o[(i+488|0)+d|0]=f;d=d+1|0;if((d|0)!=4){continue}break}}e=r[i+488|0]|r[i+489|0]<<8;d=164693;if((r[i+490|0]|r[i+491|0]<<8)!=(e^65535)){break n}c=q[a>>2];d=164693;if(t[a+4>>2]>>0){break n}g=q[a+24>>2];if(g>>>0>=b+e>>>0){break l}d=164693;if(!q[a+28>>2]){break n}c=q[a+20>>2];f=b-c|0;d=164360;if(e>>>0>(f^-1)>>>0){break n}b=g-c|0;g=e+f|0;if(b>>>0>>0){while(1){d=164360;if((b|0)<0){break n}b=b<<1;if(g>>>0>b>>>0){continue}break}}c=nl(c,b);if(c){break m}d=164360}q[215613]=d;break b}q[a+20>>2]=c;q[a+24>>2]=b+c;b=c+f|0;q[a+16>>2]=b;c=q[a>>2]}Gi(b,c,e);q[a>>2]=e+q[a>>2];b=e+q[a+16>>2]|0;break h;case 1:if(!Br(n,165200,288)){break b}if(!Br(m,165488,32)){break b}break i;case 3:break a;default:break j}}e=c;r:{if((g|0)>6){break r}while(1){if(f>>>c|0){q[a>>2]=q[a+4>>2];e=c;break r}b=a;d=q[a>>2];if(d>>>0>2]){q[a>>2]=d+1;d=r[d|0]}else{d=0}f=d<>2]=f;e=c+8|0;q[a+8>>2]=e;b=(c|0)<17;c=e;if(b){continue}break}}d=f>>>5|0;q[a+12>>2]=d;b=e-5|0;q[a+8>>2]=b;g=b;s:{if((e|0)>9){break s}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];g=b;break s}c=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}d=e<>2]=d;g=b+8|0;q[a+8>>2]=g;c=(b|0)<17;b=g;if(c){continue}break}}f=f&31;c=d>>>5|0;q[a+12>>2]=c;b=g-5|0;q[a+8>>2]=b;j=d&31;d=b;t:{if((g|0)>8){break t}while(1){if(c>>>b|0){q[a>>2]=q[a+4>>2];d=b;break t}d=a;e=q[a>>2];if(e>>>0>2]){q[a>>2]=e+1;e=r[e|0]}else{e=0}c=e<>2]=c;d=b+8|0;q[a+8>>2]=d;e=(b|0)<17;b=d;if(e){continue}break}}k=f+257|0;p=j+1|0;f=c>>>4|0;q[a+12>>2]=f;b=d-4|0;q[a+8>>2]=b;d=0;o[i+15|0]=0;o[i+16|0]=0;o[i+17|0]=0;o[i+18|0]=0;q[i+8>>2]=0;q[i+12>>2]=0;q[i>>2]=0;q[i+4>>2]=0;g=(c&15)+3|0;while(1){e=d;d=f;c=b;u:{if((b|0)>2){break u}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];c=b;break u}c=a;f=q[a>>2];if(f>>>0>2]){q[a>>2]=f+1;f=r[f|0]}else{f=0}d=f<>2]=d;c=b+8|0;q[a+8>>2]=c;f=(b|0)<17;b=c;if(f){continue}break}}f=d>>>3|0;q[a+12>>2]=f;b=c-3|0;q[a+8>>2]=b;o[r[e+165520|0]+i|0]=d&7;d=e+1|0;if((e|0)!=(g|0)){continue}break}j=0;b=0;v:{if(!Br(i+488|0,i,19)){break v}e=k+p|0;c=0;while(1){b=Nw(a,i+488|0);if(b>>>0>=19){q[215613]=164693;b=0;break v}g=e;w:{if((b|0)<=15){o[(i+32|0)+c|0]=b;c=c+1|0;break w}x:{y:{z:{switch(b-16|0){case 0:d=q[a+12>>2];b=q[a+8>>2];f=b;A:{if((b|0)>1){break A}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break A}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>2;q[a+8>>2]=f-2;if(!c){q[215613]=164693;b=0;break v}b=(d&3)+3|0;d=r[(c+i|0)+31|0];break x;case 1:d=q[a+12>>2];b=q[a+8>>2];f=b;B:{if((b|0)>2){break B}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break B}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>3;q[a+8>>2]=f-3;b=(d&7)+3|0;break y;default:break z}}d=q[a+12>>2];b=q[a+8>>2];f=b;C:{if((b|0)>6){break C}while(1){if(d>>>b|0){q[a>>2]=q[a+4>>2];f=b;break C}f=a;h=q[a>>2];if(h>>>0>2]){q[a>>2]=h+1;h=r[h|0]}else{h=0}d=h<>2]=d;f=b+8|0;q[a+8>>2]=f;h=(b|0)<17;b=f;if(h){continue}break}}q[a+12>>2]=d>>>7;q[a+8>>2]=f-7;b=(d&127)+11|0}d=0}if((e-c|0)<(b|0)){q[215613]=164693;b=0;break v}Fi((i+32|0)+c|0,d,b);c=b+c|0}if((g|0)>(c|0)){continue}break}if((c|0)!=(e|0)){q[215613]=164693;b=0;break v}b=0;if(!Br(n,i+32|0,k)){break v}b=(Br(m,k+(i+32|0)|0,p)|0)!=0}if(!b){break a}}b=q[a+16>>2];D:{while(1){E:{d=Nw(a,n);if((d|0)<=255){if((d|0)<=-1){q[215613]=164693;break b}f=q[a+24>>2];if(f>>>0<=b>>>0){q[a+16>>2]=b;if(!q[a+28>>2]){q[215613]=164693;break b}e=q[a+20>>2];c=b-e|0;if((c|0)==-1){break E}b=f-e|0;if(c>>>0>=b>>>0){while(1){if((b|0)<=-1){q[215613]=164360;break b}b=b<<1;if(c>>>0>=b>>>0){continue}break}}e=nl(e,b);if(!e){q[215613]=164360;break b}q[a+20>>2]=e;q[a+24>>2]=b+e;b=c+e|0;q[a+16>>2]=b}o[b|0]=d;b=b+1|0;continue}if((d|0)==256){break h}g=d-257<<2;c=q[g+165552>>2];if(d-265>>>0<=19){f=q[a+12>>2];d=q[a+8>>2];e=d;g=q[g+165680>>2];F:{if((g|0)<=(d|0)){break F}while(1){if(f>>>d|0){q[a>>2]=q[a+4>>2];e=d;break F}e=a;j=q[a>>2];if(j>>>0>2]){q[a>>2]=j+1;j=r[j|0]}else{j=0}f=j<>2]=f;e=d+8|0;q[a+8>>2]=e;j=(d|0)<17;d=e;if(j){continue}break}}q[a+12>>2]=f>>>g;q[a+8>>2]=e-g;c=((-1<>2];if(d-4>>>0<=25){f=q[a+12>>2];d=q[a+8>>2];e=d;g=q[g+165936>>2];G:{if((g|0)<=(d|0)){break G}while(1){if(f>>>d|0){q[a>>2]=q[a+4>>2];e=d;break G}e=a;k=q[a>>2];if(k>>>0>2]){q[a>>2]=k+1;h=r[k|0]}else{h=0}f=h<>2]=f;e=d+8|0;q[a+8>>2]=e;k=(d|0)<17;d=e;if(k){continue}break}}q[a+12>>2]=f>>>g;q[a+8>>2]=e-g;j=((-1<>2];d=b-e|0;if((d|0)<(j|0)){q[215613]=164693;break b}f=q[a+24>>2];if(f>>>0>>0){q[a+16>>2]=b;if(!q[a+28>>2]){q[215613]=164693;break b}if((d^-1)>>>0>>0){break D}b=f-e|0;f=c+d|0;if(b>>>0>>0){while(1){if((b|0)<=-1){q[215613]=164360;break b}b=b<<1;if(f>>>0>b>>>0){continue}break}}e=nl(e,b);if(!e){q[215613]=164360;break b}q[a+20>>2]=e;q[a+24>>2]=b+e;b=d+e|0;q[a+16>>2]=b}d=b-j|0;if((j|0)==1){if(!c){continue}b=Fi(b,r[d|0],c)+c|0;continue}if(!c){continue}while(1){o[b|0]=r[d|0];b=b+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}continue}break}q[215613]=164360;break b}q[215613]=164360;break b}q[a+16>>2]=b;if(!(l&1)){d=q[a+8>>2];continue}break}j=1;break a}j=0}ti=i+2512|0;return j}function JI(a){var b=0,c=0;a=a?q[a+120>>2]:0;c=q[a+8>>2]-q[a+12>>2]>>4;Tl(a,196663,196676,294080);q[216371]=Tl(a,196684,196704,294112);q[216372]=Tl(a,196365,196712,294192);ik(a,196720,294240);Ni(a,196724,8);Di(a,-2,196733);Ni(a,196747,8);Di(a,-2,196756);Ni(a,196770,5);Di(a,-2,196776);Ni(a,196787,5);Di(a,-2,196793);Ni(a,196804,7);Di(a,-2,196812);Ni(a,196825,6);Di(a,-2,196832);Ni(a,196844,4);Di(a,-2,196849);Ni(a,196859,10);Di(a,-2,196870);Ni(a,196886,12);Di(a,-2,196899);Ni(a,196917,6);Di(a,-2,196924);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196936);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196948);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196958);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196969);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196982);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,196996);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197010);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197025);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197042);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197059);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197074);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197090);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197108);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=9;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197126);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=10;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197141);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=11;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197157);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=12;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197175);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=13;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197193);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=14;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197208);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=15;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197224);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=16;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197242);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=17;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197260);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=18;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197274);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=19;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197289);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=20;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197306);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=21;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197323);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=22;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197337);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=23;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197352);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=24;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197369);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=25;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197386);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=26;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197400);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=27;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197415);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=28;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197432);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=29;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197449);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=30;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197466);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=31;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197484);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=32;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197504);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=33;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197524);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=34;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197538);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=35;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197553);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=36;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197570);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=37;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197587);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=38;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197603);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=39;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197620);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=40;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197639);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197658);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197670);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197680);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197696);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197707);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197726);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197748);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197770);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197795);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197815);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197838);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197850);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197862);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197875);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197886);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197900);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197913);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197921);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197930);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197938);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197947);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197955);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197964);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197972);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197981);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,197992);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198004);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198019);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198041);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198064);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198087);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198109);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198132);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198155);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198175);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198193);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198223);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-9;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198247);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198265);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,198282);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(198297,196298,4768,198318);G()}return a}function Vha(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=x(0),m=x(0),n=0,p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=0,B=0,C=x(0),D=x(0),E=0,F=0,H=x(0),I=x(0),K=0,L=0,M=0,N=0;j=ti-192|0;ti=j;g=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{switch(q[a+8>>2]){case 1:i=q[a+20>>2];E=q[a>>2];k=q[a+12>>2];h=q[a+16>>2];q[j+40>>2]=0;h:{b=q[q[(k+w(q[h>>2],48)|0)+16>>2]+96>>2];a=q[b+216>>2];if(!a){b=q[b+128>>2];a=q[b+28>>2];if((a|0)==q[b+32>>2]){break h}a=q[a>>2]}i:{j:{k:{switch(q[a+104>>2]){case 0:q[j+184>>2]=0;if((h|0)==(i|0)){break c}d=k+w(q[h>>2],48)|0;a=q[q[d+16>>2]+100>>2];b=q[a+12>>2];c=q[a+8>>2];a=h+4|0;if((i|0)!=(a|0)){while(1){e=q[q[(k+w(q[a>>2],48)|0)+16>>2]+100>>2];b=q[e+12>>2]+b|0;c=q[e+8>>2]+c|0;a=a+4|0;if((i|0)!=(a|0)){continue}break}}if(!c|!b){break c}F=q[d+36>>2]&15;e=q[g+76>>2]+(F<<4)|0;f=e+4|0;n=e+8|0;b=b>>>0>>0?c:b;c=q[e+8>>2];a=q[e+4>>2];d=(c-a|0)/68|0;if(b>>>0>d>>>0){if(o[e+12|0]&1){break i}Ii((b-d|0)+((c-q[e>>2]|0)/68|0)|0,68,e,n,f);a=q[f>>2]}K=q[g+72>>2];b=a;c=h;while(1){A=q[(k+w(q[c>>2],48)|0)+16>>2];B=q[A+96>>2];if(q[B+132>>2]){L=q[g+96>>2];d=q[A+104>>2];v=u[d+40>>2];p=u[d+36>>2];r=u[d+24>>2];l=u[d>>2];y=u[d+4>>2];s=u[d+12>>2];C=u[d+8>>2];M=q[d+16>>2];N=q[d+20>>2];z=u[d+32>>2];u[j+124>>2]=z*x(0);d=j;q[d+160>>2]=M;q[d+164>>2]=N;q[d+172>>2]=1065353216;u[d+168>>2]=r;u[d+140>>2]=p*x(0);u[d+156>>2]=v*x(0);D=x(y+y);t=x(l*D);r=x(C+C);m=x(s*r);u[d+116>>2]=z*x(t+m);H=x(l*r);I=x(D*s);u[d+120>>2]=z*x(H-I);u[d+128>>2]=p*x(t-m);t=x(y*r);m=s;s=x(l+l);m=x(m*s);u[d+136>>2]=p*x(t+m);u[d+144>>2]=v*x(H+I);u[d+148>>2]=v*x(t-m);m=p;l=x(x(1)-x(l*s));p=x(C*r);u[d+132>>2]=m*x(l-p);m=l;l=x(y*D);u[d+152>>2]=v*x(m-l);u[d+112>>2]=z*x(x(x(1)-l)-p);Kk(d+48|0,B- -64|0,d+112|0);b=W3(L,q[B+132>>2],q[A+108>>2],d+48|0,b)}c=c+4|0;if((i|0)!=(c|0)){continue}break}c=q[e>>2];if((q[n>>2]-c|0)/68>>>0<(b-c|0)/68>>>0){break b}q[f>>2]=b;d=q[g+52>>2];i=q[g+56>>2]-d|0;c=((i|0)/304|0)+1|0;if(c>>>0>(q[g+60>>2]-d|0)/304>>>0){break b}q[g+56>>2]=d+w(c,304);c=i+304|0;if(!c){break j}i=q[(k+w(q[h>>2],48)|0)+16>>2];h=q[i+96>>2];k=q[i+112>>2];i=((c|0)/304|0)-1|0;c=d+w(i,304)|0;Qm(c);q[c+148>>2]=q[g+68>>2];g=q[(F<<2)+K>>2];q[c+224>>2]=1;q[c+144>>2]=g;g=q[e>>2];q[c+284>>2]=(b-a|0)/68;q[c+280>>2]=(a-g|0)/68;g=q[h+128>>2];b=q[h+216>>2];if(!b){b=k&15;a=q[g+28>>2];if(b>>>0>=q[g+32>>2]-a>>2>>>0){break a}b=q[a+(b<<2)>>2]}q[c+16>>2]=1065353216;q[c+156>>2]=b;e=0;k=0;a=c;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+36>>2]=1065353216;q[a+48>>2]=0;q[a+52>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+56>>2]=1065353216;q[a+68>>2]=0;q[a+72>>2]=0;q[a+76>>2]=1065353216;b=q[h+184>>2];l:{if(!b){b=q[g+44>>2];if(!b){break l}}e=q[b>>2];k=q[b+4>>2]}a=d+w(i,304)|0;q[a+160>>2]=e;q[a+164>>2]=k;a=d+w(i,304)|0;m:{n:{b=q[h+188>>2];if(b){break n}b=q[g+48>>2];if(b){break n}e=0;b=0;break m}e=q[b>>2];b=q[b+4>>2]}q[a+168>>2]=e;q[a+172>>2]=b;a=d+w(i,304)|0;o:{p:{b=q[h+192>>2];if(b){break p}b=q[g+52>>2];if(b){break p}e=0;b=0;break o}e=q[b>>2];b=q[b+4>>2]}q[a+176>>2]=e;q[a+180>>2]=b;a=d+w(i,304)|0;q:{r:{b=q[h+196>>2];if(b){break r}b=q[g+56>>2];if(b){break r}e=0;b=0;break q}e=q[b>>2];b=q[b+4>>2]}q[a+184>>2]=e;q[a+188>>2]=b;a=d+w(i,304)|0;s:{t:{b=q[h+200>>2];if(b){break t}b=q[g+60>>2];if(b){break t}e=0;b=0;break s}e=q[b>>2];b=q[b+4>>2]}q[a+192>>2]=e;q[a+196>>2]=b;a=d+w(i,304)|0;u:{v:{b=q[h+204>>2];if(b){break v}b=q[g- -64>>2];if(b){break v}e=0;b=0;break u}e=q[b>>2];b=q[b+4>>2]}q[a+200>>2]=e;q[a+204>>2]=b;a=d+w(i,304)|0;w:{x:{b=q[h+208>>2];if(b){break x}b=q[g+68>>2];if(b){break x}e=0;b=0;break w}e=q[b>>2];b=q[b+4>>2]}q[a+208>>2]=e;q[a+212>>2]=b;a=d+w(i,304)|0;y:{z:{b=q[h+212>>2];if(b){break z}b=q[g+72>>2];if(b){break z}d=0;b=0;break y}d=q[b>>2];b=q[b+4>>2]}q[a+216>>2]=d;q[a+220>>2]=b;a=q[h+180>>2];if(a){break e}break d;case 1:break k;default:break f}}q[j+112>>2]=0;if((h|0)!=(i|0)){while(1){a=q[g+56>>2];f=q[g+52>>2];e=((a-f|0)/304|0)+1|0;A:{B:{C:{if(e>>>0<=(q[g+60>>2]-f|0)/304>>>0){b=q[(k+w(q[h>>2],48)|0)+16>>2];n=q[b+112>>2];d=q[b+96>>2];c=q[b+100>>2];q[g+56>>2]=f+w(e,304);if(!e){break C}Qm(a);q[a+148>>2]=q[g+68>>2];q[a+144>>2]=q[c>>2];e=q[d+128>>2];f=q[d+216>>2];if(!f){n=n&15;f=q[e+28>>2];if(n>>>0>=q[e+32>>2]-f>>2>>>0){break a}f=q[f+(n<<2)>>2]}q[a+280>>2]=0;q[a+224>>2]=1;q[a+156>>2]=f;q[a+284>>2]=q[c+12>>2];u[a+16>>2]=u[b>>2];u[a+20>>2]=u[b+4>>2];u[a+24>>2]=u[b+8>>2];u[a+28>>2]=u[b+12>>2];u[a+32>>2]=u[b+16>>2];u[a+36>>2]=u[b+20>>2];u[a+40>>2]=u[b+24>>2];u[a+44>>2]=u[b+28>>2];u[a+48>>2]=u[b+32>>2];u[a+52>>2]=u[b+36>>2];u[a+56>>2]=u[b+40>>2];u[a+60>>2]=u[b+44>>2];u[a- -64>>2]=u[b+48>>2];u[a+68>>2]=u[b+52>>2];u[a+72>>2]=u[b+56>>2];u[a+76>>2]=u[b+60>>2];q[a+152>>2]=q[c+4>>2];q[a+228>>2]=q[c+20>>2];b=a;D:{E:{c=q[d+184>>2];if(c){break E}c=q[e+44>>2];if(c){break E}f=0;c=0;break D}f=q[c>>2];c=q[c+4>>2]}q[b+160>>2]=f;q[b+164>>2]=c;F:{G:{c=q[d+188>>2];if(c){break G}c=q[e+48>>2];if(c){break G}f=0;c=0;break F}f=q[c>>2];c=q[c+4>>2]}q[b+168>>2]=f;q[b+172>>2]=c;H:{I:{c=q[d+192>>2];if(c){break I}c=q[e+52>>2];if(c){break I}f=0;c=0;break H}f=q[c>>2];c=q[c+4>>2]}q[b+176>>2]=f;q[b+180>>2]=c;J:{K:{c=q[d+196>>2];if(c){break K}c=q[e+56>>2];if(c){break K}f=0;c=0;break J}f=q[c>>2];c=q[c+4>>2]}q[b+184>>2]=f;q[b+188>>2]=c;L:{M:{c=q[d+200>>2];if(c){break M}c=q[e+60>>2];if(c){break M}f=0;c=0;break L}f=q[c>>2];c=q[c+4>>2]}q[b+192>>2]=f;q[b+196>>2]=c;N:{O:{c=q[d+204>>2];if(c){break O}c=q[e- -64>>2];if(c){break O}f=0;c=0;break N}f=q[c>>2];c=q[c+4>>2]}q[b+200>>2]=f;q[b+204>>2]=c;P:{Q:{c=q[d+208>>2];if(c){break Q}c=q[e+68>>2];if(c){break Q}f=0;c=0;break P}f=q[c>>2];c=q[c+4>>2]}q[b+208>>2]=f;q[b+212>>2]=c;R:{S:{c=q[d+212>>2];if(c){break S}c=q[e+72>>2];if(c){break S}e=0;c=0;break R}e=q[c>>2];c=q[c+4>>2]}q[b+216>>2]=e;q[b+220>>2]=c;b=q[d+180>>2];if(b){break B}break A}break b}J(47053,46296,435,47064);G()}er(a,b)}Yn(E,a);h=h+4|0;if((i|0)!=(h|0)){continue}break}}break c}J(46656,46296,479,46535);G()}J(46360,46296,493,46435);G()}break a;case 0:q[g+56>>2]=q[g+52>>2];a=q[g+76>>2];q[a+132>>2]=q[a+128>>2];q[a+116>>2]=q[a+112>>2];q[a+100>>2]=q[a+96>>2];q[a+84>>2]=q[a+80>>2];q[a+68>>2]=q[a+64>>2];q[a+52>>2]=q[a+48>>2];q[a+36>>2]=q[a+32>>2];q[a+20>>2]=q[a+16>>2];q[a+4>>2]=q[a>>2];q[a+148>>2]=q[a+144>>2];q[a+164>>2]=q[a+160>>2];q[a+180>>2]=q[a+176>>2];q[a+196>>2]=q[a+192>>2];q[a+212>>2]=q[a+208>>2];q[a+228>>2]=q[a+224>>2];q[a+244>>2]=q[a+240>>2];break c;default:J(46965,46185,848,46971);G();case 2:break g}}a=0;while(1){c=q[g+76>>2]+(a<<4)|0;h=q[c+4>>2];d=q[c>>2];if((h|0)!=(d|0)){xi[q[77441]](q[q[g+72>>2]+(a<<2)>>2],h-d|0,d,1);b=((q[c+4>>2]-q[c>>2]|0)/68|0)+b|0}a=a+1|0;if((a|0)!=16){continue}break}q[75790]=q[75790]+b;a=b;q[j+32>>2]=a;q[j+36>>2]=0;q[j+16>>2]=a;q[j+20>>2]=0;a=w(a,68);q[75812]=a+q[75812];q[j+24>>2]=a;q[j+28>>2]=0;q[j+8>>2]=a;q[j+12>>2]=0;break c}J(46965,46185,693,47007);G()}er(c,a)}Yn(E,c)}ti=j+192|0;return}J(46277,46296,506,46352);G()}J(46656,46296,486,46535);G()}function MD(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;d=ti-128|0;ti=d;q[d+80>>2]=0;q[d+84>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;q[d+108>>2]=0;q[d+112>>2]=0;q[d+116>>2]=0;q[d+120>>2]=0;q[d+124>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;Fi(a+4|0,0,272);i=d- -64|0;a:{b:{if(!((c|0)==256|(c|0)==192)){e=-36;if((c|0)!=128){break a}q[a>>2]=3;v=1;e=16;break b}q[a>>2]=4;k=1;e=c>>>3|0}Gi(i,b,e);e=r[d+80|0];c:{if((c|0)!=192){i=r[d+83|0];l=r[d+82|0];j=r[d+81|0];break c}o[d+88|0]=e^-1;j=r[d+81|0];o[d+89|0]=j^-1;l=r[d+82|0];o[d+90|0]=l^-1;i=r[d+83|0];o[d+91|0]=i^-1;o[d+92|0]=r[d+84|0]^-1;o[d+93|0]=r[d+85|0]^-1;o[d+94|0]=r[d+86|0]^-1;o[d+95|0]=r[d+87|0]^-1}m=d+56|0;q[m>>2]=0;q[m+4>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;b=q[d+64>>2];q[d>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=q[d+68>>2];q[d+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=q[d+88>>2];f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+24>>2]=f;b=q[d+72>>2];g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+8>>2]=g;b=q[d+84>>2];h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+20>>2]=h;b=q[d+76>>2];s=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+12>>2]=s;b=q[d+92>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[d+28>>2]=b;e=i&255|((j&255)<<16|e<<24|(l&255)<<8);q[d+16>>2]=e;q[d+40>>2]=f^g;q[d+44>>2]=b^s;b=e^q[d>>2];q[d+32>>2]=b;e=h^q[d+4>>2];q[d+36>>2]=e;i=b;b=d+40|0;kn(i,e,-1600231809,1003262091,b);e=d+32|0;kn(q[d+40>>2],q[d+44>>2],-1233459112,1286239154,e);i=q[d+32>>2]^q[d>>2];q[d+32>>2]=i;l=q[d+36>>2]^q[d+4>>2];q[d+36>>2]=l;q[d+40>>2]=q[d+40>>2]^q[d+8>>2];q[d+44>>2]=q[d+44>>2]^q[d+12>>2];kn(i,l,-957401297,-380665154,b);kn(q[d+40>>2],q[d+44>>2],1426019237,-237801700,e);if(c>>>0>=129){b=q[d+32>>2]^q[d+16>>2];q[d+48>>2]=b;e=q[d+36>>2]^q[d+20>>2];q[d+52>>2]=e;q[d+56>>2]=q[d+40>>2]^q[d+24>>2];q[d+60>>2]=q[d+44>>2]^q[d+28>>2];kn(b,e,283453434,-563598051,m);kn(q[d+56>>2],q[d+60>>2],-1336506174,-1276722691,d+48|0)}e=q[d+12>>2];f=q[d>>2];m=e<<15|f>>>17;g=q[d+8>>2];l=g<<15|e>>>17;h=q[d+4>>2];j=h<<15|g>>>17;if(!k){x=h<<30|g>>>2;y=f<<30|h>>>2;t=e<<30|f>>>2;n=g<<30|e>>>2}b=a+4|0;p=w(k,80);i=p+158176|0;q[b+(o[i|0]<<2)>>2]=f;q[b+(o[i+1|0]<<2)>>2]=h;q[b+(o[i+2|0]<<2)>>2]=g;q[b+(o[i+3|0]<<2)>>2]=e;q[b+(o[i+4|0]<<2)>>2]=f<<15|h>>>17;q[b+(o[i+5|0]<<2)>>2]=j;q[b+(o[i+6|0]<<2)>>2]=l;q[b+(o[i+7|0]<<2)>>2]=m;u=f<<28|h>>>4;m=e<<13|f>>>19;s=g<<13|e>>>19;l=h<<13|g>>>19;i=f<<13|h>>>19;if(!k){j=p+158176|0;q[b+(o[j+8|0]<<2)>>2]=y;q[b+(o[j+9|0]<<2)>>2]=x;q[b+(o[j+10|0]<<2)>>2]=n;q[b+(o[j+11|0]<<2)>>2]=t}j=e<<28|f>>>4;t=g<<28|e>>>4;n=h<<28|g>>>4;e=p+158176|0;q[b+(o[e+12|0]<<2)>>2]=i;q[b+(o[e+13|0]<<2)>>2]=l;q[b+(o[e+14|0]<<2)>>2]=s;q[b+(o[e+15|0]<<2)>>2]=m;q[b+(o[e+16|0]<<2)>>2]=u;if(!v){e=a+4|0;b=w(k,80)+158176|0;q[e+(o[b+17|0]<<2)>>2]=n;q[e+(o[b+18|0]<<2)>>2]=t}q[((o[(w(k,80)+158176|0)+19|0]<<2)+a|0)+4>>2]=j;if(!(v|c>>>0<=128)){b=q[d+28>>2];e=q[d+24>>2];f=q[d+20>>2];g=q[d+16>>2];h=k|v;if(!h){m=b<<13|g>>>19;s=e<<13|b>>>19;l=f<<13|e>>>19;i=g<<13|f>>>19}if(!h){q[((o[(w(k,80)+158176|0)+20|0]<<2)+a|0)+4>>2]=g}if(!h){q[((o[w(k,80)+158197|0]<<2)+a|0)+4>>2]=f}if(!h){q[((o[w(k,80)+158198|0]<<2)+a|0)+4>>2]=e}if(!h){q[((o[w(k,80)+158199|0]<<2)+a|0)+4>>2]=b}n=a+4|0;t=w(k,80);j=t+158176|0;q[n+(o[j+24|0]<<2)>>2]=g<<15|f>>>17;q[n+(o[j+25|0]<<2)>>2]=f<<15|e>>>17;q[n+(o[j+26|0]<<2)>>2]=e<<15|b>>>17;q[n+(o[j+27|0]<<2)>>2]=b<<15|g>>>17;q[n+(o[j+28|0]<<2)>>2]=g<<30|f>>>2;q[n+(o[j+29|0]<<2)>>2]=f<<30|e>>>2;q[n+(o[j+30|0]<<2)>>2]=e<<30|b>>>2;q[n+(o[j+31|0]<<2)>>2]=b<<30|g>>>2;if(!h){q[((o[t+158208|0]<<2)+a|0)+4>>2]=i}if(!h){q[((o[w(k,80)+158209|0]<<2)+a|0)+4>>2]=l}if(!h){q[((o[w(k,80)+158210|0]<<2)+a|0)+4>>2]=s}j=b<<28|g>>>4;t=e<<28|b>>>4;n=f<<28|e>>>4;u=g<<28|f>>>4;if(!h){q[((o[w(k,80)+158211|0]<<2)+a|0)+4>>2]=m}e=a+4|0;b=w(k,80)+158176|0;q[e+(o[b+36|0]<<2)>>2]=u;q[e+(o[b+37|0]<<2)>>2]=n;q[e+(o[b+38|0]<<2)>>2]=t;q[e+(o[b+39|0]<<2)>>2]=j}e=q[d+32>>2];m=e>>>19|0;f=q[d+44>>2];l=f<<13;g=q[d+40>>2];s=g<<13;h=q[d+36>>2];p=h<<13;if(!k){i=a+4|0;b=w(k,80)+158176|0;q[i+(o[b+40|0]<<2)>>2]=e;q[i+(o[b+41|0]<<2)>>2]=h;q[i+(o[b+42|0]<<2)>>2]=g;q[i+(o[b+43|0]<<2)>>2]=f;t=g<<28|f>>>4;n=h<<28|g>>>4;u=e<<28|h>>>4;j=f<<28|e>>>4}m=l|m;i=s|f>>>19;l=p|g>>>19;s=e<<13|h>>>19;b=a+4|0;x=w(k,80);p=x+158176|0;q[b+(o[p+44|0]<<2)>>2]=e<<15|h>>>17;q[b+(o[p+45|0]<<2)>>2]=h<<15|g>>>17;q[b+(o[p+46|0]<<2)>>2]=g<<15|f>>>17;q[b+(o[p+47|0]<<2)>>2]=f<<15|e>>>17;q[b+(o[p+48|0]<<2)>>2]=e<<30|h>>>2;q[b+(o[p+49|0]<<2)>>2]=h<<30|g>>>2;q[b+(o[p+50|0]<<2)>>2]=g<<30|f>>>2;q[b+(o[p+51|0]<<2)>>2]=f<<30|e>>>2;d:{if(!v){e=x+158176|0;q[b+(o[e+52|0]<<2)>>2]=s;q[b+(o[e+53|0]<<2)>>2]=l;q[b+(o[e+54|0]<<2)>>2]=i;b=e+55|0;e=m;break d}b=x+158176|0;q[((o[b+53|0]<<2)+a|0)+4>>2]=l;b=b+54|0;e=i}q[((o[b|0]<<2)+a|0)+4>>2]=e;if(!k){e=a+4|0;b=w(k,80)+158176|0;q[e+(o[b+56|0]<<2)>>2]=u;q[e+(o[b+57|0]<<2)>>2]=n;q[e+(o[b+58|0]<<2)>>2]=t;q[e+(o[b+59|0]<<2)>>2]=j}if(!(v|c>>>0<=128)){e=q[d+60>>2];f=q[d+48>>2];n=e<<30|f>>>2;g=q[d+56>>2];t=g<<30|e>>>2;j=q[d+52>>2];p=j<<30|g>>>2;h=k|v;if(!h){m=e<<13|f>>>19;l=j<<13|g>>>19;s=f<<13|j>>>19;i=g<<13|e>>>19}c=a+4|0;u=w(k,80);b=u+158176|0;q[c+(o[b+60|0]<<2)>>2]=f;q[c+(o[b+61|0]<<2)>>2]=j;q[c+(o[b+62|0]<<2)>>2]=g;q[c+(o[b+63|0]<<2)>>2]=e;q[c+(o[b- -64|0]<<2)>>2]=f<<15|j>>>17;q[c+(o[b+65|0]<<2)>>2]=j<<15|g>>>17;q[c+(o[b+66|0]<<2)>>2]=g<<15|e>>>17;q[c+(o[b+67|0]<<2)>>2]=e<<15|f>>>17;q[c+(o[b+68|0]<<2)>>2]=f<<30|j>>>2;q[c+(o[b+69|0]<<2)>>2]=p;q[c+(o[b+70|0]<<2)>>2]=t;q[c+(o[b+71|0]<<2)>>2]=n;if(!h){q[((o[u+158248|0]<<2)+a|0)+4>>2]=s}if(!h){q[((o[w(k,80)+158249|0]<<2)+a|0)+4>>2]=l}if(!h){q[((o[w(k,80)+158250|0]<<2)+a|0)+4>>2]=i}if(!h){q[((o[w(k,80)+158251|0]<<2)+a|0)+4>>2]=m}c=a+4|0;b=w(k,80)+158176|0;q[c+(o[b+76|0]<<2)>>2]=f<<28|j>>>4;q[c+(o[b+77|0]<<2)>>2]=j<<28|g>>>4;q[c+(o[b+78|0]<<2)>>2]=g<<28|e>>>4;q[c+(o[b+79|0]<<2)>>2]=e<<28|f>>>4}b=a+4|0;m=w(k,12);l=m|32;c=b+(l<<2)|0;i=w(k,20);e=i+158336|0;q[c>>2]=q[b+(o[e|0]<<2)>>2];m=m<<2;q[b+(m|132)>>2]=q[b+(o[e+1|0]<<2)>>2];q[b+(m|136)>>2]=q[b+(o[e+2|0]<<2)>>2];q[b+(m|140)>>2]=q[b+(o[e+3|0]<<2)>>2];if(!v){e=i+158336|0;q[c+16>>2]=q[b+(o[e+4|0]<<2)>>2];q[c+20>>2]=q[b+(o[e+5|0]<<2)>>2];q[c+24>>2]=q[b+(o[e+6|0]<<2)>>2];q[c+28>>2]=q[b+(o[e+7|0]<<2)>>2]}e=i+158336|0;q[c+32>>2]=q[b+(o[e+8|0]<<2)>>2];q[c+36>>2]=q[b+(o[e+9|0]<<2)>>2];q[c+40>>2]=q[b+(o[e+10|0]<<2)>>2];q[c+44>>2]=q[b+(o[e+11|0]<<2)>>2];e=0;if(k){break a}a=a+4|0;b=a+(l<<2)|0;c=w(k,20)+158336|0;q[b+48>>2]=q[a+(o[c+12|0]<<2)>>2];q[b+52>>2]=q[a+(o[c+13|0]<<2)>>2];q[b+56>>2]=q[a+(o[c+14|0]<<2)>>2];q[b+60>>2]=q[a+(o[c+15|0]<<2)>>2];q[b- -64>>2]=q[a+(o[c+16|0]<<2)>>2];q[b+68>>2]=q[a+(o[c+17|0]<<2)>>2];q[b+72>>2]=q[a+(o[c+18|0]<<2)>>2];q[b+76>>2]=q[a+(o[c+19|0]<<2)>>2]}ti=d+128|0;return e}function MF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,v=0,x=0,y=0;k=ti-336|0;ti=k;y=q[a+8>>2]-q[a+12>>2]>>4;mj(a,f,5);v=bu(a,f);x=g+4|0;l=q[x>>2];s=q[g>>2];i=l-s|0;t=i>>2;a:{b:{c:{d:{e:{f:{g:{if(!i){break g}if(q[s>>2]!=(v|0)){h=1;j=s-l|0;m=((i|0)<(j|0)?j:i)>>>2|0;j=(i|0)>-1?i:-1;j=w(m,(j|0)<1?j:1);i=j>>>0>1?j:1;while(1){j=h;if((h|0)!=(i|0)){h=j+1|0;if(q[s+(j<<2)>>2]!=(v|0)){continue}}break}if(j>>>0>=t>>>0){break g}}a=Bi(a,125572,0);break f}j=q[g+8>>2];if((j|0)==(l|0)){if(o[g+12|0]&1){break e}Ii(t+8|0,4,g,g+8|0,x);l=q[g+4>>2];j=q[g+8>>2]}if((j|0)==(l|0)){break d}q[x>>2]=l+4;q[l>>2]=v;Qi(a,f);f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if(e>>>0<=3){Bi(a,125748,0)}j=d+4|0;h:{if(!rj(a,-2)){l=0;break h}n=d+e|0;l=0;while(1){if((l|0)==-1){q[k+320>>2]=-1;Bi(a,125764,k+320|0)}m=Ei(a,-2);s=Ei(a,-1);h=m-3|0;if(h>>>0>=2){q[k+304>>2]=(m|0)==-1?135271:q[(m<<2)+267792>>2];Bi(a,125597,k+304|0)}l=l+1|0;if((n-j|0)<=1){q[k+292>>2]=l;q[k+288>>2]=e;Bi(a,125800,k+288|0)}i:{j:{switch(h|0){case 1:o[j+1|0]=s;o[j|0]=4;q[k+332>>2]=0;t=dj(a,-2,k+332|0);h=q[k+332>>2];f=h+4|0;i=j+2|0;if((f|0)>(n-i|0)){q[k+232>>2]=l;q[k+228>>2]=t;q[k+224>>2]=e;Bi(a,127024,k+224|0);h=q[k+332>>2]}o[j+2|0]=h;o[j+3|0]=h>>>8;o[j+4|0]=h>>>16;o[j+5|0]=h>>>24;Gi(j+6|0,t,h);j=f+i|0;break i;case 0:break j;default:break i}}p=xj(a,-2);o[j+1|0]=s;o[j|0]=p>=0?3:64;h=j+2|0;k:{l:{switch(q[b+4>>2]){case 0:if((n-h|0)<=1){Bi(a,125748,0)}if(!(p>65535^1)){q[k+240>>2]=65535;Bi(a,127096,k+240|0)}f=j;i=j;if(p<4294967296&p>=0){h=~~p>>>0}else{h=0}o[i+2|0]=h;o[f+3|0]=h>>>8;j=j+4|0;break i;case 1:case 2:if(!(p>4294967295^1)){q[k+256>>2]=-1;Bi(a,127096,k+256|0)}if(p<4294967296&p>=0){j=~~p>>>0}else{j=0}f=j;m:{if(j>>>0<128){break m}while(1){if(h>>>0>=n>>>0){f=j;break m}o[h|0]=j|128;h=h+1|0;i=j>>>0>16383;f=j>>>7|0;j=f;if(i){continue}break}}if(h>>>0>=n>>>0){break k}o[h|0]=f&127;j=h+1|0;break i;case 3:case 4:if((n-h|0)<=3){Bi(a,125748,0)}p=p<0?-p:p;if(!(p>4294967295^1)){q[k+272>>2]=-1;Bi(a,127096,k+272|0)}f=j;i=j;if(p<4294967296&p>=0){h=~~p>>>0}else{h=0}o[i+2|0]=h;o[f+3|0]=h>>>8;o[f+4|0]=h>>>16;o[f+5|0]=h>>>24;j=j+6|0;break i;default:break l}}J(127127,125707,234,127129);G()}Bi(a,125748,0);j=h}n:{o:{switch(s-1|0){case 0:if((n-j|0)<=0){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+24>>2]=l;q[k+20>>2]=f;q[k+16>>2]=e;Bi(a,125871,k+16|0)}o[j|0]=Ej(a,-1);j=j+1|0;break n;case 2:f=j-c|0;h=(f+3&-4)-f|0;if((h|0)>(n-j|0)){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+56>>2]=l;q[k+52>>2]=f;q[k+48>>2]=e;Bi(a,125871,k+48|0)}i=Fi(j,0,h)+h|0;f=n-i|0;if(!((f|0)>=(h|0)?(f|0)>=8:0)){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+40>>2]=l;q[k+36>>2]=f;q[k+32>>2]=e;Bi(a,125871,k+32|0)}axa(+xj(a,-1));j=Zwa(1)|0;f=Zwa(0)|0;o[i|0]=f;o[i+1|0]=f>>>8;o[i+2|0]=f>>>16;o[i+3|0]=f>>>24;o[i+4|0]=j;o[i+5|0]=j>>>8;o[i+6|0]=j>>>16;o[i+7|0]=j>>>24;j=i+8|0;break n;case 3:q[k+332>>2]=0;i=dj(a,-1,k+332|0);h=q[k+332>>2];f=h+4|0;if((f|0)>(n-j|0)){q[k+72>>2]=l;q[k+68>>2]=i;q[k+64>>2]=e;Bi(a,127024,k- -64|0);h=q[k+332>>2]}o[j|0]=h;o[j+1|0]=h>>>8;o[j+2|0]=h>>>16;o[j+3|0]=h>>>24;Gi(j+4|0,i,h);j=f+j|0;break n;case 6:if((n-j|0)<=0){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+216>>2]=l;q[k+212>>2]=f;q[k+208>>2]=e;Bi(a,125871,k+208|0)}h=j+1|0;f=h-c|0;i=(f+3&-4)-f|0;if((i|0)>(n-h|0)){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+200>>2]=l;q[k+196>>2]=f;q[k+192>>2]=e;Bi(a,125871,k+192|0)}i=Fi(h,0,i)+i|0;h=vm(a,-1);if(h){if((n-i|0)<=11){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+184>>2]=l;q[k+180>>2]=f;q[k+176>>2]=e;Bi(a,125871,k+176|0)}o[j|0]=0;u[i>>2]=u[h>>2];u[i+4>>2]=u[h+4>>2];u[i+8>>2]=u[h+8>>2];j=i+12|0;break n}h=yn(a,-1);if(h){if((n-i|0)<=15){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+168>>2]=l;q[k+164>>2]=f;q[k+160>>2]=e;Bi(a,125871,k+160|0)}o[j|0]=1;u[i>>2]=u[h>>2];u[i+4>>2]=u[h+4>>2];u[i+8>>2]=u[h+8>>2];u[i+12>>2]=u[h+12>>2];j=i+16|0;break n}h=uy(a,-1);if(h){if((n-i|0)<=15){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+152>>2]=l;q[k+148>>2]=f;q[k+144>>2]=e;Bi(a,125871,k+144|0)}o[j|0]=2;u[i>>2]=u[h>>2];u[i+4>>2]=u[h+4>>2];u[i+8>>2]=u[h+8>>2];u[i+12>>2]=u[h+12>>2];j=i+16|0;break n}h=vy(a,-1);if(h){if((n-i|0)<=63){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+136>>2]=l;q[k+132>>2]=f;q[k+128>>2]=e;Bi(a,125871,k+128|0)}o[j|0]=3;u[i>>2]=u[h>>2];u[i+4>>2]=u[h+4>>2];u[i+8>>2]=u[h+8>>2];u[i+12>>2]=u[h+12>>2];u[i+16>>2]=u[h+16>>2];u[i+20>>2]=u[h+20>>2];u[i+24>>2]=u[h+24>>2];u[i+28>>2]=u[h+28>>2];u[i+32>>2]=u[h+32>>2];u[i+36>>2]=u[h+36>>2];u[i+40>>2]=u[h+40>>2];u[i+44>>2]=u[h+44>>2];u[i+48>>2]=u[h+48>>2];u[i+52>>2]=u[h+52>>2];u[i+56>>2]=u[h+56>>2];u[i+60>>2]=u[h+60>>2];j=i- -64|0;break n}if(zn(a,-1)){f=aj(a,-1);h=q[f>>2];f=q[f+4>>2];if((n-i|0)<=7){t=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+88>>2]=l;q[k+84>>2]=t;q[k+80>>2]=e;Bi(a,125871,k+80|0)}o[j|0]=4;o[i|0]=h;o[i+1|0]=h>>>8;o[i+2|0]=h>>>16;o[i+3|0]=h>>>24;o[i+4|0]=f;o[i+5|0]=f>>>8;o[i+6|0]=f>>>16;o[i+7|0]=f>>>24;j=i+8|0;break n}if(Gu(a,-1)){h=aj(a,-1);if((n-i|0)<=31){f=(m|0)==-1?135271:q[(m<<2)+267792>>2];q[k+104>>2]=l;q[k+100>>2]=f;q[k+96>>2]=e;Bi(a,125871,k+96|0)}o[j|0]=5;j=r[h+28|0]|r[h+29|0]<<8|(r[h+30|0]<<16|r[h+31|0]<<24);f=r[h+24|0]|r[h+25|0]<<8|(r[h+26|0]<<16|r[h+27|0]<<24);o[i+24|0]=f;o[i+25|0]=f>>>8;o[i+26|0]=f>>>16;o[i+27|0]=f>>>24;o[i+28|0]=j;o[i+29|0]=j>>>8;o[i+30|0]=j>>>16;o[i+31|0]=j>>>24;j=r[h+20|0]|r[h+21|0]<<8|(r[h+22|0]<<16|r[h+23|0]<<24);f=r[h+16|0]|r[h+17|0]<<8|(r[h+18|0]<<16|r[h+19|0]<<24);o[i+16|0]=f;o[i+17|0]=f>>>8;o[i+18|0]=f>>>16;o[i+19|0]=f>>>24;o[i+20|0]=j;o[i+21|0]=j>>>8;o[i+22|0]=j>>>16;o[i+23|0]=j>>>24;j=r[h+12|0]|r[h+13|0]<<8|(r[h+14|0]<<16|r[h+15|0]<<24);f=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);o[i+8|0]=f;o[i+9|0]=f>>>8;o[i+10|0]=f>>>16;o[i+11|0]=f>>>24;o[i+12|0]=j;o[i+13|0]=j>>>8;o[i+14|0]=j>>>16;o[i+15|0]=j>>>24;j=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);f=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);o[i|0]=f;o[i+1|0]=f>>>8;o[i+2|0]=f>>>16;o[i+3|0]=f>>>24;o[i+4|0]=j;o[i+5|0]=j>>>8;o[i+6|0]=j>>>16;o[i+7|0]=j>>>24;j=i+32|0;break n}q[k+112>>2]=q[66955];Bi(a,125655,k+112|0);j=i;break n;case 4:j=MF(a,b,c,j,n-j|0,-1,g)+j|0;break n;default:break o}}q[k>>2]=(s|0)==-1?135271:q[(s<<2)+267792>>2];Bi(a,125655,k)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);b=q[g+4>>2];if((b|0)==q[g>>2]){break c}c=b-4|0;b=q[c>>2];q[x>>2]=c;if((b|0)!=(v|0)){break b}o[d|0]=l;o[d+1|0]=l>>>8;o[d+2|0]=l>>>16;o[d+3|0]=l>>>24;if(q[a+8>>2]-q[a+12>>2]>>4!=(y|0)){break a}a=j-d|0}ti=k+336|0;return a}J(126892,126836,493,126967);G()}J(126979,126836,533,127003);G()}J(127008,126836,435,127019);G()}J(125691,125707,707,125949);G()}J(125962,125707,711,125949);G()}function bia(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,r=0;o=ti-416|0;ti=o;n=Im(o+296|0);r=Fl(a,52591,o+412|0);a:{if(r){q[o+180>>2]=r;q[o+176>>2]=52591;Ai(3,52608,52839,o+176|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52591;r=q[o+412>>2];q[n+60>>2]=331;q[n+48>>2]=0;q[n+44>>2]=332;q[n+40>>2]=333;q[n+36>>2]=0;q[n+32>>2]=334;q[n+28>>2]=335;q[n+24>>2]=336;q[n+20>>2]=337;q[n+16>>2]=g;q[n>>2]=r;q[n+96>>2]=0;q[n+92>>2]=338;q[n+84>>2]=0;q[n+88>>2]=0;q[n+76>>2]=0;q[n+72>>2]=339;q[n+68>>2]=340;q[n+64>>2]=341;q[n+56>>2]=0;q[n+52>>2]=342;p[n+104>>1]=100;q[n+100>>2]=q[n+100>>2]&-196609|65536;g=Um(b,n);if(g){break a}g=Fl(a,52347,o+412|0);if(g){q[o+164>>2]=g;q[o+160>>2]=52347;Ai(3,52608,52839,o+160|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52347;g=q[o+412>>2];q[n+60>>2]=0;q[n+48>>2]=0;q[n+44>>2]=343;q[n+40>>2]=344;q[n+36>>2]=0;q[n+32>>2]=345;q[n+28>>2]=346;q[n+24>>2]=347;q[n+20>>2]=348;q[n+16>>2]=d;q[n>>2]=g;q[n+96>>2]=349;q[n+92>>2]=0;q[n+88>>2]=350;q[n+84>>2]=351;q[n+76>>2]=352;q[n+72>>2]=0;q[n+68>>2]=353;q[n+64>>2]=354;q[n+56>>2]=355;q[n+52>>2]=356;p[n+104>>1]=400;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}d=Fl(a,52714,o+412|0);if(d){q[o+148>>2]=d;q[o+144>>2]=52714;Ai(3,52608,52839,o+144|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52714;d=q[o+412>>2];q[n+48>>2]=0;q[n+44>>2]=357;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=358;q[n+28>>2]=359;q[n+24>>2]=360;q[n+20>>2]=361;q[n+16>>2]=c;q[n>>2]=d;q[n+92>>2]=0;q[n+96>>2]=0;q[n+88>>2]=362;q[n+84>>2]=363;q[n+76>>2]=364;q[n+72>>2]=0;q[n+68>>2]=365;q[n+64>>2]=0;q[n+56>>2]=0;q[n+60>>2]=0;q[n+52>>2]=366;p[n+104>>1]=500;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}d=Fl(a,52707,o+412|0);if(d){q[o+132>>2]=d;q[o+128>>2]=52707;Ai(3,52608,52839,o+128|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52707;d=q[o+412>>2];q[n+48>>2]=0;q[n+44>>2]=367;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=368;q[n+28>>2]=369;q[n+24>>2]=370;q[n+20>>2]=371;q[n+16>>2]=m;q[n>>2]=d;q[n+92>>2]=0;q[n+96>>2]=0;q[n+88>>2]=372;q[n+84>>2]=373;q[n+72>>2]=0;q[n+76>>2]=0;q[n+68>>2]=374;q[n+64>>2]=0;q[n+56>>2]=0;q[n+60>>2]=0;q[n+52>>2]=375;p[n+104>>1]=600;q[n+100>>2]=q[n+100>>2]&-196609|65536;g=Um(b,n);if(g){break a}d=Fl(a,52397,o+412|0);if(d){q[o+116>>2]=d;q[o+112>>2]=52397;Ai(3,52608,52839,o+112|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52397;d=q[o+412>>2];q[n+60>>2]=376;q[n+48>>2]=0;q[n+44>>2]=377;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=378;q[n+28>>2]=379;q[n+24>>2]=380;q[n+20>>2]=381;q[n+16>>2]=j;q[n>>2]=d;q[n+96>>2]=382;q[n+92>>2]=0;q[n+88>>2]=383;q[n+84>>2]=384;q[n+72>>2]=0;q[n+76>>2]=0;q[n+68>>2]=385;q[n+64>>2]=0;q[n+56>>2]=0;q[n+52>>2]=386;p[n+104>>1]=700;q[n+100>>2]=q[n+100>>2]&-196609|65536;g=Um(b,n);if(g){break a}d=Fl(a,52671,o+412|0);if(d){q[o+100>>2]=d;q[o+96>>2]=52671;Ai(3,52608,52839,o+96|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52671;d=q[o+412>>2];q[n+60>>2]=387;q[n+48>>2]=0;q[n+44>>2]=388;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=389;q[n+28>>2]=390;q[n+24>>2]=391;q[n+20>>2]=392;q[n+16>>2]=e;q[n>>2]=d;q[n+76>>2]=393;q[n+72>>2]=0;q[n+68>>2]=394;q[n+64>>2]=0;q[n+56>>2]=0;q[n+52>>2]=395;d=n+84|0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;p[n+104>>1]=800;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}e=Fl(a,52364,o+412|0);if(e){q[o+84>>2]=e;q[o+80>>2]=52364;Ai(3,52608,52839,o+80|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52364;e=q[o+412>>2];q[n+48>>2]=0;q[n+44>>2]=396;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=397;q[n+28>>2]=398;q[n+24>>2]=399;q[n+20>>2]=400;q[n+16>>2]=h;q[n>>2]=e;q[n+96>>2]=0;q[n+88>>2]=0;q[n+92>>2]=0;q[n+84>>2]=401;q[n+72>>2]=0;q[n+76>>2]=0;q[n+68>>2]=402;q[n+64>>2]=0;q[n+56>>2]=0;q[n+60>>2]=0;q[n+52>>2]=403;p[n+104>>1]=900;q[n+100>>2]=q[n+100>>2]&-196609|65536;g=Um(b,n);if(g){break a}e=Fl(a,52328,o+412|0);if(e){q[o+68>>2]=e;q[o+64>>2]=52328;Ai(3,52608,52839,o- -64|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52328;e=q[o+412>>2];q[n+48>>2]=0;q[n+44>>2]=404;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=405;q[n+28>>2]=406;q[n+24>>2]=407;q[n+20>>2]=408;q[n+16>>2]=i;q[n>>2]=e;q[n+56>>2]=0;q[n+60>>2]=0;q[n+52>>2]=409;e=n- -64|0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;q[n+96>>2]=0;q[n+88>>2]=0;q[n+92>>2]=0;q[n+84>>2]=410;p[n+104>>1]=950;q[n+100>>2]=q[n+100>>2]&-196609|65536;g=Um(b,n);if(g){break a}e=Fl(a,52754,o+412|0);if(e){q[o+52>>2]=e;q[o+48>>2]=52754;Ai(3,52608,52839,o+48|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52754;e=q[o+412>>2];q[n+48>>2]=0;q[n+44>>2]=411;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=412;q[n+28>>2]=413;q[n+24>>2]=414;q[n+20>>2]=415;q[n+16>>2]=c;q[n>>2]=e;q[n+72>>2]=0;q[n+76>>2]=0;q[n+68>>2]=416;q[n+64>>2]=0;q[n+56>>2]=0;q[n+60>>2]=0;q[n+52>>2]=417;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;p[n+104>>1]=1e3;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}c=Fl(a,52784,o+412|0);if(c){q[o+36>>2]=c;q[o+32>>2]=52784;Ai(3,52608,52839,o+32|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52784;c=q[o+412>>2];q[n+60>>2]=418;q[n+48>>2]=0;q[n+44>>2]=419;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=420;q[n+28>>2]=421;q[n+24>>2]=422;q[n+20>>2]=423;q[n+16>>2]=f;q[n>>2]=c;q[n+96>>2]=424;q[n+92>>2]=0;q[n+88>>2]=425;q[n+84>>2]=426;q[n+76>>2]=427;q[n+72>>2]=0;q[n+68>>2]=428;q[n+64>>2]=0;q[n+56>>2]=0;q[n+52>>2]=429;p[n+104>>1]=1100;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}c=Fl(a,52425,o+412|0);if(c){q[o+20>>2]=c;q[o+16>>2]=52425;Ai(3,52608,52839,o+16|0);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52425;c=q[o+412>>2];q[n+60>>2]=430;q[n+48>>2]=0;q[n+44>>2]=431;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=432;q[n+28>>2]=433;q[n+24>>2]=434;q[n+20>>2]=435;q[n+16>>2]=l;q[n>>2]=c;q[n+96>>2]=436;q[n+92>>2]=0;q[n+88>>2]=437;q[n+84>>2]=438;q[n+76>>2]=439;q[n+72>>2]=0;q[n+68>>2]=440;q[n+64>>2]=0;q[n+56>>2]=0;q[n+52>>2]=441;p[n+104>>1]=1200;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n);if(g){break a}a=Fl(a,52747,o+412|0);if(a){q[o+4>>2]=a;q[o>>2]=52747;Ai(3,52608,52839,o);g=-1e3;break a}Im(o+184|0);Gi(o+296|0,o+184|0,104);q[n+4>>2]=52747;a=q[o+412>>2];q[n+60>>2]=442;q[n+48>>2]=443;q[n+44>>2]=444;q[n+36>>2]=0;q[n+40>>2]=0;q[n+32>>2]=445;q[n+28>>2]=446;q[n+24>>2]=447;q[n+20>>2]=448;q[n+16>>2]=k;q[n>>2]=a;q[n+96>>2]=449;q[n+92>>2]=0;q[n+88>>2]=450;q[n+84>>2]=451;q[n+76>>2]=452;q[n+72>>2]=0;q[n+68>>2]=453;q[n+64>>2]=0;q[n+56>>2]=0;q[n+52>>2]=454;p[n+104>>1]=1400;q[n+100>>2]=q[n+100>>2]|196608;g=Um(b,n)}ti=o+416|0;return g}function W5(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,p=0,t=0,u=0,v=0,y=0,z=0,A=0,B=0,C=0;m=ti-320|0;ti=m;if(a){k=q[a+2384>>2];t=q[a+2388>>2];if(t){xi[q[77469]](k,q[t+4>>2])}xi[q[77525]](m+304|0,k);i=q[a+2020>>2];h=q[a+2024>>2];if((i|0)!=(h|0)){B=m+48|0;l=t;while(1){j=q[(v<<2)+i>>2];if(q[j+284>>2]){wG(a,q[q[j+156>>2]+80>>2],m+40|0);a:{if(b){if(!qG(q[m+40>>2],B,q[b+256>>2],b)){break a}}b:{if(t){break b}d=q[j+156>>2];if((d|0)==(l|0)){break b}xi[q[77469]](k,q[d+4>>2]);l=d}d6(a,l,j);d=q[j>>2];if(d){DG(a,l,d)}if(c){DG(a,l,c)}f=q[a+2384>>2];xi[q[77525]](m+24|0,k);y=q[m+24>>2];z=q[m+28>>2];A=s[m+32>>1];i=A;g=r[j+288|0];i=g&1?s[j+236>>1]<<4&240|(s[j+232>>1]&15|i&-256):i;i=g&4?s[j+240>>1]<<11&2048|i&-2049:i;C=f;e=y;d=z;c:{if(!(g&2)){break c}d:{if(!(r[j+279|0]&16)){break d}d=r[a+2400|0];if(d&2){o[a+2400|0]=d&253;break d}xi[q[77486]](f,255);xi[q[77438]](f,32,0,0,0,0,x(1),0)}e=r[j+278|0]<<5;g=r[j+276|0]<<21;n=r[j+279|0];d=n&15|y&-33546256;f=g|(e|z&-536870881);e=r[j+277|0]<<13;f=e|f;g=d;h=q[j+244>>2]&7;d=h;e=d>>>10|0;d=g|d<<22;g=e|f;f=d;d=q[j+248>>2]&7;e=d>>>19|0;f=f|d<<13;p=e|g;g=q[j+252>>2]&7;e=g>>>13|0;f=f|g<<19;p=e|p;u=f;f=q[j+256>>2]&7;e=f>>>16|0;u=u|f<<16;e=e|p;if(n&32){d=q[j+272>>2];n=d<<28&1879048192;d=q[j+264>>2];f=d<<25&234881024|u&33554431;d=e&-32|(q[j+260>>2]&7)<<2;e=q[j+268>>2]&7;g=e>>>1|0;e=e<<31|f|n;d=d|g;break c}p=e&-32;e=d>>>7|0;n=d<<25;d=h<<2;h=n|0;d=d|e;e=g>>>1|0;g=g<<31|h;d=d|e;e=u&33554431|(f<<28|g);d=f>>>4|d|p}oG(C,e,d,i,y,z,A);e=q[a>>2];d=q[a+4>>2];f=!(e|d);g=f?q[j+160>>2]:e;d=f?q[j+164>>2]:d;f=d;e:{if(!(d|g)){i=0;break e}h=0;i=0;if(!(xi[q[77524]](g,f)|0)){break e}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+8>>2];d=q[a+12>>2];f=!(e|d);g=f?q[j+168>>2]:e;d=f?q[j+172>>2]:d;f=d;f:{if(!(d|g)){break f}h=0;if(!(xi[q[77524]](g,f)|0)){break f}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+16>>2];d=q[a+20>>2];f=!(e|d);g=f?q[j+176>>2]:e;d=f?q[j+180>>2]:d;f=d;g:{if(!(d|g)){break g}h=0;if(!(xi[q[77524]](g,f)|0)){break g}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+24>>2];d=q[a+28>>2];f=!(e|d);g=f?q[j+184>>2]:e;d=f?q[j+188>>2]:d;f=d;h:{if(!(d|g)){break h}h=0;if(!(xi[q[77524]](g,f)|0)){break h}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+32>>2];d=q[a+36>>2];f=!(e|d);g=f?q[j+192>>2]:e;d=f?q[j+196>>2]:d;f=d;i:{if(!(d|g)){break i}h=0;if(!(xi[q[77524]](g,f)|0)){break i}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+40>>2];d=q[a+44>>2];f=!(e|d);g=f?q[j+200>>2]:e;d=f?q[j+204>>2]:d;f=d;j:{if(!(d|g)){break j}h=0;if(!(xi[q[77524]](g,f)|0)){break j}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+48>>2];d=q[a+52>>2];f=!(e|d);g=f?q[j+208>>2]:e;d=f?q[j+212>>2]:d;f=d;k:{if(!(d|g)){break k}h=0;if(!(xi[q[77524]](g,f)|0)){break k}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}e=q[a+56>>2];d=q[a+60>>2];f=!(e|d);g=f?q[j+216>>2]:e;d=f?q[j+220>>2]:d;f=d;l:{if(!(d|g)){break l}h=0;if(!(xi[q[77524]](g,f)|0)){break l}while(1){d=q[l+64>>2];e=i&255;d=e>>>0<(q[l+68>>2]-d|0)/40>>>0?d+w(e,40)|0:0;xi[q[77514]](k,e,h&255,g,f);bp(a,d,e,g,f);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,f)>>>0>h>>>0){continue}break}}xi[q[77455]](k,q[j+148>>2],q[j+144>>2],q[l+4>>2]);g=q[j+284>>2];f=q[j+280>>2];e=q[j+224>>2];d=q[j+152>>2];m:{if(!d){xi[q[77459]](k,e,f,g);break m}xi[q[77458]](k,e,f,g,q[j+228>>2],d)}xi[q[77456]](k,q[j+148>>2]);e=q[a>>2];d=q[a+4>>2];f=!(e|d);g=f?q[j+160>>2]:e;d=f?q[j+164>>2]:d;e=d;n:{if(!(d|g)){i=0;break n}h=0;i=0;if(!(xi[q[77524]](g,e)|0)){break n}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+8>>2];d=q[a+12>>2];f=!(e|d);g=f?q[j+168>>2]:e;d=f?q[j+172>>2]:d;e=d;o:{if(!(d|g)){break o}h=0;if(!(xi[q[77524]](g,e)|0)){break o}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+16>>2];d=q[a+20>>2];f=!(e|d);g=f?q[j+176>>2]:e;d=f?q[j+180>>2]:d;e=d;p:{if(!(d|g)){break p}h=0;if(!(xi[q[77524]](g,e)|0)){break p}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+24>>2];d=q[a+28>>2];f=!(e|d);g=f?q[j+184>>2]:e;d=f?q[j+188>>2]:d;e=d;q:{if(!(d|g)){break q}h=0;if(!(xi[q[77524]](g,e)|0)){break q}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+32>>2];d=q[a+36>>2];f=!(e|d);g=f?q[j+192>>2]:e;d=f?q[j+196>>2]:d;e=d;r:{if(!(d|g)){break r}h=0;if(!(xi[q[77524]](g,e)|0)){break r}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+40>>2];d=q[a+44>>2];f=!(e|d);g=f?q[j+200>>2]:e;d=f?q[j+204>>2]:d;e=d;s:{if(!(d|g)){break s}h=0;if(!(xi[q[77524]](g,e)|0)){break s}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+48>>2];d=q[a+52>>2];f=!(e|d);g=f?q[j+208>>2]:e;d=f?q[j+212>>2]:d;e=d;t:{if(!(d|g)){break t}h=0;if(!(xi[q[77524]](g,e)|0)){break t}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}e=q[a+56>>2];d=q[a+60>>2];f=!(e|d);g=f?q[j+216>>2]:e;d=f?q[j+220>>2]:d;e=d;if(!(d|g)){break a}h=0;if(!(xi[q[77524]](g,e)|0)){break a}while(1){xi[q[77515]](k,i&255,g,e);i=i+1|0;h=h+1|0;if(xi[q[77524]](g,e)>>>0>h>>>0){continue}break}}i=q[a+2020>>2];h=q[a+2024>>2]}v=v+1|0;if(v>>>0>2>>>0){continue}break}}c=s[m+312>>1];b=q[m+304>>2];a=q[m+308>>2];xi[q[77525]](m+8|0,k);oG(k,b,a,c,q[m+8>>2],q[m+12>>2],s[m+16>>1])}ti=m+320|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,n=0,o=0,p=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,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;A=ti-640|0;ti=A;while(1){k=C<<3;h=k+A|0;t=r[(k|3)+b|0]|(r[(k|1)+b|0]<<16|r[b+k|0]<<24|r[(k|2)+b|0]<<8);e=r[(k|4)+b|0];c=e>>>8|0;e=e<<24;i=c|t;g=e;e=r[(k|5)+b|0];c=e>>>16|0;e=g|e<<16;i=c|i;g=e;e=r[(k|6)+b|0];c=e>>>24|0;q[h>>2]=r[(k|7)+b|0]|(g|e<<8);q[h+4>>2]=c|i;C=C+1|0;if((C|0)!=16){continue}break}b=16;y=q[A>>2];h=q[A+4>>2];while(1){l=(b<<3)+A|0;e=l;k=h;c=e-56|0;h=q[c>>2];t=q[c+4>>2];i=e-16|0;c=q[i+4>>2];i=q[i>>2];j=Uwa(i,c,45);n=wi;g=h;l=Uwa(i,c,3)^j;h=c;c=c>>>6|0;i=l^((h&63)<<26|i>>>6);h=g+i|0;c=(c^(wi^n))+t|0;c=h>>>0>>0?c+1|0:c;i=h;h=i+y|0;c=c+k|0;c=h>>>0>>0?c+1|0:c;i=h;k=c;c=e-120|0;h=q[c+4>>2];y=q[c>>2];c=Uwa(y,h,63);l=wi;c=Uwa(y,h,56)^c;t=wi^l;l=e;f=i;g=c;e=h;c=e>>>7|0;i=g^((e&127)<<25|y>>>7);e=f+i|0;c=(c^t)+k|0;q[l>>2]=e;q[l+4>>2]=e>>>0>>0?c+1|0:c;b=b+1|0;if((b|0)!=80){continue}break}C=0;c=a;b=q[c+20>>2];E=q[c+16>>2];i=E;N=b;t=b;h=q[c+28>>2];O=h;F=q[c+24>>2];y=F;k=q[c+36>>2];P=k;G=q[c+32>>2];j=G;l=q[c+44>>2];Q=l;H=q[c+40>>2];n=H;b=q[c+52>>2];R=b;I=q[c+48>>2];s=I;e=q[c+60>>2];S=e;J=q[c+56>>2];u=J;m=c- -64|0;p=q[m+4>>2];K=q[m>>2];m=K;T=p;L=q[c+72>>2];f=L;M=q[c+76>>2];w=M;while(1){B=C<<3;c=B+150896|0;g=q[c>>2];d=q[c+4>>2];c=Uwa(s,b,50);x=wi;c=Uwa(s,b,46)^c;x=wi^x;v=g;g=f;f=Uwa(s,b,23)^c;g=g+f|0;c=(wi^x)+w|0;c=f>>>0>g>>>0?c+1|0:c;w=v+g|0;c=c+d|0;c=g>>>0>w>>>0?c+1|0:c;g=m^s&(m^u);w=g+w|0;c=(p^b&(e^p))+c|0;c=g>>>0>w>>>0?c+1|0:c;g=A+B|0;d=q[g>>2];w=d+w|0;c=q[g+4>>2]+c|0;x=w;c=d>>>0>w>>>0?c+1|0:c;d=c;c=Uwa(i,t,36);g=wi;c=Uwa(i,t,30)^c;f=wi^g;o=Uwa(i,t,25)^c;g=o+((i|y)&j|i&y)|0;c=((h|t)&k|h&t)+(wi^f)|0;c=g>>>0>>0?c+1|0:c;f=g;g=f+x|0;c=c+d|0;w=g;c=f>>>0>g>>>0?c+1|0:c;g=Uwa(g,c,36);f=wi;v=g;g=c;o=v^Uwa(w,c,30);v=wi^f;f=Uwa(w,c,25)^o;o=y&(i|w)|i&w;f=f+o|0;c=(h&(c|t)|c&t)+(wi^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|8;c=z+150896|0;o=m+q[c>>2]|0;c=p+q[c+4>>2]|0;c=m>>>0>o>>>0?c+1|0:c;m=o;p=A+z|0;o=q[p>>2];m=m+o|0;c=q[p+4>>2]+c|0;p=m;m=m>>>0>>0?c+1|0:c;o=p;c=d+l|0;p=n+x|0;c=p>>>0>>0?c+1|0:c;l=p;d=u^p&(s^u);p=o+d|0;n=c;c=(e^c&(b^e))+m|0;c=d>>>0>p>>>0?c+1|0:c;m=p;p=Uwa(l,n,50);d=wi;p=Uwa(l,n,46)^p;d=wi^d;p=Uwa(l,n,23)^p;m=p+m|0;c=(wi^d)+c|0;c=m>>>0

>>0?c+1|0:c;o=m;p=m;m=m+v|0;d=c;c=c+f|0;c=m>>>0

>>0?c+1|0:c;p=Uwa(m,c,36);f=wi;v=p;p=c;x=v^Uwa(m,c,30);v=wi^f;f=Uwa(m,c,25)^x;x=i&(m|w)|m&w;f=f+x|0;c=(t&(c|g)|c&g)+(wi^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|16;c=z+150896|0;x=u+q[c>>2]|0;c=e+q[c+4>>2]|0;c=u>>>0>x>>>0?c+1|0:c;e=x;u=A+z|0;x=q[u>>2];e=e+x|0;c=q[u+4>>2]+c|0;c=e>>>0>>0?c+1|0:c;u=c;x=e;c=d+k|0;e=j+o|0;c=e>>>0>>0?c+1|0:c;d=s^e&(l^s);j=x+d|0;k=c;c=(b^c&(b^n))+u|0;c=d>>>0>j>>>0?c+1|0:c;u=Uwa(e,k,50);d=wi;u=Uwa(e,k,46)^u;d=wi^d;u=Uwa(e,k,23)^u;j=u+j|0;c=(wi^d)+c|0;c=j>>>0>>0?c+1|0:c;u=j+v|0;d=c;c=c+f|0;c=u>>>0>>0?c+1|0:c;x=u;u=Uwa(u,c,36);f=wi;v=u;u=c;o=v^Uwa(x,c,30);v=wi^f;f=Uwa(x,c,25)^o;o=w&(m|x)|m&x;f=f+o|0;c=(g&(c|p)|c&p)+(wi^v)|0;v=f;f=f>>>0>>0?c+1|0:c;z=B|24;c=z+150896|0;o=s+q[c>>2]|0;c=b+q[c+4>>2]|0;c=s>>>0>o>>>0?c+1|0:c;b=o;s=A+z|0;o=q[s>>2];b=b+o|0;c=q[s+4>>2]+c|0;c=b>>>0>>0?c+1|0:c;s=c;o=b;c=d+h|0;b=j+y|0;c=b>>>0>>0?c+1|0:c;d=l^b&(e^l);j=o+d|0;h=c;c=(n^c&(k^n))+s|0;c=d>>>0>j>>>0?c+1|0:c;s=Uwa(b,h,50);d=wi;s=Uwa(b,h,46)^s;d=wi^d;s=Uwa(b,h,23)^s;j=s+j|0;c=(wi^d)+c|0;c=j>>>0>>0?c+1|0:c;y=j;d=j;s=d+v|0;j=c;c=c+f|0;o=s;c=d>>>0>s>>>0?c+1|0:c;s=Uwa(s,c,36);d=wi;f=s;s=c;f=f^Uwa(o,c,30);v=wi^d;d=Uwa(o,c,25)^f;f=m&(o|x)|o&x;d=d+f|0;c=(p&(c|u)|c&u)+(wi^v)|0;v=d;d=d>>>0>>0?c+1|0:c;z=B|32;c=z+150896|0;f=l+q[c>>2]|0;c=n+q[c+4>>2]|0;c=f>>>0>>0?c+1|0:c;l=f;n=A+z|0;f=q[n>>2];l=l+f|0;c=q[n+4>>2]+c|0;n=l;l=f>>>0>n>>>0?c+1|0:c;f=n;c=j+t|0;n=i+y|0;c=n>>>0>>0?c+1|0:c;i=n;n=e^i&(b^e);j=f+n|0;t=c;c=(k^c&(h^k))+l|0;c=j>>>0>>0?c+1|0:c;l=j;j=Uwa(i,t,50);n=wi;j=Uwa(i,t,46)^j;n=wi^n;j=Uwa(i,t,23)^j;l=j+l|0;c=(wi^n)+c|0;c=j>>>0>l>>>0?c+1|0:c;y=l;n=l;l=n+v|0;j=c;c=c+d|0;c=l>>>0>>0?c+1|0:c;n=l;l=Uwa(n,c,36);d=wi;f=l;l=c;f=f^Uwa(n,c,30);v=wi^d;d=Uwa(n,c,25)^f;f=x&(n|o)|n&o;d=d+f|0;c=(u&(c|s)|c&s)+(wi^v)|0;v=d;d=d>>>0>>0?c+1|0:c;c=B|40;z=c+A|0;c=c+150896|0;D=q[c>>2];f=q[z>>2]+D|0;c=q[z+4>>2]+q[c+4>>2]|0;c=f>>>0>>0?c+1|0:c;f=e+f|0;c=c+k|0;e=e>>>0>f>>>0?c+1|0:c;D=f;c=j+g|0;k=w+y|0;c=k>>>0>>0?c+1|0:c;f=k;j=b^f&(b^i);k=D+j|0;w=c;c=(h^c&(h^t))+e|0;c=j>>>0>k>>>0?c+1|0:c;e=k;k=Uwa(f,w,50);j=wi;k=Uwa(f,w,46)^k;j=wi^j;k=Uwa(f,w,23)^k;e=k+e|0;c=(wi^j)+c|0;c=e>>>0>>0?c+1|0:c;y=e;j=e;k=e+v|0;e=c;c=c+d|0;c=j>>>0>k>>>0?c+1|0:c;j=k;k=Uwa(j,c,36);g=wi;d=k;k=c;d=d^Uwa(j,c,30);v=wi^g;g=Uwa(j,c,25)^d;d=o&(j|n)|j&n;g=g+d|0;c=(s&(c|l)|c&l)+(wi^v)|0;v=g;g=d>>>0>g>>>0?c+1|0:c;c=B|48;z=c+A|0;c=c+150896|0;D=q[c>>2];d=q[z>>2]+D|0;c=q[z+4>>2]+q[c+4>>2]|0;c=d>>>0>>0?c+1|0:c;d=b+d|0;c=c+h|0;b=b>>>0>d>>>0?c+1|0:c;c=e+p|0;h=m+y|0;c=h>>>0>>0?c+1|0:c;m=h;e=i^h&(f^i);h=d+e|0;p=c;c=(t^c&(t^w))+b|0;c=e>>>0>h>>>0?c+1|0:c;b=h;h=Uwa(m,p,50);e=wi;h=Uwa(m,p,46)^h;e=wi^e;h=Uwa(m,p,23)^h;b=h+b|0;c=(wi^e)+c|0;c=b>>>0>>0?c+1|0:c;h=b+v|0;e=c;c=c+g|0;y=h;c=b>>>0>h>>>0?c+1|0:c;h=Uwa(h,c,36);g=wi;d=h;h=c;d=d^Uwa(y,c,30);v=wi^g;g=Uwa(y,c,25)^d;d=n&(j|y)|j&y;g=g+d|0;c=(l&(c|k)|c&k)+(wi^v)|0;v=g;g=d>>>0>g>>>0?c+1|0:c;c=B|56;B=c+A|0;c=c+150896|0;z=q[c>>2];d=q[B>>2]+z|0;c=q[B+4>>2]+q[c+4>>2]|0;c=d>>>0>>0?c+1|0:c;d=d+i|0;c=c+t|0;i=d>>>0>>0?c+1|0:c;c=e+u|0;t=b+x|0;c=t>>>0>>0?c+1|0:c;u=t;t=f^t&(f^m);b=d+t|0;e=c;c=(w^c&(p^w))+i|0;c=b>>>0>>0?c+1|0:c;i=Uwa(u,e,50);t=wi;i=Uwa(u,e,46)^i;t=wi^t;i=Uwa(u,e,23)^i;b=i+b|0;c=(wi^t)+c|0;c=b>>>0>>0?c+1|0:c;i=b+v|0;d=g;g=c;c=d+c|0;c=i>>>0>>0?c+1|0:c;t=c;c=g+s|0;d=b+o|0;c=d>>>0>>0?c+1|0:c;s=d;b=c;c=C>>>0<72;C=C+8|0;if(c){continue}break}c=w+M|0;d=f+L|0;c=d>>>0>>0?c+1|0:c;g=a;q[g+72>>2]=d;q[g+76>>2]=c;c=p+T|0;m=m+K|0;c=m>>>0>>0?c+1|0:c;q[g+64>>2]=m;q[g+68>>2]=c;c=e+S|0;u=u+J|0;c=u>>>0>>0?c+1|0:c;q[g+56>>2]=u;q[g+60>>2]=c;c=b+R|0;s=s+I|0;c=s>>>0>>0?c+1|0:c;e=g;q[e+48>>2]=s;q[e+52>>2]=c;c=l+Q|0;e=n+H|0;c=e>>>0>>0?c+1|0:c;b=g;q[b+40>>2]=e;q[b+44>>2]=c;c=k+P|0;e=j+G|0;c=e>>>0>>0?c+1|0:c;q[b+32>>2]=e;q[b+36>>2]=c;c=h+O|0;e=y+F|0;c=e>>>0>>0?c+1|0:c;q[b+24>>2]=e;q[b+28>>2]=c;c=t+N|0;b=i+E|0;c=b>>>0>>0?c+1|0:c;q[g+16>>2]=b;q[g+20>>2]=c;ti=A+640|0;return 0}function jr(a,b,c,d,e,f,g){var h=0,i=x(0),j=0,k=x(0),l=x(0),m=0,n=0,s=x(0),t=0,y=0,z=0,A=0,B=0;h=ti-160|0;ti=h;a:{if(!a){m=-6;break a}o[g+109|0]=r[g+109|0]&254;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!(b|c)){q[g+104>>2]=0;if(q[74242]==(d|0)&q[74243]==(e|0)){j=a+32|0;q[g+104>>2]=j;b=q[74245];q[g>>2]=q[74244];q[g+4>>2]=b;b=q[74247];q[g+8>>2]=q[74246];q[g+12>>2]=b;b=q[74249];q[g+16>>2]=q[74248];q[g+20>>2]=b;b=q[a+32>>2];c=q[a+36>>2];u[g+48>>2]=u[a+40>>2];q[g+40>>2]=b;q[g+44>>2]=c;q[g+32>>2]=3;break b}if(q[74244]==(d|0)&q[74245]==(e|0)){j=a+32|0;q[g+104>>2]=j;i=u[a+32>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74246]==(d|0)&q[74247]==(e|0)){j=a+36|0;q[g+104>>2]=j;i=u[j>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74248]==(d|0)&q[74249]==(e|0)){j=a+40|0;q[g+104>>2]=j;i=u[j>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74216]==(d|0)&q[74217]==(e|0)){j=a+16|0;q[g+104>>2]=j;b=q[74219];q[g>>2]=q[74218];q[g+4>>2]=b;b=q[74221];q[g+8>>2]=q[74220];q[g+12>>2]=b;b=q[74223];q[g+16>>2]=q[74222];q[g+20>>2]=b;b=q[a+16>>2];c=q[a+20>>2];u[g+48>>2]=u[a+24>>2];q[g+40>>2]=b;q[g+44>>2]=c;q[g+32>>2]=3;break b}if(q[74218]==(d|0)&q[74219]==(e|0)){j=a+16|0;q[g+104>>2]=j;i=u[a+16>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74220]==(d|0)&q[74221]==(e|0)){j=a+20|0;q[g+104>>2]=j;i=u[j>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74222]==(d|0)&q[74223]==(e|0)){j=a+24|0;q[g+104>>2]=j;i=u[j>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}if(q[74224]==(d|0)&q[74225]==(e|0)){b=q[a+48>>2];if((b|0)!=q[a+64>>2]){i=u[a+52>>2];break d}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break d}l=u[a+12>>2];s=u[a+8>>2];k=u[a+4>>2];i=u[a>>2];break c}if(q[74226]==(d|0)&q[74227]==(e|0)){b=q[a+48>>2];if((b|0)!=q[a+64>>2]){i=u[a+52>>2];break f}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break f}i=u[a>>2];break e}if(q[74228]==(d|0)&q[74229]==(e|0)){b=q[a+48>>2];if((b|0)!=q[a+64>>2]){i=u[a+52>>2];break h}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break h}i=u[a+4>>2];break g}if(q[74230]==(d|0)&q[74231]==(e|0)){b=q[a+48>>2];if((b|0)!=q[a+64>>2]){i=u[a+52>>2];break j}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break j}i=u[a+8>>2];break i}if(q[74232]==(d|0)&q[74233]==(e|0)){b=q[a+48>>2];if((b|0)!=q[a+64>>2]){i=u[a+52>>2];break l}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break l}i=u[a+12>>2];break k}if(q[74234]==(d|0)&q[74235]==(e|0)){j=a+48|0;i=u[a+48>>2];m:{if(q[a+64>>2]!=q[a+48>>2]){k=u[a+52>>2];break m}k=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break m}ts(h,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);i=u[h>>2];u[a+48>>2]=i;k=u[h+4>>2];u[a+52>>2]=k;l=u[h+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=k;u[a+64>>2]=i}q[g+104>>2]=j;b=q[74237];q[g>>2]=q[74236];q[g+4>>2]=b;b=q[74239];q[g+8>>2]=q[74238];q[g+12>>2]=b;b=q[74241];q[g+16>>2]=q[74240];q[g+20>>2]=b;u[g+48>>2]=u[a+56>>2];u[g+44>>2]=k;u[g+40>>2]=i;q[g+32>>2]=3;break b}if(q[74236]==(d|0)&q[74237]==(e|0)){i=u[a+48>>2];if(!(q[a+64>>2]!=q[a+48>>2]|q[a+52>>2]!=q[a+68>>2]|q[a+56>>2]!=q[a+72>>2])){ts(h,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);i=u[h>>2];u[a+48>>2]=i;k=u[h+4>>2];u[a+52>>2]=k;l=u[h+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=k;u[a+64>>2]=i}q[g+32>>2]=0;v[g+40>>3]=i;j=a+48|0;q[g+104>>2]=j;break b}if(q[74238]==(d|0)&q[74239]==(e|0)){n:{if(q[a+48>>2]!=q[a+64>>2]){i=u[a+52>>2];break n}i=u[a+52>>2];if(q[a+68>>2]!=q[a+52>>2]|q[a+56>>2]!=q[a+72>>2]){break n}ts(h,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);k=u[h>>2];u[a+48>>2]=k;i=u[h+4>>2];u[a+52>>2]=i;l=u[h+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=i;u[a+64>>2]=k}q[g+32>>2]=0;v[g+40>>3]=i;j=a+52|0;q[g+104>>2]=j;break b}if((d|0)!=q[74240]|(e|0)!=q[74241]){break b}if(!(q[a+48>>2]!=q[a+64>>2]|q[a+52>>2]!=q[a+68>>2]|q[a+56>>2]!=q[a+72>>2])){ts(h,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);i=u[h>>2];u[a+48>>2]=i;k=u[h+4>>2];u[a+52>>2]=k;l=u[h+8>>2];u[a+56>>2]=l;u[a+72>>2]=l;u[a+68>>2]=k;u[a+64>>2]=i}j=a+56|0;q[g+104>>2]=j;i=u[j>>2];q[g+32>>2]=0;v[g+40>>3]=i;break b}m=-5;j=q[a+84>>2];t=q[j+4>>2];if(!t){break a}n=q[j>>2];j=0;while(1){y=w(j,96)+n|0;if(q[y>>2]!=(b|0)|q[y+4>>2]!=(c|0)){j=j+1|0;if((t|0)!=(j|0)){continue}break a}break}b=j&65535;c=q[(w(b,96)+n|0)+16>>2];if(!q[c+84>>2]){m=-1;break a}j=0;if(o[c+102|0]&1){o:{if(!b){m=0;break o}m=0;while(1){m=(p[q[(w(j,96)+n|0)+16>>2]+102>>1]&1)+m|0;j=j+1|0;if((b|0)!=(j|0)){continue}break}}j=((m<<2)+a|0)+156|0}q[h+112>>2]=q[c+16>>2];b=q[(q[a+80>>2]+(q[(w(b,96)+n|0)+20>>2]<<2)|0)+12>>2];q[h+128>>2]=d;q[h+132>>2]=e;q[h+120>>2]=a;q[h+116>>2]=b;a=q[f+12>>2];q[h+152>>2]=q[f+8>>2];q[h+156>>2]=a;a=q[f+4>>2];q[h+144>>2]=q[f>>2];q[h+148>>2]=a;q[h+136>>2]=j;m=(A=h+112|0,B=mp(h),z=q[c+84>>2],xi[z](A|0,B|0)|0);if(m){break a}Gi(g,h,110);break a}u[a+68>>2]=i;q[a+64>>2]=b;k=u[a+56>>2];u[a+72>>2]=k;u[h+120>>2]=k;u[h+116>>2]=i;q[h+112>>2]=b;Om(h,h+112|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];i=u[h+12>>2];u[a+12>>2]=i}q[g+32>>2]=0;v[g+40>>3]=i;j=a+12|0;q[g+104>>2]=j;break b}u[a+68>>2]=i;q[a+64>>2]=b;k=u[a+56>>2];u[a+72>>2]=k;u[h+120>>2]=k;u[h+116>>2]=i;q[h+112>>2]=b;Om(h,h+112|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];i=u[h+8>>2];u[a+8>>2]=i;u[a+12>>2]=u[h+12>>2]}q[g+32>>2]=0;v[g+40>>3]=i;j=a+8|0;q[g+104>>2]=j;break b}u[a+68>>2]=i;q[a+64>>2]=b;k=u[a+56>>2];u[a+72>>2]=k;u[h+120>>2]=k;u[h+116>>2]=i;q[h+112>>2]=b;Om(h,h+112|0);u[a>>2]=u[h>>2];i=u[h+4>>2];u[a+4>>2]=i;u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2]}q[g+32>>2]=0;v[g+40>>3]=i;j=a+4|0;q[g+104>>2]=j;break b}u[a+68>>2]=i;q[a+64>>2]=b;k=u[a+56>>2];u[a+72>>2]=k;u[h+120>>2]=k;u[h+116>>2]=i;q[h+112>>2]=b;Om(h,h+112|0);i=u[h>>2];u[a>>2]=i;u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2]}q[g+32>>2]=0;q[g+104>>2]=a;v[g+40>>3]=i;j=a;break b}u[a+68>>2]=i;q[a+64>>2]=b;k=u[a+56>>2];u[a+72>>2]=k;u[h+120>>2]=k;u[h+116>>2]=i;q[h+112>>2]=b;Om(h,h+112|0);i=u[h>>2];u[a>>2]=i;k=u[h+4>>2];u[a+4>>2]=k;s=u[h+8>>2];u[a+8>>2]=s;l=u[h+12>>2];u[a+12>>2]=l}q[g+104>>2]=a;b=q[74227];q[g>>2]=q[74226];q[g+4>>2]=b;b=q[74229];q[g+8>>2]=q[74228];q[g+12>>2]=b;b=q[74231];q[g+16>>2]=q[74230];q[g+20>>2]=b;b=q[74232];c=q[74233];u[g+52>>2]=l;u[g+48>>2]=s;u[g+44>>2]=k;u[g+40>>2]=i;q[g+32>>2]=5;q[g+24>>2]=b;q[g+28>>2]=c;j=a}ti=h+160|0;return j?0:-1}ti=h+160|0;return m}function Wta(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,p=0,s=0;c=ti-128|0;ti=c;l=q[b>>2];h=r[l+97680|0];n=l-4|0;f=95424;a:{if(n>>>0<3){break a}e=q[b+4>>2]<<4;f=e+95440|0;if(138>>>l&1){break a}f=e+96464|0}e=q[b+12>>2];q[c+112>>2]=q[b+8>>2];q[c+116>>2]=e;e=q[b+20>>2];q[c+120>>2]=q[b+16>>2];q[c+124>>2]=e;e=q[b+36>>2];q[c+104>>2]=q[b+32>>2];q[c+108>>2]=e;e=q[b+28>>2];q[c+96>>2]=q[b+24>>2];q[c+100>>2]=e;q[c+88>>2]=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);e=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);q[c+80>>2]=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);q[c+84>>2]=e;q[c+72>>2]=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);e=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);q[c+64>>2]=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);q[c+68>>2]=e;e=q[b+84>>2];q[c+48>>2]=q[b+80>>2];q[c+52>>2]=e;e=q[b+76>>2];q[c+40>>2]=q[b+72>>2];q[c+44>>2]=e;e=q[b+68>>2];q[c+32>>2]=q[b+64>>2];q[c+36>>2]=e;q[c+24>>2]=-1;q[c+16>>2]=-1;q[c+20>>2]=-1;s=h>>>0>1?h:1;p=l&-3;while(1){j=d<<2;g=j+(c+16|0)|0;if(d){k=q[b+4>>2]+97552|0;b:{if(!((d|0)!=1|p)){break b}e=q[b+4>>2];k=e+97616|0;if(!((d|0)!=2|p)){break b}k=e+97488|0}e=r[k|0]}else{e=0}q[g>>2]=e;g=1<>2]+r[l+97688|0];c:{if(!(r[(c+112|0)+e|0]&g>>>1)){break c}if(r[f|0]==(d|0)){o[c+112|0]=g+(r[c+112|0]^-1)}if(r[f+1|0]==(d|0)){o[c+113|0]=g+(r[c+113|0]^-1)}if(r[f+2|0]==(d|0)){o[c+114|0]=g+(r[c+114|0]^-1)}if(r[f+3|0]==(d|0)){o[c+115|0]=g+(r[c+115|0]^-1)}if(r[f+4|0]==(d|0)){o[c+116|0]=g+(r[c+116|0]^-1)}if(r[f+5|0]==(d|0)){o[c+117|0]=g+(r[c+117|0]^-1)}if(r[f+6|0]==(d|0)){o[c+118|0]=g+(r[c+118|0]^-1)}if(r[f+7|0]==(d|0)){o[c+119|0]=g+(r[c+119|0]^-1)}if(r[f+8|0]==(d|0)){o[c+120|0]=g+(r[c+120|0]^-1)}if(r[f+9|0]==(d|0)){o[c+121|0]=g+(r[c+121|0]^-1)}if(r[f+10|0]==(d|0)){o[c+122|0]=g+(r[c+122|0]^-1)}if(r[f+11|0]==(d|0)){o[c+123|0]=g+(r[c+123|0]^-1)}if(r[f+12|0]==(d|0)){o[c+124|0]=g+(r[c+124|0]^-1)}if(r[f+13|0]==(d|0)){o[c+125|0]=g+(r[c+125|0]^-1)}if(r[f+14|0]==(d|0)){o[c+126|0]=g+(r[c+126|0]^-1)}if(r[f+15|0]==(d|0)){o[c+127|0]=g+(r[c+127|0]^-1)}d:{if((l&-2)!=4){g=j+(c+80|0)|0;i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);k=j+(c- -64|0)|0;m=r[k|0]|r[k+1|0]<<8|(r[k+2|0]<<16|r[k+3|0]<<24);o[g|0]=m;o[g+1|0]=m>>>8;o[g+2|0]=m>>>16;o[g+3|0]=m>>>24;o[k|0]=i;o[k+1|0]=i>>>8;o[k+2|0]=i>>>16;o[k+3|0]=i>>>24;break d}g=j+(c+80|0)|0;i=r[g|0];k=j+(c- -64|0)|0;o[g|0]=r[k|0];o[k|0]=i;i=r[g+1|0]|r[g+2|0]<<8;m=r[k+1|0]|r[k+2|0]<<8;o[g+1|0]=m;o[g+2|0]=m>>>8;o[k+1|0]=i;o[k+2|0]=i>>>8}if((l|0)==1){break c}g=(c+32|0)+(d<<3)|0;q[g>>2]=Uwa(q[g>>2],q[g+4>>2],32);q[g+4>>2]=wi}e:{if((l&-2)!=4){break e}k=r[(c+96|0)+e|0];e=1<>2];if(!(k&e>>>1)){break e}if(r[f|0]==(d|0)){o[c+96|0]=e+(r[c+96|0]^-1)}if(r[f+1|0]==(d|0)){o[c+97|0]=e+(r[c+97|0]^-1)}if(r[f+2|0]==(d|0)){o[c+98|0]=e+(r[c+98|0]^-1)}if(r[f+3|0]==(d|0)){o[c+99|0]=e+(r[c+99|0]^-1)}if(r[f+4|0]==(d|0)){o[c+100|0]=e+(r[c+100|0]^-1)}if(r[f+5|0]==(d|0)){o[c+101|0]=e+(r[c+101|0]^-1)}if(r[f+6|0]==(d|0)){o[c+102|0]=e+(r[c+102|0]^-1)}if(r[f+7|0]==(d|0)){o[c+103|0]=e+(r[c+103|0]^-1)}if(r[f+8|0]==(d|0)){o[c+104|0]=e+(r[c+104|0]^-1)}if(r[f+9|0]==(d|0)){o[c+105|0]=e+(r[c+105|0]^-1)}if(r[f+10|0]==(d|0)){o[c+106|0]=e+(r[c+106|0]^-1)}if(r[f+11|0]==(d|0)){o[c+107|0]=e+(r[c+107|0]^-1)}if(r[f+12|0]==(d|0)){o[c+108|0]=e+(r[c+108|0]^-1)}if(r[f+13|0]==(d|0)){o[c+109|0]=e+(r[c+109|0]^-1)}if(r[f+14|0]==(d|0)){o[c+110|0]=e+(r[c+110|0]^-1)}if(r[f+15|0]==(d|0)){o[c+111|0]=e+(r[c+111|0]^-1)}e=j+(c+80|0)|0;g=r[e+3|0];k=e;e=j+(c- -64|0)|0;o[k+3|0]=r[e+3|0];o[e+3|0]=g}d=d+1|0;if((s|0)!=(d|0)){continue}break}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[c+12>>2]=0;Ml(a,1<>2],2,c+12|0)}if((l|0)==4){Ml(a,q[b+88>>2],1,c+12|0)}if(n>>>0>=3){Ml(a,q[b+4>>2],142>>>l&1?6:4,c+12|0)}e=h>>>0>1?h:1;k=l>>>0>3?4:3;f=0;while(1){f:{if((f|0)!=3){g=r[l+97696|0];d=0;while(1){j=d<<2;Ml(a,r[(j+(c+80|0)|0)+f|0],g,c+12|0);Ml(a,r[(j+(c- -64|0)|0)+f|0],g,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}break f}g=o[l+97704|0];d=0;while(1){j=d<<2;Ml(a,r[(j+(c+80|0)|0)+3|0],g,c+12|0);Ml(a,r[(j+(c- -64|0)|0)+3|0],g,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}}f=f+1|0;if((k|0)!=(f|0)){continue}break}g:{if(52>>>l&1){break g}d=0;if((l|0)==1){while(1){Ml(a,q[(c+32|0)+(d<<3)>>2],1,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break g}}while(1){f=(c+32|0)+(d<<3)|0;Ml(a,q[f>>2],1,c+12|0);Ml(a,q[f+4>>2],1,c+12|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=q[c+24>>2];d=q[c+20>>2];g=q[c+16>>2];k=0;while(1){f=a;j=k<<2;i=r[j+(q[b+88>>2]?c+96|0:c+112|0)|0];h=q[b+88>>2];h:{if(h){h=r[l+97712|0]-h|0;break h}h=r[l+97688|0]}Ml(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);f=a;h=j|1;m=r[h+(q[b+88>>2]?c+96|0:c+112|0)|0];i=q[b+88>>2];i:{if(i){i=r[l+97712|0]-i|0;break i}i=r[l+97688|0]}Ml(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;h=j|2;m=r[h+(q[b+88>>2]?c+96|0:c+112|0)|0];i=q[b+88>>2];j:{if(i){i=r[l+97712|0]-i|0;break j}i=r[l+97688|0]}Ml(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;j=j|3;i=r[j+(q[b+88>>2]?c+96|0:c+112|0)|0];h=q[b+88>>2];k:{if(h){h=r[l+97712|0]-h|0;break k}h=r[l+97688|0]}Ml(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);k=k+1|0;if((k|0)!=4){continue}break}if((l&-2)==4){k=0;while(1){f=a;j=k<<2;i=r[j+(q[b+88>>2]?c+112|0:c+96|0)|0];h=q[b+88>>2];l:{if(h){h=h+r[l+97688|0]|0;break l}h=r[l+97712|0]}Ml(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);f=a;h=j|1;m=r[h+(q[b+88>>2]?c+112|0:c+96|0)|0];i=q[b+88>>2];m:{if(i){i=i+r[l+97688|0]|0;break m}i=r[l+97712|0]}Ml(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;h=j|2;m=r[h+(q[b+88>>2]?c+112|0:c+96|0)|0];i=q[b+88>>2];n:{if(i){i=i+r[l+97688|0]|0;break n}i=r[l+97712|0]}Ml(f,m,i-((g|0)==(h|0)|(d|0)==(h|0)|(e|0)==(h|0))|0,c+12|0);f=a;j=j|3;i=r[j+(q[b+88>>2]?c+112|0:c+96|0)|0];h=q[b+88>>2];o:{if(h){h=h+r[l+97688|0]|0;break o}h=r[l+97712|0]}Ml(f,i,h-((g|0)==(j|0)|(d|0)==(j|0)|(e|0)==(j|0))|0,c+12|0);k=k+1|0;if((k|0)!=4){continue}break}}if(q[c+12>>2]==128){ti=c+128|0;return}J(97720,92069,11725,97739);G()}function fka(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=x(0),m=x(0),n=0,v=0,z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=0,F=x(0),H=0,I=0,K=0,L=0,M=x(0);b=ti-224|0;ti=b;e=q[a+4>>2];k=q[a+8>>2];i=r[k+8|0];q[b+216>>2]=0;a=q[e>>2];c=q[e+4>>2]-a|0;f=(c|0)/240|0;a:{b:{if(!c){break b}c:{if((r[q[q[q[q[a>>2]+80>>2]+8>>2]>>2]+3272|0]&4)>>>2|0){v=f>>>0>1?f:1;while(1){a=q[e>>2];if((q[e+4>>2]-a|0)/240>>>0<=g>>>0){break a}a=a+w(g,240)|0;d=u[a+32>>2];l=u[a+36>>2];z=u[a+44>>2];j=u[a+40>>2];h=u[a+24>>2];c=q[a+16>>2];n=q[a+20>>2];q[b+156>>2]=0;q[b+172>>2]=0;q[b+188>>2]=0;q[b+192>>2]=c;q[b+196>>2]=n;q[b+204>>2]=1065353216;u[b+200>>2]=h;C=x(l+l);m=x(d*C);h=x(j+j);B=x(z*h);u[b+148>>2]=m+B;D=x(d*h);F=x(C*z);u[b+152>>2]=D-F;u[b+160>>2]=m-B;A=d;d=x(d+d);m=x(x(1)-x(A*d));j=x(j*h);u[b+164>>2]=m-j;h=x(l*h);d=x(d*z);u[b+168>>2]=h+d;u[b+176>>2]=D+F;u[b+180>>2]=h-d;d=x(l*C);u[b+184>>2]=m-d;u[b+144>>2]=x(x(1)-d)-j;c=op(q[a>>2]);u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];u[b+96>>2]=u[c+16>>2];u[b+100>>2]=u[c+20>>2];u[b+104>>2]=u[c+24>>2];u[b+108>>2]=u[c+28>>2];u[b+112>>2]=u[c+32>>2];u[b+116>>2]=u[c+36>>2];u[b+120>>2]=u[c+40>>2];u[b+124>>2]=u[c+44>>2];u[b+128>>2]=u[c+48>>2];u[b+132>>2]=u[c+52>>2];u[b+136>>2]=u[c+56>>2];u[b+140>>2]=u[c+60>>2];l=u[a+52>>2];z=u[a+68>>2];d=u[a+48>>2];j=u[a+64>>2];Kk(b+16|0,b+80|0,b+144|0);h=u[b+16>>2];C=u[b+44>>2];m=u[b+40>>2];B=u[b+36>>2];D=u[b+32>>2];F=u[b+28>>2];A=u[b+24>>2];M=u[b+20>>2];c=q[b+48>>2];n=q[b+52>>2];E=q[b+56>>2];H=q[b+60>>2];I=q[b+64>>2];K=q[b+68>>2];L=q[b+76>>2];q[a+136>>2]=q[b+72>>2];q[a+140>>2]=L;q[a+128>>2]=I;q[a+132>>2]=K;q[a+120>>2]=E;q[a+124>>2]=H;q[a+112>>2]=c;q[a+116>>2]=n;d=x(j*d);j=x(M*d);u[a+84>>2]=j;A=x(d*A);u[a+88>>2]=A;u[a+92>>2]=d*F;l=x(z*l);u[a+96>>2]=D*l;u[a+100>>2]=l*B;u[a+104>>2]=l*m;u[a+108>>2]=l*C;d=x(d*h);u[a+80>>2]=d;c=q[e+68>>2];if(q[e+72>>2]-c>>2>>>0<=g>>>0){break a}d=x(x(d+u[a+96>>2])*x(.5));h=x(d*d);d=x(x(j+u[a+100>>2])*x(.5));h=x(h+x(d*d));d=x(x(A+u[a+104>>2])*x(.5));u[c+(g<<2)>>2]=h+x(d*d);g=g+1|0;if((v|0)!=(g|0)){continue}break}break c}v=f>>>0>1?f:1;while(1){a=q[e>>2];if((q[e+4>>2]-a|0)/240>>>0<=g>>>0){break a}a=a+w(g,240)|0;d=u[a+32>>2];l=u[a+36>>2];z=u[a+44>>2];j=u[a+40>>2];h=u[a+24>>2];c=q[a+16>>2];n=q[a+20>>2];q[b+156>>2]=0;q[b+172>>2]=0;q[b+188>>2]=0;q[b+192>>2]=c;q[b+196>>2]=n;q[b+204>>2]=1065353216;u[b+200>>2]=h;C=x(l+l);m=x(d*C);h=x(j+j);B=x(z*h);u[b+148>>2]=m+B;D=x(d*h);F=x(C*z);u[b+152>>2]=D-F;u[b+160>>2]=m-B;A=d;d=x(d+d);m=x(x(1)-x(A*d));j=x(j*h);u[b+164>>2]=m-j;h=x(l*h);d=x(d*z);u[b+168>>2]=h+d;u[b+176>>2]=D+F;u[b+180>>2]=h-d;d=x(l*C);u[b+184>>2]=m-d;u[b+144>>2]=x(x(1)-d)-j;c=op(q[a>>2]);u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];u[b+96>>2]=u[c+16>>2];u[b+100>>2]=u[c+20>>2];u[b+104>>2]=u[c+24>>2];u[b+108>>2]=u[c+28>>2];u[b+112>>2]=u[c+32>>2];u[b+116>>2]=u[c+36>>2];u[b+120>>2]=u[c+40>>2];u[b+124>>2]=u[c+44>>2];u[b+128>>2]=u[c+48>>2];u[b+132>>2]=u[c+52>>2];u[b+136>>2]=u[c+56>>2];u[b+140>>2]=u[c+60>>2];Tn(b+16|0,b+80|0,b+144|0);l=u[b+44>>2];z=u[b+40>>2];j=u[b+36>>2];h=u[b+32>>2];C=u[b+28>>2];m=u[b+24>>2];B=u[b+20>>2];d=u[b+16>>2];c=q[b+72>>2];n=q[b+76>>2];E=q[b+64>>2];H=q[b+68>>2];I=q[b+56>>2];K=q[b+60>>2];L=q[b+52>>2];q[a+112>>2]=q[b+48>>2];q[a+116>>2]=L;q[a+120>>2]=I;q[a+124>>2]=K;q[a+128>>2]=E;q[a+132>>2]=H;q[a+136>>2]=c;q[a+140>>2]=n;A=d;d=x(u[a+64>>2]*u[a+48>>2]);D=x(A*d);u[a+80>>2]=D;B=x(d*B);u[a+84>>2]=B;m=x(d*m);u[a+88>>2]=m;u[a+92>>2]=d*C;d=x(u[a+68>>2]*u[a+52>>2]);h=x(h*d);u[a+96>>2]=h;j=x(d*j);u[a+100>>2]=j;z=x(d*z);u[a+104>>2]=z;u[a+108>>2]=d*l;a=q[e+68>>2];if(q[e+72>>2]-a>>2>>>0<=g>>>0){break a}d=x(x(D+h)*x(.5));A=x(d*d);d=x(x(B+j)*x(.5));A=x(A+x(d*d));d=x(x(m+z)*x(.5));u[a+(g<<2)>>2]=A+x(d*d);g=g+1|0;if((v|0)!=(g|0)){continue}break}}if(i&1){break b}f=f>>>0>1?f:1;i=q[e>>2];v=(q[e+4>>2]-i|0)/240|0;a=0;while(1){if((a|0)==(v|0)){break a}c=i+w(a,240)|0;n=c;d=u[c+132>>2];d:{if(x(y(d))>2]=g|0;g=c;d=u[c+128>>2];e:{if(x(y(d))>2]=c|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+144>>2]=0;v=q[e>>2];c=q[e+4>>2]-v|0;a=(c|0)/240|0;f:{g:{if(!c){g=0;f=0;break g}n=a>>>0>1?a:1;g=0;f=0;a=0;while(1){i=v+w(a,240)|0;E=s[i+234>>1];if((E&132)==132){c=q[i+196>>2];if(!c){c=q[q[i+188>>2]+8>>2]}c=q[c+64>>2];h:{if(q[c+72>>2]){i=q[c+64>>2]+(q[q[c+76>>2]+(q[i+216>>2]+q[(q[c+4>>2]+w(q[i+184>>2],40)|0)+12>>2]<<2)>>2]<<5)|0;c=q[i+12>>2]>>>1|0;i=q[i+28>>2];break h}i=E&512;c=i?16:4;i=i?54:6}f=i+f|0;g=c+g|0}a=a+1|0;if((n|0)!=(a|0)){continue}break}a=2;if(t[e+108>>2]>>0){break f}}a=(t[e+112>>2]>>0)<<1}q[e+112>>2]=f;q[e+108>>2]=g;o[e+124|0]=a|r[e+124|0]&253;c=q[e+4>>2]-q[e>>2]|0;a=(c|0)/240|0;if(c){v=q[k>>2];if(r[e+124|0]&2){c=q[e+92>>2];if(c){xi[q[77440]](c);q[e+92>>2]=0}q[e+92>>2]=xi[q[77439]](q[v+2384>>2],0,0,1);q[e+96>>2]=nl(q[e+96>>2],w(q[e+108>>2],24));c=t[e+108>>2]<65537;o[e+124|0]=c|r[e+124|0]&254;c=w(q[e+112>>2],c?2:4);q[e+116>>2]=nl(q[e+116>>2],c);g=q[e+104>>2];if(g){xi[q[77445]](g);q[e+104>>2]=0}q[e+104>>2]=xi[q[77444]](q[v+2384>>2],c,q[e+116>>2],1);o[e+124|0]=r[e+124|0]&253}g=ap(v,a);H=Ru(v,209,210,e)<<6;I=a>>>0>1?a:1;n=0;a=0;c=g;while(1){f=q[e>>2];if(!a&(q[e+4>>2]-f|0)/240>>>0<=n>>>0|a){break a}k=f+w(n,240)|0;f=s[k+234>>1];if((f&132)==132){i:{if(!(f&256)){f=q[k+192>>2];if(!f|!r[f+52|0]){break i}}E=q[k+188>>2];K=q[E+12>>2];i=b;f=q[k+200>>2];if(!f){f=q[E+16>>2]}q[i+80>>2]=f;f=q[k+196>>2];if(!f){f=q[E+8>>2]}q[i+16>>2]=f;q[b+144>>2]=0;q[b+148>>2]=0;q[b+160>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;Uj(b+144|0,b+80|0,4);Uj(b+144|0,b+16|0,4);Uj(b+144|0,K+12|0,4);f=q[k+192>>2];if(f){Us(f,b+144|0)}q[k+144>>2]=Bn(b+144|0);p[k+234>>1]=s[k+234>>1]&65279}f=q[k+128>>2];i=q[k+132>>2];d=u[k+136>>2];q[c+16>>2]=n;q[c+20>>2]=a;u[c+8>>2]=d;q[c>>2]=f;q[c+4>>2]=i;q[c+28>>2]=q[k+144>>2];i=c;f=q[k+200>>2];if(!f){f=q[q[k+188>>2]+16>>2]}q[i+32>>2]=q[f+80>>2];q[c+36>>2]=H|q[c+36>>2]&-16384|16;q[75900]=q[75900]+1;q[b+8>>2]=1;q[b+12>>2]=0;q[b>>2]=1;q[b+4>>2]=0;c=c+48|0}f=n+1|0;a=f>>>0<1?a+1|0:a;n=f;if((I|0)!=(f|0)|a){continue}break}$o(v,g,c)}ti=b+224|0;return 0}J(48683,48598,479,48308);G()}function _q(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=ti-192|0;ti=i;q[i+184>>2]=0;a:{b:{c:{d:{if(!q[a+16>>2]){break d}e=q[q[a+12>>2]>>2];l=q[e+8>>2]-q[e+12>>2]>>4;g=(c|0)==-2;k=g?q[q[a+16>>2]+(b<<2)>>2]:c;if((k|0)!=-2){bj(e,-1e4,q[a>>2]);jk(e);e:{if(!g){BF(e,c);if((Ei(e,-1)|0)!=6){Ci(e,-2);a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;jk(e);Ai(3,193721,194029,0);break d}vF(e,c);break e}bj(e,-1e4,k)}if((Ei(e,-1)|0)!=6){break c}bj(e,-1e4,q[a>>2]);c=1;f:{g:{switch(b-2|0){case 0:f=+u[d>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;c=2;break f;case 1:Zj(e,q[d+64>>2],q[d+68>>2]);a=q[d+80>>2];h:{if(a){yy(e,a,d+96|0);break h}a=q[d+84>>2];if(a){Lq(e,d+96|0,a);break h}gj(e,0,0)}Ul(e,d);c=4;break f;case 2:break g;default:break f}}g=q[d>>2];a=q[g+4>>2];k=q[g>>2];c=a;i:{if(a|k){Zj(e,k,c);break i}a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16}gj(e,0,0);c=s[g+952>>1];if(c&1){Ni(e,194123,7);f=+t[g+804>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);c=s[g+952>>1]}if(c&4){Ni(e,g+544|0,q[g+800>>2]);Di(e,-2,194131);c=s[g+952>>1]}if(c&8){Gi(i+32|0,g+808|0,144);Ni(e,194144,12);c=0;gj(e,32,0);while(1){a=q[e+8>>2];q[a+8>>2]=3;k=a;a=c+1|0;v[k>>3]=a|0;q[e+8>>2]=q[e+8>>2]+16;f=+u[(i+32|0)+(c<<2)>>2];c=q[e+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);c=a;if((a|0)!=32){continue}break}$i(e,-3);Ni(e,194157,15);c=0;gj(e,32,0);while(1){a=q[e+8>>2];q[a+8>>2]=3;k=a;a=c+1|0;v[k>>3]=a|0;q[e+8>>2]=q[e+8>>2]+16;h=i+32|0;k=0;j:{if(!h){break j}k=q[(h+(c>>>3&536870908)|0)+128>>2]>>>c&1}c=q[e+8>>2];q[c+8>>2]=3;v[c>>3]=k>>>0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);c=a;if((a|0)!=32){continue}break}$i(e,-3);Ni(e,194173,12);gj(e,4,0);a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[e+8>>2]=q[e+8>>2]+16;a=i+32|0;if(a){o[i+24|0]=r[a+136|0]}f=a?+r[i+24|0]:0;a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[e+8>>2]=q[e+8>>2]+16;a=i+32|0;if(a){o[i+24|0]=r[a+137|0]}f=a?+r[i+24|0]:0;a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[e+8>>2]=q[e+8>>2]+16;a=i+32|0;if(a){o[i+24|0]=r[a+138|0]}f=a?+r[i+24|0]:0;a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[e+8>>2]=q[e+8>>2]+16;a=i+32|0;if(a){o[i+24|0]=r[a+139|0]}f=a?+r[i+24|0]:0;a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);$i(e,-3)}if(q[g>>2]|q[g+4>>2]){Hi(e,194186);f=+u[g+8>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194192);a=s[g+952>>1]>>>5&1;c=q[e+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194200);a=s[g+952>>1]>>>6&1;c=q[e+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194209);a=s[g+952>>1]>>>7&1;c=q[e+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3)}a=s[g+952>>1];if(a&256){Hi(e,194218);f=+u[g+12>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194220);f=+u[g+16>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194222);f=+u[g+20>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194225);f=+u[g+24>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194228);f=+u[g+28>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194237);f=+u[g+32>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194246);f=+u[g+36>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194256);f=+u[g+40>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);a=s[g+952>>1]}if(a&512){Hi(e,194266);f=+u[g+44>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194272);f=+u[g+48>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194278);f=+u[g+52>>2];a=q[e+8>>2];q[a+8>>2]=3;v[a>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3)}k=q[g+540>>2];if((k|0)>=1){Ni(e,194284,5);gj(e,k,0);c=0;while(1){a=q[e+8>>2];q[a+8>>2]=3;h=a;a=c+1|0;v[h>>3]=a|0;q[e+8>>2]=q[e+8>>2]+16;gj(e,0,6);Ni(e,194290,2);c=g+w(c,44)|0;h=q[c+96>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194293,9);h=q[c+56>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194192,7);h=!q[c+60>>2];j=q[e+8>>2];q[j+8>>2]=1;q[j>>2]=h;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194200,8);h=q[c+60>>2]-3>>>0<2;j=q[e+8>>2];q[j+8>>2]=1;q[j>>2]=h;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194218,1);h=q[c- -64>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194220,1);h=q[c+68>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Hi(e,194228);f=+q[c+72>>2];h=q[e+8>>2];q[h+8>>2]=3;v[h>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194237);f=+q[c+76>>2];h=q[e+8>>2];q[h+8>>2]=3;v[h>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Ni(e,194222,2);h=q[c+80>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Ni(e,194225,2);h=q[c+84>>2];j=q[e+8>>2];q[j+8>>2]=3;v[j>>3]=h|0;q[e+8>>2]=q[e+8>>2]+16;$i(e,-3);Hi(e,194246);f=+q[c+88>>2];h=q[e+8>>2];q[h+8>>2]=3;v[h>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);Hi(e,194256);f=+q[c+92>>2];c=q[e+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[e+8>>2]=q[e+8>>2]+16;tj(e,-3);$i(e,-3);c=a;if((k|0)!=(a|0)){continue}break}$i(e,-3)}c=3;if(!(r[g+952|0]&16)){break f}Ni(e,194303,4);a=q[g+800>>2];k:{if(!a){Hi(e,193046);break k}Ni(e,g+544|0,a)}$i(e,-3)}a=q[(b<<2)+294048>>2];g=ti-128|0;ti=g;ti=g+128|0;q[i+24>>2]=0;c=Vl(e,c,-1);if(c){m=-2;if(q[e+8>>2]-q[e+12>>2]>>4!=(l|0)){break b}}l:{if(c){break l}c=q[e+8>>2]-q[e+12>>2]>>4;m:{if((b|0)==4){n:{o:{m=c-l|0;switch(m|0){case 0:break l;case 1:break o;default:break n}}if((Ei(e,-1)|0)!=1){break n}m=0;o[d+4|0]=(Ej(e,-1)|0)!=0;Ci(e,-2);break l}q[i>>2]=a;Ai(4,193721,194308,i);break m}m=0;if((c|0)==(l|0)){break l}q[i+20>>2]=0;q[i+16>>2]=a;Ai(4,193721,194375,i+16|0)}Ci(e,l);m=-2}a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;jk(e);if(q[e+8>>2]-q[e+12>>2]>>4==(l|0)){break d}J(193691,193630,2039,194019);G()}if(q[e+8>>2]-q[e+12>>2]>>4!=(l|0)){break a}}ti=i+192|0;return m}J(194101,193630,1720,194019);G()}J(193691,193630,2e3,194019);G()}J(193691,193630,2042,194019);G()}function nZ(a,b,c,d){var e=x(0),f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0,p=x(0),r=0,t=0,v=x(0),y=x(0),z=0,A=x(0),B=0,C=0,D=0,E=0,F=0,G=x(0),H=x(0),I=0,J=0,K=0,L=0,M=x(0),N=x(0),O=0,P=0,Q=0,R=0,S=x(0),T=0,U=0,V=0,W=0,X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=x(0),ea=x(0),fa=x(0),ga=x(0),ha=x(0),ia=0,ja=0,ka=0,la=0,ma=x(0);m=ti;ia=m;F=b>>1;i=F<<2;U=q[c+104>>2];h=q[c+92>>2];a:{if(h){m=U-(i+7&-8)|0;if((m|0)>2]){break a}q[c+104>>2]=m;z=h+m|0;break a}z=m-(i+15&-16)|0;ti=z}h=F<<2;I=h+a|0;j=(h+z|0)-8|0;m=q[((d<<2)+c|0)+1080>>2];b:{if(!F){f=m;break b}i=a;f=m;while(1){u[j+4>>2]=x(u[i>>2]*u[f>>2])-x(u[i+8>>2]*u[f+4>>2]);u[j>>2]=x(u[i>>2]*u[f+4>>2])+x(u[i+8>>2]*u[f>>2]);f=f+8|0;j=j-8|0;i=i+16|0;if((I|0)!=(i|0)){continue}break}}if(j>>>0>=z>>>0){i=((F<<2)+a|0)-12|0;while(1){u[j+4>>2]=x(u[i>>2]*u[f+4>>2])-x(u[i+8>>2]*u[f>>2]);u[j>>2]=x(u[f>>2]*x(-u[i>>2]))-x(u[i+8>>2]*u[f+4>>2]);i=i-16|0;f=f+8|0;j=j-8|0;if(z>>>0<=j>>>0){continue}break}}T=b>>2;if((b|0)>=16){h=T<<2;j=h+z|0;r=a+h|0;f=(m+(F<<2)|0)-32|0;h=a;i=z;while(1){k=u[i>>2];l=u[j>>2];g=u[j+4>>2];e=u[i+4>>2];u[r+4>>2]=g+e;u[r>>2]=u[j>>2]+u[i>>2];g=x(g-e);e=x(l-k);u[h+4>>2]=x(g*u[f+16>>2])-x(e*u[f+20>>2]);u[h>>2]=x(e*u[f+16>>2])+x(g*u[f+20>>2]);k=u[i+8>>2];l=u[j+8>>2];g=u[j+12>>2];e=u[i+12>>2];u[r+12>>2]=g+e;u[r+8>>2]=u[j+8>>2]+u[i+8>>2];g=x(g-e);e=x(l-k);u[h+12>>2]=x(g*u[f>>2])-x(e*u[f+4>>2]);u[h+8>>2]=x(e*u[f>>2])+x(g*u[f+4>>2]);i=i+16|0;j=j+16|0;h=h+16|0;r=r+16|0;f=f-32|0;if(m>>>0<=f>>>0){continue}break}}J=b>>3;h=0;c:{if((b|0)<0){break c}if((b|0)<=16383){h=o[b+205792|0];if((b|0)<=15){break c}h=o[(b>>>5|0)+205792|0]+5|0;if((b|0)<=511){break c}h=o[(b>>>10|0)+205792|0]+10|0;break c}if((b|0)<=16777215){h=o[(b>>>15|0)+205792|0]+15|0;if((b|0)<=524287){break c}h=o[(b>>>20|0)+205792|0]+20|0;break c}h=o[(b>>>25|0)+205792|0]+25|0;if((b|0)<=536870911){break c}h=o[(b>>>30|0)+205792|0]+30|0}j=b>>4;B=F-1|0;i=0-J|0;GE(j,a,B,i,m);GE(j,a,B-T|0,i,m);K=b>>5;i=0-j|0;ps(K,a,B,i,m,16);ps(K,a,B-J|0,i,m,16);ps(K,a,B-(J<<1)|0,i,m,16);ps(K,a,B+w(J,-3)|0,i,m,16);C=2;if((h|0)>=10){i=h-4>>1;C=(i|0)>3?i:3;j=2;while(1){i=j;j=i+1|0;t=2<=1){n=8<>i+2;r=0-(D>>1)|0;i=b>>i+4;while(1){ps(i,a,B-w(f,D)|0,r,m,n);f=f+1|0;if((t|0)!=(f|0)){continue}break}}if((j|0)!=(C|0)){continue}break}}V=h-7|0;if((V|0)>(C|0)){while(1){h=C;C=h+1|0;O=b>>h+6;if((O|0)>=1){r=2<>h+2;ja=0-h|0;ka=i+1|0;la=0-(h>>1)|0;P=w(i,3);Q=P+1|0;L=i<<1;R=L|1;h=m;D=B;while(1){if((r|0)>=1){M=u[(Q<<2)+h>>2];N=u[(P<<2)+h>>2];G=u[(R<<2)+h>>2];H=u[(L<<2)+h>>2];A=u[(ka<<2)+h>>2];v=u[h+W>>2];y=u[h+4>>2];p=u[h>>2];f=(D<<2)+a|0;j=f+(la<<2)|0;i=r;while(1){t=j-4|0;l=u[t>>2];g=u[f>>2];e=u[j>>2];u[f>>2]=g+e;n=f-4|0;k=u[n>>2];u[n>>2]=k+u[t>>2];g=x(g-e);e=x(k-l);u[t>>2]=x(y*g)+x(p*e);u[j>>2]=x(p*g)-x(y*e);E=j-12|0;l=u[E>>2];n=f-8|0;g=u[n>>2];t=j-8|0;e=u[t>>2];u[n>>2]=g+e;n=f-12|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(A*g)+x(v*e);u[t>>2]=x(v*g)-x(A*e);E=j-20|0;l=u[E>>2];n=f-16|0;g=u[n>>2];t=j-16|0;e=u[t>>2];u[n>>2]=g+e;n=f-20|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(G*g)+x(H*e);u[t>>2]=x(H*g)-x(G*e);E=j-28|0;l=u[E>>2];n=f-24|0;g=u[n>>2];t=j-24|0;e=u[t>>2];u[n>>2]=g+e;n=f-28|0;k=u[n>>2];u[n>>2]=k+u[E>>2];g=x(g-e);e=x(k-l);u[E>>2]=x(M*g)+x(N*e);u[t>>2]=x(N*g)-x(M*e);n=ja<<2;j=n+j|0;f=f+n|0;n=(i|0)>1;i=i-1|0;if(n){continue}break}}D=D-8|0;h=(W<<2)+h|0;i=(O|0)>1;O=O-1|0;if(i){continue}break}}if((C|0)!=(V|0)){continue}break}}if((b|0)>=32){f=(B<<2)+a|0;P=f-(K<<6)|0;S=u[m+(J<<2)>>2];ma=x(-S);while(1){X=u[f>>2];Q=f-32|0;Y=u[Q>>2];k=x(X+Y);m=f-16|0;Z=u[m>>2];L=f-48|0;_=u[L>>2];l=x(Z+_);g=x(k+l);h=f-8|0;$=u[h>>2];R=f-40|0;aa=u[R>>2];ba=x($+aa);t=f-24|0;ca=u[t>>2];n=f-56|0;da=u[n>>2];ea=x(ca+da);e=x(ba+ea);u[f>>2]=g+e;u[h>>2]=g-e;G=x(k-l);B=f-12|0;fa=u[B>>2];C=f-44|0;H=u[C>>2];v=x(fa+H);D=f-28|0;ga=u[D>>2];r=f-60|0;A=u[r>>2];e=x(ga+A);y=x(v-e);u[m>>2]=G+y;j=f-4|0;M=u[j>>2];i=f-36|0;N=u[i>>2];p=x(M+N);m=f-20|0;k=u[m>>2];h=f-52|0;l=u[h>>2];g=x(k+l);ha=x(p+g);e=x(v+e);u[j>>2]=ha+e;u[t>>2]=G-y;u[B>>2]=ha-e;g=x(p-g);e=x(ba-ea);u[m>>2]=g-e;u[D>>2]=g+e;G=x(X-Y);v=x(k-l);y=x(G+v);p=x($-aa);k=x(fa-H);H=x(S*x(p+k));l=x(ga-A);g=x(ca-da);A=x(S*x(l-g));e=x(H+A);u[Q>>2]=y+e;u[R>>2]=y-e;v=x(G-v);y=x(S*x(k-p));e=x(x(g+l)*ma);p=x(y-e);u[L>>2]=v+p;k=x(M-N);l=x(Z-_);g=x(k-l);e=x(y+e);u[i>>2]=g+e;u[n>>2]=v-p;u[C>>2]=g-e;g=x(k+l);e=x(H-A);u[h>>2]=g-e;u[r>>2]=g+e;f=f+ -64|0;if(P>>>0>>0){continue}break}}C=F-4|0;f=((T<<2)+z|0)-16|0;if(z>>>0<=f>>>0){j=(C<<2)+z|0;i=q[((d<<2)+c|0)+1112>>2];while(1){h=(s[i>>1]<<2)+a|0;u[j+12>>2]=u[h>>2];u[j+8>>2]=u[h+4>>2];u[f+12>>2]=u[h+8>>2];u[f+8>>2]=u[h+12>>2];h=(s[i+2>>1]<<2)+a|0;u[j+4>>2]=u[h>>2];u[j>>2]=u[h+4>>2];u[f+4>>2]=u[h+8>>2];u[f>>2]=u[h+12>>2];i=i+4|0;j=j-16|0;f=f-16|0;if(z>>>0<=f>>>0){continue}break}}j=(F<<2)+z|0;h=j-16|0;if(z>>>0>>0){i=q[((d<<2)+c|0)+1096>>2];r=j;f=z;while(1){g=u[f+4>>2];D=r-4|0;e=u[D>>2];A=x(g-e);v=u[i+4>>2];y=x(g+e);p=u[f>>2];m=r-8|0;g=u[m>>2];k=x(p-g);e=u[i>>2];l=x(x(v*y)-x(k*e));u[f+4>>2]=A+l;g=x(p+g);e=x(x(k*v)+x(y*e));u[f>>2]=g+e;u[D>>2]=l-A;u[m>>2]=g-e;g=u[f+12>>2];m=r-12|0;e=u[m>>2];A=x(g-e);v=u[i+12>>2];y=x(g+e);p=u[f+8>>2];g=u[h>>2];k=x(p-g);e=u[i+8>>2];l=x(x(v*y)-x(k*e));u[f+12>>2]=A+l;g=x(p+g);e=x(x(k*v)+x(y*e));u[f+8>>2]=g+e;u[h>>2]=g-e;u[m>>2]=l-A;i=i+16|0;r=h;f=f+16|0;h=h-16|0;if(f>>>0>>0){continue}break}}h=j-32|0;if(z>>>0<=h>>>0){f=q[((d<<2)+c|0)+1088>>2]+(F<<2)|0;i=(C<<2)+a|0;r=((b<<2)+a|0)-16|0;while(1){p=u[j-8>>2];k=u[f-4>>2];l=u[j-4>>2];g=u[f-8>>2];e=x(x(p*k)-x(l*g));u[a>>2]=e;u[i+12>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I>>2]=e;u[r+12>>2]=e;p=u[j-16>>2];k=u[f-12>>2];l=u[j-12>>2];g=u[f-16>>2];e=x(x(p*k)-x(l*g));u[a+4>>2]=e;u[i+8>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+4>>2]=e;u[r+8>>2]=e;p=u[j-24>>2];k=u[f-20>>2];l=u[j-20>>2];g=u[f-24>>2];e=x(x(p*k)-x(l*g));u[a+8>>2]=e;u[i+4>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+8>>2]=e;u[r+4>>2]=e;p=u[h>>2];k=u[f-28>>2];l=u[j-28>>2];f=f-32|0;g=u[f>>2];e=x(x(p*k)-x(l*g));u[a+12>>2]=e;u[i>>2]=-e;e=x(x(g*x(-p))-x(k*l));u[I+12>>2]=e;u[r>>2]=e;r=r-16|0;i=i-16|0;I=I+16|0;a=a+16|0;j=h;h=h-32|0;if(z>>>0<=h>>>0){continue}break}}q[c+104>>2]=U;ti=ia}function eC(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;a:{if(q[a+18368>>2]>15){break a}while(1){i=0;b:{if(q[a+18376>>2]){break b}h=q[a>>2];j=q[h+172>>2];c:{if(j>>>0>2]){q[h+172>>2]=j+1;i=r[j|0];break c}if(!q[h+32>>2]){break b}j=h+40|0;i=xi[q[h+16>>2]](q[h+28>>2],j,q[h+36>>2])|0;q[h+168>>2]=q[h+168>>2]+(q[h+172>>2]-q[h+180>>2]|0);d:{if(!i){o[h+40|0]=0;q[h+32>>2]=0;j=h+41|0;i=0;break d}j=i+j|0;i=r[h+40|0]}q[h+176>>2]=j;q[h+172>>2]=h+41}if((i|0)!=255){break b}i=q[a>>2];h=q[i+172>>2];e:{if(h>>>0>2]){q[i+172>>2]=h+1;h=r[h|0];break e}if(!q[i+32>>2]){h=0;break e}j=i+40|0;h=xi[q[i+16>>2]](q[i+28>>2],j,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);f:{if(!h){o[i+40|0]=0;q[i+32>>2]=0;j=i+41|0;h=0;break f}j=h+j|0;h=r[i+40|0]}q[i+176>>2]=j;q[i+172>>2]=i+41}while(1){i=255;if((h|0)!=255){if(!h){break b}q[a+18376>>2]=1;o[a+18372|0]=h;break a}i=q[a>>2];h=q[i+172>>2];if(h>>>0>2]){q[i+172>>2]=h+1;h=r[h|0];continue}h=0;if(!q[i+32>>2]){continue}j=i+40|0;h=xi[q[i+16>>2]](q[i+28>>2],j,q[i+36>>2])|0;q[i+168>>2]=q[i+168>>2]+(q[i+172>>2]-q[i+180>>2]|0);g:{if(!h){o[i+40|0]=0;q[i+32>>2]=0;j=i+41|0;h=0;break g}j=h+j|0;h=r[i+40|0]}q[i+176>>2]=j;q[i+172>>2]=i+41;continue}}h=q[a+18368>>2];q[a+18368>>2]=h+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-h;if((h|0)<17){continue}break}}h:{k=Cr(a,c);if((k|0)<=-1){break h}l=Fi(b,0,128);i:{if(!k){break i}j:{if((k|0)<=q[a+18368>>2]){break j}while(1){i=0;k:{if(q[a+18376>>2]){break k}b=q[a>>2];c=q[b+172>>2];l:{if(c>>>0>2]){q[b+172>>2]=c+1;i=r[c|0];break l}if(!q[b+32>>2]){break k}j=b+40|0;h=xi[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;m:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break m}i=r[b+40|0];h=h+j|0}q[c+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break k}b=q[a>>2];c=q[b+172>>2];n:{if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];break n}if(!q[b+32>>2]){h=0;break n}h=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);o:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break o}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break k}q[a+18376>>2]=1;o[a+18372|0]=h;break j}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);p:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break p}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}if(k>>>0>16){break i}b=q[a+18364>>2];q[a+18368>>2]=q[a+18368>>2]-k;c=Twa(b,k);h=k<<2;i=q[h+164400>>2];q[a+18364>>2]=c&(i^-1);m=(q[h+164576>>2]&(b>>31^-1))+(c&i)|0}c=(w(f,72)+a|0)+18100|0;b=q[c>>2]+m|0;q[c>>2]=b;p[l>>1]=w(b,s[g>>1]);c=1;while(1){q:{if(q[a+18368>>2]>15){break q}while(1){i=0;r:{if(q[a+18376>>2]){break r}b=q[a>>2];f=q[b+172>>2];s:{if(f>>>0>2]){q[b+172>>2]=f+1;i=r[f|0];break s}if(!q[b+32>>2]){break r}j=b+40|0;h=xi[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);f=b;t:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break t}i=r[b+40|0];h=h+j|0}q[f+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break r}b=q[a>>2];f=q[b+172>>2];u:{if(f>>>0>2]){q[b+172>>2]=f+1;h=r[f|0];break u}if(!q[b+32>>2]){h=0;break u}h=b+40|0;f=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);v:{if(!f){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break v}j=f+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break r}q[a+18376>>2]=1;o[a+18372|0]=h;break q}b=q[a>>2];f=q[b+172>>2];if(f>>>0>2]){q[b+172>>2]=f+1;h=r[f|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;f=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);w:{if(!f){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break w}j=f+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}f=q[a+18364>>2];b=s[(f>>>22&1022)+e>>1];x:{y:{if(b){h=f;f=b&15;q[a+18364>>2]=h<>2]=q[a+18368>>2]-f;c=(b>>>4&15)+c|0;f=r[c+164144|0]<<1;p[f+l>>1]=w(s[f+g>>1],b<<16>>16>>>8|0);c=c+1|0;break y}b=Cr(a,d);if((b|0)<=-1){break h}f=b&15;if(!f){if((b|0)!=240){break x}c=c+16|0;break y}k=(b>>>4|0)+c|0;m=r[k+164144|0];j=q[a+18368>>2];z:{if((f|0)<=(j|0)){break z}while(1){i=0;A:{if(q[a+18376>>2]){break A}b=q[a>>2];c=q[b+172>>2];B:{if(c>>>0>2]){q[b+172>>2]=c+1;i=r[c|0];break B}if(!q[b+32>>2]){break A}j=b+40|0;h=xi[q[b+16>>2]](q[b+28>>2],j,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;C:{if(!h){o[b+40|0]=0;q[b+32>>2]=0;h=b+41|0;break C}i=r[b+40|0];h=h+j|0}q[c+176>>2]=h;q[b+172>>2]=b+41}if((i|0)!=255){break A}b=q[a>>2];c=q[b+172>>2];D:{if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];break D}if(!q[b+32>>2]){h=0;break D}h=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);E:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break E}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41}while(1){i=255;if((h|0)!=255){if(!h){break A}q[a+18376>>2]=1;o[a+18372|0]=h;j=q[a+18368>>2];break z}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;h=r[c|0];continue}h=0;if(!q[b+32>>2]){continue}h=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],h,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);F:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;j=b+41|0;h=0;break F}j=c+h|0;h=r[b+40|0]}q[b+176>>2]=j;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];j=b+8|0;q[a+18368>>2]=j;q[a+18364>>2]=q[a+18364>>2]|i<<24-b;if((b|0)<17){continue}break}}q[a+18368>>2]=j-f;c=q[a+18364>>2];b=Twa(c,f);f=f<<2;h=q[f+164400>>2];q[a+18364>>2]=b&(h^-1);i=m<<1;p[i+l>>1]=w(s[g+i>>1],(q[f+164576>>2]&(c>>31^-1))+(b&h)|0);c=k+1|0}if((c|0)<64){continue}}break}return 1}q[215613]=164129;return 0}function $v(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=ti-16|0;ti=e;g=1;a:{b:{switch(b-a>>4){case 2:b=b-16|0;c=b;d=q[c>>2];c=q[c+4>>2];f=q[a+4>>2];if((c|0)==(f|0)&t[a>>2]<=d>>>0|c>>>0>f>>>0){break a}c=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=c;c=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a;case 3:c=a+16|0;b=b-16|0;h=q[b>>2];d=q[b+4>>2];f=q[a+20>>2];j=q[a+4>>2];i=q[a+16>>2];if((f|0)==(j|0)&i>>>0>=t[a>>2]|f>>>0>j>>>0){if((d|0)==(f|0)&h>>>0>=i>>>0|d>>>0>f>>>0){break a}d=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=d;d=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=d;d=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=d;b=q[a+20>>2];d=q[a+4>>2];if((b|0)==(d|0)&t[a+16>>2]>=t[a>>2]|b>>>0>d>>>0){break a}b=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=b;b=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;a=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=a;a=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=a;break a}if((d|0)==(f|0)&h>>>0>>0|d>>>0>>0){c=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=c;c=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a}d=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=d;d=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=d;d=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=d;d=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=d;d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[b+4>>2];f=q[a+20>>2];if((d|0)==(f|0)&t[b>>2]>=t[a+16>>2]|d>>>0>f>>>0){break a}a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=a;a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;a=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=a;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;break a;case 4:Jo(a,a+16|0,a+32|0,b-16|0);break a;case 5:d=a+16|0;c=a+32|0;f=a+48|0;Jo(a,d,c,f);b=b-16|0;i=q[b>>2];h=q[b+4>>2];k=q[a+52>>2];if((h|0)==(k|0)&t[a+48>>2]<=i>>>0|h>>>0>k>>>0){break a}h=q[f+12>>2];q[e+8>>2]=q[f+8>>2];q[e+12>>2]=h;h=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=h;h=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=h;h=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=h;h=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=h;h=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=h;b=q[f+4>>2];h=q[c+4>>2];if((b|0)==(h|0)&t[f>>2]>=t[c>>2]|b>>>0>h>>>0){break a}b=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=b;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;b=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=b;b=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=b;b=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=b;b=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=b;b=q[c+4>>2];f=q[d+4>>2];if((b|0)==(f|0)&t[c>>2]>=t[d>>2]|b>>>0>f>>>0){break a}b=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=b;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=b;b=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=b;b=q[a+20>>2];c=q[a+4>>2];if((b|0)==(c|0)&t[a+16>>2]>=t[a>>2]|b>>>0>c>>>0){break a}b=q[a+12>>2];q[e+8>>2]=q[a+8>>2];q[e+12>>2]=b;b=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;a=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=a;a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;break a;case 0:case 1:break a;default:break b}}g=a+16|0;f=a+32|0;i=q[a+32>>2];d=q[a+36>>2];h=q[a+20>>2];k=q[a+4>>2];j=q[a+16>>2];l=q[a>>2];c:{if((h|0)==(k|0)&j>>>0>=l>>>0|h>>>0>k>>>0){if((d|0)==(h|0)&i>>>0>=j>>>0|d>>>0>h>>>0){break c}h=q[g+12>>2];c=e+8|0;q[c>>2]=q[g+8>>2];q[c+4>>2]=h;d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;d=f+8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=d;d=q[c+4>>2];q[f+8>>2]=q[c>>2];q[f+12>>2]=d;d=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=d;d=q[g+4>>2];if((k|0)==(d|0)&l>>>0<=t[g>>2]|d>>>0>k>>>0){break c}d=q[a+12>>2];q[c>>2]=q[a+8>>2];q[c+4>>2]=d;d=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=d;d=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=d;d=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=d;d=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=d;d=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=d;break c}if((d|0)==(h|0)&i>>>0>>0|d>>>0>>0){c=a+8|0;d=q[c+4>>2];q[e+8>>2]=q[c>>2];q[e+12>>2]=d;g=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=g;g=f+8|0;d=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=d;g=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=g;g=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=g;g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;break c}k=q[a+12>>2];c=e+8|0;q[c>>2]=q[a+8>>2];q[c+4>>2]=k;h=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=h;h=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=h;h=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=h;h=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=h;h=q[e+4>>2];q[g>>2]=q[e>>2];q[g+4>>2]=h;h=q[a+20>>2];if((h|0)==(d|0)&t[a+16>>2]<=i>>>0|d>>>0>h>>>0){break c}d=q[g+12>>2];q[c>>2]=q[g+8>>2];q[c+4>>2]=d;d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;d=f+8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=d;g=q[c+4>>2];q[f+8>>2]=q[c>>2];q[f+12>>2]=g;g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g}d:{e:{g=a+48|0;if((g|0)==(b|0)){break e}while(1){f:{d=g;h=q[d+4>>2];j=q[f+4>>2];i=q[d>>2];if((h|0)==(j|0)&i>>>0>2]|h>>>0>>0){k=q[d+8>>2];j=q[d+12>>2];c=d;while(1){g:{g=f;l=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=l;l=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=l;if((a|0)==(f|0)){g=a;break g}c=g;f=c-16|0;l=q[f+4>>2];if((l|0)==(h|0)&i>>>0>2]|h>>>0>>0){continue}}break}q[g+8>>2]=k;q[g+12>>2]=j;q[g>>2]=i;q[g+4>>2]=h;m=m+1|0;if((m|0)==8){break f}}f=d;g=d+16|0;if((g|0)!=(b|0)){continue}break e}break}c=(d+16|0)==(b|0);a=0;break d}a=1}g=a|c}ti=e+16|0;return g&1}function lH(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,p=0;e=ti-288|0;ti=e;k=a+2208|0;i=a+4|0;p=e+188|0;l=e+116|0;m=1;a:{b:{while(1){o[e+116|0]=0;q[e+112>>2]=-1;q[e+100>>2]=0;q[e+92>>2]=0;q[e+96>>2]=0;q[e+88>>2]=a;q[e+104>>2]=-1;q[e+108>>2]=0;o[e+180|0]=g&252;q[e+200>>2]=0;q[e+204>>2]=0;q[e+192>>2]=0;q[e+196>>2]=0;q[e+184>>2]=0;q[e+188>>2]=0;q[a+2128>>2]=0;q[a+2176>>2]=q[a+2176>>2]+1;g=0;d=-1;c:{if(u7(e+88|0,q[a>>2],s[a+2198>>1],r[a+2196|0],q[a+2160>>2])){break c}f=q[a+2204>>2];if(f){d=0;if(q[f>>2]){break c}}if(q[a+2160>>2]){f=pk();d=0;h=q[a+2168>>2];if(q[a+2160>>2]<=(f-h|0)){break c}}d=cm(e+88|0,c,Ui(c));d:{e:{if(d){q[a+2128>>2]=d;break e}d=cm(e+88|0,163348,1);if(d){q[a+2128>>2]=d;break e}d=cm(e+88|0,b,Ui(b));if(d){q[a+2128>>2]=d;break e}d=cm(e+88|0,163350,11);if(d){q[a+2128>>2]=d;break e}d=cm(e+88|0,163362,6);if(d){q[a+2128>>2]=d;break e}d=q[a>>2];d=cm(e+88|0,d,Ui(d));if(d){q[a+2128>>2]=d;break e}d=cm(e+88|0,163022,2);if(d){q[a+2128>>2]=d;break e}f:{g:{d=q[a+2152>>2];h:{if(d){if(xi[d|0](e+88|0,q[a+2132>>2])|0){break h}}i:{if(o[a+2200|0]&1){break i}d=q[a+2192>>2];if(!d){break i}if(qH(d,i,e+208|0)){break i}d=cm(e+88|0,163369,15);j:{if(d){break j}d=cm(e+88|0,e+208|0,Ui(e+208|0));if(d){break j}d=cm(e+88|0,163022,2);if(!d){break i}}q[a+2128>>2]=d;break h}k:{l:{m:{if(!nj(c,163012)){break m}if(!nj(c,163385)){break m}if(!nj(c,163389)){break m}d=0;break l}d=xi[q[a+2144>>2]](e+88|0,q[a+2132>>2])|0;if(!(d>>>0<16385|!r[a+2196|0]|!(r[a+2200|0]&2))){f=cm(e+88|0,163395,28);if(f){break f}f=0;break k}q[e+80>>2]=d;hj(e+208|0,64,163424,e+80|0);f=cm(e+88|0,e+208|0,Ui(e+208|0));if(f){break g}}f=1}g=cm(e+88|0,163022,2);if(g){q[a+2128>>2]=g;break e}n:{if(!nj(c,163012)){break n}if(!nj(c,163385)){break n}if(nj(c,163389)){break h}}if(!f){g=0;if(d){while(1){f=d-g|0;f=f>>>0<16384?f:16384;q[e+64>>2]=f;hj(e+208|0,64,163445,e- -64|0);o:{h=cm(e+88|0,e+208|0,Ui(e+208|0));if(!h){if(xi[q[a+2148>>2]](e+88|0,g,f,q[a+2132>>2])|0){break h}h=cm(e+88|0,163022,2);if(!h){break o}}q[a+2128>>2]=h;break h}g=f+g|0;if(g>>>0>>0){continue}break}}d=cm(e+88|0,163450,5);if(!d){break h}q[a+2128>>2]=d;break e}xi[q[a+2148>>2]](e+88|0,0,d,q[a+2132>>2])|0}d=-1;if(q[a+2128>>2]){break d}d=0;q[e+108>>2]=0;p:{while(1){q[e+208>>2]=0;f=65536-d|0;d=(a+d|0)+2208|0;q:{r:{g=q[e+204>>2];s:{if(g){d=Ku(g,d,f,e+208|0);break s}d=Du(q[e+200>>2],d,f,e+208|0)}d=(d|0)==-3?-101:d;t:{if((d|0)!=-101?d:0){break t}f=q[a+2204>>2];if(!(!f|!q[f>>2])){d=-3;break t}u:{if(!q[a+2160>>2]){break u}f=pk();g=q[a+2168>>2];if(q[a+2160>>2]>(f-g|0)){break u}d=-3;break t}if((d|0)==-101){break q}if(!d){break r}}q[a+2128>>2]=d;d=-1;break p}d=q[e+208>>2];f=d+q[e+108>>2]|0;q[e+108>>2]=f;o[(a+f|0)+2208|0]=0;v:{w:{x:{y:{z:{f=x7(k,e+88|0,!d);if((f|0)!=1){d=-2;if((f|0)==-1){break p}d=q[e+100>>2];if((d|0)==204){q[e+112>>2]=0}f=r[e+180|0];if(f&1|(d|0)==304|q[e+112>>2]!=-1){break z}o[e+180|0]=f|2;break y}if(q[e+208>>2]){break q}Ai(3,162927,163456,0);d=-7;break p}if((d|0)!=304){break y}d=q[e+112>>2];if(d+1>>>0<=1){q[a+2180>>2]=q[a+2180>>2]+1;d=0;A:{if(o[a+2200|0]&1){break A}d=q[a+2192>>2];if(!d){Ai(3,162927,163580,0);d=0;break A}o[e+208|0]=0;if(qH(d,i,e+208|0)){Ai(3,162927,163638,0);d=0;break A}B:{if(!r[e+116|0]){break B}if(!nj(e+208|0,l)){break B}q[e+36>>2]=l;q[e+32>>2]=e+208;Ai(5,162927,163722,e+32|0);d=-8;break A}q[e+284>>2]=0;d=-8;if(pH(q[a+2192>>2],i,e+208|0,e+284|0,e+272|0)){break A}while(1){d=tl(k,1,65536,q[e+284>>2]);o[(d+a|0)+2208|0]=0;xi[q[a+2136>>2]](e+88|0,q[a+2132>>2],q[e+100>>2],k,d);if(d){continue}break}nH(q[a+2192>>2],i,e+208|0,q[e+284>>2]);mH(q[a+2192>>2],i);d=0}q[e+108>>2]=0;break v}q[e+16>>2]=d;Ai(3,162927,163200,e+16|0);d=-3;break x}C:{if(o[a+2200|0]&1|(d|0)!=200){break C}f=q[a+2192>>2];if(!f){break C}L7(f,i,l,q[e+184>>2],p);d=q[e+100>>2]}xi[q[a+2136>>2]](e+88|0,q[a+2132>>2],d,0,0);D:{if(!nj(c,163747)){d=_u(a,e+88|0,0,q[a+2136>>2],1);break D}d=q[e+104>>2];if(o[e+180|0]&1){f=(a+d|0)+2208|0;d=q[e+108>>2]-d|0;f=Sk(k,f,d);q[e+104>>2]=0;q[e+108>>2]=d;while(1){E:{q[e+208>>2]=0;g=(a+d|0)+2208|0;o[g|0]=0;h=on(f,163022);F:{if(h){q[e+48>>2]=e+208;BC(f,163752,e+48|0);q[e+104>>2]=(h-f|0)+2;d=_u(a,e+88|0,q[e+208>>2],q[a+2136>>2],1);if(d){break D}d=_u(a,e+88|0,2,1362,0);if(d){break D}if(q[e+208>>2]){break F}d=0;break D}if((d|0)>=65536){d=-2;break D}d=65536-d|0;h=q[e+204>>2];G:{if(h){d=Ku(h,g,d,e+272|0);break G}d=Du(q[e+200>>2],g,d,e+272|0)}g=(d|0)==-3?-101:d;if((g|0)!=-101?g:0){break E}d=q[a+2204>>2];if(q[d>>2]?d:0){break E}if(q[a+2160>>2]){d=pk();h=q[a+2168>>2];if(q[a+2160>>2]<=(d-h|0)){break E}}if((g|0)==-101){break F}if(g){break E}q[e+108>>2]=q[e+108>>2]+q[e+272>>2]}d=q[e+108>>2];continue}break}d=-1;break D}if((d|0)==-1){break w}d=_u(a,e+88|0,q[e+112>>2],q[a+2136>>2],1)}g=q[e+188>>2];if(!g){break x}if(d){o[g+58|0]=r[g+58|0]|1;g=q[e+188>>2]}I7(q[a+2192>>2],g);q[e+188>>2]=0}f=q[e+108>>2];if(!f){break v}q[e>>2]=f;q[e+4>>2]=c;q[e+8>>2]=q[e+100>>2];Ai(4,162927,163262,e);d=-3;break d}J(163755,163072,897,163787);G()}g=0;H:{switch(d|0){case 1:break c;case 0:break H;default:break d}}d=q[e+100>>2]!=200;break c}d=q[e+108>>2];if((d|0)<=65535){continue}break}d=-2}o[e+180|0]=r[e+180|0]|2;break d}q[a+2128>>2]=f;break e}q[a+2128>>2]=f}d=-1}o[e+180|0]=r[e+180|0]|2;f=q[a+2204>>2];if(!(!f|!q[f>>2])){g=0;break c}I:{if(!q[a+2160>>2]){break I}f=pk();g=q[a+2168>>2];if(q[a+2160>>2]>(f-g|0)){break I}g=0;break c}if(!rra(q[e+192>>2],q[e+196>>2])){g=0;break c}g=0;if(q[e+108>>2]){break c}g=1;q[a+2188>>2]=q[a+2188>>2]+1;d=j}j=q[e+196>>2];J:{if(!j){break J}if(!(q[q[e+88>>2]+2128>>2]?0:!(r[e+180|0]&2))){ML(q[e+192>>2],j);break J}JL(q[e+192>>2],j)}if(g){f=n+1|0;if((f|0)==33){break b}m=n>>>0<32;g=r[e+180|0];j=d;n=f;continue}break}if(m){break a}}Ai(3,162927,163108,0);d=-1e3}ti=e+288|0;return d}function kpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=ti-176|0;ti=i;q[i+168>>2]=0;a:{f=q[q[a+12>>2]>>2];h=q[q[f>>2]+24>>2];if((h|0)==-2){break a}c=q[a+8>>2];b=0;b:{if(!c){break b}b=q[c+120>>2]}j=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[f+12>>2]);jk(b);bj(b,-1e4,h);bj(b,-1e4,q[f+12>>2]);f=a;c=q[a+4>>2];a=q[c+4>>2];h=q[c>>2];c=a;c:{if(a|h){Zj(b,h,c);break c}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16}gj(b,0,16);h=q[b+8>>2]-q[b+12>>2]>>4;a=q[f+4>>2];c=s[a+952>>1];if(c&1){Ni(b,12988,7);d=+t[q[f+4>>2]+804>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);a=q[f+4>>2];c=s[a+952>>1]}if(c&4){Ni(b,a+544|0,q[a+800>>2]);Di(b,h,12996);a=q[f+4>>2];c=s[a+952>>1]}if(c&8){Gi(i+16|0,a+808|0,144);Ni(b,13009,12);a=0;gj(b,32,0);while(1){c=q[b+8>>2];q[c+8>>2]=3;e=c;c=a+1|0;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;d=+u[(i+16|0)+(a<<2)>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);a=c;if((a|0)!=32){continue}break}$i(b,-3);Ni(b,13022,15);a=0;gj(b,32,0);while(1){c=q[b+8>>2];q[c+8>>2]=3;e=c;c=a+1|0;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;g=i+16|0;e=0;d:{if(!g){break d}e=q[(g+(a>>>3&536870908)|0)+128>>2]>>>a&1}a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=e>>>0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);a=c;if((a|0)!=32){continue}break}$i(b,-3);Ni(b,13038,12);gj(b,4,0);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[b+8>>2]=q[b+8>>2]+16;a=i+16|0;if(a){o[i+8|0]=r[a+136|0]}d=a?+r[i+8|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[b+8>>2]=q[b+8>>2]+16;a=i+16|0;if(a){o[i+8|0]=r[a+137|0]}d=a?+r[i+8|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[b+8>>2]=q[b+8>>2]+16;a=i+16|0;if(a){o[i+8|0]=r[a+138|0]}d=a?+r[i+8|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[b+8>>2]=q[b+8>>2]+16;a=i+16|0;if(a){o[i+8|0]=r[a+139|0]}d=a?+r[i+8|0]:0;a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);$i(b,-3);a=q[f+4>>2]}if(q[a>>2]|q[a+4>>2]){Ni(b,13051,5);d=+u[q[f+4>>2]+8>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13057,7);a=s[q[f+4>>2]+952>>1]>>>5&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13065,8);a=s[q[f+4>>2]+952>>1]>>>6&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13074,8);a=s[q[f+4>>2]+952>>1]>>>7&1;c=q[b+8>>2];q[c+8>>2]=1;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);a=q[f+4>>2]}c=s[a+952>>1];if(c&256){Ni(b,13083,1);d=+u[q[f+4>>2]+12>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13085,1);d=+u[q[f+4>>2]+16>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13087,2);d=+u[q[f+4>>2]+20>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13090,2);d=+u[q[f+4>>2]+24>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13093,8);d=+u[q[f+4>>2]+28>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13102,8);d=+u[q[f+4>>2]+32>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13111,9);d=+u[q[f+4>>2]+36>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13121,9);d=+u[q[f+4>>2]+40>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);a=q[f+4>>2];c=s[a+952>>1]}if(c&512){Ni(b,13131,5);d=+u[q[f+4>>2]+44>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13137,5);d=+u[q[f+4>>2]+48>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);Ni(b,13143,5);d=+u[q[f+4>>2]+52>>2];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,h);a=q[f+4>>2]}h=q[a+540>>2];if((h|0)>=1){Ni(b,13149,5);gj(b,h,0);c=0;while(1){e=q[f+4>>2];a=q[b+8>>2];q[a+8>>2]=3;g=a;a=c+1|0;v[g>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;gj(b,0,6);Ni(b,13155,2);c=e+w(c,44)|0;e=q[c+96>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13158,9);e=q[c+56>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13057,7);e=!q[c+60>>2];g=q[b+8>>2];q[g+8>>2]=1;q[g>>2]=e;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13065,8);e=q[c+60>>2]-3>>>0<2;g=q[b+8>>2];q[g+8>>2]=1;q[g>>2]=e;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13083,1);e=q[c- -64>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13085,1);e=q[c+68>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13093,8);d=+q[c+72>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13102,8);d=+q[c+76>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13087,2);e=q[c+80>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Ni(b,13090,2);e=q[c+84>>2];g=q[b+8>>2];q[g+8>>2]=3;v[g>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;$i(b,-3);Hi(b,13111);d=+q[c+88>>2];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=d;q[b+8>>2]=q[b+8>>2]+16;tj(b,-3);Hi(b,13121);d=+q[c+92>>2];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[b+8>>2]=q[b+8>>2]+16;tj(b,-3);$i(b,-3);c=a;if((a|0)!=(h|0)){continue}break}$i(b,-3);a=q[f+4>>2]}if(r[a+952|0]&16){a=q[a+800>>2];Ni(b,13168,4);e:{if(!a){Hi(b,13173);break e}Ni(b,q[f+4>>2]+544|0,a)}$i(b,-3)}a=q[b+8>>2]-q[b+12>>2]>>4;c=ti-128|0;ti=c;ti=c+128|0;q[i+8>>2]=0;c=-1e3;f:{if(Vl(b,3,-1)){break f}c=0;a=((q[b+8>>2]-q[b+12>>2]>>4)-a|0)+3|0;if((a|0)<0){break f}c=q[59625];g:{h:{if(a){break h}if((Ei(b,-1)|0)!=1){break h}c=(Ej(b,-1)|0)!=0;break g}q[i>>2]=c;Ai(4,12753,13174,i);c=-1e3}Ci(b,-2-a|0)}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;jk(b);if(q[b+8>>2]-q[b+12>>2]>>4==(j|0)){break a}J(12827,12848,715,13246);G()}ti=i+176|0;return c|0}function VA(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;m=ti-32|0;c=q[b+8>>2];h=q[c>>2];i=q[c+12>>2];k=q[b>>2];q[a+5200>>2]=0;q[a+5204>>2]=573;t=-1;a:{if((i|0)>0){while(1){c=(g<<2)+k|0;b:{if(s[c>>1]){c=q[a+5200>>2]+1|0;q[a+5200>>2]=c;q[((c<<2)+a|0)+2908>>2]=g;o[(a+g|0)+5208|0]=0;t=g;break b}p[c+2>>1]=0}g=g+1|0;if((i|0)!=(g|0)){continue}break}g=q[a+5200>>2];if((g|0)>1){break a}}if(!h){while(1){c=g+1|0;q[a+5200>>2]=c;f=((c<<2)+a|0)+2908|0;e=t+1|0;c=(t|0)<2;d=c?e:0;q[f>>2]=d;p[(d<<2)+k>>1]=1;o[(a+d|0)+5208|0]=0;q[a+5800>>2]=q[a+5800>>2]-1;t=c?e:t;g=q[a+5200>>2];if((g|0)<2){continue}break a}}while(1){c=g+1|0;q[a+5200>>2]=c;d=t+1|0;e=(t|0)<2;f=e?d:0;q[((c<<2)+a|0)+2908>>2]=f;c=f<<2;p[c+k>>1]=1;o[(a+f|0)+5208|0]=0;q[a+5800>>2]=q[a+5800>>2]-1;q[a+5804>>2]=q[a+5804>>2]-s[(c+h|0)+2>>1];t=e?d:t;g=q[a+5200>>2];if((g|0)<2){continue}break}}q[b+4>>2]=t;f=g>>>1|0;while(1){j=q[((f<<2)+a|0)+2908>>2];c=f;d=c<<1;c:{if((g|0)<(d|0)){break c}n=(a+j|0)+5208|0;u=(j<<2)+k|0;e=f;while(1){d:{if((d|0)>=(g|0)){c=d;break d}c=a+2908|0;h=d|1;v=q[c+(h<<2)>>2];l=s[(v<<2)+k>>1];g=q[c+(d<<2)>>2];c=s[(g<<2)+k>>1];if(l>>>0>=c>>>0){if((c|0)!=(l|0)){c=d;break d}c=d;d=a+5208|0;if(r[d+v|0]>r[d+g|0]){break d}}c=h}h=s[u>>1];g=q[((c<<2)+a|0)+2908>>2];d=s[(g<<2)+k>>1];if(h>>>0>>0){c=e;break c}if(!((d|0)!=(h|0)|r[n|0]>r[(a+g|0)+5208|0])){c=e;break c}q[((e<<2)+a|0)+2908>>2]=g;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}q[((c<<2)+a|0)+2908>>2]=j;if((f|0)>=2){f=f-1|0;g=q[a+5200>>2];continue}break}d=q[a+5200>>2];while(1){h=i;g=d-1|0;q[a+5200>>2]=g;j=q[a+2912>>2];n=q[((d<<2)+a|0)+2908>>2];q[a+2912>>2]=n;c=1;e:{if((d|0)<3){break e}u=(a+n|0)+5208|0;d=2;v=(n<<2)+k|0;e=1;while(1){f:{if((d|0)>=(g|0)){c=d;break f}c=a+2908|0;f=d|1;l=q[c+(f<<2)>>2];g=s[(l<<2)+k>>1];i=q[c+(d<<2)>>2];c=s[(i<<2)+k>>1];if(g>>>0>=c>>>0){if((c|0)!=(g|0)){c=d;break f}c=d;d=a+5208|0;if(r[d+l|0]>r[d+i|0]){break f}}c=f}f=s[v>>1];i=q[((c<<2)+a|0)+2908>>2];d=s[(i<<2)+k>>1];if(f>>>0>>0){c=e;break e}if(!((d|0)!=(f|0)|r[u|0]>r[(a+i|0)+5208|0])){c=e;break e}q[((e<<2)+a|0)+2908>>2]=i;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}d=2;x=a+2908|0;q[x+(c<<2)>>2]=n;c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;e=q[a+2912>>2];q[x+(c<<2)>>2]=j;c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;q[x+(c<<2)>>2]=e;n=(h<<2)+k|0;i=(e<<2)+k|0;f=(j<<2)+k|0;p[n>>1]=s[i>>1]+s[f>>1];y=a+5208|0;u=y+h|0;e=r[e+y|0];c=r[j+y|0];o[u|0]=(c>>>0>>0?e:c)+1;p[i+2>>1]=h;p[f+2>>1]=h;q[a+2912>>2]=h;e=1;c=1;g=q[a+5200>>2];g:{if((g|0)<2){break g}while(1){c=d;j=c;h:{if((c|0)>=(g|0)){break h}f=d|1;v=q[x+(f<<2)>>2];l=s[(v<<2)+k>>1];g=q[x+(d<<2)>>2];i=s[(g<<2)+k>>1];if(l>>>0>=i>>>0){j=d;if((i|0)!=(l|0)){break h}j=d;if(r[v+y|0]>r[g+y|0]){break h}}j=f}c=j;f=s[n>>1];i=q[((c<<2)+a|0)+2908>>2];d=s[(i<<2)+k>>1];if(f>>>0>>0){c=e;break g}if(!((d|0)!=(f|0)|r[u|0]>r[(a+i|0)+5208|0])){c=e;break g}q[((e<<2)+a|0)+2908>>2]=i;e=c;d=c<<1;g=q[a+5200>>2];if((d|0)<=(g|0)){continue}break}}i=h+1|0;q[((c<<2)+a|0)+2908>>2]=h;d=q[a+5200>>2];if((d|0)>1){continue}break}c=q[a+5204>>2]-1|0;q[a+5204>>2]=c;e=c<<2;c=a+2908|0;q[e+c>>2]=q[a+2912>>2];n=q[b+4>>2];e=q[b+8>>2];f=q[e+16>>2];C=q[e+8>>2];g=q[e+4>>2];i=q[e>>2];A=q[b>>2];B=a+2900|0;p[B>>1]=0;p[B+2>>1]=0;p[B+4>>1]=0;p[B+6>>1]=0;x=a+2892|0;p[x>>1]=0;p[x+2>>1]=0;p[x+4>>1]=0;p[x+6>>1]=0;y=a+2884|0;p[y>>1]=0;p[y+2>>1]=0;p[y+4>>1]=0;p[y+6>>1]=0;j=a+2876|0;p[j>>1]=0;p[j+2>>1]=0;p[j+4>>1]=0;p[j+6>>1]=0;p[((q[c+(q[a+5204>>2]<<2)>>2]<<2)+A|0)+2>>1]=0;i:{b=q[a+5204>>2];if((b|0)>571){break i}c=b+1|0;j:{if(!i){while(1){h=q[((c<<2)+a|0)+2908>>2];e=(h<<2)+A|0;i=s[((s[e+2>>1]<<2)+A|0)+2>>1];l=(f|0)>(i|0)?i+1|0:f;p[e+2>>1]=l;if((h|0)<=(n|0)){b=((l<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+1;q[a+5800>>2]=q[a+5800>>2]+w(s[e>>1],l+((h|0)>=(C|0)?q[g+(h-C<<2)>>2]:0)|0)}z=((f|0)<=(i|0))+z|0;c=c+1|0;if((c|0)!=573){continue}break j}}while(1){u=q[((c<<2)+a|0)+2908>>2];e=u<<2;h=e+A|0;d=s[((s[h+2>>1]<<2)+A|0)+2>>1];v=(d|0)<(f|0)?d+1|0:f;p[h+2>>1]=v;if((n|0)>=(u|0)){b=((v<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+1;l=0;b=s[h>>1];l=(u|0)>=(C|0)?q[g+(u-C<<2)>>2]:l;q[a+5800>>2]=q[a+5800>>2]+w(b,v+l|0);q[a+5804>>2]=q[a+5804>>2]+w(b,s[(e+i|0)+2>>1]+l|0)}z=((d|0)>=(f|0))+z|0;c=c+1|0;if((c|0)!=573){continue}break}}if(!z){break i}h=((f<<1)+a|0)+2876|0;while(1){c=f;while(1){b=c;c=c-1|0;d=((c<<1)+a|0)+2876|0;e=s[d>>1];if(!e){continue}break}p[d>>1]=e-1;b=((b<<1)+a|0)+2876|0;p[b>>1]=s[b>>1]+2;d=s[h>>1]-1|0;p[h>>1]=d;b=(z|0)>2;z=z-2|0;if(b){continue}break}if(!f){break i}c=573;while(1){e=d&65535;if(e){while(1){c=c-1|0;b=q[((c<<2)+a|0)+2908>>2];if((b|0)>(n|0)){continue}d=(b<<2)+A|0;b=s[d+2>>1];if((b|0)!=(f|0)){q[a+5800>>2]=q[a+5800>>2]+w(s[d>>1],f-b|0);p[d+2>>1]=f}e=e-1|0;if(e){continue}break}}f=f-1|0;if(!f){break i}d=s[((f<<1)+a|0)+2876>>1];continue}}b=s[j>>1]<<1;p[m+2>>1]=b;b=s[a+2878>>1]+(b&65534)<<1;p[m+4>>1]=b;b=s[a+2880>>1]+(b&65534)<<1;p[m+6>>1]=b;b=s[a+2882>>1]+(b&65534)<<1;p[m+8>>1]=b;b=s[y>>1]+(b&65534)<<1;p[m+10>>1]=b;b=s[a+2886>>1]+(b&65534)<<1;p[m+12>>1]=b;b=s[a+2888>>1]+(b&65534)<<1;p[m+14>>1]=b;b=s[a+2890>>1]+(b&65534)<<1;p[m+16>>1]=b;b=s[x>>1]+(b&65534)<<1;p[m+18>>1]=b;b=s[a+2894>>1]+(b&65534)<<1;p[m+20>>1]=b;b=s[a+2896>>1]+(b&65534)<<1;p[m+22>>1]=b;b=b+s[a+2898>>1]<<1;p[m+24>>1]=b;b=b+s[B>>1]<<1;p[m+26>>1]=b;b=b+s[a+2902>>1]<<1;p[m+28>>1]=b;p[m+30>>1]=b+s[a+2904>>1]<<1;if((t|0)>=0){while(1){f=(D<<2)+k|0;c=s[f+2>>1];if(c){b=(c<<1)+m|0;a=s[b>>1];p[b>>1]=a+1;d=0;while(1){e=a&1|d;d=e<<1;b=(c|0)>1;a=a>>>1|0;c=c-1|0;if(b){continue}break}p[f>>1]=e}a=(t|0)!=(D|0);D=D+1|0;if(a){continue}break}}}function LB(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,s=0,x=0,y=0,z=0,A=0,B=0;g=ti-304|0;ti=g;e=r[b|0];a:{if(!e){break a}b:{c:{d:{while(1){e:{e=e&255;f:{if((e|0)==32|e-9>>>0<5){while(1){e=b;b=b+1|0;d=r[e+1|0];if((d|0)==32|d-9>>>0<5){continue}break}nn(a,0,0);while(1){b=q[a+4>>2];g:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break g}b=ok(a)}if((b|0)==32|b-9>>>0<5){continue}break}b=q[a+4>>2];if(q[a+104>>2]){b=b-1|0;q[a+4>>2]=b}d=b-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=k+q[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;break f}h:{i:{j:{e=r[b|0];if((e|0)==37){d=r[b+1|0];if((d|0)==42){break j}if((d|0)!=37){break i}}nn(a,0,0);e=((e|0)==37)+b|0;b=q[a+4>>2];k:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break k}b=ok(a)}if((b|0)!=r[e|0]){if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}z=0;if((b|0)>=0){break a}break c}b=k+1|0;h=b>>>0<1?h+1|0:h;k=b;break f}j=0;e=b+2|0;break h}if(!(r[b+2|0]!=36|d-48>>>0>=10)){j=Gua(c,r[b+1|0]-48|0);e=b+3|0;break h}j=q[c>>2];c=c+4|0;e=b+1|0}z=0;b=0;if(r[e|0]-48>>>0<10){while(1){b=(r[e|0]+w(b,10)|0)-48|0;d=r[e+1|0];e=e+1|0;if(d-48>>>0<10){continue}break}}d=e;f=r[d|0];l:{if((f|0)!=109){break l}m=0;z=(j|0)!=0;f=r[e+1|0];n=0;d=e+1|0}e=d+1|0;i=3;m:{n:{switch(f-65|0){case 39:f=d+2|0;d=r[d+1|0]==104;e=d?f:e;i=d?-2:-1;break m;case 43:f=d+2|0;d=r[d+1|0]==108;e=d?f:e;i=d?3:1;break m;case 51:case 57:i=1;break m;case 11:i=2;break m;case 41:break m;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 n;default:break c}}i=0;e=d}f=r[e|0];d=(f&47)==3;y=d?1:i;s=d?f|32:f;o:{if((s|0)==91){break o}p:{if((s|0)!=110){if((s|0)!=99){break p}b=(b|0)>1?b:1;break o}bC(j,y,k,h);break f}nn(a,0,0);while(1){d=q[a+4>>2];q:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break q}d=ok(a)}if((d|0)==32|d-9>>>0<5){continue}break}d=q[a+4>>2];if(q[a+104>>2]){d=d-1|0;q[a+4>>2]=d}d=d-q[a+8>>2]|0;f=d;d=d>>31;l=f;x=h+q[a+124>>2]|0;f=k+q[a+120>>2]|0;x=f>>>0>>0?x+1|0:x;k=l+f|0;d=d+x|0;d=f>>>0>k>>>0?d+1|0:d;h=d}x=b;B=b>>31;nn(a,b,B);d=q[a+104>>2];f=q[a+4>>2];r:{if(d>>>0>f>>>0){q[a+4>>2]=f+1;break r}if((ok(a)|0)<0){break c}d=q[a+104>>2]}if(d){q[a+4>>2]=q[a+4>>2]-1}d=16;s:{t:{u:{v:{w:{x:{y:{switch(s-88|0){default:b=s-65|0;if(b>>>0>6|!(1<>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!j){break s}x=q[g+8>>2];f=q[g+12>>2];d=q[g>>2];b=q[g+4>>2];switch(y|0){case 2:break u;case 1:break v;case 0:break w;default:break s};case 3:case 11:case 27:if((s&239)==99){Fi(g+32|0,-1,257);o[g+32|0]=0;if((s|0)!=115){break t}o[g+65|0]=0;o[g+46|0]=0;p[g+42>>1]=0;p[g+44>>1]=0;break t}l=r[e+1|0];f=(l|0)==94;Fi(g+32|0,f,257);o[g+32|0]=0;d=f?e+2|0:e+1|0;z:{A:{B:{e=r[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break B}i=(l|0)!=94;break z}i=(l|0)!=94;o[g+78|0]=i;break A}i=(l|0)!=94;o[g+126|0]=i}d=d+1|0}e=d;while(1){d=r[e|0];C:{if((d|0)!=45){if(!d){break c}if((d|0)!=93){break C}break t}d=45;l=r[e+1|0];if(!l|(l|0)==93){break C}f=e+1|0;e=r[e-1|0];D:{if(l>>>0<=e>>>0){d=l;break D}while(1){e=e+1|0;o[e+(g+32|0)|0]=i;d=r[f|0];if(e>>>0>>0){continue}break}}e=f}o[(d+g|0)+33|0]=i;e=e+1|0;continue};case 23:d=8;break x;case 12:case 29:d=10;break x;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 s;case 0:case 24:case 32:break x;case 17:break y}}d=0}x=SM(a,d,0,-1,-1);f=wi;d=q[a+4>>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!(!j|(s|0)!=112)){q[j>>2]=x;break s}bC(j,y,x,f);break s}u[j>>2]=Zua(d,b,x,f);break s}v[j>>3]=kB(d,b,x,f);break s}q[j>>2]=d;q[j+4>>2]=b;q[j+8>>2]=x;q[j+12>>2]=f;break s}s=(s|0)==99;i=s?b+1|0:31;l=(y|0)!=1;E:{if(!l){d=j;if(z){d=Ji(i<<2);if(!d){break d}}q[g+296>>2]=0;q[g+300>>2]=0;b=0;while(1){n=d;F:{while(1){d=q[a+4>>2];G:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break G}d=ok(a)}if(!r[(d+g|0)+33|0]){break F}o[g+27|0]=d;d=DT(g+28|0,g+27|0,g+296|0);if((d|0)==-2){continue}if((d|0)==-1){break e}if(n){q[(b<<2)+n>>2]=q[g+28>>2];b=b+1|0}if(z^1|(b|0)!=(i|0)){continue}break}i=i<<1|1;d=nl(n,i<<2);if(d){continue}break e}break}d=g+296|0;f=1;H:{if(!d){break H}f=!q[d>>2]}if(!f){break e}m=0;break E}if(z){b=0;d=Ji(i);if(!d){break d}while(1){m=d;while(1){d=q[a+4>>2];I:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break I}d=ok(a)}if(!r[(d+g|0)+33|0]){n=0;break E}o[b+m|0]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}n=0;i=i<<1|1;d=nl(m,i);if(d){continue}break}break c}b=0;if(j){while(1){d=q[a+4>>2];J:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break J}d=ok(a)}if(r[(d+g|0)+33|0]){o[b+j|0]=d;b=b+1|0;continue}else{n=0;m=j;break E}}}while(1){b=q[a+4>>2];K:{if(b>>>0>2]){q[a+4>>2]=b+1;b=r[b|0];break K}b=ok(a)}if(r[(b+g|0)+33|0]){continue}break}m=0;n=0;b=0}d=q[a+4>>2];if(q[a+104>>2]){d=d-1|0;q[a+4>>2]=d}d=d-q[a+8>>2]|0;f=d;y=d+q[a+120>>2]|0;d=q[a+124>>2]+(d>>31)|0;d=f>>>0>y>>>0?d+1|0:d;if(!(d|y)|(s?(x|0)!=(y|0)|(d|0)!=(B|0):0)){break b}L:{if(!z){break L}if(!l){q[j>>2]=n;break L}q[j>>2]=m}if(s){break s}if(n){q[(b<<2)+n>>2]=0}if(!m){m=0;break s}o[b+m|0]=0}d=q[a+4>>2]-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=k+q[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;A=((j|0)!=0)+A|0}b=e+1|0;e=r[e+1|0];if(e){continue}break a}break}m=0;break c}m=0;n=0}A=A?A:-1}if(!z){break a}yi(m);yi(n)}ti=g+304|0;return A}function Ota(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,t=0,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=x(0),K=0,L=x(0),M=0,N=0,O=x(0),P=0,Q=x(0),R=0,S=0,T=0,U=0,V=0,W=0,X=0;D=ti-96|0;ti=D;a:{M=w(c,15)+b|0;d=r[M|0];j=w(c,14)+b|0;k=r[j|0];E=w(c,13)+b|0;e=r[E|0];N=w(c,12)+b|0;h=r[N|0];g=w(c,11)+b|0;m=r[g|0];P=w(c,10)+b|0;n=r[P|0];u=w(c,9)+b|0;t=r[u|0];R=(c<<3)+b|0;i=r[R|0];S=w(c,7)+b|0;A=r[S|0];T=w(c,6)+b|0;B=r[T|0];U=w(c,5)+b|0;C=r[U|0];V=(c<<2)+b|0;z=r[V|0];W=w(c,3)+b|0;F=r[W|0];X=(c<<1)+b|0;l=r[X|0];v=b+c|0;H=r[v|0];K=r[b|0];f=H>>>0>K>>>0?H:K;f=f>>>0>>0?l:f;f=f>>>0>>0?F:f;f=f>>>0>>0?z:f;f=f>>>0>>0?C:f;f=f>>>0>>0?B:f;f=f>>>0>>0?A:f;f=i>>>0>f>>>0?i:f;f=f>>>0>>0?t:f;f=f>>>0>>0?n:f;f=f>>>0>>0?m:f;f=h>>>0>f>>>0?h:f;f=e>>>0>f>>>0?e:f;f=f>>>0>>0?k:f;f=d>>>0>f>>>0?d:f;H=H>>>0>>0?H:K;l=l>>>0>>0?l:H;F=l>>>0>F>>>0?F:l;z=z>>>0>>0?z:F;C=C>>>0>>0?C:z;B=B>>>0>>0?B:C;A=A>>>0>>0?A:B;i=i>>>0>>0?i:A;t=i>>>0>t>>>0?t:i;n=n>>>0>>0?n:t;m=m>>>0>>0?m:n;h=h>>>0>>0?h:m;e=e>>>0>>0?e:h;k=e>>>0>k>>>0?k:e;d=d>>>0>>0?d:k;b:{if((f|0)==(d|0)){p[a>>1]=d&255|3328;b=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[a+2|0]=b;o[a+3|0]=b>>>8;o[a+4|0]=b>>>16;o[a+5|0]=b>>>24;b=r[101144]|r[101145]<<8;o[a+6|0]=b;o[a+7|0]=b>>>8;break b}h=f-d|0;if(h>>>0<=5){c=f-2|0;c=(c>>>0<256?c:c>>31^-1)&255;p[a>>1]=c|7424;d=r[b|0];b=3-c|0;d=d+b|0;if(d>>>0>=6){break a}c=b+r[v|0]|0;if(c>>>0>=6){break a}k=b+r[X|0]|0;if(k>>>0>5){break a}e=b+r[W|0]|0;if(e>>>0>5){break a}h=b+r[V|0]|0;if(h>>>0>5){break a}m=b+r[U|0]|0;if(m>>>0>5){break a}n=b+r[T|0]|0;if(n>>>0>5){break a}t=b+r[S|0]|0;if(t>>>0>5){break a}i=b+r[R|0]|0;if(i>>>0>5){break a}A=b+r[u|0]|0;if(A>>>0>5){break a}B=b+r[P|0]|0;if(B>>>0>5){break a}C=b+r[g|0]|0;if(C>>>0>5){break a}z=b+r[N|0]|0;if(z>>>0>5){break a}F=b+r[E|0]|0;if(F>>>0>5){break a}l=b+r[j|0]|0;if(l>>>0>5){break a}H=b+r[M|0]|0;if(H>>>0>5){break a}b=a;c=r[c+103119|0]<<1;a=r[d+103119|0]<<13;d=0;K=a|c;c=r[k+103119|0];a=c>>>11|0;c=c<<21|d;d=a|K;v=c;c=r[e+103119|0];a=c>>>23|0;c=v|c<<9;d=a|d|r[h+103119|0]<<10;e=c;c=r[m+103119|0];a=c>>>2|0;c=e|c<<30;d=a|d;e=c;c=r[n+103119|0];a=c>>>14|0;c=e|c<<18;d=a|d;e=c;c=r[t+103119|0];a=c>>>26|0;c=e|c<<6;d=a|d|r[i+103119|0]<<7;e=c;c=r[A+103119|0];a=c>>>5|0;c=e|c<<27;d=a|d;e=c;c=r[B+103119|0];a=c>>>17|0;c=e|c<<15;d=a|d;e=c;c=r[C+103119|0];a=c>>>29|0;c=e|c<<3;d=a|d|r[z+103119|0]<<4;e=c;c=r[F+103119|0];a=c>>>8|0;c=e|c<<24;d=a|d;e=b;b=r[l+103119|0];a=b>>>20|0;ot(e,r[H+103119|0]|(b<<12|c),a|d);break b}e=D;Q=x(f>>>0);L=x(d>>>0);I=L;I=ho(x(x(x(Q-I)*x(.5199999809265137))+I));c:{if(x(y(I))>>0<256?d:d>>31^-1)&255;q[e+80>>2]=H;e=D;I=x(h>>>0);O=ho(x(I/x(25)));d:{if(x(y(O))15?15:d;if((d|0)<1){k=1}q[e+64>>2]=k;e=D;O=ho(x(x(x(Q-L)*x(.5263158082962036))+L));e:{if(x(y(O))>>0<256?d:d>>31^-1)&255;q[e+84>>2]=K;h=D;I=ho(x(I/x(19)));f:{if(x(y(I))15?15:d;if((d|0)<1){e=1}d=e;q[h+68>>2]=d;I=ho(x(x(x(Q-L)*x(.5263158082962036))+L));g:{if(x(y(I))>2]=d;f=(e>>>0<256?e:e>>31^-1)&255;q[D+88>>2]=f;L=ho(x(x(x(Q-L)*x(.5263158082962036))+L));h:{if(x(y(L))>2]=d;M=(e>>>0<256?e:e>>31^-1)&255;q[D+92>>2]=M;F=0;P=(d|k)!=1;A=0;B=0;C=0;z=0;while(1){h=-1;m=-1;n=-1;t=-1;e=0;i=r[w(c,z)+b|0];i:{if((i-7&255)>>>0>=242){while(1){l=e+101200|0;j=H+w(k,o[l+16|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;h=h>>>0>>0?h:j;j=K+w(d,o[l- -64|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;m=j>>>0>m>>>0?m:j;j=f+w(d,o[l+88|0])|0;E=((j>>>0<256?j:j>>31^-1)&255)-i|0;j=E>>31;j=(j^j+E)<<3|e;n=j>>>0>n>>>0?n:j;l=M+w(d,o[l+104|0])|0;j=((l>>>0<256?l:l>>31^-1)&255)-i|0;l=j>>31;l=(l^j+l)<<3|e;t=l>>>0>t>>>0?t:l;e=e+1|0;if((e|0)!=8){continue}break i}}l=M-i|0;j=f-i|0;E=K-i|0;N=H-i|0;if(!P){while(1){i=e+101200|0;u=N+o[i+16|0]|0;g=u>>31;g=(g^g+u)<<3|e;h=h>>>0>>0?h:g;u=E+o[i- -64|0]|0;g=u>>31;g=(g^g+u)<<3|e;m=g>>>0>m>>>0?m:g;u=j+o[i+88|0]|0;g=u>>31;g=(g^g+u)<<3|e;n=g>>>0>n>>>0?n:g;g=l+o[i+104|0]|0;i=g>>31;i=(i^g+i)<<3|e;t=i>>>0>t>>>0?t:i;e=e+1|0;if((e|0)!=8){continue}break i}}while(1){i=e+101200|0;u=N+w(k,o[i+16|0])|0;g=u>>31;g=(g^g+u)<<3|e;h=h>>>0>>0?h:g;u=E+w(d,o[i- -64|0])|0;g=u>>31;g=(g^g+u)<<3|e;m=g>>>0>m>>>0?m:g;u=j+w(d,o[i+88|0])|0;g=u>>31;g=(g^g+u)<<3|e;n=g>>>0>n>>>0?n:g;g=l+w(d,o[i+104|0])|0;i=g>>31;i=(i^g+i)<<3|e;t=i>>>0>t>>>0?t:i;e=e+1|0;if((e|0)!=8){continue}break}}e=D+z|0;o[e|0]=h&7;o[e+16|0]=m&7;o[e+32|0]=n&7;o[e+48|0]=t&7;e=h>>>3|0;C=w(e,e)+C|0;e=m>>>3|0;B=w(e,e)+B|0;e=n>>>3|0;A=w(e,e)+A|0;e=t>>>3|0;F=w(e,e)+F|0;z=z+1|0;if((z|0)!=16){continue}break}c=B>>>0>>0;d=c?B:C;b=d>>>0>A>>>0;c=(b?A:d)>>>0>F>>>0?3:b?2:c;b=c<<2;p[a>>1]=s[(b|D- -64)>>1]<<12|r[b|D+80]|(r[c+103134|0]&15)<<8;b=a;k=(c<<4)+D|0;c=r[k+14|0];a=c>>>20|0;e=c<<12;c=a;m=r[k+1|0]<<1|r[k|0]<<13;d=r[k+2|0];a=d>>>11|0;d=d<<21;h=a|m;v=d;d=r[k+3|0];a=d>>>23|0;d=v|d<<9;h=a|h|r[k+4|0]<<10;v=d;d=r[k+5|0];a=d>>>2|0;d=v|d<<30;h=a|h;v=d;d=r[k+6|0];a=d>>>14|0;d=v|d<<18;h=a|h;v=d;d=r[k+7|0];a=d>>>26|0;d=v|d<<6;h=a|h|r[k+8|0]<<7;v=d;d=r[k+9|0];a=d>>>5|0;d=v|d<<27;h=a|h;v=d;d=r[k+10|0];a=d>>>17|0;d=v|d<<15;h=a|h;v=d;d=r[k+11|0];a=d>>>29|0;d=v|d<<3;h=a|h|r[k+12|0]<<4;v=b;b=r[k+13|0];a=b>>>8|0;ot(v,r[k+15|0]|(b<<24|d|e),a|h|c)}ti=D+96|0;return}J(103076,92069,15816,103125);G()}function Nta(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,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=x(0),O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=x(0),X=x(0),Y=x(0),Z=x(0);h=ti-448|0;ti=h;a:{E=w(c,15)+b|0;d=r[E|0];F=w(c,14)+b|0;e=r[F|0];H=w(c,13)+b|0;k=r[H|0];I=w(c,12)+b|0;j=r[I|0];K=w(c,11)+b|0;f=r[K|0];L=w(c,10)+b|0;l=r[L|0];M=w(c,9)+b|0;B=r[M|0];O=(c<<3)+b|0;i=r[O|0];P=w(c,7)+b|0;C=r[P|0];Q=w(c,6)+b|0;m=r[Q|0];R=w(c,5)+b|0;n=r[R|0];S=(c<<2)+b|0;u=r[S|0];T=w(c,3)+b|0;v=r[T|0];U=(c<<1)+b|0;z=r[U|0];V=b+c|0;A=r[V|0];D=r[b|0];g=A>>>0>D>>>0?A:D;g=g>>>0>>0?z:g;g=g>>>0>>0?v:g;g=g>>>0>>0?u:g;g=g>>>0>>0?n:g;g=g>>>0>>0?m:g;g=g>>>0>>0?C:g;g=g>>>0>>0?i:g;g=g>>>0>>0?B:g;g=g>>>0>>0?l:g;g=g>>>0>>0?f:g;g=j>>>0>g>>>0?j:g;g=g>>>0>>0?k:g;g=e>>>0>g>>>0?e:g;g=d>>>0>g>>>0?d:g;A=A>>>0>>0?A:D;z=z>>>0>>0?z:A;v=v>>>0>>0?v:z;u=u>>>0>>0?u:v;n=n>>>0>>0?n:u;m=m>>>0>>0?m:n;C=m>>>0>C>>>0?C:m;i=i>>>0>>0?i:C;B=i>>>0>B>>>0?B:i;l=l>>>0>>0?l:B;f=f>>>0>>0?f:l;j=j>>>0>>0?j:f;k=j>>>0>k>>>0?k:j;e=e>>>0>>0?e:k;d=d>>>0>>0?d:e;b:{if((g|0)==(d|0)){p[a>>1]=d&255|3328;b=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[a+2|0]=b;o[a+3|0]=b>>>8;o[a+4|0]=b>>>16;o[a+5|0]=b>>>24;b=r[101144]|r[101145]<<8;o[a+6|0]=b;o[a+7|0]=b>>>8;break b}e=g-d|0;if(e>>>0<=5){c=g-2|0;c=(c>>>0<256?c:c>>31^-1)&255;p[a>>1]=c|7424;d=r[b|0];b=3-c|0;d=d+b|0;if(d>>>0>=6){break a}c=b+r[V|0]|0;if(c>>>0>=6){break a}e=b+r[U|0]|0;if(e>>>0>5){break a}k=b+r[T|0]|0;if(k>>>0>5){break a}j=b+r[S|0]|0;if(j>>>0>5){break a}f=b+r[R|0]|0;if(f>>>0>5){break a}l=b+r[Q|0]|0;if(l>>>0>5){break a}B=b+r[P|0]|0;if(B>>>0>5){break a}i=b+r[O|0]|0;if(i>>>0>5){break a}C=b+r[M|0]|0;if(C>>>0>5){break a}m=b+r[L|0]|0;if(m>>>0>5){break a}n=b+r[K|0]|0;if(n>>>0>5){break a}u=b+r[I|0]|0;if(u>>>0>5){break a}v=b+r[H|0]|0;if(v>>>0>5){break a}z=b+r[F|0]|0;if(z>>>0>5){break a}A=b+r[E|0]|0;if(A>>>0>5){break a}b=a;c=r[c+103119|0]<<1;a=r[d+103119|0]<<13;d=0;D=a|c;c=r[e+103119|0];a=c>>>11|0;c=c<<21|d;d=a|D;e=c;c=r[k+103119|0];a=c>>>23|0;c=e|c<<9;d=a|d|r[j+103119|0]<<10;e=c;c=r[f+103119|0];a=c>>>2|0;c=e|c<<30;d=a|d;e=c;c=r[l+103119|0];a=c>>>14|0;c=e|c<<18;d=a|d;e=c;c=r[B+103119|0];a=c>>>26|0;c=e|c<<6;d=a|d|r[i+103119|0]<<7;e=c;c=r[C+103119|0];a=c>>>5|0;c=e|c<<27;d=a|d;e=c;c=r[m+103119|0];a=c>>>17|0;c=e|c<<15;d=a|d;e=c;c=r[n+103119|0];a=c>>>29|0;c=e|c<<3;d=a|d|r[u+103119|0]<<4;e=c;c=r[v+103119|0];a=c>>>8|0;c=e|c<<24;d=a|d;e=b;b=r[z+103119|0];a=b>>>20|0;ot(e,r[A+103119|0]|(b<<12|c),a|d);break b}Y=x(e>>>0);Z=x(g>>>0);W=x(d>>>0);e=0;while(1){d=(e<<3)+101200|0;k=o[d+3|0];N=x(o[d+7|0]-k|0);X=ho(x(x(x(Z-W)*x(x(0-k|0)/N))+W));c:{if(x(y(X))>2]=(d>>>0<256?d:d>>31^-1)&255;j=k+(h+320|0)|0;N=ho(x(Y/N));d:{if(x(y(N))15?15:d;if((d|0)<1){k=1}q[j>>2]=k;e=e+1|0;if((e|0)!=16){continue}break}q[h+312>>2]=0;q[h+316>>2]=0;q[h+304>>2]=0;q[h+308>>2]=0;q[h+296>>2]=0;q[h+300>>2]=0;q[h+288>>2]=0;q[h+292>>2]=0;q[h+280>>2]=0;q[h+284>>2]=0;q[h+272>>2]=0;q[h+276>>2]=0;q[h+264>>2]=0;q[h+268>>2]=0;q[h+256>>2]=0;q[h+260>>2]=0;l=0;while(1){f=(l<<3)+101200|0;D=f;d=l<<2;C=d+(h+256|0)|0;k=q[d+(h+384|0)>>2];j=q[d+(h+320|0)>>2];e=-1;B=0;i=0;while(1){d=r[w(c,B)+b|0];if((d|0)!=(e|0)){e=k+w(j,o[f|0])|0;g=((e>>>0<256?e:e>>31^-1)&255)-d|0;e=g>>31;i=k+w(j,o[f+1|0])|0;E=((i>>>0<256?i:i>>31^-1)&255)-d|0;i=E>>31;m=k+w(j,o[f+2|0])|0;F=((m>>>0<256?m:m>>31^-1)&255)-d|0;m=F>>31;n=k+w(j,o[f+3|0])|0;H=((n>>>0<256?n:n>>31^-1)&255)-d|0;n=H>>31;u=k+w(j,o[f+4|0])|0;I=((u>>>0<256?u:u>>31^-1)&255)-d|0;u=I>>31;v=k+w(j,o[f+5|0])|0;K=((v>>>0<256?v:v>>31^-1)&255)-d|0;v=K>>31;z=k+w(j,o[f+6|0])|0;L=((z>>>0<256?z:z>>31^-1)&255)-d|0;z=L>>31;A=k+w(j,o[D+7|0])|0;M=((A>>>0<256?A:A>>31^-1)&255)-d|0;A=M>>31;e=(e^e+g)<<3;i=(i^i+E)<<3|1;e=e>>>0>>0?e:i;i=(m^m+F)<<3|2;e=e>>>0>>0?e:i;i=(n^n+H)<<3|3;e=e>>>0>>0?e:i;i=(u^u+I)<<3|4;e=e>>>0>>0?e:i;i=(v^v+K)<<3|5;e=e>>>0>>0?e:i;i=(z^z+L)<<3|6;e=e>>>0>>0?e:i;i=(A^A+M)<<3|7;i=e>>>0>>0?e:i;e=d}o[((l<<4)+h|0)+B|0]=i&7;d=i>>>3|0;q[C>>2]=q[C>>2]+w(d,d);B=B+1|0;if((B|0)!=16){continue}break}l=l+1|0;if((l|0)!=16){continue}break}b=q[h+260>>2];c=q[h+256>>2];d=b>>>0>>0;e=q[h+264>>2];b=d?b:c;c=e>>>0>>0;f=c?2:d;d=q[h+268>>2];b=c?e:b;c=d>>>0>>0;f=c?3:f;e=q[h+272>>2];b=c?d:b;c=e>>>0>>0;f=c?4:f;d=q[h+276>>2];b=c?e:b;c=d>>>0>>0;f=c?5:f;e=q[h+280>>2];b=c?d:b;c=e>>>0>>0;f=c?6:f;d=q[h+284>>2];b=c?e:b;c=d>>>0>>0;f=c?7:f;e=q[h+288>>2];b=c?d:b;c=e>>>0>>0;f=c?8:f;d=q[h+292>>2];b=c?e:b;c=d>>>0>>0;f=c?9:f;e=q[h+296>>2];b=c?d:b;c=e>>>0>>0;f=c?10:f;d=q[h+300>>2];b=c?e:b;c=d>>>0>>0;f=c?11:f;e=q[h+304>>2];b=c?d:b;c=e>>>0>>0;f=c?12:f;d=q[h+308>>2];b=c?e:b;c=d>>>0>>0;f=c?13:f;e=q[h+312>>2];b=c?d:b;c=e>>>0>>0;c=t[h+316>>2]<(c?e:b)>>>0?15:c?14:f;b=c<<2;p[a>>1]=r[b+(h+384|0)|0]|c<<8&3840|s[b+(h+320|0)>>1]<<12;b=a;e=(c<<4)+h|0;c=r[e+14|0];a=c>>>20|0;k=c<<12;c=a;f=r[e+1|0]<<1|r[e|0]<<13;d=r[e+2|0];a=d>>>11|0;d=d<<21;j=a|f;f=d;d=r[e+3|0];a=d>>>23|0;d=f|d<<9;j=a|j|r[e+4|0]<<10;f=d;d=r[e+5|0];a=d>>>2|0;d=f|d<<30;j=a|j;f=d;d=r[e+6|0];a=d>>>14|0;d=f|d<<18;j=a|j;f=d;d=r[e+7|0];a=d>>>26|0;d=f|d<<6;j=a|j|r[e+8|0]<<7;f=d;d=r[e+9|0];a=d>>>5|0;d=f|d<<27;j=a|j;f=d;d=r[e+10|0];a=d>>>17|0;d=f|d<<15;j=a|j;f=d;d=r[e+11|0];a=d>>>29|0;d=f|d<<3;j=a|j|r[e+12|0]<<4;f=b;b=r[e+13|0];a=b>>>8|0;ot(f,r[e+15|0]|(b<<24|d|k),a|j|c)}ti=h+448|0;return}J(103076,92069,15973,103097);G()}function yo(a){var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=x(0),n=0,p=x(0),t=x(0),v=x(0),y=x(0),z=0,A=0,B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=x(0);c=ti-144|0;ti=c;q[c+136>>2]=0;a:{b:{e=q[a+1084>>2];b=q[a+1080>>2];d=e-b|0;if(!d){break b}if((b|0)!=(e|0)){e=b-e|0;e=((d|0)<(e|0)?e:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(e,(d|0)<1?d:1);j=d>>>0>1?d:1;while(1){c:{d=s[(n<<1)+b>>1];e=q[a+1036>>2];if(d>>>0>2]-e>>2>>>0){b=q[e+(d<<2)>>2];e=q[b+48>>2];d:{e:{if((e|0)!=q[b+64>>2]){f=u[b+52>>2];break e}f=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break e}if(q[b+56>>2]==q[b+72>>2]){break d}}u[b+68>>2]=f;q[b+64>>2]=e;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=f;q[c>>2]=e;Om(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}e=q[a+3128>>2];if(d>>>0>=q[a+3132>>2]-e>>6>>>0){break a}f=u[b+40>>2];i=u[b+36>>2];v=u[b+24>>2];z=q[b+20>>2];D=q[b+16>>2];d=e+(d<<6)|0;p=u[b+32>>2];g=u[b>>2];k=u[b+4>>2];y=x(k+k);h=x(g*y);l=u[b+12>>2];t=u[b+8>>2];m=x(t+t);B=x(l*m);u[d+4>>2]=p*x(h+B);C=x(g*m);I=x(y*l);u[d+8>>2]=p*x(C-I);u[d+12>>2]=p*x(0);u[d+16>>2]=i*x(h-B);u[d+32>>2]=f*x(C+I);q[d+48>>2]=D;q[d+52>>2]=z;h=g;g=x(g+g);h=x(x(1)-x(h*g));t=x(t*m);u[d+20>>2]=i*x(h-t);m=x(k*m);g=x(g*l);u[d+24>>2]=i*x(m+g);u[d+28>>2]=i*x(0);u[d+36>>2]=f*x(m-g);i=x(k*y);u[d+40>>2]=f*x(h-i);u[d+44>>2]=f*x(0);q[d+60>>2]=1065353216;u[d+56>>2]=v;u[d>>2]=p*x(x(x(1)-i)-t);b=s[b+138>>1];d=b>>>16|0;if(!(d|b<<16^2147418112)){break c}J(8892,7291,2467,8875);G()}break a}n=n+1|0;if((j|0)==(n|0)){break b}b=q[a+1080>>2];if(q[a+1084>>2]-b>>1>>>0>n>>>0){continue}break}}break a}f:{if(r[a+3272|0]&4){n=1;g:{h:{while(1){i:{j:{b=(n<<4)+a|0;D=b+1084|0;e=q[D>>2];E=b+1080|0;b=q[E>>2];d=e-b|0;if(!d){break j}if((b|0)!=(e|0)){e=b-e|0;e=((d|0)<(e|0)?e:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(e,(d|0)<1?d:1);F=d>>>0>1?d:1;d=0;while(1){e=s[(d<<1)+b>>1];j=q[a+1036>>2];if(e>>>0>=q[a+1040>>2]-j>>2>>>0){break i}b=q[j+(e<<2)>>2];j=q[b+48>>2];k:{l:{if((j|0)!=q[b+64>>2]){f=u[b+52>>2];break l}f=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break l}if(q[b+56>>2]==q[b+72>>2]){break k}}u[b+68>>2]=f;q[b+64>>2]=j;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=f;q[c>>2]=j;Om(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}j=q[a+3128>>2];A=q[a+3132>>2]-j>>6;if(A>>>0<=e>>>0){break a}z=s[b+138>>1];if((z|0)==32767){break h}if(z>>>0>=A>>>0){break g}i=u[b+40>>2];g=u[b+36>>2];l=u[b+24>>2];f=u[b>>2];p=u[b+4>>2];k=u[b+12>>2];m=u[b+8>>2];A=q[b+20>>2];H=q[b+16>>2];y=u[b+32>>2];u[c+76>>2]=y*x(0);q[c+112>>2]=H;q[c+116>>2]=A;q[c+124>>2]=1065353216;u[c+120>>2]=l;u[c+92>>2]=g*x(0);u[c+108>>2]=i*x(0);t=x(p+p);v=x(f*t);l=x(m+m);h=x(k*l);u[c+68>>2]=y*x(v+h);B=x(f*l);C=x(t*k);u[c+72>>2]=y*x(B-C);u[c+80>>2]=g*x(v-h);v=x(p*l);h=k;k=x(f+f);h=x(h*k);u[c+88>>2]=g*x(v+h);u[c+96>>2]=i*x(B+C);u[c+100>>2]=i*x(v-h);h=g;f=x(x(1)-x(f*k));g=x(m*l);u[c+84>>2]=h*x(f-g);k=f;f=x(p*t);u[c+104>>2]=i*x(k-f);u[c+64>>2]=y*x(x(x(1)-f)-g);Kk(c,j+(z<<6)|0,c- -64|0);b=j+(e<<6)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];u[b+52>>2]=u[c+52>>2];u[b+56>>2]=u[c+56>>2];u[b+60>>2]=u[c+60>>2];d=d+1|0;if((F|0)==(d|0)){break j}b=q[E>>2];if(q[D>>2]-b>>1>>>0>d>>>0){continue}break}}break a}n=n+1|0;if((n|0)!=128){continue}break f}break}break a}J(8931,7291,2484,8875);G()}break a}n=1;while(1){m:{b=(n<<4)+a|0;D=b+1084|0;e=q[D>>2];E=b+1080|0;b=q[E>>2];d=e-b|0;if(!d){break m}n:{o:{if((b|0)!=(e|0)){e=b-e|0;e=((d|0)<(e|0)?e:d)>>>1|0;d=(d|0)>-1?d:-1;d=w(e,(d|0)<1?d:1);F=d>>>0>1?d:1;d=0;while(1){e=s[(d<<1)+b>>1];j=q[a+1036>>2];if(e>>>0>=q[a+1040>>2]-j>>2>>>0){break a}b=q[j+(e<<2)>>2];j=q[b+48>>2];p:{q:{if((j|0)!=q[b+64>>2]){f=u[b+52>>2];break q}f=u[b+52>>2];if(q[b+68>>2]!=q[b+52>>2]){break q}if(q[b+56>>2]==q[b+72>>2]){break p}}u[b+68>>2]=f;q[b+64>>2]=j;i=u[b+56>>2];u[b+72>>2]=i;u[c+8>>2]=i;u[c+4>>2]=f;q[c>>2]=j;Om(c- -64|0,c);u[b>>2]=u[c+64>>2];u[b+4>>2]=u[c+68>>2];u[b+8>>2]=u[c+72>>2];u[b+12>>2]=u[c+76>>2]}j=q[a+3128>>2];A=q[a+3132>>2]-j>>6;if(A>>>0<=e>>>0){break a}z=s[b+138>>1];if((z|0)==32767){break o}if(z>>>0>=A>>>0){break n}i=u[b+40>>2];g=u[b+36>>2];l=u[b+24>>2];f=u[b>>2];p=u[b+4>>2];k=u[b+12>>2];m=u[b+8>>2];A=q[b+20>>2];H=q[b+16>>2];y=u[b+32>>2];u[c+76>>2]=y*x(0);q[c+112>>2]=H;q[c+116>>2]=A;q[c+124>>2]=1065353216;u[c+120>>2]=l;u[c+92>>2]=g*x(0);u[c+108>>2]=i*x(0);t=x(p+p);v=x(f*t);l=x(m+m);h=x(k*l);u[c+68>>2]=y*x(v+h);B=x(f*l);C=x(t*k);u[c+72>>2]=y*x(B-C);u[c+80>>2]=g*x(v-h);v=x(p*l);h=k;k=x(f+f);h=x(h*k);u[c+88>>2]=g*x(v+h);u[c+96>>2]=i*x(B+C);u[c+100>>2]=i*x(v-h);h=g;f=x(x(1)-x(f*k));g=x(m*l);u[c+84>>2]=h*x(f-g);k=f;f=x(p*t);u[c+104>>2]=i*x(k-f);u[c+64>>2]=y*x(x(x(1)-f)-g);Tn(c,j+(z<<6)|0,c- -64|0);b=j+(e<<6)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];u[b+52>>2]=u[c+52>>2];u[b+56>>2]=u[c+56>>2];u[b+60>>2]=u[c+60>>2];d=d+1|0;if((F|0)==(d|0)){break m}b=q[E>>2];if(q[D>>2]-b>>1>>>0>d>>>0){continue}break}}break a}J(8931,7291,2504,8875);G()}break a}n=n+1|0;if((n|0)!=128){continue}break}}o[a+3272|0]=r[a+3272|0]&247;ti=c+144|0;return}J(12518,10061,479,9553);G()}function N5(a,b,c,d){q[a+4>>2]=d;c=c?q[c+120>>2]:0;q[a>>2]=c;d=q[c+8>>2]-q[c+12>>2]>>4;Tl(c,112853,112868,259712);q[81656]=Tl(c,112876,112900,259744);q[81657]=Tl(c,110337,112908,259824);q[81658]=Tl(c,112632,112916,259872);Tl(c,112924,112908,259904);ik(c,110485,259936);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,112956);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,112973);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,112992);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113009);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113021);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113037);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113063);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113080);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113092);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113105);if(xi[q[77500]](b,2)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113120)}if(xi[q[77500]](b,22)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=22;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113131)}if(xi[q[77500]](b,23)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=23;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113145)}if(xi[q[77500]](b,24)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=24;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113159)}if(xi[q[77500]](b,25)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=25;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113174)}if(xi[q[77500]](b,26)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=26;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113189)}if(xi[q[77500]](b,27)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=27;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113201)}if(xi[q[77500]](b,28)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=28;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113214)}if(xi[q[77500]](b,29)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=29;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113226)}a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113239);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113253);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113268);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113289);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113308);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113329);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113341);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113352);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113362);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113378);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113404);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113420);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113446);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113462);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=8;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113488);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=9;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113504);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=10;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113530);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=11;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113555);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=12;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113576);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=13;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113607);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=14;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113628);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113659);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113678);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113696);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113716);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113737);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113757);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113776);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113798);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113818);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113834);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113850);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=3;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113869);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113885);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=5;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113906);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=6;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113922);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=7;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113943);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=0;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113961);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113972);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,113982);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114002);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=1;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114019);if(xi[q[77526]](b,0)|0){a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=2;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114037);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=4;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114055);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=8;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114073)}a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=16;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114091);a=q[c+8>>2];q[a+8>>2]=3;v[a>>3]=32;q[c+8>>2]=q[c+8>>2]+16;Di(c,-2,114108);Ci(c,-2);if((d|0)!=q[c+8>>2]-q[c+12>>2]>>4){J(110492,110389,3028,114127);G()}}function T8(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,t=0,v=0,z=0,A=0,B=x(0),C=0,D=0,E=0,F=x(0),H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=x(0),Q=0,R=x(0);i=ti-80|0;ti=i;h=a+328|0;q[h>>2]=q[a+324>>2];e=q[a+12>>2];a:{b:{c:{d:{f=q[a+164>>2];e:{if(!f){break e}k=a+332|0;l=a+324|0;while(1){g=q[q[a+160>>2]+(m<<2)>>2];if((g|0)!=-1){while(1){d=q[a+168>>2]+w(g,40)|0;f=q[d+8>>2];f:{if(r[d+12|0]&2){if(f){xi[q[b+8>>2]](a,f,c)}f=q[h>>2];g=q[k>>2];if((f|0)==(g|0)){if(o[a+336|0]&1){break d}Ii((f-q[l>>2]>>3)+16|0,8,l,k,h);g=q[k>>2];f=q[h>>2]}if((f|0)==(g|0)){break c}g=q[d>>2];t=q[d+4>>2];q[h>>2]=f+8;q[f>>2]=g;q[f+4>>2]=t;break f}g=q[d+24>>2];if(!f){if(!g){break f}q[d+8>>2]=xi[q[b+4>>2]](a,q[d+16>>2],q[d+20>>2],q[d+28>>2],g,c);yi(q[d+24>>2]);q[d+24>>2]=0;j=j+1|0;break f}if(!g){break f}xi[q[b+12>>2]](a,f,q[d+16>>2],q[d+20>>2],q[d+28>>2],g,c);yi(q[d+24>>2]);q[d+24>>2]=0}g=q[d+32>>2];if((g|0)!=-1){continue}break}f=q[a+164>>2]}m=m+1|0;if(m>>>0>>0){continue}break}if((j|0)<1){break e}k=q[a+32>>2];d=q[a+36>>2]-k|0;if(!d|!f){break e}d=(d|0)/576|0;l=d>>>0>1?d:1;m=q[a+160>>2];d=0;while(1){h=k+w(d,576)|0;j=q[h+424>>2];t=q[h+428>>2];g=q[m+(Qwa(j,t,f)<<2)>>2];g:{if((g|0)==-1){break g}z=q[a+168>>2];while(1){g=z+w(g,40)|0;if(q[g>>2]!=(j|0)|q[g+4>>2]!=(t|0)){g=q[g+32>>2];if((g|0)!=-1){continue}break g}break}g=q[g+8>>2];q[h+436>>2]=3;q[h+432>>2]=g}d=d+1|0;if((l|0)!=(d|0)){continue}break}}g=q[a+324>>2];if((g|0)!=q[a+328>>2]){k=a+160|0;f=0;while(1){g=(f<<3)+g|0;d=q[g+4>>2];l=q[g>>2];S7(k,l,d);m=q[a+32>>2];h=q[a+36>>2]-m|0;g=(h|0)/576|0;if(h){j=g>>>0>1?g:1;g=0;while(1){h=m+w(g,576)|0;if(q[h+424>>2]==(l|0)&q[h+428>>2]==(d|0)){q[h+432>>2]=0;q[h+436>>2]=0}g=g+1|0;if((j|0)!=(g|0)){continue}break}}f=f+1|0;g=q[a+324>>2];if(f>>>0>2]-g>>3>>>0){continue}break}}h=e+60|0;f=q[e+56>>2];q[h>>2]=f;t=e+76|0;q[t>>2]=q[e+72>>2];z=e+92|0;q[z>>2]=q[e+88>>2];D=e+108|0;q[D>>2]=q[e+104>>2];g=e+124|0;q[g>>2]=q[e+120>>2];d=e+140|0;q[d>>2]=q[e+136>>2];j=e+144|0;A=e+136|0;k=e+128|0;H=e+120|0;C=e+112|0;m=e+104|0;I=e+96|0;K=e+88|0;L=e+80|0;M=e+72|0;l=e+56|0;N=e- -64|0;O=q[N>>2]-f>>4;f=s[a+26>>1]<<1;if(O>>>0>>0){if(o[e+68|0]&1){break d}Ii(f,16,l,N,h);if(o[e+84|0]&1){break d}Ii(f,64,M,L,t);if(o[e+100|0]&1){break d}Ii(f,4,K,I,z);if(o[e+192|0]&1){break d}Ii(f,80,e+180|0,e+188|0,e+184|0);n=q[e+180>>2];if(f>>>0>(q[e+188>>2]-n|0)/80>>>0){break b}q[e+184>>2]=n+w(f,80);if(o[e+116|0]&1){break d}Ii(f,24,m,C,D);if(o[e+132|0]&1){break d}Ii(f,4,H,k,g);if(o[e+148|0]&1){break d}Ii(f,2,A,j,d)}p[e+196>>1]=0;f=s[e+198>>1]+1|0;p[e+198>>1]=(f&65535)==65535?0:f;_I(a,s[a+348>>1],0,0,m,65535);Zz(a,s[a+348>>1],0,m,l);n=q[e+56>>2];v=q[e+60>>2];tw(n,v,i+16|0);f=q[e+64>>2]-q[e+56>>2]>>4;if(f>>>0>q[e+80>>2]-q[e+72>>2]>>6>>>0){if(o[e+84|0]&1){break d}Ii(f,64,M,L,t);if(o[e+100|0]&1){break d}Ii(f,4,K,I,z);if(o[e+192|0]&1){break d}Ii(f,80,e+180|0,e+188|0,e+184|0);E=q[e+180>>2];if(f>>>0>(q[e+188>>2]-E|0)/80>>>0){break b}q[e+184>>2]=E+w(f,80);if(o[e+116|0]&1){break d}Ii(f,24,m,C,D);if(o[e+132|0]&1){break d}Ii(f,4,H,k,g);if(o[e+148|0]&1){break d}Ii(f,2,A,j,d)}f=v-n|0;h:{if(!f){break h}d=n-v|0;e=((d|0)>(f|0)?d:f)>>>4|0;f=(f|0)>-1?f:-1;f=w(e,(f|0)<1?f:1);E=f>>>0>1?f:1;A=0;f=0;while(1){d=q[l>>2];if(q[h>>2]-d>>4>>>0<=f>>>0){break a}j=d+(f<<4)|0;C=s[j+8>>1];e=q[a+32>>2];if(C>>>0>=(q[a+36>>2]-e|0)/576>>>0){break a}q[i+8>>2]=1065353216;e=e+w(C,576)|0;O=e;d=q[e+412>>2];i:{if(!(d&262144)|(d>>>4&15)-5>>>0<2|q[e+436>>2]!=2){break i}Q=q[e+452>>2];if(!Q){break i}d=q[e+440>>2];n=d&8191;v=(d>>>13&8191)-n|0;B=x(u[e+472>>2]*x(v|0));j:{if(x(y(B))>2];k:{P=u[d>>2];F=u[d+8>>2];if(P==F){break k}R=u[d+20>>2];if(B==R){break k}u[e+64>>2]=x(u[d+4>>2]-R)*x(s[e+446>>1]);u[e+68>>2]=x(F-P)*x(s[e+444>>1]);break i}F=u[d+4>>2];u[e+64>>2]=x(u[d+16>>2]-P)*x(s[e+444>>1]);u[e+68>>2]=x(B-F)*x(s[e+446>>1])}cca(a,e,i+16|0,i+8|0);l:{m:{if((q[O+412>>2]&270532608)==2097152){e=s[e+570>>1];if((e|0)!=65535|u[i+8>>2]!=x(0)){break m}}q[j+8>>2]=0;q[j>>2]=-1;q[j+4>>2]=-1;A=A+1|0;break l}d=q[t>>2];if((d|0)==q[L>>2]){break c}q[t>>2]=d- -64;u[d>>2]=u[i+16>>2];u[d+4>>2]=u[i+20>>2];u[d+8>>2]=u[i+24>>2];u[d+12>>2]=u[i+28>>2];u[d+16>>2]=u[i+32>>2];u[d+20>>2]=u[i+36>>2];u[d+24>>2]=u[i+40>>2];u[d+28>>2]=u[i+44>>2];u[d+32>>2]=u[i+48>>2];u[d+36>>2]=u[i+52>>2];u[d+40>>2]=u[i+56>>2];u[d+44>>2]=u[i+60>>2];u[d+48>>2]=u[i+64>>2];u[d+52>>2]=u[i+68>>2];u[d+56>>2]=u[i+72>>2];u[d+60>>2]=u[i+76>>2];d=q[z>>2];if((d|0)==q[I>>2]){break c}B=u[i+8>>2];q[z>>2]=d+4;u[d>>2]=B;if((e|0)!=65535){n=q[m>>2];v=(q[D>>2]-n|0)/24|0;if(v>>>0<=e>>>0){break a}d=n+w(e,24)|0;if((C|0)==s[d+20>>1]){if(q[d+8>>2]==q[j>>2]&q[d+12>>2]==q[j+4>>2]){d=s[d+16>>1];e=0;n:{if((d|0)==65535){break n}if(d>>>0>=v>>>0){break a}e=(n+w(d,24)|0)+4|0}d=q[g>>2];if((d|0)==q[k>>2]){break c}q[g>>2]=d+4;q[d>>2]=e;break l}e=q[g>>2];if((e|0)==q[k>>2]){break c}q[g>>2]=e+4;q[e>>2]=d;break l}e=q[g>>2];if((e|0)==q[k>>2]){break c}q[g>>2]=e+4;q[e>>2]=d+4;break l}d=q[g>>2];if((d|0)==q[k>>2]){break c}q[g>>2]=d+4;q[d>>2]=0}f=f+1|0;if((E|0)!=(f|0)){continue}break}if(!A){break h}uw(q[l>>2],q[h>>2],i+8|0);f=q[l>>2];d=(q[h>>2]-f>>4)-A|0;if(d>>>0>q[N>>2]-f>>4>>>0){break b}q[h>>2]=f+(d<<4)}o[a+358|0]=r[a+358|0]&254;e=a;a=q[l>>2];xi[q[b>>2]](e,a,q[M>>2],q[K>>2],q[H>>2],q[h>>2]-a>>4,c);ti=i+80|0;return}J(196110,195579,493,195316);G()}J(195701,195579,533,195725);G()}J(196250,195579,506,196269);G()}J(195730,195579,479,195741);G()}function Uu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=x(0),p=0,r=0,s=0,t=x(0),v=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=x(0),H=x(0);g=ti-304|0;ti=g;q[g>>2]=0;T5(a);if(q[a+2124>>2]==q[a+2120>>2]){q[g+8>>2]=0;e=q[a+2040>>2];if((e|0)!=q[a+2044>>2]){h=q[a+2108>>2];i=q[a+2104>>2];q[g+32>>2]=e;e=h-i|0;f=e>>2;a:{b:{if((e|0)>=513){e=(f|0)<536870911?f:536870911;while(1){j=Oi(e<<2);if(j){break b}e=e>>>1|0;if(e){continue}break}tp(i,h,g+32|0,f,0,0);break a}tp(i,h,g+32|0,f,0,0);break a}tp(i,h,g+32|0,f,j,e);yi(j)}e=q[a+2040>>2];q[g+32>>2]=e;f=q[a+2104>>2];AG(f,0,q[a+2108>>2]-f>>2,e,g+32|0,a,740)}}c:{d:{e:{if(!d){if(!(q[a+2136>>2]|q[a+2140>>2])){break e}q[a+2136>>2]=0;q[a+2140>>2]=0;d=q[a+2040>>2];e=q[a+2044>>2]-d|0;if(!e){break e}f=(e|0)/48|0;e=0;while(1){h=d+w(e,48)|0;q[h+36>>2]=q[h+36>>2]|16384;e=e+1|0;if((f|0)!=(e|0)){continue}break}break e}e=vl(d,64);f=wi;if((e|0)==q[a+2136>>2]&(f|0)==q[a+2140>>2]){break e}q[a+2136>>2]=e;q[a+2140>>2]=f;g7(d,g+32|0);q[g+24>>2]=0;f:{d=q[a+2040>>2];i=q[a+2044>>2];if((d|0)==(i|0)){break f}while(1){f=d;e=d;while(1){g:{if(e>>>0>=i>>>0){d=e;break g}d=e+48|0;if(i>>>0<=d>>>0){break g}h=e;j=q[e+36>>2];e=d;if(!((j^q[h+84>>2])&16320)){continue}}break}if(f>>>0>=i>>>0){break f}j=q[f+36>>2];h=j>>>6&255;e=q[a+2056>>2];if(h>>>0>=(q[a+2060>>2]-e|0)/12>>>0){break d}e=e+w(h,12)|0;h=q[e+4>>2];if(h){q[g+8>>2]=g+32;q[g+12>>2]=q[e+8>>2];q[g+16>>2]=f;q[g+20>>2]=(d-f|0)/48;xi[h|0](g+8|0)}else{h=d-f|0;if(!h){continue}q[f+36>>2]=j|16384;e=1;if((h|0)==48){continue}h=(h|0)/48|0;while(1){j=f+w(e,48)|0;q[j+36>>2]=q[j+36>>2]|16384;e=e+1|0;if((h|0)!=(e|0)){continue}break}}continue}}}p=b?q[b+256>>2]:p;q[g+8>>2]=0;if(o[a+2100|0]&1){break c}d=q[a+2112>>2]-q[a+2104>>2]>>2;y=a+2088|0;A=a+2096|0;j=a+2092|0;Ii(d,4,y,A,j);q[j>>2]=q[a+2088>>2];if(o[a+2084|0]&1){break c}e=d;B=a+2072|0;d=a+2080|0;Ii(e,8,B,d,a+2076|0);h:{i:{s=q[a+2072>>2];e=q[d>>2]-s>>3;d=q[a+2108>>2]-q[a+2104>>2]>>2;if(e>>>0>=d>>>0){q[a+2076>>2]=s+(d<<3);z=q[a+2120>>2];e=q[a+2124>>2]-z|0;d=(e|0)/12|0;if(e){C=q[a+2040>>2];D=d>>>0>1?d:1;v=g+40|0;n=x(-3.4028234663852886e+38);t=x(3.4028234663852886e+38);while(1){i=w(k,12)+z|0;wG(a,q[i>>2],g+32|0);f=q[i+8>>2]&2147483647;q[i+8>>2]=f;j:{k:{if(p){d=qG(q[g+32>>2],v,p,b);f=q[i+8>>2];if(!d){break k}}l=0;h=q[i+4>>2];d=f&2147483647;if(h>>>0>>0){e=h;while(1){d=q[a+2104>>2];if(q[a+2108>>2]-d>>2>>>0<=e>>>0){break d}r=q[d+(e<<2)>>2];d=w(r,48)+C|0;E=q[d+36>>2];l:{if(!(E&16384)){l=l+1|0;break l}if((E&48)!=16){break l}m=u[d>>2];F=u[d+4>>2];H=u[d+8>>2];m=x(x(u[a+2376>>2]+x(x(x(m*u[a+2328>>2])+x(F*u[a+2344>>2]))+x(H*u[a+2360>>2])))/x(u[a+2380>>2]+x(x(x(m*u[a+2332>>2])+x(F*u[a+2348>>2]))+x(H*u[a+2364>>2]))));u[s+(r<<3)>>2]=m;n=n>2];h=q[i+4>>2]}e=e+1|0;d=f&2147483647;if(e>>>0>>0){continue}break}}if((d|0)!=(l|0)){break j}}q[i+8>>2]=f|-2147483648}k=k+1|0;if((D|0)!=(k|0)){continue}break}m=x(0);m=n>t?x(x(x(1)/x(n-t))*x(16777200)):m;k=0;while(1){p=w(k,12)+z|0;h=q[p+8>>2];m:{if((h|0)<0){break m}d=q[p+4>>2];if(d>>>0>=d+h>>>0){break m}e=d;while(1){f=q[a+2104>>2];if(q[a+2108>>2]-f>>2>>>0<=e>>>0){break d}v=q[f+(e<<2)>>2];l=w(v,48)+C|0;i=q[l+36>>2];if(i&16384){d=s+(v<<3)|0;r=q[d+4>>2]&-251658241;n=u[d>>2];f=(i>>>4&3)<<24;i=q[d>>2];q[d>>2]=i;f=f|r;q[d+4>>2]=f;h=d;r=f&-218103808;n:{if((q[l+36>>2]&48)==16){n=x(x(16777208)-x(m*x(n-t)));if(n=x(0)){f=~~n>>>0;break n}f=0;break n}f=q[l+24>>2]}q[h>>2]=i;f=f&16777215|r;q[h+4>>2]=f;r=f&67108863;h=q[l+36>>2]<<28;q[d>>2]=i;f=h|r;q[d+4>>2]=f;h=i&-16777216|q[l+28>>2]&16777215;q[d>>2]=h;f=f&-201326593;q[d+4>>2]=f;i=f&-201326593;f=q[l+36>>2];q[d>>2]=h&16777215|f<<18&-16777216;q[d+4>>2]=i;d=q[j>>2];if((d|0)==q[A>>2]){break i}q[j>>2]=d+4;q[d>>2]=v;h=q[p+8>>2];d=q[p+4>>2]}e=e+1|0;if(e>>>0<(h&2147483647)+d>>>0){continue}break}}k=k+1|0;if((D|0)!=(k|0)){continue}break}}if(q[j>>2]!=q[y>>2]){q[g+8>>2]=0;f=q[j>>2];h=q[y>>2];q[g+32>>2]=q[B>>2];e=f-h|0;d=e>>2;o:{p:{if((e|0)>=513){e=(d|0)<536870911?d:536870911;while(1){i=Oi(e<<2);if(i){break p}e=e>>>1|0;if(e){continue}break}sp(h,f,g+32|0,d,0,0);break o}sp(h,f,g+32|0,d,0,0);break o}sp(h,f,g+32|0,d,i,e);yi(i)}q[a+2024>>2]=q[a+2020>>2];e=0;q[g+52>>2]=0;q[g+44>>2]=0;q[g+48>>2]=0;q[g+36>>2]=0;q[g+40>>2]=0;q[g+32>>2]=a;q[g+8>>2]=0;d=q[a+2056>>2];f=q[a+2060>>2]-d|0;if(f){f=(f|0)/12|0;while(1){if(e>>>0>=f>>>0){break d}d=w(e,12)+d|0;q[g+36>>2]=q[d+8>>2];xi[q[d>>2]](g+32|0);e=e+1|0;d=q[a+2056>>2];f=(q[a+2060>>2]-d|0)/12|0;if((e|0)!=(f|0)){continue}break}}q[g+40>>2]=1;h=q[a+2040>>2];q[g+44>>2]=h;d=q[a+2092>>2];f=q[a+2088>>2];q[g+8>>2]=0;d=d-f|0;if(d){i=d>>2;e=1;while(1){d=q[y>>2]+(e<<2)|0;j=h+w(q[f>>2],48)|0;k=q[j+36>>2];q:{r:{if(e>>>0>=i>>>0){break r}l=h+w(q[d>>2],48)|0;s=k^q[l+36>>2];if(s&16320|s&15){break r}if(q[j+28>>2]==q[l+28>>2]){break q}}k=k>>>6&255;if((k|0)!=255){j=q[a+2056>>2];if(k>>>0>=(q[a+2060>>2]-j|0)/12>>>0){break h}k=j+w(k,12)|0;j=q[k+8>>2];q[g+52>>2]=d;q[g+48>>2]=f;q[g+36>>2]=j;xi[q[k>>2]](g+32|0)}f=d}e=e+1|0;if(i>>>0>=e>>>0){continue}break}}q[g+48>>2]=0;q[g+52>>2]=0;q[g+40>>2]=2;q[g+44>>2]=0;q[g+8>>2]=0;d=q[a+2056>>2];e=q[a+2060>>2]-d|0;if(e){f=(e|0)/12|0;e=0;while(1){if(e>>>0>=f>>>0){break d}d=w(e,12)+d|0;q[g+36>>2]=q[d+8>>2];xi[q[d>>2]](g+32|0);e=e+1|0;d=q[a+2056>>2];f=(q[a+2060>>2]-d|0)/12|0;if((e|0)!=(f|0)){continue}break}}W5(a,b,c)}ti=g+304|0;return}J(110219,110092,506,110238);G()}J(110160,110092,533,110184);G()}J(109927,109491,760,109862);G()}J(110246,110092,479,110257);G()}J(110017,110092,493,110148);G()}function dz(a,b,c,d,e){var f=0,g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),t=x(0),v=0,w=x(0),y=0,z=x(0),A=0,B=0,C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0);f=ti-1376|0;ti=f;q[f+328>>2]=c;q[f+332>>2]=b;q[f+320>>2]=0;a:{b:{c:{b=q[a+1984>>2];d:{if((b|0)==q[a+1988>>2]){q[f>>2]=(b-q[a+1980>>2]|0)/288;Ai(3,107445,107652,f);break d}if(!d){hn(f+352|0,0);ll(f+352|0,f+332|0,4);ll(f+352|0,e+188|0,2);if(o[e+256|0]&1){ll(f+352|0,e+220|0,36);c=q[f+328>>2]}if(c){ll(f+352|0,f+328|0,4)}d=$n(f+352|0);v=wi}h=q[a+1972>>2];y=q[a+1964>>2];A=h-y|0;B=q[e+112>>2];b=Ui(B);c=q[a+1968>>2];y=c-y|0;if(A>>>0<(b+y|0)+1>>>0){q[f+16>>2]=A;Ai(3,107445,107683,f+16|0);break d}if(b>>>0>h-c>>>0){break c}Gi(c,B,b);b=b+q[a+1968>>2]|0;q[a+1968>>2]=b;if((b|0)==q[a+1972>>2]){break a}q[a+1968>>2]=b+1;o[b|0]=0;c=f;b=q[f+328>>2];if(!b){b=q[q[f+332>>2]+8>>2]}q[c+328>>2]=b;iG(f+32|0);u[f+80>>2]=u[e>>2];u[f+84>>2]=u[e+4>>2];u[f+88>>2]=u[e+8>>2];u[f+92>>2]=u[e+12>>2];u[f+96>>2]=u[e+16>>2];u[f+100>>2]=u[e+20>>2];u[f+104>>2]=u[e+24>>2];u[f+108>>2]=u[e+28>>2];u[f+112>>2]=u[e+32>>2];u[f+116>>2]=u[e+36>>2];u[f+120>>2]=u[e+40>>2];u[f+124>>2]=u[e+44>>2];u[f+128>>2]=u[e+48>>2];u[f+132>>2]=u[e+52>>2];u[f+136>>2]=u[e+56>>2];u[f+140>>2]=u[e+60>>2];q[f+236>>2]=y;b=q[f+332>>2];q[f+208>>2]=b;q[f+268>>2]=-1;q[f+272>>2]=-1;q[f+224>>2]=d;q[f+228>>2]=v;q[f+212>>2]=q[f+328>>2];g=x(u[e+68>>2]*x(255));e:{if(g=x(0)){c=~~g>>>0;break e}c=0}c=c<<8;d=f;g=x(u[e+64>>2]*x(255));f:{if(g=x(0)){h=~~g>>>0;break f}h=0}h=h|c;g=x(u[e+72>>2]*x(255));g:{if(g=x(0)){c=~~g>>>0;break g}c=0}h=h|c<<16;g=x(x(u[e+76>>2]*u[b+76>>2])*x(255));h:{if(g=x(0)){c=~~g>>>0;break h}c=0}q[d+232>>2]=h|c<<24;g=x(u[e+84>>2]*x(255));i:{if(g=x(0)){c=~~g>>>0;break i}c=0}c=c<<8;d=f;g=x(u[e+80>>2]*x(255));j:{if(g=x(0)){h=~~g>>>0;break j}h=0}h=h|c;g=x(u[e+88>>2]*x(255));k:{if(g=x(0)){c=~~g>>>0;break k}c=0}h=h|c<<16;g=x(x(u[e+92>>2]*u[b+80>>2])*x(255));l:{if(g=x(0)){c=~~g>>>0;break l}c=0}q[d+240>>2]=h|c<<24;g=x(u[e+100>>2]*x(255));m:{if(g=x(0)){c=~~g>>>0;break m}c=0}c=c<<8;d=f;g=x(u[e+96>>2]*x(255));n:{if(g=x(0)){h=~~g>>>0;break n}h=0}h=h|c;g=x(u[e+104>>2]*x(255));o:{if(g=x(0)){c=~~g>>>0;break o}c=0}h=h|c<<16;g=x(x(u[e+108>>2]*u[b+84>>2])*x(255));p:{if(g=x(0)){c=~~g>>>0;break p}c=0}q[d+244>>2]=h|c<<24;p[f+248>>1]=s[e+188>>1];k=u[e+192>>2];u[f+252>>2]=k;u[f+256>>2]=u[e+196>>2];g=u[e+200>>2];u[f+260>>2]=g;i=u[e+204>>2];u[f+264>>2]=i;c=r[e+208|0];o[f+251|0]=c;d=r[e+216|0];v=r[e+212|0];h=q[e+240>>2];q[f+48>>2]=q[e+236>>2];q[f+52>>2]=h;h=q[e+248>>2];q[f+56>>2]=q[e+244>>2];q[f+60>>2]=h;q[f- -64>>2]=q[e+252>>2];h=q[e+224>>2];q[f+32>>2]=q[e+220>>2];q[f+36>>2]=h;h=q[e+232>>2];q[f+40>>2]=q[e+228>>2];q[f+44>>2]=h;o[f+308|0]=r[e+256|0]<<4&16|(d<<2&12|(r[f+308|0]&224|v&3));q[f+216>>2]=q[e+180>>2];q[f+220>>2]=q[e+184>>2];d=q[e+112>>2];l=u[b+56>>2];j=u[b+52>>2];q[f+336>>2]=b;n=i;i=x(j+l);u[f+340>>2]=n*i;b=q[f+340>>2];q[f+24>>2]=q[f+336>>2];q[f+28>>2]=b;l=x(g+x(-1));c=Gw(d,c?k:x(3.4028234663852886e+38),f+352|0,f+348|0,f+24|0,!c);j=x(c>>>0);m=x(g*i);g=x(0);k=u[f+252>>2];b=q[f+332>>2];q:{r:{s:{d=r[f+308|0];v=d&3;switch(v-1|0){case 1:break r;case 0:break s;default:break q}}g=x(k*x(.5));break q}g=k}w=x(l*i);z=x(m*j);k=u[b+52>>2];t=u[b+56>>2];i=x(k+t);l=u[f+260>>2];m=u[f+256>>2];t:{u:{switch((d>>>2&3)-1|0){case 0:j=x(x(x(m*x(.5))+x(x(x(x(i*l)*j)-x(i*x(l+x(-1))))*x(.5)))-k);break t;case 1:j=x(t+x(x(i*l)*x(c-1>>>0)));break t;default:break u}}j=x(m-k)}i=x(z-w);l=u[f+348>>2];v:{w:{switch(v|0){case 0:g=x(x(l*x(.5))+g);break v;case 2:break w;default:break v}}g=x(g+x(i*x(-.5)))}m=u[f+136>>2];w=u[f+88>>2];k=x(k+j);j=x(i*x(.5));k=x(k-j);z=u[f+104>>2];t=x(u[f+120>>2]*x(0));C=x(m+x(x(x(g*w)+x(k*z))+t));u[f+296>>2]=C;D=u[f+132>>2];E=u[f+84>>2];F=u[f+100>>2];H=x(u[f+116>>2]*x(0));I=x(D+x(x(x(g*E)+x(k*F))+H));u[f+292>>2]=I;i=u[f+128>>2];K=u[f+80>>2];L=u[f+96>>2];M=x(u[f+112>>2]*x(0));N=x(i+x(x(x(g*K)+x(k*L))+M));u[f+288>>2]=N;n=i;i=x(x(l*x(.5))+g);l=x(j+k);j=x(x(n+x(x(x(K*i)+x(L*l))+M))-N);n=x(j*j);j=x(x(D+x(x(x(i*E)+x(l*F))+H))-I);n=x(n+x(j*j));j=x(x(m+x(x(x(i*w)+x(l*z))+t))-C);w=x(n+x(j*j));j=u[f+140>>2];n=i;i=u[f+92>>2];t=l;l=u[f+108>>2];m=x(u[f+124>>2]*x(0));g=x(x(j+x(x(x(n*i)+x(t*l))+m))-x(j+x(x(x(g*i)+x(k*l))+m)));u[f+304>>2]=w+x(g*g);b=r[e+190|0];if(b>>>0>=17){break b}o[f+250|0]=b;c=Gi(f+144|0,e+116|0,b<<2);b=q[a+1984>>2];if((b|0)==q[a+1988>>2]){break a}q[a+1984>>2]=b+288;q[b+32>>2]=q[f- -64>>2];a=q[f+60>>2];q[b+24>>2]=q[f+56>>2];q[b+28>>2]=a;a=q[f+52>>2];q[b+16>>2]=q[f+48>>2];q[b+20>>2]=a;a=q[f+44>>2];q[b+8>>2]=q[f+40>>2];q[b+12>>2]=a;a=q[f+36>>2];q[b>>2]=q[f+32>>2];q[b+4>>2]=a;u[b+48>>2]=u[f+80>>2];u[b+52>>2]=u[f+84>>2];u[b+56>>2]=u[f+88>>2];u[b+60>>2]=u[f+92>>2];u[b- -64>>2]=u[f+96>>2];u[b+68>>2]=u[f+100>>2];u[b+72>>2]=u[f+104>>2];u[b+76>>2]=u[f+108>>2];u[b+80>>2]=u[f+112>>2];u[b+84>>2]=u[f+116>>2];u[b+88>>2]=u[f+120>>2];u[b+92>>2]=u[f+124>>2];u[b+96>>2]=u[f+128>>2];u[b+100>>2]=u[f+132>>2];u[b+104>>2]=u[f+136>>2];u[b+108>>2]=u[f+140>>2];Gi(b+112|0,c,132);u[b+256>>2]=u[f+288>>2];u[b+260>>2]=u[f+292>>2];u[b+264>>2]=u[f+296>>2];q[b+272>>2]=q[f+304>>2];o[b+276|0]=r[f+308|0]}ti=f+1376|0;return}J(108722,108079,540,108751);G()}J(107765,107832,600,107643);G()}J(108693,108079,533,108717);G()}function Uta(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,t=0,u=0,v=0,x=0,y=0,A=0,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=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,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0;g=ti+ -64|0;ti=g;W=d-1|0;k=W;k=k?32-z(k)|0:0;X=e-1|0;j=X;j=j?32-z(j)|0:0;aa=j>>>0>k>>>0?k:j;if((e|0)>=1){ba=aa<<1;Xa=-1<>2];D=mn(j);H=ln(j);j=q[Y>>2];I=mn(j);f=ln(j);j=q[ca+Y>>2];mn(j);ln(j);Z=(w(o&X,d)<<2)+b|0;j=q[k+Z>>2];u=mn(j);v=ln(j);j=q[Z>>2];l=mn(j);h=ln(j);j=q[ca+Z>>2];mn(j);ln(j);oa=o+1|0;_=(w(oa&X,d)<<2)+b|0;k=q[k+_>>2];p=mn(k);n=ln(k);k=q[_>>2];A=mn(k);E=ln(k);k=q[ca+_>>2];mn(k);ln(k);if((d|0)>=1){Ya=s[((o&255)<<1)+104288>>1]|s[(o>>>7&33554430)+104288>>1]<<16;Za=o>>>aa<>>0)/31|0;D=(w(H,255)>>>0)/31|0;t=(w(I,255)>>>0)/31|0;y=(w(f,255)>>>0)/31|0;o=(w(u,255)>>>0)/31|0;k=(w(v,255)>>>0)/31|0;v=(w(l,255)>>>0)/31|0;l=(w(h,255)>>>0)/31|0;H=(w(p,255)>>>0)/31|0;I=(w(n,255)>>>0)/31|0;p=(w(A,255)>>>0)/31|0;n=(w(E,255)>>>0)/31|0;E=0;while(1){h=j;j=t;f=o;o=v;v=D;D=y;u=k;k=l;A=H;H=p;p=I;I=n;cq((da<<4)+a|0,g);y=s[(E>>>7&33554430)+104288>>1]<<17|Ya|s[((E&255)<<1)+104288>>1]<<1;n=y;a:{if((d|0)==(e|0)){break a}y=y&Xa;n=y|E>>>aa<>>0>e>>>0){break a}n=y|Za}pa=(n<<3)+c|0;q[pa+4>>2]=q[(da<<2)+b>>2];E=E+1|0;l=(W&E)<<2;t=q[l+Y>>2];y=mn(t);n=ln(t);t=q[l+Z>>2];U=mn(t);x=ln(t);l=q[l+_>>2];V=mn(l);$=ln(l);l=w(o,6);M=l+w(j,6)|0;B=M+(f+h<<1)|0;t=(r[g+6|0]+(r[g+5|0]+r[g+4|0]|0)<<4)-B<<4;C=0-t|0;i=t;t=w(k,6);F=t+w(D,6)|0;qa=F+(u+v<<1)|0;ra=(qa|0)<(B|0);m=ra?C:i;J=f+o|0;N=h+j|0;ea=J+N<<2;O=(r[g+2|0]+(r[g+1|0]+r[g|0]|0)<<4)-ea<<4;K=k+u|0;P=v+D|0;sa=K+P<<2;ta=(sa|0)<(ea|0);O=ta?0-O|0:O;fa=l+(w(f,6)+(N<<1)|0)|0;l=(r[g+18|0]+(r[g+17|0]+r[g+16|0]|0)<<4)-fa<<4;ua=t+(w(u,6)+(P<<1)|0)|0;va=(ua|0)<(fa|0);N=va?0-l|0:l;G=w(j,3);L=w(o,9);Q=L+w(f,3)|0;ga=G+(Q+h|0)|0;l=(r[g+22|0]+(r[g+21|0]+r[g+20|0]|0)<<4)-ga<<4;R=w(D,3);S=w(k,9);T=S+w(u,3)|0;wa=R+(T+v|0)|0;xa=(wa|0)<(ga|0);h=xa?0-l|0:l;ha=j+o<<3;v=(r[g+10|0]+(r[g+9|0]+r[g+8|0]|0)<<4)-ha<<4;ya=k+D<<3;za=(ya|0)<(ha|0);P=za?0-v|0:v;t=(w(y,255)>>>0)/31|0;v=(w(U,255)>>>0)/31|0;ia=(M+(t<<1)|0)+(v<<1)|0;l=(r[g+14|0]+(r[g+13|0]+r[g+12|0]|0)<<4)-ia<<4;C=0-l|0;i=l;y=(w(n,255)>>>0)/31|0;l=(w(x,255)>>>0)/31|0;Aa=(F+(y<<1)|0)+(l<<1)|0;Ba=(Aa|0)<(ia|0);U=Ba?C:i;n=w(o,12);ja=n+(j<<2)|0;x=(r[g+26|0]+(r[g+25|0]+r[g+24|0]|0)<<4)-ja<<4;C=0-x|0;i=x;x=w(k,12);Ca=x+(D<<2)|0;Da=Ca>>>0>>0;M=Da?C:i;C=w(v,3);ka=C+((G+L|0)+t|0)|0;F=(r[g+30|0]+(r[g+29|0]+r[g+28|0]|0)<<4)-ka<<4;Ea=w(l,3);Fa=Ea+((S+R|0)+y|0)|0;Ga=(Fa|0)<(ka|0);F=Ga?0-F|0:F;R=J<<3;G=(r[g+34|0]+(r[g+33|0]+r[g+32|0]|0)<<4)-R<<4;Ha=K<<3;Ia=(Ha|0)<(R|0);G=Ia?0-G|0:G;la=n+(f<<2)|0;f=(r[g+38|0]+(r[g+37|0]+r[g+36|0]|0)<<4)-la<<4;Ja=x+(u<<2)|0;Ka=(Ja|0)<(la|0);f=Ka?0-f|0:f;ma=(w(J,6)+(A<<1)|0)+(H<<1)|0;u=(r[g+50|0]+(r[g+49|0]+r[g+48|0]|0)<<4)-ma<<4;La=(w(K,6)+(p<<1)|0)+(I<<1)|0;Ma=(La|0)<(ma|0);u=Ma?0-u|0:u;i=w(H,3);Q=i+(A+Q|0)|0;A=(r[g+54|0]+(r[g+53|0]+r[g+52|0]|0)<<4)-Q<<4;Na=w(I,3);Oa=Na+(p+T|0)|0;Pa=(Oa|0)<(Q|0);A=Pa?0-A|0:A;p=r[g+42|0]+(r[g+41|0]+(r[g+40|0]-o|0)|0)<<8;Qa=k<<4;Ra=o<<4;Sa=Qa>>>0>>0;J=Sa?0-p|0:p;T=n+(v<<2)|0;p=(r[g+46|0]+(r[g+45|0]+r[g+44|0]|0)<<4)-T<<4;Ta=x+(l<<2)|0;Ua=Ta>>>0>>0;K=Ua?0-p|0:p;na=n+(H<<2)|0;p=(r[g+58|0]+(r[g+57|0]+r[g+56|0]|0)<<4)-na<<4;Va=x+(I<<2)|0;Wa=Va>>>0>>0;x=Wa?0-p|0:p;p=(w(V,255)>>>0)/31|0;V=i+(p+(L+C|0)|0)|0;n=(r[g+62|0]+(r[g+61|0]+r[g+60|0]|0)<<4)-V<<4;C=0-n|0;i=n;n=(w($,255)>>>0)/31|0;S=Na+(n+(S+Ea|0)|0)|0;$=(S|0)<(V|0);L=$?C:i;B=qa-B|0;B=ra?0-B|0:B;i=(m|0)>(w(B,13)|0)?12:(m|0)>B<<3?8:((m|0)>(w(B,3)|0))<<2;m=sa-ea|0;m=ta?0-m|0:m;i=i|((O|0)>(w(m,13)|0)?3:(O|0)>m<<3?2:(O|0)>(w(m,3)|0));m=ua-fa|0;m=va?0-m|0:m;i=i|((N|0)>(w(m,13)|0)?768:(N|0)>m<<3?512:((N|0)>(w(m,3)|0))<<8);m=wa-ga|0;m=xa?0-m|0:m;i=i|((h|0)>(w(m,13)|0)?3072:(h|0)>m<<3?2048:((h|0)>(w(m,3)|0))<<10);h=ya-ha|0;h=za?0-h|0:h;i=i|((P|0)>(w(h,13)|0)?48:(P|0)>h<<3?32:((P|0)>(w(h,3)|0))<<4);h=Aa-ia|0;h=Ba?0-h|0:h;i=i|((U|0)>(w(h,13)|0)?192:(U|0)>h<<3?128:((U|0)>(w(h,3)|0))<<6);h=Ca-ja|0;h=Da?0-h|0:h;i=i|((M|0)>(w(h,13)|0)?12288:(M|0)>h<<3?8192:((M|0)>(w(h,3)|0))<<12);h=Fa-ka|0;h=Ga?0-h|0:h;i=i|((F|0)>(w(h,13)|0)?49152:(F|0)>h<<3?32768:((F|0)>(w(h,3)|0))<<14);h=Ha-R|0;h=Ia?0-h|0:h;i=i|((G|0)>(w(h,13)|0)?196608:(G|0)>h<<3?131072:((G|0)>(w(h,3)|0))<<16);h=Ja-la|0;h=Ka?0-h|0:h;i=i|((f|0)>(w(h,13)|0)?786432:(f|0)>h<<3?524288:((f|0)>(w(h,3)|0))<<18);f=La-ma|0;f=Ma?0-f|0:f;i=i|((u|0)>(w(f,13)|0)?50331648:(u|0)>f<<3?33554432:((u|0)>(w(f,3)|0))<<24);f=Oa-Q|0;f=Pa?0-f|0:f;i=i|((A|0)>(w(f,13)|0)?201326592:(A|0)>f<<3?134217728:((A|0)>(w(f,3)|0))<<26);f=Qa-Ra|0;f=Sa?0-f|0:f;i=i|((J|0)>(w(f,13)|0)?3145728:(J|0)>f<<3?2097152:((J|0)>(w(f,3)|0))<<20);f=Ta-T|0;f=Ua?0-f|0:f;i=i|((K|0)>(w(f,13)|0)?12582912:(K|0)>f<<3?8388608:((K|0)>(w(f,3)|0))<<22);f=Va-na|0;f=Wa?0-f|0:f;i=i|((x|0)>(w(f,13)|0)?805306368:(x|0)>f<<3?536870912:((x|0)>(w(f,3)|0))<<28);f=S-V|0;f=$?0-f|0:f;q[pa>>2]=i|((L|0)>(w(f,13)|0)?-1073741824:(L|0)>f<<3?-2147483648:((L|0)>(w(f,3)|0))<<30);da=da+1|0;if((d|0)!=(E|0)){continue}break}}o=oa;if((o|0)!=(e|0)){continue}break}}ti=g- -64|0}function zJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0);e=ti-464|0;ti=e;h=Zi(e+440|0,a,0,68051,565);i=x(1);a:{b:{switch(b-1|0){case 0:i=x(0);break a;case 1:o[e+429|0]=0;o[e+430|0]=0;o[e+431|0]=0;o[e+432|0]=0;o[e+433|0]=0;o[e+434|0]=0;o[e+435|0]=0;o[e+436|0]=0;q[e+424>>2]=0;q[e+428>>2]=0;break a;case 2:o[e+429|0]=0;o[e+430|0]=0;o[e+431|0]=0;o[e+432|0]=0;o[e+433|0]=0;o[e+434|0]=0;o[e+435|0]=0;o[e+436|0]=0;q[e+424>>2]=0;q[e+428>>2]=0;q[e+412>>2]=0;o[e+415|0]=0;o[e+416|0]=0;o[e+417|0]=0;o[e+418|0]=0;j=x(1);break a;case 3:break b;default:break a}}i=x(0)}o[d|0]=0;f=r[e+437|0]|r[e+438|0]<<8;o[d+1|0]=f;o[d+2|0]=f>>>8;o[d+3|0]=r[e+439|0];u[d+12>>2]=j;q[d+8>>2]=0;u[d+4>>2]=i;f=q[e+428>>2];q[d+16>>2]=q[e+424>>2];q[d+20>>2]=f;f=r[e+433|0]|r[e+434|0]<<8|(r[e+435|0]<<16|r[e+436|0]<<24);g=r[e+429|0]|r[e+430|0]<<8|(r[e+431|0]<<16|r[e+432|0]<<24);o[d+21|0]=g;o[d+22|0]=g>>>8;o[d+23|0]=g>>>16;o[d+24|0]=g>>>24;o[d+25|0]=f;o[d+26|0]=f>>>8;o[d+27|0]=f>>>16;o[d+28|0]=f>>>24;o[d+33|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+32|0]=0;f=q[e+416>>2];g=q[e+412>>2];p[d+34>>1]=g;p[d+36>>1]=g>>>16;p[d+38>>1]=f;p[d+40>>1]=f>>>16;p[d+42>>1]=s[e+420>>1];q[d+44>>2]=0;q[d+48>>2]=0;f=Ei(a,c);c:{if(f+1>>>0<2){break c}if((f|0)!=5){q[e+400>>2]=c;sj(h,69099,e+400|0);break c}Ki(a,c,69165);f=Ei(a,-1);d:{if(f+1>>>0>=2){if((f|0)!=1){q[e+388>>2]=q[66949];q[e+384>>2]=69165;if(!Bi(a,69578,e+384|0)){break d}}o[d|0]=(Ej(a,-1)|0)!=0}Ci(a,-2)}e:{switch(b|0){case 0:Ki(a,c,69183);b=Ei(a,-1);f:{if(b+1>>>0>=2){if((b|0)!=3){q[e+52>>2]=q[66951];q[e+48>>2]=69183;if(!Bi(a,69578,e+48|0)){break f}}u[d+4>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69190);b=Ei(a,-1);g:{if(b+1>>>0>=2){if((b|0)!=3){q[e+36>>2]=q[66951];q[e+32>>2]=69190;if(!Bi(a,69578,e+32|0)){break g}}u[d+8>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69200);b=Ei(a,-1);if(b+1>>>0<=1){Ci(a,-2);break c}if((b|0)!=3){q[e+20>>2]=q[66951];q[e+16>>2]=69200;if(!Bi(a,69578,e+16|0)){break c}}u[d+12>>2]=xj(a,-1);Ci(a,-2);break c;case 1:Ki(a,c,69208);b=Ei(a,-1);if(b+1>>>0<=1){Ci(a,-2);break c}if((b|0)!=3){q[e+68>>2]=q[66951];q[e+64>>2]=69208;if(!Bi(a,69578,e- -64|0)){break c}}u[d+4>>2]=xj(a,-1);Ci(a,-2);break c;case 2:Ki(a,c,69219);b=Ei(a,-1);h:{if(b+1>>>0>=2){if((b|0)!=3){q[e+180>>2]=q[66951];q[e+176>>2]=69219;if(!Bi(a,69578,e+176|0)){break h}}u[d+12>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69235);b=Ei(a,-1);i:{if(b+1>>>0>=2){if((b|0)!=3){q[e+164>>2]=q[66951];q[e+160>>2]=69235;if(!Bi(a,69578,e+160|0)){break i}}u[d+16>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69247);b=Ei(a,-1);j:{if(b+1>>>0>=2){if((b|0)!=3){q[e+148>>2]=q[66951];q[e+144>>2]=69247;if(!Bi(a,69578,e+144|0)){break j}}u[d+20>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69259);b=Ei(a,-1);k:{if(b+1>>>0>=2){if((b|0)!=3){q[e+132>>2]=q[66951];q[e+128>>2]=69259;if(!Bi(a,69578,e+128|0)){break k}}u[d+24>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69276);b=Ei(a,-1);l:{if(b+1>>>0>=2){if((b|0)!=3){q[e+116>>2]=q[66951];q[e+112>>2]=69276;if(!Bi(a,69578,e+112|0)){break l}}u[d+28>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69288);b=Ei(a,-1);m:{if(b+1>>>0>=2){if((b|0)!=1){q[e+100>>2]=q[66949];q[e+96>>2]=69288;if(!Bi(a,69578,e+96|0)){break m}}o[d+32|0]=(Ej(a,-1)|0)!=0}Ci(a,-2)}Ki(a,c,69301);b=Ei(a,-1);n:{if(b+1>>>0>=2){if((b|0)!=1){q[e+84>>2]=q[66949];q[e+80>>2]=69301;if(!Bi(a,69578,e+80|0)){break n}}o[d+33|0]=(Ej(a,-1)|0)!=0}Ci(a,-2)}if(u[d+16>>2]>u[d+20>>2]^1){break c}Bi(a,69314,0);break c;case 3:Ki(a,c,69383);b=Ei(a,-1);o:{if(b+1>>>0<=1){Ci(a,-2);break o}if((b|0)!=7){q[e+324>>2]=q[66955];q[e+320>>2]=69383;if(!Bi(a,69578,e+320|0)){break o}}b=vm(a,-1);if(!b){Ci(a,-2);q[e+304>>2]=69383;Bi(a,69628,e+304|0);break o}u[d+12>>2]=u[b>>2];u[d+16>>2]=u[b+4>>2];u[d+20>>2]=u[b+8>>2];Ci(a,-2)}Ki(a,c,69219);b=Ei(a,-1);p:{if(b+1>>>0>=2){if((b|0)!=3){q[e+292>>2]=q[66951];q[e+288>>2]=69219;if(!Bi(a,69578,e+288|0)){break p}}u[d+24>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69288);b=Ei(a,-1);q:{if(b+1>>>0>=2){if((b|0)!=1){q[e+276>>2]=q[66949];q[e+272>>2]=69288;if(!Bi(a,69578,e+272|0)){break q}}o[d+28|0]=(Ej(a,-1)|0)!=0}Ci(a,-2)}Ki(a,c,69396);b=Ei(a,-1);r:{if(b+1>>>0>=2){if((b|0)!=3){q[e+260>>2]=q[66951];q[e+256>>2]=69396;if(!Bi(a,69578,e+256|0)){break r}}u[d+32>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69414);b=Ei(a,-1);s:{if(b+1>>>0>=2){if((b|0)!=3){q[e+244>>2]=q[66951];q[e+240>>2]=69414;if(!Bi(a,69578,e+240|0)){break s}}u[d+36>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69301);b=Ei(a,-1);t:{if(b+1>>>0>=2){if((b|0)!=1){q[e+228>>2]=q[66949];q[e+224>>2]=69301;if(!Bi(a,69578,e+224|0)){break t}}o[d+40|0]=(Ej(a,-1)|0)!=0}Ci(a,-2)}Ki(a,c,69432);b=Ei(a,-1);u:{if(b+1>>>0>=2){if((b|0)!=3){q[e+212>>2]=q[66951];q[e+208>>2]=69432;if(!Bi(a,69578,e+208|0)){break u}}u[d+44>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69276);b=Ei(a,-1);v:{if(b+1>>>0>=2){if((b|0)!=3){q[e+196>>2]=q[66951];q[e+192>>2]=69276;if(!Bi(a,69578,e+192|0)){break v}}u[d+48>>2]=xj(a,-1)}Ci(a,-2)}if(u[d+32>>2]>u[d+36>>2]^1){break c}Bi(a,69448,0);break c;case 4:Ki(a,c,69219);b=Ei(a,-1);w:{if(b+1>>>0>=2){if((b|0)!=3){q[e+372>>2]=q[66951];q[e+368>>2]=69219;if(!Bi(a,69578,e+368|0)){break w}}u[d+4>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69190);b=Ei(a,-1);x:{if(b+1>>>0>=2){if((b|0)!=3){q[e+356>>2]=q[66951];q[e+352>>2]=69190;if(!Bi(a,69578,e+352|0)){break x}}u[d+8>>2]=xj(a,-1)}Ci(a,-2)}Ki(a,c,69200);b=Ei(a,-1);if(b+1>>>0<=1){Ci(a,-2);break c}if((b|0)!=3){q[e+340>>2]=q[66951];q[e+336>>2]=69200;if(!Bi(a,69578,e+336|0)){break c}}u[d+12>>2]=xj(a,-1);Ci(a,-2);break c;default:break e}}q[e>>2]=b;sj(h,69529,e)}Yi(h);ti=e+464|0}function p_(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,p=0,s=0,t=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;l=ti-560|0;ti=l;q[l+44>>2]=0;axa(+b);g=Zwa(1)|0;Zwa(0)|0;a:{if((g|0)<-1?1:(g|0)<=-1){B=1;b=-b;axa(+b);g=Zwa(1)|0;Zwa(0)|0;u=208160;break a}B=1;u=208163;if(e&2048){break a}u=208166;if(e&1){break a}B=0;A=1;u=208161}b:{if((g&2146435072)==2146435072){k=B+3|0;em(a,32,c,k,e&-65537);Jl(a,u,B);d=f&32;Jl(a,b!=b?d?208187:208191:d?208179:208183,3);break b}v=l+16|0;c:{d:{e:{b=dy(b,l+44|0);b=b+b;if(b!=0){g=q[l+44>>2];q[l+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}k=q[l+44>>2];m=(d|0)<0?6:d;break d}k=g-29|0;q[l+44>>2]=k;b=b*268435456;m=(d|0)<0?6:d}n=(k|0)<0?l+48|0:l+336|0;j=n;while(1){d=j;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}q[d>>2]=g;j=j+4|0;b=(b- +(g>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<1){d=k;g=j;h=n;break f}h=n;d=k;while(1){p=(d|0)<29?d:29;g=j-4|0;g:{if(h>>>0>g>>>0){break g}d=p;i=0;while(1){t=g;D=i;E=q[g>>2];s=d&31;if((d&63)>>>0>=32){i=E<>>32-s;E=E<>>0>>0?i+1|0:i;i=Pwa(s,i,1e9);D=t;t=Owa(i,wi,1e9,0);q[D>>2]=s-t;g=g-4|0;if(h>>>0<=g>>>0){continue}break}if(!i){break g}h=h-4|0;q[h>>2]=i}while(1){g=j;if(h>>>0>>0){j=g-4|0;if(!q[j>>2]){continue}}break}d=q[l+44>>2]-p|0;q[l+44>>2]=d;j=g;if((d|0)>0){continue}break}}if((d|0)<=-1){x=((m+25|0)/9|0)+1|0;p=(C|0)==102;while(1){i=(d|0)<-9?9:0-d|0;h:{if(g>>>0<=h>>>0){h=q[h>>2]?h:h+4|0;break h}t=1e9>>>i|0;s=-1<>2];q[j>>2]=D+(d>>>i|0);d=w(t,d&s);j=j+4|0;if(j>>>0>>0){continue}break}h=q[h>>2]?h:h+4|0;if(!d){break h}q[g>>2]=d;g=g+4|0}d=q[l+44>>2]+i|0;q[l+44>>2]=d;j=p?n:h;g=g-j>>2>(x|0)?j+(x<<2)|0:g;if((d|0)<0){continue}break}}j=0;i:{if(g>>>0<=h>>>0){break i}j=w(n-h>>2,9);d=10;i=q[h>>2];if(i>>>0<10){break i}while(1){j=j+1|0;d=w(d,10);if(i>>>0>=d>>>0){continue}break}}d=(m-((C|0)==102?0:j)|0)-((C|0)==103&(m|0)!=0)|0;if((d|0)<(w(g-n>>2,9)-9|0)){i=d+9216|0;p=(i|0)/9|0;k=((p<<2)+((k|0)<0?l+48|4:l+340|0)|0)-4096|0;d=10;i=i-w(p,9)|0;if((i|0)<=7){while(1){d=w(d,10);i=i+1|0;if((i|0)!=8){continue}break}}p=q[k>>2];t=(p>>>0)/(d>>>0)|0;x=k+4|0;i=p-w(d,t)|0;j:{if(i?0:(x|0)==(g|0)){break j}s=d>>>1|0;z=i>>>0>>0?.5:(g|0)==(x|0)?(s|0)==(i|0)?1:1.5:1.5;b=t&1?9007199254740994:9007199254740992;if(!(r[u|0]!=45|A)){z=-z;b=-b}i=p-i|0;q[k>>2]=i;if(b+z==b){break j}d=d+i|0;q[k>>2]=d;if(d>>>0>=1e9){while(1){q[k>>2]=0;k=k-4|0;if(k>>>0>>0){h=h-4|0;q[h>>2]=0}d=q[k>>2]+1|0;q[k>>2]=d;if(d>>>0>999999999){continue}break}}j=w(n-h>>2,9);d=10;i=q[h>>2];if(i>>>0<10){break j}while(1){j=j+1|0;d=w(d,10);if(i>>>0>=d>>>0){continue}break}}d=k+4|0;g=d>>>0>>0?d:g}while(1){d=g;k=g>>>0<=h>>>0;if(!k){g=d-4|0;if(!q[g>>2]){continue}}break}k:{if((C|0)!=103){A=e&8;break k}g=m?m:1;i=(g|0)>(j|0)&(j|0)>-5;m=(i?j^-1:-1)+g|0;f=(i?-1:-2)+f|0;A=e&8;if(A){break k}g=-9;l:{if(k){break l}p=q[d-4>>2];if(!p){break l}i=10;g=0;if((p>>>0)%10|0){break l}while(1){k=g;g=g+1|0;i=w(i,10);if(!((p>>>0)%(i>>>0)|0)){continue}break}g=k^-1}k=w(d-n>>2,9);if((f&-33)==70){A=0;g=(g+k|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g;break k}A=0;g=((j+k|0)+g|0)-9|0;g=(g|0)>0?g:0;m=(g|0)>(m|0)?m:g}p=m|A;t=(p|0)!=0;D=a;i=c;s=f&-33;g=(j|0)>0?j:0;m:{if((s|0)==70){break m}g=j>>31;g=Hq(g+j^g,0,v);if((v-g|0)<=1){while(1){g=g-1|0;o[g|0]=48;if((v-g|0)<2){continue}break}}x=g-2|0;o[x|0]=f;o[g-1|0]=(j|0)<0?45:43;g=v-x|0}k=(g+(t+(m+B|0)|0)|0)+1|0;em(D,32,i,k,e);Jl(a,u,B);em(a,48,c,k,e^65536);n:{o:{p:{if((s|0)==70){f=l+16|8;j=l+16|9;i=h>>>0>n>>>0?n:h;h=i;while(1){g=Hq(q[h>>2],0,j);q:{if((h|0)!=(i|0)){if(l+16>>>0>=g>>>0){break q}while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}break q}if((g|0)!=(j|0)){break q}o[l+24|0]=48;g=f}Jl(a,g,j-g|0);h=h+4|0;if(n>>>0>=h>>>0){continue}break}if(p){Jl(a,208195,1)}if((m|0)<1|d>>>0<=h>>>0){break p}while(1){g=Hq(q[h>>2],0,j);if(g>>>0>l+16>>>0){while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}}Jl(a,g,(m|0)<9?m:9);g=m-9|0;h=h+4|0;if(d>>>0<=h>>>0){break o}f=(m|0)>9;m=g;if(f){continue}break}break o}r:{if((m|0)<0){break r}n=d>>>0>h>>>0?d:h+4|0;d=l+16|8;f=l+16|9;j=h;while(1){g=Hq(q[j>>2],0,f);if((f|0)==(g|0)){o[l+24|0]=48;g=d}s:{if((h|0)!=(j|0)){if(l+16>>>0>=g>>>0){break s}while(1){g=g-1|0;o[g|0]=48;if(l+16>>>0>>0){continue}break}break s}Jl(a,g,1);g=g+1|0;if((m|0)<1?!A:0){break s}Jl(a,208195,1)}t=g;g=f-g|0;Jl(a,t,(g|0)<(m|0)?g:m);m=m-g|0;j=j+4|0;if(n>>>0<=j>>>0){break r}if((m|0)>-1){continue}break}}em(a,48,m+18|0,18,0);Jl(a,x,v-x|0);break n}g=m}em(a,48,g+9|0,9,0)}break b}m=f&32;i=m?u+9|0:u;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}z=8;while(1){z=z*16;g=g-1|0;if(g){continue}break}if(r[i|0]==45){b=-(z+(-b-z));break t}b=b+z-z}h=q[l+44>>2];g=h>>31;g=Hq(g^g+h,0,v);if((v|0)==(g|0)){o[l+15|0]=48;g=l+15|0}j=B|2;h=q[l+44>>2];n=g-2|0;o[n|0]=f+15;o[g-1|0]=(h|0)<0?45:43;k=e&8;h=l+16|0;while(1){f=h;t=h;h=m;if(y(b)<2147483648){g=~~b}else{g=-2147483648}o[t|0]=h|r[g+208144|0];b=(b- +(g|0))*16;h=f+1|0;if(!((h-(l+16|0)|0)!=1|(b==0?!((d|0)>0|k):0))){o[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((h-l|0)-18|0)>=(d|0)){m=((v-(l+16|0)|0)-n|0)+h|0}else{m=((d+v|0)-n|0)+2|0}d=m;k=d+j|0;em(g,32,f,k,e);Jl(a,i,j);em(a,48,c,k,e^65536);f=h-(l+16|0)|0;Jl(a,l+16|0,f);d=v-n|0;em(a,48,m-(d+f|0)|0,0,0);Jl(a,n,d)}em(a,32,c,k,e^8192);ti=l+560|0;return((c|0)>(k|0)?c:k)|0}function iM(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,s=0,t=0,u=0,v=0;l=ti+ -64|0;ti=l;s=-13;a:{if(g>>>0>65280|e-7>>>0>6|((k|0)==2|k>>>0>16)){break a}if(k&1){break a}v=14-e|0;o[l+32|0]=(k<<2)+248&248|(v|((g|0)!=0)<<6);Gi(l+32|1,d,e);u=15-e|0;m=c;while(1){o[(l-n|0)+47|0]=m;m=m>>>8|0;t=t+1|0;n=t&255;if(u>>>0>n>>>0){continue}break}if(m){break a}o[l+16|0]=r[l+32|0];m=r[l+33|0]|r[l+34|0]<<8|(r[l+35|0]<<16|r[l+36|0]<<24);o[l+17|0]=m;o[l+18|0]=m>>>8;o[l+19|0]=m>>>16;o[l+20|0]=m>>>24;m=r[l+41|0]|r[l+42|0]<<8|(r[l+43|0]<<16|r[l+44|0]<<24);n=r[l+37|0]|r[l+38|0]<<8|(r[l+39|0]<<16|r[l+40|0]<<24);o[l+21|0]=n;o[l+22|0]=n>>>8;o[l+23|0]=n>>>16;o[l+24|0]=n>>>24;o[l+25|0]=m;o[l+26|0]=m>>>8;o[l+27|0]=m>>>16;o[l+28|0]=m>>>24;m=r[l+45|0]|r[l+46|0]<<8;o[l+29|0]=m;o[l+30|0]=m>>>8;o[l+31|0]=r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}b:{if(!g){break b}q[l+32>>2]=0;q[l+36>>2]=0;q[l+40>>2]=0;q[l+44>>2]=0;p[l+32>>1]=(g<<8&16711680|g<<24)>>>16;m=g>>>0<14?g:14;Gi(l+32|2,f,m);o[l+16|0]=r[l+16|0]^g>>>8;o[l+17|0]=r[l+17|0]^g;o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}n=g-m|0;if(!n){break b}t=f+m|0;while(1){f=n>>>0<16?n:16;Fi(f+(l+32|0)|0,0,f>>>0>15?0:16-f|0);Gi(l+32|0,t,f);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}t=f+t|0;n=n-f|0;if(n){continue}break}}o[l|0]=v;Fi(Gi(l|1,d,e)+e|0,0,u);o[l+15|0]=1;c:{if(!c){break c}if(!b){while(1){d=c>>>0<16?c:16;e=d>>>0>15?0:16-d|0;f=Fi(d+(l+32|0)|0,0,e);Gi(l+32|0,h,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}m=0;n=0;s=Mm(a,l,16,l+32|0,l+60|0);if(s){break a}while(1){o[i+m|0]=r[(l+32|0)+m|0]^r[h+m|0];n=n+1|0;m=n&255;if(d>>>0>m>>>0){continue}break}if((b|0)==1){Fi(f,0,e);Gi(l+32|0,i,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}}c=c-d|0;h=d+h|0;i=d+i|0;m=0;n=0;while(1){d:{e=l-m|0;d=r[e+15|0]+1|0;o[e+15|0]=d;if((d|0)==(d&255)){break d}n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}}break}if(c){continue}break c}}while(1){s=Mm(a,l,16,l+32|0,l+60|0);if(s){break a}d=c>>>0<16?c:16;m=0;n=0;while(1){o[i+m|0]=r[(l+32|0)+m|0]^r[h+m|0];n=n+1|0;m=n&255;if(d>>>0>m>>>0){continue}break}if((b|0)==1){Fi(d+(l+32|0)|0,0,d>>>0>15?0:16-d|0);Gi(l+32|0,i,d);o[l+16|0]=r[l+16|0]^r[l+32|0];o[l+17|0]=r[l+17|0]^r[l+33|0];o[l+18|0]=r[l+18|0]^r[l+34|0];o[l+19|0]=r[l+19|0]^r[l+35|0];o[l+20|0]=r[l+20|0]^r[l+36|0];o[l+21|0]=r[l+21|0]^r[l+37|0];o[l+22|0]=r[l+22|0]^r[l+38|0];o[l+23|0]=r[l+23|0]^r[l+39|0];o[l+24|0]=r[l+24|0]^r[l+40|0];o[l+25|0]=r[l+25|0]^r[l+41|0];o[l+26|0]=r[l+26|0]^r[l+42|0];o[l+27|0]=r[l+27|0]^r[l+43|0];o[l+28|0]=r[l+28|0]^r[l+44|0];o[l+29|0]=r[l+29|0]^r[l+45|0];o[l+30|0]=r[l+30|0]^r[l+46|0];o[l+31|0]=r[l+31|0]^r[l+47|0];s=Mm(a,l+16|0,16,l+16|0,l+60|0);if(s){break a}}c=c-d|0;h=d+h|0;i=d+i|0;m=0;n=0;while(1){e:{e=l-m|0;d=r[e+15|0]+1|0;o[e+15|0]=d;if((d|0)==(d&255)){break e}n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}}break}if(c){continue}break}}m=0;n=0;while(1){o[(l-m|0)+15|0]=0;n=n+1|0;m=n&255;if(u>>>0>m>>>0){continue}break}s=Mm(a,l,16,l+32|0,l+60|0);if(s){break a}o[l+16|0]=r[l+32|0]^r[l+16|0];o[l+17|0]=r[l+33|0]^r[l+17|0];o[l+18|0]=r[l+34|0]^r[l+18|0];o[l+19|0]=r[l+35|0]^r[l+19|0];o[l+20|0]=r[l+36|0]^r[l+20|0];o[l+21|0]=r[l+37|0]^r[l+21|0];o[l+22|0]=r[l+38|0]^r[l+22|0];o[l+23|0]=r[l+39|0]^r[l+23|0];o[l+24|0]=r[l+40|0]^r[l+24|0];o[l+25|0]=r[l+41|0]^r[l+25|0];o[l+26|0]=r[l+42|0]^r[l+26|0];o[l+27|0]=r[l+43|0]^r[l+27|0];o[l+28|0]=r[l+44|0]^r[l+28|0];o[l+29|0]=r[l+45|0]^r[l+29|0];o[l+30|0]=r[l+46|0]^r[l+30|0];o[l+31|0]=r[l+47|0]^r[l+31|0];Gi(j,l+16|0,k);s=0}ti=l- -64|0;return s}function LJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0,s=x(0),t=0,v=0,z=0,B=0,D=x(0),E=x(0),F=0,H=0,I=x(0),K=x(0),L=x(0),M=0,N=x(0),O=0,P=0,Q=x(0),R=0,S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=x(0),ba=x(0),ca=x(0),da=0,ea=0,fa=x(0),ga=x(0),ha=0,ia=x(0),ja=x(0),ka=x(0),la=x(0),ma=x(0),na=x(0),oa=x(0),pa=x(0),qa=x(0),ra=x(0),sa=x(0),ta=x(0),ua=x(0);m=ti-48|0;ti=m;j=q[g+8>>2];a:{F=q[b+8>>2];if((ep(a,F)|0)==2){h=q[j+4>>2];H=q[j>>2];v=h-H|0;i=(v|0)/320|0;z=i+1|0;if(z>>>0<=(q[j+8>>2]-H|0)/320>>>0){q[j+4>>2]=H+w(z,320);if(i>>>0<(v+320|0)/320>>>0){i=q[g+12>>2];q[g+12>>2]=i+1;q[h+304>>2]=i;Qm(h);i=q[e>>2];o[h+288|0]=r[h+288|0]|2;b:{c:{if(i){q[h+244>>2]=5;q[h+248>>2]=0;q[h+252>>2]=2;q[h+256>>2]=2;o[h+276|0]=r[i|0];o[h+277|0]=r[i+1|0];o[h+278|0]=r[i+2|0];e=h+279|0;o[e|0]=r[h+279|0]&208|r[i+3|0]&15;if(!r[g+16|0]){break b}o[g+16|0]=0;i=r[h+279|0]|16;break c}q[h+244>>2]=7;q[h+248>>2]=0;o[h+278|0]=255;p[h+276>>1]=65280;q[h+252>>2]=0;q[h+256>>2]=0;e=h+279|0;i=r[e|0]&-48|15}o[e|0]=i}e=Ts(a,F);if(e>>>0<5){o[h+288|0]=r[h+288|0]|1;e=e<<2;q[h+236>>2]=q[e+39604>>2];q[h+232>>2]=q[e+39584>>2];q[h+148>>2]=q[j+48>>2];e=q[j+52>>2];q[h+224>>2]=2;q[h+144>>2]=e;t=j+60|0;i=q[t>>2];e=q[j+56>>2];q[h+284>>2]=0;q[h+280>>2]=(i-e|0)/36;q[h+156>>2]=q[g+4>>2];g=Ss(a,F,m+32|0);i=h;d:{e:{if(q[m+32>>2]==2){if(!g){break d}e=q[g+48>>2];g=q[e>>2];e=q[e+4>>2];break e}e=0}if(!(e|g)){g=q[j+72>>2];e=q[j+76>>2]}q[i+160>>2]=g;q[i+164>>2]=e;if(f){g=0;while(1){e=mv(a,q[((g<<4)+b|0)+8>>2]);n=(((e>>>0>4?e:4)<<1)+n|0)+12|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}O=j+56|0;f:{M=j- -64|0;e=q[M>>2];if((e-q[j+60>>2]|0)/36>>>0>>0){if(o[j+68|0]&1){break f}Ii(((e-q[O>>2]|0)/36|0)+(n>>>0>128?n:128)|0,36,O,M,t)}if(f){while(1){da=(P<<4)+b|0;g=q[da+8>>2];MI(m+32|0,a,g);g:{s=u[m+32>>2];if((s>=x(0)?s:x(-s))>2];X=u[m+24>>2];Y=u[m+20>>2];Z=u[m+16>>2];e=mv(a,g);k=QI(a,g);l=u[m+32>>2];I=x(0);ea=OI(a,g);_=x(1);$=NI(a,g);fa=x(x(x(A($>>0>4?e:4)>>>0));s=x(x(C(x(x(fa/ga)+x(.9990000128746033))))+x(1));h:{if(s=x(0)){F=~~s>>>0;break h}F=0}j=TI(a,g);i:{if(!j){e=0;Q=x(1);K=x(-1);break i}UI(a,g,m+15|0,m+14|0);j:{k:{I=u[j>>2];l:{if(I==u[j+8>>2]){g=1;e=0;i=o[m+14|0]&1;n=i;v=0;if(o[m+15|0]&1){break l}break k}g=o[m+15|0]&1;H=o[m+14|0]&1;if(u[j+12>>2]!=u[j+20>>2]){n=0;e=1;i=1;v=g;if(!H){break k}break l}z=g;g=1;e=0;i=H;n=i;v=0;if(!z){break k}}s=x(u[j+16>>2]-I);I=x(I+s);_=x(-s);break j}i=n;g=v;_=x(u[j+16>>2]-I)}z=e?5:1;v=e?1:3;if(((e?g:i)|0)==1){s=u[j+(v<<2)>>2];K=x(u[j+(z<<2)>>2]-s);Q=x(s+K);K=x(-K);break i}Q=u[j+(v<<2)>>2];K=x(u[j+(z<<2)>>2]-Q)}g=q[t>>2]-q[O>>2]|0;j=(g|0)/-36|0;if(F){s=x(k/l);ha=F-1|0;B=(P<<6)+c|0;H=B;ba=x(0);N=x(.7853981852531433);v=1;n=0;m:{while(1){k=(n|0)==(ha|0)?fa:x(ga*x(n>>>0));ca=x(.5);l=s;z=q[73450];i=z;if(!ea){g=N>ba^1|k>=N^1;ba=g?k:N;N=g?N:x(N+x(1.5707963705062866));n=n-(g^1)|0;k=ba}D=$>>9|0)+1&127)<<2)>>2]*k)+x(u[z+(g>>>7&508)>>2]*x(x(1)-k)));T=x(x(l*S)+x(.5));k=_;l=s;R=+x(D+x(-1.5707963705062866))*10430.378350470453;o:{if(y(R)<2147483648){i=~~R;break o}i=-2147483648}D=x(x(i&511)*x(.001953125));U=x(x(u[(((i>>>9|0)+1&127)<<2)+z>>2]*D)+x(u[z+(i>>>7&508)>>2]*x(x(1)-D)));V=x(x(l*U)+x(.5));E=x(k*(e?V:T));ia=u[B+8>>2];ja=u[B+24>>2];ka=x(u[B+40>>2]*x(0));L=x(x(x(T*ia)+x(V*ja))+ka);la=u[H+56>>2];ma=x(u[B+36>>2]*x(0));na=u[B+4>>2];oa=u[B+20>>2];aa=x(ma+x(x(na*T)+x(oa*V)));pa=u[B+52>>2];qa=x(u[B+32>>2]*x(0));ra=u[B>>2];sa=u[B+16>>2];D=x(qa+x(x(ra*T)+x(sa*V)));ta=u[B+48>>2];if(!ea){k=U>=x(0)?U:x(-U);l=S>=x(0)?S:x(-S);ca=x(x(.5)/(k>l?k:l))}ua=x(I+E);E=x(Q+x(K*(e?T:x(x(1)-V))));L=x(la+L);k=x(pa+aa);l=x(ta+D);p:{if(v&1){g=q[t>>2];if((g|0)==q[M>>2]){break p}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=E;u[g+12>>2]=ua;u[g+8>>2]=L;u[g+4>>2]=k;u[g>>2]=l}g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=E;u[g+12>>2]=ua;u[g+8>>2]=L;u[g+4>>2]=k;u[g>>2]=l;g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;E=x(x(S*ca)+x(.5));l=x(x(U*ca)+x(.5));L=x(Q+x(K*(e?E:x(x(1)-l))));u[g+16>>2]=L;aa=x(I+x(_*(e?l:E)));u[g+12>>2]=aa;D=x(la+x(ka+x(x(ia*E)+x(ja*l))));u[g+8>>2]=D;k=x(pa+x(ma+x(x(na*E)+x(oa*l))));u[g+4>>2]=k;l=x(ta+x(qa+x(x(ra*E)+x(sa*l))));u[g>>2]=l;if((n|0)==(ha|0)){g=q[t>>2];if((g|0)==q[M>>2]){break a}q[t>>2]=g+36;u[g+32>>2]=W;u[g+28>>2]=X;u[g+24>>2]=Y;u[g+20>>2]=Z;u[g+16>>2]=L;u[g+12>>2]=aa;u[g+8>>2]=D;u[g+4>>2]=k;u[g>>2]=l}v=0;n=n+1|0;if((F|0)==(n|0)){break m}continue}break}break a}g=q[t>>2]-q[O>>2]|0}e=mv(a,q[da+8>>2]);if(((g|0)/36|0)+j>>>0<=((e>>>0>4?e:4)<<1)+12>>>0){break g}J(38157,36771,1722,38142);G()}P=P+1|0;if((P|0)!=(f|0)){continue}break}}q[h+284>>2]=((q[t>>2]-q[O>>2]|0)/36|0)-q[h+280>>2];ti=m+48|0;return}J(36255,36330,493,36386);G()}J(37906,36771,904,37922);G()}q[m>>2]=e;Ai(4,36048,38069,m);J(38093,36771,848,38095);G()}J(36605,36330,479,36616);G()}J(36578,36330,506,36597);G()}J(38108,36771,1541,38142);G()}J(36549,36330,533,36573);G()}function Tta(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,t=0,u=0,v=0,x=0,y=0,A=0,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,_=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,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=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,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0;g=ti+ -64|0;ti=g;P=d-1|0;i=P;p=i?32-z(i)|0:0;Q=e-1|0;i=Q;i=i?32-z(i)|0:0;Y=i>>>0>p>>>0?p:i;if((e|0)>=1){Z=Y<<1;Ya=-1<>2];C=_k(i,0);D=_k(i,1);i=q[R>>2];S=_k(i,0);T=_k(i,1);i=q[_+R>>2];_k(i,0);_k(i,1);U=(w(f&Q,d)<<2)+b|0;i=q[p+U>>2];t=_k(i,0);u=_k(i,1);i=q[U>>2];J=_k(i,0);K=_k(i,1);i=q[_+U>>2];_k(i,0);_k(i,1);Da=f+1|0;V=(w(Da&Q,d)<<2)+b|0;i=q[p+V>>2];p=_k(i,0);i=_k(i,1);l=q[V>>2];o=_k(l,0);l=_k(l,1);m=q[_+V>>2];_k(m,0);_k(m,1);if((d|0)>=1){Za=s[((f&255)<<1)+104288>>1]|s[(f>>>7&33554430)+104288>>1]<<16;_a=f>>>Y<>>7&33554430)+104288>>1]<<17|Za|s[((E&255)<<1)+104288>>1]<<1;h=o;a:{if((d|0)==(e|0)){break a}o=o&Ya;h=o|E>>>Y<>>0>e>>>0){break a}h=o|_a}Ea=(h<<3)+c|0;q[Ea+4>>2]=q[($<<2)+b>>2];E=E+1|0;o=(P&E)<<2;l=q[o+R>>2];S=_k(l,0);T=_k(l,1);l=q[o+U>>2];J=_k(l,0);K=_k(l,1);l=q[o+V>>2];o=_k(l,0);l=_k(l,1);L=w(t,6);M=L+w(C,6)|0;aa=M+(k+v<<1)|0;n=(r[g+7|0]+(r[g+6|0]+(r[g+5|0]+r[g+4|0]|0)|0)<<4)-aa<<4;N=w(u,6);O=N+w(D,6)|0;Fa=O+(j+x<<1)|0;Ga=(Fa|0)<(aa|0);ba=Ga?0-n|0:n;F=t+v|0;y=k+C|0;ca=F+y<<2;n=(r[g+3|0]+(r[g+2|0]+(r[g+1|0]+r[g|0]|0)|0)<<4)-ca<<4;G=u+x|0;A=j+D|0;Ha=G+A<<2;Ia=(Ha|0)<(ca|0);da=Ia?0-n|0:n;ea=L+(w(v,6)+(y<<1)|0)|0;n=(r[g+19|0]+(r[g+18|0]+(r[g+17|0]+r[g+16|0]|0)|0)<<4)-ea<<4;Ja=N+(w(x,6)+(A<<1)|0)|0;Ka=(Ja|0)<(ea|0);fa=Ka?0-n|0:n;A=w(C,3);ga=w(t,9);y=ga+w(v,3)|0;ha=A+(y+k|0)|0;k=(r[g+23|0]+(r[g+22|0]+(r[g+21|0]+r[g+20|0]|0)|0)<<4)-ha<<4;W=0-k|0;h=k;k=w(D,3);ia=w(u,9);n=ia+w(x,3)|0;La=k+(n+j|0)|0;Ma=(La|0)<(ha|0);ja=Ma?W:h;ka=t+C<<3;j=(r[g+11|0]+(r[g+10|0]+(r[g+9|0]+r[g+8|0]|0)|0)<<4)-ka<<4;Na=u+D<<3;Oa=(Na|0)<(ka|0);la=Oa?0-j|0:j;ma=(M+(S<<1)|0)+(J<<1)|0;j=(r[g+15|0]+(r[g+14|0]+(r[g+13|0]+r[g+12|0]|0)|0)<<4)-ma<<4;Pa=(O+(T<<1)|0)+(K<<1)|0;Qa=(Pa|0)<(ma|0);na=Qa?0-j|0:j;X=w(t,12);oa=X+(C<<2)|0;j=(r[g+27|0]+(r[g+26|0]+(r[g+25|0]+r[g+24|0]|0)|0)<<4)-oa<<4;B=w(u,12);Ra=B+(D<<2)|0;Sa=(Ra|0)<(oa|0);pa=Sa?0-j|0:j;H=w(J,3);qa=H+((A+ga|0)+S|0)|0;j=(r[g+31|0]+(r[g+30|0]+(r[g+29|0]+r[g+28|0]|0)|0)<<4)-qa<<4;I=w(K,3);Ta=I+((k+ia|0)+T|0)|0;Ua=(Ta|0)<(qa|0);ra=Ua?0-j|0:j;sa=F<<3;j=(r[g+35|0]+(r[g+34|0]+(r[g+33|0]+r[g+32|0]|0)|0)<<4)-sa<<4;Va=G<<3;Wa=(Va|0)<(sa|0);ta=Wa?0-j|0:j;ua=X+(v<<2)|0;j=(r[g+39|0]+(r[g+38|0]+(r[g+37|0]+r[g+36|0]|0)|0)<<4)-ua<<4;Xa=B+(x<<2)|0;W=(Xa|0)<(ua|0);va=W?0-j|0:j;wa=(w(F,6)+(m<<1)|0)+(p<<1)|0;j=(r[g+51|0]+(r[g+50|0]+(r[g+49|0]+r[g+48|0]|0)|0)<<4)-wa<<4;G=(w(G,6)+(f<<1)|0)+(i<<1)|0;L=(G|0)<(wa|0);xa=L?0-j|0:j;j=w(p,3);ya=j+(m+y|0)|0;m=(r[g+55|0]+(r[g+54|0]+(r[g+53|0]+r[g+52|0]|0)|0)<<4)-ya<<4;h=0-m|0;k=m;m=w(i,3);M=m+(f+n|0)|0;N=(M|0)<(ya|0);za=N?h:k;f=r[g+43|0]+(r[g+42|0]+(r[g+41|0]+(r[g+40|0]-t|0)|0)|0)<<8;O=u<<4;y=t<<4;A=(O|0)<(y|0);Aa=A?0-f|0:f;Ba=X+(J<<2)|0;f=(r[g+47|0]+(r[g+46|0]+(r[g+45|0]+r[g+44|0]|0)|0)<<4)-Ba<<4;n=B+(K<<2)|0;v=(n|0)<(Ba|0);Ca=v?0-f|0:f;F=X+(p<<2)|0;f=(r[g+59|0]+(r[g+58|0]+(r[g+57|0]+r[g+56|0]|0)|0)<<4)-F<<4;x=B+(i<<2)|0;k=(x|0)<(F|0);B=k?0-f|0:f;H=j+((H+ga|0)+o|0)|0;f=(r[g+63|0]+(r[g+62|0]+(r[g+61|0]+r[g+60|0]|0)|0)<<4)-H<<4;j=m+((I+ia|0)+l|0)|0;m=(j|0)<(H|0);I=m?0-f|0:f;f=Fa-aa|0;f=Ga?0-f|0:f;h=(ba|0)>(w(f,13)|0)?12:(ba|0)>f<<3?8:((ba|0)>(w(f,3)|0))<<2;f=Ha-ca|0;f=Ia?0-f|0:f;h=h|((da|0)>(w(f,13)|0)?3:(da|0)>f<<3?2:(da|0)>(w(f,3)|0));f=Ja-ea|0;f=Ka?0-f|0:f;h=h|((fa|0)>(w(f,13)|0)?768:(fa|0)>f<<3?512:((fa|0)>(w(f,3)|0))<<8);f=La-ha|0;f=Ma?0-f|0:f;h=h|((ja|0)>(w(f,13)|0)?3072:(ja|0)>f<<3?2048:((ja|0)>(w(f,3)|0))<<10);f=Na-ka|0;f=Oa?0-f|0:f;h=h|((la|0)>(w(f,13)|0)?48:(la|0)>f<<3?32:((la|0)>(w(f,3)|0))<<4);f=Pa-ma|0;f=Qa?0-f|0:f;h=h|((na|0)>(w(f,13)|0)?192:(na|0)>f<<3?128:((na|0)>(w(f,3)|0))<<6);f=Ra-oa|0;f=Sa?0-f|0:f;h=h|((pa|0)>(w(f,13)|0)?12288:(pa|0)>f<<3?8192:((pa|0)>(w(f,3)|0))<<12);f=Ta-qa|0;f=Ua?0-f|0:f;h=h|((ra|0)>(w(f,13)|0)?49152:(ra|0)>f<<3?32768:((ra|0)>(w(f,3)|0))<<14);f=Va-sa|0;f=Wa?0-f|0:f;h=h|((ta|0)>(w(f,13)|0)?196608:(ta|0)>f<<3?131072:((ta|0)>(w(f,3)|0))<<16);f=Xa-ua|0;f=W?0-f|0:f;h=h|((va|0)>(w(f,13)|0)?786432:(va|0)>f<<3?524288:((va|0)>(w(f,3)|0))<<18);f=G-wa|0;f=L?0-f|0:f;h=h|((xa|0)>(w(f,13)|0)?50331648:(xa|0)>f<<3?33554432:((xa|0)>(w(f,3)|0))<<24);f=M-ya|0;f=N?0-f|0:f;h=h|((za|0)>(w(f,13)|0)?201326592:(za|0)>f<<3?134217728:((za|0)>(w(f,3)|0))<<26);f=O-y|0;f=A?0-f|0:f;h=h|((Aa|0)>(w(f,13)|0)?3145728:(Aa|0)>f<<3?2097152:((Aa|0)>(w(f,3)|0))<<20);f=n-Ba|0;f=v?0-f|0:f;h=h|((Ca|0)>(w(f,13)|0)?12582912:(Ca|0)>f<<3?8388608:((Ca|0)>(w(f,3)|0))<<22);f=x-F|0;f=k?0-f|0:f;k=h|((B|0)>(w(f,13)|0)?805306368:(B|0)>f<<3?536870912:((B|0)>(w(f,3)|0))<<28);f=j-H|0;f=m?0-f|0:f;q[Ea>>2]=k|((I|0)>(w(f,13)|0)?-1073741824:(I|0)>f<<3?-2147483648:((I|0)>(w(f,3)|0))<<30);$=$+1|0;if((d|0)!=(E|0)){continue}break}}f=Da;if((f|0)!=(e|0)){continue}break}}ti=g- -64|0}function cwa(){var a=0;q[215974]=0;q[215975]=0;q[215972]=0;q[215970]=193046;q[215969]=193037;q[215968]=0;q[215966]=0;q[215964]=0;q[215962]=0;q[215960]=1;q[215958]=0;q[215959]=3;q[215996]=863832;q[215994]=0;q[215992]=193046;q[215991]=193047;q[215990]=0;q[215988]=0;q[215986]=0;q[215984]=0;q[215982]=1;q[215980]=0;q[215981]=3;q[215976]=0;q[215977]=0;q[215978]=0;q[215979]=0;q[216001]=0;q[215999]=0;q[216e3]=0;q[215997]=0;q[215998]=0;q[216004]=1;q[216006]=0;q[216008]=0;q[216010]=0;q[216012]=0;q[216013]=193066;q[216014]=193046;q[216016]=0;q[216018]=863832;q[216002]=0;q[216003]=3;q[216019]=0;q[216020]=0;q[216021]=0;q[216022]=0;q[216023]=0;q[216026]=1;q[216028]=0;q[216030]=0;q[216032]=0;q[216034]=0;q[216035]=193091;q[216036]=193046;q[216038]=0;q[216040]=863832;q[216024]=0;q[216025]=3;q[216045]=0;q[216043]=0;q[216044]=0;q[216041]=0;q[216042]=0;q[216062]=863832;q[216060]=0;q[216058]=193046;q[216057]=193105;q[216056]=0;q[216054]=0;q[216052]=0;q[216050]=0;q[216048]=1;q[216046]=0;q[216047]=3;q[216067]=0;q[216065]=0;q[216066]=0;q[216063]=0;q[216064]=0;q[216084]=863832;q[216082]=0;q[216080]=193046;q[216079]=193125;q[216078]=0;q[216076]=0;q[216074]=0;q[216072]=0;q[216070]=1;q[216068]=0;q[216069]=3;q[216089]=0;q[216087]=0;q[216088]=0;q[216085]=0;q[216086]=0;q[216106]=863832;q[216104]=0;q[216102]=193046;q[216101]=193148;q[216100]=0;q[216098]=0;q[216096]=0;q[216094]=0;q[216092]=1;q[216090]=0;q[216091]=3;q[216111]=0;q[216109]=0;q[216110]=0;q[216107]=0;q[216108]=0;q[216128]=863832;q[216126]=0;q[216124]=193046;q[216123]=193172;q[216122]=0;q[216120]=0;q[216118]=0;q[216116]=0;q[216114]=1;q[216112]=0;q[216113]=3;q[216133]=0;q[216131]=0;q[216132]=0;q[216129]=0;q[216130]=0;q[216150]=863832;q[216148]=0;q[216146]=193046;q[216145]=193189;q[216144]=0;q[216142]=0;q[216140]=0;q[216138]=0;q[216136]=1;q[216134]=0;q[216135]=3;q[216155]=0;q[216153]=0;q[216154]=0;q[216151]=0;q[216152]=0;q[216156]=zi(193046);q[216157]=wi;q[216158]=zi(193046);q[216159]=wi;a=zi(193210);o[864652]=255;q[216162]=0;q[216160]=a;q[216161]=wi;a=zi(193219);o[864668]=0;q[216166]=0;q[216164]=a;q[216165]=wi;a=zi(193230);o[864684]=1;q[216170]=0;q[216168]=a;q[216169]=wi;a=zi(193241);o[864700]=2;q[216174]=0;q[216172]=a;q[216173]=wi;a=zi(193252);o[864716]=3;q[216178]=0;q[216176]=a;q[216177]=wi;a=zi(193263);o[864732]=255;q[216182]=1;q[216180]=a;q[216181]=wi;a=zi(193272);o[864748]=0;q[216186]=1;q[216184]=a;q[216185]=wi;a=zi(193283);o[864764]=1;q[216190]=1;q[216188]=a;q[216189]=wi;a=zi(193294);o[864780]=2;q[216194]=1;q[216192]=a;q[216193]=wi;a=zi(193305);o[864796]=3;q[216198]=1;q[216196]=a;q[216197]=wi;a=zi(193316);o[864812]=255;q[216202]=2;q[216200]=a;q[216201]=wi;a=zi(193322);o[864828]=0;q[216206]=2;q[216204]=a;q[216205]=wi;a=zi(193330);o[864844]=1;q[216210]=2;q[216208]=a;q[216209]=wi;a=zi(193338);o[864860]=2;q[216214]=2;q[216212]=a;q[216213]=wi;a=zi(193346);o[864876]=3;q[216218]=2;q[216216]=a;q[216217]=wi;a=zi(193354);o[864892]=255;q[216222]=3;q[216220]=a;q[216221]=wi;a=zi(193360);o[864908]=0;q[216226]=3;q[216224]=a;q[216225]=wi;a=zi(193368);o[864924]=1;q[216230]=3;q[216228]=a;q[216229]=wi;a=zi(193376);o[864940]=2;q[216234]=3;q[216232]=a;q[216233]=wi;a=zi(193384);o[864956]=3;q[216238]=3;q[216236]=a;q[216237]=wi;a=zi(193392);o[864972]=255;q[216242]=4;q[216240]=a;q[216241]=wi;a=zi(193397);o[864988]=0;q[216246]=4;q[216244]=a;q[216245]=wi;a=zi(193404);o[865004]=1;q[216250]=4;q[216248]=a;q[216249]=wi;a=zi(193411);o[865020]=2;q[216254]=4;q[216252]=a;q[216253]=wi;a=zi(193418);o[865036]=3;q[216258]=4;q[216256]=a;q[216257]=wi;a=zi(193425);o[865052]=255;q[216262]=5;q[216260]=a;q[216261]=wi;a=zi(193433);o[865068]=0;q[216266]=5;q[216264]=a;q[216265]=wi;a=zi(193443);o[865084]=1;q[216270]=5;q[216268]=a;q[216269]=wi;a=zi(193453);o[865100]=2;q[216274]=5;q[216272]=a;q[216273]=wi;a=zi(193463);o[865116]=3;q[216278]=5;q[216276]=a;q[216277]=wi;a=zi(193473);o[865132]=255;q[216282]=6;q[216280]=a;q[216281]=wi;a=zi(193480);o[865148]=0;q[216286]=6;q[216284]=a;q[216285]=wi;a=zi(193489);o[865164]=1;q[216290]=6;q[216288]=a;q[216289]=wi;a=zi(193498);o[865180]=2;q[216294]=6;q[216292]=a;q[216293]=wi;a=zi(193507);o[865196]=3;q[216298]=6;q[216296]=a;q[216297]=wi;a=zi(193516);o[865212]=255;q[216302]=7;q[216300]=a;q[216301]=wi;a=zi(193523);o[865228]=0;q[216306]=7;q[216304]=a;q[216305]=wi;a=zi(193532);o[865244]=1;q[216310]=7;q[216308]=a;q[216309]=wi;a=zi(193541);o[865260]=2;q[216314]=7;q[216312]=a;q[216313]=wi;a=zi(193550);o[865276]=3;q[216318]=7;q[216316]=a;q[216317]=wi;a=zi(193559);o[865292]=0;q[216322]=8;q[216320]=a;q[216321]=wi;a=zi(193572);o[865308]=1;q[216326]=8;q[216324]=a;q[216325]=wi;a=zi(193583);o[865324]=0;q[216330]=9;q[216328]=a;q[216329]=wi;a=zi(193591);o[865340]=1;q[216334]=9;q[216332]=a;q[216333]=wi;a=zi(193210);o[865356]=255;q[216338]=0;q[216336]=a;q[216337]=wi;a=zi(193263);o[865372]=255;q[216342]=1;q[216340]=a;q[216341]=wi;a=zi(193316);o[865388]=255;q[216346]=2;q[216344]=a;q[216345]=wi;a=zi(193354);o[865404]=255;q[216350]=3;q[216348]=a;q[216349]=wi;a=zi(193392);o[865420]=255;q[216354]=4;q[216352]=a;q[216353]=wi;a=zi(193425);o[865436]=255;q[216358]=5;q[216356]=a;q[216357]=wi;a=zi(193473);o[865452]=255;q[216362]=6;q[216360]=a;q[216361]=wi;a=zi(193600);o[865468]=255;q[216366]=7;q[216364]=a;q[216365]=wi}function iH(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;d=ti-944|0;ti=d;Fi(q[a+40>>2],255,q[a+44>>2]<<2);q[a+60>>2]=-1;q[a+64>>2]=0;q[a+52>>2]=q[a+48>>2];k=a+40|0;j=Fi(d,0,944);_n(k,0,0,j);c=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{if(q[b+4>>2]){h:{if(!c){d=Oi(108);q[a+4>>2]=d;Fi(d,0,108);c=q[a+4>>2];q[c>>2]=q[q[a>>2]+72>>2]+2368;break h}q[c+96>>2]=q[c+92>>2]}if(o[c+104|0]&1){break b}Ii(q[b+4>>2],16,c+92|0,c+100|0,c+96|0);e=q[b+4>>2];if(!e){break g}c=0;while(1){if(c>>>0>=e>>>0){break f}d=q[b>>2]+(c<<3)|0;i=zi(q[d+4>>2]);e=wi;f=q[a+4>>2];g=q[f+96>>2];if((g|0)==q[f+100>>2]){break a}d=q[d>>2];q[f+96>>2]=g+16;q[g+8>>2]=i;q[g+12>>2]=e;q[g>>2]=d;_n(k,i,e,j);c=c+1|0;e=q[b+4>>2];if(c>>>0>>0){continue}break}break g}if(!c){break g}i:{if(o[c+104|0]&1){break i}d=q[c+92>>2];if(!d){break i}yi(d)}yi(c);q[a+4>>2]=0}c=q[a+8>>2];j:{if(q[b+12>>2]){k:{if(!c){d=Oi(52);q[a+8>>2]=d;q[d+48>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;c=q[a+8>>2];q[c>>2]=q[q[a>>2]+72>>2]+2416;break k}q[c+40>>2]=q[c+36>>2]}if(o[c+48|0]&1){break b}Ii(q[b+12>>2],16,c+36|0,c+44|0,c+40|0);e=q[b+12>>2];if(e){c=0;while(1){if(c>>>0>=e>>>0){break e}d=q[b+8>>2]+(c<<3)|0;i=zi(q[d+4>>2]);e=wi;f=q[a+8>>2];g=q[f+40>>2];if((g|0)==q[f+44>>2]){break a}d=q[d>>2];q[f+40>>2]=g+16;q[g+8>>2]=i;q[g+12>>2]=e;q[g>>2]=d;_n(k,i,e,j);c=c+1|0;e=q[b+12>>2];if(c>>>0>>0){continue}break}}_n(k,0,0,j);break j}if(!c){break j}l:{if(o[c+48|0]&1){break l}d=q[c+36>>2];if(!d){break l}yi(d)}yi(c);q[a+8>>2]=0}e=q[a+88>>2];if(e){f=q[a+92>>2];if(f){c=0;while(1){d=q[(e+(c<<3)|0)+4>>2];if(d){yi(d)}c=c+1|0;if((f|0)!=(c|0)){continue}break}}yi(e)}q[a+88>>2]=0;l=q[b+20>>2];q[a+92>>2]=l;if(!l){break c}i=q[b+16>>2];h=Oi((l&536870911)!=(l|0)?-1:l<<3);c=0;while(1){d=c<<3;f=d+h|0;d=d+i|0;q[f>>2]=q[d>>2];m=f;e=q[d+4>>2];f=Ui(e);d=f+1|0;g=Oi(d);q[m+4>>2]=g;zj(g,e,d);o[f+g|0]=0;c=c+1|0;if((l|0)!=(c|0)){continue}break}q[a+88>>2]=h;c=q[a+12>>2];d=q[a+16>>2];if((c|0)==(d|0)){c=d;break d}e=0;while(1){f=q[(e<<2)+c>>2];if(f){m:{if(o[f+336|0]&1){break m}d=q[f+316>>2];if(d){yi(d)}d=q[f+308>>2];if(!d){break m}yi(d)}n:{if(o[f+304|0]&1){break n}d=q[f+292>>2];if(!d){break n}yi(d)}yi(f);c=q[a+12>>2];d=q[a+16>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}break d}J(144402,144414,350,144438);G()}J(144402,144414,358,144438);G()}q[a+16>>2]=c;d=Wl(a,0);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,1);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,2);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,3);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,4);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,5);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,6);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,7);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,8);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,9);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,10);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,11);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,12);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,13);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,14);if(d){c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}d=Wl(a,15);if(!d){break c}c=q[a+16>>2];if((c|0)==q[a+20>>2]){break a}q[a+16>>2]=c+4;q[c>>2]=d}c=q[a+28>>2];o:{p:{q:{f=q[b+28>>2];r:{if(f){s:{if(!c){d=Oi(996);q[a+28>>2]=d;Fi(d,0,996);c=q[a+28>>2];q[c>>2]=q[q[a>>2]+72>>2]+2436;break s}q[c+984>>2]=q[c+980>>2]}if(o[c+992|0]&1){break b}Ii(f,16,c+980|0,c+988|0,c+984|0);f=f>>>0>1?f:1;c=0;while(1){if(t[b+28>>2]<=c>>>0){break q}d=q[b+24>>2]+(c<<3)|0;g=zi(q[d+4>>2]);i=wi;e=q[a+28>>2];h=q[e+984>>2];if((h|0)==q[e+988>>2]){break a}d=q[d>>2];q[e+984>>2]=h+16;q[h+8>>2]=g;q[h+12>>2]=i;q[h>>2]=d;_n(k,g,i,j);c=c+1|0;if((f|0)!=(c|0)){continue}break}_n(k,0,0,j);break r}if(!c){break r}t:{if(o[c+992|0]&1){break t}d=q[c+980>>2];if(!d){break t}yi(d)}yi(c);q[a+28>>2]=0}c=q[a+36>>2];d=q[b+36>>2];u:{if(d){v:{if(!c){c=Oi(540);q[a+36>>2]=c;Fi(c,0,540);break v}q[c+528>>2]=q[c+524>>2]}if(o[c+536|0]&1){break b}Ii(d,16,c+524|0,c+532|0,c+528|0);f=d>>>0>1?d:1;c=0;while(1){if(t[b+36>>2]<=c>>>0){break p}d=q[b+32>>2]+(c<<3)|0;g=zi(q[d+4>>2]);i=wi;e=q[a+36>>2];h=q[e+528>>2];if((h|0)==q[e+532>>2]){break o}d=q[d>>2];q[e+528>>2]=h+16;q[h+8>>2]=g;q[h+12>>2]=i;q[h>>2]=d;_n(k,g,i,j);c=c+1|0;if((f|0)!=(c|0)){continue}break}_n(k,0,0,j);break u}if(!c){break u}w:{if(o[c+536|0]&1){break w}b=q[c+524>>2];if(!b){break w}yi(b)}yi(c);q[a+36>>2]=0}if(!q[a+32>>2]){b=a;a=Oi(24);q[b+32>>2]=a;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}ti=j+944|0;return}J(144402,144414,374,144438);G()}J(144402,144414,382,144438);G()}break a}J(144632,144449,493,144707);G()}J(144719,144449,533,144743);G()}function Xca(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,u=0;f=Fi(Oi(344),0,336);e=f;q[e+28>>2]=0;q[e+32>>2]=0;q[e+24>>2]=1;q[e+16>>2]=2;q[e+20>>2]=1;q[e+8>>2]=3;q[e+12>>2]=5;q[e+36>>2]=0;q[e+40>>2]=0;o[e+43|0]=0;o[e+44|0]=0;o[e+45|0]=0;o[e+46|0]=0;q[e+76>>2]=0;q[e+80>>2]=0;q[e+72>>2]=1;q[e+64>>2]=2;q[e+68>>2]=1;q[e+56>>2]=3;q[e+60>>2]=5;q[e+48>>2]=0;q[e+52>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;o[e+91|0]=0;o[e+92|0]=0;o[e+93|0]=0;o[e+94|0]=0;q[e+120>>2]=1;q[e+96>>2]=0;q[e+100>>2]=0;q[e+104>>2]=3;q[e+108>>2]=5;q[e+112>>2]=2;q[e+116>>2]=1;o[e+139|0]=0;o[e+140|0]=0;o[e+141|0]=0;o[e+142|0]=0;q[e+132>>2]=0;q[e+136>>2]=0;q[e+124>>2]=0;q[e+128>>2]=0;q[e+168>>2]=1;q[e+144>>2]=0;q[e+148>>2]=0;q[e+152>>2]=3;q[e+156>>2]=5;q[e+160>>2]=2;q[e+164>>2]=1;q[e+172>>2]=0;q[e+176>>2]=0;q[e+180>>2]=0;q[e+184>>2]=0;o[e+187|0]=0;o[e+188|0]=0;o[e+189|0]=0;o[e+190|0]=0;q[e+216>>2]=1;q[e+192>>2]=0;q[e+196>>2]=0;q[e+200>>2]=3;q[e+204>>2]=5;q[e+208>>2]=2;q[e+212>>2]=1;q[e+220>>2]=0;q[e+224>>2]=0;q[e+228>>2]=0;q[e+232>>2]=0;o[e+235|0]=0;o[e+236|0]=0;o[e+237|0]=0;o[e+238|0]=0;q[e+264>>2]=1;q[e+240>>2]=0;q[e+244>>2]=0;q[e+248>>2]=3;q[e+252>>2]=5;q[e+256>>2]=2;q[e+260>>2]=1;o[e+283|0]=0;o[e+284|0]=0;o[e+285|0]=0;o[e+286|0]=0;q[e+276>>2]=0;q[e+280>>2]=0;q[e+268>>2]=0;q[e+272>>2]=0;q[e+336>>2]=b;q[e+340>>2]=q[a+144>>2];mc(1,e+332|0);a:{b:{c:{d:{e:{f:{if(r[q[77547]+156|0]&64){e=K()|0;if(e){break f}}Fa(36160,q[f+332>>2]);if(r[q[77547]+156|0]&64){e=K()|0;if(e){break e}}i=Gi(f,d,288);e=i;q[e+240>>2]=0;q[e+244>>2]=0;q[e+192>>2]=0;q[e+196>>2]=0;q[e+144>>2]=0;q[e+148>>2]=0;q[e+96>>2]=0;q[e+100>>2]=0;q[e+48>>2]=0;q[e+52>>2]=0;q[e>>2]=0;q[e+4>>2]=0;if(r[a+156|0]&4){e=-1;f=-1;if(b&1){f=(Sm(1)<<4)+c|0;e=s[f+6>>1];f=s[f+4>>1]}g:{if(!(b&2)){break g}g=(Sm(2)<<4)+c|0;h=s[g+4>>1];g=s[g+6>>1];if((f|0)!=-1){if((f|0)!=(h|0)|(e|0)!=(g|0)){break c}break g}e=g;f=h}h:{if(!(b&4)){break h}g=(Sm(4)<<4)+c|0;h=s[g+4>>1];g=s[g+6>>1];if((f|0)!=-1){if((f|0)!=(h|0)|(e|0)!=(g|0)){break c}break h}e=g;f=h}i:{if(!(b&8)){break i}g=(Sm(8)<<4)+c|0;h=s[g+4>>1];g=s[g+6>>1];if((f|0)!=-1){if((f|0)!=(h|0)|(e|0)!=(g|0)){break c}break i}e=g;f=h}if(b&48){break d}break b}m=a+28|0;j=a+24|0;k=a+32|0;u=i+288|0;e=q[77546];g=1;if(!e){break a}g=e?4:1;break a}Vi(e,88503,2398);J(84254,84160,2398,88503);G()}Vi(e,88503,2400);J(84254,84160,2400,88503);G()}if(!(b&32)){g=Sm(16);if((f|0)==-1){break b}h=f;f=(g<<4)+c|0;if((h|0)!=s[f+4>>1]|s[f+6>>1]!=(e|0)){break c}break b}if(!(b&16)){g=Sm(32);if((f|0)==-1){break b}h=f;f=(g<<4)+c|0;if((h|0)!=s[f+4>>1]|s[f+6>>1]!=(e|0)){break c}break b}h=Sm(16);l=Sm(32);g=s[((h<<4)+c|0)+4>>1];if((f|0)==-1){if((g|0)!=s[((l<<4)+c|0)+4>>1]|s[((h<<4)+c|0)+6>>1]!=s[((l<<4)+c|0)+6>>1]){break c}break b}if((f|0)!=(g|0)|s[((h<<4)+c|0)+6>>1]!=(e|0)|s[((l<<4)+c|0)+4>>1]!=(f|0)){break c}if(s[((l<<4)+c|0)+6>>1]==(e|0)){break b}}Ai(4,84116,88544,0);wi=0;return 0}m=a+28|0;j=a+24|0;k=a+32|0;u=i+288|0;g=4}f=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{while(1){e=q[(f<<2)+88528>>2];t:{if(!(e&b)){break t}n=(f<<3)+u|0;l=Sm(e);h=xi[q[77501]](a,(l<<4)+c|0)|0;q[n>>2]=h;e=wi;q[n+4>>2]=e;xi[q[77503]](h,e,w(l,48)+d|0);e=q[n>>2];h=q[n+4>>2];if((h|0)==2097152|h>>>0>2097152){break s}h=e&65535;if(h>>>0>=t[k>>2]){break r}oc(36160,f+36064|0,3553,q[q[(s[q[m>>2]+(h<<1)>>1]==(e>>>16|0)?q[q[j>>2]+(h<<2)>>2]:0)+4>>2]>>2],0);if(!(r[q[77547]+156|0]&64)){break t}e=K()|0;if(e){break q}}f=f+1|0;if((g|0)!=(f|0)){continue}break}if(b&48){u:{if(!(b&32)){pa(1,i+320|0);if(!(r[q[77547]+156|0]&64)){break u}b=K()|0;if(!b){break u}Vi(b,88503,2454);J(84254,84160,2454,88503);G()}if(r[a+156|0]&16){pa(1,i+328|0);if(!(r[q[77547]+156|0]&64)){break u}b=K()|0;if(!b){break u}Vi(b,88503,2461);J(84254,84160,2461,88503);G()}pa(1,i+320|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break p}}pa(1,i+324|0);if(!(r[q[77547]+156|0]&64)){break u}b=K()|0;if(b){break o}}mJ(i,0);b=Ea(36160)|0;if((b|0)!=36053){break n}}b=Ea(36160)|0;if((b|0)!=36053){break m}Fa(36160,Qa()|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break l}}e=q[k>>2];v:{w:{if(!e){b=q[j>>2];f=8;break w}b=q[j>>2];f=0;x:{while(1){if(q[(f<<2)+b>>2]){f=f+1|0;if((e|0)!=(f|0)){continue}break x}break}if((f|0)!=-1){break v}}f=e+8|0;if(f>>>0>65535){break k}}q[j>>2]=nl(b,f<<2);q[m>>2]=nl(q[m>>2],f<<1);b=q[j>>2]+(q[k>>2]<<2)|0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=q[m>>2]+(q[k>>2]<<1)|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;p[b+8>>1]=0;p[b+10>>1]=0;p[b+12>>1]=0;p[b+14>>1]=0;e=q[k>>2]+8|0;q[k>>2]=e}y:{if(e){b=q[j>>2];f=0;while(1){c=b+(f<<2)|0;if(!q[c>>2]){break y}f=f+1|0;if((e|0)!=(f|0)){continue}break}}J(88992,86616,238,89023);G()}b=s[a+36>>1];b=b>>>0>65533?1:b+1|0;p[a+36>>1]=b;p[q[a+28>>2]+(f<<1)>>1]=b;q[c>>2]=i;a=s[a+36>>1]<<16|f;if((a|0)==-1){break j}wi=2;return a|0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}Vi(e,88503,2445);J(84254,84160,2445,88503);G()}Vi(b,88503,2466);J(84254,84160,2466,88503);G()}Vi(b,88503,2468);J(84254,84160,2468,88503);G()}aA(b);J(88585,84160,2472,88503);G()}aA(b);J(88585,84160,2489,88503);G()}Vi(b,88503,2491);J(84254,84160,2491,88503);G()}J(88960,86616,200,88983);G()}J(89027,86616,251,89023);G()}function Gq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti+ -64|0;ti=g;a:{b:{switch(Ei(a,-1)|0){case 4:wE(a,d,-1);break a;case 3:xE(a,b,d,-1);break a;case 1:c=Ej(a,-1);a=q[d+8>>2];b=q[d+4>>2]+(a^-1)|0;if(c){if((b|0)<=3){Ek(d,a+4|0);a=q[d+8>>2]}a=q[d>>2]+a|0;o[a|0]=116;o[a+1|0]=114;o[a+2|0]=117;o[a+3|0]=101;q[d+8>>2]=q[d+8>>2]+4;break a}if((b|0)<=4){Ek(d,a+5|0);a=q[d+8>>2]}a=q[d>>2]+a|0;b=r[133729]|r[133730]<<8|(r[133731]<<16|r[133732]<<24);o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=b>>>16;o[a+3|0]=b>>>24;o[a+4|0]=r[133733];q[d+8>>2]=q[d+8>>2]+5;break a;case 5:h=c+1|0;c:{if(q[b+1320>>2]>(c|0)){if(Jp(a,3)){break c}}if(!q[b+1332>>2]){om(d)}q[g+48>>2]=h;Bi(a,134021,g+48|0)}d:{j=Kl(a,-1);if(!j){break d}c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=851636;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-1e4);c=fs(a,-1,-2);Ci(a,-3);if(!c){break d}f=Mk(a,-1);c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=91;e:{if((f|0)<1){break e}bj(a,-1,1);Gq(a,b,h,d);Ci(a,-2);if((f|0)==1){break e}c=2;while(1){e=q[d+8>>2];if((q[d+4>>2]+(e^-1)|0)<=0){Ek(d,e+1|0);e=q[d+8>>2]}q[d+8>>2]=e+1;o[q[d>>2]+e|0]=44;bj(a,-1,c);Gq(a,b,h,d);Ci(a,-2);e=(c|0)!=(f|0);c=c+1|0;if(e){continue}break}}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=93;break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;f:{g:{h:{if(!rj(a,-2)){c=0;break h}c=0;while(1){if((Ei(a,-2)|0)!=3){break g}i=xj(a,-2);if(i==0|i>=1^1|C(i)!=i){break g}Ci(a,-2);f=+(c|0)>2];if(!((f|0)<1|(w(e,f)|0)>=(c|0)|q[b+1316>>2]>=(c|0))){if(q[b+1308>>2]){break f}if(!q[b+1332>>2]){om(d)}e=Ei(a,-1);c=135271;i:{if((e|0)==-1){break i}c=q[(e<<2)+267792>>2]}q[g+36>>2]=134062;q[g+32>>2]=c;Bi(a,134210,g+32|0);break f}if((c|0)>=1){e=q[d+8>>2];if((q[d+4>>2]+(e^-1)|0)<=0){Ek(d,e+1|0);e=q[d+8>>2]}q[d+8>>2]=e+1;o[q[d>>2]+e|0]=91;bj(a,-1,1);Gq(a,b,h,d);Ci(a,-2);if((c|0)!=1){e=2;while(1){f=q[d+8>>2];if((q[d+4>>2]+(f^-1)|0)<=0){Ek(d,f+1|0);f=q[d+8>>2]}q[d+8>>2]=f+1;o[q[d>>2]+f|0]=44;bj(a,-1,e);Gq(a,b,h,d);Ci(a,-2);f=(c|0)!=(e|0);e=e+1|0;if(f){continue}break}}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=93;break a}if(q[b+1336>>2]|c){break f}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=91;c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=93;break a}Ci(a,-3)}j:{if(!j){break j}Kl(a,-1);c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=851640;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-1e4);c=fs(a,-1,-2);Ci(a,-3);if(!c){break j}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=91;c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=93;break a}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=123;c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;k:{if(!rj(a,-2)){break k}f=b+1332|0;while(1){l:{m:{switch(Ei(a,-2)-3|0){case 0:e=q[d+8>>2];if((q[d+4>>2]+(e^-1)|0)<=0){Ek(d,e+1|0);e=q[d+8>>2]}q[d+8>>2]=e+1;o[q[d>>2]+e|0]=34;xE(a,b,d,-2);c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=1){Ek(d,c+2|0);c=q[d+8>>2]}c=q[d>>2]+c|0;o[c|0]=34;o[c+1|0]=58;q[d+8>>2]=q[d+8>>2]+2;break l;case 1:wE(a,d,-2);e=q[d+8>>2];if((q[d+4>>2]+(e^-1)|0)<=0){Ek(d,e+1|0);e=q[d+8>>2]}q[d+8>>2]=e+1;o[q[d>>2]+e|0]=58;break l;default:break m}}if(!q[f>>2]){om(d)}e=Ei(a,-2);c=135271;n:{if((e|0)==-1){break n}c=q[(e<<2)+267792>>2]}q[g+20>>2]=134087;q[g+16>>2]=c;Bi(a,134210,g+16|0)}Gq(a,b,h,d);Ci(a,-2);if(!rj(a,-2)){break k}e=q[d+8>>2];if((q[d+4>>2]+(e^-1)|0)<=0){Ek(d,e+1|0);e=q[d+8>>2]}q[d+8>>2]=e+1;o[q[d>>2]+e|0]=44;continue}}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=125;break a;case 0:a=q[d+8>>2];if((q[d+4>>2]+(a^-1)|0)<=3){Ek(d,a+4|0);a=q[d+8>>2]}a=q[d>>2]+a|0;o[a|0]=110;o[a+1|0]=117;o[a+2|0]=108;o[a+3|0]=108;q[d+8>>2]=q[d+8>>2]+4;break a;case 2:if(!aj(a,-1)){a=q[d+8>>2];if((q[d+4>>2]+(a^-1)|0)<=3){Ek(d,a+4|0);a=q[d+8>>2]}a=q[d>>2]+a|0;o[a|0]=110;o[a+1|0]=117;o[a+2|0]=108;o[a+3|0]=108;q[d+8>>2]=q[d+8>>2]+4;break a}if((aj(a,-1)|0)!=851636){break a}c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=91;c=q[d+8>>2];if((q[d+4>>2]+(c^-1)|0)<=0){Ek(d,c+1|0);c=q[d+8>>2]}q[d+8>>2]=c+1;o[q[d>>2]+c|0]=93;break a;case 6:case 7:case 8:e=q[a+8>>2]-q[a+12>>2]>>4;Qi(a,-1);Ki(a,-10002,134124);Qi(a,-2);c=0;Hp(a,1,1,0);h=dj(a,-1,g+60|0);f=w(q[g+60>>2],6)+2|0;b=q[d+8>>2];if((f|0)>(q[d+4>>2]+(b^-1)|0)){Ek(d,b+f|0);b=q[d+8>>2]}q[d+8>>2]=b+1;o[q[d>>2]+b|0]=34;if(q[g+60>>2]){while(1){b=r[c+h|0];f=q[(b<<2)+265408>>2];o:{if(f){$B(d,f);break o}f=q[d+8>>2];q[d+8>>2]=f+1;o[f+q[d>>2]|0]=b}c=c+1|0;if(c>>>0>2]){continue}break}}b=q[d+8>>2];q[d+8>>2]=b+1;o[b+q[d>>2]|0]=34;Ci(a,-3);if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(134133,134154,619,134182);G();default:break b}}if(!q[b+1332>>2]){om(d)}c=Ei(a,-1);b=135271;p:{if((c|0)==-1){break p}b=q[(c<<2)+267792>>2]}q[g+4>>2]=133740;q[g>>2]=b;Bi(a,134210,g)}ti=g- -64|0}function iC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(r[a+60|0]|!r[a+1389|0])){d=a;b=q[a+44>>2];a:{if(b){b=b-q[a+48>>2]|0;break a}b=um(q[a+32>>2])-q[a+36>>2]|0}q[d+68>>2]=b-4}b:{c:{f=q[a+44>>2];d:{if(f){if(f>>>0>=t[a+52>>2]){break c}q[a+44>>2]=f+1;c=r[f|0];break d}c=ej(q[a+32>>2]);if((c|0)==-1){break c}}if(!(c&255)){break b}q[a+112>>2]=31;return 0}q[a+108>>2]=1}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:{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:{f=q[a+44>>2];na:{oa:{pa:{if(f){c=q[a+52>>2];if(f>>>0>=c>>>0){break pa}b=f+1|0;q[a+44>>2]=b;o[a+1387|0]=r[f|0];break na}c=ej(q[a+32>>2]);if((c|0)!=-1){break oa}}q[a+108>>2]=1;c=0}o[a+1387|0]=c;b=q[a+44>>2];if(!b){break ma}c=q[a+52>>2]}if(c>>>0<=b>>>0){break la}d=b+1|0;q[a+44>>2]=d;e=r[b|0];break ja}c=ej(q[a+32>>2]);if((c|0)!=-1){break ka}}q[a+108>>2]=1;c=0}e=c&255;d=q[a+44>>2];if(!d){break ia}c=q[a+52>>2]}if(c>>>0<=d>>>0){break ha}b=d+1|0;q[a+44>>2]=b;e=r[d|0]<<8|e;break fa}c=ej(q[a+32>>2]);if((c|0)!=-1){break ga}}q[a+108>>2]=1;c=0}e=c<<8&65280|e;b=q[a+44>>2];if(!b){break ea}c=q[a+52>>2]}if(c>>>0<=b>>>0){break da}d=b+1|0;q[a+44>>2]=d;e=r[b|0]<<16|e;break ba}c=ej(q[a+32>>2]);if((c|0)!=-1){break ca}}q[a+108>>2]=1;c=0}e=c<<16&16711680|e;d=q[a+44>>2];if(!d){break aa}c=q[a+52>>2]}if(c>>>0<=d>>>0){break $}b=d+1|0;q[a+44>>2]=b;g=r[d|0]<<24|e;break Z}c=ej(q[a+32>>2]);if((c|0)!=-1){break _}}q[a+108>>2]=1;c=0}g=c<<24|e;b=q[a+44>>2];if(!b){break Y}c=q[a+52>>2]}if(c>>>0<=b>>>0){break X}d=b+1|0;q[a+44>>2]=d;e=r[b|0];break V}c=ej(q[a+32>>2]);if((c|0)!=-1){break W}}q[a+108>>2]=1;c=0}e=c&255;d=q[a+44>>2];if(!d){break U}c=q[a+52>>2]}if(c>>>0<=d>>>0){break T}b=d+1|0;q[a+44>>2]=b;e=r[d|0]<<8|e;break R}c=ej(q[a+32>>2]);if((c|0)!=-1){break S}}q[a+108>>2]=1;c=0}e=c<<8&65280|e;b=q[a+44>>2];if(!b){break Q}c=q[a+52>>2]}if(c>>>0<=b>>>0){break P}d=b+1|0;q[a+44>>2]=d;e=r[b|0]<<16|e;break N}c=ej(q[a+32>>2]);if((c|0)!=-1){break O}}q[a+108>>2]=1;c=0}e=c<<16&16711680|e;d=q[a+44>>2];if(!d){break M}c=q[a+52>>2]}if(c>>>0<=d>>>0){break L}b=d+1|0;q[a+44>>2]=b;i=r[d|0]<<24|e;break J}c=ej(q[a+32>>2]);if((c|0)!=-1){break K}}q[a+108>>2]=1;c=0}i=c<<24|e;b=q[a+44>>2];if(!b){break I}c=q[a+52>>2]}if(c>>>0<=b>>>0){break H}b=b+1|0;q[a+44>>2]=b;break F}if((ej(q[a+32>>2])|0)!=-1){break G}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break E}c=q[a+52>>2]}if(c>>>0<=b>>>0){break D}b=b+1|0;q[a+44>>2]=b;break B}if((ej(q[a+32>>2])|0)!=-1){break C}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break A}}c=q[a+52>>2];if(b>>>0>=c>>>0){break z}b=b+1|0;q[a+44>>2]=b;break x}if((ej(q[a+32>>2])|0)!=-1){break y}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break w}c=q[a+52>>2]}if(c>>>0<=b>>>0){break v}b=b+1|0;q[a+44>>2]=b;break t}if((ej(q[a+32>>2])|0)!=-1){break u}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break s}c=q[a+52>>2]}if(c>>>0<=b>>>0){break r}d=b+1|0;q[a+44>>2]=d;e=r[b|0];break p}c=ej(q[a+32>>2]);if((c|0)!=-1){break q}}q[a+108>>2]=1;c=0}e=c&255;d=q[a+44>>2];if(!d){break o}c=q[a+52>>2]}if(c>>>0<=d>>>0){break n}b=d+1|0;q[a+44>>2]=b;e=r[d|0]<<8|e;break l}c=ej(q[a+32>>2]);if((c|0)!=-1){break m}}q[a+108>>2]=1;c=0}e=c<<8&65280|e;b=q[a+44>>2];if(!b){break k}c=q[a+52>>2]}if(c>>>0<=b>>>0){break j}d=b+1|0;q[a+44>>2]=d;b=r[b|0]<<16|e;break h}c=ej(q[a+32>>2]);if((c|0)!=-1){break i}}q[a+108>>2]=1;c=0}b=c<<16&16711680|e;d=q[a+44>>2];if(!d){break g}c=q[a+52>>2]}if(c>>>0<=d>>>0){break f}q[a+44>>2]=d+1;c=r[d|0];break e}c=ej(q[a+32>>2]);if((c|0)!=-1){break e}}q[a+108>>2]=1;c=0}q[a+1124>>2]=c<<24|b;qa:{ra:{sa:{d=a;ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{b=q[a+44>>2];Ia:{Ja:{Ka:{if(b){c=q[a+52>>2];if(b>>>0>=c>>>0){break Ka}b=b+1|0;q[a+44>>2]=b;break Ia}if((ej(q[a+32>>2])|0)!=-1){break Ja}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Ha}c=q[a+52>>2]}if(c>>>0<=b>>>0){break Ga}b=b+1|0;q[a+44>>2]=b;break Ea}if((ej(q[a+32>>2])|0)!=-1){break Fa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break Da}c=q[a+52>>2]}if(c>>>0<=b>>>0){break Ca}b=b+1|0;q[a+44>>2]=b;break Aa}if((ej(q[a+32>>2])|0)!=-1){break Ba}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break za}c=q[a+52>>2]}if(c>>>0<=b>>>0){break ya}b=b+1|0;q[a+44>>2]=b;break wa}if((ej(q[a+32>>2])|0)!=-1){break xa}}q[a+108>>2]=1}b=q[a+44>>2];if(!b){break va}c=q[a+52>>2]}if(c>>>0<=b>>>0){q[a+108>>2]=1;b=0;break ua}d=b+1|0;q[a+44>>2]=d;b=r[b|0];q[a+1128>>2]=b;e=a+1132|0;h=a+1128|0;break ta}b=ej(q[a+32>>2]);if((b|0)==-1){q[a+108>>2]=1;b=0;break ua}b=b&255}q[d+1128>>2]=b;e=a+1132|0;h=a+1128|0;d=q[a+44>>2];if(!d){break sa}c=q[a+52>>2]}f=b+d|0;if(f>>>0>c>>>0){break ra}Gi(e,d,b);q[a+44>>2]=f;break qa}if((tl(e,b,1,q[a+32>>2])|0)==1){break qa}}q[a+108>>2]=1;q[a+112>>2]=10;return 0}q[a+1416>>2]=-2;La:{if((g&i)==-1){break La}b=q[h>>2];while(1){if((b|0)<1){break La}b=b-1|0;if(r[(b+a|0)+1132|0]==255){continue}break}q[a+1420>>2]=g;q[a+1416>>2]=b}if(r[a+1389|0]){f=q[h>>2];b=27;Ma:{if((f|0)<1){break Ma}c=0;b=0;while(1){c=r[(a+b|0)+1132|0]+c|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}b=c+27|0}q[a+76>>2]=g;q[a+72>>2]=q[a+68>>2]+(b+f|0)}q[a+1392>>2]=0;return 1}function sta(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0;f=ti-416|0;ti=f;a:{if((a|0)==8){q[e>>2]=q[c>>2];q[e+4>>2]=q[c>>2];q[e+8>>2]=q[c>>2];q[e+12>>2]=q[c>>2];q[e+16>>2]=q[c>>2];q[e+20>>2]=q[c>>2];q[e+24>>2]=q[c>>2];q[e+28>>2]=q[c>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=q[c>>2];q[e+40>>2]=q[c>>2];q[e+44>>2]=q[c>>2];q[e+48>>2]=q[c>>2];q[e+52>>2]=q[c>>2];q[e+56>>2]=q[c>>2];q[e+60>>2]=q[c>>2];break a}v=r[a+94592|0];x=v>>>0>1?v:1;s=r[a+94496|0];g=1<>>0>4?4:c;b:{if((k|0)==2){h=h<<9;m=d+21|0;while(1){t=h+312416|0;n=j<<2;c=r[t+(r[m+(n|3)|0]<<1)|0];l=r[t+(r[m+(n|1)|0]<<1)|0];i=r[t+(r[m+n|0]<<1)|0];p=(f+384|0)+(j<<3)|0;o[p+3|0]=r[t+(r[m+(n|2)|0]<<1)|0];o[p+2|0]=i;o[p+1|0]=i;o[p|0]=i;i=p|4;o[i+3|0]=c;o[i+2|0]=l;o[i+1|0]=l;o[i|0]=l;j=j+1|0;if((x|0)!=(j|0)){continue}break}break b}u=k>>>0>3;m=h<<9;y=d+21|0;while(1){if(k){p=w(j,k);n=(f+384|0)+(j<<3)|0;t=n|4;c=0;while(1){i=m+312416|0;l=c+p<<1;h=r[i+(r[l+y|0]<<1)|0];o[Kj(n,c)|0]=h;h=r[i+(r[y+(l|1)|0]<<1)|0];o[Kj(t,c)|0]=h;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(!u){i=(f+384|0)+(j<<3)|0;h=i|4;c=k;while(1){o[Kj(i,c)|0]=255;o[Kj(h,c)|0]=255;c=c+1|0;if((c|0)!=4){continue}break}}j=j+1|0;if((x|0)!=(j|0)){continue}break}}p=q[(s<<2)+259616>>2];t=v>>>0>1?v:1;n=g>>>0>1?g:1;j=0;while(1){u=(f+384|0)+(j<<3)|0;m=u|4;c=0;s=0;c:{if((k|0)==2){while(1){h=c<<2;l=h+((j<<7)+f|0)|0;h=h+p|0;i=dB(r[Kj(u,0)|0],r[Kj(m,0)|0],q[h>>2])&255;o[l+3|0]=dB(r[Kj(u,3)|0],r[Kj(m,3)|0],q[h>>2]);o[l+2|0]=i;o[l+1|0]=i;o[l|0]=i;c=c+1|0;if((n|0)!=(c|0)){continue}break c}}while(1){d:{e:{if(!k){c=0;break e}c=s<<2;l=c+((j<<7)+f|0)|0;i=c+p|0;c=0;while(1){h=dB(r[Kj(u,c)|0],r[Kj(m,c)|0],q[i>>2]);o[Kj(l,c)|0]=h;c=c+1|0;if((k|0)!=(c|0)){continue}break}c=k;if(c>>>0>3){break d}}h=((j<<7)+f|0)+(s<<2)|0;while(1){o[Kj(h,c)|0]=255;c=c+1|0;if((c|0)!=4){continue}break}}s=s+1|0;if((n|0)!=(s|0)){continue}break}}j=j+1|0;if((t|0)!=(j|0)){continue}break}c=98176;f:{if(!(66204>>>a&1)){break f}g:{switch(a-3|0){case 0:c=(b<<4)+93648|0;break f;case 4:c=(b<<4)+93824|0;break f;default:break g}}c=(b<<4)+93168|0}b=457827>>>a&1;h:{i:{j:{k:{l:{if(382655>>>a&1){a=r[d+39|0];if(b){if(a>>>0>=g>>>0){break l}q[e>>2]=q[(a<<2)+f>>2];a=r[d+40|0];if(a>>>0>=g>>>0){break l}q[e+4>>2]=q[(a<<2)+f>>2];a=r[d+41|0];if(a>>>0>=g>>>0){break l}q[e+8>>2]=q[(a<<2)+f>>2];a=r[d+42|0];if(a>>>0>=g>>>0){break l}q[e+12>>2]=q[(a<<2)+f>>2];a=r[d+43|0];if(a>>>0>=g>>>0){break l}q[e+16>>2]=q[(a<<2)+f>>2];a=r[d+44|0];if(a>>>0>=g>>>0){break l}q[e+20>>2]=q[(a<<2)+f>>2];a=r[d+45|0];if(a>>>0>=g>>>0){break l}q[e+24>>2]=q[(a<<2)+f>>2];a=r[d+46|0];if(a>>>0>=g>>>0){break l}q[e+28>>2]=q[(a<<2)+f>>2];a=r[d+47|0];if(a>>>0>=g>>>0){break l}q[e+32>>2]=q[(a<<2)+f>>2];a=r[d+48|0];if(a>>>0>=g>>>0){break l}q[e+36>>2]=q[(a<<2)+f>>2];a=r[d+49|0];if(a>>>0>=g>>>0){break l}q[e+40>>2]=q[(a<<2)+f>>2];a=r[d+50|0];if(a>>>0>=g>>>0){break l}q[e+44>>2]=q[(a<<2)+f>>2];a=r[d+51|0];if(a>>>0>=g>>>0){break l}q[e+48>>2]=q[(a<<2)+f>>2];a=r[d+52|0];if(a>>>0>=g>>>0){break l}q[e+52>>2]=q[(a<<2)+f>>2];a=r[d+53|0];if(a>>>0>=g>>>0){break l}q[e+56>>2]=q[(a<<2)+f>>2];a=r[d+54|0];if(a>>>0>=g>>>0){break l}c=(a<<2)+f|0;break h}if(a>>>0>=g>>>0){break k}q[e>>2]=q[((r[c|0]<<7)+f|0)+(a<<2)>>2];a=r[d+40|0];if(a>>>0>=g>>>0){break k}q[e+4>>2]=q[((r[c+1|0]<<7)+f|0)+(a<<2)>>2];a=r[d+41|0];if(a>>>0>=g>>>0){break k}q[e+8>>2]=q[((r[c+2|0]<<7)+f|0)+(a<<2)>>2];a=r[d+42|0];if(a>>>0>=g>>>0){break k}q[e+12>>2]=q[((r[c+3|0]<<7)+f|0)+(a<<2)>>2];a=r[d+43|0];if(a>>>0>=g>>>0){break k}q[e+16>>2]=q[((r[c+4|0]<<7)+f|0)+(a<<2)>>2];a=r[d+44|0];if(a>>>0>=g>>>0){break k}q[e+20>>2]=q[((r[c+5|0]<<7)+f|0)+(a<<2)>>2];a=r[d+45|0];if(a>>>0>=g>>>0){break k}q[e+24>>2]=q[((r[c+6|0]<<7)+f|0)+(a<<2)>>2];a=r[d+46|0];if(a>>>0>=g>>>0){break k}q[e+28>>2]=q[((r[c+7|0]<<7)+f|0)+(a<<2)>>2];a=r[d+47|0];if(a>>>0>=g>>>0){break k}q[e+32>>2]=q[((r[c+8|0]<<7)+f|0)+(a<<2)>>2];a=r[d+48|0];if(a>>>0>=g>>>0){break k}q[e+36>>2]=q[((r[c+9|0]<<7)+f|0)+(a<<2)>>2];a=r[d+49|0];if(a>>>0>=g>>>0){break k}q[e+40>>2]=q[((r[c+10|0]<<7)+f|0)+(a<<2)>>2];a=r[d+50|0];if(a>>>0>=g>>>0){break k}q[e+44>>2]=q[((r[c+11|0]<<7)+f|0)+(a<<2)>>2];a=r[d+51|0];if(a>>>0>=g>>>0){break k}q[e+48>>2]=q[((r[c+12|0]<<7)+f|0)+(a<<2)>>2];a=r[d+52|0];if(a>>>0>=g>>>0){break k}q[e+52>>2]=q[((r[c+13|0]<<7)+f|0)+(a<<2)>>2];a=r[d+53|0];if(a>>>0>=g>>>0){break k}q[e+56>>2]=q[((r[c+14|0]<<7)+f|0)+(a<<2)>>2];a=r[d+54|0];if(a>>>0>=g>>>0){break k}c=((r[c+15|0]<<7)+f|0)+(a<<2)|0;break h}if(!b){break j}k=d+39|0;c=0;while(1){a=c<<1;b=r[a+k|0];if(b>>>0>=g>>>0){break i}a=r[k+(a|1)|0];if(a>>>0>=g>>>0){break i}i=(b<<2)+f|0;h=(a<<2)+f|0;a=r[Kj(q[d+16>>2]?i:h,0)|0];b=(c<<2)+e|0;o[Kj(b,0)|0]=a;a=r[Kj(q[d+16>>2]==1?h:i,1)|0];o[Kj(b,1)|0]=a;a=r[Kj(q[d+16>>2]==2?h:i,2)|0];o[Kj(b,2)|0]=a;a=r[Kj(q[d+16>>2]==3?h:i,3)|0];o[Kj(b,3)|0]=a;c=c+1|0;if((c|0)!=16){continue}break}break a}J(98410,92069,12740,98397);G()}J(98410,92069,12748,98397);G()}J(98444,92069,12755,98397);G()}J(98463,92069,12764,98397);G()}q[e+60>>2]=q[c>>2]}ti=f+416|0}function Xha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=0,p=0,r=x(0),s=x(0),v=x(0),y=0,z=0,A=0,B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=x(0),N=x(0),O=x(0),P=0,Q=0;b=ti-160|0;ti=b;c=q[a+4>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(q[a+8>>2]){case 0:q[c+60>>2]=q[c+56>>2];i=c+112|0;e=q[c+104>>2];f=q[i>>2]-e>>2;g=q[c+120>>2];d=q[c+124>>2]-g|0;a=d>>2;l=c+108|0;h=q[l>>2];e=h-e>>2;if(f>>>0>>0){if(o[c+116|0]&1){break a}Ii(a+f|0,4,c+104|0,i,l);h=q[c+108>>2];a=q[c+104>>2];e=h-a>>2;f=q[c+112>>2]-a>>2;g=q[c+120>>2];d=q[c+124>>2]-g|0;a=d>>2}if(f-e>>>0>>0){break f}Gi(h,g,d);q[c+124>>2]=q[c+120>>2];q[c+108>>2]=q[c+108>>2]+(a<<2);break c;case 1:l=q[a+20>>2];P=q[a>>2];y=q[a+12>>2];h=q[a+16>>2];q[b+48>>2]=0;d=q[(y+w(q[h>>2],48)|0)+16>>2];a=q[d+192>>2];if(!a){a=q[q[d+152>>2]+8>>2]}k:{switch(q[a+104>>2]){case 0:q[b+152>>2]=a;q[b+136>>2]=0;d=q[c+108>>2];a=q[c+104>>2];l:{if((d|0)!=(a|0)){d=d-a|0;if(!d){break g}d=(d>>2)-1|0;if(d>>>0>q[c+112>>2]-a>>2>>>0){break b}a=a+(d<<2)|0;e=q[a>>2];q[c+108>>2]=a;break l}e=xi[q[77439]](q[c+136>>2],0,0,1)|0}q[b+132>>2]=e;if(!e){break h}d=c+124|0;a=q[d>>2];g=c+128|0;f=q[g>>2];if((a|0)==(f|0)){if(o[c+132|0]&1){break a}f=a;a=c+120|0;Ii((f-q[a>>2]>>2)+2|0,4,a,g,d);f=q[g>>2];a=q[d>>2]}if((a|0)==(f|0)){break i}q[c+124>>2]=a+4;q[a>>2]=e;z=q[c+60>>2];a=q[c+56>>2];d=((z-a|0)/304|0)+1|0;if(d>>>0>(q[c- -64>>2]-a|0)/304>>>0){break b}q[c+60>>2]=a+w(d,304);f=q[(y+w(q[h>>2],48)|0)+16>>2];Q=f;n=q[f+152>>2];a=q[f+156>>2];if(!a){a=q[n+4>>2]}q[b+128>>2]=q[n+112>>2];i=q[a+20>>2];d=0;if((h|0)==(l|0)){break d}a=h;while(1){g=d;d=q[f+156>>2];if(!d){d=q[q[f+152>>2]+4>>2]}d=q[d+16>>2]+g|0;a=a+4|0;if((l|0)==(a|0)){break d}f=q[(y+w(q[a>>2],48)|0)+16>>2];continue};case 1:break e;default:break k}}J(40797,40001,762,40865);G();case 2:break c;default:break j}}J(40797,40001,837,40803);G()}J(40645,40669,533,40725);G()}J(40894,40001,627,40906);G()}J(41371,40669,479,41382);G()}J(41563,40669,540,41592);G()}q[b+56>>2]=a;q[b+152>>2]=0;m:{if((h|0)!=(l|0)){while(1){n=q[c+60>>2];a=q[c+56>>2];d=((n-a|0)/304|0)+1|0;if(d>>>0>(q[c+64>>2]-a|0)/304>>>0){break m}q[c+60>>2]=a+w(d,304);f=q[(y+w(q[h>>2],48)|0)+16>>2];e=q[f+152>>2];g=q[f+156>>2];if(!g){g=q[e+4>>2]}n:{a=q[c+76>>2];o:{if(!a){break o}d=q[g+8>>2];m=q[g+12>>2];a=q[q[c+72>>2]+(Qwa(d,m,a)<<2)>>2];if((a|0)==-1){break o}z=q[c+80>>2];while(1){i=z+w(a,24)|0;if((d|0)==q[i>>2]&q[i+4>>2]==(m|0)){break n}a=q[i+20>>2];if((a|0)!=-1){continue}break}}J(39991,40001,731,41251);G()}q[75326]=q[75326]+q[g+16>>2];a=q[g+16>>2];q[b+40>>2]=a;q[b+44>>2]=0;q[b+64>>2]=a;q[b+68>>2]=0;a=q[g+20>>2];q[75348]=q[75348]+w(a,q[g+16>>2]);a=w(a,q[g+16>>2]);q[b+32>>2]=a;q[b+36>>2]=0;q[b+144>>2]=a;q[b+148>>2]=0;d=b;a=q[f+196>>2];if(!a){a=q[q[f+152>>2]+112>>2]}q[d+136>>2]=a;YJ(n,e+120|0,b+56|0,e+12|0,f+160|0,b+136|0,i+8|0,q[g+16>>2],f+80|0,q[f+148>>2]);Yn(P,n);h=h+4|0;if((l|0)!=(h|0)){continue}break}}break c}break b}a=w(d,i);if(a>>>0>t[c+144>>2]){q[c+144>>2]=a;q[c+140>>2]=nl(q[c+140>>2],a)}if((h|0)!=(l|0)){m=q[c+140>>2];f=h;while(1){e=q[(y+w(q[f>>2],48)|0)+16>>2];i=q[e+152>>2];g=q[e+156>>2];if(!g){g=q[i+4>>2]}p:{if(!q[g+16>>2]){break p}q[b+144>>2]=0;q[b+56>>2]=0;p=Bo(q[g+4>>2],b+144|0,b+56|0);if(p){q[b+16>>2]=p;Ai(4,40063,40925,b+16|0);break p}m=Gi(m,q[b+144>>2],q[b+56>>2]);p=q[i+132>>2];L=p;A=q[i+128>>2];if(p|A){ZJ(q[g+4>>2],1,e+80|0,A,L,q[i+136>>2],q[b+144>>2],m)}p=q[i+148>>2];L=p;A=q[i+144>>2];if(p|A){M=u[e+132>>2];N=u[e+136>>2];O=u[e+128>>2];B=u[e+120>>2];C=u[e+116>>2];F=u[e+96>>2];r=u[e+112>>2];H=u[e+104>>2];k=u[e+84>>2];I=u[e+100>>2];v=u[e+88>>2];K=u[e+80>>2];q[b+120>>2]=0;q[b+124>>2]=1065353216;q[b+112>>2]=0;q[b+116>>2]=0;s=x(x(K*I)-x(k*F));D=x(x(k*H)-x(v*I));E=x(x(v*F)-x(K*H));j=x(x(1)/x(x(B*s)+x(x(r*D)+x(C*E))));D=x(D*j);u[b+96>>2]=D;s=x(s*j);u[b+104>>2]=s;E=x(E*j);u[b+100>>2]=E;u[b+108>>2]=-x(x(O*D)+x(x(M*E)+x(N*s)));s=x(x(x(v*C)-x(k*B))*j);u[b+80>>2]=s;k=x(x(x(k*r)-x(K*C))*j);u[b+88>>2]=k;v=x(x(x(K*B)-x(v*r))*j);u[b+84>>2]=v;u[b+92>>2]=-x(x(O*s)+x(x(M*v)+x(N*k)));k=x(x(x(F*C)-x(I*r))*j);u[b+72>>2]=k;r=x(x(x(H*r)-x(F*B))*j);u[b+68>>2]=r;j=x(x(x(I*B)-x(H*C))*j);u[b+64>>2]=j;u[b+76>>2]=-x(x(O*j)+x(x(M*r)+x(N*k)));ZJ(q[g+4>>2],0,b- -64|0,A,L,q[i+152>>2],q[b+144>>2],m)}m=m+q[b+56>>2]|0}f=f+4|0;if((l|0)!=(f|0)){continue}break}e=q[b+132>>2]}q[75326]=q[75326]+d;q[b+144>>2]=d;q[b+148>>2]=0;q[b+8>>2]=d;q[b+12>>2]=0;q[75348]=a+q[75348];q[b+56>>2]=a;q[b+60>>2]=0;q[b>>2]=a;q[b+4>>2]=0;h=q[(y+w(q[h>>2],48)|0)+16>>2];q[b+88>>2]=0;q[b+92>>2]=0;q[b+84>>2]=1065353216;q[b+96>>2]=0;q[b+100>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+104>>2]=1065353216;q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=1065353216;q[b+68>>2]=0;q[b+72>>2]=0;q[b+64>>2]=1065353216;q[b+76>>2]=0;q[b+80>>2]=0;YJ(z,n+120|0,b+152|0,n+12|0,h+160|0,b+128|0,b+132|0,d,b- -64|0,q[Q+148>>2]);xi[q[77441]](e,a,q[c+140>>2],1);Yn(P,z)}ti=b+160|0;return}J(40822,40669,506,40841);G()}J(41488,40669,493,40355);G()}function LL(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,u=0,v=0,x=0,y=0,z=0,A=0;j=ti-160|0;ti=j;k=-4;a:{b:{if(!(o[a+32|0]&1)){break b}m=j- -64|0;k=m;q[k>>2]=0;q[k+4>>2]=0;q[k+16>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;k=pk();h=sF(b,m,e,h,i);c:{if((e|0)<1){break c}e=(k-pk()|0)+e|0;if((e|0)>=1){break c}k=-2;break b}i=q[j+76>>2];q[j+128>>2]=q[j+72>>2];q[j+132>>2]=i;q[j+136>>2]=q[j+80>>2];i=q[j+68>>2];q[j+120>>2]=q[j+64>>2];q[j+124>>2]=i;p[j+144>>1]=c;o[j+60|0]=d;hn(j+88|0,0);ll(j+88|0,j+120|0,20);ll(j+88|0,j+144|0,2);ll(j+88|0,j+60|0,1);x=$n(j+88|0);y=wi;d:{e:{f:{if(!h){u=q[a+28>>2];wj(u);i=q[a+12>>2];k=q[a+8>>2];l=pk();v=wi;h=i-k|0;if(h){i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);i=h>>>0>1?h:1;k=0;while(1){h=q[a+8>>2];if(q[a+12>>2]-h>>6>>>0<=k>>>0){break a}h=h+(k<<6)|0;g:{if(q[h+48>>2]!=1){break g}n=q[h+36>>2];if((n|0)==(v|0)&t[h+32>>2]>l>>>0|v>>>0>>0){break g}n=q[h+40>>2];if(n){Es(n);q[h+40>>2]=0}n=q[h+44>>2];if((n|0)!=-1){Zo(n);jm(q[h+44>>2])}q[h>>2]=0;q[h+4>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h+44>>2]=-1;q[h+40>>2]=0;q[h+48>>2]=0}k=k+1|0;if((i|0)!=(k|0)){continue}break}}i=q[a+12>>2];k=q[a+8>>2];h=i-k|0;if(!h){break e}h:{switch(q[m>>2]-1|0){case 1:if((i|0)==(k|0)){break a}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);m=h>>>0>1?h:1;i=0;while(1){i:{h=(i<<6)+k|0;if(q[h+48>>2]!=1|((x|0)!=q[h+24>>2]|(y|0)!=q[h+28>>2])){break i}if(!qy(q[h+44>>2])){break i}break d}i=i+1|0;if((m|0)==(i|0)){break e}k=q[a+8>>2];if(q[a+12>>2]-k>>6>>>0>i>>>0){continue}break}break a;case 0:break f;default:break h}}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);if((h>>>0>1?h:1)-1>>>0>=h>>>0){break a}break e}q[g>>2]=-100;k=-2;break b}if((i|0)==(k|0)){break a}i=k-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);m=h>>>0>1?h:1;i=0;while(1){j:{h=(i<<6)+k|0;if(q[h+48>>2]!=1|((x|0)!=q[h+24>>2]|(y|0)!=q[h+28>>2])){break j}if(!ry(q[h+44>>2])){break j}break d}i=i+1|0;if((m|0)==(i|0)){break e}k=q[a+8>>2];if(q[a+12>>2]-k>>6>>>0>i>>>0){continue}break}break a}k:{i=q[a+12>>2];m=q[a+8>>2];h=i-m|0;if(h){i=m-i|0;i=((h|0)<(i|0)?i:h)>>>6|0;h=(h|0)>-1?h:-1;h=w(i,(h|0)<1?h:1);h=h>>>0>1?h:1;i=0;while(1){v=m+(i<<6)|0;if(!q[v+48>>2]){break k}i=i+1|0;if((h|0)!=(i|0)){continue}break}}k=-1;qj(u);break b}q[v+48>>2]=2;qj(u);q[j+60>>2]=-1;u=0;q[j+56>>2]=0;q[j+136>>2]=q[j+80>>2];h=q[j+76>>2];q[j+128>>2]=q[j+72>>2];q[j+132>>2]=h;h=q[j+68>>2];q[j+120>>2]=q[j+64>>2];q[j+124>>2]=h;h=pk();n=wi;q[j+104>>2]=q[j+136>>2];k=q[j+132>>2];q[j+96>>2]=q[j+128>>2];q[j+100>>2]=k;k=q[j+124>>2];l=q[j+120>>2];q[j+88>>2]=l;q[j+92>>2]=k;k=s0(l,j+60|0);q[g>>2]=k;A=i<<6;l:{m:{n:{o:{if(k){break o}k=q[j+60>>2];if((e|0)>=1){l=nF(k,0);q[g>>2]=l;k=q[j+60>>2];if(l){jm(k);break o}q[j+24>>2]=q[j+104>>2];l=q[j+100>>2];q[j+16>>2]=q[j+96>>2];q[j+20>>2]=l;l=q[j+92>>2];q[j+8>>2]=q[j+88>>2];q[j+12>>2]=l;k=tF(k,j+8|0,c);q[g>>2]=k;if(k){jm(q[j+60>>2]);break o}k=pF(j+144|0);jL(k);oF(k,1,q[j+60>>2]);z=qF(k,e);q[g>>2]=z;l=q[j+60>>2];if((z|0)==-3){jm(l);if(o[k+12|0]&1){break o}b=q[k>>2];if(!b){break o}yi(b);break o}l=nF(l,1);q[g>>2]=l;if(l){jm(q[j+60>>2]);if(o[k+12|0]&1){break o}b=q[k>>2];if(!b){break o}yi(b);break o}p:{if(o[k+12|0]&1){break p}k=q[k>>2];if(!k){break p}yi(k)}k=pk();l=k-h|0;if((wi|0)==((h>>>0>k>>>0)+n|0)&e>>>0>=l>>>0){break m}jm(q[j+60>>2]);q[j+60>>2]=-1;k=-2;break l}q[j+48>>2]=q[j+104>>2];h=q[j+100>>2];q[j+40>>2]=q[j+96>>2];q[j+44>>2]=h;h=q[j+92>>2];q[j+32>>2]=q[j+88>>2];q[j+36>>2]=h;h=tF(k,j+32|0,c);q[g>>2]=h;if(!h){break n}jm(q[j+60>>2])}q[j+60>>2]=-1;k=-2;break l}pk()}k=0;u=1;if(!d){break l}b=O3(q[j+60>>2],b,e,e>>31,j+56|0);if(!b){break l}u=0;q[j+56>>2]=0;k=-3;q[g>>2]=(b|0)==-2002?-3:-1e3}d=m+A|0;g=q[a+28>>2];wj(g);q:{if(u){b=s[a+24>>1];e=b?b:1;p[a+24>>1]=e+1;b=m+(i<<6)|0;p[b+54>>1]=e;q[f>>2]=i&65535|e<<16;q[b+44>>2]=q[j+60>>2];e=q[j+56>>2];p[b+56>>1]=0;q[b+24>>2]=x;q[b+28>>2]=y;q[b+40>>2]=e;q[v+48>>2]=2;e=Owa(q[a>>2],q[a+4>>2],1e6,0);h=wi;i=pk();f=i+e|0;e=wi+h|0;a=b;q[a+32>>2]=f;q[a+36>>2]=f>>>0>>0?e+1|0:e;q[d+16>>2]=q[j+80>>2];a=q[j+76>>2];q[d+8>>2]=q[j+72>>2];q[d+12>>2]=a;a=q[j+68>>2];q[d>>2]=q[j+64>>2];q[d+4>>2]=a;p[b+52>>1]=c;o[b+58|0]=r[b+58|0]&254;break q}q[v+48>>2]=0;b=m+(i<<6)|0;c=b;a=q[b+40>>2];if(a){Es(a);q[c+40>>2]=0}a=q[b+44>>2];if((a|0)!=-1){Zo(a);jm(q[b+44>>2])}a=d;q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[b+44>>2]=-1;q[c+40>>2]=0;q[v+48>>2]=0}qj(g);break b}q[h+48>>2]=2;b=(i<<6)+k|0;p[b+56>>1]=s[b+56>>1]+1;c=a;a=s[a+24>>1];a=a?a:1;p[c+24>>1]=a+1;p[b+54>>1]=a;q[f>>2]=i&65535|a<<16;k=0;qj(u)}ti=j+160|0;return k}J(162905,162757,479,162916);G()}function lK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=0,p=0,s=0,v=0,y=0,z=0,A=0,B=0,C=x(0),D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0;e=ti-48|0;ti=e;a:{b:{f=Nj(b,q[q[c>>2]>>2],c+8|0);c:{if(f){break c}d:{e:{f:{g:{A=q[q[q[c+8>>2]+24>>2]>>2];d=q[A+4>>2];if(d){g=c+16|0;m=c+20|0;h=c+12|0;while(1){if(d>>>0<=p>>>0){break f}s=q[A>>2]+(p<<6)|0;k=s;d=q[k+60>>2];f=q[m>>2];j=(f-q[g>>2]|0)/12|0;if(d>>>0>j>>>0){if(o[c+24|0]&1){break b}Ii((d-j|0)+((f-q[h>>2]|0)/12|0)|0,12,h,m,g);d=q[k+60>>2]}if(d){f=0;while(1){if(d>>>0<=f>>>0){break g}d=q[g>>2];if((d|0)==q[m>>2]){break a}j=q[s+56>>2];q[g>>2]=d+12;q[d+8>>2]=j+(f<<7);q[d+4>>2]=s;q[d>>2]=0;d=q[k+60>>2];f=f+1|0;if(d>>>0>f>>>0){continue}break}}d=q[A+4>>2];p=p+1|0;if(d>>>0>p>>>0){continue}break}}vw(q[c+12>>2],q[c+16>>2],e+16|0);F=e+24|0;d=F;q[d>>2]=0;q[d+4>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;d=q[c+12>>2];if((d|0)==q[c+16>>2]){break d}N=e+16|4;while(1){H=w(D,12)+d|0;h=q[H+8>>2];v=Oi(24);d=v;q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;B=t[h+36>>2]/3|0;f=xi[q[77448]](a,1)|0;d=q[h+92>>2];I=q[h+88>>2];h:{i:{K=q[h+96>>2];j:{if((K|0)!=1){L=3;s=d>>>1|0;break j}if(!f){break i}L=5;s=d>>>2|0}k:{m=q[e+16>>2];d=(q[e+24>>2]-m|0)/68|0;if(d>>>0>>0){if(o[e+28|0]&1){break k}Ii(B,68,e+16|0,F,N);m=q[e+16>>2];d=(q[e+24>>2]-m|0)/68|0}if(d>>>0>=B>>>0){M=w(B,68);q[e+20>>2]=M+m;d=q[h+36>>2];k=(d>>>0)/3|0;l=0;j=0;j=d?q[h+32>>2]:j;l=q[h+44>>2]?q[h+40>>2]:l;f=0;g=0;g=q[h+52>>2]?q[h+48>>2]:g;f=q[h+60>>2]?q[h+56>>2]:f;y=0;z=0;z=q[h+68>>2]?q[h+64>>2]:z;y=q[h+80>>2]?q[h+76>>2]:y;if(d>>>0>=3){O=k>>>0>1?k:1;E=0;d=m;while(1){u[d>>2]=u[j>>2];k=0;n=d;if(l){k=l+4|0;i=u[l>>2]}else{i=x(0)}u[n+12>>2]=i;h=0;p=0;n=d;if(g){p=g+4|0;i=u[g>>2]}else{i=x(0)}u[n+24>>2]=i;u[d+4>>2]=u[j+4>>2];g=d;if(k){h=k+4|0;i=u[k>>2]}else{i=x(0)}u[g+16>>2]=i;l=0;k=0;g=d;if(p){k=p+4|0;i=u[p>>2]}else{i=x(0)}u[g+28>>2]=i;u[d+8>>2]=u[j+8>>2];g=d;if(h){l=h+4|0;i=u[h>>2]}else{i=x(0)}u[g+20>>2]=i;if(k){C=u[k>>2];g=k+4|0}else{g=0}u[d+32>>2]=C;l:{if(!f){q[d+36>>2]=1065353216;q[d+40>>2]=1065353216;q[d+44>>2]=1065353216;C=x(1);f=0;break l}u[d+36>>2]=u[f>>2];u[d+40>>2]=u[f+4>>2];u[d+44>>2]=u[f+8>>2];C=u[f+12>>2];f=f+16|0}u[d+48>>2]=C;C=x(0);k=0;h=0;n=d;if(z){h=z+4|0;i=u[z>>2]}else{i=x(0)}u[n+52>>2]=i;n=d;if(y){k=y+4|0;i=u[y>>2]}else{i=x(0)}u[n+60>>2]=i;y=0;z=0;n=d;if(h){z=h+4|0;i=u[h>>2]}else{i=x(0)}u[n+56>>2]=i;j=j+12|0;n=d- -64|0;if(k){y=k+4|0;i=u[k>>2]}else{i=x(0)}u[n>>2]=i;d=d+68|0;E=E+1|0;if((O|0)!=(E|0)){continue}break}}d=xi[q[77439]](a,M,m,2)|0;q[v+8>>2]=B;q[v>>2]=d;q[v+12>>2]=0;q[v+4>>2]=0;if(!I){break h}d=xi[q[77444]](a,w((K|0)==1?4:2,s),I,2)|0;q[v+20>>2]=L;q[v+4>>2]=d;q[v+12>>2]=s;break h}J(57954,57763,506,57973);G()}break b}Ai(4,57472,57860,0)}q[H>>2]=v;D=D+1|0;d=q[c+12>>2];if(D>>>0<(q[c+16>>2]-d|0)/12>>>0){continue}break}break e}J(57618,57630,311,57677);G()}J(57618,57630,326,57677);G()}if(o[e+28|0]&1){break d}a=q[e+16>>2];if(!a){break d}yi(a)}m:{n:{o:{p:{if(!(o[c+40|0]&1)){m=c+28|0;g=c+36|0;a=c+32|0;Ii(q[A+12>>2],4,m,g,a);if(q[A+12>>2]){l=0;while(1){f=Nj(b,q[q[c>>2]+4>>2],e+16|0);if(f){break c}d=q[a>>2];if((d|0)==q[g>>2]){break a}f=q[e+16>>2];q[a>>2]=d+4;q[d>>2]=f;l=l+1|0;if(l>>>0>2]){continue}break}}if(q[a>>2]==q[m>>2]){if(Nj(b,q[q[c>>2]+4>>2],e+16|0)){break p}d=q[a>>2];f=q[g>>2];if((d|0)==(f|0)){if(o[c+40|0]&1){break b}Ii((d-q[m>>2]>>2)+1|0,4,m,g,a);f=q[g>>2];d=q[a>>2]}if((d|0)==(f|0)){break a}f=q[e+16>>2];q[a>>2]=d+4;q[d>>2]=f}q[e+40>>2]=0;q[e+44>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;j=q[c>>2];l=q[j+12>>2];if(!l){break m}d=0;f=0;while(1){if(d>>>0>=l>>>0){break o}a=d<<2;g=q[a+q[j+8>>2]>>2];if(r[g|0]){g=Nj(b,g,e+12|0);q:{if(g){f=f?f:g;break q}s=a+(e+16|0)|0;a=q[e+12>>2];q[s>>2]=a;a=Sp(b,a,((d<<3)+c|0)+80|0);f=a?a:f}j=q[c>>2]}if(d>>>0>6){break n}d=d+1|0;l=q[j+12>>2];if(d>>>0>>0){continue}break}break n}break b}q[e>>2]=q[q[c>>2]+4>>2];Ai(4,57472,57480,e);f=-1;break c}J(57618,57981,57,57677);G()}if(!f){break m}a=q[e+16>>2];if(a){Pi(b,a)}a=q[e+20>>2];if(a){Pi(b,a)}a=q[e+24>>2];if(a){Pi(b,a)}a=q[e+28>>2];if(a){Pi(b,a)}a=q[e+32>>2];if(a){Pi(b,a)}a=q[e+36>>2];if(a){Pi(b,a)}a=q[e+40>>2];if(a){Pi(b,a)}a=q[e+44>>2];if(!a){break c}Pi(b,a);break c}a=q[e+20>>2];q[c+44>>2]=q[e+16>>2];q[c+48>>2]=a;a=q[e+28>>2];q[c+52>>2]=q[e+24>>2];q[c+56>>2]=a;a=q[e+44>>2];q[c+68>>2]=q[e+40>>2];q[c+72>>2]=a;a=q[e+36>>2];q[c+60>>2]=q[e+32>>2];q[c+64>>2]=a;a=q[c+8>>2];if(!(q[a+28>>2]|q[a+20>>2])){f=0;break c}f=0;j=q[c+28>>2];if((j|0)==q[c+32>>2]){break c}d=0;while(1){if(q[q[(d<<2)+j>>2]+104>>2]!=1){d=d+1|0;j=q[c+28>>2];if(d>>>0>2]-j>>2>>>0){continue}break c}break}Ai(4,57472,57509,0);f=-15}ti=e+48|0;return f}J(57688,57763,493,57819);G()}J(57831,57763,533,57855);G()}function ex(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,B=0;h=ti-80|0;ti=h;q[h+76>>2]=b;B=h+55|0;y=h+56|0;b=0;a:{b:while(1){c:{if((t|0)<0){break c}if((2147483647-t|0)<(b|0)){q[242957]=61;t=-1;break c}t=b+t|0}d:{e:{f:{k=q[h+76>>2];b=k;i=r[b|0];if(i){while(1){g:{i=i&255;h:{if(!i){i=b;break h}if((i|0)!=37){break g}i=b;while(1){if(r[b+1|0]!=37){break h}j=b+2|0;q[h+76>>2]=j;i=i+1|0;l=r[b+2|0];b=j;if((l|0)==37){continue}break}}b=i-k|0;if(a){Jl(a,k,b)}if(b){continue b}i=h;b=q[h+76>>2];i:{if(!(r[b+2|0]!=36|o[q[h+76>>2]+1|0]-48>>>0>=10)){x=o[b+1|0]-48|0;z=1;b=b+3|0;break i}x=-1;b=b+1|0}q[i+76>>2]=b;m=0;u=o[b|0];j=u-32|0;j:{if(j>>>0>31){i=b;break j}i=b;j=1<>2]=i;m=j|m;u=o[b+1|0];j=u-32|0;if(j>>>0>=32){break j}b=i;j=1<>>0>=10){break m}b=q[h+76>>2];if(r[b+2|0]!=36){break m}q[((o[b+1|0]<<2)+e|0)-192>>2]=10;n=q[((o[b+1|0]<<3)+d|0)-384>>2];z=1;b=b+3|0;break l}if(z){break f}z=0;n=0;if(a){b=q[c>>2];q[c>>2]=b+4;n=q[b>>2]}b=q[h+76>>2]+1|0}q[j+76>>2]=b;if((n|0)>-1){break k}n=0-n|0;m=m|8192;break k}n=IE(h+76|0);if((n|0)<0){break f}b=q[h+76>>2]}l=-1;n:{if(r[b|0]!=46){break n}if(r[b+1|0]==42){o:{if(o[b+2|0]-48>>>0>=10){break o}b=q[h+76>>2];if(r[b+3|0]!=36){break o}q[((o[b+2|0]<<2)+e|0)-192>>2]=10;l=q[((o[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;q[h+76>>2]=b;break n}if(z){break f}if(a){b=q[c>>2];q[c>>2]=b+4;l=q[b>>2]}else{l=0}b=q[h+76>>2]+2|0;q[h+76>>2]=b;break n}q[h+76>>2]=b+1;l=IE(h+76|0);b=q[h+76>>2]}i=0;while(1){A=i;s=-1;if(o[b|0]-65>>>0>57){break a}u=b+1|0;q[h+76>>2]=u;i=o[b|0];b=u;i=r[(i+w(A,58)|0)+207615|0];if(i-1>>>0<8){continue}break}p:{q:{if((i|0)!=19){if(!i){break a}if((x|0)>=0){q[(x<<2)+e>>2]=i;b=(x<<3)+d|0;i=q[b+4>>2];q[h+64>>2]=q[b>>2];q[h+68>>2]=i;break q}if(!a){break d}QC(h- -64|0,i,c,g);u=q[h+76>>2];break p}if((x|0)>-1){break a}}b=0;if(!a){continue b}}j=m&-65537;i=m&8192?j:m;s=0;x=207655;m=y;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=o[u-1|0];b=A?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;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 e;default:break G}}H:{switch(b-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break e;default:break H}}if((b|0)==83){break w}break e}b=q[h+64>>2];k=q[h+68>>2];x=207655;break z}b=0;I:{switch(A&255){case 0:q[q[h+64>>2]>>2]=t;continue b;case 1:q[q[h+64>>2]>>2]=t;continue b;case 2:i=q[h+64>>2];q[i>>2]=t;q[i+4>>2]=t>>31;continue b;case 3:p[q[h+64>>2]>>1]=t;continue b;case 4:o[q[h+64>>2]]=t;continue b;case 6:q[q[h+64>>2]>>2]=t;continue b;case 7:break I;default:continue b}}i=q[h+64>>2];q[i>>2]=t;q[i+4>>2]=t>>31;continue b}l=l>>>0>8?l:8;i=i|8;b=120}k=n_(q[h+64>>2],q[h+68>>2],y,b&32);if(!(i&8)|!(q[h+64>>2]|q[h+68>>2])){break y}x=(b>>>4|0)+207655|0;s=2;break y}k=o_(q[h+64>>2],q[h+68>>2],y);if(!(i&8)){break y}b=y-k|0;l=(b|0)<(l|0)?l:b+1|0;break y}j=q[h+68>>2];k=j;b=q[h+64>>2];if((j|0)<-1?1:(j|0)<=-1){k=0-(k+((b|0)!=0)|0)|0;b=0-b|0;q[h+64>>2]=b;q[h+68>>2]=k;s=1;x=207655;break z}if(i&2048){s=1;x=207656;break z}s=i&1;x=s?207657:207655}k=Hq(b,k,y)}i=(l|0)>-1?i&-65537:i;b=q[h+64>>2];j=q[h+68>>2];if(!(!!(b|j)|l)){l=0;k=y;break e}b=!(b|j)+(y-k|0)|0;l=(b|0)<(l|0)?l:b;break e}b=q[h+64>>2];k=b?b:207665;b=qq(k,0,l);m=b?b:l+k|0;i=j;l=b?b-k|0:l;break e}j=q[h+64>>2];if(l){break u}b=0;em(a,32,n,0,i);break t}q[h+12>>2]=0;q[h+8>>2]=q[h+64>>2];q[h+64>>2]=h+8;l=-1;j=h+8|0}b=0;J:{while(1){k=q[j>>2];if(!k){break J}k=CB(h+4|0,k);m=(k|0)<0;if(!(m|k>>>0>l-b>>>0)){j=j+4|0;b=b+k|0;if(l>>>0>b>>>0){continue}break J}break}s=-1;if(m){break a}}em(a,32,n,b,i);if(!b){b=0;break t}u=0;j=q[h+64>>2];while(1){k=q[j>>2];if(!k){break t}k=CB(h+4|0,k);u=k+u|0;if((u|0)>(b|0)){break t}Jl(a,h+4|0,k);j=j+4|0;if(b>>>0>u>>>0){continue}break}}em(a,32,n,b,i^8192);b=(b|0)<(n|0)?n:b;continue b}b=xi[f|0](a,v[h+64>>3],n,l,i,b)|0;continue b}o[h+55|0]=q[h+64>>2];l=1;k=B;i=j;break e}j=b+1|0;q[h+76>>2]=j;i=r[b+1|0];b=j;continue}}s=t;if(a){break a}if(!z){break d}b=1;while(1){a=q[(b<<2)+e>>2];if(a){QC((b<<3)+d|0,a,c,g);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>=10){break a}while(1){if(q[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}s=-1;break a}m=m-k|0;l=(l|0)<(m|0)?m:l;j=l+s|0;b=(j|0)>(n|0)?j:n;em(a,32,b,j,i);Jl(a,x,s);em(a,48,b,j,i^65536);em(a,48,l,m,0);Jl(a,k,m);em(a,32,b,j,i^8192);continue}break}s=0}ti=h+80|0;return s}function rn(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,p=0,s=0;a:{b:while(1){n=b+1|0;s=b-1|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{f=c;d=r[c|0];if((d|0)!=37){m:{n:{o:{c=d<<24>>24;switch(c-36|0){case 1:case 2:case 3:break k;case 0:break l;case 5:break m;case 4:break n;default:break o}}if(c){break k}return b}if(r[f+1|0]==41){c=q[a+12>>2];if((c|0)>=32){Bi(q[a+8>>2],141115,0)}d=(c<<3)+a|0;q[d+20>>2]=-2;q[d+16>>2]=b;q[a+12>>2]=c+1;h=rn(a,b,f+2|0);if(h){break c}break a}c=q[a+12>>2];if((c|0)>=32){Bi(q[a+8>>2],141115,0)}d=(c<<3)+a|0;q[d+20>>2]=-1;q[d+16>>2]=b;q[a+12>>2]=c+1;h=rn(a,b,f+1|0);if(h){break c}break a}g=f+1|0;d=q[a+12>>2];p:{while(1){if((d|0)>=1){d=d-1|0;if(q[((d<<3)+a|0)+20>>2]!=-1){continue}break p}break}d=Bi(q[a+8>>2],141133,0)}c=(d<<3)+a|0;q[c+20>>2]=b-q[c+16>>2];h=rn(a,b,g);if(h){break c}q[c+20>>2]=-1;return 0}q:{d=o[f+1|0];c=d&255;if((c|0)!=102){if((d|0)!=98){break q}d=r[f+2|0];if(!(r[f+3|0]?d:0)){Bi(q[a+8>>2],141157,0);d=r[f+2|0]}h=0;c=d&255;if((c|0)!=r[b|0]){break c}e=1;d=b+1|0;g=q[a+4>>2];if(d>>>0>=g>>>0){break c}i=r[f+3|0];while(1){j=r[b+1|0];r:{if((j|0)==(i|0)){e=e-1|0;if(e){break r}c=f+4|0;b=b+2|0;continue b}e=((c|0)==(j|0))+e|0}b=d;d=d+1|0;if((g|0)!=(d|0)){continue}break}break c}if(r[f+2|0]==91){i=f+3|0;break e}Bi(q[a+8>>2],141080,0);i=f+3|0;d=o[f+2|0];if((d|0)==91){break e}c=i;if((d|0)!=37){break d}if(!r[i|0]){Bi(q[a+8>>2],141176,0)}c=f+4|0;break d}if(c-48>>>0>=10){if(!d){Bi(q[a+8>>2],141176,0)}i=f+1|0;c=f+2|0;break j}s:{t:{if(c>>>0<49){break t}e=c-49|0;if((e|0)>=q[a+12>>2]){break t}d=q[((e<<3)+a|0)+20>>2];if((d|0)!=-1){break s}}e=Bi(q[a+8>>2],141243,0);d=q[((e<<3)+a|0)+20>>2]}h=0;if(q[a+4>>2]-b>>>0>>0){break c}if(pj(q[((e<<3)+a|0)+16>>2],b,d)|!b){break c}c=f+2|0;b=b+d|0;continue b}if(!r[f+1|0]){break i}i=f+1|0;c=i;break j}i=f+1|0;c=i;if((d|0)!=91){break j}c=r[f+1|0]==94;d=c?f+2|0:i;e=r[f+(c?2:1)|0];while(1){c=d+1|0;if(!(e&255)){Bi(q[a+8>>2],141211,0);e=r[d|0]}if(!((e&255)!=37)){c=r[d+1|0]?d+2|0:c}d=c;e=r[d|0];if((e|0)!=93){continue}break}c=d+1|0}d=0;if(t[a+4>>2]<=b>>>0){break f}h=r[b|0];g=1;u:{v:{w:{d=o[f|0];switch(d-37|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;case 0:break w;case 9:break g;default:break v}}g=No(h,r[i|0]);break g}if((d|0)==91){break h}}g=(h|0)==(d&255);break g}h=q[a+4>>2]==(b|0)?b:0;break c}j=r[f+1|0];g=(j|0)==94;d=g?i:f;e=d+1|0;l=c-1|0;if(e>>>0>=l>>>0){break g}j=(j|0)!=94;while(1){k=r[d+2|0];x:{y:{m=r[d+1|0];if((m|0)==37){if(!No(h,k)){break y}g=j;break g}z:{if((k|0)!=45){break z}d=d+3|0;if(l>>>0<=d>>>0){break z}if(h>>>0>>0|h>>>0>r[d|0]){break x}g=j;break g}d=e;if((h|0)!=(m|0)){break x}g=j;break g}d=d+2|0}e=d+1|0;if(l>>>0>e>>>0){continue}break}}d=(g|0)!=0}g=o[c|0];if((g|0)!=63){A:{switch(g-42|0){case 3:m=c+1|0;h=rn(a,b,m);if(h){break c}n=c-1|0;while(1){h=0;if(t[a+4>>2]<=b>>>0){break c}e=r[b|0];B:{C:{D:{E:{F:{G:{c=o[f|0];switch(c-37|0){case 9:break B;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break E;case 0:break G;default:break F}}c=No(e,r[i|0]);break C}if((c|0)==91){break D}}c=(e|0)==(c&255);break C}g=r[f+1|0];c=(g|0)==94;d=c?i:f;j=d+1|0;if(n>>>0<=j>>>0){break C}g=(g|0)!=94;while(1){l=r[d+2|0];H:{I:{k=r[d+1|0];if((k|0)==37){if(!No(e,l)){break I}c=g;break C}J:{if((l|0)!=45){break J}d=d+3|0;if(n>>>0<=d>>>0){break J}if(e>>>0>>0|e>>>0>r[d|0]){break H}c=g;break C}d=j;if((e|0)!=(k|0)){break H}c=g;break C}d=d+2|0}j=d+1|0;if(n>>>0>j>>>0){continue}break}}if(!c){break c}}b=b+1|0;h=rn(a,b,m);if(!h){continue}break}break c;default:if(!d){return 0}b=n;continue b;case 1:h=0;if(!d){break c}return VD(a,b+1|0,f,c);case 0:break A}}return VD(a,b,f,c)}if(d){h=rn(a,n,c+1|0);if(h){break c}}c=c+1|0;continue}c=r[f+3|0]==94;d=c?f+4|0:i;e=r[f+(c?4:3)|0];while(1){c=d+1|0;if(!(e&255)){Bi(q[a+8>>2],141211,0);e=r[d|0]}if(!((e&255)!=37)){c=r[d+1|0]?d+2|0:c}d=c;e=r[d|0];if((e|0)!=93){continue}break}c=d+1|0}h=0;d=0;d=q[a>>2]!=(b|0)?r[s|0]:d;j=f+2|0;g=r[i|0];f=(g|0)==94;e=f?i:j;i=e+1|0;l=c-1|0;if(i>>>0>=l>>>0){break c}k=d&255;g=(g|0)!=94;j=i;d=e;K:{while(1){m=r[d+2|0];L:{M:{p=r[d+1|0];if((p|0)==37){if(!No(k,m)){break M}d=g;break K}N:{if((m|0)!=45){break N}d=d+3|0;if(l>>>0<=d>>>0){break N}if(k>>>0

>>0|k>>>0>r[d|0]){break L}d=g;break K}d=j;if((k|0)!=(p|0)){break L}d=g;break K}d=d+2|0}j=d+1|0;if(l>>>0>j>>>0){continue}break}d=f}if(d){break c}d=r[b|0];O:{while(1){j=r[e+2|0];k=r[e+1|0];P:{if((k|0)==37){if(No(d,j)){break O}e=e+2|0;break P}Q:{if((j|0)!=45){break Q}e=e+3|0;if(l>>>0<=e>>>0){break Q}if(d>>>0>>0|d>>>0>r[e|0]){break P}break O}e=i;if((d|0)==(k|0)){break O}}i=e+1|0;if(l>>>0>i>>>0){continue}break}g=f}if(g){continue}}break}break}return h}q[a+12>>2]=q[a+12>>2]-1;return 0}function $n(a){var b=0,c=0,d=0,e=0,f=0;b=Owa(q[a+8>>2],q[a+12>>2],1540483477,-962287725);e=wi;c=Owa(b^e>>>15,e,1540483477,-962287725);q[a+8>>2]=c;d=wi;q[a+12>>2]=d;c=Owa(Owa(q[a>>2],q[a+4>>2],1540483477,-962287725)^c,wi^d,1540483477,-962287725);e=wi;d=Owa(q[a+20>>2],0,1540483477,-962287725);f=wi;d=Owa(d^f>>>15,f,1540483477,-962287725)^c;e=wi^e;d=Owa(d^e>>>15,e,1540483477,-962287725);e=wi;q[a>>2]=d^e>>>15;q[a+4>>2]=e;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b:{c:{d:{e:{if(!(!r[862340]|!q[a+24>>2]|t[a+20>>2]>1024)){f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}e=q[215584];wj(e);g:{if(o[862440]&1){break g}if(!Xj()){break g}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b=q[a>>2];d=q[a+4>>2];h:{i:{c=q[215595];j:{if(!c){break j}c=q[q[215594]+(Qwa(b,d,c)<<2)>>2];if((c|0)==-1){break j}f=q[215596];while(1){c=f+w(c,24)|0;if((b|0)==q[c>>2]&(d|0)==q[c+4>>2]){break i}c=q[c+16>>2];if((c|0)!=-1){continue}break}}if(q[215600]==((q[215598]-q[215596]|0)/24|0)){k:{if(o[862440]&1){break k}if(!Xj()){break k}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b=(q[215598]-q[215596]|0)/24|0;l:{if(o[862440]&1){break l}if(!Xj()){break l}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;d=Hj();o[862340]=0;q[215584]=d;Wj()}fv(862376,1024,b+256|0);d=q[a+4>>2];b=q[a>>2]}m:{if(o[862440]&1){break m}if(!Xj()){break m}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}f=q[a+24>>2];c=q[215602];if(f>>>0>=q[215603]-c>>3>>>0){break b}Ez(862376,b,d,c+(f<<3)|0);break h}n:{if(o[862440]&1){break n}if(!Xj()){break n}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}d=q[a+24>>2];b=q[215602];if(d>>>0>=q[215603]-b>>3>>>0){break b}yi(q[b+(d<<3)>>2])}o:{if(o[862440]&1){break o}if(!Xj()){break o}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}d=q[a+24>>2];if(!d){break e}c=q[215606];if(!c){break d}b=q[215608]-1|0;if(b>>>0>=t[215607]){break c}q[215608]=b;q[(b<<2)+c>>2]=d;q[a+24>>2]=0;qj(e)}wi=q[a+4>>2];return q[a>>2]}J(160451,160102,131,160467);G()}J(160318,160293,140,160349);G()}J(160354,160293,141,160349);G()}J(160603,160205,479,160614);G()}function Ssa(a,b,c){var d=0,e=0,f=0,g=0;d=ti-800|0;ti=d;g=-56;a:{if(c>>>0>384){break a}g=0;Fi(d+384|0,0,416);es(d+8|0);o[d+407|0]=48;o[d+403|0]=c;o[d+402|0]=c>>>8;p[d+400>>1]=0;o[Gi(d+408|0,b,c)+c|0]=128;q[d+328>>2]=454695192;q[d+332>>2]=522067228;q[d+320>>2]=319951120;q[d+324>>2]=387323156;q[d+312>>2]=185207048;q[d+316>>2]=252579084;q[d+304>>2]=50462976;q[d+308>>2]=117835012;e=Bq(d+8|0,d+304|0,256);b:{if(e){break b}q[d+296>>2]=0;q[d+300>>2]=0;q[d+288>>2]=0;q[d+292>>2]=0;b=d+384|0;f=c+25|0;c=f;while(1){if(c){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];e=c-16|0;c=c>>>0>>0?0:e;b=b+16|0;e=qm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+344>>2]=q[d+296>>2];q[d+348>>2]=b;b=q[d+292>>2];q[d+336>>2]=q[d+288>>2];q[d+340>>2]=b;q[d+288>>2]=0;q[d+292>>2]=0;q[d+296>>2]=0;q[d+300>>2]=0;o[d+387|0]=r[d+387|0]+1;b=d+384|0;c=f;while(1){if(c){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];e=c-16|0;c=c>>>0>>0?0:e;b=b+16|0;e=qm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+360>>2]=q[d+296>>2];q[d+364>>2]=b;b=q[d+292>>2];q[d+352>>2]=q[d+288>>2];q[d+356>>2]=b;q[d+288>>2]=0;q[d+292>>2]=0;q[d+296>>2]=0;q[d+300>>2]=0;o[d+387|0]=r[d+387|0]+1;b=d+384|0;while(1){if(f){o[d+288|0]=r[d+288|0]^r[b|0];o[d+289|0]=r[d+289|0]^r[b+1|0];o[d+290|0]=r[d+290|0]^r[b+2|0];o[d+291|0]=r[d+291|0]^r[b+3|0];o[d+292|0]=r[d+292|0]^r[b+4|0];o[d+293|0]=r[d+293|0]^r[b+5|0];o[d+294|0]=r[d+294|0]^r[b+6|0];o[d+295|0]=r[d+295|0]^r[b+7|0];o[d+296|0]=r[d+296|0]^r[b+8|0];o[d+297|0]=r[d+297|0]^r[b+9|0];o[d+298|0]=r[d+298|0]^r[b+10|0];o[d+299|0]=r[d+299|0]^r[b+11|0];o[d+300|0]=r[d+300|0]^r[b+12|0];o[d+301|0]=r[d+301|0]^r[b+13|0];o[d+302|0]=r[d+302|0]^r[b+14|0];o[d+303|0]=r[d+303|0]^r[b+15|0];c=f-16|0;f=c>>>0>f>>>0?0:c;b=b+16|0;e=qm(d+8|0,1,d+288|0,d+288|0);if(!e){continue}break b}break}b=q[d+300>>2];q[d+376>>2]=q[d+296>>2];q[d+380>>2]=b;b=q[d+292>>2];q[d+368>>2]=q[d+288>>2];q[d+372>>2]=b;o[d+387|0]=r[d+387|0]+1;e=Bq(d+8|0,d+336|0,256);if(e){break b}b=d+368|0;e=qm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=e;o[a+9|0]=e>>>8;o[a+10|0]=e>>>16;o[a+11|0]=e>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;e=qm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a+16|0]=e;o[a+17|0]=e>>>8;o[a+18|0]=e>>>16;o[a+19|0]=e>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+24|0]=e;o[a+25|0]=e>>>8;o[a+26|0]=e>>>16;o[a+27|0]=e>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;e=qm(d+8|0,1,b,b);if(e){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a+32|0]=e;o[a+33|0]=e>>>8;o[a+34|0]=e>>>16;o[a+35|0]=e>>>24;o[a+36|0]=c;o[a+37|0]=c>>>8;o[a+38|0]=c>>>16;o[a+39|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+40|0]=b;o[a+41|0]=b>>>8;o[a+42|0]=b>>>16;o[a+43|0]=b>>>24;o[a+44|0]=c;o[a+45|0]=c>>>8;o[a+46|0]=c>>>16;o[a+47|0]=c>>>24;e=0}b=d+8|0;if(b){xi[q[68401]](b,0,280)|0}xi[q[68401]](d+384|0,0,416)|0;xi[q[68401]](d+336|0,0,48)|0;xi[q[68401]](d+304|0,0,32)|0;xi[q[68401]](d+288|0,0,16)|0;if(!e){break a}xi[q[68401]](a,0,48)|0;g=e}ti=d+800|0;return g}function xpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=0,k=0,l=x(0),m=0,n=0,t=0,y=0,z=0,B=0,C=0;h=ti-224|0;ti=h;q[h+216>>2]=0;f=q[a+8>>2];o[f+108|0]=r[f+108|0]|1;C=q[f+4>>2]-q[f>>2]|0;k=(C|0)/104|0;q[74122]=k+q[74122];d=k;q[h+56>>2]=d;q[h+60>>2]=0;q[h+208>>2]=d;q[h+212>>2]=0;a:{b:{c:{d:{e:{f:{if(!C){break f}m=k>>>0>1?k:1;g:{while(1){d=q[f>>2];if((q[f+4>>2]-d|0)/104>>>0>c>>>0){d=d+w(c,104)|0;e=r[d+96|0];h:{if(!(e&1)|!(e&16)|u[d+60>>2]>u[q[a+4>>2]+4>>2]){break h}o[d+96|0]=e&239;i:{if(e&4){break i}e=q[d+48>>2];if(e){u[d+52>>2]=u[e>>2];break i}e=mp(h+96|0);i=q[d+16>>2];j=q[d+20>>2];n=q[d+8>>2];z=q[d+12>>2];B=q[d>>2];y=q[h+92>>2];q[h+48>>2]=q[h+88>>2];q[h+52>>2]=y;q[h+80>>2]=0;y=q[h+84>>2];q[h+40>>2]=q[h+80>>2];q[h+44>>2]=y;jr(B,n,z,i,j,h+40|0,e);u[d+52>>2]=v[h+136>>3]}e=q[f+48>>2];if(!e){break h}j=q[d>>2];i=q[q[f+44>>2]+((j>>>0)%(e>>>0)<<2)>>2];if((i|0)==-1){break h}n=q[f+52>>2];while(1){e=n+w(i,12)|0;if((j|0)!=q[e>>2]){i=q[e+8>>2];if((i|0)!=-1){continue}break h}break}i=s[e+4>>1];if((i|0)==65535){break h}while(1){i=i&65535;e=q[f+16>>2];if(i>>>0>=q[f+20>>2]-e>>1>>>0){break a}i=s[e+(i<<1)>>1];j=q[f>>2];if(i>>>0>=(q[f+4>>2]-j|0)/104>>>0){break a}j:{if((c|0)==(i|0)){break j}e=j+w(i,104)|0;n=r[e+96|0];if(n&16|(q[e+8>>2]!=q[d+8>>2]|q[e+12>>2]!=q[d+12>>2])|(q[e+16>>2]!=q[d+16>>2]|q[e+20>>2]!=q[d+20>>2]|u[e+60>>2]<=x(0)^1)){break j}o[e+96|0]=n&252}i=s[(j+w(i,104)|0)+94>>1];if((i|0)!=65535){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break g}break}break a}if(!C){break f}n=k>>>0>1?k:1;i=0;k:{while(1){c=q[f>>2];if((q[f+4>>2]-c|0)/104>>>0>i>>>0){c=c+w(i,104)|0;e=r[c+96|0];l:{if(!(e&1)){break l}g=u[c+60>>2];l=u[q[a+4>>2]+4>>2];if(!(g>l^1)){u[c+60>>2]=g-l;break l}j=0;q[c+60>>2]=0;m=q[c+24>>2];m:{if(!m){break m}g=x(x(l-g)+u[c+64>>2]);u[c+64>>2]=g;d=c- -64|0;n:{switch(m-1|0){case 0:case 1:case 2:l=g;g=u[c+68>>2];if(l>=g^1){break m}u[d>>2]=g;j=1;break m;case 3:case 4:l=u[c+68>>2];if(l>x(0)^1|g>=l^1){break m}while(1){g=x(g-l);if(!(l<=g^1)){continue}break}u[d>>2]=g;break m;case 5:break n;default:break m}}l=u[c+68>>2];if(l>x(0)^1|g>=l^1){break m}while(1){e=e^8;g=x(g-l);if(!(l<=g^1)){continue}break}u[d>>2]=g;o[c+96|0]=e}o:{if(e&4){break o}g=x(1);l=u[c+64>>2];if(!(l>2]^1)){g=x(l*u[c+72>>2]);g=gx(1)^1){break p}g=x(x(2)-g)}q[h+32>>2]=q[c+44>>2];d=q[c+40>>2];q[h+24>>2]=q[c+36>>2];q[h+28>>2]=d;d=q[c+32>>2];q[h+16>>2]=q[c+28>>2];q[h+20>>2]=d;g=oL(h+16|0,g);l=u[c+52>>2];g=x(l+x(g*x(u[c+56>>2]-l)));d=q[c+48>>2];if(d){u[d>>2]=g;break o}e=q[c+16>>2];m=q[c+20>>2];z=q[c+8>>2];B=q[c+12>>2];y=q[c>>2];q[h+64>>2]=0;d=h+96|0;q[d>>2]=0;v[d+8>>3]=g;t=q[h+76>>2];q[h+8>>2]=q[h+72>>2];q[h+12>>2]=t;t=q[h+68>>2];q[h>>2]=q[h+64>>2];q[h+4>>2]=t;BK(y,z,B,e,m,h,d)}if(!j){break l}o[c+96|0]=r[c+96|0]&252|2}i=i+1|0;if((n|0)!=(i|0)){continue}break k}break}break a}if(!C){break f}n=f+44|0;c=q[f>>2];i=q[f+4>>2];e=0;while(1){if((i-c|0)/104>>>0<=e>>>0){break a}m=w(e,104);j=m+c|0;d=r[j+96|0];r:{if(!(d&1)){a=c+m|0;c=q[a+76>>2];s:{if(!c){d=k;break s}xi[c|0](q[j>>2],q[a+8>>2],q[a+12>>2],q[a+16>>2],q[a+20>>2],(d&2)>>>1|0,q[a+80>>2],q[a+84>>2]);a=f;c=q[f>>2];d=(q[f+4>>2]-c|0)/104|0;if((k|0)!=(d|0)){if(d>>>0<=e>>>0){break a}j=c+m|0}HK(a,j);a=q[j+36>>2];if(!a){break s}xi[a|0](j+28|0)}i=q[j>>2];a=q[f+48>>2];t:{u:{if(!a){break u}c=q[q[n>>2]+((i>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break u}k=q[f+52>>2];while(1){c=w(c,12);a=c+k|0;if(q[a>>2]==(i|0)){break t}c=q[(c+k|0)+8>>2];if((c|0)!=-1){continue}break}}a=0}k=a?a+4|0:0;a=s[k>>1];v:{if((a|0)!=65535){z=s[j+92>>1];w:{if((z|0)!=(a|0)){B=q[f+16>>2];y=q[f+20>>2]-B>>1;c=a;while(1){c=c&65535;if(c>>>0>=y>>>0){break a}c=s[B+(c<<1)>>1];t=q[f>>2];if(c>>>0>=(q[f+4>>2]-t|0)/104>>>0){break a}t=t+w(c,104)|0;c=s[t+94>>1];if((c|0)==65535){break w}if((c|0)!=(z|0)){continue}break}a=t+94|0}else{a=k}p[a>>1]=s[j+94>>1];c=q[f+32>>2];if(!c){break e}a=s[f+38>>1];if(!a|a>>>0>s[f+36>>1]){break d}j=s[j+92>>1];a=a-1|0;p[f+38>>1]=a;p[c+((a&65535)<<1)>>1]=j;a=s[k>>1]}if((a|0)!=65535){break v}}av(n,i)}a=q[f+4>>2];k=q[f>>2];if((a-k|0)/104>>>0<=e>>>0){break c}Gi(k+m|0,a-104|0,97);i=q[f+4>>2]-104|0;q[f+4>>2]=i;c=q[f>>2];if(i>>>0>>0){break b}k=d-1|0;if(e>>>0>=k>>>0){break r}d=s[(c+m|0)+92>>1];a=q[f+16>>2];if(d>>>0>=q[f+20>>2]-a>>1>>>0){break a}p[a+(d<<1)>>1]=e;break r}e=e+1|0}if(e>>>0>>0){continue}break}}o[f+108|0]=r[f+108|0]&254;o[b|0]=(C|0)!=0;ti=h+224|0;return 0}J(6236,6243,140,6761);G()}J(6766,6243,141,6761);G()}J(6889,6485,513,6904);G()}J(6914,6485,516,6904);G()}J(6739,6485,479,6750);G()}function K5(a,b){var c=0,d=0,e=0,f=0,g=0;e=ti+ -64|0;ti=e;f=Oi(2416);Fi(f- -64|0,0,304);c=f;q[c+84>>2]=0;q[c+88>>2]=0;q[c+80>>2]=1065353216;q[c+92>>2]=0;q[c+96>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;q[c+100>>2]=1065353216;q[c+112>>2]=0;q[c+116>>2]=0;q[c+124>>2]=0;q[c+128>>2]=0;q[c+120>>2]=1065353216;q[c+132>>2]=0;q[c+136>>2]=0;q[c+148>>2]=0;q[c+152>>2]=0;q[c+140>>2]=1065353216;q[c+144>>2]=1065353216;q[c+156>>2]=0;q[c+160>>2]=0;q[c+168>>2]=0;q[c+172>>2]=0;q[c+164>>2]=1065353216;q[c+176>>2]=0;q[c+180>>2]=0;q[c+184>>2]=1065353216;q[c+188>>2]=0;q[c+192>>2]=0;q[c+196>>2]=0;q[c+200>>2]=0;q[c+204>>2]=1065353216;Fi(c+384|0,0,304);q[c+404>>2]=0;q[c+408>>2]=0;q[c+400>>2]=1065353216;q[c+412>>2]=0;q[c+416>>2]=0;q[c+424>>2]=0;q[c+428>>2]=0;q[c+420>>2]=1065353216;q[c+432>>2]=0;q[c+436>>2]=0;q[c+444>>2]=0;q[c+448>>2]=0;q[c+440>>2]=1065353216;q[c+452>>2]=0;q[c+456>>2]=0;q[c+468>>2]=0;q[c+472>>2]=0;q[c+460>>2]=1065353216;q[c+464>>2]=1065353216;q[c+476>>2]=0;q[c+480>>2]=0;q[c+488>>2]=0;q[c+492>>2]=0;q[c+484>>2]=1065353216;q[c+496>>2]=0;q[c+500>>2]=0;q[c+504>>2]=1065353216;q[c+508>>2]=0;q[c+512>>2]=0;q[c+516>>2]=0;q[c+520>>2]=0;q[c+524>>2]=1065353216;Fi(c+704|0,0,304);q[c+724>>2]=0;q[c+728>>2]=0;q[c+720>>2]=1065353216;q[c+732>>2]=0;q[c+736>>2]=0;q[c+744>>2]=0;q[c+748>>2]=0;q[c+740>>2]=1065353216;q[c+752>>2]=0;q[c+756>>2]=0;q[c+764>>2]=0;q[c+768>>2]=0;q[c+760>>2]=1065353216;q[c+772>>2]=0;q[c+776>>2]=0;q[c+788>>2]=0;q[c+792>>2]=0;q[c+780>>2]=1065353216;q[c+784>>2]=1065353216;q[c+796>>2]=0;q[c+800>>2]=0;q[c+808>>2]=0;q[c+812>>2]=0;q[c+804>>2]=1065353216;q[c+816>>2]=0;q[c+820>>2]=0;q[c+824>>2]=1065353216;q[c+828>>2]=0;q[c+832>>2]=0;q[c+836>>2]=0;q[c+840>>2]=0;q[c+844>>2]=1065353216;Fi(c+1024|0,0,304);q[c+1044>>2]=0;q[c+1048>>2]=0;q[c+1040>>2]=1065353216;d=c+1052|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1064>>2]=0;q[c+1068>>2]=0;q[c+1060>>2]=1065353216;d=c+1072|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1084>>2]=0;q[c+1088>>2]=0;q[c+1080>>2]=1065353216;d=c+1092|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1108>>2]=0;q[c+1112>>2]=0;q[c+1100>>2]=1065353216;q[c+1104>>2]=1065353216;d=c+1116|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1128>>2]=0;q[c+1132>>2]=0;q[c+1124>>2]=1065353216;d=c+1136|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1144>>2]=1065353216;q[c+1148>>2]=0;q[c+1152>>2]=0;d=c+1156|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1904>>2]=0;q[c+1908>>2]=0;q[c+1164>>2]=1065353216;d=c+1912|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1920|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1928|0;q[d>>2]=0;q[d+4>>2]=0;q[c+1964>>2]=0;q[c+1968>>2]=0;d=c+1972|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1980|0;q[d>>2]=0;q[d+4>>2]=0;d=c+1988|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2144>>2]=0;q[c+2148>>2]=0;d=c+2152|0;q[d>>2]=0;q[d+4>>2]=0;d=c+2160|0;q[d>>2]=0;q[d+4>>2]=0;d=c+2168|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2012>>2]=0;q[c+2016>>2]=0;d=c+2020|0;q[d>>2]=0;q[d+4>>2]=0;g=c+2028|0;q[g>>2]=0;q[g+4>>2]=0;Fi(c+2040|0,0,96);q[c+2164>>2]=-1;Ii(q[b+20>>2],4,d,g,c+2024|0);q[c+2384>>2]=a;q[c+2024>>2]=q[d>>2];q[c+2176>>2]=q[b+4>>2];q[c+2276>>2]=1065353216;d=c+2268|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2260>>2]=0;q[c+2264>>2]=0;q[c+2252>>2]=1065353216;q[c+2256>>2]=1065353216;q[c+2280>>2]=0;q[c+2284>>2]=0;d=c+2288|0;q[d>>2]=0;q[d+4>>2]=0;d=c+2244|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2236>>2]=0;q[c+2240>>2]=0;q[c+2296>>2]=1065353216;q[c+2232>>2]=1065353216;d=c+2224|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2216>>2]=0;q[c+2220>>2]=0;d=c+2308|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2300>>2]=0;q[c+2304>>2]=0;q[c+2212>>2]=1065353216;d=c+2204|0;q[d>>2]=0;q[d+4>>2]=0;q[c+2196>>2]=0;q[c+2200>>2]=0;q[c+2192>>2]=1065353216;q[c+2388>>2]=0;q[c+2316>>2]=1065353216;Kk(e,c+2256|0,c+2192|0);u[c+2320>>2]=u[e>>2];u[c+2324>>2]=u[e+4>>2];u[c+2328>>2]=u[e+8>>2];u[c+2332>>2]=u[e+12>>2];u[c+2336>>2]=u[e+16>>2];u[c+2340>>2]=u[e+20>>2];u[c+2344>>2]=u[e+24>>2];u[c+2348>>2]=u[e+28>>2];u[c+2352>>2]=u[e+32>>2];u[c+2356>>2]=u[e+36>>2];u[c+2360>>2]=u[e+40>>2];u[c+2364>>2]=u[e+44>>2];u[c+2368>>2]=u[e+48>>2];u[c+2372>>2]=u[e+52>>2];u[c+2376>>2]=u[e+56>>2];u[c+2380>>2]=u[e+60>>2];d=q[b>>2];q[c+2008>>2]=d;N5(c+2012|0,a,d,q[b+40>>2]);a=By(q[c+2008>>2]);q[c+1872>>2]=0;q[c+2036>>2]=a;a=q[b+8>>2];a:{if(!a){break a}c=q[b+28>>2];if(!c){break a}d=q[b+12>>2];if(!d){break a}g=q[b+32>>2];if(!g){break a}O5(f,q[b+44>>2],a,c,d,g)}a=f;q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;M5(a,q[b+36>>2]);o[a+2400|0]=r[a+2400|0]&252;b:{if(!(o[a+2068|0]&1)){Ii(255,12,f+2056|0,f+2064|0,f+2060|0);if(Uq(q[64918],f+2392|0)){break b}ti=e- -64|0;return f}J(110017,110092,493,110148);G()}J(109465,109491,138,109516);G()}function yk(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,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;l=ti-96|0;ti=l;p=c;v=(g&131071)<<15|f>>>17;j=i&65535;t=j;k=h;D=k<<15|g>>>17;n=(e^i)&-2147483648;o=e&65535;x=o;m=d;y=o;o=0;E=(j&131071)<<15|k>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){j=0;if(F-1>>>0<32766){break b}}r=e&2147483647;w=r;j=d;if(!(!j&(r|0)==2147418112?!(b|c):r>>>0<2147418112)){A=d;n=e|32768;break a}e=i&2147483647;r=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){A=h;n=i|32768;b=f;c=g;break a}if(!(b|j|(w^2147418112|c))){if(!(d|f|(g|r))){n=2147450880;b=0;c=0;break a}n=n|2147418112;b=0;c=0;break a}if(!(d|f|(r^2147418112|g))){d=b|j;e=c|w;b=0;c=0;if(!(d|e)){n=2147450880;break a}n=n|2147418112;break a}if(!(b|j|(c|w))){b=0;c=0;break a}if(!(d|f|(g|r))){b=0;c=0;break a}if((w|0)==65535|w>>>0<65535){h=b;i=c;d=!(m|x);e=d<<6;j=z(d?b:m)+32|0;b=z(d?c:x);b=e+((b|0)==32?j:b)|0;dm(l+80|0,h,i,m,x,b-15|0);m=q[l+88>>2];p=q[l+84>>2];y=q[l+92>>2];u=16-b|0;b=q[l+80>>2]}j=u;if(r>>>0>65535){break b}c=!(k|t);d=c<<6;e=z(c?f:k)+32|0;c=z(c?g:t);c=d+((c|0)==32?e:c)|0;i=c;dm(l- -64|0,f,g,k,t,c-15|0);e=q[l+76>>2];c=e;h=q[l+72>>2];d=h;d=d<<15;e=q[l+68>>2];D=e>>>17|d;d=0;f=q[l+64>>2];v=d|((e&131071)<<15|f>>>17);E=(c&131071)<<15|h>>>17;j=(u-i|0)+16|0}u=j;d=v;c=b;t=0;r=Owa(d,0,b,t);b=wi;G=b;e=f;B=e<<15&-32768;k=p;g=Owa(B,0,k,0);f=g+r|0;e=wi+b|0;e=f>>>0>>0?e+1|0:e;h=f;j=f;i=0;g=Owa(c,t,B,C);f=i+g|0;b=j;j=j+wi|0;j=f>>>0>>0?j+1|0:j;v=f;g=j;J=(b|0)==(j|0)&f>>>0>>0|b>>>0>j>>>0;N=Owa(d,s,k,H);K=wi;p=m;f=Owa(B,C,m,0);b=f+N|0;j=wi+K|0;O=b;m=Owa(D,0,c,t);i=b+m|0;b=b>>>0>>0?j+1|0:j;f=b+wi|0;w=i;f=i>>>0>>0?f+1|0:f;x=f;j=f;f=(e|0)==(G|0)&h>>>0>>0|e>>>0>>0;h=e+w|0;j=f+j|0;r=h;j=h>>>0>>0?j+1|0:j;m=j;e=h;h=j;Q=Owa(d,s,p,P);G=wi;f=B;I=y|65536;B=o;i=Owa(f,C,I,o);f=i+Q|0;j=wi+G|0;j=f>>>0>>0?j+1|0:j;R=f;C=Owa(D,S,k,H);i=f+C|0;o=j;f=j+wi|0;f=i>>>0>>0?f+1|0:f;L=i;E=E&2147483647|-2147483648;i=Owa(c,t,E,0);c=L+i|0;t=f;j=f+wi|0;C=c;c=c>>>0>>0?j+1|0:j;y=J;i=0;f=i+e|0;j=h+C|0;J=f;h=f;e=y+f|0;y=f>>>0>>0?j+1|0:j;f=y;f=e>>>0>>0?f+1|0:f;h=e;i=f;u=(u+(F+M|0)|0)-16383|0;f=Owa(p,P,D,S);e=wi;s=Owa(d,s,I,B);d=s+f|0;j=wi+e|0;j=d>>>0>>0?j+1|0:j;s=d;f=(e|0)==(j|0)&f>>>0>d>>>0|e>>>0>j>>>0;e=j;F=f;f=Owa(E,T,k,H);d=f+d|0;j=wi+j|0;j=d>>>0>>0?j+1|0:j;f=d;d=j;k=(j|0)==(e|0)&f>>>0>>0|e>>>0>j>>>0;j=F+k|0;e=0;e=j>>>0>>0?1:e;s=f;k=d;F=j;f=(b|0)==(x|0)&w>>>0>>0|b>>>0>x>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0>>0)|0;j=0;j=b>>>0>>0?1:j;f=b;b=s+f|0;j=d+j|0;j=b>>>0>>0?j+1|0:j;H=b;d=j;j=(j|0)==(k|0)&b>>>0>>0|j>>>0>>0;b=F+j|0;f=e;f=b>>>0>>0?f+1|0:f;e=Owa(E,T,I,B);b=e+b|0;j=wi+f|0;s=b;e=b>>>0>>0?j+1|0:j;k=Owa(E,T,p,P);f=wi;p=Owa(D,S,I,B);b=p+k|0;j=wi+f|0;j=b>>>0

>>0?j+1|0:j;p=b;b=j;j=(f|0)==(j|0)&k>>>0>p>>>0|f>>>0>j>>>0;k=b+s|0;e=e+j|0;e=k>>>0>>0?e+1|0:e;s=k;k=0;b=k+H|0;j=d+p|0;j=b>>>0>>0?j+1|0:j;f=j;k=(d|0)==(j|0)&b>>>0>>0|d>>>0>j>>>0;d=s+k|0;j=e;D=d;d=d>>>0>>0?j+1|0:j;p=b;k=f;f=(o|0)==(t|0)&R>>>0>L>>>0|o>>>0>t>>>0;e=f+((o|0)==(G|0)&Q>>>0>R>>>0|o>>>0>>0)|0;f=e;e=f+((c|0)==(t|0)&C>>>0>>0|c>>>0>>0)|0;f=e;b=c+b|0;e=f+k|0;e=b>>>0>>0?e+1|0:e;o=b;c=b;b=e;e=(e|0)==(k|0)&c>>>0

>>0|e>>>0>>0;c=e+D|0;j=d;j=c>>>0>>0?j+1|0:j;d=c;k=d;e=(m|0)==(y|0)&r>>>0>J>>>0|m>>>0>y>>>0;d=e+((m|0)==(x|0)&r>>>0>>0|m>>>0>>0)|0;f=0;f=d>>>0>>0?1:f;m=d;d=d+o|0;e=b+f|0;e=d>>>0>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0>>0|b>>>0>e>>>0;b=k+c|0;j=b>>>0>>0?j+1|0:j;c=j;c:{if(j&65536){u=u+1|0;break c}m=g>>>31|0;j=c<<1|b>>>31;b=b<<1|e>>>31;c=j;j=e<<1|d>>>31;d=d<<1|i>>>31;e=j;o=v;j=g<<1|o>>>31;v=o<<1;g=j;j=i<<1|h>>>31;h=h<<1|m;i=j}if((u|0)>=32767){n=n|2147418112;b=0;c=0;break a}d:{if((u|0)<=0){f=1-u|0;if(f>>>0>=128){b=0;c=0;break a}j=u+127|0;dm(l+48|0,v,g,h,i,j);dm(l+32|0,d,e,b,c,j);vr(l+16|0,v,g,h,i,f);vr(l,d,e,b,c,f);v=(q[l+48>>2]|q[l+56>>2])!=0|(q[l+52>>2]|q[l+60>>2])!=0|(q[l+32>>2]|q[l+16>>2]);g=q[l+36>>2]|q[l+20>>2];h=q[l+40>>2]|q[l+24>>2];i=q[l+44>>2]|q[l+28>>2];d=q[l>>2];e=q[l+4>>2];c=q[l+12>>2];b=q[l+8>>2];break d}c=c&65535|u<<16}A=b|A;n=c|n;if(!(!h&(i|0)==-2147483648?!(g|v):(i|0)>-1)){j=e;b=d+1|0;j=b>>>0<1?j+1|0:j;f=b;c=j;f=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=f+A|0;e=n;A=d;n=d>>>0>>0?e+1|0:e;break a}if(h|v|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;j=e;j=b>>>0>>0?j+1|0:j;f=b;c=j;e=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=e+A|0;j=n;A=d;n=d>>>0>>0?j+1|0:j}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=A;q[a+12>>2]=n;ti=l+96|0}function u8(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,v=0,y=0;f=ti-112|0;ti=f;u[f+108>>2]=b;_q(a,2,-2,f+108|0);j=q[a+32>>2];e=q[a+36>>2]-j|0;c=(e|0)/576|0;a:{b:{if(!(!r[277316]|!e)){n=c>>>0>1?c:1;while(1){e=j+w(g,576)|0;c:{if(o[e+572|0]&1){break c}c=q[e+468>>2];k=c;h=q[e+464>>2];if(!(c|h)|q[e+436>>2]!=2){break c}c=e+440|0;d:{d=q[a+400>>2];e:{if(!d){Ai(4,193721,196022,0);break e}i=q[e+440>>2];l=r[e+448|0];m=s[e+446>>1];v=s[e+444>>1];if(!(xi[d|0](q[e+432>>2],h,k,c)|0)){break d}}q[c>>2]=0;q[c+4>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=s[e+554>>1];d=q[a+32>>2];if(c>>>0>=(q[a+36>>2]-d|0)/576>>>0){break b}i=s[e+552>>1];if((i|0)!=s[(d+w(c,576)|0)+552>>1]){break a}l=q[a+48>>2];m=q[a+52>>2]-l|0;d=(m|0)/72|0;f:{if(!m){break f}i=c|i<<16;e=e+472|0;m=d>>>0>1?d:1;d=0;while(1){c=l+w(d,72)|0;if(!((e|0)==q[c+4>>2]?(i|0)==q[c>>2]:0)){d=d+1|0;if((m|0)!=(d|0)){continue}break f}break}o[c+68|0]=r[c+68|0]|4}q[f+48>>2]=Mi(h,k);Ai(3,193721,195989,f+48|0);break c}y=q[c>>2];c=y^i;if(!(c&67108863|(v|0)!=s[e+444>>1]|(c&1006632960|(m|0)!=s[e+446>>1]))){if((l|0)==r[e+448|0]){break c}}q[e+472>>2]=0;c=s[e+554>>1];d=s[e+552>>1];k=c|d<<16;e=e+472|0;h=q[a+32>>2];i=(q[a+36>>2]-h|0)/576|0;if((y&1006632960)==402653184){if(c>>>0>=i>>>0){break b}if((d|0)!=s[(h+w(c,576)|0)+552>>1]){break a}h=q[a+48>>2];c=q[a+52>>2]-h|0;if(!c){break c}c=(c|0)/72|0;i=c>>>0>1?c:1;d=0;while(1){c=h+w(d,72)|0;if(!((e|0)==q[c+4>>2]?(k|0)==q[c>>2]:0)){d=d+1|0;if((i|0)!=(d|0)){continue}break c}break}o[c+68|0]=r[c+68|0]|4;break c}if(c>>>0>=i>>>0){break b}if((d|0)!=s[(h+w(c,576)|0)+552>>1]){break a}h=q[a+48>>2];d=q[a+52>>2]-h|0;c=(d|0)/72|0;g:{if(!d){break g}i=c>>>0>1?c:1;d=0;while(1){c=h+w(d,72)|0;if(!((e|0)==q[c+4>>2]?(k|0)==q[c>>2]:0)){d=d+1|0;if((i|0)!=(d|0)){continue}break g}break}if(r[c+68|0]&4){break g}$z(a,k,x(0),x(1),q[c+56>>2],q[c+60>>2],q[c+64>>2]);break c}$z(a,k,x(0),x(1),0,0,0)}g=g+1|0;if((n|0)!=(g|0)){continue}break}}v8(a,u[f+108>>2]);h=q[a+32>>2];c=q[a+36>>2]-h|0;h:{if(!c){c=0;e=0;break h}g=(c|0)/576|0;e=0;c=0;k=0;while(1){d=h+w(k,576)|0;i:{if(o[d+572|0]&1){Yz(a,s[d+554>>1]|s[d+552>>1]<<16,0);p[d+572>>1]=s[d+572>>1]&65534;g=(q[a+36>>2]-q[a+32>>2]|0)/576|0;break i}i=s[d+554>>1];if((i|0)==65535){break i}e=e+1|0;c=(q[d+412>>2]>>>20&1)+c|0;j=q[d+416>>2];if(!j){break i}xi[q[a+384>>2]](q[a+388>>2],a,i|s[d+552>>1]<<16,j,q[d+512>>2],u[f+108>>2])}k=k+1|0;if(g>>>0>k>>>0){continue}break}}j:{k:{l:{m:{n:{o:{p:{q:{k=q[a+232>>2];d=q[a+228>>2];g=k-d|0;if(!g){break q}if((d|0)!=(k|0)){k=(g|0)/12|0;h=0;while(1){n=w(h,12);i=n+d|0;r:{if(QG(q[a+192>>2],q[i>>2])){j=q[i+8>>2];s:{if(!j){break s}d=j&65535;g=q[a+32>>2];if(d>>>0>=(q[a+36>>2]-g|0)/576>>>0){break b}g=g+w(d,576)|0;if(s[g+552>>1]!=(j>>>16|0)){break p}if((d|0)!=s[g+554>>1]){break o}if(q[g+532>>2]==q[i>>2]){q[g+532>>2]=0}if(!(r[g+415|0]&32)){break s}if(k){l=q[a+228>>2];m=(q[a+232>>2]-l|0)/12|0;d=0;while(1){if((d|0)==(m|0)){break b}v=l+w(d,12)|0;if((j|0)==q[v+8>>2]){q[v+8>>2]=0}d=d+1|0;if((k|0)!=(d|0)){continue}break}}$q(a,g);l=q[a+20>>2];if(!l){break n}j=s[a+26>>1];if(!j|j>>>0>s[a+24>>1]){break m}d=s[g+554>>1];j=j-1|0;p[a+26>>1]=j;p[l+((j&65535)<<1)>>1]=d;j=q[a+32>>2];if((d+1|0)==((q[a+36>>2]-j|0)/576|0)){if(d>>>0>(q[a+40>>2]-j|0)/576>>>0){break l}q[a+36>>2]=j+w(d,576)}d=q[g+420>>2];if(d){yi(d)}Fi(g,0,576);p[g+554>>1]=65535}Ks(q[a+192>>2],q[i>>2]);g=q[a+232>>2];d=q[a+228>>2];if((g-d|0)/12>>>0<=h>>>0){break k}g=g-12|0;i=q[g+4>>2];d=d+n|0;q[d>>2]=q[g>>2];q[d+4>>2]=i;q[d+8>>2]=q[g+8>>2];d=q[a+232>>2]-12|0;q[a+232>>2]=d;if(d>>>0>2]){break j}k=k-1|0;break r}h=h+1|0}if(k>>>0<=h>>>0){break q}d=q[a+228>>2];if((q[a+232>>2]-d|0)/12>>>0>h>>>0){continue}break}}break b}q[216028]=q[216028]+e;q[f+96>>2]=e;q[f+100>>2]=0;q[f+40>>2]=e;q[f+44>>2]=0;q[216050]=q[216050]+c;q[f+88>>2]=c;q[f+92>>2]=0;q[f+32>>2]=c;q[f+36>>2]=0;c=q[a+152>>2];q[216072]=c+q[216072];q[f+80>>2]=c;q[f+84>>2]=0;q[f+24>>2]=c;q[f+28>>2]=0;c=q[a+184>>2];q[216094]=c+q[216094];q[f+72>>2]=c;q[f+76>>2]=0;q[f+16>>2]=c;q[f+20>>2]=0;c=q[a+184>>2]+q[a+152>>2]|0;q[216116]=c+q[216116];q[f+64>>2]=c;q[f+68>>2]=0;q[f+8>>2]=c;q[f+12>>2]=0;a=(q[a+232>>2]-q[a+228>>2]|0)/12|0;q[216138]=a+q[216138];q[f+56>>2]=a;q[f+60>>2]=0;q[f>>2]=a;q[f+4>>2]=0;ti=f+112|0;return}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195800,195807,140,195725);G()}J(195882,195807,141,195725);G()}J(196250,195579,506,196269);G()}J(196208,195579,513,196223);G()}J(196233,195579,516,196223);G()}J(195730,195579,479,195741);G()}J(193606,193630,3630,195967);G()}function kK(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,r=0,s=0;e=ti-32|0;ti=e;g=q[a>>2];n=q[g+4>>2];r=Ji(w(n,24));d=a;a:{if(n){l=q[g+4>>2];b:{c:{while(1){if((b|0)!=(l|0)){h=q[g>>2]+(b<<6)|0;j=q[h+60>>2];k=w(b,24)+r|0;q[k>>2]=q[h+56>>2];q[k+4>>2]=j;j=q[h+4>>2];q[k+8>>2]=j;f=k;k=q[h+8>>2];o[f+12|0]=k;k=k&255;if(!k){break c}m=!i;d:{e:{switch(j|0){case 3:f=h+32|0;break d;case 4:case 5:case 6:f=h+24|0;break d;case 7:f=h+40|0;break d;case 8:f=h+48|0;break d;default:J(54215,53985,75,54280);G();case 0:case 1:case 2:break e}}f=h+16|0}k=t[f>>2]/(k>>>0)|0;h=m&k>>>0>c>>>0;c=h?k:c;i=h?0:i;b=b+1|0;if((n|0)!=(b|0)){continue}break b}break}break a}J(53957,53985,125,54025);G()}}q[d+16>>2]=c;c=Vv(c,r,n&255,a+4|0);f:{if(!c){g:{h:{i:{if(n){k=0;while(1){c=q[a>>2];if(t[c+4>>2]<=k>>>0){break a}c=q[c>>2];q[e+28>>2]=0;q[e+24>>2]=0;q[e+20>>2]=0;q[e+16>>2]=0;d=w(k,24)+r|0;if(gt(q[a+4>>2],q[d>>2],q[d+4>>2],e+28|0,e+24|0,e+20|0,e+16|0)){break h}j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{h=c+(k<<6)|0;switch(q[h+4>>2]){case 8:break k;case 7:break l;case 6:break m;case 5:break n;case 4:break o;case 3:break p;case 2:break q;case 1:break r;case 0:break s;default:break i}}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;t:{if(f>>>0>=t[h+16>>2]){o[b+c|0]=0;Ai(4,54037,54294,0);break t}o[b+c|0]=q[q[h+12>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=c+l|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;u:{if(f>>>0>=t[h+16>>2]){p[(b<<1)+c>>1]=0;Ai(4,54037,54294,0);break u}p[(b<<1)+c>>1]=q[q[h+12>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<1)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;v:{if(f>>>0>=t[h+16>>2]){q[(b<<2)+c>>2]=0;Ai(4,54037,54294,0);break v}q[(b<<2)+c>>2]=q[q[h+12>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<2)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;w:{if(f>>>0>=t[h+32>>2]){f=(b<<3)+c|0;q[f>>2]=0;q[f+4>>2]=0;Ai(4,54037,54294,0);break w}f=q[h+28>>2]+(f<<3)|0;s=q[f+4>>2];m=(b<<3)+c|0;q[m>>2]=q[f>>2];q[m+4>>2]=s}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<3)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;x:{if(f>>>0>=t[h+24>>2]){o[b+c|0]=0;Ai(4,54037,54294,0);break x}o[b+c|0]=q[q[h+20>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=c+l|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;y:{if(f>>>0>=t[h+24>>2]){p[(b<<1)+c>>1]=0;Ai(4,54037,54294,0);break y}p[(b<<1)+c>>1]=q[q[h+20>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<1)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;z:{if(f>>>0>=t[h+24>>2]){q[(b<<2)+c>>2]=0;Ai(4,54037,54294,0);break z}q[(b<<2)+c>>2]=q[q[h+20>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<2)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;A:{if(f>>>0>=t[h+40>>2]){f=(b<<3)+c|0;q[f>>2]=0;q[f+4>>2]=0;Ai(4,54037,54294,0);break A}f=q[h+36>>2]+(f<<3)|0;s=q[f+4>>2];m=(b<<3)+c|0;q[m>>2]=q[f>>2];q[m+4>>2]=s}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<3)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break j}i=q[e+24>>2];if(!i){break j}g=q[e+20>>2];if(!g){break j}l=q[e+16>>2];d=0;c=q[e+28>>2];while(1){j=w(d,g);b=0;while(1){f=b+j|0;B:{if(f>>>0>=t[h+48>>2]){q[(b<<2)+c>>2]=0;Ai(4,54037,54294,0);break B}u[(b<<2)+c>>2]=u[q[h+44>>2]+(f<<2)>>2]}b=b+1|0;if((g|0)!=(b|0)){continue}break}c=(l<<2)+c|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}k=k+1|0;if((n|0)!=(k|0)){continue}break}}yi(r);q[a+20>>2]=PA(q[a+4>>2]);b=1;break f}Ai(4,54037,54074,0);b=0;break g}Ai(4,54037,54119,0);b=0}yi(r);break f}q[e>>2]=c;Ai(4,54037,54045,e);yi(r);b=0}ti=e+32|0;return b}J(54165,54177,100,54204);G()}function zm(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,t=0,u=0,v=0,x=0;x=!b;a:{b:{c:{d:{if(q[a+132>>2]>=1){f=q[a>>2];if(q[f+44>>2]!=2){break b}if(s[a+148>>1]|s[a+152>>1]|(s[a+156>>1]|s[a+160>>1])){break c}if(s[a+164>>1]|s[a+168>>1]|(s[a+172>>1]|s[a+204>>1])){break c}if(s[a+208>>1]|s[a+212>>1]|(s[a+216>>1]|s[a+220>>1])){break c}if(s[a+224>>1]|s[a+228>>1]|(s[a+232>>1]|s[a+236>>1])){break c}if(s[a+240>>1]|s[a+244>>1]|(s[a+248>>1]|s[a+260>>1])){break c}if(s[a+272>>1]|(s[a+264>>1]|s[a+268>>1])){break c}e=1;if(!s[a+184>>1]){break d}break c}e=c+5|0;f=e;break a}if(s[a+188>>1]|s[a+200>>1]){break c}g=32;while(1){if(s[((g<<2)+a|0)+148>>1]){break c}g=g+1|0;if((g|0)!=256){continue}break}e=0}q[f+44>>2]=e}VA(a,a+2840|0);VA(a,a+2852|0);f=s[a+150>>1];l=q[a+2844>>2];p[((l<<2)+a|0)+154>>1]=65535;e=0;if((l|0)>=0){k=f?7:138;m=f?4:3;n=a+2752|0;t=a+2756|0;u=a+2748|0;g=-1;while(1){h=f;v=j;j=j+1|0;f=s[((j<<2)+a|0)+150>>1];i=e+1|0;e:{if(!((h|0)!=(f|0)|(i|0)>=(k|0))){e=i;break e}f:{if((i|0)<(m|0)){e=((h<<2)+a|0)+2684|0;g=i+s[e>>1]|0;break f}if(h){if((g|0)!=(h|0)){e=((h<<2)+a|0)+2684|0;p[e>>1]=s[e>>1]+1}e=u;g=s[e>>1]+1|0;break f}if((e|0)<=9){e=n;g=s[e>>1]+1|0;break f}e=t;g=s[e>>1]+1|0}p[e>>1]=g;e=0;g:{if(!f){m=3;k=138;break g}g=(f|0)==(h|0);m=g?3:4;k=g?6:7}g=h}if((l|0)!=(v|0)){continue}break}}f=s[a+2442>>1];l=q[a+2856>>2];p[((l<<2)+a|0)+2446>>1]=65535;e=0;if((l|0)>=0){k=f?7:138;m=f?4:3;n=a+2752|0;t=a+2756|0;u=a+2748|0;g=-1;j=0;while(1){h=f;v=j;j=j+1|0;f=s[((j<<2)+a|0)+2442>>1];i=e+1|0;h:{if(!((h|0)!=(f|0)|(i|0)>=(k|0))){e=i;break h}i:{if((i|0)<(m|0)){e=((h<<2)+a|0)+2684|0;g=i+s[e>>1]|0;break i}if(h){if((g|0)!=(h|0)){e=((h<<2)+a|0)+2684|0;p[e>>1]=s[e>>1]+1}e=u;g=s[e>>1]+1|0;break i}if((e|0)<=9){e=n;g=s[e>>1]+1|0;break i}e=t;g=s[e>>1]+1|0}p[e>>1]=g;e=0;j:{if(!f){m=3;k=138;break j}g=(f|0)==(h|0);m=g?3:4;k=g?6:7}g=h}if((l|0)!=(v|0)){continue}break}}VA(a,a+2864|0);g=a;h=q[a+5800>>2];e=18;k:{if(s[a+2746>>1]){break k}e=17;if(s[a+2690>>1]){break k}e=16;if(s[a+2742>>1]){break k}e=15;if(s[a+2694>>1]){break k}e=14;if(s[a+2738>>1]){break k}e=13;if(s[a+2698>>1]){break k}e=12;if(s[a+2734>>1]){break k}e=11;if(s[a+2702>>1]){break k}e=10;if(s[a+2730>>1]){break k}e=9;if(s[a+2706>>1]){break k}e=8;if(s[a+2726>>1]){break k}e=7;if(s[a+2710>>1]){break k}e=6;if(s[a+2722>>1]){break k}e=5;if(s[a+2714>>1]){break k}e=4;if(s[a+2718>>1]){break k}e=s[a+2686>>1]?3:2}j=e;e=h+w(e,3)|0;q[g+5800>>2]=e+17;f=e+27>>>3|0;e=q[a+5804>>2]+10>>>3|0;f=e>>>0>f>>>0?f:e}l:{if(!(x|f>>>0>>0)){KM(a,b,c,d);break l}c=q[a+5820>>2];if(!(q[a+136>>2]!=4?(e|0)!=(f|0):0)){e=d+2&65535;f=s[a+5816>>1]|e<>1]=f;b=a;m:{if((c|0)>=14){c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=f;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=r[a+5817|0];c=q[a+5820>>2];p[a+5816>>1]=e>>>16-c;c=c-13|0;break m}c=c+3|0}q[b+5820>>2]=c;$L(a,191024,192176);break l}b=d+4&65535;e=s[a+5816>>1]|b<=14){p[a+5816>>1]=e;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=e;c=q[a+20>>2];q[a+20>>2]=c+1;o[c+q[a+8>>2]|0]=r[a+5817|0];c=q[a+5820>>2];f=c-13|0;e=b>>>16-c|0;break n}f=c+3|0}q[a+5820>>2]=f;h=q[a+2844>>2];g=h+65280&65535;b=g<>2];o:{if((f|0)>=12){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-11|0;b=g>>>16-b|0;break o}f=f+5|0;b=b|e}q[a+5820>>2]=f;g=c&65535;e=g<=12){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-11|0;b=g>>>16-b|0;break p}f=f+5|0;b=b|e}q[a+5820>>2]=f;g=j+65533&65535;e=g<=13){b=b|e;p[a+5816>>1]=b;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=b;b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];b=q[a+5820>>2];f=b-12|0;g=g>>>16-b|0;break q}f=f+4|0;g=b|e}q[a+5820>>2]=f;e=0;k=a+5817|0;while(1){i=s[((r[e+192640|0]<<2)+a|0)+2686>>1];g=i<>1]=g;b=a;r:{if((f|0)>=14){f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=g;f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=r[k|0];f=q[a+5820>>2];g=i>>>16-f|0;p[a+5816>>1]=g;f=f-13|0;break r}f=f+3|0}q[b+5820>>2]=f;b=(e|0)!=(j|0);e=e+1|0;if(b){continue}break}b=a+148|0;KC(a,b,h);e=a+2440|0;KC(a,e,c);$L(a,b,e)}zE(a);if(d){b=q[a+5820>>2];s:{t:{if((b|0)>=9){b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];b=q[a+20>>2];q[a+20>>2]=b+1;f=b+q[a+8>>2]|0;b=r[a+5817|0];break t}if((b|0)<1){break s}b=q[a+20>>2];q[a+20>>2]=b+1;f=b+q[a+8>>2]|0;b=r[a+5816|0]}o[f|0]=b}q[a+5820>>2]=0;p[a+5816>>1]=0}}function Lka(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),p=0,s=0,t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=x(0),K=x(0),L=x(0),M=0,N=0,O=0,P=0;b=ti-272|0;ti=b;H=q[q[a+8>>2]>>2];l=q[a+4>>2];q[b+72>>2]=0;c=q[l+4>>2];d=q[l>>2];a=c-d|0;a:{if(a){c=d-c|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);g=a>>>0>1?a:1;while(1){a=q[l>>2];if(q[l+4>>2]-a>>2>>>0<=p>>>0){break a}c=q[a+(p<<2)>>2];if((r[c+254|0]&5)==5){a=op(q[c>>2]);t=u[c+20>>2];i=u[c+28>>2];z=u[c+24>>2];v=u[c+56>>2];j=u[c+52>>2];y=u[c+48>>2];m=u[c+40>>2];f=u[c+16>>2];d=q[c+36>>2];q[b+48>>2]=q[c+32>>2];q[b+52>>2]=d;q[b+60>>2]=1065353216;u[b+56>>2]=m;u[b+12>>2]=y*x(0);u[b+28>>2]=j*x(0);u[b+44>>2]=v*x(0);A=x(t+t);n=x(f*A);m=x(z+z);h=x(i*m);u[b+4>>2]=y*x(n+h);B=x(f*m);C=x(A*i);u[b+8>>2]=y*x(B-C);u[b+16>>2]=j*x(n-h);n=x(t*m);h=i;i=x(f+f);h=x(h*i);u[b+24>>2]=j*x(n+h);u[b+32>>2]=v*x(B+C);u[b+36>>2]=v*x(n-h);h=j;f=x(x(1)-x(f*i));j=x(z*m);u[b+20>>2]=h*x(f-j);i=f;f=x(t*A);u[b+40>>2]=v*x(i-f);u[b>>2]=y*x(x(x(1)-f)-j);b:{if((q[q[c>>2]+136>>2]&512)>>>9|0){Kk(b+208|0,a,b);break b}Tn(b+208|0,a,b)}A=u[b+208>>2];u[c+64>>2]=A;n=u[b+212>>2];u[c+68>>2]=n;h=u[b+216>>2];u[c+72>>2]=h;B=u[b+220>>2];u[c+76>>2]=B;C=u[b+224>>2];u[c+80>>2]=C;I=u[b+228>>2];u[c+84>>2]=I;K=u[b+232>>2];u[c+88>>2]=K;f=u[b+264>>2];t=u[b+260>>2];v=u[b+256>>2];j=u[b+252>>2];y=u[b+248>>2];i=u[b+244>>2];z=u[b+240>>2];m=u[b+236>>2];L=u[b+268>>2];u[c+124>>2]=L;u[c+120>>2]=f;u[c+116>>2]=t;u[c+112>>2]=v;u[c+108>>2]=j;u[c+104>>2]=y;u[c+100>>2]=i;u[c+96>>2]=z;u[c+92>>2]=m;u[b+268>>2]=L;u[b+264>>2]=f;u[b+260>>2]=t;u[b+256>>2]=v;u[b+252>>2]=j;u[b+248>>2]=y;u[b+244>>2]=i;u[b+240>>2]=z;u[b+236>>2]=m;u[b+232>>2]=K;u[b+228>>2]=I;u[b+224>>2]=C;u[b+220>>2]=B;u[b+216>>2]=h;u[b+212>>2]=n;u[b+208>>2]=A;d=0;e=0;a=q[c+236>>2];if((a|0)!=q[c+240>>2]){while(1){a=(d<<7)+a|0;e=q[a+104>>2];f=u[e>>2];t=u[e+4>>2];i=u[e+12>>2];z=u[e+8>>2];v=u[e+40>>2];j=u[e+36>>2];y=u[e+32>>2];m=u[e+24>>2];E=q[e+20>>2];q[b+128>>2]=q[e+16>>2];q[b+132>>2]=E;q[b+140>>2]=1065353216;u[b+136>>2]=m;u[b+92>>2]=y*x(0);u[b+108>>2]=j*x(0);u[b+124>>2]=v*x(0);A=x(t+t);n=x(f*A);m=x(z+z);h=x(i*m);u[b+84>>2]=y*x(n+h);B=x(f*m);C=x(A*i);u[b+88>>2]=y*x(B-C);u[b+96>>2]=j*x(n-h);n=x(t*m);h=i;i=x(f+f);h=x(h*i);u[b+104>>2]=j*x(n+h);u[b+112>>2]=v*x(B+C);u[b+116>>2]=v*x(n-h);h=j;f=x(x(1)-x(f*i));j=x(z*m);u[b+100>>2]=h*x(f-j);i=f;f=x(t*A);u[b+120>>2]=v*x(i-f);u[b+80>>2]=y*x(x(x(1)-f)-j);Kk(b+144|0,b+208|0,b+80|0);u[a>>2]=u[b+144>>2];u[a+4>>2]=u[b+148>>2];u[a+8>>2]=u[b+152>>2];u[a+12>>2]=u[b+156>>2];u[a+16>>2]=u[b+160>>2];u[a+20>>2]=u[b+164>>2];u[a+24>>2]=u[b+168>>2];u[a+28>>2]=u[b+172>>2];u[a+32>>2]=u[b+176>>2];u[a+36>>2]=u[b+180>>2];u[a+40>>2]=u[b+184>>2];u[a+44>>2]=u[b+188>>2];u[a+48>>2]=u[b+192>>2];u[a+52>>2]=u[b+196>>2];u[a+56>>2]=u[b+200>>2];u[a+60>>2]=u[b+204>>2];d=d+1|0;a=q[c+236>>2];e=q[c+240>>2]-a>>7;if(d>>>0>>0){continue}break}}k=e+k|0}p=p+1|0;if((g|0)!=(p|0)){continue}break}}c:{d:{if((q[l+60>>2]-q[l+52>>2]|0)/304>>>0>>0){if(o[l+64|0]&1){break d}Ii(k,304,l+52|0,l+60|0,l+56|0)}k=q[l+4>>2];p=q[l>>2];e=k-p|0;if(!e){d=0;break c}a=p-k|0;c=((a|0)>(e|0)?a:e)>>>2|0;a=(e|0)>-1?e:-1;a=w(c,(a|0)<1?a:1);g=a>>>0>1?a:1;d=0;a=0;while(1){c=q[p+(a<<2)>>2];if(r[c+254|0]&2){d=(q[c+240>>2]-q[c+236>>2]>>7)+d|0}a=a+1|0;if((g|0)!=(a|0)){continue}break}break c}J(46360,46296,493,46435);G()}c=ap(H,d);d=Ru(H,204,205,l);a=c;e:{if(e){M=q[l+100>>2];a=p-k|0;k=((a|0)>(e|0)?a:e)>>>2|0;a=(e|0)>-1?e:-1;a=w(k,(a|0)<1?a:1);N=a>>>0>1?a:1;O=d<<6;a=c;E=0;p=0;k=0;while(1){d=q[l>>2];if(q[l+4>>2]-d>>2>>>0<=E>>>0){break e}f:{e=q[d+(E<<2)>>2];if(!(r[e+254|0]&2)){break f}s=q[e+240>>2];g=q[e+236>>2];d=s-g|0;if(!d){break f}if((g|0)!=(s|0)){s=g-s|0;s=((d|0)<(s|0)?s:d)>>>7|0;d=(d|0)>-1?d:-1;d=w(s,(d|0)<1?d:1);P=d>>>0>1?d:1;d=0;while(1){g=(d<<7)+g|0;s=q[q[g+100>>2]+8>>2];D=q[g+48>>2];F=q[g+52>>2];f=u[g+56>>2];q[a+16>>2]=g;q[a+20>>2]=0;u[a+8>>2]=f;q[a>>2]=D;q[a+4>>2]=F;q[a+28>>2]=q[e+136>>2];D=q[e+216>>2];if(!D){F=q[e+128>>2];D=q[F+28>>2];g=q[g+112>>2]&15;if(g>>>0>=q[F+32>>2]-D>>2>>>0){break e}D=q[D+(g<<2)>>2]}g=p+s>>>0>>0;p=s+(g?p:0)|0;q[a+32>>2]=q[D+80>>2];s=k;k=k+1|0;k=g?s:k>>>0<15?k:15;q[a+36>>2]=q[a+36>>2]&-16384|(k&15|O)|16;a=a+48|0;d=d+1|0;if((P|0)==(d|0)){break f}g=q[e+236>>2];if(q[e+240>>2]-g>>7>>>0>d>>>0){continue}break}}J(46656,46296,479,46535);G()}E=E+1|0;if((N|0)!=(E|0)){continue}break}}$o(H,c,a);ti=b+272|0;return 0}}J(46656,46296,486,46535);G()}function dC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(q[a+18388>>2]){break a}b:{if(q[a+18368>>2]>15){break b}while(1){f=0;c:{if(q[a+18376>>2]){break c}e=q[a>>2];g=q[e+172>>2];d:{if(g>>>0>2]){q[e+172>>2]=g+1;f=r[g|0];break d}if(!q[e+32>>2]){break c}g=e+40|0;f=xi[q[e+16>>2]](q[e+28>>2],g,q[e+36>>2])|0;q[e+168>>2]=q[e+168>>2]+(q[e+172>>2]-q[e+180>>2]|0);e:{if(!f){o[e+40|0]=0;q[e+32>>2]=0;g=e+41|0;f=0;break e}g=f+g|0;f=r[e+40|0]}q[e+176>>2]=g;q[e+172>>2]=e+41}if((f&255)!=255){break c}f=q[a>>2];e=q[f+172>>2];f:{if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];break f}if(!q[f+32>>2]){e=0;break f}g=f+40|0;e=xi[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);g:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;g=f+41|0;e=0;break g}g=e+g|0;e=r[f+40|0]}q[f+176>>2]=g;q[f+172>>2]=f+41}while(1){f=255;if((e|0)!=255){if(!e){break c}q[a+18376>>2]=1;o[a+18372|0]=e;break b}f=q[a>>2];e=q[f+172>>2];if(e>>>0>2]){q[f+172>>2]=e+1;e=r[e|0];continue}e=0;if(!q[f+32>>2]){continue}g=f+40|0;e=xi[q[f+16>>2]](q[f+28>>2],g,q[f+36>>2])|0;q[f+168>>2]=q[f+168>>2]+(q[f+172>>2]-q[f+180>>2]|0);h:{if(!e){o[f+40|0]=0;q[f+32>>2]=0;g=f+41|0;e=0;break h}g=e+g|0;e=r[f+40|0]}q[f+176>>2]=g;q[f+172>>2]=f+41;continue}}e=q[a+18368>>2];q[a+18368>>2]=e+8;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-e;if((e|0)<17){continue}break}}if(!q[a+18392>>2]){i=Fi(b,0,128);h=Cr(a,c);f=h;i:{j:{switch(f+1|0){case 0:break a;case 1:break i;default:break j}}k:{if((h|0)<=q[a+18368>>2]){break k}while(1){f=0;l:{if(q[a+18376>>2]){break l}b=q[a>>2];c=q[b+172>>2];m:{if(c>>>0>2]){q[b+172>>2]=c+1;f=r[c|0];break m}if(!q[b+32>>2]){break l}g=b+40|0;e=xi[q[b+16>>2]](q[b+28>>2],g,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);c=b;n:{if(!e){o[b+40|0]=0;q[b+32>>2]=0;e=b+41|0;break n}f=r[b+40|0];e=e+g|0}q[c+176>>2]=e;q[b+172>>2]=b+41}if((f&255)!=255){break l}b=q[a>>2];c=q[b+172>>2];o:{if(c>>>0>2]){q[b+172>>2]=c+1;e=r[c|0];break o}if(!q[b+32>>2]){e=0;break o}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);p:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;e=0;break p}g=c+e|0;e=r[b+40|0]}q[b+176>>2]=g;q[b+172>>2]=b+41}while(1){f=255;if((e|0)!=255){if(!e){break l}q[a+18376>>2]=1;o[a+18372|0]=e;break k}b=q[a>>2];c=q[b+172>>2];if(c>>>0>2]){q[b+172>>2]=c+1;e=r[c|0];continue}e=0;if(!q[b+32>>2]){continue}e=b+40|0;c=xi[q[b+16>>2]](q[b+28>>2],e,q[b+36>>2])|0;q[b+168>>2]=q[b+168>>2]+(q[b+172>>2]-q[b+180>>2]|0);q:{if(!c){o[b+40|0]=0;q[b+32>>2]=0;g=b+41|0;e=0;break q}g=c+e|0;e=r[b+40|0]}q[b+176>>2]=g;q[b+172>>2]=b+41;continue}}b=q[a+18368>>2];q[a+18368>>2]=b+8;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-b;if((b|0)<17){continue}break}}f=0;if(h>>>0>16){break i}b=q[a+18364>>2];q[a+18368>>2]=q[a+18368>>2]-h;c=Twa(b,h);e=h<<2;f=q[e+164400>>2];q[a+18364>>2]=c&(f^-1);f=(q[e+164576>>2]&(b>>31^-1))+(c&f)|0}c=(w(d,72)+a|0)+18100|0;b=q[c>>2]+f|0;q[c>>2]=b;p[i>>1]=b<>2];return 1}g=q[a+18368>>2];r:{if((g|0)>0){break r}while(1){f=0;s:{if(q[a+18376>>2]){break s}c=q[a>>2];d=q[c+172>>2];t:{if(d>>>0>2]){q[c+172>>2]=d+1;f=r[d|0];break t}if(!q[c+32>>2]){break s}g=c+40|0;e=xi[q[c+16>>2]](q[c+28>>2],g,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);d=c;u:{if(!e){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;break u}f=r[c+40|0];e=e+g|0}q[d+176>>2]=e;q[c+172>>2]=c+41}if((f&255)!=255){break s}c=q[a>>2];d=q[c+172>>2];v:{if(d>>>0>2]){q[c+172>>2]=d+1;e=r[d|0];break v}if(!q[c+32>>2]){e=0;break v}e=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);w:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;e=0;break w}g=d+e|0;e=r[c+40|0]}q[c+176>>2]=g;q[c+172>>2]=c+41}while(1){f=255;if((e|0)!=255){if(!e){break s}q[a+18376>>2]=1;o[a+18372|0]=e;g=q[a+18368>>2];break r}c=q[a>>2];d=q[c+172>>2];if(d>>>0>2]){q[c+172>>2]=d+1;e=r[d|0];continue}e=0;if(!q[c+32>>2]){continue}e=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);x:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;g=c+41|0;e=0;break x}g=d+e|0;e=r[c+40|0]}q[c+176>>2]=g;q[c+172>>2]=c+41;continue}}c=q[a+18368>>2];g=c+8|0;q[a+18368>>2]=g;q[a+18364>>2]=q[a+18364>>2]|(f&255)<<24-c;if((c|0)<17){continue}break}}q[a+18368>>2]=g-1;c=q[a+18364>>2];q[a+18364>>2]=c<<1;if((c|0)<=-1){p[b>>1]=s[b>>1]+(65536<>2]>>>16|0)}return 1}q[215613]=164129;return 0}function mM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=ti-16|0;ti=c;d=1;a:{b:{switch((b-a|0)/12|0){case 2:if(t[q[b-4>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){break a}q[c+8>>2]=q[a+8>>2];e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;b=b-12|0;q[a+8>>2]=q[b+8>>2];e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;q[b+8>>2]=q[c+8>>2];a=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=a;break a;case 3:e=b-12|0;g=b-4|0;b=q[q[g>>2]+116>>2];f=q[q[a+20>>2]+116>>2];if(f>>>0>=t[q[a+8>>2]+116>>2]){if(b>>>0>=f>>>0){break a}q[c+8>>2]=q[a+20>>2];b=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=b;q[a+20>>2]=q[e+8>>2];b=q[e+4>>2];q[a+12>>2]=q[e>>2];q[a+16>>2]=b;q[e+8>>2]=q[c+8>>2];b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;if(t[q[a+20>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){break a}q[c+8>>2]=q[a+8>>2];b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;q[a+8>>2]=q[a+20>>2];b=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=b;q[a+20>>2]=q[c+8>>2];b=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=b;break a}if(b>>>0>>0){q[c+8>>2]=q[a+8>>2];b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;q[a+8>>2]=q[e+8>>2];b=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=b;q[e+8>>2]=q[c+8>>2];a=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=a;break a}q[c+8>>2]=q[a+8>>2];b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;q[a+8>>2]=q[a+20>>2];b=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=b;q[a+20>>2]=q[c+8>>2];b=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=b;if(t[q[g>>2]+116>>2]>=t[q[a+20>>2]+116>>2]){break a}q[c+8>>2]=q[a+20>>2];b=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=b;q[a+20>>2]=q[e+8>>2];b=q[e+4>>2];q[a+12>>2]=q[e>>2];q[a+16>>2]=b;q[e+8>>2]=q[c+8>>2];a=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=a;break a;case 4:xr(a,a+12|0,a+24|0,b-12|0);break a;case 5:xr(a,a+12|0,a+24|0,a+36|0);if(t[q[b-4>>2]+116>>2]>=t[q[a+44>>2]+116>>2]){break a}q[c+8>>2]=q[a+44>>2];e=q[a+40>>2];q[c>>2]=q[a+36>>2];q[c+4>>2]=e;b=b-12|0;q[a+44>>2]=q[b+8>>2];e=q[b+4>>2];q[a+36>>2]=q[b>>2];q[a+40>>2]=e;q[b+8>>2]=q[c+8>>2];e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;if(t[q[a+44>>2]+116>>2]>=t[q[a+32>>2]+116>>2]){break a}q[c+8>>2]=q[a+32>>2];b=q[a+28>>2];q[c>>2]=q[a+24>>2];q[c+4>>2]=b;q[a+32>>2]=q[a+44>>2];b=q[a+40>>2];q[a+24>>2]=q[a+36>>2];q[a+28>>2]=b;q[a+44>>2]=q[c+8>>2];b=q[c+4>>2];q[a+36>>2]=q[c>>2];q[a+40>>2]=b;if(t[q[a+32>>2]+116>>2]>=t[q[a+20>>2]+116>>2]){break a}q[c+8>>2]=q[a+20>>2];b=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=b;q[a+20>>2]=q[a+32>>2];b=q[a+28>>2];q[a+12>>2]=q[a+24>>2];q[a+16>>2]=b;q[a+32>>2]=q[c+8>>2];b=q[c+4>>2];q[a+24>>2]=q[c>>2];q[a+28>>2]=b;if(t[q[a+20>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){break a}q[c+8>>2]=q[a+8>>2];b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;q[a+8>>2]=q[a+20>>2];b=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=b;q[a+20>>2]=q[c+8>>2];b=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=b;break a;case 0:case 1:break a;default:break b}}f=a+24|0;e=q[a+32>>2];g=q[e+116>>2];d=q[q[a+20>>2]+116>>2];h=q[a+8>>2];c:{if(d>>>0>=t[h+116>>2]){if(d>>>0<=g>>>0){break c}g=c+8|0;q[g>>2]=q[a+20>>2];d=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=d;q[a+20>>2]=q[f+8>>2];d=q[f+4>>2];q[a+12>>2]=q[f>>2];q[a+16>>2]=d;q[f+8>>2]=q[g>>2];d=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=d;if(t[q[a+20>>2]+116>>2]>=t[h+116>>2]){break c}q[g>>2]=q[a+8>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[a+8>>2]=q[a+20>>2];d=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=d;q[a+20>>2]=q[g>>2];d=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=d;break c}if(d>>>0>g>>>0){g=a+8|0;q[c+8>>2]=q[g>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[g>>2]=q[f+8>>2];d=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=d;q[f+8>>2]=q[c+8>>2];d=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=d;break c}g=c+8|0;q[g>>2]=q[a+8>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[a+8>>2]=q[a+20>>2];d=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=d;q[a+20>>2]=q[g>>2];d=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=d;if(t[e+116>>2]>=t[q[a+20>>2]+116>>2]){break c}q[g>>2]=q[a+20>>2];d=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=d;q[a+20>>2]=q[f+8>>2];d=q[f+4>>2];q[a+12>>2]=q[f>>2];q[a+16>>2]=d;q[f+8>>2]=q[g>>2];d=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=d}d:{e:{d=a+36|0;if((d|0)==(b|0)){break e}h=0;while(1){f:{e=d;i=q[e+8>>2];if(t[i+116>>2]>2]+116>>2]){j=q[e>>2];k=q[e+4>>2];g=e;while(1){g:{d=f;l=q[f+4>>2];q[g>>2]=q[f>>2];q[g+4>>2]=l;q[g+8>>2]=q[f+8>>2];if((a|0)==(f|0)){d=a;break g}f=d-12|0;g=d;if(t[i+116>>2]>2]+116>>2]){continue}}break}q[d+8>>2]=i;q[d>>2]=j;q[d+4>>2]=k;h=h+1|0;if((h|0)==8){break f}}f=e;d=e+12|0;if((d|0)!=(b|0)){continue}break e}break}g=(e+12|0)==(b|0);a=0;break d}a=1}d=a|g}ti=c+16|0;return d&1}function Bn(a){var b=0,c=0,d=0,e=0;b=w(q[a+4>>2],1540483477);b=w(b>>>24^b,1540483477);q[a+4>>2]=b;c=w(b^w(q[a>>2],1540483477),1540483477);b=w(q[a+12>>2],1540483477);b=c^w(b>>>24^b,1540483477);b=w(b>>>13^b,1540483477);q[a>>2]=b>>>15^b;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b:{c:{d:{e:{if(!(!r[862340]|!q[a+16>>2]|t[a+12>>2]>1024)){f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}e=q[215584];wj(e);g:{if(o[862440]&1){break g}if(!Xj()){break g}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b=q[a>>2];h:{i:{c=q[215587];j:{if(!c){break j}c=q[q[215586]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break j}d=q[215588];while(1){c=d+(c<<4)|0;if(q[c>>2]==(b|0)){break i}c=q[c+12>>2];if((c|0)!=-1){continue}break}}if(q[215592]==q[215590]-q[215588]>>4){k:{if(o[862440]&1){break k}if(!Xj()){break k}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b=q[215590]-q[215588]>>4;l:{if(o[862440]&1){break l}if(!Xj()){break l}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}gv(862344,1024,b+256|0);b=q[a>>2]}m:{if(o[862440]&1){break m}if(!Xj()){break m}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}d=q[a+16>>2];c=q[215602];if(d>>>0>=q[215603]-c>>3>>>0){break b}Jz(862344,b,c+(d<<3)|0);break h}n:{if(o[862440]&1){break n}if(!Xj()){break n}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}c=q[a+16>>2];b=q[215602];if(c>>>0>=q[215603]-b>>3>>>0){break b}yi(q[b+(c<<3)>>2])}o:{if(o[862440]&1){break o}if(!Xj()){break o}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}c=q[a+16>>2];if(!c){break e}d=q[215606];if(!d){break d}b=q[215608]-1|0;if(b>>>0>=t[215607]){break c}q[215608]=b;q[d+(b<<2)>>2]=c;q[a+16>>2]=0;qj(e)}return q[a>>2]}J(160451,160102,131,160467);G()}J(160318,160293,140,160349);G()}J(160354,160293,141,160349);G()}J(160603,160205,479,160614);G()}function as(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);i=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);m=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);n=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);o=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);p=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);g=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);h=q[a+12>>2];j=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);C=q[a+8>>2];s=q[a+20>>2];k=q[a+16>>2];c=h+Twa(((j+C|0)+(s^(s^k)&h)|0)-680876936|0,7)|0;t=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);u=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);e=Twa(((p+s|0)+(c&(h^k)^k)|0)-389564586|0,12)+c|0;d=Twa(((u+k|0)+(e&(c^h)^h)|0)+606105819|0,17)+e|0;f=Twa(((h+t|0)+(c^d&(c^e))|0)-1044525330|0,22)+d|0;c=Twa(((c+l|0)+(e^f&(d^e))|0)-176418897|0,7)+f|0;v=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);w=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);e=Twa(((e+g|0)+(d^c&(d^f))|0)+1200080426|0,12)+c|0;d=Twa(((d+w|0)+(f^e&(c^f))|0)-1473231341|0,17)+e|0;f=Twa(((f+v|0)+(c^d&(c^e))|0)-45705983|0,22)+d|0;c=Twa(((c+i|0)+(e^f&(d^e))|0)+1770035416|0,7)+f|0;x=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);y=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);e=Twa(((e+n|0)+(d^c&(d^f))|0)-1958414417|0,12)+c|0;d=Twa(((y+d|0)+(f^e&(c^f))|0)-42063|0,17)+e|0;f=Twa(((f+x|0)+(c^d&(c^e))|0)-1990404162|0,22)+d|0;c=Twa(((c+m|0)+(e^f&(d^e))|0)+1804603682|0,7)+f|0;z=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);B=c+p|0;A=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);e=Twa(((e+o|0)+(d^c&(d^f))|0)-40341101|0,12)+c|0;b=Twa(((A+d|0)+(f^e&(c^f))|0)-1502002290|0,17)+e|0;c=Twa(((f+z|0)+(c^b&(c^e))|0)+1236535329|0,22)+b|0;d=Twa((B+((b^c)&e^b)|0)-165796510|0,5)+c|0;f=b+x|0;b=Twa(((e+w|0)+(c^b&(c^d))|0)-1069501632|0,9)+d|0;e=Twa((f+(d^c&(b^d))|0)+643717713|0,14)+b|0;c=Twa(((c+j|0)+(b^d&(b^e))|0)-373897302|0,20)+e|0;d=Twa(((d+g|0)+((e^c)&b^e)|0)-701558691|0,5)+c|0;b=Twa(((b+y|0)+(c^e&(c^d))|0)+38016083|0,9)+d|0;e=Twa(((e+z|0)+(d^c&(b^d))|0)-660478335|0,14)+b|0;c=Twa(((c+l|0)+(b^d&(b^e))|0)-405537848|0,20)+e|0;d=Twa(((d+n|0)+((e^c)&b^e)|0)+568446438|0,5)+c|0;f=e+t|0;e=Twa(((b+A|0)+(c^e&(c^d))|0)-1019803690|0,9)+d|0;f=Twa((f+(d^(e^d)&c)|0)-187363961|0,14)+e|0;c=Twa(((c+i|0)+(e^(e^f)&d)|0)+1163531501|0,20)+f|0;b=Twa(((d+o|0)+((f^c)&e^f)|0)-1444681467|0,5)+c|0;d=Twa(((e+u|0)+(c^f&(b^c))|0)-51403784|0,9)+b|0;e=Twa(((f+v|0)+(b^c&(d^b))|0)+1735328473|0,14)+d|0;B=d+i|0;f=d^e;c=Twa(((c+m|0)+(d^f&b)|0)-1926607734|0,20)+e|0;d=Twa(((b+g|0)+(c^f)|0)-378558|0,4)+c|0;b=Twa((B+(c^e^d)|0)-2022574463|0,11)+d|0;e=Twa(((e+x|0)+(b^(c^d))|0)+1839030562|0,16)+b|0;c=Twa(((c+A|0)+(e^(b^d))|0)-35309556|0,23)+e|0;d=Twa(((d+p|0)+(c^(b^e))|0)-1530992060|0,4)+c|0;b=Twa(((b+l|0)+(d^(c^e))|0)+1272893353|0,11)+d|0;e=Twa(((e+v|0)+(b^(c^d))|0)-155497632|0,16)+b|0;c=Twa(((c+y|0)+(e^(b^d))|0)-1094730640|0,23)+e|0;d=Twa(((d+o|0)+(c^(b^e))|0)+681279174|0,4)+c|0;b=Twa(((b+j|0)+(d^(c^e))|0)-358537222|0,11)+d|0;e=Twa(((e+t|0)+(b^(c^d))|0)-722521979|0,16)+b|0;c=Twa(((c+w|0)+(e^(b^d))|0)+76029189|0,23)+e|0;d=Twa(((d+n|0)+(c^(b^e))|0)-640364487|0,4)+c|0;b=Twa(((b+m|0)+(d^(c^e))|0)-421815835|0,11)+d|0;f=d+j|0;j=b^d;d=Twa(((e+z|0)+(b^(c^d))|0)+530742520|0,16)+b|0;e=Twa(((c+u|0)+(j^d)|0)-995338651|0,23)+d|0;c=Twa((f+((e|b^-1)^d)|0)-198630844|0,6)+e|0;f=e+g|0;g=d+A|0;d=Twa(((b+v|0)+(e^(c|d^-1))|0)+1126891415|0,10)+c|0;e=Twa((g+(c^(d|e^-1))|0)-1416354905|0,15)+d|0;b=Twa((f+((e|c^-1)^d)|0)-57434055|0,21)+e|0;f=e+y|0;g=d+t|0;d=Twa(((c+m|0)+(e^(b|d^-1))|0)+1700485571|0,6)+b|0;e=Twa((g+(b^(d|e^-1))|0)-1894986606|0,10)+d|0;c=Twa((f+((e|b^-1)^d)|0)-1051523|0,15)+e|0;f=e+z|0;i=d+i|0;d=Twa(((b+p|0)+(e^(c|d^-1))|0)-2054922799|0,21)+c|0;e=Twa((i+(c^(d|e^-1))|0)+1873313359|0,6)+d|0;b=Twa((f+((e|c^-1)^d)|0)-30611744|0,10)+e|0;c=Twa(((c+w|0)+(e^(b|d^-1))|0)-1560198380|0,15)+b|0;d=Twa(((d+o|0)+(b^(c|e^-1))|0)+1309151649|0,21)+c|0;e=Twa(((e+l|0)+((d|b^-1)^c)|0)-145523070|0,6)+d|0;q[a+8>>2]=e+C;b=Twa(((b+x|0)+(d^(e|c^-1))|0)-1120210379|0,10)+e|0;q[a+20>>2]=b+s;c=Twa(((c+u|0)+(e^(b|d^-1))|0)+718787259|0,15)+b|0;q[a+16>>2]=c+k;q[a+12>>2]=Twa(((d+n|0)+(b^(c|e^-1))|0)-343485551|0,21)+(c+h|0);return 0}function DJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=x(0),m=0,n=0,p=0;d=ti-160|0;ti=d;g=q[b>>2];q[a+16>>2]=q[b+4>>2];q[a+320>>2]=q[g+76>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{if(q[b+12>>2]!=q[b+8>>2]){while(1){if(t[g+8>>2]<=c>>>0){break i}e=c<<3;f=q[e+q[g+4>>2]>>2];i=zi(f);h=wi;j=q[b+8>>2];if(q[b+12>>2]-j>>2>>>0<=c>>>0){break b}k=q[b+24>>2];if(q[b+28>>2]-k>>3>>>0<=c>>>0){break b}e=e+k|0;e=gJ(a,i,h,q[j+(c<<2)>>2],q[e>>2],q[e+4>>2]);if(e){break e}c=c+1|0;if(c>>>0>2]-q[b+8>>2]>>2>>>0){continue}break}}e=q[b+56>>2];if((e|0)!=q[b+60>>2]){c=0;while(1){f=q[q[g+92>>2]+(c<<3)>>2];e=eca(a,f,q[(c<<2)+e>>2]);if(e){q[d+100>>2]=e;q[d+96>>2]=f;Ai(4,36048,37503,d+96|0);f=0;break d}c=c+1|0;e=q[b+56>>2];if(c>>>0>2]-e>>2>>>0){continue}break}}j:{k:{c=q[b+40>>2];if((c|0)==q[b+44>>2]){break k}e=0;while(1){if(t[g+16>>2]<=e>>>0){break j}h=e<<3;f=h+c|0;c=q[f>>2];i=q[f+4>>2];f=q[i>>2];i=q[i+4>>2];h=q[h+q[g+12>>2]>>2];c=fJ(a,zi(h),wi,c?c:f,c?2:1,xi[q[77510]](f,i)|0,xi[q[77511]](f,i)|0);if(!c){e=e+1|0;c=q[b+40>>2];if(e>>>0>=q[b+44>>2]-c>>3>>>0){break k}continue}break}q[d+84>>2]=c;q[d+80>>2]=h;Ai(4,36048,37551,d+80|0);f=0;break d}l:{m:{c=q[g+60>>2];if(!c){break m}b=0;while(1){e=q[q[g+56>>2]+(b<<2)>>2];f=gca(a,e);if(!f){b=b+1|0;if((c|0)==(b|0)){break m}if(t[g+60>>2]>b>>>0){continue}break l}break}q[d+68>>2]=f;q[d+64>>2]=e;Ai(4,36048,37592,d- -64|0);f=0;break d}n:{o:{i=q[g+72>>2];if(!i){break o}dca(a,q[g+52>>2],i);b=0;while(1){if(t[g+72>>2]<=b>>>0){break n}c=q[q[g+68>>2]+w(b,12)>>2];e=fca(a,c);if(!e){b=b+1|0;if((i|0)==(b|0)){break o}continue}break}q[d+52>>2]=e;q[d+48>>2]=c;Ai(4,36048,37631,d+48|0);f=0;break d}b=q[g+52>>2];if(!b){f=1;break f}c=0;e=1;if(i){break h}while(1){if(b>>>0<=c>>>0){break a}b=q[g+48>>2]+w(c,304)|0;f=q[b+292>>2];h=q[b+80>>2];j=q[b+48>>2];k=q[b+52>>2];l=u[b+56>>2];m=q[b+4>>2];n=q[b>>2];u[d+152>>2]=u[b+8>>2];q[d+144>>2]=n;q[d+148>>2]=m;u[d+136>>2]=l;q[d+128>>2]=j;q[d+132>>2]=k;p:{f=jv(a,d+144|0,d+128|0,h,f);if(!f){e=0;break p}h=q[b+100>>2];if(h){BI(a,f,h)}if(dA(a,f,b)){break p}f=0;break d}b=q[g+52>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}break g}break c}J(36824,37779,270,36616);G()}J(36824,37779,253,36616);G()}J(36824,37779,245,36616);G()}h=i&65535;while(1){if(b>>>0<=c>>>0){break a}b=q[g+48>>2]+w(c,304)|0;f=q[b+292>>2];j=q[b+80>>2];k=q[b+48>>2];m=q[b+52>>2];l=u[b+56>>2];n=q[b+4>>2];p=q[b>>2];u[d+152>>2]=u[b+8>>2];q[d+144>>2]=p;q[d+148>>2]=n;u[d+136>>2]=l;q[d+128>>2]=k;q[d+132>>2]=m;f=jv(a,d+144|0,d+128|0,j,f);q:{if(!f){e=0;break q}j=q[b+100>>2];if(j){BI(a,f,j)}if(!dA(a,f,b)){f=0;break d}yI(a,f,b,0,h)}b=q[g+52>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}f=0;if(!e){break f}f=1;if(!b){break f}c=0;while(1){if(b>>>0<=c>>>0){break a}e=q[g+48>>2]+w(c,304)|0;j=pv(a,q[e+100>>2]);b=0;h=q[e+168>>2];r:{if(!h|!r[h|0]){break r}b=pv(a,h);if(b){break r}q[d+32>>2]=q[e+168>>2];Ai(4,36048,37671,d+32|0);b=0;f=0}Zq(a,j,b,0);b=q[g+52>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}if(!i){break d}h=q[g+72>>2];c=0;s:{while(1){if(c>>>0>>0){j=w(c,12);k=Qba(a,zi(q[j+q[g+68>>2]>>2]),wi);h=q[g+72>>2];if(h>>>0<=c>>>0){break c}b=0;e=q[g+68>>2];if(q[(j+e|0)+8>>2]){while(1){e=q[(e+j|0)+4>>2]+w(b,304)|0;h=pv(a,q[e+100>>2]);t:{if(h){yI(a,h,e,k,k);break t}q[d+16>>2]=q[e+100>>2];Ai(4,36048,37720,d+16|0)}h=q[g+72>>2];if(h>>>0<=c>>>0){break c}b=b+1|0;e=q[g+68>>2];if(b>>>0>2]){continue}break}}c=c+1|0;if((i|0)!=(c|0)){continue}break s}break}break c}b=d+152|0;q[b>>2]=0;q[b+4>>2]=0;q[d+144>>2]=0;q[d+148>>2]=0;g=i+1|0;Ii(g,8,d+144|0,b,d+144|4);u:{if(g>>>0>>0){break u}b=0;while(1){v:{c=WI(a,b&65535,d+128|0);if(!c){c=q[d+148>>2];if((c|0)!=q[d+152>>2]){break v}J(36549,36330,533,36573);G()}q[d>>2]=c;Ai(4,36048,37042,d);break u}q[d+148>>2]=c+8;e=q[d+132>>2];q[c>>2]=q[d+128>>2];q[c+4>>2]=e;b=b+1|0;if(g>>>0>(b&65535)>>>0){continue}break}}b=q[a+12>>2];q[d+124>>2]=q[b+20>>2];q[d+120>>2]=q[b+24>>2];g=q[q[a+12>>2]+176>>2];b=uG(g,q[d+124>>2],q[d+120>>2],0,d+144|0);c=wi;if((b|0)!=q[216158]|(c|0)!=q[216159]){zG(g,b,c,d+128|0);g=q[d+128>>2];q[a+364>>2]=q[d+132>>2];q[a+360>>2]=g;o[a+358|0]=r[a+358|0]|1;FI(a,b,c)}if(o[d+156|0]&1){break d}a=q[d+144>>2];if(!a){break d}yi(a);break d}q[d+116>>2]=e;q[d+112>>2]=f;Ai(4,36048,37465,d+112|0);f=0}ti=d+160|0;return f}J(36824,37779,279,36616);G()}J(36605,36330,479,36616);G()}J(36824,37779,262,36616);G()}function hoa(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,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=ti-48|0;ti=g;h=q[a>>2];D=h+3144|0;a:{while(1){b:{b=(o<<4)+h|0;v=b+1084|0;d=q[v>>2];x=b+1080|0;c=q[x>>2];b=d-c|0;if(!b){break b}c:{d:{e:{f:{g:{if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>1|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);E=b>>>0>1?b:1;n=0;while(1){l=s[(n<<1)+c>>1];b=q[h+1036>>2];if(l>>>0>=q[h+1040>>2]-b>>2>>>0){break a}y=l<<2;e=q[b+y>>2];d=q[e+84>>2];b=q[a+4>>2];h:{if((d|0)!=q[b+8>>2]){if(!q[d+4>>2]){break h}f=0;l=0;while(1){m=q[d>>2]+w(f,96)|0;c=q[m+16>>2];i:{if(q[m+8>>2]!=q[b>>2]|q[m+12>>2]!=q[b+4>>2]){break i}j=q[c+76>>2];if(!j){break i}d=q[c+100>>2];q[g+24>>2]=e;q[g+28>>2]=q[b+8>>2];q[g+32>>2]=q[((q[m+20>>2]<<2)+h|0)+12>>2];b=q[c+16>>2];q[g+40>>2]=((l<<2)+e|0)+156&d<<15>>31;q[g+36>>2]=b;xi[j|0](g+24|0);d=q[e+84>>2]}f=f+1|0;if(f>>>0>=t[d+4>>2]){break h}l=(p[c+102>>1]&1)+l|0;b=q[a+4>>2];continue}}if(r[e+149|0]&128){break g}if(q[e+140>>2]&32768){break f}m=q[b+12>>2];b=q[d+4>>2];j:{if(!b){f=0;break j}j=q[a+8>>2];i=q[d>>2];f=0;c=0;while(1){k=q[(i+w(c,96)|0)+16>>2];if(!k){break e}f=(p[k+102>>1]&1)+f|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}b=Oi((f<<2)+160|0);q[b+88>>2]=-1;q[b+84>>2]=d;q[b+72>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=1065353216;q[b+32>>2]=1065353216;q[b+36>>2]=1065353216;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=1065353216;q[b>>2]=0;q[b+4>>2]=0;q[b+80>>2]=0;d=q[74209];q[b+96>>2]=q[74208];q[b+100>>2]=d;j=b+104|0;hn(j,0);q[b+144>>2]=2147450879;q[b+152>>2]=f;d=q[b+140>>2]&-2147483648;c=d;f=q[b+136>>2]&61440;q[b+136>>2]=f|2147418112;q[b+140>>2]=c|2147450879;i=q[b+148>>2]&-2147483648;q[b+148>>2]=i|2147450879;q[g+20>>2]=b;q[b+80>>2]=q[e+80>>2];d=q[e+140>>2];p[b+144>>1]=32767;d=c|d&32767;c=d;q[b+136>>2]=f|2147418112;q[b+140>>2]=c|2147418112;d=q[e+140>>2];p[b+144>>1]=32767;c=d&2147418112|c;d=c;f=f|2147418112;q[b+136>>2]=f;q[b+140>>2]=c;c=r[e+136|0];p[b+144>>1]=32767;c=c|f;q[b+136>>2]=c;q[b+140>>2]=d;f=q[e+136>>2];p[b+144>>1]=32767;f=c|f&1024;q[b+136>>2]=f;q[b+140>>2]=d;c=s[e+138>>1];p[b+144>>1]=32767;k=f&62719;f=c>>>16|0;c=k|c<<16;f=f|d&-32769;q[b+136>>2]=c;q[b+140>>2]=f;d=i|q[e+148>>2]&2147418112;q[b+148>>2]=d|32767;q[b+148>>2]=d|q[e+148>>2]&32767;u[b>>2]=u[e>>2];u[b+4>>2]=u[e+4>>2];u[b+8>>2]=u[e+8>>2];u[b+12>>2]=u[e+12>>2];u[b+16>>2]=u[e+16>>2];u[b+20>>2]=u[e+20>>2];u[b+24>>2]=u[e+24>>2];u[b+32>>2]=u[e+32>>2];u[b+36>>2]=u[e+36>>2];u[b+40>>2]=u[e+40>>2];u[b+48>>2]=u[e+48>>2];u[b+52>>2]=u[e+52>>2];u[b+56>>2]=u[e+56>>2];u[b+64>>2]=u[e+64>>2];u[b+68>>2]=u[e+68>>2];u[b+72>>2]=u[e+72>>2];d=q[e+136>>2];p[b+144>>1]=32767;q[b+136>>2]=c|d&512;q[b+140>>2]=f;d=q[e+100>>2];q[b+96>>2]=q[e+96>>2];q[b+100>>2]=d;q[b+88>>2]=q[e+88>>2];z=e+104|0;Rs(j,z,1);c=q[g+20>>2];b=c;d=q[b+136>>2]&-2049;b=q[b+140>>2];q[c+136>>2]=q[e+136>>2]&2048|d;q[c+140>>2]=b;if(!et(q[q[h+8>>2]>>2],c)){Yq(c+104|0);yi(Fi(c,204,160));break h}k:{if(!(q[e+136>>2]&256)){q[e+84>>2]=m;break k}j=q[c+84>>2];i=q[j+4>>2];if(i){d=0;f=0;while(1){A=q[j>>2]+w(f,96)|0;k=q[A+16>>2];B=q[k+100>>2];b=((B&65536)>>>16|0)+d|0;if(b>>>0>t[c+152>>2]){break d}C=q[k+36>>2];l:{if(C){i=q[h+8>>2];q[g+28>>2]=c;q[g+24>>2]=i;q[g+32>>2]=q[((q[A+20>>2]<<2)+h|0)+12>>2];i=q[k+16>>2];q[g+40>>2]=((d<<2)+c|0)+156&B<<15>>31;q[g+36>>2]=i;if(xi[C|0](g+24|0)|0){break l}i=q[j+4>>2]}d=b;f=f+1|0;if(i>>>0>f>>>0){continue}}break}c=q[g+20>>2]}b=q[c+140>>2];q[c+136>>2]=q[c+136>>2]|256;q[c+140>>2]=b;q[e+84>>2]=m;if(!(q[e+136>>2]&256)){break k}AA(h,e)}_K(h,e);Yq(z);b=q[h+1036>>2];if(l>>>0>=q[h+1040>>2]-b>>2>>>0){break c}q[b+y>>2]=q[g+20>>2];b=q[g+20>>2];Wq(D,q[b+96>>2],q[b+100>>2],g+20|0);c=q[h+3180>>2];d=q[h+3176>>2];b=c-d|0;m:{if(!b){break m}c=d-c|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);b=b>>>0>1?b:1;c=0;while(1){f=d+(c<<2)|0;if(q[f>>2]!=(e|0)){c=c+1|0;if((b|0)!=(c|0)){continue}break m}break}q[f>>2]=q[g+20>>2]}yi(Fi(e,204,160));BA(h,q[g+20>>2])}n=n+1|0;if((E|0)==(n|0)){break b}c=q[x>>2];if(q[v>>2]-c>>1>>>0>n>>>0){continue}break}}break a}J(11594,7291,3638,12398);G()}J(12415,7291,3639,12398);G()}q[g+4>>2]=j;q[g>>2]=c;Ai(4,7418,10212,g);J(10267,7291,720,10273);G()}J(8117,7291,1683,11579);G()}break a}o=o+1|0;if((o|0)!=128){continue}break}ti=g+48|0;return}J(12518,10061,479,9553);G()}function DZ(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=ti-432|0;ti=g;h=q[b+4>>2];a:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break a}i=ok(b)}b:{c:{while(1){d:{if((i|0)!=48){if((i|0)!=46){break b}h=q[b+4>>2];if(h>>>0>=t[b+104>>2]){break d}q[b+4>>2]=h+1;i=r[h|0];break c}h=q[b+4>>2];if(h>>>0>2]){z=1;q[b+4>>2]=h+1;i=r[h|0]}else{z=1;i=ok(b)}continue}break}i=ok(b)}y=1;if((i|0)!=48){break b}while(1){h=q[b+4>>2];e:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break e}i=ok(b)}h=u;u=h-1|0;v=v-(h>>>0<1)|0;if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i-48|0;if(B>>>0<10){break h}if(A-97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;u=m;v=j;break g}i=(i|0)>57?A-87|0:B;i:{if((j|0)<0?1:(j|0)<=0?m>>>0<=7:0){o=i+(o<<4)|0;break i}if((j|0)<0?1:(j|0)<=0?m>>>0<=28:0){Jm(g+48|0,i);yk(g+32|0,w,x,n,h,0,0,0,1073414144);w=q[g+32>>2];x=q[g+36>>2];n=q[g+40>>2];h=q[g+44>>2];yk(g+16|0,w,x,n,h,q[g+48>>2],q[g+52>>2],q[g+56>>2],q[g+60>>2]);Am(g,k,l,p,s,q[g+16>>2],q[g+20>>2],q[g+24>>2],q[g+28>>2]);p=q[g+8>>2];s=q[g+12>>2];k=q[g>>2];l=q[g+4>>2];break i}if(!i|E){break i}yk(g+80|0,w,x,n,h,0,0,0,1073610752);Am(g- -64|0,k,l,p,s,q[g+80>>2],q[g+84>>2],q[g+88>>2],q[g+92>>2]);p=q[g+72>>2];s=q[g+76>>2];E=1;k=q[g+64>>2];l=q[g+68>>2]}m=m+1|0;j=m>>>0<1?j+1|0:j;z=1}i=q[b+4>>2];if(i>>>0>2]){q[b+4>>2]=i+1;i=r[i|0]}else{i=ok(b)}continue}break}j:{k:{l:{if(!z){if(!q[b+104>>2]){if(f){break k}break l}c=q[b+4>>2];q[b+4>>2]=c-1;if(!f){break l}q[b+4>>2]=c-2;if(!y){break k}q[b+4>>2]=c-3;break k}if((j|0)<0?1:(j|0)<=0?m>>>0<=7:0){n=m;h=j;while(1){o=o<<4;n=n+1|0;h=n>>>0<1?h+1|0:h;if((n|0)!=8|h){continue}break}}m:{if((i&-33)==80){n=LC(b,f);i=wi;h=i;if(n|(h|0)!=-2147483648){break m}if(f){n=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1;break m}k=0;l=0;nn(b,0,0);c=0;b=0;break j}n=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}if(!o){fo(g+112|0,+(e|0)*0);k=q[g+112>>2];l=q[g+116>>2];c=q[g+120>>2];b=q[g+124>>2];break j}f=y?u:m;b=(y?v:j)<<2|f>>>30;f=n+(f<<2)|0;j=b+h|0;b=f;m=b-32|0;j=(b>>>0>>0?j+1|0:j)-(b>>>0<32)|0;b=j;if((b|0)>0?1:(b|0)>=0?m>>>0>0-d>>>0:0){q[242957]=68;Jm(g+160|0,e);yk(g+144|0,q[g+160>>2],q[g+164>>2],q[g+168>>2],q[g+172>>2],-1,-1,-1,2147418111);yk(g+128|0,q[g+144>>2],q[g+148>>2],q[g+152>>2],q[g+156>>2],-1,-1,-1,2147418111);k=q[g+128>>2];l=q[g+132>>2];c=q[g+136>>2];b=q[g+140>>2];break j}b=d-226|0;f=m>>>0>=b>>>0;b=b>>31;if((b|0)<(j|0)?1:(j|0)>=(b|0)?f:0){if((o|0)>-1){while(1){Am(g+416|0,k,l,p,s,0,0,0,-1073807360);h=TM(k,l,p,s,1073610752);f=(h|0)<0;b=f;Am(g+400|0,k,l,p,s,b?k:q[g+416>>2],b?l:q[g+420>>2],b?p:q[g+424>>2],b?s:q[g+428>>2]);b=m;m=b-1|0;j=j-(b>>>0<1)|0;p=q[g+408>>2];s=q[g+412>>2];k=q[g+400>>2];l=q[g+404>>2];o=o<<1|(h|0)>-1;if((o|0)>-1){continue}break}}b=d;h=(m-b|0)+32|0;j=j-((b>>31)+(b>>>0>m>>>0)|0)|0;b=h;j=b>>>0<32?j+1|0:j;c=((j|0)<0?1:(j|0)<=0?c>>>0>b>>>0:0)?(b|0)>0?b:0:c;n:{if((c|0)>=113){Jm(g+384|0,e);u=q[g+392>>2];v=q[g+396>>2];w=q[g+384>>2];x=q[g+388>>2];d=0;b=0;break n}fo(g+352|0,In(1,144-c|0));Jm(g+336|0,e);w=q[g+336>>2];x=q[g+340>>2];u=q[g+344>>2];v=q[g+348>>2];ZL(g+368|0,q[g+352>>2],q[g+356>>2],q[g+360>>2],q[g+364>>2],w,x,u,v);C=q[g+376>>2];D=q[g+380>>2];d=q[g+372>>2];b=q[g+368>>2]}c=!(o&1)&((gq(k,l,p,s,0,0,0,0)|0)!=0&(c|0)<32);wr(g+320|0,c+o|0);yk(g+304|0,w,x,u,v,q[g+320>>2],q[g+324>>2],q[g+328>>2],q[g+332>>2]);Am(g+272|0,q[g+304>>2],q[g+308>>2],q[g+312>>2],q[g+316>>2],b,d,C,D);yk(g+288|0,c?0:k,c?0:l,c?0:p,c?0:s,w,x,u,v);Am(g+256|0,q[g+288>>2],q[g+292>>2],q[g+296>>2],q[g+300>>2],q[g+272>>2],q[g+276>>2],q[g+280>>2],q[g+284>>2]);mB(g+240|0,q[g+256>>2],q[g+260>>2],q[g+264>>2],q[g+268>>2],b,d,C,D);e=q[g+240>>2];d=q[g+244>>2];c=q[g+248>>2];b=q[g+252>>2];if(!gq(e,d,c,b,0,0,0,0)){q[242957]=68}MC(g+224|0,e,d,c,b,m);k=q[g+224>>2];l=q[g+228>>2];c=q[g+232>>2];b=q[g+236>>2];break j}q[242957]=68;Jm(g+208|0,e);yk(g+192|0,q[g+208>>2],q[g+212>>2],q[g+216>>2],q[g+220>>2],0,0,0,65536);yk(g+176|0,q[g+192>>2],q[g+196>>2],q[g+200>>2],q[g+204>>2],0,0,0,65536);k=q[g+176>>2];l=q[g+180>>2];c=q[g+184>>2];b=q[g+188>>2];break j}nn(b,0,0)}fo(g+96|0,+(e|0)*0);k=q[g+96>>2];l=q[g+100>>2];c=q[g+104>>2];b=q[g+108>>2]}q[a>>2]=k;q[a+4>>2]=l;q[a+8>>2]=c;q[a+12>>2]=b;ti=g+432|0}function Dqa(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;a:{b:{c:{d:{h=q[c+4>>2]>>>22&63;g=h-1|0;if(!(g>>>0>=14|!(15871>>>g&1))){f=2;e:{if(q[(g<<2)+23776>>2]!=(b|0)){break e}f:{switch(h-1|0){case 1:if(!Rqa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 0:if(!Uqa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 4:if(!MA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 12:if(!MA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 2:if(!zL(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 3:if(!zL(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}b=q[e+12>>2];c=q[a+4>>2]+q[c+12>>2]|0;a=(q[c+4>>2]<<3)+q[c>>2]|0;d=q[e+8>>2];o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;q[c+4>>2]=q[c+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+12>>2];c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break e;case 13:if(!MA(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;b=(q[a+4>>2]<<2)+q[a>>2]|0;c=q[e+8>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}a=q[e+8>>2];o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;break e;case 7:break f;default:break d}}if(!Vqa(d,e+8|0)){break e}b=q[c+8>>2];if((q[c+4>>2]&-268435456)==805306368){if(b){break c}f=0;if(r[a+12|0]){break e}a=q[a+4>>2]+q[c+12>>2]|0;o[q[a+4>>2]+q[a>>2]|0]=r[e+8|0];q[a+4>>2]=q[a+4>>2]+1;break e}if(b){break b}b=q[c+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}f=0;if(r[a+12|0]){break e}o[b|0]=r[e+8|0]}ti=e+16|0;return f}J(23108,23728,83,23750);G()}J(23108,23110,72,23137);G()}J(23410,23110,241,23532);G()}J(23410,23110,229,23400);G()}J(23442,23110,231,23400);G()}function Cka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),t=0,v=0,y=0,z=0,A=0,B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=0,Q=x(0),R=x(0);e=ti-144|0;ti=e;g=q[a+4>>2];a:{b:{c:{c=q[a+16>>2];b=q[c+64>>2];f=q[61886];d=q[c+68>>2];d:{if((b|0)==q[f+8>>2]&(d|0)==q[f+12>>2]){f=q[g+84>>2];d=q[q[a+12>>2]>>2];q[e+140>>2]=0;if(q[c+84>>2]==20){b=Ji(16);q[e+140>>2]=b;q[e+136>>2]=q[c+96>>2];h=r[c+112|0]|r[c+113|0]<<8|(r[c+114|0]<<16|r[c+115|0]<<24);i=r[c+108|0]|r[c+109|0]<<8|(r[c+110|0]<<16|r[c+111|0]<<24);o[b+8|0]=i;o[b+9|0]=i>>>8;o[b+10|0]=i>>>16;o[b+11|0]=i>>>24;o[b+12|0]=h;o[b+13|0]=h>>>8;o[b+14|0]=h>>>16;o[b+15|0]=h>>>24;h=r[c+104|0]|r[c+105|0]<<8|(r[c+106|0]<<16|r[c+107|0]<<24);i=r[c+100|0]|r[c+101|0]<<8|(r[c+102|0]<<16|r[c+103|0]<<24);o[b|0]=i;o[b+1|0]=i>>>8;o[b+2|0]=i>>>16;o[b+3|0]=i>>>24;o[b+4|0]=h;o[b+5|0]=h>>>8;o[b+6|0]=h>>>16;o[b+7|0]=h>>>24}h=g+4|0;t=q[c+56>>2];v=q[c+60>>2];y=q[a>>2];b=q[g+4>>2];c=q[g+8>>2];if((b|0)==(c|0)){if(o[g+12|0]&1){break c}Ii(((b-q[g>>2]|0)/40|0)+4|0,40,g,g+8|0,h);c=q[g+8>>2];b=q[g+4>>2]}i=q[g>>2];z=b-i|0;P=(z|0)/40|0;A=P+1|0;if(A>>>0>(c-i|0)/40>>>0){break b}q[h>>2]=i+w(A,40);if((z+40|0)/40>>>0<=P>>>0){break a}q[b+8>>2]=t;q[b+12>>2]=v;q[b>>2]=y;q[b+28>>2]=(d-q[g+48>>2]|0)/48;Rp(q[q[g+80>>2]>>2],q[d+32>>2]);q[b+16>>2]=VG(q[g+84>>2],q[d+32>>2],e+136|0);c=q[d+32>>2];q[b+24>>2]=g;q[b+20>>2]=c;p[b+32>>1]=s[b+32>>1]&65534|p[d+36>>1]&1;q[g+112>>2]=q[g+112>>2]+((q[c+4>>2]-q[c>>2]|0)/18568|0);B=u[d+24>>2];C=u[d+20>>2];D=u[d+28>>2];E=u[d+16>>2];b=q[b+16>>2];k=u[d>>2];l=u[d+4>>2];m=u[d+8>>2];Mv(e+80|0,q[a>>2]);Q=u[e+100>>2];R=u[e+96>>2];j=u[e+88>>2];I=u[e+112>>2];n=x(k*I);k=u[e+92>>2];K=u[e+116>>2];F=x(l*K);l=u[e+80>>2];L=u[e+120>>2];H=x(m*L);M=x(x(x(j*n)+x(k*F))-x(l*H));m=u[e+84>>2];N=x(x(j*H)+x(x(l*n)+x(m*F)));O=x(x(x(l*F)+x(k*H))-x(m*n));n=x(x(x(k*n)+x(m*H))-x(j*F));u[e+88>>2]=u[e+104>>2]+x(x(l*M)+x(x(x(j*N)+x(k*O))-x(m*n)));u[e+84>>2]=Q+x(x(j*n)+x(x(x(k*M)+x(m*N))-x(l*O)));u[e+80>>2]=R+x(x(m*O)+x(x(x(l*N)+x(k*n))-x(j*M)));Yu(f,b,e+80|0);u[e+92>>2]=x(x(x(D*k)-x(E*l))-x(C*m))-x(B*j);u[e+88>>2]=x(x(C*l)+x(x(D*j)+x(B*k)))-x(E*m);u[e+84>>2]=x(x(E*j)+x(x(D*m)+x(C*k)))-x(B*l);u[e+80>>2]=x(x(B*m)+x(x(D*l)+x(E*k)))-x(C*j);Xu(f,b,e+80|0);j=IL?L:j);MG(f,b,(q[q[a>>2]+136>>2]&512)>>>9|0);if(!(o[d+36|0]&1)){break d}mz(f,b);break d}f=q[61902];if((b|0)==q[f+8>>2]&(d|0)==q[f+12>>2]){f=q[g+4>>2];d=q[g>>2];b=f-d|0;if(!b){break d}b=(b|0)/40|0;if((d|0)!=(f|0)){f=b>>>0>1?b:1;b=0;while(1){d=w(b,40)+d|0;e:{if(q[d>>2]!=q[a>>2]){break e}h=q[a+16>>2];if(q[d+8>>2]!=q[h+56>>2]|q[d+12>>2]!=q[h+60>>2]){break e}lz(q[g+84>>2],q[d+16>>2],r[c+96|0])}b=b+1|0;if((f|0)==(b|0)){break d}d=q[g>>2];if((q[g+4>>2]-d|0)/40>>>0>b>>>0){continue}break}}break a}f=q[61936];if((b|0)==q[f+8>>2]&(d|0)==q[f+12>>2]){f=q[g+4>>2];d=q[g>>2];h=f-d|0;b=(h|0)/40|0;if(h){f:{if((d|0)!=(f|0)){z=b>>>0>1?b:1;b=0;f=0;while(1){d=w(b,40)+d|0;if(q[d>>2]==q[a>>2]){d=q[d+16>>2];j=u[c+112>>2];h=q[c+104>>2];i=q[c+108>>2];t=q[c+96>>2];v=q[c+100>>2];y=q[g+84>>2];g:{if(r[c+176|0]){u[e+16>>2]=j;u[e+20>>2]=u[c+116>>2];u[e+24>>2]=u[c+120>>2];u[e+28>>2]=u[c+124>>2];u[e+32>>2]=u[c+128>>2];u[e+36>>2]=u[c+132>>2];u[e+40>>2]=u[c+136>>2];u[e+44>>2]=u[c+140>>2];u[e+48>>2]=u[c+144>>2];u[e+52>>2]=u[c+148>>2];u[e+56>>2]=u[c+152>>2];u[e+60>>2]=u[c+156>>2];u[e+64>>2]=u[c+160>>2];u[e+68>>2]=u[c+164>>2];u[e+72>>2]=u[c+168>>2];u[e+76>>2]=u[c+172>>2];l6(y,d,t,v,h,i,e+16|0);break g}u[e>>2]=j;u[e+4>>2]=u[c+116>>2];u[e+8>>2]=u[c+120>>2];u[e+12>>2]=u[c+124>>2];k6(y,d,t,v,h,i,e)}f=f+1|0}b=b+1|0;if((z|0)==(b|0)){break f}d=q[g>>2];if((q[g+4>>2]-d|0)/40>>>0>b>>>0){continue}break}}break a}if(f){break d}}Ai(3,42143,42280,0);break d}A=b;b=q[61960];if((A|0)!=q[b+8>>2]|q[b+12>>2]!=(d|0)){break d}f=q[g+4>>2];d=q[g>>2];h=f-d|0;b=(h|0)/40|0;if(h){h:{if((d|0)!=(f|0)){h=b>>>0>1?b:1;f=0;b=0;while(1){d=w(b,40)+d|0;if(q[d>>2]==q[a>>2]){n6(q[g+84>>2],q[d+16>>2],q[c+96>>2],q[c+100>>2],q[c+104>>2],q[c+108>>2]);f=f+1|0}b=b+1|0;if((h|0)==(b|0)){break h}d=q[g>>2];if((q[g+4>>2]-d|0)/40>>>0>b>>>0){continue}break}}break a}if(f){break d}}Ai(3,42143,42387,0)}ti=e+144|0;return 0}J(42634,42460,493,42709);G()}J(42441,42460,506,42516);G()}J(42544,42460,479,42555);G()}function QZ(a,b){var c=0,d=0,e=0;a:{if(!q[215876]){break a}c=q[215871];q[a>>2]=q[215870];q[a+4>>2]=c;c=q[215877];q[a+24>>2]=q[215876];q[a+28>>2]=c;c=q[215875];q[a+16>>2]=q[215874];q[a+20>>2]=c;c=q[215873];q[a+8>>2]=q[215872];q[a+12>>2]=c;e=1;d=q[215871];b:{if(d-3>>>0<=1){q[215876]=0;c=6;break b}c=2;c:{switch(d|0){case 0:break b;case 5:break c;default:break a}}q[a+4>>2]=0;c=3}q[215871]=c}if(q[215884]){d=q[215879];c=(e<<5)+a|0;q[c>>2]=q[215878];q[c+4>>2]=d;d=q[215885];q[c+24>>2]=q[215884];q[c+28>>2]=d;d=q[215883];q[c+16>>2]=q[215882];q[c+20>>2]=d;d=q[215881];q[c+8>>2]=q[215880];q[c+12>>2]=d;c=2;d=q[215879];d:{e:{if(d-3>>>0>=2){f:{switch(d|0){case 0:break e;case 5:break f;default:break d}}q[((e<<5)+a|0)+4>>2]=0;c=3;break e}q[215884]=0;c=6}q[215879]=c}e=e+1|0}if(q[215892]){d=q[215887];c=(e<<5)+a|0;q[c>>2]=q[215886];q[c+4>>2]=d;d=q[215893];q[c+24>>2]=q[215892];q[c+28>>2]=d;d=q[215891];q[c+16>>2]=q[215890];q[c+20>>2]=d;d=q[215889];q[c+8>>2]=q[215888];q[c+12>>2]=d;c=2;d=q[215887];g:{h:{if(d-3>>>0>=2){i:{switch(d|0){case 0:break h;case 5:break i;default:break g}}q[((e<<5)+a|0)+4>>2]=0;c=3;break h}q[215892]=0;c=6}q[215887]=c}e=e+1|0}if(q[215900]){d=q[215895];c=(e<<5)+a|0;q[c>>2]=q[215894];q[c+4>>2]=d;d=q[215901];q[c+24>>2]=q[215900];q[c+28>>2]=d;d=q[215899];q[c+16>>2]=q[215898];q[c+20>>2]=d;d=q[215897];q[c+8>>2]=q[215896];q[c+12>>2]=d;c=2;d=q[215895];j:{k:{if(d-3>>>0>=2){l:{switch(d|0){case 0:break k;case 5:break l;default:break j}}q[((e<<5)+a|0)+4>>2]=0;c=3;break k}q[215900]=0;c=6}q[215895]=c}e=e+1|0}if(q[215908]){d=q[215903];c=(e<<5)+a|0;q[c>>2]=q[215902];q[c+4>>2]=d;d=q[215909];q[c+24>>2]=q[215908];q[c+28>>2]=d;d=q[215907];q[c+16>>2]=q[215906];q[c+20>>2]=d;d=q[215905];q[c+8>>2]=q[215904];q[c+12>>2]=d;c=2;d=q[215903];m:{n:{if(d-3>>>0>=2){o:{switch(d|0){case 0:break n;case 5:break o;default:break m}}q[((e<<5)+a|0)+4>>2]=0;c=3;break n}q[215908]=0;c=6}q[215903]=c}e=e+1|0}if(q[215916]){d=q[215911];c=(e<<5)+a|0;q[c>>2]=q[215910];q[c+4>>2]=d;d=q[215917];q[c+24>>2]=q[215916];q[c+28>>2]=d;d=q[215915];q[c+16>>2]=q[215914];q[c+20>>2]=d;d=q[215913];q[c+8>>2]=q[215912];q[c+12>>2]=d;c=2;d=q[215911];p:{q:{if(d-3>>>0>=2){r:{switch(d|0){case 0:break q;case 5:break r;default:break p}}q[((e<<5)+a|0)+4>>2]=0;c=3;break q}q[215916]=0;c=6}q[215911]=c}e=e+1|0}if(q[215924]){d=q[215919];c=(e<<5)+a|0;q[c>>2]=q[215918];q[c+4>>2]=d;d=q[215925];q[c+24>>2]=q[215924];q[c+28>>2]=d;d=q[215923];q[c+16>>2]=q[215922];q[c+20>>2]=d;d=q[215921];q[c+8>>2]=q[215920];q[c+12>>2]=d;c=2;d=q[215919];s:{t:{if(d-3>>>0>=2){u:{switch(d|0){case 0:break t;case 5:break u;default:break s}}q[((e<<5)+a|0)+4>>2]=0;c=3;break t}q[215924]=0;c=6}q[215919]=c}e=e+1|0}if(q[215932]){d=q[215927];c=(e<<5)+a|0;q[c>>2]=q[215926];q[c+4>>2]=d;d=q[215933];q[c+24>>2]=q[215932];q[c+28>>2]=d;d=q[215931];q[c+16>>2]=q[215930];q[c+20>>2]=d;d=q[215929];q[c+8>>2]=q[215928];q[c+12>>2]=d;c=2;d=q[215927];v:{w:{if(d-3>>>0>=2){x:{switch(d|0){case 0:break w;case 5:break x;default:break v}}q[((e<<5)+a|0)+4>>2]=0;c=3;break w}q[215932]=0;c=6}q[215927]=c}e=e+1|0}if(q[215940]){d=q[215935];c=(e<<5)+a|0;q[c>>2]=q[215934];q[c+4>>2]=d;d=q[215941];q[c+24>>2]=q[215940];q[c+28>>2]=d;d=q[215939];q[c+16>>2]=q[215938];q[c+20>>2]=d;d=q[215937];q[c+8>>2]=q[215936];q[c+12>>2]=d;c=2;d=q[215935];y:{z:{if(d-3>>>0>=2){A:{switch(d|0){case 0:break z;case 5:break A;default:break y}}q[((e<<5)+a|0)+4>>2]=0;c=3;break z}q[215940]=0;c=6}q[215935]=c}e=e+1|0}if(q[215948]){d=q[215943];c=(e<<5)+a|0;q[c>>2]=q[215942];q[c+4>>2]=d;d=q[215949];q[c+24>>2]=q[215948];q[c+28>>2]=d;d=q[215947];q[c+16>>2]=q[215946];q[c+20>>2]=d;d=q[215945];q[c+8>>2]=q[215944];q[c+12>>2]=d;c=2;d=q[215943];B:{C:{if(d-3>>>0>=2){D:{switch(d|0){case 0:break C;case 5:break D;default:break B}}q[((e<<5)+a|0)+4>>2]=0;c=3;break C}q[215948]=0;c=6}q[215943]=c}e=e+1|0}if(q[215956]){d=q[215951];c=(e<<5)+a|0;q[c>>2]=q[215950];q[c+4>>2]=d;d=q[215957];q[c+24>>2]=q[215956];q[c+28>>2]=d;d=q[215955];q[c+16>>2]=q[215954];q[c+20>>2]=d;d=q[215953];q[c+8>>2]=q[215952];q[c+12>>2]=d;c=2;d=q[215951];E:{F:{if(d-3>>>0>=2){G:{switch(d|0){case 0:break F;case 5:break G;default:break E}}q[((e<<5)+a|0)+4>>2]=0;c=3;break F}q[215956]=0;c=6}q[215951]=c}e=e+1|0}q[b>>2]=(e|0)>11?11:e;return 1}function n4(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-1280|0;ti=c;q[c+1272>>2]=0;q[c+1276>>2]=0;e=Uq(24737,c+1272|0);a:{if(e){q[c+148>>2]=e;q[c+144>>2]=24737;Ai(5,24387,24747,c+144|0);b=0;break a}e=Fi(Oi(7424),0,7424);d=q[c+1276>>2];q[e+5168>>2]=q[c+1272>>2];q[e+5172>>2]=d;b:{d=e+5176|0;if(_E(b,d)){q[c+128>>2]=b;Ai(4,24387,24789,c+128|0);Rm(q[c+1272>>2],q[c+1276>>2]);c:{if(o[e+7388|0]&1){break c}a=q[e+7376>>2];if(!a){break c}yi(a)}if(o[e+5160|0]&1){break b}a=q[e+5148>>2];if(!a){break b}yi(a);break b}q[e+7364>>2]=0;q[e+7368>>2]=0;q[e+7372>>2]=0;d:{e:{f:{g:{h:{if(pj(d,24813,5)){if(pj(d,24818,6)){break h}}f=e+7368|0;q[f>>2]=0;i:{if(!(r[a+4|0]&4)){break i}q[c+168>>2]=432e3;q[c+172>>2]=0;q[c+160>>2]=0;q[c+164>>2]=0;g=Au(24824,c+240|0);if(!g){Bk(c+240|0,24831,1024);q[c+160>>2]=c+240;g=F7(c+160|0,f);if(g){q[c+48>>2]=g;Ai(3,24387,24838,c+48|0);break i}j:{k:{g=B7(q[f>>2],d);switch(g+3|0){case 0:case 3:break j;default:break k}}q[c+32>>2]=g;Ai(3,24387,24869,c+32|0)}sz(q[f>>2],1);break i}q[c+68>>2]=g;q[c+64>>2]=24824;Ai(3,24387,24898,c- -64|0)}q[c+248>>2]=0;q[c+252>>2]=0;q[c+268>>2]=1;q[c+272>>2]=0;q[c+244>>2]=1358;q[c+256>>2]=0;q[c+260>>2]=0;q[c+264>>2]=0;q[c+244>>2]=122;q[c+248>>2]=123;q[c+240>>2]=e;q[c+264>>2]=q[e+7368>>2];d=qz(c+240|0,e+5248|0,s[e+5312>>1],!pj(d,24818,6));q[e+7364>>2]=d;if(d){break g}q[c>>2]=b;Ai(4,24387,24955,c);Rm(q[c+1272>>2],q[c+1276>>2]);l:{if(o[e+7388|0]&1){break l}a=q[e+7376>>2];if(!a){break l}yi(a)}if(o[e+5160|0]&1){break b}a=q[e+5148>>2];if(!a){break b}yi(a);break b}if(!pj(d,24971,5)){break g}if(pj(d,24976,7)){break f}q[e+7416>>2]=0;q[c+236>>2]=0;b=e+5316|0;d=ZF(b,c+236|0);if(d){q[c+100>>2]=d;q[c+96>>2]=b;Ai(4,24387,24983,c+96|0);Rm(q[c+1272>>2],q[c+1276>>2]);a=q[c+236>>2];if(a){yi(a)}m:{if(o[e+7388|0]&1){break m}a=q[e+7376>>2];if(!a){break m}yi(a)}if(o[e+5160|0]&1){break b}a=q[e+5148>>2];if(!a){break b}yi(a);break b}if(u4(q[c+236>>2],c+240|0)){Rm(q[c+1272>>2],q[c+1276>>2]);a=q[c+236>>2];if(a){yi(a)}n:{if(o[e+7388|0]&1){break n}a=q[e+7376>>2];if(!a){break n}yi(a)}if(o[e+5160|0]&1){break b}a=q[e+5148>>2];if(!a){break b}yi(a);break b}d=q[c+236>>2];if(d){f=q[d+4>>2];if(f){cj(f)}f=q[d+8>>2];if(f){cj(f)}yi(d)}g=c+160|0;d=Km(b,47);if(!d){d=Km(b,92)}zj(g,d?d:b,64);d=Oj(c+160|0,46);if(d){o[d|0]=0}f=Ui(b);d=c-(f+16&-16)|0;ti=d;zj(d,b,f+1|0);f=Km(d,47);o:{if(f){o[f|0]=0;break o}o[d|0]=0}q[c+156>>2]=0;g=d;d=e+7412|0;f=d4(c+160|0,g,c+240|0,d,c+156|0);p:{if(!f){b=q[d>>2];q[b>>2]=q[c+156>>2];cj(q[b+4>>2]);q[q[d>>2]+4>>2]=0;break p}q[c+84>>2]=f;q[c+80>>2]=b;Ai(4,24387,25036,c+80|0);Rm(q[c+1272>>2],q[c+1276>>2]);b=q[d>>2];if(b){d=q[b+4>>2];if(d){cj(d)}d=q[b+8>>2];if(d){cj(d)}yi(b)}q:{if(o[e+7388|0]&1){break q}b=q[e+7376>>2];if(!b){break q}yi(b)}r:{if(o[e+5160|0]&1){break r}b=q[e+5148>>2];if(!b){break r}yi(b)}yi(e)}b=0;if(f){break a}}q[e+5136>>2]=0;d=q[a>>2];b=Oi(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[e>>2]=b;g=b;b=w(d,3)>>>2|0;f=b?b:1;AH(g,f,d);b=Oi(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[e+4>>2]=b;vz(b,f,q[a>>2]);if(!(o[a+4|0]&1)){break e}b=Oi(32);q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+20>>2]=-1;q[e+8>>2]=b;VH(b,f,q[a>>2]);b=Oi(16);q[b>>2]=0;q[b+4>>2]=0;d=b+8|0;q[d>>2]=0;q[d+4>>2]=0;q[e+12>>2]=b;Ii(256,8,b,d,b+4|0);break d}q[c+112>>2]=b;Ai(4,24387,24955,c+112|0);Rm(q[c+1272>>2],q[c+1276>>2]);s:{if(o[e+7388|0]&1){break s}a=q[e+7376>>2];if(!a){break s}yi(a)}if(o[e+5160|0]&1){break b}a=q[e+5148>>2];if(!a){break b}yi(a);break b}q[e+8>>2]=0;q[e+12>>2]=0}d=q[a+28>>2];t:{if(!d){break t}b=Oi(12);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[e+7408>>2]=b;b=Cj(q[a+24>>2],d,q[60898],b+4|0);if(b){q[c+16>>2]=b;Ai(4,24387,25079,c+16|0);break t}b=q[e+7408>>2];d=q[b+4>>2];Cj(q[d>>2],q[d+4>>2],q[60870],b+8|0);Y3(q[a+8>>2],q[a+12>>2],q[a+16>>2],q[a+20>>2],q[e+7408>>2]);a=q[q[e+7408>>2]>>2];q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+28>>2]=125;q[a+24>>2]=126}q[e+5140>>2]=Hj();b=e;break a}yi(e);b=0}ti=c+1280|0;return b}function SJ(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=x(0),m=x(0),n=0,o=0,p=x(0),r=0,s=0,z=x(0),A=0,B=x(0),C=x(0),D=0,E=0,F=x(0),H=x(0);D=q[a+8>>2]-q[a+12>>2]>>4;q[i+88>>2]=b;q[i+92>>2]=c;q[i>>2]=0;k=xi[q[77507]](d,e)|0;d=xi[q[77508]](d,e)|0;s=f<<5;b=Oi((f&134217727)!=(f|0)?-1:s);q[i+68>>2]=f;q[i+64>>2]=b;Fi(b,0,s);c=w(g,40);b=Oi(c);q[i+8>>2]=g;q[i+4>>2]=b;Fi(b,0,c);b=h<<5;c=Oi(b);q[i+52>>2]=b;q[i+48>>2]=c;E=Fi(c,0,b);o=f<<3;c=Oi((o&1073741816)!=(o|0)?-1:s);a:{b:{c:{d:{if(f){Ki(a,-1,72256);F=x(x(1)/x(d>>>0));H=x(x(1)/x(k>>>0));h=c;while(1){b=q[a+8>>2];q[b+8>>2]=3;d=j+1|0;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-2);e:{if(t[i+68>>2]>j>>>0){b=q[i+64>>2]+(j<<5)|0;r=b;IB(a,72267,b+8|0,b+12|0);IB(a,72331,b+16|0,b+20|0);Ki(a,-1,72335);e=Mk(a,-1);j=Oi((e|0)!=(e&1073741823)?-1:e<<2);k=q[a+8>>2];q[k+8>>2]=0;q[a+8>>2]=k+16;if(rj(a,-2)){while(1){k=j;A=xj(a,-2);f:{if(y(A)<2147483648){n=~~A;break f}n=-2147483648}n=(k+(n<<2)|0)-4|0;A=xj(a,-1);g:{if(y(A)<2147483648){k=~~A;break g}k=-2147483648}q[n>>2]=k;Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);q[b+24>>2]=j;q[b+28>>2]=e;Ci(a,-2);l=x(0);m=x(0);k=q[b+12>>2];if(k){e=q[r+8>>2];j=0;while(1){n=j<<2;p=u[n+e>>2];m=m>p?m:p;p=u[e+(n|4)>>2];l=l>p?l:p;j=j+2|0;if(k>>>0>j>>>0){continue}break}}e=b;if(l=x(0)){j=~~l>>>0}else{j=0}q[e+4>>2]=j;e=b;if(m=x(0)){j=~~m>>>0}else{j=0}q[e>>2]=j;j=0;if(!k){break e}while(1){if(j>>>0>=k>>>0){break d}e=q[r+8>>2];n=e+(j<<2)|0;u[n>>2]=x(u[n>>2]/m)+x(-.5);n=j|1;if(n>>>0>=k>>>0){break d}e=e+(n<<2)|0;u[e>>2]=1- +x(u[e>>2]/l)+ -.5;j=j+2|0;if(k>>>0>j>>>0){continue}break}break e}J(72920,72932,138,72964);G()}h:{e=q[b+20>>2];if(!e){l=x(-3.4028234663852886e+38);m=x(3.4028234663852886e+38);p=x(3.4028234663852886e+38);B=x(-3.4028234663852886e+38);break h}p=x(3.4028234663852886e+38);B=x(-3.4028234663852886e+38);j=0;l=x(-3.4028234663852886e+38);m=x(3.4028234663852886e+38);i:{while(1){if(e>>>0>j>>>0){k=j|1;if(k>>>0>=e>>>0){break i}r=k<<2;k=q[b+16>>2];r=r+k|0;z=u[r>>2];k=k+(j<<2)|0;C=x(H*u[k>>2]);u[k>>2]=C;z=x(F*z);u[r>>2]=x(1)-z;B=z>B?z:B;p=p>z?z:p;l=lC?C:m;j=j+2|0;if(e>>>0>j>>>0){continue}break h}break}break c}break c}u[h+24>>2]=l;u[h+16>>2]=l;u[h+8>>2]=m;u[h>>2]=m;l=x(x(1)-B);u[h+28>>2]=l;m=x(x(1)-p);u[h+20>>2]=m;u[h+12>>2]=m;u[h+4>>2]=l;h=h+32|0;j=d;if((j|0)!=(f|0)){continue}break}Ci(a,-2)}h=f;j:{k:{if(g){Ki(a,-1,72343);e=f-1|0;j=0;while(1){b=q[a+8>>2];q[b+8>>2]=3;d=b;b=j+1|0;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-2);if(t[i+8>>2]<=j>>>0){break b}d=q[i+4>>2]+w(j,40)|0;q[d+20>>2]=30;q[d+24>>2]=1;Ki(a,-1,72354);q[d>>2]=dj(a,-1,0);Ci(a,-2);Ki(a,-1,72434);q[d+4>>2]=Ok(a,-1);Ci(a,-2);Ki(a,-1,72440);q[d+8>>2]=Ok(a,-1);Ci(a,-2);Ki(a,-1,72447);j=Ok(a,-1);Ci(a,-2);Ki(a,-1,72459);k=Ok(a,-1);Ci(a,-2);Ki(a,-1,72469);if(Bj(a,-1)){r=Ok(a,-1);if(r>>>0>=7){break k}q[d+24>>2]=q[(r<<2)+74672>>2]}Ci(a,-2);Ki(a,-1,72478);if(Bj(a,-1)){q[d+20>>2]=Ok(a,-1)}Ci(a,-2);Ki(a,-1,72482);if((Ei(a,-1)|0)==1){q[d+32>>2]=Ej(a,-1)}Ci(a,-2);Ki(a,-1,72496);if((Ei(a,-1)|0)==1){q[d+28>>2]=Ej(a,-1)}Ci(a,-2);Ci(a,-2);q[d+16>>2]=e+k;q[d+12>>2]=e+j;h=k+(h-j|0)|0;j=b;if((j|0)!=(g|0)){continue}break}Ci(a,-2)}q[i+72>>2]=1;d=h<<2;b=Oi((h&1073741823)!=(h|0)?-1:d);q[i+80>>2]=h;q[i+76>>2]=b;j=0;b=Fi(b,0,d);d=Gi(E,c,s);if(!f){break j}while(1){if(h>>>0<=j>>>0){break a}q[b+(j<<2)>>2]=j;j=j+1|0;if((j|0)!=(f|0)){continue}break}break j}J(72975,71492,1301,72977);G()}h=q[i+8>>2];if(h){j=d+(o<<2)|0;g=0;b=f;while(1){if(g>>>0>=h>>>0){break b}e=q[i+4>>2]+w(g,40)|0;d=q[e+12>>2];e=q[e+16>>2]-d|0;if(e){k=d-f|0;h=0;while(1){s=h+k|0;d=c+(s<<5)|0;o=q[d+4>>2];q[j>>2]=q[d>>2];q[j+4>>2]=o;o=q[d+28>>2];q[j+24>>2]=q[d+24>>2];q[j+28>>2]=o;o=q[d+20>>2];q[j+16>>2]=q[d+16>>2];q[j+20>>2]=o;o=q[d+12>>2];q[j+8>>2]=q[d+8>>2];q[j+12>>2]=o;if(t[i+80>>2]<=b>>>0){break a}q[q[i+76>>2]+(b<<2)>>2]=s;j=j+32|0;b=b+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}h=q[i+8>>2]}g=g+1|0;if(h>>>0>g>>>0){continue}break}}yi(c);if(q[a+8>>2]-q[a+12>>2]>>4==(D|0)){return}J(71471,71492,1653,72898);G()}J(72920,72932,56,72964);G()}J(72920,72932,64,72964);G()}J(72920,72932,88,72964);G()}J(72920,72932,147,72964);G()}function ica(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0;j=ti-112|0;ti=j;q[j+96>>2]=0;a:{b:{c:{d:{e:{f:{if(c){if(!r[310360]){o[310360]=1;lua()}l=13;n=1;g:{h:{i:{switch(d|0){case 5:l=16;break h;case 9:l=8;break h;case 11:l=9;break h;case 12:n=0;l=0;break g;case 13:l=20;break h;case 14:l=21;break h;case 15:l=1;break h;case 16:l=10;break h;case 17:l=2;break h;case 18:l=3;break h;case 19:l=4;break h;case 20:l=5;break h;case 21:l=6;break h;default:q[j+8>>2]=a;q[j>>2]=d;Ai(4,91303,91312,j);break b;case 4:break i;case 0:case 1:case 2:case 3:break g}}l=14}n=0}A=q[g>>2];i=w(c,644);B=Oi(i+4|0);q[B>>2]=c;x=B+4|0;i=i+x|0;h=x;while(1){tua(h);o[h+585|0]=0;q[h+632>>2]=0;q[h+636>>2]=0;h=h+644|0;if((i|0)!=(h|0)){continue}break}i=d>>>0>21?91033:q[(d<<2)+259260>>2];q[j+72>>2]=l;q[j+80>>2]=q[(l<<2)+259348>>2];q[j+76>>2]=i;q[j+68>>2]=d;q[j+64>>2]=a;Ai(2,91303,91381,j- -64|0);D=c>>>0>1?c:1;y=(l&30)!=8;j:{while(1){if(t[b+60>>2]<=u>>>0){break j}k=w(u,644)+x|0;s=q[b+36>>2]+C|0;p=q[q[b+56>>2]+(u<<2)>>2];if(!mua(k,s,p)){q[j+48>>2]=a;Ai(4,91303,91571,j+48|0);break b}oua(s,p,k+588|0);nua(k,s,p);q[k+640>>2]=p;q[k+636>>2]=s;h=q[k+592>>2];q[k+632>>2]=Oi((E=-1,F=Owa(h,0,20,0),H=wi,H?E:F));k:{if(!h){break k}h=0;if(!y){while(1){if(!BM(s,p,h,j+108|0,j+104|0,j+100|0)){break d}m=w(h,20);i=m+q[k+632>>2]|0;q[i>>2]=q[j+108>>2];q[i+4>>2]=q[j+104>>2];q[i+8>>2]=q[j+100>>2];l:{if(l-13>>>0>=4){v=pt(l);i=q[j+104>>2]+3&-4;z=i>>>0>8?i:8;i=q[j+108>>2]+3&-4;i=w(z,i>>>0>8?i:8)>>>1&536870904;if(i>>>0>2])>>>0){break c}q[(m+q[k+632>>2]|0)+16>>2]=v;break l}z=q[j+104>>2];i=l-13|0;m:{if(i>>>0<=3){i=q[(i<<2)+106308>>2];break m}i=0}i=w(z,w(i,q[j+108>>2]))}q[(m+q[k+632>>2]|0)+12>>2]=i;h=h+1|0;if(h>>>0>2]){continue}break k}}while(1){if(!BM(s,p,h,j+108|0,j+104|0,j+100|0)){break d}i=w(h,20);m=i+q[k+632>>2]|0;q[m>>2]=q[j+108>>2];q[m+4>>2]=q[j+104>>2];q[m+8>>2]=q[j+100>>2];n:{if(l-13>>>0<4){z=q[j+104>>2];m=l-13|0;o:{if(m>>>0<=3){m=q[(m<<2)+106308>>2];break o}m=0}m=w(z,w(m,q[j+108>>2]));break n}m=pt(l);v=q[j+100>>2];q[(i+q[k+632>>2]|0)+16>>2]=m;m=w(m,v)}q[(i+q[k+632>>2]|0)+12>>2]=m;h=h+1|0;if(h>>>0>2]){continue}break}}C=p+C|0;u=u+1|0;if((D|0)!=(u|0)){continue}break}C=0;m=0;b=q[B+596>>2];u=b>>>0>>0?b:A;if(u){D=(d|0)!=3&n;m=1;s=0;while(1){b=s<<2;A=q[(q[B+636>>2]+w(s,20)|0)+12>>2];i=Oi(w(A,c));q[b+e>>2]=i;q[b+f>>2]=A;p=s&255;v=0;k=0;p:{q:{if(D){while(1){b=w(v,644)+x|0;if((u|0)!=q[b+592>>2]){break q}h=q[b+632>>2];n=q[b+640>>2];k=q[b+636>>2];r:{if(l-13>>>0>=4){y=b;b=h+w(p,20)|0;n=kw(y,k,n,p,i,t[b+12>>2]/t[b+16>>2]|0,l,0,0);break r}y=k;z=n;k=h;h=w(p,20);n=k+h|0;k=q[n+4>>2];n=q[n>>2];if(!kw(b,y,z,p,i,w(k,n),l,n,k)){i=i+A|0;break f}n=1;if(d>>>0>2){break r}b=q[(h+q[b+632>>2]|0)+12>>2];if((b|0)<1){break r}y=b+i|0;k=i;b=i;while(1){h=0;while(1){o[k|0]=r[b+h|0];k=k+1|0;z=(d|0)!=(h|0);h=h+1|0;if(z){continue}break}b=b+4|0;if(y>>>0>b>>>0){continue}break}}i=i+A|0;if(!n){break p}v=v+1|0;if(v>>>0>>0){continue}break p}}while(1){b=w(k,644)+x|0;if((u|0)!=q[b+592>>2]){break q}h=q[b+632>>2];n=q[b+640>>2];v=q[b+636>>2];s:{if(l-13>>>0<4){y=b;b=h+w(p,20)|0;h=q[b+4>>2];b=q[b>>2];n=kw(y,v,n,p,i,w(h,b),l,b,h);break s}y=b;b=h+w(p,20)|0;n=kw(y,v,n,p,i,t[b+12>>2]/t[b+16>>2]|0,l,0,0)}i=i+A|0;if(!n){break p}k=k+1|0;if(k>>>0>>0){continue}break}break p}J(91422,91254,345,91228);G()}if(!n){break f}s=s+1|0;m=u>>>0>s>>>0;if((s|0)!=(u|0)){continue}break}}q[g>>2]=u;while(1){a=q[(w(C,644)+x|0)+632>>2];if(a){yi(a)}C=C+1|0;if((C|0)!=(c|0)){continue}break}a=q[B>>2];if(!a){break e}h=w(a,644)+x|0;while(1){h=h-644|0;CM(h);if((h|0)!=(x|0)){continue}break}break e}J(91518,91530,132,91560);G()}J(91238,91254,295,91228);G()}q[j+20>>2]=a;q[j+16>>2]=s;Ai(4,91303,91479,j+16|0);if(i){yi(i)}h=0;while(1){a=q[(w(h,644)+x|0)+632>>2];if(a){yi(a)}h=h+1|0;if((h|0)!=(c|0)){continue}break}a=q[B>>2];if(!a){break e}h=w(a,644)+x|0;while(1){h=h-644|0;CM(h);if((h|0)!=(x|0)){continue}break}}yi(B);a=m^1;break a}q[j+36>>2]=a;q[j+32>>2]=h;Ai(4,91303,91619,j+32|0);break b}J(91684,91254,207,91732);G()}a=0}ti=j+112|0;return a&1}function nP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;a:{if(r[a+60|0]){q[a+112>>2]=2;a=0;break a}c=q[a+808>>2];if(!c){d=q[a+44>>2];b:{if(d){i=d-q[a+48>>2]|0;break b}i=um(q[a+32>>2])-q[a+36>>2]|0}d=q[a+56>>2];c:{d:{if(d>>>0<=65535){c=q[a+64>>2];break d}c=q[a+64>>2];d=d-65536|0;if(c>>>0<=d>>>0){break c}}d=c}e:{if(r[a+60|0]){break e}q[a+108>>2]=0;if(q[a+44>>2]){c=q[a+52>>2];f:{if((d|0)>=0){d=q[a+48>>2]+d|0;if(d>>>0>>0){break f}}q[a+108>>2]=1;q[a+44>>2]=c;break e}q[a+44>>2]=d;break e}g:{if((d|0)>=0){c=q[a+36>>2];d=c+d|0;if(d>>>0>=c>>>0){break g}}q[a+108>>2]=1;d=2147483647}if(!Ik(q[a+32>>2],d,0)){break e}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}h:{if(!DB(a,g+12|0,g+8|0)){q[a+808>>2]=-1;q[a+112>>2]=36;break h}d=0;i:{if(r[a+60|0]){break i}d=q[a+44>>2];if(d){d=d-q[a+48>>2]|0;break i}d=um(q[a+32>>2])-q[a+36>>2]|0}j:{if(q[g+8>>2]){break j}while(1){k:{if(r[a+60|0]){break k}c=q[g+12>>2];q[a+108>>2]=0;if(q[a+44>>2]){b=q[a+52>>2];l:{if((c|0)>=0){c=c+q[a+48>>2]|0;if(c>>>0>>0){break l}}q[a+108>>2]=1;q[a+44>>2]=b;break k}q[a+44>>2]=c;break k}m:{if((c|0)>=0){b=c;c=q[a+36>>2];b=b+c|0;if(b>>>0>=c>>>0){break m}}q[a+108>>2]=1;b=2147483647}if(!Ik(q[a+32>>2],b,0)){break k}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}if(!DB(a,g+12|0,g+8|0)){break j}d=0;n:{if(r[a+60|0]){break n}d=q[a+44>>2];if(d){d=d-q[a+48>>2]|0;break n}d=um(q[a+32>>2])-q[a+36>>2]|0}if(!q[g+8>>2]){continue}break}}o:{p:{if(r[a+60|0]){break p}q[a+108>>2]=0;if(q[a+44>>2]){c=q[a+52>>2];q:{if((d|0)>=0){b=q[a+48>>2]+d|0;if(b>>>0>>0){break q}}q[a+108>>2]=1;q[a+44>>2]=c;break o}q[a+44>>2]=b;c=b;break o}r:{if((d|0)>=0){c=q[a+36>>2];b=c+d|0;if(b>>>0>=c>>>0){break r}}q[a+108>>2]=1;b=2147483647}if(!Ik(q[a+32>>2],b,0)){break p}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}c=q[a+44>>2]}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:{if(c){b=q[a+52>>2];e=c+6|0;if(b>>>0>>0){break X}p[g+4>>1]=r[c+4|0]|r[c+5|0]<<8;q[g>>2]=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+44>>2]=e;break V}if((tl(g,6,1,q[a+32>>2])|0)==1){break W}}q[a+108>>2]=1}e=q[a+44>>2];if(!e){break U}b=q[a+52>>2]}if(b>>>0<=e>>>0){break T}f=e+1|0;q[a+44>>2]=f;e=r[e|0];break R}b=ej(q[a+32>>2]);if((b|0)!=-1){break S}}q[a+108>>2]=1;b=0}e=b&255;f=q[a+44>>2];if(!f){break Q}b=q[a+52>>2]}if(b>>>0<=f>>>0){break P}c=f+1|0;q[a+44>>2]=c;f=r[f|0]<<8|e;break N}b=ej(q[a+32>>2]);if((b|0)!=-1){break O}}q[a+108>>2]=1;b=0}f=b<<8&65280|e;c=q[a+44>>2];if(!c){break M}b=q[a+52>>2]}if(b>>>0<=c>>>0){break L}e=c+1|0;q[a+44>>2]=e;c=r[c|0]<<16|f;break J}b=ej(q[a+32>>2]);if((b|0)!=-1){break K}}q[a+108>>2]=1;b=0}c=b<<16&16711680|f;e=q[a+44>>2];if(!e){break I}b=q[a+52>>2]}if(b>>>0<=e>>>0){break H}f=e+1|0;q[a+44>>2]=f;c=r[e|0]<<24|c;break F}b=ej(q[a+32>>2]);if((b|0)!=-1){break G}}q[a+108>>2]=1;b=0}c=b<<24|c;f=q[a+44>>2];if(!f){break E}b=q[a+52>>2]}if(b>>>0<=f>>>0){break D}e=f+1|0;q[a+44>>2]=e;h=r[f|0];break B}b=ej(q[a+32>>2]);if((b|0)!=-1){break C}}q[a+108>>2]=1;b=0}h=b&255;e=q[a+44>>2];if(!e){break A}b=q[a+52>>2]}if(b>>>0<=e>>>0){q[a+108>>2]=1;b=0;break z}f=e+1|0;q[a+44>>2]=f;h=r[e|0]<<8|h;break y}b=ej(q[a+32>>2]);if((b|0)==-1){q[a+108>>2]=1;b=0;break z}b=b<<8&65280}h=b|h;f=q[a+44>>2];if(!f){break x}b=q[a+52>>2]}if(b>>>0<=f>>>0){q[a+108>>2]=1;b=0;break w}e=f+1|0;q[a+44>>2]=e;f=r[f|0]<<16|h;break v}b=ej(q[a+32>>2]);if((b|0)==-1){q[a+108>>2]=1;b=0;break w}b=b<<16&16711680}f=b|h;e=q[a+44>>2];if(!e){break u}b=q[a+52>>2]}if(b>>>0<=e>>>0){break t}q[a+44>>2]=e+1;b=r[e|0];break s}b=ej(q[a+32>>2]);if((b|0)!=-1){break s}}q[a+108>>2]=1;b=0}b=b<<24|f;if((b&c)==-1){q[a+808>>2]=-1;q[a+112>>2]=36;break h}q[a+80>>2]=d;d=b?-2:c;q[a+808>>2]=d;c=q[g+12>>2];q[a+88>>2]=d;q[a+84>>2]=c}Y:{if(r[a+60|0]){break Y}q[a+108>>2]=0;if(q[a+44>>2]){d=q[a+52>>2];Z:{if((i|0)>=0){c=q[a+48>>2]+i|0;if(c>>>0>>0){break Z}}q[a+108>>2]=1;q[a+44>>2]=d;break Y}q[a+44>>2]=c;break Y}_:{if((i|0)>=0){d=q[a+36>>2];c=d+i|0;if(c>>>0>=d>>>0){break _}}q[a+108>>2]=1;c=2147483647}if(!Ik(q[a+32>>2],c,0)){break Y}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}c=q[a+808>>2]}a=(c|0)==-1?0:c}ti=g+16|0;return a}function R4(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,r=0,t=0;b=ti-480|0;ti=b;i=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);n=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=Ei(a,1);j=xi[q[77516]](q[q[n+304>>2]+2384>>2])|0;k=(c|0)==5?1:2;mj(a,k,5);o[b+478|0]=1;p[b+476>>1]=0;q[b+472>>2]=1;o[b+462|0]=1;p[b+460>>1]=0;q[b+456>>2]=1;o[b+446|0]=1;p[b+444>>1]=0;q[b+440>>2]=1;o[b+430|0]=1;p[b+428>>1]=0;q[b+424>>2]=1;o[b+414|0]=1;p[b+412>>1]=0;q[b+408>>2]=1;q[b+464>>2]=0;q[b+468>>2]=0;q[b+448>>2]=0;q[b+452>>2]=0;q[b+432>>2]=0;q[b+436>>2]=0;q[b+416>>2]=0;q[b+420>>2]=0;q[b+400>>2]=0;q[b+404>>2]=0;o[b+398|0]=1;p[b+396>>1]=0;q[b+392>>2]=1;q[b+384>>2]=0;q[b+388>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;o[b+139|0]=0;o[b+140|0]=0;o[b+141|0]=0;o[b+142|0]=0;q[b+172>>2]=0;q[b+176>>2]=0;q[b+168>>2]=1;q[b+160>>2]=2;q[b+164>>2]=1;q[b+152>>2]=3;q[b+156>>2]=5;q[b+180>>2]=0;q[b+184>>2]=0;o[b+187|0]=0;o[b+188|0]=0;o[b+189|0]=0;o[b+190|0]=0;q[b+216>>2]=1;q[b+200>>2]=3;q[b+204>>2]=5;q[b+208>>2]=2;q[b+212>>2]=1;q[b+124>>2]=0;q[b+128>>2]=0;q[b+120>>2]=1;q[b+112>>2]=2;q[b+116>>2]=1;q[b+104>>2]=3;q[b+108>>2]=5;q[b+96>>2]=0;q[b+100>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+192>>2]=0;q[b+196>>2]=0;o[b+235|0]=0;o[b+236|0]=0;o[b+237|0]=0;o[b+238|0]=0;q[b+228>>2]=0;q[b+232>>2]=0;q[b+220>>2]=0;q[b+224>>2]=0;q[b+264>>2]=1;q[b+248>>2]=3;q[b+252>>2]=5;q[b+256>>2]=2;q[b+260>>2]=1;q[b+268>>2]=0;q[b+272>>2]=0;q[b+276>>2]=0;q[b+280>>2]=0;o[b+283|0]=0;o[b+284|0]=0;o[b+285|0]=0;o[b+286|0]=0;q[b+312>>2]=1;q[b+296>>2]=3;q[b+300>>2]=5;q[b+304>>2]=2;q[b+308>>2]=1;q[b+316>>2]=0;q[b+320>>2]=0;q[b+324>>2]=0;q[b+328>>2]=0;o[b+331|0]=0;o[b+332|0]=0;o[b+333|0]=0;o[b+334|0]=0;q[b+360>>2]=1;q[b+344>>2]=3;q[b+348>>2]=5;q[b+352>>2]=2;q[b+356>>2]=1;q[b+240>>2]=0;q[b+244>>2]=0;q[b+288>>2]=0;q[b+292>>2]=0;q[b+336>>2]=0;q[b+340>>2]=0;o[b+379|0]=0;o[b+380|0]=0;o[b+381|0]=0;o[b+382|0]=0;q[b+372>>2]=0;q[b+376>>2]=0;q[b+364>>2]=0;q[b+368>>2]=0;c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;c:{d:{e:{f:{g:{if(rj(a,k)){while(1){e=Xi(a,-2);h=Sm(e);mj(a,-1,5);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break b}r=e|r;c=0;d=0;g=0;while(1){f=Wi(a,-2,0);l=tk(f,110630,6);m=tk(f,110637,5);f=tk(f,110643,6);Ci(a,-2);c=l?c:1;d=m?d:1;g=f?g:1;if(rj(a,-2)){continue}break}if(!(c&255)){break b}if(!(d&255)){t=1;break b}if(!(g&255)){t=2;break b}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){d=(b+96|0)+w(h,48)|0;g=d|8;c=(b+384|0)+(h<<4)|0;f=c|4;l=c|6;m=d|12;while(1){c=Wi(a,-2,0);if(!Ei(a,-1)){q[b+36>>2]=c;q[b+32>>2]=110485;c=Bi(a,110689,b+32|0);break a}h:{if(!tk(c,110630,6)){c=Xi(a,-1);q[g>>2]=c;if(!((c|0)==6|(e|0)!=16)){c=Bi(a,110733,0);break a}if((c|0)==7|(e|0)!=32){break h}c=Bi(a,110790,0);break a}if(!tk(c,110637,5)){c=Xi(a,-1);p[d+40>>1]=c;p[f>>1]=c;break h}if(!tk(c,110643,6)){c=Xi(a,-1);p[d+42>>1]=c;p[l>>1]=c;break h}if(!tk(c,110851,10)){q[m>>2]=Xi(a,-1);break h}if(!tk(c,110862,10)){q[d+16>>2]=Xi(a,-1);break h}if(!tk(c,110873,6)){q[d+20>>2]=Xi(a,-1);break h}if(tk(c,110880,6)){break g}q[d+24>>2]=Xi(a,-1)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);c=(b+384|0)+(h<<4)|0;if(s[c+4>>1]>j>>>0|s[c+6>>1]>j>>>0){break f}if(rj(a,k)){continue}break}}c=xi[q[77494]](q[q[n+304>>2]+2384>>2],r,b+384|0,b+96|0)|0;d=wi;e=d;if((d|0)!=2){break c}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=+(c>>>0)+ +(e>>>0)*4294967296;q[a+8>>2]=q[a+8>>2]+16;c=1;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(110364,110389,1096,110887);G()}Ci(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break e}q[b+80>>2]=110880;q[b+76>>2]=110873;q[b+72>>2]=110862;q[b+68>>2]=110851;q[b- -64>>2]=110643;q[b+52>>2]=c;q[b+60>>2]=110637;q[b+56>>2]=110630;q[b+48>>2]=110485;c=Bi(a,110913,b+48|0);break a}Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break d}d=mea(e);c=s[(c|4)>>1];q[b+16>>2]=d;q[b+20>>2]=c;q[b+28>>2]=j;q[b+24>>2]=s[((b+384|0)+(h<<4)|0)+6>>1];c=Bi(a,111006,b+16|0);break a}J(110492,110389,1062,110887);G()}J(110492,110389,1080,110887);G()}J(111121,110389,1087,110887);G()}J(110492,110389,475,114319);G()}q[b>>2]=q[(t<<2)+259696>>2];c=Bi(a,110650,b)}ti=b+480|0;return c|0}function fw(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;l=r[b|0];d=l;c=r[b+16|0];d=c>>>0>d>>>0?d:c;m=r[b+32|0];e=m;e=e>>>0>d>>>0?d:e;d=r[b+48|0];i=e>>>0>>0?e:d;t=r[b+4|0];e=t;p=r[b+20|0];h=p;h=e>>>0>>0?e:h;e=r[b+36|0];g=e>>>0>h>>>0?h:e;h=r[b+52|0];g=g>>>0>>0?g:h;j=g>>>0>i>>>0?i:g;i=r[b+8|0];u=r[b+24|0];g=u;g=g>>>0>i>>>0?i:g;s=r[b+40|0];f=s;f=f>>>0>g>>>0?g:f;g=r[b+56|0];f=f>>>0>>0?f:g;k=f>>>0>j>>>0?j:f;j=r[b+12|0];v=r[b+28|0];f=v;f=f>>>0>j>>>0?j:f;x=r[b+44|0];n=x;n=f>>>0>>0?f:n;f=r[b+60|0];n=f>>>0>n>>>0?n:f;k=k>>>0>>0?k:n;o[a+1|0]=k;c=c>>>0>>0?l:c;c=c>>>0>m>>>0?c:m;c=c>>>0>d>>>0?c:d;d=p>>>0>>0?t:p;d=e>>>0>>0?d:e;d=d>>>0>h>>>0?d:h;c=c>>>0>d>>>0?c:d;d=i>>>0>u>>>0?i:u;d=d>>>0>s>>>0?d:s;d=d>>>0>g>>>0?d:g;c=c>>>0>d>>>0?c:d;d=j>>>0>v>>>0?j:v;d=d>>>0>x>>>0?d:x;d=d>>>0>f>>>0?d:f;d=c>>>0>d>>>0?c:d;o[a|0]=d;if((d|0)==(k|0)){o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;return}t=r[b+60|0];p=r[b+56|0];u=r[b+52|0];s=r[b+48|0];v=r[b+44|0];x=r[b+40|0];n=r[b+36|0];m=r[b+32|0];h=w(k,-14)+4|0;c=h+w(r[b+20|0],14)|0;e=d-k|0;i=w(e,13);g=w(e,11);j=w(e,9);f=w(e,7);k=w(e,5);l=w(e,3);d=q[((((((((c|0)>=(i|0))+((g|0)<=(c|0))|0)+((j|0)<=(c|0))|0)+((f|0)<=(c|0))|0)+((k|0)<=(c|0))|0)+((l|0)<=(c|0))|0)+((c|0)>=(e|0))<<2)+101424>>2]<<12;c=h+w(r[b+4|0],14)|0;d=d|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101424>>2];c=h+w(r[b|0],14)|0;y=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101392>>2];c=h+w(r[b+16|0],14)|0;d=d|(y|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101392>>2]<<12);c=h+w(r[b+8|0],14)|0;y=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101456>>2];c=h+w(r[b+24|0],14)|0;d=d|(y|q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101456>>2]<<12);c=h+w(r[b+12|0],14)|0;b=h+w(r[b+28|0],14)|0;b=d|(q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101488>>2]|q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101488>>2]<<12);o[a+2|0]=b;o[a+4|0]=b>>>16;o[a+3|0]=b>>>8;c=h+w(m,14)|0;m=q[((((((((c|0)>=(i|0))+((c|0)>=(g|0))|0)+((c|0)>=(j|0))|0)+((c|0)>=(f|0))|0)+((c|0)>=(k|0))|0)+((c|0)>=(l|0))|0)+((c|0)>=(e|0))<<2)+101392>>2];c=m>>>8|0;d=b|m<<24;b=h+w(n,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101424>>2];m=b>>>8|0;b=d|b<<24;m=c|m;d=b;b=h+w(x,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101456>>2];c=b>>>8|0;b=d|b<<24;c=c|m;d=b;b=h+w(v,14)|0;b=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101488>>2];m=b>>>8|0;b=d|b<<24;m=c|m;c=m;o[a+5|0]=(c&16777215)<<8|b>>>24;b=h+w(s,14)|0;s=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101392>>2]<<4|c;b=h+w(u,14)|0;c=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101424>>2]<<4;b=h+w(p,14)|0;p=c|s|q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101456>>2]<<4;b=h+w(t,14)|0;c=q[((((((((b|0)>=(i|0))+((b|0)>=(g|0))|0)+((b|0)>=(j|0))|0)+((b|0)>=(f|0))|0)+((b|0)>=(k|0))|0)+((b|0)>=(l|0))|0)+((b|0)>=(e|0))<<2)+101488>>2]<<4;e=c|p;c=e;d=a;o[d+7|0]=c>>>8;o[d+6|0]=c}function OM(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,r=0,s=0,t=0,u=0,x=0,z=0,A=0,B=0,D=0;h=ti-560|0;ti=h;g=c;c=(c-3|0)/24|0;t=(c|0)>0?c:0;l=g+w(t,-24)|0;n=q[(e<<2)+208432>>2];j=d-1|0;if((n+j|0)>=0){g=d+n|0;c=t-j|0;while(1){v[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+q[(c<<2)+208448>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}p=l-24|0;g=0;i=(n|0)>0?n:0;m=(d|0)<1;while(1){a:{if(m){f=0;break a}k=g+j|0;c=0;f=0;while(1){f=f+v[(c<<3)+a>>3]*v[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}B=47-l|0;u=48-l|0;D=l-25|0;g=n;b:{while(1){f=v[(g<<3)+h>>3];c=0;i=g;k=(g|0)<1;if(!k){while(1){m=(h+480|0)+(c<<2)|0;o=f;f=f*5.960464477539063e-8;c:{if(y(f)<2147483648){j=~~f;break c}j=-2147483648}f=+(j|0);o=o+f*-16777216;d:{if(y(o)<2147483648){j=~~o;break d}j=-2147483648}q[m>>2]=j;i=i-1|0;f=v[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=In(f,p);f=f+C(f*.125)*-8;e:{if(y(f)<2147483648){m=~~f;break e}m=-2147483648}f=f- +(m|0);f:{g:{h:{x=(p|0)<1;i:{if(!x){i=(g<<2)+h|0;j=q[i+476>>2];c=j>>u;s=i;i=j-(c<>2]=i;m=c+m|0;j=i>>B;break i}if(p){break h}j=q[((g<<2)+h|0)+476>>2]>>23}if((j|0)<1){break f}break g}j=2;if(!(f>=.5^1)){break g}j=0;break f}c=0;i=0;if(!k){while(1){s=(h+480|0)+(c<<2)|0;z=q[s>>2];k=16777215;j:{k:{if(i){break k}k=16777216;if(z){break k}i=0;break j}q[s>>2]=k-z;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}l:{if(x){break l}m:{switch(D|0){case 0:c=(g<<2)+h|0;q[c+476>>2]=q[c+476>>2]&8388607;break l;case 1:break m;default:break l}}c=(g<<2)+h|0;q[c+476>>2]=q[c+476>>2]&4194303}m=m+1|0;if((j|0)!=2){break f}f=1-f;j=2;if(!i){break f}f=f-In(1,p)}if(f==0){i=0;n:{c=g;if((n|0)>=(c|0)){break n}while(1){c=c-1|0;i=q[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(n|0)){continue}break}if(!i){break n}l=p;while(1){l=l-24|0;g=g-1|0;if(!q[(h+480|0)+(g<<2)>>2]){continue}break}break b}c=1;while(1){i=c;c=c+1|0;if(!q[(h+480|0)+(n-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;v[(h+320|0)+(j<<3)>>3]=q[(t+g<<2)+208448>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+v[(c<<3)+a>>3]*v[(h+320|0)+(j-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=In(f,24-l|0);o:{if(!(f>=16777216^1)){d=(h+480|0)+(g<<2)|0;o=f;f=f*5.960464477539063e-8;p:{if(y(f)<2147483648){c=~~f;break p}c=-2147483648}f=o+ +(c|0)*-16777216;q:{if(y(f)<2147483648){a=~~f;break q}a=-2147483648}q[d>>2]=a;g=g+1|0;break o}if(y(f)<2147483648){c=~~f}else{c=-2147483648}l=p}q[(h+480|0)+(g<<2)>>2]=c}f=In(1,l);r:{if((g|0)<=-1){break r}c=g;while(1){v[(c<<3)+h>>3]=f*+q[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}k=0;if((g|0)<0){break r}a=(n|0)>0?n:0;i=g;while(1){d=a>>>0>>0?a:k;l=g-i|0;c=0;f=0;while(1){f=f+v[(c<<3)+211216>>3]*v[(c+i<<3)+h>>3];p=(c|0)!=(d|0);c=c+1|0;if(p){continue}break}v[(h+160|0)+(l<<3)>>3]=f;i=i-1|0;c=(g|0)!=(k|0);k=k+1|0;if(c){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=v[(h+160|0)+(g<<3)>>3];c=g;while(1){o=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;A=v[d>>3];f=A+f;v[(h+160|0)+(c<<3)>>3]=o+(A-f);v[d>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=v[(h+160|0)+(g<<3)>>3];c=g;while(1){o=f;a=c-1|0;d=(h+160|0)+(a<<3)|0;r=v[d>>3];f=r+f;v[(h+160|0)+(c<<3)>>3]=o+(r-f);v[d>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}r=0;if((g|0)<=1){break v}while(1){r=r+v[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=v[h+160>>3];if(j){break t}v[b>>3]=f;f=v[h+168>>3];v[b+16>>3]=r;v[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+v[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}v[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+v[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}v[b>>3]=j?-f:f;f=v[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+v[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}v[b+8>>3]=j?-f:f;break s}v[b>>3]=-f;f=v[h+168>>3];v[b+16>>3]=-r;v[b+8>>3]=-f}ti=h+560|0;return m&7}function tka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=x(0),n=0,p=0,s=x(0),v=x(0),y=x(0),z=x(0);f=ti+ -64|0;ti=f;d=q[a+4>>2];b=q[d+32>>2];a:{b:{c:{d:{e:{e=q[q[a+12>>2]>>2];if(e>>>0>2]-b>>3>>>0){j=q[b+(e<<3)>>2];h=q[d+16>>2];if(j>>>0>=q[d+20>>2]-h>>4>>>0){break a}b=h+(j<<4)|0;f:{g:{h:{g=q[a+16>>2];c=q[g+80>>2];if((c|0)==q[61794]){c=q[d+72>>2];e=q[d+76>>2];if((c|0)==(e|0)){break h}l=q[d+68>>2];if(!l){break e}if(c>>>0<=e>>>0){break d}i=q[b>>2];n=q[q[i+8>>2]>>2];q[d+76>>2]=e+1;l=q[l+(e<<2)>>2];b=q[d>>2];if(l>>>0>=(q[d+4>>2]-b|0)/104>>>0){break a}c=0;e=q[q[q[a>>2]+80>>2]+8>>2];i:{if(!e){break i}e=q[e>>2];if(!e){break i}c=q[e>>2]}b=b+w(l,104)|0;q[b+4>>2]=i;q[b>>2]=c;o[b+96|0]=r[b+96|0]&248;q[b+80>>2]=q[a>>2];e=q[a+16>>2];c=q[e+36>>2];q[b+48>>2]=q[e+32>>2];q[b+52>>2]=c;c=q[e+60>>2];q[b+72>>2]=q[e+56>>2];q[b+76>>2]=c;p=q[e+52>>2];c=b- -64|0;q[c>>2]=q[e+48>>2];q[c+4>>2]=p;c=q[e+44>>2];q[b+56>>2]=q[e+40>>2];q[b+60>>2]=c;u[b+88>>2]=u[g+96>>2];q[b+92>>2]=q[g+112>>2];o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+40|0]=0;o[b+41|0]=0;o[b+42|0]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;q[b+84>>2]=0;e=h0(n,b+8|0);if(!e){d=q[b+4>>2];d=c0(q[b+8>>2],q[d>>2],q[d+4>>2]);if(d){q[f+16>>2]=d;Ai(4,44498,44624,f+16|0)}k=u[g+108>>2];d=h+(j<<4)|0;m=u[d+12>>2];s=u[g+104>>2];v=u[d+4>>2];y=u[g+100>>2];z=u[d+8>>2];d=q[b+8>>2];e=0;q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=y*z;Yo(d,0,f+48|0);d=q[b+8>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=s+v;Yo(d,1,f+48|0);d=q[b+8>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k*m;Yo(d,2,f+48|0);c=o[i+25|0]&1;d=r[i+24|0];b0(q[b+8>>2],c,(c?d?d:-1:d)<<24>>24);d=q[a+16>>2];c=q[d+4>>2];q[b+16>>2]=q[d>>2];q[b+20>>2]=c;c=q[d+28>>2];q[b+40>>2]=q[d+24>>2];q[b+44>>2]=c;c=q[d+20>>2];q[b+32>>2]=q[d+16>>2];q[b+36>>2]=c;c=q[d+12>>2];q[b+24>>2]=q[d+8>>2];q[b+28>>2]=c;q[b+84>>2]=q[q[a+16>>2]+76>>2];break f}c=q[d+68>>2];if(!c){break c}b=q[d+76>>2];if(!b|b>>>0>t[d+72>>2]){break b}b=b-1|0;q[d+76>>2]=b;q[c+(b<<2)>>2]=l;a=q[a+16>>2];q[f+32>>2]=e;Tm(a,44655,f+32|0);break g}if((c|0)==q[61795]){c=q[d>>2];h=q[d+4>>2];if((c|0)==(h|0)){break g}e=0;while(1){g=w(e,104)+c|0;if(!(!q[g+8>>2]|q[g+4>>2]!=q[b>>2]|q[g+80>>2]!=q[a>>2])){o[g+96|0]=r[g+96|0]|1;c=q[d>>2];h=q[d+4>>2]}e=e+1|0;if(e>>>0<(h-c|0)/104>>>0){continue}break}break g}if((c|0)==q[61814]){c=q[d>>2];h=q[d+4>>2];if((c|0)==(h|0)){break g}j=r[g+96|0]<<2;e=0;while(1){g=w(e,104)+c|0;if(!(!q[g+8>>2]|q[g+4>>2]!=q[b>>2]|q[g+80>>2]!=q[a>>2])){o[g+96|0]=j|r[g+96|0]&249|2;c=q[d>>2];h=q[d+4>>2]}e=e+1|0;if(e>>>0<(h-c|0)/104>>>0){continue}break}break g}if((c|0)==q[61850]){i=q[a>>2];k=u[g+96>>2];u[(h+(j<<4)|0)+8>>2]=k;e=q[d+4>>2];c=q[d>>2];a=e-c|0;if(!a){break g}a=(a|0)/104|0;if((c|0)!=(e|0)){b=q[b>>2];g=a>>>0>1?a:1;e=0;while(1){j:{a=w(e,104)+c|0;c=q[a+8>>2];if(!c|(b|0)!=q[a+4>>2]|(i|0)!=q[a+80>>2]){break j}m=u[b+12>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k*m;if(!Yo(c,0,f+48|0)){break j}e=-1e3;break f}e=e+1|0;if((g|0)==(e|0)){break g}c=q[d>>2];if((q[d+4>>2]-c|0)/104>>>0>e>>>0){continue}break}}break a}e=0;if((c|0)!=q[61866]){break f}i=q[a>>2];k=u[g+96>>2];u[(h+(j<<4)|0)+4>>2]=k;g=q[d+4>>2];c=q[d>>2];a=g-c|0;if(!a){break f}a=(a|0)/104|0;if((c|0)!=(g|0)){b=q[b>>2];g=a>>>0>1?a:1;while(1){k:{a=w(e,104)+c|0;c=q[a+8>>2];if(!c|(b|0)!=q[a+4>>2]|(i|0)!=q[a+80>>2]){break k}m=u[b+16>>2];q[f+60>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;u[f+48>>2]=k+m;if(!Yo(c,1,f+48|0)){break k}e=-1e3;break f}e=e+1|0;if((g|0)==(e|0)){break g}c=q[d>>2];if((q[d+4>>2]-c|0)/104>>>0>e>>>0){continue}break}}break a}q[f>>2]=c;Tm(g,44695,f)}e=0}ti=f- -64|0;return e|0}break a}J(45251,45015,151,45299);G()}J(45303,45015,152,45299);G()}J(45251,45015,140,45258);G()}J(45263,45015,141,45258);G()}J(45161,44897,479,45172);G()}function DB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=ti-32|0;ti=e;a:{if(q[a+108>>2]){break a}while(1){b:{c:{g=q[a+44>>2];if(g){if(g>>>0>=t[a+52>>2]){q[a+108>>2]=1;break b}q[a+44>>2]=g+1;d=r[g|0];break c}d=ej(q[a+32>>2]);if((d|0)!=-1){break c}q[a+108>>2]=1;break b}d:{if((d&255)!=79){break d}f=0;g=0;e:{if(r[a+60|0]){break e}g=q[a+44>>2];if(g){g=g-q[a+48>>2]|0;break e}g=um(q[a+32>>2])-q[a+36>>2]|0}if(t[a+56>>2]>>0){break a}d=q[a+44>>2];f:{g:{if(d){if(d>>>0>=t[a+52>>2]){break g}q[a+44>>2]=d+1;d=r[d|0];break f}d=ej(q[a+32>>2]);if((d|0)!=-1){break f}}q[a+108>>2]=1;d=0}h:{i:{if(r[295325]!=(d&255)){break i}d=q[a+44>>2];j:{k:{if(d){if(d>>>0>=t[a+52>>2]){break k}q[a+44>>2]=d+1;d=r[d|0];break j}d=ej(q[a+32>>2]);if((d|0)!=-1){break j}}q[a+108>>2]=1;d=0}if(r[295326]!=(d&255)){break i}d=q[a+44>>2];l:{m:{if(d){if(d>>>0>=t[a+52>>2]){break m}q[a+44>>2]=d+1;d=r[d|0];break l}d=ej(q[a+32>>2]);if((d|0)!=-1){break l}}q[a+108>>2]=1;d=0}if(r[295327]!=(d&255)){break i}if(q[a+108>>2]){break a}q[e>>2]=q[73831];d=4;while(1){f=q[a+44>>2];n:{o:{if(f){if(f>>>0>=t[a+52>>2]){break o}q[a+44>>2]=f+1;f=r[f|0];break n}f=ej(q[a+32>>2]);if((f|0)!=-1){break n}}q[a+108>>2]=1;f=0}o[d+e|0]=f;d=d+1|0;if((d|0)!=27){continue}break}if(q[a+108>>2]){break b}if(r[e+4|0]){break h}j=s[e+22>>1]|s[e+24>>1]<<16;p[e+22>>1]=0;p[e+24>>1]=0;f=r[e+26|0];d=q[(r[e|0]<<2)+968640>>2];d=q[((r[e+1|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+2|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+3|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[(d>>>22&1020)+968640>>2]^d<<8;d=q[((r[e+5|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+6|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+7|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+8|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+9|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+10|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+11|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+12|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+13|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+14|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+15|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+16|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+17|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+18|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+19|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+20|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+21|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[(d>>>22&1020)+968640>>2]^d<<8;d=q[((r[e+23|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+24|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((r[e+25|0]^d>>>24)<<2)+968640>>2]^d<<8;d=q[((f^d>>>24)<<2)+968640>>2]^d<<8;p:{if(!f){break p}k=f>>>0>1?f:1;i=0;h=0;while(1){f=q[a+44>>2];q:{r:{if(f){if(f>>>0>=t[a+52>>2]){break r}q[a+44>>2]=f+1;f=r[f|0];break q}f=ej(q[a+32>>2]);if((f|0)!=-1){break q}}q[a+108>>2]=1;f=0}f=f&255;d=q[((f^d>>>24)<<2)+968640>>2]^d<<8;i=f+i|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}if(!i){break p}f=0;if(q[a+108>>2]){break a}while(1){h=q[a+44>>2];s:{t:{if(h){if(h>>>0>=t[a+52>>2]){break t}q[a+44>>2]=h+1;h=r[h|0];break s}h=ej(q[a+32>>2]);if((h|0)!=-1){break s}}q[a+108>>2]=1;h=0}d=q[((h&255^d>>>24)<<2)+968640>>2]^d<<8;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if((d|0)!=(j|0)){break h}if(b){d=0;u:{if(r[a+60|0]){break u}d=q[a+44>>2];if(d){d=d-q[a+48>>2]|0;break u}d=um(q[a+32>>2])-q[a+36>>2]|0}q[b>>2]=d}if(c){q[c>>2]=r[e+5|0]>>>2&1}f=1;if(r[a+60|0]){break a}b=g-1|0;q[a+108>>2]=0;if(q[a+44>>2]){c=q[a+52>>2];v:{if((b|0)>=0){b=b+q[a+48>>2]|0;if(b>>>0>>0){break v}}q[a+44>>2]=c;q[a+108>>2]=1;break a}q[a+44>>2]=b;break a}w:{if((b|0)>=0){c=q[a+36>>2];b=c+b|0;if(b>>>0>=c>>>0){break w}}q[a+108>>2]=1;b=2147483647}if(!Ik(q[a+32>>2],b,0)){break a}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2);break a}if(q[a+108>>2]){break a}}if(r[a+60|0]){break d}q[a+108>>2]=0;if(q[a+44>>2]){d=q[a+52>>2];x:{if((g|0)>=0){g=q[a+48>>2]+g|0;if(g>>>0>>0){break x}}q[a+44>>2]=d;q[a+108>>2]=1;break b}q[a+44>>2]=g;break d}y:{if((g|0)>=0){d=g;g=q[a+36>>2];d=d+g|0;if(d>>>0>=g>>>0){break y}}q[a+108>>2]=1;d=2147483647}if(!Ik(q[a+32>>2],d,0)){break d}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}if(!q[a+108>>2]){continue}}break}f=0}ti=e+32|0;return f}function yK(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,u=0,v=0,w=0,x=0,y=0,z=0;j=ti-176|0;ti=j;q[j+168>>2]=0;a:{b:{c:{k=q[c>>2];l=q[k+4>>2];d:{e:{if(l){w=c- -64|0;x=c+4|0;while(1){f:{g:{h:{if(l>>>0>m>>>0){k=q[k>>2];n=k+(m<<6)|0;l=q[n+16>>2];if(l>>>0>=26){break h}q[j+164>>2]=q[n+24>>2];l=q[(l<<2)+59720>>2];i:{if(q[n+44>>2]-3>>>0<2){q[j+164>>2]=15;l=lea(b,l,q[n>>2],q[n+4>>2]);if(ica(a,n,r[q[c>>2]+12|0],l,x,w,j+164|0)){break i}q[j+80>>2]=a;Ai(4,59138,59146,j+80|0);break f}if(!(xi[q[77500]](b,l)|0)){break f}}q[j+148>>2]=0;q[j+152>>2]=0;o[j+155|0]=0;o[j+156|0]=0;o[j+157|0]=0;o[j+158|0]=0;q[j+140>>2]=0;q[j+144>>2]=0;q[j+128>>2]=2;q[j+132>>2]=1;q[j+120>>2]=3;q[j+124>>2]=5;q[j+112>>2]=0;q[j+116>>2]=0;q[j+136>>2]=1;xi[q[77434]](b,j+124|0,j+128|0);q[j+120>>2]=l;p[j+152>>1]=q[n>>2];l=k+(m<<6)|0;p[j+154>>1]=q[l+4>>2];a=q[c>>2];v=q[a+12>>2];o[j+158|0]=f<<26>>24>>>7&f&31|f<<1&128;q[j+144>>2]=e&65535;q[j+140>>2]=d&65535;p[j+156>>1]=v;e=f&32;if(!(g|h)){o[j+110|0]=1;p[j+108>>1]=0;q[j+104>>2]=1;q[j+96>>2]=0;q[j+100>>2]=0;j:{k:{switch(q[a+8>>2]-1|0){case 2:q[j+96>>2]=1;break j;case 1:q[j+96>>2]=2;break j;default:J(59169,59171,155,59212);G();case 0:break k}}q[j+96>>2]=0}p[j+100>>1]=q[n>>2];p[j+102>>1]=q[l+4>>2];p[j+104>>1]=q[a+12>>2];a=k+(m<<6)|0;p[j+106>>1]=q[a+8>>2];p[j+108>>1]=q[a+12>>2];o[j+110|0]=q[j+164>>2];g=xi[q[77501]](b,j+96|0)|0;h=wi;break g}a=xi[q[77507]](g,h)|0;d=xi[q[77508]](g,h)|0;f=rJ(a,r[j+158|0]&127);v=rJ(d,r[j+158|0]&127);d=sJ(a>>>0>d>>>0?a:d);a=o[j+158|0];l:{if(!e){break l}u=a&127;if(u>>>0<=d>>>0){break l}q[j+68>>2]=d;q[j+64>>2]=u;Ai(4,59138,59229,j- -64|0);a=-1;break d}if((a|0)>-1){break g}y=q[j+140>>2];z=s[j+152>>1];m:{if(f>>>0>>0){d=s[j+154>>1];u=q[j+144>>2];break m}d=s[j+154>>1];u=q[j+144>>2];if(v>>>0>=d+u>>>0){break g}}q[j+56>>2]=a&127;q[j+52>>2]=v;q[j+48>>2]=f;q[j+44>>2]=u;q[j+40>>2]=y;q[j+36>>2]=d;q[j+32>>2]=z;Ai(4,59138,59286,j+32|0);a=-1;break d}J(59579,59591,145,59648);G()}J(59169,59171,68,59659);G()}n:{if(t[n+24>>2]>1){break n}o:{switch(q[j+124>>2]-3|0){case 2:q[j+124>>2]=2;break n;case 0:break o;default:break n}}q[j+124>>2]=1}a=xi[q[77516]](b)|0;b=s[j+152>>1];d=s[j+154>>1];if(!(d>>>0<=a>>>0?a>>>0>=b>>>0:0)){q[j+28>>2]=a;q[j+24>>2]=a;q[j+20>>2]=d;q[j+16>>2]=b;Ai(4,59138,59379,j+16|0);q[j+152>>2]=65537;q[j+116>>2]=4;q[j+120>>2]=3;q[j+112>>2]=59696;o[j+158|0]=r[j+158|0]&128;xi[q[77504]](g,h,j+112|0);break e}p:{a=q[n+24>>2];if(a>>>0<16){if(e){break p}if(!q[j+164>>2]){break e}b=k+(m<<6)|0;e=b;k=0;while(1){a=j;d=k<<2;f=d+c|0;m=q[f+4>>2];q:{if(!m){if(t[n+24>>2]<=k>>>0){break c}f=q[d+q[l+20>>2]>>2];if(f>>>0>=t[b+40>>2]){break b}q[j+112>>2]=f+q[b+36>>2];if(t[b+32>>2]<=k>>>0){break a}d=d+q[e+28>>2]|0;break q}q[j+112>>2]=m;d=f- -64|0}q[a+116>>2]=q[d>>2];o[j+158|0]=r[j+158|0]&128|k&127;xi[q[77504]](g,h,j+112|0);a=s[j+152>>1]>>>1|0;p[j+152>>1]=a;d=s[j+154>>1]>>>1|0;p[j+154>>1]=d;if(!a){p[j+152>>1]=1}if(!d){p[j+154>>1]=1}k=k+1|0;if(k>>>0>2]){continue}break}break e}J(59467,59171,208,59212);G()}r:{b=q[x>>2];s:{if(!b){if(!a){break c}b=q[q[l+20>>2]>>2];a=k+(m<<6)|0;if(b>>>0>=t[a+40>>2]){break b}q[j+112>>2]=b+q[a+36>>2];if(!q[a+32>>2]){break r}w=q[(k+(m<<6)|0)+28>>2];break s}q[j+112>>2]=b}q[j+116>>2]=q[w>>2];xi[q[77504]](g,h,j+112|0);break e}break a}k=q[c>>2];l=q[k+4>>2];m=m+1|0;if(l>>>0>m>>>0){continue}break}}q[j>>2]=a;Ai(4,59138,59517,j);t:{if(g|h){break t}o[j+126|0]=1;p[j+124>>1]=1;q[j+120>>2]=65537;q[j+112>>2]=0;q[j+116>>2]=65537;g=xi[q[77501]](b,j+112|0)|0;a=wi;h=a;if(a|g){break t}a=-13;break d}q[j+148>>2]=0;q[j+152>>2]=0;o[j+155|0]=0;o[j+156|0]=0;o[j+157|0]=0;o[j+158|0]=0;q[j+140>>2]=0;q[j+144>>2]=0;q[j+136>>2]=1;q[j+128>>2]=2;q[j+132>>2]=1;q[j+120>>2]=3;q[j+124>>2]=5;q[j+112>>2]=0;q[j+116>>2]=0;xi[q[77434]](b,j+124|0,j+128|0);q[j+152>>2]=65537;q[j+116>>2]=4;q[j+120>>2]=3;q[j+112>>2]=59696;o[j+158|0]=r[j+158|0]&128;xi[q[77504]](g,h,j+112|0)}q[i>>2]=g;q[i+4>>2]=h;a=0}ti=j+176|0;return a}J(59579,59591,106,59648);G()}J(59579,59591,122,59648);G()}J(59579,59591,114,59648);G()}function JK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{e=c<<2;switch(q[e+q[b+12>>2]>>2]){case 2:break i;case 1:break j;case 0:break k;case 7:break d;case 6:break e;case 5:break f;case 4:break g;case 3:break h;default:break b}}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[q[b+8>>2]+(c<<2)>>2];c=q[b+4>>2]+(c<<3)|0;h=q[c+4>>2];c=q[c>>2];e=1;b=q[b+20>>2];q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=c;q[i+4>>2]=h;c=f<<2;q[c+q[d+12>>2]>>2]=0;f=c+q[d+8>>2]|0;c=q[a+8>>2];q[f>>2]=c;u[q[d+20>>2]+(c<<2)>>2]=u[b+(g<<2)>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[b+16>>2]+(q[q[b+8>>2]+(c<<2)>>2]<<3)|0;g=q[e>>2];h=q[e+4>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];e=1;q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=1;c=b+q[d+8>>2]|0;b=q[a+12>>2];q[c>>2]=b;b=q[d+16>>2]+(b<<3)|0;q[b>>2]=g;q[b+4>>2]=h;a=a+12|0;break c}d=q[a+4>>2];e=q[a>>2];if(d>>>0>=t[e>>2]){break a}f=q[q[b+8>>2]+(c<<2)>>2];c=q[b+4>>2]+(c<<3)|0;g=q[c+4>>2];c=q[c>>2];h=q[b+24>>2];q[a+4>>2]=d+1;b=q[e+4>>2]+(d<<3)|0;q[b>>2]=c;q[b+4>>2]=g;b=d<<2;q[b+q[e+12>>2]>>2]=2;c=b+q[e+8>>2]|0;b=q[a+20>>2];q[c>>2]=b;b=b+q[e+24>>2]|0;c=f+h|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=d;o[b+1|0]=d>>>8;o[b+2|0]=d>>>16;o[b+3|0]=d>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;e=r[c+28|0]|r[c+29|0]<<8|(r[c+30|0]<<16|r[c+31|0]<<24);d=r[c+24|0]|r[c+25|0]<<8|(r[c+26|0]<<16|r[c+27|0]<<24);o[b+24|0]=d;o[b+25|0]=d>>>8;o[b+26|0]=d>>>16;o[b+27|0]=d>>>24;o[b+28|0]=e;o[b+29|0]=e>>>8;o[b+30|0]=e>>>16;o[b+31|0]=e>>>24;e=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);d=r[c+16|0]|r[c+17|0]<<8|(r[c+18|0]<<16|r[c+19|0]<<24);o[b+16|0]=d;o[b+17|0]=d>>>8;o[b+18|0]=d>>>16;o[b+19|0]=d>>>24;o[b+20|0]=e;o[b+21|0]=e>>>8;o[b+22|0]=e>>>16;o[b+23|0]=e>>>24;e=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[b+12|0]=e;o[b+13|0]=e>>>8;o[b+14|0]=e>>>16;o[b+15|0]=e>>>24;e=32;a=a+20|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[e+q[b+8>>2]>>2];h=q[b+20>>2];e=3;b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=3;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=h+(g<<2)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=q[e+q[b+8>>2]>>2];h=q[b+20>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;e=q[d+4>>2]+(f<<3)|0;q[e>>2]=b;q[e+4>>2]=c;e=4;b=f<<2;q[b+q[d+12>>2]>>2]=4;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=h+(g<<2)|0;u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[e+q[b+8>>2]>>2];g=q[b+20>>2];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;h=q[d+4>>2]+(f<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=5;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;b=q[d+20>>2]+(b<<2)|0;c=g+(e<<2)|0;u[b>>2]=u[c>>2];e=4;u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];a=a+8|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}g=r[q[b+28>>2]+q[q[b+8>>2]+(c<<2)>>2]|0];b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];e=1;q[a+4>>2]=f+1;h=q[d+4>>2]+(f<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=6;c=b+q[d+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;o[b+q[d+28>>2]|0]=(g|0)!=0;a=a+16|0;break c}f=q[a+4>>2];d=q[a>>2];if(f>>>0>=t[d>>2]){break a}e=q[b+28>>2]+q[e+q[b+8>>2]>>2]|0;b=q[b+4>>2]+(c<<3)|0;c=q[b+4>>2];b=q[b>>2];q[a+4>>2]=f+1;g=q[d+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=7;c=b+q[d+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;c=b+q[d+28>>2]|0;b=e;e=Ui(e)+1|0;Gi(c,b,e);a=a+16|0}q[a>>2]=q[a>>2]+e;return}J(13959,13844,420,14150);G()}J(14062,13844,256,14125);G()}function _ma(a,b){a=a|0;b=b|0;var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=x(0),m=0,n=0,p=x(0),t=x(0),v=x(0),w=x(0),y=0,z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),G=x(0),H=x(0);b=ti-368|0;ti=b;m=q[a+8>>2];y=q[m+16>>2];n=q[m+20>>2]-y|0;i=0;a:{if(!n){break a}i=q[(y+n|0)-4>>2]}q[75588]=q[75588]+(q[m+4>>2]-q[m>>2]>>5);n=q[m+4>>2]-q[m>>2]>>5;q[b+8>>2]=n;q[b+12>>2]=0;q[b+360>>2]=n;q[b+364>>2]=0;b:{if(!(!i|!(r[i+28|0]&2))){m=q[a+12>>2];y=xi[q[77429]](q[m+2384>>2])|0;n=xi[q[77430]](q[m+2384>>2])|0;a=r[i+28|0];c=u[i+8>>2];np(b+336|0,q[i>>2]);d=x(y>>>0);h=x(n>>>0);c:{if(r[i+28|0]&4){g=x(xi[q[77431]](q[m+2384>>2]));C=x(1);j=u[i+20>>2];k=u[i+16>>2];c=x(d/g);d=u[i+24>>2];c=x(c/d);e=x(c*x(.5));l=x(c*x(-.5));f=x(x(1)/x(e-l));u[b+272>>2]=f+f;c=x(x(h/g)/d);d=x(c*x(.5));c=x(c*x(-.5));h=x(x(1)/x(d-c));g=x(h*x(-x(c+d)));f=x(f*x(-x(l+e)));c=x(x(1)/x(k-j));e=x(x(k+j)*c);l=x(h+h);d=x(c+c);c=x(0);break c}f=u[i+20>>2];e=u[i+16>>2];l=VB(x(x(u[i+12>>2]*x(-.5))+x(1.5707963705062866)));u[b+272>>2]=l/(a&1?x(d/h):c);c=x(x(1)/x(e-f));d=x(x(e+f)*c);c=x(x(e*f)*c);e=x(c+c);f=x(0);c=x(-1)}q[b+296>>2]=0;q[b+300>>2]=0;u[b+292>>2]=l;q[b+304>>2]=0;q[b+308>>2]=0;u[b+332>>2]=C;u[b+328>>2]=e;u[b+324>>2]=g;u[b+316>>2]=c;u[b+312>>2]=d;q[b+284>>2]=0;q[b+288>>2]=0;q[b+276>>2]=0;q[b+280>>2]=0;u[b+320>>2]=f;$s(b+256|0,q[i>>2]);D=u[b+344>>2];E=u[b+336>>2];G=u[b+340>>2];p=u[b+268>>2];t=u[b+264>>2];v=u[b+260>>2];w=u[b+256>>2];q[b+252>>2]=1065353216;y=0;q[b+236>>2]=0;q[b+220>>2]=0;C=x(p*x(0));j=x(t*x(0));g=x(w+x(C+j));k=x(v*x(0));h=x(w*x(0));f=x(x(k+h)-t);e=x(x(h-p)-k);d=x(x(C-v)-j);c=x(D-x(D+x(x(w*g)+x(x(x(t*f)+x(p*e))-x(v*d)))));H=c;l=x(E-x(E+x(x(v*e)+x(x(x(p*d)+x(w*f))-x(t*g)))));d=x(G-x(G+x(x(t*d)+x(x(x(p*g)+x(v*f))-x(w*e)))));c=x(x(1)/x(F(x(x(c*c)+x(x(l*l)+x(d*d))))));z=x(H*c);u[b+232>>2]=z;A=x(d*c);u[b+216>>2]=A;B=x(l*c);l=x(-x(x(E*B)+x(x(G*A)+x(D*z))));u[b+248>>2]=l;g=x(x(p+j)-h);f=x(x(C+w)-k);e=x(j+x(v+h));d=x(x(C+k)-t);c=x(x(w*g)+x(x(x(p*f)+x(t*e))-x(v*d)));H=c;h=x(c*c);c=x(x(v*f)+x(x(x(p*d)+x(w*e))-x(t*g)));g=x(x(t*d)+x(x(x(p*g)+x(v*e))-x(w*f)));e=x(x(1)/x(F(x(h+x(x(c*c)+x(g*g))))));d=x(H*e);c=x(c*e);f=x(x(B*d)-x(c*z));H=x(c*A);c=x(g*e);e=x(H-x(B*c));d=x(x(c*z)-x(d*A));c=x(x(1)/x(F(x(x(e*e)+x(x(d*d)+x(f*f))))));j=x(f*c);k=x(d*c);g=x(x(B*j)-x(A*k));u[b+228>>2]=g;h=x(e*c);f=x(x(z*k)-x(B*h));u[b+212>>2]=f;e=x(x(A*h)-x(z*j));d=x(-x(x(E*e)+x(x(G*f)+x(D*g))));u[b+244>>2]=d;q[b+204>>2]=0;u[b+200>>2]=B;u[b+224>>2]=h;u[b+208>>2]=j;u[b+192>>2]=k;u[b+196>>2]=e;c=x(-x(x(E*k)+x(x(G*j)+x(D*h))));u[b+240>>2]=c;a=q[61746];n=q[a+8>>2];a=q[a+12>>2];q[b+124>>2]=1065353216;u[b+120>>2]=l;u[b+116>>2]=d;u[b+112>>2]=c;q[b+108>>2]=0;u[b+104>>2]=z;u[b+100>>2]=g;u[b+96>>2]=h;q[b+92>>2]=0;u[b+88>>2]=A;u[b+84>>2]=f;u[b+80>>2]=j;q[b+76>>2]=0;u[b+72>>2]=B;u[b+68>>2]=e;u[b+64>>2]=k;u[b+128>>2]=u[b+272>>2];u[b+132>>2]=u[b+276>>2];u[b+136>>2]=u[b+280>>2];u[b+140>>2]=u[b+284>>2];u[b+144>>2]=u[b+288>>2];u[b+148>>2]=u[b+292>>2];u[b+152>>2]=u[b+296>>2];u[b+156>>2]=u[b+300>>2];u[b+160>>2]=u[b+304>>2];u[b+164>>2]=u[b+308>>2];u[b+168>>2]=u[b+312>>2];u[b+172>>2]=u[b+316>>2];u[b+176>>2]=u[b+320>>2];u[b+180>>2]=u[b+324>>2];u[b+184>>2]=u[b+328>>2];u[b+188>>2]=u[b+332>>2];d:{if(zo(q[i>>2],s[i+30>>1],b+48|0)){Ai(4,43743,43788,0);a=1;break d}q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+40|0]=0;o[b+41|0]=0;o[b+42|0]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;y=-1e3;e:{if(gn(q[64918],b+16|0)){q[b>>2]=q[64918];Ai(4,43743,43856,b);a=1;break e}fk(0,b+16|0,n,a,0,q[61746],b+48|0,144);kG(m,b+272|0);jG(m,b+192|0);a=0}}if(a){break b}}y=0}ti=b+368|0;return y|0}function Iq(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;Xv(a,b,c);a:{if(q[b>>2]!=10){break a}i=q[b+8>>2];if((i|0)==-1){break a}d=q[b+16>>2];if((d|0)!=-1){h=q[q[a>>2]+12>>2];while(1){f=d;e=h+(d<<2)|0;g=q[e>>2];d=(g>>>14|0)-131071|0;d=(d|0)==-1?-1:(f+d|0)+1|0;if((d|0)!=-1){continue}break}f=i+(f^-1)|0;d=f>>31;h=e;if((d^d+f)>=131072){Dj(q[a+12>>2],136537);g=q[e>>2]}q[h>>2]=(g&16383|f<<14)+2147467264;break a}q[b+16>>2]=i}d=q[b+16>>2];g=q[b+20>>2];b:{if((d|0)==(g|0)){break b}m=-1;c:{d:{if((d|0)!=-1){h=q[q[a>>2]+12>>2];while(1){e=h+(d<<2)|0;e:{if((d|0)>=1){f=q[e-4>>2];if(o[(f&63)+136048|0]<0){break e}}f=q[e>>2]}if((f&63)!=27){break d}f=d;d=(q[e>>2]>>>14|0)-131071|0;d=(d|0)==-1?-1:(f+d|0)+1|0;if((d|0)!=-1){continue}break}}j=-1;if((g|0)==-1){break c}e=q[q[a>>2]+12>>2];while(1){d=e+(g<<2)|0;f:{if((g|0)>=1){f=q[d-4>>2];if(o[(f&63)+136048|0]<0){break f}}f=q[d>>2]}if((f&63)!=27){break d}d=(q[d>>2]>>>14|0)-131071|0;g=(d|0)==-1?-1:(d+g|0)+1|0;if((g|0)!=-1){continue}break}break c}e=-1;g:{if(q[b>>2]==10){break g}f=q[a+32>>2];q[a+32>>2]=-1;e=Qk(a,2147450902,q[q[a+12>>2]+8>>2]);if((f|0)==-1){break g}if((e|0)==-1){e=f;break g}k=q[q[a>>2]+12>>2];d=e;while(1){h=d;g=k+(d<<2)|0;i=q[g>>2];d=(i>>>14|0)-131071|0;d=(d|0)==-1?-1:(h+d|0)+1|0;if((d|0)!=-1){continue}break}f=f+(h^-1)|0;d=f>>31;h=g;if((d^d+f)>=131072){Dj(q[a+12>>2],136537);i=q[g>>2]}q[h>>2]=(i&16383|f<<14)+2147467264}q[a+28>>2]=q[a+24>>2];d=c<<6;j=Qk(a,d|16386,q[q[a+12>>2]+8>>2]);q[a+28>>2]=q[a+24>>2];m=Qk(a,d|8388610,q[q[a+12>>2]+8>>2]);q[a+28>>2]=q[a+24>>2];if((e|0)==-1){break c}d=q[a+32>>2];if((d|0)!=-1){i=q[q[a>>2]+12>>2];while(1){g=d;f=i+(d<<2)|0;h=q[f>>2];d=(h>>>14|0)-131071|0;d=(d|0)==-1?-1:(g+d|0)+1|0;if((d|0)!=-1){continue}break}e=(g^-1)+e|0;d=e>>31;g=f;if((d^d+e)>=131072){Dj(q[a+12>>2],136537);h=q[f>>2]}q[g>>2]=(h&16383|e<<14)+2147467264;break c}q[a+32>>2]=e}k=q[a+24>>2];q[a+28>>2]=k;d=q[b+20>>2];h:{if((d|0)==-1){break h}if((c|0)==255){while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;l=(d+e|0)+1|0;i:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+136048|0]<0){break i}}f=g;e=h}i=i?-1:l;j:{k:{l:{if((f&63)!=27){d=(d^-1)+j|0;e=d>>31;if((e^d+e)>131071){break l}break j}q[e>>2]=f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)<131072){break k}}Dj(q[a+12>>2],136537)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break h}}l=c<<6&16320;while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;n=(d+e|0)+1|0;m:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+136048|0]<0){break m}}f=g;e=h}i=i?-1:n;n:{o:{p:{if((f&63)==27){q[e>>2]=(f>>>23|0)!=(c|0)?l|f&-16321:f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)>131071){break p}break o}d=(d^-1)+j|0;e=d>>31;if((e^d+e)<131072){break n}}Dj(q[a+12>>2],136537)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break}}d=q[b+16>>2];if((d|0)==-1){break b}if((c|0)==255){while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;j=(d+e|0)+1|0;q:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+136048|0]<0){break q}}f=g;e=h}i=i?-1:j;r:{s:{t:{if((f&63)!=27){d=(d^-1)+m|0;e=d>>31;if((e^d+e)>131071){break t}break r}q[e>>2]=f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)<131072){break s}}Dj(q[a+12>>2],136537)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break b}}j=c<<6&16320;while(1){h=q[q[a>>2]+12>>2]+(d<<2)|0;g=q[h>>2];e=(g>>>14|0)-131071|0;i=(e|0)==-1;l=(d+e|0)+1|0;u:{if((d|0)>=1){e=h-4|0;f=q[e>>2];if(o[(f&63)+136048|0]<0){break u}}f=g;e=h}i=i?-1:l;v:{w:{x:{if((f&63)==27){q[e>>2]=(f>>>23|0)!=(c|0)?j|f&-16321:f&8372224|f>>>17&32704|26;d=(d^-1)+k|0;e=d>>31;if((e^d+e)>131071){break x}break w}d=(d^-1)+m|0;e=d>>31;if((e^d+e)<131072){break v}}Dj(q[a+12>>2],136537)}g=q[h>>2]}q[h>>2]=(g&16383|d<<14)+2147467264;d=i;if((d|0)!=-1){continue}break}}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=c;q[b>>2]=12}function Hwa(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,p=0,s=0,t=0,u=0,v=0,w=0;f=-1;a:{if(!a|(d|0)<0){break a}if(!d){if((c|0)!=1){break a}return r[a|0]?-1:0}if(!c){break a}k=b+d|0;t=k-32|0;l=a+c|0;u=l-16|0;v=k-5|0;m=k-7|0;n=l-5|0;w=l-8|0;p=k-12|0;s=l-15|0;h=a;d=b;b:{while(1){c:{c=h+1|0;j=r[h|0];f=j>>>4|0;d:{e:{f:{if((f|0)!=15){if(d>>>0>t>>>0|c>>>0>=u>>>0){break f}h=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d|0]=e;o[d+1|0]=e>>>8;o[d+2|0]=e>>>16;o[d+3|0]=e>>>24;o[d+4|0]=h;o[d+5|0]=h>>>8;o[d+6|0]=h>>>16;o[d+7|0]=h>>>24;h=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);e=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[d+8|0]=e;o[d+9|0]=e>>>8;o[d+10|0]=e>>>16;o[d+11|0]=e>>>24;o[d+12|0]=h;o[d+13|0]=h>>>8;o[d+14|0]=h>>>16;o[d+15|0]=h>>>24;e=d+f|0;c=c+f|0;i=r[c|0]|r[c+1|0]<<8;g=e-i|0;h=c+2|0;f=j&15;d=h;if((f|0)==15){break e}d=h;if(i>>>0<8){break e}if(b>>>0>g>>>0){break d}c=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);d=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);o[e|0]=d;o[e+1|0]=d>>>8;o[e+2|0]=d>>>16;o[e+3|0]=d>>>24;o[e+4|0]=c;o[e+5|0]=c>>>8;o[e+6|0]=c>>>16;o[e+7|0]=c>>>24;c=r[g+12|0]|r[g+13|0]<<8|(r[g+14|0]<<16|r[g+15|0]<<24);d=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);o[e+8|0]=d;o[e+9|0]=d>>>8;o[e+10|0]=d>>>16;o[e+11|0]=d>>>24;o[e+12|0]=c;o[e+13|0]=c>>>8;o[e+14|0]=c>>>16;o[e+15|0]=c>>>24;c=r[g+16|0]|r[g+17|0]<<8;o[e+16|0]=c;o[e+17|0]=c>>>8;d=(e+f|0)+4|0;continue}f=0;if(c>>>0>=s>>>0){break b}while(1){g:{h=r[c|0];f=h+f|0;c=c+1|0;if(s>>>0<=c>>>0){break g}if((h|0)==255){continue}}break}f=f+15|0;if(f>>>0>(d^-1)>>>0|(c^-1)>>>0>>0){break b}}e=d+f|0;h=c+f|0;if(!(h>>>0<=w>>>0?p>>>0>=e>>>0:0)){if((h|0)!=(l|0)|e>>>0>k>>>0){break b}Sk(d,c,f);f=e-b|0;break a}while(1){f=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);g=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=f;o[d+5|0]=f>>>8;o[d+6|0]=f>>>16;o[d+7|0]=f>>>24;c=c+8|0;d=d+8|0;if(e>>>0>d>>>0){continue}break}f=j&15;i=r[h|0]|r[h+1|0]<<8;g=e-i|0;d=h+2|0}if((f|0)!=15){h=d;break d}c=d>>>0>n>>>0?d:n;f=0;while(1){h=d+1|0;if((c|0)==(d|0)){break c}j=r[d|0];f=j+f|0;d=h;if((j|0)==255){continue}break}c=d;f=f+15|0;if(f>>>0>(e^-1)>>>0){break b}}if(b>>>0>g>>>0){break c}j=f+4|0;d=j+e|0;h:{if(i>>>0<=7){o[e|0]=0;o[e+1|0]=0;o[e+2|0]=0;o[e+3|0]=0;o[e|0]=r[g|0];o[e+1|0]=r[g+1|0];o[e+2|0]=r[g+2|0];o[e+3|0]=r[g+3|0];c=g;g=i<<2;c=c+q[g+178976>>2]|0;f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[e+4|0]=f;o[e+5|0]=f>>>8;o[e+6|0]=f>>>16;o[e+7|0]=f>>>24;c=c-q[g+179008>>2]|0;break h}c=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);f=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);o[e|0]=f;o[e+1|0]=f>>>8;o[e+2|0]=f>>>16;o[e+3|0]=f>>>24;o[e+4|0]=c;o[e+5|0]=c>>>8;o[e+6|0]=c>>>16;o[e+7|0]=c>>>24;c=g+8|0}f=e+8|0;if(d>>>0>p>>>0){if(d>>>0>v>>>0){break c}e=c;g=f;if(m>>>0>g>>>0){while(1){i=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);j=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);o[g|0]=j;o[g+1|0]=j>>>8;o[g+2|0]=j>>>16;o[g+3|0]=j>>>24;o[g+4|0]=i;o[g+5|0]=i>>>8;o[g+6|0]=i>>>16;o[g+7|0]=i>>>24;e=e+8|0;g=g+8|0;if(m>>>0>g>>>0){continue}break}c=(m-f|0)+c|0;f=m}if(d>>>0<=f>>>0){continue}while(1){o[f|0]=r[c|0];c=c+1|0;f=f+1|0;if((f|0)!=(d|0)){continue}break}continue}g=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);i=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[f|0]=i;o[f+1|0]=i>>>8;o[f+2|0]=i>>>16;o[f+3|0]=i>>>24;o[f+4|0]=g;o[f+5|0]=g>>>8;o[f+6|0]=g>>>16;o[f+7|0]=g>>>24;if(j>>>0<17){continue}f=e+16|0;while(1){e=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);g=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[f|0]=g;o[f+1|0]=g>>>8;o[f+2|0]=g>>>16;o[f+3|0]=g>>>24;o[f+4|0]=e;o[f+5|0]=e>>>8;o[f+6|0]=e>>>16;o[f+7|0]=e>>>24;c=c+8|0;f=f+8|0;if(f>>>0>>0){continue}break}continue}break}c=h}return(c^-1)+a|0}return f}function Rn(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=ti-16|0;ti=f;a:{b:{c:{c=q[a+8>>2];if(c>>>0>2]){j=q[a+16>>2];g=r[c|0];d=q[j+(g<<2)>>2];q[b>>2]=d;if((d|0)==11){break c}e=c;break b}q[b>>2]=10;break a}while(1){e=c+1|0;q[a+8>>2]=e;g=r[c+1|0];d=q[(g<<2)+j>>2];q[b>>2]=d;c=e;if((d|0)==11){continue}break}}h=e-q[a>>2]|0;q[b+4>>2]=h;d:{switch(d-10|0){case 2:q[b+4>>2]=h;q[b>>2]=12;q[b+8>>2]=134234;break a;default:q[a+8>>2]=e+1;break a;case 0:break a;case 3:break d}}e:{f:{g:{h:{i:{switch(g-34|0){case 0:if(r[e|0]!=34){break g}c=e+1|0;q[a+8>>2]=c;q[q[a+12>>2]+8>>2]=0;while(1){j:{d=r[c|0];k:{if((d|0)!=92){if((d|0)==34){break j}if(d){break k}a=q[a>>2];q[b+8>>2]=134304;q[b>>2]=12;q[b+4>>2]=c-a;break a}l:{d=r[(r[c+1|0]+j|0)+1024|0];if((d|0)!=117){if(d){break l}a=q[a>>2];q[b+8>>2]=134357;q[b>>2]=12;q[b+4>>2]=c-a;break a}i=-48;m:{d=r[c+2|0];n:{if((d-48&255)>>>0<10){k=-48;break n}k=-87;d=d|32;if((d-97&255)>>>0>5){break m}}e=r[c+3|0];if((e-48&255)>>>0>=10){i=-87;e=e|32;if((e-97&255)>>>0>5){break m}}l=-48;g=r[c+4|0];o:{if((g-48&255)>>>0<10){m=-48;break o}m=-87;g=g|32;if((g-97&255)>>>0>5){break m}}h=r[c+5|0];if((h-48&255)>>>0>=10){l=-87;h=h|32;if((h-97&255)>>>0>5){break m}}n=6;d=(((e&255)+i<<8)+((d&255)+k<<12)|0)+((g&255)+m<<4)+((h&255)+l)|0;if((d&63488)==55296){if(d&1024|r[c+6|0]!=92|r[c+7|0]!=117){break m}l=-48;e=r[c+8|0];p:{if((e-48&255)>>>0<10){k=-48;break p}k=-87;e=e|32;if((e-97&255)>>>0>5){break m}}g=r[c+9|0];if((g-48&255)>>>0>=10){l=-87;g=g|32;if((g-97&255)>>>0>5){break m}}n=-48;h=r[c+10|0];q:{if((h-48&255)>>>0<10){m=-48;break q}m=-87;h=h|32;if((h-97&255)>>>0>5){break m}}i=r[c+11|0];if((i-48&255)>>>0>=10){n=-87;i=i|32;if((i-97&255)>>>0>5){break m}}e=(((g&255)+l<<8)+((e&255)+k<<12)|0)+((h&255)+m<<4)+((i&255)+n)|0;if((e&64512)!=56320){break m}n=12;d=(d<<10&1047552|e&1023)+65536|0}r:{if((d|0)<=127){o[f+8|0]=d;c=1;break r}if((d|0)<=2047){o[f+9|0]=d&63|128;o[f+8|0]=d>>>6|192;c=2;break r}if((d|0)<=65535){o[f+10|0]=d&63|128;o[f+8|0]=d>>>12|224;o[f+9|0]=d>>>6&63|128;c=3;break r}if((d|0)>2097151){break m}o[f+11|0]=d&63|128;o[f+8|0]=d>>>18|240;o[f+10|0]=d>>>6&63|128;o[f+9|0]=d>>>12&63|128;c=4}e=q[a+12>>2];Gi(q[e>>2]+q[e+8>>2]|0,f+8|0,c);q[e+8>>2]=c+q[e+8>>2];c=q[a+8>>2]+n|0;q[a+8>>2]=c;continue}a=q[a>>2];q[b+8>>2]=134329;q[b>>2]=12;q[b+4>>2]=c-a;break a}q[a+8>>2]=c+1}c=q[a+12>>2];e=q[c+8>>2];q[c+8>>2]=e+1;o[e+q[c>>2]|0]=d;c=q[a+8>>2]+1|0;q[a+8>>2]=c;continue}break}q[a+8>>2]=c+1;c=q[a+12>>2];o[q[c>>2]+q[c+8>>2]|0]=0;q[b>>2]=4;a=q[a+12>>2];q[b+16>>2]=q[a+8>>2];q[b+8>>2]=q[a>>2];break a;default:if((g-48&255)>>>0>9){break h}break;case 11:break i}}if(q[j+1344>>2]){break e}s:{t:{u:{c=e;d=r[c|0];switch(d-43|0){case 0:break s;case 2:break u;default:break t}}c=e+1|0;d=r[e+1|0]}if((d&255)!=48){if(d<<24>>24<58){break e}if(!Ar(c,134377,3)){break s}if(!Ar(c,134381,3)){break s}break e}c=r[c+1|0];if((c&223)==88){break s}if((c-48&255)>>>0>9){break e}}q[b+4>>2]=h;q[b>>2]=12;q[b+8>>2]=134248;break a}if(!tk(e,133724,4)){q[b+8>>2]=1;q[b>>2]=6;q[a+8>>2]=q[a+8>>2]+4;break a}if(!tk(e,133729,5)){q[b+8>>2]=0;q[b>>2]=6;q[a+8>>2]=q[a+8>>2]+5;break a}if(!tk(e,133735,4)){q[b>>2]=7;q[a+8>>2]=e+4;break a}if(!q[j+1344>>2]){break f}v:{w:{x:{c=e;d=r[c|0];switch(d-43|0){case 0:break v;case 2:break x;default:break w}}c=e+1|0;d=r[e+1|0]}if((d&255)!=48){if(d<<24>>24<58){break f}if(!Ar(c,134377,3)){break v}if(!Ar(c,134381,3)){break v}break f}c=r[c+1|0];if((c&223)==88){break v}if((c-48&255)>>>0>9){break f}}q[b>>2]=5;v[b+8>>3]=QE(e,f+4|0);c=q[a+8>>2];e=q[f+4>>2];if((c|0)==(e|0)){a=q[a>>2];q[b+8>>2]=134248;q[b>>2]=12;q[b+4>>2]=c-a;break a}q[a+8>>2]=e;break a}J(134263,134154,1127,134281);G()}q[b+4>>2]=h;q[b>>2]=12;q[b+8>>2]=134234;break a}q[b>>2]=5;v[b+8>>3]=QE(e,f+12|0);c=q[a+8>>2];e=q[f+12>>2];if((c|0)==(e|0)){a=q[a>>2];q[b+8>>2]=134248;q[b>>2]=12;q[b+4>>2]=c-a;break a}q[a+8>>2]=e}ti=f+16|0}function $ra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){a:{b:{c:{if(t[a+116>>2]>261){break c}rs(a);c=q[a+116>>2];if(!(c>>>0>=262|b)){return 0}if(!c){break a}if(c>>>0>2){break c}c=q[a+96>>2];q[a+120>>2]=c;q[a+100>>2]=q[a+112>>2];e=2;q[a+96>>2]=2;break b}e=2;c=q[a+108>>2];d=q[a+84>>2]&(r[(c+q[a+56>>2]|0)+2|0]^q[a+72>>2]<>2]);q[a+72>>2]=d;f=q[a+68>>2]+(d<<1)|0;d=s[f>>1];p[q[a+64>>2]+((c&q[a+52>>2])<<1)>>1]=d;p[f>>1]=c;c=q[a+96>>2];q[a+120>>2]=c;q[a+100>>2]=q[a+112>>2];q[a+96>>2]=2;if(!d){break b}d:{if(q[a+44>>2]-262>>>0>2]-d>>>0|t[a+128>>2]<=c>>>0){break d}e=rE(a,d);q[a+96>>2]=e;if(e>>>0>5){break d}if(q[a+136>>2]!=1){if((e|0)!=3){break d}e=3;if(q[a+108>>2]-q[a+112>>2]>>>0<4097){break d}}e=2;q[a+96>>2]=2}c=q[a+120>>2]}if(!(c>>>0<3|c>>>0>>0)){f=q[a+116>>2];d=q[a+5792>>2];h=q[a+108>>2];e=h+(q[a+100>>2]^-1)|0;p[q[a+5796>>2]+(d<<1)>>1]=e;q[a+5792>>2]=d+1;c=c-3|0;o[d+q[a+5784>>2]|0]=c;c=((r[(c&255)+190768|0]<<2)+a|0)+1176|0;p[c>>1]=s[c>>1]+1;c=e-1&65535;c=((r[(c>>>0<256?c:(c>>>7|0)+256|0)+190256|0]<<2)+a|0)+2440|0;p[c>>1]=s[c>>1]+1;c=q[a+120>>2];e=c-2|0;q[a+120>>2]=e;q[a+116>>2]=(q[a+116>>2]-c|0)+1;f=(f+h|0)-3|0;h=q[a+5788>>2]-1|0;c=q[a+108>>2];i=q[a+5792>>2];while(1){d=c;c=c+1|0;q[a+108>>2]=c;if(c>>>0<=f>>>0){g=q[a+84>>2]&(r[(d+q[a+56>>2]|0)+3|0]^q[a+72>>2]<>2]);q[a+72>>2]=g;g=q[a+68>>2]+(g<<1)|0;p[q[a+64>>2]+((q[a+52>>2]&c)<<1)>>1]=s[g>>1];p[g>>1]=c}e=e-1|0;q[a+120>>2]=e;if(e){continue}break}q[a+96>>2]=2;q[a+104>>2]=0;f=d+2|0;q[a+108>>2]=f;if((h|0)!=(i|0)){continue}c=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}zm(c,e,f-d|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];ql(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;e:{if(!e){break e}Gi(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break e}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}return 0}if(q[a+104>>2]){c=r[(q[a+108>>2]+q[a+56>>2]|0)-1|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;f:{if(q[a+5792>>2]!=(q[a+5788>>2]-1|0)){break f}c=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}zm(c,e,q[a+108>>2]-d|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];ql(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;if(!e){break f}Gi(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break f}q[d+16>>2]=q[d+8>>2]}q[a+108>>2]=q[a+108>>2]+1;q[a+116>>2]=q[a+116>>2]-1;if(q[q[a>>2]+16>>2]){continue}return 0}else{q[a+104>>2]=1;q[a+108>>2]=q[a+108>>2]+1;q[a+116>>2]=q[a+116>>2]-1;continue}}break}if(q[a+104>>2]){c=r[(q[a+108>>2]+q[a+56>>2]|0)-1|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;q[a+104>>2]=0}c=q[a+108>>2];q[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}zm(b,e,c-d|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;g:{if(!d){break g}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break g}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}h:{if(!q[a+5792>>2]){break h}b=a;d=q[a+92>>2];if((d|0)>=0){e=d+q[a+56>>2]|0}else{e=0}zm(b,e,c-d|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;i:{if(!d){break i}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break i}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break h}return 0}return 1}function ww(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:while(1){k=b-2|0;b:while(1){f=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-f|0;d=a>>1;switch(d|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}c=q[c>>2]+8|0;a=b-2|0;b=s[a>>1];d=s[f>>1];if(s[(c+w(b,112)|0)+104>>1]>=s[(c+w(d,112)|0)+104>>1]){break d}p[f>>1]=b;p[a>>1]=d;return}c=q[c>>2];g=c+8|0;a=b-2|0;d=s[a>>1];e=s[(g+w(d,112)|0)+104>>1];b=s[f>>1];h=g+w(b,112)|0;k=s[f+2>>1];g=s[(g+w(k,112)|0)+104>>1];if(s[h+104>>1]<=g>>>0){if(e>>>0>=g>>>0){break d}p[f+2>>1]=d;p[a>>1]=k;b=c+8|0;a=s[f+2>>1];c=s[f>>1];if(s[(b+w(a,112)|0)+104>>1]>=s[(b+w(c,112)|0)+104>>1]){break d}p[f+2>>1]=c;p[f>>1]=a;return}if(e>>>0>>0){p[f>>1]=d;p[a>>1]=b;return}p[f+2>>1]=b;p[f>>1]=k;d=s[a>>1];if(s[(c+w(d,112)|0)+112>>1]>=s[h+104>>1]){break d}p[f+2>>1]=d;p[a>>1]=b;return}a=f;yr(f,f+2|0,f+4|0,f+6|0,c);g=q[c>>2];c=g+8|0;b=b-2|0;d=s[b>>1];e=s[f+6>>1];if(s[(c+w(d,112)|0)+104>>1]>=s[(c+w(e,112)|0)+104>>1]){break d}p[a+6>>1]=d;p[b>>1]=e;d=s[a+6>>1];e=c+w(d,112)|0;b=f;k=s[f+4>>1];if(s[e+104>>1]>=s[(c+w(k,112)|0)+104>>1]){break d}p[b+4>>1]=d;p[a+6>>1]=k;b=s[f+2>>1];if(s[e+104>>1]>=s[(g+w(b,112)|0)+112>>1]){break d}p[a+4>>1]=b;p[a+2>>1]=d;b=s[a>>1];if(s[e+104>>1]>=s[(g+w(b,112)|0)+112>>1]){break d}p[a+2>>1]=b;p[a>>1]=d;return}if((a|0)<=61){aO(f,b,c);return}h=((d|0)/2<<1)+f|0;l:{if((a|0)>=1999){a=(d|0)/4<<1;g=a+f|0;e=a+h|0;i=yr(f,g,h,e,c);a=q[c>>2];d=a+8|0;j=s[k>>1];l=s[e>>1];if(s[(d+w(j,112)|0)+104>>1]>=s[(d+w(l,112)|0)+104>>1]){break l}p[e>>1]=j;p[k>>1]=l;j=s[e>>1];l=s[h>>1];if(s[(d+w(j,112)|0)+104>>1]>=s[(d+w(l,112)|0)+104>>1]){i=i+1|0;break l}p[h>>1]=j;p[e>>1]=l;e=s[h>>1];j=s[g>>1];if(s[(d+w(e,112)|0)+104>>1]>=s[(d+w(j,112)|0)+104>>1]){i=i+2|0;break l}p[g>>1]=e;p[h>>1]=j;e=s[g>>1];j=s[f>>1];if(s[(d+w(e,112)|0)+104>>1]>=s[(d+w(j,112)|0)+104>>1]){i=i+3|0;break l}p[f>>1]=e;p[g>>1]=j;i=i+4|0;break l}a=q[c>>2];d=a+8|0;e=s[k>>1];j=s[(d+w(e,112)|0)+104>>1];l=s[h>>1];m=s[(d+w(l,112)|0)+104>>1];g=s[f>>1];n=d+w(g,112)|0;m:{if(m>>>0>=s[n+104>>1]){i=0;if(j>>>0>=m>>>0){break l}p[h>>1]=e;p[k>>1]=l;i=1;g=s[h>>1];e=s[f>>1];if(s[(d+w(g,112)|0)+104>>1]>=s[(d+w(e,112)|0)+104>>1]){break l}p[f>>1]=g;p[h>>1]=e;break m}if(j>>>0>>0){p[f>>1]=e;p[k>>1]=g;i=1;break l}p[f>>1]=l;p[h>>1]=g;i=1;d=s[k>>1];if(s[(w(d,112)+a|0)+112>>1]>=s[n+104>>1]){break l}p[h>>1]=d;p[k>>1]=g}i=2}e=k;j=a+8|0;d=s[f>>1];g=s[(j+w(d,112)|0)+104>>1];l=s[(j+w(s[h>>1],112)|0)+104>>1];if(g>>>0>=l>>>0){while(1){e=e-2|0;if((e|0)==(f|0)){d=f+2|0;e=s[k>>1];if(g>>>0>1]){break e}if((d|0)==(k|0)){break d}while(1){h=s[d>>1];if(g>>>0>1]){p[d>>1]=e;p[k>>1]=h;d=d+2|0;break e}d=d+2|0;if((k|0)!=(d|0)){continue}break}break d}m=s[e>>1];if(l>>>0<=s[(w(m,112)+a|0)+112>>1]){continue}break}p[f>>1]=m;p[e>>1]=d;i=i+1|0}d=f+2|0;if(e>>>0<=d>>>0){break f}while(1){l=s[(w(s[h>>1],112)+a|0)+112>>1];while(1){g=d;d=d+2|0;m=s[g>>1];if(l>>>0>s[(w(m,112)+a|0)+112>>1]){continue}break}while(1){e=e-2|0;n=s[e>>1];if(l>>>0<=s[(w(n,112)+a|0)+112>>1]){continue}break}if(e>>>0>>0){d=g;break f}else{p[g>>1]=n;p[e>>1]=m;h=(g|0)==(h|0)?e:h;i=i+1|0;continue}}}yr(f,f+2|0,f+4|0,b-2|0,c);break d}n:{if((d|0)==(h|0)){break n}a=s[h>>1];g=s[d>>1];if(s[(j+w(a,112)|0)+104>>1]>=s[(j+w(g,112)|0)+104>>1]){break n}p[d>>1]=a;p[h>>1]=g;i=i+1|0}if(!i){g=nM(f,d,c);a=d+2|0;if(nM(a,b,c)){b=d;a=f;if(!g){continue a}break d}if(g){continue b}}if((d-f|0)<(b-d|0)){ww(f,d,c);a=d+2|0;continue b}ww(d+2|0,b,c);b=d;a=f;continue a}e=k;if((e|0)==(d|0)){break d}while(1){h=s[(w(s[f>>1],112)+a|0)+112>>1];while(1){g=d;d=d+2|0;i=s[g>>1];if(h>>>0>=s[(w(i,112)+a|0)+112>>1]){continue}break}while(1){e=e-2|0;j=s[e>>1];if(h>>>0>1]){continue}break}if(e>>>0<=g>>>0){f=g;continue c}else{p[g>>1]=j;p[e>>1]=i;continue}}}break}break}break}}function XP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Jn(a);a:{if(b){break a}if(q[a+128>>2]!=22){if(q[a+8>>2]==1){c=q[a+12>>2];q[a+12>>2]=c+1;d=q[q[a>>2]+160>>2];if((d|0)>=0){b=-30464;if((c|0)>=(d|0)){break a}}q[a+176>>2]=1;return-27392}Ij(a,2,10);return-30464}c=q[a+120>>2];b=q[a>>2];if(r[b+184|0]&2){if(r[c|0]==3){return cQ(a)}yi(q[q[a+68>>2]+480>>2]);b=q[a+68>>2];o[b+484|0]=0;q[b+480>>2]=0;b=q[a>>2]}d=r[b+184|0]&2?12:4;b:{if(!(r[c|0]==2?t[a+168>>2]>=d+38>>>0:0)){Ij(a,2,50);break b}e=q[b+184>>2]>>>1&1;b=c+d|0;qx(a+16|0,a+20|0,e,b);c:{d=q[a+16>>2];c=q[a>>2];d:{if((d|0)>2];if((e|0)r[c+180|0]){break d}if((e|0)<=r[c+181|0]){break c}}Ij(a,2,70);return-28288}d=r[b+30|0]|r[b+31|0]<<8|(r[b+32|0]<<16|r[b+33|0]<<24);e=q[a+68>>2];c=e+1184|0;f=r[b+26|0]|r[b+27|0]<<8|(r[b+28|0]<<16|r[b+29|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;d=r[b+22|0]|r[b+23|0]<<8|(r[b+24|0]<<16|r[b+25|0]<<24);c=e+1176|0;f=r[b+18|0]|r[b+19|0]<<8|(r[b+20|0]<<16|r[b+21|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;d=r[b+14|0]|r[b+15|0]<<8|(r[b+16|0]<<16|r[b+17|0]<<24);c=e+1168|0;f=r[b+10|0]|r[b+11|0]<<8|(r[b+12|0]<<16|r[b+13|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;c=e+1160|0;d=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);e=r[b+2|0]|r[b+3|0]<<8|(r[b+4|0]<<16|r[b+5|0]<<24);o[c|0]=e;o[c+1|0]=e>>>8;o[c+2|0]=e>>>16;o[c+3|0]=e>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;c=r[b+34|0];if(c>>>0>=33){Ij(a,2,50);break b}e:{f=q[a+168>>2];e=c+(r[q[a>>2]+184|0]&2?12:4)|0;if(f>>>0>e+39>>>0){d=b+c|0;d=r[d+38|0]<<8|r[d+39|0];if((f|0)==((d+e|0)+40|0)?d-1>>>0>=3:0){break e}Ij(a,2,50);break b}d=0;if((f|0)==(e+38|0)){break e}Ij(a,2,50);break b}f=b+c|0;if(r[f+37|0]){Ij(a,2,47);return-28800}g=r[f+36|0]|r[f+35|0]<<8;e=Pt(g);q[q[a+68>>2]+1120>>2]=e;if(!e){Ij(a,2,80);return-28928}cU(a,e);f:{g:{h=q[a+68>>2];h:{if(q[a+8>>2]|(!c|!q[h+2252>>2])){break h}e=q[a+64>>2];if((g|0)!=q[e+4>>2]|q[e+8>>2]|(c|0)!=q[e+12>>2]){break h}if(!pj(e+16|0,b+35|0,c)){break g}}q[a+4>>2]=q[a+4>>2]+1;q[h+2252>>2]=0;h=_(0)|0;e=q[a+64>>2];q[e+12>>2]=c;q[e+8>>2]=0;q[e+4>>2]=g;q[e>>2]=h;Gi(e+16|0,b+35|0,c);break f}q[a+4>>2]=12;b=dD(a);if(!b){break f}Ij(a,2,80);return b}e=q[q[a>>2]+(q[a+20>>2]<<2)>>2];b=0;while(1){c=q[e+(b<<2)>>2];if(!c){Ij(a,2,47);break b}b=b+1|0;if((c|0)!=q[q[a+64>>2]+4>>2]){continue}break}c=Pt(c);b=q[a+20>>2];if(kC(c,a,b,b)){Ij(a,2,47);break b}e=0;q[q[a+64>>2]+8>>2]=0;c=f+40|0;while(1){if(d){b=r[c+3|0]|r[c+2|0]<<8;f=b+4|0;if(f>>>0>d>>>0){Ij(a,2,50);break b}i:{j:{k:{l:{m:{n:{o:{p:{q:{g=r[c|0]|r[c+1|0]<<8;g=(g<<24|g<<8&16711680)>>>16|0;switch(g-1|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 16:case 17:case 18:case 19:case 20:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break i;case 15:break j;case 10:break k;case 34:break l;case 22:break m;case 21:break n;case 3:break o;case 0:break p;default:break q}}if((g|0)!=65281){break i}e=1;b=_P(a,c+4|0,b);if(!b){break i}break a}b=bQ(a,c+4|0,b);if(!b){break i}break a}b=QP(a,b);if(!b){break i}break a}b=eQ(a,b);if(!b){break i}break a}b=dQ(a,b);if(!b){break i}break a}b=TP(a,b);if(!b){break i}break a}b=RP(a,c+4|0,b);if(!b){break i}break a}b=iQ(a,c+4|0,b);if(b){break a}}c=c+f|0;b=-31104;d=d-f|0;if(d-1>>>0>=3){continue}break a}break}c=q[a+244>>2];r:{if((q[q[a>>2]+184>>2]&48)==32?!c:0){break r}b=0;if(q[a+8>>2]!=1){break a}if((c|0)==1?!e:0){break r}if(c){break a}if(e){break r}if(q[q[a>>2]+184>>2]&48){break a}}Ij(a,2,40)}b=-31104}return b}function Roa(a,b){var c=0;q[74376]=a;a=b?q[b+120>>2]:0;b=q[a+8>>2]-q[a+12>>2]>>4;q[74378]=Tl(a,17658,17668,238512);q[74377]=Tl(a,14555,17676,238544);ik(a,17684,238624);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17687);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17701);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17723);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17746);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17769);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17791);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17814);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17837);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17851);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17865);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17880);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17897);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17914);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17929);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17945);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17963);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=9;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17981);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=10;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,17996);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=11;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18012);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=12;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18030);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=13;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18048);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=14;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18063);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=15;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18079);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=16;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18097);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=17;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18115);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=18;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18129);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=19;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18144);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=20;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18161);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=21;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18178);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=22;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18192);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=23;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18207);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=24;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18224);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=25;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18241);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=26;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18255);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=27;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18270);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=28;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18287);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=29;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18304);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=30;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18321);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=31;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18339);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=32;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18359);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=33;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18379);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=34;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18393);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=35;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18408);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=36;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18425);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=37;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18442);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=38;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18458);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=39;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18475);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=40;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,18494);Ci(a,-2);if((b|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(16509,15841,2285,18513);G()}}function Ir(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+36>>2];o[c+5|0]=r[c+5|0]|4;a:{b:{c:{d:{switch(r[c+4|0]-5|0){case 0:q[a+36>>2]=q[c+24>>2];b=q[c+8>>2];e:{if(!b){break e}if(r[b+5|0]&3){xk(a,b);b=q[c+8>>2];if(!b){break e}}if(r[b+6|0]&8){break e}b=On(b,3,q[a+200>>2]);if(!b|q[b+8>>2]!=4){break e}b=q[b>>2]+16|0;d=Oj(b,107);b=Oj(b,118);if(d|b){o[c+5|0]=r[c+5|0]&231|(((b|0)!=0)<<4|((d|0)!=0)<<3);q[c+24>>2]=q[a+44>>2];q[a+44>>2]=c}if(b?d:0){break b}if(b){break c}f=(d|0)!=0}b=q[c+28>>2];if(b){while(1){b=b-1|0;d=q[c+12>>2]+(b<<4)|0;f:{if(q[d+8>>2]<4){break f}d=q[d>>2];if(!(r[d+5|0]&3)){break f}xk(a,d)}if(b){continue}break}}b=-1<>2]+(b<<5)|0;e=q[b+8>>2];h:{if(e){if((e|0)<4){break h}b=q[b>>2];if(!(r[b+5|0]&3)){break h}xk(a,b);break h}if(q[b+24>>2]<4){break h}q[b+24>>2]=11}b=d-1|0;if(d){continue}break g}}while(1){e=b;b=q[c+16>>2]+(b<<5)|0;g=b;h=q[b+24>>2];d=q[b+8>>2];i:{if(!d){if((h|0)<4){break i}q[g+24>>2]=11;break i}j:{if((h|0)<4){break j}g=q[b+16>>2];if(!(r[g+5|0]&3)){break j}xk(a,g);d=q[b+8>>2]}if((d|0)<4){break i}b=q[b>>2];if(!(r[b+5|0]&3)){break i}xk(a,b)}b=e-1|0;if(e){continue}break}}if(!f){break a}break b;case 1:q[a+36>>2]=q[c+8>>2];b=q[c+12>>2];if(r[b+5|0]&3){xk(a,b)}k:{if(r[c+6|0]){b=0;e=r[c+7|0];if(!e){e=0;break k}while(1){d=(b<<4)+c|0;l:{if(q[d+32>>2]<4){break l}d=q[d+24>>2];if(!(r[d+5|0]&3)){break l}xk(a,d);e=r[c+7|0]}b=b+1|0;if(b>>>0<(e&255)>>>0){continue}break}break k}b=q[c+16>>2];if(r[b+5|0]&3){xk(a,b)}b=0;e=r[c+7|0];if(!e){e=0;break k}while(1){d=q[((b<<2)+c|0)+20>>2];if(r[d+5|0]&3){xk(a,d);e=r[c+7|0]}b=b+1|0;if(b>>>0<(e&255)>>>0){continue}break}}a=e&255;if(r[c+6|0]){return(a<<4)+24|0}return(a<<2)+20|0;case 3:q[a+36>>2]=q[c+108>>2];q[c+108>>2]=q[a+40>>2];q[a+40>>2]=c;o[c+5|0]=r[c+5|0]&251;m:{if(q[c+80>>2]<4){break m}b=q[c+72>>2];if(!(r[b+5|0]&3)){break m}xk(a,b)}d=q[c+8>>2];e=d;b=q[c+40>>2];f=q[c+20>>2];if(b>>>0<=f>>>0){e=d;while(1){g=q[b+8>>2];e=e>>>0>>0?g:e;b=b+24|0;if(f>>>0>=b>>>0){continue}break}}b=q[c+32>>2];if(d>>>0>b>>>0){while(1){n:{if(q[b+8>>2]<4){break n}f=q[b>>2];if(!(r[f+5|0]&3)){break n}xk(a,f);d=q[c+8>>2]}b=b+16|0;if(d>>>0>b>>>0){continue}break}}if(b>>>0<=e>>>0){while(1){q[b+8>>2]=0;b=b+16|0;if(e>>>0>=b>>>0){continue}break}}a=q[c+48>>2];o:{if((a|0)>2e4){break o}b=e-q[c+32>>2]|0;if(!((a|0)<17|(a|0)<=(q[c+20>>2]-q[c+40>>2]|0)/24<<2)){WX(c,a>>>1|0)}a=q[c+44>>2];if((a|0)<=b>>2|(a|0)<91){break o}dn(c,a>>>1|0)}return(w(q[c+48>>2],24)+(q[c+44>>2]<<4)|0)+120|0;case 4:q[a+36>>2]=q[c+68>>2];b=q[c+32>>2];if(b){o[b+5|0]=r[b+5|0]&252}d=q[c+40>>2];if((d|0)>=1){b=0;while(1){e=q[c+8>>2]+(b<<4)|0;p:{if(q[e+8>>2]<4){break p}e=q[e>>2];if(!(r[e+5|0]&3)){break p}xk(a,e);d=q[c+40>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+36>>2];if((d|0)>=1){b=0;while(1){e=q[q[c+28>>2]+(b<<2)>>2];if(e){o[e+5|0]=r[e+5|0]&252;d=q[c+36>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+52>>2];if((d|0)>=1){b=0;while(1){e=q[q[c+16>>2]+(b<<2)>>2];if(!(!e|!(r[e+5|0]&3))){xk(a,e);d=q[c+52>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}a=q[c+56>>2];if((a|0)>=1){b=0;while(1){d=q[q[c+24>>2]+w(b,12)>>2];if(d){o[d+5|0]=r[d+5|0]&252;a=q[c+56>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}d=q[c+52>>2]}b=((w(a,12)+(q[c+40>>2]<<4)|0)+(q[c+36>>2]+(q[c+48>>2]+(q[c+44>>2]+d|0)|0)<<2)|0)+76|0;break;default:break d}}return b}b=-1<>2]+(b<<5)|0;if(!(q[b+8>>2]|q[b+24>>2]<4)){q[b+24>>2]=11}b=a-1|0;if(a){continue}break b}}while(1){d=b;f=q[c+16>>2]+(b<<5)|0;b=f;e=q[b+24>>2];q:{if(q[b+8>>2]){if((e|0)<4){break q}b=q[f+16>>2];if(!(r[b+5|0]&3)){break q}xk(a,b);break q}if((e|0)<4){break q}q[b+24>>2]=11}b=d-1|0;if(d){continue}break}}o[c+5|0]=r[c+5|0]&251}return((q[c+28>>2]<<4)+(32<>2];b=q[a>>2];e=q[b+8>>2]-q[b+12>>2]>>4;ik(b,70523,244624);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70532);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70548);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70570);a:{if(!d){break a}if(xi[q[77500]](d,0)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70592)}if(xi[q[77500]](d,2)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70617)}if(xi[q[77500]](d,3)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70636)}if(xi[q[77500]](d,6)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70656)}if(xi[q[77500]](d,7)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70677)}if(xi[q[77500]](d,8)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70700)}if(xi[q[77500]](d,9)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=9;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70732)}if(xi[q[77500]](d,10)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=10;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70764)}if(xi[q[77500]](d,11)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=11;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70797)}if(xi[q[77500]](d,12)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=12;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70830)}if(xi[q[77500]](d,15)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=15;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70854)}if(xi[q[77500]](d,16)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=16;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70879)}if(xi[q[77500]](d,17)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=17;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70908)}if(xi[q[77500]](d,18)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=18;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70931)}if(xi[q[77500]](d,19)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=19;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70955)}if(xi[q[77500]](d,20)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=20;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70976)}if(xi[q[77500]](d,21)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=21;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,70998)}if(xi[q[77500]](d,22)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=22;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71022)}if(xi[q[77500]](d,23)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=23;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71044)}if(xi[q[77500]](d,24)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=24;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71066)}if(xi[q[77500]](d,25)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=25;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71089)}if(xi[q[77500]](d,26)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=26;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71112)}if(xi[q[77500]](d,27)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=27;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71132)}if(xi[q[77500]](d,28)|0){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=28;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71153)}if(!(xi[q[77500]](d,29)|0)){break a}d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=29;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71173)}d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71194);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71219);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71248);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71262);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-4;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71290);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-5;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71318);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-6;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71353);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-7;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71383);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-8;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71410);d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=-9;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,71447);Ci(b,-2);if(q[b+8>>2]-q[b+12>>2]>>4!=(e|0)){J(71471,71492,2882,71535);G()}q[76921]=q[a+4>>2];q[76922]=q[a+16>>2]}function wla(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=x(0),n=0,t=0,v=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0);b=ti-448|0;ti=b;q[b+296>>2]=0;d=q[a+8>>2];t=q[d>>2];h=q[a+4>>2];j=q[h+4>>2];l=q[h>>2];i=j-l|0;a=i>>8;q[76220]=a+q[76220];q[b+288>>2]=a;q[b+292>>2]=0;q[b+8>>2]=a;q[b+12>>2]=0;a:{b:{if(i){g=r[d+8|0];q[b+440>>2]=0;c:{c=q[h+4>>2];a=q[h>>2];d=c-a|0;if(!d){break c}if((a|0)!=(c|0)){g=g&1;c=a-c|0;n=((c|0)>(d|0)?c:d)>>>8|0;d=(d|0)>-1?d:-1;d=w(n,(d|0)<1?d:1);n=d>>>0>1?d:1;c=0;while(1){a=(c<<8)+a|0;if((s[a+246>>1]&3)==3){f=a- -64|0;zla(b+16|0,a+16|0,a+32|0,f,a+48|0,q[a+192>>2]);d=op(q[a>>2]);u[b+368>>2]=u[d>>2];u[b+372>>2]=u[d+4>>2];u[b+376>>2]=u[d+8>>2];u[b+380>>2]=u[d+12>>2];u[b+384>>2]=u[d+16>>2];u[b+388>>2]=u[d+20>>2];u[b+392>>2]=u[d+24>>2];u[b+396>>2]=u[d+28>>2];u[b+400>>2]=u[d+32>>2];u[b+404>>2]=u[d+36>>2];u[b+408>>2]=u[d+40>>2];u[b+412>>2]=u[d+44>>2];u[b+416>>2]=u[d+48>>2];u[b+420>>2]=u[d+52>>2];u[b+424>>2]=u[d+56>>2];u[b+428>>2]=u[d+60>>2];d:{if((q[q[a>>2]+136>>2]&512)>>>9|0){Kk(b+304|0,b+368|0,b+16|0);break d}Tn(b+304|0,b+368|0,b+16|0)}z=u[b+364>>2];k=u[b+360>>2];e=u[b+356>>2];v=u[b+352>>2];A=u[b+348>>2];B=u[b+344>>2];C=u[b+340>>2];D=u[b+336>>2];E=u[b+332>>2];F=u[b+328>>2];H=u[b+324>>2];I=u[b+320>>2];K=u[b+316>>2];L=u[b+312>>2];M=u[b+308>>2];m=u[f>>2];u[a+128>>2]=u[b+304>>2]*m;u[a+188>>2]=z;u[a+184>>2]=k;d=a;k=e;if(x(y(e))>2]=g?k:x(f|0);d=a;e=v;k=e;if(x(y(e))>2]=g?k:x(f|0);u[a+140>>2]=K*m;u[a+136>>2]=L*m;u[a+132>>2]=M*m;e=u[a+72>>2];u[a+172>>2]=A*e;u[a+168>>2]=B*e;u[a+164>>2]=C*e;u[a+160>>2]=D*e;e=u[a+68>>2];u[a+156>>2]=E*e;u[a+152>>2]=F*e;u[a+148>>2]=H*e;u[a+144>>2]=I*e}c=c+1|0;if((n|0)==(c|0)){break c}a=q[h>>2];if(q[h+4>>2]-a>>8>>>0>c>>>0){continue}break}}break a}a=l-j|0;d=((a|0)>(i|0)?a:i)>>>8|0;a=(i|0)>-1?i:-1;a=w(d,(a|0)<1?a:1);l=a>>>0>1?a:1;g=0;while(1){a=q[h>>2];if(q[h+4>>2]-a>>8>>>0<=g>>>0){break a}c=a+(g<<8)|0;a=s[c+246>>1];if((a&3)==3){e:{if(!(a&8)){a=q[c+220>>2];if(!a|!r[a+52|0]){break e}}cia(c)}f=ez(b+16|0);a=q[q[c+216>>2]>>2];u[b+80>>2]=u[c+80>>2];u[b+84>>2]=u[c+84>>2];u[b+88>>2]=u[c+88>>2];u[b+92>>2]=u[c+92>>2];u[b+96>>2]=u[c+96>>2];u[b+100>>2]=u[c+100>>2];u[b+104>>2]=u[c+104>>2];u[b+108>>2]=u[c+108>>2];u[b+112>>2]=u[c+112>>2];u[b+116>>2]=u[c+116>>2];u[b+120>>2]=u[c+120>>2];u[b+124>>2]=u[c+124>>2];q[b+128>>2]=q[c+240>>2];u[b+16>>2]=u[c+128>>2];u[b+20>>2]=u[c+132>>2];u[b+24>>2]=u[c+136>>2];u[b+28>>2]=u[c+140>>2];u[b+32>>2]=u[c+144>>2];u[b+36>>2]=u[c+148>>2];u[b+40>>2]=u[c+152>>2];u[b+44>>2]=u[c+156>>2];u[b+48>>2]=u[c+160>>2];u[b+52>>2]=u[c+164>>2];u[b+56>>2]=u[c+168>>2];u[b+60>>2]=u[c+172>>2];u[b+64>>2]=u[c+176>>2];u[b+68>>2]=u[c+180>>2];u[b+72>>2]=u[c+184>>2];e=u[c+188>>2];p[b+204>>1]=0;u[b+76>>2]=e;o[b+224|0]=r[c+246|0]>>>4&1;u[b+216>>2]=u[c+232>>2];u[b+220>>2]=u[c+236>>2];u[b+208>>2]=u[c+48>>2];u[b+212>>2]=u[c+52>>2];o[b+272|0]=r[b+272|0]&254;d=q[a+88>>2];if(d>>>0<=8){d=d<<2;q[b+232>>2]=q[d+52252>>2];q[b+228>>2]=q[d+52216>>2]}a=q[a+92>>2];if(a>>>0>=5|!(27>>>a&1)){break b}a=a<<2;q[b+200>>2]=q[a+52308>>2];q[b+196>>2]=q[a+52288>>2];a=q[c+220>>2];if(a){a=q[a+4>>2]-q[a>>2]>>2;d=a>>>0<16?a:16;if(d){a=0;while(1){q[(f+(a<<2)|0)+116>>2]=cja(q[c+220>>2],a);a=a+1|0;if((d|0)!=(a|0)){continue}break}}o[b+206|0]=d}j=q[c+216>>2];d=t;a=q[c+228>>2];if(!a){a=q[j+8>>2]}i=a;a=q[c+224>>2];if(!a){a=q[j+4>>2]}dz(d,i,a,q[c+196>>2],f)}g=g+1|0;if((l|0)!=(g|0)){continue}break}cz(t,1,0)}ti=b+448|0;return 0}q[b>>2]=a;Ai(4,51712,51720,b);J(51751,51603,435,51753);G()}J(52123,52040,479,52134);G()}function pu(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=ti-112|0;ti=i;if(q[b+8>>2]!=6){g=Pk(a,b,16);h=q[a+32>>2];if(q[g+8>>2]!=6){nu(a,b,135682)}d=q[a+8>>2];if(d>>>0>b>>>0){while(1){e=d-16|0;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+8>>2]=q[e+8>>2];d=e;if(d>>>0>b>>>0){continue}break}d=q[a+8>>2]}if((q[a+28>>2]-d|0)<=16){e=q[a+44>>2];dn(a,(e|0)<1?e+1|0:e<<1)}q[a+8>>2]=q[a+8>>2]+16;e=q[g+4>>2];b=q[a+32>>2]+(b-h|0)|0;q[b>>2]=q[g>>2];q[b+4>>2]=e;q[b+8>>2]=q[g+8>>2]}d=q[b>>2];e=q[a+32>>2];q[q[a+20>>2]+12>>2]=q[a+24>>2];n=b-e|0;a:{b:{c:{if(!r[d+6|0]){l=q[d+16>>2];e=r[l+75|0];if((q[a+28>>2]-q[a+8>>2]|0)<=e<<4){b=q[a+44>>2];dn(a,(b|0)<(e|0)?b+e|0:b<<1)}e=q[a+32>>2]+n|0;f=r[l+74|0];d:{if(!f){d=e+16|0;b=d+(r[l+73|0]<<4)|0;if(b>>>0>=t[a+8>>2]){break d}q[a+8>>2]=b;break d}d=q[a+8>>2];b=d-e>>4;e=b-1|0;j=b;b=r[l+73|0];if((j|0)<=(b|0)){while(1){q[d+8>>2]=0;d=d+16|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}q[a+8>>2]=d;e=b}if(f&4){d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}j=e-b|0;m=To(a,j,1);if((j|0)>=1){d=0;g=0-j<<4;while(1){h=d<<4;f=q[a+8>>2];d=d+1|0;k=mu(a,m,d);h=h+(f+g|0)|0;f=q[h+4>>2];q[k>>2]=q[h>>2];q[k+4>>2]=f;q[k+8>>2]=q[h+8>>2];if((d|0)!=(j|0)){continue}break}}d=ns(a,m,Jj(a,135687,1));q[d+8>>2]=3;v[d>>3]=j|0;d=q[a+8>>2]}e:{if(!b){break e}q[a+8>>2]=d+16;h=d-(e<<4)|0;f=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=f;e=(0-e<<4)+d|0;q[d+8>>2]=q[e+8>>2];q[e+8>>2]=0;e=1;if((b|0)==1){break e}while(1){k=q[a+8>>2];q[a+8>>2]=k+16;g=h+(e<<4)|0;f=q[g+4>>2];q[k>>2]=q[g>>2];q[k+4>>2]=f;q[k+8>>2]=q[g+8>>2];q[g+8>>2]=0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}if(m){b=q[a+8>>2];q[a+8>>2]=b+16;q[b+8>>2]=5;q[b>>2]=m}e=q[a+32>>2]+n|0}b=q[a+20>>2];f:{if((b|0)!=q[a+36>>2]){break f}g=q[a+48>>2];if((g|0)>=20001){break b}h=q[a+40>>2];f=g<<1;g:{if((f|1)>>>0<=178956970){b=lj(a,h,w(g,24),w(g,48));break g}b=Yj(a)}q[a+48>>2]=f;q[a+40>>2]=b;q[a+36>>2]=(b+w(f,24)|0)-24;b=b+w((q[a+20>>2]-h|0)/24|0,24)|0;q[a+20>>2]=b;if((g|0)<10001){break f}Hk(a,135689,0);b=q[a+20>>2]}f=b+24|0;q[a+20>>2]=f;q[b+24>>2]=d;q[b+28>>2]=e;q[a+12>>2]=d;g=(r[l+75|0]<<4)+d|0;q[b+32>>2]=g;e=q[l+12>>2];q[a+24>>2]=e;q[b+40>>2]=c;h=0;q[b+44>>2]=0;d=q[a+8>>2];if(g>>>0>d>>>0){while(1){q[d+8>>2]=0;d=d+16|0;if(g>>>0>d>>>0){continue}break}}q[a+8>>2]=g;if(!(o[a+56|0]&1)){break c}d=e+4|0;q[a+24>>2]=d;j=a;c=q[a+68>>2];if(!(!c|!r[a+57|0])){b=q[a+32>>2];q[i+28>>2]=-1;q[i+8>>2]=0;q[i+104>>2]=(f-q[a+40>>2]|0)/24;if((q[a+28>>2]-g|0)<=320){e=q[a+44>>2];dn(a,(e|0)<20?e+20|0:e<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;xi[c|0](a,i+8|0);o[a+57|0]=1;b=q[a+32>>2]+(g-b|0)|0;q[q[a+20>>2]+8>>2]=b;q[a+8>>2]=b;d=q[a+24>>2]}q[j+24>>2]=d-4;break c}if((q[a+28>>2]-q[a+8>>2]|0)<=320){b=q[a+44>>2];dn(a,(b|0)<20?b+20|0:b<<1)}d=q[a+20>>2];h:{if((d|0)!=q[a+36>>2]){break h}f=q[a+48>>2];if((f|0)>=20001){break a}d=q[a+40>>2];e=f<<1;i:{if((e|1)>>>0<=178956970){b=lj(a,d,w(f,24),w(f,48));break i}b=Yj(a)}q[a+48>>2]=e;q[a+40>>2]=b;q[a+36>>2]=(b+w(e,24)|0)-24;d=b+w((q[a+20>>2]-d|0)/24|0,24)|0;q[a+20>>2]=d;if((f|0)<10001){break h}Hk(a,135689,0);d=q[a+20>>2]}e=d+24|0;q[a+20>>2]=e;f=q[a+32>>2];b=f+n|0;q[d+28>>2]=b;b=b+16|0;q[d+24>>2]=b;q[a+12>>2]=b;h=q[a+8>>2];q[d+40>>2]=c;c=h+320|0;q[d+32>>2]=c;j:{if(!(o[a+56|0]&1)){break j}b=q[a+68>>2];if(!b|!r[a+57|0]){break j}q[i+28>>2]=-1;q[i+8>>2]=0;q[i+104>>2]=(e-q[a+40>>2]|0)/24;if((q[a+28>>2]-h|0)<=320){e=q[a+44>>2];dn(a,(e|0)<20?e+20|0:e<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;xi[b|0](a,i+8|0);o[a+57|0]=1;e=q[a+20>>2];b=q[a+32>>2];q[e+8>>2]=b+(c-f|0);q[a+8>>2]=b+(h-f|0)}b=xi[q[q[q[e+4>>2]>>2]+16>>2]](a)|0;if((b|0)<0){h=2;break c}Tx(a,q[a+8>>2]-(b<<4)|0);h=1}ti=i+112|0;return h}yj(a,5);G()}yj(a,5);G()}function qk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=ti-192|0;ti=e;a:{if(mk(a,b,q[81791])){b=aj(a,b);f=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=f;f=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=f;f=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=f;f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;if(!d){break a}o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;Oq(a,d);break a}q[e+184>>2]=0;q[e+188>>2]=0;q[e+176>>2]=0;q[e+180>>2]=0;q[e+168>>2]=0;q[e+172>>2]=0;b:{if(!ek(a,b)){break b}g=dj(a,b,0);h=YG(g,e+168|0);f=h?0:g;i=(f|0)!=0;k=!h;if(!f|h){break b}h=0;k=1;j=q[e+172>>2];if(!(!j|!q[e+180>>2])){i=1;f=g;if(r[q[e+176>>2]]!=47){break b}if(j>>>0>63){break a}zj(e+96|0,q[e+168>>2],j+1|0);c:{d:{e:{b=gn(e+96|0,e+88|0);switch(b+6|0){case 2:break d;case 0:case 6:break e;default:break c}}b=q[e+92>>2];q[c>>2]=q[e+88>>2];q[c+4>>2]=b;q[c+16>>2]=vl(q[e+176>>2],q[e+180>>2]);q[c+20>>2]=wi;q[c+24>>2]=vl(q[e+184>>2],q[e+188>>2]);q[c+28>>2]=wi;if(!d){break a}o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;Oq(a,d);break a}q[e+80>>2]=e+96;Bi(a,122985,e+80|0);break a}q[e+68>>2]=b;q[e+64>>2]=e+96;Bi(a,123525,e- -64|0);break a}i=1;f=g}q[e+120>>2]=0;q[e+124>>2]=0;q[e+112>>2]=0;q[e+116>>2]=0;q[e+104>>2]=0;q[e+108>>2]=0;q[e+96>>2]=0;q[e+100>>2]=0;o[e+96|0]=0;o[e+97|0]=0;o[e+98|0]=0;o[e+99|0]=0;o[e+100|0]=0;o[e+101|0]=0;o[e+102|0]=0;o[e+103|0]=0;o[e+120|0]=0;o[e+121|0]=0;o[e+122|0]=0;o[e+123|0]=0;o[e+124|0]=0;o[e+125|0]=0;o[e+126|0]=0;o[e+127|0]=0;o[e+112|0]=0;o[e+113|0]=0;o[e+114|0]=0;o[e+115|0]=0;o[e+116|0]=0;o[e+117|0]=0;o[e+118|0]=0;o[e+119|0]=0;o[e+104|0]=0;o[e+105|0]=0;o[e+106|0]=0;o[e+107|0]=0;o[e+108|0]=0;o[e+109|0]=0;o[e+110|0]=0;o[e+111|0]=0;Oq(a,e+96|0);if(d){g=q[e+100>>2];q[d>>2]=q[e+96>>2];q[d+4>>2]=g;g=q[e+124>>2];q[d+24>>2]=q[e+120>>2];q[d+28>>2]=g;g=q[e+116>>2];q[d+16>>2]=q[e+112>>2];q[d+20>>2]=g;g=q[e+108>>2];q[d+8>>2]=q[e+104>>2];q[d+12>>2]=g}f:{if(q[a+8>>2]-q[a+12>>2]>>4>=(b|0)){if(Ei(a,b)){break f}}a=q[e+100>>2];q[c>>2]=q[e+96>>2];q[c+4>>2]=a;a=q[e+124>>2];q[c+24>>2]=q[e+120>>2];q[c+28>>2]=a;a=q[e+116>>2];q[c+16>>2]=q[e+112>>2];q[c+20>>2]=a;a=q[e+108>>2];q[c+8>>2]=q[e+104>>2];q[c+12>>2]=a;break a}g:{h:{if(i){b=c;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;if(k){h=wy(a,f,c,e+96|0)}i:{switch(h+5|0){case 1:q[e+32>>2]=f;Bi(a,123650,e+32|0);break a;case 3:q[e+48>>2]=f;Bi(a,123686,e+48|0);break a;case 5:break a;case 0:break h;default:break i}}q[e+4>>2]=h;q[e>>2]=f;Bi(a,123725,e);break a}if(!zn(a,b)){break g}d=q[e+100>>2];q[c>>2]=q[e+96>>2];q[c+4>>2]=d;a=aj(a,b);b=q[a>>2];a=q[a+4>>2];q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=b;q[c+20>>2]=a;break a}q[e+16>>2]=f;Bi(a,123562,e+16|0);break a}wk(a,b,123208)}ti=e+192|0}function yp(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,w=0;c=1;axa(+b);e=Zwa(1)|0;d=Zwa(0)|0;l=e;a:{b:{g=e;h=g&2147483647;c:{if(!(d|h)){break c}axa(+a);j=Zwa(1)|0;r=Zwa(0)|0;o=j;if((j|0)==1072693248?!r:0){break c}d:{j=o&2147483647;if(!(j>>>0>2146435072|(j|0)==2146435072&(r|0)!=0|h>>>0>2146435072)){if(!d|(h|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((o|0)>-1){break h}p=2;if(h>>>0>1128267775){break g}if(h>>>0<1072693248){break h}e=h>>>20|0;if(h>>>0>=1094713344){f=1075-e|0;e=d>>>f|0;p=0;if((d|0)!=e<>>d|0;if((h|0)!=e<>>0>=1072693248){return(g|0)>-1?b:0}return(g|0)>-1?0:-b}if((h|0)==1072693248){if((g|0)>-1){return a}return 1/a}if((g|0)==1073741824){return a*a}if((g|0)!=1071644672|(o|0)<0){break e}return F(a)}c=y(a);if(!((j?(o&1073741823)!=1072693248:0)|r)){c=(g|0)<0?1/c:c;if((o|0)>-1){break c}if(!(j-1072693248|f)){a=c-c;return a/a}return(f|0)==1?-c:c}m=1;i:{if((o|0)>-1){break i}j:{switch(f|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}m=-1}k:{if(h>>>0>=1105199105){if(h>>>0>=1139802113){if(j>>>0<=1072693247){return(g|0)<0?I:0}return(g|0)>0?I:0}if(j>>>0<=1072693246){return(g|0)<0?m*1e+300*1e+300:m*1e-300*1e-300}if(j>>>0>=1072693249){return(g|0)>0?m*1e+300*1e+300:m*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;k=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;axa(+(c+k));d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();i=a-c;break k}a=c*9007199254740992;d=j>>>0<1048576;c=d?a:c;axa(+a);e=Zwa(1)|0;Zwa(0)|0;f=d?e:j;g=f&1048575;e=g|1072693248;h=(f>>20)+(d?-1076:-1023)|0;f=0;l:{if(g>>>0<235663){break l}if(g>>>0<767610){f=1;break l}e=e+ -1048576|0;h=h+1|0}g=f<<3;q=v[g+211440>>3];axa(+c);Zwa(1)|0;_wa(0,Zwa(0)|0);_wa(1,e|0);k=+$wa();i=v[g+211408>>3];n=k-i;s=1/(i+k);c=n*s;axa(+c);d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();u=a;t=a*a;w=n;_wa(0,0);_wa(1,((e>>1|536870912)+(f<<18)|0)+524288|0);n=+$wa();k=s*(w-a*n-a*(k-(n-i)));i=(c+a)*k;a=c*c;i=i+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);axa(+(t+3+i));d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();n=u*a;c=k*a+c*(i-(a+ -3-t));axa(+(n+c));d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();i=a*.9617967009544373;k=v[g+211424>>3]+((c-(a-n))*.9617966939259756+a*-7.028461650952758e-9);c=+(h|0);axa(+(q+(i+k)+c));d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();i=a-c-q-i}_wa(0,0);_wa(1,l|0);q=+$wa();c=a*q;a=(k-i)*b+(b-q)*a;b=c+a;axa(+b);f=Zwa(1)|0;d=Zwa(0)|0;e=f;l=d;m:{d=e;if((d|0)>=1083179008){if(l|d-1083179008){break b}if(a+8.008566259537294e-17>b-c^1){break m}break b}if((d&2147482624)>>>0<1083231232){break m}if(l|d+1064252416){break a}if(a<=b-c^1){break m}break a}f=0;l=d&2147483647;if(l>>>0>=1071644673){e=d+(1048576>>>(l>>>20|0)-1022|0)|0;l=e>>>20&2047;f=(e&1048575|1048576)>>>1043-l|0;f=(d|0)<0?0-f|0:f;_wa(0,0);_wa(1,e&-1048576>>l-1023);c=c- +$wa();axa(+(a+c));d=Zwa(1)|0;Zwa(0)|0}_wa(0,0);_wa(1,d|0);b=+$wa();k=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=k+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);i=a*b/(b+ -2);b=c-(a-k);a=a-(i-(b+a*b))+1;axa(+a);d=Zwa(1)|0;e=Zwa(0)|0;d=(f<<20)+d|0;n:{if((d|0)<=1048575){a=In(a,f);break n}_wa(0,e|0);_wa(1,d|0);a=+$wa()}c=m*a}return c}return m*1e+300*1e+300}return m*1e-300*1e-300}function xA(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=0,r=x(0),v=x(0),y=x(0),z=0,A=0,B=0,C=x(0),D=x(0),E=0,F=0;c=ti-128|0;ti=c;z=1;a:{b:{c:{d:{if(!b){break d}d=q[b+140>>2];m=q[b+136>>2];e:{if(m&256){Ai(3,7418,11497,0);n=q[b+136>>2];d=q[b+140>>2];break e}p[b+144>>1]=s[b+144>>1];n=m|256;q[b+136>>2]=n;q[b+140>>2]=d}d=d&32767;m=q[a+1036>>2];if(d>>>0>=q[a+1040>>2]-m>>2>>>0){break a}if(q[m+(d<<2)>>2]!=(b|0)){break c}m=q[a+3128>>2];A=q[a+3132>>2]-m>>6;if(A>>>0<=d>>>0){break a}B=m+(d<<6)|0;o=n>>>16|0;f:{if((o|0)==32767){j=u[b+36>>2];k=u[b+40>>2];e=u[b+24>>2];f=u[b+12>>2];g=u[b>>2];n=q[b+16>>2];o=q[b+20>>2];i=u[b+4>>2];y=x(i+i);h=u[b+8>>2];r=x(h+h);l=x(i*y);v=x(h*r);h=u[b+32>>2];u[B>>2]=x(x(x(1)-l)-v)*h;d=m+(d<<6)|0;q[d+60>>2]=1065353216;u[d+56>>2]=e;q[d+48>>2]=n;q[d+52>>2]=o;u[d+44>>2]=k*x(0);e=x(g+g);D=x(x(1)-x(g*e));u[d+40>>2]=k*x(D-l);i=x(i*r);e=x(e*f);u[d+36>>2]=k*x(i-e);C=k;k=x(g*r);l=x(y*f);u[d+32>>2]=C*x(k+l);u[d+28>>2]=j*x(0);u[d+24>>2]=j*x(i+e);u[d+20>>2]=j*x(D-v);e=j;g=x(g*y);j=x(f*r);u[d+16>>2]=e*x(g-j);u[d+12>>2]=h*x(0);u[d+8>>2]=h*x(k-l);u[d+4>>2]=h*x(g+j);break f}if(o>>>0>=A>>>0){break a}o=m+(o<<6)|0;if(n&512){j=u[b+40>>2];k=u[b+36>>2];h=u[b+24>>2];r=u[b+32>>2];n=q[b+16>>2];A=q[b+20>>2];f=u[b+4>>2];i=u[b+8>>2];y=u[b+12>>2];g=u[b>>2];q[c+60>>2]=1065353216;u[c+56>>2]=h;u[c+28>>2]=k*x(0);u[c+44>>2]=j*x(0);h=x(i+i);e=x(f*h);l=x(g+g);v=x(y*l);u[c+24>>2]=k*x(e+v);u[c+36>>2]=j*x(e-v);e=x(x(1)-x(g*l));i=x(i*h);u[c+20>>2]=k*x(e-i);C=e;e=f;f=x(f+f);e=x(e*f);u[c+40>>2]=j*x(C-e);q[c+48>>2]=n;q[c+52>>2]=A;u[c+12>>2]=r*x(0);l=x(g*f);v=x(y*h);u[c+4>>2]=r*x(l+v);g=x(g*h);f=x(f*y);u[c+8>>2]=r*x(g-f);u[c+16>>2]=k*x(l-v);u[c+32>>2]=j*x(g+f);u[c>>2]=r*x(x(x(1)-e)-i);Kk(c- -64|0,o,c);u[B>>2]=u[c+64>>2];d=m+(d<<6)|0;u[d+4>>2]=u[c+68>>2];u[d+8>>2]=u[c+72>>2];u[d+12>>2]=u[c+76>>2];u[d+16>>2]=u[c+80>>2];u[d+20>>2]=u[c+84>>2];u[d+24>>2]=u[c+88>>2];u[d+28>>2]=u[c+92>>2];u[d+32>>2]=u[c+96>>2];u[d+36>>2]=u[c+100>>2];u[d+40>>2]=u[c+104>>2];u[d+44>>2]=u[c+108>>2];u[d+48>>2]=u[c+112>>2];u[d+52>>2]=u[c+116>>2];u[d+56>>2]=u[c+120>>2];u[d+60>>2]=u[c+124>>2];break f}j=u[b+40>>2];k=u[b+36>>2];h=u[b+24>>2];r=u[b+32>>2];n=q[b+16>>2];A=q[b+20>>2];f=u[b+4>>2];i=u[b+8>>2];y=u[b+12>>2];g=u[b>>2];q[c+60>>2]=1065353216;u[c+56>>2]=h;u[c+28>>2]=k*x(0);u[c+44>>2]=j*x(0);h=x(i+i);e=x(f*h);l=x(g+g);v=x(y*l);u[c+24>>2]=k*x(e+v);u[c+36>>2]=j*x(e-v);e=x(x(1)-x(g*l));i=x(i*h);u[c+20>>2]=k*x(e-i);C=e;e=f;f=x(f+f);e=x(e*f);u[c+40>>2]=j*x(C-e);q[c+48>>2]=n;q[c+52>>2]=A;u[c+12>>2]=r*x(0);l=x(g*f);v=x(y*h);u[c+4>>2]=r*x(l+v);g=x(g*h);f=x(f*y);u[c+8>>2]=r*x(g-f);u[c+16>>2]=k*x(l-v);u[c+32>>2]=j*x(g+f);u[c>>2]=r*x(x(x(1)-e)-i);Tn(c- -64|0,o,c);u[B>>2]=u[c+64>>2];d=m+(d<<6)|0;u[d+4>>2]=u[c+68>>2];u[d+8>>2]=u[c+72>>2];u[d+12>>2]=u[c+76>>2];u[d+16>>2]=u[c+80>>2];u[d+20>>2]=u[c+84>>2];u[d+24>>2]=u[c+88>>2];u[d+28>>2]=u[c+92>>2];u[d+32>>2]=u[c+96>>2];u[d+36>>2]=u[c+100>>2];u[d+40>>2]=u[c+104>>2];u[d+44>>2]=u[c+108>>2];u[d+48>>2]=u[c+112>>2];u[d+52>>2]=u[c+116>>2];u[d+56>>2]=u[c+120>>2];u[d+60>>2]=u[c+124>>2]}B=q[b+84>>2];o=q[B+4>>2];if(!o){break d}d=0;n=0;while(1){A=q[B>>2]+w(n,96)|0;z=q[A+16>>2];E=q[z+100>>2];m=((E&65536)>>>16|0)+d|0;if(m>>>0>t[b+152>>2]){break b}F=q[z+36>>2];if(F){o=q[a+8>>2];q[c+68>>2]=b;q[c+64>>2]=o;q[c+72>>2]=q[((q[A+20>>2]<<2)+a|0)+12>>2];z=q[z+16>>2];q[c+80>>2]=((d<<2)+b|0)+156&E<<15>>31;q[c+76>>2]=z;if(xi[F|0](c- -64|0)|0){z=0;break d}o=q[B+4>>2]}z=1;d=m;n=n+1|0;if(n>>>0>>0){continue}break}}ti=c+128|0;return z}J(8292,7291,1716,11566);G()}J(8117,7291,1683,11579);G()}J(12518,10061,479,9553);G()}function BK(a,b,c,d,e,f,g){var h=0,i=0,j=x(0),k=0,l=x(0),m=x(0),n=0,r=0,s=0;h=ti-144|0;ti=h;a:{if(!a){i=-6;break a}if(!(b|c)){if(q[74216]==(d|0)&q[74217]==(e|0)){i=-4;if(q[g>>2]!=3){break a}u[a+16>>2]=u[g+8>>2];u[a+20>>2]=u[g+12>>2];u[a+24>>2]=u[g+16>>2];i=0;break a}if(q[74218]==(d|0)&q[74219]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+16>>2]=v[g+8>>3];i=0;break a}if(q[74220]==(d|0)&q[74221]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+20>>2]=v[g+8>>3];i=0;break a}if(q[74222]==(d|0)&q[74223]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+24>>2]=v[g+8>>3];i=0;break a}if(q[74242]==(d|0)&q[74243]==(e|0)){i=-4;b:{switch(q[g>>2]){case 0:j=x(v[g+8>>3]);u[a+40>>2]=j;u[a+36>>2]=j;u[a+32>>2]=j;i=0;break a;case 3:break b;default:break a}}u[a+32>>2]=u[g+8>>2];u[a+36>>2]=u[g+12>>2];u[a+40>>2]=u[g+16>>2];i=0;break a}if(q[74244]==(d|0)&q[74245]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+32>>2]=v[g+8>>3];i=0;break a}if(q[74246]==(d|0)&q[74247]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+36>>2]=v[g+8>>3];i=0;break a}if(q[74248]==(d|0)&q[74249]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+40>>2]=v[g+8>>3];i=0;break a}if(q[74224]==(d|0)&q[74225]==(e|0)){i=-4;if(q[g>>2]!=5){break a}u[a>>2]=u[g+8>>2];u[a+4>>2]=u[g+12>>2];u[a+8>>2]=u[g+16>>2];u[a+12>>2]=u[g+20>>2];i=0;break a}if(q[74226]==(d|0)&q[74227]==(e|0)){i=-4;if(q[g>>2]){break a}u[a>>2]=v[g+8>>3];i=0;break a}if(q[74228]==(d|0)&q[74229]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+4>>2]=v[g+8>>3];i=0;break a}if(q[74230]==(d|0)&q[74231]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+8>>2]=v[g+8>>3];i=0;break a}if(q[74232]==(d|0)&q[74233]==(e|0)){i=-4;if(q[g>>2]){break a}u[a+12>>2]=v[g+8>>3];i=0;break a}if(q[74234]==(d|0)&q[74235]==(e|0)){i=-4;if(q[g>>2]!=3){break a}j=u[g+12>>2];l=u[g+8>>2];m=u[g+16>>2];u[a+56>>2]=m;u[a+52>>2]=j;u[a+48>>2]=l;u[a+72>>2]=m;u[a+68>>2]=j;u[a+64>>2]=l;u[h+136>>2]=m;u[h+132>>2]=j;u[h+128>>2]=l;Om(h,h+128|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}if(q[74236]==(d|0)&q[74237]==(e|0)){i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+48>>2]=j;u[a+64>>2]=j;l=u[a+52>>2];u[a+68>>2]=l;m=u[a+56>>2];u[a+72>>2]=m;u[h+136>>2]=m;u[h+132>>2]=l;u[h+128>>2]=j;Om(h,h+128|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}if(q[74238]==(d|0)&q[74239]==(e|0)){i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+52>>2]=j;u[a+68>>2]=j;l=u[a+48>>2];u[a+64>>2]=l;m=u[a+56>>2];u[a+72>>2]=m;u[h+136>>2]=m;u[h+132>>2]=j;u[h+128>>2]=l;Om(h,h+128|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}i=-1;if((d|0)!=q[74240]|(e|0)!=q[74241]){break a}i=-4;if(q[g>>2]){break a}j=x(v[g+8>>3]);u[a+56>>2]=j;u[a+72>>2]=j;l=u[a+48>>2];u[a+64>>2]=l;m=u[a+52>>2];u[a+68>>2]=m;u[h+136>>2]=j;u[h+132>>2]=m;u[h+128>>2]=l;Om(h,h+128|0);u[a>>2]=u[h>>2];u[a+4>>2]=u[h+4>>2];u[a+8>>2]=u[h+8>>2];u[a+12>>2]=u[h+12>>2];i=0;break a}i=-5;k=q[a+84>>2];r=q[k+4>>2];if(!r){break a}n=q[k>>2];k=0;while(1){s=n+w(k,96)|0;if(q[s>>2]!=(b|0)|q[s+4>>2]!=(c|0)){k=k+1|0;if((r|0)!=(k|0)){continue}break a}break}b=k&65535;c=q[(n+w(b,96)|0)+16>>2];if(!q[c+88>>2]){i=-1;break a}k=0;if(o[c+102|0]&1){c:{if(!b){i=0;break c}i=0;while(1){i=(p[q[(n+w(k,96)|0)+16>>2]+102>>1]&1)+i|0;k=k+1|0;if((b|0)!=(k|0)){continue}break}}k=((i<<2)+a|0)+156|0}i=Fi(h+32|0,0,72);q[h>>2]=q[c+16>>2];b=q[(q[a+80>>2]+(q[(n+w(b,96)|0)+20>>2]<<2)|0)+12>>2];q[h+24>>2]=k;q[h+16>>2]=d;q[h+20>>2]=e;q[h+8>>2]=a;q[h+4>>2]=b;Gi(i,g,72);a=q[f+12>>2];q[h+112>>2]=q[f+8>>2];q[h+116>>2]=a;a=q[f+4>>2];q[h+104>>2]=q[f>>2];q[h+108>>2]=a;i=xi[q[c+88>>2]](h)|0}ti=h+144|0;return i}function PC(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=ti-192|0;ti=h;i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];a:{if(g>>>0<=e>>>0){e=q[f>>2];break a}if(e>>>0>=2147483646){Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+104>>2]=136278;q[h+100>>2]=d;q[h+96>>2]=h+112;_i(e,136255,h+96|0);yj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;b:{if((g|0)!=-2){e=lj(d,q[f>>2],e,g);break b}e=Yj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;c:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break c}d=sk(d)}q[e>>2]=d;d:{switch(d-10|0){case 0:case 3:ru(a);break;default:break d}}j=b?136358:136381;while(1){e:{f:{g:{h:{i:{j:{i=q[a>>2];switch(i+1|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 12:case 13:break e;case 11:case 14:break f;case 0:break i;default:break j}}switch(i-91|0){case 2:break g;case 0:break h;default:break e}}Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+40>>2]=j;q[h+36>>2]=d;q[h+32>>2]=h+112;e=_i(e,136255,h+32|0);d=q[a+52>>2];q[h+20>>2]=136237;q[h+16>>2]=e;_i(d,136265,h+16|0);yj(q[a+52>>2],3);continue}if((It(a)|0)!=(c|0)){continue}i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];k:{if(g>>>0<=e>>>0){e=q[f>>2];break k}if(e>>>0>=2147483646){Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+56>>2]=136278;q[h+52>>2]=d;q[h+48>>2]=h+112;_i(e,136255,h+48|0);yj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;l:{if((g|0)!=-2){e=lj(d,q[f>>2],e,g);break l}e=Yj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;m:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break m}d=sk(d)}q[e>>2]=d;if(c){continue}Pl(a,136405,91);continue}if((It(a)|0)!=(c|0)){continue}i=q[a>>2];f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];n:{if(g>>>0<=e>>>0){e=q[f>>2];break n}if(e>>>0>=2147483646){Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+72>>2]=136278;q[h+68>>2]=d;q[h+64>>2]=h+112;_i(e,136255,h- -64|0);yj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;o:{if((g|0)!=-2){e=lj(d,q[f>>2],e,g);break o}e=Yj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=i;d=q[a+56>>2];g=q[d>>2];q[d>>2]=g-1;e=a;p:{if(g){f=d;d=q[d+4>>2];q[f+4>>2]=d+1;d=r[d|0];break p}d=sk(d)}q[e>>2]=d;if(b){e=q[a+52>>2];c=c+2|0;d=q[a+60>>2];c=Jj(e,c+q[d>>2]|0,q[d+4>>2]-(c<<1)|0);a=ns(e,q[q[a+48>>2]+4>>2],c);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}q[b>>2]=c}ti=h+192|0;return}f=q[a+60>>2];d=q[f+4>>2];g=d+1|0;e=q[f+8>>2];q:{if(g>>>0<=e>>>0){e=q[f>>2];break q}if(e>>>0>=2147483646){Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+88>>2]=136278;q[h+84>>2]=d;q[h+80>>2]=h+112;_i(e,136255,h+80|0);yj(q[a+52>>2],3);e=q[f+8>>2]}d=q[a+52>>2];g=e<<1;r:{if((g|0)!=-2){e=lj(d,q[f>>2],e,g);break r}e=Yj(d)}q[f+8>>2]=g;q[f>>2]=e;d=q[f+4>>2];g=d+1|0}q[f+4>>2]=g;o[d+e|0]=10;ru(a);if(b){continue}q[q[a+60>>2]+4>>2]=0;continue}if(b){f=q[a+60>>2];g=q[f+4>>2];e=g+1|0;d=q[f+8>>2];s:{if(e>>>0<=d>>>0){d=q[f>>2];break s}if(d>>>0>=2147483646){Gk(h+112|0,q[a+64>>2]+16|0,80);e=q[a+52>>2];d=q[a+4>>2];q[h+8>>2]=136278;q[h+4>>2]=d;q[h>>2]=h+112;_i(e,136255,h);yj(q[a+52>>2],3);d=q[f+8>>2]}e=q[a+52>>2];g=d<<1;t:{if((g|0)!=-2){d=lj(e,q[f>>2],d,g);break t}d=Yj(e)}q[f+8>>2]=g;q[f>>2]=d;g=q[f+4>>2];e=g+1|0}q[f+4>>2]=e;o[d+g|0]=i;e=q[a+56>>2];d=q[e>>2];q[e>>2]=d-1;if(d){d=e;e=q[e+4>>2];q[d+4>>2]=e+1;q[a>>2]=r[e|0];continue}q[a>>2]=sk(e);continue}e=q[a+56>>2];d=q[e>>2];q[e>>2]=d-1;if(d){d=e;e=q[e+4>>2];q[d+4>>2]=e+1;q[a>>2]=r[e|0]}else{q[a>>2]=sk(e)}continue}}function nN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-16|0;ti=d;e=c;f=q[a+32>>2];a:{b:{if(!(q[c+12>>2]?0:!((f|0)==(b|0)|!f))){q[d+8>>2]=0;b=q[c+16>>2];if(b){break a}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break b}q[d+8>>2]=q[f+12>>2]+1;b=q[c+16>>2];if(b){break a}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break a}b=xi[q[c+4>>2]](q[c>>2],f+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}q[d+8>>2]=q[a+60>>2];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}q[d+8>>2]=q[a+64>>2];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+72|0];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+73|0];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+74|0];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}o[d+8|0]=r[a+75|0];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b}e=q[a+12>>2];f=q[a+44>>2];q[d+8>>2]=f;c:{d:{if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(!b){break d}}h=q[a+40>>2];q[d+8>>2]=h;break c}b=xi[q[c+4>>2]](q[c>>2],e,f<<2,q[c+8>>2])|0;q[c+16>>2]=b;h=q[a+40>>2];q[d+8>>2]=h;if(b){break c}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((h|0)>=1){while(1){i=q[a+8>>2]+(g<<4)|0;e=q[i+8>>2];o[d+8|0]=e;f=c;if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;q[c+16>>2]=b;e=q[i+8>>2]}e:{f:{g:{switch(e-1|0){case 0:o[d+8|0]=q[i>>2];if(b){break e}b=xi[q[c+4>>2]](q[c>>2],d+8|0,1,q[c+8>>2])|0;break f;case 2:v[d+8>>3]=v[i>>3];if(b){break e}b=xi[q[c+4>>2]](q[c>>2],d+8|0,8,q[c+8>>2])|0;break f;case 3:break g;default:break e}}e=q[i>>2];if(!e){q[d+8>>2]=0;if(b){break e}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break f}q[d+8>>2]=q[e+12>>2]+1;if(b){break e}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break e}b=xi[q[c+4>>2]](q[c>>2],e+16|0,q[d+8>>2],q[c+8>>2])|0}q[f+16>>2]=b}g=g+1|0;if((h|0)!=(g|0)){continue}break}}e=q[a+52>>2];q[d+8>>2]=e;if(!b){q[c+16>>2]=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])}if((e|0)>=1){b=0;while(1){nN(q[q[a+16>>2]+(b<<2)>>2],q[a+32>>2],c);b=b+1|0;if((e|0)!=(b|0)){continue}break}}g=0;e=q[a+20>>2];g=q[c+12>>2]?g:q[a+48>>2];q[d+8>>2]=g;b=q[c+16>>2];h:{if(b){break h}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break h}b=xi[q[c+4>>2]](q[c>>2],e,g<<2,q[c+8>>2])|0;q[c+16>>2]=b}h=0;h=q[c+12>>2]?h:q[a+56>>2];q[d+8>>2]=h;if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((h|0)>=1){g=0;while(1){e=c;i=w(g,12);f=q[i+q[a+24>>2]>>2];i:{j:{if(!f){q[d+8>>2]=0;if(b){break i}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break j}q[d+8>>2]=q[f+12>>2]+1;if(b){break i}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break i}b=xi[q[c+4>>2]](q[c>>2],f+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}e=q[a+24>>2];q[d+8>>2]=q[(e+i|0)+4>>2];f=d;if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;e=q[a+24>>2]}q[f+8>>2]=q[(e+i|0)+8>>2];if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;f=q[c+12>>2]?f:q[a+36>>2];q[d+8>>2]=f;if(!b){b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b}if((f|0)>=1){g=0;while(1){e=c;h=q[q[a+28>>2]+(g<<2)>>2];k:{l:{if(!h){q[d+8>>2]=0;if(b){break k}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;break l}q[d+8>>2]=q[h+12>>2]+1;if(b){break k}b=xi[q[c+4>>2]](q[c>>2],d+8|0,4,q[c+8>>2])|0;q[c+16>>2]=b;if(b){break k}b=xi[q[c+4>>2]](q[c>>2],h+16|0,q[d+8>>2],q[c+8>>2])|0}q[e+16>>2]=b}g=g+1|0;if((f|0)!=(g|0)){continue}break}}ti=d+16|0}function dD(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=ti-368|0;ti=d;f=q[a+68>>2];h=q[a+84>>2];p=q[a+64>>2];q[h+76>>2]=q[p+124>>2];q[h+208>>2]=q[a+20>>2];c=-28928;s=q[f+1120>>2];l=WV(q[s+8>>2]);a:{if(!l){break a}b=q[s+12>>2]-3|0;b:{if(b>>>0<=5){g=q[(b<<2)+273896>>2];break b}g=0}if(!g){break a}b=f;k=q[a+20>>2];c:{if((k|0)<=2){q[f+1116>>2]=1375;c=1377;k=1376;break c}c=-27648;if((k|0)!=3){break a}if(q[s+12>>2]==7){q[f+1116>>2]=1378;c=1380;k=1379;break c}q[f+1116>>2]=1381;c=1383;k=1382}q[b+1112>>2]=k;q[f+1108>>2]=c;if(!q[f+2252>>2]){b=q[a+68>>2];d:{if(q[b+2272>>2]!=1){b=f+1128|0;c=64;k=176048;break d}xi[q[b+1108>>2]](a,d);b=d;if(q[a+20>>2]!=3){c=36;k=176062;break d}c=q[s+12>>2]==7?48:32;k=176062}e=f+1192|0;c=xi[q[f+1116>>2]](e,q[f+1124>>2],k,b,c,p+48|0,48)|0;if(c){break a}xi[q[68401]](e,0,1060)|0}m=f+1184|0;b=m;c=q[b+4>>2];w=q[b>>2];q[d+360>>2]=w;q[d+364>>2]=c;e=f+1176|0;i=q[e+4>>2];x=q[e>>2];q[d+352>>2]=x;q[d+356>>2]=i;j=f+1168|0;b=j;t=q[b+4>>2];y=q[b>>2];q[d+344>>2]=y;q[d+348>>2]=t;k=f+1160|0;b=k;z=q[b+4>>2];A=q[b>>2];q[d+336>>2]=A;q[d+340>>2]=z;u=f+1152|0;b=u;n=q[b+4>>2];q[d+328>>2]=q[b>>2];q[d+332>>2]=n;n=f+1144|0;b=n;v=q[b+4>>2];q[d+320>>2]=q[b>>2];q[d+324>>2]=v;b=q[f+1132>>2];q[d+304>>2]=q[f+1128>>2];q[d+308>>2]=b;b=f+1136|0;v=q[b+4>>2];q[d+312>>2]=q[b>>2];q[d+316>>2]=v;q[f+1128>>2]=A;q[f+1132>>2]=z;q[b>>2]=y;q[b+4>>2]=t;q[n>>2]=x;q[n+4>>2]=i;q[u>>2]=w;q[u+4>>2]=c;c=q[d+308>>2];b=k;i=q[d+304>>2];o[b|0]=i;o[b+1|0]=i>>>8;o[b+2|0]=i>>>16;o[b+3|0]=i>>>24;o[b+4|0]=c;o[b+5|0]=c>>>8;o[b+6|0]=c>>>16;o[b+7|0]=c>>>24;b=j;j=q[d+316>>2];c=q[d+312>>2];o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=j;o[b+5|0]=j>>>8;o[b+6|0]=j>>>16;o[b+7|0]=j>>>24;b=e;e=q[d+324>>2];j=q[d+320>>2];o[b|0]=j;o[b+1|0]=j>>>8;o[b+2|0]=j>>>16;o[b+3|0]=j>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;b=m;e=q[d+332>>2];m=q[d+328>>2];o[b|0]=m;o[b+1|0]=m>>>8;o[b+2|0]=m>>>16;o[b+3|0]=m>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;xi[q[68401]](d+304|0,0,64)|0;m=p+48|0;j=f+1128|0;c=xi[q[f+1116>>2]](m,48,176085,j,64,d+48|0,256)|0;if(c){break a}c=-27648;e=q[l+4>>2];if(e>>>0>10){break a}t=q[l+8>>2];b=1<>2]:0)&255;e=q[p+120>>2]==1?10:b;q[h+12>>2]=e;i=q[l+16>>2];q[h+4>>2]=i;if(q[l+4>>2]==7){q[h>>2]=e;break f}c=q[l+24>>2];g=c+e|0;g=q[p+124>>2]!=1?g-((e>>>0)%(c>>>0)|0)|0:g;q[h>>2]=g;c=-27648;g:{switch(q[a+20>>2]){case 0:case 1:break f;case 2:case 3:break g;default:break e}}q[h>>2]=g+i;break f}b=0;q[h+12>>2]=0;i=12;g=r[s+36|0];e=(e|0)==10?12:4;q[h+8>>2]=e;q[h+4>>2]=12;g=g&2?8:16;q[h+16>>2]=g;q[h>>2]=(g-e|0)+12}c=-27648;if(o[q[a>>2]+184|0]&1){break e}s=(d+48|0)+(b<<1)|0;e=t>>>3|0;p=s+e|0;t=e+p|0;g=q[h+8>>2];g=g?g:i;Gi(h+20|0,t,g);Gi(h+36|0,g+t|0,g);if(q[a+20>>2]<1){break e}if(b){Mo(h+52|0,d+48|0,b);Mo(h- -64|0,(d+48|0)+b|0,b)}c=q[a>>2];i=q[c+68>>2];if(i){xi[i|0](q[c+76>>2],m,d+48|0,b,e,g)|0;c=q[a>>2]}i=q[c+72>>2];if(i){u=q[c+76>>2];c=d+48|0;a=j;f=q[f+1116>>2];n=2;h:{if((f|0)==1375){break h}n=3;if((f|0)==1378){break h}n=((f|0)==1381)<<2}xi[i|0](u,m,c,b,e,g,k,a,n)|0}a=h+80|0;c=Zt(a,l);if(c){break e}b=h+144|0;c=Zt(b,l);if(c){break e}c=_t(a,s,q[l+8>>2],1);if(c){break e}c=_t(b,p,q[l+8>>2],0);if(c){break e}c=0;if(q[l+4>>2]!=2){break e}c=Fx(a,4);if(c){break e}c=Fx(b,4)}xi[q[68401]](d+48|0,0,256)|0;xi[q[68401]](j,0,64)|0}ti=d+368|0;return c}function Uja(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0,i=x(0),j=x(0),k=0,l=x(0),m=x(0),n=x(0),v=x(0),z=x(0),A=x(0),B=x(0),D=x(0),E=0,F=x(0),H=0,I=x(0),K=0,L=x(0),M=x(0);c=ti-160|0;ti=c;e=q[q[a+12>>2]>>2];a:{b:{g=q[a+16>>2];d=g;b=q[d+64>>2];k=q[64310];d=q[d+68>>2];c:{if((b|0)==q[k+8>>2]&(d|0)==q[k+12>>2]){b=q[g+96>>2];d=q[g+100>>2];d:{h=q[q[e+156>>2]+4>>2];k=q[h+8>>2];e:{if(!k){break e}E=q[h+4>>2];h=0;while(1){H=E+(h<<5)|0;if(q[H+16>>2]!=(b|0)|q[H+20>>2]!=(d|0)){h=h+1|0;if((k|0)!=(h|0)){continue}break e}break}if((h|0)!=-1){break d}}a=Mi(b,d);b=q[q[64310]+4>>2];q[c>>2]=a;q[c+4>>2]=b;Ai(4,5e4,50111,c);h=-1e3;break c}b=q[e+96>>2];Mv(c+48|0,b);B=u[c+80>>2];if(B==x(0)){break b}m=u[c+84>>2];if(m==x(0)){break b}F=u[c+88>>2];if(F==x(0)){break b}z=u[c+56>>2];l=u[c+64>>2];f=u[c+60>>2];D=u[c+68>>2];i=u[c+48>>2];n=u[c+72>>2];v=x(x(x(z*l)-x(f*D))-x(i*n));j=u[c+52>>2];A=x(x(z*n)+x(x(i*l)+x(j*D)));m=x(x(1)/m);I=x(x(x(i*D)-x(f*n))-x(j*l));l=x(x(x(j*n)-x(f*l))-x(z*D));M=x(m*x(x(x(x(f*v)-x(j*A))+x(i*I))-x(z*l)));I=x(x(x(z*v)+x(x(f*l)-x(i*A)))-x(j*I));D=x(x(1)/B);l=u[g+120>>2];n=u[g+116>>2];v=u[g+112>>2];A=x(-j);f:{if((q[b+136>>2]&512)>>>9|0){n=x(m*n);v=x(D*v);l=x(x(x(1)/F)*l);m=x(x(x(f*n)-x(z*v))+x(i*l));B=x(x(x(n*A)-x(i*v))-x(z*l));A=x(x(f*m)-x(j*B));L=x(z*m);m=x(x(z*n)+x(x(f*v)-x(j*l)));F=j;j=x(x(j*v)+x(x(f*l)-x(i*n)));f=x(x(L+x(x(f*m)-x(i*B)))-x(F*j));B=x(i*j);break f}n=x(m*n);v=x(D*v);m=x(x(i*l)+x(x(f*n)-x(z*v)));A=x(x(x(n*A)-x(i*v))-x(z*l));B=x(x(f*m)-x(j*A));L=x(z*m);m=x(x(z*n)+x(x(f*v)-x(j*l)));F=j;j=x(x(j*v)+x(x(f*l)-x(i*n)));f=x(x(L+x(x(f*m)-x(i*A)))-x(F*j));A=x(i*j)}f=x(x(D*I)+f);E=q[g+136>>2];d=q[e+156>>2];H=q[d+40>>2];i=x(M+x(x(A+B)-x(z*m)));b=q[e+152>>2];if(!b){b=q[d>>2]}k=q[b+64>>2];i=x(C(x(i*x(x(1)/x(t[k+24>>2])))));g:{if(x(y(i))>2])))));i:{if(x(y(f))>2]-q[d+36>>2]|0)|0;j:{if((k|0)<0){break j}b=(E-H|0)+b|0;if((b|0)<0){break j}E=q[d+28>>2];if((E|0)<=(k|0)){break j}d=q[d+32>>2]&2147483647;if((d|0)>(b|0)){break h}}Ai(4,5e4,50161,0);h=-1e3;break c}d=k+w(E,b+w(d,h)|0)|0;g=q[g+128>>2]-1|0;p[q[e+100>>2]+(d<<1)>>1]=g;d=d+q[e+104>>2]|0;o[d|0]=r[d|0]&248;d=q[e+108>>2];K=q[e+112>>2]-d|0;e=w(s[e+160>>1],b>>>5|0)+(k>>>5|0)|0;if(K>>>0<=e>>>0){break a}e=d+e|0;o[e|0]=r[e|0]|1;q[c+136>>2]=k;q[c+128>>2]=h;q[c+140>>2]=g;q[c+132>>2]=b;e=q[63458];b=e;g=q[b+8>>2];d=q[b+12>>2];b=q[a+16>>2];k=q[b+52>>2];h=c- -64|0;q[h>>2]=q[b+48>>2];q[h+4>>2]=k;h=q[b+44>>2];q[c+56>>2]=q[b+40>>2];q[c+60>>2]=h;h=q[b+36>>2];q[c+48>>2]=q[b+32>>2];q[c+52>>2]=h;q[c+72>>2]=0;q[c+76>>2]=0;h=0;b=fk(b+32|0,c+48|0,g,d,0,e,c+128|0,28);if(!b){break c}a=q[a+16>>2];q[c+16>>2]=q[q[63458]+4>>2];q[c+20>>2]=b;Tm(a,50226,c+16|0);h=-1e3;break c}a=q[64332];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){a=q[e+144>>2];if(!a){a=Wp();q[e+144>>2]=a}b=q[e+148>>2];if(!b){b=q[q[e+156>>2]+24>>2]}d=q[g+100>>2];k=q[g+96>>2];u[c+32>>2]=u[g+112>>2];u[c+36>>2]=u[g+116>>2];u[c+40>>2]=u[g+120>>2];u[c+44>>2]=u[g+124>>2];dr(a,b,k,d,0,0,lp(c+48|0,c+32|0));xv(e);break c}a=q[64350];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){a=q[e+144>>2];if(!a){break c}Av(a,q[g+96>>2],q[g+100>>2]);break c}a=q[60261];if((b|0)==q[a+8>>2]&(d|0)==q[a+12>>2]){o[e+166|0]=r[e+166|0]|1;break c}a=q[60262];if(q[a+8>>2]!=(b|0)|q[a+12>>2]!=(d|0)){break c}o[e+166|0]=r[e+166|0]&254}ti=c+160|0;return h|0}J(50758,50871,281,50931);G()}J(50672,50529,479,50661);G()}function nm(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,p=0,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0;t=ti+ -64|0;ti=t;if(r[310361]){u=f-21>>>0<9;a:{if(j){s=u^1;break a}if(u){j=h;break a}s=1;if((f|0)!=15){j=b;break a}j=h+7>>>3|0}b:{if(w(b,c)<<4>>>0>e>>>0){break b}c:{if((f&-2)!=6){if(c){break c}n=1;break b}if((f|0)==7){uta(d,a,b,c);n=1;break b}vta(d,a,b,c);n=1;break b}F=k?k:s?k:i;H=j<<2;C=j<<1;I=w(g,j);while(1){d:{if(!b){break d}e=A<<2;u=F-e|0;B=w(e,j);h=w(A,I)+a|0;s=0;D=1;e:{while(1){f:{g:{h:{i:{j:{k:{l:{m:{switch(f|0){case 30:e=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);i=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);o[h|0]=i;o[h+1|0]=i>>>8;o[h+2|0]=i>>>16;o[h+3|0]=i>>>24;o[h+4|0]=e;o[h+5|0]=e>>>8;o[h+6|0]=e>>>16;o[h+7|0]=e>>>24;e=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);i=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);o[h+8|0]=i;o[h+9|0]=i>>>8;o[h+10|0]=i>>>16;o[h+11|0]=i>>>24;o[h+12|0]=e;o[h+13|0]=e>>>8;o[h+14|0]=e>>>16;o[h+15|0]=e>>>24;break g;case 2:if(Gta(d,h)){break g}break f;case 3:if(Fta(d,h)){break g}break f;case 4:l=(l|0)>0?l:0;if(Eta(d,h,l)){break g}break f;case 5:l=(l|0)>0?l:0;m=(m|0)<0?3:m;if(Dta(d,h,l,m)){break g}break f;case 8:case 9:if(Bta(d,h)){break g}break f;case 12:if(Hta(d,h)){break g}break f;case 18:l=(l|0)>0?l:0;if(yta(d,h,l)){break g}break f;case 19:l=(l|0)>0?l:0;m=(m|0)<0?3:m;if(xta(d,h,l,m)){break g}break f;case 22:z=cq(d,t);if((g|0)!=4){break l}y=(u|0)>4?4:u;e=s<<2;i=j-e|0;q=(i|0)>4?4:i;if(!(!y|!q)){e=(e+B<<2)+a|0;k=0;while(1){i=0;while(1){n=i<<2;p=n+((k<<4)+t|0)|0;o[e+n|0]=r[p|0];o[(n|1)+e|0]=r[p+1|0];o[(n|2)+e|0]=r[p+2|0];o[(n|3)+e|0]=r[p+3|0];i=i+1|0;if((q|0)!=(i|0)){continue}break}e=e+H|0;k=k+1|0;if((y|0)!=(k|0)){continue}break}}if(z){break g}break f;case 29:break h;case 0:break j;case 1:break k;case 24:case 25:break m;default:break i}}z=cq(d,t);if((g|0)==2){e=s<<2;i=j-e|0;k=(i|0)>4?4:i;y=(u|0)>4?4:u;if(y){e=(e+B<<1)+a|0;i=0;while(1){n:{if(!k){break n}n=0;if((f|0)==24){while(1){p=((i<<4)+t|0)+(n<<2)|0;q=w(r[p|0],31)+128|0;v=n<<1;x=w(r[p+2|0],31)+128|0;p=w(r[p+1|0],63)+128|0;p=((p>>>8|0)+p>>>8&255)<<5;o[v+e|0]=(x>>>8|0)+x>>>8&255|p;o[(v|1)+e|0]=(p|(q+(q>>>8|0)>>>8&255)<<11)>>>8;n=n+1|0;if((k|0)!=(n|0)){continue}break n}}while(1){p=((i<<4)+t|0)+(n<<2)|0;q=w(r[p+2|0],31)+128|0;v=n<<1;x=w(r[p|0],31)+128|0;p=w(r[p+1|0],63)+128|0;p=((p>>>8|0)+p>>>8&255)<<5;o[v+e|0]=(x>>>8|0)+x>>>8&255|p;o[(v|1)+e|0]=(p|(q+(q>>>8|0)>>>8&255)<<11)>>>8;n=n+1|0;if((k|0)!=(n|0)){continue}break}}e=e+C|0;i=i+1|0;if((y|0)!=(i|0)){continue}break}}if(z){break g}break f}J(92223,92069,9463,92115);G()}J(92165,92069,9434,92115);G()}if(wta(d,h)){break g}break f}if(!zta(d,h)){break f}break g}J(92163,92069,9515,92115);G()}y=cq(d,t);if((g|0)!=2){break e}v=(u|0)>4?4:u;e=s<<2;i=j-e|0;p=(i|0)>4?4:i;if(!(!v|!p)){e=(e+B<<1)+a|0;i=0;while(1){n=0;while(1){k=((i<<4)+t|0)+(n<<2)|0;q=w(r[k|0],15)+128|0;z=w(r[k+1|0],15)+128|0;x=n<<1;E=w(r[k+3|0],15)+128|0;k=w(r[k+2|0],15)+128|0;k=((k>>>8|0)+k>>>8&255)<<4;o[x+e|0]=E+(E>>>8|0)>>>8|k;o[(x|1)+e|0]=(k|((z+(z>>>8|0)>>>8&255)<<8|(q+(q>>>8|0)>>>8&255)<<12))>>>8;n=n+1|0;if((p|0)!=(n|0)){continue}break}e=e+C|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}}if(!y){break f}}h=g+h|0;d=d+16|0;s=s+1|0;D=s>>>0>>0;if((b|0)!=(s|0)){continue}break d}break}if(!D){break d}n=0;break b}J(92223,92069,9492,92115);G()}n=1;A=A+1|0;if((A|0)!=(c|0)){continue}break}}ti=t- -64|0;return n}J(92044,92069,9298,92115);G()}function Xx(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=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,H=0;h=ti+ -64|0;q[h+48>>2]=0;q[h+52>>2]=0;q[h+56>>2]=0;q[h+60>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;q[h+40>>2]=0;q[h+44>>2]=0;a:{b:{c:{d:{e:{if(c){while(1){j=(h+32|0)+(s[(k<<1)+b>>1]<<1)|0;p[j>>1]=s[j>>1]+1;k=k+1|0;if((k|0)!=(c|0)){continue}break}k=q[e>>2];l=15;v=s[h+62>>1];if(v){break d}break e}k=q[e>>2]}l=14;v=0;if(s[h+60>>1]){break d}l=13;if(s[h+58>>1]){break d}l=12;if(s[h+56>>1]){break d}l=11;if(s[h+54>>1]){break d}l=10;if(s[h+52>>1]){break d}l=9;if(s[h+50>>1]){break d}l=8;if(s[h+48>>1]){break d}l=7;if(s[h+46>>1]){break d}l=6;if(s[h+44>>1]){break d}l=5;if(s[h+42>>1]){break d}l=4;if(s[h+40>>1]){break d}l=3;if(s[h+38>>1]){break d}l=2;if(s[h+36>>1]){break d}if(!s[h+34>>1]){a=q[d>>2];q[d>>2]=a+4;p[a>>1]=320;p[a+2>>1]=0;a=q[d>>2];q[d>>2]=a+4;p[a>>1]=320;p[a+2>>1]=0;q[e>>2]=1;break b}m=(k|0)!=0;l=1;k=1;break c}m=k>>>0>l>>>0?l:k;g=1;k=1;while(1){if(s[(h+32|0)+(k<<1)>>1]){break c}k=k+1|0;if((l|0)!=(k|0)){continue}break}k=l}j=-1;t=s[h+34>>1];if(t>>>0>2){break a}u=s[h+36>>1];i=4-(u+(t<<1)|0)|0;if((i|0)<0){break a}w=s[h+38>>1];i=(i<<1)-w|0;if((i|0)<0){break a}x=s[h+40>>1];i=(i<<1)-x|0;if((i|0)<0){break a}z=s[h+42>>1];i=(i<<1)-z|0;if((i|0)<0){break a}A=s[h+44>>1];i=(i<<1)-A|0;if((i|0)<0){break a}D=s[h+46>>1];i=(i<<1)-D|0;if((i|0)<0){break a}E=s[h+48>>1];i=(i<<1)-E|0;if((i|0)<0){break a}B=s[h+50>>1];i=(i<<1)-B|0;if((i|0)<0){break a}G=s[h+52>>1];i=(i<<1)-G|0;if((i|0)<0){break a}H=s[h+54>>1];i=(i<<1)-H|0;if((i|0)<0){break a}n=s[h+56>>1];i=(i<<1)-n|0;if((i|0)<0){break a}C=s[h+58>>1];i=(i<<1)-C|0;if((i|0)<0){break a}F=s[h+60>>1];i=(i<<1)-F|0;if((i|0)<0){break a}i=(i<<1)-v|0;if((i|0)<0|(!a|g?i:0)){break a}j=0;p[h+2>>1]=0;p[h+4>>1]=t;g=t+u|0;p[h+6>>1]=g;g=g+w|0;p[h+8>>1]=g;g=g+x|0;p[h+10>>1]=g;g=g+z|0;p[h+12>>1]=g;g=g+A|0;p[h+14>>1]=g;g=g+D|0;p[h+16>>1]=g;g=g+E|0;p[h+18>>1]=g;g=g+B|0;p[h+20>>1]=g;g=g+G|0;p[h+22>>1]=g;g=g+H|0;p[h+24>>1]=g;g=g+n|0;p[h+26>>1]=g;g=g+C|0;p[h+28>>1]=g;p[h+30>>1]=g+F;if(c){while(1){g=s[(j<<1)+b>>1];if(g){g=(g<<1)+h|0;i=s[g>>1];p[g>>1]=i+1;p[(i<<1)+f>>1]=j}j=j+1|0;if((j|0)!=(c|0)){continue}break}}n=k>>>0>m>>>0?k:m;t=19;D=0;C=f;z=f;E=0;f:{g:{switch(a|0){case 1:j=1;if(n>>>0>9){break a}z=189550;C=189486;t=256;E=1;break f;case 0:break f;default:break g}}z=190192;C=190128;D=(a|0)==2;t=-1;if((a|0)!=2){break f}j=1;if(n>>>0>9){break a}}u=1<>2];x=0;g=n;m=0;i=-1;while(1){F=1<>1];a=0;i:{if((t|0)>(g|0)){break i}if((g|0)<=(t|0)){g=0;a=96;break i}a=g<<1;g=s[a+C>>1];a=r[a+z|0]}H=m>>>y|0;j=-1<>1]=g;o[B+1|0]=A;o[B|0]=a;if(c){continue}break}j=1<>>1|0;if(a&m){continue}break}c=(h+32|0)+(k<<1)|0;g=s[c>>1]-1|0;p[c>>1]=g;m=a?a+(a-1&m)|0:0;x=x+1|0;if(!(g&65535)){if((k|0)==(l|0)){break h}k=s[(s[(x<<1)+f>>1]<<1)+b>>1]}if(k>>>0<=n>>>0){continue}a=m&G;if((a|0)==(i|0)){continue}break}y=y?y:n;g=k-y|0;v=1<>>0>>0){c=l-y|0;j=k;j:{while(1){j=v-s[(h+32|0)+(j<<1)>>1]|0;if((j|0)<1){break j}v=j<<1;g=g+1|0;j=y+g|0;if(l>>>0>j>>>0){continue}break}g=c}v=1<>>0>852&E|u>>>0>592&D){break a}c=q[d>>2];j=c+(a<<2)|0;o[j+1|0]=n;o[j|0]=g;w=(F<<2)+w|0;p[j+2>>1]=w-c>>>2;i=a;continue}break}if(m){a=(m<<2)+w|0;p[a+2>>1]=0;o[a+1|0]=A;o[a|0]=64}q[d>>2]=q[d>>2]+(u<<2);q[e>>2]=n}j=0}return j}function KF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,v=0,x=0,y=0;m=ti-48|0;ti=m;mj(a,f,5);if(r[b+24|0]){while(1){j=q[b+20>>2]+w(x,24)|0;Hi(a,q[j>>2]);Vk(a,f);a:{if(!Ei(a,-1)){h=q[j+4>>2];if((h&-268435456)==268435456){i=q[j+16>>2];if(i){OF(a,j,c,d,e,i,g);break a}if((h&264241152)==46137344){h=q[j+8>>2];i=r[h+24|0];if(!i){break a}j=q[j+12>>2]+c|0;n=0;while(1){k=q[h+20>>2]+w(n,24)|0;p=q[k+16>>2];if(p){OF(a,k,j,d,e,p,j);i=r[h+24|0]}n=n+1|0;if(i>>>0>n>>>0){continue}break}break a}b:{c:{d:{e:{f:{g:{h:{i:{h=h>>>22&63;switch(h-2|0){case 12:break c;case 7:break d;case 0:break e;case 6:break f;case 2:break g;case 11:break h;case 3:break i;default:break b}}q[q[j+12>>2]+c>>2]=0;break a}q[q[j+12>>2]+c>>2]=0;break a}h=q[j+12>>2]+c|0;q[h>>2]=0;q[h+4>>2]=0;break a}o[q[j+12>>2]+c|0]=0;break a}q[q[j+12>>2]+c>>2]=0;break a}h=q[d>>2];j:{if(t[e>>2]>>0){Bi(a,119406,0);break j}o[h|0]=0;q[q[j+12>>2]+c>>2]=q[d>>2]-g}q[d>>2]=q[d>>2]+1;break a}q[q[j+12>>2]+c>>2]=0;break a}q[m+4>>2]=q[j>>2];q[m>>2]=h;Bi(a,119482,m);break a}q[m+16>>2]=q[j>>2];Bi(a,119374,m+16|0);break a}i=q[j+12>>2]+c|0;k=Ei(a,-1);n=0;s=1;y=(q[j+4>>2]&-268435456)!=805306368;k:{if(y){h=i;p=0;break k}mj(a,-1,5);p=4;l:{m:{switch((q[j+4>>2]>>>22&63)-2|0){case 6:p=1;break l;case 9:p=q[q[j+8>>2]+16>>2];break l;default:J(119530,119536,215,119558);G();case 0:case 3:case 7:case 11:case 12:break l;case 2:break m}}p=8}s=Mk(a,-1);h=q[d>>2]+15&-16;q[d>>2]=h;l=w(p,s)+h|0;if(l>>>0>t[e>>2]){Bi(a,119572,0);break a}q[i+4>>2]=s;q[i>>2]=h-c;q[d>>2]=l;if(!s){break a}}while(1){if(!y){bj(a,-1,n+1|0)}n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{i=q[j+4>>2]>>>22&63;switch(i-2|0){case 9:break q;case 12:break r;case 7:break s;case 0:break t;case 6:break u;case 2:break v;case 11:break w;case 3:break x;default:break p}}if(!k){q[h>>2]=0;break n}q[h>>2]=Xi(a,-1);break n}if(!k){q[h>>2]=0;break n}q[h>>2]=Xi(a,-1);break n}if(!k){q[h>>2]=0;q[h+4>>2]=0;break n}q[h>>2]=Zk(a,-1);q[h+4>>2]=wi;break n}if(!k){o[h|0]=0;break n}o[h|0]=(Ej(a,-1)|0)!=0;break n}if(!k){q[h>>2]=0;break n}u[h>>2]=Ri(a,-1);break n}if(k){i=Wi(a,-1,0)}else{i=119481}v=q[d>>2];l=Ui(i)+1|0;y:{if(v+l>>>0>t[e>>2]){Bi(a,119406,0);break y}Gi(v,i,l);q[h>>2]=q[d>>2]-g}q[d>>2]=l+q[d>>2];break n}if(!k){q[h>>2]=0;break n}q[h>>2]=Xi(a,-1);break n}if(!k){break n}l=q[j+8>>2];i=q[l+4>>2];if(!tk(i,119265,8)){break o}if(!tk(i,119273,7)){i=kl(a,-1);l=q[i+4>>2];v=q[i>>2];u[h+8>>2]=u[i+8>>2];q[h>>2]=v;q[h+4>>2]=l;break n}if(!tk(i,119280,8)){i=am(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];break n}if(!tk(i,119288,5)){i=Pq(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];break n}if(!tk(i,119293,8)){i=Fm(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2];u[h+12>>2]=u[i+12>>2];u[h+16>>2]=u[i+16>>2];u[h+20>>2]=u[i+20>>2];u[h+24>>2]=u[i+24>>2];u[h+28>>2]=u[i+28>>2];u[h+32>>2]=u[i+32>>2];u[h+36>>2]=u[i+36>>2];u[h+40>>2]=u[i+40>>2];u[h+44>>2]=u[i+44>>2];u[h+48>>2]=u[i+48>>2];u[h+52>>2]=u[i+52>>2];u[h+56>>2]=u[i+56>>2];u[h+60>>2]=u[i+60>>2];break n}KF(a,l,h,d,e,q[a+8>>2]-q[a+12>>2]>>4,g);break n}q[m+36>>2]=q[j>>2];q[m+32>>2]=i;Bi(a,119309,m+32|0);break n}i=kl(a,-1);u[h>>2]=u[i>>2];u[h+4>>2]=u[i+4>>2];u[h+8>>2]=u[i+8>>2]}if(!y){Ci(a,-2);h=h+p|0}n=n+1|0;if((s|0)!=(n|0)){continue}break}}Ci(a,-2);x=x+1|0;if(x>>>0>2];while(1){g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];a:{if(e>>>0<=d>>>0){d=q[g>>2];break a}if(d>>>0>=2147483646){Gk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+72>>2]=136278;q[h+68>>2]=e;q[h+64>>2]=h+80;_i(d,136255,h- -64|0);yj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;b:{if((f|0)!=-2){d=lj(e,q[g>>2],d,f);break b}d=Yj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;c:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break c}c=sk(c)}q[d>>2]=c;if((c|0)==46|c-48>>>0<10){continue}break}d:{if(!qq(136482,c,3)){break d}g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];e:{if(e>>>0<=d>>>0){d=q[g>>2];break e}if(d>>>0>=2147483646){Gk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+56>>2]=136278;q[h+52>>2]=e;q[h+48>>2]=h+80;_i(d,136255,h+48|0);yj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;f:{if((f|0)!=-2){d=lj(e,q[g>>2],d,f);break f}d=Yj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;g:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break g}c=sk(c)}q[d>>2]=c;d=c&255;if(d>>>0>63){break d}e=d&31;if((d&63)>>>0>=32){d=1<>>32-e;e=1<>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];h:{if(e>>>0<=d>>>0){d=q[g>>2];break h}if(d>>>0>=2147483646){Gk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+40>>2]=136278;q[h+36>>2]=e;q[h+32>>2]=h+80;_i(d,136255,h+32|0);yj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;i:{if((f|0)!=-2){d=lj(e,q[g>>2],d,f);break i}d=Yj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;j:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break j}c=sk(c)}q[d>>2]=c}if(!(((c|32)-97>>>0<26?1:c-48>>>0<10)?0:(c|0)!=95)){while(1){g=q[a+60>>2];f=q[g+4>>2];e=f+1|0;d=q[g+8>>2];k:{if(e>>>0<=d>>>0){d=q[g>>2];break k}if(d>>>0>=2147483646){Gk(h+80|0,q[a+64>>2]+16|0,80);d=q[a+52>>2];e=q[a+4>>2];q[h+24>>2]=136278;q[h+20>>2]=e;q[h+16>>2]=h+80;_i(d,136255,h+16|0);yj(q[a+52>>2],3);d=q[g+8>>2]}e=q[a+52>>2];f=d<<1;l:{if((f|0)!=-2){d=lj(e,q[g>>2],d,f);break l}d=Yj(e)}q[g+8>>2]=f;q[g>>2]=d;f=q[g+4>>2];e=f+1|0}q[g+4>>2]=e;o[d+f|0]=c;c=q[a+56>>2];e=q[c>>2];q[c>>2]=e-1;d=a;m:{if(e){e=c;c=q[c+4>>2];q[e+4>>2]=c+1;c=r[c|0];break m}c=sk(c)}q[d>>2]=c;if((c|0)==95|((c|32)-97>>>0<26?1:c-48>>>0<10)){continue}break}}d=q[a+60>>2];c=q[d+4>>2];f=c+1|0;e=q[d+8>>2];n:{if(f>>>0<=e>>>0){e=q[d>>2];break n}if(e>>>0>=2147483646){Gk(h+80|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];e=q[a+4>>2];q[h+8>>2]=136278;q[h+4>>2]=e;q[h>>2]=h+80;_i(c,136255,h);yj(q[a+52>>2],3);e=q[d+8>>2]}c=q[a+52>>2];f=e<<1;o:{if((f|0)!=-2){e=lj(c,q[d>>2],e,f);break o}e=Yj(c)}q[d+8>>2]=f;q[d>>2]=e;c=q[d+4>>2];f=c+1|0}q[d+4>>2]=f;o[c+e|0]=0;c=q[a+60>>2];d=q[c>>2];c=q[c+4>>2];if(c){e=r[a+68|0];while(1){c=c-1|0;f=d+c|0;if(r[f|0]==46){o[f|0]=e}if(c){continue}break}d=q[q[a+60>>2]>>2]}p:{if(Cl(d,b)){break p}e=r[a+68|0];f=r[q[53443]];o[a+68|0]=f;c=q[a+60>>2];d=q[c>>2];c=q[c+4>>2];if(c){while(1){c=c-1|0;g=d+c|0;if((e|0)==r[g|0]){o[g|0]=f}if(c){continue}break}d=q[q[a+60>>2]>>2]}if(Cl(d,b)){break p}b=q[a+60>>2];c=q[b+4>>2];if(c){b=q[b>>2];d=r[a+68|0];while(1){c=c-1|0;e=b+c|0;if((d|0)==r[e|0]){o[e|0]=46}if(c){continue}break}}Pl(a,136485,284)}ti=h+160|0}function Vta(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,q=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,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;j=ti-16|0;ti=j;C=j|12;D=j|8;E=j|4;while(1){eua(a,j,A);f=r[Kj(j,0)|0];h=r[Kj(j,1)|0];i=r[Kj(j,2)|0];d=r[Kj(E,0)|0];f=(w(h,183)+w(f,54)|0)+w(i,19)|0;h=(w(r[Kj(E,1)|0],183)+w(d,54)|0)+w(r[Kj(E,2)|0],19)|0;f=f+h|0;i=r[Kj(D,0)|0];i=(w(r[Kj(D,1)|0],183)+w(i,54)|0)+w(r[Kj(D,2)|0],19)|0;h=i+h|0;d=r[Kj(C,0)|0];i=i+((w(r[Kj(C,1)|0],183)+w(d,54)|0)+w(r[Kj(C,2)|0],19)|0)|0;d=A<<1;a:{if(!(o[a+3|0]&1)){e=d<<2;d=e+b|0;z=kj(d,0);k=kj(d,1);l=kj(d,2);g=d+16|0;m=kj(g,0);n=kj(g,1);q=kj(g,2);g=d+32|0;s=kj(g,0);t=kj(g,1);u=kj(g,2);d=d+48|0;v=kj(d,0);x=kj(d,1);y=kj(d,2);d=(e|4)+b|0;F=kj(d,0);G=kj(d,1);H=kj(d,2);g=d+16|0;I=kj(g,0);J=kj(g,1);K=kj(g,2);g=d+32|0;L=kj(g,0);M=kj(g,1);N=kj(g,2);g=d+48|0;O=kj(g,0);d=A<<3;e=d|1;P=c;c=(w(k,366)+w(z,108)|0)+w(l,38)|0;z=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];c=(w(n,366)+w(m,108)|0)+w(q,38)|0;k=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];c=(w(t,366)+w(s,108)|0)+w(u,38)|0;l=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];m=d|2;c=(w(x,366)+w(v,108)|0)+w(y,38)|0;n=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];q=d|3;c=(w(G,366)+w(F,108)|0)+w(H,38)|0;s=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];t=d|4;c=(w(J,366)+w(I,108)|0)+w(K,38)|0;u=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];v=d|5;c=(w(M,366)+w(L,108)|0)+w(N,38)|0;x=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];y=d|6;c=f;f=(w(kj(g,1),366)+w(O,108)|0)+w(kj(g,2),38)|0;f=r[(((c>>>0>f>>>0)+(f>>>0>>0)|0)+(f>>>0>>0)|0)+102974|0];h=d|7;c=P|z>>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];c=(w(q,366)+w(n,108)|0)+w(s,38)|0;l=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];m=d+4|0;c=(w(u,366)+w(t,108)|0)+w(v,38)|0;n=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];q=d+8|0;c=(w(y,366)+w(x,108)|0)+w(F,38)|0;s=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];t=d+12|0;c=(w(H,366)+w(G,108)|0)+w(I,38)|0;u=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];c=(w(K,366)+w(J,108)|0)+w(L,38)|0;v=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];c=(w(N,366)+w(M,108)|0)+w(O,38)|0;x=r[(((c>>>0>>0)+(c>>>0>>0)|0)+(c>>>0>>0)|0)+102974|0];y=g+8|0;c=f;f=(w(kj(e,1),366)+w(Q,108)|0)+w(kj(e,2),38)|0;f=r[(((c>>>0>f>>>0)+(f>>>0>>0)|0)+(f>>>0>>0)|0)+102974|0];h=g+12|0;c=P|k>>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>1<>>8;p[a+6>>1]=(B<<8&16711680|B<<24)>>>16;ti=j+16|0}function xK(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0;h=ti-112|0;ti=h;a:{b:{c:{if(Cj(c,d,q[63088],e+164|0)){break c}q[e+128>>2]=zi(q[q[e+164>>2]+20>>2]);q[e+132>>2]=wi;d:{e:{f:{d=q[q[e+164>>2]+28>>2];g:{h:{if(d>>>0>=17){q[h+80>>2]=f;Ai(3,54695,54703,h+80|0);d=16;break h}if(!d){break g}}while(1){c=q[e+164>>2];if(t[c+28>>2]<=g>>>0){break f}f=(g<<3)+e|0;q[f>>2]=zi(q[q[c+24>>2]+(g<<2)>>2]);q[f+4>>2]=wi;g=g+1|0;if((g|0)!=(d|0)){continue}break}}c=q[e+164>>2];i=q[c+36>>2];n=q[c+32>>2];d=q[c>>2];if(!d|!r[d|0]){break d}if(Nj(b,d,h+96|0)){break d}if(Fl(b,54808,h+92|0)){break d}if(Mu(b,q[h+96>>2],h+88|0)|q[h+88>>2]!=q[h+92>>2]){break d}g=q[h+96>>2];q[e+136>>2]=g;d=q[e+160>>2]|-2147483648;q[e+160>>2]=d;l=q[g+12>>2];m=q[g+8>>2];b=l-m|0;j=b>>2;f=j+i|0;q[e+144>>2]=Ji(f<<2);f=f<<4;q[e+148>>2]=Ji(f);q[e+152>>2]=Ji(f);if(!b){break e}f=q[g+8>>2];if((f|0)!=q[g+12>>2]){d=m-l|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;g=0;while(1){b=g<<2;q[b+q[e+144>>2]>>2]=q[b+f>>2];f=g<<4;b=f+q[e+148>>2]|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=f+q[e+152>>2]|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;g=g+1|0;if((d|0)==(g|0)){d=q[e+160>>2];break e}b=q[e+136>>2];f=q[b+8>>2];if(q[b+12>>2]-f>>2>>>0>g>>>0){continue}break}}J(55031,55042,479,54893);G()}J(54853,54865,116,54893);G()}q[e+156>>2]=j;q[e+160>>2]=d&-2147483648|j&2147483647}i:{if(!n){c=q[e+160>>2];break i}g=r[a+17|0];j:{if(g){q[e+140>>2]=Ji(i<<2);a=i<<4;q[e+148>>2]=Ji(a);q[e+152>>2]=Ji(a);f=q[e+160>>2];break j}f=q[e+160>>2];if((f|0)<0){break j}q[e+144>>2]=Ji(i<<2);a=i<<4;q[e+148>>2]=Ji(a);q[e+152>>2]=Ji(a)}d=f&2147483647;if(i){f=0;if(g&255){if(t[c+36>>2]<=f>>>0){break b}a=q[c+44>>2];g=q[c+40>>2];k:{l:{m:{n:{o:{p:{q:{b=q[c+32>>2]+(f<<6)|0;c=q[b>>2];switch(c|0){case 3:break n;case 2:break o;case 1:break p;case 0:break q;default:break m}}if(a>>>0>2]+1>>>0){break l}break k}b=q[b+48>>2];if(a>>>0>>0){break l}a=g+(b<<2)|0;k=u[a+8>>2];b=q[a+4>>2];q[h+96>>2]=q[a>>2];q[h+100>>2]=b;u[h+104>>2]=k;break k}if(a>>>0>2]+2>>>0){break l}break k}c=q[b+52>>2];b=q[b+48>>2];if(a>>>0>>0){break l}if(a>>>0<=b>>>0){break a}break k}q[h+48>>2]=c;Ai(4,54695,54904,h+48|0);break k}q[h+64>>2]=f;Ai(4,54695,54942,h- -64|0)}q[e+160>>2]=q[e+160>>2]&-2147483648|d&2147483647;g=0;break c}if(t[c+36>>2]<=f>>>0){break b}b=q[c+44>>2];i=q[c+40>>2];r:{s:{t:{u:{v:{w:{x:{a=q[c+32>>2]+(f<<6)|0;c=q[a>>2];switch(c|0){case 3:break u;case 2:break v;case 1:break w;case 0:break x;default:break t}}if(b>>>0>2]+1>>>0){break s}break r}a=q[a+48>>2];if(b>>>0>>0){break s}a=i+(a<<2)|0;k=u[a+8>>2];b=q[a+4>>2];q[h+96>>2]=q[a>>2];q[h+100>>2]=b;u[h+104>>2]=k;break r}q[h+32>>2]=54997;Ai(4,54695,54994,h+32|0);break r}c=q[a+52>>2];if(b>>>0>2]>>>0){break s}g=c<<1;c=(g>>>0)/3|0;f=Oi((c|0)!=(c&1073741823)?-1:c<<2);if(g>>>0>=3){c=c>>>0>1?c:1;a=q[a+48>>2];g=0;while(1){j=(a+(g&1)|0)+w(g>>>1|0,3)|0;if(j>>>0>=b>>>0){break a}u[f+(g<<2)>>2]=u[i+(j<<2)>>2];g=g+1|0;if((c|0)!=(g|0)){continue}break}}yi(f);break r}q[h>>2]=c;Ai(4,54695,54904,h);break r}q[h+16>>2]=f;Ai(4,54695,54942,h+16|0)}q[e+160>>2]=q[e+160>>2]&-2147483648|d&2147483647;g=0;break c}c=q[e+160>>2]&-2147483648|d&2147483647;q[e+160>>2]=c}g=1;if(c&2147483647){break c}g=0;Ai(4,54695,54817,0)}ti=h+112|0;return g}J(54853,54865,87,54893);G()}J(54853,54865,95,54893);G()} -function Ina(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=x(0),h=0,i=0,j=0,k=0,l=0;i=fi-32|0;fi=i;f=-1;a:{if(!b){break a}j=q[b>>2];if(!j){break a}l=q[b+4>>2];while(1){k=(h<<3)+l|0;if(q[k>>2]!=(c|0)|q[k+4>>2]!=(d|0)){h=h+1|0;if((j|0)!=(h|0)){continue}break a}break}d=h<<2;c=q[d+q[b+8>>2]>>2];b:{switch(q[d+q[b+12>>2]>>2]){case 1:a=q[b+16>>2]+(c<<3)|0;b=q[a+4>>2];a=q[a>>2];q[e>>2]=1;q[e+8>>2]=a;q[e+12>>2]=b;f=0;break a;case 7:d=q[b+28>>2];b=i;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ji[q[a+44>>2]](q[a+40>>2],b);f=-2;if(ay(q[a+40>>2],c+d|0,e+8|0,b)){break a}q[e>>2]=2;f=0;break a;case 2:a=c+q[b+24>>2]|0;b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o[e+8|0]=c;o[e+9|0]=c>>>8;o[e+10|0]=c>>>16;o[e+11|0]=c>>>24;o[e+12|0]=b;o[e+13|0]=b>>>8;o[e+14|0]=b>>>16;o[e+15|0]=b>>>24;b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);o[e+32|0]=c;o[e+33|0]=c>>>8;o[e+34|0]=c>>>16;o[e+35|0]=c>>>24;o[e+36|0]=b;o[e+37|0]=b>>>8;o[e+38|0]=b>>>16;o[e+39|0]=b>>>24;b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);o[e+24|0]=c;o[e+25|0]=c>>>8;o[e+26|0]=c>>>16;o[e+27|0]=c>>>24;o[e+28|0]=b;o[e+29|0]=b>>>8;o[e+30|0]=b>>>16;o[e+31|0]=b>>>24;b=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);o[e+16|0]=a;o[e+17|0]=a>>>8;o[e+18|0]=a>>>16;o[e+19|0]=a>>>24;o[e+20|0]=b;o[e+21|0]=b>>>8;o[e+22|0]=b>>>16;o[e+23|0]=b>>>24;q[e>>2]=2;f=0;break a;case 3:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];g=u[(a+q[b+20>>2]|0)+8>>2];q[e>>2]=3;u[e+16>>2]=g;f=0;break a;case 4:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];u[e+16>>2]=u[(a+q[b+20>>2]|0)+8>>2];g=u[(a+q[b+20>>2]|0)+12>>2];q[e>>2]=4;u[e+20>>2]=g;f=0;break a;case 5:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];u[e+16>>2]=u[(a+q[b+20>>2]|0)+8>>2];g=u[(a+q[b+20>>2]|0)+12>>2];q[e>>2]=5;u[e+20>>2]=g;f=0;break a;case 6:a=r[c+q[b+28>>2]|0];q[e>>2]=6;f=0;o[e+8|0]=(a|0)!=0;break a;default:J(13913,13798,532,13933);G();case 0:break b}}g=u[q[b+20>>2]+(c<<2)>>2];f=0;q[e>>2]=0;v[e+8>>3]=g}fi=i+32|0;return f|0}function LZ(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,s=0,t=0,u=0,v=0;t=fi-32|0;fi=t;b=t;q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;b=Km(a,b+16|0,16,b+16|0,b+12|0);if(!b){c=t;g=r[c+31|0];v=r[c+30|0];l=r[c+27|0];m=r[c+26|0];n=r[c+25|0];p=r[c+24|0];o=r[c+29|0];k=r[c+28|0];j=r[c+23|0];i=r[c+22|0];h=r[c+19|0];s=r[c+18|0];f=r[c+17|0];d=r[c+16|0];b=r[c+21|0];e=r[c+20|0];q[a+192>>2]=0;q[a+196>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;c=b;b=b>>>16|0;c=c<<16|e<<24;u=e>>>8|b;f=f<<16|d<<24;b=s<<8|f|h;b=b|u|i>>>24;d=b;u=i<<8|c|j;q[a+256>>2]=u;q[a+260>>2]=b;c=o>>>16|0;b=k>>>8|0;k=o<<16|k<<24;i=b|c;h=n<<16|p<<24;b=m<<8|h|l;e=k;c=b|i;i=v<<8|e|g;b=v>>>24|c;e=b;q[a+128>>2]=i;q[a+132>>2]=b;h=(d&1)<<31|u>>>1;m=jwa(g&1,0,0,-520093696)^h;b=ii^d>>>1;s=b;q[a+224>>2]=m;q[a+228>>2]=b;b=j<<31|e>>>1;f=b;l=(e&1)<<31|i>>>1;q[a+96>>2]=l;q[a+100>>2]=b;n=(b&1)<<31|l>>>1;b=h<<31|b>>>1;d=b;q[a+80>>2]=n;q[a+84>>2]=b;c=s;b=c>>>1|0;h=(c&1)<<31|m>>>1;p=jwa(l&1,0,0,-520093696)^h;c=ii^b;g=c;q[a+208>>2]=p;q[a+212>>2]=c;q[a+112>>2]=n^l;q[a+116>>2]=d^f;c=h<<31;o=(d&1)<<31|n>>>1;b=d>>>1|c;i=b;q[a+72>>2]=o;q[a+76>>2]=b;q[a+240>>2]=m^p;q[a+244>>2]=g^s;c=g;b=c>>>1|0;k=jwa(n&1,0,0,-520093696)^((c&1)<<31|p>>>1);b=b^ii;h=b;q[a+200>>2]=k;q[a+204>>2]=b;b=d^i;d=b;e=n^o;q[a+88>>2]=e;q[a+92>>2]=b;q[a+104>>2]=l^o;q[a+108>>2]=f^i;j=c^h;c=j;b=k^p;q[a+216>>2]=b;q[a+220>>2]=c;q[a+232>>2]=k^m;q[a+236>>2]=h^s;q[a+120>>2]=e^l;q[a+124>>2]=d^f;q[a+248>>2]=b^m;q[a+252>>2]=c^s;f=q[a+260>>2];g=q[a+256>>2];q[a+264>>2]=g^k;q[a+268>>2]=f^h;d=q[a+132>>2];e=q[a+128>>2];q[a+136>>2]=e^o;q[a+140>>2]=d^i;b=q[a+212>>2]^f;q[a+272>>2]=q[a+208>>2]^g;q[a+276>>2]=b;b=q[a+84>>2]^d;q[a+144>>2]=q[a+80>>2]^e;q[a+148>>2]=b;b=q[a+220>>2]^f;q[a+280>>2]=q[a+216>>2]^g;q[a+284>>2]=b;b=q[a+92>>2]^d;q[a+152>>2]=q[a+88>>2]^e;q[a+156>>2]=b;b=q[a+228>>2]^f;q[a+288>>2]=q[a+224>>2]^g;q[a+292>>2]=b;b=q[a+100>>2]^d;q[a+160>>2]=q[a+96>>2]^e;q[a+164>>2]=b;j=q[a+104>>2];c=q[a+108>>2];b=q[a+236>>2]^f;q[a+296>>2]=q[a+232>>2]^g;q[a+300>>2]=b;q[a+168>>2]=e^j;q[a+172>>2]=c^d;j=q[a+112>>2];c=q[a+116>>2];b=q[a+244>>2]^f;q[a+304>>2]=q[a+240>>2]^g;q[a+308>>2]=b;q[a+176>>2]=e^j;q[a+180>>2]=c^d;j=q[a+120>>2];c=q[a+124>>2];b=q[a+252>>2]^f;q[a+312>>2]=q[a+248>>2]^g;q[a+316>>2]=b;q[a+184>>2]=e^j;q[a+188>>2]=c^d;b=0}fi=t+32|0;return b}function Cs(a,b,c){var d=0,e=0;d=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=d;d=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=d;d=q[b+20>>2];q[a+16>>2]=q[b+16>>2];q[a+20>>2]=d;d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;d=zj();o[851668]=0;q[212916]=d;ti(851768)}b:{c:{if(!(!r[851668]|!q[b+24>>2])){if(c){d:{if(o[851768]&1){break d}if(!ui(851768)){break d}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}d=q[212916];tj(d);e:{if(o[851768]&1){break e}if(!ui(851768)){break e}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=a;a=xM();q[c+24>>2]=a;f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}if(!a){break c}c=q[212934];e=q[212935]-c>>3;if(e>>>0<=a>>>0){break b}b=q[b+24>>2];if(e>>>0<=b>>>0){break b}e=c+(a<<3)|0;b=c+(b<<3)|0;a=s[b+4>>1];c=xi(a+16&131056);q[e>>2]=c;o[si(c,q[b>>2],a)+a|0]=0;p[e+4>>1]=a;lj(d);return}q[a+24>>2]=0}return}J(150449,150161,137,150466);G()}J(150666,150264,447,150677);G()}function ln(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:{h:{i:{j:{if(r[b|0]==62){d=q[a+8>>2]-16|0;f=q[d>>2];q[a+8>>2]=d;b=b+1|0;break j}d=q[c+96>>2];if(!d){break i}g=q[a+40>>2]+w(d,24)|0;f=q[q[g+4>>2]>>2]}if(!f){break i}e=r[b|0];k:{if(!e){j=1;break k}n=c+36|0;k=g-12|0;o=g-20|0;l=g-24|0;p=c+4|0;j=1;d=b;while(1){m=d;l:{m:{switch((e<<24>>24)-76|0){case 7:n:{if(r[f+6|0]){q[c+28>>2]=-1;d=126198;q[c+16>>2]=126198;h=126203;e=-1;break n}d=q[q[f+16>>2]+32>>2]+16|0;q[c+16>>2]=d;e=q[q[f+16>>2]+60>>2];q[c+28>>2]=e;h=e?126210:126205;e=q[q[f+16>>2]+64>>2]}q[c+12>>2]=h;q[c+32>>2]=e;Bk(n,d,60);break l;case 32:e=-1;o:{if(!g){break o}d=q[g+4>>2];if(q[d+8>>2]!=6){break o}h=q[d>>2];if(r[h+6|0]){break o}p:{if(q[a+20>>2]!=(g|0)){i=q[g+12>>2];break p}i=q[a+24>>2];q[g+12>>2]=i;h=q[d>>2]}d=q[h+16>>2];h=i-q[d+12>>2]|0;if((h|0)<4){break o}d=q[d+20>>2];if(!d){q[c+20>>2]=0;break l}e=q[d+((h>>2)-1<<2)>>2]}q[c+20>>2]=e;break l;case 41:q[c+24>>2]=r[f+7|0];break l;case 34:q:{if(!g){break q}d=q[g+4>>2];if(q[g+20>>2]>0?!(q[d+8>>2]!=6|r[q[d>>2]+6|0]):0){break q}e=q[o>>2];if(q[e+8>>2]!=6){break q}d=q[e>>2];if(r[d+6|0]){break q}h=q[q[d+16>>2]+12>>2];r:{if(q[a+20>>2]!=(l|0)){i=q[k>>2];break r}i=q[a+24>>2];q[k>>2]=i;d=q[e>>2]}d=q[(h+(i-q[q[d+16>>2]+12>>2]|0)|0)-4>>2];e=(d&63)-28|0;if(e>>>0>5|!(1<>>6&255,p);q[c+8>>2]=d;if(d){break l}}q[c+4>>2]=0;q[c+8>>2]=126179;break l;case 0:case 26:break l;default:break m}}j=0}d=m+1|0;e=r[m+1|0];if(e){continue}break}}if(!Nj(b,102)){break f}c=q[a+8>>2];q[c+8>>2]=6;q[c>>2]=f;c=q[a+8>>2];e=0;break h}q[c+28>>2]=-1;q[c+32>>2]=-1;q[c+20>>2]=-1;q[c+12>>2]=126180;q[c+4>>2]=126179;q[c+8>>2]=126179;q[c+16>>2]=126185;Bk(c+36|0,126185,60);f=0;q[c+24>>2]=0;if(!Nj(b,102)){j=1;e=1;break g}c=q[a+8>>2];q[c+8>>2]=0;j=1;e=1}d=a;if((q[d+28>>2]-c|0)<=16){pk(a,1);c=q[a+8>>2]}q[d+8>>2]=c+16}if(!Nj(b,76)){break a}if(e){break d}break e}if(!Nj(b,76)){break a}}if(!r[f+6|0]){break c}}c=q[a+8>>2];q[c+8>>2]=0;break b}c=0;b=Ho(a,0,0);d=q[f+16>>2];if(q[d+48>>2]>=1){d=q[d+20>>2];while(1){e=Ut(a,b,q[d+(c<<2)>>2]);q[e+8>>2]=1;q[e>>2]=1;c=c+1|0;if((c|0)>2]+48>>2]){continue}break}}c=q[a+8>>2];q[c+8>>2]=5;q[c>>2]=b;c=q[a+8>>2]}b=a;if((q[a+28>>2]-c|0)<=16){pk(a,1);c=q[a+8>>2]}q[b+8>>2]=c+16}return j}function Tp(a,b,c,d,e,f,g){var h=0,i=x(0),j=x(0),k=0,l=0,m=0,n=0,p=0,s=0,t=0,v=0,w=0,z=0,A=x(0),B=0,C=0,D=0,E=0,F=x(0),G=x(0),H=0,I=x(0),J=0;n=fi-16|0;fi=n;z=7-b|0;v=b+1|0;b=-1<>2]*A)-j)*x(.5))+x(.5));a:{if(x(y(i))(p|0)?h:b;p=b;b=C;if((p|0)<(b|0)){h=b}C=h;h=k;p=b;i=x(x(x(x(u[d>>2]*A)-j)*x(.5))+x(.5));b:{if(x(y(i))(p|0)){h=b}p=h;t=C&255;h=k;l=b;i=x(x(x(x(u[c+4>>2]*A)-j)*x(.5))+x(.5));c:{if(x(y(i))(D|0)){h=b}D=h;l=t<>2]*A)-j)*x(.5))+x(.5));d:{if(x(y(i))(t|0)){h=b}t=h;m=l&255;h=k;B=b;i=x(x(x(x(u[c+8>>2]*A)-j)*x(.5))+x(.5));e:{if(x(y(i))(B|0)){h=b}B=h;s=m>>>v|0;h=k;m=b;i=x(x(x(x(u[d+8>>2]*A)-j)*x(.5))+x(.5));f:{if(x(y(i))(m|0)){h=b}m=h;E=l|s;h=k;l=b;i=x(x(x(x(u[c+12>>2]*A)-j)*x(.5))+x(.5));g:{if(x(y(i))(l|0)){h=b}l=h;j=x(x(x(x(u[d+12>>2]*A)-j)*x(.5))+x(.5));h:{if(x(y(j))>>v|h;h=(B&255)<>>v|h;h=(l&255)<>>v|h;h=(p&255)<>>v|h;h=(t&255)<>>v|h;h=(m&255)<>>v|h;s=n;h=b;w=b|w<<1;k=(k|0)<(w|0)?k:w;if((b|0)>(w|0)){k=h}b=(k&255)<>>v|b;b=0;i=x(0);j=x(0);F=x(0);if(a){while(1){s=b<<2;j=x(x((E&255)>>>0)-x(u[s+c>>2]*x(255)));i=x(i+x(j*j));j=x(x(r[b+n|0])-x(u[d+s>>2]*x(255)));F=x(F+x(j*j));b=b+1|0;if((b|0)!=(a|0)){E=r[(n+8|0)+b|0];continue}break}j=F}if(i>2]=h;o[e+3|0]=(l&254)>>>1;o[e+2|0]=(B&254)>>>1;o[e+1|0]=(D&254)>>>1;o[e|0]=(C&254)>>>1;I=i}if(!(j>2]=h;o[f+3|0]=(k&254)>>>1;o[f+2|0]=(m&254)>>>1;o[f+1|0]=(t&254)>>>1;o[f|0]=(p&254)>>>1;G=j}C=1;b=H;H=0;if(b){continue}break}fi=n+16|0}function $ma(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=x(0),r=x(0),s=0;b=fi-240|0;fi=b;g=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);c=yi(a,-1,q[72645],18648);oi(a,-2);c=q[c+4>>2];q[b+232>>2]=0;q[b+236>>2]=0;q[b+224>>2]=0;q[b+228>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;q[b+208>>2]=0;q[b+212>>2]=0;fm(a,b+208|0);q[b+200>>2]=0;q[b+204>>2]=0;q[b+192>>2]=0;q[b+196>>2]=0;q[b+184>>2]=0;q[b+188>>2]=0;q[b+176>>2]=0;q[b+180>>2]=0;ok(a,1,b+176|0,b+208|0);h=q[q[c+80>>2]+8>>2];c=h;a:{if(!c){break a}c=q[c>>2];if(!c){break a}d=q[c+4224>>2];e=q[c+4228>>2]}if((d|0)!=q[b+176>>2]|(e|0)!=q[b+180>>2]){ni(a,16518,0)}b:{if($j(a,2)){d=li(_i(a,2,0));e=ii;break b}d=Qk(a,2);e=ii}j=un(h,q[b+192>>2],q[b+196>>2]);c:{if(!j){q[b>>2]=Ei(q[b+192>>2],q[b+196>>2]);c=ni(a,14983,b);break c}k=gj(a,3);if((k|0)>=7){c=ni(a,16584,0);break c}c=b+136|0;q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;m=c;if(iv(a,4,c)){c=ni(a,16633,0);break c}d:{e:{f:{if(Gj(a,5)){i=gj(a,5);if((i|0)>=42){break e}c=0;break f}if(!uF(a,5)){break d}n=FF(a,5);Hi(a,5);o=53;i=41;l=ck(a,-1e4);c=a}p=x(Ai(a,6));f=0;g:{if((g|0)<7){break g}r=x(Ai(a,7));f=0;if((g|0)==7){break g}f=0;if((ri(a,8)|0)!=6){break g}s=54;f=Rn(a,8)}q[b+120>>2]=o;q[b+128>>2]=l;q[b+104>>2]=l;q[b+124>>2]=c;c=q[b+124>>2];q[b+96>>2]=q[b+120>>2];q[b+100>>2]=c;q[b+116>>2]=n;q[b+112>>2]=i;c=q[b+116>>2];q[b+88>>2]=q[b+112>>2];q[b+92>>2]=c;h:{i:{j:{k:{l:{m:{c=Goa(h,j,q[b+200>>2],q[b+204>>2],d,e,k,m,b+88|0,p,r,s,f);switch(c+9|0){case 9:break h;case 0:break j;case 4:break k;case 5:case 6:break l;case 8:break m;default:break i}}Bi(a,16020,0);Ml(a,b+176|0);Jl(a,2);c=_i(a,-1,0);oi(a,-2);q[b+36>>2]=Ei(d,e);q[b+32>>2]=c;c=ni(a,15686,b+32|0);break c}Bi(a,16020,0);Ml(a,b+176|0);Jl(a,2);c=_i(a,-1,0);oi(a,-2);d=Ei(d,e);q[b+52>>2]=c;q[b+48>>2]=d;c=ni(a,16780,b+48|0);break c}c=Ei(q[b+200>>2],q[b+204>>2]);q[b+68>>2]=_i(a,1,0);q[b+64>>2]=c;c=ni(a,16060,b- -64|0);break c}Bi(a,16020,0);Ml(a,b+176|0);Jl(a,2);c=_i(a,-1,0);oi(a,-2);d=Ei(d,e);q[b+84>>2]=c;q[b+80>>2]=d;c=ni(a,16825,b+80|0);break c}q[b+16>>2]=c;c=ni(a,16879,b+16|0);break c}c=0;if((g|0)==q[a+8>>2]-q[a+12>>2]>>4){break c}J(16916,15813,1730,16937);G()}c=ni(a,16698,0);break c}c=ni(a,16722,0)}fi=b+240|0;return c|0}function x6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=q[a>>2];d=(q[a+4>>2]-c|0)/240|0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){h=d-1|0;e=q[a+36>>2];if(h>>>0>=q[a+40>>2]-e>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(d>>>0<=i>>>0){break d}d=q[(h<<2)+e>>2];qi(c+w(i,240)|0,0,240);c=q[a+16>>2];if(d>>>0>=q[a+20>>2]-c>>3>>>0){break a}q[c+(d<<3)>>2]=q[f>>2];e=q[f>>2];c=q[a+36>>2];if(e>>>0>=q[a+40>>2]-c>>2>>>0){break a}q[c+(e<<2)>>2]=d;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=(c-d|0)/240>>>0){break c}d=d+w(e,240)|0;c=c-240|0;q[d>>2]=q[c>>2];u[d+16>>2]=u[c+16>>2];u[d+20>>2]=u[c+20>>2];u[d+24>>2]=u[c+24>>2];u[d+32>>2]=u[c+32>>2];u[d+36>>2]=u[c+36>>2];u[d+40>>2]=u[c+40>>2];u[d+44>>2]=u[c+44>>2];u[d+48>>2]=u[c+48>>2];u[d+52>>2]=u[c+52>>2];u[d+56>>2]=u[c+56>>2];u[d+64>>2]=u[c+64>>2];u[d+68>>2]=u[c+68>>2];u[d+72>>2]=u[c+72>>2];u[d+80>>2]=u[c+80>>2];u[d+84>>2]=u[c+84>>2];u[d+88>>2]=u[c+88>>2];u[d+92>>2]=u[c+92>>2];u[d+96>>2]=u[c+96>>2];u[d+100>>2]=u[c+100>>2];u[d+104>>2]=u[c+104>>2];u[d+108>>2]=u[c+108>>2];u[d+112>>2]=u[c+112>>2];u[d+116>>2]=u[c+116>>2];u[d+120>>2]=u[c+120>>2];u[d+124>>2]=u[c+124>>2];u[d+128>>2]=u[c+128>>2];u[d+132>>2]=u[c+132>>2];u[d+136>>2]=u[c+136>>2];u[d+140>>2]=u[c+140>>2];u[d+144>>2]=u[c+144>>2];u[d+148>>2]=u[c+148>>2];u[d+152>>2]=u[c+152>>2];u[d+156>>2]=u[c+156>>2];u[d+160>>2]=u[c+160>>2];u[d+164>>2]=u[c+164>>2];u[d+168>>2]=u[c+168>>2];u[d+172>>2]=u[c+172>>2];u[d+176>>2]=u[c+176>>2];u[d+180>>2]=u[c+180>>2];u[d+184>>2]=u[c+184>>2];u[d+188>>2]=u[c+188>>2];e=q[c+196>>2];q[d+192>>2]=q[c+192>>2];q[d+196>>2]=e;e=q[c+204>>2];q[d+200>>2]=q[c+200>>2];q[d+204>>2]=e;e=q[c+212>>2];q[d+208>>2]=q[c+208>>2];q[d+212>>2]=e;e=q[c+220>>2];q[d+216>>2]=q[c+216>>2];q[d+220>>2]=e;e=q[c+228>>2];q[d+224>>2]=q[c+224>>2];q[d+228>>2]=e;e=r[c+235|0]|r[c+236|0]<<8|(r[c+237|0]<<16|r[c+238|0]<<24);c=r[c+231|0]|r[c+232|0]<<8|(r[c+233|0]<<16|r[c+234|0]<<24);o[d+231|0]=c;o[d+232|0]=c>>>8;o[d+233|0]=c>>>16;o[d+234|0]=c>>>24;o[d+235|0]=e;o[d+236|0]=e>>>8;o[d+237|0]=e>>>16;o[d+238|0]=e>>>24;d=q[a+4>>2]-240|0;q[a+4>>2]=d;if(d>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(43700,43400,151,43721);G()}J(43726,43572,481,43741);G()}J(43751,43572,484,43741);G()}J(43678,43572,447,43689);G()}function Jo(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=0,l=x(0),m=0,n=x(0),o=x(0),p=x(0);a:{b:{c:{e=u[b+4>>2];f=u[b+8>>2];g=(e!=x(0))<<1|(f!=x(0))<<2;d=u[b>>2];switch(g|d!=x(0)){case 1:case 2:case 4:break b;case 0:break c;default:break a}}q[a+8>>2]=0;q[a+12>>2]=1065353216;q[a>>2]=0;q[a+4>>2]=0;return}k=q[71806];m=k;e=x(x(f+x(e+d))*x(.008726646192371845));c=+e*10430.378350470453;d:{if(y(c)<2147483648){b=~~c;break d}b=-2147483648}f=u[m+(((b>>>9|0)+1&127)<<2)>>2];d=u[k+(b>>>7&508)>>2];q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;n=d;d=x(x(b&511)*x(.001953125));u[a+12>>2]=x(n*x(x(1)-d))+x(d*f);b=(g<<1)+a|0;c=+x(e+x(-1.5707963705062866))*10430.378350470453;e:{if(y(c)<2147483648){a=~~c;break e}a=-2147483648}e=x(x(a&511)*x(.001953125));u[b>>2]=x(x(x(1)-e)*u[k+(a>>>7&508)>>2])+x(e*u[k+(((a>>>9|0)+1&127)<<2)>>2]);return}i=x(f*x(.008726646192371845));c=+i*10430.378350470453;f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}f=x(x(b&511)*x(.001953125));h=x(x(1)-f);g=q[71806];j=u[g+(b>>>7&508)>>2];l=u[g+(((b>>>9|0)+1&127)<<2)>>2];o=x(e*x(.008726646192371845));c=+o*10430.378350470453;g:{if(y(c)<2147483648){b=~~c;break g}b=-2147483648}e=x(h*j);h=x(x(b&511)*x(.001953125));h=x(x(x(x(1)-h)*u[g+(b>>>7&508)>>2])+x(h*u[g+(((b>>>9|0)+1&127)<<2)>>2]));j=x(e+x(f*l));l=x(h*j);d=x(d*x(.008726646192371845));c=+d*10430.378350470453;h:{if(y(c)<2147483648){b=~~c;break h}b=-2147483648}e=x(x(b&511)*x(.001953125));e=x(x(x(x(1)-e)*u[g+(b>>>7&508)>>2])+x(e*u[g+(((b>>>9|0)+1&127)<<2)>>2]));c=+x(d+x(-1.5707963705062866))*10430.378350470453;i:{if(y(c)<2147483648){b=~~c;break i}b=-2147483648}f=x(x(b&511)*x(.001953125));f=x(x(x(x(1)-f)*u[g+(b>>>7&508)>>2])+x(f*u[g+(((b>>>9|0)+1&127)<<2)>>2]));c=+x(i+x(-1.5707963705062866))*10430.378350470453;j:{if(y(c)<2147483648){b=~~c;break j}b=-2147483648}d=x(x(b&511)*x(.001953125));i=x(x(x(x(1)-d)*u[g+(b>>>7&508)>>2])+x(d*u[g+(((b>>>9|0)+1&127)<<2)>>2]));p=x(i*f);m=a;n=x(l*e);c=+x(o+x(-1.5707963705062866))*10430.378350470453;k:{if(y(c)<2147483648){b=~~c;break k}b=-2147483648}d=x(x(b&511)*x(.001953125));d=x(x(x(x(1)-d)*u[g+(b>>>7&508)>>2])+x(d*u[g+(((b>>>9|0)+1&127)<<2)>>2]));u[m+12>>2]=n-x(d*p);u[a+8>>2]=x(x(h*i)*e)-x(j*x(f*d));u[a+4>>2]=x(x(d*j)*e)+x(h*p);u[a>>2]=x(x(d*i)*e)+x(l*f)}function XB(a,b){var c=0,d=0,e=0,f=0;if(q[b>>2]>=1){while(1){o[(a+d|0)+1280|0]=1;d=d+1|0;e=e+1|0;if((e|0)>2]){continue}break}}if(q[b+4>>2]>0){while(1){o[(a+d|0)+1280|0]=2;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+8>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=3;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+12>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=4;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+16>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=5;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+20>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=6;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+24>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=7;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+28>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=8;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+32>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=9;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+36>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=10;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+40>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=11;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+44>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=12;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+48>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=13;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+52>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=14;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+56>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=15;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+60>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=16;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}b=0;o[(a+d|0)+1280|0]=0;e=1;d=0;while(1){f=(e<<2)+a|0;q[f+1612>>2]=d-b;a:{if(r[(a+d|0)+1280|0]!=(e|0)){break a}while(1){c=b;p[((d<<1)+a|0)+512>>1]=b;b=b+1|0;d=d+1|0;if(r[(d+a|0)+1280|0]==(e|0)){continue}break}if(!(c>>>e|0)){break a}q[212945]=154250;return 0}q[f+1540>>2]=b<<16-e;b=b<<1;e=e+1|0;if((e|0)!=17){continue}break}q[a+1608>>2]=-1;b=qi(a,255,512);if((d|0)>=1){a=0;while(1){c=r[(a+b|0)+1280|0];if(c>>>0<=9){e=9-c|0;c=1<>1]<1?c:1)}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 1}function rs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi-1232|0;fi=d;j=q[a+5140>>2];tj(j);g=q[a+7368>>2];if(g){gz(g,0)}q[d+100>>2]=b;q[d+96>>2]=24354;cj(d+208|0,1024,24348,d+96|0);h=d+208|0;f=h;a:{b:{c:{d:{e:{f:{while(1){g:{g=r[f|0];h:{i:{if((g|0)!=47){if(g){break i}o[h|0]=0;g=Nl(d+208|0,Fi(d+208|0));f=ii;h=0;i=q[a>>2];e=q[i+4>>2];j:{if(!e){break j}e=q[q[i>>2]+(lwa(g,f,e)<<2)>>2];if((e|0)==-1){break j}i=q[i+8>>2];while(1){e=w(e,48);h=e+i|0;if((g|0)==q[h>>2]&(f|0)==q[h+4>>2]){break j}e=q[(e+i|0)+40>>2];if((e|0)!=-1){continue}break}h=0}g=h?h+8|0:0;if(c){q[c>>2]=g}if(!h){break e}i=q[g+24>>2];if(!q[i+32>>2]){break d}f=a+7376|0;h=a+7380|0;k=a+7384|0;e=q[a+7376>>2];if((q[k>>2]-e|0)!=1048576){if(o[a+7388|0]&1){break a}vi(1048576,1,f,k,a+7380|0);e=q[a+7376>>2]}q[h>>2]=e;f=pu(a,d+208|0,b,d+204|0,f);if(f){break f}e=q[a+7376>>2];q[d+160>>2]=a;f=q[i+12>>2];q[d+188>>2]=0;q[d+164>>2]=f;q[d+180>>2]=e;q[d+192>>2]=g;e=q[d+204>>2];q[d+184>>2]=e;q[d+176>>2]=b;q[g+12>>2]=0;f=ji[q[i+32>>2]](d+160|0)|0;if(f){break f}q[q[d+192>>2]+20>>2]=e;e=q[a+12>>2];k:{if(!e){break k}h=q[e>>2];if((h|0)==q[e+4>>2]){break k}f=0;while(1){e=(f<<3)+h|0;h=q[e+4>>2];q[d+136>>2]=b;q[d+132>>2]=g;q[d+128>>2]=h;ji[q[e>>2]](d+128|0);e=q[a+12>>2];h=q[e>>2];f=f+1|0;if(f>>>0>2]-h>>3>>>0){continue}break}}if(q[g+12>>2]){break g}f=0;break f}if((e&255)==47){break h}}o[h|0]=g;h=h+1|0}f=f+1|0;e=g;continue}break}e=q[g+28>>2];q[d+152>>2]=q[g+24>>2];q[d+156>>2]=e;e=q[g+20>>2];q[d+144>>2]=q[g+16>>2];q[d+148>>2]=e;e=q[g+12>>2];q[d+136>>2]=q[g+8>>2];q[d+140>>2]=e;e=q[g+4>>2];q[d+128>>2]=q[g>>2];q[d+132>>2]=e;q[d+136>>2]=q[g+12>>2];q[d+112>>2]=a;q[d+116>>2]=q[i+12>>2];q[d+120>>2]=d+128;f=ji[q[i+28>>2]](d+112|0)|0;q[g+12>>2]=0}l:{switch(f+15|0){case 15:q[d+48>>2]=b;mi(2,24355,26013,d+48|0);f=0;break b;case 7:q[d+64>>2]=b;mi(4,24355,26043,d- -64|0);f=-8;break b;case 1:case 2:break l;case 0:break d;case 12:break e;default:break c}}q[d+80>>2]=b;mi(4,24355,26075,d+80|0);break b}q[d>>2]=b;mi(4,24355,26124,d);f=-3;break b}q[d+16>>2]=q[q[q[c>>2]+24>>2]+8>>2];mi(3,24355,26183,d+16|0);f=-15;break b}q[d+36>>2]=f;q[d+32>>2]=b;mi(3,24355,26228,d+32|0)}a=q[a+7368>>2];if(a){gz(a,1)}lj(j);fi=d+1232|0;return f}J(27518,26974,461,27593);G()}function FL(a,b){var c=0,d=0,e=0;c=fi+ -64|0;fi=c;d=q[a+60>>2];q[c+56>>2]=q[a+56>>2];q[c+60>>2]=d;d=q[a+52>>2];q[c+48>>2]=q[a+48>>2];q[c+52>>2]=d;d=q[a+44>>2];q[c+40>>2]=q[a+40>>2];q[c+44>>2]=d;d=q[a+36>>2];q[c+32>>2]=q[a+32>>2];q[c+36>>2]=d;d=q[a+28>>2];q[c+24>>2]=q[a+24>>2];q[c+28>>2]=d;d=q[a+20>>2];q[c+16>>2]=q[a+16>>2];q[c+20>>2]=d;d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;d=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=d;Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);Xn(c);d=q[c>>2]+q[a>>2]|0;q[c>>2]=d;e=q[c+4>>2]+q[a+4>>2]|0;q[c+4>>2]=e;q[c+8>>2]=q[c+8>>2]+q[a+8>>2];q[c+12>>2]=q[c+12>>2]+q[a+12>>2];q[c+16>>2]=q[c+16>>2]+q[a+16>>2];q[c+20>>2]=q[c+20>>2]+q[a+20>>2];q[c+24>>2]=q[c+24>>2]+q[a+24>>2];q[c+28>>2]=q[c+28>>2]+q[a+28>>2];q[c+32>>2]=q[c+32>>2]+q[a+32>>2];q[c+36>>2]=q[c+36>>2]+q[a+36>>2];q[c+40>>2]=q[c+40>>2]+q[a+40>>2];q[c+44>>2]=q[c+44>>2]+q[a+44>>2];q[c+48>>2]=q[c+48>>2]+q[a+48>>2];q[c+52>>2]=q[c+52>>2]+q[a+52>>2];q[c+56>>2]=q[c+56>>2]+q[a+56>>2];q[c+60>>2]=q[c+60>>2]+q[a+60>>2];o[b+7|0]=e>>>24;o[b+6|0]=e>>>16;o[b+5|0]=e>>>8;o[b+4|0]=e;o[b+3|0]=d>>>24;o[b+2|0]=d>>>16;o[b+1|0]=d>>>8;o[b|0]=d;a=q[c+8>>2];o[b+8|0]=a;o[b+9|0]=a>>>8;o[b+10|0]=a>>>16;o[b+11|0]=a>>>24;a=q[c+12>>2];o[b+12|0]=a;o[b+13|0]=a>>>8;o[b+14|0]=a>>>16;o[b+15|0]=a>>>24;a=q[c+16>>2];o[b+16|0]=a;o[b+17|0]=a>>>8;o[b+18|0]=a>>>16;o[b+19|0]=a>>>24;a=q[c+20>>2];o[b+20|0]=a;o[b+21|0]=a>>>8;o[b+22|0]=a>>>16;o[b+23|0]=a>>>24;a=q[c+24>>2];o[b+24|0]=a;o[b+25|0]=a>>>8;o[b+26|0]=a>>>16;o[b+27|0]=a>>>24;a=q[c+28>>2];o[b+28|0]=a;o[b+29|0]=a>>>8;o[b+30|0]=a>>>16;o[b+31|0]=a>>>24;a=q[c+32>>2];o[b+32|0]=a;o[b+33|0]=a>>>8;o[b+34|0]=a>>>16;o[b+35|0]=a>>>24;a=q[c+36>>2];o[b+36|0]=a;o[b+37|0]=a>>>8;o[b+38|0]=a>>>16;o[b+39|0]=a>>>24;a=q[c+40>>2];o[b+40|0]=a;o[b+41|0]=a>>>8;o[b+42|0]=a>>>16;o[b+43|0]=a>>>24;a=q[c+44>>2];o[b+44|0]=a;o[b+45|0]=a>>>8;o[b+46|0]=a>>>16;o[b+47|0]=a>>>24;a=q[c+48>>2];o[b+48|0]=a;o[b+49|0]=a>>>8;o[b+50|0]=a>>>16;o[b+51|0]=a>>>24;a=q[c+52>>2];o[b+52|0]=a;o[b+53|0]=a>>>8;o[b+54|0]=a>>>16;o[b+55|0]=a>>>24;a=q[c+56>>2];o[b+56|0]=a;o[b+57|0]=a>>>8;o[b+58|0]=a>>>16;o[b+59|0]=a>>>24;a=q[c+60>>2];o[b+60|0]=a;o[b+61|0]=a>>>8;o[b+62|0]=a>>>16;o[b+63|0]=a>>>24;ji[q[66742]](c,0,64)|0;fi=c- -64|0}function G3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=q[b+4>>2];d=q[c+16>>2];g=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);h=g<<6;i=g<<4;d=Ci((h+i|0)+128|0);q[a>>2]=d;a:{if(!(o[b+40|0]&1)){e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d|0]=f;o[d+1|0]=f>>>8;o[d+2|0]=f>>>16;o[d+3|0]=f>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;e=r[c+44|0]|r[c+45|0]<<8|(r[c+46|0]<<16|r[c+47|0]<<24);f=r[c+40|0]|r[c+41|0]<<8|(r[c+42|0]<<16|r[c+43|0]<<24);o[d+40|0]=f;o[d+41|0]=f>>>8;o[d+42|0]=f>>>16;o[d+43|0]=f>>>24;o[d+44|0]=e;o[d+45|0]=e>>>8;o[d+46|0]=e>>>16;o[d+47|0]=e>>>24;e=r[c+36|0]|r[c+37|0]<<8|(r[c+38|0]<<16|r[c+39|0]<<24);f=r[c+32|0]|r[c+33|0]<<8|(r[c+34|0]<<16|r[c+35|0]<<24);o[d+32|0]=f;o[d+33|0]=f>>>8;o[d+34|0]=f>>>16;o[d+35|0]=f>>>24;o[d+36|0]=e;o[d+37|0]=e>>>8;o[d+38|0]=e>>>16;o[d+39|0]=e>>>24;e=r[c+28|0]|r[c+29|0]<<8|(r[c+30|0]<<16|r[c+31|0]<<24);f=r[c+24|0]|r[c+25|0]<<8|(r[c+26|0]<<16|r[c+27|0]<<24);o[d+24|0]=f;o[d+25|0]=f>>>8;o[d+26|0]=f>>>16;o[d+27|0]=f>>>24;o[d+28|0]=e;o[d+29|0]=e>>>8;o[d+30|0]=e>>>16;o[d+31|0]=e>>>24;e=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);f=r[c+16|0]|r[c+17|0]<<8|(r[c+18|0]<<16|r[c+19|0]<<24);o[d+16|0]=f;o[d+17|0]=f>>>8;o[d+18|0]=f>>>16;o[d+19|0]=f>>>24;o[d+20|0]=e;o[d+21|0]=e>>>8;o[d+22|0]=e>>>16;o[d+23|0]=e>>>24;e=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;si(si(d+48|0,q[q[b+8>>2]+1024>>2],h)+(g+1<<6)|0,q[q[b+8>>2]+1028>>2],i);break a}b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[c+44>>2];q[d+40>>2]=q[c+40>>2];q[d+44>>2]=b;b=q[c+36>>2];q[d+32>>2]=q[c+32>>2];q[d+36>>2]=b;b=q[c+28>>2];q[d+24>>2]=q[c+24>>2];q[d+28>>2]=b;b=q[c+20>>2];q[d+16>>2]=q[c+16>>2];q[d+20>>2]=b;b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b;b=q[c+24>>2];d=si(d+48|0,c+(b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))|0,h)+(g+1<<6)|0;b=q[c+20>>2];si(d,c+(b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))|0,i)}b=q[a>>2];a=q[b+20>>2];a=(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))- -64|0;q[b+20>>2]=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function o5(a,b,c,d,e,f){var g=0,h=0;g=fi-400|0;fi=g;q[a+1712>>2]=a;q[a+1724>>2]=b;q[a+1716>>2]=ji[q[74895]](q[a+2208>>2],b<<7,0,0);h=q[63669];q[g+384>>2]=q[63668];q[g+388>>2]=h;h=q[63667];q[g+376>>2]=q[63666];q[g+380>>2]=h;h=q[63665];q[g+368>>2]=q[63664];q[g+372>>2]=h;h=q[63663];q[g+360>>2]=q[63662];q[g+364>>2]=h;h=q[63661];q[g+352>>2]=q[63660];q[g+356>>2]=h;q[a+1720>>2]=ji[q[74910]](q[a+2208>>2],g+352|0,2);h=-1;a:{if(!d){c=-1;break a}c=rj(c,d,254360,g+348|0);if(c){q[g+16>>2]=c;mi(3,100681,100688,g+16|0);c=-1;break a}c=Rq(q[a+2208>>2],q[g+348>>2]);c=ji[q[74920]](q[a+2208>>2],c)|0;Ui(q[g+348>>2]);if(!f|(c|0)==-1){break a}d=rj(e,f,254360,g+348|0);if(d){q[g>>2]=d;mi(3,100681,100738,g);break a}d=Rq(q[a+2208>>2],q[g+348>>2]);h=ji[q[74921]](q[a+2208>>2],d)|0;Ui(q[g+348>>2])}d=b<<5;b=Iy(a,c,h);su(b,li(100790),ii,1);q[g+336>>2]=li(100800);q[g+340>>2]=ii;Hy(b,1,g+336|0);c=Iy(a,c,h);su(c,li(100790),ii,1);q[g+328>>2]=li(100809);q[g+332>>2]=ii;Hy(c,1,g+328|0);q[g+316>>2]=c;q[g+312>>2]=c;q[g+308>>2]=b;q[g+304>>2]=b;e=g+176|0;b=0;while(1){Mm(g+32|0);c=b<<2;q[g+224>>2]=q[c+100832>>2];q[g+188>>2]=q[c+(g+304|0)>>2];q[g+176>>2]=q[a+1716>>2];q[g+180>>2]=q[a+1720>>2];q[g+284>>2]=0;c=w(b,288)+a|0;q[c+32>>2]=q[g+32>>2];u[c+48>>2]=u[g+48>>2];u[c+52>>2]=u[g+52>>2];u[c+56>>2]=u[g+56>>2];u[c+60>>2]=u[g+60>>2];u[c- -64>>2]=u[g+64>>2];u[c+68>>2]=u[g+68>>2];u[c+72>>2]=u[g+72>>2];u[c+76>>2]=u[g+76>>2];u[c+80>>2]=u[g+80>>2];u[c+84>>2]=u[g+84>>2];u[c+88>>2]=u[g+88>>2];u[c+92>>2]=u[g+92>>2];u[c+96>>2]=u[g+96>>2];u[c+100>>2]=u[g+100>>2];u[c+104>>2]=u[g+104>>2];u[c+108>>2]=u[g+108>>2];u[c+112>>2]=u[g+112>>2];u[c+116>>2]=u[g+116>>2];u[c+120>>2]=u[g+120>>2];u[c+124>>2]=u[g+124>>2];u[c+128>>2]=u[g+128>>2];u[c+132>>2]=u[g+132>>2];u[c+136>>2]=u[g+136>>2];u[c+140>>2]=u[g+140>>2];u[c+144>>2]=u[g+144>>2];u[c+148>>2]=u[g+148>>2];u[c+152>>2]=u[g+152>>2];u[c+156>>2]=u[g+156>>2];u[c+160>>2]=u[g+160>>2];u[c+164>>2]=u[g+164>>2];u[c+168>>2]=u[g+168>>2];u[c+172>>2]=u[g+172>>2];si(c+176|0,e,113);q[c+304>>2]=Ci(d);b=b+1|0;if((b|0)!=4){continue}break}b=li(100800);q[a+1440>>2]=1;c=a+1184|0;q[c>>2]=b;q[c+4>>2]=ii;b=li(100809);q[a+1728>>2]=0;q[a+1704>>2]=1;a=a+1448|0;q[a>>2]=b;q[a+4>>2]=ii;fi=g+400|0}function O7(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0;g=fi-224|0;fi=g;u=q[a+48>>2];tj(u);q[e>>2]=0;a:{b:{c:{d:{e:{f:{if(r[c|0]?0:!d){break f}i=li(b);j=ii;an(g+192|0,0);kl(g+192|0,b,Fi(b));kl(g+192|0,c,Fi(c));l=a+16|0;m=Vn(g+192|0);n=ii;g:{h:{h=q[a+20>>2];i:{if(!h){break i}f=q[q[l>>2]+(lwa(i,j,h)<<2)>>2];if((f|0)==-1){break i}k=q[a+24>>2];while(1){t=k+w(f,136)|0;if((i|0)==q[t>>2]&(j|0)==q[t+4>>2]){break h}f=q[t+128>>2];if((f|0)!=-1){continue}break}}qi(g+72|0,0,120);f=q[a+40>>2];if((f|0)==((q[a+32>>2]-q[a+24>>2]|0)/136|0)){f=f+128|0;h=f<<1;Lu(l,h>>>0<3?1:(h>>>0)/3|0,f)}rz(l,i,j,g+72|0);h=q[a+20>>2];break g}f=k+w(f,136)|0;if(!(!r[c|0]|((m|0)!=q[f+80>>2]|(n|0)!=q[f+84>>2]))){q[g+68>>2]=c;q[g+64>>2]=b;mi(3,150860,151184,g- -64|0);break f}f=s[f+120>>1];if(f&255){q[g+52>>2]=c;q[g+48>>2]=b;mi(3,150860,151253,g+48|0);break f}if(!(f&256)){break g}q[g+36>>2]=c;q[g+32>>2]=b;mi(3,150860,151321,g+32|0);break f}k=0;j:{if(!h){break j}f=q[q[l>>2]+(lwa(i,j,h)<<2)>>2];if((f|0)==-1){break j}l=q[a+24>>2];while(1){f=w(f,136);k=f+l|0;h=k;if((i|0)==q[h>>2]&(j|0)==q[h+4>>2]){break j}f=q[(f+l|0)+128>>2];if((f|0)!=-1){continue}break}k=0}f=k?k+8|0:0;kj(f,c,64);c=tG(q[a+84>>2],b);q[f+72>>2]=m;q[f+76>>2]=n;q[f+64>>2]=c;q[f+80>>2]=Uj();q[f+84>>2]=ii;i=f;h=f;if(d){j=w(d,1e6);d=Uj()+j|0;c=ii;c=d>>>0>>0?c+1|0:c}else{c=0;d=0}q[h+88>>2]=d;q[i+92>>2]=c;p[f+112>>1]=s[f+112>>1]|256;d=s[a+56>>1];c=s[a+58>>1];if((d|0)==(c|0)){break f}f=q[a+52>>2];if(!f){break e}if(c>>>0>=d>>>0){break d}p[a+58>>1]=c+1;c=s[f+(c<<1)>>1];f=q[a>>2];i=Fi(f)+10|0;d=xi(i);q[g+20>>2]=c;q[g+16>>2]=f;cj(d,i,151393,g+16|0);f=sk(d,151117);if(!f){q[g>>2]=d;mi(4,150860,151405,g);ki(d);d=q[a+52>>2];if(!d){break c}b=s[a+58>>1];if(!b|b>>>0>s[a+56>>1]){break b}e=a;a=b-1|0;p[e+58>>1]=a;p[d+((a&65535)<<1)>>1]=c;break f}h=q[a+68>>2];a=q[a+64>>2];if(c>>>0>=h-a>>6>>>0){break a}a=a+(c<<6)|0;p[a+56>>1]=c;an(a+8|0,0);q[a+40>>2]=m;q[a+44>>2]=n;q[a>>2]=d;q[a+4>>2]=f;q[a+48>>2]=li(b);q[a+52>>2]=ii;o[a+58|0]=r[a+58|0]&254;q[e>>2]=a}lj(u);fi=g+224|0;return}J(152413,152150,151,152420);G()}J(152424,152150,152,152420);G()}J(152413,152150,140,152444);G()}J(152449,152150,141,152444);G()}J(152303,152250,447,152314);G()}function zha(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=x(0);f=fi-48|0;fi=f;b=q[a+4>>2];a:{b:{c:{d:{switch(q[a+8>>2]){case 0:ji[q[74897]](q[b+88>>2],0,0,0);q[b+96>>2]=q[b+92>>2];q[b+20>>2]=q[b+16>>2];break c;case 1:h=q[a+12>>2];c=q[a+16>>2];g=q[(h+w(q[c>>2],48)|0)+32>>2];i=q[b+84>>2];l=q[a>>2];j=q[b+80>>2];e=q[a+20>>2];k=q[b+96>>2];d=k-q[b+92>>2]|0;q[f+44>>2]=d;j=w(q[j+12>>2],216);a=d;if((c|0)!=(e|0)){while(1){a=q[(h+w(q[c>>2],48)|0)+32>>2];m=q[a+88>>2];a=q[a+84>>2];n=u[b+116>>2];q[f+24>>2]=1065353216;q[f+28>>2]=1065353216;q[f+16>>2]=1065353216;q[f+20>>2]=1065353216;EG(i,n,a,m,f+16|0,q[b+92>>2],j,f+44|0,0);c=c+4|0;if((e|0)!=(c|0)){continue}break}a=q[f+44>>2]}c=q[b+92>>2];h=(a-d>>>0)/36|0;a=w(h,36)+k|0;if((q[b+100>>2]-c|0)/36>>>0<(a-c|0)/36>>>0){break b}q[b+96>>2]=a;c=q[b+20>>2];a=q[b+16>>2];i=c-a|0;e=(i|0)/272|0;d=e+1|0;if(d>>>0>(q[b+24>>2]-a|0)/272>>>0){break b}q[b+20>>2]=a+w(d,272);if(e>>>0>=(i+272|0)/272>>>0){break a}Mm(c);q[c+156>>2]=q[g+64>>2];q[c+160>>2]=q[g+72>>2];a=q[b+92>>2];q[c+252>>2]=h;q[c+248>>2]=(k-a|0)/36;q[c+144>>2]=q[b+88>>2];a=q[b+108>>2];q[c+192>>2]=1;q[c+148>>2]=a;o[c+256|0]=r[c+256|0]|1;e:{f:{g:{h:{i:{j:{a=q[g+68>>2];switch(a|0){case 4:break g;case 3:break h;case 1:case 2:break i;case 0:break j;default:break f}}q[c+200>>2]=1;q[c+204>>2]=7;break e}q[c+200>>2]=1;q[c+204>>2]=1;break e}q[c+200>>2]=4;q[c+204>>2]=7;break e}q[c+200>>2]=5;q[c+204>>2]=1;break e}q[f>>2]=a;mi(4,48249,48761,f)}a=q[b+32>>2];d=q[b+36>>2]-a>>2;if(d>>>0<=e>>>0){break a}if(!q[(e<<2)+a>>2]){a=vu();d=q[b+32>>2];if(e>>>0>=q[b+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=a;a=q[b+32>>2];d=q[b+36>>2]-a>>2}if(d>>>0<=e>>>0){break a}a=q[(e<<2)+a>>2];q[c>>2]=a;Ty(a);b=q[g+80>>2];if(b){e=q[g+76>>2];g=q[c>>2];a=0;while(1){d=e+(a<<5)|0;ru(g,q[d>>2],q[d+4>>2],d+16|0,1);a=a+1|0;if((b|0)!=(a|0)){continue}break}}Sn(l,c);break c;case 2:break d;default:break c}}a=q[b+92>>2];ji[q[74897]](q[b+88>>2],q[b+96>>2]-a|0,a,0);k:{if(o[295204]&1){break k}if(!ui(295204)){break k}if(r[852367]){a=Ek(48610)}else{a=-1}q[73800]=a;ti(295204)}a=q[73800];if((a|0)==-1){break c}Fk(a,q[b+96>>2]-q[b+92>>2]|0)}fi=f+48|0;return}J(48633,48652,474,48731);G()}J(48739,48652,447,48750);G()}function Vj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,v=x(0),w=0,y=0,z=x(0),A=0,B=0,C=0,D=0,E=0,F=0;g=q[a+40>>2];h=q[a+44>>2];i=q[a+24>>2];j=q[a+28>>2];k=u[a+56>>2];l=q[a>>2];m=q[a+4>>2];n=q[a+16>>2];o=q[a+20>>2];p=q[a+32>>2];r=q[a+36>>2];s=q[a+48>>2];t=q[a+52>>2];v=u[a+8>>2];f=q[a+76>>2];c=fi+ -64|0;e=c+44|0;q[e>>2]=q[a+72>>2];q[e+4>>2]=f;e=q[a+84>>2];q[c+52>>2]=q[a+80>>2];q[c+56>>2]=e;q[c+60>>2]=q[a+88>>2];e=q[a+68>>2];q[c+36>>2]=q[a+64>>2];q[c+40>>2]=e;e=q[a+104>>2];f=q[a+108>>2];w=q[a+120>>2];y=q[a+124>>2];z=u[a+136>>2];A=q[a+96>>2];B=q[a+100>>2];C=q[a+112>>2];D=q[a+116>>2];E=q[a+128>>2];F=q[a+132>>2];d=q[a+156>>2];q[c+24>>2]=q[a+152>>2];q[c+28>>2]=d;d=q[a+148>>2];q[c+16>>2]=q[a+144>>2];q[c+20>>2]=d;u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];d=q[b+68>>2];q[a+64>>2]=q[b+64>>2];q[a+68>>2]=d;d=q[b+76>>2];q[a+72>>2]=q[b+72>>2];q[a+76>>2]=d;d=q[b+84>>2];q[a+80>>2]=q[b+80>>2];q[a+84>>2]=d;q[a+88>>2]=q[b+88>>2];u[a+96>>2]=u[b+96>>2];u[a+100>>2]=u[b+100>>2];u[a+104>>2]=u[b+104>>2];u[a+108>>2]=u[b+108>>2];u[a+112>>2]=u[b+112>>2];u[a+116>>2]=u[b+116>>2];u[a+120>>2]=u[b+120>>2];u[a+124>>2]=u[b+124>>2];u[a+128>>2]=u[b+128>>2];u[a+132>>2]=u[b+132>>2];u[a+136>>2]=u[b+136>>2];d=q[b+156>>2];q[a+152>>2]=q[b+152>>2];q[a+156>>2]=d;d=q[b+148>>2];q[a+144>>2]=q[b+144>>2];q[a+148>>2]=d;u[b+56>>2]=k;u[b+8>>2]=v;q[b+24>>2]=i;q[b+28>>2]=j;q[b+48>>2]=s;q[b+52>>2]=t;q[b+32>>2]=p;q[b+36>>2]=r;q[b+16>>2]=n;q[b+20>>2]=o;q[b>>2]=l;q[b+4>>2]=m;q[b+40>>2]=g;q[b+44>>2]=h;q[b+88>>2]=q[c+60>>2];a=q[c+56>>2];q[b+80>>2]=q[c+52>>2];q[b+84>>2]=a;a=q[c+48>>2];q[b+72>>2]=q[c+44>>2];q[b+76>>2]=a;a=q[c+40>>2];q[b+64>>2]=q[c+36>>2];q[b+68>>2]=a;u[b+136>>2]=z;q[b+128>>2]=E;q[b+132>>2]=F;q[b+120>>2]=w;q[b+124>>2]=y;q[b+112>>2]=C;q[b+116>>2]=D;q[b+104>>2]=e;q[b+108>>2]=f;q[b+96>>2]=A;q[b+100>>2]=B;a=q[c+28>>2];q[b+152>>2]=q[c+24>>2];q[b+156>>2]=a;a=q[c+20>>2];q[b+144>>2]=q[c+16>>2];q[b+148>>2]=a}function nX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{switch(b|0){case 13:St(a,c);return;case 14:qm(a,c);e:{f:{g:{h:{i:{j:{switch(q[c>>2]-1|0){case 1:g=q[a+32>>2];q[a+32>>2]=-1;d=Jk(a,2147450902,q[q[a+12>>2]+8>>2]);if((g|0)==-1){break f}if((d|0)==-1){d=g;break e}i=q[q[a>>2]+12>>2];b=d;while(1){e=b;h=(b<<2)+i|0;f=q[h>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=h;g=g+(e^-1)|0;e=g>>31;if((e^e+g)>=131072){xj(q[a+12>>2],127273);f=q[h>>2]}q[b>>2]=(f&16383|g<<14)+2147467264;break f;case 9:d=q[c+8>>2];break f;case 10:b=q[a>>2];d=q[q[b+12>>2]+(q[c+8>>2]<<2)>>2];if((d&63)!=19){break i}q[a+24>>2]=q[a+24>>2]-1;d=Wn(a,26,d>>>23|0,0,0);break f;case 0:case 2:break a;case 11:break h;default:break j}}b=q[a>>2]}e=q[a+36>>2];f=e+1|0;k:{if((e|0)=249){xj(q[a+12>>2],127238);d=q[a+36>>2]+1|0;b=q[a>>2]}o[b+75|0]=f}q[a+36>>2]=d;wv(a,c,d-1|0);if(q[c>>2]!=12){break g}}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}d=Wn(a,27,255,q[c+8>>2],1)}if((d|0)==-1){break a}}b=q[c+16>>2];if((b|0)==-1){break b}g=q[q[a>>2]+12>>2];while(1){e=b;h=g+(b<<2)|0;f=q[h>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=h;e=(e^-1)+d|0;d=e>>31;if((d^d+e)>=131072){xj(q[a+12>>2],127273);f=q[h>>2]}q[b>>2]=(f&16383|e<<14)+2147467264;break a;case 6:qm(a,c);l:{if(q[c>>2]!=12){break l}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];d=e+1|0;f=q[a>>2];m:{if((e|0)=249){xj(q[a+12>>2],127238);f=q[a>>2];b=q[a+36>>2]+1|0}o[f+75|0]=d}q[a+36>>2]=b;vq(a,c,b-1|0);return;case 0:case 1:case 2:case 3:case 4:case 5:if(q[c+20>>2]==-1?!(q[c>>2]!=5|q[c+16>>2]!=-1):0){break c}ql(a,c);return;default:break d}}ql(a,c)}return}q[c+16>>2]=d}g=q[c+20>>2];q[a+28>>2]=q[a+24>>2];n:{if((g|0)==-1){break n}b=q[a+32>>2];if((b|0)!=-1){h=q[q[a>>2]+12>>2];while(1){f=b;e=h+(b<<2)|0;d=q[e>>2];b=(d>>>14|0)-131071|0;b=(b|0)==-1?-1:(f+b|0)+1|0;if((b|0)!=-1){continue}break}b=e;h=g+(f^-1)|0;f=h>>31;if((f^f+h)>=131072){xj(q[a+12>>2],127273);d=q[e>>2]}q[b>>2]=(d&16383|h<<14)+2147467264;break n}q[a+32>>2]=g}q[c+20>>2]=-1}function _V(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=fi-16|0;fi=h;j=-34;a:{if(c&15){break a}if(b){j=0;if(!c){break a}while(1){o[f|0]=r[d|0]^r[e|0];o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];o[f+8|0]=r[d+8|0]^r[e+8|0];o[f+9|0]=r[d+9|0]^r[e+9|0];o[f+10|0]=r[d+10|0]^r[e+10|0];o[f+11|0]=r[d+11|0]^r[e+11|0];o[f+12|0]=r[d+12|0]^r[e+12|0];o[f+13|0]=r[d+13|0]^r[e+13|0];o[f+14|0]=r[d+14|0]^r[e+14|0];o[f+15|0]=r[d+15|0]^r[e+15|0];nm(a,b,f,f);g=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);i=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[d+8|0]=i;o[d+9|0]=i>>>8;o[d+10|0]=i>>>16;o[d+11|0]=i>>>24;o[d+12|0]=g;o[d+13|0]=g>>>8;o[d+14|0]=g>>>16;o[d+15|0]=g>>>24;g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);i=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=i;o[d+1|0]=i>>>8;o[d+2|0]=i>>>16;o[d+3|0]=i>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}break a}if(!c){j=0;break a}while(1){b=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);q[h>>2]=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h+4>>2]=b;b=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);q[h+8>>2]=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);q[h+12>>2]=b;j=0;nm(a,0,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[f+8|0]=r[d+8|0]^r[f+8|0];o[f+9|0]=r[d+9|0]^r[f+9|0];o[f+10|0]=r[d+10|0]^r[f+10|0];o[f+11|0]=r[d+11|0]^r[f+11|0];o[f+12|0]=r[d+12|0]^r[f+12|0];o[f+13|0]=r[d+13|0]^r[f+13|0];o[f+14|0]=r[d+14|0]^r[f+14|0];o[f+15|0]=r[d+15|0]^r[f+15|0];b=q[h+12>>2];g=q[h+8>>2];o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=q[h+4>>2];g=q[h>>2];o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}}fi=h+16|0;return j}function vja(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0;d=q[a+4>>2];b=q[d+16>>2];c=q[q[a+24>>2]>>2];if(c>>>0>2]-b>>3>>>0){g=q[b+(c<<3)>>2];f=q[d>>2];if(g>>>0<(q[d+4>>2]-f|0)/240>>>0){a:{b=q[a+16>>2];c=q[a+20>>2];if(!((b|0)==q[73908]&(c|0)==q[73909]|(b|0)==q[73910]&(c|0)==q[73911]|(b|0)==q[73912]&(c|0)==q[73913])){if((b|0)!=q[73914]|(c|0)!=q[73915]){break a}}return Wu(b,c,a+32|0,(f+w(g,240)|0)+48|0,295632)|0}b:{if(!((b|0)==q[73922]&(c|0)==q[73923]|((b|0)==q[73918]&(c|0)==q[73919]|(b|0)==q[73920]&(c|0)==q[73921]))){if((b|0)!=q[73924]|(c|0)!=q[73925]){break b}}return Wu(b,c,a+32|0,(f+w(g,240)|0)- -64|0,295672)|0}c:{if((b|0)==q[73928]&(c|0)==q[73929]){b=-4;if(q[a+32>>2]){break c}n=v[a+40>>3];d=f+w(g,240)|0;a=s[d+234>>1];p[d+234>>1]=a|16;e=x(n);e=e>2]=a&2?x(x(1)-e):e;return 0}if((b|0)==q[73930]&(c|0)==q[73931]){b=-4;if(q[a+32>>2]){break c}u[(f+w(g,240)|0)+228>>2]=v[a+40>>3];return 0}if((b|0)==q[73886]&(c|0)==q[73887]){d=q[q[q[a+8>>2]+80>>2]>>2];h=a+32|0;a=f+w(g,240)|0;d=Em(d,h,q[73868],q[73869],a+200|0);h=a;a=s[a+234>>1];p[h+234>>1]=(d?a&256:256)|a&65279;return d|0}l=f+w(g,240)|0;if((b|0)==q[73884]&(c|0)==q[73885]){b=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;h=f+w(g,240)|0;a=h;b=Em(b,c,q[73876],q[73877],a+196|0);i=s[a+234>>1];m=(b?i&256:256)|i&65279;p[a+234>>1]=m;if(b){break c}c=f+w(g,240)|0;b=q[a+196>>2];if(!b){b=q[q[(f+w(g,240)|0)+188>>2]+8>>2]}d:{e:{a=q[b+20>>2];f:{if(!a){break f}j=q[c+208>>2];k=q[c+212>>2];a=q[q[b+16>>2]+(lwa(j,k,a)<<2)>>2];if((a|0)==-1){break f}t=q[b+24>>2];while(1){a=(a<<4)+t|0;if((j|0)==q[a>>2]&(k|0)==q[a+4>>2]){break e}a=q[a+12>>2];if((a|0)!=-1){continue}break}}p[h+234>>1]=m&65527;q[c+208>>2]=0;q[c+212>>2]=0;q[c+216>>2]=0;break d}a=f+w(g,240)|0;e=u[a+224>>2];e=i&2?x(x(1)-e):e;g:{if(!(i&1)){break g}e=x(e+e);if(e>x(1)^1){break g}e=x(x(2)-e)}av(l,j,k,e,u[a+228>>2])}a=d;c=r[a+100|0];a=(c&2?0:(q[q[b+64>>2]+72>>2]!=0)<<2)|c;o[d+100|0]=a;o[d+100|0]=(c|r[q[b+64>>2]+72|0]<<1)&2|a&253;return 0}f=f+w(g,240)|0;d=q[f+200>>2];if(!d){d=q[q[f+188>>2]+16>>2]}b=Xo(d,b,c,a+32|0,q[a+72>>2],445,l)}return b|0}}J(52519,51871,447,51574);G()}function Vv(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:while(1){k=b-16|0;j=b-160|0;b:while(1){d=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-d|0;switch((a|0)/160|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}if(t[b-16>>2]>=t[d+144>>2]){break d}Vj(d,b-160|0);return}c=b-160|0;a=d+160|0;e=b-16|0;b=q[e>>2];f=q[d+304>>2];if(f>>>0>=t[d+144>>2]){if(b>>>0>=f>>>0){break d}Vj(a,c);if(t[d+304>>2]>=t[d+144>>2]){break d}Vj(d,a);return}if(b>>>0>>0){Vj(d,c);return}Vj(d,a);if(t[e>>2]>=t[d+304>>2]){break d}Vj(a,c);return}cw(d,d+160|0,d+320|0,d+480|0,b-160|0);return}if((a|0)<=1119){zN(d,b);return}f=w((a>>>0)/320|0,160);i=f+d|0;l:{if((a|0)>=159841){a=w((a>>>0)/640|0,160);h=cw(d,a+d|0,i,a+i|0,j);break l}e=d+f|0;a=e;e=q[e+144>>2];m:{if(e>>>0>=t[d+144>>2]){h=0;if(e>>>0<=t[k>>2]){break l}Vj(i,j);h=1;if(t[a+144>>2]>=t[d+144>>2]){break l}Vj(d,i);break m}if(e>>>0>t[k>>2]){Vj(d,j);h=1;break l}Vj(d,i);h=1;if(t[k>>2]>=t[a+144>>2]){break l}Vj(i,j)}h=2}a=j;e=q[d+144>>2];g=q[(d+f|0)+144>>2];n:{if(e>>>0>>0){f=j;break n}while(1){f=a-160|0;if((f|0)==(d|0)){g=d+160|0;if(e>>>0>2]){break e}if((g|0)==(j|0)){break d}while(1){if(e>>>0>2]){Vj(g,j);g=g+160|0;break e}g=g+160|0;if((j|0)!=(g|0)){continue}break}break d}l=a-16|0;a=f;if(g>>>0<=t[l>>2]){continue}break}Vj(d,f);h=h+1|0}e=d+160|0;if(f>>>0<=e>>>0){break f}while(1){l=q[i+144>>2];while(1){g=e;e=e+160|0;if(l>>>0>t[g+144>>2]){continue}break}a=f;while(1){m=a-16|0;f=a-160|0;a=f;if(l>>>0<=t[m>>2]){continue}break}if(f>>>0>>0){e=g;break f}else{Vj(g,f);i=(g|0)==(i|0)?f:i;h=h+1|0;continue}}}gw(d,d+160|0,d+320|0,b-160|0);break d}if(!((e|0)==(i|0)|t[i+144>>2]>=t[e+144>>2])){Vj(e,i);h=h+1|0}if(!h){f=KL(d,e);a=e+160|0;if(KL(a,b)){b=e;a=d;if(!f){continue a}break d}if(f){continue b}}if(((e-d|0)/160|0)<((b-e|0)/160|0)){Vv(d,e,c);a=e+160|0;continue b}Vv(e+160|0,b,c);b=e;a=d;continue a}f=j;if((g|0)==(f|0)){break d}while(1){h=q[d+144>>2];while(1){e=g;g=e+160|0;if(h>>>0>=t[e+144>>2]){continue}break}a=f;while(1){i=a-16|0;f=a-160|0;a=f;if(h>>>0>2]){continue}break}if(e>>>0>=f>>>0){d=e;continue c}else{Vj(e,f);continue}}}break}break}break}}function jG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,y=0,z=0,A=0,B=0,C=x(0),D=x(0),E=x(0),F=0;h=fi-304|0;fi=h;qi(h+40|0,0,264);fs(h+40|0);i=q[25239];q[h+24>>2]=q[25238];q[h+28>>2]=i;i=q[25237];q[h+16>>2]=q[25236];q[h+20>>2]=i;q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0;y=q[a>>2];i=q[a+4>>2];if((y|0)!=(i|0)){j=x(b>>>0);k=x(c>>>0);C=c?x(j/k):x(0);D=x(j*k);E=x(d>>>0);a=i-y|0;l=(a|0)>-1?a:-1;i=y-i|0;a=w((l|0)<1?l:1,((a|0)<(i|0)?i:a)>>>4|0);F=a>>>0>1?a:1;while(1){i=(z<<4)+y|0;a:{if(e){g=q[e>>2];a=q[e+4>>2]-g|0;l=a>>3;b:{if(!a){a=0;break b}m=q[i>>2];p=q[i+4>>2];a=0;while(1){r=g+(a<<3)|0;if(q[r>>2]==(m|0)&q[r+4>>2]==(p|0)){break b}a=a+1|0;if(l>>>0>a>>>0){continue}break}}if((a|0)==(l|0)){break a}}p=q[i+8>>2];if(!p){break a}r=q[i+12>>2];l=0;if(!d){while(1){m=w(l,20)+r|0;o=q[m+12>>2];c:{if(o){A=Fi(h+40|0);B=q[m+16>>2];a=0;g=1;while(1){d:{s=q[B+(a<<2)>>2];t=Fi(s);if(t>>>0<=A>>>0){if(!uk(s,h+40|0,t)){break d}}a=a+1|0;g=o>>>0>a>>>0;if((a|0)!=(o|0)){continue}}break}if(!g){break c}}j=u[m>>2];k=u[m+4>>2];f=1- +x(D/x(j*k));n=f>=0?f:-f;f=1- +x(C/x(j/k));f=n+(f>=0?f:-f)+0;n=f;if(k=x(0)){a=~~k>>>0}else{a=0}if(j=x(0)){g=~~j>>>0}else{g=0}a=(a>>>0>=g>>>0)<<3;g=a|h+16;if(n>3]^1){break c}v[g>>3]=f;g=q[i+4>>2];a=a|h;q[a>>2]=q[i>>2];q[a+4>>2]=g}l=l+1|0;if((p|0)!=(l|0)){continue}break a}}while(1){m=w(l,20)+r|0;o=q[m+12>>2];e:{if(o){A=Fi(h+40|0);B=q[m+16>>2];a=0;g=1;while(1){f:{s=q[B+(a<<2)>>2];t=Fi(s);if(t>>>0<=A>>>0){if(!uk(s,h+40|0,t)){break f}}a=a+1|0;g=o>>>0>a>>>0;if((a|0)!=(o|0)){continue}}break}if(!g){break e}}j=u[m>>2];k=u[m+4>>2];f=1- +x(D/x(j*k));n=f>=0?f:-f;f=1- +x(C/x(j/k));n=n+(f>=0?f:-f);f=1- +x(u[m+8>>2]/E);f=n+(f>=0?f:-f);n=f;if(k=x(0)){a=~~k>>>0}else{a=0}if(j=x(0)){g=~~j>>>0}else{g=0}a=(a>>>0>=g>>>0)<<3;g=a|h+16;if(n>3]^1){break e}v[g>>3]=f;g=q[i+4>>2];a=a|h;q[a>>2]=q[i>>2];q[a+4>>2]=g}l=l+1|0;if((p|0)!=(l|0)){continue}break}}z=z+1|0;if((F|0)!=(z|0)){continue}break}}d=b>>>0<=c>>>0;b=d<<3|h;a=q[b+4>>2];c=q[b>>2];b=a;if(!(a|c)){a=(d^1)<<3|h;c=q[a>>2];b=q[a+4>>2]}a=q[h+300>>2];if(a){ki(a)}fi=h+304|0;ii=b;return c}function VV(a,b,c,d,e,f){var g=0,h=0,i=0;h=fi-16|0;fi=h;i=-38;a:{if(c&15){break a}if(b){i=0;if(!c){break a}while(1){o[f|0]=r[d|0]^r[e|0];o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];o[f+8|0]=r[d+8|0]^r[e+8|0];o[f+9|0]=r[d+9|0]^r[e+9|0];o[f+10|0]=r[d+10|0]^r[e+10|0];o[f+11|0]=r[d+11|0]^r[e+11|0];o[f+12|0]=r[d+12|0]^r[e+12|0];o[f+13|0]=r[d+13|0]^r[e+13|0];o[f+14|0]=r[d+14|0]^r[e+14|0];o[f+15|0]=r[d+15|0]^r[e+15|0];Pr(a,f,f);b=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);g=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}break a}i=0;if(!c){break a}while(1){b=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);q[h>>2]=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h+4>>2]=b;b=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);q[h+8>>2]=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);q[h+12>>2]=b;Pr(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[f+8|0]=r[d+8|0]^r[f+8|0];o[f+9|0]=r[d+9|0]^r[f+9|0];o[f+10|0]=r[d+10|0]^r[f+10|0];o[f+11|0]=r[d+11|0]^r[f+11|0];o[f+12|0]=r[d+12|0]^r[f+12|0];o[f+13|0]=r[d+13|0]^r[f+13|0];o[f+14|0]=r[d+14|0]^r[f+14|0];o[f+15|0]=r[d+15|0]^r[f+15|0];b=q[h+12>>2];g=q[h+8>>2];o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=q[h+4>>2];g=q[h>>2];o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}}fi=h+16|0;return i}function dfa(a){var b=0,c=0,d=0;b=q[a>>2];d=q[b+8>>2]-q[b+12>>2]>>4;ek(b,70048,242048);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70057);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70073);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70095);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70120);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70139);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70159);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70180);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70203);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=9;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70235);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=10;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70267);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=11;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70300);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=12;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70333);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=15;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70357);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=16;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70382);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=17;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70411);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=18;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70434);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=19;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70458);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=20;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70479);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=21;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70501);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70525);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70539);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70567);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70595);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70630);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70660);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-8;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70687);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=-9;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,70724);oi(b,-2);if(q[b+8>>2]-q[b+12>>2]>>4!=(d|0)){J(70748,70769,1043,70812);G()}q[74461]=q[a+4>>2]}function sM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=fi-48|0;fi=f;a:{if(c>>>0<=2){c=c<<2;h=q[c+211740>>2];k=q[c+211728>>2];while(1){c=q[b+4>>2];b:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break b}c=kk(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break c}c=kk(b)}e:{f:{while(1){if(o[e+211658|0]==(c|32)){g:{if(e>>>0>6){break g}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break g}c=kk(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){q[b+4>>2]=q[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}Jua(f,x(x(g|0)*x(I)));g=q[f+8>>2];h=q[f+12>>2];i=q[f>>2];j=q[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(o[e+211667|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break k}c=kk(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=q[b+4>>2];n:{if(e>>>0>2]){q[b+4>>2]=e+1;e=r[e|0];break n}e=kk(b)}if((e&-33)==88){kZ(f+16|0,b,k,h,g,d);g=q[f+24>>2];h=q[f+28>>2];i=q[f+16>>2];j=q[f+20>>2];break a}if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}kra(f+32|0,b,c,k,h,g,d);g=q[f+40>>2];h=q[f+44>>2];i=q[f+32>>2];j=q[f+36>>2];break a;case 3:break i;default:break l}}if(q[b+104>>2]){q[b+4>>2]=q[b+4>>2]-1}break h}o:{c=q[b+4>>2];p:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break p}c=kk(b)}if((c|0)==40){e=1;break o}g=0;h=2147450880;if(!q[b+104>>2]){break a}q[b+4>>2]=q[b+4>>2]-1;break a}while(1){q:{c=q[b+4>>2];r:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break r}c=kk(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;h=2147450880;if((c|0)==41){break a}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){q[b+4>>2]=q[b+4>>2]-1}if(e){continue}break}break a}}q[240833]=28;fn(b,0,0)}g=0;h=0}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=h;fi=f+48|0}function Uia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=x(0),m=0,n=0;b=fi-640|0;fi=b;j=q[a+8>>2]-q[a+12>>2]>>4;f=Kj(a);d=q[q[f+80>>2]+8>>2];q[b+624>>2]=0;q[b+628>>2]=0;q[b+616>>2]=0;q[b+620>>2]=0;q[b+608>>2]=0;q[b+612>>2]=0;q[b+600>>2]=0;q[b+604>>2]=0;Hk(a,1,d,64624,b+636|0,b+600|0,0);n=q[b+636>>2];a:{b:{if((j|0)<2){break b}if(!ri(a,2)){break b}c=il(a,2);h=q[c+4>>2];i=q[c>>2];u[b+584>>2]=u[c+8>>2];q[b+576>>2]=i;q[b+580>>2]=h;break a}bp(b+48|0,f);u[b+576>>2]=u[b+48>>2];c=q[b+56>>2];q[b+580>>2]=q[b+52>>2];q[b+584>>2]=c}c:{d:{if((j|0)<3){break d}if(!ri(a,3)){break d}c=Dq(a,3);u[b+560>>2]=u[c>>2];u[b+564>>2]=u[c+4>>2];u[b+568>>2]=u[c+8>>2];u[b+572>>2]=u[c+12>>2];break c}Ks(b+48|0,f);c=q[b+52>>2];q[b+560>>2]=q[b+48>>2];q[b+564>>2]=c;c=q[b+60>>2];q[b+568>>2]=q[b+56>>2];q[b+572>>2]=c}e=lK(a);e:{f:{g:{if((j|0)<=3){break g}h:{if(!ri(a,4)){break h}c=e?512:432;m=os(a,e?b+48|0:b+128|0,c,4);if(m>>>0<=c>>>0){break h}d=ni(a,65082,0);break e}if((j|0)<5){break g}if(!ri(a,5)){break g}c=sm(a,5);if(c){k=u[c>>2];u[b+32>>2]=k;l=u[c+4>>2];u[b+36>>2]=l;g=u[c+8>>2];u[b+40>>2]=g;break f}g=x(Ai(a,5));u[b+40>>2]=g;u[b+36>>2]=g;u[b+32>>2]=g;l=g;k=g;break f}Wq(b,f);k=u[b>>2];u[b+32>>2]=k;l=u[b+4>>2];u[b+36>>2]=l;g=u[b+8>>2];u[b+40>>2]=g}i:{c=AA(d);j:{k:{if((c|0)!=-1){h=yA(c);i=ii;if(!e){q[b+112>>2]=c;q[b+80>>2]=h;q[b+84>>2]=i;u[b+48>>2]=u[b+576>>2];e=q[b+584>>2];q[b+52>>2]=q[b+580>>2];q[b+56>>2]=e;e=q[b+564>>2];q[b+64>>2]=q[b+560>>2];q[b+68>>2]=e;u[b+104>>2]=g;u[b+100>>2]=l;u[b+96>>2]=k;e=q[b+572>>2];q[b+72>>2]=q[b+568>>2];q[b+76>>2]=e;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(!fm(a,b)){break i}d=q[60830];Zj(b,b+600|0,q[d+8>>2],q[d+12>>2],f,d,b+48|0,m+80|0);Yj(a,h,i);break j}Ki(a);e=ck(a,-1e4);f=XJ(d,yla(d,n),q[q[q[n>>2]>>2]>>2],h,i,b+48|0,m,b+576|0,b+560|0,b+32|0);l:{if(f){if(f){q[f+88>>2]=c}break l}kA(c,d)}Xi(a,-1e4,e);bk(a);sj(a,-1e4,e);if(!f){break k}Yj(a,h,i);break j}mi(4,64940,65193,0)}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}d=1;if((j+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break e}J(65260,64813,374,65285);G()}kA(c,d);d=ni(a,65138,0)}fi=b+640|0;return d|0}function Kq(a){var b=0,c=0,d=0,e=0;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b:{c:{d:{e:{if(!(!r[851668]|!q[a+24>>2])){f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}d=q[212916];tj(d);g:{if(o[851768]&1){break g}if(!ui(851768)){break g}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}c=q[a+24>>2];b=q[212934];if(c>>>0>=q[212935]-b>>3>>>0){break e}ki(q[b+(c<<3)>>2]);h:{if(o[851768]&1){break h}if(!ui(851768)){break h}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}c=q[a+24>>2];if(!c){break d}e=q[212938];if(!e){break c}b=q[212940]-1|0;if(b>>>0>=t[212939]){break b}q[212940]=b;q[(b<<2)+e>>2]=c;q[a+24>>2]=0;lj(d)}return}J(150666,150264,447,150677);G()}J(150510,150161,131,150526);G()}J(150377,150352,140,150408);G()}J(150413,150352,141,150408);G()}function tka(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=x(0);b=fi-80|0;fi=b;f=q[a+4>>2];h=q[q[a+8>>2]>>2];a:{if(o[294636]&1){break a}if(!ui(294636)){break a}if(r[852367]){a=Ri(45352)}else{a=-1}q[73658]=a;ti(294636)}b:{if(o[294644]&1){break b}if(!ui(294644)){break b}if(r[852367]){a=Yi(45357,16)}else{a=0}q[73660]=a;ti(294644)}a=q[73658];c:{if((a|0)!=-1){Qi(b- -64|0,a,45357,q[73660]);break c}q[b+64>>2]=0}d:{e:{c=q[f+8>>2];a=q[f+4>>2];d=c-a|0;if(!d){break e}if((a|0)!=(c|0)){c=a-c|0;c=((c|0)>(d|0)?c:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(c,(d|0)<1?d:1);e=d>>>0>1?d:1;c=0;while(1){a=q[(c<<2)+a>>2];f:{if((r[a+206|0]&3)!=3){break f}d=cp(q[a>>2]);if((q[q[a>>2]+136>>2]&512)>>>9|0){Dk(b,d,a+16|0);u[a+80>>2]=u[b>>2];u[a+84>>2]=u[b+4>>2];u[a+88>>2]=u[b+8>>2];u[a+92>>2]=u[b+12>>2];u[a+96>>2]=u[b+16>>2];u[a+100>>2]=u[b+20>>2];u[a+104>>2]=u[b+24>>2];u[a+108>>2]=u[b+28>>2];u[a+112>>2]=u[b+32>>2];u[a+116>>2]=u[b+36>>2];u[a+120>>2]=u[b+40>>2];u[a+124>>2]=u[b+44>>2];u[a+128>>2]=u[b+48>>2];u[a+132>>2]=u[b+52>>2];u[a+136>>2]=u[b+56>>2];u[a+140>>2]=u[b+60>>2];break f}On(b,d,a+16|0);u[a+80>>2]=u[b>>2];u[a+84>>2]=u[b+4>>2];u[a+88>>2]=u[b+8>>2];u[a+92>>2]=u[b+12>>2];u[a+96>>2]=u[b+16>>2];u[a+100>>2]=u[b+20>>2];u[a+104>>2]=u[b+24>>2];u[a+108>>2]=u[b+28>>2];u[a+112>>2]=u[b+32>>2];u[a+116>>2]=u[b+36>>2];u[a+120>>2]=u[b+40>>2];u[a+124>>2]=u[b+44>>2];u[a+128>>2]=u[b+48>>2];u[a+132>>2]=u[b+52>>2];u[a+136>>2]=u[b+56>>2];u[a+140>>2]=u[b+60>>2]}c=c+1|0;if((e|0)==(c|0)){break e}a=q[f+4>>2];if(q[f+8>>2]-a>>2>>>0>c>>>0){continue}break}}break d}if(q[b+64>>2]){Pi(b- -64|0)}e=q[f+8>>2];g=q[f+4>>2];c=e-g|0;d=Qo(h,c>>2);i=Po(h,431,f);a=d;g:{if(c){a=g-e|0;e=((a|0)>(c|0)?a:c)>>>2|0;a=(c|0)>-1?c:-1;a=w(e,(a|0)<1?a:1);g=a>>>0>1?a:1;i=i<<6;c=0;a=d;while(1){e=q[f+4>>2];if(q[f+8>>2]-e>>2>>>0<=c>>>0){break g}e=q[e+(c<<2)>>2];if(o[e+206|0]&1){j=q[e+128>>2];k=q[e+132>>2];l=u[e+136>>2];q[a+32>>2]=e;q[a+36>>2]=0;u[a+8>>2]=l;q[a>>2]=j;q[a+4>>2]=k;q[a+20>>2]=q[e+144>>2];q[a+24>>2]=q[q[q[e+152>>2]+8>>2]+80>>2];p[a+40>>1]=i|s[a+40>>1]&49152|16;a=a+48|0}c=c+1|0;if((g|0)!=(c|0)){continue}break}}Oo(h,d,a);fi=b+80|0;return 0}}J(45837,45268,447,45848);G()}function QI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=fi-144|0;fi=f;i=s[e+18>>1];k=s[b+568>>1];a:{if((i|0)!=(k|0)){p[b+568>>1]=i;g=s[e+16>>1];p[e+16>>1]=g+1;p[b+566>>1]=g;break a}g=s[b+566>>1]}b:{c:{d:{h=q[e>>2];if((q[e+4>>2]-h|0)/80>>>0>g>>>0){j=s[b+560>>1];if((j|0)!=65535){l=q[a+32>>2];if((q[a+36>>2]-l|0)/576>>>0<=j>>>0){break b}QI(a,w(j,576)+l|0,f+80|0,f+76|0,e)}e=w(g,80)+h|0;if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&32):0)){Pu(a,b);break d}if((i|0)!=(k|0)){break d}u[c>>2]=u[e>>2];a=w(g,80)+h|0;u[c+4>>2]=u[a+4>>2];u[c+8>>2]=u[a+8>>2];u[c+12>>2]=u[a+12>>2];u[c+16>>2]=u[a+16>>2];u[c+20>>2]=u[a+20>>2];u[c+24>>2]=u[a+24>>2];u[c+28>>2]=u[a+28>>2];u[c+32>>2]=u[a+32>>2];u[c+36>>2]=u[a+36>>2];u[c+40>>2]=u[a+40>>2];u[c+44>>2]=u[a+44>>2];u[c+48>>2]=u[a+48>>2];u[c+52>>2]=u[a+52>>2];u[c+56>>2]=u[a+56>>2];u[c+60>>2]=u[a+60>>2];u[d>>2]=u[a+64>>2];break c}break b}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];u[d>>2]=u[b+60>>2];e:{if(s[b+560>>1]==65535){break e}Dk(f,f+80|0,c);u[c>>2]=u[f>>2];u[c+4>>2]=u[f+4>>2];u[c+8>>2]=u[f+8>>2];u[c+12>>2]=u[f+12>>2];u[c+16>>2]=u[f+16>>2];u[c+20>>2]=u[f+20>>2];u[c+24>>2]=u[f+24>>2];u[c+28>>2]=u[f+28>>2];u[c+32>>2]=u[f+32>>2];u[c+36>>2]=u[f+36>>2];u[c+40>>2]=u[f+40>>2];u[c+44>>2]=u[f+44>>2];u[c+48>>2]=u[f+48>>2];u[c+52>>2]=u[f+52>>2];u[c+56>>2]=u[f+56>>2];u[c+60>>2]=u[f+60>>2];if(!(r[b+414|0]&64)){break e}u[d>>2]=u[f+76>>2]*u[d>>2]}u[e>>2]=u[c>>2];a=w(g,80)+h|0;u[a+4>>2]=u[c+4>>2];u[a+8>>2]=u[c+8>>2];u[a+12>>2]=u[c+12>>2];u[a+16>>2]=u[c+16>>2];u[a+20>>2]=u[c+20>>2];u[a+24>>2]=u[c+24>>2];u[a+28>>2]=u[c+28>>2];u[a+32>>2]=u[c+32>>2];u[a+36>>2]=u[c+36>>2];u[a+40>>2]=u[c+40>>2];u[a+44>>2]=u[c+44>>2];u[a+48>>2]=u[c+48>>2];u[a+52>>2]=u[c+52>>2];u[a+56>>2]=u[c+56>>2];u[a+60>>2]=u[c+60>>2];u[a+64>>2]=u[d>>2]}fi=f+144|0;return}J(186773,186599,447,186784);G()}function ML(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=1;a:{b:{c:{switch(b-a>>1){case 2:c=q[c>>2]+8|0;b=b-2|0;d=s[b>>1];f=s[a>>1];if(s[(c+w(d,104)|0)+100>>1]>=s[(c+w(f,104)|0)+100>>1]){break b}p[a>>1]=d;p[b>>1]=f;return 1;case 3:c=q[c>>2];e=c+8|0;b=b-2|0;d=s[b>>1];f=s[(e+w(d,104)|0)+100>>1];j=s[a+2>>1];h=s[(e+w(j,104)|0)+100>>1];g=s[a>>1];i=e+w(g,104)|0;if(h>>>0>=s[i+100>>1]){e=1;if(f>>>0>=h>>>0){break b}p[a+2>>1]=d;p[b>>1]=j;c=c+8|0;b=s[a+2>>1];d=s[a>>1];if(s[(c+w(b,104)|0)+100>>1]>=s[(c+w(d,104)|0)+100>>1]){break b}p[a+2>>1]=d;p[a>>1]=b;return 1}if(f>>>0>>0){p[a>>1]=d;break a}p[a+2>>1]=g;p[a>>1]=j;e=1;d=s[b>>1];if(s[(c+w(d,104)|0)+108>>1]>=s[i+100>>1]){break b}p[a+2>>1]=d;break a;case 4:lr(a,a+2|0,a+4|0,b-2|0,c);return 1;case 5:lr(a,a+2|0,a+4|0,a+6|0,c);f=b-2|0;g=s[f>>1];d=q[c>>2];b=d+8|0;c=s[a+6>>1];if(s[(w(g,104)+b|0)+100>>1]>=s[(b+w(c,104)|0)+100>>1]){break b}p[a+6>>1]=g;p[f>>1]=c;c=s[a+6>>1];f=b+w(c,104)|0;g=s[a+4>>1];if(s[f+100>>1]>=s[(b+w(g,104)|0)+100>>1]){break b}p[a+4>>1]=c;p[a+6>>1]=g;b=s[a+2>>1];if(s[f+100>>1]>=s[(d+w(b,104)|0)+108>>1]){break b}p[a+4>>1]=b;p[a+2>>1]=c;b=s[a>>1];if(s[f+100>>1]>=s[(d+w(b,104)|0)+108>>1]){break b}p[a+2>>1]=b;p[a>>1]=c;return 1;case 0:case 1:break b;default:break c}}j=q[c>>2];f=j+8|0;e=s[a+4>>1];c=f+w(e,104)|0;g=c;h=s[c+100>>1];d=s[a>>1];i=f+w(d,104)|0;c=s[a+2>>1];f=s[(f+w(c,104)|0)+100>>1];d:{if(s[i+100>>1]<=f>>>0){if(f>>>0<=h>>>0){c=e;break d}p[a+4>>1]=c;p[a+2>>1]=e;if(s[g+100>>1]>=s[i+100>>1]){break d}p[a+2>>1]=d;p[a>>1]=e;break d}e:{if(f>>>0>h>>>0){p[a+4>>1]=d;p[a>>1]=e;break e}p[a+2>>1]=d;p[a>>1]=c;if(s[g+100>>1]>=s[i+100>>1]){c=e;break d}p[a+4>>1]=d;p[a+2>>1]=e}c=d}f:{g:{e=a+6|0;if((e|0)==(b|0)){break g}f=a+4|0;h=0;i=j+8|0;while(1){h:{d=e;k=s[d>>1];l=i+w(k,104)|0;if(s[l+100>>1]>1]){g=d;while(1){i:{p[g>>1]=c;e=f;if((e|0)==(a|0)){e=a;break i}g=e;f=e-2|0;c=s[f>>1];if(s[l+100>>1]>1]){continue}}break}p[e>>1]=k;h=h+1|0;if((h|0)==8){break h}}e=d+2|0;if((e|0)==(b|0)){break g}c=s[d>>1];f=d;continue}break}c=(d+2|0)==(b|0);a=0;break f}a=1}e=a|c}return e&1}p[b>>1]=g;return 1}function Jv(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=x(0),k=x(0),l=0,m=0,n=0,p=0,r=0,s=0,t=0,v=x(0),w=x(0),z=0,A=0,B=0,C=x(0),D=x(0);v=x(1e9);A=1;while(1){C=u[b+12>>2];D=u[a+12>>2];i=g|126;t=i;f=i;w=x(g|0);h=x(x(x(x(u[a>>2]*x(127))-w)*x(.5))+x(.5));a:{if(x(y(h))(m|0)){f=g}m=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a>>2]);h=x(h*h);f=i;t=g;j=x(x(x(x(u[b>>2]*x(127))-w)*x(.5))+x(.5));b:{if(x(y(j))(t|0)){f=g}k=h;t=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b>>2]);h=x(x(k+x(h*h))+x(0));f=i;n=g;j=x(x(x(x(u[a+4>>2]*x(127))-w)*x(.5))+x(.5));c:{if(x(y(j))(n|0)){f=g}n=f;j=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a+4>>2]);j=x(j*j);f=i;p=g;k=x(x(x(x(u[b+4>>2]*x(127))-w)*x(.5))+x(.5));d:{if(x(y(k))(p|0)){f=g}k=h;p=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b+4>>2]);h=x(k+x(j+x(h*h)));f=i;r=g;j=x(x(x(x(u[a+8>>2]*x(127))-w)*x(.5))+x(.5));e:{if(x(y(j))(r|0)){f=g}r=f;j=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a+8>>2]);j=x(j*j);f=i;s=g;k=x(x(x(x(u[b+8>>2]*x(127))-w)*x(.5))+x(.5));f:{if(x(y(k))(s|0)){f=g}k=h;s=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b+8>>2]);h=x(k+x(j+x(h*h)));if(!(h(l|0)){f=g}q[e+4>>2]=g;q[e>>2]=g;o[c|0]=(m&254)>>>1;o[d|0]=(t&254)>>>1;o[c+1|0]=(n&254)>>>1;o[d+1|0]=(p&254)>>>1;o[c+2|0]=(r&254)>>>1;o[d+2|0]=(s&254)>>>1;m=c;if((g|0)<=(z|0)){g=(i|0)<(z|0)?i:z}o[m+3|0]=(g&254)>>>1;o[d+3|0]=(f&254)>>>1;v=h}g=1;i=A;A=0;if(i){continue}break}}function oka(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=x(0);c=fi-112|0;fi=c;a:{d=q[a+64>>2];b=q[d+8>>2];b:{if((b|0)==q[d+4>>2]){q[c>>2]=b-q[d>>2]>>2;mi(4,46420,46493,c);a=-1e3;break b}j=s6(d);f=qi(Ci(240),0,240);b=q[d+16>>2];if(q[d+20>>2]-b>>3>>>0<=j>>>0){break a}b=q[b+(j<<3)>>2];e=q[d>>2];if(b>>>0>=q[d+4>>2]-e>>2>>>0){break a}q[e+(b<<2)>>2]=f;q[f>>2]=q[a>>2];k=q[a+40>>2];l=q[a+44>>2];m=u[a+24>>2];h=q[a+32>>2];g=q[a+36>>2];i=q[a+16>>2];e=q[a+20>>2];q[f+56>>2]=1065353216;b=f;q[b+48>>2]=1065353216;q[b+52>>2]=1065353216;u[b+40>>2]=m;q[b+32>>2]=i;q[b+36>>2]=e;q[b+24>>2]=k;q[b+28>>2]=l;q[b+16>>2]=h;q[b+20>>2]=g;i=q[a+60>>2];q[b+128>>2]=i;o[b+144|0]=0;o[b+145|0]=0;o[b+146|0]=0;o[b+147|0]=0;o[b+148|0]=0;o[b+149|0]=0;o[b+150|0]=0;o[b+151|0]=0;o[b+168|0]=0;o[b+169|0]=0;o[b+170|0]=0;o[b+171|0]=0;o[b+172|0]=0;o[b+173|0]=0;o[b+174|0]=0;o[b+175|0]=0;o[b+160|0]=0;o[b+161|0]=0;o[b+162|0]=0;o[b+163|0]=0;o[b+164|0]=0;o[b+165|0]=0;o[b+166|0]=0;o[b+167|0]=0;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;p[b+236>>1]=s[a+76>>1];q[b+68>>2]=0;q[b+72>>2]=0;q[b+64>>2]=1065353216;q[b+76>>2]=0;q[b+80>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+84>>2]=1065353216;q[b+96>>2]=0;q[b+100>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+104>>2]=1065353216;q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=1065353216;q[b+176>>2]=0;q[b+180>>2]=0;o[b+238|0]=r[b+238|0]&252|1;c:{d:{if(!zJ(d,b)){mi(4,46420,46551,0);break d}qi(c+32|0,0,80);b=q[d+96>>2];q[c+100>>2]=0;q[c+96>>2]=f;q[c+92>>2]=436;q[c+88>>2]=0;q[c+84>>2]=f;q[c+80>>2]=437;q[c+28>>2]=f+132;q[c+24>>2]=b;g=q[i+4>>2];q[c+56>>2]=g;b=c;e=q[g+28>>2];if(e){h=q[e>>2]}else{h=0}q[b+68>>2]=h;b=c;e=q[g+20>>2];if(e){h=q[e>>2]}else{h=0}q[b+60>>2]=h;b=q[q[g+24>>2]>>2];q[c+76>>2]=g+52;q[c+72>>2]=g+36;q[c+64>>2]=b;q[c+40>>2]=0;q[c+44>>2]=0;q[c+48>>2]=li(q[q[i>>2]+16>>2]);q[c+52>>2]=ii;b=MF(c+24|0);if(!b){break c}q[c+16>>2]=b;mi(4,46420,46674,c+16|0);if((b|0)!=2){break d}mi(4,46420,46727,0)}cv(d,j);a=-1e3;break b}o[f+238|0]=r[f+238|0]|8;q[q[a+72>>2]>>2]=j;a=0}fi=c+112|0;return a|0}J(47308,47134,447,47319);G()}function Dta(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=0,m=0,n=x(0),o=x(0),p=0,s=0,t=0,v=0,z=0,A=0,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=x(0),S=0,T=0,U=x(0),V=0,W=0,X=0,Y=0,Z=0,_=0;while(1){m=r[b+h|0];l=(h<<2)+a|0;J=r[l+2|0];K=w(m,J)+K|0;L=r[l+1|0];M=w(L,m)+M|0;l=r[l|0];N=w(l,m)+N|0;e=q[(m<<2)+96832>>2]+e|0;O=O+J|0;P=P+L|0;Q=l+Q|0;h=h+1|0;if((h|0)!=16){continue}break}o=x((e&255)>>>0);R=x((e>>>16&255)>>>0);i=x((e>>>8&255)>>>0);j=x(x(o*R)-x(i*i));m=x(y(j))>>0);k=x(x(x(Q>>>0)*x(3))-n);j=x(x(3)/j);o=x(j*o);i=x(j*x(-i));u[c>>2]=x(o*n)+x(i*k);U=x(i*n);n=x(j*R);u[d>>2]=U+x(n*k);k=x(M>>>0);j=x(x(x(P>>>0)*x(3))-k);u[c+4>>2]=x(o*k)+x(j*i);u[d+4>>2]=x(i*k)+x(j*n);k=x(K>>>0);j=x(x(x(O>>>0)*x(3))-k);u[c+8>>2]=x(o*k)+x(j*i);u[d+8>>2]=x(i*k)+x(j*n);K=a+60|0;l=a+56|0;M=a+52|0;N=a+48|0;O=a+44|0;P=a+40|0;Q=a+36|0;J=a+32|0;L=a+28|0;V=a+24|0;W=a+20|0;X=a+16|0;Y=a+12|0;Z=a+8|0;_=a+4|0;h=0;while(1){b=h<<2;S=b+c|0;a:{if(u[b+d>>2]>x(255)^1?!(u[S>>2]>>0

>>0?e:p;p=h+Z|0;s=r[p|0];e=e>>>0>>0?e:s;s=h+Y|0;t=r[s|0];e=e>>>0>>0?e:t;t=h+X|0;v=r[t|0];e=e>>>0>>0?e:v;v=h+W|0;z=r[v|0];e=e>>>0>>0?e:z;z=h+V|0;A=r[z|0];e=e>>>0>>0?e:A;A=h+L|0;B=r[A|0];e=e>>>0>>0?e:B;B=h+J|0;C=r[B|0];e=e>>>0>>0?e:C;C=h+Q|0;D=r[C|0];e=e>>>0>>0?e:D;D=h+P|0;E=r[D|0];e=e>>>0>>0?e:E;E=h+O|0;F=r[E|0];e=e>>>0>>0?e:F;F=h+N|0;G=r[F|0];e=e>>>0>>0?e:G;G=h+M|0;H=r[G|0];e=e>>>0>>0?e:H;H=h+l|0;I=r[H|0];e=e>>>0>>0?e:I;I=h+K|0;T=r[I|0];e=e>>>0>>0?e:T;f=r[f|0];g=r[g|0];f=f>>>0>g>>>0?f:g;g=r[p|0];f=f>>>0>g>>>0?f:g;g=r[s|0];f=f>>>0>g>>>0?f:g;g=r[t|0];f=f>>>0>g>>>0?f:g;g=r[v|0];f=f>>>0>g>>>0?f:g;g=r[z|0];f=f>>>0>g>>>0?f:g;g=r[A|0];f=f>>>0>g>>>0?f:g;g=r[B|0];f=f>>>0>g>>>0?f:g;g=r[C|0];f=f>>>0>g>>>0?f:g;g=r[D|0];f=f>>>0>g>>>0?f:g;g=r[E|0];f=f>>>0>g>>>0?f:g;g=r[F|0];f=f>>>0>g>>>0?f:g;g=r[G|0];f=f>>>0>g>>>0?f:g;g=r[H|0];f=f>>>0>g>>>0?f:g;g=r[I|0];if((e|0)!=((f>>>0>g>>>0?f:g)|0)){break a}i=x(e>>>0);u[S>>2]=i;u[b+d>>2]=i}h=h+1|0;if((h|0)!=3){continue}break}}return m^1}function lpa(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=fi-80|0;fi=e;c=q[a+80>>2];a:{if(c){d=a+96|0;NK(c,d);if((c|0)==q[65142]){a=q[d>>2];q[b+144>>2]=-1;q[b+140>>2]=a;o[b+148|0]=0;break a}if((c|0)==q[65218]){q[b+12>>2]=Sk(4829);c=0;d=q[d>>2];if(d){g=Sk(d)}d=q[a+100>>2];if(d){c=Sk(d)}d=0;f=q[a+104>>2];if(f){h=Sk(f)}f=q[a+108>>2];if(f){d=Sk(f)}f=0;j=q[a+112>>2];if(j){i=Sk(j)}a=q[a+116>>2];if(a){f=Sk(a)}q[b+16>>2]=g;a=1;b:{if(!g|!r[g|0]){break b}q[b+20>>2]=c;a=2;if(!c|!r[c|0]){break b}q[b+24>>2]=h;a=3;if(!h|!r[h|0]){break b}q[b+28>>2]=d;a=4;if(!d|!r[d|0]){break b}q[b+32>>2]=i;a=5;if(!i|!r[i|0]){break b}q[b+36>>2]=f;a=6;if(!f){break b}a=r[f|0]?7:6}o[b+148|0]=0;q[b+8>>2]=a;q[b+144>>2]=1;break a}if((c|0)==q[65143]){break a}if((c|0)==q[65144]){if(!r[270692]){break a}o[b+236|0]=r[b+236|0]^1;break a}if((c|0)==q[65176]){q[b+504>>2]=q[a+100>>2];c=ji[q[74884]](q[b+216>>2])|0;d=ji[q[74885]](q[b+216>>2])|0;q[e+56>>2]=0;q[e+60>>2]=0;q[e+64>>2]=0;q[e+68>>2]=0;q[e+72>>2]=0;q[e+76>>2]=30;q[e+60>>2]=d;q[e+56>>2]=c;q[e+72>>2]=q[a+96>>2];q[e+76>>2]=q[a+104>>2];q[e+16>>2]=-3;mi(4,1031,4629,e+16|0);q[b+492>>2]=0;break a}if((c|0)==q[65177]){if(q[b+492>>2]){a=q[b+496>>2];if(a){ki(a)}q[b+492>>2]=0;q[b+496>>2]=0;break a}mi(4,1031,4660,0);break a}if((c|0)==q[65254]){a=q[d>>2];q[b+464>>2]=a?a:1;break a}if((c|0)==q[59034]){ji[q[74881]](q[b+216>>2]);break a}if((c|0)==q[65238]){if(r[b+429|0]){break a}a=q[d>>2];d=(a|0)>0?a:0;c=q[b+488>>2];c:{if(!c){o[b+428|0]=1;break c}f=(a|0)<1;o[b+428|0]=f&(c|0)==1;if((c|0)!=1|f){break c}q[b+464>>2]=t[b+464>>2]/(a>>>0)}ji[q[74893]](q[b+216>>2],d);break a}if((c|0)==q[59050]){a=q[b+280>>2];c=q[b+264>>2];if(c){jv(a,c,d);break a}jv(a,q[b+268>>2],d);jv(a,q[b+276>>2],d);jv(a,q[b+272>>2],d);break a}b=_m(q[a>>2],q[a+4>>2]);d=Ei(q[a+16>>2],q[a+20>>2]);a=Ei(q[a+24>>2],q[a+28>>2]);c=q[c+4>>2];q[e+48>>2]=a;q[e+44>>2]=d;q[e+40>>2]=b;q[e+36>>2]=2874;q[e+32>>2]=c;mi(4,1031,4685,e+32|0);break a}b=_m(q[a>>2],q[a+4>>2]);c=Ei(q[a+16>>2],q[a+20>>2]);q[e+12>>2]=Ei(q[a+24>>2],q[a+28>>2]);q[e+8>>2]=c;q[e+4>>2]=b;q[e>>2]=2874;mi(4,1031,4748,e)}fi=e+80|0}function aI(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-112|0;fi=e;c=q[q[a+24>>2]>>2];g=q[c+8>>2]-q[c+12>>2]>>4;a:{if(gu(c,b)){d=-1;q[e+96>>2]=_i(c,-1,0);mi(4,184623,186126,e+96|0);oi(c,-2);break a}Xi(c,-1e4,q[a+32>>2]);bk(c);f=Wl(c,0,0);d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;bk(c);d=-2;if(f){break a}d=q[a>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a>>2]=-2}zi(c,-10002,186795);b:{if((ri(c,-1)|0)==6){q[a>>2]=ck(c,-1e4);break b}if(ri(c,-1)){q[e+84>>2]=q[b+8>>2];q[e+80>>2]=186795;mi(3,184623,186153,e+80|0)}oi(c,-2)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186795);d=q[a+4>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a+4>>2]=-2}zi(c,-10002,186800);c:{if((ri(c,-1)|0)!=6){if(ri(c,-1)){q[e+68>>2]=q[b+8>>2];q[e+64>>2]=186800;mi(3,184623,186153,e- -64|0)}oi(c,-2);break c}q[a+4>>2]=ck(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186800);d=q[a+8>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a+8>>2]=-2}zi(c,-10002,186806);d:{if((ri(c,-1)|0)!=6){if(ri(c,-1)){q[e+52>>2]=q[b+8>>2];q[e+48>>2]=186806;mi(3,184623,186153,e+48|0)}oi(c,-2);break d}q[a+8>>2]=ck(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186806);d=q[a+12>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a+12>>2]=-2}zi(c,-10002,186813);e:{if((ri(c,-1)|0)!=6){if(ri(c,-1)){q[e+36>>2]=q[b+8>>2];q[e+32>>2]=186813;mi(3,184623,186153,e+32|0)}oi(c,-2);break e}q[a+12>>2]=ck(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186813);d=q[a+16>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a+16>>2]=-2}zi(c,-10002,186824);f:{if((ri(c,-1)|0)!=6){if(ri(c,-1)){q[e+20>>2]=q[b+8>>2];q[e+16>>2]=186824;mi(3,184623,186153,e+16|0)}oi(c,-2);break f}q[a+16>>2]=ck(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186824);d=q[a+20>>2];if((d|0)!=-2){sj(c,-1e4,d);q[a+20>>2]=-2}zi(c,-10002,186833);g:{if((ri(c,-1)|0)!=6){if(ri(c,-1)){q[e+4>>2]=q[b+8>>2];q[e>>2]=186833;mi(3,184623,186153,e)}oi(c,-2);break g}q[a+20>>2]=ck(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;pi(c,-10002,186833);d=0;if(r[852367]){b=q[b+8>>2];f=Fi(b);b=yu(b,f,Yi(b,f))}else{b=0}q[a+28>>2]=b}if(q[c+8>>2]-q[c+12>>2]>>4==(g|0)){fi=e+112|0;return d}J(184593,184532,4223,186181);G()}function U2(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,p=0;b=fi+ -64|0;fi=b;i=q[a+8>>2]-q[a+12>>2]>>4;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;a:{b:{c:{d:{e:{f:{if(fm(a,b+32|0)){l=Ni(a,1,0);m=Ni(a,2,0);vj(a,3,6);Hi(a,3);n=is(a);d=b+24|0;c=d;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;j=b+16|4;vi(4096,1,b+16|0,c,j);g:{if((i|0)<4){break g}if(!ri(a,4)){break g}vj(a,4,5);Hi(a,4);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(dk(a,-2)){while(1){c=_i(a,-2,0);f=_i(a,-1,0);p=q[b+16>>2];k=q[b+24>>2];e=q[b+20>>2];g=k-e|0;h=(Fi(c)+Fi(f)|0)+2|0;if(g>>>0>>0){if(o[b+28|0]&1){break e}vi((k-p|0)+(h>>>0>1024?h:1024)|0,1,b+16|0,d,j);e=q[b+20>>2];h=q[b+24>>2]-e|0}else{h=g}g=Fi(c);if(h>>>0>>0){break b}si(e,c,g);c=g+q[b+20>>2]|0;q[b+20>>2]=c;if((c|0)==q[b+24>>2]){break a}q[b+20>>2]=c+1;o[c|0]=58;e=q[b+20>>2];g=q[b+24>>2]-e|0;c=Fi(f);if(g>>>0>>0){break b}si(e,f,c);c=c+q[b+20>>2]|0;q[b+20>>2]=c;if((c|0)==q[b+24>>2]){break a}q[b+20>>2]=c+1;o[c|0]=10;oi(a,-2);if(dk(a,-2)){continue}break}}oi(a,-2)}c=q[b+20>>2];if((c|0)==q[b+24>>2]){break a}d=n+2|0;q[b+20>>2]=c+1;e=0;o[c|0]=0;f=0;h:{if((i|0)<5){break h}if(ri(a,5)){vj(a,5,4);c=Ni(a,5,b+12|0);f=q[b+12>>2];e=xi(f);si(e,c,f)}if((i|0)<6){break h}if(!ri(a,6)){break h}vj(a,6,5);Hi(a,6);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(dk(a,-2)){while(1){if(!Ej(_i(a,-2,0),114227)){Ai(a,-1)}oi(a,-2);if(dk(a,-2)){continue}break}}oi(a,-2)}c=Ci(40);q[c+32>>2]=d;d=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=d;d=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=d;d=q[b+52>>2];q[c+16>>2]=q[b+48>>2];q[c+20>>2]=d;d=q[b+60>>2];q[c+24>>2]=q[b+56>>2];q[c+28>>2]=d;Kh(m|0,l|0,q[b+16>>2],c|0,775,776,e|0,f|0,q[79176]);if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break d}i:{if(o[b+28|0]&1){break i}a=q[b+16>>2];if(!a){break i}ki(a)}a=0;break f}if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break c}a=ni(a,114295,0)}fi=b- -64|0;return a|0}J(114533,114608,461,114687);G()}J(114235,114256,180,114282);G()}J(114235,114256,183,114282);G()}J(114699,114608,508,114728);G()}J(114738,114608,501,114762);G()}function ZH(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-368|0;fi=f;zb();b=q[a+3668>>2];if(!(b&4)){b=a+2604|0;q[b>>2]=q[b>>2]|-2147483648;b=0;while(1){c=1<>>3&536870908)+a|0)+2560|0;q[e>>2]=c|q[e>>2];break a}e=((b>>>3&536870908)+a|0)+2560|0;q[e>>2]=q[e>>2]&(c^-1)}b=b+1|0;if((b|0)!=327){continue}break}b=q[a+3668>>2]}if(!(b&2)){b=a+2624|0;q[b>>2]=q[b>>2]|-2147483648;c=S(0)|0;b=a+2620|0;q[b>>2]=q[b>>2]&-2|(c|0)==1;c=S(1)|0;q[b>>2]=q[b>>2]&-3|((c|0)==1)<<1;c=S(2)|0;q[b>>2]=q[b>>2]&-5|((c|0)==1)<<2;c=S(3)|0;q[b>>2]=q[b>>2]&-9|((c|0)==1)<<3;c=S(4)|0;q[b>>2]=q[b>>2]&-17|((c|0)==1)<<4;c=S(5)|0;q[b>>2]=q[b>>2]&-33|((c|0)==1)<<5;c=S(6)|0;q[b>>2]=q[b>>2]&-65|((c|0)==1)<<6;c=S(7)|0;q[b>>2]=q[b>>2]&-129|((c|0)==1)<<7;b=Fb()|0;q[a+2616>>2]=q[a+3668>>2]&64?0-b|0:b;Gb(a+2608|0,a+2612|0);b=q[a+3668>>2]}if(!(b&8)){e=0;while(1){c=w(e,160)+a|0;g=q[c+144>>2];b=q[(e<<2)+262608>>2];d=la(b|0,327681)|0;q[c+144>>2]=q[c+144>>2]&2147483647|((d|0)==1)<<31;b:{if((d|0)!=1){break b}if((g|0)>=0){o[c+141|0]=1}d=la(b|0,327682)|0;q[c+148>>2]=d;Ib(b|0,c|0,d|0)|0;d=la(b|0,327684)|0;d=d>>>0<4?d:4;o[c+156|0]=d;Jb(b|0,c+136|0,d|0)|0;d=la(b|0,327683)|0;d=d>>>0<32?d:32;q[c+152>>2]=d;Lb(b|0,f+16|0,d|0)|0;if(!q[c+152>>2]){break b}b=0;while(1){d=1<>>3&536870908)|0;q[g+128>>2]=d|q[g+128>>2];break c}g=c+(b>>>3&536870908)|0;q[g+128>>2]=q[g+128>>2]&(d^-1)}b=b+1|0;if(b>>>0>2]){continue}break}}e=e+1|0;if((e|0)!=16){continue}break}b=q[a+3668>>2]}if(!(b&16)){d:{if(!xZ(f+16|0,f+12|0)){break d}b=a+3116|0;q[b>>2]=q[b>>2]|-2147483648;d=q[f+12>>2];q[a+3112>>2]=d;if((d|0)<1){break d}e=0;while(1){b=w(e,44)+a|0;c=(f+16|0)+(e<<5)|0;q[b+2628>>2]=q[c>>2];q[b+2668>>2]=q[c+28>>2];q[b+2632>>2]=q[c+4>>2];q[b+2636>>2]=q[c+8>>2];q[b+2640>>2]=q[c+12>>2];q[b+2652>>2]=q[c+16>>2];q[b+2656>>2]=q[c+20>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}}b=q[a+3668>>2]}e:{if(b&32){break e}q[a+3668>>2]=b&-2;if(!(Mb(f+16|0,f+16|4,f+24|0)|0)){break e}q[a+3668>>2]=q[a+3668>>2]|1;b=q[f+20>>2];q[a+3644>>2]=q[f+16>>2];q[a+3648>>2]=b;q[a+3652>>2]=q[f+24>>2]}fi=f+368|0}function _8(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=fi-16|0;fi=i;f=q[a>>2];c=f;j=q[c+8>>2]-q[c+12>>2]>>4;c=qi(bj(c,408),0,408);q[c+8>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;a:{b:{e=a+44|0;d=q[e>>2];h=a+48|0;g=q[h>>2];if((d|0)==(g|0)){if(o[a+52|0]&1){break b}g=d;d=a+40|0;vi((g-q[d>>2]>>2)+32|0,4,d,h,e);g=q[h>>2];d=q[e>>2]}if((d|0)==(g|0)){break a}q[a+44>>2]=d+4;q[d>>2]=c;Hi(f,-1);q[c>>2]=ck(f,-1e4);ij(f,0,0);q[c+8>>2]=ck(f,-1e4);ij(f,0,0);d=ck(f,-1e4);q[c+16>>2]=0;q[c+12>>2]=a;q[c+4>>2]=d;q[c+192>>2]=q[b+28>>2];if(o[c+44|0]&1){break b}vi(q[b>>2],576,c+32|0,c+40|0,c+36|0);c:{d=s[c+24>>1];e=s[b>>1];if(d>>>0<=e>>>0){h=q[c+20>>2];g=xi(e<<1);q[c+20>>2]=g;g=si(g,h,d<<1);p[c+24>>1]=e;if(d>>>0>>0){while(1){p[g+(d<<1)>>1]=d;d=d+1|0;if((e|0)!=(d|0)){continue}break}}ki(h);if(o[c+60|0]&1){break b}vi(q[b+4>>2],72,c+48|0,c+56|0,c+52|0);d=q[b+8>>2];EH(c+128|0,d<<1,d);d=q[b+8>>2];GH(c+160|0,d<<1,d);d=q[b+12>>2];So(c+96|0,d<<1,d);d=q[b+16>>2];zH(c+196|0,d<<1,d);if(o[c+240|0]&1){break b}vi(q[b+20>>2],12,c+228|0,c+236|0,c+232|0);d=c+244|0;e=q[b+24>>2];rH(d,e<<1,e);if(o[c+288|0]&1){break b}vi(1,8,c+276|0,c+284|0,c+280|0);e=q[b+72>>2];q[c+340>>2]=0;q[c+320>>2]=e;e=q[b+32>>2];q[c+348>>2]=-1;q[c+352>>2]=0;q[c+344>>2]=e;q[c+360>>2]=q[a+28>>2];q[c+364>>2]=q[a+32>>2];q[c+400>>2]=q[b+64>>2];q[c+372>>2]=q[b+36>>2];q[c+376>>2]=q[b+40>>2];q[c+380>>2]=q[b+44>>2];q[c+384>>2]=q[b+48>>2];q[c+388>>2]=q[b+52>>2];q[c+392>>2]=q[b+56>>2];q[c+396>>2]=q[b+60>>2];q[c+404>>2]=q[b+68>>2];q[c+368>>2]=q[b+76>>2];a=q[213718];b=q[213719];e=s[c+356>>1];p[c+356>>1]=e+1;p[i+14>>1]=e;lz(d,a,b,i+14|0);a=q[213721];b=a;d=q[213720];q[c+312>>2]=d;q[c+316>>2]=b;a=q[c+276>>2];q[c+280>>2]=a;if((a|0)==q[c+284>>2]){break a}q[c+280>>2]=a+8;q[a>>2]=d;q[a+4>>2]=b;if(o[c+304|0]&1){break b}vi(0,4,c+292|0,c+300|0,c+296|0);zi(f,-1e4,184575);aj(f,-2);bk(f);ky(q[c+368>>2]);a=q[f+8>>2];q[a+8>>2]=0;q[f+8>>2]=a+16;bk(f);if(q[f+8>>2]-q[f+12>>2]>>4!=(j|0)){break c}fi=i+16|0;return c}J(187251,186850,112,186335);G()}J(184593,184532,377,184614);G()}J(187176,186599,461,186335);G()}J(186744,186599,501,186768);G()}function l5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi+ -64|0;fi=d;c=Ci(144);q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+84>>2]=0;q[c+88>>2]=0;q[c+116>>2]=0;q[c+120>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;f=c+8|0;e=f;q[e>>2]=0;q[e+4>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+92>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;q[c+124>>2]=0;q[c+128>>2]=0;q[c+132>>2]=0;q[c+136>>2]=0;p[c+140>>1]=256;q[c+4>>2]=0;q[c+28>>2]=-1;e=q[b+4>>2]-q[b>>2]>>6;wz(f,w(e,3)>>>1|0,e);e=q[b>>2];if((e|0)!=q[b+4>>2]){while(1){e=(g<<6)+e|0;xz(f,q[e>>2],e);g=g+1|0;e=q[b>>2];if(g>>>0>2]-e>>6>>>0){continue}break}}u[c+40>>2]=u[b+16>>2];u[c+44>>2]=u[b+20>>2];u[c+48>>2]=u[b+24>>2];u[c+52>>2]=u[b+28>>2];u[c+56>>2]=u[b+32>>2];u[c+60>>2]=u[b+36>>2];u[c+64>>2]=u[b+40>>2];u[c+68>>2]=u[b+44>>2];u[c+72>>2]=u[b+48>>2];u[c+76>>2]=u[b+52>>2];u[c+80>>2]=u[b+56>>2];o[c+141|0]=r[b+89|0];g=q[b+60>>2];q[c+84>>2]=g;e=q[b+64>>2];q[c+88>>2]=e;q[c+92>>2]=q[b+72>>2];f=q[b+76>>2];q[c+128>>2]=f;h=q[b+80>>2];q[c+132>>2]=h;q[c+136>>2]=q[b+84>>2];k=r[b+88|0];i=(e>>>0)/(h>>>0)|0;q[c+120>>2]=i;j=(g>>>0)/(f>>>0)|0;q[c+116>>2]=j;o[c+140|0]=k;q[c+124>>2]=xi(w(f,h)<<2);f=0;a:{b:{c:{switch(r[b+68|0]-1|0){case 3:f=3;break b;default:mi(4,101221,101228,0);Ny(c);ki(c);c=0;break a;case 0:break b;case 2:break c}}f=2}q[c+104>>2]=f;d:{if(!q[b+92>>2]){ji[q[74890]](a,c+108|0,c+112|0);g=1;e:{f:{g:{e=q[c+108>>2];switch(e-3|0){case 0:break e;case 2:break g;default:break f}}g=2;break e}g=e}q[c+108>>2]=g;e=s[b+64>>1];g=s[b+60>>1];break d}q[c+108>>2]=2;q[c+112>>2]=2}f=w(i,j)<<2;h=xi(f);q[c+96>>2]=h;qi(h,0,f);o[d+60|0]=1;q[d+48>>2]=0;q[d+28>>2]=0;o[d+31|0]=0;o[d+32|0]=0;o[d+33|0]=0;o[d+34|0]=0;p[d+58>>1]=e;p[d+56>>1]=g;p[d+54>>1]=e;p[d+52>>1]=g;q[d+36>>2]=0;q[d+40>>2]=0;q[d+12>>2]=1;q[d+16>>2]=1;f=q[c+104>>2];q[d+4>>2]=2;q[d+8>>2]=2;p[d+30>>1]=g;p[d+32>>1]=e;q[d+20>>2]=0;q[d+24>>2]=0;q[d>>2]=f;f=ji[q[74961]](a,d+48|0)|0;q[c>>2]=f;a=w(w(r[b+68|0],g&65535),e&65535);b=xi(a);q[d+24>>2]=a;q[d+20>>2]=b;qi(b,0,a);ji[q[74963]](f,d);ki(q[d+20>>2])}fi=d- -64|0;return c}function xL(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,u=0;a:{if(!q[a+5792>>2]){d=q[a+5820>>2];break a}l=a+5817|0;while(1){n=e+1|0;f=r[q[a+5784>>2]+e|0];u=a;k=s[q[a+5796>>2]+(e<<1)>>1];b:{c:{if(!k){d=(f<<2)+b|0;e=s[d+2>>1];h=s[d>>1];d=q[a+5820>>2];f=s[a+5816>>1]|h<>1]=f;if((d|0)>(16-e|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=f;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];d=q[a+5820>>2];p[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0;break c}m=r[f+181632|0];i=m<<2;d=(i|1024)+b|0;e=s[d+6>>1];h=s[d+4>>1];g=q[a+5820>>2];d=s[a+5816>>1]|h<>1]=d;j=a;d:{if((g|0)>(16-e|0)){g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];g=q[a+5820>>2];d=h>>>16-g|0;p[a+5816>>1]=d;e=(e+g|0)-16|0;break d}e=e+g|0}q[j+5820>>2]=e;if(m-8>>>0<=19){g=f-q[i+183536>>2]&65535;d=g<>1]=d;j=a;f=q[i+183168>>2];e:{if((16-f|0)<(e|0)){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[l|0];e=q[a+5820>>2];d=g>>>16-e|0;p[a+5816>>1]=d;e=(e+f|0)-16|0;break e}e=e+f|0}q[j+5820>>2]=e}f=k-1|0;m=r[(f>>>0<256?f:(f>>>7|0)+256|0)+181120|0];k=m<<2;h=k+c|0;i=s[h+2>>1];j=d;d=s[h>>1];g=j|d<>1]=g;j=a;f:{if((16-i|0)<(e|0)){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=g;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[l|0];e=q[a+5820>>2];g=d>>>16-e|0;p[a+5816>>1]=g;d=(e+i|0)-16|0;break f}d=e+i|0}q[j+5820>>2]=d;if(m>>>0<4){break b}h=f-q[k+183664>>2]&65535;f=h<>1]=f;e=q[k+183296>>2];if((16-e|0)<(d|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=f;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];d=q[a+5820>>2];p[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0}q[u+5820>>2]=d}e=n;if(e>>>0>2]){continue}break}}c=s[b+1026>>1];b=s[b+1024>>1];e=s[a+5816>>1]|b<>1]=e;if((16-c|0)<(d|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=e;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[a+5817|0];d=b;b=q[a+5820>>2];p[a+5816>>1]=d>>>16-b;q[a+5820>>2]=(b+c|0)-16;return}q[a+5820>>2]=c+d}function dra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[a+12>>2]-5|0;g=c>>>0<65535?c:65535;a:{while(1){c=q[a+116>>2];if(c>>>0<=1){as(a);c=q[a+116>>2];if(!(c|b)){return 0}if(!c){break a}}q[a+116>>2]=0;c=q[a+108>>2]+c|0;q[a+108>>2]=c;d=q[a+92>>2];e=g+d|0;if(!(e>>>0>c>>>0?c:0)){q[a+108>>2]=e;q[a+116>>2]=c-e;ym(a,(d|0)>=0?q[a+56>>2]+d|0:0,g,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];nl(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;b:{if(!e){break b}si(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break b}q[d+16>>2]=q[d+8>>2]}if(!q[q[a>>2]+16>>2]){return 0}d=q[a+92>>2];c=q[a+108>>2]}e=c-d|0;if(e>>>0>2]-262>>>0){continue}ym(a,(d|0)>=0?q[a+56>>2]+d|0:0,e,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];nl(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;c:{if(!e){break c}si(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break c}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}break}return 0}q[a+5812>>2]=0;if((b|0)==4){b=a;c=q[a+92>>2];if((c|0)>=0){d=c+q[a+56>>2]|0}else{d=0}ym(b,d,q[a+108>>2]-c|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;d:{if(!d){break d}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break d}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}e:{e=q[a+108>>2];c=q[a+92>>2];if((e|0)<=(c|0)){break e}ym(a,(c|0)>=0?c+q[a+56>>2]|0:0,e-c|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];nl(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}si(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break f}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break e}return 0}return 1}function an(a,b){var c=0;c=a;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;a:{b:{if(!b){break b}c:{if(o[851768]&1){break c}if(!ui(851768)){break c}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}if(!r[851668]){break b}d:{if(o[851768]&1){break d}if(!ui(851768)){break d}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;b=zj();o[851668]=0;q[212916]=b;ti(851768)}b=q[212916];tj(b);e:{if(o[851768]&1){break e}if(!ui(851768)){break e}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=a;a=xM();q[c+24>>2]=a;f:{if(o[851768]&1){break f}if(!ui(851768)){break f}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212934];if(a>>>0>=q[212935]-c>>3>>>0){break a}a=c+(a<<3)|0;q[a>>2]=0;q[a+4>>2]=0;lj(b)}return}J(150666,150264,447,150677);G()}function Qs(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,s=x(0);c=fi-128|0;fi=c;a:{if(o[289948]&1){break a}if(!ui(289948)){break a}if(r[852367]){i=Ri(7503)}else{i=-1}q[72486]=i;ti(289948)}b:{if(o[289956]&1){break b}if(!ui(289956)){break b}if(r[852367]){i=Yi(7849,16)}else{i=0}q[72488]=i;ti(289956)}f=q[72486];c:{if((f|0)!=-1){Qi(c+112|0,f,7849,q[72488]);break c}q[c+112>>2]=0}d:{e:{f:{g:{h:{i:{l=q[b+84>>2];f=q[l+4>>2];if(f>>>0<=65535){if(!f){d=1;break h}g=c- -64|0;i=g;j=1;f=0;break i}q[c>>2]=f;mi(3,7277,7866,c);break h}while(1){e=q[l>>2]+w(f,80)|0;h=q[e+16>>2];if(!h){break g}j:{if(o[289964]&1){break j}if(!ui(289964)){break j}if(r[852367]){m=Ri(7935)}else{m=-1}q[72490]=m;ti(289964)}d=q[72490];k:{if((d|0)!=-1){Qi(c+96|0,d,q[h+4>>2],q[h+8>>2]);break k}q[c+96>>2]=0}d=0;if(o[h+98|0]&1){d=((k<<2)+b|0)+156|0;q[d>>2]=0;k=k+1|0}if(t[b+152>>2]>>0){break f}q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;q[c+16>>2]=b;u[c+32>>2]=u[e+32>>2];u[c+36>>2]=u[e+36>>2];u[c+40>>2]=u[e+40>>2];u[c+48>>2]=u[e+48>>2];u[c+52>>2]=u[e+52>>2];u[c+56>>2]=u[e+56>>2];s=u[e+60>>2];p[c+92>>1]=f;u[c+60>>2]=s;q[c+76>>2]=q[e+24>>2];q[c+80>>2]=q[((q[e+20>>2]<<2)+a|0)+12>>2];m=q[h+16>>2];q[c+88>>2]=d;q[c+84>>2]=m;q[i+8>>2]=q[e+72>>2];d=q[e+68>>2];q[g>>2]=q[e+64>>2];q[g+4>>2]=d;d=ji[q[h+28>>2]](c+16|0)|0;l:{if(d){j=0;break l}e=((q[e+20>>2]<<2)+a|0)+1032|0;q[e>>2]=q[e>>2]+1;n=n+1|0}if(q[c+96>>2]){Pi(c+96|0)}if(!d){f=f+1|0;if(f>>>0>2]){continue}}break}d=1;if(j){break h}if(!n){d=0;break h}g=0;f=0;while(1){d=q[l>>2]+w(g,80)|0;h=q[d+16>>2];if(!h){break e}k=q[h+96>>2]&65536;e=(k>>>16|0)+f|0;if(e>>>0>t[b+152>>2]){break d}j=((q[d+20>>2]<<2)+a|0)+1032|0;q[j>>2]=q[j>>2]-1;q[c+16>>2]=q[a+8>>2];q[c+20>>2]=b;q[c+24>>2]=q[((q[d+20>>2]<<2)+a|0)+12>>2];d=0;j=q[h+16>>2];q[c+32>>2]=k?((f<<2)+b|0)+156|0:0;q[c+28>>2]=j;ji[q[h+32>>2]](c+16|0)|0;f=e;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(q[c+112>>2]){Pi(c+112|0)}fi=c+128|0;return d}J(7920,7150,743,7849);G()}J(7962,7150,753,7849);G()}J(7920,7150,785,7849);G()}J(7962,7150,791,7849);G()}function sS(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var r=0,s=0,u=0,v=0,x=0,y=0;r=fi+ -64|0;fi=r;s=q[a+72>>2];u=q[s+4>>2];q[r+60>>2]=u;a:{b:{if(m){break b}x=c+u|0;v=x>>>0>>0?1:v;if(x+46>>>0<46){v=v+1|0}if(v){break b}p[r+30>>1]=0;o[r+9|0]=0;o[r+7|0]=0;o[r+8|0]=0;p[r+4>>1]=859;q[r>>2]=33639248;p[r+34>>1]=0;p[r+36>>1]=0;o[r+42|0]=l;o[r+45|0]=(m&16777215)<<8|l>>>24;o[r+44|0]=(m&65535)<<16|l>>>16;o[r+43|0]=(m&255)<<24|l>>>8;o[r+38|0]=n;o[r+41|0]=n>>>24;o[r+40|0]=n>>>16;o[r+39|0]=n>>>8;o[r+32|0]=0;o[r+33|0]=0;o[r+28|0]=c;o[r+29|0]=c>>>8;o[r+24|0]=d;o[r+27|0]=(e&16777215)<<8|d>>>24;o[r+26|0]=(e&65535)<<16|d>>>16;o[r+25|0]=(e&255)<<24|d>>>8;o[r+20|0]=f;d=g;e=f;o[r+23|0]=(d&16777215)<<8|e>>>24;o[r+22|0]=(d&65535)<<16|e>>>16;o[r+21|0]=(d&255)<<24|e>>>8;o[r+16|0]=h;o[r+19|0]=h>>>24;o[r+18|0]=h>>>16;o[r+17|0]=h>>>8;o[r+14|0]=k;o[r+15|0]=k>>>8;o[r+12|0]=j;o[r+13|0]=j>>>8;o[r+10|0]=i;o[r+11|0]=i>>>8;o[r+6|0]=i?20:0;c:{d=q[s+8>>2];f=q[s+4>>2];e=f+46|0;d:{if(d>>>0>=e>>>0){h=q[s>>2];break d}g=q[s+12>>2];if(!g){break a}h=d?d:1;while(1){d=h;h=d<<1;if(d>>>0>>0){continue}break}h=ji[q[a+48>>2]](q[a+52>>2],q[s>>2],g,d)|0;if(!h){break c}q[s+8>>2]=d;q[s>>2]=h}q[s+4>>2]=e;d=q[s+12>>2];si(w(d,f)+h|0,r,w(d,46));if(c){if(!b){break c}d=q[s+8>>2];f=q[s+4>>2];e=f+c|0;e:{if(d>>>0>=e>>>0){h=q[s>>2];break e}g=q[s+12>>2];if(!g){break a}h=d?d:1;while(1){d=h;h=d<<1;if(d>>>0>>0){continue}break}h=ji[q[a+48>>2]](q[a+52>>2],q[s>>2],g,d)|0;if(!h){break c}q[s+8>>2]=d;q[s>>2]=h}q[s+4>>2]=e;d=q[s+12>>2];si(w(d,f)+h|0,b,w(c,d))}b=q[s+24>>2];d=q[s+20>>2];c=d+1|0;f:{if(b>>>0>=c>>>0){h=q[s+16>>2];break f}e=q[s+28>>2];if(!e){break a}h=b?b:1;while(1){b=h;h=h<<1;if(b>>>0>>0){continue}break}h=ji[q[a+48>>2]](q[a+52>>2],q[s+16>>2],e,b)|0;if(!h){break c}q[s+24>>2]=b;q[s+16>>2]=h}q[s+20>>2]=c;a=q[s+28>>2];si(w(a,d)+h|0,r+60|0,a);y=1;break b}g:{if(t[s+8>>2]>>0){b=q[s+12>>2];if(!b){break a}a=ji[q[a+48>>2]](q[a+52>>2],q[s>>2],b,u)|0;if(!a){break g}q[s+8>>2]=u;q[s>>2]=a}q[s+4>>2]=u}}fi=r- -64|0;return y}J(199453,196587,4376,199476);G()}function cwa(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(c){k=b+c|0;l=k-12|0;m=k-5|0;j=k-8|0;g=a;while(1){e=g+1|0;d=15;i=r[g|0];g=i>>>4|0;if((g|0)==15){while(1){c=r[e|0];e=e+1|0;d=c+d|0;g=d;if((c|0)==255){continue}break}}b:{c:{d=b+g|0;if(d>>>0<=j>>>0){c=e;while(1){f=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);h=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=f;o[b+5|0]=f>>>8;o[b+6|0]=f>>>16;o[b+7|0]=f>>>24;c=c+8|0;b=b+8|0;if(d>>>0>b>>>0){continue}break}b=e+g|0;g=b+2|0;f=d-(r[b|0]|r[b+1|0]<<8)|0;c=15;e=i&15;if((e|0)==15){while(1){b=r[g|0];g=g+1|0;c=b+c|0;e=c;if((b|0)==255){continue}break}}b=(d+e|0)+4|0;c=d-f|0;if((c|0)>7){break c}o[d|0]=r[f|0];o[d+1|0]=r[f+1|0];o[d+2|0]=r[f+2|0];o[d+3|0]=r[f+3|0];h=c<<2;c=f+q[h+169840>>2]|0;e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;e=c-q[h+169872>>2]|0;break b}if((d|0)!=(k|0)){g=e;break a}si(b,e,g);return(e+g|0)-a|0}c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);e=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=e;o[d+1|0]=e>>>8;o[d+2|0]=e>>>16;o[d+3|0]=e>>>24;o[d+4|0]=c;o[d+5|0]=c>>>8;o[d+6|0]=c>>>16;o[d+7|0]=c>>>24;e=f+8|0}c=d+8|0;if(b>>>0>l>>>0){if(b>>>0>m>>>0){break a}d=e;f=c;if(c>>>0>>0){while(1){h=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);i=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);o[f|0]=i;o[f+1|0]=i>>>8;o[f+2|0]=i>>>16;o[f+3|0]=i>>>24;o[f+4|0]=h;o[f+5|0]=h>>>8;o[f+6|0]=h>>>16;o[f+7|0]=h>>>24;d=d+8|0;f=f+8|0;if(j>>>0>f>>>0){continue}break}e=(j-c|0)+e|0;c=j}if(b>>>0<=c>>>0){continue}while(1){o[c|0]=r[e|0];e=e+1|0;c=c+1|0;if(c>>>0>>0){continue}break}}else{while(1){d=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);f=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);o[c|0]=f;o[c+1|0]=f>>>8;o[c+2|0]=f>>>16;o[c+3|0]=f>>>24;o[c+4|0]=d;o[c+5|0]=d>>>8;o[c+6|0]=d>>>16;o[c+7|0]=d>>>24;e=e+8|0;c=c+8|0;if(c>>>0>>0){continue}break}}continue}}return r[a|0]?-1:1}return(g^-1)+a|0}function xO(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,p=0;b=fi-1328|0;fi=b;f=Ni(a,1,b+1320|0);d=Ni(a,2,0);c=d+1|0;g=ri(a,3);l=cm(a,4,q[b+1320>>2]+1|0);e=r[d|0];i=(e|0)==94;if(g-3>>>0>=4){Mj(a,3,132185)}m=i?c:d;d=b+8|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;q[b+1056>>2]=a;q[b+1048>>2]=f;q[b+1052>>2]=q[b+1320>>2]+f;k=b+1044|0;n=(e|0)!=94;i=0;while(1){a:{if((i|0)>=(l|0)){d=f;break a}q[b+1060>>2]=0;d=kn(b+1048|0,f,m);b:{if(!d){break b}i=i+1|0;c:{d:{e:{f:{g=q[b+1056>>2];switch(ri(g,3)-3|0){case 2:break d;case 3:break e;case 0:case 1:break f;default:break c}}h=_i(q[b+1056>>2],3,b+1324|0);if(!q[b+1324>>2]){break b}p=d-f|0;c=0;while(1){j=c+h|0;g=r[j|0];g:{if((g|0)!=37){e=q[b+8>>2];if(k>>>0<=e>>>0){Pk(b+8|0);e=q[b+8>>2];g=r[j|0]}q[b+8>>2]=e+1;o[e|0]=g;break g}c=c+1|0;j=h+c|0;g=r[j|0];if(g-48>>>0>=10){e=q[b+8>>2];if(k>>>0<=e>>>0){Pk(b+8|0);e=q[b+8>>2];g=r[j|0]}q[b+8>>2]=e+1;o[e|0]=g;break g}if((g|0)==48){Wm(b+8|0,f,p);break g}tr(b+1048|0,(g<<24>>24)-49|0,f,d);Wr(b+8|0)}c=c+1|0;if(c>>>0>2]){continue}break}break b}Hi(g,3);c=q[b+1060>>2];e=f?c?c:1:c;Fo(q[b+1056>>2],e,131851);c=0;if((e|0)>=1){while(1){tr(b+1048|0,c,f,d);c=c+1|0;if((e|0)!=(c|0)){continue}break}}zk(g,e,1);break c}h:{if(q[b+1060>>2]<=0){Bi(q[b+1056>>2],f,d-f|0);break h}i:{j:{k:{c=q[b+1068>>2];switch(c+2|0){case 1:break j;case 0:break k;default:break i}}e=(q[b+1064>>2]-q[b+1048>>2]|0)+1|0;c=q[b+1056>>2];h=q[c+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[c+8>>2]=q[c+8>>2]+16;break h}ni(q[b+1056>>2],132001,0)}Bi(q[b+1056>>2],q[b+1064>>2],c)}Tj(g,3)}l:{if(!Fj(g,-1)){oi(g,-2);Bi(g,f,d-f|0);break l}if($j(g,-1)){break l}c=b;h=ri(g,-1);e=125997;m:{if((h|0)==-1){break m}e=q[(h<<2)+261152>>2]}q[c>>2]=e;ni(g,132216,b)}Wr(b+8|0)}if(f>>>0>=d>>>0){if(t[b+1052>>2]<=f>>>0){d=f;break a}c=q[b+8>>2];if(k>>>0<=c>>>0){Pk(b+8|0);c=q[b+8>>2]}d=r[f|0];q[b+8>>2]=c+1;o[c|0]=d;d=f+1|0}f=d;if(n){continue}}break}Wm(b+8|0,d,q[b+1052>>2]-d|0);bm(b+8|0);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=i|0;q[a+8>>2]=q[a+8>>2]+16;fi=b+1328|0;return 2}function EA(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;i=fi-16|0;fi=i;e=i+8|0;q[e+4>>2]=c;q[e>>2]=d;a:{if(r[b+24|0]){while(1){k=4;j=q[b+20>>2]+w(n,20)|0;o=j;b:{c:{d:{e:{h=q[j+4>>2];f=h>>>22&63;switch(f-9|0){case 0:break b;case 3:break d;case 2:break e;default:break c}}k=q[q[j+8>>2]+16>>2];break b}k=8;break b}k=BA(f);h=q[o+4>>2]}l=q[j+12>>2]+a|0;p=1;f:{if((h&-268435456)==805306368){p=q[l+4>>2];if(!p){break f}l=q[l>>2]}m=0;g:{h:{i:{j:{while(1){k:{f=w(k,m)+l|0;l:{m:{switch((h>>>22&63)-1|0){case 0:g=3;if(!vn(e,h&4194303,1)){break a}if(Apa(e,v[f>>3])){break l}break a;case 1:g=3;if(!vn(e,h&4194303,5)){break a}if(zpa(e,u[f>>2])){break l}break a;case 2:g=3;if(!vn(e,h&4194303,0)){break a}if(OK(e,q[f>>2],q[f+4>>2])){break l}break a;case 3:g=3;if(!vn(e,h&4194303,0)){break a}if(OK(e,q[f>>2],q[f+4>>2])){break l}break a;case 4:g=3;if(!vn(e,h&4194303,0)){break a}if(xpa(e,q[f>>2])){break l}break a;case 5:J(22827,22833,97,22857);G();case 6:J(22827,22833,101,22857);G();case 7:g=3;if(!vn(e,h&4194303,0)){break a}if(Bpa(e,r[f|0])){break l}break a;case 8:g=3;if(!vn(e,h&4194303,2)){break a}if(ypa(e,q[f>>2])){break l}break a;case 9:J(22827,22833,111,22857);G();case 10:q[i+4>>2]=0;g=LK(f,q[j+8>>2],i+4|0,119);if(g){break a}g=3;if(!vn(e,q[o+4>>2]&4194303,2)){break a}if(!rv(e,q[i+4>>2])){break a}g=LK(f,q[j+8>>2],c,d);if(!g){break l}break a;case 11:g=3;if(!vn(e,h&4194303,2)){break a}if(!rv(e,q[f+4>>2])){break a}if(ji[q[e>>2]](q[e+4>>2],q[f>>2],q[f+4>>2])|0){break l}break a;case 12:g=3;if(!vn(e,h&4194303,0)){break a}if(rv(e,q[f>>2])){break l}break a;case 17:break h;case 16:break i;case 15:break j;case 14:break k;case 13:break m;default:break g}}g=3;if(!vn(e,h&4194303,0)){break a}if(!rv(e,q[f>>2])){break a}}m=m+1|0;if((p|0)==(m|0)){break f}h=q[o+4>>2];continue}break}J(22827,22833,150,22857);G()}J(22827,22833,154,22857);G()}J(22827,22833,158,22857);G()}J(22827,22833,162,22857);G()}J(22827,22833,166,22857);G()}n=n+1|0;if(n>>>0>2];if((c|0)==-1){break d}f=q[212928];while(1){d=w(c,24)+f|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+16>>2];if((c|0)!=-1){continue}break d}break}ki(q[(w(c,24)+f|0)+8>>2]);e:{if(o[851768]&1){break e}if(!ui(851768)){break e}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}Y7(a,b)}lj(e)}}function kN(a,b,c){var d=0,e=0,f=0;d=fi+ -64|0;fi=d;q[d+48>>2]=0;q[d+32>>2]=0;q[d+16>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;e=-10240;a:{if(!a|!b){break a}q[d+56>>2]=b;q[d+60>>2]=c;if(Lj(d+56|0,b+c|0,d+60|0,48)){pl(a);e=-8576;break a}f=q[d+60>>2];c=(f+q[d+56>>2]|0)-b|0;q[a+8>>2]=c;e=Oj(1,c);q[a+12>>2]=e;if(!e){e=-10368;break a}b=si(e,b,c);q[a>>2]=1;e=b+(c-f|0)|0;q[d+56>>2]=e;q[a+24>>2]=e;f=b+c|0;b=Lj(d+56|0,f,d+60|0,48);if(b){pl(a);e=b-8576|0;break a}c=q[d+56>>2]+q[d+60>>2]|0;q[a+20>>2]=c-q[a+24>>2];b:{e=WM(d+56|0,c,a+28|0);c:{if(e){break c}e=vT(d+56|0,c,a+32|0);if(e){break c}b=a+44|0;e=Pw(d+56|0,c,b,d+40|0);if(!e){break b}}pl(a);break a}e=q[a+28>>2];if(e>>>0>=3){pl(a);e=-9600;break a}q[a+28>>2]=e+1;e=tT(b,d+40|0,a+328|0,a+332|0,a+336|0);if(e){pl(a);break a}q[a- -64>>2]=q[d+56>>2];b=Lj(d+56|0,c,d+60|0,48);if(b){pl(a);e=b-8576|0;break a}e=OC(d+56|0,q[d+56>>2]+q[d+60>>2]|0,a+80|0);if(e){pl(a);break a}q[a+60>>2]=q[d+56>>2]-q[a+64>>2];e=bN(d+56|0,c,a+144|0,a+168|0);if(e){pl(a);break a}q[a+76>>2]=q[d+56>>2];b=Lj(d+56|0,c,d+60|0,48);if(b){pl(a);e=b-8576|0;break a}d:{b=q[d+60>>2];if(!b){break d}e=OC(d+56|0,b+q[d+56>>2]|0,a+112|0);if(!e){break d}pl(a);break a}b=q[d+56>>2];q[a+200>>2]=b;q[a+72>>2]=b-q[a+76>>2];e=$w(d+56|0,c,a+204|0);if(e){pl(a);break a}q[a+196>>2]=q[d+56>>2]-q[a+200>>2];e:{b=q[a+28>>2];if((b&-2)==2){e=lB(d+56|0,c,a+212|0,1);if(e){break e}b=q[a+28>>2]}f:{if((b&-2)!=2){break f}e=lB(d+56|0,c,a+224|0,2);if(e){pl(a);break a}if(q[a+28>>2]!=3){break f}e=cN(d+56|0,c,a);if(!e){break f}pl(a);break a}g:{if((c|0)!=q[d+56>>2]){break g}e=Pw(d+56|0,f,d+8|0,d+24|0);if(e){pl(a);break a}h:{b=q[a+48>>2];i:{if((b|0)!=q[d+12>>2]){break i}if(ej(q[a+52>>2],q[d+16>>2],b)){break i}b=q[d+44>>2];if((b|0)!=q[d+28>>2]){break i}if(!b){break h}if(!ej(q[d+48>>2],q[d+32>>2],b)){break h}}pl(a);e=-9856;break a}e=uT(d+56|0,f,a+316|0);if(e){pl(a);break a}if((f|0)!=q[d+56>>2]){break g}e=0;break a}pl(a);e=-8678;break a}pl(a)}fi=d- -64|0;return e}function zK(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;f=fi-160|0;fi=f;a:{b:{c:{d:{g=d+8|0;i=kv(a,q[c+16>>2],q[c+20>>2],g);e:{if(i){if(q[d+4>>2]){while(1){b=q[d>>2]+w(h,80)|0;Di(a,q[b+24>>2]);ro(q[b+72>>2]);h=h+1|0;if(h>>>0>2]){continue}break}}Yo(a,g);Ui(c);break e}q[d>>2]=0;q[d+4>>2]=0;h=q[c+4>>2];if(!h){i=0;break e}q[d>>2]=xi(w(h,80));j=f+96|0;f:{while(1){if(h>>>0<=k>>>0){break d}g=q[c>>2]+w(k,144)|0;m=q[g+4>>2];i=Ij(a,m,f+156|0);if(i){break e}n=li(q[g>>2]);o=ii;h=0;i=0;g:{l=q[d+4>>2];if(!l){break g}while(1){p=q[d>>2]+w(h,80)|0;if(q[p>>2]==(n|0)&q[p+4>>2]==(o|0)){i=q[g>>2];q[f+20>>2]=e;q[f+16>>2]=i;mi(4,20484,20495,f+16|0);l=q[d+4>>2];i=1}h=h+1|0;if(l>>>0>h>>>0){continue}break}if(!(i&1)){break g}Di(a,q[f+156>>2]);break f}if(nu(a,q[f+156>>2],f+152|0)){break c}h=nv(b,q[f+152>>2],f+148|0);if(!h){break b}if(us(a,m,f+112|0)){break a}q[f+60>>2]=q[f+152>>2];q[f+56>>2]=q[f+156>>2];q[f+52>>2]=q[f+148>>2];q[f+48>>2]=h;h=q[f+116>>2];q[f+40>>2]=q[f+112>>2];q[f+44>>2]=h;q[f+32>>2]=n;q[f+36>>2]=o;u[f+64>>2]=u[g+16>>2];u[f+68>>2]=u[g+20>>2];u[f+72>>2]=u[g+24>>2];u[f+80>>2]=u[g+32>>2];u[f+84>>2]=u[g+36>>2];u[f+88>>2]=u[g+40>>2];u[f+92>>2]=u[g+44>>2];q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[f+96>>2]=28;h=xA(g+56|0);q[f+104>>2]=h;if(h){g=q[d+4>>2];q[d+4>>2]=g+1;i=q[f+60>>2];g=q[d>>2]+w(g,80)|0;q[g+24>>2]=q[f+56>>2];q[g+28>>2]=i;i=q[f+52>>2];q[g+16>>2]=q[f+48>>2];q[g+20>>2]=i;i=q[f+44>>2];q[g+8>>2]=q[f+40>>2];q[g+12>>2]=i;i=q[f+36>>2];q[g>>2]=q[f+32>>2];q[g+4>>2]=i;u[g+32>>2]=u[f+64>>2];u[g+36>>2]=u[f+68>>2];u[g+40>>2]=u[f+72>>2];u[g+48>>2]=u[f+80>>2];u[g+52>>2]=u[f+84>>2];u[g+56>>2]=u[f+88>>2];u[g+60>>2]=u[f+92>>2];i=q[j+4>>2];q[g+64>>2]=q[j>>2];q[g+68>>2]=i;q[g+72>>2]=q[j+8>>2]}if(!h){break f}h=q[c+4>>2];k=k+1|0;if(h>>>0>k>>>0){continue}break}i=0;break e}i=-13}fi=f+160|0;return i}J(20412,20424,91,20473);G()}J(20550,20344,95,20582);G()}a=q[g>>2];q[f+4>>2]=q[g+4>>2];q[f>>2]=a;mi(4,20484,20599,f);J(20643,20344,101,20582);G()}J(20550,20344,104,20582);G()}function Eha(a,b,c,d){var e=0,f=0,g=0,h=0;h=fi-16|0;fi=h;g=q[b+2208>>2];f=31339;e=ik(a,31339,0,0,130,0,129,128);a:{b:{if(e){break b}f=31133;e=ik(a,31133,d,0,133,0,132,131);if(e){break b}f=31406;e=ik(a,31406,d,0,136,0,135,134);if(e){break b}f=31419;e=ik(a,31419,0,0,139,0,138,137);if(e){break b}f=31428;e=ik(a,31428,0,143,142,0,141,140);if(e){break b}f=31190;e=ik(a,31190,g,148,147,146,145,144);if(e){break b}f=31440;e=ik(a,31440,g,152,151,0,150,149);if(e){break b}f=31444;e=ik(a,31444,g,156,155,0,154,153);if(e){break b}f=31159;e=ik(a,31159,b,160,159,0,158,157);if(e){break b}f=31175;e=ik(a,31175,g,164,163,0,162,161);if(e){break b}f=31448;e=ik(a,31448,g,168,167,0,166,165);if(e){break b}f=31183;e=ik(a,31183,g,172,171,0,170,169);if(e){break b}f=31165;e=ik(a,31165,b,176,175,0,174,173);if(e){break b}f=31454;e=ik(a,31454,0,0,179,0,178,177);if(e){break b}f=31459;e=ik(a,31459,0,0,179,0,178,177);if(e){break b}f=31464;e=ik(a,31464,0,183,182,0,181,180);if(e){break b}f=31471;e=ik(a,31471,0,0,186,0,185,184);if(e){break b}f=31479;e=ik(a,31479,c,0,189,0,188,187);if(e){break b}f=31494;e=ik(a,31494,0,0,192,0,191,190);if(e){break b}f=31150;e=ik(a,31150,0,196,195,0,194,193);if(e){break b}f=31114;e=ik(a,31114,0,200,199,0,198,197);if(e){break b}f=31504;e=ik(a,31504,0,204,203,0,202,201);if(e){break b}f=31511;e=ik(a,31511,0,0,207,0,206,205);if(e){break b}f=31518;e=ik(a,31518,b,0,210,0,209,208);if(e){break b}f=31533;e=ik(a,31533,b,0,213,0,212,211);if(e){break b}f=31541;e=ik(a,31541,0,217,216,0,215,214);if(e){break b}f=31199;e=ik(a,31199,d,221,220,0,219,218);if(e){break b}f=31211;e=ik(a,31211,d,225,224,0,223,222);if(e){break b}f=31549;e=ik(a,31549,0,229,228,0,227,226);if(e){break b}f=31558;e=ik(a,31558,0,233,232,0,231,230);if(e){break b}c=0;f=31568;e=ik(a,31568,0,237,236,0,235,234);if(e){break b}f=31578;e=ik(a,31578,b,0,240,0,239,238);if(!e){break a}}a=h;b=e+21|0;c:{if(b>>>0<=21){b=q[(b<<2)+240084>>2];break c}b=26733}q[a+4>>2]=b;q[h>>2]=f;mi(5,31356,31364,h);c=e}fi=h+16|0;return c}function zja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-80|0;fi=f;b=q[a+4>>2];c=q[b+16>>2];e=q[q[a+12>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];d=q[b>>2];if(c>>>0<(q[b+4>>2]-d|0)/240>>>0){b=q[a+16>>2];e=q[b+64>>2];h=q[59647];i=q[b+68>>2];a:{if((e|0)==q[h+8>>2]&(i|0)==q[h+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]|4;break a}h=q[59648];if((e|0)==q[h+8>>2]&(i|0)==q[h+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65531;break a}if(!q[b+80>>2]){break a}h=d+w(c,240)|0;g=q[62624];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){if(!av(h,q[b+96>>2],q[b+100>>2],u[b+104>>2],u[b+108>>2])){break a}b=d+w(c,240)|0;d=q[a+16>>2];e=q[d+4>>2];q[b+152>>2]=q[d>>2];q[b+156>>2]=e;c=q[d+28>>2];q[b+176>>2]=q[d+24>>2];q[b+180>>2]=c;c=q[d+20>>2];q[b+168>>2]=q[d+16>>2];q[b+172>>2]=c;c=q[d+12>>2];q[b+160>>2]=q[d+8>>2];q[b+164>>2]=c;q[b+148>>2]=q[q[a+16>>2]+76>>2];break a}g=q[62662];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65503|(q[b+96>>2]!=0)<<5;break a}g=q[62678];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65471|(q[b+96>>2]!=0)<<6;break a}g=q[61188];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){c=d+w(c,240)|0;d=q[c+200>>2];if(!d){d=q[q[c+188>>2]+16>>2]}c=q[b+100>>2];e=q[b+96>>2];u[f+16>>2]=u[b+112>>2];u[f+20>>2]=u[b+116>>2];u[f+24>>2]=u[b+120>>2];u[f+28>>2]=u[b+124>>2];if((Xo(d,e,c,$o(f+40|0,f+16|0),q[b+128>>2],445,h)|0)!=-1){break a}a=q[a+16>>2];d=_m(q[a+32>>2],q[a+36>>2]);c=Ei(q[a+48>>2],q[a+52>>2]);a=Ei(q[a+56>>2],q[a+60>>2]);q[f+12>>2]=Ei(q[b+96>>2],q[b+100>>2]);q[f+8>>2]=a;q[f+4>>2]=c;q[f>>2]=d;mi(4,51183,51257,f);break a}a=q[61206];if((e|0)==q[a+8>>2]&(i|0)==q[a+12>>2]){a=q[(d+w(c,240)|0)+192>>2];if(!a){break a}if(!dv(a,q[b+96>>2],q[b+100>>2])){break a}a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]|256;break a}a=q[61222];if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(i|0)){break a}a=d+w(c,240)|0;u[a+48>>2]=u[b+96>>2];u[a+52>>2]=u[b+100>>2];u[a+56>>2]=u[b+104>>2]}fi=f+80|0;return 0}}J(52519,51871,447,51574);G()}function Gu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=fi-16|0;fi=h;l=e^1;j=a+2208|0;e=0;a:{b:{c:{d:{e:{if((c|0)==-1){while(1){f=q[b+16>>2];g=q[b+20>>2]-f|0;ji[d|0](b,q[a+2132>>2],q[b+12>>2],(a+f|0)+2208|0,g);f=q[b+100>>2];if(!(!f|l)){jH(f,(q[b+16>>2]+a|0)+2208|0,g)}f=g+q[b+16>>2]|0;q[b+16>>2]=f;e=e+g|0;if((e|0)==-1){e=-1;break b}if(q[b+20>>2]!=(f|0)){break c}q[b+16>>2]=0;q[b+20>>2]=0;f:{g:{f=q[b+116>>2];h:{if(f){f=ku(f,j,65536,h+12|0);break h}f=fu(q[b+112>>2],j,65536,h+12|0)}g=(f|0)==-3?-101:f;i=g+5|0;switch(i|0){case 0:break a;case 5:break f;case 1:case 2:case 3:case 4:break e;default:break g}}if((g|0)!=-101){break e}}f=q[a+2204>>2];if(q[f>>2]?f:0){break e}if(q[a+2160>>2]){f=Uj();k=q[a+2168>>2];if(q[a+2160>>2]<=(f-k|0)){break e}}i:{switch(i|0){case 5:f=q[h+12>>2];if(!f){break a}q[b+20>>2]=f;continue;case 0:break a;case 1:case 2:case 3:case 4:break e;default:break i}}if((g|0)==-101){continue}break e}}while(1){f=c-e|0;g=q[b+16>>2];i=q[b+20>>2]-g|0;f=(f|0)<(i|0)?f:i;ji[d|0](b,q[a+2132>>2],q[b+12>>2],(a+g|0)+2208|0,f);g=q[b+100>>2];if(!(!g|l)){jH(g,(q[b+16>>2]+a|0)+2208|0,f)}e=e+f|0;if((e|0)>(c|0)){break d}f=f+q[b+16>>2]|0;q[b+16>>2]=f;if((c|0)==(e|0)){e=c;break b}if(q[b+20>>2]!=(f|0)){break c}q[b+16>>2]=0;q[b+20>>2]=0;j:{k:{f=q[b+116>>2];l:{if(f){f=ku(f,j,65536,h+12|0);break l}f=fu(q[b+112>>2],j,65536,h+12|0)}g=(f|0)==-3?-101:f;i=g+5|0;switch(i|0){case 0:break a;case 5:break j;case 1:case 2:case 3:case 4:break e;default:break k}}if((g|0)!=-101){break e}}f=q[a+2204>>2];if(q[f>>2]?f:0){break e}if(q[a+2160>>2]){f=Uj();k=q[a+2168>>2];if(q[a+2160>>2]<=(f-k|0)){break e}}m:{switch(i|0){case 5:f=q[h+12>>2];if(!f){break a}q[b+20>>2]=f;continue;case 0:break a;case 1:case 2:case 3:case 4:break e;default:break m}}if((g|0)==-101){continue}break}}fi=h+16|0;return-1}J(153923,153193,657,153977);G()}J(153988,153193,669,153977);G()}Kk(j,(a+f|0)+2208|0,q[b+20>>2]-f|0);a=q[b+16>>2];q[b+16>>2]=0;q[b+20>>2]=q[b+20>>2]-a}fi=h+16|0;return(c|0)!=-1?(c|0)!=(e|0)?-4:0:0}function MA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=fi-608|0;fi=g;eS(a,g+32|0);q[q[g+32>>2]+60>>2]=d;if(q[a+16>>2]!=40){e=q[a+52>>2];q[g+16>>2]=Xk(a,40);xj(a,Oi(e,127343,g+16|0))}yj(a);a:{if(!c){f=q[a+48>>2];i=q[f>>2];break a}Bm(a,go(a,127562,4),0);f=q[a+48>>2];c=r[f+50|0]+1|0;o[f+50|0]=c;i=q[f>>2];q[(q[i+24>>2]+w(s[(((c&255)<<1)+f|0)+170>>1],12)|0)+4>>2]=q[f+24>>2]}o[i+74|0]=0;c=0;h=q[a+16>>2];e=0;b:{if((h|0)==41){break b}while(1){c:{d:{switch(h-279|0){case 6:e=q[a+24>>2];yj(a);Bm(a,e,c);c=c+1|0;break c;case 0:yj(a);Bm(a,go(a,127608,3),c);o[i+74|0]=7;c=c+1|0;e=1;break b;default:break d}}xj(a,127612)}e=r[i+74|0];if(!(e|q[a+16>>2]!=44)){yj(a);h=q[a+16>>2];continue}break}e=e&1}h=q[a+48>>2];j=r[h+50|0]+c|0;o[h+50|0]=j;if(c){j=j&255;k=q[h+24>>2];l=q[q[h>>2]+24>>2];while(1){q[(w(s[(h+(j-c<<1)|0)+172>>1],12)+l|0)+4>>2]=k;c=c-1|0;if(c){continue}break}}c=r[f+50|0];o[i+73|0]=c-e;Fp(f,c);if(q[a+16>>2]!=41){c=q[a+52>>2];q[g>>2]=Xk(a,41);xj(a,Oi(c,127343,g))}yj(a);e=q[a+52>>2];c=s[e+52>>1]+1|0;p[e+52>>1]=c;if((c&65535)>>>0>=201){Kl(a,127357,0)}while(1){c=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){c=mt(a);if(q[a+16>>2]==59){yj(a)}e=q[a+48>>2];q[e+36>>2]=r[e+50|0];if(!c){continue}}break}c=q[a+52>>2];p[c+52>>1]=s[c+52>>1]-1;q[q[g+32>>2]+64>>2]=q[a+4>>2];uo(a,262,265,d);BL(a);e=q[a+48>>2];d=q[e>>2];c=q[d+52>>2];e:{if((c|0)>q[e+44>>2]){break e}i=rq(q[a+52>>2],q[d+16>>2],d+52|0,4,262143,127637);q[d+16>>2]=i;f=q[d+52>>2];if((f|0)<=(c|0)){break e}q[i+(c<<2)>>2]=0;c=c+1|0;if((f|0)==(c|0)){break e}while(1){q[q[d+16>>2]+(c<<2)>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}f=q[d+16>>2];i=q[g+32>>2];h=q[e+44>>2];c=h+1|0;q[e+44>>2]=c;q[f+(h<<2)>>2]=i;f=q[g+32>>2];if(!(!(r[f+5|0]&3)|!(r[d+5|0]&4))){Mn(q[a+52>>2],d,f);c=q[e+44>>2]}a=0;c=Tt(e,36,0,c-1|0);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=c;q[b>>2]=11;if(r[q[g+32>>2]+72|0]){while(1){b=(g+32|0)+(a<<1)|0;dm(e,(r[b+51|0]!=6)<<2,0,r[b+52|0],0);a=a+1|0;if(a>>>0>2]+72|0]){continue}break}}fi=g+608|0}function fJ(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-608|0;fi=d;f=q[c+4>>2];e=q[c>>2];u[d+88>>2]=u[c+8>>2];q[d+80>>2]=e;q[d+84>>2]=f;v8(a,b,d+80|0);f=1;Vo(a,b,1,c+16|0);Vo(a,b,2,c+32|0);e=q[c+68>>2];g=q[c+64>>2];u[d+600>>2]=u[c+72>>2];q[d+592>>2]=g;q[d+596>>2]=e;u[d+604>>2]=u[c+232>>2];Vo(a,b,3,d+592|0);Vo(a,b,4,c+48|0);e=q[c+132>>2];g=q[c+128>>2];u[d+600>>2]=u[c+136>>2];q[d+592>>2]=g;q[d+596>>2]=e;u[d+604>>2]=u[c+236>>2];Vo(a,b,5,d+592|0);e=q[c+148>>2];g=q[c+144>>2];u[d+600>>2]=u[c+152>>2];q[d+592>>2]=g;q[d+596>>2]=e;u[d+604>>2]=u[c+240>>2];Vo(a,b,6,d+592|0);Vo(a,b,7,c+192|0);hI(a,b,q[c+268>>2]);e=q[c+92>>2];a:{if(!(!e|!r[e|0])){g=Fi(e);f=g+1|0;b:{if(f>>>0>=513){f=q[c+100>>2];q[d+44>>2]=512;q[d+40>>2]=511-g;q[d+32>>2]=e;q[d+36>>2]=f?f:40095;mi(4,38938,39998,d+32|0);break b}kj(d+80|0,e,f);f=Nj(d+80|0,47);e=0;c:{if(!f){break c}o[f|0]=0;e=f+1|0}g=Bz(a,b,d+80|0);f=1;d:{if(!g){break d}f=q[c+100>>2];q[d+72>>2]=g;q[d+68>>2]=f?f:40095;q[d+64>>2]=d+80;mi(4,38938,40103,d- -64|0);f=0}if(!e){break a}g=Qu(a,b,li(e),ii,x(0),x(1),0,0,0);if(!g){break a}f=q[c+100>>2];q[d+60>>2]=g;q[d+48>>2]=e;q[d+56>>2]=f?f:40095;q[d+52>>2]=d+80;mi(4,38938,40159,d+48|0)}f=0;break a}Bz(a,b,40241)}e=q[c+172>>2];e:{if(!(!e|!r[e|0])){g=Dz(a,b,e);if(!g){break e}e=q[c+100>>2];h=q[c+172>>2];q[d+24>>2]=g;q[d+16>>2]=h;q[d+20>>2]=e?e:40095;mi(4,38938,40242,d+16|0)}Dz(a,b,40241)}e=q[c+84>>2];H8(a,b,(e|0)==2?1:e);iI(a,b,q[c+112>>2]);cI(a,b,q[c+104>>2]);bI(a,b,q[c+108>>2]);J8(a,b,q[c+160>>2]);y8(a,b,r[c+176|0]);F8(a,b,q[c+224>>2]);E8(a,b,r[c+228|0]);G8(a,b,r[c+229|0]);if(r[c+284|0]){x8(a,b)}f:{g:{switch(q[c+80>>2]-1|0){case 0:eI(a,b,q[c+88>>2]);qI(a,b,q[c+96>>2]);w8(a,b,r[c+164|0]);gI(a,b,u[c+260>>2]);fI(a,b,u[c+264>>2]);break f;case 1:kI(a,b,q[c+216>>2]);oI(a,b,u[c+212>>2]);lI(a,b,q[c+208>>2]);jI(a,b,u[c+220>>2]);break f;case 4:Cz(a,b,li(q[c+288>>2]),ii);break f;case 2:break g;default:break f}}c=q[c+100>>2];q[d+4>>2]=-7;q[d>>2]=c?c:40095;mi(4,38938,40300,d);f=0}u8(a,b);fi=d+608|0;return f}function GE(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;j=fi-128|0;fi=j;a:{b:{c:{if(!Wp(f,g,h,i,0,0,0,0)){break c}l=Iua(f,g,h,i);s=e>>>16|0;n=s&32767;if((n|0)==32767){break c}if(l){break b}}tk(j+16|0,b,c,d,e,f,g,h,i);e=q[j+16>>2];d=q[j+20>>2];c=q[j+24>>2];b=q[j+28>>2];vM(j,e,d,c,b,e,d,c,b);d=q[j+8>>2];e=q[j+12>>2];h=q[j>>2];i=q[j+4>>2];break a}l=n<<16;o=d;r=l|e&65535;m=r;p=h;r=i>>>16&32767;k=i&65535|r<<16;if((Wp(b,c,o,m,f,g,h,k)|0)<=0){if(Wp(b,c,o,m,f,g,p,k)){h=b;i=c;break a}tk(j+112|0,b,c,d,e,0,0,0,0);d=q[j+120>>2];e=q[j+124>>2];h=q[j+112>>2];i=q[j+116>>2];break a}if(n){i=c;h=b}else{tk(j+96|0,b,c,o,m,0,0,0,1081540608);h=q[j+108>>2];m=h;o=q[j+104>>2];n=(h>>>16|0)-120|0;i=q[j+100>>2];h=q[j+96>>2]}if(!r){tk(j+80|0,f,g,p,k,0,0,0,1081540608);f=q[j+92>>2];k=f;p=q[j+88>>2];r=(k>>>16|0)-120|0;g=q[j+84>>2];f=q[j+80>>2]}t=k&65535|65536;m=m&65535|65536;if((n|0)>(r|0)){while(1){k=o;l=p;u=k-l|0;l=m-((k>>>0>>0)+t|0)|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(k>>>0>u>>>0)|0;k=u-k|0;d:{if((l|0)>0?1:(l|0)>=0){m=h;h=h-f|0;i=i-((f>>>0>m>>>0)+g|0)|0;if(!(h|k|(i|l))){tk(j+32|0,b,c,d,e,0,0,0,0);d=q[j+40>>2];e=q[j+44>>2];h=q[j+32>>2];i=q[j+36>>2];break a}l=l<<1|k>>>31;o=k<<1|i>>>31;break d}l=m<<1|o>>>31;o=o<<1|i>>>31}m=l;l=i<<1|h>>>31;h=h<<1;i=l;n=n-1|0;if((r|0)<(n|0)){continue}break}n=r}l=o;r=l-p|0;k=m-((l>>>0

>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=k-(l>>>0>r>>>0)|0;p=r-l|0;e:{if((k|0)<0){p=o;k=m;break e}o=h;h=h-f|0;i=i-((f>>>0>o>>>0)+g|0)|0;if(h|p|(i|k)){break e}tk(j+48|0,b,c,d,e,0,0,0,0);d=q[j+56>>2];e=q[j+60>>2];h=q[j+48>>2];i=q[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;n=n-1|0;m=i<<1|h>>>31;h=h<<1;i=m;c=b;b=p;k=k<<1|b>>>31;p=c|b<<1;if(k>>>0<65536){continue}break}}b=s&32768;if((n|0)<=0){tk(j- -64|0,h,i,p,k&65535|(b|n+120)<<16,0,0,0,1065811968);d=q[j+72>>2];e=q[j+76>>2];h=q[j+64>>2];i=q[j+68>>2];break a}d=p;e=k&65535|(b|n)<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=d;q[a+12>>2]=e;fi=j+128|0}function rka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;d=q[a+4>>2];b=q[d+20>>2];a:{b:{c:{d:{e:{f:{e=q[q[a+24>>2]>>2];if(e>>>0>2]-b>>3>>>0){b=q[b+(e<<3)>>2];c=q[d+4>>2];if(b>>>0>=q[d+8>>2]-c>>2>>>0){break a}c=q[c+(b<<2)>>2];b=q[a+16>>2];e=q[a+20>>2];if((b|0)==q[73656]&(e|0)==q[73657]){b=c+156|0;e=q[b>>2];g=e;if(!e){g=q[q[c+152>>2]+4>>2]}a=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73618],q[73619],b);h=r[c+206|0];o[c+206|0]=(a?h&4:4)|h&251;if(a){break b}a=q[b>>2];b=a;b=b?b:q[q[c+152>>2]+4>>2];if(!(e?(a|0)==(g|0):0)){q[f+8>>2]=0;if(!FJ(a,f+12|0,c+200|0,f+8|0)){break f}a=q[c+196>>2];if(a){ji[q[74913]](a)}p[c+204>>1]=q[f+8>>2];q[c+196>>2]=q[f+12>>2]}a=0;e=q[c+192>>2];if(!e){e=q[q[c+152>>2]+8>>2]}if(q[e+104>>2]!=1){break b}e=d;if(q[c+196>>2]){h=s[c+204>>1]}else{h=q[q[c+152>>2]+124>>2]}xJ(e,b,h);eA(d,q[g+8>>2],q[g+12>>2]);break b}g:{if((b|0)!=q[73634]|(e|0)!=q[73635]){d=0;if(q[73636]!=(b|0)|q[73637]!=(e|0)){break g}break c}e=c+192|0;b=q[e>>2];if(!b){b=q[q[c+152>>2]+8>>2]}g=q[b+104>>2];a=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73616],q[73617],e);b=r[c+206|0];o[c+206|0]=(a?b&4:4)|b&251;h=(g|0)==1;b=q[e>>2];if(!b){b=q[q[c+152>>2]+8>>2]}if(a|q[b+104>>2]!=1^h|(g|0)!=1){break b}b=d;d=q[c+156>>2];if(!d){d=q[q[c+152>>2]+4>>2]}eA(b,q[d+8>>2],q[d+12>>2]);break b}d=1;if(q[73638]==(b|0)&q[73639]==(e|0)){break c}d=2;if(q[73640]==(b|0)&q[73641]==(e|0)){break c}d=3;if(q[73642]==(b|0)&q[73643]==(e|0)){break c}d=4;if(q[73644]==(b|0)&q[73645]==(e|0)){break c}d=5;if(q[73646]==(b|0)&q[73647]==(e|0)){break c}d=6;if(q[73648]==(b|0)&q[73649]==(e|0)){break c}d=7;if(q[73650]==(b|0)&q[73651]==(e|0)){break c}d=q[c+192>>2];if(!d){break e}break d}break a}mi(4,44487,44590,0);a=-8;break b}d=q[q[c+152>>2]+8>>2]}a=Xo(d,b,e,a+32|0,q[a+72>>2],432,c);d=r[c+206|0];o[c+206|0]=(a?d&4:4)|d&251;break b}a=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73622],q[73623],(c+(d<<2)|0)+160|0);d=r[c+206|0];o[c+206|0]=(a?d&4:4)|d&251}fi=f+16|0;return a|0}J(45837,45268,447,45848);G()}function Sj(a,b,c){var d=0,e=0,f=0,g=0,h=0;q[a+12>>2]=q[a+12>>2]+c;a:{if(!c){break a}d=b;e=c;while(1){f=q[a+8>>2];if(!(f?0:(e|0)>=4)){g=r[d|0];h=f+1|0;q[a+8>>2]=h;f=q[a+4>>2]|g<<(f<<3);q[a+4>>2]=f;e=e-1|0;if((h|0)==4){q[a+4>>2]=0;q[a+8>>2]=0;f=w(f,1540483477);q[a>>2]=w(q[a>>2],1540483477)^w(f>>>24^f,1540483477)}d=d+1|0;if(e){continue}break a}break}g=q[a>>2];while(1){f=w(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24),1540483477);g=w(f>>>24^f,1540483477)^w(g,1540483477);q[a>>2]=g;d=d+4|0;h=(e|0)>7;f=e-4|0;e=f;if(h){continue}break}if(!f){break a}while(1){e=q[a+8>>2];if(e?0:(f|0)>=4){break a}g=r[d|0];h=e+1|0;q[a+8>>2]=h;e=q[a+4>>2]|g<<(e<<3);q[a+4>>2]=e;f=f-1|0;if((h|0)==4){q[a+4>>2]=0;q[a+8>>2]=0;e=w(e,1540483477);q[a>>2]=w(q[a>>2],1540483477)^w(e>>>24^e,1540483477)}d=d+1|0;if(f){continue}break}}b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;d=zj();o[851668]=0;q[212916]=d;ti(851768)}c:{d:{if(!(!r[851668]|!q[a+16>>2]|t[a+12>>2]>1024)){e:{if(o[851768]&1){break e}if(!ui(851768)){break e}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;d=zj();o[851668]=0;q[212916]=d;ti(851768)}a=q[a+16>>2];if(!a){break d}d=q[212934];if(a>>>0>=q[212935]-d>>3>>>0){break c}a=d+(a<<3)|0;d=s[a+4>>1]+c|0;e=Pl(q[a>>2],d+32&-16);q[a>>2]=e;si(e+s[a+4>>1]|0,b,c);o[d+e|0]=0;p[a+4>>1]=d}return}J(150449,150161,150,150488);G()}J(150666,150264,447,150677);G()}function gt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:while(1){j=b-8|0;b:while(1){e=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{d=b-e|0;a=d>>3;switch(a|0){case 4:break j;case 2:break k;case 0:case 1:break d;case 3:break g;case 5:break i;default:break h}}d=b-8|0;c=q[d>>2];b=q[d+4>>2];a=q[e+4>>2];if((b|0)==(a|0)&t[e>>2]<=c>>>0|a>>>0>>0){break d}Cl(e,d);return}dw(e,e+8|0,e+16|0,b-8|0);return}$v(e,e+8|0,e+16|0,e+24|0,b-8|0);return}if((d|0)<=247){wN(e,b);return}g=((a|0)/2<<3)+e|0;l:{if((d|0)>=7993){a=(a|0)/4<<3;h=$v(e,a+e|0,g,a+g|0,j);break l}h=Zp(e,g,j)}a=j;f=q[e+4>>2];d=q[g+4>>2];if((f|0)==(d|0)&t[e>>2]>=t[g>>2]|d>>>0>>0){while(1){a=a-8|0;if((e|0)==(a|0)){f=e+8|0;d=q[e+4>>2];a=q[j+4>>2];if((d|0)==(a|0)&t[e>>2]>2]|a>>>0>d>>>0){break e}while(1){if((f|0)==(j|0)){break d}d=q[e+4>>2];a=q[f+4>>2];if((d|0)==(a|0)&t[e>>2]>2]|a>>>0>d>>>0){Cl(f,j);f=f+8|0;break e}else{f=f+8|0;continue}}}f=q[a+4>>2];d=q[g+4>>2];if((f|0)==(d|0)&t[a>>2]>=t[g>>2]|d>>>0>>0){continue}break}Cl(e,a);h=h+1|0}d=e+8|0;if(d>>>0>=a>>>0){break f}while(1){f=d;d=d+8|0;k=q[f+4>>2];i=q[g+4>>2];if((k|0)==(i|0)&t[f>>2]>2]|i>>>0>k>>>0){continue}while(1){a=a-8|0;k=q[a+4>>2];i=q[g+4>>2];if((k|0)==(i|0)&t[g>>2]<=t[a>>2]|i>>>0>>0){continue}break}if(a>>>0>>0){d=f;break f}else{Cl(f,a);g=(f|0)==(g|0)?a:g;h=h+1|0;continue}}}Zp(e,e+8|0,b-8|0);break d}m:{if((d|0)==(g|0)){break m}f=q[g+4>>2];a=q[d+4>>2];if((f|0)==(a|0)&t[g>>2]>=t[d>>2]|a>>>0>>0){break m}Cl(d,g);h=h+1|0}if(!h){f=HL(e,d);a=d+8|0;if(HL(a,b)){b=d;a=e;if(!f){continue a}break d}if(f){continue b}}if((d-e|0)<(b-d|0)){gt(e,d,c);a=d+8|0;continue b}gt(d+8|0,b,c);b=d;a=e;continue a}a=j;if((f|0)==(a|0)){break d}while(1){d=f;f=d+8|0;i=q[e+4>>2];h=q[d+4>>2];if((i|0)==(h|0)&t[e>>2]>=t[d>>2]|h>>>0>>0){continue}while(1){a=a-8|0;k=q[a>>2];i=q[e+4>>2];h=q[a+4>>2];if((i|0)==(h|0)&k>>>0>t[e>>2]|h>>>0>i>>>0){continue}break}if(a>>>0<=d>>>0){e=d;continue c}else{Cl(d,a);continue}}}break}break}break}}function m5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=fi-432|0;fi=c;q[a+1844>>2]=-1;q[a+1800>>2]=0;q[a+1792>>2]=0;e=a+1780|0;q[e>>2]=0;q[a+1796>>2]=w(b,6);d=a+1836|0;q[d>>2]=0;q[d+4>>2]=0;a:{b:{d=e;e=w(b,672);d=Lp(d,16,e);c:{if(d){q[c+4>>2]=d;q[c>>2]=e;mi(4,101221,101266,c);break c}si(c+288|0,254688,140);q[a+1784>>2]=ji[q[74911]](q[a+2208>>2],c+288|0,7,112);q[a+1776>>2]=ji[q[74895]](q[a+2208>>2],e,0,0);if(o[a+1772|0]&1){break b}f=a+1768|0;e=a+1764|0;vi(128,4,a+1760|0,f,e);if(o[a+1756|0]&1){break b}g=a+1744|0;h=a+1752|0;i=a+1748|0;vi(128,272,g,h,i);q[a+1788>>2]=0;if(o[a+1816|0]&1){break b}vi(b,1,a+1804|0,a+1812|0,a+1808|0);if(o[a+1832|0]&1){break b}vi(b>>>3|0,256,a+1820|0,a+1828|0,a+1824|0);if(q[a+1752>>2]==q[a+1744>>2]){break c}j=c+160|0;d=0;while(1){Mm(c+16|0);q[c+216>>2]=6;q[c+220>>2]=7;o[c+272|0]=r[c+272|0]|1;q[c+160>>2]=q[a+1776>>2];b=q[a+1784>>2];q[c+208>>2]=1;q[c+164>>2]=b;b=q[a+1748>>2];if((b|0)==q[a+1752>>2]){break a}q[i>>2]=b+272;q[b>>2]=q[c+16>>2];u[b+16>>2]=u[c+32>>2];u[b+20>>2]=u[c+36>>2];u[b+24>>2]=u[c+40>>2];u[b+28>>2]=u[c+44>>2];u[b+32>>2]=u[c+48>>2];u[b+36>>2]=u[c+52>>2];u[b+40>>2]=u[c+56>>2];u[b+44>>2]=u[c+60>>2];u[b+48>>2]=u[c+64>>2];u[b+52>>2]=u[c+68>>2];u[b+56>>2]=u[c+72>>2];u[b+60>>2]=u[c+76>>2];u[b- -64>>2]=u[c+80>>2];u[b+68>>2]=u[c+84>>2];u[b+72>>2]=u[c+88>>2];u[b+76>>2]=u[c+92>>2];u[b+80>>2]=u[c+96>>2];u[b+84>>2]=u[c+100>>2];u[b+88>>2]=u[c+104>>2];u[b+92>>2]=u[c+108>>2];u[b+96>>2]=u[c+112>>2];u[b+100>>2]=u[c+116>>2];u[b+104>>2]=u[c+120>>2];u[b+108>>2]=u[c+124>>2];u[b+112>>2]=u[c+128>>2];u[b+116>>2]=u[c+132>>2];u[b+120>>2]=u[c+136>>2];u[b+124>>2]=u[c+140>>2];u[b+128>>2]=u[c+144>>2];u[b+132>>2]=u[c+148>>2];u[b+136>>2]=u[c+152>>2];u[b+140>>2]=u[c+156>>2];si(b+144|0,j,113);k=vu();b=q[e>>2];if((b|0)==q[f>>2]){break a}q[e>>2]=b+4;q[b>>2]=k;d=d+1|0;if(d>>>0<(q[h>>2]-q[g>>2]|0)/272>>>0){continue}break}}fi=c+432|0;return}J(102487,101904,461,102318);G()}J(102562,101904,501,102586);G()}function dja(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;b=fi-160|0;fi=b;h=Ti(b+136|0,a,0,61062,590);a:{if((ri(a,1)|0)==7){c=yi(a,1,q[74122],0);b:{if(q[c+4>>2]==2){e=q[c>>2]+4|0;break b}e=c}if(xm(q[e>>2])){break a}ni(a,61165,0)}hk(a,1,60842);c=0}c:{if((ri(a,3)|0)==7){d=yi(a,3,q[74122],0);d:{if(q[d+4>>2]==2){e=q[d>>2]+4|0;break d}e=d}if(xm(q[e>>2])){break c}ni(a,61165,0)}hk(a,3,60842);d=0}if(q[c+4>>2]==2){c=q[c>>2]+4|0}o=q[c>>2];if(q[d+4>>2]==2){d=q[d>>2]+4|0}l=q[d>>2];m=gj(a,2);p=gj(a,4);i=gj(a,5);e:{if((i|0)<=0){q[b>>2]=i;c=uj(h,62558,b);break e}Zq(o,b+132|0);Zq(l,b+128|0);a=q[b+132>>2];if((a|0)<(i+m|0)){q[b+24>>2]=i;q[b+20>>2]=m;q[b+16>>2]=a;c=uj(h,62587,b+16|0);break e}if(q[b+128>>2]<(i+p|0)){q[b+40>>2]=i;q[b+36>>2]=m;q[b+32>>2]=a;c=uj(h,62684,b+32|0);break e}oL(l,b+124|0);a=q[b+124>>2];j=b-w(a,96)|0;fi=j;c=0;if(!a){break e}while(1){k=c<<1;d=w(k|1,48)+j|0;nL(l,c,d+8|0);e=q[d+12>>2];a=e;f=w(c,96)+j|0;n=f+36|0;g=q[d+8>>2];f=Rs(o,g,a,f+16|0,f+28|0,n,f+32|0);if(f){if((f|0)==6){q[b+64>>2]=Ei(g,a);c=uj(h,62780,b- -64|0);break e}a=b;if(f>>>0<=8){e=q[(f<<2)+266896>>2]}else{e=138552}q[a+48>>2]=e;c=uj(h,62843,b+48|0);break e}f=d+36|0;Rs(l,g,a,d+16|0,d+28|0,f,d+32|0);k=w(k,48)+j|0;e=k;Ss(o,g,a,k+40|0,n);Ss(l,g,a,d+40|0,f);if(q[k+40>>2]!=q[d+40>>2]){i=Ei(g,a);a=q[e+40>>2];f:{if(a>>>0<=8){a=q[(a<<2)+266932>>2];break f}a=138736}e=b;d=q[d+40>>2];g:{if(d>>>0<=8){c=q[(d<<2)+266932>>2];break g}c=138736}q[e+120>>2]=c;q[b+116>>2]=a;q[b+112>>2]=i;c=uj(h,62905,b+112|0);break e}if(q[n>>2]!=q[f>>2]){a=Ei(g,a);c=q[n>>2];q[b+104>>2]=q[f>>2];q[b+100>>2]=c;q[b+96>>2]=a;c=uj(h,62975,b+96|0);break e}c=c+1|0;a=q[b+124>>2];if(c>>>0>>0){continue}break}c=0;if(!a){break e}a=0;while(1){g=w(a,96)+j|0;d=q[g+36>>2];e=g;g=a<<1;if(BJ(e,w(d,m),w(g|1,48)+j|0,w(d,p),w(d,i))){a=a+1|0;if(a>>>0>2]){continue}break e}break}q[b+80>>2]=q[(w(g,48)+j|0)+40>>2];c=uj(h,62528,b+80|0)}Si(h);fi=b+160|0;return c|0}function KO(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,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;z=fi-256|0;fi=z;f=z;while(1){a:{b:{e=s[c+32>>1];d=p[c+16>>1];if((e|d)&65535){break b}e=0;if(s[c+48>>1]|s[c+64>>1]|(s[c+80>>1]|s[c+96>>1])){break b}if(s[c+112>>1]){break b}d=p[c>>1]<<2;q[f+192>>2]=d;q[f+224>>2]=d;q[f+160>>2]=d;q[f+128>>2]=d;q[f+96>>2]=d;q[f+64>>2]=d;q[f+32>>2]=d;q[f>>2]=d;break a}j=p[c+96>>1];k=e<<16>>16;e=w(j+k|0,2217);i=p[c+80>>1];g=i+d|0;l=w(g,-1597);h=g;g=p[c+48>>1];u=p[c+112>>1];m=g+u|0;h=w(h+m|0,4816);k=e+w(k,3135)|0;n=p[c+64>>1];r=p[c>>1];x=n+r<<12;t=(k+x|0)+512|0;v=l+w(d,6149)|0;d=h+w(d+u|0,-3685)|0;v=v+d|0;q[f+224>>2]=t-v>>10;q[f>>2]=t+v>>10;e=e+w(j,-7567)|0;j=r-n<<12;n=(e+j|0)+512|0;m=w(m,-8034);r=m+w(g,12586)|0;g=h+w(g+i|0,-10497)|0;h=r+g|0;q[f+192>>2]=n-h>>10;q[f+32>>2]=h+n>>10;e=(j-e|0)+512|0;i=g+(l+w(i,8410)|0)|0;q[f+160>>2]=e-i>>10;q[f+64>>2]=e+i>>10;e=(x-k|0)+512|0;d=d+(m+w(u,1223)|0)|0;q[f+128>>2]=e-d>>10;q[f+96>>2]=d+e>>10}f=f+4|0;c=c+2|0;y=y+1|0;if((y|0)!=8){continue}break}f=0;c=z;while(1){j=q[c+24>>2];k=q[c+8>>2];d=w(j+k|0,2217);e=q[c+4>>2];i=q[c+20>>2];g=e+i|0;l=w(g,-1597);h=g;g=q[c+12>>2];u=q[c+28>>2];m=g+u|0;h=w(h+m|0,4816);k=d+w(k,3135)|0;n=q[c+16>>2];r=q[c>>2];x=n+r<<12;t=(k+x|0)+16842752|0;v=h+w(e+u|0,-3685)|0;y=v+(l+w(e,6149)|0)|0;A=t-y|0;e=A>>17;o[a+7|0]=e>>>0>255?A>>31^-1:e;t=t+y|0;e=t>>17;o[a|0]=e>>>0>255?t>>31^-1:e;e=d+w(j,-7567)|0;j=r-n<<12;n=(e+j|0)+16842752|0;m=w(m,-8034);d=m+w(g,12586)|0;g=h+w(g+i|0,-10497)|0;h=d+g|0;r=n-h|0;d=r>>17;o[a+6|0]=d>>>0>255?r>>31^-1:d;h=h+n|0;d=h>>17;o[a+1|0]=d>>>0>255?h>>31^-1:d;e=(j-e|0)+16842752|0;i=g+(l+w(i,8410)|0)|0;l=e-i|0;d=l>>17;o[a+5|0]=d>>>0>255?l>>31^-1:d;e=e+i|0;d=e>>17;o[a+2|0]=d>>>0>255?e>>31^-1:d;e=(x-k|0)+16842752|0;i=v+(m+w(u,1223)|0)|0;l=e-i|0;d=l>>17;o[a+4|0]=d>>>0>255?l>>31^-1:d;e=e+i|0;d=e>>17;o[a+3|0]=d>>>0>255?e>>31^-1:d;a=a+b|0;c=c+32|0;f=f+1|0;if((f|0)!=8){continue}break}fi=z+256|0}function Bsa(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,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=fi-112|0;fi=e;a:{if(!c|!d){break a}if((mwa(c<<2)|0)!=1){break a}if((mwa(d<<2)|0)!=1){break a}l=e+92|0;m=e+88|0;n=e+84|0;p=e+80|0;r=e+76|0;s=e+72|0;t=e+68|0;u=e- -64|0;v=e+60|0;x=e+56|0;y=e+52|0;z=e+48|0;A=e+32|12;B=e+32|8;C=e+32|4;j=NL(e+96|0,w(c,d));b:{while(1){E=w(c,k);f=1;i=0;c:{d:{while(1){D=i+E|0;h=e+32|0;if(!Sp((D<<4)+a|0,h)){break d}f=e+24|0;o[f+3|0]=255;o[f+2|0]=255;o[f+1|0]=255;o[f|0]=255;g=e+16|0;o[g+3|0]=0;o[g+2|0]=0;o[g+1|0]=0;o[g|0]=0;xk(e+8|0,f,h);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,h);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,C);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,C);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,B);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,B);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,A);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,A);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,z);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,z);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,y);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,y);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,x);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,x);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,v);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,v);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,u);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,u);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,t);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,t);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,s);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,s);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,r);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,r);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,p);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,p);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,n);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,n);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,m);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,m);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,l);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,l);q[e+16>>2]=q[e+8>>2];h=e+8|0;q[h>>2]=0;q[h+4>>2]=0;Psa(h,f);Qsa(h,g);f=q[e+12>>2];q[ll(j,D)>>2]=f;i=i+1|0;f=i>>>0>>0;if((c|0)!=(i|0)){continue}break}break c}if(f){break b}}k=k+1|0;if((k|0)!=(d|0)){continue}break}_sa(a,ll(j,0),b,c,d)}Rp(j)}fi=e+112|0}function xA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fi-48|0;fi=e;q[e+8>>2]=q[a+4>>2];q[e+12>>2]=q[a+12>>2];b=q[a+20>>2];q[e+20>>2]=0;q[e+24>>2]=0;q[e+16>>2]=b;q[e+28>>2]=q[a+28>>2];q[e+32>>2]=q[a+36>>2];q[e+36>>2]=q[a+44>>2];q[e+40>>2]=q[a+52>>2];a:{b:{c:{d:{if(b){c=q[a+16>>2];d=q[a+72>>2];while(1){if((b|0)==(f|0)){break d}g=(Fi(q[(q[(c+(f<<5)|0)+16>>2]<<2)+d>>2])+g|0)+1|0;q[e+20>>2]=g;f=f+1|0;if((b|0)!=(f|0)){continue}break}}f=qv(e+8|0);if(q[a+4>>2]){b=0;while(1){c=q[a>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}_o(f,q[c+8>>2],q[c+12>>2],0,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+28>>2]){b=0;while(1){c=q[a+24>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}_o(f,q[c+8>>2],q[c+12>>2],3,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+36>>2]){b=0;while(1){c=q[a+32>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}_o(f,q[c+8>>2],q[c+12>>2],4,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+44>>2]){b=0;while(1){c=q[a+40>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}_o(f,q[c+8>>2],q[c+12>>2],5,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+52>>2]){b=0;while(1){c=q[a+48>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}eK(f,q[c+8>>2],q[c+12>>2],u[q[a+56>>2]+(d<<2)>>2]!=x(0));b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+12>>2]){b=0;while(1){c=q[a+8>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+68>>2]){break c}g=q[c+8>>2];h=q[c+12>>2];c=q[a+64>>2]+(d<<3)|0;cK(f,g,h,q[c>>2],q[c+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+20>>2]){b=0;while(1){c=q[a+16>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+76>>2]){break b}Hna(f,q[c+8>>2],q[c+12>>2],q[q[a+72>>2]+(d<<2)>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}a=wA(f);fi=e+48|0;return a}J(14309,14321,69,14363);G()}J(14309,14321,117,14363);G()}J(14309,14321,125,14363);G()}J(14309,14321,109,14363);G()}function xha(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;d=fi-32|0;fi=d;b=q[a+4>>2];a:{b:{c:{d:{e:{f:{switch(q[a+8>>2]){case 0:q[b+52>>2]=q[b+44>>2];q[b+24>>2]=q[b+20>>2];break e;case 2:ji[q[74897]](q[b+40>>2],0,0,2);a=q[b+44>>2];ji[q[74897]](q[b+40>>2],q[b+52>>2]-a|0,a,2);g:{if(o[296052]&1){break g}if(!ui(296052)){break g}if(r[852367]){a=Ek(54002)}else{a=-1}q[74012]=a;ti(296052)}a=q[74012];if((a|0)!=-1){Fk(a,q[b+52>>2]-q[b+44>>2]|0)}h:{if(o[296060]&1){break h}if(!ui(296060)){break h}if(r[852367]){a=Ek(54023)}else{a=-1}q[74014]=a;ti(296060)}a=q[74014];if((a|0)==-1){break e}Fk(a,(q[b+52>>2]-q[b+44>>2]|0)/20|0);break e;case 1:break f;default:break e}}k=q[a+20>>2];f=q[a+16>>2];h=q[a+12>>2];l=q[a>>2];i:{if(o[296068]&1){break i}if(!ui(296068)){break i}if(r[852367]){a=Ri(53073)}else{a=-1}q[74016]=a;ti(296068)}j:{if(o[296076]&1){break j}if(!ui(296076)){break j}if(r[852367]){a=Yi(54041,11)}else{a=0}q[74018]=a;ti(296076)}a=q[74016];k:{if((a|0)!=-1){Qi(d+16|0,a,54041,q[74018]);break k}q[d+16>>2]=0}c=s[(w(q[f>>2],48)+h|0)+32>>1];a=q[b+4>>2];if(c>>>0>=q[b+8>>2]-a>>2>>>0){break d}c=q[a+(c<<2)>>2];if(!(o[c+166|0]&1)){break c}i=q[c+156>>2];g=q[c+152>>2];if(!g){g=q[i>>2]}a=q[b+24>>2];e=q[b+20>>2];j=((a-e|0)/272|0)+1|0;if(j>>>0>(q[b+28>>2]-e|0)/272>>>0){break b}q[b+24>>2]=e+w(j,272);e=q[b+52>>2];q[b+52>>2]=$ia(b,e,g,h,f,k);Mm(a);q[a+148>>2]=q[b+36>>2];f=q[b+40>>2];q[a+192>>2]=1;q[a+144>>2]=f;q[a+248>>2]=(e-q[b+44>>2]|0)/20;q[a+252>>2]=(q[b+52>>2]-e|0)/20;f=a;b=q[c+148>>2];if(!b){b=q[q[c+156>>2]+24>>2]}q[f+156>>2]=b;q[a+160>>2]=q[g+48>>2];b=q[c+144>>2];if(b){Tq(a,b)}b=q[q[i+4>>2]+16>>2];if(b>>>0>=5){break a}o[a+256|0]=r[a+256|0]|1;b=b<<2;q[a+204>>2]=q[b+54396>>2];q[a+200>>2]=q[b+54376>>2];Sn(l,a);if(!q[d+16>>2]){break e}Pi(d+16|0)}fi=d+32|0;return}J(53991,53817,447,53980);G()}J(54053,53009,624,54041);G()}J(53908,53817,474,53927);G()}q[d>>2]=b;mi(4,52865,54070,d);J(54094,53009,675,54041);G()}function Wsa(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=fi-16|0;fi=g;a:{b:{c:{d:{e:{f:{if(c>>>0<19){e=r[b+20|0];o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;f=q[(c<<2)+91376>>2];o[a|0]=f;o[a+1|0]=f>>>8;q[g+12>>2]=11;f=q[b>>2];if(!(1497965>>>f&1)|!(1797559>>>f&1)){break f}$s(a,g+12|0,q[b+4>>2]-1|0,2);d=w(f,12)+88256|0;g:{if(q[b+4>>2]==1){$s(a,g+12|0,q[b+12>>2],4);break g}gp(a,g+12|0,q[b+8>>2],10);$s(a,g+12|0,q[b+12>>2]<<2&60,6)}f=e?32:16;e=q[d>>2];if(r[b+20|0]){d=w(e,f);if(d-24>>>0>=73){break e}q[g+8>>2]=126-d;$s(a,g+8|0,q[b+16>>2],2)}d=w(q[b+4>>2],(q[b+12>>2]>>2)+1|0);if((d|0)>=10){break d}Rta(a,b+21|0,q[g+12>>2],d<<1,r[c+88128|0]);c=0;h:{i:{switch(e-1|0){case 1:while(1){e=126-(c<<1)|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[r[(b+c|0)+39|0]+91633|0]<<(e&6);c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 2:while(1){if((c|0)==42){break c}d=w(c,-3)+125|0;e=(d>>>3|0)+a|0;h=r[r[(b+c|0)+39|0]+91637|0]<<(d&7);o[e|0]=h|r[e|0];if(d>>>0<=119){o[e+1|0]=r[e+1|0]|h>>>8}c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 3:while(1){if((c|0)==32){break b}e=124-(c<<2)|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[r[(b+c|0)+39|0]+91664|0]<<(e&4);c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 4:while(1){if((c|0)==25){break a}d=w(c,-5)+123|0;e=(d>>>3|0)+a|0;h=r[r[(b+c|0)+39|0]+91712|0]<<(d&7);o[e|0]=h|r[e|0];if(d>>>0<=119){o[e+1|0]=r[e+1|0]|h>>>8}c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;default:J(85745,85651,12178,91355);G();case 0:break i}}while(1){e=127-c|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[(b+c|0)+39|0]<<(e&7);c=c+1|0;if((f|0)!=(c|0)){continue}break}}fi=g+16|0;return}J(91324,85651,12053,91355);G()}J(91452,85651,12068,91355);G()}J(91559,85651,12091,91355);G()}J(91614,85651,12098,91355);G()}J(91645,85651,12139,91355);G()}J(91680,85651,12153,91355);G()}J(91645,85651,12169,91355);G()}function Nt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=fi-48|0;fi=e;d=q[a+8>>2];f=Bj(a,126752,0);q[d+8>>2]=4;q[d>>2]=f;f=a;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;q[f+8>>2]=d;g=Nj(b,37);a:{if(!g){f=1;break a}f=1;while(1){b=Bj(a,b,g-b|0);q[d+8>>2]=4;q[d>>2]=b;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}q[a+8>>2]=d+16;h=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=o[g+1|0];switch(b-99|0){case 13:break f;case 3:break g;case 1:break h;case 0:break i;case 16:break j;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break d;default:break e}}b=q[c>>2];b=b?b:126753;b=Bj(a,b,Fi(b));q[d+24>>2]=4;q[d+16>>2]=b;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=q[c>>2];o[e+17|0]=0;o[e+16|0]=b;b=Bj(a,e+16|0,Fi(e+16|0));q[d+24>>2]=4;q[d+16>>2]=b;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=q[c>>2];q[d+24>>2]=3;v[d+16>>3]=b|0;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=c+7&-8;i=v[b>>3];q[d+24>>2]=3;v[d+16>>3]=i;c=b+8|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;break b}q[e>>2]=q[c>>2];Sm(e+16|0,126760,e);b=q[a+8>>2];d=Bj(a,e+16|0,Fi(e+16|0));q[b+8>>2]=4;q[b>>2]=d;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){pk(a,1);d=q[a+8>>2]}d=d+16|0;break b}if((b|0)==37){break c}}o[e+18|0]=0;o[e+17|0]=b;o[e+16|0]=37;b=Bj(a,e+16|0,Fi(e+16|0));q[d+24>>2]=4;q[d+16>>2]=b;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){pk(a,1);b=q[a+8>>2]}d=b+16|0;break b}b=Bj(a,126763,1);q[d+24>>2]=4;q[d+16>>2]=b;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){pk(a,1);b=q[a+8>>2]}d=b+16|0}q[h+8>>2]=d;f=f+2|0;b=g+2|0;g=Nj(b,37);if(g){continue}break}}b=Bj(a,b,Fi(b));q[d+8>>2]=4;q[d>>2]=b;c=a;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){pk(a,1);b=q[a+8>>2]}b=b+16|0;q[c+8>>2]=b;px(a,f+1|0,(b-q[a+12>>2]>>4)-1|0);b=a;a=q[a+8>>2]-(f<<4)|0;q[b+8>>2]=a;fi=e+48|0;return q[a-16>>2]+16|0}function Asa(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,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=fi-112|0;fi=e;a:{if(!c|!d){break a}if((mwa(c<<2)|0)!=1){break a}if((mwa(d<<2)|0)!=1){break a}l=e+92|0;m=e+88|0;n=e+84|0;p=e+80|0;r=e+76|0;s=e+72|0;t=e+68|0;u=e- -64|0;v=e+60|0;x=e+56|0;y=e+52|0;z=e+48|0;A=e+32|12;B=e+32|8;C=e+32|4;j=NL(e+96|0,w(c,d));b:{while(1){E=w(c,k);f=1;i=0;c:{while(1){D=i+E|0;h=e+32|0;if(Sp((D<<4)+a|0,h)){f=e+24|0;o[f+3|0]=255;o[f+2|0]=255;o[f+1|0]=255;o[f|0]=255;g=e+16|0;o[g+3|0]=0;o[g+2|0]=0;o[g+1|0]=0;o[g|0]=0;xk(e+8|0,f,h);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,h);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,C);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,C);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,B);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,B);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,A);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,A);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,z);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,z);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,y);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,y);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,x);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,x);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,v);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,v);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,u);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,u);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,t);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,t);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,s);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,s);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,r);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,r);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,p);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,p);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,n);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,n);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,m);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,m);q[e+16>>2]=q[e+8>>2];xk(e+8|0,f,l);q[e+24>>2]=q[e+8>>2];yk(e+8|0,g,l);q[e+16>>2]=q[e+8>>2];h=e+8|0;q[h>>2]=0;q[h+4>>2]=0;Rsa(h,f);Ssa(h,g);f=q[e+12>>2];q[ll(j,D)>>2]=f;i=i+1|0;f=i>>>0>>0;if((c|0)!=(i|0)){continue}break c}break}if(f){break b}}k=k+1|0;if((k|0)!=(d|0)){continue}break}Zsa(a,ll(j,0),b,c,d)}Rp(j)}fi=e+112|0}function Cka(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=0,n=x(0),p=x(0),t=x(0),v=x(0),w=x(0),y=x(0);c=fi-80|0;fi=c;g=q[a+64>>2];e=g+4|0;a:{d=q[g+12>>2];b:{if((d|0)==q[g+8>>2]){q[c>>2]=d-q[e>>2]>>2;mi(4,44487,44495,c);a=-1e3;break b}m=v6(e);b=qi(Ci(208),0,208);d=q[g+20>>2];if(m>>>0>=q[g+24>>2]-d>>3>>>0){break a}d=q[d+(m<<3)>>2];e=q[g+4>>2];if(d>>>0>=q[g+8>>2]-e>>2>>>0){break a}q[e+(d<<2)>>2]=b;j=q[a>>2];q[b>>2]=j;k=u[a+36>>2];n=u[a+44>>2];p=u[a+40>>2];f=u[a+24>>2];i=u[a+32>>2];e=q[a+20>>2];d=q[a+16>>2];q[b+28>>2]=0;q[b+44>>2]=0;q[b+60>>2]=0;q[b+64>>2]=d;q[b+68>>2]=e;q[b+76>>2]=1065353216;u[b+72>>2]=f;t=x(k+k);h=x(i*t);l=x(p+p);f=x(n*l);u[b+20>>2]=h+f;v=x(i*l);w=x(t*n);u[b+24>>2]=v-w;u[b+32>>2]=h-f;y=x(k*l);h=x(i+i);f=x(n*h);u[b+40>>2]=y+f;u[b+48>>2]=v+w;u[b+52>>2]=y-f;f=x(x(1)-x(i*h));h=x(p*l);u[b+36>>2]=f-h;i=f;f=x(k*t);u[b+56>>2]=i-f;u[b+16>>2]=x(x(1)-f)-h;q[b+152>>2]=q[a+60>>2];q[b+80>>2]=1065353216;q[b+84>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=1065353216;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=1065353216;q[b+124>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;q[b+140>>2]=1065353216;o[b+206|0]=r[b+206|0]|1;d=b+16|0;j=cp(j);c:{if((q[q[b>>2]+136>>2]&512)>>>9|0){Dk(c+16|0,j,d);break c}On(c+16|0,j,d)}u[b+80>>2]=u[c+16>>2];u[b+84>>2]=u[c+20>>2];u[b+88>>2]=u[c+24>>2];u[b+92>>2]=u[c+28>>2];u[b+96>>2]=u[c+32>>2];u[b+100>>2]=u[c+36>>2];u[b+104>>2]=u[c+40>>2];u[b+108>>2]=u[c+44>>2];u[b+112>>2]=u[c+48>>2];u[b+116>>2]=u[c+52>>2];u[b+120>>2]=u[c+56>>2];u[b+124>>2]=u[c+60>>2];u[b+128>>2]=u[c+64>>2];u[b+132>>2]=u[c+68>>2];u[b+136>>2]=u[c+72>>2];u[b+140>>2]=u[c+76>>2];d=q[b+192>>2];if(!d){d=q[q[b+152>>2]+8>>2]}if(q[d+104>>2]==1){e=q[b+152>>2];d=q[b+156>>2];if(!d){d=q[e+4>>2]}if(q[b+196>>2]){e=s[b+204>>1]}else{e=q[e+124>>2]}xJ(g,d,e)}oJ(b);q[q[a+72>>2]>>2]=m;a=0}fi=c+80|0;return a|0}J(45837,45268,447,45848);G()}function Mq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=fi-96|0;fi=e;a:{b:{c:{d:{if((b|0)==(c|0)){f=-8;break d}i=b&65535;g=q[a+32>>2];l=(q[a+36>>2]-g|0)/576|0;if(i>>>0>=l>>>0){break c}if(s[(w(i,576)+g|0)+552>>1]!=(b>>>16|0)){break b}k=65535;h=w(i,576)+g|0;m=s[h+554>>1];if((m|0)!=(b&65535)){break a}e:{if(!c){break e}b=c&65535;if(b>>>0>=l>>>0){break c}j=w(b,576)+g|0;if(s[j+552>>1]!=(c>>>16|0)){break b}k=s[j+554>>1];if((k|0)!=(c&65535)){break a}j=w(b,576)+g|0;b=s[j+560>>1];if((b|0)==65535){break e}while(1){b=b&65535;if((b|0)==(m|0)){f=-8;break d}if(b>>>0>=l>>>0){break c}b=s[(w(b,576)+g|0)+560>>1];if((b|0)!=65535){continue}break}}l=w(i,576)+g|0;if(s[l+560>>1]==(k|0)){break d}if(d){Pq(a,h,0,e);b=q[e+52>>2];c=q[e+48>>2];u[e+72>>2]=u[e+56>>2];q[e+64>>2]=c;q[e+68>>2]=b;Ez(e+80|0,a,h,j,e- -64|0);c=q[e+88>>2];d=q[e+84>>2];u[h>>2]=u[e+80>>2];b=w(i,576)+g|0;q[b+12>>2]=1065353216;q[b+4>>2]=d;q[b+8>>2]=c;q[b+412>>2]=q[b+412>>2]|2097152}Oq(a,h);c=65535;d=a+350|0;f=j+564|0;k=s[((k|0)==65535?d:f)>>1];b=0;f:{if((k|0)==65535){break f}b=q[a+32>>2];if(k>>>0>=(q[a+36>>2]-b|0)/576>>>0){break c}b=b+w(k,576)|0}if(j){c=s[j+554>>1];d=f;f=j+562|0}else{f=a+348|0}p[l+560>>1]=c;if(b){c=s[b+554>>1];g:{if((c|0)==s[d>>1]){p[d>>1]=s[h+554>>1];p[(w(i,576)+g|0)+558>>1]=65535;c=s[b+554>>1];break g}d=s[b+558>>1];if((d|0)==65535){break g}f=q[a+36>>2];a=q[a+32>>2];if(d>>>0>=(f-a|0)/576>>>0){break c}p[(a+w(d,576)|0)+556>>1]=s[h+554>>1];p[(w(i,576)+g|0)+558>>1]=d}p[b+558>>1]=s[h+554>>1];p[(w(i,576)+g|0)+556>>1]=c;f=0;break d}b=w(i,576)+g|0;p[b+556>>1]=65535;p[b+558>>1]=s[f>>1];b=s[f>>1];h:{if((b|0)==65535){b=s[h+554>>1];break h}c=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=(c-a|0)/576>>>0){break c}a=a+w(b,576)|0;b=s[h+554>>1];p[a+556>>1]=b}p[f>>1]=b;f=0;if(s[d>>1]!=65535){break d}p[d>>1]=s[h+554>>1]}fi=e+96|0;return f}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function or(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(q[a+18368>>2]>15){break a}while(1){c=0;b:{if(q[a+18376>>2]){break b}d=q[a>>2];e=q[d+172>>2];c:{if(e>>>0>2]){q[d+172>>2]=e+1;c=r[e|0];break c}if(!q[d+32>>2]){break b}e=d+40|0;c=ji[q[d+16>>2]](q[d+28>>2],e,q[d+36>>2])|0;q[d+168>>2]=q[d+168>>2]+(q[d+172>>2]-q[d+180>>2]|0);d:{if(!c){o[d+40|0]=0;q[d+32>>2]=0;e=d+41|0;c=0;break d}e=c+e|0;c=r[d+40|0]}q[d+176>>2]=e;q[d+172>>2]=d+41}if((c|0)!=255){break b}c=q[a>>2];d=q[c+172>>2];e:{if(d>>>0>2]){q[c+172>>2]=d+1;d=r[d|0];break e}if(!q[c+32>>2]){d=0;break e}e=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);f:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break f}e=d+e|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}while(1){c=255;e=d&255;if((e|0)!=255){if(!e){break b}q[a+18376>>2]=1;o[a+18372|0]=d;break a}c=q[a>>2];d=q[c+172>>2];if(d>>>0>2]){q[c+172>>2]=d+1;d=r[d|0];continue}d=0;if(!q[c+32>>2]){continue}e=c+40|0;d=ji[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);g:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break g}e=d+e|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41;continue}}d=q[a+18368>>2];q[a+18368>>2]=d+8;q[a+18364>>2]=q[a+18364>>2]|c<<24-d;if((d|0)<17){continue}break}}h:{e=q[a+18364>>2];c=r[(e>>>23|0)+b|0];i:{if((c|0)!=255){f=q[a+18368>>2];c=b+c|0;b=r[c+1280|0];d=-1;if((f|0)<(b|0)){break i}q[a+18368>>2]=f-b;q[a+18364>>2]=e<>>16|0;d=10;while(1){c=d;d=c+1|0;if(f>>>0>=t[((c<<2)+b|0)+1540>>2]){continue}break}f=q[a+18368>>2];if((c|0)==17){q[a+18368>>2]=f-16;return-1}d=-1;if((c|0)>(f|0)){break i}d=c<<2;d=(q[d+154528>>2]&e>>>32-c)+q[(b+d|0)+1612>>2]|0;g=d+b|0;h=r[g+1280|0];if((e>>>32-h&q[(h<<2)+154528>>2])!=s[((d<<1)+b|0)+512>>1]){break h}q[a+18364>>2]=e<>2]=f-c;d=r[g+1024|0]}return d}J(154596,154179,2074,154678);G()}function Y1(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0,m=x(0),n=x(0);c=fi-192|0;fi=c;b=em(a,1);a:{if((b|0)==q[210276]){break a}e=1;if((b|0)==q[210277]){break a}e=2;if((b|0)==q[210278]){break a}e=3;if((b|0)==q[210279]){break a}e=(b|0)==q[210280]?4:5}b=em(a,2);l=q[210276];b:{if((b|0)==(l|0)){break b}i=1;if((b|0)==q[210277]){break b}i=2;if((b|0)==q[210278]){break b}i=3;if((b|0)==q[210279]){break b}i=(b|0)==q[210280]?4:5}c:{if((e|0)!=(i|0)){q[c+180>>2]=122322;q[c+176>>2]=120720;a=ni(a,122594,c+176|0);break c}d:{switch(e|0){case 0:b=yi(a,1,l,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c- -64>>3]=g;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;ni(a,120787,c+48|0)}e=yi(a,2,q[210276],0);f=u[e>>2];g=u[e+4>>2];f:{if(!(f!=f|g!=g)){d=u[e+8>>2];if(d==d){break f}}d=u[e+8>>2];v[c+32>>3]=g;v[c+40>>3]=d;v[c+24>>3]=f;q[c+16>>2]=2;ni(a,120787,c+16|0);d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}h=u[b+8>>2];j=u[b>>2];k=u[b+4>>2];b=bj(a,16);u[b+8>>2]=h*d;u[b+4>>2]=k*g;u[b>>2]=j*f;zi(a,-1e4,120656);aj(a,-2);a=1;break c;case 1:b=yi(a,1,q[210277],0);f=u[b>>2];g=u[b+4>>2];g:{h:{if(f!=f|g!=g){break h}d=u[b+8>>2];if(d!=d){break h}d=u[b+12>>2];if(d==d){break g}}d=u[b+8>>2];h=u[b+12>>2];v[c+144>>3]=g;v[c+160>>3]=h;v[c+152>>3]=d;v[c+136>>3]=f;q[c+128>>2]=1;ni(a,120877,c+128|0)}e=yi(a,2,q[210277],0);f=u[e>>2];g=u[e+4>>2];i:{j:{if(f!=f|g!=g){break j}d=u[e+8>>2];if(d!=d){break j}h=u[e+12>>2];if(h==h){break i}}d=u[e+8>>2];h=u[e+12>>2];v[c+96>>3]=g;v[c+112>>3]=h;v[c+104>>3]=d;v[c+88>>3]=f;q[c+80>>2]=2;ni(a,120877,c+80|0);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=u[b+12>>2];k=u[b>>2];m=u[b+4>>2];n=u[b+8>>2];b=bj(a,16);u[b+12>>2]=j*h;u[b+8>>2]=n*d;u[b+4>>2]=m*g;u[b>>2]=k*f;zi(a,-1e4,120672);aj(a,-2);a=1;break c;default:break d}}q[c+12>>2]=120672;q[c+8>>2]=120656;q[c+4>>2]=122322;q[c>>2]=120720;a=ni(a,122558,c)}fi=c+192|0;return a|0}function AL(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,s=x(0),v=0,y=0;if(r[b+21|0]){l=q[f>>2];k=q[e>>2];v=1;a:{b:{if((h|0)>=1){m=q[b>>2];y=w(d,g);while(1){g=q[a+1412>>2];c:{if((g|0)>9){break c}if(!g){q[a+1408>>2]=0}while(1){g=r[a+1392|0];d:{e:{f:{g:{h:{if(q[a+1400>>2]){if(g&255){break h}break c}if(g&255){break h}i=q[a+1396>>2];if((i|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break c}if(!(o[a+1391|0]&1)){break g}i=q[a+1396>>2]}j=i+1|0;q[a+1396>>2]=j;g=r[(a+i|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=i;q[a+1400>>2]=1}if((j|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break f}o[a+1392|0]=g;if(!g){break c}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;g=q[a+32>>2];i:{if(g){if(g>>>0>=t[a+40>>2]){break e}q[a+32>>2]=g+1;g=r[g|0];break i}g=pj(q[a+20>>2]);if((g|0)==-1){break e}}g=g&255;break d}q[a+116>>2]=32;break c}J(203021,202968,1480,203042);G()}q[a+112>>2]=1;g=0}i=q[a+1412>>2];q[a+1412>>2]=i+8;q[a+1408>>2]=q[a+1408>>2]+(g<>2];g=p[(((i&1023)<<1)+b|0)+36>>1];j:{if((g|0)>=0){n=i;i=r[g+q[b+8>>2]|0];q[a+1408>>2]=n>>>i;j=q[a+1412>>2]-i|0;i=(j|0)<0;q[a+1412>>2]=i?0:j;g=i?-1:g;break j}g=so(a,b)}if((g|0)>=q[b+2092>>2]?r[b+23|0]:0){break a}if((g|0)<=-1){if(!r[a+1392|0]){v=0;if(q[a+1400>>2]){break b}}q[a+116>>2]=21;return 0}i=w(d,l);m=((i+m|0)+k|0)>(y|0)?(y-i|0)+k|0:m;i=w(g,q[b>>2]);k:{if(r[b+22|0]){if((m|0)<1){break k}n=q[b+28>>2];g=0;s=x(0);while(1){j=q[(k<<2)+c>>2]+(l<<2)|0;s=x(s+u[n+(g+i<<2)>>2]);u[j>>2]=s+u[j>>2];k=k+1|0;j=(k|0)==(d|0);k=j?0:k;l=j+l|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break k}if((m|0)<1){break k}n=q[b+28>>2];g=0;while(1){j=q[(k<<2)+c>>2]+(l<<2)|0;u[j>>2]=x(u[n+(g+i<<2)>>2]+x(0))+u[j>>2];k=k+1|0;j=(k|0)==(d|0);k=j?0:k;l=j+l|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}h=h-m|0;if((h|0)>0){continue}break}}q[e>>2]=k;q[f>>2]=l}return v}J(203188,202968,1803,203224);G()}q[a+116>>2]=21;return 0}function ZL(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0;k=Mv(g);a:{b:{c:{d:{e:{f:{if(!r[a+589|0]){break f}if(!Lv(b,c)){break f}j=r[b+65|0]|r[b+66|0]<<8|(r[b+67|0]<<16|r[b+68|0]<<24);l=r[b+21|0]|r[b+22|0]<<8;m=TA(b,d);if((m|0)<0){break f}d=b+j|0;p=l&4;g:{if(r[b+20|0]){break g}if(o[(d+w(m,23)|0)+4|0]&1){break f}if(!p){break g}j=m+1|0;if(j>>>0>=(r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16))>>>0){break f}l=d+w(j,23)|0;if(!(o[l+4|0]&1)){break f}n=d+w(m,23)|0;if((r[n+9|0]|r[n+10|0]<<8)!=(r[l+9|0]|r[l+10|0]<<8)){break f}l=d+w(m,23)|0;j=d+w(j,23)|0;if((r[l+11|0]|r[l+12|0]<<8)!=(r[j+11|0]|r[j+12|0]<<8)){break f}}j=d+w(m,23)|0;l=j;n=j+9|0;q=r[n|0]|r[n+1|0]<<8;s=r[j+11|0]|r[j+12|0]<<8;n=(g|0)==9?p?9:8:g;h:{if((n&-2)!=8){break h}g=w(q,s);if(g>>>0>=f>>>0){break h}qi(w(g,k)+e|0,0,w(k,f-g|0))}if(r[b+20|0]==1){a=d+w(m,23)|0;return Lta(n,e,f,b,c,r[l+9|0]|r[l+10|0]<<8,r[j+11|0]|r[j+12|0]<<8,r[a+5|0]|r[a+6|0]<<8,r[a+7|0]|r[a+8|0]<<8,r[a+13|0]|r[a+14|0]<<8|(r[a+15|0]<<16|r[a+16|0]<<24),r[a+17|0]|r[a+18|0]<<8|(r[a+19|0]<<16|r[a+20|0]<<24),(p|0)!=0,h,i)}g=d+w(m,23)|0;if(o[g+4|0]&1){break e}k=p?g+23|0:0;if(k){if(!(o[k+4|0]&1)){break d}if((r[l+9|0]|r[l+10|0]<<8)!=(r[k+9|0]|r[k+10|0]<<8)){break c}if((r[j+11|0]|r[j+12|0]<<8)!=(r[k+11|0]|r[k+12|0]<<8)){break b}if(r[(d+w(m,23)|0)+3|0]!=r[k+3|0]){break a}}l=r[l+9|0]|r[l+10|0]<<8;j=r[j+11|0]|r[j+12|0]<<8;d=d+w(m,23)|0;m=r[d+5|0]|r[d+6|0]<<8;q=r[d+7|0]|r[d+8|0]<<8;s=r[d+3|0];t=r[d+13|0]|r[d+14|0]<<8|(r[d+15|0]<<16|r[d+16|0]<<24);u=r[d+17|0]|r[d+18|0]<<8|(r[d+19|0]<<16|r[d+20|0]<<24);g=0;d=0;if(k){g=r[k+13|0]|r[k+14|0]<<8|(r[k+15|0]<<16|r[k+16|0]<<24);d=r[k+17|0]|r[k+18|0]<<8|(r[k+19|0]<<16|r[k+20|0]<<24)}q=Nta(a,n,e,f,b,c,l,j,m,q,s,t,u,g,d,(p|0)!=0,r[b+23|0]==3,h,i)}return q}J(85908,85651,10925,85962);G()}J(85984,85651,10930,85962);G()}J(86044,85651,10931,85962);G()}J(86109,85651,10932,85962);G()}J(86174,85651,10933,85962);G()}function wL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-112|0;fi=c;i=q[a+4>>2];e=q[a+48>>2];h=dm(e,10,0,0,0);q[c+100>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;q[c+96>>2]=b;q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=h;q[b>>2]=11;q[c+88>>2]=-1;q[c+92>>2]=-1;q[c+80>>2]=0;q[c+72>>2]=0;pm(q[a+48>>2],b);if(q[a+16>>2]!=123){b=q[a+52>>2];q[c+64>>2]=Xk(a,123);xj(a,Oi(b,127343,c- -64|0))}yj(a);a:{if(q[a+16>>2]==125){break a}b=0;while(1){b:{if(!b){break b}pm(e,c+72|0);q[c+72>>2]=0;if(q[c+108>>2]!=50){break b}ux(e,q[q[c+96>>2]+8>>2],q[c+104>>2],50);q[c+108>>2]=0}c:{d:{b=q[a+16>>2];if((b|0)!=91){if((b|0)!=285){break d}q[a+32>>2]=mE(a,a+40|0);if(q[a+32>>2]!=61){Tk(a,c+72|0,0);f=c;b=q[c+104>>2];if((b|0)>=2147483646){b=q[a+48>>2];d=q[b+16>>2];g=q[q[b>>2]+60>>2];e:{if(!g){q[c+32>>2]=2147483645;q[c+36>>2]=127465;d=Oi(d,127488,c+32|0);break e}q[c+52>>2]=2147483645;q[c+48>>2]=g;q[c+56>>2]=127465;d=Oi(d,127522,c+48|0)}Kl(q[b+12>>2],d,0);b=q[c+104>>2]}q[f+104>>2]=b+1;q[c+108>>2]=q[c+108>>2]+1;break c}BC(a,c+72|0);break c}BC(a,c+72|0);break c}Tk(a,c+72|0,0);f=c;b=q[c+104>>2];if((b|0)>=2147483646){b=q[a+48>>2];d=q[b+16>>2];g=q[q[b>>2]+60>>2];f:{if(!g){q[c>>2]=2147483645;q[c+4>>2]=127465;d=Oi(d,127488,c);break f}q[c+20>>2]=2147483645;q[c+16>>2]=g;q[c+24>>2]=127465;d=Oi(d,127522,c+16|0)}Kl(q[b+12>>2],d,0);b=q[c+104>>2]}q[f+104>>2]=b+1;q[c+108>>2]=q[c+108>>2]+1}b=q[a+16>>2]-44|0;if(!(!b|(b|0)==15)){break a}yj(a);if(q[a+16>>2]==125){break a}b=q[c+72>>2];continue}}uo(a,125,123,i);a=q[c+108>>2];g:{if(!a){break g}h:{switch(q[c+72>>2]){case 13:case 14:Qt(e,c+72|0,-1);ux(e,q[q[c+96>>2]+8>>2],q[c+104>>2],-1);q[c+104>>2]=q[c+104>>2]-1;break g;default:pm(e,c+72|0);a=q[c+108>>2];break;case 0:break h}}ux(e,q[q[c+96>>2]+8>>2],q[c+104>>2],a)}a=h<<2;b=q[a+q[q[e>>2]+12>>2]>>2]&8388607|ZD(q[c+104>>2])<<23;q[a+q[q[e>>2]+12>>2]>>2]=b;f=ZD(q[c+100>>2]);q[a+q[q[e>>2]+12>>2]>>2]=f<<14&8372224|b&-8372225;fi=c+112|0}function tP(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=fi-96|0;fi=c;e=q[q[a+68>>2]+1120>>2];q[c+92>>2]=0;a:{b:{c:{switch(q[e+16>>2]-1|0){case 0:q[a+4>>2]=q[a+4>>2]+1;break a;case 8:case 9:d=NP(a);if(d){Aj(a,2,40);break a}break b;default:break c}}d=Dn(a);if(d){break a}if(q[a+128>>2]!=22){Aj(a,2,10);d=-30464;break a}b=q[a+120>>2];d:{if(r[b|0]!=12){e:{switch(q[e+16>>2]-5|0){case 0:case 2:q[a+176>>2]=1;break d;default:break e}}Aj(a,2,10);d=-30464;break a}q[c+92>>2]=b+(r[q[a>>2]+184|0]&2?12:4);h=b+q[a+168>>2]|0;g=q[e+16>>2];if(g-5>>>0<=3){if(sP(c+92|0,h)){Aj(a,2,47);d=-31488;break a}g=q[e+16>>2]}d=-27648;if(g>>>0>8){break a}f:{b=1<>2]-2>>>0>=3){break d}g=0;q[c+12>>2]=0;q[c+8>>2]=0;k=q[a+120>>2];l=r[q[a>>2]+184|0]&2?12:4;i=q[c+92>>2];b=q[a+20>>2];g:{h:{if((b|0)==3){if(qP(a,c+92|0,h,c+12|0,c+8|0)){Aj(a,2,47);d=-31488;break g}b=q[e+16>>2]-1|0;i:{if(b>>>0<=9){b=q[(b<<2)+166588>>2];break i}b=0}e=q[c+8>>2];if((b|0)==(e|0)){break h}Aj(a,2,47);d=-31488;break g}if((b|0)>2){break g}b=c;e=q[e+16>>2]-1|0;j:{if(e>>>0<=9){e=q[(e<<2)+166588>>2];break j}e=0}q[b+8>>2]=e;if((e|0)!=4){break h}q[c+12>>2]=4;e=4}b=q[c+92>>2];if(b>>>0>h-2>>>0){Aj(a,2,50);d=-31488;break g}f=r[b|0];j=r[b+1|0];b=b+2|0;q[c+92>>2]=b;j=f<<8|j;if((b|0)!=(h-j|0)){Aj(a,2,50);d=-31488;break g}f=k+l|0;b=i-f|0;i=q[c+12>>2];k:{if(!i){q[c+88>>2]=36;d=_T(a,c+16|0,f,b);if(!d){break k}break g}d=ZT(a,c+16|0,c+88|0,f,b,i);if(d){break g}}b=q[q[a+64>>2]+96>>2];if(!b){d=-27648;break g}d=0;f=b+204|0;l:{if(!f){break l}b=q[f>>2];if(!b){break l}d=ji[q[b+12>>2]](e)|0}if(!d){Aj(a,2,40);d=-27904;break g}d=_C(f,i,c+16|0,q[c+88>>2],q[c+92>>2],j);if(!d){g=1;break g}Aj(a,2,51)}if(!g){break a}}}q[a+4>>2]=q[a+4>>2]+1;d=0}fi=c+96|0;return d}function jpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=x(0),g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),o=0,r=x(0),v=0,z=0,A=0,B=x(0);l=fi-960|0;fi=l;A=ji[q[74887]](q[d+216>>2])|0;e=qi(l,0,960);q[e>>2]=a;q[e+4>>2]=b;u[e+8>>2]=u[c>>2];m=q[c+940>>2];a=m<<1;a=s[e+952>>1]&-993|a&32|a&64|a&128|a&256|a&512;p[e+952>>1]=a;i=u[d+484>>2];b=q[d+472>>2];n=x(u[d+480>>2]*x(t[d+468>>2]));f=x(q[c+12>>2]);u[e+12>>2]=n*x(f+x(.5));r=x(b>>>0);i=x(i*r);b=q[c+16>>2];u[e+16>>2]=r-x(i*x(x(b|0)+x(.5)));B=x(q[c+20>>2]);u[e+20>>2]=n*B;g=q[c+24>>2];u[e+36>>2]=B;u[e+32>>2]=A-b|0;u[e+28>>2]=f;f=x(0-g|0);u[e+40>>2]=f;u[e+24>>2]=i*f;u[e+44>>2]=u[c+28>>2];u[e+48>>2]=u[c+32>>2];u[e+52>>2]=u[c+36>>2];v=q[c+524>>2];q[e+540>>2]=v;if((v|0)>0){while(1){b=w(z,44);a=b+e|0;g=b+c|0;q[a+96>>2]=q[g+80>>2];b=q[g+76>>2];q[a+88>>2]=q[g+72>>2];q[a+92>>2]=b;j=g- -64|0;b=j;h=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=h;b=q[g+60>>2];q[a+72>>2]=q[g+56>>2];q[a+76>>2]=b;o=q[g+52>>2];b=a- -64|0;q[b>>2]=q[g+48>>2];q[b+4>>2]=o;h=q[g+44>>2];q[a+56>>2]=q[g+40>>2];q[a+60>>2]=h;q[a+96>>2]=q[g+80>>2];o=q[g+48>>2];f=x(n*x(x(o|0)+x(.5)));a:{if(x(y(f))>2]=h;b=a;h=q[g+52>>2];f=x(r-x(i*x(x(h|0)+x(.5))));b:{if(x(y(f))>2]=k;b=a;j=q[j>>2];f=x(n*x(j|0));c:{if(x(y(f))>2]=k;b=q[g+68>>2];q[a+88>>2]=j;q[a+76>>2]=A-h;q[a+72>>2]=o;b=0-b|0;q[a+92>>2]=b;f=x(i*x(b|0));d:{if(x(y(f))>2]=b;z=z+1|0;if((v|0)!=(z|0)){continue}break}a=s[e+952>>1]}b=q[c+784>>2];q[e+800>>2]=b;a=s[c+788>>1]<<4&16|a&-17;p[e+952>>1]=a;if((b|0)>=1){si(e+544|0,c+528|0,b);a=s[e+952>>1]}q[e+804>>2]=q[c+792>>2];si(e+808|0,c+796|0,144);p[e+952>>1]=m&8|(m&6|(a&65520|m&1));a=q[d+164>>2];if((a|0)==q[d+168>>2]){J(4521,4545,501,4624);G()}q[d+164>>2]=a+960;si(a,l,954);fi=l+960|0}function gea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=fi-192|0;fi=b;g=q[a+8>>2]-q[a+12>>2]>>4;c=q[q[Kj(a)+80>>2]+8>>2];q[b+176>>2]=0;q[b+180>>2]=0;q[b+168>>2]=0;q[b+172>>2]=0;q[b+160>>2]=0;q[b+164>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;d=1;Hk(a,1,c,73798,b+188|0,b+152|0,0);f=q[b+188>>2];c=Pj(a,2);e=ii;h=e;i=dA(f,c,e);a:{if((i|0)==-1){q[b>>2]=Ei(c,h);mi(4,74154,74162,b);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=0;q[a+8>>2]=q[a+8>>2]+16;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(74189,73926,238,74214);G()}h=gj(a,3);j=gj(a,4);b:{d=gj(a,5);if((d|0)>=0){e=d;c=q[f+152>>2];if(!c){c=q[q[f+156>>2]>>2]}if(s[q[c+64>>2]+28>>1]>=(e|0)){break b}}q[b+16>>2]=d;d=ni(a,74230,b+16|0);break a}bA(f,b+148|0,b+144|0,b+140|0,b+136|0);c=q[f+156>>2];q[b+132>>2]=(h-1|0)-q[c+36>>2];q[b+128>>2]=(j-1|0)-q[c+40>>2];c:{c=q[b+132>>2];d:{if((c|0)<0|(c|0)>=q[b+140>>2]){break d}c=q[b+128>>2];if((c|0)<0){break d}if((c|0)>2]){break c}}mi(4,74154,74288,0);d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=0;q[a+8>>2]=q[a+8>>2]+16;d=1;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(74189,73926,274,74214);G()}e:{if(!(!Gj(a,6)|(g|0)!=6)){e=gj(a,6);c=e>>31;c=c^c+e;if(!(c&248)){break e}q[b+48>>2]=d;d=ni(a,74353,b+48|0);break a}c=(Fj(a,6)|0)!=0;c=Fj(a,7)?c|2:c}d=d-1|0;e=c&255;Lea(f,i,q[b+132>>2],q[b+128>>2],d,e);q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;if(fm(a,b+96|0)){q[b+72>>2]=q[b+132>>2];q[b+64>>2]=i;q[b+76>>2]=d;q[b+68>>2]=q[b+128>>2];d=1;q[b+80>>2]=c&1;q[b+88>>2]=e>>>2&1;q[b+84>>2]=e>>>1&1;c=q[62480];e=q[c+8>>2];f=q[c+12>>2];q[b+176>>2]=0;q[b+180>>2]=0;c=Zj(b+96|0,b+152|0,e,f,0,c,b- -64|0,28);if(c){q[b+32>>2]=q[q[62480]+4>>2];q[b+36>>2]=c;mi(4,74154,74421,b+32|0)}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=1;q[a+8>>2]=q[a+8>>2]+16;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(74189,73926,333,74214);G()}d=ni(a,74466,0)}fi=b+192|0;return d|0}function bo(a,b,c){var d=0,e=0;d=fi-144|0;fi=d;a:{if((jj(c,1)|0)<1){e=-4;break a}q[d+120>>2]=0;q[d+112>>2]=1;q[d+116>>2]=0;q[d+104>>2]=0;q[d+96>>2]=1;q[d+100>>2]=0;q[d+88>>2]=0;q[d+80>>2]=1;q[d+84>>2]=0;e=d- -64|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;q[d+136>>2]=0;q[d+128>>2]=1;q[d+132>>2]=0;q[d+56>>2]=0;q[d+48>>2]=1;q[d+52>>2]=0;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;e=Fr(d+128|0,b,c);b:{if(e){break b}e=-14;if(jj(d+128|0,1)){break b}e=Lk(d+112|0,b,c);if(e){break b}e=_j(d+96|0,d+112|0);if(e){break b}e=_j(d+48|0,c);if(e){break b}e=_j(d+32|0,c);if(e){break b}e=gk(d+80|0,1);if(e){break b}e=gk(d- -64|0,0);if(e){break b}e=gk(d+16|0,0);if(e){break b}e=gk(d,1);if(e){break b}while(1){if(!(o[q[d+104>>2]]&1)){e=Nk(d+96|0,1);if(e){break b}if(!(o[q[d+72>>2]]&1?0:!(o[q[d+88>>2]]&1))){e=vl(d+80|0,d+80|0,d+48|0);if(e){break b}e=fl(d- -64|0,d- -64|0,d+112|0);if(e){break b}}e=Nk(d+80|0,1);if(e){break b}e=Nk(d- -64|0,1);if(!e){continue}break b}while(1){if(!(o[q[d+40>>2]]&1)){e=Nk(d+32|0,1);if(e){break b}if(!(o[q[d+8>>2]]&1?0:!(o[q[d+24>>2]]&1))){e=vl(d+16|0,d+16|0,d+48|0);if(e){break b}e=fl(d,d,d+112|0);if(e){break b}}e=Nk(d+16|0,1);if(e){break b}e=Nk(d,1);if(!e){continue}break b}break}c:{if((Dj(d+96|0,d+32|0)|0)>=0){e=fl(d+96|0,d+96|0,d+32|0);if(e){break b}e=fl(d+80|0,d+80|0,d+16|0);if(e){break b}e=fl(d- -64|0,d- -64|0,d);if(!e){break c}break b}e=fl(d+32|0,d+32|0,d+96|0);if(e){break b}e=fl(d+16|0,d+16|0,d+80|0);if(e){break b}e=fl(d,d,d- -64|0);if(e){break b}}if(jj(d+96|0,0)){continue}break}while(1){if((jj(d+16|0,0)|0)>-1){while(1){if((Dj(d+16|0,c)|0)>=0){e=fl(d+16|0,d+16|0,c);if(!e){continue}break b}break}e=_j(a,d+16|0);break b}e=vl(d+16|0,d+16|0,c);if(!e){continue}break}}Ji(d+112|0);Ji(d+96|0);Ji(d+80|0);Ji(d- -64|0);Ji(d+128|0);Ji(d+48|0);Ji(d+32|0);Ji(d+16|0);Ji(d)}fi=d+144|0;return e}function al(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=fi-16|0;fi=h;a:{b:{c:{if(b|c){g=q[a>>2];f=q[a+4>>2];if(!(g|f)){break b}if((b|0)==(g|0)&(c|0)==(f|0)){break c}e=q[a+12>>2];g=e;f=q[a+8>>2];if(!(e|f)){a=a+8|0;e=1;break b}e=1;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+20>>2];g=e;f=q[a+16>>2];if(!(e|f)){a=a+16|0;e=2;break b}e=2;if((b|0)==(f|0)&(c|0)==(g|0)){break c}g=q[a+24>>2];f=q[a+28>>2];if(!(g|f)){a=a+24|0;e=3;break b}e=3;if((b|0)==(g|0)&(c|0)==(f|0)){break c}e=q[a+36>>2];g=e;f=q[a+32>>2];if(!(e|f)){a=a+32|0;e=4;break b}e=4;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+44>>2];g=e;f=q[a+40>>2];if(!(e|f)){a=a+40|0;e=5;break b}e=5;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+52>>2];g=e;f=q[a+48>>2];if(!(e|f)){a=a+48|0;e=6;break b}e=6;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+60>>2];g=e;f=q[a+56>>2];if(!(e|f)){a=a+56|0;e=7;break b}e=7;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+68>>2];g=e;f=q[a+64>>2];if(!(e|f)){a=a- -64|0;e=8;break b}e=8;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+76>>2];g=e;f=q[a+72>>2];if(!(e|f)){a=a+72|0;e=9;break b}e=9;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+84>>2];g=e;f=q[a+80>>2];if(!(e|f)){a=a+80|0;e=10;break b}e=10;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+92>>2];g=e;f=q[a+88>>2];if(!(e|f)){a=a+88|0;e=11;break b}e=11;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+100>>2];g=e;f=q[a+96>>2];if(!(e|f)){a=a+96|0;e=12;break b}e=12;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+108>>2];g=e;f=q[a+104>>2];if(!(e|f)){a=a+104|0;e=13;break b}e=13;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+116>>2];g=e;f=q[a+112>>2];if(!(e|f)){a=a+112|0;e=14;break b}e=14;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+124>>2];g=e;f=q[a+120>>2];if(!(e|f)){a=a+120|0;e=15;break b}e=15;if((b|0)==(f|0)&(c|0)==(g|0)){break c}q[h>>2]=Ei(b,c);mi(3,35903,37139,h)}break a}i=1<>2]=b;q[a+4>>2]=c;i=1<>2]=0}d:{f=q[a+4>>2];b=q[a>>2];d=f-b|0;if(!d){break d}if((b|0)!=(f|0)){f=b-f|0;f=((d|0)<(f|0)?f:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);y=d>>>0>1?d:1;d=0;while(1){b=q[(d<<2)+b>>2];if(!((r[b+238|0]&5)!=5|!q[q[b+132>>2]+196>>2])){f=cp(q[b>>2]);j=u[b+20>>2];h=u[b+28>>2];p=u[b+24>>2];k=u[b+56>>2];i=u[b+52>>2];n=u[b+48>>2];l=u[b+40>>2];e=u[b+16>>2];z=q[b+36>>2];q[c+112>>2]=q[b+32>>2];q[c+116>>2]=z;q[c+124>>2]=1065353216;u[c+120>>2]=l;u[c+76>>2]=n*x(0);u[c+92>>2]=i*x(0);u[c+108>>2]=k*x(0);s=x(j+j);m=x(e*s);l=x(p+p);g=x(h*l);u[c+68>>2]=n*x(m+g);t=x(e*l);v=x(s*h);u[c+72>>2]=n*x(t-v);u[c+80>>2]=i*x(m-g);m=x(j*l);g=h;h=x(e+e);g=x(g*h);u[c+88>>2]=i*x(m+g);u[c+96>>2]=k*x(t+v);u[c+100>>2]=k*x(m-g);g=i;e=x(x(1)-x(e*h));i=x(p*l);u[c+84>>2]=g*x(e-i);h=e;e=x(j*s);u[c+104>>2]=k*x(h-e);u[c+64>>2]=n*x(x(x(1)-e)-i);e:{if((q[q[b>>2]+136>>2]&512)>>>9|0){Dk(c,f,c- -64|0);break e}On(c,f,c- -64|0)}u[b+64>>2]=u[c>>2];u[b+68>>2]=u[c+4>>2];u[b+72>>2]=u[c+8>>2];u[b+76>>2]=u[c+12>>2];u[b+80>>2]=u[c+16>>2];u[b+84>>2]=u[c+20>>2];u[b+88>>2]=u[c+24>>2];u[b+92>>2]=u[c+28>>2];u[b+96>>2]=u[c+32>>2];u[b+100>>2]=u[c+36>>2];u[b+104>>2]=u[c+40>>2];u[b+108>>2]=u[c+44>>2];e=u[c+56>>2];j=u[c+52>>2];k=u[c+48>>2];u[b+124>>2]=u[c+60>>2];u[b+120>>2]=e;u[b+116>>2]=j;u[b+112>>2]=k}d=d+1|0;if((y|0)==(d|0)){break d}b=q[a>>2];if(q[a+4>>2]-b>>2>>>0>d>>>0){continue}break}}J(47308,47134,447,47319);G()}if(q[c+128>>2]){Pi(c+128|0)}fi=c+144|0}function $2(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=0,j=0,k=0;c=fi-192|0;fi=c;b=em(a,1);a:{if((b|0)==q[210276]){break a}e=1;if((b|0)==q[210277]){break a}e=2;if((b|0)==q[210278]){break a}e=3;if((b|0)==q[210279]){break a}e=(b|0)==q[210280]?4:5}b=em(a,2);k=q[210276];b:{if((b|0)==(k|0)){break b}i=1;if((b|0)==q[210277]){break b}i=2;if((b|0)==q[210278]){break b}i=3;if((b|0)==q[210279]){break b}i=(b|0)==q[210280]?4:5}c:{if((e|0)!=(i|0)){q[c+180>>2]=122239;q[c+176>>2]=120720;a=ni(a,122594,c+176|0);break c}d:{switch(e|0){case 0:b=yi(a,1,k,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c- -64>>3]=g;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;ni(a,120787,c+48|0)}e=yi(a,2,q[210276],0);f=u[e>>2];g=u[e+4>>2];f:{if(!(f!=f|g!=g)){d=u[e+8>>2];if(d==d){break f}}d=u[e+8>>2];v[c+32>>3]=g;v[c+40>>3]=d;v[c+24>>3]=f;q[c+16>>2]=2;ni(a,120787,c+16|0);d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=+x(x(x(u[b>>2]*f)+x(u[b+4>>2]*g))+x(u[b+8>>2]*d));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=j;q[a+8>>2]=q[a+8>>2]+16;a=1;break c;case 1:b=yi(a,1,q[210277],0);f=u[b>>2];g=u[b+4>>2];g:{h:{if(f!=f|g!=g){break h}d=u[b+8>>2];if(d!=d){break h}d=u[b+12>>2];if(d==d){break g}}d=u[b+8>>2];h=u[b+12>>2];v[c+144>>3]=g;v[c+160>>3]=h;v[c+152>>3]=d;v[c+136>>3]=f;q[c+128>>2]=1;ni(a,120877,c+128|0)}e=yi(a,2,q[210277],0);f=u[e>>2];g=u[e+4>>2];i:{j:{if(f!=f|g!=g){break j}d=u[e+8>>2];if(d!=d){break j}h=u[e+12>>2];if(h==h){break i}}d=u[e+8>>2];h=u[e+12>>2];v[c+96>>3]=g;v[c+112>>3]=h;v[c+104>>3]=d;v[c+88>>3]=f;q[c+80>>2]=2;ni(a,120877,c+80|0);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=+x(x(x(x(u[b>>2]*f)+x(u[b+4>>2]*g))+x(u[b+8>>2]*d))+x(u[b+12>>2]*h));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=j;q[a+8>>2]=q[a+8>>2]+16;a=1;break c;default:break d}}q[c+12>>2]=120672;q[c+8>>2]=120656;q[c+4>>2]=122239;q[c>>2]=120720;a=ni(a,122558,c)}fi=c+192|0;return a|0}function ila(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=x(0),l=x(0),m=0,n=x(0);b=fi-128|0;fi=b;d=q[a+1040>>2];a:{if(q[d+8>>2]==2){break a}f=q[d+32>>2];g=q[d>>2];m=Wo(q[f+8>>2],g);c=q[a+1052>>2];h=c;d=q[a+1048>>2];e=d+1|0;c=e>>>0<1?c+1|0:c;q[a+1048>>2]=e;q[a+1052>>2]=c;if(!h&d>>>0<=3){c=d;q[a>>2]=li(q[(c<<2)+240928>>2]);q[a+4>>2]=ii;if(!h&c>>>0<=2){b:{switch(c-1|0){default:j=1;q[a+8>>2]=1;q[a+16>>2]=li(q[(m<<2)+240944>>2]);q[a+20>>2]=ii;break a;case 0:j=1;q[a+8>>2]=1;q[b+64>>2]=0;d=YH(Nz(q[f+8>>2],g),b- -64|0);q[a+16>>2]=li(d?d:40241);q[a+20>>2]=ii;break a;case 1:break b}}j=1;q[a+8>>2]=1;q[a+16>>2]=Cba(q[f+8>>2],g);q[a+20>>2]=ii;break a}j=1;q[a+8>>2]=1;d=a;c=Lz(q[f+8>>2],g);e=40241;c:{if(c>>>0>8){break c}e=q[(c<<2)+241040>>2]}q[d+16>>2]=li(e);q[a+20>>2]=ii;break a}c=d;e=h-(c>>>0<4)|0;c=c-4|0;d:{if(!e&c>>>0<=9){d=q[(c<<2)+41920>>2];Bl(b- -64|0,q[f+8>>2],g,d);q[a>>2]=li(q[(d<<2)+240976>>2]);q[a+4>>2]=ii;u[a+16>>2]=u[b+64>>2];u[a+20>>2]=u[b+68>>2];u[a+24>>2]=u[b+72>>2];i=u[b+76>>2];q[a+8>>2]=4;u[a+28>>2]=i;break d}c=d;e=h-(c>>>0<14)|0;c=c-14|0;e=!e&c>>>0>3|(e|0)!=0;if(!e){uba(b- -64|0,q[f+8>>2],g);Ko(b+16|0,b- -64|0);if(e){break a}d=a;e:{f:{switch(c-1|0){default:i=u[b+40>>2];k=u[b+36>>2];l=u[b+32>>2];e=3;break e;case 0:n=u[b+28>>2];i=u[b+24>>2];k=u[b+20>>2];l=u[b+16>>2];e=4;break e;case 1:i=u[b+56>>2];k=u[b+52>>2];l=u[b+48>>2];e=3;break e;case 2:break f}}Bl(b,q[f+8>>2],g,4);n=x(u[b+12>>2]*x(0));i=x(u[b+56>>2]*u[b+8>>2]);k=x(u[b+52>>2]*u[b+4>>2]);l=x(u[b+48>>2]*u[b>>2]);e=3}q[d+8>>2]=e;d=li(q[(c<<2)+241024>>2]);u[a+28>>2]=n;u[a+24>>2]=i;u[a+20>>2]=k;u[a+16>>2]=l;q[a>>2]=d;q[a+4>>2]=ii;break d}if(!h&(d|0)==18){q[a+8>>2]=6;o[a+16|0]=uI(q[f+8>>2],g,0);q[a>>2]=li(42013);q[a+4>>2]=ii;break d}if((d|0)!=19|h|(m|0)!=1){break a}q[a+8>>2]=7;q[a+16>>2]=Iz(q[f+8>>2],g);q[a>>2]=li(42021);q[a+4>>2]=ii}j=1}fi=b+128|0;return j|0}function so(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=q[a+1412>>2];a:{if((c|0)>24){break a}if(!c){q[a+1408>>2]=0}while(1){c=r[a+1392|0];b:{c:{d:{e:{f:{if(q[a+1400>>2]){if(c&255){break f}break a}if(c&255){break f}d=q[a+1396>>2];if((d|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break a}if(!(o[a+1391|0]&1)){break e}d=q[a+1396>>2]}f=d+1|0;q[a+1396>>2]=f;c=r[(a+d|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=d;q[a+1400>>2]=1}if((f|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break d}o[a+1392|0]=c;if(!c){break a}}o[a+1392|0]=c-1;q[a+1416>>2]=q[a+1416>>2]+1;c=q[a+32>>2];g:{if(c){if(c>>>0>=t[a+40>>2]){break c}q[a+32>>2]=c+1;c=r[c|0];break g}c=pj(q[a+20>>2]);if((c|0)==-1){break c}}c=c&255;break b}q[a+116>>2]=32;break a}J(203021,202968,1480,203042);G()}q[a+112>>2]=1;c=0}d=q[a+1412>>2];q[a+1412>>2]=d+8;q[a+1408>>2]=q[a+1408>>2]+(c<>2];if(!g){f=q[b+32>>2];if(!f){break k}d=q[b+4>>2];break j}d=q[b+4>>2];if((d|0)<=8){f=q[b+32>>2];if(f){break j}}f=q[a+1408>>2];c=0;d=q[b+2092>>2];if((d|0)>=2){e=f>>>1&1431655765|f<<1&-1431655766;e=e>>>2&858993459|e<<2&-858993460;e=e>>>4&252645135|e<<4&-252645136;j=owa(e>>>8&16711935|e<<8&-16711936,16);while(1){e=d>>>1|0;i=e+c|0;h=j>>>0>2];c=h?c:i;d=h?e:d-e|0;if((d|0)>1){continue}break}}d=q[a+1412>>2];c=r[b+23|0]?c:q[q[b+2088>>2]+(c<<2)>>2];b=r[c+q[b+8>>2]|0];if((d|0)<(b|0)){break i}q[a+1408>>2]=f>>>b;q[a+1412>>2]=d-b;return c}J(203114,202968,1582,203150);G()}if(r[b+23|0]){break h}if((d|0)>=1){e=q[b+8>>2];c=0;while(1){l:{h=c+e|0;b=r[h|0];if((b|0)==255){break l}g=q[a+1408>>2];if(q[(c<<2)+f>>2]!=(g&(-1<>2];if((d|0)<(b|0)){break i}q[a+1408>>2]=g>>>b;q[a+1412>>2]=d-r[h|0];return c}c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[a+116>>2]=21}q[a+1412>>2]=0;return-1}J(203177,202968,1615,203150);G()}function St(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;qm(a,b);a:{b:{c:{d:{e:{f:{g:{switch(q[b>>2]-2|0){case 1:g=q[a+32>>2];q[a+32>>2]=-1;d=Jk(a,2147450902,q[q[a+12>>2]+8>>2]);if((g|0)==-1){break c}if((d|0)==-1){d=g;break b}i=q[q[a>>2]+12>>2];c=d;while(1){f=c;h=(c<<2)+i|0;e=q[h>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(f+c|0)+1|0;if((c|0)!=-1){continue}break}c=h;g=g+(f^-1)|0;f=g>>31;if((f^f+g)>=131072){xj(q[a+12>>2],127273);e=q[h>>2]}q[c>>2]=(e&16383|g<<14)+2147467264;break c;case 8:c=q[b+8>>2];e=q[q[a>>2]+12>>2]+(c<<2)|0;h:{if((c|0)>=1){d=e-4|0;c=q[d>>2];if(o[(c&63)+126784|0]<0){break h}}c=q[e>>2];d=e}q[d>>2]=c&-16321|!(c&16320)<<6;d=q[b+8>>2];break c;case 9:c=q[a>>2];d=q[q[c+12>>2]+(q[b+8>>2]<<2)>>2];if((d&63)!=19){break f}q[a+24>>2]=q[a+24>>2]-1;d=Wn(a,26,d>>>23|0,0,1);break c;case 0:case 2:case 3:break a;case 10:break e;default:break g}}c=q[a>>2]}f=q[a+36>>2];e=f+1|0;i:{if((f|0)=249){xj(q[a+12>>2],127238);d=q[a+36>>2]+1|0;c=q[a>>2]}o[c+75|0]=e}q[a+36>>2]=d;wv(a,b,d-1|0);if(q[b>>2]!=12){break d}}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}d=Wn(a,27,255,q[b+8>>2],0)}if((d|0)==-1){break a}}c=q[b+20>>2];if((c|0)!=-1){g=q[q[a>>2]+12>>2];while(1){f=c;h=g+(c<<2)|0;e=q[h>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(f+c|0)+1|0;if((c|0)!=-1){continue}break}c=h;f=(f^-1)+d|0;d=f>>31;if((d^d+f)>=131072){xj(q[a+12>>2],127273);e=q[h>>2]}q[c>>2]=(e&16383|f<<14)+2147467264;break a}q[b+20>>2]=d}g=q[b+16>>2];q[a+28>>2]=q[a+24>>2];j:{if((g|0)!=-1){c=q[a+32>>2];if((c|0)==-1){break j}h=q[q[a>>2]+12>>2];while(1){e=c;f=h+(c<<2)|0;d=q[f>>2];c=(d>>>14|0)-131071|0;c=(c|0)==-1?-1:(e+c|0)+1|0;if((c|0)!=-1){continue}break}c=f;h=g+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){xj(q[a+12>>2],127273);d=q[f>>2]}q[c>>2]=(d&16383|h<<14)+2147467264}q[b+16>>2]=-1;return}q[a+32>>2]=g;q[b+16>>2]=-1}function Aia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=0,k=0;b=fi-384|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=Pj(a,1);e=ii;q[b+124>>2]=0;j=Ni(a,2,b+124|0);k=gA(a,q[74461],c,e,71688);a:{if((d|0)<3){g=x(1e5);h=x(1);c=0;break a}vj(a,3,5);wi(a,71175);Tj(a,3);g=x(1e5);b:{if(!ri(a,-1)){break b}if(!Gj(a,-1)){c=b;e=ri(a,-1);d=125997;c:{if((e|0)==-1){break c}d=q[(e<<2)+261152>>2]}q[c+120>>2]=d;q[b+116>>2]=69973;q[b+112>>2]=71175;cj(b+128|0,256,69988,b+112|0);q[b+96>>2]=b+128;g=x(ni(a,70045,b+96|0)|0);break b}g=x(wj(a,-1))}oi(a,-2);wi(a,71694);Tj(a,3);h=x(1);d:{if(!ri(a,-1)){break d}if(!Gj(a,-1)){c=b;e=ri(a,-1);d=125997;e:{if((e|0)==-1){break e}d=q[(e<<2)+261152>>2]}q[c+88>>2]=d;q[b+84>>2]=69973;q[b+80>>2]=71694;cj(b+128|0,256,69988,b+80|0);q[b+64>>2]=b+128;h=x(ni(a,70045,b- -64|0)|0);break d}h=x(wj(a,-1))}oi(a,-2);wi(a,71702);Tj(a,3);i=x(0);f:{if(!ri(a,-1)){break f}if(!Gj(a,-1)){c=b;e=ri(a,-1);d=125997;g:{if((e|0)==-1){break g}d=q[(e<<2)+261152>>2]}q[c+56>>2]=d;q[b+52>>2]=69973;q[b+48>>2]=71702;cj(b+128|0,256,69988,b+48|0);q[b+32>>2]=b+128;i=x(ni(a,70045,b+32|0)|0);break f}i=x(wj(a,-1))}oi(a,-2);wi(a,71711);Tj(a,3);c=0;h:{if(!ri(a,-1)){break h}i:{if((ri(a,-1)|0)!=1){c=b;e=ri(a,-1);d=125997;j:{if((e|0)==-1){break j}d=q[(e<<2)+261152>>2]}q[c+24>>2]=d;q[b+20>>2]=69965;q[b+16>>2]=71711;cj(b+128|0,256,69988,b+16|0);q[b>>2]=b+128;c=ni(a,70045,b);break i}c=Fj(a,-1)}c=(c|0)!=0}oi(a,-2)}Ky(k,j,g,c,h,i,b+128|0);ij(a,0,4);Bi(a,71175,5);f=+u[b+128>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,71181,6);f=+u[b+132>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,71722,10);f=+u[b+136>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,71733,11);f=+u[b+140>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);fi=b+384|0;return 1}function tN(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;q[a+1520>>2]=0;q[a+1524>>2]=0;a:{if(q[a+112>>2]){break a}k=c;b:{c:{d:{e:{f:while(1){if(!$V(a)){return 0}if(fj(a,1)){if(r[a+48|0]){q[a+116>>2]=35;return 0}while(1){g:{h:{i:{j:{g=r[a+1392|0];if(!g){if(q[a+1400>>2]){break i}c=q[a+1396>>2];if((c|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break i}if(!(o[a+1391|0]&1)){break j}c=q[a+1396>>2]}h=c+1|0;q[a+1396>>2]=h;g=r[(a+c|0)+1136|0];if((g|0)!=255){q[a+1404>>2]=c;q[a+1400>>2]=1}if((h|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break e}o[a+1392|0]=g;if(!g){break i}}o[a+1392|0]=g-1;q[a+1416>>2]=q[a+1416>>2]+1;c=q[a+32>>2];if(c){if(c>>>0>2]){break h}q[a+112>>2]=1;q[a+1412>>2]=0;continue}if((pj(q[a+20>>2])|0)!=-1){break g}q[a+112>>2]=1;q[a+1412>>2]=0;continue}q[a+116>>2]=32}g=0;q[a+1412>>2]=0;if(!q[a+112>>2]){continue f}break a}q[a+32>>2]=c+1}q[a+1412>>2]=0;continue}}break}if(q[a+100>>2]!=q[a+108>>2]?q[a+96>>2]:0){break d}c=a;i=q[a+424>>2];g=i-1|0;k:{if(g>>>0<=16383){h=o[g+203056|0];if(g>>>0<=15){break k}h=o[(g>>>5|0)+203056|0]+5|0;if(g>>>0<=511){break k}h=o[(g>>>10|0)+203056|0]+10|0;break k}if(g>>>0<=16777215){h=o[(g>>>15|0)+203056|0]+15|0;if(g>>>0<=524287){break k}h=o[(g>>>20|0)+203056|0]+20|0;break k}h=o[(g>>>25|0)+203056|0]+25|0;if(g>>>0<=536870911){break k}h=0;if((i|0)<1){break k}h=o[(g>>>30|0)+203056|0]+30|0}c=fj(c,h);if((c|0)==-1){return 0}g=0;if((c|0)>=q[a+424>>2]){break a}q[f>>2]=c;h=w(c,6)+a|0;if(!r[h+428|0]){h=1;g=q[a+128>>2];c=g>>1;f=0;break c}g=q[a+132>>2];c=g>>1;i=fj(a,1);f=fj(a,1);j=r[h+428|0];h=!j;if(!j|i){break c}q[b>>2]=g-q[a+128>>2]>>2;b=q[a+128>>2]+g>>2;break b}J(203021,202968,1480,203042);G()}J(202912,202968,3161,202999);G()}q[b>>2]=0;b=c}q[k>>2]=b;l:{if(!(f|h)){b=w(g,3);q[d>>2]=b-q[a+128>>2]>>2;g=b+q[a+128>>2]>>2;break l}q[d>>2]=c}q[e>>2]=g;g=1}return g}function L7(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;d=fi-1248|0;fi=d;j=q[a+48>>2];tj(j);a:{b:{c:{d:{e:{f:{c=q[b+4>>2];if(!(!c|!q[b>>2])){k=q[b+40>>2];l=q[b+44>>2];Qj(c);q[b+4>>2]=0;g:{c=q[a+20>>2];h:{if(!c){break h}m=a+16|0;h=q[b+48>>2];i=q[b+52>>2];c=q[q[m>>2]+(lwa(h,i,c)<<2)>>2];if((c|0)==-1){break h}f=q[a+24>>2];while(1){e=f+w(c,136)|0;if((h|0)==q[e>>2]&(i|0)==q[e+4>>2]){break g}c=q[e+128>>2];if((c|0)!=-1){continue}break}}J(151561,151492,564,151557);G()}if(o[b+58|0]&1){break d}hz(q[a>>2],k,l,d+224|0);i:{if(!Am(d+224|0,d+136|0)){if(!Zk(d+224|0)){break i}q[d+16>>2]=d+224;mi(4,150860,151567,d+16|0);c=q[b+4>>2];if(c){Qj(c)}break d}e=Rm(d+224|0,47);g=r[e|0];o[e|0]=0;j:{if(!Am(d+224|0,d+48|0)){break j}if(!Vx(d+224|0)){break j}q[d+32>>2]=d+224;mi(4,150860,151599,d+32|0);c=q[b+4>>2];if(c){Qj(c)}break d}o[e|0]=g}e=f+w(c,136)|0;g=s[e+120>>1];if(!(g&256)){break f}if((k|0)!=q[e+80>>2]|(l|0)!=q[e+84>>2]){break e}p[e+120>>1]=g&65279;c=f+w(c,136)|0;q[c+104>>2]=Vn(b+8|0);q[c+108>>2]=ii;if(AC(q[b>>2],d+224|0)){c=Uk(q[240833]);f=q[b>>2];q[d+12>>2]=q[240833];q[d+8>>2]=c;q[d>>2]=f;q[d+4>>2]=d+224;mi(4,150860,151700,d);c=q[b+4>>2];if(c){Qj(c)}break d}c=q[b+4>>2];if(c){Qj(c)}c=q[b>>2];if(c){Zk(c);ki(q[b>>2])}f=q[a+52>>2];if(!f){break b}c=s[a+58>>1];if(!c|c>>>0>s[a+56>>1]){break a}e=s[b+56>>1];c=c-1|0;p[a+58>>1]=c;p[f+((c&65535)<<1)>>1]=e;p[b+56>>1]=65535;q[b>>2]=0;q[b+4>>2]=0;o[a+88|0]=1;break c}J(151441,151492,556,151557);G()}J(151631,151492,610,151557);G()}J(151650,151492,611,151557);G()}c=q[b>>2];if(c){Zk(c);ki(q[b>>2])}f=q[a+52>>2];if(!f){break b}c=s[a+58>>1];if(!c|c>>>0>s[a+56>>1]){break a}e=s[b+56>>1];g=a;a=c-1|0;p[g+58>>1]=a;p[f+((a&65535)<<1)>>1]=e;p[b+56>>1]=65535;q[b>>2]=0;q[b+4>>2]=0;DH(m,h,i)}lj(j);fi=d+1248|0;return}J(152413,152150,140,152444);G()}J(152449,152150,141,152444);G()}function Kja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=0;c=fi-16|0;fi=c;a:{e=q[a+4>>2];b=q[e+32>>2];b:{c:{d:{e:{f=q[q[a+24>>2]>>2];if(f>>>0>2]-b>>3>>>0){h=q[b+(f<<3)>>2];g=q[e+16>>2];if(h>>>0>=q[e+20>>2]-g>>4>>>0){break a}b=-4;if(q[a+32>>2]){break b}f:{g:{f=q[a+16>>2];d=q[a+20>>2];if((f|0)!=q[73852]|(d|0)!=q[73853]){if((f|0)==q[73854]&(d|0)==q[73855]){break g}b=-1;if((f|0)!=q[73856]|(d|0)!=q[73857]){break b}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+12>>2]=i;d=2;break f}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+8>>2]=i;d=0;break f}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+4>>2]=i;d=1}k=q[e+4>>2];a=q[e>>2];l=k-a|0;b=(l|0)/104|0;if(!l){break c}g=q[g+(h<<4)>>2];h:{switch(d|0){case 1:break h;case 0:break d;default:break e}}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){i:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break i}j=u[g+16>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i+j;if(!Lo(d,1,c)){break i}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}break a}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){j:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break j}j=u[g+20>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i*j;if(!Lo(d,2,c)){break j}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){k:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break k}j=u[g+12>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i*j;if(!Lo(d,0,c)){break k}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}b=0}fi=c+16|0;return b|0}J(50690,50340,447,50701);G()}function K7(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=fi-3392|0;fi=b;j=q[a+48>>2];tj(j);a:{if(!r[a+88|0]){break a}o[a+88|0]=0;mi(2,150860,151089,0);c=q[a>>2];q[b+52>>2]=150988;q[b+48>>2]=c;cj(b- -64|0,1024,150982,b+48|0);g=sk(b- -64|0,151117);b:{if(g){q[b+1152>>2]=120;q[b+1156>>2]=2232;q[b+1144>>2]=0;q[b+1148>>2]=0;q[b+1136>>2]=-894784852;q[b+1140>>2]=7;c:{d:{if((Al(b+1136|0,1,24,g)|0)!=24){break d}o[b+1100|0]=0;q[b+1096>>2]=g;h=b+1104|0;an(h,0);c=q[a+20>>2];if(c){k=b+1232|0;e=b+1168|0;while(1){f=q[q[a+16>>2]+(i<<2)>>2];if((f|0)!=-1){while(1){f=q[a+24>>2]+w(f,136)|0;e:{if(r[b+1100|0]){break e}c=f+8|0;if(o[f+121|0]&1){q[b+32>>2]=c;mi(3,150860,151896,b+32|0);break e}qi(b+1160|0,0,2232);c=f;d=q[c+4>>2];q[b+1160>>2]=q[c>>2];q[b+1164>>2]=d;d=q[c+68>>2];q[e+56>>2]=q[c+64>>2];q[e+60>>2]=d;d=q[c+60>>2];q[e+48>>2]=q[c+56>>2];q[e+52>>2]=d;d=q[c+52>>2];q[e+40>>2]=q[c+48>>2];q[e+44>>2]=d;d=q[c+44>>2];q[e+32>>2]=q[c+40>>2];q[e+36>>2]=d;d=q[c+36>>2];q[e+24>>2]=q[c+32>>2];q[e+28>>2]=d;d=q[c+28>>2];q[e+16>>2]=q[c+24>>2];q[e+20>>2]=d;d=q[c+20>>2];q[e+8>>2]=q[c+16>>2];q[e+12>>2]=d;d=q[c+12>>2];q[e>>2]=q[c+8>>2];q[e+4>>2]=d;kj(k,q[c+72>>2],2124);d=q[c+84>>2];q[b+3360>>2]=q[c+80>>2];q[b+3364>>2]=d;d=q[c+92>>2];q[b+3368>>2]=q[c+88>>2];q[b+3372>>2]=d;d=q[c+100>>2];q[b+3376>>2]=q[c+96>>2];q[b+3380>>2]=d;d=q[c+108>>2];q[b+3384>>2]=q[c+104>>2];q[b+3388>>2]=d;kl(h,b+1160|0,2232);if((Al(b+1160|0,1,2232,q[b+1096>>2])|0)==2232){break e}o[b+1100|0]=1}f=q[f+128>>2];if((f|0)!=-1){continue}break}c=q[a+20>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}if(r[b+1100|0]){break d}El(g,0,0);q[b+1144>>2]=Vn(h);q[b+1148>>2]=ii;a=Al(b+1136|0,1,24,g);Qj(g);if((a|0)!=24){break c}break a}Qj(g)}q[b+16>>2]=b- -64;mi(4,150860,151120,b+16|0);Zk(b- -64|0);break b}q[b>>2]=b- -64;mi(4,150860,151153,b)}}lj(j);fi=b+3392|0}function Kka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=q[a+4>>2];b=q[d+16>>2];a:{c=q[q[a+24>>2]>>2];if(c>>>0>2]-b>>3>>>0){e=q[b+(c<<3)>>2];f=q[d>>2];if(e>>>0<(q[d+4>>2]-f|0)/240>>>0){b:{b=q[a+16>>2];c=q[a+20>>2];if(!((b|0)==q[73548]&(c|0)==q[73549]|(b|0)==q[73550]&(c|0)==q[73551]|(b|0)==q[73552]&(c|0)==q[73553])){if((b|0)!=q[73554]|(c|0)!=q[73555]){break b}}return Wu(b,c,a+32|0,(f+w(e,240)|0)- -64|0,294192)|0}c:{if(!((b|0)==q[73562]&(c|0)==q[73563]|((b|0)==q[73558]&(c|0)==q[73559]|(b|0)==q[73560]&(c|0)==q[73561]))){if((b|0)!=q[73564]|(c|0)!=q[73565]){break c}}return Wu(b,c,a+32|0,(f+w(e,240)|0)+48|0,294232)|0}d:{if(!((b|0)==q[73568]&(c|0)==q[73569]|(b|0)==q[73570]&(c|0)==q[73571]|((b|0)==q[73572]&(c|0)==q[73573]|(b|0)==q[73574]&(c|0)==q[73575]))){if((b|0)!=q[73576]|(c|0)!=q[73577]){break d}}return Vz(b,c,a+32|0,(f+w(e,240)|0)+80|0,294272)|0}e:{if(!((b|0)==q[73580]&(c|0)==q[73581]|(b|0)==q[73582]&(c|0)==q[73583]|((b|0)==q[73584]&(c|0)==q[73585]|(b|0)==q[73586]&(c|0)==q[73587]))){if((b|0)!=q[73588]|(c|0)!=q[73589]){break e}}return Vz(b,c,a+32|0,(f+w(e,240)|0)+96|0,294320)|0}f:{if(!((b|0)==q[73592]&(c|0)==q[73593]|(b|0)==q[73594]&(c|0)==q[73595]|((b|0)==q[73596]&(c|0)==q[73597]|(b|0)==q[73598]&(c|0)==q[73599]))){if((b|0)!=q[73600]|(c|0)!=q[73601]){break f}}return Vz(b,c,a+32|0,(f+w(e,240)|0)+112|0,294368)|0}if((b|0)==q[73524]&(c|0)==q[73525]){b=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;a=f+w(e,240)|0;d=Em(b,c,q[73506],q[73507],a+224|0);break a}if((b|0)==q[73518]&(c|0)==q[73519]){b=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;a=f+w(e,240)|0;d=Em(b,c,q[73504],q[73505],a+228|0);break a}g=f+w(e,240)|0;d=q[g+224>>2];if(!d){d=q[q[g+216>>2]+4>>2]}return Xo(d,b,c,a+32|0,q[a+72>>2],428,f+w(e,240)|0)|0}}J(43678,43572,447,43689);G()}b=a;a=r[a+238|0];o[b+238|0]=(d?a&8:8)|a&247;return d|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;h=fi-256|0;fi=h;q[h+248>>2]=0;q[h+252>>2]=0;q[h+240>>2]=0;q[h+244>>2]=0;q[h+232>>2]=0;q[h+236>>2]=0;q[h+224>>2]=0;q[h+228>>2]=0;a:{b:{if(fm(a,h+224|0)){q[h+216>>2]=0;q[h+220>>2]=0;q[h+208>>2]=0;q[h+212>>2]=0;q[h+200>>2]=0;q[h+204>>2]=0;q[h+192>>2]=0;q[h+196>>2]=0;ok(a,b,h+192|0,h+224|0);c:{l=q[h+224>>2];m=q[h+228>>2];if((l|0)==q[h+192>>2]&(m|0)==q[h+196>>2]){d:{if(!c){break d}j=q[c>>2];if(!j){break d}n=q[j+4224>>2];i=q[j+4228>>2]}if((l|0)==(n|0)&(i|0)==(m|0)){break c}}ni(a,14605,0);break a}k=un(c,q[h+208>>2],q[h+212>>2]);if(!k){q[h>>2]=_i(a,b,0);ni(a,14675,h);break a}b=q[k+84>>2];m=q[b+4>>2];e:{if(m){o=q[b>>2];b=0;n=q[h+216>>2];i=q[h+220>>2];c=0;while(1){j=o+w(b,80)|0;l=q[q[j+16>>2]+96>>2];if(q[j>>2]==(n|0)&q[j+4>>2]==(i|0)){q[e>>2]=l&65536?q[(k+(c<<2)|0)+156>>2]:0;b=q[(o+w(b,80)|0)+20>>2];c=(d|0)!=0;break e}c=(l>>>16&1)+c|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(d|e){break b}c=0}i=q[q[q[k+80>>2]+8>>2]>>2];if(t[q[i+4>>2]>>2]>b>>>0){i=q[(i+(b<<2)|0)+12>>2]}else{i=0}if(g){q[g>>2]=i}f:{if(!c){break f}g=0;c=q[q[k+80>>2]+8>>2];g:{if(!c){break g}c=q[c>>2];if(!c){break g}g=q[c>>2]}if(jl(g,d,h+60|0)){q[h+48>>2]=d;ni(a,14736,h+48|0);break a}g=0;c=q[q[k+80>>2]+8>>2];h:{if(!c){break h}c=q[c>>2];if(!c){break h}g=q[c+4>>2]}b=w(b,104)+g|0;if(q[b+8>>2]!=q[h+60>>2]){q[h+36>>2]=q[b+12>>2];q[h+32>>2]=d;ni(a,14766,h+32|0);break a}a=q[b+56>>2];if(!a){break f}q[h+68>>2]=e;q[h+64>>2]=i;q[e>>2]=ji[a|0](h- -64|0)}if(!f){break a}a=q[h+196>>2];q[f>>2]=q[h+192>>2];q[f+4>>2]=a;a=q[h+220>>2];q[f+24>>2]=q[h+216>>2];q[f+28>>2]=a;a=q[h+212>>2];q[f+16>>2]=q[h+208>>2];q[f+20>>2]=a;a=q[h+204>>2];q[f+8>>2]=q[h+200>>2];q[f+12>>2]=a;break a}ni(a,14817,0);break a}q[h+16>>2]=gs(h+192|0,h- -64|0,128);ni(a,14697,h+16|0)}fi=h+256|0}function ev(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=fi-16|0;fi=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(!b){c=s[a+138>>1];d=c>>>16|0;g=c<<16;if(!(d|g^2147418112)){break d}f=q[a+80>>2];if(q[f+2104>>2]-q[f+2100>>2]>>1>>>0>=t[f+2052>>2]){break g}c=a+136|0;break j}c=q[b+140>>2];if(!0&(q[b+136>>2]&255)>>>0>=127|d){q[i>>2]=127;mi(4,7277,8960,i);e=-6;break d}f=q[a+80>>2];c=c&32767;if((c|0)!=32767){d=q[f+2056>>2];e=q[f+2060>>2]-d>>2;while(1){if(c>>>0>=e>>>0){break a}c=q[d+(c<<2)>>2];if((c|0)==(a|0)){break h}c=s[c+138>>1];if((c|0)!=32767){continue}break}}if(q[b+80>>2]!=(f|0)){break c}c=q[a+136>>2];d=((c&255)<<4)+f|0;if(t[f+2052>>2]<=q[d+2120>>2]-q[d+2116>>2]>>1>>>0){break i}g=c&-65536;d=0;c=a+136|0}if(d|g^2147418112){hA(f,a)}Ns(f,a);if(!b){break f}e=q[b+148>>2];d=e>>>16&32767;if((d|0)!=32767){e=q[f+2056>>2];if(d>>>0>=q[f+2060>>2]-e>>2>>>0){break a}d=q[e+(d<<2)>>2];e=q[d+136>>2];d=q[d+140>>2];if(r[b+136|0]!=((e&255)-1|0)){break b}q[a+148>>2]=q[a+148>>2]&-32768|d&32767;e=q[b+148>>2]}q[b+148>>2]=((q[c+4>>2]&65535)<<16|q[c>>2]>>>16)&2147418112|e&-2147418113;g=q[c+4>>2];e=q[c>>2];h=((q[b+140>>2]&65535)<<16|q[b+136>>2]>>>16)&2147418112|e&65535;q[c>>2]=h;d=g;q[c+4>>2]=d;g=h&2147483392;h=s[c+8>>1];c=e;b=s[b+136>>1]+1&255;break e}J(9154,7150,2938,9144);G()}mi(4,7277,9018,0);e=-7;break d}J(9235,7150,2942,9144);G()}b=q[c>>2];g=b&65280;d=q[c+4>>2];h=s[c+8>>1];c=b;b=2147418112}q[a+136>>2]=b|g;q[a+140>>2]=d;p[a+144>>1]=h;lv(f,a);e=0;b=c&255;d=r[a+136|0];c=b-d|0;if((c|0)>=0){if(!c){break d}b=a;a=0;while(1){oA(f,q[b+148>>2]);a=a+1|0;if((c|0)!=(a|0)){continue}break}break d}b=d-b|0;c=(b|0)>1?b:1;b=a;a=0;while(1){iK(f,q[b+148>>2]);a=a+1|0;if((c|0)!=(a|0)){continue}break}}fi=i+16|0;return e}J(9100,7150,2937,9144);G()}J(9301,7150,2962,9144);G()}J(12475,10090,447,9406);G()}function eka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=fi-96|0;fi=e;g=q[a>>2];d=q[g>>2];c=qi(Ci(112),0,112);q[c+52>>2]=0;q[c+56>>2]=0;q[c+32>>2]=-1;q[c+60>>2]=0;q[c+64>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;b=q[g+8>>2];f=q[a+16>>2];q[e+88>>2]=c+96;b=b>>>0>f>>>0?f:b;q[e+92>>2]=b;a:{f=r3(e+88|0);b:{if(f){q[e>>2]=f;mi(5,46420,46428,e);f=-1e3;break b}q6(c,b);if(o[c+64|0]&1){break a}vi(b,272,c+52|0,c+60|0,c+56|0);q[e+72>>2]=q[60298];f=q[60297];b=e- -64|0;q[b>>2]=q[60296];q[b+4>>2]=f;b=q[60295];q[e+56>>2]=q[60294];q[e+60>>2]=b;b=q[60293];q[e+48>>2]=q[60292];q[e+52>>2]=b;b=q[60291];q[e+40>>2]=q[60290];q[e+44>>2]=b;b=q[60289];q[e+32>>2]=q[60288];q[e+36>>2]=b;b=q[60287];q[e+24>>2]=q[60286];q[e+28>>2]=b;b=q[60285];q[e+16>>2]=q[60284];q[e+20>>2]=b;b=q[d+2208>>2];q[c+68>>2]=ji[q[74910]](b,e+16|0,3);q[c+100>>2]=ji[q[74901]](b);q[c+72>>2]=Ci(64);d=Ci(260);q[d>>2]=16;q[c+76>>2]=qi(d+4|0,0,256);d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+4>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+8>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+12>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+16>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+20>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+24>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+28>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+32>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+36>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+40>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+44>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+48>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+52>>2]=d;d=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+56>>2]=d;b=ji[q[74895]](b,0,0,1)|0;q[q[c+72>>2]+60>>2]=b;q[q[a+12>>2]>>2]=c;Ip(q[g+4>>2],435,c);f=0}fi=e+96|0;return f|0}J(47221,47134,461,47296);G()}function Eoa(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:{e=Js(a);f:{if(o[e+108|0]&1){a=q[e+48>>2];if(!a){break f}c=q[q[e+44>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break f}a=q[e+52>>2];while(1){d=a+w(c,12)|0;if(q[d>>2]!=(b|0)){c=q[d+8>>2];if((c|0)!=-1){continue}break f}break}c=s[(a+w(c,12)|0)+4>>1];if((c|0)==65535){break f}while(1){b=c&65535;a=q[e+16>>2];if(b>>>0>=q[e+20>>2]-a>>1>>>0){break a}a=s[a+(b<<1)>>1];c=q[e>>2];if(a>>>0>=(q[e+4>>2]-c|0)/104>>>0){break a}a=c+w(a,104)|0;o[a+96|0]=r[a+96|0]&252;c=s[a+94>>1];if((c|0)!=65535){continue}break}break f}a=q[e+48>>2];if(!a){break f}i=e+44|0;c=q[q[i>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break f}a=q[e+52>>2];while(1){d=a+w(c,12)|0;if(q[d>>2]!=(b|0)){c=q[d+8>>2];if((c|0)!=-1){continue}break f}break}a=s[(a+w(c,12)|0)+4>>1];if((a|0)!=65535){d=q[e+4>>2];c=q[e>>2];h=(d-c|0)/104|0;while(1){f=q[e+16>>2];if(q[e+20>>2]-f>>1>>>0<=a>>>0){break a}g=(d-c|0)/104|0;d=s[f+(a<<1)>>1];if(g>>>0<=d>>>0){break a}c=w(d,104)+c|0;o[c+96|0]=r[c+96|0]&252;d=q[c+76>>2];if(d){ji[d|0](q[c>>2],q[c+8>>2],q[c+12>>2],q[c+16>>2],q[c+20>>2],0,q[c+80>>2],q[c+84>>2]);bK(e,c)}d=q[c+36>>2];if(d){ji[d|0](c+28|0)}f=q[e+32>>2];if(!f){break e}d=s[e+38>>1];if(!d|d>>>0>s[e+36>>1]){break d}d=d-1|0;p[e+38>>1]=d;p[f+((d&65535)<<1)>>1]=a;d=q[e>>2];j=(c-d|0)/104|0;f=j&65535;g=q[e+4>>2];if(f>>>0>=(g-d|0)/104>>>0){break c}a=s[c+94>>1];k=w(f,104);si(d+k|0,g-104|0,97);d=q[e+4>>2]-104|0;q[e+4>>2]=d;c=q[e>>2];if(d>>>0>>0){break b}h=h-1|0;if(f>>>0>>0){g=s[(c+k|0)+92>>1];f=q[e+16>>2];if(g>>>0>=q[e+20>>2]-f>>1>>>0){break a}p[f+(g<<1)>>1]=j}if((a|0)!=65535){continue}break}}Iu(i,b)}return}J(6142,6149,140,6740);G()}J(6745,6149,141,6740);G()}J(6865,6437,481,6880);G()}J(6890,6437,484,6880);G()}J(6718,6437,447,6729);G()}function Goa(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,p=0,s=x(0),t=0,w=0,y=0,z=x(0),A=0,B=0,C=0;n=fi-272|0;fi=n;a:{if(!b){o=-6;break a}p=ap(n+192|0);o=q[n+188>>2];q[n+88>>2]=q[n+184>>2];q[n+92>>2]=o;q[n+176>>2]=0;o=q[n+180>>2];q[n+80>>2]=q[n+176>>2];q[n+84>>2]=o;o=Xq(b,c,d,e,f,n+80|0,p);if(o){break a}o=-9;if(r[p+76|0]){break a}w=q[h>>2];t=q[p+32>>2];if((w|0)!=(t|0)){o=-4;if(t-3>>>0>1|w){break a}s=x(v[h+8>>3]);b:{if((t|0)==3){u[n+120>>2]=s;u[n+116>>2]=s;u[n+112>>2]=s;q[n+136>>2]=3;u[n+144>>2]=u[n+112>>2];u[n+148>>2]=u[n+116>>2];u[n+152>>2]=u[n+120>>2];break b}u[n+108>>2]=s;u[n+104>>2]=s;u[n+100>>2]=s;u[n+96>>2]=s;$o(n+136|0,n+96|0)}o=q[n+140>>2];q[h>>2]=q[n+136>>2];q[h+4>>2]=o;o=q[n+172>>2];q[h+32>>2]=q[n+168>>2];q[h+36>>2]=o;o=q[n+164>>2];q[h+24>>2]=q[n+160>>2];q[h+28>>2]=o;o=q[n+156>>2];q[h+16>>2]=q[n+152>>2];q[h+20>>2]=o;o=q[n+148>>2];q[h+8>>2]=q[n+144>>2];q[h+12>>2]=o;w=q[p+32>>2]}o=-3;c:{d:{switch(w|0){case 4:case 5:w=4;case 3:a=Js(a);q[n+72>>2]=q[i+16>>2];t=q[i+12>>2];o=n- -64|0;q[o>>2]=q[i+8>>2];q[o+4>>2]=t;o=q[i+4>>2];q[n+56>>2]=q[i>>2];q[n+60>>2]=o;o=-7;if(!nA(a,b,c,d,e,f,g,0,x(0),x(0),n+56|0,j,k,l,m,1)){break a}q[i+8>>2]=0;l=h+8|0;m=p+40|0;h=0;while(1){e=h<<2;s=u[e+l>>2];z=u[e+m>>2];f=p+(h<<3)|0;t=q[f>>2];A=q[f+4>>2];f=q[p+72>>2];q[n+48>>2]=q[i+16>>2];y=q[i+12>>2];q[n+40>>2]=q[i+8>>2];q[n+44>>2]=y;y=q[i+4>>2];q[n+32>>2]=q[i>>2];q[n+36>>2]=y;if(!nA(a,b,c,d,t,A,g,f?e+f|0:0,z,s,n+32|0,j,k,0,0,0)){break a}h=h+1|0;if((w|0)!=(h|0)){continue}break}break c;case 0:break d;default:break a}}a=Js(a);B=v[p+40>>3];p=q[p+72>>2];C=v[h+8>>3];q[n+24>>2]=q[i+16>>2];h=q[i+12>>2];q[n+16>>2]=q[i+8>>2];q[n+20>>2]=h;h=q[i+4>>2];q[n+8>>2]=q[i>>2];q[n+12>>2]=h;o=-7;if(!nA(a,b,c,d,e,f,g,p,x(B),x(C),n+8|0,j,k,l,m,0)){break a}}o=0}fi=n+272|0;return o}function Di(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=fi-48|0;fi=h;a:{if(o[291880]&1){break a}if(!ui(291880)){break a}if(r[852367]){f=Ri(25947)}else{f=-1}q[72969]=f;ti(291880)}b:{if(o[291888]&1){break b}if(!ui(291888)){break b}if(r[852367]){f=Yi(26398,7)}else{f=0}q[72971]=f;ti(291888)}c=q[72969];c:{if((c|0)!=-1){Qi(h+32|0,c,26398,q[72971]);break c}q[h+32>>2]=0}d:{e=q[a+4>>2];c=q[e+4>>2];e:{if(!c){break e}c=q[q[e>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break e}e=q[e+8>>2];while(1){g=e+w(c,24)|0;if(q[g>>2]==(b|0)){break d}c=q[g+16>>2];if((c|0)!=-1){continue}break}}J(26377,24439,1642,26398);G()}f:{g=q[a>>2];d=q[g+4>>2];g:{if(!d){break g}e=e+w(c,24)|0;c=e;f=q[c+8>>2];i=q[c+12>>2];c=q[q[g>>2]+(lwa(f,i,d)<<2)>>2];if((c|0)==-1){break g}g=q[g+8>>2];while(1){d=g+w(c,48)|0;if((f|0)==q[d>>2]&(i|0)==q[d+4>>2]){break f}c=q[d+40>>2];if((c|0)!=-1){continue}break}}J(26328,24439,1645,26398);G()}d=g+w(c,48)|0;f=d;i=q[d+36>>2];if(i){j=f;f=i-1|0;q[j+36>>2]=f;h:{if(f){break h}c=q[(g+w(c,48)|0)+32>>2];i:{if(o[291896]&1){break i}if(!ui(291896)){break i}if(r[852367]){f=Ri(26406)}else{f=-1}q[72973]=f;ti(291896)}g=d+8|0;d=q[72973];j:{if((d|0)!=-1){Qi(h+16|0,d,q[c+8>>2],q[c>>2]);break j}q[h+16>>2]=0}q[h>>2]=a;d=q[c+12>>2];q[h+8>>2]=g;q[h+4>>2]=d;ji[q[c+28>>2]](h)|0;kH(q[a+4>>2],b);S7(q[a>>2],q[e+8>>2],q[e+12>>2]);a=q[a+8>>2];if(a){b=q[e+8>>2];e=q[e+12>>2];k:{c=q[a+4>>2];l:{if(!c){break l}c=q[q[a>>2]+(lwa(b,e,c)<<2)>>2];if((c|0)==-1){break l}g=q[a+8>>2];while(1){d=g+(c<<4)|0;if((b|0)==q[d>>2]&(e|0)==q[d+4>>2]){break k}c=q[d+12>>2];if((c|0)!=-1){continue}break}}PH(a,b,e);J(26422,24439,1667,26398);G()}PH(a,b,e);ki(q[(g+(c<<4)|0)+8>>2])}if(!q[h+16>>2]){break h}Pi(h+16|0)}if(q[h+32>>2]){Pi(h+32|0)}fi=h+48|0;return}J(26331,24439,1646,26398);G()}function pu(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-3136|0;fi=f;a:{if(o[291908]&1){break a}if(!ui(291908)){break a}if(r[852367]){g=Ri(25947)}else{g=-1}q[72976]=g;ti(291908)}b:{if(o[291916]&1){break b}if(!ui(291916)){break b}if(r[852367]){g=Yi(27188,12)}else{g=0}q[72978]=g;ti(291916)}g=q[72976];c:{if((g|0)!=-1){Qi(f+3120|0,g,27188,q[72978]);break c}q[f+3120>>2]=0}d:{e:{f:{g:{g=q[a+7408>>2];h:{if(g){if(!WF(g,c,d,e)){break h}}q[f+36>>2]=b;q[f+32>>2]=a+5316;cj(f+2096|0,1024,24348,f+32|0);g=0;h=f+2096|0;i=h;i:{while(1){j:{b=r[i|0];k:{l:{if((b|0)!=47){if(b){break l}o[h|0]=0;if(!q[a+7364>>2]){break i}q[d>>2]=0;q[a+7392>>2]=-1;q[a+7396>>2]=0;q[a+7372>>2]=e;q[a+7400>>2]=-1;q[a+7404>>2]=0;h$(f+2096|0,f+48|0);e=cH(q[a+7364>>2],f+48|0);if(!e){break j}b=-3;c=q[a+7400>>2];if((c|0)==404){break d}if((c|0)==304|(e|0)!=1){break j}q[f+16>>2]=c;mi(3,24355,27201,f+16|0);break e}if((g&255)==47){break k}}o[h|0]=b;h=h+1|0}i=i+1|0;g=b;continue}break}b=q[a+7404>>2];if(b){break d}m:{if(q[a+7400>>2]==304){break m}b=q[a+7392>>2];if((b|0)==-1){break m}c=q[a+7396>>2];if((c|0)==(b|0)){break m}q[f+8>>2]=c;q[f+4>>2]=b;q[f>>2]=f+2096;mi(4,24355,27233,f)}q[d>>2]=q[a+7396>>2];break h}a=q[a+7412>>2];if(a){b=WF(a,c,d,e);break d}b=-3;if(m$(f+48|0,f+2096|0)){break d}n:{switch(ds(f+48|0,f+44|0)+2|0){case 2:break n;case 0:break d;default:break e}}h=q[f+44>>2];i=q[e>>2];if(h>>>0>q[e+8>>2]-i>>>0){if(o[e+12|0]&1){break g}vi(h,1,e,e+8|0,e+4|0);i=q[e>>2];h=q[f+44>>2]}q[e+4>>2]=i;o:{switch(es(f+48|0,i,h,f+44|0)+2|0){case 2:break o;case 0:break d;default:break e}}a=q[f+44>>2];b=q[e>>2];if(a>>>0>q[e+8>>2]-b>>>0){break f}q[e+4>>2]=a+b;q[d>>2]=a}b=0;break d}J(27518,26974,461,27593);G()}J(27605,26974,474,27624);G()}b=-9}if(q[f+3120>>2]){Pi(f+3120|0)}fi=f+3136|0;return b}function UL(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,p=0,s=0,t=0;g=fi-16|0;fi=g;h=q[a+104>>2];c=r[h+88128|0];a:{if(h-15>>>0<=2){c=(c<<9)+302304|0;d=r[c+(r[a+22|0]<<1)|0];e=r[c+(r[a+21|0]<<1)|0];c=g+8|0;o[c+3|0]=255;o[c+2|0]=e;o[c+1|0]=e;o[c|0]=e;c=Iv(c);o[b|0]=c;o[b+1|0]=c>>>8;c=g+8|0;o[c+3|0]=255;o[c+2|0]=d;o[c+1|0]=d;o[c|0]=d;break a}c=(c<<9)+302304|0;e=r[c+(r[a+21|0]<<1)|0];f=r[c+(r[a+23|0]<<1)|0];i=r[c+(r[a+25|0]<<1)|0];d=g+8|0;o[d+3|0]=255;o[d+2|0]=i;o[d+1|0]=f;o[d|0]=e;d=Iv(d);o[b|0]=d;o[b+1|0]=d>>>8;d=r[c+(r[a+22|0]<<1)|0];e=r[c+(r[a+24|0]<<1)|0];f=r[c+(r[a+26|0]<<1)|0];c=g+8|0;o[c+3|0]=255;o[c+2|0]=f;o[c+1|0]=e;o[c|0]=d}c=Iv(c);o[b+2|0]=c;o[b+3|0]=c>>>8;f=r[b|0]|r[b+1|0]<<8;i=r[b+2|0]|r[b+3|0]<<8;b:{c:{if((r[b|0]|r[b+1|0]<<8)==(r[b+2|0]|r[b+3|0]<<8)){d:{if(!i){if(!f){a=0;f=1;c=85;break d}J(95088,85651,15675,95145);G()}a=i-1|0;if((a&65535)>>>0>=f>>>0){break b}c=0}o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=a;o[b+3|0]=a>>>8;a=w(c,16843009);o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break c}if(f>>>0>>0){dl(b,b+2|0);dl(b+1|0,b+3|0)}c=q[(r[h+88064|0]<<2)+254608>>2];e=a+39|0;d=r[h+88192|0]-1|0;h=r[c+r[e+(1<>>0>>0;c=a^r[c+r[e+(9<>>6;c=(c<<4|(a^s)<<2|a^p)<<4|(a^n)<<2|a^m;o[b+6|0]=c>>>6;c=(c<<4|(a^l)<<2|a^k)<<4|(a^j)<<2|a^h;o[b+5|0]=c>>>6;o[b+4|0]=a^t|c<<2}fi=g+16|0;return}J(95125,85651,15682,95145);G()}function Uva(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[73498]=li(42576);q[73499]=ii;q[73500]=li(42595);q[73501]=ii;q[73502]=li(42612);q[73503]=ii;q[73504]=li(42621);q[73505]=ii;q[73506]=li(42627);q[73507]=ii;q[73508]=li(42637);q[73509]=ii;q[73510]=li(42645);q[73511]=ii;q[73512]=li(42652);q[73513]=ii;q[73514]=li(42661);q[73515]=ii;q[73516]=li(42673);q[73517]=ii;q[73518]=li(42682);q[73519]=ii;q[73520]=li(42687);q[73521]=ii;q[73522]=li(42693);q[73523]=ii;q[73524]=li(42699);q[73525]=ii;q[73528]=li(42708);q[73529]=ii;q[73530]=li(42717);q[73531]=ii;q[73532]=li(42726);q[73533]=ii;q[73534]=li(42735);q[73535]=ii;q[73536]=li(42744);q[73537]=ii;q[73538]=li(42753);q[73539]=ii;q[73540]=li(42762);q[73541]=ii;q[73542]=li(42771);q[73543]=ii;q[73544]=li(42780);q[73545]=ii;q[73546]=li(42789);q[73547]=ii;a=li(42801);b=ii;c=li(42807);d=ii;e=li(42815);f=ii;g=li(42823);o[294224]=0;q[73554]=g;q[73555]=ii;q[73552]=e;q[73553]=f;q[73550]=c;q[73551]=d;q[73548]=a;q[73549]=b;a=li(42831);b=ii;c=li(42836);d=ii;e=li(42843);f=ii;g=li(42850);o[294264]=0;q[73564]=g;q[73565]=ii;q[73562]=e;q[73563]=f;q[73560]=c;q[73561]=d;q[73558]=a;q[73559]=b;a=li(42857);b=ii;c=li(42863);d=ii;e=li(42871);f=ii;g=li(42879);h=ii;i=li(42887);o[294312]=0;q[73576]=i;q[73577]=ii;q[73574]=g;q[73575]=h;q[73572]=e;q[73573]=f;q[73570]=c;q[73571]=d;q[73568]=a;q[73569]=b;a=li(42895);b=ii;c=li(42903);d=ii;e=li(42913);f=ii;g=li(42923);h=ii;i=li(42933);o[294360]=0;q[73588]=i;q[73589]=ii;q[73586]=g;q[73587]=h;q[73584]=e;q[73585]=f;q[73582]=c;q[73583]=d;q[73580]=a;q[73581]=b;a=li(42943);b=ii;c=li(42950);d=ii;e=li(42959);f=ii;g=li(42968);h=ii;i=li(42977);o[294408]=0;q[73600]=i;q[73601]=ii;q[73598]=g;q[73599]=h;q[73596]=e;q[73597]=f;q[73594]=c;q[73595]=d;q[73592]=a;q[73593]=b}function uB(a){var b=0,c=0,d=0,e=0,f=0;if(q[a+280>>2]>=1){while(1){b=q[a+412>>2]+w(f,24)|0;a:{if(q[b+16>>2]){d=q[a+140>>2];e=r[b+13|0];if(q[(d+w(e,2096)|0)+4>>2]>=1){c=0;while(1){if(!q[a+96>>2]){ki(q[q[b+16>>2]+(c<<2)>>2]);e=r[b+13|0];d=q[a+140>>2]}c=c+1|0;if((c|0)>2]){continue}break}}if(q[a+96>>2]){break a}ki(q[b+16>>2])}if(q[a+96>>2]){break a}ki(q[b+20>>2])}f=f+1|0;if((f|0)>2]){continue}break}}e=q[a+140>>2];b:{if(!e){break b}c:{if(q[a+136>>2]<1){break c}c=0;while(1){d:{if(q[a+96>>2]){break d}b=w(c,2096)+e|0;ki(q[b+8>>2]);if(q[a+96>>2]){break d}ki(q[b+28>>2]);if(q[a+96>>2]){break d}ki(q[b+32>>2]);if(q[a+96>>2]){break d}ki(q[b+2084>>2]);if(q[a+96>>2]){break d}b=q[b+2088>>2];ki(b?b-4|0:0)}c=c+1|0;if((c|0)>=q[a+136>>2]){break c}e=q[a+140>>2];continue}}if(q[a+96>>2]){break b}ki(q[a+140>>2])}e:{if(q[a+96>>2]){break e}ki(q[a+276>>2]);if(q[a+96>>2]){break e}ki(q[a+412>>2])}d=q[a+416>>2];if((d|0)>=1){c=0;while(1){if(!q[a+96>>2]){ki(q[(q[a+420>>2]+w(c,40)|0)+4>>2]);d=q[a+416>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}}if(!q[a+96>>2]){ki(q[a+420>>2])}c=0;if(q[a+4>>2]>0){while(1){f:{if(q[a+96>>2]){break f}b=(c<<2)+a|0;ki(q[b+816>>2]);if(q[a+96>>2]){break f}ki(q[b+944>>2]);if(q[a+96>>2]){break f}ki(q[b+1012>>2])}c=c+1|0;if((c|0)>2]){continue}break}}g:{if(q[a+96>>2]){break g}ki(q[a+1084>>2]);if(q[a+96>>2]){break g}ki(q[a+1092>>2]);if(q[a+96>>2]){break g}ki(q[a+1100>>2]);if(q[a+96>>2]){break g}ki(q[a+1108>>2]);if(q[a+96>>2]){break g}ki(q[a+1116>>2]);if(q[a+96>>2]){break g}ki(q[a+1088>>2]);if(q[a+96>>2]){break g}ki(q[a+1096>>2]);if(q[a+96>>2]){break g}ki(q[a+1104>>2]);if(q[a+96>>2]){break g}ki(q[a+1112>>2]);if(q[a+96>>2]){break g}ki(q[a+1120>>2])}if(q[a+28>>2]){Qj(q[a+20>>2])}}function xra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-224|0;fi=b;e=a;d=a;if((ri(a,1)|0)==8){f=1;e=In(a,1)}c=d;d=f|2;a:{if(Gj(c,d)){c=am(a,d);oi(a,-2);break a}c=(a|0)==(e|0)}b:{c:{if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){Bi(a,132925,0);break c}if(!$j(a,f+1|0)){break b}Bi(a,132630,1)}Bi(a,132926,16);d:{if(!Wk(e,c,b+120|0)){break d}g=b+156|0;d=0;while(1){h=c+1|0;e:{if(!(d&1)){d=c;while(1){c=d;d=h;if((c|0)>11){break e}Bi(a,132949,2);ln(e,132952,b+120|0);q[b+112>>2]=g;nj(a,132956,b+112|0);c=q[b+140>>2];if((c|0)>=1){q[b+96>>2]=c;nj(a,132960,b+96|0)}f:{if(r[q[b+128>>2]]){q[b+80>>2]=q[b+124>>2];nj(a,132964,b+80|0);break f}g:{h:{i:{j:{c=r[q[b+132>>2]];switch(c-109|0){case 1:case 2:case 3:case 4:case 5:case 6:break g;case 0:break h;case 7:break i;default:break j}}if((c|0)!=67){break g}}Bi(a,132997,2);break f}nj(a,132982,0);break f}q[b+64>>2]=g;q[b+68>>2]=q[b+148>>2];nj(a,133e3,b- -64|0)}Jl(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0);h=d+1|0;if(Wk(e,d,b+120|0)){continue}break}break d}while(1){d=h;Bi(a,132949,2);ln(e,132952,b+120|0);q[b+48>>2]=g;nj(a,132956,b+48|0);c=q[b+140>>2];if((c|0)>0){q[b+32>>2]=c;nj(a,132960,b+32|0)}k:{if(r[q[b+128>>2]]){q[b+16>>2]=q[b+124>>2];nj(a,132964,b+16|0);break k}l:{m:{n:{o:{c=r[q[b+132>>2]];switch(c-109|0){case 7:break l;case 1:case 2:case 3:case 4:case 5:case 6:break m;case 0:break o;default:break n}}nj(a,132982,0);break k}if((c|0)==67){break l}}q[b>>2]=g;q[b+4>>2]=q[b+148>>2];nj(a,133e3,b);break k}Bi(a,132997,2)}Jl(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0);h=d+1|0;if(Wk(e,d,b+120|0)){continue}break}break d}if(Wk(e,c+11|0,b+120|0)){Bi(a,132943,5);while(1){c=d;d=c+1|0;if(Wk(e,c+10|0,b+120|0)){continue}break}}d=1;if(Wk(e,c,b+120|0)){continue}break}}Jl(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0)}fi=b+224|0;return 1}function Cr(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-160|0;fi=f;g=-16512;if(!sr(a,1)){q[f+152>>2]=0;q[f+144>>2]=1;q[f+148>>2]=0;q[f+136>>2]=0;q[f+128>>2]=1;q[f+132>>2]=0;q[f+120>>2]=0;q[f+112>>2]=1;q[f+116>>2]=0;q[f+104>>2]=0;q[f+96>>2]=1;q[f+100>>2]=0;if(b){q[f+56>>2]=0;q[f+48>>2]=1;q[f+52>>2]=0;q[f+40>>2]=0;q[f+32>>2]=1;q[f+36>>2]=0}q[f+88>>2]=0;q[f+80>>2]=1;q[f+84>>2]=0;g=f- -64|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;g=Vm(f+144|0,d,q[a+4>>2]);a:{if(g){break a}g=-4;d=a+8|0;if((Dj(f+144|0,d)|0)>-1){break a}g=_j(f+16|0,f+144|0);if(g){break a}h=a+80|0;i=a+68|0;if(b){g=UQ(a,b,c);if(g){break a}g=Ak(f+144|0,f+144|0,a+140|0);if(g){break a}g=Lk(f+144|0,f+144|0,d);if(g){break a}g=tl(f+128|0,a+44|0,1);if(g){break a}g=tl(f+112|0,a+56|0,1);if(g){break a}g=En(f+96|0,28,b,c);if(g){break a}g=Ak(f+48|0,f+128|0,f+96|0);if(g){break a}g=vl(f+48|0,f+48|0,i);if(g){break a}g=En(f+96|0,28,b,c);if(g){break a}g=Ak(f+32|0,f+112|0,f+96|0);if(g){break a}g=vl(f+32|0,f+32|0,h);if(g){break a}i=f+48|0;h=f+32|0}c=a+44|0;g=co(f+80|0,f+144|0,i,c,a+116|0);if(g){break a}g=h;h=a+56|0;g=co(f- -64|0,f+144|0,g,h,a+128|0);if(g){break a}g=fl(f+144|0,f+80|0,f- -64|0);if(g){break a}g=Ak(f+80|0,f+144|0,a+92|0);if(g){break a}g=Lk(f+144|0,f+80|0,c);if(g){break a}g=Ak(f+80|0,f+144|0,h);if(g){break a}g=vl(f+144|0,f- -64|0,f+80|0);if(g){break a}if(b){g=Ak(f+144|0,f+144|0,a+152|0);if(g){break a}g=Lk(f+144|0,f+144|0,d);if(g){break a}}g=co(f,f+144|0,a+20|0,d,a+104|0);if(g){break a}g=-17280;if(Dj(f,f+16|0)){break a}g=hn(f+144|0,e,q[a+4>>2])}Ji(f+128|0);Ji(f+112|0);Ji(f+96|0);if(b){Ji(f+48|0);Ji(f+32|0)}Ji(f+144|0);Ji(f+80|0);Ji(f- -64|0);Ji(f);Ji(f+16|0);g=g?g-17152|0:0}fi=f+160|0;return g}function Tka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+4>>2];c=q[e+16>>2];d=q[q[a+24>>2]>>2];if(d>>>0>2]-c>>3>>>0){f=q[c+(d<<3)>>2];g=q[e>>2];if(f>>>0<(q[e+4>>2]-g|0)/240>>>0){a:{c=q[a+16>>2];d=q[a+20>>2];if(!((c|0)==q[73548]&(d|0)==q[73549]|(c|0)==q[73550]&(d|0)==q[73551]|(c|0)==q[73552]&(d|0)==q[73553])){if((c|0)!=q[73554]|(d|0)!=q[73555]){break a}}return bv(b,c,d,(g+w(f,240)|0)- -64|0,294192)|0}b:{if(!((c|0)==q[73562]&(d|0)==q[73563]|((c|0)==q[73558]&(d|0)==q[73559]|(c|0)==q[73560]&(d|0)==q[73561]))){if((c|0)!=q[73564]|(d|0)!=q[73565]){break b}}return bv(b,c,d,(g+w(f,240)|0)+48|0,294232)|0}c:{if(!((c|0)==q[73568]&(d|0)==q[73569]|(c|0)==q[73570]&(d|0)==q[73571]|((c|0)==q[73572]&(d|0)==q[73573]|(c|0)==q[73574]&(d|0)==q[73575]))){if((c|0)!=q[73576]|(d|0)!=q[73577]){break c}}return cA(b,c,d,(g+w(f,240)|0)+80|0,294272)|0}d:{if(!((c|0)==q[73580]&(d|0)==q[73581]|(c|0)==q[73582]&(d|0)==q[73583]|((c|0)==q[73584]&(d|0)==q[73585]|(c|0)==q[73586]&(d|0)==q[73587]))){if((c|0)!=q[73588]|(d|0)!=q[73589]){break d}}return cA(b,c,d,(g+w(f,240)|0)+96|0,294320)|0}e:{if(!((c|0)==q[73592]&(d|0)==q[73593]|(c|0)==q[73594]&(d|0)==q[73595]|((c|0)==q[73596]&(d|0)==q[73597]|(c|0)==q[73598]&(d|0)==q[73599]))){if((c|0)!=q[73600]|(d|0)!=q[73601]){break e}}return cA(b,c,d,(g+w(f,240)|0)+112|0,294368)|0}if((c|0)==q[73524]&q[73525]==(d|0)){e=q[q[q[a+8>>2]+80>>2]>>2];c=g+w(f,240)|0;a=q[c+224>>2];if(!a){a=q[q[c+216>>2]+4>>2]}return gm(e,a,b)|0}if((c|0)==q[73518]&q[73519]==(d|0)){e=q[q[q[a+8>>2]+80>>2]>>2];c=g+w(f,240)|0;a=q[c+228>>2];if(!a){a=q[q[c+216>>2]+8>>2]}return gm(e,a,b)|0}h=g+w(f,240)|0;e=q[h+224>>2];if(!e){e=q[q[h+216>>2]+4>>2]}return Hs(e,c,d,q[a+32>>2],b,0,427,g+w(f,240)|0)|0}}J(43678,43572,447,43689);G()}function WJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi+ -64|0;fi=d;a=q[a>>2];a:{if(o[290188]&1){break a}if(!ui(290188)){break a}if(r[852367]){f=Ri(7503)}else{f=-1}q[72546]=f;ti(290188)}b:{if(o[290196]&1){break b}if(!ui(290196)){break b}if(r[852367]){f=Yi(12064,6)}else{f=0}q[72548]=f;ti(290196)}c=q[72546];c:{if((c|0)!=-1){Qi(d+48|0,c,12064,q[72548]);break c}q[d+48>>2]=0}d:{if(o[290204]&1){break d}if(!ui(290204)){break d}if(r[852367]){f=Ek(12071)}else{f=-1}q[72550]=f;ti(290204)}e:{f:{g:{h:{c=q[72550];i:{if((c|0)!=-1){Fk(c,s[a+2078>>1]);break i}if(!a){break h}}j:{if(o[a+4276|0]&1){mi(4,7277,12081,0);break j}c=s[a+4272>>1];if((c|0)!=32767){while(1){c=c&65535;e=q[a+2056>>2];if(c>>>0>=q[a+2060>>2]-e>>2>>>0){break g}e=q[e+(c<<2)>>2];uA(a,e);c=s[e+146>>1];p[e+146>>1]=32767;if((c|0)!=32767){continue}break}}q[a+4272>>2]=2147450879}f=1;e=r[a+4276|0]|1;o[a+4276|0]=e;c=q[a+4>>2];i=q[c>>2];if(!i){break e}k=a+4224|0;e=0;while(1){g=s[((e<<1)+c|0)+26528>>1];h=g<<2;j=q[(h+c|0)+27040>>2];if((j|0)!=-1){Fk(j,q[(a+h|0)+1032>>2])}c=w(g,104)+c|0;if(!(!(r[c+106|0]&2)|!(r[a+4276|0]&8))){Op(a)}if(q[c+60>>2]){k:{if(o[290212]&1){break k}if(!ui(290212)){break k}if(r[852367]){g=Ri(7503)}else{g=-1}q[72552]=g;ti(290212)}g=q[72552];l:{if((g|0)!=-1){Qi(d+32|0,g,q[c+12>>2],q[c+16>>2]);break l}q[d+32>>2]=0}g=q[a+8>>2];q[d+20>>2]=b;q[d+16>>2]=g;q[d+24>>2]=q[(a+h|0)+12>>2];q[d+28>>2]=q[c+24>>2];o[d+8|0]=0;c=ji[q[c+60>>2]](d+16|0,d+8|0)|0;h=r[a+4276|0];o[a+4276|0]=h&8|r[d+8|0]<<3|h&247;if(q[d+32>>2]){Pi(d+32|0)}f=!c&f}f=f&ov(a,k,1);e=e+1|0;if((i|0)==(e|0)){break f}c=q[a+4>>2];continue}}J(8822,7150,2449,12064);G()}J(12475,10090,447,9406);G()}e=r[a+4276|0]}o[a+4276|0]=e&254;if(e&8){Op(a)}if(q[d+48>>2]){Pi(d+48|0)}fi=d- -64|0;return f}function dka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-80|0;fi=f;c=q[a+4>>2];b=q[c+16>>2];d=q[q[a+12>>2]>>2];if(d>>>0>2]-b>>3>>>0){b=q[b+(d<<3)>>2];g=q[c+4>>2];c=q[c>>2];if(b>>>0>2>>>0){c=q[c+(b<<2)>>2];b=q[a+16>>2];d=q[b+64>>2];e=q[59647];g=q[b+68>>2];a:{if((d|0)==q[e+8>>2]&(g|0)==q[e+12>>2]){o[c+238|0]=r[c+238|0]|1;a=q[c+132>>2];o[a+224|0]=r[a+224|0]&251|4;break a}e=q[59648];if((d|0)==q[e+8>>2]&(g|0)==q[e+12>>2]){o[c+238|0]=r[c+238|0]&254;a=q[c+132>>2];o[a+224|0]=r[a+224|0]&251;break a}if(!q[b+80>>2]){break a}e=q[61990];if((d|0)==q[e+8>>2]&(g|0)==q[e+12>>2]){if(KF(q[c+132>>2],q[b+96>>2],q[b+100>>2],q[b+104>>2],u[b+108>>2],u[b+112>>2],u[b+116>>2])){break a}b=q[a+16>>2];d=q[b+4>>2];q[c+144>>2]=q[b>>2];q[c+148>>2]=d;d=q[b+28>>2];q[c+168>>2]=q[b+24>>2];q[c+172>>2]=d;d=q[b+20>>2];q[c+160>>2]=q[b+16>>2];q[c+164>>2]=d;d=q[b+12>>2];q[c+152>>2]=q[b+8>>2];q[c+156>>2]=d;q[c+176>>2]=q[q[a+16>>2]+76>>2];break a}e=q[61991];if((d|0)==q[e+8>>2]&(g|0)==q[e+12>>2]){a=q[c+132>>2];a=((o[a+224|0]&1)<<5)+a|0;o[a+28|0]=r[a+28|0]&254;break a}e=q[61188];if((d|0)==q[e+8>>2]&(g|0)==q[e+12>>2]){d=q[c+216>>2];if(!d){d=q[q[c+128>>2]+8>>2]}g=q[b+100>>2];e=q[b+96>>2];u[f+16>>2]=u[b+112>>2];u[f+20>>2]=u[b+116>>2];u[f+24>>2]=u[b+120>>2];u[f+28>>2]=u[b+124>>2];if((Xo(d,e,g,$o(f+40|0,f+16|0),q[b+128>>2],439,c)|0)!=-1){break a}a=q[a+16>>2];c=_m(q[a+32>>2],q[a+36>>2]);d=Ei(q[a+48>>2],q[a+52>>2]);a=Ei(q[a+56>>2],q[a+60>>2]);q[f+12>>2]=Ei(q[b+96>>2],q[b+100>>2]);q[f+8>>2]=a;q[f+4>>2]=d;q[f>>2]=c;mi(4,46420,46807,f);break a}a=q[61206];if(q[a+8>>2]!=(d|0)|q[a+12>>2]!=(g|0)){break a}a=q[c+180>>2];if(!a){break a}if(!dv(a,q[b+96>>2],q[b+100>>2])){break a}o[c+238|0]=r[c+238|0]|8}fi=f+80|0;return 0}}J(47308,47134,447,47319);G()}function Qq(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,p=0,v=0,y=0,z=0,A=0,C=0,D=0,E=x(0);n=fi-32|0;fi=n;a:{b:{c:{p=b&65535;m=q[a+32>>2];if(p>>>0<(q[a+36>>2]-m|0)/576>>>0){if(s[(m+w(p,576)|0)+552>>1]!=(b>>>16|0)){break c}q[n+24>>2]=0;q[n+16>>2]=0;q[n+20>>2]=0;q[n+8>>2]=0;q[n+12>>2]=0;A=q[a+52>>2];p=q[a+48>>2];m=p;D=A-m|0;if(D){z=(D|0)/72|0;m=p;while(1){C=z>>>1|0;v=w(C,72)+m|0;y=t[v+4>>2]>>0;m=y?v+72|0:m;z=y?(C^-1)+z|0:C;if(z){continue}break}}d:{e:{f:{if(!((m|0)==(A|0)|q[m+4>>2]!=(c|0))){m=m-p|0;y=(m|0)/72|0;if((m|0)!=-72){break f}}v=(D|0)/72|0;m=q[a+56>>2];if((m|0)==(A|0)){q[n>>2]=v;mi(3,184623,187001,n);a=0;break d}D=(m-p|0)/72|0;m=v+1|0;if(D>>>0>>0){break b}A=w(m,72)+p|0;q[a+52>>2]=A;break e}if(y>>>0>=(D|0)/72>>>0){break a}v=w(y,72)+p|0;m=q[v+56>>2];if(!m|r[v+68|0]&2){break e}p=w(y,72)+p|0;ji[m|0](a,q[p>>2],0,q[p+60>>2],q[p+64>>2]);A=q[a+52>>2];p=q[a+48>>2]}q[n+24>>2]=q[e+16>>2];m=q[e+12>>2];q[n+16>>2]=q[e+8>>2];q[n+20>>2]=m;m=q[e+4>>2];q[n+8>>2]=q[e>>2];q[n+12>>2]=m;C=A-72|0;e=C-p|0;g:{if(!e){m=p;break g}z=(e|0)/72|0;m=p;while(1){y=z>>>1|0;e=w(y,72)+m|0;v=t[e+4>>2]>>0;m=v?e+72|0:m;z=v?(y^-1)+z|0:y;if(z){continue}break}}E=x(B(g,x(0)));g=x(B(h,x(0)));if(!((m|0)==(C|0)|q[m+4>>2]==(c|0))){Kk(m+72|0,m,C-m|0)}u[m+28>>2]=i;u[m+24>>2]=E;q[m+20>>2]=0;u[m+16>>2]=g;u[m+12>>2]=d;q[m+4>>2]=c;q[m>>2]=b;y=q[n+16>>2];v=q[n+20>>2];e=q[n+24>>2];c=q[n+8>>2];b=q[n+12>>2];o[m+68|0]=1;q[m+64>>2]=l;q[m+60>>2]=k;q[m+56>>2]=j;q[m+52>>2]=f;q[m+48>>2]=e;q[m+40>>2]=y;q[m+44>>2]=v;q[m+32>>2]=c;q[m+36>>2]=b;b=q[a+48>>2];c=(q[a+52>>2]-b|0)/72|0;a=(m-p|0)/72|0;if(c>>>0<=a>>>0){break a}a=b+w(a,72)|0}fi=n+32|0;return a}break a}J(184508,184532,3404,186984);G()}J(187316,186599,474,187335);G()}J(186773,186599,447,186784);G()}function Ita(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!Lv(b,c)){break a}b:{if(!r[b+20|0]){if(q[a+8>>2]){_L(a)}c:{if((r[b+21|0]|r[b+22|0]<<8)&8){if(!q[a>>2]|!q[q[a>>2]+8>>2]|(q[q[a>>2]+8>>2]!=(r[b+39|0]|r[b+40|0]<<8)|q[q[a>>2]+20>>2]!=(r[b+48|0]|r[b+49|0]<<8))){break a}d=b+61|0;if(!(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break a}e=b+57|0;if((r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>c>>>0){break a}if(c-(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>=(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))>>>0){break c}break a}if(!(r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16))|!(r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))){break a}d=b+61|0;if(!(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break a}h=b+41|0;g=h;if((r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24))>>>0>c>>>0){break a}g=b+50|0;f=g;if((r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0>c>>>0){break a}e=b+57|0;if((r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>c>>>0){break a}f=h;if(c-(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0<(r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16))>>>0){break a}f=g;if(c-(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0<(r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))>>>0|c-(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0<(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))>>>0){break a}if(!Pta(a,r[b+39|0]|r[b+40|0]<<8,(r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24))+b|0,r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16),r[b+48|0]|r[b+49|0]<<8,(r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24))+b|0,r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))){break a}}if(Ota(a,(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))+b|0,r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break b}break a}if(!q[a+8>>2]){break b}_L(a)}o[a+589|0]=1}}function MG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=fi-128|0;fi=h;e=q[212988];while(1){f=q[e+32>>2];q[e+32>>2]=f?f:1;if(f){continue}break}a:{b:{c:{g=q[212988];f=q[g+4>>2];d:{if(!f){break d}f=q[q[g>>2]+(lwa(a,b,f)<<2)>>2];if((f|0)==-1){break d}k=q[g+8>>2];while(1){g=(f<<6)+k|0;if((a|0)==q[g>>2]&(b|0)==q[g+4>>2]){break c}f=q[g+56>>2];if((f|0)!=-1){continue}break}}q[e+32>>2]=0;break b}g=(f<<6)+k|0;a=q[g+8>>2];if(!a){break a}i=g+8|0;q[i>>2]=a+1;b=0;q[e+32>>2]=0;tj(q[g+36>>2]);e:{f:{if(q[g+24>>2]){if(r[852367]){break f}a=0;break e}lj(q[g+36>>2]);a=q[212988];while(1){b=q[a+32>>2];q[a+32>>2]=b?b:1;if(b){continue}break}b=q[i>>2]-1|0;q[i>>2]=b;q[a+32>>2]=0;if(b){break b}xs(i);break b}b=q[((f<<6)+k|0)+32>>2];o[h+8|0]=r[157299];a=r[157295]|r[157296]<<8|(r[157297]<<16|r[157298]<<24);q[h>>2]=r[157291]|r[157292]<<8|(r[157293]<<16|r[157294]<<24);q[h+4>>2]=a;a=h|9;e=h+127|0;g:{while(1){j=r[b|0];if(!j){break g}o[a|0]=j;b=b+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=e}o[a|0]=0;a=a-h|0;b=Yi(h,a);a=yu(h,a,b)}h:{if(o[852e3]&1){break h}if(!ui(852e3)){break h}if(r[852367]){e=Ri(157031)}else{e=-1}q[212999]=e;ti(852e3)}e=q[212999];i:{if((e|0)!=-1){Qi(h,e,a,b);break i}q[h>>2]=0}a=q[g+24>>2];j=0;q[g+24>>2]=0;e=(f<<6)+k|0;q[e+28>>2]=0;b=q[e+52>>2];q[e+52>>2]=0;lj(q[g+36>>2]);if(a){while(1){ji[c|0](a,d);e=q[a+92>>2];if(e){ji[e|0](a)}j=j+1|0;a=q[a+88>>2];if(a){continue}break}}tj(q[g+36>>2]);if(b){c=(f<<6)+k|0;f=q[c+48>>2];while(1){a=b;b=q[a+4100>>2];q[a+4100>>2]=f;f=a;if(b){continue}break}q[c+48>>2]=f}lj(q[g+36>>2]);a=q[212988];while(1){b=q[a+32>>2];q[a+32>>2]=b?b:1;if(b){continue}break}b=q[i>>2]-1|0;q[i>>2]=b;q[a+32>>2]=0;if(!b){xs(i)}if(!q[h>>2]){break b}Pi(h)}fi=h+128|0;return j}J(157189,157208,261,157232);G()}function h5(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=fi-16|0;fi=g;e=q[a+2208>>2];if(c){while(1){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:{d=w(h,20)+b|0;f=q[d>>2];switch(f|0){case 17:break h;case 16:break i;case 15:break j;case 14:break k;case 13:break l;case 12:break m;case 11:break n;case 10:break o;case 9:break p;case 8:break q;case 7:break r;case 6:break s;case 5:break t;case 3:break u;case 2:break v;case 4:break w;case 1:break x;case 0:break y;case 22:break c;case 21:break d;case 20:break e;case 19:break f;case 18:break g;default:break b}}ji[q[74939]](e,q[d+4>>2]);break a}ji[q[74940]](e,q[d+4>>2]);break a}ji[q[74956]](e,q[d+4>>2],q[d+8>>2]);break a}q[(q[d+4>>2]<<2)+a>>2]=q[d+8>>2];break a}q[(q[d+4>>2]<<2)+a>>2]=0;break a}f=q[d+8>>2];ji[q[74894]](e,q[d+4>>2],f&255,f>>>8&255,f>>>16&255,f>>>24|0,u[d+12>>2],q[d+16>>2]);o[a+2224|0]=r[d+4|0]>>>1&2|r[a+2224|0]&253;break a}ji[q[74938]](e,q[d+4>>2],q[d+8>>2],q[d+12>>2],q[d+16>>2]);break a}d=q[d+4>>2];_F(a,d);ki(d);break a}d=q[d+4>>2];$F(a,d);ki(d);break a}ji[q[74941]](e,q[d+4>>2],q[d+8>>2]);break a}ji[q[74942]](e,q[d+4>>2]!=0,q[d+8>>2]!=0,q[d+12>>2]!=0,q[d+16>>2]!=0);break a}ji[q[74943]](e,q[d+4>>2]!=0);break a}ji[q[74944]](e,q[d+4>>2]);break a}ji[q[74946]](e,q[d+4>>2]);break a}ji[q[74947]](e,q[d+4>>2],q[d+8>>2],q[d+12>>2]);break a}ji[q[74949]](e,q[d+4>>2],q[d+8>>2],q[d+12>>2]);break a}ji[q[74951]](e,q[d+4>>2]);break a}ji[q[74953]](e,x(t[d+4>>2]),x(t[d+8>>2]));break a}wu(a,q[d+4>>2],q[d+8>>2]);break a}if(q[a+1712>>2]){wu(a,a+1184|0,0)}break a}if(q[a+1712>>2]){wu(a,a+1448|0,0)}break a}q[a+2212>>2]=q[d+4>>2];break a}q[a+2212>>2]=0;break a}q[g>>2]=f;mi(4,104124,104131,g)}h=h+1|0;if((h|0)!=(c|0)){continue}break}}fi=g+16|0}function eja(a,b){a=a|0;b=b|0;var c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=x(0),j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=x(0),t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0;c=fi-144|0;fi=c;l=q[b+8>>2];t=q[q[b+4>>2]+8>>2];if(l>>>0>>0){q[b+8>>2]=l+1;v=q[a+64>>2];m=q[v+4>>2];f=m;w=q[f+96>>2];f=q[f+100>>2];y=q[a+68>>2];n=q[y+4>>2];g=n;z=q[g+96>>2];g=q[g+100>>2];h=u[a+84>>2];B=h<=x(0);i=u[a+80>>2];C=i<=x(0);A=q[b>>2];b=s[a+88>>1];if(b){if(!(b&1)){while(1){e=e+1|0;j=b&2;b=(b&65534)>>>1|0;if(!j){continue}break}}b=(e<<3)+A|0;j=q[b>>2];o=q[b+4>>2]}b=s[a+90>>1];if(b){e=0;if(!(b&1)){while(1){e=e+1|0;k=b&2;b=(b&65534)>>>1|0;if(!k){continue}break}}b=(e<<3)+A|0;k=q[b>>2];p=q[b+4>>2]}u[c+16>>2]=u[a>>2];u[c+20>>2]=u[a+4>>2];u[c+24>>2]=u[a+8>>2];d=u[a+36>>2];r=u[a+32>>2];u[c+40>>2]=-u[a+40>>2];u[c+36>>2]=-d;u[c+32>>2]=-r;d=u[a+52>>2];r=u[a+48>>2];u[c+56>>2]=-u[a+56>>2];u[c+52>>2]=-d;u[c+48>>2]=-r;u[c+64>>2]=u[a+72>>2];d=u[a+76>>2];q[c+88>>2]=z;q[c+92>>2]=g;h=B?x(0):h;u[c+80>>2]=h;i=C?x(0):i;u[c+76>>2]=i;u[c+68>>2]=d;bp(c,n);b=q[c+8>>2];q[c+100>>2]=q[c+4>>2];q[c+104>>2]=b;u[c+96>>2]=u[c>>2];q[c+128>>2]=j;q[c+132>>2]=o;q[c+112>>2]=k;q[c+116>>2]=p;q[c+120>>2]=k;q[c+124>>2]=p;q[c+72>>2]=0;yB(c+16|0,m,w,f,s[v+22>>1]);u[c+16>>2]=u[a+16>>2];u[c+20>>2]=u[a+20>>2];u[c+24>>2]=u[a+24>>2];u[c+32>>2]=u[a+32>>2];u[c+36>>2]=u[a+36>>2];u[c+40>>2]=u[a+40>>2];u[c+48>>2]=u[a+48>>2];u[c+52>>2]=u[a+52>>2];u[c+56>>2]=u[a+56>>2];u[c+64>>2]=u[a+72>>2];d=u[a+76>>2];q[c+88>>2]=w;q[c+92>>2]=f;u[c+80>>2]=i;u[c+76>>2]=h;u[c+68>>2]=d;bp(c,m);a=q[c+8>>2];q[c+100>>2]=q[c+4>>2];q[c+104>>2]=a;u[c+96>>2]=u[c>>2];q[c+128>>2]=k;q[c+132>>2]=p;q[c+112>>2]=j;q[c+116>>2]=o;q[c+120>>2]=j;q[c+124>>2]=o;q[c+72>>2]=0;yB(c+16|0,n,z,g,s[y+22>>1])}fi=c+144|0;return l>>>0>>0|0}function jJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=x(0),n=0;h=fi-336|0;fi=h;a:{if(f){while(1){k=q[((l<<4)+b|0)+8>>2];if(!tn(a,k)){Bl(h+320|0,a,k,3);Bl(h+304|0,a,k,5);Bl(h+288|0,a,k,6);if((Wo(a,k)|0)!=1){break a}n=Qy(h+16|0);j=l<<2;m=u[j+d>>2];u[h+92>>2]=m;u[h+88>>2]=u[h+328>>2];i=q[h+324>>2];q[h+80>>2]=q[h+320>>2];q[h+84>>2]=i;u[h+104>>2]=u[h+312>>2];i=q[h+308>>2];q[h+96>>2]=q[h+304>>2];q[h+100>>2]=i;i=q[h+292>>2];q[h+112>>2]=q[h+288>>2];q[h+116>>2]=i;u[h+120>>2]=u[h+296>>2];u[h+108>>2]=m*u[h+316>>2];u[h+124>>2]=m*u[h+300>>2];q[h+128>>2]=Iz(a,k);i=(l<<6)+c|0;u[h+16>>2]=u[i>>2];u[h+20>>2]=u[i+4>>2];u[h+24>>2]=u[i+8>>2];u[h+28>>2]=u[i+12>>2];u[h+32>>2]=u[i+16>>2];u[h+36>>2]=u[i+20>>2];u[h+40>>2]=u[i+24>>2];u[h+44>>2]=u[i+28>>2];u[h+48>>2]=u[i+32>>2];u[h+52>>2]=u[i+36>>2];u[h+56>>2]=u[i+40>>2];u[h+60>>2]=u[i+44>>2];u[h+64>>2]=u[i+48>>2];u[h+68>>2]=u[i+52>>2];u[h+72>>2]=u[i+56>>2];u[h+76>>2]=u[i+60>>2];p[h+204>>1]=s[a+354>>1];o[h+224|0]=BI(a,k);u[h+216>>2]=Kz(a,k);u[h+220>>2]=Jz(a,k);Bl(h,a,k,4);i=q[h+4>>2];q[h+208>>2]=q[h>>2];q[h+212>>2]=i;j=q[e+j>>2];o[h+272|0]=r[h+272|0]|1;i=h;b:{c:{if(j){q[h+244>>2]=2;q[h+248>>2]=2;q[h+236>>2]=5;q[h+240>>2]=0;o[h+268|0]=r[j|0];o[h+269|0]=r[j+1|0];o[h+270|0]=r[j+2|0];j=r[h+271|0]&-48|r[j+3|0]&15;o[h+271|0]=j;if(!r[g+16|0]){break b}o[g+16|0]=0;j=j|16;break c}o[h+270|0]=255;p[h+268>>1]=65280;q[h+244>>2]=0;q[h+248>>2]=0;q[h+236>>2]=7;q[h+240>>2]=0;j=r[h+271|0]&-48|15}o[i+271|0]=j}i=Lz(a,k);if(i>>>0<=8){i=i<<2;q[h+232>>2]=q[i+42500>>2];q[h+228>>2]=q[i+42464>>2]}Py(q[g>>2],Mz(a,k),0,0,n)}l=l+1|0;if((l|0)!=(f|0)){continue}break}}c=q[g>>2];b=s[a+354>>1];a=q[g+12>>2];q[g+12>>2]=a+1;Oy(c,2,a+(b<<16)|0);fi=h+336|0;return}J(40863,39661,897,40898);G()}function p7(){q[210464]=326;q[210462]=324;q[210463]=325;q[210460]=322;q[210461]=323;q[210458]=320;q[210459]=321;q[210456]=318;q[210457]=319;q[210454]=316;q[210455]=317;q[210452]=314;q[210453]=315;q[210450]=312;q[210451]=313;q[210448]=310;q[210449]=311;q[210446]=308;q[210447]=309;q[210444]=306;q[210445]=307;q[210442]=304;q[210443]=305;q[210440]=302;q[210441]=303;q[210438]=300;q[210439]=301;q[210436]=298;q[210437]=299;q[210434]=296;q[210435]=297;q[210432]=294;q[210433]=295;q[210430]=292;q[210431]=293;q[210428]=290;q[210429]=291;q[210426]=288;q[210427]=289;q[210424]=286;q[210425]=287;q[210422]=284;q[210423]=285;q[210420]=269;q[210421]=283;q[210418]=267;q[210419]=268;q[210416]=265;q[210417]=266;q[210414]=263;q[210415]=264;q[210412]=261;q[210413]=262;q[210410]=259;q[210411]=260;q[210408]=257;q[210409]=258;q[210406]=125;q[210407]=126;q[210404]=123;q[210405]=124;q[210402]=95;q[210403]=96;q[210400]=93;q[210401]=94;q[210398]=91;q[210399]=92;q[210396]=89;q[210397]=90;q[210394]=87;q[210395]=88;q[210392]=85;q[210393]=86;q[210390]=83;q[210391]=84;q[210388]=81;q[210389]=82;q[210386]=79;q[210387]=80;q[210384]=77;q[210385]=78;q[210382]=75;q[210383]=76;q[210380]=73;q[210381]=74;q[210378]=71;q[210379]=72;q[210376]=69;q[210377]=70;q[210374]=67;q[210375]=68;q[210372]=65;q[210373]=66;q[210370]=63;q[210371]=64;q[210368]=61;q[210369]=62;q[210366]=59;q[210367]=60;q[210364]=57;q[210365]=58;q[210362]=55;q[210363]=56;q[210360]=53;q[210361]=54;q[210358]=51;q[210359]=52;q[210356]=49;q[210357]=50;q[210354]=47;q[210355]=48;q[210352]=45;q[210353]=46;q[210350]=43;q[210351]=44;q[210348]=41;q[210349]=42;q[210346]=39;q[210347]=40;q[210344]=36;q[210345]=38;q[210342]=34;q[210343]=35;q[210340]=32;q[210341]=33}function hu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=fi-1168|0;fi=f;a:{if(q[b+4>>2]<=(c|0)){cj(d,e,115142,0);c=-1;break a}h=q[b>>2]+w(c,20)|0;i=q[h+4>>2];g=q[h+8>>2]-i|0;j=q[b+8>>2];b:{c:{d:{e:{f:{k=q[h>>2];switch(k|0){case 1:break c;case 2:break d;case 3:break e;case 0:break f;default:break b}}g:{h:{i:{j:{k:{switch(g-4|0){case 0:b=j+i|0;if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==1819047278){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break g}if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))!=1702195828){break j}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break g;case 1:break k;default:break j}}b=5;if(!ej(j+i|0,115190,5)){break h}qi(f+80|0,0,1078);i=f+80|0;break i}qi(f+80|0,0,1078);b=g>>>0<1077?g:1077;i=f+80|0}b=si(i,j+q[h+4>>2]|0,b);q[f+76>>2]=0;q[f+64>>2]=0;q[f+68>>2]=0;q[f+32>>2]=f- -64;q[f+36>>2]=f+76;if(!((qw(b,115196,f+32|0)|0)!=1|q[f+76>>2]!=((g>>>0<1077?g:1077)|0))){l=v[f+64>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=l;q[a+8>>2]=q[a+8>>2]+16;break g}q[f+16>>2]=b;cj(d,e,115202,f+16|0);c=-1;break a}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16}c=c+1|0;break a}Bi(a,j+i|0,g);c=c+1|0;break a}g=0;ij(a,q[h+12>>2],0);c=c+1|0;if(q[h+12>>2]<1){break a}while(1){c=hu(a,b,c,d,e);if((c|0)<0){c=-1;break a}g=g+1|0;vk(a,-2,g);if(q[h+12>>2]>(g|0)){continue}break}break a}i=q[h+12>>2];if(!(i&1)){j=0;ij(a,0,i);g=c+1|0;if(q[h+12>>2]<1){c=g;break a}while(1){c=-1;g=hu(a,b,g,d,e);if((g|0)<0){break a}g=hu(a,b,g,d,e);if((g|0)<0){break a}qj(a,-3);c=g;j=j+2|0;if((j|0)>2]){continue}break}break a}qi(f+80|0,0,1078);si(f+80|0,j+q[h+4>>2]|0,g>>>0<1077?g:1077);q[f+48>>2]=f+80;cj(d,e,115229,f+48|0);c=-1;break a}q[f>>2]=k;cj(d,e,115256,f);c=-1}fi=f+1168|0;return c}function SJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=fi-32|0;fi=c;a:{b:{f=Ij(a,q[q[b>>2]>>2],b+8|0);if(f){break b}f=Ij(a,q[q[b>>2]+4>>2],b+4|0);if(f){Di(a,q[q[b>>2]>>2]);break b}q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;c:{e=q[b>>2];d=q[e+12>>2];if(!d){break c}f=0;d:{while(1){if(d>>>0>g>>>0){d=g<<2;e=q[d+q[e+8>>2]>>2];e:{if(!r[e|0]){break e}d=c+d|0;e=Ij(a,e,d);if(e){f=f?f:e;break e}d=ts(a,q[d>>2],((g<<3)+b|0)+48|0);f=d?d:f}e=q[b>>2];if(g>>>0>6){break d}g=g+1|0;d=q[e+12>>2];if(g>>>0>>0){continue}break d}break}J(57911,57969,44,57958);G()}if(!f){break c}Di(a,q[e>>2]);Di(a,q[q[b>>2]+4>>2]);b=q[c>>2];if(b){Di(a,b)}b=q[c+4>>2];if(b){Di(a,b)}b=q[c+8>>2];if(b){Di(a,b)}b=q[c+12>>2];if(b){Di(a,b)}b=q[c+16>>2];if(b){Di(a,b)}b=q[c+20>>2];if(b){Di(a,b)}b=q[c+24>>2];if(b){Di(a,b)}b=q[c+28>>2];if(!b){break b}Di(a,b);break b}a=q[c+4>>2];q[b+12>>2]=q[c>>2];q[b+16>>2]=a;a=q[c+12>>2];q[b+20>>2]=q[c+8>>2];q[b+24>>2]=a;a=q[c+28>>2];q[b+36>>2]=q[c+24>>2];q[b+40>>2]=a;a=q[c+20>>2];q[b+28>>2]=q[c+16>>2];q[b+32>>2]=a;a=b;if(q[q[b+4>>2]+4>>2]){EJ(b);e=q[b>>2]}q[a+136>>2]=li(q[e+20>>2]);q[a+140>>2]=ii;q[b+152>>2]=li(q[q[b>>2]+24>>2]);q[b+156>>2]=ii;h=q[b+4>>2];e=q[h>>2];i=q[e+4>>2];if(!i){f=0;break b}f=b+144|0;k=b+160|0;g=0;f:{while(1){j=w(g,52);a=li(q[j+q[e>>2]>>2]);d=ii;g:{h:{if((a|0)==q[b+136>>2]&(d|0)==q[b+140>>2]){d=f;a=q[h>>2];if(t[a+4>>2]>g>>>0){break h}break a}if(q[b+152>>2]!=(a|0)|q[b+156>>2]!=(d|0)){break g}d=k;a=q[h>>2];if(t[a+4>>2]<=g>>>0){break f}}q[d>>2]=q[(q[a>>2]+j|0)+4>>2]}g=g+1|0;if((i|0)==(g|0)){f=0;break b}e=q[h>>2];if(t[e+4>>2]>g>>>0){continue}break}break a}break a}fi=c+32|0;return f}J(57911,57923,99,57958);G()}function IK(a){var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;b=q[a+156>>2];if(b){Di(q[a+280>>2],b)}gK(q[a+152>>2]);w7();f7();b=q[a+280>>2];if(b){b4(b,a+176|0)}b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+68>>2]=-1;q[c+48>>2]=0;q[c+52>>2]=0;HK(a,c+32|0);_na(c+32|0);b=c+16|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+4>>2]=q[a+280>>2];q[b+8>>2]=q[a+152>>2];e=q[a+264>>2];a:{if(e){q[b>>2]=e?q[e+120>>2]:0;break a}e=b;d=q[a+268>>2];f=0;b:{if(!d){break b}f=q[d+120>>2]}q[e>>2]=f;tJ(b);e=b;d=q[a+276>>2];f=0;c:{if(!d){break c}f=q[d+120>>2]}q[e>>2]=f}tJ(b);y7();boa(q[a+152>>2]);b=q[a+420>>2];if(b){Di(q[a+280>>2],b)}b=q[a+400>>2];if(b){Di(q[a+280>>2],b)}b=q[a+412>>2];if(b){Di(q[a+280>>2],b)}b=q[a+416>>2];if(b){Di(q[a+280>>2],b)}Y$();s7(q[a+408>>2]);A5(q[a+220>>2]);if(q[a+404>>2]){q[210338]=0;ro(q[a+404>>2])}b=a+264|0;d=q[a+284>>2];if(d){ki(Rba(d))}d=q[a+264>>2];d:{if(!d){b=q[a+268>>2];if(b){oy(b);ry(q[a+268>>2])}b=q[a+272>>2];if(b){oy(b);ry(q[a+272>>2])}d=q[a+276>>2];if(!d){break d}b=a+276|0}oy(d);ry(q[b>>2])}b=q[a+280>>2];if(b){c4(b)}b=q[a+216>>2];if(b){ji[q[74880]](b);ji[q[74875]](q[a+216>>2])}b=q[a+292>>2];d=b;e=q[a+288>>2];if(b|e){$m(e,d)}q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c>>2]=q[a+4>>2];q[c+4>>2]=0;q[c+8>>2]=q[a+152>>2];q[c+12>>2]=q[a+404>>2];Qoa(c);b=q[210707];if(b){ki(q[b>>2]);ki(q[210707])}q[210707]=0;b=q[a+4>>2];if(b){Fqa(b)}e:{if(o[a+396|0]&1){break e}b=q[a+384>>2];if(!b){break e}ki(b)}f:{if(o[a+204|0]&1){break f}b=q[a+184>>2];if(b){ki(b)}b=q[a+176>>2];if(!b){break f}ki(b)}g:{if(o[a+172|0]&1){break g}b=q[a+160>>2];if(!b){break g}ki(b)}ki(a);h:{if(o[c+76|0]&1){break h}a=q[c+56>>2];if(a){ki(a)}a=q[c+48>>2];if(!a){break h}ki(a)}fi=c+80|0}function uv(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,u=0;e=fi-16|0;i=e;fi=e;a:{b:{h=q[210707];if(h){f=2;c:{if(!b|!d){break c}if(!c){f=5;break c}q[i+12>>2]=0;n=e-((c<<2)+15&2032)|0;fi=n;f=qL(c,b,i+12|0,n);if(f){break c}f=4;j=q[i+12>>2];u=w(j,a);e=c<<4;k=(u+(e+39&8176)|0)+16|0;l=e+24|0;if((k|0)==(l|0)){break c}d:{g=q[h+4>>2];if(g){f=q[h>>2];e=0;while(1){if(!q[f+(e<<2)>>2]){break d}e=e+1|0;if((g|0)!=(e|0)){continue}break}}f=2;g=g- -64|0;m=Pl(q[q[210707]>>2],g<<2);q[h>>2]=m;e=q[h+4>>2];e:{if(e>>>0>>0){q[(e<<2)+m>>2]=0;e=e+1|0;if((g|0)==(e|0)){q[h+4>>2]=g;break e}while(1){q[q[h>>2]+(e<<2)>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}q[h+4>>2]=g;if(!g){break c}}f=q[h>>2];e=0;while(1){if(!q[f+(e<<2)>>2]){break d}e=e+1|0;if((g|0)!=(e|0)){continue}break}f=2;break c}g=0;q[i+8>>2]=0;f=2;if(Lp(i+8|0,16,k)){break c}f=q[i+8>>2];o[f+20|0]=c;q[f+12>>2]=a;p[f+18>>1]=0;q[f+8>>2]=j;k=f+24|0;q[f+4>>2]=k;l=f+l|0;q[f>>2]=l;while(1){j=w(g,24)+b|0;m=q[j+4>>2];a=k+(g<<4)|0;q[a>>2]=q[j>>2];q[a+4>>2]=m;o[a+12|0]=q[j+8>>2];o[a+13|0]=r[j+12|0];q[a+8>>2]=q[(g<<2)+n>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}b=q[34737];a=l+u|0;c=q[34736];o[a|0]=c;o[a+1|0]=c>>>8;o[a+2|0]=c>>>16;o[a+3|0]=c>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;b=q[34739];c=q[34738];o[a+8|0]=c;o[a+9|0]=c>>>8;o[a+10|0]=c>>>16;o[a+11|0]=c>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;if(t[h+4>>2]<=e>>>0){break b}b=q[h>>2]+(e<<2)|0;if(q[b>>2]){break a}a=s[h+8>>1]+1|0;a=(a|0)!=(a&65535)?1:a;p[h+8>>1]=a;q[b>>2]=f;p[f+16>>1]=a;q[d>>2]=a<<16|e;f=0}fi=i+16|0;return f}J(138767,138265,338,138807);G()}J(138960,138265,139,138984);G()}J(138994,138265,140,138984);G()}function YN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=q[241034]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|3;q[f+4>>2]=q[f+4>>2]|1;vv(b,c);break b}c=0;if(q[240920]==(f|0)){d=d+q[240917]|0;if(d>>>0<=b>>>0){break a}q[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;q[c+4>>2]=b|1;q[240917]=b;q[240920]=c;break b}if(q[240919]==(f|0)){d=d+q[240916]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|1;d=a+d|0;q[d>>2]=c;q[d+4>>2]=q[d+4>>2]&-2;break c}q[a+4>>2]=d|g&1|2;b=a+d|0;q[b+4>>2]=q[b+4>>2]|1;c=0;b=0}q[240919]=b;q[240916]=c;break b}e=q[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}j=h-b|0;d:{if(e>>>0<=255){c=q[f+8>>2];e=e>>>3|0;d=q[f+12>>2];if((d|0)==(c|0)){q[240914]=q[240914]&owa(-2,e);break d}q[c+12>>2]=d;q[d+8>>2]=c;break d}i=q[f+24>>2];d=q[f+12>>2];e:{if((f|0)!=(d|0)){c=q[f+8>>2];q[c+12>>2]=d;q[d+8>>2]=c;break e}f:{c=f+20|0;e=q[c>>2];if(e){break f}c=f+16|0;e=q[c>>2];if(e){break f}d=0;break e}while(1){k=c;d=e;c=d+20|0;e=q[c>>2];if(e){continue}c=d+16|0;e=q[d+16>>2];if(e){continue}break}q[k>>2]=0}if(!i){break d}c=q[f+28>>2];e=(c<<2)+963960|0;g:{if(q[e>>2]==(f|0)){q[e>>2]=d;if(d){break g}q[240915]=q[240915]&owa(-2,c);break d}q[i+(q[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}q[d+24>>2]=i;c=q[f+16>>2];if(c){q[d+16>>2]=c;q[c+24>>2]=d}c=q[f+20>>2];if(!c){break d}q[d+20>>2]=c;q[c+24>>2]=d}if(j>>>0<=15){q[a+4>>2]=g&1|h|2;b=a+h|0;q[b+4>>2]=q[b+4>>2]|1;break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=j|3;c=a+h|0;q[c+4>>2]=q[c+4>>2]|1;vv(b,j)}c=a}return c}function Vu(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=x(0);k=fi-16|0;fi=k;f=s[a+24>>1];d=f;a:{b:{c:{d:{e:{f:{g=s[a+26>>1];g:{if((g|0)==(d|0)){break g}d=q[a+20>>2];if(!d){break f}if(f>>>0<=g>>>0){break e}p[a+26>>1]=g+1;d=s[d+(g<<1)>>1];g=q[a+32>>2];if(d>>>0<(q[a+36>>2]-g|0)/576>>>0){break g}if((q[a+40>>2]-g|0)/576>>>0<=d>>>0){break d}q[a+36>>2]=(g+w(d,576)|0)+576}h:{if((d|0)==(f|0)){q[k>>2]=f;mi(4,184623,185462,k);d=-4;break h}f=s[a+352>>1];i=f?f:1;q[c>>2]=i<<16|d;g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=d>>>0){break c}e=qi(g+w(d,576)|0,0,576);f=b&65535;j=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-j|0)/576>>>0){break c}l=b>>>16|0;h=w(f,576)+j|0;if((l|0)!=s[h+552>>1]){break b}m=s[h+554>>1];if((m|0)!=(b&65535)){break a}h=w(f,576)+j|0;Y8(e,h);e=q[h+420>>2];if(e){q[(g+w(d,576)|0)+420>>2]=Sk(e)}e=g+w(d,576)|0;p[e+568>>1]=65535;p[e+554>>1]=d;p[e+552>>1]=i;q[e+556>>2]=-1;q[e+560>>2]=-1;p[e+564>>1]=65535;p[a+352>>1]=(i+1>>>0)%65535;e=q[h+416>>2];if(e){i=g+w(d,576)|0;q[i+512>>2]=ji[q[a+380>>2]](q[a+388>>2],a,q[c>>2],e,q[(w(f,576)+j|0)+512>>2]);q[i+416>>2]=q[h+416>>2]}e=w(f,576)+j|0;if(q[e+464>>2]|q[e+468>>2]){n=EI(a,b);b=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-b|0)/576>>>0){break c}h=b+w(f,576)|0;if(s[h+552>>1]!=(l|0)){break b}if(s[h+554>>1]!=(m|0)){break a}Qu(a,q[c>>2],q[e+464>>2],q[e+468>>2],u[(b+w(f,576)|0)+472>>2],n,0,0,0)}if(q[e+532>>2]){b=g+w(d,576)|0;q[b+532>>2]=0;d=w(f,576)+j|0;f=q[d+524>>2];q[b+520>>2]=q[d+520>>2];q[b+524>>2]=f}Ru(a,q[c>>2],0);d=0}fi=k+16|0;return d}J(186843,186850,151,186924);G()}J(186928,186850,152,186924);G()}J(187316,186599,474,187335);G()}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Rka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=0;e=fi-48|0;fi=e;b=q[a+1040>>2];c=q[b+28>>2];d=q[c+16>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){g=q[d+(b<<3)>>2];h=q[c>>2];if(g>>>0<(q[c+4>>2]-h|0)/240>>>0){d=q[a+1052>>2];m=d;c=q[a+1048>>2];b=c+1|0;d=b>>>0<1?d+1|0:d;q[a+1048>>2]=b;q[a+1052>>2]=d;b=!m&c>>>0>3|(m|0)!=0;a:{if(!b){d=3;b:{if(b){break b}c:{d:{switch(c-1|0){default:b=h+w(g,240)|0;i=u[b+16>>2];l=u[b+24>>2];j=u[b+20>>2];k=x(1);break b;case 0:d=h+w(g,240)|0;i=u[d+32>>2];k=u[d+44>>2];l=u[d+40>>2];j=u[d+36>>2];d=4;break b;case 1:b=h+w(g,240)|0;i=u[b+64>>2];j=u[b+68>>2];l=u[b+72>>2];break c;case 2:break d}}b=h+w(g,240)|0;i=u[b+48>>2];j=u[b+52>>2];l=u[b+56>>2]}}c=li(q[(c<<2)+241088>>2]);u[a+28>>2]=k;u[a+24>>2]=l;u[a+20>>2]=j;u[a+16>>2]=i;q[a+8>>2]=d;q[a>>2]=c;q[a+4>>2]=ii;f=1;break a}if(!m&(c|0)==4){c=li(43301);q[a+8>>2]=7;q[a>>2]=c;q[a+4>>2]=ii;q[a+16>>2]=q[(h+w(g,240)|0)+232>>2];f=1;break a}b=m-(c>>>0<5)|0;d=c-5|0;b=!b&d>>>0>3|(b|0)!=0;if(!b){Ko(e,(h+w(g,240)|0)+128|0);f=0;if(b){break a}b=a;e:{f:{switch(d-1|0){default:j=u[e+20>>2];k=u[e+16>>2];i=u[e+24>>2];f=3;break e;case 0:l=u[e+12>>2];j=u[e+4>>2];k=u[e>>2];i=u[e+8>>2];f=4;break e;case 1:c=h+w(g,240)|0;k=x(u[e+32>>2]/x(u[c+48>>2]*u[c+64>>2]));j=x(u[e+36>>2]/x(u[c+52>>2]*u[c+68>>2]));i=u[e+40>>2];f=3;break e;case 2:break f}}j=u[e+36>>2];k=u[e+32>>2];i=u[e+40>>2];f=3}q[b+8>>2]=f;c=li(q[(d<<2)+241120>>2]);u[a+28>>2]=l;u[a+24>>2]=i;u[a+20>>2]=j;u[a+16>>2]=k;q[a>>2]=c;q[a+4>>2]=ii;f=1;break a}f=0;if((c|0)!=9|m){break a}q[a+8>>2]=6;o[a+16|0]=o[(h+w(g,240)|0)+238|0]&1;q[a>>2]=li(43359);q[a+4>>2]=ii;f=1}d=f;fi=e+48|0;return d|0}}J(43678,43572,447,43689);G()}function Eka(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;b=fi-224|0;fi=b;e=q[a+8>>2];q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;o[b+80|0]=0;o[b+81|0]=0;o[b+82|0]=0;o[b+83|0]=0;o[b+84|0]=0;o[b+85|0]=0;o[b+86|0]=0;o[b+87|0]=0;o[b+104|0]=0;o[b+105|0]=0;o[b+106|0]=0;o[b+107|0]=0;o[b+108|0]=0;o[b+109|0]=0;o[b+110|0]=0;o[b+111|0]=0;o[b+96|0]=0;o[b+97|0]=0;o[b+98|0]=0;o[b+99|0]=0;o[b+100|0]=0;o[b+101|0]=0;o[b+102|0]=0;o[b+103|0]=0;o[b+88|0]=0;o[b+89|0]=0;o[b+90|0]=0;o[b+91|0]=0;o[b+92|0]=0;o[b+93|0]=0;o[b+94|0]=0;o[b+95|0]=0;a:{b:{if(Nm(q[63707],b+80|0)){q[b+32>>2]=q[63707];mi(4,43944,43952,b+32|0);break b}a=q[e>>2];d=q[e+4>>2];c=0;if((a|0)==(d|0)){break a}c=q[60952];g=q[c+8>>2];h=q[c+12>>2];i=b+208|0;c:{while(1){c=q[(f<<2)+a>>2];if(o[c+8|0]&1){a=q[c>>2];j=q[a+20>>2];k=q[a+16>>2];d=b- -64|0;u[d+8>>2]=u[a+24>>2];q[d>>2]=k;q[d+4>>2]=j;a=q[c>>2];u[b+48>>2]=u[a>>2];u[b+52>>2]=u[a+4>>2];u[b+56>>2]=u[a+8>>2];u[b+60>>2]=u[a+12>>2];a=q[q[c+4>>2]>>2];q[b+16>>2]=Bs(q[a>>2]);cj(i,9,43984,b+16|0);q[b+144>>2]=96;q[b+148>>2]=q[a+4>>2];u[b+152>>2]=u[a+8>>2];u[b+160>>2]=u[a+16>>2];u[b+164>>2]=u[a+20>>2];u[b+168>>2]=u[a+24>>2];u[b+176>>2]=u[a+32>>2];u[b+180>>2]=u[a+36>>2];u[b+184>>2]=u[a+40>>2];u[b+188>>2]=u[a+44>>2];u[b+192>>2]=u[a+48>>2];u[b+112>>2]=u[b+64>>2];u[b+116>>2]=u[b+68>>2];u[b+120>>2]=u[b+72>>2];u[b+128>>2]=u[b+48>>2];u[b+132>>2]=u[b+52>>2];u[b+136>>2]=u[b+56>>2];u[b+140>>2]=u[b+60>>2];if(Zj(0,b+80|0,g,h,0,q[60952],b+112|0,105)){break c}d=q[e+4>>2];a=q[e>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}c=0;break a}q[b>>2]=q[63707];mi(4,43944,43987,b)}c=-1e3}fi=b+224|0;return c|0}function eP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;a:{b:{c:{b=q[a+68>>2];g=q[b+1120>>2];d=q[g+16>>2];if(d>>>0>10){break c}if(!(1<>2];q[f+12>>2]=b;o[q[a+204>>2]+4|0]=b>>>8;o[q[a+204>>2]+5|0]=b;d=6;c=q[a+68>>2];g=Cm(c+12|0);e=b;b=q[a>>2];c=uD(c+8|0,g,q[a+204>>2]+6|0,e,q[b+24>>2],q[b+28>>2]);if(c){break a}b=q[a+68>>2];e=b+8|0;c=b+1192|0;g=b+1124|0;b=q[a>>2];c=vD(e,c,1060,g,q[b+24>>2],q[b+28>>2]);if(!c){break b}break a}d=4;e=b+132|0;b=q[a>>2];c=sD(e,f+12|0,q[a+204>>2]+4|0,1e3,q[b+24>>2],q[b+28>>2]);if(c){break a}b=q[a+68>>2];e=b+132|0;c=b+1124|0;g=b+1192|0;b=q[a>>2];c=tD(e,c,g,1024,q[b+24>>2],q[b+28>>2]);if(!c){break b}break a}if(q[g+16>>2]-5>>>0<4){c=-27648;d=q[a>>2];if(!kC(d)){break a}d=q[d+140>>2];q[f+12>>2]=d;if(d+6>>>0>16384){c=-27136;break a}o[q[a+204>>2]+4|0]=d>>>8;o[q[a+204>>2]+5|0]=d;d=q[a>>2];si(q[a+204>>2]+6|0,q[d+136>>2],q[d+140>>2]);b=q[a>>2];e=q[b+140>>2];d=e+6|0;d:{e:{switch(q[g+16>>2]-5|0){case 0:q[f+12>>2]=0;break d;case 2:c=ZB(a,d,f+12|0,2);if(!c){break d}break a;case 1:h=q[q[a+68>>2]+8>>2];q[f+12>>2]=h;c=-27136;b=e+8|0;if(b+h>>>0>16384){break a}o[q[a+204>>2]+d|0]=h>>>8;o[(q[a+204>>2]+e|0)+7|0]=q[f+12>>2];d=q[a+68>>2];c=Cm(d+12|0);e=d+8|0;d=b;b=q[a>>2];c=uD(e,c,d+q[a+204>>2]|0,q[f+12>>2],q[b+24>>2],q[b+28>>2]);if(!c){break d}break a;case 3:break e;default:break a}}c=sD(q[a+68>>2]+132|0,f+12|0,q[a+204>>2]+d|0,16378-e|0,q[b+24>>2],q[b+28>>2]);if(c){break a}}c=NT(a,q[g+16>>2]);if(!c){break b}break a}c=-27648;if(q[g+16>>2]!=1){break a}d=4;c=ZB(a,4,f+12|0,0);if(c){break a}}b=q[f+12>>2];q[a+208>>2]=22;q[a+212>>2]=b+d;o[q[a+204>>2]]=16;q[a+4>>2]=q[a+4>>2]+1;c=fq(a)}fi=f+16|0;return c}function kK(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;q[c+4>>2]=-2;q[c+8>>2]=-2;q[c+20>>2]=-2;q[c+24>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2;f=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{d:{e:{f:{if(!gu(a,b)){Xi(a,-1e4,q[c+44>>2]);bk(a);e=Wl(a,0,0);if(e){break c}zi(a,-10002,q[59084]);g:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=236336;break b}q[c+4>>2]=ck(a,-1e4);break g}q[c+4>>2]=-2;oi(a,-2)}zi(a,-10002,q[59085]);if(!ri(a,-1)){break e}if((ri(a,-1)|0)==6){break f}c=236340;break b}q[d+16>>2]=_i(a,-1,0);mi(4,14873,19307,d+16|0);oi(a,-2);b=0;break a}q[c+8>>2]=ck(a,-1e4);break d}q[c+8>>2]=-2;oi(a,-2)}zi(a,-10002,q[59086]);h:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=236344;break b}q[c+12>>2]=ck(a,-1e4);break h}q[c+12>>2]=-2;oi(a,-2)}zi(a,-10002,q[59087]);i:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=236348;break b}q[c+16>>2]=ck(a,-1e4);break i}q[c+16>>2]=-2;oi(a,-2)}zi(a,-10002,q[59088]);j:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=236352;break b}q[c+20>>2]=ck(a,-1e4);break j}q[c+20>>2]=-2;oi(a,-2)}zi(a,-10002,q[59089]);if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=236356;break b}q[c+24>>2]=ck(a,-1e4);break c}q[c+24>>2]=-2;oi(a,-2)}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;bk(a);b=!e;break a}c=q[c>>2];q[d+4>>2]=q[b+8>>2];q[d>>2]=c;mi(4,14873,19258,d);oi(a,-2);b=0}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59084]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59085]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59086]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59087]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59088]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[59089]);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){fi=d+32|0;return b}J(16481,15813,2283,19332);G()}function yG(a,b,c,d,e){var f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=0,F=0,H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0);i=u[c+52>>2];j=u[c+60>>2];k=u[c+48>>2];l=u[c+56>>2];h=u[c+44>>2];m=x(u[e+20>>2]*h);g=x(u[e+16>>2]*h);f=u[e+24>>2];a:{if(o[c+82|0]&1){C=x(x(i*m)+x(k*g));f=x(f*h);t=x(x(x(l*g)+x(j*m))-x(k*f));v=x(x(x(j*f)+x(k*m))-x(i*g));D=x(l*f);m=x(x(x(j*g)+x(i*f))-x(l*m));break a}C=x(x(k*g)+x(i*m));v=x(x(x(f*j)+x(k*m))-x(i*g));t=x(x(x(l*g)+x(j*m))-x(f*k));D=x(f*l);m=x(x(x(f*i)+x(j*g))-x(l*m))}E=q[c+64>>2];F=q[E>>2];if((q[E+4>>2]-F|0)/18568>>>0<=b>>>0){J(136114,135222,447,135487);G()}g=u[e+36>>2];f=u[e+44>>2];r=u[e+32>>2];s=u[e+40>>2];L=u[c+36>>2];M=u[c+40>>2];N=u[c+32>>2];q[d+188>>2]=1065353216;z=x(h*x(0));u[d+172>>2]=z;p=x(x(x(s*i)+x(x(f*k)+x(r*j)))-x(g*l));H=x(p+p);n=x(x(x(r*l)+x(x(f*i)+x(g*j)))-x(s*k));A=x(n+n);I=x(x(1)-x(p*H));K=x(n*A);u[d+168>>2]=h*x(I-K);y=n;B=x(x(x(g*k)+x(x(f*l)+x(s*j)))-x(r*i));n=x(B+B);y=x(y*n);g=x(x(x(x(f*j)-x(r*k))-x(g*i))-x(s*l));f=x(H*g);u[d+164>>2]=h*x(y-f);r=x(p*n);s=x(A*g);u[d+160>>2]=h*x(r+s);u[d+156>>2]=z;u[d+152>>2]=h*x(y+f);f=x(B*n);u[d+148>>2]=h*x(I-f);p=x(p*A);g=x(g*n);u[d+144>>2]=h*x(p-g);u[d+140>>2]=z;u[d+136>>2]=h*x(r-s);u[d+132>>2]=h*x(p+g);u[d+128>>2]=h*x(x(x(1)-K)-f);h=x(D+C);u[d+184>>2]=M+x(x(k*t)+x(x(x(l*h)+x(j*v))-x(i*m)));u[d+180>>2]=L+x(x(l*m)+x(x(x(j*t)+x(i*h))-x(k*v)));u[d+176>>2]=N+x(x(i*v)+x(x(x(j*m)+x(k*h))-x(l*t)));c=F+w(b,18568)|0;q[d+192>>2]=q[c+18556>>2];q[d+196>>2]=q[c+18560>>2];q[d+200>>2]=q[d>>2];c=q[d+64>>2];q[d+204>>2]=c;q[d+216>>2]=b;q[d+212>>2]=a;q[d+208>>2]=q[d+68>>2]-c>>5}function Fla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0);c=fi-80|0;fi=c;g=q[a+8>>2];h=q[q[a+12>>2]>>2];a:{b:{c:{d:{b=q[a+16>>2];d=q[b+64>>2];e=q[59647];f=q[b+68>>2];e=(d|0)==q[e+8>>2]&(f|0)==q[e+12>>2];if(!e){i=q[59648];if(q[i+8>>2]!=(d|0)|q[i+12>>2]!=(f|0)){break d}}b=r[h+24|0];if(b&2){if(r[g+13|0]){b=0;break c}b=0;break c}o[h+24|0]=b&251|e<<2;b=0;break c}e=q[62178];if((d|0)==q[e+8>>2]&(f|0)==q[e+12>>2]){if(r[g+13|0]){b=0;break c}b=0;break c}e=q[62415];if((d|0)==q[e+8>>2]&(f|0)==q[e+12>>2]){u[c+48>>2]=u[c+32>>2];b=q[c+40>>2];q[c+52>>2]=q[c+36>>2];q[c+56>>2]=b;j=u[c+36>>2];k=u[c+32>>2];u[c+72>>2]=u[c+40>>2];u[c+68>>2]=j;u[c+64>>2]=k;b=0;a=q[a+16>>2];d=a+32|0;f=a;a=q[62434];a=Zj(d,f,q[a+8>>2],q[a+12>>2],0,a,c+48|0,32);if(!a){break c}q[c>>2]=q[q[62434]+4>>2];q[c+4>>2]=a;mi(4,35903,36394,c);b=-1e3;break c}e=q[62480];if((d|0)==q[e+8>>2]&(f|0)==q[e+12>>2]){if(r[g+13|0]){mi(4,35903,36438,0);b=-1e3;break c}d=q[h>>2];if(q[d+160>>2]>=0){mi(4,35903,36487,0);b=-1e3;break c}d=q[d+136>>2];if(!(t[b+104>>2]>2]?t[b+100>>2]<(q[d+32>>2]&2147483647)>>>0:0)){mi(4,35903,36557,0);b=-1e3;break c}e:{f=q[b+108>>2];g=(f|0)==-1;if(g){break e}h=q[d>>2];if(q[h+4>>2]-q[h>>2]>>3>>>0>f>>>0){break e}mi(4,35903,36602,0);b=-1e3;break c}b=r[b+120|0]<<2&4|(r[b+116|0]<<1&2|o[b+112|0]&1);o[c+23|0]=b;o[c+24|0]=b;b=0;if(!g){g=q[d>>2];d=q[g>>2];if(q[g+4>>2]-d>>3>>>0<=f>>>0){break b}e=q[a+4>>2];a=d+(f<<3)|0;al(e,q[a>>2],q[a+4>>2],0)}break c}b=0;a=q[62502];if(q[a+8>>2]!=(d|0)|q[a+12>>2]!=(f|0)){break c}if(r[g+13|0]){break a}if(q[q[h>>2]+160>>2]>=0){mi(4,35903,36710,0);b=-1e3}}fi=c+80|0;return b|0}J(37509,37418,447,37087);G()}J(36658,36070,1137,36681);G()}function hJ(a,b,c,d,e,f){q[f>>2]=b;q[f+4>>2]=q[d+4>>2];u[f+8>>2]=u[d+8>>2];u[f+12>>2]=u[d+12>>2];u[f+16>>2]=u[d+16>>2];b=al(a,q[c+128>>2],q[c+132>>2],0);p[f+30>>1]=0;p[f+28>>1]=b;u[f+20>>2]=u[d+48>>2];u[f+24>>2]=u[d+52>>2];b=r[f+32|0]&-2;o[f+32|0]=b|r[d+56|0];b=b|r[d+56|0];o[f+32|0]=b;o[f+32|0]=b&249|(e?4:0)|r[d+57|0]<<1;b=q[c+4>>2];d=b;e=q[c>>2];a:{if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+12>>2];d=b;e=q[c+8>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+20>>2];d=b;e=q[c+16>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+28>>2];d=b;e=q[c+24>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+36>>2];d=b;e=q[c+32>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+44>>2];d=b;e=q[c+40>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+52>>2];d=b;e=q[c+48>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+60>>2];d=b;e=q[c+56>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+68>>2];d=b;e=q[c+64>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+76>>2];d=b;e=q[c+72>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+84>>2];d=b;e=q[c+80>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+92>>2];d=b;e=q[c+88>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+100>>2];d=b;e=q[c+96>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+108>>2];d=b;e=q[c+104>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+116>>2];d=b;e=q[c+112>>2];if(!(b|e)){break a}p[f+30>>1]=al(a,e,d,0)|s[f+30>>1];b=q[c+124>>2];d=b;c=q[c+120>>2];if(!(b|c)){break a}p[f+30>>1]=al(a,c,d,0)|s[f+30>>1]}}function jr(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,t=0,u=0;d=fi-16|0;fi=d;a:{b:{if(!a){break b}c:{if(q[a+20>>2]==1){break c}d:{if(!(r[a+80|0]&15)){b=q[a+108>>2];break d}q[d+8>>2]=0;b=a+200|0;if(!q[b>>2]){break a}if(pS(b,d+8|0)>>>0>1){break c}p[a+168>>1]=8;c=q[a+196>>2];b=c;q[a+104>>2]=q[a+192>>2];q[a+108>>2]=b;c=q[a+188>>2];q[a+120>>2]=q[a+184>>2];q[a+124>>2]=c}h=Fi(q[a+92>>2]);if(b|q[a+124>>2]){break c}q[d+12>>2]=q[a+319500>>2];b=zx(d+12|0);k=q[b+12>>2];l=q[b+20>>2];m=q[b+16>>2];n=q[b>>2];t=q[b+4>>2];u=q[b+8>>2];o[a+156|0]=0;o[a+157|0]=0;o[a+155|0]=h>>>8;o[a+154|0]=h;o[a+135|0]=0;o[a+133|0]=0;o[a+134|0]=0;j=a+128|0;b=j;o[b|0]=80;o[b+1|0]=75;o[b+2|0]=3;o[b+3|0]=4;b=q[a+100>>2];e=q[a+96>>2];o[a+150|0]=e;c=q[a+108>>2];f=q[a+104>>2];o[a+146|0]=f;g=q[a+112>>2];o[a+142|0]=g;i=s[a+168>>1];o[a+136|0]=i;o[a+153|0]=(b&16777215)<<8|e>>>24;o[a+152|0]=(b&65535)<<16|e>>>16;o[a+151|0]=(b&255)<<24|e>>>8;b=c;o[a+149|0]=(b&16777215)<<8|f>>>24;o[a+148|0]=(b&65535)<<16|f>>>16;o[a+147|0]=(b&255)<<24|f>>>8;o[a+145|0]=g>>>24;o[a+144|0]=g>>>16;o[a+143|0]=g>>>8;b=(t<<5)+(u<<11)+(n>>>1)|0;o[a+138|0]=b;o[a+137|0]=i>>>8;o[a+132|0]=i?20:0;c=(((l<<9)+(m<<5)|0)+k|0)+24608|0;o[a+140|0]=c;o[a+139|0]=b>>>8;o[a+141|0]=c>>>8;if((ji[q[a+60>>2]](q[a+68>>2],q[a+160>>2],q[a+164>>2],j,30)|0)!=30){break c}if(!sS(a,q[a+92>>2],h&65535,q[a+96>>2],q[a+100>>2],q[a+104>>2],q[a+108>>2],q[a+112>>2],s[a+168>>1],b&65535,c&65535,q[a+160>>2],q[a+164>>2],q[a+319496>>2])){break c}b=q[a+124>>2];q[a>>2]=q[a+120>>2];q[a+4>>2]=b;q[a+16>>2]=q[a+16>>2]+1}q[a+319500>>2]=0;b=q[a+92>>2];if(!b){break b}ki(b);q[a+92>>2]=0}fi=d+16|0;return}J(196568,196587,3836,196606);G()}function gla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-160|0;fi=b;e=q[a>>2];d=qi(Ci(104),0,104);c=q[e+4>>2];a:{if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+4;q[c>>2]=d;break a}q[b>>2]=c-q[e>>2]>>2;mi(3,38938,39311,b)}q[d+100>>2]=e;b:{c:{if(!(o[d+44|0]&1)){c=q[a+16>>2];f=q[e+64>>2];vi(c>>>0>>0?c:f,4,d+32|0,d+40|0,d+36|0);q[b+152>>2]=q[60230];c=q[60229];q[b+144>>2]=q[60228];q[b+148>>2]=c;c=q[60227];q[b+136>>2]=q[60226];q[b+140>>2]=c;c=q[60225];q[b+128>>2]=q[60224];q[b+132>>2]=c;c=q[60223];q[b+120>>2]=q[60222];q[b+124>>2]=c;c=q[60221];q[b+112>>2]=q[60220];q[b+116>>2]=c;c=q[60219];q[b+104>>2]=q[60218];q[b+108>>2]=c;c=q[60217];q[b+96>>2]=q[60216];q[b+100>>2]=c;q[d+48>>2]=ji[q[74910]](q[q[e+52>>2]+2208>>2],b+96|0,3);if(o[d+68|0]&1){break b}vi(512,36,d+56|0,d- -64|0,d+60|0);q[d+52>>2]=ji[q[74895]](q[q[e+52>>2]+2208>>2],0,0,0);q[b+88>>2]=-1;q[b+92>>2]=-1;q[b+80>>2]=-1;q[b+84>>2]=-1;q[b+64>>2]=0;o[b+76|0]=1;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;q[b+40>>2]=16;q[b+44>>2]=0;q[b+68>>2]=131074;q[b+72>>2]=131074;q[b+52>>2]=0;q[b+56>>2]=0;q[b+28>>2]=1;q[b+32>>2]=1;q[b+16>>2]=3;q[b+20>>2]=1;q[b+24>>2]=1;p[b+46>>1]=2;p[b+48>>1]=2;q[b+36>>2]=b+80;c=ji[q[74961]](q[q[e+52>>2]+2208>>2],b- -64|0)|0;q[d+72>>2]=c;ji[q[74963]](c,b+16|0);if(o[d+12|0]&1){break b}vi(128,288,d,d+8|0,d+4|0);if(o[d+28|0]&1){break b}vi(128,4,d+16|0,d+24|0,d+20|0);c=q[d+16>>2];f=q[d+24>>2]-c|0;if(f>>2>>>0<=127){break c}q[d+20>>2]=c+512;qi(c,0,f);c=q[e+68>>2];q[d+80>>2]=c;f=q[e+72>>2];q[d+84>>2]=f;q[d+76>>2]=IG(c,f);q[d+96>>2]=gy(q[e+60>>2]);if(r[270692]){Ip(q[e+48>>2],410,d)}q[q[a+12>>2]>>2]=d;fi=b+160|0;return 0}break b}J(39472,39220,474,39491);G()}J(39145,39220,461,39299);G()}function xfa(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;b=fi+ -64|0;fi=b;j=-13;a:{b:{c:{d:{if(rj(q[a+20>>2],q[a+24>>2],q[63160],b+60|0)){break d}d=q[q[a+32>>2]+8>>2];q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;j=PJ(q[a>>2],q[b+60>>2],b+16|0,1);e:{if(!j){i=d+12|0;f=q[i>>2];c=q[d+8>>2];e=q[b+28>>2];g=q[b+24>>2];Yu(q[a>>2],d);q[d+4>>2]=q[b+20>>2];q[d+24>>2]=q[b+40>>2];q[d+28>>2]=q[b+44>>2];q[d+32>>2]=q[d+32>>2]&-2147483648|q[b+48>>2]&2147483647;q[d+36>>2]=q[b+52>>2];q[d+40>>2]=q[b+56>>2];k=d+8|0;e=e-g>>2;f=f-c>>2;f:{if(e>>>0>f>>>0){if(o[d+20|0]&1){break c}c=d+16|0;g=q[c>>2];h=q[d+8>>2];vi(e,4,k,c,i);l=q[q[b+60>>2]+8>>2];m=q[c>>2];c=q[k>>2];if(l>>>0>m-c>>2>>>0){break b}q[i>>2]=c+(l<<2);c=g-h>>2;if(e>>>0<=c>>>0){e=f;break f}while(1){g=q[b+24>>2];if(q[b+28>>2]-g>>2>>>0<=c>>>0){break a}h=q[k>>2];if(q[i>>2]-h>>2>>>0<=c>>>0){break a}l=h;h=c<<2;q[l+h>>2]=q[g+h>>2];c=c+1|0;if(e>>>0>c>>>0){continue}break}e=f;break f}if(e>>>0>=f>>>0){break f}f=q[d+8>>2];if(q[d+16>>2]-f>>2>>>0>>0){break b}q[i>>2]=f+(e<<2)}if(e){c=0;while(1){f=q[b+24>>2];if(q[b+28>>2]-f>>2>>>0<=c>>>0){break a}g=q[k>>2];if(q[i>>2]-g>>2>>>0<=c>>>0){break a}h=g;g=c<<2;q[h+g>>2]=q[f+g>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[d+32>>2]=q[d+32>>2]|-2147483648;q[q[a+32>>2]+16>>2]=((q[a+24>>2]+q[d+16>>2]|0)-q[d+8>>2]|0)+44;break e}q[b>>2]=j;mi(3,60358,60502,b);Yu(q[a>>2],b+16|0)}if(o[b+36|0]&1){break d}a=q[b+24>>2];if(!a){break d}ki(a)}fi=b- -64|0;return j|0}J(60594,60669,461,60748);G()}J(60760,60669,474,60779);G()}J(60787,60669,447,60583);G()}function cH(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-288|0;fi=c;d=r[a+2196|0];e=q[a>>2];f=s[a+2198>>1];q[c+28>>2]=b;q[c+24>>2]=f;q[c+20>>2]=e;q[c+16>>2]=d?153067:153073;d=a+4|0;cj(d,2124,153053,c+16|0);q[a+2168>>2]=Uj();q[a+2172>>2]=ii;a:{b:{c:{if(o[a+2200|0]&1){break c}e=q[a+2192>>2];if(!e){break c}f=q[e+48>>2];tj(f);e=q[e+80>>2];lj(f);if(J7(q[a+2192>>2],d,c+40|0)){break c}f=r[c+144|0];if(!(f&1)|(e|0)!=1?!(f&2):0){break c}q[c+272>>2]=0;q[c+276>>2]=0;q[c+280>>2]=0;q[c+284>>2]=0;o[c+196|0]=0;q[c+192>>2]=-1;q[c+180>>2]=0;q[c+172>>2]=0;q[c+176>>2]=0;q[c+264>>2]=0;q[c+268>>2]=0;o[c+260|0]=0;q[c+184>>2]=-1;q[c+188>>2]=0;q[c+168>>2]=a;e=a+2184|0;q[e>>2]=q[e>>2]+1;q[c+164>>2]=0;if(hH(q[a+2192>>2],d,c+40|0,c+164|0,c+152|0)){break c}b=a+2208|0;while(1){e=Yk(b,1,65536,q[c+164>>2]);o[(e+a|0)+2208|0]=0;ji[q[a+2136>>2]](c+168|0,q[a+2132>>2],304,b,e);if(e){continue}break}fH(q[a+2192>>2],d,c+40|0,q[c+164>>2]);a=q[c+276>>2];if(!a){break a}if(q[q[c+168>>2]+2128>>2]?0:!(r[c+260|0]&2)){break b}iL(q[c+272>>2],a);break a}d:{if(q[a+2156>>2]<1){d=-8;break d}f=0;while(1){e=dH(a,b,153078);d=e;e:{switch(e+7|0){case 6:d=-1;g=q[a+2128>>2]+24|0;if(g>>>0>21|!(1<>2];if(!(!d|!q[d>>2])){d=e;break d}f:{if(!q[a+2160>>2]){break f}d=Uj();g=q[a+2168>>2];if(q[a+2160>>2]>(d-g|0)){break f}d=e;break d}g=q[a+2156>>2];g:{if((g-1|0)<=(f|0)){f=f+1|0;break g}q[a+2188>>2]=q[a+2188>>2]+1;q[a+2168>>2]=Uj();q[a+2172>>2]=ii;d=q[a+2156>>2];f=f+1|0;q[c>>2]=f;q[c+4>>2]=d-1;mi(2,153048,153082,c);g=q[a+2156>>2]}d=e;if((f|0)<(g|0)){continue}break}}fi=c+288|0;return d}fL(q[c+272>>2],a)}fi=c+288|0;return 1}function Fy(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=fi-1072|0;fi=e;d=-1;a:{if(!b){break a}d=d4(b);if(d){break a}h=Fi(b);if(h>>>0>=1024){q[e>>2]=b;mi(4,29203,29212,e);d=-1;break a}q[c+16>>2]=Nl(b,h);q[c+20>>2]=ii;g=Rm(b,46);b:{c:{if(!g){q[e+16>>2]=b;mi(3,29203,29407,e+16|0);break c}d=$3(q[a+155704>>2],g+1|0);if(d){if(q[d+20>>2]){break b}J(29460,29361,230,29492);G()}q[e+36>>2]=g;q[e+32>>2]=b;mi(4,29203,29508,e+32|0)}d=0}q[c+8>>2]=d;l=_3(b,e+48|0);q[c+24>>2]=Nl(e+48|0,l);q[c+28>>2]=ii;while(1){d=q[a+88104>>2];q[a+88104>>2]=d?d:1;if(d){continue}break}g=a+16|0;i=q[c+16>>2];j=q[c+20>>2];d:{e:{f:{g:{h:{i:{f=q[a+20>>2];j:{if(!f){break j}d=q[q[g>>2]+(lwa(i,j,f)<<2)>>2];if((d|0)==-1){break j}m=q[a+24>>2];while(1){k=(d<<4)+m|0;if((i|0)==q[k>>2]&(j|0)==q[k+4>>2]){break i}d=q[k+12>>2];if((d|0)!=-1){continue}break}}k:{if(q[a+40>>2]==q[a+32>>2]-q[a+24>>2]>>4){break k}f=q[a+88100>>2];d=h+1|0;if(f+d>>>0>61440){break k}h=(a+f|0)+26660|0;kj(h,b,d);Ku(g,i,j,a+88100|0);q[a+88100>>2]=d+q[a+88100>>2];f=q[a+20>>2];break h}q[c>>2]=0;break g}h=(q[((d<<4)+m|0)+8>>2]+a|0)+26660|0}q[c>>2]=h;i=q[c+24>>2];j=q[c+28>>2];l:{if(!f){break l}d=q[q[g>>2]+(lwa(i,j,f)<<2)>>2];if((d|0)==-1){break l}b=q[a+24>>2];while(1){f=b+(d<<4)|0;if((i|0)==q[f>>2]&(j|0)==q[f+4>>2]){break f}d=q[f+12>>2];if((d|0)!=-1){continue}break}}m:{if(q[a+40>>2]==q[a+32>>2]-q[a+24>>2]>>4){break m}b=q[a+88100>>2];d=l+1|0;if(b+d>>>0>61440){break m}b=(a+b|0)+26660|0;kj(b,e+48|0,d);Ku(g,i,j,a+88100|0);q[a+88100>>2]=d+q[a+88100>>2];break e}q[c+4>>2]=0}q[a+88104>>2]=0;d=-8;break d}b=(q[(b+(d<<4)|0)+8>>2]+a|0)+26660|0}q[c+4>>2]=b;d=0}q[a+88104>>2]=0}fi=e+1072|0;return d}function J6(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=fi-2224|0;fi=b;q[b+144>>2]=a;mi(2,199540,200030,b+144|0);a:{if(Tx(a,b+160|0)){q[b+128>>2]=a;mi(4,199540,199737,b+128|0);c=-3;break a}q[b+2220>>2]=0;i=Du(q[b+160>>2],q[72166],b+2220|0);if(!i){q[b>>2]=q[72166];mi(4,199540,199766,b);cs(q[b+160>>2]);c=-3;break a}e=Ci(12);q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;c=QG(i,q[b+2220>>2],e);if(!c){Gq(e,b+1184|0);b:{c:{switch(Cu(e)+7|0){case 0:mi(3,199540,200053,0);break b;case 7:break b;default:break c}}mi(4,199540,200151,0)}c=PG(e);d:{if(c){mi(4,199540,200206,0);break d}g=q[b+160>>2];if(g){g=q[g+16>>2]}else{g=-1}e:{if(!g){c=0;break e}while(1){PM(q[b+160>>2],j);f=q[b+160>>2];if(f){f=q[f+92>>2]}else{f=0}f:{if(SM(q[b+160>>2])){c=0;break f}if(!Ej(q[72166],f)){c=0;break f}k=b+2216|0;d=q[b+160>>2];if(d){c=q[d+96>>2]}else{c=0}q[k>>2]=c;c=q[b+2216>>2];if(l>>>0>>0){h=Pl(h,c);c=q[b+2216>>2];l=c}PE(q[b+160>>2],h,c);g:{d=q[b+2216>>2];h:{if(d>>>0<16){c=0;d=200350;break h}c=OG(e,f,Fi(f),h+16|0,d-16|0);if(!c){break g}d=200305}q[b+100>>2]=a;q[b+96>>2]=f;mi(4,199540,d,b+96|0);break f}c=0}jr(q[b+160>>2]);j=j+1|0;if(g>>>0<=j>>>0){break e}if(!c){continue}break}}ki(h)}Ui(q[e+8>>2]);Ui(q[e+4>>2])}ki(i);ki(e);cs(q[b+160>>2]);q[b+80>>2]=c?200414:200411;mi(2,199540,200387,b+80|0);if(c){break a}q[b+68>>2]=q[72164];q[b+64>>2]=b+1184;cj(b+160|0,1024,199531,b- -64|0);d=sk(b+160|0,199537);if(!d){q[b+16>>2]=b+160;mi(4,199540,199551,b+16|0);c=-10;break a}f=Fi(a);g=Al(a,1,f,d);Qj(d);if((f|0)!=(g|0)){q[b+48>>2]=b+160;mi(4,199540,199580,b+48|0);c=-10;break a}q[b+32>>2]=a;q[b+36>>2]=b+160;mi(2,199540,199627,b+32|0);c=0}fi=b+2224|0;return c}function Coa(a,b,c){var d=0,e=0,f=0,g=0,h=0;q[a+2056>>2]=0;q[a+2060>>2]=0;d=a+2072|0;q[d>>2]=0;q[d+4>>2]=0;d=a+2064|0;q[d>>2]=0;q[d+4>>2]=0;e=a+2080|0;o[e|0]=r[e|0]&254;qi(a+2084|0,0,2112);q[a+4196>>2]=0;q[a+4200>>2]=0;q[a+4184>>2]=-1;e=a+4204|0;q[e>>2]=0;q[e+4>>2]=0;q[a+4252>>2]=0;e=a+4256|0;q[e>>2]=0;q[e+4>>2]=0;q[a+2052>>2]=b;q[a+4>>2]=0;q[a>>2]=0;e=a+4264|0;o[e|0]=r[e|0]&254;vi(b,4,a+2056|0,d,a+2060|0);a:{b:{c:{e=q[d>>2];d=q[a+2056>>2];if(e-d>>2>>>0>=b>>>0){d:{q[a+2060>>2]=d+(b<<2);d=s[a+2076>>1];e=b&65535;if(d>>>0>e>>>0){break c}g=q[a+2072>>2];f=xi(e<<1);q[a+2072>>2]=f;f=si(f,g,d<<1);p[a+2076>>1]=b;if(d>>>0>>0){while(1){p[f+(d<<1)>>1]=d;d=d+1|0;if((e|0)!=(d|0)){continue}break}}ki(g);if(o[a+4160|0]&1){break b}e=a+4148|0;d=a+4156|0;g=a+4152|0;vi(b,64,e,d,g);f=q[d>>2];d=q[a+4148>>2];if(f-d>>6>>>0>>0){break d}q[a+4152>>2]=d+(b<<6);KH(a+4164|0,b>>>0<3?1:(b>>>0)/3|0,b);if(o[a+4208|0]&1){break b}vi(c,4,a+4196|0,a+4204|0,a+4200|0);c=a+4232|0;q[c>>2]=0;q[c+4>>2]=0;c=a+4224|0;q[c>>2]=0;q[c+4>>2]=0;q[a+4216>>2]=0;q[a+4220>>2]=0;q[a+4248>>2]=0;q[a+4244>>2]=b;d=q[a+4256>>2];if(d>>>0>b>>>0){break c}c=q[a+4252>>2];f=b<<2;h=xi(f);q[a+4252>>2]=h;h=si(h,c,d<<2);q[a+4256>>2]=b;if(b>>>0>d>>>0){while(1){q[h+(d<<2)>>2]=d;d=d+1|0;if((d|0)!=(b|0)){continue}break}}ki(c);q[a+4268>>2]=2147450879;q[a+4272>>2]=2147450879;o[a+4276|0]=r[a+4276|0]&224|8;c=q[a+2056>>2];if((c|0)==q[a+2060>>2]){break a}qi(c,0,f);c=q[e>>2];if((c|0)==q[g>>2]){break a}qi(c,204,w(b,48));qi(a+2100|0,0,2048);qi(a+1032|0,0,1020);return a}}J(10181,10090,474,10200);G()}J(12378,12401,112,10169);G()}J(10015,10090,461,10169);G()}J(12475,10090,447,9406);G()}function K0(a,b){var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=x(0);h=fi-16|0;fi=h;a:{b:{c:{if(a){d:{if(o[841044]&1){break d}if(!ui(841044)){break d}if(r[852367]){d=Ri(119593)}else{d=-1}q[210260]=d;ti(841044)}e:{if(o[841052]&1){break e}if(!ui(841052)){break e}if(r[852367]){d=Yi(119604,6)}else{d=0}q[210262]=d;ti(841052)}c=q[210260];f:{if((c|0)!=-1){Qi(h,c,119604,q[210262]);break f}q[h>>2]=0}o[a+46|0]=r[a+46|0]|1;e=q[a+4>>2]-q[a>>2]|0;c=(e|0)/28|0;g:{if(o[841060]&1){break g}if(!ui(841060)){break g}if(r[852367]){d=Ek(119611)}else{d=-1}q[210264]=d;ti(841060)}d=q[210264];if((d|0)!=-1){Fk(d,c)}if(!e){break b}f=c>>>0>1?c:1;e=0;while(1){c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0<=e>>>0){break a}d=w(e,28);c=d+c|0;i=r[c+24|0];h:{if(!(i&2)){break h}g=x(u[c+16>>2]-b);u[c+16>>2]=g;if(g>x(0)){break h}ji[q[c>>2]](a,i&1,q[c+12>>2],x(u[c+20>>2]-g),q[c+4>>2],q[c+8>>2]);c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0<=e>>>0){break a}c=c+d|0;d=r[c+24|0];if(!(d&2)){break h}if(!(d&1)){o[c+24|0]=d&253;break h}g=u[c+20>>2];if(g==x(0)){q[c+16>>2]=0;break h}j=u[c+16>>2];g=x(j+x(g*x(C(x(x(1)-x(j/g))))));u[c+16>>2]=g;if(!(g>=x(0))){break c}}e=e+1|0;if((f|0)!=(e|0)){continue}break}break b}J(119561,119520,194,119580);G()}J(119618,119520,247,119580);G()}o[a+46|0]=r[a+46|0]&254;c=q[a+4>>2];f=q[a>>2];e=c-f|0;d=(e|0)/28|0;i:{if(!e){break i}j:{if((c|0)!=(f|0)){e=0;c=d;while(1){f=w(e,28)+f|0;i=r[f+24|0];k:{if(!(i&2)){ny(a,q[f+12>>2],i);c=c-1|0;break k}e=e+1|0}if(c>>>0<=e>>>0){break j}f=q[a>>2];if((q[a+4>>2]-f|0)/28>>>0>e>>>0){continue}break}}break a}if((c|0)==(d|0)){break i}p[a+44>>1]=s[a+44>>1]+1}if(q[h>>2]){Pi(h)}fi=h+16|0;return}J(120616,120004,447,120627);G()}function EF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0);i=fi-32|0;fi=i;g=q[b+12>>2]+c|0;k=(q[b+4>>2]&-268435456)!=805306368;a:{b:{if(k){j=1;break b}j=q[g+4>>2];c=q[g>>2];ij(a,0,0);if(!j){break a}g=c+d|0}c=0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=q[b+4>>2]>>>22&63;switch(e-2|0){case 0:break h;case 6:break i;case 2:break j;case 11:break k;case 3:break l;case 9:break e;case 12:break f;case 7:break g;default:break d}}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}e=(c<<3)+g|0;Yj(a,q[e>>2],q[e+4>>2]);break c}e=r[c+g|0];f=q[a+8>>2];q[f+8>>2]=1;q[f>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;break c}m=u[(c<<2)+g>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=m;q[a+8>>2]=q[a+8>>2]+16;break c}wi(a,q[(c<<2)+g>>2]+d|0);break c}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}f=q[b+8>>2];e=w(q[f+16>>2],c)+g|0;h=q[f+4>>2];if(!uk(h,112336,8)){hl(a,e);break c}if(!uk(h,112344,7)){u[i+16>>2]=u[e>>2];u[i+20>>2]=u[e+4>>2];u[i+24>>2]=u[e+8>>2];hl(a,i+16|0);break c}if(!uk(h,112351,8)){mo(a,e);break c}if(!uk(h,112359,5)){Aq(a,e);break c}if(!uk(h,112364,8)){cy(a,e);break c}if(!uk(h,112372,8)){if(q[e>>2]){Xi(a,-1e4,q[e+4>>2]);Xi(a,-1,q[e>>2]);Ok(a,-2);break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;break c}ij(a,0,0);if(!r[f+24|0]){break c}h=0;while(1){l=w(h,20);wi(a,q[l+q[f+20>>2]>>2]);EF(a,q[f+20>>2]+l|0,e,d);qj(a,-3);h=h+1|0;if(h>>>0>2]=q[b>>2];q[i>>2]=e;ni(a,112380,i)}c=c+1|0;if(!k){vk(a,-2,c)}if((c|0)!=(j|0)){continue}break}}fi=i+32|0}function S8(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0);d=fi-160|0;fi=d;a:{b:{c:{d:{k=b&65535;l=q[a+32>>2];if(k>>>0<(q[a+36>>2]-l|0)/576>>>0){if(s[(w(k,576)+l|0)+552>>1]!=(b>>>16|0)){break d}f=w(k,576)+l|0;if(s[f+554>>1]!=(b&65535)){break c}e=-10;e:{if((q[f+412>>2]&240)!=80){break e}g=w(k,576)+l|0;e=q[g+524>>2];j=q[g+520>>2];if(!(e|j)){mi(4,184623,185601,0);e=-5;break e}g=q[a+232>>2];if((g|0)==q[a+236>>2]){q[d>>2]=(g-q[a+228>>2]|0)/12;mi(4,184623,185650,d);e=-4;break e}g=q[a+204>>2];h=q[q[a+196>>2]+(lwa(j,e,q[a+200>>2])<<2)>>2];i=g+(h<<4)|0;if(q[i>>2]!=(j|0)|q[i+4>>2]!=(e|0)){while(1){h=q[(g+(h<<4)|0)+12>>2];i=g+(h<<4)|0;if((j|0)!=q[i>>2]|(e|0)!=q[i+4>>2]){continue}break}}g=q[(g+(h<<4)|0)+8>>2];c=HG(q[a+192>>2],g,c);e=q[f+412>>2];f:{if((e&196608)!=131072){break f}q[f+412>>2]=e&-196609;if(r[855816]){break f}o[855816]=1;e=w(k,576)+l|0;q[d+16>>2]=Ei(q[e+544>>2],q[e+548>>2]);mi(3,184623,185766,d+16|0)}Pq(a,f,2,d+96|0);Ko(d+48|0,d+96|0);e=q[a+192>>2];m=u[d+80>>2];u[d+40>>2]=u[d+72>>2];f=q[d+68>>2];q[d+32>>2]=q[d+64>>2];q[d+36>>2]=f;Bu(e,c,d+32|0);e=q[a+192>>2];f=q[d+52>>2];q[d+32>>2]=q[d+48>>2];q[d+36>>2]=f;f=q[d+60>>2];q[d+40>>2]=q[d+56>>2];q[d+44>>2]=f;Au(e,c,d+32|0);zu(q[a+192>>2],c,m);e=q[a+232>>2];f=q[a+228>>2];j=e-f|0;h=(j|0)/12|0;i=h+1|0;if(i>>>0>(q[a+236>>2]-f|0)/12>>>0){break b}q[a+232>>2]=f+w(i,12);if((j+12|0)/12>>>0<=h>>>0){break a}q[e+8>>2]=b;q[e>>2]=c;q[e+4>>2]=g;b=w(k,576)+l|0;q[b+532>>2]=c;q[b+528>>2]=g;Yy(q[a+192>>2],c);e=0}fi=d+160|0;return e}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(187316,186599,474,187335);G()}J(186773,186599,447,186784);G()}function $ja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0);f=fi-48|0;fi=f;b=q[a+4>>2];c=q[b+16>>2];a:{b:{c:{d:{e:{f:{d=q[q[a+24>>2]>>2];if(d>>>0>2]-c>>3>>>0){c=q[(d<<3)+c>>2];d=q[b+4>>2];b=q[b>>2];if(c>>>0>=d-b>>2>>>0){break a}c=q[b+(c<<2)>>2];d=q[a+16>>2];e=q[a+20>>2];if((d|0)==q[73724]&(e|0)==q[73725]){b=-4;if(q[a+32>>2]!=1){break b}b=0;if((IF(q[c+132>>2],q[a+40>>2],q[a+44>>2])|0)!=1){break b}q[f>>2]=Ei(q[a+40>>2],q[a+44>>2]);mi(4,46420,46845,f);b=-8;break b}if((d|0)==q[73728]&(e|0)==q[73729]){b=-4;if(q[a+32>>2]){break b}b=0;if((p3(q[c+132>>2],x(v[a+40>>3]))|0)!=1){break b}v[f+16>>3]=v[a+40>>3];mi(4,46420,46884,f+16|0);b=-8;break b}if((d|0)==q[73730]&(e|0)==q[73731]){b=-4;if(q[a+32>>2]){break b}b=0;c=q[c+132>>2];g=x(v[a+40>>3]);u[(((o[c+224|0]&1)<<5)+c|0)+20>>2]=g>x(0)?g:x(0);break b}if(q[73702]==(d|0)&q[73703]==(e|0)){break f}b=0;if(q[73704]==(d|0)&q[73705]==(e|0)){break c}b=1;if(q[73706]==(d|0)&q[73707]==(e|0)){break c}b=2;if(q[73708]==(d|0)&q[73709]==(e|0)){break c}b=3;if(q[73710]==(d|0)&q[73711]==(e|0)){break c}b=4;if(q[73712]==(d|0)&q[73713]==(e|0)){break c}b=5;if(q[73714]==(d|0)&q[73715]==(e|0)){break c}b=6;if(q[73716]==(d|0)&q[73717]==(e|0)){break c}b=7;if(q[73718]==(d|0)&q[73719]==(e|0)){break c}b=q[c+216>>2];if(!b){break e}break d}break a}b=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73684],q[73685],c+216|0);a=r[c+238|0];o[c+238|0]=(b?a&8:8)|a&247;break b}b=q[q[c+128>>2]+8>>2]}b=Xo(b,d,e,a+32|0,q[a+72>>2],439,c);break b}b=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73690],q[73691],(c+(b<<2)|0)+184|0);a=r[c+238|0];o[c+238|0]=(b?a&8:8)|a&247}fi=f+48|0;return b|0}J(47308,47134,447,47319);G()}function lu(a,b,c,d,e){var f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=0,p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0);f=fi-48|0;fi=f;o=q[b>>2];if((q[b+4>>2]-o|0)/176>>>0>e>>>0){a:{o=q[(o+w(e,176)|0)+160>>2];b:{if((o|0)==65535){u[a>>2]=u[d>>2];u[a+4>>2]=u[d+4>>2];u[a+8>>2]=u[d+8>>2];u[a+12>>2]=u[d+12>>2];u[a+16>>2]=u[d+16>>2];u[a+20>>2]=u[d+20>>2];u[a+24>>2]=u[d+24>>2];u[a+32>>2]=u[d+32>>2];u[a+36>>2]=u[d+36>>2];u[a+40>>2]=u[d+40>>2];break b}e=q[c>>2];if(o>>>0>=(q[c+4>>2]-e|0)/48>>>0){break a}e=e+w(o,48)|0;D=u[e+16>>2];E=u[e+20>>2];F=u[e+24>>2];H=u[d+20>>2];I=u[d+24>>2];g=u[e+8>>2];k=u[e+4>>2];l=u[e+12>>2];m=u[e>>2];s=u[d+36>>2];p=u[e+36>>2];t=u[d+40>>2];r=u[e+40>>2];K=u[d+16>>2];h=u[d+8>>2];i=u[d+4>>2];j=u[d+12>>2];n=u[d>>2];v=u[e+32>>2];y=x(v*u[d+32>>2]);u[d+32>>2]=y;t=x(r*t);u[d+40>>2]=t;s=x(p*s);u[d+36>>2]=s;z=x(x(x(x(l*j)-x(m*n))-x(k*i))-x(g*h));u[d+12>>2]=z;A=x(x(x(m*i)+x(x(l*h)+x(g*j)))-x(k*n));u[d+8>>2]=A;B=x(x(x(g*n)+x(x(l*i)+x(k*j)))-x(m*h));u[d+4>>2]=B;C=x(x(x(k*h)+x(x(l*n)+x(m*j)))-x(g*i));u[d>>2]=C;h=x(K*v);i=x(H*p);j=x(I*r);n=x(x(x(g*h)+x(l*i))-x(m*j));p=x(x(g*j)+x(x(m*h)+x(k*i)));r=x(x(x(m*i)+x(l*j))-x(k*h));h=x(x(x(l*h)+x(k*j))-x(g*i));i=x(F+x(x(m*n)+x(x(x(g*p)+x(l*r))-x(k*h))));u[d+24>>2]=i;j=x(E+x(x(g*h)+x(x(x(l*n)+x(k*p))-x(m*r))));u[d+20>>2]=j;g=x(D+x(x(k*r)+x(x(x(m*p)+x(l*h))-x(g*n))));u[d+16>>2]=g;u[f+40>>2]=t;u[f+36>>2]=s;u[f+24>>2]=i;u[f+20>>2]=j;u[f+32>>2]=y;u[f+16>>2]=g;u[f+12>>2]=z;u[f+8>>2]=A;u[f+4>>2]=B;u[f>>2]=C;lu(a,b,c,f,o)}fi=f+48|0;return}}J(136820,136831,454,136801);G()}function Bla(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=x(0),l=0,m=0,n=0;d=fi-112|0;fi=d;a:{f=q[a+8>>2];c=0;b:{if(!f){break b}c=q[a>>2];h=q[a+12>>2];q[d+44>>2]=f;o[d+36|0]=1;q[d+32>>2]=h;q[d+40>>2]=c;c:{if(r[h+13|0]){break c}}Kp(0,0,383,d+32|0);l=r[d+36|0];d:{if(!r[270692]){break d}g=q[f+144>>2];c=q[f+140>>2];e=g-c|0;if(!e){break d}if((c|0)!=(g|0)){g=c-g|0;j=((e|0)<(g|0)?g:e)>>>2|0;e=(e|0)>-1?e:-1;e=w(j,(e|0)<1?e:1);m=e>>>0>1?e:1;e=0;while(1){c=q[(e<<2)+c>>2];i=q[c>>2];g=q[i+136>>2];if(!(!g|q[g+32>>2]>-1)){n=q[i+164>>2];j=vG(d+32|0);hJ(f,c,q[c>>2],n,1,j);p[c+20>>1]=s[d+62>>1];i=q[i+136>>2];if(q[i+12>>2]==q[i+8>>2]){break a}q[c+8>>2]=0;dJ(f,c);q[g+32>>2]=q[g+32>>2]&2147483647}e=e+1|0;if((m|0)==(e|0)){break d}c=q[f+140>>2];if(q[f+144>>2]-c>>2>>>0>e>>>0){continue}break}}J(37509,37418,447,37087);G()}q[d+104>>2]=0;q[d+100>>2]=h;q[d+96>>2]=f;q[d+88>>2]=0;q[d+84>>2]=h;q[d+80>>2]=f;c=d+32|0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;k=u[q[a+4>>2]>>2];q[c+40>>2]=f;q[c+36>>2]=384;q[c+32>>2]=f;q[c+28>>2]=385;q[c+12>>2]=386;q[c+4>>2]=387;u[c>>2]=k;q[c+24>>2]=f;q[c+20>>2]=388;q[c+16>>2]=d+80;q[c+8>>2]=d+96;u[f+132>>2]=k;q[73340]=0;o[b|0]=q[73340]>0;b=q[d+104>>2];a=q[h+4>>2];e:{if(b>>>0>=a>>>0){if(r[293364]){break e}q[d+16>>2]=a;q[d+20>>2]=q[60213];mi(3,35903,36198,d+16|0)}o[293364]=a>>>0<=b>>>0}b=q[d+88>>2];a=q[h+8>>2];f:{if(b>>>0>=a>>>0){if(r[293365]){break f}q[d>>2]=a;q[d+4>>2]=q[60214];mi(3,35903,36297,d)}o[293365]=a>>>0<=b>>>0}c=l?0:-1e3}fi=d+112|0;return c|0}J(37669,37418,389,37680);G()}function as(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=q[a+44>>2];k=c-262|0;f=q[a+116>>2];b=c;while(1){h=q[a+108>>2];f=(q[a+60>>2]-f|0)-h|0;if(b+k>>>0<=h>>>0){b=q[a+56>>2];si(b,b+c|0,c);q[a+112>>2]=q[a+112>>2]-c;h=q[a+108>>2]-c|0;q[a+108>>2]=h;q[a+92>>2]=q[a+92>>2]-c;d=q[a+76>>2];b=q[a+68>>2]+(d<<1)|0;while(1){b=b-2|0;g=s[b>>1];e=g-c|0;p[b>>1]=e>>>0>g>>>0?0:e;d=d-1|0;if(d){continue}break}b=q[a+64>>2]+(c<<1)|0;d=c;while(1){b=b-2|0;g=s[b>>1];e=g-c|0;p[b>>1]=e>>>0>g>>>0?0:e;d=d-1|0;if(d){continue}break}f=c+f|0}a:{e=q[a>>2];g=q[e+4>>2];if(!g){break a}b=q[a+116>>2];d=a;f=f>>>0>>0?f:g;if(f){i=q[a+56>>2];q[e+4>>2]=g-f;b=si(b+(h+i|0)|0,q[e>>2],f);b:{c:{switch(q[q[e+28>>2]+24>>2]-1|0){case 0:q[e+48>>2]=Vp(q[e+48>>2],b,f);break b;case 1:break c;default:break b}}q[e+48>>2]=bl(q[e+48>>2],b,f)}q[e>>2]=f+q[e>>2];q[e+8>>2]=f+q[e+8>>2];b=q[a+116>>2]}f=b+f|0;q[d+116>>2]=f;d=q[a+5812>>2];d:{if(f+d>>>0<3){break d}b=q[a+108>>2]-d|0;e=q[a+56>>2];h=b+e|0;g=r[h|0];q[a+72>>2]=g;i=q[a+84>>2];j=g;g=q[a+88>>2];h=i&(r[h+1|0]^j<>2]=h;while(1){if(!d){break d}h=(r[(b+e|0)+2|0]^h<>2]=h;j=q[a+68>>2]+(h<<1)|0;p[q[a+64>>2]+((q[a+52>>2]&b)<<1)>>1]=s[j>>1];p[j>>1]=b;d=d-1|0;q[a+5812>>2]=d;b=b+1|0;if(f+d>>>0>2){continue}break}}if(!q[q[a>>2]+4>>2]|f>>>0>261){break a}b=q[a+44>>2];continue}break}d=q[a+60>>2];c=q[a+5824>>2];e:{if(d>>>0<=c>>>0){break e}b=q[a+116>>2]+q[a+108>>2]|0;if(b>>>0>c>>>0){c=d-b|0;c=c>>>0<258?c:258;qi(b+q[a+56>>2]|0,0,c);q[a+5824>>2]=b+c;return}b=b+258|0;if(b>>>0<=c>>>0){break e}g=c+q[a+56>>2]|0;d=d-c|0;c=b-c|0;c=c>>>0>d>>>0?d:c;qi(g,0,c);q[a+5824>>2]=c+q[a+5824>>2]}}function YH(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}if(!r[851668]){return 0}b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}e=q[212916];tj(e);c:{if(o[851768]&1){break c}if(!ui(851768)){break c}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212919];d:{if(!c){break d}c=q[q[212918]+((a>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break d}d=q[212920];while(1){f=(c<<4)+d|0;if(q[f>>2]!=(a|0)){c=q[f+12>>2];if((c|0)!=-1){continue}break d}break}if(b){q[b>>2]=s[((c<<4)+d|0)+8>>1]}g=q[((c<<4)+d|0)+4>>2]}lj(e);return g}function WN(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;i=fi-1056|0;fi=i;d=i+1048|0;q[d>>2]=0;q[d+4>>2]=0;d=i+1040|0;q[d>>2]=0;q[d+4>>2]=0;q[i+1032>>2]=0;q[i+1036>>2]=0;q[i+1024>>2]=0;q[i+1028>>2]=0;a:{b:{c:{d:{c=r[b|0];e:{if(!c){j=-1;d=1;break e}while(1){if(!r[a+f|0]){break b}d=c&255;f=f+1|0;q[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;q[c>>2]=q[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}k=1;c=1;while(1){g=r[(c+j|0)+b|0];h=r[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(k|0)){e=e+k|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){k=d-j|0;e=d;c=1;break f}j=e;e=e+1|0;k=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=k;break c}d=0;h=1;c=1;while(1){m=r[(c+g|0)+b|0];l=r[b+e|0];g:{if((m|0)==(l|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(l>>>0>m>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=k;e=h}c=d;d=g+1>>>0>j+1>>>0;h=d?e:c;l=d?g:j;m=l+1|0;h:{if(ej(b,h+b|0,m)){d=(l^-1)+f|0;h=(d>>>0>>0?l:d)+1|0;n=f-h|0;k=0;break h}n=f-h|0;k=n}p=f-1|0;o=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=eq(a,0,o);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+o|0}e=r[d+p|0];c=f;j:{k:{if(!(q[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-q[(e<<2)+i>>2]|0;if(c){c=k?g?c>>>0>>0?n:c:c:c;break k}l:{c=m;e=c>>>0>g>>>0?c:g;j=r[e+b|0];if(j){while(1){if(r[d+e|0]!=(j&255)){break l}e=e+1|0;j=r[e+b|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(r[c+b|0]==r[d+c|0]){continue}break}c=h;g=k;break j}c=e-l|0}g=0}d=d+c|0;continue}}d=0}fi=i+1056|0;return d}function gP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=fi+ -64|0;fi=f;b=q[q[a+68>>2]+1120>>2];q[f+60>>2]=0;d=UC(a);a:{if(d){break a}b=q[b+16>>2]-1|0;b:{if(b>>>0<=9){b=q[(b<<2)+166664>>2];break b}b=0}if(!b){q[a+4>>2]=q[a+4>>2]+1;d=0;break a}c:{if(q[a+232>>2]){d:{e:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break e}}c=q[q[a>>2]+84>>2];if(c){break e}b=0;break d}b=q[c>>2]}if(b){break c}}q[a+4>>2]=q[a+4>>2]+1;d=0;break a}f:{g:{b=q[a+68>>2];if(b){d=q[b+452>>2];if(d){break g}}d=q[q[a>>2]+84>>2];if(d){break g}b=0;break f}b=q[d+4>>2]}if(!b){d=-30208;break a}ji[q[q[a+68>>2]+1108>>2]](a,f);h:{if(q[a+20>>2]!=3){d=4;i:{j:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break j}}c=q[q[a>>2]+84>>2];if(c){break j}b=0;break i}b=q[c+4>>2]}k:{if(!b){break k}b=q[b>>2];if(!b){break k}e=ji[q[b+12>>2]](4)|0}if(!e){c=36;d=0;b=f;break h}c=20;b=f+16|0;break h}d=q[q[q[a+68>>2]+1120>>2]+12>>2]==7;o[q[a+204>>2]+4|0]=d?5:4;l:{m:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break m}}c=q[q[a>>2]+84>>2];if(c){break m}b=0;break l}b=q[c+4>>2]}n:{if(!b){break n}c=q[b>>2];if(!c){break n}e=ji[q[c+12>>2]](1)|0}o:{if(!e){c=0;p:{if(!b){break p}b=q[b>>2];if(!b){break p}c=ji[q[b+12>>2]](4)|0}b=c?3:0;break o}b=1}o[q[a+204>>2]+5|0]=b;d=d?7:6;c=0;g=2;b=f}q:{r:{e=q[a+68>>2];if(e){e=q[e+452>>2];if(e){break r}}e=q[q[a>>2]+84>>2];if(e){break r}h=0;break q}h=q[e+4>>2]}e=b;b=q[a>>2];d=HU(h,d,e,c,(q[a+204>>2]+g|0)+6|0,f+60|0,q[b+24>>2],q[b+28>>2]);if(d){break a}o[q[a+204>>2]+(g|4)|0]=q[f+60>>2]>>>8;o[q[a+204>>2]+(g|5)|0]=q[f+60>>2];b=q[f+60>>2];q[a+208>>2]=22;q[a+212>>2]=(b+g|0)+6;o[q[a+204>>2]]=15;q[a+4>>2]=q[a+4>>2]+1;d=fq(a)}fi=f- -64|0;return d}function u3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0,s=0,u=0;a:{b:{c:{d:{e:{f:{if(!(o[d+12|0]&1)){f=q[c+4>>2];vi(f,4,d,d+8|0,d+4|0);i=q[d>>2];if(q[d+8>>2]-i>>2>>>0>>0){break b}h=f<<2;q[d+4>>2]=h+i;qi(i,0,h);if(o[e+12|0]&1){break c}vi(f,4,e,e+8|0,e+4|0);h=q[e>>2];if(q[e+8>>2]-h>>2>>>0>>0){break b}q[e+4>>2]=h+(f<<2);if(!f){break e}i=f-1|0;e=q[d+4>>2];k=q[d>>2];d=e-k|0;r=q[a+16>>2];s=q[c>>2];u=q[a+20>>2];if(!q[b+12>>2]){break f}l=d>>2;m=q[b+8>>2];e=0;while(1){if(t[c+4>>2]<=e>>>0){break d}d=w(e,80)+s|0;n=q[d+8>>2];p=q[d+12>>2];d=0;g=q[b+12>>2];g:{if(!g){break g}while(1){j=m+(d<<3)|0;if(q[j>>2]!=(n|0)|q[j+4>>2]!=(p|0)){d=d+1|0;if((g|0)!=(d|0)){continue}break g}break}if((d|0)==-1){break g}if(d>>>0>=l>>>0){break a}q[(d<<2)+k>>2]=e}d=e;h:{if(!u){break h}d=0;g=q[a+20>>2];i:{if(!g){break i}while(1){j=(d<<3)+r|0;if(q[j>>2]!=(n|0)|q[j+4>>2]!=(p|0)){d=d+1|0;if((g|0)!=(d|0)){continue}break i}break}if((d|0)!=-1){break h}}d=i}q[h+(e<<2)>>2]=d;e=e+1|0;if((f|0)!=(e|0)){continue}break}break e}break c}b=k-e|0;e=((b|0)>(d|0)?b:d)>>>2|0;b=(d|0)>-1?d:-1;b=w(e,(b|0)<1?b:1);e=0;while(1){if(t[c+4>>2]<=e>>>0){break d}if((b|0)==(e|0)){break a}d=w(e,80)+s|0;n=q[d+8>>2];p=q[d+12>>2];l=e<<2;q[l+k>>2]=e;d=e;j:{if(!u){break j}d=0;m=q[a+20>>2];k:{if(!m){break k}while(1){g=(d<<3)+r|0;if(q[g>>2]!=(n|0)|q[g+4>>2]!=(p|0)){d=d+1|0;if((m|0)!=(d|0)){continue}break k}break}if((d|0)!=-1){break j}}d=i}q[h+l>>2]=d;e=e+1|0;if((f|0)!=(e|0)){continue}break}}return}J(136761,136773,68,136801);G()}J(136910,136831,461,136985);G()}J(136997,136831,474,137016);G()}J(136820,136831,447,136801);G()}function Jca(a){a=a|0;q[a+412>>2]=589;q[a+408>>2]=590;q[a+404>>2]=591;q[a+400>>2]=592;q[a+396>>2]=593;q[a+392>>2]=594;q[a+388>>2]=595;q[a+384>>2]=596;q[a+380>>2]=597;q[a+376>>2]=598;q[a+372>>2]=599;q[a+368>>2]=600;q[a+364>>2]=601;q[a+360>>2]=602;q[a+356>>2]=603;q[a+352>>2]=604;q[a+348>>2]=605;q[a+344>>2]=606;q[a+340>>2]=607;q[a+336>>2]=608;q[a+332>>2]=609;q[a+328>>2]=610;q[a+324>>2]=611;q[a+320>>2]=612;q[a+316>>2]=613;q[a+312>>2]=614;q[a+308>>2]=615;q[a+304>>2]=616;q[a+300>>2]=617;q[a+296>>2]=618;q[a+292>>2]=619;q[a+288>>2]=620;q[a+284>>2]=621;q[a+280>>2]=622;q[a+276>>2]=623;q[a+272>>2]=624;q[a+268>>2]=625;q[a+264>>2]=626;q[a+260>>2]=627;q[a+256>>2]=628;q[a+252>>2]=629;q[a+248>>2]=630;q[a+244>>2]=631;q[a+240>>2]=632;q[a+236>>2]=633;q[a+232>>2]=634;q[a+228>>2]=635;q[a+224>>2]=636;q[a+220>>2]=637;q[a+216>>2]=638;q[a+212>>2]=639;q[a+208>>2]=640;q[a+204>>2]=641;q[a+200>>2]=642;q[a+196>>2]=643;q[a+192>>2]=644;q[a+188>>2]=645;q[a+184>>2]=646;q[a+180>>2]=647;q[a+176>>2]=648;q[a+172>>2]=649;q[a+168>>2]=650;q[a+164>>2]=651;q[a+160>>2]=652;q[a+156>>2]=653;q[a+152>>2]=654;q[a+148>>2]=655;q[a+144>>2]=656;q[a+136>>2]=657;q[a+124>>2]=658;q[a+120>>2]=659;q[a+116>>2]=660;q[a+112>>2]=661;q[a+108>>2]=662;q[a+96>>2]=663;q[a+92>>2]=664;q[a+88>>2]=665;q[a+84>>2]=666;q[a+80>>2]=667;q[a+76>>2]=668;q[a+72>>2]=669;q[a+68>>2]=670;q[a+64>>2]=671;q[a+60>>2]=672;q[a+56>>2]=673;q[a+52>>2]=674;q[a+48>>2]=675;q[a+44>>2]=676;q[a+40>>2]=677;q[a+36>>2]=678;q[a+32>>2]=679;q[a+28>>2]=680;q[a+24>>2]=681;q[a+20>>2]=682;q[a+16>>2]=683;q[a+12>>2]=684;q[a+8>>2]=685;q[a+4>>2]=686;q[a>>2]=687;q[a+140>>2]=688}function px(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=fi-80|0;fi=h;while(1){d=q[a+12>>2]+(c<<4)|0;e=d-16|0;j=d+16|0;a:{b:{c:{d:{if(q[d-8>>2]-3>>>0>1){break d}g=j-16|0;switch(q[j-8>>2]-3|0){case 1:break b;case 0:break c;default:break d}}d=j-16|0;e:{f=Ik(a,e,15);if(!q[f+8>>2]){f=Ik(a,d,15);if(!q[f+8>>2]){break e}}j=q[a+32>>2];i=q[f+4>>2];g=q[a+8>>2];q[g>>2]=q[f>>2];q[g+4>>2]=i;q[g+8>>2]=q[f+8>>2];g=q[e+4>>2];f=q[a+8>>2];q[f+16>>2]=q[e>>2];q[f+20>>2]=g;q[f+24>>2]=q[e+8>>2];g=q[d+4>>2];f=q[a+8>>2];q[f+32>>2]=q[d>>2];q[f+36>>2]=g;q[f+40>>2]=q[d+8>>2];g=q[a+8>>2];if((q[a+28>>2]-g|0)<=48){pk(a,3);g=q[a+8>>2]}q[a+8>>2]=g+48;zl(a,g,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;f=q[d+4>>2];e=q[a+32>>2]+(e-j|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+8>>2]=q[d+8>>2];d=2;break a}uX(a,e,d);d=2;break a}v[h+32>>3]=v[g>>3];bt(h+48|0,128385,h+32|0);d=Bj(a,h+48|0,Fi(h+48|0));q[g+8>>2]=4;q[g>>2]=d}f=q[q[g>>2]+12>>2];if(f){d=1;f:{if((b|0)<=1){break f}while(1){g:{h:{e=g-(d<<4)|0;switch(q[e+8>>2]-3|0){case 1:break g;case 0:break h;default:break f}}v[h+16>>3]=v[e>>3];bt(h+48|0,128385,h+16|0);i=Bj(a,h+48|0,Fi(h+48|0));q[e+8>>2]=4;q[e>>2]=i}e=q[q[e>>2]+12>>2];if(e>>>0>=-3-f>>>0){Ck(a,128431,0)}f=e+f|0;d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b}g=0;f=Sr(a,q[a+16>>2]+52|0,f);e=d;while(1){k=q[j-(e<<4)>>2];i=q[k+12>>2];si(f+g|0,k+16|0,i);g=g+i|0;i=(e|0)>1;e=e-1|0;if(i){continue}break}e=Bj(a,f,g);f=j-(d<<4)|0;q[f+8>>2]=4;q[f>>2]=e;break a}d=2;if(q[e+8>>2]!=3){break a}v[h>>3]=v[e>>3];bt(h+48|0,128385,h);f=Bj(a,h+48|0,Fi(h+48|0));q[e+8>>2]=4;q[e>>2]=f}d=d-1|0;c=c-d|0;b=b-d|0;if((b|0)>1){continue}break}fi=h+80|0}function jX(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=fi-32|0;fi=g;q[g+24>>2]=-1;q[g+28>>2]=-1;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=5;a:{b:{switch(b|0){case 0:if(!(q[c+20>>2]==-1?!(q[c>>2]!=5|q[c+16>>2]!=-1):0)){Xm(a,c)}to(a,18,c,g+8|0);break a;case 1:qm(a,c);c:{d:{e:{switch(q[c>>2]-1|0){case 0:case 2:q[c>>2]=2;break c;case 1:case 3:case 4:q[c>>2]=3;break c;case 9:b=q[c+8>>2];e=q[q[a>>2]+12>>2]+(b<<2)|0;f:{if((b|0)>=1){d=e-4|0;b=q[d>>2];if(o[(b&63)+126784|0]<0){break f}}b=q[e>>2];d=e}q[d>>2]=b&-16321|!(b&16320)<<6;break c;case 10:f=q[a+36>>2];d=f+1|0;e=q[a>>2];g:{if((f|0)=249){xj(q[a+12>>2],127238);e=q[a>>2];b=q[a+36>>2]+1|0}o[e+75|0]=d}q[a+36>>2]=b;wv(a,c,b-1|0);if(q[c>>2]!=12){break d}break;case 11:break e;default:break c}}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}b=Jk(a,q[c+8>>2]<<23|19,q[q[a+12>>2]+8>>2]);q[c>>2]=11;q[c+8>>2]=b}b=q[c+20>>2];f=q[c+16>>2];q[c+20>>2]=f;q[c+16>>2]=b;if((f|0)!=-1){h=q[q[a>>2]+12>>2];while(1){b=(f<<2)+h|0;h:{if((f|0)>=1){e=b-4|0;d=q[e>>2];if(o[(d&63)+126784|0]<0){break h}}d=q[b>>2];e=b}if((d&63)==27){q[e>>2]=d&8372224|d>>>17&32704|26}b=(q[b>>2]>>>14|0)-131071|0;f=(b|0)==-1?-1:(b+f|0)+1|0;if((f|0)!=-1){continue}break}b=q[c+16>>2]}if((b|0)==-1){break a}c=q[q[a>>2]+12>>2];while(1){a=c+(b<<2)|0;i:{if((b|0)>=1){e=a-4|0;d=q[e>>2];if(o[(d&63)+126784|0]<0){break i}}d=q[a>>2];e=a}if((d&63)==27){q[e>>2]=d&8372224|d>>>17&32704|26}a=(q[a>>2]>>>14|0)-131071|0;b=(a|0)==-1?-1:(a+b|0)+1|0;if((b|0)!=-1){continue}break}break a;case 2:break b;default:break a}}Xm(a,c);to(a,20,c,g+8|0)}fi=g+32|0}function Bfa(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;b=fi-112|0;fi=b;f=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[62854],b+76|0)){break a}c=q[q[a+32>>2]+8>>2];q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=-1;q[b+64>>2]=0;q[b+68>>2]=0;q[b+48>>2]=0;q[b>>2]=0;q[b+4>>2]=0;f=QJ(q[a>>2],q[b+76>>2],b);b:{if(!f){d=q[c+48>>2];if(d){Di(q[a>>2],d)}d=q[c+64>>2];if(d){Ui(d)}q[c+64>>2]=q[b+64>>2];q[c+48>>2]=q[b+48>>2];d=q[b>>2];q[b>>2]=q[c>>2];q[c>>2]=d;d=q[b+4>>2];q[b+4>>2]=q[c+4>>2];q[c+4>>2]=d;d=q[b+8>>2];q[b+8>>2]=q[c+8>>2];q[c+8>>2]=d;d=r[b+12|0];o[b+12|0]=o[c+12|0]&1|d&254;o[c+12|0]=r[c+12|0]&254|d&1;q[c+68>>2]=q[b+68>>2];d=q[b+44>>2];g=q[b+40>>2];q[b+104>>2]=g;q[b+108>>2]=d;h=q[b+36>>2];i=q[b+32>>2];q[b+96>>2]=i;q[b+100>>2]=h;j=q[b+28>>2];k=q[b+24>>2];q[b+88>>2]=k;q[b+92>>2]=j;l=q[b+20>>2];m=q[b+16>>2];q[b+80>>2]=m;q[b+84>>2]=l;e=q[c+44>>2];q[b+40>>2]=q[c+40>>2];q[b+44>>2]=e;e=q[c+36>>2];q[b+32>>2]=q[c+32>>2];q[b+36>>2]=e;e=q[c+28>>2];q[b+24>>2]=q[c+24>>2];q[b+28>>2]=e;e=q[c+20>>2];q[b+16>>2]=q[c+16>>2];q[b+20>>2]=e;q[c+40>>2]=g;q[c+44>>2]=d;q[c+32>>2]=i;q[c+36>>2]=h;q[c+24>>2]=k;q[c+28>>2]=j;q[c+16>>2]=m;q[c+20>>2]=l;q[q[a+32>>2]+16>>2]=(((q[a+24>>2]+q[c+8>>2]|0)-q[c>>2]|0)+w(q[c+32>>2]-q[c+24>>2]>>4,12)|0)+72;break b}c=q[b+48>>2];if(c){Di(q[a>>2],c)}a=q[b+64>>2];if(a){Ui(a)}if(!q[b+68>>2]){break b}}c:{if(o[b+44|0]&1){break c}a=q[b+24>>2];if(a){ki(a)}a=q[b+16>>2];if(!a){break c}ki(a)}if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}ki(a)}fi=b+112|0;return f|0}function fba(a){a=a|0;var b=0,c=0,d=x(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,r=0;b=fi-288|0;fi=b;r=Ti(b+264|0,a,0,187364,1053);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+260|0);a:{if(Qn(a,2)){h=Qk(a,2);i=ii;break a}h=li(Ni(a,2,0));i=ii}if(!xI(h,i)){q[b+48>>2]=ks(a,2,b+128|0);ni(a,187535,b+48|0)}b:{if(Gj(a,3)){d=x(wj(a,3));u[b+140>>2]=d;u[b+136>>2]=d;u[b+132>>2]=d;u[b+128>>2]=d;break b}c=sm(a,3);if(c){yba(b+112|0,e,q[b+260>>2],h,i);f=q[c+4>>2];g=q[c>>2];d=u[c+8>>2];u[b+140>>2]=u[b+124>>2];u[b+136>>2]=d;q[b+128>>2]=g;q[b+132>>2]=f;break b}c=tm(a,3);u[b+128>>2]=u[c>>2];u[b+132>>2]=u[c+4>>2];u[b+136>>2]=u[c+8>>2];u[b+140>>2]=u[c+12>>2]}c:{d:{e:{if(Gj(a,4)){g=gj(a,4);c=0;if((g|0)<42){break e}a=ni(a,187559,0);break c}if(!uF(a,4)){break d}l=FF(a,4);Xi(a,-1e4,q[e+8>>2]);Hi(a,4);j=ck(a,-2);oi(a,-2);m=1356;g=41;c=e}n=Ai(a,5);f:{if(Gj(a,6)){d=x(wj(a,6));if((ri(a,7)|0)!=6){k=-2;break f}o=Rn(a,7);Xi(a,-1e4,q[e+8>>2]);Hi(a,1);k=Kn(a,-2);oi(a,-2);break f}k=-2;d=x(0);if((ri(a,6)|0)==-1){break f}hk(a,6,187641)}f=0;g:{if(!Gj(a,8)){break g}f=gj(a,8)}p=q[b+260>>2];if(!o){q[b+96>>2]=m;q[b+104>>2]=j;q[b+16>>2]=j;q[b+100>>2]=c;a=q[b+100>>2];q[b+8>>2]=q[b+96>>2];q[b+12>>2]=a;q[b+92>>2]=l;q[b+88>>2]=g;a=q[b+92>>2];q[b>>2]=q[b+88>>2];q[b+4>>2]=a;SI(e,p,h,i,b+128|0,b,f,x(n),d,0,0,0);a=0;break c}q[b+72>>2]=m;q[b+80>>2]=j;q[b+40>>2]=j;q[b+76>>2]=c;a=q[b+76>>2];q[b+32>>2]=q[b+72>>2];q[b+36>>2]=a;q[b+68>>2]=l;q[b+64>>2]=g;a=q[b+68>>2];q[b+24>>2]=q[b+64>>2];q[b+28>>2]=a;SI(e,p,h,i,b+128|0,b+24|0,f,x(n),d,1357,o,k);a=0;break c}a=ni(a,187583,0)}Si(r);fi=b+288|0;return a|0}function To(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(o[851768]&1){break a}if(!ui(851768)){break a}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}if(!r[851668]){return 0}b:{if(o[851768]&1){break b}if(!ui(851768)){break b}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}e=q[212916];tj(e);c:{if(o[851768]&1){break c}if(!ui(851768)){break c}q[212922]=0;q[212923]=0;q[212930]=0;q[212931]=0;q[212918]=0;q[212919]=0;q[212926]=0;q[212927]=0;q[212934]=0;q[212935]=0;q[212924]=0;q[212925]=0;q[212920]=0;q[212921]=0;q[212928]=0;q[212929]=0;q[212932]=0;q[212933]=0;q[212936]=0;q[212937]=0;q[212938]=0;q[212939]=0;q[212940]=0;q[212923]=-1;q[212931]=-1;o[851764]=r[851764]&254;c=zj();o[851668]=0;q[212916]=c;ti(851768)}c=q[212927];d:{if(!c){break d}c=q[q[212926]+(lwa(a,b,c)<<2)>>2];if((c|0)==-1){break d}f=q[212928];while(1){d=w(c,24)+f|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+16>>2];if((c|0)!=-1){continue}break d}break}g=q[(w(c,24)+f|0)+8>>2]}lj(e);return g}function yB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=fi-96|0;fi=g;i=q[62290];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+4224>>2];k=q[f+4228>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=qo(b,e,h);if(b){q[g+16>>2]=q[q[62290]+4>>2];q[g+20>>2]=b;mi(4,35903,37547,g+16|0)}a=Zj(g- -64|0,g+32|0,l,m,0,i,a,128);if(a){q[g>>2]=q[q[62290]+4>>2];q[g+4>>2]=a;mi(4,35903,37605,g)}fi=g+96|0}function CR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-1248|0;fi=d;f=yl(a,1,131451,0);c=d;a:{if((ri(a,2)|0)<=0){b=T(0)|0;break a}g=Ai(a,2);if(y(g)<2147483648){b=~~g;break a}b=-2147483648}q[c+1244>>2]=b;b:{c:{if(r[f|0]==33){f=f+1|0;c=di(d+1244|0,963520)|0;break c}c=zx(d+1244|0)}if(!c){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;break b}if(!Ej(f,131454)){ij(a,0,9);e=q[c>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131457);e=q[c+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131461);e=q[c+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131465);e=q[c+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131470);e=q[c+16>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131474);e=q[c+20>>2]+1900|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131480);e=q[c+24>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131485);e=q[c+28>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131490);b=q[c+32>>2];if((b|0)<0){break b}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,131495);break b}o[d+1243|0]=0;o[d+1241|0]=37;b=d+200|0;q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;e=d+1236|0;while(1){d:{a=r[f|0];e:{if((a|0)!=37){if(a){break e}bm(d+200|0);break b}b=r[f+1|0];if(b){break d}}b=q[d+200>>2];if(e>>>0<=b>>>0){Pk(d+200|0);b=q[d+200>>2];a=r[f|0]}q[d+200>>2]=b+1;o[b|0]=a;f=f+1|0;continue}o[d+1242|0]=b;Wm(d+200|0,d,gb(d|0,200,d+1241|0,c|0)|0);f=f+2|0;continue}}fi=d+1248|0;return 1}function zB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=fi-96|0;fi=g;i=q[62214];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+4224>>2];k=q[f+4228>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=qo(b,e,h);if(b){q[g+16>>2]=q[q[62214]+4>>2];q[g+20>>2]=b;mi(4,35903,37547,g+16|0)}a=Zj(g- -64|0,g+32|0,l,m,0,i,a,48);if(a){q[g>>2]=q[q[62214]+4>>2];q[g+4>>2]=a;mi(4,35903,37605,g)}fi=g+96|0}function ht(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=fi-96|0;fi=g;i=q[62326];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+4224>>2];k=q[f+4228>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=qo(b,e,h);if(b){q[g+16>>2]=q[q[62326]+4>>2];q[g+20>>2]=b;mi(4,35903,37547,g+16|0)}a=Zj(g- -64|0,g+32|0,l,m,0,i,a,40);if(a){q[g>>2]=q[q[62326]+4>>2];q[g+4>>2]=a;mi(4,35903,37605,g)}fi=g+96|0}function BN(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=x(0),h=0,i=x(0),j=0,k=x(0),l=0,m=0,n=x(0),p=x(0),s=x(0),t=0,v=0,w=0,z=x(0),B=x(0),E=0,F=0,H=x(0),I=x(0),K=0;h=b;l=q[h+48>>2];v=q[h+52>>2];g=u[h+40>>2];w=q[h+4>>2];m=w+(q[h+44>>2]<<1)|0;o[m|0]=r[m-2|0];m=q[h+44>>2]<<1;o[(m|1)+w|0]=r[(m+w|0)-1|0];s=u[h+32>>2];k=u[h+28>>2];j=q[a+4>>2];t=q[a>>2];z=u[h+20>>2];i=u[h+16>>2];g=x(g*x(+(kwa(c<<31,c>>>1|0,d)>>>0)+ +(ii>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;m=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;m=0}b:{if(!f){q[b+48>>2]=l;q[b+52>>2]=v;a=q[b+44>>2];d=0;break b}I=x(x(1)/x(f>>>0));n=k;B=x(s-k);k=x(j>>>0);s=x(B/k);p=x(t>>>0);g=x(n+x(s*p));s=x(x(s+g)-g);n=i;i=x(x(z-i)/k);k=x(n+x(i*p));z=x(x(i+k)-k);d=0;a=0;while(1){h=d;j=d<<1;d=j+w|0;t=r[d|0];K=r[d+2|0];i=x(I*x(a|0));p=x(+x(g+x(s*i))*1.5707963267948966);n=rl(p);j=r[(j|1)+w|0];d=r[d+3|0];E=a<<3;F=E+e|0;B=n;n=x(k+x(z*i));i=x(x(+(l>>>0)+ +(v>>>0)*4294967296)*x(4.656612873077393e-10));H=x(x(1)-i);u[F>>2]=u[F>>2]+x(B*x(n*x(x(H*x((-128-t&255)>>>0))+x(i*x((-128-K&255)>>>0)))));p=nk(p);t=(E|4)+e|0;u[t>>2]=u[t>>2]+x(p*x(n*x(x(H*x((-128-j&255)>>>0))+x(i*x((-128-d&255)>>>0)))));d=l;l=c;j=d+l|0;d=v+m|0;d=j>>>0>>0?d+1|0:d;l=j&2147483647;v=0;d=((d&2147483647)<<1|j>>>31)+h|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=l;q[b+52>>2]=v;a=q[b+44>>2];if(h>>>0<=a>>>0){break b}J(202287,201413,963,202374);G()}c=q[b+4>>2];Kk(c,c+(d<<1)|0,a-d<<1);q[b+44>>2]=q[b+44>>2]-d}function hF(a){var b=0,c=0;c=fi-16|0;fi=c;b=159158;a:{b:{c:{switch(a+103|0){case 102:b=159161;break a;case 101:b=159167;break a;case 100:b=159179;break a;case 99:b=159190;break a;case 98:b=159195;break a;case 97:b=159205;break a;case 96:b=159217;break a;case 95:b=159223;break a;case 94:b=159235;break a;case 93:b=159240;break a;case 92:b=159246;break a;case 91:b=159253;break a;case 90:b=159259;break a;case 89:b=159267;break a;case 88:b=159275;break a;case 86:b=159286;break a;case 83:b=159293;break a;case 81:b=159301;break a;case 80:b=159309;break a;case 79:b=159319;break a;case 78:b=159324;break a;case 77:b=159339;break a;case 76:b=159349;break a;case 75:b=159358;break a;case 74:b=159371;break a;case 73:b=159383;break a;case 72:b=159393;break a;case 71:b=159405;break a;case 3:b=159416;break a;case 2:b=159431;break a;case 1:b=159441;break a;case 0:b=159453;break a;default:if((a|0)==-1e3){break b}break;case 103:break a;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: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 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 82:case 84:case 85:case 87:break c}}q[c>>2]=a;mi(4,158664,159469,c);b=159507;break a}b=159461}fi=c+16|0;return b}function _ia(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;b=fi-112|0;c=b;fi=c;j=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{g=gj(a,1);c:{if((g|0)<=0){q[c>>2]=g;b=ni(a,61582,c);break c}if((ri(a,2)|0)!=5){b=ni(a,61637,0);break c}h=wl(a,2);if((h|0)<=0){b=ni(a,61684,0);break c}i=b-(w(h,24)+15&-16)|0;fi=i;Hi(a,2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(dk(a,-2)){while(1){e=Ti(c+88|0,a,0,61062,273);d:{if((ri(a,-1)|0)!=5){b=c;f=ri(a,-1);d=125997;e:{if((f|0)==-1){break e}d=q[(f<<2)+261152>>2]}q[b+80>>2]=d;uj(e,61822,c+80|0);break d}Hi(a,-1);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;f:{g:{h:{if(!dk(a,-2)){oi(a,-2);b=9;break h}d=w(k,24)+i|0;l=d;b=9;while(1){if((ri(a,-2)|0)!=4){oi(a,-4);d=ri(a,-2);b=125997;i:{if((d|0)==-1){break i}b=q[(d<<2)+261152>>2]}q[c+68>>2]=_i(a,-2,0);q[c+64>>2]=b;uj(e,61860,c- -64|0);break d}f=_i(a,-2,0);j:{if(!Ej(f,61903)){q[d>>2]=Pj(a,-1);q[d+4>>2]=ii;break j}if(!Ej(f,61908)){b=gj(a,-1);break j}if(Ej(f,61913)){break f}o[l+12|0]=gj(a,-1)}oi(a,-2);if(dk(a,-2)){continue}break}oi(a,-2);if(b>>>0<9){break g}}q[c+36>>2]=0;q[c+40>>2]=8;q[c+32>>2]=b;uj(e,61957,c+32|0);break d}q[d+8>>2]=b;break d}oi(a,-4);q[c+48>>2]=f;uj(e,61919,c+48|0)}Si(e);oi(a,-2);k=k+1|0;if(dk(a,-2)){continue}break}}oi(a,-2);q[c+84>>2]=0;e=uv(g,i,h&255,c+84|0);if(e){if(q[a+8>>2]-q[a+12>>2]>>4!=(j|0)){break b}b=c;if(e>>>0<=8){d=q[(e<<2)+266896>>2]}else{d=138552}q[b+16>>2]=d;b=ni(a,61755,c+16|0);break c}q[c+88>>2]=q[c+84>>2];b=1;q[c+92>>2]=1;ey(a,c+88|0);if((j+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}fi=c+112|0;return b|0}J(61041,61062,404,61748);G()}J(61797,61062,411,61748);G()}function Kma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-160|0;fi=b;g=Ti(b+136|0,a,0,15813,1206);Ki(a);d=yi(a,-1,q[72645],18648);oi(a,-2);e=q[d+4>>2];q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;fm(a,b+104|0);ok(a,1,b+72|0,b+104|0);d=q[q[e+80>>2]+8>>2];a:{if(!d){break a}d=q[d>>2];if(!d){break a}c=q[d+4224>>2];f=q[d+4228>>2]}b:{if((c|0)!=q[b+72>>2]|(f|0)!=q[b+76>>2]){a=uj(g,16379,0);break b}c=q[q[e+80>>2]+8>>2];d=un(c,q[b+88>>2],q[b+92>>2]);if(!d){q[b>>2]=Ei(q[b+88>>2],q[b+92>>2]);a=uj(g,14983,b);break b}c:{if(q[a+8>>2]-q[a+12>>2]>>4<2){break c}if(!ri(a,2)){break c}ok(a,2,b+72|0,b+104|0);h=un(c,q[b+88>>2],q[b+92>>2]);if(!h){q[b+16>>2]=Ei(q[b+88>>2],q[b+92>>2]);a=uj(g,14983,b+16|0);break b}c=0;f=0;e=q[q[e+80>>2]+8>>2];d:{if(!e){break d}e=q[e>>2];if(!e){break d}c=q[e+4224>>2];f=q[e+4228>>2]}if((c|0)==q[b+72>>2]&(f|0)==q[b+76>>2]){break c}a=uj(g,16379,0);break b}q[b+64>>2]=Fj(a,3);a=b;c=b;if(h){f=q[h+100>>2];e=q[h+96>>2]}else{f=0;e=0}q[c+56>>2]=e;q[a+60>>2]=f;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;c=0;f=0;a=q[q[d+80>>2]+8>>2];e:{if(!a){break e}a=q[a>>2];if(!a){break e}c=q[a+4224>>2];f=q[a+4228>>2]}q[b+24>>2]=c;q[b+28>>2]=f;a=q[d+96>>2];c=q[d+100>>2];q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=a;q[b+44>>2]=c;c=q[59646];a=0;if(!Zj(0,b+24|0,q[c+8>>2],q[c+12>>2],d,c,b+56|0,16)){break b}a=uj(g,16447,0)}Si(g);fi=b+160|0;return a|0}function Oqa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=b+2|0;a:{b:{c:{d:{e:{g=b+3&-2;if(g>>>0<=8192){e=q[a+96>>2];if(e){break e}b=0;break d}e=xi(i);p[e>>1]=8;break a}c=q[a+4>>2];if(c>>>0>=g>>>0){d=a+4|0;break b}f=8;b=1;c=q[a+8>>2];d=c+g|0;if(d>>>0>16384){break d}f=a+8|0;break c}e=q[a+100>>2];if(e){h=1;d=a+16|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}b=f;f=a+20|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}}e=q[a+104>>2];f:{if(e){h=2;d=a+28|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+32|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break f}b=(b|0)==8?2:b}e=q[a+108>>2];g:{if(e){h=3;d=a+40|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+44|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break g}b=(b|0)==8?3:b}e=q[a+112>>2];h:{if(e){h=4;d=a+52|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+56|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break h}b=(b|0)==8?4:b}e=q[a+116>>2];i:{if(e){h=5;d=a- -64|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+68|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break i}b=(b|0)==8?5:b}e=q[a+120>>2];j:{if(e){h=6;d=a+76|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+80|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break j}b=(b|0)==8?6:b}k:{e=q[a+124>>2];l:{if(e){h=7;d=a+88|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+92|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}if((b|0)==8){break k}break l}b=(b|0)==8?7:b}e=Ci(16384);f=w(b,12)+a|0;q[f+8>>2]=g;q[f>>2]=1;q[f+4>>2]=0;p[e>>1]=b;q[((b<<2)+a|0)+96>>2]=e;break a}e=xi(i);p[e>>1]=8;break a}a=w(h,12)+a|0;q[a>>2]=q[a>>2]+1;q[f>>2]=d;e=e+c|0;p[e>>1]=h;break a}b=c-g|0;q[d>>2]=b;a=w(h,12)+a|0;q[a>>2]=q[a>>2]+1;e=b+e|0;p[e>>1]=h}return e+2|0}function Cp(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=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);f=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);d=r[b|0];c=r[b+3|0]|(r[b+1|0]<<16|d<<24|r[b+2|0]<<8);e=(f>>>4^c)&252645135;b=(e<<4^f)&-269488145|c&269488144;b=(q[(b>>>7&60)+145536>>2]<<2|q[(b<<1&60)+145536>>2]<<3|q[(b>>>15&60)+145536>>2]<<1|q[(b>>>23&60)+145536>>2]|q[(b>>>2&60)+145536>>2]<<7|q[(b>>>10&60)+145536>>2]<<6|q[(b>>>18&60)+145536>>2]<<5|q[(b>>>26&60)+145536>>2]<<4)&268435455;c=c^e;e=(q[(c>>>6&60)+145472>>2]<<2|q[((c&15)<<2)+145472>>2]<<3|q[(c>>>14&60)+145472>>2]<<1|q[(c>>>22&60)+145472>>2]|q[(c>>>3&60)+145472>>2]<<7|q[(c>>>11&60)+145472>>2]<<6|q[(c>>>19&60)+145472>>2]<<5|q[(d>>>3&28)+145472>>2]<<4)&268435455;while(1){c=a;f=b;a:{if(!(!(1<>>0>15)){g=27;i=1;h=268435454;break a}g=26;i=2;h=268435452}d=e<>>g|0;e=j|l;n=e<<10;m=c;c=f<>>g|0;b=f|h;f=f>>>14|0;g=b>>>3|0;q[m>>2]=c&256|(d>>>10&65536|(j<<2&131072|(n&262144|(d>>>1&1048576|(d<<9&2097152|(d<<6&16777216|(e<<18&34078720|(d<<14&134217728|(j<<4&603979776|l<<28&268435456)))))))))|c>>>13&8192|c>>>4&4096|b<<6&2048|c>>>1&1024|f&512|c>>>5&32|c>>>10&16|g&8|c>>>18&4|c>>>26&2|c>>>24&1;m=c>>>21&2;i=c>>>7&32;l=c>>>9&1024;o=c>>>2&8192;p=c&512;c=e<<15;q[a+4>>2]=m|(h<<2&4|(g&17|(i|(b<<7&256|(l|(f&2056|(b<<8&4096|(o|(p|(d>>>4&65536|(d>>>6&262144|(j<<3&524288|(d<<11&1048576|(e<<16&2097152|(j<<1&16777216|(d>>>2&33554432|(e<<22&67108864|(n&134217728|(c&536870912|d<<17&268435456))))))))|c&131072)))))))))));a=a+8|0;k=k+1|0;if((k|0)!=16){continue}break}}function cla(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;g=fi-48|0;fi=g;c=q[a+4>>2];h=q[a+8>>2];q[g+44>>2]=419;q[g+40>>2]=420;q[g+36>>2]=421;q[g+32>>2]=422;a=q[h+52>>2];q[g+20>>2]=0;q[g+16>>2]=c;q[g+8>>2]=a;b=q[c+32>>2];d=q[c+36>>2];a:{if((b|0)==(d|0)){b=d;break a}a=0;while(1){e=q[(a<<2)+b>>2];if((r[e+22|0]&3)==3){b=q[e+8>>2];f=(s[q[e+8>>2]+26>>1]+f|0)+((q[b+232>>2]-q[b+228>>2]|0)/12|0)|0;d=q[c+36>>2];b=q[c+32>>2]}a=a+1|0;if(a>>>0>2>>>0){continue}break}}b:{c:{a=(f<<1)+(f>>>3|0)|0;f=q[c>>2];e=(q[c+8>>2]-f|0)/288|0;if(a>>>0>e>>>0){if(o[c+12|0]&1){break b}vi(a,288,c,c+8|0,c+4|0);if(o[c+28|0]&1){break b}vi(a,4,c+16|0,c+24|0,c+20|0);b=q[c+16>>2];if(a>>>0>q[c+24>>2]-b>>2>>>0){break c}q[c+20>>2]=b+(a<<2);qi(b+(e<<2)|0,0,a-e<<2);d=q[c+36>>2];f=q[c>>2];b=q[c+32>>2]}q[c+4>>2]=f;q[c+60>>2]=q[c+56>>2];if((b|0)!=(d|0)){a=0;while(1){e=q[(i<<2)+b>>2];if((r[e+22|0]&3)==3){f=g;b=q[e+16>>2];if(!b){b=q[q[e+4>>2]+80>>2]}q[f+12>>2]=b;Q8(q[e+8>>2],g+32|0,g+8|0);f=Qo(q[h+52>>2],((q[c+4>>2]-q[c>>2]|0)/288|0)-a|0);b=Po(q[h+52>>2],423,c);e=s[q[e+8>>2]+354>>1];d=q[c>>2];d:{if((q[c+4>>2]-d|0)/288>>>0<=a>>>0){b=f;break d}j=b<<6;e=e<<16;b=f;while(1){p[b+40>>1]=s[b+40>>1]&65472|32;d=w(a,288)+d|0;k=q[d+272>>2];q[b+32>>2]=d;q[b+36>>2]=0;q[b+20>>2]=a;q[b+16>>2]=e+k;q[b+24>>2]=q[q[d+156>>2]+80>>2];p[b+40>>1]=s[b+40>>1]&49215|j;b=b+48|0;a=a+1|0;d=q[c>>2];if(a>>>0<(q[c+4>>2]-d|0)/288>>>0){continue}break}}Oo(q[h+52>>2],f,b);d=q[c+36>>2];b=q[c+32>>2]}i=i+1|0;if(i>>>0>2>>>0){continue}break}}fi=g+48|0;return 0}J(39472,39220,474,39491);G()}J(39145,39220,461,39299);G()}function Tha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),r=x(0);c=fi-128|0;fi=c;g=Ti(c+104|0,a,1,67527,406);q[c+96>>2]=0;q[c+100>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;a:{b:{if(!fm(a,c+72|0)){a=ni(a,67758,0);break b}ns(a,q[74460]);e=Vi(a,-1);oi(a,-2);b=q[q[q[Kj(a)+80>>2]+8>>2]>>2];e=q[e+8>>2];if(t[q[b+4>>2]>>2]>e>>>0){e=q[(b+(e<<2)|0)+12>>2]}else{e=0}if(!e){a=uj(g,67815,0);break b}b=il(a,1);j=u[b+8>>2];k=u[b+4>>2];l=u[b>>2];b=il(a,2);m=u[b+8>>2];n=u[b+4>>2];r=u[b>>2];vj(a,3,5);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=0;if(dk(a,3)){while(1){d=CJ(e,Qk(a,-1),ii);oi(a,-2);b=b|d;if(dk(a,3)){continue}break}}h=ri(a,4);if((h|0)==5){Hi(a,4);zi(a,-1,67909);f=0;c:{if(!ri(a,-1)){break c}f=(Fj(a,-1)|0)!=0}oi(a,-2);oi(a,-2)}d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;vi(32,64,c+56|0,d,c+56|4);d=uG(c);p[d+40>>1]=b;u[d+16>>2]=r;u[d+8>>2]=j;u[d+4>>2]=k;u[d>>2]=l;u[d+24>>2]=m;u[d+20>>2]=n;p[d+42>>1]=s[d+42>>1]&65534|f;d:{if(o[e+137|0]&1){break d}}d=q[c+56>>2];i=q[c+60>>2];e:{if((d|0)==(i|0)){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;break e}b=0;ij(a,0,0);f=f?i-d>>6:1;if(!f){break e}if((h|0)==5){while(1){ij(a,0,0);d=q[c+56>>2];if(q[c+60>>2]-d>>6>>>0<=b>>>0){break a}pJ(a,e,d+(b<<6)|0);b=b+1|0;vk(a,-2,b);if((b|0)!=(f|0)){continue}break e}}while(1){d=q[c+56>>2];if(q[c+60>>2]-d>>6>>>0<=b>>>0){break a}pJ(a,e,d+(b<<6)|0);b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=1;if(o[c+68|0]&1){break b}e=q[c+56>>2];if(!e){break b}ki(e)}Si(g);fi=c+128|0;return a|0}J(69943,69864,447,69954);G()}function lka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;d=fi-112|0;fi=d;q[d+72>>2]=0;q[d+76>>2]=0;e=d- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;e=q[c+172>>2];q[d+40>>2]=q[c+168>>2];q[d+44>>2]=e;e=q[c+164>>2];q[d+32>>2]=q[c+160>>2];q[d+36>>2]=e;e=q[c+156>>2];q[d+24>>2]=q[c+152>>2];q[d+28>>2]=e;e=q[c+148>>2];q[d+16>>2]=q[c+144>>2];q[d+20>>2]=e;a:{if(!a){q[d+104>>2]=0;q[d+108>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;a=q[q[q[c>>2]+80>>2]+8>>2];b:{if(!a){break b}a=q[a>>2];if(!a){break b}f=q[a+4224>>2];g=q[a+4228>>2]}q[d+80>>2]=f;q[d+84>>2]=g;c:{if(po(f,g)){if(!qo(q[c>>2],s[c+236>>1],d+104|0)){break c}}mi(4,46420,47441,0);break a}f=q[c>>2];g=q[f+100>>2];a=d- -64|0;q[a>>2]=q[f+96>>2];q[a+4>>2]=g;a=q[d+92>>2];q[d+56>>2]=q[d+88>>2];q[d+60>>2]=a;a=q[d+108>>2];q[d+72>>2]=q[d+104>>2];q[d+76>>2]=a;a=q[d+84>>2];q[d+48>>2]=q[d+80>>2];q[d+52>>2]=a;a=q[62010];g=q[a+8>>2];f=q[a+12>>2];e=q[b+4>>2];q[d+80>>2]=q[b>>2];q[d+84>>2]=e;q[d+88>>2]=q[b+8>>2];a=oo(d+48|0,d+16|0,g,f,0,q[c+176>>2],a,d+80|0,16,0);o[c+144|0]=0;o[c+145|0]=0;o[c+146|0]=0;o[c+147|0]=0;o[c+148|0]=0;o[c+149|0]=0;o[c+150|0]=0;o[c+151|0]=0;o[c+168|0]=0;o[c+169|0]=0;o[c+170|0]=0;o[c+171|0]=0;o[c+172|0]=0;o[c+173|0]=0;o[c+174|0]=0;o[c+175|0]=0;o[c+160|0]=0;o[c+161|0]=0;o[c+162|0]=0;o[c+163|0]=0;o[c+164|0]=0;o[c+165|0]=0;o[c+166|0]=0;o[c+167|0]=0;o[c+152|0]=0;o[c+153|0]=0;o[c+154|0]=0;o[c+155|0]=0;o[c+156|0]=0;o[c+157|0]=0;o[c+158|0]=0;o[c+159|0]=0;if(!a){break a}mi(4,46420,47516,0);break a}q[d>>2]=a;mi(4,46420,47559,d)}fi=d+112|0}function Cja(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=0,k=x(0),l=x(0),m=0;e=fi-48|0;fi=e;b=q[a+1040>>2];d=q[b+28>>2];c=q[d+16>>2];b=q[b+32>>2];if(b>>>0>2]-c>>3>>>0){h=q[c+(b<<3)>>2];i=q[d>>2];if(h>>>0<(q[d+4>>2]-i|0)/240>>>0){c=q[a+1052>>2];m=c;d=q[a+1048>>2];b=d+1|0;c=b>>>0<1?c+1|0:c;q[a+1048>>2]=b;q[a+1052>>2]=c;b=!m&d>>>0>3|(m|0)!=0;a:{if(!b){c=3;b:{if(b){break b}c:{d:{switch(d-1|0){default:b=i+w(h,240)|0;f=u[b+16>>2];g=u[b+20>>2];k=u[b+24>>2];break c;case 0:c=i+w(h,240)|0;f=u[c+32>>2];l=u[c+44>>2];k=u[c+40>>2];g=u[c+36>>2];c=4;break b;case 1:b=i+w(h,240)|0;f=u[b+48>>2];g=u[b+52>>2];k=u[b+56>>2];break c;case 2:break d}}b=i+w(h,240)|0;f=u[b+64>>2];g=u[b+68>>2];k=u[b+72>>2]}}d=li(q[(d<<2)+241312>>2]);u[a+28>>2]=l;u[a+24>>2]=k;u[a+20>>2]=g;u[a+16>>2]=f;q[a+8>>2]=c;q[a>>2]=d;q[a+4>>2]=ii;j=1;break a}c=d;b=m-(c>>>0<4)|0;c=c-4|0;if(!b&c>>>0<=3){Ko(e,(i+w(h,240)|0)+80|0);j=0;if(!b&c>>>0>3|b){break a}b=a;e:{f:{switch(c-1|0){default:g=u[e+20>>2];l=u[e+16>>2];f=u[e+24>>2];d=3;break e;case 0:k=u[e+12>>2];g=u[e+4>>2];l=u[e>>2];f=u[e+8>>2];d=4;break e;case 1:d=i+w(h,240)|0;l=x(u[e+32>>2]/x(u[d+64>>2]*u[d+48>>2]));g=x(u[e+36>>2]/x(u[d+68>>2]*u[d+52>>2]));f=u[e+40>>2];d=3;break e;case 2:break f}}g=u[e+36>>2];l=u[e+32>>2];f=u[e+40>>2];d=3}q[b+8>>2]=d;d=li(q[(c<<2)+241328>>2]);u[a+28>>2]=k;u[a+24>>2]=f;u[a+20>>2]=g;u[a+16>>2]=l;q[a>>2]=d;q[a+4>>2]=ii;j=1;break a}j=0;if((d|0)!=8|m){break a}q[a+8>>2]=6;o[a+16|0]=r[(i+w(h,240)|0)+234|0]>>>2&1;q[a>>2]=li(52366);q[a+4>>2]=ii;j=1}c=j;fi=e+48|0;return c|0}}J(52519,51871,447,51574);G()}function qs(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,p=0,s=0,t=0;h=fi-32|0;fi=h;a:{if(o[292036]&1){break a}if(!ui(292036)){break a}if(r[852367]){e=Ri(29243)}else{e=-1}q[73008]=e;ti(292036)}b:{if(o[292044]&1){break b}if(!ui(292044)){break b}if(r[852367]){e=Yi(29252,15)}else{e=0}q[73010]=e;ti(292044)}k=q[73008];c:{if((k|0)!=-1){Qi(h,k,29252,q[73010]);break c}q[h>>2]=0}k=Uj();e=k;s=1e3-e|0;m=ii;t=0-(m+(e>>>0>1e3)|0)|0;i=d>>>0<1e3;d:{while(1){e:{g=q[a+88168>>2];f:{g:{j=q[a+173496>>2];e=q[a+173500>>2];n=j>>>0>=(q[a+173504>>2]-e|0)/56>>>0;if(n){break g}e=e+w(j,56)|0;j=e+16|0;q[e+12>>2]=j;l=q[e+40>>2];p=ji[q[l+24>>2]](e)|0;if((p|0)==-17){break g}q[a+173496>>2]=q[a+173496>>2]+1;h:{if(r[e+48|0]){q[h+16>>2]=q[a+155704>>2];f=q[l+12>>2];q[h+24>>2]=j;q[h+20>>2]=f;ji[q[l+28>>2]](h+16|0)|0;o[e+48|0]=0;break h}f=q[e+12>>2];f=ou(q[a+155704>>2],q[f>>2],q[f+4>>2]);if(!f){break h}e=q[q[e+12>>2]+16>>2];if(!e){break h}q[f+16>>2]=e}e=q[a+173500>>2];if(q[a+173496>>2]==((q[a+173504>>2]-e|0)/56|0)){q[a+173496>>2]=0;q[a+173504>>2]=e}f=0;if(g){break f}q[a+88168>>2]=p;break f}i:{if((g|0)==-17){if(!RF(a,0)){break i}f=0;break f}j:{if(r[a+173493|0]){break j}o[a+173493|0]=1;if(g|!b){break j}f=0;if(ji[b|0](c)|0){break f}q[a+88168>>2]=-10;break f}if(n){break d}}if(SF(a)){f=0;break f}if(i){i=1;f=f+1|0;if(f>>>0<=3){break f}break e}e=d;g=s;j=Uj()+g|0;i=t+ii|0;i=g>>>0>j>>>0?i+1|0:i;g=j;if(!i&e>>>0>>0|i){i=1;gn(1);break f}gn(1e3);i=0}g=Uj();e=k;j=g-e|0;if((ii|0)==((e>>>0>g>>>0)+m|0)&d>>>0>=j>>>0){continue}}break}g=-17}if(q[h>>2]){Pi(h)}fi=h+32|0;return g}function gq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=q[a+68>>2];if(r[b+492|0]!=1){c=q[b+496>>2];q[b+500>>2]=c;q[b+504>>2]=q[c>>2]+12;nw(a);b=q[a+68>>2];o[b+492|0]=1}d=q[b+500>>2];a:{if(d){while(1){b:{if(r[d+8|0]!=22){h=r[a+180|0];e=0;break b}h=r[a+180|0];e=0;c=q[d>>2];if(r[c|0]!=20){break b}e=1;if(q[b+504>>2]!=(c+12|0)){break b}nw(a)}b=gC(a);if((b|0)<0){break a}c:{d:{e:{f:{g:{if(r[d+8|0]==20){if(b){break g}break d}if(b>>>0>=12){f=q[d>>2];g=q[q[a+68>>2]+504>>2];i=q[d+4>>2]-12|0;if(!i|(b|0)!=12){break f}}if(!e){break d}nw(a);break d}si(q[a+204>>2],q[d>>2],q[d+4>>2]);e=q[d+4>>2];q[a+212>>2]=e;q[a+208>>2]=r[d+8|0];b=q[a+68>>2];c=q[b+504>>2]+e|0;q[b+504>>2]=c;break e}e=q[a+204>>2];c=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[e|0]=c;o[e+1|0]=c>>>8;o[e+2|0]=c>>>16;o[e+3|0]=c>>>24;c=r[f+4|0]|r[f+5|0]<<8;o[e+4|0]=c;o[e+5|0]=c>>>8;c=(g-f|0)-12|0;o[q[a+204>>2]+6|0]=c>>>16;o[q[a+204>>2]+7|0]=c>>>8;o[q[a+204>>2]+8|0]=c;b=b-12|0;c=i-c|0;c=c>>>0>b>>>0?b:c;o[q[a+204>>2]+9|0]=c>>>16;o[q[a+204>>2]+10|0]=c>>>8;o[q[a+204>>2]+11|0]=c;si(q[a+204>>2]+12|0,g,c);q[a+212>>2]=c+12;q[a+208>>2]=r[d+8|0];b=q[a+68>>2];c=c+q[b+504>>2]|0;q[b+504>>2]=c;e=q[d+4>>2]}if(q[d>>2]+e>>>0<=c>>>0){c=b;g=q[d+12>>2];h:{if(g){q[b+500>>2]=g;b=q[g>>2]+12|0;break h}q[b+500>>2]=0;b=0}q[c+504>>2]=b}b=ut(a,(h|0)==1);if(b){break a}break c}b=tp(a);if(b){break a}}b=q[a+68>>2];d=q[b+500>>2];if(d){continue}break}}b=tp(a);if(b){break a}c=q[a+68>>2];i:{if(q[a+4>>2]==16){o[c+492|0]=3;break i}o[c+492|0]=2;b=q[c+488>>2];c=q[a+92>>2];if(c){ji[c|0](q[a+88>>2],b>>>2|0,b)}}b=0}return b}function rE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=fi-16|0;fi=i;a:{b:{c:{d:{if((a|0)!=10){if((a|0)!=2){break c}while(1){e=0;a=0;e:{f:{while(1){d=a+b|0;if(o[d|0]-48>>>0<10){e=(o[d|0]+w(e,10)|0)-48|0;g=3;a=a+1|0;if((a|0)!=3){continue}break f}break}g=a;g:{switch(a|0){case 0:break a;case 1:break g;default:break f}}g=1;if((e|0)<=255){break e}break b}a=0;if(r[b|0]==48|(e|0)>255){break a}}o[c+f|0]=e;b=b+g|0;d=r[b|0];if(d?0:(f|0)==3){break d}a=0;if((d|0)!=46){break a}b=b+1|0;f=f+1|0;if((f|0)!=4){continue}break}break a}f=r[b|0];if((f|0)==58){a=0;if(r[b+1|0]!=58){break a}b=b+1|0}h=-1;while(1){h:{i:{if(!((f&255)==58?(h|0)<=-1:0)){a=0;e=0;g=0;f=wE(f<<24>>24);j:{if((f|0)>-1){while(1){g=(g<<4)+f|0;e=e+1|0;if((e|0)==4){e=4;break j}f=wE(o[b+e|0]);if((f|0)>-1){continue}break}}if(!e){break a}}p[((d&7)<<1|i)>>1]=g;e=b+e|0;g=r[e|0];if(!g){g=1;if((d|0)==7|(h|0)>-1){break i}break a}if((d|0)==7){break a}if((g|0)!=58){if((g|0)!=46|((h|0)<0?d>>>0<=5:0)){break a}d=d+1|0;g=0;break i}a=e+1|0;f=r[a|0];break h}g=1;p[((d&7)<<1|i)>>1]=0;a=b+1|0;f=r[b+1|0];if(!f){b=a;h=d;break i}h=d;if((d|0)==7){break b}break h}a=0;k:{if((h|0)<0){break k}e=(h<<1)+i|0;Kk((e-(d<<1)|0)+14|0,e,(d-h<<1)+2|0);if((d|0)>6){break k}d=7-d|0;d=(d|0)>1?d:1;e=0;while(1){p[(e+h<<1)+i>>1]=0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}while(1){d=c;c=s[(a<<1)+i>>1];c=(c<<24|c<<8&16711680)>>>16|0;o[d|0]=c;o[d+1|0]=c>>>8;c=d+2|0;a=a+1|0;if((a|0)!=8){continue}break}if(g){break d}if((rE(2,b,d-2|0)|0)<1){break b}break d}d=d+1|0;b=a;continue}}a=1;break a}q[240833]=5;a=-1;break a}a=0}fi=i+16|0;return a}function BF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-144|0;fi=e;a:{b:{h=q[a+8>>2]-q[a+12>>2]>>4;if((h|0)>-1){g=SD(a,b);f=q[d+4>>2];c:{if(!f){break c}f=q[q[d>>2]+((g>>>0)%(f>>>0)<<2)>>2];if((f|0)==-1){break c}i=q[d+8>>2];while(1){f=w(f,12)+i|0;if(q[f>>2]==(g|0)){break b}f=q[f+8>>2];if((f|0)!=-1){continue}break}}f=(q[d+16>>2]-q[d+8>>2]|0)/12|0;if((f|0)==q[d+24>>2]){f=(f<<1)+20|0;pH(d,(f>>>0)/3|0,f)}o[e+143|0]=1;qH(d,g,e+143|0);Hi(a,b);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(!dk(a,-2)){q[e+32>>2]=g;Zm(c,111550,e+32|0);oi(a,-2);break a}q[e+112>>2]=g;Zm(c,111563,e+112|0);b=q[c+12>>2]+2|0;q[c+12>>2]=(b|0)>0?b:0;f=110785;while(1){q[e+96>>2]=f;Zm(c,111574,e+96|0);b=ri(a,-1);Hi(a,-2);zi(a,-10002,110695);ak(a,-2);zk(a,1,1);f=_i(a,-1,0);if(!f){oi(a,-2);ni(a,110704,0);break a}q[e+80>>2]=f;Zm(c,111580,e+80|0);oi(a,-2);d:{e:{switch(b-4|0){case 1:BF(a,-1,c,d);break d;case 0:q[e+64>>2]=_i(a,-1,0);Zm(c,111586,e- -64|0);break d;default:break e}}Hi(a,-1);zi(a,-10002,110695);ak(a,-2);zk(a,1,1);b=_i(a,-1,0);if(!b){oi(a,-2);ni(a,110704,0);break a}q[e+48>>2]=b;Zm(c,110749,e+48|0);oi(a,-2)}oi(a,-2);f=111578;if(dk(a,-2)){continue}break}b=q[c+12>>2]-2|0;q[c+12>>2]=(b|0)>0?b:0;Zm(c,110780,0);Zm(c,111591,0);P7(d,g);oi(a,-2);break a}q[e+12>>2]=h;q[e+4>>2]=416;q[e+8>>2]=0;q[e>>2]=110448;mi(4,110525,111068,e);J(111140,110448,1449,111157);G()}q[e+128>>2]=g;Zm(c,111533,e+128|0)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)==(h|0)){fi=e+144|0;return}q[e+28>>2]=a;q[e+24>>2]=h;q[e+20>>2]=416;q[e+16>>2]=110448;mi(4,110525,111171,e+16|0);J(111242,110448,1472,111261);G()}function tla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;a:{g=q[a+8>>2];b=q[g>>2];if((b|0)!=q[g+4>>2]){while(1){c=w(h,24)+b|0;b:{if((r[c+20|0]&3)!=3){break b}b=0;e=q[a>>2];c:{if(!e){break c}e=q[e>>2];if(!e){break c}b=q[e>>2]}e=q[c+4>>2];d:{if(!e){d=0;break d}q[f+12>>2]=c;q[f+8>>2]=b;d=qs(e,390,f+8|0,1e4);if((d|0)==-17){break b}}o[c+20|0]=r[c+20|0]&254;e=q[q[a+12>>2]>>2];b=0;e:{if(!e){break e}b=q[e+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[c+8>>2]);Xi(b,-1e4,q[c+12>>2]);Hi(b,-1);bk(b);if(!iy(b)){oi(b,-3);mi(4,37929,38227,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(38311,38332,329,38375);G()}if(q[c+8>>2]==-2){oi(b,-3);mi(4,37929,38388,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(38311,38332,337,38375);G()}Xi(b,-1e4,q[c+16>>2]);i=q[b+8>>2];q[i+8>>2]=1;q[i>>2]=!d;q[b+8>>2]=q[b+8>>2]+16;Wl(b,3,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)!=q[b+8>>2]-q[b+12>>2]>>4){break a}}h=h+1|0;b=q[g>>2];if(h>>>0<(q[g+4>>2]-b|0)/24>>>0){continue}break}}fi=f+16|0;return 0}J(38311,38332,345,38375);G()}function ama(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;a:{g=q[a+8>>2];b=q[g>>2];if((b|0)!=q[g+4>>2]){while(1){c=w(h,24)+b|0;b:{if((r[c+20|0]&3)!=3){break b}b=0;e=q[a>>2];c:{if(!e){break c}e=q[e>>2];if(!e){break c}b=q[e>>2]}e=q[c+4>>2];d:{if(!e){d=0;break d}q[f+12>>2]=c;q[f+8>>2]=b;d=qs(e,378,f+8|0,1e4);if((d|0)==-17){break b}}o[c+20|0]=r[c+20|0]&254;e=q[q[a+12>>2]>>2];b=0;e:{if(!e){break e}b=q[e+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[c+8>>2]);Xi(b,-1e4,q[c+12>>2]);Hi(b,-1);bk(b);if(!iy(b)){oi(b,-3);mi(4,33354,33908,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(34002,34023,303,34077);G()}if(q[c+8>>2]==-2){oi(b,-3);mi(4,33354,34090,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(34002,34023,311,34077);G()}Xi(b,-1e4,q[c+16>>2]);i=q[b+8>>2];q[i+8>>2]=1;q[i>>2]=!d;q[b+8>>2]=q[b+8>>2]+16;Wl(b,3,0);o[c+20|0]=r[c+20|0]&254;d=q[c+8>>2];if((d|0)!=-2){sj(b,-1e4,d);sj(b,-1e4,q[c+12>>2]);sj(b,-1e4,q[c+16>>2]);q[c+8>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2}d=q[c+4>>2];if(d){sn(d);q[c+4>>2]=0}if((e|0)!=q[b+8>>2]-q[b+12>>2]>>4){break a}}h=h+1|0;b=q[g>>2];if(h>>>0<(q[g+4>>2]-b|0)/24>>>0){continue}break}}fi=f+16|0;return 0}J(34002,34023,319,34077);G()}function YZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;xwa(+b);d=uwa(1)|0;h=uwa(0)|0;j=d;d=d<<1|h>>>31;f=d;a:{g=h<<1;b:{if(!(d|g)){break b}d=j&2147483647;if((d|0)==2146435072&(h|0)!=0|d>>>0>2146435072){break b}xwa(+a);d=uwa(1)|0;c=uwa(0)|0;l=d;i=d>>>20&2047;if((i|0)!=2047){break a}}a=a*b;return a/a}k=c<<1;d=l<<1|c>>>31;e=d;if((d|0)==(f|0)&g>>>0>>0|d>>>0>f>>>0){k=j>>>20&2047;c:{if(!i){i=0;e=l<<12|c>>>20;f=c<<12;d=e;if((d|0)>0?1:(d|0)>=0){while(1){i=i-1|0;e=d<<1|f>>>31;f=f<<1;d=e;if((d|0)>-1){continue}break}}d=l;f=1-i|0;g=f&31;if((f&63)>>>0>=32){e=c<>>32-g|d<>>20;c=e;if((c|0)>0?1:(c|0)>=0){while(1){k=k-1|0;e=c<<1|g>>>31;g=g<<1;c=e;if((c|0)>-1){continue}break}}c=h;e=1-k|0;h=e&31;if((e&63)>>>0>=32){e=c<>>32-h|j<(k|0)){while(1){c=e;h=d-((c>>>0>f>>>0)+g|0)|0;j=f-c|0;e:{c=h;if((c|0)<0){break e}f=j;d=c;if(f|c){break e}return a*0}d=d<<1|f>>>31;f=f<<1;i=i-1|0;if((k|0)<(i|0)){continue}break}i=k}c=f;j=d-((e>>>0>c>>>0)+g|0)|0;c=c-e|0;f:{e=j;if((e|0)<0){break f}f=c;d=e;if(c|d){break f}return a*0}g:{if(d>>>0>1048575){g=f;c=d;break g}while(1){i=i-1|0;e=d>>>0<524288;d=d<<1|f>>>31;g=f<<1;c=d;f=g;if(e){continue}break}}j=0;l=l&-2147483648;if((i|0)>=1){e=c+ -1048576|i<<20}else{f=g;d=1-i|0;h=d&31;if((d&63)>>>0>=32){e=0;g=c>>>h|0}else{e=c>>>h|0;g=((1<>>h}}vwa(0,g|j);vwa(1,e|l);return+wwa()}return(g|0)==(k|0)&(e|0)==(f|0)?a*0:a}function pZ(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=fi-288|0;fi=d;q[d+284>>2]=-1;j=Ln(a,3,-1);qi(d+152|0,0,128);qi(d+24|0,0,128);oi(a,3);ij(a,0,0);g=q[a+8>>2]-q[a+12>>2]>>4;ij(a,0,0);h=q[a+8>>2]-q[a+12>>2]>>4;ij(a,0,0);c=1;i=q[a+8>>2]-q[a+12>>2]>>4;yL(a,1,g,d+152|0,d+284|0);yL(a,2,g,d+24|0,d+284|0);if(ri(a,1)){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Tj(a,1);if(ri(a,-1)){while(1){e=AE(a);a:{if((e|0)==-1){break a}wi(a,123948);Tj(a,-2);if(!ri(a,-1)){oi(a,-2);break a}Hi(a,-2);zk(a,1,1);b=Fj(a,-1);oi(a,-2);if(!b){break a}b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-2);Wi(a,h);b=(d+152|0)+(e>>>3&536870908)|0;k=q[b>>2];q[b>>2]=owa(-2,e)&k}oi(a,-2);e=q[a+8>>2];q[e+8>>2]=3;c=c+1|0;v[e>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,1);if(ri(a,-1)){continue}break}}oi(a,-2)}v[d+8>>3]=-1;c=(f|0)>0;v[d>>3]=c?0:j;Bn(d);b=!c;e=q[d+284>>2];c=fQ(e+1|0,d+152|0,d+24|0,d);b:{if(!((c|0)<1?b:0)){c=0;if((e|0)>=0){while(1){if(q[(d+152|0)+(c>>>3&536870908)>>2]>>>c&1){b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,g);Wi(a,h)}b=(c|0)!=(e|0);c=c+1|0;if(b){continue}break}c=0;f=0;while(1){if(q[(d+24|0)+(c>>>3&536870908)>>2]>>>c&1){b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,g);Wi(a,i)}b=(c|0)!=(e|0);c=c+1|0;if(b){continue}break}}RD(a,h);RD(a,i);a=2;break b}c:{if(!c){wi(a,123886);break c}ni(a,123894,0)}a=3}fi=d+288|0;return a|0}function poa(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,p=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=fi-96|0;fi=f;a:{b:{c:{c=q[a+1048>>2];e=c>>>16|0;if(e>>>0<=6){m=q[q[a+1040>>2]+32>>2];b=q[q[m>>2]+40>>2];s=b+48|0;t=b+44|0;w=b+56|0;x=b+52|0;y=b- -64|0;z=b+60|0;A=b+72|0;B=b+68|0;d=b+80|0;i=b+76|0;k=b+88|0;l=b+84|0;g=b+96|0;h=b+92|0;j=c&65535;while(1){b=t;c=s;n=0;d:{e:{f:{switch(e|0){case 1:b=x;c=w;break e;case 2:b=z;c=y;break e;case 3:b=B;c=A;break e;case 4:b=i;c=d;break e;case 5:b=l;c=k;break e;case 0:break e;case 6:break f;default:break d}}b=h;c=g}n=q[c>>2];p=q[b>>2]}if(!C&j>>>0>>0){break c}j=0;e=e+1|0;if((e|0)!=7){continue}break}a=0;break b}a=0;if((e|0)==7){break b}break a}if(!p){break a}c=(j<<5)+p|0;g=q[c>>2];b=q[c+20>>2];d=ap(f+16|0);i=$J(m,g,e,b,0,0,d);g:{if(i){break g}b=C;h=j+1|0;b=h>>>0<1?b+1|0:b;q[a+1048>>2]=h|e<<16;q[a+1052>>2]=b;q[a>>2]=li(g);q[a+4>>2]=ii;h:{switch(e|0){case 1:q[a+8>>2]=1;c=q[d+44>>2];q[a+16>>2]=q[d+40>>2];q[a+20>>2]=c;break g;case 0:q[a+8>>2]=0;v[a+16>>3]=v[d+40>>3];break g;case 6:q[a+8>>2]=6;o[a+16|0]=r[d+40|0];break g;case 3:case 4:case 5:q[a+8>>2]=e;u[a+16>>2]=u[d+40>>2];u[a+20>>2]=u[d+44>>2];u[a+24>>2]=u[d+48>>2];u[a+28>>2]=u[d+52>>2];break g;case 2:break h;default:break g}}q[a+8>>2]=2;k=Ei(q[d+40>>2],q[d+44>>2]);l=Ei(q[d+56>>2],q[d+60>>2]);b=d- -64|0;c=q[b+4>>2];d=q[b>>2];b=c;g=!(d|b);h=g?13121:13610;c=f;if(g){b=13121}else{b=Ei(d,b)}q[c+12>>2]=b;q[f+8>>2]=h;q[f+4>>2]=l;q[f>>2]=k;cj(a+16|0,1024,13600,f)}a=!i}fi=f+96|0;return a|0}J(13555,12779,1042,13568);G()}function Y$(){var a=0,b=0,c=0;b=q[239986];if(b){o[b+33949|0]=0;a=q[b+12>>2];if(a){SE(a);Tn(q[b+16>>2])}E$(q[b>>2]);a=q[b+20>>2];if((a|0)!=q[b+24>>2]){while(1){a=(c<<6)+a|0;q[a+56>>2]=-1;ki(q[a+4>>2]);q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;c=c+1|0;a=q[b+20>>2];if(c>>>0>2]-a>>6>>>0){continue}break}}ki(q[b+33920>>2]);ki(q[b+33924>>2]);ki(q[b+33928>>2]);ki(q[b+33932>>2]);ki(q[b+33936>>2]);ki(q[b+33940>>2]);a=q[b+132>>2];if(a){ki(a)}a=q[b+1188>>2];if(a){ki(a)}a=q[b+2244>>2];if(a){ki(a)}a=q[b+3300>>2];if(a){ki(a)}a=q[b+4356>>2];if(a){ki(a)}a=q[b+5412>>2];if(a){ki(a)}a=q[b+6468>>2];if(a){ki(a)}a=q[b+7524>>2];if(a){ki(a)}a=q[b+8580>>2];if(a){ki(a)}a=q[b+9636>>2];if(a){ki(a)}a=q[b+10692>>2];if(a){ki(a)}a=q[b+11748>>2];if(a){ki(a)}a=q[b+12804>>2];if(a){ki(a)}a=q[b+13860>>2];if(a){ki(a)}a=q[b+14916>>2];if(a){ki(a)}a=q[b+15972>>2];if(a){ki(a)}a=q[b+17028>>2];if(a){ki(a)}a=q[b+18084>>2];if(a){ki(a)}a=q[b+19140>>2];if(a){ki(a)}a=q[b+20196>>2];if(a){ki(a)}a=q[b+21252>>2];if(a){ki(a)}a=q[b+22308>>2];if(a){ki(a)}a=q[b+23364>>2];if(a){ki(a)}a=q[b+24420>>2];if(a){ki(a)}a=q[b+25476>>2];if(a){ki(a)}a=q[b+26532>>2];if(a){ki(a)}a=q[b+27588>>2];if(a){ki(a)}a=q[b+28644>>2];if(a){ki(a)}a=q[b+29700>>2];if(a){ki(a)}a=q[b+30756>>2];if(a){ki(a)}a=q[b+31812>>2];if(a){ki(a)}a=q[b+32868>>2];if(a){ki(a)}a=q[b+8>>2];if(a){ji[q[q[b+4>>2]+8>>2]](a)}ki(H$(b));q[239986]=0}}function SF(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,t=0;while(1){b=q[a+88104>>2];q[a+88104>>2]=b?b:1;if(b){continue}break}q[a+8>>2]=0;q[a+88104>>2]=0;b=q[a+4>>2];j=q[a>>2];q[a>>2]=0;q[a+4>>2]=0;l=r[a+12|0];o[a+12|0]=l&254;e=b-j|0;b=(e|0)/40|0;a:{if(!e){break a}t=b>>>0>1?b:1;m=a+88112|0;while(1){b:{e=w(k,40)+j|0;f=p[e+32>>1];i=f<<6;g=(i+a|0)+88146|0;b=s[g>>1];c:{if((b|0)!=65535){c=q[e+16>>2];h=q[e+20>>2];while(1){b=(b<<16>>16<<6)+a|0;d=b+88128|0;if((c|0)==q[d>>2]&(h|0)==q[d+4>>2]){break c}b=s[b+88148>>1];if((b|0)!=65535){continue}break}}b=q[a+155696>>2];if(!b){break c}b=b-1|0;q[a+155696>>2]=b;h=p[((b<<1)+a|0)+153648>>1];c=(h<<6)+m|0;b=c;q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=e;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;d=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=d;q[c+56>>2]=-17;p[c+34>>1]=65535;b=s[g>>1];p[c+32>>1]=f;p[c+36>>1]=b;p[g>>1]=h;b=i+m|0;i=s[b+38>>1];g=i+1|0;p[b+38>>1]=g;d:{if((f|0)==-1){break d}h=q[e+24>>2];e=q[e+28>>2];while(1){f=(f<<16>>16<<6)+a|0;d=f+88136|0;if(q[d>>2]==(h|0)&q[d+4>>2]==(e|0)){q[c+56>>2]=-16;if(!(g&65535)){break b}p[b+38>>1]=i;break d}f=s[f+88144>>1];if((f|0)!=65535){continue}break}}n=n+1|0}k=k+1|0;if((t|0)!=(k|0)){continue}break a}break}J(29668,29361,362,29646);G()}if(!(!j|l&1)){ki(j)}return(n|0)!=0}function Rx(a,b,c){var d=0,e=0,f=0,g=0;d=fi+ -64|0;fi=d;q[d+56>>2]=0;q[d+48>>2]=1;q[d+52>>2]=0;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{if(!q[a+24>>2]){e=c+24|0;e=Jj(a,d+32|0,e,e);if(e){break a}e=Bp(a,d+16|0,c,d+32|0);if(e){break a}e=mm(a,d,c,d+32|0);if(e){break a}e=Jj(a,d+32|0,d+16|0,d);if(e){break a}e=jq(d+48|0,d+32|0,3);if(e){break a}f=a+4|0;while(1){if((Dj(d+48|0,f)|0)<0){break b}e=Tm(d+48|0,d+48|0,f);if(!e){continue}break}break a}e=Jj(a,d+32|0,c,c);if(e){break a}e=jq(d+48|0,d+32|0,3);if(e){break a}f=a+16|0;g=a+4|0;while(1){if((Dj(d+48|0,g)|0)>=0){e=Tm(d+48|0,d+48|0,g);if(!e){continue}break a}break}if(!jj(f,0)){break b}e=c+24|0;e=Jj(a,d+32|0,e,e);if(e){break a}e=Jj(a,d+16|0,d+32|0,d+32|0);if(e){break a}e=Jj(a,d+32|0,d+16|0,f);if(e){break a}e=Bp(a,d+48|0,d+48|0,d+32|0);if(e){break a}}f=c+12|0;e=Jj(a,d+16|0,f,f);if(e){break a}e=Dr(a,d+16|0);if(e){break a}e=Jj(a,d+32|0,c,d+16|0);if(e){break a}e=Dr(a,d+32|0);if(e){break a}e=Jj(a,d,d+16|0,d+16|0);if(e){break a}e=Dr(a,d);if(e){break a}e=Jj(a,d+16|0,d+48|0,d+48|0);if(e){break a}e=mm(a,d+16|0,d+16|0,d+32|0);if(e){break a}e=mm(a,d+16|0,d+16|0,d+32|0);if(e){break a}e=mm(a,d+32|0,d+32|0,d+16|0);if(e){break a}e=Jj(a,d+32|0,d+32|0,d+48|0);if(e){break a}e=mm(a,d+32|0,d+32|0,d);if(e){break a}e=Jj(a,d,f,c+24|0);if(e){break a}e=Dr(a,d);if(e){break a}e=_j(b,d+16|0);if(e){break a}e=_j(b+12|0,d+32|0);if(e){break a}e=_j(b+24|0,d)}Ji(d+48|0);Ji(d+32|0);Ji(d+16|0);Ji(d);fi=d- -64|0;return e}function W1(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=x(0);e=fi-160|0;fi=e;b=em(a,1);a:{b:{c:{d:{if((b|0)!=q[210276]){if((b|0)==q[210277]){break d}if((b|0)==q[210278]){break c}q[e+144>>2]=120688;q[e+140>>2]=120672;q[e+136>>2]=120656;q[e+132>>2]=122261;q[e+128>>2]=120720;a=ni(a,122636,e+128|0);break a}b=yi(a,1,b,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){c=u[b+8>>2];if(c==c){break e}}c=u[b+8>>2];v[e+16>>3]=g;v[e+24>>3]=c;v[e+8>>3]=f;q[e>>2]=1;ni(a,120787,e);c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=bj(a,16);d=c;c=x(x(1)/x(F(x(x(x(f*f)+x(g*g))+x(c*c)))));u[b+8>>2]=d*c;u[b+4>>2]=g*c;u[b>>2]=f*c;zi(a,-1e4,120656);break b}b=yi(a,1,b,0);f=u[b>>2];g=u[b+4>>2];f:{g:{if(f!=f|g!=g){break g}c=u[b+8>>2];if(c!=c){break g}d=u[b+12>>2];if(d==d){break f}}c=u[b+8>>2];d=u[b+12>>2];v[e+48>>3]=g;v[e- -64>>3]=d;v[e+56>>3]=c;v[e+40>>3]=f;q[e+32>>2]=1;ni(a,120877,e+32|0);d=u[b+12>>2];c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=bj(a,16);h=d;d=x(x(1)/x(F(x(x(x(x(f*f)+x(g*g))+x(c*c))+x(d*d)))));u[b+12>>2]=h*d;u[b+8>>2]=c*d;u[b+4>>2]=g*d;u[b>>2]=f*d;zi(a,-1e4,120672);break b}b=yi(a,1,b,0);f=u[b>>2];g=u[b+4>>2];h:{i:{if(f!=f|g!=g){break i}c=u[b+8>>2];if(c!=c){break i}d=u[b+12>>2];if(d==d){break h}}c=u[b+8>>2];d=u[b+12>>2];v[e+96>>3]=g;v[e+112>>3]=d;v[e+104>>3]=c;v[e+88>>3]=f;q[e+80>>2]=1;ni(a,120971,e+80|0);d=u[b+12>>2];c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=bj(a,16);h=d;d=x(x(1)/x(F(x(x(x(x(f*f)+x(g*g))+x(c*c))+x(d*d)))));u[b+12>>2]=h*d;u[b+8>>2]=c*d;u[b+4>>2]=g*d;u[b>>2]=f*d;zi(a,-1e4,120688)}aj(a,-2);a=1}fi=e+160|0;return a|0}function Sx(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-112|0;fi=e;g=c+24|0;a:{if(!jj(g,0)){f=eo(b,d);break a}b:{if(!q[d+32>>2]){break b}h=d+24|0;if(!jj(h,0)){f=eo(b,c);break a}if(!q[d+32>>2]){break b}f=-20352;if(jj(h,1)){break a}}q[e+104>>2]=0;q[e+96>>2]=1;q[e+100>>2]=0;q[e+88>>2]=0;q[e+80>>2]=1;q[e+84>>2]=0;f=e- -64|0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;q[e+56>>2]=0;q[e+48>>2]=1;q[e+52>>2]=0;q[e+40>>2]=0;q[e+32>>2]=1;q[e+36>>2]=0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;f=Jj(a,e+96|0,g,g);c:{if(f){break c}f=Jj(a,e+80|0,e+96|0,g);if(f){break c}f=Jj(a,e+96|0,e+96|0,d);if(f){break c}f=Jj(a,e+80|0,e+80|0,d+12|0);if(f){break c}f=mm(a,e+96|0,e+96|0,c);if(f){break c}d=c+12|0;f=mm(a,e+80|0,e+80|0,d);if(f){break c}if(!jj(e+96|0,0)){if(!jj(e+80|0,0)){f=Rx(a,b,c);break c}f=jD(b);break c}f=Jj(a,e,g,e+96|0);if(f){break c}f=Jj(a,e- -64|0,e+96|0,e+96|0);if(f){break c}f=Jj(a,e+48|0,e- -64|0,e+96|0);if(f){break c}f=Jj(a,e- -64|0,e- -64|0,c);if(f){break c}f=_j(e+96|0,e- -64|0);if(f){break c}f=Dr(a,e+96|0);if(f){break c}f=Jj(a,e+32|0,e+80|0,e+80|0);if(f){break c}f=mm(a,e+32|0,e+32|0,e+96|0);if(f){break c}f=mm(a,e+32|0,e+32|0,e+48|0);if(f){break c}f=mm(a,e- -64|0,e- -64|0,e+32|0);if(f){break c}f=Jj(a,e- -64|0,e- -64|0,e+80|0);if(f){break c}f=Jj(a,e+48|0,e+48|0,d);if(f){break c}f=mm(a,e+16|0,e- -64|0,e+48|0);if(f){break c}f=_j(b,e+32|0);if(f){break c}f=_j(b+12|0,e+16|0);if(f){break c}f=_j(b+24|0,e)}Ji(e+96|0);Ji(e+80|0);Ji(e- -64|0);Ji(e+48|0);Ji(e+32|0);Ji(e+16|0);Ji(e)}fi=e+112|0;return f}function Q4(a){a=a|0;var b=0,c=x(0),d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=x(0),m=x(0),n=x(0);d=fi-48|0;fi=d;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);h=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){vj(a,1,5);f=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;c:{if(dk(a,1)){while(1){d:{e:{f:{g:{h:{g=Ai(a,-2);i:{if(g<4294967296&g>=0){b=~~g>>>0;break i}b=0}switch(b-1|0){case 3:break g;case 1:break h;case 0:break e;default:break f}}k=x(Ai(a,-1));break d}g=Ai(a,-1);if(g<4294967296&g>=0){i=~~g>>>0;break d}i=0;break d}oi(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break b}q[d+16>>2]=104341;a=ni(a,105699,d+16|0);break c}e=tm(a,-1);c=u[e+12>>2];l=u[e+8>>2];m=u[e+4>>2];n=u[e>>2]}j=b|j;oi(a,-2);if(dk(a,1)){continue}break}}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break a}c=x(c*x(255));j:{if(c=x(0)){b=~~c>>>0;break j}b=0}e=b<<24;c=x(l*x(255));k:{if(c=x(0)){b=~~c>>>0;break k}b=0}e=e|b<<16;q[d+28>>2]=j;q[d+24>>2]=5;q[d+40>>2]=i;q[d+36>>2]=(ywa(k),uwa(2));b=d;c=x(n*x(255));l:{if(c=x(0)){f=~~c>>>0;break l}f=0}f=f|e;c=x(m*x(255));m:{if(c=x(0)){e=~~c>>>0;break m}e=0}q[b+32>>2]=f|e<<8;b=q[h+4>>2];if((b|0)!=q[h+8>>2]){q[h+4>>2]=b+20;q[b+16>>2]=q[d+40>>2];a=q[d+36>>2];q[b+8>>2]=q[d+32>>2];q[b+12>>2]=a;a=q[d+28>>2];q[b>>2]=q[d+24>>2];q[b+4>>2]=a;a=0;break c}q[d>>2]=(q[h+8>>2]-q[h>>2]|0)/20;a=ni(a,104394,d)}fi=d+48|0;return a|0}J(104348,104245,265,107702);G()}J(104348,104245,1292,105680);G()}J(104348,104245,1297,105680);G()}function xz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/80|0)){d=q[a+4>>2];e:{if(!d){break e}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,80)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+72>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((g|0)!=(d|0)){q[a+12>>2]=d+80;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,80)+f|0;q[a+20>>2]=q[d+72>>2]}q[d>>2]=b;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;e=q[c+12>>2];q[d+16>>2]=q[c+8>>2];q[d+20>>2]=e;e=q[c+20>>2];q[d+24>>2]=q[c+16>>2];q[d+28>>2]=e;e=q[c+28>>2];q[d+32>>2]=q[c+24>>2];q[d+36>>2]=e;e=q[c+36>>2];q[d+40>>2]=q[c+32>>2];q[d+44>>2]=e;e=q[c+44>>2];q[d+48>>2]=q[c+40>>2];q[d+52>>2]=e;e=q[c+52>>2];q[d+56>>2]=q[c+48>>2];q[d+60>>2]=e;f=q[c+60>>2];e=d- -64|0;q[e>>2]=q[c+56>>2];q[e+4>>2]=f;q[d+72>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=c+w(e,80)|0;e=q[b+72>>2];if((e|0)!=-1){continue}break}q[b+72>>2]=(d-c|0)/80;break a}J(102399,102235,226,102407);G()}d=q[c+4>>2];a=w(e,80)+f|0;q[a+8>>2]=q[c>>2];q[a+12>>2]=d;d=q[c+60>>2];b=a- -64|0;q[b>>2]=q[c+56>>2];q[b+4>>2]=d;b=q[c+52>>2];q[a+56>>2]=q[c+48>>2];q[a+60>>2]=b;b=q[c+44>>2];q[a+48>>2]=q[c+40>>2];q[a+52>>2]=b;b=q[c+36>>2];q[a+40>>2]=q[c+32>>2];q[a+44>>2]=b;b=q[c+28>>2];q[a+32>>2]=q[c+24>>2];q[a+36>>2]=b;b=q[c+20>>2];q[a+24>>2]=q[c+16>>2];q[a+28>>2]=b;b=q[c+12>>2];q[a+16>>2]=q[c+8>>2];q[a+20>>2]=b;return}J(102411,102235,470,102473);G()}q[b>>2]=(d-c|0)/80}q[a+24>>2]=q[a+24>>2]+1}function g3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=fi-16|0;fi=l;a:{b:{c:{d:{e:{f:{g:{if(a){if(!(b>=x(0))){break g}n=q[a+4>>2]-q[a>>2]|0;m=(n|0)/28|0;h:{if((n|0)==182e4){q[l>>2]=65e3;mi(4,120110,120117,l);d=-1;break h}g=s[a+36>>1];if((g|0)==s[a+38>>1]){h=(g>>>0<64984?g:64984)+16|0;k=h&65535;if(k>>>0>>0){break f}j=q[a+32>>2];f=xi(h<<1);q[a+32>>2]=f;i=si(f,j,g<<1);p[a+36>>1]=h;if(g>>>0>>0){f=g;while(1){p[i+(f<<1)>>1]=f;f=f+1|0;if((h|0)!=(f|0)){continue}break}}ki(j);if(o[a+28|0]&1){break c}vi(h,2,a+16|0,a+24|0,a+20|0);f=q[a+16>>2];if(q[a+24>>2]-f>>1>>>0>>0){break b}q[a+20>>2]=f+(h<<1);if(g>>>0>=h>>>0){break a}qi(f+(g<<1)|0,0,h-g<<1)}f=q[a+32>>2];if(!f){break e}i=s[a+38>>1];if(i>>>0>=s[a+36>>1]){break d}k=a+4|0;g=s[a+44>>1];p[a+38>>1]=i+1;j=s[f+(i<<1)>>1];i=q[a+8>>2];f=q[a+4>>2];if((i|0)==(f|0)){if(o[a+12|0]&1){break c}f=((f-q[a>>2]|0)/28|0)+16|0;vi(f>>>0<65e3?f:65e3,28,a,a+8|0,k);h=q[a+8>>2]}else{h=i}i=q[a>>2];f=m+1|0;if((h-i|0)/28>>>0>>0){break b}q[k>>2]=i+w(f,28);if((n+28|0)/28>>>0<=m>>>0){break a}f=i+w(m,28)|0;q[f+4>>2]=d;d=j|g<<16;q[f+12>>2]=d;g=q[a+20>>2];a=q[a+16>>2];if(j>>>0>=g-a>>1>>>0){break a}p[a+(j<<1)>>1]=m;u[f+16>>2]=b;u[f+20>>2]=b;q[f+8>>2]=e;q[f>>2]=816;o[f+24|0]=r[f+24|0]&252|c|2}fi=l+16|0;return d}J(119561,119520,282,119644);G()}J(119653,119520,283,119644);G()}J(120506,119874,112,120529);G()}J(119867,119874,151,120180);G()}J(120184,119874,152,120180);G()}J(120541,120004,461,120529);G()}J(120204,120004,474,120223);G()}J(120616,120004,447,120627);G()}function _ma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-272|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);c=yi(a,-1,q[72645],18648);oi(a,-2);c=q[c+4>>2];q[b+264>>2]=0;q[b+268>>2]=0;q[b+256>>2]=0;q[b+260>>2]=0;q[b+248>>2]=0;q[b+252>>2]=0;q[b+240>>2]=0;q[b+244>>2]=0;fm(a,b+240|0);q[b+232>>2]=0;q[b+236>>2]=0;q[b+224>>2]=0;q[b+228>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;q[b+208>>2]=0;q[b+212>>2]=0;ok(a,1,b+208|0,b+240|0);d=q[q[c+80>>2]+8>>2];a:{if(!d){break a}c=q[d>>2];if(!c){break a}f=q[c+4224>>2];g=q[c+4228>>2]}if((f|0)!=q[b+208>>2]|(g|0)!=q[b+212>>2]){ni(a,16518,0)}b:{if($j(a,2)){c=li(_i(a,2,0));f=ii;break b}c=Qk(a,2);f=ii}g=un(d,q[b+224>>2],q[b+228>>2]);c:{if(!g){q[b>>2]=Ei(q[b+224>>2],q[b+228>>2]);c=ni(a,14983,b);break c}d:{e:{f:{g:{h:{d=Doa(d,g,q[b+232>>2],q[b+236>>2],c,f);switch(d+5|0){case 0:break g;case 1:case 2:break h;case 4:break d;case 5:break e;default:break f}}d=ap(b+112|0);q[b+108>>2]=q[b+204>>2];e=q[b+200>>2];q[b+100>>2]=q[b+196>>2];q[b+104>>2]=e;e=q[b+108>>2];q[b+72>>2]=q[b+104>>2];q[b+76>>2]=e;q[b+96>>2]=0;e=q[b+100>>2];q[b+64>>2]=q[b+96>>2];q[b+68>>2]=e;Xq(g,q[b+232>>2],q[b+236>>2],c,f,b- -64|0,d);q[b+48>>2]=Ei(c,f);c=ni(a,16952,b+48|0);break c}c=Ei(q[b+232>>2],q[b+236>>2]);q[b+84>>2]=_i(a,1,0);q[b+80>>2]=c;c=ni(a,16060,b+80|0);break c}q[b+16>>2]=d;c=ni(a,16998,b+16|0);break c}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(e|0)){break c}J(16916,15813,1812,17045);G()}Bi(a,16020,0);Ml(a,b+208|0);Jl(a,2);d=_i(a,-1,0);oi(a,-2);q[b+36>>2]=Ei(c,f);q[b+32>>2]=d;c=ni(a,15686,b+32|0)}fi=b+272|0;return c|0}function Uha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),p=x(0),r=0;b=fi-144|0;fi=b;f=Ti(b+120|0,a,0,67527,292);i=q[a+8>>2]-q[a+12>>2]>>4;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;a:{if(!fm(a,b+88|0)){a=ni(a,67569,0);break a}ns(a,q[74460]);e=Vi(a,-1);oi(a,-2);g=Kj(a);d=q[q[q[g+80>>2]+8>>2]>>2];c=q[e+8>>2];if(t[q[d+4>>2]>>2]>c>>>0){d=q[(d+(c<<2)|0)+12>>2]}else{d=0}if(!d){a=uj(f,67632,0);break a}c=il(a,1);j=u[c+8>>2];k=u[c+4>>2];l=u[c>>2];c=il(a,2);m=u[c+8>>2];n=u[c+4>>2];p=u[c>>2];vj(a,3,5);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;c=0;if(dk(a,3)){while(1){r=CJ(d,Qk(a,-1),ii);oi(a,-2);c=c|r;if(dk(a,3)){continue}break}}b:{if((i|0)<4){break b}h=gj(a,4);if(h>>>0<256){break b}a=ni(a,67725,0);break a}u[b+56>>2]=m;u[b+52>>2]=n;q[b+68>>2]=h;q[b+64>>2]=c;u[b+48>>2]=p;u[b+40>>2]=j;u[b+36>>2]=k;u[b+32>>2]=l;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;d=q[62356];Zj(b+88|0,b,q[d+8>>2],q[d+12>>2],g,d,b+32|0,48);a=0}Si(f);fi=b+144|0;return a|0}function aba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-16|0;fi=e;i=q[a+8>>2]-q[a+12>>2]>>4;ij(a,0,0);ij(a,0,1);Wj(a,1358,0);pi(a,-2,189545);aj(a,-2);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);a:{b:{c:{d:{e:{f:{if(ri(a,1)){f=Zi(a,1,e+8|0);b=f;d=Vu(c,s[b+554>>1]|s[b+552>>1]<<16,e+4|0);if(d){break f}Yj(a,q[f+544>>2],q[f+548>>2]);b=q[e+4>>2];d=bj(a,8);q[d+4>>2]=b;q[d>>2]=c;zi(a,-1e4,187431);aj(a,-2);qj(a,-3);b=s[f+562>>1];g=s[92055];if((b|0)!=(g|0)){h=q[e+4>>2];while(1){b=b&65535;d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}b=d+w(b,576)|0;d=NI(a,c,b,e+12|0);if(d){break f}Mq(c,q[e+12>>2],h,0);b=s[b+558>>1];if((g|0)!=(b|0)){continue}break}}d=0;b=0;h=c;j=q[e+4>>2];f=s[f+560>>1];if((f|0)!=(g|0)){b=q[c+32>>2];if(f>>>0>=(q[c+36>>2]-b|0)/576>>>0){break a}b=b+w(f,576)|0;b=s[b+554>>1]|s[b+552>>1]<<16}Mq(h,j,b,0);break f}b=s[c+348>>1];f=s[92055];if((b|0)==(f|0)){break e}while(1){b=b&65535;d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}b=d+w(b,576)|0;d=Vu(c,s[b+554>>1]|s[b+552>>1]<<16,e+12|0);if(d){break f}Yj(a,q[b+544>>2],q[b+548>>2]);d=q[e+12>>2];g=bj(a,8);q[g+4>>2]=d;q[g>>2]=c;zi(a,-1e4,187431);aj(a,-2);qj(a,-3);d=OI(a,c,s[b+562>>1],q[e+12>>2]);if(d){break f}Mq(c,q[e+12>>2],0,0);b=s[b+558>>1];if((f|0)!=(b|0)){continue}break}break e}c=192287;switch(d+4|0){case 0:break c;case 4:break e;default:break d}}c=1;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(187441,187364,3256,192331);G()}c=192210}oi(a,-2);c=ni(a,c,0)}fi=e+16|0;return c|0}J(193176,193187,447,193266);G()}function MT(a,b,c){var d=0,e=0,f=0;d=-28928;a:{b:{if(!a){break b}e=q[a>>2];if(!e){break b}c:{if(!(r[e+184|0]&2)){break c}d=tp(a);if(d){break b}d=q[a+68>>2];if(!d|r[d+492|0]!=1){break c}d=gq(a);if(d){break b}}d=mC(a);if((d|0)!=-27392?d:0){break b}d:{if(q[a+4>>2]==16){break d}d=xr(a);if(!d){break d}if((d|0)!=-27392){break b}}e=q[a+124>>2];if(!e){while(1){d=q[a+96>>2];e:{if(!d){break e}if((ji[d|0](q[a+88>>2])|0)!=-1){break e}d=q[q[a>>2]+148>>2];e=q[a+92>>2];if(e){ji[e|0](q[a+88>>2],d>>>2|0,d)}}f=0;d=Dn(a);if(d){if((d|0)!=-29312){break b}break a}f:{g:{if(q[a+132>>2]){break g}e=q[a+128>>2];if((e|0)!=23){break f}d=Dn(a);if(!d){break g}if((d|0)==-29312){break a}break b}e=q[a+128>>2]}h:{i:{if((e|0)==22){e=q[a>>2];d=q[e+184>>2];if(!(d&1|(q[a+168>>2]==((r[e+184|0]&2?12:4)|0)?!r[q[a+120>>2]]:0))){if(d&2){break i}return-30464}if(!(!(d&8192)|!(q[a+244>>2]|d&48))){if((d&3)==2){q[a+8>>2]=3}f=$B(a);if((f|0)==-27392){break i}if(f){break a}break i}if(q[a+20>>2]<1){return-27648}f=Aj(a,1,100);if(f){break a}break i}j:{if(q[a+8>>2]!=3){break j}d=q[q[a>>2]+160>>2];if((d|0)<0){break j}f=q[a+12>>2];q[a+12>>2]=f+1;if((d|0)>(f|0)){break j}return-30464}if((e|0)!=23){f=-26880;d=-30464;if((e|0)==21){break a}break b}e=q[a+120>>2];q[a+124>>2]=e;if(q[a+4>>2]!=16){break h}d=q[a+92>>2];if(d){ji[d|0](q[a+88>>2],0,0)}}e=q[a+124>>2]}if(!e){continue}break}}f=b;b=q[a+132>>2];d=b>>>0>c>>>0?c:b;si(f,e,d);b=q[a+132>>2]-d|0;q[a+132>>2]=b;if(!b){q[a+176>>2]=0;q[a+124>>2]=0;return d}q[a+124>>2]=q[a+124>>2]+d}return d}return f}function dG(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=q[b+12>>2];q[a+32>>2]=q[b+8>>2];q[a+36>>2]=g;a:{b:{c:{d:{e:{f:{e=q[b>>2];if(e){h=q[e+4>>2];if(h){break f}return}if(o[a+12|0]&1){break a}vi(0,16,a,a+8|0,a+4|0);if(o[a+28|0]&1){break a}vi(0,20,a+16|0,a+24|0,a+20|0);break e}d=q[e>>2];b=0;g:{while(1){g=c;if((c|0)==(h|0)){break g}b=q[(d+w(g,12)|0)+8>>2]+b|0;c=g+1|0;if(h>>>0>c>>>0){continue}break}if(!(o[a+12|0]&1)){vi(c,16,a,a+8|0,a+4|0);d=q[a>>2];if(q[a+8>>2]-d>>4>>>0>g>>>0){q[a+4>>2]=d+(c<<4);if(!(o[a+28|0]&1)){vi(b,20,a+16|0,a+24|0,a+20|0);c=q[a+16>>2];if((q[a+24>>2]-c|0)/20>>>0>=b>>>0){q[a+20>>2]=w(b,20)+c;if(b){while(1){h:{b=q[a>>2];if(q[a+4>>2]-b>>4>>>0>f>>>0){if(t[e+4>>2]<=f>>>0){break c}d=b+(f<<4)|0;l=w(f,12);q[d>>2]=li(q[l+q[e>>2]>>2]);q[d+4>>2]=ii;b=t[e+4>>2]>f>>>0;if(!b){break c}m=q[(q[e>>2]+l|0)+8>>2];q[d+12>>2]=c;q[d+8>>2]=m;if(!m){break h}j=0;if(!b){break c}while(1){k=q[(q[e>>2]+l|0)+4>>2]+(j<<4)|0;u[c>>2]=t[k>>2];b=q[k+4>>2];q[c+8>>2]=0;u[c+4>>2]=b>>>0;i=q[k+12>>2];q[c+12>>2]=i;q[c+16>>2]=Ci((i&1073741823)!=(i|0)?-1:i<<2);if(i){b=0;while(1){h=b<<2;d=Sk(q[h+q[k+8>>2]>>2]);q[h+q[c+16>>2]>>2]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}}c=c+20|0;j=j+1|0;if((j|0)==(m|0)){break h}if(t[e+4>>2]>f>>>0){continue}break}break c}break d}b=(f|0)==(g|0);f=f+1|0;if(!b){continue}break}break e}break d}break b}break a}break b}break a}break c}return}J(101017,101028,447,101006);G()}J(100960,100972,148,101006);G()}J(101194,101028,474,101213);G()}J(101107,101028,461,101182);G()}function Fta(a){var b=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=a+12|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+24|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+36|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+48|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+60|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+72|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+84|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+96|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+108|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+120|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+132|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+144|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+156|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+168|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+180|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+192|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+204|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+216|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+228|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+240|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+252|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+264|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+276|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+288|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+300|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+312|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+324|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+336|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+348|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+360|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+372|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+384|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;a=a+396|0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function wB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];g=c+(d<<3)|0;f=q[g>>2];h=q[a>>2];c=c+(h<<3)|0;i=q[c>>2];g=q[g+4>>2];c=q[c+4>>2];if((g|0)==(c|0)&f>>>0>>0|c>>>0>g>>>0){q[e>>2]=d;q[e+4>>2]=q[a>>2];return}q[e>>2]=h;q[e+4>>2]=q[b>>2];return;default:if((d|0)<=8){if((a|0)==(b|0)){break a}d=q[a>>2];q[e>>2]=d;f=a+4|0;if((f|0)==(b|0)){break a}h=q[c>>2];a=e;while(1){g=a+4|0;c=q[f>>2];i=h+(c<<3)|0;l=q[i>>2];j=h+(d<<3)|0;k=q[j>>2];i=q[i+4>>2];j=q[j+4>>2];d:{if((i|0)==(j|0)&k>>>0>l>>>0|i>>>0>>0){q[a+4>>2]=d;m=e;e:{if((a|0)==(e|0)){break e}while(1){i=h+(q[f>>2]<<3)|0;l=q[i>>2];d=a-4|0;j=q[d>>2];k=h+(j<<3)|0;c=q[k>>2];i=q[i+4>>2];k=q[k+4>>2];m=a;if((i|0)==(k|0)&c>>>0<=l>>>0|i>>>0>k>>>0){break e}q[a>>2]=j;a=d;if((e|0)!=(a|0)){continue}break}m=e}q[m>>2]=q[f>>2];break d}q[g>>2]=c}f=f+4|0;if((f|0)==(b|0)){break a}d=q[g>>2];a=g;continue}}f=d>>>1|0;h=f<<2;g=h+a|0;ip(a,g,c,f,e,f);d=d-f|0;ip(g,b,c,d,e+h|0,d);c=q[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){q[e>>2]=q[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=q[d>>2];h=c+(f<<3)|0;i=q[h>>2];l=q[a>>2];j=c+(l<<3)|0;k=q[j>>2];h=q[h+4>>2];j=q[j+4>>2];f:{if((h|0)==(j|0)&i>>>0>>0|h>>>0>>0){q[e>>2]=f;d=d+4|0;break f}q[e>>2]=l;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break}break b;case 0:break a;case 1:break c}}q[e>>2]=q[a>>2];break a}if((b|0)==(d|0)){break a}while(1){q[e>>2]=q[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function bl(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=q[((r[b|0]^a&255)<<2)+169904>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=q[b>>2]^a;a=q[b+4>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+8>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+12>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+16>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+20>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+24>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[b+28>>2]^(q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2]);a=q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=q[b>>2]^a;a=q[(a>>>6&1020)+171952>>2]^q[((a&255)<<2)+172976>>2]^q[(a>>>14&1020)+170928>>2]^q[(a>>>22&1020)+169904>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=q[((r[b|0]^a&255)<<2)+169904>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function HG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=fi-16|0;fi=h;a:{b:{c:{d:{e:{f:{f=s[a+20>>1];e=s[a+22>>1];g:{if((f|0)==(e|0)){b=q[a>>2];a=q[a+8>>2];q[h+4>>2]=q[65898];q[h>>2]=a-b>>2;mi(4,134802,134865,h);c=0;break g}i=q[b+16>>2];j=q[i+4>>2];d=Ci(96);q[d+52>>2]=0;q[d+56>>2]=0;q[d+44>>2]=1065353216;q[d+48>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+60>>2]=1065353216;q[d+64>>2]=0;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+79|0]=0;o[d+80|0]=0;o[d+81|0]=0;o[d+82|0]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;g=q[a+16>>2];if(!g){break f}if(f>>>0<=e>>>0){break e}p[a+22>>1]=e+1;f=s[g+(e<<1)>>1];e=s[a+32>>1];e=e?e:1;p[a+32>>1]=e+1;p[d+80>>1]=e;e=q[a>>2];if(f>>>0>=q[a+4>>2]-e>>2>>>0){break b}q[e+(f<<2)>>2]=d;q[d+64>>2]=b;if(!(!c|!q[c+4>>2])){b=q[c+4>>2];q[d+68>>2]=q[c>>2];q[d+72>>2]=b}if(o[d+12|0]&1){break d}vi(j,288,d,d+8|0,d+4|0);b=q[d>>2];if((q[d+8>>2]-b|0)/288>>>0>>0){break c}c=w(j,288);q[d+4>>2]=c+b;g=s[d+80>>1];e=Uj();b=0;qi(q[d>>2],0,c);c=f|g<<16;if(!j){break g}while(1){f=q[d>>2];if((q[d+4>>2]-f|0)/288>>>0<=b>>>0){break b}g=s[a+34>>1];p[a+34>>1]=g+1;if(t[i+4>>2]<=b>>>0){break a}f=f+w(b,288)|0;k=b<<7;g=g+(b+e|0)|0;_y(f,k+q[i>>2]|0,g);q[f+260>>2]=g;if(t[i+4>>2]<=b>>>0){break a}yG(c,b,d,f,q[i>>2]+k|0);Zy(f);b=b+1|0;if((j|0)!=(b|0)){continue}break}}fi=h+16|0;return c}J(136125,135363,151,136132);G()}J(136136,135363,152,136132);G()}J(135147,135222,461,135301);G()}J(135313,135222,474,135332);G()}J(136114,135222,447,135487);G()}J(135437,135449,260,135487);G()}function aia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-160|0;fi=b;e=Ti(b+136|0,a,0,67527,671);d=gj(a,1);a:{if((d|0)>=5){q[b>>2]=d;c=uj(e,68436,b);break a}f=Pj(a,3);g=ii;c=il(a,4);u[b+112>>2]=u[c>>2];u[b+116>>2]=u[c+4>>2];u[b+120>>2]=u[c+8>>2];c=il(a,6);u[b+96>>2]=u[c>>2];u[b+100>>2]=u[c+4>>2];u[b+104>>2]=u[c+8>>2];c=q[q[Kj(a)+80>>2]+8>>2];q[b+92>>2]=0;q[b+88>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;Hk(a,2,c,67321,b+92|0,b+24|0,b+88|0);q[b+84>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;Hk(a,5,c,67321,b+84|0,b+24|0,b+80|0);if(q[b+88>>2]!=q[b+80>>2]){c=uj(e,68459,0);break a}c=0;o[b+24|0]=0;b:{c:{switch(d|0){case 0:q[b+36>>2]=0;q[b+28>>2]=1065353216;q[b+32>>2]=0;break b;case 1:q[b+28>>2]=0;break b;case 2:o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;o[b+53|0]=0;o[b+54|0]=0;o[b+55|0]=0;o[b+56|0]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+57|0]=0;break b;case 3:q[b+68>>2]=0;q[b+72>>2]=0;q[b+36>>2]=1065353216;q[b+40>>2]=0;q[b+44>>2]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;q[b+56>>2]=0;q[b+60>>2]=0;o[b- -64|0]=0;break b;case 4:break c;default:break b}}q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0}cJ(a,d,7,b+24|0);a=aja(q[b+88>>2],q[b+92>>2],f,g,q[b+84>>2],d);if(!a){break a}q[b+20>>2]=a;q[b+16>>2]=q[(a<<2)+242016>>2];c=uj(e,68539,b+16|0)}Si(e);fi=b+160|0;return c|0}function Pla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=0;d=fi+ -64|0;fi=d;h=q[a+8>>2];b=q[h>>2];if((b|0)!=q[h+4>>2]){i=d+56|0;while(1){b=(j<<7)+b|0;a:{if(!(r[b+58|0]&16)){break a}c=q[b+60>>2];b:{if(!c){break b}e=q[q[a+12>>2]>>2];q[d+36>>2]=b;q[d+32>>2]=e;c=qs(c,379,d+32|0,1e4);if((c|0)==-17){break b}sn(q[b+60>>2]);c:{if(c){break c}if(!po(q[b+64>>2],q[b+68>>2])){break c}c=Zj(b+96|0,b- -64|0,li(34522),ii,0,0,0,0);if(!c){break c}q[d+16>>2]=c;mi(3,34535,34543,d+16|0)}q[b+60>>2]=0}e=q[b+36>>2];d:{if(!e){break d}c=q[b+56>>2];f=c>>>18&1;if((f|0)!=(c>>>17&1)){c=c&-131073|f<<17;q[b+56>>2]=c}if(c&131072){c=q[a+4>>2];k=u[c>>2];g=x(k*u[b+48>>2]);e:{f:{switch(q[b+44>>2]){case 0:u[d+32>>2]=g;q[b+52>>2]=0;break e;case 1:break f;default:break e}}g=x(g+u[b+52>>2]);u[b+52>>2]=g;if(!(g>=k^1)){u[d+32>>2]=k;u[b+52>>2]=g-u[c>>2];break e}q[d+32>>2]=0}l=WJ(e,d+32|0)?l:-1e3;break d}q[b+52>>2]=0}c=q[b+56>>2];if(!(c&524288)){break a}q[b+56>>2]=c&-524289;if(!po(q[b>>2],q[b+4>>2])){break a}q[i>>2]=0;q[i+4>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;c=0;e=0;f=q[q[q[b+40>>2]+80>>2]+8>>2];g:{if(!f){break g}f=q[f>>2];if(!f){break g}c=q[f+4224>>2];e=q[f+4228>>2]}q[d+32>>2]=c;q[d+36>>2]=e;c=q[b+40>>2];e=q[c+100>>2];q[d+48>>2]=q[c+96>>2];q[d+52>>2]=e;qo(q[b+40>>2],s[b+56>>1],i);b=Zj(d+32|0,b,li(34680),ii,0,0,0,0);if(!b){break a}q[d>>2]=b;mi(3,34535,34695,d)}j=j+1|0;b=q[h>>2];if(j>>>0>2]-b>>7>>>0){continue}break}}fi=d- -64|0;return l|0}function Mea(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;c=fi-304|0;fi=c;e=1;j=q[a+8>>2]-q[a+12>>2]>>4;h=Pj(a,1);i=ii;vj(a,2,5);l=Yt(a,71170);d=Yt(a,71175);g=Yt(a,71181);m=Yt(a,71188);b=uy(a,3);q[c+44>>2]=0;q[c+40>>2]=0;dp(q[b>>2],c+44|0,c+40|0);f=Ci(16);b=Ci(64);q[f+4>>2]=1;q[f>>2]=b;k=1;a:{switch(l|0){default:J(71206,70769,458,71212);G();case 1:k=2;break;case 0:break a}}q[f+8>>2]=k;q[b+12>>2]=g;q[b+8>>2]=d;q[b+4>>2]=g;q[b>>2]=d;b:{c:{d:{switch(m|0){case 0:q[b+48>>2]=0;q[b+52>>2]=0;q[b+44>>2]=0;q[b+16>>2]=0;break b;case 8:e=3;break c;case 9:e=4;break c;case 10:e=5;break c;case 11:e=6;break c;case 12:e=7;break c;default:J(71206,70769,444,71346);G();case 2:break c;case 3:break d}}e=2}q[b+48>>2]=0;q[b+52>>2]=0;q[b+44>>2]=0;q[b+16>>2]=e}q[b+36>>2]=q[c+44>>2];g=q[c+40>>2];q[b+40>>2]=g;e=Ci(4);q[b+24>>2]=1;q[b+20>>2]=e;d=Ci(4);q[b+32>>2]=1;q[b+28>>2]=d;b=0;q[e>>2]=0;q[d>>2]=g;e=P3(q[74461],h,i,f);e:{f:{g:{d=q[f+4>>2];if(d){while(1){if(b>>>0>=d>>>0){break g}d=q[f>>2]+(b<<6)|0;g=q[d+28>>2];if(g){ki(g)}d=q[d+20>>2];if(d){ki(d)}b=b+1|0;d=q[f+4>>2];if(b>>>0>>0){continue}break}}b=q[f>>2];if(b){ki(b)}ki(f);b=q[a+8>>2]-q[a+12>>2]>>4;h:{if(e){if((b|0)!=(j|0)){break f}q[c+32>>2]=Ei(h,i);q[c+24>>2]=h;q[c+28>>2]=i;q[c+16>>2]=e;cj(c+48|0,256,(e|0)==-3?70984:(e|0)==-15?71026:71091,c+16|0);q[c>>2]=c+48;a=ni(a,70045,c);break h}a=0;if((b|0)!=(j|0)){break e}}fi=c+304|0;return a|0}J(71243,71255,136,71335);G()}J(70748,70769,583,71195);G()}J(70748,70769,587,71195);G()}function yJ(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,s=0,u=0;d=q[a+156>>2];j=q[d+4>>2];e=q[j+8>>2];c=w(w(e,q[d+28>>2]),q[d+32>>2]&2147483647);b=q[a+100>>2];if(b){ki(b)}b=c+c|0;b=Ci(b>>>0>>0?-1:b);q[a+100>>2]=b;qi(b,255,c<<1);b=q[a+104>>2];if(b){ki(b)}b=Ci(c);q[a+104>>2]=b;qi(b,0,c);a:{b:{c:{d:{if(!(o[a+136|0]&1)){c=q[d+32>>2];l=q[d+28>>2];m=q[d+40>>2];n=q[d+36>>2];vi(e,1,a+124|0,a+132|0,a+128|0);b=q[a+124>>2];if(q[a+132>>2]-b>>>0>=e>>>0){q[a+128>>2]=b+e;if(!e){break d}s=c&2147483647;c=0;while(1){e:{if(t[j+8>>2]>c>>>0){b=q[a+124>>2];if(q[a+128>>2]-b>>>0<=c>>>0){break c}b=b+c|0;i=q[j+4>>2]+(c<<5)|0;o[b|0]=r[b|0]&254|o[i+8|0]&1;k=q[i+28>>2];if(!k){break e}u=w(c,s)-m|0;g=0;while(1){f=q[i+24>>2]+w(g,24)|0;b=w(q[f+4>>2]+u|0,l)+(q[f>>2]-n|0)|0;p[q[a+100>>2]+(b<<1)>>1]=q[f+8>>2];h=b+q[a+104>>2]|0;b=r[h|0]&-8;o[h|0]=b;if(q[f+12>>2]){b=b|1;o[h|0]=b}if(q[f+16>>2]){b=b|2;o[h|0]=b}if(q[f+20>>2]){o[h|0]=b|4}g=g+1|0;if((k|0)==(g|0)){break e}if(t[i+28>>2]>g>>>0){continue}break}J(53935,53947,164,53980);G()}J(53935,53947,189,53980);G()}c=c+1|0;if((e|0)!=(c|0)){continue}break}break d}break b}break a}c=q[d+28>>2]+31>>>5|0;p[a+160>>1]=c;d=q[d+32>>2]+31>>>5|0;p[a+162>>1]=d;f:{if(!(o[a+120|0]&1)){d=w(d&65535,c&65535);vi(d,1,a+108|0,a+116|0,a+112|0);c=q[a+108>>2];if(d>>>0>q[a+116>>2]-c>>>0){break b}q[a+112>>2]=c+d;if(!d){break f}qi(c,255,d);p[a+164>>1]=$I(a);return e}break a}}J(53991,53817,447,53980);G()}J(53908,53817,474,53927);G()}J(53742,53817,461,53896);G()}function QJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=x(0);g=fi-16|0;fi=g;a:{b:{c:{d:{e:{d=Ij(a,q[b>>2],c+48|0);f:{if(!d){d=ts(a,q[c+48>>2],c+56|0);if(d){break f}q[c+64>>2]=b;a=ji[q[74969]](q[c+48>>2])|0;i=ji[q[74970]](q[c+48>>2])|0;d=-1;if(a>>>0>2]|i>>>0>2]){break f}if(o[c+12|0]&1){break e}a=q[b+16>>2];vi(a,8,c,c+8|0,c+4|0);d=q[c>>2];if(a>>>0>q[c+8>>2]-d>>3>>>0){break d}q[c+4>>2]=d+(a<<3);i=Ci((a|0)!=(a&1073741823)?-1:a<<2);if(a){d=0;while(1){if(t[b+16>>2]<=d>>>0){break c}h=q[b+12>>2]+w(d,12)|0;e=li(q[h+8>>2]);f=q[c>>2];if(q[c+4>>2]-f>>3>>>0<=d>>>0){break b}f=f+(d<<3)|0;q[f>>2]=e;q[f+4>>2]=ii;e=i+(d<<2)|0;p[e>>1]=q[h>>2];p[e+2>>1]=q[h+4>>2];d=d+1|0;if((a|0)!=(d|0)){continue}break}}e=q[b+24>>2];f=q[b+20>>2];h=q[b+32>>2];d=q[b+36>>2];a=d&-2;a=Ci((a|0)!=(d&1073741822)?-1:a<<2);j=d>>>1|0;if(j){k=x(x(1)/x(e-1>>>0));l=x(x(1)/x(f-1>>>0));d=0;while(1){e=d<<3;u[e+a>>2]=x(l*u[e+h>>2])+x(-.5);e=e|4;u[e+a>>2]=x(k*u[e+h>>2])+x(-.5);d=d+1|0;if((j|0)!=(d|0)){continue}break}}q[c+68>>2]=0;ki(i);ki(a);a=q[b+8>>2];qi(q[c+16>>2],255,q[c+20>>2]<<2);q[c+36>>2]=-1;q[c+40>>2]=0;q[c+28>>2]=q[c+24>>2];d=c+16|0;sH(d,37,a);c=0;q[g+12>>2]=0;if(a){while(1){if(t[b+8>>2]<=c>>>0){break a}Ku(d,li(q[q[b+4>>2]+w(c,40)>>2]),ii,g+12|0);c=q[g+12>>2]+1|0;q[g+12>>2]=c;if(a>>>0>c>>>0){continue}break}}d=0;break f}Ui(b)}fi=g+16|0;return d}J(59987,60062,461,60141);G()}J(60153,60062,474,60172);G()}J(59924,59936,96,59976);G()}J(60180,60062,447,59976);G()}J(59924,59936,88,59976);G()}function DN(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=x(0),h=x(0),i=x(0),j=0,k=0,l=x(0),m=x(0),n=x(0),p=0,s=0,t=x(0),v=0,w=0,z=0,B=0,E=x(0),F=x(0);j=q[b+48>>2];p=q[b+52>>2];g=u[b+40>>2];w=q[b+4>>2];s=w+q[b+44>>2]|0;o[s|0]=r[s-1|0];n=u[b+32>>2];i=u[b+28>>2];k=q[a+4>>2];v=q[a>>2];h=u[b+20>>2];l=u[b+16>>2];g=x(g*x(+(kwa(c<<31,c>>>1|0,d)>>>0)+ +(ii>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;s=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;s=0}b:{c:{d:{if(!f){q[b+48>>2]=j;q[b+52>>2]=p;a=q[b+44>>2];d=0;break d}E=x(x(1)/x(f>>>0));t=i;g=x(n-i);i=x(k>>>0);n=x(g/i);m=x(v>>>0);g=x(t+x(n*m));n=x(x(n+g)-g);t=l;l=x(x(h-l)/i);i=x(t+x(l*m));l=x(x(l+i)-i);d=0;a=0;while(1){z=d;d=d+w|0;k=r[d|0];d=r[d+1|0];h=x(E*x(a|0));m=x(+x(g+x(n*h))*1.5707963267948966);t=rl(m);v=a<<3;B=v+e|0;F=x(i+x(l*h));h=x(x(+(j>>>0)+ +(p>>>0)*4294967296)*x(4.656612873077393e-10));h=x(F*x(x(x(x(1)-h)*x((-128-k&255)>>>0))+x(h*x((-128-d&255)>>>0))));u[B>>2]=u[B>>2]+x(t*h);m=nk(m);d=(v|4)+e|0;u[d>>2]=u[d>>2]+x(m*h);d=j;j=c;k=d+j|0;d=p+s|0;d=k>>>0>>0?d+1|0:d;j=k&2147483647;p=0;d=((d&2147483647)<<1|k>>>31)+z|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=j;q[b+52>>2]=p;a=q[b+44>>2];if(z>>>0>a>>>0){break c}if(a>>>0>>0){break b}}c=q[b+4>>2];Kk(c,c+d|0,a-d|0);q[b+44>>2]=q[b+44>>2]-d;return}J(202287,201413,903,202324);G()}J(202342,201413,906,202324);G()}function Vja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fi+ -64|0;fi=e;a:{b:{c:{f=q[a>>2];if(f){b=qi(Ci(124),0,124);q[b+80>>2]=f;c=q[a+16>>2];d=q[f+8>>2];q[b+84>>2]=IG(d,q[f+12>>2]);if(o[b+12|0]&1){break b}c=c>>>0>>0?c:d;vi(c,40,b,b+8|0,b+4|0);if(o[b+60|0]&1){break b}vi(c,48,b+48|0,b+56|0,b+52|0);d=q[b+48>>2];if(c>>>0>(q[b+56>>2]-d|0)/48>>>0){break a}q[b+52>>2]=d+w(c,48);d=q[b+68>>2];if(c>>>0>>0){break c}h=q[b+64>>2];g=xi(c<<2);q[b+64>>2]=g;g=si(g,h,d<<2);q[b+68>>2]=c;if(c>>>0>d>>>0){while(1){q[g+(d<<2)>>2]=d;d=d+1|0;if((c|0)!=(d|0)){continue}break}}ki(h);if(o[b+28|0]&1){break b}c=s[f+16>>1];vi(c,272,b+16|0,b+24|0,b+20|0);if(o[b+44|0]&1){break b}vi(c,4,b+32|0,b+40|0,b+36|0);d=q[b+32>>2];if(c>>>0>q[b+40>>2]-d>>2>>>0){break a}c=c<<2;q[b+36>>2]=c+d;qi(d,0,c);q[b+88>>2]=ji[q[74895]](q[q[f+4>>2]+2208>>2],w(q[f+12>>2],216),0,0);if(o[b+104|0]&1){break b}vi(w(q[f+12>>2],6),36,b+92|0,b+100|0,b+96|0);q[b+112>>2]=0;o[b+120|0]=r[b+120|0]&254;q[e+56>>2]=q[60314];c=q[60313];q[e+48>>2]=q[60312];q[e+52>>2]=c;c=q[60311];q[e+40>>2]=q[60310];q[e+44>>2]=c;c=q[60309];q[e+32>>2]=q[60308];q[e+36>>2]=c;c=q[60307];q[e+24>>2]=q[60306];q[e+28>>2]=c;c=q[60305];q[e+16>>2]=q[60304];q[e+20>>2]=c;c=q[60303];q[e+8>>2]=q[60302];q[e+12>>2]=c;c=q[60301];q[e>>2]=q[60300];q[e+4>>2]=c;q[b+108>>2]=ji[q[74910]](q[q[f+4>>2]+2208>>2],e,3);q[q[a+12>>2]>>2]=b;fi=e- -64|0;return 0}J(48138,48155,84,48201);G()}J(48924,48947,112,48912);G()}J(48837,48652,461,48912);G()}J(48633,48652,474,48731);G()}function n2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0);g=fi-96|0;fi=g;b=yi(a,1,q[210276],0);l=u[b>>2];m=u[b+4>>2];a:{if(!(l!=l|m!=m)){k=u[b+8>>2];if(k==k){break a}}k=u[b+8>>2];v[g+80>>3]=m;v[g+88>>3]=k;v[g+72>>3]=l;q[g+64>>2]=1;ni(a,120787,g- -64|0);k=u[b+8>>2];m=u[b+4>>2];l=u[b>>2]}b=yi(a,2,q[210276],0);e=u[b>>2];i=u[b+4>>2];b:{if(!(e!=e|i!=i)){f=u[b+8>>2];if(f==f){break b}}c=u[b+8>>2];v[g+48>>3]=i;v[g+56>>3]=c;v[g+40>>3]=e;q[g+32>>2]=2;ni(a,120787,g+32|0);f=u[b+8>>2];i=u[b+4>>2];e=u[b>>2]}b=yi(a,3,q[210276],0);c=u[b>>2];d=u[b+4>>2];c:{if(!(c!=c|d!=d)){h=u[b+8>>2];if(h==h){break c}}h=u[b+8>>2];v[g+16>>3]=d;v[g+24>>3]=h;v[g+8>>3]=c;q[g>>2]=3;ni(a,120787,g);h=u[b+8>>2];d=u[b+4>>2];c=u[b>>2]}b=bj(a,64);q[b+60>>2]=1065353216;q[b+44>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;j=x(l-e);i=x(m-i);e=x(k-f);f=x(x(1)/x(F(x(x(x(j*j)+x(i*i))+x(e*e)))));e=x(e*f);u[b+40>>2]=e;i=x(i*f);u[b+24>>2]=i;f=x(j*f);u[b+8>>2]=f;u[b+56>>2]=-x(x(l*f)+x(x(m*i)+x(k*e)));n=c;c=x(x(1)/x(F(x(x(x(c*c)+x(d*d))+x(h*h)))));j=x(n*c);o=x(d*c);d=x(x(i*j)-x(f*o));n=d;p=x(d*d);c=x(h*c);h=x(x(e*o)-x(i*c));d=x(x(f*c)-x(e*j));j=x(x(1)/x(F(x(p+x(x(h*h)+x(d*d))))));c=x(n*j);u[b+32>>2]=c;d=x(d*j);u[b+16>>2]=d;h=x(h*j);u[b>>2]=h;j=x(x(f*d)-x(i*h));u[b+36>>2]=j;f=x(x(e*h)-x(f*c));u[b+20>>2]=f;e=x(x(i*c)-x(e*d));u[b+4>>2]=e;u[b+48>>2]=-x(x(l*h)+x(x(m*d)+x(k*c)));u[b+52>>2]=-x(x(l*e)+x(x(m*f)+x(k*j)));zi(a,-1e4,120704);aj(a,-2);fi=g+96|0;return 1}function l6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a>>2];c=(q[a+4>>2]-d|0)/240|0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){h=c-1|0;e=q[a+36>>2];if(h>>>0>=q[a+40>>2]-e>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(c>>>0<=i>>>0){break d}c=q[(h<<2)+e>>2];qi(d+w(i,240)|0,0,240);d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];d=q[a+4>>2];c=q[a>>2];if(e>>>0>=(d-c|0)/240>>>0){break c}c=c+w(e,240)|0;d=d-240|0;q[c>>2]=q[d>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+64>>2]=u[d+64>>2];u[c+68>>2]=u[d+68>>2];u[c+72>>2]=u[d+72>>2];u[c+80>>2]=u[d+80>>2];u[c+84>>2]=u[d+84>>2];u[c+88>>2]=u[d+88>>2];u[c+92>>2]=u[d+92>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];u[c+140>>2]=u[d+140>>2];si(c+144|0,d+144|0,92);c=q[a+4>>2]-240|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(52530,52407,151,52551);G()}J(52556,51871,481,52571);G()}J(52581,51871,484,52571);G()}J(52519,51871,447,51574);G()}function av(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=0,o=0,r=x(0);j=fi-16|0;fi=j;f=q[a+196>>2];if(!f){f=q[q[a+188>>2]+8>>2]}g=q[f+20>>2];a:{if(!g){break a}g=q[q[f+16>>2]+(lwa(b,c,g)<<2)>>2];if((g|0)==-1){break a}h=q[f+24>>2];while(1){g=g<<4;i=g+h|0;if((b|0)==q[i>>2]&q[i+4>>2]==(c|0)){break a}g=q[(g+h|0)+12>>2];if((g|0)!=-1){continue}break}i=0}b:{g=i?i+8|0:0;c:{if(g){i=q[g>>2];q[a+208>>2]=b;q[a+212>>2]=c;q[a+184>>2]=i;c=q[g>>2];b=q[f+64>>2];if(c>>>0>=t[b+8>>2]){break b}c=q[b+4>>2]+w(c,40)|0;b=q[c+20>>2];h=q[c+12>>2];l=q[c+16>>2];n=q[c+24>>2]-5|0;k=n>>>0<2;o=k|s[a+234>>1]&-2;p[a+234>>1]=o;m=x(b>>>0);b=l-h|0;h=(b<<1)-2|0;u[a+220>>2]=m/x((k?h?h:1:b)>>>0);h=q[c+24>>2];b=o&-3|((h|0)==2?2:((h|0)==4)<<1);p[a+234>>1]=b;k=b&-9|(q[c+24>>2]!=0)<<3;p[a+234>>1]=k;f=q[f+64>>2];if(i>>>0>=t[f+8>>2]){break b}l=q[f+4>>2];b=a;d:{if(q[f+60>>2]){f=q[f+56>>2]+(q[a+216>>2]+q[(l+w(i,40)|0)+12>>2]<<3)|0;m=u[f+4>>2];r=u[f>>2];break d}f=l+w(i,40)|0;m=x(t[f+8>>2]);r=x(t[f+4>>2])}u[b+64>>2]=r;q[a+72>>2]=1065353216;u[a+68>>2]=m;d=d>2]-2|0){case 0:case 2:d=x(x(1)-d);break;default:break e}}p[a+234>>1]=k|16;u[a+228>>2]=e>x(0)?e:x(0);d=d>>0<2?x(d*x(.5)):d;u[a+224>>2]=(h|0)==4^(h|0)==2?x(x(1)-d):d;aJ(a);break c}q[a+216>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0;p[a+234>>1]=s[a+234>>1]&65527;a=Ei(b,c);q[j+4>>2]=Ei(q[f+56>>2],q[f+60>>2]);q[j>>2]=a;mi(4,51183,51445,j)}fi=j+16|0;return(g|0)!=0}J(51522,51534,88,51574);G()}function bla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=fi-32|0;fi=d;f=q[q[a+24>>2]>>2];a:{b:{c=q[a+16>>2];e=q[a+20>>2];c:{if((c|0)==q[73418]&(e|0)==q[73419]){b=Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73400],q[73401],f+16|0);break c}d:{if((c|0)==q[73414]&(e|0)==q[73415]){b=-12;if(!(o[a+80|0]&1)){break c}c=q[q[q[a+8>>2]+80>>2]>>2];q[d+28>>2]=0;b=Em(c,a+32|0,q[73398],q[73399],d+28|0);if(b){break c}if(!UI(q[f+8>>2],q[a+72>>2],q[a+76>>2],q[d+28>>2],q[a+40>>2],q[a+44>>2])){c=f+28|0;a=q[c>>2];e=f+32|0;b=q[e>>2];if((a|0)==(b|0)){if(o[f+36|0]&1){break b}b=a;a=f+24|0;vi((b-q[a>>2]>>2)+1|0,4,a,e,c);b=q[e>>2];a=q[c>>2]}if((a|0)==(b|0)){break a}b=q[d+28>>2];q[c>>2]=a+4;q[a>>2]=b;b=0;break c}a=Ei(q[a+72>>2],q[a+76>>2]);q[d+4>>2]=q[q[f+4>>2]+72>>2];q[d>>2]=a;mi(4,38938,41493,d);Di(c,q[d+28>>2]);break d}b=-1;if(q[73436]!=(c|0)|q[73437]!=(e|0)){break c}b=-12;if(!(o[a+80|0]&1)){break c}b=q[q[q[a+8>>2]+80>>2]>>2];q[d+28>>2]=0;b=Em(b,a+32|0,q[73408],q[73409],d+28|0);if(b){break c}b=q[f+8>>2];c=q[a+76>>2];e=q[a+72>>2];g=q[d+28>>2];h=q[g+48>>2];b=TI(b,e,c,g,2,ji[q[74969]](h)|0,ji[q[74970]](h)|0);if(!b){c=f+28|0;a=q[c>>2];e=f+32|0;b=q[e>>2];if((a|0)==(b|0)){if(o[f+36|0]&1){break b}b=a;a=f+24|0;vi((b-q[a>>2]>>2)+1|0,4,a,e,c);b=q[e>>2];a=q[c>>2]}if((a|0)==(b|0)){break a}b=q[d+28>>2];q[c>>2]=a+4;q[a>>2]=b;b=0;break c}a=Ei(q[a+72>>2],q[a+76>>2]);q[d+20>>2]=b;q[d+16>>2]=a;mi(4,38938,40449,d+16|0)}b=-7}fi=d+32|0;return b|0}J(39145,39220,461,39299);G()}J(39443,39220,501,39467);G()}function lZ(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;a:{f=854516;g=q[213635];b:{if(g){f=0;e=854516;if(q[213636]==(a|0)){break b}}c:{if(!q[213643]){e=854548;break c}e=0;if(q[213644]!=(a|0)){break c}e=854548;break b}d:{if(!q[213651]){h=854580;break d}if(q[213652]!=(a|0)){break d}e=854580;break b}e:{if(!q[213659]){i=854612;break e}if(q[213660]!=(a|0)){break e}e=854612;break b}f:{if(!q[213667]){j=854644;break f}if(q[213668]!=(a|0)){break f}e=854644;break b}g:{if(!q[213675]){k=854676;break g}if(q[213676]!=(a|0)){break g}e=854676;break b}h:{if(!q[213683]){l=854708;break h}if(q[213684]!=(a|0)){break h}e=854708;break b}i:{if(!q[213691]){m=854740;break i}if(q[213692]!=(a|0)){break i}e=854740;break b}j:{if(!q[213699]){n=854772;break j}if(q[213700]!=(a|0)){break j}e=854772;break b}k:{if(!q[213707]){o=854804;break k}if(q[213708]!=(a|0)){break k}e=854804;break b}l:{if(!q[213715]){p=854836;break l}if(q[213716]!=(a|0)){break l}e=854836;break b}e=g?e:f;e=e?e:h;e=e?e:i;e=e?e:j;e=e?e:k;e=e?e:l;e=e?e:m;e=e?e:n;e=e?e:o;e=e?e:p;if(!e){break a}q[e+24>>2]=e}f=q[e+4>>2];if(!d){if((f|0)!=6){break a}q[e+28>>2]=a;q[e+4>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+12>>2]=c;q[e+8>>2]=b;return}if((f|0)==6){q[e+24>>2]=0;return}if((f|0)==5){break a}a=(d|0)==4?3:d;g=(a|0)!=1;if((f|0)==3?!g:0){break a}h=q[e+12>>2];q[e+12>>2]=c;i=q[e+8>>2];q[e+8>>2]=b;q[e+16>>2]=b-i;q[e+20>>2]=c-h;if(f?0:!g){break a}if(!(f|(a|0)!=3)){q[e+4>>2]=5;return}q[e+4>>2]=d}}function fja(a,b){a=a|0;b=b|0;var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),s=x(0),t=0,v=0;b=fi-128|0;fi=b;a:{j=q[a+8>>2];d=q[j+8>>2];a=q[j+4>>2];c=d-a|0;if(!c){break a}if((a|0)!=(d|0)){d=a-d|0;d=((c|0)<(d|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);t=c>>>0>1?c:1;c=0;while(1){a=q[(c<<2)+a>>2];b:{if((r[a+166|0]&3)!=3){break b}d=$I(a);p[a+164>>1]=d;if(!(d&65535)){break b}h=u[a+28>>2];g=u[a+24>>2];e=u[a+20>>2];f=u[a+16>>2];q[b+108>>2]=0;q[b+92>>2]=0;q[b+76>>2]=0;i=x(f+f);m=x(x(1)-x(f*i));l=x(e+e);n=x(e*l);u[b+104>>2]=m-n;k=e;e=x(g+g);k=x(k*e);i=x(i*h);u[b+100>>2]=k-i;o=x(f*e);s=x(l*h);u[b+96>>2]=o+s;u[b+88>>2]=k+i;g=x(g*e);u[b+84>>2]=m-g;f=x(f*l);e=x(h*e);u[b+80>>2]=f-e;u[b+72>>2]=o-s;u[b+68>>2]=f+e;u[b+64>>2]=x(x(1)-n)-g;d=q[a+4>>2];v=q[a>>2];f=u[a+8>>2];q[b+124>>2]=1065353216;u[b+120>>2]=f;q[b+112>>2]=v;q[b+116>>2]=d;d=cp(q[a+96>>2]);c:{if((q[q[a+96>>2]+136>>2]&512)>>>9|0){Dk(b,d,b- -64|0);break c}On(b,d,b- -64|0)}u[a+32>>2]=u[b>>2];u[a+36>>2]=u[b+4>>2];u[a+40>>2]=u[b+8>>2];u[a+44>>2]=u[b+12>>2];u[a+48>>2]=u[b+16>>2];u[a+52>>2]=u[b+20>>2];u[a+56>>2]=u[b+24>>2];u[a+60>>2]=u[b+28>>2];u[a- -64>>2]=u[b+32>>2];u[a+68>>2]=u[b+36>>2];u[a+72>>2]=u[b+40>>2];u[a+76>>2]=u[b+44>>2];f=u[b+56>>2];e=u[b+52>>2];h=u[b+48>>2];u[a+92>>2]=u[b+60>>2];u[a+88>>2]=f;u[a+84>>2]=e;u[a+80>>2]=h}c=c+1|0;if((t|0)==(c|0)){break a}a=q[j+4>>2];if(q[j+8>>2]-a>>2>>>0>c>>>0){continue}break}}J(53991,53817,447,53980);G()}fi=b+128|0;return 0}function Doa(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;g=fi-112|0;fi=g;a:{b:{if(!b){l=-6;break b}p=ap(g+32|0);j=q[g+28>>2];q[g+8>>2]=q[g+24>>2];q[g+12>>2]=j;q[g+16>>2]=0;j=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=j;l=Xq(b,c,d,e,f,g,p);if(l){break b}k=1;l=-3;m=1;j=1;c:{d:{e:{switch(q[p+32>>2]){case 3:j=3;break d;case 0:break c;case 4:case 5:break e;default:break b}}j=4}m=0}l=0;a=Js(a);h=q[a+48>>2];f:{if(!h){h=0;break f}h=q[q[a+44>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((h|0)==-1){h=0;break f}i=q[a+52>>2];g:{while(1){n=i+w(h,12)|0;if(q[n>>2]==(b|0)){break g}h=q[n+8>>2];if((h|0)!=-1){continue}break}h=0;break f}b=i+w(h,12)|0;h=b+4|0;k=0;b=s[b+4>>1];if((b|0)==65535){break f}while(1){b=b&65535;i=q[a+16>>2];if(b>>>0>=q[a+20>>2]-i>>1>>>0){break a}b=s[i+(b<<1)>>1];n=q[a>>2];if(b>>>0>=(q[a+4>>2]-n|0)/104>>>0){break a}b=n+w(b,104)|0;if(!((c|0)!=q[b+8>>2]|(d|0)!=q[b+12>>2]|((e|0)!=q[b+16>>2]|(f|0)!=q[b+20>>2]))){o[b+96|0]=r[b+96|0]&252}b=s[b+94>>1];if((b|0)!=65535){continue}break}}if(k|m){break b}k=0;while(1){b=s[h>>1];if((b|0)!=65535){e=(k<<3)+p|0;f=q[e>>2];e=q[e+4>>2];while(1){b=b&65535;m=q[a+16>>2];if(b>>>0>=q[a+20>>2]-m>>1>>>0){break a}b=s[m+(b<<1)>>1];i=q[a>>2];if(b>>>0>=(q[a+4>>2]-i|0)/104>>>0){break a}b=i+w(b,104)|0;if(!((c|0)!=q[b+8>>2]|(d|0)!=q[b+12>>2]|((f|0)!=q[b+16>>2]|(e|0)!=q[b+20>>2]))){o[b+96|0]=r[b+96|0]&252}b=s[b+94>>1];if((b|0)!=65535){continue}break}}k=k+1|0;if((j|0)!=(k|0)){continue}break}}fi=g+112|0;return l}J(6718,6437,447,6729);G()}function SI(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=x(0),t=0,v=0;m=fi-160|0;fi=m;a:{n=b&65535;o=q[a+32>>2];if(n>>>0<(q[a+36>>2]-o|0)/576>>>0){if(s[(o+w(n,576)|0)+552>>1]!=(b>>>16|0)){break a}t=Su(c,d);b:{if(t){o=(o+w(n,576)|0)+(q[t+8>>2]<<4)|0;c=r[t+12|0];if((c|0)==255){p=u[e>>2];c=q[f>>2];d=q[f+4>>2];n=q[f+12>>2];v=q[f+16>>2];t=v;q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;v=q[m+148>>2];q[m+96>>2]=q[m+144>>2];q[m+100>>2]=v;q[m+104>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+88>>2]=c;q[m+92>>2]=d;Qq(a,b,o,p,m+88|0,g,h,i,x(1),0,0,0);p=u[e+4>>2];q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;v=q[m+148>>2];q[m+72>>2]=q[m+144>>2];q[m+76>>2]=v;q[m+80>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+64>>2]=c;q[m+68>>2]=d;Qq(a,b,o+4|0,p,m- -64|0,g,h,i,x(1),0,0,0);p=u[e+8>>2];q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;n=q[m+148>>2];q[m+48>>2]=q[m+144>>2];q[m+52>>2]=n;q[m+56>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+40>>2]=c;q[m+44>>2]=d;Qq(a,b,o+8|0,p,m+40|0,g,h,i,x(1),0,0,0);p=u[e+12>>2];q[m+32>>2]=q[f+16>>2];c=q[f+12>>2];q[m+24>>2]=q[f+8>>2];q[m+28>>2]=c;c=q[f+4>>2];q[m+16>>2]=q[f>>2];q[m+20>>2]=c;Qq(a,b,o+12|0,p,m+16|0,g,h,i,x(1),j,k,l);break b}c=c<<2;p=u[c+e>>2];q[m+128>>2]=q[f+16>>2];d=q[f+12>>2];q[m+120>>2]=q[f+8>>2];q[m+124>>2]=d;d=q[f+4>>2];q[m+112>>2]=q[f>>2];q[m+116>>2]=d;Qq(a,b,c+o|0,p,m+112|0,g,h,i,x(1),j,k,l);break b}q[m>>2]=Ei(c,d);mi(4,184623,185885,m)}fi=m+160|0;return}J(186773,186599,447,186784);G()}J(184508,184532,3467,185869);G()}function zta(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=fi-16|0;fi=h;g=h+8|0;a:{if((r[a+3|0]&2)>>>1|0){f=Bta(a);if(c){sta(g,f,yta(a));break a}tta(g,f);break a}uta(h,Cta(a,c));q[g>>2]=q[h>>2]}i=(xta(a,c)<<4)+94496|0;d=q[i>>2];c=0;f=d+r[h+8|0]|0;b:{c:{if(f>>>0<256){c=f;break c}a=255;if((f|0)>=0){break b}}a=c}f=a;a=0;e=d+r[g+1|0]|0;d:{e:{if(e>>>0<256){a=e;break e}c=255;if((e|0)>=0){break d}}c=a}a=0;d=d+r[g+2|0]|0;f:{g:{if(d>>>0<256){a=d;break g}e=255;if((d|0)>=0){break f}}e=a}o[b+3|0]=255;o[b+2|0]=e;o[b+1|0]=c;o[b|0]=f;a=0;d=q[i+4>>2];f=d+r[h+8|0]|0;h:{i:{if(f>>>0<256){a=f;break i}c=255;if((f|0)>=0){break h}}c=a}f=c;a=0;e=d+r[g+1|0]|0;j:{k:{if(e>>>0<256){a=e;break k}c=255;if((e|0)>=0){break j}}c=a}a=0;d=d+r[g+2|0]|0;l:{m:{if(d>>>0<256){a=d;break m}e=255;if((d|0)>=0){break l}}e=a}o[b+7|0]=255;o[b+6|0]=e;o[b+5|0]=c;o[b+4|0]=f;a=0;d=q[i+8>>2];f=d+r[h+8|0]|0;n:{o:{if(f>>>0<256){a=f;break o}c=255;if((f|0)>=0){break n}}c=a}f=c;a=0;e=d+r[g+1|0]|0;p:{q:{if(e>>>0<256){a=e;break q}c=255;if((e|0)>=0){break p}}c=a}a=0;d=d+r[g+2|0]|0;r:{s:{if(d>>>0<256){a=d;break s}e=255;if((d|0)>=0){break r}}e=a}o[b+11|0]=255;o[b+10|0]=e;o[b+9|0]=c;o[b+8|0]=f;a=0;d=q[i+12>>2];f=d+r[h+8|0]|0;t:{u:{if(f>>>0<256){a=f;break u}c=255;if((f|0)>=0){break t}}c=a}f=c;a=0;e=d+r[g+1|0]|0;v:{w:{if(e>>>0<256){a=e;break w}c=255;if((e|0)>=0){break v}}c=a}a=0;d=d+r[g+2|0]|0;x:{y:{if(d>>>0<256){a=d;break y}e=255;if((d|0)>=0){break x}}e=a}o[b+15|0]=255;o[b+14|0]=e;o[b+13|0]=c;o[b+12|0]=f;fi=h+16|0}function Vp(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,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=r[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=r[a|0]+d|0;h=g+r[a+1|0]|0;i=h+r[a+2|0]|0;j=i+r[a+3|0]|0;k=j+r[a+4|0]|0;l=k+r[a+5|0]|0;m=l+r[a+6|0]|0;n=m+r[a+7|0]|0;o=n+r[a+8|0]|0;p=o+r[a+9|0]|0;q=p+r[a+10|0]|0;s=q+r[a+11|0]|0;t=s+r[a+12|0]|0;u=t+r[a+13|0]|0;v=u+r[a+14|0]|0;d=v+r[a+15|0]|0;e=d+(v+(u+(t+(s+(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 a}if(c>>>0<16){break c}}while(1){a=r[b|0]+d|0;f=a+r[b+1|0]|0;g=f+r[b+2|0]|0;h=g+r[b+3|0]|0;i=h+r[b+4|0]|0;j=i+r[b+5|0]|0;k=j+r[b+6|0]|0;l=k+r[b+7|0]|0;m=l+r[b+8|0]|0;n=m+r[b+9|0]|0;o=n+r[b+10|0]|0;p=o+r[b+11|0]|0;q=p+r[b+12|0]|0;s=q+r[b+13|0]|0;t=s+r[b+14|0]|0;d=t+r[b+15|0]|0;e=d+(t+(s+(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 b}}while(1){d=r[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=r[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function Rca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=qi(Ci(160),0,152);q[e+152>>2]=b;q[e+156>>2]=q[a+96>>2];dc(1,e+148|0);a:{b:{c:{d:{e:{f:{g:{h:{if(r[q[74995]+104|0]&8){f=K()|0;if(f){break h}}Ea(36160,q[e+148>>2]);if(r[q[74995]+104|0]&8){f=K()|0;if(f){break g}}e=si(e,d,132);q[e+108>>2]=0;q[e+112>>2]=0;q[e+64>>2]=0;q[e+68>>2]=0;q[e+20>>2]=0;q[e+24>>2]=0;i:{if(!(b&1)){break i}c=ji[q[74961]](a,c)|0;q[e+132>>2]=c;ji[q[74963]](c,d);fc(36160,36064,3553,q[q[e+132>>2]+4>>2],0);if(!(r[q[74995]+104|0]&8)){break i}c=K()|0;if(c){break f}}if(b&6){j:{if(!(b&4)){pa(1,e+136|0);if(!(r[q[74995]+104|0]&8)){break j}a=K()|0;if(!a){break j}Mi(a,82455,2030);J(79249,79164,2030,82455);G()}if(r[a+104|0]&2){pa(1,e+144|0);if(!(r[q[74995]+104|0]&8)){break j}a=K()|0;if(!a){break j}Mi(a,82455,2037);J(79249,79164,2037,82455);G()}pa(1,e+136|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break e}}pa(1,e+140|0);if(!(r[q[74995]+104|0]&8)){break j}a=K()|0;if(a){break d}}YI(e,0);a=Da(36160)|0;if((a|0)!=36053){break c}}a=Da(36160)|0;if((a|0)!=36053){break b}Ea(36160,Pa()|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return e|0}Mi(f,82455,2004);J(79249,79164,2004,82455);G()}Mi(f,82455,2006);J(79249,79164,2006,82455);G()}Mi(c,82455,2022);J(79249,79164,2022,82455);G()}Mi(a,82455,2042);J(79249,79164,2042,82455);G()}Mi(a,82455,2044);J(79249,79164,2044,82455);G()}Tz(a);J(82477,79164,2048,82455);G()}Tz(a);J(82477,79164,2065,82455);G()}Mi(a,82455,2067);J(79249,79164,2067,82455);G()}function pK(a,b,c,d,e){var f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),t=0,v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0);a:{if(!(!e|(c|0)==32767)){v=q[a>>2];while(1){c=c&65535;f=q[v+2056>>2];if(c>>>0>=q[v+2060>>2]-f>>2>>>0){break a}b:{f=q[f+(c<<2)>>2];if(!(q[f+136>>2]&1024)){break b}c=w(t,48)+d|0;g=u[c>>2];u[f>>2]=g;h=u[c+4>>2];u[f+4>>2]=h;i=u[c+8>>2];u[f+8>>2]=i;n=u[c+12>>2];u[f+12>>2]=n;y=u[c+16>>2];u[f+16>>2]=y;z=u[c+20>>2];u[f+20>>2]=z;A=u[c+24>>2];u[f+24>>2]=A;B=u[c+32>>2];u[f+32>>2]=B;C=u[c+36>>2];u[f+36>>2]=C;r=u[c+40>>2];u[f+40>>2]=r;c=t+1|0;if(!(t|!b)){D=u[b+16>>2];E=u[b+20>>2];F=u[b+24>>2];j=u[b+8>>2];k=u[b+4>>2];l=u[b+12>>2];m=u[b>>2];o=u[b+32>>2];p=u[b+36>>2];H=r;r=u[b+40>>2];u[f+40>>2]=H*r;u[f+36>>2]=C*p;u[f+32>>2]=B*o;u[f+12>>2]=x(x(x(n*l)-x(g*m))-x(h*k))-x(i*j);u[f+8>>2]=x(x(h*m)+x(x(n*j)+x(i*l)))-x(g*k);u[f+4>>2]=x(x(g*j)+x(x(n*k)+x(h*l)))-x(i*m);u[f>>2]=x(x(i*k)+x(x(n*m)+x(g*l)))-x(h*j);g=x(y*o);h=x(z*p);i=x(A*r);n=x(x(x(j*g)+x(l*h))-x(m*i));o=x(x(j*i)+x(x(m*g)+x(k*h)));p=x(x(x(m*h)+x(l*i))-x(k*g));g=x(x(x(l*g)+x(k*i))-x(j*h));u[f+24>>2]=F+x(x(m*n)+x(x(x(j*o)+x(l*p))-x(k*g)));u[f+20>>2]=E+x(x(j*g)+x(x(x(l*n)+x(k*o))-x(m*p)));u[f+16>>2]=D+x(x(k*p)+x(x(x(m*o)+x(l*g))-x(j*n)))}if(c>>>0>>0){c=pK(a,0,s[f+150>>1]&32767,w(c,48)+d|0,e-c|0)+c|0}t=c;if((c|0)!=(e|0)){break b}return e}c=q[f+148>>2]&32767;if((c|0)!=32767){continue}break}}return t}J(12475,10090,447,9406);G()}function m3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=fi-576|0;fi=g;j=Uj();i=xi(32);f=i;q[f>>2]=0;q[f+4>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;f=c;h=f>>31;bF(a,f,h);cF(a,f,h);k=!(f|d);if(!k){q[213515]=(((f|0)>5e5?c:5e5)>>>0)/1e3;q[213514]=1}f=xi(280);q[i>>2]=f;h=xi(16);q[i+4>>2]=h;q[h+8>>2]=c;q[h+12>>2]=d;Qr(f);if(r[854436]){q[213499]=0;q[213498]=854092;f=q[i>>2]}h=IT(f);a:{if(h){q[g+52>>2]=h;q[g+48>>2]=Eq(h);q[g+56>>2]=(h|0)<0?45:32;a=h>>31;q[g+60>>2]=a+h^a;mi(4,166926,167086,g+48|0);b=-2001;break a}b=JT(f,b);if(b){q[g+36>>2]=b;q[g+32>>2]=Eq(b);q[g+40>>2]=(b|0)<0?45:32;a=b>>31;q[g+44>>2]=a+b^a;mi(4,166926,167131,g+32|0);b=-2001;break a}b=q[i+4>>2];q[b>>2]=-1;q[b>>2]=a;q[f+44>>2]=1345;q[f+40>>2]=0;q[f+36>>2]=1344;q[f+48>>2]=b;q[f+96>>2]=1347;q[f+92>>2]=1346;q[f+88>>2]=i;a=q[f+92>>2];if(a){ji[a|0](q[f+88>>2],0,0)}while(1){b=xr(q[i>>2]);if((b&-129)==-26880){continue}break}f=Uj();b:{c:{if(!k){a=-26624;f=f-j|0;j=f>>31;if((d|0)==(j|0)&c>>>0>>0|d>>>0>>0){break c}}a=b;if(!a){break b}}qi(g- -64|0,0,512);o[g- -64|0]=0;q[g+16>>2]=a;q[g+20>>2]=g- -64;mi(4,166926,167183,g+16|0);d:{if((a|0)==-9984){f=167224;b=-2003;break d}b=-2001;if((a|0)!=-26624){break a}f=167267;b=-2002}mi(4,166926,f,0);break a}e:{f:{b=q[i>>2];a=q[b+60>>2];if(a){break f}a=q[b+64>>2];if(a){break f}a=-1;break e}a=q[a+100>>2]}if(a){yT(g- -64|0,a);q[g>>2]=g- -64;mi(4,166926,167294,g);b=-2001;break a}q[e>>2]=i;b=0}fi=g+576|0;return b}function CN(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=x(0),h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=x(0),o=0,r=0,t=0,v=x(0),w=x(0),z=0,B=x(0),E=x(0),F=x(0),H=x(0),I=0,K=0,L=0;i=b;r=q[i+48>>2];t=q[i+52>>2];g=u[i+40>>2];m=q[i+4>>2];z=q[i+44>>2];l=z<<2;h=m+l|0;p[h>>1]=s[h-4>>1];p[(l|2)+m>>1]=s[h-2>>1];j=u[i+32>>2];k=u[i+28>>2];h=q[a+4>>2];l=q[a>>2];v=u[i+20>>2];w=u[i+16>>2];g=x(g*x(+(kwa(c<<31,c>>>1|0,d)>>>0)+ +(ii>>>0)*4294967296));a:{if(g=x(0)){i=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;d=~~g>>>0;break a}i=0;d=0}b:{if(!f){c=0;break b}F=x(x(1)/x(f>>>0));n=k;g=x(j-k);k=x(h>>>0);g=x(g/k);j=x(l>>>0);n=x(n+x(g*j));H=x(x(g+n)-n);g=x(x(v-w)/k);B=x(w+x(g*j));w=x(x(g+B)-B);c=0;a=0;while(1){l=c;c=c<<2;h=c+m|0;I=p[h>>1];K=p[h+4>>1];j=x(F*x(a|0));v=x(+x(n+x(H*j))*1.5707963267948966);g=rl(v);L=p[(c|2)+m>>1];o=p[h+6>>1];h=a<<3;c=h+e|0;k=x(B+x(w*j));E=x(x(+(r>>>0)+ +(t>>>0)*4294967296)*x(4.656612873077393e-10));j=x(x(1)-E);u[c>>2]=u[c>>2]+x(g*x(k*x(x(j*x(I|0))+x(E*x(K|0)))));g=nk(v);c=(h|4)+e|0;u[c>>2]=u[c>>2]+x(g*x(k*x(x(j*x(L|0))+x(E*x(o|0)))));c=d;o=c+r|0;h=i+t|0;h=c>>>0>o>>>0?h+1|0:h;r=o&2147483647;t=0;c=h;h=o;c=((c&2147483647)<<1|h>>>31)+l|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=r;q[b+52>>2]=t;if(l>>>0<=z>>>0){break b}J(202287,201413,963,202374);G()}Kk(m,(c<<2)+m|0,z-c<<2);q[b+44>>2]=q[b+44>>2]-c}function g8(a){var b=0;if(!a){return}if(!Hx()){mi(5,133208,133212,0);return}if(!q[210338]){q[210338]=a;if(!(xb(1160)|0)){mi(5,133208,133290,0)}if(!(vb(1161)|0)){mi(5,133208,133324,0)}if(!(wb(1162)|0)){mi(5,133208,133365,0)}a=qi(a,0,157);q[a+304>>2]=1;qi(a+160|0,0,144);o[a+316|0]=0;q[a+308>>2]=0;q[a+312>>2]=0;q[a+464>>2]=2;qi(a+320|0,0,144);o[a+476|0]=0;q[a+468>>2]=0;q[a+472>>2]=0;q[a+624>>2]=3;qi(a+480|0,0,144);o[a+636|0]=0;q[a+628>>2]=0;q[a+632>>2]=0;q[a+784>>2]=4;qi(a+640|0,0,144);o[a+796|0]=0;q[a+788>>2]=0;q[a+792>>2]=0;q[a+944>>2]=5;qi(a+800|0,0,144);o[a+956|0]=0;q[a+948>>2]=0;q[a+952>>2]=0;q[a+1104>>2]=6;qi(a+960|0,0,144);o[a+1116|0]=0;b=a+1108|0;q[b>>2]=0;q[b+4>>2]=0;q[a+1264>>2]=7;qi(a+1120|0,0,144);o[a+1276|0]=0;b=a+1268|0;q[b>>2]=0;q[b+4>>2]=0;q[a+1424>>2]=8;qi(a+1280|0,0,144);o[a+1436|0]=0;b=a+1428|0;q[b>>2]=0;q[b+4>>2]=0;q[a+1584>>2]=9;qi(a+1440|0,0,144);o[a+1596|0]=0;b=a+1588|0;q[b>>2]=0;q[b+4>>2]=0;q[a+1744>>2]=10;qi(a+1600|0,0,144);o[a+1756|0]=0;b=a+1748|0;q[b>>2]=0;q[b+4>>2]=0;q[a+1904>>2]=11;qi(a+1760|0,0,144);o[a+1916|0]=0;b=a+1908|0;q[b>>2]=0;q[b+4>>2]=0;q[a+2064>>2]=12;qi(a+1920|0,0,144);o[a+2076|0]=0;b=a+2068|0;q[b>>2]=0;q[b+4>>2]=0;q[a+2224>>2]=13;qi(a+2080|0,0,144);o[a+2236|0]=0;b=a+2228|0;q[b>>2]=0;q[b+4>>2]=0;q[a+2384>>2]=14;qi(a+2240|0,0,144);o[a+2396|0]=0;b=a+2388|0;q[b>>2]=0;q[b+4>>2]=0;q[a+2544>>2]=15;qi(a+2400|0,0,144);o[a+2556|0]=0;a=a+2548|0;q[a>>2]=0;q[a+4>>2]=0;return}J(133243,133258,87,133285);G()}function iu(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;a:{b=q[a+120>>2];f=q[b+8>>2]-q[b+12>>2]>>4;if((f|0)>-1){gX(b);zi(b,-10002,110466);zi(b,-1,110471);pi(b,-2,110476);oi(b,-2);R2(b);L2(b);I2(b);K2(b);M2(b);O2(b);N2(b);H2(b);Q2(b);GW(b);oi(b,-2);c=q[b+8>>2]-q[b+12>>2]>>4;MW(b);oi(b,c+(q[b+8>>2]-q[b+12>>2]>>4^-1)|0);Wj(b,757,0);pi(b,-10002,110480);Wj(b,758,0);pi(b,-10002,110486);zi(b,-10002,110466);b:{if(ri(b,-1)){c=xi(4);q[c>>2]=0;e=q[b+8>>2];q[e+8>>2]=2;q[e>>2]=c;q[b+8>>2]=q[b+8>>2]+16;pi(b,-10002,110493);q[c>>2]=w(q[c>>2],214013)+2531011;Wj(b,759,0);pi(b,-2,110507);Wj(b,760,0);pi(b,-2,110514);break b}mi(3,110525,110532,0)}oi(b,-2);c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;c=Mp(110560,16);Bi(b,110560,16);Hi(b,-2);Wi(b,-10002);e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;ak(b,-2);Wi(b,-10002);q[79155]=c;c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=b;q[b+8>>2]=q[b+8>>2]+16;pi(b,-10002,110577);ij(b,0,0);q[79154]=q[79154]+1;q[a+124>>2]=Kn(b,-1e4);P2(a);J2(a);if(r[a+128|0]){S2(a)}c=q[a+104>>2];e=q[a+108>>2];if((c|0)!=(e|0)){while(1){g=q[q[c>>2]>>2];if(g){ji[g|0](a);e=q[a+108>>2]}c=c+4|0;if((e|0)!=(c|0)){continue}break}}a=q[b+8>>2]-q[b+12>>2]>>4;if((a|0)!=(f|0)){break a}fi=d+32|0;return}q[d+12>>2]=f;q[d+4>>2]=153;q[d+8>>2]=0;q[d>>2]=110448;mi(4,110525,111068,d);J(111140,110448,1449,111157);G()}q[d+28>>2]=a;q[d+24>>2]=f;q[d+20>>2]=153;q[d+16>>2]=110448;mi(4,110525,111171,d+16|0);J(111242,110448,1472,111261);G()}function ax(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=fi-32|0;fi=g;a:{if(!a){f=-5248;break a}f=-4224;i=Im(d,b);if(!i){break a}h=Im(d,c);if(i>>>0>=h>>>0){break a}j=1;b=Fi(b)+i|0;i=r[b|0]==32;k=i?b+1|0:b;b=r[b+i|0]==13?k+1|0:k;if(r[b|0]!=10){break a}c=Fi(c)+h|0;f=r[c|0]==32;i=e;e=f?c+1|0:c;c=r[c+f|0]==13?e+1|0:e;q[i>>2]=(r[c|0]==10?c+1|0:c)-d;d=b+1|0;b:{if((h-d|0)<22){break b}if(ej(d,147648,22)){break b}f=-4352;c=r[b+23|0]==13;if(r[b+(c?24:23)|0]!=10){break a}e=1;b=c?b+24|0:b+23|0;d=b+1|0;c=h-d|0;c:{d:{e:{if((c|0)>=23){if(ej(d,147671,23)){break e}f=-4608;c=b+24|0;if((h-c|0)<16){break a}if(Hw(c,g,8)){break a}d=b+40|0;break d}if((c|0)<18){break c}}if(ej(d,147695,18)){break c}f=-4608;c=b+19|0;if((h-c|0)<16){break a}if(Hw(c,g,8)){break a}d=b+35|0}e=0}f:{g:{b=h-d|0;if((b|0)<14){break g}if(ej(d,147714,14)){break g}f=-4736;if((b|0)<22){break a}h:{if(!ej(d,147729,22)){break h}if(!ej(d,147752,22)){break h}if(ej(d,147775,22)){break a}}f=-4608;b=d+22|0;if((h-b|0)<32){break a}if(Hw(b,g,16)){break a}d=d+54|0;break f}f=-4736;if(e){break a}}f=-4352;b=r[d|0]==13?d+1|0:d;if(r[b|0]!=10){break a}d=b+1|0;j=0}f=-4352;if(d>>>0>=h>>>0){break a}f=-4396;c=h-d|0;if((HD(0,0,g+28|0,d,c)|0)==-44){break a}e=q[g+28>>2];b=Oj(1,e);if(!b){f=-4480;break a}c=HD(b,e,g+28|0,d,c);if(c){ji[q[66742]](b,0,q[g+28>>2])|0;ki(b);f=c-4352|0;break a}i:{if(j){c=q[g+28>>2];break i}ji[q[66742]](b,0,q[g+28>>2])|0;ki(b);f=-4864;break a}q[a+4>>2]=c;q[a>>2]=b;f=0}fi=g+32|0;return f}function Km(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=-24832;f=q[a>>2];a:{if(!f){break a}q[e>>2]=0;h=f?q[f+24>>2]:0;b:{c:{d:{i=q[f+4>>2];switch(i-1|0){case 5:break c;case 0:break d;default:break b}}g=-25216;if((c|0)!=(h|0)){break a}q[e>>2]=c;return ji[q[q[f+28>>2]+4>>2]](q[a+60>>2],q[a+8>>2],b,d)|0}q[e>>2]=c;return eD(q[a+60>>2],c,b,d)}if(q[f>>2]==73){q[e>>2]=c;return CD(q[a+60>>2],c,b,d)}if(!h){return-25472}if(q[a+36>>2]|(c>>>0)%(h>>>0)?(b|0)==(d|0):0){break a}g=-24704;e:{f:{g:{h:{switch(i-2|0){case 0:i:{j:{k:{switch(q[a+8>>2]){case 0:f=q[a+36>>2];i=h-f|0;if(!q[a+12>>2]){break j}if(c>>>0<=i>>>0){break f}break i;case 1:break k;default:break i}}f=q[a+36>>2];if(h-f>>>0<=c>>>0){break i}break f}if(c>>>0>>0){break f}}f=q[a+36>>2];if(f){i=a+20|0;g=i+f|0;f=h-f|0;si(g,b,f);g=ji[q[q[q[a>>2]+28>>2]+8>>2]](q[a+60>>2],q[a+8>>2],h,a+40|0,i,d)|0;if(g){break a}q[e>>2]=q[e>>2]+h;q[a+36>>2]=0;c=c-f|0;d=d+h|0;b=b+f|0}g=0;if(!c){break a}f=(c>>>0)%(h>>>0)|0;l:{if(f){break l}f=0;if(q[a+8>>2]){break l}f=q[a+12>>2]?h:0}c=c-f|0;si(a+20|0,c+b|0,f);q[a+36>>2]=q[a+36>>2]+f;if(!c){break a}g=ji[q[q[q[a>>2]+28>>2]+8>>2]](q[a+60>>2],q[a+8>>2],c,a+40|0,b,d)|0;if(g){break a}q[e>>2]=c+q[e>>2];break e;case 1:g=ji[q[q[f+28>>2]+12>>2]](q[a+60>>2],q[a+8>>2],c,a+36|0,a+40|0,b,d)|0;if(!g){break g}break a;case 5:break h;default:break a}}g=ji[q[q[f+28>>2]+16>>2]](q[a+60>>2],c,b,d)|0;if(g){break a}}q[e>>2]=c;break e}si((a+f|0)+20|0,b,c);q[a+36>>2]=q[a+36>>2]+c}g=0}return g}function d6(a,b,c,d,e,f,g){var h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=0,t=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0);k=u[d>>2];h=u[d+12>>2];j=u[d+4>>2];i=u[d+8>>2];l=x(f*x(64));a:{if(l=x(0)){d=~~l>>>0;break a}d=0}s=q[a>>2];t=q[a+4>>2]-s|0;a=(t|0)/160|0;if(t){m=x(h*x(-0));n=x(k*x(-0));l=x(x(m-i)-n);o=x(i*x(-0));p=x(j*x(-0));r=x(o+x(p-k));m=x(x(m+n)+j);n=x(x(p-h)-o);v=x(x(k*l)+x(x(x(i*r)+x(h*m))-x(j*n)));y=x(x(i*n)+x(x(x(h*l)+x(j*r))-x(k*m)));z=x(x(j*m)+x(x(x(h*n)+x(k*r))-x(i*l)));l=x(i*x(0));r=x(h*x(0));m=x(x(l+r)-k);o=x(j*x(0));p=x(k*x(0));n=x(i+x(o+p));o=x(x(h+p)-o);p=x(x(r+j)-l);l=x(x(k*m)+x(x(x(i*n)+x(h*o))-x(j*p)));r=x(x(i*p)+x(x(x(h*m)+x(j*n))-x(k*o)));k=x(x(j*o)+x(x(x(h*p)+x(k*n))-x(i*m)));d=w(d>>>0<63?d:63,12)+b|0;m=x(x(x(f-u[d>>2])*u[d+8>>2])+u[d+4>>2]);f=x(e*g);e=x(u[b+776>>2]*e);n=x(e*e);o=u[b+768>>2];d=a>>>0>1?a:1;p=u[c+8>>2];A=u[c+4>>2];B=u[c>>2];a=0;while(1){b=w(a,160)+s|0;h=x(u[b>>2]-B);j=x(u[b+4>>2]-A);g=x(u[b+8>>2]-p);e=x(x(x(k*h)+x(r*j))+x(l*g));g=x(g-x(l*e));h=x(h-x(k*e));e=x(j-x(r*e));j=x(n-x(x(g*g)+x(x(h*h)+x(e*e))))>=x(0)?x(m+x(o*u[b+76>>2])):x(0);i=x(x(k*e)-x(r*h));e=x(x(r*g)-x(l*e));g=x(x(l*h)-x(k*g));c=x(x(i*i)+x(x(e*e)+x(g*g)))<=x(0);h=c?v:i;i=c?z:e;g=c?y:g;e=x(x(1)/x(F(x(x(h*h)+x(x(i*i)+x(g*g))))));u[b+56>>2]=u[b+56>>2]+x(f*x(j*x(h*e)));u[b+52>>2]=u[b+52>>2]+x(f*x(j*x(g*e)));u[b+48>>2]=u[b+48>>2]+x(f*x(j*x(i*e)));a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function QB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-288|0;fi=e;h=Ni(a,1,e+284|0);d=Ni(a,2,e+280|0);f=cm(a,3,1);c=q[e+284>>2];g=f+(c+1&f>>31)|0;f=(g|0)>0;g=f?g-1|0:-1;f=f?c>>>0>>0?c:g:0;a:{b:{c:{d:{e:{if(b){if(Fj(a,4)){break e}c=OB(d,131805)+d|0;if(!(r[c|0]?c:0)){break e}c=q[e+284>>2]}g=r[d|0];q[e+16>>2]=a;q[e+8>>2]=h;q[e+12>>2]=c+h;i=d+1|0;c=d;d=(g|0)==94;g=d?i:c;c=f+h|0;if(d){break d}while(1){q[e+20>>2]=0;d=kn(e+8|0,c,g);if(d){break c}d=t[e+12>>2]>c>>>0;c=c+1|0;if(d){continue}break}break b}b=f+h|0;c=q[e+280>>2];f:{if(c){f=q[e+284>>2]-f|0;if(f>>>0>>0){break b}g=c-1|0;c=f-g|0;if(!c){break b}i=d+1|0;j=o[d|0];d=b;while(1){b=eq(d,j,c);if(!b){break b}f=b+1|0;if(!ej(f,i,g)){break f}b=c+d|0;d=f;c=b-d|0;if(c){continue}break}break b}if(!h){break b}}d=q[a+8>>2];q[d+8>>2]=3;b=b-h|0;v[d>>3]=b+1|0;q[a+8>>2]=q[a+8>>2]+16;b=b+q[e+280>>2]|0;d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b=2;break a}q[e+20>>2]=0;d=kn(e+8|0,c,g);if(!d){break b}}if(b){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(c-h|0)+1|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d-h|0;q[a+8>>2]=q[a+8>>2]+16;a=q[e+20>>2];Fo(q[e+16>>2],a,131851);if((a|0)>=1){c=0;while(1){tr(e+8|0,c,0,0);c=c+1|0;if((a|0)!=(c|0)){continue}break}}b=a+2|0;break a}a=q[e+20>>2];b=c?a?a:1:a;Fo(q[e+16>>2],b,131851);if((b|0)<1){break a}a=0;while(1){tr(e+8|0,a,c,d);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=1}fi=e+288|0;return b}function uu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=x(0);f=fi-48|0;fi=f;a:{if(o[316292]&1){break a}if(!ui(316292)){break a}if(r[852367]){e=Ri(107600)}else{e=-1}q[79072]=e;ti(316292)}b:{if(o[316300]&1){break b}if(!ui(316300)){break b}if(r[852367]){e=Yi(106442,12)}else{e=0}q[79074]=e;ti(316300)}e=q[79072];c:{if((e|0)!=-1){Qi(f+32|0,e,106442,q[79074]);break c}q[f+32>>2]=0}e=1;d:{e:{g=q[a+308>>2];h=g+(b<<2)|0;if(q[h>>2]!=-2){d=q[q[a+304>>2]+1852>>2];i=q[d+8>>2]-q[d+12>>2]>>4;Xi(d,-1e4,q[a+320>>2]);bk(d);Xi(d,-1e4,q[h>>2]);Xi(d,-1e4,q[a+320>>2]);e=0;a=1;f:{g:{switch(b-1|0){case 1:Yj(d,q[c+64>>2],q[c+68>>2]);a=q[c+80>>2];h:{if(a){e=q[a+4>>2];dy(d,a,c+96|0);break h}if(r[852367]){e=To(q[c+64>>2],q[c+68>>2])}else{e=0}a=q[c+84>>2];if(a){zq(d,c+96|0,a);break h}ij(d,0,0)}Ml(d,c);a=4;break f;case 0:break g;default:break f}}j=u[c>>2];a=q[d+8>>2];q[a+8>>2]=3;v[a>>3]=j;q[d+8>>2]=q[d+8>>2]+16;a=2}q[f+28>>2]=0;c=Cq(d,0,q[g+20>>2],q[(b<<2)+254832>>2],e,f+28|0);i:{if(o[316308]&1){break i}if(!ui(316308)){break i}if(r[852367]){b=Ri(107600)}else{b=-1}q[79076]=b;ti(316308)}b=q[79076];j:{if((b|0)!=-1){Qi(f+8|0,b,c,q[f+28>>2]);break j}q[f+8>>2]=0}k:{if(!Wl(d,a,0)){e=1;break k}e=-1;if(q[d+8>>2]-q[d+12>>2]>>4!=(i|0)){break e}}if(q[f+8>>2]){Pi(f+8|0)}a=q[d+8>>2];q[a+8>>2]=0;q[d+8>>2]=a+16;bk(d);if(q[d+8>>2]-q[d+12>>2]>>4!=(i|0)){break d}}if(q[f+32>>2]){Pi(f+32|0)}fi=f+48|0;return e}J(104348,104245,2837,107607);G()}J(104348,104245,2845,107607);G()}function g4(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=fi-48|0;fi=d;qi(q[a+8>>2],255,q[a+12>>2]<<2);q[a+28>>2]=-1;q[a+32>>2]=0;q[a+20>>2]=q[a+16>>2];f=a+8|0;c=q[b+4>>2]-q[b>>2]>>6;wz(f,w(c,3)>>>1|0,c);e=q[b>>2];if((e|0)!=q[b+4>>2]){c=0;while(1){e=(c<<6)+e|0;xz(f,q[e>>2],e);c=c+1|0;e=q[b>>2];if(c>>>0>2]-e>>6>>>0){continue}break}}c=q[a+92>>2];if(c){ki(c);ki(q[a+96>>2]);ki(q[a+124>>2])}u[a+40>>2]=u[b+16>>2];u[a+44>>2]=u[b+20>>2];u[a+48>>2]=u[b+24>>2];u[a+52>>2]=u[b+28>>2];u[a+56>>2]=u[b+32>>2];u[a+60>>2]=u[b+36>>2];u[a+64>>2]=u[b+40>>2];u[a+68>>2]=u[b+44>>2];u[a+72>>2]=u[b+48>>2];u[a+76>>2]=u[b+52>>2];u[a+80>>2]=u[b+56>>2];o[a+141|0]=r[b+89|0];e=q[b+60>>2];q[a+84>>2]=e;f=q[b+64>>2];q[a+88>>2]=f;q[a+92>>2]=q[b+72>>2];c=q[b+76>>2];q[a+128>>2]=c;g=q[b+80>>2];q[a+132>>2]=g;q[a+136>>2]=q[b+84>>2];h=r[b+88|0];i=(f>>>0)/(g>>>0)|0;q[a+120>>2]=i;j=(e>>>0)/(c>>>0)|0;q[a+116>>2]=j;o[a+140|0]=h;q[a+124>>2]=xi(w(c,g)<<2);c=0;a:{b:{c:{d:{e:{b=r[b+68|0];switch(b-1|0){case 0:break b;case 2:break c;case 3:break e;default:break d}}c=3;break b}mi(4,101221,101228,0);ki(Ny(a));break a}c=2}q[a+104>>2]=c;g=w(i,j)<<2;h=xi(g);q[a+96>>2]=h;qi(h,0,g);q[d+28>>2]=0;o[d+31|0]=0;o[d+32|0]=0;o[d+33|0]=0;o[d+34|0]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+12>>2]=1;q[d+16>>2]=1;q[d+4>>2]=5;q[d+8>>2]=2;q[d>>2]=c;p[d+30>>1]=e;p[d+32>>1]=f;b=w(b,w(f&65535,e&65535));c=xi(b);q[d+24>>2]=b;q[d+20>>2]=c;qi(c,0,b);ji[q[74963]](q[a>>2],d);ki(q[d+20>>2])}fi=d+48|0}function ZP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=q[a+68>>2];a:{b:{if(!e){break b}c:{switch(q[a+128>>2]-20|0){case 0:o[e+528|0]=1;break b;case 2:break c;default:break a}}b=-27648;d=q[a+120>>2];g=r[d+4|0]<<8|r[d+5|0];c=q[e+476>>2];if(g>>>0>>0){break a}h=g-c|0;if(h>>>0>3){break b}j=q[a+168>>2];i=j-12|0;d:{e:{f=e+w(h,12)|0;g=f;c=r[f+532|0];if(!(c&1)){f=c&253;c=((cC(a)|0)==1)<<1;o[g+532|0]=f|c;if(j>>>0>16384){break b}f=q[e+524>>2];if(f>>>0>32768){break a}d=i+12|0;d=c>>>1|0?((i>>>3|0)+d|0)+((i&7)!=0)|0:d;if(d>>>0>32768-f>>>0){if(h){break b}b=-27136;if(_P(a,d)){break a}}c=w(h,12);k=c+e|0;b=Oj(1,d);q[k+536>>2]=b;if(b){break e}return-32512}b=q[f+536>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break d}break b}q[(c+e|0)+540>>2]=d;c=q[a+120>>2];f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=f>>>16;o[b+3|0]=f>>>24;c=r[c+4|0]|r[c+5|0]<<8;o[b+4|0]=c;o[b+5|0]=c>>>8;b=q[k+536>>2];o[b+6|0]=0;o[b+7|0]=0;o[b+8|0]=0;b=q[k+536>>2];c=r[b+1|0]|r[b+2|0]<<8;o[b+9|0]=c;o[b+10|0]=c>>>8;o[b+11|0]=r[b+3|0];c=r[g+532|0]|1;o[g+532|0]=c;q[e+524>>2]=q[e+524>>2]+d}if(c&4){break b}e=q[(e+w(h,12)|0)+536>>2];a=q[a+120>>2];d=r[a+8|0]|(r[a+7|0]<<8|r[a+6|0]<<16);b=r[a+11|0]|(r[a+10|0]<<8|r[a+9|0]<<16);si((e+d|0)+12|0,a+12|0,b);a=g;f=a;c=r[a+532|0];f:{if(c&2){e=e+j|0;aQ(e,d,b);a=r[g+532|0]&-5|!bQ(e,i)<<2;break f}a=c|4}o[f+532|0]=a}b=0}return b}function Pr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=fi-16|0;fi=d;h=q[a>>2];f=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);g=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);i=q[a+4>>2]^(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24));q[d>>2]=i;b=q[a+8>>2]^(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24));q[d+4>>2]=b;e=q[a+12>>2]^(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24));q[d+8>>2]=e;f=q[a+16>>2]^(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24));q[d+12>>2]=f;a=a+20|0;if(h){f=d|8;while(1){bn(i,b,q[a>>2],q[a+4>>2],f);bn(q[d+8>>2],q[d+12>>2],q[a+8>>2],q[a+12>>2],d);bn(q[d>>2],q[d+4>>2],q[a+16>>2],q[a+20>>2],f);bn(q[d+8>>2],q[d+12>>2],q[a+24>>2],q[a+28>>2],d);bn(q[d>>2],q[d+4>>2],q[a+32>>2],q[a+36>>2],f);bn(q[d+8>>2],q[d+12>>2],q[a+40>>2],q[a+44>>2],d);h=h-1|0;if(h){e=q[d>>2];b=q[d+4>>2]^owa(e&q[a+48>>2],1);q[d+4>>2]=b;i=e^(q[a+52>>2]|b);q[d>>2]=i;e=q[d+12>>2];g=q[d+8>>2]^(e|q[a+60>>2]);q[d+8>>2]=g;q[d+12>>2]=owa(g&q[a+56>>2],1)^e;a=a- -64|0;continue}break}b=q[d+4>>2];i=q[d>>2];f=q[d+12>>2];e=q[d+8>>2];a=a+48|0}g=q[a>>2];h=q[a+4>>2];j=q[a+8>>2];a=q[a+12>>2]^b;o[c+15|0]=a;b=i^j;o[c+11|0]=b;f=f^h;o[c+7|0]=f;e=e^g;o[c+3|0]=e;o[c+14|0]=a>>>8;o[c+13|0]=a>>>16;o[c+12|0]=a>>>24;o[c+10|0]=b>>>8;o[c+9|0]=b>>>16;o[c+8|0]=b>>>24;o[c+6|0]=f>>>8;o[c+5|0]=f>>>16;o[c+4|0]=f>>>24;o[c+2|0]=e>>>8;o[c+1|0]=e>>>16;o[c|0]=e>>>24;fi=d+16|0;return 0}function o3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=fi-32|0;fi=f;a:{if(o[842708]&1){break a}if(!ui(842708)){break a}if(r[852367]){c=Ri(136624)}else{c=-1}q[210676]=c;ti(842708)}b:{if(o[842716]&1){break b}if(!ui(842716)){break b}if(r[852367]){c=Yi(136628,6)}else{c=0}q[210678]=c;ti(842716)}c=q[210676];c:{if((c|0)!=-1){Qi(f,c,136628,q[210678]);break c}q[f>>2]=0}d:{if(o[842724]&1){break d}if(!ui(842724)){break d}if(r[852367]){c=Ri(136624)}else{c=-1}q[210680]=c;ti(842724)}e:{if(o[842732]&1){break e}if(!ui(842732)){break e}if(r[852367]){c=Yi(136812,7)}else{c=0}q[210682]=c;ti(842732)}c=q[210680];f:{if((c|0)!=-1){Qi(f+16|0,c,136812,q[210682]);break f}q[f+16>>2]=0}g:{h:{e=q[a+4>>2];d=q[a>>2];c=e-d|0;if(!c){break h}if((e|0)!=(d|0)){e=d-e|0;g=((c|0)<(e|0)?e:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(g,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){NF(a,q[(c<<2)+d>>2],b);c=c+1|0;if((e|0)==(c|0)){break h}d=q[a>>2];if(q[a+4>>2]-d>>2>>>0>c>>>0){continue}break}}break g}if(q[f+16>>2]){Pi(f+16|0)}h=q[a+4>>2];d=q[a>>2];e=h-d|0;c=0;i:{if(!e){break i}j:{if((d|0)!=(h|0)){c=d-h|0;g=((c|0)>(e|0)?c:e)>>>2|0;c=(e|0)>-1?e:-1;c=w(g,(c|0)<1?c:1);h=c>>>0>1?c:1;c=0;e=0;while(1){d=q[(c<<2)+d>>2];k:{if(q[d+136>>2]==q[d+132>>2]){break k}g=q[d+92>>2];if(!g){break k}ji[g|0](q[d+96>>2],q[d+100>>2]);e=1}c=c+1|0;if((h|0)==(c|0)){break j}d=q[a>>2];if(q[a+4>>2]-d>>2>>>0>c>>>0){continue}break}}break g}c=e?4:0}if(q[f>>2]){Pi(f)}fi=f+32|0;return c}J(136820,136831,454,136801);G()}function Ru(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!b|(b|0)==(c|0)){break b}c:{d:{e:{d=b&65535;e=q[a+32>>2];if(d>>>0<(q[a+36>>2]-e|0)/576>>>0){if(s[(w(d,576)+e|0)+552>>1]!=(b>>>16|0)){break e}g=w(d,576)+e|0;if(s[g+554>>1]!=(b&65535)){break d}Oq(a,g);j=w(d,576)+e|0;f:{g:{h:{if(c){h=q[a+36>>2];f=q[a+32>>2];i=(h-f|0)/576|0;b=c&65535;if(i>>>0<=b>>>0){break a}b=w(b,576)+f|0;c=s[b+560>>1];if((c|0)==65535){c=a+350|0;a=65535;break g}if(c>>>0>>0){break h}break a}c=a+350|0;b=s[a+350>>1];if((b|0)==65535){p[(w(d,576)+e|0)+560>>1]=65535;break c}h=q[a+36>>2];f=q[a+32>>2];if(b>>>0>=(h-f|0)/576>>>0){break a}p[(w(d,576)+e|0)+560>>1]=65535;if(!f){break c}b=w(b,576)+f|0;break f}a=w(c,576)+f|0;c=a+564|0;a=s[a+554>>1]}p[j+560>>1]=a}a=s[b+554>>1];i:{if((a|0)==s[c>>1]){p[c>>1]=s[g+554>>1];p[(w(d,576)+e|0)+558>>1]=65535;a=s[b+554>>1];break i}c=s[b+558>>1];if((c|0)==65535){break i}if(c>>>0>=(h-f|0)/576>>>0){break a}p[(w(c,576)+f|0)+556>>1]=s[g+554>>1];p[(w(d,576)+e|0)+558>>1]=c}p[b+558>>1]=s[g+554>>1];p[(w(d,576)+e|0)+556>>1]=a;return}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}b=w(d,576)+e|0;p[b+556>>1]=65535;p[b+558>>1]=s[a+348>>1];b=s[a+348>>1];j:{if((b|0)==65535){b=s[g+554>>1];break j}c=q[a+32>>2];if(b>>>0>=(q[a+36>>2]-c|0)/576>>>0){break a}c=c+w(b,576)|0;b=s[g+554>>1];p[c+556>>1]=b}p[a+348>>1]=b;if(s[a+350>>1]!=65535){break b}p[a+350>>1]=s[g+554>>1]}return}J(186773,186599,447,186784);G()}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;e=fi-32|0;fi=e;a:{if(q[a>>2]==(b|0)){b=0;break a}b=xT(a,b,c+236|0);if(b){break a}b=q[a>>2];g=q[c+244>>2]+q[c+240>>2]|0;if(b>>>0>>0){h=c+288|0;i=c+284|0;j=c+292|0;k=c+296|0;l=c+248|0;m=c+312|0;n=c+264|0;o=e+16|4;while(1){q[e+24>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=0;b=Lj(a,g,e+28|0,48);if(b){b=b-9472|0;break a}b=q[a>>2]+q[e+28>>2]|0;d=Lj(a,b,o,6);if(d){b=d-9472|0;break a}q[e+16>>2]=6;d=q[a>>2];q[e+24>>2]=d;q[a>>2]=d+q[e+20>>2];d=LD(a,b,e+12|0);if(!((d|0)==-98|!d)){b=d-9472|0;break a}d=Lj(a,b,e+28|0,4);if(d){b=d-9472|0;break a}if((b|0)!=(q[a>>2]+q[e+28>>2]|0)){b=-9574;break a}f=gS(e+16|0);d=-46;b:{if(!f){break b}q[e+8>>2]=q[f+16>>2];d=0}c:{if(d){q[a>>2]=b;if(!q[e+12>>2]){break c}b=-9570;break a}f=q[c+280>>2];d=q[e+8>>2];if(f&d){b=-9472;break a}q[c+280>>2]=d|f;d:{e:{f:{g:{h:{i:{if((d|0)<=255){switch(d-4|0){case 0:break d;case 4:break g;case 28:break i;default:break f}}if((d|0)==65536){break h}if((d|0)==2048){break e}if((d|0)!=256){break f}b=eN(a,b,i,h);if(!b){break c}break a}b=XM(a,b,l);if(!b){break c}break a}b=ZM(a,b,m);if(!b){break c}break a}b=dN(a,b,n);if(!b){break c}if((b|0)!=-8320){break a}if(!q[e+12>>2]){break c}break a}if(q[e+12>>2]){b=-8320;break a}q[a>>2]=b;break c}b=aN(a,b,k);if(!b){break c}break a}b=_M(a,b,j);if(b){break a}}b=q[a>>2];if(g>>>0>b>>>0){continue}break}}b=(b|0)==(g|0)?0:-9574}fi=e+32|0;return b}function EN(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=x(0),h=0,i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),o=x(0),r=0,t=x(0),v=0,w=0,z=0,B=0,E=0,F=x(0),H=x(0);h=b;k=q[h+48>>2];v=q[h+52>>2];g=u[h+40>>2];w=q[h+4>>2];z=q[h+44>>2];r=w+(z<<1)|0;p[r>>1]=s[r-2>>1];o=u[h+32>>2];j=u[h+28>>2];l=q[a+4>>2];B=q[a>>2];i=u[h+20>>2];m=u[h+16>>2];g=x(g*x(+(kwa(c<<31,c>>>1|0,d)>>>0)+ +(ii>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;r=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;r=0}b:{c:{d:{if(!f){d=0;break d}F=x(x(1)/x(f>>>0));t=j;g=x(o-j);j=x(l>>>0);o=x(g/j);n=x(B>>>0);g=x(t+x(o*n));o=x(x(o+g)-g);t=m;m=x(x(i-m)/j);j=x(t+x(m*n));m=x(x(m+j)-j);d=0;a=0;while(1){h=d;d=(d<<1)+w|0;l=p[d>>1];d=p[d+2>>1];i=x(F*x(a|0));n=x(+x(g+x(o*i))*1.5707963267948966);t=rl(n);B=a<<3;E=B+e|0;H=x(j+x(m*i));i=x(x(+(k>>>0)+ +(v>>>0)*4294967296)*x(4.656612873077393e-10));i=x(H*x(x(x(x(1)-i)*x(l|0))+x(i*x(d|0))));u[E>>2]=u[E>>2]+x(t*i);n=nk(n);d=(B|4)+e|0;u[d>>2]=u[d>>2]+x(n*i);d=k;k=c;l=d+k|0;d=v+r|0;d=l>>>0>>0?d+1|0:d;k=l&2147483647;v=0;d=((d&2147483647)<<1|l>>>31)+h|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=k;q[b+52>>2]=v;if(h>>>0>z>>>0){break c}if(d>>>0>z>>>0){break b}}Kk(w,(d<<1)+w|0,z-d<<1);q[b+44>>2]=q[b+44>>2]-d;return}J(202287,201413,903,202324);G()}J(202342,201413,906,202324);G()}function hG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0;i=fi-16|0;fi=i;a:{if(!q[a+1712>>2]){break a}g=q[a+1724>>2];h=q[a+572>>2];if(g>>>0>h+2>>>0){j=q[b>>2];k=q[e>>2];l=q[e+4>>2];m=q[e+8>>2];n=q[e+12>>2];p=q[c+4>>2];s=q[c+8>>2];t=q[c>>2];c=d;g=q[c+8>>2];e=q[c+12>>2];d=q[c>>2];c=q[c+4>>2];f=q[a+592>>2]+(h<<5)|0;h=q[b+8>>2];b=q[b+4>>2];o[f+4|0]=b;o[f+5|0]=b>>>8;o[f+6|0]=b>>>16;o[f+7|0]=b>>>24;o[f+8|0]=h;o[f+9|0]=h>>>8;o[f+10|0]=h>>>16;o[f+11|0]=h>>>24;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=128;o[f+15|0]=63;o[f+16|0]=d;o[f+17|0]=d>>>8;o[f+18|0]=d>>>16;o[f+19|0]=d>>>24;o[f+20|0]=c;o[f+21|0]=c>>>8;o[f+22|0]=c>>>16;o[f+23|0]=c>>>24;o[f+24|0]=g;o[f+25|0]=g>>>8;o[f+26|0]=g>>>16;o[f+27|0]=g>>>24;o[f+28|0]=e;o[f+29|0]=e>>>8;o[f+30|0]=e>>>16;o[f+31|0]=e>>>24;o[f+32|0]=t;o[f+33|0]=t>>>8;o[f+34|0]=t>>>16;o[f+35|0]=t>>>24;o[f+36|0]=p;o[f+37|0]=p>>>8;o[f+38|0]=p>>>16;o[f+39|0]=p>>>24;o[f+40|0]=s;o[f+41|0]=s>>>8;o[f+42|0]=s>>>16;o[f+43|0]=s>>>24;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=128;o[f+47|0]=63;o[f+56|0]=m;o[f+57|0]=m>>>8;o[f+58|0]=m>>>16;o[f+59|0]=m>>>24;o[f+60|0]=n;o[f+61|0]=n>>>8;o[f+62|0]=n>>>16;o[f+63|0]=n>>>24;o[f+48|0]=k;o[f+49|0]=k>>>8;o[f+50|0]=k>>>16;o[f+51|0]=k>>>24;o[f+52|0]=l;o[f+53|0]=l>>>8;o[f+54|0]=l>>>16;o[f+55|0]=l>>>24;o[f|0]=j;o[f+1|0]=j>>>8;o[f+2|0]=j>>>16;o[f+3|0]=j>>>24;q[a+572>>2]=q[a+572>>2]+2;break a}if(r[316128]){break a}q[i>>2]=g;mi(3,100681,100848,i);o[316128]=1}fi=i+16|0}function u5(a){var b=0,c=0,d=0,e=0,f=0;if(q[a+1712>>2]){ji[q[74897]](q[a+1716>>2],0,0,0);b=q[a+284>>2];if(b){q[a+280>>2]=0;d=1}c=q[a+572>>2];if(c){q[a+568>>2]=b;d=d+1|0;b=b+c|0}c=q[a+860>>2];if(c){q[a+856>>2]=b;d=d+1|0;b=b+c|0}c=q[a+1148>>2];if(c){q[a+1144>>2]=b;d=d+1|0;b=b+c|0}ji[q[74897]](q[a+1716>>2],b<<5,0,0);c=Qo(a,d);d=Po(a,700,a+32|0);b=a+1728|0;q[b>>2]=q[b>>2]+1;e=d<<6;b=c;d=q[a+284>>2];if(d){ji[q[74898]](q[a+1716>>2],q[a+280>>2]<<5,d<<5,q[a+304>>2]);q[c+32>>2]=a+32;q[c+36>>2]=0;q[c+16>>2]=16777214;p[c+40>>1]=s[c+40>>1]&65472|32;q[c+20>>2]=q[a+1728>>2];q[c+24>>2]=q[q[a+188>>2]+80>>2];p[c+40>>1]=e|s[c+40>>1]&49215;b=c+48|0}d=q[a+572>>2];if(d){ji[q[74898]](q[a+1716>>2],q[a+568>>2]<<5,d<<5,q[a+592>>2]);q[b+32>>2]=a+320;q[b+36>>2]=0;q[b+16>>2]=16777214;p[b+40>>1]=s[b+40>>1]&65472|32;q[b+20>>2]=q[a+1728>>2];q[b+24>>2]=q[q[a+476>>2]+80>>2];p[b+40>>1]=e|s[b+40>>1]&49215;b=b+48|0}d=q[a+860>>2];if(d){ji[q[74898]](q[a+1716>>2],q[a+856>>2]<<5,d<<5,q[a+880>>2]);q[b+32>>2]=a+608;q[b+36>>2]=0;q[b+16>>2]=16777214;p[b+40>>1]=s[b+40>>1]&65472|32;q[b+20>>2]=q[a+1728>>2];q[b+24>>2]=q[q[a+764>>2]+80>>2];p[b+40>>1]=e|s[b+40>>1]&49215;b=b+48|0}d=a;f=q[a+1148>>2];if(f){ji[q[74898]](q[a+1716>>2],q[a+1144>>2]<<5,f<<5,q[a+1168>>2]);q[b+32>>2]=a+896;q[b+36>>2]=0;q[b+16>>2]=16777214;p[b+40>>1]=s[b+40>>1]&65472|32;q[b+20>>2]=q[a+1728>>2];q[b+24>>2]=q[q[a+1052>>2]+80>>2];p[b+40>>1]=e|s[b+40>>1]&49215;b=b+48|0}Oo(d,c,b)}}function ut(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-32|0;fi=e;d=q[a+212>>2];vr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,q[a+192>>2]+1|0);f=q[a+224>>2];c=q[a+188>>2];g=q[a+220>>2];o[c|0]=g;o[c+1|0]=g>>>8;o[c+2|0]=g>>>16;o[c+3|0]=g>>>24;o[c+4|0]=f;o[c+5|0]=f>>>8;o[c+6|0]=f>>>16;o[c+7|0]=f>>>24;o[q[a+196>>2]]=d>>>8;o[q[a+196>>2]+1|0]=d;a:{if(q[a+76>>2]){c=q[a+200>>2];q[e+12>>2]=c;q[e+16>>2]=(q[a+184>>2]-c|0)+16749;q[e+24>>2]=q[a+212>>2];q[e+20>>2]=q[a+204>>2]-c;c=q[a+188>>2];f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);q[e>>2]=f;q[e+4>>2]=c;vr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,e+9|0);o[e+8|0]=q[a+208>>2];c=q[a>>2];c=aU(q[a+76>>2],e,q[c+24>>2],q[c+28>>2]);if(c){break a}c=-27648;if(q[e+20>>2]){break a}q[a+208>>2]=r[e+8|0];d=q[e+24>>2];q[a+212>>2]=d;o[q[a+196>>2]]=d>>>8;o[q[a+196>>2]+1|0]=q[e+24>>2]}c=d;d=q[a+192>>2];f=c+(q[a+200>>2]-d|0)|0;if(r[q[a>>2]+184|0]&2){c=fC(a);if((c|0)<0){break a}g=c>>>0>>0;c=-27648;if(g){break a}}o[d|0]=q[a+208>>2];q[a+216>>2]=f+q[a+216>>2];q[a+192>>2]=f+q[a+192>>2];pr(a,q[a+76>>2]);c=8;b:{while(1){f=c;d=q[a>>2];if((q[d+184>>2]&2)>>>0>=c>>>0){break b}c=f-1|0;g=c+a|0;d=r[g+220|0]+1|0;o[g+220|0]=d;if((d|0)!=(d&255)){continue}break}d=q[a>>2]}c=-27520;if((f|0)==(q[d+184>>2]&2)){break a}if(!(!(q[d+184>>2]&2)|b)){c=gC(a);if((c|0)<0){break a}b=!c}if((b|0)==1){c=tp(a);if(c){break a}}c=0}fi=e+32|0;return c}function Tv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:while(1){i=b-4|0;b:while(1){d=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-d|0;e=a>>2;switch(e|0){case 4:break j;case 2:break k;case 0:case 1:break d;case 3:break g;case 5:break i;default:break h}}a=b-4|0;if(t[a>>2]>=t[d>>2]){break d}ol(d,a);return}ew(d,d+4|0,d+8|0,b-4|0);return}aw(d,d+4|0,d+8|0,d+12|0,b-4|0);return}if((a|0)<=123){xN(d,b);return}g=((e|0)/2<<2)+d|0;l:{if((a|0)>=3997){a=(e|0)/4<<2;h=aw(d,a+d|0,g,a+g|0,i);break l}h=_p(d,g,i)}a=i;if(t[d>>2]>=t[g>>2]){while(1){a=a-4|0;if((d|0)==(a|0)){f=d+4|0;if(t[d>>2]>2]){break e}while(1){if((f|0)==(i|0)){break d}if(t[d>>2]>2]){ol(f,i);f=f+4|0;break e}else{f=f+4|0;continue}}}if(t[a>>2]>=t[g>>2]){continue}break}ol(d,a);h=h+1|0}e=d+4|0;if(e>>>0>=a>>>0){break f}while(1){f=e;e=e+4|0;if(t[f>>2]>2]){continue}while(1){a=a-4|0;if(t[a>>2]>=t[g>>2]){continue}break}if(a>>>0>>0){e=f;break f}else{ol(f,a);g=(f|0)==(g|0)?a:g;h=h+1|0;continue}}}_p(d,d+4|0,b-4|0);break d}if(!((e|0)==(g|0)|t[g>>2]>=t[e>>2])){ol(e,g);h=h+1|0}if(!h){f=IL(d,e);a=e+4|0;if(IL(a,b)){b=e;a=d;if(!f){continue a}break d}if(f){continue b}}if((e-d|0)<(b-e|0)){Tv(d,e,c);a=e+4|0;continue b}Tv(e+4|0,b,c);b=e;a=d;continue a}a=i;if((f|0)==(a|0)){break d}while(1){e=f;f=e+4|0;if(t[d>>2]>=t[e>>2]){continue}while(1){a=a-4|0;if(t[d>>2]>2]){continue}break}if(a>>>0<=e>>>0){d=e;continue c}else{ol(e,a);continue}}}break}break}break}}function Hja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;a:{d=q[a+64>>2];b=q[d+8>>2];b:{if((b|0)==q[d+4>>2]){q[f>>2]=(b-q[d>>2]|0)/240;mi(4,51183,51191,f);a=-1e3;break b}g=m6(d);b=q[d+16>>2];if(g>>>0>=q[d+20>>2]-b>>3>>>0){break a}b=q[b+(g<<3)>>2];c=q[d>>2];if(b>>>0>=(q[d+4>>2]-c|0)/240>>>0){break a}b=qi(c+w(b,240)|0,0,240);q[b>>2]=q[a>>2];c=q[a+20>>2];e=q[a+16>>2];u[b+24>>2]=u[a+24>>2];q[b+16>>2]=e;q[b+20>>2]=c;u[b+32>>2]=u[a+32>>2];u[b+36>>2]=u[a+36>>2];u[b+40>>2]=u[a+40>>2];u[b+44>>2]=u[a+44>>2];c=q[a+60>>2];q[b+192>>2]=0;q[b+188>>2]=c;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;o[b+176|0]=0;o[b+177|0]=0;o[b+178|0]=0;o[b+179|0]=0;o[b+180|0]=0;o[b+181|0]=0;o[b+182|0]=0;o[b+183|0]=0;o[b+168|0]=0;o[b+169|0]=0;o[b+170|0]=0;o[b+171|0]=0;o[b+172|0]=0;o[b+173|0]=0;o[b+174|0]=0;o[b+175|0]=0;o[b+160|0]=0;o[b+161|0]=0;o[b+162|0]=0;o[b+163|0]=0;o[b+164|0]=0;o[b+165|0]=0;o[b+166|0]=0;o[b+167|0]=0;p[b+232>>1]=s[a+76>>1];q[b+148>>2]=0;q[b+56>>2]=1065353216;q[b+48>>2]=1065353216;q[b+52>>2]=1065353216;q[b+184>>2]=0;q[b+72>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;p[b+234>>1]=s[b+234>>1]|260;av(b,q[c>>2],q[c+4>>2],x(0),x(1));e=q[b+196>>2];if(!e){e=q[c+8>>2]}b=d;c=r[b+100|0];b=(c&2?0:(q[q[e+64>>2]+72>>2]!=0)<<2)|c;o[d+100|0]=b;o[d+100|0]=(c|r[q[e+64>>2]+72|0]<<1)&2|b&253;q[q[a+72>>2]>>2]=g;a=0}fi=f+16|0;return a|0}J(52519,51871,447,51574);G()}function JJ(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=fi-112|0;fi=i;q[e>>2]=0;a:{b:{c:{f=Ij(a,q[c+8>>2],i+108|0);d:{if(f){Ui(c);break d}f=s5(i+8|0);if(o[f+12|0]&1){break c}vi(q[c+4>>2],64,f,f+8|0,f+4|0);j=q[c+4>>2];m=q[f>>2];if(j>>>0>q[f+8>>2]-m>>6>>>0){break b}q[f+4>>2]=(j<<6)+m;if(j){n=q[c>>2];while(1){if((j|0)==(k|0)){break a}g=(k<<6)+m|0;h=w(k,48)+n|0;q[g>>2]=q[h>>2];u[g+8>>2]=u[h+8>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=q[h+20>>2];u[g+12>>2]=u[h+12>>2];l=q[h+4>>2];o[g+32|0]=0;q[g+4>>2]=l;l=q[h+36>>2];q[g+40>>2]=q[h+32>>2];q[g+44>>2]=l;l=q[h+44>>2];q[g+48>>2]=q[h+40>>2];q[g+52>>2]=l;k=k+1|0;if((k|0)!=(j|0)){continue}break}}u[f+16>>2]=u[c+12>>2];u[f+20>>2]=u[c+16>>2];u[f+24>>2]=u[c+20>>2];u[f+28>>2]=u[c+24>>2];u[f+36>>2]=u[c+36>>2];u[f+32>>2]=u[c+32>>2];u[f+40>>2]=u[c+40>>2];u[f+44>>2]=u[c+44>>2];u[f+52>>2]=u[c+88>>2];u[f+56>>2]=u[c+92>>2];u[f+48>>2]=u[c+84>>2];q[f+60>>2]=q[c+48>>2];q[f+64>>2]=q[c+52>>2];o[f+68|0]=q[c+72>>2];q[f+76>>2]=q[c+64>>2];q[f+80>>2]=q[c+68>>2];q[f+84>>2]=q[c+96>>2];o[f+88|0]=q[c+56>>2];q[f+92>>2]=q[c+28>>2];o[f+89|0]=q[c+100>>2];g=q[c+80>>2];h=xi(g);q[f+72>>2]=h;si(h,q[c+76>>2],g);e:{if(!d){d=l5(q[b+2208>>2],f);break e}g4(d,f);Di(a,q[d+4>>2])}q[d+4>>2]=q[i+108>>2];Ui(c);q[e>>2]=d;f:{if(o[f+12|0]&1){break f}a=q[f>>2];if(!a){break f}ki(a)}f=0}fi=i+112|0;return f}J(56002,56077,461,56156);G()}J(56168,56077,474,56187);G()}J(55905,55917,89,55991);G()}function pR(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;q[d+12>>2]=b;a=a+b|0;b=nq(d+12|0,a,d+4|0);a:{if(b){b=b-15616|0;break a}if(q[d+4>>2]-1>>>0>2){b=-15616;break a}b=Lj(d+12|0,a,d+8|0,48);if(b){break a}e=q[d+12>>2]+q[d+8>>2]|0;b=Lj(d+12|0,e,d+8|0,6);if(b){break a}b=-14720;if(q[d+8>>2]!=7){break a}f=q[d+12>>2];if(ej(f,149826,7)){break a}q[d+12>>2]=f+7;f=c+4|0;b=It(d+12|0,e,f);if(b){b=b-15616|0;break a}q[c+88>>2]=ul(f);b=-15718;if((e|0)!=q[d+12>>2]){break a}b=Lj(d+12|0,a,d+8|0,48);if(b){break a}b:{e=q[d+12>>2]+q[d+8>>2]|0;b=Lj(d+12|0,e,d+8|0,4);if(!b){b=Vm(c+16|0,q[d+12>>2],q[d+8>>2]);if(!b){break b}}b=b-15616|0;break a}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];c:{b=Lj(d+12|0,e,d+8|0,4);if(!b){b=Vm(c+28|0,q[d+12>>2],q[d+8>>2]);if(!b){break c}}b=b-15616|0;break a}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];d:{if(Lj(d+12|0,e,d+8|0,3)){g=q[d+12>>2];break d}g=q[d+12>>2]+q[d+8>>2]|0;q[d+12>>2]=g}b=-15718;if((e|0)!=(g|0)){break a}b=Lj(d+12|0,a,d+8|0,4);if(b){b=b-15616|0;break a}b=c+40|0;e=ex(c,b,q[d+12>>2],q[d+8>>2]);if(e){if((e|0)!=-20096){b=-15616;break a}if((r[q[d+12>>2]]&254)!=2){b=-15616;break a}if(q[d+8>>2]!=(Cm(f)+1|0)){b=-15616;break a}if(Vm(b,q[d+12>>2]+1|0,q[d+8>>2]-1|0)){b=-15616;break a}if(gk(c+52|0,r[q[d+12>>2]]-2|0)){b=-15616;break a}b=-15616;if(gk(c- -64|0,1)){break a}}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];b=a;a=c+76|0;b=It(d+12|0,b,a);if(b){b=b-15616|0;break a}q[c+92>>2]=ul(a);b=0}fi=d+16|0;return b}function Yea(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;c=fi-80|0;fi=c;l=q[a+8>>2]-q[a+12>>2]>>4;g=Pj(a,1);i=ii;b=uy(a,2);if(q[b+4>>2]==2){b=q[b>>2]+4|0}j=q[b>>2];d=gA(a,q[74461],g,i,71381);e=q[d+4>>2];q[c+76>>2]=e;q[c+72>>2]=0;a:{b:{b=Zq(e,c+72|0);c:{if(b){g=Ei(g,i);if(b>>>0<=8){d=q[(b<<2)+266896>>2]}else{d=138552}q[c+56>>2]=b;q[c+52>>2]=d;q[c+48>>2]=g;b=ni(a,71465,c+48|0);break c}q[c+68>>2]=0;b=Zq(j,c+68|0);if(b){if(b>>>0<=8){d=q[(b<<2)+266896>>2]}else{d=138552}q[c+36>>2]=b;q[c+32>>2]=d;b=ni(a,71508,c+32|0);break c}d:{e:{f:{g:{b=q[c+68>>2];if((b|0)!=q[c+72>>2]){e=q[q[d>>2]+4>>2];k=xi(w(e,24));if(e){b=0;while(1){f=q[d>>2];if(t[f+4>>2]<=b>>>0){break b}h=w(b,24)+k|0;f=q[f>>2]+w(b,52)|0;q[h>>2]=li(q[f>>2]);q[h+4>>2]=ii;q[h+8>>2]=q[f+4>>2];o[h+12|0]=q[f+8>>2];b=b+1|0;if((e|0)!=(b|0)){continue}break}b=q[c+68>>2]}b=uv(b,k,e&255,c+76|0);ki(k);if(!b){break g}if(b>>>0<=8){d=q[(b<<2)+266896>>2]}else{d=138552}q[c+20>>2]=b;q[c+16>>2]=d;b=ni(a,71562,c+16|0);break c}b=pL(e,j);if(b){break f}break d}b=pL(q[c+76>>2],j);if(!b){break e}Ts(q[c+76>>2])}if(b>>>0<=8){d=q[(b<<2)+266896>>2]}else{d=138552}q[c+4>>2]=b;q[c>>2]=d;b=ni(a,71601,c);break c}Ts(q[d+4>>2]);q[d+4>>2]=q[c+76>>2];q[d+16>>2]=q[c+68>>2]}GA(q[c+76>>2]);tv(q[d+4>>2],d+20|0);q[d+8>>2]=g;q[d+12>>2]=i;b=0;if(q[a+8>>2]-q[a+12>>2]>>4!=(l|0)){break a}}fi=c+80|0;return b|0}J(71243,71653,99,71335);G()}J(70748,70769,806,71643);G()}function CE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-1072|0;fi=e;d=q[a+8>>2]-q[a+12>>2]>>4;q[b>>2]=q[b>>2]&-49;a:{b:{if((d|0)==1){g=c+1|0;f=st(a,b);break b}Fo(a,d+19|0,131111);d=d-2|0;g=c;while(1){i=d;c:{if((ri(a,g)|0)==3){f=am(a,g);if(!f){d=pj(b);DB(d,b);Bi(a,0,0);d=(d|0)!=-1;break c}d=e+32|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;d=1024;while(1){d:{d=d>>>0>f>>>0?f:d;h=Yk(Pk(e+32|0),1,d,b);q[e+32>>2]=h+q[e+32>>2];f=f-h|0;if((d|0)!=(h|0)){break d}if(f){continue}}break}bm(e+32|0);d=1;if(!f){break c}d=(wl(a,-1)|0)!=0;break c}d=_i(a,g,0);if(!(r[d|0]==42?d:0)){Mj(a,g,131130)}e:{switch(o[d+1|0]-97|0){case 13:q[e+16>>2]=e+32;d=0;if((QZ(b,e+16|0)|0)!=1){break c}j=v[e+32>>3];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=j;q[a+8>>2]=q[a+8>>2]+16;d=1;break c;case 0:d=e+32|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;f=-1;d=1024;while(1){f:{d=d>>>0>f>>>0?f:d;h=Yk(Pk(e+32|0),1,d,b);q[e+32>>2]=h+q[e+32>>2];f=f-h|0;if((d|0)!=(h|0)){break f}if(f){continue}}break}bm(e+32|0);if(f){wl(a,-1)}d=1;break c;default:a=Mj(a,g,131145);break a;case 11:break e}}d=st(a,b)}f=d;g=g+1|0;if(!f){break b}d=i-1|0;if(i){continue}break}}if(q[b+76>>2]<=-1){b=q[b>>2]}else{b=q[b>>2]}if(b>>>5&1){b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[e>>2]=Uk(b);nj(a,131085,e);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3;break a}if(!f){oi(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}a=g-c|0}fi=e+1072|0;return a}function hv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=fi-32|0;fi=f;a:{b:{c:{d:{e:{d=s[a+2076>>1];f:{if((d|0)==s[a+2078>>1]){q[f>>2]=d;mi(4,7277,7625,f);d=0;break f}g=q[b+4>>2];if(g){h=q[b>>2];d=0;while(1){i=q[(w(d,80)+h|0)+16>>2];if(!i){break e}e=(p[i+98>>1]&1)+e|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=Ci((e<<2)+160|0);q[d+88>>2]=-1;q[d+84>>2]=b;q[d+72>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+56>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=1065353216;q[d+32>>2]=1065353216;q[d+36>>2]=1065353216;q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=1065353216;q[d>>2]=0;q[d+4>>2]=0;q[d+80>>2]=0;b=q[72441];q[d+96>>2]=q[72440];q[d+100>>2]=b;an(d+104|0,0);q[d+152>>2]=e;p[d+146>>1]=32767;q[d+80>>2]=a;q[d+148>>2]=q[d+148>>2]&-2147483648|2147450879;b=r[a+4276|0];p[d+144>>1]=32767;e=q[d+140>>2]&-2147483648|2147450879;g=e;h=q[d+136>>2]&61440|b<<7&512|2147418112;q[d+136>>2]=h;q[d+140>>2]=e;c=q[a+2072>>2];if(!c){break d}b=s[a+2078>>1];if(b>>>0>=s[a+2076>>1]){break c}p[a+2078>>1]=b+1;e=s[c+(b<<1)>>1];p[d+144>>1]=32767;q[d+136>>2]=h&2147480064;q[d+140>>2]=g&-65536|e&32767;b=q[a+2056>>2];if(e>>>0>=q[a+2060>>2]-b>>2>>>0){break b}b=b+(e<<2)|0;if(q[b>>2]){break a}q[b>>2]=d;lv(a,d)}fi=f+32|0;return d}q[f+20>>2]=c;q[f+16>>2]=d;mi(4,7277,9899,f+16|0);J(9954,7150,658,9960);G()}J(12515,12401,151,12522);G()}J(12526,12401,152,12522);G()}J(12475,10090,447,9406);G()}J(7702,7150,694,7747);G()}function Er(a){var b=0,c=0,d=0,e=0;d=q[a+4>>2];if(!d){return 0}e=q[a+8>>2];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:{while(1){a=q[(c<<2)+e>>2];if(a&1){return b}E:{if(a&2){a=b|1;break E}if(a&4){break D}if(a&8){break C}if(a&16){break B}if(a&32){break A}if(a&64){break z}if(a&128){break y}if(a&256){break x}if(a&512){break w}if(a&1024){break v}if(a&2048){break u}if(a&4096){break t}if(a&8192){break s}if(a&16384){break r}if(a&32768){break q}if(a&65536){break p}if(a&131072){break o}if(a&262144){break n}if(a&524288){break m}if(a&1048576){break l}if(a&2097152){break k}if(a&4194304){break j}if(a&8388608){break i}if(a&16777216){break h}if(a&33554432){break g}if(a&67108864){break f}if(a&134217728){break e}if(a&268435456){break d}if(a&536870912){break c}if(a&1073741824){break b}if((a|0)<0){break a}b=b+32|0;a=0;c=c+1|0;if(d>>>0>c>>>0){continue}}break}return a}return(b|1)+1|0}return b|3}return(b|3)+1|0}return(b|3)+2|0}return(b|3)+3|0}return b|7}return(b|7)+1|0}return(b|7)+2|0}return(b|7)+3|0}return(b|7)+4|0}return(b|7)+5|0}return(b|7)+6|0}return(b|7)+7|0}return b|15}return(b|15)+1|0}return(b|15)+2|0}return(b|15)+3|0}return(b|15)+4|0}return(b|15)+5|0}return(b|15)+6|0}return(b|15)+7|0}return(b|15)+8|0}return(b|15)+9|0}return(b|15)+10|0}return(b|15)+11|0}return(b|15)+12|0}return(b|15)+13|0}return(b|15)+14|0}return(b|15)+15|0}return b|31}function Eq(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((a|0)<=-8705){if((a|0)<=-9729){if((a|0)<=-10241){if((a|0)<=-10497){if((a|0)==-12288){break e}if((a|0)!=-10624){break c}return 168310}if((a|0)==-10496){break f}if((a|0)!=-10368){break c}return 168249}if((a|0)<=-9985){if((a|0)==-10240){break g}if((a|0)!=-10112){break c}return 168180}if((a|0)==-9984){break h}if((a|0)!=-9856){break c}return 168114}if((a|0)<=-9217){if((a|0)<=-9473){if((a|0)==-9728){break i}if((a|0)!=-9600){break c}return 168048}if((a|0)==-9472){break j}if((a|0)!=-9344){break c}return 167977}if((a|0)<=-8961){if((a|0)==-9216){break k}if((a|0)!=-9088){break c}return 167917}if((a|0)==-8960){break l}if((a|0)!=-8832){break c}return 167856}m:{n:{if((a|0)<=-8321){if((a|0)==-8704){break m}if((a|0)==-8576){break n}if((a|0)!=-8448){break c}return 167762}b=167340;o:{switch(a+82|0){case 14:return 167370;case 12:return 167401;case 10:return 167429;case 8:return 167459;case 6:return 167489;case 4:return 167517;case 2:return 167545;case 0:return 167572;case 15:return 167601;case 13:return 167634;case 11:return 167666;case 16:break b;case 9:break o;case 1:case 3:case 5:case 7:break c;default:break d}}return 167694}return 167791}return 167823}return 167888}return 167947}return 168012}return 168081}return 168144}return 168217}return 168279}return 168344}if((a|0)==-8320){break a}}b=168373}return b}return 167725}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;i=fi-16|0;fi=i;a:{b:{c:{d:{e:{if(d){d=rs(a,q[b>>2],0);if(d){break e}}q[c+4>>2]=b;d=Ij(a,q[b>>2],c);if(d){break e}d=Ij(a,q[b+12>>2],c+24|0);if(d){break e}if(q[q[c+24>>2]+104>>2]){mi(4,60358,60366,0);d=-15;break e}if(q[b+16>>2]==2){q[b+16>>2]=1}l=q[c>>2];j=-2147483648;k=-2147483648;a=2147483647;g=2147483647;d=q[b+8>>2];if(d){while(1){if(d>>>0<=e>>>0){break d}d=q[b+4>>2]+(e<<5)|0;q[d+16>>2]=li(q[d>>2]);q[d+20>>2]=ii;m=q[d+28>>2];if(m){n=q[d+24>>2];d=0;while(1){h=w(d,24)+n|0;f=q[h+4>>2];a=(a|0)<(f|0)?a:f;h=q[h>>2];g=(g|0)<(h|0)?g:h;f=f+1|0;j=(f|0)<(j|0)?j:f;f=h+1|0;k=(f|0)<(k|0)?k:f;d=d+1|0;if((m|0)!=(d|0)){continue}break}}d=q[b+8>>2];e=e+1|0;if(d>>>0>e>>>0){continue}break}}q[c+40>>2]=a;q[c+36>>2]=g;q[c+28>>2]=k-g;q[c+32>>2]=q[c+32>>2]&-2147483648|j-a&2147483647;f:{if(!q[l+68>>2]){break f}d=q[l+64>>2];q[i+8>>2]=0;if(o[c+20|0]&1){break c}b=q[b+8>>2];vi(b,4,c+8|0,c+16|0,c+12|0);e=q[c+8>>2];if(b>>>0>q[c+16>>2]-e>>2>>>0){break b}q[c+12>>2]=e+(b<<2);e=q[d+20>>2];u[i+4>>2]=x(x(t[d+24>>2])*x(.5))*x(a+j|0);u[i>>2]=x(x(e>>>0)*x(.5))*x(g+k|0);if(!b){break f}d=0;while(1){a=q[c+8>>2];if(q[c+12>>2]-a>>2>>>0<=d>>>0){break a}q[a+(d<<2)>>2]=0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}d=0}fi=i+16|0;return d}J(60538,60550,189,60583);G()}J(60594,60669,461,60748);G()}J(60760,60669,474,60779);G()}J(60787,60669,447,60583);G()}function nr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=fi-144|0;fi=f;e=qi(f,0,68);g=qi(a,0,1024);a:{b:{c:{if((c|0)>0){while(1){a=(r[b+d|0]<<2)+e|0;q[a>>2]=q[a>>2]+1;d=d+1|0;if((d|0)!=(c|0)){continue}break}q[e>>2]=0;d=q[e+4>>2];if((d|0)>2){break b}break c}q[e>>2]=0}if(q[e+12>>2]>8|q[e+8>>2]>=5|(q[e+16>>2]>16|q[e+20>>2]>32)){break b}if(q[e+24>>2]>64|q[e+28>>2]>128|(q[e+32>>2]>256|q[e+36>>2]>512)){break b}if(q[e+40>>2]>1024|q[e+44>>2]>2048|(q[e+48>>2]>4096|q[e+52>>2]>8192)){break b}if(q[e+56>>2]>16384|q[e+60>>2]>32768){break b}q[e+84>>2]=0;p[g+1126>>1]=0;p[g+1026>>1]=0;d:{if((d|0)<=2){f=1;a=d;while(1){i=f;q[((f<<2)+g|0)+1056>>2]=d<<16-f;f=f+1|0;if((f|0)==16){break d}h=f<<2;d=d<<1;q[h+(e+80|0)>>2]=d;h=q[e+h>>2];j=(f<<1)+g|0;k=a+k|0;p[j+1124>>1]=k;p[j+1024>>1]=d;a=h;d=a+d|0;if(!a|(d|0)<=2<>2]=65536;d=1;if((c|0)<1){break a}f=0;while(1){a=r[b+f|0];if(a){i=(e+80|0)+(a<<2)|0;h=q[i>>2];d=(a<<1)+g|0;d=(h-s[d+1024>>1]|0)+s[d+1124>>1]|0;o[(d+g|0)+1156|0]=a;p[((d<<1)+g|0)+1444>>1]=f;e:{if(a>>>0>9){break e}d=h>>>1&21845|h<<1&43690;d=d>>>2&13107|d<<2&52428;d=d>>>4&3855|d<<4&61680;d=(d<<8&65280|d>>>8)>>>16-a|0;if((d|0)>511){break e}j=a<<9|f;a=1<>1]=j;d=a+d|0;if((d|0)<512){continue}break}}q[i>>2]=h+1}d=1;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}q[212945]=154821;d=0}fi=e+144|0;return d}function wT(a,b,c,d){var e=0,f=0,g=0;e=fi-48|0;fi=e;q[b>>2]=4;q[c>>2]=4;q[d>>2]=20;f=-9058;a:{if(q[a>>2]!=48){break a}f=q[a+8>>2];q[e+44>>2]=f;a=q[a+4>>2];if(!a){f=0;break a}b:{c:{d:{g=a+f|0;a=Lj(e+44|0,g,e+40|0,160);if(a){if((a|0)!=-98){break d}a=q[e+44>>2];break b}a=q[e+44>>2]+q[e+40>>2]|0;f=XV(e+44|0,a,e+24|0);f=f?f-8960|0:0;if(f){break a}b=aD(e+24|0,b);if(!b){break c}f=b-8960|0;break a}f=a-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}if((a|0)==(g|0)){f=0;break a}e:{f:{a=Lj(e+44|0,g,e+40|0,161);g:{if(a){if((a|0)!=-98){break f}a=q[e+44>>2];break g}a=q[e+44>>2]+q[e+40>>2]|0;f=Pw(e+44|0,a,e+24|0,e+8|0);if(f){break a}f=-8366;if(q[e+28>>2]!=9){break a}if(ej(159580,q[e+32>>2],9)){break a}f=$M(q[e+8>>2],q[e+12>>2],q[e+16>>2],c);if(f){break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}if((a|0)==(g|0)){f=0;break a}h:{i:{j:{a=Lj(e+44|0,g,e+40|0,162);if(a){if((a|0)!=-98){break j}a=q[e+44>>2];break h}a=q[e+44>>2]+q[e+40>>2]|0;b=nq(e+44|0,a,d);if(!b){break i}f=b-8960|0;break a}f=a-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}f=0;if((a|0)==(g|0)){break a}a=Lj(e+44|0,g,e+40|0,163);k:{if(a){if((a|0)!=-98){break e}a=q[e+44>>2];break k}a=q[e+44>>2]+q[e+40>>2]|0;b=nq(e+44|0,a,e+4|0);if(b){f=b-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}f=-8960;if(q[e+4>>2]!=1){break a}}f=(a|0)==(g|0)?0:-9062;break a}f=a-8960|0;break a}f=a-8960|0}fi=e+48|0;return f}function Uw(a,b){var c=0,d=0,e=0,f=0;if(!(q[a+40>>2]|q[a+44>>2])){return-28928}c=-28928;a:{e=q[a+108>>2];if((q[a+100>>2]-e|0)+16749>>>0>>0){break a}if(!(r[q[a>>2]+184|0]&2)){c=0;d=q[a+136>>2];if(d>>>0>=b>>>0){break a}while(1){c=q[a+96>>2];b:{if(c){c=(ji[c|0](q[a+88>>2])|0)==2?-1:0;break b}c=0}if(c){return-26624}d=b-d|0;c=q[a+44>>2];c:{if(c){c=ji[c|0](q[a+48>>2],q[a+108>>2]+q[a+136>>2]|0,d,q[q[a>>2]+148>>2])|0;break c}c=ji[q[a+40>>2]](q[a+48>>2],q[a+108>>2]+q[a+136>>2]|0,d)|0}if(!c){return-29312}if((c|0)<0){break a}if(c>>>0>d>>>0){return-27648}d=q[a+136>>2]+c|0;q[a+136>>2]=d;c=0;if(b>>>0>d>>>0){continue}break}break a}if(!q[a+92>>2]|!q[a+96>>2]){break a}f=q[a+144>>2];if(f){c=-27648;d=q[a+136>>2];if(f>>>0>d>>>0){break a}c=d-f|0;q[a+136>>2]=c;if(c){Kk(e,e+f|0,c)}q[a+144>>2]=0}c=0;d=b;b=q[a+136>>2];if(d>>>0<=b>>>0){break a}c=-27648;if(b){break a}d:{b=q[a+96>>2];e:{if(b){b=(ji[b|0](q[a+88>>2])|0)==2?-1:0;break e}b=0}if(!b){e=q[a+108>>2];c=q[a+100>>2]-e|0;if(q[a+4>>2]!=16){b=q[a+68>>2]+488|0}else{b=q[a>>2]+148|0}d=c+16749|0;c=q[a+44>>2];f:{if(c){b=ji[c|0](q[a+48>>2],e,d,q[b>>2])|0;break f}b=ji[q[a+40>>2]](q[a+48>>2],e,d)|0}if(!b){return-29312}if((b|0)!=-26624){break d}}b=q[a+92>>2];if(b){ji[b|0](q[a+88>>2],0,0)}c=-26624;if(q[a+4>>2]==16){break a}if(QP(q[a>>2],q[a+68>>2])){break a}a=gq(a);return a?a:-26880}if((b|0)<0){return b}q[a+136>>2]=b;return 0}return c}function ir(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0);d=u[b+4>>2];g=u[b+32>>2];h=u[b>>2];k=u[b+36>>2];v=x(x(d*g)-x(h*k));l=u[b+8>>2];m=u[b+40>>2];w=x(x(l*g)-x(h*m));i=u[b+48>>2];n=u[b+28>>2];f=x(x(d*m)-x(l*k));o=u[b+24>>2];p=u[b+12>>2];q=u[b+44>>2];y=x(x(p*k)-x(d*q));e=u[b+20>>2];z=x(x(p*m)-x(l*q));F=x(x(x(n*f)+x(o*y))-x(e*z));r=u[b+56>>2];s=u[b+52>>2];A=x(x(e*r)-x(o*s));t=u[b+60>>2];B=x(x(n*s)-x(e*t));C=x(x(n*r)-x(o*t));G=x(x(x(p*A)+x(l*B))-x(d*C));j=u[b+16>>2];H=x(x(x(s*z)-x(f*t))-x(y*r));I=x(x(x(k*C)-x(q*A))-x(m*B));c=x(x(1)/x(x(i*F)+x(x(g*G)+x(x(j*H)+x(h*I)))));u[a+60>>2]=x(x(x(o*v)-x(e*w))-x(j*f))*c;D=x(x(e*i)-x(j*s));E=x(x(o*i)-x(j*r));u[a+56>>2]=x(x(x(l*D)-x(d*E))-x(h*A))*c;u[a+52>>2]=x(x(i*f)+x(x(w*s)-x(v*r)))*c;u[a+48>>2]=x(x(g*A)+x(x(k*E)-x(m*D)))*c;f=e;e=x(x(p*g)-x(h*q));u[a+44>>2]=x(x(x(f*e)-x(n*v))-x(j*y))*c;f=d;d=x(x(n*i)-x(j*t));u[a+40>>2]=x(x(x(f*d)-x(p*D))-x(h*B))*c;u[a+36>>2]=x(x(i*y)+x(x(v*t)-x(s*e)))*c;u[a+32>>2]=x(x(g*B)+x(x(q*D)-x(k*d)))*c;u[a+28>>2]=x(x(j*z)+x(x(n*w)-x(o*e)))*c;u[a+24>>2]=x(x(h*C)+x(x(p*E)-x(l*d)))*c;u[a+20>>2]=x(x(x(e*r)-x(w*t))-x(i*z))*c;u[a+16>>2]=x(x(x(m*d)-x(q*E))-x(g*C))*c;u[a+12>>2]=F*c;u[a+8>>2]=G*c;u[a+4>>2]=H*c;u[a>>2]=I*c}function Uv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:while(1){i=b-1|0;b:while(1){d=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-d|0;switch(a|0){case 4:break j;case 2:break k;case 0:case 1:break d;case 3:break g;case 5:break i;default:break h}}a=b-1|0;if(r[a|0]>=r[d|0]){break d}dl(d,a);return}fw(d,d+1|0,d+2|0,b-1|0);return}bw(d,d+1|0,d+2|0,d+3|0,b-1|0);return}if((a|0)<=30){yN(d,b);return}g=(a>>>1|0)+d|0;l:{if((a|0)>=1e3){a=a>>>2|0;h=bw(d,a+d|0,g,a+g|0,i);break l}h=$p(d,g,i)}a=i;if(r[d|0]>=r[g|0]){while(1){a=a-1|0;if((d|0)==(a|0)){f=d+1|0;if(r[d|0]=r[g|0]){continue}break}dl(d,a);h=h+1|0}e=d+1|0;if(e>>>0>=a>>>0){break f}while(1){f=e;e=e+1|0;if(r[f|0]=r[g|0]){continue}break}if(a>>>0>>0){e=f;break f}else{dl(f,a);g=(f|0)==(g|0)?a:g;h=h+1|0;continue}}}$p(d,d+1|0,b-1|0);break d}if(!((e|0)==(g|0)|r[g|0]>=r[e|0])){dl(e,g);h=h+1|0}if(!h){f=JL(d,e);a=e+1|0;if(JL(a,b)){b=e;a=d;if(!f){continue a}break d}if(f){continue b}}if((e-d|0)<(b-e|0)){Uv(d,e,c);a=e+1|0;continue b}Uv(e+1|0,b,c);b=e;a=d;continue a}a=i;if((f|0)==(a|0)){break d}while(1){e=f;f=e+1|0;if(r[d|0]>=r[e|0]){continue}while(1){a=a-1|0;if(r[d|0]>>0<=e>>>0){d=e;continue c}else{dl(e,a);continue}}}break}break}break}}function Zna(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,t=0,u=0,v=0,x=0;g=fi-32|0;fi=g;a:{if(o[290060]&1){break a}if(!ui(290060)){break a}if(r[852367]){d=Ri(7503)}else{d=-1}q[72514]=d;ti(290060)}b:{if(o[290068]&1){break b}if(!ui(290068)){break b}if(r[852367]){d=Yi(8881,13)}else{d=0}q[72516]=d;ti(290068)}d=q[72514];c:{if((d|0)!=-1){Qi(g+16|0,d,8881,q[72516]);break c}q[g+16>>2]=0}d:{e:{if(c){while(1){f:{i=w(k,960)+b|0;g:{if(r[i+953|0]&3?0:!(q[i>>2]|q[i+4>>2])){break g}e=q[a+4200>>2];d=q[a+4196>>2];f=e-d|0;if(!f){break g}l=f>>2;h=l-1|0;if(h>>>0>=l>>>0){break e}e=d-e|0;e=((f|0)<(e|0)?e:f)>>>2|0;f=(f|0)>-1?f:-1;f=w(e,(f|0)<1?f:1);v=f>>>0>1?f:1;f=0;while(1){h:{m=q[(h<<2)+d>>2];t=q[m+84>>2];u=q[t+4>>2];if(u){h=0;n=0;d=0;while(1){j=q[(q[t>>2]+w(h,80)|0)+16>>2];if(!j){break d}e=q[j+68>>2];i:{if(!e){break i}x=q[j+96>>2];q[g+4>>2]=i;q[g>>2]=m;q[g+8>>2]=q[j+16>>2];q[g+12>>2]=((n<<2)+m|0)+156&x<<15>>31;e=ji[e|0](g)|0;if((e|0)==1){d=e;break i}if((e|0)==-1e3){break f}}n=(p[j+98>>1]&1)+n|0;h=h+1|0;if((u|0)!=(h|0)){continue}break}if((d|0)==1){break h}}d=f+1|0;if((d|0)==(v|0)){break g}e=l-f|0;f=d;h=e-2|0;d=q[a+4196>>2];if(h>>>0>2]-d>>2>>>0){continue}break e}break}d=qi(i,0,960);p[d+952>>1]=s[d+952>>1]|1024}k=k+1|0;if((k|0)!=(c|0)){continue}}break}}if(q[g+16>>2]){Pi(g+16|0)}fi=g+32|0;return}J(12475,10090,447,9406);G()}J(7920,7150,2689,8881);G()}function Dk(a,b,c){var d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0);d=u[c+28>>2];e=u[c+20>>2];f=u[c+24>>2];g=u[c+44>>2];h=u[c+36>>2];i=u[c+40>>2];j=u[b+52>>2];k=u[b+20>>2];l=u[b+36>>2];m=u[b+56>>2];n=u[b+24>>2];o=u[b+40>>2];p=u[c+60>>2];q=u[b+60>>2];r=u[c+52>>2];s=u[b+28>>2];t=u[c+56>>2];v=u[b+44>>2];w=u[c+16>>2];y=u[c+32>>2];z=u[b+4>>2];A=u[b+8>>2];B=u[c+48>>2];C=u[b+12>>2];D=u[b>>2];E=u[c>>2];F=u[b+16>>2];G=u[c+4>>2];H=u[b+32>>2];I=u[c+8>>2];J=u[b+48>>2];K=u[c+12>>2];u[a>>2]=x(x(x(D*E)+x(F*G))+x(H*I))+x(J*K);u[a+60>>2]=x(x(x(C*B)+x(s*r))+x(v*t))+x(q*p);u[a+56>>2]=x(x(x(A*B)+x(n*r))+x(o*t))+x(m*p);u[a+52>>2]=x(x(x(z*B)+x(k*r))+x(l*t))+x(j*p);u[a+48>>2]=x(x(x(D*B)+x(F*r))+x(H*t))+x(J*p);u[a+44>>2]=x(x(x(C*y)+x(s*h))+x(v*i))+x(q*g);u[a+40>>2]=x(x(x(A*y)+x(n*h))+x(o*i))+x(m*g);u[a+36>>2]=x(x(x(z*y)+x(k*h))+x(l*i))+x(j*g);u[a+32>>2]=x(x(x(D*y)+x(F*h))+x(H*i))+x(J*g);u[a+28>>2]=x(x(x(C*w)+x(s*e))+x(v*f))+x(q*d);u[a+24>>2]=x(x(x(A*w)+x(n*e))+x(o*f))+x(m*d);u[a+20>>2]=x(x(x(z*w)+x(k*e))+x(l*f))+x(j*d);u[a+16>>2]=x(x(x(D*w)+x(F*e))+x(H*f))+x(J*d);u[a+12>>2]=x(x(x(E*C)+x(G*s))+x(I*v))+x(K*q);u[a+8>>2]=x(x(x(E*A)+x(G*n))+x(I*o))+x(K*m);u[a+4>>2]=x(x(x(E*z)+x(G*k))+x(I*l))+x(K*j)}function bs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{xwa(+a);f=uwa(1)|0;uwa(0)|0;d:{e:{b=f;f=b&2147483647;if(f>>>0>=1078159482){xwa(+a);f=uwa(1)|0;f=f&2147483647;if((f|0)==2146435072&(uwa(0)|0)!=0|f>>>0>2146435072){break a}if((b|0)<0){return-1}if(a>709.782712893384^1){break e}return a*8.98846567431158e+307}if(f>>>0<1071001155){break c}if(f>>>0>1072734897){break e}if((b|0)>0?1:(b|0)>=0){b=1;c=1.9082149292705877e-10;d=a+ -.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;d=a+.6931471803691238;break d}xwa(.5);b=uwa(1)|0;h=uwa(0)|0;xwa(+a);f=uwa(1)|0;uwa(0)|0;vwa(0,h|0);vwa(1,b&2147483647|f&-2147483648);c=a*1.4426950408889634+ +wwa();f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}e=+(b|0);c=e*1.9082149292705877e-10;d=a+e*-.6931471803691238}a=d;a=a-c;c=d-a-c;break b}if(f>>>0<1016070144){break a}b=0}g=a*.5;e=a*g;d=e*(e*(e*(e*(e*-2.0109921818362437e-7+4008217827329362e-21)+ -793650757867488e-19)+.0015873015872548146)+ -.03333333333333313)+1;i=d;d=3-g*d;d=e*((i-d)/(6-a*d));if(!b){return a-(a*d-e)}c=a*(d-c)-c-e;g:{switch(b+1|0){case 0:return(a-c)*.5+ -.5;case 2:if(!(a<-.25^1)){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}vwa(0,0);vwa(1,b+1023<<20);e=+wwa();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*8.98846567431158e+307:a*e)+ -1}vwa(0,0);vwa(1,1023-b<<20);d=+wwa();b=(b|0)<20;a=((b?1-d:a-(c+d))+(b?a-c:1))*e}return a}function gJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fi-288|0;fi=e;a:{b:{c:{d:{e:{f:{d=q[c+8>>2];if(d>>>0>=33){q[e+4>>2]=a;d=32;q[e>>2]=32;mi(4,57096,57104,e);break f}if(d){break f}d=0;break e}a=0;while(1){if(t[c+8>>2]<=a>>>0){break d}f=(e+16|0)+(a<<3)|0;q[f>>2]=li(q[q[c+4>>2]+(a<<2)>>2]);q[f+4>>2]=ii;a=a+1|0;if((d|0)!=(a|0)){continue}break}}gt(e+16|0,(e+16|0)+(d<<3)|0,e+280|0);Hy(b,d,e+16|0);q[b+104>>2]=q[c+20>>2];f=q[c+28>>2];k=q[c+24>>2];g=q[c+36>>2];if(g){h=q[c+32>>2];d=0;while(1){a=h+(d<<4)|0;i=li(q[a>>2]);j=ii;su(b,i,j,q[a+4>>2]);cG(b,i,j,q[a+8>>2],q[a+12>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(f){d=0;while(1){a=k+(d<<4)|0;g=li(q[a>>2]);h=ii;su(b,g,h,q[a+4>>2]);cG(b,g,h,q[a+8>>2],q[a+12>>2]);d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=q[c+44>>2];if(d){f=q[c+40>>2];a=0;while(1){bG(b,li(q[f+(a<<2)>>2]),ii,a,1,1,0,0);a=a+1|0;if((d|0)!=(a|0)){continue}break}}d=q[c+52>>2];if(d){f=q[c+48>>2];c=0;while(1){a=f+w(c,20)|0;k=li(q[a>>2]);g=ii;h=q[a+4>>2];if((h|0)>=3){break a}i=q[a+8>>2];if((i|0)>=3){break a}j=q[a+12>>2];if((j|0)>=6){break c}a=q[a+16>>2];if((a|0)>=2){break b}bG(b,k,g,c,q[(h<<2)+57456>>2],q[(i<<2)+57456>>2],q[(j<<2)+57568>>2],q[(a<<2)+57568>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}}fi=e+288|0;return}J(57276,57288,107,57366);G()}J(57468,57216,51,57546);G()}J(57592,57216,57,57656);G()}J(57377,57216,45,57441);G()}function rX(a,b,c){var d=0,e=0,f=0,g=0;d=-1;a:{b:{c:{switch(q[c+8>>2]){case 3:f=v[c>>3];d:{if(y(f)<2147483648){d=~~f;break d}d=-2147483648}if(!((d|0)<1|+(d|0)!=f|(d|0)>q[b+28>>2])){d=d-1|0;break a}d=q[b+16>>2];if(f==0){break b}g=q[b+16>>2];xwa(+f);e=uwa(1)|0;d=uwa(0)|0;e=d+e|0;d=g+((e>>>0)%((-1<>>0)<<5)|0;break b;case 4:d=q[b+16>>2]+((q[q[c>>2]+8>>2]&(-1<>2]+((q[c>>2]&(-1<>2]+(t[c>>2]%((-1<>>0)<<5)|0;break b;case 0:break a;default:break c}}d=q[b+16>>2]+(t[c>>2]%((-1<>>0)<<5)|0}while(1){e:{if(!Do(d+16|0,c)){if(q[d+24>>2]!=11|q[c+8>>2]<4|q[d+16>>2]!=q[c>>2]){break e}}d=q[b+28>>2]+(d-q[b+16>>2]>>5)|0;break a}d=q[d+28>>2];if(d){continue}break}d=0;Ck(a,128015,0)}g=d+1|0;e=q[b+28>>2];f:{g:{while(1){a=d;d=d+1|0;if((e|0)<=(d|0)){break g}if(!q[(q[b+12>>2]+(d<<4)|0)+8>>2]){continue}break}q[c+8>>2]=3;v[c>>3]=a+2|0;a=q[b+12>>2]+(d<<4)|0;b=q[a+4>>2];q[c+16>>2]=q[a>>2];q[c+20>>2]=b;break f}d=(e|0)>(g|0)?0:g-e|0;e=1<>2];while(1){if(q[(a+(d<<5)|0)+8>>2]){d=d<<5;a=d+a|0;e=q[a+20>>2];q[c>>2]=q[a+16>>2];q[c+4>>2]=e;q[c+8>>2]=q[a+24>>2];a=d+q[b+16>>2]|0;b=q[a+4>>2];q[c+16>>2]=q[a>>2];q[c+20>>2]=b;break f}d=d+1|0;if((e|0)>(d|0)){continue}break}}return 0}q[c+24>>2]=q[a+8>>2];return 1}function Aw(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=fi-16|0;fi=j;l=q[b+16>>2];m=r[b+7|0];k=q[b+28>>2];if((k|0)<(c|0)){e=b;a:{if(c+1>>>0<=268435455){h=dj(a,q[b+12>>2],k<<4,c<<4);break a}h=Rj(a)}q[e+12>>2]=h;e=q[b+28>>2];if((e|0)<(c|0)){while(1){q[(h+(e<<4)|0)+8>>2]=0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}q[b+28>>2]=c}uC(a,b,d);if((c|0)<(k|0)){q[b+28>>2]=c;e=c;while(1){f=e+1|0;g=q[b+12>>2]+(e<<4)|0;if(q[g+8>>2]){b:{c:{d:{if(t[b+28>>2]>e>>>0){e=g;break d}i=+(f|0);if(f){e=q[b+16>>2];xwa(+i);h=uwa(1)|0;d=uwa(0)|0;n=e;e=h;h=d+e|0;e=n+((h>>>0)%((-1<>>0)<<5)|0}else{e=q[b+16>>2]}while(1){if(v[e+16>>3]==i?q[e+24>>2]==3:0){break d}e=q[e+28>>2];if(e){continue}break}break c}if((e|0)!=126472){break b}i=+(f|0)}q[j+8>>2]=3;v[j>>3]=i;e=sp(a,b,j)}d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;q[e+8>>2]=q[g+8>>2]}e=f;if((k|0)!=(e|0)){continue}break}d=b;e:{if(c+1>>>0<=268435455){c=dj(a,q[b+12>>2],k<<4,c<<4);break e}c=Rj(a)}q[d+12>>2]=c}h=1<>2]){g=f+16|0;d=Zr(b,g);o[b+6|0]=0;if((d|0)==126472){f:{g:{switch(q[f+24>>2]){case 0:Ck(a,127977,0);break f;case 3:break g;default:break f}}i=v[g>>3];if(i==i){break f}Ck(a,127996,0)}d=sp(a,b,g)}g=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=g;q[d+8>>2]=q[f+8>>2]}d=(c|0)>1;c=e;if(d){continue}break}}if((l|0)!=128040){dj(a,l,h<<5,0)}fi=j+16|0}function yx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-112|0;fi=f;a:{if(!(r[a+56|0]&2)){d=q[a+20>>2];break a}g=q[a+32>>2];c=g;e=q[a+68>>2];b:{if(!e){break b}c=g;if(!r[a+57|0]){break b}c=q[a+20>>2];h=q[c+8>>2];d=q[a+8>>2];q[f+28>>2]=-1;q[f+8>>2]=1;q[f+104>>2]=(c-q[a+40>>2]|0)/24;if((q[a+28>>2]-d|0)<=320){c=q[a+44>>2];Ym(a,(c|0)<20?c+20|0:c<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;ji[e|0](a,f+8|0);o[a+57|0]=1;c=q[a+32>>2];q[q[a+20>>2]+8>>2]=c+(h-g|0);q[a+8>>2]=(d-g|0)+c}d=q[a+20>>2];c:{if(r[q[q[d+4>>2]>>2]+6|0]){break c}e=r[a+56|0];if(!(e&2)){break c}while(1){h=q[d+20>>2];q[d+20>>2]=h-1;if(!h){break c}h=q[a+68>>2];if(!(!h|!r[a+57|0])){e=q[a+8>>2];i=q[d+8>>2];q[f+104>>2]=0;q[f+28>>2]=-1;q[f+8>>2]=4;if((q[a+28>>2]-e|0)<=320){d=q[a+44>>2];Ym(a,(d|0)<20?d+20|0:d<<1)}e=e-c|0;q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;ji[h|0](a,f+8|0);o[a+57|0]=1;h=i-c|0;d=q[a+20>>2];c=q[a+32>>2];q[d+8>>2]=h+c;q[a+8>>2]=c+e;e=r[a+56|0]}if(e&2){continue}break}}b=(b-g|0)+c|0}c=d-24|0;q[a+20>>2]=c;g=q[d+16>>2];d=q[d+4>>2];q[a+12>>2]=q[c>>2];q[a+24>>2]=q[c+12>>2];d:{if(!g){break d}c=g;while(1){if(t[a+8>>2]>b>>>0){e=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=e;q[d+8>>2]=q[b+8>>2];d=d+16|0;b=b+16|0;c=c-1|0;if(c){continue}break d}break}if((c|0)<1){break d}while(1){q[d+8>>2]=0;d=d+16|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}q[a+8>>2]=d;fi=f+112|0;return g+1|0}function pL(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;g=fi-32|0;fi=g;f=q[210707];d=0;a:{if(!a){break a}c=q[q[f>>2]+((a&65535)<<2)>>2];d=0;if(!c){break a}d=s[c+16>>1]==(a>>>16|0)?c:0}b:{if(!b){break b}c=q[q[f>>2]+((b&65535)<<2)>>2];if(!c){break b}i=s[c+16>>1]==(b>>>16|0)?c:0}c=8;j=r[i+20|0];c:{if((j|0)!=r[d+20|0]){break c}d:{if(!j){break d}l=q[i+4>>2];k=q[d+4>>2];c=0;while(1){e=c<<4;h=e+l|0;m=q[h>>2];e=e+k|0;n=q[h+4>>2];if(!((m|0)!=q[e>>2]|(n|0)!=q[e+4>>2]|q[h+8>>2]!=q[e+8>>2]|(r[h+12|0]!=r[e+12|0]|r[h+13|0]!=r[e+13|0]))){c=c+1|0;if((j|0)!=(c|0)){continue}break d}break}d=Ei(m,n);f=c<<4;b=f+l|0;i=q[b+8>>2];h=o[b+12|0];a=138736;e:{if(h>>>0>8){break e}a=q[(h<<2)+266932>>2]}h=r[b+13|0];e=Ei(q[e>>2],q[e+4>>2]);f=f+k|0;j=q[f+8>>2];f=o[f+12|0];b=138736;f:{if(f>>>0>8){break f}b=q[(f<<2)+266932>>2]}q[g+28>>2]=r[((c<<4)+k|0)+13|0];q[g+24>>2]=b;q[g+20>>2]=j;q[g+16>>2]=e;q[g+12>>2]=h;q[g+8>>2]=a;q[g+4>>2]=i;q[g>>2]=d;mi(4,138814,138819,g);c=9;break c}d=t[i+12>>2]>t[d+12>>2];c=d?4:3;if(d|!a){break c}c=3;e=q[f>>2];d=q[e+((a&65535)<<2)>>2];if(!d|s[d+16>>1]!=(a>>>16|0)){break c}a=w(q[d+8>>2],q[d+12>>2]);d=q[d>>2];a=ej(a+d|0,138944,16);c=a?1:3;if(a|!b){break c}c=3;a=q[e+((b&65535)<<2)>>2];if(!a|s[a+16>>1]!=(b>>>16|0)){break c}c=1;b=q[a>>2];a=w(q[a+8>>2],q[a+12>>2]);if(ej(b+a|0,138944,16)){break c}si(d,b,a);c=0}fi=g+32|0;return c}function z2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=fi-160|0;fi=c;b=em(a,1);a:{b:{c:{d:{if((b|0)!=q[210276]){if((b|0)==q[210277]){break d}if((b|0)==q[210278]){break c}q[c+144>>2]=120688;q[c+140>>2]=120672;q[c+136>>2]=120656;q[c+132>>2]=122254;q[c+128>>2]=120720;a=ni(a,122636,c+128|0);break a}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;ni(a,120787,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(e*e)+x(f*f))+x(d*d))));break b}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];f:{g:{if(e!=e|f!=f){break g}d=u[b+8>>2];if(d!=d){break g}g=u[b+12>>2];if(g==g){break f}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;ni(a,120877,c+32|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))));break b}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];h:{i:{if(e!=e|f!=f){break i}d=u[b+8>>2];if(d!=d){break i}g=u[b+12>>2];if(g==g){break h}}d=u[b+8>>2];g=u[b+12>>2];v[c+96>>3]=f;v[c+112>>3]=g;v[c+104>>3]=d;v[c+88>>3]=e;q[c+80>>2]=1;ni(a,120971,c+80|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))))}q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+160|0;return a|0}function c4(a){var b=0,c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;b=q[a+5172>>2];c=b;d=q[a+5168>>2];if(b|d){$m(d,c)}b=q[a+7364>>2];if(b){fz(b)}b=q[a+7368>>2];if(b){M7(b)}b=q[a+5140>>2];if(b){Tn(b)}c=q[a+7412>>2];if(c){b=q[c>>2];a:{if(b){y3(b);c=q[a+7412>>2];if(!c){break a}}b=q[c+4>>2];if(b){Ui(b)}b=q[c+8>>2];if(b){Ui(b)}ki(c)}q[a+7412>>2]=0}b=q[a+7408>>2];if(b){By(b);b=q[a+7408>>2];if(b){c=q[b+4>>2];if(c){Ui(c)}c=q[b+8>>2];if(c){Ui(c)}ki(b)}q[a+7408>>2]=0}b=q[a>>2];b:{c:{if(!q[b+24>>2]){break c}mi(4,24355,25554,0);b=q[a>>2];d=q[b+4>>2];if(!d){break c}while(1){c=q[q[b>>2]+(f<<2)>>2];if((c|0)!=-1){while(1){c=q[b+8>>2]+w(c,48)|0;d=Ei(q[c>>2],q[c+4>>2]);q[e+4>>2]=q[c+36>>2];q[e>>2]=d;mi(4,24355,27063,e);c=q[c+40>>2];if((c|0)!=-1){continue}break}d=q[b+4>>2]}f=f+1|0;if(f>>>0>>0){continue}break}b=q[a>>2];if(!b){break b}}d:{if(o[b+28|0]&1){break d}c=q[b+8>>2];if(c){ki(c)}c=q[b>>2];if(!c){break d}ki(c)}ki(b)}b=q[a+4>>2];if(b){e:{if(o[b+28|0]&1){break e}c=q[b+8>>2];if(c){ki(c)}c=q[b>>2];if(!c){break e}ki(c)}ki(b)}b=q[a+8>>2];if(b){f:{if(o[b+28|0]&1){break f}c=q[b+8>>2];if(c){ki(c)}c=q[b>>2];if(!c){break f}ki(c)}ki(b)}b=q[a+12>>2];if(b){g:{if(o[b+12|0]&1){break g}c=q[b>>2];if(!c){break g}ki(c)}ki(b)}h:{if(o[a+7388|0]&1){break h}b=q[a+7376>>2];if(!b){break h}ki(b)}i:{if(o[a+5160|0]&1){break i}b=q[a+5148>>2];if(!b){break i}ki(b)}ki(a);fi=e+16|0}function zsa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=fi-1024|0;fi=h;while(1){a:{if(!Sta(b)){break a}a=0;d=aM(b);if(!d){vB(h,(d<<2)+h|0);break a}while(1){q[(a<<2)+h>>2]=xsa(a,b)<<8|a;a=a+1|0;if((d|0)!=(a|0)){continue}break}vB(h,(d<<2)+h|0);a=0;if(!d){break a}while(1){c=q[(a<<2)+h>>2];e=((b<<9)+302304|0)+((c&255)<<1)|0;o[e+1|0]=a;o[e|0]=c>>>8;a=a+1|0;if((d|0)!=(a|0)){continue}break}}b=b+1|0;if((b|0)!=21){continue}break}while(1){c=0;e=65535;while(1){j=w(c,86)+32|0;a=0;while(1){k=b;b=(j+w(a,42)>>>6|0)-f|0;i=w(b,b);g=i>>>0<(e&65535)>>>0;b=g?a:k;d=g?c:d;e=g?i:e;a=a+1|0;if((a|0)!=128){continue}break}c=c+1|0;if((c|0)!=128){continue}break}j=f<<3;a=j+313056|0;o[a+3|0]=b;o[a+2|0]=d;p[a>>1]=e;e=65535;c=0;while(1){i=w(c<<1|1,43)+32|0;a=0;while(1){k=b;b=(i+w(a<<1|1,21)>>>6|0)-f|0;l=w(b,b);g=l>>>0<(e&65535)>>>0;b=g?a:k;d=g?c:d;e=g?l:e;a=a+1|0;if((a|0)!=128){continue}break}c=c+1|0;if((c|0)!=128){continue}break}a=j+313056|0;p[a+4>>1]=e;o[a+7|0]=b;o[a+6|0]=d;f=f+1|0;if((f|0)!=256){continue}break}c=0;while(1){f=0;b=65535;while(1){j=w(f<<1|f>>>6,43)+32|0;a=0;while(1){d=(j+w(a<<1|a>>>6,21)>>>6|0)-c|0;i=w(d,d);d=i>>>0<(b&65535)>>>0;b=d?i:b;e=d?f:e;g=d?a:g;a=a+1|0;if((a|0)!=128){continue}break}f=f+1|0;if((f|0)!=128){continue}break}a=(c<<2)+315104|0;o[a+3|0]=g;o[a+2|0]=e;p[a>>1]=b;c=c+1|0;if((c|0)!=256){continue}break}fi=h+1024|0}function rG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=fi+ -64|0;fi=e;j=q[a+100>>2];o[e+43|0]=0;o[e+44|0]=0;o[e+45|0]=0;o[e+46|0]=0;o[e+47|0]=0;o[e+48|0]=0;o[e+49|0]=0;o[e+50|0]=0;q[e+52>>2]=0;q[e+56>>2]=0;q[e+28>>2]=1;q[e+32>>2]=1;q[e+36>>2]=0;q[e+40>>2]=0;o[e+50|0]=1;p[e+44>>1]=0;q[e+16>>2]=q[a+104>>2];q[e+20>>2]=q[a+108>>2];q[e+24>>2]=q[a+112>>2];g=q[a+116>>2];l=w(g,q[a+120>>2]);h=q[b+96>>2];m=q[a+96>>2];b=j;a:{b:{c:{while(1){d:{f=(b+1>>>0)%(l>>>0)|0;e:{k=(b<<2)+m|0;i=q[k>>2];f:{if(i){if((h|0)==q[i+56>>2]){break e}q[a+100>>2]=f;o[i+32|0]=0;break f}q[a+100>>2]=f}q[k>>2]=c;f=b;b=(b>>>0)/(g>>>0)|0;q[c+24>>2]=w(q[a+128>>2],f-w(b,g)|0);f=q[a+132>>2];q[c+56>>2]=h;o[c+32|0]=1;q[c+28>>2]=w(b,f);b=r[a+140|0]<<1;p[e+46>>1]=b+q[c+4>>2];p[e+48>>1]=q[c+20>>2]+(b+q[c+16>>2]|0);f=q[a+92>>2]+q[c+40>>2]|0;b=f+1|0;if(r[f|0]){g=q[c+48>>2];h=q[a+124>>2];f=0;q[e+8>>2]=0;q[e+12>>2]=h;if(NE(b,g-1|0,e+8|0,701)){q[e>>2]=q[c>>2];mi(4,101221,101647,e);break a}g=q[a+124>>2];h=q[e+8>>2];if((h|0)<=0){break d}b=0;while(1){i=b+g|0;f=r[i|0]+(f&255)|0;o[i|0]=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}q[e+36>>2]=q[a+124>>2];break c}q[e+36>>2]=b;break c}b=f;if((j|0)!=(b|0)){continue}break b}break}q[e+36>>2]=g}q[e+52>>2]=q[c+24>>2];q[e+56>>2]=q[c+28>>2]+d;ji[q[74963]](q[a>>2],e+16|0);if(q[a+100>>2]!=(j|0)){break a}}mi(4,101221,101679,0)}fi=e- -64|0}function gG(a,b,c){var d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;q[c+8>>2]=-2;q[c+12>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;f=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{d:{e:{f:{if(!gu(a,b)){Xi(a,-1e4,q[c+24>>2]);bk(a);e=Wl(a,0,0);if(e){break c}zi(a,-10002,q[63708]);g:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=254832;break b}q[c>>2]=ck(a,-1e4);break g}q[c>>2]=-2;oi(a,-2)}zi(a,-10002,q[63709]);if(!ri(a,-1)){break e}if((ri(a,-1)|0)==6){break f}c=254836;break b}q[d+16>>2]=_i(a,-1,0);mi(4,105772,108901,d+16|0);oi(a,-2);b=0;break a}q[c+4>>2]=ck(a,-1e4);break d}q[c+4>>2]=-2;oi(a,-2)}zi(a,-10002,q[63710]);h:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=254840;break b}q[c+8>>2]=ck(a,-1e4);break h}q[c+8>>2]=-2;oi(a,-2)}zi(a,-10002,q[63711]);i:{if(ri(a,-1)){if((ri(a,-1)|0)!=6){c=254844;break b}q[c+12>>2]=ck(a,-1e4);break i}q[c+12>>2]=-2;oi(a,-2)}g=c;if(r[852367]){b=q[b+8>>2];c=Fi(b);b=yu(b,c,Yi(b,c))}else{b=0}q[g+20>>2]=b}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;bk(a);b=!e;break a}c=q[c>>2];q[d+4>>2]=q[b+8>>2];q[d>>2]=c;mi(4,105772,108852,d);oi(a,-2);b=0}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[63708]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[63709]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[63710]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;pi(a,-10002,q[63711]);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){fi=d+32|0;return b}J(104348,104245,2624,108926);G()}function br(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=r[b+2|0];e=r[b+1|0];i=(c<<4)+94496|0;f=q[i>>2];b=r[b|0];j=(b<<3|b>>>2)&255;c=f+j|0;a:{b:{if(c>>>0<256){d=c;break b}b=255;if((c|0)>=0){break a}}b=d}c=b;b=0;k=(e<<3|e>>>2)&255;d=k+f|0;c:{d:{if(d>>>0<256){b=d;break d}e=255;if((d|0)>=0){break c}}e=b}d=e;o[a+3|0]=255;b=0;h=a;g=(g<<3|g>>>2)&255;e=g+f|0;e:{f:{if(e>>>0<256){b=e;break f}f=255;if((e|0)>=0){break e}}f=b}o[h+2|0]=f;o[a+1|0]=d;o[a|0]=c;b=0;f=q[i+4>>2];d=f+j|0;g:{h:{if(d>>>0<256){b=d;break h}c=255;if((d|0)>=0){break g}}c=b}b=0;d=f+k|0;i:{j:{if(d>>>0<256){b=d;break j}e=255;if((d|0)>=0){break i}}e=b}d=e;o[a+7|0]=255;b=0;h=a;e=f+g|0;k:{l:{if(e>>>0<256){b=e;break l}f=255;if((e|0)>=0){break k}}f=b}o[h+6|0]=f;o[a+5|0]=d;o[a+4|0]=c;b=0;f=q[i+8>>2];d=f+j|0;m:{n:{if(d>>>0<256){b=d;break n}c=255;if((d|0)>=0){break m}}c=b}b=0;d=f+k|0;o:{p:{if(d>>>0<256){b=d;break p}e=255;if((d|0)>=0){break o}}e=b}d=e;o[a+11|0]=255;b=0;h=a;e=f+g|0;q:{r:{if(e>>>0<256){b=e;break r}f=255;if((e|0)>=0){break q}}f=b}o[h+10|0]=f;o[a+9|0]=d;o[a+8|0]=c;b=0;f=q[i+12>>2];d=f+j|0;s:{t:{if(d>>>0<256){b=d;break t}c=255;if((d|0)>=0){break s}}c=b}b=0;d=f+k|0;u:{v:{if(d>>>0<256){b=d;break v}e=255;if((d|0)>=0){break u}}e=b}d=e;o[a+15|0]=255;b=0;h=a;e=f+g|0;w:{x:{if(e>>>0<256){b=e;break x}f=255;if((e|0)>=0){break w}}f=b}o[h+14|0]=f;o[a+13|0]=d;o[a+12|0]=c}function b9(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!b|(b|0)==(c|0)){break b}c:{d:{e:{f:{g=b&65535;h=q[a+32>>2];if(g>>>0<(q[a+36>>2]-h|0)/576>>>0){if(s[(w(g,576)+h|0)+552>>1]!=(b>>>16|0)){break f}f=w(g,576)+h|0;if(s[f+554>>1]!=(b&65535)){break e}Oq(a,f);if(!c){b=0;break d}d=q[a+32>>2];e=(q[a+36>>2]-d|0)/576|0;c=c&65535;if(e>>>0<=c>>>0){break a}i=s[(d+w(c,576)|0)+556>>1];b=0;g:{if((i|0)==65535){break g}if(e>>>0<=i>>>0){break a}b=d+w(i,576)|0}c=s[(d+w(c,576)|0)+560>>1];if((c|0)==65535){break d}if(c>>>0>=e>>>0){break a}e=d+w(c,576)|0;c=e+564|0;d=e+562|0;e=s[e+554>>1];break c}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}c=a+350|0;d=a+348|0;e=65535}i=w(g,576)+h|0;p[i+560>>1]=e;if(b){d=s[b+554>>1];h:{if((d|0)==s[c>>1]){p[c>>1]=s[f+554>>1];p[(w(g,576)+h|0)+558>>1]=65535;d=s[b+554>>1];break h}c=s[b+558>>1];if((c|0)==65535){break h}e=q[a+36>>2];a=q[a+32>>2];if(c>>>0>=(e-a|0)/576>>>0){break a}p[(a+w(c,576)|0)+556>>1]=s[f+554>>1];p[(w(g,576)+h|0)+558>>1]=c}p[b+558>>1]=s[f+554>>1];p[(w(g,576)+h|0)+556>>1]=d;return}p[i+556>>1]=65535;p[i+558>>1]=s[d>>1];b=s[d>>1];i:{if((b|0)==65535){b=s[f+554>>1];break i}e=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=(e-a|0)/576>>>0){break a}a=a+w(b,576)|0;b=s[f+554>>1];p[a+556>>1]=b}p[d>>1]=b;if(s[c>>1]!=65535){break b}p[c>>1]=s[f+554>>1]}return}J(186773,186599,447,186784);G()}function Hla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-112|0;fi=c;d=q[a>>2];e=q[a+16>>2];a=q[a+20>>2];a:{b:{if((e|0)==q[73332]&(a|0)==q[73333]){if(r[d+13|0]){q[c+72>>2]=3;u[c+80>>2]=u[c+48>>2];u[c+84>>2]=u[c+52>>2];u[c+88>>2]=u[c+56>>2];break b}q[c+72>>2]=3;u[c+80>>2]=u[c+32>>2];u[c+84>>2]=u[c+36>>2];u[c+88>>2]=u[c+40>>2];break b}if((e|0)==q[73334]&(a|0)==q[73335]){if(r[d+13|0]){q[c+72>>2]=3;u[c+80>>2]=u[c+16>>2];u[c+84>>2]=u[c+20>>2];u[c+88>>2]=u[c+24>>2];break b}q[c+72>>2]=3;u[c+80>>2]=u[c>>2];u[c+84>>2]=u[c+4>>2];u[c+88>>2]=u[c+8>>2];break b}if((e|0)==q[73336]&(a|0)==q[73337]){if(r[d+13|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}if((e|0)==q[73338]&(a|0)==q[73339]){if(r[d+13|0]){mi(3,35903,36821,0);f=-1;break a}o[c+80|0]=0;q[c+72>>2]=6;break b}if((e|0)==q[73328]&(a|0)==q[73329]){if(r[d+13|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}f=-1;if(q[73330]!=(e|0)|q[73331]!=(a|0)){break a}if(r[d+13|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0}d=q[c+108>>2];a=b- -64|0;q[a>>2]=q[c+104>>2];q[a+4>>2]=d;a=q[c+100>>2];q[b+56>>2]=q[c+96>>2];q[b+60>>2]=a;a=q[c+92>>2];q[b+48>>2]=q[c+88>>2];q[b+52>>2]=a;a=q[c+84>>2];q[b+40>>2]=q[c+80>>2];q[b+44>>2]=a;a=q[c+76>>2];q[b+32>>2]=q[c+72>>2];q[b+36>>2]=a;f=0}a=f;fi=c+112|0;return a|0}function ip(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];e=c+(d<<3)|0;f=q[e>>2];h=q[a>>2];c=c+(h<<3)|0;g=q[c>>2];e=q[e+4>>2];c=q[c+4>>2];if((e|0)==(c|0)&f>>>0>=g>>>0|c>>>0>>0){break a}q[a>>2]=d;q[b>>2]=h;return;case 0:case 1:break a;default:break b}}if((d|0)<=128){if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}f=q[c>>2];while(1){h=q[d>>2];e=a;c:{if((e|0)==(d|0)){break c}g=f+(h<<3)|0;e=d;while(1){c=e-4|0;j=q[c>>2];i=f+(j<<3)|0;k=q[i>>2];l=q[g+4>>2];i=q[i+4>>2];if((l|0)==(i|0)&k>>>0<=t[g>>2]|i>>>0>>0){break c}q[e>>2]=j;e=c;if((e|0)!=(a|0)){continue}break}e=a}q[e>>2]=h;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}h=d>>>1|0;j=h<<2;g=j+a|0;d:{if((d|0)<=(f|0)){wB(a,g,c,h,e);f=b;b=e+j|0;wB(g,f,c,d-h|0,b);f=(d<<2)+e|0;c=q[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){q[a>>2]=q[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}h=q[d>>2];g=c+(h<<3)|0;j=q[g>>2];i=q[e>>2];k=c+(i<<3)|0;l=q[k>>2];g=q[g+4>>2];k=q[k+4>>2];e:{if((g|0)==(k|0)&j>>>0>>0|g>>>0>>0){q[a>>2]=h;d=d+4|0;break e}q[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break d}ip(a,g,c,h,e,f);d=d-h|0;ip(g,b,c,d,e,f);Yv(a,g,b,c,h,d,e,f);break a}if((d|0)==(f|0)){break a}while(1){q[a>>2]=q[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function A2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=fi-160|0;fi=c;b=em(a,1);a:{b:{c:{d:{if((b|0)!=q[210276]){if((b|0)==q[210277]){break d}if((b|0)==q[210278]){break c}q[c+144>>2]=120688;q[c+140>>2]=120672;q[c+136>>2]=120656;q[c+132>>2]=122674;q[c+128>>2]=120720;a=ni(a,122636,c+128|0);break a}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;ni(a,120787,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(e*e)+x(f*f))+x(d*d));break b}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];f:{g:{if(e!=e|f!=f){break g}d=u[b+8>>2];if(d!=d){break g}g=u[b+12>>2];if(g==g){break f}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;ni(a,120877,c+32|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g));break b}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];h:{i:{if(e!=e|f!=f){break i}d=u[b+8>>2];if(d!=d){break i}g=u[b+12>>2];if(g==g){break h}}d=u[b+8>>2];g=u[b+12>>2];v[c+96>>3]=f;v[c+112>>3]=g;v[c+104>>3]=d;v[c+88>>3]=e;q[c+80>>2]=1;ni(a,120971,c+80|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))}q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+160|0;return a|0}function yK(a,b,c){var d=0,e=0,f=0;d=fi-80|0;fi=d;a=a?q[a+120>>2]:0;f=Ti(d+56|0,a,0,14374,155);q[d+48>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;a:{if(!c){a=qv(d+16|0);if(!a){break a}e=wA(a);break a}zq(a,b,c);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(dk(a,-2)){while(1){b:{if(!$j(a,-2)){break b}q[d+12>>2]=0;c:{switch(qA(a,-1,d+12|0)|0){case 1:q[d+20>>2]=q[d+20>>2]+1;break b;case 2:q[d+32>>2]=q[d+32>>2]+1;break b;case 3:q[d+36>>2]=q[d+36>>2]+1;break b;case 4:q[d+40>>2]=q[d+40>>2]+1;break b;case 5:q[d+44>>2]=q[d+44>>2]+1;break b;case 6:q[d+48>>2]=q[d+48>>2]+1;break b;case 7:oi(a,-4);break a;case 0:break c;default:break b}}q[d+16>>2]=q[d+16>>2]+1}oi(a,-2);if(dk(a,-2)){continue}break}}b=qv(d+16|0);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(dk(a,-2)){while(1){d:{if(!$j(a,-2)){break d}q[d+12>>2]=0;c=li(_i(a,-2,0));e=ii;e:{switch(qA(a,-1,d+12|0)|0){case 1:cK(b,c,e,Qk(a,-1),ii);break d;case 2:Gna(b,c,e,sy(a,-1));break d;case 3:_o(b,c,e,3,il(a,-1));break d;case 4:_o(b,c,e,4,tm(a,-1));break d;case 5:_o(b,c,e,5,Dq(a,-1));break d;case 6:eK(b,c,e,(Fj(a,-1)|0)!=0);break d;case 7:J(14417,14374,238,14423);G();case 0:break e;default:break d}}u[d+8>>2]=wj(a,-1);_o(b,c,e,0,d+8|0)}oi(a,-2);if(dk(a,-2)){continue}break}}oi(a,-2);e=wA(b)}Si(f);fi=d+80|0;return e}function YG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-32|0;fi=e;q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;a:{if(a){d=b>>>3|0;d=d>>>0>64?d:64;while(1){q[e+16>>2]=-1;q[e+8>>2]=0;q[e+12>>2]=0;ki(h);d=(d>>>0<256?d:256)+d|0;h=xi(d<<4);f=BY(e+8|0,a,b,h,d);if((f|0)==-1){continue}break}if((f|0)>=0){b=q[e+12>>2];b:{if(b){b=xi(w(b,20));q[c>>2]=b;q[c+4>>2]=dz(h,b,0);b=Sk(a);q[c+8>>2]=b;j=q[c+4>>2];if((j|0)<1){break b}f=0;while(1){i=q[c>>2]+w(f,20)|0;if(q[i>>2]==3){a=q[i+4>>2];d=a+b|0;g=a;a=q[i+8>>2];c:{if((g|0)>=(a|0)){a=d;break c}b=a+b|0;a=d;while(1){g=r[d|0];d:{if((g|0)==92){e:{switch(o[d+1|0]-34|0){case 0:o[a|0]=34;d=d+2|0;break d;case 13:o[a|0]=47;d=d+2|0;break d;case 58:o[a|0]=92;d=d+2|0;break d;case 64:o[a|0]=8;d=d+2|0;break d;case 68:o[a|0]=12;d=d+2|0;break d;case 80:o[a|0]=13;d=d+2|0;break d;case 76:o[a|0]=10;d=d+2|0;break d;case 82:o[a|0]=9;d=d+2|0;break d;case 83:o[e+27|0]=r[d+2|0];o[e+28|0]=r[d+3|0];o[e+29|0]=r[d+4|0];g=r[d+5|0];o[e+31|0]=0;o[e+30|0]=g;d=d+4|0;a=(QE(jt(e+27|0,0,16)&65535,a)+a|0)-1|0;break;default:break e}}d=d+2|0;break d}o[a|0]=g;d=d+1|0}a=a+1|0;if(b>>>0>d>>>0){continue}break}b=q[c+8>>2]}q[i+8>>2]=a-b}f=f+1|0;if((j|0)!=(f|0)){continue}break}break b}q[c>>2]=0;q[c+4>>2]=0}ki(h);a=0;break a}ki(h);a=(f|0)==-2?-1:(f|0)==-3?-2:-1e3;break a}q[c>>2]=0;q[c+4>>2]=0;a=0}fi=e+32|0;return a}function tw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=fi-32|0;fi=h;a:{if(!a){q[c+16>>2]=-1;q[c+20>>2]=-1;q[c+8>>2]=255;f=8;q[c>>2]=8;break a}f=r[a+50|0];b:{while(1){e=f;if((e|0)<1){break b}f=e-1|0;if(q[q[q[a>>2]+24>>2]+w(s[((f<<1)+a|0)+172>>1],12)>>2]!=(b|0)){continue}break}q[c+16>>2]=-1;q[c+20>>2]=-1;q[c+8>>2]=f;f=6;q[c>>2]=6;if(d){break a}a=q[a+20>>2];if(!a){break a}while(1){if((e|0)<=r[a+8|0]){a=q[a>>2];if(a){continue}break a}break}o[a+9|0]=1;break a}f=8;d=0;if((tw(q[a+8>>2],b,c,0)|0)==8){break a}g=q[a>>2];f=q[g+36>>2];e=f;i=r[g+72|0];c:{d:{if(!i){break d}d=q[c>>2];e=0;while(1){j=(e<<1)+a|0;if(q[c+8>>2]==r[j+52|0]?r[j+51|0]==(d|0):0){break c}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=f;d=i;if(d>>>0<60){break d}d=q[a+16>>2];e=q[g+60>>2];e:{if(!e){q[h>>2]=60;q[h+4>>2]=127679;d=Oi(d,127488,h);break e}q[h+20>>2]=60;q[h+16>>2]=e;q[h+24>>2]=127679;d=Oi(d,127522,h+16|0)}Kl(q[a+12>>2],d,0);e=q[g+36>>2];d=r[g+72|0]}if((d&255)>=(e|0)){q[g+28>>2]=rq(q[a+16>>2],q[g+28>>2],g+36|0,4,2147483645,127688);e=q[g+36>>2]}if((e|0)>(f|0)){while(1){q[q[g+28>>2]+(f<<2)>>2]=0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}e=r[g+72|0];q[q[g+28>>2]+(e<<2)>>2]=b;if(!(!(r[b+5|0]&3)|!(r[g+5|0]&4))){Mn(q[a+16>>2],g,b);e=r[g+72|0]}a=(e<<1)+a|0;o[a+51|0]=q[c>>2];o[a+52|0]=q[c+8>>2];o[g+72|0]=e+1}f=7;q[c>>2]=7;q[c+8>>2]=e}fi=h+32|0;return f}function dE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{e=q[a+28>>2];if(!e){break b}b=q[a+12>>2];if(q[(b+(e<<4)|0)-8>>2]){break b}if(e>>>0<2){break a}while(1){g=e+d>>>1|0;a=q[(b+(g<<4)|0)-8>>2];e=a?e:g;d=a?g:d;if(e-d>>>0>1){continue}break}break a}g=q[a+16>>2];if((g|0)==128040){return e}b=e+1|0;d=e;while(1){f=b;b=b-1|0;c:{if(b>>>0>>0){c=q[a+12>>2]+(b<<4)|0;break c}i=+(f|0);b=g;if(f){xwa(+i);c=uwa(1)|0;b=uwa(0)|0;c=b+c|0;b=((c>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break c}c=126472;b=q[b+28>>2];if(b){continue}break}}if(!q[c+8>>2]){if(f-d>>>0<=1){break a}while(1){h=f+d>>>1|0;b=h-1|0;d:{if(b>>>0>>0){c=q[a+12>>2]+(b<<4)|0;break d}i=+(h|0);b=g;if(h){xwa(+i);c=uwa(1)|0;b=uwa(0)|0;c=b+c|0;b=((c>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break d}c=126472;b=q[b+28>>2];if(b){continue}break}}b=q[c+8>>2];f=b?f:h;d=b?h:d;if(f-d>>>0>1){continue}break}break a}h=1;d=f;b=d<<1;if(b>>>0<2147483646){continue}break}while(1){d=h-1|0;e:{if(e>>>0>d>>>0){c=q[a+12>>2]+(d<<4)|0;break e}i=+(h|0);b=g;if(h){xwa(+i);f=uwa(1)|0;b=uwa(0)|0;f=b+f|0;b=((f>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break e}c=126472;b=q[b+28>>2];if(b){continue}break}}h=h+1|0;if(q[c+8>>2]){continue}break}}return d}function bX(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{b:{c:{d:{e:{switch(q[b+8>>2]){case 3:return v[b>>3]==v[c>>3];case 7:e=q[b>>2];d=q[c>>2];if((e|0)==(d|0)){break c}g=0;f=q[e+8>>2];if(!f|r[f+6|0]&16){break c}d=q[d+8>>2];e=Jn(f,4,q[q[a+16>>2]+204>>2]);if(!e){break c}if((d|0)==(f|0)){break d}if(!d|r[d+6|0]&16){break c}d=Jn(d,4,q[q[a+16>>2]+204>>2]);if(!d){break c}if(Do(e,d)){break d}break c;case 1:case 2:break a;case 0:break c;case 5:break e;default:break b}}e=q[b>>2];d=q[c>>2];if((e|0)==(d|0)){break c}g=0;f=q[e+8>>2];if(!f|r[f+6|0]&16){break c}d=q[d+8>>2];e=Jn(f,4,q[q[a+16>>2]+204>>2]);if(!e){break c}if((d|0)==(f|0)){break d}if(!d|r[d+6|0]&16){break c}d=Jn(d,4,q[q[a+16>>2]+204>>2]);if(!d){break c}if(!Do(e,d)){break c}}d=q[a+32>>2];g=q[e+4>>2];f=q[a+8>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;q[f+8>>2]=q[e+8>>2];g=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=g;q[e+24>>2]=q[b+8>>2];e=q[c+4>>2];b=q[a+8>>2];q[b+32>>2]=q[c>>2];q[b+36>>2]=e;q[b+40>>2]=q[c+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=48){pk(a,3);b=q[a+8>>2]}q[a+8>>2]=b+48;zl(a,b,1);b=q[a+8>>2]-16|0;q[a+8>>2]=b;e=q[b+4>>2];c=q[a+32>>2]+(f-d|0)|0;q[c>>2]=q[b>>2];q[c+4>>2]=e;q[c+8>>2]=q[b+8>>2];g=0;f:{g:{a=q[a+8>>2];switch(q[a+8>>2]){case 1:break g;case 0:break c;default:break f}}return q[a>>2]!=0}g=1}return g}return q[b>>2]==q[c>>2]}return q[b>>2]==q[c>>2]}function XC(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;i=fi-1120|0;fi=i;h=-16512;j=q[a+4>>2];a:{if(j-16>>>0>1008){break a}h=zp(a,g,i);if(h){break a}h=-16640;g=j-1|0;if(r[g+i|0]!=188){break a}if(b){b=b-3|0;b:{if(b>>>0<=5){b=q[(b<<2)+267260>>2];break b}b=0}if(!b){h=-16512;break a}c=(b?q[b+8>>2]:0)&255}h=-16512;b=e-3|0;c:{if(b>>>0<=5){b=q[(b<<2)+267260>>2];break c}b=0}if(!b){break a}e=b?q[b+8>>2]:0;q[i+1048>>2]=0;q[i+1052>>2]=0;a=ul(a+8|0)-1|0;if(r[i|0]>>>(a-(j<<3)|0)+8|0){break a}k=e&255;e=j;j=a&7;e=j?e:g;if(k+2>>>0>e>>>0){break a}g=i+1032|0;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;h=jn(i+1032|0,b,0);d:{if(h){break d}h=k^-1;b=j?i:i|1;g=h+(e+b|0)|0;h=dq(b,e+h|0,g,k,i+1032|0);if(h){break d}o[i|0]=r[i|0]&255>>>(e<<3)-a;e=g-1|0;e:{if(e>>>0>b>>>0){while(1){a=r[b|0];if(a){break e}b=b+1|0;if((e|0)!=(b|0)){continue}break}b=e}a=r[b|0]}h=-16640;if((a&255)!=1){break d}j=(f|0)!=-1;a=f;e=b+1|0;f=g-e|0;if((a|0)!=(f|0)?j:0){break d}a=-20736;b=i+1032|0;f:{if(!b){break f}h=q[b>>2];if(!h){break f}a=ji[q[h+16>>2]](q[b+4>>2])|0}h=a;if(h){break d}h=Fn(i+1032|0,i+1048|0,8);if(h){break d}h=Fn(i+1032|0,d,c);if(h){break d}h=Fn(i+1032|0,e,f);if(h){break d}c=i+1056|0;a=-20736;b=i+1032|0;g:{if(!b){break g}d=q[b>>2];if(!d){break g}a=ji[q[d+24>>2]](q[b+4>>2],c)|0}h=a;if(h){break d}h=ej(g,i+1056|0,k)?-17280:0}$l(i+1032|0)}fi=i+1120|0;return h}function CH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=h-g>>6){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+(f<<6)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+56>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e- -64;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+(e<<6)|0;q[a+20>>2]=q[e+56>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;f=q[d+28>>2];q[e+32>>2]=q[d+24>>2];q[e+36>>2]=f;f=q[d+36>>2];q[e+40>>2]=q[d+32>>2];q[e+44>>2]=f;f=q[d+44>>2];q[e+48>>2]=q[d+40>>2];q[e+52>>2]=f;q[e+56>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+(f<<6)|0;f=q[b+56>>2];if((f|0)!=-1){continue}break}q[b+56>>2]=e-d>>6;break a}J(157301,157078,226,157309);G()}c=q[d+4>>2];a=g+(f<<6)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+44>>2];q[a+48>>2]=q[d+40>>2];q[a+52>>2]=b;b=q[d+36>>2];q[a+40>>2]=q[d+32>>2];q[a+44>>2]=b;b=q[d+28>>2];q[a+32>>2]=q[d+24>>2];q[a+36>>2]=b;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(157313,157078,470,157375);G()}q[b>>2]=e-d>>6}q[a+24>>2]=q[a+24>>2]+1}function z3(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=fi-32|0;fi=h;q[h+28>>2]=a;a:{b:{if((e|0)>-1){b=b?b:q[a+4>>2];a=q[b+24>>2];a=(b+(e<<6)|0)+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0;g=q[b+20>>2];i=(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))+b|0;g=q[b+16>>2];g=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);c:{if(g>>>0<=e>>>0){si(a,c,d);e=(e<<4)+i|0;break c}g=g-e|0;Kk(a- -64|0,a,g<<6);si(a,c,d);e=(e<<4)+i|0;Kk(e+16|0,e,g<<4)}g=e;j=e;d:{if(!f){a=q[2];c=q[1];d=q[0];f=q[3];break d}q[h+24>>2]=0;q[h+20>>2]=0;if(w3(h+28|0,q[f>>2],q[f+4>>2],h+24|0,h+20|0)){break b}a=q[h+20>>2];d=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);c=q[f+8>>2];i=r[c+4|0];e:{if(i&2){c=q[c>>2];a=q[f+4>>2];break e}c=q[f+4>>2];c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);a=-1}a=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);f=i|4;f=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24)}o[j+12|0]=f;o[g+13|0]=f>>>8;o[g+14|0]=f>>>16;o[g+15|0]=f>>>24;o[e+8|0]=a;o[e+9|0]=a>>>8;o[e+10|0]=a>>>16;o[e+11|0]=a>>>24;o[e+4|0]=c;o[e+5|0]=c>>>8;o[e+6|0]=c>>>16;o[e+7|0]=c>>>24;o[e|0]=d;o[e+1|0]=d>>>8;o[e+2|0]=d>>>16;o[e+3|0]=d>>>24;a=q[b+16>>2];a=(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))+1|0;q[b+16>>2]=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=0;break a}J(28577,28134,863,28598);G()}a=q[f+4>>2];q[h>>2]=q[h+24>>2];q[h+4>>2]=a;mi(4,28184,28613,h);ki(b);a=-2}fi=h+32|0;return a}function w2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-4128|0;fi=b;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){h=q[a+8>>2]-q[a+12>>2]>>4;d=b+104|0;o[d+16|0]=1;q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=3999;q[d>>2]=b+128;o[b+128|0]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+92>>2]=-1;b:{c:{if((h|0)<1){break c}e=1;while(1){d:{qi(f,255,c<<2);q[b+92>>2]=-1;q[b+96>>2]=0;q[b+84>>2]=q[b+80>>2];e:{if((ri(a,e)|0)==5){c=a;if((e|0)==1){Zm(d,110780,0);f=1}else{f=e}BF(c,f,d,b+72|0);q[b+48>>2]=(e|0)<(h|0)?110782:110785;Zm(d,110749,b+48|0);break e}Hi(a,e);zi(a,-10002,110695);ak(a,-2);zk(a,1,1);c=_i(a,-1,0);if(!c){break d}q[b+64>>2]=c;q[b+68>>2]=(e|0)<(h|0)?110782:110785;Zm(d,110786,b- -64|0);oi(a,-2)}if((e|0)==(h|0)){break c}e=e+1|0;c=q[b+76>>2];f=q[b+72>>2];continue}break}oi(a,-2);f=ni(a,110704,0);break b}q[b+32>>2]=b+128;mi(1,110525,110749,b+32|0);f=0}f:{if(o[b+100|0]&1){break f}c=q[b+80>>2];if(c){ki(c)}c=q[b+72>>2];if(!c){break f}ki(c)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}fi=b+4128|0;return f|0}q[b+12>>2]=g;q[b+4>>2]=555;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=g;q[b+20>>2]=555;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function _ja(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;c=fi-32|0;fi=c;g=q[a+8>>2];j=o3(q[g+96>>2],u[q[a+4>>2]>>2]);a:{e=q[g+4>>2];a=q[g>>2];d=e-a|0;if(!d){break a}if((a|0)!=(e|0)){e=a-e|0;i=((d|0)<(e|0)?e:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(i,(d|0)<1?d:1);i=d>>>0>1?d:1;while(1){e=q[(h<<2)+a>>2];d=r[e+238|0];a=d&253;o[e+238|0]=a;if((d&5)==5){b:{c:{if(d&8){break c}d=q[e+180>>2];if(!d){break b}if(r[d+52|0]){break c}a=r[e+238|0];break b}f=q[e+128>>2];q[c+8>>2]=0;q[c+12>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;d=c;a=q[e+216>>2];if(!a){a=q[f+8>>2]}q[d+4>>2]=a;Sj(c+8|0,c+4|0,4);a=q[e+184>>2];if(!a){a=q[f+20>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+188>>2];if(!a){a=q[f+24>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+192>>2];if(!a){a=q[f+28>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+196>>2];if(!a){a=q[f+32>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+200>>2];if(!a){a=q[f+36>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+204>>2];if(!a){a=q[f+40>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+208>>2];if(!a){a=q[f+44>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+212>>2];if(!a){a=q[f+48>>2]}q[d>>2]=a;Sj(c+8|0,c,4);a=q[e+180>>2];if(a){Fs(a,c+8|0)}q[e+136>>2]=Uo(c+8|0);a=r[e+238|0]&-9;o[e+238|0]=a}o[e+238|0]=a|2}h=h+1|0;if((i|0)==(h|0)){break a}a=q[g>>2];if(q[g+4>>2]-a>>2>>>0>h>>>0){continue}break}}J(47308,47134,447,47319);G()}o[b|0]=(j|0)==4;fi=c+32|0;return 0}function sja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0);e=fi+ -64|0;fi=e;a:{b:{d=q[a+64>>2];b=q[d+8>>2];c:{if((b|0)==q[d+12>>2]){q[e>>2]=b-q[d+4>>2]>>2;mi(4,52865,52873,e);c=-1e3;break c}if(!q[d+36>>2]){if(o[d+32|0]&1){break b}vi(4,272,d+20|0,d+28|0,d+24|0);b=q[q[d>>2]+2208>>2];c=q[60345];q[e+48>>2]=q[60344];q[e+52>>2]=c;c=q[60343];q[e+40>>2]=q[60342];q[e+44>>2]=c;c=q[60341];q[e+32>>2]=q[60340];q[e+36>>2]=c;c=q[60339];q[e+24>>2]=q[60338];q[e+28>>2]=c;c=q[60337];q[e+16>>2]=q[60336];q[e+20>>2]=c;q[d+36>>2]=ji[q[74910]](b,e+16|0,2);q[d+40>>2]=ji[q[74895]](q[q[d>>2]+2208>>2],0,0,0);b=w(q[d+60>>2],120);c=xi(b);q[d+44>>2]=c;q[d+48>>2]=b+c}c=q[a+60>>2];f=Ci(176);b=f;q[b+96>>2]=0;q[b+100>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;q[b+136>>2]=0;q[b+96>>2]=q[a>>2];q[b+156>>2]=c;c=a;g=q[c+20>>2];h=q[c+16>>2];u[b+8>>2]=u[c+24>>2];q[b>>2]=h;q[b+4>>2]=g;u[b+16>>2]=u[c+32>>2];u[b+20>>2]=u[c+36>>2];u[b+24>>2]=u[c+40>>2];i=u[c+44>>2];o[b+166|0]=255;u[b+28>>2]=i;c=-1e3;if(!yJ(b)){break c}b=q[d+8>>2];if((b|0)==q[d+12>>2]){break a}q[d+8>>2]=b+4;q[b>>2]=f;q[q[a+72>>2]>>2]=f;$u(f);c=0}fi=e- -64|0;return c|0}J(53742,53817,461,53896);G()}J(54304,53817,501,54328);G()}function dI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{f=b&65535;g=q[a+32>>2];if(f>>>0<(q[a+36>>2]-g|0)/576>>>0){if(s[(w(f,576)+g|0)+552>>1]!=(b>>>16|0)){break b}h=w(f,576)+g|0;if(s[h+554>>1]!=(b&65535)){break a}if(q[h+436>>2]==2){Rz(a,b)}c:{d:{e:{b=q[a+132>>2];f:{if(!b){break f}b=q[q[a+128>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break f}e=q[a+136>>2];while(1){i=e+w(b,24)|0;if((c|0)==q[i>>2]&q[i+4>>2]==(d|0)){break e}b=q[i+20>>2];if((b|0)!=-1){continue}break}}b=q[a+164>>2];g:{if(!b){break g}b=q[q[a+160>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break g}a=q[a+168>>2];while(1){e=a+w(b,40)|0;if((c|0)==q[e>>2]&q[e+4>>2]==(d|0)){break d}b=q[e+32>>2];if((b|0)!=-1){continue}break}}q[(w(f,576)+g|0)+432>>2]=0;q[h+436>>2]=0;return-5}a=w(f,576)+g|0;q[a+424>>2]=c;q[a+428>>2]=d;c=e+w(b,24)|0;d=q[c+8>>2];q[a+432>>2]=d;q[h+436>>2]=q[c+12>>2];a=q[a+412>>2];if(!(a&262144)|!d|(a>>>4&15)-5>>>0<2){break c}a=w(f,576)+g|0;b=e+w(b,24)|0;u[a+64>>2]=s[b+16>>1];u[a+68>>2]=s[b+18>>1];return 0}e=w(f,576)+g|0;q[e+424>>2]=c;q[e+428>>2]=d;q[e+432>>2]=q[(a+w(b,40)|0)+8>>2];q[h+436>>2]=3;c=q[e+412>>2];if(!(c&262144)|(c>>>4&15)-5>>>0<2){break c}c=w(f,576)+g|0;a=a+w(b,40)|0;u[c+64>>2]=t[a+16>>2];u[c+68>>2]=t[a+20>>2]}return 0}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function hx(a,b,c){var d=0,e=0,f=0,g=0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=(d>>>4^b)&252645135;d=e<<4^d;e=b^e;b=d>>>16^e&65535;e=b^e;b=d^b<<16;d=(e>>>2^b)&858993459;e=d<<2^e;b=b^d;d=(e>>>8^b)&16711935;e=owa(d<<8^e,1);f=e;d=b^d;e=(d^e)&-1431655766;b=f^e;d=owa(d^e,1);while(1){f=b;e=q[a+4>>2]^owa(b,28);b=q[a>>2]^b;d=q[((e&63)<<2)+146624>>2]^(q[((b&63)<<2)+145600>>2]^d^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2])^q[(e>>>6&252)+146880>>2]^q[(e>>>14&252)+147136>>2]^q[(e>>>22&252)+147392>>2];b=d^q[a+8>>2];e=f^q[((b&63)<<2)+145600>>2]^q[(b>>>6&252)+145856>>2]^q[(b>>>14&252)+146112>>2]^q[(b>>>22&252)+146368>>2];b=q[a+12>>2]^owa(d,28);b=e^q[((b&63)<<2)+146624>>2]^q[(b>>>6&252)+146880>>2]^q[(b>>>14&252)+147136>>2]^q[(b>>>22&252)+147392>>2];a=a+16|0;g=g+1|0;if((g|0)!=8){continue}break}a=owa(b,31);b=(a^d)&-1431655766;d=d<<31|(b^d)>>>1;a=a^b;b=(d>>>8^a)&16711935;d=b<<8^d;a=a^b;b=(d>>>2^a)&858993459;d=b<<2^d;a=a^b;b=d&65535^a>>>16;e=b<<16^a;a=b^d;b=(e>>>4^a)&252645135;a=a^b;o[c+7|0]=a;o[c+6|0]=a>>>8;o[c+5|0]=a>>>16;o[c+4|0]=a>>>24;a=e^b<<4;o[c+3|0]=a;o[c+2|0]=a>>>8;o[c+1|0]=a>>>16;o[c|0]=a>>>24;return 0}function YU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=fi-16|0;fi=i;q[i+12>>2]=0;a:{if(!d){b=-20;break a}q[a+352>>2]=0;q[a+356>>2]=0;q[a+384>>2]=b;q[a+320>>2]=0;q[a+324>>2]=0;q[a+376>>2]=0;q[a+380>>2]=0;j=a+368|0;b=j;q[b>>2]=0;q[b+4>>2]=0;q[a+360>>2]=0;q[a+364>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;g=a+352|0;b:{if((d|0)==12){d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);b=g;h=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=d;o[b+5|0]=d>>>8;o[b+6|0]=d>>>16;o[b+7|0]=d>>>24;c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[a+367|0]=1;break b}l=d<<3;m=d>>>5|0;n=d>>>13|0;p=d>>>21|0;while(1){h=d>>>0<16?d:16;s=h>>>0>1?h:1;b=0;while(1){k=a+b|0;o[k+352|0]=r[k+352|0]^r[b+c|0];b=b+1|0;if((s|0)!=(b|0)){continue}break}$r(a,g,g);c=c+h|0;d=d-h|0;if(d){continue}break}o[a+367|0]=r[a+367|0]^l;o[a+366|0]=r[a+366|0]^m;o[a+365|0]=r[a+365|0]^n;o[a+364|0]=r[a+364|0]^p;$r(a,g,g)}b=Km(a,g,16,a+336|0,i+12|0);if(b){break a}q[a+328>>2]=f;q[a+332>>2]=0;if(f){while(1){c=f>>>0<16?f:16;d=c>>>0>1?c:1;b=0;while(1){g=a+b|0;o[g+368|0]=r[g+368|0]^r[b+e|0];b=b+1|0;if((d|0)!=(b|0)){continue}break}$r(a,j,j);e=c+e|0;f=f-c|0;if(f){continue}break}}b=0}fi=i+16|0;return b}function Pka(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0);i=x(u[d+4>>2]*u[e+4>>2]);j=x(u[d>>2]*u[e>>2]);l=u[c+12>>2];m=u[c+8>>2];n=u[c+4>>2];o=u[c>>2];E=u[b+8>>2];F=u[b+4>>2];G=u[b>>2];a:{b:{c:{d:{e:{f:{switch(f|0){case 0:case 1:case 5:g=x(j*x(-.5));break e;case 8:break c;case 7:break d;case 2:case 3:case 4:break f;default:break a}}g=x(-j)}h=g;switch(f|0){case 1:case 2:break c;case 0:case 3:break d;default:break a}}p=x(i*x(-.5));break b}p=x(-i)}h=g}q[a+12>>2]=0;q[a+60>>2]=1065353216;q[a+44>>2]=0;q[a+28>>2]=0;i=x(m*x(0));j=x(l*x(0));k=x(o*x(0));t=x(x(i+x(n+j))-k);v=x(n*x(0));y=x(x(k+x(m+j))-v);w=x(y+y);s=x(t*w);r=x(x(x(l-k)-v)-i);g=x(x(v+x(o+j))-i);A=x(g+g);B=x(r*A);u[a+36>>2]=s-B;C=x(g*w);z=x(t+t);D=x(r*z);u[a+32>>2]=C+D;u[a+24>>2]=s+B;s=x(g*z);r=x(r*w);u[a+16>>2]=s-r;u[a+8>>2]=C-D;u[a+4>>2]=s+r;k=x(x(x(m*h)+x(l*p))-k);i=x(i+x(x(o*h)+x(n*p)));j=x(x(j+x(o*p))-x(n*h));h=x(x(v+x(l*h))-x(m*p));u[a+56>>2]=E+x(x(o*k)+x(x(x(m*i)+x(l*j))-x(n*h)));u[a+52>>2]=F+x(x(m*h)+x(x(x(l*k)+x(n*i))-x(o*j)));u[a+48>>2]=G+x(x(n*j)+x(x(x(l*h)+x(o*i))-x(m*k)));g=x(x(1)-x(g*A));h=x(t*z);u[a+40>>2]=g-h;p=g;g=x(y*w);u[a+20>>2]=p-g;u[a>>2]=x(x(1)-h)-g}function Cq(a,b,c,d,e,f){var g=0,h=0;g=fi-256|0;fi=g;a:{if(!r[852367]){b=0;break a}h=g+143|0;b:{c:{if(!b){break c}Hi(a,b);if(ln(a,112133,g+144|0)){c=q[g+160>>2]+1|0;d=q[g+148>>2];if(d){break c}q[g>>2]=q[g+172>>2];cj(g+144|0,16,111477,g);d=g+144|0;b=g+16|0;while(1){a=r[d|0];if(!a){break b}o[b|0]=a;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}b=h;break b}o[g+24|0]=62;q[g+16>>2]=1802401084;q[g+20>>2]=1853321070;b=g+16|9;break b}b=g+16|0;while(1){a=r[d|0];if(!a){break b}o[b|0]=a;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}b=h}d:{e:{if(!e){break e}if((b|0)==(h|0)){break d}d=111483;while(1){if((d|0)!=111484){o[b|0]=r[d|0];d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break d}break}if((b|0)==(h|0)){break d}while(1){a=r[e|0];if(a){o[b|0]=a;e=e+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break d}break}if((b|0)==(h|0)){break d}d=111485;while(1){if((d|0)==111486){break e}o[b|0]=r[d|0];d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}break d}if((b|0)==(h|0)){break d}d=111487;while(1){if((d|0)!=111488){o[b|0]=r[d|0];d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break d}break}if((b|0)==(h|0)){break d}while(1){a=r[c|0];if(!a){h=b;break d}o[b|0]=a;c=c+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=h-(g+16|0)|0;a=Yi(g+16|0,b);o[h|0]=0;b=yu(g+16|0,b,a);q[f>>2]=a}fi=g+256|0;return b}function Yka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=0;h=fi-16|0;fi=h;a:{b=q[a+64>>2];c=q[b+8>>2];b:{if((c|0)==q[b+4>>2]){q[h>>2]=(c-q[b>>2]|0)/240;mi(4,42986,42994,h);d=-1e3;break b}f=q[a+60>>2];c=q[f>>2];i=y6(b);d=q[b+16>>2];if(i>>>0>=q[b+20>>2]-d>>3>>>0){break a}d=q[d+(i<<3)>>2];e=q[b+4>>2];b=q[b>>2];if(d>>>0>=(e-b|0)/240>>>0){break a}b=qi(b+w(d,240)|0,0,240);q[b>>2]=q[a>>2];d=q[c+4>>2];e=q[c>>2];u[b+56>>2]=u[c+8>>2];q[b+48>>2]=e;q[b+52>>2]=d;j=u[c+24>>2];d=q[c+20>>2];q[b+64>>2]=q[c+16>>2];q[b+68>>2]=d;u[b+72>>2]=j;u[b+16>>2]=u[a+16>>2];u[b+20>>2]=u[a+20>>2];u[b+24>>2]=u[a+24>>2];u[b+32>>2]=u[a+32>>2];u[b+36>>2]=u[a+36>>2];u[b+40>>2]=u[a+40>>2];u[b+44>>2]=u[a+44>>2];d=q[c+32>>2];e=q[c+36>>2];g=q[c+44>>2];q[b+88>>2]=q[c+40>>2];q[b+92>>2]=g;q[b+80>>2]=d;q[b+84>>2]=e;d=q[c+48>>2];e=q[c+52>>2];g=q[c+60>>2];q[b+104>>2]=q[c+56>>2];q[b+108>>2]=g;q[b+96>>2]=d;q[b+100>>2]=e;d=q[c+72>>2];e=q[c+76>>2];g=q[c+64>>2];k=q[c+68>>2];q[b+216>>2]=f;q[b+120>>2]=d;q[b+124>>2]=e;q[b+112>>2]=g;q[b+116>>2]=k;f=q[c+88>>2];q[b+200>>2]=0;q[b+208>>2]=255;q[b+212>>2]=0;q[b+220>>2]=0;q[b+192>>2]=f;p[b+236>>1]=s[a+76>>1];f=r[b+238|0]|1;o[b+238|0]=f;c=q[c+100>>2];o[b+238|0]=f&243|8;q[b+232>>2]=c;q[q[a+72>>2]>>2]=i;d=0}fi=h+16|0;return d|0}J(43678,43572,447,43689);G()}function Mw(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;a:{if(!a){break a}e=q[a+72>>2];if(!e|t[a+16>>2]<=b>>>0|(!c|q[a+20>>2]!=1)){break a}a=q[e>>2];if(!a){break a}e=q[e+16>>2]+(b<<2)|0;f=q[e>>2];q[c>>2]=b;q[c+4>>2]=q[e>>2];a=a+f|0;p[c+8>>1]=r[a+4|0]|r[a+5|0]<<8;p[c+10>>1]=r[a+6|0]|r[a+7|0]<<8;p[c+12>>1]=r[a+8|0]|r[a+9|0]<<8;p[c+14>>1]=r[a+10|0]|r[a+11|0]<<8;b=r[a+12|0];e=r[a+15|0];f=r[a+13|0];g=r[a+14|0];q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+32>>2]=-1;q[d+24>>2]=0;q[d+28>>2]=0;q[d+12>>2]=g&31;q[d+8>>2]=f>>>3;h=1;q[d+20>>2]=(e>>>1|0)+80;q[d>>2]=b<<1&62;q[d+4>>2]=(b|f<<8)>>>5&63;q[d+16>>2]=((e<<8|g)>>>5&15)-1;q[c+16>>2]=Ja(d|0);q[c+20>>2]=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);q[c+24>>2]=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);q[c+28>>2]=0;q[c+32>>2]=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);q[c+36>>2]=0;p[c+40>>1]=r[a+36|0]|r[a+37|0]<<8;q[c+44>>2]=r[a+38|0]|r[a+39|0]<<8|(r[a+40|0]<<16|r[a+41|0]<<24);q[c+48>>2]=r[a+42|0]|r[a+43|0]<<8|(r[a+44|0]<<16|r[a+45|0]<<24);q[c+52>>2]=0;e=a+46|0;b=r[a+28|0]|r[a+29|0]<<8;b=b>>>0<259?b:259;o[si(c+60|0,e,b)+b|0]=0;b=r[a+32|0]|r[a+33|0]<<8;b=b>>>0<255?b:255;q[c+56>>2]=b;o[si(c+320|0,(e+(r[a+28|0]|r[a+29|0]<<8)|0)+(r[a+30|0]|r[a+31|0]<<8)|0,b)+b|0]=0}fi=d+48|0;return h}function G4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=fi-448|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;d=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);c=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{c:{if((d|0)==q[a+8>>2]-q[a+12>>2]>>4){d:{if(ri(a,1)){d=Pj(a,1);g=ii;e:{e=q[c+20>>2];f:{if(!e){break f}e=q[q[c+16>>2]+(lwa(d,g,e)<<2)>>2];if((e|0)==-1){break f}i=q[c+24>>2];while(1){h=(e<<4)+i|0;if((d|0)==q[h>>2]&q[h+4>>2]==(g|0)){break e}e=q[h+12>>2];if((e|0)!=-1){continue}break}}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break c}c=ks(a,1,b+320|0);q[b+40>>2]=d;q[b+44>>2]=g;q[b+32>>2]=c;cj(b- -64|0,256,106356,b+32|0);q[b+16>>2]=b- -64;c=ni(a,106390,b+16|0);break d}d=b- -64|0;q[d+4>>2]=q[((e<<4)+i|0)+8>>2];q[d>>2]=21;d=q[c+4>>2];if((d|0)!=q[c+8>>2]){q[c+4>>2]=d+20;q[d+16>>2]=q[b+80>>2];c=q[b+76>>2];q[d+8>>2]=q[b+72>>2];q[d+12>>2]=c;c=q[b+68>>2];q[d>>2]=q[b+64>>2];q[d+4>>2]=c;c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){break d}J(104348,104245,2319,106328);G()}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break b}q[b+48>>2]=(q[c+8>>2]-q[c>>2]|0)/20;c=ni(a,104394,b+48|0);break d}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break a}q[b>>2]=104341;c=ni(a,106393,b)}fi=b+448|0;return c|0}J(104348,104245,265,107702);G()}J(104348,104245,2308,106328);G()}J(104348,104245,2324,106328);G()}J(104348,104245,2331,106328);G()}function RI(a,b,c){var d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),o=x(0),p=x(0),r=x(0);k=b&2;g=k?u[a+68>>2]:x(1);h=k?u[a+64>>2]:x(1);if(b&4){a:{b:{c:{d:{e:{f:{g:{l=q[a+412>>2]>>>12&15;switch(l|0){case 8:break c;case 7:break d;case 2:case 3:case 4:break f;case 0:case 1:case 5:break g;default:break a}}f=x(h*x(-.5));break e}f=x(-h)}e=f;switch(l|0){case 1:case 2:break c;case 0:case 3:break d;default:break a}}d=x(g*x(-.5));break b}d=x(-g)}e=f}u[c+48>>2]=u[c+48>>2]+x(x(x(e*u[c>>2])+x(d*u[c+16>>2]))+x(u[c+32>>2]*x(0)));u[c+60>>2]=u[c+60>>2]+x(x(x(e*u[c+12>>2])+x(d*u[c+28>>2]))+x(u[c+44>>2]*x(0)));u[c+56>>2]=u[c+56>>2]+x(x(x(e*u[c+8>>2])+x(d*u[c+24>>2]))+x(u[c+40>>2]*x(0)));u[c+52>>2]=u[c+52>>2]+x(x(x(e*u[c+4>>2])+x(d*u[c+20>>2]))+x(u[c+36>>2]*x(0)))}if(!(!k|((q[a+412>>2]&240)==16?!(b&1):0))){f=u[c>>2];e=x(f*x(0));d=u[c+16>>2];i=x(d*x(0));j=u[c+32>>2];u[c+32>>2]=x(e+i)+j;d=x(e+x(g*d));e=x(j*x(0));u[c+16>>2]=d+e;u[c>>2]=x(x(h*f)+i)+e;f=u[c+8>>2];e=x(f*x(0));d=u[c+24>>2];i=x(d*x(0));j=u[c+40>>2];u[c+40>>2]=x(e+i)+j;m=u[c+4>>2];n=x(m*x(0));o=u[c+20>>2];p=x(o*x(0));r=u[c+36>>2];u[c+36>>2]=x(n+p)+r;d=x(e+x(g*d));e=x(j*x(0));u[c+24>>2]=d+e;d=x(r*x(0));u[c+20>>2]=x(n+x(g*o))+d;u[c+8>>2]=x(x(h*f)+i)+e;u[c+4>>2]=x(x(h*m)+p)+d}}function gia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=fi-160|0;fi=d;g=d+152|0;e=g;q[e>>2]=0;q[e+4>>2]=0;q[d+144>>2]=0;q[d+148>>2]=0;f=q[a+280>>2]-q[a+276>>2]>>>3&65535;vi(f,8,d+144|0,e,d+144|4);a:{if(!f){break a}g=0;while(1){b:{e=II(a,g&65535,d+16|0);if(!e){e=q[d+148>>2];if((e|0)!=q[d+152>>2]){break b}J(39443,39220,501,39467);G()}q[d>>2]=e;mi(4,38938,39940,d);break a}q[d+148>>2]=e+8;h=q[d+20>>2];q[e>>2]=q[d+16>>2];q[e+4>>2]=h;g=g+1|0;if((g&65535)>>>0>>0){continue}break}}g=q[a+312>>2];e=q[a+316>>2];f=q[q[a+12>>2]+176>>2];b=jG(f,b,c,q[q[a+12>>2]+36>>2],d+144|0);c=ii;if((g|0)!=(b|0)|(c|0)!=(e|0)){mG(f,b,c,d+128|0);f=q[d+128>>2];q[a+364>>2]=q[d+132>>2];q[a+360>>2]=f;o[a+358|0]=r[a+358|0]|1;rI(a,b,c);q[d+104>>2]=0;q[d+108>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;f=d- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;f=li(39983);q[d+96>>2]=q[61710];q[d+80>>2]=f;q[d+84>>2]=ii;q[d+120>>2]=g;q[d+124>>2]=e;q[d+112>>2]=b;q[d+116>>2]=c;q[d+100>>2]=16;KI(a,d+16|0)}c:{if(o[d+156|0]&1){break c}a=q[d+144>>2];if(!a){break c}ki(a)}fi=d+160|0}function Yy(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=0,k=0;a:{b:{c:{if(!b){break c}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>=d-a>>2>>>0){break a}a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}b=q[a+4>>2]-q[a>>2]|0;if(!b){break c}i=q[a+64>>2];b=(b|0)/288|0;k=b>>>0>1?b:1;b=0;while(1){e=q[i+16>>2];if(t[e+4>>2]<=b>>>0){break b}c=q[a>>2];d=(q[a+4>>2]-c|0)/288|0;e=q[e>>2]+(b<<7)|0;f=u[e+124>>2];d:{if(!(f>>0>=d>>>0){break a}c=c+w(b,288)|0;d=q[c+264>>2];q[c+264>>2]=1;e:{if((d|0)==1){break e}d=q[a+72>>2];if(!d){break e}e=q[a+16>>2]+1|0;q[a+16>>2]=e;ji[q[a+68>>2]](e,q[c+112>>2],q[c+116>>2],1,d)}o[c+280|0]=r[c+280|0]&247;break d}if(b>>>0>=d>>>0){break a}d=q[i>>2];if((q[i+4>>2]-d|0)/18568>>>0<=b>>>0){break a}c=c+w(b,288)|0;h=q[c+264>>2];d=d+w(b,18568)|0;g=u[d+18564>>2];q[c+264>>2]=1;f=x(B(f>2];if(!h){break f}j=q[a+16>>2]+1|0;q[a+16>>2]=j;ji[q[a+68>>2]](j,q[c+112>>2],q[c+116>>2],1,h)}o[c+280|0]=r[c+280|0]&247;g=x(0);if(f>x(0)^1){break d}while(1){Wy(a,d,c,e,x(.01666666753590107));g=x(g+x(.01666666753590107));if(f>g){continue}break}}b=b+1|0;if((k|0)!=(b|0)){continue}break}}return}J(135437,135449,260,135487);G()}J(136114,135222,447,135487);G()}function Sq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=x(0);i=fi-48|0;fi=i;a:{b:{c:{d:{e:{h=q[a+4>>2];j=q[a>>2];k=h-j|0;if((k|0)<1){break e}f:{if((h|0)!=(j|0)){h=j-h|0;h=((h|0)>(k|0)?h:k)>>>2|0;k=h>>>0>1?h:1;h=0;while(1){j=q[(h<<2)+j>>2];if(q[j+8>>2]==(c|0)&q[j+12>>2]==(d|0)){break f}h=h+1|0;if((k|0)==(h|0)){break e}j=q[a>>2];if(q[a+4>>2]-j>>2>>>0>h>>>0){continue}break}}break a}b=q[a>>2];if(q[a+4>>2]-b>>2>>>0<=h>>>0){break a}h=q[b+(h<<2)>>2];break d}l=a+4|0;k=Jy(c,d);h=q[a+4>>2];j=q[a+8>>2];if((h|0)==(j|0)){if(o[a+12|0]&1){break c}vi((h-q[a>>2]>>2)+4|0,4,a,a+8|0,l);j=q[a+8>>2];h=q[a+4>>2]}if((h|0)==(j|0)){break b}q[l>>2]=h+4;q[h>>2]=k;h=0;if(!My(b,c,d,i+44|0)){break d}b=q[i+44>>2];q[i+40>>2]=s[b+24>>1];b=q[b>>2];g:{if(b){tu(k,b,q[i+40>>2]);break g}q[i+24>>2]=0;q[i+28>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;tu(k,i+16|0,1)}h=k}q[i+16>>2]=0;q[i+16>>2]=s[h+24>>1];h=q[h>>2];k=q[i+16>>2];h:{if(k>>>0<=e>>>0){q[i>>2]=Ei(c,d);q[i+8>>2]=e;q[i+4>>2]=q[i+16>>2];mi(4,49135,49143,i);break h}b=h+(e<<4)|0;i:{if(!f){e=q[g+16>>2];f=q[g+12>>2];m=u[g+20>>2];u[b>>2]=u[g+8>>2];u[b+12>>2]=m;q[b+4>>2]=f;q[b+8>>2]=e;break i}u[b+(q[f>>2]<<2)>>2]=v[g+8>>3]}bJ(a,c,d,h,k)}fi=i+48|0;return}J(49395,49228,461,49470);G()}J(49204,49228,501,49307);G()}J(49482,49228,447,49493);G()}function eM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-80|0;fi=d;if(q[b+8>>2]-6>>>0>=4){xj(a,127922)}i=b+8|0;a:{b:{c:{d:{e:{f:{e=q[a+16>>2]-44|0;if(e){if((e|0)==17){break e}break f}yj(a);q[d+48>>2]=b;Ew(a,d+56|0);if(q[d+56>>2]!=6){break c}f=q[a+48>>2];g=q[f+36>>2];while(1){g:{if(q[b+8>>2]==9){e=q[d+64>>2];if((e|0)==q[b+16>>2]){q[b+16>>2]=g;h=1;e=q[d+64>>2]}if(q[b+20>>2]==(e|0)){break g}}b=q[b>>2];if(b){continue}if(!h){break c}e=q[d+64>>2];break d}q[b+20>>2]=g;h=1;b=q[b>>2];if(b){continue}break}break d}b=q[a+52>>2];q[d>>2]=Xk(a,61);xj(a,Oi(b,127343,d))}yj(a);Tk(a,d+48|0,0);b=1;if(q[a+16>>2]==44){while(1){yj(a);pm(q[a+48>>2],d+48|0);Tk(a,d+48|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}}e=q[a+48>>2];if((b|0)!=(c|0)){YA(e,c,b,d+48|0);if((b|0)<=(c|0)){break b}e=q[a+48>>2];q[e+36>>2]=q[e+36>>2]+(c-b|0);break b}hX(e,d+48|0);a=q[a+48>>2];break a}dm(f,0,q[f+36>>2],e,0);Fp(f,1)}b=200-s[q[a+52>>2]+52>>1]|0;if((b|0)<(c|0)){e=q[a+48>>2];f=q[e+16>>2];g=q[q[e>>2]+60>>2];h:{if(!g){q[d+16>>2]=b;q[d+20>>2]=127935;b=Oi(f,127488,d+16|0);break h}q[d+36>>2]=b;q[d+32>>2]=g;q[d+40>>2]=127935;b=Oi(f,127522,d+32|0)}Kl(q[e+12>>2],b,0)}eM(a,d+48|0,c+1|0)}a=q[a+48>>2];b=q[a+36>>2];q[d+64>>2]=-1;q[d+68>>2]=-1;q[d+48>>2]=12;q[d+56>>2]=b-1}tx(a,i,d+48|0);fi=d+80|0}function Gy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=fi-1072|0;fi=f;a:{if(o[291832]&1){break a}if(!ui(291832)){break a}if(r[852367]){e=Ri(25947)}else{e=-1}q[72957]=e;ti(291832)}b:{if(o[291840]&1){break b}if(!ui(291840)){break b}if(r[852367]){e=Yi(25956,6)}else{e=0}q[72959]=e;ti(291840)}e=q[72957];c:{if((e|0)!=-1){Qi(f+1056|0,e,25956,q[72959]);break c}q[f+1056>>2]=0}d:{e:{f:{g:{h:{if(b){if(!c){break h}if(!d){break g}q[c>>2]=0;q[d>>2]=0;e=r[b|0];if((e|0)!=47){if(!e){mi(4,24355,24364,0);a=-3;break d}q[f>>2]=b;mi(4,24355,24384,f);a=-3;break d}j=q[a+5140>>2];tj(j);q[f+16>>2]=24354;q[f+20>>2]=b;cj(f+32|0,1024,24348,f+16|0);h=f+32|0;g=h;while(1){e=r[g|0];i:{j:{if((e|0)!=47){if(e){break j}o[h|0]=0;i=a+7376|0;h=a+7380|0;g=a+7384|0;e=q[a+7376>>2];if((q[g>>2]-e|0)!=1048576){if(o[a+7388|0]&1){break f}vi(1048576,1,i,g,a+7380|0);e=q[a+7376>>2]}q[h>>2]=e;a=pu(a,f+32|0,b,f+28|0,i);if(!a){b=q[i>>2];g=c;c=q[f+28>>2];e=xi(c);q[g>>2]=e;if((b|0)!=q[i>>2]){break e}si(e,b,c);q[d>>2]=c}lj(j);break d}if((i&255)==47){break i}}o[h|0]=e;h=h+1|0}g=g+1|0;i=e;continue}}J(25719,24439,1267,25956);G()}J(25728,24439,1268,25956);G()}J(25963,24439,1269,25956);G()}J(27518,26974,461,27593);G()}J(25977,24439,1288,25956);G()}if(q[f+1056>>2]){Pi(f+1056|0)}fi=f+1072|0;return a}function Lva(){q[59211]=q[72890];q[72890]=236816;q[59249]=q[72890];q[72890]=236968;q[59285]=q[72890];q[72890]=237112;q[59311]=q[72890];q[72890]=237216;q[59339]=q[72890];q[72890]=237328;q[59357]=q[72890];q[72890]=237400;q[59407]=q[72890];q[72890]=237600;q[59459]=q[72890];q[72890]=237808;q[59477]=q[72890];q[72890]=237880;q[59523]=q[72890];q[72890]=238064;q[59567]=q[72890];q[72890]=238240;q[72836]=1;q[72834]=-837310683;q[72835]=-705779925;q[72833]=21481;q[72832]=1;q[72839]=0;o[291352]=0;q[72837]=q[72830];q[72839]=q[72890];q[72890]=291328;q[72846]=1;q[72844]=246251198;q[72845]=718133641;q[72843]=21501;q[72842]=1;q[72849]=0;o[291392]=0;q[72847]=q[72841];q[72849]=q[72890];q[72890]=291368;q[72856]=1;q[72854]=2127212355;q[72855]=1376186741;q[72853]=21521;q[72852]=1;q[72859]=0;o[291432]=0;q[72857]=q[72851];q[72859]=q[72890];q[72890]=291408;q[59623]=q[72890];q[72890]=238464;q[59645]=q[72890];q[72890]=238552;q[72870]=1;q[72868]=772958340;q[72869]=1445875888;q[72867]=21655;q[72866]=1;q[72873]=0;o[291488]=0;q[72871]=q[72864];q[72873]=q[72890];q[72890]=291464;q[72880]=1;q[72878]=-779701654;q[72879]=342456181;q[72877]=21662;q[72876]=1;q[72883]=0;o[291528]=0;q[72881]=q[72875];q[72883]=q[72890];q[72890]=291504;q[59679]=q[72890];q[72890]=238688}function CB(a,b,c,d,e,f){var g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),o=0,r=x(0),s=0;h=fi-16|0;fi=h;q[h+12>>2]=a;m=a;while(1){q[h+8>>2]=m;j=0;l=0;i=x(0);n=x(0);a:{if(f){while(1){g=lo(h+12|0);b:{if(!g){break b}j=j+1|0;if((g|0)==10|(g|0)==8203){break b}if((g|0)!=32){continue}}c:{if((j|0)<1){break c}k=j-((g|0)!=0)|0;i=iG(e,m,k,1);if(!(i<=b^1)){q[h+8>>2]=q[h+12>>2];l=k;n=i;break c}if(!l){l=0;break c}q[h+12>>2]=q[h+8>>2];g=lo(h+8|0)}if(b>=i^1){break a}switch(g|0){case 0:case 10:break a;default:continue}}}while(1){g=lo(h+12|0);d:{if(!g){break d}j=j+1|0;if((g|0)==10|(g|0)==8203){break d}if((g|0)!=32){continue}}e:{if((j|0)<1){break e}f:{k=j-((g|0)!=0)|0;i=iG(e,m,k,0);if(!(i<=b^1)){q[h+8>>2]=q[h+12>>2];if((g|0)==10){l=k;g=10;n=i;break e}g=lo(h+12|0);if(!g){break f}while(1){g:{j=j+1|0;if((g|0)!=32?(g|0)!=8203:0){break g}g=lo(h+12|0);if(g){continue}break f}break}l=k;n=i;break e}if(!l){l=0;break e}q[h+12>>2]=q[h+8>>2];g=lo(h+8|0);break e}l=k;g=0;n=i}if(b>=i^1){break a}switch(g|0){case 0:case 10:break a;default:continue}}}h:{if(o>>>0>=128){break h}k=(g|0)!=0;s=j-k|0;j=!l&b0|k)){break h}k=(o<<3)+c|0;p[k+6>>1]=l;p[k+4>>1]=m-a;i=j?i:n;u[k>>2]=i;r=i>2];continue}break}u[d>>2]=r;fi=h+16|0;return o}function YV(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-288|0;fi=d;Qr(d+8|0);q[a+4>>2]=a+8;g=oq(d+8|0,b,c);if(!g){e=q[d+8>>2];q[a>>2]=e;h=q[d+12>>2];f=h+(e<<4)|0;q[a+8>>2]=q[f>>2];q[a+12>>2]=q[f+4>>2];q[a+16>>2]=q[f+8>>2];q[a+20>>2]=q[f+12>>2];b=a+24|0;c=f-16|0;if((e|0)<2){a=f+16|0}else{while(1){a=q[c>>2];q[b>>2]=q[(r[(a>>>8&255)+842960|0]<<2)+844240>>2]^q[(r[(a&255)+842960|0]<<2)+843216>>2]^q[(r[(a>>>16&255)+842960|0]<<2)+845264>>2]^q[(r[(a>>>24|0)+842960|0]<<2)+846288>>2];a=q[c+4>>2];q[b+4>>2]=q[(r[(a>>>8&255)+842960|0]<<2)+844240>>2]^q[(r[(a&255)+842960|0]<<2)+843216>>2]^q[(r[(a>>>16&255)+842960|0]<<2)+845264>>2]^q[(r[(a>>>24|0)+842960|0]<<2)+846288>>2];a=q[c+8>>2];q[b+8>>2]=q[(r[(a>>>8&255)+842960|0]<<2)+844240>>2]^q[(r[(a&255)+842960|0]<<2)+843216>>2]^q[(r[(a>>>16&255)+842960|0]<<2)+845264>>2]^q[(r[(a>>>24|0)+842960|0]<<2)+846288>>2];a=q[c+12>>2];q[b+12>>2]=q[(r[(a>>>8&255)+842960|0]<<2)+844240>>2]^q[(r[(a&255)+842960|0]<<2)+843216>>2]^q[(r[(a>>>16&255)+842960|0]<<2)+845264>>2]^q[(r[(a>>>24|0)+842960|0]<<2)+846288>>2];c=c-16|0;b=b+16|0;a=(e|0)>2;e=e-1|0;if(a){continue}break}c=h;a=c+32|0}q[b>>2]=q[c>>2];q[b+4>>2]=q[a-28>>2];q[b+8>>2]=q[a-24>>2];q[b+12>>2]=q[a-20>>2]}a=d+8|0;if(a){ji[q[66742]](a,0,280)|0}fi=d+288|0;return g}function QF(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=fi-80|0;fi=g;a:{if(o[291848]&1){break a}if(!ui(291848)){break a}if(r[852367]){f=Ri(25947)}else{f=-1}q[72961]=f;ti(291848)}b:{if(o[291856]&1){break b}if(!ui(291856)){break b}if(r[852367]){f=Yi(26273,3)}else{f=0}q[72963]=f;ti(291856)}f=q[72961];c:{if((f|0)!=-1){Qi(g- -64|0,f,26273,q[72963]);break c}q[g+64>>2]=0}k=q[a+5140>>2];tj(k);d:{if(d){h=-3;i=q[a>>2];f=q[i+4>>2];e:{if(!f){break e}f=q[q[i>>2]+(lwa(b,c,f)<<2)>>2];if((f|0)==-1){break e}i=q[i+8>>2];while(1){j=i+w(f,48)|0;if((b|0)!=q[j>>2]|q[j+4>>2]!=(c|0)){f=q[j+40>>2];if((f|0)!=-1){continue}break e}break}f=i+w(f,48)|0;h=q[f+32>>2];i=q[h+32>>2];if(!i){h=-15;break e}if(!e){break d}q[g+24>>2]=a;h=q[h+12>>2];q[g+52>>2]=0;q[g+28>>2]=h;j=f+8|0;q[g+56>>2]=j;q[g+48>>2]=e;q[g+44>>2]=d;q[g+40>>2]=0;q[g+32>>2]=b;q[g+36>>2]=c;h=ji[i|0](g+24|0)|0;if(h){break e}e=q[a+12>>2];if(!e){h=0;break e}h=0;d=q[e>>2];if((d|0)==q[e+4>>2]){break e}f=0;while(1){d=(f<<3)+d|0;e=q[d+4>>2];q[g+16>>2]=b;q[g+20>>2]=c;q[g+8>>2]=0;q[g+4>>2]=j;q[g>>2]=e;ji[q[d>>2]](g);e=q[a+12>>2];d=q[e>>2];f=f+1|0;if(f>>>0>2]-d>>3>>>0){continue}break}}lj(k);if(q[g+64>>2]){Pi(g- -64|0)}fi=g+80|0;return h}J(26277,24439,1411,26282);G()}J(26294,24439,1423,26282);G()}function xB(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{b:{c:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];g=q[a>>2];if(t[(c+w(d,48)|0)+24>>2]>2]){q[e>>2]=d;q[e+4>>2]=q[a>>2];return}q[e>>2]=g;q[e+4>>2]=q[b>>2];return;default:if((d|0)<=8){if((a|0)==(b|0)){break a}d=q[a>>2];q[e>>2]=d;f=a+4|0;if((f|0)==(b|0)){break a}h=q[c>>2];a=e;while(1){g=a+4|0;c=q[f>>2];d:{if(t[(h+w(c,48)|0)+24>>2]>2]){q[a+4>>2]=d;i=e;e:{if((a|0)==(e|0)){break e}while(1){d=a-4|0;c=q[d>>2];i=a;if(t[(h+w(q[f>>2],48)|0)+24>>2]>=t[(h+w(c,48)|0)+24>>2]){break e}q[a>>2]=c;a=d;if((e|0)!=(a|0)){continue}break}i=e}q[i>>2]=q[f>>2];break d}q[g>>2]=c}f=f+4|0;if((f|0)==(b|0)){break a}d=q[g>>2];a=g;continue}}f=d>>>1|0;h=f<<2;g=h+a|0;jp(a,g,c,f,e,f);d=d-f|0;jp(g,b,c,d,e+h|0,d);c=q[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){q[e>>2]=q[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=q[d>>2];h=q[a>>2];f:{if(t[(c+w(f,48)|0)+24>>2]>2]){q[e>>2]=f;d=d+4|0;break f}q[e>>2]=h;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break}break b;case 0:break a;case 1:break c}}q[e>>2]=q[a>>2];break a}if((b|0)==(d|0)){break a}while(1){q[e>>2]=q[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function dta(a,b){var c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;q[f+12>>2]=$sa(b);o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;g=a;a=0;while(1){c=hj(b,0,a);a:{b:{c:{d:{e=fp(f+12|0)+fp(f+12|0)|0;switch(e|0){case 10:break c;case 0:break d;default:break b}}d=c-2|0;break a}d=c+2|0;break a}d=c-1|0;if(e>>>0<=2){break a}d=c+(e>>>0>7)|0}c=d;o[Gi(g,0,a)|0]=(c|0)<0?0:(c|0)>3?3:c;c=hj(b,1,a);e:{f:{g:{h:{e=fp(f+12|0)+fp(f+12|0)|0;switch(e|0){case 0:break g;case 10:break h;default:break f}}d=c+2|0;break e}d=c-2|0;break e}d=c+(e>>>0>7)|0;if(e>>>0>=3){break e}d=c-1|0}c=d;o[Gi(g,1,a)|0]=(c|0)<0?0:(c|0)>3?3:c;c=hj(b,2,a);i:{j:{k:{l:{e=fp(f+12|0)+fp(f+12|0)|0;switch(e|0){case 0:break k;case 10:break l;default:break j}}d=c+2|0;break i}d=c-2|0;break i}d=c+(e>>>0>7)|0;if(e>>>0>=3){break i}d=c-1|0}c=d;o[Gi(g,2,a)|0]=(c|0)<0?0:(c|0)>3?3:c;c=hj(b,3,a);m:{n:{o:{p:{e=fp(f+12|0)+fp(f+12|0)|0;switch(e|0){case 0:break o;case 10:break p;default:break n}}d=c+2|0;break m}d=c-2|0;break m}d=c+(e>>>0>7)|0;if(e>>>0>=3){break m}d=c-1|0}c=d;o[Gi(g,3,a)|0]=(c|0)<0?0:(c|0)>3?3:c;a=a+1|0;if((a|0)!=4){continue}break}fi=f+16|0}function Hx(){q[213629]=0;q[213630]=0;q[213637]=0;q[213638]=0;q[213645]=0;q[213646]=0;q[213653]=0;q[213654]=0;q[213635]=0;q[213636]=0;q[213633]=0;q[213634]=0;q[213631]=0;q[213632]=0;q[213630]=6;q[213638]=6;q[213639]=0;q[213640]=0;q[213641]=0;q[213642]=0;q[213643]=0;q[213644]=1;q[213646]=6;q[213647]=0;q[213648]=0;q[213649]=0;q[213650]=0;q[213651]=0;q[213652]=2;q[213655]=0;q[213656]=0;q[213657]=0;q[213658]=0;q[213660]=3;q[213659]=0;q[213654]=6;q[213665]=0;q[213666]=0;q[213663]=0;q[213664]=0;q[213661]=0;q[213662]=0;q[213668]=4;q[213667]=0;q[213662]=6;q[213673]=0;q[213674]=0;q[213671]=0;q[213672]=0;q[213669]=0;q[213670]=0;q[213676]=5;q[213675]=0;q[213670]=6;q[213681]=0;q[213682]=0;q[213679]=0;q[213680]=0;q[213677]=0;q[213678]=0;q[213684]=6;q[213683]=0;q[213678]=6;q[213689]=0;q[213690]=0;q[213687]=0;q[213688]=0;q[213685]=0;q[213686]=0;q[213692]=7;q[213691]=0;q[213686]=6;q[213697]=0;q[213698]=0;q[213695]=0;q[213696]=0;q[213693]=0;q[213694]=0;q[213700]=8;q[213699]=0;q[213694]=6;q[213705]=0;q[213706]=0;q[213703]=0;q[213704]=0;q[213701]=0;q[213702]=0;q[213708]=9;q[213707]=0;q[213702]=6;q[213713]=0;q[213714]=0;q[213711]=0;q[213712]=0;q[213709]=0;q[213710]=0;q[213716]=10;q[213715]=0;q[213710]=6;Bb()|0;ub(1354)|0;return 1}function A_(a,b,c,d,e,f){var g=0,h=0,i=0;g=fi-144|0;fi=g;q[g+136>>2]=0;q[g+128>>2]=1;q[g+132>>2]=0;q[g+120>>2]=0;q[g+112>>2]=1;q[g+116>>2]=0;q[g+104>>2]=0;q[g+96>>2]=1;q[g+100>>2]=0;q[g+88>>2]=0;q[g+80>>2]=1;q[g+84>>2]=0;h=g- -64|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;i=d+24|0;h=Bp(a,g+128|0,d,i);a:{if(h){break a}h=Jj(a,g+112|0,g+128|0,g+128|0);if(h){break a}h=mm(a,g+96|0,d,i);if(h){break a}h=Jj(a,g+80|0,g+96|0,g+96|0);if(h){break a}h=mm(a,g- -64|0,g+112|0,g+80|0);if(h){break a}d=e+24|0;h=Bp(a,g+48|0,e,d);if(h){break a}h=mm(a,g+32|0,e,d);if(h){break a}h=Jj(a,g+16|0,g+32|0,g+128|0);if(h){break a}h=Jj(a,g,g+48|0,g+96|0);if(h){break a}h=vl(c,g+16|0,g);if(h){break a}h=JE(c,a);if(h){break a}h=Jj(a,c,c,c);if(h){break a}c=c+24|0;h=mm(a,c,g+16|0,g);if(h){break a}h=Jj(a,c,c,c);if(h){break a}h=Jj(a,c,f,c);if(h){break a}h=Jj(a,b,g+112|0,g+80|0);if(h){break a}b=b+24|0;h=Jj(a,b,a+16|0,g- -64|0);if(h){break a}h=Bp(a,b,g+80|0,b);if(h){break a}h=Jj(a,b,g- -64|0,b)}Ji(g+128|0);Ji(g+112|0);Ji(g+96|0);Ji(g+80|0);Ji(g- -64|0);Ji(g+48|0);Ji(g+32|0);Ji(g+16|0);Ji(g);fi=g+144|0;return h}function zt(a,b){var c=0,d=0,e=0,f=0;f=a+40|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){qi((a+c|0)+40|0,0,55-e|0);break a}qi((a+c|0)+40|0,0,e^63);Kr(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+103|0]=d<<3;o[a+102|0]=d>>>5;o[a+101|0]=d>>>13;o[a+100|0]=d>>>21;c=q[a+4>>2];o[a+98|0]=c>>>5;o[a+97|0]=c>>>13;o[a+96|0]=c>>>21;o[a+99|0]=c<<3|d>>>29;Kr(a,f);o[b|0]=r[a+11|0];o[b+1|0]=s[a+10>>1];o[b+2|0]=q[a+8>>2]>>>8;o[b+3|0]=q[a+8>>2];o[b+4|0]=r[a+15|0];o[b+5|0]=s[a+14>>1];o[b+6|0]=q[a+12>>2]>>>8;o[b+7|0]=q[a+12>>2];o[b+8|0]=r[a+19|0];o[b+9|0]=s[a+18>>1];o[b+10|0]=q[a+16>>2]>>>8;o[b+11|0]=q[a+16>>2];o[b+12|0]=r[a+23|0];o[b+13|0]=s[a+22>>1];o[b+14|0]=q[a+20>>2]>>>8;o[b+15|0]=q[a+20>>2];o[b+16|0]=r[a+27|0];o[b+17|0]=s[a+26>>1];o[b+18|0]=q[a+24>>2]>>>8;o[b+19|0]=q[a+24>>2];o[b+20|0]=r[a+31|0];o[b+21|0]=s[a+30>>1];o[b+22|0]=q[a+28>>2]>>>8;o[b+23|0]=q[a+28>>2];o[b+24|0]=r[a+35|0];o[b+25|0]=s[a+34>>1];o[b+26|0]=q[a+32>>2]>>>8;o[b+27|0]=q[a+32>>2];if(!q[a+104>>2]){o[b+28|0]=r[a+39|0];o[b+29|0]=s[a+38>>1];o[b+30|0]=q[a+36>>2]>>>8;o[b+31|0]=q[a+36>>2]}return 0}function zL(a,b){var c=0,d=0,e=0;if(!r[b+21|0]){q[a+116>>2]=21;return-1}c=q[a+1412>>2];a:{if((c|0)>9){break a}if(!c){q[a+1408>>2]=0}while(1){c=r[a+1392|0];b:{c:{d:{e:{f:{if(q[a+1400>>2]){if(c&255){break f}break a}if(c&255){break f}d=q[a+1396>>2];if((d|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break a}if(!(o[a+1391|0]&1)){break e}d=q[a+1396>>2]}e=d+1|0;q[a+1396>>2]=e;c=r[(a+d|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=d;q[a+1400>>2]=1}if(q[a+1132>>2]<=(e|0)){q[a+1396>>2]=-1}if(r[a+1392|0]){break d}o[a+1392|0]=c;if(!c){break a}}o[a+1392|0]=c-1;q[a+1416>>2]=q[a+1416>>2]+1;c=q[a+32>>2];g:{if(c){if(c>>>0>=t[a+40>>2]){break c}q[a+32>>2]=c+1;c=r[c|0];break g}c=pj(q[a+20>>2]);if((c|0)==-1){break c}}c=c&255;break b}q[a+116>>2]=32;break a}J(203021,202968,1480,203042);G()}q[a+112>>2]=1;c=0}d=q[a+1412>>2];q[a+1412>>2]=d+8;q[a+1408>>2]=q[a+1408>>2]+(c<>2];c=p[(((d&1023)<<1)+b|0)+36>>1];h:{if((c|0)>=0){e=d;d=r[c+q[b+8>>2]|0];q[a+1408>>2]=e>>>d;e=q[a+1412>>2]-d|0;d=(e|0)<0;q[a+1412>>2]=d?0:e;c=d?-1:c;break h}c=so(a,b)}if(!((c|0)>=q[b+2092>>2]?r[b+23|0]:0)){if(!((c|0)>-1|(q[a+1400>>2]?!r[a+1392|0]:0))){q[a+116>>2]=21}return c}J(203260,202968,1709,203282);G()}function cA(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0;f=fi+ -64|0;fi=f;g=r[e+40|0];q[a+72>>2]=0;o[a+76|0]=g;g=q[e+8>>2];i=q[e+12>>2];a:{if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){q[a>>2]=g;q[a+4>>2]=i;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;b=q[e+36>>2];q[a+24>>2]=q[e+32>>2];q[a+28>>2]=b;u[f>>2]=u[d>>2];u[f+4>>2]=u[d+4>>2];u[f+8>>2]=u[d+8>>2];u[f+12>>2]=u[d+12>>2];$o(f+24|0,f);c=q[f+60>>2];b=a- -64|0;q[b>>2]=q[f+56>>2];q[b+4>>2]=c;b=q[f+52>>2];q[a+56>>2]=q[f+48>>2];q[a+60>>2]=b;b=q[f+44>>2];q[a+48>>2]=q[f+40>>2];q[a+52>>2]=b;b=q[f+36>>2];q[a+40>>2]=q[f+32>>2];q[a+44>>2]=b;b=q[f+28>>2];q[a+32>>2]=q[f+24>>2];q[a+36>>2]=b;break a}b:{if((b|0)==(g|0)&(c|0)==(i|0)){h=u[d>>2];break b}if(q[e+16>>2]==(b|0)&q[e+20>>2]==(c|0)){h=u[d+4>>2];break b}if(q[e+24>>2]==(b|0)&q[e+28>>2]==(c|0)){h=u[d+8>>2];break b}j=-1;if((b|0)!=q[e+32>>2]|(c|0)!=q[e+36>>2]){break a}h=u[d+12>>2]}b=f+24|0;q[b>>2]=0;v[b+8>>3]=h;c=q[f+60>>2];b=a- -64|0;q[b>>2]=q[f+56>>2];q[b+4>>2]=c;b=q[f+52>>2];q[a+56>>2]=q[f+48>>2];q[a+60>>2]=b;b=q[f+44>>2];q[a+48>>2]=q[f+40>>2];q[a+52>>2]=b;b=q[f+36>>2];q[a+40>>2]=q[f+32>>2];q[a+44>>2]=b;b=q[f+28>>2];q[a+32>>2]=q[f+24>>2];q[a+36>>2]=b;j=0}fi=f- -64|0;return j}function Oha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-112|0;fi=b;e=Ti(b+88|0,a,0,67527,853);d=Pj(a,2);f=ii;c=q[q[Kj(a)+80>>2]+8>>2];q[b+84>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;Hk(a,1,c,67321,b+84|0,b+24|0,b+80|0);c=Hia(q[b+80>>2],q[b+84>>2],d,f,b+76|0);a:{if(c){q[b+20>>2]=c;q[b+16>>2]=q[(c<<2)+242016>>2];a=uj(e,69398,b+16|0);break a}o[b+24|0]=0;b:{c:{d:{e:{f:{g:{c=q[b+76>>2];switch(c|0){case 4:break c;case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break b}}q[b+36>>2]=0;q[b+28>>2]=1065353216;q[b+32>>2]=0;break b}q[b+28>>2]=0;break b}o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;o[b+53|0]=0;o[b+54|0]=0;o[b+55|0]=0;o[b+56|0]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+57|0]=0;break b}q[b+68>>2]=0;q[b+72>>2]=0;q[b+36>>2]=1065353216;q[b+40>>2]=0;q[b+44>>2]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;q[b+56>>2]=0;q[b+60>>2]=0;o[b- -64|0]=0;break b}q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0}cJ(a,c,3,b+24|0);d=sJ(q[b+80>>2],q[b+84>>2],d,f);a=0;if(!d){break a}q[b+4>>2]=d;q[b>>2]=q[(d<<2)+242016>>2];a=uj(e,69464,b)}Si(e);fi=b+112|0;return a|0}function Pva(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;q[73860]=li(50852);q[73861]=ii;q[73862]=li(50871);q[73863]=ii;q[73864]=li(50888);q[73865]=ii;q[73866]=li(50897);q[73867]=ii;q[73868]=li(50903);q[73869]=ii;q[73870]=li(50913);q[73871]=ii;q[73872]=li(50921);q[73873]=ii;q[73874]=li(50928);q[73875]=ii;q[73876]=li(50937);q[73877]=ii;q[73878]=li(50949);q[73879]=ii;q[73880]=li(50958);q[73881]=ii;q[73882]=li(50963);q[73883]=ii;q[73884]=li(50969);q[73885]=ii;q[73886]=li(50975);q[73887]=ii;q[73888]=li(50984);q[73889]=ii;q[73890]=li(50993);q[73891]=ii;q[73892]=li(51002);q[73893]=ii;q[73894]=li(51011);q[73895]=ii;q[73896]=li(51020);q[73897]=ii;q[73898]=li(51029);q[73899]=ii;q[73900]=li(51038);q[73901]=ii;q[73902]=li(51047);q[73903]=ii;q[73904]=li(51056);q[73905]=ii;q[73906]=li(51065);q[73907]=ii;a=li(51077);b=ii;c=li(51083);d=ii;e=li(51091);f=ii;g=li(51099);o[295664]=0;q[73914]=g;q[73915]=ii;q[73912]=e;q[73913]=f;q[73910]=c;q[73911]=d;q[73908]=a;q[73909]=b;a=li(51107);b=ii;c=li(51112);d=ii;e=li(51119);f=ii;g=li(51126);o[295704]=1;q[73924]=g;q[73925]=ii;q[73922]=e;q[73923]=f;q[73920]=c;q[73921]=d;q[73918]=a;q[73919]=b;q[73928]=li(51133);q[73929]=ii;q[73930]=li(51140);q[73931]=ii;q[73932]=li(51154);q[73933]=ii}function $I(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,p=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;f=s[a+162>>1];if(!f){return 0}b=s[a+160>>1];a:{while(1){b=b&65535;b:{if(!b){b=0;break b}A=i<<5;f=0;c:{while(1){c=w(b,i)+f|0;d=q[a+108>>2];if(c>>>0>2]-d>>>0){j=d+c|0;d=r[j|0];d:{if(!(d&1)){b=d>>>1&1;break d}o[j|0]=d&254;g=q[a+156>>2];k=q[q[g+4>>2]+8>>2];l=q[g+36>>2];p=q[g+28>>2];m=q[g+40>>2];c=q[g+32>>2];t=d&252;o[j|0]=t;b=0;if(!k){break d}u=q[a+124>>2];n=q[a+128>>2]-u|0;e:{d=m+A|0;e=d+32|0;v=c&2147483647;c=m+v|0;x=(c|0)>(e|0)?e:c;if((x|0)>(d|0)){h=0;c=l+(f<<5)|0;b=c+32|0;e=l+p|0;y=(b|0)<(e|0)?b:e;if((y|0)<=(c|0)){b=0;if(k-1>>>0>=n>>>0){break a}break d}while(1){if((h|0)==(n|0)){break a}if(o[h+u|0]&1){B=w(h,v)-q[g+40>>2]|0;C=q[a+100>>2];l=q[g+36>>2];e=d;while(1){m=w(e+B|0,p)-l|0;b=c;while(1){if(s[(b+m<<1)+C>>1]!=65535){break e}b=b+1|0;if((y|0)>(b|0)){continue}break}e=e+1|0;if((x|0)>(e|0)){continue}break}}b=0;h=h+1|0;if((k|0)!=(h|0)){continue}break}break d}if(k-1>>>0>>0){break d}break a}o[j|0]=t|2;b=1}z=b+z|0;b=s[a+160>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break c}break}break a}f=s[a+162>>1]}i=i+1|0;if(i>>>0<(f&65535)>>>0){continue}break}return z}J(53991,53817,447,53980);G()}function fla(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=x(0),m=0;h=fi-832|0;fi=h;b=q[q[a+12>>2]>>2];a:{if(o[b+22|0]&1){k=q[b+8>>2];b=qi(h+16|0,0,816);c=q[a+4>>2];e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;u[b+8>>2]=u[c+8>>2];d=s[c+952>>1];e=d>>>1|0;g=s[b+808>>1]&-241|e&16|e&32|e&64|e&128;p[b+808>>1]=g;u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];i=q[c+804>>2];d=d&7|g&-8;p[b+808>>1]=d;q[b+804>>2]=i;u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];l=u[c+52>>2];p[b+808>>1]=d&65279|e&256;u[b+52>>2]=l;i=q[c+540>>2];q[b+540>>2]=i;g=0;if((i|0)>0){while(1){d=w(g,44);e=d+b|0;d=c+d|0;q[e+96>>2]=q[d+96>>2];f=q[d+92>>2];q[e+88>>2]=q[d+88>>2];q[e+92>>2]=f;f=q[d+84>>2];q[e+80>>2]=q[d+80>>2];q[e+84>>2]=f;f=q[d+76>>2];q[e+72>>2]=q[d+72>>2];q[e+76>>2]=f;j=d- -64|0;m=q[j+4>>2];f=e- -64|0;q[f>>2]=q[j>>2];q[f+4>>2]=m;f=q[d+60>>2];q[e+56>>2]=q[d+56>>2];q[e+60>>2]=f;g=g+1|0;if((i|0)!=(g|0)){continue}break}}q[b+800>>2]=kj(b+544|0,c+544|0,256);p[b+808>>1]=s[b+808>>1]&65527|s[q[a+4>>2]+952>>1]>>>1&8;b=Oba(k,b,h+15|0);a=b?-1e3:1;if(r[h+15|0]|b){break a}}a=0}fi=h+832|0;return a|0}function WI(a){var b=0,c=0,d=0,e=0;d=fi-32|0;fi=d;a:{if(o[299988]&1){break a}if(!ui(299988)){break a}if(r[852367]){b=Ri(80454)}else{b=-1}q[74996]=b;ti(299988)}b:{if(o[299996]&1){break b}if(!ui(299996)){break b}if(r[852367]){b=Yi(80463,18)}else{b=0}q[74998]=b;ti(299996)}b=q[74996];c:{if((b|0)!=-1){Qi(d,b,80463,q[74998]);break c}q[d>>2]=0}b=q[74990];c=q[74991];d:{e:{if(!a){if((b|0)==(c|0)){break e}c=0;while(1){f:{a=c<<2;b=q[a+b>>2];g:{if(!(ji[q[74974]](b)&1)){q[d+24>>2]=0;q[d+16>>2]=b;q[d+20>>2]=690;Uz(d+16|0);b=q[74991];e=q[74990];if(b-e>>2>>>0<=c>>>0){break f}q[a+e>>2]=q[b-4>>2];a=q[74991]-4|0;q[74991]=a;b=q[74990];if(b>>>0<=a>>>0){break g}J(80630,80515,484,80620);G()}c=c+1|0;b=q[74990];a=q[74991]}if(a-b>>2>>>0>c>>>0){continue}break e}break}J(80605,80515,481,80620);G()}a=c-b|0;if(!a){break e}if((b|0)!=(c|0)){c=b-c|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);e=a>>>0>1?a:1;c=0;while(1){a=q[(c<<2)+b>>2];Xa(1,a+4|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break d}}if(a){ki(a)}c=c+1|0;if((e|0)==(c|0)){break e}b=q[74990];if(q[74991]-b>>2>>>0>c>>>0){continue}break}}J(80504,80515,447,80594);G()}if(q[d>>2]){Pi(d)}fi=d+32|0;return}Mi(b,80482,2201);J(79249,79164,2201,80482);G()}function jma(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;i=fi-16|0;fi=i;f=q[q[a+12>>2]>>2];a:{b:{c=q[a+16>>2];b=q[c+80>>2];c:{if((b|0)==q[60744]){u[f+8>>2]=u[c+96>>2];u[f+12>>2]=u[c+100>>2];u[f+16>>2]=u[c+104>>2];u[f+20>>2]=u[c+108>>2];break c}if((b|0)==q[60745]){d=q[f+4>>2];c=d+20|0;b=q[c>>2];e=q[d+16>>2];g=b-e|0;d:{if(!g){break d}h=g>>2;c=0;g=0;while(1){b=c;c=b+1|0;j=c;k=b>>>0>=h-1>>>0;b=(b<<2)+e|0;g=q[b>>2]==(f|0)|g;if(!(k|!(g&1))){if(c>>>0>=h>>>0){break b}q[b>>2]=q[(c<<2)+e>>2];d=q[f+4>>2]}b=q[d+20>>2];e=q[d+16>>2];h=b-e>>2;if(j>>>0>>0){continue}break}c=d+20|0;if(!(g&1)){break d}if((b|0)==(e|0)){break a}b=b-4|0;q[d+20>>2]=b}if(q[d+24>>2]!=(b|0)){q[c>>2]=b+4;q[b>>2]=f;break c}a=q[a+16>>2];q[i>>2]=b-e>>2;Om(a,32809,i);break c}if((b|0)!=q[60746]){break c}d=q[f+4>>2];e=q[d+16>>2];a=q[d+20>>2]-e|0;if(!a){break c}h=a>>2;c=0;while(1){a=c;c=c+1|0;j=c;b=(a<<2)+e|0;g=q[b>>2]==(f|0)|g;if(!(!(g&1)|a>>>0>=h-1>>>0)){if(c>>>0>=h>>>0){break b}q[b>>2]=q[(c<<2)+e>>2];d=q[f+4>>2]}a=q[d+20>>2];e=q[d+16>>2];h=a-e>>2;if(j>>>0>>0){continue}break}if(!(g&1)){break c}if((a|0)==(e|0)){break a}q[d+20>>2]=a-4}fi=i+16|0;return 0}J(33037,32946,447,33048);G()}J(33059,32946,516,33070);G()}function v7(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;e=fi-224|0;fi=e;q[e+212>>2]=a;q[e+200>>2]=0;q[e+64>>2]=0;q[e+48>>2]=0;b=a+b|0;q[e+216>>2]=b;q[e+204>>2]=a;q[e+208>>2]=b;a=JO(e+32|0,e+28|0,e+24|0,e+20|0);a:{b:{if(a){i=2;h=q[e+24>>2];g=q[e+28>>2];c:{d:{e:{f:{g:{h:{b=q[e+20>>2];switch(b-1|0){case 0:break c;case 3:break f;case 2:break g;case 1:break h;default:break e}}if((g|h)<0|((2147483647/(h|0)|0)<(g|0)?h:0)){break d}j=xi(w(g,h));if(!j){break d}if(!((h|0)<1|(g|0)<1)){while(1){c=w(g,k);b=c+j|0;c=(c<<1)+a|0;f=g;while(1){o[b|0]=r[c|0];b=b+1|0;c=c+2|0;l=(f|0)>1;f=f-1|0;if(l){continue}break}k=k+1|0;if((k|0)!=(h|0)){continue}break}}ki(a);a=j;break c}i=0;break c}i=1;if(!c|(g|0)<1|(h|0)<1){break c}b=0;while(1){j=w(b,g);c=0;while(1){f=c+j<<2;i=(f|2)+a|0;k=r[i|0];l=(f|1)+a|0;n=r[l|0];m=a+f|0;f=r[(f|3)+a|0];o[m|0]=w(f,r[m|0])+255>>>8;o[l|0]=w(f,n)+255>>>8;o[i|0]=w(f,k)+255>>>8;c=c+1|0;if((g|0)!=(c|0)){continue}break}i=1;b=b+1|0;if((h|0)!=(b|0)){continue}break}break c}q[e+16>>2]=b;mi(4,154047,154052,e+16|0);ki(a);break b}ki(a);q[212945]=154488;a=0}q[d+12>>2]=a;q[d+8>>2]=i;q[d+4>>2]=h;q[d>>2]=g;a=0;break a}q[e>>2]=q[212945];mi(4,154047,154098,e)}a=-2}fi=e+224|0;return a}function P3(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=fi-80|0;fi=f;a:{if(o[291864]&1){break a}if(!ui(291864)){break a}if(r[852367]){e=Ri(25947)}else{e=-1}q[72965]=e;ti(291864)}b:{if(o[291872]&1){break b}if(!ui(291872)){break b}if(r[852367]){e=Yi(26282,11)}else{e=0}q[72967]=e;ti(291872)}e=q[72965];c:{if((e|0)!=-1){Qi(f- -64|0,e,26282,q[72967]);break c}q[f+64>>2]=0}j=q[a+5140>>2];tj(j);if(d){h=-3;g=q[a>>2];e=q[g+4>>2];d:{if(!e){break d}e=q[q[g>>2]+(lwa(b,c,e)<<2)>>2];if((e|0)==-1){break d}g=q[g+8>>2];while(1){i=g+w(e,48)|0;if((b|0)!=q[i>>2]|q[i+4>>2]!=(c|0)){e=q[i+40>>2];if((e|0)!=-1){continue}break d}break}e=g+w(e,48)|0;h=q[e+32>>2];g=q[h+32>>2];if(!g){h=-15;break d}q[f+24>>2]=a;h=q[h+12>>2];q[f+52>>2]=d;q[f+28>>2]=h;i=e+8|0;q[f+56>>2]=i;q[f+48>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=b;q[f+36>>2]=c;h=ji[g|0](f+24|0)|0;if(h){break d}e=q[a+12>>2];if(!e){h=0;break d}h=0;d=q[e>>2];if((d|0)==q[e+4>>2]){break d}e=0;while(1){d=(e<<3)+d|0;g=q[d+4>>2];q[f+16>>2]=b;q[f+20>>2]=c;q[f+8>>2]=0;q[f+4>>2]=i;q[f>>2]=g;ji[q[d>>2]](f);g=q[a+12>>2];d=q[g>>2];e=e+1|0;if(e>>>0>2]-d>>3>>>0){continue}break}}lj(j);if(q[f+64>>2]){Pi(f- -64|0)}fi=f+80|0;return h}J(26307,24439,1466,26282);G()}function qla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;d=q[a>>2];a=q[a+4>>2];if(r[270692]){Hp(q[d+48>>2],410,a)}a:{b=q[d>>2];c=q[d+4>>2];if((b|0)!=(c|0)){while(1){g=(e<<2)+b|0;if((a|0)==q[g>>2]){q[g>>2]=q[c-4>>2];c=q[d+4>>2]-4|0;q[d+4>>2]=c;b=q[d>>2];if(c>>>0>>0){break a}}e=e+1|0;if(e>>>0>2>>>0){continue}break}}b=q[a+36>>2]-q[a+32>>2]|0;b:{if(!b){break b}q[f>>2]=b>>2;mi(3,38938,39521,f);b=q[a+32>>2];d=q[a+36>>2];if((b|0)==(d|0)){break b}e=0;while(1){c=q[(e<<2)+b>>2];if(c){c:{if(o[c+36|0]&1){break c}b=q[c+24>>2];if(!b){break c}ki(b)}ki(c);d=q[a+36>>2];b=q[a+32>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}FG(q[a+76>>2]);b=q[a+16>>2];c=q[a+20>>2];if((b|0)!=(c|0)){e=0;while(1){d=q[(e<<2)+b>>2];if(d){Uq(d);c=q[a+20>>2];b=q[a+16>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}ji[q[74913]](q[a+48>>2]);ji[q[74896]](q[a+52>>2]);ji[q[74962]](q[a+72>>2]);qy(q[a+96>>2]);d:{if(o[a+68|0]&1){break d}b=q[a+56>>2];if(!b){break d}ki(b)}e:{if(o[a+44|0]&1){break e}b=q[a+32>>2];if(!b){break e}ki(b)}f:{if(o[a+28|0]&1){break f}b=q[a+16>>2];if(!b){break f}ki(b)}g:{if(o[a+12|0]&1){break g}b=q[a>>2];if(!b){break g}ki(b)}ki(a);fi=f+16|0;return 0}J(39613,39220,484,39603);G()}function nka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];ji[q[74913]](q[b+68>>2]);ji[q[74896]](q[q[b+72>>2]>>2]);ji[q[74896]](q[q[b+72>>2]+4>>2]);ji[q[74896]](q[q[b+72>>2]+8>>2]);ji[q[74896]](q[q[b+72>>2]+12>>2]);ji[q[74896]](q[q[b+72>>2]+16>>2]);ji[q[74896]](q[q[b+72>>2]+20>>2]);ji[q[74896]](q[q[b+72>>2]+24>>2]);ji[q[74896]](q[q[b+72>>2]+28>>2]);ji[q[74896]](q[q[b+72>>2]+32>>2]);ji[q[74896]](q[q[b+72>>2]+36>>2]);ji[q[74896]](q[q[b+72>>2]+40>>2]);ji[q[74896]](q[q[b+72>>2]+44>>2]);ji[q[74896]](q[q[b+72>>2]+48>>2]);ji[q[74896]](q[q[b+72>>2]+52>>2]);ji[q[74896]](q[q[b+72>>2]+56>>2]);ji[q[74896]](q[q[b+72>>2]+60>>2]);Hp(q[q[a>>2]+4>>2],435,b);a=q[b+96>>2];if(a){ki(q3(a))}c=q[b+76>>2];if(c){e=c-4|0;a=q[e>>2];if(a){a=(a<<4)+c|0;while(1){d=a;a=a-16|0;a:{if(o[d-4|0]&1){break a}d=q[a>>2];if(!d){break a}ki(d)}if((a|0)!=(c|0)){continue}break}}ki(e)}a=q[b+72>>2];if(a){ki(a)}b:{if(o[b+92|0]&1){break b}a=q[b+80>>2];if(!a){break b}ki(a)}c:{if(o[b+64|0]&1){break c}a=q[b+52>>2];if(!a){break c}ki(a)}d:{if(o[b+48|0]&1){break d}a=q[b+36>>2];if(!a){break d}ki(a)}e:{if(o[b+28|0]&1){break e}a=q[b+16>>2];if(!a){break e}ki(a)}f:{if(o[b+12|0]&1){break f}a=q[b>>2];if(!a){break f}ki(a)}ki(b);return 0}function fqa(a){a=a|0;var b=0,c=0;a:{if(r[855828]){a=q[a+4>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ek(a,193547,288528);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193553);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193577);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193598);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193620);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193642);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193663);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193687);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193705);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193730);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=9;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193749);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=10;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193784);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=32;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193797);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=255;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,193811);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(193482,193507,324,193531);G()}J(193826,193507,435,193531);G()}function Gna(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14016,13798,256,14079);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=2;c=b+q[e+8>>2]|0;b=q[a+20>>2];q[c>>2]=b;b=b+q[e+24>>2]|0;e=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=f>>>16;o[b+3|0]=f>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;c=r[d+28|0]|r[d+29|0]<<8|(r[d+30|0]<<16|r[d+31|0]<<24);e=r[d+24|0]|r[d+25|0]<<8|(r[d+26|0]<<16|r[d+27|0]<<24);o[b+24|0]=e;o[b+25|0]=e>>>8;o[b+26|0]=e>>>16;o[b+27|0]=e>>>24;o[b+28|0]=c;o[b+29|0]=c>>>8;o[b+30|0]=c>>>16;o[b+31|0]=c>>>24;c=r[d+20|0]|r[d+21|0]<<8|(r[d+22|0]<<16|r[d+23|0]<<24);e=r[d+16|0]|r[d+17|0]<<8|(r[d+18|0]<<16|r[d+19|0]<<24);o[b+16|0]=e;o[b+17|0]=e>>>8;o[b+18|0]=e>>>16;o[b+19|0]=e>>>24;o[b+20|0]=c;o[b+21|0]=c>>>8;o[b+22|0]=c>>>16;o[b+23|0]=c>>>24;c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);o[b+8|0]=d;o[b+9|0]=d>>>8;o[b+10|0]=d>>>16;o[b+11|0]=d>>>24;o[b+12|0]=c;o[b+13|0]=c>>>8;o[b+14|0]=c>>>16;o[b+15|0]=c>>>24;q[a+20>>2]=q[a+20>>2]+32}function Lta(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,p=0,q=0;p=j+k|0;o=j>>>0>p>>>0?1:o;a:{if(!o&e>>>0

>>0|o){break a}if((a&-2)==8){if((mwa(f<<2)|0)!=1){break a}if((mwa(g<<2)|0)!=1){break a}}e=(a|0)==9?l?9:8:a;a=Mv(e);if(!$L(e,c,h,i,m,n,w(f,g))){break a}b:{switch(e|0){case 1:return lm(b,f,g,d+j|0,k,1,a,h,i,m,n,-1,-1);case 2:return lm(b,f,g,d+j|0,k,2,a,h,i,m,n,-1,-1);case 3:return lm(b,f,g,d+j|0,k,3,a,h,i,m,n,-1,-1);case 4:return lm(b,f,g,d+j|0,k,4,a,h,i,m,n,0,-1);case 5:return lm(b,f,g,d+j|0,k,5,a,h,i,m,n,0,3);case 6:case 7:return lm(b,f,g,d+j|0,k,8,a,h,i,m,n,-1,-1);case 8:return lm(b,f,g,d+j|0,k,6,a,h,i,m,n,-1,-1);case 9:return lm(b,f,g,d+j|0,k,7,a,h,i,m,n,-1,-1);case 10:return lm(b,f,g,d+j|0,k,12,a,h,i,m,n,-1,-1);case 20:return lm(b,f,g,d+j|0,k,18,a,h,i,m,n,0,-1);case 21:return lm(b,f,g,d+j|0,k,19,a,h,i,m,n,0,3);case 13:return lm(b,f,g,d+j|0,k,22,a,h,i,m,n,-1,-1);case 14:return lm(b,f,g,d+j|0,k,24,a,h,i,m,n,-1,-1);case 15:return lm(b,f,g,d+j|0,k,25,a,h,i,m,n,-1,-1);case 16:return lm(b,f,g,d+j|0,k,29,a,h,i,m,n,-1,-1);default:J(85745,85651,9941,85892);G();case 11:case 12:case 17:case 18:case 19:break a;case 0:break b}}q=lm(b,f,g,d+j|0,k,0,a,h,i,m,n,-1,-1)}return q}function ot(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=fi-112|0;fi=f;g=q[a>>2];d=q[a+60>>2];e=q[d+4>>2];c=e+1|0;b=q[d+8>>2];a:{if(c>>>0<=b>>>0){b=q[d>>2];break a}if(b>>>0>=2147483646){Bk(f+32|0,q[a+64>>2]+16|0,80);b=q[a+52>>2];c=q[a+4>>2];q[f+24>>2]=127014;q[f+20>>2]=c;q[f+16>>2]=f+32;Oi(b,126991,f+16|0);oj(q[a+52>>2],3);b=q[d+8>>2]}c=q[a+52>>2];e=b<<1;b:{if((e|0)!=-2){b=dj(c,q[d>>2],b,e);break b}b=Rj(c)}q[d+8>>2]=e;q[d>>2]=b;e=q[d+4>>2];c=e+1|0}q[d+4>>2]=c;o[b+e|0]=g;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;c:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break c}b=mk(b)}q[d>>2]=b;if((b|0)==61){while(1){d=q[a+60>>2];e=q[d+4>>2];c=e+1|0;b=q[d+8>>2];d:{if(c>>>0<=b>>>0){b=q[d>>2];break d}if(b>>>0>=2147483646){Bk(f+32|0,q[a+64>>2]+16|0,80);b=q[a+52>>2];c=q[a+4>>2];q[f+8>>2]=127014;q[f+4>>2]=c;q[f>>2]=f+32;Oi(b,126991,f);oj(q[a+52>>2],3);b=q[d+8>>2]}c=q[a+52>>2];e=b<<1;e:{if((e|0)!=-2){b=dj(c,q[d>>2],b,e);break e}b=Rj(c)}q[d+8>>2]=e;q[d>>2]=b;e=q[d+4>>2];c=e+1|0}q[d+4>>2]=c;o[b+e|0]=61;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;f:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break f}b=mk(b)}q[d>>2]=b;h=h+1|0;if((b|0)==61){continue}break}}fi=f+112|0;return((b|0)!=(g|0)?-1:0)^h}function ura(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-112|0;fi=c;e=a;f=a;if((ri(a,1)|0)==8){b=1;e=In(a,1)}d=b|2;f=yl(f,d,132682,0);a:{b:{b=b+1|0;c:{if(Gj(a,b)){if(Wk(e,am(a,b),c+8|0)){break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;b=1;break a}if((ri(a,b)|0)!=6){break b}q[c>>2]=f;nj(a,132688,c);f=_i(a,-1,0);Hi(a,b);Hn(a,e,1)}if(!ln(e,f,c+8|0)){b=Mj(a,d,132719);break a}ij(a,0,2);if(Nj(f,83)){wi(a,q[c+24>>2]);pi(a,-2,132734);wi(a,c+44|0);pi(a,-2,132741);b=q[c+36>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132751);b=q[c+40>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132763);wi(a,q[c+20>>2]);pi(a,-2,132779)}if(Nj(f,108)){b=q[c+28>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132784)}if(Nj(f,117)){b=q[c+32>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132796)}if(Nj(f,110)){wi(a,q[c+12>>2]);pi(a,-2,132801);wi(a,q[c+16>>2]);pi(a,-2,132806)}if(Nj(f,76)){d:{if((a|0)==(e|0)){Hi(a,-2);Ok(a,-3);break d}Hn(e,a,1)}pi(a,-2,132815)}b=1;if(!Nj(f,102)){break a}e:{if((a|0)==(e|0)){Hi(a,-2);Ok(a,-3);break e}Hn(e,a,1)}pi(a,-2,132827);break a}b=Mj(a,b,132692)}fi=c+112|0;return b|0}function sE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=fi-208|0;fi=e;a:{b:{c:{if((a|0)!=10){if((a|0)!=2){break c}a=r[b|0];f=r[b+1|0];h=r[b+2|0];q[e+12>>2]=r[b+3|0];q[e+8>>2]=h;q[e+4>>2]=f;q[e>>2]=a;if(bq(c,d,208848,e)>>>0>>0){break a}break b}j=ej(b,208860,12);a=r[b+11|0]|r[b+10|0]<<8;f=r[b+9|0]|r[b+8|0]<<8;h=r[b+7|0]|r[b+6|0]<<8;g=r[b+5|0]|r[b+4|0]<<8;i=r[b+3|0]|r[b+2|0]<<8;l=r[b+1|0]|r[b|0]<<8;m=r[b+12|0];d:{if(j){j=r[b+15|0];k=r[b+14|0];b=r[b+13|0];q[e+84>>2]=a;q[e+80>>2]=f;q[e+88>>2]=b|m<<8;q[e+92>>2]=j|k<<8;q[e+76>>2]=h;q[e+72>>2]=g;q[e+68>>2]=i;q[e+64>>2]=l;bq(e+96|0,100,208873,e- -64|0);break d}j=r[b+13|0];k=r[b+14|0];q[e+52>>2]=r[b+15|0];q[e+48>>2]=k;q[e+44>>2]=j;q[e+40>>2]=m;q[e+36>>2]=a;q[e+32>>2]=f;q[e+28>>2]=h;q[e+24>>2]=g;q[e+20>>2]=i;q[e+16>>2]=l;bq(e+96|0,100,208897,e+16|0)}g=r[e+96|0];e:{if(!g){break e}f=2;h=0;i=e+96|0;a=0;while(1){b=a;if(!((g|0)!=58?b:0)){g=mO(i);a=(g|0)>(f|0);h=a?b:h;f=a?g:f}a=b+1|0;i=a+(e+96|0)|0;g=r[i|0];if(g){continue}break}if((f|0)<3){break e}a=(e+96|0)+h|0;o[a|0]=58;o[a+1|0]=58;Kk(a+2|0,a+f|0,((b-f|0)-h|0)+2|0)}if(Fi(e+96|0)>>>0>=d>>>0){break b}kt(c,e+96|0);break a}q[240833]=5;break a}q[240833]=51}fi=e+208|0}function Ox(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-48|0;fi=e;a:{if(c>>>0<=1){d=Px(a,q[b>>2]);break a}h=Oj(c,12);if(!h){d=-19840;break a}while(1){g=w(f,12)+h|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;f=f+1|0;if((f|0)!=(c|0)){continue}break}q[e+40>>2]=0;q[e+32>>2]=1;q[e+36>>2]=0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;d=_j(h,q[b>>2]+24|0);b:{if(d){break b}f=1;if(c>>>0>1){while(1){g=w(f,12)+h|0;d=Jj(a,g,g-12|0,q[(f<<2)+b>>2]+24|0);if(d){break b}f=f+1|0;if((f|0)!=(c|0)){continue}break}}f=c-1|0;d=bo(e+32|0,w(f,12)+h|0,a+4|0);if(d){break b}while(1){g=f;c:{if(!f){d=_j(e+16|0,e+32|0);if(!d){break c}break b}d=Jj(a,e+16|0,e+32|0,(w(g,12)+h|0)-12|0);if(d){break b}d=Jj(a,e+32|0,e+32|0,q[(g<<2)+b>>2]+24|0);if(d){break b}}d=Jj(a,e,e+16|0,e+16|0);if(d){break b}f=(g<<2)+b|0;d=q[f>>2];d=Jj(a,d,d,e);if(d){break b}d=q[f>>2]+12|0;d=Jj(a,d,d,e);if(d){break b}d=q[f>>2]+12|0;d=Jj(a,d,d,e+16|0);if(d){break b}d=cD(q[f>>2],q[a+8>>2]);if(d){break b}d=cD(q[f>>2]+12|0,q[a+8>>2]);if(d){break b}Ji(q[f>>2]+24|0);f=g-1|0;d=0;if(g){continue}break}}Ji(e+32|0);Ji(e+16|0);Ji(e);f=0;while(1){Ji(w(f,12)+h|0);f=f+1|0;if((f|0)!=(c|0)){continue}break}ki(h)}fi=e+48|0;return d}function eua(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi-2048|0;fi=d;c=1;while(1){q[(c<<2)+d>>2]=a;q[(d+1024|0)+(a<<2)>>2]=c;c=c<<24>>31&27^(c<<1&254^c);a=a+1|0;if((a|0)!=256){continue}break}q[210736]=27;q[210737]=54;q[210734]=64;q[210735]=128;q[210732]=16;q[210733]=32;q[210730]=4;q[210731]=8;q[210728]=1;q[210729]=2;o[842960]=99;o[851507]=0;c=1;while(1){a=q[((0-q[(c<<2)+d>>2]<<2)+d|0)+2044>>2];e=(a<<1|a>>>7)&255;b=e<<1&254;g=b|e>>>7;h=g<<1&254;b=b>>>7|h;a=(b<<1&254|h>>>7)^(b^(g^(a^e)))^99;o[c+842960|0]=a;o[a+851408|0]=c;c=c+1|0;if((c|0)!=256){continue}break}e=0;a=99;g=q[d+44>>2];h=q[d+52>>2];j=q[d+36>>2];k=q[d+56>>2];while(1){a=a&255;b=a<<24>>31&27^a<<1&254;c=e<<2;f=b|(a<<16|a<<8);b=a^b;i=f<<8|b;q[c+848336>>2]=i;q[c+847312>>2]=f|b<<24;b=a|i<<8;q[c+849360>>2]=b;q[c+850384>>2]=a|b<<8;a=0;b=0;f=r[e+851408|0];if(f){b=q[(f<<2)+d>>2];a=q[(d+1024|0)+((b+j|0)%255<<2)>>2]<<8^q[(d+1024|0)+((b+k|0)%255<<2)>>2]^q[(d+1024|0)+((b+h|0)%255<<2)>>2]<<16;b=q[(d+1024|0)+((b+g|0)%255<<2)>>2]}b=b<<24^a;q[c+843216>>2]=b;a=a<<8|b>>>24;q[c+844240>>2]=a;q[c+845264>>2]=owa(a,8);q[c+846288>>2]=owa(a,16);e=e+1|0;if((e|0)!=256){a=r[e+842960|0];continue}break}fi=d+2048|0}function cja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=fi-96|0;fi=c;g=Ti(c+72|0,a,0,61062,515);a:{if((ri(a,1)|0)==7){e=yi(a,1,q[74123],0);if(e){if(xm(q[e>>2])){break a}}ni(a,61165,0)}hk(a,1,60860);e=0}i=gj(a,2);b:{if((em(a,3)|0)==q[74123]){c:{if((ri(a,3)|0)==7){b=yi(a,3,q[74123],0);if(b){if(xm(q[b>>2])){break c}}ni(a,61165,0)}hk(a,3,60860);b=0}j=gj(a,4);a=gj(a,5);if(!b){break b}d=q[e+40>>2];if((d|0)!=q[b+40>>2]){if(d>>>0<=8){a=q[(d<<2)+266932>>2]}else{a=138736}d=c;b=q[b+40>>2];d:{if(b>>>0<=8){b=q[(b<<2)+266932>>2];break d}b=138736}q[d+68>>2]=b;q[c+64>>2]=a;f=uj(g,62210,c- -64|0);break b}h=q[e+36>>2];if((h|0)!=q[b+36>>2]){if(d>>>0<=8){a=q[(d<<2)+266932>>2]}else{a=138736}f=q[b+36>>2];d=c;b=q[b+40>>2];e:{if(b>>>0<=8){b=q[(b<<2)+266932>>2];break e}b=138736}q[d+60>>2]=b;q[c+56>>2]=f;q[c+52>>2]=a;q[c+48>>2]=h;f=uj(g,62281,c+48|0);break b}d=q[e+28>>2];if(a+i>>>0>w(d,h)>>>0){q[c+8>>2]=a;q[c+4>>2]=i;q[c>>2]=d;f=uj(g,62363,c);break b}d=q[b+28>>2];if(a+j>>>0>w(d,h)>>>0){q[c+24>>2]=a;q[c+20>>2]=j;q[c+16>>2]=d;f=uj(g,62446,c+16|0);break b}if(BJ(e,i,b,j,a)){break b}q[c+32>>2]=q[e+40>>2];f=uj(g,62528,c+32|0);break b}f=hk(a,3,60860)}Si(g);fi=c+96|0;return f|0}function Q5(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,t=0;a:{b:{c:{d:{e:{h=b&65535;i=q[a+4>>2];a=q[a>>2];if(h>>>0>2>>>0){l=q[a+(h<<2)>>2];if(s[l+80>>1]!=(b>>>16|0)){break e}h=q[l+4>>2];a=q[l>>2];b=h-a|0;if(!b){break b}b=(b|0)/288|0;if((a|0)!=(h|0)){t=b>>>0>1?b:1;while(1){h=w(m,288)+a|0;if(q[h+112>>2]==(c|0)&q[h+116>>2]==(d|0)){n=h+68|0;p=q[n>>2];j=q[h+64>>2];k=p-j|0;f:{if(k){a=j-p|0;b=((a|0)>(k|0)?a:k)>>>5|0;a=(k|0)>-1?k:-1;a=w(b,(a|0)<1?a:1);i=a>>>0>1?a:1;a=0;while(1){b=(a<<5)+j|0;if((e|0)==q[b>>2]&q[b+4>>2]==(f|0)){break f}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=k>>5;i=h+72|0;b=q[i>>2];if((p|0)==(b|0)){if(o[h+76|0]&1){break d}b=h- -64|0;vi(a+4|0,32,b,i,n);j=q[b>>2];i=q[i>>2]}else{i=b}b=a+1|0;if(i-j>>5>>>0>>0){break c}q[n>>2]=(b<<5)+j;if((k|0)==-32){break a}b=(a<<5)+j|0;q[b>>2]=e;q[b+4>>2]=f}u[b+16>>2]=u[g>>2];u[b+20>>2]=u[g+4>>2];u[b+24>>2]=u[g+8>>2];u[b+28>>2]=u[g+12>>2];o[h+280|0]=r[h+280|0]|16}m=m+1|0;if((t|0)==(m|0)){break b}a=q[l>>2];if((q[l+4>>2]-a|0)/288>>>0>m>>>0){continue}break}}break a}break a}mi(4,134802,135498,0);G()}J(135147,135222,461,135301);G()}J(135313,135222,474,135332);G()}return}J(136114,135222,447,135487);G()}function J3(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{g=sk(a,28313);if(g){f=Ci(44);d=f;q[d>>2]=0;q[d+4>>2]=0;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;i=Ci(48);d=i;q[d>>2]=0;q[d+4>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+24>>2]=805306368;q[d+20>>2]=805306368;q[f+4>>2]=d;h=qi(Ci(1048),0,1048);q[f+8>>2]=h;kj(h,a,1024);if((Yk(d,1,48,g)|0)!=48){break a}a=q[i>>2];if((a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))!=4){Qj(g);a=q[f+4>>2];if(a){ki(a)}ki(f);return-1}a=q[i+16>>2];h=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);d=q[i+20>>2];a=0;e=q[i+24>>2];El(g,e<<8&16711680|e<<24|(e>>>8&65280|e>>>24),0);e=h<<6;j=Ci(e);q[q[f+8>>2]+1024>>2]=j;if((Yk(j,1,e,g)|0)!=(e|0)){break a}El(g,d<<8&16711680|d<<24|(d>>>8&65280|d>>>24),0);d=h<<4;e=Ci((h&268435455)!=(h|0)?-1:d);if(h){qi(e,0,d);a=d}q[q[f+8>>2]+1028>>2]=e;if((Yk(e,1,a,g)|0)!=(a|0)){break a}q[i+8>>2]=1337;q[i+12>>2]=0;a=sk(b,28313);if(!a){break a}q[q[f+8>>2]+1032>>2]=a;q[c>>2]=f;Qj(g);a=0}else{a=-2}return a}Qj(g);a=q[f+4>>2];if(a){ki(a)}ki(f);return-2}function ay(a,b,c,d){var e=0,f=0;e=fi-96|0;fi=e;a:{b:{c:{d:{e:{switch(r[b|0]-35|0){case 11:if(r[b+1|0]){break d}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;break c;case 0:break e;default:break d}}if(r[b+1|0]){break d}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;break c}if(q[c+8>>2]|q[c+12>>2]){break a}q[e+88>>2]=0;q[e+92>>2]=0;q[e+80>>2]=0;q[e+84>>2]=0;q[e+72>>2]=0;q[e+76>>2]=0;b=LG(b,e+72|0);if(b){break b}f=q[e+76>>2];f:{if(f){b=-4;if(f>>>0>63){break b}kj(e,q[e+72>>2],f+1|0);g:{b=Nm(e,c);switch(b+6|0){case 0:case 6:break g;default:break b}}q[c+16>>2]=Nl(q[e+80>>2],q[e+84>>2]);q[c+20>>2]=ii;break f}b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;b=q[e+84>>2];if(b){qF(a,q[e+80>>2],b,c+16|0);break f}a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a}a=q[e+92>>2];if(a){q[c+24>>2]=Nl(q[e+88>>2],a);q[c+28>>2]=ii;break c}if(!(q[e+76>>2]|q[e+84>>2])){a=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=a;break c}q[c+24>>2]=0;q[c+28>>2]=0}b=0}fi=e+96|0;return b}J(116078,115828,608,116102);G()}function FE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=fi-32|0;fi=j;f=q[a+48>>2];h=r[f+50|0]+3|0;o[f+50|0]=h;g=q[q[f>>2]+24>>2];k=((h&255)<<1)+f|0;h=q[f+24>>2];q[(g+w(s[k+166>>1],12)|0)+4>>2]=h;q[(g+w(s[k+168>>1],12)|0)+4>>2]=h;q[(g+w(s[k+170>>1],12)|0)+4>>2]=h;if(q[a+16>>2]!=259){h=q[a+52>>2];q[j>>2]=Xk(a,259);xj(a,Oi(h,127343,j))}yj(a);a:{if(e){h=Tt(f,32,b,131070);break a}h=Go(f)}o[j+26|0]=0;q[j+20>>2]=-1;g=r[f+50|0];o[j+25|0]=0;o[j+24|0]=g;q[j+16>>2]=q[f+20>>2];q[f+20>>2]=j+16;i=q[a+48>>2];g=r[i+50|0]+d|0;o[i+50|0]=g;if(d){l=g&255;m=q[i+24>>2];k=q[q[i>>2]+24>>2];g=d;while(1){q[(k+w(s[(i+(l-g<<1)|0)+172>>1],12)|0)+4>>2]=m;g=g-1|0;if(g){continue}break}}Fp(f,d);Us(a);l=q[f+20>>2];q[f+20>>2]=q[l>>2];i=q[q[f+12>>2]+48>>2];g=r[i+50|0];m=r[l+8|0];if(g>>>0>m>>>0){k=q[i+24>>2];a=q[q[i>>2]+24>>2];while(1){g=g-1|0;q[(a+w(s[(i+(g<<1)|0)+172>>1],12)|0)+8>>2]=k;if(g>>>0>m>>>0){continue}break}o[i+50|0]=g}if(r[l+9|0]){dm(f,35,m,0,0)}q[f+36>>2]=r[f+50|0];Lm(f,q[l+4>>2]);Lm(f,h);b:{if(e){g=Tt(f,31,b,131070);q[(q[q[f>>2]+20>>2]+(q[f+24>>2]<<2)|0)-4>>2]=c;break b}dm(f,33,b,0,d);q[(q[q[f>>2]+20>>2]+(q[f+24>>2]<<2)|0)-4>>2]=c;g=Go(f)}Rt(f,g,h+1|0);fi=j+32|0}function xC(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d=q[a+4>>2];d:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break d}d=kk(a)}switch(d-43|0){case 0:case 2:break b;default:break c}}c=d-48|0;break a}f=(d|0)==45;b=!b;c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;d=r[c|0];break e}d=kk(a)}c=d-48|0;if(!(b|c>>>0<10|!q[a+104>>2])){q[a+4>>2]=q[a+4>>2]-1}}f:{if(c>>>0<10){c=0;while(1){c=w(c,10)+d|0;b=q[a+4>>2];g:{if(b>>>0>2]){q[a+4>>2]=b+1;d=r[b|0];break g}d=kk(a)}e=d-48|0;c=c-48|0;if((c|0)<214748364?e>>>0<=9:0){continue}break}b=c;c=c>>31;h:{if(e>>>0>=10){break h}while(1){c=jwa(b,c,10,0);d=c+d|0;b=ii;b=c>>>0>d>>>0?b+1|0:b;c=d;e=b;b=q[a+4>>2];i:{if(b>>>0>2]){q[a+4>>2]=b+1;d=r[b|0];break i}d=kk(a)}b=c-48|0;c=e-(c>>>0<48)|0;e=d-48|0;if(e>>>0>9){break h}if((c|0)<21474836?1:(c|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){d=q[a+4>>2];j:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break j}d=kk(a)}if(d-48>>>0<10){continue}break}}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}a=b;b=f?0-a|0:a;c=f?0-(((a|0)!=0)+c|0)|0:c;break f}b=0;c=-2147483648;if(!q[a+104>>2]){break f}q[a+4>>2]=q[a+4>>2]-1;ii=-2147483648;return 0}ii=c;return b}function P1(a){a=a|0;var b=x(0),c=x(0),d=x(0),e=0,f=0,g=0,h=x(0),i=x(0),j=0,k=0,l=0,m=0,n=0,o=x(0),p=x(0);e=fi-96|0;fi=e;g=yi(a,1,q[210276],0);d=u[g>>2];c=u[g+4>>2];a:{if(!(d!=d|c!=c)){b=u[g+8>>2];if(b==b){break a}}b=u[g+8>>2];v[e+80>>3]=c;v[e+88>>3]=b;v[e+72>>3]=d;q[e+64>>2]=1;ni(a,120787,e- -64|0)}j=yi(a,2,q[210276],0);d=u[j>>2];c=u[j+4>>2];b:{if(!(d!=d|c!=c)){b=u[j+8>>2];if(b==b){break b}}b=u[j+8>>2];v[e+48>>3]=c;v[e+56>>3]=b;v[e+40>>3]=d;q[e+32>>2]=2;ni(a,120787,e+32|0)}f=yi(a,3,q[210276],0);i=u[f>>2];d=u[f+4>>2];c:{if(!(i!=i|d!=d)){c=u[f+8>>2];if(c==c){break c}}c=u[f+8>>2];v[e+16>>3]=d;v[e+24>>3]=c;v[e+8>>3]=i;q[e>>2]=3;ni(a,120787,e);c=u[f+8>>2];d=u[f+4>>2];i=u[f>>2]}b=u[g>>2];h=u[j+4>>2];f=x(x(b+h)+c)h;k=c>b;l=f&(m&k^1);n=b>2];p=x(x(u[g+4>>2]-(l?x(-b):b))*c);b=u[g+8>>2];b=x(x(i-(f?x(-b):b))*c);c=x(x(u[j+8>>2]-(k?x(-d):d))*c);d:{if(!l){h=c;d=b;b=p;c=o;break d}h=o;d=p}e:{if(!k){i=h;h=d;d=b;b=c;break e}i=d;d=c}g=bj(a,16);u[g+12>>2]=b;u[g+8>>2]=d;u[g+4>>2]=h;u[g>>2]=i;zi(a,-1e4,120688);aj(a,-2);fi=e+96|0;return 1}function hS(a){var b=0,c=0;a:{if(!a){break a}b:{c:{switch(q[a+4>>2]-5|0){case 4:if(!ej(141598,q[a+8>>2],9)){c=267296;break a}if(!ej(141642,q[a+8>>2],9)){return 267320}if(!ej(141689,q[a+8>>2],9)){return 267344}if(!ej(141740,q[a+8>>2],9)){return 267368}if(!ej(141791,q[a+8>>2],9)){return 267392}if(ej(141842,q[a+8>>2],9)){break b}return 267416;case 0:if(ej(141893,q[a+8>>2],5)){break a}return 267440;case 2:if(ej(141899,q[a+8>>2],7)){break a}return 267464;case 3:break c;default:break a}}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==16974909){return 267488}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==33752125){return 267512}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==50529341){return 267536}a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-834107862|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=67306557){break a}return 267560}if(ej(142119,q[a+8>>2],9)){break a}return 267584}return c}function A6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a=fi+ -64|0;fi=a;e=q[212950];o[a+11|0]=1;a:{if(r[a+11|0]){while(1){gn(3e4);c=q[212950];b=fF(a+40|0);eF(b,0,q[c+16>>2]);b:{if(gF(b,0)){break b}if(!Joa(b,q[c+16>>2])){break b}b=a+16|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c:{d:{e:{b=d0(q[c+16>>2],b,a+12|0);switch(b+4|0){case 1:case 2:case 3:break b;case 0:break c;case 4:break e;default:break d}}if(q[c+4>>2]==q[c+8>>2]){c=0;mi(4,156383,156865,0);b=q[a+12>>2];q[a+60>>2]=0;while(1){f:{d=eu(b,c+156897|0,34-c|0,a+60|0);if((d|0)!=-101){if(d){break f}c=q[a+60>>2]+c|0}if((c|0)<34){continue}}break}Mo(q[a+12>>2]);rm(q[a+12>>2]);break b}d=q[a+12>>2];b=0;q[a+60>>2]=0;while(1){g:{f=eu(d,b+156932|0,5-b|0,a+60|0);if((f|0)!=-101){if(f){break g}b=q[a+60>>2]+b|0}if((b|0)<5){continue}}break}$$(q[a+12>>2]);b=q[c+4>>2];if((b|0)==q[c+8>>2]){break a}d=q[a+12>>2];q[c+4>>2]=b+4;q[b>>2]=d;break b}if((b|0)!=-31){break b}}c=fi-1184|0;fi=c;h:{if(!r[270692]){break h}}fi=c+1184|0}i:{if(o[a+52|0]&1){break i}c=q[a+40>>2];if(!c){break i}ki(c)}Kp(q[e+24>>2],q[e+28>>2],1321,a+11|0);if(r[a+11|0]){continue}break}}fi=a- -64|0;return}J(156938,156839,501,156962);G()}function ru(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=fi-16|0;fi=j;a:{b:{c:{f=q[a+4>>2];d:{e:{if(!f){break e}g=q[q[a>>2]+(lwa(b,c,f)<<2)>>2];if((g|0)==-1){break e}f=q[a+8>>2];while(1){h=f+(g<<5)|0;if(q[h>>2]!=(b|0)|q[h+4>>2]!=(c|0)){g=q[h+24>>2];if((g|0)!=-1){continue}break e}break}f=f+(g<<5)|0;if(q[f+20>>2]==(e|0)){b=f+8|0;break d}f5(a,b,c)}f=q[a+24>>2];if((f|0)==q[a+16>>2]-q[a+8>>2]>>5){f=f+8|0;oz(a,f,f<<1)}g=a+32|0;i=a+40|0;h=q[i>>2];k=a+36|0;f=q[k>>2];l=h-f>>4;if(l>>>0>>0){if(o[a+44|0]&1){break c}vi((e-l|0)+(h-q[g>>2]>>4)|0,16,g,i,k);h=q[i>>2];i=q[k>>2]}else{i=f}f=q[g>>2];i=i-f>>4;g=i+e|0;if(g>>>0>h-f>>4>>>0){break b}q[a+36>>2]=f+(g<<4);q[j+12>>2]=e;q[j>>2]=b;q[j+4>>2]=c;q[j+8>>2]=i;xH(a,b,c,j);f=0;g=q[a+4>>2];f:{if(!g){break f}g=q[q[a>>2]+(lwa(b,c,g)<<2)>>2];if((g|0)==-1){break f}h=q[a+8>>2];while(1){g=g<<5;f=g+h|0;if((b|0)==q[f>>2]&(c|0)==q[f+4>>2]){break f}g=q[(g+h|0)+24>>2];if((g|0)!=-1){continue}break}f=0}b=f?f+8|0:0}b=q[b+8>>2];c=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=c-a>>4>>>0){break a}si(a+(b<<4)|0,d,e<<4);fi=j+16|0;return}J(100503,100310,461,100210);G()}J(100291,100310,474,100389);G()}J(100397,100310,447,100408);G()}function bv(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0;f=fi+ -64|0;fi=f;g=r[e+32|0];q[a+72>>2]=0;o[a+76|0]=g;g=q[e+8>>2];i=q[e+12>>2];a:{if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){q[a>>2]=g;q[a+4>>2]=i;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;u[f>>2]=u[d>>2];u[f+4>>2]=u[d+4>>2];u[f+8>>2]=u[d+8>>2];q[f+24>>2]=3;u[f+32>>2]=u[f>>2];u[f+36>>2]=u[f+4>>2];u[f+40>>2]=u[f+8>>2];c=q[f+60>>2];b=a- -64|0;q[b>>2]=q[f+56>>2];q[b+4>>2]=c;b=q[f+52>>2];q[a+56>>2]=q[f+48>>2];q[a+60>>2]=b;b=q[f+44>>2];q[a+48>>2]=q[f+40>>2];q[a+52>>2]=b;b=q[f+36>>2];q[a+40>>2]=q[f+32>>2];q[a+44>>2]=b;b=q[f+28>>2];q[a+32>>2]=q[f+24>>2];q[a+36>>2]=b;break a}b:{if((b|0)==(g|0)&(c|0)==(i|0)){h=u[d>>2];break b}if(q[e+16>>2]==(b|0)&q[e+20>>2]==(c|0)){h=u[d+4>>2];break b}j=-1;if((b|0)!=q[e+24>>2]|(c|0)!=q[e+28>>2]){break a}h=u[d+8>>2]}b=f+24|0;q[b>>2]=0;v[b+8>>3]=h;c=q[f+60>>2];b=a- -64|0;q[b>>2]=q[f+56>>2];q[b+4>>2]=c;b=q[f+52>>2];q[a+56>>2]=q[f+48>>2];q[a+60>>2]=b;b=q[f+44>>2];q[a+48>>2]=q[f+40>>2];q[a+52>>2]=b;b=q[f+36>>2];q[a+40>>2]=q[f+32>>2];q[a+44>>2]=b;b=q[f+28>>2];q[a+32>>2]=q[f+24>>2];q[a+36>>2]=b;j=0}fi=f- -64|0;return j}function Xba(a,b,c,d){var e=0,f=0,g=0;e=fi-144|0;fi=e;a:{f=s[b+560>>1];if((f|0)!=65535){g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=f>>>0){break a}QI(a,w(f,576)+g|0,e+80|0,e+76|0,q[a+12>>2]+180|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&32):0)){Pu(a,b)}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];RI(b,6,c);u[d>>2]=u[b+60>>2];b:{if(s[b+560>>1]==65535){break b}Dk(e,e+80|0,c);u[c>>2]=u[e>>2];u[c+4>>2]=u[e+4>>2];u[c+8>>2]=u[e+8>>2];u[c+12>>2]=u[e+12>>2];u[c+16>>2]=u[e+16>>2];u[c+20>>2]=u[e+20>>2];u[c+24>>2]=u[e+24>>2];u[c+28>>2]=u[e+28>>2];u[c+32>>2]=u[e+32>>2];u[c+36>>2]=u[e+36>>2];u[c+40>>2]=u[e+40>>2];u[c+44>>2]=u[e+44>>2];u[c+48>>2]=u[e+48>>2];u[c+52>>2]=u[e+52>>2];u[c+56>>2]=u[e+56>>2];u[c+60>>2]=u[e+60>>2];if(!(r[b+414|0]&64)){break b}u[d>>2]=u[e+76>>2]*u[d>>2]}fi=e+144|0;return}J(186773,186599,447,186784);G()}function $ka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=fi+ -64|0;fi=c;d=q[b+16>>2];a:{if(!d){break a}q[c+44>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+48>>2]=-1;q[c+28>>2]=0;q[c+32>>2]=0;q[c+8>>2]=q[a>>2];q[c+16>>2]=q[d+52>>2];q[c+12>>2]=q[d+48>>2];q[c+20>>2]=q[d+56>>2];q[c+24>>2]=q[d+60>>2];g=c+28|0;So(g,7,q[a+32>>2]-q[a+24>>2]>>4);e=q[a+20>>2];if(e){while(1){b=q[q[a+16>>2]+(f<<2)>>2];if((b|0)!=-1){while(1){b=q[a+24>>2]+(b<<4)|0;um(g,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+20>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}if(r[293980]){b=q[73496];if(b){while(1){a=q[b+8>>2];b:{if(!a){break b}if(!(ji[a|0](c+8|0,q[b+12>>2])|0)){break b}q[c>>2]=q[b+16>>2];mi(4,38938,42406,c)}a=q[b+12>>2];if(a){ki(a)}b=q[b>>2];if(b){continue}break}}qi(q[d+16>>2],255,q[d+20>>2]<<2);q[d+36>>2]=-1;q[d+40>>2]=0;q[d+28>>2]=q[d+24>>2];o[293980]=0}c:{if(o[d+44|0]&1){break c}a=q[d+24>>2];if(a){ki(a)}a=q[d+16>>2];if(!a){break c}ki(a)}d:{if(o[d+12|0]&1){break d}a=q[d>>2];if(!a){break d}ki(a)}ki(d);if(o[c+56|0]&1){break a}a=q[c+36>>2];if(a){ki(a)}a=q[c+28>>2];if(!a){break a}ki(a)}fi=c- -64|0;return 0}function YI(a,b){var c=0,d=0,e=0;d=r[a+152|0]&2?1:2;a:{b:{c:{d:{e:{c=q[a+144>>2];f:{g:{if(c){ga(36161,c|0);d=w(d,44)+a|0;ya(36161,34041,s[d+30>>1],s[d+32>>1]);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break e}}if(b){break g}Aa(36160,33306,36161,q[a+144>>2]);if(!(r[q[74995]+104|0]&8)){break g}a=K()|0;if(!a){break g}Mi(a,82483,1947);J(79249,79164,1947,82483);G()}c=q[a+136>>2];if(c){e=q[a+156>>2];ga(36161,c|0);c=w(d,44)+a|0;ya(36161,((e|0)==16?33189:6402)|0,s[c+30>>1],s[c+32>>1]);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break d}}h:{if(b){break h}Aa(36160,36096,36161,q[a+136>>2]);if(!(r[q[74995]+104|0]&8)){break h}c=K()|0;if(c){break c}}ga(36161,0)}c=q[a+140>>2];if(!c){break f}ga(36161,c|0);d=w(d,44)+a|0;ya(36161,36168,s[d+30>>1],s[d+32>>1]);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break b}}if(b){break g}Aa(36160,36128,36161,q[a+140>>2]);if(!(r[q[74995]+104|0]&8)){break g}a=K()|0;if(a){break a}}ga(36161,0)}return}Mi(d,82483,1943);J(79249,79164,1943,82483);G()}Mi(c,82483,1971);J(79249,79164,1971,82483);G()}Mi(c,82483,1975);J(79249,79164,1975,82483);G()}Mi(d,82483,1984);J(79249,79164,1984,82483);G()}Mi(a,82483,1988);J(79249,79164,1988,82483);G()}function Fq(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,r=x(0),s=x(0);h=fi-48|0;fi=h;a:{n=q[b+28>>2];if(!n){break a}b:{if(f){while(1){l=q[b+24>>2]+(k<<4)|0;m=q[l+12>>2];if(m){o=l+8|0;f=0;while(1){i=HF(o,f);r=u[i>>2];s=x(e-r);if(!(s>=c^1|d>s^1)){j=q[l+4>>2];q[h+8>>2]=q[l>>2];q[h+12>>2]=j;j=q[b+4>>2];p=q[b>>2];u[h+28>>2]=g;q[h+16>>2]=p;q[h+20>>2]=j;u[h+24>>2]=r;q[h+32>>2]=q[i+4>>2];u[h+36>>2]=u[i+8>>2];j=q[i+20>>2];q[h+40>>2]=q[i+16>>2];q[h+44>>2]=j;ji[q[a+120>>2]](1,h+8|0,q[a+124>>2],q[a+128>>2])}f=f+1|0;if((m|0)!=(f|0)){continue}break}}k=k+1|0;if((n|0)==(k|0)){break a}if(t[b+28>>2]>k>>>0){continue}break b}}while(1){l=q[b+24>>2]+(k<<4)|0;m=q[l+12>>2];if(m){o=l+8|0;f=0;while(1){i=HF(o,f);e=u[i>>2];if(!(e>=c^1|d>e^1)){j=q[l+4>>2];q[h+8>>2]=q[l>>2];q[h+12>>2]=j;j=q[b+4>>2];p=q[b>>2];u[h+28>>2]=g;q[h+16>>2]=p;q[h+20>>2]=j;u[h+24>>2]=e;q[h+32>>2]=q[i+4>>2];u[h+36>>2]=u[i+8>>2];j=q[i+20>>2];q[h+40>>2]=q[i+16>>2];q[h+44>>2]=j;ji[q[a+120>>2]](1,h+8|0,q[a+124>>2],q[a+128>>2])}f=f+1|0;if((m|0)!=(f|0)){continue}break}}k=k+1|0;if((n|0)==(k|0)){break a}if(t[b+28>>2]>k>>>0){continue}break}}J(136761,136773,218,136801);G()}fi=h+48|0}function jp(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];e=q[a>>2];if(t[(c+w(d,48)|0)+24>>2]>=t[(c+w(e,48)|0)+24>>2]){break a}q[a>>2]=d;q[b>>2]=e;return;case 0:case 1:break a;default:break b}}if((d|0)<=128){if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}f=q[c>>2];while(1){g=q[d>>2];e=a;c:{if((e|0)==(d|0)){break c}h=f+w(g,48)|0;e=d;while(1){c=e-4|0;i=q[c>>2];if(t[h+24>>2]>=t[(f+w(i,48)|0)+24>>2]){break c}q[e>>2]=i;e=c;if((e|0)!=(a|0)){continue}break}e=a}q[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}g=d>>>1|0;i=g<<2;h=i+a|0;d:{if((d|0)<=(f|0)){xB(a,h,c,g,e);f=b;b=e+i|0;xB(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=q[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){q[a>>2]=q[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=q[d>>2];h=q[e>>2];e:{if(t[(c+w(g,48)|0)+24>>2]>2]){q[a>>2]=g;d=d+4|0;break e}q[a>>2]=h;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break d}jp(a,h,c,g,e,f);d=d-g|0;jp(h,b,c,d,e,f);Zv(a,h,b,c,g,d,e,f);break a}if((d|0)==(f|0)){break a}while(1){q[a>>2]=q[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function IF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=q[a+76>>2];e=q[g+4>>2];if(!e){return 1}h=q[g>>2];a:{b:{c:{while(1){if((d|0)==(e|0)){break c}i=h+(d<<4)|0;if((b|0)==q[i>>2]&q[i+4>>2]==(c|0)){q[a+200>>2]=b;q[a+204>>2]=c;q[a+196>>2]=i;b=r[a+224|0]&-9;o[a+224|0]=b;c=a;i=q[g+28>>2];if((i|0)>=1){f=q[a+108>>2];e=q[a+104>>2];b=f-e|0;j=(b|0)>-1?b:-1;f=e-f|0;b=w((j|0)<1?j:1,((b|0)<(f|0)?f:b)>>>2|0);h=h+(d<<4)|0;f=h;d=0;while(1){if((b|0)==(d|0)){break a}q[e+(d<<2)>>2]=d;j=q[a+180>>2];if((q[a+184>>2]-j|0)/24>>>0<=d>>>0){break a}if(t[h+12>>2]<=d>>>0){break b}q[(j+w(d,24)|0)+20>>2]=q[f+8>>2]+(d<<5);d=d+1|0;if((i|0)!=(d|0)){continue}break}b=r[a+224|0]}o[c+224|0]=b|8;e=q[g+28>>2];if((e|0)<1){return 0}h=q[a+180>>2];i=(q[a+184>>2]-h|0)/24|0;a=0;while(1){if((a|0)==(i|0)){break a}b=h+w(a,24)|0;g=q[b+20>>2];q[b+16>>2]=q[g+16>>2];f=b;if(q[g+24>>2]){c=q[g+20>>2]}else{c=136608}u[f>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}return 0}d=d+1|0;if(e>>>0>d>>>0){continue}break}return 1}J(136761,136773,442,136801);G()}J(136761,136773,427,136801);G()}J(136820,136831,447,136801);G()}function yka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+4>>2];d=q[c+20>>2];a:{b:{c:{d:{e=q[q[a+24>>2]>>2];if(e>>>0>2]-d>>3>>>0){d=q[(e<<3)+d>>2];e=q[c+8>>2];c=q[c+4>>2];if(d>>>0>=e-c>>2>>>0){break a}f=q[c+(d<<2)>>2];d=q[a+16>>2];e=q[a+20>>2];if((d|0)==q[73656]&(e|0)==q[73657]){c=q[q[q[a+8>>2]+80>>2]>>2];a=q[f+156>>2];if(!a){a=q[q[f+152>>2]+4>>2]}return gm(c,a,b)|0}e:{if((d|0)!=q[73634]|(e|0)!=q[73635]){c=0;if(q[73636]!=(d|0)|q[73637]!=(e|0)){break e}break b}c=q[q[q[a+8>>2]+80>>2]>>2];a=q[f+192>>2];if(!a){a=q[q[f+152>>2]+8>>2]}return gm(c,a,b)|0}c=1;if(q[73638]==(d|0)&q[73639]==(e|0)){break b}c=2;if(q[73640]==(d|0)&q[73641]==(e|0)){break b}c=3;if(q[73642]==(d|0)&q[73643]==(e|0)){break b}c=4;if(q[73644]==(d|0)&q[73645]==(e|0)){break b}c=5;if(q[73646]==(d|0)&q[73647]==(e|0)){break b}c=6;if(q[73648]==(d|0)&q[73649]==(e|0)){break b}c=7;if(q[73650]==(d|0)&q[73651]==(e|0)){break b}c=q[f+192>>2];if(!c){break d}break c}break a}c=q[q[f+152>>2]+8>>2]}return Hs(c,d,e,q[a+32>>2],b,1,433,f)|0}d=q[q[q[a+8>>2]+80>>2]>>2];c=c<<2;a=q[(c+f|0)+160>>2];if(!a){a=q[(c+q[f+152>>2]|0)+12>>2]}return gm(d,a,b)|0}J(45837,45268,447,45848);G()}function vy(a,b,c,d){var e=x(0),f=x(0),g=0,h=x(0),i=0,j=0,k=0,l=0;j=fi-16|0;fi=j;i=q[b>>2];a:{if(!i){break a}g=r[b+28|0];if(!(g&1)){break a}h=u[b+16>>2];e=h;k=q[b+24>>2];if(k){e=x(h+x(u[b+20>>2]*c));u[b+16>>2]=e}f=u[i+8>>2];f=(k|0)==3?x(f+f):f;if(f==x(0)){q[b+16>>2]=0;e=x(0)}b:{c:{d:{switch(k-1|0){case 5:if(f>x(0)^1|f<=e^1){break b}while(1){g=g^2;e=x(e-f);if(!(f<=e^1)){continue}break}o[b+28|0]=g;break c;case 0:case 1:case 2:if(f<=e^1){break b}u[b+16>>2]=f;e=f;l=1;break b;case 3:case 4:break d;default:break b}}if(f>x(0)^1|f<=e^1){break b}while(1){e=x(e-f);if(f<=e){continue}break}}u[b+16>>2]=e}e:{if(!q[a+120>>2]|e==h){break e}e=l?x(e+c):e;if(!(e>>1|0,d);Fq(a,i,x(0),e,f,(r[b+28|0]&2)>>>1|0,d);break e}f:{if((k|0)!=3){break f}c=x(f*x(.5));if(ch^1)){Fq(a,i,h,c,f,0,d);Fq(a,i,c,e,f,1,d);break e}Fq(a,i,h,e,f,1,d);break e}Fq(a,i,h,e,f,(g&2)>>>1|0,d)}if(!l){break a}o[b+28|0]=r[b+28|0]&254;if((((o[a+224|0]&1)<<5)+a|0)!=(b|0)){break a}l=q[a+120>>2];if(!l){break a}g=q[b+12>>2];q[j>>2]=q[b+8>>2];q[j+4>>2]=g;q[j+8>>2]=q[b+24>>2];ji[l|0](0,j,q[a+124>>2],q[a+128>>2])}fi=j+16|0}function wH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/48|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,48)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+40>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+48;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,48)|0;q[a+20>>2]=q[e+40>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;f=q[d+28>>2];q[e+32>>2]=q[d+24>>2];q[e+36>>2]=f;q[e+40>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,48)|0;f=q[b+40>>2];if((f|0)!=-1){continue}break}q[b+40>>2]=(e-d|0)/48;break a}J(27850,27647,226,27858);G()}c=q[d+4>>2];a=g+w(f,48)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+28>>2];q[a+32>>2]=q[d+24>>2];q[a+36>>2]=b;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(27862,27647,470,27924);G()}q[b>>2]=(e-d|0)/48}q[a+24>>2]=q[a+24>>2]+1}function xJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=fi-16|0;fi=f;g=q[b+8>>2];h=q[b+12>>2];a:{b:{c:{d:{e:{e=q[a+76>>2];if(!e){break e}d=q[q[a+72>>2]+(lwa(g,h,e)<<2)>>2];if((d|0)==-1){break e}j=q[a+80>>2];e=d;while(1){i=j+w(e,24)|0;if(q[i>>2]!=(g|0)|q[i+4>>2]!=(h|0)){e=q[i+20>>2];if((e|0)!=-1){continue}break e}break}if(!q[(j+w(e,24)|0)+8>>2]){break e}f:{while(1){a=j+w(d,24)|0;if((g|0)==q[a>>2]&q[a+4>>2]==(h|0)){break f}d=q[a+20>>2];if((d|0)!=-1){continue}break}J(45112,44705,157,45122);G()}a=j+w(d,24)|0;q[a+12>>2]=q[a+12>>2]+1;break d}d=q[a+108>>2];e=q[a+104>>2];g:{if((d|0)!=(e|0)){d=d-e|0;if(!d){break c}d=(d>>2)-1|0;if(d>>>0>q[a+112>>2]-e>>2>>>0){break b}d=e+(d<<2)|0;e=q[d>>2];q[a+108>>2]=d;break g}e=ji[q[74895]](q[a+136>>2],0,0,1)|0;g=q[b+8>>2];h=q[b+12>>2]}q[f+8>>2]=q[b+20>>2];q[f>>2]=e;q[f+4>>2]=1;d=a+72|0;i=(q[a+88>>2]-q[a+80>>2]|0)/24|0;a=q[a+96>>2];if((i|0)==(a|0)){a=a+8|0;sz(d,(a>>>0)/3|0,a)}tz(d,g,h,f);a=q[b+16>>2];b=q[b+4>>2];q[f>>2]=0;q[f+12>>2]=0;if(dp(b,f,f+12|0)){break a}ji[q[74897]](e,w(a,c),q[f>>2],0)}fi=f+16|0;return}J(45837,45268,447,45848);G()}J(45416,45268,474,45435);G()}J(45062,44705,166,45087);G()}function kE(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,u=0,v=0;e=q[a+124>>2];c=e;d=e>>>2|0;e=q[a+120>>2];i=e>>>0>2]?c:d;c=q[a+108>>2];d=(c-q[a+44>>2]|0)+262|0;n=c>>>0>>0?0:d;h=q[a+116>>2];d=q[a+144>>2];o=d>>>0>h>>>0?h:d;k=q[a+56>>2];f=c+k|0;p=f+258|0;c=e+f|0;l=r[c|0];m=r[c-1|0];u=q[a+52>>2];v=q[a+64>>2];while(1){a:{d=b+k|0;c=e+d|0;b:{if(r[c|0]!=(l|0)|r[c-1|0]!=(m|0)|r[d|0]!=r[f|0]){break b}g=2;if(r[d+1|0]!=r[f+1|0]){break b}c:{d:{e:{f:{g:{h:{i:{while(1){c=f+g|0;if(r[c+1|0]!=r[d+3|0]){break d}if(r[c+2|0]!=r[d+4|0]){break e}if(r[c+3|0]!=r[d+5|0]){break f}if(r[c+4|0]!=r[d+6|0]){break g}if(r[c+5|0]!=r[d+7|0]){break h}if(r[c+6|0]!=r[d+8|0]){break i}if(r[c+7|0]==r[d+9|0]){j=g>>>0>249;g=g+8|0;c=g+f|0;if(j){break c}j=r[d+10|0];d=d+8|0;if((j|0)==r[c|0]){continue}break c}break}c=c+7|0;break c}c=c+6|0;break c}c=c+5|0;break c}c=c+4|0;break c}c=c+3|0;break c}c=c+2|0;break c}c=c+1|0}d=c-p|0;c=d+258|0;if((c|0)<=(e|0)){break b}q[a+112>>2]=b;if((c|0)>=(o|0)){e=c;break a}l=r[c+f|0];m=r[(d+f|0)+257|0];e=c}i=i-1|0;if(!i){break a}b=s[((b&u)<<1)+v>>1];if(n>>>0>>0){continue}}break}return e>>>0>h>>>0?h:e}function Z1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-2288|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(!ri(a,1)){d=ni(a,115858,0);break b}c=b+2280|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2272|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2264|0;q[c>>2]=0;q[c+4>>2]=0;q[b+2256>>2]=0;q[b+2260>>2]=0;c=b+2248|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2240|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2232|0;q[c>>2]=0;q[c+4>>2]=0;q[b+2224>>2]=0;q[b+2228>>2]=0;ok(a,1,b+2256|0,b+2224|0);c:{if($j(a,2)){c=li(_i(a,2,0));g=ii;break c}c=Qk(a,2);g=ii}e=WK(c,g);d:{if(e){f=q[e+16>>2];if(f>>>0>=2049){q[b+36>>2]=2048;q[b+32>>2]=f;d=ni(a,115890,b+32|0);break b}e:{if((d|0)>=3){vj(a,3,5);Hi(a,3);break e}ij(a,0,0)}f=ty(a,e,b+176|0,2048);oi(a,-2);break d}if((d|0)<3){break d}if(!ri(a,3)){break d}f=os(a,b+176|0,2048,3)}if((d|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}f:{g:{d=Zj(b+2224|0,b+2256|0,c,g,0,e,b+176|0,f);switch(d+2|0){case 0:break g;case 2:break b;default:break f}}d=gs(b+2256|0,b+112|0,64);e=gs(b+2224|0,b+48|0,64);c=Ei(c,g);q[b+24>>2]=d;q[b+20>>2]=e;q[b+16>>2]=c;d=ni(a,115979,b+16|0);break b}q[b>>2]=_m(q[b+2256>>2],q[b+2260>>2]);d=ni(a,116026,b)}fi=b+2288|0;return d|0}J(115949,115828,534,115970);G()}function $q(a){var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;b=(im(a,0,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,1,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,2,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;e=3;b=(im(a,3,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,0,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,1,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,2,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,3,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,0,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,1,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,2,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,3,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,0,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,1,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,2,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(im(a,3,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;o[a+10|0]=0;o[a+8|0]=3;o[a+9|0]=0;f=a+10|0;b=a+8|0;a:{b:{c:{d:{e:{f:{if(!q[c>>2]){if(!q[c+4>>2]){break e}o[a+10|0]=1;o[b|0]=1;e=1;d=1;break f}o[a+10|0]=1;o[b|0]=0;if(!q[c+4>>2]){break d}o[a+10|0]=2;e=0;d=2}o[a+9|0]=1}if(!q[c+8>>2]){break a}d=d+1|0;o[a+10|0]=d;f=b;if(e>>>0<3){break b}break c}d=2;if(q[c+8>>2]){break c}d=1;break a}o[f|0]=2}o[a+9|0]=2}if(q[c+12>>2]){o[a+9|0]=3;o[a+10|0]=d+1}fi=c+16|0}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;g=fi-96|0;fi=g;ar(b);f=qk(a,14);a:{if(!f){h=1;break a}if(f>>>0>16384){break a}c=g- -64|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;c=qk(a,5);if(c-1>>>0>20){break a}while(1){o[r[h+95264|0]+(g- -64|0)|0]=qk(a,3);h=h+1|0;if((c|0)!=(h|0)){continue}break}h=0;i=Pm(g+24|0);if(!(!VL(i,21,g- -64|0)|!q[i+4>>2])){c=0;e=g+8|0;q[e+8>>2]=0;q[e>>2]=0;q[e+4>>2]=0;PL(e,f);b:{while(1){d=Gl(a,i);c:{if((d|0)<=16){o[Ws(e,c)|0]=d;c=c+1|0;break c}d:{switch(d-17|0){case 0:c=(qk(a,3)+c|0)+3|0;break c;case 1:c=(qk(a,7)+c|0)+11|0;break c;default:break d}}if(!c){break b}d=(d|0)==19;k=qk(a,d?2:7);j=r[Ws(e,c-1|0)|0];if(!j){break b}l=c>>>0>>0?f:c;d=(d?3:7)+k|0;while(1){if((c|0)==(l|0)){break b}o[Ws(e,c)|0]=j;c=c+1|0;d=d-1|0;if(d){continue}break}}if(c>>>0>>0){continue}break}if((c|0)!=(f|0)){break b}h=VL(b,f,Ws(e,0))}Rp(e)}xn(i)}fi=g+96|0;return h}function sU(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=fi-1104|0;fi=j;a:{if((d|0)==1){i=-16512;if(q[a+164>>2]!=1){break a}}i=-16512;m=q[a+4>>2];if(m-16>>>0>1008){break a}k=q[a+168>>2]-3|0;b:{if(k>>>0<=5){k=q[(k<<2)+267260>>2];break b}k=0}if(!k){break a}l=(k?q[k+8>>2]:0)&255;n=l<<1;if(n+2>>>0>m>>>0){break a}c:{if(!d){i=zp(a,f,j+80|0);break c}i=Cr(a,b,c,f,j+80|0)}d:{if(i){break d}q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;i=jn(j,k,0);if(i){$l(j);break d}e:{a=j+80|1;b=(j+l|0)+81|0;c=(l^-1)+m|0;i=dq(a,l,b,c,j);if(!i){i=dq(b,c,a,l,j);if(!i){break e}}$l(j);break d}$l(j);if(k){i=ji[q[k+28>>2]](0,0,j+16|0)|0}else{i=-20736}if(i){break d}a=a+l|0;f=r[j+80|0];if(l){b=n|1;i=0;while(1){f=r[a|0]^r[(j+16|0)+i|0]|f;a=a+1|0;i=i+1|0;if((l|0)!=(i|0)){continue}break}a=b+(j+80|0)|0}i=0;c=(m-n|0)-2|0;f:{if(!c){b=0;break f}b=0;d=0;while(1){i=r[a+d|0]|i;b=((i|0-i&128)>>>7^1)+b|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}i=-16640;a=a+b|0;if(f&255|r[a|0]^1){break d}i=-17408;b=a+1|0;a=((j+80|0)-b|0)+m|0;if(a>>>0>h>>>0){break d}q[e>>2]=a;i=0;if(!a){break d}si(g,b,a)}ji[q[66742]](j+80|0,0,1024)|0;ji[q[66742]](j+16|0,0,64)|0}fi=j+1104|0;return i}function Gqa(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=fi-16|0;fi=j;l=li(b);m=ii;a:{b:{c:{d:{e:{f:{i=q[a+696>>2];k=a+700|0;e=q[k>>2];if((i|0)==(e|0)){break f}if(q[i>>2]!=(l|0)|q[i+4>>2]!=(m|0)){f=1;g=e-i|0;d=(g|0)>-1?g:-1;h=(d|0)<1?d:1;d=i-e|0;d=w(h,((d|0)>(g|0)?d:g)>>>4|0);h=d>>>0>1?d:1;g=g>>4;while(1){d=f;if((d|0)!=(h|0)){f=d+1|0;e=(d<<4)+i|0;if((l|0)!=q[e>>2]|q[e+4>>2]!=(m|0)){continue}}break}if(d>>>0>=g>>>0){break f}}q[j>>2]=b;mi(3,139100,139459,j);break e}e=a+712|0;d=a+720|0;f=q[d>>2];g=a+716|0;b=q[g>>2];h=Fi(c)+1|0;if(f-b>>>0>>0){if(o[a+724|0]&1){break a}vi(((h>>>0>1024?h:1024)+f|0)-q[e>>2]|0,1,e,d,g);f=q[d>>2];b=q[g>>2]}e=q[e>>2];d=b-e|0;b=d+h|0;if(b>>>0>f-e>>>0){break d}q[g>>2]=b+e;if(b>>>0<=d>>>0){break c}si(d+e|0,c,h);c=q[a+700>>2];b=a+704|0;f=q[b>>2];if((c|0)==(f|0)){if(o[a+708|0]&1){break a}a=a+696|0;vi((f-q[a>>2]>>4)+32|0,16,a,b,k);f=q[b>>2];c=q[k>>2]}if((c|0)==(f|0)){break b}q[k>>2]=c+16;q[c+8>>2]=d;q[c>>2]=l;q[c+4>>2]=m}fi=j+16|0;return}J(139571,139421,474,139590);G()}J(139549,139421,447,139560);G()}J(139520,139421,501,139544);G()}J(139346,139421,461,139447);G()}function gv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=x(0);f=fi-48|0;fi=f;a:{if(o[290252]&1){break a}if(!ui(290252)){break a}if(r[852367]){g=Ri(12741)}else{g=-1}q[72562]=g;ti(290252)}b:{if(o[290260]&1){break b}if(!ui(290260)){break b}if(r[852367]){g=Yi(12748,9)}else{g=0}q[72564]=g;ti(290260)}g=q[72562];c:{if((g|0)!=-1){Qi(f+32|0,g,12748,q[72564]);break c}q[f+32>>2]=0}g=1;d:{h=(c<<2)+b|0;if(q[h+4>>2]!=-2){i=q[a+8>>2]-q[a+12>>2]>>4;Xi(a,-1e4,q[d+12>>2]);bk(a);Xi(a,-1e4,q[h+4>>2]);Xi(a,-1e4,q[d+12>>2]);e:{f:{g:{switch(c|0){case 0:Xi(a,-1e4,q[d+12>>2]);break f;case 2:break g;default:break e}}j=u[q[e>>2]>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=j;q[a+8>>2]=q[a+8>>2]+16}g=2}q[f+28>>2]=0;c=Cq(a,0,q[q[b+40>>2]+8>>2],q[(c<<2)+236336>>2],0,f+28|0);h:{if(o[290268]&1){break h}if(!ui(290268)){break h}if(r[852367]){b=Ri(12741)}else{b=-1}q[72566]=b;ti(290268)}b=q[72566];i:{if((b|0)!=-1){Qi(f+8|0,b,c,q[f+28>>2]);break i}q[f+8>>2]=0}b=Wl(a,g,0);if(q[f+8>>2]){Pi(f+8|0)}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;bk(a);if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break d}g=b?-1:1}if(q[f+32>>2]){Pi(f+32|0)}fi=f+48|0;return g}J(12758,12779,143,12748);G()}function $V(a){var b=0,c=0;a:{b:{c:{if(q[a+1396>>2]!=-1){break c}b=q[a+32>>2];d:{e:{if(b){if(b>>>0>=t[a+40>>2]){break e}q[a+32>>2]=b+1;b=r[b|0];break d}b=pj(q[a+20>>2]);if((b|0)!=-1){break d}}q[a+112>>2]=1;b=0}if(q[a+112>>2]){break b}if((b&255)!=79){break a}f:{g:{h:{i:{j:{k:{l:{m:{b=q[a+32>>2];n:{if(b){if(b>>>0>=t[a+40>>2]){break m}q[a+32>>2]=b+1;b=r[b|0];break n}b=pj(q[a+20>>2]);if((b|0)==-1){break m}}if((b&255)!=103){break a}b=q[a+32>>2];if(!b){break l}if(b>>>0>=t[a+40>>2]){break j}q[a+32>>2]=b+1;b=r[b|0];break k}q[a+112>>2]=1;break a}b=pj(q[a+20>>2]);if((b|0)==-1){break j}}if((b&255)!=103){break a}b=q[a+32>>2];if(!b){break i}if(b>>>0>=t[a+40>>2]){break g}q[a+32>>2]=b+1;b=r[b|0];break h}q[a+112>>2]=1;break a}b=pj(q[a+20>>2]);if((b|0)==-1){break g}}if((b&255)!=83){break f}if(!YB(a)){break b}if(!(o[a+1391|0]&1)){break c}o[a+1392|0]=0;q[a+1400>>2]=0;q[a+116>>2]=32;return 0}q[a+112>>2]=1}break a}o:{while(1){if(q[a+1396>>2]!=-1){break o}if(!el(a)){break b}if(!(o[a+1391|0]&1)){continue}break}q[a+116>>2]=32;return 0}q[a+1412>>2]=0;q[a+1416>>2]=0;q[a+1400>>2]=0;o[a+1392|0]=0;c=1}return c}q[a+116>>2]=30;return 0}function _W(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fi-656|0;fi=e;q[e+644>>2]=c;$W(a,e+584|0,b,Bj(a,d,Fi(d)));c=q[e+636>>2];d=wx(c);o[e+51|0]=0;o[e+52|0]=0;o[e+53|0]=0;o[e+54|0]=0;o[e+55|0]=0;o[e+56|0]=0;o[e+57|0]=0;o[e+58|0]=0;q[e+44>>2]=0;q[e+48>>2]=0;q[e+8>>2]=d;q[e+24>>2]=c;q[e+36>>2]=-1;q[e+40>>2]=-1;q[e+28>>2]=0;q[e+32>>2]=0;q[e+16>>2]=q[e+632>>2];q[e+20>>2]=e+584;q[e+632>>2]=e+8;a=q[e+648>>2];o[d+75|0]=2;q[d+32>>2]=a;b=Ho(c,0,0);q[e+12>>2]=b;a=q[c+8>>2];q[a+8>>2]=5;q[a>>2]=b;b=q[c+8>>2];if((q[c+28>>2]-b|0)<=16){pk(c,1);b=q[c+8>>2]}q[c+8>>2]=b+16;q[b+24>>2]=9;q[b+16>>2]=d;b=c;a=q[b+8>>2];if((q[b+28>>2]-a|0)<=16){pk(c,1);a=q[c+8>>2]}q[b+8>>2]=a+16;o[q[e+8>>2]+74|0]=2;yj(e+584|0);a=q[e+636>>2];b=s[a+52>>1]+1|0;p[a+52>>1]=b;if((b&65535)>>>0>=201){Kl(e+584|0,127357,0)}a:{while(1){a=q[e+600>>2];b=a-260|0;if(1<>>0<=27:0){break a}b=mt(e+584|0);if(q[e+600>>2]==59){yj(e+584|0)}a=q[e+632>>2];q[a+36>>2]=r[a+50|0];if(!b){continue}break}a=q[e+600>>2]}b=q[e+636>>2];p[b+52>>1]=s[b+52>>1]-1;if((a|0)!=287){q[e>>2]=Xk(e+584|0,287);xj(e+584|0,Oi(b,127343,e))}BL(e+584|0);fi=e+656|0;return q[e+8>>2]}function v_(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-160|0;fi=b;d=q[a+4>>2];a:{if(d>>>0<15){break a}q[b+144>>2]=1;e=d-14|0;q[b+148>>2]=e;c=-20352;if(e>>>0>14){break a}q[b+80>>2]=0;q[b+84>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+152>>2]=b- -64;c=q[a+8>>2]+56|0;si(b- -64|0,c,e<<2);qi(c,0,(d<<2)-56|0);c=vl(a,a,b+144|0);if(c){break a}c=q[b+84>>2];q[b+16>>2]=q[b+80>>2];q[b+20>>2]=c;c=q[b+92>>2];q[b+24>>2]=q[b+88>>2];q[b+28>>2]=c;c=q[b+100>>2];q[b+32>>2]=q[b+96>>2];q[b+36>>2]=c;c=q[b+108>>2];q[b+40>>2]=q[b+104>>2];q[b+44>>2]=c;c=q[b+116>>2];q[b+48>>2]=q[b+112>>2];q[b+52>>2]=c;c=q[b+148>>2];q[b+128>>2]=q[b+144>>2];q[b+132>>2]=c;c=q[b+68>>2];q[b>>2]=q[b+64>>2];q[b+4>>2]=c;c=q[b+76>>2];q[b+8>>2]=q[b+72>>2];q[b+12>>2]=c;q[b+136>>2]=b;c=Nk(b+128|0,224);if(c){break a}c=vl(a,a,b+128|0);if(c){break a}c=q[b+148>>2];if(c>>>0>=8){qi(b+92|0,0,(c<<2)-28|0)}c=vl(b+144|0,b+144|0,b+128|0);if(c){break a}q[b+148>>2]=15;c=Um(b+144|0,224);if(c){break a}c=vl(a,a,b+144|0)}fi=b+160|0;return c|0}function kha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;d=-2;a:{if(rj(q[a+20>>2],q[a+24>>2],q[60786],b+28|0)){break a}q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;d=VJ(q[a>>2],q[b+28>>2],b);Ui(q[b+28>>2]);b:{c:{if(d){break c}d=OJ(q[a>>2],b);if(d){break c}c=q[q[a+32>>2]+8>>2];d=q[c+8>>2];f=q[c+4>>2];if((d|0)!=(f|0)){g=q[a>>2];d=f;while(1){Di(g,q[(e<<2)+d>>2]);e=e+1|0;d=q[c+4>>2];if(e>>>0>2]-d>>2>>>0){continue}break}}q[c+8>>2]=d;e=d;f=q[c>>2];if(f){Ui(f);q[c>>2]=0;e=q[c+4>>2];d=q[c+8>>2]}q[c>>2]=q[b>>2];f=q[b+4>>2];q[b+4>>2]=e;q[c+4>>2]=f;e=q[b+8>>2];q[b+8>>2]=d;q[c+8>>2]=e;d=q[b+12>>2];q[b+12>>2]=q[c+12>>2];q[c+12>>2]=d;d=r[b+16|0];o[b+16|0]=o[c+16|0]&1|d&254;o[c+16|0]=r[c+16|0]&254|d&1;o[c+20|0]=r[b+20|0];q[q[a+32>>2]+16>>2]=(q[a+24>>2]+(q[c+8>>2]-q[c+4>>2]|0)|0)+24;d=0;break b}e=q[b+8>>2];f=q[b+4>>2];if((e|0)!=(f|0)){c=q[a>>2];a=0;e=f;while(1){Di(c,q[(a<<2)+e>>2]);a=a+1|0;e=q[b+4>>2];if(a>>>0>2]-e>>2>>>0){continue}break}}q[b+8>>2]=e;a=q[b>>2];if(!a){break b}Ui(a);q[b>>2]=0}if(o[b+16|0]&1){break a}a=q[b+4>>2];if(!a){break a}ki(a)}fi=b+32|0;return d|0}function DY(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=-1;b=q[a+32>>2];a:{b:{c:{d:{c=q[a+1396>>2];d=1;e:{if((c|0)==-1){break e}d=q[a+1132>>2];f:{if((d|0)<=(c|0)){break f}while(1){e=r[(a+c|0)+1136|0];b=e+b|0;if((e|0)!=255){break f}c=c+1|0;if((d|0)>(c|0)){continue}break}}if((d-1|0)>(c|0)){q[a+116>>2]=21;break b}if(t[a+40>>2]>>0){break d}e=(c|0)==(d|0)?-1:c;d=0}break c}q[a+116>>2]=1;break b}g=1;g:{h:{i:{j:{k:{l:{m:{while(1){if((e|0)!=-1){break a}f=q[a+40>>2];if(f>>>0<=b+26>>>0){break g}if(q[72187]!=(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))){break h}if(r[b+4|0]){break i}n:{if(d){if(!q[a+1008>>2]|!(o[b+5|0]&1)){break n}break j}if(!(o[b+5|0]&1)){break k}}e=b+27|0;d=r[b+26|0];b=e+d|0;if(f>>>0>>0){break l}c=0;o:{p:{if(!d){break p}while(1){h=r[c+e|0];b=h+b|0;if((h|0)!=255){break p}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d;break o}if((d-1|0)>(c|0)){break m}}e=q[a+1132>>2]==(c|0)?-1:c;d=0;if(b>>>0<=f>>>0){continue}break}q[a+116>>2]=1;break b}q[a+116>>2]=21;break b}q[a+116>>2]=1;break b}q[a+116>>2]=21;break b}q[a+116>>2]=21;break b}q[a+116>>2]=21;break b}q[a+116>>2]=21;break b}q[a+116>>2]=1}g=0}return g}function Jva(){q[60765]=q[72890];q[72890]=243032;q[60785]=q[72890];q[72890]=243112;q[60829]=q[72890];q[72890]=243288;q[60849]=q[72890];q[72890]=243368;q[60869]=q[72890];q[72890]=243448;q[60925]=q[72890];q[72890]=243672;q[60951]=q[72890];q[72890]=243776;q[60979]=q[72890];q[72890]=243888;q[61021]=q[72890];q[72890]=244056;q[74656]=1;q[74654]=1430610974;q[74655]=1205238996;q[74653]=75627;q[74652]=1;q[74659]=0;o[298632]=0;q[74657]=q[74650];q[74659]=q[72890];q[72890]=298608;q[61041]=q[72890];q[72890]=244136;q[61057]=q[72890];q[72890]=244200;q[61077]=q[72890];q[72890]=244280;q[61093]=q[72890];q[72890]=244344;q[61113]=q[72890];q[72890]=244424;q[74670]=1;q[74668]=-53895322;q[74669]=550923652;q[74667]=75694;q[74666]=1;q[74673]=0;o[298688]=0;q[74671]=q[74665];q[74673]=q[72890];q[72890]=298664;q[74680]=1;q[74678]=-1375023919;q[74679]=2105596786;q[74677]=75711;q[74676]=1;q[74683]=0;o[298728]=0;q[74681]=q[74675];q[74683]=q[72890];q[72890]=298704;q[61139]=q[72890];q[72890]=244528;q[61161]=q[72890];q[72890]=244616;q[61187]=q[72890];q[72890]=244720;q[61205]=q[72890];q[72890]=244792;q[61221]=q[72890];q[72890]=244856}function Jla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+8>>2];g=q[a+12>>2];a:{b:{c:{d=q[q[a+16>>2]>>2];a=q[d+16>>2];if(a){while(1){b=q[a+8>>2];if(!q[b+12>>2]){break c}q[b+12>>2]=0;b=q[a>>2];ki(a);a=b;if(a){continue}break}}q[d+16>>2]=0;d:{e:{f:{b=q[d+12>>2];if(b){while(1){if(q[b+12>>2]){q[b+12>>2]=0;c=q[b+20>>2];if(!c){break b}e=q[c+4>>2];a=q[e+16>>2];if(!a){break f}g:{if((a|0)==(c|0)){q[e+16>>2]=q[c>>2];break g}while(1){e=a;a=q[a>>2];if(!a){break f}if((a|0)!=(c|0)){continue}break}q[e>>2]=q[c>>2]}ki(c)}a=q[b+16>>2];ki(b);b=a;if(a){continue}break}}q[d+12>>2]=0;a=q[d+8>>2];if(!r[g+13|0]){break e}if(!a){break d}q[d+8>>2]=0;break d}J(37321,36070,1492,37285);G()}if(!a){break d}q[d+8>>2]=0}b=q[f+144>>2];e=q[f+140>>2];a=b-e|0;h:{if(!a){break h}c=e-b|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){g=e+(a<<2)|0;if(q[g>>2]!=(d|0)){a=a+1|0;if((c|0)!=(a|0)){continue}break h}break}q[g>>2]=q[b-4>>2];a=q[f+144>>2]-4|0;q[f+144>>2]=a;if(a>>>0>2]){break a}}if(d){ki(d)}return 0}J(37329,36070,1498,37285);G()}J(37297,36070,1468,37285);G()}J(37530,37418,484,37520);G()}function vS(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,p=0;k=-1;a:{b:{if(!a|!b){break b}c=q[a+72>>2];if(!c|q[a+20>>2]!=1){break b}if(q[c+36>>2]){p=q[c+32>>2];l=Fi(b);a=q[a+16>>2];if((a|0)<1){break b}j=a-1|0;h=q[c+16>>2];e=q[c>>2];while(1){m=f+j>>1;k=q[(m<<2)+p>>2];a=q[(k<<2)+h>>2]+e|0;g=r[a+28|0]|r[a+29|0]<<8;d=g>>>0>>0?g:l;n=(d+a|0)+46|0;a=a+46|0;c=b;i=0;g=g-l|0;if((d|0)>=1){while(1){d=r[c|0];i=(d-65&255)>>>0<26?d+32|0:d;d=r[a|0];d=(d-65&255)>>>0<26?d+32|0:d;if(!((i^d)&255)){c=c+1|0;a=a+1|0;if(n>>>0>a>>>0){continue}}break}i=i&255;c=d&255}else{c=0}a=(a|0)==(n|0)?g:c-i|0;if(!a){break b}k=-1;a=(a|0)<0;f=a?m+1|0:f;j=a?j:m-1|0;if((f|0)<=(j|0)){continue}break}break b}h=Fi(b);if(h>>>0>65535){break b}g=q[a+16>>2];if(!g){break b}i=q[c+16>>2];d=q[c>>2];while(1){c:{c=d+q[i+(f<<2)>>2]|0;a=r[c+28|0]|r[c+29|0]<<8;if(a>>>0>>0|(a|0)!=(h|0)){break c}a=0;if(!h){break a}c=c+46|0;while(1){e=o[a+b|0];j=(e-65&255)>>>0<26?e+32|0:e;e=o[a+c|0];if((j|0)!=(((e-65&255)>>>0<26?e+32|0:e)|0)){break c}a=a+1|0;if((h|0)!=(a|0)){continue}break}break a}f=f+1|0;if(g>>>0>f>>>0){continue}break}}return k}return f}function yV(a,b,c,d,e,f){var g=0,h=0;h=-50;a:{if(c&7){break a}if((b|0)!=1){h=0;if(!c){break a}while(1){g=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);ix(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}break a}h=0;if(!c){break a}b=r[d|0];while(1){o[f|0]=r[e|0]^b;o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];ix(a,f,f);g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}return h}function tV(a,b,c,d,e,f){var g=0,h=0;h=-50;a:{if(c&7){break a}if((b|0)!=1){h=0;if(!c){break a}while(1){g=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);hx(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}break a}h=0;if(!c){break a}b=r[d|0];while(1){o[f|0]=r[e|0]^b;o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];hx(a,f,f);g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}return h}function TW(){var a=0,b=0,c=0;a=ji[1002](0,0,0,376)|0;if(a){o[a+140|0]=33;o[a+4|0]=8;q[a>>2]=0;q[a+32>>2]=0;q[a+68>>2]=0;q[a+104>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;p[a+56>>1]=256;q[a+40>>2]=0;q[a+44>>2]=0;o[a+5|0]=97;o[a+6|0]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+80>>2]=0;q[a+136>>2]=0;q[a+132>>2]=1002;q[a+48>>2]=0;q[a+52>>2]=0;q[a+16>>2]=a+120;b=a+240|0;q[a+260>>2]=b;q[a+256>>2]=b;q[a+232>>2]=a;q[a+128>>2]=0;q[a+184>>2]=0;q[a+188>>2]=376;q[a+120>>2]=0;q[a+124>>2]=0;q[a+224>>2]=0;q[a+172>>2]=0;q[a+180>>2]=0;q[a+208>>2]=0;o[a+141|0]=0;q[a+144>>2]=0;q[a+152>>2]=a+148;q[a+156>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+200>>2]=200;q[a+204>>2]=200;q[a+196>>2]=0;q[a+304>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+148>>2]=a;if(!Wt(a,998,0)){return a}b=q[a+16>>2];jo(a,q[a+32>>2]);jE(a);c=q[a+16>>2];dj(a,q[c>>2],q[c+8>>2]<<2,0);c=dj(a,q[b+52>>2],q[b+60>>2],0);q[b+60>>2]=0;q[b+52>>2]=c;dj(a,q[a+40>>2],w(q[a+48>>2],24),0);dj(a,q[a+32>>2],q[a+44>>2]<<4,0);ji[q[b+12>>2]](q[b+16>>2],a,376,0)|0}return 0}function Ko(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=0,m=0,n=x(0),o=x(0),p=x(0),q=x(0),r=0,s=0,t=0;g=u[b+36>>2];i=u[b+32>>2];e=u[b+40>>2];d=u[b+20>>2];h=u[b+16>>2];j=u[b+24>>2];a:{b:{f=u[b>>2];n=u[b+4>>2];k=u[b+8>>2];c=u[b+12>>2];o=x(F(x(x(x(x(f*f)+x(n*n))+x(k*k))+x(c*c))));if(o==x(0)){break b}c=u[b+28>>2];p=x(F(x(x(x(x(h*h)+x(d*d))+x(j*j))+x(c*c))));if(p==x(0)){break b}c=u[b+44>>2];q=x(F(x(x(x(x(i*i)+x(g*g))+x(e*e))+x(c*c))));if(q==x(0)){break b}c=x(x(1)/q);e=x(e*c);g=x(g*c);i=x(i*c);c=x(x(1)/p);j=x(j*c);d=x(d*c);h=x(h*c);c=x(x(1)/o);k=x(k*c);n=x(n*c);f=x(f*c);break a}o=x(1);p=x(1);q=x(1)}l=x(x(f+d)+e)f;r=l&(s&m^1);t=d>f;m=l&(m|t);l=l&(t^-1|s);e=x(x((r?x(-e):e)+x((m?x(-f):f)+(l?x(-d):d)))+x(1));d=x(x(x(1)/x(F(e)))*x(.5));c=x(e*d);h=x(x(n-(r?x(-h):h))*d);e=x(x(i-(l?x(-k):k))*d);d=x(x(j-(m?x(-g):g))*d);c:{if(!r){f=d;g=e;e=h;d=c;break c}f=c;g=h}c=u[b+56>>2];h=u[b+52>>2];j=u[b+48>>2];d:{if(!m){i=f;f=g;g=e;e=d;break d}i=g;g=d}u[a+32>>2]=o;u[a+16>>2]=j;u[a+12>>2]=e;u[a+8>>2]=g;u[a+4>>2]=f;u[a>>2]=i;u[a+40>>2]=q;u[a+36>>2]=p;u[a+24>>2]=c;u[a+20>>2]=h}function si(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Bc(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){q[c>>2]=q[b>>2];q[c+4>>2]=q[b+4>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=q[b+20>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=q[b+28>>2];q[c+32>>2]=q[b+32>>2];q[c+36>>2]=q[b+36>>2];q[c+40>>2]=q[b+40>>2];q[c+44>>2]=q[b+44>>2];q[c+48>>2]=q[b+48>>2];q[c+52>>2]=q[b+52>>2];q[c+56>>2]=q[b+56>>2];q[c+60>>2]=q[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){q[c>>2]=q[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){o[c|0]=r[b|0];o[c+1|0]=r[b+1|0];o[c+2|0]=r[b+2|0];o[c+3|0]=r[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function nP(a){var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;a:{b:{if(!q[a+72>>2]){e=q[a>>2];break b}b=q[a+116>>2];q[c+12>>2]=b;q[c+16>>2]=(q[a+100>>2]-b|0)+16749;b=q[a+132>>2];q[c+20>>2]=0;q[c+24>>2]=b;b=q[a+104>>2];d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[c>>2]=d;q[c+4>>2]=b;vr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,c+9|0);o[c+8|0]=q[a+128>>2];b=dU(q[a+72>>2],c);if(b){break a}b=r[c+8|0];q[a+128>>2]=b;o[q[a+108>>2]]=b;q[a+120>>2]=q[c+12>>2]+q[c+20>>2];b=q[c+24>>2];q[a+132>>2]=b;o[q[a+112>>2]]=b>>>8;o[q[a+112>>2]+1|0]=q[c+24>>2];b=-29184;d=q[a+132>>2];if(d>>>0>16384){break a}c:{if(!d){if(q[a+128>>2]!=23?q[a+20>>2]==3:0){break a}d=q[a+172>>2];q[a+172>>2]=d+1;b=-29056;if((d|0)<=2){break c}break a}q[a+172>>2]=0}e=q[a>>2];if(r[e+184|0]&2){break b}b=8;d:{if((q[e+184>>2]&2)>>>0>7){d=8;break d}while(1){d=b-1|0;e=d+q[a+104>>2]|0;f=r[e|0]+1|0;o[e|0]=f;e=q[a>>2];if((f&255)==(f|0)){d=b;break d}b=d;if(b>>>0>(q[e+184>>2]&2)>>>0){continue}break}}b=-27520;if((q[e+184>>2]&2)==(d|0)){break a}}b=0;if(!(r[e+184|0]&2)){break a}bU(a)}fi=c+32|0;return b}function uka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-80|0;fi=d;b=q[a+4>>2];c=q[b+20>>2];e=q[q[a+12>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];g=q[b+8>>2];b=q[b+4>>2];if(c>>>0>2>>>0){c=q[b+(c<<2)>>2];b=q[a+16>>2];e=q[b+64>>2];f=q[59647];g=q[b+68>>2];a:{if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+206|0]=r[c+206|0]|1;break a}f=q[59648];if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+206|0]=r[c+206|0]&254;break a}if(!q[b+80>>2]){break a}f=q[61188];if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){e=q[b+100>>2];g=q[b+96>>2];f=q[q[c+152>>2]+8>>2];u[d+16>>2]=u[b+112>>2];u[d+20>>2]=u[b+116>>2];u[d+24>>2]=u[b+120>>2];u[d+28>>2]=u[b+124>>2];if((Xo(f,g,e,$o(d+40|0,d+16|0),q[b+128>>2],432,c)|0)!=-1){break a}a=q[a+16>>2];c=_m(q[a+32>>2],q[a+36>>2]);e=Ei(q[a+48>>2],q[a+52>>2]);a=Ei(q[a+56>>2],q[a+60>>2]);q[d+12>>2]=Ei(q[b+96>>2],q[b+100>>2]);q[d+8>>2]=a;q[d+4>>2]=e;q[d>>2]=c;mi(4,44487,44552,d);break a}a=q[61206];if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(g|0)){break a}a=q[c+148>>2];if(!a){break a}if(!dv(a,q[b+96>>2],q[b+100>>2])){break a}o[c+206|0]=r[c+206|0]|4}fi=d+80|0;return 0}}J(45837,45268,447,45848);G()}function t7(a){var b=0,c=0,d=0,e=0;b=q[a+4>>2];if(b){a:{if(o[b+104|0]&1){break a}c=q[b+92>>2];if(!c){break a}ki(c)}ki(b)}b=q[a+8>>2];if(b){b:{if(o[b+48|0]&1){break b}c=q[b+36>>2];if(!c){break b}ki(c)}ki(b)}b=q[a+12>>2];d=q[a+16>>2];if((b|0)!=(d|0)){while(1){c=q[(e<<2)+b>>2];if(c){c:{if(o[c+336|0]&1){break c}b=q[c+316>>2];if(b){ki(b)}b=q[c+308>>2];if(!b){break c}ki(b)}d:{if(o[c+304|0]&1){break d}b=q[c+292>>2];if(!b){break d}ki(b)}ki(c);d=q[a+16>>2];b=q[a+12>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}b=q[a+28>>2];if(b){e:{if(o[b+992|0]&1){break e}c=q[b+980>>2];if(!c){break e}ki(c)}ki(b)}b=q[a+32>>2];if(b){ki(b)}b=q[a+36>>2];if(b){f:{if(o[b+536|0]&1){break f}c=q[b+524>>2];if(!c){break f}ki(c)}ki(b)}c=q[a+72>>2];g:{h:{if(!c){break h}d=q[a+76>>2];if(d){b=0;while(1){e=q[(c+(b<<3)|0)+4>>2];if(e){ki(e)}b=b+1|0;if((d|0)!=(b|0)){continue}break}ki(c);if(!a){break g}break h}ki(c)}i:{if(o[a+92|0]&1){break i}b=q[a+80>>2];if(!b){break i}ki(b)}j:{if(o[a+68|0]&1){break j}b=q[a+48>>2];if(b){ki(b)}b=q[a+40>>2];if(!b){break j}ki(b)}k:{if(o[a+24|0]&1){break k}b=q[a+12>>2];if(!b){break k}ki(b)}ki(a)}}function U8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=0;b=fi-176|0;fi=b;j=Ti(b+152|0,a,1,187364,323);d=yi(a,1,q[213956],0);c=q[d>>2];e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=fk(a,-1,q[213955]);oi(a,-2);if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{if((c|0)==(f|0)){e=q[d>>2];c=q[e+32>>2];b:{c:{d:{e:{f:{g:{d=q[d+4>>2];f=d&65535;if(f>>>0>=(q[e+36>>2]-c|0)/576>>>0|s[(c+w(f,576)|0)+552>>1]!=(d>>>16|0)){break g}c=c+w(f,576)|0;if(s[c+554>>1]!=(d&65535)|r[c+415|0]&16){break g}c=Hz(e,d);g=u[c+8>>2];h=u[c+4>>2];i=u[c>>2];switch(q[c+412>>2]>>>4&15){case 5:break c;case 6:break d;case 1:break e;case 0:break f;default:break b}}ni(a,189521,0);G()}v[b+48>>3]=g;v[b+40>>3]=h;v[b+32>>3]=i;nj(a,189636,b+32|0);break a}c=q[c+420>>2];v[b+88>>3]=g;v[b+80>>3]=h;v[b+72>>3]=i;q[b+64>>2]=c;nj(a,189653,b- -64|0);break a}c=q[c+416>>2];v[b+120>>3]=g;v[b+112>>3]=h;v[b+104>>3]=i;q[b+96>>2]=c;nj(a,189669,b+96|0);break a}v[b+144>>3]=g;v[b+136>>3]=h;v[b+128>>3]=i;nj(a,189692,b+128|0);break a}v[b+16>>3]=g;v[b+8>>3]=h;v[b>>3]=i;nj(a,189716,b);break a}wi(a,189737)}Si(j);fi=b+176|0;return 1}J(187343,187364,162,187386);G()}function Ez(a,b,c,d,e){var f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0);f=fi+ -64|0;fi=f;a:{b:{if(d){Pq(b,d,0,f);h=u[d+384>>2];g=h;i=u[d+388>>2];j=i;c:{d:{d=q[c+412>>2];switch(d>>>16&3){case 1:break c;case 0:break d;default:break a}}g=hi?h:i;break b}d=q[b+12>>2];l=x(t[d+20>>2]);m=x(t[b+360>>2]);h=x(l/m);g=h;k=x(t[d+24>>2]);n=x(t[b+364>>2]);i=x(k/n);j=i;e:{f:{g:{h:{d=q[c+412>>2];switch(d>>>16&3){case 1:break g;case 0:break h;default:break e}}g=hi?h:i}j=g}q[f+24>>2]=0;q[f+28>>2]=0;u[f+20>>2]=j;q[f+32>>2]=0;q[f+36>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+40>>2]=1065353216;q[f+52>>2]=0;q[f+56>>2]=0;q[f+60>>2]=1065353216;q[f+4>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f+16>>2]=0;k=x(x(k-x(j*n))*x(.5));u[f>>2]=g;l=x(x(l-x(g*m))*x(.5));break a}j=g}m=u[e>>2];n=u[e+4>>2];o=u[f+52>>2];p=u[f+48>>2];u[a+8>>2]=u[e+8>>2]-u[f+56>>2];r=x(x(1)/j);b=(d>>>10&3)-1|0;j=x(x(n-o)-(b>>>0<2?x(0):k));u[a+4>>2]=r*j;k=x(x(1)/g);c=(d>>>8&3)-1|0;g=x(x(m-p)-(c>>>0<2?x(0):l));u[a>>2]=k*g;if(c>>>0<=1){u[a>>2]=g/h}if(b>>>0<=1){u[a+4>>2]=j/i}fi=f- -64|0}function e6(a,b,c,d,e,f){var g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=0,v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0);g=x(e*x(64));a:{if(g=x(0)){h=~~g>>>0;break a}h=0}t=q[a>>2];v=q[a+4>>2]-t|0;a=(v|0)/160|0;if(v){h=w(h>>>0<63?h:63,12)+b|0;z=x(x(x(e-u[h>>2])*u[h+8>>2])+u[h+4>>2]);n=x(d*f);d=x(u[b+776>>2]*d);A=x(d*d);B=u[b+768>>2];h=a>>>0>1?a:1;C=u[c+8>>2];D=u[c+4>>2];E=u[c>>2];c=0;while(1){a=w(c,160)+t|0;d=u[a+40>>2];g=x(d*x(0));e=u[a+44>>2];f=u[a+32>>2];k=x(f*x(0));o=x(x(g+e)-k);i=x(u[a>>2]-E);p=x(u[a+4>>2]-D);j=x(u[a+8>>2]-C);y=x(x(x(i*i)+x(p*p))+x(j*j));r=x(A-y)>=x(0)?x(z+x(B*u[a+76>>2])):x(0);m=g;g=u[a+36>>2];k=x(m+x(k+g));l=x(e*x(0));m=x(g*x(0));s=x(x(l+f)-m);l=x(x(l+m)-d);b=y<=x(0);j=b?x(x(f*o)+x(x(x(d*k)+x(e*s))-x(g*l))):j;i=b?x(x(g*s)+x(x(x(e*l)+x(f*k))-x(d*o))):i;d=b?x(x(d*l)+x(x(x(e*o)+x(g*k))-x(f*s))):p;e=x(x(1)/x(F(x(x(j*j)+x(x(i*i)+x(d*d))))));u[a+56>>2]=u[a+56>>2]+x(n*x(r*x(j*e)));u[a+52>>2]=u[a+52>>2]+x(n*x(r*x(d*e)));u[a+48>>2]=u[a+48>>2]+x(n*x(r*x(i*e)));c=c+1|0;if((h|0)!=(c|0)){continue}break}}}function _ta(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;xwa(+b);c=uwa(1)|0;c=c&2147483647;e=!(uwa(0)|0)&(c|0)==2146435072|c>>>0<2146435072;xwa(+a);c=uwa(1)|0;d=uwa(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}xwa(+b);d=uwa(1)|0;e=uwa(0)|0;c=d;h=c;if(!(e|c-1072693248)){return XA(a)}xwa(+a);d=uwa(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(uwa(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return v[(c<<3)+205744>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=XA(y(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return v[(c<<3)+205776>>3]}a=3.141592653589793}return a}xwa(1.5707963267948966);c=uwa(1)|0;e=uwa(0)|0;xwa(+a);d=uwa(1)|0;uwa(0)|0;vwa(0,e|0);vwa(1,c&2147483647|d&-2147483648);return+wwa()}function Aea(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=0,k=0;b=fi-112|0;fi=b;k=Ti(b+88|0,a,1,72665,503);j=q[a+8>>2]-q[a+12>>2]>>4;g=Kj(a);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;ok(a,1,b+56|0,b+24|0);c=-1;a:{if((j|0)<2){f=x(1);h=x(1);d=0;break a}b:{if(!ri(a,2)){h=x(1);f=x(1);break b}vj(a,2,5);Hi(a,2);zi(a,-1,73155);i=x(0);c:{if(!ri(a,-1)){break c}i=x(Ai(a,-1))}oi(a,-2);zi(a,-1,73161);e=x(1);d:{if(!ri(a,-1)){break d}e=x(Ai(a,-1))}h=e;oi(a,-2);zi(a,-1,73166);e=x(0);e:{if(!ri(a,-1)){break e}e=x(Ai(a,-1))}oi(a,-2);zi(a,-1,73170);f=x(1);f:{if(!ri(a,-1)){break f}f=x(Ai(a,-1))}oi(a,-2);oi(a,-2)}d=0;if((j|0)<3){break a}d=0;if((ri(a,3)|0)!=6){break a}Hi(a,3);c=X$();d=is(a)+2|0}q[b+16>>2]=c;u[b+12>>2]=f;u[b+8>>2]=e;u[b+4>>2]=h;u[b>>2]=i;c=q[61022];oo(b+24|0,b+56|0,q[c+8>>2],q[c+12>>2],g,d,c,b,20,0);g=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=g>>>0;q[a+8>>2]=q[a+8>>2]+16;Si(k);fi=b+112|0;return 1}function f6(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=0,s=0,t=x(0);h=u[d>>2];g=u[d+12>>2];i=u[d+4>>2];j=u[d+8>>2];l=x(e*x(64));a:{if(l=x(0)){d=~~l>>>0;break a}d=0}r=q[a>>2];s=q[a+4>>2]-r|0;a=(s|0)/160|0;b:{if(!s){break b}d=w(d>>>0<63?d:63,12)+b|0;l=x(x(x(e-u[d>>2])*u[d+8>>2])+u[d+4>>2]);t=u[b+768>>2];d=a>>>0>1?a:1;a=0;if(!q[c+4>>2]){while(1){b=w(a,160)+r|0;e=u[b+56>>2];k=e;e=x(x(l+x(t*u[b+76>>2]))*f);e=e>2]=k-x(k*e);h=u[b+52>>2];u[b+52>>2]=h-x(h*e);h=u[b+48>>2];u[b+48>>2]=h-x(h*e);a=a+1|0;if((d|0)!=(a|0)){continue}break b}}m=x(g*x(0));n=x(h*x(0));e=x(x(j+m)-n);o=x(j*x(0));p=x(i*x(0));k=x(o+x(p+h));m=x(x(m+n)-i);n=x(x(g+p)-o);o=x(x(h*e)+x(x(x(j*k)+x(g*m))-x(i*n)));p=x(x(j*n)+x(x(x(g*e)+x(i*k))-x(h*m)));h=x(x(i*m)+x(x(x(g*n)+x(h*k))-x(j*e)));while(1){b=w(a,160)+r|0;i=u[b+48>>2];j=u[b+52>>2];g=u[b+56>>2];e=x(x(x(h*i)+x(p*j))+x(o*g));k=g;g=x(x(l+x(t*u[b+76>>2]))*f);g=g>2]=k-x(x(o*e)*g);u[b+52>>2]=j-x(x(p*e)*g);u[b+48>>2]=i-x(x(h*e)*g);a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function V2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=fi-1056|0;fi=e;if(q[65098]==(b|0)){g=q[c+24>>2];h=q[c+8>>2];ij(a,0,0);b=q[c>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,114161);b=q[c+36>>2];a:{if(b){b:{if(q[c>>2]!=200){break b}d=q[c+32>>2];kj(e+32|0,b,1024);wk(e+32|0,114348,1024);f=sk(e+32|0,114358);c:{if(!f){break c}g=Al(g,1,d,f);nn(f);Qj(f);if((d|0)!=(g|0)){q[e+20>>2]=b;q[e+16>>2]=d;mi(4,114361,114368,e+16|0);break c}if(!cu(b,e+32|0)){break b}q[e+4>>2]=b;q[e>>2]=e+32;mi(4,114361,114403,e)}wi(a,114168);pi(a,-2,114197)}wi(a,q[c+36>>2]);pi(a,-2,114203);break a}Bi(a,g,q[c+32>>2]);pi(a,-2,114208)}Bi(a,114217,7);ij(a,0,0);b=q[c+16>>2];d:{if(!b){break d}o[(b+h|0)-1|0]=0;d=wq(h,114225,e+32|0);if(!d){break d}while(1){c=Nj(d,58);o[c|0]=0;b=d;f=r[b|0];if(f){while(1){f=f<<24>>24;o[b|0]=f-65>>>0<26?f|32:f;f=r[b+1|0];b=b+1|0;if(f){continue}break}}wi(a,d);o[c|0]=58;while(1){b=r[c+1|0];d=c+1|0;c=d;if((b|0)==32){continue}break}wi(a,d);qj(a,-3);d=wq(0,114225,e+32|0);if(d){continue}break}}qj(a,-3);fi=e+1056|0;return 0}J(114066,114115,51,114141);G()}function no(a,b){var c=x(0),d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),w=x(0);e=fi-144|0;fi=e;d=yi(a,b,q[210279],0);f=u[d+16>>2];g=u[d>>2];a:{b:{if(g!=g|f!=f){break b}c=u[d+32>>2];if(c!=c){break b}c=u[d+48>>2];if(c!=c){break b}c=u[d+4>>2];if(c!=c){break b}c=u[d+20>>2];if(c!=c){break b}c=u[d+36>>2];if(c!=c){break b}c=u[d+52>>2];if(c!=c){break b}c=u[d+8>>2];if(c!=c){break b}c=u[d+24>>2];if(c!=c){break b}c=u[d+40>>2];if(c!=c){break b}c=u[d+56>>2];if(c!=c){break b}c=u[d+12>>2];if(c!=c){break b}c=u[d+28>>2];if(c!=c){break b}c=u[d+44>>2];if(c!=c){break b}c=u[d+60>>2];if(c==c){break a}}c=u[d+32>>2];h=u[d+48>>2];i=u[d+4>>2];j=u[d+20>>2];k=u[d+36>>2];l=u[d+52>>2];m=u[d+8>>2];n=u[d+24>>2];o=u[d+40>>2];p=u[d+56>>2];r=u[d+12>>2];s=u[d+28>>2];t=u[d+44>>2];w=u[d+60>>2];v[e+16>>3]=f;v[e+128>>3]=w;v[e+120>>3]=t;v[e+112>>3]=s;v[e+104>>3]=r;v[e+96>>3]=p;v[e+88>>3]=o;v[e+80>>3]=n;v[e+72>>3]=m;v[e- -64>>3]=l;v[e+56>>3]=k;v[e+48>>3]=j;v[e+40>>3]=i;v[e+32>>3]=h;v[e+24>>3]=c;v[e+8>>3]=g;q[e>>2]=b;ni(a,121062,e)}fi=e+144|0;return d}function Bda(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;a:{b:{c:{d:{e:{if(a){if(!c){break e}if(!b){break d}f=q[a+76>>2];if(!(q[b+164>>2]==(d|0)?(f|0)==q[b+168>>2]:0)){i=b;h=s[b+160>>1];if(h){while(1){f=w(g,20)+b|0;e=ac(d|0,q[f>>2])|0;f:{if((e|0)!=-1){break f}e=65535;if(!(r[q[74995]+104|0]&8)){break f}if(!(K()|0)){break f}while(1){if(K()|0){continue}break}}p[f+6>>1]=e;g=g+1|0;if((h|0)!=(g|0)){continue}break}f=q[a+76>>2]}q[i+168>>2]=f;q[b+164>>2]=d}O(34962,c|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break c}}if(s[b+160>>1]){e=0;while(1){c=w(e,20)+b|0;a=p[c+6>>1];g:{if((a|0)==-1){break g}Wa(a|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}Qa(p[c+6>>1],s[c+8>>1],q[(q[c+12>>2]<<2)+81328>>2],r[c+16|0],s[b+162>>1],s[c+10>>1]);if(!(r[q[74995]+104|0]&8)){break g}a=K()|0;if(a){break a}}e=e+1|0;if(e>>>0>1]){continue}break}}return}J(79156,79164,1538,81372);G()}J(81289,79164,1539,81372);G()}J(81303,79164,1540,81372);G()}Mi(a,81372,1550);J(79249,79164,1550,81372);G()}Mi(a,81372,1557);J(79249,79164,1557,81372);G()}Mi(a,81372,1566);J(79249,79164,1566,81372);G()}function z5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=0,l=x(0);c=fi-336|0;fi=c;e=q[b>>2];a:{b:{d=q[a+80>>2];if(!d){break b}if(!(q[64336]!=(d|0)?q[64310]!=(d|0):0)){if(!q[q[e+304>>2]+2008>>2]){mi(3,105772,107617,0);q[b+4>>2]=-1;break a}b=Qy(c- -64|0);j=q[64310];q[b+112>>2]=q[a+112>>2]+(a+96|0);h=u[a+104>>2];k=q[a+100>>2];q[b+48>>2]=q[a+96>>2];q[b+52>>2]=k;c:{if((d|0)==(j|0)){f=x(1);g=x(1);break c}i=u[a+132>>2];l=u[a+128>>2];f=u[a+136>>2];g=u[a+140>>2]}u[b+64>>2]=l;u[b+76>>2]=g;u[b+72>>2]=f;u[b+68>>2]=i;u[b+56>>2]=h;a=q[e+304>>2];Py(a,q[a+2008>>2],0,0,b);break a}if(q[64364]==(d|0)){b=q[e+304>>2];u[c+48>>2]=u[a+96>>2];u[c+52>>2]=u[a+100>>2];u[c+56>>2]=u[a+104>>2];u[c+32>>2]=u[a+112>>2];u[c+36>>2]=u[a+116>>2];u[c+40>>2]=u[a+120>>2];g=u[a+128>>2];u[c+16>>2]=g;f=u[a+132>>2];u[c+20>>2]=f;h=u[a+136>>2];u[c+24>>2]=h;i=u[a+140>>2];u[c+12>>2]=i;u[c+8>>2]=h;u[c+4>>2]=f;u[c>>2]=g;u[c+28>>2]=i;hG(b,c+48|0,c+32|0,c+16|0,c);break a}if(q[64406]!=(d|0)){break b}ji[q[74889]](q[q[e+304>>2]+2208>>2],q[a+96>>2],q[a+100>>2]);break a}q[b+4>>2]=uu(e,2,a)}fi=c+336|0}function fq(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=-27648;a:{b:{e=q[a+208>>2];switch(e-20|0){case 0:case 2:break b;default:break a}}c=q[a+212>>2];f=q[a+204>>2];d=r[f|0];if(q[a+68>>2]?0:!(d?0:(e|0)==22)){break a}c:{d:{if(!(r[q[a>>2]+184|0]&2)){break d}g=q[a+68>>2];if(!g){break d}if(c>>>0>16384){break a}if(r[g+492|0]!=1){break c}break a}if(c>>>0>16384){break a}}e:{if((e|0)!=22){break e}c=c-4|0;o[f+1|0]=c>>>16;o[q[a+204>>2]+2|0]=c>>>8;o[q[a+204>>2]+3|0]=c;if(r[q[a>>2]+184|0]&2){b=-28928;if(16384-q[a+212>>2]>>>0<8){break a}b=q[a+204>>2];Kk(b+12|0,b+4|0,c);q[a+212>>2]=q[a+212>>2]+8;f:{if(d){o[q[a+204>>2]+4|0]=q[q[a+68>>2]+472>>2]>>>8;o[q[a+204>>2]+5|0]=q[q[a+68>>2]+472>>2];b=q[a+68>>2];q[b+472>>2]=q[b+472>>2]+1;break f}o[q[a+204>>2]+4|0]=0;o[q[a+204>>2]+5|0]=0}b=q[a+204>>2];o[b+6|0]=0;o[b+7|0]=0;o[b+8|0]=0;b=q[a+204>>2];c=r[b+1|0]|r[b+2|0]<<8;o[b+9|0]=c;o[b+10|0]=c>>>8;o[b+11|0]=r[b+3|0]}if(!d){break e}ji[q[q[a+68>>2]+1104>>2]](a,q[a+204>>2],q[a+212>>2])}g:{if(!(!(r[q[a>>2]+184|0]&2)|(q[a+208>>2]==22?!d:0))){b=PP(a);if(!b){break g}break a}b=ut(a,1);if(b){break a}}b=0}return b}function NJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-48|0;fi=e;a:{if(!rj(b,c,q[62030],e+44|0)){f=1;b:{c:{d:{e:{f:{g:{c=q[e+44>>2];switch(q[c>>2]){case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break b}}if(q[c+8>>2]!=1){f=0;mi(4,55656,55664,0);break b}break c}if(q[c+8>>2]!=3){f=0;mi(4,55656,55685,0);break b}if(r[a+13|0]){a=q[c+4>>2];b=q[a+4>>2];c=q[a>>2];u[e+24>>2]=u[a+8>>2];q[e+16>>2]=c;q[e+20>>2]=b;q[d>>2]=0;break b}a=q[c+4>>2];b=q[a+4>>2];c=q[a>>2];u[e+24>>2]=u[a+8>>2];q[e+16>>2]=c;q[e+20>>2]=b;q[d>>2]=0;break b}if(q[c+8>>2]!=2){f=0;mi(4,55656,55703,0);break b}if(r[a+13|0]){q[d>>2]=0;break b}q[e>>2]=55728;mi(4,55656,55725,e);break b}b=q[c+8>>2];if(b>>>0<=8){f=0;mi(4,55656,55762,0);break b}if(r[a+13|0]){q[d>>2]=0;break b}b=b<<1;a=(b>>>0)/3|0;g=Ci((a|0)!=(a&1073741823)?-1:a<<2);if(b>>>0>=3){a=a>>>0>1?a:1;i=q[c+8>>2];b=0;while(1){h=w(b>>>1|0,3)+(b&1)|0;if(h>>>0>=i>>>0){break a}u[(b<<2)+g>>2]=u[q[c+4>>2]+(h<<2)>>2];b=b+1|0;if((a|0)!=(b|0)){continue}break}}q[d>>2]=0;ki(g);break b}q[d>>2]=0}Ui(q[e+44>>2])}fi=e+48|0;return f}J(55781,55793,53,55829);G()}function mU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=fi-80|0;fi=i;h=-16512;a:{if(!b|q[a+164>>2]!=1){break a}k=q[a+4>>2];if(d){d=d-3|0;b:{if(d>>>0<=5){d=q[(d<<2)+267260>>2];break b}d=0}if(!d){break a}e=(d?q[d+8>>2]:0)&255}d=q[a+168>>2]-3|0;c:{if(d>>>0<=5){d=q[(d<<2)+267260>>2];break c}d=0}if(!d){break a}l=(d?q[d+8>>2]:0)&255;j=l<<1;if(j>>>0>k>>>0){break a}g=qi(g,0,k);n=k-l|0;h=n-2|0;j=j+2>>>0>k>>>0?h:l;m=ji[b|0](c,i+16|0,j)|0;if(m){h=m-17536|0;break a}m=a+8|0;p=ul(m);h=g+(h-j|0)|0;o[h|0]=1;s=si(h+1|0,i+16|0,j);q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;d:{h=jn(i,d,0);e:{if(h){break e}d=-20736;f:{if(!i){break f}h=q[i>>2];if(!h){break f}d=ji[q[h+16>>2]](q[i+4>>2])|0}h=d;if(d){break e}d=j+s|0;h=Fn(i,d,8);if(h){break e}h=Fn(i,f,e);if(h){break e}h=Fn(i,i+16|0,j);if(h){break e}e=-20736;g:{if(!i){break g}f=q[i>>2];if(!f){break g}e=ji[q[f+24>>2]](q[i+4>>2],d)|0}h=e;if(h){break e}e=!(p+7&7);h=dq(e+g|0,(e^-1)+n|0,d,l,i);if(!h){break d}}$l(i);break a}e=ul(m);o[g|0]=r[g|0]&255>>>(k<<3|1)-e;o[d+l|0]=188;ji[q[66742]](i+16|0,0,64)|0;$l(i);h=Cr(a,b,c,g,g)}fi=i+80|0;return h}function ica(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=fi-16|0;fi=e;p[a+22>>1]=s[a+22>>1]|1<>1];h=q[q[74995]>>2];tj(h);a:{b:{c:{d:{e:{c=s[149976];if((c|0)==s[149977]){if(c>>>0>=65472){break e}d=q[74987];f=c- -64|0;i=f&65535;g=xi(i<<1);q[74987]=g;g=si(g,d,c<<1);p[149976]=f;while(1){p[g+(c<<1)>>1]=c;c=c+1|0;if((i|0)!=(c|0)){continue}break}ki(d);if(o[299944]&1){break d}vi(s[149976],48,299932,299940,299936);q[74984]=q[74985]}d=q[74987];if(!d){break c}c=s[149977];if(c>>>0>=s[149976]){break b}p[149977]=c+1;d=s[d+(c<<1)>>1];f=q[74983];if(d>>>0>=(q[74984]-f|0)/48>>>0){break a}c=f+w(d,48)|0;q[c>>2]=a;a=q[b+4>>2];q[c+4>>2]=q[b>>2];q[c+8>>2]=a;a=q[b+12>>2];q[c+12>>2]=q[b+8>>2];q[c+16>>2]=a;a=q[b+20>>2];q[c+20>>2]=q[b+16>>2];q[c+24>>2]=a;a=q[b+28>>2];q[c+28>>2]=q[b+24>>2];q[c+32>>2]=a;a=q[b+36>>2];q[c+36>>2]=q[b+32>>2];q[c+40>>2]=a;q[c+44>>2]=q[b+40>>2];lj(h);q[e+8>>2]=0;q[e+4>>2]=689;q[e>>2]=d;Uz(e);fi=e+16|0;return}J(83363,83386,112,83079);G()}J(83004,80515,461,83079);G()}J(83460,83386,151,83467);G()}J(83471,83386,152,83467);G()}J(80504,80515,447,80594);G()}function Dt(a,b){Gn(a);q[a>>2]=b;a:{b:{switch(b-1|0){case 0:on(a,142656,24,0,0,142688,24,142720,24,142752,24,142784,24);break a;case 1:on(a,142816,32,0,0,142848,28,142880,28,142912,28,142944,28);break a;case 2:on(a,142976,32,0,0,143008,32,143040,32,143072,32,143104,32);break a;case 3:on(a,143136,48,0,0,143184,48,143232,48,143280,48,143328,48);break a;case 4:on(a,143376,68,0,0,143456,68,143536,68,143616,68,143696,68);break a;case 9:q[a+100>>2]=1217;on(a,143776,24,143800,4,143804,4,143808,24,143840,24,143872,24);break a;case 10:q[a+100>>2]=1218;on(a,143904,28,143932,4,143936,4,143952,28,143984,28,144016,32);break a;case 11:q[a+100>>2]=1219;on(a,144048,32,144080,4,144084,4,144096,32,144128,32,144160,32);break a;case 5:on(a,144192,32,144224,32,144256,32,144288,32,144320,32,144352,32);break a;case 6:on(a,144384,48,144432,48,144480,48,144528,48,144576,48,144624,48);break a;case 7:on(a,144672,64,144736,64,144800,64,144864,64,144928,64,144992,64);break a;case 8:q[a+100>>2]=1220;return m_(a);case 12:q[a+100>>2]=1221;return l_(a);default:break b}}Gn(a);return-20096}return 0}function $J(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=x(0);h=fi-48|0;fi=h;a:{if((c|0)==3){c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;c=q[d+12>>2];q[g+8>>2]=q[d+8>>2];q[g+12>>2]=c;c=q[d+20>>2];q[g+16>>2]=q[d+16>>2];q[g+20>>2]=c;break a}if((c&-2)!=4){break a}c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;c=q[d+12>>2];q[g+8>>2]=q[d+8>>2];q[g+12>>2]=c;c=q[d+20>>2];q[g+16>>2]=q[d+16>>2];q[g+20>>2]=c;c=q[d+28>>2];q[g+24>>2]=q[d+24>>2];q[g+28>>2]=c}c=q[q[a>>2]>>2];j=q[c+8>>2]-q[c+12>>2]>>4;Ki(c);d=-1;i=ri(c,-1);oi(c,-2);if(!i){Xi(c,-1e4,q[a+12>>2]);bk(c)}Xi(c,-1e4,q[a+16>>2]);wi(c,b);gl(c,-2);b:{if(!ri(c,-1)){break b}d=iv(c,-1,g+32|0);if(d|!e){break b}k=u[((f<<2)+g|0)+40>>2];a=h+8|0;q[a>>2]=0;v[a+8>>3]=k;a=h;b=q[a+44>>2];q[g+64>>2]=q[a+40>>2];q[g+68>>2]=b;b=q[a+36>>2];q[g+56>>2]=q[a+32>>2];q[g+60>>2]=b;b=q[a+28>>2];q[g+48>>2]=q[a+24>>2];q[g+52>>2]=b;b=q[a+20>>2];q[g+40>>2]=q[a+16>>2];q[g+44>>2]=b;b=q[a+12>>2];q[g+32>>2]=q[a+8>>2];q[g+36>>2]=b;d=0}oi(c,-3);if(!i){a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;bk(c)}if(q[c+8>>2]-q[c+12>>2]>>4!=(j|0)){J(13263,12779,918,13533);G()}fi=h+48|0;return d}function Q$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=fi-32|0;fi=f;a:{b:{c:{d:{c=q[239986];e=s[c+40>>1];e:{if((e|0)==s[c+42>>1]){q[b>>2]=0;q[f>>2]=e;mi(4,201088,201315,f);d=-3;break e}f:{g:{h:{e=q[a+20>>2];switch(e|0){case 0:break f;case 1:break g;default:break h}}J(201411,201413,550,201430);G()}e=1}d=q[c+16>>2];if(d){tj(d)}g=B$(q[c>>2],e,q[a+8>>2],q[a+12>>2],f+28|0);i:{if(g){q[f+16>>2]=g;mi(4,201088,201447,f+16|0);e=0;break i}h=q[c+36>>2];if(!h){break d}e=s[c+42>>1];if(e>>>0>=s[c+40>>1]){break c}p[c+42>>1]=e+1;e=s[(e<<1)+h>>1]}if(d){lj(d)}d=-8;if(g){break e}g=e&65535;d=q[c+24>>2];c=q[c+20>>2];if(g>>>0>=d-c>>6>>>0){break b}d=c+(g<<6)|0;if(s[d+56>>1]!=65535){break a}c=c+(g<<6)|0;p[c+58>>1]=s[a+16>>1];p[d+56>>1]=e;q[c+32>>2]=1056964608;q[c+36>>2]=1056964608;q[c+24>>2]=1065353216;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=1065353216;o[c+60|0]=r[c+60|0]&248;q[d>>2]=q[f+28>>2];a=q[239985];q[c+8>>2]=q[239984];q[c+12>>2]=a;q[b>>2]=d;d=0}fi=f+32|0;return d}J(202215,202119,151,202222);G()}J(202226,202119,152,202222);G()}J(202193,201978,447,202204);G()}J(201475,201413,567,201430);G()}function Ks(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=0,s=0;i=q[b+80>>2];j=q[i+4148>>2];b=q[b+140>>2]&32767;if(b>>>0>2]-j>>6>>>0){b=j+(b<<6)|0;l=u[b+32>>2];g=u[b+36>>2];e=u[b+40>>2];h=u[b+16>>2];d=u[b+20>>2];m=u[b+24>>2];f=u[b>>2];n=u[b+4>>2];k=u[b+8>>2];c=u[b+12>>2];o=x(F(x(x(x(x(f*f)+x(n*n))+x(k*k))+x(c*c))));a:{if(o==x(0)){break a}c=u[b+28>>2];p=x(F(x(x(x(x(h*h)+x(d*d))+x(m*m))+x(c*c))));if(p==x(0)){break a}c=u[b+44>>2];c=x(F(x(x(x(x(l*l)+x(g*g))+x(e*e))+x(c*c))));if(c==x(0)){break a}c=x(x(1)/c);e=x(e*c);g=x(g*c);l=x(l*c);c=x(x(1)/p);m=x(m*c);d=x(d*c);h=x(h*c);c=x(x(1)/o);k=x(k*c);n=x(n*c);f=x(f*c)}b=x(x(f+d)+e)f;j=b&(r&i^1);s=d>f;i=b&(i|s);b=b&(s^-1|r);e=x(x((j?x(-e):e)+x((i?x(-f):f)+(b?x(-d):d)))+x(1));d=x(x(x(1)/x(F(e)))*x(.5));c=x(e*d);h=x(x(n-(j?x(-h):h))*d);e=x(x(l-(b?x(-k):k))*d);d=x(x(m-(i?x(-g):g))*d);b:{if(!j){f=d;g=e;e=h;d=c;break b}f=c;g=h}c:{if(!i){h=f;f=g;g=e;e=d;break c}h=g;g=d}u[a+12>>2]=e;u[a+8>>2]=g;u[a+4>>2]=f;u[a>>2]=h;return}J(12475,10090,447,9406);G()}function BL(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+52>>2];d=q[a+48>>2];c=q[d>>2];e=r[d+50|0];if(e){b=q[c+24>>2];g=q[d+24>>2];while(1){e=e-1|0;q[(w(s[((e<<1)+d|0)+172>>1],12)+b|0)+8>>2]=g;if(e){continue}break}o[d+50|0]=0}aE(d,0,0);e=c;b=q[d+24>>2];a:{if(b+1>>>0<=1073741823){b=dj(f,q[c+12>>2],q[c+44>>2]<<2,b<<2);break a}b=Rj(f)}q[e+12>>2]=b;b=q[d+24>>2];q[c+44>>2]=b;e=c;b:{if(b+1>>>0<=1073741823){b=dj(f,q[c+20>>2],q[c+48>>2]<<2,b<<2);break b}b=Rj(f)}q[e+20>>2]=b;q[c+48>>2]=q[d+24>>2];e=c;b=q[d+40>>2];c:{if(b+1>>>0<=268435455){b=dj(f,q[c+8>>2],q[c+40>>2]<<4,b<<4);break c}b=Rj(f)}q[e+8>>2]=b;q[c+40>>2]=q[d+40>>2];e=c;b=q[d+44>>2];d:{if(b+1>>>0<=1073741823){b=dj(f,q[c+16>>2],q[c+52>>2]<<2,b<<2);break d}b=Rj(f)}q[e+16>>2]=b;q[c+52>>2]=q[d+44>>2];e=c;b=p[d+48>>1];e:{if(b+1>>>0<=357913941){b=dj(f,q[c+24>>2],w(q[c+56>>2],12),w(b,12));break e}b=Rj(f)}q[e+24>>2]=b;q[c+56>>2]=p[d+48>>1];q[c+28>>2]=dj(f,q[c+28>>2],q[c+36>>2]<<2,r[c+72|0]<<2);q[c+36>>2]=r[c+72|0];q[a+48>>2]=q[d+8>>2];q[f+8>>2]=q[f+8>>2]-32;if(q[a+16>>2]-285>>>0<=1){c=a;a=q[a+24>>2];go(c,a+16|0,q[a+12>>2])}}function O_(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=fi-96|0;fi=h;a:{if(!q[a+84>>2]){i=-20352;break a}i=-19584;if((jj(d,1)|0)<0){break a}j=a+76|0;if((Dj(d,j)|0)>-1){break a}q[h+56>>2]=0;q[h+48>>2]=1;q[h+52>>2]=0;q[h+68>>2]=0;q[h+60>>2]=1;q[h+64>>2]=0;q[h+80>>2]=0;q[h+72>>2]=1;q[h+76>>2]=0;q[h+40>>2]=0;q[h+32>>2]=1;q[h+36>>2]=0;q[h+24>>2]=0;q[h+16>>2]=1;q[h+20>>2]=0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[h+88>>2]=0;m=a+40|0;k=h+92|0;l=h+88|0;b:{c:while(1){q[k>>2]=0;l=l+4|0;while(1){i=gx(a,h+32|0,1222,g);if(i){break b}i=Nr(a,h+48|0,h+32|0,m,1222,g);if(i){break b}i=Lk(b,h+48|0,j);if(i){break b}k=k+4|0;d:{if(jj(b,0)){i=IA(a,h+16|0,e,f);if(i){break b}i=gx(a,h,1222,g);if(i){break b}i=Ak(c,b,d);if(i){break b}i=vl(h+16|0,h+16|0,c);if(i){break b}i=Ak(h+16|0,h+16|0,h);if(i){break b}i=Ak(h+32|0,h+32|0,h);if(i){break b}i=bo(c,h+32|0,j);if(i){break b}i=Ak(c,c,h+16|0);if(i){break b}i=Lk(c,c,j);if(i){break b}i=0;if(jj(c,0)){break b}if(q[l>>2]<=10){continue c}break d}if(q[k>>2]<=10){continue}}break}break}i=-19712}Rl(h+48|0);Ji(h+32|0);Ji(h+16|0);Ji(h)}fi=h+96|0;return i}function tfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[a>>2];d=q[f+8>>2];b=q[f+4>>2];c=d-b|0;if(!c){break a}if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);i=c>>>0>1?c:1;while(1){c=q[(g<<2)+b>>2];d=q[c+152>>2];b:{if(!d){break b}h=q[c+192>>2];if(!h){h=q[d+8>>2]}b=q[c+156>>2];if(!b){b=q[d+4>>2]}c:{d:{e=q[q[a+4>>2]+8>>2];if(!((b|0)==(e|0)|(d|0)==(e|0)|(e|0)==(h|0))){b=q[c+160>>2];if(!b){b=q[d+12>>2]}if((b|0)!=(e|0)){break d}break c}o[c+206|0]=r[c+206|0]|4;break b}b=q[c+164>>2];if(!b){b=q[d+16>>2]}if((b|0)==(e|0)){break c}b=q[c+168>>2];if(!b){b=q[d+20>>2]}if((b|0)==(e|0)){break c}b=q[c+172>>2];if(!b){b=q[d+24>>2]}if((b|0)==(e|0)){break c}b=q[c+176>>2];if(!b){b=q[d+28>>2]}if((b|0)==(e|0)){break c}b=q[c+180>>2];if(!b){b=q[d+32>>2]}if((b|0)==(e|0)){break c}b=q[c+184>>2];if(!b){b=q[d+36>>2]}if((b|0)==(e|0)){break c}b=q[c+188>>2];if(!b){b=q[d+40>>2]}if((b|0)!=(e|0)){break b}}o[c+206|0]=r[c+206|0]|4}g=g+1|0;if((i|0)==(g|0)){break a}b=q[f+4>>2];if(q[f+8>>2]-b>>2>>>0>g>>>0){continue}break}}J(45837,45268,447,45848);G()}}function yq(a){var b=0,c=0,d=0,e=0;b=q[a>>2];d=q[b+8>>2]-q[b+12>>2]>>4;a:{if(q[a+8>>2]==-2){a=0;mi(3,110525,111368,0);if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(110844,110448,1649,111418);G()}c=q[79152];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;Tj(b,-10002);Xi(b,-1e4,q[a+4>>2]);if((ri(b,-1)|0)!=5){oi(b,-3);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(110844,110448,1663,111418);G()}c=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,c,q[a+12>>2]);if((ri(b,-1)|0)!=6){oi(b,-4);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(110844,110448,1677,111418);G()}Xi(b,c,q[a+16>>2]);if(!ri(b,-1)){oi(b,-5);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(110844,110448,1690,111418);G()}Hi(b,-1);a=q[79152];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;ak(b,-2);Wi(b,-10002);if(!iy(b)){oi(b,-4);a=q[79152];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;ak(b,-2);Wi(b,-10002);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(110844,110448,1713,111418);G()}a=1;if((d+4|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(111432,110448,1717,111418);G()}return a}function qU(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=fi-1024|0;fi=j;k=q[a+4>>2];a:{b:{c:{if((d|0)==1){i=-16512;if(q[a+164>>2]|k-16>>>0>1008){break a}i=Cr(a,b,c,f,j);if(i){break b}d=2;b=r[j|0]|r[j+1|0]^2;f=0;a=0;while(1){c=a;a=r[d+j|0];i=(((0-a|a)^-1)&128)>>>7|f;a=c+((((0-i|f)^-1)&128)>>>7|0)|0;f=i;d=d+1|0;if((k|0)!=(d|0)){continue}break}break c}i=-16512;if(k-16>>>0>1008){break a}d:{if(d){i=Cr(a,b,c,f,j);if(!i){break d}break b}i=zp(a,f,j);if(i){break b}}b=r[j|0]|r[j+1|0]^1;d=2;i=0;a=0;while(1){l=a;f=r[d+j|0];a=f;i=((0-a|a)>>31^-1)&1|i;c=i&255;a=l+(((0-c|c)>>31^-1)&1)|0;b=(f^255)&((c|0-c)>>31^-1)|b;d=d+1|0;if((k|0)!=(d|0)){continue}break}}c=k-11|0;c=c>>>0>>0?c:h;d=b;b=i&255;b=d|((0-b|b)>>31^-1)&1|a-8>>>31;d=(0-b|b)>>31;f=c&d|(k-a|0)-3&(d^-1);a=(b|0-b)>>31;d=c-f>>>31|0;i=a&16640|(0-d|d)>>31&17408&(a^-1);if(k>>>0>=12){a=b|d;b=(0-a|a)>>31^-1;a=11;while(1){l=a+j|0;o[l|0]=b&r[l|0];a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=(j+k|0)-c|0;b=(d|0-d)>>31;b=b&c|f&(b^-1);jT(a,c,c-b|0);if(h){si(g,a,c)}i=0-i|0;q[e>>2]=b}ji[q[66742]](j,0,1024)|0}fi=j+1024|0;return i}function aX(a){var b=0;b=Bj(a,126822,3);o[b+6|0]=1;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126826,5);o[b+6|0]=2;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126832,2);o[b+6|0]=3;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126835,4);o[b+6|0]=4;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126840,6);o[b+6|0]=5;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126847,3);o[b+6|0]=6;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126851,5);o[b+6|0]=7;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126857,3);o[b+6|0]=8;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126861,8);o[b+6|0]=9;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126870,2);o[b+6|0]=10;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126873,2);o[b+6|0]=11;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126876,5);o[b+6|0]=12;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126882,3);o[b+6|0]=13;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126886,3);o[b+6|0]=14;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126890,2);o[b+6|0]=15;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126893,6);o[b+6|0]=16;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126900,6);o[b+6|0]=17;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126907,4);o[b+6|0]=18;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126912,4);o[b+6|0]=19;o[b+5|0]=r[b+5|0]|32;b=Bj(a,126917,5);o[b+6|0]=20;o[b+5|0]=r[b+5|0]|32;a=Bj(a,126923,5);o[a+6|0]=21;o[a+5|0]=r[a+5|0]|32}function tA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;a:{if(o[290172]&1){break a}if(!ui(290172)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72542]=b;ti(290172)}b:{if(o[290180]&1){break b}if(!ui(290180)){break b}if(r[852367]){b=Yi(11924,5)}else{b=0}q[72544]=b;ti(290180)}c=q[72542];c:{if((c|0)!=-1){Qi(f,c,11924,q[72544]);break c}q[f>>2]=0}g=1;d:{e:{f:{d=r[a+4276|0];if(!(d&1)){e=q[a+2060>>2];c=q[a+2056>>2];b=e-c|0;if(!b){break e}if((c|0)!=(e|0)){d=c-e|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);h=b>>>0>1?b:1;d=0;while(1){b=q[(d<<2)+c>>2];g:{if(!b){break g}c=q[b+140>>2];e=q[b+136>>2];if(!(e&256)){break g}p[b+144>>1]=s[b+144>>1];q[b+136>>2]=e&-257;q[b+140>>2]=c;c=c&32767;e=q[a+2056>>2];if(c>>>0>=q[a+2060>>2]-e>>2>>>0){break d}if((b|0)!=q[(c<<2)+e>>2]){break f}g=sA(a,b)&g}d=d+1|0;if((h|0)==(d|0)){d=r[a+4276|0];break e}c=q[a+2056>>2];if(q[a+2060>>2]-c>>2>>>0>d>>>0){continue}break}}break d}J(11930,7150,1740,12018);G()}J(8137,7150,1730,12034);G()}o[a+4276|0]=d&239;if(q[f>>2]){Pi(f)}fi=f+16|0;return}J(12475,10090,447,9406);G()}function t4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi+ -64|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{if((ri(a,1)|0)!=1){break a}if((ri(a,2)|0)!=1){break a}if((ri(a,3)|0)!=1){break a}if((ri(a,4)|0)!=1){break a}h=(Fj(a,1)|0)!=0;f=(Fj(a,2)|0)!=0;g=(Fj(a,3)|0)!=0;c=Fj(a,4);q[b+44>>2]=h;q[b+40>>2]=10;q[b+56>>2]=(c|0)!=0;q[b+52>>2]=g;q[b+48>>2]=f;c=q[e+4>>2];b:{if((c|0)==q[e+8>>2]){q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/20;d=ni(a,104394,b);break b}q[e+4>>2]=c+20;q[c+16>>2]=q[b+56>>2];a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a}fi=b- -64|0;return d|0}d=ri(a,2);f=125997;c:{if((d|0)==-1){break c}f=q[(d<<2)+261152>>2]}d=ri(a,3);g=125997;d:{if((d|0)==-1){break d}g=q[(d<<2)+261152>>2]}d=ri(a,4);c=125997;e:{if((d|0)==-1){break e}c=q[(d<<2)+261152>>2]}d=b;h=ri(a,5);e=125997;f:{if((h|0)==-1){break f}e=q[(h<<2)+261152>>2]}q[d+28>>2]=e;q[b+24>>2]=c;q[b+20>>2]=g;q[b+16>>2]=f;a=ni(a,105946,b+16|0);fi=b- -64|0;return a|0}J(104348,104245,265,107702);G()}function Rn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-32|0;fi=c;vj(a,b,6);a:{b:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){d=q[79152];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);c:{if(!Sl(a,-1)){e=-2;break c}Bi(a,110384,32);e=-2;gl(a,-2);Ok(a,-2);if(!ri(a,-1)){oi(a,-2);break c}Hi(a,-2);zk(a,1,1);if((ri(a,-1)|0)!=3){break b}e=-3;h=wj(a,-1);oi(a,-3);Hi(a,b);d=a;if(y(h)<2147483648){b=~~h}else{b=-2147483648}Xi(d,-1e4,b);if((ri(a,-1)|0)!=5){break c}e=-2;ak(a,-2);f=bj(a,20);zi(a,-10002,110577);d=Vi(a,-1);oi(a,-2);q[f+4>>2]=b;q[f>>2]=d;q[79154]=q[79154]+1;q[f+8>>2]=Kn(a,-1e4);q[f+12>>2]=Kn(a,-2);b=q[79152];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);q[f+16>>2]=Kn(a,-2)}oi(a,e);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}fi=c+32|0;return f}q[c+12>>2]=g;q[c+4>>2]=1518;q[c+8>>2]=0;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}J(111268,110448,1538,111299);G()}q[c+28>>2]=a;q[c+24>>2]=g;q[c+20>>2]=1518;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function XD(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{d=q[b+8>>2];if((d|0)!=q[c+8>>2]){break b}c:{switch(d-3|0){case 0:return v[b>>3]>3];case 1:d=q[b>>2];a=d+16|0;c=q[c>>2];e=c+16|0;b=lt(a,e);d:{if(b){break d}d=q[d+12>>2];c=q[c+12>>2];while(1){b=Fi(a);if((b|0)==(c|0)){b=0;break d}if((b|0)==(d|0)){b=-1;break d}b=b+1|0;c=c-b|0;d=d-b|0;a=a+b|0;e=b+e|0;b=lt(a,e);if(!b){continue}break}}return b>>>31|0;default:break c}}d=Ik(a,b,13);if(!q[d+8>>2]){break b}if(!Do(d,Ik(a,c,13))){break b}g=q[a+32>>2];h=q[d+4>>2];f=q[a+8>>2];e=f;q[e>>2]=q[d>>2];q[e+4>>2]=h;q[e+8>>2]=q[d+8>>2];e=q[b+4>>2];d=q[a+8>>2];q[d+16>>2]=q[b>>2];q[d+20>>2]=e;q[d+24>>2]=q[b+8>>2];d=q[c+4>>2];b=q[a+8>>2];q[b+32>>2]=q[c>>2];q[b+36>>2]=d;q[b+40>>2]=q[c+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=48){pk(a,3);b=q[a+8>>2]}q[a+8>>2]=b+48;zl(a,b,1);b=q[a+8>>2]-16|0;q[a+8>>2]=b;d=q[b+4>>2];c=q[a+32>>2]+(f-g|0)|0;q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];e:{f:{a=q[a+8>>2];b=q[a+8>>2];switch(b|0){case 0:break a;case 1:break f;default:break e}}return q[a>>2]!=0}return 1}b=eE(a,b,c)}return b}function HD(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{if(e){while(1){d:{e:{if(e>>>0<=g>>>0){i=0;break e}h=e-g|0;i=0;while(1){if(r[d+g|0]!=32){break e}g=g+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}g=e;break d}if((e|0)==(g|0)){g=e;break d}h=d+g|0;f=o[h|0];f:{g:{if(!((f|0)!=13|e-g>>>0<2)){if(r[h+1|0]==10){break f}f=13;if(!i){break g}return-44}if((f|0)==10){break f}h=-44;if(i){break b}if((f|0)==61){f=61;k=k+1|0;if(k>>>0<=2){break g}break b}if((f|0)<0){break b}}h=-44;f=r[(f&255)+145344|0];if((f|0)==127|(f>>>0<64?k:0)){break b}j=j+1|0}g=g+1|0;if(g>>>0>>0){continue}}break}if(j){break c}}q[c>>2]=0;return 0}e=w(j>>>3|0,6)-k+(w(j&7,6)+7>>>3)|0;if(!a|e>>>0>b>>>0){break a}b=a;if(g){h=3;j=0;e=0;while(1){f=r[d|0];i=f-10|0;if(!(1<>>0<=22:0)){i=r[f+145344|0]&63|j<<6;f=h-((f|0)==61)|0;h:{i:{e=e+1|0;if((e|0)==4){e=0;if(!f){h=0;break h}o[b|0]=j>>>10;h=1;if((f|0)==1){break i}h=2;o[b+1|0]=j>>>2;if(f>>>0<3){break i}o[b+2|0]=i;b=b+3|0}h=f;break h}b=b+h|0}j=i}d=d+1|0;g=g-1|0;if(g){continue}break}}q[c>>2]=b-a;h=0}return h}q[c>>2]=e;return-42}function hI(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(w(e,576)+f|0)+552>>1]!=(b>>>16|0)){break b}d=w(e,576)+f|0;if(s[d+554>>1]!=(b&65535)){break a}b=q[d+412>>2];q[d+412>>2]=b&-262145|c<<18&262144;c:{if(!(c&1)|(b>>>4&15)-5>>>0<2){break c}b=w(e,576)+f|0;c=q[b+424>>2];d=q[b+428>>2];d:{e:{b=q[a+132>>2];f:{if(!b){break f}b=q[q[a+128>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break f}g=q[a+136>>2];while(1){h=g+w(b,24)|0;if((c|0)==q[h>>2]&(d|0)==q[h+4>>2]){break e}b=q[h+20>>2];if((b|0)!=-1){continue}break}}b=q[a+164>>2];if(!b){break c}b=q[q[a+160>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}a=q[a+168>>2];while(1){g=a+w(b,40)|0;if((c|0)==q[g>>2]&(d|0)==q[g+4>>2]){break d}b=q[g+32>>2];if((b|0)!=-1){continue}break}break c}a=g+w(b,24)|0;if(!q[a+8>>2]){break c}b=w(e,576)+f|0;u[b+64>>2]=s[a+16>>1];u[b+68>>2]=s[a+18>>1];return}c=w(e,576)+f|0;a=a+w(b,40)|0;u[c+64>>2]=t[a+16>>2];u[c+68>>2]=t[a+20>>2]}return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function tK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=fi+ -64|0;fi=c;a:{if(o[290116]&1){break a}if(!ui(290116)){break a}if(r[852367]){d=Ri(7503)}else{d=-1}q[72528]=d;ti(290116)}b:{if(o[290124]&1){break b}if(!ui(290124)){break b}if(r[852367]){d=Yi(9853,17)}else{d=0}q[72530]=d;ti(290124)}d=q[72528];c:{if((d|0)!=-1){Qi(c+48|0,d,9853,q[72530]);break c}q[c+48>>2]=0}d:{h=q[b+84>>2];if(!q[h+4>>2]){break d}d=0;while(1){f=q[h>>2]+w(i,80)|0;g=q[f+16>>2];e:{if(o[290132]&1){break e}if(!ui(290132)){break e}if(r[852367]){e=Ri(9871)}else{e=-1}q[72532]=e;ti(290132)}e=q[72532];f:{if((e|0)!=-1){Qi(c+32|0,e,q[g+4>>2],q[g+8>>2]);break f}q[c+32>>2]=0}j=q[g+96>>2]&65536;e=(j>>>16|0)+d|0;if(e>>>0<=t[b+152>>2]){k=((q[f+20>>2]<<2)+a|0)+1032|0;q[k>>2]=q[k>>2]-1;q[c+8>>2]=q[a+8>>2];q[c+12>>2]=b;q[c+16>>2]=q[((q[f+20>>2]<<2)+a|0)+12>>2];f=q[g+16>>2];q[c+24>>2]=j?((d<<2)+b|0)+156|0:0;q[c+20>>2]=f;ji[q[g+32>>2]](c+8|0)|0;if(q[c+32>>2]){Pi(c+32|0)}d=e;i=i+1|0;if(i>>>0>2]){continue}break d}break}J(7962,7150,828,9853);G()}if(q[c+48>>2]){Pi(c+48|0)}fi=c- -64|0}function gga(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;c=-13;a:{b:{c:{d:{if(!rj(q[a+12>>2],q[a+16>>2],q[61690],e+12|0)){jk(q[a+20>>2],q[q[e+12>>2]+64>>2]);c=q[e+12>>2];b=q[c>>2];if(r[b|0]){jk(q[a+20>>2],b);c=q[e+12>>2]}d=q[c+8>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break d}jk(q[a+20>>2],q[(q[c+4>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+8>>2];if(b>>>0>>0){continue}break}}d=q[c+16>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break c}jk(q[a+20>>2],q[(q[c+12>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+16>>2];if(b>>>0>>0){continue}break}}d=q[c+96>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break b}jk(q[a+20>>2],q[(q[c+92>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+96>>2];if(b>>>0>>0){continue}break}}d=q[c+104>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break a}jk(q[a+20>>2],q[(q[c+100>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+104>>2];if(b>>>0>>0){continue}break}}q[q[a+24>>2]>>2]=c;c=0}fi=e+16|0;return c|0}J(56350,56362,243,56394);G()}J(56350,56362,251,56394);G()}J(56350,56362,295,56394);G()}J(56350,56362,303,56394);G()}function Cw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=fi-208|0;fi=e;q[e+8>>2]=1;q[e+12>>2]=0;a:{i=w(b,c);if(!i){break a}q[e+16>>2]=c;q[e+20>>2]=c;j=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;q[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+j|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){vw(a,c,d,b,e+16|0);pt(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(t[(e+16|0)+(h<<2)>>2]>=f-a>>>0){it(a,c,d,e+8|0,b,0,e+16|0);break d}vw(a,c,d,b,e+16|0)}if((b|0)==1){qt(e+8|0,1);b=0;break c}qt(e+8|0,h);b=1}g=q[e+8>>2]|1;q[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}it(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(q[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=iwa(q[e+8>>2]-1|0);if(!f){f=iwa(q[e+12>>2]);f=f?f+32|0:0}pt(h,f);g=q[e+8>>2];b=b+f|0;break e}qt(e+8|0,2);q[e+8>>2]=q[e+8>>2]^7;pt(e+8|0,1);h=a+j|0;f=b-2|0;it(h-q[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);qt(e+8|0,1);g=q[e+8>>2]|1;q[e+8>>2]=g;it(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+j|0;continue}}fi=e+208|0} +function DX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{switch(b|0){case 13:tm(a,d);i=q[c+20>>2];if((i|0)==-1){break a}b=q[d+20>>2];if((b|0)==-1){break d}h=q[q[a>>2]+12>>2];while(1){e=b;g=h+(b<<2)|0;f=q[g>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;h=i+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){Dj(q[a+12>>2],136537);f=q[g>>2]}q[b>>2]=(f&16383|h<<14)+2147467264;break a;case 14:tm(a,d);i=q[c+16>>2];if((i|0)==-1){break a}b=q[d+16>>2];if((b|0)==-1){break c}h=q[q[a>>2]+12>>2];while(1){e=b;g=h+(b<<2)|0;f=q[g>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;h=i+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){Dj(q[a+12>>2],136537);f=q[g>>2]}q[b>>2]=(f&16383|h<<14)+2147467264;break a;case 6:f:{if(q[d+16>>2]!=q[d+20>>2]){cn(a,d);break f}tm(a,d)}g:{if(q[d>>2]!=11){break g}f=q[q[a>>2]+12>>2];e=q[d+8>>2];g=q[f+(e<<2)>>2];if((g&63)!=21){break g}h:{if(q[c>>2]!=12){break h}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1;e=q[d+8>>2];g=q[f+(e<<2)>>2]}q[f+(e<<2)>>2]=g&8388607|q[c+8>>2]<<23;q[c>>2]=11;q[c+8>>2]=q[d+8>>2];return}tm(a,d);i:{if(q[d>>2]!=12){break i}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];f=e+1|0;g=q[a>>2];j:{if((e|0)=249){Dj(q[a+12>>2],136502);g=q[a>>2];b=q[a+36>>2]+1|0}o[g+75|0]=f}q[a+36>>2]=b;Iq(a,d,b-1|0);Co(a,21,c,d);return;case 0:Co(a,12,c,d);return;case 1:Co(a,13,c,d);return;case 2:Co(a,14,c,d);return;case 3:Co(a,15,c,d);return;case 4:Co(a,16,c,d);return;case 5:Co(a,17,c,d);return;case 8:e=sl(a,c);f=sl(a,d);k:{if(q[d>>2]!=12){break k}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}l:{if(q[c>>2]!=12){break l}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,23,1,e,f);break b;case 7:e=sl(a,c);f=sl(a,d);m:{if(q[d>>2]!=12){break m}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}n:{if(q[c>>2]!=12){break n}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,23,0,e,f);break b;case 9:e=sl(a,c);f=sl(a,d);o:{if(q[d>>2]!=12){break o}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}p:{if(q[c>>2]!=12){break p}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,24,1,e,f);break b;case 10:e=sl(a,c);f=sl(a,d);q:{if(q[d>>2]!=12){break q}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}r:{if(q[c>>2]!=12){break r}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,25,1,e,f);break b;case 11:e=sl(a,c);f=sl(a,d);s:{if(q[d>>2]!=12){break s}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}t:{if(q[c>>2]!=12){break t}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,24,1,f,e);break b;case 12:e=sl(a,c);f=sl(a,d);u:{if(q[d>>2]!=12){break u}b=q[d+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}v:{if(q[c>>2]!=12){break v}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}a=ao(a,25,1,f,e);q[c>>2]=10;q[c+8>>2]=a;break;default:break e}}return}q[d+20>>2]=i;break a}q[d+16>>2]=i;break a}q[c>>2]=10;q[c+8>>2]=a;return}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a}function lM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0),L=x(0);g=ti-48|0;ti=g;e=1;a:{b:{switch((b-a|0)/160|0){case 2:if(t[b-16>>2]>=t[a+144>>2]){break a}ak(a,b-160|0);break a;case 3:d=b-160|0;h=a+160|0;b=b-16|0;f=q[b>>2];c=q[a+304>>2];if(c>>>0>=t[a+144>>2]){if(c>>>0<=f>>>0){break a}ak(h,d);if(t[a+304>>2]>=t[a+144>>2]){break a}ak(a,h);break a}if(c>>>0>f>>>0){ak(a,d);break a}ak(a,h);if(t[b>>2]>=t[a+304>>2]){break a}ak(h,d);break a;case 4:Fw(a,a+160|0,a+320|0,b-160|0);break a;case 5:Cw(a,a+160|0,a+320|0,a+480|0,b-160|0);break a;case 0:case 1:break a;default:break b}}e=a+160|0;f=a+320|0;d=q[a+464>>2];c=q[a+304>>2];c:{if(c>>>0>=t[a+144>>2]){if(c>>>0<=d>>>0){break c}ak(e,f);if(t[a+304>>2]>=t[a+144>>2]){break c}ak(a,e);break c}if(c>>>0>d>>>0){ak(a,f);break c}ak(a,e);if(t[a+464>>2]>=t[a+304>>2]){break c}ak(e,f)}d:{e:{e=a+480|0;if((e|0)==(b|0)){break e}while(1){f:{i=q[e+144>>2];if(i>>>0>2]){j=u[e+56>>2];k=u[e+52>>2];l=u[e+44>>2];m=u[e+40>>2];n=u[e+36>>2];o=u[e+28>>2];p=u[e+24>>2];r=u[e+20>>2];s=u[e+48>>2];v=u[e+32>>2];w=u[e+16>>2];y=u[e+8>>2];z=u[e+4>>2];A=u[e>>2];q[g+44>>2]=q[e+88>>2];c=q[e+84>>2];q[g+36>>2]=q[e+80>>2];q[g+40>>2]=c;c=q[e+76>>2];q[g+28>>2]=q[e+72>>2];q[g+32>>2]=c;c=q[e+68>>2];q[g+20>>2]=q[e+64>>2];q[g+24>>2]=c;B=u[e+136>>2];C=u[e+132>>2];D=u[e+124>>2];E=u[e+120>>2];F=u[e+116>>2];G=u[e+108>>2];H=u[e+104>>2];I=u[e+100>>2];J=u[e+128>>2];K=u[e+112>>2];L=u[e+96>>2];q[g+8>>2]=q[e+156>>2];c=q[e+152>>2];q[g>>2]=q[e+148>>2];q[g+4>>2]=c;c=e;while(1){g:{d=f;u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];f=q[d+68>>2];q[c+64>>2]=q[d+64>>2];q[c+68>>2]=f;f=q[d+76>>2];q[c+72>>2]=q[d+72>>2];q[c+76>>2]=f;f=q[d+84>>2];q[c+80>>2]=q[d+80>>2];q[c+84>>2]=f;q[c+88>>2]=q[d+88>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];f=q[d+148>>2];q[c+144>>2]=q[d+144>>2];q[c+148>>2]=f;f=q[d+156>>2];q[c+152>>2]=q[d+152>>2];q[c+156>>2]=f;if((a|0)==(d|0)){c=a;break g}f=d-160|0;c=d;if(t[c-16>>2]>i>>>0){continue}}break}u[c+48>>2]=s;u[c+32>>2]=v;u[c+16>>2]=w;u[c+8>>2]=y;u[c+4>>2]=z;u[c>>2]=A;u[c+56>>2]=j;u[c+52>>2]=k;u[c+44>>2]=l;u[c+40>>2]=m;u[c+36>>2]=n;u[c+28>>2]=o;u[c+24>>2]=p;u[c+20>>2]=r;d=d- -64|0;q[d+24>>2]=q[g+44>>2];f=q[g+40>>2];q[d+16>>2]=q[g+36>>2];q[d+20>>2]=f;f=q[g+32>>2];q[d+8>>2]=q[g+28>>2];q[d+12>>2]=f;f=q[g+24>>2];q[d>>2]=q[g+20>>2];q[d+4>>2]=f;q[c+144>>2]=i;u[c+136>>2]=B;u[c+132>>2]=C;u[c+128>>2]=J;u[c+124>>2]=D;u[c+120>>2]=E;u[c+116>>2]=F;u[c+112>>2]=K;u[c+108>>2]=G;u[c+104>>2]=H;u[c+100>>2]=I;u[c+96>>2]=L;f=q[g+4>>2];q[c+148>>2]=q[g>>2];q[c+152>>2]=f;q[c+156>>2]=q[g+8>>2];h=h+1|0;if((h|0)==8){break f}}f=e;e=e+160|0;if((e|0)!=(b|0)){continue}break e}break}c=(e+160|0)==(b|0);a=0;break d}a=1}e=a|c}ti=g+48|0;return e&1}function Am(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0;k=ti-112|0;ti=k;l=h;o=i&2147483647;m=c-(b>>>0<1)|0;j=b-1|0;r=(j|0)==-1&(m|0)==-1;s=d;p=(c|0)==(m|0)&b>>>0>j>>>0|c>>>0>m>>>0;n=d+p|0;m=e&2147483647;j=m;j=n>>>0

>>0?j+1|0:j;p=n-1|0;a:{b:{j=j-(n>>>0<1)|0;if(!((p|0)==-1&(j|0)==2147418111?r:j>>>0>2147418111)){j=f;n=g-(j>>>0<1)|0;j=j-1|0;r=(j|0)!=-1|(n|0)!=-1;p=(g|0)==(n|0)&f>>>0>j>>>0|g>>>0>n>>>0;n=p+l|0;j=o;j=n>>>0

>>0?j+1|0:j;p=n;n=n-1|0;j=j-(p>>>0<1)|0;if((n|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&(n|0)!=-1|j>>>0<2147418111){break b}}if(!(!s&(m|0)==2147418112?!(b|c):m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!l&(o|0)==2147418112?!(f|g):o>>>0<2147418112)){i=i|32768;break a}if(!(b|s|(m^2147418112|c))){j=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:j;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|l|(o^2147418112|g))){break a}if(!(b|s|(c|m))){if(f|l|(g|o)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|l|(g|o)){break b}f=b;g=c;h=d;i=e;break a}r=(l|0)==(s|0)&(m|0)==(o|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:(m|0)==(o|0)&l>>>0>s>>>0|m>>>0>>0;j=r;n=j?f:b;o=j?g:c;l=j?i:e;s=l;m=j?h:d;j=l&65535;i=r?e:i;e=i;h=r?d:h;p=i>>>16&32767;l=l>>>16&32767;if(!l){d=!(j|m);i=d<<6;l=z(d?n:m)+32|0;d=z(d?o:j);d=i+((d|0)==32?l:d)|0;dm(k+96|0,n,o,m,j,d-15|0);m=q[k+104>>2];n=q[k+96>>2];o=q[k+100>>2];l=16-d|0;j=q[k+108>>2]}f=r?b:f;g=r?c:g;i=e&65535;if(!p){b=!(h|i);c=b<<6;d=z(b?f:h)+32|0;b=z(b?g:i);b=c+((b|0)==32?d:b)|0;dm(k+80|0,f,g,h,i,b-15|0);p=16-b|0;h=q[k+88>>2];i=q[k+92>>2];g=q[k+84>>2];f=q[k+80>>2]}b=h;c=i<<3|b>>>29;h=b<<3|g>>>29;i=c|524288;b=m;d=j<<3|b>>>29;m=b<<3|o>>>29;t=d;r=e^s;b=f;j=g<<3|b>>>29;b=b<<3;c=j;d=l-p|0;e=b;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;j=0;e=1;break c}dm(k- -64|0,b,c,h,i,128-d|0);vr(k+48|0,b,c,h,i,d);h=q[k+56>>2];i=q[k+60>>2];j=q[k+52>>2];e=q[k+48>>2]|((q[k+64>>2]|q[k+72>>2])!=0|(q[k+68>>2]|q[k+76>>2])!=0)}f=j;d=m;p=t|524288;b=n;j=o<<3|b>>>29;c=b<<3;d:{if((r|0)<-1?1:(r|0)<=-1){o=e;b=c-e|0;m=h;n=d-h|0;e=(f|0)==(j|0)&c>>>0>>0|f>>>0>j>>>0;h=n-e|0;c=j-((c>>>0>>0)+f|0)|0;i=(p-((d>>>0>>0)+i|0)|0)-(e>>>0>n>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=z(d?b:h)+32|0;b=z(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;dm(k+32|0,f,c,h,i,b);l=l-b|0;h=q[k+40>>2];i=q[k+44>>2];b=q[k+32>>2];c=q[k+36>>2];break d}b=c;g=b+e|0;c=f+j|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0>>0;e=d;f=d+h|0;d=i+p|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;l=l+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}j=0;o=s&-2147483648;if((l|0)>=32767){h=j;i=o|2147418112;f=0;g=0;break a}e=0;e:{if((l|0)>0){e=l;break e}dm(k+16|0,b,c,h,i,l+127|0);vr(k,b,c,h,i,1-l|0);b=q[k>>2]|((q[k+16>>2]|q[k+24>>2])!=0|(q[k+20>>2]|q[k+28>>2])!=0);c=q[k+4>>2];h=q[k+8>>2];i=q[k+12>>2]}s=(c&7)<<29|b>>>3;g=s;l=b&7;b=g+(l>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0>>0|c>>>0>>0;d=(i&7)<<29|h>>>3|j;b=b+d|0;j=o|i>>>3&65535|e<<16;h=b;i=b>>>0>>0?j+1|0:j;f:{if((l|0)==4){j=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0>>0?j+1|0:j;break f}if(!l){break a}}}q[a>>2]=f;q[a+4>>2]=g;q[a+8>>2]=h;q[a+12>>2]=i;ti=k+112|0}function iP(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=ti-32|0;ti=k;q[e+8>>2]=0;q[e>>2]=8;q[e+4>>2]=0;g=Ji(18456);q[g+18452>>2]=1364;q[g+18448>>2]=1365;q[g+18444>>2]=1366;q[g>>2]=a;f=fC(g,1);j=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=j;yi(g);a:{if(f){e=Ji(18456);q[e+18452>>2]=1364;q[e+18448>>2]=1365;q[e+18444>>2]=1366;q[e>>2]=a;a=NY(e,b,c,d);yi(e);break a}g=a+41|0;l=a+40|0;b:{c:{f=q[a+176>>2];i=q[a+172>>2];d:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);e:{if(!f){o[a+40|0]=0;q[a+32>>2]=0;f=g;break e}h=r[a+40|0];f=f+(a+40|0)|0}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break d}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=137){break c}f:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);g:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break g}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break f}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=80){break c}h:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);i:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break i}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break h}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=78){break c}j:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);k:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break k}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break j}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=71){break c}l:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);m:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break m}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;j=g;break l}j=i+1|0;q[a+172>>2]=j;h=r[i|0]}if((h|0)!=13){break c}n:{if(f>>>0<=j>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);o:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break o}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;i=g;break n}i=j+1|0;q[a+172>>2]=i;h=r[j|0]}if((h|0)!=10){break c}p:{if(f>>>0<=i>>>0){if(!q[a+32>>2]){break c}f=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);q:{if(f){h=r[a+40|0];f=f+(a+40|0)|0;break q}h=0;o[a+40|0]=0;q[a+32>>2]=0;f=g}q[a+172>>2]=g;q[a+176>>2]=f;break p}g=i+1|0;q[a+172>>2]=g;h=r[i|0]}if((h|0)!=26){break c}r:{if(f>>>0<=g>>>0){if(!q[a+32>>2]){break c}g=xi[q[a+16>>2]](q[a+28>>2],l,q[a+36>>2])|0;q[a+168>>2]=q[a+168>>2]+(q[a+172>>2]-q[a+180>>2]|0);if(g){break r}o[a+40|0]=0;q[a+32>>2]=0;break c}q[a+172>>2]=g+1;l=g}if(r[l|0]!=10){break c}g=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=g;q[k+8>>2]=a;a=0;s:{if(!hP(k+8|0)){f=q[k+20>>2];break s}a=8;t:{g=q[k+24>>2];if((g|0)<9){break t}a=16;if((g|0)==16){break t}q[215613]=164650;break b}q[e>>2]=a;a=q[k+20>>2];e=b;b=q[k+8>>2];q[e>>2]=q[b>>2];q[c>>2]=q[b+4>>2];f=0;if(!d){break s}q[d>>2]=q[b+8>>2]}yi(f);yi(q[k+16>>2]);yi(q[k+12>>2]);break a}b=q[a+184>>2];q[a+172>>2]=q[a+180>>2];q[a+176>>2]=b;q[215613]=164089}a=0}ti=k+32|0;return a}function YF(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=0,n=x(0),p=0,s=x(0),t=x(0),v=x(0),y=0,z=0,A=0,B=0,C=x(0),D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0);a:{b:{c:{c=r[a+186|0];d:{if(!(c&4)){break d}B=c&1;m=(B<<5)+a|0;if(!(o[m+28|0]&1)|!q[m>>2]){break d}y=a+112|0;z=q[y>>2];d=q[a+116>>2]-z|0;c=(d|0)/176|0;j=q[a+76>>2];if(d){A=c>>>0>1?c:1;p=q[j+4>>2];d=0;while(1){if((d|0)==(p|0)){break c}c=z+w(d,176)|0;e=q[j>>2]+w(d,192)|0;u[c>>2]=u[e+32>>2];u[c+4>>2]=u[e+36>>2];u[c+8>>2]=u[e+40>>2];u[c+12>>2]=u[e+44>>2];u[c+16>>2]=u[e+48>>2];u[c+20>>2]=u[e+52>>2];u[c+24>>2]=u[e+56>>2];u[c+32>>2]=u[e- -64>>2];u[c+36>>2]=u[e+68>>2];f=u[e+72>>2];q[c+88>>2]=1065353216;q[c+80>>2]=1065353216;q[c+84>>2]=1065353216;q[c+72>>2]=0;e=c- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=1065353216;q[c+48>>2]=0;q[c+52>>2]=0;u[c+40>>2]=f;d=d+1|0;if((A|0)!=(d|0)){continue}break}}e=q[a+132>>2];d=q[a+128>>2];c=e-d|0;if(c){e=d-e|0;p=((c|0)<(e|0)?e:c)>>>3|0;c=(c|0)>-1?c:-1;c=w(p,(c|0)<1?c:1);e=c>>>0>1?c:1;z=q[j+12>>2];c=0;while(1){if((c|0)==(z|0)){break b}A=d+(c<<3)|0;p=q[j+8>>2]+(c<<5)|0;u[A>>2]=u[p+24>>2];o[A+4|0]=r[p+20|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=r[a+186|0];e:{if(!(d&2)){c=d;break e}f=x(u[a+180>>2]+b);u[a+180>>2]=f;if(f>=u[a+176>>2]^1){c=d;break e}c=d&253;o[a+186|0]=c;d=(((d^-1)&1)<<5)+a|0;o[d+28|0]=r[d+28|0]&254}f:{if(c&2){f=x(u[a+180>>2]/u[a+176>>2]);h=x(x(1)-f);Ny(a,a,b,B?h:f);Oy(a,a,y,x(1));c=a+32|0;t=b;b=B?f:h;Ny(a,c,t,b);Oy(a,c,y,b);break f}Ny(a,m,b,x(1));Oy(a,m,y,x(1))}g:{if(r[a+186|0]&2){j=q[a+112>>2];a=q[a+116>>2]-j|0;e=(a|0)/176|0;if(!a){break d}d=e>>>0>1?e:1;c=0;while(1){a=w(c,176)+j|0;m=a;f=u[a>>2];b=u[a+4>>2];h=u[a+8>>2];i=u[a+12>>2];g=x(x(x(x(f*f)+x(b*b))+x(h*h))+x(i*i));if(!(g>x(.0010000000474974513)^1)){g=x(x(1)/x(F(g)));i=x(i*g);h=x(h*g);f=x(f*g);b=x(b*g)}u[a>>2]=f;u[a+4>>2]=b;u[a+8>>2]=h;u[m+12>>2]=i;c=c+1|0;if((d|0)!=(c|0)){continue}break}break g}j=q[a+112>>2];a=q[a+116>>2]-j|0;e=(a|0)/176|0;if(!a){break d}}m=e>>>0>1?e:1;d=0;while(1){a=w(d,176)+j|0;c=q[a+160>>2];h:{if((c|0)!=-1){if(c>>>0>=e>>>0){break a}E=u[a+40>>2];c=w(c,176)+j|0;H=u[c- -64>>2];I=u[c+68>>2];v=u[c+72>>2];K=u[a+16>>2];L=u[a+20>>2];C=u[c+88>>2];M=u[a+24>>2];g=u[a+8>>2];b=u[c+56>>2];f=u[c+48>>2];k=u[a+12>>2];h=u[c+60>>2];l=u[a+4>>2];i=u[c+52>>2];t=u[a+32>>2];s=u[c+80>>2];n=u[a>>2];D=u[c+84>>2];u[a+84>>2]=D*u[a+36>>2];u[a+80>>2]=s*t;u[a+60>>2]=x(x(x(h*k)-x(f*n))-x(i*l))-x(b*g);u[a+56>>2]=x(x(f*l)+x(x(h*g)+x(b*k)))-x(i*n);u[a+52>>2]=x(x(b*n)+x(x(h*l)+x(i*k)))-x(f*g);u[a+48>>2]=x(x(i*g)+x(x(h*n)+x(f*k)))-x(b*l);t=v;g=x(K*s);k=x(L*D);l=x(M*C);n=x(x(x(b*g)+x(h*k))-x(f*l));s=x(x(b*l)+x(x(f*g)+x(i*k)));v=x(x(x(f*k)+x(h*l))-x(i*g));g=x(x(x(h*g)+x(i*l))-x(b*k));u[a+72>>2]=t+x(x(f*n)+x(x(x(b*s)+x(h*v))-x(i*g)));u[a+68>>2]=I+x(x(b*g)+x(x(x(h*n)+x(i*s))-x(f*v)));u[a- -64>>2]=H+x(x(i*v)+x(x(x(f*s)+x(h*g))-x(b*n)));b=x(C*E);break h}u[a+48>>2]=u[a>>2];c=q[a+8>>2];q[a+52>>2]=q[a+4>>2];q[a+56>>2]=c;c=q[a+16>>2];q[a+60>>2]=q[a+12>>2];q[a+64>>2]=c;c=q[a+36>>2];q[a+80>>2]=q[a+32>>2];q[a+84>>2]=c;c=q[a+24>>2];q[a+68>>2]=q[a+20>>2];q[a+72>>2]=c;b=u[a+40>>2]}u[a+88>>2]=b;d=d+1|0;if((m|0)!=(d|0)){continue}break}}return}J(147195,147207,68,147227);G()}J(147195,147207,76,147227);G()}J(147249,147260,479,147227);G()}function nja(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=x(0),p=0,r=0,s=x(0),y=0;m=ti-32|0;ti=m;r=Zi(m+8|0,a,1,71492,2023);b=Mj(a,1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{b=hp(a,q[76921],b,wi,73756);g=q[b+64>>2];if(g){f=q[b+48>>2];h=xi[q[77507]](q[f>>2],q[f+4>>2])|0;b=q[b+48>>2];c=xi[q[77508]](q[b>>2],q[b+4>>2])|0;gj(a,0,0);b=q[g+92>>2];f=b;l=q[g+88>>2];k:{if(b|l){Zj(a,l,f);break k}Hi(a,q[g>>2])}Di(a,-2,71993);Ni(a,72343,10);gj(a,0,0);l=q[g+68>>2];b=q[g+8>>2];if(b){while(1){if(b>>>0<=d>>>0){break j}b=q[g+4>>2]+w(d,40)|0;f=q[b+12>>2];if(f>>>0>=t[g+80>>2]){break i}j=q[b+16>>2];k=q[q[g+76>>2]+(f<<2)>>2];e=q[a+8>>2];q[e+8>>2]=3;d=d+1|0;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;gj(a,0,0);Hi(a,q[b>>2]);Di(a,-2,72354);e=q[b+4>>2];i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72434);e=q[b+8>>2];i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72440);e=q[b+20>>2];i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72478);e=q[b+24>>2];if(e>>>0>=7){break h}e=q[(e<<2)+74512>>2];i=q[a+8>>2];q[i+8>>2]=3;v[i>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72469);e=q[a+8>>2];q[e+8>>2]=3;k=k+1|0;v[e>>3]=k|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72447);e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=j+(k-f|0)|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72459);f=q[b+28>>2];j=q[a+8>>2];q[j+8>>2]=1;q[j>>2]=(f|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72496);b=q[b+32>>2];f=q[a+8>>2];q[f+8>>2]=1;q[f>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72482);tj(a,-3);b=q[g+8>>2];if(d>>>0>>0){continue}break}}tj(a,-3);Ni(a,72256,10);gj(a,0,0);if(l){s=x(h>>>0);y=+(c>>>0);b=0;while(1){if(t[g+68>>2]<=b>>>0){break g}d=q[g+64>>2];f=q[a+8>>2];q[f+8>>2]=3;c=f;f=b+1|0;v[c>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;gj(a,0,0);d=d+(b<<5)|0;if(o[d+12|0]&1){break f}if(o[d+20|0]&1){break e}if(t[d+28>>2]%3|0){break d}Ni(a,72267,8);gj(a,0,0);h=d;c=q[d+12>>2];if(c){b=0;while(1){if(b>>>0>=c>>>0){break b}e=c;c=b|1;if(e>>>0<=c>>>0){break b}j=q[d+8>>2];n=u[j+(c<<2)>>2];k=q[d+4>>2];p=+x((+u[j+(b<<2)>>2]+.5)*+t[d>>2]);j=q[a+8>>2];q[j+8>>2]=3;v[j>>3]=p;q[a+8>>2]=q[a+8>>2]+16;bk(a,-2,c);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=x((.5- +n)*+(k>>>0));q[a+8>>2]=q[a+8>>2]+16;b=b+2|0;bk(a,-2,b);c=q[h+12>>2];if(c>>>0>b>>>0){continue}break}}tj(a,-3);Ni(a,72331,3);gj(a,0,0);c=q[d+20>>2];if(c){b=0;while(1){if(b>>>0>=c>>>0){break a}h=b|1;if(h>>>0>=c>>>0){break a}c=q[d+16>>2];n=u[c+(h<<2)>>2];p=+x(u[c+(b<<2)>>2]*s);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=p;q[a+8>>2]=q[a+8>>2]+16;bk(a,-2,h);h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=x((1- +n)*y);q[a+8>>2]=q[a+8>>2]+16;b=b+2|0;bk(a,-2,b);c=q[d+20>>2];if(c>>>0>b>>>0){continue}break}}tj(a,-3);Ni(a,72335,7);gj(a,0,0);c=q[d+28>>2];if(c){b=0;while(1){if(b>>>0>=c>>>0){break c}h=q[q[d+24>>2]+(b<<2)>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=h|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);c=q[d+28>>2];if(c>>>0>b>>>0){continue}break}}tj(a,-3);tj(a,-3);b=f;if((l|0)!=(b|0)){continue}break}}tj(a,-3);Yi(r);ti=m+32|0;return 1}J(73777,71492,2029,73789);G()}J(72920,72932,88,72964);G()}J(72920,72932,147,72964);G()}J(72975,71492,1284,73891);G()}J(72920,72932,138,72964);G()}J(73798,71492,2104,73789);G()}J(73831,71492,2105,73789);G()}J(73859,71492,2106,73789);G()}J(72920,72932,72,72964);G()}J(72920,72932,56,72964);G()}J(72920,72932,64,72964);G()}function dK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{switch(q[a+40>>2]){case 0:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;i=q[a+32>>2];a=q[a+16>>2]+w(i,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+w(c,b)|0;while(1){o[a+g|0]=r[b+d|0];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:b+c|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:a+i|0;e=e-1|0;if(e){continue}break}break b;case 1:if(!e){break a}f=q[a+36>>2];i=(b>>>0)/(f>>>0)|0;g=b-w(f,i)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;h=1;j=i;i=q[a+32>>2];a=q[a+16>>2]+(w(j,i)<<1)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<1)|0;while(1){p[(g<<1)+a>>1]=s[(d<<1)+b>>1];d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<1)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<1)+a|0;e=e-1|0;if(e){continue}break}break b;case 2:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){q[(g<<2)+a>>2]=q[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}break b;case 3:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<3)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<3)|0;while(1){j=(d<<3)+b|0;k=q[j+4>>2];h=(g<<3)+a|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<3)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<3)+a|0;e=e-1|0;if(e){continue}break}break b;case 4:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;i=q[a+32>>2];a=q[a+16>>2]+w(i,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+w(c,b)|0;while(1){o[a+g|0]=r[b+d|0];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:b+c|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:a+i|0;e=e-1|0;if(e){continue}break}break b;case 5:if(!e){break a}f=q[a+36>>2];i=(b>>>0)/(f>>>0)|0;g=b-w(f,i)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;h=1;j=i;i=q[a+32>>2];a=q[a+16>>2]+(w(j,i)<<1)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<1)|0;while(1){p[(g<<1)+a>>1]=s[(d<<1)+b>>1];d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<1)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<1)+a|0;e=e-1|0;if(e){continue}break}break b;case 6:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){q[(g<<2)+a>>2]=q[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}break b;case 7:if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<3)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<3)|0;while(1){j=(d<<3)+b|0;k=q[j+4>>2];h=(g<<3)+a|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<3)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<3)+a|0;e=e-1|0;if(e){continue}break}break b;case 8:break c;default:break b}}if(!e){break a}f=q[a+36>>2];h=(b>>>0)/(f>>>0)|0;g=b-w(f,h)|0;b=(d>>>0)/(f>>>0)|0;d=d-w(b,f)|0;i=q[a+32>>2];a=q[a+16>>2]+(w(i,h)<<2)|0;j=q[c+16>>2];c=q[c+32>>2];b=j+(w(c,b)<<2)|0;while(1){u[(g<<2)+a>>2]=u[(d<<2)+b>>2];h=1;d=(d+1>>>0)%(f>>>0)|0;b=d?b:(c<<2)+b|0;g=(g+1>>>0)%(f>>>0)|0;a=g?a:(i<<2)+a|0;e=e-1|0;if(e){continue}break}}return h}return 1}function Xpa(a){var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,p=0,s=0,v=0,y=0,z=0;d=ti-96|0;ti=d;q[d+16>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;i=1;o[a+148|0]=1;c=pk();b=q[a+448>>2];h=q[a+452>>2];q[a+448>>2]=c;e=wi;q[a+452>>2]=e;f=x(A(x((+(c-b>>>0)+ +(e-(h+(b>>>0>c>>>0)|0)>>>0)*4294967296)/1e6),x(.5)));b=q[a+460>>2];a:{if(b){j=x(f+u[a+456>>2]);g=x(x(1)/x(b>>>0));f=f>g?f:g;g=x(j/f);b:{if(g=x(0)){b=~~g>>>0;break b}b=0}i=b;u[a+456>>2]=j-x(f*x(b>>>0));if(!b){break a}}g=x(x(1)/f);c:{if(g=x(0)){break c}}l=q[52088];m=q[52087];while(1){b=xi[q[77425]](q[a+216>>2],131075)|0;c=r[a+440|0];d:{e:{if(b){if(!c){o[a+440|0]=1;if(r[a+443|0]){break e}b=q[242116];if(!(!b|!q[b+12>>2])){q[b+33908>>2]=1}}if(r[a+443|0]){break e}gI(q[a+412>>2]);Io(1e5);break d}if(!c){break e}o[a+440|0]=0;b=q[242116];if(!(!b|!q[b+12>>2])){q[b+33908>>2]=0}}q[d+88>>2]=0;q[d+80>>2]=0;q[d+32>>2]=0;i4(q[a+288>>2]);q[d+32>>2]=0;gI(q[a+412>>2]);f:{g:{if(r[a+443|0]){break g}if(!(xi[q[77425]](q[a+216>>2],131075)|0)){break g}break f}q[d+32>>2]=0;b=q[a+272>>2];h:{if(!b){b=q[a+276>>2];if(b){sy(b)}b=q[a+280>>2];if(b){sy(b)}b=q[a+284>>2];if(!b){break h}}sy(b)}gF();i:{j:{if(r[a+441|0]){iI(q[a+412>>2]+2368|0,d+32|0);b=d+32|0;c=0;k:{if(!b){break k}c=q[b+32>>2]>>>1&1}if(c){break j}}if(xi[q[77425]](q[a+216>>2],131073)|0){break i}}o[a+148|0]=0;break f}h7(q[a+416>>2]);i7(q[a+420>>2],f);q[a+164>>2]=q[a+160>>2];o7(q[a+420>>2],a);b=q[a+160>>2];dx(b,(q[a+164>>2]-b|0)/960|0,960,13);c=q[a+160>>2];b=q[a+164>>2]-c|0;if(b){YK(q[a+156>>2],c,(b|0)/960|0)}u[d+36>>2]=f;q[d+32>>2]=1065353216;q[d+44>>2]=q[a+464>>2];u[d+40>>2]=u[a+456>>2];zK(q[a+156>>2],d+32|0);l:{if(xi[q[77425]](q[a+216>>2],131075)|0){break l}e=d+24|0;q[e>>2]=0;q[e+4>>2]=0;q[d+24>>2]=q[a+4>>2];c=d;b=q[a+272>>2];m:{if(b){b=b?q[b+120>>2]:0;break m}h=q[a+276>>2];b=0;n:{if(!h){break n}b=q[h+120>>2]}}q[c+28>>2]=b;Lpa(e);D5(q[a+220>>2]);GK(q[a+156>>2]);b=q[a+428>>2];if(b){X5(q[b+24>>2])}cz(q[a+220>>2],2,16777215);xi[q[77435]](q[a+216>>2]);b=q[a+428>>2];if(b){A4(q[b+24>>2],f);break l}c=q[a+216>>2];b=xi[q[77429]](c)|0;p=c,s=0,v=0,y=b,z=xi[q[77430]](q[a+216>>2])|0,n=q[77478],xi[n](p|0,s|0,v|0,y|0,z|0);b=q[a+476>>2];xi[q[77438]](q[a+216>>2],49,b&255,b>>>8&255,b>>>16&255,b>>>24|0,x(1),0);Uu(q[a+220>>2],0,0,0)}OK(q[a+156>>2]);NK(q[a+152>>2]);b6(q[a+220>>2]);Up(q[a+296>>2],q[a+300>>2],14,a);q[74038]=q[81758];b=q[a+272>>2];o:{if(b){b=Fy(b?q[b+120>>2]:0);break o}b=q[a+276>>2];c=0;p:{if(!b){break p}c=q[b+120>>2]}e=Fy(c);b=q[a+284>>2];c=0;q:{if(!b){break q}c=q[b+120>>2]}b=e+Fy(c)|0}q[74016]=b;if(r[277316]){ro(m);ro(l)}if(!(xi[q[77425]](q[a+216>>2],131075)|0)){e=d+32|0;q[e>>2]=0;q[e+4>>2]=0;q[d+32>>2]=q[a+4>>2];c=d;b=q[a+272>>2];r:{if(b){b=b?q[b+120>>2]:0;break r}h=q[a+276>>2];b=0;s:{if(!h){break s}b=q[h+120>>2]}}q[c+36>>2]=b;Mpa(e)}xi[q[77436]](q[a+216>>2]);if(q[a+488>>2]){if(!(t[a+496>>2]%t[a+500>>2]|0)){c=xi[q[77427]](q[a+216>>2])|0;b=xi[q[77428]](q[a+216>>2])|0;xi[q[77518]](q[a+216>>2],q[a+492>>2],w(b,c)<<2);q[d>>2]=-3;Ai(4,1076,4621,d)}q[a+496>>2]=q[a+496>>2]+1}q[a+432>>2]=q[a+432>>2]+1;u[a+436>>2]=f+u[a+436>>2]}}if(!r[a+148|0]){break a}k=k+1|0;if(k>>>0>>0){continue}break}}ti=d+96|0}function SM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=ti-16|0;ti=l;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=q[a+4>>2];g:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break g}f=ok(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}m=(f|0)==45?-1:0;f=q[a+4>>2];if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break h}f=ok(a)}j:{if(!(b&-17|(f|0)!=48)){f=q[a+4>>2];k:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break k}f=ok(a)}if((f&-33)==88){b=q[a+4>>2];l:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break l}f=ok(a)}b=16;if(r[f+214017|0]<16){break e}if(!q[a+104>>2]){d=0;e=0;if(c){break a}break b}b=q[a+4>>2];q[a+4>>2]=b-1;if(!c){break b}q[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>r[f+214017|0]){break j}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}d=0;e=0;nn(a,0,0);q[242957]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){h=w(b,10);b=q[a+4>>2];m:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break m}f=ok(a)}b=c+h|0;c=f-48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b;h=0}if(c>>>0>9){break f}i=Owa(g,0,10,0);b=wi;while(1){f=q[a+4>>2];n:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break n}f=ok(a)}g=c+i|0;h=g>>>0>>0?b+1|0:b;c=f-48|0;if((h|0)==429496729&g>>>0>=2576980378|h>>>0>429496729|c>>>0>9){break f}i=Owa(g,h,10,0);b=wi;if((b|0)==-1&(c^-1)>>>0>=i>>>0|(b|0)!=-1){continue}break}b=10;break d}q[242957]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){c=r[f+214017|0];if(c>>>0>>0){while(1){i=w(b,i)+c|0;g=i>>>0<=119304646;c=q[a+4>>2];o:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break o}f=ok(a)}c=r[f+214017|0];if(c>>>0>>0?g:0){continue}break}g=i}if(b>>>0<=c>>>0){break d}i=b;while(1){j=Owa(g,h,i,0);k=wi;c=c&255;if((k|0)==-1&(c^-1)>>>0>>0){break d}f=q[a+4>>2];p:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break p}f=ok(a)}h=k;g=c+j|0;h=g>>>0>>0?h+1|0:h;c=r[f+214017|0];if(c>>>0>=b>>>0){break d}Fn(l,i,0,g,h);if(!(q[l+8>>2]|q[l+12>>2])){continue}break}break d}k=o[(w(b,23)>>>5&7)+214273|0];c=r[f+214017|0];if(c>>>0>>0){while(1){i=i<>>0<=134217727;c=q[a+4>>2];q:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break q}f=ok(a)}c=r[f+214017|0];if(c>>>0>>0?g:0){continue}break}g=i}i=k;j=i&31;if((i&63)>>>0>=32){k=0;j=-1>>>j|0}else{k=-1>>>j|0;j=(1<>>j}if(!k&g>>>0>j>>>0|b>>>0<=c>>>0){break d}while(1){n=c&255;c=i;f=c&31;if((c&63)>>>0>=32){h=g<>>32-f|h<>2];r:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break r}f=ok(a)}if((h|0)==(k|0)&g>>>0>j>>>0|h>>>0>k>>>0){break d}c=r[f+214017|0];if(c>>>0>>0){continue}break}}if(r[f+214017|0]>=b>>>0){break c}while(1){f=q[a+4>>2];s:{if(f>>>0>2]){q[a+4>>2]=f+1;c=r[f|0];break s}c=ok(a)}if(r[c+214017|0]>>0){continue}break}q[242957]=68;m=d&1?0:m;g=d;h=e}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}t:{if((e|0)==(h|0)&d>>>0>g>>>0|e>>>0>h>>>0){break t}if(!(m|d&1)){q[242957]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(h|0)&d>>>0>=g>>>0|e>>>0>h>>>0){break t}q[242957]=68;break a}a=m;b=a^g;d=b-a|0;c=a>>31;e=(c^h)-((a>>>0>b>>>0)+c|0)|0;break a}d=0;e=0;nn(a,0,0)}ti=l+16|0;wi=e;return d}function e1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-160|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;q[b+152>>2]=0;q[b+156>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;o[b+128|0]=0;o[b+129|0]=0;o[b+130|0]=0;o[b+131|0]=0;o[b+132|0]=0;o[b+133|0]=0;o[b+134|0]=0;o[b+135|0]=0;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;o[b+144|0]=0;o[b+145|0]=0;o[b+146|0]=0;o[b+147|0]=0;o[b+148|0]=0;o[b+149|0]=0;o[b+150|0]=0;o[b+151|0]=0;o[b+136|0]=0;o[b+137|0]=0;o[b+138|0]=0;o[b+139|0]=0;o[b+140|0]=0;o[b+141|0]=0;o[b+142|0]=0;o[b+143|0]=0;a:{b:{c:{if((e|0)<=1){qk(a,1,b+128|0,0);break c}if((e|0)==3){q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;if(!Ei(a,1)){o[b+96|0]=0;o[b+97|0]=0;o[b+98|0]=0;o[b+99|0]=0;o[b+100|0]=0;o[b+101|0]=0;o[b+102|0]=0;o[b+103|0]=0;o[b+120|0]=0;o[b+121|0]=0;o[b+122|0]=0;o[b+123|0]=0;o[b+124|0]=0;o[b+125|0]=0;o[b+126|0]=0;o[b+127|0]=0;o[b+112|0]=0;o[b+113|0]=0;o[b+114|0]=0;o[b+115|0]=0;o[b+116|0]=0;o[b+117|0]=0;o[b+118|0]=0;o[b+119|0]=0;o[b+104|0]=0;o[b+105|0]=0;o[b+106|0]=0;o[b+107|0]=0;o[b+108|0]=0;o[b+109|0]=0;o[b+110|0]=0;o[b+111|0]=0;Oq(a,b+96|0)}d:{if(Ei(a,1)){if(zn(a,1)){c=aj(a,1);d=q[c+4>>2];q[b+128>>2]=q[c>>2];q[b+132>>2]=d;break d}e:{c=dj(a,1,0);d=gn(c,b+128|0);switch(d+6|0){case 2:break b;case 0:case 6:break d;default:break e}}q[b+4>>2]=d;q[b>>2]=c;c=Bi(a,123018,b);break a}c=q[b+100>>2];q[b+128>>2]=q[b+96>>2];q[b+132>>2]=c}f:{g:{if(Ei(a,2)){if(ek(a,2)){c=dj(a,2,0);h:{if(Ei(a,1)){if(!ek(a,1)){break h}if(r[dj(a,1,0)|0]){break h}}d=Ui(c);if(!d){break g}AF(a,c,d,b+144|0);break f}q[b+144>>2]=zi(c);q[b+148>>2]=wi;break f}q[b+144>>2]=Zk(a,2);q[b+148>>2]=wi;break f}if(!Ei(a,1)){c=q[b+116>>2];q[b+144>>2]=q[b+112>>2];q[b+148>>2]=c;break f}if(!Ei(a,3)){break f}c=Bi(a,123054,0);break a}q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;c=b- -64|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;Oq(a,b- -64|0);c=q[b+84>>2];q[b+144>>2]=q[b+80>>2];q[b+148>>2]=c}if(Ei(a,3)){if(ek(a,3)){q[b+152>>2]=zi(dj(a,3,0));q[b+156>>2]=wi;break c}q[b+152>>2]=Zk(a,3);q[b+156>>2]=wi;break c}i:{if(Ei(a,1)){break i}if(Ei(a,2)){break i}f=q[b+120>>2];g=q[b+124>>2]}q[b+152>>2]=f;q[b+156>>2]=g;break c}q[b+52>>2]=123208;q[b+48>>2]=123204;q[b+44>>2]=123208;q[b+40>>2]=123204;q[b+36>>2]=123208;q[b+32>>2]=123204;Bi(a,123107,b+32|0)}c=jj(a,32);f=q[b+156>>2];q[c+24>>2]=q[b+152>>2];q[c+28>>2]=f;d=q[b+148>>2];q[c+16>>2]=q[b+144>>2];q[c+20>>2]=d;d=q[b+140>>2];q[c+8>>2]=q[b+136>>2];q[c+12>>2]=d;d=q[b+132>>2];q[c>>2]=q[b+128>>2];q[c+4>>2]=d;Ki(a,-1e4,123208);ij(a,-2);c=1;if((e+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(123212,123237,445,123259);G()}q[b+16>>2]=c;c=Bi(a,122985,b+16|0)}ti=b+160|0;return c|0}function Bq(a,b,c){var d=0,e=0,f=0,g=0;d=a;e=10;a:{b:{if((c|0)==128){break b}if((c|0)!=256){f=-32;if((c|0)!=192){break a}e=12;break b}e=14}q[d>>2]=e;if(!r[853568]){Jua();o[853568]=1}d=a+8|0;q[a+4>>2]=d;f=c>>>5|0;c=0;while(1){e=c<<2;q[(e+a|0)+8>>2]=r[b+e|0]|r[(e|1)+b|0]<<8|r[(e|2)+b|0]<<16|r[(e|3)+b|0]<<24;c=c+1|0;if((f|0)!=(c|0)){continue}break}f=0;c:{switch(q[a>>2]-10|0){case 0:b=q[d>>2];c=0;while(1){a=q[d+12>>2];b=r[(a>>>8&255)+853632|0]^(q[(c<<2)+853584>>2]^b)^r[(a>>>16&255)+853632|0]<<8^r[(a>>>24|0)+853632|0]<<16^r[(a&255)+853632|0]<<24;q[d+16>>2]=b;e=q[d+4>>2]^b;q[d+20>>2]=e;e=e^q[d+8>>2];q[d+24>>2]=e;q[d+28>>2]=a^e;d=d+16|0;c=c+1|0;if((c|0)!=10){continue}break}break a;case 2:b=q[a+28>>2];c=r[(b>>>8&255)+853632|0]^(q[213396]^q[a+8>>2])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+32>>2]=c;d=c^q[a+12>>2];q[a+36>>2]=d;e=d^q[a+16>>2];q[a+40>>2]=e;f=e^q[a+20>>2];q[a+44>>2]=f;g=f^q[a+24>>2];q[a+48>>2]=g;b=b^g;q[a+52>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213397])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+56>>2]=c;d=c^d;q[a+60>>2]=d;e=d^e;q[a- -64>>2]=e;f=e^f;q[a+68>>2]=f;g=f^g;q[a+72>>2]=g;b=b^g;q[a+76>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213398])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+80>>2]=c;d=c^d;q[a+84>>2]=d;e=d^e;q[a+88>>2]=e;f=e^f;q[a+92>>2]=f;g=f^g;q[a+96>>2]=g;b=b^g;q[a+100>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213399])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+104>>2]=c;d=c^d;q[a+108>>2]=d;e=d^e;q[a+112>>2]=e;f=e^f;q[a+116>>2]=f;g=f^g;q[a+120>>2]=g;b=b^g;q[a+124>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213400])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+128>>2]=c;d=c^d;q[a+132>>2]=d;e=d^e;q[a+136>>2]=e;f=e^f;q[a+140>>2]=f;g=f^g;q[a+144>>2]=g;b=b^g;q[a+148>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213401])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+152>>2]=c;d=c^d;q[a+156>>2]=d;e=d^e;q[a+160>>2]=e;f=e^f;q[a+164>>2]=f;g=f^g;q[a+168>>2]=g;b=b^g;q[a+172>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213402])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+176>>2]=c;d=c^d;q[a+180>>2]=d;e=d^e;q[a+184>>2]=e;f=e^f;q[a+188>>2]=f;g=f^g;q[a+192>>2]=g;b=b^g;q[a+196>>2]=b;c=r[(b>>>8&255)+853632|0]^(c^q[213403])^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[a+200>>2]=c;c=c^d;q[a+204>>2]=c;c=c^e;q[a+208>>2]=c;c=c^f;q[a+212>>2]=c;c=c^g;q[a+216>>2]=c;q[a+220>>2]=b^c;return 0;case 4:break c;default:break a}}a=q[d>>2];e=0;while(1){b=q[d+28>>2];a=r[(b>>>8&255)+853632|0]^(q[(e<<2)+853584>>2]^a)^r[(b>>>16&255)+853632|0]<<8^r[(b>>>24|0)+853632|0]<<16^r[(b&255)+853632|0]<<24;q[d+32>>2]=a;c=q[d+4>>2]^a;q[d+36>>2]=c;c=c^q[d+8>>2];q[d+40>>2]=c;c=c^q[d+12>>2];q[d+44>>2]=c;c=q[d+16>>2]^r[(c&255)+853632|0]^r[(c>>>8&255)+853632|0]<<8^r[(c>>>16&255)+853632|0]<<16^r[(c>>>24|0)+853632|0]<<24;q[d+48>>2]=c;c=c^q[d+20>>2];q[d+52>>2]=c;c=c^q[d+24>>2];q[d+56>>2]=c;q[d+60>>2]=b^c;d=d+32|0;e=e+1|0;if((e|0)!=7){continue}break}}return f}function NJ(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,s=0,t=0,v=0,y=0,z=x(0),A=0,B=0,C=0,D=0,E=x(0),F=x(0),H=0,I=0,K=0,L=0,M=0,N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0);j=ti-160|0;ti=j;t=q[i+8>>2];a:{b:{c:{d:{e:{f:{B=q[d+8>>2];if((ep(a,B)|0)==6){if(!b){break f}k=q[i+8>>2];m=q[k>>2];l=q[k+4>>2];n=l-m|0;s=(n|0)/320|0;v=s+1|0;if(v>>>0>(q[k+8>>2]-m|0)/320>>>0){break a}q[k+4>>2]=m+w(v,320);if(s>>>0>=(n+320|0)/320>>>0){break e}k=q[i+12>>2];q[i+12>>2]=k+1;q[l+304>>2]=k;y=t+60|0;I=q[y>>2];K=q[t+56>>2];k=zi(36524);q[j+96>>2]=0;q[j+100>>2]=0;o[j+92|0]=3;q[j+88>>2]=8;q[j+80>>2]=k;q[j+84>>2]=wi;k=zi(36533);q[j+120>>2]=0;q[j+124>>2]=0;o[j+116|0]=2;q[j+112>>2]=8;q[j+104>>2]=k;q[j+108>>2]=wi;k=zi(36543);q[j+144>>2]=0;q[j+148>>2]=0;o[j+140|0]=4;q[j+136>>2]=8;q[j+128>>2]=k;q[j+132>>2]=wi;q[j+76>>2]=0;Era(j+80|0,j+76|0);if(h){C=t+56|0;D=t- -64|0;v=0;while(1){k=q[((v<<4)+d|0)+8>>2];m=VI(a,k);q[j+68>>2]=k;q[j+64>>2]=a;n=q[c+4>>2];q[j+72>>2]=b;q[j+56>>2]=m;q[j+60>>2]=n;q[j+48>>2]=0;q[j+52>>2]=0;q[j+40>>2]=0;q[j+44>>2]=0;xi[q[c+24>>2]](j+56|0,3,j+80|0,q[j+76>>2],j+40|0);z=u[(v<<2)+f>>2];m=q[j+76>>2];n=q[j+40>>2];s=q[j+44>>2];Gl(j+16|0,a,k,3);u[j+28>>2]=z;k=s-n|0;s=(k>>>0)/(m>>>0)|0;if(k>>>0>=m>>>0){A=q[j+40>>2];L=s>>>0>1?s:1;m=(v<<6)+e|0;M=m;n=0;while(1){N=u[m+48>>2];O=u[m+32>>2];P=u[m>>2];Q=u[m+16>>2];R=u[m+52>>2];S=u[m+36>>2];T=u[m+4>>2];U=u[m+20>>2];k=w(n,36)+A|0;z=u[k>>2];E=u[k+4>>2];F=u[k+8>>2];u[k+8>>2]=u[M+56>>2]+x(x(x(z*u[m+8>>2])+x(E*u[m+24>>2]))+x(F*u[m+40>>2]));u[k+4>>2]=R+x(x(x(z*T)+x(E*U))+x(F*S));u[k>>2]=N+x(x(x(z*P)+x(E*Q))+x(F*O));u[k+20>>2]=u[j+16>>2]*u[k+20>>2];u[k+24>>2]=u[j+20>>2]*u[k+24>>2];u[k+28>>2]=u[j+24>>2]*u[k+28>>2];u[k+32>>2]=u[j+28>>2]*u[k+32>>2];n=n+1|0;if((L|0)!=(n|0)){continue}break}}n=q[D>>2];k=q[y>>2];if(s>>>0>(n-k|0)/36>>>0){if(o[t+68|0]&1){break b}Ii(((n-q[C>>2]|0)/36|0)+(s>>>0>128?s:128)|0,36,C,D,y);n=q[D>>2];k=q[y>>2]}m=q[C>>2];A=s+((k-m|0)/36|0)|0;if(A>>>0>(n-m|0)/36>>>0){break a}q[y>>2]=m+w(A,36);Gi(k,q[j+40>>2],w(s,36));g:{if(o[j+52|0]&1){break g}k=q[j+40>>2];if(!k){break g}yi(k)}H=s+H|0;v=v+1|0;if((v|0)!=(h|0)){continue}break}}Qm(l);q[l+148>>2]=q[t+48>>2];b=q[t+52>>2];q[l+284>>2]=H;q[l+280>>2]=(I-K|0)/36;q[l+224>>2]=1;q[l+144>>2]=b;q[l+156>>2]=q[i+4>>2];b=Ts(a,B);if(b>>>0>=5){break d}c=r[l+288|0];o[l+288|0]=c|1;b=b<<2;q[l+236>>2]=q[b+39604>>2];q[l+232>>2]=q[b+39584>>2];b=q[g>>2];o[l+288|0]=c|3;h:{i:{if(b){q[l+244>>2]=5;q[l+248>>2]=0;q[l+252>>2]=2;q[l+256>>2]=2;o[l+276|0]=r[b|0];o[l+277|0]=r[b+1|0];o[l+278|0]=r[b+2|0];n=l+279|0;o[n|0]=r[l+279|0]&208|r[b+3|0]&15;if(!r[i+16|0]){break h}o[i+16|0]=0;b=r[l+279|0]|16;break i}q[l+244>>2]=7;q[l+248>>2]=0;o[l+278|0]=255;p[l+276>>1]=65280;q[l+252>>2]=0;q[l+256>>2]=0;n=l+279|0;b=r[n|0]&-48|15}o[n|0]=b}a=Ss(a,B,j+56|0);j:{if(q[j+56>>2]==2){if(!a){break c}b=q[a+48>>2];a=q[b>>2];c=q[b+4>>2];break j}c=0}b=c;if(!(a|b)){a=q[t+72>>2];b=q[t+76>>2]}q[l+160>>2]=a;q[l+164>>2]=b;ti=j+160|0;return}J(38360,36771,1129,38397);G()}J(38415,36771,1130,38397);G()}J(36605,36330,479,36616);G()}q[j>>2]=b;Ai(4,36048,38069,j);J(38093,36771,848,38095);G()}J(37906,36771,904,37922);G()}J(36255,36330,493,36386);G()}J(36578,36330,506,36597);G()}function IP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=ti-16|0;ti=g;b=q[a>>2];a:{if(!q[b+24>>2]){f=-29696;break a}if(!q[a+8>>2]){q[a+16>>2]=r[b+182|0];q[a+20>>2]=r[b+183|0]}c=r[b+180|0];if(!c){f=-28928;break a}d=q[a+204>>2];Jr(c,r[b+181|0],q[b+184>>2]>>>1&1,d+4|0);f=oQ(a);if(f){break a}b=q[a+68>>2];c=r[b+1132|0]|r[b+1133|0]<<8|(r[b+1134|0]<<16|r[b+1135|0]<<24);e=r[b+1128|0]|r[b+1129|0]<<8|(r[b+1130|0]<<16|r[b+1131|0]<<24);o[d+6|0]=e;o[d+7|0]=e>>>8;o[d+8|0]=e>>>16;o[d+9|0]=e>>>24;o[d+10|0]=c;o[d+11|0]=c>>>8;o[d+12|0]=c>>>16;o[d+13|0]=c>>>24;c=b+1152|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d+30|0]=c;o[d+31|0]=c>>>8;o[d+32|0]=c>>>16;o[d+33|0]=c>>>24;o[d+34|0]=e;o[d+35|0]=e>>>8;o[d+36|0]=e>>>16;o[d+37|0]=e>>>24;c=b+1144|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[d+22|0]=c;o[d+23|0]=c>>>8;o[d+24|0]=c>>>16;o[d+25|0]=c>>>24;o[d+26|0]=e;o[d+27|0]=e>>>8;o[d+28|0]=e>>>16;o[d+29|0]=e>>>24;b=b+1136|0;c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[d+14|0]=b;o[d+15|0]=b>>>8;o[d+16|0]=b>>>16;o[d+17|0]=b>>>24;o[d+18|0]=c;o[d+19|0]=c>>>8;o[d+20|0]=c>>>16;o[d+21|0]=c>>>24;b=q[a+8>>2];b:{c:{d:{e:{c=q[a+64>>2];e=q[c+12>>2];f:{if(e-16>>>0<=16){if(b){break e}b=q[q[a+68>>2]+2252>>2]?e:0;break f}if(b){break e}b=0}if(!q[c+104>>2]|!q[c+108>>2]){break d}b=32;e=q[a>>2];f=xi[q[e+24>>2]](q[e+28>>2],c+16|0,32)|0;if(f){break a}q[q[a+64>>2]+12>>2]=32;o[d+38|0]=32;i=d+39|0;break c}o[d+38|0]=0;i=d+39|0;break b}o[d+38|0]=b;i=d+39|0;if(!b){break b}}f=0;while(1){o[i|0]=r[(q[a+64>>2]+f|0)+16|0];i=i+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}g:{if(!(r[q[a>>2]+184|0]&2)){break g}b=q[a+68>>2];if(!q[b+480>>2]){o[i|0]=0;i=i+1|0;break g}o[i|0]=r[b+484|0];b=q[a+68>>2];i=Gi(i+1|0,q[b+480>>2],r[b+484|0])+r[q[a+68>>2]+484|0]|0}h=i+2|0;e=q[q[a>>2]+(q[a+20>>2]<<2)>>2];f=q[e>>2];if(f){c=e;b=0;while(1){f=Pt(f);k=q[a>>2];if(!kC(f,a,r[k+183|0],r[k+181|0])){f=q[f+16>>2]-3|0;h:{if(f>>>0<=8){f=q[(f<<2)+175972>>2];break h}f=0}o[h|0]=q[c>>2]>>>8;o[h+1|0]=q[c>>2];j=j+1|0;l=f|l;h=h+2|0}b=b+1|0;c=e+(b<<2)|0;f=q[c>>2];if(f){continue}break}}if(!q[a+8>>2]){o[h|0]=0;o[h+1|0]=255;j=j+1|0;h=h+2|0}if(o[q[a>>2]+186|0]&1){o[h|0]=86;o[h+1|0]=0;j=j+1|0;h=h+2|0}o[i+1|0]=j<<1;o[i|0]=j>>>7;o[h|0]=1;o[h+1|0]=0;e=h+4|0;EP(a,e,g+12|0);b=q[g+12>>2];CP(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;AP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;c=a;if(l){yP(a,b+e|0,g+12|0);b=q[g+12>>2]+b|0;xP(q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0}DP(c,b+e|0,g+12|0);b=q[g+12>>2]+b|0;wP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;GP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;FP(q[a>>2],q[a+204>>2],b+e|0,g+12|0);b=b+q[g+12>>2]|0;KP(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;BP(a,b+e|0,g+12|0);b=b+q[g+12>>2]|0;c=h+2|0;i:{if(!b){break i}c=(b<<8&16711680|b<<24)>>>16|0;o[h+2|0]=c;o[h+3|0]=c>>>8;c=b+e|0}q[a+208>>2]=22;q[a+212>>2]=c-d;o[q[a+204>>2]]=1;q[a+4>>2]=q[a+4>>2]+1;if(r[q[a>>2]+184|0]&2){aD(a)}f=rq(a);if(f){break a}if(r[q[a>>2]+184|0]&2){f=sq(a);if(f){break a}}f=0}ti=g+16|0;return f}function gL(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,v=0,y=x(0),z=0,A=0,B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=x(0),K=0;g=ti-128|0;ti=g;if(!b){J(7277,7291,250,7353);G()}a:{b:{c:{z=Moa(q[c>>2],a,b,q[b+29100>>2],c);d:{if(!z){Ai(4,19735,19746,0);h=-11;break d}j=q[z>>2];o[j+3272|0]=r[c+20|0]<<2&4|r[j+3272|0]&251;e:{f:{D=j+1064|0;h=Kv(a,q[c+32>>2],q[c+36>>2],D);if(h){break f}o[j+3272|0]=r[c+20|0]<<2&4|r[j+3272|0]&251;b=q[c+8>>2];g:{if(!b){h=0;yo(j);break g}h:{while(1){if(b>>>0<=s>>>0){break b}b=q[c+4>>2];q[g+104>>2]=0;f=b+w(s,80)|0;h=f;i:{b=q[f+4>>2];j:{if(!b){break j}if(Nj(a,b,g+104|0)){break j}b=Gv(j,q[g+104>>2],q[h+4>>2]);if(b){break i}Pi(a,q[g+104>>2])}q[g+64>>2]=q[h+4>>2];Ai(4,19735,19904,g- -64|0);h=-13;b=-13;if(s){break h}yo(j);break g}m=q[b+140>>2];q[b+136>>2]=q[b+136>>2]&-513|q[c+20>>2]<<9&512;q[b+140>>2]=m;B=u[f+72>>2];y=u[f+64>>2];C=u[f+68>>2];if(!(y!=x(0)|C!=x(0)|B!=x(0))){y=u[f+56>>2];C=y;B=y}h=q[f+32>>2];m=q[f+36>>2];l=q[f+40>>2];i=q[f+44>>2];k=q[f+20>>2];n=q[f+16>>2];I=u[f+24>>2];u[b+40>>2]=B;u[b+36>>2]=C;u[b+32>>2]=y;u[b+24>>2]=I;q[b+16>>2]=n;q[b+20>>2]=k;q[b+8>>2]=l;q[b+12>>2]=i;q[b>>2]=h;q[b+4>>2]=m;m=b+104|0;hn(m,1);h=q[f>>2];l=Km(h,o[q[59618]]);k:{if(!l){q[g+96>>2]=h;Ai(4,19735,19801,g+96|0);break k}ll(m,h,(l-h|0)+1|0)}if(yna(j,b,q[f>>2])){q[g+80>>2]=q[f>>2];Ai(4,19735,19863,g+80|0)}b=q[c+8>>2];s=s+1|0;if(b>>>0>s>>>0){continue}break}b=0}h=b;l=0;while(1){l:{if(t[c+8>>2]>l>>>0){f=q[c+4>>2]+w(l,80)|0;m=zA(j,zi(q[f>>2]),wi);if(!m){break c}i=q[f+12>>2];if(!i){break l}b=0;while(1){if(b>>>0>=i>>>0){break a}i=b<<2;k=q[i+q[f+8>>2]>>2];k=zA(j,at(m,k,Ui(k)),wi);m:{if(k){k=Cv(k,m);if(!k){break m}if(t[f+12>>2]<=b>>>0){break a}i=q[i+q[f+8>>2]>>2];n=q[f>>2];q[g+56>>2]=k;q[g+52>>2]=i;q[g+48>>2]=n;Ai(4,19735,19981,g+48|0);break m}if(t[f+12>>2]<=b>>>0){break a}q[g+32>>2]=q[i+q[f+8>>2]>>2];Ai(4,19735,20019,g+32|0)}b=b+1|0;i=q[f+12>>2];if(b>>>0>>0){continue}break}break l}break b}l=l+1|0;if((s|0)!=(l|0)){continue}break}yo(j);m=g+104|4;i=0;while(1){n:{o:{if(t[c+8>>2]>i>>>0){k=q[c+4>>2]+w(i,80)|0;n=zA(j,zi(q[k>>2]),wi);if(!et(j,n)){break o}b=q[n+84>>2];E=q[b+4>>2];if(!E){break n}K=q[b>>2];A=0;l=0;while(1){v=w(A,96)+K|0;f=q[v+16>>2];if(q[f+80>>2]){p:{q:{if(!(o[f+102|0]&1)){b=Mi(q[v>>2],q[v+4>>2]);q[g+4>>2]=q[k>>2];q[g>>2]=b;Ai(4,19735,20039,g);break q}b=m;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[g+104>>2]=n;F=q[k+52>>2];if(!F){break p}b=0;r:{while(1){H=q[k+48>>2]+w(b,92)|0;if((zi(q[H>>2])|0)==q[v>>2]&(wi|0)==q[v+4>>2]){b=EA(H+12|0);q[g+116>>2]=b;if(!b){break r}q[g+112>>2]=27;q[g+108>>2]=28;break p}b=b+1|0;if((F|0)==(b|0)){break p}if(t[k+52>>2]>b>>>0){continue}break}J(20257,20269,160,20310);G()}b=q[k>>2];q[g+20>>2]=d;q[g+16>>2]=b;Ai(4,19735,20146,g+16|0)}h=-13;break f}q[g+120>>2]=(n+(l<<2)|0)+156;xi[q[f+80>>2]](g+104|0)|0;f=q[v+16>>2]}l=(p[f+102>>1]&1)+l|0;A=A+1|0;if((E|0)!=(A|0)){continue}break}break n}break b}xoa(j,n);gr(j,n);h=-13}i=i+1|0;if((s|0)!=(i|0)){continue}break}}if(q[c+16>>2]){Ai(4,19735,20210,0)}if(h){break f}h=0;break e}ip(a,D);lr(j);z=0}q[e>>2]=z}ti=g+128|0;return h}J(19957,19667,113,19964);G()}J(20257,20269,244,20310);G()}J(20257,20269,151,20310);G()}function pU(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,p=0;e=ti-256|0;ti=e;a:{if(!a){c=-27648;break a}if(!b){c=-27648;break a}c=q[b+12>>2];if(!c){c=-27648;break a}d=q[b+16>>2];j=q[b+20>>2];if(d>>>0>>0){c=-27648;break a}f=q[b+24>>2];if(f>>>0>d-j>>>0){c=-27648;break a}l=a+144|0;h=c+j|0;c=-27648;b:{c:{d:{e:{d=q[a+144>>2];g=0;f:{if(!d){break f}g=q[d+4>>2]}switch(g-2|0){case 4:case 6:case 8:break e;case 0:break d;default:break a}}c=-29056;d=q[a+4>>2];n=q[a+8>>2];k=d-n|0;i=k+q[a+16>>2]|0;if(i>>>0>f>>>0){break a}d=(d|0)!=12;g:{if(!(d|(n|0)!=4)){q[e>>2]=q[a+36>>2];d=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);q[e+4>>2]=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);q[e+8>>2]=d;break g}c=-27648;if((n|0)!=12|d){break a}q[e+8>>2]=q[a+44>>2];d=q[a+40>>2];q[e>>2]=q[a+36>>2];q[e+4>>2]=d;o[e+4|0]=r[e+4|0]^r[b|0];o[e+5|0]=r[e+5|0]^r[b+1|0];o[e+6|0]=r[e+6|0]^r[b+2|0];o[e+7|0]=r[e+7|0]^r[b+3|0];o[e+8|0]=r[e+8|0]^r[b+4|0];o[e+9|0]=r[e+9|0]^r[b+5|0];o[e+10|0]=r[e+10|0]^r[b+6|0];o[e+11|0]=r[e+11|0]^r[b+7|0]}q[b+24>>2]=f-i;q[b+20>>2]=k+j;nq(e+192|0,e+188|0,b);Gi((q[a+8>>2]+a|0)+36|0,h,k);c=-29056;i=h+k|0;d=q[b+24>>2];a=ZV(l,e,q[a+4>>2],e+192|0,q[e+188>>2],i,d,i,e+252|0,d+i|0,q[a+16>>2]);if((a|0)==-25344){break a}if(a){c=a;break a}c=-27648;if(q[e+252>>2]==q[b+24>>2]){break c}break a}c=q[a+4>>2];d=q[a+208>>2]>1?c:0;if(c+d>>>0>f>>>0){c=-29056;break a}g=d;d=q[a+12>>2];if((g+d|0)+1>>>0>f>>>0){c=-29056;break a}k=q[a+76>>2];if((k|0)==1){q[b+24>>2]=f-d;nq(e+192|0,e+188|0,b);d=a- -64|0;Uk(d,e+192|0,q[e+188>>2]);Uk(d,h,q[b+24>>2]);Nl(d,e);Lm(d);if(Mr(q[b+24>>2]+h|0,e,q[a+12>>2])){c=-29056;break a}f=q[b+24>>2];c=q[a+4>>2]}if((f>>>0)%(c>>>0)|0){c=-29056;break a}d=a+36|0;g=d;j=c;if(q[a+208>>2]>=2){Gi(a+36|0,h,c);q[b+20>>2]=q[b+20>>2]+c;f=q[b+24>>2]-c|0;q[b+24>>2]=f;h=c+h|0}c=ID(l,g,j,h,f,h,e+252|0);if(c){break a}g=q[b+24>>2];if((g|0)!=q[e+252>>2]){c=-27648;break a}if(q[a+208>>2]<=1){Gi(d,a+184|0,q[a+4>>2]);g=q[b+24>>2]}c=r[(h+g|0)-1|0];d=(k|0)==1?c>>>0>>0:(c+q[a+12>>2]|0)+1>>>0<=g>>>0;if(q[a+208>>2]<1){c=-27648;break a}l=d?c:0;m=l+1|0;c=g-256|0;c=c>>>0>g>>>0?0:c;h:{if(g>>>0<=c>>>0){f=0;break h}n=g-m|0;f=0;while(1){i=c>>>0>=n>>>0|i;f=((l|0)==r[c+h|0]?i:0)+f|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}j=d&(f|0)==(m|0);m=m&(j?511:0);d=g-m|0;q[b+24>>2]=d;if((k|0)!=1){q[b+24>>2]=d-q[a+12>>2];nq(e+192|0,e+188|0,b);if(q[a+208>>2]<1){break b}c=q[b+24>>2];p=Fi(e,0,128);i:{j:{k:{d=q[a+64>>2];i=0;l:{if(!d){break l}i=q[d>>2]}switch(i-3|0){case 4:break j;case 0:case 1:case 3:break k;default:break b}}g=q[p+188>>2];d=(g+q[b+24>>2]|0)+8|0;k=d>>>6|0;i=d+m>>>6|0;break i}g=q[p+188>>2];d=(g+q[b+24>>2]|0)+16|0;k=d>>>7|0;i=d+m>>>7|0}l=c+m|0;d=l-256|0;n=d>>>0>l>>>0?0:d;f=a- -64|0;Uk(f,p+192|0,g);Uk(f,h,q[b+24>>2]);oC(q[b+24>>2]+h|0,m);Nl(f,p+128|0);c=0;i=i-k&(j?255:0);while(1){m:{if(!f){break m}d=q[f>>2];if(!d){break m}xi[q[d+44>>2]](q[f+4>>2],p)|0}d=(c|0)==(i|0);c=c+1|0;if(!d){continue}break}Lm(f);oC(h+n|0,q[a+12>>2]+(l-n|0)|0);if(Mr(q[b+24>>2]+h|0,p+128|0,q[a+12>>2])){c=-29056;break a}c=-29056;if(!(j^1)){break c}break a}c=-29056;if(!j){break a}}c=0;break a}c=-27648}ti=e+256|0;return c}function hv(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=0,D=x(0),E=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=0,N=0;c=ti-160|0;ti=c;q[b+384>>2]=1065353216;q[b+388>>2]=1065353216;q[b+392>>2]=1065353216;q[b+396>>2]=1065353216;r=u[b+40>>2];l=u[b+36>>2];A=u[b+32>>2];i=u[b+8>>2];j=u[b+4>>2];m=u[b>>2];a:{g=q[a+320>>2];b:{if((g|0)==2){o=x(1);p=x(1);break b}c:{d:{if(!g){break d}h=s[b+560>>1];if((h|0)==65535){break d}v=q[a+32>>2];if(h>>>0>=(q[a+36>>2]-v|0)/576>>>0){break a}h=v+w(h,576)|0;o=u[h+384>>2];p=u[h+388>>2];break c}h=q[a+12>>2];p=x(x(t[h+24>>2])/x(t[a+364>>2]));o=x(x(t[h+20>>2])/x(t[a+360>>2]));if(g){break c}if(s[b+560>>1]!=65535){break b}}d=o;e=p;e:{f:{g:{h:{v=q[b+412>>2];switch(v>>>16&3){case 1:break g;case 0:break h;default:break e}}d=op?o:p}e=d}C=q[a+12>>2];i:{j:{k:{l:{if(!g){break l}h=s[b+560>>1];if((h|0)==65535){break l}g=(q[a+36>>2]-q[a+32>>2]|0)/576|0;if(h>>>0>>0){break k}break a}M=q[a+364>>2];N=q[a+360>>2];if(!g){break j}h=s[b+560>>1];if((h|0)==65535){break j}g=(q[a+36>>2]-q[a+32>>2]|0)/576|0}f=x(0);if(g>>>0>h>>>0){break i}break a}k=x(x(x(t[C+20>>2])-x(d*x(N>>>0)))*x(.5));f=x(x(x(t[C+24>>2])-x(e*x(M>>>0)))*x(.5))}u[b+388>>2]=e;u[b+384>>2]=d;g=(v>>>10&3)-1>>>0<2;j=x(x(j*(g?p:e))+(g?x(0):f));g=(v>>>8&3)-1>>>0<2;m=x(x(m*(g?o:d))+(g?x(0):k));i=x(i+x(0))}g=q[b+20>>2];h=q[b+16>>2];u[c+136>>2]=u[b+24>>2];q[c+128>>2]=h;q[c+132>>2]=g;Om(c+144|0,c+128|0);n=u[c+144>>2];e=u[c+148>>2];f=u[c+152>>2];k=u[c+156>>2];d=x(x(1)/x(F(x(x(x(x(n*n)+x(e*e))+x(f*f))+x(k*k)))));e=x(e*d);u[c+148>>2]=e;f=x(f*d);u[c+152>>2]=f;k=x(k*d);u[c+156>>2]=k;d=x(n*d);u[c+144>>2]=d;u[b+376>>2]=i;u[b+372>>2]=j;u[b+368>>2]=m;i=x(f+f);y=x(d*i);j=x(e+e);B=x(k*j);D=x(y-B);n=x(D*x(0));E=x(e*i);z=x(d+d);H=x(k*z);I=x(E+H);K=x(I*x(0));m=x(r*u[b+392>>2]);r=x(x(1)-x(d*z));z=x(e*j);L=x(r-z);u[b+360>>2]=x(n+K)+x(m*L);e=x(l*u[b+388>>2]);l=x(L*x(0));u[b+344>>2]=x(n+x(e*I))+l;n=x(A*u[b+384>>2]);u[b+328>>2]=x(x(n*D)+K)+l;l=x(E-H);d=x(d*j);j=x(k*i);k=x(d+j);A=x(k*x(0));i=x(f*i);f=x(r-i);r=x(f*x(0));u[b+356>>2]=x(l*m)+x(A+r);y=x(y+B);B=x(y*m);d=x(d-j);j=x(d*x(0));i=x(x(x(1)-z)-i);m=x(i*x(0));u[b+352>>2]=B+x(j+m);l=x(l*x(0));u[b+340>>2]=l+x(A+x(e*f));f=x(y*x(0));u[b+336>>2]=f+x(x(e*d)+m);u[b+324>>2]=l+x(x(n*k)+r);u[b+320>>2]=f+x(j+x(n*i));if(!(s[b+560>>1]==65535|q[a+320>>2]!=1)){q[c+24>>2]=0;q[c+28>>2]=0;u[c+20>>2]=x(1)/p;q[c+32>>2]=0;q[c+36>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+40>>2]=1065353216;q[c+52>>2]=0;q[c+56>>2]=0;q[c+60>>2]=1065353216;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=x(1)/o;q[c+12>>2]=0;q[c+16>>2]=0;Kk(c- -64|0,c,b+320|0);u[b+320>>2]=u[c+64>>2];u[b+324>>2]=u[c+68>>2];u[b+328>>2]=u[c+72>>2];u[b+332>>2]=u[c+76>>2];u[b+336>>2]=u[c+80>>2];u[b+340>>2]=u[c+84>>2];u[b+344>>2]=u[c+88>>2];u[b+348>>2]=u[c+92>>2];u[b+352>>2]=u[c+96>>2];u[b+356>>2]=u[c+100>>2];u[b+360>>2]=u[c+104>>2];u[b+364>>2]=u[c+108>>2];u[b+368>>2]=u[c+112>>2];u[b+372>>2]=u[c+116>>2];u[b+376>>2]=u[c+120>>2];u[b+380>>2]=u[c+124>>2]}q[b+412>>2]=q[b+412>>2]&-4194305;ti=c+160|0;return}J(195730,195579,479,195741);G()}function _O(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;b=ti-1680|0;ti=b;l=1;f=Wi(a,1,b+1672|0);d=q[b+1672>>2];c=b+632|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;a:{if((d|0)>=1){m=f+d|0;n=b+608|1;j=b+1668|0;g=1;while(1){c=r[f|0];b:{if((c|0)!=37){e=q[b+632>>2];if(j>>>0<=e>>>0){Yk(b+632|0);e=q[b+632>>2];c=r[f|0]}q[b+632>>2]=e+1;o[e|0]=c;f=f+1|0;break b}h=f+1|0;c=r[f+1|0];if((c|0)==37){e=37;c=q[b+632>>2];if(j>>>0<=c>>>0){Yk(b+632|0);e=r[h|0];c=q[b+632>>2]}q[b+632>>2]=c+1;o[c|0]=e;f=f+2|0;break b}d=0;f=h;c:{if(!c){break c}while(1){if((c&255)>>>0>63){d=c;break c}k=c&31;if((c&63)>>>0>=32){e=1<>>32-k;k=1<>>0>=6){Bi(a,141318,0);d=r[f|0]}c=(d&255)-48>>>0<10?e:c;c=r[c|0]-48>>>0<10?c+1|0:c;f=r[c|0];if((f|0)==46){f=r[c+1|0]-48>>>0<10;d=f?c+2|0:c+1|0;c=r[(f?2:1)+c|0]-48>>>0<10?d+1|0:d;f=r[c|0]}if((f&255)-48>>>0<=9){Bi(a,141350,0)}g=g+1|0;o[b+608|0]=37;f=(c-h|0)+1|0;o[Kw(n,h,f)+f|0]=0;f=c+1|0;d:{e:{f:{g:{h:{i:{j:{k:{c=o[c|0];switch(c-69|0){case 0:case 2:case 32:case 33:case 34:break e;case 46:break g;case 44:break h;case 19:case 42:case 48:case 51:break i;case 31:case 36:break j;case 30:break k;default:break f}}c=b;i=Ri(a,g);l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}q[c+16>>2]=d;Zm(b+96|0,b+608|0,b+16|0);break d}c=Ui(b+608|0)+(b+608|0)|0;d=c-1|0;h=r[d|0];o[d|0]=108;o[d+1|0]=0;o[c+1|0]=0;o[c|0]=h;c=b;i=Ri(a,g);m:{if(y(i)<2147483648){d=~~i;break m}d=-2147483648}q[c+32>>2]=d;Zm(b+96|0,b+608|0,b+32|0);break d}c=Ui(b+608|0)+(b+608|0)|0;d=c-1|0;h=r[d|0];o[d|0]=108;o[d+1|0]=0;o[c+1|0]=0;o[c|0]=h;c=b;i=Ri(a,g);n:{if(i<4294967296&i>=0){d=~~i>>>0;break n}d=0}q[c+48>>2]=d;Zm(b+96|0,b+608|0,b+48|0);break d}c=Wi(a,g,b+1676|0);e=q[b+632>>2];if(j>>>0<=e>>>0){Yk(b+632|0);e=q[b+632>>2]}q[b+632>>2]=e+1;o[e|0]=34;d=q[b+1676>>2];q[b+1676>>2]=d-1;if(d){while(1){o:{p:{q:{r:{s:{t:{e=o[c|0];switch(e|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12: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:break p;case 0:break q;case 13:break r;case 10:case 34:break s;default:break t}}if((e|0)!=92){break p}}e=q[b+632>>2];if(j>>>0<=e>>>0){Yk(b+632|0);e=q[b+632>>2]}q[b+632>>2]=e+1;o[e|0]=92;e=q[b+632>>2];if(j>>>0<=e>>>0){Yk(b+632|0);e=q[b+632>>2]}d=r[c|0];q[b+632>>2]=e+1;o[e|0]=d;break o}bn(b+632|0,141395,2);break o}bn(b+632|0,141398,4);break o}d=q[b+632>>2];if(j>>>0<=d>>>0){Yk(b+632|0);e=r[c|0];d=q[b+632>>2]}q[b+632>>2]=d+1;o[d|0]=e}d=q[b+1676>>2];q[b+1676>>2]=d-1;c=c+1|0;if(d){continue}break}}c=q[b+632>>2];if(j>>>0<=c>>>0){Yk(b+632|0);c=q[b+632>>2]}q[b+632>>2]=c+1;o[c|0]=34;break b}c=Wi(a,g,b+1676|0);if(!(Oj(b+608|0,46)|t[b+1676>>2]<100)){Qi(a,g);ls(b+632|0);break b}q[b+80>>2]=c;Zm(b+96|0,b+608|0,b+80|0);break d}q[b>>2]=c;l=Bi(a,141284,b);break a}v[b+64>>3]=Ri(a,g);ut(b+96|0,b+608|0,b- -64|0)}bn(b+632|0,b+96|0,Ui(b+96|0))}if(f>>>0>>0){continue}break}}gm(b+632|0)}ti=b+1680|0;return l|0}function WB(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,s=0,t=0,u=0,v=0,w=0;a:{i=r[a+75|0];b:{if(i>>>0>250){break b}e=r[a+74|0];if((e&5)==4|r[a+73|0]+(e&1)>>>0>i>>>0){break b}u=r[a+72|0];if((u|0)>2]){break b}l=q[a+44>>2];if((l|0)<1){break b}d=q[a+48>>2];if(!(!d|(d|0)==(l|0))){break b}m=q[a+12>>2];p=l-1|0;d=q[m+(p<<2)>>2];if((d&63)!=30){break b}h=d;if((b|0)<1){break b}w=(e&6)!=2;k=p;while(1){n=(g<<2)+m|0;h=q[n>>2];s=h&63;if(s>>>0>37){break a}j=h>>>6&255;if(j>>>0>=i>>>0){break a}e=r[s+136048|0];t=e<<24>>24;d=0;f=0;c:{d:{switch(e&3){case 0:f=h>>>23|0;e:{f:{switch(e>>>4&3){case 0:if(!f){break e}break a;case 2:if(f>>>0>>0){break e}break a;case 3:break f;default:break e}}if((h|0)<=-1){if(q[a+40>>2]>(f&255)){break e}break a}if(f>>>0>>0){break e}break a}o=h>>>14|0;e=o&511;d=e;g:{switch(t>>>2&3){case 0:d=0;h=0;if(!e){break c}break b;case 2:d=e;if(d>>>0>>0){break c}break a;case 3:break g;default:break c}}if(h&4194304){d=e;if(q[a+40>>2]>(o&255)){break c}break a}d=e;if(d>>>0>>0){break c}break a;case 1:f=h>>>14|0;if((e&48)!=48){break c}h=0;if(q[a+40>>2]>(f|0)){break c}break b;case 2:break d;default:break c}}o=h>>>14|0;f=o-131071|0;if((e&48)!=32){break c}h=0;v=f+g|0;d=v+1|0;if((d|0)<0|(d|0)>=(l|0)){break b}if((d|0)<1){d=0;break c}d=(g+o|0)-131070|0;e=0;h:{while(1){if((q[(v-e<<2)+m>>2]&8372287)!=34){break h}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}d=0;if(e&1){break b}}if((t|0)<=-1){h=0;if((q[n+4>>2]&63)!=22|(g+2|0)>=(l|0)){break b}}k=(c|0)==(j|0)?(t&64)>>>6|0?g:k:k;i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(s-2|0){case 0:if((d|0)!=1){break i}h=0;if((g+2|0)>=(l|0)){break b}if((q[n+4>>2]&8372287)!=34){break i}break b;case 1:k=(c|0)<(j|0)?k:(c|0)>(f|0)?k:g;break i;case 2:case 6:if((f|0)<(u|0)){break i}break a;case 3:case 5:if(q[(q[a+8>>2]+(f<<4)|0)+8>>2]==4){break i}break a;case 9:d=j+1|0;if(d>>>0>=i>>>0){break a}k=(c|0)==(d|0)?g:k;break i;case 19:if((d|0)>(f|0)){break i}break a;case 31:h=0;if(!d){break b}e=d;d=j+2|0;if(e+d>>>0>=i>>>0){break b}k=(c|0)<(d|0)?k:g;break i;case 35:break k;case 34:break l;case 32:break m;case 28:break n;case 26:case 27:break o;case 20:break p;case 29:case 30:break q;default:break i}}if(j+3>>>0>>0){break p}break a}d=(f+g|0)+1|0;g=((b|0)<(d|0)?0:(c|0)==255?0:(d|0)<=(g|0)?0:f)+g|0;break i}h=0;if((f+j|0)>(i|0)?f:0){break b}r:{if(!d){d=q[n+4>>2];e=d&63;if((e|0)!=34?e-28>>>0>=3:0){break b}if(d>>>0<=8388607){break r}break b}d=d-1|0;if(!d){break r}if((d+j|0)>(i|0)){break b}}k=(c|0)<(j|0)?k:g;break i}if((f|0)<2|((f+j|0)-1|0)<=(i|0)){break i}break a}h=0;if((f+j|0)>=(i|0)?(f|0)>=1:0){break b}if(d){break i}g=g+1|0;if((p|0)>(g|0)){break i}break b}h=0;if(q[a+52>>2]<=(f|0)){break b}d=r[q[q[a+16>>2]+(f<<2)>>2]+72|0];f=d+g|0;if((f|0)>=(l|0)){break b}e=1;if(!d){break j}while(1){if(r[(e+g<<2)+m|0]&59){break b}j=(d|0)==(e|0);e=e+1|0;if(!j){continue}break}break j}h=0;if(w){break b}if(!f){d=q[n+4>>2];e=d&63;if(((e|0)!=34?e-28>>>0>=3:0)|d>>>0>8388607){break b}}if(((f+j|0)-1|0)>(i|0)){break b}break i}g=(c|0)==255?g:f}g=g+1|0;if((g|0)<(b|0)){continue}break}h=q[(k<<2)+m>>2]}return h}return 0}function p6(a,b){var c=0,d=0,e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0,m=0,n=x(0),v=0,y=0,z=x(0),A=x(0),B=x(0),C=x(0),D=0,E=x(0),F=x(0),H=0,I=0,K=0,L=0;a:{b:{c:{d:{if(b){d=b&65535;c=q[a>>2];if(d>>>0>=q[a+4>>2]-c>>2>>>0){break c}e=q[c+(d<<2)>>2];if(s[e+80>>1]==(b>>>16|0)){break d}Ai(4,145356,145973,0)}return}c=q[e+72>>2];if(c){yi(c);q[e+16>>2]=0;q[e+72>>2]=0}m=q[e+64>>2];i=q[m+16>>2];e:{f:{g:{d=(q[m+4>>2]-q[m>>2]|0)/18568|0;g=q[e>>2];c=q[e+4>>2]-g|0;f=(c|0)/304|0;h:{if((d|0)==(f|0)){break h}i:{if(d>>>0>=f>>>0){break i}if(d>>>0<(c|0)/304>>>0){c=d;while(1){g=w(c,304)+g|0;if(o[g+68|0]&1){break b}Ii(0,160,g+56|0,g- -64|0,g+60|0);c=c+1|0;if((f|0)==(c|0)){break i}g=q[e>>2];if((q[e+4>>2]-g|0)/304>>>0>c>>>0){continue}break}}break c}if(o[e+12|0]&1){break b}Ii(d,304,e,e+8|0,e+4|0);c=q[e>>2];if(d>>>0>(q[e+8>>2]-c|0)/304>>>0){break g}q[e+4>>2]=c+w(d,304);if(d>>>0<=f>>>0){break h}Fi(c+w(f,304)|0,0,w(d-f|0,304));g=pk();c=f;while(1){k=q[e>>2];if((q[e+4>>2]-k|0)/304>>>0<=c>>>0){break c}j=s[a+34>>1];p[a+34>>1]=j+1;if(t[i+4>>2]<=c>>>0){break a}k=k+w(c,304)|0;j=j+(c+g|0)|0;oz(k,q[i>>2]+w(c,144)|0,j);q[k+276>>2]=j;c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=d>>>0>f>>>0?f:d;if(d){c=0;while(1){f=q[e>>2];if((q[e+4>>2]-f|0)/304>>>0<=c>>>0){break c}if(t[i+4>>2]<=c>>>0){break a}f=f+w(c,304)|0;oz(f,q[i>>2]+w(c,144)|0,q[f+272>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=q[e+4>>2];d=q[e>>2];i=k-d|0;f=(i|0)/304|0;if(!i){q[e+76>>2]=0;break e}c=0;j=f>>>0>1?f:1;v=q[m>>2];y=j-1>>>0<(q[m+4>>2]-v|0)/18568>>>0;while(1){if(!y){break c}E=n;h=u[e+76>>2];g=w(c,304)+d|0;z=u[g+288>>2];A=u[g+284>>2];B=u[(v+w(c,18568)|0)+18564>>2];if(!(h>x(z+x(A+B))^1)){C=x(x(1)/A);h=x(C*x(h-z));j:{if(h=x(0)){l=~~h>>>0;break j}l=0}g=l;F=x(h-x(g>>>0));h=x(C*B);k:{if(h=x(0)){l=~~h>>>0;break k}l=0}h=x(z+x(A*x(F+x(l+1>>>0))))}n=h>2]=n;if(!i){break e}l:{if((d|0)!=(k|0)){k=f>>>0>1?f:1;f=0;while(1){j=q[m>>2];if((q[m+4>>2]-j|0)/18568>>>0<=f>>>0){break c}c=q[m+16>>2];if(t[c+4>>2]<=f>>>0){break l}d=w(f,304)+d|0;i=q[d+56>>2];v=q[c>>2];q[d+56>>2]=0;y=r[d+68|0];o[d+68|0]=y&254;g=q[d+272>>2];H=q[d+284>>2];I=q[d+288>>2];n=u[d+292>>2];K=q[d+132>>2];L=q[d+128>>2];D=d- -64|0;l=q[D>>2];c=Fi(d,0,304);q[D>>2]=l;q[c+128>>2]=L;q[c+132>>2]=K;u[c+292>>2]=n;q[c+284>>2]=H;q[c+288>>2]=I;q[c+276>>2]=g;q[c+272>>2]=g;q[c+60>>2]=i;g=q[c+56>>2];q[c+56>>2]=i;l=d;d=r[d+68|0];o[l+68|0]=d&254|y&1;if(!(!g|d&1)){yi(g)}d=q[c+280>>2];n=u[e+76>>2];q[c+280>>2]=1;m:{if((d|0)==1){break m}d=q[e+72>>2];if(!d){break m}i=q[e+16>>2]+1|0;q[e+16>>2]=i;xi[q[e+68>>2]](i,q[c+128>>2],q[c+132>>2],1,d)}o[c+296|0]=r[c+296|0]&247;h=x(0);if(!(n>x(0)^1)){d=j+w(f,18568)|0;i=v+w(f,144)|0;while(1){kz(e,d,c,i,x(.01666666753590107));h=x(h+x(.01666666753590107));if(n>h){continue}break}}f=f+1|0;if((k|0)==(f|0)){break e}d=q[e>>2];if((q[e+4>>2]-d|0)/304>>>0>f>>>0){continue}break}}break c}break a}q6(a,b);return}J(146626,145751,479,145962);G()}J(145676,145751,493,145807);G()}J(145920,145932,261,145962);G()}function yi(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}d=a-8|0;b=q[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=q[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=q[d+8>>2];b=b>>>3|0;c=q[d+12>>2];if((c|0)==(e|0)){q[243035]=q[243035]&Twa(-2,b);break b}q[e+12>>2]=c;q[c+8>>2]=e;break b}h=q[d+24>>2];b=q[d+12>>2];c:{if((d|0)!=(b|0)){c=q[d+8>>2];q[c+12>>2]=b;q[b+8>>2]=c;break c}d:{e=d+20|0;c=q[e>>2];if(c){break d}e=d+16|0;c=q[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=q[e>>2];if(c){continue}e=b+16|0;c=q[b+16>>2];if(c){continue}break}q[g>>2]=0}if(!h){break b}e=q[d+28>>2];c=(e<<2)+972444|0;e:{if(q[c>>2]==(d|0)){q[c>>2]=b;if(b){break e}q[243036]=q[243036]&Twa(-2,e);break b}q[h+(q[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}q[b+24>>2]=h;c=q[d+16>>2];if(c){q[b+16>>2]=c;q[c+24>>2]=b}c=q[d+20>>2];if(!c){break b}q[b+20>>2]=c;q[c+24>>2]=b;break b}b=q[f+4>>2];if((b&3)!=3){break b}q[243037]=a;q[f+4>>2]=b&-2;q[d+4>>2]=a|1;q[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=q[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(q[243041]==(f|0)){q[243041]=d;a=q[243038]+a|0;q[243038]=a;q[d+4>>2]=a|1;if(q[243040]!=(d|0)){break a}q[243037]=0;q[243040]=0;return}if(q[243040]==(f|0)){q[243040]=d;a=q[243037]+a|0;q[243037]=a;q[d+4>>2]=a|1;q[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){c=q[f+8>>2];b=b>>>3|0;e=q[f+12>>2];if((c|0)==(e|0)){q[243035]=q[243035]&Twa(-2,b);break g}q[c+12>>2]=e;q[e+8>>2]=c;break g}h=q[f+24>>2];b=q[f+12>>2];h:{if((f|0)!=(b|0)){c=q[f+8>>2];q[c+12>>2]=b;q[b+8>>2]=c;break h}i:{e=f+20|0;c=q[e>>2];if(c){break i}e=f+16|0;c=q[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=q[e>>2];if(c){continue}e=b+16|0;c=q[b+16>>2];if(c){continue}break}q[g>>2]=0}if(!h){break g}e=q[f+28>>2];c=(e<<2)+972444|0;j:{if(q[c>>2]==(f|0)){q[c>>2]=b;if(b){break j}q[243036]=q[243036]&Twa(-2,e);break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}q[b+24>>2]=h;c=q[f+16>>2];if(c){q[b+16>>2]=c;q[c+24>>2]=b}c=q[f+20>>2];if(!c){break g}q[b+20>>2]=c;q[c+24>>2]=b}q[d+4>>2]=a|1;q[a+d>>2]=a;if(q[243040]!=(d|0)){break f}q[243037]=a;return}q[f+4>>2]=b&-2;q[d+4>>2]=a|1;q[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+972180|0;c=q[243035];a=1<>2]}q[b+8>>2]=d;q[a+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=a;return}e=31;q[d+16>>2]=0;q[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}q[d+28>>2]=e;g=(e<<2)+972444|0;l:{m:{c=q[243036];b=1<>2]=d;q[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=q[g>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=q[g+16>>2];if(b){continue}break}q[g+16>>2]=d;q[d+24>>2]=c}q[d+12>>2]=d;q[d+8>>2]=d;break l}a=q[c+8>>2];q[a+12>>2]=d;q[c+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=c;q[d+8>>2]=a}a=q[243043]-1|0;q[243043]=a;if(a){break a}d=972596;while(1){a=q[d>>2];d=a+8|0;if(a){continue}break}q[243043]=-1}}function Hja(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,p=0,r=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;b=ti-432|0;ti=b;p=q[a+8>>2]-q[a+12>>2]>>4;l=Wi(a,1,0);jA(a,l,73131,b+168|0);x=q[q[Tj(a)+80>>2]+8>>2];mj(a,2,5);h=Vo(a,73141);i=Vo(a,73146);d=Vo(a,72434);e=Vo(a,72440);Hi(a,73153);Sj(a,2);f=Uo(a,73153,0);Ci(a,-2);a:{b:{c:{if(h&-3){f=b;if(h>>>0<=2){c=q[(h<<2)+257404>>2]}else{c=82477}q[f+128>>2]=c;g=Bi(a,73165,b+128|0);break c}Hi(a,73222);Sj(a,2);k=Uo(a,73222,0);Ci(a,-2);if((ul(a,3)|0)==q[76577]){c=Ds(a,3);if(q[c+4>>2]==2){c=q[c>>2]+4|0}m=q[c>>2]}c=sJ((d>>>0>e>>>0?d:e)&65535);d:{if(f>>>0<=c>>>0){c=f;break d}q[b+112>>2]=c;q[b+108>>2]=e;q[b+104>>2]=d;q[b+100>>2]=l;q[b+96>>2]=f;Ai(3,73239,73247,b+96|0)}if(!(m|!k)){q[b+84>>2]=l;q[b+80>>2]=k;Ai(3,73239,73338,b+80|0);k=0}f=qJ(i);e:{f:{g:{if(h>>>0<3){n=-1;n=i>>>0<=29?q[(i<<2)+74552>>2]:n;q[b+160>>2]=0;q[b+164>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;if(!(xi[q[77500]](q[76922],i)|0)){f=b;if(i>>>0<=29){c=q[(i<<2)+257428>>2]}else{c=83425}q[f+64>>2]=c;g=Bi(a,73474,b- -64|0);break c}if(!(!k|h-1>>>0>1)){f=b;if(h>>>0<=2){c=q[(h<<2)+257404>>2]}else{c=82477}q[f+8>>2]=c;q[b+4>>2]=l;q[b>>2]=k;g=Bi(a,73530,b);break c}i=(c?c:1)&255;c=i<<2;r=Oi(c);s=Oi(c);u=Oi(4);if(!i){break g}c=h<<2;y=q[c+74540>>2];h=q[c+74500>>2];z=w(h,f&255);f=e;c=d;while(1){v=j<<2;A=c;B=f;c=c&65535;f=f&65535;q[v+r>>2]=(c>>>0>f>>>0?A:B)&65535;q[s+v>>2]=g>>>3;g=w(c,w(f,z))+g|0;f=f>>>1|0;c=c>>>1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}if(!g){break g}h:{if(m){q[b+176>>2]=0;q[b+136>>2]=0;Bo(m,b+176|0,b+136|0);j=q[b+136>>2];f=q[b+176>>2];break h}j=w(g,h)>>>3|0;f=Oi(j)}q[u>>2]=j;c=Oi(64);q[b+164>>2]=h;q[b+160>>2]=y;q[b+156>>2]=1;q[b+152>>2]=c;q[c+48>>2]=0;q[c+52>>2]=0;q[c+44>>2]=k;q[c+16>>2]=n;e=e&65535;q[c+12>>2]=e;d=d&65535;q[c+8>>2]=d;q[c+4>>2]=e;q[c>>2]=d;q[c+40>>2]=j;q[c+36>>2]=f;q[c+60>>2]=1;q[c+56>>2]=u;q[c+32>>2]=i;q[c+28>>2]=r;q[c+24>>2]=i;q[c+20>>2]=s;q[b+144>>2]=0;q[b+148>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;if(ft(b+152|0,q[64574],b+136|0)){break f}g=0;q[b+132>>2]=0;c=q[b+136>>2];c=Uy(q[76921],l,c,q[b+140>>2]-c|0,b+132|0);if(!q[b+156>>2]){break e}if(!m){while(1){d=q[b+152>>2]+(g<<6)|0;e=q[d+20>>2];if(e){yi(e)}e=q[d+28>>2];if(e){yi(e)}e=q[d+56>>2];if(e){yi(e)}d=q[d+36>>2];if(d){yi(d)}g=g+1|0;if(g>>>0>2]){continue}break e}}while(1){d=q[b+152>>2]+(g<<6)|0;e=q[d+20>>2];if(e){yi(e)}e=q[d+28>>2];if(e){yi(e)}d=q[d+56>>2];if(d){yi(d)}g=g+1|0;if(g>>>0>2]){continue}break}break e}J(72975,71492,542,73667);G()}J(73698,71492,569,73712);G()}J(72001,71492,840,73628);G()}d=q[b+152>>2];if(d){yi(d)}i:{if(c){if(q[a+8>>2]-q[a+12>>2]>>4!=(p|0)){break b}d=q[b+168>>2];e=q[b+172>>2];q[b+48>>2]=Mi(d,e);q[b+40>>2]=d;q[b+44>>2]=e;q[b+32>>2]=c;hj(b+176|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+32|0);q[b+16>>2]=b+176;g=Bi(a,70520,b+16|0);break i}c=q[b+168>>2];d=q[b+172>>2];HA(x,c,d);Zj(a,c,d);g=1;if((p+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}if(o[b+148|0]&1){break c}a=q[b+136>>2];if(!a){break c}yi(a)}ti=b+432|0;return g|0}J(71471,71492,849,73628);G()}J(73642,71492,856,73628);G()}function Ap(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,p=0,s=0,u=0,w=0;s=ti-112|0;ti=s;a:{b:{switch(q[c+8>>2]-1|0){case 2:j=v[c>>3];if(j==0){f=q[b+16>>2];d=f;break a}f=q[b+16>>2];axa(+j);e=Zwa(1)|0;d=Zwa(0)|0;e=d+e|0;d=f+((e>>>0)%((-1<>>0)<<5)|0;break a;case 3:f=q[b+16>>2];d=f+((q[q[c>>2]+8>>2]&(-1<>2];d=f+((q[c>>2]&(-1<>2];d=f+(t[c>>2]%((-1<>>0)<<5)|0;break a;default:break b}}f=q[b+16>>2];d=f+(t[c>>2]%((-1<>>0)<<5)|0}c:{d:{if(q[d+8>>2]?0:(d|0)!=137304){break d}e=q[b+20>>2];e:{f:{g:{h:{i:{j:{k:{while(1){i=e;e=e-32|0;q[b+20>>2]=e;if(f>>>0>=i>>>0){break k}if(q[i-8>>2]){continue}break}switch(q[d+24>>2]-1|0){case 1:break g;case 0:break h;case 3:break i;case 2:break j;default:break f}}n=Fi(s,0,108);d=q[b+28>>2];h=1;i=1;while(1){l:{g=i;if((d|0)<(g|0)){g=d;if((d|0)<(h|0)){break l}}e=0;if((g|0)>=(h|0)){m=q[b+12>>2];while(1){e=(q[(m+(h<<4)|0)-8>>2]!=0)+e|0;p=(g|0)!=(h|0);h=h+1|0;if(p){continue}break}h=g+1|0}g=(k<<2)+n|0;q[g>>2]=q[g>>2]+e;i=i<<1;u=e+u|0;k=k+1|0;if((k|0)!=27){continue}}break}h=-1<>2]){d=0;m:{if(q[e+24>>2]!=3){break m}j=v[e+16>>3];n:{if(y(j)<2147483648){e=~~j;break n}e=-2147483648}if(+(e|0)!=j){break m}e=e-1|0;if(e>>>0>67108863){break m}d=1;e=(Mx(e)<<2)+n|0;q[e+4>>2]=q[e+4>>2]+1}i=d+i|0;g=g+1|0}if(h){h=h-1|0;f=q[b+16>>2];continue}break}i=i+u|0;d=0;e=0;o:{if(q[c+8>>2]!=3){break o}j=v[c>>3];p:{if(y(j)<2147483648){f=~~j;break p}f=-2147483648}if(+(f|0)!=j){break o}f=f-1|0;if(f>>>0>67108863){break o}e=1;f=(Mx(f)<<2)+n|0;q[f+4>>2]=q[f+4>>2]+1}h=1;m=e+i|0;q:{if((m|0)<1){i=0;k=0;break q}k=0;i=0;e=0;f=0;while(1){w=k;k=q[(f<<2)+n>>2];p=(k|0)>0;l=d;d=e+k|0;l=p&(l|0)<(d|0);k=l?h:w;i=l?d:i;e=p?d:e;if((m|0)==(e|0)){break q}f=f+1|0;d=h&2147483647;h=h<<1;if((d|0)<(m|0)){continue}break}}bx(a,b,k,((g+u|0)-i|0)+1|0);d=os(b,c);o[b+6|0]=0;if((d|0)!=135744){break c}r:{s:{switch(q[c+8>>2]){case 0:Hk(a,137241,0);d=Ap(a,b,c);break c;case 3:break s;default:break r}}j=v[c>>3];if(j==j){break r}Hk(a,137260,0)}d=Ap(a,b,c);break c}j=v[d+16>>3];if(j==0){break e}l=f;axa(+j);h=Zwa(1)|0;g=Zwa(0)|0;f=g+h|0;f=l+((f>>>0)%((-1<>>0)<<5)|0;break e}f=((q[q[d+16>>2]+8>>2]&(-1<>2]&(-1<>2]%((-1<>>0)<<5)+f|0;break e}f=(t[d+16>>2]%((-1<>>0)<<5)+f|0}if((d|0)!=(f|0)){while(1){g=f;f=q[f+28>>2];if((f|0)!=(d|0)){continue}break}q[g+28>>2]=e;g=q[d+28>>2];q[e+24>>2]=q[d+24>>2];q[e+28>>2]=g;g=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=g;g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;g=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=g;q[d+28>>2]=0;q[d+8>>2]=0;break d}q[i-4>>2]=q[d+28>>2];q[d+28>>2]=e;d=e}e=q[c+4>>2];q[d+16>>2]=q[c>>2];q[d+20>>2]=e;q[d+24>>2]=q[c+8>>2];if(!(r[b+5|0]&4)|(!(r[q[c>>2]+5|0]&3)|q[c+8>>2]<4)){break c}a=q[a+16>>2];o[b+5|0]=r[b+5|0]&251;q[b+24>>2]=q[a+40>>2];q[a+40>>2]=b}ti=s+112|0;return d}function tia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-128|0;ti=c;g=Zi(c+104|0,a,1,68051,748);b=Mj(a,2);e=wi;f=q[q[Tj(a)+80>>2]+8>>2];q[c+100>>2]=0;q[c+96>>2]=0;h=c- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;wl(a,1,f,67845,c+100|0,c+40|0,c+96|0);f=hja(q[c+96>>2],q[c+100>>2],b,e,c+92|0);a:{if(f){q[c>>2]=Mi(b,e);q[c+8>>2]=f;q[c+4>>2]=q[(f<<2)+244592>>2];i=sj(g,69837,c);break a}gj(a,0,0);b=r[c+40|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69165);b:{c:{switch(q[c+92>>2]){case 0:d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69183);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69190);d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69200);break b;case 1:d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69208);break b;case 2:d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69219);d=+u[c+56>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69235);d=+u[c+60>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69247);d=+u[c- -64>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69259);d=+u[c+68>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69276);b=r[c+72|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69288);b=r[c+73|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69301);d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69884);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69896);break b;case 3:u[c+24>>2]=u[c+60>>2];b=q[c+56>>2];q[c+16>>2]=q[c+52>>2];q[c+20>>2]=b;jl(a,c+16|0);Di(a,-2,69383);d=+u[c- -64>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69219);b=r[c+68|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69288);d=+u[c+72>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69396);d=+u[c+76>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69414);b=r[c+80|0];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69301);d=+u[c+84>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69432);d=+u[c+88>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69276);d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69908);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69896);break b;case 4:break c;default:break a}}d=+u[c+44>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69219);d=+u[c+48>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69190);d=+u[c+52>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,69200)}i=1}Yi(g);ti=c+128|0;return i|0}function kx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a>>>0>=16){i=d;while(1){f=Owa(q[b>>2],0,i,0);g=wi;f=e+f|0;j=f+q[c>>2]|0;q[c>>2]=j;h=Owa(q[b+4>>2],0,i,0);k=wi;f=((e>>>0>f>>>0)+g|0)+(f>>>0>j>>>0)|0;e=f+h|0;g=e+q[c+4>>2]|0;q[c+4>>2]=g;h=Owa(q[b+8>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+8>>2]|0;q[c+8>>2]=g;h=Owa(q[b+12>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+12>>2]|0;q[c+12>>2]=g;h=Owa(q[b+16>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+16>>2]|0;q[c+16>>2]=g;h=Owa(q[b+20>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+20>>2]|0;q[c+20>>2]=g;h=Owa(q[b+24>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+24>>2]|0;q[c+24>>2]=g;h=Owa(q[b+28>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+28>>2]|0;q[c+28>>2]=g;h=Owa(q[b+32>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+32>>2]|0;q[c+32>>2]=g;h=Owa(q[b+36>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+36>>2]|0;q[c+36>>2]=g;h=Owa(q[b+40>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+40>>2]|0;q[c+40>>2]=g;h=Owa(q[b+44>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+44>>2]|0;q[c+44>>2]=g;h=Owa(q[b+48>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+48>>2]|0;q[c+48>>2]=g;h=Owa(q[b+52>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+52>>2]|0;q[c+52>>2]=g;h=Owa(q[b+56>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+56>>2]|0;q[c+56>>2]=g;e=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;h=Owa(q[b+60>>2],0,i,0)+e|0;f=h+q[c+60>>2]|0;q[c+60>>2]=f;e=(wi+(e>>>0>h>>>0)|0)+(f>>>0>>0)|0;c=c- -64|0;b=b- -64|0;a=a-16|0;if(a>>>0>15){continue}break}}if(a>>>0>=8){i=d;while(1){f=Owa(q[b>>2],0,i,0);g=wi;f=e+f|0;j=f+q[c>>2]|0;q[c>>2]=j;h=Owa(q[b+4>>2],0,i,0);k=wi;f=((e>>>0>f>>>0)+g|0)+(f>>>0>j>>>0)|0;e=f+h|0;g=e+q[c+4>>2]|0;q[c+4>>2]=g;h=Owa(q[b+8>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+8>>2]|0;q[c+8>>2]=g;h=Owa(q[b+12>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+12>>2]|0;q[c+12>>2]=g;h=Owa(q[b+16>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+16>>2]|0;q[c+16>>2]=g;h=Owa(q[b+20>>2],0,i,0);k=wi;f=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+20>>2]|0;q[c+20>>2]=g;h=Owa(q[b+24>>2],0,i,0);j=wi;f=((e>>>0>>0)+k|0)+(e>>>0>g>>>0)|0;e=f+h|0;g=e+q[c+24>>2]|0;q[c+24>>2]=g;e=((e>>>0>>0)+j|0)+(e>>>0>g>>>0)|0;h=Owa(q[b+28>>2],0,i,0)+e|0;f=h+q[c+28>>2]|0;q[c+28>>2]=f;e=(wi+(e>>>0>h>>>0)|0)+(f>>>0>>0)|0;c=c+32|0;b=b+32|0;a=a-8|0;if(a>>>0>7){continue}break}}if(a){while(1){f=Owa(q[b>>2],0,d,0)+e|0;h=f+q[c>>2]|0;q[c>>2]=h;e=(wi+(e>>>0>f>>>0)|0)+(f>>>0>h>>>0)|0;c=c+4|0;b=b+4|0;a=a-1|0;if(a){continue}break}}a=q[c>>2];b=a+e|0;q[c>>2]=b;if(a>>>0>b>>>0){while(1){a=q[c+4>>2];b=a+1|0;q[c+4>>2]=b;c=c+4|0;if(a>>>0>b>>>0){continue}break}}}function asa(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,u=0;a:{while(1){b:{c:{if(t[a+116>>2]<=261){rs(a);c=q[a+116>>2];if(!(c>>>0>=262|b)){return 0}if(!c){break a}if(c>>>0<3){break c}}c=q[a+108>>2];d=q[a+84>>2]&(r[(c+q[a+56>>2]|0)+2|0]^q[a+72>>2]<>2]);q[a+72>>2]=d;e=q[a+68>>2]+(d<<1)|0;d=s[e>>1];p[q[a+64>>2]+((c&q[a+52>>2])<<1)>>1]=d;p[e>>1]=c;if(!d|q[a+44>>2]-262>>>0>>0){break c}c=rE(a,d);q[a+96>>2]=c;break b}c=q[a+96>>2]}d:{if(c>>>0>=3){d=q[a+5792>>2];e=q[a+108>>2]-q[a+112>>2]|0;p[q[a+5796>>2]+(d<<1)>>1]=e;q[a+5792>>2]=d+1;c=c-3|0;o[d+q[a+5784>>2]|0]=c;c=((r[(c&255)+190768|0]<<2)+a|0)+1176|0;p[c>>1]=s[c>>1]+1;c=e-1&65535;c=((r[(c>>>0<256?c:(c>>>7|0)+256|0)+190256|0]<<2)+a|0)+2440|0;p[c>>1]=s[c>>1]+1;c=q[a+96>>2];d=q[a+116>>2]-c|0;q[a+116>>2]=d;h=q[a+5788>>2]-1|0;i=q[a+5792>>2];if(!(d>>>0<3|c>>>0>t[a+128>>2])){e=c-1|0;q[a+96>>2]=e;g=q[a+72>>2];c=q[a+108>>2];k=q[a+52>>2];l=q[a+64>>2];m=q[a+68>>2];n=q[a+84>>2];u=q[a+56>>2];f=q[a+88>>2];while(1){d=c;c=c+1|0;q[a+108>>2]=c;g=(r[(d+u|0)+3|0]^g<>2]=g;j=(g<<1)+m|0;p[((c&k)<<1)+l>>1]=s[j>>1];p[j>>1]=c;e=e-1|0;q[a+96>>2]=e;if(e){continue}break}c=d+2|0;q[a+108>>2]=c;if((h|0)!=(i|0)){continue}break d}q[a+96>>2]=0;c=c+q[a+108>>2]|0;q[a+108>>2]=c;d=q[a+56>>2]+c|0;e=r[d|0];q[a+72>>2]=e;q[a+72>>2]=q[a+84>>2]&(r[d+1|0]^e<>2]);if((h|0)!=(i|0)){continue}break d}c=r[q[a+56>>2]+q[a+108>>2]|0];d=q[a+5792>>2];p[q[a+5796>>2]+(d<<1)>>1]=0;q[a+5792>>2]=d+1;o[d+q[a+5784>>2]|0]=c;c=(c<<2)+a|0;p[c+148>>1]=s[c+148>>1]+1;q[a+116>>2]=q[a+116>>2]-1;c=q[a+108>>2]+1|0;q[a+108>>2]=c;if(q[a+5792>>2]!=(q[a+5788>>2]-1|0)){continue}}d=a;e=q[a+92>>2];if((e|0)>=0){f=e+q[a+56>>2]|0}else{f=0}zm(d,f,c-e|0,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];ql(d);e=q[c+16>>2];g=q[d+20>>2];e=e>>>0>>0?e:g;e:{if(!e){break e}Gi(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break e}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}break}return 0}c=q[a+108>>2];q[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=q[a+92>>2];if((d|0)>=0){f=d+q[a+56>>2]|0}else{f=0}zm(b,f,c-d|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break f}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}g:{if(!q[a+5792>>2]){break g}b=a;d=q[a+92>>2];if((d|0)>=0){f=d+q[a+56>>2]|0}else{f=0}zm(b,f,c-d|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;h:{if(!d){break h}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break h}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break g}return 0}return 1}function Vp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=ti-16|0;ti=g;c=a;d=b;if(d>>>0>=4){while(1){h=f;f=w(r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24),1540483477);f=w(h^w(f>>>24^f,1540483477),1540483477);c=c+4|0;d=d-4|0;if(d>>>0>3){continue}break}}a:{switch(d-1|0){case 2:e=r[c+2|0]<<16;case 1:e=r[c+1|0]<<8|e;case 0:e=w(r[c|0]^e,1540483477);break;default:break a}}c=w(b,1540483477);c=w(w(e>>>24^e,1540483477)^f,1540483477)^w(c>>>24^c,1540483477);c=w(c>>>13^c,1540483477);d=c>>>15|0;b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;e=Hj();o[862340]=0;q[215584]=e;Wj()}d=c^d;if(!(!r[862340]|b>>>0>1024)){c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}e=q[215584];wj(e);d:{if(o[862440]&1){break d}if(!Xj()){break d}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215587];e:{f:{if(!c){break f}c=q[q[215586]+((d>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break f}f=q[215588];while(1){c=f+(c<<4)|0;if((d|0)==q[c>>2]){break e}c=q[c+12>>2];if((c|0)!=-1){continue}break}}if(q[215592]==q[215590]-q[215588]>>4){g:{if(o[862440]&1){break g}if(!Xj()){break g}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215590]-q[215588]>>4;h:{if(o[862440]&1){break h}if(!Xj()){break h}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;f=Hj();o[862340]=0;q[215584]=f;Wj()}gv(862344,1024,c+256|0)}a=Gi(Ji(b+1|0),a,b);o[a+b|0]=0;p[g+12>>1]=b;q[g+8>>2]=a;Jz(862344,d,g+8|0)}qj(e)}ti=g+16|0;return d}function cka(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=x(0),l=0,m=x(0),n=x(0),r=0,v=0;b=ti-112|0;ti=b;n=u[q[a+4>>2]+4>>2];j=q[a+8>>2];a=0;q[b+80>>2]=0;c=q[j+4>>2];f=q[j>>2];g=c-f|0;d=(g|0)/240|0;a:{b:{c:{if(!g){break c}if((c|0)!=(f|0)){g=d>>>0>1?d:1;while(1){d=w(a,240)+f|0;f=s[d+234>>1];d:{if(!(f&4)){break d}if((f&136)==136){i=q[d+184>>2];e=i;c=q[d+196>>2];if(!c){c=q[q[d+188>>2]+8>>2]}c=q[c+64>>2];if(t[c+8>>2]<=e>>>0){break a}e=q[c+4>>2];k=x(u[d+224>>2]+x(x(n*u[d+220>>2])*u[d+228>>2]));u[d+224>>2]=k;if(!(k>=x(1)^1)){l=d;i=q[(e+w(i,40)|0)+24>>2];e:{if(i>>>0<=6){m=x(1);if(1<>2]=m}f=f|16;p[d+234>>1]=f}if(!(f&16)){break d}p[d+234>>1]=f&65519;xJ(d)}a=a+1|0;if((g|0)==(a|0)){break c}f=q[j>>2];if((q[j+4>>2]-f|0)/240>>>0>a>>>0){continue}break}}break b}f=0;q[b+72>>2]=0;c=q[j+4>>2];a=q[j>>2];g=c-a|0;d=(g|0)/240|0;f:{if(!g){break f}if((a|0)!=(c|0)){r=d>>>0>1?d:1;v=b+80|4;d=b+88|0;i=b+104|0;g=b- -64|0;while(1){c=w(f,240)+a|0;e=s[c+234>>1];g:{if((e&12)!=12){break g}h=q[c+184>>2];l=h;a=q[c+196>>2];if(!a){a=q[q[c+188>>2]+8>>2]}a=q[a+64>>2];if(t[a+8>>2]<=l>>>0){break a}a=q[(q[a+4>>2]+w(h,40)|0)+24>>2];if(a>>>0>6|!(1<>2]>=x(1)^1){break g}p[c+234>>1]=e&65527;if(!(q[c+176>>2]|q[c+180>>2])){break g}q[g>>2]=0;q[g+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;a=d;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;a=0;e=0;h=q[q[q[c>>2]+80>>2]+8>>2];h:{if(!h){break h}h=q[h>>2];if(!h){break h}a=q[h+3216>>2];e=q[h+3220>>2]}q[b+80>>2]=a;q[b+84>>2]=e;i:{if(wo(a,e)){if(!zo(q[c>>2],s[c+232>>1],i)){break i}}Ai(4,47991,48340,0);break f}a=c+152|0;e=q[c>>2];h=q[e+100>>2];q[b+56>>2]=q[e+96>>2];q[b+60>>2]=h;e=q[d+4>>2];q[b+48>>2]=q[d>>2];q[b+52>>2]=e;e=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=e;e=q[b+84>>2];q[b+40>>2]=q[b+80>>2];q[b+44>>2]=e;if(!Vm(q[q[q[c>>2]+80>>2]+8>>2],q[c+168>>2],q[c+172>>2])){a=Mi(q[a>>2],q[a+4>>2]);d=Mi(q[c+168>>2],q[c+172>>2]);q[b+8>>2]=Mi(q[c+176>>2],q[c+180>>2]);q[b+4>>2]=d;q[b>>2]=a;Ai(4,47991,48407,b);break f}q[b+24>>2]=q[c+216>>2]+1;e=q[c+212>>2];q[b+32>>2]=q[c+208>>2];q[b+36>>2]=e;c=q[c+148>>2];q[d>>2]=0;q[d+4>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;Ii(16,1,b+80|0,d,v);ft(b+24|0,q[63672],b+80|0);e=q[b+80>>2];c=Goa(q[63672],e,q[b+84>>2]-e|0,b+40|0,a,c);j:{if(o[b+92|0]&1){break j}e=q[b+80>>2];if(!e){break j}yi(e)}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;if(!c){break g}Ai(4,47991,48459,0)}f=f+1|0;if((r|0)==(f|0)){break f}a=q[j>>2];if((q[j+4>>2]-a|0)/240>>>0>f>>>0){continue}break}}break b}ti=b+112|0;return 0}J(48683,48598,479,48308);G()}J(48264,48276,88,48308);G()}function Ana(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;b=ti-512|0;ti=b;l=Zi(b+488|0,a,0,15841,813);Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);g=q[c+4>>2];q[b+480>>2]=0;q[b+484>>2]=0;q[b+472>>2]=0;q[b+476>>2]=0;q[b+464>>2]=0;q[b+468>>2]=0;q[b+456>>2]=0;q[b+460>>2]=0;$l(a,b+456|0);q[b+448>>2]=0;q[b+452>>2]=0;q[b+440>>2]=0;q[b+444>>2]=0;q[b+432>>2]=0;q[b+436>>2]=0;q[b+424>>2]=0;q[b+428>>2]=0;qk(a,1,b+424|0,b+456|0);c=q[q[q[c+4>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}d=q[c+3216>>2];e=q[c+3220>>2]}if((d|0)!=q[b+424>>2]|(e|0)!=q[b+428>>2]){Bi(a,15881,0)}b:{if(ek(a,2)){d=zi(dj(a,2,0));e=wi;break b}d=Zk(a,2);e=wi}k=Ys(b+352|0);j=Vm(q[q[g+80>>2]+8>>2],q[b+440>>2],q[b+444>>2]);c:{if(!j){q[b>>2]=Mi(q[b+440>>2],q[b+444>>2]);c=Bi(a,15942,b);break c}c=Iv(a,3,k);d:{if(q[a+8>>2]-q[a+12>>2]>>4<4){break d}mj(a,4,5);Qi(a,4);Ki(a,-1,15053);g=Ei(a,-1);e:{if(!g){h=0;break e}i=Mj(a,-1);f=wi;h=1}Ci(a,-2);Ki(a,-1,15057);f:{if(!Ei(a,-1)){break f}if(g){c=Bi(a,15063,0);break c}if(!Bj(a,-1)){c=Bi(a,15116,0);break c}g=Xi(a,-1);i=g-1|0;if((g|0)>0){break f}f=Mi(d,e);q[b+196>>2]=i;q[b+192>>2]=f;c=Bi(a,15984,b+192|0);break c}Ci(a,-2);Ci(a,-2)}if(!c){o[b+336|0]=h;c=r[b+348|0]|r[b+349|0]<<8|(r[b+350|0]<<16|r[b+351|0]<<24);o[b+340|0]=c;o[b+341|0]=c>>>8;o[b+342|0]=c>>>16;o[b+343|0]=c>>>24;c=r[b+345|0]|r[b+346|0]<<8|(r[b+347|0]<<16|r[b+348|0]<<24);o[b+337|0]=c;o[b+338|0]=c>>>8;o[b+339|0]=c>>>16;o[b+340|0]=c>>>24;c=q[b+340>>2];q[b+184>>2]=q[b+336>>2];q[b+188>>2]=c;g=i;q[b+328>>2]=g;c=f;q[b+332>>2]=c;q[b+176>>2]=g;q[b+180>>2]=c;c=BK(j,q[b+448>>2],q[b+452>>2],d,e,b+176|0,k)}g:{switch(c+12|0){case 11:h:{if(!Ei(a,1)){c=16044;break h}Ni(a,16048,0);Qi(a,1);Ol(a,2);c=dj(a,-1,0);Ci(a,-2)}q[b+36>>2]=Mi(d,e);q[b+32>>2]=c;c=Bi(a,15714,b+32|0);break c;case 8:case 9:g=mp(b+216|0);o[b+208|0]=h;c=r[b+348|0]|r[b+349|0]<<8|(r[b+350|0]<<16|r[b+351|0]<<24);o[b+212|0]=c;o[b+213|0]=c>>>8;o[b+214|0]=c>>>16;o[b+215|0]=c>>>24;c=r[b+345|0]|r[b+346|0]<<8|(r[b+347|0]<<16|r[b+348|0]<<24);o[b+209|0]=c;o[b+210|0]=c>>>8;o[b+211|0]=c>>>16;o[b+212|0]=c>>>24;c=q[b+212>>2];q[b+72>>2]=q[b+208>>2];q[b+76>>2]=c;h=i;q[b+200>>2]=h;q[b+204>>2]=f;q[b+64>>2]=h;q[b+68>>2]=f;jr(j,q[b+448>>2],q[b+452>>2],d,e,b- -64|0,g);d=Mi(d,e);e=dj(a,1,0);i=b;h=q[g+32>>2];f=18774;i:{if(h>>>0>7){break i}f=q[(h<<2)+238864>>2]}q[i+56>>2]=f;q[b+52>>2]=e;q[b+48>>2]=d;c=Bi(a,16049,b+48|0);break c;case 1:if(h){q[b+96>>2]=Mi(d,e);c=Bi(a,15434,b+96|0);break c}q[b+84>>2]=Mi(d,e);q[b+80>>2]=i+1;c=Bi(a,15514,b+80|0);break c;case 0:if(!h){q[b+112>>2]=Mi(d,e);c=Bi(a,15549,b+112|0);break c}f=Mi(i,f);q[b+132>>2]=Mi(d,e);q[b+128>>2]=f;c=Bi(a,15632,b+128|0);break c;case 7:f=Mi(q[b+448>>2],q[b+452>>2]);q[b+148>>2]=dj(a,1,0);q[b+144>>2]=f;c=Bi(a,16088,b+144|0);break c;case 4:c=Bi(a,16138,0);break c;case 3:q[b+160>>2]=Mi(d,e);c=Bi(a,16185,b+160|0);break c;case 12:break c;default:break g}}q[b+16>>2]=c;c=Bi(a,16233,b+16|0)}Yi(l);ti=b+512|0;return c|0}function MK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=ti-256|0;ti=e;h=q[a+44>>2];f=Ys(e+184|0);a:{b:{c:{i=q[h- -64>>2];if(!i){break c}a=0;while(1){g=q[h+60>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]){q[e+96>>2]=d;q[e+100>>2]=q[59708];Ai(4,14901,18636,e+96|0);break b}Hi(c,d);k=v[f+8>>3];d=q[c+8>>2];q[d+8>>2]=3;v[d>>3]=k;q[c+8>>2]=q[c+8>>2]+16;$i(c,-3);a=a+1|0;if((i|0)==(a|0)){break c}if(t[h+64>>2]>a>>>0){continue}break}J(19392,19404,53,19438);G()}d:{i=q[h+72>>2];if(!i){break d}a=0;while(1){g=q[h+68>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=1){q[e+80>>2]=d;q[e+84>>2]=q[59709];Ai(4,14901,18636,e+80|0);break b}Hi(c,d);Zj(c,q[f+8>>2],q[f+12>>2]);$i(c,-3);a=a+1|0;if((i|0)==(a|0)){break d}if(t[h+72>>2]>a>>>0){continue}break}J(19392,19404,61,19438);G()}e:{i=q[h+80>>2];if(i){g=f+8|0;a=0;while(1){Ys(e+112|0);Gi(e+184|0,e+112|0,72);if(t[h+80>>2]<=a>>>0){break e}j=q[h+76>>2]+(a<<5)|0;d=j;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[j>>2];if(q[f>>2]!=2){q[e+64>>2]=d;q[e+68>>2]=q[59710];Ai(4,14901,18636,e- -64|0);break b}Hi(c,d);Ul(c,g);$i(c,-3);a=a+1|0;if((i|0)!=(a|0)){continue}break}}f:{i=q[h+88>>2];if(!i){break f}a=0;while(1){g=q[h+84>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=3){q[e+48>>2]=d;q[e+52>>2]=q[59711];Ai(4,14901,18636,e+48|0);break b}Hi(c,d);d=q[f+12>>2];g=q[f+8>>2];u[e+120>>2]=u[f+16>>2];q[e+112>>2]=g;q[e+116>>2]=d;jl(c,e+112|0);$i(c,-3);a=a+1|0;if((i|0)==(a|0)){break f}if(t[h+88>>2]>a>>>0){continue}break}J(19392,19404,77,19438);G()}g:{i=q[h+96>>2];if(!i){break g}a=0;while(1){g=q[h+92>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=4){q[e+32>>2]=d;q[e+36>>2]=q[59712];Ai(4,14901,18636,e+32|0);break b}Hi(c,d);d=q[f+8>>2];g=q[f+12>>2];j=q[f+20>>2];q[e+120>>2]=q[f+16>>2];q[e+124>>2]=j;q[e+112>>2]=d;q[e+116>>2]=g;Un(c,e+112|0);$i(c,-3);a=a+1|0;if((i|0)==(a|0)){break g}if(t[h+96>>2]>a>>>0){continue}break}J(19392,19404,85,19438);G()}h:{i=q[h+104>>2];if(!i){break h}a=0;while(1){g=q[h+100>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=5){q[e+16>>2]=d;q[e+20>>2]=q[59713];Ai(4,14901,18636,e+16|0);break b}Hi(c,d);d=q[f+8>>2];g=q[f+12>>2];j=q[f+20>>2];q[e+120>>2]=q[f+16>>2];q[e+124>>2]=j;q[e+112>>2]=d;q[e+116>>2]=g;Mq(c,e+112|0);$i(c,-3);a=a+1|0;if((i|0)==(a|0)){break h}if(t[h+104>>2]>a>>>0){continue}break}J(19392,19404,93,19438);G()}i=q[h+112>>2];if(!i){d=0;break a}a=0;while(1){g=q[h+108>>2]+(a<<5)|0;d=g;d=Xp(b,q[d+8>>2],q[d+12>>2],f);if(d){break a}d=q[g>>2];if(q[f>>2]!=6){q[e>>2]=d;q[e+4>>2]=q[59714];Ai(4,14901,18636,e);break b}Hi(c,d);d=r[f+8|0];g=q[c+8>>2];q[g+8>>2]=1;q[g>>2]=(d|0)!=0;q[c+8>>2]=q[c+8>>2]+16;$i(c,-3);a=a+1|0;if((i|0)==(a|0)){d=0;break a}if(t[h+112>>2]>a>>>0){continue}break}J(19392,19404,101,19438);G()}J(19392,19404,69,19438);G()}d=-4}ti=e+256|0;return d}function d6(a,b,c){var d=0,e=0,f=0,g=x(0),h=0,i=x(0),j=0,k=x(0),l=x(0),m=0,n=x(0),o=x(0),p=x(0),r=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=0,C=x(0),D=x(0),E=x(0),F=0,H=0,I=0;d=ti-192|0;ti=d;e=q[a+2384>>2];j=q[b+52>>2];h=q[b+48>>2];m=j-h|0;f=(m|0)/40|0;a:{if(!m){break a}if((h|0)!=(j|0)){H=f>>>0>1?f:1;m=a+2320|0;j=c+16|0;I=c+80|0;B=a+2192|0;F=a+2256|0;f=d+128|4;a=0;while(1){h=q[w(a,40)+h>>2];c=q[h+20>>2];b:{c:{switch(q[h+16>>2]){case 0:q[d+128>>2]=s[h+24>>1];xi[q[77475]](e,q[h>>2],q[d+128>>2],c);break b;case 9:q[d+128>>2]=s[h+24>>1];xi[q[77476]](e,q[h>>2],q[d+128>>2]>>>2|0,c);break b;case 1:if((xi[q[77468]](e)|0)==5){q[d+128>>2]=1065353216;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Kk(d- -64|0,d+128|0,m);xi[q[77476]](e,d- -64|0,1,c);break b}xi[q[77476]](e,m,1,c);break b;case 2:xi[q[77476]](e,j,1,c);break b;case 3:xi[q[77476]](e,I,1,c);break b;case 4:xi[q[77476]](e,B,1,c);break b;case 5:if((xi[q[77468]](e)|0)==5){q[d+128>>2]=1065353216;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Kk(d- -64|0,d+128|0,F);xi[q[77476]](e,d- -64|0,1,c);break b}xi[q[77476]](e,F,1,c);break b;case 6:Kk(d+128|0,B,j);q[d+188>>2]=1065353216;C=u[d+180>>2];D=u[d+184>>2];q[d+180>>2]=0;q[d+184>>2]=0;E=u[d+176>>2];q[d+176>>2]=0;i=u[d+128>>2];t=u[d+148>>2];n=u[d+132>>2];v=u[d+144>>2];g=x(x(i*t)-x(n*v));y=g;o=u[d+168>>2];k=u[d+160>>2];z=u[d+152>>2];A=u[d+136>>2];l=x(x(n*z)-x(A*t));p=u[d+164>>2];r=x(x(A*v)-x(i*z));g=x(x(1)/x(x(g*o)+x(x(k*l)+x(p*r))));y=x(y*g);u[d+168>>2]=y;r=x(r*g);u[d+164>>2]=r;l=x(l*g);u[d+160>>2]=l;u[d+172>>2]=-x(x(E*l)+x(x(C*r)+x(D*y)));l=x(x(x(n*k)-x(i*p))*g);u[d+152>>2]=l;i=x(x(x(i*o)-x(A*k))*g);u[d+148>>2]=i;n=x(x(x(A*p)-x(n*o))*g);u[d+144>>2]=n;u[d+156>>2]=-x(x(E*n)+x(x(C*i)+x(D*l)));i=x(x(x(v*p)-x(t*k))*g);u[d+136>>2]=i;k=x(x(x(z*k)-x(v*o))*g);u[d+132>>2]=k;g=x(x(x(t*o)-x(z*p))*g);u[d+128>>2]=g;u[d+140>>2]=-x(x(E*g)+x(x(C*k)+x(D*i)));xi[q[77476]](e,d+128|0,1,c);break b;case 7:Kk(d+128|0,B,j);xi[q[77476]](e,d+128|0,1,c);break b;case 8:break c;default:break b}}if((xi[q[77468]](e)|0)==5){q[d+128>>2]=1065353216;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;q[d+148>>2]=1065353216;q[d+160>>2]=0;q[d+164>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+180>>2]=0;q[d+172>>2]=0;q[d+176>>2]=0;q[d+168>>2]=1056964608;q[d+184>>2]=1056964608;q[d+188>>2]=1065353216;Kk(d,d+128|0,m);Kk(d- -64|0,d,j);xi[q[77476]](e,d- -64|0,1,c);break b}Kk(d+128|0,m,j);xi[q[77476]](e,d+128|0,1,c)}a=a+1|0;if((H|0)==(a|0)){break a}h=q[b+48>>2];if((q[b+52>>2]-h|0)/40>>>0>a>>>0){continue}break}}J(109402,109229,486,109413);G()}ti=d+192|0}function W2(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0,o=0;c=ti-288|0;ti=c;d=ul(a,2);a:{if((d|0)==q[212904]){break a}b=1;if((d|0)==q[212905]){break a}b=2;if((d|0)==q[212906]){break a}b=3;if((d|0)==q[212907]){break a}b=(d|0)==q[212908]?4:5}d=ul(a,3);b:{if((d|0)==q[212904]){break b}n=1;if((d|0)==q[212905]){break b}n=2;if((d|0)==q[212906]){break b}n=3;if((d|0)==q[212907]){break b}n=(d|0)==q[212908]?4:5}i=x(Ri(a,1));c:{d:{if(!((b|0)==5|(b|0)!=(n|0))){e:{switch(b|0){case 0:b=Li(a,2,q[212904],0);f=u[b>>2];g=u[b+4>>2];f:{if(!(f!=f|g!=g)){e=u[b+8>>2];if(e==e){break f}}e=u[b+8>>2];v[c+80>>3]=g;v[c+88>>3]=e;v[c+72>>3]=f;q[c+64>>2]=2;Bi(a,128819,c- -64|0)}d=Li(a,3,q[212904],0);f=u[d>>2];g=u[d+4>>2];g:{if(!(f!=f|g!=g)){e=u[d+8>>2];if(e==e){break g}}e=u[d+8>>2];v[c+48>>3]=g;v[c+56>>3]=e;v[c+40>>3]=f;q[c+32>>2]=3;Bi(a,128819,c+32|0);e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}h=u[b+8>>2];j=u[b>>2];k=u[b+4>>2];b=jj(a,16);u[b+8>>2]=h+x(x(e-h)*i);u[b+4>>2]=k+x(x(g-k)*i);u[b>>2]=j+x(x(f-j)*i);Ki(a,-1e4,128688);ij(a,-2);a=1;break c;case 1:b=Li(a,2,q[212905],0);f=u[b>>2];g=u[b+4>>2];h:{i:{if(f!=f|g!=g){break i}e=u[b+8>>2];if(e!=e){break i}e=u[b+12>>2];if(e==e){break h}}e=u[b+8>>2];h=u[b+12>>2];v[c+160>>3]=g;v[c+176>>3]=h;v[c+168>>3]=e;v[c+152>>3]=f;q[c+144>>2]=2;Bi(a,128909,c+144|0)}d=Li(a,3,q[212905],0);f=u[d>>2];g=u[d+4>>2];j:{k:{if(f!=f|g!=g){break k}e=u[d+8>>2];if(e!=e){break k}h=u[d+12>>2];if(h==h){break j}}e=u[d+8>>2];h=u[d+12>>2];v[c+112>>3]=g;v[c+128>>3]=h;v[c+120>>3]=e;v[c+104>>3]=f;q[c+96>>2]=3;Bi(a,128909,c+96|0);h=u[d+12>>2];e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}j=u[b+12>>2];k=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];b=jj(a,16);u[b+12>>2]=j+x(x(h-j)*i);u[b+8>>2]=m+x(x(e-m)*i);u[b+4>>2]=l+x(x(g-l)*i);u[b>>2]=k+x(x(f-k)*i);Ki(a,-1e4,128704);ij(a,-2);a=1;break c;case 2:break e;default:break d}}b=Li(a,2,q[212906],0);f=u[b>>2];g=u[b+4>>2];l:{m:{if(f!=f|g!=g){break m}e=u[b+8>>2];if(e!=e){break m}e=u[b+12>>2];if(e==e){break l}}e=u[b+8>>2];h=u[b+12>>2];v[c+256>>3]=g;v[c+272>>3]=h;v[c+264>>3]=e;v[c+248>>3]=f;q[c+240>>2]=2;Bi(a,129003,c+240|0)}d=Li(a,3,q[212906],0);f=u[d>>2];g=u[d+4>>2];n:{o:{if(f!=f|g!=g){break o}e=u[d+8>>2];if(e!=e){break o}h=u[d+12>>2];if(h==h){break n}}e=u[d+8>>2];h=u[d+12>>2];v[c+208>>3]=g;v[c+224>>3]=h;v[c+216>>3]=e;v[c+200>>3]=f;q[c+192>>2]=3;Bi(a,129003,c+192|0);h=u[d+12>>2];e=u[d+8>>2];g=u[d+4>>2];f=u[d>>2]}j=u[b+12>>2];k=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];b=jj(a,16);u[b+12>>2]=j+x(x(h-j)*i);u[b+8>>2]=m+x(x(e-m)*i);u[b+4>>2]=l+x(x(g-l)*i);u[b>>2]=k+x(x(f-k)*i);Ki(a,-1e4,128720);ij(a,-2);a=1;break c}if(!Bj(a,2)){break d}if(!Bj(a,3)){break d}o=+x(Ri(a,2));o=(+x(Ri(a,3))-o)*+i+o;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=o;q[a+8>>2]=q[a+8>>2]+16;a=1;break c}q[c+28>>2]=128720;q[c+24>>2]=128752;q[c+20>>2]=128704;q[c+16>>2]=128752;q[c+12>>2]=128688;q[c+8>>2]=128752;q[c+4>>2]=130309;q[c>>2]=128752;a=Bi(a,130693,c)}ti=c+288|0;return a|0}function Hma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=ti-176|0;ti=e;g=q[a+8>>2];b=q[q[a+12>>2]>>2];f=q[a+16>>2];d=f;c=q[d+64>>2];d=q[d+68>>2];h=q[74956];i=q[74957];a:{if(!((h|0)!=(c|0)|(i|0)!=(d|0)?(c|0)!=q[74954]|(d|0)!=q[74955]:0)){if(!q[b+36>>2]){if(q[b+60>>2]){q[e+32>>2]=q[q[q[b+32>>2]>>2]>>2];Ai(3,31471,31587,e+32|0);c=0;break a}q[b+56>>2]=q[b+56>>2]&-524289;c=q[a+16>>2];d=q[c+4>>2];q[b+64>>2]=q[c>>2];q[b+68>>2]=d;d=q[c+28>>2];q[b+88>>2]=q[c+24>>2];q[b+92>>2]=d;d=q[c+20>>2];q[b+80>>2]=q[c+16>>2];q[b+84>>2]=d;d=q[c+12>>2];q[b+72>>2]=q[c+8>>2];q[b+76>>2]=d;c=q[a+16>>2];d=q[c+36>>2];q[b+96>>2]=q[c+32>>2];q[b+100>>2]=d;d=q[c+60>>2];q[b+120>>2]=q[c+56>>2];q[b+124>>2]=d;d=q[c+52>>2];q[b+112>>2]=q[c+48>>2];q[b+116>>2]=d;d=q[c+44>>2];q[b+104>>2]=q[c+40>>2];q[b+108>>2]=d;c=q[g>>2];d=q[q[q[b+32>>2]>>2]>>2];a=q[a+16>>2];if(q[a+64>>2]==(h|0)&q[a+68>>2]==(i|0)){q[b+60>>2]=cG(c,d);c=0;break a}if(Nj(c,d,b+36|0)){q[e+16>>2]=q[q[q[b+32>>2]>>2]>>2];Ai(4,31471,32260,e+16|0);c=-1e3;break a}c=0;a=b- -64|0;if(!wo(q[a>>2],q[a+4>>2])){break a}a=fk(b+96|0,a,zi(31458),wi,0,0,0,0);if(!a){break a}q[e>>2]=a;Ai(3,31471,31479,e);break a}q[e+48>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(f,31630,e+48|0);c=0;break a}if((c|0)==q[74958]&(d|0)==q[74959]){c=q[b+60>>2];if(c){An(c);q[b+60>>2]=0}c=q[b+36>>2];if(c){Pi(q[g>>2],c);c=0;q[b+36>>2]=0;q[b+56>>2]=q[b+56>>2]&-983041|524288;a=q[a+16>>2];d=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=d;d=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=d;d=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=d;d=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=d;break a}a=q[a+16>>2];q[e+64>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(a,31690,e- -64|0);c=0;break a}if((c|0)==q[74960]&(d|0)==q[74961]){a=q[b+36>>2];if(a){if(!(o[b+58|0]&1)){Zs(a);q[b+56>>2]=q[b+56>>2]|65536;c=0;break a}q[e+96>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(f,31757,e+96|0);c=0;break a}q[e+80>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(f,31827,e+80|0);c=0;break a}if((zi(31900)|0)==(c|0)&(d|0)==(wi|0)){b:{if(!(o[b+58|0]&1)){break b}c=q[b+36>>2];if(!c){break b}bt(c);q[b+56>>2]=q[b+56>>2]&-65537;c=0;break a}a=q[a+16>>2];q[e+112>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(a,31906,e+112|0);c=0;break a}a=q[a+16>>2];d=q[a+64>>2];g=q[60261];f=q[a+68>>2];if((d|0)==q[g+8>>2]&(f|0)==q[g+12>>2]){f=q[b+36>>2];if(f){d=q[b+56>>2];if(!(d&393216)){q[b+56>>2]=d|262144;c=0;if(d&65536){break a}Zs(f);q[b+56>>2]=q[b+56>>2]|65536;break a}q[e+144>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(a,31979,e+144|0);c=0;break a}q[e+128>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(a,31827,e+128|0);c=0;break a}c=q[60262];if((d|0)==q[c+8>>2]&(f|0)==q[c+12>>2]){c=q[b+56>>2];if((c&393216)==393216){q[b+56>>2]=c&-262145;c=0;break a}q[e+160>>2]=q[q[q[b+32>>2]>>2]>>2];Tm(a,32039,e+160|0);c=0;break a}if(q[a+80>>2]==q[61624]){u[b+48>>2]=u[a+96>>2];q[b+44>>2]=q[a+100>>2];c=0;break a}c=0;if((zi(32104)|0)!=(d|0)|(f|0)!=(wi|0)){break a}q[b+44>>2]=0;q[b+48>>2]=1065353216}ti=e+176|0;return c|0}function bK(a,b){var c=0,d=0,e=0,f=x(0),g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=0,n=0,p=x(0),r=x(0),s=x(0),v=x(0),y=x(0),z=x(0),A=0,B=0,C=0,D=0,E=0,F=x(0),H=x(0),I=x(0),K=0,L=0,M=0,N=x(0),O=0,P=x(0);d=ti-48|0;ti=d;c=1;a:{b:{c:{d:{if(q[q[q[b+128>>2]+8>>2]+20>>2]){m=b+220|0;K=q[b>>2];B=q[q[K+80>>2]+8>>2];n=b+224|0;c=q[b+220>>2];L=q[n>>2]-c>>2;A=b+228|0;h=q[A>>2]-c>>2;C=q[q[q[q[b+128>>2]+8>>2]+20>>2]>>2];g=q[C+4>>2];if(h>>>0>>0){if(o[b+232|0]&1){break c}Ii((g-L|0)+h|0,4,m,A,n);c=q[m>>2];h=q[A>>2]-c>>2}if(h>>>0>>0){break b}q[n>>2]=(g<<2)+c;M=a+80|0;e:{f:{D=a+88|0;c=q[a+80>>2];if(q[D>>2]-c>>2>>>0>>0){if(o[a+92|0]&1){break c}h=a+84|0;Ii(g,4,M,D,h);q[a+84>>2]=q[a+80>>2];break f}h=a+84|0;q[h>>2]=c;if(g){break f}break e}e=1;a=0;g:{h:{while(1){i:{j:{if(a>>>0>>0){c=q[m>>2];if(q[n>>2]-c>>2>>>0<=a>>>0){break i}c=q[c+(a<<2)>>2];break j}c=Hoa(B);if(!c){b=q[m>>2];if(q[A>>2]-b>>2>>>0>>0){break b}q[n>>2]=b+(a<<2);break e}i=IA(B);if((i|0)==-1){Qv(B,c,0);b=q[m>>2];if(q[A>>2]-b>>2>>>0>>0){break b}q[n>>2]=b+(a<<2);break e}E=FA(i);O=wi;if(c){q[c+88>>2]=i}if(xna(B,c,E,O)){Qv(B,c,0);b=q[m>>2];if(q[A>>2]-b>>2>>>0>>0){break b}q[n>>2]=b+(a<<2);break e}e=q[c+140>>2];q[c+136>>2]=q[c+136>>2]&-1025|1024;q[c+140>>2]=e;e=q[m>>2];if(q[n>>2]-e>>2>>>0<=a>>>0){break a}q[e+(a<<2)>>2]=c}k:{if(a){j=x(1);k=x(0);r=x(0);s=x(0);N=x(0);F=x(1);H=x(1);I=x(1);l=x(0);f=x(0);break k}f=u[b+24>>2];F=u[b+48>>2];j=x(F*x(0));k=u[b+28>>2];H=u[b+52>>2];r=x(H*x(0));l=u[b+16>>2];I=u[b+56>>2];s=x(I*x(0));v=x(x(x(f*j)+x(k*r))-x(l*s));p=u[b+20>>2];y=x(x(f*s)+x(x(l*j)+x(p*r)));z=x(x(x(l*r)+x(k*s))-x(p*j));j=x(x(x(k*j)+x(p*s))-x(f*r));N=x(u[b+40>>2]+x(x(l*v)+x(x(x(f*y)+x(k*z))-x(p*j))));s=x(u[b+36>>2]+x(x(f*j)+x(x(x(k*v)+x(p*y))-x(l*z))));r=x(u[b+32>>2]+x(x(p*z)+x(x(x(l*y)+x(k*j))-x(f*v))));v=x(l*x(0));y=x(p*x(0));z=x(f*x(0));j=x(x(x(k-v)-y)-z);P=f;f=x(k*x(0));k=x(x(v+x(P+f))-y);l=x(x(y+x(l+f))-z);f=x(x(z+x(p+f))-v)}u[d+40>>2]=N;u[d+36>>2]=s;u[d+32>>2]=r;e=q[d+32>>2];i=q[d+36>>2];u[c+24>>2]=u[d+40>>2];q[c+16>>2]=e;q[c+20>>2]=i;u[d+28>>2]=j;u[d+24>>2]=k;u[d+20>>2]=f;u[d+16>>2]=l;e=q[d+16>>2];i=q[d+20>>2];E=q[d+28>>2];q[c+8>>2]=q[d+24>>2];q[c+12>>2]=E;q[c>>2]=e;q[c+4>>2]=i;u[d+8>>2]=I;u[d+4>>2]=H;u[d>>2]=F;e=q[d>>2];i=q[d+4>>2];u[c+40>>2]=u[d+8>>2];q[c+32>>2]=e;q[c+36>>2]=i;e=q[h>>2];if((e|0)==q[D>>2]){break h}q[h>>2]=e+4;q[e>>2]=c;a=a+1|0;e=g>>>0>a>>>0;if((a|0)!=(g|0)){continue}break g}break}break a}J(46447,46296,533,46471);G()}if(!g){break e}c=0;while(1){b=q[M>>2];m=q[h>>2]-b>>2;a=(c^-1)+g|0;if(m>>>0<=a>>>0){break a}i=q[b+(a<<2)>>2];if(a){if(a>>>0>=t[C+4>>2]){break d}a=q[q[C>>2]+w(a,192)>>2];if(a>>>0>=m>>>0){break a}a=q[b+(a<<2)>>2]}else{a=K}Cv(i,a);c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=e^1}ti=d+48|0;return c&1}J(46476,46488,68,46535);G()}J(46360,46296,493,46435);G()}J(46277,46296,506,46352);G()}J(46656,46296,479,46535);G()}function xw(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,r=0,s=0,t=0,u=0,v=0,w=0;a:{if(!f){break a}while(1){b:{c:{if(!((f|0)<=(h|0)|(e|0)<=(h|0))){if(!e){break a}i=q[d>>2];t=q[b>>2];j=i+(t<<3)|0;l=q[j>>2];j=q[j+4>>2];while(1){k=q[a>>2];m=i+(k<<3)|0;n=q[m>>2];m=q[m+4>>2];if((m|0)==(j|0)&l>>>0>>0|j>>>0>>0){break c}a=a+4|0;e=e-1|0;if(e){continue}break}break a}if((e|0)>(f|0)){break b}if((a|0)==(b|0)){break a}i=g;j=a;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(b|0)){continue}break}if((g|0)==(i|0)){break a}d=q[d>>2];while(1){if((b|0)==(c|0)){b=i-g|0;if(!b){break a}Sk(a,g,b);return}e=q[b>>2];f=d+(e<<3)|0;h=q[f>>2];j=q[g>>2];l=d+(j<<3)|0;k=q[l>>2];f=q[f+4>>2];l=q[l+4>>2];d:{if((f|0)==(l|0)&h>>>0>>0|f>>>0>>0){q[a>>2]=e;b=b+4|0;break d}q[a>>2]=j;g=g+4|0}a=a+4|0;if((g|0)!=(i|0)){continue}break}break a}e:{if((e|0)<(f|0)){n=(f|0)/2|0;l=(n<<2)+b|0;j=b-a|0;f:{if(!j){k=a;break f}j=j>>2;k=i+(q[l>>2]<<3)|0;r=q[k>>2];m=q[k+4>>2];k=a;while(1){p=j>>>1|0;o=(p<<2)+k|0;s=i+(q[o>>2]<<3)|0;u=q[s>>2];v=k;w=o+4|0;k=q[s+4>>2];o=(k|0)==(m|0)&r>>>0>>0|k>>>0>m>>>0;k=o?v:w;j=o?p:(p^-1)+j|0;if(j){continue}break}}p=k-a>>2;break e}if((e|0)==1){q[a>>2]=t;q[b>>2]=k;return}p=(e|0)/2|0;k=(p<<2)+a|0;j=c-b|0;g:{if(!j){l=b;break g}j=j>>2;l=i+(q[k>>2]<<3)|0;r=q[l>>2];m=q[l+4>>2];l=b;while(1){n=j>>>1|0;o=(n<<2)+l|0;s=i+(q[o>>2]<<3)|0;u=q[s>>2];w=o+4|0;v=l;l=q[s+4>>2];o=(m|0)==(l|0)&r>>>0>u>>>0|l>>>0>>0;l=o?w:v;j=o?(n^-1)+j|0:n;if(j){continue}break}}n=l-b>>2}f=f-n|0;e=e-p|0;i=l;h:{if((b|0)==(k|0)){break h}i=k;if((b|0)==(l|0)){break h}m=k+4|0;if((m|0)==(b|0)){j=q[k>>2];i=l-b|0;if(i){Sk(k,b,i)}i=i+k|0;q[i>>2]=j;break h}if((b+4|0)==(l|0)){b=l-4|0;j=q[b>>2];i=l;b=b-k|0;if(b){i=l-b|0;Sk(i,k,b)}q[k>>2]=j;break h}o=l-b>>2;i=o;r=b-k>>2;j=r;if((i|0)==(j|0)){i=q[k>>2];q[k>>2]=t;q[b>>2]=i;i=b;if((b|0)==(m|0)){break h}while(1){j=q[m>>2];q[m>>2]=q[i+4>>2];q[i+4>>2]=j;i=i+4|0;m=m+4|0;if((m|0)!=(b|0)){continue}break}i=b;break h}while(1){b=j;j=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(j){b=(j<<2)+k|0;while(1){b=b-4|0;t=r<<2;m=b+t|0;s=q[b>>2];j=b;while(1){i=m;q[j>>2]=q[i>>2];j=i;m=l-i>>2;m=(m|0)>(r|0)?i+t|0:(r-m<<2)+k|0;if((m|0)!=(b|0)){continue}break}q[i>>2]=s;if((b|0)!=(k|0)){continue}break}}i=(o<<2)+k|0}i:{if((n+p|0)<(e+f|0)){xw(a,k,i,d,p,n,g,h);a=i;b=l;break i}xw(i,l,c,d,e,f,g,h);f=n;e=p;c=i;b=k}if(f){continue}break a}break}if((b|0)==(c|0)){break a}j=b;i=g;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(c|0)){continue}break}if((g|0)==(i|0)){break a}f=q[d>>2];while(1){if((a|0)==(b|0)){if((g|0)==(i|0)){break a}while(1){c=c-4|0;i=i-4|0;q[c>>2]=q[i>>2];if((g|0)!=(i|0)){continue}break}break a}d=i-4|0;e=q[d>>2];h=f+(e<<3)|0;l=q[h>>2];j=b-4|0;m=q[j>>2];k=f+(m<<3)|0;n=q[k>>2];h=q[h+4>>2];k=q[k+4>>2];if((h|0)==(k|0)&l>>>0>=n>>>0|h>>>0>k>>>0){m=e;j=b;i=d}c=c-4|0;q[c>>2]=m;b=j;if((g|0)!=(i|0)){continue}break}}}function tM(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;e=ti-16|0;ti=e;a:{if(q[a+104>>2]==8){b=q[a+120>>2];o[c+3|0]=b<<5|r[a+119|0]<<1|b<<2;d=q[a+140>>2];b=c;b:{if(r[a+119|0]){o[c|0]=d<<3;o[c+1|0]=r[a+144|0]<<3;d=r[a+148|0]<<3;break b}o[c|0]=d|d<<4;d=q[a+144>>2];o[c+1|0]=d<<4|d;d=q[a+148>>2];d=d<<4|d}o[b+2|0]=d;a=q[(q[a+136>>2]<<2)+98672>>2];o[c+4|0]=a;o[c+5|0]=a>>>8;o[c+6|0]=a>>>16;o[c+7|0]=a>>>24;break a}d=r[a+118|0];p=r[a+119|0];o[c+3|0]=d|p<<1|q[a+120>>2]<<5|q[a+124>>2]<<2;g=e+8|4;n=d<<5;d=n+98688|0;f=((r[d+3|0]<<4)+b|0)+(r[d+2|0]<<2)|0;s=r[f|0];h=((r[d+1|0]<<4)+b|0)+(r[d|0]<<2)|0;t=r[h|0];i=((r[d+5|0]<<4)+b|0)+(r[d+4|0]<<2)|0;u=r[i|0];j=((r[d+7|0]<<4)+b|0)+(r[d+6|0]<<2)|0;v=r[j|0];k=((r[d+9|0]<<4)+b|0)+(r[d+8|0]<<2)|0;x=r[k|0];l=((r[d+11|0]<<4)+b|0)+(r[d+10|0]<<2)|0;y=r[l|0];m=((r[d+13|0]<<4)+b|0)+(r[d+12|0]<<2)|0;z=r[m|0];d=((r[d+15|0]<<4)+b|0)+(r[d+14|0]<<2)|0;A=r[d|0];B=r[d+2|0];C=r[m+2|0];D=r[l+2|0];E=r[k+2|0];F=r[j+2|0];G=r[i+2|0];H=r[f+2|0];I=r[h+2|0];J=r[d+1|0];m=r[m+1|0];l=r[l+1|0];k=r[k+1|0];j=r[j+1|0];i=r[i+1|0];K=r[f+1|0];h=r[h+1|0];d=e+8|0;f=p?31:15;o[Kj(d,0)|0]=((w(f,A+(z+(y+(x+(v+(u+(s+t|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Kj(d,1)|0]=((w(f,(m+(l+(k+(j+(i+(h+K|0)|0)|0)|0)|0)|0)+J|0)+1020&65535)>>>0)/2040;o[Kj(d,2)|0]=((w(f,B+(C+(D+(E+(F+(G+(H+I|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Kj(d,3)|0]=0;if(!(7424>>>q[a+104>>2]&1)){GM(e,d,q[a+128>>2],f,0);q[e+8>>2]=q[e>>2]}d=n+98688|0;h=((r[d+19|0]<<4)+b|0)+(r[d+18|0]<<2)|0;s=r[h|0];i=((r[d+17|0]<<4)+b|0)+(r[d+16|0]<<2)|0;t=r[i|0];j=((r[d+21|0]<<4)+b|0)+(r[d+20|0]<<2)|0;u=r[j|0];k=((r[d+23|0]<<4)+b|0)+(r[d+22|0]<<2)|0;v=r[k|0];l=((r[d+25|0]<<4)+b|0)+(r[d+24|0]<<2)|0;x=r[l|0];m=((r[d+27|0]<<4)+b|0)+(r[d+26|0]<<2)|0;y=r[m|0];n=((r[d+29|0]<<4)+b|0)+(r[d+28|0]<<2)|0;z=r[n|0];d=((r[d+31|0]<<4)+b|0)+(r[d+30|0]<<2)|0;A=r[d|0];B=r[d+2|0];C=r[n+2|0];D=r[m+2|0];E=r[l+2|0];F=r[k+2|0];G=r[j+2|0];H=r[h+2|0];I=r[i+2|0];d=r[d+1|0];n=r[n+1|0];m=r[m+1|0];l=r[l+1|0];k=r[k+1|0];j=r[j+1|0];h=r[h+1|0];i=r[i+1|0];o[Kj(g,0)|0]=((w(f,A+(z+(y+(x+(v+(u+(s+t|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Kj(g,1)|0]=((w(f,d+(n+(m+(l+(k+(j+(h+i|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Kj(g,2)|0]=((w(f,B+(C+(D+(E+(F+(G+(H+I|0)|0)|0)|0)|0)|0)|0)+1020&65535)>>>0)/2040;o[Kj(g,3)|0]=0;if(!(7424>>>q[a+104>>2]&1)){GM(e,g,q[a+128>>2],f,1);q[e+12>>2]=q[e>>2]}g=r[e+12|0];d=c;c:{if(!p){o[c|0]=g|r[e+8|0]<<4;f=r[e+14|0]|r[e+10|0]<<4;a=r[e+13|0]|r[e+9|0]<<4;break c}a=r[e+13|0]-r[e+9|0]|0;a=(a|0)<-4?-4:(a|0)>3?3:a;f=r[e+14|0]-r[e+10|0]|0;f=(f|0)<-4?-4:(f|0)>3?3:f;g=g-r[e+8|0]|0;g=(g|0)<-4?-4:(g|0)>3?3:g;o[c|0]=r[e+8|0]<<3|((g|0)<0?g+8|0:g);f=r[e+10|0]<<3|((f|0)<0?f+8|0:f);a=r[e+9|0]<<3|((a|0)<0?a+8|0:a)}o[d+2|0]=f;o[c+1|0]=a;Vta(c,b)}ti=e+16|0}function vA(a,b,c,d,e,f,g,h,i,j,k,l,m,n,t,v){var y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0;A=ti-48|0;ti=A;B=q[a+4>>2];K=q[a>>2];H=B-K|0;C=(H|0)/104|0;a:{b:{c:{d:{e:{f:{g:{h:{if((H|0)==676e4){q[A>>2]=65e3;Ai(4,6024,6035,A);b=0;break h}z=q[a+32>>2];if(!z){break g}y=s[a+38>>1];if(y>>>0>=s[a+36>>1]){break f}I=a+4|0;p[a+38>>1]=y+1;z=s[z+(y<<1)>>1];p[A+46>>1]=z;D=a+44|0;i:{j:{y=q[a+48>>2];k:{if(!y){break k}y=q[q[D>>2]+((b>>>0)%(y>>>0)<<2)>>2];if((y|0)==-1){break k}E=q[a+52>>2];while(1){F=E+w(y,12)|0;if(q[F>>2]==(b|0)){break j}y=q[F+8>>2];if((y|0)!=-1){continue}break}}y=q[a+68>>2];if((y|0)==((q[a+60>>2]-q[a+52>>2]|0)/12|0)){q[A+16>>2]=y;Ai(4,6024,6096,A+16|0);c=q[a+32>>2];if(!c){break e}b=s[a+38>>1];if(!b|b>>>0>s[a+36>>1]){break d}d=a;a=b-1|0;p[d+38>>1]=a;p[c+((a&65535)<<1)>>1]=z;b=0;break h}$u(D,b,A+46|0);B=q[I>>2];break i}D=q[a+16>>2];F=q[a+20>>2]-D>>1;y=s[(E+w(y,12)|0)+4>>1];if(F>>>0<=y>>>0){break a}y=s[D+(y<<1)>>1];if(C>>>0<=y>>>0){break a}l:{while(1){E=w(y,104)+K|0;y=s[E+94>>1];if((y|0)==65535){break l}if(y>>>0>=F>>>0){break a}y=s[D+(y<<1)>>1];if(C>>>0>y>>>0){continue}break}break a}p[E+94>>1]=z}z=q[a+8>>2];if((B|0)==(z|0)){if(o[a+12|0]&1){break c}y=(B-q[a>>2]|0)/104|0;z=(y>>>1|0)+2048>>>1|0;y=(z>>>0<2048?z:2048)+y|0;Ii(y>>>0<65e3?y:65e3,104,a,a+8|0,I);B=q[a+8>>2]}else{B=z}y=q[a>>2];z=C+1|0;if((B-y|0)/104>>>0>>0){break b}q[I>>2]=y+w(z,104);if((H+104|0)/104>>>0<=C>>>0){break a}y=Fi(y+w(C,104)|0,0,104);B=s[A+46>>1];z=q[a+16>>2];if(B>>>0>=q[a+20>>2]-z>>1>>>0){break a}p[z+(B<<1)>>1]=C;p[y+92>>1]=s[A+46>>1];q[y>>2]=b;q[y+24>>2]=g;q[y+16>>2]=e;q[y+20>>2]=f;q[y+8>>2]=c;q[y+12>>2]=d;b=q[k+4>>2];q[y+28>>2]=q[k>>2];q[y+32>>2]=b;b=q[k+12>>2];q[y+36>>2]=q[k+8>>2];q[y+40>>2]=b;q[y+44>>2]=q[k+16>>2];p[y+94>>1]=65535;q[y+88>>2]=-1;q[y+84>>2]=0;q[y+80>>2]=t;q[y+76>>2]=n;b=l>x(0);u[y+72>>2]=b?x(x(1)/l):x(0);u[y+68>>2]=b?l:x(0);u[y+60>>2]=m>x(0)?m:x(0);u[y+56>>2]=j;u[y+52>>2]=i;q[y+48>>2]=h;b=r[y+96|0]&-6|(v?4:0);z=b|1;o[y+96|0]=z;m:{switch(g-2|0){case 0:case 3:z=b|9;o[y+96|0]=z;break;default:break m}}o[y+96|0]=z|16;b=1;if(!n){break h}c=a+76|0;n:{o:{d=q[a+80>>2];p:{if(!d){break p}z=q[q[c>>2]+((t>>>0)%(d>>>0)<<2)>>2];if((z|0)==-1){break p}d=q[a+84>>2];while(1){e=d+w(z,12)|0;if(q[e>>2]==(t|0)){break o}z=q[e+8>>2];if((z|0)!=-1){continue}break}}d=(q[a+92>>2]-q[a+84>>2]|0)/12|0;a=q[a+100>>2];if((d|0)!=(a|0)){break n}q[A+32>>2]=a;Ai(4,6024,6166,A+32|0);b=0;break h}d=s[(d+w(z,12)|0)+4>>1];e=q[a+16>>2];if(d>>>0>=q[a+20>>2]-e>>1>>>0){break a}d=s[e+(d<<1)>>1];e=q[a+4>>2];a=q[a>>2];if(d>>>0>=(e-a|0)/104>>>0){break a}a=a+w(d,104)|0;p[y+90>>1]=s[a+92>>1];p[a+88>>1]=s[A+46>>1]}$u(c,t,A+46|0)}ti=A+48|0;return b}J(6236,6243,151,6294);G()}J(6298,6243,152,6294);G()}J(6236,6243,140,6761);G()}J(6766,6243,141,6761);G()}J(6549,6485,493,6624);G()}J(6466,6485,506,6541);G()}J(6739,6485,479,6750);G()}function Wv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=a+b|0;a:{b:{c=q[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=q[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=q[243040]){if(c>>>0<=255){e=c>>>3|0;c=q[a+8>>2];d=q[a+12>>2];if((d|0)==(c|0)){q[243035]=q[243035]&Twa(-2,e);break b}q[c+12>>2]=d;q[d+8>>2]=c;break b}h=q[a+24>>2];c=q[a+12>>2];c:{if((c|0)!=(a|0)){d=q[a+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break c}d:{d=a+20|0;e=q[d>>2];if(e){break d}d=a+16|0;e=q[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break b}d=q[a+28>>2];e=(d<<2)+972444|0;e:{if(q[e>>2]==(a|0)){q[e>>2]=c;if(c){break e}q[243036]=q[243036]&Twa(-2,d);break b}q[h+(q[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;d=q[a+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[a+20>>2];if(!d){break b}q[c+20>>2]=d;q[d+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[243037]=b;q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[f>>2]=b;return}c=q[f+4>>2];f:{if(!(c&2)){if(q[243041]==(f|0)){q[243041]=a;b=q[243038]+b|0;q[243038]=b;q[a+4>>2]=b|1;if(q[243040]!=(a|0)){break a}q[243037]=0;q[243040]=0;return}if(q[243040]==(f|0)){q[243040]=a;b=q[243037]+b|0;q[243037]=b;q[a+4>>2]=b|1;q[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=q[f+8>>2];d=q[f+12>>2];if((d|0)==(c|0)){q[243035]=q[243035]&Twa(-2,e);break g}q[c+12>>2]=d;q[d+8>>2]=c;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){d=q[f+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break h}i:{d=f+20|0;e=q[d>>2];if(e){break i}d=f+16|0;e=q[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break g}d=q[f+28>>2];e=(d<<2)+972444|0;j:{if(q[e>>2]==(f|0)){q[e>>2]=c;if(c){break j}q[243036]=q[243036]&Twa(-2,d);break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;d=q[f+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[f+20>>2];if(!d){break g}q[c+20>>2]=d;q[d+24>>2]=c}q[a+4>>2]=b|1;q[a+b>>2]=b;if(q[243040]!=(a|0)){break f}q[243037]=b;return}q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+972180|0;d=q[243035];c=1<>2]}q[b+8>>2]=a;q[c+12>>2]=a;q[a+12>>2]=b;q[a+8>>2]=c;return}d=31;q[a+16>>2]=0;q[a+20>>2]=0;if(b>>>0<=16777215){d=b>>>8|0;c=d+1048320>>>16&8;e=d<>>16&4;g=e<>>16&2;c=(g<>>15|0)-(e|(c|d))|0;d=(c<<1|b>>>c+21&1)+28|0}q[a+28>>2]=d;c=(d<<2)+972444|0;l:{e=q[243036];g=1<>2]=a;q[a+24>>2]=c;break m}d=b<<((d|0)==31?0:25-(d>>>1|0)|0);c=q[c>>2];while(1){e=c;if((q[c+4>>2]&-8)==(b|0)){break l}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=a;q[a+24>>2]=e}q[a+12>>2]=a;q[a+8>>2]=a;return}b=q[e+8>>2];q[b+12>>2]=a;q[e+8>>2]=a;q[a+24>>2]=0;q[a+12>>2]=e;q[a+8>>2]=b}}function Q1(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=0;d=ti-192|0;ti=d;b=ul(a,2);a:{if((b|0)==q[212904]){break a}g=1;if((b|0)==q[212905]){break a}g=2;if((b|0)==q[212906]){break a}g=3;if((b|0)==q[212907]){break a}g=(b|0)==q[212908]?4:5}b=ul(a,3);b:{if((b|0)==q[212904]){break b}r=1;if((b|0)==q[212905]){break b}r=2;if((b|0)==q[212906]){break b}r=3;if((b|0)==q[212907]){break b}r=(b|0)==q[212908]?4:5}c:{d:{if((g|0)!=(r|0)){break d}h=x(Ri(a,1));e:{switch(g|0){case 2:b=aj(a,2);g=aj(a,3);e=u[b>>2];l=u[g>>2];f=u[b+4>>2];m=u[g+4>>2];i=u[b+8>>2];o=u[g+8>>2];j=u[b+12>>2];p=u[g+12>>2];c=x(x(x(x(e*l)+x(f*m))+x(i*o))+x(j*p));if(!(c>2]=x(p*c)+x(j*h);u[b+8>>2]=x(o*c)+x(i*h);u[b+4>>2]=x(m*c)+x(f*h);u[b>>2]=x(l*c)+x(e*h);Ki(a,-1e4,128720);ij(a,-2);a=1;break c;case 1:b=Li(a,2,q[212905],0);c=u[b>>2];f=u[b+4>>2];g:{h:{if(c!=c|f!=f){break h}e=u[b+8>>2];if(e!=e){break h}e=u[b+12>>2];if(e==e){break g}}e=u[b+8>>2];i=u[b+12>>2];v[d+96>>3]=f;v[d+112>>3]=i;v[d+104>>3]=e;v[d+88>>3]=c;q[d+80>>2]=2;Bi(a,128909,d+80|0)}g=Li(a,3,q[212905],0);e=u[g>>2];f=u[g+4>>2];i:{j:{if(e!=e|f!=f){break j}i=u[g+8>>2];if(i!=i){break j}j=u[g+12>>2];if(j==j){break i}}c=u[g+8>>2];i=u[g+12>>2];v[d+48>>3]=f;v[d- -64>>3]=i;v[d+56>>3]=c;v[d+40>>3]=e;q[d+32>>2]=3;Bi(a,128909,d+32|0);j=u[g+12>>2];i=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}l=u[b>>2];m=u[b+4>>2];o=u[b+8>>2];p=u[b+12>>2];c=x(x(x(x(l*e)+x(m*f))+x(o*i))+x(p*j));k:{if(!(c>2]=x(j*c)+x(p*h);u[b+8>>2]=x(i*c)+x(o*h);u[b+4>>2]=x(f*c)+x(m*h);u[b>>2]=x(e*c)+x(l*h);Ki(a,-1e4,128704);ij(a,-2);a=1;break c;case 0:break e;default:break d}}b=Li(a,2,q[212904],0);c=u[b>>2];f=u[b+4>>2];l:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break l}}e=u[b+8>>2];v[d+176>>3]=f;v[d+184>>3]=e;v[d+168>>3]=c;q[d+160>>2]=2;Bi(a,128819,d+160|0)}g=Li(a,3,q[212904],0);c=u[g>>2];i=u[g+4>>2];m:{if(!(c!=c|i!=i)){e=u[g+8>>2];if(e==e){break m}}f=u[g+8>>2];v[d+144>>3]=i;v[d+152>>3]=f;v[d+136>>3]=c;q[d+128>>2]=3;Bi(a,128819,d+128|0);e=u[g+8>>2];i=u[g+4>>2];c=u[g>>2]}n=u[b>>2];l=u[b+4>>2];m=u[b+8>>2];f=x(x(x(n*c)+x(l*i))+x(m*e));n:{if(!(f>2]=x(e*f)+x(m*h);u[b+4>>2]=x(i*f)+x(l*h);u[b>>2]=x(c*f)+x(n*h);Ki(a,-1e4,128688);ij(a,-2);a=1;break c}q[d+20>>2]=128720;q[d+16>>2]=128752;q[d+12>>2]=128688;q[d+8>>2]=128752;q[d+4>>2]=130314;q[d>>2]=128752;a=Bi(a,130785,d)}ti=d+192|0;return a|0}function Toa(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;j=ti-32|0;ti=j;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{f=q[b+44>>2];g=q[f- -64>>2];if(g){h=q[f+60>>2];b=0;while(1){if((b|0)==(g|0)){break k}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){a=0;q[e>>2]=0;b=q[(h+(b<<5)|0)+16>>2];if(b>>>0>=t[f+120>>2]){break a}v[e+8>>3]=u[q[f+116>>2]+(b<<2)>>2];break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}g=q[f+72>>2];if(g){h=q[f+68>>2];b=0;while(1){if((b|0)==(g|0)){break j}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=1;a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+128>>2]){break i}a=q[f+124>>2]+(a<<3)|0;b=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=b;a=0;break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}g=q[f+80>>2];if(g){h=q[f+76>>2];b=0;while(1){if((b|0)==(g|0)){break h}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=2;c=j;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a+40>>2];xi[q[a+44>>2]](d,c);a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+136>>2]){break g}a=wy(d,q[q[f+132>>2]+(a<<2)>>2],e+8|0,j)?-2:0;break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}a=q[f+88>>2];if(a){g=q[f+84>>2];b=0;while(1){if((a|0)==(b|0)){break f}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=3;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+120>>2]){break a}a=q[f+116>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+96>>2];if(a){g=q[f+92>>2];b=0;while(1){if((a|0)==(b|0)){break e}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=4;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+120>>2]){break a}a=q[f+116>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];u[e+20>>2]=u[a+12>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+104>>2];if(a){g=q[f+100>>2];b=0;while(1){if((a|0)==(b|0)){break d}h=g+(b<<5)|0;if(q[h+8>>2]==(c|0)&q[h+12>>2]==(d|0)){q[e>>2]=5;a=q[(g+(b<<5)|0)+16>>2];if(a>>>0>=t[f+120>>2]){break a}a=q[f+116>>2]+(a<<2)|0;u[e+8>>2]=u[a>>2];u[e+12>>2]=u[a+4>>2];u[e+16>>2]=u[a+8>>2];u[e+20>>2]=u[a+12>>2];a=0;break b}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=q[f+112>>2];l:{if(!a){g=0;break l}h=q[f+108>>2];b=0;g=1;while(1){if((a|0)==(b|0)){break c}i=h+(b<<5)|0;if(q[i+8>>2]==(c|0)&q[i+12>>2]==(d|0)){q[e>>2]=6;a=q[(h+(b<<5)|0)+16>>2];if(a>>>0>=t[f+120>>2]){break a}o[e+8|0]=u[q[f+116>>2]+(a<<2)>>2]!=x(0);break l}b=b+1|0;g=a>>>0>b>>>0;if((a|0)!=(b|0)){continue}break}}ti=j+32|0;return g-1|0}J(19392,19404,53,19438);G()}J(19392,19404,61,19438);G()}J(19392,19404,117,19438);G()}J(19392,19404,69,19438);G()}J(19392,19404,125,19438);G()}J(19392,19404,77,19438);G()}J(19392,19404,85,19438);G()}J(19392,19404,93,19438);G()}J(19392,19404,101,19438);G()}ti=j+32|0;return a|0}J(19392,19404,109,19438);G()}function bG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=ti-32|0;ti=h;c=Oi(173536);q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=1;q[c+36>>2]=-1;q[c+20>>2]=509;q[c+8>>2]=0;q[c+12>>2]=0;d=c+48|0;q[c+16>>2]=d;Fi(d,255,2036);q[c+155732>>2]=0;q[c+155736>>2]=1;d=0;q[c+88100>>2]=0;q[c+32>>2]=c+26660;e=c+2084|0;q[c+28>>2]=e;q[c+24>>2]=e;q[c+155728>>2]=-1;q[c+155712>>2]=341;e=c+155740|0;q[c+155708>>2]=e;Fi(e,255,1364);q[c+173500>>2]=0;q[c+173504>>2]=0;q[c+155724>>2]=c+173488;e=c+157104|0;q[c+155720>>2]=e;q[c+155716>>2]=e;e=c+173508|0;q[e>>2]=0;q[e+4>>2]=0;q[c+173520>>2]=0;q[c+173524>>2]=0;e=c+173528|0;q[e>>2]=0;q[e+4>>2]=0;e=c+153648|0;i=c+173520|0;g=c+173500|0;while(1){p[e+(d<<1)>>1]=1023-d;d=d+1|0;if((d|0)!=1023){continue}break}q[c+155704>>2]=a;q[c+155696>>2]=1023;a=b7(a);q[c+88104>>2]=0;q[c+155700>>2]=a;p[c+173516>>1]=0;a:{b:{c:{if(!(o[c+173532|0]&1)){Ii(q[b+4>>2]-q[b>>2]>>2,4,i,c+173528|0,c+173524|0);a=c+88168|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88160|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88152|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88144|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88136|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88128|0;q[a>>2]=0;q[a+4>>2]=0;a=c+88120|0;q[a>>2]=0;q[a+4>>2]=0;q[c+88112>>2]=0;q[c+88116>>2]=0;a=q[b>>2];if((a|0)==q[b+4>>2]){break c}a=Sy(c,q[a>>2],c+88112|0);p[c+88148>>1]=65535;q[c+88144>>2]=-1;q[c+88168>>2]=a;p[c+173516>>1]=s[c+173516>>1]+1;if(o[c+173512|0]&1){break a}Ii(128,56,g,c+173508|0,c+173504|0);q[c+173496>>2]=0;p[c+173492>>1]=0;q[c+173488>>2]=Hra();if(!q[c+88168>>2]){q[c+88168>>2]=-17}d=q[b>>2];if(q[b+4>>2]-d>>2>>>0>=2){i=1;while(1){d:{if(Sy(c,q[(i<<2)+d>>2],h)){break d}d=s[c+88146>>1];if((d|0)!=65535){a=q[h+16>>2];e=q[h+20>>2];while(1){d=(d<<16>>16<<6)+c|0;g=d+88128|0;if((a|0)==q[g>>2]&(e|0)==q[g+4>>2]){break d}d=s[d+88148>>1];if((d|0)!=65535){continue}break}}a=q[c+155696>>2];if(!a){break d}a=a-1|0;q[c+155696>>2]=a;j=p[((a<<1)+c|0)+153648>>1];e=(j<<6)+c|0;g=e+88168|0;a=g;q[a>>2]=0;q[a+4>>2]=0;a=e+88160|0;q[a>>2]=0;q[a+4>>2]=0;a=e+88152|0;q[a>>2]=0;q[a+4>>2]=0;k=e+88144|0;a=k;q[a>>2]=0;q[a+4>>2]=0;a=h;f=q[a+4>>2];d=e+88112|0;q[d>>2]=q[a>>2];q[d+4>>2]=f;f=q[a+12>>2];d=e+88120|0;q[d>>2]=q[a+8>>2];q[d+4>>2]=f;f=q[a+20>>2];d=e+88128|0;q[d>>2]=q[a+16>>2];q[d+4>>2]=f;f=q[a+28>>2];d=e+88136|0;q[d>>2]=q[a+24>>2];q[d+4>>2]=f;q[g>>2]=-17;p[e+88146>>1]=65535;f=s[c+88146>>1];d=0;p[k>>1]=0;p[e+88148>>1]=f;p[c+88146>>1]=j;e=s[c+88150>>1];j=e+1|0;p[c+88150>>1]=j;k=q[a+24>>2];a=q[a+28>>2];while(1){e:{d=(d<<16>>16<<6)+c|0;f=d+88136|0;if(q[f>>2]==(k|0)&q[f+4>>2]==(a|0)){q[g>>2]=-16;if(!(j&65535)){break b}p[c+88150>>1]=e;break e}d=s[d+88144>>1];if((d|0)!=65535){continue}}break}p[c+173516>>1]=s[c+173516>>1]+1}i=i+1|0;d=q[b>>2];if(i>>>0>2]-d>>2>>>0){continue}break}}ti=h+32|0;return c}break a}J(28575,28586,486,28642);G()}J(28522,28238,359,28500);G()}J(29557,28586,493,29632);G()}function sua(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0;l=ti-240|0;ti=l;if(!q[a>>2]){i=l+216|0;q[i>>2]=0;q[i+4>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;n=eo(l+176|0);p=eo(l+136|0);s=eo(l+96|0);t=eo(l+56|0);a:{if(!iw(i,c,d)){break a}if(!Go(i,n)){break a}if(!Go(i,p)){break a}if(!Go(i,s)){break a}if(!Go(i,t)|!q[n+4>>2]|(!q[p+4>>2]|!q[s+4>>2])){break a}if(!q[t+4>>2]){break a}c=Hl(i,1);k=a+4|0;ota(k,b);d=l+48|0;o[d+3|0]=0;o[d+2|0]=16;o[d+1|0]=16;o[d|0]=16;b:{if(!b){break b}v=c?1:3;if(!c){c=0;while(1){h=Xm(i,t);o[co(k,c)+4|0]=h+u&7;u=r[co(k,c)+4|0];h=0;while(1){j=i;if(r[Kj(d,h)|0]>=10){m=r[Kj(d,h)|0]<22?p:s}else{m=n}j=Xm(j,m)+r[Kj(d,h)|0]&31;o[Kj(co(k,c),h)|0]=j;o[Kj(d,h)|0]=j;h=h+1|0;if((v|0)!=(h|0)){continue}break}c=c+1|0;if((c|0)!=(b|0)){continue}break}break b}c=0;while(1){h=Xm(i,t);o[co(k,c)+4|0]=h+u&7;u=r[co(k,c)+4|0];h=0;while(1){j=i;if(r[Kj(d,h)|0]>=10){m=r[Kj(d,h)|0]<22?p:s}else{m=n}j=Xm(j,m)+r[Kj(d,h)|0]&31;o[Kj(co(k,c),h)|0]=j;o[Kj(d,h)|0]=j;h=h+1|0;if((v|0)!=(h|0)){continue}break}h=r[Kj(co(k,c),0)|0];o[Kj(co(k,c),1)|0]=h;h=r[Kj(co(k,c),0)|0];o[Kj(co(k,c),2)|0]=h;c=c+1|0;if((c|0)!=(b|0)){continue}break}}h=0;a=a+16|0;mta(a,e);if(!iw(i,f,g)){break a}j=eo(l+8|0);c:{if((Hl(i,1)|0)==1){break c}if((Hl(i,1)|0)==1){break c}d:{if((Hl(i,1)|0)==1){if(!e){break d}while(1){b=Hl(i,8);dk(_j(a,h),0,0,b&3);dk(_j(a,h),1,0,b>>>2&3);dk(_j(a,h),2,0,b>>>4&3);dk(_j(a,h),3,0,b>>>6&3);b=Hl(i,8);dk(_j(a,h),0,1,b&3);dk(_j(a,h),1,1,b>>>2&3);dk(_j(a,h),2,1,b>>>4&3);dk(_j(a,h),3,1,b>>>6&3);b=Hl(i,8);dk(_j(a,h),0,2,b&3);dk(_j(a,h),1,2,b>>>2&3);dk(_j(a,h),2,2,b>>>4&3);dk(_j(a,h),3,2,b>>>6&3);b=Hl(i,8);dk(_j(a,h),0,3,b&3);dk(_j(a,h),1,3,b>>>2&3);dk(_j(a,h),2,3,b>>>4&3);dk(_j(a,h),3,3,b>>>6&3);wM(_j(a,h));h=h+1|0;if((h|0)!=(e|0)){continue}break}break d}if(!Go(i,j)){break c}e:{if(e>>>0>=2){if(q[j+4>>2]){break e}break c}if(!e){break d}}d=0;b=0;f=0;g=0;while(1){m=a;f:{if(h){g=Xm(i,j)^g&255;dk(_j(a,h),0,0,g&3);dk(_j(a,h),1,0,g>>>2&3);dk(_j(a,h),2,0,g>>>4&3);dk(_j(a,h),3,0,g>>>6&3);f=Xm(i,j)^f&255;dk(_j(a,h),0,1,f&3);dk(_j(a,h),1,1,f>>>2&3);dk(_j(a,h),2,1,f>>>4&3);dk(_j(a,h),3,1,f>>>6&3);b=Xm(i,j)^b&255;dk(_j(a,h),0,2,b&3);dk(_j(a,h),1,2,b>>>2&3);dk(_j(a,h),2,2,b>>>4&3);dk(_j(a,h),3,2,b>>>6&3);d=Xm(i,j)^d&255;c=h;break f}g=Hl(i,8);dk(_j(a,0),0,0,g&3);dk(_j(a,0),1,0,g>>>2&3);dk(_j(a,0),2,0,g>>>4&3);dk(_j(a,0),3,0,g>>>6&3);f=Hl(i,8);dk(_j(a,0),0,1,f&3);dk(_j(a,0),1,1,f>>>2&3);dk(_j(a,0),2,1,f>>>4&3);dk(_j(a,0),3,1,f>>>6&3);b=Hl(i,8);dk(_j(a,0),0,2,b&3);dk(_j(a,0),1,2,b>>>2&3);dk(_j(a,0),2,2,b>>>4&3);dk(_j(a,0),3,2,b>>>6&3);d=Hl(i,8);c=0}dk(_j(m,c),0,3,d&3);dk(_j(a,c),1,3,d>>>2&3);dk(_j(a,c),2,3,d>>>4&3);dk(_j(a,c),3,3,d>>>6&3);wM(_j(a,c));h=h+1|0;if((h|0)!=(e|0)){continue}break}}h=1}pr(j)}pr(t);pr(s);pr(p);pr(n)}ti=l+240|0;return h}function MJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,v=0,y=0,z=0,A=0,B=0,C=0,D=x(0),E=x(0);h=ti-80|0;ti=h;y=q[b+12>>2];j=q[g+8>>2];a:{b:{c:{d:{if((ep(a,q[b+8>>2])|0)==5){i=q[j+4>>2];k=q[j>>2];n=i-k|0;z=(n|0)/320|0;m=z+1|0;if(m>>>0>(q[j+8>>2]-k|0)/320>>>0){break b}v=q[q[j+80>>2]+28>>2];s=q[j+92>>2];q[j+4>>2]=k+w(m,320);if((n+320|0)/320>>>0<=z>>>0){break a}m=w(v,216)-s|0;k=q[g+12>>2];q[g+12>>2]=k+1;q[i+304>>2]=k;Qm(i);q[i+148>>2]=q[j+48>>2];k=q[j+52>>2];q[i+224>>2]=1;q[i+144>>2]=k;v=j+60|0;k=q[v>>2];q[i+280>>2]=(k-q[j+56>>2]|0)/36;q[i+156>>2]=q[g+4>>2];q[i+160>>2]=q[y+72>>2];q[i+164>>2]=0;n=0;if(f){k=0;while(1){s=q[((k<<4)+b|0)+12>>2];A=x6(q[j+80>>2],q[s+84>>2],q[s+88>>2]);Wo(h+32|0,(k<<6)+c|0);l=q[s+84>>2];B=q[j+80>>2];u[h+24>>2]=u[h+56>>2];C=q[h+52>>2];q[h+16>>2]=q[h+48>>2];q[h+20>>2]=C;Yu(B,l,h+16|0);l=q[s+84>>2];B=q[j+80>>2];C=q[h+36>>2];q[h+16>>2]=q[h+32>>2];q[h+20>>2]=C;C=q[h+44>>2];q[h+24>>2]=q[h+40>>2];q[h+28>>2]=C;Xu(B,l,h+16|0);D=u[h+64>>2];E=u[h+68>>2];Wu(q[j+80>>2],q[s+84>>2],D>2]}s=j+56|0;c=(m>>>0)/36|0;c=c>>>0>n>>>0?n:c;A=j- -64|0;l=q[A>>2];if(c>>>0>(l-k|0)/36>>>0){if(o[j+68|0]&1){break d}Ii(((l-q[s>>2]|0)/36|0)+(c>>>0>128?c:128)|0,36,s,A,v);k=q[v>>2]}if(!f){n=0;break c}n=0;c=0;while(1){l=(c<<4)+b|0;Gl(h+32|0,a,q[l+8>>2],3);u[h+28>>2]=u[(c<<2)+d>>2];u[h+24>>2]=u[h+40>>2];B=q[h+36>>2];q[h+16>>2]=q[h+32>>2];q[h+20>>2]=B;l=q[l+12>>2];q[h+12>>2]=0;SG(q[j+80>>2],u[j+96>>2],q[l+84>>2],q[l+88>>2],h+16|0,k,m,h+12|0,1);l=q[h+12>>2];m=m-l|0;l=(l>>>0)/36|0;n=l+n|0;k=w(l,36)+k|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}break c}J(38297,36771,1005,38338);G()}J(36255,36330,493,36386);G()}q[j+92>>2]=q[j+92>>2]+w(n,36);q[i+284>>2]=n;e:{a=q[(q[y+68>>2]<<2)+300820>>2];if(a>>>0<5){o[i+288|0]=r[i+288|0]|1;a=a<<2;q[i+236>>2]=q[a+39604>>2];q[i+232>>2]=q[a+39584>>2];a=q[j+16>>2];if(q[j+20>>2]-a>>2>>>0<=z>>>0){break a}m=q[a+(z<<2)>>2];c=q[y+80>>2];if(!(m|!c)){m=Wp();a=q[j+16>>2];if(q[j+20>>2]-a>>2>>>0<=z>>>0){break a}q[a+(z<<2)>>2]=m;c=q[y+80>>2]}if(c){a=0;while(1){b=q[y+76>>2]+w(a,96)|0;cfa(m,q[b>>2],q[b+4>>2],b+16|0,r[b+80|0]?4:1);a=a+1|0;if(a>>>0>2]){continue}break}}if(m){er(i,m)}a=q[e>>2];o[i+288|0]=r[i+288|0]|2;f:{g:{if(a){q[i+244>>2]=5;q[i+248>>2]=0;q[i+252>>2]=2;q[i+256>>2]=2;o[i+276|0]=r[a|0];o[i+277|0]=r[a+1|0];o[i+278|0]=r[a+2|0];c=i+279|0;o[c|0]=r[i+279|0]&208|r[a+3|0]&15;if(!r[g+16|0]){break f}o[g+16|0]=0;a=r[i+279|0]|16;break g}q[i+244>>2]=7;q[i+248>>2]=0;o[i+278|0]=255;p[i+276>>1]=65280;q[i+252>>2]=0;q[i+256>>2]=0;c=i+279|0;a=r[c|0]&-48|15}o[c|0]=a}a=q[s>>2];if((q[A>>2]-a|0)/36>>>0<(k-a|0)/36>>>0){break e}q[v>>2]=k;ti=h+80|0;return}q[h>>2]=a;Ai(4,36048,38069,h);J(38093,36771,848,38095);G()}}J(36578,36330,506,36597);G()}J(36605,36330,479,36616);G()}function Jo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=ti-16|0;j=q[c>>2];g=q[c+4>>2];h=q[b+4>>2];e=h;k=q[a+4>>2];i=q[b>>2];a:{b:{if((e|0)==(k|0)&i>>>0>=t[a>>2]|e>>>0>k>>>0){e=0;if((g|0)==(h|0)&j>>>0>=i>>>0|g>>>0>h>>>0){break a}e=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=e;e=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=e;e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e;g=q[b+4>>2];h=q[a+4>>2];e=1;if((g|0)==(h|0)&t[b>>2]>=t[a>>2]|g>>>0>h>>>0){break a}e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=e;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;e=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=e;e=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=e;break b}if((g|0)==(h|0)&j>>>0>>0|g>>>0>>0){e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=e;e=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e;e=1;break a}e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;e=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=e;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;e=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=e;e=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=e;g=q[c+4>>2];h=q[b+4>>2];e=1;if((g|0)==(h|0)&t[c>>2]>=t[b>>2]|g>>>0>h>>>0){break a}e=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=e;e=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=e;e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;e=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=e;e=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=e}e=2}g=q[d+4>>2];h=q[c+4>>2];if((g|0)==(h|0)&t[d>>2]>2]|g>>>0>>0){g=q[c+12>>2];q[f+8>>2]=q[c+8>>2];q[f+12>>2]=g;g=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=g;g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;g=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=g;g=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=g;d=q[c+4>>2];g=q[b+4>>2];if((d|0)==(g|0)&t[c>>2]>=t[b>>2]|d>>>0>g>>>0){return e+1|0}d=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=d;d=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=d;d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;d=q[f+12>>2];q[c+8>>2]=q[f+8>>2];q[c+12>>2]=d;d=q[f+4>>2];q[c>>2]=q[f>>2];q[c+4>>2]=d;c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return e+2|0}c=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=c;c=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;a=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=a;a=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=a;e=e+3|0}return e}function Oy(a,b,c,d){var e=x(0),f=x(0),g=x(0),h=0,i=x(0),j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=0,p=x(0),s=x(0),t=x(0),v=x(0),y=0,z=0,A=0,B=x(0),C=x(0),D=0,E=0,F=0,H=0,I=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;a:{h=q[b>>2];b:{if(!h){break b}e=u[h+8>>2];j=q[b+24>>2]==3;f=j?x(e+e):e;e=u[b+16>>2];e=r[b+28|0]&2?x(f-e):e;e=x(u[h+12>>2]*(j?e>x(f*x(.5))?x(f-e):e:e));c:{if(e=x(0)){b=~~e>>>0;break c}b=0}z=q[h+20>>2];if(!z){break b}B=x(x(1)-d);k=x(e-x(b>>>0));C=x(x(1)-k);j=w(b,3);D=j+5|0;E=j+4|0;F=j+2|0;H=j+1|0;I=j+3|0;y=q[c>>2];M=(q[c+4>>2]-y|0)/176|0;N=q[h+16>>2];A=q[a+72>>2];K=q[A+4>>2];O=K;c=0;h=b<<2;P=h+5<<2;Q=(h|1)<<2;R=h+4<<2;S=h+6<<2;T=(h|2)<<2;U=h+7<<2;V=(h|3)<<2;while(1){if((c|0)==(z|0)){break a}d:{if(!K){break d}a=(c<<5)+N|0;o=q[a>>2];L=q[a+4>>2];b=q[q[A>>2]+(Qwa(o,L,O)<<2)>>2];if((b|0)==-1){break d}W=q[A+8>>2];while(1){b=W+(b<<4)|0;if((o|0)!=q[b>>2]|q[b+4>>2]!=(L|0)){b=q[b+12>>2];if((b|0)!=-1){continue}break d}break}o=q[b+8>>2];if(o>>>0>=M>>>0){break d}e:{f:{g:{switch(q[a+12>>2]){case 3:b=q[a+8>>2];e=u[b+8>>2];g=u[b+4>>2];f=u[b>>2];break f;case 0:break e;default:break g}}b=q[a+8>>2];e=u[b+(F<<2)>>2];e=x(e+x(k*x(u[b+(D<<2)>>2]-e)));f=u[b+(H<<2)>>2];g=x(f+x(k*x(u[b+(E<<2)>>2]-f)));f=u[b+(j<<2)>>2];f=x(f+x(k*x(u[b+(I<<2)>>2]-f)))}b=w(o,176)+y|0;i=u[b+16>>2];u[b+16>>2]=i+x(x(f-i)*d);f=u[b+24>>2];u[b+24>>2]=f+x(x(e-f)*d);e=u[b+20>>2];u[b+20>>2]=e+x(x(g-e)*d)}h:{i:{j:{switch(q[a+20>>2]){case 4:b=q[a+16>>2];l=u[b+12>>2];m=u[b+4>>2];n=u[b>>2];i=u[b+8>>2];break i;case 0:break h;default:break j}}f=k;e=C;b=q[a+16>>2];n=u[b+(h<<2)>>2];p=u[b+R>>2];m=u[b+Q>>2];s=u[b+P>>2];i=u[b+T>>2];t=u[b+S>>2];l=u[b+V>>2];v=u[b+U>>2];g=x(x(x(x(n*p)+x(m*s))+x(i*t))+x(l*v));if(!(g>2];s=u[b+4>>2];t=u[b+8>>2];v=u[b+12>>2];g=x(x(x(x(n*p)+x(m*s))+x(i*t))+x(l*v));if(!(g>2]=x(n*f)+x(p*e);u[b+4>>2]=x(m*f)+x(s*e);u[b+8>>2]=x(i*f)+x(t*e);u[b+12>>2]=x(l*f)+x(v*e)}k:{l:{switch(q[a+28>>2]){case 3:a=q[a+24>>2];e=u[a+8>>2];g=u[a+4>>2];f=u[a>>2];break k;case 0:break d;default:break l}}a=q[a+24>>2];e=u[a+(F<<2)>>2];e=x(e+x(k*x(u[a+(D<<2)>>2]-e)));f=u[a+(H<<2)>>2];g=x(f+x(k*x(u[a+(E<<2)>>2]-f)));f=u[a+(j<<2)>>2];f=x(f+x(k*x(u[a+(I<<2)>>2]-f)))}a=w(o,176)+y|0;i=u[a+32>>2];u[a+32>>2]=i+x(x(f-i)*d);f=u[a+40>>2];u[a+40>>2]=f+x(x(e-f)*d);e=u[a+36>>2];u[a+36>>2]=e+x(x(g-e)*d)}c=c+1|0;if((z|0)!=(c|0)){continue}break}}return}J(147195,147207,153,147227);G()}function Yz(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,t=0,u=0,v=0;a:{b:{c:{d:{e:{f:{h=b&65535;i=q[a+32>>2];if(h>>>0<(q[a+36>>2]-i|0)/576>>>0){l=b>>>16|0;if((l|0)!=s[(w(h,576)+i|0)+552>>1]){break c}k=w(h,576)+i|0;t=s[k+554>>1];if((t|0)!=(b&65535)){break b}d=q[k+416>>2];if(d){xi[q[a+376>>2]](q[a+388>>2],a,b,d,q[(w(h,576)+i|0)+512>>2])}j=w(h,576)+i|0;n=j;g=q[a+232>>2];d=q[a+228>>2];e=g-d|0;f=(e|0)/12|0;if(!e|(q[j+412>>2]&240)!=80){break e}if(!c){break f}u=w(h,576);v=u+i|0;e=0;g:{h:{while(1){if((g-d|0)/12>>>0<=e>>>0){break d}i:{m=w(e,12);j:{if(q[(m+d|0)+8>>2]!=(b|0)){e=e+1|0;break j}d=q[a+32>>2];if((q[a+36>>2]-d|0)/576>>>0<=h>>>0){break i}d=d+u|0;if((l|0)!=s[d+552>>1]){break c}if(s[d+554>>1]!=(t|0)){break b}Ks(q[a+192>>2],q[d+532>>2]);q[v+532>>2]=0;g=q[a+232>>2];d=q[a+228>>2];if((g-d|0)/12>>>0<=e>>>0){break h}d=d+m|0;g=g-12|0;m=q[g+4>>2];q[d>>2]=q[g>>2];q[d+4>>2]=m;q[d+8>>2]=q[g+8>>2];g=q[a+232>>2]-12|0;q[a+232>>2]=g;d=q[a+228>>2];if(g>>>0>>0){break g}f=f-1|0}if(e>>>0>>0){continue}break e}break}break d}J(196208,195579,513,196223);G()}J(196233,195579,516,196223);G()}break d}if((d|0)==(g|0)){break d}g=f>>>0>1?f:1;e=0;while(1){d=w(e,12)+d|0;if(q[d+8>>2]==(b|0)){lz(q[a+192>>2],q[d>>2],0);q[n+412>>2]=q[n+412>>2]|536870912}e=e+1|0;if((g|0)==(e|0)){break e}d=q[a+228>>2];if((q[a+232>>2]-d|0)/12>>>0>e>>>0){continue}break}break d}d=s[j+562>>1];if((d|0)!=65535){while(1){d=d&65535;e=q[a+32>>2];if(d>>>0>=(q[a+36>>2]-e|0)/576>>>0){break d}e=e+w(d,576)|0;d=s[e+558>>1];Yz(a,s[e+554>>1]|s[e+552>>1]<<16,c);if((d|0)!=65535){continue}break}}j=q[a+52>>2];e=q[a+48>>2];d=j-e|0;if(d){g=(d|0)/72|0;d=0;while(1){if((j-e|0)/72>>>0<=d>>>0){break d}l=w(d,72);f=l+e|0;if(q[f>>2]==(b|0)){e=r[f+68|0];k:{if(e&2){break k}o[f+68|0]=e|2;e=q[f+40>>2];if(e){xi[e|0](f+32|0)}e=q[f+56>>2];if(!e){break k}xi[e|0](a,q[f>>2],0,q[f+60>>2],q[f+64>>2])}f=q[a+52>>2];e=q[a+48>>2];if((f-e|0)/72>>>0<=d>>>0){break d}e=e+l|0;Sk(e,e+72|0,(f-e|0)-72|0);e=q[a+48>>2];f=((q[a+52>>2]-e|0)/72|0)-1|0;if(f>>>0>(q[a+56>>2]-e|0)/72>>>0){break a}j=w(f,72)+e|0;q[a+52>>2]=j;g=g-1|0;d=d-1|0}d=d+1|0;if(d>>>0>>0){continue}break}}l:{m:{n:{o:{if(!(!(r[n+415|0]&32)|c)){$q(a,k);a=w(h,576)+i|0;p[a+556>>1]=65535;p[a+560>>1]=65535;f=a+558|0;break o}$q(a,k);d=q[a+20>>2];if(!d){break n}c=s[a+26>>1];if(!c|c>>>0>s[a+24>>1]){break m}f=k+554|0;b=s[f>>1];c=c-1|0;p[a+26>>1]=c;p[d+((c&65535)<<1)>>1]=b;c=q[a+32>>2];if((b+1|0)==((q[a+36>>2]-c|0)/576|0)){if(b>>>0>(q[a+40>>2]-c|0)/576>>>0){break l}q[a+36>>2]=c+w(b,576)}a=q[(w(h,576)+i|0)+420>>2];if(a){yi(a)}Fi(k,0,576)}p[f>>1]=65535;return}J(195800,195807,140,195725);G()}J(195882,195807,141,195725);G()}break a}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(196250,195579,506,196269);G()}function Xw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{c=q[a+16>>2];switch(r[c+21|0]){case 4:break b;case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break a}}WD(a);return 0}if(q[c+36>>2]){return Ir(c)}b=q[c+140>>2];d=c+120|0;g:{if((b|0)==(d|0)){break g}while(1){h:{if(r[b+5|0]&7){break h}e=q[b+8>>2];if(q[e+8>>2]<4){break h}e=q[e>>2];if(!(r[e+5|0]&3)){break h}xk(c,e)}b=q[b+20>>2];if((d|0)!=(b|0)){continue}break}if(!q[c+36>>2]){break g}while(1){Ir(c);if(q[c+36>>2]){continue}break}}b=q[c+44>>2];q[c+44>>2]=0;q[c+36>>2]=b;if(r[a+5|0]&3){xk(c,a)}XD(c);if(q[c+36>>2]){while(1){Ir(c);if(q[c+36>>2]){continue}break}}b=q[c+40>>2];q[c+40>>2]=0;q[c+36>>2]=b;if(b){while(1){Ir(c);if(q[c+36>>2]){continue}break}}g=q[a+16>>2];d=q[g+112>>2];b=q[d>>2];if(b){while(1){e=r[b+5|0];i:{if(!(e&3?!(e&8):0)){d=b;break i}j:{h=b;f=q[b+8>>2];if(!(!f|r[f+6|0]&4)){if(On(f,2,q[q[a+16>>2]+196>>2])){break j}e=r[b+5|0]}o[h+5|0]=e|8;d=b;break i}o[b+5|0]=r[b+5|0]|8;e=q[b+16>>2];q[d>>2]=q[b>>2];i=(e+i|0)+32|0;e=q[g+48>>2];k:{if(!e){q[b>>2]=b;break k}q[b>>2]=q[e>>2];q[q[g+48>>2]>>2]=b}q[g+48>>2]=b}b=q[d>>2];if(b){continue}break}}b=q[c+48>>2];if(b){while(1){b=q[b>>2];o[b+5|0]=r[c+20|0]&3|r[b+5|0]&248;xk(c,b);if(q[c+48>>2]!=(b|0)){continue}break}}g=0;if(q[c+36>>2]){while(1){g=Ir(c)+g|0;if(q[c+36>>2]){continue}break}}d=q[c+44>>2];if(d){while(1){b=q[d+28>>2];if(!(!b|!(r[d+5|0]&16))){while(1){b=b-1|0;a=q[d+12>>2]+(b<<4)|0;e=q[a+8>>2];l:{if((e|0)<4){break l}if((e|0)==4){a=q[a>>2];o[a+5|0]=r[a+5|0]&252;break l}f=r[q[a>>2]+5|0];if(!(f&8)|(e|0)!=7?!(f&3):0){break l}q[a+8>>2]=0}if(b){continue}break}}a=-1<>2]+(b<<5)|0;e=q[a+8>>2];m:{if(!e){break m}f=q[a+24>>2];n:{o:{if((f|0)<4){break o}if((f|0)==4){e=q[a+16>>2];o[e+5|0]=r[e+5|0]&252;e=q[a+8>>2];break o}if(r[q[a+16>>2]+5|0]&3){break n}}if((e|0)<4){break m}if((e|0)==4){a=q[a>>2];o[a+5|0]=r[a+5|0]&252;break m}f=r[q[a>>2]+5|0];if(f&3){break n}if(!(f&8)|(e|0)!=7){break m}}q[a+8>>2]=0;if(q[a+24>>2]<4){break m}q[a+24>>2]=11}a=b-1|0;if(b){continue}break}d=q[d+24>>2];if(d){continue}break}}q[c+24>>2]=0;o[c+21|0]=2;q[c+32>>2]=c+28;o[c+20|0]=r[c+20|0]^3;q[c+72>>2]=q[c+68>>2]-(g+i|0);return 0}b=q[c+24>>2];q[c+24>>2]=b+1;d=q[c+68>>2];zr(a,q[c>>2]+(b<<2)|0,-3);if(q[c+24>>2]>=q[c+8>>2]){o[c+21|0]=3}q[c+72>>2]=q[c+72>>2]+(q[c+68>>2]-d|0);return 10}e=q[c+68>>2];b=zr(a,q[c+32>>2],40);q[c+32>>2]=b;if(!q[b>>2]){b=q[a+16>>2];d=q[b+8>>2];g=(d|0)/4|0;if(!((d|0)<65|g>>>0<=t[b+4>>2])){Lx(a,d>>>1|0)}d=q[b+60>>2];if(d>>>0>=65){h=a;a=d>>>1|0;d=lj(h,q[b+52>>2],d,a);q[b+60>>2]=a;q[b+52>>2]=d}o[c+21|0]=4}q[c+72>>2]=q[c+72>>2]+(q[c+68>>2]-e|0);return 400}if(q[c+48>>2]){lN(a);b=100;a=q[c+72>>2];if(a>>>0<101){break a}q[c+72>>2]=a-100;return 100}q[c+76>>2]=0;o[c+21|0]=0}return b}function $F(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;f=ti-48|0;ti=f;q[f+8>>2]=0;a:{b:{c:{d:{if((b|0)<0){break d}k=a+155708|0;while(1){e:{f:{g:{j=b&65535;b=(j<<6)+a|0;c=b+88168|0;switch(q[c>>2]+17|0){case 1:break f;case 0:break g;default:break e}}q[f+40>>2]=0;i=b+88172|0;if(q[i>>2]){break c}l=b+88120|0;if(!q[l>>2]){q[c>>2]=-7;c=s[b+88144>>1];if((c|0)!=65535){h=((c<<16>>16<<6)+a|0)+88150|0;g=s[h>>1];if(!g){break a}p[h>>1]=g-1}if(!Lu(a,c)){break e}c=1;break d}g=b+88112|0;h=b+88152|0;e=q[h>>2];if(e){if((a7(q[a+155700>>2],e,f+36|0,f+32|0,f+16|0)|0)==-1){break e}o[a+173492|0]=0;e=q[f+32>>2];j=q[f+36>>2];aG(a);h:{i:{d=q[f+16>>2];if(d){break i}d=q[f+20>>2];if(d){break i}d=q[c>>2];break h}q[c>>2]=d}j:{if((d|0)==-17){break j}Ry(a,g);d=p[b+88144>>1];if((d|0)==-1){break j}d=((d<<6)+a|0)+88150|0;i=s[d>>1];if(!i){break a}p[d>>1]=i-1}q[b+88164>>2]=q[f+24>>2];if(s[b+88146>>1]==65535){d=q[c>>2];if((d|0)==-17){hG(a,g,j,e)}k:{c=q[a+155712>>2];l:{if(!c){break l}e=b+88136|0;g=q[e>>2];e=q[e+4>>2];c=q[q[k>>2]+(Qwa(g,e,c)<<2)>>2];if((c|0)==-1){break l}j=q[a+155716>>2];while(1){c=j+(c<<4)|0;if((g|0)==q[c>>2]&(e|0)==q[c+4>>2]){break k}c=q[c+12>>2];if((c|0)!=-1){continue}break}}J(29053,28238,298,29099);G()}YH(k,g,e);c=q[h>>2];q[q[a+155700>>2]+28>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[h>>2]=0;Lu(a,s[b+88144>>1]);if((d|0)!=-17){break e}c=1;break d}c=Ira(q[a+173488>>2],e);q[b+88156>>2]=c;Gi(c,j,e);q[b+88160>>2]=e;c=q[h>>2];q[q[a+155700>>2]+28>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[h>>2]=0;break e}if(q[b+88156>>2]){if(!$F(a,p[b+88146>>1])){break e}c=1;break d}e=b+88136|0;d=e;d=Tp(q[a+155704>>2],q[d>>2],q[d+4>>2]);if(d){q[d+28>>2]=q[d+28>>2]+1;q[i>>2]=q[d+8>>2];q[c>>2]=0;Ry(a,g);c=s[b+88144>>1];if((c|0)!=65535){h=((c<<16>>16<<6)+a|0)+88150|0;g=s[h>>1];if(!g){break a}p[h>>1]=g-1}if(!Lu(a,c)){break e}c=1;break d}m:{if(r[a+173492|0]){break m}c=q[a+155712>>2];n:{if(!c){break n}d=q[e>>2];i=q[e+4>>2];c=q[q[a+155708>>2]+(Qwa(d,i,c)<<2)>>2];if((c|0)==-1){break n}m=q[a+155716>>2];while(1){c=m+(c<<4)|0;if((d|0)==q[c>>2]&(i|0)==q[c+4>>2]){break m}c=q[c+12>>2];if((c|0)!=-1){continue}break}}q[f+20>>2]=a;q[f+24>>2]=j;c=q[l>>2];q[f+16>>2]=q[c+16>>2];q[f+28>>2]=q[c+12>>2];d=c7(q[a+155700>>2],q[g>>2],q[b+88116>>2],f+16|0);q[h>>2]=d;o:{if(d){h=q[e>>2];g=q[e+4>>2];c=q[a+155712>>2];p:{if(!c){break p}c=q[q[k>>2]+(Qwa(h,g,c)<<2)>>2];if((c|0)==-1){break p}e=q[a+155716>>2];while(1){c=e+(c<<4)|0;if((h|0)==q[c>>2]&(g|0)==q[c+4>>2]){break b}c=q[c+12>>2];if((c|0)!=-1){continue}break}}o[f+36|0]=1;U7(k,h,g,f+36|0);break o}o[a+173492|0]=1}if(!d){break e}c=1;break d}break e}if(!Lu(a,s[b+88144>>1])){break e}c=1;break d}b=p[b+88148>>1];if((b|0)>-1){continue}break}c=0}ti=f+48|0;return c}J(28727,28238,783,28703);G()}J(29375,28238,291,29421);G()}J(28744,28238,315,28804);G()}function PG(a,b){var c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=0,j=0,k=0,l=x(0),m=0,n=0,p=0,r=x(0),s=0,v=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;p=ti-48|0;ti=p;z=q[b+4>>2];c=q[a+16>>2];if(c){cj(c)}q[a+16>>2]=b;a:{b:{c:{if(!(o[a+12|0]&1)){Ii(z,18568,a,a+8|0,a+4|0);c=q[a>>2];if((q[a+8>>2]-c|0)/18568>>>0>=z>>>0){d=w(z,18568);q[a+4>>2]=d+c;Fi(c,0,d);if(z){while(1){d:{if(t[b+4>>2]>s>>>0){k=q[b>>2]+w(s,144)|0;d=k;if(q[d+60>>2]==2){q[d+60>>2]=1}c=q[a>>2];if((q[a+4>>2]-c|0)/18568>>>0<=s>>>0){break c}c=c+w(s,18568)|0;q[c+18544>>2]=zi(q[k+52>>2]);q[c+18548>>2]=wi;q[c+18560>>2]=q[d+60>>2];c=Fi(c,0,18528);m=q[k+88>>2];if(!m){break d}e=0;while(1){d=q[k+84>>2]+(e<<4)|0;i=q[d>>2];e:{if((i|0)<=14){f=0;h=x(0);n=q[d+4>>2];v=q[d+8>>2];g=Tq(n,v,x(0));while(1){y=c+w(i,772)|0;j=y+w(f,12)|0;l=x(h+x(.015625));r=Tq(n,v,l);u[j+8>>2]=x(r-g)*x(64);u[j+4>>2]=g;u[j>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}u[y+768>>2]=u[d+12>>2];break e}q[p+32>>2]=i;Ai(3,145356,145537,p+32|0)}e=e+1|0;if((m|0)==(e|0)){break d}if(t[k+88>>2]>e>>>0){continue}break}J(145920,145932,224,145962);G()}J(145920,145932,261,145962);G()}f=0;h=x(0);while(1){d=c+w(f,12)|0;g=u[d+3096>>2];l=u[d+3092>>2];g=g>=x(0)?x(g+l):l;h=h>2]=h;f:{j=q[k+96>>2];if(!j){break f}e=0;while(1){d=q[k+92>>2]+w(e,12)|0;i=q[d>>2];g:{if((i|0)<=8){f=0;h=x(0);m=q[d+4>>2];n=q[d+8>>2];g=Tq(m,n,x(0));while(1){d=(c+w(i,772)|0)+w(f,12)|0;l=x(h+x(.015625));r=Tq(m,n,l);u[d+11588>>2]=x(r-g)*x(64);u[d+11584>>2]=g;u[d+11580>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}break g}q[p+16>>2]=i;Ai(3,145356,145576,p+16|0)}e=e+1|0;if((j|0)==(e|0)){break f}if(t[k+96>>2]>e>>>0){continue}break}J(145920,145932,232,145962);G()}h:{if(!(o[c+18540|0]&1)){i=q[k+104>>2];n=c+18528|0;d=c+18536|0;v=c+18532|0;Ii(i,1544,n,d,v);c=q[n>>2];if(i>>>0<=(q[d>>2]-c|0)/1544>>>0){d=w(i,1544);q[v>>2]=d+c;Fi(c,0,d);if(!i){break h}e=0;while(1){i:{j:{B=q[n>>2];if((q[v>>2]-B|0)/1544>>>0>e>>>0){if(t[k+104>>2]<=e>>>0){break j}c=q[k+100>>2]+(e<<6)|0;C=q[c+52>>2];if(!C){break i}d=c;j=0;while(1){m=q[c+48>>2]+(j<<4)|0;y=q[m>>2];k:{if((y|0)<=1){f=0;h=x(0);D=q[m+4>>2];E=q[m+8>>2];g=Tq(D,E,x(0));while(1){F=(B+w(e,1544)|0)+w(y,772)|0;A=F+w(f,12)|0;l=x(h+x(.015625));r=Tq(D,E,l);u[A+8>>2]=x(r-g)*x(64);u[A+4>>2]=g;u[A>>2]=h;h=l;g=r;f=f+1|0;if((f|0)!=64){continue}break}u[F+768>>2]=u[m+12>>2];break k}q[p>>2]=y;Ai(3,145356,145616,p)}j=j+1|0;if((C|0)==(j|0)){break i}if(t[d+52>>2]>j>>>0){continue}break}J(145920,145932,160,145962);G()}break c}J(145920,145932,240,145962);G()}e=e+1|0;if((i|0)!=(e|0)){continue}break}break h}break b}break a}s=s+1|0;if((z|0)!=(s|0)){continue}break}}ti=p+48|0;return}break b}break a}J(146626,145751,479,145962);G()}J(145819,145751,506,145838);G()}J(145676,145751,493,145807);G()}function xx(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,r=0,s=0;f=ti-80|0;ti=f;a:{if(!uj(d,0)){d=-12;break a}e=f- -64|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;q[f+56>>2]=0;q[f+48>>2]=1;q[f+52>>2]=0;q[f+40>>2]=0;q[f+32>>2]=1;q[f+36>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;b:{if((Wr(c,d)|0)<=-1){if(a){e=lk(a,0);if(e){break b}}d=0;if(!b){break a}e=gk(b,c);if(e){break b}break a}e=gk(f- -64|0,c);if(e){break b}e=gk(f+48|0,d);if(e){break b}q[f+64>>2]=1;q[f+48>>2]=1;e=bl(f+32|0,q[c+4>>2]+2|0);if(e){break b}e=lk(f+32|0,0);if(e){break b}e=bl(f+16|0,2);if(e){break b}e=bl(f,3);if(e){break b}e=Al(f+48|0)&31;if((e|0)!=31){o=e^31;e=$m(f- -64|0,o);if(e){break b}e=$m(f+48|0,o);if(e){break b}}h=q[f+68>>2]-1|0;m=q[f+52>>2];k=m-1|0;i=h-k|0;g=i<<5;e=$m(f+48|0,g);if(e){break b}i=i<<2;while(1){if((Lj(f- -64|0,f+48|0)|0)>=0){e=i+q[f+40>>2]|0;q[e>>2]=q[e>>2]+1;e=hl(f- -64|0,f- -64|0,f+48|0);if(!e){continue}break b}break}e=Wk(f+48|0,g);if(e){break b}if(h>>>0>k>>>0){s=m-2<<2;while(1){p=h<<2;e=q[f+72>>2];i=q[p+e>>2];r=k<<2;j=q[r+q[f+56>>2]>>2];c:{if(i>>>0>=j>>>0){e=-1;g=q[f+40>>2];l=h-m|0;q[g+(l<<2)>>2]=-1;i=h-1|0;break c}g=q[f+40>>2];l=h-m|0;n=i;i=h-1|0;e=gV(n,q[e+(i<<2)>>2],j);q[g+(l<<2)>>2]=e}j=l<<2;q[j+g>>2]=e;n=h-2|0;e=lk(f+16|0,0);d:{if(k){if(e){break b}while(1){e=q[f+24>>2];g=q[f+56>>2];q[e>>2]=q[g+s>>2];q[e+4>>2]=q[g+r>>2];e=wq(f+16|0,f+16|0,q[j+q[f+40>>2]>>2]);if(e){break b}e=lk(f,0);if(e){break b}e:{if(h>>>0>=2){e=q[f+8>>2];g=q[f+72>>2];q[e>>2]=q[g+(n<<2)>>2];break e}e=q[f+8>>2];q[e>>2]=0;g=q[f+72>>2]}q[e+4>>2]=q[(i<<2)+g>>2];q[e+8>>2]=q[g+p>>2];if((Lj(f+16|0,f)|0)<1){break d}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1;e=lk(f+16|0,0);if(!e){continue}break}break b}if(e){break b}while(1){e=q[f+24>>2];q[e>>2]=0;q[e+4>>2]=q[q[f+56>>2]>>2];e=wq(f+16|0,f+16|0,q[j+q[f+40>>2]>>2]);if(e){break b}e=lk(f,0);if(e){break b}f:{if(h>>>0>=2){e=q[f+8>>2];g=q[f+72>>2];q[e>>2]=q[g+(n<<2)>>2];break f}e=q[f+8>>2];q[e>>2]=0;g=q[f+72>>2]}q[e+4>>2]=q[(i<<2)+g>>2];q[e+8>>2]=q[g+p>>2];if((Lj(f+16|0,f)|0)<1){break d}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1;e=lk(f+16|0,0);if(!e){continue}break}break b}e=wq(f+16|0,f+48|0,q[j+q[f+40>>2]>>2]);if(e){break b}h=l<<5;e=$m(f+16|0,h);if(e){break b}e=hl(f- -64|0,f- -64|0,f+16|0);if(e){break b}if((uj(f- -64|0,0)|0)<=-1){e=gk(f+16|0,f+48|0);if(e){break b}e=$m(f+16|0,h);if(e){break b}e=Bl(f- -64|0,f- -64|0,f+16|0);if(e){break b}e=j+q[f+40>>2]|0;q[e>>2]=q[e>>2]-1}h=i;if(k>>>0>>0){continue}break}}if(a){e=gk(a,f+32|0);if(e){break b}q[a>>2]=w(q[d>>2],q[c>>2])}if(!b){e=0;break b}e=Wk(f- -64|0,o);if(e){break b}q[f+64>>2]=q[c>>2];e=gk(b,f- -64|0);if(e){break b}e=0;if(uj(b,0)){break b}q[b>>2]=1}Si(f- -64|0);Si(f+48|0);Si(f+32|0);Si(f+16|0);Si(f);d=e}ti=f+80|0;return d}function fV(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0;e=q[a+4>>2];d=e+16|0;f=q[e+12>>2]^(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24));g=q[e+8>>2]^(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24));h=q[e+4>>2]^(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24));b=q[e>>2]^(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24));a=q[a>>2];if((a|0)>=4){a=a>>>1|0;while(1){e=q[(h>>>22&1020)+856960>>2]^(q[(g>>>14&1020)+855936>>2]^(q[(f>>>6&1020)+854912>>2]^(q[((b&255)<<2)+853888>>2]^q[d>>2])));i=q[(g>>>22&1020)+856960>>2]^(q[(f>>>14&1020)+855936>>2]^(q[(b>>>6&1020)+854912>>2]^(q[((h&255)<<2)+853888>>2]^q[d+4>>2])));j=q[(f>>>22&1020)+856960>>2]^(q[(b>>>14&1020)+855936>>2]^(q[(h>>>6&1020)+854912>>2]^(q[((g&255)<<2)+853888>>2]^q[d+8>>2])));b=q[(b>>>22&1020)+856960>>2]^(q[(h>>>14&1020)+855936>>2]^(q[(g>>>6&1020)+854912>>2]^(q[((f&255)<<2)+853888>>2]^q[d+12>>2])));f=q[(e>>>22&1020)+856960>>2]^(q[(i>>>14&1020)+855936>>2]^(q[(j>>>6&1020)+854912>>2]^(q[((b&255)<<2)+853888>>2]^q[d+28>>2])));g=q[(b>>>22&1020)+856960>>2]^(q[(e>>>14&1020)+855936>>2]^(q[(i>>>6&1020)+854912>>2]^(q[((j&255)<<2)+853888>>2]^q[d+24>>2])));h=q[(j>>>22&1020)+856960>>2]^(q[(b>>>14&1020)+855936>>2]^(q[(e>>>6&1020)+854912>>2]^(q[((i&255)<<2)+853888>>2]^q[d+20>>2])));b=q[(i>>>22&1020)+856960>>2]^(q[(j>>>14&1020)+855936>>2]^(q[(b>>>6&1020)+854912>>2]^(q[((e&255)<<2)+853888>>2]^q[d+16>>2])));d=d+32|0;e=(a|0)>2;a=a-1|0;if(e){continue}break}}e=q[(b>>>22&1020)+856960>>2]^(q[(h>>>14&1020)+855936>>2]^(q[(g>>>6&1020)+854912>>2]^(q[((f&255)<<2)+853888>>2]^q[d+12>>2])));j=r[(e>>>8&255)+862080|0];a=q[(f>>>22&1020)+856960>>2]^(q[(b>>>14&1020)+855936>>2]^(q[(h>>>6&1020)+854912>>2]^(q[((g&255)<<2)+853888>>2]^q[d+8>>2])));k=r[(a>>>16&255)+862080|0];i=q[(h>>>22&1020)+856960>>2]^(q[(g>>>14&1020)+855936>>2]^(q[(f>>>6&1020)+854912>>2]^(q[((b&255)<<2)+853888>>2]^q[d>>2])));l=r[(i>>>8&255)+862080|0];m=r[(e>>>16&255)+862080|0];b=q[(g>>>22&1020)+856960>>2]^(q[(f>>>14&1020)+855936>>2]^(q[(b>>>6&1020)+854912>>2]^(q[((h&255)<<2)+853888>>2]^q[d+4>>2])));g=r[(b>>>8&255)+862080|0];h=r[(i>>>16&255)+862080|0];n=r[(a>>>8&255)+862080|0];p=r[(b>>>16&255)+862080|0];s=r[(b>>>24|0)+862080|0];t=r[(a>>>24|0)+862080|0];u=r[(e>>>24|0)+862080|0];v=r[(i>>>24|0)+862080|0];i=r[(i&255)+862080|0];w=r[(b&255)+862080|0];x=r[(a&255)+862080|0];a=q[d+16>>2];b=q[d+20>>2];f=q[d+24>>2];d=q[d+28>>2];o[c+12|0]=d^r[(e&255)+862080|0];o[c+8|0]=f^x;o[c+4|0]=b^w;o[c|0]=a^i;o[c+15|0]=(d^v<<24)>>>24;o[c+11|0]=(f^u<<24)>>>24;o[c+7|0]=(b^t<<24)>>>24;o[c+3|0]=(a^s<<24)>>>24;o[c+14|0]=(d^p<<16)>>>16;o[c+13|0]=(d^n<<8)>>>8;o[c+10|0]=(f^h<<16)>>>16;o[c+9|0]=(f^g<<8)>>>8;o[c+6|0]=(b^m<<16)>>>16;o[c+5|0]=(b^l<<8)>>>8;o[c+2|0]=(a^k<<16)>>>16;o[c+1|0]=(a^j<<8)>>>8}function eV(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,p=0,s=0,t=0,u=0,v=0,w=0,x=0;e=q[a+4>>2];d=e+16|0;f=q[e+12>>2]^(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24));g=q[e+8>>2]^(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24));h=q[e+4>>2]^(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24));b=q[e>>2]^(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24));a=q[a>>2];if((a|0)>=4){a=a>>>1|0;while(1){e=q[(h>>>22&1020)+861056>>2]^(q[(b>>>14&1020)+860032>>2]^(q[(f>>>6&1020)+859008>>2]^(q[((g&255)<<2)+857984>>2]^q[d+8>>2])));i=q[(b>>>22&1020)+861056>>2]^(q[(f>>>14&1020)+860032>>2]^(q[(g>>>6&1020)+859008>>2]^(q[((h&255)<<2)+857984>>2]^q[d+4>>2])));j=q[(f>>>22&1020)+861056>>2]^(q[(g>>>14&1020)+860032>>2]^(q[(h>>>6&1020)+859008>>2]^(q[((b&255)<<2)+857984>>2]^q[d>>2])));b=q[(g>>>22&1020)+861056>>2]^(q[(h>>>14&1020)+860032>>2]^(q[(b>>>6&1020)+859008>>2]^(q[((f&255)<<2)+857984>>2]^q[d+12>>2])));f=q[(e>>>22&1020)+861056>>2]^(q[(i>>>14&1020)+860032>>2]^(q[(j>>>6&1020)+859008>>2]^(q[((b&255)<<2)+857984>>2]^q[d+28>>2])));g=q[(i>>>22&1020)+861056>>2]^(q[(j>>>14&1020)+860032>>2]^(q[(b>>>6&1020)+859008>>2]^(q[((e&255)<<2)+857984>>2]^q[d+24>>2])));h=q[(j>>>22&1020)+861056>>2]^(q[(b>>>14&1020)+860032>>2]^(q[(e>>>6&1020)+859008>>2]^(q[((i&255)<<2)+857984>>2]^q[d+20>>2])));b=q[(b>>>22&1020)+861056>>2]^(q[(e>>>14&1020)+860032>>2]^(q[(i>>>6&1020)+859008>>2]^(q[((j&255)<<2)+857984>>2]^q[d+16>>2])));d=d+32|0;e=(a|0)>2;a=a-1|0;if(e){continue}break}}a=q[(b>>>22&1020)+861056>>2]^(q[(f>>>14&1020)+860032>>2]^(q[(g>>>6&1020)+859008>>2]^(q[((h&255)<<2)+857984>>2]^q[d+4>>2])));j=r[(a>>>8&255)+853632|0];e=q[(h>>>22&1020)+861056>>2]^(q[(b>>>14&1020)+860032>>2]^(q[(f>>>6&1020)+859008>>2]^(q[((g&255)<<2)+857984>>2]^q[d+8>>2])));k=r[(e>>>16&255)+853632|0];l=r[(e>>>8&255)+853632|0];i=q[(g>>>22&1020)+861056>>2]^(q[(h>>>14&1020)+860032>>2]^(q[(b>>>6&1020)+859008>>2]^(q[((f&255)<<2)+857984>>2]^q[d+12>>2])));m=r[(i>>>16&255)+853632|0];n=r[(i>>>8&255)+853632|0];b=q[(f>>>22&1020)+861056>>2]^(q[(g>>>14&1020)+860032>>2]^(q[(h>>>6&1020)+859008>>2]^(q[((b&255)<<2)+857984>>2]^q[d>>2])));g=r[(b>>>16&255)+853632|0];h=r[(b>>>8&255)+853632|0];p=r[(a>>>16&255)+853632|0];s=r[(i>>>24|0)+853632|0];t=r[(b>>>24|0)+853632|0];u=r[(a>>>24|0)+853632|0];v=r[(e>>>24|0)+853632|0];w=r[(b&255)+853632|0];x=r[(a&255)+853632|0];e=r[(e&255)+853632|0];a=q[d+16>>2];b=q[d+20>>2];f=q[d+24>>2];d=q[d+28>>2];o[c+12|0]=d^r[(i&255)+853632|0];o[c+8|0]=e^f;o[c+4|0]=b^x;o[c|0]=a^w;o[c+15|0]=(d^v<<24)>>>24;o[c+11|0]=(f^u<<24)>>>24;o[c+7|0]=(b^t<<24)>>>24;o[c+3|0]=(a^s<<24)>>>24;o[c+14|0]=(d^p<<16)>>>16;o[c+13|0]=(d^h<<8)>>>8;o[c+10|0]=(f^g<<16)>>>16;o[c+9|0]=(f^n<<8)>>>8;o[c+6|0]=(b^m<<16)>>>16;o[c+5|0]=(b^l<<8)>>>8;o[c+2|0]=(a^k<<16)>>>16;o[c+1|0]=(a^j<<8)>>>8}function cw(a,b,c){var d=0,e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0,m=0,n=0,s=0,t=0,u=0,v=0,z=0,A=0,B=0,C=0,D=0,E=x(0),F=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0;a:{b:{d=q[a+104>>2];if(!((d|0)==8|d-8>>>0>9)){d=r[b+3|0];e=d>>>0>255?255:d;d=r[b+7|0];e=d>>>0>e>>>0?e:d;d=r[b+11|0];e=d>>>0>e>>>0?e:d;d=r[b+15|0];e=d>>>0>e>>>0?e:d;d=r[b+19|0];e=d>>>0>e>>>0?e:d;d=r[b+23|0];e=d>>>0>e>>>0?e:d;d=r[b+27|0];e=d>>>0>e>>>0?e:d;d=r[b+31|0];e=d>>>0>e>>>0?e:d;d=r[b+35|0];e=d>>>0>e>>>0?e:d;d=r[b+39|0];e=d>>>0>e>>>0?e:d;d=r[b+43|0];e=d>>>0>e>>>0?e:d;d=r[b+47|0];e=d>>>0>e>>>0?e:d;d=r[b+51|0];e=d>>>0>e>>>0?e:d;d=r[b+55|0];e=d>>>0>e>>>0?e:d;d=r[b+59|0];e=d>>>0>e>>>0?e:d;d=r[b+63|0];g=d>>>0>e>>>0?e:d;e=r[b+3|0];d=r[b+7|0];e=d>>>0>>0?e:d;d=r[b+11|0];e=d>>>0>>0?e:d;d=r[b+15|0];e=d>>>0>>0?e:d;d=r[b+19|0];e=d>>>0>>0?e:d;d=r[b+23|0];e=d>>>0>>0?e:d;d=r[b+27|0];e=d>>>0>>0?e:d;d=r[b+31|0];e=d>>>0>>0?e:d;d=r[b+35|0];e=d>>>0>>0?e:d;d=r[b+39|0];e=d>>>0>>0?e:d;d=r[b+43|0];e=d>>>0>>0?e:d;d=r[b+47|0];e=d>>>0>>0?e:d;d=r[b+51|0];e=d>>>0>>0?e:d;d=r[b+55|0];e=d>>>0>>0?e:d;d=r[b+59|0];e=d>>>0>>0?e:d;d=r[b+63|0];d=d>>>0>>0?e:d;if((g|0)!=(d|0)){break b}p[c>>1]=g&255|7424;break a}b=c;if((d|0)==8){a=r[Kj(a+112|0,3)|0]|7424}else{a=7679}p[b>>1]=a;break a}e=q[a+132>>2];f=e>>>4|0;if(f){o[c+1|0]=(e<<8&3840|f<<12)>>>8;a=c;h=x(g>>>0);E=x(x(d>>>0)-h);e=((e&15)<<3)+101200|0;d=o[e+3|0];h=ho(x(x(E*x(x(0-d|0)/x(o[e+7|0]-d|0)))+h));c:{if(x(y(h))>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+1|0])|0;H=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+2|0])|0;I=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+3|0])|0;K=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+4|0])|0;L=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+5|0])|0;M=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+6|0])|0;N=(a>>>0<256?a:a>>31^-1)&255;a=d+w(f,o[e+7|0])|0;O=(a>>>0<256?a:a>>31^-1)&255;while(1){a=j;e=r[((((a&3)<<4)+b|0)+(a&-4)|0)+3|0];d=F-e|0;k=d>>31;a=H-e|0;l=a>>31;m=I-e|0;n=m>>31;s=K-e|0;t=s>>31;u=L-e|0;v=u>>31;f=M-e|0;z=f>>31;g=N-e|0;A=g>>31;e=O-e|0;B=e>>31;d=(k^d+k)<<3;a=(l^a+l)<<3|1;d=a>>>0>d>>>0?d:a;a=(n^n+m)<<3|2;d=a>>>0>d>>>0?d:a;a=(t^t+s)<<3|3;d=a>>>0>d>>>0?d:a;a=(v^v+u)<<3|4;d=a>>>0>d>>>0?d:a;a=(z^f+z)<<3|5;d=a>>>0>d>>>0?d:a;a=(A^g+A)<<3|6;d=a>>>0>d>>>0?d:a;a=(B^e+B)<<3|7;e=(a>>>0>d>>>0?d:a)&7;d=Owa(j,i,-3,-1)+45|0;a=d;d=d&31;if((a&63)>>>0>=32){a=e<>>32-d;d=e<>>0<1?i+1|0:i;j=a;if((a|0)!=16|i){continue}break}ot(c,C,D);return}J(101146,92069,14563,101162);G()}a=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[c+2|0]=a;o[c+3|0]=a>>>8;o[c+4|0]=a>>>16;o[c+5|0]=a>>>24;a=r[101144]|r[101145]<<8;o[c+6|0]=a;o[c+7|0]=a>>>8}function AK(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=x(0),n=x(0),o=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=0,N=0,O=0;l=ti-80|0;ti=l;a:{b:{if(!b){a=0;Ai(4,7418,8219,0);break b}k=q[a>>2];c:{if(r[k+3272|0]&2){Ai(3,7418,11633,0);break c}a=Gv(k,b,c);if(!a){break c}Rp(q[k>>2],b);o=u[h>>2];v=u[h+4>>2];E=u[h+8>>2];u[a+24>>2]=E;u[a+20>>2]=v;u[a+16>>2]=o;m=u[i>>2];n=u[i+4>>2];C=u[i+8>>2];D=u[i+12>>2];u[a+12>>2]=D;u[a+8>>2]=C;u[a+4>>2]=n;u[a>>2]=m;z=u[j>>2];A=u[j+4>>2];B=u[j+8>>2];u[a+40>>2]=B;u[a+36>>2]=A;u[a+32>>2]=z;d:{e:{h=q[a+140>>2]&32767;b=q[k+3128>>2];if(h>>>0>2]-b>>6>>>0){b=b+(h<<6)|0;u[b+48>>2]=o;o=x(C+C);F=x(m*o);y=x(n+n);H=x(y*D);u[b+32>>2]=x(F+H)*B;I=x(m*y);K=x(D*o);u[b+16>>2]=x(I-K)*A;u[b+12>>2]=z*x(0);u[b+8>>2]=x(F-H)*z;u[b+4>>2]=x(I+K)*z;q[b+60>>2]=1065353216;u[b+56>>2]=E;u[b+52>>2]=v;u[b+44>>2]=B*x(0);v=m;m=x(m+m);v=x(x(1)-x(v*m));y=x(n*y);u[b+40>>2]=x(v-y)*B;n=x(n*o);m=x(m*D);u[b+36>>2]=x(n-m)*B;u[b+28>>2]=A*x(0);u[b+24>>2]=x(n+m)*A;m=x(C*o);u[b+20>>2]=x(v-m)*A;u[b>>2]=x(x(x(1)-y)-m)*z;b=a+104|0;hn(b,1);h=b;b=q[59618];ll(h,b,Ui(b));q[l+56>>2]=a;h=k+3144|0;f:{g:{b=q[k+3148>>2];h:{if(!b){break h}b=q[q[h>>2]+(Qwa(d,e,b)<<2)>>2];if((b|0)==-1){break h}i=q[k+3152>>2];while(1){b=i+(b<<4)|0;if((d|0)==q[b>>2]&(e|0)==q[b+4>>2]){break g}b=q[b+12>>2];if((b|0)!=-1){continue}break}}if(q[a+96>>2]!=q[74208]|q[a+100>>2]!=q[74209]){break f}q[a+96>>2]=d;q[a+100>>2]=e;Wq(h,d,e,l+56|0);if(t[k+3168>>2]<=s[k+1058>>1]){break f}J(7941,7291,1e3,8205);G()}q[l+48>>2]=Mi(d,e);Ai(4,7418,11695,l+48|0);gr(k,a);break c}if(!et(k,a)){b=q[a+96>>2];d=q[a+100>>2];if((b|0)!=q[74208]|(d|0)!=q[74209]){Xq(h,b,d);b=q[74209];q[a+96>>2]=q[74208];q[a+100>>2]=b}gr(k,a);break c}b=q[a+84>>2];j=q[b+4>>2];i:{if(!j){break i}O=q[b>>2];e=l+56|4;h=0;L=1;b=0;while(1){M=w(b,96)+O|0;i=q[M+16>>2];N=q[i+100>>2];j:{if(nj(q[i+4>>2],10956)|!q[i+80>>2]){break j}d=e;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[l+72>>2]=((h<<2)+a|0)+156&N<<15>>31;q[l+56>>2]=a;d=dL(q[i+16>>2],f,g);q[l+68>>2]=d;if(d){q[l+64>>2]=27;q[l+60>>2]=28;if(!(xi[q[q[M+16>>2]+80>>2]](l+56|0)|0)){break j}b=11830}else{b=11773}q[l+32>>2]=c;Ai(4,7418,b,l+32|0);if(!L){break i}break d}h=((N&65536)>>>16|0)+h|0;b=b+1|0;L=j>>>0>b>>>0;if((b|0)!=(j|0)){continue}break}}if(!xA(k,a)){q[l+16>>2]=c;Ai(4,7418,11734,l+16|0);break d}c=q[a+148>>2];if(c&32768){break e}d=q[a+140>>2];b=d;if(b&32768){break b}q[a+148>>2]=c|32768;b=b&32767;c=s[k+3266>>1];k:{if((c|0)!=32767){d=q[k+1036>>2];if(c>>>0>=q[k+1040>>2]-d>>2>>>0){break a}p[q[d+(c<<2)>>2]+146>>1]=b;break k}p[k+3264>>1]=b}p[k+3266>>1]=b;break b}break a}J(11594,7291,1021,11621);G()}dt(k,a,0)}q[l>>2]=c;Ai(4,7418,8247,l);a=0}ti=l+80|0;return a}J(12518,10061,479,9553);G()}function cy(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{b=r[a+1388|0];if(b){break p}h=-1;if(q[a+1396>>2]){break n}d=q[a+1392>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break n}if(!(o[a+1387|0]&1)){break o}d=q[a+1392>>2]}c=d+1|0;q[a+1392>>2]=c;b=r[(a+d|0)+1132|0];if((b|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=b;if(b){break p}q[a+1408>>2]=0;g=a+1408|0;break m}o[a+1388|0]=b-1;q[a+1412>>2]=q[a+1412>>2]+1;b=q[a+44>>2];q:{r:{if(b){if(b>>>0>=t[a+52>>2]){break r}q[a+44>>2]=b+1;b=r[b|0];break q}b=ej(q[a+32>>2]);if((b|0)!=-1){break q}}q[a+108>>2]=1;b=0}h=b&255;break n}q[a+112>>2]=32}q[a+1408>>2]=0;g=a+1408|0;b=r[a+1388|0];if(b){break l}}d=-1;if(q[a+1396>>2]){break j}d=q[a+1392>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;d=-1;break j}if(!(o[a+1387|0]&1)){break k}d=q[a+1392>>2]}c=d+1|0;q[a+1392>>2]=c;b=r[(a+d|0)+1132|0];if((b|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if((c|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=b;if(b){break l}q[g>>2]=0;d=-1;break i}o[a+1388|0]=b-1;q[a+1412>>2]=q[a+1412>>2]+1;b=q[a+44>>2];s:{t:{if(b){if(b>>>0>=t[a+52>>2]){break t}q[a+44>>2]=b+1;b=r[b|0];break s}b=ej(q[a+32>>2]);if((b|0)!=-1){break s}}q[a+108>>2]=1;b=0}d=b&255;break j}q[a+112>>2]=32;d=-1}q[a+1408>>2]=0;b=r[a+1388|0];if(b){break h}}b=-1;if(q[a+1396>>2]){break f}c=q[a+1392>>2];if((c|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break f}if(!(o[a+1387|0]&1)){break g}c=q[a+1392>>2]}e=c+1|0;q[a+1392>>2]=e;b=r[(a+c|0)+1132|0];if((b|0)!=255){q[a+1400>>2]=c;q[a+1396>>2]=1}if((e|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=b;if(b){break h}q[g>>2]=0;b=-1;break e}o[a+1388|0]=b-1;q[a+1412>>2]=q[a+1412>>2]+1;b=q[a+44>>2];u:{v:{if(b){if(b>>>0>=t[a+52>>2]){break v}q[a+44>>2]=b+1;b=r[b|0];break u}b=ej(q[a+32>>2]);if((b|0)!=-1){break u}}q[a+108>>2]=1;b=0}b=b&255;break f}q[a+112>>2]=32}q[a+1408>>2]=0;e=r[a+1388|0];if(e){break d}}c=-16777216;if(q[a+1396>>2]){break b}f=q[a+1392>>2];if((f|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break b}if(!(o[a+1387|0]&1)){break c}f=q[a+1392>>2]}i=f+1|0;q[a+1392>>2]=i;e=r[(a+f|0)+1132|0];if((e|0)!=255){q[a+1400>>2]=f;q[a+1396>>2]=1}if(q[a+1128>>2]<=(i|0)){q[a+1392>>2]=-1}if(r[a+1388|0]){break a}o[a+1388|0]=e;if(!e){break b}}o[a+1388|0]=e-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];w:{x:{if(c){if(c>>>0>=t[a+52>>2]){break x}q[a+44>>2]=c+1;c=r[c|0];break w}c=ej(q[a+32>>2]);if((c|0)!=-1){break w}}q[a+108>>2]=1;c=0}c=c<<24;break b}q[a+112>>2]=32}q[g>>2]=0;return(((d<<8)+h|0)+(b<<16)|0)+c|0}J(205744,205607,1555,205765);G()}function Or(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+4>>2];g=a+80|0;f=q[a>>2];d=f&127;o[g+d|0]=128;e=d+1|0;a:{if(d>>>0<=111){Fi((a+e|0)+80|0,0,111-d|0);break a}Fi((a+e|0)+80|0,0,d^127);Zr(a,g);Fi(g,0,112);f=q[a>>2];c=q[a+4>>2]}o[a+206|0]=(c&31)<<27|f>>>5;o[a+205|0]=(c&8191)<<19|f>>>13;o[a+204|0]=(c&2097151)<<11|f>>>21;o[a+203|0]=(c&536870911)<<3|f>>>29;o[a+202|0]=c>>>5;o[a+201|0]=c>>>13;o[a+200|0]=c>>>21;o[a+207|0]=f<<3;e=q[a+12>>2];d=e;e=q[a+8>>2];o[a+198|0]=(d&31)<<27|e>>>5;o[a+197|0]=(d&8191)<<19|e>>>13;o[a+196|0]=(d&2097151)<<11|e>>>21;o[a+195|0]=(d&536870911)<<3|e>>>29;o[a+194|0]=d>>>5;o[a+193|0]=d>>>13;o[a+192|0]=d>>>21;o[a+199|0]=e<<3|c>>>29;Zr(a,g);o[b|0]=r[a+23|0];o[b+1|0]=s[a+22>>1];o[b+2|0]=q[a+20>>2]>>>8;o[b+3|0]=q[a+20>>2];o[b+4|0]=(q[a+20>>2]&16777215)<<8|q[a+16>>2]>>>24;o[b+5|0]=(q[a+20>>2]&65535)<<16|q[a+16>>2]>>>16;o[b+6|0]=(q[a+20>>2]&255)<<24|q[a+16>>2]>>>8;o[b+7|0]=q[a+16>>2];o[b+8|0]=r[a+31|0];o[b+9|0]=s[a+30>>1];o[b+10|0]=q[a+28>>2]>>>8;o[b+11|0]=q[a+28>>2];o[b+12|0]=(q[a+28>>2]&16777215)<<8|q[a+24>>2]>>>24;o[b+13|0]=(q[a+28>>2]&65535)<<16|q[a+24>>2]>>>16;o[b+14|0]=(q[a+28>>2]&255)<<24|q[a+24>>2]>>>8;o[b+15|0]=q[a+24>>2];o[b+16|0]=r[a+39|0];o[b+17|0]=s[a+38>>1];o[b+18|0]=q[a+36>>2]>>>8;o[b+19|0]=q[a+36>>2];o[b+20|0]=(q[a+36>>2]&16777215)<<8|q[a+32>>2]>>>24;o[b+21|0]=(q[a+36>>2]&65535)<<16|q[a+32>>2]>>>16;o[b+22|0]=(q[a+36>>2]&255)<<24|q[a+32>>2]>>>8;o[b+23|0]=q[a+32>>2];o[b+24|0]=r[a+47|0];o[b+25|0]=s[a+46>>1];o[b+26|0]=q[a+44>>2]>>>8;o[b+27|0]=q[a+44>>2];o[b+28|0]=(q[a+44>>2]&16777215)<<8|q[a+40>>2]>>>24;o[b+29|0]=(q[a+44>>2]&65535)<<16|q[a+40>>2]>>>16;o[b+30|0]=(q[a+44>>2]&255)<<24|q[a+40>>2]>>>8;o[b+31|0]=q[a+40>>2];o[b+32|0]=r[a+55|0];o[b+33|0]=s[a+54>>1];o[b+34|0]=q[a+52>>2]>>>8;o[b+35|0]=q[a+52>>2];o[b+36|0]=(q[a+52>>2]&16777215)<<8|q[a+48>>2]>>>24;o[b+37|0]=(q[a+52>>2]&65535)<<16|q[a+48>>2]>>>16;o[b+38|0]=(q[a+52>>2]&255)<<24|q[a+48>>2]>>>8;o[b+39|0]=q[a+48>>2];o[b+40|0]=r[a+63|0];o[b+41|0]=s[a+62>>1];o[b+42|0]=q[a+60>>2]>>>8;o[b+43|0]=q[a+60>>2];o[b+44|0]=(q[a+60>>2]&16777215)<<8|q[a+56>>2]>>>24;o[b+45|0]=(q[a+60>>2]&65535)<<16|q[a+56>>2]>>>16;o[b+46|0]=(q[a+60>>2]&255)<<24|q[a+56>>2]>>>8;o[b+47|0]=q[a+56>>2];if(!q[a+208>>2]){o[b+48|0]=r[a+71|0];o[b+49|0]=s[a+70>>1];c=a- -64|0;e=q[c+4>>2];o[b+50|0]=e>>>8;o[b+51|0]=q[a+68>>2];o[b+52|0]=(q[c+4>>2]&16777215)<<8|q[c>>2]>>>24;o[b+53|0]=(q[c+4>>2]&65535)<<16|q[c>>2]>>>16;o[b+54|0]=(q[c+4>>2]&255)<<24|q[c>>2]>>>8;o[b+55|0]=q[c>>2];o[b+56|0]=r[a+79|0];o[b+57|0]=s[a+78>>1];o[b+58|0]=q[a+76>>2]>>>8;o[b+59|0]=q[a+76>>2];o[b+60|0]=(q[a+76>>2]&16777215)<<8|q[a+72>>2]>>>24;o[b+61|0]=(q[a+76>>2]&65535)<<16|q[a+72>>2]>>>16;o[b+62|0]=(q[a+76>>2]&255)<<24|q[a+72>>2]>>>8;o[b+63|0]=q[a+72>>2]}return 0}function _N(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0);g=ti-48|0;ti=g;e=a+160|0;f=a+320|0;d=q[a+464>>2];c=q[a+304>>2];a:{if(c>>>0>=t[a+144>>2]){if(c>>>0<=d>>>0){break a}ak(e,f);if(t[a+304>>2]>=t[a+144>>2]){break a}ak(a,e);break a}if(c>>>0>d>>>0){ak(a,f);break a}ak(a,e);if(t[a+464>>2]>=t[a+304>>2]){break a}ak(e,f)}e=a+480|0;if((e|0)!=(b|0)){while(1){h=q[e+144>>2];if(h>>>0>2]){i=u[e+56>>2];j=u[e+52>>2];k=u[e+44>>2];l=u[e+40>>2];m=u[e+36>>2];n=u[e+28>>2];o=u[e+24>>2];p=u[e+20>>2];r=u[e+48>>2];s=u[e+32>>2];v=u[e+16>>2];w=u[e+8>>2];y=u[e+4>>2];z=u[e>>2];q[g+44>>2]=q[e+88>>2];c=q[e+84>>2];q[g+36>>2]=q[e+80>>2];q[g+40>>2]=c;c=q[e+76>>2];q[g+28>>2]=q[e+72>>2];q[g+32>>2]=c;c=q[e+68>>2];q[g+20>>2]=q[e+64>>2];q[g+24>>2]=c;A=u[e+136>>2];B=u[e+132>>2];C=u[e+124>>2];D=u[e+120>>2];E=u[e+116>>2];F=u[e+108>>2];G=u[e+104>>2];H=u[e+100>>2];I=u[e+128>>2];J=u[e+112>>2];K=u[e+96>>2];q[g+8>>2]=q[e+156>>2];c=q[e+152>>2];q[g>>2]=q[e+148>>2];q[g+4>>2]=c;c=e;while(1){b:{d=f;u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];f=q[d+68>>2];q[c+64>>2]=q[d+64>>2];q[c+68>>2]=f;f=q[d+76>>2];q[c+72>>2]=q[d+72>>2];q[c+76>>2]=f;f=q[d+84>>2];q[c+80>>2]=q[d+80>>2];q[c+84>>2]=f;q[c+88>>2]=q[d+88>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];f=q[d+148>>2];q[c+144>>2]=q[d+144>>2];q[c+148>>2]=f;f=q[d+156>>2];q[c+152>>2]=q[d+152>>2];q[c+156>>2]=f;if((a|0)==(d|0)){c=a;break b}f=d-160|0;c=d;if(t[c-16>>2]>h>>>0){continue}}break}u[c+48>>2]=r;u[c+32>>2]=s;u[c+16>>2]=v;u[c+8>>2]=w;u[c+4>>2]=y;u[c>>2]=z;u[c+56>>2]=i;u[c+52>>2]=j;u[c+44>>2]=k;u[c+40>>2]=l;u[c+36>>2]=m;u[c+28>>2]=n;u[c+24>>2]=o;u[c+20>>2]=p;d=d- -64|0;q[d+24>>2]=q[g+44>>2];f=q[g+40>>2];q[d+16>>2]=q[g+36>>2];q[d+20>>2]=f;f=q[g+32>>2];q[d+8>>2]=q[g+28>>2];q[d+12>>2]=f;f=q[g+24>>2];q[d>>2]=q[g+20>>2];q[d+4>>2]=f;q[c+144>>2]=h;u[c+136>>2]=A;u[c+132>>2]=B;u[c+128>>2]=I;u[c+124>>2]=C;u[c+120>>2]=D;u[c+116>>2]=E;u[c+112>>2]=J;u[c+108>>2]=F;u[c+104>>2]=G;u[c+100>>2]=H;u[c+96>>2]=K;f=q[g+4>>2];q[c+148>>2]=q[g>>2];q[c+152>>2]=f;q[c+156>>2]=q[g+8>>2]}f=e;e=e+160|0;if((e|0)!=(b|0)){continue}break}}ti=g+48|0}function Zy(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,p=0,s=0,t=0,u=0;e=ti-160|0;ti=e;a:{b:{c:{d:{h=xi[q[77462]](q[a+2384>>2],b,c)|0;e:{if(!h){break e}d=Oi(112);q[d+32>>2]=0;q[d+36>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+104>>2]=1;q[d+12>>2]=c;q[d+8>>2]=b;q[d>>2]=a;q[d+4>>2]=h;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;a=d- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+36>>2]=-1;h=xi[q[77473]](h)|0;c=0;q[e+24>>2]=0;f:{if(!h){f=0;break f}f=0;a=0;while(1){q[e+28>>2]=-1;xi[q[77472]](q[d+4>>2],a,e+32|0,128,e+28|0,e+24|0)|0;b=q[e+28>>2];g:{if(b-7>>>0<=1){c=c+1|0;break g}if(b-9>>>0<=2){f=f+1|0;break g}q[e+4>>2]=b;q[e>>2]=e+32;Ai(3,108761,108768,e)}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=c+f|0;if(a){Ns(d+16|0,a,a<<1);if(o[d+60|0]&1){break b}Ii(c,40,d+48|0,d+56|0,d+52|0)}if(f){if(o[d+76|0]&1){break b}Ii(f,40,d- -64|0,d+72|0,d+68|0);c=0;while(1){a=q[d+68>>2];if((a|0)==q[d+72>>2]){break a}q[d+68>>2]=a+40;q[a+32>>2]=16777215;q[a+24>>2]=1;q[a+28>>2]=1065353216;q[a+16>>2]=2;q[a+20>>2]=1;q[a+8>>2]=0;q[a+12>>2]=5;q[a>>2]=0;q[a+4>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!h){break e}k=d+16|0;f=0;c=0;while(1){b=xi[q[77472]](q[d+4>>2],f,e+32|0,128,e+28|0,e+24|0)|0;a=xi[q[77474]](q[d+4>>2],e+32|0)|0;q[e+20>>2]=a;h:{if((a|0)==-1){break h}a=0;if(!b){J(108810,108830,106,108857);G()}i:{while(1){g=(e+32|0)+a|0;if(r[g|0]!=91){a=a+1|0;if((b|0)!=(a|0)){continue}break i}break}o[g|0]=0}a=zi(e+32|0);b=wi;g=q[e+28>>2];if(g-7>>>0<=1){Os(k,a,b,e+20|0);g=_y(a,b);q[g+20>>2]=q[e+20>>2];if(q[e+28>>2]==8){q[e+24>>2]=q[e+24>>2]<<2;q[g+16>>2]=9}b=q[e+24>>2];j:{if(c>>>0>=b>>>0){a=b;b=c;break j}a=b;if(i){yi(i);a=q[e+24>>2]}c=b<<4;i=Oi((b&268435455)!=(b|0)?-1:c);Fi(i,0,c)}Js(g,i,a);c=0;l=0;m=0;n=0;p=0;s=0;t=0;u=0;if(q[e+28>>2]==7){a=Ui(e+32|0);Bk(e+32|0,108869,128);m=zi(e+32|0);n=wi;a=a+(e+32|0)|0;o[a|0]=0;Bk(e+32|0,108872,128);c=zi(e+32|0);l=wi;o[a|0]=0;Bk(e+32|0,108875,128);p=zi(e+32|0);s=wi;o[a|0]=0;Bk(e+32|0,108878,128);t=zi(e+32|0);o[a|0]=0;u=wi}a=q[d+52>>2];if((a|0)==q[d+56>>2]){break a}q[d+52>>2]=a+40;q[a+32>>2]=t;q[a+36>>2]=u;q[a+24>>2]=p;q[a+28>>2]=s;q[a+16>>2]=c;q[a+20>>2]=l;q[a+8>>2]=m;q[a+12>>2]=n;q[a>>2]=g;c=b;break h}if(g-9>>>0>2){break h}Os(k,a,b,e+20|0);a=q[d+64>>2];if((q[d+68>>2]-a|0)/40>>>0<=j>>>0){break d}a=a+w(j,40)|0;o[a+35|0]=r[e+24|0];b=q[e+28>>2]-9|0;if(b>>>0>=3){break c}q[a+8>>2]=q[(b<<2)+109424>>2];j=j+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}if(!i){break e}yi(i)}ti=e+160|0;return d}J(109402,109229,479,109413);G()}J(108881,108830,189,108857);G()}J(109154,109229,493,109077);G()}J(109285,109229,533,109309);G()}function pZ(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,p=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=q[a+12>>2]-1|0;c=q[a+16>>2];w=f+(c-b|0)|0;j=q[a+28>>2];k=q[j+48>>2];n=q[j+40>>2];x=k+n|0;m=q[j+52>>2]-1|0;y=-1<>2]^-1;z=-1<>2]^-1;p=(c+f|0)-257|0;i=q[a>>2]-1|0;t=(i+q[a+4>>2]|0)-5|0;u=q[j+80>>2];v=q[j+76>>2];g=q[j+60>>2];b=q[j+56>>2];A=q[j+44>>2];while(1){if(g>>>0<=14){b=((r[i+1|0]<>>c|0;h=s[e+2>>1];a:{b:{c:{d=r[e|0];if(!d){break c}d:{e:{f:{B=j;C=a;g:{h:{i:{while(1){e=d&255;if(d&16){h=h&65535;e=e&15;j:{if(!e){c=i;break j}if(e>>>0<=g>>>0){c=i}else{b=(r[i+1|0]<>>e|0}d=b;if(g>>>0<=14){d=((r[c+1|0]<>>b|0;e=s[i+2>>1];d=r[i|0];if(d&16){break i}while(1){if(!(d&64)){d=(((-1<>>i|0;e=s[d+2>>1];d=r[d|0];if(!(d&16)){continue}break i}break}i=c;c=187262;break h}if(!(e&64)){e=(((-1<>>c|0;h=s[e+2>>1];d=r[e|0];if(!d){break c}continue}break}c=11;if(e&32){break g}c=187284;break h}l=e&65535;d=d&15;k:{if(d>>>0<=g>>>0){e=g;i=c;break k}b=(r[c+1|0]<>>0<=e>>>0){break k}b=(r[c+2|0]<>>d|0;l=c+l|0;c=f-w|0;if(l>>>0<=c>>>0){break e}c=l-c|0;if(!q[j+7104>>2]|c>>>0<=A>>>0){break f}c=187232}q[C+24>>2]=c;c=29}q[B>>2]=c;break a}l:{m:{if(!k){d=(n-c|0)+m|0;break m}if(c>>>0>k>>>0){d=(x-c|0)+m|0;c=c-k|0;e=c;if(h>>>0<=c>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=m;e=k;h=h-c|0;if(e>>>0>=h>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=f-l|0;h=h-k|0;break l}d=(k-c|0)+m|0}e=c;if(h>>>0<=c>>>0){break l}while(1){o[f+1|0]=r[d+1|0];f=f+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}d=f-l|0;h=h-c|0}if(h>>>0>=3){while(1){o[f+1|0]=r[d+1|0];o[f+2|0]=r[d+2|0];o[f+3|0]=r[d+3|0];f=f+3|0;d=d+3|0;h=h-3|0;if(h>>>0>2){continue}break}}if(!h){break b}o[f+1|0]=r[d+1|0];if((h|0)!=1){break d}f=f+1|0;break b}c=f-l|0;while(1){d=f;e=c;o[d+1|0]=r[c+1|0];o[d+2|0]=r[c+2|0];o[d+3|0]=r[c+3|0];f=d+3|0;c=c+3|0;h=h-3|0;if(h>>>0>2){continue}break}if(!h){break b}o[d+4|0]=r[e+4|0];if((h|0)==1){f=d+4|0;break b}o[d+5|0]=r[e+5|0];f=d+5|0;break b}o[f+2|0]=r[d+2|0];f=f+2|0;break b}o[f+1|0]=h;f=f+1|0}if(f>>>0>=p>>>0){break a}if(i>>>0>>0){continue}}break}q[a+12>>2]=f+1;q[a+16>>2]=(p-f|0)+257;c=i-(g>>>3|0)|0;q[a>>2]=c+1;q[a+4>>2]=(t-c|0)+5;a=g&7;q[j+60>>2]=a;q[j+56>>2]=(-1<>2];if(d){while(1){c=q[q[a+40>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){c=q[a+48>>2]+w(c,960)|0;a:{b:{if(u[c+8>>2]!=x(0)){break b}d=q[c+948>>2];if(d&48|d&526|(q[c+796>>2]|q[c+532>>2]>0)){break b}if(q[c>>2]|q[c+4>>2]){break a}if(q[c+28>>2]){break b}if(!(q[c+32>>2]|d&256)){break a}}ji[12](q[c>>2],q[c+4>>2],c+8|0,b)}c=q[c+952>>2];if((c|0)!=-1){continue}break}d=q[a+44>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}c=q[a+12>>2];d=q[a+16>>2];if((c|0)!=(d|0)){while(1){f=q[(g<<2)+c>>2];c:{if(!f){break c}e=q[f+312>>2];if(!e){break c}d=0;while(1){c=q[q[f+308>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){c=q[f+316>>2]+w(c,960)|0;d:{e:{if(u[c+8>>2]!=x(0)){break e}e=q[c+948>>2];if(e&48|e&526|(q[c+796>>2]|q[c+532>>2]>0)){break e}if(q[c>>2]|q[c+4>>2]){break d}if(q[c+28>>2]){break e}if(!(q[c+32>>2]|e&256)){break d}}ji[12](q[c>>2],q[c+4>>2],c+8|0,b)}c=q[c+952>>2];if((c|0)!=-1){continue}break}e=q[f+312>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}c=q[a+12>>2];d=q[a+16>>2]}g=g+1|0;if(g>>>0>2>>>0){continue}break}}}function HH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/40|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,40)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+32>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+40;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,40)|0;q[a+20>>2]=q[e+32>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;q[e+32>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,40)|0;f=q[b+32>>2];if((f|0)!=-1){continue}break}q[b+32>>2]=(e-d|0)/40;break a}J(186416,186252,226,186424);G()}c=q[d+4>>2];a=g+w(f,40)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(186428,186252,470,186490);G()}q[b>>2]=(e-d|0)/40}q[a+24>>2]=q[a+24>>2]+1}function Pq(a,b,c,d){var e=0,f=0,g=0;e=fi-128|0;fi=e;a:{f=s[b+560>>1];if((f|0)!=65535){g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=f>>>0){break a}PI(a,w(f,576)+g|0,e- -64|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&32):0)){Pu(a,b)}u[d>>2]=u[b+320>>2];u[d+4>>2]=u[b+324>>2];u[d+8>>2]=u[b+328>>2];u[d+12>>2]=u[b+332>>2];u[d+16>>2]=u[b+336>>2];u[d+20>>2]=u[b+340>>2];u[d+24>>2]=u[b+344>>2];u[d+28>>2]=u[b+348>>2];u[d+32>>2]=u[b+352>>2];u[d+36>>2]=u[b+356>>2];u[d+40>>2]=u[b+360>>2];u[d+44>>2]=u[b+364>>2];u[d+48>>2]=u[b+368>>2];u[d+52>>2]=u[b+372>>2];u[d+56>>2]=u[b+376>>2];u[d+60>>2]=u[b+380>>2];RI(b,c,d);if(s[b+560>>1]!=65535){Dk(e,e- -64|0,d);u[d>>2]=u[e>>2];u[d+4>>2]=u[e+4>>2];u[d+8>>2]=u[e+8>>2];u[d+12>>2]=u[e+12>>2];u[d+16>>2]=u[e+16>>2];u[d+20>>2]=u[e+20>>2];u[d+24>>2]=u[e+24>>2];u[d+28>>2]=u[e+28>>2];u[d+32>>2]=u[e+32>>2];u[d+36>>2]=u[e+36>>2];u[d+40>>2]=u[e+40>>2];u[d+44>>2]=u[e+44>>2];u[d+48>>2]=u[e+48>>2];u[d+52>>2]=u[e+52>>2];u[d+56>>2]=u[e+56>>2];u[d+60>>2]=u[e+60>>2]}fi=e+128|0;return}J(186773,186599,447,186784);G()}function Qz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if((e|0)==65535){f=0}else{f=q[c>>2];if((q[c+4>>2]-f|0)/24>>>0<=e>>>0){break a}f=f+w(e,24)|0}b:{c:{if((b|0)!=65535){l=f?f+4|0:0;while(1){g=b&65535;f=q[a+32>>2];if(g>>>0>=(q[a+36>>2]-f|0)/576>>>0){break a}f=f+w(g,576)|0;g=q[f+412>>2];d:{if(!(g&1048576)){break d}e:{switch(g>>>23&3){case 2:g=q[c+4>>2];i=q[c>>2];k=g-i|0;h=(k|0)/24|0;j=h+1|0;if(j>>>0>(q[c+8>>2]-i|0)/24>>>0){break c}q[c+4>>2]=w(j,24)+i;if(!j){break b}p[g+18>>1]=65535;p[g+16>>1]=e;p[g+20>>1]=b;q[g+8>>2]=-1;q[g+12>>2]=-1;p[f+570>>1]=h;if(r[f+415|0]&4){$H(f,g,g+4|0,l,s[d+8>>1],0,0,s[d+4>>1]);p[d+8>>1]=s[d+8>>1]+1;Qz(a,s[f+562>>1],c,d,h&65535);break d}if(s[d>>1]==65535){b=d}else{b=s[d+2>>1];if(b>>>0>=(k+24|0)/24>>>0){break a}b=(w(b,24)+i|0)+18|0}p[b>>1]=h;p[d+2>>1]=h;p[d+6>>1]=s[d+6>>1]+1;break d;case 0:break e;default:break d}}p[f+570>>1]=e;Qz(a,s[f+562>>1],c,d,e)}b=s[f+558>>1];if((b|0)!=65535){continue}break}}return}J(187316,186599,474,187335);G()}J(186588,186599,403,186678);G()}J(186773,186599,447,186784);G()}function vE(a,b,c,d,e){var f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=0;if(!(a&3)){if((a|0)>=4){k=a>>>2|0;a=(c<<2)+b|0;d=a+(d<<2)|0;while(1){b=d-4|0;g=u[b>>2];i=u[a>>2];j=u[d>>2];u[a>>2]=i+j;c=a-4|0;f=u[c>>2];u[c>>2]=f+u[b>>2];i=x(i-j);f=x(f-g);u[d>>2]=x(i*u[e>>2])-x(f*u[e+4>>2]);u[b>>2]=x(f*u[e>>2])+x(i*u[e+4>>2]);b=d-12|0;i=u[b>>2];c=a-8|0;f=u[c>>2];h=c;c=d-8|0;j=u[c>>2];u[h>>2]=f+j;h=a-12|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+32>>2])-x(g*u[e+36>>2]);u[b>>2]=x(g*u[e+32>>2])+x(f*u[e+36>>2]);b=d-20|0;i=u[b>>2];c=a-16|0;f=u[c>>2];h=c;c=d-16|0;j=u[c>>2];u[h>>2]=f+j;h=a-20|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+64>>2])-x(g*u[e+68>>2]);u[b>>2]=x(g*u[e+64>>2])+x(f*u[e+68>>2]);b=d-28|0;i=u[b>>2];c=a-24|0;f=u[c>>2];h=c;c=d-24|0;j=u[c>>2];u[h>>2]=f+j;h=a-28|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+96>>2])-x(g*u[e+100>>2]);u[b>>2]=x(g*u[e+96>>2])+x(f*u[e+100>>2]);d=d-32|0;a=a-32|0;e=e+128|0;b=(k|0)>1;k=k-1|0;if(b){continue}break}}return}J(204336,202968,2449,204349);G()}function fj(a,b){var c=0,d=0,e=0;a:{b:{c=q[a+1412>>2];if((c|0)<0){break b}if((b|0)>(c|0)){if((b|0)>=25){break a}if(!c){q[a+1408>>2]=0}while(1){c:{d:{e:{f:{g:{c=r[a+1392|0];if(!c){if(q[a+1400>>2]){break f}d=q[a+1396>>2];if((d|0)==-1){q[a+1404>>2]=q[a+1132>>2]-1;if(!el(a)){q[a+1400>>2]=1;break f}if(!(o[a+1391|0]&1)){break g}d=q[a+1396>>2]}e=d+1|0;q[a+1396>>2]=e;c=r[(a+d|0)+1136|0];if((c|0)!=255){q[a+1404>>2]=d;q[a+1400>>2]=1}if((e|0)>=q[a+1132>>2]){q[a+1396>>2]=-1}if(r[a+1392|0]){break e}o[a+1392|0]=c;if(!c){break f}}o[a+1392|0]=c-1;q[a+1416>>2]=q[a+1416>>2]+1;c=q[a+32>>2];h:{if(c){if(c>>>0>=t[a+40>>2]){break d}q[a+32>>2]=c+1;c=r[c|0];break h}c=pj(q[a+20>>2]);if((c|0)==-1){break d}}d=c&255;break c}q[a+116>>2]=32}q[a+1412>>2]=-1;break b}J(203021,202968,1480,203042);G()}q[a+112>>2]=1;d=0}e=q[a+1412>>2];c=e+8|0;q[a+1412>>2]=c;q[a+1408>>2]=q[a+1408>>2]+(d<(c|0)){continue}break}if((e|0)<-8){break b}}q[a+1412>>2]=c-b;d=a;a=q[a+1408>>2];q[d+1408>>2]=a>>>b;return a&(-1<>2]-q[a+12>>2]>>4;q[c+56>>2]=0;f=d+1|0;a:{b:{c:{d:{if(!b){Bi(a,128780,6);d=q[51430];q[c+60>>2]=d;break d}q[c+48>>2]=b;nj(a,128787,c+48|0);d=sk(b,128791);q[c+60>>2]=d;if(d){break d}b=Uk(q[240833]);d=_i(a,f,0);q[c+40>>2]=b;q[c+32>>2]=128793;q[c+36>>2]=d+1;nj(a,128813,c+32|0);break c}e:{e=pj(d);if((e|0)==35){q[c+56>>2]=1;f:{while(1){g:{switch(pj(d)+1|0){case 0:break g;case 11:break f;default:continue}}break}g=(b|0)!=0;e=-1;break e}e=pj(d)}g=(b|0)!=0;if(!b|(e|0)!=27){break e}d=RZ(b,d);q[c+60>>2]=d;if(d){while(1){e=pj(d);if((e|0)!=-1?(e|0)!=27:0){continue}break}q[c+56>>2]=0;g=1;break e}b=Uk(q[240833]);d=_i(a,f,0);q[c+8>>2]=b;q[c>>2]=128801;q[c+4>>2]=d+1;nj(a,128813,c);break c}DB(e,d);d=ox(a,1e3,c+56|0,_i(a,-1,0));e=q[c+60>>2];b=e;h:{if(q[b+76>>2]<=-1){b=q[b>>2];break h}b=q[b>>2]}b=b>>>5&1;if(g){Qj(e)}if(!b){break b}oi(a,f);b=Uk(q[240833]);d=_i(a,f,0);q[c+24>>2]=b;q[c+16>>2]=128808;q[c+20>>2]=d+1;nj(a,128813,c+16|0)}Ok(a,f);d=6;break a}Ok(a,f)}fi=c+1088|0;return d}function SD(a,b){var c=0,d=0;a:{b:{c:{d:{if((b|0)>=1){c=(q[a+12>>2]+(b<<4)|0)-16|0;c=c>>>0>2]?c:126472;break d}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break d}e:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break d;case 1:c=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=c;c=a+88|0;break d;case 0:c=a+72|0;break d;default:break e}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}switch(q[c+8>>2]-2|0){case 3:case 4:case 6:break c;case 0:case 5:break b;default:break a}}return q[c>>2]}f:{g:{h:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break h}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break h}i:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break h;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break h;case 0:c=a+72|0;break h;default:break i}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}a=c;switch(q[a+8>>2]-2|0){case 0:break f;case 5:break g;default:break a}}return q[a>>2]+32|0}d=q[a>>2]}return d}function HJ(a,b,c,d,e){var f=0,g=0;f=fi-48|0;fi=f;g=-13;a:{b:{c:{if(!rj(b,c,q[64290],f+44|0)){g=Ij(a,q[q[f+44>>2]>>2],e+28|0);d:{if(g){break d}b=q[e+24>>2];e:{if(!b){if(!us(a,q[q[f+44>>2]>>2],f+8|0)){b=q[f+12>>2];q[e+16>>2]=q[f+8>>2];q[e+20>>2]=b}q[e+24>>2]=j5(d,q[e+28>>2]);break e}q[b+308>>2]=q[e+28>>2];D5(q[e+24>>2])}if(o[e+12|0]&1){break c}vi(q[q[f+44>>2]+8>>2],4,e,e+8|0,e+4|0);g=q[f+44>>2];d=q[g+8>>2];f:{if(!d){break f}b=0;while(1){if(b>>>0>=d>>>0){break a}if(Ij(a,q[(q[g+4>>2]+(b<<3)|0)+4>>2],f+8|0)){break f}c=q[e+4>>2];if((c|0)==q[e+8>>2]){break b}d=q[f+8>>2];q[e+4>>2]=c+4;q[c>>2]=d;b=b+1|0;g=q[f+44>>2];d=q[g+8>>2];if(b>>>0>>0){continue}break}}g=-11;a=q[e+4>>2];if((a|0)!=q[e+8>>2]){break d}g=0;c=q[e>>2];if((a|0)==(c|0)){break d}b=0;while(1){a=q[f+44>>2];if(t[a+8>>2]<=b>>>0){break a}H5(q[e+24>>2],q[q[a+4>>2]+(b<<3)>>2],q[(b<<2)+c>>2]);b=b+1|0;c=q[e>>2];if(b>>>0>2]-c>>2>>>0){continue}break}}Ui(q[f+44>>2])}fi=f+48|0;return g}J(58947,59022,461,59101);G()}J(59113,59022,501,59137);G()}J(58848,58860,46,58936);G()}function Iha(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;d=fi-128|0;fi=d;a:{if(o[a+54|0]&1){g=q[a+48>>2];u[d+48>>2]=u[a>>2];f=q[g+4>>2];g=q[f+100>>2];q[d+96>>2]=q[f+96>>2];q[d+100>>2]=g;g=d;e=s[a+52>>1];f=0;b:{if(!e){break b}if(!(e&1)){while(1){h=h+1|0;f=e&2;e=(e&65534)>>>1|0;if(!f){continue}break}}c=(h<<3)+c|0;i=q[c>>2];f=q[c+4>>2]}q[g+104>>2]=i;q[g+108>>2]=f;u[d+64>>2]=u[a+16>>2];u[d+68>>2]=u[a+20>>2];u[d+72>>2]=u[a+24>>2];u[d+80>>2]=u[a+32>>2];u[d+84>>2]=u[a+36>>2];u[d+88>>2]=u[a+40>>2];q[d+112>>2]=r[b+44|0];e=249592;h=d+48|0;a=80;break a}q[d+48>>2]=r[b+44|0];e=249656;h=d+48|0;a=4}j=q[e>>2];c=j;i=q[c+8>>2];f=q[c+12>>2];e=q[b+36>>2];g=d+40|0;c=g;q[c>>2]=0;q[c+4>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;c=q[q[e+80>>2]+8>>2];c:{if(!c){break c}c=q[c>>2];if(!c){break c}k=q[c+4224>>2];l=q[c+4228>>2]}q[d+16>>2]=k;q[d+20>>2]=l;c=q[e+100>>2];q[d+32>>2]=q[e+96>>2];q[d+36>>2]=c;e=qo(e,s[b+46>>1],g);d:{if(!e){e=Zj(0,d+16|0,i,f,0,j,h,a);if(!e){break d}}q[d>>2]=e;mi(4,35903,37098,d)}fi=d+128|0}function Cia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-96|0;fi=c;i=Ti(c+32|0,a,1,61062,426);a:{if((ri(a,1)|0)==7){b=yi(a,1,q[74122],0);b:{if(q[b+4>>2]==2){e=q[b>>2]+4|0;break b}e=b}if(xm(q[e>>2])){break a}ni(a,61165,0)}hk(a,1,60842);b=0}if(q[b+4>>2]==2){b=q[b>>2]+4|0}f=q[b>>2];d=Pj(a,2);b=ii;e=b;g=Ti(c+72|0,a,1,61062,195);b=Ss(f,d,b,c+68|0,c- -64|0);c:{if(b){a=c;if(b>>>0<=8){b=q[(b<<2)+266896>>2]}else{b=138552}q[a+16>>2]=b;uj(g,62068,c+16|0);break c}q[c+56>>2]=0;q[c+52>>2]=0;b=Rs(f,d,e,c+60|0,c+56|0,c- -64|0,c+52|0);if(b){a=c;if(b>>>0<=8){b=q[(b<<2)+266896>>2]}else{b=138552}q[a>>2]=b;uj(g,62098,c);break c}h=q[c+68>>2];if(h>>>0>=9){mi(3,60798,60806,0);if(t[c+68>>2]>=9){mi(3,60798,60806,0)}uj(g,62129,0);break c}b=bj(a,48);q[b+8>>2]=d;q[b+12>>2]=e;q[b>>2]=f;q[b+16>>2]=q[c+60>>2];q[b+28>>2]=q[c+56>>2];q[b+32>>2]=q[c+52>>2];q[b+40>>2]=q[c+68>>2];f=q[c+64>>2];d=h<<2;q[b+24>>2]=q[d+241556>>2];q[b+20>>2]=q[d+241520>>2];q[b+36>>2]=f;Hi(a,1);q[b+44>>2]=ck(a,-1e4);zi(a,-1e4,60860);aj(a,-2)}Si(g);Si(i);fi=c+96|0;return 1}function Zr(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{switch(q[b+8>>2]){case 4:b=q[b>>2];a=q[a+16>>2]+((q[b+8>>2]&(-1<>2]!=4|(b|0)!=q[a+16>>2])){return a}a=q[a+28>>2];if(a){continue}break}break a;case 3:d=v[b>>3];d:{if(y(d)<2147483648){c=~~d;break d}c=-2147483648}f=+(c|0);if(f==d){b=c-1|0;if(b>>>0>2]){return q[a+12>>2]+(b<<4)|0}if(c){e=q[a+16>>2];xwa(+f);c=uwa(1)|0;b=uwa(0)|0;c=b+c|0;a=((c>>>0)%((-1<>>0)<<5)+e|0}else{a=q[a+16>>2]}while(1){if(!(q[a+24>>2]!=3|v[a+16>>3]!=f)){return a}a=q[a+28>>2];if(a){continue}break}break a}c=q[a+16>>2];if(d==0){break b}g=q[a+16>>2];xwa(+d);e=uwa(1)|0;c=uwa(0)|0;e=c+e|0;c=((e>>>0)%((-1<>>0)<<5)+g|0;break b;case 1:c=q[a+16>>2]+((q[b>>2]&(-1<>2]+(t[b>>2]%((-1<>>0)<<5)|0;break b;case 0:break a;default:break c}}c=q[a+16>>2]+(t[b>>2]%((-1<>>0)<<5)|0}a=c;while(1){if(Do(a+16|0,b)){return a}a=q[a+28>>2];if(a){continue}break}}return 126472}function PI(a,b,c){var d=0,e=0,f=0;d=fi-128|0;fi=d;a:{e=s[b+560>>1];if((e|0)!=65535){f=q[a+32>>2];if((q[a+36>>2]-f|0)/576>>>0<=e>>>0){break a}PI(a,w(e,576)+f|0,d- -64|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&32):0)){Pu(a,b)}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];if(s[b+560>>1]!=65535){Dk(d,d- -64|0,c);u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+12>>2]=u[d+12>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+60>>2]=u[d+60>>2]}fi=d+128|0;return}J(186773,186599,447,186784);G()}function $A(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=fi-32|0;fi=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<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;Zl(g+16|0,a,b,c,e,h-15233|0);gr(g,a,b,c,e,15361-h|0);e=q[g+4>>2];h=e;a=q[g+8>>2];c=q[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=q[g>>2]|((q[g+16>>2]|q[g+24>>2])!=0|(q[g+20>>2]|q[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}fi=g+32|0;vwa(0,f|0);vwa(1,d&-2147483648|e);return+wwa()}function s2(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi+ -64|0;fi=c;q[c+48>>2]=103;q[c+40>>2]=a;q[c+44>>2]=110448;b=q[a+8>>2]-q[a+12>>2]>>4;q[c+56>>2]=1;q[c+52>>2]=b;a:{b:{if((b|0)>-2){zi(a,-10002,110493);b=Vi(a,-1);oi(a,-2);d=b;b=w(q[b>>2],214013)+2531011|0;q[d>>2]=b;e=+((b>>>16&32767)>>>0)*30517578125e-15;c:{d:{e:{switch(q[a+8>>2]-q[a+12>>2]>>4){case 1:b=gj(a,1);if((b|0)<=0){Mj(a,1,111489)}e=C(e*+(b|0))+1;break d;case 0:break d;case 2:break e;default:break c}}b=gj(a,1);d=gj(a,2);if((b|0)>(d|0)){Mj(a,2,111489)}e=C(e*+((d-b|0)+1|0))+ +(b|0)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16;a=1;b=1;break b}a=uj(c+40|0,111507,0);b=q[c+56>>2];if((b|0)!=-8388608){break b}break a}q[c+12>>2]=b;q[c+4>>2]=103;q[c+8>>2]=1;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}b=q[c+52>>2]+b|0;d=q[c+40>>2];d=q[d+8>>2]-q[d+12>>2]>>4;if((b|0)==(d|0)){break a}a=q[c+48>>2];q[c+16>>2]=q[c+44>>2];q[c+20>>2]=a;q[c+24>>2]=b;q[c+28>>2]=d;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}fi=c- -64|0;return a|0}function Ura(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;e=fi-16|0;fi=e;m=q[a+8>>2]-q[a+12>>2]>>4;q[e+8>>2]=0;j=Ni(a,2,e+8|0);k=Ln(a,3,1);l=Ln(a,4,-1);Bn(q[b+20>>2]);a:{b:{d=q[e+8>>2];i=d+1|0;f=i;if(y(k)<2147483648){c=~~k}else{c=-2147483648}c=(f&c>>31)+c|0;f=(c|0)>1?c:1;n=f;o=d;if(y(l)<2147483648){h=~~l}else{h=-2147483648}c=(i&h>>31)+h|0;d=(c|0)>(d|0)?o:c;if((n|0)>(d|0)){break b}c=d-f|0;d=c+1|0;if(c>>>0>d>>>0){break b}j=(f+j|0)-1|0;i=q[b+20>>2];h=q[b+16>>2];while(1){c:{q[e+12>>2]=0;c=d-g|0;c=ji[q[h+4>>2]](q[h>>2],g+j|0,c>>>0<8192?c:8192,e+12|0,i)|0;g=q[e+12>>2]+g|0;if(c){break c}if(d>>>0>g>>>0){continue}}break}q[b+8>>2]=q[b+8>>2]+g;if(!c){break b}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;b=q[b+16>>2];wi(a,ji[q[b+12>>2]](q[b>>2],c)|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(g+f|0)-1>>>0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(g+f|0)-1>>>0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}fi=e+16|0;return(q[a+8>>2]-q[a+12>>2]>>4)-m|0}function JG(a,b,c,d){var e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=u[d+20>>2];f=u[c+44>>2];g=u[d+16>>2];i=u[c+40>>2];j=u[c+32>>2];h=u[d+24>>2];l=x(x(x(e*f)+x(g*i))-x(j*h));k=u[c+36>>2];n=x(x(h*i)+x(x(e*k)+x(g*j)));m=x(x(x(h*f)+x(e*j))-x(g*k));e=x(x(x(g*f)+x(h*k))-x(e*i));h=x(u[c+24>>2]+x(x(j*l)+x(x(x(i*n)+x(f*m))-x(k*e))));g=x(u[c+20>>2]+x(x(i*e)+x(x(x(f*l)+x(k*n))-x(j*m))));f=x(u[c+16>>2]+x(x(k*m)+x(x(x(f*e)+x(j*n))-x(i*l))));if(!q[c+12>>2]){l=u[b+44>>2];e=x(g*l);g=x(f*l);f=u[b+60>>2];i=u[b+56>>2];j=u[b+52>>2];k=u[b+48>>2];a:{if(o[b+82|0]&1){m=x(x(j*e)+x(k*g));h=x(h*l);l=x(x(x(i*g)+x(f*e))-x(k*h));n=x(x(x(f*h)+x(k*e))-x(j*g));e=x(x(x(f*g)+x(j*h))-x(i*e));g=x(i*h);break a}m=x(x(k*g)+x(j*e));n=x(x(x(h*f)+x(k*e))-x(j*g));l=x(x(x(i*g)+x(f*e))-x(h*k));e=x(x(x(h*j)+x(f*g))-x(i*e));g=x(h*i)}m=x(g+m);h=x(u[b+40>>2]+x(x(k*l)+x(x(x(i*m)+x(f*n))-x(j*e))));g=x(u[b+36>>2]+x(x(i*e)+x(x(x(f*l)+x(j*m))-x(k*n))));f=x(u[b+32>>2]+x(x(j*n)+x(x(x(f*e)+x(k*m))-x(i*l))))}u[a+8>>2]=h;u[a+4>>2]=g;u[a>>2]=f}function FA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=fi-144|0;fi=f;qi(f+16|0,0,128);g=r[c+24|0];if(g){while(1){h=q[c+20>>2]+w(e,20)|0;if((q[h+4>>2]&-268435456)==805306368){Kpa(d,a,h,Ppa(a,RK(b),q[h+4>>2]&4194303));g=r[c+24|0]}e=e+1|0;if(g>>>0>e>>>0){continue}break}}a:{b:{if(sv(b)){break b}while(1){if(!Qp(b,f+12|0)){e=2;break a}e=q[f+12>>2];h=e>>>3|0;if(!h){e=2;break a}g=e&7;c:{d:{e:{i=r[c+24|0];if(i){k=q[c+20>>2];e=0;while(1){j=w(e,20)+k|0;if((h|0)==(q[j+4>>2]&4194303)){break e}e=e+1|0;if((i|0)!=(e|0)){continue}break}}e=KK(b,g);if(!e){break d}break a}if(e>>>0>=128){break c}o[(f+16|0)+e|0]=1;e=Ipa(d,a,g,j,b);if(e){break a}}if(!sv(b)){continue}break b}break}J(22617,22646,163,22670);G()}g=r[c+24|0];if(g){e=0;while(1){b=q[c+20>>2]+w(e,20)|0;h=q[b+4>>2]&-268435456;f:{if((h|0)!=268435456){if(r[(f+16|0)+e|0]|(h|0)!=536870912){break f}a=q[c+4>>2];q[f+4>>2]=q[b>>2];q[f>>2]=a;mi(3,22684,22688,f);e=5;break a}if(r[(f+16|0)+e|0]){break f}YK(a,b,d);g=r[c+24|0]}e=e+1|0;if(g>>>0>e>>>0){continue}break}}e=0}fi=f+144|0;return e}function h2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=fi-96|0;fi=c;b=em(a,1);a:{b:{c:{if((b|0)!=q[210276]){if((b|0)==q[210277]){break c}q[c+92>>2]=120672;q[c+88>>2]=120656;q[c+84>>2]=122219;q[c+80>>2]=120720;a=ni(a,122558,c+80|0);break a}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];d:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break d}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;ni(a,120787,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}break b}b=yi(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{f:{if(e!=e|f!=f){break f}d=u[b+8>>2];if(d!=d){break f}g=u[b+12>>2];if(g==g){break e}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;ni(a,120877,c+32|0);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}}b=bj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=1065353216;q[b+24>>2]=0;q[b+28>>2]=0;q[b+20>>2]=1065353216;q[b+60>>2]=1065353216;u[b+56>>2]=d;u[b+52>>2]=f;u[b+48>>2]=e;q[b+40>>2]=1065353216;q[b+44>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;zi(a,-1e4,120704);aj(a,-2);a=1}fi=c+96|0;return a|0}function to(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{if(q[c>>2]!=5|q[c+16>>2]!=-1|(q[c+20>>2]!=-1|q[d>>2]!=5)){break c}if(q[d+16>>2]!=-1|q[d+20>>2]!=-1){break c}e=v[d+8>>3];g=v[c+8>>3];d:{e:{f:{switch(b-12|0){case 0:f=g+e;break e;case 1:f=g-e;break e;case 2:f=g*e;break e;case 3:if(e==0){break b}f=g/e;break e;case 4:if(e==0){break b}f=g-e*C(g/e);break e;case 5:f=qp(g,e);break e;case 8:break a;case 6:break f;default:break d}}f=-g}if(f!=f){break c}}v[c+8>>3]=f;return}switch(b-18|0){case 0:case 2:break a;default:break b}}h=ql(a,d)}i=ql(a,c);g:{if((i|0)>(h|0)){h:{if(q[c>>2]!=12){break h}j=q[c+8>>2];if(j&256|r[a+50|0]>(j|0)){break h}q[a+36>>2]=q[a+36>>2]-1}if(q[d>>2]!=12){break g}d=q[d+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1;break g}i:{if(q[d>>2]!=12){break i}d=q[d+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}if(q[c>>2]!=12){break g}d=q[c+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}a=Jk(a,h<<14|b|i<<23,q[q[a+12>>2]+8>>2]);q[c>>2]=11;q[c+8>>2]=a}function On(a,b,c){var d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0);d=fi+ -64|0;fi=d;g=u[b+60>>2];l=u[b+56>>2];m=u[b+52>>2];h=u[b+28>>2];n=u[b+24>>2];o=u[b+20>>2];p=u[b+48>>2];q=u[b+16>>2];r=u[b+12>>2];s=u[b+8>>2];t=u[b+4>>2];v=u[b>>2];i=u[b+32>>2];j=u[b+36>>2];k=u[b+40>>2];f=u[b+44>>2];e=x(x(x(x(i*i)+x(j*j))+x(k*k))+x(f*f));if(!(e>x(0)^1)){e=x(x(1)/x(F(e)));f=x(f*e);k=x(k*e);j=x(j*e);i=x(i*e)}Dk(d,b,c);u[a>>2]=u[d>>2];u[a+4>>2]=u[d+4>>2];u[a+8>>2]=u[d+8>>2];u[a+12>>2]=u[d+12>>2];u[a+16>>2]=u[d+16>>2];u[a+20>>2]=u[d+20>>2];u[a+24>>2]=u[d+24>>2];u[a+28>>2]=u[d+28>>2];u[a+32>>2]=u[d+32>>2];u[a+36>>2]=u[d+36>>2];u[a+40>>2]=u[d+40>>2];u[a+44>>2]=u[d+44>>2];e=u[c+48>>2];w=h;h=u[c+52>>2];y=f;f=u[c+56>>2];z=g;g=u[c+60>>2];u[a+60>>2]=x(x(x(r*e)+x(w*h))+x(y*f))+x(z*g);u[a+56>>2]=x(x(x(s*e)+x(n*h))+x(k*f))+x(l*g);u[a+52>>2]=x(x(x(t*e)+x(o*h))+x(j*f))+x(m*g);u[a+48>>2]=x(x(x(v*e)+x(q*h))+x(i*f))+x(p*g);fi=d- -64|0}function cO(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,p=0,s=0;h=fi-48|0;fi=h;q[h>>2]=0;q[h+4>>2]=0;q[h+8>>2]=0;j=Fi(c);k=j+e|0;l=k+20|0;i=Oj(1,l);a:{if(!i){c=-32512;break a}m=si(i+20|0,c,j);si(j+m|0,d,e);c=-27648;d=q[66815];if(!d){break a}c=jn(h,d,1);if(c){break a}j=b+1>>>1|0;Ao(h,a,j);Mk(h,m,k);c=i+4|0;Il(h,c);if(g){p=g&15;s=k+16|0;d=0;e=0;while(1){Jm(h);Mk(h,c,s);Il(h,h+16|0);Jm(h);Mk(h,c,16);Il(h,c);e=e+16|0;n=g>>>0>>0?p:16;if(n){si((d<<4)+f|0,h+16|0,n)}d=d+1|0;if(e>>>0>>0){continue}break}}$l(h);c=-27648;d=q[66816];if(!d){break a}c=jn(h,d,1);if(c){break a}Ao(h,(a+b|0)-j|0,j);Mk(h,m,k);Il(h,i);if(!g){c=0;break a}d=(g>>>0)%20|0;a=0;while(1){Jm(h);Mk(h,i,l);Il(h,h+16|0);Jm(h);Mk(h,i,20);Il(h,i);c=0;b=a;a=a+20|0;e=g>>>0>>0?d:20;if(e){while(1){k=(b+c|0)+f|0;o[k|0]=r[(h+16|0)+c|0]^r[k|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0;if(a>>>0>>0){continue}break}}$l(h);ji[q[66742]](i,0,l)|0;ji[q[66742]](h+16|0,0,20)|0;ki(i);fi=h+48|0;return c|0}function PK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=fi-128|0;fi=f;a:{if(o[291600]&1){break a}if(!ui(291600)){break a}if(r[852367]){g=Ri(22015)}else{g=-1}q[72899]=g;ti(291600)}b:{if(o[291608]&1){break b}if(!ui(291608)){break b}if(r[852367]){g=Yi(22019,11)}else{g=0}q[72901]=g;ti(291608)}g=q[72899];c:{if((g|0)!=-1){Qi(f+112|0,g,22019,q[72901]);break c}q[f+112>>2]=0}d:{e:{f:{if(a){if(!c){break f}if(!d){break e}if(e){q[e>>2]=0}i=4;g:{if(s[c>>1]!=1){break g}h=Npa(f+56|0);QK(f+40|0,h,c);g=f+24|0;q[g+8>>2]=a;q[g>>2]=a;q[g+4>>2]=a+b;i=ZK(h,g,c);if(!i){TK(g);FA(h,g,c,f+40|0);b=q[h+40>>2]-q[h+32>>2]|0;q[f+20>>2]=0;Lp(f+20|0,16,b);a=q[f+20>>2];if(!a){break d}Mpa(h,a,b);QK(f,h,c);TK(g);i=FA(h,g,c,f);h:{if(!i){if(e){q[e>>2]=b}j=q[f+20>>2];break h}ki(q[f+20>>2])}q[d>>2]=j}if(o[h+28|0]&1){break g}a=q[h+8>>2];if(a){ki(a)}a=q[h>>2];if(!a){break g}ki(a)}if(q[f+112>>2]){Pi(f+112|0)}fi=f+128|0;return i}J(22031,22038,163,22019);G()}J(22057,22038,164,22019);G()}J(22062,22038,165,22019);G()}J(22074,22038,190,22019);G()}function wS(a,b){var c=0,d=0;a:{b=sk(b,196684);if(!b){break a}if(El(b,0,2)){Qj(b);break a}d=mn(b);b:{if(!(q[a+20>>2]|(q[a+72>>2]|!a))){c=q[a+40>>2];if(!c){q[a+40>>2]=1506;c=1506}if(!q[a+44>>2]){q[a+44>>2]=1507}if(!q[a+48>>2]){q[a+48>>2]=1508}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=1;q[a+8>>2]=0;q[a+12>>2]=0;c=ji[c|0](q[a+52>>2],1,88)|0;q[a+72>>2]=c;if(c){break b}}Qj(b);break a}qi(c,0,88);c=q[a+72>>2];q[c+12>>2]=1;q[c+44>>2]=4;q[c+28>>2]=4;q[a+56>>2]=1509;q[a+68>>2]=a;q[c+60>>2]=b;q[a>>2]=d;q[a+4>>2]=d>>31;b=1;c:{if(uS(a)){break c}c=q[a+72>>2];if(!c|!q[a+40>>2]){break a}d=q[a+44>>2];if(!d){break a}b=0;if(q[a+20>>2]!=1){break c}q[a+72>>2]=0;ji[d|0](q[a+52>>2],q[c>>2]);q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[c+16>>2]);q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[c+32>>2]);q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;d=q[c+60>>2];if(d){Qj(d);q[c+60>>2]=0}ji[q[a+44>>2]](q[a+52>>2],c);q[a+20>>2]=0}return b}return 0}function wma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=fi-224|0;fi=b;h=Ti(b+200|0,a,1,61062,726);a:{if((ri(a,1)|0)==7){c=yi(a,1,q[74122],0);b:{if(q[c+4>>2]==2){d=q[c>>2]+4|0;break b}d=c}if(xm(q[d>>2])){break a}ni(a,61165,0)}hk(a,1,60842);c=0}if(q[c+4>>2]==2){c=q[c>>2]+4|0}f=q[c>>2];oL(f,b+196|0);q[b+192>>2]=0;c:{if(Zq(f,b+192|0)){q[b+32>>2]=60842;nj(a,61216,b+32|0);break c}g=q[b+196>>2]<<7|64;e=b-g|0;fi=e;o[e|0]=0;q[b+60>>2]=0;tv(f,b+60|0);q[b+16>>2]=60842;q[b+20>>2]=q[b+192>>2];q[b+24>>2]=q[b+60>>2];cj(b- -64|0,128,61235,b+16|0);wk(e,b- -64|0,g);if(q[b+196>>2]){c=0;while(1){q[b+48>>2]=0;q[b+52>>2]=0;nL(f,c,b+48|0);q[b+40>>2]=0;Ss(f,q[b+48>>2],q[b+52>>2],b+44|0,b+40|0);i=q[b+196>>2];d=q[b+44>>2];d:{if(d>>>0<=8){d=q[(d<<2)+266932>>2];break d}d=138736}q[b>>2]=Ei(q[b+48>>2],q[b+52>>2]);q[b+4>>2]=d;q[b+12>>2]=i-1>>>0>c>>>0?61270:61273;q[b+8>>2]=q[b+40>>2];cj(b- -64|0,128,61274,b);wk(e,b- -64|0,g);c=c+1|0;if(c>>>0>2]){continue}break}}wk(e,61306,g);wi(a,e)}Si(h);fi=b+224|0;return 1}function Pna(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0,s=0;g=fi-32|0;fi=g;a:{b:{c:{if(d>>>0>=32768){q[g>>2]=32767;mi(4,7277,7461,g);break c}j=Ci(4280);if(!c){break a}l=Coa(j,d,q[c+28084>>2]);q[j+4240>>2]=zj();f=q[c>>2];d:{if(!f){break d}m=j+12|0;if(!e){while(1){e=w(h,104)+c|0;i=q[e+28>>2];if(i){e=q[e+24>>2];q[g+24>>2]=-1;o[g+12|0]=h;q[g+8>>2]=e;q[g+20>>2]=(h<<2)+m;q[g+16>>2]=d;ji[i|0](g+8|0)|0;f=q[c>>2]}h=h+1|0;if(h>>>0>>0){continue}break d}}while(1){i=w(h,104)+c|0;n=q[i+28>>2];if(n){f=q[i+24>>2];o[g+12|0]=h;q[g+8>>2]=f;p=q[e+44>>2];f=-1;e:{if(!p){break e}r=q[i+16>>2];i=q[i+20>>2];s=q[e+40>>2];f=0;f:{while(1){k=s+(f<<4)|0;if(q[k>>2]==(r|0)&(i|0)==q[k+4>>2]){break f}f=f+1|0;if((p|0)!=(f|0)){continue}break}f=0;break e}f=q[k+8>>2]}q[g+16>>2]=d;q[g+24>>2]=f;q[g+20>>2]=(h<<2)+m;ji[n|0](g+8|0)|0;f=q[c>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}q[j+4216>>2]=li(a);q[j+4220>>2]=ii;f=Ci(4);if(!zA(l,a,b,c,f)){break b}xK(l);ki(f)}f=0}fi=g+32|0;return f}J(7136,7150,247,9417);G()}function T2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-48|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;vj(a,1,4);q[b+44>>2]=0;c=_i(a,1,b+44|0);if((f|0)==2){d=(Fj(a,2)|0)!=0}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;c=v7(c,q[b+44>>2],d,b+24|0);a:{if(!c){c=q[b+32>>2];b:{if(c>>>0<=2){c=q[(c<<2)+156216>>2];break b}c=0}if(!c){bH(b+24|0);q[b>>2]=q[b+32>>2];ni(a,114767,b)}ij(a,0,0);Bi(a,114789,5);d=q[b+24>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,114795,6);d=q[b+28>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,114802,4);c:{d:{switch(q[b+32>>2]){case 1:Bi(a,114811,4);break c;case 2:Bi(a,114816,1);break c;default:J(114818,114824,134,114848);G();case 0:break d}}Bi(a,114807,3)}qj(a,-3);Bi(a,114859,6);Bi(a,q[b+36>>2],w(q[b+28>>2],w(c,q[b+24>>2])));qj(a,-3);bH(b+24|0);break a}q[b+16>>2]=c;mi(3,114866,114873,b+16|0);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(114899,114824,149,114848);G()}fi=b+48|0;return 1}function $8(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0;k=fi-32|0;fi=k;if(f>>>0<=2){j=q[(f<<2)+156216>>2]}else{j=0}j=w(j,w(d,e));a:{if((j|0)!=(i|0)){q[k+4>>2]=i;q[k>>2]=j;mi(4,184623,184627,k);j=-7;break a}n=a+160|0;b:{c:{d:{e:{f:{g:{h:{j=q[a+164>>2];i:{if(!j){break i}l=q[q[n>>2]+(lwa(b,c,j)<<2)>>2];if((l|0)==-1){break i}m=q[a+168>>2];while(1){j=m+w(l,40)|0;if(q[j>>2]==(b|0)&(c|0)==q[j+4>>2]){break h}l=q[j+32>>2];if((l|0)!=-1){continue}break}}j=-4;if(q[a+184>>2]==((q[a+176>>2]-q[a+168>>2]|0)/40|0)){break a}q[k+8>>2]=0;q[k+12>>2]=0;l=xi(i);q[k+24>>2]=l;if(!g){break d}j=d;switch(f|0){case 0:break g;case 1:break f;default:break e}}a=m+w(l,40)|0;b=r[a+12|0];j=-6;if(!(b&2)){break a}o[a+12|0]=b&253;break b}j=w(d,3);break e}j=d<<2}if((w(e,j)|0)==(i|0)){if(!e){break c}g=0;m=0-j|0;a=h+i|0;while(1){a=a+m|0;l=si(l,a,j)+j|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}break c}mi(4,184623,186191,0);ki(l);j=-9;break a}si(l,h,i)}q[k+28>>2]=f;q[k+20>>2]=e;q[k+16>>2]=d;HH(n,b,c,k+8|0)}j=0}fi=k+32|0;return j}function _r(a,b,c,d,e,f){var g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0;if((a|0)>=4){l=a>>>2|0;a=(c<<2)+b|0;d=a+(d<<2)|0;b=f<<2;while(1){c=d-4|0;h=u[c>>2];j=u[a>>2];k=u[d>>2];u[a>>2]=j+k;f=a-4|0;g=u[f>>2];u[f>>2]=g+u[c>>2];j=x(j-k);g=x(g-h);u[d>>2]=x(j*u[e>>2])-x(g*u[e+4>>2]);u[c>>2]=x(g*u[e>>2])+x(j*u[e+4>>2]);f=d-12|0;j=u[f>>2];c=a-8|0;g=u[c>>2];i=c;c=d-8|0;k=u[c>>2];u[i>>2]=g+k;i=a-12|0;h=u[i>>2];u[i>>2]=h+u[f>>2];i=c;g=x(g-k);c=b+e|0;h=x(h-j);u[i>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[f>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=d-20|0;j=u[e>>2];f=a-16|0;g=u[f>>2];i=f;f=d-16|0;k=u[f>>2];u[i>>2]=g+k;i=a-20|0;h=u[i>>2];u[i>>2]=h+u[e>>2];g=x(g-k);c=b+c|0;h=x(h-j);u[f>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[e>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=d-28|0;j=u[e>>2];f=a-24|0;g=u[f>>2];i=f;f=d-24|0;k=u[f>>2];u[i>>2]=g+k;i=a-28|0;h=u[i>>2];u[i>>2]=h+u[e>>2];g=x(g-k);c=b+c|0;h=x(h-j);u[f>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[e>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=b+c|0;d=d-32|0;a=a-32|0;c=(l|0)>1;l=l-1|0;if(c){continue}break}}}function FJ(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,p=0;h=fi-16|0;fi=h;a:{b:{c:{if(a){l=q[a>>2];i=q[l+4>>2];k=xi(w(i,20));d:{e:{if(i){p=q[l+4>>2];f=1;while(1){if((e|0)==(p|0)){break c}g=q[l>>2]+w(e,52)|0;m=q[g>>2];n=q[g+4>>2];if((n&-5)==3){break e}j=w(e,20)+k|0;q[j+4>>2]=e;q[j>>2]=m;q[j+8>>2]=q[g+8>>2];f=3;g=1;f:{g:{switch(n|0){case 2:f=5;break f;case 5:f=2;break f;case 6:f=4;break f;case 8:f=6;break f;case 4:g=0;case 0:f=g;break f;case 1:break f;default:break g}}f=0}o[j+16|0]=0;q[j+12>>2]=f;e=e+1|0;f=i>>>0>e>>>0;if((e|0)!=(i|0)){continue}break}}g=Jqa(q[a+4>>2]);q[b>>2]=ji[q[74911]](q[74120],k,i,g);ki(k);if(i){e=0;while(1){q[h+12>>2]=0;if(Kqa(q[a+4>>2],e,h+12|0)){break b}if(!(ji[q[74912]](q[b>>2],e,s[h+12>>1])|0)){break a}e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[d>>2]=g;q[c>>2]=q[a+16>>2];break d}q[h>>2]=m;mi(4,57832,57840,h);ki(k)}fi=h+16|0;return(f^-1)&1}J(57755,57771,129,57809);G()}J(57911,57923,99,57958);G()}J(57883,57771,167,57809);G()}J(57908,57771,170,57809);G()}function b2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=0,i=0,j=0,k=0;b=fi-80|0;fi=b;h=Vi(a,1);q[b+60>>2]=0;c=Ni(a,2,b+60|0);a:{b:{c:{switch(q[b+60>>2]-2|0){case 1:i=r[c+1|0];if((i&252)!=48){break b}c=r[c+2|0];if((c&252)!=48){break b}j=Ai(a,-1);a=((c<<4)+h|0)-768|0;c=q[a>>2];h=q[a+4>>2];k=q[a+12>>2];q[b+72>>2]=q[a+8>>2];q[b+76>>2]=k;q[b+64>>2]=c;q[b+68>>2]=h;u[((i<<2)+b|0)-128>>2]=j;u[a>>2]=u[b+64>>2];u[a+4>>2]=u[b+68>>2];u[a+8>>2]=u[b+72>>2];u[a+12>>2]=u[b+76>>2];a=0;break a;case 0:break c;default:break b}}c=r[c+1|0];if((c&252)!=48){break b}i=c-48|0;c=yi(a,-1,q[210277],0);f=u[c>>2];g=u[c+4>>2];d:{e:{if(f!=f|g!=g){break e}d=u[c+8>>2];if(d!=d){break e}e=u[c+12>>2];if(e==e){break d}}d=u[c+8>>2];e=u[c+12>>2];v[b+32>>3]=g;v[b+48>>3]=e;v[b+40>>3]=d;v[b+24>>3]=f;q[b+16>>2]=-1;ni(a,120877,b+16|0);e=u[c+12>>2];d=u[c+8>>2];g=u[c+4>>2];f=u[c>>2]}a=(i<<4)+h|0;u[a+12>>2]=e;u[a+8>>2]=d;u[a+4>>2]=g;u[a>>2]=f;a=0;break a}q[b+4>>2]=120704;q[b>>2]=120720;a=ni(a,121704,b)}fi=b+80|0;return a|0}function O8(a){var b=0;a:{if(o[a+336|0]&1){break a}b=q[a+324>>2];if(!b){break a}ki(b)}b:{if(o[a+304|0]&1){break b}b=q[a+292>>2];if(!b){break b}ki(b)}c:{if(o[a+288|0]&1){break c}b=q[a+276>>2];if(!b){break c}ki(b)}d:{if(o[a+272|0]&1){break d}b=q[a+252>>2];if(b){ki(b)}b=q[a+244>>2];if(!b){break d}ki(b)}e:{if(o[a+240|0]&1){break e}b=q[a+228>>2];if(!b){break e}ki(b)}f:{if(o[a+224|0]&1){break f}b=q[a+204>>2];if(b){ki(b)}b=q[a+196>>2];if(!b){break f}ki(b)}g:{if(o[a+188|0]&1){break g}b=q[a+168>>2];if(b){ki(b)}b=q[a+160>>2];if(!b){break g}ki(b)}h:{if(o[a+156|0]&1){break h}b=q[a+136>>2];if(b){ki(b)}b=q[a+128>>2];if(!b){break h}ki(b)}i:{if(o[a+124|0]&1){break i}b=q[a+104>>2];if(b){ki(b)}b=q[a+96>>2];if(!b){break i}ki(b)}j:{if(o[a+92|0]&1){break j}b=q[a+72>>2];if(b){ki(b)}b=q[a+64>>2];if(!b){break j}ki(b)}k:{if(o[a+60|0]&1){break k}b=q[a+48>>2];if(!b){break k}ki(b)}l:{if(o[a+44|0]&1){break l}b=q[a+32>>2];if(!b){break l}ki(b)}m:{if(o[a+28|0]&1){break m}b=q[a+20>>2];if(!b){break m}ki(b)}return a}function Oy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=fi-16|0;fi=f;a:{if(o[316164]&1){break a}if(!ui(316164)){break a}if(r[852367]){d=Ri(101419)}else{d=-1}q[79040]=d;ti(316164)}b:{if(o[316172]&1){break b}if(!ui(316172)){break b}if(r[852367]){d=Yi(101771,10)}else{d=0}q[79042]=d;ti(316172)}d=q[79040];c:{if((d|0)!=-1){Qi(f,d,101771,q[79042]);break c}q[f>>2]=0}d:{d=q[a+1824>>2]-q[a+1820>>2]|0;e:{if(!d){d=0;break e}h=(d>>8)-q[a+1836>>2]|0;if(!h){break e}j=b<<4&48;b=Qo(a,h);k=Po(a,702,a)<<6;d=b;while(1){g=q[a+1836>>2]+i|0;e=q[a+1820>>2];if(g>>>0>=q[a+1824>>2]-e>>8>>>0){break d}e=(g<<8)+e|0;g=q[e+100>>2];l=q[e+96>>2];u[d+8>>2]=u[e+104>>2];q[d>>2]=l;q[d+4>>2]=g;p[d+40>>1]=s[d+40>>1]&65472|j;q[d+32>>2]=e;q[d+36>>2]=0;q[d+16>>2]=c;q[d+20>>2]=q[e+192>>2];q[d+24>>2]=q[q[e+180>>2]+80>>2];p[d+40>>1]=s[d+40>>1]&49215|k;d=d+48|0;i=i+1|0;if(i>>>0>>0){continue}break}Oo(a,b,d);d=q[a+1824>>2]-q[a+1820>>2]|0}q[a+1836>>2]=d>>8;if(q[f>>2]){Pi(f)}fi=f+16|0;return}J(101893,101904,447,101983);G()}function Wda(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=x(g);h=h|0;var i=0;i=fi-16|0;fi=i;a:{b:{c:{d:{if(a){e:{if(o[300020]&1){break e}if(!ui(300020)){break e}if(r[852367]){a=Ri(80454)}else{a=-1}q[75004]=a;ti(300020)}f:{if(o[300028]&1){break f}if(!ui(300028)){break f}if(r[852367]){a=Yi(80855,5)}else{a=0}q[75006]=a;ti(300028)}a=q[75004];g:{if((a|0)!=-1){Qi(i,a,80855,q[75006]);break g}q[i>>2]=0}tc(x(x(x(c>>>0)/x(255))),x(x(x(d>>>0)/x(255))),x(x(x(e>>>0)/x(255))),x(x(x(f>>>0)/x(255))));if(r[q[74995]+104|0]&8){a=K()|0;if(a){break d}}sc(x(g));if(r[q[74995]+104|0]&8){a=K()|0;if(a){break c}}rc(h|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}uc(b<<8&1024|(b<<14&16384|b<<7&256));if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}if(q[i>>2]){Pi(i)}fi=i+16|0;return}J(79156,79164,1259,80843);G()}Mi(a,80843,1267);J(79249,79164,1267,80843);G()}Mi(a,80843,1270);J(79249,79164,1270,80843);G()}Mi(a,80843,1273);J(79249,79164,1273,80843);G()}Mi(a,80843,1280);J(79249,79164,1280,80843);G()}function cqa(a,b,c,d,e,f){var g=0,h=0;g=fi-1568|0;fi=g;h=g+1048|0;q[h>>2]=0;q[h+4>>2]=0;yD(g+96|0);hD(g+416|0);h=wD(g+96|0,g+416|0,149834);a:{if(h){qi(g+1056|0,0,512);o[g+1056|0]=0;q[g+80>>2]=(h|0)<0?150068:150070;a=h>>31;q[g+84>>2]=a+h^a;q[g+88>>2]=g+1056;mi(4,149852,150045,g+80|0);q[g+64>>2]=h;mi(4,149852,149857,g- -64|0);d=1;break a}a=IU(g+1048|0,a,b);if(a){qi(g+1056|0,0,512);o[g+1056|0]=0;a=(a|0)!=0;q[g+20>>2]=a;q[g+16>>2]=150070;q[g+24>>2]=g+1056;mi(4,149852,150045,g+16|0);q[g>>2]=a;mi(4,149852,149899,g);d=1;break a}b=xi(64);q[e>>2]=b;a=-16512;b:{h=q[g+1052>>2];if(q[h+4>>2]==(d|0)){d=0;a=YC(h,1301,g+96|0,0,g+92|0,c,b,64);if(!a){break b}}qi(g+1056|0,0,512);o[g+1056|0]=0;q[g+48>>2]=(a|0)<0?150068:150070;b=a>>31;q[g+52>>2]=b+a^b;q[g+56>>2]=g+1056;mi(4,149852,150045,g+48|0);q[g+32>>2]=a;mi(4,149852,149947,g+32|0);ki(q[e>>2]);d=1;break a}q[f>>2]=q[g+92>>2]}zD(g+96|0);iD(g+416|0);a=g+1048|0;if(a){b=q[a>>2];if(b){ji[q[b+40>>2]](q[a+4>>2])}ji[q[66742]](a,0,8)|0}fi=g+1568|0;return d}function I3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=fi-16|0;fi=h;a:{b:{if(q[72984]>=1){while(1){q[h+12>>2]=0;c:{d:{i=w(l,20);j=i+291952|0;f=ji[q[j>>2]](a,b,c,g,h+12|0)|0;switch(f+1|0){case 0:case 2:break c;case 1:break d;default:break a}}f=q[h+12>>2];if(!f){q[h+12>>2]=g;f=g}q[h+8>>2]=0;e:{f:{g:{f=ji[q[(i+291952|0)+4>>2]](f,a,b,c,k,h+8|0)|0;switch(f+1|0){case 0:case 2:break g;case 1:break e;default:break f}}i=q[h+12>>2];if((i|0)==(g|0)){break c}Jp(i);break c}a=q[h+12>>2];if((a|0)==(g|0)){break a}Jp(a);break a}i=q[h+12>>2];f=q[h+8>>2];if(f){h:{if((g|0)==(i|0)){i=g;break h}if(!g){break h}Jp(g);f=q[h+8>>2];i=q[h+12>>2]}g=q[j+4>>2];q[f+12>>2]=q[j>>2];q[f+16>>2]=g;q[f+28>>2]=q[j+16>>2];g=q[j+12>>2];q[f+20>>2]=q[j+8>>2];q[f+24>>2]=g;if((f|0)!=(k|0)){q[f>>2]=k;k=q[h+8>>2]}g=i;break c}if((g|0)==(i|0)){break c}Jp(i)}l=l+1|0;if((l|0)>2]=g;q[e>>2]=k;f=0}fi=h+16|0;return f}function qz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(134245,134260,153,134077);G();case 0:J(134343,134260,154,134077);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/960>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,960);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;qz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,960)|0;Un(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+952>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(134367,134260,155,134077);G()}J(134389,134260,156,134077);G()}function OD(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,p=0,s=0;h=q[a+4>>2];a:{if(h>>>0<=b>>>0){break a}p=c+1|0;l=d-1|0;e=b;b:{c:{d:{i=o[c|0];switch(i-37|0){case 0:break c;case 9:break d;default:break b}}while(1){f=f+1|0;if(f+b>>>0>>0){continue}break}break a}c=r[p|0];while(1){if(!Bo(r[e|0],c)){break a}f=f+1|0;e=f+b|0;if(h>>>0>e>>>0){continue}break}break a}while(1){e:{if((i|0)==46){break e}g=r[e|0];if((i|0)==91){j=r[c+1|0];m=(j|0)==94;e=m?p:c;k=e+1|0;f:{if(k>>>0>=l>>>0){break f}j=(j|0)!=94;while(1){s=r[e+2|0];g:{n=r[e+1|0];h:{if((n|0)==37){if(Bo(g,s)){break h}e=e+2|0;break g}i:{if((s|0)!=45){break i}e=e+3|0;if(l>>>0<=e>>>0){break i}if(g>>>0>>0){break g}if(r[e|0]>=g>>>0){break h}break g}e=k;if((g|0)!=(n|0)){break g}}m=j;break f}k=e+1|0;if(k>>>0>>0){continue}break}}if(m){break e}break a}if((i&255)!=(g|0)){break a}}f=f+1|0;e=f+b|0;if(h>>>0>e>>>0){continue}break}}c=d+1|0;while(1){j:{e=0;if((f|0)<0){break j}d=b+f|0;f=f-1|0;e=kn(a,d,c);if(!e){continue}}break}return e}function Lu(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(152001,152016,153,152046);G();case 0:J(152058,152016,154,152046);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/136>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,136);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Lu(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,136)|0;rz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+128>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(152082,152016,155,152046);G()}J(152104,152016,156,152046);G()}function xva(){var a=0;q[213001]=0;q[213002]=0;q[213003]=0;q[213004]=0;q[213009]=0;q[213010]=0;q[213011]=0;q[213012]=0;q[213007]=0;q[213008]=0;q[213005]=0;q[213006]=0;q[213010]=-1;q[213015]=0;q[213016]=0;q[213013]=0;q[213014]=0;q[213027]=0;q[213028]=0;q[213025]=0;q[213026]=0;q[213023]=0;q[213024]=0;q[213021]=0;q[213022]=0;q[213019]=0;q[213020]=0;q[213017]=0;q[213018]=0;q[213042]=0;q[213043]=0;q[213040]=0;q[213041]=0;q[213038]=0;q[213039]=0;q[213036]=0;q[213037]=0;q[213034]=0;q[213035]=0;q[213032]=0;q[213033]=0;q[213046]=0;q[213047]=0;q[213048]=0;q[213049]=0;q[213050]=0;q[213051]=0;q[213052]=0;q[213053]=0;q[213054]=0;q[213055]=0;q[213056]=0;q[213057]=0;q[213060]=0;q[213061]=0;q[213062]=0;q[213063]=0;q[213064]=0;q[213065]=0;q[213066]=0;q[213067]=0;q[213068]=0;q[213069]=0;q[213070]=0;q[213071]=0;q[213076]=0;q[213077]=0;q[213074]=0;q[213075]=0;q[213082]=0;q[213083]=0;q[213084]=0;q[213085]=0;q[213080]=0;q[213081]=0;q[213078]=0;q[213079]=0;q[213083]=-1;a=k$();q[213093]=0;q[213094]=a}function S5(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d:{g=b&65535;h=q[a+4>>2];a=q[a>>2];if(g>>>0>2>>>0){h=q[a+(g<<2)>>2];if(s[h+80>>1]!=(b>>>16|0)){break d}g=q[h+4>>2];a=q[h>>2];b=g-a|0;if(!b){break b}b=(b|0)/288|0;if((a|0)!=(g|0)){l=b>>>0>1?b:1;while(1){g=w(j,288)+a|0;e:{if((c|0)!=q[g+112>>2]|(d|0)!=q[g+116>>2]){break e}i=q[g+68>>2];k=q[g+64>>2];a=i-k|0;if(!a){break e}b=k-i|0;b=((a|0)<(b|0)?b:a)>>>5|0;a=(a|0)>-1?a:-1;a=w(b,(a|0)<1?a:1);m=a>>>0>1?a:1;a=0;while(1){b=(a<<5)+k|0;if(q[b>>2]==(e|0)&q[b+4>>2]==(f|0)){a=i-32|0;i=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=i;u[b+16>>2]=u[a+16>>2];u[b+20>>2]=u[a+20>>2];u[b+24>>2]=u[a+24>>2];u[b+28>>2]=u[a+28>>2];q[g+68>>2]=a;if(a>>>0>>0){break c}o[g+280|0]=r[g+280|0]|16;break e}a=a+1|0;if((m|0)!=(a|0)){continue}break}}j=j+1|0;if((l|0)==(j|0)){break b}a=q[h>>2];if((q[h+4>>2]-a|0)/288>>>0>j>>>0){continue}break}}break a}break a}mi(4,134802,135498,0);G()}J(135546,135222,484,135536);G()}return}J(136114,135222,447,135487);G()}function Mu(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(150552,150567,153,150290);G();case 0:J(150597,150567,154,150290);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Mu(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;uz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(150621,150567,155,150290);G()}J(150643,150567,156,150290);G()}function KF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=3;h=q[a+80>>2];a:{if(!h){break a}j=q[h+4>>2];if(!j){break a}l=q[h>>2];h=0;while(1){k=w(h,48)+l|0;if((b|0)!=q[k>>2]|q[k+4>>2]!=(c|0)){h=h+1|0;if((j|0)!=(h|0)){continue}break a}break}b:{if(!(e>x(0)^1)){u[a+208>>2]=e;q[a+212>>2]=0;i=r[a+224|0];h=i&1;i=i|2;j=0;break b}i=r[a+224|0];h=i&1;j=(h<<5)+a|0;o[j+28|0]=r[j+28|0]&254;j=8}h=h^1;o[a+224|0]=h|i&254;h=(h<<5)+a|0;q[h+8>>2]=b;q[h+12>>2]=c;q[h>>2]=k;q[h+24>>2]=d;b=j|r[h+28|0]&-13;c=b|5;o[h+28|0]=c;c:{d:{switch(d-2|0){case 0:case 3:o[h+28|0]=b|7;f=f>2];if(d){e=u[d+8>>2];f=x(f*e);e:{if(q[c+24>>2]!=6){break e}d=(b<<5)+a|0;h=r[d+28|0];if(!(h&2)){break e}o[d+28|0]=h&253}f:{if(e>2]=r[a+28|0]&2?x(e-f):f}u[c+20>>2]=g>x(0)?g:x(0);i=0}return i}function GH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(186237,186252,153,186335);G();case 0:J(186347,186252,154,186335);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/40>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,40);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;GH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,40)|0;HH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+32>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(186371,186252,155,186335);G()}J(186393,186252,156,186335);G()}function EH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(186237,186252,153,186335);G();case 0:J(186347,186252,154,186335);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;EH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;FH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+20>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(186371,186252,155,186335);G()}J(186393,186252,156,186335);G()}function kR(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,p=0,r=0,s=0,t=0;n=q[a+28>>2];p=q[a+24>>2];r=q[a+20>>2];g=q[a+16>>2];h=q[a+48>>2];i=q[a+44>>2];k=q[a+40>>2];f=k;l=q[a+36>>2];d=l;m=q[a+32>>2];a=m+5|0;c=a>>>0<5?1:c;j=a;e=c;c=c+d|0;a=0;a=c>>>0>>0?a+1|0:a;e=c;c=0;d=a;a=a+f|0;c=a>>>0>>0?c+1|0:c;f=a;a=0;d=c+i|0;s=d;t=g;a=(c>>>0>d>>>0?a+1|0:a)+h>>>2|0;g=a-1|0;h=0-a|0;c=g&m|h&j;a=t+c|0;d=0;o[b|0]=a;d=a>>>0>>0?1:d;c=a;o[b+3|0]=(d&16777215)<<8|a>>>24;a=d;o[b+2|0]=(a&65535)<<16|c>>>16;o[b+1|0]=(a&255)<<24|c>>>8;e=g&l|e&h;d=e+r|0;c=0;c=d>>>0>>0?1:c;e=a;j=a+d|0;a=c;c=j;o[b+4|0]=c;a=e>>>0>c>>>0?a+1|0:a;o[b+7|0]=(a&16777215)<<8|c>>>24;d=a;o[b+6|0]=(a&65535)<<16|c>>>16;o[b+5|0]=(a&255)<<24|c>>>8;f=g&k|f&h;e=f+p|0;a=0;a=e>>>0>>0?1:a;f=d;e=d+e|0;c=e;o[b+8|0]=c;d=c>>>0>>0?a+1|0:a;o[b+11|0]=(d&16777215)<<8|c>>>24;a=d;o[b+10|0]=(a&65535)<<16|c>>>16;o[b+9|0]=(a&255)<<24|c>>>8;a=((g&i|h&s)+n|0)+a|0;o[b+12|0]=a;o[b+15|0]=a>>>24;o[b+14|0]=a>>>16;o[b+13|0]=a>>>8}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,p=0;e=fi-32|0;fi=e;k=li(b);h=ii;b=0;j=-3;a:{b:{l=q[a+8>>2];g=q[l+40>>2]-1|0;c:{if((g|0)<0){break c}n=q[l+36>>2];while(1){i=((g-b|0)/2|0)+b|0;f=w(i,40)+n|0;m=q[f+8>>2];f=q[f+12>>2];if((m|0)!=(k|0)|(f|0)!=(h|0)){p=(f|0)==(h|0)&k>>>0>>0|f>>>0>h>>>0;g=p?i-1|0:g;b=p?b:(f|0)==(h|0)&k>>>0>m>>>0|f>>>0>>0?i+1|0:b;if((g|0)>=(b|0)){continue}break c}break}if((i|0)<0){break c}b=q[l+8>>2];q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;d:{e:{f=q[(w(i,40)+n|0)+16>>2];b=q[(b<<2)+24480>>2]>>>3|0;switch(Ay(q[a>>2],f,b,e+12|0,e+16|0)|0){case 1:break c;case 0:break e;default:break d}}a=q[e+20>>2];g=q[d>>2];if(a>>>0>q[d+8>>2]-g>>>0){if(o[d+12|0]&1){break b}vi(a,1,d,d+8|0,d+4|0);g=q[d>>2]}q[d+4>>2]=g;j=-9;h=q[e+12>>2];if(ji[q[h+28>>2]](h,f,b,e+16|0,g)|0){break c}b=q[d>>2];if(a>>>0>q[d+8>>2]-b>>>0){break a}q[d+4>>2]=a+b;q[c>>2]=a;j=0;break c}j=-9}fi=e+32|0;return j}J(27518,26974,461,27593);G()}J(27605,26974,474,27624);G()}function qS(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=fi-32|0;fi=b;a:{if(!a){break a}i=q[a+72>>2];if(!i|q[a+20>>2]!=2){break a}j=q[a+16>>2];if(j>>>0>65535){break a}d=q[a>>2];f=q[i+4>>2];g=f;h=d+f|0;e=q[a+4>>2];c=e;c=h>>>0>>0?c+1|0:c;if(h+22>>>0<22){c=c+1|0}if(c){break a}b:{if(!j){g=d;f=0;d=0;c=0;break b}q[a+8>>2]=d;q[a+12>>2]=e;if((ji[q[a+60>>2]](q[a+68>>2],d,e,q[i>>2],f)|0)!=(f|0)){break a}c=q[a+4>>2];e=g+q[a>>2]|0;c=e>>>0>>0?c+1|0:c;g=e;e=c;q[a>>2]=g;q[a+4>>2]=c;c=q[a+16>>2]}q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;p[b+14>>1]=0;p[b+16>>1]=0;p[b+18>>1]=0;p[b+20>>1]=0;h=c>>>8|0;o[b+11|0]=h;o[b+10|0]=c;o[b+9|0]=h;o[b+8|0]=c;q[b>>2]=101010256;o[b+16|0]=d;o[b+19|0]=d>>>24;o[b+18|0]=d>>>16;o[b+17|0]=d>>>8;o[b+12|0]=f;o[b+15|0]=f>>>24;o[b+14|0]=f>>>16;o[b+13|0]=f>>>8;if((ji[q[a+60>>2]](q[a+68>>2],g,e,b,22)|0)!=22){break a}d=q[i+60>>2];if(d){if((nn(d)|0)==-1){break a}}q[a+20>>2]=3;d=a;e=q[a+4>>2];a=q[a>>2]+22|0;e=a>>>0<22?e+1|0:e;q[d>>2]=a;q[d+4>>2]=e}fi=b+32|0}function _i(a,b,c){var d=0;a:{if((b|0)>=1){d=(q[a+12>>2]+(b<<4)|0)-16|0;d=d>>>0>2]?d:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:d=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=d;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}c:{d:{if(q[d+8>>2]==4){break d}if(!WD(a,d)){a=0;if(!c){break c}q[c>>2]=0;return 0}d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break d}if((b|0)>=-9999){d=q[a+8>>2]+(b<<4)|0;break d}e:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break d;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break d;case 0:d=a+72|0;break d;default:break e}}a=q[q[q[a+20>>2]+4>>2]>>2];d=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}if(c){q[c>>2]=q[q[d>>2]+12>>2]}a=q[d>>2]+16|0}return a}function Nta(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){var t=0,u=0,v=0,x=0;u=l+m|0;t=u>>>0>>0?1:t;v=u;a:{b:{if(!t&v>>>0>f>>>0|t){break b}c:{if(o){v=n;t=v+o|0;u=0;u=t>>>0>>0?1:u;if(!u&f>>>0>=t>>>0){break c}break b}if(p){break a}}if((b&-2)==8){if((mwa(g<<2)|0)!=1){break b}if((mwa(h<<2)|0)!=1){break b}}b=(b|0)==9?p?9:8:b;v=Mv(b);if(!$L(b,d,i,j,r,s,w(g,h))){break b}t=p^1|1;d=t?m:o;f=e+l|0;e=e+n|0;l=t?f:e;d:{switch(b|0){case 13:l=22;if(p){l=21;if(!cr(a,c,g,h,e,o,23,4,q,1,k,i,j,r,s)){break b}}return cr(a,c,g,h,f,m,l,4,q,0,k,i,j,r,s);case 14:case 15:return cr(a,c,g,h,l,d,(b|0)==14?24:25,2,q,0,k,i,j,r,s);case 16:l=28;if(p){l=26;if(!cr(a,c,g,h,e,o,27,2,q,1,k,i,j,r,s)){break b}}return cr(a,c,g,h,f,m,l,2,q,0,k,i,j,r,s);default:J(85745,85651,9405,85892);G();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 17:case 18:case 19:case 20:case 21:break b;case 0:break d}}x=cr(a,c,g,h,l,d,0,v,q,0,k,i,j,r,s)}return x}J(85863,85651,8847,85892);G()}function TH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(134245,134260,153,134077);G();case 0:J(134343,134260,154,134077);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/184>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,184);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;TH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,184)|0;yz(d,q[b>>2],b+4|0);b=q[b+180>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(134367,134260,155,134077);G()}J(134389,134260,156,134077);G()}function RH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(102869,102884,153,102967);G();case 0:J(102979,102884,154,102967);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/280>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,280);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;RH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,280)|0;SH(d,q[b>>2],b+8|0);b=q[b+272>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(103003,102884,155,102967);G()}J(103025,102884,156,102967);G()}function zs(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(102869,102884,153,102967);G();case 0:J(102979,102884,154,102967);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;zs(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;As(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(103003,102884,155,102967);G()}J(103025,102884,156,102967);G()}function zH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(186237,186252,153,186335);G();case 0:J(186347,186252,154,186335);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;zH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;AH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(186371,186252,155,186335);G()}J(186393,186252,156,186335);G()}function rH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(186237,186252,153,186335);G();case 0:J(186347,186252,154,186335);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;rH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;lz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(186371,186252,155,186335);G()}J(186393,186252,156,186335);G()}function pz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(109034,109049,153,109022);G();case 0:J(109132,109049,154,109022);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;pz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;yH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(109156,109049,155,109022);G()}J(109178,109049,156,109022);G()}function oz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(100112,100127,153,100210);G();case 0:J(100222,100127,154,100210);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>5>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<5;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;oz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<5)|0;xH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+24>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(100246,100127,155,100210);G()}J(100268,100127,156,100210);G()}function nz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(111593,111608,153,111691);G();case 0:J(111703,111608,154,111691);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;nz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;uH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(111727,111608,155,111691);G()}J(111749,111608,156,111691);G()}function mz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(111593,111608,153,111691);G();case 0:J(111703,111608,154,111691);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>5>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<5;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;mz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<5)|0;tH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+24>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(111727,111608,155,111691);G()}J(111749,111608,156,111691);G()}function BH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(157063,157078,153,157108);G();case 0:J(157120,157078,154,157108);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>6>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<6;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;BH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<6)|0;CH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+56>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(157144,157078,155,157108);G()}J(157166,157078,156,157108);G()}function wz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(102220,102235,153,102318);G();case 0:J(102330,102235,154,102318);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/80>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,80);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;wz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,80)|0;xz(d,q[b>>2],b+8|0);b=q[b+72>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(102354,102235,155,102318);G()}J(102376,102235,156,102318);G()}function Dy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{e=s[b+34>>1];if((e|0)!=65535){c=q[a+155696>>2];g=a+88112|0;while(1){if(c>>>0>=1024){break g}f=e<<16>>16;d=f<<6;c=d+a|0;if(s[c+88146>>1]!=65535){break f}if(s[c+88150>>1]){break e}h=d+g|0;i=(p[h+32>>1]<<6)+g|0;if(s[i+34>>1]!=(e|0)){break d}d=q[c+88172>>2];h:{if(!d){break h}if((f|0)>1]){f=q[a+173524>>2];if((f|0)==q[a+173528>>2]){break c}q[a+173524>>2]=f+4;q[f>>2]=d;break h}Di(q[a+155704>>2],d)}p[i+34>>1]=s[c+88148>>1];i:{if(q[c+88168>>2]!=-17){break i}c=p[h+32>>1];if((c|0)==-1){break i}c=((c<<6)+a|0)+88150|0;d=s[c>>1];if(!d){break b}p[c>>1]=d-1}d=q[a+155696>>2];c=d+1|0;q[a+155696>>2]=c;p[((d<<1)+a|0)+153648>>1]=e;e=s[b+34>>1];if((e|0)!=65535){continue}break}}if(s[b+38>>1]){break a}return}J(30388,29361,409,30439);G()}J(30459,29361,412,30439);G()}J(30482,29361,413,30439);G()}J(30511,29361,415,30439);G()}J(30694,29732,501,30718);G()}J(29913,29361,318,29973);G()}J(30053,29361,445,30373);G()}function pH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(111593,111608,153,111691);G();case 0:J(111703,111608,154,111691);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;pH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;qH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(111727,111608,155,111691);G()}J(111749,111608,156,111691);G()}function nH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(158134,157964,153,158149);G();case 0:J(157940,157964,154,158149);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;nH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;oH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(157994,157964,155,158149);G()}J(158161,157964,156,158149);G()}function lH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(112662,112677,153,112760);G();case 0:J(112772,112677,154,112760);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;lH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;mH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(112796,112677,155,112760);G()}J(112818,112677,156,112760);G()}function WH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(168480,168495,153,168525);G();case 0:J(168537,168495,154,168525);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;WH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;XH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(168561,168495,155,168525);G()}J(168583,168495,156,168525);G()}function ys(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(11120,11135,153,10169);G();case 0:J(11218,11135,154,10169);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;ys(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;Ju(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(11242,11135,155,10169);G()}J(11264,11135,156,10169);G()}function vH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(27632,27647,153,27593);G();case 0:J(27730,27647,154,27593);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/48>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,48);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;vH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,48)|0;wH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+40>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(27754,27647,155,27593);G()}J(27776,27647,156,27593);G()}function sz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(44795,44810,153,44893);G();case 0:J(44905,44810,154,44893);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;sz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;tz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+20>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(44929,44810,155,44893);G()}J(44951,44810,156,44893);G()}function er(a){var b=x(0),c=0,d=0,e=x(0);a:{d=(ywa(a),uwa(2));c=d&2147483647;if(c>>>0>=1065353216){if((c|0)==1065353216){break a}return x(x(0)/x(a-a))}b:{if(c>>>0<=1056964607){b=x(1.570796251296997);if(c>>>0<847249409){break b}b=x(a*a);return x(x(x(x(7.549789415861596e-8)-x(x(x(x(x(x(x(b*x(-.008656363002955914))+x(-.04274342209100723))*b)+x(.16666586697101593))*b)/x(x(b*x(-.7066296339035034))+x(1)))*a))-a)+x(1.570796251296997))}if((d|0)<=-1){a=x(x(a+x(1))*x(.5));b=x(F(a));a=x(x(1.570796251296997)-x(b+x(x(b*x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1))))+x(-7.549789415861596e-8))));return x(a+a)}a=x(x(x(1)-a)*x(.5));e=x(F(a));b=(vwa(2,(ywa(e),uwa(2))&-4096),zwa());a=x(x(x(e*x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1))))+x(x(a-x(b*b))/x(e+b)))+b);b=x(a+a)}return b}return(d|0)>-1?x(0):x(3.141592502593994)}function Rv(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=x(0);a:{b:{i=q[a+1008>>2];c:{d:{e:{if(!i){f=q[a+4>>2];break e}f=i<<1;e=a+1108|0;f:{if((f|0)==q[a+128>>2]){break f}if((f|0)!=q[a+132>>2]){break b}e=a+1112|0}f=q[a+4>>2];if((f|0)<=0){q[a+1008>>2]=b-d;break a}if((i|0)<=0){j=b-d|0;q[a+1008>>2]=j;break d}m=q[e>>2];j=(f|0)>1?f:1;while(1){e=(h<<2)+a|0;k=q[e+944>>2];l=q[e+816>>2];g=0;while(1){e=l+(c+g<<2)|0;n=e;o=u[e>>2];e=g<<2;u[n>>2]=x(o*u[e+m>>2])+x(u[e+k>>2]*u[m+((g^-1)+i<<2)>>2]);g=g+1|0;if((i|0)!=(g|0)){continue}break}h=h+1|0;if((j|0)!=(h|0)){continue}break}}j=b-d|0;q[a+1008>>2]=j;if((f|0)<1){break c}}if((b|0)<=(d|0)){break c}k=(f|0)>1?f:1;h=0;while(1){e=(h<<2)+a|0;l=q[e+944>>2];e=q[e+816>>2];f=d;g=0;while(1){u[l+(g<<2)>>2]=u[e+(f<<2)>>2];g=g+1|0;f=g+d|0;if((g|0)!=(j|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}}if(i){break a}return 0}J(204372,202968,3100,204374);G()}e=a;f=q[a+1432>>2];a=((b|0)<(d|0)?b:d)-c|0;q[e+1432>>2]=f+a;return a}function IH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(63867,63882,153,63965);G();case 0:J(63977,63882,154,63965);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;IH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;JH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(64001,63882,155,63965);G()}J(64023,63882,156,63965);G()}function pma(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,r=0,t=0,v=0;i=fi+ -64|0;fi=i;j=q[e+8>>2];p=q[q[e+4>>2]+4>>2];if(j>>>0

>>0){q[e+8>>2]=j+1;k=q[a+4>>2];f=k;r=q[f+96>>2];f=q[f+100>>2];l=q[c+4>>2];g=l;t=q[g+96>>2];g=q[g+100>>2];v=q[e>>2];if(b){e=0;if(!(b&1)){while(1){e=e+1|0;h=b&2;b=(b&65534)>>>1|0;if(!h){continue}break}}b=(e<<3)+v|0;h=q[b>>2];m=q[b+4>>2]}if(d){b=0;if(!(d&1)){while(1){b=b+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}b=(b<<3)+v|0;n=q[b>>2];o=q[b+4>>2]}b=i;q[b+48>>2]=n;q[b+52>>2]=o;q[b+56>>2]=h;q[b+60>>2]=m;q[b+24>>2]=n;q[b+28>>2]=o;q[b+16>>2]=t;q[b+20>>2]=g;bp(b,l);d=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=d;u[b+32>>2]=u[b>>2];zB(b+16|0,k,r,f,s[a+22>>1]);q[b+48>>2]=h;q[b+52>>2]=m;q[b+56>>2]=n;q[b+60>>2]=o;q[b+24>>2]=h;q[b+28>>2]=m;q[b+16>>2]=r;q[b+20>>2]=f;bp(b,k);a=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=a;u[b+32>>2]=u[b>>2];zB(b+16|0,l,t,g,s[c+22>>1])}fi=i- -64|0;return j>>>0

>>0|0}function X6(a,b){var c=0,d=0;c=fi-2192|0;fi=c;lk(a,q[72164],c+1168|0);a:{if(!_k(c+1168|0)){break a}lk(a,q[72163],c+144|0);d=cu(c+144|0,c+1168|0);if(d){q[c+120>>2]=d;q[c+116>>2]=c+144;q[c+112>>2]=c+1168;mi(4,199540,200421,c+112|0);break a}Zk(c+1168|0);q[c+100>>2]=c+144;q[c+96>>2]=c+1168;mi(2,199540,200457,c+96|0)}lk(a,q[72163],c+1168|0);a=1;b:{if(!_k(c+1168|0)){break b}qi(c+144|0,0,1024);d=sk(c+1168|0,199660);Yk(c+144|0,1,1024,d);Qj(d);o[c+1167|0]=0;if(!_k(c+144|0)){q[c+80>>2]=c+144;mi(4,199540,199663,c+80|0);break b}q[c+64>>2]=c+144;mi(2,199540,199703,c- -64|0);if(Tx(c+144|0,c+140|0)){q[c+48>>2]=c+144;mi(4,199540,199737,c+48|0);break b}q[c+136>>2]=0;d=Du(q[c+140>>2],q[72166],c+136|0);cs(q[c+140>>2]);if(!d){q[c>>2]=q[72166];mi(4,199540,199766,c);break b}a=H3(d,q[c+136>>2],b);ki(d);if(a){q[c+32>>2]=a;mi(4,199540,199810,c+32|0);break b}a=Cu(q[b>>2]);if(!a){a=0;break b}q[c+16>>2]=a;mi(4,199540,199838,c+16|0);a=q[b>>2];if(a){ki(a)}q[b>>2]=0;a=-1}fi=c+2192|0;return a}function JF(a,b,c){var d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=0,p=0,r=x(0),s=x(0),t=x(0),v=x(0),y=0,z=x(0),A=0;b=b-a|0;e=(b|0)/48|0;a:{if(b){j=q[c+4>>2];o=q[c>>2];b=j-o|0;c=(b|0)>-1?b:-1;p=(c|0)<1?c:1;c=o-j|0;j=w(p,((b|0)<(c|0)?c:b)>>>6|0);y=e>>>0>1?e:1;e=0;while(1){if((e|0)==(j|0)){break a}c=w(e,48)+a|0;k=u[c+40>>2];f=u[c+36>>2];z=u[c+24>>2];A=q[c+20>>2];p=q[c+16>>2];b=(e<<6)+o|0;l=u[c+32>>2];d=u[c>>2];m=u[c+4>>2];r=x(m+m);i=x(d*r);s=u[c+12>>2];h=u[c+8>>2];g=x(h+h);n=x(s*g);u[b+4>>2]=l*x(i+n);t=x(d*g);v=x(r*s);u[b+8>>2]=l*x(t-v);u[b+12>>2]=l*x(0);u[b+16>>2]=f*x(i-n);n=d;d=x(d+d);i=x(x(1)-x(n*d));h=x(h*g);u[b+20>>2]=f*x(i-h);g=x(m*g);d=x(d*s);u[b+24>>2]=f*x(g+d);u[b+28>>2]=f*x(0);u[b+32>>2]=k*x(t+v);u[b+36>>2]=k*x(g-d);f=x(m*r);u[b+40>>2]=k*x(i-f);u[b+44>>2]=k*x(0);q[b+48>>2]=p;q[b+52>>2]=A;q[b+60>>2]=1065353216;u[b+56>>2]=z;u[b>>2]=l*x(x(x(1)-f)-h);e=e+1|0;if((y|0)!=(e|0)){continue}break}}return}J(136820,136831,447,136801);G()}function M0(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-48|0;fi=d;c=Vi(a,1);b=Ni(a,2,0);a:{if(!Ej(116412,b)){if(Qn(a,3)){a=Vi(a,3);b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;b=0;break a}if($j(a,3)){b=0;b:{c:{e=_i(a,3,0);c=Nm(e,c);switch(c+6|0){case 0:case 6:break a;case 2:break c;default:break b}}q[d+16>>2]=e;b=ni(a,115576,d+16|0);break a}q[d+4>>2]=c;q[d>>2]=e;b=ni(a,115609,d);break a}if(!ri(a,3)){q[c>>2]=0;q[c+4>>2]=0;b=0;break a}b=ni(a,116479,0);break a}if(!Ej(116419,b)){if($j(a,3)){b=0;q[c+16>>2]=li(_i(a,3,0));q[c+20>>2]=ii;break a}if(!ri(a,3)){q[c+16>>2]=0;q[c+20>>2]=0;b=0;break a}if(Qn(a,3)){q[c+16>>2]=Qk(a,3);q[c+20>>2]=ii;b=0;break a}b=ni(a,116535,0);break a}if(!Ej(116424,b)){if($j(a,3)){b=0;q[c+24>>2]=li(_i(a,3,0));q[c+28>>2]=ii;break a}if(!ri(a,3)){q[c+24>>2]=0;q[c+28>>2]=0;b=0;break a}if(Qn(a,3)){a=Vi(a,3);b=q[a+4>>2];q[c+24>>2]=q[a>>2];q[c+28>>2]=b;b=0;break a}b=ni(a,116587,0);break a}q[d+36>>2]=115799;q[d+32>>2]=115795;b=ni(a,116433,d+32|0)}fi=d+48|0;return b|0}function XA(a){var b=0,c=0,d=0,e=0,f=0,g=0;xwa(+a);b=uwa(1)|0;uwa(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=y(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=v[b+208720>>3]-(a*(e+c)-v[b+208752>>3]-a);a=(f|0)>-1?a:-a}return a}xwa(1.5707963267948966);b=uwa(1)|0;f=uwa(0)|0;xwa(+a);d=uwa(1)|0;uwa(0)|0;vwa(0,f|0);vwa(1,b&2147483647|d&-2147483648);e=+wwa();xwa(+a);b=uwa(1)|0;d=uwa(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function Ou(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(150552,150567,153,150290);G();case 0:J(150597,150567,154,150290);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Ou(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;zz(d,q[b>>2],b+4|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(150621,150567,155,150290);G()}J(150643,150567,156,150290);G()}function sH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(60191,60206,153,60141);G();case 0:J(60289,60206,154,60141);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;sH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Ku(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(60313,60206,155,60141);G()}J(60335,60206,156,60141);G()}function NH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(27632,27647,153,27593);G();case 0:J(27730,27647,154,27593);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;NH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;OH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(27754,27647,155,27593);G()}J(27776,27647,156,27593);G()}function LH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(22362,22377,153,22311);G();case 0:J(22460,22377,154,22311);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;LH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;MH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(22484,22377,155,22311);G()}J(22506,22377,156,22311);G()}function KH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(11120,11135,153,10169);G();case 0:J(11218,11135,154,10169);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;KH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Iq(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(11242,11135,155,10169);G()}J(11264,11135,156,10169);G()}function jz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(27632,27647,153,27593);G();case 0:J(27730,27647,154,27593);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,24);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;jz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;kz(d,q[b>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(27754,27647,155,27593);G()}J(27776,27647,156,27593);G()}function UH(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(42107,42122,153,39299);G();case 0:J(42205,42122,154,39299);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;UH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;VH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(42229,42122,155,39299);G()}J(42251,42122,156,39299);G()}function Nu(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(23948,23963,153,24046);G();case 0:J(24058,23963,154,24046);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Nu(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;vz(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(24082,23963,155,24046);G()}J(24104,23963,156,24046);G()}function mma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{d=q[a+8>>2];e=q[d+20>>2];b=q[d+16>>2];c=e-b|0;c:{if(!c){break c}h=q[q[a+16>>2]>>2];f=c>>2;c=0;while(1){i=(c<<2)+b|0;g=q[i>>2]==(h|0)|g;if(!(!(g&1)|f-1>>>0<=c>>>0)){c=c+1|0;if(c>>>0>=f>>>0){break b}q[i>>2]=q[(c<<2)+b>>2];e=q[d+20>>2];b=q[d+16>>2]}j=j+1|0;c=j&255;f=e-b>>2;if(c>>>0>>0){continue}break}if(!(g&1)){break c}if((b|0)==(e|0)){break a}q[d+20>>2]=e-4}d:{e:{e=q[d+4>>2];f=q[d>>2];if((e|0)==(f|0)){break e}g=(e-f|0)/28|0;h=q[a+4>>2];c=0;b=0;while(1){a=f+w(c,28)|0;if((h|0)!=q[a>>2]){b=b+1|0;c=b&255;if(g>>>0>c>>>0){continue}break e}break}b=e-28|0;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;q[a+24>>2]=q[b+24>>2];c=q[b+20>>2];q[a+16>>2]=q[b+16>>2];q[a+20>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;b=q[d+4>>2]-28|0;q[d+4>>2]=b;a=0;if(b>>>0>=t[d>>2]){break d}J(33084,32946,484,33074);G()}mi(4,32589,32648,0);a=-1e3}return a|0}J(33037,32946,447,33048);G()}J(33059,32946,516,33070);G()}function Sja(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=x(0),t=0,v=0;f=fi-16|0;fi=f;c=q[a+4>>2];e=q[c+4>>2]-q[c>>2]|0;b=(e|0)/40|0;a:{g=(q[c+24>>2]-q[c+16>>2]|0)/272|0;d=q[c+112>>2];b:{if(g>>>0>>0){q[f>>2]=g;mi(3,48249,48320,f);a=-1e3;break b}j=q[c+84>>2];h=q[a+8>>2];if(r[h+20|0]){b6(j,q[h+4>>2])}g=Qo(q[h+4>>2],d);d=Po(q[h+4>>2],443,c);a=g;if(e){l=b>>>0>1?b:1;m=d<<6;e=0;while(1){b=q[c>>2];if((q[c+4>>2]-b|0)/40>>>0<=e>>>0){break a}i=b+w(e,40)|0;c:{if(!(o[i+32|0]&1)){break c}b=q[i+20>>2];k=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(!k){break c}d=0;while(1){$y(j,q[i+16>>2],d,f+12|0);b=q[f+12>>2];n=u[b+56>>2];t=q[b+48>>2];v=q[b+52>>2];q[a+32>>2]=b;q[a+36>>2]=0;u[a+8>>2]=n;q[a>>2]=t;q[a+4>>2]=v;q[a+20>>2]=q[b+92>>2];q[a+24>>2]=q[q[b+64>>2]+80>>2];p[a+40>>1]=s[a+40>>1]&49152|m|16;a=a+48|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break}}Oo(q[h+4>>2],g,a);a=0}fi=f+16|0;return a|0}J(48739,48652,447,48750);G()}function T8(a,b,c,d){var e=0,f=x(0),g=x(0),h=0,i=0,j=x(0),k=x(0),l=0,m=0;e=fi-128|0;fi=e;a:{b:{i=b&65535;h=q[a+32>>2];if(i>>>0<(q[a+36>>2]-h|0)/576>>>0){if(s[(h+w(i,576)|0)+552>>1]!=(b>>>16|0)){break b}h=h+w(i,576)|0;if(s[h+554>>1]!=(b&65535)){break a}b=q[a+12>>2];i=q[b+20>>2];l=q[b+28>>2];m=q[b+24>>2];b=q[b+32>>2];Pq(a,h,7,e- -64|0);q[e+104>>2]=1065353216;ir(e,e- -64|0);f=x(x(x(i>>>0)/x(l>>>0))*c);g=x(x(x(m>>>0)/x(b>>>0))*d);j=u[e+36>>2];c=x(x(x(x(f*u[e+4>>2])+x(g*u[e+20>>2]))+x(j*x(0)))+u[e+52>>2]);k=u[e+32>>2];d=x(x(x(x(f*u[e>>2])+x(g*u[e+16>>2]))+x(k*x(0)))+u[e+48>>2]);fi=e+128|0;g=x(x(f*u[e+8>>2])+x(g*u[e+24>>2]));f=u[e+40>>2];g=x(x(g+x(f*x(0)))+u[e+56>>2]);c:{if(!((g>=x(0)?g:x(-g))>x(9999999747378752e-20)^1)){a=0;if((f>=x(0)?f:x(-f))=x(0)&c>=x(0)&c<=x(1)}return a}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function vs(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(b){e=b&65535;c=q[a>>2];if(e>>>0>=q[a+4>>2]-c>>2>>>0){break b}c=q[c+(e<<2)>>2];if(s[c+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}d=q[c+72>>2];if(d){ki(d);q[c+16>>2]=0;q[c+72>>2]=0}f=q[a+16>>2];if(!f){break d}d=s[a+22>>1];if(!d|d>>>0>s[a+20>>1]){break c}d=d-1|0;p[a+22>>1]=d;p[f+((d&65535)<<1)>>1]=b;b=q[a+4>>2];a=q[a>>2];if(e>>>0>=b-a>>2>>>0){break b}b=0;q[a+(e<<2)>>2]=0;d=q[c+4>>2];a=q[c>>2];f=d-a|0;e=(f|0)/288|0;e:{if(!f){break e}if((a|0)!=(d|0)){e=e>>>0>1?e:1;while(1){a=w(b,288)+a|0;if(o[a+60|0]&1){break a}vi(0,160,a+48|0,a+56|0,a+52|0);if(o[a+76|0]&1){break a}vi(0,32,a- -64|0,a+72|0,a+68|0);b=b+1|0;if((e|0)==(b|0)){break e}a=q[c>>2];if((q[c+4>>2]-a|0)/288>>>0>b>>>0){continue}break}}break b}f:{if(o[c+12|0]&1){break f}a=q[c>>2];if(!a){break f}ki(a)}ki(c)}return}J(136125,135363,140,136156);G()}J(136161,135363,141,136156);G()}J(136114,135222,447,135487);G()}J(135147,135222,461,135301);G()}function So(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(4838,4853,153,4936);G();case 0:J(4948,4853,154,4936);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=c<<4;b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;So(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;um(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(4972,4853,155,4936);G()}J(4994,4853,156,4936);G()}function Hda(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-48|0;fi=c;b=c;q[b+40>>2]=0;q[b+44>>2]=0;q[b+20>>2]=1;q[b+12>>2]=2;q[b+16>>2]=1;q[b+24>>2]=0;q[b+28>>2]=0;o[b+31|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;q[b+4>>2]=3;q[b+8>>2]=5;e=q[q[74995]>>2];tj(e);a:{b:{b=a&65535;d=q[74983];if(b>>>0<(q[74984]-d|0)/48>>>0){d=d+w(b,48)|0;b=q[d+44>>2];q[c+40>>2]=q[d+40>>2];q[c+44>>2]=b;b=q[d+36>>2];q[c+32>>2]=q[d+32>>2];q[c+36>>2]=b;b=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=b;b=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=b;b=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=b;b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;f=q[74987];if(!f){break b}d=s[149977]-1|0;b=d&65535;if(b>>>0>=s[149976]){break a}p[149977]=d;p[f+(b<<1)>>1]=a;lj(e);ji[q[74963]](q[c>>2],c|4);gc();b=q[c>>2];a=s[b+22>>1];p[b+22>>1]=owa(-2,s[c+32>>1])&a;fi=c+48|0;return}J(80504,80515,447,80594);G()}J(83460,83386,140,83115);G()}J(83491,83386,141,83115);G()}function NT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=fi-16|0;fi=g;c=q[a+68>>2];i=q[c+444>>2];f=q[a>>2];e=q[(i?c+448|0:f+132|0)>>2];j=q[f+128>>2];d=-27648;a:{b:{c:{switch(b-5|0){case 0:b=(e<<8&16711680|e<<24)>>>16|0;o[c+1192|0]=b;o[c+1193|0]=b>>>8;d=-28928;if(e>>>0>1058){break a}b=qi(c+1194|0,0,e)+e|0;break b;case 1:h=c+1194|0;d=vD(c+8|0,h,1058,g+12|0,q[f+24>>2],q[f+28>>2]);if(d){break a}b=q[g+12>>2];d=(b<<24|b<<8&16711680)>>>16|0;o[c+1192|0]=d;o[c+1193|0]=d>>>8;b=b+h|0;break b;case 3:h=c+1194|0;d=tD(c+132|0,g+8|0,h,1058,q[f+24>>2],q[f+28>>2]);if(d){break a}b=q[g+8>>2];d=(b<<24|b<<8&16711680)>>>16|0;o[c+1192|0]=d;o[c+1193|0]=d>>>8;b=b+h|0;break b;case 2:break c;default:break a}}o[c+1192|0]=0;o[c+1193|0]=48;b=c+1242|0}d=-28928;c=c+2252|0;if((c-b|0)<2){break a}f=(e<<8&16711680|e<<24)>>>16|0;o[b|0]=f;o[b+1|0]=f>>>8;b=b+2|0;if(b>>>0>c>>>0|c-b>>>0>>0){break a}b=si(b,i?i:j,e);a=q[a+68>>2];q[a+1124>>2]=((b+e|0)-a|0)-1192;d=0}fi=g+16|0;return d}function iz(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{switch(b+1|0){case 1:J(6634,6255,153,6599);G();case 0:J(6649,6255,154,6599);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=xi(b);q[a>>2]=e;qi(e,255,b);c=w(c,12);b=xi(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;iz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;Hu(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}ki(q[a>>2]);ki(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}fi=d+32|0;return}J(6673,6255,155,6599);G()}J(6695,6255,156,6599);G()}function Os(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=q[b+140>>2];g=e;h=q[b+136>>2];f=e;a:{b:{c:{d:{d=e&32767;e=q[a+2056>>2];i=q[a+2060>>2]-e|0;if(d>>>0>2>>>0){if(q[(d<<2)+e>>2]!=(b|0)){break d}if(q[b+80>>2]!=(a|0)){break c}if(!(r[a+4276|0]&2|(g&32768)!=0)){d=f;f=s[b+144>>1];d=d|0;e:{if(!c){break e}c=s[b+150>>1]&32767;if((c|0)==32767){break e}f:{if(i>>2>>>0>c>>>0){while(1){c=q[(c<<2)+e>>2];if(s[c+138>>1]!=(q[b+140>>2]&32767)){break b}d=q[c+148>>2];Os(a,c,1);c=d&32767;if((c|0)==32767){break f}e=q[a+2056>>2];if(q[a+2060>>2]-e>>2>>>0>c>>>0){continue}break}}break a}f=s[b+144>>1];c=q[b+140>>2];g=c;h=q[b+136>>2];d=c}p[b+144>>1]=f;q[b+136>>2]=h;q[b+140>>2]=g|32768;b=d&32767;c=s[a+4270>>1];g:{if((c|0)!=32767){d=q[a+2056>>2];if(c>>>0>=q[a+2060>>2]-d>>2>>>0){break a}p[q[d+(c<<2)>>2]+144>>1]=b;break g}p[a+4268>>1]=b}p[a+4270>>1]=b}return}break a}J(8137,7150,1764,8192);G()}J(8199,7150,1765,8192);G()}J(8236,7150,1783,8192);G()}J(12475,10090,447,9406);G()}function yU(a,b,c,d,e){var f=0,g=0,h=0;f=fi-32|0;fi=f;g=-4;a:{if(!d|!e|(q[d+8>>2]|q[e+8>>2])){break a}if((jj(a,0)|0)<1){break a}if((jj(c,1)|0)<1){break a}if((Dj(c,a)|0)>-1){break a}if((jj(b,1)|0)<1){break a}if((Dj(b,a)|0)>-1){break a}q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;g=Ak(f+16|0,c,b);b:{if(g){break b}g=tl(f+16|0,f+16|0,1);if(g){break b}h=Er(f+16|0)&65535;c:{if(!h){break c}g=Nk(f+16|0,h);if(g){break b}c=(q[q[a+8>>2]>>2]&7)==1;while(1){gk(f,r[c+140336|0]);g=Fr(d,f,a);if(g){break b}if(!jj(d,1)){b=1;g=co(f,f,f+16|0,a,e);if(g){break b}while(1){if(jj(f,1)){g=QU(f,f);if(g){break b}g=Fr(d,f,a);if(g){break b}d:{if((jj(d,1)|0)!=1){break d}if((Dj(d,a)|0)!=-1){break d}g=bx(e,0,a,d);break b}g=tl(f,f,1);if(g){break b}g=Ak(f,f,f);if(g){break b}g=Lk(f,f,a);if(g){break b}b=b+1|0;if((b&65535)>>>0<=h>>>0){continue}}break}if(jj(f,1)){break c}}c=c+1|0;if((c|0)!=54){continue}break}}g=-4}Ji(f);Ji(f+16|0)}fi=f+32|0;return g}function o4(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,r=0,s=0,t=0,u=0;c=fi-32|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=no(a,1);e=q[b>>2];f=q[b+4>>2];g=q[b+8>>2];h=q[b+12>>2];i=q[b+16>>2];j=q[b+20>>2];k=q[b+24>>2];l=q[b+28>>2];m=q[b+32>>2];n=q[b+36>>2];o=q[b+40>>2];p=q[b+44>>2];r=q[b+48>>2];s=q[b+52>>2];t=q[b+60>>2];u=q[b+56>>2];b=Ci(64);q[b+56>>2]=u;q[b+60>>2]=t;q[b+48>>2]=r;q[b+52>>2]=s;q[b+40>>2]=o;q[b+44>>2]=p;q[b+32>>2]=m;q[b+36>>2]=n;q[b+24>>2]=k;q[b+28>>2]=l;q[b+16>>2]=i;q[b+20>>2]=j;q[b+8>>2]=g;q[b+12>>2]=h;q[b>>2]=e;q[b+4>>2]=f;e=c+8|0;q[e+4>>2]=b;q[e>>2]=8;b=q[d+4>>2];a:{if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+24>>2];a=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=a;a=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=a;a=0;break a}q[c>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c)}fi=c+32|0;return a|0}J(104348,104245,265,107702);G()}function i4(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,r=0,s=0,t=0,u=0;c=fi-32|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=no(a,1);e=q[b>>2];f=q[b+4>>2];g=q[b+8>>2];h=q[b+12>>2];i=q[b+16>>2];j=q[b+20>>2];k=q[b+24>>2];l=q[b+28>>2];m=q[b+32>>2];n=q[b+36>>2];o=q[b+40>>2];p=q[b+44>>2];r=q[b+48>>2];s=q[b+52>>2];t=q[b+60>>2];u=q[b+56>>2];b=Ci(64);q[b+56>>2]=u;q[b+60>>2]=t;q[b+48>>2]=r;q[b+52>>2]=s;q[b+40>>2]=o;q[b+44>>2]=p;q[b+32>>2]=m;q[b+36>>2]=n;q[b+24>>2]=k;q[b+28>>2]=l;q[b+16>>2]=i;q[b+20>>2]=j;q[b+8>>2]=g;q[b+12>>2]=h;q[b>>2]=e;q[b+4>>2]=f;e=c+8|0;q[e+4>>2]=b;q[e>>2]=7;b=q[d+4>>2];a:{if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+24>>2];a=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=a;a=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=a;a=0;break a}q[c>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c)}fi=c+32|0;return a|0}J(104348,104245,265,107702);G()}function Dqa(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-2304|0;fi=e;a:{b:{if(a){if(!d){break b}q[d>>2]=0;c:{d:{if(!RE(a,e+96|0)){e:{if(ej(e+96|0,139222,5)){if(ej(e+96|0,139227,6)){break e}}f=e+2296|0;q[f>>2]=0;q[f+4>>2]=0;q[e+2288>>2]=0;q[e+2292>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+36>>2]=1;q[e+40>>2]=0;q[e+12>>2]=1307;q[e+24>>2]=0;q[e+28>>2]=0;q[e+32>>2]=0;q[e+16>>2]=1178;q[e+12>>2]=1179;q[e+8>>2]=e+2288;f=-1;g=ez(e+8|0,e+168|0,s[e+232>>1],!ej(e+96|0,139227,6));f:{if(!g){break f}h=cH(g,e+236|0);fz(g);if(h){break f}g=q[e+2292>>2];f=q[e+2288>>2];if((g|0)==(f|0)){break a}f=lL(a,f,g-f|0,b,c,d)}if(o[e+2300|0]&1){break c}a=q[e+2288>>2];if(!a){break c}ki(a);break c}if(!ej(e+96|0,139233,5)){f=kL(e+236|0,b,c,d);break c}if(!ej(e+96|0,139238,5)){break d}f=-5;if(!ej(e+96|0,139243,5)){break d}break c}f=-5;if(Am(a,e+8|0)){break c}}f=kL(a,b,c,d)}fi=e+2304|0;return f}J(139206,139167,541,139210);G()}J(139215,139167,542,139210);G()}J(139598,139421,389,139609);G()}function rla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-80|0;fi=c;f=q[a+60>>2];d=q[f>>2];e=q[a+64>>2];b=Ci(40);q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=f;q[b>>2]=e;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;g=q[a>>2];q[b+16>>2]=0;q[b+12>>2]=g;g=s[a+76>>1];o[b+22|0]=1;p[b+20>>1]=g;L8(c);a:{d=q[d+80>>2];if(d>>>0<8193){q[c+32>>2]=b;q[c+4>>2]=1024;q[c>>2]=d;q[c+8>>2]=128;q[c+12>>2]=64;q[c+20>>2]=q[e+80>>2];d=q[e+76>>2];q[c+64>>2]=411;q[c+28>>2]=d;q[c+68>>2]=412;q[c+60>>2]=b;q[c+56>>2]=413;q[c+52>>2]=b;q[c+48>>2]=414;q[c+44>>2]=415;q[c+40>>2]=416;q[c+36>>2]=417;q[c+76>>2]=q[e+96>>2];d=_8(q[f+76>>2],c);q[b+8>>2]=d;b:{if(!eJ(e,d,f)){LI(q[b+8>>2]);c:{if(o[b+36|0]&1){break c}a=q[b+24>>2];if(!a){break c}ki(a)}ki(b);a=-1e3;break b}q[q[a+72>>2]>>2]=b;a=q[e+36>>2];if((a|0)==q[e+40>>2]){break a}q[e+36>>2]=a+4;q[a>>2]=b;a=0}fi=c+80|0;return a|0}J(39630,39661,673,39700);G()}J(39443,39220,501,39467);G()}function ioa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi+ -64|0;fi=b;d=q[q[a+24>>2]>>2];f=q[q[d>>2]+40>>2];q[b+60>>2]=0;q[b+56>>2]=0;q[b+52>>2]=0;o[b+51|0]=0;q[b+44>>2]=0;c=-1;a:{if(oK(f+44|0,q[a+16>>2],q[a+20>>2],b+56|0,b+60|0,b+52|0,b+51|0,b+44|0)){c=q[q[d>>2]>>2];g=q[c+8>>2]-q[c+12>>2]>>4;Ki(c);f=ri(c,-1);oi(c,-2);if(!f){Xi(c,-1e4,q[d+12>>2]);bk(c)}Xi(c,-1e4,q[d+16>>2]);d=a- -64|0;e=q[d+4>>2];q[b+32>>2]=q[d>>2];q[b+36>>2]=e;d=a;e=q[d+60>>2];q[b+24>>2]=q[d+56>>2];q[b+28>>2]=e;e=q[d+52>>2];q[b+16>>2]=q[d+48>>2];q[b+20>>2]=e;e=q[d+44>>2];q[b+8>>2]=q[d+40>>2];q[b+12>>2]=e;e=q[d+36>>2];q[b>>2]=q[d+32>>2];q[b+4>>2]=e;d=q[b+56>>2];if(r[b+51|0]){wi(c,d);gl(c,-2);b:{if(!ri(c,-1)){break b}if(iv(c,-1,b)){break b}u[((q[b+44>>2]<<2)+b|0)+8>>2]=v[a+40>>3]}oi(c,-2)}wi(c,d);jK(c,b);qj(c,-3);oi(c,-2);if(!f){a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;bk(c)}if(q[c+8>>2]-q[c+12>>2]>>4!=(g|0)){break a}c=0}fi=b- -64|0;return c|0}J(13263,12779,1e3,13284);G()}function T3(a,b){var c=0,d=0,e=0,f=0;d=fi-48|0;fi=d;c=q[72975];a:{if(!c){break a}while(1){e=q[b+24>>2];if((e|0)==q[b+16>>2]-q[b+8>>2]>>4){e=e+8|0;So(b,e>>>1|0,e)}q[d+40>>2]=b;q[d+24>>2]=a;e=q[c>>2];q[d+28>>2]=e;q[d+32>>2]=li(e);q[d+36>>2]=ii;e=ji[q[c+4>>2]](d+24|0)|0;f=q[c>>2];if(e){c=26440;b:{c:{switch(e+21|0){case 18:c=26450;break b;case 17:c=26469;break b;case 16:c=26492;break b;case 15:c=26511;break b;case 14:c=26517;break b;case 13:c=26539;break b;case 12:c=26553;break b;case 11:c=26562;break b;case 10:c=26573;break b;case 9:c=26590;break b;case 8:c=26613;break b;case 7:c=26626;break b;case 6:c=26641;break b;case 5:c=26655;break b;case 4:c=26675;break b;case 2:c=26683;break b;case 1:c=26700;break b;case 0:c=26719;break b;default:c=26733;break b;case 19:break b;case 20:break c}}c=26427}q[d+4>>2]=c;q[d>>2]=f;mi(4,24355,26789,d);break a}q[d+16>>2]=f;e=0;mi(0,24355,26822,d+16|0);c=q[c+12>>2];if(c){continue}break}}fi=d+48|0;return e}function Mt(a,b,c,d){var e=0,f=0,g=0,h=0;f=q[b+8>>2];a:{b:{while(1){c:{if((f|0)==5){g=q[b>>2];f=vx(a,g,c);d:{if(q[f+8>>2]){break d}e=q[g+8>>2];if(!e|r[e+6|0]&2){break d}e=Jn(e,1,q[q[a+16>>2]+192>>2]);if(e){break c}}b=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=b;q[f+8>>2]=q[d+8>>2];if(!(r[g+5|0]&4)|(!(r[q[d>>2]+5|0]&3)|q[d+8>>2]<4)){break a}a=q[a+16>>2];o[g+5|0]=r[g+5|0]&251;q[g+24>>2]=q[a+40>>2];q[a+40>>2]=g;return}e=Ik(a,b,1);if(q[e+8>>2]){break c}Vt(a,b,128391)}f=q[e+8>>2];if((f|0)!=6){b=e;h=h+1|0;if((h|0)==100){break b}continue}break}f=q[e+4>>2];h=q[a+8>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;q[h+8>>2]=q[e+8>>2];f=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=f;q[e+24>>2]=q[b+8>>2];b=q[c+4>>2];f=q[a+8>>2];q[f+32>>2]=q[c>>2];q[f+36>>2]=b;q[f+40>>2]=q[c+8>>2];b=q[d+4>>2];c=q[a+8>>2];q[c+48>>2]=q[d>>2];q[c+52>>2]=b;q[c+56>>2]=q[d+8>>2];e=q[a+8>>2];if((q[a+28>>2]-e|0)<=64){pk(a,4);e=q[a+8>>2]}q[a+8>>2]=e- -64;zl(a,e,0);return}Ck(a,128414,0)}}function hq(a,b){var c=0,d=0,e=0,f=0;f=a+28|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){qi((a+c|0)+28|0,0,55-e|0);break a}qi((a+c|0)+28|0,0,e^63);Lr(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+91|0]=d<<3;o[a+90|0]=d>>>5;o[a+89|0]=d>>>13;o[a+88|0]=d>>>21;c=q[a+4>>2];o[a+86|0]=c>>>5;o[a+85|0]=c>>>13;o[a+84|0]=c>>>21;o[a+87|0]=c<<3|d>>>29;Lr(a,f);o[b|0]=r[a+11|0];o[b+1|0]=s[a+10>>1];o[b+2|0]=q[a+8>>2]>>>8;o[b+3|0]=q[a+8>>2];o[b+4|0]=r[a+15|0];o[b+5|0]=s[a+14>>1];o[b+6|0]=q[a+12>>2]>>>8;o[b+7|0]=q[a+12>>2];o[b+8|0]=r[a+19|0];o[b+9|0]=s[a+18>>1];o[b+10|0]=q[a+16>>2]>>>8;o[b+11|0]=q[a+16>>2];o[b+12|0]=r[a+23|0];o[b+13|0]=s[a+22>>1];o[b+14|0]=q[a+20>>2]>>>8;o[b+15|0]=q[a+20>>2];o[b+16|0]=r[a+27|0];o[b+17|0]=s[a+26>>1];o[b+18|0]=q[a+24>>2]>>>8;o[b+19|0]=q[a+24>>2];return 0}function hwa(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}b=a;a=(a>>>0)/(c>>>0)|0;gi=b-w(a,c)|0;hi=0;ii=0;return a}if(!a){break g}break f}g=e-1|0;if(!(g&e)){break e}g=(z(e)+33|0)-z(d)|0;i=0-g|0;break c}gi=0;a=(d>>>0)/0|0;hi=d-w(a,0)|0;ii=0;return a}d=32-z(d)|0;if(d>>>0<31){break d}break b}gi=a&g;hi=0;if((e|0)==1){break a}d=iwa(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}ii=e;return a}g=d+1|0;i=63-d|0}d=b;e=g&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=h;e=e<<1|f>>>31;h=i-(e+(d>>>0>>0)|0)>>31;k=c&h;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;h=h&1;l=h;g=g-1|0;if(g){continue}break}}gi=f;hi=e;ii=b<<1|a>>>31;return h|a<<1}gi=a;hi=b;a=0;b=0}ii=b;return a}function Fl(a,b,c){var d=0;d=fi-144|0;fi=d;q[d+140>>2]=c+4;c=q[c>>2];c=(b|0)==4?c|32768:c;a:{b:{if(b>>>0>16){break b}if(!(1<>2]=c;a=P(a|0,14,d+16|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}break a}q[d+48>>2]=d+128;b=P(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){q[d+32>>2]=c;a=P(a|0,9,d+32|0)|0;break a}if(b>>>0>=4294963201){q[240833]=0-b;a=-1}else{a=b}break a}a=q[d+132>>2];a=q[d+128>>2]==2?0-a|0:a;break a}q[d+112>>2]=c;a=P(a|0,b|0,d+112|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}break a}if((b|0)!=1030){q[d>>2]=c;a=P(a|0,b|0,d|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}break a}q[d+96>>2]=c;b=P(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=b;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}break a}q[d+80>>2]=0;b=P(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){ia(b|0)|0}q[240833]=28;a=-1;break a}q[d+64>>2]=c;a=P(a|0,0,d- -64|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}}fi=d+144|0;return a}function aK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=fi-48|0;fi=c;a:{if(o[290020]&1){break a}if(!ui(290020)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72504]=b;ti(290020)}b:{if(o[290028]&1){break b}if(!ui(290028)){break b}if(r[852367]){b=Yi(8815,6)}else{b=0}q[72506]=b;ti(290028)}d=q[72504];c:{if((d|0)!=-1){Qi(c+32|0,d,8815,q[72506]);break c}q[c+32>>2]=0}d:{f=q[a>>2];if(f){b=q[f+4>>2];h=q[b>>2];if(!h){d=1;break d}d=1;while(1){i=s[((g<<1)+b|0)+26528>>1];b=w(i,104)+b|0;j=b- -64|0;if(q[j>>2]){e:{if(o[290036]&1){break e}if(!ui(290036)){break e}if(r[852367]){e=Ri(7503)}else{e=-1}q[72508]=e;ti(290036)}e=q[72508];f:{if((e|0)!=-1){Qi(c+16|0,e,q[b+12>>2],q[b+16>>2]);break f}q[c+16>>2]=0}q[c>>2]=a;q[c+4>>2]=q[((i<<2)+f|0)+12>>2];q[c+8>>2]=q[b+24>>2];b=!(ji[q[j>>2]](c)|0);if(q[c+16>>2]){Pi(c+16|0)}d=b&d}g=g+1|0;if((h|0)==(g|0)){break d}b=q[f+4>>2];continue}}J(8822,7150,2513,8815);G()}if(q[c+32>>2]){Pi(c+32|0)}fi=c+48|0;return d&1}function Aqa(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;d=q[a+12>>2];b=q[a+8>>2];c=d-b|0;a:{if(!c){break a}b:{if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>6|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);g=c>>>0>1?c:1;c=0;d=0;while(1){c:{d:{e:{b=(c<<6)+b|0;switch(q[b+48>>2]-1|0){case 0:break d;case 1:break e;default:break c}}d=d+1|0;break c}e=q[b+40>>2];if(e){ps(e);q[b+40>>2]=0}e=q[b+44>>2];if((e|0)!=-1){Mo(e);rm(q[b+44>>2])}q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+44>>2]=-1;q[b+40>>2]=0;q[b+48>>2]=0}c=c+1|0;if((g|0)==(c|0)){break b}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}}J(153026,152878,447,153037);G()}if((d|0)<=0){break a}q[f>>2]=d;mi(3,152943,152948,f)}Tn(q[a+28>>2]);f:{if(o[a+20|0]&1){break f}b=q[a+8>>2];if(!b){break f}ki(b)}fi=f+16|0;return a}function iG(a,b,c,d){var e=x(0),f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=0,m=0,n=x(0),o=0;f=fi-16|0;fi=f;k=u[a+4>>2];i=q[a>>2];q[f+12>>2]=b;a:{if((c|0)<1){break a}b=0;while(1){j=lo(f+12|0);g=e;n=k;b:{c:{d:{e:{h=q[i+12>>2];f:{if(!h){break f}l=q[i+8>>2];a=q[l+((j>>>0)%(h>>>0)<<2)>>2];if((a|0)!=-1){o=q[i+16>>2];while(1){a=w(a,80)+o|0;if(q[a>>2]==(j|0)){break e}a=q[a+72>>2];if((a|0)!=-1){continue}break}}a=q[(126%(h>>>0)<<2)+l>>2];if((a|0)==-1){break f}h=q[i+16>>2];while(1){a=h+w(a,80)|0;if(q[a>>2]==126){break d}a=q[a+72>>2];if((a|0)!=-1){continue}break}}q[f>>2]=j;mi(3,101221,102159,f);break b}b=a+8|0;break c}b=a+8|0}e=x(n+u[b+8>>2]);g:{if(x(y(e))>2]!=32)){g=u[b+8>>2];if(x(y(g))>2];a=q[b+4>>2]}e=x(x(e-x(g-x(u[b+12>>2]+x(a>>>0))))-k)}fi=f+16|0;return e}function M_(a,b,c,d,e,f){var g=0,h=0,i=0;g=fi-112|0;fi=g;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;q[g+104>>2]=0;q[g+96>>2]=1;q[g+100>>2]=0;q[g+88>>2]=0;q[g+80>>2]=1;q[g+84>>2]=0;h=g- -64|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;a:{if(!q[a+84>>2]){h=-20352;break a}h=-19968;b:{if((jj(e,1)|0)<0){break b}i=a+76|0;if((Dj(e,i)|0)>-1){break b}if((jj(f,1)|0)<0){break b}if((Dj(f,i)|0)>-1){break b}h=IA(a,g+96|0,b,c);if(h){break b}h=bo(g+80|0,f,i);if(h){break b}h=Ak(g- -64|0,g+96|0,g+80|0);if(h){break b}h=Lk(g- -64|0,g- -64|0,i);if(h){break b}h=Ak(g+48|0,e,g+80|0);if(h){break b}h=Lk(g+48|0,g+48|0,i);if(h){break b}h=gV(a,g+8|0,g- -64|0,a+40|0,g+48|0,d);if(h){break b}h=-19968;if(mD(g+8|0)){break b}h=Lk(g+8|0,g+8|0,i);if(h){break b}h=Dj(g+8|0,e)?-19968:0}Rl(g+8|0);Ji(g+96|0);Ji(g+80|0);Ji(g- -64|0);Ji(g+48|0)}fi=g+112|0;return h}function NA(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{if(d>>>0<21){d:{if(!(898778>>>d&1)){if(b|c){break c}b=q[w(d,12)+88256>>2];d=8;c=0;while(1){e=(b|0)>(d|0)?d:b;g=a>>>((b|0)>(e|0)?b-e|0:0)|0;if(g>>>e|0){break b}d=d-e|0;c=g<0){continue}break}break d}if(1198383>>>d&1){break a}h=d<<3;g=q[h+254400>>2];f=r[g|0];if((f|0)!=48){e=a>>>f-97<<1&2}f=r[g+1|0];if((f|0)!=48){e=a>>>f-97&1|e}e=e<<1;f=r[g+2|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+3|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+4|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+5|0];if((f|0)!=48){e=a>>>f-97&1|e}f=599186>>>d|0;d=e<<1;e=r[g+6|0];if((e|0)!=48){d=d|a>>>e-97&1}d=d<<1;e=r[g+7|0];if((e|0)!=48){d=a>>>e-97&1|d}e=q[(h+254400|0)+4>>2];d=d<<1;g=r[g+8|0];if((g|0)!=48){d=a>>>g-97&1|d}a=0-(a&1)&511;c=a&128|(a^w(e,f&1?b:c)+d)>>>2}return c}J(88562,85651,11532,88595);G()}J(88617,85651,11541,88595);G()}J(88649,85651,11552,88595);G()}J(88663,85651,11564,88595);G()}function vla(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=0,o=0;c=fi-32|0;fi=c;a:{if(q[q[a+16>>2]+80>>2]!=q[60830]){break a}g=q[q[q[a>>2]+80>>2]+8>>2];b=q[a+16>>2];d=q[b+84>>2];e=q[b+160>>2];i=q[q[a+12>>2]>>2];a=q[b+132>>2];k=a;j=q[b+128>>2];if(!(a|j)){b:{if((e|0)!=-1){break b}e=AA(g);if((e|0)!=-1){break b}mi(4,37929,38007,0);break a}j=yA(e);k=ii}a=b+176|0;l=d-80|0;m=u[b+144>>2];f=u[b+148>>2];c:{if(!(m!=x(0)|f!=x(0)|u[b+152>>2]!=x(0))){f=u[b+136>>2];u[c+20>>2]=f;u[c+16>>2]=f;break c}u[c+20>>2]=f;u[c+16>>2]=m;f=u[b+152>>2]}n=l?a:0;o=b+96|0;u[c+24>>2]=f;a=0;d:{if(!g){break d}d=q[g>>2];if(!d){break d}a=q[d>>2]}d=a;a=q[i>>2];h=q[a+4>>2];e:{if(h){break e}d=Ij(d,q[q[a>>2]>>2],a+4|0);a=q[i>>2];if(!d){h=q[a+4>>2];break e}q[c>>2]=q[q[a>>2]>>2];mi(4,37929,38182,c);a=q[i>>2];h=0}a=XJ(g,h,q[q[a>>2]>>2],j,k,n,l,o,b+112|0,c+16|0);if((e|0)==-1){break a}if(a){if(a){q[a+88>>2]=e}break a}kA(e,g)}fi=c+32|0;return 0}function b0(a,b,c,d){var e=0,f=0,g=0;g=fi-48|0;fi=g;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=g;q[e+24>>2]=0;q[e+28>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+24>>2]=1;q[e+16>>2]=0;q[e+20>>2]=0;f=c^d?2:0;q[e+20>>2]=d?c?f:10:f;f=-100;if(!($(a|0,0,e+16|0,e+12|0)|0)){a=q[g+12>>2];a:{if(!a){break a}if(c){c=a;while(1){b:{e=q[c+4>>2];if((e|0)!=2){if(!d|(e|0)!=10){break b}d=q[c+20>>2];q[b>>2]=2;c=q[d+20>>2];q[b+12>>2]=q[d+16>>2];q[b+16>>2]=c;c=q[d+12>>2];q[b+4>>2]=q[d+8>>2];q[b+8>>2]=c;f=0;break a}c=q[c+20>>2];q[b>>2]=1;q[b+16>>2]=q[c+4>>2];f=0;break a}c=q[c+28>>2];if(c){continue}break}break a}if(d){c=a;while(1){d=q[c+4>>2]!=10;if(!d){d=q[c+20>>2];q[b>>2]=2;c=q[d+20>>2];q[b+12>>2]=q[d+16>>2];q[b+16>>2]=c;c=q[d+12>>2];q[b+4>>2]=q[d+8>>2];q[b+8>>2]=c;f=0;break a}c=q[c+28>>2];if(!c){break a}if(d){continue}break}break a}b=a;while(1){b=q[b+28>>2];if(b){continue}break}}ki(a)}fi=g+48|0;return f}function wv(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;qm(a,b);a:{b:{c:{d:{e:{f:{g:{h:{i:{d=q[b>>2];switch(d-1|0){case 11:break d;case 10:break e;case 4:break f;case 3:break g;case 1:case 2:break h;case 0:break i;default:break a}}d=q[a+24>>2];if((d|0)<=q[a+28>>2]){break c}if(!d){if(r[a+50|0]<=(c|0)){break b}break c}f=(q[q[a>>2]+12>>2]+(d<<2)|0)-4|0;d=q[f>>2];if((d&63)!=3|(d>>>6&255)>(c|0)){break c}g=d>>>23|0;if((g+1|0)<(c|0)){break c}if((c|0)<=(g|0)){break b}q[f>>2]=d&8388607|c<<23;break b}Jk(a,c<<6|((d|0)==2?8388608:2)|2,q[q[a+12>>2]+8>>2]);break b}Jk(a,c<<6|q[b+8>>2]<<14|1,q[q[a+12>>2]+8>>2]);break b}h=v[b+8>>3];q[e+8>>2]=3;v[e>>3]=h;Jk(a,c<<6|dr(a,e,e)<<14|1,q[q[a+12>>2]+8>>2]);break b}a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&-16321|c<<6&16320;break b}d=q[b+8>>2];if((d|0)==(c|0)){break b}Jk(a,d<<23|c<<6,q[q[a+12>>2]+8>>2]);break b}Jk(a,c<<23|c<<6|3,q[q[a+12>>2]+8>>2])}q[b>>2]=12;q[b+8>>2]=c}fi=e+16|0}function oia(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;c=fi-48|0;fi=c;h=q[a+8>>2]-q[a+12>>2]>>4;b=q[q[Kj(a)+80>>2]+8>>2];q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+4>>2]=0;f=1;Hk(a,1,b,65915,c+44|0,c+8|0,c+4|0);a:{b:{d=kka(q[c+4>>2],q[c+44>>2]);if(!d){b=66228;break b}f=2;b=q[d+128>>2];if(!b){b=66266;break b}if(!q[q[b+4>>2]+20>>2]){b=66266;break b}i=Pj(a,2);j=ii;b=q[q[q[b+4>>2]+20>>2]>>2];e=q[b+4>>2];if(!e){b=66266;break b}k=q[b>>2];b=0;c:{d:{while(1){if((b|0)==(e|0)){break c}g=w(b,80)+k|0;if((i|0)==q[g+8>>2]&q[g+12>>2]==(j|0)){break d}b=b+1|0;if((e|0)!=(b|0)){continue}break}b=66266;break b}b=ika(d,b);if(!b){b=66299;break b}d=q[b+100>>2];e=d;b=q[b+96>>2];if(!(d|b)){b=66338;break b}Yj(a,b,e);b=1;if((h+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(66391,66092,440,66416);G()}J(66493,66505,69,66575);G()}q[c>>2]=_i(a,f,0);b=ni(a,b,c)}fi=c+48|0;return b|0}function xH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=h-g>>5){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+(f<<5)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+24>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+32;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+(e<<5)|0;q[a+20>>2]=q[e+24>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;q[e+24>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+(f<<5)|0;f=q[b+24>>2];if((f|0)!=-1){continue}break}q[b+24>>2]=e-d>>5;break a}J(100578,100127,226,100586);G()}c=q[d+4>>2];a=g+(f<<5)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(100590,100127,470,100652);G()}q[b>>2]=e-d>>5}q[a+24>>2]=q[a+24>>2]+1}function tH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=h-g>>5){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+(f<<5)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+24>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+32;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+(e<<5)|0;q[a+20>>2]=q[e+24>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;q[e+24>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+(f<<5)|0;f=q[b+24>>2];if((f|0)!=-1){continue}break}q[b+24>>2]=e-d>>5;break a}J(111772,111608,226,111780);G()}c=q[d+4>>2];a=g+(f<<5)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(111784,111608,470,111846);G()}q[b>>2]=e-d>>5}q[a+24>>2]=q[a+24>>2]+1}function nia(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;b=fi-112|0;fi=b;g=Ti(b+88|0,a,0,66092,287);f=q[a+8>>2]-q[a+12>>2]>>4;h=Kj(a);d=Pj(a,2);i=ii;j=gj(a,3);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;ok(a,1,b+56|0,b+24|0);a:{if((f|0)<4){e=1;c=0;break a}vj(a,4,5);Hi(a,4);zi(a,-1,66150);if(ri(a,-1)){k=Ai(a,-1)}oi(a,-2);zi(a,-1,66165);if(ri(a,-1)){l=Ai(a,-1)}oi(a,-2);zi(a,-1,66172);e=1;b:{if(!ri(a,-1)){break b}e=Ai(a,-1)}oi(a,-2);oi(a,-2);c=0;if((f|0)<5){break a}c=0;if((ri(a,5)|0)!=6){break a}Hi(a,5);c=is(a)+2|0}q[b+8>>2]=j;q[b>>2]=d;q[b+4>>2]=i;u[b+20>>2]=e;u[b+16>>2]=l;u[b+12>>2]=k;d=q[61990];oo(b+24|0,b+56|0,q[d+8>>2],q[d+12>>2],h,c,d,b,24,0);if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(66071,66092,339,66186);G()}Si(g);fi=b+112|0;return 0}function Jk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=q[a+24>>2];f=q[a>>2];d=q[a+32>>2];if((d|0)!=-1){e=f;while(1){h=q[e+12>>2]+(d<<2)|0;j=q[h>>2];e=(j>>>14|0)-131071|0;k=(e|0)==-1;l=(d+e|0)+1|0;a:{if((d|0)>=1){e=h-4|0;i=q[e>>2];if(o[(i&63)+126784|0]<0){break a}}i=j;e=h}k=k?-1:l;b:{c:{d:{if((i&63)==27){q[e>>2]=i&8372224|i>>>17&32704|26;d=(d^-1)+g|0;e=d>>31;if((e^d+e)>131071){break d}break c}d=(d^-1)+g|0;e=d>>31;if((e^d+e)<131072){break b}}xj(q[a+12>>2],127273)}j=q[h>>2]}q[h>>2]=(j&16383|d<<14)+2147467264;if((k|0)!=-1){e=q[a>>2];d=k;continue}break}g=q[a+24>>2]}q[a+32>>2]=-1;e:{if(q[f+44>>2]>(g|0)){d=q[f+12>>2];break e}d=rq(q[a+16>>2],q[f+12>>2],f+44|0,4,2147483645,127324);q[f+12>>2]=d;g=q[a+24>>2]}q[(g<<2)+d>>2]=b;d=q[a+24>>2];f:{if((d|0)>2]){e=q[f+20>>2];break f}e=rq(q[a+16>>2],q[f+20>>2],f+48|0,4,2147483645,127324);q[f+20>>2]=e;d=q[a+24>>2]}q[(d<<2)+e>>2]=c;b=a;a=q[a+24>>2];q[b+24>>2]=a+1;return a}function _t(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{while(1){f=q[b+4>>2];if(q[f+8>>2]!=6){break a}e=q[f>>2];if(r[e+6|0]){break a}g=q[e+16>>2];d:{if(q[a+20>>2]!=(b|0)){h=q[b+12>>2];break d}h=q[a+24>>2];q[b+12>>2]=h;e=q[f>>2]}e=(h-q[q[e+16>>2]+12>>2]>>2)-1|0;f=xx(g,c+1|0,e);q[d>>2]=f;if(f){return 126214}e:{e=LB(g,e,c);c=e&63;if(c){f:{switch(c-4|0){case 1:break f;case 7:break b;case 0:break c;case 2:break e;default:break a}}q[d>>2]=q[q[g+8>>2]+(e>>>10&4194288)>>2]+16;return 126220}c=e>>>23|0;if(c>>>0<(e>>>6&255)>>>0){continue}break a}break}a=126233;g:{if(!(e&4194304)){break g}b=q[g+8>>2]+((e>>>14&255)<<4)|0;a=126233;if(q[b+8>>2]!=4){break g}a=q[b>>2]+16|0}q[d>>2]=a;return 126227}b=q[g+28>>2];a=126233;h:{if(!b){break h}a=q[b+(e>>>21&2044)>>2]+16|0}q[d>>2]=a;return 126235}a=126233;i:{if(!(e&4194304)){break i}b=q[g+8>>2]+((e>>>14&255)<<4)|0;a=126233;if(q[b+8>>2]!=4){break i}a=q[b>>2]+16|0}q[d>>2]=a;i=126243}return i}function ny(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{if(a){if(c&2){break f}d=b&65535;e=q[a+16>>2];if(d>>>0>=q[a+20>>2]-e>>1>>>0){break a}f=q[a+32>>2];if(!f){break e}c=s[a+38>>1];if(!c|c>>>0>s[a+36>>1]){break d}e=s[(d<<1)+e>>1];c=c-1|0;p[a+38>>1]=c;p[((c&65535)<<1)+f>>1]=b;c=q[a+4>>2];b=q[a>>2];if(e>>>0>=(c-b|0)/28>>>0){break c}c=c-28|0;d=q[c+4>>2];b=b+w(e,28)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+24>>2]=q[c+24>>2];d=q[c+20>>2];q[b+16>>2]=q[c+16>>2];q[b+20>>2]=d;d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;b=q[a+4>>2]-28|0;q[a+4>>2]=b;c=q[a>>2];if(c>>>0>b>>>0){break b}if(e>>>0<(b-c|0)/28>>>0){b=s[(c+w(e,28)|0)+12>>1];c=q[a+20>>2];a=q[a+16>>2];if(b>>>0>=c-a>>1>>>0){break a}p[a+(b<<1)>>1]=e}return}J(119561,119520,163,119836);G()}J(119846,119520,164,119836);G()}J(119867,119874,140,119948);G()}J(119953,119874,141,119948);G()}J(119989,120004,481,120083);G()}J(120093,120004,484,120083);G()}J(120616,120004,447,120627);G()}function Lha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;a:{b:{c:{h=q[a+4>>2];d=q[h>>2];d:{if(!r[d+20|0]){b=1;break d}i=q[a>>2];a=d;b=q[a+8>>2];c=q[a+4>>2];if((b|0)!=(c|0)){a=0;while(1){Di(i,q[(a<<2)+c>>2]);a=a+1|0;c=q[d+4>>2];if(a>>>0>2]-c>>2>>>0){continue}break}b=c;a=q[h>>2]}q[d+8>>2]=b;b=1;if(o[a+16|0]&1){break c}g=q[a>>2];vi(q[g+8>>2],4,a+4|0,a+12|0,a+8|0);e=q[g+8>>2];if(!e){break d}d=a;c=a;a=0;while(1){if(a>>>0>=e>>>0){break b}b=q[(q[g+4>>2]+w(a,80)|0)+4>>2];if(b){if(Ij(i,b,f+12|0)){b=q[h>>2];c=q[b+4>>2];if((c|0)!=q[b+8>>2]){a=0;while(1){Di(i,q[(a<<2)+c>>2]);a=a+1|0;c=q[b+4>>2];if(a>>>0>2]-c>>2>>>0){continue}break}q[b+8>>2]=c}b=0;break d}b=q[c+8>>2];if((b|0)==q[d+12>>2]){break a}e=q[f+12>>2];q[c+8>>2]=b+4;q[b>>2]=e;e=q[g+8>>2]}b=1;a=a+1|0;if(e>>>0>a>>>0){continue}break}}fi=f+16|0;return b|0}J(33792,33686,461,33867);G()}J(33568,33580,241,33664);G()}J(33879,33686,501,33903);G()}function yo(a,b){var c=0,d=0,e=0,f=x(0),g=0;if(!(((ywa(a),uwa(2))&2147483647)>>>0<2139095041?((ywa(b),uwa(2))&2147483647)>>>0<=2139095040:0)){return x(a+b)}c=(ywa(b),uwa(2));if((c|0)==1065353216){return dM(a)}g=c>>>30&2;d=(ywa(a),uwa(2));e=g|d>>>31;a:{b:{c:{d:{d=d&2147483647;if(!d){e:{switch(e-2|0){case 0:break d;case 1:break e;default:break c}}return x(-3.1415927410125732)}c=c&2147483647;if((c|0)!=2139095040){if(!c|!(d>>>0<=c+218103808>>>0?(d|0)!=2139095040:0)){break a}f:{if(c>>>0>d+218103808>>>0){f=x(0);if(g){break f}}f=dM(x(y(x(a/b))))}a=f;g:{switch(e|0){case 1:return x(-a);case 2:return x(x(3.1415927410125732)-x(a+x(8.742277657347586e-8)));case 0:break c;default:break g}}return x(x(a+x(8.742277657347586e-8))+x(-3.1415927410125732))}if((d|0)==2139095040){break b}return u[(e<<2)+208704>>2]}a=x(3.1415927410125732)}return a}return u[(e<<2)+208688>>2]}return vwa(2,(ywa(a),uwa(2))&-2147483648|1070141403),zwa()}function D6(){var a=0,b=0,c=0,d=0,e=0,f=0;f=fi-48|0;fi=f;c=q[212950];a:{if(!c){a=q[212987];if(!a){break a}Qj(a);q[212987]=0;break a}o[f+40|0]=1;a=f;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=q[c+24>>2];d=q[c+28>>2];q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+8>>2]=b;q[a+12>>2]=d;Zj(0,a+8|0,0,0,0,0,a+40|0,1);SE(q[c+32>>2]);b:{d=q[c+4>>2];a=q[c>>2];b=d-a|0;if(!b){break b}if((a|0)!=(d|0)){d=a-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);b=b>>>0>1?b:1;while(1){a=(e<<2)+a|0;Mo(q[a>>2]);rm(q[a>>2]);q[a>>2]=-1;e=e+1|0;if((b|0)==(e|0)){break b}a=q[c>>2];if(q[c+4>>2]-a>>2>>>0>e>>>0){continue}break}}J(157009,156839,447,157020);G()}a=q[c+16>>2];if((a|0)!=-1){rm(a);q[c+16>>2]=-1}a=q[c+28>>2];b=a;e=q[c+24>>2];if(a|e){$m(e,b)}c:{if(o[c+12|0]&1){break c}a=q[c>>2];if(!a){break c}ki(a)}ki(c);q[212950]=0;a=q[212987];if(!a){break a}Qj(a);q[212987]=0}fi=f+48|0}function uua(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=fi-32|0;fi=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;j=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|j)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;Zl(h+16|0,a,b,g,e,f-16129|0);gr(h,a,b,g,e,16257-f|0);b=q[h+8>>2];e=(q[h+12>>2]&33554431)<<7|b>>>25;g=q[h+4>>2];f=g;a=0;i=a;j=q[h>>2]|((q[h+16>>2]|q[h+24>>2])!=0|(q[h+20>>2]|q[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|j):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|j|(f|i)){break a}e=(e&1)+e|0}fi=h+32|0;return vwa(2,d&-2147483648|e),zwa()}function oJ(a){var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;e=q[a+152>>2];q[c+8>>2]=0;q[c+12>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;d=c;b=q[a+192>>2];if(!b){b=q[e+8>>2]}q[d+4>>2]=b;Sj(c+8|0,e+128|0,4);Sj(c+8|0,c+4|0,4);b=q[a+160>>2];if(!b){b=q[e+12>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+164>>2];if(!b){b=q[e+16>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+168>>2];if(!b){b=q[e+20>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+172>>2];if(!b){b=q[e+24>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+176>>2];if(!b){b=q[e+28>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+180>>2];if(!b){b=q[e+32>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+184>>2];if(!b){b=q[e+36>>2]}q[d>>2]=b;Sj(c+8|0,c,4);b=q[a+188>>2];if(!b){b=q[e+40>>2]}q[d>>2]=b;Sj(c+8|0,c,4);d=c+8|0;b=q[a+156>>2];if(!b){b=q[q[a+152>>2]+4>>2]}Sj(d,b+20|0,4);b=q[a+196>>2];a:{if(!b){b=q[q[a+152>>2]+112>>2];if(!b){break a}}ji[q[74917]](c+8|0,b)}b=q[a+148>>2];if(b){Fs(b,c+8|0)}q[a+144>>2]=Uo(c+8|0);o[a+206|0]=r[a+206|0]&251;fi=c+32|0}function Is(a){var b=0,c=0,d=0,e=0,f=0;d=fi-32|0;fi=d;a=q[a>>2];a:{if(o[290140]&1){break a}if(!ui(290140)){break a}if(r[852367]){c=Ri(7503)}else{c=-1}q[72534]=c;ti(290140)}b:{if(o[290148]&1){break b}if(!ui(290148)){break b}if(r[852367]){c=Yi(11783,4)}else{c=0}q[72536]=c;ti(290148)}c=q[72534];c:{if((c|0)!=-1){Qi(d+16|0,c,11783,q[72536]);break c}q[d+16>>2]=0}c=1;d:{if(!(o[a+4276|0]&1)){Op(a);f=s[a+2078>>1];if(f){while(1){e=q[a+2056>>2];if(q[a+2060>>2]-e>>2>>>0<=b>>>0){break d}c=pA(a,q[e+(b<<2)>>2])&c;b=b+1|0;if((f|0)!=(b|0)){continue}break}b=0;while(1){e=q[a+2056>>2];if(q[a+2060>>2]-e>>2>>>0<=b>>>0){break d}c=uA(a,q[e+(b<<2)>>2])&c;b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=q[a+4228>>2];q[d>>2]=q[a+4224>>2];q[d+4>>2]=b;b=q[a+4236>>2];q[d+8>>2]=q[a+4232>>2];q[d+12>>2]=b;b=ov(a,d,2);o[a+4276|0]=r[a+4276|0]|16;if(q[d+16>>2]){Pi(d+16|0)}fi=d+32|0;return b&c}J(11788,7150,1653,11878);G()}J(12475,10090,447,9406);G()}function kpa(a,b){var c=0;qi(a+4|0,0,144);q[a+196>>2]=0;q[a+200>>2]=0;q[a+156>>2]=0;q[a+160>>2]=0;o[a+148|0]=1;c=a+164|0;q[c>>2]=0;q[c+4>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+204>>2]=0;q[a+240>>2]=0;q[a+244>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=1065353216;q[a+248>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+260>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+280>>2]=0;q[a+196>>2]=-1;qi(a+288|0,0,140);q[a+492>>2]=0;q[a+496>>2]=0;q[a+480>>2]=982026377;q[a+484>>2]=986500301;q[a+468>>2]=960;q[a+472>>2]=640;p[a+430>>1]=1;p[a+432>>1]=0;q[a+500>>2]=0;q[a+504>>2]=0;q[a+508>>2]=0;q[a>>2]=b;q[a+152>>2]=Nna();if(o[a+172|0]&1){J(5105,4545,461,4936);G()}vi(64,960,a+160|0,a+168|0,c);So(a+176|0,31,64);q[a+352>>2]=0;q[a+340>>2]=0;q[a+344>>2]=0;q[a+332>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+284>>2]=0;p[a+236>>1]=0;q[a+224>>2]=0;return a}function ega(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-160|0;fi=c;e=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[61690],c+156|0)){qi(c+8|0,0,148);e=KJ(q[a>>2],q[a+4>>2],q[c+156>>2],c+8|0);a:{if(!e){b=q[q[a+32>>2]+8>>2];Zu(q[a>>2],b);q[b>>2]=q[c+8>>2];q[b+4>>2]=q[c+12>>2];d=q[c+16>>2];q[c+16>>2]=q[b+8>>2];q[b+8>>2]=d;d=q[c+20>>2];q[c+20>>2]=q[b+12>>2];q[b+12>>2]=d;d=q[c+24>>2];q[c+24>>2]=q[b+16>>2];q[b+16>>2]=d;d=r[c+28|0];o[c+28|0]=o[b+20|0]&1|d&254;o[b+20|0]=r[b+20|0]&254|d&1;d=q[c+48>>2];q[c+48>>2]=q[b+40>>2];q[b+40>>2]=d;d=q[c+52>>2];q[c+52>>2]=q[b+44>>2];q[b+44>>2]=d;d=q[c+56>>2];q[c+56>>2]=q[b+48>>2];q[b+48>>2]=d;d=r[c+60|0];o[c+60|0]=o[b+52|0]&1|d&254;o[b+52|0]=r[b+52|0]&254|d&1;q[b+72>>2]=q[c+80>>2];q[b+76>>2]=q[c+84>>2];q[b+80>>2]=q[c+88>>2];q[q[a+32>>2]+16>>2]=(q[b- -64>>2]+(q[b+48>>2]+(q[a+24>>2]+q[b+16>>2]|0)|0)-(q[b+56>>2]+(q[b+8>>2]+q[b+40>>2]|0))|0)+148;break a}Zu(q[a>>2],c+8|0)}aA(c+8|0)}fi=c+160|0;return e|0}function Sz(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=x(0),t=x(0);k=fi-48|0;fi=k;a:{b:{l=b&65535;i=q[a+32>>2];if(l>>>0<(q[a+36>>2]-i|0)/576>>>0){if(s[(w(l,576)+i|0)+552>>1]!=(b>>>16|0)){break b}h=w(l,576)+i|0;if(s[h+554>>1]!=(b&65535)){break a}j=q[h+440>>2];h=(j>>>13&8191)-(j&8191)|0;m=h;h=h>>31;c:{d:{j=j>>>26&15;n=j-2|0;switch(n|0){case 0:case 3:break d;default:break c}}h=h<<1|m>>>31;m=m<<1}i=w(l,576)+i|0;p=x(x(+(m>>>0)+ +(h>>>0)*4294967296)/x(r[i+448|0]));c=c>2]=0;h=k;q[h+32>>2]=0;q[h+36>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h+16>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h>>2]=0;q[h+4>>2]=0;a=Qq(a,b,i+472|0,x(1),h,j,p,x(0),d,e,f,g);if(a){q[a+8>>2]=0;u[a+20>>2]=p*t;o[a+68|0]=r[a+68|0]&254;u[i+472>>2]=c}fi=k+48|0;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function B1(a){a=a|0;var b=x(0),c=x(0),d=0,e=0,f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=fi-80|0;fi=e;d=yi(a,1,q[210278],0);c=u[d>>2];f=u[d+4>>2];a:{b:{if(c!=c|f!=f){break b}b=u[d+8>>2];if(b!=b){break b}b=u[d+12>>2];if(b==b){break a}}b=u[d+8>>2];g=u[d+12>>2];v[e+48>>3]=f;v[e- -64>>3]=g;v[e+56>>3]=b;v[e+40>>3]=c;q[e+32>>2]=1;ni(a,120971,e+32|0)}h=yi(a,2,q[210276],0);c=u[h>>2];f=u[h+4>>2];c:{if(!(c!=c|f!=f)){b=u[h+8>>2];if(b==b){break c}}b=u[h+8>>2];v[e+16>>3]=f;v[e+24>>3]=b;v[e+8>>3]=c;q[e>>2]=2;ni(a,120787,e);f=u[h+4>>2];b=u[h+8>>2];c=u[h>>2]}g=u[d>>2];i=u[d+12>>2];j=u[d+4>>2];k=u[d+8>>2];d=bj(a,16);l=x(x(x(c*k)+x(i*f))-x(b*g));m=x(x(b*k)+x(x(j*f)+x(c*g)));n=x(x(x(i*b)+x(f*g))-x(c*j));c=x(x(x(i*c)+x(j*b))-x(k*f));u[d+8>>2]=x(g*l)+x(x(x(k*m)+x(i*n))-x(j*c));u[d+4>>2]=x(k*c)+x(x(x(i*l)+x(j*m))-x(g*n));u[d>>2]=x(j*n)+x(x(x(i*c)+x(g*m))-x(k*l));zi(a,-1e4,120656);aj(a,-2);fi=e+80|0;return 1}function pq(a,b){var c=0,d=0,e=0;a:{b:{if((b|0)==-10001){if(q[a+20>>2]!=q[a+40>>2]){break b}Ck(a,125974,0);break b}c:{if((b|0)>=1){c=(q[a+12>>2]+(b<<4)|0)-16|0;c=c>>>0>2]?c:126472;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 0:c=a+72|0;break c;default:c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0;break c;case 1:break b;case 2:break d}}c=q[a+16>>2]+96|0}d=q[a+8>>2]-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+8>>2]=q[d+8>>2];if((b|0)>-10003){break a}b=q[a+8>>2];if(q[b-8>>2]<4){break a}c=q[b-16>>2];if(!(r[c+5|0]&3)){break a}b=q[q[q[a+20>>2]+4>>2]>>2];if(!(r[b+5|0]&4)){break a}Mn(a,b,c);break a}c=q[a+20>>2];b=q[q[q[c+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=q[q[c+4>>2]>>2];q[c+12>>2]=q[q[a+8>>2]-16>>2];b=q[a+8>>2];if(q[b-8>>2]<4){break a}b=q[b-16>>2];if(!(r[b+5|0]&3)|!(r[c+5|0]&4)){break a}Mn(a,c,b)}q[a+8>>2]=q[a+8>>2]-16}function m4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-80|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=0;f=Ti(b+56|0,a,0,104245,870);if(q[a+8>>2]-q[a+12>>2]>>4<1){break b}if((ri(a,1)|0)==2){g=Vi(a,1);break b}if(!ri(a,1)){break b}if(!gj(a,1)){break b}q[b+16>>2]=104341;a=ni(a,105042,b+16|0);break a}J(104348,104245,265,107702);G()}if(q[a+8>>2]-q[a+12>>2]>>4>=2){vj(a,2,5);Hi(a,2);zi(a,-1,105098);c:{if(!ri(a,-1)){break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;if(!dk(a,-2)){break c}while(1){e=gj(a,-1);oi(a,-2);c=c|e;if(dk(a,-2)){continue}break}}oi(a,-3)}q[b+36>>2]=g;q[b+32>>2]=4;q[b+40>>2]=c;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+48>>2];a=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=a;a=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,b)}Si(f);fi=b+80|0;return a|0}function $r(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=r[b+15|0];e=((h&15)<<3)+a|0;d=e- -64|0;i=q[d>>2];f=q[d+4>>2];g=q[e+192>>2];d=q[e+196>>2];j=15;while(1){k=(h&240)>>>4|0;a:{if((j|0)==15){h=i;break a}l=((h&15)<<3)+a|0;e=l- -64|0;h=q[e>>2]^((f&15)<<28|i>>>4);f=q[e+4>>2]^(g<<28|f>>>4);g=q[l+192>>2]^((d&15)<<28|g>>>4);e=((i&15)<<3)+147808|0;d=q[l+196>>2]^(q[e>>2]<<16^d>>>4)}k=(k<<3)+a|0;e=k- -64|0;i=q[e>>2]^((f&15)<<28|h>>>4);f=q[e+4>>2]^(g<<28|f>>>4);g=q[k+192>>2]^((d&15)<<28|g>>>4);e=((h&15)<<3)+147808|0;d=q[k+196>>2]^(q[e>>2]<<16^d>>>4);if(j){j=j-1|0;h=r[j+b|0];continue}break}o[c+15|0]=i;o[c+7|0]=g;o[c+14|0]=(f&255)<<24|i>>>8;o[c+13|0]=(f&65535)<<16|i>>>16;o[c+12|0]=(f&16777215)<<8|i>>>24;o[c+11|0]=f;o[c+10|0]=f>>>8;o[c+9|0]=f>>>16;o[c+8|0]=f>>>24;o[c+6|0]=(d&255)<<24|g>>>8;o[c+5|0]=(d&65535)<<16|g>>>16;o[c+4|0]=(d&16777215)<<8|g>>>24;o[c+3|0]=d;o[c+2|0]=d>>>8;o[c+1|0]=d>>>16;o[c|0]=d>>>24}function OF(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;i=q[d+12>>2]&1;f=q[a+8>>2];j=r[f+1044|0];h=q[d+4>>2];b=h;a:{b:{c:{d:{e:{c=q[d+8>>2];if((c|0)==-1){break e}if(j){b=c;if(!i){break e}}g=1;b=c;a=xi(b);break d}a=qi(e,0,h)}if(a){f:{g:{if(!j){if(!((a|0)==(e|0)|g)){break c}f=q[f+1032>>2];El(f,q[d>>2],0);if((Yk(a,1,b,f)|0)==(b|0)){break g}f=-2;if(!g){break f}ki(a);return-2}d=q[d>>2]+q[f+1036>>2]|0;if(!(i|(c|0)==-1)){a=d;break g}si(a,d,b)}d=-2;if(i){if(!((a|0)==(e|0)|g)){break b}d=b;b=q[60043];b=bL(a,d,b,Fi(b));d=b?-1e3:-2;if(!(!b|g^1)){ki(a);d=-1e3}f=d;if(b){break f}}h:{if((c|0)!=-1){if((a|0)==(e|0)){break a}b=XG(a,e,h);e=b?-4:d;c=g^1;if(!(c|!b)){ki(a);e=-4}if(!(c|(b|0)!=0)){break h}return(b?e:0)|0}if((a|0)!=(e|0)){si(e,a,h)}f=0;if(!g){break f}}ki(a);f=0}return f|0}J(28358,28134,465,28373);G()}J(28394,28134,471,28373);G()}J(28394,28134,502,28373);G()}J(28316,28134,514,28373);G()}function H1(a){a=a|0;var b=x(0),c=0,d=0,e=x(0),f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0);d=fi-96|0;fi=d;c=yi(a,1,q[210278],0);e=u[c>>2];f=u[c+4>>2];a:{b:{if(e!=e|f!=f){break b}b=u[c+8>>2];if(b!=b){break b}b=u[c+12>>2];if(b==b){break a}}b=u[c+8>>2];g=u[c+12>>2];v[d- -64>>3]=f;v[d+80>>3]=g;v[d+72>>3]=b;v[d+56>>3]=e;q[d+48>>2]=1;ni(a,120971,d+48|0)}h=yi(a,2,q[210278],0);e=u[h>>2];f=u[h+4>>2];c:{d:{if(e!=e|f!=f){break d}b=u[h+8>>2];if(b!=b){break d}g=u[h+12>>2];if(g==g){break c}}b=u[h+8>>2];g=u[h+12>>2];v[d+16>>3]=f;v[d+32>>3]=g;v[d+24>>3]=b;v[d+8>>3]=e;q[d>>2]=2;ni(a,120971,d);f=u[h+4>>2];b=u[h+8>>2];g=u[h+12>>2];e=u[h>>2]}i=u[c>>2];j=u[c+12>>2];k=u[c+4>>2];l=u[c+8>>2];c=bj(a,16);u[c+12>>2]=x(x(x(j*g)-x(e*i))-x(k*f))-x(b*l);u[c+8>>2]=x(x(x(j*b)+x(g*l))+x(i*f))-x(e*k);u[c+4>>2]=x(x(e*l)+x(x(g*k)+x(j*f)))-x(i*b);u[c>>2]=x(x(x(j*e)+x(i*g))+x(k*b))-x(l*f);zi(a,-1e4,120688);aj(a,-2);fi=d+96|0;return 1}function bga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-32|0;fi=b;d=q[a+4>>2];c=q[q[a+32>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=q[c+24>>2];g=HJ(q[a>>2],q[a+20>>2],q[a+24>>2],d,b);e=q[a>>2];a:{if(!g){a=q[c+28>>2];if(a){Di(e,a)}f=q[c+4>>2];d=f;h=q[c>>2];if((d|0)!=(h|0)){a=0;d=h;while(1){Di(e,q[(a<<2)+d>>2]);a=a+1|0;f=q[c+4>>2];d=q[c>>2];if(a>>>0>2>>>0){continue}break}}q[c+28>>2]=q[b+28>>2];a=q[b>>2];q[b>>2]=d;q[c>>2]=a;a=q[b+4>>2];q[b+4>>2]=f;q[c+4>>2]=a;a=q[b+8>>2];q[b+8>>2]=q[c+8>>2];q[c+8>>2]=a;a=r[b+12|0];o[b+12|0]=o[c+12|0]&1|a&254;o[c+12|0]=r[c+12|0]&254|a&1;break a}a=q[b+28>>2];if(a){Di(e,a)}d=q[b>>2];if((d|0)==q[b+4>>2]){break a}a=0;while(1){Di(e,q[(a<<2)+d>>2]);a=a+1|0;d=q[b>>2];if(a>>>0>2]-d>>2>>>0){continue}break}}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}ki(a)}fi=b+32|0;return g|0}function kU(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-32|0;fi=f;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;a:{if(!b){break a}}b:{if(!c){break b}}c:{d:{i=(b|0)!=0&(c|0)!=0;if(!(!a|!i)){g=Ak(f+16|0,b,c);if(g){break d}h=-16896;if((jj(a,1)|0)<1){break c}if(Dj(f+16|0,a)){break c}}if(!(!e|(!a|!d))){h=-16896;if((jj(d,1)|0)<1){break c}if((jj(e,1)|0)<1){break c}if((Dj(d,a)|0)>-1){break c}if((Dj(e,a)|0)>-1){break c}}h=0;if(!e|(!d|i^1)){break c}h=-16896;if((jj(b,1)|0)<1){break c}if((jj(c,1)|0)<1){break c}g=Ak(f+16|0,d,e);if(g){break d}g=tl(f+16|0,f+16|0,1);if(g){break d}g=tl(f,b,1);if(g){break d}g=Lk(f+16|0,f+16|0,f);if(g){break d}if(jj(f+16|0,0)){break c}g=Ak(f+16|0,d,e);if(g){break d}g=tl(f+16|0,f+16|0,1);if(g){break d}g=tl(f,c,1);if(g){break d}g=Lk(f+16|0,f+16|0,f);if(g){break d}h=jj(f+16|0,0)?-16896:0;break c}h=(g|0)==-16896?-16896:g-16896|0}Ji(f+16|0);Ji(f);fi=f+32|0;return h}function oY(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;xwa(+a);b=uwa(1)|0;d=uwa(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){e=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|d)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(e>>>0>2146435071){break a}b=1072693248;k=-1023;if((e|0)!=1072693248){b=e;break b}if(d){break b}return 0}xwa(+(a*0x40000000000000));b=uwa(1)|0;d=uwa(0)|0;k=-1077}b=b+614242|0;l=+((b>>>20|0)+k|0);f=l*.30102999566361177;vwa(0,d|0);vwa(1,(b&1048575)+1072079006|0);c=+wwa()+ -1;g=c*(c*.5);h=c/(c+2);i=h*h;a=i*i;xwa(+(c-g));b=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,b|0);j=+wwa();m=j*.4342944818781689;n=f+m;a=c-j-g+h*(g+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+i*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));a=n+(m+(f-n)+(a*.4342944818781689+(l*3.694239077158931e-13+(a+j)*2.5082946711645275e-11)))}return a}function cM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b|0)>=(c|0)){break a}while(1){Xi(a,1,b);Xi(a,1,c);b:{if(op(a,-1,-2)){vk(a,1,b);vk(a,1,c);break b}oi(a,-3)}d=c-b|0;if((d|0)==1){break a}e=(b+c|0)/2|0;Xi(a,1,e);Xi(a,1,b);c:{if(op(a,-2,-1)){vk(a,1,e);vk(a,1,b);break c}oi(a,-2);Xi(a,1,c);if(op(a,-1,-2)){vk(a,1,e);vk(a,1,c);break c}oi(a,-3)}if((d|0)==2){break a}Xi(a,1,e);Hi(a,-1);h=c-1|0;Xi(a,1,h);f=h;d=b;while(1){vk(a,1,e);vk(a,1,f);e=d+1|0;Xi(a,1,e);if(op(a,-1,-2)){while(1){if((c|0)<=(d|0)){ni(a,130905,0)}oi(a,-2);g=e+1|0;Xi(a,1,g);d=e;e=g;if(op(a,-1,-2)){continue}break}}g=d;d=f-1|0;Xi(a,1,d);if(op(a,-3,-1)){while(1){if((b|0)>=(f|0)){ni(a,130905,0)}f=d;oi(a,-2);d=d-1|0;Xi(a,1,d);if(op(a,-3,-1)){continue}break}}i=(e|0)<(f|0);f=d;d=e;if(i){continue}break}oi(a,-4);Xi(a,1,h);Xi(a,1,e);vk(a,1,h);vk(a,1,e);f=g+2|0;d=(e-b|0)<(c-e|0);cM(a,d?b:f,d?g:c);b=d?f:b;c=d?c:g;if((b|0)<(c|0)){continue}break}}}function oE(a){var b=0;while(1){p[((b<<2)+a|0)+148>>1]=0;b=b+1|0;if((b|0)!=286){continue}break}p[a+2684>>1]=0;p[a+2440>>1]=0;p[a+2756>>1]=0;p[a+2752>>1]=0;p[a+2748>>1]=0;p[a+2744>>1]=0;p[a+2740>>1]=0;p[a+2736>>1]=0;p[a+2732>>1]=0;p[a+2728>>1]=0;p[a+2724>>1]=0;p[a+2720>>1]=0;p[a+2716>>1]=0;p[a+2712>>1]=0;p[a+2708>>1]=0;p[a+2704>>1]=0;p[a+2700>>1]=0;p[a+2696>>1]=0;p[a+2692>>1]=0;p[a+2688>>1]=0;p[a+2556>>1]=0;p[a+2552>>1]=0;p[a+2548>>1]=0;p[a+2544>>1]=0;p[a+2540>>1]=0;p[a+2536>>1]=0;p[a+2532>>1]=0;p[a+2528>>1]=0;p[a+2524>>1]=0;p[a+2520>>1]=0;p[a+2516>>1]=0;p[a+2512>>1]=0;p[a+2508>>1]=0;p[a+2504>>1]=0;p[a+2500>>1]=0;p[a+2496>>1]=0;p[a+2492>>1]=0;p[a+2488>>1]=0;p[a+2484>>1]=0;p[a+2480>>1]=0;p[a+2476>>1]=0;p[a+2472>>1]=0;p[a+2468>>1]=0;p[a+2464>>1]=0;p[a+2460>>1]=0;p[a+2456>>1]=0;p[a+2452>>1]=0;p[a+2448>>1]=0;p[a+2444>>1]=0;q[a+5804>>2]=0;q[a+5808>>2]=0;p[a+1172>>1]=1;q[a+5800>>2]=0;q[a+5792>>2]=0}function Nja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0);g=fi-48|0;fi=g;c=q[a+4>>2];d=q[c+32>>2];f=q[q[a+24>>2]>>2];if(f>>>0>2]-d>>3>>>0){d=q[(f<<3)+d>>2];e=q[c+20>>2];c=q[c+16>>2];if(d>>>0>4>>>0){f=q[a+16>>2];h=q[a+20>>2];a:{if((f|0)==q[73858]&(h|0)==q[73859]){e=gm(q[q[q[a+8>>2]+80>>2]>>2],q[q[c+(d<<4)>>2]+8>>2],b);break a}a=g+8|0;b:{c:{if(q[73852]!=(f|0)|q[73853]!=(h|0)){if((f|0)==q[73854]&(h|0)==q[73855]){break c}e=-1;if((f|0)!=q[73856]|(h|0)!=q[73857]){break a}e=(c+(d<<4)|0)+12|0;break b}e=(c+(d<<4)|0)+8|0;break b}e=(c+(d<<4)|0)+4|0}i=u[e>>2];q[a>>2]=0;v[a+8>>3]=i;a=g;d=q[a+44>>2];c=b- -64|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=d;c=q[a+36>>2];q[b+56>>2]=q[a+32>>2];q[b+60>>2]=c;c=q[a+28>>2];q[b+48>>2]=q[a+24>>2];q[b+52>>2]=c;c=q[a+20>>2];q[b+40>>2]=q[a+16>>2];q[b+44>>2]=c;c=q[a+12>>2];q[b+32>>2]=q[a+8>>2];q[b+36>>2]=c;e=0}a=e;fi=g+48|0;return a|0}}J(50690,50340,447,50701);G()}function jea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-32|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;Hk(a,1,q[q[Kj(a)+80>>2]+8>>2],73798,b+28|0,0,0);d=q[b+28>>2];c=Pj(a,2);e=ii;g=e;a:{h=dA(d,c,e);b:{if((h|0)==-1){q[b>>2]=Ei(c,g);mi(4,74154,74162,b);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(74189,73926,374,74523);G()}c=gj(a,3);e=gj(a,4);bA(d,b+24|0,b+20|0,b+16|0,b+12|0);g=c-1|0;c=q[d+156>>2];q[b+8>>2]=g-q[c+36>>2];q[b+4>>2]=(e-1|0)-q[c+40>>2];c:{c=q[b+8>>2];d:{if((c|0)<0|(c|0)>=q[b+16>>2]){break d}e=q[b+4>>2];if((e|0)<0){break d}if((e|0)>2]){break c}}mi(4,74154,74539,0);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(74189,73926,391,74523);G()}d=yia(d,h,c,e);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}fi=b+32|0;return 1}J(74189,73926,398,74523);G()}function Vva(){var a=0;q[73392]=li(38713);q[73393]=ii;q[73394]=li(38732);q[73395]=ii;q[73396]=li(38749);q[73397]=ii;q[73398]=li(38758);q[73399]=ii;q[73400]=li(38764);q[73401]=ii;q[73402]=li(38774);q[73403]=ii;q[73404]=li(38782);q[73405]=ii;q[73406]=li(38789);q[73407]=ii;q[73408]=li(38798);q[73409]=ii;q[73410]=li(38810);q[73411]=ii;q[73412]=li(38819);q[73413]=ii;q[73414]=li(38824);q[73415]=ii;q[73416]=li(38830);q[73417]=ii;q[73418]=li(38836);q[73419]=ii;q[73420]=li(38845);q[73421]=ii;q[73422]=li(38854);q[73423]=ii;q[73424]=li(38863);q[73425]=ii;q[73426]=li(38872);q[73427]=ii;q[73428]=li(38881);q[73429]=ii;q[73430]=li(38890);q[73431]=ii;q[73432]=li(38899);q[73433]=ii;q[73434]=li(38908);q[73435]=ii;q[73436]=li(38917);q[73437]=ii;a=li(38926);q[73446]=2;q[73444]=4;q[73445]=5;q[73442]=1;q[73443]=3;q[73440]=6;q[73441]=0;q[73438]=a;q[73439]=ii;q[73447]=0;q[73450]=3;q[73451]=4;q[73448]=1;q[73449]=2}function HL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=fi-16|0;fi=g;d=1;a:{b:{switch(b-a>>3){case 2:e=b-8|0;b=e;f=q[b>>2];c=q[b+4>>2];b=q[a+4>>2];if((c|0)==(b|0)&t[a>>2]<=f>>>0|b>>>0>>0){break a}Cl(a,e);break a;case 3:Zp(a,a+8|0,b-8|0);break a;case 4:dw(a,a+8|0,a+16|0,b-8|0);break a;case 5:$v(a,a+8|0,a+16|0,a+24|0,b-8|0);break a;case 0:case 1:break a;default:break b}}c=a+16|0;Zp(a,a+8|0,c);f=a+24|0;c:{while(1){i=(b|0)==(f|0);if(i){break c}d:{h=q[f+4>>2];e=q[c+4>>2];if((h|0)==(e|0)&t[f>>2]>2]|e>>>0>h>>>0){d=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=d;e=f;while(1){e:{d=c;c=q[c+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=c;if((a|0)==(d|0)){d=a;break e}e=d;c=d-8|0;j=q[g+12>>2];h=q[c+4>>2];if((j|0)==(h|0)&t[c>>2]>t[g+8>>2]|h>>>0>j>>>0){continue}}break}e=g+8|0;c=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=c;k=k+1|0;if((k|0)==8){break d}}c=f;f=c+8|0;continue}break}d=(f+8|0)==(b|0)}d=d|i}fi=g+16|0;return d&1}function IU(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;a:{if(!c){c=-15616;break a}q[d+8>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;b:{f=b+c|0;e=f-1|0;if(r[e|0]){break b}c=ax(d+8|0,149714,149745,b,d+24|0);if((c|0)!=-4224){if(!c){q[d+28>>2]=q[d+8>>2];b=q[67187];if(!b){c=-15488;break a}c=_w(a,b);if(c){break a}c=Gw(d+28|0,q[d+28>>2]+q[d+12>>2]|0,q[a+4>>2]);if(c){if(a){b=q[a>>2];if(b){ji[q[b+40>>2]](q[a+4>>2])}ji[q[66742]](a,0,8)|0}}Ap(d+8|0);break a}Ap(d+8|0);break a}if(r[e|0]){break b}c=ax(d+8|0,149774,149801,b,d+24|0);if((c|0)==-4224){break b}if(!c){b=q[d+8>>2];q[d+28>>2]=b;c=$w(d+28|0,b+q[d+12>>2]|0,a);Ap(d+8|0);break a}Ap(d+8|0);break a}Ap(d+8|0);c=q[67187];if(!c){c=-15488;break a}c=_w(a,c);if(c){break a}q[d+28>>2]=b;c=Gw(d+28|0,f,q[a+4>>2]);if(!c){c=0;break a}if(a){e=q[a>>2];if(e){ji[q[e+40>>2]](q[a+4>>2])}ji[q[66742]](a,0,8)|0}if((c|0)!=-15202){break a}q[d+28>>2]=b;c=$w(d+28|0,f,a)}fi=d+32|0;return c}function PT(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;ji[q[q[a+68>>2]+1112>>2]](a,c+4|0,(q[q[a>>2]+184>>2]^-1)&1);b=Dn(a);a:{if(b){break a}if(q[a+128>>2]!=22){Aj(a,2,10);b=-30464;break a}b:{b=q[a+120>>2];if(r[b|0]==20){d=r[q[a>>2]+184|0]&2?12:4;if(q[a+168>>2]==(d+12|0)){break b}}Aj(a,2,50);b=-32384;break a}if(wr(b+d|0,c+4|0,12)){Aj(a,2,50);b=-32384;break a}q[a+248>>2]=12;b=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);o[a+272|0]=b;o[a+273|0]=b>>>8;o[a+274|0]=b>>>16;o[a+275|0]=b>>>24;b=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);o[a+264|0]=d;o[a+265|0]=d>>>8;o[a+266|0]=d>>>16;o[a+267|0]=d>>>24;o[a+268|0]=b;o[a+269|0]=b>>>8;o[a+270|0]=b>>>16;o[a+271|0]=b>>>24;c:{if(q[q[a+68>>2]+2252>>2]){d=q[a>>2];if(o[d+184|0]&1){break c}q[a+4>>2]=10;break c}q[a+4>>2]=q[a+4>>2]+1;d=q[a>>2]}b=0;if(!(r[d+184|0]&2)){break a}Rw(a)}fi=c+16|0;return b}function Eta(a){var b=0;b=q[a+396>>2];if(b){ki(b)}b=q[a+384>>2];if(b){ki(b)}b=q[a+372>>2];if(b){ki(b)}b=q[a+360>>2];if(b){ki(b)}b=q[a+348>>2];if(b){ki(b)}b=q[a+336>>2];if(b){ki(b)}b=q[a+324>>2];if(b){ki(b)}b=q[a+312>>2];if(b){ki(b)}b=q[a+300>>2];if(b){ki(b)}b=q[a+288>>2];if(b){ki(b)}b=q[a+276>>2];if(b){ki(b)}b=q[a+264>>2];if(b){ki(b)}b=q[a+252>>2];if(b){ki(b)}b=q[a+240>>2];if(b){ki(b)}b=q[a+228>>2];if(b){ki(b)}b=q[a+216>>2];if(b){ki(b)}b=q[a+204>>2];if(b){ki(b)}b=q[a+192>>2];if(b){ki(b)}b=q[a+180>>2];if(b){ki(b)}b=q[a+168>>2];if(b){ki(b)}b=q[a+156>>2];if(b){ki(b)}b=q[a+144>>2];if(b){ki(b)}b=q[a+132>>2];if(b){ki(b)}b=q[a+120>>2];if(b){ki(b)}b=q[a+108>>2];if(b){ki(b)}b=q[a+96>>2];if(b){ki(b)}b=q[a+84>>2];if(b){ki(b)}b=q[a+72>>2];if(b){ki(b)}b=q[a+60>>2];if(b){ki(b)}b=q[a+48>>2];if(b){ki(b)}b=q[a+36>>2];if(b){ki(b)}b=q[a+24>>2];if(b){ki(b)}b=q[a+12>>2];if(b){ki(b)}a=q[a>>2];if(a){ki(a)}}function Cla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;e=q[a>>2];b=q[a+16>>2];f=q[a+20>>2];a:{b:{if((b|0)==q[73332]&(f|0)==q[73333]){d=-4;if(q[a+32>>2]!=3){break a}if(r[e+13|0]){b=q[a+44>>2];e=q[a+40>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=e;q[c+4>>2]=b;break b}b=q[a+44>>2];e=q[a+40>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=e;q[c+4>>2]=b;break b}if((b|0)==q[73334]&(f|0)==q[73335]){d=-4;if(q[a+32>>2]!=3){break a}if(r[e+13|0]){b=q[a+40>>2];e=q[a+44>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=b;q[c+4>>2]=e;break b}b=q[a+40>>2];e=q[a+44>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=b;q[c+4>>2]=e;break b}if((b|0)==q[73338]&(f|0)==q[73339]){d=-4;if(q[a+32>>2]!=6){break a}if(r[e+13|0]){mi(3,35903,36821,0);d=-1;break a}break b}if((b|0)==q[73328]&(f|0)==q[73329]){d=-4;if(q[a+32>>2]){break a}break b}d=-1;if(q[73330]!=(b|0)|q[73331]!=(f|0)){break a}d=-4;if(q[a+32>>2]){break a}if(r[e+13|0]){break b}}d=0}b=d;fi=c+16|0;return b|0}function lfa(a){var b=0,c=0;b=q[a>>2];q[74121]=q[a+4>>2];a=q[b+8>>2]-q[b+12>>2]>>4;q[74122]=Vl(b,60842,60852,241392);q[74123]=Vl(b,60860,60876,241424);ek(b,60842,241472);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60884);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60901);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60919);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60937);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60955);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60971);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,60988);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,61005);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,61022);oi(b,-2);if((a|0)!=q[b+8>>2]-q[b+12>>2]>>4){J(61041,61062,951,61103);G()}}function Gda(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;g=fi-16|0;fi=g;a:{b:{c:{if(a){if(!f){break c}d:{if(o[300100]&1){break d}if(!ui(300100)){break d}if(r[852367]){a=Ri(80454)}else{a=-1}q[75024]=a;ti(300100)}e:{if(o[300108]&1){break e}if(!ui(300108)){break e}if(r[852367]){a=Yi(81472,12)}else{a=0}q[75026]=a;ti(300108)}a=q[75024];f:{if((a|0)!=-1){Qi(g,a,81472,q[75026]);break f}q[g>>2]=0}g:{if(o[300116]&1){break g}if(!ui(300116)){break g}if(r[852367]){a=Ek(81485)}else{a=-1}q[75028]=a;ti(300116)}a=q[75028];if((a|0)!=-1){Fk(a,1)}O(34963,f|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}ic(q[(b<<2)+81496>>2],d|0,q[(e<<2)+81328>>2],c|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}if(q[g>>2]){Pi(g)}fi=g+16|0;return}J(79156,79164,1612,81440);G()}J(81459,79164,1613,81440);G()}Mi(a,81440,1618);J(79249,79164,1618,81440);G()}Mi(a,81440,1621);J(79249,79164,1621,81440);G()}function Cqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+12>>2];e=q[a+16>>2];a:{if((b|0)>=(e|0)){c=b;break a}c=b+1|0;q[a+12>>2]=c;d=o[b+q[a+8>>2]|0]}b:{c:{d:{while(1){e:{switch(d+1|0){case 14:d=0;if((c|0)>=(e|0)){continue}b=c+1|0;q[a+12>>2]=b;d=o[q[a+8>>2]+c|0];c=b;continue;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:break c;case 0:break e;default:break d}}break}Yq(a,-4);G()}if((d|0)!=91){break c}jL(a,a+180|0,512);d=0;b=q[a+12>>2];e=q[a+16>>2];f:{if((b|0)>=(e|0)){c=b;break f}c=b+1|0;q[a+12>>2]=c;d=o[b+q[a+8>>2]|0]}g:{while(1){h:{switch(d+1|0){case 14:d=0;if((c|0)>=(e|0)){continue}b=c+1|0;q[a+12>>2]=b;d=o[q[a+8>>2]+c|0];c=b;continue;case 0:break h;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:break b;default:break g}}break}Yq(a,-4);G()}if((d|0)!=93){break b}return}Yq(a,-3);G()}Yq(a,-3);G()}function $t(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=(ywa(b),uwa(2));d=f<<1;if(!(!d|(f&2147483647)>>>0>2139095040)){h=(ywa(a),uwa(2));e=h>>>23&255;if((e|0)!=255){break a}}a=x(a*b);return x(a/a)}c=h<<1;if(c>>>0>d>>>0){g=f>>>23&255;b:{if(!e){e=0;c=h<<9;if((c|0)>=0){while(1){e=e-1|0;c=c<<1;if((c|0)>-1){continue}break}}c=h<<1-e;break b}c=h&8388607|8388608}c:{if(!g){g=0;d=f<<9;if((d|0)>=0){while(1){g=g-1|0;d=d<<1;if((d|0)>-1){continue}break}}d=f<<1-g;break c}d=f&8388607|8388608}f=d;if((e|0)>(g|0)){while(1){d:{d=c-f|0;if((d|0)<0){break d}c=d;if(c){break d}return x(a*x(0))}c=c<<1;e=e-1|0;if((g|0)<(e|0)){continue}break}e=g}e:{d=c-f|0;if((d|0)<0){break e}c=d;if(c){break e}return x(a*x(0))}f:{if(c>>>0>8388607){d=c;break f}while(1){e=e-1|0;f=c>>>0<4194304;d=c<<1;c=d;if(f){continue}break}}c=h&-2147483648;return vwa(2,c|((e|0)>=1?d-8388608|e<<23:d>>>1-e|0)),zwa()}return(c|0)==(d|0)?x(a*x(0)):a}function uR(a){a=a|0;var b=0,c=0,d=0;c=fi-96|0;fi=c;a:{if((ri(a,1)|0)<=0){b=T(0)|0;break a}vj(a,1,5);oi(a,1);zi(a,-1,131457);if(Gj(a,-1)){b=am(a,-1)}oi(a,-2);q[c+48>>2]=b;zi(a,-1,131461);b=0;b:{if(!Gj(a,-1)){break b}b=am(a,-1)}oi(a,-2);q[c+52>>2]=b;zi(a,-1,131465);b=12;c:{if(!Gj(a,-1)){break c}b=am(a,-1)}oi(a,-2);q[c+56>>2]=b;zi(a,-1,131470);d:{if(Gj(a,-1)){b=am(a,-1);oi(a,-2);break d}q[c+32>>2]=131470;b=ni(a,131579,c+32|0)}q[c+60>>2]=b;zi(a,-1,131474);e:{if(Gj(a,-1)){b=am(a,-1);oi(a,-2);break e}q[c+16>>2]=131474;b=ni(a,131579,c+16|0)}q[c+64>>2]=b-1;zi(a,-1,131480);f:{if(Gj(a,-1)){b=am(a,-1);oi(a,-2);break f}q[c>>2]=131480;b=ni(a,131579,c)}q[c+68>>2]=b-1900;b=-1;zi(a,-1,131495);if(ri(a,-1)){b=Fj(a,-1)}oi(a,-2);q[c+80>>2]=b;b=Ja(c+48|0)|0}g:{if((b|0)==-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break g}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}fi=c+96|0;return 1}function Kta(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!Lv(a,b)){break a}e=TA(a,0);if((e|0)<0|!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))){break a}f=1;g=(r[a+65|0]|r[a+66|0]<<8|(r[a+67|0]<<16|r[a+68|0]<<24))+a|0;b=e+1|0;if(b>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){while(1){h=w(b,23)+g|0;d=h;if(!(r[d|0]|(r[d+1|0]<<8|r[d+2|0]<<16))){d=r[h+3|0]+1|0;f=f>>>0>d>>>0?f:d;b=b+1|0;if(b>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){continue}}break}if(f>>>0>16){break a}}o[c+40|0]=0;q[c+4>>2]=f;q[c>>2]=0;b=c;if(r[a+20|0]){a=r[(w(e,23)+g|0)+4|0]}else{a=(r[a+21|0]|r[a+22|0]<<8)>>>2|0}o[b+40|0]=a&1;a=w(e,23)+g|0;o[c+41|0]=r[a+4|0]>>>1&1;q[c+16>>2]=(r[a+9|0]|r[a+10|0]<<8)<<2;q[c+20>>2]=(r[a+11|0]|r[a+12|0]<<8)<<2;q[c+8>>2]=r[a+5|0]|r[a+6|0]<<8;q[c+12>>2]=r[a+7|0]|r[a+8|0]<<8;q[c+24>>2]=r[a+9|0]|r[a+10|0]<<8;a=r[a+11|0]|r[a+12|0]<<8;q[c+28>>2]=a;q[c+36>>2]=e;q[c+32>>2]=w(a,q[c+24>>2])}}function Mba(a,b){var c=0,d=0,e=0;a:{b:{c:{if(a){if(!b){b=q[a+32>>2];c=q[a+36>>2]-b|0;a=(c|0)/576|0;if(!c){return 0}d=a>>>0>1?a:1;a=0;while(1){d:{c=b+w(a,576)|0;if(o[c+572|0]&1){break d}e=s[c+554>>1];if((e|0)==65535|s[c+560>>1]!=65535){break d}return e|s[(b+w(a,576)|0)+552>>1]<<16}a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}c=q[a+32>>2];e=(q[a+36>>2]-c|0)/576|0;a=b&65535;if(e>>>0<=a>>>0){break a}if(s[(c+w(a,576)|0)+552>>1]!=(b>>>16|0)){break c}a=c+w(a,576)|0;if(s[a+554>>1]!=(b&65535)){break b}a=s[a+562>>1];if((a|0)!=65535){while(1){b=a&65535;if(b>>>0>=e>>>0){break a}d=c+w(b,576)|0;a=s[d+558>>1];e:{if(o[d+572|0]&1){break e}d=s[d+554>>1];if((d|0)==65535){break e}return d|s[(c+w(b,576)|0)+552>>1]<<16}if((a&65535)!=65535){continue}break}}return 0}J(185433,184532,2134,185444);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function js(a,b,c){var d=0,e=0,f=0,g=0;d=fi+ -64|0;fi=d;a:{e=q[a>>2];f=q[e+8>>2]-q[e+12>>2]>>4;if((f|0)>-1){if(yq(a)){g=q[e+8>>2]-q[e+12>>2]>>4;if(b){ji[b|0](e,c)}b=q[e+8>>2]-q[e+12>>2]>>4;q[d+60>>2]=0;c=(b-g|0)+1|0;g=Cq(e,c^-1,111459,111461,0,d+60|0);b:{if(o[316628]&1){break b}if(!ui(316628)){break b}if(r[852367]){b=Ri(111470)}else{b=-1}q[79156]=b;ti(316628)}b=q[79156];c:{if((b|0)!=-1){Qi(d+40|0,b,g,q[d+60>>2]);break c}q[d+40>>2]=0}fy(e,c,0,0);if(q[d+40>>2]){Pi(d+40|0)}a=q[a>>2];oi(a,-2);b=q[79152];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);Wi(a,-10002)}a=q[e+8>>2]-q[e+12>>2]>>4;if((a|0)!=(f|0)){break a}fi=d- -64|0;return}q[d+12>>2]=f;q[d+4>>2]=1734;q[d+8>>2]=0;q[d>>2]=110448;mi(4,110525,111068,d);J(111140,110448,1449,111157);G()}q[d+28>>2]=a;q[d+24>>2]=f;q[d+20>>2]=1734;q[d+16>>2]=110448;mi(4,110525,111171,d+16|0);J(111242,110448,1472,111261);G()}function aj(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}d=q[a+8>>2];b=0;c:{if(!q[d-8>>2]){break c}b=q[d-16>>2]}d:{e:{f:{g:{d=q[c+8>>2];switch(d-5|0){case 2:break f;case 0:break g;default:break e}}q[q[c>>2]+8>>2]=b;if(!b|!(r[b+5|0]&3)){break d}c=q[c>>2];if(!(r[c+5|0]&4)){break d}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;break d}q[q[c>>2]+8>>2]=b;if(!b|!(r[b+5|0]&3)){break d}c=q[c>>2];if(!(r[c+5|0]&4)){break d}Mn(a,c,b);break d}q[(q[a+16>>2]+(d<<2)|0)+152>>2]=b}q[a+8>>2]=q[a+8>>2]-16;return 1}function fta(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;d=fi-16|0;fi=d;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;l=a;while(1){h=g+1|0;i=g-1|0;e=0;while(1){f=0;a:{if(i>>>0>3){break a}a=0;c=e-1|0;if(c>>>0<=3){o[d+8|0]=hj(b,c,i);a=1}o[(d+8|0)+a|0]=hj(b,e,i);c=a+1|0;f=c;if(e>>>0>2){break a}o[c+(d+8|0)|0]=hj(b,e+1|0,i);f=a|2}a=f;j=e-1|0;c=j>>>0>3;if(!c){o[(d+8|0)+a|0]=hj(b,j,g);a=a+1|0}m=d+8|0;k=e>>>0>2;if(!k){o[(d+8|0)+a|0]=hj(b,e+1|0,g);a=a+1|0}f=a;b:{if(g>>>0>2){break b}if(!c){o[(d+8|0)+a|0]=hj(b,j,h);a=a+1|0}o[(d+8|0)+a|0]=hj(b,e,h);c=a+1|0;f=c;if(k){break b}o[c+(d+8|0)|0]=hj(b,e+1|0,h);f=a+2|0}c=f;vN(m,c+(d+8|0)|0);a=r[d+8+(c>>>1)|0];o[Gi(l,e,g)|0]=a;e=e+1|0;if((e|0)!=4){continue}break}g=h;if((g|0)!=4){continue}break}fi=d+16|0}function Sva(){q[73676]=li(46159);q[73677]=ii;q[73678]=li(46178);q[73679]=ii;q[73680]=li(46195);q[73681]=ii;q[73682]=li(46204);q[73683]=ii;q[73684]=li(46210);q[73685]=ii;q[73686]=li(46220);q[73687]=ii;q[73688]=li(46228);q[73689]=ii;q[73690]=li(46235);q[73691]=ii;q[73692]=li(46244);q[73693]=ii;q[73694]=li(46256);q[73695]=ii;q[73696]=li(46265);q[73697]=ii;q[73698]=li(46270);q[73699]=ii;q[73700]=li(46276);q[73701]=ii;q[73702]=li(46282);q[73703]=ii;q[73704]=li(46291);q[73705]=ii;q[73706]=li(46300);q[73707]=ii;q[73708]=li(46309);q[73709]=ii;q[73710]=li(46318);q[73711]=ii;q[73712]=li(46327);q[73713]=ii;q[73714]=li(46336);q[73715]=ii;q[73716]=li(46345);q[73717]=ii;q[73718]=li(46354);q[73719]=ii;q[73720]=li(46363);q[73721]=ii;q[73722]=li(46372);q[73723]=ii;q[73724]=li(46384);q[73725]=ii;q[73726]=li(46389);q[73727]=ii;q[73728]=li(46399);q[73729]=ii;q[73730]=li(46406);q[73731]=ii}function Rt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(q[a+24>>2]==(c|0)){q[a+28>>2]=c;if((b|0)==-1){break b}c=q[a+32>>2];if((c|0)==-1){break a}g=q[q[a>>2]+12>>2];while(1){d=c;f=g+(d<<2)|0;e=q[f>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(d+c|0)+1|0;if((c|0)!=-1){continue}break}c=f;d=(d^-1)+b|0;b=d>>31;if((b^b+d)>=131072){xj(q[a+12>>2],127273);e=q[f>>2]}q[c>>2]=(e&16383|d<<14)+2147467264;return}if((b|0)==-1){break b}while(1){h=q[q[a>>2]+12>>2]+(b<<2)|0;f=q[h>>2];e=(f>>>14|0)-131071|0;i=(e|0)==-1;e=(b+e|0)+1|0;c:{if((b|0)>=1){d=h-4|0;g=q[d>>2];if(o[(g&63)+126784|0]<0){break c}}g=f;d=h}e=i?-1:e;d:{e:{f:{if((g&63)==27){q[d>>2]=g&8372224|g>>>17&32704|26;b=(b^-1)+c|0;d=b>>31;if((d^b+d)>131071){break f}break e}b=(b^-1)+c|0;d=b>>31;if((d^b+d)<131072){break d}}xj(q[a+12>>2],127273)}f=q[h>>2]}q[h>>2]=(f&16383|b<<14)+2147467264;b=e;if((b|0)!=-1){continue}break}}return}q[a+32>>2]=b}function Qva(){q[73802]=li(49630);q[73803]=ii;q[73804]=li(49649);q[73805]=ii;q[73806]=li(49666);q[73807]=ii;q[73808]=li(49675);q[73809]=ii;q[73810]=li(49681);q[73811]=ii;q[73812]=li(49691);q[73813]=ii;q[73814]=li(49699);q[73815]=ii;q[73816]=li(49706);q[73817]=ii;q[73818]=li(49715);q[73819]=ii;q[73820]=li(49727);q[73821]=ii;q[73822]=li(49736);q[73823]=ii;q[73824]=li(49741);q[73825]=ii;q[73826]=li(49747);q[73827]=ii;q[73828]=li(49753);q[73829]=ii;q[73832]=li(49762);q[73833]=ii;q[73834]=li(49771);q[73835]=ii;q[73836]=li(49780);q[73837]=ii;q[73838]=li(49789);q[73839]=ii;q[73840]=li(49798);q[73841]=ii;q[73842]=li(49807);q[73843]=ii;q[73844]=li(49816);q[73845]=ii;q[73846]=li(49825);q[73847]=ii;q[73848]=li(49834);q[73849]=ii;q[73850]=li(49843);q[73851]=ii;q[73852]=li(49855);q[73853]=ii;q[73854]=li(49860);q[73855]=ii;q[73856]=li(49864);q[73857]=ii;q[73858]=li(49870);q[73859]=ii}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,p=0,s=0,t=0;e=fi-32|0;fi=e;h=-2;a:{if(q[a>>2]!=1179011410|b>>>0<12|q[a+8>>2]!=1163280727){break a}d=a+12|0;g=a+b|0;while(1){b:{f=d+8|0;if(f>>>0>g>>>0){break b}i=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);j=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c:{if((j|0)!=1635017060){if((j|0)!=544501094){break c}if(d+24>>>0>g>>>0){q[e+4>>2]=b;q[e>>2]=d-a;mi(3,202649,202655,e);break a}k=r[d+22|0]|r[d+23|0]<<8;f=r[d+8|0]|r[d+9|0]<<8;if((f|0)!=1){q[e+20>>2]=k;q[e+16>>2]=f;mi(3,202649,202722,e+16|0);break a}n=r[d+10|0];p=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);l=1;break c}m=1;s=i;t=f}d=(d+i|0)+8|0;if(g>>>0<=d>>>0){break b}if(!(l&m)){continue}}break}if(!m|!l){break a}a=Ci(20);q[a+16>>2]=t;h=0;q[a+12>>2]=0;o[a+9|0]=k;o[a+8|0]=n;q[a+4>>2]=s;q[a>>2]=p;q[c>>2]=a}fi=e+32|0;return h|0}function lr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=q[e>>2];f=i+8|0;e=s[c>>1];k=s[(f+w(e,104)|0)+100>>1];h=s[b>>1];j=s[(f+w(h,104)|0)+100>>1];g=s[a>>1];f=f+w(g,104)|0;a:{if(j>>>0>=s[f+100>>1]){if(k>>>0>=j>>>0){f=0;break a}p[b>>1]=e;p[c>>1]=h;f=i+8|0;e=s[b>>1];g=s[a>>1];if(s[(f+w(e,104)|0)+100>>1]>=s[(f+w(g,104)|0)+100>>1]){f=1;e=h;break a}p[a>>1]=e;p[b>>1]=g;e=s[c>>1];f=2;break a}b:{if(k>>>0>>0){p[a>>1]=e;p[c>>1]=g;f=1;break b}p[a>>1]=h;p[b>>1]=g;e=s[c>>1];if(s[(w(e,104)+i|0)+108>>1]>=s[f+100>>1]){f=1;break a}p[b>>1]=e;p[c>>1]=g;f=2}e=g}g=i+8|0;h=s[d>>1];if(s[(g+w(h,104)|0)+100>>1]>1]){p[c>>1]=h;p[d>>1]=e;d=s[c>>1];e=s[b>>1];if(s[(g+w(d,104)|0)+100>>1]>=s[(g+w(e,104)|0)+100>>1]){return f+1|0}p[b>>1]=d;p[c>>1]=e;d=i+8|0;c=s[b>>1];e=s[a>>1];if(s[(d+w(c,104)|0)+100>>1]>=s[(d+w(e,104)|0)+100>>1]){return f+2|0}p[a>>1]=c;p[b>>1]=e;f=f+3|0}return f}function hra(a){var b=0,c=0,d=0;c=-6;a:{if(r[169720]!=49){break a}c=-2;if(!a){break a}q[a+24>>2]=0;b=q[a+32>>2];if(!b){q[a+40>>2]=0;q[a+32>>2]=1349;b=1349}if(!q[a+36>>2]){q[a+36>>2]=1350}b=ji[b|0](q[a+40>>2],1,5828)|0;c=-4;if(!b){break a}q[a+28>>2]=b;q[b+48>>2]=15;q[b+28>>2]=0;q[b+24>>2]=1;q[b>>2]=a;q[b+80>>2]=15;q[b+44>>2]=32768;q[b+52>>2]=32767;q[b+76>>2]=32768;q[b+88>>2]=5;q[b+84>>2]=32767;q[b+56>>2]=ji[q[a+32>>2]](q[a+40>>2],32768,2);q[b+64>>2]=ji[q[a+32>>2]](q[a+40>>2],q[b+44>>2],2);c=ji[q[a+32>>2]](q[a+40>>2],q[b+76>>2],2)|0;q[b+5824>>2]=0;q[b+68>>2]=c;q[b+5788>>2]=16384;c=ji[q[a+32>>2]](q[a+40>>2],16384,4)|0;q[b+8>>2]=c;d=q[b+5788>>2];q[b+12>>2]=d<<2;b:{if(!(!c|(!q[b+56>>2]|!q[b+64>>2]))){if(q[b+68>>2]){break b}}q[b+4>>2]=666;q[a+24>>2]=q[71862];JA(a);return-4}q[b+136>>2]=0;q[b+132>>2]=3;o[b+36|0]=8;q[b+5784>>2]=c+w(d,3);q[b+5796>>2]=c+(d&-2);c=gra(a)}return c}function Eia(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;b=fi-48|0;fi=b;a:{b:{c:{d:{g=q[a+4>>2];a=q[g+120>>2];e:{if(!a){break e}a=q[q[g+116>>2]+(lwa(c,d,a)<<2)>>2];if((a|0)==-1){break e}i=q[g+124>>2];while(1){h=i+w(a,24)|0;if((c|0)==q[h>>2]&(d|0)==q[h+4>>2]){break d}a=q[h+16>>2];if((a|0)!=-1){continue}break}}a=Ei(c,d);q[b+4>>2]=Ei(e,f);q[b>>2]=a;mi(4,38938,39798,b);break c}a=i+w(a,24)|0;if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(f|0)){c=Ei(c,d);a=Ei(q[a+8>>2],q[a+12>>2]);q[b+40>>2]=Ei(e,f);q[b+36>>2]=a;q[b+32>>2]=c;mi(4,38938,39840,b+32|0);break c}a=q[g+88>>2];f:{if(!a){break f}a=q[q[g+84>>2]+(lwa(c,d,a)<<2)>>2];if((a|0)==-1){break f}e=q[g+92>>2];while(1){f=e+(a<<4)|0;g=f;if((c|0)==q[g>>2]&(d|0)==q[g+4>>2]){break b}a=q[f+12>>2];if((a|0)!=-1){continue}break}}q[b+16>>2]=Ei(c,d);mi(4,38938,39898,b+16|0)}a=0;break a}a=q[(e+(a<<4)|0)+8>>2]}fi=b+48|0;return a|0}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;g=c+1|0;m=q[((c<<4)+a|0)+12>>2];a:{if((m|0)<1){d=g;break a}n=m-1|0;e=g;while(1){f=w(e,20)+b|0;d=(e<<4)+a|0;c=q[d>>2];q[f>>2]=c;q[f+4>>2]=q[d+4>>2];q[f+8>>2]=q[d+8>>2];i=q[d+12>>2];q[f+16>>2]=-1;q[f+12>>2]=i;b:{c:{switch(c|0){case 1:d=ZG(a,b,e);break b;case 2:c=e+1|0;if((i|0)<1){d=c;break b}f=i-1|0;j=0;while(1){d:{e:{f:{k=(c<<4)+a|0;d=q[k>>2];switch(d|0){case 0:case 3:break f;default:break e}}h=w(c,20)+b|0;q[h>>2]=d;q[h+4>>2]=q[k+4>>2];q[h+8>>2]=q[k+8>>2];d=q[k+12>>2];q[h+16>>2]=-1;q[h+12>>2]=d;d=c+1|0;break d}d=dz(a,b,c)}if((f|0)>(j|0)){q[(w(c,20)+b|0)+16>>2]=d}c=d;j=j+1|0;if((j|0)!=(i|0)){continue}break}break b;default:J(156228,156230,117,156251);G();case 0:case 3:break c}}d=e+1|0}c=l&1;g=c?g:e;if(!(!c|(l|0)>=(n|0))){q[(w(g,20)+b|0)+16>>2]=d}e=d;l=l+1|0;if((m|0)!=(l|0)){continue}break}}return d}function a8(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(b>>>0<8){d=b;break a}d=b;while(1){e=g;g=jwa(r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24),r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24),1540483477,-962287725);h=ii;i=jwa(jwa(g^h>>>15,h,1540483477,-962287725)^i,ii^e,1540483477,-962287725);g=ii;a=a+8|0;d=d-8|0;if(d>>>0>7){continue}break}}b:{switch(d-1|0){case 6:c=r[a+6|0]<<16;case 5:c=c|r[a+5|0]<<8;case 4:c=c^r[a+4|0];case 3:e=r[a+3|0];d=e>>>8|0;f=f^e<<24;c=c^d;case 2:d=r[a+2|0];e=d>>>16|0;f=f^d<<16;c=c^e;case 1:e=r[a+1|0];d=e>>>24|0;f=f^e<<8;c=c^d;case 0:f=jwa(r[a|0]^f,c,1540483477,-962287725);c=ii;break;default:break b}}a=c;c=jwa(jwa(f^a>>>15,a,1540483477,-962287725)^i,g^ii,1540483477,-962287725);e=ii;a=jwa(b,0,1540483477,-962287725);b=ii;a=jwa(a^b>>>15,b,1540483477,-962287725)^c;b=ii^e;a=jwa(a^b>>>15,b,1540483477,-962287725);b=ii;ii=b;return a^b>>>15}function O3(a,b,c){var d=0,e=0,f=0,g=0;d=fi-1104|0;fi=d;q[d+76>>2]=0;q[d+72>>2]=0;q[d+68>>2]=0;q[d+64>>2]=0;lk(958776,24815,d+80|0);e=ds(d+80|0,d+76|0);a:{if(e){q[d+48>>2]=e;q[d+52>>2]=d+80;mi(4,24355,24831,d+48|0);e=-9;break a}b:{e=q[d+76>>2];f=xi(e);if(f){e=es(d+80|0,f,e,d+68|0);if(e){q[d+32>>2]=e;q[d+36>>2]=d+80;mi(4,24355,24938,d+32|0);break b}g=q[d+68>>2];e=q[d+76>>2];if((g|0)!=(e|0)){q[d+24>>2]=g;q[d+20>>2]=e;q[d+16>>2]=d+80;mi(4,24355,25007,d+16|0);break b}e=-1;a=q[a+4>>2];if(cqa(f,g,q[a+8>>2],q[a+12>>2],d- -64|0,d+72|0)){break a}c:{d:{e:{a=q[d+72>>2];if((a|0)==(c|0)){e=0;if(!c){break c}g=q[d+64>>2];a=0;break e}q[d+4>>2]=a;q[d>>2]=c;mi(4,24355,24679,d);break d}while(1){if(r[a+b|0]==r[a+g|0]){a=a+1|0;if((c|0)!=(a|0)){continue}break c}break}mi(4,24355,24735,0)}e=-13}ki(q[d+64>>2]);ki(f);break a}J(24907,24439,390,24919);G()}ki(f);e=-9}fi=d+1104|0;return e}function FH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];c:{if(!e){break c}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break c}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break b}f=q[e+20>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break d}e=q[a+20>>2];if((e|0)==-1){break a}e=g+w(e,24)|0;q[a+20>>2]=q[e+20>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;q[e+16>>2]=q[d+8>>2];q[e+20>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)!=-1){while(1){b=d+w(f,24)|0;f=q[b+20>>2];if((f|0)!=-1){continue}break}b=b+20|0}q[b>>2]=(e-d|0)/24;q[a+24>>2]=q[a+24>>2]+1;return}J(186416,186252,226,186424);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;q[a+16>>2]=q[d+8>>2];return}J(186428,186252,470,186490);G()}function XM(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-48|0;fi=e;f=Lj(a,b,e+44|0,48);a:{if(f){d=f-9472|0;break a}d=-9574;g=q[a>>2];if((g+q[e+44>>2]|0)!=(b|0)){break a}b:{if(b>>>0<=g>>>0){f=c;break b}f=c;while(1){q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;if((b-g|0)<1){d=-9568;break a}h=r[g|0];q[a>>2]=g+1;d=mq(a,b,e+40|0);if(d){d=d-9472|0;break a}if((h&192)!=128){d=-9570;break a}d=sT(f,e);if(!((d|0)==-8320|!d)){a=q[c+12>>2];if(a){while(1){b=q[a+12>>2];ji[q[66742]](a,0,16)|0;ki(a);a=b;if(a){continue}break}}q[c+12>>2]=0;break a}if(q[f+8>>2]){if(q[f+12>>2]){d=-9472;break a}d=f;f=Oj(1,16);q[d+12>>2]=f;if(!f){d=-9578;break a}}q[f>>2]=h;q[f+8>>2]=q[a>>2];d=q[e+40>>2];q[f+4>>2]=d;g=d+q[a>>2]|0;q[a>>2]=g;if(b>>>0>g>>>0){continue}break}}q[f+12>>2]=0;d=q[a>>2]==(b|0)?0:-9574}fi=e+48|0;return d}function Tz(a){var b=0;b=fi-128|0;fi=b;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((a|0)<=36181){switch(a-36054|0){case 2:case 3:case 4:break a;case 7:break e;case 6:break f;case 5:break g;case 1:break h;case 0:break i;default:break c}}if((a|0)==36182){break d}if((a|0)!=36264){break a}q[b+112>>2]=36264;q[b+116>>2]=82781;mi(4,79120,82517,b+112|0);break b}q[b+16>>2]=36054;q[b+20>>2]=82558;mi(4,79120,82517,b+16|0);break b}q[b+32>>2]=36055;q[b+36>>2]=82595;mi(4,79120,82517,b+32|0);break b}q[b+48>>2]=36059;q[b+52>>2]=82640;mi(4,79120,82517,b+48|0);break b}q[b+64>>2]=36060;q[b+68>>2]=82678;mi(4,79120,82517,b- -64|0);break b}q[b+80>>2]=36061;q[b+84>>2]=82716;mi(4,79120,82517,b+80|0);break b}q[b+96>>2]=36182;q[b+100>>2]=82743;mi(4,79120,82517,b+96|0);break b}if((a|0)!=33305){break a}q[b>>2]=33305;q[b+4>>2]=82533;mi(4,79120,82517,b)}fi=b+128|0;return}J(79249,79164,303,82825);G()}function b4(a,b){var c=0,d=0,e=0,f=0;d=fi-48|0;fi=d;c=q[72975];if(c){while(1){a:{if(q[c+8>>2]){q[d+40>>2]=b;q[d+24>>2]=a;e=q[c>>2];q[d+28>>2]=e;q[d+32>>2]=li(e);q[d+36>>2]=ii;e=ji[q[c+8>>2]](d+24|0)|0;f=q[c>>2];if(e){c=26440;b:{c:{switch(e+21|0){case 18:c=26450;break b;case 17:c=26469;break b;case 16:c=26492;break b;case 15:c=26511;break b;case 14:c=26517;break b;case 13:c=26539;break b;case 12:c=26553;break b;case 11:c=26562;break b;case 10:c=26573;break b;case 9:c=26590;break b;case 8:c=26613;break b;case 7:c=26626;break b;case 6:c=26641;break b;case 5:c=26655;break b;case 4:c=26675;break b;case 2:c=26683;break b;case 1:c=26700;break b;case 0:c=26719;break b;default:c=26733;break b;case 19:break b;case 20:break c}}c=26427}q[d+4>>2]=c;q[d>>2]=f;mi(4,24355,26843,d);break a}q[d+16>>2]=f;mi(0,24355,26878,d+16|0)}c=q[c+12>>2];if(c){continue}}break}}fi=d+48|0}function Kr(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=fi-256|0;fi=j;o=q[a+20>>2];f=o;p=q[a+16>>2];k=p;s=q[a+12>>2];h=s;t=q[a+8>>2];c=t;u=q[a+28>>2];e=u;v=q[a+32>>2];l=v;w=q[a+24>>2];d=w;x=q[a+36>>2];m=x;while(1){i=d;n=l;l=e;e=c;a:{if(g>>>0<=15){c=g<<2;c=r[(c|1)+b|0]<<16|r[b+c|0]<<24|r[(c|2)+b|0]<<8|r[(c|3)+b|0];break a}c=(g<<2)+j|0;d=q[c-8>>2];d=((owa(d,15)^owa(d,13)^d>>>10)+q[c-28>>2]|0)+q[c+ -64>>2]|0;c=q[c-60>>2];c=d+(owa(c,25)^owa(c,14)^c>>>3)|0}d=g<<2;q[d+j>>2]=c;y=f;f=(c+(q[d+140400>>2]+((owa(i,26)^owa(i,21)^owa(i,7))+m|0)|0)|0)+((l^n)&i^n)|0;d=y+f|0;c=(f+(owa(e,30)^owa(e,19)^owa(e,10))|0)+((e|h)&k|e&h)|0;f=k;k=h;h=e;e=i;m=n;g=g+1|0;if((g|0)!=64){continue}break}q[a+36>>2]=m+x;q[a+32>>2]=l+v;q[a+28>>2]=e+u;q[a+24>>2]=d+w;q[a+20>>2]=f+o;q[a+16>>2]=k+p;q[a+12>>2]=h+s;q[a+8>>2]=c+t;fi=j+256|0;return 0}function Qx(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=fi-80|0;fi=h;e=q[a+4>>2];a:{if(e>>>0>>0){break a}d=h;q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+56>>2]=b;q[d+48>>2]=1;q[d+52>>2]=2;q[d+64>>2]=1;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;g=e-c|0;f=c>>>0>>0?c:g;q[d+68>>2]=f;q[d+72>>2]=d;d=q[a+8>>2]+(c<<2)|0;b=si(h,d,f<<2);q[b+68>>2]=f+2;if(c>>>0>>0){qi(d,0,g<<2)}d=Ak(b- -64|0,b- -64|0,b+48|0);if(d){break a}d=Hr(a,a,b- -64|0);if(d){break a}g=q[a+4>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=g-c|0;d=c>>>0>>0?c:f;q[b+68>>2]=d;e=b;b=q[a+8>>2]+(c<<2)|0;e=si(e,b,d<<2);q[e+68>>2]=d+q[e+52>>2];if(c>>>0>>0){qi(b,0,f<<2)}d=Ak(e- -64|0,e- -64|0,e+48|0);if(d){break a}d=Hr(a,a,e- -64|0)}fi=h+80|0;return d}function kS(a){var b=0,c=0;a:{if(!a){break a}b:{c:{d:{e:{switch(q[a+4>>2]-5|0){case 3:b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))!=-834107862|(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))!=16843581){break d}c=267712;break a;case 4:break b;case 0:break e;default:break a}}if(ej(142255,q[a+8>>2],5)){break c}return 267732}a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-834107862|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=117506877){break a}return 267752}if(!ej(142290,q[a+8>>2],5)){return 267772}if(!ej(142306,q[a+8>>2],5)){return 267792}if(!ej(142322,q[a+8>>2],5)){return 267812}if(!ej(142338,q[a+8>>2],5)){return 267832}if(ej(142354,q[a+8>>2],5)){break a}return 267852}if(!ej(142370,q[a+8>>2],9)){return 267872}if(!ej(142411,q[a+8>>2],9)){return 267892}if(ej(142452,q[a+8>>2],9)){break a}return 267912}return c}function UW(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}c:{if((c|0)>=1){b=(q[a+12>>2]+(c<<4)|0)-16|0;b=b>>>0>2]?b:126472;break c}b=q[a+8>>2]+(c<<4)|0;if((c|0)>=-9999){break c}d:{switch(c+10002|0){case 2:b=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break c;case 0:b=a+72|0;break c;default:break d}}b=q[q[q[a+20>>2]+4>>2]>>2];b=r[b+7|0]<(-10002-c|0)?126472:(b+(0-c<<4)|0)-160024|0}c=0;if(!((d|0)==126472|(b|0)==126472)){c=XD(a,d,b)}return c}function LI(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[q[a+12>>2]>>2];Xi(c,-1e4,q[a>>2]);bk(c);py(q[a+368>>2]);b=q[c+8>>2];q[b+8>>2]=0;q[c+8>>2]=b+16;bk(c);f=q[a+32>>2];d=q[a+36>>2]-f|0;b=(d|0)/576|0;if(d){e=b>>>0>1?b:1;d=0;while(1){b=f+w(d,576)|0;g=q[b+416>>2];if(g){ji[q[a+376>>2]](q[a+388>>2],a,s[b+554>>1]|s[b+552>>1]<<16,g,q[b+512>>2])}b=q[b+420>>2];if(b){ki(b)}d=d+1|0;if((e|0)!=(d|0)){continue}break}}sj(c,-1e4,q[a>>2]);sj(c,-1e4,q[a+4>>2]);sj(c,-1e4,q[a+8>>2]);a:{c=q[a+12>>2];d=q[c+44>>2];f=q[c+40>>2];b=d-f|0;if(!b){break a}e=f-d|0;e=((b|0)<(e|0)?e:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(e,(b|0)<1?b:1);e=b>>>0>1?b:1;b=0;while(1){g=f+(b<<2)|0;if(q[g>>2]!=(a|0)){b=b+1|0;if((e|0)!=(b|0)){continue}break a}break}q[g>>2]=q[d-4>>2];b=q[c+44>>2]-4|0;q[c+44>>2]=b;if(b>>>0>=t[c+40>>2]){break a}J(187299,186599,484,187289);G()}qi(O8(a),0,408);q[a+8>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2}function Ht(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=q[a+128>>2];while(1){if(e>>>0<=63){o[d+i|0]=r[(a+e|0)- -64|0]^r[c+i|0];e=q[a+128>>2]+1|0;q[a+128>>2]=e;i=i+1|0;b=b-1|0;if(b){continue}break a}break}if(b>>>0>=64){h=a- -64|0;while(1){FL(a,h);q[a+48>>2]=q[a+48>>2]+1;e=0;while(1){g=e+i|0;o[g+d|0]=r[e+h|0]^r[c+g|0];f=g+1|0;o[f+d|0]=r[h+(e|1)|0]^r[c+f|0];f=g+2|0;o[f+d|0]=r[h+(e|2)|0]^r[c+f|0];f=g+3|0;o[f+d|0]=r[h+(e|3)|0]^r[c+f|0];f=g+4|0;o[f+d|0]=r[h+(e|4)|0]^r[c+f|0];f=g+5|0;o[f+d|0]=r[h+(e|5)|0]^r[c+f|0];f=g+6|0;o[f+d|0]=r[h+(e|6)|0]^r[c+f|0];g=g+7|0;o[g+d|0]=r[h+(e|7)|0]^r[c+g|0];g=e>>>0<56;e=e+8|0;if(g){continue}break}i=i- -64|0;b=b+ -64|0;if(b>>>0>63){continue}break}if(!b){break a}}FL(a,a- -64|0);q[a+48>>2]=q[a+48>>2]+1;e=0;while(1){h=e+i|0;o[h+d|0]=r[(a+e|0)- -64|0]^r[c+h|0];e=e+1|0;if((e|0)!=(b|0)){continue}break}q[a+128>>2]=b}return 0}function tz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];c:{if(!e){break c}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break c}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break b}f=q[e+20>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break d}e=q[a+20>>2];if((e|0)==-1){break a}e=g+w(e,24)|0;q[a+20>>2]=q[e+20>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;q[e+16>>2]=q[d+8>>2];q[e+20>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)!=-1){while(1){b=d+w(f,24)|0;f=q[b+20>>2];if((f|0)!=-1){continue}break}b=b+20|0}q[b>>2]=(e-d|0)/24;q[a+24>>2]=q[a+24>>2]+1;return}J(44974,44810,226,44982);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;q[a+16>>2]=q[d+8>>2];return}J(44986,44810,470,45048);G()}function JI(a){var b=0,c=0,d=0,e=0,f=0;f=Nq(a,1,-2,0);e=q[a+32>>2];c=q[a+36>>2]-e|0;if(c){d=(c|0)/576|0;while(1){c=e+w(b,576)|0;if(o[c+572|0]&1){Oz(a,s[c+554>>1]|s[c+552>>1]<<16,1);p[c+572>>1]=s[c+572>>1]&65534;d=(q[a+36>>2]-q[a+32>>2]|0)/576|0}b=b+1|0;if(d>>>0>b>>>0){continue}break}}d=q[a+232>>2];c=q[a+228>>2];e=d-c|0;b=(e|0)/12|0;a:{if(!e){break a}if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){vs(q[a+192>>2],q[w(b,12)+c>>2]);b=b+1|0;if((d|0)==(b|0)){c=q[a+228>>2];break a}c=q[a+228>>2];if((q[a+232>>2]-c|0)/12>>>0>b>>>0){continue}break}}J(186773,186599,447,186784);G()}q[a+232>>2]=c;b=q[213721];c=b;d=q[213720];q[a+312>>2]=d;q[a+316>>2]=b;b=q[a+276>>2];q[a+280>>2]=b;b:{if((b|0)!=q[a+284>>2]){q[a+280>>2]=b+8;q[b>>2]=d;q[b+4>>2]=c;if(o[a+304|0]&1){break b}vi(0,4,a+292|0,a+300|0,a+296|0);return f}J(186744,186599,501,186768);G()}J(187176,186599,461,186335);G()}function nx(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}c:{if((c|0)>=1){b=(q[a+12>>2]+(c<<4)|0)-16|0;b=b>>>0>2]?b:126472;break c}b=q[a+8>>2]+(c<<4)|0;if((c|0)>=-9999){break c}d:{switch(c+10002|0){case 2:b=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break c;case 0:b=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];b=r[a+7|0]<(-10002-c|0)?126472:(a+(0-c<<4)|0)-160024|0}a=0;if(!((d|0)==126472|(b|0)==126472)){a=Do(d,b)}return a}function bu(a){var b=0,c=0,d=0,e=0,f=0,g=0;xwa(+a);e=uwa(1)|0;uwa(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){xwa(+a);b=uwa(1)|0;b=b&2147483647;if((b|0)==2146435072&(uwa(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+v[(e<<3)+208832>>3];if(y(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Cn(c,b)}return c}return a+1}function Sy(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=q[a+4>>2];b=q[a>>2];c=d-b|0;b:{c:{if(!c){d:{if(o[a+28|0]&1){break d}b=q[a+16>>2];if(!b){break d}ki(b)}if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}ki(b);break c}e=q[a+16>>2];if((e|0)==q[a+20>>2]){break a}e:{if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>4|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);g=c>>>0>1?c:1;c=0;while(1){d=0;f=q[((c<<4)+b|0)+8>>2];if(f){while(1){if(q[e+12>>2]){b=0;while(1){ki(q[q[e+16>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}b=q[e+16>>2];if(b){ki(b)}e=e+20|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}c=c+1|0;if((g|0)==(c|0)){break e}b=q[a>>2];if(q[a+4>>2]-b>>4>>>0>c>>>0){continue}break}}break a}if(!a){break b}f:{if(o[a+28|0]&1){break f}b=q[a+16>>2];if(!b){break f}ki(b)}if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}ki(b)}ki(a)}return}J(101017,101028,447,101006);G()}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-240|0;fi=d;Bk(d+80|0,q[a+64>>2]+16|0,80);h=q[a+52>>2];g=q[a+4>>2];q[d+72>>2]=b;q[d+68>>2]=g;q[d+64>>2]=d+80;h=Oi(h,126991,d- -64|0);if(c){g=q[a+52>>2];i=d;a:{if(c-284>>>0<=2){e=q[a+60>>2];c=q[e+4>>2];f=c+1|0;b=q[e+8>>2];b:{if(f>>>0<=b>>>0){b=q[e>>2];break b}if(b>>>0>=2147483646){Bk(d+160|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];b=q[a+4>>2];q[d+24>>2]=127014;q[d+20>>2]=b;q[d+16>>2]=d+160;Oi(c,126991,d+16|0);oj(q[a+52>>2],3);b=q[e+8>>2]}f=q[a+52>>2];c=b<<1;c:{if((c|0)!=-2){b=dj(f,q[e>>2],b,c);break c}b=Rj(f)}q[e+8>>2]=c;q[e>>2]=b;c=q[e+4>>2];f=c+1|0}q[e+4>>2]=f;o[b+c|0]=0;b=q[q[a+60>>2]>>2];break a}if((c|0)<=256){if((c|0)==127|c>>>0<32){q[d+48>>2]=c;b=Oi(g,126979,d+48|0);break a}q[d+32>>2]=c;b=Oi(g,126988,d+32|0);break a}b=q[(c<<2)+259996>>2]}q[i+4>>2]=b;q[d>>2]=h;Oi(g,127001,d)}oj(q[a+52>>2],3);fi=d+240|0}function HP(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(q[a+128>>2]!=22){Aj(a,2,10);return-30464}a:{b:{e=q[a+120>>2];if(r[e|0]==11){c=q[a+168>>2];d=r[q[a>>2]+184|0]&2?12:4;if(c>>>0>=d+6>>>0){break b}}break a}c:{e=d+e|0;if(!r[e|0]){d=d+3|0;if((d+(r[e+2|0]|r[e+1|0]<<8)|0)==(c|0)){break c}}break a}if(c>>>0>d>>>0){e=0;i=42;while(1){f=d+3|0;if(f>>>0>c>>>0){break a}g=q[a+120>>2];d=g+d|0;if(r[d|0]){break a}d:{h=r[d+2|0]|r[d+1|0]<<8;if(h>>>0>=128){d=f+h|0;if(d>>>0<=c>>>0){break d}}break a}if(!(o[q[a>>2]+184|0]&1|e|q[a+8>>2]!=1)){c=q[a+60>>2];if(RP(q[c+96>>2],f+g|0,h)){Aj(a,2,49);return-31232}pw(c);g=q[a+120>>2]}e:{c=Qw(b,f+g|0,h);f:{if((c|0)<=-9601){if((c|0)==-9774){break e}if((c|0)!=-10368){break f}i=80;break f}if(!c){break e}if((c|0)!=-9600){break f}i=43}Aj(a,2,i);return c}e=e+1|0;c=q[a+168>>2];if(d>>>0>>0){continue}break}}return 0}Aj(a,2,50);return-31232}function Wba(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,p=0;h=fi-16|0;fi=h;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(f+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}i=q[a+52>>2];g=q[a+48>>2];j=i-g|0;k=(j|0)/72|0;l=Su(c,d);if(l){c:{if(!j){break c}if((g|0)!=(i|0)){k=k>>>0>1?k:1;c=0;i=f+w(e,576)|0;while(1){e=r[l+12|0];d=(e|0)==255;f=d?0:e;e=d?4:e+1|0;if(f>>>0>>0){j=(q[l+8>>2]<<4)+i|0;n=d?4:1;m=w(c,72)+g|0;d=m;p=q[d>>2];g=0;while(1){if(!((b|0)!=(p|0)|q[m+4>>2]!=((f<<2)+j|0))){o[d+68|0]=r[d+68|0]|4;g=g+1|0;if((n|0)==(g|0)){break c}}f=f+1|0;if((e|0)!=(f|0)){continue}break}}c=c+1|0;if((k|0)==(c|0)){break c}g=q[a+48>>2];if((q[a+52>>2]-g|0)/72>>>0>c>>>0){continue}break}}break a}fi=h+16|0;return}q[h>>2]=Ei(c,d);mi(4,184623,185885,h);fi=h+16|0;return}break a}J(184508,184532,3527,185909);G()}J(186773,186599,447,186784);G()}function Ir(a,b){var c=0,d=0,e=0,f=0;f=a+24|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){qi((a+c|0)+24|0,0,55-e|0);break a}qi((a+c|0)+24|0,0,e^63);Mr(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+83|0]=d>>>21;o[a+82|0]=d>>>13;o[a+81|0]=d>>>5;o[a+80|0]=d<<3;c=q[a+4>>2];o[a+87|0]=c>>>21;o[a+86|0]=c>>>13;o[a+85|0]=c>>>5;o[a+84|0]=c<<3|d>>>29;Mr(a,f);o[b|0]=q[a+8>>2];o[b+1|0]=q[a+8>>2]>>>8;o[b+2|0]=s[a+10>>1];o[b+3|0]=r[a+11|0];o[b+4|0]=q[a+12>>2];o[b+5|0]=q[a+12>>2]>>>8;o[b+6|0]=s[a+14>>1];o[b+7|0]=r[a+15|0];o[b+8|0]=q[a+16>>2];o[b+9|0]=q[a+16>>2]>>>8;o[b+10|0]=s[a+18>>1];o[b+11|0]=r[a+19|0];o[b+12|0]=q[a+20>>2];o[b+13|0]=q[a+20>>2]>>>8;o[b+14|0]=s[a+22>>1];o[b+15|0]=r[a+23|0];return 0}function Tr(a,b,c,d){var e=0,f=0,g=0,h=0;f=q[b+8>>2];a:{while(1){b:{if((f|0)==5){e=q[b>>2];f=Zr(e,c);c:{if(q[f+8>>2]){break c}e=q[e+8>>2];if(!e|o[e+6|0]&1){break c}e=Jn(e,0,q[q[a+16>>2]+188>>2]);if(e){break b}}a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;q[d+8>>2]=q[f+8>>2];return}e=Ik(a,b,0);if(q[e+8>>2]){break b}Vt(a,b,128391)}f=q[e+8>>2];if((f|0)!=6){b=e;g=g+1|0;if((g|0)==100){break a}continue}break}g=q[a+32>>2];f=q[e+4>>2];h=q[a+8>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;q[h+8>>2]=q[e+8>>2];f=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=f;q[e+24>>2]=q[b+8>>2];b=q[c+4>>2];f=q[a+8>>2];q[f+32>>2]=q[c>>2];q[f+36>>2]=b;q[f+40>>2]=q[c+8>>2];e=q[a+8>>2];if((q[a+28>>2]-e|0)<=48){pk(a,3);e=q[a+8>>2]}q[a+8>>2]=e+48;zl(a,e,1);c=q[a+8>>2]-16|0;q[a+8>>2]=c;b=q[a+32>>2]+(d-g|0)|0;a=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=a;q[b+8>>2]=q[c+8>>2];return}Ck(a,128397,0)}function aV(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;d=fi+ -64|0;fi=d;e=-60;if(c>>>0<=64){g=a+228|0;a:{while(1){if((h|0)==257){e=-60;break a}e=j_(a);if(e){break a}f=1;i=q[a+224>>2];if((i|0)>=1){h=h+1|0;e=0;while(1){j=f;f=w(e,20)+g|0;f=t[f+8>>2]>2]?0:j;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!f){continue}}break}q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;f=a+8|0;e=zr(f,d);if(e){break a}if(f){ji[q[66742]](f,0,216)|0}wp(f);e=vp(f,0);if(e){break a}e=up(f,d,64);if(e){break a}f=0;e=yr(d,64,d,0);if(e){break a}a=q[a+224>>2];if((a|0)>=1){while(1){q[(w(f,20)+g|0)+8>>2]=0;f=f+1|0;if((a|0)!=(f|0)){continue}break}}si(b,d,c);e=0}ji[q[66742]](d,0,64)|0}fi=d- -64|0;return e|0}function KD(a,b,c){var d=0,e=0;if(c>>>0<=127){d=q[a>>2];if((d-b|0)<1){return-108}b=a;a=d-1|0;q[b>>2]=a;o[a|0]=c;return 1}a:{if(c>>>0<=255){d=q[a>>2];e=-108;if((d-b|0)<2){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=129;return 2}if(c>>>0<=65535){d=q[a>>2];e=-108;if((d-b|0)<3){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=130;return 3}d=q[a>>2];b=d-b|0;if(c>>>0<=16777215){e=-108;if((b|0)<4){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>16;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=131;return 4}e=-108;if((b|0)<5){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>16;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>24;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=132;e=5}return e}function bpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;e=q[64386];g=q[e+8>>2];h=q[e+12>>2];q[d+44>>2]=c;q[d+40>>2]=b;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;o[d+32|0]=0;o[d+33|0]=0;o[d+34|0]=0;o[d+35|0]=0;o[d+36|0]=0;o[d+37|0]=0;o[d+38|0]=0;o[d+39|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;f=4445;a:{b:{if(Nm(q[63707],d+8|0)){break b}if(!Zj(0,d+8|0,g,h,0,e,d+40|0,8)){break a}f=4473}e=f;q[d>>2]=q[63707];mi(4,1031,e,d)}u[a+484>>2]=x(1)/x(c>>>0);u[a+480>>2]=x(1)/x(b>>>0);a=q[a+284>>2];if(a){t8(a,b,c)}_ea(b,c);fi=d+48|0}function Ju(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=((j-g|0)/24|0)){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=w(f,24)+g|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=w(e,24)+g|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];d=q[d>>2];q[e+16>>2]=-1;q[e+8>>2]=d;q[e+12>>2]=f;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=w(f,24)+g|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-g|0)/24;break a}J(11287,11135,226,11295);G()}b=q[d+4>>2];a=w(f,24)+g|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;return}J(11299,11135,470,11361);G()}q[b>>2]=(e-g|0)/24;h=q[a+24>>2]}q[a+24>>2]=h+1}function JH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,24)|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];d=q[d>>2];q[e+16>>2]=-1;q[e+8>>2]=d;q[e+12>>2]=f;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,24)|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-d|0)/24;break a}J(64046,63882,226,64054);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;return}J(64058,63882,470,64120);G()}q[b>>2]=(e-d|0)/24}q[a+24>>2]=q[a+24>>2]+1}function AP(a){var b=0,c=0,d=0,e=0,f=0;a:{c=Dn(a);b:{if(c){break b}if(q[a+128>>2]!=22){Aj(a,2,10);return-30464}c:{d=q[a+120>>2];if(r[d|0]==4){b=q[a+168>>2];e=r[q[a>>2]+184|0]&2?12:4;f=e+6|0;if(b>>>0>=f>>>0){break c}}break a}d=d+e|0;e=r[d+4|0]<<8|r[d+5|0];if((b|0)!=(e+f|0)){break a}f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=0;q[q[a+68>>2]+2268>>2]=0;q[a+4>>2]=12;if(!e){break b}b=q[a+60>>2];d:{if(!b){break d}c=q[b+104>>2];if(!c){break d}ji[q[66742]](c,0,q[b+108>>2])|0;ki(q[q[a+60>>2]+104>>2]);b=q[a+60>>2];q[b+104>>2]=0;q[b+108>>2]=0}b=q[a+64>>2];ji[q[66742]](q[b+104>>2],0,q[b+108>>2])|0;ki(q[q[a+64>>2]+104>>2]);b=q[a+64>>2];q[b+104>>2]=0;q[b+108>>2]=0;c=Oj(1,e);if(!c){Aj(a,2,80);return-32512}a=si(c,d+6|0,e);q[b+112>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);q[b+108>>2]=e;q[b+104>>2]=a;c=0;q[b+12>>2]=0}return c}Aj(a,2,50);return-28160}function _va(){q[73176]=li(32347);q[73177]=ii;q[73178]=li(32366);q[73179]=ii;q[73180]=li(32383);q[73181]=ii;q[73182]=li(32392);q[73183]=ii;q[73184]=li(32398);q[73185]=ii;q[73186]=li(32408);q[73187]=ii;q[73188]=li(32416);q[73189]=ii;q[73190]=li(32423);q[73191]=ii;q[73192]=li(32432);q[73193]=ii;q[73194]=li(32444);q[73195]=ii;q[73196]=li(32453);q[73197]=ii;q[73198]=li(32458);q[73199]=ii;q[73200]=li(32464);q[73201]=ii;q[73202]=li(32470);q[73203]=ii;q[73204]=li(32479);q[73205]=ii;q[73206]=li(32488);q[73207]=ii;q[73208]=li(32497);q[73209]=ii;q[73210]=li(32506);q[73211]=ii;q[73212]=li(32515);q[73213]=ii;q[73214]=li(32524);q[73215]=ii;q[73216]=li(32533);q[73217]=ii;q[73218]=li(32542);q[73219]=ii;q[73220]=li(32551);q[73221]=ii;q[73222]=li(32560);q[73223]=ii;q[73224]=li(32572);q[73225]=ii;q[73226]=li(32576);q[73227]=ii;q[73228]=li(32583);q[73229]=ii}function Ri(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;while(1){b=q[213093];q[213093]=b?b:1;if(b){continue}break}a:{b:{c=q[213002];c:{if((c|0)==q[213003]){o[852364]=1;b=-1;break c}d=q[213001];g=Lq(a,Fi(a));e=q[213001];f=q[213002];b=c-d|0;if(b){c=d-c|0;c=((b|0)<(c|0)?c:b)>>>4|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);c=b>>>0>1?b:1;b=f-e|0;d=(b|0)>-1?b:-1;h=(d|0)<1?d:1;d=e-f|0;d=w(h,((b|0)<(d|0)?d:b)>>>4|0);b=0;while(1){if((b|0)==(d|0)){break a}if(q[(e+(b<<4)|0)+4>>2]==(g|0)){break c}b=b+1|0;if((c|0)!=(b|0)){continue}break}}c=f-e|0;b=c>>4;d=b+1|0;if(d>>>0>q[213003]-e>>4>>>0){break b}q[213002]=e+(d<<4);if((c|0)==-16){break a}c=q[70349];e=q[c+32>>2];if((q[c+36>>2]-e|0)/12>>>0<=b>>>0){break a}e=e+w(b,12)|0;q[e+4>>2]=0;q[e+8>>2]=0;q[e>>2]=f;q[f+4>>2]=g;p[f+8>>1]=b;q[f>>2]=a}q[213093]=0;return b}J(158285,158259,474,158304);G()}J(158341,158259,447,158352);G()}function uL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;c=16;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;h=a+32|0;while(1){if(c){c=c-1|0;f=c+a|0;e=r[f|0]+1|0;o[f|0]=e;if((e|0)!=(e&255)){continue}}break}c=nm(h,1,a,d);a:{if(c){break a}c=16;f=d+16|0;while(1){if(c){c=c-1|0;g=c+a|0;e=r[g|0]+1|0;o[g|0]=e;if((e|0)!=(e&255)){continue}}break}c=nm(h,1,a,f);if(c){break a}f=d+32|0;c=16;while(1){if(c){c=c-1|0;g=c+a|0;e=r[g|0]+1|0;o[g|0]=e;if((e|0)!=(e&255)){continue}}break}c=nm(h,1,a,f);if(c){break a}c=0;while(1){e=d+c|0;o[e|0]=r[e|0]^r[b+c|0];c=c+1|0;if((c|0)!=48){continue}break}c=oq(h,d,256);if(c){break a}b=q[d+36>>2];q[a>>2]=q[d+32>>2];q[a+4>>2]=b;b=q[d+44>>2];q[a+8>>2]=q[d+40>>2];q[a+12>>2]=b;c=0}ji[q[66742]](d,0,48)|0;fi=d+48|0;return c}function Rta(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-48|0;fi=f;q[f+44>>2]=c;q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;c=q[w(e,12)+88256>>2];a:{if(1497965>>>e&1){if(1797559>>>e&1){if((d|0)<1){break a}e=0;while(1){$s(f+16|0,f+44|0,r[b+e|0],c);e=e+1|0;if((e|0)!=(d|0)){continue}break}break a}if((d|0)<1){break a}i=(d+2|0)/3|0;e=0;while(1){o[f+12|0]=0;q[f+8>>2]=0;h=w(e,3);g=d-h|0;g=(g|0)>3?3:g;if((g|0)>=1){si(f+8|0,b+h|0,g)}Uta(f+16|0,f+8|0,f+44|0,c);e=e+1|0;if((i|0)!=(e|0)){continue}break}break a}if((d|0)<=0){break a}i=(d+4|0)/5|0;e=0;while(1){o[f+12|0]=0;q[f+8>>2]=0;h=w(e,5);g=d-h|0;g=(g|0)>5?5:g;if((g|0)>=1){si(f+8|0,b+h|0,g)}Tta(f+16|0,f+8|0,f+44|0,c);e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[a>>2]=q[a>>2]|q[f+16>>2];q[a+4>>2]=q[a+4>>2]|q[f+20>>2];q[a+8>>2]=q[a+8>>2]|q[f+24>>2];q[a+12>>2]=q[a+12>>2]|q[f+28>>2];fi=f+48|0}function uz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,24)|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;q[e+8>>2]=q[d>>2];p[e+12>>1]=s[d+4>>1];q[e+16>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,24)|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-d|0)/24;break a}J(150688,150567,226,150696);G()}a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];p[a+12>>1]=s[d+4>>1];return}J(150700,150567,470,150762);G()}q[b>>2]=(e-d|0)/24}q[a+24>>2]=q[a+24>>2]+1}function e7(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-2064|0;fi=b;c=q[239950];if(!c){f=q[q[239951]+7412>>2];g=Ci(12);q[g+4>>2]=UG(q[f+4>>2],q[60192]);q[g+8>>2]=UG(q[f+8>>2],q[60164]);a=Ci(44);q[a>>2]=0;q[a+4>>2]=0;c=0;q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[g>>2]=a;d=Ci(48);M3(d);q[a+4>>2]=d;q[a+8>>2]=qi(Ci(1048),0,1048);o[a+40|0]=r[a+40|0]|1;e=q[q[f>>2]+4>>2];q[d>>2]=q[e>>2];q[d+28>>2]=q[e+28>>2];h=q[e+36>>2];q[d+32>>2]=q[e+32>>2];q[d+36>>2]=h;h=q[e+44>>2];q[d+40>>2]=q[e+40>>2];q[d+44>>2]=h;if(!Gq(f,b+1040|0)){lk(b+1040|0,q[72161],b+16|0);c=sk(b+16|0,195005);if(!c){mi(4,194663,195009,0)}kj(q[a+8>>2],b+16|0,1024);q[b>>2]=q[a+8>>2];mi(2,194663,194981,b);q[q[a+8>>2]+1032>>2]=c;q[a+28>>2]=1496;q[a+24>>2]=1497;q[a+20>>2]=1498;c=g}q[239950]=c}fi=b+2064|0;return c}function Ek(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=fi-16|0;fi=e;a:{b:{if(!r[852367]){b=-1;break b}f=Lq(a,Fi(a));while(1){b=q[213093];q[213093]=b?b:1;if(b){continue}break}c:{d:{e:{b=q[213006];f:{if(!b){break f}b=q[q[213005]+((f>>>0)%(b>>>0)<<2)>>2];if((b|0)==-1){break f}d=q[213007];while(1){c=d+w(b,12)|0;if(q[c>>2]==(f|0)){break e}b=q[c+8>>2];if((b|0)!=-1){continue}break}}g=q[213015];b=q[213014];if((g|0)==(b|0)){o[852366]=1;b=-1;break c}c=q[213013];h=b-c|0;d=h>>3;q[e+12>>2]=d;i=d+1|0;if(i>>>0>g-c>>3>>>0){break d}q[213014]=c+(i<<3);if((h|0)==-8){break a}q[b+4>>2]=f;q[b>>2]=a;c=q[70349];a=q[c+16>>2];if(d>>>0>=q[c+20>>2]-a>>3>>>0){break a}a=a+(d<<3)|0;q[a+4>>2]=0;q[a>>2]=b;vz(852020,f,e+12|0);b=q[e+12>>2];break c}b=q[(d+w(b,12)|0)+4>>2];break c}J(158285,158259,474,158304);G()}q[213093]=0}fi=e+16|0;return b}J(158341,158259,447,158352);G()}function jN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=fi-16|0;fi=g;q[g+8>>2]=0;while(1){e=q[d+80>>2];f=(e<<3)+d|0;q[f+4>>2]=0;q[f>>2]=a;q[d+80>>2]=e+1;if(Nw(a+168|0)){q[f+4>>2]=q[f+4>>2]|1}if(Ow(a+144|0)){q[f+4>>2]=q[f+4>>2]|512}i=0;a:{if(h){break a}e=c;h=q[a+328>>2];b:{if(h){e=q[e>>2]>>>h-1&1?0:-1;break b}e=-1}if(e){q[f+4>>2]=q[f+4>>2]|16384}e=q[a+332>>2];c:{if(e){e=q[c+4>>2]>>>e-1&1?0:-1;break c}e=-1}if(e){q[f+4>>2]=q[f+4>>2]|32768}e=q[d+80>>2];if((e|0)==1){if(!nN(a,b)){break a}}mN(a,b,g+12|0,g+8|0,g+4|0,e-1|0,j);e=q[g+12>>2];if(!e){q[f+4>>2]=q[f+4>>2]|8;break a}i=q[d+80>>2];d:{if((i|0)!=1){j=!Ov(a+80|0,a+112|0)+j|0;h=q[g+8>>2];if(h){break d}h=0;if(i>>>0<=8){break d}i=-12288;break a}h=q[g+8>>2]}if(!q[g+4>>2]){q[f+4>>2]=q[f+4>>2]|8}if(kB(c,e+204|0)){q[f+4>>2]=q[f+4>>2]|65536}q[g+4>>2]=0;q[g+12>>2]=0;a=e;continue}break}fi=g+16|0;return i}function YM(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;q[e+8>>2]=c;f=-10240;a:{if((a&223)!=128){break a}b=b+c|0;a=Lj(e+8|0,b,e+12|0,6);if(a){f=a-9472|0;break a}f=-8320;if(q[e+12>>2]!=8){break a}a=q[e+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=83953195|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=67634949){break a}a=a+8|0;b:{if(a>>>0>=b>>>0){break b}q[e+8>>2]=a;a=Lj(e+8|0,b,e+12|0,160);if(a){f=a-9472|0;break a}a=Lj(e+8|0,b,e+12|0,48);if(a){f=a-9472|0;break a}a=Lj(e+8|0,b,e+12|0,6);if(a){f=a-9472|0;break a}q[d+12>>2]=6;a=q[e+8>>2];q[d+20>>2]=a;c=q[e+12>>2];q[d+16>>2]=c;a=a+c|0;if(a>>>0>=b>>>0){break b}q[e+8>>2]=a;a=Lj(e+8|0,b,e+12|0,4);if(a){f=a-9472|0;break a}q[d+24>>2]=4;a=q[e+8>>2];q[d+32>>2]=a;c=q[e+12>>2];q[d+28>>2]=c;a=a+c|0;q[e+8>>2]=a;if((a|0)==(b|0)){f=0;break a}}ji[q[66742]](d,0,36)|0;f=-9574}fi=e+16|0;return f}function Xl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=fi-32|0;fi=d;c=b&255;i=c>>>0<16?q[q[a>>2]+40>>2]+w(c,160)|0:0;q[d+28>>2]=0;Az(i,d+28|0);c=q[d+28>>2];a:{if(!c){break a}e=Bs(c);b:{c:{d:{f=q[a>>2];g=q[f+12>>2];e:{if(!g){break e}j=q[f+8>>2];c=q[j+((e>>>0)%(g>>>0)<<2)>>2];if((c|0)!=-1){k=q[f+16>>2];while(1){l=w(c,184)+k|0;if((e|0)==q[l>>2]){break d}c=q[l+180>>2];if((c|0)!=-1){continue}break}}e=q[210339];c=q[((e>>>0)%(g>>>0)<<2)+j>>2];if((c|0)==-1){break e}f=q[f+16>>2];while(1){g=f+w(c,184)|0;if(q[g>>2]==(e|0)){break c}c=q[g+180>>2];if((c|0)!=-1){continue}break}}q[d>>2]=b;q[d+4>>2]=q[d+28>>2];mi(3,133458,134118,d);break a}e=q[210339];c=(w(c,184)+k|0)+4|0;break b}c=(f+w(c,184)|0)+4|0}if(q[c>>2]==(e|0)){q[d+16>>2]=b;q[d+20>>2]=q[d+28>>2];mi(3,133458,134169,d+16|0)}h=Ci(348);qi(h+4|0,0,344);q[h>>2]=i;aH(a,h,b)}fi=d+32|0;return h}function gZ(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-304|0;fi=b;c=Ni(a,1,0);q[b+300>>2]=0;q[b+272>>2]=0;q[b+276>>2]=0;q[b+288>>2]=0;q[b+292>>2]=0;q[b+280>>2]=0;q[b+284>>2]=0;q[b+272>>2]=1;q[b+264>>2]=0;q[b+268>>2]=0;q[b+268>>2]=0;c=$(c|0,0,b+264|0,b+300|0)|0;a:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,qr(c));a=2;break a}ij(a,0,0);c=q[b+300>>2];if(c){d=1;while(1){b:{c:{d:{e=_(q[c+20>>2],q[c+16>>2],b|0,255,0,0,1)|0;if(!e){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;ij(a,0,0);e:{switch(q[c+4>>2]-2|0){case 0:break d;case 8:break e;default:break b}}Bi(a,123748,6);Bi(a,123635,5);break c}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,qr(e));a=2;break a}Bi(a,123748,6);Bi(a,123630,4)}Wi(a,-3)}Bi(a,123755,4);wi(a,b);Wi(a,-3);Wi(a,-3);d=d+1|0;c=q[c+28>>2];if(c){continue}break}a=q[b+300>>2]}else{a=0}ki(a);a=1}fi=b+304|0;return a|0}function pl(a){var b=0,c=0,d=0;if(a){c=a;while(1){b=c+204|0;if(b){d=q[b>>2];if(d){ji[q[d+40>>2]](q[b+4>>2])}ji[q[66742]](b,0,8)|0}ki(q[c+336>>2]);b=q[c+104>>2];if(b){while(1){d=q[b+24>>2];ji[q[66742]](b,0,32)|0;ki(b);b=d;if(b){continue}break}}b=q[c+136>>2];if(b){while(1){d=q[b+24>>2];ji[q[66742]](b,0,32)|0;ki(b);b=d;if(b){continue}break}}b=q[c+308>>2];if(b){while(1){d=q[b+12>>2];ji[q[66742]](b,0,16)|0;ki(b);b=d;if(b){continue}break}}b=q[c+260>>2];if(b){while(1){d=q[b+12>>2];ji[q[66742]](b,0,16)|0;ki(b);b=d;if(b){continue}break}}b=q[c+276>>2];if(b){while(1){d=q[b+12>>2];ji[q[66742]](b,0,16)|0;ki(b);b=d;if(b){continue}break}}b=q[c+12>>2];if(!(!b|!q[c>>2])){ji[q[66742]](b,0,q[c+8>>2])|0;ki(q[c+12>>2])}c=q[c+340>>2];if(c){continue}break}b=a;while(1){c=q[b+340>>2];ji[q[66742]](b,0,344)|0;if((a|0)!=(b|0)){ki(b)}b=c;if(b){continue}break}}}function ms(a){var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;a:{b:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-2){b=q[79152];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);c:{d:{if(Sl(a,-1)){Bi(a,110384,32);gl(a,-2);Ok(a,-2);if(ri(a,-1)){break d}oi(a,-2)}oi(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break c}ak(a,-2);zk(a,1,1);if((ri(a,-1)|0)!=3){break b}f=wj(a,-1);oi(a,-2);if(y(f)<2147483648){b=~~f}else{b=-2147483648}if((b|0)==-2){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break c}Xi(a,-1e4,b)}b=d+1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)!=(a|0)){break a}fi=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=981;q[c+8>>2]=1;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}J(111268,110448,1001,111944);G()}q[c+28>>2]=a;q[c+24>>2]=b;q[c+20>>2]=981;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function e1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-4064|0;fi=b;d=Ti(b+4032|0,a,0,116900,1030);ij(a,0,0);if($j(a,1)){wi(a,Ni(a,1,0));pi(a,-2,117894)}if($j(a,2)){wi(a,Ni(a,2,0));pi(a,-2,117899)}if($j(a,3)){wi(a,Ni(a,3,0));pi(a,-2,117904)}if($j(a,4)){wi(a,Ni(a,4,0));pi(a,-2,117909)}if($j(a,5)){wi(a,Ni(a,5,0));pi(a,-2,117914)}if($j(a,6)){wi(a,Ni(a,6,0));pi(a,-2,117919)}f=ty(a,q[65218],b+32|0,4e3);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;a:{if(!Nm(117866,b+4056|0)){c=q[b+4060>>2];g=c;e=q[b+4056>>2];if(!(c|e)){break a}q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=e;q[b+4>>2]=g;c=q[65218];b:{if(Zj(0,b,q[c+8>>2],q[c+12>>2],0,c,b+32|0,f)){h=uj(d,117924,0);break b}oi(a,-2)}Si(d);fi=b+4064|0;return h|0}J(117826,116900,961,117874);G()}J(117887,116900,962,117874);G()}function dq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=fi-80|0;fi=f;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;q[f+60>>2]=0;g=f- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[f+72>>2]=0;q[f+76>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+12>>2]=0;g=q[e>>2];if(g){g=q[g+8>>2]}else{g=0}j=g&255;a:{if(!b){break a}while(1){h=-20736;g=e;b:{if(!g){break b}i=q[g>>2];if(!i){break b}h=ji[q[i+16>>2]](q[g+4>>2])|0}if(h){break a}h=Fn(g,c,d);if(h){break a}h=Fn(g,f+12|0,4);if(h){break a}i=f+16|0;h=-20736;c:{if(!g){break c}g=q[e>>2];if(!g){break c}h=ji[q[g+24>>2]](q[e+4>>2],i)|0}if(h){break a}h=0;g=b>>>0>>0?b:j;if(g){while(1){o[a|0]=r[a|0]^r[(f+16|0)+h|0];a=a+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}o[f+15|0]=r[f+15|0]+1;b=b-g|0;if(b){continue}break}h=0}ji[q[66742]](f+16|0,0,64)|0;fi=f+80|0;return h}function SW(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{switch(r[a+6|0]){default:c=q[a+20>>2];break c;case 1:break b;case 0:break d}}c=q[a+20>>2];if((c|0)==q[a+40>>2]){break b}}b=q[c>>2];q[a+8>>2]=b;c=Bj(a,126319,37);break a}c=s[a+52>>1];if(c>>>0>=200){b=q[q[a+20>>2]>>2];q[a+8>>2]=b;c=Bj(a,126302,16);break a}c=c+1|0;p[a+54>>1]=c;p[a+52>>1]=c;b=Wt(a,994,q[a+8>>2]-(b<<4)|0);e:{if(b){o[a+6|0]=b;c=q[a+8>>2];f=c;f:{g:{h:{switch(b-2|0){case 2:q[c>>2]=Bj(a,126260,17);d=4;break g;case 3:q[c>>2]=Bj(a,126278,23);d=4;break g;case 0:case 1:break h;default:break f}}e=c-16|0;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[e+8>>2]}q[f+8>>2]=d}c=c+16|0;q[a+8>>2]=c;q[q[a+20>>2]+8>>2]=c;break e}b=r[a+6|0]}p[a+52>>1]=s[a+52>>1]-1;return b}q[b+8>>2]=4;q[b>>2]=c;if((q[a+28>>2]-q[a+8>>2]|0)<=16){b=q[a+44>>2];Ym(a,(b|0)<1?b+1|0:b<<1)}q[a+8>>2]=q[a+8>>2]+16;return 2}function sK(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+4>>2];tj(q[c+28060>>2]);a:{b:{e=q[c+28064>>2];b=q[c+28068>>2];c:{if((e|0)==(b|0)){break c}b=b-e|0;f=b>>2;while(1){if(q[(d<<2)+e>>2]==(a|0)){f=b>>2;b=f-1|0;if(b>>>0>d>>>0){while(1){b=d+1|0;if(b>>>0>=f>>>0|d>>>0>=f>>>0){break a}q[(d<<2)+e>>2]=q[(b<<2)+e>>2];d=b;e=q[c+28064>>2];f=q[c+28068>>2]-e>>2;b=f-1|0;if(d>>>0>>0){continue}break}}if(q[c+28072>>2]-e>>2>>>0>>0){break b}q[c+28068>>2]=(b<<2)+e;break c}d=d+1|0;if(f>>>0>d>>>0){continue}break}}lj(q[c+28060>>2]);Hp(q[a>>2],26,a);d=q[a+4228>>2];b=d;c=q[a+4224>>2];if(b|c){NG(c,b);$m(q[a+4224>>2],q[a+4228>>2]);q[a+4224>>2]=0;q[a+4228>>2]=0}d=q[a+4236>>2];b=d;c=q[a+4232>>2];if(b|c){NG(c,b);$m(q[a+4232>>2],q[a+4236>>2]);q[a+4232>>2]=0;q[a+4236>>2]=0}q[q[a+8>>2]>>2]=0;q[a+8>>2]=0;return}J(10181,10090,474,10200);G()}J(12475,10090,447,9406);G()}function wla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=q[a>>2];c=Ci(36);q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;d=q[a+16>>2];e=q[e+4>>2];e=e>>>0>d>>>0?d:e;vi(e,24,c,b,c+4|0);a:{b:{d=q[b>>2];b=q[c>>2];if(e>>>0<=(d-b|0)/24>>>0){q[c+4>>2]=b+w(e,24);b=q[c+20>>2];if(e>>>0>>0){break b}d=q[c+16>>2];f=xi(e<<2);q[c+16>>2]=f;f=si(f,d,b<<2);q[c+20>>2]=e;if(b>>>0>>0){while(1){q[f+(b<<2)>>2]=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}}ki(d);if(e){b=0;while(1){d=q[c>>2];if((q[c+4>>2]-d|0)/24>>>0<=b>>>0){break a}d=d+w(b,24)|0;f=d+16|0;q[f>>2]=0;q[f+4>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=-2;q[d+12>>2]=-2;q[d+16>>2]=-2;b=b+1|0;if((e|0)!=(b|0)){continue}break}}q[q[a+12>>2]>>2]=c;return 0}J(38495,38404,474,38514);G()}J(38522,38545,112,38483);G()}J(38619,38404,447,38630);G()}function p_(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=fi-128|0;fi=h;f=eo(b,c);a:{if(f){break a}i=d-1|0;g=w(i,e);if(g){c=0;while(1){f=(c>>>0)/(e>>>0)|0;j=1<>>1|0,36)+b|0);if(f){break a}}f=Rx(a,d,d);if(f){break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=1;b:{c:{g=1<>>0>1){d=0;while(1){q[(d<<2)+h>>2]=w(c,36)+b;d=d+1|0;c=c<<1&254;if(g>>>0>c>>>0){continue}break}f=Ox(a,h,d);if(f){break a}i=0;e=h;if(g>>>0<2){break b}d=1;break c}i=0;f=Ox(a,h,0);if(f){break a}e=h;break b}while(1){j=w(d,36)+b|0;c=d;while(1){if(c){c=c-1|0;f=Sx(a,w(d+c|0,36)+b|0,w(c,36)+b|0,j);if(!f){continue}break a}break}d=d<<1&254;if(g>>>0>d>>>0){continue}break}if(g>>>0<2){break b}d=b+36|0;c=0;b=1;while(1){q[(c<<2)+h>>2]=d+w(c,36);i=b;c=b;b=c+1|0;if((g|0)!=(b|0)){continue}break}}f=Ox(a,e,i)}fi=h+128|0;return f}function cma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=q[a>>2];c=Ci(36);q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;d=q[a+16>>2];e=q[e+4>>2];e=e>>>0>d>>>0?d:e;vi(e,24,c,b,c+4|0);a:{b:{d=q[b>>2];b=q[c>>2];if(e>>>0<=(d-b|0)/24>>>0){q[c+4>>2]=b+w(e,24);b=q[c+20>>2];if(e>>>0>>0){break b}d=q[c+16>>2];f=xi(e<<2);q[c+16>>2]=f;f=si(f,d,b<<2);q[c+20>>2]=e;if(b>>>0>>0){while(1){q[f+(b<<2)>>2]=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}}ki(d);if(e){b=0;while(1){d=q[c>>2];if((q[c+4>>2]-d|0)/24>>>0<=b>>>0){break a}d=d+w(b,24)|0;f=d+16|0;q[f>>2]=0;q[f+4>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=-2;q[d+12>>2]=-2;q[d+16>>2]=-2;b=b+1|0;if((e|0)!=(b|0)){continue}break}}q[q[a+12>>2]>>2]=c;return 0}J(33765,33686,474,33784);G()}J(34106,34129,112,33867);G()}J(33675,33686,447,33664);G()}function e5(a){var b=0;a:{if(o[a+2004|0]&1){break a}b=q[a+1984>>2];if(b){ki(b)}b=q[a+1976>>2];if(!b){break a}ki(b)}b:{if(o[a+1972|0]&1){break b}b=q[a+1960>>2];if(!b){break b}ki(b)}c:{if(o[a+1956|0]&1){break c}b=q[a+1944>>2];if(!b){break c}ki(b)}d:{if(o[a+1940|0]&1){break d}b=q[a+1928>>2];if(!b){break d}ki(b)}e:{if(o[a+1924|0]&1){break e}b=q[a+1912>>2];if(!b){break e}ki(b)}f:{if(o[a+1908|0]&1){break f}b=q[a+1896>>2];if(!b){break f}ki(b)}g:{if(o[a+1892|0]&1){break g}b=q[a+1880>>2];if(!b){break g}ki(b)}h:{if(o[a+1872|0]&1){break h}b=q[a+1860>>2];if(!b){break h}ki(b)}i:{if(o[a+1832|0]&1){break i}b=q[a+1820>>2];if(!b){break i}ki(b)}j:{if(o[a+1816|0]&1){break j}b=q[a+1804>>2];if(!b){break j}ki(b)}k:{if(o[a+1772|0]&1){break k}b=q[a+1760>>2];if(!b){break k}ki(b)}l:{if(o[a+1756|0]&1){break l}b=q[a+1744>>2];if(!b){break l}ki(b)}return a}function wJ(a){var b=0;b=q[a+4>>2];if(b){ki(b)}b=q[a+8>>2];if(b){ki(b)}b=q[a+12>>2];if(b){ki(b)}b=q[a+16>>2];if(b){ki(b)}b=q[a+20>>2];if(b){ki(b)}b=q[a+24>>2];if(b){ki(b)}b=q[a+28>>2];if(b){ki(b)}b=q[a+32>>2];if(b){ki(b)}b=q[a+36>>2];if(b){ki(b)}b=q[a+40>>2];if(b){ki(b)}b=q[a+44>>2];if(b){ki(b)}b=q[a+48>>2];if(b){ki(b)}b=q[a+52>>2];if(b){ki(b)}b=q[a+56>>2];if(b){ki(b)}b=q[a+60>>2];if(b){ki(b)}b=q[a- -64>>2];if(b){ki(b)}b=q[a+68>>2];if(b){ki(b)}b=q[a+72>>2];if(b){ki(b)}b=q[a+76>>2];if(b){ki(b)}b=q[a+80>>2];if(b){ki(b)}b=q[a+84>>2];if(b){ki(b)}b=q[a+88>>2];if(b){ki(b)}b=q[a+92>>2];if(b){ki(b)}b=q[a+96>>2];if(b){ki(b)}b=q[a+100>>2];if(b){ki(b)}b=q[a+104>>2];if(b){ki(b)}b=q[a+108>>2];if(b){ki(b)}b=q[a+112>>2];if(b){ki(b)}b=q[a+116>>2];if(b){ki(b)}b=q[a+120>>2];if(b){ki(b)}b=q[a+124>>2];if(b){ki(b)}b=q[a+128>>2];if(b){ki(b)}ki(a)}function fM(a,b,c,d){var e=0,f=0;f=d&65535;e=q[a+5820>>2];d=s[a+5816>>1]|f<>1]=d;a:{if((e|0)>=14){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[a+5817|0];e=q[a+5820>>2];d=f>>>16-e|0;p[a+5816>>1]=d;e=e-13|0;break a}e=e+3|0}b:{c:{if((e|0)>=9){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;e=d+q[a+8>>2]|0;d=r[a+5817|0];break c}if((e|0)<1){break b}e=q[a+20>>2];q[a+20>>2]=e+1;e=e+q[a+8>>2]|0}o[e|0]=d}q[a+5820>>2]=0;p[a+5816>>1]=0;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=c;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=c>>>8;d=q[a+20>>2];q[a+20>>2]=d+1;e=d+q[a+8>>2]|0;d=c^-1;o[e|0]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d>>>8;if(c){while(1){d=r[b|0];e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;b=b+1|0;c=c-1|0;if(c){continue}break}}}function zP(a){var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=q[a+108>>2];q[a+128>>2]=r[b|0];Sw(c+12|0,c+8|0,q[q[a>>2]+184>>2]>>>1&1,b+1|0);a:{if((r[a+128|0]&252)==20?0:-29184){b=-29184;if(r[q[a>>2]+184|0]&2){break a}Aj(a,2,10);break a}if(q[c+12>>2]!=q[a+16>>2]){b=-29184;break a}if(q[c+8>>2]>r[q[a>>2]+181|0]){b=-29184;break a}b=Uw(a,q[a+116>>2]-q[a+108>>2]|0);if(b){break a}b=q[a+112>>2];d=r[b|0]<<8|r[b+1|0];q[a+132>>2]=d;if((q[a+100>>2]-q[a+120>>2]|0)+16749>>>0>>0){b=-29184;break a}if(r[q[a>>2]+184|0]&2){b=s[a+140>>1];e=q[a+104>>2];e=r[e|0]<<8|r[e+1|0];if((b|0)!=(e|0)){b=(e|0)==(b+1|0)?-25728:-26368;break a}b=-26368;if(cU(a)){break a}}b=q[a+72>>2];b:{if(!b){b=-29184;if(d-1>>>0<=16383){break b}break a}b=q[b>>2];if(b>>>0>d>>>0){b=-29184;break a}if(b+16640>>>0>=d>>>0){break b}b=-29184;if(q[a+20>>2]>0){break a}}b=0}fi=c+16|0;return b}function _U(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=-20;if(c-4>>>0<=12){d=q[a+328>>2];f=q[a+332>>2];e=q[a+320>>2];g=q[a+324>>2];j=si(b,a+336|0,c);b=f<<3|d>>>29;h=d<<3;i=e<<3;if(!(h|i|(b|(g<<3|e>>>29)))){return 0}b=f;o[a+368|0]=r[a+368|0]^b>>>21;o[a+369|0]=r[a+369|0]^b>>>13;o[a+370|0]=r[a+370|0]^b>>>5;o[a+371|0]=r[a+371|0]^((b&536870911)<<3|d>>>29);o[a+372|0]=r[a+372|0]^d>>>21;o[a+373|0]=r[a+373|0]^d>>>13;o[a+374|0]=r[a+374|0]^d>>>5;o[a+375|0]=h^r[a+375|0];b=g;o[a+376|0]=r[a+376|0]^b>>>21;o[a+377|0]=r[a+377|0]^b>>>13;o[a+378|0]=r[a+378|0]^b>>>5;o[a+379|0]=r[a+379|0]^((b&536870911)<<3|e>>>29);o[a+380|0]=r[a+380|0]^e>>>21;o[a+381|0]=r[a+381|0]^e>>>13;o[a+382|0]=r[a+382|0]^e>>>5;o[a+383|0]=i^r[a+383|0];b=a+368|0;$r(a,b,b);f=0;b=0;while(1){g=b+j|0;o[g|0]=r[g|0]^r[(a+b|0)+368|0];b=b+1|0;if((c|0)!=(b|0)){continue}break}}return f}function xK(a){var b=0,c=0,d=0,e=0,f=0;c=fi-48|0;fi=c;a:{if(o[290076]&1){break a}if(!ui(290076)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72518]=b;ti(290076)}b:{if(o[290084]&1){break b}if(!ui(290084)){break b}if(r[852367]){b=Yi(9446,17)}else{b=0}q[72520]=b;ti(290084)}d=q[72518];c:{if((d|0)!=-1){Qi(c+32|0,d,9446,q[72520]);break c}q[c+32>>2]=0}e=q[a+4>>2];if(q[e>>2]){d=0;while(1){d:{if(o[290092]&1){break d}if(!ui(290092)){break d}if(r[852367]){b=Ri(9464)}else{b=-1}q[72522]=b;ti(290092)}b=q[72522];e:{if((b|0)!=-1){f=b;b=w(d,104)+e|0;Qi(c+16|0,f,q[b+12>>2],q[b+16>>2]);break e}q[c+16>>2]=0}b=w(d,104)+e|0;q[c+8>>2]=q[b+24>>2];q[c+12>>2]=q[((d<<2)+a|0)+12>>2];b=q[b+32>>2];if(b){ji[b|0](c+8|0)|0}if(q[c+16>>2]){Pi(c+16|0)}d=d+1|0;if(d>>>0>2]){continue}break}}Tn(q[a+4240>>2]);ki(Boa(a));if(q[c+32>>2]){Pi(c+32|0)}fi=c+48|0}function kz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/24|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,24)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+16>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+24;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,24)+f|0;q[a+20>>2]=q[d+16>>2]}q[d>>2]=b;e=q[c+4>>2];c=q[c>>2];q[d+16>>2]=-1;q[d+8>>2]=c;q[d+12>>2]=e;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,24)+f|0;e=q[b+16>>2];if((e|0)!=-1){continue}break}q[b+16>>2]=(d-f|0)/24;break a}J(27850,27647,226,27858);G()}b=q[c+4>>2];a=w(e,24)+f|0;q[a+8>>2]=q[c>>2];q[a+12>>2]=b;return}J(27862,27647,470,27924);G()}q[b>>2]=(d-f|0)/24;g=q[a+24>>2]}q[a+24>>2]=g+1}function _oa(a){var b=0;b=q[a+4>>2];if(b){ki(b)}b=q[a+8>>2];if(b){ki(b)}b=q[a+12>>2];if(b){ki(b)}b=q[a+16>>2];if(b){ki(b)}b=q[a+20>>2];if(b){ki(b)}b=q[a+24>>2];if(b){ki(b)}b=q[a+28>>2];if(b){ki(b)}b=q[a+32>>2];if(b){ki(b)}b=q[a+36>>2];if(b){ki(b)}b=q[a+40>>2];if(b){ki(b)}b=q[a+44>>2];if(b){ki(b)}b=q[a+48>>2];if(b){ki(b)}b=q[a+52>>2];if(b){ki(b)}b=q[a+56>>2];if(b){ki(b)}b=q[a+60>>2];if(b){ki(b)}b=q[a- -64>>2];if(b){ki(b)}b=q[a+68>>2];if(b){ki(b)}b=q[a+72>>2];if(b){ki(b)}b=q[a+76>>2];if(b){ki(b)}b=q[a+80>>2];if(b){ki(b)}b=q[a+84>>2];if(b){ki(b)}b=q[a+88>>2];if(b){ki(b)}b=q[a+92>>2];if(b){ki(b)}b=q[a+96>>2];if(b){ki(b)}b=q[a+100>>2];if(b){ki(b)}b=q[a+104>>2];if(b){ki(b)}b=q[a+108>>2];if(b){ki(b)}b=q[a+112>>2];if(b){ki(b)}b=q[a+116>>2];if(b){ki(b)}b=q[a+120>>2];if(b){ki(b)}b=q[a+124>>2];if(b){ki(b)}a=q[a+128>>2];if(a){ki(a)}}function wna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=fi-16|0;fi=b;g=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[59568],b+12|0)){h=q[a+4>>2];c=q[q[a+32>>2]+8>>2];d=q[c>>2];i=(r[d+4276|0]&16)>>>4|0;if(i){Ms(c)}sK(d);q[b+8>>2]=0;a:{b:{g=AK(q[a>>2],h,q[b+12>>2],q[a+16>>2],b+8|0);if(!g){e=q[b+8>>2];f=q[e>>2];q[c>>2]=f;q[d+8>>2]=e;q[e>>2]=d;q[f+8>>2]=c;if(i){if(!Is(c)){break b}d=q[e>>2]}Ps(d);a=q[a+32>>2];q[a+12>>2]=0;d=a;a=q[c>>2];q[d+16>>2]=((((((s[a+2076>>1]<<1)+q[a+4156>>2]|0)+q[a+4204>>2]-(q[a+4148>>2]+q[a+4196>>2])|0)+w(q[a+4180>>2]-q[a+4172>>2]>>4,12)|0)+q[a+2064>>2]|0)-q[a+2056>>2]|0)+4284;break a}zA(d,q[q[b+12>>2]>>2],q[a>>2],h,c);break a}q[b>>2]=q[q[b+12>>2]>>2];mi(3,19702,20296,b);Ms(c);q[c>>2]=d;q[d+8>>2]=c;q[e>>2]=f;q[f+8>>2]=e;Ps(f);zA(d,q[q[b+12>>2]>>2],q[a>>2],h,c);Is(c);g=-21}Ui(q[b+12>>2])}fi=b+16|0;return g|0}function Pia(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=q[a+20>>2];if(!e){return-1}f=-1;a:{g=q[q[a+16>>2]+(lwa(b,c,e)<<2)>>2];b:{if((g|0)==-1){break b}e=q[a+64>>2];i=q[a+24>>2];while(1){h=i+(g<<4)|0;if((b|0)!=q[h>>2]|q[h+4>>2]!=(c|0)){g=q[h+12>>2];if((g|0)!=-1){continue}break b}break}if(!q[e+52>>2]){return-1e3}b=q[(i+(g<<4)|0)+8>>2];if(b>>>0>=t[e+8>>2]){break a}f=-3;b=q[e+4>>2]+w(b,40)|0;c=q[b+24>>2];if(c>>>0>6){break b}q[d+12>>2]=q[e+48>>2];f=q[d>>2]&-8192|q[b+12>>2]&8191;q[d>>2]=f;q[d>>2]=q[b+16>>2]<<13&67100672|f&-67100673;p[d+4>>1]=ji[q[74969]](q[a+48>>2]);p[d+6>>1]=ji[q[74970]](q[a+48>>2]);q[d>>2]=q[d>>2]&-1006632961|q[(c<<2)+293760>>2]<<26&1006632960;o[d+8|0]=q[b+20>>2];a=r[d+20|0]&-2|o[b+28|0]&1;o[d+20|0]=a;b=r[b+32|0];q[d+16>>2]=e;o[d+20|0]=b<<1&2|a&253;f=0}return f|0}J(39714,39726,88,39510);G()}function FP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){return 0}h=q[a+68>>2];g=q[a+28>>2];a:{if(g){f=a+32|0;break a}d=q[a>>2];f=d+56|0;g=q[d+52>>2]}d=q[f>>2];f=q[h+464>>2];b:{if(f){e=q[a>>2];break b}e=q[a>>2];f=q[e+88>>2]}h=q[h+1120>>2];e=gN(c,f,q[e+80>>2],q[a+236>>2],q[a+64>>2]+100|0,g,d);g=0;d=c+204|0;c:{if(!d){break c}d=q[d>>2];if(!d){break c}g=ji[q[d+12>>2]](2)|0}d:{if(!g){break d}if(!VC(a,q[q[c+208>>2]>>2])){break d}d=q[a+64>>2];q[d+100>>2]=q[d+100>>2]|65536;e=e?e:-31232}c=(i=e,j=iU(c,h,(q[q[a>>2]+184>>2]^-1)&1,q[a+64>>2]+100|0)?-31232:e,k=e,k?i:j);if(!((b|0)!=1|((c|0)!=-31232?(c|0)!=-9984:0))){c=0}c=(b|0)==2?f?c:-30336:c;if(!c){return 0}b=a;a=q[q[a+64>>2]+100>>2];d=49;e:{if(a&256){break e}d=42;if(a&4){break e}d=43;if(a&112640){break e}d=45;if(a&1){break e}d=44;if(a&2){break e}d=a&8?48:46}Aj(b,2,d);return c}function sV(a,b){var c=0,d=0;Cp(a,b);b=q[a>>2];c=q[a+4>>2];d=q[a+124>>2];q[a>>2]=q[a+120>>2];q[a+4>>2]=d;q[a+120>>2]=b;q[a+124>>2]=c;b=q[a+8>>2];c=q[a+12>>2];d=q[a+116>>2];q[a+8>>2]=q[a+112>>2];q[a+12>>2]=d;q[a+112>>2]=b;q[a+116>>2]=c;b=q[a+104>>2];c=q[a+108>>2];d=q[a+20>>2];q[a+104>>2]=q[a+16>>2];q[a+108>>2]=d;q[a+16>>2]=b;q[a+20>>2]=c;b=q[a+24>>2];q[a+24>>2]=q[a+96>>2];q[a+96>>2]=b;b=q[a+100>>2];q[a+100>>2]=q[a+28>>2];q[a+28>>2]=b;b=q[a+88>>2];q[a+88>>2]=q[a+32>>2];q[a+32>>2]=b;b=q[a+92>>2];q[a+92>>2]=q[a+36>>2];q[a+36>>2]=b;b=q[a+80>>2];q[a+80>>2]=q[a+40>>2];q[a+40>>2]=b;b=q[a+84>>2];q[a+84>>2]=q[a+44>>2];q[a+44>>2]=b;b=q[a+72>>2];q[a+72>>2]=q[a+48>>2];q[a+48>>2]=b;b=q[a+76>>2];q[a+76>>2]=q[a+52>>2];q[a+52>>2]=b;b=q[a+64>>2];q[a+64>>2]=q[a+56>>2];q[a+56>>2]=b;b=q[a+68>>2];q[a+68>>2]=q[a+60>>2];q[a+60>>2]=b;return 0}function dJ(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=fi-16|0;fi=g;a:{b:{b=q[b>>2];c:{if(q[b+160>>2]>-1){break c}c=q[b+136>>2];d=q[c+12>>2];e=q[c+8>>2];b=d-e|0;if(!b){break c}i=q[c+4>>2];h=q[c>>2];j=q[h+64>>2];c=e-d|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);m=b>>>0>1?b:1;d=0;while(1){if(t[i+8>>2]<=d>>>0){break b}d:{b=q[i+4>>2]+(d<<5)|0;k=q[b+28>>2];if(!k){break d}c=b;e=0;while(1){f=q[(q[b+24>>2]+w(e,24)|0)+8>>2];if(!(f>>>0>=t[j+16>>2]|!q[(q[j+12>>2]+w(f,12)|0)+4>>2])){o[g+7|0]=0;o[g+8|0]=0;l=q[h>>2];if(f>>>0>=q[h+4>>2]-l>>3>>>0){break a}f=l+(f<<3)|0;al(a,q[f>>2],q[f+4>>2],0)}e=e+1|0;if((k|0)==(e|0)){break d}if(t[c+28>>2]>e>>>0){continue}break}J(37042,37054,164,37087);G()}d=d+1|0;if((m|0)!=(d|0)){continue}break}}fi=g+16|0;return}J(37042,37054,189,37087);G()}J(37509,37418,447,37087);G()}function c2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0);c=fi-16|0;fi=c;a:{b:{c:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){d=x(1);e=x(1);f=x(1);g=x(1);break c}if(q[a+8>>2]-q[a+12>>2]>>4!=1){break b}b=no(a,-1);h=u[b+48>>2];i=u[b+32>>2];j=u[b+16>>2];k=u[b+12>>2];l=u[b+8>>2];f=u[b+60>>2];m=u[b+56>>2];n=u[b+52>>2];o=u[b+44>>2];e=u[b+40>>2];p=u[b+36>>2];r=u[b+28>>2];s=u[b+24>>2];d=u[b+20>>2];t=u[b+4>>2];g=u[b>>2]}b=bj(a,64);u[b+60>>2]=f;u[b+56>>2]=m;u[b+52>>2]=n;u[b+48>>2]=h;u[b+44>>2]=o;u[b+40>>2]=e;u[b+36>>2]=p;u[b+32>>2]=i;u[b+28>>2]=r;u[b+24>>2]=s;u[b+20>>2]=d;u[b+16>>2]=j;u[b+12>>2]=k;u[b+8>>2]=l;u[b+4>>2]=t;u[b>>2]=g;zi(a,-1e4,120704);aj(a,-2);a=1;break a}q[c+8>>2]=120704;q[c+4>>2]=120704;q[c>>2]=120720;a=ni(a,122430,c)}fi=c+16|0;return a|0}function _F(a,b){var c=0;c=fi+ -64|0;fi=c;u[a+2016>>2]=u[b>>2];u[a+2020>>2]=u[b+4>>2];u[a+2024>>2]=u[b+8>>2];u[a+2028>>2]=u[b+12>>2];u[a+2032>>2]=u[b+16>>2];u[a+2036>>2]=u[b+20>>2];u[a+2040>>2]=u[b+24>>2];u[a+2044>>2]=u[b+28>>2];u[a+2048>>2]=u[b+32>>2];u[a+2052>>2]=u[b+36>>2];u[a+2056>>2]=u[b+40>>2];u[a+2060>>2]=u[b+44>>2];u[a+2064>>2]=u[b+48>>2];u[a+2068>>2]=u[b+52>>2];u[a+2072>>2]=u[b+56>>2];u[a+2076>>2]=u[b+60>>2];Dk(c,a+2080|0,b);u[a+2144>>2]=u[c>>2];u[a+2148>>2]=u[c+4>>2];u[a+2152>>2]=u[c+8>>2];u[a+2156>>2]=u[c+12>>2];u[a+2160>>2]=u[c+16>>2];u[a+2164>>2]=u[c+20>>2];u[a+2168>>2]=u[c+24>>2];u[a+2172>>2]=u[c+28>>2];u[a+2176>>2]=u[c+32>>2];u[a+2180>>2]=u[c+36>>2];u[a+2184>>2]=u[c+40>>2];u[a+2188>>2]=u[c+44>>2];u[a+2192>>2]=u[c+48>>2];u[a+2196>>2]=u[c+52>>2];u[a+2200>>2]=u[c+56>>2];u[a+2204>>2]=u[c+60>>2];fi=c- -64|0}function $F(a,b){var c=0;c=fi+ -64|0;fi=c;u[a+2080>>2]=u[b>>2];u[a+2084>>2]=u[b+4>>2];u[a+2088>>2]=u[b+8>>2];u[a+2092>>2]=u[b+12>>2];u[a+2096>>2]=u[b+16>>2];u[a+2100>>2]=u[b+20>>2];u[a+2104>>2]=u[b+24>>2];u[a+2108>>2]=u[b+28>>2];u[a+2112>>2]=u[b+32>>2];u[a+2116>>2]=u[b+36>>2];u[a+2120>>2]=u[b+40>>2];u[a+2124>>2]=u[b+44>>2];u[a+2128>>2]=u[b+48>>2];u[a+2132>>2]=u[b+52>>2];u[a+2136>>2]=u[b+56>>2];u[a+2140>>2]=u[b+60>>2];Dk(c,b,a+2016|0);u[a+2144>>2]=u[c>>2];u[a+2148>>2]=u[c+4>>2];u[a+2152>>2]=u[c+8>>2];u[a+2156>>2]=u[c+12>>2];u[a+2160>>2]=u[c+16>>2];u[a+2164>>2]=u[c+20>>2];u[a+2168>>2]=u[c+24>>2];u[a+2172>>2]=u[c+28>>2];u[a+2176>>2]=u[c+32>>2];u[a+2180>>2]=u[c+36>>2];u[a+2184>>2]=u[c+40>>2];u[a+2188>>2]=u[c+44>>2];u[a+2192>>2]=u[c+48>>2];u[a+2196>>2]=u[c+52>>2];u[a+2200>>2]=u[c+56>>2];u[a+2204>>2]=u[c+60>>2];fi=c- -64|0}function wZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=fi+ -64|0;fi=b;h=Ni(a,1,0);i=Ni(a,2,0);g=yl(a,3,0,0);j=yl(a,4,124639,0);d=q[(sq(a,5,124641,259184)<<2)+123648>>2];c=qi(bj(a,8280),0,8280);f=c+4|0;e=f;q[e+12>>2]=920;q[e+8>>2]=921;q[e+4>>2]=922;q[e>>2]=c;e=c+8248|0;v[e+8>>3]=-1;v[e>>3]=-1;LA(c+24|0,f,e);q[c+8272>>2]=0;q[c>>2]=-1;q[b+60>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+40>>2]=1;q[b+36>>2]=d;q[b+32>>2]=1;f=c+8272|0;a:{if(g){d=Fx(c,g,j,b+32|0);if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,d);a=2;break a}d=q[b+36>>2];q[f>>2]=d}q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=1;q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=d;d=Ex(c,f,h,i,e,b);if(d){rr(c);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,d);a=2;break a}hp(a,124327,-1);a=1}fi=b- -64|0;return a|0}function mi(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=fi-4064|0;fi=e;a:{h=r[270692];b:{if(!q[212951]&(h^1)|q[70342]>(a|0)){break b}q[e+4060>>2]=d;if(a>>>0>=6){break a}q[e+4>>2]=b;q[e>>2]=q[(a<<2)+281372>>2];f=e+48|1;d=cj(f,3999,156483,e);c:{d:{if(d>>>0>3998){break d}d=Yp(d+f|0,3999-d|0,c,q[e+4060>>2])+d|0;if(d>>>0>3998){break d}d=cj(d+f|0,3999-d|0,156491,0)+d|0;if(d>>>0<3999){break c}}c=q[70341];kt((f-Fi(c)|0)+3998|0,c)}g=(d|0)<3998?d:3998;q[212949]=g+q[212949];o[e+4047|0]=0;if(!r[851936]){o[851936]=1;d=q[212951];if((d|0)>0){while(1){c=d-1|0;ji[q[(c<<2)+851808>>2]](a,b,f);i=(d|0)>1;d=c;if(i){continue}break}}o[851936]=0}if(!h){break b}b=q[212985];if(b){ji[b|0](q[212986],f);break b}e:{if((a&-2)==4){Al(e+48|1,1,g,q[51432]);break e}Al(f,1,g,q[51431])}}fi=e+4064|0;return}J(156449,156451,501,156471);G()}function Nm(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;a:{if(o[851960]&1){break a}if(!ui(851960)){break a}if(r[852367]){d=Ri(157031)}else{d=-1}q[212989]=d;ti(851960)}b:{if(o[851968]&1){break b}if(!ui(851968)){break b}if(r[852367]){d=Yi(157039,9)}else{d=0}q[212991]=d;ti(851968)}c=q[212989];c:{if((c|0)!=-1){Qi(e,c,157039,q[212991]);break c}q[e>>2]=0}c=-4;d:{if(!a|!r[a|0]){break d}if(Nj(a,35)){break d}if(Nj(a,58)){break d}c=li(a);a=ii;d=a;q[b>>2]=c;q[b+4>>2]=a;g=q[212988];while(1){a=q[g+32>>2];q[g+32>>2]=a?a:1;if(a){continue}break}b=0;f=q[212988];a=q[f+4>>2];e:{if(!a){break e}a=q[q[f>>2]+(lwa(c,d,a)<<2)>>2];if((a|0)==-1){break e}f=q[f+8>>2];while(1){a=a<<6;b=a+f|0;if((c|0)==q[b>>2]&(d|0)==q[b+4>>2]){break e}a=q[(a+f|0)+56>>2];if((a|0)!=-1){continue}break}b=0}q[g+32>>2]=0;c=b?0:-6}if(q[e>>2]){Pi(e)}fi=e+16|0;return c}function Z0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=q[a+8>>2]-q[a+12>>2]>>4;f=gj(a,1);b=q[210259];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;my(a);a:{b:{c:{if((ri(a,-1)|0)!=2){oi(a,-2);break c}d=Vi(a,-1);oi(a,-2);if(d){break b}}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;break a}e=f&65535;c=q[d+16>>2];d:{if(e>>>0>=q[d+20>>2]-c>>1>>>0){break d}c=s[c+(e<<1)>>1];b=q[d>>2];if(c>>>0>=(q[d+4>>2]-b|0)/28>>>0){break d}e=b+w(c,28)|0;if(q[e+12>>2]!=(f|0)){break d}b=b+w(c,28)|0;g=r[b+24|0];if(!(g&2)){break d}c=b;o[b+24|0]=g&253;ji[q[b>>2]](d,2,f,x(0),q[b+4>>2],q[b+8>>2]);i=1;if(o[d+46|0]&1){break d}ny(d,q[e+12>>2],r[c+24|0]);p[d+44>>1]=s[d+44>>1]+1}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=i;q[a+8>>2]=q[a+8>>2]+16;if((h+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(120386,119520,619,120422);G()}return 1}function jta(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;k=a;while(1){g=f+1|0;h=f-1|0;a=0;while(1){d=a;a=99;a:{if(h>>>0>3){break a}a=d-1|0;if(a>>>0<=3){a=hj(b,a,h);a=a>>>0>99?99:a}else{a=99}c=hj(b,d,h);c=a>>>0>>0?a:c;a=c;if(d>>>0>2){break a}a=hj(b,d+1|0,h);a=a>>>0>c>>>0?c:a}e=d-1|0;i=e>>>0>3;if(!i){c=hj(b,e,f);a=a>>>0>>0?a:c}c=hj(b,d,f);c=a>>>0>>0?a:c;j=d>>>0>2;if(!j){a=hj(b,d+1|0,f);c=a>>>0>c>>>0?c:a}b:{if(f>>>0>=3){a=d+1|0;break b}if(!i){a=hj(b,e,g);c=a>>>0>c>>>0?c:a}a=d+1|0;e=hj(b,d,g);c=c>>>0>>0?c:e;if(j){break b}e=hj(b,a,g);c=c>>>0>>0?c:e}o[Gi(k,d,f)|0]=c;if((a|0)!=4){continue}break}f=g;if((f|0)!=4){continue}break}}function CT(a){var b=0,c=0;pr(a,q[a+84>>2]);ji[q[q[a+68>>2]+1112>>2]](a,q[a+204>>2]+4|0,q[q[a>>2]+184>>2]&1);b=q[a+20>>2]?12:36;q[a+248>>2]=b;c=q[a+204>>2];si(a+252|0,c+4|0,b);q[a+208>>2]=22;q[a+212>>2]=b+4;o[c|0]=20;c=q[a+68>>2];a:{if(q[c+2252>>2]){b=q[a>>2];if(o[b+184|0]&1){break a}q[a+4>>2]=15;break a}q[a+4>>2]=q[a+4>>2]+1;b=q[a>>2]}b:{c:{if(r[b+184|0]&2){q[c+512>>2]=q[a+76>>2];b=q[a+224>>2];q[c+516>>2]=q[a+220>>2];q[c+520>>2]=b;o[a+226|0]=0;o[a+227|0]=0;o[a+222|0]=0;o[a+223|0]=0;o[a+224|0]=0;o[a+225|0]=0;b=r[a+221|0]+1|0;o[a+221|0]=b;if((b|0)!=(b&255)){c=r[a+220|0]+1|0;o[a+220|0]=c;b=-27520;if((c|0)!=(c&255)){break b}}b=q[a>>2];break c}q[a+220>>2]=0;q[a+224>>2]=0}q[a+76>>2]=q[a+84>>2];q[a+56>>2]=q[a+64>>2];if(r[b+184|0]&2){RC(a)}b=fq(a);if(b){break b}if(r[q[a>>2]+184|0]&2){b=gq(a);if(b){break b}}b=0}return b}function Sca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fi-16|0;fi=d;q[a+76>>2]=q[a+76>>2]+1;a=Za()|0;a:{b:{c:{d:{e:{if(r[q[74995]+104|0]&8){e=K()|0;if(e){break e}}ta(a|0,b|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break d}}ta(a|0,c|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break c}}za(a|0);da(a|0,35714,d+12|0);f:{if(!q[d+12>>2]){da(a|0,35716,d+8|0);b=q[d+8>>2];if((b|0)>=1){c=b;b=xi(b);Ua(a|0,c|0,d+8|0,b|0);q[d>>2]=b;mi(3,79120,81564,d);ki(b)}qa(a|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}a=0;break f}if(!(r[q[74995]+104|0]&8)){break f}b=K()|0;if(b){break a}}fi=d+16|0;return a|0}Mi(e,81593,1683);J(79249,79164,1683,81593);G()}Mi(b,81593,1685);J(79249,79164,1685,81593);G()}Mi(b,81593,1687);J(79249,79164,1687,81593);G()}Mi(a,81593,1706);J(79249,79164,1706,81593);G()}Mi(b,81593,1710);J(79249,79164,1710,81593);G()}function f5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{d=q[a+4>>2];c:{if(!d){break c}d=q[q[a>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break c}f=q[a+8>>2];while(1){e=f+(d<<5)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+24>>2];if((d|0)!=-1){continue}break c}break}e=q[a+32>>2];g=q[a+36>>2]-e>>4;d=f+(d<<5)|0;f=q[d+16>>2];if(g>>>0<=f>>>0){break b}h=e+(f<<4)|0;e=q[d+20>>2];Kk(h,h+(e<<4)|0,g-(e+f|0)|0);T7(a,b,c);b=q[a+32>>2];c=(q[a+36>>2]-b>>4)-e|0;if(c>>>0>q[a+40>>2]-b>>4>>>0){break a}q[a+36>>2]=b+(c<<4);g=q[a+4>>2];if(!g){break c}h=q[a>>2];b=0;while(1){d=q[(b<<2)+h>>2];if((d|0)!=-1){j=q[a+8>>2];while(1){c=(d<<5)+j|0;d=c;i=q[d+16>>2];if(f>>>0>>0){q[d+16>>2]=i-e}d=q[c+24>>2];if((d|0)!=-1){continue}break}}b=b+1|0;if((g|0)!=(b|0)){continue}break}}return}J(100397,100310,447,100408);G()}J(100291,100310,474,100389);G()}function JA(a){var b=0,c=0;a:{if(!a){break a}c=q[a+28>>2];if(!c){break a}b:{c:{b=q[c+4>>2];switch(b-69|0){case 1:case 2:case 3: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 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:break a;case 0:case 4:case 22:case 34:case 44:break b;default:break c}}if((b|0)==666){break b}if((b|0)!=42){break a}}b=q[c+8>>2];if(b){ji[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+68>>2];if(b){ji[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+64>>2];if(b){ji[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+56>>2];if(b){ji[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}ji[q[a+36>>2]](q[a+40>>2],c);q[a+28>>2]=0}}function Hua(a,b){var c=0,d=0,e=0;a:{if(r[b|0]){break a}b=ko(211207);if(r[b|0]?b:0){break a}b=ko(w(a,12)+211216|0);if(r[b|0]?b:0){break a}b=ko(211288);if(r[b|0]?b:0){break a}b=211293}b:{while(1){e=r[b+c|0];if(!(!e|(e|0)==47)){e=15;c=c+1|0;if((c|0)!=15){continue}break b}break}e=c}d=211293;c:{d:{c=r[b|0];e:{f:{if(!(r[b+e|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!r[d+1|0]){break e}}if(!Ej(d,211293)){break e}if(Ej(d,211301)){break d}}if(!a){c=211364;if(r[d+1|0]==46){break c}}return 0}c=q[240836];if(c){while(1){if(!Ej(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}c=q[240836];if(c){while(1){if(!Ej(d,c+8|0)){return c}c=q[c+24>>2];if(c){continue}break}}c=xi(28);g:{if(!c){c=0;break g}b=q[52842];q[c>>2]=q[52841];q[c+4>>2]=b;b=c+8|0;si(b,d,e);o[b+e|0]=0;q[c+24>>2]=q[240836];q[240836]=c}c=a|c?c:211364}return c}function Bia(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-112|0;fi=b;e=Ti(b+88|0,a,1,65612,245);Kj(a);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;ok(a,1,b+56|0,b+24|0);q[b+20>>2]=0;nK(a,b+20|0);c=q[b+20>>2];if(!c){J(65780,65612,255,65795);G()}Ska(c,b);ij(a,0,4);Bi(a,65810,5);d=+u[b>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,65816,6);d=+u[b+4>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,65823,10);d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,65834,11);d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Si(e);fi=b+112|0;return 1}function p2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);f=fi-48|0;fi=f;b=yi(a,1,q[210278],0);c=u[b>>2];e=u[b+4>>2];a:{b:{if(c!=c|e!=e){break b}g=u[b+8>>2];if(g!=g){break b}d=u[b+12>>2];if(d==d){break a}}g=u[b+8>>2];d=u[b+12>>2];v[f+16>>3]=e;v[f+32>>3]=d;v[f+24>>3]=g;v[f+8>>3]=c;q[f>>2]=1;ni(a,120971,f);d=u[b+12>>2];g=u[b+8>>2];e=u[b+4>>2];c=u[b>>2]}b=bj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+60>>2]=1065353216;q[b+52>>2]=0;q[b+56>>2]=0;i=x(g+g);h=x(e*i);k=x(c+c);l=x(k*d);u[b+36>>2]=h-l;m=x(c*i);j=x(e+e);n=x(j*d);u[b+32>>2]=m+n;u[b+24>>2]=h+l;h=x(c*j);d=x(d*i);u[b+16>>2]=h-d;u[b+8>>2]=m-n;u[b+4>>2]=h+d;c=x(x(1)-x(c*k));e=x(e*j);u[b+40>>2]=c-e;d=c;c=x(g*i);u[b+20>>2]=d-c;u[b>>2]=x(x(1)-e)-c;zi(a,-1e4,120704);aj(a,-2);fi=f+48|0;return 1}function zoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+12>>2];if(!c){return-1e3}b=qi(Ci(112),0,112);q[b+92>>2]=0;q[b+96>>2]=0;q[b+76>>2]=0;q[b+80>>2]=0;q[b+64>>2]=-1;q[b+84>>2]=0;q[b+88>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+96>>2]=-1;q[c>>2]=b;a:{b:{c:{if(!(o[b+12|0]&1)){vi(512,104,b,b+8|0,b+4|0);if(o[b+28|0]&1){break a}vi(65e3,2,b+16|0,b+24|0,b+20|0);c=q[b+16>>2];if(q[b+24>>2]-c>>1>>>0<=64999){break c}q[b+20>>2]=c+13e4;c=s[b+36>>1];if(c>>>0>=65001){break b}f=b+76|0;g=b+44|0;e=q[b+32>>2];d=xi(13e4);q[b+32>>2]=d;d=si(d,e,c<<1);p[b+36>>1]=65e3;if((c|0)!=65e3){while(1){p[d+(c<<1)>>1]=c;c=c+1|0;if((c|0)!=65e3){continue}break}}ki(e);a=q[a+8>>2];c=(a|0)/3|0;c=(c|0)>1?c:1;iz(g,c,a);iz(f,c,a);o[b+108|0]=r[b+108|0]&254;return 0}break a}J(6418,6437,474,6516);G()}J(6611,6149,112,6599);G()}J(6524,6437,461,6599);G()}function eD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=fi-32|0;fi=i;q[i+12>>2]=0;a:{if(c>>>0>>0){e=-20;if(d-c>>>0>>0){break a}}e=-20;j=q[a+324>>2];f=j;h=q[a+320>>2];g=b+h|0;f=b>>>0>g>>>0?f+1|0:f;k=g;if((f|0)==(j|0)&g>>>0>>0|f>>>0>>0|((f|0)==15&g>>>0>4294967264|f>>>0>15)){break a}q[a+320>>2]=k;q[a+324>>2]=f;if(b){k=a+368|0;j=a+352|0;while(1){e=16;while(1){if(e>>>0>=13){e=e-1|0;h=e+a|0;f=r[h+352|0]+1|0;o[h+352|0]=f;if((f|0)!=(f&255)){continue}}break}e=Km(a,j,16,i+16|0,i+12|0);if(e){break a}f=b>>>0<16?b:16;h=f>>>0>1?f:1;e=0;while(1){if(!q[a+384>>2]){g=a+e|0;o[g+368|0]=r[g+368|0]^r[c+e|0]}g=r[c+e|0]^r[(i+16|0)+e|0];o[d+e|0]=g;if(q[a+384>>2]==1){l=a+e|0;o[l+368|0]=g^r[l+368|0]}e=e+1|0;if((h|0)!=(e|0)){continue}break}$r(a,k,k);d=d+f|0;c=c+f|0;b=b-f|0;if(b){continue}break}}e=0}fi=i+32|0;return e}function rz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/136|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,136)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+128>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+136;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,136)|0;q[a+20>>2]=q[e+128>>2]}q[e>>2]=b;q[e+4>>2]=c;si(e+8|0,d,114);q[e+128>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,136)|0;f=q[b+128>>2];if((f|0)!=-1){continue}break}q[b+128>>2]=(e-d|0)/136;break a}J(152325,152016,226,152333);G()}si((g+w(f,136)|0)+8|0,d,114);return}J(152337,152016,470,152399);G()}q[b>>2]=(e-d|0)/136}q[a+24>>2]=q[a+24>>2]+1}function Un(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/960|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(lwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,960)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+952>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+960;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,960)|0;q[a+20>>2]=q[e+952>>2]}q[e>>2]=b;q[e+4>>2]=c;si(e+8|0,d,944);q[e+952>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(lwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,960)|0;f=q[b+952>>2];if((f|0)!=-1){continue}break}q[b+952>>2]=(e-d|0)/960;break a}J(134412,134260,226,134420);G()}si((g+w(f,960)|0)+8|0,d,944);return}J(134424,134260,470,134486);G()}q[b>>2]=(e-d|0)/960}q[a+24>>2]=q[a+24>>2]+1}function LF(a){var b=0,c=0,d=0;a:{b:{c=q[a>>2];c:{if(!c){break c}a=q[a+4>>2];if(!a){break c}d=q[a+64>>2];a=q[c+16>>2];if(d>>>0>=q[c+20>>2]-a>>3>>>0){break b}a=q[a+(d<<3)>>2];b=q[c>>2];if(a>>>0>=q[c+4>>2]-b>>2>>>0){break b}a=q[b+(a<<2)>>2];if(o[a+144|0]&1){break a}vi(0,48,a+132|0,a+140|0,a+136|0);if(o[a+176|0]&1){break a}vi(0,48,a+164|0,a+172|0,a+168|0);if(o[a+192|0]&1){break a}vi(0,24,a+180|0,a+188|0,a+184|0);d:{if(o[a+192|0]&1){break d}b=q[a+180>>2];if(!b){break d}ki(b)}e:{if(o[a+176|0]&1){break e}b=q[a+164>>2];if(!b){break e}ki(b)}f:{if(o[a+160|0]&1){break f}b=q[a+148>>2];if(!b){break f}ki(b)}g:{if(o[a+144|0]&1){break g}b=q[a+132>>2];if(!b){break g}ki(b)}h:{if(o[a+116|0]&1){break h}b=q[a+104>>2];if(!b){break h}ki(b)}ki(a);i6(c,d)}return}J(136820,136831,447,136801);G()}J(136910,136831,461,136985);G()}function efa(a){var b=0,c=0,d=0,e=0;d=fi-32|0;fi=d;b=q[a>>2];ek(b,67913,241856);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,67921);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,67939);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,67956);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,67973);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[b+8>>2]=q[b+8>>2]+16;pi(b,-2,67991);oi(b,-2);c=Ci(16);q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;a:{b:{c:{if(Nm(q[59051],c)){break c}e=jl(q[a+4>>2],67321,d+28|0);if(e){q[d+20>>2]=e;q[d+16>>2]=67321;mi(4,68007,68015,d+16|0);break c}if(nv(q[a+8>>2],q[d+28>>2],c+8|0)){break b}q[d>>2]=67321;mi(4,68007,68057,d)}ki(c);break a}a=q[b+8>>2];q[a+8>>2]=2;q[a>>2]=c;q[b+8>>2]=q[b+8>>2]+16;q[74460]=t1(b)}fi=d+32|0}function AN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[c>>2];d=j+8|0;e=s[a+4>>1];c=d+w(e,104)|0;h=c;i=s[c+100>>1];c=s[a>>1];g=d+w(c,104)|0;f=s[a+2>>1];d=s[(d+w(f,104)|0)+100>>1];a:{if(s[g+100>>1]<=d>>>0){if(d>>>0<=i>>>0){f=e;break a}p[a+4>>1]=f;p[a+2>>1]=e;if(s[h+100>>1]>=s[g+100>>1]){break a}p[a+2>>1]=c;p[a>>1]=e;break a}b:{if(d>>>0>i>>>0){p[a+4>>1]=c;p[a>>1]=e;break b}p[a+2>>1]=c;p[a>>1]=f;if(s[h+100>>1]>=s[g+100>>1]){f=e;break a}p[a+4>>1]=c;p[a+2>>1]=e}f=c}c:{c=a+6|0;if((c|0)==(b|0)){break c}d=a+4|0;i=j+8|0;while(1){e=c;g=s[c>>1];k=i+w(g,104)|0;if(s[k+100>>1]>1]){h=e;while(1){d:{p[h>>1]=f;c=d;if((c|0)==(a|0)){c=a;break d}h=c;d=c-2|0;f=s[d>>1];if(s[k+100>>1]>1]){continue}}break}p[c>>1]=g}c=e+2|0;if((c|0)==(b|0)){break c}f=s[e>>1];d=e;continue}}}function hta(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;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;j=a;while(1){g=f+1|0;h=f-1|0;a=0;while(1){c=a-1|0;e=(h|0)<0?0:(h|0)>3?3:h;hj(b,(c|0)<0?0:(c|0)>3?3:c,e);k=hj(b,(a|0)<0?0:(a|0)>3?3:a,e);d=a+1|0;hj(b,(d|0)<0?0:(d|0)>3?3:d,e);e=(f|0)<0?0:(f|0)>3?3:f;l=hj(b,(c|0)<0?0:(c|0)>3?3:c,e);m=hj(b,(a|0)<0?0:(a|0)>3?3:a,e);e=hj(b,(d|0)<0?0:(d|0)>3?3:d,e);i=(c|0)<0?0:(c|0)>3?3:c;c=(g|0)<0?0:(g|0)>3?3:g;hj(b,i,c);i=hj(b,(a|0)<0?0:(a|0)>3?3:a,c);hj(b,(d|0)<0?0:(d|0)>3?3:d,c);c=Gi(j,a,f);a=((((m<<3)-(k+l|0)|0)-e|0)-i|0)/4<<16>>16;o[c|0]=(a|0)<0?0:(a|0)>3?3:a;a=d;if((a|0)!=4){continue}break}f=g;if((f|0)!=4){continue}break}}function hM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;xwa(+a);i=uwa(1)|0;uwa(0)|0;g=i&2147483640;g=(g|0)==1072010279|g>>>0<1072010279;if(!g){h=(i|0)>-1;a=.7853981633974483-(h?a:-a)+(3.061616997868383e-17-(h?b:-b));h=i>>>31|0;b=0}d=a*a;e=a*d;f=b;b=d*d;d=e*.3333333333333341+(f+d*(f+e*(b*(b*(b*(b*(b*-18558637485527546e-21+7817944429395571e-20)+.0005880412408202641)+.0035920791075913124)+.021869488294859542)+.13333333333320124+d*(b*(b*(b*(b*(b*2590730518636337e-20+7140724913826082e-20)+.0002464631348184699)+.0014562094543252903)+.0088632398235993)+.05396825397622605))));b=a+d;if(!g){e=b*b;f=b;b=+(1-(c<<1)|0);a=a+(d-e/(f+b));a=b-(a+a);return h?-a:a}if(c){xwa(+b);c=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,c|0);e=+wwa();f=-1/b;xwa(+f);c=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,c|0);b=+wwa();b=f*(e*b+1+(d-(e-a))*b)+b}return b}function dma(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=fi-16|0;fi=d;c=r[b+20|0];a:{b:{e=q[b>>2];c:{if(!r[e+20|0]){o[b+20|0]=c|1;a=1;break c}if(c&1){mi(4,33354,33443,0);a=0;break c}if(q[e+8>>2]!=q[e+4>>2]){o[b+20|0]=c|1;a=1;break c}f=q[e>>2];if(!q[f+8>>2]){o[b+20|0]=c|1;a=1;break c}c=d+8|0;q[c>>2]=0;q[c+4>>2]=0;q[d>>2]=0;q[d+4>>2]=0;vi(q[f+8>>2],4,d,c,d|4);c=q[f+8>>2];if(c){e=0;while(1){if((c|0)==(e|0)){break b}h=q[(q[f+4>>2]+w(e,80)|0)+4>>2];if(h){g=q[d+4>>2];if((g|0)==q[d+8>>2]){break a}q[d+4>>2]=g+4;q[g>>2]=h}e=e+1|0;if(c>>>0>e>>>0){continue}break}}c=b;e=0;d:{if(!a){break d}a=q[a>>2];if(!a){break d}e=q[a>>2]}a=TF(e,d);q[c+4>>2]=a;if(a){o[b+20|0]=r[b+20|0]|1}e:{if(o[d+12|0]&1){break e}b=q[d>>2];if(!b){break e}ki(b)}a=(a|0)!=0}fi=d+16|0;return a}J(33568,33580,241,33664);G()}J(33879,33686,501,33903);G()}function bka(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=x(0);h=q[q[a+8>>2]>>2];e=q[a+4>>2];bea(e);c=q[e+4>>2];d=q[e>>2];b=c-d|0;i=Qo(h,b>>2);f=Po(h,438,e);a=i;a:{if(b){l=q[e+100>>2];a=d-c|0;c=((a|0)>(b|0)?a:b)>>>2|0;a=(b|0)>-1?b:-1;a=w(c,(a|0)<1?a:1);m=a>>>0>1?a:1;n=f<<6;a=i;f=0;while(1){b=q[e>>2];if(q[e+4>>2]-b>>2>>>0<=g>>>0){break a}d=q[b+(g<<2)>>2];if(r[d+238|0]&2){b=wy(q[d+132>>2]);c=q[d+112>>2];j=q[d+116>>2];o=u[d+120>>2];q[a+32>>2]=d;q[a+36>>2]=0;u[a+8>>2]=o;q[a>>2]=c;q[a+4>>2]=j;q[a+20>>2]=q[d+136>>2];c=f+1|0;j=c>>>0<15?c:15;c=b+k>>>0>>0;f=c?f:j;k=b+(c?k:0)|0;c=a;b=q[d+216>>2];if(!b){b=q[q[d+128>>2]+8>>2]}q[c+24>>2]=q[b+80>>2];p[a+40>>1]=s[a+40>>1]&49152|(f&15|n)|16;a=a+48|0}g=g+1|0;if((m|0)!=(g|0)){continue}break}}Oo(h,i,a);return 0}J(47308,47134,447,47319);G()}function lta(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;k=a;while(1){g=f+1|0;h=f-1|0;a=0;while(1){d=a;a=0;a:{if(h>>>0>3){break a}a=d-1|0;if(a>>>0<=3){a=hj(b,a,h)}else{a=0}c=hj(b,d,h);c=a>>>0>c>>>0?a:c;a=c;if(d>>>0>2){break a}a=hj(b,d+1|0,h);a=a>>>0>>0?c:a}e=d-1|0;i=e>>>0>3;if(!i){c=hj(b,e,f);a=a>>>0>c>>>0?a:c}c=hj(b,d,f);c=a>>>0>c>>>0?a:c;j=d>>>0>2;if(!j){a=hj(b,d+1|0,f);c=a>>>0>>0?c:a}b:{if(f>>>0>=3){a=d+1|0;break b}if(!i){a=hj(b,e,g);c=a>>>0>>0?c:a}a=d+1|0;e=hj(b,d,g);c=c>>>0>e>>>0?c:e;if(j){break b}e=hj(b,a,g);c=c>>>0>e>>>0?c:e}o[Gi(k,d,f)|0]=c;if((a|0)!=4){continue}break}f=g;if((f|0)!=4){continue}break}}function Ux(a){var b=0,c=0;c=fi-16|0;fi=c;b=-1;a:{b:{switch(a-1|0){case 43:b=-2;break a;case 70:b=-3;break a;case 26:b=-4;break a;case 28:b=-5;break a;case 59:b=-6;break a;case 0:b=-7;break a;case 44:b=-8;break a;case 7:b=-9;break a;case 11:b=-10;break a;case 15:b=-11;break a;case 47:b=-12;break a;case 1:b=-13;break a;case 20:b=-14;break a;case 9:b=-15;break a;case 19:b=-16;break a;case 74:b=-17;break a;case 42:b=-18;break a;case 53:b=-19;break a;case 30:b=-20;break a;case 27:b=-21;break a;case 40:b=-22;break a;case 32:b=-23;break a;case 58:b=-24;break a;case 73:b=-25;break a;case 21:b=-26;break a;case 50:b=-27;break a;case 69:b=-28;break a;case 68:b=-29;break a;case 33:b=-30;break a;case 63:b=-31;break a;case 62:break a;default:break b}}q[c>>2]=a;mi(4,168694,168699,c);b=-1e3}fi=c+16|0;return b}function dv(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{d=q[a+4>>2];e=q[a>>2];f=d-e|0;c:{if((f|0)<1){break c}d:{if((d|0)!=(e|0)){d=e-d|0;d=((d|0)>(f|0)?d:f)>>>2|0;f=d>>>0>1?d:1;d=0;while(1){e=q[(d<<2)+e>>2];if(q[e+8>>2]==(b|0)&q[e+12>>2]==(c|0)){break d}d=d+1|0;if((f|0)==(d|0)){break c}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>d>>>0){continue}break}}J(49482,49228,447,49493);G()}e=q[a+4>>2];f=q[a>>2];if(e-f>>2>>>0<=d>>>0){break b}q[f+(d<<2)>>2]=q[e-4>>2];d=q[a+4>>2]-4|0;q[a+4>>2]=d;if(d>>>0>2]){break a}}e=0;d=q[a+20>>2];e:{if(!d){break e}f=a+16|0;d=q[q[f>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break e}g=q[a+24>>2];while(1){d=w(d,24)+g|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){d=q[d+16>>2];if((d|0)!=-1){continue}break e}break}Q7(f,b,c);e=1;o[a+52|0]=1}return e}J(49504,49228,481,49519);G()}J(49529,49228,484,49519);G()}function dM(a){var b=0,c=x(0),d=0,e=x(0),f=0,g=x(0);f=(ywa(a),uwa(2));b=f&2147483647;if(b>>>0<1283457024){a:{b:{if(b>>>0<=1054867455){if(b>>>0<964689920){break a}b=-1;d=1;break b}a=x(y(a));c:{if(b>>>0<=1066926079){if(b>>>0<=1060110335){a=x(x(x(a+a)+x(-1))/x(a+x(2)));b=0;d=0;break b}b=1;a=x(x(a+x(-1))/x(a+x(1)));break c}if(b>>>0<=1075576831){b=2;a=x(x(a+x(-1.5))/x(x(a*x(1.5))+x(1)));break c}b=3;a=x(x(-1)/a)}d=0}e=x(a*a);c=x(e*e);g=x(c*x(x(c*x(-.106480173766613))+x(-.19999158382415771)));c=x(e*x(x(c*x(x(c*x(.06168760731816292))+x(.14253635704517365)))+x(.333333283662796)));if(d){return x(a-x(a*x(g+c)))}b=b<<2;a=x(u[b+208656>>2]-x(x(x(a*x(g+c))-u[b+208672>>2])-a));a=(f|0)>-1?a:x(-a)}return a}return((ywa(a),uwa(2))&2147483647)>>>0>2139095040?a:(vwa(2,(ywa(a),uwa(2))&-2147483648|1070141402),zwa())}function vp(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,r=0,s=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;a:{if(!b){c=528734635;d=725511199;e=-1694144372;f=-1377402159;g=1359893119;h=1595750129;i=-1521486534;j=-23791573;k=1013904242;l=-2067093701;m=-1150833019;n=-205731576;o=1779033703;p=327033209;r=1541459225;s=-79577749;break a}c=-619958771;d=1750603025;e=-1900787065;f=-4191439;g=1731405415;h=-150054599;i=355462360;j=812702999;k=-1856437926;l=914150663;m=1654270250;n=-1056596264;o=-876896931;p=-1090891868;r=1203062813;s=1694076839}q[a+208>>2]=b;q[a+16>>2]=n;q[a+20>>2]=o;q[a+72>>2]=p;q[a+76>>2]=r;b=a- -64|0;q[b>>2]=s;q[b+4>>2]=c;q[a+56>>2]=d;q[a+60>>2]=e;q[a+48>>2]=f;q[a+52>>2]=g;q[a+40>>2]=h;q[a+44>>2]=i;q[a+32>>2]=j;q[a+36>>2]=k;q[a+24>>2]=l;q[a+28>>2]=m;return 0}function j4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi+ -64|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ai(a,1);c:{if(d<4294967296&d>=0){c=~~d>>>0;break c}c=0}e=c;d=Ai(a,2);d:{if(d<4294967296&d>=0){g=~~d>>>0;break d}g=0}h=e|g;d=Ai(a,3);e:{if(d<4294967296&d>=0){e=~~d>>>0;break e}e=0}if((h|e)>>>0>=8){q[b+28>>2]=e;q[b+24>>2]=g;q[b+20>>2]=c;q[b+16>>2]=104341;a=ni(a,106117,b+16|0);break a}q[b+44>>2]=c;q[b+40>>2]=15;q[b+52>>2]=e;q[b+48>>2]=g;c=q[f+4>>2];if((c|0)==q[f+8>>2]){break b}q[f+4>>2]=c+20;q[c+16>>2]=q[b+56>>2];a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a;a=0;break a}J(104348,104245,265,107702);G()}q[b>>2]=(q[f+8>>2]-q[f>>2]|0)/20;a=ni(a,104394,b)}fi=b- -64|0;return a|0}function PF(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;f=q[a+4>>2];e=q[f+16>>2];e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);a:{if(!(o[a+40|0]&1)){a=q[a+8>>2];h=q[a+1028>>2];i=q[a+1024>>2];break a}a=q[f+24>>2];i=f+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0;a=q[f+20>>2];h=f+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0}j=1;b:{if((e|0)<1){break b}f=e-1|0;a=0;while(1){e=((f-a|0)/2|0)+a|0;g=ej(b,(e<<6)+i|0,c);if(!g){j=0;if(!d){break b}a=(e<<4)+h|0;b=q[a>>2];q[d>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);b=q[a+4>>2];q[d+4>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);b=q[a+8>>2];q[d+8>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=q[a+12>>2];q[d+12>>2]=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);return 0}g=(g|0)>0;f=g?f:e-1|0;a=g?e+1|0:a;if((f|0)>=(a|0)){continue}break}}return j|0}function MP(a){var b=0,c=0,d=0;a:{b=JP(a);b:{if(b){break b}mw(a);b=Uw(a,q[a+116>>2]-q[a+108>>2]|0);if(b){break b}b=zP(a);if(b){if(!(q[q[a>>2]+184>>2]&2)|(b|0)==-26496){break b}c:{if((b|0)!=-26368){if((b|0)!=-25728){break c}$P(a)}q[a+144>>2]=q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0);return-25984}break a}b=Uw(a,q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0)|0);if(b){break b}d:{if(r[q[a>>2]+184|0]&2){q[a+144>>2]=q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0);break d}q[a+136>>2]=0}b=nP(a);if(!b){return 0}c=q[a>>2];e:{if(r[c+184|0]&2){if((b|0)!=-29056){break b}f:{switch(q[a+4>>2]-11|0){case 0:case 2:break e;default:break f}}c=q[c+172>>2];if(c){d=q[a+24>>2]+1|0;q[a+24>>2]=d;b=-29056;if(c>>>0<=d>>>0){break b}}break a}if((b|0)!=-29056){break b}}Aj(a,2,20);b=-29056}return b}q[a+136>>2]=0;q[a+144>>2]=0;return-25984}function g6(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=0,r=0,s=x(0),t=x(0);g=x(e*x(64));a:{if(g=x(0)){j=~~g>>>0;break a}j=0}p=q[a>>2];r=q[a+4>>2]-p|0;a=(r|0)/160|0;if(r){j=w(j>>>0<63?j:63,12)+b|0;s=x(x(x(e-u[j>>2])*u[j+8>>2])+u[j+4>>2]);e=u[c+8>>2];h=x(e*x(0));g=u[c+12>>2];l=u[c>>2];k=x(l*x(0));n=x(x(h+g)-k);i=h;h=u[c+4>>2];k=x(i+x(h+k));i=x(g*x(0));m=x(h*x(0));o=x(x(i+l)-m);i=x(x(i+m)-e);m=x(x(x(x(l*n)+x(x(x(e*k)+x(g*o))-x(h*i)))*f)*d);t=x(x(x(x(e*i)+x(x(x(g*n)+x(h*k))-x(l*o)))*f)*d);e=x(x(x(x(h*o)+x(x(x(g*i)+x(l*k))-x(e*n)))*f)*d);f=u[b+768>>2];c=a>>>0>1?a:1;a=0;while(1){b=w(a,160)+p|0;d=x(s+x(f*u[b+76>>2]));u[b+56>>2]=u[b+56>>2]+x(m*d);u[b+52>>2]=u[b+52>>2]+x(t*d);u[b+48>>2]=u[b+48>>2]+x(e*d);a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function RE(a,b){var c=0,d=0,e=0,f=0,g=0;o[b+140|0]=0;q[b+136>>2]=-1;o[b+72|0]=0;o[b+8|0]=0;o[b|0]=0;f=b+140|0;a:{d=Nj(a,58);b:{if(!d){break b}if(a>>>0>=d>>>0){break a}c=o[a|0];if(!((c|32)-97>>>0<26?1:c-48>>>0<10)){break b}c=a;while(1){c=c+1|0;if((d|0)!=(c|0)){e=o[c|0];if((e|32)-97>>>0<26?1:e-48>>>0<10){continue}}break}if(c>>>0>=d>>>0){break a}}kj(b,169584,8);kj(f,a,2048);return 0}c=(d-a|0)+1|0;kj(b,a,c>>>0<8?c:8);c=80;c:{d:{if(!Ej(b,169589)){break d}if(!Ej(b,169594)){break d}c=443;if(!Ej(b,169597)){break d}if(Ej(b,169603)){break c}}q[b+136>>2]=c}c=Im(a,169607);e:{if(c){d=b+72|0;a=b+8|0;c=c+2|0;e=Nj(c,47);f:{if(e){g=c;c=(e-c|0)+1|0;kj(a,g,c>>>0<64?c:64);kj(f,e,2048);break f}kj(a,c,64)}kj(d,a,64);a=Nj(d,58);if(!a){break e}q[b+136>>2]=mp(a+1|0,0);o[a|0]=0;return 0}kj(f,d+1|0,2048)}return 0}function G2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=fi+ -64|0;fi=d;b=d+16|0;c=a;e=0;a:{if(!c){break a}e=q[c+120>>2]}g=e;i=Ti(b,g,0,112952,130);c=c?q[a+120>>2]:0;e=Ti(d+40|0,c,0,112952,87);wi(c,q[64483]);yF(a);b=Vi(c,-1);oi(c,-2);Si(e);if(b){f=q[210336];if(f){while(1){b:{if(!q[f+24>>2]){break b}e=d+40|0;c=e;q[c>>2]=0;q[c+4>>2]=0;c=a?q[a>>2]:0;q[d+44>>2]=g;q[d+40>>2]=c;if(!(q[(b+(h&-4)|0)+4>>2]>>>(h&3)&1)){break b}if(!(ji[q[f+24>>2]](e)|0)){break b}q[d>>2]=q[f>>2];mi(4,112981,113054,d)}h=h+1|0;f=q[f+36>>2];if(f){continue}break}}sj(g,-1e4,q[b+68>>2]);q[b+4>>2]=0;q[b+8>>2]=0;q[b+68>>2]=-2;q[b+12>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+64>>2]=0}Si(i);fi=d- -64|0}function vea(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;b=fi-112|0;fi=b;f=Ti(b+88|0,a,0,73452,449);d=q[a+8>>2]-q[a+12>>2]>>4;g=Kj(a);h=Pj(a,2);i=ii;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;e=b- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;ok(a,1,b+56|0,b+24|0);a:{b:{if((d|0)>=4){vj(a,4,5);Hi(a,4);zi(a,-1,73601);c=0;c:{if(!ri(a,-1)){break c}c=Ai(a,-1)}j=c;oi(a,-2);zi(a,-1,73608);c=1;d:{if(!ri(a,-1)){break d}c=Ai(a,-1)}oi(a,-2);oi(a,-2);break b}c=1;if((d|0)!=3){break a}}if((ri(a,3)|0)!=6){break a}Hi(a,3);k=is(a)+2|0}q[b+8>>2]=h;q[b+12>>2]=i;u[b+20>>2]=c;u[b+16>>2]=j;a=q[62624];oo(b+24|0,b+56|0,q[a+8>>2],q[a+12>>2],g,k,a,b+8|0,16,0);Si(f);fi=b+112|0;return 0}function zua(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=fi-32|0;fi=e;g=q[a+28>>2];q[e+16>>2]=g;d=q[a+20>>2];q[e+28>>2]=c;q[e+24>>2]=b;b=d-g|0;q[e+20>>2]=b;g=b+c|0;j=2;b=e+16|0;a:{b:{f=Ga(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[240833]=f;d=-1}d:{if(!d){while(1){d=q[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=q[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;q[i>>2]=h+q[i>>2];i=(f?12:4)+b|0;q[i>>2]=q[i>>2]-h;g=g-d|0;b=f?b+8|0:b;j=j-f|0;f=Ga(q[a+60>>2],b|0,j|0,e+12|0)|0;d=0;e:{if(!f){break e}q[240833]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];a=c;break a}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=q[a>>2]|32;a=0;if((j|0)==2){break a}a=c-q[b+4>>2]|0}fi=e+32|0;return a|0}function el(a){var b=0;a:{b:{b=q[a+32>>2];if(b){if(b>>>0>=t[a+40>>2]){q[a+112>>2]=1;break a}q[a+32>>2]=b+1;b=r[b|0];break b}b=pj(q[a+20>>2]);if((b|0)!=-1){break b}q[a+112>>2]=1;break a}if((b&255)!=79){break a}c:{b=q[a+32>>2];if(b){if(b>>>0>=t[a+40>>2]){q[a+112>>2]=1;break a}q[a+32>>2]=b+1;b=r[b|0];break c}b=pj(q[a+20>>2]);if((b|0)!=-1){break c}q[a+112>>2]=1;break a}if((b&255)!=103){break a}d:{b=q[a+32>>2];if(b){if(b>>>0>=t[a+40>>2]){q[a+112>>2]=1;break a}q[a+32>>2]=b+1;b=r[b|0];break d}b=pj(q[a+20>>2]);if((b|0)!=-1){break d}q[a+112>>2]=1;break a}if((b&255)!=103){break a}e:{b=q[a+32>>2];if(b){if(b>>>0>=t[a+40>>2]){q[a+112>>2]=1;break a}q[a+32>>2]=b+1;b=r[b|0];break e}b=pj(q[a+20>>2]);if((b|0)!=-1){break e}q[a+112>>2]=1;break a}if((b&255)!=83){break a}return YB(a)}q[a+116>>2]=30;return 0}function o6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{g=q[a+16>>2];c=q[a+20>>2]-g>>3;if(c>>>0>b>>>0){f=q[a+4>>2]-q[a>>2]>>4;e=f-1|0;d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}h=f;f=(b<<3)+g|0;if(h>>>0<=t[f>>2]){break d}h=c;c=q[d+(e<<2)>>2];if(h>>>0<=c>>>0){break a}q[(c<<3)+g>>2]=q[f>>2];e=q[f>>2];d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];d=q[a+4>>2];c=q[a>>2];if(e>>>0>=d-c>>4>>>0){break c}c=c+(e<<4)|0;d=d-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;c=q[a+4>>2]-16|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(50712,50605,151,50733);G()}J(50738,50340,481,50753);G()}J(50763,50340,484,50753);G()}J(50690,50340,447,50701);G()}function iv(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;q[d+12>>2]=0;e=qA(a,b,d+12|0);q[c>>2]=e;f=-3;a:{b:{c:{switch(e|0){case 0:v[c+8>>3]=wj(a,b);break b;case 1:q[c+8>>2]=Qk(a,b);q[c+12>>2]=ii;break b;case 2:a=sy(a,b);b=q[a+4>>2];q[c+8>>2]=q[a>>2];q[c+12>>2]=b;b=q[a+28>>2];q[c+32>>2]=q[a+24>>2];q[c+36>>2]=b;b=q[a+20>>2];q[c+24>>2]=q[a+16>>2];q[c+28>>2]=b;b=q[a+12>>2];q[c+16>>2]=q[a+8>>2];q[c+20>>2]=b;break b;case 3:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];break b;case 4:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];u[c+20>>2]=u[a+12>>2];break b;case 5:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];u[c+20>>2]=u[a+12>>2];break b;case 6:break c;default:break a}}o[c+8|0]=(Fj(a,b)|0)!=0}f=0}fi=d+16|0;return f}function ata(a,b){var c=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;c=r[b|0]+1|0;o[a|0]=c>>>0>3?3:c;c=r[b+1|0]+1|0;o[a+1|0]=c>>>0>3?3:c;c=r[b+2|0]+1|0;o[a+2|0]=c>>>0>3?3:c;c=r[b+3|0]+1|0;o[a+3|0]=c>>>0>3?3:c;c=r[b+4|0]+1|0;o[a+4|0]=c>>>0>3?3:c;c=r[b+5|0]+1|0;o[a+5|0]=c>>>0>3?3:c;c=r[b+6|0]+1|0;o[a+6|0]=c>>>0>3?3:c;c=r[b+7|0]+1|0;o[a+7|0]=c>>>0>3?3:c;c=r[b+8|0]+1|0;o[a+8|0]=c>>>0>3?3:c;c=r[b+9|0]+1|0;o[a+9|0]=c>>>0>3?3:c;c=r[b+10|0]+1|0;o[a+10|0]=c>>>0>3?3:c;c=r[b+11|0]+1|0;o[a+11|0]=c>>>0>3?3:c;c=r[b+12|0]+1|0;o[a+12|0]=c>>>0>3?3:c;c=r[b+13|0]+1|0;o[a+13|0]=c>>>0>3?3:c;c=r[b+14|0]+1|0;o[a+14|0]=c>>>0>3?3:c;c=a;a=r[b+15|0]+1|0;o[c+15|0]=a>>>0>3?3:a}function MJ(a,b,c){var d=0,e=0,f=0;e=b+32|0;d=q[b+16>>2];f=q[d+12>>2];a:{b:{if(r[f|0]){d=Ij(a,f,e);if(d){break a}d=q[b+16>>2];break b}q[e>>2]=0}c:{d:{e:{f:{g:{h:{i:{j:{e=q[d>>2];k:{if(r[e|0]){d=a;if(c){f=rs(a,e,0);e=q[b+16>>2];if(!f){break j}e=q[e>>2]}d=Ij(d,e,b+20|0);if(d){break a}d=q[b+16>>2];break k}q[b+20>>2]=0}d=q[d+4>>2];if(!r[d|0]){break i}if(!c){break g}break h}d=q[e+4>>2];if(r[d|0]){break h}}q[b+28>>2]=0;break f}if(!rs(a,d,0)){break e}d=q[q[b+16>>2]+4>>2]}d=Ij(a,d,b+28|0);if(d){break a}}if(!c){break d}}if(!rs(a,q[q[b+16>>2]+8>>2],0)){break c}}d=Ij(a,q[q[b+16>>2]+8>>2],b+24|0);if(d){break a}}d=0;a=q[b+20>>2];if(!a){break a}v3(q[a>>2],b);a=q[b+28>>2];if(a){u3(q[q[b+24>>2]>>2],q[a>>2],q[q[b+20>>2]>>2],b+52|0,b+36|0);return 0}q[b+56>>2]=q[b+52>>2];q[b+40>>2]=q[b+36>>2]}return d}function Zu(a,b){var c=0,d=0,e=0;d=q[b+56>>2];if((d|0)!=q[b+60>>2]){while(1){Di(a,q[(c<<2)+d>>2]);c=c+1|0;d=q[b+56>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}d=q[b+8>>2];if((d|0)!=q[b+12>>2]){c=0;while(1){Di(a,q[(c<<2)+d>>2]);c=c+1|0;d=q[b+8>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}d=q[b+40>>2];if((d|0)!=q[b+44>>2]){c=0;while(1){d=(c<<3)+d|0;e=q[d>>2];a:{if(e){Di(a,e);break a}Di(a,q[d+4>>2])}c=c+1|0;d=q[b+40>>2];if(c>>>0>2]-d>>3>>>0){continue}break}}e=q[b+88>>2];if(e){d=0;while(1){c=q[q[b+84>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){c=q[b+92>>2]+(c<<4)|0;Di(a,q[c+8>>2]);c=q[c+12>>2];if((c|0)!=-1){continue}break}e=q[b+88>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=q[b+4>>2];if(c){Di(a,c)}c=q[b>>2];if(c){Ui(c)}c=q[b+72>>2];if(c){ki(c)}b=q[b+80>>2];if(b){Di(a,b)}}function y0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0);c=fi-96|0;fi=c;b=yi(a,1,q[210277],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];h=u[b+12>>2];v[c- -64>>3]=g;v[c+80>>3]=h;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;ni(a,120877,c+48|0)}e=yi(a,2,q[210277],0);f=u[e>>2];g=u[e+4>>2];c:{d:{if(f!=f|g!=g){break d}d=u[e+8>>2];if(d!=d){break d}h=u[e+12>>2];if(h==h){break c}}d=u[e+8>>2];h=u[e+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=2;ni(a,120877,c);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}i=u[b+12>>2];j=u[b>>2];k=u[b+4>>2];l=u[b+8>>2];b=bj(a,16);u[b+12>>2]=i+h;u[b+8>>2]=l+d;u[b+4>>2]=k+g;u[b>>2]=j+f;zi(a,-1e4,120672);aj(a,-2);fi=c+96|0;return 1}function q0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0);c=fi-96|0;fi=c;b=yi(a,1,q[210277],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];h=u[b+12>>2];v[c- -64>>3]=g;v[c+80>>3]=h;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;ni(a,120877,c+48|0)}e=yi(a,2,q[210277],0);f=u[e>>2];g=u[e+4>>2];c:{d:{if(f!=f|g!=g){break d}d=u[e+8>>2];if(d!=d){break d}h=u[e+12>>2];if(h==h){break c}}d=u[e+8>>2];h=u[e+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=2;ni(a,120877,c);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}i=u[b+12>>2];j=u[b>>2];k=u[b+4>>2];l=u[b+8>>2];b=bj(a,16);u[b+12>>2]=i-h;u[b+8>>2]=l-d;u[b+4>>2]=k-g;u[b>>2]=j-f;zi(a,-1e4,120672);aj(a,-2);fi=c+96|0;return 1}function mta(a,b,c){var d=0;if((c|0)>=4){J(95691,95189,241,95707);G()}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;d=mj(b,0);c=(c<<2)+95728|0;o[km(a,0)|0]=r[c+d|0];d=mj(b,1);o[km(a,1)|0]=r[c+d|0];d=mj(b,2);o[km(a,2)|0]=r[c+d|0];d=mj(b,3);o[km(a,3)|0]=r[c+d|0];d=mj(b,4);o[km(a,4)|0]=r[c+d|0];d=mj(b,5);o[km(a,5)|0]=r[c+d|0];d=mj(b,6);o[km(a,6)|0]=r[c+d|0];d=mj(b,7);o[km(a,7)|0]=r[c+d|0];d=mj(b,8);o[km(a,8)|0]=r[c+d|0];d=mj(b,9);o[km(a,9)|0]=r[c+d|0];d=mj(b,10);o[km(a,10)|0]=r[c+d|0];d=mj(b,11);o[km(a,11)|0]=r[c+d|0];d=mj(b,12);o[km(a,12)|0]=r[c+d|0];d=mj(b,13);o[km(a,13)|0]=r[c+d|0];d=mj(b,14);o[km(a,14)|0]=r[c+d|0];b=mj(b,15);o[km(a,15)|0]=r[b+c|0]}function kw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+8>>2];a:{b:{if((e|0)>=16){f=q[a+12>>2];break b}g=-1;d=q[a>>2];h=q[a+4>>2];if(d>>>0>=h>>>0){break a}f=q[a+12>>2];c=e;while(1){if(f>>>c|0){q[a>>2]=h;e=c;break b}g=0;if(d>>>0>>0){e=d+1|0;q[a>>2]=e;g=r[d|0];d=e}e=c+8|0;q[a+8>>2]=e;f=g<>2]=f;g=(c|0)<17;c=e;if(g){continue}break}}c=s[((f&511)<<1)+b>>1];if(c){b=c>>>9|0;q[a+8>>2]=e-b;q[a+12>>2]=f>>>b;return c&511}c=f>>>1&21845|f<<1&43690;c=c>>>2&13107|c<<2&52428;c=c>>>4&3855|c<<4&61680;h=c<<8&65280|c>>>8;d=10;while(1){c=d;d=c+1|0;if((h|0)>=q[((c<<2)+b|0)+1056>>2]){continue}break}g=-1;if(c>>>0>15){break a}d=(c<<1)+b|0;d=((h>>>16-c|0)-s[d+1024>>1]|0)+s[d+1124>>1]|0;if(d>>>0>287|(c|0)!=r[(b+d|0)+1156|0]){break a}q[a+8>>2]=e-c;q[a+12>>2]=f>>>c;g=s[((d<<1)+b|0)+1444>>1]}return g}function Tva(){q[73608]=li(44253);q[73609]=ii;q[73610]=li(44272);q[73611]=ii;q[73612]=li(44289);q[73613]=ii;q[73614]=li(44298);q[73615]=ii;q[73616]=li(44304);q[73617]=ii;q[73618]=li(44314);q[73619]=ii;q[73620]=li(44322);q[73621]=ii;q[73622]=li(44329);q[73623]=ii;q[73624]=li(44338);q[73625]=ii;q[73626]=li(44350);q[73627]=ii;q[73628]=li(44359);q[73629]=ii;q[73630]=li(44364);q[73631]=ii;q[73632]=li(44370);q[73633]=ii;q[73634]=li(44376);q[73635]=ii;q[73636]=li(44385);q[73637]=ii;q[73638]=li(44394);q[73639]=ii;q[73640]=li(44403);q[73641]=ii;q[73642]=li(44412);q[73643]=ii;q[73644]=li(44421);q[73645]=ii;q[73646]=li(44430);q[73647]=ii;q[73648]=li(44439);q[73649]=ii;q[73650]=li(44448);q[73651]=ii;q[73652]=li(44457);q[73653]=ii;q[73654]=li(44466);q[73655]=ii;q[73656]=li(44478);q[73657]=ii}function eZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-336|0;fi=b;d=yl(a,1,0,0);e=yl(a,2,0,0);if(!(d|e)){ni(a,123760,0)}q[b+24>>2]=0;q[b+28>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=1;q[b+16>>2]=0;q[b+20>>2]=0;q[b+20>>2]=0;c=$(d|0,e|0,b+16|0,b+12|0)|0;a:{b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,qr(c));break b}ij(a,0,0);c=q[b+12>>2];c:{if(!c){break c}f=d?255:0;g=((e|0)!=0)<<5;if(d){d=1;while(1){_(q[c+20>>2],q[c+16>>2],b+80|0,f|0,b+48|0,g|0,0)|0;h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;wi(a,b+80|0);Wi(a,-3);d=d+1|0;c=q[c+28>>2];if(c){continue}break}break c}while(1){_(q[c+20>>2],q[c+16>>2],b+80|0,f|0,b+48|0,g|0,0)|0;c=q[c+28>>2];if(c){continue}break}}ki(q[b+12>>2]);c=1;if(!e){break a}wi(a,b+48|0)}c=2}fi=b+336|0;return c|0}function Ew(a,b){var c=0,d=0,e=0,f=0;d=fi-32|0;fi=d;e=q[a+48>>2];a:{b:{c=q[a+16>>2];if((c|0)!=285){if((c|0)!=40){break b}c=q[a+4>>2];yj(a);Tk(a,b,0);uo(a,41,40,c);qm(q[a+48>>2],b);break a}c=q[a+24>>2];yj(a);f=q[a+48>>2];if((tw(f,c,b,1)|0)!=8){break a}q[b+8>>2]=Ep(f,c);break a}xj(a,127661)}while(1){c:{d:{e:{f:{c=q[a+16>>2];g:{if((c|0)<=90){switch(c-40|0){case 18:break d;case 6:break f;case 0:break g;default:break c}}if((c|0)==91){break e}if((c|0)==123){break g}if((c|0)!=286){break c}}pm(e,b);EE(a,b);continue}Nx(a,b);continue}Xm(e,b);jB(a,d+8|0);bE(e,b,d+8|0);continue}yj(a);if(q[a+16>>2]!=285){c=q[a+52>>2];q[d>>2]=Xk(a,285);xj(a,Oi(c,127343,d))}c=q[a+24>>2];yj(a);c=Ep(q[a+48>>2],c);q[d+24>>2]=-1;q[d+28>>2]=-1;q[d+16>>2]=c;q[d+8>>2]=4;iX(e,b,d+8|0);EE(a,b);continue}break}fi=d+32|0}function yH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(109201,109049,226,109209);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(109213,109049,470,109275);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function uH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(111772,111608,226,111780);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(111784,111608,470,111846);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function lz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=s[d>>1];q[e+12>>2]=-1;p[e+8>>1]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(186416,186252,226,186424);G()}p[((f<<4)+g|0)+8>>1]=s[d>>1];return}J(186428,186252,470,186490);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function As(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(103231,102884,226,103239);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(103243,102884,470,103305);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function AH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(186416,186252,226,186424);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(186428,186252,470,186490);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function uA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=fi-32|0;fi=d;c=1;a:{b:{c:{d:{if(!b){break d}q[b+148>>2]=q[b+148>>2]&-32769;e=q[b+140>>2];f=e;if(e&32768){break d}f=f&32767;e=q[a+2056>>2];if(f>>>0>=q[a+2060>>2]-e>>2>>>0){break c}if(q[e+(f<<2)>>2]!=(b|0)){break b}h=q[b+84>>2];g=q[h+4>>2];if(!g){break d}f=0;while(1){j=q[h>>2]+w(i,80)|0;c=q[j+16>>2];k=q[c+96>>2];e=((k&65536)>>>16|0)+f|0;if(e>>>0>t[b+152>>2]){break a}l=q[c+44>>2];if(l){g=q[a+8>>2];q[d+12>>2]=b;q[d+8>>2]=g;q[d+16>>2]=q[((q[j+20>>2]<<2)+a|0)+12>>2];c=q[c+16>>2];q[d+24>>2]=((f<<2)+b|0)+156&k<<15>>31;q[d+20>>2]=c;if(ji[l|0](d+8|0)|0){c=0;break d}g=q[h+4>>2]}c=1;f=e;i=i+1|0;if(i>>>0>>0){continue}break}}fi=d+32|0;return c}J(12475,10090,447,9406);G()}J(8137,7150,983,11893);G()}J(7962,7150,997,11893);G()}function qia(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-336|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;e=Ni(a,1,0);q[b+76>>2]=0;q[b+72>>2]=0;a:{b:{c=Gy(q[74461],e,b+76|0,b+72|0);c:{if(c){if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){break b}d=li(e);e=ii;q[b+32>>2]=Ei(d,e);q[b+24>>2]=d;q[b+28>>2]=e;q[b+16>>2]=c;cj(b+80|0,256,(c|0)==-3?70984:(c|0)==-15?71026:71091,b+16|0);q[b>>2]=b+80;a=ni(a,70045,b);break c}c=li(71140);q[b+96>>2]=0;q[b+100>>2]=0;o[b+92|0]=1;q[b+88>>2]=0;q[b+80>>2]=c;q[b+84>>2]=ii;q[b+68>>2]=0;uv(q[b+72>>2],b+80|0,1,b+68|0);q[b+64>>2]=0;q[b+60>>2]=0;dp(q[b+68>>2],b- -64|0,b+60|0);si(q[b+64>>2],q[b+76>>2],q[b+72>>2]);q[b+52>>2]=1;q[b+48>>2]=q[b+68>>2];ey(a,b+48|0);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}a=1}fi=b+336|0;return a|0}J(70748,70769,302,71135);G()}J(71145,70769,321,71135);G()}function SH(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/280|0)){d=q[a+4>>2];e:{if(!d){break e}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,280)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+272>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((g|0)!=(d|0)){q[a+12>>2]=d+280;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,280)+f|0;q[a+20>>2]=q[d+272>>2]}q[d>>2]=b;si(d+8|0,c,264);q[d+272>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=c+w(e,280)|0;e=q[b+272>>2];if((e|0)!=-1){continue}break}q[b+272>>2]=(d-c|0)/280;break a}J(103231,102884,226,103239);G()}si((w(e,280)+f|0)+8|0,c,264);return}J(103243,102884,470,103305);G()}q[b>>2]=(d-c|0)/280}q[a+24>>2]=q[a+24>>2]+1}function mI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f=b&65535;g=q[a+32>>2];if(f>>>0<(q[a+36>>2]-g|0)/576>>>0){if(s[(g+w(f,576)|0)+552>>1]!=(b>>>16|0)){break e}g=g+w(f,576)|0;if(s[g+554>>1]!=(b&65535)){break d}b=q[g+508>>2];f:{if(b){f=q[a+280>>2]-q[a+276>>2]>>3;break f}b=q[a+296>>2];j=q[a+300>>2];if((b|0)==(j|0)){return}f=q[a+280>>2]-q[a+276>>2]>>3;h=q[a+292>>2];k=b-h>>2;i=f+k|0;if(i>>>0>j-h>>2>>>0){break c}q[a+296>>2]=(i<<2)+h;if(i>>>0<=k>>>0){break a}q[g+508>>2]=b}if(e>>>0>=f>>>0){break b}if(d>>>0<=e>>>0){while(1){q[((d&65535)<<2)+b>>2]=c;d=d+1|0;if((d&65535)>>>0<=e>>>0){continue}break}}return}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(187316,186599,474,187335);G()}J(184860,184532,877,184903);G()}J(186773,186599,447,186784);G()}function fea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-128|0;fi=b;g=Ti(b+104|0,a,0,73926,462);c=q[q[Kj(a)+80>>2]+8>>2];q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;Hk(a,1,c,73798,b+100|0,b- -64|0,0);c=q[b+100>>2];e=Pj(a,2);d=ii;f=d;d=dA(c,e,d);a:{if((d|0)==-1){q[b>>2]=Ei(e,f);a=uj(g,74162,b);break a}f=c;c=Fj(a,3);Uea(f,d,(c|0)!=0);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;if(fm(a,b+32|0)){q[b+24>>2]=d;a=0;q[b+28>>2]=(c|0)!=0;c=q[62502];e=q[c+8>>2];d=q[c+12>>2];q[b+88>>2]=0;q[b+92>>2]=0;c=Zj(b+32|0,b- -64|0,e,d,0,c,b+24|0,8);if(!c){break a}q[b+16>>2]=q[q[62502]+4>>2];q[b+20>>2]=c;mi(4,74154,74421,b+16|0);break a}a=ni(a,74466,0)}Si(g);fi=b+128|0;return a|0}function rl(a){var b=x(0),c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;e=(ywa(a),uwa(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=x(1);if(d>>>0<964689920){break a}b=An(+a);break a}if(d>>>0<=1081824209){f=+a;if(d>>>0>=1075235812){b=x(-An(((e|0)>-1?-3.141592653589793:3.141592653589793)+f));break a}if((e|0)<=-1){b=yn(f+1.5707963267948966);break a}b=yn(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=An(((e|0)>-1?-6.283185307179586:6.283185307179586)+ +a);break a}if((e|0)<=-1){b=yn(-4.71238898038469- +a);break a}b=yn(+a+ -4.71238898038469);break a}b=x(a-a);if(d>>>0>=2139095040){break a}b:{switch(dB(a,c+8|0)&3){case 0:b=An(v[c+8>>3]);break a;case 1:b=yn(-v[c+8>>3]);break a;case 2:b=x(-An(v[c+8>>3]));break a;default:break b}}b=yn(v[c+8>>3])}a=b;fi=c+16|0;return a}function oH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(158016,157964,226,158024);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(158028,157964,470,158090);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function mH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(112841,112677,226,112849);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(112853,112677,470,112915);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function XH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(168606,168495,226,168614);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(168618,168495,470,168680);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function OH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(27850,27647,226,27858);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(27862,27647,470,27924);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function MH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(22529,22377,226,22537);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(22541,22377,470,22603);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Ku(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(30606,29563,226,30614);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(30618,29563,470,30680);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Iq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(11287,11135,226,11295);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(11299,11135,470,11361);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Eo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=fi-1040|0;fi=e;l=Fi(c);q[e+4>>2]=0;i=e+12|0;q[e>>2]=i;q[e+8>>2]=a;h=Im(b,c);if(h){k=e+1036|0;while(1){g=h-b|0;if(g){while(1){g=g-1|0;f=q[e>>2];if(k>>>0<=f>>>0){Pk(e);f=q[e>>2]}j=r[b|0];q[e>>2]=f+1;o[f|0]=j;b=b+1|0;if(g){continue}break}}b=d;g=Fi(b);if(g){while(1){g=g-1|0;f=q[e>>2];if(k>>>0<=f>>>0){Pk(e);f=q[e>>2]}j=r[b|0];q[e>>2]=f+1;o[f|0]=j;b=b+1|0;if(g){continue}break}}b=h+l|0;h=Im(b,c);if(h){continue}break}}g=Fi(b);if(g){c=e+1036|0;while(1){g=g-1|0;f=q[e>>2];if(c>>>0<=f>>>0){Pk(e);f=q[e>>2]}d=r[b|0];q[e>>2]=f+1;o[f|0]=d;b=b+1|0;if(g){continue}break}}b=q[e>>2]-i|0;a:{if(!b){f=q[e+4>>2];break a}Bi(q[e+8>>2],i,b);q[e>>2]=i;f=q[e+4>>2]+1|0;q[e+4>>2]=f}Jl(q[e+8>>2],f);q[e+4>>2]=1;a=_i(a,-1,0);fi=e+1040|0;return a}function pla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{e=q[a+8>>2];d=q[e+36>>2];b=q[e+32>>2];if((d|0)==(b|0)){break b}c=q[q[a+16>>2]>>2];f=d-b>>2;d=0;while(1){c:{if(q[b+(d<<2)>>2]==(c|0)){g=q[q[q[a+4>>2]+80>>2]>>2];a=q[c+16>>2];if(a){Di(g,a)}a=q[c+28>>2];b=q[c+24>>2];if((a|0)==(b|0)){b=a;break c}f=0;while(1){h=q[(f<<2)+b>>2];if(h){Di(g,h);b=q[c+24>>2];a=q[c+28>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}break c}d=d+1|0;if(f>>>0>d>>>0){continue}break b}break}q[c+28>>2]=b;LI(q[c+8>>2]);if(c){d:{if(o[c+36|0]&1){break d}a=q[c+24>>2];if(!a){break d}ki(a)}ki(c)}a=q[e+36>>2];b=q[e+32>>2];if(a-b>>2>>>0<=d>>>0){break a}q[b+(d<<2)>>2]=q[a-4>>2];a=q[e+36>>2]-4|0;q[e+36>>2]=a;if(a>>>0>=t[e+32>>2]){break b}J(39613,39220,484,39603);G()}return 0}J(39588,39220,481,39603);G()}function kG(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,r=0;l=fi-16|0;fi=l;j=q[a+52>>2];h=q[a+48>>2];q[f>>2]=-1;i=j-h|0;m=(i|0)/40|0;a:{if(!i){break a}b:{c:{if((h|0)!=(j|0)){n=1;o=m>>>0>1?m:1;while(1){h=w(k,40)+h|0;i=q[h>>2];j=q[i+8>>2];i=q[i+12>>2];q[l+12>>2]=s[q[h>>2]+24>>1];r=h+8|0;d:{if((b|0)!=(j|0)|(c|0)!=(i|0)){if((b|0)!=q[h+8>>2]|(c|0)!=q[h+12>>2]){break d}h=0;break c}q[e>>2]=r;j=b;i=c;break b}if(q[h+16>>2]==(b|0)&q[h+20>>2]==(c|0)){h=1;break c}if(q[h+24>>2]==(b|0)&q[h+28>>2]==(c|0)){h=2;break c}if(q[h+32>>2]==(b|0)&q[h+36>>2]==(c|0)){h=3;break c}k=k+1|0;n=m>>>0>k>>>0;if((k|0)==(o|0)){break a}h=q[a+48>>2];if((q[a+52>>2]-h|0)/40>>>0>k>>>0){continue}break}}J(103319,103123,447,103330);G()}q[f>>2]=h}q[d>>2]=j;q[d+4>>2]=i;p[g>>1]=q[l+12>>2]}fi=l+16|0;return n}function qH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=r[c|0];q[d+8>>2]=-1;o[d+4|0]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(111772,111608,226,111780);G()}o[(w(e,12)+f|0)+4|0]=r[c|0];return}J(111784,111608,470,111846);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function mna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;c=q[q[a+32>>2]+8>>2];q[b+28>>2]=0;d=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[59718],b+28|0)){break a}if(!Zo(q[a>>2],q[a+4>>2],q[b+28>>2])){Ui(q[b+28>>2]);break a}f=q[c+40>>2];e=q[b+28>>2];q[c+40>>2]=e;if(kK(q[c>>2],e,c)){q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=q[b+28>>2];if(!kv(q[a>>2],q[d+124>>2],q[d+128>>2],b+8|0)){Yo(q[a>>2],c+48|0);d=q[b+8>>2];q[b+8>>2]=q[c+48>>2];q[c+48>>2]=d;d=q[b+12>>2];q[b+12>>2]=q[c+52>>2];q[c+52>>2]=d;d=q[b+16>>2];q[b+16>>2]=q[c+56>>2];q[c+56>>2]=d;d=r[c+60|0];e=r[b+20|0];o[b+20|0]=d&1|e&254;o[c+60|0]=d&254|e&1}Ui(f);q[q[a+32>>2]+16>>2]=q[a+24>>2]-q[q[c+40>>2]+4>>2];b:{if(o[b+20|0]&1){break b}a=q[b+8>>2];if(!a){break b}ki(a)}d=0;break a}Ui(q[b+28>>2])}fi=b+32|0;return d|0}function hH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=fi-1072|0;fi=f;k=q[a+48>>2];tj(k);an(f+1040|0,0);kl(f+1040|0,b,Fi(b));kl(f+1040|0,c,Fi(c));l=Vn(f+1040|0);m=ii;h=li(b);i=ii;b=q[a+20>>2];a:{if(b){c=2;n=a+16|0;b=q[q[n>>2]+(lwa(h,i,b)<<2)>>2];if((b|0)==-1){break a}j=q[a+24>>2];while(1){g=w(b,136)+j|0;if(q[g>>2]!=(h|0)|q[g+4>>2]!=(i|0)){b=q[g+128>>2];if((b|0)!=-1){continue}break a}break}g=w(b,136)+j|0;if((l|0)!=q[g+80>>2]|q[g+84>>2]!=(m|0)){break a}if(o[g+121|0]&1){c=3;mi(3,150860,151765,0);break a}b=w(b,136)+j|0;q[b+88>>2]=Uj();q[b+92>>2]=ii;hz(q[a>>2],l,m,f+16|0);a=sk(f+16|0,150994);if(a){q[d>>2]=a;o[g+120|0]=r[g+120|0]+1;a=q[b+108>>2];q[e>>2]=q[b+104>>2];q[e+4>>2]=a;c=0;break a}q[f>>2]=f+16;mi(4,150860,151785,f);DH(n,h,i)}c=2}lj(k);fi=f+1072|0;return c}function fca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[300036]&1){break a}if(!ui(300036)){break a}if(r[852367]){e=Ri(80454)}else{e=-1}q[75008]=e;ti(300036)}b:{if(o[300044]&1){break b}if(!ui(300044)){break b}if(r[852367]){e=Yi(80908,19)}else{e=0}q[75010]=e;ti(300044)}e=q[75008];c:{if((e|0)!=-1){Qi(f,e,80908,q[75010]);break c}q[f>>2]=0}d:{e:{f:{g:{if(!b){break g}O(34962,a|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break f}}$a(34962,b|0,c|0,q[(d<<2)+80956>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break e}}O(34962,0);if(!(r[q[74995]+104|0]&8)){break g}a=K()|0;if(a){break d}}if(q[f>>2]){Pi(f)}fi=f+16|0;return}Mi(a,80928,1346);J(79249,79164,1346,80928);G()}Mi(a,80928,1348);J(79249,79164,1348,80928);G()}Mi(a,80928,1350);J(79249,79164,1350,80928);G()}function aea(a,b,c,d){var e=0;e=b;a:{b:{switch(b|0){case 3:case 5:case 11:case 15:case 16:case 18:case 21:e=21;if(ji[q[74960]](a,21)|0){break a}e=16;if(ji[q[74960]](a,16)|0){break a}e=15;if(ji[q[74960]](a,15)|0){break a}if((c|0)==(d|0)){e=11;if(ji[q[74960]](a,11)|0){break a}}return ji[q[74960]](a,b)|0?b:3;case 2:case 4:case 9:case 12:case 17:e=17;if(ji[q[74960]](a,17)|0){break a}e=12;if(ji[q[74960]](a,12)|0){break a}if((c|0)==(d|0)){e=9;if(ji[q[74960]](a,9)|0){break a}}return ji[q[74960]](a,b)|0?b:2;case 1:case 20:e=20;if(ji[q[74960]](a,20)|0){break a}e=14;if(ji[q[74960]](a,14)|0){break a}return ji[q[74960]](a,b)|0?b:1;case 0:case 19:break b;default:break a}}e=19;if(ji[q[74960]](a,19)|0){break a}e=13;if(ji[q[74960]](a,13)|0){break a}e=ji[q[74960]](a,b)|0?b:0}return e}function Z7(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=r[c|0];q[d+8>>2]=-1;o[d+4|0]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(158016,157964,226,158024);G()}o[(w(e,12)+f|0)+4|0]=r[c|0];return}J(158028,157964,470,158090);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function X7(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=r[d|0];q[e+12>>2]=-1;o[e+8|0]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(30606,29563,226,30614);G()}o[((f<<4)+g|0)+8|0]=r[d|0];return}J(30618,29563,470,30680);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Co(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;c=0;c:{d:{e:{switch(q[b+8>>2]-6|0){case 0:q[q[b>>2]+12>>2]=q[q[a+8>>2]-16>>2];break d;case 1:q[q[b>>2]+12>>2]=q[q[a+8>>2]-16>>2];break d;case 2:break e;default:break c}}c=q[q[a+8>>2]-16>>2];d=q[b>>2];q[d+80>>2]=5;q[d+72>>2]=c}c=1;d=q[q[a+8>>2]-16>>2];if(!(r[d+5|0]&3)){break c}b=q[b>>2];if(!(r[b+5|0]&4)){break c}Mn(a,b,d)}q[a+8>>2]=q[a+8>>2]-16;return c}function vz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(24127,23963,226,24135);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(24139,23963,470,24201);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(lwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(lwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(5017,4853,226,5025);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(5029,4853,470,5091);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function VH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(42274,42122,226,42282);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(42286,42122,470,42348);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function zz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=g-f>>4){d=q[a+4>>2];c:{if(!d){break c}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break c}while(1){d=(e<<4)+f|0;if(q[d>>2]==(b|0)){break b}e=q[d+12>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];d:{if((g|0)!=(d|0)){q[a+12>>2]=d+16;break d}d=q[a+20>>2];if((d|0)==-1){break a}d=(d<<4)+f|0;q[a+20>>2]=q[d+12>>2]}q[d>>2]=b;q[d+4>>2]=q[c>>2];p[d+8>>1]=s[c+4>>1];q[d+12>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)!=-1){while(1){b=c+(e<<4)|0;e=q[b+12>>2];if((e|0)!=-1){continue}break}b=b+12|0}q[b>>2]=d-c>>4;q[a+24>>2]=q[a+24>>2]+1;return}J(150688,150567,226,150696);G()}a=(e<<4)+f|0;q[a+4>>2]=q[c>>2];p[a+8>>1]=s[c+4>>1];return}J(150700,150567,470,150762);G()}function dN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=fi-16|0;fi=f;e=Lj(a,b,f+12|0,48);a:{if(e){e=e-9472|0;break a}e=-9574;d=q[f+12>>2];if(!d){break a}g=q[a>>2];if((d+g|0)!=(b|0)){break a}while(1){if(b>>>0>g>>>0){g=Lj(a,b,f+12|0,48);if(g){e=g-9472|0;break a}g=q[a>>2]+q[f+12>>2]|0;d=Lj(a,g,f+12|0,6);if(d){e=d-9472|0;break a}h=q[f+12>>2];d=q[a>>2];i=((r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))==2104661?(h|0)==4:0)?i:-8320;if(q[c+8>>2]){if(q[c+12>>2]){e=-9472;break a}j=c;c=Oj(1,16);q[j+12>>2]=c;if(!c){e=-9578;break a}}q[c+8>>2]=d;q[c>>2]=6;q[c+4>>2]=h;d=q[a>>2]+h|0;q[a>>2]=d;if(d>>>0>>0){d=Lj(a,g,f+12|0,48);if(d){e=d-9472|0;break a}d=q[a>>2]+q[f+12>>2]|0;q[a>>2]=d}if((d|0)==(g|0)){continue}break a}break}q[c+12>>2]=0;e=q[a>>2]==(b|0)?i:-9574}fi=f+16|0;return e}function qja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b:{d=q[a+8>>2];c=q[d+8>>2];e=q[d+4>>2];if((c|0)!=(e|0)){b=q[q[a+16>>2]>>2];f=c-e>>2;c=0;while(1){if(q[e+(c<<2)>>2]==(b|0)){if(q[b+148>>2]){Di(q[q[q[a+4>>2]+80>>2]>>2],q[b+148>>2])}if(q[b+152>>2]){Di(q[q[q[a+4>>2]+80>>2]>>2],q[b+152>>2])}a=q[b+100>>2];if(a){ki(a)}a=q[b+104>>2];if(a){ki(a)}a=q[b+144>>2];if(a){Uq(a)}a=q[d+8>>2];e=q[d+4>>2];if(a-e>>2>>>0<=c>>>0){break b}q[e+(c<<2)>>2]=q[a-4>>2];a=q[d+8>>2]-4|0;q[d+8>>2]=a;if(a>>>0>2]){break a}if(b){c:{if(o[b+136|0]&1){break c}a=q[b+124>>2];if(!a){break c}ki(a)}d:{if(o[b+120|0]&1){break d}a=q[b+108>>2];if(!a){break d}ki(a)}ki(b)}return 0}c=c+1|0;if(f>>>0>c>>>0){continue}break}}J(53003,53009,456,53053);G()}J(54333,53817,481,54348);G()}J(54358,53817,484,54348);G()}function h$(a,b){var c=0,d=0,e=0,f=0,g=0;g=fi-16|0;fi=g;a:{b:{c:{if((a|0)!=(b|0)){d=b;c=r[a|0];d:{if(!c){break d}if(!b){f=-1;d=0;while(1){e:{f:{if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){break f}c=c<<24>>24;if(c-45>>>0<3|(c|0)==95|(c|0)==126){break f}if(f>>>0<=2){break c}e=-3;c=3;break e}if(!f){break b}e=-1;c=1}f=f+e|0;d=c+d|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}break d}f=2047;while(1){g:{h:{i:{if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){break i}e=c<<24>>24;if(e-45>>>0<3|(e|0)==126){break i}if((e|0)!=95){break h}}if(!f){break b}o[d|0]=c;e=-1;c=1;break g}if(f>>>0<3){break c}q[g>>2]=e;cj(d,4,169686,g);e=-3;c=3}f=f+e|0;d=c+d|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}}if(b){o[d|0]=0}break a}J(169610,169635,132,169655);G()}o[d|0]=0;break a}o[d|0]=0}fi=g+16|0}function Bq(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-32|0;fi=c;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){d=q[79152];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);b:{if(($D(a,-1,110342)|0)!=1){oi(a,-2);b=0;break b}f=Vi(a,-1);c:{if(f){d=f;e=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=e;e=q[d+28>>2];q[b+24>>2]=q[d+24>>2];q[b+28>>2]=e;e=q[d+20>>2];q[b+16>>2]=q[d+16>>2];q[b+20>>2]=e;e=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=e;oi(a,-3);break c}sy(a,-1)}b=(f|0)!=0}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}fi=c+32|0;return b}q[c+12>>2]=g;q[c+4>>2]=809;q[c+8>>2]=0;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}q[c+28>>2]=a;q[c+24>>2]=g;q[c+20>>2]=809;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function nk(a){var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=(ywa(a),uwa(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=yn(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=x(-An(d+1.5707963267948966));break a}a=An(d+ -1.5707963267948966);break a}a=yn(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=An(d+4.71238898038469);break a}a=x(-An(d+ -4.71238898038469));break a}a=yn(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=x(a-a);break a}b:{switch(dB(a,b+8|0)&3){case 0:a=yn(v[b+8>>3]);break a;case 1:a=An(v[b+8>>3]);break a;case 2:a=yn(-v[b+8>>3]);break a;default:break b}}a=x(-An(v[b+8>>3]))}fi=b+16|0;return a}function Io(a,b,c,d,e){var f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0);a:{b:{c:{g=(d!=x(0))<<2|(c!=x(0))<<1;switch(g|b!=x(0)){case 1:case 2:case 4:break b;case 0:break c;default:break a}}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=yo(x(x(b+c)+d),e);u[(g<<1)+a>>2]=x(b+b)*x(57.295780181884766);return}g=a;f=x(x(b*c)+x(d*e));d:{if(!(f>x(.4999000132083893)^1)){b=yo(b,e);c=x(b+b);b=x(0);d=x(90);break d}if(!(f>2]=d;u[a>>2]=b;u[a+4>>2]=c*x(57.295780181884766)}function i6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+36>>2];if(h>>>0>=q[a+40>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(137024,137045,151,137130);G()}J(137135,136831,481,137150);G()}J(137160,136831,484,137150);G()}J(136820,136831,447,136801);G()}function Hu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=s[c>>1];q[d+8>>2]=-1;p[d+4>>1]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(6247,6255,226,6338);G()}p[(w(e,12)+f|0)+4>>1]=s[c>>1];return}J(6342,6255,470,6404);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function EE(a,b){var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;e=q[a+48>>2];f=q[a+4>>2];a:{b:{c:{d:{d=q[a+16>>2];if((d|0)!=286){if((d|0)==123){break c}if((d|0)!=40){break d}if(q[a+8>>2]!=(f|0)){xj(a,127689)}yj(a);e:{if(q[a+16>>2]==41){q[c+8>>2]=0;break e}Tk(a,c+8|0,0);if(q[a+16>>2]==44){while(1){yj(a);pm(q[a+48>>2],c+8|0);Tk(a,c+8|0,0);if(q[a+16>>2]==44){continue}break}}Qt(e,c+8|0,-1)}uo(a,41,40,f);break b}d=Ep(e,q[a+24>>2]);q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+16>>2]=d;q[c+8>>2]=4;yj(a);break b}xj(a,127738);break a}wL(a,c+8|0)}a=q[b+8>>2];d=0;f:{switch(q[c+8>>2]){default:pm(e,c+8|0);case 0:d=q[e+36>>2]-a|0;break;case 13:case 14:break f}}d=dm(e,28,a,d,2);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=13;q[(q[q[e>>2]+20>>2]+(q[e+24>>2]<<2)|0)-4>>2]=f;q[e+36>>2]=a+1}fi=c+32|0}function Ll(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;d=-1;a:{b:{switch(c-2|0){case 3:d=-2;break a;case 4:d=-3;break a;case 6:d=-4;break a;case 13:d=-5;break a;case 15:d=-6;break a;case 19:d=-7;break a;case 21:d=-8;break a;case 25:d=-9;break a;case 26:d=-10;break a;case 28:d=-11;break a;case 31:d=-12;break a;case 33:d=-13;break a;case 36:d=-14;break a;case 38:d=-15;break a;case 40:d=-17;break a;case 51:d=-20;break a;case 55:d=-22;break a;case 136:d=-23;break a;case 62:d=-24;break a;case 64:d=-25;break a;case 65:d=-26;break a;case 71:d=-27;break a;case 2:d=-28;break a;case 12:d=-29;break a;case 1:d=-30;break a;case 11:d=-31;break a;case 24:d=-32;break a;case 0:break a;default:break b}}q[e+8>>2]=c;q[e+4>>2]=b;q[e>>2]=a;mi(4,158664,158669,e);d=-1e3}fi=e+16|0;return d}function eea(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,p=0,r=0,t=0,u=0;c=fi-48|0;fi=c;k=q[a>>2];l=q[k+4>>2];e=l;m=q[e+96>>2];n=q[e+100>>2];p=q[a+4>>2];r=q[p+4>>2];e=r;t=q[e+96>>2];u=q[e+100>>2];o[c+16|0]=1;d=s[a+8>>1];if(d){if(!(d&1)){while(1){f=f+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}e=(f<<3)+b|0;g=q[e>>2];h=q[e+4>>2]}d=s[a+10>>1];if(d){f=0;if(!(d&1)){while(1){f=f+1|0;a=d&2;d=(d&65534)>>>1|0;if(!a){continue}break}}a=(f<<3)+b|0;i=q[a>>2];j=q[a+4>>2]}q[c+40>>2]=g;q[c+44>>2]=h;q[c+24>>2]=i;q[c+28>>2]=j;q[c+8>>2]=t;q[c+12>>2]=u;q[c+32>>2]=i;q[c+36>>2]=j;ht(c+8|0,l,m,n,s[k+22>>1]);q[c+40>>2]=i;q[c+44>>2]=j;q[c+24>>2]=g;q[c+28>>2]=h;q[c+8>>2]=m;q[c+12>>2]=n;q[c+32>>2]=g;q[c+36>>2]=h;ht(c+8|0,r,t,u,s[p+22>>1]);fi=c+48|0}function dea(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,p=0,r=0,t=0,u=0;c=fi-48|0;fi=c;k=q[a>>2];l=q[k+4>>2];e=l;m=q[e+96>>2];n=q[e+100>>2];p=q[a+4>>2];r=q[p+4>>2];e=r;t=q[e+96>>2];u=q[e+100>>2];o[c+16|0]=0;d=s[a+8>>1];if(d){if(!(d&1)){while(1){f=f+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}e=(f<<3)+b|0;g=q[e>>2];h=q[e+4>>2]}d=s[a+10>>1];if(d){f=0;if(!(d&1)){while(1){f=f+1|0;a=d&2;d=(d&65534)>>>1|0;if(!a){continue}break}}a=(f<<3)+b|0;i=q[a>>2];j=q[a+4>>2]}q[c+40>>2]=g;q[c+44>>2]=h;q[c+24>>2]=i;q[c+28>>2]=j;q[c+8>>2]=t;q[c+12>>2]=u;q[c+32>>2]=i;q[c+36>>2]=j;ht(c+8|0,l,m,n,s[k+22>>1]);q[c+40>>2]=i;q[c+44>>2]=j;q[c+24>>2]=g;q[c+28>>2]=h;q[c+8>>2]=m;q[c+12>>2]=n;q[c+32>>2]=g;q[c+36>>2]=h;ht(c+8|0,r,t,u,s[p+22>>1]);fi=c+48|0}function p9(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0;b=fi-48|0;fi=b;a:{d=Zi(a,1,b+44|0);if(!(r[d+415|0]&8)){c=sm(a,2);b:{c:{if(c){e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if((e|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(b+16|0,j,q[b+44>>2],1);f=u[c+4>>2];g=u[c>>2];h=u[c+8>>2];break c}c=pn(a,2);if(c){h=u[c+8>>2];f=u[c+4>>2];g=u[c>>2];i=u[c+12>>2];break b}c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=fk(a,-1,q[213955]);oi(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(b+16|0,e,q[b+44>>2],1);a=Dq(a,2);Io(b,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);f=u[b+4>>2];g=u[b>>2];h=u[b+8>>2]}i=u[b+28>>2]}u[d+16>>2]=g;u[d+28>>2]=i;u[d+24>>2]=h;u[d+20>>2]=f;q[d+412>>2]=q[d+412>>2]|2097152}fi=b+48|0;return 0}J(187343,187364,162,187386);G()}function FV(a,b,c){var d=0,e=0,f=0,g=0;e=q[a>>2];if(!e){return-24832}q[c>>2]=0;a:{b:{f=q[e+4>>2];g=f-3|0;if((q[e>>2]&-2)==72|(95>>>g&1?g>>>0<7:0)){break b}d=-24704;c:{switch(f-1|0){case 0:break a;case 1:break c;default:break b}}d:{e:{d=q[a+8>>2];if((d|0)==1){e=q[a+12>>2];if(e){break e}break a}f=q[a+36>>2];if((f|0)==((e?q[e+24>>2]:0)|0)){break d}return f|q[a+12>>2]?-25216:0}f=a+20|0;d=0;g=q[a>>2];if(g){d=q[a+56>>2];if(!d){d=q[g+16>>2]}}ji[e|0](f,d,q[a+36>>2]);d=q[a+8>>2];e=q[a>>2]}d=ji[q[q[e+28>>2]+8>>2]](q[a+60>>2],d,e?q[e+24>>2]:0,a+40|0,a+20|0,b)|0;if(d){break b}if(!q[a+8>>2]){e=q[a>>2];d=0;f:{if(!e){break f}d=q[e+24>>2]}return ji[q[a+16>>2]](b,d,c)|0}a=q[a>>2];b=0;g:{if(!a){break g}b=q[a+24>>2]}q[c>>2]=b;return 0}return d}return q[a+36>>2]?-25216:0}function Bk(a,b,c){var d=0,e=0,f=0;a:{switch(r[b|0]-61|0){case 0:o[(jw(a,b+1|0,c)+c|0)-1|0]=0;return;case 3:b=b+1|0;e=Fi(b);o[a|0]=0;d=a;c=c-8|0;if(c>>>0>>0){a=Fi(a)+a|0;o[a|0]=46;o[a+1|0]=46;o[a+2|0]=46;o[a+3|0]=0;b=b+(e-c|0)|0}PB(d,b);return;default:break a}}f=OB(b,126765);d=r[126776]|r[126777]<<8;o[a+8|0]=d;o[a+9|0]=d>>>8;d=r[126772]|r[126773]<<8|(r[126774]<<16|r[126775]<<24);e=r[126768]|r[126769]<<8|(r[126770]<<16|r[126771]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=d;o[a+5|0]=d>>>8;o[a+6|0]=d>>>16;o[a+7|0]=d>>>24;c=c-17|0;c=c>>>0>>0?c:f;b:{if(r[c+b|0]){b=np(a,b,c);b=Fi(b)+b|0;o[b|0]=46;o[b+1|0]=46;o[b+2|0]=46;o[b+3|0]=0;break b}PB(a,b)}a=Fi(a)+a|0;b=r[126778]|r[126779]<<8;o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=r[126780]}function Wx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;e=li(a);f=ii;d=q[239986];h=q[d+100>>2];c=q[d+84>>2];a=-1;a:{if((h|0)==q[d+92>>2]-c>>4){break a}i=d+76|0;b:{a=q[d+80>>2];c:{if(!a){break c}b=q[q[i>>2]+(lwa(e,f,a)<<2)>>2];if((b|0)==-1){break c}a=b;while(1){a=(a<<4)+c|0;if((e|0)==q[a>>2]&(f|0)==q[a+4>>2]){break b}a=q[a+12>>2];if((a|0)!=-1){continue}break}}a=w(h,1056)+d|0;q[a+128>>2]=1065353216;q[a+120>>2]=0;q[a+124>>2]=1065353216;q[a+112>>2]=e;q[a+116>>2]=f;c=a;a=q[d+33912>>2]<<3;b=xi(a);q[c+132>>2]=b;qi(b,0,a);q[g+12>>2]=h;As(i,e,f,g+12|0);a=h;break a}a=(b<<4)+c|0;if(q[a>>2]!=(e|0)|q[a+4>>2]!=(f|0)){while(1){b=q[((b<<4)+c|0)+12>>2];a=(b<<4)+c|0;if((e|0)!=q[a>>2]|q[a+4>>2]!=(f|0)){continue}break}}a=q[((b<<4)+c|0)+8>>2]}fi=g+16|0;return a}function zA(a,b,c,d,e){var f=0,g=0,h=0;f=fi-160|0;fi=f;q[a+4>>2]=d;q[a+8>>2]=e;q[e>>2]=a;q[a>>2]=c;kj(f+32|0,b,128);wk(f+32|0,7270,128);e=-1e3;a:{b:{c:{d:{switch(ws(b,a+4224|0)+4|0){case 3:break b;case 0:break c;case 4:break d;default:break a}}b=f+32|0;e:{switch(ws(f+32|0,a+4232|0)+4|0){case 3:break b;case 0:break c;case 4:break e;default:break a}}Ip(c,26,a);h=q[d+28060>>2];tj(h);f:{g:{e=d+28068|0;b=q[e>>2];g=d+28072|0;c=q[g>>2];if((b|0)==(c|0)){if(o[d+28076|0]&1){break g}c=b;b=d+28064|0;vi((c-q[b>>2]>>2)+4|0,4,b,g,e);c=q[g>>2];b=q[e>>2]}if((b|0)==(c|0)){break f}q[e>>2]=b+4;q[b>>2]=a;lj(h);e=0;break a}J(10015,10090,461,10169);G()}J(12486,10090,501,12510);G()}q[f+16>>2]=b;mi(4,7277,7381,f+16|0);break a}q[f>>2]=b;mi(4,7277,7288,f)}fi=f+160|0;return e}function uva(){q[74124]=li(63050);q[74125]=ii;q[74126]=li(63069);q[74127]=ii;q[74128]=li(63086);q[74129]=ii;q[74130]=li(63095);q[74131]=ii;q[74132]=li(63101);q[74133]=ii;q[74134]=li(63111);q[74135]=ii;q[74136]=li(63119);q[74137]=ii;q[74138]=li(63126);q[74139]=ii;q[74140]=li(63135);q[74141]=ii;q[74142]=li(63147);q[74143]=ii;q[74144]=li(63156);q[74145]=ii;q[74146]=li(63161);q[74147]=ii;q[74148]=li(63167);q[74149]=ii;q[74150]=li(63173);q[74151]=ii;q[74152]=li(63182);q[74153]=ii;q[74154]=li(63191);q[74155]=ii;q[74156]=li(63200);q[74157]=ii;q[74158]=li(63209);q[74159]=ii;q[74160]=li(63218);q[74161]=ii;q[74162]=li(63227);q[74163]=ii;q[74164]=li(63236);q[74165]=ii;q[74166]=li(63245);q[74167]=ii;q[74168]=li(63254);q[74169]=ii;q[74170]=li(63263);q[74171]=ii}function tva(){q[74172]=li(64134);q[74173]=ii;q[74174]=li(64153);q[74175]=ii;q[74176]=li(64170);q[74177]=ii;q[74178]=li(64179);q[74179]=ii;q[74180]=li(64185);q[74181]=ii;q[74182]=li(64195);q[74183]=ii;q[74184]=li(64203);q[74185]=ii;q[74186]=li(64210);q[74187]=ii;q[74188]=li(64219);q[74189]=ii;q[74190]=li(64231);q[74191]=ii;q[74192]=li(64240);q[74193]=ii;q[74194]=li(64245);q[74195]=ii;q[74196]=li(64251);q[74197]=ii;q[74198]=li(64257);q[74199]=ii;q[74200]=li(64266);q[74201]=ii;q[74202]=li(64275);q[74203]=ii;q[74204]=li(64284);q[74205]=ii;q[74206]=li(64293);q[74207]=ii;q[74208]=li(64302);q[74209]=ii;q[74210]=li(64311);q[74211]=ii;q[74212]=li(64320);q[74213]=ii;q[74214]=li(64329);q[74215]=ii;q[74216]=li(64338);q[74217]=ii;q[74218]=li(64347);q[74219]=ii}function sva(){q[74220]=li(64588);q[74221]=ii;q[74222]=li(64607);q[74223]=ii;q[74224]=li(64624);q[74225]=ii;q[74226]=li(64633);q[74227]=ii;q[74228]=li(64639);q[74229]=ii;q[74230]=li(64649);q[74231]=ii;q[74232]=li(64657);q[74233]=ii;q[74234]=li(64664);q[74235]=ii;q[74236]=li(64673);q[74237]=ii;q[74238]=li(64685);q[74239]=ii;q[74240]=li(64694);q[74241]=ii;q[74242]=li(64699);q[74243]=ii;q[74244]=li(64705);q[74245]=ii;q[74246]=li(64711);q[74247]=ii;q[74248]=li(64720);q[74249]=ii;q[74250]=li(64729);q[74251]=ii;q[74252]=li(64738);q[74253]=ii;q[74254]=li(64747);q[74255]=ii;q[74256]=li(64756);q[74257]=ii;q[74258]=li(64765);q[74259]=ii;q[74260]=li(64774);q[74261]=ii;q[74262]=li(64783);q[74263]=ii;q[74264]=li(64792);q[74265]=ii;q[74266]=li(64801);q[74267]=ii}function rva(){q[74268]=li(65387);q[74269]=ii;q[74270]=li(65406);q[74271]=ii;q[74272]=li(65423);q[74273]=ii;q[74274]=li(65432);q[74275]=ii;q[74276]=li(65438);q[74277]=ii;q[74278]=li(65448);q[74279]=ii;q[74280]=li(65456);q[74281]=ii;q[74282]=li(65463);q[74283]=ii;q[74284]=li(65472);q[74285]=ii;q[74286]=li(65484);q[74287]=ii;q[74288]=li(65493);q[74289]=ii;q[74290]=li(65498);q[74291]=ii;q[74292]=li(65504);q[74293]=ii;q[74294]=li(65510);q[74295]=ii;q[74296]=li(65519);q[74297]=ii;q[74298]=li(65528);q[74299]=ii;q[74300]=li(65537);q[74301]=ii;q[74302]=li(65546);q[74303]=ii;q[74304]=li(65555);q[74305]=ii;q[74306]=li(65564);q[74307]=ii;q[74308]=li(65573);q[74309]=ii;q[74310]=li(65582);q[74311]=ii;q[74312]=li(65591);q[74313]=ii;q[74314]=li(65600);q[74315]=ii}function qva(){q[74316]=li(65846);q[74317]=ii;q[74318]=li(65865);q[74319]=ii;q[74320]=li(65882);q[74321]=ii;q[74322]=li(65891);q[74323]=ii;q[74324]=li(65897);q[74325]=ii;q[74326]=li(65907);q[74327]=ii;q[74328]=li(65915);q[74329]=ii;q[74330]=li(65922);q[74331]=ii;q[74332]=li(65931);q[74333]=ii;q[74334]=li(65943);q[74335]=ii;q[74336]=li(65952);q[74337]=ii;q[74338]=li(65957);q[74339]=ii;q[74340]=li(65963);q[74341]=ii;q[74342]=li(65969);q[74343]=ii;q[74344]=li(65978);q[74345]=ii;q[74346]=li(65987);q[74347]=ii;q[74348]=li(65996);q[74349]=ii;q[74350]=li(66005);q[74351]=ii;q[74352]=li(66014);q[74353]=ii;q[74354]=li(66023);q[74355]=ii;q[74356]=li(66032);q[74357]=ii;q[74358]=li(66041);q[74359]=ii;q[74360]=li(66050);q[74361]=ii;q[74362]=li(66059);q[74363]=ii}function pva(){q[74364]=li(66643);q[74365]=ii;q[74366]=li(66662);q[74367]=ii;q[74368]=li(66679);q[74369]=ii;q[74370]=li(66688);q[74371]=ii;q[74372]=li(66694);q[74373]=ii;q[74374]=li(66704);q[74375]=ii;q[74376]=li(66712);q[74377]=ii;q[74378]=li(66719);q[74379]=ii;q[74380]=li(66728);q[74381]=ii;q[74382]=li(66740);q[74383]=ii;q[74384]=li(66749);q[74385]=ii;q[74386]=li(66754);q[74387]=ii;q[74388]=li(66760);q[74389]=ii;q[74390]=li(66766);q[74391]=ii;q[74392]=li(66775);q[74393]=ii;q[74394]=li(66784);q[74395]=ii;q[74396]=li(66793);q[74397]=ii;q[74398]=li(66802);q[74399]=ii;q[74400]=li(66811);q[74401]=ii;q[74402]=li(66820);q[74403]=ii;q[74404]=li(66829);q[74405]=ii;q[74406]=li(66838);q[74407]=ii;q[74408]=li(66847);q[74409]=ii;q[74410]=li(66856);q[74411]=ii}function ova(){q[74412]=li(67302);q[74413]=ii;q[74414]=li(67321);q[74415]=ii;q[74416]=li(67338);q[74417]=ii;q[74418]=li(67347);q[74419]=ii;q[74420]=li(67353);q[74421]=ii;q[74422]=li(67363);q[74423]=ii;q[74424]=li(67371);q[74425]=ii;q[74426]=li(67378);q[74427]=ii;q[74428]=li(67387);q[74429]=ii;q[74430]=li(67399);q[74431]=ii;q[74432]=li(67408);q[74433]=ii;q[74434]=li(67413);q[74435]=ii;q[74436]=li(67419);q[74437]=ii;q[74438]=li(67425);q[74439]=ii;q[74440]=li(67434);q[74441]=ii;q[74442]=li(67443);q[74443]=ii;q[74444]=li(67452);q[74445]=ii;q[74446]=li(67461);q[74447]=ii;q[74448]=li(67470);q[74449]=ii;q[74450]=li(67479);q[74451]=ii;q[74452]=li(67488);q[74453]=ii;q[74454]=li(67497);q[74455]=ii;q[74456]=li(67506);q[74457]=ii;q[74458]=li(67515);q[74459]=ii}function nva(){q[74462]=li(72413);q[74463]=ii;q[74464]=li(72432);q[74465]=ii;q[74466]=li(72449);q[74467]=ii;q[74468]=li(72458);q[74469]=ii;q[74470]=li(72464);q[74471]=ii;q[74472]=li(72474);q[74473]=ii;q[74474]=li(72482);q[74475]=ii;q[74476]=li(72489);q[74477]=ii;q[74478]=li(72498);q[74479]=ii;q[74480]=li(72510);q[74481]=ii;q[74482]=li(72519);q[74483]=ii;q[74484]=li(72524);q[74485]=ii;q[74486]=li(72530);q[74487]=ii;q[74488]=li(72536);q[74489]=ii;q[74492]=li(72545);q[74493]=ii;q[74494]=li(72554);q[74495]=ii;q[74496]=li(72563);q[74497]=ii;q[74498]=li(72572);q[74499]=ii;q[74500]=li(72581);q[74501]=ii;q[74502]=li(72590);q[74503]=ii;q[74504]=li(72599);q[74505]=ii;q[74506]=li(72608);q[74507]=ii;q[74508]=li(72617);q[74509]=ii;q[74510]=li(72626);q[74511]=ii}function mva(){q[74512]=li(73206);q[74513]=ii;q[74514]=li(73225);q[74515]=ii;q[74516]=li(73242);q[74517]=ii;q[74518]=li(73251);q[74519]=ii;q[74520]=li(73257);q[74521]=ii;q[74522]=li(73267);q[74523]=ii;q[74524]=li(73275);q[74525]=ii;q[74526]=li(73282);q[74527]=ii;q[74528]=li(73291);q[74529]=ii;q[74530]=li(73303);q[74531]=ii;q[74532]=li(73312);q[74533]=ii;q[74534]=li(73317);q[74535]=ii;q[74536]=li(73323);q[74537]=ii;q[74538]=li(73329);q[74539]=ii;q[74540]=li(73338);q[74541]=ii;q[74542]=li(73347);q[74543]=ii;q[74544]=li(73356);q[74545]=ii;q[74546]=li(73365);q[74547]=ii;q[74548]=li(73374);q[74549]=ii;q[74550]=li(73383);q[74551]=ii;q[74552]=li(73392);q[74553]=ii;q[74554]=li(73401);q[74555]=ii;q[74556]=li(73410);q[74557]=ii;q[74558]=li(73419);q[74559]=ii}function lva(){q[74560]=li(73701);q[74561]=ii;q[74562]=li(73720);q[74563]=ii;q[74564]=li(73737);q[74565]=ii;q[74566]=li(73746);q[74567]=ii;q[74568]=li(73752);q[74569]=ii;q[74570]=li(73762);q[74571]=ii;q[74572]=li(73770);q[74573]=ii;q[74574]=li(73777);q[74575]=ii;q[74576]=li(73786);q[74577]=ii;q[74578]=li(73798);q[74579]=ii;q[74580]=li(73807);q[74581]=ii;q[74582]=li(73812);q[74583]=ii;q[74584]=li(73818);q[74585]=ii;q[74586]=li(73824);q[74587]=ii;q[74588]=li(73833);q[74589]=ii;q[74590]=li(73842);q[74591]=ii;q[74592]=li(73851);q[74593]=ii;q[74594]=li(73860);q[74595]=ii;q[74596]=li(73869);q[74597]=ii;q[74598]=li(73878);q[74599]=ii;q[74600]=li(73887);q[74601]=ii;q[74602]=li(73896);q[74603]=ii;q[74604]=li(73905);q[74605]=ii;q[74606]=li(73914);q[74607]=ii}function bz(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-1136|0;fi=b;c=q[72165];d=q[72162];e=q[72161];f=q[72160];g=q[72159];h=q[72158];lk(a,q[72157],b+112|0);if(_k(b+112|0)){q[b+96>>2]=b+112;mi(2,195338,195626,b+96|0);Zk(b+112|0)}lk(a,h,b+112|0);if(_k(b+112|0)){q[b+80>>2]=b+112;mi(2,195338,195626,b+80|0);Zk(b+112|0)}lk(a,g,b+112|0);if(_k(b+112|0)){q[b+64>>2]=b+112;mi(2,195338,195626,b- -64|0);Zk(b+112|0)}lk(a,f,b+112|0);if(_k(b+112|0)){q[b+48>>2]=b+112;mi(2,195338,195626,b+48|0);Zk(b+112|0)}lk(a,e,b+112|0);if(_k(b+112|0)){q[b+32>>2]=b+112;mi(2,195338,195626,b+32|0);Zk(b+112|0)}lk(a,d,b+112|0);if(_k(b+112|0)){q[b+16>>2]=b+112;mi(2,195338,195626,b+16|0);Zk(b+112|0)}lk(a,c,b+112|0);if(_k(b+112|0)){q[b>>2]=b+112;mi(2,195338,195626,b);Zk(b+112|0)}fi=b+1136|0}function Zva(){q[73230]=li(33101);q[73231]=ii;q[73232]=li(33120);q[73233]=ii;q[73234]=li(33137);q[73235]=ii;q[73236]=li(33146);q[73237]=ii;q[73238]=li(33152);q[73239]=ii;q[73240]=li(33162);q[73241]=ii;q[73242]=li(33170);q[73243]=ii;q[73244]=li(33177);q[73245]=ii;q[73246]=li(33186);q[73247]=ii;q[73248]=li(33198);q[73249]=ii;q[73250]=li(33207);q[73251]=ii;q[73252]=li(33212);q[73253]=ii;q[73254]=li(33218);q[73255]=ii;q[73256]=li(33224);q[73257]=ii;q[73260]=li(33233);q[73261]=ii;q[73262]=li(33242);q[73263]=ii;q[73264]=li(33251);q[73265]=ii;q[73266]=li(33260);q[73267]=ii;q[73268]=li(33269);q[73269]=ii;q[73270]=li(33278);q[73271]=ii;q[73272]=li(33287);q[73273]=ii;q[73274]=li(33296);q[73275]=ii;q[73276]=li(33305);q[73277]=ii;q[73278]=li(33314);q[73279]=ii}function Yva(){q[73280]=li(34270);q[73281]=ii;q[73282]=li(34289);q[73283]=ii;q[73284]=li(34306);q[73285]=ii;q[73286]=li(34315);q[73287]=ii;q[73288]=li(34321);q[73289]=ii;q[73290]=li(34331);q[73291]=ii;q[73292]=li(34339);q[73293]=ii;q[73294]=li(34346);q[73295]=ii;q[73296]=li(34355);q[73297]=ii;q[73298]=li(34367);q[73299]=ii;q[73300]=li(34376);q[73301]=ii;q[73302]=li(34381);q[73303]=ii;q[73304]=li(34387);q[73305]=ii;q[73306]=li(34393);q[73307]=ii;q[73308]=li(34402);q[73309]=ii;q[73310]=li(34411);q[73311]=ii;q[73312]=li(34420);q[73313]=ii;q[73314]=li(34429);q[73315]=ii;q[73316]=li(34438);q[73317]=ii;q[73318]=li(34447);q[73319]=ii;q[73320]=li(34456);q[73321]=ii;q[73322]=li(34465);q[73323]=ii;q[73324]=li(34474);q[73325]=ii;q[73326]=li(34483);q[73327]=ii}function Y2(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-32|0;fi=d;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){e=q[79152];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);e=-2;b:{if((ri(a,-1)|0)!=7){break b}if(!Sl(a,-1)){break b}e=q[79153];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;gl(a,-2);e=-4;if((am(a,-1)|0)!=(c|0)){break b}oi(a,-2);Bi(a,110352,15);gl(a,-2);if(!ri(a,-1)){break b}Hi(a,-3);h=1;zk(a,1,1);q[b>>2]=Vi(a,-1)}oi(a,e);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}fi=d+32|0;return h}q[d+12>>2]=g;q[d+4>>2]=836;q[d+8>>2]=0;q[d>>2]=110448;mi(4,110525,111068,d);J(111140,110448,1449,111157);G()}q[d+28>>2]=a;q[d+24>>2]=g;q[d+20>>2]=836;q[d+16>>2]=110448;mi(4,110525,111171,d+16|0);J(111242,110448,1472,111261);G()}function Wva(){q[73342]=li(37686);q[73343]=ii;q[73344]=li(37705);q[73345]=ii;q[73346]=li(37722);q[73347]=ii;q[73348]=li(37731);q[73349]=ii;q[73350]=li(37737);q[73351]=ii;q[73352]=li(37747);q[73353]=ii;q[73354]=li(37755);q[73355]=ii;q[73356]=li(37762);q[73357]=ii;q[73358]=li(37771);q[73359]=ii;q[73360]=li(37783);q[73361]=ii;q[73362]=li(37792);q[73363]=ii;q[73364]=li(37797);q[73365]=ii;q[73366]=li(37803);q[73367]=ii;q[73368]=li(37809);q[73369]=ii;q[73372]=li(37818);q[73373]=ii;q[73374]=li(37827);q[73375]=ii;q[73376]=li(37836);q[73377]=ii;q[73378]=li(37845);q[73379]=ii;q[73380]=li(37854);q[73381]=ii;q[73382]=li(37863);q[73383]=ii;q[73384]=li(37872);q[73385]=ii;q[73386]=li(37881);q[73387]=ii;q[73388]=li(37890);q[73389]=ii;q[73390]=li(37899);q[73391]=ii}function Rva(){q[73750]=li(47913);q[73751]=ii;q[73752]=li(47932);q[73753]=ii;q[73754]=li(47949);q[73755]=ii;q[73756]=li(47958);q[73757]=ii;q[73758]=li(47964);q[73759]=ii;q[73760]=li(47974);q[73761]=ii;q[73762]=li(47982);q[73763]=ii;q[73764]=li(47989);q[73765]=ii;q[73766]=li(47998);q[73767]=ii;q[73768]=li(48010);q[73769]=ii;q[73770]=li(48019);q[73771]=ii;q[73772]=li(48024);q[73773]=ii;q[73774]=li(48030);q[73775]=ii;q[73776]=li(48036);q[73777]=ii;q[73780]=li(48045);q[73781]=ii;q[73782]=li(48054);q[73783]=ii;q[73784]=li(48063);q[73785]=ii;q[73786]=li(48072);q[73787]=ii;q[73788]=li(48081);q[73789]=ii;q[73790]=li(48090);q[73791]=ii;q[73792]=li(48099);q[73793]=ii;q[73794]=li(48108);q[73795]=ii;q[73796]=li(48117);q[73797]=ii;q[73798]=li(48126);q[73799]=ii}function Kva(){q[73030]=li(31114);q[73031]=ii;q[73032]=li(31133);q[73033]=ii;q[73034]=li(31150);q[73035]=ii;q[73036]=li(31159);q[73037]=ii;q[73038]=li(31165);q[73039]=ii;q[73040]=li(31175);q[73041]=ii;q[73042]=li(31183);q[73043]=ii;q[73044]=li(31190);q[73045]=ii;q[73046]=li(31199);q[73047]=ii;q[73048]=li(31211);q[73049]=ii;q[73050]=li(31220);q[73051]=ii;q[73052]=li(31225);q[73053]=ii;q[73054]=li(31231);q[73055]=ii;q[73056]=li(31237);q[73057]=ii;q[73060]=li(31246);q[73061]=ii;q[73062]=li(31255);q[73063]=ii;q[73064]=li(31264);q[73065]=ii;q[73066]=li(31273);q[73067]=ii;q[73068]=li(31282);q[73069]=ii;q[73070]=li(31291);q[73071]=ii;q[73072]=li(31300);q[73073]=ii;q[73074]=li(31309);q[73075]=ii;q[73076]=li(31318);q[73077]=ii;q[73078]=li(31327);q[73079]=ii}function Hva(){q[73080]=li(31638);q[73081]=ii;q[73082]=li(31657);q[73083]=ii;q[73084]=li(31674);q[73085]=ii;q[73086]=li(31683);q[73087]=ii;q[73088]=li(31689);q[73089]=ii;q[73090]=li(31699);q[73091]=ii;q[73092]=li(31707);q[73093]=ii;q[73094]=li(31714);q[73095]=ii;q[73096]=li(31723);q[73097]=ii;q[73098]=li(31735);q[73099]=ii;q[73100]=li(31744);q[73101]=ii;q[73102]=li(31749);q[73103]=ii;q[73104]=li(31755);q[73105]=ii;q[73106]=li(31761);q[73107]=ii;q[73108]=li(31770);q[73109]=ii;q[73110]=li(31779);q[73111]=ii;q[73112]=li(31788);q[73113]=ii;q[73114]=li(31797);q[73115]=ii;q[73116]=li(31806);q[73117]=ii;q[73118]=li(31815);q[73119]=ii;q[73120]=li(31824);q[73121]=ii;q[73122]=li(31833);q[73123]=ii;q[73124]=li(31842);q[73125]=ii;q[73126]=li(31851);q[73127]=ii}function u6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+36>>2];if(h>>>0>=q[a+40>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(46091,45892,151,46112);G()}J(46117,45268,481,46132);G()}J(46142,45268,484,46132);G()}J(45837,45268,447,45848);G()}function r6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+36>>2];if(h>>>0>=q[a+40>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+36>>2];if(e>>>0>=q[a+40>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+32>>2];q[a+32>>2]=f-q[a+16>>2]>>3;return}break a}J(47592,47613,151,47698);G()}J(47703,47134,481,47718);G()}J(47728,47134,484,47718);G()}J(47308,47134,447,47319);G()}function lE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;xwa(+a);b=uwa(1)|0;e=uwa(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}xwa(+(a*0x40000000000000));b=uwa(1)|0;e=uwa(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);vwa(0,e|0);vwa(1,(b&1048575)+1072079006|0);a=+wwa()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a} +function Hna(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;b=ti-432|0;ti=b;Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);f=q[c+4>>2];q[b+424>>2]=0;q[b+428>>2]=0;q[b+416>>2]=0;q[b+420>>2]=0;q[b+408>>2]=0;q[b+412>>2]=0;q[b+400>>2]=0;q[b+404>>2]=0;$l(a,b+400|0);q[b+392>>2]=0;q[b+396>>2]=0;q[b+384>>2]=0;q[b+388>>2]=0;q[b+376>>2]=0;q[b+380>>2]=0;q[b+368>>2]=0;q[b+372>>2]=0;qk(a,1,b+368|0,b+400|0);c=q[q[q[c+4>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+3216>>2];g=q[c+3220>>2]}b:{if((e|0)!=q[b+368>>2]|(g|0)!=q[b+372>>2]){a=Bi(a,14950,0);break b}c:{if(ek(a,2)){c=zi(dj(a,2,0));e=wi;break c}c=Zk(a,2);e=wi}l=Vm(q[q[f+80>>2]+8>>2],q[b+384>>2],q[b+388>>2]);if(!l){q[b>>2]=Mi(q[b+384>>2],q[b+388>>2]);a=Bi(a,15011,b);break b}d:{if(q[a+8>>2]-q[a+12>>2]>>4<3){f=0;g=0;i=0;break d}mj(a,3,5);Qi(a,3);Ki(a,-1,15053);d=Ei(a,-1);e:{if(!d){f=0;g=0;break e}f=Mj(a,-1);h=wi;g=1}Ci(a,-2);Ki(a,-1,15057);f:{i=Ei(a,-1);if(!i){break f}if(d){a=Bi(a,15063,0);break b}if(!Bj(a,-1)){a=Bi(a,15116,0);break b}d=Xi(a,-1);f=d-1|0;if((d|0)>0){break f}c=Mi(c,e);q[b+228>>2]=f;q[b+224>>2]=c;a=Bi(a,15174,b+224|0);break b}Ci(a,-2);Ci(a,-2);i=(i|0)!=0}k=mp(b+248|0);o[b+240|0]=g;d=r[b+364|0]|r[b+365|0]<<8|(r[b+366|0]<<16|r[b+367|0]<<24);o[b+244|0]=d;o[b+245|0]=d>>>8;o[b+246|0]=d>>>16;o[b+247|0]=d>>>24;d=r[b+361|0]|r[b+362|0]<<8|(r[b+363|0]<<16|r[b+364|0]<<24);o[b+241|0]=d;o[b+242|0]=d>>>8;o[b+243|0]=d>>>16;o[b+244|0]=d>>>24;d=q[b+244>>2];q[b+216>>2]=q[b+240>>2];q[b+220>>2]=d;j=f|j;q[b+232>>2]=j;d=h;q[b+236>>2]=d;q[b+208>>2]=j;q[b+212>>2]=d;g:{h:{i:{j:{k:{l:{m:{h=jr(l,q[b+392>>2],q[b+396>>2],c,e,b+208|0,k);switch(h+12|0){case 7:break h;case 11:break i;case 0:break j;case 1:break k;case 2:break l;case 12:break m;default:break g}}if(!(!i|!(o[k+109|0]&1))){q[b+48>>2]=Mi(c,e);a=Bi(a,15235,b+48|0);break b}if(!(!g|o[k+109|0]&1)){q[b+32>>2]=Mi(c,e);a=Bi(a,15300,b+32|0);break b}QK(a,k+32|0);a=1;break b}if(g){f=Mi(j,d);q[b+84>>2]=Mi(c,e);q[b+80>>2]=f;a=Bi(a,15366,b+80|0);break b}q[b+64>>2]=Mi(c,e);a=Bi(a,15409,b- -64|0);break b}if(g){q[b+112>>2]=Mi(c,e);a=Bi(a,15434,b+112|0);break b}q[b+100>>2]=Mi(c,e);q[b+96>>2]=f+1;a=Bi(a,15514,b+96|0);break b}if(!g){q[b+128>>2]=Mi(c,e);a=Bi(a,15549,b+128|0);break b}f=Mi(j,d);q[b+148>>2]=Mi(c,e);q[b+144>>2]=f;a=Bi(a,15632,b+144|0);break b}f=Mi(q[b+384>>2],q[b+388>>2]);c=Mi(c,e);e=q[b+396>>2];g=e;h=q[b+392>>2];if(e|h){e=Mi(h,g);q[b+184>>2]=c;q[b+180>>2]=e;q[b+176>>2]=f;a=Bi(a,15667,b+176|0);break b}q[b+164>>2]=c;q[b+160>>2]=f;a=Bi(a,15714,b+160|0);break b}c=Mi(q[b+392>>2],q[b+396>>2]);q[b+196>>2]=dj(a,1,0);q[b+192>>2]=c;a=Bi(a,15758,b+192|0);break b}q[b+16>>2]=h;a=Bi(a,15808,b+16|0)}ti=b+432|0;return a|0}function xM(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,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,H=0,I=0,J=0,K=0,L=0,M=0,N=0;e=ti-256|0;ti=e;a:{if(!b){qr(a);d=1;break a}qM(a,b);Gi(kt(a,0),c,b);k=a+12|0;jt(k,0);jt(k,1024);i=a+24|0;bw(i,0);bw(i,b<<1);zw(e+128|0);a=0;while(1){f=r[a+c|0];if(f>>>0>31){break a}f=(e+128|0)+(f<<2)|0;q[f>>2]=q[f>>2]+1;a=a+1|0;if((b|0)!=(a|0)){continue}break}q[e>>2]=0;q[e+4>>2]=0;a=q[e+132>>2];f=a<<1;q[e+8>>2]=f;d=f;f=q[e+136>>2];d=d+f<<1;q[e+12>>2]=d;h=q[e+140>>2];d=h+d<<1;q[e+16>>2]=d;g=q[e+144>>2];d=g+d<<1;q[e+20>>2]=d;j=q[e+148>>2];d=j+d<<1;q[e+24>>2]=d;l=q[e+152>>2];d=l+d<<1;q[e+28>>2]=d;m=q[e+156>>2];d=d+m<<1;q[e+32>>2]=d;n=q[e+160>>2];d=d+n<<1;q[e+36>>2]=d;o=q[e+164>>2];d=d+o<<1;q[e+40>>2]=d;t=q[e+168>>2];d=d+t<<1;q[e+44>>2]=d;u=q[e+172>>2];d=d+u<<1;q[e+48>>2]=d;v=q[e+176>>2];d=d+v<<1;q[e+52>>2]=d;w=q[e+180>>2];d=d+w<<1;q[e+56>>2]=d;x=q[e+184>>2];d=d+x<<1;q[e+60>>2]=d;y=q[e+188>>2];d=d+y<<1;q[e+64>>2]=d;z=q[e+192>>2];d=d+z<<1;q[e+68>>2]=d;A=q[e+196>>2];d=d+A<<1;q[e+72>>2]=d;B=q[e+200>>2];d=d+B<<1;q[e+76>>2]=d;C=q[e+204>>2];d=d+C<<1;q[e+80>>2]=d;D=q[e+208>>2];d=d+D<<1;q[e+84>>2]=d;E=q[e+212>>2];d=d+E<<1;q[e+88>>2]=d;F=q[e+216>>2];d=d+F<<1;q[e+92>>2]=d;G=q[e+220>>2];d=d+G<<1;q[e+96>>2]=d;H=q[e+224>>2];d=d+H<<1;q[e+100>>2]=d;I=q[e+228>>2];d=d+I<<1;q[e+104>>2]=d;J=q[e+232>>2];d=d+J<<1;q[e+108>>2]=d;K=q[e+236>>2];d=d+K<<1;q[e+112>>2]=d;L=q[e+240>>2];d=d+L<<1;q[e+116>>2]=d;M=q[e+244>>2];d=d+M<<1;q[e+120>>2]=d;N=q[e+248>>2];d=d+N<<1;q[e+124>>2]=d;if((d|0)!=-2147483648){d=0;if((((((((((((((((((((((((((l+(j+(g+(h+(a+f|0)|0)|0)|0)|0)+m|0)+n|0)+o|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)+H|0)+I|0)+J|0)+K|0)+L|0)+M|0)+N|0)!=1){break a}}d=1;if((b|0)<1){break a}j=0;f=-1;while(1){h=r[c+j|0];b:{if(!h){break b}d=(h<<2)+e|0;a=q[d>>2];q[d>>2]=a+1;g=0;d=h;while(1){g=a&1|g<<1;a=a>>>1|0;d=d-1|0;if(d){continue}break}if(h>>>0<=10){if(g>>>0>=1024){break b}a=h<<16|j;d=1<>2]){d=0;break a}q[ol(k,g)>>2]=a;g=d+g|0;if(g>>>0<1024){continue}break}break b}a=g&1023;d=q[ol(k,a)>>2];c:{if(d){a=f;f=d;break c}if(q[ol(k,a)>>2]){d=0;break a}q[ol(k,a)>>2]=f;a=f-2|0}if((f|0)>-1){d=0;break a}g=g>>>9|0;if((h|0)>11){while(1){d=0;g=g>>>1|0;l=f-(g&1)|0;if((l|0)>-1){break a}f=l^-1;if((f|0)>=q[i+4>>2]){bw(i,0-l|0)}d:{if(!s[lt(i,f)>>1]){p[lt(i,f)>>1]=a;f=a;a=f-2|0;break d}f=p[lt(i,f)>>1];if((f|0)>-1){break a}}h=h-1|0;if((h|0)>11){continue}break}}f=(g>>>1&1)-f|0;if((f|0)<1){d=0;break a}if((f|0)>q[i+4>>2]){bw(i,f)}d=0;f=f-1|0;if(s[lt(i,f)>>1]){break a}p[lt(i,f)>>1]=j;f=a}d=1;j=j+1|0;if((j|0)!=(b|0)){continue}break}}ti=e+256|0;return d}function Pha(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0;l=ti+ -64|0;ti=l;q[l+56>>2]=0;a:{if(f){s=q[g+8>>2];q[s+92>>2]=0;o[g+16|0]=1;m=q[b+8>>2];B=Ts(a,m);i=ep(a,m);x=ov(a,m);j=Ss(a,m,l+60|0);b:{if(q[l+60>>2]==2){if(!j){break a}h=q[j+48>>2];j=q[h>>2];n=q[h+4>>2];break b}n=0}y=(i|0)==6;t=0;h=i;k=y?h:0;p=Xz(a,m);m=0;z=(h|0)==5?q[q[b+12>>2]+96>>2]:z;t=h|t;A=q[e>>2];D=f>>>0>1?f:1;f=0;while(1){h=f;f=z;u=A;v=p;E=j;F=n;H=t;I=k;y=x;K=i;C=B;k=(m<<4)+b|0;p=q[k+8>>2];B=Ts(a,p);i=ep(a,p);x=ov(a,p);j=Ss(a,p,l+60|0);c:{if(q[l+60>>2]==2){if(!j){break a}n=q[j+48>>2];j=q[n>>2];n=q[n+4>>2];break c}n=0}t=(i|0)==6;A=t?i:0;p=Xz(a,p);z=0;z=(i|0)==5?q[q[k+12>>2]+96>>2]:z;t=i|0;k=A;A=q[(m<<2)+e>>2];d:{if(!m){f=h;break d}if(!((t|0)!=(H|0)|(k|0)!=(I|0)|(B|0)!=(C|0)|((j|0)!=(E|0)|(n|0)!=(F|0))|(p|0)!=(v|0)|(u|0)!=(A|0)|(f|0)!=(z|0))){f=h;break d}u=m-h|0;f=m;e:{f:{switch(K|0){case 1:f=h<<2;KJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,u,g);break e;case 0:f=h<<2;OJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,u,g);break e;case 2:f=h<<2;LJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,u,g);break e;case 5:f=h<<2;MJ(a,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,u,g);break e;case 6:break f;default:break d}}g:{h:{v=q[s+104>>2];f=q[v+20>>2];i:{if(!f){break i}f=q[q[v+16>>2]+((y>>>0)%(f>>>0)<<2)>>2];if((f|0)==-1){break i}v=q[v+24>>2];while(1){f=v+w(f,12)|0;if(q[f>>2]==(y|0)){break h}f=q[f+8>>2];if((f|0)!=-1){continue}break}}f=0;if(r[300976]){break g}o[300976]=1;q[l+32>>2]=y;Ai(4,36048,36868,l+32|0);break g}f=q[f+4>>2]}C=f;f=h<<2;NJ(a,y,C,(h<<4)+b|0,(h<<6)+c|0,f+d|0,e+f|0,u,g)}f=m}m=m+1|0;if((D|0)!=(m|0)){continue}break}h=D-f|0;j:{if(!h){break j}k:{switch(i|0){case 1:k=a;a=f<<2;KJ(k,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break j;case 0:k=a;a=f<<2;OJ(k,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break j;case 2:k=a;a=f<<2;LJ(k,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break j;case 5:k=a;a=f<<2;MJ(k,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g);break j;case 6:break k;default:break j}}l:{m:{j=q[s+104>>2];i=q[j+20>>2];n:{if(!i){break n}i=q[q[j+16>>2]+((x>>>0)%(i>>>0)<<2)>>2];if((i|0)==-1){break n}j=q[j+24>>2];while(1){n=j+w(i,12)|0;if(q[n>>2]==(x|0)){break m}i=q[n+8>>2];if((i|0)!=-1){continue}break}}i=0;if(r[300976]){break l}o[300976]=1;q[l+16>>2]=x;Ai(4,36048,36868,l+16|0);break l}i=q[(j+w(i,12)|0)+4>>2]}k=a;a=f<<2;NJ(k,x,i,(f<<4)+b|0,(f<<6)+c|0,a+d|0,a+e|0,h,g)}a=q[s+56>>2];xi[q[77441]](q[s+52>>2],q[s+60>>2]-a|0,a,0);a=(q[s+60>>2]-q[s+56>>2]|0)/36|0;q[75180]=a+q[75180];q[l+48>>2]=a;q[l+52>>2]=0;q[l+8>>2]=a;q[l+12>>2]=0}ti=l- -64|0;return}J(37906,36771,904,37922);G()}function vsa(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,s=0,t=0,v=x(0),y=0,z=0;y=ti-128|0;ti=y;a:{if(!((c|0)>6|(a|0)>2|(a|0)==(c|0))){if((a|0)==2){if((f|0)<=0){break a}g=16;while(1){m=Fi(y,0,128);k=g+i|0;o=(k|0)>(f|0);g=o?f-i|0:g;if(!((c|0)<1|(g|0)<1)){s=e+i|0;a=0;while(1){b:{c:{switch((r[(w(c,6)+207344|0)+a|0]&6)-2|0){case 4:t=q[(a<<2)+d>>2];h=0;while(1){j=h<<3;l=j+m|0;v=u[t+(h+s<<2)>>2];u[l>>2]=v+u[l>>2];j=m+(j|4)|0;u[j>>2]=v+u[j>>2];h=h+1|0;if((h|0)<(g|0)){continue}break}break b;case 2:t=q[(a<<2)+d>>2];h=0;while(1){j=m+(h<<3|4)|0;u[j>>2]=u[t+(h+s<<2)>>2]+u[j>>2];h=h+1|0;if((h|0)<(g|0)){continue}break}break b;case 0:break c;default:break b}}t=q[(a<<2)+d>>2];h=0;while(1){j=m+(h<<3)|0;u[j>>2]=u[t+(h+s<<2)>>2]+u[j>>2];h=h+1|0;if((h|0)<(g|0)){continue}break}}a=a+1|0;if((c|0)!=(a|0)){continue}break}}if(g<<1>=1){a=i<<1;s=(o?f:k)+n<<1;h=0;while(1){k=(bxa(x(u[m+(h<<2)>>2]+x(384))),Zwa(2));k=(k|0)>1136623616?k:1136623616;p[(a+h<<1)+b>>1]=(k|0)<1136689151?k:1136689151;h=h+1|0;if((s|0)!=(h|0)){continue}break}}n=n-16|0;i=i+16|0;if((i|0)<(f|0)){continue}break}s=0;if((f|0)<=0){break a}a=16;n=0;while(1){h=Fi(m,0,128);o=a+n|0;t=(o|0)>(f|0);a=t?f-n|0:a;if(!((c|0)<1|(a|0)<1)){k=e+n|0;i=0;while(1){d:{e:{switch((r[(w(c,6)+207344|0)+i|0]&6)-2|0){case 2:j=q[(i<<2)+d>>2];g=0;while(1){l=h+(g<<3|4)|0;u[l>>2]=u[j+(g+k<<2)>>2]+u[l>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}break d;case 0:j=q[(i<<2)+d>>2];g=0;while(1){l=h+(g<<3)|0;u[l>>2]=u[j+(g+k<<2)>>2]+u[l>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}break d;case 4:break e;default:break d}}j=q[(i<<2)+d>>2];g=0;while(1){l=g<<3;z=l+h|0;v=u[j+(g+k<<2)>>2];u[z>>2]=v+u[z>>2];l=h+(l|4)|0;u[l>>2]=v+u[l>>2];g=g+1|0;if((g|0)<(a|0)){continue}break}}i=i+1|0;if((i|0)!=(c|0)){continue}break}}if(a<<1>=1){i=n<<1;k=(t?f:o)+s<<1;g=0;while(1){o=(bxa(x(u[h+(g<<2)>>2]+x(384))),Zwa(2));o=(o|0)>1136623616?o:1136623616;p[(g+i<<1)+b>>1]=(o|0)<1136689151?o:1136689151;g=g+1|0;if((k|0)!=(g|0)){continue}break}}s=s-16|0;n=n+16|0;if((n|0)<(f|0)){continue}break}break a}J(207386,205607,5275,207397);G()}if((f|0)<1){break a}g=(a|0)<(c|0)?a:c;if((g|0)<=0){c=(a|0)<1;g=0;while(1){h=0;if(!c){while(1){if(b){p[b>>1]=0;b=b+2|0}else{b=0}h=h+1|0;if((h|0)!=(a|0)){continue}break}}g=g+1|0;if((g|0)!=(f|0)){continue}break}break a}while(1){n=e+h|0;i=0;while(1){if(b){m=(bxa(x(u[q[(i<<2)+d>>2]+(n<<2)>>2]+x(384))),Zwa(2));m=(m|0)>1136623616?m:1136623616;p[b>>1]=(m|0)<1136689151?m:1136689151;b=b+2|0}else{b=0}i=i+1|0;if((g|0)!=(i|0)){continue}break}i=g;if((a|0)>(c|0)){while(1){if(b){p[b>>1]=0;b=b+2|0}else{b=0}i=i+1|0;if((i|0)!=(a|0)){continue}break}}h=h+1|0;if((h|0)!=(f|0)){continue}break}}ti=y+128|0}function Gja(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=x(0),m=0,n=x(0),o=x(0),p=x(0),v=0,y=0,z=x(0),A=0,B=0,C=x(0),D=x(0),E=0,F=x(0),H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=0,T=x(0),U=x(0),V=0,W=x(0),X=x(0),Y=x(0),Z=x(0),_=x(0),$=x(0),aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=x(0),ha=x(0);E=ti-16|0;ti=E;q[E+8>>2]=0;a:{b:{c:{if((e|0)==(f|0)){break c}c=q[c+64>>2];aa=q[c+48>>2];S=q[a+4>>2];ba=q[a+8>>2]-S>>2;T=x(t[c+24>>2]);U=x(t[c+20>>2]);while(1){c=w(q[e>>2],48)+d|0;v=q[c+16>>2];A=q[c+20>>2];c=v;m=c&65535;if(m>>>0>=ba>>>0){break b}B=c>>>16|0;j=q[(m<<2)+S>>2];y=q[j+156>>2];h=q[y+4>>2];if(B>>>0>=t[h+8>>2]){break a}i=q[y+40>>2];c=i+(A>>>11&2097120)|0;m=c+32|0;d:{g=i;i=q[y+32>>2]&2147483647;k=g+i|0;m=(k|0)>(m|0)?m:k;if((m|0)>(c|0)){k=q[y+36>>2];A=k+(((A&134217727)<<5|v>>>27)&2097120)|0;v=A+32|0;V=q[y+28>>2];k=k+V|0;k=(k|0)>(v|0)?v:k;P=u[(q[h+4>>2]+(B<<5)|0)+4>>2];ca=w(i,B);while(1){v=m;if((k|0)<=(A|0)){c=c+1|0}else{Q=x(T*x(c|0));B=c+1|0;R=x(T*x(B|0));da=w((c+ca|0)-q[y+40>>2]|0,V);ea=q[j+100>>2];fa=q[y+36>>2];c=A;while(1){h=(c-fa|0)+da|0;i=s[(h<<1)+ea>>1];e:{if((i|0)==65535){c=c+1|0;break e}g=q[a+48>>2];if(g>>>0<=b>>>0){break d}g=r[h+q[j+104>>2]|0];C=u[j+80>>2];K=u[j+64>>2];F=u[j+32>>2];l=u[j+48>>2];L=u[j+84>>2];D=u[j+68>>2];H=u[j+36>>2];n=u[j+52>>2];M=u[j+88>>2];o=x(U*x(c|0));I=u[j+40>>2];p=x(o*I);z=u[j+56>>2];W=x(Q*z);N=x(P*u[j+72>>2]);X=x(M+x(x(p+W)+N));u[b+8>>2]=X;O=x(o*H);Y=x(Q*n);D=x(P*D);Z=x(L+x(x(O+Y)+D));u[b+4>>2]=Z;_=x(o*F);$=x(Q*l);o=x(P*K);K=x(C+x(x(_+$)+o));u[b>>2]=K;h=(i<<5)+aa|0;i=w(g&7,24)+49808|0;g=q[i>>2]<<3;u[b+12>>2]=u[h+g>>2];ga=u[h+(g|4)>>2];ha=p;p=x(R*z);u[b+28>>2]=M+x(x(ha+p)+N);n=x(R*n);u[b+24>>2]=L+x(x(O+n)+D);z=x(R*l);u[b+20>>2]=C+x(x(_+z)+o);u[b+16>>2]=ga;g=q[i+4>>2]<<3;u[b+32>>2]=u[g+h>>2];O=u[h+(g|4)>>2];c=c+1|0;l=x(U*x(c|0));I=x(I*l);p=x(M+x(x(I+p)+N));u[b+48>>2]=p;H=x(l*H);n=x(L+x(x(H+n)+D));u[b+44>>2]=n;F=x(l*F);l=x(C+x(x(F+z)+o));u[b+40>>2]=l;u[b+36>>2]=O;g=q[i+8>>2]<<3;u[b+52>>2]=u[g+h>>2];z=u[h+(g|4)>>2];u[b+68>>2]=p;u[b- -64>>2]=n;u[b+60>>2]=l;u[b+56>>2]=z;g=q[i+12>>2]<<3;u[b+72>>2]=u[g+h>>2];l=u[h+(g|4)>>2];u[b+88>>2]=M+x(x(I+W)+N);u[b+84>>2]=L+x(x(H+Y)+D);u[b+80>>2]=C+x(x(F+$)+o);u[b+76>>2]=l;g=q[i+16>>2]<<3;u[b+92>>2]=u[g+h>>2];C=u[h+(g|4)>>2];u[b+108>>2]=X;u[b+104>>2]=Z;u[b+100>>2]=K;u[b+96>>2]=C;i=q[i+20>>2]<<3;u[b+112>>2]=u[i+h>>2];u[b+116>>2]=u[h+(i|4)>>2];b=b+120|0}if((c|0)<(k|0)){continue}break}c=B}if((v|0)>(c|0)){continue}break}}e=e+4|0;if((f|0)!=(e|0)){continue}break c}break}q[E>>2]=(g-q[a+44>>2]|0)/120;Ai(4,5e4,50008,E);b=q[a+48>>2]}ti=E+16|0;return b}J(50672,50529,479,50661);G()}J(50624,50636,189,50661);G()}function rka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=0,m=0,n=0;b=ti-160|0;ti=b;f=q[a+8>>2];c=q[f+20>>2];q[75668]=q[75668]+(c-q[f+16>>2]>>4);c=c-q[f+16>>2]>>4;q[b+64>>2]=c;q[b+68>>2]=0;q[b+152>>2]=c;q[b+156>>2]=0;a:{c=q[f>>2];if((c|0)==q[f+4>>2]){break a}b:{while(1){c:{e=w(h,104)+c|0;d:{if(!q[e+8>>2]){break d}q[75690]=q[75690]+1;q[b+144>>2]=1;q[b+148>>2]=0;q[b+56>>2]=1;q[b+60>>2]=0;i=u[e+88>>2];j=x(i-u[q[a+4>>2]+4>>2]);u[e+88>>2]=j;if(j>2];e:{if(!(i>=x(0)^1)){c=f0(c);if(!c){break d}q[b+48>>2]=c;Ai(4,44498,44506,b+48|0);break e}c=i0(c);d=r[e+96|0];if(!(c|d&6)){g=kF(q[e+8>>2]);q[e+8>>2]=0;d=q[f+68>>2];if(!d){break c}c=q[f+76>>2];if(!c|c>>>0>t[f+72>>2]){break b}c=c-1|0;q[f+76>>2]=c;q[(c<<2)+d>>2]=h;if(g){q[b>>2]=g;Ai(4,44498,44532,b);break e}if(!(q[e+40>>2]|q[e+44>>2])|q[e+92>>2]==-1){break d}c=q[61830];l=q[c+8>>2];m=q[c+12>>2];d=e+16|0;c=q[d+28>>2];q[b+128>>2]=q[d+24>>2];q[b+132>>2]=c;c=q[d+20>>2];q[b+120>>2]=q[d+16>>2];q[b+124>>2]=c;c=q[d+12>>2];q[b+112>>2]=q[d+8>>2];q[b+116>>2]=c;c=q[d+4>>2];q[b+104>>2]=q[d>>2];q[b+108>>2]=c;c=q[e+76>>2];q[b+96>>2]=q[e+72>>2];q[b+100>>2]=c;g=e- -64|0;c=q[g+4>>2];q[b+88>>2]=q[g>>2];q[b+92>>2]=c;c=q[e+60>>2];q[b+80>>2]=q[e+56>>2];q[b+84>>2]=c;k=q[e+52>>2];g=q[e+48>>2];q[b+72>>2]=g;q[b+76>>2]=k;c=e+48|0;f:{if(!wo(g,k)){break f}if(!wo(q[b+104>>2],q[b+108>>2])){break f}q[b+136>>2]=q[e+92>>2];if(!vo(b+72|0,b+104|0,l,m,0,q[e+84>>2],q[61830],b+136|0,4,0)){break f}Ai(4,44498,44559,0)}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;break d}if(d&1){c=iF(q[e+8>>2]);if(!c){break d}q[b+32>>2]=c;Ai(4,44498,44532,b+32|0);break e}if(!(d&2)){break d}o[e+96|0]=d&253;c=g0(q[e+8>>2],(d&4)>>>2|0);if(!c){break d}q[b+16>>2]=c;Ai(4,44498,44598,b+16|0)}n=-1e3}h=h+1|0;c=q[f>>2];if(h>>>0<(q[f+4>>2]-c|0)/104>>>0){continue}break a}break}J(45251,45015,140,45258);G()}J(45263,45015,141,45258);G()}gF();ti=b+160|0;return n|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,n=0,t=0,u=0;if((c|0)>=0){k=s[b+2>>1];i=k?4:3;e=k?7:138;j=a+5817|0;g=-1;while(1){u=n;l=k;n=n+1|0;k=s[((n<<2)+b|0)+2>>1];d=f+1|0;a:{if(!((l|0)!=(k|0)|(e|0)<=(d|0))){f=d;break a}b:{if((d|0)<(i|0)){f=(l<<2)+a|0;g=f+2684|0;h=f+2686|0;f=q[a+5820>>2];while(1){i=s[h>>1];m=s[g>>1];e=s[a+5816>>1]|m<>1]=e;t=a;c:{if((16-i|0)<(f|0)){f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=e;f=q[a+20>>2];q[a+20>>2]=f+1;o[f+q[a+8>>2]|0]=r[j|0];f=q[a+5820>>2];p[a+5816>>1]=m>>>16-f;f=(f+i|0)-16|0;break c}f=f+i|0}q[t+5820>>2]=f;d=d-1|0;if(d){continue}break}break b}t=a;d:{if(l){e:{if((g|0)==(l|0)){e=q[a+5820>>2];f=d;break e}d=(l<<2)+a|0;e=s[d+2686>>1];h=s[d+2684>>1];g=q[a+5820>>2];m=s[a+5816>>1]|h<>1]=m;d=a;f:{if((g|0)>(16-e|0)){g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=m;g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=r[j|0];g=q[a+5820>>2];p[a+5816>>1]=h>>>16-g;i=(e+g|0)-16|0;break f}i=e+g|0}e=i;q[d+5820>>2]=e}h=s[a+2748>>1];d=s[a+5816>>1]|h<>1];g:{if((16-g|0)<(e|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break g}e=e+g|0}q[a+5820>>2]=e;f=f+65533&65535;d=f<>1]=d;if((e|0)>=15){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-14|0;break d}f=e+2|0;break d}if((f|0)<=9){h=s[a+2752>>1];e=q[a+5820>>2];d=s[a+5816>>1]|h<>1];h:{if((e|0)>(16-g|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break h}e=e+g|0}q[a+5820>>2]=e;f=f+65534&65535;d=f<>1]=d;if((e|0)>=14){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-13|0;break d}f=e+3|0;break d}h=s[a+2756>>1];e=q[a+5820>>2];d=s[a+5816>>1]|h<>1];i:{if((e|0)>(16-g|0)){p[a+5816>>1]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=q[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break i}e=e+g|0}q[a+5820>>2]=e;f=f+65526&65535;d=f<>1]=d;if((e|0)>=10){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[j|0];d=f;f=q[a+5820>>2];p[a+5816>>1]=d>>>16-f;f=f-9|0;break d}f=e+7|0}q[t+5820>>2]=f}f=0;j:{if(!k){e=138;d=3;break j}d=(l|0)==(k|0);e=d?6:7;d=d?3:4}i=d;g=l}if((c|0)!=(u|0)){continue}break}}}function vl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;e=Y7(a,b);f=wi;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}if(!(!r[862340]|b>>>0>1024)){b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}h=q[215584];wj(h);c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215595];d:{e:{if(!c){break e}c=q[q[215594]+(Qwa(e,f,c)<<2)>>2];if((c|0)==-1){break e}g=q[215596];while(1){c=g+w(c,24)|0;if(q[c>>2]==(e|0)&(f|0)==q[c+4>>2]){break d}c=q[c+16>>2];if((c|0)!=-1){continue}break}}if(q[215600]==((q[215598]-q[215596]|0)/24|0)){f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=(q[215598]-q[215596]|0)/24|0;g:{if(o[862440]&1){break g}if(!Xj()){break g}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;g=Hj();o[862340]=0;q[215584]=g;Wj()}fv(862376,1024,c+256|0)}a=Gi(Ji(b+1|0),a,b);o[a+b|0]=0;p[d+12>>1]=b;q[d+8>>2]=a;Ez(862376,e,f,d+8|0)}qj(h)}ti=d+16|0;wi=f;return e|0}function dA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=ti-640|0;ti=d;f=q[c+4>>2];e=q[c>>2];u[d+120>>2]=u[c+8>>2];q[d+112>>2]=e;q[d+116>>2]=f;A8(a,b,d+112|0);f=1;dp(a,b,1,c+16|0);dp(a,b,2,c+32|0);e=q[c+68>>2];g=q[c+64>>2];u[d+632>>2]=u[c+72>>2];q[d+624>>2]=g;q[d+628>>2]=e;u[d+636>>2]=u[c+232>>2];dp(a,b,3,d+624|0);dp(a,b,4,c+48|0);e=q[c+132>>2];g=q[c+128>>2];u[d+632>>2]=u[c+136>>2];q[d+624>>2]=g;q[d+628>>2]=e;u[d+636>>2]=u[c+236>>2];dp(a,b,5,d+624|0);e=q[c+148>>2];g=q[c+144>>2];u[d+632>>2]=u[c+152>>2];q[d+624>>2]=g;q[d+628>>2]=e;u[d+636>>2]=u[c+240>>2];dp(a,b,6,d+624|0);dp(a,b,7,c+192|0);tI(a,b,q[c+268>>2]);e=q[c+92>>2];a:{if(!(!e|!r[e|0])){g=Ui(e);f=g+1|0;if(f>>>0>=513){f=q[c+100>>2];q[d+60>>2]=512;q[d+56>>2]=511-g;q[d+48>>2]=e;q[d+52>>2]=f?f:37197;Ai(4,36048,37100,d+48|0);f=0;break a}zj(d+112|0,e,f);f=Oj(d+112|0,47);e=0;b:{if(!f){break b}o[f|0]=0;e=f+1|0}g=Mz(a,b,d+112|0);f=1;c:{if(!g){break c}f=q[c+100>>2];q[d+88>>2]=g;q[d+84>>2]=f?f:37197;q[d+80>>2]=d+112;Ai(4,36048,37205,d+80|0);f=0}if(!e){break a}g=iv(a,b,zi(e),wi,x(0),x(1),0,0,0);if(g){f=q[c+100>>2];q[d+76>>2]=g;q[d+64>>2]=e;q[d+72>>2]=f?f:37197;q[d+68>>2]=d+112;Ai(4,36048,37261,d- -64|0);f=0}if((Nba(a,b)|0)!=1){break a}rv(a,b,1);break a}Mz(a,b,37343)}e=q[c+172>>2];d:{if(!(!e|!r[e|0])){g=Oz(a,b,e);if(!g){break d}e=q[c+100>>2];h=q[c+172>>2];q[d+40>>2]=g;q[d+32>>2]=h;q[d+36>>2]=e?e:37197;Ai(4,36048,37344,d+32|0)}Oz(a,b,37343)}e=q[c+84>>2];K8(a,b,(e|0)==2?1:e);uI(a,b,q[c+112>>2]);nI(a,b,q[c+104>>2]);mI(a,b,q[c+108>>2]);M8(a,b,q[c+160>>2]);D8(a,b,r[c+176|0]);I8(a,b,q[c+224>>2]);H8(a,b,r[c+228|0]);J8(a,b,r[c+229|0]);if(r[c+284|0]){C8(a,b)}EI(a,b,r[c+296|0]);oI(a,b,r[c+297|0]);e:{f:{switch(q[c+80>>2]-1|0){case 0:qI(a,b,q[c+88>>2]);DI(a,b,q[c+96>>2]);B8(a,b,r[c+164|0]);sI(a,b,u[c+260>>2]);rI(a,b,u[c+264>>2]);break e;case 1:wI(a,b,q[c+216>>2]);AI(a,b,u[c+212>>2]);xI(a,b,q[c+208>>2]);vI(a,b,u[c+220>>2]);break e;case 4:Nz(a,b,zi(q[c+288>>2]),wi);break e;case 2:c=q[c+100>>2];q[d+4>>2]=-7;q[d>>2]=c?c:37197;Ai(4,36048,37402,d);f=0;break e;case 5:break f;default:break e}}e=q[a+344>>2];g=ov(a,b);j=VI(a,b);g:{h:{h=q[q[e>>2]+104>>2];e=q[h+20>>2];i:{if(!e){break i}e=q[q[h+16>>2]+((g>>>0)%(e>>>0)<<2)>>2];if((e|0)==-1){break i}h=q[h+24>>2];while(1){i=h+w(e,12)|0;if((g|0)==q[i>>2]){break h}e=q[i+8>>2];if((e|0)!=-1){continue}break}}e=0;if(r[300976]){break g}o[300976]=1;q[d+16>>2]=g;Ai(4,36048,36868,d+16|0);break g}e=q[(h+w(e,12)|0)+4>>2]}h=q[e+28>>2];if(!h){break e}q[d+124>>2]=b;q[d+120>>2]=a;e=q[e+4>>2];q[d+128>>2]=g;q[d+112>>2]=j;q[d+116>>2]=e;xi[h|0](d+104|0,d+112|0,c)}z8(a,b);ti=d+640|0;return f}function VK(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0;o[g|0]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l=q[a+52>>2];if(l){j=q[a+48>>2];while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break k}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+4>>2];if(l){j=q[a>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break j}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+12>>2];if(l){j=q[a+8>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break i}i=i+1|0;if((l|0)!=(i|0)){continue}break}}l=q[a+20>>2];if(l){j=q[a+16>>2];i=0;while(1){k=j+(i<<5)|0;if((b|0)==q[k+8>>2]&(c|0)==q[k+12>>2]){break h}i=i+1|0;if((l|0)!=(i|0)){continue}break}}m=q[a+28>>2];l:{if(!m){break l}k=q[a+24>>2];i=0;while(1){j=k+(i<<5)|0;if((b|0)==q[j+8>>2]&(c|0)==q[j+12>>2]){break g}l=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}j=0;while(1){m:{i=k+(j<<5)|0;n=q[i+24>>2];if(n){r=q[i+20>>2];i=0;while(1){p=r+(i<<3)|0;if((b|0)==q[p>>2]&(c|0)==q[p+4>>2]){break m}i=i+1|0;if((n|0)!=(i|0)){continue}break}}j=j+1|0;l=m>>>0>j>>>0;if((j|0)!=(m|0)){continue}break l}break}q[d>>2]=q[k+(j<<5)>>2];q[h>>2]=i;if(l){break a}}m=q[a+36>>2];n:{if(!m){break n}k=q[a+32>>2];i=0;while(1){j=k+(i<<5)|0;if((b|0)==q[j+8>>2]&(c|0)==q[j+12>>2]){break f}l=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}j=0;while(1){o:{i=k+(j<<5)|0;n=q[i+24>>2];if(n){r=q[i+20>>2];i=0;while(1){p=r+(i<<3)|0;if((b|0)==q[p>>2]&(c|0)==q[p+4>>2]){break o}i=i+1|0;if((n|0)!=(i|0)){continue}break}}j=j+1|0;l=m>>>0>j>>>0;if((j|0)!=(m|0)){continue}break n}break}q[d>>2]=q[k+(j<<5)>>2];q[h>>2]=i;if(l){break b}}i=0;l=q[a+44>>2];if(!l){break c}j=q[a+40>>2];while(1){a=j+(i<<5)|0;if((b|0)==q[a+8>>2]&q[a+12>>2]==(c|0)){break e}a=1;i=i+1|0;if((l|0)!=(i|0)){continue}break}f=0;while(1){p:{i=j+(f<<5)|0;k=q[i+24>>2];if(k){m=q[i+20>>2];i=0;while(1){n=m+(i<<3)|0;if((b|0)==q[n>>2]&q[n+4>>2]==(c|0)){break p}i=i+1|0;if((k|0)!=(i|0)){continue}break}}f=f+1|0;a=l>>>0>f>>>0;i=0;if((f|0)!=(l|0)){continue}break c}break}q[d>>2]=q[j+(f<<5)>>2];q[h>>2]=i;i=0;if(!(a&1)){break c}q[e>>2]=0;o[g|0]=1;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=6;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=0;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=1;return 1}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=2;break d}a=k+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=3;break d}a=k+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=4;break d}a=j+(i<<5)|0;q[d>>2]=q[a>>2];q[f>>2]=q[a+20>>2];q[e>>2]=5}i=1}return i}q[e>>2]=0;o[g|0]=1;return 1}q[e>>2]=0;o[g|0]=1;return 1}function gx(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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;o=q[a+48>>2];j=q[a+44>>2];i=q[a+40>>2];n=q[a+36>>2];e=q[a+32>>2];if(b){A=q[a+12>>2];s=A+(A>>>2|0)|0;x=q[a+8>>2];y=x+(x>>>2|0)|0;t=q[a+4>>2];B=t+(t>>>2|0)|0;u=q[a>>2];while(1){k=e;f=r[(l|1)+c|0];e=f>>>24|0;g=r[c+l|0]|f<<8;h=r[(l|2)+c|0];f=h>>>16|0;h=g|h<<16;m=e|f;g=k;f=r[(l|3)+c|0];e=f>>>8|0;k=f<<24|h;f=g+k|0;g=e|m;g=f>>>0>>0?g+1|0:g;p=f;F=Owa(u,0,f,0);G=wi;h=g;g=g+n|0;f=0;f=g>>>0>>0?f+1|0:f;n=g;e=r[(l|5)+c|0];g=e>>>24|0;k=r[(l|4)+c|0]|e<<8;h=r[(l|6)+c|0];e=h>>>16|0;h=k|h<<16;m=e|g;e=r[(l|7)+c|0];g=e>>>8|0;h=e<<24|h;k=h+n|0;e=(g|m)+f|0;e=h>>>0>k>>>0?e+1|0:e;v=k;k=Owa(s,0,k,0);H=wi;g=i;i=e;e=g+e|0;f=0;f=e>>>0>>0?f+1|0:f;n=e;g=r[(l|9)+c|0];e=g>>>24|0;h=r[(l|8)+c|0]|g<<8;i=r[(l|10)+c|0];g=i>>>16|0;i=h|i<<16;m=e|g;g=r[(l|11)+c|0];e=g>>>8|0;h=g<<24|i;g=h+n|0;f=(e|m)+f|0;f=g>>>0>>0?f+1|0:f;C=g;I=Owa(y,0,g,0);h=wi;g=j;e=0;j=f;f=g+f|0;n=f;j=f>>>0>>0?e+1|0:e;e=r[(l|13)+c|0];f=e>>>24|0;g=r[(l|12)+c|0]|e<<8;i=r[(l|14)+c|0];e=i>>>16|0;i=g|i<<16;m=e|f;e=r[(l|15)+c|0];f=e>>>8|0;g=e<<24|i;e=g+n|0;f=(f|m)+j|0;f=e>>>0>>0?f+1|0:f;D=e;J=Owa(B,0,e,0);j=wi;z=(d+o|0)+f|0;i=Owa(B,0,z,0);n=wi;e=Owa(A,0,p,0);f=wi;o=Owa(x,0,v,0);e=o+e|0;g=wi+f|0;g=e>>>0>>0?g+1|0:g;o=Owa(t,0,C,0);f=o+e|0;e=wi+g|0;K=f;o=f>>>0>>0?e+1|0:e;e=Owa(x,0,p,0);g=wi;m=Owa(t,0,v,0);f=m+e|0;e=wi+g|0;e=f>>>0>>0?e+1|0:e;m=Owa(u,0,C,0);g=m+f|0;f=wi+e|0;L=g;m=g>>>0>>0?f+1|0:f;e=Owa(t,0,p,0);f=wi;g=Owa(u,0,v,0);e=g+e|0;f=wi+f|0;f=e>>>0>>0?f+1|0:f;p=e;g=G+H|0;e=k+F|0;g=e>>>0>>0?g+1|0:g;v=e;k=e+I|0;e=g+h|0;e=k>>>0>>0?e+1|0:e;g=k+J|0;e=e+j|0;e=g>>>0>>0?e+1|0:e;k=g;h=e;e=e+p|0;f=e>>>0>>0?f+1|0:f;g=Owa(s,0,C,0);e=g+e|0;f=wi+f|0;f=e>>>0>>0?f+1|0:f;h=Owa(y,0,D,0);g=h+e|0;e=wi+f|0;e=g>>>0>>0?e+1|0:e;f=g+i|0;e=e+n|0;h=f;j=f>>>0>>0?e+1|0:e;e=j+L|0;g=m;g=e>>>0>>0?g+1|0:g;j=Owa(s,0,D,0);e=j+e|0;f=wi+g|0;f=e>>>0>>0?f+1|0:f;j=Owa(y,0,z,0);g=j+e|0;e=wi+f|0;e=g>>>0>>0?e+1|0:e;j=g;i=e;f=e+K|0;e=o;e=f>>>0>>0?e+1|0:e;i=Owa(u,0,D,0);g=i+f|0;f=wi+e|0;f=g>>>0>>0?f+1|0:f;e=g;g=Owa(s,0,z,0);e=e+g|0;f=wi+f|0;f=e>>>0>>0?f+1|0:f;f=w(u,z)+f|0;n=f&3;i=e;m=0;p=0;g=f&-4;e=0;f=k+(f>>>2|0)|0;e=f>>>0>>0?e+1|0:e;k=f;f=g+f|0;g=f>>>0>>0?e+1|0:e;k=f;f=p;e=g+h|0;h=e;p=j;j=e>>>0>>0?f+1|0:f;f=p+j|0;e=m;g=f;p=i;i=f>>>0>>0?e+1|0:e;j=p+i|0;f=j;o=(i>>>0>f>>>0?e+1|0:e)+n|0;e=k;n=h;i=g;l=l+16|0;E=E+1|0;if((E|0)!=(b|0)){continue}break}}q[a+48>>2]=o;q[a+44>>2]=j;q[a+40>>2]=i;q[a+36>>2]=n;q[a+32>>2]=e}function j0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0);g=ti-48|0;ti=g;q[g+44>>2]=0;q[g+32>>2]=6;q[g+36>>2]=q[b+24>>2];e=q[b>>2];i=-11;a:{b:{d=q[242117];c:{if(!d){break c}while(1){if(nj(q[d>>2],e)){d=q[d+32>>2];if(d){continue}break c}break}i=xi[q[d+4>>2]](g+32|0,g+44|0)|0;if(!i){break b}e=q[b>>2]}q[g>>2]=e;Ai(4,203857,203863,g);q[g+24>>2]=44100;break a}xi[q[d+20>>2]](q[g+44>>2],g+24|0);i=0;f=d}k=u[b+4>>2];c=Fi(Oi(33960),0,33960);a0(c);q[242116]=c;o[c+33956|0]=1;p[c+33954>>1]=0;q[c+4>>2]=f;q[c+8>>2]=q[g+44>>2];q[g+16>>2]=q[b+28>>2];q[c>>2]=U$(g+16|0);f=q[b+28>>2];h=q[b+8>>2];if(a){d=q[b+12>>2];e=q[b+16>>2];k=ym(a,203890,x(1));h=Fj(a,203901,h);Fj(a,203922,e);Fj(a,203946,d);f=Fj(a,203970,f)}d:{e:{f:{g:{if(o[c+32|0]&1){break g}Ii(f,64,c+20|0,c+28|0,c+24|0);a=q[c+20>>2];if(q[c+28>>2]-a>>6>>>0>>0){break f}q[c+24>>2]=a+(f<<6);d=s[c+40>>1];a=f&65535;if(d>>>0>a>>>0){break e}e=q[c+36>>2];j=Ji(a<<1);q[c+36>>2]=j;j=Gi(j,e,d<<1);p[c+40>>1]=f;if(a>>>0>d>>>0){while(1){p[j+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}yi(e);if(f){e=0;while(1){a=q[c+20>>2];if(q[c+24>>2]-a>>6>>>0<=e>>>0){break d}a=a+(e<<6)|0;q[a+56>>2]=0;q[a+60>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+56>>2]=-1;q[a+4>>2]=Ji(w(q[b+24>>2],20)+4|0);q[a+40>>2]=1065353216;q[a+44>>2]=0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(o[c+60|0]&1){break g}Ii(h,32,c+48|0,c+56|0,c+52|0);a=q[c+48>>2];if(q[c+56>>2]-a>>5>>>0>>0){break f}q[c+52>>2]=a+(h<<5);d=s[c+68>>1];a=h&65535;if(d>>>0>a>>>0){break e}f=q[c+64>>2];e=Ji(a<<1);q[c+64>>2]=e;e=Gi(e,f,d<<1);p[c+68>>1]=h;if(a>>>0>d>>>0){while(1){p[e+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}yi(f);if(h){d=q[c+52>>2];f=q[c+48>>2];a=d-f|0;e=(a|0)>-1?a:-1;d=f-d|0;a=w((e|0)<1?e:1,((a|0)<(d|0)?d:a)>>>5|0);d=0;while(1){if((a|0)==(d|0)){break d}p[(f+(d<<5)|0)+16>>1]=65535;d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[c+33916>>2]=q[g+24>>2];a=q[b+24>>2];q[c+33920>>2]=a;a=a<<2;q[c+33928>>2]=Ji(a);q[c+33932>>2]=Ji(a);q[c+33936>>2]=Ji(a);q[c+33940>>2]=Ji(a);q[c+33944>>2]=Ji(a);a=Ji(a);p[c+33952>>1]=0;q[c+33948>>2]=a;Ns(c+76|0,65,32);a=Fi(c+112|0,0,33792)+w(oy(203842),1056)|0;q[a+8>>2]=0;u[a+16>>2]=k;u[a+12>>2]=k;q[c+33904>>2]=1;q[c+33908>>2]=0;q[c+33912>>2]=-14;q[c+12>>2]=0;q[c+16>>2]=0;if(r[b+32|0]){q[c+16>>2]=Hj();q[c+12>>2]=D$(c)}ti=g+48|0;return i}J(204680,204755,493,204811);G()}J(204823,204755,506,204842);G()}J(204850,204873,112,204811);G()}J(204924,204755,479,204935);G()}function j7(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,s=x(0);c=ti-368|0;ti=c;e=q[b+4>>2];a:{if(e){g=q[b>>2];while(1){if((d|0)==(e|0)){break a}f=!nj(144748,q[(g+w(d,20)|0)+4>>2])+f|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}l=a+8|0;e=f+1|0;g=(e>>>0)/3|0;aI(l,g>>>0>1?g:1,e);q[c+196>>2]=0;e=q[212970];q[c+192>>2]=e;Fi(c+200|0,0,168);p[c+362>>1]=65535;p[c+356>>1]=65535;p[c+350>>1]=65535;p[c+344>>1]=65535;p[c+338>>1]=65535;p[c+332>>1]=65535;p[c+326>>1]=65535;p[c+320>>1]=65535;p[c+314>>1]=65535;p[c+308>>1]=65535;p[c+302>>1]=65535;p[c+296>>1]=65535;p[c+290>>1]=65535;p[c+284>>1]=65535;p[c+278>>1]=65535;p[c+272>>1]=65535;p[c+266>>1]=65535;p[c+260>>1]=65535;p[c+254>>1]=65535;p[c+248>>1]=65535;p[c+242>>1]=65535;p[c+236>>1]=65535;p[c+230>>1]=65535;p[c+224>>1]=65535;p[c+218>>1]=65535;p[c+212>>1]=65535;p[c+206>>1]=65535;p[c+200>>1]=65535;Iz(l,e,c+192|0);b:{c:{if(!f){break c}d=q[b+4>>2];if(!d){break c}n=c+24|0;while(1){d:{e:{if(d>>>0>j>>>0){f=w(j,20);i=f+q[b>>2]|0;if(nj(144748,q[i+4>>2])){break d}m=Ps(q[i>>2]);e=q[a+12>>2];f:{if(!e){break f}d=q[q[l>>2]+((m>>>0)%(e>>>0)<<2)>>2];if((d|0)==-1){break f}e=q[a+16>>2];while(1){g=e+w(d,184)|0;if(q[g>>2]==(m|0)){break e}d=q[g+180>>2];if((d|0)!=-1){continue}break}}s=u[i+8>>2];q[c+16>>2]=m;u[c+20>>2]=s;Fi(n,0,168);p[c+186>>1]=65535;p[c+180>>1]=65535;p[c+174>>1]=65535;p[c+168>>1]=65535;p[c+162>>1]=65535;p[c+156>>1]=65535;p[c+150>>1]=65535;p[c+144>>1]=65535;p[c+138>>1]=65535;p[c+132>>1]=65535;p[c+126>>1]=65535;p[c+120>>1]=65535;p[c+114>>1]=65535;p[c+108>>1]=65535;p[c+102>>1]=65535;p[c+96>>1]=65535;p[c+90>>1]=65535;p[c+84>>1]=65535;p[c+78>>1]=65535;p[c+72>>1]=65535;p[c+66>>1]=65535;p[c+60>>1]=65535;p[c+54>>1]=65535;p[c+48>>1]=65535;p[c+42>>1]=65535;p[c+36>>1]=65535;p[c+30>>1]=65535;p[c+24>>1]=65535;d=q[i+16>>2];if(d){k=0;while(1){g:{h:{if(d>>>0>k>>>0){h=q[i+12>>2]+w(k,24)|0;e=(c+16|0)+w(q[h>>2],6)|0;p[e+8>>1]=q[h+8>>2];f=r[e+12|0]&-4|r[h+4|0]&3;o[e+12|0]=f;if(q[h+4>>2]==2){p[e+10>>1]=q[h+20>>2]}g=q[h+16>>2];if(!g){break g}d=0;while(1){if(d>>>0>=g>>>0){break h}g=e;i:{j:{k:{switch(q[q[h+12>>2]+(d<<2)>>2]){case 2:f=f|16;break j;case 0:f=f|4;break j;case 1:break k;default:break i}}f=f|8}o[g+12|0]=f}d=d+1|0;g=q[h+16>>2];if(d>>>0>>0){continue}break}break g}J(144402,144414,274,144438);G()}J(144402,144414,255,144438);G()}d=q[i+16>>2];k=k+1|0;if(d>>>0>k>>>0){continue}break}}Iz(l,m,c+16|0);break d}break a}if(t[b+4>>2]<=j>>>0){break b}q[c>>2]=q[f+q[b>>2]>>2];Ai(3,143998,144004,c)}d=q[b+4>>2];j=j+1|0;if(d>>>0>j>>>0){continue}break}}ti=c+368|0;return}}J(144402,144414,289,144438);G()}function Mla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=ti-80|0;ti=h;d=Oi(76);c=d;q[c+32>>2]=0;q[c+36>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+36>>2]=-1;q[c+48>>2]=q[a+4>>2];g=zi(36094);e=q[a+24>>2];i=wi;c=q[q[a+16>>2]+(Qwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+52>>2]=q[(e+(c<<4)|0)+8>>2];g=zi(36089);e=q[a+24>>2];i=wi;c=q[q[a+16>>2]+(Qwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+56>>2]=q[(e+(c<<4)|0)+8>>2];g=zi(36101);e=q[a+24>>2];i=wi;c=q[q[a+16>>2]+(Qwa(g,i,q[a+20>>2])<<2)>>2];f=e+(c<<4)|0;if(q[f>>2]!=(g|0)|q[f+4>>2]!=(i|0)){while(1){c=q[(e+(c<<4)|0)+12>>2];f=e+(c<<4)|0;if((g|0)!=q[f>>2]|(i|0)!=q[f+4>>2]){continue}break}}q[d+60>>2]=q[(e+(c<<4)|0)+8>>2];q[d+64>>2]=Fj(q[a>>2],36113,64);q[d+68>>2]=Fj(q[a>>2],36127,64);q[d+72>>2]=Fj(q[a>>2],36152,1024);Ii(Fj(q[a>>2],36175,128),4,d,d+8|0,d+4|0);JI(q[d+60>>2]);p[b+104>>1]=300;q[b+16>>2]=d;q[b+100>>2]=q[b+100>>2]&-65537|65536;e=0;q[b+100>>2]=q[b+100>>2]&-131073;q[b+20>>2]=146;q[b+24>>2]=147;q[b+28>>2]=148;q[b+32>>2]=149;q[b+36>>2]=150;q[b+40>>2]=151;q[b+44>>2]=152;q[b+52>>2]=153;q[b+60>>2]=154;q[b+68>>2]=155;q[b+72>>2]=156;q[b+76>>2]=157;q[b+84>>2]=158;q[b+88>>2]=159;q[b+92>>2]=160;q[b+96>>2]=161;q[b+48>>2]=162;b=h;q[b+60>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+72>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b- -64>>2]=-1;q[b+44>>2]=0;q[b+48>>2]=0;q[b+24>>2]=q[a>>2];q[b+32>>2]=q[d+52>>2];q[b+28>>2]=q[d+48>>2];q[b+36>>2]=q[d+56>>2];q[b+40>>2]=q[d+60>>2];g=b+44|0;cp(g,7,q[a+32>>2]-q[a+24>>2]>>4);b=q[a+20>>2];if(b){while(1){c=q[q[a+16>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){b=q[a+24>>2]+(c<<4)|0;wm(g,q[b>>2],q[b+4>>2],b+8|0);c=q[b+12>>2];if((c|0)!=-1){continue}break}b=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}a:{if(r[301e3]){break a}b:{c=q[75251];if(c){b=d+16|0;while(1){a=Oi(32);q[h+76>>2]=a;q[a>>2]=c;q[c+12>>2]=a;a=xi[q[c+4>>2]](h+24|0,a)|0;if(a){break b}a=q[d+40>>2];if((a|0)==((q[d+32>>2]-q[d+24>>2]|0)/12|0)){a=a+4|0;bI(b,a>>>0<3?1:(a>>>0)/3|0,a)}cI(b,q[c+20>>2],h+76|0);c=q[c>>2];if(c){continue}break}}o[301e3]=1;break a}q[h+16>>2]=q[c+16>>2];Ai(4,36048,39407,h+16|0);q[h>>2]=a;Ai(4,36048,36198,h)}c:{if(o[h+72|0]&1){break c}a=q[h+52>>2];if(a){yi(a)}a=q[h+44>>2];if(!a){break c}yi(a)}ti=h+80|0;return 0}function B2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=0,y=x(0),z=x(0),A=x(0),B=0;c=ti-144|0;ti=c;B=1;a:{if(Bj(a,1)){w=xj(a,1);b=Fm(a,2);e=u[b>>2];u[c+80>>2]=e;f=u[b+4>>2];u[c+84>>2]=f;g=u[b+8>>2];u[c+88>>2]=g;h=u[b+12>>2];u[c+92>>2]=h;i=u[b+16>>2];u[c+96>>2]=i;j=u[b+20>>2];u[c+100>>2]=j;k=u[b+24>>2];u[c+104>>2]=k;l=u[b+28>>2];u[c+108>>2]=l;m=u[b+32>>2];u[c+112>>2]=m;n=u[b+36>>2];u[c+116>>2]=n;o=u[b+40>>2];u[c+120>>2]=o;p=u[b+44>>2];u[c+124>>2]=p;r=u[b+48>>2];u[c+128>>2]=r;s=u[b+52>>2];u[c+132>>2]=s;t=u[b+56>>2];u[c+136>>2]=t;d=u[b+60>>2];u[c+140>>2]=d;b=jj(a,64);v=d;d=x(w);u[b+60>>2]=v*d;u[b+56>>2]=t*d;u[b+52>>2]=s*d;u[b+48>>2]=r*d;u[b+44>>2]=p*d;u[b+40>>2]=o*d;u[b+36>>2]=n*d;u[b+32>>2]=m*d;u[b+28>>2]=l*d;u[b+24>>2]=k*d;u[b+20>>2]=j*d;u[b+16>>2]=i*d;u[b+12>>2]=h*d;u[b+8>>2]=g*d;u[b+4>>2]=f*d;u[b>>2]=e*d;Ki(a,-1e4,128736);ij(a,-2);break a}b=Fm(a,1);h=u[b>>2];u[c+80>>2]=h;i=u[b+4>>2];u[c+84>>2]=i;j=u[b+8>>2];u[c+88>>2]=j;k=u[b+12>>2];u[c+92>>2]=k;l=u[b+16>>2];u[c+96>>2]=l;m=u[b+20>>2];u[c+100>>2]=m;n=u[b+24>>2];u[c+104>>2]=n;o=u[b+28>>2];u[c+108>>2]=o;p=u[b+32>>2];u[c+112>>2]=p;r=u[b+36>>2];u[c+116>>2]=r;s=u[b+40>>2];u[c+120>>2]=s;t=u[b+44>>2];u[c+124>>2]=t;v=u[b+48>>2];u[c+128>>2]=v;y=u[b+52>>2];u[c+132>>2]=y;z=u[b+56>>2];u[c+136>>2]=z;A=u[b+60>>2];u[c+140>>2]=A;b=mk(a,2,q[212907]);if(b){Kk(c+16|0,c+80|0,b);b=jj(a,64);u[b>>2]=u[c+16>>2];u[b+4>>2]=u[c+20>>2];u[b+8>>2]=u[c+24>>2];u[b+12>>2]=u[c+28>>2];u[b+16>>2]=u[c+32>>2];u[b+20>>2]=u[c+36>>2];u[b+24>>2]=u[c+40>>2];u[b+28>>2]=u[c+44>>2];u[b+32>>2]=u[c+48>>2];u[b+36>>2]=u[c+52>>2];u[b+40>>2]=u[c+56>>2];u[b+44>>2]=u[c+60>>2];u[b+48>>2]=u[c+64>>2];u[b+52>>2]=u[c+68>>2];u[b+56>>2]=u[c+72>>2];u[b+60>>2]=u[c+76>>2];Ki(a,-1e4,128736);ij(a,-2);break a}b=mk(a,2,q[212905]);if(b){d=u[b+4>>2];e=u[b>>2];f=u[b+8>>2];g=u[b+12>>2];b=jj(a,16);u[b+12>>2]=x(x(x(e*k)+x(d*o))+x(f*t))+x(g*A);u[b+8>>2]=x(x(x(e*j)+x(d*n))+x(f*s))+x(g*z);u[b+4>>2]=x(x(x(e*i)+x(d*m))+x(f*r))+x(g*y);u[b>>2]=x(x(x(h*e)+x(l*d))+x(p*f))+x(v*g);Ki(a,-1e4,128704);ij(a,-2);break a}if(Bj(a,2)){w=Ri(a,2);b=jj(a,64);d=x(w);u[b+60>>2]=A*d;u[b+56>>2]=z*d;u[b+52>>2]=y*d;u[b+48>>2]=v*d;u[b+44>>2]=t*d;u[b+40>>2]=s*d;u[b+36>>2]=r*d;u[b+32>>2]=p*d;u[b+28>>2]=o*d;u[b+24>>2]=n*d;u[b+20>>2]=m*d;u[b+16>>2]=l*d;u[b+12>>2]=k*d;u[b+8>>2]=j*d;u[b+4>>2]=i*d;u[b>>2]=h*d;Ki(a,-1e4,128736);ij(a,-2);break a}q[c+12>>2]=128704;q[c+8>>2]=128736;q[c+4>>2]=128736;q[c>>2]=128752;B=Bi(a,129804,c)}ti=c+144|0;return B|0}function yw(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,r=0,s=0,u=0;a:{if(!f){break a}while(1){b:{c:{if(!((f|0)<=(h|0)|(e|0)<=(h|0))){if(!e){break a}i=q[d>>2];s=q[b>>2];j=q[(i+w(s,48)|0)+32>>2];while(1){m=q[a>>2];if(j>>>0>2]){break c}a=a+4|0;e=e-1|0;if(e){continue}break}break a}if((e|0)>(f|0)){break b}if((a|0)==(b|0)){break a}i=g;j=a;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(b|0)){continue}break}if((g|0)==(i|0)){break a}d=q[d>>2];while(1){if((b|0)==(c|0)){b=i-g|0;if(!b){break a}Sk(a,g,b);return}e=q[b>>2];f=q[g>>2];d:{if(t[(d+w(e,48)|0)+32>>2]>2]){q[a>>2]=e;b=b+4|0;break d}q[a>>2]=f;g=g+4|0}a=a+4|0;if((g|0)!=(i|0)){continue}break}break a}e:{if((e|0)<(f|0)){n=(f|0)/2|0;m=(n<<2)+b|0;j=b-a|0;f:{if(!j){l=a;break f}j=j>>2;p=q[(i+w(q[m>>2],48)|0)+32>>2];l=a;while(1){k=j>>>1|0;r=(k<<2)+l|0;o=p>>>0>2],48)|0)+32>>2];l=o?l:r+4|0;j=o?k:(k^-1)+j|0;if(j){continue}break}}o=l-a>>2;break e}if((e|0)==1){q[a>>2]=s;q[b>>2]=m;return}o=(e|0)/2|0;l=(o<<2)+a|0;j=c-b|0;g:{if(!j){m=b;break g}j=j>>2;p=q[(i+w(q[l>>2],48)|0)+32>>2];m=b;while(1){k=j>>>1|0;r=(k<<2)+m|0;n=p>>>0>t[(i+w(q[r>>2],48)|0)+32>>2];m=n?r+4|0:m;j=n?(k^-1)+j|0:k;if(j){continue}break}}n=m-b>>2}f=f-n|0;e=e-o|0;i=m;h:{if((b|0)==(l|0)){break h}i=l;if((b|0)==(m|0)){break h}k=l+4|0;if((k|0)==(b|0)){j=q[l>>2];i=m-b|0;if(i){Sk(l,b,i)}i=i+l|0;q[i>>2]=j;break h}if((b+4|0)==(m|0)){b=m-4|0;j=q[b>>2];i=m;b=b-l|0;if(b){i=m-b|0;Sk(i,l,b)}q[l>>2]=j;break h}r=m-b>>2;i=r;p=b-l>>2;j=p;if((i|0)==(j|0)){i=q[l>>2];q[l>>2]=s;q[b>>2]=i;i=b;if((b|0)==(k|0)){break h}while(1){j=q[k>>2];q[k>>2]=q[i+4>>2];q[i+4>>2]=j;i=i+4|0;k=k+4|0;if((k|0)!=(b|0)){continue}break}i=b;break h}while(1){b=j;j=i;i=(b|0)%(i|0)|0;if(i){continue}break}if(j){b=(j<<2)+l|0;while(1){b=b-4|0;s=p<<2;k=b+s|0;u=q[b>>2];j=b;while(1){i=k;q[j>>2]=q[i>>2];j=i;k=m-i>>2;k=(k|0)>(p|0)?i+s|0:(p-k<<2)+l|0;if((k|0)!=(b|0)){continue}break}q[i>>2]=u;if((b|0)!=(l|0)){continue}break}}i=(r<<2)+l|0}i:{if((n+o|0)<(e+f|0)){yw(a,l,i,d,o,n,g,h);a=i;b=m;break i}yw(i,m,c,d,e,f,g,h);f=n;e=o;c=i;b=l}if(f){continue}break a}break}if((b|0)==(c|0)){break a}j=b;i=g;while(1){q[i>>2]=q[j>>2];i=i+4|0;j=j+4|0;if((j|0)!=(c|0)){continue}break}if((g|0)==(i|0)){break a}f=q[d>>2];while(1){if((a|0)==(b|0)){if((g|0)==(i|0)){break a}while(1){c=c-4|0;i=i-4|0;q[c>>2]=q[i>>2];if((g|0)!=(i|0)){continue}break}break a}d=i-4|0;e=q[d>>2];j=b-4|0;k=q[j>>2];if(t[(f+w(e,48)|0)+32>>2]>=t[(f+w(k,48)|0)+32>>2]){k=e;j=b;i=d}c=c-4|0;q[c>>2]=k;b=j;if((g|0)!=(i|0)){continue}break}}}function a0(a){var b=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+120>>2]=0;q[a+124>>2]=1065353216;b=a+1176|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+2232|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+3288|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+4344|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+5400|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+6456|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+7512|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+8568|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+9624|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+10680|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+11736|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+12792|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+13848|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+14904|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+15960|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+17016|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+18072|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+19128|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+20184|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+21240|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+22296|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+23352|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+24408|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+25464|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+26520|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+27576|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+28632|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+29688|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+30744|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+31800|0;q[b>>2]=0;q[b+4>>2]=1065353216;b=a+32856|0;q[b>>2]=0;q[b+4>>2]=1065353216;q[a+32864>>2]=1065353216;q[a+31808>>2]=1065353216;q[a+30752>>2]=1065353216;q[a+29696>>2]=1065353216;q[a+28640>>2]=1065353216;q[a+27584>>2]=1065353216;q[a+26528>>2]=1065353216;q[a+25472>>2]=1065353216;q[a+24416>>2]=1065353216;q[a+23360>>2]=1065353216;q[a+22304>>2]=1065353216;q[a+21248>>2]=1065353216;q[a+20192>>2]=1065353216;q[a+19136>>2]=1065353216;q[a+18080>>2]=1065353216;q[a+17024>>2]=1065353216;q[a+15968>>2]=1065353216;q[a+14912>>2]=1065353216;q[a+13856>>2]=1065353216;q[a+12800>>2]=1065353216;q[a+11744>>2]=1065353216;q[a+10688>>2]=1065353216;q[a+9632>>2]=1065353216;q[a+8576>>2]=1065353216;q[a+7520>>2]=1065353216;q[a+6464>>2]=1065353216;q[a+5408>>2]=1065353216;q[a+4352>>2]=1065353216;q[a+3296>>2]=1065353216;q[a+2240>>2]=1065353216;q[a+1184>>2]=1065353216;q[a+128>>2]=1065353216;q[a+96>>2]=-1;o[a+44|0]=r[a+44|0]&254;o[a+72|0]=r[a+72|0]&254}function ll(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;q[a+20>>2]=q[a+20>>2]+c;a:{if(!c){break a}g=b;h=c;while(1){e=q[a+16>>2];if(!(e?0:(h|0)>=8)){d=r[g|0];i=e+1|0;q[a+16>>2]=i;j=a;k=q[a+12>>2];f=e<<3;e=f&31;if((f&63)>>>0>=32){f=d<>>32-e;d=d<>2];e=f|k;f=e;q[j+8>>2]=d;q[j+12>>2]=e;h=h-1|0;if((i|0)==8){q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;e=Owa(q[a>>2],q[a+4>>2],1540483477,-962287725);i=wi;d=Owa(d,f,1540483477,-962287725);f=wi;q[a>>2]=Owa(d^f>>>15,f,1540483477,-962287725)^e;q[a+4>>2]=wi^i}g=g+1|0;if(h){continue}break a}break}f=q[a>>2];i=q[a+4>>2];while(1){d=g;d=Owa(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24),r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24),1540483477,-962287725);k=wi;d=Owa(d^k>>>15,k,1540483477,-962287725);e=wi;f=Owa(f,i,1540483477,-962287725)^d;d=wi^e;i=d;q[a>>2]=f;q[a+4>>2]=d;g=g+8|0;d=(h|0)>15;j=h-8|0;h=j;if(d){continue}break}if(!j){break a}while(1){e=q[a+16>>2];if(e?0:(j|0)>=8){break a}h=r[g|0];i=e+1|0;q[a+16>>2]=i;d=a;k=q[a+12>>2];e=e<<3;f=e&31;if((e&63)>>>0>=32){e=h<>>32-f;f=h<>2];e=e|k;f=e;q[d+8>>2]=h;q[d+12>>2]=e;j=j-1|0;if((i|0)==8){q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;e=Owa(q[a>>2],q[a+4>>2],1540483477,-962287725);i=wi;h=Owa(h,f,1540483477,-962287725);k=wi;q[a>>2]=Owa(h^k>>>15,k,1540483477,-962287725)^e;q[a+4>>2]=wi^i}g=g+1|0;if(j){continue}break}}b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;g=Hj();o[862340]=0;q[215584]=g;Wj()}c:{d:{if(!(!r[862340]|!q[a+24>>2]|t[a+20>>2]>1024)){e:{if(o[862440]&1){break e}if(!Xj()){break e}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;g=Hj();o[862340]=0;q[215584]=g;Wj()}a=q[a+24>>2];if(!a){break d}g=q[215602];if(a>>>0>=q[215603]-g>>3>>>0){break c}a=g+(a<<3)|0;g=s[a+4>>1]+c|0;h=nl(q[a>>2],g+32&-16);q[a>>2]=h;Gi(h+s[a+4>>1]|0,b,c);o[g+h|0]=0;p[a+4>>1]=g}return}J(160390,160102,150,160429);G()}J(160603,160205,479,160614);G()}function GM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=e?0:-1;l=e?-1:1;i=e?-1:0;f=-2;j=(e|0)!=0;k=!e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(c-2|0){case 0:x:{y:{c=kj(b,0);if(c){if((c|0)==(d|0)){break y}e=c-g|0;c=c+g|0;c=(c|0)<0?e:(c|0)>(d|0)?e:c;break x}c=(e|0)!=0;break x}c=d+g|0;if((c|0)<1){break d}c=c-1|0}if((c|0)>(d|0)){break b}o[Kj(a,0)|0]=c;c=1;e=kj(b,1);if(!e){break u}c=e;if((e|0)!=(d|0)){break u}c=d-1|0;break t;case 3:case 4:f=0;break v;case 5:f=k;break v;case 9:case 13:f=0;break v;case 16:f=i;break v;case 17:case 18:f=0;break v;case 19:f=j;break v;case 6:case 22:f=0;break v;case 25:f=g;break v;case 26:f=l;break v;case 27:f=j;break v;case 28:f=i;break v;case 29:f=k;break v;case 8:break v;default:break w}}f=((c>>>0)%3|0)-1|0}h=kj(b,0);z:{A:{if(!h){e=3;if((f|0)==-2){break z}e=f+1|0;break A}e=(d+f|0)-1|0;if((d|0)==(h|0)){break A}e=h-f|0;m=e;e=f+h|0;e=(e|0)<0?m:(d|0)<(e|0)?m:e}if((e|0)<=-1){break d}}if((d|0)<(e|0)){break b}o[Kj(a,0)|0]=e;f=-2;switch(c-5|0){case 6:break j;case 10:case 13:break k;case 14:break l;case 15:case 16:break m;case 19:break n;case 3:break o;case 22:break p;case 23:break q;case 24:break r;case 25:break s;case 5:break e;case 26:break g;case 0:break h;case 1:case 2:break i;default:break f}}if((c|0)>(d|0)){break b}}e=1;o[Kj(a,1)|0]=c;b=kj(b,2);if(!b){break c}e=b;if((e|0)!=(d|0)){break c}e=d-1|0;break a}f=i;break e}f=j;break e}f=l;break e}f=g;break e}f=0;break e}f=j;break e}f=0;break e}f=i;break e}f=0;break e}f=k;break e}f=0;break e}f=g;break e}f=k;break e}f=(((c>>>0)/3>>>0)%3|0)-1|0}e=kj(b,1);B:{C:{if(e){if((d|0)!=(e|0)){h=e-f|0;e=e+f|0;e=(e|0)<0?h:(d|0)<(e|0)?h:e;break C}e=(d+f|0)-1|0;break C}e=3;if((f|0)==-2){break B}e=f+1|0}if((e|0)<0){break d}}if((d|0)<(e|0)){break b}o[Kj(a,1)|0]=e;f=-2;D:{E:{switch(c-5|0){case 25:f=i;break D;case 24:f=j;break D;case 23:f=l;break D;case 22:f=g;break D;case 3:f=j;break D;case 16:case 19:f=0;break D;case 15:f=i;break D;case 13:case 14:f=0;break D;case 10:f=k;break D;case 2:case 6:f=0;break D;case 1:f=g;break D;case 0:f=0;break D;case 26:f=k;break D;case 5:break D;default:break E}}f=(((c>>>0)/9>>>0)%3|0)-1|0}b=kj(b,2);F:{G:{if(b){if((b|0)!=(d|0)){c=b-f|0;b=b+f|0;e=(b|0)<0?c:(b|0)>(d|0)?c:b;break G}e=(d+f|0)-1|0;break G}e=3;if((f|0)==-2){break F}e=f+1|0}if((e|0)<0){break d}}if((d|0)>=(e|0)){break a}break b}J(98630,92069,13503,98637);G()}if((d|0)>=(e|0)){break a}}J(98653,92069,13504,98637);G()}o[Kj(a,2)|0]=e}function Ex(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=(d>>>4^b)&252645135;d=e<<4^d;e=b^e;b=d>>>16^e&65535;e=b^e;b=d^b<<16;d=(e>>>2^b)&858993459;e=d<<2^e;b=b^d;d=(e>>>8^b)&16711935;e=Twa(d<<8^e,1);b=b^d;d=(b^e)&-1431655766;e=e^d;b=Twa(b^d,1);d=a;while(1){i=e;h=q[d+4>>2]^Twa(e,28);f=b;b=q[d>>2]^e;b=q[((h&63)<<2)+156864>>2]^(f^q[((b&63)<<2)+155840>>2]^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2])^q[(h>>>6&252)+157120>>2]^q[(h>>>14&252)+157376>>2]^q[(h>>>22&252)+157632>>2];e=b^q[d+8>>2];f=i^q[((e&63)<<2)+155840>>2]^q[(e>>>6&252)+156096>>2]^q[(e>>>14&252)+156352>>2]^q[(e>>>22&252)+156608>>2];e=q[d+12>>2]^Twa(b,28);e=f^q[((e&63)<<2)+156864>>2]^q[(e>>>6&252)+157120>>2]^q[(e>>>14&252)+157376>>2]^q[(e>>>22&252)+157632>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}d=a+128|0;g=0;while(1){f=b;h=q[d+4>>2]^Twa(b,28);b=q[d>>2]^b;e=q[((h&63)<<2)+156864>>2]^(q[((b&63)<<2)+155840>>2]^e^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2])^q[(h>>>6&252)+157120>>2]^q[(h>>>14&252)+157376>>2]^q[(h>>>22&252)+157632>>2];b=e^q[d+8>>2];f=f^q[((b&63)<<2)+155840>>2]^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2];b=q[d+12>>2]^Twa(e,28);b=f^q[((b&63)<<2)+156864>>2]^q[(b>>>6&252)+157120>>2]^q[(b>>>14&252)+157376>>2]^q[(b>>>22&252)+157632>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}d=a+256|0;g=0;while(1){a=q[d+4>>2]^Twa(e,28);f=b;b=q[d>>2]^e;b=q[((a&63)<<2)+156864>>2]^(f^q[((b&63)<<2)+155840>>2]^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2])^q[(a>>>6&252)+157120>>2]^q[(a>>>14&252)+157376>>2]^q[(a>>>22&252)+157632>>2];a=b^q[d+8>>2];f=q[((a&63)<<2)+155840>>2]^e^q[(a>>>6&252)+156096>>2]^q[(a>>>14&252)+156352>>2]^q[(a>>>22&252)+156608>>2];a=q[d+12>>2]^Twa(b,28);e=f^q[((a&63)<<2)+156864>>2]^q[(a>>>6&252)+157120>>2]^q[(a>>>14&252)+157376>>2]^q[(a>>>22&252)+157632>>2];d=d+16|0;g=g+1|0;if((g|0)!=8){continue}break}i=b<<31;f=b;a=Twa(e,31);b=(a^b)&-1431655766;d=i|(f^b)>>>1;a=a^b;b=(d>>>8^a)&16711935;d=b<<8^d;a=a^b;b=(d>>>2^a)&858993459;d=b<<2^d;a=a^b;b=d&65535^a>>>16;e=b<<16^a;a=b^d;b=(e>>>4^a)&252645135;a=a^b;o[c+7|0]=a;o[c+6|0]=a>>>8;o[c+5|0]=a>>>16;o[c+4|0]=a>>>24;a=e^b<<4;o[c+3|0]=a;o[c+2|0]=a>>>8;o[c+1|0]=a>>>16;o[c|0]=a>>>24;return 0}function $k(a,b,c){var d=0,e=0,f=0,g=0;g=ti-32|0;ti=g;d=1;f=q[a+52>>2];e=s[f+52>>1]+1|0;p[f+52>>1]=e;if((e&65535)>>>0>=201){Pl(a,136621,0)}a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=q[a+16>>2];switch(e-263|0){case 0:break i;case 12:break j;case 6:break k;case 23:break l;case 7:break m;case 21:break d;case 1:case 3:case 4:case 5:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 22:break e;case 2:break g;case 16:break h;default:break n}}o:{switch(e-35|0){case 10:d=0;break m;case 0:break o;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break e;default:break f}}d=2}Gj(a);$k(a,b,8);CX(q[a+48>>2],d,b);break a}d=Kp(q[a+48>>2],q[a+24>>2]);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=4;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=1;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=2;break c}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=3;break c}f=q[a+48>>2];d=q[f>>2];e=r[d+74|0];if(!e){Dj(a,136686);d=q[f>>2];e=r[d+74|0]}o[d+74|0]=e&251;d=im(f,37,0,1,0);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=14;break c}Gj(a);XA(a,b,0,q[a+4>>2]);break a}if((e|0)==123){break b}}fx(a,b);break a}q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=0;q[b>>2]=5;v[b+8>>3]=v[a+24>>3]}Gj(a);break a}_L(a,b)}d=0;e=15;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{f=q[a+16>>2];switch(f-37|0){case 1:case 2:case 3:case 4:case 7:case 9: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 24: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 51:case 52:case 53:case 54:case 55:case 56:break p;case 6:break q;case 25:break u;case 23:break w;case 57:break A;case 0:break B;case 10:break C;case 5:break D;case 8:break E;default:break F}}switch(f-257|0){case 14:break r;case 0:break s;case 24:break t;case 25:break v;case 23:break x;case 26:break y;case 21:break z;default:break p}}d=1;break q}d=2;break q}d=3;break q}d=4;break q}d=5;break q}d=6;break q}d=7;break q}d=8;break q}d=9;break q}d=10;break q}d=11;break q}d=12;break q}d=13;break q}d=14}while(1){e=d<<1;if(r[e+136656|0]<=c>>>0){e=d;break p}Gj(a);GX(q[a+48>>2],d,b);f=$k(a,g+8|0,r[(e+136656|0)+1|0]);DX(q[a+48>>2],d,b,g+8|0);e=15;d=f;if((d|0)!=15){continue}break}}a=q[a+52>>2];p[a+52>>1]=s[a+52>>1]-1;ti=g+32|0;return e}function v8(a,b){var c=0,d=0,e=x(0),f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=0,m=0,n=0,p=0,t=0;l=ti+ -64|0;ti=l;a:{b:{c:{c=q[a+48>>2];if((c|0)==q[a+52>>2]){break c}d:{while(1){e:{d=w(h,72)+c|0;e=u[d+20>>2];i=u[d+24>>2];f:{if(e>i){break f}f=r[d+68|0];if(f&4){break f}g=q[d+52>>2];k=g-3|0;m=i==x(0);if(k>>>0>2?!(m|e!=i):0){break f}n=q[a+32>>2];p=(q[a+36>>2]-n|0)/576|0;c=q[d>>2];while(1){c=c&65535;if(c>>>0>=p>>>0){break e}c=n+w(c,576)|0;if(!(r[c+414|0]&16)){break f}c=s[c+560>>1];if((c|0)!=65535){continue}break}t=t+1|0;j=u[d+16>>2];if(!(j>2]=u[q[d+4>>2]>>2];f=f&254;o[d+68|0]=f;e=x(-j);u[d+20>>2]=e;q[d+16>>2]=0}j=e;e=x(u[d+28>>2]*b);j=x(j+e);e=x(x(j+x(e*x(.5)))-i)>=x(0)?i:j;u[d+20>>2]=e;i=m?x(1):x(i-e)>=x(0)?x(e/i):x(1);g:{h:{switch(g-1|0){default:e=i;if(!(f&8)){break g}break;case 0:case 3:break h}}e=x(x(1)-i)}i:{j:{switch(g-2|0){case 0:case 3:break j;default:break i}}e=x(e+e);if(e>x(1)^1){break i}e=x(x(2)-e)}q[l+40>>2]=q[d+48>>2];c=q[d+44>>2];q[l+32>>2]=q[d+40>>2];q[l+36>>2]=c;c=q[d+36>>2];q[l+24>>2]=q[d+32>>2];q[l+28>>2]=c;e=oL(l+24|0,e);j=u[d+8>>2];u[q[d+4>>2]>>2]=j+x(e*x(u[d+12>>2]-j));f=s[d>>1];c=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-c|0)/576>>>0){break a}c=c+w(f,576)|0;q[c+412>>2]=q[c+412>>2]|4194304;if(i>=x(1)^1){break f}if(k>>>0<=2){u[d+20>>2]=u[d+20>>2]-u[d+24>>2];if((g|0)!=5){break f}o[d+68|0]=r[d+68|0]^8;break f}c=r[d+68|0];if(c&2){break f}o[d+68|0]=c|2;c=q[d+40>>2];if(c){xi[c|0](d+32|0)}c=q[d+56>>2];if(!c){break f}xi[c|0](a,q[d>>2],1,q[d+60>>2],q[d+64>>2]);break f}u[d+16>>2]=j-b}h=h+1|0;k=q[a+52>>2];c=q[a+48>>2];f=k-c|0;d=(f|0)/72|0;if(h>>>0>>0){continue}break d}break}break a}if(!f){break c}h=0;k:{while(1){m=(k-c|0)/72|0;if(m>>>0>h>>>0){n=w(h,72);g=n+c|0;l:{m:{if(!(u[g+20>>2]>=u[g+24>>2]^1|u[g+16>>2]!=x(0))){f=r[g+68|0];break m}f=r[g+68|0];if(!(f&4)){break l}}n:{if(f&2){break n}p=q[g+56>>2];if(!p){break n}o[g+68|0]=f|2;xi[p|0](a,q[g>>2],!(f&4),q[g+60>>2],q[g+64>>2]);k=q[a+52>>2];c=q[a+48>>2];m=(k-c|0)/72|0}if(h>>>0>=m>>>0){break a}c=c+n|0;Sk(c,c+72|0,(k-c|0)-72|0);c=q[a+48>>2];f=((q[a+52>>2]-c|0)/72|0)-1|0;if(f>>>0>(q[a+56>>2]-c|0)/72>>>0){break k}k=w(f,72)+c|0;q[a+52>>2]=k;d=d-1|0;h=h-1|0}h=h+1|0;if(d>>>0>h>>>0){continue}break b}break}break a}J(196250,195579,506,196269);G()}d=0}q[215984]=q[215984]+d;a=l;q[a+56>>2]=d;q[a+60>>2]=0;q[a+16>>2]=d;q[a+20>>2]=0;q[216006]=q[216006]+t;q[a+48>>2]=t;q[a+52>>2]=0;q[a+8>>2]=t;q[a+12>>2]=0;ti=a- -64|0;return}J(195730,195579,479,195741);G()}function mU(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,p=0;e=ti-128|0;ti=e;a:{if(!a){f=-27648;break a}if(!b){f=-27648;break a}i=q[b+12>>2];if(!i){f=-27648;break a}f=q[b+16>>2];g=q[b+20>>2];if(f>>>0>>0){f=-27648;break a}l=q[b+24>>2];j=f-g|0;if(l>>>0>j>>>0){f=-27648;break a}f=-28928;k=q[a+80>>2];h=0;b:{if(!k){break b}h=q[k+4>>2]}if(l>>>0>16384){break a}k=b+24|0;p=a+80|0;g=g+i|0;i=j-l|0;n=1;c:{d:{e:{f:{g:{h=h-2|0;switch(h|0){case 5:break f;case 0:break g;default:break e}}if(q[a+76>>2]){break d}}f=-27136;if(t[a+12>>2]>i>>>0){break a}if(q[a+208>>2]<1){f=-27648;break a}nq(e+80|0,e+76|0,b);f=a+52|0;Uk(f,e+80|0,q[e+76>>2]);Uk(f,g,q[b+24>>2]);Nl(f,e+16|0);Lm(f);Gi(q[b+24>>2]+g|0,e+16|0,q[a+12>>2]);f=q[a+12>>2];l=f+q[b+24>>2]|0;q[b+24>>2]=l;i=i-f|0;n=0}f=-27648;h:{switch(h|0){case 4:case 6:case 8:break h;case 0:break d;default:break a}}f=-27136;if(t[a+16>>2]>i>>>0){break a}i=q[a+4>>2];d=q[a+8>>2];c=i-d|0;if(c>>>0>t[b+20>>2]){break a}i=(i|0)!=12;i:{if(!(i|(d|0)!=4)){q[e+16>>2]=q[a+20>>2];Gi(e+16|4,b,c);Gi(g-c|0,b,c);break i}f=-27648;if((d|0)!=12|i){break a}q[e+24>>2]=q[a+28>>2];d=q[a+24>>2];q[e+16>>2]=q[a+20>>2];q[e+20>>2]=d;o[e+20|0]=r[e+20|0]^r[b|0];o[e+21|0]=r[e+21|0]^r[b+1|0];o[e+22|0]=r[e+22|0]^r[b+2|0];o[e+23|0]=r[e+23|0]^r[b+3|0];o[e+24|0]=r[e+24|0]^r[b+4|0];o[e+25|0]=r[e+25|0]^r[b+5|0];o[e+26|0]=r[e+26|0]^r[b+6|0];o[e+27|0]=r[e+27|0]^r[b+7|0]}nq(e+80|0,e+76|0,b);d=q[b+24>>2];f=YV(p,e+16|0,q[a+4>>2],e+80|0,q[e+76>>2],g,d,g,k,d+g|0,q[a+16>>2]);if(f){break a}a=q[a+16>>2];q[b+20>>2]=q[b+20>>2]-c;q[b+24>>2]=q[b+24>>2]+(a+c|0);f=-27648;if(n){break c}break a}h=1;f=-27136;m=q[a+4>>2];j=(l+1>>>0)%(m>>>0)|0;j=j?m-j|0:0;m=j+1|0;if(m>>>0>i>>>0){break a}o[g+l|0]=j;if(j){while(1){o[(q[k>>2]+h|0)+g|0]=j;h=h+1|0;if(j>>>0>=h>>>0){continue}break}}h=q[k>>2]+m|0;q[k>>2]=h;if(q[a+208>>2]>=2){if(!c){f=-27648;break a}h=q[a+4>>2];if(h>>>0>t[b+20>>2]){break a}f=d;d=a+20|0;f=xi[c|0](f,d,h)|0;if(f){break a}c=q[a+4>>2];Gi(g-c|0,d,c);h=q[k>>2]}c=a+20|0;f=ID(p,c,q[a+4>>2],g,h,g,e+12|0);if(f){break a}f=-27648;d=q[k>>2];if((d|0)!=q[e+12>>2]){break a}j:{if(q[a+208>>2]<=1){Gi(c,a+120|0,q[a+4>>2]);break j}c=q[a+4>>2];q[b+24>>2]=c+d;q[b+20>>2]=q[b+20>>2]-c;g=g-c|0}if(!n){break c}if(t[a+12>>2]>i-m>>>0){f=-27136;break a}nq(e+80|0,e+76|0,b);c=a+52|0;Uk(c,e+80|0,q[e+76>>2]);Uk(c,g,q[b+24>>2]);Nl(c,e+16|0);Lm(c);Gi(q[b+24>>2]+g|0,e+16|0,q[a+12>>2]);q[b+24>>2]=q[b+24>>2]+q[a+12>>2]}f=0}ti=e+128|0;return f}function F1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=ti-2688|0;ti=c;g=q[a+8>>2]-q[a+12>>2]>>4;b=c+260|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+420|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+580|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+740|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+900|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1060|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1220|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1380|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1540|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1700|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+1860|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2020|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2180|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2340|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2500|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=c+2660|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[c+124>>2]=0;q[c+124>>2]=0;gj(a,q[c+124>>2],0);if(q[c+124>>2]){while(1){gj(a,0,0);b=(c+128|0)+w(f,160)|0;Hi(a,b);Di(a,-2,124561);a:{if(r[b+128|0]&4){q[c+40>>2]=q[b+148>>2];d=q[b+144>>2];q[c+32>>2]=q[b+140>>2];q[c+36>>2]=d;d=q[b+136>>2];q[c+24>>2]=q[b+132>>2];q[c+28>>2]=d;d=u0(c+24|0);if(d){Hi(a,d);yi(d);break a}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;yi(d);break a}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}Di(a,-2,124566);b:{c:{switch(q[b+132>>2]-1|0){case 0:Hi(a,124574);break b;case 1:Hi(a,124579);break b;default:break c}}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}Di(a,-2,124584);d:{if(r[b+128|0]&8){d=r[b+152|0];e=r[b+153|0];h=r[b+154|0];i=r[b+155|0];j=r[b+156|0];q[c+20>>2]=r[b+157|0];q[c+16>>2]=j;q[c+12>>2]=i;q[c+8>>2]=h;q[c+4>>2]=e;q[c>>2]=d;hj(c+48|0,64,124591,c);Hi(a,c+48|0);break d}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}Di(a,-2,124621);d=q[b+128>>2]&1;e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=d;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,124625);b=q[b+128>>2]>>>1&1;d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,124628);f=f+1|0;bk(a,-2,f);if(t[c+124>>2]>f>>>0){continue}break}}if((g+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(124455,124351,944,124636);G()}ti=c+2688|0;return 1}function Noa(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,r=0,s=0,t=0,u=0,v=0;d=ti-48|0;ti=d;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;a:{m=q[b>>2];if(m){e=q[b+12>>2];while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{p=c<<2;switch(q[p+e>>2]){case 3:break h;case 2:break i;case 1:break j;case 0:break c;case 7:break d;case 6:break e;case 5:break f;case 4:break g;default:break a}}f=f+1|0;break b}h=h+1|0;break b}g=g+1|0;break b}j=j+1|0;break b}k=k+1|0;break b}l=l+1|0;break b}i=i+1|0;n=(Ui(q[b+28>>2]+q[p+q[b+8>>2]>>2]|0)+n|0)+1|0;break b}o=o+1|0}c=c+1|0;if(m>>>0>c>>>0){continue}break}q[d+40>>2]=l;q[d+16>>2]=i;q[d+20>>2]=n;q[d+36>>2]=k;q[d+32>>2]=j;q[d+28>>2]=g;q[d+24>>2]=h;q[d+12>>2]=f;q[d+8>>2]=o}p=q[a>>2];if(p){k:{if(m){s=q[a+4>>2];t=q[b+4>>2];e=0;while(1){c=(e<<3)+s|0;u=q[c>>2];v=q[c+4>>2];c=0;l:{while(1){r=(c<<3)+t|0;if((u|0)==q[r>>2]&(v|0)==q[r+4>>2]){break l}c=c+1|0;if((m|0)!=(c|0)){continue}break}m:{n:{o:{p:{q:{r:{s:{t:{c=e<<2;switch(q[c+q[a+12>>2]>>2]){case 0:break m;case 7:break n;case 6:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break s;case 1:break t;default:break a}}f=f+1|0;break l}h=h+1|0;break l}g=g+1|0;break l}j=j+1|0;break l}k=k+1|0;break l}l=l+1|0;break l}i=i+1|0;n=(Ui(q[a+28>>2]+q[c+q[a+8>>2]>>2]|0)+n|0)+1|0;break l}o=o+1|0}e=e+1|0;if(p>>>0>e>>>0){continue}break}break k}e=q[a+12>>2];c=0;while(1){u:{v:{w:{x:{y:{z:{A:{B:{C:{m=c<<2;switch(q[m+e>>2]){case 0:break v;case 1:break w;case 2:break x;case 3:break y;case 4:break z;case 5:break A;case 6:break B;case 7:break C;default:break a}}i=i+1|0;n=(Ui(q[a+28>>2]+q[m+q[a+8>>2]>>2]|0)+n|0)+1|0;break u}l=l+1|0;break u}k=k+1|0;break u}j=j+1|0;break u}g=g+1|0;break u}h=h+1|0;break u}f=f+1|0;break u}o=o+1|0}c=c+1|0;if(p>>>0>c>>>0){continue}break}}q[d+40>>2]=l;q[d+16>>2]=i;q[d+20>>2]=n;q[d+36>>2]=k;q[d+32>>2]=j;q[d+28>>2]=g;q[d+24>>2]=h;q[d+12>>2]=f;q[d+8>>2]=o}g=Rv(d+8|0);c=0;D:{if(!q[b>>2]){f=0;break D}while(1){JK(g,b,c);c=c+1|0;f=q[b>>2];if(c>>>0>>0){continue}break}}E:{h=q[a>>2];if(!h){break E}e=0;while(1){F:{if(f){c=q[a+4>>2]+(e<<3)|0;j=q[c>>2];k=q[c+4>>2];l=q[b+4>>2];c=0;while(1){i=l+(c<<3)|0;if((j|0)==q[i>>2]&(k|0)==q[i+4>>2]){break F}c=c+1|0;if((f|0)!=(c|0)){continue}break}}JK(g,a,e);h=q[a>>2]}e=e+1|0;if(h>>>0<=e>>>0){break E}f=q[b>>2];continue}}a=q[g>>2];yi(g);ti=d+48|0;return a}J(13959,13844,386,14139);G()}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,r=0,s=0,t=0,v=x(0);j=(c<<1&-4)+7&-8;i=q[a+8>>2];r=c&-4;l=((b<<2)+a|0)+1080|0;h=q[a+92>>2];a:{if(h){e=q[a+100>>2];d=e+j|0;g=0;if((d|0)>q[a+104>>2]){break a}q[a+100>>2]=d;g=e+h|0;break a}g=0;if(!j){break a}g=Ji(j)}q[l>>2]=g;n=i+(j<<1)|0;l=((b<<2)+a|0)+1088|0;i=q[a+92>>2];b:{if(i){h=q[a+100>>2];d=h+j|0;e=0;if((d|0)>q[a+104>>2]){break b}q[a+100>>2]=d;e=h+i|0;break b}e=0;if(!j){break b}e=Ji(j)}q[l>>2]=e;h=r+7&-8;r=h+n|0;q[a+8>>2]=r;n=((b<<2)+a|0)+1096|0;l=q[a+92>>2];c:{if(l){i=q[a+100>>2];h=i+h|0;d=0;if((h|0)>q[a+104>>2]){break c}q[a+100>>2]=h;d=i+l|0;break c}d=0;if(!h){break c}d=Ji(h)}q[n>>2]=d;if(!(e?!(!g|!d):0)){q[a+112>>2]=3;return 0}s=c>>2;d:{if((c|0)<4){break d}n=(s|0)>1?s:1;t=+(c|0);while(1){l=f<<2;k=+(m<<2)*3.141592653589793/t;u[g+l>>2]=Zv(k);i=f|1;h=i<<2;u[g+h>>2]=-x(oq(k));k=+(i|0)*3.141592653589793/t*.5;u[e+l>>2]=x(Zv(k))*x(.5);u[e+h>>2]=x(oq(k))*x(.5);f=f+2|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}if((c|0)<8){break d}e=c>>3;g=(e|0)>1?e:1;f=0;m=0;while(1){e=f|1;k=+(e<<1)*3.141592653589793/t;u[d+(f<<2)>>2]=Zv(k);u[d+(e<<2)>>2]=-x(oq(k));f=f+2|0;m=m+1|0;if((g|0)!=(m|0)){continue}break}}i=j+r|0;q[a+8>>2]=i;e:{f:{g:{h:{f=((b<<2)+a|0)+1104|0;g=q[a+92>>2];i:{if(g){e=q[a+100>>2];d=e+j|0;if((d|0)>q[a+104>>2]){break h}q[a+100>>2]=d;d=e+g|0;break i}if(!j){break h}d=Ji(j)}q[f>>2]=d;if(!d){break e}if((c|0)>=2){g=c>>1;e=(g|0)>1?g:1;k=+(g|0);f=0;while(1){v=x(oq((+(f|0)+.5)/k*.5*3.141592653589793));u[d+(f<<2)>>2]=oq(+x(v*v)*1.5707963267948966);f=f+1|0;if((e|0)!=(f|0)){continue}break}}d=(s&-2)+7&-8;q[a+8>>2]=d+i;f=((b<<2)+a|0)+1112|0;g=q[a+92>>2];j:{if(g){e=q[a+100>>2];d=e+d|0;if((d|0)>q[a+104>>2]){break g}q[a+100>>2]=d;b=e+g|0;break j}if(!d){break g}b=Ji(d)}q[f>>2]=b;if(!b){break f}k:{if((c|0)<0){break k}a=c;e=a;l:{m:{n:{o:{if((a|0)<=16383){if((c|0)<16){break o}d=(c|0)<512?5:10;break m}if((c|0)>16777215){break n}d=(c|0)<524288?15:20;break m}if((c|0)<=7){break k}d=o[c+205792|0];break l}d=(c|0)<536870912?25:30}d=o[(e>>>d|0)+205792|0]+d|0}a=c>>>3|0;e=a>>>0>1?a:1;d=36-d|0;f=0;while(1){c=f<<1;a=f>>>1&357913941|c&-1431655766;a=a>>>2&590558003|a<<2&-858993460;a=a>>>4&235867919|a<<4&-252645136;p[b+c>>1]=Twa(a>>>8&16646399|a<<8&-16711936,16)>>>d<<2;f=f+1|0;if((e|0)!=(f|0)){continue}break}}return 1}q[((b<<2)+a|0)+1104>>2]=0;break e}q[((b<<2)+a|0)+1112>>2]=0}q[a+112>>2]=3;return 0}q[a+112>>2]=3;return 0}function U3(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,s=0;k=ti-16|0;ti=k;a:{b:{c:{d:{g=q[a+8>>2];e:{if((g|0)==q[a+4>>2]){q[k>>2]=g-q[a>>2]>>2;Ai(4,147126,147130,k);b=2;break e}d=Fi(Oi(192),0,192);h=G6(a);q[d+64>>2]=h;i=q[a+16>>2];if(h>>>0>=q[a+20>>2]-i>>3>>>0){break c}g=q[a>>2];m=q[a+4>>2]-g>>2;a=q[i+(h<<3)>>2];if(m>>>0<=a>>>0){break c}q[g+(a<<2)>>2]=d;n=q[b>>2];s=q[b+4>>2];q[d+88>>2]=q[b+36>>2];q[d+92>>2]=q[b+40>>2];q[d+96>>2]=q[b+44>>2];q[d+100>>2]=q[b+48>>2];q[d+104>>2]=q[b+52>>2];q[d+108>>2]=q[b+56>>2];q[d+68>>2]=q[b+16>>2];q[d+72>>2]=q[b+20>>2];j=q[b+24>>2];q[d+76>>2]=j;l=q[b+28>>2];q[d+80>>2]=l;q[d+84>>2]=q[b+32>>2];e=r[d+186|0];f=e|4;o[d+186|0]=f;m=d;h=q[l+4>>2];f:{if(h){g=q[l>>2];a=0;while(1){i=g+(a<<6)|0;if(q[i+48>>2]==(n|0)&q[i+52>>2]==(s|0)){q[d+168>>2]=n;q[d+172>>2]=s;q[d+160>>2]=g+(a<<6);a=e|12;break f}a=a+1|0;if((h|0)!=(a|0)){continue}break}}q[d+168>>2]=0;q[d+172>>2]=0;q[d+160>>2]=0;a=f&247}o[m+186|0]=a;a=q[l+24>>2];g:{if(!j){p[d+184>>1]=a;break g}h=q[j+4>>2];p[d+184>>1]=a>>>0>h>>>0?a:h;if(o[d+124|0]&1){break b}Ii(h,176,d+112|0,d+120|0,d+116|0);g=q[d+112>>2];if(h>>>0>(q[d+120>>2]-g|0)/176>>>0){break a}q[d+116>>2]=g+w(h,176);if(h){a=q[j+4>>2];i=0;while(1){if((a|0)==(i|0)){break d}e=g+w(i,176)|0;f=q[j>>2]+w(i,192)|0;u[e+164>>2]=u[f+176>>2];q[e+160>>2]=q[f>>2];u[e>>2]=u[f+32>>2];u[e+4>>2]=u[f+36>>2];u[e+8>>2]=u[f+40>>2];u[e+12>>2]=u[f+44>>2];u[e+16>>2]=u[f+48>>2];u[e+20>>2]=u[f+52>>2];u[e+24>>2]=u[f+56>>2];u[e+32>>2]=u[f- -64>>2];u[e+36>>2]=u[f+68>>2];u[e+40>>2]=u[f+72>>2];u[e+48>>2]=u[f+80>>2];u[e+52>>2]=u[f+84>>2];u[e+56>>2]=u[f+88>>2];u[e+60>>2]=u[f+92>>2];u[e- -64>>2]=u[f+96>>2];u[e+68>>2]=u[f+100>>2];u[e+72>>2]=u[f+104>>2];u[e+80>>2]=u[f+112>>2];u[e+84>>2]=u[f+116>>2];u[e+88>>2]=u[f+120>>2];i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(o[d+156|0]&1){break b}Ii(q[j+12>>2],48,d+144|0,d+152|0,d+148|0);a=q[j+12>>2];g=q[d+144>>2];if(a>>>0>(q[d+152>>2]-g|0)/48>>>0){break a}a=w(a,48);q[d+148>>2]=a+g;Fi(g,0,a);if(o[d+140|0]&1){break b}Ii(q[j+12>>2],8,d+128|0,d+136|0,d+132|0);a=q[j+12>>2];g=q[d+128>>2];if(a>>>0>q[d+136>>2]-g>>3>>>0){break a}q[d+132>>2]=g+(a<<3)}g=q[b+8>>2];a=q[b+12>>2];if((g|0)!=q[213348]|(a|0)!=q[213349]){WF(d,g,a,4,x(0),x(0),x(1))}if(r[b+60|0]){YF(d,x(0))}q[c>>2]=d;b=0}ti=k+16|0;return b}J(147195,147207,68,147227);G()}J(147249,147260,479,147227);G()}J(147316,147260,493,147391);G()}J(147403,147260,506,147422);G()}function pB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-48|0;ti=g;axa(+a);d=Zwa(1)|0;f=Zwa(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0?1:(e|0)>=0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0?1:(e|0)>=0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0?1:(e|0)>=0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+j*-1.5707963267341256;i=j*6.077100506506192e-11;a=c-i;v[b>>3]=a;axa(+a);d=Zwa(1)|0;Zwa(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(y(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(f){break d}i=c;a=j*6.077100506303966e-11;c=c-a;i=j*2.0222662487959506e-21-(i-c-a);a=c-i;v[b>>3]=a;f=e;axa(+a);e=Zwa(1)|0;Zwa(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=j*2.0222662487111665e-21;c=c-a;i=j*8.4784276603689e-32-(i-c-a);a=c-i;v[b>>3]=a}v[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;v[b>>3]=a;v[b+8>>3]=a;d=0;break a}_wa(0,f|0);_wa(1,e&1048575|1096810496);a=+$wa();d=0;f=1;while(1){k=(g+16|0)+(d<<3)|0;if(y(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);v[k>>3]=c;a=(a-c)*16777216;d=1;k=f&1;f=0;if(k){continue}break}v[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(v[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=OM(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=v[g>>3];if((e|0)<-1?1:(e|0)<=-1){v[b>>3]=-a;v[b+8>>3]=-v[g+8>>3];d=0-d|0;break a}v[b>>3]=a;v[b+8>>3]=v[g+8>>3]}ti=g+48|0;return d}function $8(a,b){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];u[a+60>>2]=u[b+60>>2];u[a+64>>2]=u[b+64>>2];u[a+68>>2]=u[b+68>>2];u[a+72>>2]=u[b+72>>2];u[a+76>>2]=u[b+76>>2];u[a+80>>2]=u[b+80>>2];u[a+84>>2]=u[b+84>>2];u[a+88>>2]=u[b+88>>2];u[a+92>>2]=u[b+92>>2];u[a+96>>2]=u[b+96>>2];u[a+100>>2]=u[b+100>>2];u[a+104>>2]=u[b+104>>2];u[a+108>>2]=u[b+108>>2];u[a+112>>2]=u[b+112>>2];u[a+116>>2]=u[b+116>>2];u[a+120>>2]=u[b+120>>2];u[a+124>>2]=u[b+124>>2];u[a+128>>2]=u[b+128>>2];u[a+132>>2]=u[b+132>>2];u[a+136>>2]=u[b+136>>2];u[a+140>>2]=u[b+140>>2];u[a+144>>2]=u[b+144>>2];u[a+148>>2]=u[b+148>>2];u[a+152>>2]=u[b+152>>2];u[a+156>>2]=u[b+156>>2];u[a+160>>2]=u[b+160>>2];u[a+164>>2]=u[b+164>>2];u[a+168>>2]=u[b+168>>2];u[a+172>>2]=u[b+172>>2];u[a+176>>2]=u[b+176>>2];u[a+180>>2]=u[b+180>>2];u[a+184>>2]=u[b+184>>2];u[a+188>>2]=u[b+188>>2];u[a+192>>2]=u[b+192>>2];u[a+196>>2]=u[b+196>>2];u[a+200>>2]=u[b+200>>2];u[a+204>>2]=u[b+204>>2];u[a+208>>2]=u[b+208>>2];u[a+212>>2]=u[b+212>>2];u[a+216>>2]=u[b+216>>2];u[a+220>>2]=u[b+220>>2];u[a+224>>2]=u[b+224>>2];u[a+228>>2]=u[b+228>>2];u[a+232>>2]=u[b+232>>2];u[a+236>>2]=u[b+236>>2];u[a+240>>2]=u[b+240>>2];u[a+244>>2]=u[b+244>>2];u[a+248>>2]=u[b+248>>2];u[a+252>>2]=u[b+252>>2];u[a+256>>2]=u[b+256>>2];u[a+260>>2]=u[b+260>>2];u[a+264>>2]=u[b+264>>2];u[a+268>>2]=u[b+268>>2];u[a+272>>2]=u[b+272>>2];u[a+276>>2]=u[b+276>>2];u[a+280>>2]=u[b+280>>2];u[a+284>>2]=u[b+284>>2];u[a+288>>2]=u[b+288>>2];u[a+292>>2]=u[b+292>>2];u[a+296>>2]=u[b+296>>2];u[a+300>>2]=u[b+300>>2];u[a+304>>2]=u[b+304>>2];u[a+308>>2]=u[b+308>>2];u[a+312>>2]=u[b+312>>2];u[a+316>>2]=u[b+316>>2];u[a+320>>2]=u[b+320>>2];u[a+324>>2]=u[b+324>>2];u[a+328>>2]=u[b+328>>2];u[a+332>>2]=u[b+332>>2];u[a+336>>2]=u[b+336>>2];u[a+340>>2]=u[b+340>>2];u[a+344>>2]=u[b+344>>2];u[a+348>>2]=u[b+348>>2];u[a+352>>2]=u[b+352>>2];u[a+356>>2]=u[b+356>>2];u[a+360>>2]=u[b+360>>2];u[a+364>>2]=u[b+364>>2];u[a+368>>2]=u[b+368>>2];u[a+372>>2]=u[b+372>>2];u[a+376>>2]=u[b+376>>2];u[a+380>>2]=u[b+380>>2];u[a+384>>2]=u[b+384>>2];u[a+388>>2]=u[b+388>>2];u[a+392>>2]=u[b+392>>2];u[a+396>>2]=u[b+396>>2];Gi(a+400|0,b+400|0,136)}function Zz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,t=0,u=0,v=0,x=0,y=0,z=0;v=ti-16|0;ti=v;a:{b:{c:{if((b|0)!=65535){l=e+8|0;i=e+4|0;while(1){p=q[a+32>>2];g=(q[a+36>>2]-p|0)/576|0;b=b&65535;if(g>>>0<=b>>>0){break c}y=w(b,576);m=y+p|0;k=q[m+412>>2];d:{if(!(k&1048576)){break d}j=p+y|0;n=s[j+552>>1];t=s[j+554>>1];f=m;x=q[j+496>>2];u=q[j+500>>2];e:{if((x|0)!=q[216156]|(u|0)!=q[216157]){break e}while(1){h=s[f+560>>1];if((h|0)==65535){break e}if(h>>>0>=g>>>0){break c}f=w(h,576)+p|0;if((x|0)==q[f+496>>2]&(u|0)==q[f+500>>2]){continue}break}}n=t|n<<16;h=s[f+504>>1];f:{g=s[j+570>>1];if((g|0)==65535){break f}f=q[d>>2];if(g>>>0>=(q[d+4>>2]-f|0)/24>>>0){break c}f=f+w(g,24)|0;if(s[f+20>>1]!=(b|0)){break f}g=Zz(a,s[j+562>>1],c+2&65535,d,e);k=h<<24;j=k|c+1&65535;b=h>>>8|0;h=b;t=b;q[f+8>>2]=j;q[f+12>>2]=b;b=q[e+4>>2];f=q[e+8>>2];if((b|0)==(f|0)){if(o[e+12|0]&1){break b}Ii((b-q[e>>2]>>4)+16|0,16,e,l,i);f=q[e+8>>2];b=q[e+4>>2]}if((b|0)==(f|0)){break a}q[i>>2]=b+16;q[b+12>>2]=0;q[b+8>>2]=n;q[b>>2]=c&65535|k;q[b+4>>2]=h;if(!(r[m+415|0]&4)){c=g;break d}b=q[i>>2];f=q[l>>2];if((b|0)==(f|0)){if(o[e+12|0]&1){break b}Ii((b-q[e>>2]>>4)+16|0,16,e,l,i);f=q[e+8>>2];b=q[e+4>>2]}if((b|0)==(f|0)){break a}q[i>>2]=b+16;q[b+12>>2]=0;q[b+8>>2]=n;q[b>>2]=j;q[b+4>>2]=t;c=g;break d}g:{if((k&240)==80){f=q[a+232>>2];b=q[a+228>>2];g=f-b|0;if(!g){break g}g=(g|0)/12|0;if((b|0)!=(f|0)){t=g>>>0>1?g:1;g=h>>>8|0;x=h<<24;h=0;while(1){m=w(h,12)+b|0;h:{if((n|0)!=q[m+8>>2]){break h}f=0;u=w6(q[a+192>>2],q[m>>2]);if(!u){break h}while(1){RG(q[a+192>>2],q[m>>2],f,v+12|0);z=q[v+12>>2];if(z){b=q[i>>2];k=q[l>>2];if((b|0)==(k|0)){if(o[e+12|0]&1){break b}Ii((b-q[e>>2]>>4)+16|0,16,e,l,i);k=q[e+8>>2];b=q[e+4>>2]}if((b|0)==(k|0)){break a}q[i>>2]=b+16;q[b+12>>2]=z;q[b+8>>2]=n;q[b>>2]=c&65535|x;q[b+4>>2]=g;c=c+1|0}f=f+1|0;if((u|0)!=(f|0)){continue}break}}h=h+1|0;if((t|0)==(h|0)){break g}b=q[a+228>>2];if((q[a+232>>2]-b|0)/12>>>0>h>>>0){continue}break}}break c}b=q[i>>2];f=q[l>>2];if((b|0)==(f|0)){if(o[e+12|0]&1){break b}Ii((b-q[e>>2]>>4)+16|0,16,e,l,i);f=q[e+8>>2];b=q[e+4>>2]}if((b|0)==(f|0)){break a}g=c;c=g+1|0;q[i>>2]=b+16;q[b+12>>2]=0;q[b+8>>2]=n;q[b>>2]=g&65535|h<<24;q[b+4>>2]=h>>>8}c=Zz(a,s[j+562>>1],c&65535,d,e)}b=s[(p+y|0)+558>>1];if((b|0)!=65535){continue}break}}ti=v+16|0;return c&65535}J(195730,195579,479,195741);G()}J(196110,195579,493,195316);G()}J(195701,195579,533,195725);G()}function zka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,r=0,v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0),I=x(0),K=x(0),L=0,M=0,N=x(0),O=x(0);b=ti-48|0;ti=b;f=q[a+8>>2];g=u[q[a+4>>2]+4>>2];u[f+116>>2]=g;a:{b:{d=q[f>>2];h=q[f+4>>2];c=(d|0)==(h|0);if(c){break b}e=h-d|0;r=(e|0)/40|0;h=q[f+84>>2];if(!e){jz(h,g);break b}if(!c){M=r>>>0>1?r:1;while(1){d=w(m,40)+d|0;n=q[d>>2];c:{if(!n){break c}L=q[d+28>>2];c=q[f+48>>2];if(L>>>0>=(q[f+52>>2]-c|0)/48>>>0){break a}c=w(L,48)+c|0;v=u[c+24>>2];y=u[c+20>>2];z=u[c+28>>2];A=u[c+16>>2];i=u[c>>2];j=u[c+4>>2];k=u[c+8>>2];Mv(b,n);N=u[b+16>>2];O=u[b+20>>2];n=q[d+16>>2];g=u[b+8>>2];D=u[b+32>>2];l=x(i*D);i=u[b+12>>2];E=u[b+36>>2];B=x(j*E);j=u[b>>2];F=u[b+40>>2];C=x(k*F);H=x(x(x(g*l)+x(i*B))-x(j*C));k=u[b+4>>2];I=x(x(g*C)+x(x(j*l)+x(k*B)));K=x(x(x(j*B)+x(i*C))-x(k*l));l=x(x(x(i*l)+x(k*C))-x(g*B));u[b+8>>2]=u[b+24>>2]+x(x(j*H)+x(x(x(g*I)+x(i*K))-x(k*l)));u[b+4>>2]=O+x(x(g*l)+x(x(x(i*H)+x(k*I))-x(j*K)));u[b>>2]=N+x(x(k*K)+x(x(x(j*I)+x(i*l))-x(g*H)));Yu(h,n,b);n=q[d+16>>2];u[b+12>>2]=x(x(x(z*i)-x(A*j))-x(y*k))-x(v*g);u[b+8>>2]=x(x(y*j)+x(x(z*g)+x(v*i)))-x(A*k);u[b+4>>2]=x(x(A*g)+x(x(z*k)+x(y*i)))-x(v*j);u[b>>2]=x(x(v*k)+x(x(z*j)+x(A*i)))-x(y*g);Xu(h,n,b);g=D>2],g>F?F:g);MG(h,q[d+16>>2],(q[q[d>>2]+136>>2]&512)>>>9|0);if(!(o[c+36|0]&1)|o[d+32|0]&1){break c}mz(h,q[d+16>>2]);p[d+32>>1]=s[d+32>>1]|1}m=m+1|0;if((M|0)==(m|0)){m=q[a+12>>2];jz(h,u[q[a+4>>2]+4>>2]);if(!e){break b}d=0;d:{e:{while(1){a=q[f>>2];if((q[f+4>>2]-a|0)/40>>>0<=d>>>0){break a}f:{g:{c=w(d,40);a=c+a|0;if(q[a>>2]?!(o[a+32|0]&1):0){break g}if(!QG(h,q[a+16>>2])){break g}e=q[a+20>>2];q[f+112>>2]=q[f+112>>2]-((q[e+4>>2]-q[e>>2]|0)/18568|0);Pi(q[m>>2],q[a+20>>2]);Ks(h,q[a+16>>2]);e=q[f+4>>2];a=q[f>>2];if((e-a|0)/40>>>0<=d>>>0){break e}a=a+c|0;c=e-40|0;e=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=e;e=q[c+36>>2];q[a+32>>2]=q[c+32>>2];q[a+36>>2]=e;e=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=e;e=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=e;e=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=e;a=q[f+4>>2]-40|0;q[f+4>>2]=a;if(a>>>0>2]){break d}r=r-1|0;break f}d=d+1|0}if(d>>>0>>0){continue}break}break b}J(42867,42460,513,42882);G()}J(42892,42460,516,42882);G()}d=q[f>>2];if((q[f+4>>2]-d|0)/40>>>0>m>>>0){continue}break}}break a}ti=b+48|0;return 0}J(42544,42460,479,42555);G()}function Yua(){var a=0;pva();owa();nwa();mN();Dwa();lwa();swa();sN();pN();iN();gN();fN();cN();bN();kwa();q[60337]=q[74622];q[74622]=241320;q[60371]=q[74622];q[74622]=241456;q[60439]=q[74622];q[74622]=241728;q[74627]=0;q[74628]=0;q[74623]=0;q[74624]=0;q[74629]=0;q[74630]=0;q[74625]=0;q[74626]=0;q[74628]=-1;q[60471]=q[74622];q[74622]=241856;q[60503]=q[74622];q[74622]=241984;q[60535]=q[74622];q[74622]=242112;q[60571]=q[74622];q[74622]=242256;q[60597]=q[74622];q[74622]=242360;q[60711]=q[74622];q[74622]=242816;Uva();q[60753]=q[74622];q[74622]=242984;q[60803]=q[74622];q[74622]=243184;q[60841]=q[74622];q[74622]=243336;q[60869]=q[74622];q[74622]=243448;q[60897]=q[74622];q[74622]=243560;q[60913]=q[74622];q[74622]=243624;Bwa();Awa();zwa();ywa();rN();xwa();qN();vwa();twa();Cwa();rwa();uwa();qwa();pwa();wwa();jwa();hwa();gwa();hN();eN();dN();Rva();Qva();Pva();Ova();Nva();Mva();Lva();kN();Kva();Jva();Iva();q[61349]=q[74622];q[74622]=245368;q[61365]=q[74622];q[74622]=245432;Ewa();iwa();bwa();q[62669]=q[74622];q[74622]=250648;q[62685]=q[74622];q[74622]=250712;q[62735]=q[74622];q[74622]=250912;Zva();Xva();q[63537]=q[74622];q[74622]=254120;q[63617]=q[74622];q[74622]=254440;q[63649]=q[74622];q[74622]=254568;q[63671]=q[74622];q[74622]=254656;q[63689]=q[74622];q[74622]=254728;q[63705]=q[74622];q[74622]=254792;q[63779]=q[74622];q[74622]=255088;q[63817]=q[74622];q[74622]=255240;q[63923]=q[74622];q[74622]=255664;Eva();fwa();a=q[77416];q[77531]=612;q[77529]=a;o[310132]=1;q[77530]=613;q[77416]=310116;dwa();ewa();mwa();Wva();q[65173]=q[74622];q[74622]=260664;q[65243]=q[74622];q[74622]=260944;q[65401]=q[74622];q[74622]=261576;q[65429]=q[74622];q[74622]=261688;q[65481]=q[74622];q[74622]=261896;q[65551]=q[74622];q[74622]=262176;Vva();Sva();q[81764]=0;q[81765]=0;q[81760]=0;q[81761]=0;q[81766]=0;q[81767]=0;q[81762]=0;q[81763]=0;q[81765]=-1;Hva();awa();q[66783]=q[74622];q[74622]=267104;Fva();q[212970]=Ps(143972);$va();Yva();q[67591]=q[74622];q[74622]=270336;q[67617]=q[74622];q[74622]=270440;q[67657]=q[74622];q[74622]=270600;q[67685]=q[74622];q[74622]=270712;q[67707]=q[74622];q[74622]=270800;q[67863]=q[74622];q[74622]=271424;q[67883]=q[74622];q[74622]=271504;q[213348]=zi(147115);q[213349]=wi;Tva();q[215611]=0;q[215612]=Hj();_va();cwa();oN();Gva();q[73819]=q[242110];q[242110]=295236;q[73830]=q[242110];q[242110]=295280;q[73842]=q[242117];q[242117]=295336}function ko(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0;g=ti-1584|0;ti=g;f=-4;a:{if((uj(d,0)|0)<1){break a}h=q[q[d+8>>2]>>2];if(!(h&1)){break a}if((uj(c,0)|0)<0){break a}LS(g+1580|0,h);h=g+1568|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;h=g+1552|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;Fi(g+16|0,0,1536);h=Al(c);i=6;b:{if(h>>>0>671){break b}i=5;if(h>>>0>239){break b}i=4;if(h>>>0>79){break b}i=h>>>0>23?3:1}h=q[d+4>>2]+1|0;f=bl(a,h);c:{if(f){break c}m=g+16|12;f=bl(m,h);if(f){break c}f=bl(g+1552|0,h<<1);if(f){break c}r=q[b>>2];if((r|0)==-1){f=gk(g,b);if(f){break c}q[g>>2]=1;b=g}d:{e:{if(!(q[e+8>>2]?e:0)){f=lk(g+1568|0,1);if(f){break c}f=$m(g+1568|0,q[d+4>>2]<<6);if(f){break c}f=Tk(g+1568|0,g+1568|0,d);if(f){break c}if(!e){break d}f=g+1568|0;h=e;break e}f=e;h=g+1568|0}j=q[f+4>>2];q[h>>2]=q[f>>2];q[h+4>>2]=j;q[h+8>>2]=q[f+8>>2]}f:{if((Lj(b,d)|0)>=0){f=Tk(m,b,d);if(!f){break f}break c}f=gk(m,b);if(f){break c}}k=q[g+1580>>2];f=io(m,g+1568|0,d,k,g+1552|0);if(f){break c}f=gk(a,g+1568|0);if(f){break c}f=WC(a,d,k,g+1552|0);if(f){break c}g:{if(i>>>0<2){break g}l=i-1|0;j=1<>2]+1|0);if(f){break c}f=gk(b,m);if(f){break c}h=0;while(1){f=io(b,b,d,k,g+1552|0);if(f){break c}h=h+1|0;if((l|0)!=(h|0)){continue}break}while(1){b=j+1|0;if(b>>>i|0){break g}h=(g+16|0)+w(b,12)|0;f=bl(h,q[d+4>>2]+1|0);if(f){break c}f=gk(h,(g+16|0)+w(j,12)|0);if(f){break c}j=b;f=io(h,m,d,k,g+1552|0);if(!f){continue}break}break c}p=q[c+4>>2];l=0;b=0;h=0;while(1){if(!b){if(!p){if(n){h=1<>2]|!(o[q[c+8>>2]]&1)){break c}q[a>>2]=-1;f=Bl(a,d,a);break c}p=p-1|0;b=32}f=h;h=0;b=b-1|0;j=q[q[c+8>>2]+(p<<2)>>2]>>>b&1;if(!(j|f)){continue}if(!(j|(f|0)!=1)){h=1;f=io(a,a,d,k,g+1552|0);if(!f){continue}break c}n=n+1|0;l=j<>>i|0)){while(1){Si((g+16|0)+w(d,12)|0);d=d+1|0;if(!(d>>>i|0)){continue}break}}Si(g+16|12);Si(g+1552|0);Si(g);if(q[e+8>>2]?e:0){break a}Si(g+1568|0)}ti=g+1584|0;return f}function qK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=ti-32|0;ti=g;q[d>>2]=c;a:{b:{c:{d:{e:{e=Nj(a,q[c+64>>2],d+80|0);f:{if(e){break f}if(q[q[d+80>>2]+104>>2]){Ai(4,55518,55526,0);e=-15;break f}e=q[d>>2];c=q[e>>2];if(!(!c|!r[c|0])){e=Nj(a,c,d+4|0);if(e){break f}e=q[d>>2]}h=d+84|0;c=q[e+104>>2];e=c>>>0<3?1:(c>>>0)/3|0;cp(h,e,c);i=d+116|0;Ms(i,e,q[q[d>>2]+104>>2]);e=q[d>>2];f=q[e+104>>2];if(f){c=0;while(1){q[g+28>>2]=0;if(c>>>0>=f>>>0){break c}f=c<<3;e=Nj(a,q[(f+q[e+100>>2]|0)+4>>2],g+28|0);if(e){break f}e=q[d>>2];if(t[e+104>>2]<=c>>>0){break c}e=f+q[e+100>>2]|0;j=Km(q[e+4>>2],46);e=zi(q[e>>2]);f=wi;q[g+16>>2]=zi(j);q[g+20>>2]=wi;wm(h,e,f,g+28|0);bv(i,e,f,g+16|0);c=c+1|0;e=q[d>>2];f=q[e+104>>2];if(c>>>0>>0){continue}break}}if(o[d+68|0]&1){break b}f=d- -64|0;Ii(q[e+96>>2],4,d+56|0,f,d+60|0);q[d+60>>2]=q[d+56>>2];e=q[d>>2];if(q[e+96>>2]){c=0;while(1){q[g+16>>2]=0;e=Nj(a,q[(q[e+92>>2]+(c<<3)|0)+4>>2],g+16|0);if(e){break f}e=q[d+60>>2];if((e|0)==q[f>>2]){break a}h=q[g+16>>2];q[d+60>>2]=e+4;q[e>>2]=h;c=c+1|0;e=q[d>>2];if(c>>>0>2]){continue}break}}if(o[d+20|0]&1){break b}Ii(q[e+8>>2],4,d+8|0,d+16|0,d+12|0);c=q[d+8>>2];q[d+12>>2]=c;if(o[d+36|0]&1){break b}Ii(q[d+16>>2]-c>>2,8,d+24|0,d+32|0,d+28|0);q[d+28>>2]=q[d+24>>2];e=q[d>>2];f=q[e+8>>2];if(f){c=0;while(1){if(c>>>0>=f>>>0){break e}e=Nj(a,q[(q[e+4>>2]+(c<<3)|0)+4>>2],g+28|0);if(e){break f}e=q[d+12>>2];if((e|0)==q[d+16>>2]){break a}f=q[g+28>>2];q[d+12>>2]=e+4;q[e>>2]=f;q[g+16>>2]=0;q[g+20>>2]=0;Sp(a,q[g+28>>2],g+16|0);e=q[d+28>>2];if((e|0)==q[d+32>>2]){break a}f=q[g+16>>2];h=q[g+20>>2];q[d+28>>2]=e+8;q[e>>2]=f;q[e+4>>2]=h;c=c+1|0;e=q[d>>2];f=q[e+8>>2];if(c>>>0>>0){continue}break}}Fl(a,55656,g+16|0);if(o[d+52|0]&1){break b}Ii(q[q[d>>2]+16>>2],8,d+40|0,d+48|0,d+44|0);q[d+44>>2]=q[d+40>>2];e=q[d>>2];f=q[e+16>>2];if(f){c=0;while(1){if(c>>>0>=f>>>0){break d}e=Nj(a,q[(q[e+12>>2]+(c<<3)|0)+4>>2],g+28|0);if(e){break f}e=Mu(a,q[g+28>>2],g+12|0);if(e){break f}e=q[d+44>>2];if((e|0)==q[d+48>>2]){break a}f=q[g+28>>2];h=q[g+12>>2]==q[g+16>>2];i=q[(h?f+48|0:g+28|0)>>2];q[d+44>>2]=e+8;q[e+4>>2]=i;q[e>>2]=h?f:0;c=c+1|0;e=q[d>>2];f=q[e+16>>2];if(c>>>0>>0){continue}break}}a=Jk(q[e>>2]);q[d+76>>2]=b;q[d+72>>2]=a;e=0}ti=g+32|0;return e}J(55673,55685,245,55709);G()}J(55673,55685,253,55709);G()}J(55673,55685,305,55709);G()}J(55802,55877,493,55790);G()}J(55933,55877,533,55957);G()}function iv(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,p=x(0),t=0,v=0,z=0,A=x(0);m=ti-32|0;ti=m;a:{b:{c:{d:{k=b&65535;l=q[a+32>>2];if(k>>>0<(q[a+36>>2]-l|0)/576>>>0){t=b>>>16|0;if((t|0)!=s[(w(k,576)+l|0)+552>>1]){break d}j=w(k,576)+l|0;if(s[j+554>>1]!=(b&65535)){break c}q[j+464>>2]=0;q[j+468>>2]=0;q[j+472>>2]=0;e:{if(!(c|d)){Ai(4,193721,194923,0);a=-7;break e}z=w(k,576)+l|0;if(q[z+436>>2]!=2){Ai(4,193721,194975,0);a=-7;break e}v=j+472|0;q[j+464>>2]=c;q[j+468>>2]=d;f:{j=q[a+400>>2];g:{if(!j){Ai(4,193721,196022,0);j=-2;break g}n=w(k,576)+l|0;j=xi[j|0](q[n+432>>2],c,d,n+440|0)|0;if(!j){break f}}g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=k>>>0){break b}if(s[(g+w(k,576)|0)+552>>1]!=(t|0)){break a}g=q[a+48>>2];h=q[a+52>>2]-g|0;a=(h|0)/72|0;h:{if(!h){break h}h=a>>>0>1?a:1;a=0;while(1){i=g+w(a,72)|0;if(!(q[i+4>>2]==(v|0)?q[i>>2]==(b|0):0)){a=a+1|0;if((h|0)!=(a|0)){continue}break h}break}a=g+w(a,72)|0;o[a+68|0]=r[a+68|0]|4}a=w(k,576)+l|0;q[a+440>>2]=0;q[a+444>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;q[a+456>>2]=0;q[a+460>>2]=0;q[a+448>>2]=0;q[a+452>>2]=0;a=Mi(c,d);if((j|0)==-1){q[m>>2]=a;Ai(3,193721,195039,m);a=-5;break e}q[m+20>>2]=j;q[m+16>>2]=a;Ai(3,193721,195078,m+16|0);a=-5;break e}i:{if((q[n+440>>2]&1006632960)==402653184){c=q[a+32>>2];if((q[a+36>>2]-c|0)/576>>>0<=k>>>0){break b}if(s[(c+w(k,576)|0)+552>>1]!=(t|0)){break a}c=q[a+48>>2];a=q[a+52>>2]-c|0;if(!a){break i}a=(a|0)/72|0;d=a>>>0>1?a:1;a=0;while(1){g=c+w(a,72)|0;if(!(q[g+4>>2]==(v|0)?q[g>>2]==(b|0):0)){a=a+1|0;if((d|0)!=(a|0)){continue}break i}break}a=c+w(a,72)|0;o[a+68|0]=r[a+68|0]|4;break i}$z(a,b,e,f,g,h,i)}a=0;b=q[(w(k,576)+l|0)+412>>2];if(!(b&262144)|(b>>>4&15)-5>>>0<2|q[z+436>>2]!=2){break e}g=q[(w(k,576)+l|0)+452>>2];if(!g){break e}a=q[n+440>>2];c=a&8191;d=(a>>>13&8191)-c|0;e=x(u[v>>2]*x(d|0));j:{if(x(y(e))>2];k:{f=u[b>>2];p=u[b+8>>2];if(f==p){break k}A=u[b+20>>2];if(e==A){break k}c=w(k,576)+l|0;u[c+64>>2]=x(u[b+4>>2]-A)*x(s[c+446>>1]);u[c+68>>2]=x(p-f)*x(s[c+444>>1]);break e}p=u[b+4>>2];c=w(k,576)+l|0;u[c+64>>2]=x(u[b+16>>2]-f)*x(s[c+444>>1]);u[c+68>>2]=x(e-p)*x(s[c+446>>1])}ti=m+32|0;return a}break b}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}J(193606,193630,3630,195967);G()}function $M(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{if(r[862340]!=(a|0)){g=q[215584];wj(g);o[862340]=a;h:{if(a){if(q[215590]-q[215588]>>4>>>0<=511){gv(862344,1024,512)}Fi(q[215586],255,q[215587]<<2);q[215591]=-1;q[215592]=0;q[215589]=q[215588];if((q[215598]-q[215596]|0)/24>>>0<=511){fv(862376,1024,512)}Fi(q[215594],255,q[215595]<<2);q[215599]=-1;q[215600]=0;q[215597]=q[215596];if(o[862420]&1){break g}Ii(512,8,862408,862416,862412);a=q[215602];if(q[215604]-a>>3>>>0<=511){break f}q[215603]=a+4096;a=q[215607];if(a>>>0>=513){break e}b=q[215606];c=Ji(2048);q[215606]=c;c=Gi(c,b,a<<2);q[215607]=512;if((a|0)!=512){while(1){q[c+(a<<2)>>2]=a;a=a+1|0;if((a|0)!=512){continue}break}}yi(b);a=0;q[215608]=0;b=q[215606];i:{if(q[215607]){while(1){q[b+(a<<2)>>2]=a;a=a+1|0;c=q[215607];if(a>>>0>>0){continue}break}a=q[215608];if(a>>>0>>0){break i}break a}if(b){break a}J(160318,160293,151,160325);G()}q[215608]=a+1;if(!q[b+(a<<2)>>2]){break h}J(160084,160102,94,160123);G()}a=q[215587];if(a){b=a;while(1){a=q[q[215586]+(d<<2)>>2];if((a|0)!=-1){while(1){a=q[215588]+(a<<4)|0;yi(q[a+4>>2]);a=q[a+12>>2];if((a|0)!=-1){continue}break}b=q[215587]}d=d+1|0;if(d>>>0>>0){continue}break}}Fi(q[215586],255,b<<2);q[215591]=-1;q[215592]=0;q[215589]=q[215588];a=q[215595];if(a){d=0;c=a;while(1){a=q[q[215594]+(d<<2)>>2];if((a|0)!=-1){while(1){a=q[215596]+w(a,24)|0;yi(q[a+8>>2]);a=q[a+16>>2];if((a|0)!=-1){continue}break}c=q[215595]}d=d+1|0;if(d>>>0>>0){continue}break}}Fi(q[215594],255,c<<2);q[215599]=-1;q[215600]=0;q[215597]=q[215596];a=q[215608];if(!a){break h}f=q[215606];if(!f){break d}if(a>>>0>t[215607]){break c}b=a-1|0;q[215608]=b;a=0;q[(b<<2)+f>>2]=0;b=q[215603];d=q[215602];c=q[215608];e=q[215607];if(c>>>0>>0){i=b-d>>3;while(1){h=q[(c<<2)+f>>2];if(h>>>0>=i>>>0){break b}q[(h<<3)+d>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((b|0)!=(d|0)){while(1){c=q[(a<<3)+d>>2];if(c){yi(c);b=q[215603]}a=a+1|0;d=q[215602];if(a>>>0>3>>>0){continue}break}e=q[215607]}a=0;q[215608]=0;if(!e){break h}b=q[215606];while(1){q[b+(a<<2)>>2]=a;a=a+1|0;if(a>>>0>1];g=f;a:{b:{c:{d:{h=s[a+26>>1];e:{if((h|0)==(f|0)){break e}g=q[a+20>>2];if(!g){break d}if(f>>>0<=h>>>0){break c}p[a+26>>1]=h+1;g=s[g+(h<<1)>>1];h=q[a+32>>2];if(g>>>0<(q[a+36>>2]-h|0)/576>>>0){break e}if((q[a+40>>2]-h|0)/576>>>0<=g>>>0){break b}q[a+36>>2]=(h+w(g,576)|0)+576}f:{if((f|0)==(g|0)){q[i>>2]=f;Ai(4,193721,194456,i);b=0;break f}h=q[a+32>>2];if((q[a+36>>2]-h|0)/576>>>0<=g>>>0){break a}k=s[a+352>>1];f=Fi(h+w(g,576)|0,0,576);j=u[b+8>>2];q[f+24>>2]=0;q[f+28>>2]=0;l=q[b+4>>2];q[f>>2]=q[b>>2];q[f+4>>2]=l;q[f+16>>2]=0;q[f+20>>2]=0;q[f+12>>2]=1065353216;u[f+8>>2]=j;q[f+104>>2]=0;q[f+108>>2]=1065353216;q[f+96>>2]=0;q[f+100>>2]=0;q[f+88>>2]=0;q[f+92>>2]=1065353216;q[f+80>>2]=0;q[f+84>>2]=0;q[f+56>>2]=1065353216;q[f+60>>2]=1065353216;q[f+48>>2]=1065353216;q[f+52>>2]=1065353216;q[f+40>>2]=1065353216;q[f+44>>2]=0;q[f+32>>2]=1065353216;q[f+36>>2]=1065353216;j=u[c+8>>2];b=q[c>>2];c=q[c+4>>2];q[f+112>>2]=0;q[f+116>>2]=0;q[f+76>>2]=0;q[f+128>>2]=0;q[f+324>>2]=0;q[f+328>>2]=0;q[f+320>>2]=1065353216;q[f+156>>2]=0;q[f+148>>2]=0;q[f+152>>2]=0;q[f+140>>2]=0;q[f+144>>2]=1065353216;q[f+132>>2]=1135869952;q[f+136>>2]=0;q[f+332>>2]=0;q[f+336>>2]=0;q[f+340>>2]=1065353216;q[f+352>>2]=0;q[f+356>>2]=0;q[f+344>>2]=0;q[f+348>>2]=0;q[f+360>>2]=1065353216;q[f+120>>2]=0;q[f+124>>2]=0;q[f+64>>2]=b;q[f+68>>2]=c;u[f+72>>2]=j;q[f+372>>2]=0;q[f+376>>2]=0;q[f+364>>2]=0;q[f+368>>2]=0;q[f+404>>2]=64;q[f+408>>2]=1;q[f+380>>2]=1065353216;q[f+384>>2]=1065353216;q[f+388>>2]=1065353216;q[f+392>>2]=1065353216;q[f+396>>2]=1065353216;q[f+416>>2]=e;q[f+480>>2]=0;q[f+484>>2]=0;q[f+488>>2]=0;q[f+424>>2]=0;q[f+428>>2]=0;q[f+432>>2]=0;q[f+436>>2]=0;q[f+440>>2]=0;q[f+444>>2]=0;q[f+448>>2]=0;q[f+452>>2]=0;q[f+456>>2]=0;q[f+460>>2]=0;q[f+464>>2]=0;q[f+468>>2]=0;q[f+472>>2]=0;q[f+412>>2]=q[f+412>>2]&-805306368|d<<4&240|74448896;c=q[216156];d=q[216157];q[f+568>>2]=-1;p[f+554>>1]=g;b=k?k:1;p[f+552>>1]=b;q[f+508>>2]=0;p[f+504>>1]=0;q[f+496>>2]=c;q[f+500>>2]=d;q[f+556>>2]=-1;q[f+560>>2]=-1;p[f+564>>1]=65535;p[a+352>>1]=(b+1>>>0)%65535;b=b<<16|g;if(e){q[(h+w(g,576)|0)+512>>2]=xi[q[a+372>>2]](q[a+388>>2],a,b,e)}kv(a,b,0)}ti=i+16|0;return b}J(195800,195807,151,195858);G()}J(195862,195807,152,195858);G()}J(196250,195579,506,196269);G()}J(195730,195579,479,195741);G()}function hG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-80|0;ti=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(q[b+56>>2]==-17){if(s[b+38>>1]){break l}g=q[b+8>>2];if(!g){break k}f=e- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[e+56>>2]=0;q[e+60>>2]=0;f=q[b+28>>2];h=q[b+24>>2];q[e+76>>2]=1;q[e+48>>2]=h;q[e+52>>2]=f;q[e+72>>2]=g;q[e+16>>2]=q[a+155704>>2];q[e+20>>2]=q[g+12>>2];q[e+36>>2]=q[b+52>>2];q[e+40>>2]=e+48;q[e+24>>2]=q[b>>2];m:{if(!c){c=q[b+44>>2];if(!c){break j}d=q[b+48>>2];q[e+32>>2]=d;q[e+28>>2]=c;q[e+68>>2]=d;q[b+56>>2]=xi[q[g+20>>2]](e+16|0);Fra(q[a+173488>>2],q[b+44>>2],q[b+48>>2]);q[b+44>>2]=0;c=q[b+56>>2];break m}q[e+32>>2]=d;q[e+28>>2]=c;q[e+68>>2]=d;c=xi[q[g+20>>2]](e+16|0)|0;q[b+56>>2]=c}if(!(!q[g+24>>2]|c)){d=a+173500|0;f=a+173504|0;c=q[f>>2];h=a+173508|0;i=q[h>>2];if((c|0)==(i|0)){if(o[a+173512|0]&1){break i}Ii(((c-q[d>>2]|0)/56|0)+128|0,56,d,h,f);i=q[h>>2];c=q[f>>2]}h=q[d>>2];d=((c-h|0)/56|0)+1|0;if(d>>>0>(i-h|0)/56>>>0){break h}q[f>>2]=h+w(d,56);if(!d){break g}o[c+48|0]=0;q[c>>2]=q[a+155704>>2];q[c+4>>2]=q[g+12>>2];d=q[b+52>>2];q[c+12>>2]=0;q[c+8>>2]=d;d=q[e+52>>2];q[c+16>>2]=q[e+48>>2];q[c+20>>2]=d;d=q[e+60>>2];q[c+24>>2]=q[e+56>>2];q[c+28>>2]=d;d=e- -64|0;f=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=f;d=q[e+76>>2];q[c+40>>2]=q[e+72>>2];q[c+44>>2]=d}if(q[b+44>>2]){break f}q[b+52>>2]=0;c=p[b+32>>1];if((c|0)!=-1){c=((c<<6)+a|0)+88150|0;d=s[c>>1];if(!d){break e}p[c>>1]=d-1}Ry(a,b);if(q[b+56>>2]){break b}if(!q[e+56>>2]){break d}c=Tp(q[a+155704>>2],q[b+24>>2],q[b+28>>2]);if(c){q[c+28>>2]=q[c+28>>2]+1;q[b+60>>2]=q[c+8>>2];break c}c=eG(q[a+155704>>2],q[b>>2],q[b+24>>2],q[b+28>>2],e+48|0);q[b+56>>2]=c;if(c){break c}q[b+60>>2]=q[e+56>>2];break b}J(28833,28238,515,28869);G()}J(28884,28238,516,28869);G()}J(28914,28238,518,28869);G()}J(28951,28238,539,28869);G()}J(29557,28586,493,29632);G()}J(28653,28586,506,28672);G()}J(29037,28586,435,29048);G()}J(28965,28238,576,28869);G()}J(28744,28238,315,28804);G()}J(28984,28238,592,28869);G()}d=q[e+56>>2];if(!d){break a}n:{if(!q[g+24>>2]){break n}b=q[a+173496>>2];c=q[a+173500>>2];f=(q[a+173504>>2]-c|0)/56|0;if(b>>>0>=f>>>0){break n}while(1){if((d|0)==q[(c+w(b,56)|0)+24>>2]){o[(c+w(b,56)|0)+48|0]=1;break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}}q[e>>2]=q[a+155704>>2];q[e+4>>2]=q[g+12>>2];q[e+8>>2]=e+48;xi[q[g+28>>2]](e)|0}ti=e+80|0;return}J(29008,28238,622,28869);G()}function ona(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0;b=ti-4224|0;ti=b;h=q[a+8>>2]-q[a+12>>2]>>4;i=Tj(a);g=q[q[i+80>>2]+8>>2];Vn(a,63033,b+4220|0,b+4216|0,0);a:{b:{if((h|0)<2){break b}if(!Ei(a,2)){break b}d=kl(a,2);f=q[d+4>>2];c=q[d>>2];u[b+4200>>2]=u[d+8>>2];q[b+4192>>2]=c;q[b+4196>>2]=f;break a}np(b+80|0,i);u[b+4192>>2]=u[b+80>>2];c=q[b+88>>2];q[b+4196>>2]=q[b+84>>2];q[b+4200>>2]=c}c:{d:{if((h|0)<3){break d}if(!Ei(a,3)){break d}c=Pq(a,3);u[b+4176>>2]=u[c>>2];u[b+4180>>2]=u[c+4>>2];u[b+4184>>2]=u[c+8>>2];u[b+4188>>2]=u[c+12>>2];break c}$s(b+80|0,i);c=q[b+84>>2];q[b+4176>>2]=q[b+80>>2];q[b+4180>>2]=c;c=q[b+92>>2];q[b+4184>>2]=q[b+88>>2];q[b+4188>>2]=c}c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+68>>2]=-1;QH(b+48|0,8,32);e:{f:{g:{h:{i:{if((h|0)<=3){break i}if(Ei(a,4)){if((Ei(a,4)|0)!=5){break g}Qi(a,4);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){l=Zk(a,-2);d=wi;f=(b+80|0)+e|0;c=4096-e|0;j=Cs(a,f,c,-1);if(c>>>0>>0){a=Bi(a,63365,0);break e}q[b>>2]=f;q[b+4>>2]=j;RH(b+48|0,l,d,b);Ci(a,-2);e=j+(e|15)&-16;if(rj(a,-2)){continue}break}}Ci(a,-2)}if((h|0)<5){break i}if(!Ei(a,5)){break i}c=vm(a,5);if(c){u[b+32>>2]=u[c>>2];u[b+36>>2]=u[c+4>>2];u[b+40>>2]=u[c+8>>2];break h}k=x(Ri(a,5));u[b+40>>2]=k;u[b+36>>2]=k;u[b+32>>2]=k;break h}ir(b,i);u[b+32>>2]=u[b>>2];c=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=c}Ti(a);d=kk(a,-1e4);q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=-1;f=q[b+4216>>2];c=q[f+4>>2];if(!c){c=q[f>>2]}c=una(g,q[c+8>>2],b+48|0,b+4192|0,b+4176|0,b+32|0,b);bj(a,-1e4,d);jk(a);Aj(a,-1e4,d);gj(a,0,0);j:{if(!c){break j}gj(a,0,1);ck(a,508,0);Di(a,-2,63571);ij(a,-2);c=q[b+4>>2];if(!c){break j}g=0;while(1){e=q[q[b>>2]+(g<<2)>>2];if((e|0)!=-1){while(1){c=q[b+8>>2]+w(e,24)|0;Zj(a,q[c>>2],q[c+4>>2]);Zj(a,q[c+8>>2],q[c+12>>2]);tj(a,-3);e=q[c+16>>2];if((e|0)!=-1){continue}break}c=q[b+4>>2]}g=g+1|0;if(c>>>0>g>>>0){continue}break}}if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break f}k:{if(o[b+28|0]&1){break k}a=q[b+8>>2];if(a){yi(a)}a=q[b>>2];if(!a){break k}yi(a)}a=1;break e}a=Bi(a,63513,0);break e}J(63579,63431,403,63484);G()}l:{if(o[b+76|0]&1){break l}c=q[b+56>>2];if(c){yi(c)}c=q[b+48>>2];if(!c){break l}yi(c)}ti=b+4224|0;return a|0}function lv(a,b){a:{if(q[216160]!=(a|0)|q[216161]!=(b|0)){if((a|0)!=q[216164]|(b|0)!=q[216165]){break a}a=864656}else{a=864640}return a}if(q[216168]==(a|0)&q[216169]==(b|0)){return 864672}if(q[216172]==(a|0)&q[216173]==(b|0)){return 864688}if(q[216176]==(a|0)&q[216177]==(b|0)){return 864704}if(q[216180]==(a|0)&q[216181]==(b|0)){return 864720}if(q[216184]==(a|0)&q[216185]==(b|0)){return 864736}if(q[216188]==(a|0)&q[216189]==(b|0)){return 864752}if(q[216192]==(a|0)&q[216193]==(b|0)){return 864768}if(q[216196]==(a|0)&q[216197]==(b|0)){return 864784}if(q[216200]==(a|0)&q[216201]==(b|0)){return 864800}if(q[216204]==(a|0)&q[216205]==(b|0)){return 864816}if(q[216208]==(a|0)&q[216209]==(b|0)){return 864832}if(q[216212]==(a|0)&q[216213]==(b|0)){return 864848}if(q[216216]==(a|0)&q[216217]==(b|0)){return 864864}if(q[216220]==(a|0)&q[216221]==(b|0)){return 864880}if(q[216224]==(a|0)&q[216225]==(b|0)){return 864896}if(q[216228]==(a|0)&q[216229]==(b|0)){return 864912}if(q[216232]==(a|0)&q[216233]==(b|0)){return 864928}if(q[216236]==(a|0)&q[216237]==(b|0)){return 864944}if(q[216240]==(a|0)&q[216241]==(b|0)){return 864960}if(q[216244]==(a|0)&q[216245]==(b|0)){return 864976}if(q[216248]==(a|0)&q[216249]==(b|0)){return 864992}if(q[216252]==(a|0)&q[216253]==(b|0)){return 865008}if(q[216256]==(a|0)&q[216257]==(b|0)){return 865024}if(q[216260]==(a|0)&q[216261]==(b|0)){return 865040}if(q[216264]==(a|0)&q[216265]==(b|0)){return 865056}if(q[216268]==(a|0)&q[216269]==(b|0)){return 865072}if(q[216272]==(a|0)&q[216273]==(b|0)){return 865088}if(q[216276]==(a|0)&q[216277]==(b|0)){return 865104}if(q[216280]==(a|0)&q[216281]==(b|0)){return 865120}if(q[216284]==(a|0)&q[216285]==(b|0)){return 865136}if(q[216288]==(a|0)&q[216289]==(b|0)){return 865152}if(q[216292]==(a|0)&q[216293]==(b|0)){return 865168}if(q[216296]==(a|0)&q[216297]==(b|0)){return 865184}if(q[216300]==(a|0)&q[216301]==(b|0)){return 865200}if(q[216304]==(a|0)&q[216305]==(b|0)){return 865216}if(q[216308]==(a|0)&q[216309]==(b|0)){return 865232}if(q[216312]==(a|0)&q[216313]==(b|0)){return 865248}if(q[216316]==(a|0)&q[216317]==(b|0)){return 865264}if(q[216320]==(a|0)&q[216321]==(b|0)){return 865280}if(q[216324]==(a|0)&q[216325]==(b|0)){return 865296}if(q[216328]==(a|0)&q[216329]==(b|0)){return 865312}return(a|0)==q[216332]&(b|0)==q[216333]?865328:0}function Qsa(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,p=0;e=ti-1056|0;ti=e;n=q[a+8>>2]-q[a+12>>2]>>4;d=Dl(a,3,131577,e+12|0);Hn(q[b+20>>2]);c=e+16|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;bn(e+16|0,d,q[e+12>>2]);a:{b:{c:{d:{e:{if(!Bj(a,2)){d=Dl(a,2,131578,0);if(r[d|0]!=42){break c}f:{switch(r[d+1|0]-97|0){case 11:p=b+32|0;f=q[b+28>>2];c=q[b+24>>2];l=e+1052|0;while(1){g=0;h=0;if(c>>>0>=f>>>0){d=q[b+16>>2];h=xi[q[d+8>>2]](q[d>>2],p,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;f=q[e+1052>>2];q[b+28>>2]=f;c=0}d=b;g:{j=f-c|0;if(j){k=(b+c|0)+32|0;while(1){h:{i:{i=g+k|0;c=r[i|0];switch(c-10|0){case 0:break g;case 3:break h;default:break i}}f=q[e+16>>2];if(l>>>0<=f>>>0){Yk(e+16|0);f=q[e+16>>2];c=r[i|0]}q[e+16>>2]=f+1;o[f|0]=c}g=g+1|0;if((j|0)!=(g|0)){continue}break}f=q[b+28>>2];c=q[b+24>>2]}c=c+j|0;q[d+24>>2]=c;q[b+12>>2]=j+q[b+12>>2];if(c>>>0>=f>>>0){q[b+24>>2]=0;q[b+28>>2]=0;f=0;c=0}if(!h){continue}break d}break}d=g+1|0;q[b+12>>2]=d+q[b+12>>2];d=d+q[b+24>>2]|0;q[b+24>>2]=d;if(d>>>0>2]){break e}q[b+24>>2]=0;q[b+28>>2]=0;break e;case 0:break f;default:break c}}k=b+32|0;while(1){if(h){if((h|0)!=-2){break e}h=-2;if(!f){break d}break b}h=0;i=e+16|0;c=q[b+28>>2];g=q[b+24>>2];if(c>>>0<=g>>>0){d=q[b+16>>2];h=xi[q[d+8>>2]](q[d>>2],k,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;c=q[e+1052>>2];q[b+28>>2]=c;g=0}c=c-g|0;bn(i,(b+g|0)+32|0,c);q[b+12>>2]=c+q[b+12>>2];d=c+q[b+24>>2]|0;q[b+24>>2]=d;f=c+f|0;if(d>>>0>2]){continue}q[b+24>>2]=0;q[b+28>>2]=0;continue}}m=xj(a,2);c=m>=0;d=~~m>>>0;j:{if(c&m<4294967296){break j}d=0}if(!c){Qj(a,2,131581)}c=q[e+12>>2];if(c>>>0>=d>>>0?c:0){break b}k=b+32|0;l=d-c|0;c=0;while(1){if(h){break d}h=0;j=e+16|0;f=q[b+28>>2];g=q[b+24>>2];if(f>>>0<=g>>>0){d=q[b+16>>2];h=xi[q[d+8>>2]](q[d>>2],k,8192,e+1052|0,q[b+20>>2])|0;q[b+24>>2]=0;f=q[e+1052>>2];q[b+28>>2]=f;g=0}i=f-g|0;d=l-c|0;i=d>>>0>i>>>0?i:d;bn(j,(b+g|0)+32|0,i);q[b+12>>2]=i+q[b+12>>2];d=i+q[b+24>>2]|0;q[b+24>>2]=d;if(d>>>0>=t[b+28>>2]){q[b+24>>2]=0;q[b+28>>2]=0}c=c+i|0;if(l>>>0>c>>>0){continue}break}}if(!h){break b}}gm(e+16|0);b=q[b+16>>2];Hi(a,xi[q[b+12>>2]](q[b>>2],h)|0);Qi(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Cq(a,-4);break a}Qj(a,2,131581)}gm(e+16|0);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}ti=e+1056|0;return(q[a+8>>2]-q[a+12>>2]>>4)-n|0}function Foa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=x(0),h=0,i=0,j=0,k=0,l=0;i=ti-32|0;ti=i;f=-1;a:{if(!b){break a}j=q[b>>2];if(!j){break a}l=q[b+4>>2];while(1){k=(h<<3)+l|0;if(q[k>>2]!=(c|0)|q[k+4>>2]!=(d|0)){h=h+1|0;if((j|0)!=(h|0)){continue}break a}break}d=h<<2;c=q[d+q[b+8>>2]>>2];b:{switch(q[d+q[b+12>>2]>>2]){case 1:a=q[b+16>>2]+(c<<3)|0;b=q[a+4>>2];a=q[a>>2];q[e>>2]=1;q[e+8>>2]=a;q[e+12>>2]=b;f=0;break a;case 7:d=q[b+28>>2];b=i;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;xi[q[a+44>>2]](q[a+40>>2],b);f=-2;if(wy(q[a+40>>2],c+d|0,e+8|0,b)){break a}q[e>>2]=2;f=0;break a;case 2:a=c+q[b+24>>2]|0;b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o[e+8|0]=c;o[e+9|0]=c>>>8;o[e+10|0]=c>>>16;o[e+11|0]=c>>>24;o[e+12|0]=b;o[e+13|0]=b>>>8;o[e+14|0]=b>>>16;o[e+15|0]=b>>>24;b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);o[e+32|0]=c;o[e+33|0]=c>>>8;o[e+34|0]=c>>>16;o[e+35|0]=c>>>24;o[e+36|0]=b;o[e+37|0]=b>>>8;o[e+38|0]=b>>>16;o[e+39|0]=b>>>24;b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);o[e+24|0]=c;o[e+25|0]=c>>>8;o[e+26|0]=c>>>16;o[e+27|0]=c>>>24;o[e+28|0]=b;o[e+29|0]=b>>>8;o[e+30|0]=b>>>16;o[e+31|0]=b>>>24;b=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);o[e+16|0]=a;o[e+17|0]=a>>>8;o[e+18|0]=a>>>16;o[e+19|0]=a>>>24;o[e+20|0]=b;o[e+21|0]=b>>>8;o[e+22|0]=b>>>16;o[e+23|0]=b>>>24;q[e>>2]=2;f=0;break a;case 3:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];g=u[(a+q[b+20>>2]|0)+8>>2];q[e>>2]=3;u[e+16>>2]=g;f=0;break a;case 4:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];u[e+16>>2]=u[(a+q[b+20>>2]|0)+8>>2];g=u[(a+q[b+20>>2]|0)+12>>2];q[e>>2]=4;u[e+20>>2]=g;f=0;break a;case 5:a=c<<2;u[e+8>>2]=u[a+q[b+20>>2]>>2];u[e+12>>2]=u[(a+q[b+20>>2]|0)+4>>2];u[e+16>>2]=u[(a+q[b+20>>2]|0)+8>>2];g=u[(a+q[b+20>>2]|0)+12>>2];q[e>>2]=5;u[e+20>>2]=g;f=0;break a;case 6:a=r[c+q[b+28>>2]|0];q[e>>2]=6;f=0;o[e+8|0]=(a|0)!=0;break a;default:J(13959,13844,532,13979);G();case 0:break b}}g=u[q[b+20>>2]+(c<<2)>>2];f=0;q[e>>2]=0;v[e+8>>3]=g}ti=i+32|0;return f|0}function Ws(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=x(0);i=ti-288|0;ti=i;q[i+280>>2]=0;q[i+284>>2]=0;q[i+276>>2]=0;k=-1;q[i+272>>2]=-1;p[i+270>>1]=0;a:{if(!xG(a,b,c,i+280|0,i+276|0,i+272|0,i+270|0)){break a}if(xi[g|0](h,q[i+280>>2],q[i+284>>2],i+260|0)|0){h=q[i+260>>2];q[i+264>>2]=s[h+24>>1];k=-11;g=q[q[i+260>>2]+16>>2]==9;d=g?d<<2:d;if(d>>>0>=t[i+264>>2]){break a}j=q[h>>2]+(d<<4)|0}o[e+109|0]=r[e+109|0]&254;b:{h=q[i+280>>2];k=q[i+284>>2];if((h|0)==(b|0)&(k|0)==(c|0)){h=q[i+276>>2];if(h){k=q[h+4>>2];q[e>>2]=q[h>>2];q[e+4>>2]=k;k=q[h+12>>2];q[e+8>>2]=q[h+8>>2];q[e+12>>2]=k;k=q[h+20>>2];q[e+16>>2]=q[h+16>>2];q[e+20>>2]=k;k=q[h+28>>2];q[e+24>>2]=q[h+24>>2];q[e+28>>2]=k}if(j){c:{if(g&1){u[i+112>>2]=u[j>>2];u[i+116>>2]=u[j+4>>2];u[i+120>>2]=u[j+8>>2];u[i+124>>2]=u[j+12>>2];u[i+128>>2]=u[j+16>>2];u[i+132>>2]=u[j+20>>2];u[i+136>>2]=u[j+24>>2];u[i+140>>2]=u[j+28>>2];u[i+144>>2]=u[j+32>>2];u[i+148>>2]=u[j+36>>2];u[i+152>>2]=u[j+40>>2];u[i+156>>2]=u[j+44>>2];u[i+160>>2]=u[j+48>>2];u[i+164>>2]=u[j+52>>2];u[i+168>>2]=u[j+56>>2];u[i+172>>2]=u[j+60>>2];LK(i+184|0,i+112|0);break c}u[i+96>>2]=u[j>>2];u[i+100>>2]=u[j+4>>2];u[i+104>>2]=u[j+8>>2];u[i+108>>2]=u[j+12>>2];lp(i+184|0,i+96|0)}Gi(e+32|0,i+184|0,72);k=0;if(!f){break a}q[e+104>>2]=j;break a}az(a,b,c,i+92|0);a=q[q[i+92>>2]+16>>2];c=q[i+92>>2];q[i+264>>2]=s[c+24>>1];b=(a|0)==9?d<<2:d;if(b>>>0>=t[i+264>>2]){break b}c=q[c>>2];if((a|0)==9){a=c+(b<<4)|0;u[i+16>>2]=u[a>>2];u[i+20>>2]=u[a+4>>2];u[i+24>>2]=u[a+8>>2];u[i+28>>2]=u[a+12>>2];u[i+32>>2]=u[a+16>>2];u[i+36>>2]=u[a+20>>2];u[i+40>>2]=u[a+24>>2];u[i+44>>2]=u[a+28>>2];u[i+48>>2]=u[a+32>>2];u[i+52>>2]=u[a+36>>2];u[i+56>>2]=u[a+40>>2];u[i+60>>2]=u[a+44>>2];u[i+64>>2]=u[a+48>>2];u[i+68>>2]=u[a+52>>2];u[i+72>>2]=u[a+56>>2];u[i+76>>2]=u[a+60>>2];LK(i+184|0,i+16|0);Gi(e+32|0,i+184|0,72);k=0;break a}a=c+(b<<4)|0;u[i>>2]=u[a>>2];u[i+4>>2]=u[a+4>>2];u[i+8>>2]=u[a+8>>2];u[i+12>>2]=u[a+12>>2];lp(i+184|0,i);Gi(e+32|0,i+184|0,72);k=0;break a}if(j){a=(q[i+272>>2]<<2)+j|0;l=u[a>>2];b=i+184|0;q[b>>2]=0;v[b+8>>3]=l;Gi(e+32|0,i+184|0,72);k=0;if(!f){break a}q[e+104>>2]=a;break a}az(a,h,k,i+92|0);a=q[i+92>>2];q[i+264>>2]=s[a+24>>1];if(t[i+264>>2]<=d>>>0){break b}l=u[(q[a>>2]+(d<<4)|0)+(q[i+272>>2]<<2)>>2];a=i+184|0;q[a>>2]=0;v[a+8>>3]=l;Gi(e+32|0,i+184|0,72);k=0;break a}k=-11}ti=i+288|0;return k}function c_(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,s=0,t=0,u=0,v=0;t=ti-32|0;ti=t;b=t;q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;b=Mm(a,b+16|0,16,b+16|0,b+12|0);if(!b){c=t;g=r[c+31|0];v=r[c+30|0];l=r[c+27|0];m=r[c+26|0];n=r[c+25|0];p=r[c+24|0];o=r[c+29|0];k=r[c+28|0];j=r[c+23|0];i=r[c+22|0];h=r[c+19|0];s=r[c+18|0];f=r[c+17|0];d=r[c+16|0];b=r[c+21|0];e=r[c+20|0];q[a+192>>2]=0;q[a+196>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;c=b;b=b>>>16|0;c=c<<16|e<<24;u=e>>>8|b;f=f<<16|d<<24;b=s<<8|f|h;b=b|u|i>>>24;d=b;u=i<<8|c|j;q[a+256>>2]=u;q[a+260>>2]=b;c=o>>>16|0;b=k>>>8|0;k=o<<16|k<<24;i=b|c;h=n<<16|p<<24;b=m<<8|h|l;e=k;c=b|i;i=v<<8|e|g;b=v>>>24|c;e=b;q[a+128>>2]=i;q[a+132>>2]=b;h=(d&1)<<31|u>>>1;m=Owa(g&1,0,0,-520093696)^h;b=wi^d>>>1;s=b;q[a+224>>2]=m;q[a+228>>2]=b;b=j<<31|e>>>1;f=b;l=(e&1)<<31|i>>>1;q[a+96>>2]=l;q[a+100>>2]=b;n=(b&1)<<31|l>>>1;b=h<<31|b>>>1;d=b;q[a+80>>2]=n;q[a+84>>2]=b;c=s;b=c>>>1|0;h=(c&1)<<31|m>>>1;p=Owa(l&1,0,0,-520093696)^h;c=wi^b;g=c;q[a+208>>2]=p;q[a+212>>2]=c;q[a+112>>2]=n^l;q[a+116>>2]=d^f;c=h<<31;o=(d&1)<<31|n>>>1;b=d>>>1|c;i=b;q[a+72>>2]=o;q[a+76>>2]=b;q[a+240>>2]=m^p;q[a+244>>2]=g^s;c=g;b=c>>>1|0;k=Owa(n&1,0,0,-520093696)^((c&1)<<31|p>>>1);b=b^wi;h=b;q[a+200>>2]=k;q[a+204>>2]=b;b=d^i;d=b;e=n^o;q[a+88>>2]=e;q[a+92>>2]=b;q[a+104>>2]=l^o;q[a+108>>2]=f^i;j=c^h;c=j;b=k^p;q[a+216>>2]=b;q[a+220>>2]=c;q[a+232>>2]=k^m;q[a+236>>2]=h^s;q[a+120>>2]=e^l;q[a+124>>2]=d^f;q[a+248>>2]=b^m;q[a+252>>2]=c^s;f=q[a+260>>2];g=q[a+256>>2];q[a+264>>2]=g^k;q[a+268>>2]=f^h;d=q[a+132>>2];e=q[a+128>>2];q[a+136>>2]=e^o;q[a+140>>2]=d^i;b=q[a+212>>2]^f;q[a+272>>2]=q[a+208>>2]^g;q[a+276>>2]=b;b=q[a+84>>2]^d;q[a+144>>2]=q[a+80>>2]^e;q[a+148>>2]=b;b=q[a+220>>2]^f;q[a+280>>2]=q[a+216>>2]^g;q[a+284>>2]=b;b=q[a+92>>2]^d;q[a+152>>2]=q[a+88>>2]^e;q[a+156>>2]=b;b=q[a+228>>2]^f;q[a+288>>2]=q[a+224>>2]^g;q[a+292>>2]=b;b=q[a+100>>2]^d;q[a+160>>2]=q[a+96>>2]^e;q[a+164>>2]=b;j=q[a+104>>2];c=q[a+108>>2];b=q[a+236>>2]^f;q[a+296>>2]=q[a+232>>2]^g;q[a+300>>2]=b;q[a+168>>2]=e^j;q[a+172>>2]=c^d;j=q[a+112>>2];c=q[a+116>>2];b=q[a+244>>2]^f;q[a+304>>2]=q[a+240>>2]^g;q[a+308>>2]=b;q[a+176>>2]=e^j;q[a+180>>2]=c^d;j=q[a+120>>2];c=q[a+124>>2];b=q[a+252>>2]^f;q[a+312>>2]=q[a+248>>2]^g;q[a+316>>2]=b;q[a+184>>2]=e^j;q[a+188>>2]=c^d;b=0}ti=t+32|0;return b}function Sja(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=x(0),n=0,p=0,v=0,y=0,z=x(0),A=x(0),B=0,C=0,D=0,E=0,F=0,H=0,I=0,K=0,L=0,M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=x(0),W=x(0),X=x(0);a:{b:{c:{g=q[a+4>>2];l=q[g+8>>2];j=q[g+4>>2];c=l-j|0;if(c){e=c>>2;k=q[a+8>>2];while(1){d=q[j+(i<<2)>>2];d:{if((r[d+166|0]&3)!=3|!s[d+164>>1]){break d}b=q[d+124>>2];h=q[d+128>>2]-b|0;if(!h){break d}a=0;while(1){f=o[a+b|0]&1?w(s[d+160>>1],s[d+162>>1])+f|0:f;a=a+1|0;if((h|0)!=(a|0)){continue}break}}i=i+1|0;if((e|0)!=(i|0)){continue}break}if((q[g+28>>2]-q[g+20>>2]|0)/304>>>0>>0){if(o[g+32|0]&1){break b}Ii(f,304,g+20|0,g+28|0,g+24|0)}a=j-l|0;e=((a|0)>(c|0)?a:c)>>>2|0;a=(c|0)>-1?c:-1;a=w(e,(a|0)<1?a:1);C=a>>>0>1?a:1;v=q[k>>2];l=ap(v,f);D=Su(v,214,g)<<6;i=0;a=l;while(1){c=q[g+4>>2];if(q[g+8>>2]-c>>2>>>0<=i>>>0){break a}b=q[c+(i<<2)>>2];e:{if((r[b+166|0]&3)!=3|!s[b+164>>1]){break e}c=q[b+144>>2];if(!(!c|!r[c+52|0])){xv(b)}c=q[b+156>>2];d=q[b+152>>2];if(!d){d=q[c>>2]}y=q[c+4>>2];B=q[y+8>>2];if(!B){break e}c=q[d+64>>2];E=q[c+24>>2];F=q[c+20>>2];H=i&65535;h=0;while(1){c=q[b+124>>2];if(q[b+128>>2]-c>>>0<=h>>>0){break a}f:{if(!(o[c+h|0]&1)){break f}if(t[y+8>>2]<=h>>>0){break c}j=s[b+162>>1];if(!j){break f}I=q[y+4>>2]+(h<<5)|0;K=h<<16|H;n=0;p=0;c=0;f=s[b+160>>1];d=f;while(1){if(d&65535){j=p<<16;L=K;z=x(w(p,E)>>>0);k=0;d=0;g:{while(1){e=q[b+108>>2];if(q[b+112>>2]-e>>>0>n>>>0){if(r[e+n|0]&2){M=u[b+80>>2];N=u[b+64>>2];O=u[b+32>>2];P=u[b+48>>2];Q=u[b+84>>2];R=u[b+68>>2];S=u[b+36>>2];T=u[b+52>>2];m=u[b+88>>2];U=u[b+72>>2];A=u[I+4>>2];V=u[b+40>>2];W=u[b+56>>2];e=a;q[a+16>>2]=L;q[a+20>>2]=j|k;X=m;m=x(w(k,F)>>>0);u[a+8>>2]=X+x(x(x(V*m)+x(W*z))+x(A*U));u[a+4>>2]=Q+x(x(x(S*m)+x(T*z))+x(A*R));u[a>>2]=M+x(x(x(O*m)+x(P*z))+x(A*N));f=q[b+148>>2];if(!f){f=q[q[b+156>>2]+24>>2]}q[e+32>>2]=q[f+80>>2];q[a+28>>2]=q[b+140>>2];q[a+36>>2]=q[a+36>>2]&-16384|D|16;f=s[b+160>>1];a=a+48|0}n=n+1|0;e=k+1|0;d=e>>>0<1?d+1|0:d;k=e;if(!d&(f&65535)>>>0>e>>>0){continue}break g}break}break a}j=s[b+162>>1];d=f}else{d=0}e=p+1|0;c=e>>>0<1?c+1|0:c;p=e;if(!c&(j&65535)>>>0>e>>>0){continue}break}}h=h+1|0;if((B|0)!=(h|0)){continue}break}}i=i+1|0;if((C|0)!=(i|0)){continue}break}$o(v,l,a)}return 0}J(50624,50636,189,50661);G()}J(50454,50529,493,50585);G()}J(50672,50529,479,50661);G()}function tn(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:{h:{i:{j:{if(r[b|0]==62){d=q[a+8>>2]-16|0;f=q[d>>2];q[a+8>>2]=d;b=b+1|0;break j}d=q[c+96>>2];if(!d){break i}g=q[a+40>>2]+w(d,24)|0;f=q[q[g+4>>2]>>2]}if(!f){break i}e=r[b|0];k:{if(!e){j=1;break k}n=c+36|0;k=g-12|0;o=g-20|0;l=g-24|0;p=c+4|0;j=1;d=b;while(1){m=d;l:{m:{switch((e<<24>>24)-76|0){case 7:n:{if(r[f+6|0]){q[c+28>>2]=-1;d=135472;q[c+16>>2]=135472;h=135477;e=-1;break n}d=q[q[f+16>>2]+32>>2]+16|0;q[c+16>>2]=d;e=q[q[f+16>>2]+60>>2];q[c+28>>2]=e;h=e?135484:135479;e=q[q[f+16>>2]+64>>2]}q[c+12>>2]=h;q[c+32>>2]=e;Gk(n,d,60);break l;case 32:e=-1;o:{if(!g){break o}d=q[g+4>>2];if(q[d+8>>2]!=6){break o}h=q[d>>2];if(r[h+6|0]){break o}p:{if(q[a+20>>2]!=(g|0)){i=q[g+12>>2];break p}i=q[a+24>>2];q[g+12>>2]=i;h=q[d>>2]}d=q[h+16>>2];h=i-q[d+12>>2]|0;if((h|0)<4){break o}d=q[d+20>>2];if(!d){q[c+20>>2]=0;break l}e=q[d+((h>>2)-1<<2)>>2]}q[c+20>>2]=e;break l;case 41:q[c+24>>2]=r[f+7|0];break l;case 34:q:{if(!g){break q}d=q[g+4>>2];if(q[g+20>>2]>0?!(q[d+8>>2]!=6|r[q[d>>2]+6|0]):0){break q}e=q[o>>2];if(q[e+8>>2]!=6){break q}d=q[e>>2];if(r[d+6|0]){break q}h=q[q[d+16>>2]+12>>2];r:{if(q[a+20>>2]!=(l|0)){i=q[k>>2];break r}i=q[a+24>>2];q[k>>2]=i;d=q[e>>2]}d=q[(h+(i-q[q[d+16>>2]+12>>2]|0)|0)-4>>2];e=(d&63)-28|0;if(e>>>0>5|!(1<>>6&255,p);q[c+8>>2]=d;if(d){break l}}q[c+4>>2]=0;q[c+8>>2]=135453;break l;case 0:case 26:break l;default:break m}}j=0}d=m+1|0;e=r[m+1|0];if(e){continue}break}}if(!Oj(b,102)){break f}c=q[a+8>>2];q[c+8>>2]=6;q[c>>2]=f;c=q[a+8>>2];e=0;break h}q[c+28>>2]=-1;q[c+32>>2]=-1;q[c+20>>2]=-1;q[c+12>>2]=135454;q[c+4>>2]=135453;q[c+8>>2]=135453;q[c+16>>2]=135459;Gk(c+36|0,135459,60);f=0;q[c+24>>2]=0;if(!Oj(b,102)){j=1;e=1;break g}c=q[a+8>>2];q[c+8>>2]=0;j=1;e=1}d=a;if((q[d+28>>2]-c|0)<=16){vk(a,1);c=q[a+8>>2]}q[d+8>>2]=c+16}if(!Oj(b,76)){break a}if(e){break d}break e}if(!Oj(b,76)){break a}}if(!r[f+6|0]){break c}}c=q[a+8>>2];q[c+8>>2]=0;break b}c=0;b=To(a,0,0);d=q[f+16>>2];if(q[d+48>>2]>=1){d=q[d+20>>2];while(1){e=mu(a,b,q[d+(c<<2)>>2]);q[e+8>>2]=1;q[e>>2]=1;c=c+1|0;if((c|0)>2]+48>>2]){continue}break}}c=q[a+8>>2];q[c+8>>2]=5;q[c>>2]=b;c=q[a+8>>2]}b=a;if((q[a+28>>2]-c|0)<=16){vk(a,1);c=q[a+8>>2]}q[b+8>>2]=c+16}return j}function dq(a,b,c,d,e,f,g){var h=0,i=x(0),j=x(0),k=0,l=0,m=0,n=0,p=0,s=0,t=0,v=0,w=0,z=0,A=x(0),B=0,C=0,D=0,E=0,F=x(0),G=x(0),H=0,I=x(0),J=0;n=ti-16|0;ti=n;z=7-b|0;v=b+1|0;b=-1<>2]*A)-j)*x(.5))+x(.5));a:{if(x(y(i))(p|0)?h:b;p=b;b=C;if((p|0)<(b|0)){h=b}C=h;h=k;p=b;i=x(x(x(x(u[d>>2]*A)-j)*x(.5))+x(.5));b:{if(x(y(i))(p|0)){h=b}p=h;t=C&255;h=k;l=b;i=x(x(x(x(u[c+4>>2]*A)-j)*x(.5))+x(.5));c:{if(x(y(i))(D|0)){h=b}D=h;l=t<>2]*A)-j)*x(.5))+x(.5));d:{if(x(y(i))(t|0)){h=b}t=h;m=l&255;h=k;B=b;i=x(x(x(x(u[c+8>>2]*A)-j)*x(.5))+x(.5));e:{if(x(y(i))(B|0)){h=b}B=h;s=m>>>v|0;h=k;m=b;i=x(x(x(x(u[d+8>>2]*A)-j)*x(.5))+x(.5));f:{if(x(y(i))(m|0)){h=b}m=h;E=l|s;h=k;l=b;i=x(x(x(x(u[c+12>>2]*A)-j)*x(.5))+x(.5));g:{if(x(y(i))(l|0)){h=b}l=h;j=x(x(x(x(u[d+12>>2]*A)-j)*x(.5))+x(.5));h:{if(x(y(j))>>v|h;h=(B&255)<>>v|h;h=(l&255)<>>v|h;h=(p&255)<>>v|h;h=(t&255)<>>v|h;h=(m&255)<>>v|h;s=n;h=b;w=b|w<<1;k=(k|0)<(w|0)?k:w;if((b|0)>(w|0)){k=h}b=(k&255)<>>v|b;b=0;i=x(0);j=x(0);F=x(0);if(a){while(1){s=b<<2;j=x(x((E&255)>>>0)-x(u[s+c>>2]*x(255)));i=x(i+x(j*j));j=x(x(r[b+n|0])-x(u[d+s>>2]*x(255)));F=x(F+x(j*j));b=b+1|0;if((b|0)!=(a|0)){E=r[(n+8|0)+b|0];continue}break}j=F}if(i>2]=h;o[e+3|0]=(l&254)>>>1;o[e+2|0]=(B&254)>>>1;o[e+1|0]=(D&254)>>>1;o[e|0]=(C&254)>>>1;I=i}if(!(j>2]=h;o[f+3|0]=(k&254)>>>1;o[f+2|0]=(m&254)>>>1;o[f+1|0]=(t&254)>>>1;o[f|0]=(p&254)>>>1;G=j}C=1;b=H;H=0;if(b){continue}break}ti=n+16|0}function Wha(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=x(0);e=ti-80|0;ti=e;b=q[a+4>>2];a:{b:{c:{d:{switch(q[a+8>>2]){case 0:xi[q[77441]](q[b+88>>2],0,0,0);q[b+96>>2]=q[b+92>>2];q[b+20>>2]=q[b+16>>2];break c;case 1:k=q[a>>2];f=q[a+20>>2];g=q[a+12>>2];a=q[a+16>>2];q[e+72>>2]=0;h=q[(g+w(q[a>>2],48)|0)+16>>2];i=q[b+84>>2];c=q[b+80>>2];j=q[b+96>>2];d=j-q[b+92>>2]|0;q[e+68>>2]=d;l=w(q[c+12>>2],240);c=d;if((a|0)!=(f|0)){while(1){c=q[(g+w(q[a>>2],48)|0)+16>>2];m=q[c+88>>2];c=q[c+84>>2];n=u[b+116>>2];q[e+56>>2]=1065353216;q[e+60>>2]=1065353216;q[e+48>>2]=1065353216;q[e+52>>2]=1065353216;SG(i,n,c,m,e+48|0,q[b+92>>2],l,e+68|0,0);a=a+4|0;if((f|0)!=(a|0)){continue}break}c=q[e+68>>2]}a=q[b+92>>2];g=(c-d>>>0)/40|0;c=w(g,40)+j|0;if((q[b+100>>2]-a|0)/40>>>0<(c-a|0)/40>>>0){break b}q[b+96>>2]=c;d=q[b+20>>2];a=q[b+16>>2];i=d-a|0;f=(i|0)/304|0;c=f+1|0;if(c>>>0>(q[b+24>>2]-a|0)/304>>>0){break b}q[b+20>>2]=a+w(c,304);if(f>>>0>=(i+304|0)/304>>>0){break a}Qm(d);q[d+156>>2]=q[h+64>>2];q[d+160>>2]=q[h+72>>2];q[d+164>>2]=0;a=q[b+92>>2];q[d+284>>2]=g;q[d+280>>2]=(j-a|0)/40;q[d+144>>2]=q[b+88>>2];a=q[b+108>>2];q[d+224>>2]=1;q[d+148>>2]=a;o[d+288|0]=r[d+288|0]|1;e:{f:{g:{h:{i:{j:{a=q[h+68>>2];switch(a|0){case 4:break g;case 3:break h;case 1:case 2:break i;case 0:break j;default:break f}}q[d+232>>2]=1;q[d+236>>2]=7;break e}q[d+232>>2]=1;q[d+236>>2]=1;break e}q[d+232>>2]=4;q[d+236>>2]=7;break e}q[d+232>>2]=5;q[d+236>>2]=1;break e}q[e>>2]=a;Ai(4,42143,42566,e)}c=q[b+32>>2];a=q[b+36>>2]-c>>2;if(a>>>0<=f>>>0){break a}if(!q[(f<<2)+c>>2]){a=Tu();c=q[b+32>>2];if(f>>>0>=q[b+36>>2]-c>>2>>>0){break a}q[c+(f<<2)>>2]=a;c=q[b+32>>2];a=q[b+36>>2]-c>>2}if(a>>>0<=f>>>0){break a}a=q[(f<<2)+c>>2];q[d>>2]=a;hz(a);f=q[h+80>>2];if(f){h=q[h+76>>2];g=q[d>>2];c=0;while(1){a=h+w(c,96)|0;b=r[a+80|0];Vy(g,q[a>>2],q[a+4>>2],a+16|0,b?4:1,b?9:0);c=c+1|0;if((f|0)!=(c|0)){continue}break}}Yn(k,d);break c;case 2:break d;default:break c}}a=q[b+92>>2];xi[q[77441]](q[b+88>>2],q[b+96>>2]-a|0,a,0);a=(q[b+96>>2]-q[b+92>>2]|0)/40|0;q[75494]=a+q[75494];q[e+40>>2]=a;q[e+44>>2]=0;q[e+24>>2]=a;q[e+28>>2]=0;a=q[b+96>>2]-q[b+92>>2]|0;q[75516]=a+q[75516];q[e+32>>2]=a;q[e+36>>2]=0;q[e+16>>2]=a;q[e+20>>2]=0}ti=e+80|0;return}J(42441,42460,506,42516);G()}J(42544,42460,479,42555);G()}function Ika(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=ti-48|0;ti=e;h=q[a+8>>2];l=P3(q[h+96>>2],u[q[a+4>>2]+4>>2]);a:{b:{d=q[h+4>>2];a=q[h>>2];c=d-a|0;if(!c){break b}if((a|0)!=(d|0)){d=a-d|0;d=((c|0)<(d|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);m=c>>>0>1?c:1;while(1){f=q[(j<<2)+a>>2];c=r[f+254|0];a=c&253;o[f+254|0]=a;if((c&5)==5){c:{d:{if(c&8){break d}c=q[f+180>>2];if(!c){break c}if(r[c+52|0]){break d}a=r[f+254|0];break c}g=q[f+128>>2];q[e+24>>2]=0;q[e+28>>2]=0;q[e+40>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;i=q[g+28>>2];k=q[g+32>>2];if((i|0)!=(k|0)){a=0;while(1){d=e;c=q[f+216>>2];if(!c){if(k-i>>2>>>0<=a>>>0){break a}c=q[(a<<2)+i>>2]}q[d+16>>2]=c;Uj(e+24|0,e+16|0,4);a=a+1|0;k=q[g+32>>2];i=q[g+28>>2];if(a>>>0>2>>>0){continue}break}}c=e;e:{f:{a=q[f+184>>2];if(a){break f}a=q[g+44>>2];if(a){break f}d=0;a=0;break e}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);g:{h:{a=q[f+188>>2];if(a){break h}a=q[g+48>>2];if(a){break h}d=0;a=0;break g}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);i:{j:{a=q[f+192>>2];if(a){break j}a=q[g+52>>2];if(a){break j}d=0;a=0;break i}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);k:{l:{a=q[f+196>>2];if(a){break l}a=q[g+56>>2];if(a){break l}d=0;a=0;break k}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);m:{n:{a=q[f+200>>2];if(a){break n}a=q[g+60>>2];if(a){break n}d=0;a=0;break m}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);o:{p:{a=q[f+204>>2];if(a){break p}a=q[g- -64>>2];if(a){break p}d=0;a=0;break o}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);q:{r:{a=q[f+208>>2];if(a){break r}a=q[g+68>>2];if(a){break r}d=0;a=0;break q}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);s:{t:{a=q[f+212>>2];if(a){break t}a=q[g+72>>2];if(a){break t}d=0;a=0;break s}d=q[a>>2];a=q[a+4>>2]}q[c+16>>2]=d;q[c+20>>2]=a;Uj(e+24|0,e+16|0,8);a=q[f+180>>2];if(a){Us(a,e+24|0)}q[f+136>>2]=Bn(e+24|0);a=r[f+254|0]&-9;o[f+254|0]=a}o[f+254|0]=a|2;q[75768]=q[75768]+1;q[e+8>>2]=1;q[e+12>>2]=0;q[e>>2]=1;q[e+4>>2]=0}j=j+1|0;if((m|0)==(j|0)){break b}a=q[h>>2];if(q[h+4>>2]-a>>2>>>0>j>>>0){continue}break}}break a}o[b|0]=(l|0)==4;ti=e+48|0;return 0}J(46656,46296,486,46535);G()}function Rs(a,b,c){var d=0,e=0;d=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=d;d=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=d;d=q[b+20>>2];q[a+16>>2]=q[b+16>>2];q[a+20>>2]=d;d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;d=Hj();o[862340]=0;q[215584]=d;Wj()}b:{c:{if(!(!r[862340]|!q[b+24>>2])){if(c){d:{if(o[862440]&1){break d}if(!Xj()){break d}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}d=q[215584];wj(d);e:{if(o[862440]&1){break e}if(!Xj()){break e}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=a;a=aN();q[c+24>>2]=a;f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}if(!a){break c}c=q[215602];e=q[215603]-c>>3;if(e>>>0<=a>>>0){break b}b=q[b+24>>2];if(e>>>0<=b>>>0){break b}e=c+(a<<3)|0;b=c+(b<<3)|0;a=s[b+4>>1];c=Ji(a+16&131056);q[e>>2]=c;o[Gi(c,q[b>>2],a)+a|0]=0;p[e+4>>1]=a;qj(d);return}q[a+24>>2]=0}return}J(160390,160102,137,160407);G()}J(160603,160205,479,160614);G()}function Om(a,b){var c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=0,l=x(0),m=0,n=x(0),o=x(0),p=x(0);a:{b:{c:{e=u[b+4>>2];f=u[b+8>>2];g=(e!=x(0))<<1|(f!=x(0))<<2;d=u[b>>2];switch(g|d!=x(0)){case 1:case 2:case 4:break b;case 0:break c;default:break a}}q[a+8>>2]=0;q[a+12>>2]=1065353216;q[a>>2]=0;q[a+4>>2]=0;return}k=q[73450];m=k;e=x(x(f+x(e+d))*x(.008726646192371845));c=+e*10430.378350470453;d:{if(y(c)<2147483648){b=~~c;break d}b=-2147483648}f=u[m+(((b>>>9|0)+1&127)<<2)>>2];d=u[k+(b>>>7&508)>>2];q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;n=d;d=x(x(b&511)*x(.001953125));u[a+12>>2]=x(n*x(x(1)-d))+x(d*f);b=(g<<1)+a|0;c=+x(e+x(-1.5707963705062866))*10430.378350470453;e:{if(y(c)<2147483648){a=~~c;break e}a=-2147483648}e=x(x(a&511)*x(.001953125));u[b>>2]=x(x(x(1)-e)*u[k+(a>>>7&508)>>2])+x(e*u[k+(((a>>>9|0)+1&127)<<2)>>2]);return}i=x(f*x(.008726646192371845));c=+i*10430.378350470453;f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}f=x(x(b&511)*x(.001953125));h=x(x(1)-f);g=q[73450];j=u[g+(b>>>7&508)>>2];l=u[g+(((b>>>9|0)+1&127)<<2)>>2];o=x(e*x(.008726646192371845));c=+o*10430.378350470453;g:{if(y(c)<2147483648){b=~~c;break g}b=-2147483648}e=x(h*j);h=x(x(b&511)*x(.001953125));h=x(x(x(x(1)-h)*u[g+(b>>>7&508)>>2])+x(h*u[g+(((b>>>9|0)+1&127)<<2)>>2]));j=x(e+x(f*l));l=x(h*j);d=x(d*x(.008726646192371845));c=+d*10430.378350470453;h:{if(y(c)<2147483648){b=~~c;break h}b=-2147483648}e=x(x(b&511)*x(.001953125));e=x(x(x(x(1)-e)*u[g+(b>>>7&508)>>2])+x(e*u[g+(((b>>>9|0)+1&127)<<2)>>2]));c=+x(d+x(-1.5707963705062866))*10430.378350470453;i:{if(y(c)<2147483648){b=~~c;break i}b=-2147483648}f=x(x(b&511)*x(.001953125));f=x(x(x(x(1)-f)*u[g+(b>>>7&508)>>2])+x(f*u[g+(((b>>>9|0)+1&127)<<2)>>2]));c=+x(i+x(-1.5707963705062866))*10430.378350470453;j:{if(y(c)<2147483648){b=~~c;break j}b=-2147483648}d=x(x(b&511)*x(.001953125));i=x(x(x(x(1)-d)*u[g+(b>>>7&508)>>2])+x(d*u[g+(((b>>>9|0)+1&127)<<2)>>2]));p=x(i*f);m=a;n=x(l*e);c=+x(o+x(-1.5707963705062866))*10430.378350470453;k:{if(y(c)<2147483648){b=~~c;break k}b=-2147483648}d=x(x(b&511)*x(.001953125));d=x(x(x(x(1)-d)*u[g+(b>>>7&508)>>2])+x(d*u[g+(((b>>>9|0)+1&127)<<2)>>2]));u[m+12>>2]=n-x(d*p);u[a+8>>2]=x(x(h*i)*e)-x(j*x(f*d));u[a+4>>2]=x(x(d*j)*e)+x(h*p);u[a>>2]=x(x(d*i)*e)+x(l*f)}function hC(a,b){var c=0,d=0,e=0,f=0;if(q[b>>2]>=1){while(1){o[(a+d|0)+1280|0]=1;d=d+1|0;e=e+1|0;if((e|0)>2]){continue}break}}if(q[b+4>>2]>0){while(1){o[(a+d|0)+1280|0]=2;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+8>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=3;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+12>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=4;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+16>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=5;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+20>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=6;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+24>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=7;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+28>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=8;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+32>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=9;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+36>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=10;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+40>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=11;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+44>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=12;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+48>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=13;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+52>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=14;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+56>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=15;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}if(q[b+60>>2]>=1){c=0;while(1){o[(a+d|0)+1280|0]=16;d=d+1|0;c=c+1|0;if((c|0)>2]){continue}break}}b=0;o[(a+d|0)+1280|0]=0;e=1;d=0;while(1){f=(e<<2)+a|0;q[f+1612>>2]=d-b;a:{if(r[(a+d|0)+1280|0]!=(e|0)){break a}while(1){c=b;p[((d<<1)+a|0)+512>>1]=b;b=b+1|0;d=d+1|0;if(r[(d+a|0)+1280|0]==(e|0)){continue}break}if(!(c>>>e|0)){break a}q[215613]=164129;return 0}q[f+1540>>2]=b<<16-e;b=b<<1;e=e+1|0;if((e|0)!=17){continue}break}q[a+1608>>2]=-1;b=Fi(a,255,512);if((d|0)>=1){a=0;while(1){c=r[(a+b|0)+1280|0];if(c>>>0<=9){e=9-c|0;c=1<>1]<1?c:1)}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return 1}function Gs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=ti-1232|0;ti=d;j=q[a+5140>>2];wj(j);g=q[a+7368>>2];if(g){sz(g,0)}q[d+100>>2]=b;q[d+96>>2]=24386;hj(d+208|0,1024,24380,d+96|0);h=d+208|0;f=h;a:{b:{c:{d:{e:{f:{while(1){g:{g=r[f|0];h:{i:{if((g|0)!=47){if(g){break i}o[h|0]=0;g=vl(d+208|0,Ui(d+208|0));f=wi;h=0;i=q[a>>2];e=q[i+4>>2];j:{if(!e){break j}e=q[q[i>>2]+(Qwa(g,f,e)<<2)>>2];if((e|0)==-1){break j}i=q[i+8>>2];while(1){e=w(e,48);h=e+i|0;if((g|0)==q[h>>2]&(f|0)==q[h+4>>2]){break j}e=q[(e+i|0)+40>>2];if((e|0)!=-1){continue}break}h=0}g=h?h+8|0:0;if(c){q[c>>2]=g}if(!h){break e}i=q[g+24>>2];if(!q[i+32>>2]){break d}f=a+7376|0;h=a+7380|0;k=a+7384|0;e=q[a+7376>>2];if((q[k>>2]-e|0)!=1048576){if(o[a+7388|0]&1){break a}Ii(1048576,1,f,k,a+7380|0);e=q[a+7376>>2]}q[h>>2]=e;f=Ou(a,d+208|0,b,d+204|0,f);if(f){break f}e=q[a+7376>>2];q[d+160>>2]=a;f=q[i+12>>2];q[d+188>>2]=0;q[d+164>>2]=f;q[d+180>>2]=e;q[d+192>>2]=g;e=q[d+204>>2];q[d+184>>2]=e;q[d+176>>2]=b;q[g+12>>2]=0;f=xi[q[i+32>>2]](d+160|0)|0;if(f){break f}q[q[d+192>>2]+20>>2]=e;e=q[a+12>>2];k:{if(!e){break k}h=q[e>>2];if((h|0)==q[e+4>>2]){break k}f=0;while(1){e=(f<<3)+h|0;h=q[e+4>>2];q[d+136>>2]=b;q[d+132>>2]=g;q[d+128>>2]=h;xi[q[e>>2]](d+128|0);e=q[a+12>>2];h=q[e>>2];f=f+1|0;if(f>>>0>2]-h>>3>>>0){continue}break}}if(q[g+12>>2]){break g}f=0;break f}if((e&255)==47){break h}}o[h|0]=g;h=h+1|0}f=f+1|0;e=g;continue}break}e=q[g+28>>2];q[d+152>>2]=q[g+24>>2];q[d+156>>2]=e;e=q[g+20>>2];q[d+144>>2]=q[g+16>>2];q[d+148>>2]=e;e=q[g+12>>2];q[d+136>>2]=q[g+8>>2];q[d+140>>2]=e;e=q[g+4>>2];q[d+128>>2]=q[g>>2];q[d+132>>2]=e;q[d+136>>2]=q[g+12>>2];q[d+112>>2]=a;q[d+116>>2]=q[i+12>>2];q[d+120>>2]=d+128;f=xi[q[i+28>>2]](d+112|0)|0;q[g+12>>2]=0}l:{switch(f+15|0){case 15:q[d+48>>2]=b;Ai(2,24387,25456,d+48|0);f=0;break b;case 7:q[d+64>>2]=b;Ai(4,24387,25486,d- -64|0);f=-8;break b;case 1:case 2:break l;case 0:break d;case 12:break e;default:break c}}q[d+80>>2]=b;Ai(4,24387,25518,d+80|0);break b}q[d>>2]=b;Ai(4,24387,25567,d);f=-3;break b}q[d+16>>2]=q[q[q[c>>2]+24>>2]+8>>2];Ai(3,24387,25626,d+16|0);f=-15;break b}q[d+36>>2]=f;q[d+32>>2]=b;Ai(3,24387,25671,d+32|0)}a=q[a+7368>>2];if(a){sz(a,1)}qj(j);ti=d+1232|0;return f}J(26943,26397,493,27018);G()}function hM(a,b){var c=0,d=0,e=0;c=ti+ -64|0;ti=c;d=q[a+60>>2];q[c+56>>2]=q[a+56>>2];q[c+60>>2]=d;d=q[a+52>>2];q[c+48>>2]=q[a+48>>2];q[c+52>>2]=d;d=q[a+44>>2];q[c+40>>2]=q[a+40>>2];q[c+44>>2]=d;d=q[a+36>>2];q[c+32>>2]=q[a+32>>2];q[c+36>>2]=d;d=q[a+28>>2];q[c+24>>2]=q[a+24>>2];q[c+28>>2]=d;d=q[a+20>>2];q[c+16>>2]=q[a+16>>2];q[c+20>>2]=d;d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;d=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=d;bo(c);bo(c);bo(c);bo(c);bo(c);bo(c);bo(c);bo(c);bo(c);bo(c);d=q[c>>2]+q[a>>2]|0;q[c>>2]=d;e=q[c+4>>2]+q[a+4>>2]|0;q[c+4>>2]=e;q[c+8>>2]=q[c+8>>2]+q[a+8>>2];q[c+12>>2]=q[c+12>>2]+q[a+12>>2];q[c+16>>2]=q[c+16>>2]+q[a+16>>2];q[c+20>>2]=q[c+20>>2]+q[a+20>>2];q[c+24>>2]=q[c+24>>2]+q[a+24>>2];q[c+28>>2]=q[c+28>>2]+q[a+28>>2];q[c+32>>2]=q[c+32>>2]+q[a+32>>2];q[c+36>>2]=q[c+36>>2]+q[a+36>>2];q[c+40>>2]=q[c+40>>2]+q[a+40>>2];q[c+44>>2]=q[c+44>>2]+q[a+44>>2];q[c+48>>2]=q[c+48>>2]+q[a+48>>2];q[c+52>>2]=q[c+52>>2]+q[a+52>>2];q[c+56>>2]=q[c+56>>2]+q[a+56>>2];q[c+60>>2]=q[c+60>>2]+q[a+60>>2];o[b+7|0]=e>>>24;o[b+6|0]=e>>>16;o[b+5|0]=e>>>8;o[b+4|0]=e;o[b+3|0]=d>>>24;o[b+2|0]=d>>>16;o[b+1|0]=d>>>8;o[b|0]=d;a=q[c+8>>2];o[b+8|0]=a;o[b+9|0]=a>>>8;o[b+10|0]=a>>>16;o[b+11|0]=a>>>24;a=q[c+12>>2];o[b+12|0]=a;o[b+13|0]=a>>>8;o[b+14|0]=a>>>16;o[b+15|0]=a>>>24;a=q[c+16>>2];o[b+16|0]=a;o[b+17|0]=a>>>8;o[b+18|0]=a>>>16;o[b+19|0]=a>>>24;a=q[c+20>>2];o[b+20|0]=a;o[b+21|0]=a>>>8;o[b+22|0]=a>>>16;o[b+23|0]=a>>>24;a=q[c+24>>2];o[b+24|0]=a;o[b+25|0]=a>>>8;o[b+26|0]=a>>>16;o[b+27|0]=a>>>24;a=q[c+28>>2];o[b+28|0]=a;o[b+29|0]=a>>>8;o[b+30|0]=a>>>16;o[b+31|0]=a>>>24;a=q[c+32>>2];o[b+32|0]=a;o[b+33|0]=a>>>8;o[b+34|0]=a>>>16;o[b+35|0]=a>>>24;a=q[c+36>>2];o[b+36|0]=a;o[b+37|0]=a>>>8;o[b+38|0]=a>>>16;o[b+39|0]=a>>>24;a=q[c+40>>2];o[b+40|0]=a;o[b+41|0]=a>>>8;o[b+42|0]=a>>>16;o[b+43|0]=a>>>24;a=q[c+44>>2];o[b+44|0]=a;o[b+45|0]=a>>>8;o[b+46|0]=a>>>16;o[b+47|0]=a>>>24;a=q[c+48>>2];o[b+48|0]=a;o[b+49|0]=a>>>8;o[b+50|0]=a>>>16;o[b+51|0]=a>>>24;a=q[c+52>>2];o[b+52|0]=a;o[b+53|0]=a>>>8;o[b+54|0]=a>>>16;o[b+55|0]=a>>>24;a=q[c+56>>2];o[b+56|0]=a;o[b+57|0]=a>>>8;o[b+58|0]=a>>>16;o[b+59|0]=a>>>24;a=q[c+60>>2];o[b+60|0]=a;o[b+61|0]=a>>>8;o[b+62|0]=a>>>16;o[b+63|0]=a>>>24;xi[q[68401]](c,0,64)|0;ti=c- -64|0}function Wx(a,b,c){var d=0,e=0,f=0,g=0;d=ti-128|0;ti=d;a:{b:{switch(q[c>>2]){case 4:Ni(a,q[c+8>>2],q[c+16>>2]);break a;case 5:g=v[c+8>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=g;q[a+8>>2]=q[a+8>>2]+16;break a;case 6:b=q[c+8>>2];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;break a;case 0:c=q[b+20>>2];q[b+20>>2]=c+1;c:{if((c|0)>2]+1348>>2]){if(Jp(a,3)){break c}}om(q[b+12>>2]);c=q[b>>2];e=q[b+8>>2];q[d+64>>2]=q[b+20>>2];q[d+68>>2]=e-c;Bi(a,134435,d- -64|0)}gj(a,0,0);Rn(b,d+104|0);d:{c=q[d+104>>2];if((c|0)==1){break d}e=d+112|0;while(1){if((c|0)!=4){om(q[b+12>>2]);c=q[d+104>>2];c=q[((c|0)==12?e:(c<<2)+266432|0)>>2];q[d+48>>2]=134391;q[d+52>>2]=c;q[d+56>>2]=q[d+108>>2]+1;Bi(a,134513,d+48|0)}Ni(a,q[d+112>>2],q[d+120>>2]);Rn(b,d+104|0);if(q[d+104>>2]!=8){om(q[b+12>>2]);c=q[d+104>>2];c=q[((c|0)==12?e:(c<<2)+266432|0)>>2];q[d+32>>2]=134409;q[d+36>>2]=c;q[d+40>>2]=q[d+108>>2]+1;Bi(a,134513,d+32|0)}Rn(b,d+104|0);Wx(a,b,d+104|0);tj(a,-3);Rn(b,d+104|0);e:{switch(q[d+104>>2]-1|0){default:om(q[b+12>>2]);c=q[d+104>>2];c=q[((c|0)==12?e:(c<<2)+266432|0)>>2];q[d+16>>2]=134415;q[d+20>>2]=c;q[d+24>>2]=q[d+108>>2]+1;Bi(a,134513,d+16|0);break;case 0:break d;case 8:break e}}Rn(b,d+104|0);c=q[d+104>>2];continue}}q[b+20>>2]=q[b+20>>2]-1;break a;case 2:c=q[b+20>>2];q[b+20>>2]=c+1;f:{if((c|0)>2]+1348>>2]){if(Jp(a,2)){break f}}om(q[b+12>>2]);c=q[b>>2];e=q[b+8>>2];q[d+96>>2]=q[b+20>>2];q[d+100>>2]=e-c;Bi(a,134435,d+96|0)}gj(a,0,0);if(q[q[b+16>>2]+1352>>2]){c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=851636;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-1e4);ij(a,-2)}Rn(b,d+104|0);g:{if(q[d+104>>2]==3){break g}e=d+112|0;c=1;while(1){Wx(a,b,d+104|0);bk(a,-2,c);Rn(b,d+104|0);h:{switch(q[d+104>>2]-3|0){default:om(q[b+12>>2]);f=q[d+104>>2];f=q[((f|0)==12?e:(f<<2)+266432|0)>>2];q[d+80>>2]=134494;q[d+84>>2]=f;q[d+88>>2]=q[d+108>>2]+1;Bi(a,134513,d+80|0);break;case 0:break g;case 6:break h}}Rn(b,d+104|0);c=c+1|0;continue}}q[b+20>>2]=q[b+20>>2]-1;break a;case 7:b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}om(q[b+12>>2]);b=q[c>>2];b=q[((b|0)==12?c+8|0:(b<<2)+266432|0)>>2];q[d+8>>2]=q[c+4>>2]+1;q[d+4>>2]=b;q[d>>2]=134385;Bi(a,134513,d)}ti=d+128|0}function L7(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0;g=ti-224|0;ti=g;u=q[a+48>>2];wj(u);q[e>>2]=0;a:{b:{c:{d:{e:{f:{if(r[c|0]?0:!d){break f}i=zi(b);j=wi;hn(g+192|0,0);ll(g+192|0,b,Ui(b));ll(g+192|0,c,Ui(c));l=a+16|0;m=$n(g+192|0);n=wi;g:{h:{h=q[a+20>>2];i:{if(!h){break i}f=q[q[l>>2]+(Qwa(i,j,h)<<2)>>2];if((f|0)==-1){break i}k=q[a+24>>2];while(1){t=k+w(f,136)|0;if((i|0)==q[t>>2]&(j|0)==q[t+4>>2]){break h}f=q[t+128>>2];if((f|0)!=-1){continue}break}}Fi(g+72|0,0,120);f=q[a+40>>2];if((f|0)==((q[a+32>>2]-q[a+24>>2]|0)/136|0)){f=f+128|0;h=f<<1;ev(l,h>>>0<3?1:(h>>>0)/3|0,f)}Dz(l,i,j,g+72|0);h=q[a+20>>2];break g}f=k+w(f,136)|0;if(!(!r[c|0]|((m|0)!=q[f+80>>2]|(n|0)!=q[f+84>>2]))){q[g+68>>2]=c;q[g+64>>2]=b;Ai(3,160800,161124,g- -64|0);break f}f=s[f+120>>1];if(f&255){q[g+52>>2]=c;q[g+48>>2]=b;Ai(3,160800,161193,g+48|0);break f}if(!(f&256)){break g}q[g+36>>2]=c;q[g+32>>2]=b;Ai(3,160800,161261,g+32|0);break f}k=0;j:{if(!h){break j}f=q[q[l>>2]+(Qwa(i,j,h)<<2)>>2];if((f|0)==-1){break j}l=q[a+24>>2];while(1){f=w(f,136);k=f+l|0;h=k;if((i|0)==q[h>>2]&(j|0)==q[h+4>>2]){break j}f=q[(f+l|0)+128>>2];if((f|0)!=-1){continue}break}k=0}f=k?k+8|0:0;zj(f,c,64);c=FG(q[a+84>>2],b);q[f+72>>2]=m;q[f+76>>2]=n;q[f+64>>2]=c;q[f+80>>2]=pk();q[f+84>>2]=wi;i=f;h=f;if(d){j=w(d,1e6);d=pk()+j|0;c=wi;c=d>>>0>>0?c+1|0:c}else{c=0;d=0}q[h+88>>2]=d;q[i+92>>2]=c;p[f+112>>1]=s[f+112>>1]|256;d=s[a+56>>1];c=s[a+58>>1];if((d|0)==(c|0)){break f}f=q[a+52>>2];if(!f){break e}if(c>>>0>=d>>>0){break d}p[a+58>>1]=c+1;c=s[f+(c<<1)>>1];f=q[a>>2];i=Ui(f)+10|0;d=Ji(i);q[g+20>>2]=c;q[g+16>>2]=f;hj(d,i,161333,g+16|0);f=il(d,161057);if(!f){q[g>>2]=d;Ai(4,160800,161345,g);yi(d);d=q[a+52>>2];if(!d){break c}b=s[a+58>>1];if(!b|b>>>0>s[a+56>>1]){break b}e=a;a=b-1|0;p[e+58>>1]=a;p[d+((a&65535)<<1)>>1]=c;break f}h=q[a+68>>2];a=q[a+64>>2];if(c>>>0>=h-a>>6>>>0){break a}a=a+(c<<6)|0;p[a+56>>1]=c;hn(a+8|0,0);q[a+40>>2]=m;q[a+44>>2]=n;q[a>>2]=d;q[a+4>>2]=f;q[a+48>>2]=zi(b);q[a+52>>2]=wi;o[a+58|0]=r[a+58|0]&254;q[e>>2]=a}qj(u);ti=g+224|0;return}J(162345,162082,151,162352);G()}J(162356,162082,152,162352);G()}J(162345,162082,140,162376);G()}J(162381,162082,141,162376);G()}J(162235,162182,479,162246);G()}function uja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=0,o=0,p=0;b=ti-640|0;ti=b;i=q[a+8>>2]-q[a+12>>2]>>4;f=Tj(a);d=q[q[f+80>>2]+8>>2];q[b+624>>2]=0;q[b+628>>2]=0;q[b+616>>2]=0;q[b+620>>2]=0;q[b+608>>2]=0;q[b+612>>2]=0;q[b+600>>2]=0;q[b+604>>2]=0;Vn(a,64877,0,b+636|0,b+600|0);a:{b:{if((i|0)<2){break b}if(!Ei(a,2)){break b}c=kl(a,2);e=q[c+4>>2];h=q[c>>2];u[b+584>>2]=u[c+8>>2];q[b+576>>2]=h;q[b+580>>2]=e;break a}np(b+48|0,f);u[b+576>>2]=u[b+48>>2];c=q[b+56>>2];q[b+580>>2]=q[b+52>>2];q[b+584>>2]=c}c:{d:{if((i|0)<3){break d}if(!Ei(a,3)){break d}c=Pq(a,3);u[b+560>>2]=u[c>>2];u[b+564>>2]=u[c+4>>2];u[b+568>>2]=u[c+8>>2];u[b+572>>2]=u[c+12>>2];break c}$s(b+48|0,f);c=q[b+52>>2];q[b+560>>2]=q[b+48>>2];q[b+564>>2]=c;c=q[b+60>>2];q[b+568>>2]=q[b+56>>2];q[b+572>>2]=c}c=Nv(a);e:{f:{g:{if((i|0)<=3){break g}h:{if(!Ei(a,4)){break h}e=c?512:432;m=Cs(a,c?b+48|0:b+128|0,e,4);if(m>>>0<=e>>>0){break h}d=Bi(a,65163,0);break e}if((i|0)<5){break g}if(!Ei(a,5)){break g}e=vm(a,5);if(e){j=u[e>>2];u[b+32>>2]=j;k=u[e+4>>2];u[b+36>>2]=k;g=u[e+8>>2];u[b+40>>2]=g;break f}g=x(Ri(a,5));u[b+40>>2]=g;u[b+36>>2]=g;u[b+32>>2]=g;k=g;j=g;break f}ir(b,f);j=u[b>>2];u[b+32>>2]=j;k=u[b+4>>2];u[b+36>>2]=k;g=u[b+8>>2];u[b+40>>2]=g}i:{e=IA(d);j:{k:{if((e|0)!=-1){h=FA(e);l=wi;if(!c){q[b+112>>2]=e;q[b+80>>2]=h;q[b+84>>2]=l;u[b+48>>2]=u[b+576>>2];c=q[b+584>>2];q[b+52>>2]=q[b+580>>2];q[b+56>>2]=c;c=q[b+564>>2];q[b+64>>2]=q[b+560>>2];q[b+68>>2]=c;u[b+104>>2]=g;u[b+100>>2]=k;u[b+96>>2]=j;c=q[b+572>>2];q[b+72>>2]=q[b+568>>2];q[b+76>>2]=c;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(!$l(a,b)){break i}d=q[61576];fk(b,b+600|0,q[d+8>>2],q[d+12>>2],f,d,b+48|0,m+80|0);Zj(a,h,l);break j}Ti(a);n=kk(a,-1e4);c=d;p=jma(c,q[b+636>>2]);o=q[b+636>>2];f=q[o+4>>2];if(!f){f=q[o>>2]}f=AK(c,p,q[f+4>>2],h,l,b+48|0,m,b+576|0,b+560|0,b+32|0);l:{if(f){if(f){q[f+88>>2]=e}break l}tA(e,d)}bj(a,-1e4,n);jk(a);Aj(a,-1e4,n);if(!f){break k}Zj(a,h,l);break j}Ai(4,65274,65282,0)}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}d=1;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break e}J(65349,65374,362,65416);G()}tA(e,d);d=Bi(a,65219,0)}ti=b+640|0;return d|0}function ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,v=x(0),w=0,y=0,z=x(0),A=0,B=0,C=0,D=0,E=0,F=0;g=q[a+40>>2];h=q[a+44>>2];i=q[a+24>>2];j=q[a+28>>2];k=u[a+56>>2];l=q[a>>2];m=q[a+4>>2];n=q[a+16>>2];o=q[a+20>>2];p=q[a+32>>2];r=q[a+36>>2];s=q[a+48>>2];t=q[a+52>>2];v=u[a+8>>2];f=q[a+76>>2];c=ti+ -64|0;e=c+44|0;q[e>>2]=q[a+72>>2];q[e+4>>2]=f;e=q[a+84>>2];q[c+52>>2]=q[a+80>>2];q[c+56>>2]=e;q[c+60>>2]=q[a+88>>2];e=q[a+68>>2];q[c+36>>2]=q[a+64>>2];q[c+40>>2]=e;e=q[a+104>>2];f=q[a+108>>2];w=q[a+120>>2];y=q[a+124>>2];z=u[a+136>>2];A=q[a+96>>2];B=q[a+100>>2];C=q[a+112>>2];D=q[a+116>>2];E=q[a+128>>2];F=q[a+132>>2];d=q[a+156>>2];q[c+24>>2]=q[a+152>>2];q[c+28>>2]=d;d=q[a+148>>2];q[c+16>>2]=q[a+144>>2];q[c+20>>2]=d;u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];d=q[b+68>>2];q[a+64>>2]=q[b+64>>2];q[a+68>>2]=d;d=q[b+76>>2];q[a+72>>2]=q[b+72>>2];q[a+76>>2]=d;d=q[b+84>>2];q[a+80>>2]=q[b+80>>2];q[a+84>>2]=d;q[a+88>>2]=q[b+88>>2];u[a+96>>2]=u[b+96>>2];u[a+100>>2]=u[b+100>>2];u[a+104>>2]=u[b+104>>2];u[a+108>>2]=u[b+108>>2];u[a+112>>2]=u[b+112>>2];u[a+116>>2]=u[b+116>>2];u[a+120>>2]=u[b+120>>2];u[a+124>>2]=u[b+124>>2];u[a+128>>2]=u[b+128>>2];u[a+132>>2]=u[b+132>>2];u[a+136>>2]=u[b+136>>2];d=q[b+156>>2];q[a+152>>2]=q[b+152>>2];q[a+156>>2]=d;d=q[b+148>>2];q[a+144>>2]=q[b+144>>2];q[a+148>>2]=d;u[b+56>>2]=k;u[b+8>>2]=v;q[b+24>>2]=i;q[b+28>>2]=j;q[b+48>>2]=s;q[b+52>>2]=t;q[b+32>>2]=p;q[b+36>>2]=r;q[b+16>>2]=n;q[b+20>>2]=o;q[b>>2]=l;q[b+4>>2]=m;q[b+40>>2]=g;q[b+44>>2]=h;q[b+88>>2]=q[c+60>>2];a=q[c+56>>2];q[b+80>>2]=q[c+52>>2];q[b+84>>2]=a;a=q[c+48>>2];q[b+72>>2]=q[c+44>>2];q[b+76>>2]=a;a=q[c+40>>2];q[b+64>>2]=q[c+36>>2];q[b+68>>2]=a;u[b+136>>2]=z;q[b+128>>2]=E;q[b+132>>2]=F;q[b+120>>2]=w;q[b+124>>2]=y;q[b+112>>2]=C;q[b+116>>2]=D;q[b+104>>2]=e;q[b+108>>2]=f;q[b+96>>2]=A;q[b+100>>2]=B;a=q[c+28>>2];q[b+152>>2]=q[c+24>>2];q[b+156>>2]=a;a=q[c+20>>2];q[b+144>>2]=q[c+16>>2];q[b+148>>2]=a}function GX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{switch(b|0){case 13:ku(a,c);return;case 14:tm(a,c);e:{f:{g:{h:{i:{j:{switch(q[c>>2]-1|0){case 1:g=q[a+32>>2];q[a+32>>2]=-1;d=Qk(a,2147450902,q[q[a+12>>2]+8>>2]);if((g|0)==-1){break f}if((d|0)==-1){d=g;break e}i=q[q[a>>2]+12>>2];b=d;while(1){e=b;h=(b<<2)+i|0;f=q[h>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=h;g=g+(e^-1)|0;e=g>>31;if((e^e+g)>=131072){Dj(q[a+12>>2],136537);f=q[h>>2]}q[b>>2]=(f&16383|g<<14)+2147467264;break f;case 9:d=q[c+8>>2];break f;case 10:b=q[a>>2];d=q[q[b+12>>2]+(q[c+8>>2]<<2)>>2];if((d&63)!=19){break i}q[a+24>>2]=q[a+24>>2]-1;d=ao(a,26,d>>>23|0,0,0);break f;case 0:case 2:break a;case 11:break h;default:break j}}b=q[a>>2]}e=q[a+36>>2];f=e+1|0;k:{if((e|0)=249){Dj(q[a+12>>2],136502);d=q[a+36>>2]+1|0;b=q[a>>2]}o[b+75|0]=f}q[a+36>>2]=d;Xv(a,c,d-1|0);if(q[c>>2]!=12){break g}}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}d=ao(a,27,255,q[c+8>>2],1)}if((d|0)==-1){break a}}b=q[c+16>>2];if((b|0)==-1){break b}g=q[q[a>>2]+12>>2];while(1){e=b;h=g+(b<<2)|0;f=q[h>>2];b=(f>>>14|0)-131071|0;b=(b|0)==-1?-1:(e+b|0)+1|0;if((b|0)!=-1){continue}break}b=h;e=(e^-1)+d|0;d=e>>31;if((d^d+e)>=131072){Dj(q[a+12>>2],136537);f=q[h>>2]}q[b>>2]=(f&16383|e<<14)+2147467264;break a;case 6:tm(a,c);l:{if(q[c>>2]!=12){break l}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];d=e+1|0;f=q[a>>2];m:{if((e|0)=249){Dj(q[a+12>>2],136502);f=q[a>>2];b=q[a+36>>2]+1|0}o[f+75|0]=d}q[a+36>>2]=b;Iq(a,c,b-1|0);return;case 0:case 1:case 2:case 3:case 4:case 5:if(q[c+20>>2]==-1?!(q[c>>2]!=5|q[c+16>>2]!=-1):0){break c}sl(a,c);return;default:break d}}sl(a,c)}return}q[c+16>>2]=d}g=q[c+20>>2];q[a+28>>2]=q[a+24>>2];n:{if((g|0)==-1){break n}b=q[a+32>>2];if((b|0)!=-1){h=q[q[a>>2]+12>>2];while(1){f=b;e=h+(b<<2)|0;d=q[e>>2];b=(d>>>14|0)-131071|0;b=(b|0)==-1?-1:(f+b|0)+1|0;if((b|0)!=-1){continue}break}b=e;h=g+(f^-1)|0;f=h>>31;if((f^f+h)>=131072){Dj(q[a+12>>2],136537);d=q[e>>2]}q[b>>2]=(d&16383|h<<14)+2147467264;break n}q[a+32>>2]=g}q[c+20>>2]=-1}function qW(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=ti-16|0;ti=h;j=-34;a:{if(c&15){break a}if(b){j=0;if(!c){break a}while(1){o[f|0]=r[d|0]^r[e|0];o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];o[f+8|0]=r[d+8|0]^r[e+8|0];o[f+9|0]=r[d+9|0]^r[e+9|0];o[f+10|0]=r[d+10|0]^r[e+10|0];o[f+11|0]=r[d+11|0]^r[e+11|0];o[f+12|0]=r[d+12|0]^r[e+12|0];o[f+13|0]=r[d+13|0]^r[e+13|0];o[f+14|0]=r[d+14|0]^r[e+14|0];o[f+15|0]=r[d+15|0]^r[e+15|0];qm(a,b,f,f);g=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);i=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[d+8|0]=i;o[d+9|0]=i>>>8;o[d+10|0]=i>>>16;o[d+11|0]=i>>>24;o[d+12|0]=g;o[d+13|0]=g>>>8;o[d+14|0]=g>>>16;o[d+15|0]=g>>>24;g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);i=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=i;o[d+1|0]=i>>>8;o[d+2|0]=i>>>16;o[d+3|0]=i>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}break a}if(!c){j=0;break a}while(1){b=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);q[h>>2]=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h+4>>2]=b;b=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);q[h+8>>2]=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);q[h+12>>2]=b;j=0;qm(a,0,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[f+8|0]=r[d+8|0]^r[f+8|0];o[f+9|0]=r[d+9|0]^r[f+9|0];o[f+10|0]=r[d+10|0]^r[f+10|0];o[f+11|0]=r[d+11|0]^r[f+11|0];o[f+12|0]=r[d+12|0]^r[f+12|0];o[f+13|0]=r[d+13|0]^r[f+13|0];o[f+14|0]=r[d+14|0]^r[f+14|0];o[f+15|0]=r[d+15|0]^r[f+15|0];b=q[h+12>>2];g=q[h+8>>2];o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=q[h+4>>2];g=q[h>>2];o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}}ti=h+16|0;return j}function sw(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:while(1){k=b-16|0;j=b-160|0;b:while(1){d=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-d|0;switch((a|0)/160|0){case 3:break j;case 2:break k;case 0:case 1:break d;case 4:break g;case 5:break i;default:break h}}if(t[b-16>>2]>=t[d+144>>2]){break d}ak(d,b-160|0);return}c=b-160|0;a=d+160|0;e=b-16|0;b=q[e>>2];f=q[d+304>>2];if(f>>>0>=t[d+144>>2]){if(b>>>0>=f>>>0){break d}ak(a,c);if(t[d+304>>2]>=t[d+144>>2]){break d}ak(d,a);return}if(b>>>0>>0){ak(d,c);return}ak(d,a);if(t[e>>2]>=t[d+304>>2]){break d}ak(a,c);return}Cw(d,d+160|0,d+320|0,d+480|0,b-160|0);return}if((a|0)<=1119){_N(d,b);return}f=w((a>>>0)/320|0,160);i=f+d|0;l:{if((a|0)>=159841){a=w((a>>>0)/640|0,160);h=Cw(d,a+d|0,i,a+i|0,j);break l}e=d+f|0;a=e;e=q[e+144>>2];m:{if(e>>>0>=t[d+144>>2]){h=0;if(e>>>0<=t[k>>2]){break l}ak(i,j);h=1;if(t[a+144>>2]>=t[d+144>>2]){break l}ak(d,i);break m}if(e>>>0>t[k>>2]){ak(d,j);h=1;break l}ak(d,i);h=1;if(t[k>>2]>=t[a+144>>2]){break l}ak(i,j)}h=2}a=j;e=q[d+144>>2];g=q[(d+f|0)+144>>2];n:{if(e>>>0>>0){f=j;break n}while(1){f=a-160|0;if((f|0)==(d|0)){g=d+160|0;if(e>>>0>2]){break e}if((g|0)==(j|0)){break d}while(1){if(e>>>0>2]){ak(g,j);g=g+160|0;break e}g=g+160|0;if((j|0)!=(g|0)){continue}break}break d}l=a-16|0;a=f;if(g>>>0<=t[l>>2]){continue}break}ak(d,f);h=h+1|0}e=d+160|0;if(f>>>0<=e>>>0){break f}while(1){l=q[i+144>>2];while(1){g=e;e=e+160|0;if(l>>>0>t[g+144>>2]){continue}break}a=f;while(1){m=a-16|0;f=a-160|0;a=f;if(l>>>0<=t[m>>2]){continue}break}if(f>>>0>>0){e=g;break f}else{ak(g,f);i=(g|0)==(i|0)?f:i;h=h+1|0;continue}}}Fw(d,d+160|0,d+320|0,b-160|0);break d}if(!((e|0)==(i|0)|t[i+144>>2]>=t[e+144>>2])){ak(e,i);h=h+1|0}if(!h){f=lM(d,e);a=e+160|0;if(lM(a,b)){b=e;a=d;if(!f){continue a}break d}if(f){continue b}}if(((e-d|0)/160|0)<((b-e|0)/160|0)){sw(d,e,c);a=e+160|0;continue b}sw(e+160|0,b,c);b=e;a=d;continue a}f=j;if((g|0)==(f|0)){break d}while(1){h=q[d+144>>2];while(1){e=g;g=e+160|0;if(h>>>0>=t[e+144>>2]){continue}break}a=f;while(1){i=a-16|0;f=a-160|0;a=f;if(h>>>0>2]){continue}break}if(e>>>0>=f>>>0){d=e;continue c}else{ak(e,f);continue}}}break}break}break}}function uG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,y=0,z=0,A=0,B=0,C=x(0),D=x(0),E=x(0),F=0;h=ti-304|0;ti=h;Fi(h+40|0,0,264);zu(h+40|0);i=q[26783];q[h+24>>2]=q[26782];q[h+28>>2]=i;i=q[26781];q[h+16>>2]=q[26780];q[h+20>>2]=i;q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0;y=q[a>>2];i=q[a+4>>2];if((y|0)!=(i|0)){j=x(b>>>0);k=x(c>>>0);C=c?x(j/k):x(0);D=x(j*k);E=x(d>>>0);a=i-y|0;l=(a|0)>-1?a:-1;i=y-i|0;a=w((l|0)<1?l:1,((a|0)<(i|0)?i:a)>>>4|0);F=a>>>0>1?a:1;while(1){i=(z<<4)+y|0;a:{if(e){g=q[e>>2];a=q[e+4>>2]-g|0;l=a>>3;b:{if(!a){a=0;break b}m=q[i>>2];p=q[i+4>>2];a=0;while(1){r=g+(a<<3)|0;if(q[r>>2]==(m|0)&q[r+4>>2]==(p|0)){break b}a=a+1|0;if(l>>>0>a>>>0){continue}break}}if((a|0)==(l|0)){break a}}p=q[i+8>>2];if(!p){break a}r=q[i+12>>2];l=0;if(!d){while(1){m=w(l,20)+r|0;o=q[m+12>>2];c:{if(o){A=Ui(h+40|0);B=q[m+16>>2];a=0;g=1;while(1){d:{s=q[B+(a<<2)>>2];t=Ui(s);if(t>>>0<=A>>>0){if(!tk(s,h+40|0,t)){break d}}a=a+1|0;g=o>>>0>a>>>0;if((a|0)!=(o|0)){continue}}break}if(!g){break c}}j=u[m>>2];k=u[m+4>>2];f=1- +x(D/x(j*k));n=f>=0?f:-f;f=1- +x(C/x(j/k));f=n+(f>=0?f:-f)+0;n=f;if(k=x(0)){a=~~k>>>0}else{a=0}if(j=x(0)){g=~~j>>>0}else{g=0}a=(a>>>0>=g>>>0)<<3;g=a|h+16;if(n>3]^1){break c}v[g>>3]=f;g=q[i+4>>2];a=a|h;q[a>>2]=q[i>>2];q[a+4>>2]=g}l=l+1|0;if((p|0)!=(l|0)){continue}break a}}while(1){m=w(l,20)+r|0;o=q[m+12>>2];e:{if(o){A=Ui(h+40|0);B=q[m+16>>2];a=0;g=1;while(1){f:{s=q[B+(a<<2)>>2];t=Ui(s);if(t>>>0<=A>>>0){if(!tk(s,h+40|0,t)){break f}}a=a+1|0;g=o>>>0>a>>>0;if((a|0)!=(o|0)){continue}}break}if(!g){break e}}j=u[m>>2];k=u[m+4>>2];f=1- +x(D/x(j*k));n=f>=0?f:-f;f=1- +x(C/x(j/k));n=n+(f>=0?f:-f);f=1- +x(u[m+8>>2]/E);f=n+(f>=0?f:-f);n=f;if(k=x(0)){a=~~k>>>0}else{a=0}if(j=x(0)){g=~~j>>>0}else{g=0}a=(a>>>0>=g>>>0)<<3;g=a|h+16;if(n>3]^1){break e}v[g>>3]=f;g=q[i+4>>2];a=a|h;q[a>>2]=q[i>>2];q[a+4>>2]=g}l=l+1|0;if((p|0)!=(l|0)){continue}break}}z=z+1|0;if((F|0)!=(z|0)){continue}break}}d=b>>>0<=c>>>0;b=d<<3|h;a=q[b+4>>2];c=q[b>>2];b=a;if(!(a|c)){a=(d^1)<<3|h;c=q[a>>2];b=q[a+4>>2]}a=q[h+300>>2];if(a){yi(a)}ti=h+304|0;wi=b;return c}function lW(a,b,c,d,e,f){var g=0,h=0,i=0;h=ti-16|0;ti=h;i=-38;a:{if(c&15){break a}if(b){i=0;if(!c){break a}while(1){o[f|0]=r[d|0]^r[e|0];o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];o[f+8|0]=r[d+8|0]^r[e+8|0];o[f+9|0]=r[d+9|0]^r[e+9|0];o[f+10|0]=r[d+10|0]^r[e+10|0];o[f+11|0]=r[d+11|0]^r[e+11|0];o[f+12|0]=r[d+12|0]^r[e+12|0];o[f+13|0]=r[d+13|0]^r[e+13|0];o[f+14|0]=r[d+14|0]^r[e+14|0];o[f+15|0]=r[d+15|0]^r[e+15|0];ds(a,f,f);b=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);g=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}break a}i=0;if(!c){break a}while(1){b=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);q[h>>2]=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h+4>>2]=b;b=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);q[h+8>>2]=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);q[h+12>>2]=b;ds(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[f+8|0]=r[d+8|0]^r[f+8|0];o[f+9|0]=r[d+9|0]^r[f+9|0];o[f+10|0]=r[d+10|0]^r[f+10|0];o[f+11|0]=r[d+11|0]^r[f+11|0];o[f+12|0]=r[d+12|0]^r[f+12|0];o[f+13|0]=r[d+13|0]^r[f+13|0];o[f+14|0]=r[d+14|0]^r[f+14|0];o[f+15|0]=r[d+15|0]^r[f+15|0];b=q[h+12>>2];g=q[h+8>>2];o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=b;o[d+13|0]=b>>>8;o[d+14|0]=b>>>16;o[d+15|0]=b>>>24;b=q[h+4>>2];g=q[h>>2];o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;f=f+16|0;e=e+16|0;c=c-16|0;if(c){continue}break}}ti=h+16|0;return i}function dka(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=q[a+4>>2];c=q[b+16>>2];d=q[q[a+24>>2]>>2];if(d>>>0>2]-c>>3>>>0){f=q[c+(d<<3)>>2];h=q[b+4>>2];b=q[b>>2];if(f>>>0<(h-b|0)/240>>>0){a:{c=q[a+16>>2];d=q[a+20>>2];if(!((c|0)==q[75984]&(d|0)==q[75985]|(c|0)==q[75986]&(d|0)==q[75987]|(c|0)==q[75988]&(d|0)==q[75989])){if((c|0)!=q[75990]|(d|0)!=q[75991]){break a}}return tv(c,d,a+32|0,(b+w(f,240)|0)+48|0,303936)|0}b:{c:{if(!((c|0)==q[75998]&(d|0)==q[75999]|((c|0)==q[75994]&(d|0)==q[75995]|(c|0)==q[75996]&(d|0)==q[75997]))){if((c|0)!=q[76e3]|(d|0)!=q[76001]){break c}}g=-9;b=b+w(f,240)|0;if(q[q[q[b+188>>2]+12>>2]+48>>2]==1){break b}return tv(c,d,a+32|0,b- -64|0,303976)|0}if((c|0)==q[76004]&(d|0)==q[76005]){g=-4;if(q[a+32>>2]){break b}m=v[a+40>>3];b=b+w(f,240)|0;a=s[b+234>>1];p[b+234>>1]=a|16;e=x(m);e=e>2]=a&2?x(x(1)-e):e;return 0}if((c|0)==q[76006]&(d|0)==q[76007]){g=-4;if(q[a+32>>2]){break b}u[(b+w(f,240)|0)+228>>2]=v[a+40>>3];return 0}if((c|0)==q[75874]&(d|0)==q[75875]){h=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;a=b+w(f,240)|0;b=Gm(h,c,q[75856],q[75857],a+200|0);h=a;a=s[a+234>>1];p[h+234>>1]=(b?a&256:256)|a&65279;return b|0}k=b+w(f,240)|0;if((c|0)==q[75872]&(d|0)==q[75873]){c=q[q[q[a+8>>2]+80>>2]>>2];d=a+32|0;h=b+w(f,240)|0;a=h;g=Gm(c,d,q[75864],q[75865],a+196|0);i=s[a+234>>1];l=(g?i&256:256)|i&65279;p[a+234>>1]=l;if(g){break b}c=b+w(f,240)|0;d=q[a+196>>2];if(!d){d=q[q[(b+w(f,240)|0)+188>>2]+8>>2]}d:{a=q[d+20>>2];e:{if(!a){break e}g=q[c+208>>2];j=q[c+212>>2];a=q[q[d+16>>2]+(Qwa(g,j,a)<<2)>>2];if((a|0)==-1){break e}n=q[d+24>>2];while(1){a=n+(a<<4)|0;if((g|0)==q[a>>2]&(j|0)==q[a+4>>2]){break d}a=q[a+12>>2];if((a|0)!=-1){continue}break}}p[h+234>>1]=l&65527;q[c+208>>2]=0;q[c+212>>2]=0;g=0;q[c+216>>2]=0;if(t[q[d+64>>2]+8>>2]>t[c+184>>2]){break b}q[c+184>>2]=0;return 0}a=b+w(f,240)|0;e=u[a+224>>2];e=i&2?x(x(1)-e):e;f:{if(!(i&1)){break f}e=x(e+e);if(e>x(1)^1){break f}e=x(x(2)-e)}yv(k,g,j,e,u[a+228>>2]);return 0}f=b+w(f,240)|0;b=q[f+200>>2];if(!b){b=q[q[f+188>>2]+16>>2]}g=gp(b,c,d,a+32|0,q[a+104>>2],211,k)}return g|0}}J(48683,48598,479,48308);G()}function XM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=ti-48|0;ti=f;a:{if(c>>>0<=2){c=c<<2;h=q[c+214364>>2];k=q[c+214352>>2];while(1){c=q[b+4>>2];b:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break b}c=ok(b)}if((c|0)==32|c-9>>>0<5){continue}break}g=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}g=(c|0)==45?-1:1;c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break c}c=ok(b)}e:{f:{while(1){if(o[e+214282|0]==(c|32)){g:{if(e>>>0>6){break g}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break g}c=ok(b)}e=e+1|0;if((e|0)!=8){continue}break f}break}if((e|0)!=3){if((e|0)==8){break f}if(!d|e>>>0<4){break e}if((e|0)==8){break f}}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]-1}if(!d|e>>>0<4){break f}while(1){if(c){q[b+4>>2]=q[b+4>>2]-1}e=e-1|0;if(e>>>0>3){continue}break}}mva(f,x(x(g|0)*x(I)));g=q[f+8>>2];h=q[f+12>>2];i=q[f>>2];j=q[f+4>>2];break a}h:{i:{j:{if(e){break j}e=0;while(1){if(o[e+214291|0]!=(c|32)){break j}k:{if(e>>>0>1){break k}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break k}c=ok(b)}e=e+1|0;if((e|0)!=3){continue}break}break i}l:{switch(e|0){case 0:m:{if((c|0)!=48){break m}e=q[b+4>>2];n:{if(e>>>0>2]){q[b+4>>2]=e+1;e=r[e|0];break n}e=ok(b)}if((e&-33)==88){DZ(f+16|0,b,k,h,g,d);g=q[f+24>>2];h=q[f+28>>2];i=q[f+16>>2];j=q[f+20>>2];break a}if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]-1}fsa(f+32|0,b,c,k,h,g,d);g=q[f+40>>2];h=q[f+44>>2];i=q[f+32>>2];j=q[f+36>>2];break a;case 3:break i;default:break l}}if(q[b+104>>2]){q[b+4>>2]=q[b+4>>2]-1}break h}o:{c=q[b+4>>2];p:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break p}c=ok(b)}if((c|0)==40){e=1;break o}g=0;h=2147450880;if(!q[b+104>>2]){break a}q[b+4>>2]=q[b+4>>2]-1;break a}while(1){q:{c=q[b+4>>2];r:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break r}c=ok(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;h=2147450880;if((c|0)==41){break a}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]-1}if(d){if(!e){break a}while(1){e=e-1|0;if(c){q[b+4>>2]=q[b+4>>2]-1}if(e){continue}break}break a}}q[242957]=28;nn(b,0,0)}g=0;h=0}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=h;ti=f+48|0}function Wna(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=x(0),r=x(0),s=0;b=ti-272|0;ti=b;h=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);c=q[c+4>>2];q[b+264>>2]=0;q[b+268>>2]=0;q[b+256>>2]=0;q[b+260>>2]=0;q[b+248>>2]=0;q[b+252>>2]=0;q[b+240>>2]=0;q[b+244>>2]=0;$l(a,b+240|0);q[b+232>>2]=0;q[b+236>>2]=0;q[b+224>>2]=0;q[b+228>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;q[b+208>>2]=0;q[b+212>>2]=0;qk(a,1,b+208|0,b+240|0);g=q[q[c+80>>2]+8>>2];a:{if(!g){break a}c=q[g>>2];if(!c){break a}d=q[c+3216>>2];e=q[c+3220>>2]}if((d|0)!=q[b+208>>2]|(e|0)!=q[b+212>>2]){Bi(a,16546,0)}b:{if(ek(a,2)){d=zi(dj(a,2,0));e=wi;break b}d=Zk(a,2);e=wi}j=Vm(g,q[b+224>>2],q[b+228>>2]);c:{if(!j){q[b>>2]=Mi(q[b+224>>2],q[b+228>>2]);c=Bi(a,15011,b);break c}k=Xi(a,3);if((k|0)>=7){c=Bi(a,16612,0);break c}l=Ys(b+136|0);if(Iv(a,4,l)){c=Bi(a,16661,0);break c}d:{e:{f:{if(Bj(a,5)){i=Xi(a,5);if((i|0)>=42){break e}c=0;break f}if(!EF(a,5)){break d}n=QF(a,5);Qi(a,5);o=54;i=41;m=kk(a,-1e4);c=a}p=x(Ri(a,6));f=0;g:{if((h|0)<7){break g}r=x(Ri(a,7));f=0;if((h|0)==7){break g}f=0;if((Ei(a,8)|0)!=6){break g}s=55;f=Wn(a,8)}q[b+120>>2]=o;q[b+128>>2]=m;q[b+104>>2]=m;q[b+124>>2]=c;c=q[b+124>>2];q[b+96>>2]=q[b+120>>2];q[b+100>>2]=c;q[b+116>>2]=n;q[b+112>>2]=i;c=q[b+116>>2];q[b+88>>2]=q[b+112>>2];q[b+92>>2]=c;h:{i:{j:{k:{l:{m:{c=Fpa(g,j,q[b+232>>2],q[b+236>>2],d,e,k,l,b+88|0,p,r,s,f);switch(c+9|0){case 9:break h;case 0:break j;case 4:break k;case 5:case 6:break l;case 8:break m;default:break i}}Ni(a,16048,0);Ul(a,b+208|0);Ol(a,2);c=dj(a,-1,0);Ci(a,-2);q[b+36>>2]=Mi(d,e);q[b+32>>2]=c;c=Bi(a,15714,b+32|0);break c}Ni(a,16048,0);Ul(a,b+208|0);Ol(a,2);c=dj(a,-1,0);Ci(a,-2);d=Mi(d,e);q[b+52>>2]=c;q[b+48>>2]=d;c=Bi(a,16808,b+48|0);break c}c=Mi(q[b+232>>2],q[b+236>>2]);q[b+68>>2]=dj(a,1,0);q[b+64>>2]=c;c=Bi(a,16088,b- -64|0);break c}Ni(a,16048,0);Ul(a,b+208|0);Ol(a,2);c=dj(a,-1,0);Ci(a,-2);d=Mi(d,e);q[b+84>>2]=c;q[b+80>>2]=d;c=Bi(a,16853,b+80|0);break c}q[b+16>>2]=c;c=Bi(a,16907,b+16|0);break c}c=0;if((h|0)==q[a+8>>2]-q[a+12>>2]>>4){break c}J(16944,15841,1744,16965);G()}c=Bi(a,16726,0);break c}c=Bi(a,16750,0)}ti=b+272|0;return c|0}function ula(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=q[a+4>>2];b=q[d+16>>2];a:{c=q[q[a+24>>2]>>2];if(c>>>0>2]-b>>3>>>0){e=q[b+(c<<3)>>2];f=q[d>>2];if(e>>>0>2]-f>>8>>>0){b:{b=q[a+16>>2];c=q[a+20>>2];if(!((b|0)==q[76238]&(c|0)==q[76239]|(b|0)==q[76240]&(c|0)==q[76241]|(b|0)==q[76242]&(c|0)==q[76243])){if((b|0)!=q[76244]|(c|0)!=q[76245]){break b}}return tv(b,c,a+32|0,(f+(e<<8)|0)- -64|0,304952)|0}c:{if(!((b|0)==q[76252]&(c|0)==q[76253]|((b|0)==q[76248]&(c|0)==q[76249]|(b|0)==q[76250]&(c|0)==q[76251]))){if((b|0)!=q[76254]|(c|0)!=q[76255]){break c}}return tv(b,c,a+32|0,(f+(e<<8)|0)+48|0,304992)|0}d:{if(!((b|0)==q[76258]&(c|0)==q[76259]|(b|0)==q[76260]&(c|0)==q[76261]|((b|0)==q[76262]&(c|0)==q[76263]|(b|0)==q[76264]&(c|0)==q[76265]))){if((b|0)!=q[76266]|(c|0)!=q[76267]){break d}}return cA(b,c,a+32|0,(f+(e<<8)|0)+80|0,305032)|0}e:{if(!((b|0)==q[76270]&(c|0)==q[76271]|(b|0)==q[76272]&(c|0)==q[76273]|((b|0)==q[76274]&(c|0)==q[76275]|(b|0)==q[76276]&(c|0)==q[76277]))){if((b|0)!=q[76278]|(c|0)!=q[76279]){break e}}return cA(b,c,a+32|0,(f+(e<<8)|0)+96|0,305080)|0}f:{if(!((b|0)==q[76282]&(c|0)==q[76283]|(b|0)==q[76284]&(c|0)==q[76285]|((b|0)==q[76286]&(c|0)==q[76287]|(b|0)==q[76288]&(c|0)==q[76289]))){if((b|0)!=q[76290]|(c|0)!=q[76291]){break f}}return cA(b,c,a+32|0,(f+(e<<8)|0)+112|0,305128)|0}if((b|0)==q[76194]&(c|0)==q[76195]){b=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;a=f+(e<<8)|0;d=Gm(b,c,q[76176],q[76177],a+224|0);break a}if((b|0)==q[76188]&(c|0)==q[76189]){b=q[q[q[a+8>>2]+80>>2]>>2];c=a+32|0;a=f+(e<<8)|0;d=Gm(b,c,q[76174],q[76175],a+228|0);break a}g:{if((b|0)==q[76294]&(c|0)==q[76295]){b=-4;if(q[a+32>>2]){break g}u[(f+(e<<8)|0)+232>>2]=v[a+40>>3];return 0}if((b|0)==q[76296]&(c|0)==q[76297]){b=-4;if(q[a+32>>2]){break g}u[(f+(e<<8)|0)+236>>2]=v[a+40>>3];return 0}if((b|0)==q[76298]&(c|0)==q[76299]){b=-4;if(q[a+32>>2]!=6){break g}d=f+(e<<8)|0;p[d+246>>1]=s[d+246>>1]&65519|r[a+40|0]<<4&240;return 0}g=f+(e<<8)|0;d=q[g+224>>2];if(!d){d=q[q[g+216>>2]+4>>2]}b=gp(d,b,c,a+32|0,q[a+104>>2],219,f+(e<<8)|0)}return b|0}}J(52123,52040,479,52134);G()}b=a;a=s[a+246>>1];p[b+246>>1]=(d?a&8:8)|a&65527;return d|0}function fL(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;f=ti-176|0;ti=f;a:{b:{c:{d:{g=d+8|0;i=Kv(a,q[c+16>>2],q[c+20>>2],g);e:{if(i){if(q[d+4>>2]){while(1){b=q[d>>2]+w(h,96)|0;Pi(a,q[b+24>>2]);Xl(q[b+88>>2]);h=h+1|0;if(h>>>0>2]){continue}break}}ip(a,g);cj(c);break e}q[d>>2]=0;q[d+4>>2]=0;h=q[c+4>>2];if(!h){i=0;break e}q[d>>2]=Ji(w(h,96));j=f+112|0;f:{while(1){if(h>>>0<=k>>>0){break d}g=q[c>>2]+w(k,160)|0;m=q[g+4>>2];i=Nj(a,m,f+172|0);if(i){break e}n=zi(q[g>>2]);o=wi;h=0;i=0;g:{l=q[d+4>>2];if(!l){break g}while(1){p=q[d>>2]+w(h,96)|0;if(q[p>>2]==(n|0)&q[p+4>>2]==(o|0)){i=q[g>>2];q[f+20>>2]=e;q[f+16>>2]=i;Ai(4,20501,20512,f+16|0);l=q[d+4>>2];i=1}h=h+1|0;if(l>>>0>h>>>0){continue}break}if(!(i&1)){break g}Pi(a,q[f+172>>2]);break f}if(Mu(a,q[f+172>>2],f+168|0)){break c}h=Ov(b,q[f+168>>2],f+164|0);if(!h){break b}if(Hs(a,m,f+128|0)){break a}q[f+60>>2]=q[f+168>>2];q[f+56>>2]=q[f+172>>2];q[f+52>>2]=q[f+164>>2];q[f+48>>2]=h;h=q[f+132>>2];q[f+40>>2]=q[f+128>>2];q[f+44>>2]=h;q[f+32>>2]=n;q[f+36>>2]=o;u[f+64>>2]=u[g+16>>2];u[f+68>>2]=u[g+20>>2];u[f+72>>2]=u[g+24>>2];u[f+80>>2]=u[g+32>>2];u[f+84>>2]=u[g+36>>2];u[f+88>>2]=u[g+40>>2];u[f+92>>2]=u[g+44>>2];u[f+96>>2]=u[g+144>>2];u[f+100>>2]=u[g+148>>2];u[f+104>>2]=u[g+152>>2];q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[f+112>>2]=28;h=EA(g+56|0);q[f+120>>2]=h;if(h){g=q[d+4>>2];q[d+4>>2]=g+1;i=q[f+60>>2];g=q[d>>2]+w(g,96)|0;q[g+24>>2]=q[f+56>>2];q[g+28>>2]=i;i=q[f+52>>2];q[g+16>>2]=q[f+48>>2];q[g+20>>2]=i;i=q[f+44>>2];q[g+8>>2]=q[f+40>>2];q[g+12>>2]=i;i=q[f+36>>2];q[g>>2]=q[f+32>>2];q[g+4>>2]=i;u[g+32>>2]=u[f+64>>2];u[g+36>>2]=u[f+68>>2];u[g+40>>2]=u[f+72>>2];u[g+48>>2]=u[f+80>>2];u[g+52>>2]=u[f+84>>2];u[g+56>>2]=u[f+88>>2];u[g+60>>2]=u[f+92>>2];u[g+64>>2]=u[f+96>>2];u[g+68>>2]=u[f+100>>2];u[g+72>>2]=u[f+104>>2];i=q[j+4>>2];q[g+80>>2]=q[j>>2];q[g+84>>2]=i;q[g+88>>2]=q[j+8>>2]}if(!h){break f}h=q[c+4>>2];k=k+1|0;if(h>>>0>k>>>0){continue}break}i=0;break e}i=-13}ti=f+176|0;return i}J(20437,20449,94,20490);G()}J(20567,20369,95,20599);G()}a=q[g>>2];q[f+4>>2]=q[g+4>>2];q[f>>2]=a;Ai(4,20501,20616,f);J(20660,20369,101,20599);G()}J(20567,20369,104,20599);G()}function cJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=ti-144|0;ti=f;i=s[e+18>>1];k=s[b+568>>1];a:{if((i|0)!=(k|0)){p[b+568>>1]=i;g=s[e+16>>1];p[e+16>>1]=g+1;p[b+566>>1]=g;break a}g=s[b+566>>1]}b:{c:{d:{h=q[e>>2];if((q[e+4>>2]-h|0)/80>>>0>g>>>0){j=s[b+560>>1];if((j|0)!=65535){l=q[a+32>>2];if((q[a+36>>2]-l|0)/576>>>0<=j>>>0){break b}cJ(a,w(j,576)+l|0,f+80|0,f+76|0,e)}e=w(g,80)+h|0;if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&64):0)){hv(a,b);break d}if((i|0)!=(k|0)){break d}u[c>>2]=u[e>>2];a=w(g,80)+h|0;u[c+4>>2]=u[a+4>>2];u[c+8>>2]=u[a+8>>2];u[c+12>>2]=u[a+12>>2];u[c+16>>2]=u[a+16>>2];u[c+20>>2]=u[a+20>>2];u[c+24>>2]=u[a+24>>2];u[c+28>>2]=u[a+28>>2];u[c+32>>2]=u[a+32>>2];u[c+36>>2]=u[a+36>>2];u[c+40>>2]=u[a+40>>2];u[c+44>>2]=u[a+44>>2];u[c+48>>2]=u[a+48>>2];u[c+52>>2]=u[a+52>>2];u[c+56>>2]=u[a+56>>2];u[c+60>>2]=u[a+60>>2];u[d>>2]=u[a+64>>2];break c}break b}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];u[d>>2]=u[b+60>>2];e:{if(s[b+560>>1]==65535){break e}Kk(f,f+80|0,c);u[c>>2]=u[f>>2];u[c+4>>2]=u[f+4>>2];u[c+8>>2]=u[f+8>>2];u[c+12>>2]=u[f+12>>2];u[c+16>>2]=u[f+16>>2];u[c+20>>2]=u[f+20>>2];u[c+24>>2]=u[f+24>>2];u[c+28>>2]=u[f+28>>2];u[c+32>>2]=u[f+32>>2];u[c+36>>2]=u[f+36>>2];u[c+40>>2]=u[f+40>>2];u[c+44>>2]=u[f+44>>2];u[c+48>>2]=u[f+48>>2];u[c+52>>2]=u[f+52>>2];u[c+56>>2]=u[f+56>>2];u[c+60>>2]=u[f+60>>2];if(!(r[b+414|0]&128)){break e}u[d>>2]=u[f+76>>2]*u[d>>2]}u[e>>2]=u[c>>2];a=w(g,80)+h|0;u[a+4>>2]=u[c+4>>2];u[a+8>>2]=u[c+8>>2];u[a+12>>2]=u[c+12>>2];u[a+16>>2]=u[c+16>>2];u[a+20>>2]=u[c+20>>2];u[a+24>>2]=u[c+24>>2];u[a+28>>2]=u[c+28>>2];u[a+32>>2]=u[c+32>>2];u[a+36>>2]=u[c+36>>2];u[a+40>>2]=u[c+40>>2];u[a+44>>2]=u[c+44>>2];u[a+48>>2]=u[c+48>>2];u[a+52>>2]=u[c+52>>2];u[a+56>>2]=u[c+56>>2];u[a+60>>2]=u[c+60>>2];u[a+64>>2]=u[d>>2]}ti=f+144|0;return}J(195730,195579,479,195741);G()}function L5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=ti+ -64|0;ti=d;c=Oi(152);q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+120>>2]=0;q[c+124>>2]=0;q[c+40>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;q[c+104>>2]=0;q[c+128>>2]=0;q[c+132>>2]=0;q[c+136>>2]=0;q[c+140>>2]=0;p[c+144>>1]=256;q[c+32>>2]=-1;q[c+8>>2]=0;f=c+12|0;e=q[b+4>>2]-q[b>>2]>>6;Gz(f,w(e,3)>>>1|0,e);e=q[b>>2];if((e|0)!=q[b+4>>2]){while(1){e=(g<<6)+e|0;Hz(f,q[e>>2],e);g=g+1|0;e=q[b>>2];if(g>>>0>2]-e>>6>>>0){continue}break}}u[c+44>>2]=u[b+16>>2];u[c+48>>2]=u[b+20>>2];u[c+52>>2]=u[b+24>>2];u[c+56>>2]=u[b+28>>2];u[c+60>>2]=u[b+32>>2];u[c+64>>2]=u[b+36>>2];u[c+68>>2]=u[b+40>>2];u[c+72>>2]=u[b+44>>2];u[c+76>>2]=u[b+48>>2];u[c+80>>2]=u[b+52>>2];u[c+84>>2]=u[b+56>>2];o[c+145|0]=r[b+89|0];g=q[b+60>>2];q[c+88>>2]=g;e=q[b+64>>2];q[c+92>>2]=e;q[c+96>>2]=q[b+72>>2];f=q[b+76>>2];q[c+132>>2]=f;h=q[b+80>>2];q[c+136>>2]=h;q[c+140>>2]=q[b+84>>2];k=r[b+88|0];i=(e>>>0)/(h>>>0)|0;q[c+124>>2]=i;j=(g>>>0)/(f>>>0)|0;q[c+120>>2]=j;o[c+144|0]=k;q[c+128>>2]=Ji(w(f,h)<<2);f=0;a:{b:{c:{switch(r[b+68|0]-1|0){case 3:f=3;break b;default:Ai(4,107445,107452,0);bz(c);yi(c);c=0;break a;case 0:break b;case 2:break c}}f=2}q[c+108>>2]=f;d:{if(!q[b+92>>2]){xi[q[77434]](a,c+112|0,c+116|0);g=1;e:{f:{g:{e=q[c+112>>2];switch(e-3|0){case 0:break e;case 2:break g;default:break f}}g=2;break e}g=e}q[c+112>>2]=g;e=s[b+64>>1];g=s[b+60>>1];break d}q[c+112>>2]=2;q[c+116>>2]=2}f=w(i,j)<<2;h=Ji(f);q[c+100>>2]=h;Fi(h,0,f);o[d+62|0]=1;p[d+56>>1]=1;q[d+48>>2]=0;q[d+52>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+43|0]=0;o[d+44|0]=0;o[d+45|0]=0;o[d+46|0]=0;p[d+60>>1]=e;p[d+58>>1]=g;p[d+54>>1]=e;p[d+52>>1]=g;q[d+28>>2]=0;q[d+32>>2]=0;q[d+20>>2]=1;q[d+24>>2]=1;f=q[c+108>>2];q[d>>2]=0;q[d+4>>2]=0;p[d+42>>1]=e;q[d+12>>2]=2;q[d+16>>2]=2;p[d+40>>1]=g;q[d+8>>2]=f;f=xi[q[77501]](a,d+48|0)|0;q[c>>2]=f;h=wi;q[c+4>>2]=h;a=w(w(r[b+68|0],g&65535),e&65535);b=Ji(a);q[d+4>>2]=a;q[d>>2]=b;Fi(b,0,a);xi[q[77503]](f,h,d);yi(q[d>>2])}ti=d- -64|0;return c}function Dla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0;h=ti-80|0;ti=h;g=q[a+4>>2];c=q[g+16>>2];d=q[q[a+24>>2]>>2];if(d>>>0>2]-c>>3>>>0){e=q[c+(d<<3)>>2];f=q[g>>2];if(e>>>0>2]-f>>8>>>0){a:{b:{c=q[a+16>>2];d=q[a+20>>2];if(!((c|0)==q[76238]&(d|0)==q[76239]|(c|0)==q[76240]&(d|0)==q[76241]|(c|0)==q[76242]&(d|0)==q[76243])){if((c|0)!=q[76244]|(d|0)!=q[76245]){break b}}a=zv(b,c,d,(f+(e<<8)|0)- -64|0,304952);break a}c:{if(!((c|0)==q[76252]&(d|0)==q[76253]|((c|0)==q[76248]&(d|0)==q[76249]|(c|0)==q[76250]&(d|0)==q[76251]))){if((c|0)!=q[76254]|(d|0)!=q[76255]){break c}}a=zv(b,c,d,(f+(e<<8)|0)+48|0,304992);break a}d:{if(!((c|0)==q[76258]&(d|0)==q[76259]|(c|0)==q[76260]&(d|0)==q[76261]|((c|0)==q[76262]&(d|0)==q[76263]|(c|0)==q[76264]&(d|0)==q[76265]))){if((c|0)!=q[76266]|(d|0)!=q[76267]){break d}}a=nA(b,c,d,(f+(e<<8)|0)+80|0,305032);break a}e:{if(!((c|0)==q[76270]&(d|0)==q[76271]|(c|0)==q[76272]&(d|0)==q[76273]|((c|0)==q[76274]&(d|0)==q[76275]|(c|0)==q[76276]&(d|0)==q[76277]))){if((c|0)!=q[76278]|(d|0)!=q[76279]){break e}}a=nA(b,c,d,(f+(e<<8)|0)+96|0,305080);break a}f:{if(!((c|0)==q[76282]&(d|0)==q[76283]|(c|0)==q[76284]&(d|0)==q[76285]|((c|0)==q[76286]&(d|0)==q[76287]|(c|0)==q[76288]&(d|0)==q[76289]))){if((c|0)!=q[76290]|(d|0)!=q[76291]){break f}}a=nA(b,c,d,(f+(e<<8)|0)+112|0,305128);break a}if((c|0)==q[76194]&(d|0)==q[76195]){g=q[q[q[a+8>>2]+80>>2]>>2];c=f+(e<<8)|0;a=q[c+224>>2];if(!a){a=q[q[c+216>>2]+4>>2]}a=km(g,a,b);break a}if((c|0)==q[76188]&(d|0)==q[76189]){g=q[q[q[a+8>>2]+80>>2]>>2];c=f+(e<<8)|0;a=q[c+228>>2];if(!a){a=q[q[c+216>>2]+8>>2]}a=km(g,a,b);break a}if((c|0)==q[76294]&(d|0)==q[76295]){i=u[(f+(e<<8)|0)+232>>2];a=h+8|0;q[a>>2]=0;v[a+8>>3]=i;Gi(b+32|0,h+8|0,72);a=0;break a}if((c|0)==q[76296]&q[76297]==(d|0)){i=u[(f+(e<<8)|0)+236>>2];a=h+8|0;q[a>>2]=0;v[a+8>>3]=i;Gi(b+32|0,h+8|0,72);a=0;break a}if((c|0)==q[76298]&q[76299]==(d|0)){o[h+16|0]=(s[(f+(e<<8)|0)+246>>1]&16)>>>4;q[h+8>>2]=6;Gi(b+32|0,h+8|0,72);a=0;break a}j=f+(e<<8)|0;g=q[j+224>>2];if(!g){g=q[q[j+216>>2]+4>>2]}a=Ws(g,c,d,q[a+32>>2],b,0,218,f+(e<<8)|0)}ti=h+80|0;return a|0}}J(52123,52040,479,52134);G()}function zK(a,b){var c=0,d=0,e=0,f=x(0),g=0,h=x(0),i=0,j=0,k=0,l=0,m=x(0),n=0;c=ti-96|0;ti=c;d=q[a>>2];q[c+88>>2]=0;a=s[d+1058>>1];q[74168]=a+q[74168];q[c+80>>2]=a;q[c+84>>2]=0;q[c+8>>2]=a;q[c+12>>2]=0;a:{b:{c:{if(o[d+3272|0]&1){Ai(4,7418,12164,0);break c}e=s[d+3264>>1];if((e|0)!=32767){while(1){e=e&65535;a=q[d+1036>>2];if(e>>>0>=q[d+1040>>2]-a>>2>>>0){break b}a=q[a+(e<<2)>>2];BA(d,a);e=s[a+146>>1];p[a+146>>1]=32767;if((e|0)!=32767){continue}break}}q[d+3264>>2]=2147450879}e=1;o[d+3272|0]=r[d+3272|0]|1;a=q[b+12>>2];q[c+72>>2]=q[b+8>>2];q[c+76>>2]=a;a=q[b+4>>2];q[c+64>>2]=q[b>>2];q[c+68>>2]=a;f=u[d+3268>>2];h=u[b>>2];u[c+72>>2]=h>x(.0010000000474974513)?x(f/h):f;a=q[d+4>>2];l=q[a>>2];if(!l){break a}i=d+3216|0;while(1){j=s[((g<<1)+a|0)+28568>>1];a=w(j,112)+a|0;if(!(!(r[a+110|0]&2)|!(r[d+3272|0]&8))){yo(d)}if(q[a+60>>2]){q[c+24>>2]=0;q[c+48>>2]=q[d+8>>2];q[c+52>>2]=c- -64;q[c+56>>2]=q[(d+(j<<2)|0)+12>>2];q[c+60>>2]=q[a+24>>2];o[c+40|0]=0;a=xi[q[a+60>>2]](c+48|0,c+40|0)|0;j=r[d+3272|0];o[d+3272|0]=j&8|r[c+40|0]<<3|j&247;e=!a&e}e=e&kr(d,i,1);g=g+1|0;if((l|0)==(g|0)){break a}a=q[d+4>>2];continue}}J(12518,10061,479,9553);G()}a=q[b+12>>2];d:{if(!a){break d}f=u[b>>2];if(f>x(.0010000000474974513)^1){break d}g=r[d+3272|0];h=u[d+3268>>2];e:{if(!(g&32)){break e}o[d+3272|0]=g&223;a=q[b+12>>2];f=u[b>>2];h=x(u[b+8>>2]*f)}m=x(h+u[b+4>>2]);f=x(f*x(x(1)/x(a>>>0)));h=x(m/f);f:{if(h=x(0)){a=~~h>>>0;break f}a=0}u[d+3268>>2]=m-x(f*x(a>>>0));if(!a){break d}b=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=b;b=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=b;u[c+52>>2]=f;if(!l){break d}j=d+3216|0;b=0;while(1){g=0;while(1){i=q[d+4>>2];k=s[(i+(g<<1)|0)+28568>>1];i=w(k,112)+i|0;if(!(!(r[i+110|0]&2)|!(r[d+3272|0]&8))){yo(d)}n=i- -64|0;if(q[n>>2]){q[c+40>>2]=0;q[c+24>>2]=q[d+8>>2];q[c+28>>2]=c+48;q[c+32>>2]=q[(d+(k<<2)|0)+12>>2];q[c+36>>2]=q[i+24>>2];o[c+16|0]=0;i=xi[q[n>>2]](c+24|0,c+16|0)|0;k=r[d+3272|0];o[d+3272|0]=k&8|r[c+16|0]<<3|k&247;e=!i&e}e=e&kr(d,j,1);g=g+1|0;if((l|0)!=(g|0)){continue}break}b=b+1|0;if((a|0)!=(b|0)){continue}break}}a=r[d+3272|0];o[d+3272|0]=a&254;if(a&8){yo(d)}ti=c+96|0;return e}function nM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=1;a:{b:{c:{switch(b-a>>1){case 2:c=q[c>>2]+8|0;b=b-2|0;d=s[b>>1];f=s[a>>1];if(s[(c+w(d,112)|0)+104>>1]>=s[(c+w(f,112)|0)+104>>1]){break b}p[a>>1]=d;p[b>>1]=f;return 1;case 3:c=q[c>>2];e=c+8|0;b=b-2|0;d=s[b>>1];f=s[(e+w(d,112)|0)+104>>1];j=s[a+2>>1];h=s[(e+w(j,112)|0)+104>>1];g=s[a>>1];i=e+w(g,112)|0;if(h>>>0>=s[i+104>>1]){e=1;if(f>>>0>=h>>>0){break b}p[a+2>>1]=d;p[b>>1]=j;c=c+8|0;b=s[a+2>>1];d=s[a>>1];if(s[(c+w(b,112)|0)+104>>1]>=s[(c+w(d,112)|0)+104>>1]){break b}p[a+2>>1]=d;p[a>>1]=b;return 1}if(f>>>0>>0){p[a>>1]=d;break a}p[a+2>>1]=g;p[a>>1]=j;e=1;d=s[b>>1];if(s[(c+w(d,112)|0)+112>>1]>=s[i+104>>1]){break b}p[a+2>>1]=d;break a;case 4:yr(a,a+2|0,a+4|0,b-2|0,c);return 1;case 5:yr(a,a+2|0,a+4|0,a+6|0,c);f=b-2|0;g=s[f>>1];d=q[c>>2];b=d+8|0;c=s[a+6>>1];if(s[(w(g,112)+b|0)+104>>1]>=s[(b+w(c,112)|0)+104>>1]){break b}p[a+6>>1]=g;p[f>>1]=c;c=s[a+6>>1];f=b+w(c,112)|0;g=s[a+4>>1];if(s[f+104>>1]>=s[(b+w(g,112)|0)+104>>1]){break b}p[a+4>>1]=c;p[a+6>>1]=g;b=s[a+2>>1];if(s[f+104>>1]>=s[(d+w(b,112)|0)+112>>1]){break b}p[a+4>>1]=b;p[a+2>>1]=c;b=s[a>>1];if(s[f+104>>1]>=s[(d+w(b,112)|0)+112>>1]){break b}p[a+2>>1]=b;p[a>>1]=c;return 1;case 0:case 1:break b;default:break c}}j=q[c>>2];f=j+8|0;e=s[a+4>>1];c=f+w(e,112)|0;g=c;h=s[c+104>>1];d=s[a>>1];i=f+w(d,112)|0;c=s[a+2>>1];f=s[(f+w(c,112)|0)+104>>1];d:{if(s[i+104>>1]<=f>>>0){if(f>>>0<=h>>>0){c=e;break d}p[a+4>>1]=c;p[a+2>>1]=e;if(s[g+104>>1]>=s[i+104>>1]){break d}p[a+2>>1]=d;p[a>>1]=e;break d}e:{if(f>>>0>h>>>0){p[a+4>>1]=d;p[a>>1]=e;break e}p[a+2>>1]=d;p[a>>1]=c;if(s[g+104>>1]>=s[i+104>>1]){c=e;break d}p[a+4>>1]=d;p[a+2>>1]=e}c=d}f:{g:{e=a+6|0;if((e|0)==(b|0)){break g}f=a+4|0;h=0;i=j+8|0;while(1){h:{d=e;k=s[d>>1];l=i+w(k,112)|0;if(s[l+104>>1]>1]){g=d;while(1){i:{p[g>>1]=c;e=f;if((e|0)==(a|0)){e=a;break i}g=e;f=e-2|0;c=s[f>>1];if(s[l+104>>1]>1]){continue}}break}p[e>>1]=k;h=h+1|0;if((h|0)==8){break h}}e=d+2|0;if((e|0)==(b|0)){break g}c=s[d>>1];f=d;continue}break}c=(d+2|0)==(b|0);a=0;break f}a=1}e=a|c}return e&1}p[b>>1]=g;return 1}function XK(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;j=ti-16|0;ti=j;q[j+8>>2]=0;i=q[a+8>>2];Dpa(i,b);a:{b:{c:{d:{e:{f:{g:{h:{if(r[b+149|0]&128){d=s[a+3266>>1];h=q[b+140>>2]&32767;if(s[b+146>>1]==32767?(d|0)!=(h|0):0){break h}k=a+3264|0;g=k;e=s[a+3264>>1];if((h|0)!=(e|0)){l=q[a+1036>>2];m=q[a+1040>>2]-l>>2;c=e;while(1){if(e>>>0>=m>>>0){break c}e=q[(e<<2)+l>>2];g=e+146|0;f=h;e=s[e+146>>1];if((e|0)==(d&65535)){p[a+3266>>1]=c;d=c;e=s[g>>1]}c=e;e=c&65535;if((f|0)!=(e|0)){continue}break}}c=s[b+146>>1];p[g>>1]=c;if(!((g|0)!=(k|0)|(c|0)!=32767)){p[a+3266>>1]=32767}p[b+146>>1]=32767;q[b+148>>2]=q[b+148>>2]&-32769}e=q[b+84>>2];h=q[a>>2];_K(a,b);Yq(b+104|0);if(q[b+136>>2]&2048){W7(q[b+96>>2],q[b+100>>2])}f=q[b+88>>2];if(f>>>0>2]){c=q[i>>2];wj(q[c+3232>>2]);g=q[c+3244>>2];if(!g){break b}d=q[c+3252>>2];if(!d|d>>>0>t[c+3248>>2]){break a}d=d-1|0;q[c+3252>>2]=d;q[g+(d<<2)>>2]=f;qj(q[c+3232>>2])}c=q[b+96>>2];d=q[b+100>>2];if((c|0)!=q[74208]|(d|0)!=q[74209]){Xq(a+3144|0,c,d);c=q[74209];q[b+96>>2]=q[74208];q[b+100>>2]=c}c=q[b+140>>2];f=((q[b+136>>2]&255)<<4)+a|0;f=q[f+1084>>2]-q[f+1080>>2]|0;if(!f){break g}if((c>>>16&32767)>>>0>=f>>1>>>0){break f}FK(a,b);Bv(a,b);ct(a,b);Hv(a,q[b+148>>2]);if((e|0)!=296840){Pi(h,e)}e=q[a+1052>>2];if(!e){break b}c=s[a+1058>>1];if(!c|c>>>0>s[a+1056>>1]){break a}d=q[b+140>>2];c=c-1|0;p[a+1058>>1]=c;p[e+((c&65535)<<1)>>1]=d&32767;d=q[b+140>>2]&32767;c=q[a+1036>>2];if(d>>>0>=q[a+1040>>2]-c>>2>>>0){break c}e=0;q[c+(d<<2)>>2]=0;f=q[a+3180>>2];c=q[a+3176>>2];d=f-c|0;i:{if(!d){break i}g=d>>2;d=0;while(1){h=e;e=e+1|0;i=(h<<2)+c|0;d=q[i>>2]==(b|0)|d;if(!(!(d&1)|h>>>0>=g-1>>>0)){if(e>>>0>=g>>>0){break c}q[i>>2]=q[(e<<2)+c>>2];f=q[a+3180>>2];c=q[a+3176>>2]}g=f-c>>2;if(g>>>0>e>>>0){continue}break}if(!(d&1)){break i}if((c|0)==(f|0)){break e}q[a+3180>>2]=f-4}yi(Fi(b,204,160));if(t[a+3168>>2]>s[a+1058>>1]){break d}ti=j+16|0;return}J(9763,7291,1911,9856);G()}J(9628,7291,1954,9611);G()}J(9685,7291,1955,9611);G()}J(12712,10061,548,12565);G()}J(7941,7291,1992,9611);G()}J(12518,10061,479,9553);G()}J(12558,12467,140,12553);G()}J(12589,12467,141,12553);G()}function hw(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=x(0),k=x(0),l=0,m=0,n=0,p=0,r=0,s=0,t=0,v=x(0),w=x(0),z=0,A=0,B=0,C=x(0),D=x(0);v=x(1e9);A=1;while(1){C=u[b+12>>2];D=u[a+12>>2];i=g|126;t=i;f=i;w=x(g|0);h=x(x(x(x(u[a>>2]*x(127))-w)*x(.5))+x(.5));a:{if(x(y(h))(m|0)){f=g}m=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a>>2]);h=x(h*h);f=i;t=g;j=x(x(x(x(u[b>>2]*x(127))-w)*x(.5))+x(.5));b:{if(x(y(j))(t|0)){f=g}k=h;t=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b>>2]);h=x(x(k+x(h*h))+x(0));f=i;n=g;j=x(x(x(x(u[a+4>>2]*x(127))-w)*x(.5))+x(.5));c:{if(x(y(j))(n|0)){f=g}n=f;j=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a+4>>2]);j=x(j*j);f=i;p=g;k=x(x(x(x(u[b+4>>2]*x(127))-w)*x(.5))+x(.5));d:{if(x(y(k))(p|0)){f=g}k=h;p=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b+4>>2]);h=x(k+x(j+x(h*h)));f=i;r=g;j=x(x(x(x(u[a+8>>2]*x(127))-w)*x(.5))+x(.5));e:{if(x(y(j))(r|0)){f=g}r=f;j=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[a+8>>2]);j=x(j*j);f=i;s=g;k=x(x(x(x(u[b+8>>2]*x(127))-w)*x(.5))+x(.5));f:{if(x(y(k))(s|0)){f=g}k=h;s=f;h=x(x(x(((f>>>6&1|f<<1)&255)>>>0)/x(255))-u[b+8>>2]);h=x(k+x(j+x(h*h)));if(!(h(l|0)){f=g}q[e+4>>2]=g;q[e>>2]=g;o[c|0]=(m&254)>>>1;o[d|0]=(t&254)>>>1;o[c+1|0]=(n&254)>>>1;o[d+1|0]=(p&254)>>>1;o[c+2|0]=(r&254)>>>1;o[d+2|0]=(s&254)>>>1;m=c;if((g|0)<=(z|0)){g=(i|0)<(z|0)?i:z}o[m+3|0]=(g&254)>>>1;o[d+3|0]=(f&254)>>>1;v=h}g=1;i=A;A=0;if(i){continue}break}}function iua(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=0,m=0,n=x(0),o=x(0),p=0,s=0,t=0,v=0,z=0,A=0,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=x(0),S=0,T=0,U=x(0),V=0,W=0,X=0,Y=0,Z=0,_=0;while(1){m=r[b+h|0];l=(h<<2)+a|0;J=r[l+2|0];K=w(m,J)+K|0;L=r[l+1|0];M=w(L,m)+M|0;l=r[l|0];N=w(l,m)+N|0;e=q[(m<<2)+103056>>2]+e|0;O=O+J|0;P=P+L|0;Q=l+Q|0;h=h+1|0;if((h|0)!=16){continue}break}o=x((e&255)>>>0);R=x((e>>>16&255)>>>0);i=x((e>>>8&255)>>>0);j=x(x(o*R)-x(i*i));m=x(y(j))>>0);k=x(x(x(Q>>>0)*x(3))-n);j=x(x(3)/j);o=x(j*o);i=x(j*x(-i));u[c>>2]=x(o*n)+x(i*k);U=x(i*n);n=x(j*R);u[d>>2]=U+x(n*k);k=x(M>>>0);j=x(x(x(P>>>0)*x(3))-k);u[c+4>>2]=x(o*k)+x(j*i);u[d+4>>2]=x(i*k)+x(j*n);k=x(K>>>0);j=x(x(x(O>>>0)*x(3))-k);u[c+8>>2]=x(o*k)+x(j*i);u[d+8>>2]=x(i*k)+x(j*n);K=a+60|0;l=a+56|0;M=a+52|0;N=a+48|0;O=a+44|0;P=a+40|0;Q=a+36|0;J=a+32|0;L=a+28|0;V=a+24|0;W=a+20|0;X=a+16|0;Y=a+12|0;Z=a+8|0;_=a+4|0;h=0;while(1){b=h<<2;S=b+c|0;a:{if(u[b+d>>2]>x(255)^1?!(u[S>>2]>>0

>>0?e:p;p=h+Z|0;s=r[p|0];e=e>>>0>>0?e:s;s=h+Y|0;t=r[s|0];e=e>>>0>>0?e:t;t=h+X|0;v=r[t|0];e=e>>>0>>0?e:v;v=h+W|0;z=r[v|0];e=e>>>0>>0?e:z;z=h+V|0;A=r[z|0];e=e>>>0>>0?e:A;A=h+L|0;B=r[A|0];e=e>>>0>>0?e:B;B=h+J|0;C=r[B|0];e=e>>>0>>0?e:C;C=h+Q|0;D=r[C|0];e=e>>>0>>0?e:D;D=h+P|0;E=r[D|0];e=e>>>0>>0?e:E;E=h+O|0;F=r[E|0];e=e>>>0>>0?e:F;F=h+N|0;G=r[F|0];e=e>>>0>>0?e:G;G=h+M|0;H=r[G|0];e=e>>>0>>0?e:H;H=h+l|0;I=r[H|0];e=e>>>0>>0?e:I;I=h+K|0;T=r[I|0];e=e>>>0>>0?e:T;f=r[f|0];g=r[g|0];f=f>>>0>g>>>0?f:g;g=r[p|0];f=f>>>0>g>>>0?f:g;g=r[s|0];f=f>>>0>g>>>0?f:g;g=r[t|0];f=f>>>0>g>>>0?f:g;g=r[v|0];f=f>>>0>g>>>0?f:g;g=r[z|0];f=f>>>0>g>>>0?f:g;g=r[A|0];f=f>>>0>g>>>0?f:g;g=r[B|0];f=f>>>0>g>>>0?f:g;g=r[C|0];f=f>>>0>g>>>0?f:g;g=r[D|0];f=f>>>0>g>>>0?f:g;g=r[E|0];f=f>>>0>g>>>0?f:g;g=r[F|0];f=f>>>0>g>>>0?f:g;g=r[G|0];f=f>>>0>g>>>0?f:g;g=r[H|0];f=f>>>0>g>>>0?f:g;g=r[I|0];if((e|0)!=((f>>>0>g>>>0?f:g)|0)){break a}i=x(e>>>0);u[S>>2]=i;u[b+d>>2]=i}h=h+1|0;if((h|0)!=3){continue}break}}return m^1} -function X1(){var a=0,b=0,c=0,d=0;a=Ci(48);q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=a+24|0;q[b>>2]=0;q[b+4>>2]=0;d=a+16|0;c=d;q[c>>2]=0;q[c+4>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;vi(8,28,a,c,a+4|0);a:{b:{if(!(o[a+28|0]&1)){vi(8,2,d,b,a+20|0);b=q[a+16>>2];if(q[a+24>>2]-b>>1>>>0<=7){break b}q[a+20>>2]=b+16;p[b+8>>1]=0;p[b+10>>1]=0;p[b+12>>1]=0;p[b+14>>1]=0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;b=s[a+36>>1];if(b>>>0>=9){break a}c=q[a+32>>2];d=xi(16);q[a+32>>2]=d;d=si(d,c,b<<1);p[a+36>>1]=8;if((b|0)!=8){while(1){p[d+(b<<1)>>1]=b;b=b+1|0;if((b|0)!=8){continue}break}}ki(c);p[a+44>>1]=0;o[a+46|0]=r[a+46|0]&254;return a}J(120541,120004,461,120529);G()}J(120204,120004,474,120223);G()}J(120506,119874,112,120529);G()}function S0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=fi-32|0;fi=e;f=Ti(e+8|0,a,1,119520,633);d=gj(a,1);b=q[210259];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;my(a);a:{b:{c:{if((ri(a,-1)|0)!=2){oi(a,-2);break c}b=Vi(a,-1);oi(a,-2);if(b){break b}}mi(4,120110,120434,0);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}d=d&65535;c=q[b+16>>2];if(d>>>0>=q[b+20>>2]-c>>1>>>0){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}d=s[c+(d<<1)>>1];c=q[b+4>>2];b=q[b>>2];if(d>>>0>=(c-b|0)/28>>>0){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}c=q[(b+w(d,28)|0)+8>>2];if(!qn(c)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}b=b+w(d,28)|0;q[e>>2]=q[b+12>>2];u[e+4>>2]=u[b+20>>2]-u[b+16>>2];js(c,817,e);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1}q[a+8>>2]=q[a+8>>2]+16;Si(f);fi=e+32|0;return 1}function Ova(){q[73958]=li(52640);q[73959]=ii;q[73960]=li(52659);q[73961]=ii;q[73962]=li(52676);q[73963]=ii;q[73964]=li(52685);q[73965]=ii;q[73966]=li(52691);q[73967]=ii;q[73968]=li(52701);q[73969]=ii;q[73970]=li(52709);q[73971]=ii;q[73972]=li(52716);q[73973]=ii;q[73974]=li(52725);q[73975]=ii;q[73976]=li(52737);q[73977]=ii;q[73978]=li(52746);q[73979]=ii;q[73980]=li(52751);q[73981]=ii;q[73982]=li(52757);q[73983]=ii;q[73984]=li(52763);q[73985]=ii;q[73988]=li(52772);q[73989]=ii;q[73990]=li(52781);q[73991]=ii;q[73992]=li(52790);q[73993]=ii;q[73994]=li(52799);q[73995]=ii;q[73996]=li(52808);q[73997]=ii;q[73998]=li(52817);q[73999]=ii;q[74e3]=li(52826);q[74001]=ii;q[74002]=li(52835);q[74003]=ii;q[74004]=li(52844);q[74005]=ii;q[74006]=li(52853);q[74007]=ii}function Iva(){q[73128]=li(32e3);q[73129]=ii;q[73130]=li(32019);q[73131]=ii;q[73132]=li(32036);q[73133]=ii;q[73134]=li(32045);q[73135]=ii;q[73136]=li(32051);q[73137]=ii;q[73138]=li(32061);q[73139]=ii;q[73140]=li(32069);q[73141]=ii;q[73142]=li(32076);q[73143]=ii;q[73144]=li(32085);q[73145]=ii;q[73146]=li(32097);q[73147]=ii;q[73148]=li(32106);q[73149]=ii;q[73150]=li(32111);q[73151]=ii;q[73152]=li(32117);q[73153]=ii;q[73154]=li(32123);q[73155]=ii;q[73156]=li(32132);q[73157]=ii;q[73158]=li(32141);q[73159]=ii;q[73160]=li(32150);q[73161]=ii;q[73162]=li(32159);q[73163]=ii;q[73164]=li(32168);q[73165]=ii;q[73166]=li(32177);q[73167]=ii;q[73168]=li(32186);q[73169]=ii;q[73170]=li(32195);q[73171]=ii;q[73172]=li(32204);q[73173]=ii;q[73174]=li(32213);q[73175]=ii}function Hta(a,b){var c=0;a:{if((r[a|0]|r[a+1|0]<<8)!=17011|b>>>0<78|((r[a+2|0]|r[a+3|0]<<8)!=19|(r[a+4|0]|r[a+5|0]<<8)!=77)){break a}if(!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))|(r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24))+77>>>0>b>>>0|(!(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))|(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))>>>0>(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0)){break a}c=r[a+21|0]|r[a+22|0]<<8;b:{if(!r[a+20|0]){if((r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))&1?c&4:0){break a}if((r[a+21|0]|r[a+22|0]<<8)&1){break b}break a}if(c&1){break a}}c=a+65|0;if((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=b>>>0){break a}return b-(r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=w(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16),23)>>>0}return 0}function yz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/184|0)){d=q[a+4>>2];c:{if(!d){break c}d=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}while(1){e=w(d,184)+f|0;if(q[e>>2]==(b|0)){break b}d=q[e+180>>2];if((d|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((g|0)!=(e|0)){q[a+12>>2]=e+184;break d}d=q[a+20>>2];if((d|0)==-1){break a}e=w(d,184)+f|0;q[a+20>>2]=q[e+180>>2]}q[e>>2]=b;si(e+4|0,c,176);q[e+180>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;d=q[b>>2];if((d|0)!=-1){while(1){b=c+w(d,184)|0;d=q[b+180>>2];if((d|0)!=-1){continue}break}b=b+180|0}q[b>>2]=(e-c|0)/184;q[a+24>>2]=q[a+24>>2]+1;return}J(134412,134260,226,134420);G()}si((w(d,184)+f|0)+4|0,c,176);return}J(134424,134260,470,134486);G()}function h4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-32|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ai(a,1);a:{if(y(d)<2147483648){f=~~d;break a}f=-2147483648}d=Ai(a,2);b:{if(y(d)<2147483648){g=~~d;break b}g=-2147483648}d=Ai(a,3);c:{if(y(d)<2147483648){c=~~d;break c}c=-2147483648}d=Ai(a,4);d:{if(y(d)<2147483648){h=~~d;break d}h=-2147483648}q[b+12>>2]=f;q[b+8>>2]=6;q[b+24>>2]=h;q[b+20>>2]=c;q[b+16>>2]=g;c=q[e+4>>2];e:{if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+20;q[c+16>>2]=q[b+24>>2];a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break e}q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/20;a=ni(a,104394,b)}fi=b+32|0;return a|0}J(104348,104245,265,107702);G()}function Rr(a,b){var c=0,d=0;a:{b:{c:{d:{e:{f:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break f}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break f}g:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break f;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break f;case 0:c=a+72|0;break f;default:break g}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;switch(q[b+8>>2]-6|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}c=q[a+8>>2];q[c>>2]=q[q[b>>2]+12>>2];b=5;break a}c=q[a+8>>2];q[c>>2]=q[q[b>>2]+12>>2];b=5;break a}b=q[b>>2];d=q[b+76>>2];c=q[a+8>>2];q[c>>2]=q[b+72>>2];q[c+4>>2]=d;b=q[b+80>>2];break a}c=q[a+8>>2];b=0}q[c+8>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function r_(a,b,c,d,e,f){var g=0,h=0,i=0;g=fi+ -64|0;fi=g;q[g+32>>2]=0;q[g+24>>2]=1;q[g+28>>2]=0;q[g+44>>2]=0;q[g+36>>2]=1;q[g+40>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;h=_j(g+8|0,d);a:{if(h){break a}h=eo(g+24|0,d);if(h){break a}h=gk(b,1);if(h){break a}i=b+24|0;h=gk(i,0);if(h){break a}Ji(b+12|0);d=a+4|0;while(1){if((Dj(g+24|0,d)|0)>=0){h=Tm(g+24|0,g+24|0,d);if(!h){continue}break a}break}if(e){h=n_(a,g+24|0,e,f);if(h){break a}}f=g+48|0;e=ul(c);while(1){if(e){e=e-1|0;d=Dm(c,e)&255;h=At(b,g+24|0,d);if(h){break a}h=At(i,f,d);if(h){break a}h=A_(a,b,g+24|0,b,g+24|0,g+8|0);if(h){break a}h=At(b,g+24|0,d);if(h){break a}h=At(i,f,d);if(!h){continue}break a}break}h=q_(a,b)}Rl(g+24|0);Ji(g+8|0);fi=g- -64|0;return h}function q2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0;g=fi-32|0;fi=g;b=yi(a,1,q[210276],0);d=u[b>>2];e=u[b+4>>2];a:{if(!(d!=d|e!=e)){c=u[b+8>>2];if(c==c){break a}}c=u[b+8>>2];v[g+16>>3]=e;v[g+24>>3]=c;v[g+8>>3]=d;q[g>>2]=1;ni(a,120787,g)}n=Ai(a,2);e=u[b>>2];c=u[b+4>>2];f=u[b+8>>2];b=bj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+60>>2]=1065353216;q[b+52>>2]=0;q[b+56>>2]=0;h=x(n);i=rl(h);d=x(x(1)-i);u[b+40>>2]=i+x(d*x(f*f));j=x(d*x(c*f));h=nk(h);k=x(e*h);u[b+36>>2]=j-k;l=x(h*c);m=x(d*x(e*f));u[b+32>>2]=l+m;u[b+24>>2]=k+j;u[b+20>>2]=i+x(d*x(c*c));c=x(d*x(e*c));f=x(h*f);u[b+16>>2]=c-f;u[b+8>>2]=m-l;u[b+4>>2]=c+f;u[b>>2]=i+x(x(e*e)*d);zi(a,-1e4,120704);aj(a,-2);fi=g+32|0;return 1}function B6(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=fi-16|0;fi=e;a:{if(r[a+96|0]==1){o[b|0]=0;break a}g=a+97|0;h=Fi(g);d=q[212950];b=q[d+4>>2];a=q[d>>2];c=b-a|0;if((c|0)<1){break a}b:{c:{if((a|0)!=(b|0)){f=c>>>2|0;b=0;while(1){i=b<<2;c=i+a|0;a=0;d:{while(1){e:{j=eu(q[c>>2],a+g|0,h-a|0,e+12|0);if((j|0)!=-101){if(j){break e}a=q[e+12>>2]+a|0}if((a|0)<(h|0)){continue}break d}break}Mo(q[c>>2]);rm(q[c>>2]);q[c>>2]=-1;c=q[d+4>>2];a=q[d>>2];if(c-a>>2>>>0<=b>>>0){break c}c=c-4|0;q[a+i>>2]=q[c>>2];q[d+4>>2]=c;if(a>>>0>c>>>0){break b}b=b-1|0;f=f-1|0}b=b+1|0;if((f|0)<=(b|0)){break a}a=q[d>>2];if(q[d+4>>2]-a>>2>>>0>b>>>0){continue}break}}J(157009,156839,447,157020);G()}J(156967,156839,481,156982);G()}J(156992,156839,484,156982);G()}fi=e+16|0}function u_(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;if(!Dj(d+12|0,a+52|0)){l=!Dj(d,a+40|0)}h=q[a+92>>2];i=(h>>>0>383?5:4)+l|0;k=h>>>0>i>>>0?i:2;i=k-1|0;o=(h+i>>>0)/(k>>>0)|0;m=1<>2];if(h){break c}}n=m&255;h=Oj(n,36);if(!h){d=-19840;break a}if(i>>>0<=7){while(1){g=w(g,36)+h|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;q[g+20>>2]=0;q[g+12>>2]=1;q[g+16>>2]=0;q[g+32>>2]=0;q[g+24>>2]=1;q[g+28>>2]=0;j=j+1|0;g=j&255;if(n>>>0>g>>>0){continue}break}}d=p_(a,h,d,k,o);if(d){break b}if(!l){break c}q[a+120>>2]=n;q[a+116>>2]=h}d=t_(a,b,c,h,m&255,k,o,e,f)}if(!(!h|q[a+116>>2]==(h|0))){if(i>>>0<=7){a=m&255;g=0;j=0;while(1){Rl(w(g,36)+h|0);j=j+1|0;g=j&255;if(a>>>0>g>>>0){continue}break}}ki(h)}if(d){break a}return 0}Rl(b);return d}function T$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=x(0),m=x(0);h=-13;f=q[239986];k=q[f+16>>2];if(k){tj(k);f=q[239986]}g=q[f+80>>2];a:{if(!g){break a}g=q[q[f+76>>2]+(lwa(a,b,g)<<2)>>2];if((g|0)==-1){break a}j=q[f+84>>2];while(1){i=j+(g<<4)|0;if(q[i>>2]!=(a|0)|q[i+4>>2]!=(b|0)){g=q[i+12>>2];if((g|0)!=-1){continue}break a}break}a=0;c=x(x(t[f+33908>>2])*c);b:{if(c=x(0)){h=~~c>>>0;break b}h=0}c:{if((h|0)<=0){f=q[f+33912>>2];c=x(0);break c}b=w(q[(j+(g<<4)|0)+8>>2],1056)+f|0;g=q[b+1160>>2];f=q[f+33912>>2];c=x(0);while(1){j=b+136|0;g=g-1&63;i=g<<3;c=x(c+u[j+i>>2]);l=x(l+u[(i|4)+j>>2]);a=a+1|0;h=h-f|0;if((h|0)>0){continue}break}}m=c;c=x(w(a,f)>>>0);u[d>>2]=x(F(x(m/c)))/x(32767);u[e>>2]=x(F(x(l/c)))/x(32767);h=0}if(k){lj(k)}return h}function PM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-576|0;fi=c;a:{if(!a|(b|0)<0|(q[a+20>>2]!=1|t[a+16>>2]<=b>>>0)){break a}e=q[a+72>>2];d=q[e>>2];if(!d){break a}d=d+q[q[e+16>>2]+(b<<2)>>2]|0;g=r[d+28|0]|r[d+29|0]<<8;e=Oj(g+1|0,1);b:{if(!e|!g){break b}h=d+46|0;d=e;while(1){f=r[h|0];c:{if((f|0)!=92){if(f){break c}break b}f=47}h=h+1|0;o[d|0]=f;d=d+1|0;i=i+1|0;if((i|0)!=(g|0)){continue}break}}q[a+92>>2]=e;if(!e){break a}if(!Mw(a,b,c)){break a}q[a+88>>2]=b;b=q[c+28>>2];q[a+104>>2]=q[c+24>>2];q[a+108>>2]=b;b=q[c+36>>2];q[a+96>>2]=q[c+32>>2];q[a+100>>2]=b;q[a+112>>2]=q[c+20>>2];q[a+120>>2]=q[c+4>>2];q[a+124>>2]=0;b=q[c+52>>2];q[a+160>>2]=q[c+48>>2];q[a+164>>2]=b;p[a+168>>1]=s[c+14>>1];q[a+319496>>2]=q[c+44>>2];q[a+319500>>2]=q[c+16>>2]}fi=c+576|0}function K8(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;k=-5;j=q[a+164>>2];a:{if(!j){break a}j=q[q[a+160>>2]+(lwa(b,c,j)<<2)>>2];if((j|0)==-1){break a}l=q[a+168>>2];while(1){a=w(j,40)+l|0;if(q[a>>2]!=(b|0)|q[a+4>>2]!=(c|0)){j=q[a+32>>2];if((j|0)!=-1){continue}break a}break}b=w(j,40)+l|0;if(r[b+12|0]&2){mi(4,184623,184674,0);return-7}a=q[b+24>>2];if(a){ki(a);q[b+24>>2]=0}k=xi(i);q[b+24>>2]=k;b:{if(g){a=d;c:{d:{switch(f|0){case 0:a=w(d,3);break c;case 1:break d;default:break c}}a=d<<2}if((w(a,e)|0)==(i|0)){if(!e){break b}g=0;b=0-a|0;i=h+i|0;while(1){i=b+i|0;k=si(k,i,a)+a|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}break b}mi(4,184623,186191,0);ki(q[b+24>>2]);q[b+24>>2]=0;return-9}si(k,h,i)}a=w(j,40)+l|0;q[a+28>>2]=f;q[a+20>>2]=e;q[a+16>>2]=d;k=0}return k}function BC(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-112|0;fi=c;e=q[a+48>>2];g=q[e+36>>2];a:{if(q[a+16>>2]==285){b:{if(q[b+28>>2]<2147483646){break b}d=q[e+16>>2];f=q[q[e>>2]+60>>2];c:{if(!f){q[c+32>>2]=2147483645;q[c+36>>2]=127465;d=Oi(d,127488,c+32|0);break c}q[c+52>>2]=2147483645;q[c+48>>2]=f;q[c+56>>2]=127465;d=Oi(d,127522,c+48|0)}Kl(q[e+12>>2],d,0);if(q[a+16>>2]==285){break b}d=q[a+52>>2];q[c+16>>2]=Xk(a,285);xj(a,Oi(d,127343,c+16|0))}d=q[a+24>>2];yj(a);d=Ep(q[a+48>>2],d);q[c+104>>2]=-1;q[c+108>>2]=-1;q[c+96>>2]=d;q[c+88>>2]=4;break a}jB(a,c+88|0)}q[b+28>>2]=q[b+28>>2]+1;if(q[a+16>>2]!=61){d=q[a+52>>2];q[c>>2]=Xk(a,61);xj(a,Oi(d,127343,c))}yj(a);d=ql(e,c+88|0);Tk(a,c- -64|0,0);dm(e,9,q[q[b+24>>2]+8>>2],d,ql(e,c- -64|0));q[e+36>>2]=g;fi=c+112|0}function zC(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=fi-16|0;fi=g;q[g+12>>2]=0;q[g+8>>2]=0;a:{b:{if(a){i=-16512;b=a-3|0;c:{if(b>>>0<=5){b=q[(b<<2)+267260>>2];break c}b=0}if(!b){break a}if(LU(a,g+8|0,g+12|0)){break a}b=(b?q[b+8>>2]:0)&255;h=q[g+12>>2];if((b+h|0)+8>>>0>127){break a}j=b+10|0;f=j+h|0;if(f>>>0>>0){break a}if(d>>>0>=f>>>0){break b}break a}i=-16512;f=b;if(f>>>0>d>>>0){break a}}f=d-f|0;if(f>>>0<11){break a}o[e|0]=0;o[e+1|0]=1;i=0;f=f-3|0;f=qi(e+2|0,255,f)+f|0;o[f|0]=0;f=f+1|0;if(!a){si(f,c,b);break a}o[f|0]=48;o[f+5|0]=h;o[f+4|0]=6;o[f+3|0]=h+4;o[f+2|0]=48;o[f+1|0]=(b+h|0)+8;a=si(f+6|0,q[g+8>>2],h)+h|0;o[a+3|0]=b;o[a+2|0]=4;o[a|0]=5;o[a+1|0]=0;if((si(a+4|0,c,b)+b|0)==(d+e|0)){break a}ji[q[66742]](e,0,d)|0;i=-16512}fi=g+16|0;return i}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=fi-32|0;fi=g;a:{b:{c:{if(!(!a|!b)){d=q[a>>2];if(!Fy(d,b,g)){while(1){b=q[d+88104>>2];q[d+88104>>2]=b?b:1;if(b){continue}break}e=d+4|0;b=q[d>>2];f=(q[d+8>>2]-b|0)/40|0;c=(q[d+4>>2]-b|0)/40|0;if((f|0)==(c|0)){if(o[d+12|0]&1){break c}vi(c+32|0,40,d,d+8|0,e);b=q[d>>2];h=(q[d+8>>2]-b|0)/40|0}else{h=f}f=c+1|0;if(h>>>0>>0){break b}q[e>>2]=w(f,40)+b;if(!f){break a}c=w(c,40)+b|0;b=g;e=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=e;e=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=e;e=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=e;e=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=e;p[c+32>>1]=q[a+4>>2];q[d+88104>>2]=0}}fi=g+32|0;return}J(30723,29732,461,30798);G()}J(29822,29732,474,29841);G()}J(30206,29732,403,30217);G()}function Mna(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;e=q[b>>2];h=q[e+8>>2]-q[e+12>>2]|0;f=bj(e,36);q[f+20>>2]=0;q[f+24>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[f+12>>2]=-2;q[f+16>>2]=-2;q[f>>2]=b;q[f+28>>2]=0;q[f+32>>2]=0;q[f+20>>2]=-2;Hi(e,-1);q[f+12>>2]=ck(e,-1e4);ij(e,0,0);q[f+16>>2]=ck(e,-1e4);ij(e,0,0);i=ck(e,-1e4);q[f+4>>2]=c;q[f+20>>2]=i;a=q[a+16>>2];p[f+24>>1]=d;q[f+8>>2]=a;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;q[g+8>>2]=57;q[g+4>>2]=e;q[g>>2]=58;a=Ona(g);q[f+28>>2]=a;c=q[b+32>>2];q[a+24>>2]=q[b+28>>2];q[a+28>>2]=c;q[a+32>>2]=q[b+36>>2];zi(e,-1e4,14540);aj(e,-2);oi(e,-2);Xi(e,-1e4,q[f+12>>2]);bk(e);ky(q[f+8>>2]);a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;bk(e);if(h>>4!=q[e+8>>2]-q[e+12>>2]>>4){J(16481,15813,2493,18502);G()}fi=g+16|0;return f}function C8(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{e=b&65535;d=q[a+32>>2];if(e>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(d+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}d=d+w(e,576)|0;if(s[d+554>>1]!=(b&65535)){break a}c=c>2]=c;c:{if(!(q[d+464>>2]|q[d+468>>2])){break c}e=q[a+48>>2];a=q[a+52>>2]-e|0;if(!a){break c}d=d+472|0;a=(a|0)/72|0;g=a>>>0>1?a:1;a=0;while(1){f=e+w(a,72)|0;if(!((d|0)==q[f+4>>2]?q[f>>2]==(b|0):0)){a=a+1|0;if((g|0)!=(a|0)){continue}break c}break}d:{e:{f:{a=e+w(a,72)|0;switch(q[a+52>>2]-1|0){case 0:case 3:break f;case 1:case 4:break e;default:break d}}c=x(x(1)-c);break d}c=x(c*x(.5))}u[a+20>>2]=c*u[a+24>>2]}return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function XI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[300068]&1){break a}if(!ui(300068)){break a}if(r[852367]){e=Ri(80454)}else{e=-1}q[75016]=e;ti(300068)}b:{if(o[300076]&1){break b}if(!ui(300076)){break b}if(r[852367]){e=Yi(81065,18)}else{e=0}q[75018]=e;ti(300076)}e=q[75016];c:{if((e|0)!=-1){Qi(f,e,81065,q[75018]);break c}q[f>>2]=0}O(34963,a|0);d:{e:{f:{if(r[q[74995]+104|0]&8){a=K()|0;if(a){break f}}$a(34963,b|0,c|0,q[(d<<2)+80956>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break e}}O(34963,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break d}}if(q[f>>2]){Pi(f)}fi=f+16|0;return}Mi(a,81084,1373);J(79249,79164,1373,81084);G()}Mi(a,81084,1375);J(79249,79164,1375,81084);G()}Mi(a,81084,1377);J(79249,79164,1377,81084);G()}function dx(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-80|0;fi=e;d=q[a>>2];if(d){d=q[d+8>>2]}else{d=0}f=d&255;o[e+79|0]=0;d=(b|0)!=0&(c|0)!=0;h=d?2:1;g=a+12|0;a:{b:{if(d){while(1){d=Jm(a);if(d){break a}d=Mk(a,g,f);if(d){break a}d=Mk(a,e+79|0,1);if(d){break a}d=Mk(a,b,c);if(d){break a}d=Il(a,e);if(d){break a}d=Ao(a,e,f);if(d){break a}d=Mk(a,g,f);if(d){break a}d=Il(a,g);if(d){break a}d=r[e+79|0]+1|0;o[e+79|0]=d;if((d&255)>>>0>>0){continue}break b}}while(1){d=Jm(a);if(d){break a}d=Mk(a,g,f);if(d){break a}d=Mk(a,e+79|0,1);if(d){break a}d=Il(a,e);if(d){break a}d=Ao(a,e,f);if(d){break a}d=Mk(a,g,f);if(d){break a}d=Il(a,g);if(d){break a}b=r[e+79|0]+1|0;o[e+79|0]=b;if((b&255)>>>0>>0){continue}break}}d=0}ji[q[66742]](e,0,64)|0;fi=e+80|0;return d}function S1(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=x(0);b=fi-80|0;fi=b;f=yi(a,1,q[210276],0);c=u[f>>2];e=u[f+4>>2];a:{if(!(c!=c|e!=e)){d=u[f+8>>2];if(d==d){break a}}d=u[f+8>>2];v[b- -64>>3]=e;v[b+72>>3]=d;v[b+56>>3]=c;q[b+48>>2]=1;ni(a,120787,b+48|0)}g=yi(a,2,q[210276],0);c=u[g>>2];e=u[g+4>>2];b:{if(!(c!=c|e!=e)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+32>>3]=e;v[b+40>>3]=d;v[b+24>>3]=c;q[b+16>>2]=2;ni(a,120787,b+16|0);d=u[g+8>>2];e=u[g+4>>2];c=u[g>>2]}h=x(x(x(c*c)+x(e*e))+x(d*d));c:{if(h==x(0)){q[b+12>>2]=122300;q[b+8>>2]=120720;q[b+4>>2]=120656;q[b>>2]=120720;a=ni(a,122847,b);break c}c=x(x(x(x(c*u[f>>2])+x(e*u[f+4>>2]))+x(d*u[f+8>>2]))/h);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=c;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=b+80|0;return a|0}function O1(a){a=a|0;var b=x(0),c=0,d=0,e=x(0),f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0);c=fi+ -64|0;fi=c;d=yi(a,1,q[210276],0);e=u[d>>2];f=u[d+4>>2];a:{if(!(e!=e|f!=f)){b=u[d+8>>2];if(b==b){break a}}b=u[d+8>>2];v[c+48>>3]=f;v[c+56>>3]=b;v[c+40>>3]=e;q[c+32>>2]=1;ni(a,120787,c+32|0)}h=yi(a,2,q[210276],0);e=u[h>>2];f=u[h+4>>2];b:{if(!(e!=e|f!=f)){b=u[h+8>>2];if(b==b){break b}}b=u[h+8>>2];v[c+16>>3]=f;v[c+24>>3]=b;v[c+8>>3]=e;q[c>>2]=2;ni(a,120787,c);b=u[h+8>>2];f=u[h+4>>2];e=u[h>>2]}i=u[d+4>>2];j=u[d>>2];k=u[d+8>>2];d=bj(a,16);g=x(x(x(x(j*e)+x(i*f))+x(k*b))+x(1));g=x(F(x(g+g)));u[d+12>>2]=g*x(.5);g=x(x(1)/g);u[d+8>>2]=x(x(j*f)-x(e*i))*g;u[d+4>>2]=x(x(e*k)-x(j*b))*g;u[d>>2]=x(x(i*b)-x(f*k))*g;zi(a,-1e4,120688);aj(a,-2);fi=c- -64|0;return 1}function jF(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{b:{c:{d:{e:{if(Yx(a)){if(q[b>>2]!=1){break d}p[d>>1]=2;q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=q[b+16>>2];b=c&65535;p[d+2>>1]=(b<<24|b<<8)>>>16;b=zv(a,d,16);break e}if(!Xx(a)){break b}if(q[b>>2]!=2){break c}q[d+20>>2]=0;q[d+24>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;p[d>>1]=10;e=q[b+16>>2];q[d+16>>2]=q[b+12>>2];q[d+20>>2]=e;e=q[b+8>>2];q[d+8>>2]=q[b+4>>2];q[d+12>>2]=e;b=c&65535;p[d+2>>1]=(b<<24|b<<8)>>>16;b=zv(a,d,28)}a=0;if((b|0)!=-1){break a}if((Ll(158710,479,q[240833])|0)==-32){break a}if((Ll(158710,479,q[240833])|0)==-3){break a}a=Ll(158710,481,q[240833]);break a}J(158834,158710,453,158954);G()}J(158871,158710,464,158954);G()}mi(4,158664,158962,0);a=-2}fi=d+32|0;return a}function l4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-48|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ai(a,1);a:{if(d<4294967296&d>=0){c=~~d>>>0;break a}c=0}b:{if(c>>>0>=8){q[b+4>>2]=c;q[b>>2]=104341;a=ni(a,106065,b);break b}d=Ai(a,2);c:{if(d<4294967296&d>=0){f=~~d>>>0;break c}f=0}d=Ai(a,3);d:{if(d<4294967296&d>=0){g=~~d>>>0;break d}g=0}q[b+28>>2]=c;q[b+24>>2]=14;q[b+36>>2]=g;q[b+32>>2]=f;c=q[e+4>>2];if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+20;q[c+16>>2]=q[b+40>>2];a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a;a=0;break b}q[b+16>>2]=(q[e+8>>2]-q[e>>2]|0)/20;a=ni(a,104394,b+16|0)}fi=b+48|0;return a|0}J(104348,104245,265,107702);G()}function ZK(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=fi-32|0;fi=e;a:{if(c){k=RK(b);b:{if(!sv(b)){while(1){if(!Qp(b,e+28|0)){f=2;break b}f=2;d=q[e+28>>2];i=d>>>3|0;if(!i){break b}l=d&7;c:{d:{j=r[c+24|0];e:{if(!j){break e}m=q[c+20>>2];g=0;while(1){h=w(g,20)+m|0;d=q[h+4>>2];if((d&4194303)!=(i|0)){g=g+1|0;if((j|0)!=(g|0)){continue}break e}break}if((d&-268435456)==805306368){Opa(a,k,i);d=q[h+4>>2]}if((d&264241152)==46137344){break d}}f=KK(b,l);if(!f){break c}break b}if(!q[h+8>>2]){break a}if(!Qp(b,e+24|0)){break b}d=e+8|0;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;if(!SK(b,q[e+24>>2],d)){break b}f=ZK(a,d,q[h+8>>2]);if(f){break b}}if(!sv(b)){continue}break}}f=0}fi=e+32|0;return f}J(22057,22038,86,22112);G()}J(22130,22038,124,22112);G()}function eia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-112|0;fi=b;f=Kj(a);c=q[a+8>>2]-q[a+12>>2]>>4;a:{if((c|0)<=0){a=ni(a,66913,0);break a}e=Ti(b+88|0,a,0,66868,173);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);b:{c:{if((c|0)==1){break c}if(!ri(a,2)){break c}zi(a,-10002,110577);c=Vi(a,-1);oi(a,-2);a=Rn(c,-1);if(!a){a=uj(e,66962,0);break b}q[b+80>>2]=0;q[b+76>>2]=a;q[b+64>>2]=522;c=q[b+56>>2];d=q[b+60>>2];a=!(c|d);d=a?q[b+52>>2]:d;q[b+68>>2]=a?q[b+48>>2]:c;q[b+72>>2]=d;d=20}c=q[61114];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],f,c,b- -64|0,d);a=0}Si(e)}fi=b+112|0;return a|0}function Us(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;c=q[a+48>>2];o[e+10|0]=0;q[e+4>>2]=-1;b=r[c+50|0];o[e+9|0]=0;o[e+8|0]=b;q[e>>2]=q[c+20>>2];q[c+20>>2]=e;d=q[a+52>>2];b=s[d+52>>1]+1|0;p[d+52>>1]=b;if((b&65535)>>>0>=201){Kl(a,127357,0)}while(1){b=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){b=mt(a);if(q[a+16>>2]==59){yj(a)}d=q[a+48>>2];q[d+36>>2]=r[d+50|0];if(!b){continue}}break}a=q[a+52>>2];p[a+52>>1]=s[a+52>>1]-1;d=q[c+20>>2];q[c+20>>2]=q[d>>2];b=q[q[c+12>>2]+48>>2];a=r[b+50|0];f=r[d+8|0];if(a>>>0>f>>>0){g=q[b+24>>2];h=q[q[b>>2]+24>>2];while(1){a=a-1|0;q[(w(s[(b+(a<<1)|0)+172>>1],12)+h|0)+8>>2]=g;if(a>>>0>f>>>0){continue}break}o[b+50|0]=a}if(r[d+9|0]){dm(c,35,f,0,0)}q[c+36>>2]=r[c+50|0];Lm(c,q[d+4>>2]);fi=e+16|0}function us(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-1040|0;fi=d;q[d+4>>2]=b;q[d>>2]=24354;cj(d+16|0,1024,24348,d);e=d+16|0;f=e;a:{while(1){b:{b=r[f|0];c:{d:{if((b|0)!=47){if(b){break d}o[e|0]=0;e=Nl(d+16|0,Fi(d+16|0));f=ii;g=-10;a=q[a>>2];b=q[a+4>>2];if(!b){break a}b=q[q[a>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break a}a=q[a+8>>2];while(1){h=a+w(b,48)|0;if((e|0)==q[h>>2]&(f|0)==q[h+4>>2]){break b}b=q[h+40>>2];if((b|0)!=-1){continue}break}break a}if((g&255)==47){break c}}o[e|0]=b;e=e+1|0}f=f+1|0;g=b;continue}break}a=a+w(b,48)|0;b=q[a+12>>2];q[c>>2]=q[a+8>>2];q[c+4>>2]=b;b=q[a+36>>2];q[c+24>>2]=q[a+32>>2];q[c+28>>2]=b;b=q[a+28>>2];q[c+16>>2]=q[a+24>>2];q[c+20>>2]=b;b=q[a+20>>2];q[c+8>>2]=q[a+16>>2];q[c+12>>2]=b;g=0}fi=d+1040|0;return g}function M$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-13;f=q[239986];i=q[f+16>>2];if(i){tj(i);f=q[239986]}d=q[f+80>>2];a:{if(!d){break a}d=q[q[f+76>>2]+(lwa(a,b,d)<<2)>>2];if((d|0)==-1){break a}h=q[f+84>>2];while(1){g=h+(d<<4)|0;if(q[g>>2]!=(a|0)|q[g+4>>2]!=(b|0)){d=q[g+12>>2];if((d|0)!=-1){continue}break a}break}h=h+(d<<4)|0;e=q[f+24>>2];g=q[f+20>>2];d=e-g|0;b:{if(d){e=g-e|0;e=((d|0)<(e|0)?e:d)>>>6|0;d=(d|0)>-1?d:-1;d=w(e,(d|0)<1?d:1);j=d>>>0>1?d:1;d=0;while(1){e=g+(d<<6)|0;if(!((a|0)!=q[e+8>>2]|q[e+12>>2]!=(b|0)|(q[e+44>>2]?0:!(r[e+60|0]&4))|u[e+16>>2]==x(0))){d=q[h+8>>2];break b}d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=q[h+8>>2];a=w(d,1056)+f|0;u[a+124>>2]=c;q[a+120>>2]=0}u[(w(d,1056)+f|0)+128>>2]=c;e=0}if(i){lj(i)}return e}function oj(a,b){var c=0,d=0,e=0;c=q[a+112>>2];if(!c){o[a+6|0]=b;if(q[q[a+16>>2]+88>>2]){c=q[a+40>>2];q[a+20>>2]=c;c=q[c>>2];q[a+12>>2]=c;jo(a,c);c=q[a+12>>2];d=c;a:{b:{c:{switch(b-2|0){case 2:q[c>>2]=Bj(a,126260,17);b=4;break b;case 3:q[c>>2]=Bj(a,126278,23);b=4;break b;case 0:case 1:break c;default:break a}}b=q[a+8>>2]-16|0;e=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=e;b=q[b+8>>2]}q[d+8>>2]=b}o[a+57|0]=1;q[a+8>>2]=c+16;p[a+52>>1]=s[a+54>>1];b=q[a+48>>2];d:{if((b|0)<20001){break d}c=q[a+40>>2];if((q[a+20>>2]-c|0)>479975){break d}b=dj(a,c,w(b,24),48e4);q[a+48>>2]=2e4;q[a+40>>2]=b;q[a+36>>2]=b+479976;q[a+20>>2]=b+w((q[a+20>>2]-c|0)/24|0,24)}q[a+112>>2]=0;q[a+116>>2]=0;ji[q[q[a+16>>2]+88>>2]](a)|0}bb(1);G()}q[c+160>>2]=b;R(c+4|0,1);G()}function i1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-272|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;qi(b+8|0,0,264);fs(b+8|0);ij(a,0,0);Bi(a,117018,12);wi(a,b+8|0);qj(a,-3);Bi(a,117031,12);wi(a,b+40|0);qj(a,-3);Bi(a,117044,11);wi(a,b+72|0);qj(a,-3);Bi(a,117056,14);wi(a,b+104|0);qj(a,-3);Bi(a,117071,11);wi(a,b+136|0);qj(a,-3);Bi(a,117083,8);wi(a,b+168|0);qj(a,-3);Bi(a,117092,15);wi(a,b+176|0);qj(a,-3);Bi(a,117108,9);wi(a,b+192|0);qj(a,-3);Bi(a,117118,10);c=q[b+200>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,117129,12);wi(a,b+204|0);qj(a,-3);Bi(a,117142,10);c=q[b+268>>2];wi(a,c?c:117153);qj(a,-3);if(((e>>4)+1|0)==q[a+8>>2]-q[a+12>>2]>>4){a=q[b+268>>2];if(a){ki(a)}fi=b+272|0;return 1}J(116875,116900,586,117154);G()}function Kk(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return si(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}o[d|0]=r[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(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;o[d|0]=r[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;q[c+a>>2]=q[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;o[c+a|0]=r[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){q[d>>2]=q[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){o[d|0]=r[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function Bqa(a,b){var c=0,d=0;q[a+8>>2]=0;q[a+12>>2]=0;c=a+16|0;q[c>>2]=0;q[c+4>>2]=0;d=q[b>>2];q[a>>2]=q[b+4>>2];q[a+4>>2]=0;q[a+28>>2]=zj();a:{b:{if(!(o[a+20|0]&1)){vi(d,64,a+8|0,c,a+12|0);b=q[a+8>>2];if(q[c>>2]-b>>6>>>0>>0){break b}q[a+12>>2]=(d<<6)+b;if(!d){break a}c=0;while(1){b=(c<<6)+b|0;q[b+48>>2]=0;q[b+52>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+40>>2]=0;q[b+44>>2]=-1;q[b+48>>2]=0;c=c+1|0;if((d|0)==(c|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}J(153026,152878,447,153037);G()}J(152803,152878,461,152904);G()}J(152916,152878,474,152935);G()}p[a+24>>1]=0;o[a+32|0]=r[a+32|0]|1}function vca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[300084]&1){break a}if(!ui(300084)){break a}if(r[852367]){e=Ri(80454)}else{e=-1}q[75020]=e;ti(300084)}b:{if(o[300092]&1){break b}if(!ui(300092)){break b}if(r[852367]){e=Yi(81109,21)}else{e=0}q[75022]=e;ti(300092)}e=q[75020];c:{if((e|0)!=-1){Qi(f,e,81109,q[75022]);break c}q[f>>2]=0}O(34963,a|0);d:{e:{f:{if(r[q[74995]+104|0]&8){a=K()|0;if(a){break f}}_a(34963,b|0,c|0,d|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break e}}O(34963,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break d}}if(q[f>>2]){Pi(f)}fi=f+16|0;return}Mi(a,81131,1402);J(79249,79164,1402,81131);G()}Mi(a,81131,1404);J(79249,79164,1404,81131);G()}Mi(a,81131,1406);J(79249,79164,1406,81131);G()}function eca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[300052]&1){break a}if(!ui(300052)){break a}if(r[852367]){e=Ri(80454)}else{e=-1}q[75012]=e;ti(300052)}b:{if(o[300060]&1){break b}if(!ui(300060)){break b}if(r[852367]){e=Yi(80968,22)}else{e=0}q[75014]=e;ti(300060)}e=q[75012];c:{if((e|0)!=-1){Qi(f,e,80968,q[75014]);break c}q[f>>2]=0}O(34962,a|0);d:{e:{f:{if(r[q[74995]+104|0]&8){a=K()|0;if(a){break f}}_a(34962,b|0,c|0,d|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break e}}O(34962,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break d}}if(q[f>>2]){Pi(f)}fi=f+16|0;return}Mi(a,80991,1357);J(79249,79164,1357,80991);G()}Mi(a,80991,1359);J(79249,79164,1359,80991);G()}Mi(a,80991,1361);J(79249,79164,1361,80991);G()}function hia(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-112|0;fi=d;e=q[a+96>>2];q[d+104>>2]=e;q[d+108>>2]=q[b+132>>2];LF(d+104|0);vK(q[b>>2]);a:{if(!zJ(a,b)){mi(4,46420,46551,0);cv(a,c);break a}qi(d+24|0,0,80);q[d+92>>2]=0;q[d+88>>2]=b;q[d+84>>2]=436;q[d+80>>2]=0;q[d+76>>2]=b;q[d+72>>2]=437;q[d+20>>2]=b+132;q[d+16>>2]=e;h=q[b+128>>2];f=q[h+4>>2];q[d+48>>2]=f;g=d;e=q[f+28>>2];if(e){e=q[e>>2]}else{e=0}q[g+60>>2]=e;g=d;e=q[f+20>>2];if(e){e=q[e>>2]}else{e=0}q[g+52>>2]=e;e=q[q[f+24>>2]>>2];q[d+68>>2]=f+52;q[d+64>>2]=f+36;q[d+56>>2]=e;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=li(q[q[h>>2]+16>>2]);q[d+44>>2]=ii;e=MF(d+16|0);if(e){q[d>>2]=e;mi(4,46420,46674,d);if((e|0)==2){mi(4,46420,46727,0)}cv(a,c);break a}o[b+238|0]=r[b+238|0]|8}fi=d+112|0}function Zea(a){var b=0,c=0;a=q[a>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ek(a,74647,242416);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74654);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74678);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74704);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74725);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74747);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74772);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74788);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74799);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(74811,74832,349,74873);G()}}function Yma(a){a=a|0;var b=0,c=0,d=0;d=fi-16|0;fi=d;b=q[a+8>>2]-q[a+12>>2]>>4;a:{if((b|0)>=3){c=ni(a,17069,0);break a}b:{if(!b){break b}c:{d:{e:{if((ri(a,1)|0)==1){if((b|0)<2){break e}c=ni(a,17111,0);break a}c=0;if((b|0)<2){break d}b=1;if((ri(a,2)|0)==1){c=Fj(a,2);oi(a,-2);c=(c|0)!=0;break c}c=ni(a,17176,0);break a}c=Fj(a,1);oi(a,-2);b=b-1|0;c=(c|0)!=0}if(!b){break b}}if((ri(a,1)|0)==5){c=uK(a,c);if(c){break a}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(b|0)){break a}J(17218,15813,1947,17240);G()}if(ri(a,1)){break b}mi(3,14873,17254,0)}b=Fm(a,1);if((q[b+136>>2]&1024)>>>10|0){q[d>>2]=Ei(q[b+96>>2],q[b+100>>2]);c=ni(a,17308,d);break a}if(q[b+136>>2]&2048){sF(a,q[b+96>>2],q[b+100>>2])}pv(q[q[b+80>>2]+8>>2],b,c);c=0}fi=d+16|0;return c|0}function qL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=1;a:{b:{c:{if(a){while(1){e=w(f,24)+b|0;if(!r[e+12|0]){return 5}e=q[e+8>>2];h=e>>>0<9;if(!h){break a}e=e<<2;if(t[e+139064>>2]>g>>>0){if(!h){break a}g=q[e+139064>>2]}f=f+1|0;if((f|0)!=(a|0)){continue}break}e=0;q[c>>2]=0;if(a){break c}}h=0-g|0;g=g-1|0;break b}h=0-g|0;g=g-1|0;if(!d){f=0;while(1){d=w(f,24)+b|0;i=q[d+8>>2];if(i>>>0>8){break a}e=(w(q[(i<<2)+139064>>2],r[d+12|0])+g|0)+e&h;q[c>>2]=e;f=f+1|0;if((f|0)!=(a|0)){continue}break}break b}f=0;while(1){q[(f<<2)+d>>2]=e;e=w(f,24)+b|0;i=q[e+8>>2];if(i>>>0>=9){break a}e=q[c>>2]+(w(q[(i<<2)+139064>>2],r[e+12|0])+g|0)&h;q[c>>2]=e;f=f+1|0;if((f|0)!=(a|0)){continue}break}}a=e+g&h;q[c>>2]=a;return a?0:5}J(138299,138265,197,138326);G()}function D4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-48|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ai(a,1);d=(ri(a,2)|0)!=2;if(e<4294967296&e>=0){c=~~e>>>0}else{c=0}a:{if(!d){g=Vi(a,2);e=Ai(a,3);b:{if(y(e)<2147483648){d=~~e;break b}d=-2147483648}d=ji[q[74957]](g,d)|0;if(d){q[b+28>>2]=c;q[b+24>>2]=2;q[b+32>>2]=d;c=q[f+4>>2];if((c|0)!=q[f+8>>2]){q[f+4>>2]=c+20;q[c+16>>2]=q[b+40>>2];a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[f+8>>2]-q[f>>2]|0)/20;a=ni(a,104394,b);break a}a=ni(a,105184,0);break a}q[b+16>>2]=104341;a=ni(a,105253,b+16|0)}fi=b+48|0;return a|0}J(104348,104245,265,107702);G()}function Bj(a,b,c){var d=0,e=0,f=0,g=0;f=c;e=c>>>5|0;if(e>>>0>>0){g=e^-1;d=c;f=d;while(1){f=r[(b+d|0)-1|0]+((f<<5)+(f>>>2|0)|0)^f;d=d+g|0;if(e>>>0>>0){continue}break}}e=q[a+16>>2];d=q[q[e>>2]+((q[e+8>>2]-1&f)<<2)>>2];a:{if(d){while(1){b:{if(q[d+12>>2]!=(c|0)){break b}if(ej(b,d+16|0,c)){break b}a=r[d+5|0];if(!(a&(r[e+20|0]^-1)&3)){break a}o[d+5|0]=a^3;return d}d=q[d>>2];if(d){continue}break}}if(c+1>>>0>=4294967278){Rj(a)}d=dj(a,0,0,c+17|0);q[d+8>>2]=f;q[d+12>>2]=c;e=r[q[a+16>>2]+20|0];o[d+6|0]=0;o[d+4|0]=4;o[d+5|0]=e&3;o[si(d+16|0,b,c)+c|0]=0;b=q[a+16>>2];c=(q[b+8>>2]-1&f)<<2;q[d>>2]=q[c+q[b>>2]>>2];q[c+q[b>>2]>>2]=d;c=q[b+4>>2]+1|0;q[b+4>>2]=c;b=q[b+8>>2];if(b>>>0>=c>>>0|(b|0)>1073741822){break a}qx(a,b<<1)}return d}function Y9(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;d=fi-16|0;fi=d;c=1;e=q[a+8>>2]-q[a+12>>2]>>4;g=Pj(a,1);h=ii;i=gj(a,2);j=gj(a,3);b=Ni(a,4,0);vj(a,5,4);k=_i(a,5,d+12|0);Ki(a);l=yi(a,-1,q[213955],189399);oi(a,-2);if((e|0)>=6){vj(a,6,1);c=!Fj(a,6)}a:{if(!Ej(b,191563)){break a}if(!Ej(b,191567)){f=1;break a}if(!Ej(b,191572)){f=2;break a}q[d>>2]=b;ni(a,191574,d)}b=$8(l,g,h,i,j,f,c,k,q[d+12>>2]);b:{if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=0;q[a+8>>2]=q[a+8>>2]+16;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(191524,187364,1749,191549);G()}fi=d+16|0;return 2}function Hca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=fi-16|0;fi=a;e=Za()|0;a:{b:{c:{d:{if(r[q[74995]+104|0]&8){f=K()|0;if(f){break d}}ta(e|0,c|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break c}}ta(e|0,d|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break b}}za(e|0);da(e|0,35714,a+12|0);c=q[a+12>>2];e:{if(!c){da(e|0,35716,a+8|0);b=q[a+8>>2];if((b|0)>=1){d=b;b=xi(b);Ua(e|0,d|0,a+8|0,b|0);q[a>>2]=b;mi(4,79120,81564,a);ki(b)}qa(e|0);break e}qa(e|0);za(b|0);if(!(r[q[74995]+104|0]&8)){break e}b=K()|0;if(b){break a}}fi=a+16|0;return(c|0)!=0|0}Mi(f,81788,1832);J(79249,79164,1832,81788);G()}Mi(c,81788,1834);J(79249,79164,1834,81788);G()}Mi(c,81788,1836);J(79249,79164,1836,81788);G()}Mi(b,81768,1868);J(79249,79164,1868,81768);G()}function Rea(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{e:{e=q[a+4>>2];f=q[a>>2];g=e-f|0;if((g|0)<1){break e}f:{if((e|0)!=(f|0)){e=f-e|0;e=((e|0)>(g|0)?e:g)>>>2|0;g=e>>>0>1?e:1;e=0;while(1){f=q[(e<<2)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break f}e=e+1|0;if((g|0)==(e|0)){break e}f=q[a>>2];if(q[a+4>>2]-f>>2>>>0>e>>>0){continue}break}}break a}f=q[a>>2];if(q[a+4>>2]-f>>2>>>0<=e>>>0){break a}f=q[f+(e<<2)>>2];break d}g=a+4|0;f=Jy(b,c);e=q[a+4>>2];h=q[a+8>>2];if((e|0)==(h|0)){if(o[a+12|0]&1){break c}vi((e-q[a>>2]>>2)+4|0,4,a,a+8|0,g);h=q[a+8>>2];e=q[a+4>>2]}if((e|0)==(h|0)){break b}q[g>>2]=e+4;q[e>>2]=f}tu(f,d,1);bJ(a,b,c,d,1);return}J(49395,49228,461,49470);G()}J(49204,49228,501,49307);G()}J(49482,49228,447,49493);G()}function rn(a){var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;a:{c=q[a>>2];e=q[c+8>>2]-q[c+12>>2]>>4;if((e|0)>-1){d=q[a+4>>2];b:{if((d|0)!=-2){Xi(c,-1e4,d);c:{if((ri(c,-1)|0)!=5){break c}ho(c,-1,q[a+16>>2]);ho(c,-1,q[a+12>>2]);f=q[a+8>>2];if((f|0)==-2){break c}d=q[79154];if((d|0)<=0){mi(4,110525,110995,0);d=q[79154]}q[79154]=d-1;ho(c,-1e4,f)}q[a+12>>2]=-2;q[a+16>>2]=-2;q[a+4>>2]=-2;q[a+8>>2]=-2;oi(c,-2);break b}mi(3,110525,111314,0)}a=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(e|0)){break a}fi=b+32|0;return}q[b+12>>2]=e;q[b+4>>2]=1612;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=e;q[b+20>>2]=1612;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function U9(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=x(0),n=x(0);b=fi-16|0;fi=b;j=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);k=-2;f=yi(a,-1,q[213955],189399);oi(a,-2);l=Zi(a,1,b+12|0);if((ri(a,3)|0)==6){c=Rn(a,3);Xi(a,-1e4,q[f+8>>2]);Hi(a,1);k=Kn(a,-2);oi(a,-2)}a:{if((j|0)<4){d=1;break a}vj(a,4,5);Hi(a,4);zi(a,-1,191431);g=0;b:{if(!ri(a,-1)){break b}g=Ai(a,-1)}oi(a,-2);zi(a,-1,191438);d=1;c:{if(!ri(a,-1)){break c}d=Ai(a,-1)}oi(a,-2);oi(a,-2)}m=x(d);n=x(g);h=Pj(a,2);i=ii;e=q[b+12>>2];d:{if(c){c=Qu(f,e,h,i,n,m,1357,c,k);break d}c=Qu(f,e,h,i,n,m,0,0,0)}if(c){e=Ei(h,i);q[b+4>>2]=Ei(q[l+544>>2],q[l+548>>2]);q[b>>2]=e;ni(a,191452,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(j|0)){J(187343,187364,1625,191508);G()}fi=b+16|0;return 0}function uK(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-48|0;fi=e;Ki(a);c=yi(a,-1,q[72645],18648);oi(a,-2);f=q[q[q[c+4>>2]+80>>2]+8>>2];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;a:{if(dk(a,1)){while(1){c=e;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;ok(a,-1,c+16|0,0);d=0;g=0;b:{if(!f){break b}c=q[f>>2];if(!c){break b}d=q[c+4224>>2];g=q[c+4228>>2]}if((d|0)!=q[e+16>>2]|(g|0)!=q[e+20>>2]){ni(a,18740,0)}d=un(f,q[e+32>>2],q[e+36>>2]);c:{if(d){if((q[d+136>>2]&1024)>>>10|0){q[e>>2]=Ei(q[d+96>>2],q[d+100>>2]);a=ni(a,17308,e);break a}if(q[d+136>>2]&2048){sF(a,q[d+96>>2],q[d+100>>2])}pv(f,d,b);break c}mi(3,14873,18810,0)}oi(a,-2);if(dk(a,1)){continue}break}}a=0}fi=e+48|0;return a}function aF(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;c=q[239986];f=q[c+16>>2];if(f){tj(f)}a:{b:{c:{d:{if(!(r[a+60|0]&4)){break d}d=s[a+58>>1];b=q[c+48>>2];if(d>>>0>=(q[c+52>>2]-b|0)/24>>>0){break c}b=b+w(d,24)|0;q[e>>2]=Ei(q[b>>2],q[b+4>>2]);mi(4,201088,201497,e);b=q[q[239986]+16>>2];if(b){tj(b);o[a+60|0]=r[a+60|0]&251;xq(q[a>>2]);lj(b);break d}o[a+60|0]=r[a+60|0]&251;xq(q[a>>2])}d=q[c+36>>2];if(!d){break b}b=s[c+42>>1];if(!b|b>>>0>s[c+40>>1]){break a}g=s[a+56>>1];b=b-1|0;p[c+42>>1]=b;p[d+((b&65535)<<1)>>1]=g;q[a+56>>2]=-1;F$(q[c>>2],q[a>>2]);q[a>>2]=0;q[a+40>>2]=1065353216;q[a+44>>2]=0;if(f){lj(f)}fi=e+16|0;return 0}J(202193,201978,447,202204);G()}J(202215,202119,140,202246);G()}J(202251,202119,141,202246);G()}function ws(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=fi+ -64|0;fi=e;if(!q[212988]){d=Ci(36);q[d+16>>2]=0;q[d+20>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+20>>2]=-1;BH(d,256,256);q[d+32>>2]=0;q[212988]=d}f=-4;a:{if(!a|!r[a|0]){break a}if(Nj(a,35)){break a}if(Nj(a,58)){break a}if(!Nm(a,e+56|0)){f=-1;break a}g=li(a);d=ii;h=q[212988];while(1){c=q[h+32>>2];q[h+32>>2]=c?c:1;if(c){continue}break}f=-3;c=q[212988];if(q[c+24>>2]!=q[c+16>>2]-q[c+8>>2]>>6){q[e+52>>2]=0;c=e;q[c+44>>2]=0;q[c+48>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+8>>2]=1;q[c+16>>2]=g;q[c+20>>2]=d;q[c+32>>2]=Sk(a);q[c+36>>2]=zj();q[c+40>>2]=Hqa();CH(q[212988],g,d,c+8|0);q[b>>2]=g;q[b+4>>2]=d;f=0}q[h+32>>2]=0}fi=e- -64|0;return f}function qj(a,b){var c=0,d=0,e=0;e=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];c=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}b=q[a+8>>2];e=vx(e,q[c>>2],b-32|0);d=b-16|0;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;q[e+8>>2]=q[d+8>>2];b=q[a+8>>2];c:{if(q[b-8>>2]<4|!(r[q[b-16>>2]+5|0]&3)){break c}c=q[c>>2];if(!(r[c+5|0]&4)){break c}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b-32}function Z6(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=fi-1040|0;fi=a;kj(958776,b,1024);b=q[72159];g=q[72163];h=q[72160];lk(c,q[72164],a+16|0);a:{b:{if(_k(a+16|0)){break b}lk(c,h,a+16|0);f=1;if(_k(a+16|0)){break b}lk(c,g,a+16|0);f=2;if(_k(a+16|0)){break b}lk(c,b,a+16|0);f=3;if(_k(a+16|0)){break b}q[239952]=-1;b=1;break a}q[a>>2]=a+16;mi(2,194663,195232,a);f=q[(f<<2)+195216>>2];q[239952]=f;b=1;c:{d:{e:{f:{g:{switch(f+1|0){case 2:if(X6(c,e)){az(c);q[239952]=0;break f}bz(c);f=q[239952];break;case 0:break a;default:break g}}if(f){break e}}b=Y6(c,d,e);if(b){break d}az(c)}if(q[239950]){break c}q[239950]=q[e>>2];b=0;break a}bz(c);q[239952]=-1;break a}J(195157,194616,538,195188);G()}fi=a+1040|0;return b|0}function hE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=q[a+116>>2];q[a+116>>2]=e;i=r[a+57|0];f=q[a+40>>2];g=q[a+20>>2];j=s[a+52>>1];e=Wt(a,b,c);a:{if(!e){break a}b=q[a+32>>2]+d|0;jo(a,b);f=g-f|0;c=b;b:{c:{d:{switch(e-2|0){case 2:q[b>>2]=Bj(a,126260,17);d=4;break c;case 3:q[b>>2]=Bj(a,126278,23);d=4;break c;case 0:case 1:break d;default:break b}}d=q[a+8>>2]-16|0;g=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=g;d=q[d+8>>2]}q[c+8>>2]=d}p[a+52>>1]=j;q[a+8>>2]=b+16;c=q[a+40>>2];b=c+f|0;q[a+20>>2]=b;q[a+12>>2]=q[b>>2];q[a+24>>2]=q[b+12>>2];o[a+57|0]=i;b=q[a+48>>2];if((b|0)<20001|(f|0)>479975){break a}b=dj(a,c,w(b,24),48e4);q[a+48>>2]=2e4;q[a+40>>2]=b;q[a+36>>2]=b+479976;q[a+20>>2]=b+w((q[a+20>>2]-c|0)/24|0,24)}q[a+116>>2]=h;return e}function gx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=q[a+92>>2]+7|0;h=g>>>3|0;f=-20352;if(q[a+48>>2]){e=q[a+60>>2]?1:2}else{e=0}a:{b:{if((e|0)!=2){break b}while(1){e=En(b,h,c,d);if(e){break a}if(!ul(b)){continue}break}f=ul(b)-1|0;e=q[a+92>>2];c:{if(f>>>0>e>>>0){e=Nk(b,f-e|0);if(!e){break c}break a}e=zo(b,e,1);if(e){break a}}e=zo(b,0,0);if(e){break a}e=zo(b,1,0);if(e){break a}f=0;if(q[a+92>>2]!=254){break b}e=zo(b,2,0);if(e){break a}}e=f;if(q[a+48>>2]){f=q[a+60>>2]?1:2}else{f=0}if((f|0)!=1){break a}e=En(b,h,c,d);if(e){break a}i=a+76|0;g=g&-8;f=0;while(1){e=Nk(b,g-q[a+92>>2]|0);if(e){break a}if((f|0)==30){return-19712}if((jj(b,1)|0)>=0){e=0;if((Dj(b,i)|0)<0){break a}}f=f+1|0;e=En(b,h,c,d);if(!e){continue}break}}return e}function g2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),w=x(0),y=x(0);b=fi-144|0;fi=b;q[b+140>>2]=0;f=Ni(a,1,b+140|0);c=no(a,2);d=q[b+140>>2]+350|0;e=Ci((d|0)>-1?d:-1);g=u[c>>2];h=u[c+16>>2];i=u[c+32>>2];j=u[c+48>>2];k=u[c+4>>2];l=u[c+20>>2];m=u[c+36>>2];n=u[c+52>>2];o=u[c+8>>2];p=u[c+24>>2];r=u[c+40>>2];s=u[c+56>>2];t=u[c+12>>2];w=u[c+28>>2];y=u[c+44>>2];v[b+128>>3]=u[c+60>>2];v[b+120>>3]=y;v[b+112>>3]=w;v[b+104>>3]=t;v[b+96>>3]=s;v[b+88>>3]=r;v[b+80>>3]=p;v[b+72>>3]=o;v[b- -64>>3]=n;v[b+56>>3]=m;v[b+48>>3]=l;v[b+40>>3]=k;v[b+32>>3]=j;v[b+24>>3]=i;v[b+16>>3]=h;q[b>>2]=f;v[b+8>>3]=g;cj(e,d,121836,b);wi(a,e);ki(e);fi=b+144|0;return 1}function XT(a){var b=0,c=0;c=q[a+128>>2];a:{if((c|0)==22){b=OT(a);if(b){break a}c=q[a+128>>2]}b:{c:{switch(c-20|0){case 0:b=-29184;if(q[a+132>>2]!=1|r[q[a+120>>2]]!=1){break a}b=0;if(!(r[q[a>>2]+184|0]&2)){break a}d:{switch(q[a+4>>2]-10|0){case 0:case 2:break b;default:break d}}return q[a+68>>2]?-25728:-26368;case 1:b=-29184;if(q[a+132>>2]!=2){break a}b=-30592;e:{f:{a=q[a+120>>2];switch(r[a|0]-1|0){case 1:break a;case 0:break f;default:break e}}a=r[a+1|0];return a?(a|0)==100?0:-26240:-30848}return-26240;default:break c}}b=0;if(!(r[q[a>>2]+184|0]&2)){break a}if((c|0)!=23){break b}c=q[a+4>>2];if((c|0)==16){break b}b=-26240;if((c|0)!=2|q[a+8>>2]!=1){break a}}b=0;if(!q[a+68>>2]|q[a+4>>2]!=16){break a}dC(a)}return b}function Wia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0);d=fi-80|0;fi=d;a:{c=q[a+80>>2];b:{if(!c|(c|0)!=q[62356]){break b}e=q[a+72>>2];c=mK(e,q[a+24>>2],q[a+28>>2],d+78|0);if(c){q[d>>2]=q[q[62356]+4>>2];q[d+4>>2]=c;mi(4,35903,35945,d);o[b+4|0]=0;break b}f=r[q[b+12>>2]+136|0];c=q[q[q[e+80>>2]+8>>2]>>2];if(f>>>0>2]>>2]){c=q[(c+(f<<2)|0)+12>>2]}else{c=0}if(r[c+136|0]!=r[q[b+12>>2]+136|0]){break a}b=uG(d+16|0);u[b>>2]=u[a+96>>2];u[b+4>>2]=u[a+100>>2];u[b+8>>2]=u[a+104>>2];u[b+16>>2]=u[a+112>>2];u[b+20>>2]=u[a+116>>2];g=u[a+120>>2];q[b+32>>2]=e;u[b+24>>2]=g;p[b+40>>1]=q[a+128>>2];a=r[a+132|0];f=s[d+78>>1];q[b+36>>2]=e;q[b+44>>2]=a|f<<16;if(o[c+137|0]&1){break b}}fi=d+80|0;return}J(36008,36070,828,36122);G()}function u4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi+ -64|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ai(a,1);c:{if(d<4294967296&d>=0){c=~~d>>>0;break c}c=0}g=c>>>0<=14;d=Ai(a,2);d:{if(d<4294967296&d>=0){f=~~d>>>0;break d}f=0}if(!(f>>>0<15?g:0)){q[b+24>>2]=f;q[b+20>>2]=c;q[b+16>>2]=104341;a=ni(a,105893,b+16|0);break a}q[b+44>>2]=c;q[b+40>>2]=9;q[b+48>>2]=f;c=q[e+4>>2];if((c|0)==q[e+8>>2]){break b}q[e+4>>2]=c+20;q[c+16>>2]=q[b+56>>2];a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a;a=0;break a}J(104348,104245,265,107702);G()}q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/20;a=ni(a,104394,b)}fi=b- -64|0;return a|0}function e2(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0;c=fi-32|0;fi=c;d=Vi(a,1);q[c+12>>2]=0;b=Ni(a,2,c+12|0);a:{b:{c:{switch(q[c+12>>2]-2|0){case 1:e=r[b+1|0];if((e&252)!=48){break b}b=r[b+2|0];if((b&252)!=48){break b}b=((b<<4)+d|0)-768|0;u[c+16>>2]=u[b>>2];u[c+20>>2]=u[b+4>>2];u[c+24>>2]=u[b+8>>2];u[c+28>>2]=u[b+12>>2];f=u[((e<<2)+c|0)-176>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=f;q[a+8>>2]=q[a+8>>2]+16;a=1;break a;case 0:break c;default:break b}}b=r[b+1|0];if((b&252)!=48){break b}b=((b<<4)+d|0)-768|0;d=q[b>>2];e=q[b+4>>2];g=q[b+12>>2];h=q[b+8>>2];b=bj(a,16);q[b+8>>2]=h;q[b+12>>2]=g;q[b>>2]=d;q[b+4>>2]=e;zi(a,-1e4,120672);aj(a,-2);a=1;break a}q[c+4>>2]=120704;q[c>>2]=120720;a=ni(a,121704,c)}fi=c+32|0;return a|0}function Bka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=q[a+4>>2];i=b+108|0;j=b+104|0;a:{b:{e=q[b+104>>2];d=q[b+112>>2]-e>>2;f=q[b+120>>2];g=q[b+124>>2]-f|0;c=g>>2;h=q[b+108>>2];e=h-e>>2;if(d>>>0>>0){if(o[b+116|0]&1){break b}vi(c+d|0,4,j,b+112|0,i);h=q[b+108>>2];c=q[b+104>>2];e=h-c>>2;d=q[b+112>>2]-c>>2;f=q[b+120>>2];g=q[b+124>>2]-f|0;c=g>>2}if(d-e>>>0>>0){break a}si(h,f,g);q[b+124>>2]=q[b+120>>2];c=q[b+108>>2]+(c<<2)|0;q[b+108>>2]=c;d=q[b+104>>2];if((c|0)!=(d|0)){c=0;while(1){ji[q[74896]](q[(c<<2)+d>>2]);c=c+1|0;d=q[j>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}c=q[b+140>>2];if(c){ki(c)}Hp(q[q[a>>2]+4>>2],430,b);jia(b);ki(b);return 0}J(45977,45268,461,44893);G()}J(46052,45268,508,46081);G()}function ET(a){var b=0,c=0,d=0;b=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;a:{if(b>>>0<=9){b=q[(b<<2)+166812>>2];break a}b=0}if(!(!b|(q[a+232>>2]?0:!(o[q[a>>2]+184|0]&1)))){b:{c:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break c}}c=q[q[a>>2]+84>>2];if(c){break c}b=0;break b}b=q[c>>2]}d:{if(!b){c=7;break d}c=7;while(1){d=q[b+8>>2];if(d>>>0>16381-c>>>0){return-29952}o[q[a+204>>2]+c|0]=d>>>16;o[(q[a+204>>2]+c|0)+1|0]=d>>>8;o[(q[a+204>>2]+c|0)+2|0]=d;c=c+3|0;si(c+q[a+204>>2]|0,q[b+12>>2],d);c=c+d|0;b=q[b+340>>2];if(b){continue}break}}b=c-7|0;o[q[a+204>>2]+4|0]=b>>>16;o[q[a+204>>2]+5|0]=b>>>8;o[q[a+204>>2]+6|0]=b;q[a+208>>2]=22;q[a+212>>2]=c;o[q[a+204>>2]]=11;q[a+4>>2]=q[a+4>>2]+1;return fq(a)}q[a+4>>2]=q[a+4>>2]+1;return 0}function qi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;o[d-1|0]=b;o[a|0]=b;if(c>>>0<3){break a}o[d-2|0]=b;o[a+1|0]=b;o[d-3|0]=b;o[a+2|0]=b;if(c>>>0<7){break a}o[d-4|0]=b;o[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=w(b&255,16843009);q[e>>2]=b;c=c-d&-4;d=c+e|0;q[d-4>>2]=b;if(c>>>0<9){break a}q[e+8>>2]=b;q[e+4>>2]=b;q[d-8>>2]=b;q[d-12>>2]=b;if(c>>>0<25){break a}q[e+24>>2]=b;q[e+20>>2]=b;q[e+16>>2]=b;q[e+12>>2]=b;q[d-16>>2]=b;q[d-20>>2]=b;q[d-24>>2]=b;q[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){q[b+24>>2]=f;q[b+28>>2]=d;q[b+16>>2]=f;q[b+20>>2]=d;q[b+8>>2]=f;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a|0}function A$(a){var b=0,c=0,d=0,e=0,f=0;c=Ci(28);q[c>>2]=0;q[c+4>>2]=0;o[c+24|0]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;vi(q[a>>2],12,c,b,c+4|0);a:{e=q[a>>2];f=q[b>>2];b=q[c>>2];if(e>>>0<=(f-b|0)/12>>>0){q[c+4>>2]=w(e,12)+b;if(!e){b=0;break a}while(1){b=w(d,12)+b|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;b=q[a>>2];d=d+1|0;if(b>>>0<=d>>>0){break a}b=q[c>>2];if((q[c+4>>2]-b|0)/12>>>0>d>>>0){continue}break}J(200882,200764,447,200893);G()}J(200855,200764,474,200874);G()}d=s[c+20>>1];a=b&65535;if(d>>>0<=a>>>0){e=q[c+16>>2];f=xi(a<<1);q[c+16>>2]=f;f=si(f,e,d<<1);p[c+20>>1]=b;if(a>>>0>d>>>0){while(1){p[f+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}ki(e);return c}J(200904,200927,112,200843);G()}function T6(a,b,c,d){var e=0,f=0,g=0;f=fi-3200|0;e=f;fi=e;q[239975]=0;c=OG(a,b,c,q[d>>2],q[d+4>>2]);a:{if(c){q[e+16>>2]=b;mi(4,194663,194700,e+16|0);break a}c=-10;if(Gq(a,e+32|0)){break a}c=q[72161];g=q[72159];b=q[a>>2];qi(e+2176|0,0,1024);lk(e+32|0,g,e+2176|0);if(Am(e+2176|0,e+2088|0)){Qj(sk(e+2176|0,194932))}if(!q[q[b+8>>2]+1032>>2]){lk(e+32|0,c,e+1056|0);c=sk(e+1056|0,194935);if(!c){mi(4,194663,194939,0)}b=q[b+8>>2];kj(b,e+1056|0,1024);q[e>>2]=b;mi(2,194663,194981,e);q[b+1036>>2]=0;q[b+1040>>2]=0;q[b+1032>>2]=c;o[b+1044|0]=0}b=f;c=q[q[a+8>>2]+8>>2];f=q[(c<<2)+24480>>2]>>>3|0;b=b-(f+15&-16)|0;fi=b;cz(c,q[d>>2],q[d+4>>2],b);lk(e+32|0,q[72160],e+2176|0);c=F3(q[a>>2],e+2176|0,b,f,d)?-3:0}fi=e+3200|0;return c}function ofa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+16>>2];c=li(56670);e=ii;a:{d=q[b+4>>2];b:{if(!d){break b}d=q[q[b>>2]+(lwa(c,e,d)<<2)>>2];if((d|0)==-1){break b}f=q[b+8>>2];while(1){b=f+(d<<4)|0;if((c|0)==q[b>>2]&(e|0)==q[b+4>>2]){break a}d=q[b+12>>2];if((d|0)!=-1){continue}break}}mi(4,56682,56690,0);return-6}b=q[a+16>>2];e=li(56774);g=ii;c:{c=q[b+4>>2];d:{if(!c){break d}c=q[q[b>>2]+(lwa(e,g,c)<<2)>>2];if((c|0)==-1){break d}f=f+(d<<4)|0;d=q[b+8>>2];while(1){b=d+(c<<4)|0;if((e|0)==q[b>>2]&(g|0)==q[b+4>>2]){break c}c=q[b+12>>2];if((c|0)!=-1){continue}break}}mi(4,56682,56779,0);return-6}b=xi(8);q[b>>2]=q[(d+(c<<4)|0)+8>>2];q[b+4>>2]=q[f+8>>2];q[74084]=b;return ik(q[a>>2],q[a+4>>2],b,464,465,0,466,467)|0}function FN(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=x(0),o=x(0),p=0,s=0;if(q[b+44>>2]==(f|0)){if(f){n=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));o=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=a<<1;p=r[d+c|0];h=x(n*x(a|0));l=x(+x(i+x(o*h))*1.5707963267948966);k=rl(l);d=d|1;s=r[d+c|0];m=(a<<3)+e|0;h=x(g+x(j*h));u[m>>2]=u[m>>2]+x(k*x(h*x(x(x(p>>>0)+x(-128))*x(255))));l=nk(l);d=(d<<2)+e|0;u[d>>2]=u[d>>2]+x(l*x(h*x(x(x(s>>>0)+x(-128))*x(255))));a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(202394,201413,999,202461);G()}function Aka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=q[a+8>>2];b=q[e+20>>2];f=q[q[a+16>>2]>>2];if(f>>>0>2]-b>>3>>>0){b=q[b+(f<<3)>>2];d=q[e+4>>2];if(b>>>0>2]-d>>2>>>0){c=q[q[q[a+4>>2]+80>>2]>>2];b=q[d+(b<<2)>>2];a=q[b+192>>2];if(a){Di(c,a)}a=q[b+160>>2];if(a){Di(c,a)}a=q[b+164>>2];if(a){Di(c,a)}a=q[b+168>>2];if(a){Di(c,a)}a=q[b+172>>2];if(a){Di(c,a)}a=q[b+176>>2];if(a){Di(c,a)}a=q[b+180>>2];if(a){Di(c,a)}a=q[b+184>>2];if(a){Di(c,a)}a=q[b+188>>2];if(a){Di(c,a)}g=q[b+152>>2];d=q[b+156>>2];if(!d){d=q[g+4>>2]}a=q[b+192>>2];if(!a){a=q[g+8>>2]}if(q[a+104>>2]==1){eA(e,q[d+8>>2],q[d+12>>2])}a=q[b+156>>2];if(a){Di(c,a)}a=q[b+148>>2];if(a){Uq(a)}ki(b);u6(e+4|0,f);return 0}}J(45837,45268,447,45848);G()}function A7(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi-32|0;fi=d;f=Im(a,153138);e=Im(a,153143);a:{if(!e){h=1;break a}g=r[e|0];o[e|0]=0;q[d>>2]=d+28;q[d+4>>2]=d+24;q[d+8>>2]=d+20;h=-1;if((qw(a,153146,d)|0)!=3){break a}b:{if(f){f=f+4|0}else{if(!c|q[d+20>>2]!=204){break b}c=e+1|0;f=Fi(c)+c|0}c=Nj(a,32);if(!c){break a}c=Nj(c+1|0,32);if(!c){break a}ji[1308](b,q[d+28>>2],q[d+24>>2],q[d+20>>2],c+1|0);j=r[f|0];h=0;o[f|0]=0;c=wq(e+2|0,153143,d+16|0);if(c){while(1){e=Nj(c,58);g=e;if(!e){h=-1;break a}while(1){k=r[g+1|0];i=g+1|0;g=i;if((k|0)==32){continue}break}g=r[e|0];o[e|0]=0;ji[1309](b,c,i);o[e|0]=g;c=wq(0,153143,d+16|0);if(c){continue}break}}o[f|0]=j;ji[1310](b,f-a|0);break a}o[e|0]=g;h=1}fi=d+32|0;return h}function vk(a,b,c){var d=0,e=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}b=q[a+8>>2];e=Ut(a,q[d>>2],c);c=b-16|0;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;q[e+8>>2]=q[c+8>>2];b=q[a+8>>2];c:{if(q[b-8>>2]<4|!(r[q[b-16>>2]+5|0]&3)){break c}c=q[d>>2];if(!(r[c+5|0]&4)){break c}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b-16}function ov(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-32|0;fi=e;a:{if(o[290156]&1){break a}if(!ui(290156)){break a}if(r[852367]){d=Ri(7503)}else{d=-1}q[72538]=d;ti(290156)}b:{if(o[290164]&1){break b}if(!ui(290164)){break b}if(r[852367]){d=Yi(11907,16)}else{d=0}q[72540]=d;ti(290164)}d=q[72538];c:{if((d|0)!=-1){Qi(e+16|0,d,11907,q[72540]);break c}q[e+16>>2]=0}d=1;o[e+12|0]=1;q[e+8>>2]=a;if(c){while(1){g=0;d=0;while(1){f=(d<<3)+b|0;d:{if(!z6(q[f>>2],q[f+4>>2])){break d}if(r[a+4276|0]&8){Op(a)}if(!Kp(q[f>>2],q[f+4>>2],29,e+8|0)){break d}o[a+4276|0]=r[a+4276|0]|8;g=1}d=d+1|0;if((d|0)!=(c|0)){continue}break}if(g){d=h>>>0<9;h=h+1|0;if(d){continue}}break}d=r[e+12|0]}if(q[e+16>>2]){Pi(e+16|0)}fi=e+32|0;return(d&255)!=0}function JO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=fi-2064|0;fi=g;e=IO(a,b,c,d,g);a:{if(!e){e=0;break a}b:{switch(q[g>>2]-8|0){default:J(154125,154179,1209,155293);G();case 8:f=w(q[d>>2],w(q[c>>2],q[b>>2]));i=xi(f);c:{if(i){a=0;if((f|0)>0){while(1){o[a+i|0]=r[((a<<1)+e|0)+1|0];a=a+1|0;if((f|0)!=(a|0)){continue}break}}ki(e);break c}q[212945]=154488}e=i;break;case 0:break b}}if(!q[212946]){break a}f=q[c>>2];if((f|0)<2){break a}a=w(q[b>>2],q[d>>2]);if(!a){break a}b=f>>1;i=(b|0)>1?b:1;c=0;while(1){d=w(a,c)+e|0;j=w(a,f+(c^-1)|0)+e|0;b=a;while(1){h=b>>>0<2048?b:2048;si(g+16|0,d,h);d=si(d,j,h);j=si(j,g+16|0,h)+h|0;d=d+h|0;b=b-h|0;if(b){continue}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}fi=g+2064|0;return e}function yC(a,b,c,d,e,f){var g=0;g=fi-80|0;fi=g;a:{if((f|0)>=16384){tk(g+32|0,b,c,d,e,0,0,0,2147352576);d=q[g+40>>2];e=q[g+44>>2];b=q[g+32>>2];c=q[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}tk(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=q[g+24>>2];e=q[g+28>>2];b=q[g+16>>2];c=q[g+20>>2];break a}if((f|0)>-16383){break a}tk(g- -64|0,b,c,d,e,0,0,0,65536);d=q[g+72>>2];e=q[g+76>>2];b=q[g+64>>2];c=q[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}tk(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=q[g+56>>2];e=q[g+60>>2];b=q[g+48>>2];c=q[g+52>>2]}tk(g,b,c,d,e,0,0,0,f+16383<<16);b=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=b;b=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=b;fi=g+80|0}function F2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=fi-48|0;fi=d;e=a?q[a+120>>2]:0;h=Ti(d+24|0,e,0,112952,44);c=bj(e,72);b=c;q[b+4>>2]=0;q[b+8>>2]=0;q[b+68>>2]=-2;q[b>>2]=a;q[b+60>>2]=0;q[b+64>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;Hi(e,-1);q[b+68>>2]=ck(e,-1e4);wi(e,q[64483]);ak(e,-2);u1(q[b>>2]);b=q[210336];if(b){i=c+4|0;while(1){g=d+16|0;c=g;q[c>>2]=0;q[c+4>>2]=0;c=a?q[a>>2]:0;q[d+20>>2]=e;q[d+16>>2]=c;a:{if(!(ji[q[b+20>>2]](g)|0)){c=i+(f&-4)|0;q[c>>2]=q[c>>2]|1<<(f&3);break a}q[d>>2]=q[b>>2];mi(4,112981,112988,d)}f=f+1|0;b=q[b+36>>2];if(b){continue}break}}Si(h);fi=d+48|0}function Qia(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=q[a+20>>2];if(!e){return-1}h=-1;a:{f=q[q[a+16>>2]+(lwa(b,c,e)<<2)>>2];b:{if((f|0)==-1){break b}e=q[a+64>>2];i=q[a+24>>2];while(1){g=(f<<4)+i|0;if((b|0)!=q[g>>2]|q[g+4>>2]!=(c|0)){f=q[g+12>>2];if((f|0)!=-1){continue}break b}break}if(!q[e+52>>2]){return-1e3}q[d>>2]=q[a+48>>2];q[d+4>>2]=q[e+48>>2];q[d+8>>2]=q[e+56>>2];a=q[((f<<4)+i|0)+8>>2];if(a>>>0>=t[e+8>>2]){break a}a=q[e+4>>2]+w(a,40)|0;q[d+32>>2]=q[a+20>>2];q[d+16>>2]=q[a+4>>2];q[d+20>>2]=q[a+8>>2];q[d+24>>2]=q[a+12>>2];q[d+28>>2]=q[a+16>>2];q[d+36>>2]=q[a+28>>2];q[d+40>>2]=q[a+32>>2];a=q[a+24>>2];if(a>>>0<=6){q[d+12>>2]=a}q[d+44>>2]=48;h=0}return h|0}J(48785,48797,88,48750);G()}function C1(a,b,c,d){var e=0,f=0,g=0,h=0;e=a?q[a+120>>2]:0;h=q[e+8>>2]-q[e+12>>2]>>4;a:{f=q[a+44>>2];if(!f){break a}g=q[q[a+40>>2]+(lwa(c,d,f)<<2)>>2];if((g|0)==-1){break a}f=q[a+48>>2];while(1){a=f+(g<<4)|0;if(q[a>>2]!=(c|0)|q[a+4>>2]!=(d|0)){g=q[a+12>>2];if((g|0)!=-1){continue}break a}break}c=q[b>>2];d=q[(f+(g<<4)|0)+8>>2];b=q[b+4>>2];a=Pl(q[d>>2],b);q[d+4>>2]=b;q[d>>2]=a;si(a,c,b);b:{if(tF(e,c,b,q[d+8>>2])){wi(e,q[d+8>>2]);a=Wl(e,1,-1);b=q[e+8>>2]-q[e+12>>2]>>4;if(!a){break b}if((b|0)==(h|0)){break a}J(115316,115337,221,115362);G()}if((h|0)==q[e+8>>2]-q[e+12>>2]>>4){break a}J(115316,115337,229,115362);G()}oi(e,h+(b^-1)|0);if((h|0)==q[e+8>>2]-q[e+12>>2]>>4){break a}J(115316,115337,232,115362);G()}}function XF(a,b,c,d,e){var f=0,g=0,h=0;f=fi-1072|0;fi=f;q[f+1064>>2]=c;q[f+1068>>2]=d;g=q[a>>2];h=q[g+24>>2];a:{if((h|0)==((q[g+16>>2]-q[g+8>>2]|0)/48|0)){q[f>>2]=h;q[f+4>>2]=q[60020];mi(4,24355,25794,f);b=-11;break a}b:{if(q[e+8>>2]){if(q[e+28>>2]!=1){break b}wH(g,c,d,e);kz(q[a+4>>2],q[e+8>>2],f+1064|0);if(!q[a+8>>2]){b=0;break a}q[f+20>>2]=b;q[f+16>>2]=24354;cj(f+32|0,1024,24348,f+16|0);b=0;d=f+32|0;e=d;while(1){c=r[e|0];c:{d:{if((c|0)!=47){if(c){break d}b=0;o[d|0]=0;a=q[a+8>>2];c=q[f+1064>>2];d=q[f+1068>>2];q[f+28>>2]=Sk(f+32|0);OH(a,c,d,f+28|0);break a}if((b&255)==47){break c}}o[d|0]=c;d=d+1|0}e=e+1|0;b=c;continue}}J(25875,24439,1248,25898);G()}J(25913,24439,1249,25898);G()}fi=f+1072|0;return b}function L4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-48|0;fi=c;g=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ai(a,1);a:{if(e<4294967296&e>=0){b=~~e>>>0;break a}b=0}b:{if(!(b-2>>>0<5|!b)){q[c+4>>2]=b;q[c>>2]=104341;b=ni(a,104423,c);break b}f=c+24|0;q[f+4>>2]=b;q[f>>2]=1;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+40>>2];d=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=d;d=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=d;b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(g|0)){break b}J(104348,104245,486,104460);G()}q[c+16>>2]=(q[d+8>>2]-q[d>>2]|0)/20;b=ni(a,104394,c+16|0)}fi=c+48|0;return b|0}J(104348,104245,265,107702);G()}function E4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=fi-48|0;fi=c;h=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ai(a,1);a:{if(e<4294967296&e>=0){b=~~e>>>0;break a}b=0}b:{if(!(b-2>>>0<5|!b)){q[c+4>>2]=b;q[c>>2]=104341;f=ni(a,104305,c);break b}g=c+24|0;q[g+4>>2]=b;q[g>>2]=0;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+40>>2];d=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=d;d=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=d;if(q[a+8>>2]-q[a+12>>2]>>4==(h|0)){break b}J(104348,104245,440,104369);G()}q[c+16>>2]=(q[d+8>>2]-q[d>>2]|0)/20;f=ni(a,104394,c+16|0)}fi=c+48|0;return f|0}J(104348,104245,265,107702);G()}function vka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a>>2];b=qi(Ci(152),0,152);q[b+88>>2]=0;q[b+92>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+36>>2]=-1;e=b- -64|0;c=e;q[c>>2]=0;q[c+4>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+92>>2]=-1;c=q[d+8>>2];f=q[a+16>>2];q[b>>2]=q[d+4>>2];c=c>>>0>f>>>0?f:c;t6(b+4|0,c);if(!(o[b+68|0]&1)){a:{vi(c,272,b+56|0,e,b+60|0);if(o[b+116|0]&1){break a}vi(0,4,b+104|0,b+112|0,b+108|0);q[b+148>>2]=0;q[b+140>>2]=0;q[b+144>>2]=0;q[b+108>>2]=q[b+104>>2];q[q[a+12>>2]>>2]=b;Ip(q[d+4>>2],430,b);return 0}}J(45977,45268,461,44893);G()}function fda(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;g=fi-16|0;fi=g;bc(a|0,b|0,d|0,g+4|0,g+12|0,g+8|0,c|0);a=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{b=q[g+8>>2];switch(b-5120|0){case 0:break a;case 3:break j;case 2:break k;case 1:break l;case 6:break g;case 5:break h;case 4:break i;default:break m}}switch(b-35666|0){case 14:break c;case 12:break d;case 10:break e;case 0:break f;default:break b}}a=1;break a}a=2;break a}a=3;break a}a=4;break a}a=5;break a}a=6;break a}a=7;break a}a=8;break a}a=9;break a}a=10;break a}a=-1}q[e>>2]=a;q[f>>2]=q[g+12>>2];n:{if(!(r[q[74995]+104|0]&8)){break n}a=K()|0;if(!a){break n}Mi(a,81803,1888);J(79249,79164,1888,81803);G()}fi=g+16|0;return q[g+4>>2]}function sma(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-48|0;fi=c;d=q[a+8>>2]-q[a+12>>2]>>4;e=q[q[Kj(a)+80>>2]+8>>2];a:{b:{if((d|0)>=2){if((ri(a,2)|0)==6){break b}}b=ni(a,63373,0);break a}q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;Hk(a,1,e,63050,c+44|0,c+8|0,0);c:{b=q[c+44>>2];if(o[b+20|0]&1){mi(4,63424,63432,0);break c}Hi(a,2);q[b+8>>2]=ck(a,-1e4);Ki(a);q[b+12>>2]=ck(a,-1e4);Ml(a,c+8|0);q[b+16>>2]=ck(a,-1e4);if(!dma(e,b)){sj(a,-1e4,q[b+8>>2]);sj(a,-1e4,q[b+12>>2]);sj(a,-1e4,q[b+16>>2]);q[b+16>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2;break c}b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(d|0)){break a}J(63540,63275,226,63561);G()}b=ni(a,63497,0)}fi=c+48|0;return b|0}function dt(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-32|0;fi=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;a:{while(1){q[(c+16|0)+(d<<2)>>2]=jt(a,c+12|0,0);e=q[c+12>>2];if((e|0)==(a|0)){break a}e=r[e|0];if(o[a|0]-48>>>0>=10|(e?(e|0)!=46:0)){break a}a=q[c+12>>2];if(r[a|0]){a=a+1|0;d=d+1|0;if((d|0)!=4){continue}break a}break}g=c;a=c;b:{c:{d:{e:{switch(d|0){case 2:a=q[c+24>>2];break c;case 1:d=q[c+20>>2];break d;case 4:break a;case 0:break e;default:break b}}d=q[c+16>>2];q[c+16>>2]=d>>>24;d=d&16777215}q[a+20>>2]=d>>>16;a=d&65535}e=a;q[g+24>>2]=e>>>8;q[c+28>>2]=e&255}a=0;while(1){e=q[(c+16|0)+(a<<2)>>2];if(e>>>0>255){f=0;break a}o[a+b|0]=e;f=1;a=a+1|0;if((a|0)!=4){continue}break}}fi=c+32|0;return f}function Sia(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-48|0;fi=c;d=q[a+8>>2]-q[a+12>>2]>>4;e=q[q[Kj(a)+80>>2]+8>>2];a:{b:{if((d|0)>=2){if((ri(a,2)|0)==6){break b}}b=ni(a,64889,0);break a}q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;Hk(a,1,e,64624,c+44|0,c+8|0,0);c:{b=q[c+44>>2];if(o[b+20|0]&1){mi(4,64940,64948,0);break c}Hi(a,2);q[b+8>>2]=ck(a,-1e4);Ki(a);q[b+12>>2]=ck(a,-1e4);Ml(a,c+8|0);q[b+16>>2]=ck(a,-1e4);if(!xla(e,b)){sj(a,-1e4,q[b+8>>2]);sj(a,-1e4,q[b+12>>2]);sj(a,-1e4,q[b+16>>2]);q[b+16>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2;break c}b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(d|0)){break a}J(65044,64813,204,65065);G()}b=ni(a,65012,0)}fi=c+48|0;return b|0}function Mja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a>>2];b=qi(Ci(84),0,84);q[b+68>>2]=0;q[b+72>>2]=0;q[b+48>>2]=-1;o[b+73|0]=0;o[b+74|0]=0;o[b+75|0]=0;o[b+76|0]=0;o[b+77|0]=0;o[b+78|0]=0;o[b+79|0]=0;o[b+80|0]=0;e=q[c>>2];f=q[a+16>>2];vi(32,104,b,b+8|0,b+4|0);a:{b:{c=q[b>>2];if((q[b+8>>2]-c|0)/104>>>0>31){q[b+4>>2]=c+3328;c=q[b+72>>2];if(c>>>0>=33){break b}g=q[b+68>>2];d=xi(128);q[b+68>>2]=d;d=si(d,g,c<<2);q[b+72>>2]=32;if((c|0)!=32){while(1){q[d+(c<<2)>>2]=c;c=c+1|0;if((c|0)!=32){continue}break}}ki(g);c=q[b>>2];if((c|0)==q[b+4>>2]){break a}qi(c,0,3328);n6(b+16|0,e>>>0>f>>>0?f:e);q[q[a+12>>2]>>2]=b;return 0}J(50431,50340,474,50450);G()}J(50458,50481,112,50419);G()}J(50555,50340,389,50566);G()}function DC(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];return;case 1:b=q[c>>2];q[c>>2]=b+4;b=q[b>>2];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 2:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];q[a+4>>2]=0;return;case 3:b=q[c>>2]+7&-8;q[c>>2]=b+8;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;return;case 4:b=q[c>>2];q[c>>2]=b+4;b=p[b>>1];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 5:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=s[b>>1];q[a+4>>2]=0;return;case 6:b=q[c>>2];q[c>>2]=b+4;b=o[b|0];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 7:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=r[b|0];q[a+4>>2]=0;return;case 8:b=q[c>>2]+7&-8;q[c>>2]=b+8;v[a>>3]=v[b>>3];return;case 9:break b;default:break a}}ji[d|0](a,c)}}function vY(a){a=a|0;var b=0,c=0,d=0;d=fi-32|0;fi=d;c=Ni(a,1,0);oi(a,1);zi(a,-1e4,130166);zi(a,2,c);a:{if(Fj(a,-1)){if((Vi(a,-1)|0)!=130624){break a}q[d+16>>2]=c;ni(a,130628,d+16|0);break a}zi(a,-10001,129904);if((ri(a,-1)|0)!=5){ni(a,130671,0)}Bi(a,130399,0);b=1;while(1){Xi(a,-2,b);if(!ri(a,-1)){q[d+4>>2]=_i(a,-2,0);q[d>>2]=c;ni(a,130705,d)}wi(a,c);zk(a,1,1);if((ri(a,-1)|0)!=6){if($j(a,-1)){Jl(a,2);b=b+1|0;continue}oi(a,-2);b=b+1|0;continue}break}b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=130624;q[a+8>>2]=q[a+8>>2]+16;pi(a,2,c);wi(a,c);zk(a,1,1);if(ri(a,-1)){pi(a,2,c)}zi(a,2,c);if((Vi(a,-1)|0)!=130624){break a}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-1);pi(a,2,c)}fi=d+32|0;return 1}function aJ(a){var b=0,c=0,d=0,e=x(0),f=x(0),g=0,h=0,i=0,j=0,k=0,l=0;g=q[a+184>>2];d=g;b=q[a+196>>2];if(!b){b=q[q[a+188>>2]+8>>2]}c=d;d=q[b+64>>2];if(c>>>0>2]){e=u[a+224>>2];j=q[d+4>>2];b=j+w(g,40)|0;c=q[b+24>>2];f=(c|0)==2?x(1):(c|0)==4?x(1):x(0);k=q[b+12>>2];h=q[b+16>>2]-k|0;i=(h<<1)-2|0;c=c-5>>>0<2?i?i:1:h;e=x(x(e+x(f-x(f*x(e+e))))*x(c>>>0));a:{if(e=x(0)){b=~~e>>>0;break a}b=0}l=q[a+216>>2];c=c-1|0;b=b>>>0>c>>>0?c:b;c=b>>>0>>0?b:i-b|0;q[a+216>>2]=c;if((c|0)!=(l|0)){b=a;b:{if(q[d+60>>2]){d=q[d+56>>2]+(c+k<<3)|0;e=u[d+4>>2];f=u[d>>2];break b}d=w(g,40)+j|0;e=x(t[d+8>>2]);f=x(t[d+4>>2])}u[b+64>>2]=f;q[a+72>>2]=1065353216;u[a+68>>2]=e}return}J(51522,51534,88,51574);G()}function U$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=x(0);h=-13;g=q[239986];k=q[g+16>>2];if(k){tj(k);g=q[239986]}f=q[g+80>>2];a:{if(!f){break a}f=q[q[g+76>>2]+(lwa(a,b,f)<<2)>>2];if((f|0)==-1){break a}i=q[g+84>>2];while(1){l=i+(f<<4)|0;if(q[l>>2]!=(a|0)|q[l+4>>2]!=(b|0)){f=q[l+12>>2];if((f|0)!=-1){continue}break a}break}c=x(x(t[g+33908>>2])*c);b:{if(c=x(0)){h=~~c>>>0;break b}h=0}c:{if((h|0)<1){c=x(0);break c}a=w(q[(i+(f<<4)|0)+8>>2],1056)+g|0;f=q[a+1160>>2];b=q[g+33912>>2];c=x(0);while(1){f=f-1&63;g=f<<3;i=a+648|0;j=u[g+i>>2];c=c>j?c:j;j=u[i+(g|4)>>2];m=j0){continue}break}}u[d>>2]=x(F(c))/x(32767);u[e>>2]=x(F(m))/x(32767);h=0}if(k){lj(k)}return h}function PO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=fi-16|0;fi=f;l=a+816|0;h=(d|0)/(b|0)|0;while(1){a:{if((g|0)>=(h|0)){break a}e=q[a+1520>>2];d=q[a+1524>>2]-e|0;d=(d+g|0)<(h|0)?d:h-g|0;if(!(!c|!d)){Ara(b,c,q[a+4>>2],l,e,d);e=q[a+1520>>2];c=(w(b,d)<<1)+c|0}q[a+1520>>2]=d+e;g=d+g|0;if((h|0)==(g|0)){g=h;break a}q[a+1528>>2]=!c;b:{if(r[a+48|0]){q[a+116>>2]=2;e=0;break b}if(!Sv(a,f+12|0,f+4|0,f+8|0)){q[a+1520>>2]=0;q[a+1524>>2]=0;e=0;break b}i=q[f+4>>2];e=Rv(a,q[f+12>>2],i,q[f+8>>2]);d=0;j=q[a+4>>2];if((j|0)>=1){while(1){k=(d<<2)+a|0;q[k+880>>2]=q[k+816>>2]+(i<<2);d=d+1|0;if((j|0)!=(d|0)){continue}break}}q[a+1520>>2]=i;q[a+1524>>2]=e+i}if(e){continue}}break}q[a+1528>>2]=0;fi=f+16|0;return g}function Hpa(a,b,c,d,e){var f=0,g=0,h=0;g=fi-48|0;fi=g;a:{b:{if(q[d+8>>2]){f=2;c:{if((c|0)!=2){break c}if(!Qp(e,g+44|0)){break c}d:{if((q[d+4>>2]&-268435456)==805306368){f=q[d+8>>2];if(!f){break b}c=0;if(r[a+12|0]){break d}f=q[f+16>>2];h=q[a+4>>2]+q[d+12>>2]|0;c=w(f,q[h+4>>2])+q[h>>2]|0;qi(c,0,f);q[h+4>>2]=q[h+4>>2]+1;f=q[d+8>>2];break d}c=q[a+4>>2]+q[d+12>>2]|0;f=q[d+8>>2];if(t[a+8>>2]>2]>>>0){break a}}h=q[f+16>>2];o[g+36|0]=r[a+12|0];q[g+24>>2]=f;q[g+28>>2]=c;q[g+32>>2]=c+h;f=2;a=g+8|0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;if(!SK(e,q[g+44>>2],a)){break c}f=FA(b,a,q[d+8>>2],g+24|0)}fi=g+48|0;return f}J(23205,23114,149,23232);G()}J(23205,23114,259,23546);G()}J(23249,23114,170,23232);G()}function Jaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;i=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);a:{e=Zi(a,1,g+12|0);b=s[e+560>>1];h=s[92055];f=c+348|0;b:{if((b|0)==(h|0)){break b}d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}f=(d+w(b,576)|0)+562|0}d=0;b=s[f>>1];c:{if((h|0)==(b|0)){break c}f=s[e+554>>1];while(1){if((b|0)==(f|0)){break c}e=q[c+32>>2];if((q[c+36>>2]-e|0)/576>>>0<=b>>>0){break a}d=d+1|0;b=s[(w(b,576)+e|0)+558>>1];if((h|0)!=(b|0)){continue}break}}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d>>>0;q[a+8>>2]=q[a+8>>2]+16;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){fi=g+16|0;return 1}J(187441,187364,612,187495);G()}J(193176,193187,447,193266);G()}function Cv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{if(b>>>0<2){e=q[a+4>>2];f=$i(c,0);g=$i(c,1);h=f|g;i=e&1;e=$i(c,2);c=$i(c,3);f:{if(d){if(!b){if(h>>>0>31|e>>>0>=16){break e}d=f<<10|i|g<<5;e=e<<1;c=32768;break f}if((e|h)>>>0>=32){break d}d=f<<10|g<<5;c=32768;break f}if(!b){if(h>>>0>15|(c|e)>>>0>=8){break c}d=f<<8|i|g<<4;e=e<<1;c=c<<12;break f}if((e|h)>>>0>15|c>>>0>=8){break b}d=g<<4|f<<8;c=c<<12}c=c|(d|e);if(c>>>0>=65536){break a}d=q[a+4>>2];if(b){q[a+4>>2]=d&65535|c<<16;return}q[a+4>>2]=c|d&-65536;return}J(96914,85651,3196,99184);G()}J(99201,85651,3208,99184);G()}J(97472,85651,3215,99184);G()}J(99234,85651,3225,99184);G()}J(99277,85651,3232,99184);G()}J(97505,85651,3237,99184);G()}function Bm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=fi-32|0;fi=f;g=q[a+48>>2];h=g;if((r[g+50|0]+c|0)>=200){d=q[g+16>>2];e=q[q[g>>2]+60>>2];a:{if(!e){q[f>>2]=200;q[f+4>>2]=127567;d=Oi(d,127488,f);break a}q[f+20>>2]=200;q[f+16>>2]=e;q[f+24>>2]=127567;d=Oi(d,127522,f+16|0)}Kl(q[g+12>>2],d,0);h=q[a+48>>2]}e=q[h>>2];d=q[e+56>>2];b:{if((d|0)>p[h+48>>1]){i=q[e+24>>2];break b}i=rq(q[a+52>>2],q[e+24>>2],e+56|0,12,32767,127583);q[e+24>>2]=i;j=q[e+56>>2];if((j|0)<=(d|0)){break b}while(1){q[w(d,12)+i>>2]=0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=p[h+48>>1];q[w(d,12)+i>>2]=b;if(!(!(r[b+5|0]&3)|!(r[e+5|0]&4))){Mn(q[a+52>>2],e,b);d=s[h+48>>1]}p[h+48>>1]=d+1;p[((r[g+50|0]+c<<1)+g|0)+172>>1]=d;fi=f+32|0}function xG(a,b,c,d){var e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);f=u[a+56>>2];e=u[a+44>>2];g=x(u[c+16>>2]*e);j=u[a+60>>2];h=x(u[c+20>>2]*e);k=u[a+48>>2];i=x(u[c+24>>2]*e);l=x(x(x(f*g)+x(j*h))-x(k*i));e=u[a+52>>2];m=x(x(f*i)+x(x(e*h)+x(k*g)));n=x(x(x(j*i)+x(k*h))-x(e*g));g=x(x(x(j*g)+x(e*i))-x(f*h));h=x(u[a+40>>2]+x(x(k*l)+x(x(x(f*m)+x(j*n))-x(e*g))));i=x(u[a+36>>2]+x(x(f*g)+x(x(x(j*l)+x(e*m))-x(k*n))));f=x(u[a+32>>2]+x(x(e*n)+x(x(x(j*g)+x(k*m))-x(f*l))));a=r[b+280|0];a:{if(a&4){if(d>x(0)^1){break a}d=x(x(1)/d);u[b+80>>2]=d*x(f-u[b+96>>2]);u[b+88>>2]=d*x(h-u[b+104>>2]);u[b+84>>2]=d*x(i-u[b+100>>2]);break a}o[b+280|0]=a|4}u[b+96>>2]=f;u[b+104>>2]=h;u[b+100>>2]=i}function Fda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fi-16|0;fi=e;a:{if(a){b:{if(o[300124]&1){break b}if(!ui(300124)){break b}if(r[852367]){a=Ri(80454)}else{a=-1}q[75030]=a;ti(300124)}c:{if(o[300132]&1){break c}if(!ui(300132)){break c}if(r[852367]){a=Yi(81519,4)}else{a=0}q[75032]=a;ti(300132)}a=q[75030];d:{if((a|0)!=-1){Qi(e,a,81519,q[75032]);break d}q[e>>2]=0}e:{if(o[300140]&1){break e}if(!ui(300140)){break e}if(r[852367]){a=Ek(81485)}else{a=-1}q[75034]=a;ti(300140)}a=q[75034];if((a|0)!=-1){Fk(a,1)}jc(q[(b<<2)+81496>>2],c|0,d|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}if(q[e>>2]){Pi(e)}fi=e+16|0;return}J(79156,79164,1626,81508);G()}Mi(a,81508,1630);J(79249,79164,1630,81508);G()}function Ao(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=fi+ -64|0;fi=f;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}g=q[a+8>>2];if(!g){break a}d=q[e+12>>2];b:{if(d>>>0>>0){d=ji[q[e+16>>2]](q[a+4>>2])|0;if(d){break b}d=ji[q[q[a>>2]+20>>2]](q[a+4>>2],b,c)|0;if(d){break b}d=ji[q[q[a>>2]+24>>2]](q[a+4>>2],f)|0;if(d){break b}g=q[a+8>>2];b=q[a>>2];d=q[b+12>>2];c=q[b+8>>2];b=f}e=qi(g,54,d);g=qi(e+d|0,92,q[q[a>>2]+12>>2]);if(c){d=0;while(1){h=d+e|0;i=b+d|0;o[h|0]=r[i|0]^r[h|0];h=d+g|0;o[h|0]=r[i|0]^r[h|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=ji[q[q[a>>2]+16>>2]](q[a+4>>2])|0;if(d){break b}b=q[a+4>>2];a=q[a>>2];d=ji[q[a+20>>2]](b,e,q[a+12>>2])|0}ji[q[66742]](f,0,64)|0}fi=f- -64|0;return d}function Xia(a,b,c,d){var e=0;if(o[a+137|0]&1){mi(4,35903,37235,0);return 1}a=3;a:{e=q[b+12>>2];b:{if(!e){break b}while(1){if(q[e>>2]!=(c|0)|q[e+4>>2]!=(d|0)){e=q[e+16>>2];if(e){continue}break b}break}if(!q[e+12>>2]){return 4}q[e+12>>2]=0;d=q[e+20>>2];if(!d){break a}c:{d:{e:{c=q[d+4>>2];a=q[c+16>>2];if(!a){break e}f:{if((a|0)==(d|0)){q[c+16>>2]=q[d>>2];break f}while(1){c=a;a=q[a>>2];if(!a){break e}if((a|0)!=(d|0)){continue}break}q[c>>2]=q[d>>2]}ki(d);a=q[b+12>>2];if((e|0)!=(a|0)){break d}q[b+12>>2]=q[e+16>>2];break c}J(37321,36070,1492,37285);G()}while(1){b=a;if(!a){break c}a=q[b+16>>2];if((e|0)!=(a|0)){continue}break}q[b+16>>2]=q[e+16>>2]}ki(e);a=0}return a}J(37297,36070,1468,37285);G()}function lU(a,b,c,d,e,f){var g=0,h=0;h=fi-32|0;fi=h;q[h+24>>2]=0;q[h+16>>2]=1;q[h+20>>2]=0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;a:{b:{if(d){if(!a){g=-16512;break a}g=tl(h+16|0,a,1);if(g){break b}g=fl(h,d,c);if(g){break b}g=Lk(h,h,h+16|0);if(g){break b}g=-16896;if(jj(h,0)){break a}}if(e){if(!b){g=-16512;break a}g=tl(h+16|0,b,1);if(g){break b}g=fl(h,e,c);if(g){break b}g=Lk(h,h,h+16|0);if(g){break b}g=-16896;if(jj(h,0)){break a}}if(!f){g=0;break a}g=-16512;if(!a|!b){break a}g=Ak(h+16|0,f,b);if(g){break b}g=tl(h+16|0,h+16|0,1);if(g){break b}g=Lk(h+16|0,h+16|0,a);if(g){break b}g=jj(h+16|0,0)?-16896:0;break a}if((g|0)==-16896|(g|0)==-16512){break a}g=g-16896|0}Ji(h+16|0);Ji(h);fi=h+32|0;return g}function kv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=fi-16|0;fi=g;a:{if(q[d+4>>2]==q[d>>2]){if(o[d+12|0]&1){break a}j=d+8|0;h=d+4|0;vi(c,4,d,j,h);b:{if(c){while(1){c:{d:{i=(e<<2)+b|0;f=Ij(a,q[i>>2],g+12|0);if(f){b=q[i>>2];q[g+4>>2]=f;q[g>>2]=b;mi(4,13859,13870,g);b=q[d+4>>2];c=q[d>>2];if((b|0)!=(c|0)){e=0;b=c;while(1){Di(a,q[(e<<2)+b>>2]);e=e+1|0;b=q[d>>2];if(e>>>0>2]-b>>2>>>0){continue}break}}q[d+4>>2]=b;if(!(o[d+12|0]&1)){break d}break a}f=q[h>>2];if((f|0)!=q[j>>2]){break c}J(14280,14189,501,14304);G()}vi(0,4,d,j,h);break b}i=q[g+12>>2];q[h>>2]=f+4;q[f>>2]=i;e=e+1|0;if((e|0)!=(c|0)){continue}break}}f=0}fi=g+16|0;return f}J(13772,13798,105,13837);G()}J(14114,14189,461,14268);G()}function RG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(!a){break a}f=q[a+8>>2];h=q[f+40>>2]-1|0;if((h|0)<0){break a}n=q[(q[q[a+8>>2]+8>>2]<<2)+24480>>2]>>>3|0;i=q[f+36>>2];while(1){j=((h-g|0)/2|0)+g|0;f=w(j,40)+i|0;l=q[f+8>>2];f=q[f+12>>2];if((l|0)!=(b|0)|(f|0)!=(c|0)){m=(c|0)==(f|0)&b>>>0>>0|c>>>0>>0;h=m?j-1|0:h;g=m?g:(c|0)==(f|0)&b>>>0>l>>>0|c>>>0>f>>>0?j+1|0:g;if((h|0)>=(g|0)){continue}break a}break}b=q[(w(j,40)+i|0)+28>>2];if(!d){return b}if(!b){break a}c=w(j,40)+i|0;g=0;while(1){f=q[(w(q[q[c+24>>2]+(g<<2)>>2],40)+i|0)+16>>2];if(Ay(q[a>>2],f,n,0,0)){if(e>>>0>k>>>0){q[(k<<2)+d>>2]=f}k=k+1|0}g=g+1|0;if((b|0)==(g|0)){break a}i=q[q[a+8>>2]+36>>2];continue}}return k}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;d=q[a+104>>2];o[c|0]=1;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;e=a+39|0;f=r[d+88192|0]-1|0;d=q[(r[d+88064|0]<<2)+254608>>2];g=r[r[e+(1<>>6;d=(d<<4|n<<2|m)<<4|l<<2|k;o[c+6|0]=d>>>6;d=(d<<4|j<<2|i)<<4|h<<2|g;o[c+5|0]=d>>>6;o[c+4|0]=a|d<<2;PA(c,b,4)}function rU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=fi-16|0;fi=h;a:{if(!b){g=-16512;break a}g=-16512;i=q[a+168>>2]-3|0;b:{if(i>>>0<=5){i=q[(i<<2)+267260>>2];break b}i=0}if(!i){break a}j=(i?q[i+8>>2]:0)&255;l=(j<<1)+d|0;m=l+2|0;if(m>>>0>>0){break a}k=q[a+4>>2];if(m>>>0>k>>>0){break a}f=qi(f,0,k);o[f|0]=0;g=c;c=f+1|0;b=ji[b|0](g,c,j)|0;if(b){g=b-17536|0;break a}b=c+j|0;g=-20736;c:{if(!i){break c}g=ji[q[i+28>>2]](0,0,b)|0}if(g){break a}b=(b+j+(k-l)|0)-2|0;o[b|0]=1;if(d){si(b+1|0,e,d)}q[h>>2]=0;q[h+4>>2]=0;q[h+8>>2]=0;d:{g=jn(h,i,0);if(!g){b=(f+j|0)+1|0;d=(j^-1)+k|0;g=dq(b,d,c,j,h);if(!g){break d}}$l(h);break a}g=dq(c,j,b,d,h);$l(h);if(g){break a}g=zp(a,f,f)}fi=h+16|0;return g}function BX(a){var b=0,c=0,d=0,e=0;b=dj(a,0,0,120);tq(a,b,8);c=q[a+16>>2];q[b+32>>2]=0;q[b+16>>2]=c;q[b+68>>2]=0;q[b+104>>2]=0;q[b+60>>2]=0;q[b+64>>2]=0;p[b+56>>1]=256;q[b+40>>2]=0;q[b+44>>2]=0;o[b+6|0]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;c=dj(a,0,0,192);q[b+48>>2]=8;q[b+20>>2]=c;q[b+40>>2]=c;q[b+36>>2]=c+168;c=dj(a,0,0,720);q[b+44>>2]=45;q[b+32>>2]=c;q[b+28>>2]=c+624;d=q[b+20>>2];q[d+4>>2]=c;e=c+16|0;q[b+8>>2]=e;q[c+8>>2]=0;q[d>>2]=e;q[b+12>>2]=e;q[d+8>>2]=c+336;c=q[a+76>>2];q[b+72>>2]=q[a+72>>2];q[b+76>>2]=c;q[b+80>>2]=q[a+80>>2];o[b+56|0]=r[a+56|0];c=q[a+60>>2];q[b+60>>2]=c;a=q[a+68>>2];q[b+64>>2]=c;q[b+68>>2]=a;return b}function mia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=fi-96|0;fi=d;e=q[a+8>>2]-q[a+12>>2]>>4;f=Kj(a);c=Pj(a,2);g=ii;h=gj(a,3);i=Ai(a,4);b=d;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;ok(a,1,b- -64|0,b+32|0);a:{if((e|0)<5){break a}if((ri(a,5)|0)!=6){break a}Hi(a,5);j=is(a)+2|0}q[d+24>>2]=0;q[b+28>>2]=1065353216;q[b+16>>2]=h;q[b+8>>2]=c;q[b+12>>2]=g;u[b+20>>2]=i;c=q[61990];oo(b+32|0,b- -64|0,q[c+8>>2],q[c+12>>2],f,j,c,b+8|0,24,0);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(66071,66092,198,66132);G()}fi=d+96|0;return 0}function fH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fi-32|0;fi=e;h=q[a+48>>2];tj(h);an(e,0);kl(e,b,Fi(b));kl(e,c,Fi(c));j=Vn(e);k=ii;f=li(b);i=ii;a:{c=q[a+20>>2];b:{if(!c){break b}c=q[q[a+16>>2]+(lwa(f,i,c)<<2)>>2];if((c|0)==-1){break b}a=q[a+24>>2];while(1){g=a+w(c,136)|0;if((f|0)==q[g>>2]&(i|0)==q[g+4>>2]){break a}c=q[g+128>>2];if((c|0)!=-1){continue}break}}J(151561,151492,744,151803);G()}c:{d:{f=a+w(c,136)|0;if(q[f+80>>2]==(j|0)&q[f+84>>2]==(k|0)){if(Ej(b,q[f+72>>2])){break d}b=a+w(c,136)|0;a=s[b+120>>1];if(!(a&255)){break c}p[b+120>>1]=a&65280|a-1&255;Qj(d);lj(h);fi=e+32|0;return}J(151650,151492,745,151803);G()}J(151811,151492,746,151803);G()}J(151849,151492,747,151803);G()}function GP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;a:{if(c>>>0<=9){b=q[(c<<2)+166664>>2];break a}b=0}if(!b){q[a+4>>2]=q[a+4>>2]+1;return 0}b=Dn(a);b:{if(b){break b}if(q[a+128>>2]!=22){Aj(a,2,10);return-30464}q[a+4>>2]=q[a+4>>2]+1;c=q[a+120>>2];b=r[c|0]==13;q[a+232>>2]=b;if(!b){q[a+176>>2]=1;return 0}d=q[a+168>>2];g=q[a>>2];b=r[g+184|0]&2?12:4;c:{if(d>>>0<=b>>>0){break c}e=r[b+c|0];b=b+e|0;h=b+2|0;if(h>>>0>=d>>>0){break c}d:{if(q[a+20>>2]==3){f=b;b=r[c+h|0]|r[(b+c|0)+1|0]<<8;if((f+b|0)+3>>>0>=d>>>0){break d}e=(b+e|0)+2|0}b=0;f=d;d=c;c=(r[g+184|0]&2?12:4)+e|0;d=d+c|0;if((f|0)==(((r[d+1|0]<<8|r[d+2|0])+c|0)+3|0)){break b}}}Aj(a,2,50);b=-31360}return b}function XY(a,b){var c=0,d=0,e=0,f=0,g=0;c=16;d=a>>>0>16?a:16;a:{if(!(d-1&d)){a=d;break a}while(1){a=c;c=a<<1;if(a>>>0>>0){continue}break}}if(-64-a>>>0<=b>>>0){q[240833]=48;return 0}d=b>>>0<11?16:b+11&-8;c=xi((d+a|0)+12|0);if(!c){return 0}b=c-8|0;b:{if(!(c&a-1)){a=b;break b}f=c-4|0;g=q[f>>2];c=((a+c|0)-1&0-a)-8|0;a=c-b>>>0>15?c:a+c|0;c=a-b|0;e=(g&-8)-c|0;if(!(g&3)){b=q[b>>2];q[a+4>>2]=e;q[a>>2]=b+c;break b}q[a+4>>2]=e|q[a+4>>2]&1|2;e=a+e|0;q[e+4>>2]=q[e+4>>2]|1;q[f>>2]=c|q[f>>2]&1|2;q[a+4>>2]=q[a+4>>2]|1;vv(b,c)}b=q[a+4>>2];c:{if(!(b&3)){break c}c=b&-8;if(c>>>0<=d+16>>>0){break c}q[a+4>>2]=d|b&1|2;b=a+d|0;d=c-d|0;q[b+4>>2]=d|3;c=a+c|0;q[c+4>>2]=q[c+4>>2]|1;vv(b,d)}return a+8|0}function Yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=fi-16|0;fi=f;j=q[a+8>>2]-q[a+12>>2]>>4;e=ls(a);g=e+72|0;a:{b:{d=q[e+76>>2];c:{if(!d){break c}d=q[q[g>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break c}i=q[e+80>>2];while(1){h=(d<<4)+i|0;if(q[h>>2]==(b|0)&q[h+4>>2]==(c|0)){break b}d=q[h+12>>2];if((d|0)!=-1){continue}break}}d=bj(a,8);q[d>>2]=b;q[d+4>>2]=c;zi(a,-1e4,113087);aj(a,-2);Xi(a,-1e4,q[e+124>>2]);Hi(a,-2);q[f+12>>2]=Kn(a,-2);oi(a,-2);d=q[e+88>>2]-q[e+80>>2]>>4;e=q[e+96>>2];if((d|0)==(e|0)){zs(g,e,e+256|0)}As(g,b,c,f+12|0);break a}Xi(a,-1e4,q[e+124>>2]);Xi(a,-1,q[((d<<4)+i|0)+8>>2]);Ok(a,-2)}if((j+1|0)==q[a+8>>2]-q[a+12>>2]>>4){fi=f+16|0;return}J(113092,113117,184,113140);G()}function Fr(a,b,c){var d=0;d=fi-48|0;fi=d;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;b=_j(d+16|0,b);a:{if(b){break a}b=_j(d,c);if(b){break a}b=Er(d+16|0);c=Er(d);c=b>>>0>c>>>0?c:b;b=Nk(d+16|0,c);if(b){break a}b=Nk(d,c);if(b){break a}q[d+16>>2]=1;q[d>>2]=1;if(jj(d+16|0,0)){while(1){b=Nk(d+16|0,Er(d+16|0));if(b){break a}b=Nk(d,Er(d));if(b){break a}b:{if((Dj(d+16|0,d)|0)>=0){b=Tm(d+16|0,d+16|0,d);if(b){break a}b=Nk(d+16|0,1);if(!b){break b}break a}b=Tm(d,d,d+16|0);if(b){break a}b=Nk(d,1);if(b){break a}}if(jj(d+16|0,0)){continue}break}}b=Um(d,c);if(b){break a}b=_j(a,d)}Ji(d+32|0);Ji(d+16|0);Ji(d);fi=d+48|0;return b}function qq(a,b,c,d){var e=0,f=0,g=0;f=fi-16|0;fi=f;a:{if(!d){d=q[a+32>>2];e=0;break a}b:{if((d|0)>=1){d=(q[a+12>>2]+(d<<4)|0)-16|0;e=d>>>0>2]?d:126472;break b}e=q[a+8>>2]+(d<<4)|0;if((d|0)>=-9999){break b}c:{switch(d+10002|0){case 2:e=q[a+16>>2]+96|0;break b;case 1:d=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=d;e=a+88|0;break b;case 0:e=a+72|0;break b;default:break c}}e=q[q[q[a+20>>2]+4>>2]>>2];e=r[e+7|0]<(-10002-d|0)?126472:(e+(0-d<<4)|0)-160024|0}d=q[a+32>>2];e=e-d|0}g=q[a+8>>2];q[f+12>>2]=c;b=g+((b^-1)<<4)|0;q[f+8>>2]=b;b=hE(a,993,f+8|0,b-d|0,e);d:{if((c|0)!=-1){break d}c=q[a+20>>2];a=q[a+8>>2];if(t[c+8>>2]>a>>>0){break d}q[c+8>>2]=a}fi=f+16|0;return b}function _ka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0),h=0;d=fi-16|0;fi=d;a:{if(o[293944]&1){break a}if(!ui(293944)){break a}if(r[852367]){b=Ri(40793)}else{b=-1}q[73485]=b;ti(293944)}b:{if(o[293952]&1){break b}if(!ui(293952)){break b}if(r[852367]){b=Yi(40797,6)}else{b=0}q[73487]=b;ti(293952)}b=q[73485];c:{if((b|0)!=-1){Qi(d,b,40797,q[73487]);break c}q[d>>2]=0}c=q[a+8>>2];_x(q[c+96>>2],u[q[a+4>>2]>>2]);g=u[q[a+4>>2]>>2];u[c+92>>2]=g;Vy(q[c+76>>2],g);e=q[c+32>>2];f=q[c+36>>2];if((e|0)!=(f|0)){b=0;while(1){h=q[(b<<2)+e>>2];if((r[h+22|0]&3)==3){p8(q[h+8>>2],u[q[a+4>>2]>>2]);f=q[c+36>>2];e=q[c+32>>2]}b=b+1|0;if(b>>>0>2>>>0){continue}break}}if(q[d>>2]){Pi(d)}fi=d+16|0;return 0}function Qy(a){var b=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=1065353216;q[a+212>>2]=0;q[a+216>>2]=0;o[a+208|0]=0;q[a+200>>2]=1065353216;q[a+204>>2]=0;q[a+192>>2]=2139095039;q[a+196>>2]=0;o[a+190|0]=0;p[a+188>>1]=0;q[a+180>>2]=1;q[a+184>>2]=7;q[a+12>>2]=0;q[a+16>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+20>>2]=1065353216;q[a+32>>2]=0;q[a+36>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+40>>2]=1065353216;q[a+52>>2]=0;q[a+56>>2]=0;q[a+108>>2]=1065353216;q[a+112>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+92>>2]=1065353216;q[a+96>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+76>>2]=1065353216;q[a+80>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=1065353216;q[a+64>>2]=0;b=ZF(a+220|0);o[a+256|0]=r[a+256|0]&254;f4(b);return a}function Fx(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;q[e+12>>2]=0;f=q[a>>2];q[e+8>>2]=f;b=qr($((Ej(b,123678)?b:0)|0,(c?c:123680)|0,d|0,e+12|0)|0);c=q[e+12>>2];a:{b:{c:{d:{if(!b){if(!c){break c}while(1){e:{if((f|0)==-1){b=Ql(rw(e+8|0,q[c+4>>2],q[c+8>>2],q[c+12>>2]));if(b){break e}}b=Ql(jQ(e+8|0,q[c+20>>2],q[c+16>>2]));if(!b){break d}if(q[e+8>>2]==q[a>>2]){break e}rr(e+8|0)}c=q[c+28>>2];if(!c){break b}f=q[e+8>>2];continue}}if(!c){break a}ki(c);break a}b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[c+28>>2];q[d+24>>2]=q[c+24>>2];q[d+28>>2]=b;b=q[c+20>>2];q[d+16>>2]=q[c+16>>2];q[d+20>>2]=b;b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b}b=0}ki(q[e+12>>2]);q[a>>2]=q[e+8>>2]}fi=e+16|0;return b}function gK(a){var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;a:{if(o[290044]&1){break a}if(!ui(290044)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72510]=b;ti(290044)}b:{if(o[290052]&1){break b}if(!ui(290052)){break b}if(r[852367]){b=Yi(8840,18)}else{b=0}q[72512]=b;ti(290052)}b=q[72510];c:{if((b|0)!=-1){Qi(d,b,8840,q[72512]);break c}q[d>>2]=0}if(a){d:{b=q[a+28068>>2];c=q[a+28064>>2];e=b-c|0;if(!e){break d}if((b|0)!=(c|0)){e=e>>2;b=0;while(1){c=q[(b<<2)+c>>2];e:{if(r[c+4276|0]&2){Ps(c);e=e-1|0;break e}b=b+1|0}if(b>>>0>=e>>>0){break d}c=q[a+28064>>2];if(q[a+28068>>2]-c>>2>>>0>b>>>0){continue}break}}J(12475,10090,447,9406);G()}if(q[d>>2]){Pi(d)}fi=d+16|0;return}J(8859,7150,2644,8870);G()}function rI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=fi-16|0;fi=g;q[a+312>>2]=b;q[a+316>>2]=c;d=q[a+280>>2];h=q[a+276>>2];e=d-h|0;j=e>>3;a:{if(!e){e=0;break a}d=h-d|0;f=((d|0)>(e|0)?d:e)>>>3|0;d=(e|0)>-1?e:-1;d=w(f,(d|0)<1?d:1);d=d>>>0>1?d:1;e=0;while(1){f=h+(e<<3)|0;if(q[f>>2]==(b|0)&q[f+4>>2]==(c|0)){break a}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}b:{if((e|0)==(j|0)){q[g>>2]=Ei(b,c);mi(4,184623,184824,g);b=0;break b}b=e&65535}e=q[a+32>>2];c=q[a+36>>2]-e|0;d=(c|0)/576|0;if(c){d=d>>>0>1?d:1;c=b<<2;while(1){f=e+w(i,576)|0;b=q[f+508>>2];if(b){ji[426](a,s[f+554>>1]|s[f+552>>1]<<16,q[b+c>>2]);q[f+412>>2]=q[f+412>>2]|2097152}i=i+1|0;if((d|0)!=(i|0)){continue}break}}fi=g+16|0}function q$(a,b,c,d){var e=0,f=0,g=0,h=0;g=fi-16|0;fi=g;e=168433;a:{if(!c){break a}b:{h=c+1|0;if(h>>>0<4097){c=q[a+4>>2];c:{if(!c){break c}c=q[q[a>>2]+((d>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break c}e=q[a+8>>2];while(1){f=e+w(c,12)|0;if(q[f>>2]==(d|0)){break b}c=q[f+8>>2];if((c|0)!=-1){continue}break}}e=q[a+32>>2];f=q[e+4096>>2];d:{if(4096-f>>>0>=h>>>0){c=e;break d}c=Ci(4104);q[c+4100>>2]=e;f=0;q[c+4096>>2]=0;q[a+32>>2]=c}e=c+f|0;q[g+12>>2]=e;si(e,b,h);q[c+4096>>2]=q[c+4096>>2]+h;b=q[a+24>>2];if((b|0)==((q[a+16>>2]-q[a+8>>2]|0)/12|0)){b=b+512|0;WH(a,(b<<1>>>0)/3|0,b)}XH(a,d,g+12|0);e=q[g+12>>2];break a}J(168434,168449,69,168476);G()}e=q[(e+w(c,12)|0)+4>>2]}fi=g+16|0;return e}function Kea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=x(0),g=x(0),h=0;d=fi+ -64|0;fi=d;if(a){e=q[a+4>>2];a:{if(o[a+24|0]&1){u[d+48>>2]=u[b>>2];u[d+52>>2]=u[b+4>>2];u[d+56>>2]=u[b+8>>2];a=q[d+48>>2];b=q[d+52>>2];u[e+24>>2]=u[d+56>>2];break a}a=q[e+16>>2];h=q[e+20>>2];u[d+40>>2]=u[e+24>>2];q[d+32>>2]=a;q[d+36>>2]=h;f=u[b>>2];u[d+32>>2]=f;g=u[b+4>>2];u[d+20>>2]=g;u[d+16>>2]=f;u[d+36>>2]=g;u[d+24>>2]=u[d+40>>2];a=q[d+16>>2];b=q[d+20>>2];u[e+24>>2]=u[d+24>>2]}q[e+16>>2]=a;q[e+20>>2]=b;u[d>>2]=u[c>>2];u[d+4>>2]=u[c+4>>2];u[d+8>>2]=u[c+8>>2];u[d+12>>2]=u[c+12>>2];a=q[d>>2];b=q[d+4>>2];c=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=c;q[e>>2]=a;q[e+4>>2]=b;q[73340]=q[73340]+1}fi=d- -64|0}function $w(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;q[d+12>>2]=0;b=Lj(a,b,d+28|0,48);a:{if(b){b=b-15616|0;break a}e=q[a>>2]+q[d+28>>2]|0;b=qR(a,e,d+12|0,d+16|0);if(b){break a}b=MD(a,e,d+28|0);if(b){b=b-15104|0;break a}b=-15206;if((q[a>>2]+q[d+28>>2]|0)!=(e|0)){break a}b=q[d+12>>2]-1|0;b:{if(b>>>0<=3){b=q[(b<<2)+268748>>2];break b}b=0}if(!b){b=-15488;break a}b=_w(c,b);if(b){break a}c:{f=q[d+12>>2];d:{if((f|0)==1){b=Gw(a,e,q[c+4>>2]);break d}b=-15488;if((f&-2)!=2){break c}b=mR(d+16|0,q[c+4>>2]);if(b){break c}b=rR(a,e,q[c+4>>2])}if(b){break c}b=-15206;if(q[a>>2]!=(e|0)){break c}b=0;break a}if(c){a=q[c>>2];if(a){ji[q[a+40>>2]](q[c+4>>2])}ji[q[66742]](c,0,8)|0}}fi=d+32|0;return b}function WT(a){var b=0;b=-28928;a:{if(!q[a+68>>2]|q[a+4>>2]==16){break a}b=tp(a);if(b){break a}if(!(!(r[q[a>>2]+184|0]&2)|r[q[a+68>>2]+492|0]!=1)){b=gq(a);if(b){break a}}b=-28928;b:{c:{d:{e:{f:{g:{switch(q[a+4>>2]){case 12:if(!q[q[a+68>>2]+2268>>2]){break f}q[a+4>>2]=17;case 17:return AP(a);case 0:q[a+4>>2]=1;break b;case 1:return fP(a);case 2:return vP(a);case 3:return RT(a);case 4:return tP(a);case 5:return GP(a);case 6:return uP(a);case 7:return ET(a);case 8:return eP(a);case 9:return gP(a);case 10:return DT(a);case 15:break c;case 14:break d;case 13:break e;case 11:break g;default:break a}}return CT(a)}return QT(a)}return PT(a)}q[a+4>>2]=15;break b}UT(a)}b=0}return b}function WE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[960132]&1){break a}if(!ui(960132)){break a}if(r[852367]){e=Ri(202834)}else{e=-1}q[240032]=e;ti(960132)}b:{if(o[960140]&1){break b}if(!ui(960140)){break b}if(r[852367]){e=Yi(202845,9)}else{e=0}q[240034]=e;ti(960140)}e=q[240032];c:{if((e|0)!=-1){Qi(f,e,202845,q[240034]);break c}q[f>>2]=0}e=1;d:{switch(r[a+8|0]-1|0){default:J(202855,202857,69,202896);G();case 1:e=2;break;case 0:break d}}c=PO(q[a+12>>2],e,b,c>>>1|0);e=-3;e:{if((c|0)<0){break e}b=1;f:{switch(r[a+8|0]-1|0){default:J(202855,202857,80,202896);G();case 1:b=2;break;case 0:break f}}q[d>>2]=c<>2]){Pi(f)}fi=f+16|0;return e|0}function gra(a){var b=0,c=0,d=0;b=-2;a:{if(!a){break a}c=q[a+28>>2];if(!q[a+36>>2]|(!c|!q[a+32>>2])){break a}q[a+44>>2]=2;q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=q[c+8>>2];b=q[c+24>>2];if((b|0)<=-1){b=0-b|0;q[c+24>>2]=b}q[c+4>>2]=b?42:113;d=a;b:{if((b|0)==2){b=bl(0,0,0);break b}b=Vp(0,0,0)}q[d+48>>2]=b;b=0;q[c+40>>2]=0;pua(c);a=q[a+28>>2];q[a+60>>2]=q[a+44>>2]<<1;d=(q[a+76>>2]<<1)-2|0;c=q[a+68>>2];p[d+c>>1]=0;qi(c,0,d);q[a+5812>>2]=0;q[a+116>>2]=0;q[a+120>>2]=2;q[a+104>>2]=0;q[a+108>>2]=0;q[a+92>>2]=0;q[a+96>>2]=2;q[a+72>>2]=0;d=w(q[a+132>>2],12)+287232|0;q[a+144>>2]=s[d+4>>1];q[a+140>>2]=s[d>>1];q[a+128>>2]=s[d+2>>1];q[a+124>>2]=s[d+6>>1]}return b}function GN(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),r=x(0),s=0;if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));r=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=p[(a<<2)+c>>1];h=x(o*x(a|0));l=x(+x(i+x(r*h))*1.5707963267948966);k=rl(l);m=a<<1|1;s=p[(m<<1)+c>>1];n=(a<<3)+e|0;h=x(g+x(j*h));u[n>>2]=u[n>>2]+x(k*x(h*x(d|0)));l=nk(l);d=(m<<2)+e|0;u[d>>2]=u[d>>2]+x(l*x(h*x(s|0)));a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(202394,201413,999,202461);G()}function nu(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c){f=-10;e=q[a+4>>2];d=q[e+4>>2];b:{if(!d){break b}d=q[q[e>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break b}e=q[e+8>>2];while(1){g=e+w(d,24)|0;if(q[g>>2]!=(b|0)){d=q[g+16>>2];if((d|0)!=-1){continue}break b}break}c:{a=q[a>>2];b=q[a+4>>2];d:{if(!b){break d}d=e+w(d,24)|0;f=q[d+8>>2];e=q[d+12>>2];d=q[q[a>>2]+(lwa(f,e,b)<<2)>>2];if((d|0)==-1){break d}a=q[a+8>>2];while(1){b=a+w(d,48)|0;if(q[b>>2]==(f|0)&(e|0)==q[b+4>>2]){break c}d=q[b+40>>2];if((d|0)!=-1){continue}break}}J(26328,24439,1523,26320);G()}a=a+w(d,48)|0;if(!q[a+36>>2]){break a}q[c>>2]=q[a+32>>2];f=0}return f}J(26315,24439,1514,26320);G()}J(26331,24439,1524,26320);G()}function DU(a,b){q[a>>2]=r[b+3|0]<<24&251658240|(r[b|0]|r[b+1|0]<<8|r[b+2|0]<<16);q[a+4>>2]=(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))&268435452;q[a+8>>2]=(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24))&268435452;q[a+12>>2]=(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24))&268435452;q[a+16>>2]=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);q[a+20>>2]=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);q[a+24>>2]=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);b=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);q[a+32>>2]=0;q[a+36>>2]=0;q[a+28>>2]=b;q[a+40>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;ji[q[66742]](a+52|0,0,16)|0;q[a+68>>2]=0;return 0}function Ada(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{d:{e:{if(a){if(!c){break e}if(!b){break d}O(34962,c|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break c}}if(s[b+160>>1]){a=0;while(1){c=w(a,20)+b|0;Wa(s[c+4>>1]);if(r[q[74995]+104|0]&8){d=K()|0;if(d){break b}}Qa(s[c+4>>1],s[c+8>>1],q[(q[c+12>>2]<<2)+81328>>2],r[c+16|0],s[b+162>>1],s[c+10>>1]);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break a}}a=a+1|0;if(a>>>0>1]){continue}break}}return}J(79156,79164,1485,81259);G()}J(81289,79164,1486,81259);G()}J(81303,79164,1487,81259);G()}Mi(a,81259,1491);J(79249,79164,1491,81259);G()}Mi(d,81259,1496);J(79249,79164,1496,81259);G()}Mi(c,81259,1505);J(79249,79164,1505,81259);G()}function mq(a,b,c){var d=0,e=0,f=0,g=0;d=-96;a:{e=q[a>>2];f=b-e|0;if((f|0)<1){break a}g=r[e|0];b:{if(!(g&128)){d=e+1|0;q[a>>2]=d;a=c;c=r[e|0];q[a>>2]=c;break b}d=-100;c:{d:{switch((g&127)-1|0){case 0:d=-96;if((f|0)<2){break a}d=c;c=r[e+1|0];q[d>>2]=c;d=e+2|0;break c;case 1:d=-96;if((f|0)<3){break a}d=c;c=r[e+2|0]|r[e+1|0]<<8;q[d>>2]=c;d=e+3|0;break c;case 2:d=-96;if((f|0)<4){break a}d=c;c=r[e+3|0]|(r[e+2|0]<<8|r[e+1|0]<<16);q[d>>2]=c;d=e+4|0;break c;case 3:break d;default:break a}}d=-96;if((f|0)<5){break a}d=c;c=r[e+1|0]|r[e+2|0]<<8|(r[e+3|0]<<16|r[e+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);q[d>>2]=c;d=e+5|0}q[a>>2]=d}return b-d>>>0>>0?-96:0}return d}function hz(a,b,c,d){var e=0;e=fi-48|0;fi=e;o[e+32|0]=0;q[e>>2]=a;q[e+12>>2]=e+16|2;o[e+31|0]=r[(b&15)+151984|0];o[e+24|0]=r[(b>>>28|0)+151984|0];a=o[(c>>>28|0)+151984|0];o[e+16|0]=a;q[e+4>>2]=a;o[e+30|0]=r[(b>>>4&15)+151984|0];o[e+29|0]=r[(b>>>8&15)+151984|0];o[e+28|0]=r[(b>>>12&15)+151984|0];o[e+27|0]=r[(b>>>16&15)+151984|0];o[e+26|0]=r[(b>>>20&15)+151984|0];o[e+25|0]=r[(b>>>24&15)+151984|0];o[e+23|0]=r[(c&15)+151984|0];o[e+22|0]=r[(c>>>4&15)+151984|0];o[e+21|0]=r[(c>>>8&15)+151984|0];o[e+20|0]=r[(c>>>12&15)+151984|0];o[e+19|0]=r[(c>>>16&15)+151984|0];o[e+18|0]=r[(c>>>20&15)+151984|0];a=o[(c>>>24&15)+151984|0];o[e+17|0]=a;q[e+8>>2]=a;cj(d,1024,151962,e);fi=e+48|0}function Pja(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];e=q[b+4>>2];c=q[b>>2];d=e-c|0;a=(d|0)/104|0;a:{if(!d){break a}if((c|0)!=(e|0)){e=a>>>0>1?a:1;a=0;while(1){c=w(a,104)+c|0;d=q[c+8>>2];if(d){$E(d);aF(q[c+8>>2]);Di(q[c>>2],q[c+4>>2])}a=a+1|0;if((e|0)==(a|0)){break a}c=q[b>>2];if((q[b+4>>2]-c|0)/104>>>0>a>>>0){continue}break}}J(50690,50340,447,50701);G()}b:{if(o[b+80|0]&1){break b}a=q[b+68>>2];if(!a){break b}ki(a)}c:{if(o[b+64|0]&1){break c}a=q[b+52>>2];if(!a){break c}ki(a)}d:{if(o[b+44|0]&1){break d}a=q[b+32>>2];if(!a){break d}ki(a)}e:{if(o[b+28|0]&1){break e}a=q[b+16>>2];if(!a){break e}ki(a)}f:{if(o[b+12|0]&1){break f}a=q[b>>2];if(!a){break f}ki(a)}ki(b);return 0}function Hq(a,b,c){var d=x(0),e=x(0),f=x(0),g=0,h=0,i=0,j=0,k=x(0),l=x(0),m=x(0);a:{b:{if((b|0)!=1){h=b-1|0;if(h){break b}b=0;break a}return x(u[a+4>>2]+x(x(x(c-u[a>>2])*u[a+12>>2])/u[a+8>>2]))}g=b-2|0;b=0;while(1){i=b+1|0;j=(i<<4)+a|0;c:{e=u[(b<<4)+a>>2];d:{if(!(e<=c^1)){f=u[j>>2];if((b|0)==(g|0)|f>c){break d}break c}if((b|0)!=(g|0)){break c}f=u[j>>2];b=g}d=x(x(c-e)/x(f-e));break a}b=i;if((h|0)!=(b|0)){continue}break}b=0}c=x(d*d);e=x(d*c);m=x(e-c);a=(b<<4)+a|0;c=x(u[a+16>>2]-u[a>>2]);f=x(d*x(d*x(3)));k=x(d*x(d+d));l=x(d*k);return x(x(m*x(x(c*u[a+28>>2])/u[a+24>>2]))+x(x(x(f-l)*u[a+20>>2])+x(x(u[a+4>>2]*x(x(l-f)+x(1)))+x(x(d+x(e-k))*x(x(u[a+12>>2]*c)/u[a+8>>2])))))}function jK(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-16|0;fi=c;a:{b:{switch(q[b>>2]){case 0:g=v[b+8>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=g;q[a+8>>2]=q[a+8>>2]+16;break a;case 1:Yj(a,q[b+8>>2],q[b+12>>2]);break a;case 2:Ml(a,b+8|0);break a;case 3:d=q[b+8>>2];e=q[b+12>>2];u[c+8>>2]=u[b+16>>2];q[c>>2]=d;q[c+4>>2]=e;hl(a,c);break a;case 4:d=q[b+8>>2];e=q[b+12>>2];f=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=f;q[c>>2]=d;q[c+4>>2]=e;mo(a,c);break a;case 5:d=q[b+8>>2];e=q[b+12>>2];f=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=f;q[c>>2]=d;q[c+4>>2]=e;Aq(a,c);break a;case 6:break b;default:break a}}b=r[b+8|0];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0}function Ey(a,b,c){var d=0;d=fi+ -64|0;fi=d;a=rj(a,b,q[60192],q[c>>2]+4|0);a:{if(a){q[d+48>>2]=a;mi(4,24355,24505,d+48|0);a=-2;break a}a=q[c>>2];b=q[a+4>>2];a=rj(q[b>>2],q[b+4>>2],q[60164],a+8|0);if(a){q[d+32>>2]=a;mi(4,24355,24535,d+32|0);Ui(q[q[c>>2]+4>>2]);q[q[c>>2]+4>>2]=0;a=-2;break a}b=q[q[c>>2]+8>>2];a=q[b>>2];if((a|0)!=1137405190){q[d+20>>2]=a;q[d+16>>2]=1137405190;mi(4,24355,24570,d+16|0);Ui(q[q[c>>2]+8>>2]);Ui(q[q[c>>2]+4>>2]);q[q[c>>2]+8>>2]=0;q[q[c>>2]+4>>2]=0;a=-13;break a}b=q[b+4>>2];a=0;if((b|0)==4){break a}q[d+4>>2]=b;q[d>>2]=4;mi(4,24355,24624,d);Ui(q[q[c>>2]+8>>2]);Ui(q[q[c>>2]+4>>2]);q[q[c>>2]+8>>2]=0;q[q[c>>2]+4>>2]=0;a=-19}fi=d- -64|0;return a}function jva(){q[65141]=q[72890];q[72890]=260536;q[210302]=1;q[210300]=-990112893;q[210301]=-1808347863;q[210299]=125794;q[210298]=1;q[210305]=0;o[841216]=0;q[210303]=q[210296];q[210305]=q[72890];q[72890]=841192;q[210312]=1;q[210310]=-646628091;q[210311]=-486267828;q[210309]=125809;q[210308]=1;q[210315]=0;o[841256]=0;q[210313]=q[210307];q[210315]=q[72890];q[72890]=841232;q[65175]=q[72890];q[72890]=260672;q[210324]=1;q[210322]=-588138364;q[210323]=-388737994;q[210321]=125870;q[210320]=1;q[210327]=0;o[841304]=0;q[210325]=q[210318];q[210327]=q[72890];q[72890]=841280;q[65217]=q[72890];q[72890]=260840;q[65237]=q[72890];q[72890]=260920;q[65253]=q[72890];q[72890]=260984}function x2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-32|0;fi=c;g=q[a+8>>2]-q[a+12>>2]>>4;b=ls(a);e=Ni(a,1,0);h=li(e);i=ii;a:{b:{d=q[b+12>>2];c:{if(!d){break c}d=q[q[b+8>>2]+(lwa(h,i,d)<<2)>>2];if((d|0)==-1){break c}b=q[b+16>>2];while(1){f=b+(d<<5)|0;if(q[f>>2]==(h|0)&(i|0)==q[f+4>>2]){break b}d=q[f+24>>2];if((d|0)!=-1){continue}break}}q[c>>2]=e;nj(a,115498,c);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(115427,115337,150,115513);G()}b=b+(d<<5)|0;if(!tF(a,q[b+8>>2],q[b+12>>2],e)){b=_i(a,1,0);q[c+24>>2]=_i(a,-1,0);q[c+20>>2]=e;q[c+16>>2]=b;ni(a,115524,c+16|0)}if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(115427,115337,159,115513);G()}fi=c+32|0;return 1}function Yja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;a:{b:{c:{b=q[a+64>>2];c=q[b+68>>2];d=q[b+72>>2];d:{if((c|0)==(d|0)){q[e>>2]=c;mi(4,48249,48257,e);a=-1e3;break d}f=q[b+64>>2];if(!f){break c}if(d>>>0>=c>>>0){break b}q[b+72>>2]=d+1;d=q[(d<<2)+f>>2];c=q[b+52>>2];b=q[b+48>>2];if(d>>>0>=(c-b|0)/48>>>0){break a}c=q[a+20>>2];f=q[a+16>>2];b=b+w(d,48)|0;u[b+8>>2]=u[a+24>>2];q[b>>2]=f;q[b+4>>2]=c;u[b+16>>2]=u[a+32>>2];u[b+20>>2]=u[a+36>>2];u[b+24>>2]=u[a+40>>2];u[b+28>>2]=u[a+44>>2];q[b+32>>2]=q[a+60>>2];p[b+36>>1]=s[b+36>>1]&65534;q[q[a+72>>2]>>2]=b;a=0}fi=e+16|0;return a|0}J(49021,48947,151,49028);G()}J(49032,48947,152,49028);G()}J(48739,48652,447,48750);G()}function kta(a,b){o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;o[a|0]=r[r[b|0]+95687|0];o[a+1|0]=r[r[b+1|0]+95687|0];o[a+2|0]=r[r[b+2|0]+95687|0];o[a+3|0]=r[r[b+3|0]+95687|0];o[a+4|0]=r[r[b+4|0]+95687|0];o[a+5|0]=r[r[b+5|0]+95687|0];o[a+6|0]=r[r[b+6|0]+95687|0];o[a+7|0]=r[r[b+7|0]+95687|0];o[a+8|0]=r[r[b+8|0]+95687|0];o[a+9|0]=r[r[b+9|0]+95687|0];o[a+10|0]=r[r[b+10|0]+95687|0];o[a+11|0]=r[r[b+11|0]+95687|0];o[a+12|0]=r[r[b+12|0]+95687|0];o[a+13|0]=r[r[b+13|0]+95687|0];o[a+14|0]=r[r[b+14|0]+95687|0];o[a+15|0]=r[r[b+15|0]+95687|0]}function cta(a,b){var c=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;c=hj(b,0,0);o[Gi(a,0,0)|0]=c;c=hj(b,0,0);o[Gi(a,1,0)|0]=c;c=hj(b,1,0);o[Gi(a,2,0)|0]=c;c=hj(b,2,0);o[Gi(a,3,0)|0]=c;c=hj(b,0,1);o[Gi(a,0,1)|0]=c;c=hj(b,0,1);o[Gi(a,1,1)|0]=c;c=hj(b,1,1);o[Gi(a,2,1)|0]=c;c=hj(b,2,1);o[Gi(a,3,1)|0]=c;c=hj(b,0,2);o[Gi(a,0,2)|0]=c;c=hj(b,0,2);o[Gi(a,1,2)|0]=c;c=hj(b,1,2);o[Gi(a,2,2)|0]=c;c=hj(b,2,2);o[Gi(a,3,2)|0]=c;c=hj(b,0,3);o[Gi(a,0,3)|0]=c;c=hj(b,0,3);o[Gi(a,1,3)|0]=c;c=hj(b,1,3);o[Gi(a,2,3)|0]=c;b=hj(b,2,3);o[Gi(a,3,3)|0]=b}function bta(a,b){var c=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;c=hj(b,0,3);o[Gi(a,0,0)|0]=c;c=hj(b,1,3);o[Gi(a,1,0)|0]=c;c=hj(b,2,3);o[Gi(a,2,0)|0]=c;c=hj(b,3,3);o[Gi(a,3,0)|0]=c;c=hj(b,0,0);o[Gi(a,0,1)|0]=c;c=hj(b,1,0);o[Gi(a,1,1)|0]=c;c=hj(b,2,0);o[Gi(a,2,1)|0]=c;c=hj(b,3,0);o[Gi(a,3,1)|0]=c;c=hj(b,0,1);o[Gi(a,0,2)|0]=c;c=hj(b,1,1);o[Gi(a,1,2)|0]=c;c=hj(b,2,1);o[Gi(a,2,2)|0]=c;c=hj(b,3,1);o[Gi(a,3,2)|0]=c;c=hj(b,0,2);o[Gi(a,0,3)|0]=c;c=hj(b,1,2);o[Gi(a,1,3)|0]=c;c=hj(b,2,2);o[Gi(a,2,3)|0]=c;b=hj(b,3,2);o[Gi(a,3,3)|0]=b}function _o(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{b:{c:{switch(d|0){case 0:f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){g=1;break b}break a;case 3:h=3;g=3;f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){break b}break a;case 4:h=4;g=4;f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){break b}break a;case 5:f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){g=4;h=5;break b}break a;default:break c}}J(13913,13798,286,13919);G()}q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=h;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;c=q[d+20>>2];d=0;while(1){u[c+(b+d<<2)>>2]=u[(d<<2)+e>>2];d=d+1|0;if((g|0)!=(d|0)){continue}break}q[a+8>>2]=q[a+8>>2]+g;return}J(14016,13798,256,14079);G()}function Sl(a,b){var c=0;a:{b:{c:{d:{e:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break e}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break e}f:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break e;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break e;case 0:c=a+72|0;break e;default:break f}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;c=q[b+8>>2];switch(c-5|0){case 2:break c;case 0:break d;default:break b}}b=q[b>>2]+8|0;break a}b=q[b>>2]+8|0;break a}b=(q[a+16>>2]+(c<<2)|0)+152|0}b=q[b>>2];if(!b){return 0}c=q[a+8>>2];q[c+8>>2]=5;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Wla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(q[b+8>>2]!=2){J(35295,35351,550,35403);G()}d=q[b+32>>2];c=q[b+36>>2];q[a+72>>2]=q[b+32>>2];q[a+76>>2]=c;e=q[b+28>>2];c=a- -64|0;q[c>>2]=q[b+24>>2];q[c+4>>2]=e;c=q[b+20>>2];q[a+56>>2]=q[b+16>>2];q[a+60>>2]=c;c=q[b+12>>2];q[a+48>>2]=q[b+8>>2];q[a+52>>2]=c;c=q[b+4>>2];q[a+40>>2]=q[b>>2];q[a+44>>2]=c;c=q[b+12>>2];q[a+88>>2]=q[b+8>>2];q[a+92>>2]=c;c=q[b+20>>2];q[a+96>>2]=q[b+16>>2];q[a+100>>2]=c;c=q[b+28>>2];q[a+104>>2]=q[b+24>>2];q[a+108>>2]=c;c=q[b+36>>2];q[a+112>>2]=q[b+32>>2];q[a+116>>2]=c;c=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=c;b=q[d+36>>2];q[a+120>>2]=380;q[a+88>>2]=0;q[a+92>>2]=b;q[a+80>>2]=b;q[a+84>>2]=0}function DF(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=fi-16|0;fi=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{h=q[b+4>>2]>>>22&63;switch(h-2|0){case 12:break c;case 7:break d;case 0:break e;case 6:break f;case 2:break g;case 11:break h;case 3:break i;default:break b}}q[q[b+12>>2]+c>>2]=q[f>>2];break a}q[q[b+12>>2]+c>>2]=q[f>>2];break a}a=q[b+12>>2]+c|0;b=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=b;break a}o[q[b+12>>2]+c|0]=r[f|0];break a}u[q[b+12>>2]+c>>2]=u[f>>2];break a}j=q[d>>2];h=Fi(f)+1|0;j:{if(j+h>>>0>t[e>>2]){ni(a,112477,0);break j}si(j,f,h);q[q[b+12>>2]+c>>2]=q[d>>2]-g}q[d>>2]=h+q[d>>2];break a}q[q[b+12>>2]+c>>2]=q[f>>2];break a}q[i+4>>2]=q[b>>2];q[i>>2]=h;ni(a,112502,i)}fi=i+16|0}function AV(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi+ -64|0;fi=d;e=-54;a:{if(c>>>0>1024){break a}q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;b:{if(q[a+20>>2]?0:q[a+16>>2]<=q[a+28>>2]){break b}e=xD(a,0,0);if(!e){break b}break a}c:{if(c){h=a+32|0;while(1){e=16;while(1){if(e){e=e-1|0;g=e+a|0;f=r[g|0]+1|0;o[g|0]=f;if((f|0)!=(f&255)){continue}}break}if(nm(h,1,a,d)){break c}e=c>>>0<16?c:16;b=si(b,d,e)+e|0;c=c-e|0;if(c){continue}break}}if(uL(a,d+16|0)){break c}q[a+16>>2]=q[a+16>>2]+1}ji[q[66742]](d+16|0,0,48)|0;ji[q[66742]](d,0,16)|0;e=0}fi=d- -64|0;return e}function yba(a,b,c,d,e){var f=0,g=0,h=x(0),i=0;f=fi-16|0;fi=f;a:{b:{g=c&65535;i=q[b+36>>2];b=q[b+32>>2];if(g>>>0<(i-b|0)/576>>>0){if(s[(b+w(g,576)|0)+552>>1]!=(c>>>16|0)){break b}if(s[(b+w(g,576)|0)+554>>1]!=(c&65535)){break a}c=Su(d,e);c:{if(c){b=(b+w(g,576)|0)+(q[c+8>>2]<<4)|0;c=r[c+12|0];if((c|0)==255){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];break c}h=u[b+(c<<2)>>2];u[a+12>>2]=h;u[a+8>>2]=h;u[a+4>>2]=h;u[a>>2]=h;break c}q[f>>2]=Ei(d,e);mi(4,184623,185561,f);q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}fi=f+16|0;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function s8(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-32|0;fi=d;a:{b:{c:{g=b&65535;e=q[a+32>>2];h=(q[a+36>>2]-e|0)/576|0;if(g>>>0>>0){if(s[(w(g,576)+e|0)+552>>1]!=(b>>>16|0)){break c}i=w(g,576)+e|0;if(s[i+554>>1]!=(b&65535)){break b}f=s[i+560>>1];b=0;d:{if((f|0)==65535){break d}if(f>>>0>=h>>>0){break a}b=w(f,576)+e|0}f=q[c+4>>2];h=q[c>>2];u[d+8>>2]=u[c+8>>2];q[d>>2]=h;q[d+4>>2]=f;Ez(d+16|0,a,i,b,d);b=q[d+24>>2];c=q[d+20>>2];u[i>>2]=u[d+16>>2];a=w(g,576)+e|0;q[a+12>>2]=1065353216;q[a+4>>2]=c;q[a+8>>2]=b;q[a+412>>2]=q[a+412>>2]|2097152;fi=d+32|0;return}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function hoa(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;g=fi-16|0;fi=g;c=q[a+12>>2];e=0;a:{if(!c){break a}e=q[c+120>>2]}i=q[e+8>>2]-q[e+12>>2]>>4;c=q[a+4>>2];q[g+8>>2]=c;f=q[a+8>>2];_x(q[f+16>>2],u[c>>2]);b:{a=q[f+4>>2];d=q[f>>2];c=a-d|0;if(!c){break b}if((a|0)!=(d|0)){a=d-a|0;j=((a|0)>(c|0)?a:c)>>>2|0;a=(c|0)>-1?c:-1;a=w(j,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){d=q[(a<<2)+d>>2];if(o[d+32|0]&1){h=(gv(e,q[d>>2],2,d,g+8|0)|0)==-1?-1e3:h}a=a+1|0;if((c|0)==(a|0)){break b}d=q[f>>2];if(q[f+4>>2]-d>>2>>>0>a>>>0){continue}break}}J(13720,13636,447,13522);G()}o[b|0]=1;if(q[e+8>>2]-q[e+12>>2]>>4!=(i|0)){J(12758,12779,242,12829);G()}fi=g+16|0;return h|0}function dz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=w(c,20)+b|0;e=(c<<4)+a|0;f=q[e>>2];q[d>>2]=f;q[d+4>>2]=q[e+4>>2];q[d+8>>2]=q[e+8>>2];e=q[e+12>>2];q[d+16>>2]=-1;q[d+12>>2]=e;a:{b:{switch(f|0){case 1:return ZG(a,b,c);case 2:d=c+1|0;if((e|0)<1){return d}i=e-1|0;f=0;while(1){c:{d:{e:{g=(d<<4)+a|0;h=q[g>>2];switch(h|0){case 0:case 3:break e;default:break d}}c=w(d,20)+b|0;q[c>>2]=h;q[c+4>>2]=q[g+4>>2];q[c+8>>2]=q[g+8>>2];g=q[g+12>>2];q[c+16>>2]=-1;q[c+12>>2]=g;c=d+1|0;break c}c=dz(a,b,d)}if((f|0)<(i|0)){q[(w(d,20)+b|0)+16>>2]=c}d=c;f=f+1|0;if((e|0)!=(f|0)){continue}break}break a;default:J(156228,156230,117,156251);G();case 0:case 3:break b}}c=c+1|0}return c}function n7(a){var b=0,c=0,d=x(0);if(!r[842372]){p7();q[210480]=7;q[210478]=5;q[210479]=6;q[210476]=3;q[210477]=4;q[210474]=1;q[210475]=2;q[210472]=1;q[210473]=0;q[210470]=0;q[210471]=2;o[842372]=1}b=Ci(56);q[b+24>>2]=0;q[b+28>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+28>>2]=-1;c=xi(16);o[b+4|0]=16;q[b>>2]=c;o[c+8|0]=8;o[c+9|0]=9;o[c+10|0]=10;o[c+11|0]=11;o[c+12|0]=12;o[c+13|0]=13;o[c+14|0]=14;o[c+15|0]=15;o[c|0]=0;o[c+1|0]=1;o[c+2|0]=2;o[c+3|0]=3;o[c+4|0]=4;o[c+5|0]=5;o[c+6|0]=6;o[c+7|0]=7;q[b+40>>2]=q[a>>2];u[b+44>>2]=u[a+4>>2];d=u[a+8>>2];q[b+52>>2]=1063675494;u[b+48>>2]=d;return b}function Nka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+4>>2];e=q[b+16>>2];d=q[q[a+12>>2]>>2];if(d>>>0>2]-e>>3>>>0){e=q[e+(d<<3)>>2];f=q[b>>2];if(e>>>0<(q[b+4>>2]-f|0)/240>>>0){b=q[a+16>>2];d=q[b+80>>2];if(d){NK(d,b+96|0);b=q[a+16>>2]}c=q[b+68>>2];a=c;d=q[b+64>>2];c=q[59647];if((d|0)==q[c+8>>2]&q[c+12>>2]==(a|0)){a=f+w(e,240)|0;o[a+238|0]=r[a+238|0]|1;return 0}c=q[59648];if((d|0)==q[c+8>>2]&(a|0)==q[c+12>>2]){a=f+w(e,240)|0;o[a+238|0]=r[a+238|0]&254;return 0}c=q[61802];if((d|0)==q[c+8>>2]&(a|0)==q[c+12>>2]){a=f+w(e,240)|0;f=a;if(r[a+238|0]&4){ki(q[a+232>>2])}q[a+232>>2]=Sk(q[b+96>>2]);o[f+238|0]=r[f+238|0]|4}return 0}}J(43678,43572,447,43689);G()}function MI(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=fi-16|0;fi=g;p[g+8>>1]=d;p[g+4>>1]=c;q[g>>2]=-1;p[g+6>>1]=0;Qz(a,b,e,g,f);a:{b=s[g>>1];if((b|0)!=65535){f=0;while(1){d=b&65535;h=q[e>>2];i=(q[e+4>>2]-h|0)/24|0;if(d>>>0>=i>>>0){break a}b=h+w(d,24)|0;j=s[b+16>>1];k=0;b:{if((j|0)==65535){break b}if(j>>>0>=i>>>0){break a}k=(h+w(j,24)|0)+4|0}i=k;j=s[b+20>>1];h=q[a+32>>2];if(j>>>0>=(q[a+36>>2]-h|0)/576>>>0){break a}h=h+w(j,576)|0;$H(h,b,b+4|0,i,f&65535,s[g+6>>1],s[g+8>>1],c);i=s[h+562>>1];h=s[g+6>>1];MI(a,i,s[g+4>>1]+(h?32-z(h)|0:0)&65535,s[g+8>>1],e,d);f=f+1|0;b=s[b+18>>1];if((b|0)!=65535){continue}break}}fi=g+16|0;return}J(186773,186599,447,186784);G()}function cia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-96|0;fi=e;f=q[a+8>>2]-q[a+12>>2]|0;g=Kj(a);h=Pj(a,2);i=ii;b=Pj(a,3);j=ii;c=b;d=tm(a,4);b=e;q[b+72>>2]=c;q[b+76>>2]=j;q[b+64>>2]=h;q[b+68>>2]=i;u[b+80>>2]=u[d>>2];u[b+84>>2]=u[d+4>>2];u[b+88>>2]=u[d+8>>2];u[b+92>>2]=u[d+12>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[61140];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],g,c,b- -64|0,32);if(f>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(67050,66868,308,67087);G()}fi=e+96|0;return 0}function IL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;c=1;a:{b:{switch(b-a>>2){case 2:b=b-4|0;if(t[b>>2]>=t[a>>2]){break a}ol(a,b);break a;case 3:_p(a,a+4|0,b-4|0);break a;case 4:ew(a,a+4|0,a+8|0,b-4|0);break a;case 5:aw(a,a+4|0,a+8|0,a+12|0,b-4|0);break a;case 0:case 1:break a;default:break b}}e=a+8|0;_p(a,a+4|0,e);d=a+12|0;c:{while(1){g=(b|0)==(d|0);if(g){break c}d:{if(t[d>>2]>2]){q[f+12>>2]=q[d>>2];h=d;while(1){e:{c=e;q[h>>2]=q[c>>2];if((a|0)==(c|0)){c=a;break e}h=c;e=c-4|0;if(t[f+12>>2]>2]){continue}}break}q[c>>2]=q[f+12>>2];i=i+1|0;if((i|0)==8){break d}}e=d;d=d+4|0;continue}break}c=(d+4|0)==(b|0)}c=c|g}fi=f+16|0;return c&1}function HN(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),p=x(0);if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));p=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=r[a+c|0];h=x(o*x(a|0));l=x(+x(i+x(p*h))*1.5707963267948966);k=rl(l);m=a<<3;n=m+e|0;h=x(x(g+x(j*h))*x(x(x(d>>>0)+x(-128))*x(255)));u[n>>2]=u[n>>2]+x(k*h);l=nk(l);d=(m|4)+e|0;u[d>>2]=u[d>>2]+x(l*h);a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(202394,201413,974,202437);G()}function Boa(a){var b=0,c=0,d=0;a:{if(o[a+4264|0]&1){break a}b=q[a+4252>>2];if(!b){break a}ki(b)}b:{if(o[a+4208|0]&1){break b}b=q[a+4196>>2];if(!b){break b}ki(b)}c:{if(o[a+4192|0]&1){break c}b=q[a+4172>>2];if(b){ki(b)}b=q[a+4164>>2];if(!b){break c}ki(b)}d:{if(o[a+4160|0]&1){break d}b=q[a+4148>>2];if(!b){break d}ki(b)}c=a+4148|0;d=a+2100|0;while(1){b=c;c=b-16|0;e:{if(o[b-4|0]&1){break e}b=q[c>>2];if(!b){break e}ki(b)}if((c|0)!=(d|0)){continue}break}f:{if(o[a+2096|0]&1){break f}b=q[a+2084>>2];if(!b){break f}ki(b)}g:{if(o[a+2080|0]&1){break g}b=q[a+2072>>2];if(!b){break g}ki(b)}h:{if(o[a+2068|0]&1){break h}b=q[a+2056>>2];if(!b){break h}ki(b)}return a}function wY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-112|0;fi=d;b=Ni(a,1,0);e=q[a+8>>2]-q[a+12>>2]>>4;zi(a,-1e4,130166);c=e+1|0;zi(a,c,b);a:{if((ri(a,-1)|0)!=5){oi(a,-2);if(Pt(a,-10002,b,1)){q[d>>2]=b;c=ni(a,130532,d);break a}Hi(a,-1);pi(a,c,b)}zi(a,-1,130562);c=ri(a,-1);oi(a,-2);if(!c){Hi(a,-1);pi(a,-2,130568);wi(a,b);pi(a,-2,130562);c=Rm(b,46);Bi(a,b,(c?c+1|0:b)-b|0);pi(a,-2,130571)}Hi(a,-1);b:{c:{if(!Wk(a,1,d+8|0)){break c}if(!ln(a,130580,d+8|0)){break c}if(!Dp(a,-1)){break b}}ni(a,130582,0)}Hi(a,-2);Co(a,-2);oi(a,-2);b=2;c=0;if((e|0)<2){break a}while(1){Hi(a,b);Hi(a,-2);zk(a,1,0);f=(b|0)!=(e|0);b=b+1|0;if(f){continue}break}}fi=d+112|0;return c|0}function iO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-1072|0;fi=b;g=yl(a,2,130794,b+28|0);vj(a,1,5);d=cm(a,3,1);a:{if((ri(a,4)|0)<=0){e=wl(a,1);break a}e=gj(a,4)}c=b+32|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;b:{c:{if((d|0)<(e|0)){while(1){Xi(a,1,d);if(!$j(a,-1)){c=ri(a,-1);f=125997;d:{if((c|0)==-1){break d}f=q[(c<<2)+261152>>2]}c=f;q[b+20>>2]=d;q[b+16>>2]=c;ni(a,130795,b+16|0)}Wr(b+32|0);Wm(b+32|0,g,q[b+28>>2]);d=d+1|0;if((e|0)!=(d|0)){continue}break c}}if((d|0)!=(e|0)){break b}}Xi(a,1,e);if(!$j(a,-1)){c=ri(a,-1);d=125997;e:{if((c|0)==-1){break e}d=q[(c<<2)+261152>>2]}q[b+4>>2]=e;q[b>>2]=d;ni(a,130795,b)}Wr(b+32|0)}bm(b+32|0);fi=b+1072|0;return 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,r=0,s=0,t=0,u=0,v=0;c=fi-128|0;fi=c;Or(c);d=nD();a:{if(!q[d>>2]){break a}h=a+52|0;i=a- -64|0;j=a+40|0;k=a+76|0;l=a+28|0;m=a+16|0;n=a+4|0;o=c+52|0;p=c- -64|0;r=c+40|0;s=c+76|0;t=c+28|0;u=c+16|0;v=c|4;while(1){Gn(c);e=d;f=Dt(c,q[d>>2]);if(f){g=f;break a}b:{if(q[a+88>>2]!=q[c+88>>2]|q[a+92>>2]!=q[c+92>>2]){break b}if(Dj(n,v)){break b}if(Dj(m,u)){break b}if(Dj(l,t)){break b}if(Dj(k,s)){break b}if(Dj(j,r)){break b}if(Dj(i,p)){break b}if((Dm(h,0)|0)!=(Dm(o,0)|0)){break b}break a}d=e+4|0;if(q[e+4>>2]){continue}break}}Gn(c);q[b>>2]=q[d>>2];fi=c+128|0;return g?g:q[d>>2]?0:-20096}function iL(a,b){var c=0,d=0,e=0;e=q[a+28>>2];tj(e);a:{b:{c=b&65535;d=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}b=a+(c<<6)|0;if(q[b+48>>2]!=2){break a}d=q[b+40>>2];if(d){ps(d);q[b+40>>2]=0}a=a+(c<<6)|0;c=a;d=q[a+44>>2];if((d|0)!=-1){Mo(d);rm(q[c+44>>2])}q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[c+44>>2]=-1;q[b+40>>2]=0;q[b+48>>2]=0;lj(e);return}J(153026,152878,447,153037);G()}J(152992,152639,185,153012);G()}J(152671,152639,449,152704);G()}function hA(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=q[b+136>>2];c=d>>>16|0;if((c|0)!=32767){if(!(d&255)){break b}d=q[a+2056>>2];e=q[a+2060>>2]-d>>2;if(c>>>0>=e>>>0){break a}f=q[(c<<2)+d>>2];g=q[f+148>>2];a=g>>>16&32767;c:{if((a|0)==32767){break c}c=0;while(1){if(a>>>0>=e>>>0){break a}a=q[(a<<2)+d>>2];if((a|0)==(b|0)){a=q[b+148>>2];if(c){q[c+148>>2]=q[c+148>>2]&-32768|a&32767;break c}q[f+148>>2]=g&-2147418113|a<<16&2147418112;break c}c=a;a=q[a+148>>2]&32767;if((a|0)!=32767){continue}break}}q[b+148>>2]=q[b+148>>2]|32767;a=q[b+140>>2];q[b+136>>2]=q[b+136>>2]&65535|2147418112;q[b+140>>2]=a}return}J(11754,7150,1480,11776);G()}J(12475,10090,447,9406);G()}function MS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-48|0;fi=b;c=Qm(a,124700);q[b+40>>2]=0;e=2;f=Ni(a,2,b+44|0);d=Ni(a,3,0);g=Ni(a,4,0);q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;h=q[c+32>>2];q[b+16>>2]=2;q[b+12>>2]=h;q[b+8>>2]=1028;d=$(d|0,g|0,b+8|0,b+4|0)|0;a:{if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,ha(d|0)|0);break a}d=c+8|0;Bn(d);g=c;c=q[b+4>>2];c=eQ(g,f,q[b+44>>2],b+40|0,q[c+20>>2],q[c+16>>2],d);ki(q[b+4>>2]);if(c){f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if((c|0)==-2){wi(a,124739);break a}wi(a,Ql(c));break a}c=q[b+40>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;e=1}fi=b+48|0;return e|0}function wF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=fi-112|0;fi=g;i=a;f=a;if((ri(f,1)|0)==8){f=In(a,1);h=1}e=h|2;a:{if(Gj(i,e)){e=am(a,e);oi(a,-2);break a}e=(a|0)==(f|0)}b:{if(q[a+8>>2]-q[a+12>>2]>>4!=(h|0)){if(!$j(a,h+1|0)){break b}}if(!Wk(f,e,g+8|0)){break b}h=0;while(1){i=e+1|0;if(h&1){while(1){if(ln(f,b,g+8|0)){ji[c|0](f,g+8|0,d)}a=Wk(f,i,g+8|0);i=i+1|0;if(a){continue}break b}}while(1){c:{h=i;if((e|0)>11){break c}if(ln(f,b,g+8|0)){ji[c|0](f,g+8|0,d)}i=h+1|0;e=h;if(Wk(f,e,g+8|0)){continue}break b}break}if(Wk(f,e+11|0,g+8|0)){Bi(a,110598,5);while(1){e=h;h=e+1|0;if(Wk(f,e+10|0,g+8|0)){continue}break}}h=1;if(Wk(f,e,g+8|0)){continue}break}}fi=g+112|0}function kk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=q[a+112>>2];d=q[a+116>>2];b:{if(c|d){b=c>>>0<=t[a+120>>2];c=q[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=Nv(a);if((g|0)>-1){break a}}q[a+104>>2]=0;return-1}h=a;b=q[a+116>>2];i=b;d=q[a+8>>2];c=d;f=q[a+112>>2];c:{if(!(b|f)){break c}c=d;e=q[a+120>>2]^-1;f=e+f|0;b=(q[a+124>>2]^-1)+i|0;b=f>>>0>>0?b+1|0:b;i=q[a+4>>2];e=d-i|0;j=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?j:0){break c}c=f+i|0}q[h+104>>2]=c;h=q[a+4>>2];if(d){c=a;b=(d-h|0)+1|0;d=b+q[a+120>>2]|0;a=q[a+124>>2]+(b>>31)|0;q[c+120>>2]=d;q[c+124>>2]=d>>>0>>0?a+1|0:a}a=h-1|0;if(r[a|0]!=(g|0)){o[a|0]=g}return g}function B$(a,b,c,d,e){var f=0,g=0;a:{b:{c:{d:{e:{if(s[a+20>>1]!=s[a+22>>1]){g=D$(b);if(!g){return-4}f=q[a+16>>2];if(!f){break e}b=s[a+22>>1];if(b>>>0>=s[a+20>>1]){break d}p[a+22>>1]=b+1;b=s[f+(b<<1)>>1];f=q[a>>2];if(b>>>0>=(q[a+4>>2]-f|0)/12>>>0){break c}f=f+w(b,12)|0;q[f+8>>2]=g;q[f>>2]=b;d=ji[q[g+12>>2]](c,d,f+4|0)|0;if(d){e=q[a+16>>2];if(!e){break b}c=s[a+22>>1];if(!c|c>>>0>s[a+20>>1]){break a}f=a;a=c-1|0;p[f+22>>1]=a;p[e+((a&65535)<<1)>>1]=b;return d}q[e>>2]=f;a=0}else{a=-1}return a}J(201001,200927,151,201008);G()}J(201012,200927,152,201008);G()}J(200882,200764,447,200893);G()}J(201001,200927,140,201032);G()}J(201037,200927,141,201032);G()}function sw(a,b,c,d){var e=0,f=0,g=0;f=fi-16|0;fi=f;e=q[a>>2];a:{if((e|0)==-1){e=-2;break a}if(!zv(e,b,c)){e=0;break a}while(1){e=q[240833];q[f+4>>2]=e;if((e|0)!=27){if((e|0)!=26?(e|0)!=6:0){break a}e=-1;if(v[d>>3]==0){break a}b=q[a>>2];q[f+12>>2]=5;q[f+8>>2]=b;b:{c:{while(1){c=f+8|0;g=kp(d)*1e3;d:{if(y(g)<2147483648){b=~~g;break d}b=-2147483648}b=rp(c,1,(b|0)>-1?b:-1);if((b|0)!=-1){if(!b){break a}if(r[f+14|0]&9){break c}e=0;break a}if(q[240833]==27){continue}break}e=q[240833];q[f+4>>2]=e;if((e|0)!=-2){break a}break b}q[f+4>>2]=-2}e=0;if(!rt(q[a>>2],f+4|0,0)){break a}e=q[240833];break a}if(zv(q[a>>2],b,c)){continue}break}e=0}fi=f+16|0;return e}function ak(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}e=c;f=c;b=q[a+8>>2];if(c>>>0>>0){while(1){d=b-16|0;g=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=g;q[b+8>>2]=q[d+8>>2];b=d;if(c>>>0>>0){continue}break}b=q[a+8>>2]}a=q[b+4>>2];q[f>>2]=q[b>>2];q[e+4>>2]=a;q[c+8>>2]=q[b+8>>2]}function doa(a){var b=0,c=0,d=0,e=0;b=fi-144|0;fi=b;c=q[72432];a:{if(c){while(1){e=hm(b+40|0);d=jl(q[a+4>>2],q[c+12>>2],b+36|0);if(d){e=q[c+12>>2];a=b;c=d+21|0;b:{if(c>>>0<=21){c=q[(c<<2)+240084>>2];break b}c=26733}q[a+20>>2]=c;q[b+16>>2]=e;mi(3,5659,5710,b+16|0);d=-1e3;break a}q[b+32>>2]=0;if(nv(q[a+8>>2],q[b+36>>2],b+32|0)){q[b>>2]=q[c+12>>2];mi(3,5659,5751,b)}p[b+136>>1]=q[q[a+8>>2]>>2];q[b+40>>2]=q[b+36>>2];d=q[c+12>>2];q[b+44>>2]=d;q[b+48>>2]=li(d);q[b+52>>2]=ii;q[b+136>>2]=q[b+136>>2]|65536;d=ji[q[c+4>>2]](a,e)|0;if(d){break a}d=vm(q[a+8>>2],e);if(d){break a}p[c+16>>1]=q[b+136>>2];c=q[c>>2];if(c){continue}break}}d=0}fi=b+144|0;return d}function _T(a,b,c,d){var e=0,f=0;e=fi-192|0;fi=e;lq(e+104|0);yp(e+8|0);q[e+112>>2]=1732584193;q[e+116>>2]=-271733879;q[e+104>>2]=0;q[e+108>>2]=0;q[e+120>>2]=-1732584194;q[e+124>>2]=271733878;f=kq(e+104|0,q[a+68>>2]+1128|0,64);a:{if(f){break a}f=kq(e+104|0,c,d);if(f){break a}f=Ir(e+104|0,b);if(f){break a}q[e+16>>2]=1732584193;q[e+20>>2]=-271733879;q[e+8>>2]=0;q[e+12>>2]=0;q[e+32>>2]=-1009589776;q[e+24>>2]=-1732584194;q[e+28>>2]=271733878;f=xp(e+8|0,q[a+68>>2]+1128|0,64);if(f){break a}f=xp(e+8|0,c,d);if(f){break a}f=hq(e+8|0,b+16|0)}b=e+104|0;if(b){ji[q[66742]](b,0,88)|0}b=e+8|0;if(b){ji[q[66742]](b,0,92)|0}if(f){Aj(a,2,80)}fi=e+192|0;return f}function Wp(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function K5(){var a=0;a:{if(o[852140]&1){break a}vi(0,24,852128,852136,852132);if(o[852156]&1){break a}vi(0,8,852144,852152,852148);if(o[852196]&1){break a}vi(0,24,852184,852192,852188);if(o[852212]&1){break a}vi(0,8,852200,852208,852204);if(o[852252]&1){break a}vi(0,24,852240,852248,852244);if(o[852268]&1){break a}vi(0,8,852256,852264,852260);qi(q[213005],255,q[213006]<<2);q[213010]=-1;q[213011]=0;q[213008]=q[213007];if(!(o[852064]&1)){vi(0,8,852052,852060,852056);q[70349]=852068;qi(q[213078],255,q[213079]<<2);q[213083]=-1;q[213084]=0;q[213081]=q[213080];a=q[213086];if(a){p$(a)}o[852367]=0;q[213086]=0;return}}J(158184,158259,461,158149);G()}function B4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{c:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){if((ri(a,1)|0)!=2){break c}f=Vi(a,1);d=Ai(a,2);d:{if(d<4294967296&d>=0){c=~~d>>>0;break d}c=0}if(!(1<>>0<=4:0)){q[b>>2]=104341;a=ni(a,105584,b);break a}ji[q[74958]](f,c,b+28|0,b+24|0);d=+t[b+24>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break b}a=1;break a}J(104348,104245,265,107702);G()}q[b+16>>2]=104341;a=ni(a,105507,b+16|0);break a}J(104220,104245,1220,105645);G()}fi=b+32|0;return a|0}function A4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);a:{b:{c:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){if((ri(a,1)|0)!=2){break c}f=Vi(a,1);d=Ai(a,2);d:{if(d<4294967296&d>=0){c=~~d>>>0;break d}c=0}if(!(1<>>0<=4:0)){q[b>>2]=104341;a=ni(a,105413,b);break a}ji[q[74958]](f,c,b+28|0,b+24|0);d=+t[b+28>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break b}a=1;break a}J(104348,104245,265,107702);G()}q[b+16>>2]=104341;a=ni(a,105337,b+16|0);break a}J(104220,104245,1169,105473);G()}fi=b+32|0;return a|0}function qF(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-32|0;fi=e;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){f=q[79152];h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);b:{if(!Sl(a,-1)){f=-2;break b}Bi(a,110327,14);f=-2;gl(a,-2);Ok(a,-2);if(!ri(a,-1)){oi(a,-2);break b}Hi(a,-2);Bi(a,b,c);zk(a,2,1);q[d>>2]=Qk(a,-1);q[d+4>>2]=ii;f=-3}oi(a,f);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}fi=e+32|0;return}q[e+12>>2]=g;q[e+4>>2]=794;q[e+8>>2]=0;q[e>>2]=110448;mi(4,110525,111068,e);J(111140,110448,1449,111157);G()}q[e+28>>2]=a;q[e+24>>2]=g;q[e+20>>2]=794;q[e+16>>2]=110448;mi(4,110525,111171,e+16|0);J(111242,110448,1472,111261);G()}function q3(a){var b=0;a:{if(o[a+160|0]&1){break a}b=q[a+148>>2];if(!b){break a}ki(b)}b:{if(o[a+144|0]&1){break b}b=q[a+132>>2];if(!b){break b}ki(b)}c:{if(o[a+128|0]&1){break c}b=q[a+116>>2];if(!b){break c}ki(b)}d:{if(o[a+112|0]&1){break d}b=q[a+100>>2];if(!b){break d}ki(b)}e:{if(o[a+96|0]&1){break e}b=q[a+84>>2];if(!b){break e}ki(b)}f:{if(o[a+80|0]&1){break f}b=q[a+68>>2];if(!b){break f}ki(b)}g:{if(o[a- -64|0]&1){break g}b=q[a+52>>2];if(!b){break g}ki(b)}h:{if(o[a+48|0]&1){break h}b=q[a+36>>2];if(!b){break h}ki(b)}i:{if(o[a+28|0]&1){break i}b=q[a+16>>2];if(!b){break i}ki(b)}j:{if(o[a+12|0]&1){break j}b=q[a>>2];if(!b){break j}ki(b)}return a}function LJ(a,b){var c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;c=q[b+12>>2];if(q[c+12>>2]==2){q[c+12>>2]=1}c=Ij(a,q[c>>2],b+8|0);a:{if(c){break a}c=Ij(a,q[q[b+12>>2]+8>>2],b+16|0);if(c){break a}if(q[q[b+16>>2]+104>>2]){mi(4,59189,59197,0);c=-15;break a}a=li(q[q[b+12>>2]+4>>2]);c=ii;f=c;q[b>>2]=a;q[b+4>>2]=c;d=q[b+8>>2];c=q[d+20>>2];b:{if(!c){break b}c=q[q[d+16>>2]+(lwa(a,f,c)<<2)>>2];if((c|0)==-1){break b}d=q[d+24>>2];while(1){c=d+(c<<4)|0;if(q[c>>2]==(a|0)&q[c+4>>2]==(f|0)){c=0;break a}c=q[c+12>>2];if((c|0)!=-1){continue}break}}a=q[q[b+12>>2]+4>>2];c:{if(!(r[a|0]?a:0)){mi(4,59189,59330,0);break c}q[e>>2]=a;mi(4,59189,59361,e)}c=-13}fi=e+16|0;return c}function ZB(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=-27136;g=q[a+20>>2];h=((g|0)!=0)<<1;i=h+b|0;a:{if(i>>>0>16384){break a}e=q[a>>2];d=(q[a+68>>2]+d|0)+1192|0;vr(r[e+180|0],r[e+181|0],q[e+184>>2]>>>1&1,d);e=q[a>>2];e=ji[q[e+24>>2]](q[e+28>>2],d+2|0,46)|0;if(e){break a}q[q[a+68>>2]+1124>>2]=48;f=q[q[a+64>>2]+96>>2];if(!f){return-27648}e=0;f=f+204|0;b:{if(!f){break b}j=q[f>>2];if(!j){break b}e=ji[q[j+12>>2]](1)|0}if(!e){return-27904}e=d;d=q[a>>2];e=JU(f,e,q[q[a+68>>2]+1124>>2],(q[a+204>>2]+b|0)+h|0,c,16384-i|0,q[d+24>>2],q[d+28>>2]);if(e|!g){break a}o[q[a+204>>2]+b|0]=q[c>>2]>>>8;o[(q[a+204>>2]+b|0)+1|0]=q[c>>2];q[c>>2]=q[c>>2]+2;e=0}return e}function Dsa(a,b,c,d){var e=0,f=0,g=0;e=fi-224|0;fi=e;f=a;a=e+72|0;g=wn(f,a,0,1);a:{if(!g){break a}if(q[a+104>>2]==8){f=c;c=a+112|0;p[b>>1]=r[f+c|0]|3328;a=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[b+2|0]=a;o[b+3|0]=a>>>8;o[b+4|0]=a>>>16;o[b+5|0]=a>>>24;a=r[94712]|r[94713]<<8;o[b+6|0]=a;o[b+7|0]=a>>>8;p[b+8>>1]=r[c+d|0]|3328;a=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[b+10|0]=a;o[b+11|0]=a>>>8;o[b+12|0]=a>>>16;o[b+13|0]=a>>>24;a=r[94712]|r[94713]<<8;o[b+14|0]=a;o[b+15|0]=a>>>8;break a}vo(a,e);b:{if((c|0)==3){Bv(a,e,b);break b}ji[699](b,c+e|0,4)}if((d|0)==3){Bv(a,e,b+8|0);break a}ji[699](b+8|0,d+e|0,4)}fi=e+224|0;return g}function s0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0);d=fi-48|0;fi=d;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){if((ri(a,-1)|0)==3){c=x(wj(a,-1));g=c;e=c;f=c;break a}b=yi(a,-1,q[210277],0);c=u[b>>2];g=u[b+4>>2];b:{if(c!=c|g!=g){break b}e=u[b+8>>2];if(e!=e){break b}f=u[b+12>>2];if(f==f){break a}}e=u[b+8>>2];f=u[b+12>>2];v[d+16>>3]=g;v[d+32>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=-1;ni(a,120877,d);f=u[b+12>>2];e=u[b+8>>2];g=u[b+4>>2];c=u[b>>2];break a}c=x(Ai(a,1));g=x(Ai(a,2));e=x(Ai(a,3));f=x(Ai(a,4))}b=bj(a,16);u[b+12>>2]=f;u[b+8>>2]=e;u[b+4>>2]=g;u[b>>2]=c;zi(a,-1e4,120672);aj(a,-2);fi=d+48|0;return 1}function bJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=fi-48|0;fi=g;f=g;q[f+40>>2]=b;q[f+44>>2]=c;q[f+16>>2]=0;q[f+20>>2]=0;q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;Sj(f+16|0,f+40|0,8);Sj(f+16|0,d,e<<4);i=Uo(f+16|0);q[f+8>>2]=i;q[f+12>>2]=0;h=a+16|0;d=q[a+20>>2];a:{b:{if(!d){break b}d=q[q[h>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break b}e=q[a+24>>2];while(1){j=w(d,24)+e|0;f=j;if(q[f>>2]!=(b|0)|q[f+4>>2]!=(c|0)){d=q[j+16>>2];if((d|0)!=-1){continue}break b}break}f=w(d,24)+e|0;d=q[f+8>>2];if(!q[f+12>>2]&(d|0)==(i|0)){break a}}o[a+52|0]=1;e=q[a+24>>2]}d=(q[a+32>>2]-e|0)/24|0;a=q[a+40>>2];if((d|0)==(a|0)){a=a+8|0;ys(h,a,a<<1)}Ju(h,b,c,g+8|0);fi=g+48|0}function R$(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=fi-16|0;fi=j;g=q[239986];h=s[g+68>>1];a:{b:{c:{d:{if((h|0)==s[g+70>>1]){q[d>>2]=0;q[j>>2]=h;mi(4,201088,201233,j);a=-3;break d}h=q[g+16>>2];if(h){tj(h)}k=q[g+64>>2];if(!k){break c}i=s[g+70>>1];if(i>>>0>=s[g+68>>1]){break b}p[g+70>>1]=i+1;i=s[(i<<1)+k>>1];k=q[g+52>>2];g=q[g+48>>2];if(i>>>0>=(k-g|0)/24>>>0){break a}g=g+w(i,24)|0;q[g+20>>2]=c;q[g>>2]=e;q[g+4>>2]=f;p[g+16>>1]=i;q[g+8>>2]=0;q[g+12>>2]=0;c=xi(b);q[g+12>>2]=b;q[g+8>>2]=c;si(c,a,b);q[d>>2]=g;a=0;if(!h){break d}lj(h)}fi=j+16|0;return a}J(202215,202119,151,202222);G()}J(202226,202119,152,202222);G()}J(202193,201978,447,202204);G()}function yva(){q[62029]=q[72890];q[72890]=248088;q[62065]=q[72890];q[72890]=248232;q[62085]=q[72890];q[72890]=248312;q[62155]=q[72890];q[72890]=248592;q[62177]=q[72890];q[72890]=248680;q[62213]=q[72890];q[72890]=248824;q[62289]=q[72890];q[72890]=249128;q[62325]=q[72890];q[72890]=249272;q[62355]=q[72890];q[72890]=249392;q[62397]=q[72890];q[72890]=249560;q[62413]=q[72890];q[72890]=249624;q[74790]=1;q[74788]=-1505215520;q[74789]=-1547365408;q[74787]=77592;q[74786]=1;q[74793]=0;o[299168]=0;q[74791]=q[74785];q[74793]=q[72890];q[72890]=299144;q[62433]=q[72890];q[72890]=249704;q[62479]=q[72890];q[72890]=249888;q[62501]=q[72890];q[72890]=249976}function o2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=0,m=0,n=0,o=0,p=0;f=fi-16|0;fi=f;l=Ai(a,1);m=Ai(a,2);n=Ai(a,3);o=Ai(a,4);d=x(Ai(a,5));if(d==x(0)){Ur(a,1);q[f>>2]=_i(a,-1,0);mi(3,122507,122514,f)}p=Ai(a,6);b=bj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b+60>>2]=0;q[b+52>>2]=0;q[b+44>>2]=-1082130432;q[b+48>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;e=x(m);h=x(l);i=x(x(1)/x(e-h));g=x(d+d);u[b>>2]=i*g;j=x(o);k=x(n);c=x(x(1)/x(j-k));u[b+36>>2]=x(k+j)*c;u[b+32>>2]=x(h+e)*i;u[b+20>>2]=g*c;c=x(p);e=x(x(1)/x(d-c));u[b+40>>2]=x(d+c)*e;u[b+56>>2]=x(g*e)*c;zi(a,-1e4,120704);aj(a,-2);fi=f+16|0;return 1}function n$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-32|0;fi=g;a:{if(a){e=Fi(a);if(e){break a}}a=168889;q[g+16>>2]=168889;mi(3,168694,168895,g+16|0);e=5}c=a;while(1){d=r[c|0];if(!(!d|(d|0)==45|(d|0)==95)){c=c+1|0;continue}break}d=c;e=a+e|0;f=1;b:{if((e|0)==(c|0)){break b}d=e;while(1){h=r[d|0];f=0;if((h|0)==45|(h|0)==95){break b}d=d-1|0;if((d|0)!=(c|0)){continue}break}d=c;f=1}i=b+160|0;h=c-a|0;c=h+1|0;kj(i,a,c>>>0<8?c:8);c=b+168|0;c:{if(!f){f=c;c=(d-a|0)+1|0;kj(f,a,c>>>0<16?c:16);o[(b+h|0)+168|0]=45;break c}kj(c,i,8)}b=b+184|0;d:{if((d|0)!=(e|0)){a=e-d|0;kj(b,d+1|0,a>>>0<8?a:8);break d}o[b|0]=0;q[g>>2]=a;mi(3,168694,168957,g)}fi=g+32|0}function aH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-944|0;fi=d;e=qi(d,0,940);q[e+940>>2]=1;o[b+344|0]=c;a:{if(!(o[b+304|0]&1)){vi(q[a+76>>2],16,b+292|0,b+300|0,b+296|0);q[b+296>>2]=q[b+292>>2];qi(q[b+308>>2],255,q[b+312>>2]<<2);q[b+328>>2]=-1;q[b+332>>2]=0;q[b+320>>2]=q[b+316>>2];g=b+308|0;qz(g,64,256);q[e+792>>2]=r[b+344|0];if(q[a+76>>2]){c=0;while(1){f=q[a+72>>2]+(c<<3)|0;h=li(q[f+4>>2]);i=ii;d=q[b+296>>2];if((d|0)==q[b+300>>2]){break a}f=q[f>>2];q[b+296>>2]=d+16;q[d+8>>2]=h;q[d+12>>2]=i;q[d>>2]=f;Un(g,h,i,e);c=c+1|0;if(c>>>0>2]){continue}break}}fi=e+944|0;return}J(134002,133923,461,134077);G()}J(134089,133923,501,134113);G()}function $ta(a){var b=0,c=0,d=x(0),e=0;a:{b:{e=(ywa(a),uwa(2));c=e&2147483647;if(c>>>0>=1065353216){if((c|0)!=1065353216){break b}return x(+a*1.5707963267948966+7.52316384526264e-37)}if(c>>>0<=1056964607){if(c-8388608>>>0<956301312){break a}d=x(a*a);return x(x(x(x(x(x(x(x(d*x(-.008656363002955914))+x(-.04274342209100723))*d)+x(.16666586697101593))*d)/x(x(d*x(-.7066296339035034))+x(1)))*a)+a)}a=x(x(x(1)-x(y(a)))*x(.5));b=F(+a);b=b+b*+x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1)));a=x(1.5707963267948966-(b+b));return(e|0)>-1?a:x(-a)}a=x(x(0)/x(a-a))}return a}function Aja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-48|0;fi=c;e=q[a>>2];g=q[e>>2];d=qi(Ci(104),0,104);b=d;q[b+52>>2]=0;q[b+56>>2]=0;q[b+32>>2]=-1;q[b+60>>2]=0;q[b+64>>2]=0;f=q[a+16>>2];e=q[e+4>>2];e=e>>>0>f>>>0?f:e;k6(b,e);qi(q[b>>2],0,w(e,240));q[b+68>>2]=0;b=q[60325];q[c+32>>2]=q[60324];q[c+36>>2]=b;b=q[60323];q[c+24>>2]=q[60322];q[c+28>>2]=b;b=q[60321];q[c+16>>2]=q[60320];q[c+20>>2]=b;b=q[60319];q[c+8>>2]=q[60318];q[c+12>>2]=b;b=q[60317];q[c>>2]=q[60316];q[c+4>>2]=b;b=ji[q[74910]](q[g+2208>>2],c,2)|0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+76>>2]=0;q[d+80>>2]=0;q[d+72>>2]=b;o[d+100|0]=r[d+100|0]&249|4;q[q[a+12>>2]>>2]=d;fi=c+48|0;return 0}function z6(a,b){var c=0,d=0,e=0,f=0;if(!(a|b)){return 0}d=q[212988];while(1){c=q[d+32>>2];q[d+32>>2]=c?c:1;if(c){continue}break}a:{e=q[212988];c=q[e+4>>2];b:{if(!c){break b}c=q[q[e>>2]+(lwa(a,b,c)<<2)>>2];if((c|0)==-1){break b}e=q[e+8>>2];while(1){f=e+(c<<6)|0;if((a|0)==q[f>>2]&q[f+4>>2]==(b|0)){break a}c=q[f+56>>2];if((c|0)!=-1){continue}break}}q[d+32>>2]=0;return 0}a=e+(c<<6)|0;c=q[a+8>>2];if(c){b=a+8|0;q[b>>2]=c+1;q[d+32>>2]=0;d=q[a+36>>2];tj(d);c=q[a+24>>2];lj(d);a=q[212988];while(1){d=q[a+32>>2];q[a+32>>2]=d?d:1;if(d){continue}break}d=q[b>>2]-1|0;q[b>>2]=d;q[a+32>>2]=0;if(!d){xs(b)}return(c|0)!=0}J(157189,157208,261,157232);G()}function pG(a){var b=0,c=0,d=0;b=q[q[a+304>>2]+1852>>2];c=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[a+320>>2]);bk(b);py(q[a+312>>2]);d=q[b+8>>2];q[d+8>>2]=0;q[b+8>>2]=d+16;bk(b);sj(b,-1e4,q[a+320>>2]);sj(b,-1e4,q[a+324>>2]);sj(b,-1e4,q[a+328>>2]);if((c|0)==q[b+8>>2]-q[b+12>>2]>>4){c=q[a+316>>2];if(c){b=0;while(1){d=q[((b<<2)+a|0)+48>>2];if(d){ki(d);c=q[a+316>>2]}b=b+1|0;if(c>>>0>b>>>0){continue}break}}a:{if(o[a+44|0]&1){break a}b=q[a+24>>2];if(b){ki(b)}b=q[a+16>>2];if(!b){break a}ki(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}a=qi(a,0,320);q[a+328>>2]=-2;q[a+320>>2]=-2;q[a+324>>2]=-2;return}J(104348,104245,2742,107573);G()}function JL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;c=1;a:{b:{switch(b-a|0){case 2:b=b-1|0;if(r[b|0]>=r[a|0]){break a}dl(a,b);break a;case 3:$p(a,a+1|0,b-1|0);break a;case 4:fw(a,a+1|0,a+2|0,b-1|0);break a;case 5:bw(a,a+1|0,a+2|0,a+3|0,b-1|0);break a;case 0:case 1:break a;default:break b}}e=a+2|0;$p(a,a+1|0,e);d=a+3|0;c:{while(1){g=(b|0)==(d|0);if(g){break c}d:{if(r[d|0]>2];switch((c&223)-128|0){case 2:break b;case 0:break c;default:break a}}d=YM(c,q[a+4>>2],q[a+8>>2],e+8|0);if(d){break a}d=0;q[b>>2]=0;a=e;c=q[a+12>>2];q[b+4>>2]=q[a+8>>2];q[b+8>>2]=c;c=q[a+20>>2];q[b+12>>2]=q[a+16>>2];q[b+16>>2]=c;c=q[a+28>>2];q[b+20>>2]=q[a+24>>2];q[b+24>>2]=c;c=q[a+36>>2];q[b+28>>2]=q[a+32>>2];q[b+32>>2]=c;q[b+36>>2]=q[a+40>>2];break a}q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=2;d=0;q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;c=q[a+4>>2];q[b+4>>2]=q[a>>2];q[b+8>>2]=c;q[b+12>>2]=q[a+8>>2]}fi=e+48|0;return d}function bK(a,b){var c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;d=s[b+88>>1];c=s[b+90>>1];p[f+14>>1]=c;a:{if((d|0)!=65535){e=q[a+16>>2];if(q[a+20>>2]-e>>1>>>0<=d>>>0){break a}e=s[e+(d<<1)>>1];g=q[a>>2];if(e>>>0>=(q[a+4>>2]-g|0)/104>>>0){break a}p[(w(e,104)+g|0)+90>>1]=c;c=s[f+14>>1]}if((c|0)!=65535){e=q[a+16>>2];if(q[a+20>>2]-e>>1>>>0<=c>>>0){break a}c=s[e+(c<<1)>>1];g=q[a>>2];if(c>>>0>=(q[a+4>>2]-g|0)/104>>>0){break a}p[(g+w(c,104)|0)+88>>1]=d}b:{if((d|0)!=65535){break b}a=a+76|0;d=q[b+80>>2];if(s[f+14>>1]==65535){Iu(a,d);break b}Hu(a,d,f+14|0)}q[b+84>>2]=0;q[b+88>>2]=-1;q[b+76>>2]=0;q[b+80>>2]=0;fi=f+16|0;return}J(6718,6437,447,6729);G()}function b3(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=fi+ -64|0;fi=b;d=yi(a,1,q[210276],0);e=u[d>>2];f=u[d+4>>2];a:{if(!(e!=e|f!=f)){c=u[d+8>>2];if(c==c){break a}}c=u[d+8>>2];v[b+48>>3]=f;v[b+56>>3]=c;v[b+40>>3]=e;q[b+32>>2]=1;ni(a,120787,b+32|0)}g=yi(a,2,q[210276],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){c=u[g+8>>2];if(c==c){break b}}c=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=c;v[b+8>>3]=e;q[b>>2]=2;ni(a,120787,b);e=u[g>>2];f=u[g+4>>2];c=u[g+8>>2]}h=u[d+4>>2];i=u[d>>2];j=u[d+8>>2];d=bj(a,16);u[d+8>>2]=x(f*i)-x(h*e);u[d+4>>2]=x(j*e)-x(c*i);u[d>>2]=x(h*c)-x(j*f);zi(a,-1e4,120656);aj(a,-2);fi=b- -64|0;return 1}function GB(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=fi-80|0;fi=i;q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;a=a-3|0;a:{if(a>>>0<=5){k=q[(a<<2)+267260>>2];break a}k=0}b:{if(!k){e=-27648;break b}a=(k?q[k+8>>2]:0)&255;l=Fi(d);n=l+f|0;m=a+n|0;j=Oj(1,m);c:{if(!j){e=-32512;break c}d=si(a+j|0,d,l);si(d+l|0,e,f);e=jn(i,k,1);if(e){break c}Ao(i,b,c);Mk(i,d,n);Il(i,j);e=0;if(!h){break c}b=0;f=0;while(1){Jm(i);Mk(i,j,m);Il(i,i+16|0);Jm(i);Mk(i,j,a);Il(i,j);f=a+f|0;d=h>>>0>>0?(h>>>0)%(a>>>0)|0:a;if(d){si(w(a,b)+g|0,i+16|0,d)}b=b+1|0;if(f>>>0>>0){continue}break}}$l(i);ji[q[66742]](j,0,m)|0;ji[q[66742]](i+16|0,0,64)|0;ki(j)}fi=i+80|0;return e}function ss(a,b){var c=0,d=0,e=0;a:{d=q[a+4>>2];c=q[d+4>>2];b:{if(!c){break b}c=q[q[d>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break b}d=q[d+8>>2];while(1){e=d+w(c,24)|0;if(q[e>>2]==(b|0)){break a}c=q[e+16>>2];if((c|0)!=-1){continue}break}}J(26377,24439,1610,26391);G()}c:{a=q[a>>2];b=q[a+4>>2];d:{if(!b){break d}c=d+w(c,24)|0;d=q[c+8>>2];e=q[c+12>>2];c=q[q[a>>2]+(lwa(d,e,b)<<2)>>2];if((c|0)==-1){break d}a=q[a+8>>2];while(1){b=a+w(c,48)|0;if(q[b>>2]==(d|0)&(e|0)==q[b+4>>2]){break c}c=q[b+40>>2];if((c|0)!=-1){continue}break}}J(26328,24439,1613,26391);G()}a=a+w(c,48)|0;b=q[a+36>>2];if(!b){J(26331,24439,1614,26391);G()}q[a+36>>2]=b+1}function IN(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),r=x(0);if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));r=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=p[(a<<1)+c>>1];h=x(o*x(a|0));l=x(+x(i+x(r*h))*1.5707963267948966);k=rl(l);m=a<<3;n=m+e|0;h=x(x(g+x(j*h))*x(d|0));u[n>>2]=u[n>>2]+x(k*h);l=nk(l);d=(m|4)+e|0;u[d>>2]=u[d>>2]+x(l*h);a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(202394,201413,974,202437);G()}function EJ(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;a:{if(a){if(!q[a+4>>2]){break a}b=q[a+116>>2];if(b){ji[q[74896]](b);q[a+116>>2]=0}d=a+112|0;b=q[a+112>>2];if(b){ji[q[74913]](b);q[d>>2]=0}b=0;b:{c:{switch(q[q[a>>2]+16>>2]-2|0){case 3:b=2;break b;case 0:case 1:G();case 2:break c;default:break b}}b=1}q[a+128>>2]=b;d:{if(!FJ(q[a+4>>2],d,a+120|0,a+124|0)){mi(4,57832,58062,0);a=0;break d}q[c+12>>2]=0;q[c+8>>2]=0;b=dp(q[q[a+4>>2]+4>>2],c+12|0,c+8|0);e:{if(b){mi(4,57832,58120,0);break e}q[a+116>>2]=ji[q[74895]](q[74120],w(q[a+120>>2],q[a+124>>2]),q[c+12>>2],0)}a=!b}fi=c+16|0;return a}J(58002,57771,185,58016);G()}J(58030,57771,186,58016);G()}function XO(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[a+204>>2];q[c>>2]=0;d=6;f=q[q[a>>2]+100>>2];g=q[f>>2];a:{if(g){while(1){d=e;e=g-1|0;b:{if(e>>>0<=11){e=q[(e<<2)+268464>>2];break b}e=0}if(!e){break a}e=d+2|0;g=q[f+4>>2];f=f+4|0;if(g){continue}break}d=d+8|0}e=h+16384|0;if(e>>>0>>0|e-b>>>0>>0){break a}g=q[q[a>>2]+100>>2];f=q[g>>2];if(!f){break a}e=b+6|0;d=0;while(1){a=d;h=d+e|0;d=f-1|0;c:{if(d>>>0<=11){d=q[(d<<2)+268464>>2];break c}d=0}o[h|0]=r[d+5|0];o[e+(a|1)|0]=r[d+4|0];d=a+2|0;f=q[g+4>>2];g=g+4|0;if(f){continue}break}if(!d){break a}o[b+5|0]=d;o[b|0]=0;o[b+1|0]=10;o[b+4|0]=d>>>8;d=a+4|0;o[b+3|0]=d;o[b+2|0]=d>>>8;q[c>>2]=a+8}}function qG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[a+2208>>2];a:{d=q[c+4>>2];if(d){while(1){a=q[q[c>>2]+(g<<2)>>2];if((a|0)!=-1){while(1){d=q[c+8>>2]+(a<<5)|0;a=q[b+20>>2];b:{if(!a){break b}e=q[d>>2];f=q[d+4>>2];a=q[q[b+16>>2]+(lwa(e,f,a)<<2)>>2];if((a|0)==-1){break b}i=q[b+24>>2];while(1){a=i+(a<<4)|0;if((e|0)!=q[a>>2]|q[a+4>>2]!=(f|0)){a=q[a+12>>2];if((a|0)!=-1){continue}break b}break}f=q[d+16>>2];e=q[c+32>>2];if(f>>>0>=q[c+36>>2]-e>>4>>>0){break a}ji[q[74935]](h,(f<<4)+e|0,q[d+20>>2],q[a+8>>2])}a=q[d+24>>2];if((a|0)!=-1){continue}break}d=q[c+4>>2]}g=g+1|0;if(g>>>0>>0){continue}break}}return}J(100397,100310,447,100408);G()}function kla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=q[b+32>>2];c=q[b+36>>2];q[a+72>>2]=q[b+32>>2];q[a+76>>2]=c;e=q[b+28>>2];c=a- -64|0;q[c>>2]=q[b+24>>2];q[c+4>>2]=e;c=q[b+20>>2];q[a+56>>2]=q[b+16>>2];q[a+60>>2]=c;c=q[b+12>>2];q[a+48>>2]=q[b+8>>2];q[a+52>>2]=c;c=q[b+4>>2];q[a+40>>2]=q[b>>2];q[a+44>>2]=c;c=q[b+12>>2];q[a+88>>2]=q[b+8>>2];q[a+92>>2]=c;c=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=c;c=q[b+20>>2];q[a+96>>2]=q[b+16>>2];q[a+100>>2]=c;c=q[b+28>>2];q[a+104>>2]=q[b+24>>2];q[a+108>>2]=c;c=q[b+36>>2];q[a+112>>2]=q[b+32>>2];q[a+116>>2]=c;q[a+88>>2]=3;b=Mba(q[d+8>>2],q[b+8>>2]==3?q[b>>2]:0);q[a+120>>2]=424;q[a+80>>2]=b;q[a+84>>2]=0}function Mva(){var a=0;a=Nl(6967,11);q[72442]=0;q[72443]=0;q[72440]=a;q[72441]=ii;q[72444]=0;q[72445]=0;q[72446]=0;q[72447]=0;q[72448]=li(6981);q[72449]=ii;q[72450]=li(6990);q[72451]=ii;q[72452]=li(7001);q[72453]=ii;q[72454]=li(7012);q[72455]=ii;q[72456]=li(7023);q[72457]=ii;q[72458]=li(7032);q[72459]=ii;q[72460]=li(7043);q[72461]=ii;q[72462]=li(7054);q[72463]=ii;q[72464]=li(7065);q[72465]=ii;q[72466]=li(7076);q[72467]=ii;q[72468]=li(7082);q[72469]=ii;q[72470]=li(7090);q[72471]=ii;q[72472]=li(7098);q[72473]=ii;q[72474]=li(7106);q[72475]=ii;q[72476]=li(7112);q[72477]=ii;q[72478]=li(7120);q[72479]=ii;q[72480]=li(7128);q[72481]=ii}function r8(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{d=b&65535;c=q[a+32>>2];if(d>>>0<(q[a+36>>2]-c|0)/576>>>0){if(s[(c+w(d,576)|0)+552>>1]!=(b>>>16|0)){break e}d=c+w(d,576)|0;if(s[d+554>>1]!=(b&65535)){break d}c=-10;if((q[d+412>>2]&240)!=80){break b}e=q[a+232>>2];d=q[a+228>>2];c=e-d|0;if(!c){break c}c=(c|0)/12|0;if((d|0)!=(e|0)){e=c>>>0>1?c:1;c=0;while(1){d=w(c,12)+d|0;if(q[d+8>>2]==(b|0)){Xy(q[a+192>>2],q[d>>2])}c=c+1|0;if((e|0)==(c|0)){break c}d=q[a+228>>2];if((q[a+232>>2]-d|0)/12>>>0>c>>>0){continue}break}}break a}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}c=0}return c}J(186773,186599,447,186784);G()}function Z3(a,b,c,d,e){var f=0,g=0,h=0,i=0;h=-10;f=q[a>>2];a=q[f+4>>2];a:{if(!a){break a}a=q[q[f>>2]+(lwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}i=q[f+8>>2];while(1){g=i+w(a,48)|0;f=g;if(q[f>>2]!=(b|0)|q[f+4>>2]!=(c|0)){a=q[g+40>>2];if((a|0)!=-1){continue}break a}break}b=i+w(a,48)|0;a=q[b+32>>2];g=q[a>>2];f=q[a+4>>2];a=0;b:{while(1){c=(a<<3)+d|0;if(q[c>>2]==(g|0)&q[c+4>>2]==(f|0)){break b}a=a+1|0;if((a|0)!=1){continue}break}return-18}a=q[b+12>>2];q[e>>2]=q[b+8>>2];q[e+4>>2]=a;a=q[b+36>>2];q[e+24>>2]=q[b+32>>2];q[e+28>>2]=a;a=q[b+28>>2];q[e+16>>2]=q[b+24>>2];q[e+20>>2]=a;a=q[b+20>>2];q[e+8>>2]=q[b+16>>2];q[e+12>>2]=a;h=0}return h}function lha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;a:{c=-13;b:{if(rj(q[a+12>>2],q[a+16>>2],q[60786],d+12|0)){break b}b=Ci(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=VJ(q[a>>2],q[d+12>>2],b);Ui(q[d+12>>2]);if(c){c:{if(o[b+16|0]&1){break c}a=q[b+4>>2];if(!a){break c}ki(a)}ki(b);c=-2;break b}d:{if(r[b+20|0]|!q[a+20>>2]){break d}f=q[b>>2];e=q[f+8>>2];if(!e){break d}c=0;while(1){if(c>>>0>=e>>>0){break a}g=q[(q[f+4>>2]+w(c,80)|0)+4>>2];if(g){jk(q[a+20>>2],g);e=q[f+8>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}q[q[a+24>>2]>>2]=b;c=0}fi=d+16|0;return c|0}J(54920,54932,241,55016);G()}function gA(a,b,c,d,e){var f=0,g=0,h=0;f=fi-384|0;fi=f;h=ou(b,c,d);a:{if(!h){q[f+4>>2]=Ei(c,d);q[f>>2]=e;ni(a,71399,f);a=0;break a}g=nu(b,q[h+8>>2],f+124|0);if(g){q[f+112>>2]=Ei(c,d);q[f+104>>2]=c;q[f+108>>2]=d;q[f+96>>2]=g;cj(f+128|0,256,(g|0)==-3?70984:(g|0)==-15?71026:71091,f+96|0);q[f+80>>2]=f+128;ni(a,70045,f+80|0)}b=jl(b,e,f+120|0);if(b){q[f- -64>>2]=Ei(c,d);q[f+56>>2]=c;q[f+60>>2]=d;q[f+48>>2]=b;cj(f+128|0,256,(b|0)==-3?70984:(b|0)==-15?71026:71091,f+48|0);q[f+32>>2]=f+128;ni(a,70045,f+32|0)}if(q[f+124>>2]!=q[f+120>>2]){b=Ei(c,d);q[f+20>>2]=e;q[f+16>>2]=b;ni(a,71434,f+16|0);a=0;break a}a=q[h+8>>2]}fi=f+384|0;return a}function $9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=0;b=fi-208|0;fi=b;f=Ti(b+184|0,a,1,187364,3813);c=pn(a,1);a:{if(c){e=c+8|0;d=c+4|0;break a}c=il(a,1);e=c+8|0;d=c+4|0}g=u[c>>2];h=u[d>>2];u[b+168>>2]=u[e>>2];u[b+164>>2]=h;u[b+160>>2]=g;d=Pj(a,2);i=ii;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);q[b+40>>2]=0;q[b+32>>2]=1065353216;q[b+36>>2]=1065353216;e=Fz(c,b+160|0,b+32|0,5,0);b:{if(!e){q[b>>2]=(q[c+40>>2]-q[c+32>>2]|0)/576;a=uj(f,191356,b);break b}if((Cz(c,e,d,i)|0)==-5){q[b+16>>2]=ks(a,2,b+32|0);a=uj(f,192842,b+16|0);break b}d=bj(a,8);q[d+4>>2]=e;q[d>>2]=c;zi(a,-1e4,187431);aj(a,-2);a=1}Si(f);fi=b+208|0;return a|0}function O6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi+ -64|0;fi=b;f=Ti(b+16|0,a,0,71745,162);q[b+12>>2]=0;c=Ni(a,1,b+12|0);d=Rn(a,2);a=Ci(12);q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;a:{b:{c=QG(c,q[b+12>>2],a);if(!c){c:{d:{switch(Cu(a)+7|0){case 0:mi(3,71838,72101,0);break c;case 7:break c;default:break d}}mi(4,71838,72199,0)}c=PG(a);if(!c){break b}mi(4,71838,72254,0);break a}q[b>>2]=c;mi(4,71838,72323,b);break a}c=L6(a)}ki(a);if(qn(d)){a=d?q[d>>2]:0;g=Ti(b+40|0,a,0,71745,145);e:{if(!yq(d)){mi(4,71838,72388,0);break e}e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Wl(a,2,0);hs(d)}Si(g)}rn(d);Si(f);fi=b- -64|0;return 0}function Ns(a,b){var c=0,d=0,e=0,f=0,g=0;g=q[b+140>>2];a:{b:{c:{d:{b=((q[b+136>>2]&255)<<4)+a|0;c=b+2104|0;d=q[c>>2];e=q[b+2100>>2];f=d-e|0;if(f){b=g>>>16&32767;if(b>>>0>=f>>1>>>0){break d}f=(b<<1)+e|0;b=d-2|0;d=s[b>>1];p[f>>1]=d;q[c>>2]=b;if(b>>>0>>0){break c}b=q[a+2060>>2];a=q[a+2056>>2];if(d>>>0>=b-a>>2>>>0){break b}c=q[a+(d<<2)>>2];b=c;a=q[b+140>>2];b=q[b+136>>2];e=a;if((d|0)!=(a&32767)){break a}p[c+144>>1]=s[c+144>>1];q[c+136>>2]=b;q[c+140>>2]=e&-2147418113|g&2147418112;return}J(10208,7150,608,10225);G()}J(10245,7150,609,10225);G()}J(10336,10090,484,10326);G()}J(12475,10090,447,9406);G()}J(10283,7150,614,10225);G()}function AT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-32|0;fi=c;d=-10240;a:{if(!a){break a}b:{if(!(r[(a+b|0)-1|0]|!b)){if(Im(a,159624)){break b}}d=Qw(854092,a,b);break a}if(b>>>0>1){d=0;while(1){c:{q[c+16>>2]=0;q[c+20>>2]=0;q[c+24>>2]=0;d:{e:{f:{e=ax(c+16|0,159624,159652,a,c+12|0);if(e){if((e|0)!=-5248){break f}d=e;break a}g=q[c+12>>2];e=Qw(854092,q[c+16>>2],q[c+20>>2]);Ap(c+16|0);if(!e){h=1;break d}if((e|0)!=-10368){break e}d=e;break a}if((e|0)==-4224){break c}d=d+1|0;f=f?f:e;Ap(c+16|0);g=q[c+12>>2];break d}d=d+1|0;f=f?f:e}a=a+g|0;b=b-g|0;if(b>>>0>1){continue}}break}if(h){break a}d=f;if(f){break a}}d=-10112}fi=c+32|0;return d}function oC(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;h=fi-16|0;fi=h;q[d>>2]=0;g=q[a>>2];a:{if((g|0)==-1){f=-2;break a}b:{c:{f=yw(g,b,c);if((f|0)<=-1){while(1){f=q[240833];d:{if((f|0)!=6){if((f|0)==27){break d}g=-2;if((f|0)!=64){break a}break b}g=q[a>>2];q[h+12>>2]=4;q[h+8>>2]=g;if(v[e>>3]==0){break c}while(1){g=h+8|0;i=kp(e)*1e3;e:{if(y(i)<2147483648){f=~~i;break e}f=-2147483648}g=rp(g,1,(f|0)>-1?f:-1);if((g|0)!=-1){if(g){break d}break c}if(q[240833]==27){continue}break}g=q[240833];if(g){break b}}f=yw(q[a>>2],b,c);if((f|0)<=-1){continue}break}}q[d>>2]=f;f=0;break a}f=-1;break a}f=g}fi=h+16|0;return f|0}function tna(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;b=-13;a:{if(!rj(q[a+12>>2],q[a+16>>2],237216,e+12|0)){c=q[e+12>>2];d=q[c+4>>2];b:{if(!d){break b}b=0;while(1){if(b>>>0>=d>>>0){break a}jk(q[a+20>>2],q[(q[c>>2]+w(b,144)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+4>>2];if(b>>>0>>0){continue}break}if(!d){break b}c=q[c>>2];b=0;while(1){jk(q[a+20>>2],q[(c+w(b,144)|0)+4>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}c=q[e+12>>2]}d=q[c+20>>2];if(d){c=q[c+16>>2];b=0;while(1){jk(q[a+20>>2],q[c+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}c=q[e+12>>2]}q[q[a+24>>2]>>2]=c;b=0}fi=e+16|0;return b|0}J(20412,20424,91,20473);G()}function qm(a,b){var c=0,d=0;a:{b:{switch(q[b>>2]-6|0){case 0:q[b>>2]=12;return;case 1:a=Jk(a,q[b+8>>2]<<23|4,q[q[a+12>>2]+8>>2]);break a;case 2:a=Jk(a,q[b+8>>2]<<14|5,q[q[a+12>>2]+8>>2]);break a;case 3:c=q[b+12>>2];if(!(c&256|(c|0)>2]=q[a+36>>2]-1}d=a;c=q[b+8>>2];if(!(c&256|r[a+50|0]>(c|0))){q[a+36>>2]=q[a+36>>2]-1;c=q[b+8>>2]}a=Jk(d,c<<23|q[b+12>>2]<<14|6,q[q[a+12>>2]+8>>2]);break a;case 7:q[b>>2]=12;q[b+8>>2]=q[q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)>>2]>>>6&255;return;case 8:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&8388607|16777216;q[b>>2]=11;break;default:break b}}return}q[b>>2]=11;q[b+8>>2]=a}function _G(a,b,c){var d=x(0),e=x(0),f=0,g=x(0);e=u[c+4>>2];d=u[q[a+4>>2]+52>>2];if(!(e>2])<<4}g=u[c>>2];b=q[c+940>>2]&-113|f|(d<=e?(d>g)<<5:0);q[c+940>>2]=b;a:{if(g>x(0)^1){break a}if(f){b=b|64;q[c+940>>2]=b;u[c+8>>2]=u[q[a+4>>2]+44>>2];break a}d=x(u[c+8>>2]-u[a>>2]);u[c+8>>2]=d;if(d<=x(0)^1){break a}b=b|64;q[c+940>>2]=b;u[c+8>>2]=d+u[q[a+4>>2]+48>>2]}if(!(b&128)){q[c+12>>2]=q[a+8>>2];q[c+16>>2]=q[a+12>>2];q[c+20>>2]=q[a+16>>2];q[c+24>>2]=q[a+20>>2];b=b&-129|r[a+36|0]<<7&128;q[c+940>>2]=b}if(!(b&256)){u[c+28>>2]=u[a+24>>2];u[c+32>>2]=u[a+28>>2];u[c+36>>2]=u[a+32>>2];q[c+940>>2]=r[a+36|0]<<7&256|b&-257}}function Ak(a,b,c){var d=0,e=0,f=0,g=0;e=fi-32|0;fi=e;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{if((a|0)==(b|0)){d=_j(e+16|0,a);if(d){break a}b=e+16|0}if((a|0)==(c|0)){d=_j(e,a);if(d){break a}c=e}f=q[b+4>>2];while(1){g=f;if(f){f=g-1|0;if(!q[q[b+8>>2]+(f<<2)>>2]){continue}}break}d=q[c+4>>2];while(1){f=d;if(f){d=f-1|0;if(!q[q[c+8>>2]+(d<<2)>>2]){continue}}break}d=Vk(a,f+g|0);if(d){break a}d=gk(a,0);if(d){break a}if(f){while(1){d=(q[a+8>>2]+(f<<2)|0)-4|0;f=f-1|0;Kw(g,q[b+8>>2],d,q[q[c+8>>2]+(f<<2)>>2]);if(f){continue}break}}q[a>>2]=w(q[c>>2],q[b>>2]);d=0}Ji(e);Ji(e+16|0);fi=e+32|0;return d}function vva(){q[66227]=q[72890];q[72890]=264880;q[66269]=q[72890];q[72890]=265048;q[66295]=q[72890];q[72890]=265152;q[66323]=q[72890];q[72890]=265264;q[66347]=q[72890];q[72890]=265360;q[66375]=q[72890];q[72890]=265472;q[66403]=q[72890];q[72890]=265584;q[66421]=q[72890];q[72890]=265656;q[66467]=q[72890];q[72890]=265840;q[66485]=q[72890];q[72890]=265912;q[66501]=q[72890];q[72890]=265976;q[66517]=q[72890];q[72890]=266040;q[66543]=q[72890];q[72890]=266144;q[66611]=q[72890];q[72890]=266416;q[66639]=q[72890];q[72890]=266528;q[66657]=q[72890];q[72890]=266600;q[66693]=q[72890];q[72890]=266744;q[66723]=q[72890];q[72890]=266864}function a2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0);b=fi-144|0;fi=b;c=Vi(a,1);d=u[c>>2];e=u[c+16>>2];f=u[c+32>>2];g=u[c+48>>2];h=u[c+4>>2];i=u[c+20>>2];j=u[c+36>>2];k=u[c+52>>2];l=u[c+8>>2];m=u[c+24>>2];n=u[c+40>>2];o=u[c+56>>2];p=u[c+12>>2];r=u[c+28>>2];s=u[c+44>>2];v[b+128>>3]=u[c+60>>2];v[b+120>>3]=s;v[b+112>>3]=r;v[b+104>>3]=p;v[b+96>>3]=o;v[b+88>>3]=n;v[b+80>>3]=m;v[b+72>>3]=l;v[b- -64>>3]=k;v[b+56>>3]=j;v[b+48>>3]=i;v[b+40>>3]=h;v[b+32>>3]=g;v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=120704;v[b+8>>3]=d;nj(a,121631,b);fi=b+144|0;return 1}function KW(a){a=a|0;var b=0;Vr(a,130969);Hi(a,-1);pi(a,-2,130975);ek(a,0,261840);ij(a,0,1);Wj(a,1058,0);pi(a,-2,131070);pq(a,-10001);ek(a,130940,261744);ij(a,0,1);Wj(a,1059,0);pi(a,-2,131070);b=bj(a,4);q[b>>2]=0;zi(a,-1e4,130969);aj(a,-2);q[b>>2]=q[51430];Hi(a,-1);vk(a,-10001,1);Hi(a,-2);Co(a,-2);pi(a,-3,130943);b=bj(a,4);q[b>>2]=0;zi(a,-1e4,130969);aj(a,-2);q[b>>2]=q[51431];Hi(a,-1);vk(a,-10001,2);Hi(a,-2);Co(a,-2);pi(a,-3,130949);b=bj(a,4);q[b>>2]=0;zi(a,-1e4,130969);aj(a,-2);q[b>>2]=q[51432];Hi(a,-2);Co(a,-2);pi(a,-3,130956);oi(a,-2);zi(a,-1,130963);ij(a,0,1);Wj(a,1060,0);pi(a,-2,131070);Co(a,-2);oi(a,-2);return 1}function Efa(a){a=a|0;var b=0,c=0,d=0;b=Ci(72);q[b+32>>2]=0;q[b+36>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+48>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=-1;d=QJ(q[a>>2],q[a+20>>2],b);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=(((q[a+16>>2]+q[b+8>>2]|0)-q[b>>2]|0)+w(q[b+32>>2]-q[b+24>>2]>>4,12)|0)+72;return d|0}c=q[b+48>>2];if(c){Di(q[a>>2],c)}a=q[b+64>>2];if(a){Ui(a)}a:{if(o[b+44|0]&1){break a}a=q[b+24>>2];if(a){ki(a)}a=q[b+16>>2];if(!a){break a}ki(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}ki(a)}ki(b);return d|0}function sca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;g=q[74994];if(g){d=q[a+100>>2];if(d){d=d&6?r[a+104|0]&2?d&-7:d:d;if(d&1){q[f+4>>2]=o[a+104|0]&1?36064:6144;e=1}if(d&2){q[(f+4|0)+(e<<2)>>2]=o[a+104|0]&1?36096:6145;e=e+1|0}if(d&4){q[(f+4|0)+(e<<2)>>2]=o[a+104|0]&1?36128:6146;e=e+1|0}ji[g|0](36160,e,f+4|0)}q[a+100>>2]=c;o[a+104|0]=r[a+104|0]&254|(b|0)!=0}a:{if(!b){a=Pa()|0;break a}a=q[b+148>>2]}Ea(36160,a|0);b:{c:{if(r[q[74995]+104|0]&8){a=K()|0;if(a){break c}}a=Da(36160)|0;if((a|0)!=36053){break b}fi=f+16|0;return}Mi(a,82845,2124);J(79249,79164,2124,82845);G()}Tz(a);J(82477,79164,2125,82845);G()}function Qca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;cc(1,c+12|0);a:{if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}a=Ci(68);q[a+60>>2]=0;q[a+64>>2]=0;q[a+40>>2]=1;q[a+32>>2]=2;q[a+36>>2]=1;q[a+24>>2]=3;q[a+28>>2]=5;q[a+44>>2]=0;q[a+48>>2]=0;o[a+51|0]=0;o[a+52|0]=0;o[a+53|0]=0;o[a+54|0]=0;o[a+55|0]=0;o[a+56|0]=0;o[a+57|0]=0;o[a+58|0]=0;q[a>>2]=q[b>>2];q[a+4>>2]=q[c+12>>2];e=s[b+4>>1];p[a+12>>1]=e;d=s[b+6>>1];p[a+14>>1]=d;f=s[b+8>>1];b:{if(!f){p[a+16>>1]=e;break b}p[a+16>>1]=f;d=s[b+10>>1]}p[a+22>>1]=0;p[a+20>>1]=0;p[a+18>>1]=d;q[a+8>>2]=0;fi=c+16|0;return a|0}Mi(a,82959,2174);J(79249,79164,2174,82959);G()}function q4(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-48|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){if((ri(a,1)|0)==1){b=c+24|0;q[b+4>>2]=(Fj(a,1)|0)!=0;q[b>>2]=11;b=q[d+4>>2];a:{if((b|0)==q[d+8>>2]){q[c>>2]=(q[d+8>>2]-q[d>>2]|0)/20;e=ni(a,104394,c);break a}q[d+4>>2]=b+20;q[b+16>>2]=q[c+40>>2];a=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=a;a=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=a}fi=c+48|0;return e|0}d=c;b=ri(a,2);e=125997;b:{if((b|0)==-1){break b}e=q[(b<<2)+261152>>2]}q[d+16>>2]=e;a=ni(a,105988,c+16|0);fi=c+48|0;return a|0}J(104348,104245,265,107702);G()}function h9(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;c=fi-32|0;fi=c;d=1;e=q[a+8>>2]-q[a+12>>2]>>4;g=Pj(a,1);h=ii;i=gj(a,2);j=gj(a,3);b=Ni(a,4,0);vj(a,5,4);k=_i(a,5,c+28|0);Ki(a);l=yi(a,-1,q[213955],189399);oi(a,-2);if((e|0)>=6){vj(a,6,1);d=!Fj(a,6)}a:{if(!Ej(b,191563)){break a}if(!Ej(b,191567)){f=1;break a}if(!Ej(b,191572)){f=2;break a}q[c+16>>2]=b;ni(a,191574,c+16|0)}b=K8(l,g,h,i,j,f,d,k,q[c+28>>2]);if(b){q[c>>2]=b;mi(3,187687,191667,c);b=0}else{b=1}d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,1871,191699);G()}fi=c+32|0;return 1}function tM(a,b){var c=0,d=0;d=fi-32|0;fi=d;a:{b:{c:{if(!Nj(205736,o[b|0])){q[240833]=28;break c}c=xi(1176);if(c){break b}}c=0;break a}qi(c,0,144);if(!Nj(b,43)){q[c>>2]=r[b|0]==114?8:4}d:{if(r[b|0]!=97){b=q[c>>2];break d}b=P(a|0,3,0)|0;if(!(b&1024)){q[d+16>>2]=b|1024;P(a|0,4,d+16|0)|0}b=q[c>>2]|128;q[c>>2]=b}o[c+75|0]=255;q[c+48>>2]=1024;q[c+60>>2]=a;q[c+44>>2]=c+152;e:{if(b&8){break e}q[d>>2]=d+24;if(Uh(a|0,21523,d|0)|0){break e}o[c+75|0]=10}q[c+40>>2]=1548;q[c+36>>2]=1550;q[c+32>>2]=1547;q[c+12>>2]=1546;if(!q[240865]){q[c+76>>2]=-1}q[c+56>>2]=q[240822];a=q[240822];if(a){q[a+52>>2]=c}q[240822]=c}fi=d+32|0;return c}function oea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=fi+ -64|0;fi=c;f=Ti(c+40|0,a,1,61062,842);a:{if((ri(a,1)|0)==7){b=yi(a,1,q[74123],0);if(b){if(xm(q[b>>2])){break a}}ni(a,61165,0)}hk(a,1,60860);b=0}d=gj(a,2);e=q[b+28>>2];b:{c:{if((d|0)>=1){g=q[b+36>>2];if((d|0)<=(w(e,g)|0)){break c}}if(e){a=q[b+36>>2];q[c+20>>2]=60860;q[c+16>>2]=60842;q[c+24>>2]=w(a,e);a=uj(f,61438,c+16|0);break b}q[c+4>>2]=60860;q[c>>2]=60842;a=uj(f,61485,c);break b}d=d-1|0;e=(d>>>0)/(g>>>0)|0;h=+ji[q[b+24>>2]](q[b+16>>2],w(e,q[b+32>>2])+(d-w(e,g)|0)|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=h;q[a+8>>2]=q[a+8>>2]+16;a=1}Si(f);fi=c- -64|0;return a|0}function Xy(a,b){var c=0,d=0,e=0;a:{b:{if(!b){break b}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){c=q[a+(c<<2)>>2];if(s[c+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);break b}e=q[c+4>>2];a=q[c>>2];b=e-a|0;if(!b){break b}b=(b|0)/288|0;if((a|0)!=(e|0)){e=b>>>0>1?b:1;b=0;while(1){a=w(b,288)+a|0;d=q[a+264>>2];c:{if(!d){break c}q[a+264>>2]=3;if((d|0)==3){break c}d=q[c+72>>2];if(!d){break c}ji[q[c+68>>2]](q[c+16>>2],q[a+112>>2],q[a+116>>2],3,d)}o[a+280|0]=r[a+280|0]&247;b=b+1|0;if((e|0)==(b|0)){break b}a=q[c>>2];if((q[c+4>>2]-a|0)/288>>>0>b>>>0){continue}break}}break a}break a}return}J(136114,135222,447,135487);G()}function eA(a,b,c){var d=0,e=0,f=0,g=0;a:{d=q[a+76>>2];b:{if(!d){break b}f=a+72|0;d=q[q[f>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break b}e=q[a+80>>2];while(1){g=e+w(d,24)|0;if(q[g>>2]==(b|0)&(c|0)==q[g+4>>2]){break a}d=q[g+20>>2];if((d|0)!=-1){continue}break}}J(45112,44705,145,45141);G()}d=e+w(d,24)|0;e=q[d+12>>2]-1|0;q[d+12>>2]=e;c:{d:{if(!e){W7(f,b,c);f=q[d+8>>2];b=a+108|0;d=q[b>>2];c=a+112|0;e=q[c>>2];if((d|0)==(e|0)){if(o[a+116|0]&1){break d}a=a+104|0;vi((d-q[a>>2]>>2)+4|0,4,a,c,b);e=q[c>>2];d=q[b>>2]}if((d|0)==(e|0)){break c}q[b>>2]=d+4;q[d>>2]=f}return}J(45977,45268,461,44893);G()}J(45244,45268,501,45347);G()}function Y4(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=Vi(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;d=q[c+304>>2];c=q[d+2220>>2];q[b>>2]=q[d+2216>>2];q[b+4>>2]=c;Ml(a,b);fi=b+32|0;return 1}function _A(a,b,c,d,e){var f=0,g=0,h=0;f=fi-208|0;fi=f;q[f+204>>2]=c;qi(f+160|0,0,40);q[f+200>>2]=q[f+204>>2];a:{if((Dw(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=q[a+76>>2]>=0;c=q[a>>2];if(o[a+74|0]<=0){q[a>>2]=c&-33}h=c&32;b:{if(q[a+48>>2]){b=Dw(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}q[a+48>>2]=80;q[a+16>>2]=f+80;q[a+28>>2]=f;q[a+20>>2]=f;c=q[a+44>>2];q[a+44>>2]=f;d=Dw(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}ji[q[a+36>>2]](a,0,0)|0;q[a+48>>2]=0;q[a+44>>2]=c;q[a+28>>2]=0;q[a+16>>2]=0;b=q[a+20>>2];q[a+20>>2]=0;b=b?d:-1}c=a;a=q[a>>2];q[c>>2]=a|h;b=a&32?-1:b;if(!g){break a}}fi=f+208|0;return b}function Z4(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=Vi(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;d=q[c+16>>2];c=q[d+2220>>2];q[b>>2]=q[d+2216>>2];q[b+4>>2]=c;Ml(a,b);fi=b+32|0;return 1}function dr(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=q[a+16>>2];d=vx(g,q[a+4>>2],b);if(q[d+8>>2]==3){h=v[d>>3];if(y(h)<2147483648){return~~h}return-2147483648}e=q[a>>2];b=q[e+40>>2];f=q[a+40>>2];q[d+8>>2]=3;v[d>>3]=f|0;f=e+40|0;d=q[f>>2];if((d|0)<=q[a+40>>2]){q[e+8>>2]=rq(g,q[e+8>>2],f,16,262143,127300);d=q[e+40>>2]}f=q[e+8>>2];if((b|0)<(d|0)){while(1){q[(f+(b<<4)|0)+8>>2]=0;b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+4>>2];b=f+(q[a+40>>2]<<4)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[c+8>>2];a:{if(q[c+8>>2]<4){break a}b=q[c>>2];if(!(r[b+5|0]&3)|!(r[e+5|0]&4)){break a}Mn(g,e,b)}b=a;a=q[a+40>>2];q[b+40>>2]=a+1;return a}function wl(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;c=0;c:{d:{switch(q[b+8>>2]-3|0){case 1:return q[q[b>>2]+12>>2];case 4:return q[q[b>>2]+16>>2];case 2:return dE(q[b>>2]);case 0:break d;default:break c}}if(!WD(a,b)){break c}c=q[q[b>>2]+12>>2]}return c}function fy(a,b,c,d){var e=0,f=0;e=fi-32|0;fi=e;Wj(a,761,0);f=(b^-1)+(q[a+8>>2]-q[a+12>>2]>>4)|0;ak(a,f);b=qq(a,b,c,f);Ok(a,f);a:{b:{switch(b|0){case 4:oi(a,-2);mi(4,110525,111968,0);break a;case 0:break a;default:break b}}zi(a,-1,111997);zi(a,-2,112003);c=_i(a,-2,0);f=_i(a,-1,0);if(d){q[e+20>>2]=f;q[e+16>>2]=c;mi(4,110525,112013,e+16|0);oi(a,-4);break a}q[e+4>>2]=f;q[e>>2]=c;mi(4,110525,112036,e);zi(a,-10002,112042);c:{if((ri(a,-1)|0)!=5){break c}wi(a,112048);gl(a,-2);if((ri(a,-1)|0)==6){Bi(a,112064,3);Hi(a,-5);Hi(a,-5);fy(a,3,0,1);break c}if(ri(a,-1)){mi(4,110525,112068,0)}oi(a,-2)}oi(a,-5)}fi=e+32|0;return b}function D_(a,b){var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;d=-19584;a:{if((jj(b,0)|0)<0){break a}e=b+12|0;if((jj(e,0)|0)<0){break a}f=a+4|0;if((Dj(b,f)|0)>-1){break a}if((Dj(e,f)|0)>-1){break a}q[c+24>>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=Jj(a,c+16|0,e,e);b:{if(d){break b}d=Jj(a,c,b,b);if(d){break b}c:{if(!q[a+24>>2]){d=tl(c,c,3);if(d){break b}while(1){if(q[c>>2]>-1){break c}if(!jj(c,0)){break c}d=vl(c,c,f);if(!d){continue}break}break b}d=Bp(a,c,c,a+16|0);if(d){break b}}d=Jj(a,c,c,b);if(d){break b}d=Bp(a,c,c,a+28|0);if(d){break b}d=Dj(c+16|0,c)?-19584:0}Ji(c+16|0);Ji(c)}fi=c+32|0;return d}function hca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=q[a>>2];a=a?(a|0)==1?34067:0:3553;ma(a|0,10241,q[(b<<2)+83552>>2]);a:{b:{c:{d:{if(r[q[74995]+104|0]&8){b=K()|0;if(b){break d}}ma(a|0,10240,q[(c<<2)+83552>>2]);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break c}}ma(a|0,10242,q[(d<<2)+83584>>2]);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break b}}ma(a|0,10243,q[(e<<2)+83584>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}Mi(b,83527,2298);J(79249,79164,2298,83527);G()}Mi(b,83527,2301);J(79249,79164,2301,83527);G()}Mi(b,83527,2304);J(79249,79164,2304,83527);G()}Mi(a,83527,2307);J(79249,79164,2307,83527);G()}function _y(a,b,c){var d=x(0);q[a+112>>2]=li(q[b>>2]);q[a+116>>2]=ii;a:{if(!(o[a+60|0]&1)){vi(q[b+72>>2],160,a+48|0,a+56|0,a+52|0);q[a+256>>2]=c;c=w(c,214013)+2531011|0;d=x(x((c>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+268>>2]=u[b+8>>2]+x(x(x(d+d)+x(-1))*u[b+116>>2]);c=w(c,214013)+2531011|0;d=x(x((c>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+272>>2]=u[b+80>>2]+x(x(x(d+d)+x(-1))*u[b+112>>2]);if(!q[b+88>>2]){break a}d=x(x((w(c,214013)+2531011>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+276>>2]=x(x(d+d)+x(-1))*u[q[b+84>>2]+12>>2];return}J(135147,135222,461,135301);G()}J(135437,135449,224,135487);G()}function p4(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=0;b=fi-32|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=x(Ai(a,1));a:{if(d=x(0)){c=~~d>>>0;break a}c=0}d=x(Ai(a,2));b:{if(d=x(0)){f=~~d>>>0;break b}f=0}q[b+12>>2]=c;q[b+8>>2]=17;q[b+16>>2]=f;c=q[e+4>>2];c:{if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+20;q[c+16>>2]=q[b+24>>2];a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break c}q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/20;a=ni(a,104394,b)}fi=b+32|0;return a|0}J(104348,104245,265,107702);G()}function H4(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{b:{c:{if(VD(a,1)){e=q[yi(a,1,q[79071],107921)>>2];if(VD(a,2)){break c}c=0;break b}a=ni(a,105741,0);break a}c=q[yi(a,2,q[79070],107995)>>2]}q[b+12>>2]=e;q[b+8>>2]=18;q[b+16>>2]=c;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+24>>2];a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,b)}fi=b+32|0;return a|0}J(104348,104245,265,107702);G()}function Gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=fi-16|0;fi=e;h=li(b);i=ii;d=q[a+4>>2];f=q[a>>2];a:{if((d|0)==(f|0)){break a}b=d-f|0;g=(b|0)>-1?b:-1;d=f-d|0;b=w((g|0)<1?g:1,((b|0)<(d|0)?d:b)>>>4|0);d=b>>>0>1?b:1;b=0;while(1){b:{g=f+(b<<4)|0;if((h|0)==q[g>>2]&q[g+4>>2]==(i|0)){b=q[(f+(b<<4)|0)+8>>2];d=q[a+20>>2];a=q[a+16>>2];if(b>>>0>>0){break b}J(139549,139421,447,139560);G()}b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}if(!a){break a}a=a+b|0;b=Fi(a);q[e+12>>2]=0;j=NB(a,e+12|0);d=a+b|0;b=q[e+12>>2];if(!((d|0)!=(b|0)|(a|0)==(b|0))){c=x(j);break a}q[e>>2]=a;mi(3,139100,139278,e)}fi=e+16|0;return c}function Fua(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=q[a>>2]+1794895138|0;e=lp(q[a+8>>2],f);g=lp(q[a+12>>2],f);d=lp(q[a+16>>2],f);a:{if(b>>>2>>>0<=e>>>0){break a}h=b-(e<<2)|0;if((d|g)&3|(h>>>0<=g>>>0|d>>>0>=h>>>0)){break a}l=d>>>2|0;m=g>>>2|0;g=0;while(1){h=e>>>1|0;i=h+g|0;j=i<<1;d=(j+m<<2)+a|0;k=lp(q[d>>2],f);d=lp(q[d+4>>2],f);if(d>>>0>=b>>>0|b-d>>>0<=k>>>0|r[(d+k|0)+a|0]){break a}d=Ej(c,a+d|0);if(!d){c=(l+j<<2)+a|0;e=lp(q[c>>2],f);c=lp(q[c+4>>2],f);if(c>>>0>=b>>>0|e>>>0>=b-c>>>0){break a}n=r[(c+e|0)+a|0]?0:a+c|0;break a}if((e|0)==1){break a}d=(d|0)<0;e=d?h:e-h|0;g=d?g:i;continue}}return n}function tea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-112|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Kj(a);c=Pj(a,2);f=ii;g=c;c=tm(a,3);q[b+64>>2]=g;q[b+68>>2]=f;u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];q[b+96>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[61188];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,48);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(73431,73452,322,73533);G()}fi=b+112|0;return 0}function kia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-112|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Kj(a);c=Pj(a,2);f=ii;g=c;c=tm(a,3);q[b+64>>2]=g;q[b+68>>2]=f;u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];q[b+96>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[61188];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,48);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66071,66092,487,66435);G()}fi=b+112|0;return 0}function ez(a,b,c,d){var e=0,f=0,g=0,h=0;f=fi-32|0;fi=f;e=f+8|0;q[e>>2]=0;q[e+4>>2]=0;q[e+16>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;h=e;e=q[a+32>>2];if(!iF(b,h,e,1,1)){g=Ci(67752);e=qi(g,0,67752);b=Sk(b);q[e+2128>>2]=0;q[e>>2]=b;q[e+2132>>2]=q[a>>2];q[e+2136>>2]=q[a+4>>2];q[e+2140>>2]=q[a+8>>2];q[e+2144>>2]=q[a+12>>2];q[e+2148>>2]=q[a+16>>2];q[e+2152>>2]=q[a+20>>2];q[e+2156>>2]=q[a+28>>2];b=q[a+32>>2];q[e+2168>>2]=0;q[e+2172>>2]=0;q[e+2160>>2]=b;b=e+2176|0;q[b>>2]=0;q[b+4>>2]=0;b=e+2184|0;q[b>>2]=0;q[b+4>>2]=0;a=q[a+24>>2];q[e+2204>>2]=0;p[e+2198>>1]=c;o[e+2196|0]=d;q[e+2192>>2]=a;o[e+2200|0]=!a}fi=f+32|0;return g}function bG(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{if(!(b|c)){break a}j=q[a+64>>2];if(q[a+68>>2]-j>>5>>>0<=d>>>0){break a}i=q[a+20>>2];if(!i){break a}i=q[q[a+16>>2]+(lwa(b,c,i)<<2)>>2];if((i|0)==-1){break a}k=q[a+24>>2];a=i;while(1){a=(a<<4)+k|0;if(q[a>>2]!=(b|0)|q[a+4>>2]!=(c|0)){a=q[a+12>>2];if((a|0)!=-1){continue}break a}break}a=(d<<5)+j|0;q[a>>2]=b;q[a+4>>2]=c;j=(i<<4)+k|0;if(q[j>>2]!=(b|0)|q[j+4>>2]!=(c|0)){while(1){i=q[((i<<4)+k|0)+12>>2];j=(i<<4)+k|0;if((b|0)!=q[j>>2]|q[j+4>>2]!=(c|0)){continue}break}}b=q[((i<<4)+k|0)+8>>2];q[a+24>>2]=f;q[a+20>>2]=e;q[a+16>>2]=h;q[a+12>>2]=g;q[a+8>>2]=b&16777215|d<<24}}function Z9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0);c=fi-48|0;fi=c;b=pn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=il(a,1);d=b+8|0;e=b+4|0}i=u[b>>2];j=u[e>>2];k=u[d>>2];f=Ni(a,2,0);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);b:{c:{d=q[e+340>>2];if(d){break c}d=q[q[e+12>>2]+172>>2];if(d){break c}d=0;g=x(1);h=x(1);break b}b=c+32|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ji[q[q[e+12>>2]+16>>2]](d,f,x(0),0,x(1),x(0),b);g=x(u[b+8>>2]+u[b+12>>2]);h=u[b>>2]}u[c+24>>2]=k;u[c+20>>2]=j;u[c+16>>2]=i;q[c+8>>2]=1065353216;u[c+4>>2]=g;u[c>>2]=h;a=Gz(a,e,c+16|0,c,1,f,d);fi=c+48|0;return a|0}function au(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;a:{if((b|0)>=2){b=a;b:{while(1){c:{if(!e){break c}d=q[c+4>>2];g=eq(d,10,q[c+8>>2]-d|0);d:{if(g){d=q[c+4>>2];f=(g-d|0)+1|0;break d}d=q[c+4>>2];f=q[c+8>>2]-d|0}h=d;d=e>>>0>f>>>0?f:e;si(b,h,d);f=d+q[c+4>>2]|0;q[c+4>>2]=f;b=b+d|0;if(g){break c}e=e-d|0;if(!e){break c}e:{if(f>>>0>2]){q[c+4>>2]=f+1;d=r[f|0];break e}d=Nv(c);if((d|0)>-1){break e}d=0;if(!(r[c|0]&16)|(a|0)==(b|0)){break b}break c}o[b|0]=d;b=b+1|0;e=e-1|0;if((d&255)!=10){continue}}break}d=0;if(!a){break b}o[b|0]=0;d=a}break a}b=r[c+74|0];o[c+74|0]=b-1|b;if(e){break a}o[a|0]=0;return a}return d}function Cz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(w(e,576)+f|0)+552>>1]!=(b>>>16|0)){break b}g=w(e,576)+f|0;if(s[g+554>>1]!=(b&65535)){break a}h=-10;c:{if((q[g+412>>2]&240)!=80){break c}h=-5;b=q[a+200>>2];if(!b){break c}b=q[q[a+196>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}g=q[a+204>>2];while(1){a=g+(b<<4)|0;if((c|0)!=q[a>>2]|q[a+4>>2]!=(d|0)){b=q[a+12>>2];if((b|0)!=-1){continue}break c}break}a=w(e,576)+f|0;q[a+520>>2]=c;q[a+524>>2]=d;h=0}return h}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function rT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;e=c?c:963328;c=q[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;h=a?a:g+12|0;d:{if(c){a=1;break d}a=r[b|0];c=a<<24>>24;if((c|0)>=0){q[h>>2]=a;d=(c|0)!=0;break a}a=o[b|0];if(!q[q[72353]>>2]){q[h>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=q[(a<<2)+209040>>2];break b}f=r[b|0];i=f>>>3|0;if((i-16|(c>>26)+i)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){q[e>>2]=0;q[h>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=r[b|0];if((f&192)==128){continue}break}}q[e>>2]=0;q[240833]=25;d=-1;break a}q[e>>2]=c}fi=g+16|0;return d}function Vz(a,b,c,d,e){var f=0,g=0;g=r[e+40|0]?-9:0;a:{b:{if(q[e>>2]==(a|0)&q[e+4>>2]==(b|0)){f=-4;if(q[c>>2]!=4){break a}e=q[c+8>>2];b=q[c+12>>2];a=q[c+20>>2];q[d+8>>2]=q[c+16>>2];q[d+12>>2]=a;q[d>>2]=e;q[d+4>>2]=b;break b}if(q[e+8>>2]==(a|0)&q[e+12>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d>>2]=v[c+8>>3];break b}if(q[e+16>>2]==(a|0)&q[e+20>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+4>>2]=v[c+8>>3];break b}if(q[e+24>>2]==(a|0)&q[e+28>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+8>>2]=v[c+8>>3];break b}f=-1;if((a|0)!=q[e+32>>2]|(b|0)!=q[e+36>>2]){break a}f=-4;if(q[c>>2]){break a}u[d+12>>2]=v[c+8>>3]}f=g}return f}function PS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-8400|0;fi=b;c=Qm(a,124700);f=Ln(a,2,8192);q[b+68>>2]=128;e=c+8|0;Bn(e);a:{b:{c:{g=b+208|0;if(f<4294967296&f>=0){d=~~f>>>0}else{d=0}c=gQ(c,g,d>>>0<8192?d:8192,b+204|0,b+72|0,b+68|0,e);switch(c+2|0){case 0:case 2:break b;default:break c}}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,Ql(c));c=2;break a}c=3;d=_(b+72|0,q[b+68>>2],b+16|0,46,b+10|0,6,3)|0;if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,ha(d|0)|0);c=2;break a}Bi(a,b+208|0,q[b+204>>2]);wi(a,b+16|0);d=mp(b+10|0,0);e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16}fi=b+8400|0;return c|0}function T1(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);b=no(a,1);c=u[b+48>>2];d=u[b+52>>2];e=u[b+56>>2];f=u[b>>2];g=u[b+16>>2];h=u[b+32>>2];i=u[b+4>>2];j=u[b+20>>2];k=u[b+36>>2];l=u[b+8>>2];m=u[b+24>>2];n=u[b+40>>2];b=bj(a,64);q[b+60>>2]=1065353216;q[b+44>>2]=0;u[b+40>>2]=n;u[b+36>>2]=m;u[b+32>>2]=l;q[b+28>>2]=0;u[b+24>>2]=k;u[b+20>>2]=j;u[b+16>>2]=i;q[b+12>>2]=0;u[b+8>>2]=h;u[b+4>>2]=g;u[b>>2]=f;u[b+56>>2]=-x(x(h*c)+x(x(k*d)+x(n*e)));u[b+52>>2]=-x(x(g*c)+x(x(j*d)+x(m*e)));u[b+48>>2]=-x(x(f*c)+x(x(i*d)+x(l*e)));zi(a,-1e4,120704);aj(a,-2);return 1}function eQ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;j=fi-16|0;fi=j;q[d>>2]=0;i=q[a>>2];a:{if((i|0)==-1){h=-2;break a}b:{c:{h=xw(i,b,c,e,f);if((h|0)<=-1){while(1){h=q[240833];d:{if((h|0)!=6){if((h|0)==27){break d}i=-2;if((h|0)!=64){break a}break b}i=q[a>>2];q[j+12>>2]=4;q[j+8>>2]=i;if(v[g>>3]==0){break c}while(1){i=j+8|0;k=kp(g)*1e3;e:{if(y(k)<2147483648){h=~~k;break e}h=-2147483648}i=rp(i,1,(h|0)>-1?h:-1);if((i|0)!=-1){if(i){break d}break c}if(q[240833]==27){continue}break}i=q[240833];if(i){break b}}h=xw(q[a>>2],b,c,e,f);if((h|0)<=-1){continue}break}}q[d>>2]=h;h=0;break a}h=-1;break a}h=i}fi=j+16|0;return h}function J0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=fi+ -64|0;fi=b;c=yi(a,1,q[210276],0);e=u[c>>2];f=u[c+4>>2];a:{if(!(e!=e|f!=f)){d=u[c+8>>2];if(d==d){break a}}d=u[c+8>>2];v[b+48>>3]=f;v[b+56>>3]=d;v[b+40>>3]=e;q[b+32>>2]=1;ni(a,120787,b+32|0)}g=yi(a,2,q[210276],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=d;v[b+8>>3]=e;q[b>>2]=2;ni(a,120787,b);d=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}h=u[c+8>>2];i=u[c>>2];j=u[c+4>>2];c=bj(a,16);u[c+8>>2]=h+d;u[c+4>>2]=j+f;u[c>>2]=i+e;zi(a,-1e4,120656);aj(a,-2);fi=b- -64|0;return 1}function Hj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;h=li(b);i=ii;e=q[a+4>>2];d=q[a>>2];a:{b:{if((e|0)==(d|0)){break b}b=e-d|0;g=(b|0)>-1?b:-1;e=d-e|0;b=w((g|0)<1?g:1,((b|0)<(e|0)?e:b)>>>4|0);e=b>>>0>1?b:1;b=0;while(1){c:{g=d+(b<<4)|0;if((h|0)==q[g>>2]&q[g+4>>2]==(i|0)){b=q[(d+(b<<4)|0)+8>>2];d=q[a+20>>2];a=q[a+16>>2];if(b>>>0>>0){break c}J(139549,139421,447,139560);G()}b=b+1|0;if((e|0)!=(b|0)){continue}break b}break}if(!a){break b}a=a+b|0;d=Fi(a);q[f+12>>2]=0;b=mp(a,f+12|0);e=a+d|0;d=q[f+12>>2];if((a|0)!=(d|0)?(e|0)==(d|0):0){break a}q[f>>2]=a;mi(3,139100,139248,f)}b=c}fi=f+16|0;return b}function B0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=fi+ -64|0;fi=b;c=yi(a,1,q[210276],0);e=u[c>>2];f=u[c+4>>2];a:{if(!(e!=e|f!=f)){d=u[c+8>>2];if(d==d){break a}}d=u[c+8>>2];v[b+48>>3]=f;v[b+56>>3]=d;v[b+40>>3]=e;q[b+32>>2]=1;ni(a,120787,b+32|0)}g=yi(a,2,q[210276],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=d;v[b+8>>3]=e;q[b>>2]=2;ni(a,120787,b);d=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}h=u[c+8>>2];i=u[c>>2];j=u[c+4>>2];c=bj(a,16);u[c+8>>2]=h-d;u[c+4>>2]=j-f;u[c>>2]=i-e;zi(a,-1e4,120656);aj(a,-2);fi=b- -64|0;return 1}function qna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=fi-16|0;fi=f;q[f+12>>2]=0;b=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[59718],f+12|0)){a:{e=q[a+4>>2];d=q[e+4>>2];c=q[e>>2];b=d-c|0;if(!b){break a}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){g=q[(b<<2)+c>>2];c=q[a+32>>2];C1(g,q[f+12>>2],q[c>>2],q[c+4>>2]);b=b+1|0;if((d|0)==(b|0)){break a}c=q[e>>2];if(q[e+4>>2]-c>>2>>>0>b>>>0){continue}break}}J(20722,20733,447,20812);G()}c=q[a+32>>2];e=q[c+8>>2];b=q[e>>2];q[c+16>>2]=(q[a+24>>2]-q[b+4>>2]|0)+4;Ui(b);q[e>>2]=q[f+12>>2];b=0}fi=f+16|0;return b|0}function hy(a,b){var c=0,d=0;c=qi(Ci(132),0,132);q[c+56>>2]=0;q[c+60>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+28>>2]=-1;q[c+48>>2]=0;q[c+52>>2]=0;d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;d=c+112|0;q[d>>2]=0;q[d+4>>2]=0;q[c+60>>2]=-1;q[c+92>>2]=-1;mz(c+8|0,127,256);nz(c+40|0,127,256);zs(c+72|0,443,256);if(o[c+116|0]&1){J(112137,112212,461,111691);G()}vi(8,4,c+104|0,d,c+108|0);q[c+4>>2]=b;q[c>>2]=a;a=TW();if(a){q[q[a+16>>2]+88>>2]=1003}o[c+128|0]=1;q[c+124>>2]=-2;q[c+120>>2]=a;return c}function KB(a){var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;c=(ywa(a),uwa(2));b=c&2147483647;a:{if(b>>>0<=1061752794){if(b>>>0<964689920){break a}a=fr(+a,0);break a}if(b>>>0<=1081824209){d=+a;if(b>>>0<=1075235811){a=fr(((c|0)>-1?-1.5707963267948966:1.5707963267948966)+d,1);break a}a=fr(((c|0)>-1?-3.141592653589793:3.141592653589793)+d,0);break a}if(b>>>0<=1088565717){d=+a;if(b>>>0<=1085271519){a=fr(((c|0)>-1?-4.71238898038469:4.71238898038469)+d,1);break a}a=fr(((c|0)>-1?-6.283185307179586:6.283185307179586)+d,0);break a}if(b>>>0>=2139095040){a=x(a-a);break a}b=dB(a,e+8|0);a=fr(v[e+8>>3],b&1)}fi=e+16|0;return a}function OV(a,b){q[a+8>>2]=2036477234;q[a+12>>2]=1797285236;q[a>>2]=1634760805;q[a+4>>2]=857760878;q[a+16>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+20>>2]=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[a+24>>2]=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);q[a+28>>2]=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);q[a+32>>2]=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);q[a+36>>2]=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);q[a+40>>2]=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);q[a+44>>2]=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);return 0}function Mma(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;c=q[a+8>>2]-q[a+12>>2]>>4;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=fk(a,-1,q[72646]);oi(a,-2);a:{if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){b:{if(!b){b=ni(a,17440,0);break b}b=0;Ni(a,1,0);c:{if(Gj(a,2)){break c}if(jy(a,2)){break c}if(Qn(a,2)){break c}if(sm(a,2)){break c}if(pn(a,2)){break c}if($x(a,2)){break c}if((ri(a,2)|0)==1){break c}b=d;e=ri(a,2);c=125997;d:{if((e|0)==-1){break d}c=q[(e<<2)+261152>>2]}q[b>>2]=c;b=ni(a,17494,d);break b}if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}}fi=d+16|0;return b|0}J(16481,15813,185,18854);G()}J(16481,15813,2114,17614);G()}function Hr(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=(a|0)==(c|0);d=e?a:b;a:{if((d|0)!=(a|0)){d=_j(a,d);if(d){break a}}q[a>>2]=1;c=e?b:c;d=q[c+4>>2];while(1){b=d;if(d){d=b-1|0;if(!q[q[c+8>>2]+(d<<2)>>2]){continue}}break}d=Vk(a,b);if(d){break a}b:{if(!b){break b}c=q[c+8>>2];d=q[a+8>>2];e=0;while(1){f=q[d>>2];e=f+e|0;g=e+q[c>>2]|0;q[d>>2]=g;e=(e>>>0>>0)+(e>>>0>g>>>0)|0;d=d+4|0;c=c+4|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}if(!e){break b}while(1){c=b+1|0;if(t[a+4>>2]<=b>>>0){d=Vk(a,c);if(d){break a}d=q[a+8>>2]+(b<<2)|0}f=q[d>>2];g=f+e|0;q[d>>2]=g;d=d+4|0;e=1;b=c;if(f>>>0>g>>>0){continue}break}}d=0}return d}function rk(a,b){var c=0,d=0;c=r[b+5|0];a:{b:{c:{d:{e:{f:{while(1){g:{c=c&252;o[b+5|0]=c;d=r[b+4|0];if((d|0)!=7){switch(d-5|0){case 4:break c;case 3:break d;case 0:break e;case 1:break f;case 5:break g;default:break a}}o[b+5|0]=c|4;c=q[b+8>>2];if(!(!c|!(r[c+5|0]&3))){rk(a,c)}b=q[b+12>>2];c=r[b+5|0];if(c&3){continue}break a}break}c=q[b+8>>2];h:{if(q[c+8>>2]<4){break h}d=q[c>>2];if(!(r[d+5|0]&3)){break h}rk(a,d);c=q[b+8>>2]}if((b+16|0)!=(c|0)){break a}o[b+5|0]=r[b+5|0]|4;return}q[b+8>>2]=q[a+36>>2];break b}q[b+24>>2]=q[a+36>>2];break b}q[b+108>>2]=q[a+36>>2];break b}q[b+68>>2]=q[a+36>>2]}q[a+36>>2]=b}}function qv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=fi-16|0;fi=g;c=q[a+32>>2];d=q[a+20>>2];i=q[a+16>>2];e=q[a+4>>2];f=q[a>>2];j=q[a+28>>2]+q[a+24>>2]|0;b=c+(d+(i+(q[a+8>>2]+(e+(f+j|0)|0)|0)|0)|0)|0;h=b<<2;l=c+q[a+12>>2]|0;a=h;h=(b<<3)+35&-8;c=a+h|0;k=(a+c|0)+7&-8;e=k+(e<<3)|0;d=(e+((f+w(d,3)|0)+(j<<2)<<2)|0)+7&-8;f=d+(i<<5)|0;a:{if(Lp(g+12|0,8,l+f|0)){b=0;break a}a=q[g+12>>2];q[a>>2]=b;q[a+28>>2]=a+f;q[a+24>>2]=a+d;q[a+20>>2]=a+e;q[a+16>>2]=a+k;q[a+12>>2]=a+c;q[a+8>>2]=a+h;q[a+4>>2]=a+32;b=Ci(24);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=a;q[b+12>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0}fi=g+16|0;return b}function nI(a,b,c,d){var e=0,f=0,g=0,h=0;f=-5;a:{b:{c:{e=q[a+248>>2];d:{if(!e){break d}e=q[q[a+244>>2]+(lwa(c,d,e)<<2)>>2];if((e|0)==-1){break d}h=q[a+252>>2];while(1){g=(e<<4)+h|0;if((c|0)!=q[g>>2]|q[g+4>>2]!=(d|0)){e=q[g+12>>2];if((e|0)!=-1){continue}break d}break}f=b&65535;g=q[a+36>>2];a=q[a+32>>2];if(f>>>0>=(g-a|0)/576>>>0){break c}if(s[(a+w(f,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(f,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+496>>2]=c;q[a+500>>2]=d;p[a+504>>1]=s[((e<<4)+h|0)+8>>1];f=0}return f}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function hea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fi-96|0;fi=e;f=q[a+8>>2]-q[a+12>>2]|0;g=Kj(a);b=Pj(a,2);h=ii;c=b;d=tm(a,3);b=e;q[b+64>>2]=c;q[b+68>>2]=h;u[b+80>>2]=u[d>>2];u[b+84>>2]=u[d+4>>2];u[b+88>>2]=u[d+8>>2];u[b+92>>2]=u[d+12>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[63218];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],g,c,b- -64|0,32);if(f>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(74091,73926,128,74112);G()}fi=e+96|0;return 0}function Lla(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0;d=fi-16|0;fi=d;f=-1e3;c=q[a+60>>2];a:{if(!c){break a}b=q[c+164>>2];if(!b){break a}b:{e=u[b+8>>2];c:{if(!(q[b+4>>2]|e!=x(0))){b=0;break c}if(e>x(0)^1){break b}b=q[b+4>>2];if(!b){break b}}q[d+8>>2]=b;v[d>>3]=e;mi(4,35903,35911,d);break a}g=q[a+68>>2];b=Ci(28);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;h=r[g+13|0];q[b>>2]=c;c=q[a>>2];q[b+8>>2]=0;q[b+4>>2]=c;c=s[a+76>>1];o[b+24|0]=h|4;q[b+12>>2]=0;q[b+16>>2]=0;p[b+22>>1]=c;if(!AJ(g,q[a+64>>2],b,0)){ki(b);break a}q[q[a+72>>2]>>2]=b;f=0}fi=d+16|0;return f|0}function Foa(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=Js(a);a=q[d+80>>2];b:{if(!a){break b}f=d+76|0;a=q[q[f>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break b}c=q[d+84>>2];while(1){e=c+w(a,12)|0;if(q[e>>2]!=(b|0)){a=q[e+8>>2];if((a|0)!=-1){continue}break b}break}a=s[(c+w(a,12)|0)+4>>1];if((a|0)!=65535){e=q[d+16>>2];g=q[d+20>>2]-e>>1;while(1){if(a>>>0>=g>>>0){break a}a=s[e+(a<<1)>>1];c=q[d>>2];if(a>>>0>=(q[d+4>>2]-c|0)/104>>>0){break a}c=c+w(a,104)|0;p[c+88>>1]=65535;q[c+84>>2]=0;q[c+76>>2]=0;q[c+80>>2]=0;a=s[c+90>>1];p[c+90>>1]=65535;if((a|0)!=65535){continue}break}}Iu(f,b)}return}J(6718,6437,447,6729);G()}function vA(a){var b=0,c=0;c=q[a>>2];b=q[a+4>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+8>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+12>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+16>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+20>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+24>>2];if((b|0)!=-2){sj(c,-1e4,b)}sj(c,-1e4,q[a+44>>2]);a:{if(o[a+60|0]&1){break a}c=q[a+48>>2];if(!c){break a}ki(c)}q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+16>>2]=-2;q[a+20>>2]=-2;q[a+8>>2]=-2;q[a+12>>2]=-2;q[a+4>>2]=-2;q[a+44>>2]=-2;q[a+24>>2]=-2}function pI(a,b,c,d){var e=0,f=0,g=0,h=0;f=-5;a:{b:{c:{e=q[a+100>>2];d:{if(!e){break d}e=q[q[a+96>>2]+(lwa(c,d,e)<<2)>>2];if((e|0)==-1){break d}h=q[a+104>>2];while(1){g=(e<<4)+h|0;if((c|0)!=q[g>>2]|q[g+4>>2]!=(d|0)){e=q[g+12>>2];if((e|0)!=-1){continue}break d}break}f=b&65535;g=q[a+36>>2];a=q[a+32>>2];if(f>>>0>=(g-a|0)/576>>>0){break c}if(s[(a+w(f,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(f,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+480>>2]=c;q[a+484>>2]=d;q[a+488>>2]=q[((e<<4)+h|0)+8>>2];f=0}return f}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function pC(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;g=fi-16|0;fi=g;q[d>>2]=0;f=q[a>>2];a:{if((f|0)==-1){f=-2;break a}b:{f=rt(f,b,c);if((f|0)<=0){while(1){if(!f){f=-2;break a}f=q[240833];c:{if((f|0)==27){break c}if((f|0)!=6){break a}f=q[a>>2];q[g+12>>2]=1;q[g+8>>2]=f;if(v[e>>3]==0){break b}while(1){i=g+8|0;h=kp(e)*1e3;d:{if(y(h)<2147483648){f=~~h;break d}f=-2147483648}f=rp(i,1,(f|0)>-1?f:-1);if((f|0)!=-1){if(f){break c}break b}if(q[240833]==27){continue}break}f=q[240833];if(f){break a}}f=rt(q[a>>2],b,c);if((f|0)<=0){continue}break}}q[d>>2]=f;f=0;break a}f=-1}fi=g+16|0;return f|0}function XK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=r[a+24|0];if(f){while(1){d=q[a+20>>2]+w(g,20)|0;c=q[d+12>>2]+b|0;a:{b:{c:{d:{e=q[d+4>>2];switch((e>>>22&63)-9|0){case 3:break b;case 0:break c;case 2:break d;default:break a}}XK(q[d+8>>2],c);f=r[a+24|0];break a}if((e&-268435456)==805306368){d=q[c>>2]+b|0;q[c>>2]=d;e=q[c+4>>2];if(!e){break a}i=q[a+16>>2];c=0;while(1){h=q[d>>2];q[d>>2]=i>>>0>h>>>0?0:h+b|0;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}break a}d=c;c=q[c>>2];q[d>>2]=c>>>0>2]?0:c+b|0;break a}d=c;c=q[c>>2];q[d>>2]=c>>>0>2]?0:c+b|0}g=g+1|0;if(g>>>0>>0){continue}break}}}function F4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-80|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){f=Ti(b+56|0,a,0,104245,940);a:{b:{if((ri(a,1)|0)==2){c=Vi(a,1);if(c){break b}}q[b>>2]=104341;e=ni(a,104977,b);break a}q[b+36>>2]=c;q[b+32>>2]=4;q[b+40>>2]=0;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+48>>2];a=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=a;a=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=a;break a}q[b+16>>2]=(q[d+8>>2]-q[d>>2]|0)/20;e=ni(a,104394,b+16|0)}Si(f);fi=b+80|0;return e|0}J(104348,104245,265,107702);G()}function OO(a,b,c){var d=0,e=0;d=fi-1552|0;fi=d;a:{if(a){qi(d+8|0,0,1528);q[d+1536>>2]=0;q[d+1444>>2]=-1;q[d+148>>2]=0;q[d+120>>2]=0;q[d+124>>2]=0;q[d+36>>2]=0;q[d+40>>2]=a;q[d+28>>2]=0;o[d+56|0]=0;q[d+44>>2]=a;q[d+52>>2]=b;q[d+48>>2]=a+b;b:{if(!RO(d+8|0)){break b}q[d+16>>2]=q[d+16>>2]+1532;a=q[d+104>>2];c:{if(a){b=q[d+112>>2];e=b+1532|0;if((e|0)>q[d+116>>2]){break b}q[d+112>>2]=e;a=a+b|0;break c}a=xi(1532)}if(!a){break b}b=si(a,d+8|0,1532);if(!Sv(b,d+1548|0,d+1540|0,d+1544|0)){break a}Rv(b,q[d+1548>>2],q[d+1540>>2],q[d+1544>>2]);break a}if(c){q[c>>2]=q[d+124>>2]}uB(d+8|0)}a=0}fi=d+1552|0;return a}function s4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-48|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ai(a,1);a:{if(e<4294967296&e>=0){b=~~e>>>0;break a}b=0}b:{if(b>>>0>=3){q[c+4>>2]=b;q[c>>2]=104341;a=ni(a,106174,c);break b}f=c+24|0;q[f+4>>2]=b;q[f>>2]=16;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+40>>2];a=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=a;a=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=a;a=0;break b}q[c+16>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c+16|0)}fi=c+48|0;return a|0}J(104348,104245,265,107702);G()}function r4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-48|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ai(a,1);a:{if(e<4294967296&e>=0){b=~~e>>>0;break a}b=0}b:{if(b>>>0>=8){q[c+4>>2]=b;q[c>>2]=104341;a=ni(a,106017,c);break b}f=c+24|0;q[f+4>>2]=b;q[f>>2]=12;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+40>>2];a=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=a;a=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=a;a=0;break b}q[c+16>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c+16|0)}fi=c+48|0;return a|0}J(104348,104245,265,107702);G()}function lma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=0;e=fi-48|0;fi=e;c=q[q[a+24>>2]>>2];fi=e+48|0;d=q[a+16>>2];a=q[a+20>>2];a:{b:{if((d|0)==q[73224]&(a|0)==q[73225]){f=u[c+12>>2];break b}if(q[73226]==(d|0)&q[73227]==(a|0)){f=u[c+16>>2];break b}g=-1;if((d|0)!=q[73228]|(a|0)!=q[73229]){break a}f=u[c+20>>2]}a=e+8|0;q[a>>2]=0;v[a+8>>3]=f;a=e;d=q[a+44>>2];c=b- -64|0;q[c>>2]=q[a+40>>2];q[c+4>>2]=d;c=q[a+36>>2];q[b+56>>2]=q[a+32>>2];q[b+60>>2]=c;c=q[a+28>>2];q[b+48>>2]=q[a+24>>2];q[b+52>>2]=c;c=q[a+20>>2];q[b+40>>2]=q[a+16>>2];q[b+44>>2]=c;c=q[a+12>>2];q[b+32>>2]=q[a+8>>2];q[b+36>>2]=c;g=0}return g|0}function bU(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=bC(q[a+104>>2]+2|0);g=ii;a:{if(!(r[q[a>>2]+185|0]&8)){break a}b=q[a+156>>2];d=q[a+152>>2];if((g|0)==(b|0)&c>>>0>d>>>0|b>>>0>>0){f=1;e=0;b=g-((c>>>0>>0)+b|0)|0;d=c-d|0;if(!b&d>>>0<=63){e=q[a+164>>2];f=q[a+160>>2];b=d&31;if((d&63)>>>0>=32){e=f<>>32-b|e<>2]=c;q[a+156>>2]=g;q[a+160>>2]=f;q[a+164>>2]=e;return}e=b-((c>>>0>d>>>0)+g|0)|0;c=d-c|0;if(!e&c>>>0>63|e){break a}e=q[a+164>>2];d=a;b=a;f=q[a+160>>2];a=c&31;if((c&63)>>>0>=32){c=1<>>32-a;a=1<>2]=f|a;q[d+164>>2]=c|e}}function Jna(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=fi-32|0;fi=g;h=g+24|0;q[h>>2]=0;q[h+4>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;vi(c+24|0,1,g+16|0,h,g+16|4);i=q[h>>2];q[g+20>>2]=i;h=q[g+16>>2];q[h+8>>2]=c;j=q[a+12>>2];a=q[a+8>>2];o[h+16|0]=0;q[h+12>>2]=f;q[h>>2]=a;q[h+4>>2]=j;si(h+24|0,b,c);c=0;a=q[59680];if(oo(d,e,q[a+8>>2],q[a+12>>2],0,0,a,h,i-h|0,0)){a=Ei(q[a+8>>2],q[a+12>>2]);b=_m(q[e>>2],q[e+4>>2]);c=Ei(q[e+16>>2],q[e+20>>2]);q[g+12>>2]=Ei(q[e+24>>2],q[e+28>>2]);q[g+8>>2]=c;q[g+4>>2]=b;q[g>>2]=a;mi(4,14873,14884,g);c=-1e3}a:{if(o[g+28|0]&1){break a}a=q[g+16>>2];if(!a){break a}ki(a)}fi=g+32|0;return c}function Rs(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=3;a:{b:{if(!a){break b}h=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!h|s[h+16>>1]!=(a>>>16|0)){break b}i=6;k=r[h+20|0];if(!k){break b}j=q[h+4>>2];a=0;while(1){l=(a<<4)+j|0;if((b|0)!=q[l>>2]|q[l+4>>2]!=(c|0)){a=a+1|0;if((k|0)!=(a|0)){continue}break b}break}i=1;c=q[h>>2];b=q[h+12>>2];if(ej(c+w(b,q[h+8>>2])|0,138944,16)){break b}q[d>>2]=c+q[((a<<4)+j|0)+8>>2];if(e){q[e>>2]=b}if(f){q[f>>2]=r[((a<<4)+j|0)+13|0]}i=0;if(!g){break b}a=o[((a<<4)+j|0)+12|0];if(a>>>0>=9){break a}q[g>>2]=t[h+8>>2]/t[(a<<2)+139064>>2]}return i}J(138299,138265,197,138326);G()}function Oea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-4096|0;fi=b;d=Ti(b+4072|0,a,0,65612,209);e=Kj(a);q[b+4068>>2]=0;c=Ni(a,2,b+4068|0);a:{if(!c){a=uj(d,65693,0);break a}ij(a,0,0);Bi(a,c,q[b+4068>>2]);pi(a,-2,65728);f=ty(a,q[61802],b- -64|0,4e3);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;fm(a,b);ok(a,1,b+32|0,b);c=q[61802];if(Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,f)){a=uj(d,65733,0);break a}oi(a,-2);a=0}Si(d);fi=b+4096|0;return a|0}function Ok(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;c=b+16|0;d=q[a+8>>2];if(c>>>0>>0){while(1){d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[b+24>>2];b=c;c=b+16|0;d=q[a+8>>2];if(c>>>0>>0){continue}break}}q[a+8>>2]=d-16}function VI(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;q[d+24>>2]=c;q[d+28>>2]=b;na(a|0,1,d+28|0,d+24|0);a:{b:{c:{if(r[q[74995]+104|0]&8){b=K()|0;if(b){break c}}ra(a|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break b}}oa(a|0,35713,d+20|0);c=q[d+20>>2];d:{if(c){break d}oa(a|0,35716,d+16|0);b=q[d+16>>2];if((b|0)>=1){e=a;a=xi(b);Ta(e|0,b|0,d+16|0,a|0);q[d>>2]=a;mi(4,79120,81564,d);ki(a)}if(!(r[q[74995]+104|0]&8)){break d}a=K()|0;if(a){break a}}fi=d+32|0;return(c|0)!=0}Mi(b,81641,1728);J(79249,79164,1728,81641);G()}Mi(b,81641,1730);J(79249,79164,1730,81641);G()}Mi(a,81641,1745);J(79249,79164,1745,81641);G()}function zla(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];b=q[q[a+16>>2]>>2];a=q[q[a+12>>2]>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}o[b+20|0]=r[b+20|0]&254;a=q[b+8>>2];if((a|0)!=-2){sj(c,-1e4,a);sj(c,-1e4,q[b+12>>2]);sj(c,-1e4,q[b+16>>2]);q[b+16>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2}a=q[b+4>>2];if(a){sn(a);q[b+4>>2]=0}b:{c:{e=q[d>>2];if((e|0)!=q[d+4>>2]){q[b>>2]=0;o[b+20|0]=r[b+20|0]&253;c=q[d+16>>2];if(!c){break c}a=q[d+24>>2];if(!a|a>>>0>t[d+20>>2]){break b}a=a-1|0;q[d+24>>2]=a;q[(a<<2)+c>>2]=(b-e|0)/24;return 0}J(38619,38404,447,38630);G()}J(38641,38545,140,38672);G()}J(38677,38545,141,38672);G()}function ql(a,b){var c=0,d=0,e=0;c=fi-32|0;fi=c;a:{if(q[b+16>>2]!=q[b+20>>2]){Xm(a,b);break a}qm(a,b)}b:{c:{d:{e:{d=q[b>>2];switch(d-1|0){case 3:break d;case 0:case 1:case 2:case 4:break e;default:break c}}if(q[a+40>>2]>255){break c}f:{g:{switch(d-1|0){case 0:q[c+8>>2]=0;d=q[a+4>>2];q[c+24>>2]=5;q[c+16>>2]=d;a=dr(a,c+16|0,c);break f;case 4:e=v[b+8>>3];q[c+24>>2]=3;v[c+16>>3]=e;a=dr(a,c+16|0,c+16|0);break f;default:break g}}q[c+24>>2]=1;q[c+16>>2]=(d|0)==2;a=dr(a,c+16|0,c+16|0)}q[b>>2]=4;q[b+8>>2]=a;a=a|256;break b}d=q[b+8>>2];if((d|0)>255){break c}a=d|256;break b}a=Xm(a,b)}fi=c+32|0;return a}function it(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=fi-240|0;fi=h;i=q[d>>2];q[h+232>>2]=i;d=q[d+4>>2];q[h>>2]=a;q[h+236>>2]=d;k=1;a:{b:{c:{if(!(d|(i|0)!=1)){d=a;break c}l=0-b|0;i=a;while(1){j=(e<<2)+g|0;d=i-q[j>>2]|0;if((ji[c|0](d,a)|0)<1){d=i;break c}d:{if(!((e|0)<2|f)){f=q[j-8>>2];j=i+l|0;if((ji[c|0](j,d)|0)>-1){break d}if((ji[c|0](j-f|0,d)|0)>-1){break d}}q[(k<<2)+h>>2]=d;i=h+232|0;f=iwa(q[h+232>>2]-1|0);if(!f){f=iwa(q[h+236>>2]);f=f?f+32|0:0}pt(i,f);k=k+1|0;e=e+f|0;f=0;i=d;if(q[h+236>>2]|q[h+232>>2]!=1){continue}break b}break}d=i;break b}if(f){break a}}tL(b,h,k);vw(d,b,c,e,g)}fi=h+240|0}function g$(a,b,c){var d=0,e=0,f=0;d=fi-16448|0;fi=d;q[d+16432>>2]=0;q[d+16424>>2]=0;q[d+16428>>2]=0;a:{b:{c:{d:{e=hra(d+16392|0);f=e+6|0;if(f>>>0<=8){if((f|0)!=6){break a}q[d+16392>>2]=a;q[d+16396>>2]=b;while(1){q[d+16408>>2]=16384;q[d+16404>>2]=d;a=ira(d+16392|0);if((a|0)==-2){break d}if(!(ji[892](c,d,16384-q[d+16408>>2]|0)|0)){JA(d+16392|0);e=-1;break a}if(!q[d+16408>>2]){continue}break}if(q[d+16396>>2]){break c}if((a|0)!=1){break b}JA(d+16392|0);e=0;break a}e=-1e3;break a}J(169726,169748,106,169783);G()}J(169797,169748,115,169783);G()}J(169816,169748,116,169783);G()}fi=d+16448|0;return e}function ema(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];b=q[q[a+16>>2]>>2];a=q[q[a+12>>2]>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}o[b+20|0]=r[b+20|0]&254;a=q[b+8>>2];if((a|0)!=-2){sj(c,-1e4,a);sj(c,-1e4,q[b+12>>2]);sj(c,-1e4,q[b+16>>2]);q[b+16>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2}a=q[b+4>>2];if(a){sn(a);q[b+4>>2]=0}b:{c:{e=q[d>>2];if((e|0)!=q[d+4>>2]){q[b>>2]=0;o[b+20|0]=r[b+20|0]&253;c=q[d+16>>2];if(!c){break c}a=q[d+24>>2];if(!a|a>>>0>t[d+20>>2]){break b}a=a-1|0;q[d+24>>2]=a;q[(a<<2)+c>>2]=(b-e|0)/24;return 0}J(33675,33686,447,33664);G()}J(34203,34129,140,33903);G()}J(34234,34129,141,33903);G()}function G1(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=fi-48|0;fi=c;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){d=x(1);break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){b=yi(a,-1,q[210278],0);f=u[b>>2];g=u[b+4>>2];b:{if(f!=f|g!=g){break b}e=u[b+8>>2];if(e!=e){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];e=u[b+12>>2];v[c+16>>3]=g;v[c+32>>3]=e;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=-1;ni(a,120971,c);d=u[b+12>>2];e=u[b+8>>2];g=u[b+4>>2];f=u[b>>2];break a}f=x(Ai(a,1));g=x(Ai(a,2));e=x(Ai(a,3));d=x(Ai(a,4))}b=bj(a,16);u[b+12>>2]=d;u[b+8>>2]=e;u[b+4>>2]=g;u[b>>2]=f;zi(a,-1e4,120688);aj(a,-2);fi=c+48|0;return 1}function AU(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;c=a+8|0;l=jj(c,0);d=a+44|0;i=jj(d,0);g=a+56|0;j=jj(g,0);e=(i|0)!=0&(j|0)!=0;h=a+32|0;f=jj(h,0);k=a+20|0;b=(jj(k,0)|0)!=0;m=e&!f&b;f=(f|0)!=0;n=!l|(i|j)!=0;o=b&(f&(n^1));e=m|(o|b&(e&f));a:{if(!(b&((f|n)^1))){b=-16512;if(!e){break a}}if(!(!j|(!i|l))){b=Ak(c,d,g);if(b){return b-16512|0}q[a+4>>2]=Cm(c)}b:{c:{d:{if(o){c=yU(c,k,h,d,g);if(!c){break d}return c-16512|0}if(!m){break d}c=xU(d,g,k,h);if(!c){break c}return c-16512|0}if(!e){break b}}d=zU(d,g,h,a+68|0,a+80|0,a+92|0);if(!d){break b}return d-16512|0}b=sr(a,e)}return b}function lv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=(r[b+136|0]<<4)+a|0;g=c+2100|0;a:{b:{c:{e=c+2104|0;d=q[e>>2];h=c+2108|0;f=q[h>>2];if((d|0)==(f|0)){if(o[c+2112|0]&1){break c}c=q[a+2052>>2];a=d-q[g>>2]>>1;d=c-a|0;c=a>>>1|0;c=c>>>0>10?c:10;vi((d>>>0>>0?d:c)+a|0,2,g,h,e);f=q[h>>2];d=q[e>>2]}if((d|0)==(f|0)){break b}a=q[g>>2];c=d-a>>1;d=c&65535;if(d>>>0>=f-a>>1>>>0){break a}a=a+(d<<1)|0;q[e>>2]=a+2;p[a>>1]=s[b+140>>1]&32767;d=q[b+140>>2]&-2147418113;a=b;q[a+136>>2]=q[a+136>>2];q[a+140>>2]=(c&32767)<<16|d;return}J(10015,10090,461,10169);G()}J(9974,7150,640,9988);G()}J(10181,10090,474,10200);G()}function aua(a){var b=0,c=0,d=0,e=0,f=0,g=0;xwa(+a);b=uwa(1)|0;f=uwa(0)|0;g=b;a:{b:{b=b&2147483647;if(b>>>0>=1072693248){if(b-1072693248|f){break b}return a*1.5707963267948966+7.52316384526264e-37}if(b>>>0<=1071644671){if(b+ -1048576>>>0<1044381696){break a}return ft(a*a)*a+a}c=(1-y(a))*.5;a=F(c);e=ft(c);c:{if(b>>>0>=1072640819){a=a+a*e;a=1.5707963267948966-(a+a+ -6.123233995736766e-17);break c}d=c;xwa(+a);b=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,b|0);c=+wwa();d=(d-c*c)/(a+c);a=.7853981633974483-(c+c)-((a+a)*e-(6.123233995736766e-17-(d+d)))+.7853981633974483}return(g|0)>-1?a:-a}a=0/(a-a)}return a}function Zo(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;h=q[c+32>>2];a:{if(!h){e=1;break a}while(1){b:{c:{d:{if(t[c+40>>2]>f>>>0){if(t[c+32>>2]<=f>>>0){break d}g=f<<2;e=q[g+q[c+36>>2]>>2];g=q[g+q[c+28>>2]>>2];q[d+44>>2]=0;if(!Ij(a,e,d+44|0)){if(us(a,e,d+8|0)){break c}if(_1(b,q[d+8>>2],q[d+12>>2])){Di(a,q[d+44>>2]);break b}if(Zo(a,b,q[q[d+44>>2]>>2])){e=q[d+44>>2];if(!h3(b,q[e>>2],g,e,q[d+8>>2],q[d+12>>2])){break b}}Di(a,q[d+44>>2])}e=0;break a}J(19550,19562,45,19597);G()}J(19550,19562,38,19597);G()}J(19408,19435,39,19480);G()}e=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}}fi=d+48|0;return e}function Ps(a){var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;a:{if(o[289932]&1){break a}if(!ui(289932)){break a}if(r[852367]){b=Ri(7503)}else{b=-1}q[72482]=b;ti(289932)}b:{if(o[289940]&1){break b}if(!ui(289940)){break b}if(r[852367]){b=Yi(7514,16)}else{b=0}q[72484]=b;ti(289940)}b=q[72482];c:{if((b|0)!=-1){Qi(c,b,7514,q[72484]);break c}q[c>>2]=0}o[a+4276|0]=r[a+4276|0]|2;tA(a);b=q[a+2056>>2];d=q[a+2060>>2];if((b|0)!=(d|0)){while(1){f=q[(e<<2)+b>>2];if(f){qK(a,f);d=q[a+2060>>2];b=q[a+2056>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}b=q[a+8>>2];sK(a);xK(a);if(b){ki(b)}if(q[c>>2]){Pi(c)}fi=c+16|0}function Kfa(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[62596],b+20|0)){break a}d=LJ(q[a>>2],b+8|0);if(!d){d=q[a>>2];a=q[q[a+32>>2]+8>>2];c=q[a+12>>2];if(c){Ui(c)}c=q[a+8>>2];if(c){Di(d,c)}c=q[a+16>>2];if(c){Di(d,c)}d=q[b+12>>2];q[a>>2]=q[b+8>>2];q[a+4>>2]=d;d=q[b+28>>2];q[a+16>>2]=q[b+24>>2];q[a+20>>2]=d;d=q[b+20>>2];q[a+8>>2]=q[b+16>>2];q[a+12>>2]=d;d=0;break a}a=q[a>>2];c=q[b+20>>2];if(c){Ui(c)}c=q[b+16>>2];if(c){Di(a,c)}c=q[b+24>>2];if(!c){break a}Di(a,c)}fi=b+32|0;return d|0}function Cga(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;q[c+8>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[61786],c)){break a}b:{b=q[a>>2];d=Ij(b,q[q[c>>2]+108>>2],c|4);if(d){break b}if(q[q[c+4>>2]+104>>2]){mi(4,56956,56964,0);d=-15;break b}d=Ij(b,q[q[c>>2]+104>>2],c+8|0);if(d){break b}d=q[a>>2];a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}b=q[a+4>>2];if(b){Di(d,b)}b=q[a+8>>2];if(b){Di(d,b)}d=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=d;q[a+8>>2]=q[c+8>>2];d=0;break a}a=q[a>>2];b=q[c>>2];if(b){Ui(b)}b=q[c+4>>2];if(b){Di(a,b)}b=q[c+8>>2];if(!b){break a}Di(a,b)}fi=c+16|0;return d|0}function sI(a,b){var c=0,d=0;a:{b:{c:{d=b&65535;c=q[a+32>>2];if(d>>>0<(q[a+36>>2]-c|0)/576>>>0){if(s[(w(d,576)+c|0)+552>>1]!=(b>>>16|0)){break c}c=w(d,576)+c|0;if(s[c+554>>1]!=(b&65535)){break b}q[c+412>>2]=q[c+412>>2]|2097152;b=s[c+562>>1];if((b|0)!=65535){while(1){b=b&65535;c=q[a+32>>2];if(b>>>0>=(q[a+36>>2]-c|0)/576>>>0){break a}b=c+w(b,576)|0;q[b+412>>2]=q[b+412>>2]|2097152;if(s[b+562>>1]!=65535){sI(a,s[b+554>>1]|s[b+552>>1]<<16)}b=s[b+558>>1];if((b|0)!=65535){continue}break}}return}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function nG(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,r=0,s=0,u=0;if(c){while(1){m=(b<<2)+a|0;r=m+(c<<2)|0;h=c>>>1|0;i=(h<<2)+m|0;j=w(q[i>>2],48);n=j+d|0;o=q[e>>2];k=m;if(h){u=q[(j+o|0)+24>>2];while(1){l=h>>>1|0;s=(l<<2)+k|0;p=t[(w(q[s>>2],48)+o|0)+24>>2]>>0;k=p?s+4|0:k;h=p?(l^-1)+h|0:l;if(h){continue}break}}p=q[n+24>>2];h=r-i|0;if(h){h=h>>2;r=q[(j+o|0)+24>>2];while(1){j=h>>>1|0;n=(j<<2)+i|0;l=r>>>0>2],48)+o|0)+24>>2];i=l?i:n+4|0;h=l?j:(j^-1)+h|0;if(h){continue}break}}ji[g|0](f,p,k-a>>2,i-k>>2);nG(a,b,k-m>>2,d,e,f,g);b=i-a>>2;c=c-(i-m>>2)|0;if(c){continue}break}}}function e4(a,b){var c=0,d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;u[d+28>>2]=b;a:{if(o[316332]&1){break a}if(!ui(316332)){break a}if(r[852367]){c=Ri(106442)}else{c=-1}q[79082]=c;ti(316332)}b:{if(o[316340]&1){break b}if(!ui(316340)){break b}if(r[852367]){c=Yi(107692,9)}else{c=0}q[79084]=c;ti(316340)}c=q[79082];c:{if((c|0)!=-1){Qi(d+8|0,c,107692,q[79084]);break c}q[d+8>>2]=0}q[a+4>>2]=q[a>>2];_x(q[a+312>>2],u[d+28>>2]);uu(a,1,d+28|0);e=q[a+4>>2];c=q[a>>2];f=e-c|0;g=(f|0)/20|0;d:{if(f){if((c|0)==(e|0)){break d}h5(q[a+304>>2],c,g)}if(q[d+8>>2]){Pi(d+8|0)}fi=d+32|0;return}J(109289,108943,389,109300);G()}function _la(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;a:{b:{c:{b=q[a+64>>2];e=q[b+20>>2];c=q[b+24>>2];d:{if((e|0)!=(c|0)){f=q[b+16>>2];if(!f){break c}if(c>>>0>=e>>>0){break b}q[b+24>>2]=c+1;e=q[(c<<2)+f>>2];c=q[b+4>>2];b=q[b>>2];if(e>>>0>=c-b>>7>>>0){break a}b=qi(b+(e<<7)|0,0,128);q[b+48>>2]=1065353216;q[b+32>>2]=q[a+60>>2];q[b+40>>2]=q[a>>2];p[b+56>>1]=s[a+76>>1];q[q[a+72>>2]>>2]=b;c=0;break d}a=q[b>>2];b=q[b+4>>2];q[d+4>>2]=q[60212];q[d>>2]=b-a>>7;mi(4,34535,34580,d);c=-1e3}fi=d+16|0;return c|0}J(35711,35637,151,35718);G()}J(35722,35637,152,35718);G()}J(35474,35485,447,35564);G()}function HW(a){a=a|0;var b=0;Vr(a,129882);Wj(a,1040,0);pi(a,-2,129891);ek(a,129896,261600);Hi(a,-1);pq(a,-10001);ij(a,0,4);Wj(a,1041,0);vk(a,-2,1);Wj(a,1042,0);vk(a,-2,2);Wj(a,1043,0);vk(a,-2,3);Wj(a,1044,0);vk(a,-2,4);pi(a,-2,129904);b=ko(129917);a:{if(!b){wi(a,129926);break a}Eo(a,Eo(a,b,130508,130511),130515,129926);Ok(a,-2)}pi(a,-2,129912);b=ko(130070);b:{if(!b){wi(a,130080);break b}Eo(a,Eo(a,b,130508,130511),130515,130080);Ok(a,-2)}pi(a,-2,130064);Bi(a,130149,9);pi(a,-2,130159);Pt(a,-1e4,130166,2);pi(a,-2,130174);ij(a,0,0);pi(a,-2,130181);Hi(a,-10002);ek(a,0,261632);oi(a,-2);return 1}function mr(a,b,c){var d=0,e=0,f=0,g=0;d=q[b>>2];a:{if(!d){break a}f=q[a+16>>2];g=r[f+20|0]^3;while(1){if(!c){break a}if(r[d+4|0]==8){mr(a,d+104|0,-3)}e=r[d+5|0];b:{if((e^3)&g){o[d+5|0]=r[f+20|0]&3|e&248;b=d;break b}q[b>>2]=q[d>>2];if(q[f+28>>2]==(d|0)){q[f+28>>2]=q[d>>2]}c:{switch(r[d+4|0]-4|0){case 5:yX(a,d);break b;case 2:zX(a,d);break b;case 6:xX(a,d);break b;case 1:tX(a,d);break b;case 4:CX(a,d);break b;case 0:e=q[a+16>>2];q[e+4>>2]=q[e+4>>2]-1;dj(a,d,q[d+12>>2]+17|0,0);break b;case 3:break c;default:break b}}dj(a,d,q[d+16>>2]+32|0,0)}c=c-1|0;d=q[b>>2];if(d){continue}break}}return b}function OT(a){var b=0,c=0,d=0,e=0,f=0;d=-29184;e=q[a+132>>2];c=q[a>>2];b=r[c+184|0]&2?12:4;a:{if(e>>>0>>0){break a}f=q[a+120>>2];b=b+(r[f+3|0]|(r[f+2|0]<<8|r[f+1|0]<<16))|0;q[a+168>>2]=b;b:{c:{if(r[c+184|0]&2){c=r[f+4|0];b=r[f+5|0];if(SP(a)){break a}e=q[a+68>>2];if(!e){break c}c=b|c<<8;d:{if(q[a+4>>2]!=16){b=q[e+476>>2];if((c|0)!=(b|0)){break d}break c}if(r[f|0]==1){break c}b=q[e+476>>2]}d=-25728;if(b>>>0>>0){break a}if(!(r[f|0]==3|(c|0)!=(q[e+508>>2]-1|0))){d=gq(a);if(d){break a}}return-25984}d=-28800;if(b>>>0>e>>>0){break a}break b}d=-25728;if((cC(a)|0)==1){break a}}d=0}return d}function A1(a){a=a|0;var b=0,c=0;b=fi-144|0;fi=b;c=q[a+8>>2]-q[a+12>>2]|0;$K(Ni(a,1,b+140|0),q[b+140>>2],b+112|0);q[b+16>>2]=r[b+116|0];q[b+20>>2]=r[b+117|0];q[b+24>>2]=r[b+118|0];q[b+28>>2]=r[b+119|0];q[b+32>>2]=r[b+120|0];q[b+36>>2]=r[b+121|0];q[b+40>>2]=r[b+122|0];q[b+44>>2]=r[b+123|0];q[b+48>>2]=r[b+124|0];q[b+52>>2]=r[b+125|0];q[b+56>>2]=r[b+126|0];q[b+60>>2]=r[b+127|0];q[b>>2]=r[b+112|0];q[b+4>>2]=r[b+113|0];q[b+8>>2]=r[b+114|0];q[b+12>>2]=r[b+115|0];cj(b- -64|0,33,113373,b);wi(a,b- -64|0);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(113092,113117,133,113438);G()}fi=b+144|0;return 1}function rqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=fi-80|0;fi=c;h=q[a+8>>2]-q[a+12>>2]>>4;d=gj(a,1);if(!((d|0)==1&r[906204]!=0)){ni(a,194044,0)}ij(a,0,0);a:{e=eL(d,0);b=(e|0)!=0;f=dL(d,0);if((b|0)!=(!f|0)){while(1){if(!b){break a}b=q[a+8>>2];q[b+8>>2]=3;g=g+1|0;v[b>>3]=g>>>0;q[a+8>>2]=q[a+8>>2]+16;ij(a,0,0);wi(a,194200);wi(a,f);Wi(a,-3);q[c>>2]=e;Sm(c+16|0,194101,c);wi(a,194205);wi(a,c+16|0);Wi(a,-3);Wi(a,-3);e=eL(d,g);b=(e|0)!=0;f=dL(d,g);if(b^!f){continue}break}}J(194148,193507,165,194183);G()}if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(194104,193507,187,194183);G()}fi=c+80|0;return 1}function kF(a,b,c){var d=0,e=0;d=fi+ -64|0;fi=d;a:{if(r[q[a+8>>2]]){e=q[a+20>>2];q[d+56>>2]=q[a+4>>2];q[d+52>>2]=e;q[d+48>>2]=a+36;a=cj(b,c,110604,d+48|0);break a}b:{c:{d:{e:{e=r[q[a+12>>2]];switch(e-109|0){case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;case 0:break e;default:break d}}q[d+20>>2]=q[a+20>>2];q[d+16>>2]=a+36;a=cj(b,c,110629,d+16|0);break a}if((e|0)==67){break b}}e=q[a+20>>2];q[d+12>>2]=q[a+28>>2];a=a+36|0;q[d+8>>2]=a;q[d+4>>2]=e;q[d>>2]=a;a=cj(b,c,110665,d);break a}q[d+36>>2]=q[a+20>>2];q[d+32>>2]=a+36;a=cj(b,c,110653,d+32|0)}fi=d- -64|0;return(a|0)>0?a:0}function zga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-48|0;fi=b;g=q[a+4>>2];e=q[a+20>>2];q[b+40>>2]=0;q[b+44>>2]=0;a:{b:{d=q[a>>2];c=Ij(d,q[e+12>>2],b+40|4);c:{if(c){break c}c=Ij(d,q[e+16>>2],b+40|0);f=q[b+44>>2];if(c){Di(d,f);q[b+44>>2]=0;break c}c=Iy(g,f,q[b+40>>2]);if(us(q[a>>2],q[e+12>>2],b+8|0)){break b}d=q[b+12>>2];q[c+88>>2]=q[b+8>>2];q[c+92>>2]=d;if(us(q[a>>2],q[e+16>>2],b+8|0)){break a}d=q[b+12>>2];q[c+96>>2]=q[b+8>>2];q[c+100>>2]=d;Ip(q[a>>2],469,c);gJ(q[a+8>>2],c,e);q[q[a+24>>2]+8>>2]=c;c=0}Ui(e);fi=b+48|0;return c|0}J(57181,57216,201,57258);G()}J(57181,57216,205,57258);G()}function h3(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=fi-32|0;fi=g;h=li(c);i=ii;q[g+24>>2]=Sk(c);j=q[b>>2];b=q[b+4>>2];c=xi(b);q[g+20>>2]=b;q[g+16>>2]=c;si(c,j,b);q[g+28>>2]=d;b=a+8|0;c=q[a+32>>2];if((c|0)==q[a+24>>2]-q[a+16>>2]>>5){mz(b,127,c+128|0);nz(a+40|0,127,(q[a+56>>2]-q[a+48>>2]>>4)+128|0)}tH(b,h,i,g+16|0);d=0;c=q[a+12>>2];a:{if(!c){break a}b=q[q[b>>2]+(lwa(h,i,c)<<2)>>2];if((b|0)==-1){break a}c=q[a+16>>2];while(1){b=b<<5;d=b+c|0;if(q[d>>2]==(h|0)&(i|0)==q[d+4>>2]){break a}b=q[(b+c|0)+24>>2];if((b|0)!=-1){continue}break}d=0}q[g+12>>2]=d?d+8|0:0;uH(a+40|0,e,f,g+12|0);fi=g+32|0;return 0}function fV(a,b,c,d,e,f){var g=0,h=0,i=0;h=Cm(a+4|0);g=-20096;if(q[a+48>>2]){i=q[a+60>>2]?1:2}else{i=0}a:{if((i|0)==2){q[d>>2]=h;g=-20224;if(f>>>0>>0){break a}g=bD(b,e,h);if(g){break a}g=0}if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)!=1){break a}if(!jj(b+24|0,0)){if(!f){return-20224}o[e|0]=0;q[d>>2]=1;return 0}b:{switch(c|0){case 0:a=h<<1|1;q[d>>2]=a;g=-20224;if(a>>>0>f>>>0){break a}o[e|0]=4;a=e+1|0;g=hn(b,a,h);if(g){break a}return hn(b+12|0,a+h|0,h);case 1:break b;default:break a}}a=h+1|0;q[d>>2]=a;g=-20224;if(a>>>0>f>>>0){break a}o[e|0]=Dm(b+12|0,0)+2;g=hn(b,e+1|0,h)}return g}function Y0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=q[a+8>>2]-q[a+12>>2]>>4;vj(a,1,3);vj(a,2,1);vj(a,3,6);d=wj(a,1);if(!(d<0^1)){return ni(a,120266,0)|0}c=Fj(a,2);b=q[210259];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;my(a);a:{b:{c:{if((ri(a,-1)|0)!=2){oi(a,-2);break c}b=Vi(a,-1);oi(a,-2);if(b){break b}}mi(4,120110,120316,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4294967295;q[a+8>>2]=q[a+8>>2]+16;break a}b=g3(b,x(d),(c|0)!=0,xF(a),Rn(a,3));c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(120386,119520,592,120411);G()}return 1}function Rba(a){var b=0;a:{if(o[a+192|0]&1){break a}b=q[a+180>>2];if(!b){break a}ki(b)}b:{if(o[a+164|0]&1){break b}b=q[a+152>>2];if(!b){break b}ki(b)}c:{if(o[a+148|0]&1){break c}b=q[a+136>>2];if(!b){break c}ki(b)}d:{if(o[a+132|0]&1){break d}b=q[a+120>>2];if(!b){break d}ki(b)}e:{if(o[a+116|0]&1){break e}b=q[a+104>>2];if(!b){break e}ki(b)}f:{if(o[a+100|0]&1){break f}b=q[a+88>>2];if(!b){break f}ki(b)}g:{if(o[a+84|0]&1){break g}b=q[a+72>>2];if(!b){break g}ki(b)}h:{if(o[a+68|0]&1){break h}b=q[a+56>>2];if(!b){break h}ki(b)}i:{if(o[a+52|0]&1){break i}b=q[a+40>>2];if(!b){break i}ki(b)}return a}function QW(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+40>>2];b=q[b+96>>2];e=f+w(b,24)|0;g=q[e+4>>2];if(q[g+8>>2]!=6){break c}d=q[g>>2];if(r[d+6|0]){break c}h=q[d+16>>2];if(!h){break c}d:{if((e|0)!=q[a+20>>2]){b=q[(f+w(b,24)|0)+12>>2];break d}d=f+w(b,24)|0;b=q[a+24>>2];q[d+12>>2]=b;d=q[g>>2]}d=xx(h,c,(b-q[q[d+16>>2]+12>>2]>>2)-1|0);if(!d){break c}b=q[e>>2];break b}d=0;b=q[e>>2];if((c|0)<1|q[((e|0)==q[a+20>>2]?a+8|0:e+28|0)>>2]-b>>4<(c|0)){break a}d=126166}b=((c<<4)+b|0)-16|0;c=q[a+8>>2]-16|0;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+8>>2]=q[c+8>>2]}q[a+8>>2]=q[a+8>>2]-16;return d}function Rz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c=b&65535;d=q[a+32>>2];if(c>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(w(c,576)+d|0)+552>>1]!=(b>>>16|0)){break b}e=w(c,576)+d|0;if(s[e+554>>1]!=(b&65535)){break a}g=q[a+48>>2];f=q[a+52>>2]-g|0;a=(f|0)/72|0;c:{if(!f){break c}e=e+472|0;f=a>>>0>1?a:1;a=0;while(1){h=w(a,72)+g|0;if(!((e|0)==q[h+4>>2]?q[h>>2]==(b|0):0)){a=a+1|0;if((f|0)!=(a|0)){continue}break c}break}a=w(a,72)+g|0;o[a+68|0]=r[a+68|0]|4}a=w(c,576)+d|0;q[a+464>>2]=0;q[a+468>>2]=0;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Ioa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=fi-16|0;fi=g;a:{b:{c=q[a+4200>>2];e=q[a+4196>>2];d=c-e|0;c:{if(!d){break c}h=d>>2;d=0;while(1){f=d;d=d+1|0;j=d;k=h-1>>>0<=f>>>0;f=(f<<2)+e|0;i=q[f>>2]==(b|0)|i;if(!(k|!(i&1))){if(d>>>0>=h>>>0){break b}q[f>>2]=q[(d<<2)+e>>2];e=q[a+4196>>2];c=q[a+4200>>2]}h=c-e>>2;if(j>>>0>>0){continue}break}if(!(i&1)){break c}if((c|0)==(e|0)){break a}c=c-4|0;q[a+4200>>2]=c}d:{if(q[a+4204>>2]!=(c|0)){q[a+4200>>2]=c+4;q[c>>2]=b;break d}q[g>>2]=c-e>>2;mi(3,7277,8895,g)}fi=g+16|0;return}J(12475,10090,447,9406);G()}J(12666,10090,516,12522);G()}function EI(a,b){var c=0,d=0,e=0,f=0,g=x(0);a:{b:{d=b&65535;e=q[a+32>>2];if(d>>>0<(q[a+36>>2]-e|0)/576>>>0){if(s[(e+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}c=e+w(d,576)|0;if(s[c+554>>1]!=(b&65535)){break a}c:{if(!(q[c+464>>2]|q[c+468>>2])){break c}c=q[a+48>>2];a=q[a+52>>2]-c|0;if(!a){break c}e=(e+w(d,576)|0)+472|0;a=(a|0)/72|0;d=a>>>0>1?a:1;a=0;while(1){f=c+w(a,72)|0;if(!((e|0)==q[f+4>>2]?q[f>>2]==(b|0):0)){a=a+1|0;if((d|0)!=(a|0)){continue}break c}break}g=u[(c+w(a,72)|0)+28>>2]}return g}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Dv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0;p=(c|0)<1;q=(e|0)==1;while(1){if(!((d|0)<1|p)){l=(i<<1)+a|0;m=l;k=256;h=0;while(1){a:{if(!q){e=0;while(1){g=r[b+e|0]-i|0;f=g>>31;f=f^f+g;if((f|0)<(k|0)){o[l|0]=e;o[m+1|0]=h;k=f}e=e+1|0;if((e|0)!=(d|0)){continue}break}break a}s=b+h|0;e=0;while(1){j=r[s|0];g=r[b+e|0];n=((j+(g<<1)>>>0)/3|0)-i|0;f=n>>31;j=g-j|0;g=j>>31;f=((w(g^g+j,3)>>>0)/100|0)+(f+n^f)|0;if((f|0)<(k|0)){o[l|0]=e;o[m+1|0]=h;k=f}e=e+1|0;if((e|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=(c|0)){continue}break}}i=i+1|0;if((i|0)!=256){continue}break}}function mea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi+ -64|0;fi=b;f=Ti(b+40|0,a,0,61062,863);a:{if((ri(a,1)|0)==7){c=yi(a,1,q[74123],0);if(c){if(xm(q[c>>2])){break a}}ni(a,61165,0)}hk(a,1,60860);c=0}d=gj(a,2);e=q[c+28>>2];b:{c:{if((d|0)>=1){g=q[c+36>>2];if((d|0)<=(w(e,g)|0)){break c}}if(e){a=q[c+36>>2];q[b+20>>2]=60860;q[b+16>>2]=60842;q[b+24>>2]=w(a,e);a=uj(f,61438,b+16|0);break b}q[b+4>>2]=60860;q[b>>2]=60842;a=uj(f,61485,b);break b}e=q[c+20>>2];d=d-1|0;h=(d>>>0)/(g>>>0)|0;ji[e|0](q[c+16>>2],w(h,q[c+32>>2])+(d-w(g,h)|0)|0,Ai(a,3));GA(q[c>>2]);a=0}Si(f);fi=b- -64|0;return a|0}function _I(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=b;a=Ca(a|0)|0;a:{b:{c:{if(r[q[74995]+104|0]&8){b=K()|0;if(b){break c}}q[d+24>>2]=c;na(a|0,1,d+28|0,d+24|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break b}}ra(a|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break a}}oa(a|0,35713,d+20|0);if(!q[d+20>>2]){oa(a|0,35716,d+16|0);b=q[d+16>>2];if((b|0)>=1){c=b;b=xi(b);Ta(a|0,c|0,d+16|0,b|0);q[d>>2]=b;mi(4,79120,81564,d);ki(b)}fa(a|0);a=0}fi=d+32|0;return a}Mi(b,81551,1636);J(79249,79164,1636,81551);G()}Mi(b,81551,1639);J(79249,79164,1639,81551);G()}Mi(b,81551,1641);J(79249,79164,1641,81551);G()}function Zy(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-48|0;fi=b;a:{b:{e=a+192|0;if(q[e>>2]){d=a+200|0;if(q[d>>2]){break b}}o[a+280|0]=r[a+280|0]|16;break a}q[b+24>>2]=0;q[b+28>>2]=0;q[b+40>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Sj(b+24|0,d,4);Sj(b+24|0,a+196|0,4);d=q[a+208>>2];if(d){g=q[a+204>>2];while(1){f=(c<<5)+g|0;Sj(b+24|0,f,8);Sj(b+24|0,f+16|0,16);c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[b+16>>2]=q[b+40>>2];c=q[b+36>>2];q[b+8>>2]=q[b+32>>2];q[b+12>>2]=c;c=q[b+28>>2];q[b>>2]=q[b+24>>2];q[b+4>>2]=c;q[a+224>>2]=Uo(b);Sj(b+24|0,e,4);q[a+220>>2]=Uo(b+24|0);o[a+280|0]=r[a+280|0]&239}fi=b+48|0}function xM(){var a=0,b=0,c=0,d=0;a:{b:{c:{d:{a=q[212939];if((a|0)==q[212940]){if(a>>>0>=4294967040){break d}b=q[212938];d=a+256|0;c=xi(d<<2);q[212938]=c;c=si(c,b,a<<2);q[212939]=d;while(1){q[c+(a<<2)>>2]=a;a=a+1|0;if((d|0)!=(a|0)){continue}break}ki(b);if(o[851748]&1){break c}vi((q[212936]-q[212934]>>3)+256|0,8,851736,851744,851740);q[212935]=q[212936]}b=q[212938];if(!b){break b}a=q[212940];if(a>>>0>=t[212939]){break a}q[212940]=a+1;return q[b+(a<<2)>>2]}J(150329,150352,112,150290);G()}J(150189,150264,461,150290);G()}J(150377,150352,151,150384);G()}J(150388,150352,152,150384);G()}function ex(a,b,c,d){var e=0,f=0,g=0;if(!d){return-20352}f=Cm(a+4|0);e=-20096;if(q[a+48>>2]){g=q[a+60>>2]?1:2}else{g=0}a:{if((g|0)==2){if((d|0)!=(f|0)){return-20352}e=PU(b,c,d);if(e){break a}Ji(b+12|0);if(q[a>>2]==9){e=zo(b,(d<<3)-1|0,0);if(e){break a}}e=gk(b+24|0,1);if(e){break a}e=0}if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)!=1){break a}e=-20096;b:{switch(r[c|0]){case 0:e=-20352;if((d|0)!=1){break a}return jD(b);case 4:break b;default:break a}}e=-20352;if((f<<1|1)!=(d|0)){break a}a=c+1|0;e=Vm(b,a,f);if(e){break a}e=Vm(b+12|0,a+f|0,f);if(e){break a}e=gk(b+24|0,1)}return e}function YK(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;a:{b:{c:{e=q[b+4>>2];switch((e>>>28|0)-1|0){case 0:break b;case 1:break c;default:break a}}q[d>>2]=q[b>>2];mi(3,22684,22717,d);break a}d:{f=e&264241152;if((f|0)!=50331648){if((f|0)!=37748736){break d}f=q[b+16>>2];if(!f){break d}Dpa(c,a,b,f,Fi(f));break a}if(!q[b+16>>2]){break d}mi(3,22684,22783,0);break a}e=e>>>22&63;if((e|0)==11){Cpa(d+16|0,c,b);c=q[b+8>>2];if(!r[c+24|0]){break a}b=0;while(1){YK(a,q[c+20>>2]+w(b,20)|0,d+16|0);b=b+1|0;if(b>>>0>2];if(!a){break a}Epa(c,b,a,BA(e))}fi=d+32|0}function WW(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+40>>2];b=q[b+96>>2];e=f+w(b,24)|0;g=q[e+4>>2];if(q[g+8>>2]!=6){break c}d=q[g>>2];if(r[d+6|0]){break c}h=q[d+16>>2];if(!h){break c}d:{if((e|0)!=q[a+20>>2]){b=q[(f+w(b,24)|0)+12>>2];break d}d=f+w(b,24)|0;b=q[a+24>>2];q[d+12>>2]=b;d=q[g>>2]}d=xx(h,c,(b-q[q[d+16>>2]+12>>2]>>2)-1|0);if(!d){break c}b=q[e>>2];break b}d=0;b=q[e>>2];if((c|0)<1|q[((e|0)==q[a+20>>2]?a+8|0:e+28|0)>>2]-b>>4<(c|0)){break a}d=126166}b=((c<<4)+b|0)-16|0;c=q[b+4>>2];e=q[a+8>>2];q[e>>2]=q[b>>2];q[e+4>>2]=c;q[e+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}return d}function gQ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;i=fi-16|0;fi=i;q[d>>2]=0;h=q[a>>2];a:{if((h|0)==-1){h=-2;break a}b:{h=Bw(h,b,c,e,f);if((h|0)<=0){while(1){if(!h){h=-2;break a}h=q[240833];c:{if((h|0)==27){break c}if((h|0)!=6){break a}h=q[a>>2];q[i+12>>2]=1;q[i+8>>2]=h;if(v[g>>3]==0){break b}while(1){k=i+8|0;j=kp(g)*1e3;d:{if(y(j)<2147483648){h=~~j;break d}h=-2147483648}h=rp(k,1,(h|0)>-1?h:-1);if((h|0)!=-1){if(h){break c}break b}if(q[240833]==27){continue}break}h=q[240833];if(h){break a}}h=Bw(q[a>>2],b,c,e,f);if((h|0)<=0){continue}break}}q[d>>2]=h;h=0;break a}h=-1}fi=i+16|0;return h}function N8(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-32|0;fi=e;a:{b:{c:{h=c&65535;g=q[b+32>>2];i=(q[b+36>>2]-g|0)/576|0;if(h>>>0>>0){if(s[(w(h,576)+g|0)+552>>1]!=(c>>>16|0)){break c}f=w(h,576)+g|0;if(s[f+554>>1]!=(c&65535)){break b}f=s[f+560>>1];c=0;d:{if((f|0)==65535){break d}if(f>>>0>=i>>>0){break a}c=w(f,576)+g|0}u[e>>2]=u[d>>2];u[e+4>>2]=u[d+4>>2];u[e+8>>2]=u[d+8>>2];Ez(e+16|0,b,w(h,576)+g|0,c,e);u[a>>2]=u[e+16>>2];u[a+4>>2]=u[e+20>>2];u[a+8>>2]=u[e+24>>2];fi=e+32|0;return}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function am(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;a:{b:{c:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break c;case 0:c=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}b=c;if(q[b+8>>2]==3){break b}b=Lt(b,d);if(b){break b}a=0;break a}e=v[b>>3];if(y(e)<2147483648){a=~~e;break a}a=-2147483648}fi=d+16|0;return a}function FI(a,b){var c=0,d=0,e=0,f=x(0);a:{b:{d=b&65535;c=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(c-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}c=a+w(d,576)|0;if(s[c+554>>1]!=(b&65535)){break a}b=0;c:{if(q[c+436>>2]!=2){break c}a=a+w(d,576)|0;e=q[a+452>>2];if(!e){break c}c=q[a+440>>2];d=c&8191;c=(c>>>13&8191)-d|0;f=x(u[a+472>>2]*x(c|0));d:{if(x(y(f))>2];e=q[f+4>>2];c:{if(!e){c=1;break c}while(1){h=q[f>>2]+w(g,80)|0;c=q[h+16>>2];if(!c){break b}i=q[c+96>>2];k=((i&65536)>>>16|0)+j|0;if(k>>>0>t[b+152>>2]){break a}l=q[c+40>>2];if(l){e=q[a+8>>2];q[d+12>>2]=b;q[d+8>>2]=e;q[d+16>>2]=q[((q[h+20>>2]<<2)+a|0)+12>>2];c=q[c+16>>2];q[d+24>>2]=((j<<2)+b|0)+156&i<<15>>31;q[d+20>>2]=c;if(ji[l|0](d+8|0)|0){c=0;break c}e=q[f+4>>2]}c=1;j=k;g=g+1|0;if(g>>>0>>0){continue}break}}fi=d+32|0;return c}J(7920,7150,1694,12048);G()}J(7962,7150,1701,12048);G()}function nS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;xwa(+a);c=uwa(1)|0;g=uwa(0)|0;h=c;d=c>>>20&2047;c=d-1023|0;a:{b:{if(d>>>0>=1075){v[b>>3]=a;if((c|0)==1024?h&1048575|g:0){break b}break a}if(d>>>0<=1022){q[b>>2]=0;q[b+4>>2]=h&-2147483648;return a}d=h;f=g;e=c&31;if((c&63)>>>0>=32){d=f<>>32-e|d<>3]=a;break a}e=c&31;f=b;if((c&63)>>>0>=32){d=-1;c=-1048576>>e}else{d=-1048576>>e;c=((1<>2]=c;g=b;b=d&h;q[g+4>>2]=b;vwa(0,c|0);vwa(1,b|0);a=a- +wwa()}return a}vwa(0,0);vwa(1,h&-2147483648);return+wwa()} +function U6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>8;h=e-1|0;c=q[a+32>>2];if(h>>>0>=q[a+36>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[(h<<2)+c>>2];Fi(d+(i<<8)|0,0,256);d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];d=q[a+4>>2];c=q[a>>2];if(e>>>0>=d-c>>8>>>0){break c}c=c+(e<<8)|0;d=d-256|0;q[c>>2]=q[d>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+64>>2]=u[d+64>>2];u[c+68>>2]=u[d+68>>2];u[c+72>>2]=u[d+72>>2];u[c+80>>2]=u[d+80>>2];u[c+84>>2]=u[d+84>>2];u[c+88>>2]=u[d+88>>2];u[c+92>>2]=u[d+92>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];u[c+140>>2]=u[d+140>>2];u[c+144>>2]=u[d+144>>2];u[c+148>>2]=u[d+148>>2];u[c+152>>2]=u[d+152>>2];u[c+156>>2]=u[d+156>>2];u[c+160>>2]=u[d+160>>2];u[c+164>>2]=u[d+164>>2];u[c+168>>2]=u[d+168>>2];u[c+172>>2]=u[d+172>>2];u[c+176>>2]=u[d+176>>2];u[c+180>>2]=u[d+180>>2];u[c+184>>2]=u[d+184>>2];u[c+188>>2]=u[d+188>>2];e=q[d+196>>2];q[c+192>>2]=q[d+192>>2];q[c+196>>2]=e;e=q[d+204>>2];q[c+200>>2]=q[d+200>>2];q[c+204>>2]=e;e=q[d+212>>2];q[c+208>>2]=q[d+208>>2];q[c+212>>2]=e;e=q[d+220>>2];q[c+216>>2]=q[d+216>>2];q[c+220>>2]=e;e=q[d+228>>2];q[c+224>>2]=q[d+224>>2];q[c+228>>2]=e;e=q[d+236>>2];q[c+232>>2]=q[d+232>>2];q[c+236>>2]=e;e=q[d+244>>2];q[c+240>>2]=q[d+240>>2];q[c+244>>2]=e;c=q[a+4>>2]-256|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(52145,51891,152,52166);G()}J(52171,52040,513,52186);G()}J(52196,52040,516,52186);G()}J(52123,52040,479,52134);G()}function eja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0);c=ti+ -64|0;ti=c;h=2;i=Zi(c+40|0,a,2,60730,1056);a:{b:{c:{d:{b=SL(Xn(a,1,1,0),Mj(a,2),wi,c+28|0,c+36|0,c+32|0);switch(b|0){case 0:break b;case 11:break d;default:break c}}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break a}a=c;if(b>>>0<=11){b=q[(b<<2)+273520>>2]}else{b=148526}q[a>>2]=b;h=sj(i,62883,c);break a}gj(a,0,0);e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{b=q[c+32>>2];switch(b|0){case 6:break h;case 5:break i;case 4:break j;case 2:break k;case 1:break l;case 0:break m;case 8:break n;case 3:case 7:break f;default:break e}}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){j=u[g+(b<<2)>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=j;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=r[b+g|0];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=s[g+(b<<1)>>1];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=q[g+(b<<2)>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=o[b+g|0];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=p[g+(b<<1)>>1];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}break g}d=q[c+36>>2];if(!d){break g}b=0;g=q[c+28>>2];while(1){f=q[g+(b<<2)>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=b+1|0;bk(a,-2,b);if((b|0)!=(d|0)){continue}break}}b=q[c+32>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;break a}h=sj(i,62921,0);break a}q[c+16>>2]=b;h=sj(i,62973,c+16|0)}Yi(i);ti=c- -64|0;return h|0}function Yq(a){var b=0,c=0,d=0,e=0;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b:{c:{d:{e:{if(!(!r[862340]|!q[a+24>>2])){f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}d=q[215584];wj(d);g:{if(o[862440]&1){break g}if(!Xj()){break g}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}c=q[a+24>>2];b=q[215602];if(c>>>0>=q[215603]-b>>3>>>0){break e}yi(q[b+(c<<3)>>2]);h:{if(o[862440]&1){break h}if(!Xj()){break h}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}c=q[a+24>>2];if(!c){break d}e=q[215606];if(!e){break c}b=q[215608]-1|0;if(b>>>0>=t[215607]){break b}q[215608]=b;q[(b<<2)+e>>2]=c;q[a+24>>2]=0;qj(d)}return}J(160603,160205,479,160614);G()}J(160451,160102,131,160467);G()}J(160318,160293,140,160349);G()}J(160354,160293,141,160349);G()}function r3(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,p=0;b=ti+ -64|0;ti=b;i=q[a+8>>2]-q[a+12>>2]>>4;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;a:{b:{c:{d:{e:{f:{if($l(a,b+32|0)){l=Wi(a,1,0);m=Wi(a,2,0);mj(a,3,6);Qi(a,3);n=ws(a);d=b+24|0;c=d;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;j=b+16|4;Ii(4096,1,b+16|0,c,j);g:{if((i|0)<4){break g}if(!Ei(a,4)){break g}mj(a,4,5);Qi(a,4);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){c=dj(a,-2,0);f=dj(a,-1,0);p=q[b+16>>2];k=q[b+24>>2];e=q[b+20>>2];g=k-e|0;h=(Ui(c)+Ui(f)|0)+2|0;if(g>>>0>>0){if(o[b+28|0]&1){break e}Ii((k-p|0)+(h>>>0>1024?h:1024)|0,1,b+16|0,d,j);e=q[b+20>>2];h=q[b+24>>2]-e|0}else{h=g}g=Ui(c);if(h>>>0>>0){break b}Gi(e,c,g);c=g+q[b+20>>2]|0;q[b+20>>2]=c;if((c|0)==q[b+24>>2]){break a}q[b+20>>2]=c+1;o[c|0]=58;e=q[b+20>>2];g=q[b+24>>2]-e|0;c=Ui(f);if(g>>>0>>0){break b}Gi(e,f,c);c=c+q[b+20>>2]|0;q[b+20>>2]=c;if((c|0)==q[b+24>>2]){break a}q[b+20>>2]=c+1;o[c|0]=10;Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2)}c=q[b+20>>2];if((c|0)==q[b+24>>2]){break a}d=n+2|0;q[b+20>>2]=c+1;e=0;o[c|0]=0;f=0;h:{if((i|0)<5){break h}if(Ei(a,5)){mj(a,5,4);c=Wi(a,5,b+12|0);f=q[b+12>>2];e=Ji(f);Gi(e,c,f)}if((i|0)<6){break h}if(!Ei(a,6)){break h}mj(a,6,5);Qi(a,6);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){if(!nj(dj(a,-2,0),121769)){Ri(a,-1)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2)}c=Oi(40);q[c+32>>2]=d;d=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=d;d=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=d;d=q[b+52>>2];q[c+16>>2]=q[b+48>>2];q[c+20>>2]=d;d=q[b+60>>2];q[c+24>>2]=q[b+56>>2];q[c+28>>2]=d;Yh(m|0,l|0,q[b+16>>2],c|0,816,817,e|0,f|0,q[81780]);if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break d}i:{if(o[b+28|0]&1){break i}a=q[b+16>>2];if(!a){break i}yi(a)}a=0;break f}if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){break c}a=Bi(a,121837,0)}ti=b- -64|0;return a|0}J(122075,122150,493,122206);G()}J(121777,121798,180,121824);G()}J(121777,121798,183,121824);G()}J(122218,122150,540,122247);G()}J(122257,122150,533,122281);G()}function dr(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=x(0);i=ti-112|0;ti=i;a:{b:{c:{d:{e:{h=q[a+4>>2];j=q[a>>2];k=h-j|0;if((k|0)<1){break e}f:{if((h|0)!=(j|0)){h=j-h|0;h=((h|0)>(k|0)?h:k)>>>2|0;k=h>>>0>1?h:1;h=0;while(1){j=q[(h<<2)+j>>2];if(q[j+8>>2]==(c|0)&q[j+12>>2]==(d|0)){break f}h=h+1|0;if((k|0)==(h|0)){break e}j=q[a>>2];if(q[a+4>>2]-j>>2>>>0>h>>>0){continue}break}}break a}b=q[a>>2];if(q[a+4>>2]-b>>2>>>0<=h>>>0){break a}h=q[b+(h<<2)>>2];break d}k=a+4|0;j=_y(c,d);h=q[a+4>>2];l=q[a+8>>2];if((h|0)==(l|0)){if(o[a+12|0]&1){break c}Ii((h-q[a>>2]>>2)+4|0,4,a,a+8|0,k);l=q[a+8>>2];h=q[a+4>>2]}if((h|0)==(l|0)){break b}q[k>>2]=h+4;q[h>>2]=j;h=0;if(!az(b,c,d,i+108|0)){break d}h=q[i+108>>2];q[i+104>>2]=s[h+24>>1];b=q[q[i+108>>2]+16>>2];h=q[h>>2];g:{if(h){Js(j,h,q[i+104>>2]);q[j+16>>2]=b;break g}if((b|0)==9){q[i+88>>2]=0;q[i+92>>2]=0;q[i+80>>2]=0;q[i+84>>2]=0;q[i+72>>2]=0;q[i+76>>2]=0;b=i- -64|0;q[b>>2]=0;q[b+4>>2]=0;q[i+56>>2]=0;q[i+60>>2]=0;q[i+48>>2]=0;q[i+52>>2]=0;q[i+40>>2]=0;q[i+44>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;Js(j,i+32|0,4);break g}q[i+40>>2]=0;q[i+44>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;Js(j,i+32|0,1)}h=j}q[i+32>>2]=0;q[i+32>>2]=s[h+24>>1];j=q[h>>2];h=q[h+16>>2];e=(h|0)==9?e<<2:e;k=q[i+32>>2];h:{if(e>>>0>=k>>>0){q[i+16>>2]=Mi(c,d);q[i+24>>2]=e;q[i+20>>2]=q[i+32>>2];Ai(4,42909,42917,i+16|0);break h}b=j+(e<<4)|0;i:{if((h|0)==9){if(f){a=Mi(c,d);q[i+4>>2]=e;q[i>>2]=a;Ai(4,42909,42978,i);break h}e=q[g+12>>2];q[b>>2]=q[g+8>>2];q[b+4>>2]=e;e=g- -64|0;f=q[e+4>>2];q[b+56>>2]=q[e>>2];q[b+60>>2]=f;e=q[g+60>>2];q[b+48>>2]=q[g+56>>2];q[b+52>>2]=e;e=q[g+52>>2];q[b+40>>2]=q[g+48>>2];q[b+44>>2]=e;e=q[g+44>>2];q[b+32>>2]=q[g+40>>2];q[b+36>>2]=e;e=q[g+36>>2];q[b+24>>2]=q[g+32>>2];q[b+28>>2]=e;e=q[g+28>>2];q[b+16>>2]=q[g+24>>2];q[b+20>>2]=e;e=q[g+20>>2];q[b+8>>2]=q[g+16>>2];q[b+12>>2]=e;break i}if(!f){f=q[g+16>>2];h=q[g+12>>2];m=u[g+20>>2];u[b>>2]=u[g+8>>2];b=j+(e<<4)|0;u[b+12>>2]=m;q[b+4>>2]=h;q[b+8>>2]=f;break i}u[b+(q[f>>2]<<2)>>2]=v[g+8>>3]}yJ(a,c,d,j,k)}ti=i+112|0;return}J(43213,43092,493,43288);G()}J(43068,43092,533,43148);G()}J(43300,43092,479,43311);G()}function Nka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=ti-128|0;ti=e;c=q[a+4>>2];b=q[c+16>>2];a:{b:{d=q[q[a+12>>2]>>2];if(d>>>0>2]-b>>3>>>0){b=q[b+(d<<3)>>2];g=q[c+4>>2];c=q[c>>2];if(b>>>0>=g-c>>2>>>0){break a}c=q[c+(b<<2)>>2];b=q[a+16>>2];d=q[b+64>>2];f=q[60261];g=q[b+68>>2];c:{if((d|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+254|0]=r[c+254|0]|1;a=q[c+132>>2];o[a+186|0]=r[a+186|0]&251|4;break c}f=q[60262];if((d|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+254|0]=r[c+254|0]&254;a=q[c+132>>2];o[a+186|0]=r[a+186|0]&251;break c}if(!q[b+80>>2]){break c}f=q[62898];if((d|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){d:{switch(WF(q[c+132>>2],q[b+96>>2],q[b+100>>2],q[b+104>>2],u[b+108>>2],u[b+112>>2],u[b+116>>2])|0){case 0:b=q[a+16>>2];d=q[b+4>>2];q[c+144>>2]=q[b>>2];q[c+148>>2]=d;d=q[b+28>>2];q[c+168>>2]=q[b+24>>2];q[c+172>>2]=d;d=q[b+20>>2];q[c+160>>2]=q[b+16>>2];q[c+164>>2]=d;d=q[b+12>>2];q[c+152>>2]=q[b+8>>2];q[c+156>>2]=d;q[c+176>>2]=q[q[a+16>>2]+76>>2];break c;case 3:break d;default:break c}}a=q[a+16>>2];c=bm(q[a+32>>2],q[a+36>>2]);d=Mi(q[a+48>>2],q[a+52>>2]);a=Mi(q[a+56>>2],q[a+60>>2]);q[e+12>>2]=Mi(q[b+96>>2],q[b+100>>2]);q[e+8>>2]=a;q[e+4>>2]=d;q[e>>2]=c;Ai(4,45688,45930,e);break c}f=q[62899];if((d|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){a=q[c+132>>2];a=((o[a+186|0]&1)<<5)+a|0;o[a+28|0]=r[a+28|0]&254;break c}f=q[61990];if((d|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){d=q[c+216>>2];if(!d){g=q[c+128>>2];d=q[g+28>>2];if((d|0)==q[g+32>>2]){break b}d=q[d>>2]}g=q[b+100>>2];f=q[b+96>>2];u[e+32>>2]=u[b+112>>2];u[e+36>>2]=u[b+116>>2];u[e+40>>2]=u[b+120>>2];u[e+44>>2]=u[b+124>>2];if((gp(d,f,g,lp(e+56|0,e+32|0),q[b+128>>2],206,c)|0)!=-1){break c}a=q[a+16>>2];c=bm(q[a+32>>2],q[a+36>>2]);d=Mi(q[a+48>>2],q[a+52>>2]);a=Mi(q[a+56>>2],q[a+60>>2]);q[e+28>>2]=Mi(q[b+96>>2],q[b+100>>2]);q[e+24>>2]=a;q[e+20>>2]=d;q[e+16>>2]=c;Ai(4,45688,45969,e+16|0);break c}a=q[62006];if(q[a+8>>2]!=(d|0)|q[a+12>>2]!=(g|0)){break c}a=q[c+180>>2];if(!a){break c}if(!Av(a,q[b+96>>2],q[b+100>>2])){break c}o[c+254|0]=r[c+254|0]|8}ti=e+128|0;return 0}break a}J(46656,46296,486,46535);G()}J(46656,46296,479,46535);G()}function b9(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=ti-16|0;ti=i;f=q[a>>2];c=f;j=q[c+8>>2]-q[c+12>>2]>>4;c=Fi(jj(c,408),0,408);q[c+8>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;a:{b:{e=a+44|0;d=q[e>>2];h=a+48|0;g=q[h>>2];if((d|0)==(g|0)){if(o[a+52|0]&1){break b}g=d;d=a+40|0;Ii((g-q[d>>2]>>2)+32|0,4,d,h,e);g=q[h>>2];d=q[e>>2]}if((d|0)==(g|0)){break a}q[a+44>>2]=d+4;q[d>>2]=c;Qi(f,-1);q[c>>2]=kk(f,-1e4);gj(f,0,0);q[c+8>>2]=kk(f,-1e4);gj(f,0,0);d=kk(f,-1e4);q[c+16>>2]=0;q[c+12>>2]=a;q[c+4>>2]=d;q[c+192>>2]=q[b+28>>2];if(o[c+44|0]&1){break b}Ii(q[b>>2],576,c+32|0,c+40|0,c+36|0);c:{d=s[c+24>>1];e=s[b>>1];if(d>>>0<=e>>>0){h=q[c+20>>2];g=Ji(e<<1);q[c+20>>2]=g;g=Gi(g,h,d<<1);p[c+24>>1]=e;if(d>>>0>>0){while(1){p[g+(d<<1)>>1]=d;d=d+1|0;if((e|0)!=(d|0)){continue}break}}yi(h);if(o[c+60|0]&1){break b}Ii(q[b+4>>2],72,c+48|0,c+56|0,c+52|0);d=q[b+8>>2];KH(c+128|0,d<<1,d);d=q[b+8>>2];MH(c+160|0,d<<1,d);d=q[b+12>>2];cp(c+96|0,d<<1,d);d=q[b+16>>2];FH(c+196|0,d<<1,d);if(o[c+240|0]&1){break b}Ii(q[b+20>>2],12,c+228|0,c+236|0,c+232|0);d=c+244|0;e=q[b+24>>2];xH(d,e<<1,e);if(o[c+288|0]&1){break b}Ii(1,8,c+276|0,c+284|0,c+280|0);e=q[b+72>>2];q[c+340>>2]=0;q[c+320>>2]=e;e=q[b+32>>2];q[c+348>>2]=-1;q[c+352>>2]=0;q[c+344>>2]=e;q[c+360>>2]=q[a+28>>2];q[c+364>>2]=q[a+32>>2];q[c+400>>2]=q[b+64>>2];q[c+372>>2]=q[b+36>>2];q[c+376>>2]=q[b+40>>2];q[c+380>>2]=q[b+44>>2];q[c+384>>2]=q[b+48>>2];q[c+388>>2]=q[b+52>>2];q[c+392>>2]=q[b+56>>2];q[c+396>>2]=q[b+60>>2];q[c+404>>2]=q[b+68>>2];q[c+368>>2]=q[b+76>>2];a=q[216156];b=q[216157];e=s[c+356>>1];p[c+356>>1]=e+1;p[i+14>>1]=e;xz(d,a,b,i+14|0);a=q[216159];b=a;d=q[216158];q[c+312>>2]=d;q[c+316>>2]=b;a=q[c+276>>2];q[c+280>>2]=a;if((a|0)==q[c+284>>2]){break a}q[c+280>>2]=a+8;q[a>>2]=d;q[a+4>>2]=b;if(o[c+304|0]&1){break b}Ii(0,4,c+292|0,c+300|0,c+296|0);Ki(f,-1e4,193673);ij(f,-2);jk(f);Ey(q[c+368>>2]);a=q[f+8>>2];q[a+8>>2]=0;q[f+8>>2]=a+16;jk(f);if(q[f+8>>2]-q[f+12>>2]>>4!=(j|0)){break c}ti=i+16|0;return c}J(196185,195807,112,195316);G()}J(193691,193630,385,193712);G()}J(196110,195579,493,195316);G()}J(195701,195579,533,195725);G()}function O3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=ti-608|0;ti=g;l=pk();i=Ji(48);f=i;q[f>>2]=0;q[f+4>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;k=Vj(1,188);q[f+8>>2]=k;j=Vj(1,320);q[f+4>>2]=j;n=Vj(1,632);q[f>>2]=n;h=Vj(1,280);q[f+12>>2]=h;m=Vj(1,16);q[f+16>>2]=m;Fi(k,0,188);Fi(j,0,320);pV(n);f=QV(j,n);a:{if(f){q[g+84>>2]=f;q[g+80>>2]=Qq(f);q[g+88>>2]=(f|0)<0?45:32;a=f>>31;q[g+92>>2]=a+f^a;Ai(4,176252,176326,g+80|0);b=-2e3;break a}f=rU(k);if(f){q[g+68>>2]=f;q[g+64>>2]=Qq(f);q[g+72>>2]=(f|0)<0?45:32;a=f>>31;q[g+76>>2]=a+f^a;Ai(4,176252,176375,g- -64|0);b=-2e3;break a}q[k+28>>2]=j;q[k+24>>2]=1389;q[k+184>>2]=q[k+184>>2]&-13;f=c;j=f>>31;lF(a,f,j);mF(a,f,j);j=!(f|d);if(!j){q[k+156>>2]=(((f|0)>5e5?c:5e5)>>>0)/1e3;q[k+152>>2]=1;m=q[i+16>>2];h=q[i+12>>2]}q[m+8>>2]=c;q[m+12>>2]=d;es(h);if(q[215850]){f=q[i+8>>2];q[f+184>>2]=q[f+184>>2]&-13|8;f=q[215850];h=q[i+8>>2];q[h+92>>2]=0;q[h+88>>2]=f;h=q[i+12>>2]}f=UT(h,q[i+8>>2]);if(f){q[g+52>>2]=f;q[g+48>>2]=Qq(f);q[g+56>>2]=(f|0)<0?45:32;a=f>>31;q[g+60>>2]=a+f^a;Ai(4,176252,176430,g+48|0);b=-2001;break a}b=VT(h,b);if(b){q[g+36>>2]=b;q[g+32>>2]=Qq(b);q[g+40>>2]=(b|0)<0?45:32;a=b>>31;q[g+44>>2]=a+b^a;Ai(4,176252,176475,g+32|0);b=-2001;break a}b=q[i+16>>2];q[b>>2]=-1;q[b>>2]=a;q[h+44>>2]=1391;q[h+40>>2]=0;q[h+36>>2]=1390;q[h+48>>2]=b;q[h+96>>2]=1393;q[h+92>>2]=1392;q[h+88>>2]=i;a=q[h+92>>2];if(a){xi[a|0](q[h+88>>2],0,0)}while(1){b=Nr(q[i+12>>2]);if((b&-129)==-26880){continue}break}f=pk();b:{c:{if(!j){a=-26624;f=f-l|0;l=f>>31;if((d|0)==(l|0)&c>>>0>>0|d>>>0>>0){break c}}a=b;if(!a){break b}}Fi(g+96|0,0,512);o[g+96|0]=0;q[g+16>>2]=a;q[g+20>>2]=g+96;Ai(4,176252,176527,g+16|0);d:{if((a|0)==-9984){b=-2003;a=176568;break d}b=-2001;if((a|0)!=-26624){break a}b=-2002;a=176611}Ai(4,176252,a,0);break a}e:{f:{b=q[i+12>>2];a=q[b+60>>2];if(a){break f}a=q[b+64>>2];if(a){break f}a=-1;break e}a=q[a+100>>2]}if(a){KT(g+96|0,a);q[g>>2]=g+96;Ai(4,176252,176638,g);b=-2001;break a}q[e>>2]=i;b=0}ti=g+608|0;return b}function $L(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,u=0;a:{if(!q[a+5792>>2]){d=q[a+5820>>2];break a}l=a+5817|0;while(1){n=e+1|0;f=r[q[a+5784>>2]+e|0];u=a;k=s[q[a+5796>>2]+(e<<1)>>1];b:{c:{if(!k){d=(f<<2)+b|0;e=s[d+2>>1];h=s[d>>1];d=q[a+5820>>2];f=s[a+5816>>1]|h<>1]=f;if((d|0)>(16-e|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=f;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];d=q[a+5820>>2];p[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0;break c}m=r[f+190768|0];i=m<<2;d=(i|1024)+b|0;e=s[d+6>>1];h=s[d+4>>1];g=q[a+5820>>2];d=s[a+5816>>1]|h<>1]=d;j=a;d:{if((g|0)>(16-e|0)){g=q[a+20>>2];q[a+20>>2]=g+1;o[g+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];g=q[a+5820>>2];d=h>>>16-g|0;p[a+5816>>1]=d;e=(e+g|0)-16|0;break d}e=e+g|0}q[j+5820>>2]=e;if(m-8>>>0<=19){g=f-q[i+192672>>2]&65535;d=g<>1]=d;j=a;f=q[i+192304>>2];e:{if((16-f|0)<(e|0)){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[l|0];e=q[a+5820>>2];d=g>>>16-e|0;p[a+5816>>1]=d;e=(e+f|0)-16|0;break e}e=e+f|0}q[j+5820>>2]=e}f=k-1|0;m=r[(f>>>0<256?f:(f>>>7|0)+256|0)+190256|0];k=m<<2;h=k+c|0;i=s[h+2>>1];j=d;d=s[h>>1];g=j|d<>1]=g;j=a;f:{if((16-i|0)<(e|0)){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=g;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[l|0];e=q[a+5820>>2];g=d>>>16-e|0;p[a+5816>>1]=g;d=(e+i|0)-16|0;break f}d=e+i|0}q[j+5820>>2]=d;if(m>>>0<4){break b}h=f-q[k+192800>>2]&65535;f=h<>1]=f;e=q[k+192432>>2];if((16-e|0)<(d|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=f;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[l|0];d=q[a+5820>>2];p[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0}q[u+5820>>2]=d}e=n;if(e>>>0>2]){continue}break}}c=s[b+1026>>1];b=s[b+1024>>1];e=s[a+5816>>1]|b<>1]=e;if((16-c|0)<(d|0)){d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=e;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=r[a+5817|0];d=b;b=q[a+5820>>2];p[a+5816>>1]=d>>>16-b;q[a+5820>>2]=(b+c|0)-16;return}q[a+5820>>2]=c+d}function M5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=ti-320|0;ti=c;q[a+2004>>2]=-1;q[a+1960>>2]=0;q[a+1952>>2]=0;d=a+1940|0;q[d>>2]=0;q[a+1956>>2]=w(b,6);e=a+1996|0;q[e>>2]=0;q[e+4>>2]=0;a:{b:{e=w(b,672);d=xo(d,16,e);c:{if(d){q[c+4>>2]=d;q[c>>2]=e;Ai(4,107445,107490,c);break c}d=fp(q[a+2384>>2]);Rk(d,107545,4,0);Rk(d,107554,2,0);Rk(d,107564,4,1);Rk(d,107575,4,1);Rk(d,107589,4,1);Rk(d,107602,4,0);Rk(d,107613,3,0);q[a+1944>>2]=xi[q[77451]](q[a+2384>>2],d,112);q[a+1936>>2]=xi[q[77439]](q[a+2384>>2],e,0,0);Xl(d);if(o[a+1932|0]&1){break b}f=a+1928|0;d=a+1924|0;Ii(128,4,a+1920|0,f,d);if(o[a+1916|0]&1){break b}g=a+1904|0;h=a+1912|0;i=a+1908|0;Ii(128,304,g,h,i);q[a+1948>>2]=0;if(o[a+1976|0]&1){break b}Ii(b,1,a+1964|0,a+1972|0,a+1968|0);if(o[a+1992|0]&1){break b}Ii(b>>>3|0,288,a+1980|0,a+1988|0,a+1984|0);if(q[a+1912>>2]==q[a+1904>>2]){break c}j=c+160|0;e=0;while(1){Qm(c+16|0);q[c+248>>2]=6;q[c+252>>2]=7;o[c+304|0]=r[c+304|0]|1;q[c+160>>2]=q[a+1936>>2];b=q[a+1944>>2];q[c+240>>2]=1;q[c+164>>2]=b;b=q[a+1908>>2];if((b|0)==q[a+1912>>2]){break a}q[i>>2]=b+304;q[b>>2]=q[c+16>>2];u[b+16>>2]=u[c+32>>2];u[b+20>>2]=u[c+36>>2];u[b+24>>2]=u[c+40>>2];u[b+28>>2]=u[c+44>>2];u[b+32>>2]=u[c+48>>2];u[b+36>>2]=u[c+52>>2];u[b+40>>2]=u[c+56>>2];u[b+44>>2]=u[c+60>>2];u[b+48>>2]=u[c+64>>2];u[b+52>>2]=u[c+68>>2];u[b+56>>2]=u[c+72>>2];u[b+60>>2]=u[c+76>>2];u[b- -64>>2]=u[c+80>>2];u[b+68>>2]=u[c+84>>2];u[b+72>>2]=u[c+88>>2];u[b+76>>2]=u[c+92>>2];u[b+80>>2]=u[c+96>>2];u[b+84>>2]=u[c+100>>2];u[b+88>>2]=u[c+104>>2];u[b+92>>2]=u[c+108>>2];u[b+96>>2]=u[c+112>>2];u[b+100>>2]=u[c+116>>2];u[b+104>>2]=u[c+120>>2];u[b+108>>2]=u[c+124>>2];u[b+112>>2]=u[c+128>>2];u[b+116>>2]=u[c+132>>2];u[b+120>>2]=u[c+136>>2];u[b+124>>2]=u[c+140>>2];u[b+128>>2]=u[c+144>>2];u[b+132>>2]=u[c+148>>2];u[b+136>>2]=u[c+152>>2];u[b+140>>2]=u[c+156>>2];Gi(b+144|0,j,145);k=Tu();b=q[d>>2];if((b|0)==q[f>>2]){break a}q[d>>2]=b+4;q[b>>2]=k;e=e+1|0;if(e>>>0<(q[h>>2]-q[g>>2]|0)/304>>>0){continue}break}}ti=c+320|0;return}J(108618,108079,493,108453);G()}J(108693,108079,533,108717);G()}function lka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=0,h=0,i=0,j=0;g=ti-80|0;ti=g;d=q[a+4>>2];c=q[d+16>>2];a:{b:{e=q[q[a+24>>2]>>2];if(e>>>0>2]-c>>3>>>0){h=q[c+(e<<3)>>2];i=q[d>>2];if(h>>>0>=(q[d+4>>2]-i|0)/240>>>0){break a}c:{d:{c=q[a+16>>2];e=q[a+20>>2];if(!((c|0)==q[75984]&(e|0)==q[75985]|(c|0)==q[75986]&(e|0)==q[75987]|(c|0)==q[75988]&(e|0)==q[75989])){if((c|0)!=q[75990]|(e|0)!=q[75991]){break d}}a=zv(b,c,e,(i+w(h,240)|0)+48|0,303936);break c}e:{if(!((c|0)==q[75998]&(e|0)==q[75999]|((c|0)==q[75994]&(e|0)==q[75995]|(c|0)==q[75996]&(e|0)==q[75997]))){if((c|0)!=q[76e3]|(e|0)!=q[76001]){break e}}a=zv(b,c,e,(i+w(h,240)|0)- -64|0,303976);break c}if((c|0)==q[76004]&(e|0)==q[76005]){a=i+w(h,240)|0;f=u[a+224>>2];a=s[a+234>>1];f=a&2?x(x(1)-f):f;f:{if(!(a&1)){break f}f=x(f+f);if(f>x(1)^1){break f}f=x(x(2)-f)}a=g+8|0;q[a>>2]=0;v[a+8>>3]=f;Gi(b+32|0,g+8|0,72);a=0;break c}if((c|0)==q[76006]&(e|0)==q[76007]){f=u[(i+w(h,240)|0)+228>>2];a=g+8|0;q[a>>2]=0;v[a+8>>3]=f;Gi(b+32|0,g+8|0,72);a=0;break c}if((c|0)==q[75874]&(e|0)==q[75875]){d=q[q[q[a+8>>2]+80>>2]>>2];c=i+w(h,240)|0;a=q[c+200>>2];if(!a){a=q[q[c+188>>2]+16>>2]}a=km(d,a,b);break c}if((c|0)==q[75872]&(e|0)==q[75873]){d=q[q[q[a+8>>2]+80>>2]>>2];c=i+w(h,240)|0;a=q[c+196>>2];if(!a){a=q[q[c+188>>2]+8>>2]}a=km(d,a,b);break c}if((c|0)==q[75876]&(e|0)==q[75877]){d=q[q[q[a+8>>2]+80>>2]>>2];c=i+w(h,240)|0;a=q[c+196>>2];if(!a){a=q[q[c+188>>2]+8>>2]}a=km(d,q[a+48>>2],b);break c}if((c|0)==q[76008]&(e|0)==q[76009]){a=i+w(h,240)|0;d=q[a+212>>2];q[g+16>>2]=q[a+208>>2];q[g+20>>2]=d;q[g+8>>2]=1;Gi(b+32|0,g+8|0,72);a=0;break c}if((c|0)==q[76010]&(e|0)==q[76011]){a=i+w(h,240)|0;d=q[a+196>>2];if(!d){d=q[q[a+188>>2]+8>>2]}d=q[d+64>>2];a=q[a+184>>2];if(t[d+8>>2]<=a>>>0){break b}a=q[d+4>>2]+w(a,40)|0;f=x(q[a+16>>2]-q[a+12>>2]>>>0);a=g+8|0;q[a>>2]=0;v[a+8>>3]=f;Gi(b+32|0,g+8|0,72);a=0;break c}j=i+w(h,240)|0;d=q[j+200>>2];if(!d){d=q[q[j+188>>2]+16>>2]}a=Ws(d,c,e,q[a+32>>2],b,0,212,i+w(h,240)|0)}ti=g+80|0;return a|0}break a}J(48264,48276,88,48308);G()}J(48683,48598,479,48308);G()}function vo(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,r=0,s=0,t=0,u=0,v=0;t=ti-16|0;ti=t;q[t+8>>2]=0;l=-2;a:{b:{c:{if(q[215702]|!b){break c}k=q[b>>2];r=q[b+4>>2];while(1){m=q[215701];q[215701]=m?m:1;if(m){continue}break}d:{n=q[215700];m=q[n+4>>2];e:{if(!m){break e}m=q[q[n>>2]+(Qwa(k,r,m)<<2)>>2];if((m|0)==-1){break e}n=q[n+8>>2];while(1){p=(m<<6)+n|0;if((k|0)==q[p>>2]&(r|0)==q[p+4>>2]){break d}m=q[p+56>>2];if((m|0)!=-1){continue}break}}q[215701]=0;break c}r=(m<<6)+n|0;k=q[r+8>>2];if(!k){break a}p=r+8|0;q[p>>2]=k+1;q[215701]=0;wj(q[r+36>>2]);u=i+111&-16;if(u>>>0>=4097){break b}s=(m<<6)+n|0;v=s;k=q[s+44>>2];f:{if(k){l=q[k+4096>>2];if(4096-l>>>0>=u>>>0){break f}l=(m<<6)+n|0;q[k+4100>>2]=q[l+52>>2];q[l+52>>2]=k}k=q[s+48>>2];g:{if(k){q[s+48>>2]=q[k+4100>>2];break g}k=Oi(4104)}q[k+4096>>2]=0;q[k+4100>>2]=0;q[v+44>>2]=k;l=0}q[k+4096>>2]=l+u;k=k+l|0;h:{if(a){l=q[a+4>>2];q[k>>2]=q[a>>2];q[k+4>>2]=l;l=q[a+28>>2];q[k+24>>2]=q[a+24>>2];q[k+28>>2]=l;l=q[a+20>>2];q[k+16>>2]=q[a+16>>2];q[k+20>>2]=l;l=q[a+12>>2];q[k+8>>2]=q[a+8>>2];q[k+12>>2]=l;break h}o[k|0]=0;o[k+1|0]=0;o[k+2|0]=0;o[k+3|0]=0;o[k+4|0]=0;o[k+5|0]=0;o[k+6|0]=0;o[k+7|0]=0;o[k+24|0]=0;o[k+25|0]=0;o[k+26|0]=0;o[k+27|0]=0;o[k+28|0]=0;o[k+29|0]=0;o[k+30|0]=0;o[k+31|0]=0;o[k+16|0]=0;o[k+17|0]=0;o[k+18|0]=0;o[k+19|0]=0;o[k+20|0]=0;o[k+21|0]=0;o[k+22|0]=0;o[k+23|0]=0;o[k+8|0]=0;o[k+9|0]=0;o[k+10|0]=0;o[k+11|0]=0;o[k+12|0]=0;o[k+13|0]=0;o[k+14|0]=0;o[k+15|0]=0}a=q[b+4>>2];q[k+32>>2]=q[b>>2];q[k+36>>2]=a;a=q[b+28>>2];q[k+56>>2]=q[b+24>>2];q[k+60>>2]=a;a=q[b+20>>2];q[k+48>>2]=q[b+16>>2];q[k+52>>2]=a;a=q[b+12>>2];q[k+40>>2]=q[b+8>>2];q[k+44>>2]=a;q[k+92>>2]=j;q[k+88>>2]=0;q[k+84>>2]=i;q[k+80>>2]=g;q[k+76>>2]=f;q[k+72>>2]=e;q[k+64>>2]=c;q[k+68>>2]=d;Gi(k+96|0,h,i);a=(m<<6)+n|0;b=a;i:{if(q[a+24>>2]){q[q[a+28>>2]+88>>2]=k;break i}q[b+24>>2]=k}q[a+28>>2]=k;qj(q[r+36>>2]);while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}a=q[p>>2]-1|0;q[p>>2]=a;l=0;q[215701]=0;if(a){break c}Ls(p)}ti=t+16|0;return l}J(167186,167148,102,167215);G()}J(167129,167148,286,167172);G()}function lI(a,b){var c=0,d=0,e=0,f=0,g=0;e=ti-112|0;ti=e;c=q[q[a+24>>2]>>2];f=q[c+8>>2]-q[c+12>>2]>>4;a:{if(Fu(c,b)){q[e+96>>2]=dj(c,-1,0);Ai(4,193721,195130,e+96|0);Ci(c,-2);d=-1;break a}bj(c,-1e4,q[a+32>>2]);jk(c);g=Vl(c,0,0);d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;jk(c);d=-2;if(g){break a}d=q[a>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a>>2]=-2}Ki(c,-10002,195752);b:{if((Ei(c,-1)|0)==6){q[a>>2]=kk(c,-1e4);break b}if(Ei(c,-1)){q[e+84>>2]=q[b+8>>2];q[e+80>>2]=195752;Ai(3,193721,195157,e+80|0)}Ci(c,-2)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195752);d=q[a+4>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a+4>>2]=-2}Ki(c,-10002,195757);c:{if((Ei(c,-1)|0)!=6){if(Ei(c,-1)){q[e+68>>2]=q[b+8>>2];q[e+64>>2]=195757;Ai(3,193721,195157,e- -64|0)}Ci(c,-2);break c}q[a+4>>2]=kk(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195757);d=q[a+8>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a+8>>2]=-2}Ki(c,-10002,195763);d:{if((Ei(c,-1)|0)!=6){if(Ei(c,-1)){q[e+52>>2]=q[b+8>>2];q[e+48>>2]=195763;Ai(3,193721,195157,e+48|0)}Ci(c,-2);break d}q[a+8>>2]=kk(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195763);d=q[a+12>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a+12>>2]=-2}Ki(c,-10002,195770);e:{if((Ei(c,-1)|0)!=6){if(Ei(c,-1)){q[e+36>>2]=q[b+8>>2];q[e+32>>2]=195770;Ai(3,193721,195157,e+32|0)}Ci(c,-2);break e}q[a+12>>2]=kk(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195770);d=q[a+16>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a+16>>2]=-2}Ki(c,-10002,195781);f:{if((Ei(c,-1)|0)!=6){if(Ei(c,-1)){q[e+20>>2]=q[b+8>>2];q[e+16>>2]=195781;Ai(3,193721,195157,e+16|0)}Ci(c,-2);break f}q[a+16>>2]=kk(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195781);d=q[a+20>>2];if((d|0)!=-2){Aj(c,-1e4,d);q[a+20>>2]=-2}Ki(c,-10002,195790);g:{if((Ei(c,-1)|0)!=6){if(Ei(c,-1)){q[e+4>>2]=q[b+8>>2];q[e>>2]=195790;Ai(3,193721,195157,e)}Ci(c,-2);break g}q[a+20>>2]=kk(c,-1e4)}d=q[c+8>>2];q[d+8>>2]=0;q[c+8>>2]=d+16;Di(c,-10002,195790);q[a+28>>2]=Jk(q[b+8>>2]);d=0}if(q[c+8>>2]-q[c+12>>2]>>4==(f|0)){ti=e+112|0;return d}J(193691,193630,4300,195185);G()}function BL(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,p=0;j=ti-16|0;ti=j;e=j+8|0;q[e+4>>2]=c;q[e>>2]=d;a:{if(r[b+24|0]){while(1){i=q[b+20>>2]+w(n,24)|0;h=q[i+4>>2];b:{f=o[i+20|0];if(f&127?(f|0)>=0:0){break b}k=4;c:{d:{e:{f:{f=h>>>22&63;switch(f-9|0){case 0:break c;case 3:break e;case 2:break f;default:break d}}k=q[q[i+8>>2]+16>>2];break c}k=8;break c}k=KA(f);h=q[i+4>>2]}l=q[i+12>>2]+a|0;p=1;if((h&-268435456)==805306368){p=q[l+4>>2];if(!p){break b}l=q[l>>2]}m=0;g:{h:{i:{j:{while(1){k:{f=w(k,m)+l|0;l:{m:{switch((h>>>22&63)-1|0){case 0:g=3;if(!Cn(e,h&4194303,1)){break a}if(xqa(e,v[f>>3])){break l}break a;case 1:g=3;if(!Cn(e,h&4194303,5)){break a}if(wqa(e,u[f>>2])){break l}break a;case 2:g=3;if(!Cn(e,h&4194303,0)){break a}if(sL(e,q[f>>2],q[f+4>>2])){break l}break a;case 3:g=3;if(!Cn(e,h&4194303,0)){break a}if(sL(e,q[f>>2],q[f+4>>2])){break l}break a;case 4:g=3;if(!Cn(e,h&4194303,0)){break a}if(uqa(e,q[f>>2])){break l}break a;case 5:J(22823,22829,102,22853);G();case 6:J(22823,22829,106,22853);G();case 7:g=3;if(!Cn(e,h&4194303,0)){break a}if(yqa(e,r[f|0])){break l}break a;case 8:g=3;if(!Cn(e,h&4194303,2)){break a}if(vqa(e,q[f>>2])){break l}break a;case 9:J(22823,22829,116,22853);G();case 10:q[j+4>>2]=0;g=qL(f,q[i+8>>2],j+4|0,121);if(g){break a}g=3;if(!Cn(e,q[i+4>>2]&4194303,2)){break a}if(!Sv(e,q[j+4>>2])){break a}g=qL(f,q[i+8>>2],c,d);if(!g){break l}break a;case 11:g=3;if(!Cn(e,h&4194303,2)){break a}if(!Sv(e,q[f+4>>2])){break a}if(xi[q[e>>2]](q[e+4>>2],q[f>>2],q[f+4>>2])|0){break l}break a;case 12:g=3;if(!Cn(e,h&4194303,0)){break a}if(Sv(e,q[f>>2])){break l}break a;case 17:break h;case 16:break i;case 15:break j;case 14:break k;case 13:break m;default:break g}}g=3;if(!Cn(e,h&4194303,0)){break a}if(!Sv(e,q[f>>2])){break a}}m=m+1|0;if((p|0)==(m|0)){break b}h=q[i+4>>2];continue}break}J(22823,22829,155,22853);G()}J(22823,22829,159,22853);G()}J(22823,22829,163,22853);G()}J(22823,22829,167,22853);G()}J(22823,22829,171,22853);G()}n=n+1|0;if(n>>>0>2]-5|0;g=c>>>0<65535?c:65535;a:{while(1){c=q[a+116>>2];if(c>>>0<=1){rs(a);c=q[a+116>>2];if(!(c|b)){return 0}if(!c){break a}}q[a+116>>2]=0;c=q[a+108>>2]+c|0;q[a+108>>2]=c;d=q[a+92>>2];e=g+d|0;if(!(e>>>0>c>>>0?c:0)){q[a+108>>2]=e;q[a+116>>2]=c-e;zm(a,(d|0)>=0?q[a+56>>2]+d|0:0,g,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];ql(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;b:{if(!e){break b}Gi(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break b}q[d+16>>2]=q[d+8>>2]}if(!q[q[a>>2]+16>>2]){return 0}d=q[a+92>>2];c=q[a+108>>2]}e=c-d|0;if(e>>>0>2]-262>>>0){continue}zm(a,(d|0)>=0?q[a+56>>2]+d|0:0,e,0);q[a+92>>2]=q[a+108>>2];c=q[a>>2];d=q[c+28>>2];ql(d);e=q[c+16>>2];f=q[d+20>>2];e=e>>>0>>0?e:f;c:{if(!e){break c}Gi(q[c+12>>2],q[d+16>>2],e);q[c+12>>2]=e+q[c+12>>2];q[d+16>>2]=e+q[d+16>>2];q[c+20>>2]=e+q[c+20>>2];q[c+16>>2]=q[c+16>>2]-e;c=q[d+20>>2]-e|0;q[d+20>>2]=c;if(c){break c}q[d+16>>2]=q[d+8>>2]}if(q[q[a>>2]+16>>2]){continue}break}return 0}q[a+5812>>2]=0;if((b|0)==4){b=a;c=q[a+92>>2];if((c|0)>=0){d=c+q[a+56>>2]|0}else{d=0}zm(b,d,q[a+108>>2]-c|0,1);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;d:{if(!d){break d}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break d}q[c+16>>2]=q[c+8>>2]}return(q[q[a>>2]+16>>2]?3:2)|0}e:{e=q[a+108>>2];c=q[a+92>>2];if((e|0)<=(c|0)){break e}zm(a,(c|0)>=0?c+q[a+56>>2]|0:0,e-c|0,0);q[a+92>>2]=q[a+108>>2];b=q[a>>2];c=q[b+28>>2];ql(c);d=q[b+16>>2];e=q[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}Gi(q[b+12>>2],q[c+16>>2],d);q[b+12>>2]=d+q[b+12>>2];q[c+16>>2]=d+q[c+16>>2];q[b+20>>2]=d+q[b+20>>2];q[b+16>>2]=q[b+16>>2]-d;b=q[c+20>>2]-d|0;q[c+20>>2]=b;if(b){break f}q[c+16>>2]=q[c+8>>2]}if(q[q[a>>2]+16>>2]){break e}return 0}return 1}function wwa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[76168]=zi(51056);q[76169]=wi;q[76170]=zi(51075);q[76171]=wi;q[76172]=zi(51092);q[76173]=wi;q[76174]=zi(51101);q[76175]=wi;q[76176]=zi(51107);q[76177]=wi;q[76178]=zi(51117);q[76179]=wi;q[76180]=zi(51125);q[76181]=wi;q[76182]=zi(51132);q[76183]=wi;q[76184]=zi(51141);q[76185]=wi;q[76186]=zi(51153);q[76187]=wi;q[76188]=zi(51162);q[76189]=wi;q[76190]=zi(51167);q[76191]=wi;q[76192]=zi(51173);q[76193]=wi;q[76194]=zi(51179);q[76195]=wi;q[76196]=zi(51188);q[76197]=wi;q[76198]=zi(51197);q[76199]=wi;q[76200]=zi(51206);q[76201]=wi;q[76202]=zi(51215);q[76203]=wi;q[76204]=zi(51224);q[76205]=wi;q[76206]=zi(51233);q[76207]=wi;q[76208]=zi(51242);q[76209]=wi;q[76210]=zi(51251);q[76211]=wi;q[76212]=zi(51260);q[76213]=wi;a=zi(51269);q[76233]=0;q[76234]=0;q[76232]=305408;q[76230]=0;q[76228]=51292;q[76227]=51281;q[76226]=0;q[76224]=0;q[76222]=0;q[76220]=0;q[76218]=1;q[76216]=0;q[76217]=3;q[76214]=a;q[76215]=wi;q[76235]=0;q[76236]=0;q[76237]=0;a=zi(51305);b=wi;c=zi(51311);d=wi;e=zi(51319);f=wi;g=zi(51327);o[304984]=0;q[76244]=g;q[76245]=wi;q[76242]=e;q[76243]=f;q[76240]=c;q[76241]=d;q[76238]=a;q[76239]=b;a=zi(51335);b=wi;c=zi(51340);d=wi;e=zi(51347);f=wi;g=zi(51354);o[305024]=0;q[76254]=g;q[76255]=wi;q[76252]=e;q[76253]=f;q[76250]=c;q[76251]=d;q[76248]=a;q[76249]=b;a=zi(51361);b=wi;c=zi(51367);d=wi;e=zi(51375);f=wi;g=zi(51383);h=wi;i=zi(51391);o[305072]=0;q[76266]=i;q[76267]=wi;q[76264]=g;q[76265]=h;q[76262]=e;q[76263]=f;q[76260]=c;q[76261]=d;q[76258]=a;q[76259]=b;a=zi(51399);b=wi;c=zi(51407);d=wi;e=zi(51417);f=wi;g=zi(51427);h=wi;i=zi(51437);o[305120]=0;q[76278]=i;q[76279]=wi;q[76276]=g;q[76277]=h;q[76274]=e;q[76275]=f;q[76272]=c;q[76273]=d;q[76270]=a;q[76271]=b;a=zi(51447);b=wi;c=zi(51454);d=wi;e=zi(51463);f=wi;g=zi(51472);h=wi;i=zi(51481);o[305168]=0;q[76290]=i;q[76291]=wi;q[76288]=g;q[76289]=h;q[76286]=e;q[76287]=f;q[76284]=c;q[76285]=d;q[76282]=a;q[76283]=b;q[76294]=zi(51490);q[76295]=wi;q[76296]=zi(51498);q[76297]=wi;q[76298]=zi(51507);q[76299]=wi}function EB(a){var b=0,c=0,d=0,e=0,f=0;if(!q[a+92>>2]){yi(q[a+20>>2])}c=q[a+24>>2];if((c|0)>=1){while(1){if(!q[a+92>>2]){yi(q[q[a+28>>2]+(b<<2)>>2]);c=q[a+24>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}if(!q[a+92>>2]){yi(q[a+28>>2])}a:{b=q[a+408>>2];if(!b|q[a+276>>2]<1){break a}while(1){e=w(f,24)+b|0;b:{if(q[e+16>>2]){c=q[a+136>>2];d=r[e+13|0];if(q[(c+w(d,2096)|0)+4>>2]>=1){b=0;while(1){if(!q[a+92>>2]){yi(q[q[e+16>>2]+(b<<2)>>2]);d=r[e+13|0];c=q[a+136>>2]}b=b+1|0;if((b|0)>2]){continue}break}}if(q[a+92>>2]){break b}yi(q[e+16>>2])}if(q[a+92>>2]){break b}yi(q[e+20>>2])}f=f+1|0;if((f|0)>=q[a+276>>2]){break a}b=q[a+408>>2];continue}}d=q[a+136>>2];c:{if(d){d:{if(q[a+132>>2]<1){break d}b=0;while(1){e:{if(q[a+92>>2]){break e}c=w(b,2096)+d|0;yi(q[c+8>>2]);if(q[a+92>>2]){break e}yi(q[c+28>>2]);if(q[a+92>>2]){break e}yi(q[c+32>>2]);if(q[a+92>>2]){break e}yi(q[c+2084>>2]);if(q[a+92>>2]){break e}c=q[c+2088>>2];yi(c?c-4|0:0)}b=b+1|0;if((b|0)>=q[a+132>>2]){break d}d=q[a+136>>2];continue}}if(q[a+92>>2]){break c}yi(q[a+136>>2])}if(q[a+92>>2]){break c}yi(q[a+272>>2]);if(q[a+92>>2]){break c}yi(q[a+408>>2])}f:{if(!q[a+416>>2]){break f}c=q[a+412>>2];if((c|0)>=1){b=0;while(1){if(!q[a+92>>2]){yi(q[(q[a+416>>2]+w(b,40)|0)+4>>2]);c=q[a+412>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}if(q[a+92>>2]){break f}yi(q[a+416>>2])}b=0;g:{if(q[a+4>>2]<=0){break g}while(1){h:{if(q[a+92>>2]){break h}c=(b<<2)+a|0;yi(q[c+812>>2]);if(q[a+92>>2]){break h}yi(q[c+940>>2]);if(q[a+92>>2]){break h}yi(q[c+1008>>2])}if(b>>>0>14){break g}b=b+1|0;if((b|0)>2]){continue}break}}i:{if(q[a+92>>2]){break i}yi(q[a+1080>>2]);if(q[a+92>>2]){break i}yi(q[a+1088>>2]);if(q[a+92>>2]){break i}yi(q[a+1096>>2]);if(q[a+92>>2]){break i}yi(q[a+1104>>2]);if(q[a+92>>2]){break i}yi(q[a+1112>>2]);if(q[a+92>>2]){break i}yi(q[a+1084>>2]);if(q[a+92>>2]){break i}yi(q[a+1092>>2]);if(q[a+92>>2]){break i}yi(q[a+1100>>2]);if(q[a+92>>2]){break i}yi(q[a+1108>>2]);if(q[a+92>>2]){break i}yi(q[a+1116>>2])}if(q[a+40>>2]){Ak(q[a+32>>2])}}function O5(a,b,c,d,e,f){var g=0,h=0;g=ti-384|0;ti=g;q[a+1872>>2]=a;q[a+1884>>2]=b;q[a+1876>>2]=xi[q[77439]](q[a+2384>>2],b<<7,0,0);h=fp(q[a+2384>>2]);Rk(h,106843,4,0);Rk(h,106852,4,0);q[a+1880>>2]=xi[q[77450]](q[a+2384>>2],h);Xl(h);h=-1;a:{if(!d){d=-1;break a}c=Cj(c,d,259224,g+380|0);if(c){q[g+16>>2]=c;Ai(3,106858,106865,g+16|0);d=-1;break a}c=cr(q[a+2384>>2],q[g+380>>2]);d=xi[q[77460]](q[a+2384>>2],c)|0;cj(q[g+380>>2]);if(!f|(d|0)==-1){break a}c=Cj(e,f,259224,g+380|0);if(c){q[g>>2]=c;Ai(3,106858,106915,g);break a}c=cr(q[a+2384>>2],q[g+380>>2]);h=xi[q[77461]](q[a+2384>>2],c)|0;cj(q[g+380>>2])}e=b<<5;b=Zy(a,d,h);Pu(b,zi(106967),wi,1);q[g+368>>2]=zi(106977);q[g+372>>2]=wi;Xy(b,1,g+368|0);c=Zy(a,d,h);Pu(c,zi(106967),wi,1);q[g+360>>2]=zi(106986);q[g+364>>2]=wi;Xy(c,1,g+360|0);q[g+348>>2]=c;q[g+344>>2]=c;q[g+340>>2]=b;q[g+336>>2]=b;d=g+176|0;c=0;while(1){Qm(g+32|0);b=c<<2;q[g+256>>2]=q[b+107008>>2];q[g+188>>2]=q[b+(g+336|0)>>2];q[g+176>>2]=q[a+1876>>2];q[g+180>>2]=q[a+1880>>2];q[g+316>>2]=0;b=w(c,320)+a|0;q[b- -64>>2]=q[g+32>>2];u[b+80>>2]=u[g+48>>2];u[b+84>>2]=u[g+52>>2];u[b+88>>2]=u[g+56>>2];u[b+92>>2]=u[g+60>>2];u[b+96>>2]=u[g+64>>2];u[b+100>>2]=u[g+68>>2];u[b+104>>2]=u[g+72>>2];u[b+108>>2]=u[g+76>>2];u[b+112>>2]=u[g+80>>2];u[b+116>>2]=u[g+84>>2];u[b+120>>2]=u[g+88>>2];u[b+124>>2]=u[g+92>>2];u[b+128>>2]=u[g+96>>2];u[b+132>>2]=u[g+100>>2];u[b+136>>2]=u[g+104>>2];u[b+140>>2]=u[g+108>>2];u[b+144>>2]=u[g+112>>2];u[b+148>>2]=u[g+116>>2];u[b+152>>2]=u[g+120>>2];u[b+156>>2]=u[g+124>>2];u[b+160>>2]=u[g+128>>2];u[b+164>>2]=u[g+132>>2];u[b+168>>2]=u[g+136>>2];u[b+172>>2]=u[g+140>>2];u[b+176>>2]=u[g+144>>2];u[b+180>>2]=u[g+148>>2];u[b+184>>2]=u[g+152>>2];u[b+188>>2]=u[g+156>>2];u[b+192>>2]=u[g+160>>2];u[b+196>>2]=u[g+164>>2];u[b+200>>2]=u[g+168>>2];u[b+204>>2]=u[g+172>>2];Gi(b+208|0,d,145);q[b+368>>2]=Oi(e);c=c+1|0;if((c|0)!=4){continue}break}b=zi(106977);q[a+1600>>2]=1;c=a+1344|0;q[c>>2]=b;q[c+4>>2]=wi;b=zi(106986);q[a+1888>>2]=0;q[a+1864>>2]=1;a=a+1608|0;q[a>>2]=b;q[a+4>>2]=wi;ti=g+384|0}function bla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=ti-32|0;ti=h;f=q[a+4>>2];c=q[f+20>>2];a:{b:{c:{d:{e:{f:{b=q[q[a+24>>2]>>2];if(b>>>0>2]-c>>3>>>0){b=q[c+(b<<3)>>2];e=q[f+4>>2];if(b>>>0>=q[f+8>>2]-e>>2>>>0){break a}d=q[e+(b<<2)>>2];e=q[a+16>>2];b=q[a+20>>2];if((e|0)==q[75366]&(b|0)==q[75367]){c=d+156|0;e=q[c>>2];g=e?e:q[q[d+152>>2]+4>>2];a=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75262],q[75263],c);b=r[d+204|0];o[d+204|0]=(a?b&4:4)|b&251;if(a){break b}c=q[c>>2];if(!c){c=q[q[d+152>>2]+4>>2]}a=h;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;$p(q[c+4>>2],a+4|0);Uj(a+8|0,c+4|0,4);Uj(a+8|0,a+4|0,4);q[d+200>>2]=Bn(a+8|0);a=q[d+156>>2];if(!(e?(a|0)==(g|0):0)){if(!jK(a,h+8|0)){break f}a=q[d+196>>2];if(a){xi[q[77453]](a)}q[d+196>>2]=q[h+8>>2]}a=0;b=q[d+192>>2];if(!b){b=q[q[d+152>>2]+8>>2]}if(q[b+104>>2]!=1){break b}$J(f,c,q[d+200>>2]);pA(f,q[g+8>>2],q[g+12>>2]);break b}g:{if((e|0)!=q[75278]|(b|0)!=q[75279]){c=0;if(q[75280]!=(e|0)|q[75281]!=(b|0)){break g}break c}g=d+192|0;b=q[g>>2];if(!b){b=q[q[d+152>>2]+8>>2]}c=q[b+104>>2];a=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75260],q[75261],g);b=r[d+204|0];o[d+204|0]=(a?b&4:4)|b&251;e=(c|0)==1;b=q[g>>2];if(!b){b=q[q[d+152>>2]+8>>2]}if(a|q[b+104>>2]!=1^e|(c|0)!=1){break b}b=q[d+156>>2];if(!b){b=q[q[d+152>>2]+4>>2]}pA(f,q[b+8>>2],q[b+12>>2]);break b}c=1;if(q[75282]==(e|0)&q[75283]==(b|0)){break c}c=2;if(q[75284]==(e|0)&q[75285]==(b|0)){break c}c=3;if(q[75286]==(e|0)&q[75287]==(b|0)){break c}c=4;if(q[75288]==(e|0)&q[75289]==(b|0)){break c}c=5;if(q[75290]==(e|0)&q[75291]==(b|0)){break c}c=6;if(q[75292]==(e|0)&q[75293]==(b|0)){break c}c=7;if(q[75294]==(e|0)&q[75295]==(b|0)){break c}c=q[d+192>>2];if(!c){break e}break d}break a}Ai(4,40063,40109,0);a=-8;break b}c=q[q[d+152>>2]+8>>2]}a=gp(c,e,b,a+32|0,q[a+104>>2],183,d);b=r[d+204|0];o[d+204|0]=(a?b&4:4)|b&251;break b}a=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75266],q[75267],(d+(c<<2)|0)+160|0);b=r[d+204|0];o[d+204|0]=(a?b&4:4)|b&251}ti=h+32|0;return a|0}J(41371,40669,479,41382);G()}function ZO(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,p=0;b=ti-1328|0;ti=b;f=Wi(a,1,b+1320|0);d=Wi(a,2,0);c=d+1|0;g=Ei(a,3);l=hm(a,4,q[b+1320>>2]+1|0);e=r[d|0];i=(e|0)==94;if(g-3>>>0>=4){Qj(a,3,141449)}m=i?c:d;d=b+8|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;q[b+1056>>2]=a;q[b+1048>>2]=f;q[b+1052>>2]=q[b+1320>>2]+f;k=b+1044|0;n=(e|0)!=94;i=0;while(1){a:{if((i|0)>=(l|0)){d=f;break a}q[b+1060>>2]=0;d=rn(b+1048|0,f,m);b:{if(!d){break b}i=i+1|0;c:{d:{e:{f:{g=q[b+1056>>2];switch(Ei(g,3)-3|0){case 2:break d;case 3:break e;case 0:case 1:break f;default:break c}}h=dj(q[b+1056>>2],3,b+1324|0);if(!q[b+1324>>2]){break b}p=d-f|0;c=0;while(1){j=c+h|0;g=r[j|0];g:{if((g|0)!=37){e=q[b+8>>2];if(k>>>0<=e>>>0){Yk(b+8|0);e=q[b+8>>2];g=r[j|0]}q[b+8>>2]=e+1;o[e|0]=g;break g}c=c+1|0;j=h+c|0;g=r[j|0];if(g-48>>>0>=10){e=q[b+8>>2];if(k>>>0<=e>>>0){Yk(b+8|0);e=q[b+8>>2];g=r[j|0]}q[b+8>>2]=e+1;o[e|0]=g;break g}if((g|0)==48){bn(b+8|0,f,p);break g}Hr(b+1048|0,(g<<24>>24)-49|0,f,d);ls(b+8|0)}c=c+1|0;if(c>>>0>2]){continue}break}break b}Qi(g,3);c=q[b+1060>>2];e=f?c?c:1:c;Ro(q[b+1056>>2],e,141115);c=0;if((e|0)>=1){while(1){Hr(b+1048|0,c,f,d);c=c+1|0;if((e|0)!=(c|0)){continue}break}}zk(g,e,1);break c}h:{if(q[b+1060>>2]<=0){Ni(q[b+1056>>2],f,d-f|0);break h}i:{j:{k:{c=q[b+1068>>2];switch(c+2|0){case 1:break j;case 0:break k;default:break i}}e=(q[b+1064>>2]-q[b+1048>>2]|0)+1|0;c=q[b+1056>>2];h=q[c+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[c+8>>2]=q[c+8>>2]+16;break h}Bi(q[b+1056>>2],141265,0)}Ni(q[b+1056>>2],q[b+1064>>2],c)}Sj(g,3)}l:{if(!Ej(g,-1)){Ci(g,-2);Ni(g,f,d-f|0);break l}if(ek(g,-1)){break l}c=b;h=Ei(g,-1);e=135271;m:{if((h|0)==-1){break m}e=q[(h<<2)+267792>>2]}q[c>>2]=e;Bi(g,141480,b)}ls(b+8|0)}if(f>>>0>=d>>>0){if(t[b+1052>>2]<=f>>>0){d=f;break a}c=q[b+8>>2];if(k>>>0<=c>>>0){Yk(b+8|0);c=q[b+8>>2]}d=r[f|0];q[b+8>>2]=c+1;o[c|0]=d;d=f+1|0}f=d;if(n){continue}}break}bn(b+8|0,d,q[b+1052>>2]-d|0);gm(b+8|0);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=i|0;q[a+8>>2]=q[a+8>>2]+16;ti=b+1328|0;return 2}function qwa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;q[75848]=zi(47460);q[75849]=wi;q[75850]=zi(47479);q[75851]=wi;q[75852]=zi(47496);q[75853]=wi;q[75854]=zi(47505);q[75855]=wi;q[75856]=zi(47511);q[75857]=wi;q[75858]=zi(47521);q[75859]=wi;q[75860]=zi(47529);q[75861]=wi;q[75862]=zi(47536);q[75863]=wi;q[75864]=zi(47545);q[75865]=wi;q[75866]=zi(47557);q[75867]=wi;q[75868]=zi(47566);q[75869]=wi;q[75870]=zi(47571);q[75871]=wi;q[75872]=zi(47577);q[75873]=wi;q[75874]=zi(47583);q[75875]=wi;q[75876]=zi(47592);q[75877]=wi;q[75878]=zi(47601);q[75879]=wi;q[75880]=zi(47610);q[75881]=wi;q[75882]=zi(47619);q[75883]=wi;q[75884]=zi(47628);q[75885]=wi;q[75886]=zi(47637);q[75887]=wi;q[75888]=zi(47646);q[75889]=wi;q[75890]=zi(47655);q[75891]=wi;q[75892]=zi(47664);q[75893]=wi;a=zi(47673);q[75913]=0;q[75914]=0;q[75912]=305408;q[75910]=0;q[75908]=47697;q[75907]=47685;q[75906]=0;q[75904]=0;q[75902]=0;q[75900]=0;q[75898]=1;q[75896]=0;q[75897]=3;q[75894]=a;q[75895]=wi;q[75915]=0;q[75916]=0;q[75917]=0;q[75934]=303584;q[75932]=0;q[75930]=47733;q[75929]=47710;q[75928]=0;q[75926]=0;q[75924]=0;q[75922]=0;q[75920]=1;q[75918]=0;q[75919]=3;q[75939]=0;q[75937]=0;q[75938]=0;q[75935]=0;q[75936]=0;q[75942]=1;q[75944]=0;q[75946]=0;q[75948]=0;q[75950]=0;q[75951]=47744;q[75952]=47766;q[75954]=0;q[75956]=303584;q[75940]=0;q[75941]=3;q[75957]=0;q[75958]=0;q[75959]=0;q[75960]=0;q[75961]=0;q[75964]=1;q[75966]=0;q[75968]=0;q[75970]=0;q[75972]=0;q[75973]=47792;q[75974]=47813;q[75976]=0;q[75978]=303584;q[75962]=0;q[75963]=3;q[75983]=0;q[75981]=0;q[75982]=0;q[75979]=0;q[75980]=0;a=zi(47838);b=wi;c=zi(47844);d=wi;e=zi(47852);f=wi;g=zi(47860);o[303968]=0;q[75990]=g;q[75991]=wi;q[75988]=e;q[75989]=f;q[75986]=c;q[75987]=d;q[75984]=a;q[75985]=b;a=zi(47868);b=wi;c=zi(47873);d=wi;e=zi(47880);f=wi;g=zi(47887);o[304008]=0;q[76e3]=g;q[76001]=wi;q[75998]=e;q[75999]=f;q[75996]=c;q[75997]=d;q[75994]=a;q[75995]=b;q[76004]=zi(47894);q[76005]=wi;q[76006]=zi(47901);q[76007]=wi;q[76008]=zi(47915);q[76009]=wi;q[76010]=zi(47925);q[76011]=wi}function Vv(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;e=ti-16|0;m=e;ti=e;a:{b:{c:{g=q[213374];if(g){h=2;d:{if(!b|!d){break d}h=5;if(!c){break d}n=e-((c<<2)+15&2032)|0;ti=n;e=1;while(1){j=w(f,24)+b|0;l=r[j+12|0];if(!l){break d}j=q[j+8>>2];if(j>>>0>=9){break c}k=i;i=q[(j<<2)+149304>>2];j=(k+i|0)-1&0-i;q[(f<<2)+n>>2]=j;e=e>>>0>>0?i:e;i=j+w(i,l)|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}i=(e+i|0)-1&0-e;if(!i){break d}h=4;e=c<<4;j=e+36|0;l=w(a,i);k=(l+(e+51&8176)|0)+16|0;if((j|0)==(k|0)){break d}h=q[g+8>>2];e:{f:{if(!h){f=q[g>>2];e=64;break f}f=q[g>>2];e=0;g:{while(1){if(q[(e<<2)+f>>2]){e=e+1|0;if((h|0)!=(e|0)){continue}break g}break}if((e|0)!=-1){break e}}e=h- -64|0;if(e>>>0>65535){break b}}h=2;q[g>>2]=nl(f,e<<2);q[g+4>>2]=nl(q[g+4>>2],e<<1);Fi(q[g>>2]+(q[g+8>>2]<<2)|0,0,256);Fi(q[g+4>>2]+(q[g+8>>2]<<1)|0,0,128);q[g+8>>2]=q[g+8>>2]- -64;if(!q[g>>2]|!q[g+4>>2]){break d}}e=0;q[m+12>>2]=0;h=2;if(xo(m+12|0,16,k)){break d}f=q[m+12>>2];o[f+34|0]=c;q[f+28>>2]=a;p[f+32>>1]=0;q[f+24>>2]=i;q[f+8>>2]=0;q[f+12>>2]=0;i=f+36|0;q[f+4>>2]=i;j=f+j|0;q[f>>2]=j;q[f+16>>2]=0;q[f+20>>2]=0;while(1){h=w(e,24)+b|0;k=q[h+4>>2];a=i+(e<<4)|0;q[a>>2]=q[h>>2];q[a+4>>2]=k;o[a+12|0]=q[h+8>>2];o[a+13|0]=r[h+12|0];q[a+8>>2]=q[(e<<2)+n>>2];e=e+1|0;if((e|0)!=(c|0)){continue}break}b=q[37237];a=j+l|0;c=q[37236];o[a|0]=c;o[a+1|0]=c>>>8;o[a+2|0]=c>>>16;o[a+3|0]=c>>>24;o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;b=q[37239];c=q[37238];o[a+8|0]=c;o[a+9|0]=c>>>8;o[a+10|0]=c>>>16;o[a+11|0]=c>>>24;o[a+12|0]=b;o[a+13|0]=b>>>8;o[a+14|0]=b>>>16;o[a+15|0]=b>>>24;h:{a=q[g+8>>2];if(a){b=q[g>>2];e=0;while(1){c=b+(e<<2)|0;if(!q[c>>2]){break h}e=e+1|0;if((a|0)!=(e|0)){continue}break}}J(149117,149036,238,149148);G()}a=s[g+12>>1];a=a>>>0>65533?1:a+1|0;p[g+12>>1]=a;p[q[g+4>>2]+(e<<1)>>1]=a;q[c>>2]=f;a=s[g+12>>1]<<16|e;if((a|0)==-1){break a}q[d>>2]=a;h=0}ti=m+16|0;return h}J(148741,148229,301,148781);G()}J(148202,148229,157,148252);G()}J(149085,149036,200,149108);G()}J(149152,149036,251,149148);G()}function NN(a,b,c){var d=0,e=0,f=0;d=ti+ -64|0;ti=d;q[d+48>>2]=0;q[d+32>>2]=0;q[d+16>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;e=-10240;a:{if(!a|!b){break a}q[d+56>>2]=b;q[d+60>>2]=c;if(Rj(d+56|0,b+c|0,d+60|0,48)){gl(a);e=-8576;break a}f=q[d+60>>2];c=(f+q[d+56>>2]|0)-b|0;q[a+8>>2]=c;e=Vj(1,c);q[a+12>>2]=e;if(!e){e=-10368;break a}b=Gi(e,b,c);q[a>>2]=1;e=b+(c-f|0)|0;q[d+56>>2]=e;q[a+24>>2]=e;f=b+c|0;b=Rj(d+56|0,f,d+60|0,48);if(b){gl(a);e=b-8576|0;break a}c=q[d+56>>2]+q[d+60>>2]|0;q[a+20>>2]=c-q[a+24>>2];b:{e=xN(d+56|0,c,a+28|0);c:{if(e){break c}e=HT(d+56|0,c,a+32|0);if(e){break c}b=a+44|0;e=nx(d+56|0,c,b,d+40|0);if(!e){break b}}gl(a);break a}e=q[a+28>>2];if(e>>>0>=3){gl(a);e=-9600;break a}q[a+28>>2]=e+1;e=FT(b,d+40|0,a+328|0,a+332|0,a+336|0);if(e){gl(a);break a}q[a- -64>>2]=q[d+56>>2];b=Rj(d+56|0,c,d+60|0,48);if(b){gl(a);e=b-8576|0;break a}e=ZC(d+56|0,q[d+56>>2]+q[d+60>>2]|0,a+80|0);if(e){gl(a);break a}q[a+60>>2]=q[d+56>>2]-q[a+64>>2];e=EN(d+56|0,c,a+144|0,a+168|0);if(e){gl(a);break a}q[a+76>>2]=q[d+56>>2];b=Rj(d+56|0,c,d+60|0,48);if(b){gl(a);e=b-8576|0;break a}d:{b=q[d+60>>2];if(!b){break d}e=ZC(d+56|0,b+q[d+56>>2]|0,a+112|0);if(!e){break d}gl(a);break a}b=q[d+56>>2];q[a+200>>2]=b;q[a+72>>2]=b-q[a+76>>2];e=WU(d+56|0,c,a+204|0);if(e){gl(a);break a}q[a+196>>2]=q[d+56>>2]-q[a+200>>2];e:{b=q[a+28>>2];if((b&-2)==2){e=uB(d+56|0,c,a+212|0,1);if(e){break e}b=q[a+28>>2]}f:{if((b&-2)!=2){break f}e=uB(d+56|0,c,a+224|0,2);if(e){gl(a);break a}if(q[a+28>>2]!=3){break f}e=FN(d+56|0,c,a);if(!e){break f}gl(a);break a}g:{if((c|0)!=q[d+56>>2]){break g}e=nx(d+56|0,f,d+8|0,d+24|0);if(e){gl(a);break a}h:{b=q[a+48>>2];i:{if((b|0)!=q[d+12>>2]){break i}if(pj(q[a+52>>2],q[d+16>>2],b)){break i}b=q[d+44>>2];if((b|0)!=q[d+28>>2]){break i}if(!b){break h}if(!pj(q[d+48>>2],q[d+32>>2],b)){break h}}gl(a);e=-9856;break a}e=GT(d+56|0,f,a+316|0);if(e){gl(a);break a}if((f|0)!=q[d+56>>2]){break g}e=0;break a}gl(a);e=-8678;break a}gl(a)}ti=d- -64|0;return e} -function Zfa(a){a=a|0;var b=0,c=0,d=0;b=qi(Ci(68),0,68);q[b+16>>2]=q[a+20>>2];d=MJ(q[a>>2],b,0);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=(q[b+60>>2]+(q[b+44>>2]+(q[a+16>>2]+q[b+8>>2]|0)|0)-(q[b+52>>2]+(q[b>>2]+q[b+36>>2]|0))|0)+68;return d|0}a=q[a>>2];c=q[b+16>>2];if(c){Ui(c)}c=q[b+32>>2];if(c){Di(a,c)}c=q[b+20>>2];if(c){Di(a,c)}c=q[b+28>>2];if(c){Di(a,c)}c=q[b+24>>2];if(c){Di(a,c)}a:{if(o[b+64|0]&1){break a}a=q[b+52>>2];if(!a){break a}ki(a)}b:{if(o[b+48|0]&1){break b}a=q[b+36>>2];if(!a){break b}ki(a)}c:{if(o[b+12|0]&1){break c}a=q[b>>2];if(!a){break c}ki(a)}ki(b);return d|0}function rS(a){var b=0,c=0;a:{if(!a){break a}b=q[a+72>>2];if(!b|!q[a+40>>2]){break a}c=q[a+44>>2];if(!c|(q[a+20>>2]&-2)!=2){break a}q[a+72>>2]=0;ji[c|0](q[a+52>>2],q[b>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[b+16>>2]);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[b+32>>2]);q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;c=q[b+60>>2];if(c){Qj(c);q[b+60>>2]=0}b:{if(q[a+60>>2]!=1510){break b}c=q[b+72>>2];if(!c){break b}ji[q[a+44>>2]](q[a+52>>2],c);q[b+72>>2]=0}ji[q[a+44>>2]](q[a+52>>2],b);q[a+20>>2]=0}}function ZO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;q[d>>2]=0;a:{if(r[a+181|0]!=3){break a}h=b+16384|0;b=6;i=c>>>0>h>>>0;g=q[a+96>>2];f=q[g>>2];if(f){a=g;while(1){b=e;e=b+4|0;j=q[a+4>>2];a=a+4|0;if(j){continue}break}b=b+10|0}if(i|b>>>0>h-c>>>0){break a}a=0;if(f){b=c+6|0;while(1){h=a+b|0;e=f-3|0;b:{if(e>>>0<=5){e=e+1&255;break b}e=0}o[h|0]=e;o[b+(a|1)|0]=3;f=b+(a|2)|0;e=q[g>>2]-3|0;c:{if(e>>>0<=5){e=e+1&255;break c}e=0}o[f|0]=e;o[b+(a|3)|0]=1;a=a+4|0;f=q[g+4>>2];g=g+4|0;if(f){continue}break}}o[c+5|0]=a;o[c|0]=0;o[c+1|0]=13;b=a>>>8|0;o[c+4|0]=b;o[c+3|0]=a|2;o[c+2|0]=b;q[d>>2]=a+6}}function B8(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(f+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}d=f+w(e,576)|0;if(s[d+554>>1]!=(b&65535)){break a}c:{if(!(q[d+464>>2]|q[d+468>>2])){break c}d=q[a+48>>2];a=q[a+52>>2]-d|0;if(!a){break c}f=(f+w(e,576)|0)+472|0;a=(a|0)/72|0;e=a>>>0>1?a:1;a=0;while(1){g=d+w(a,72)|0;if(!((f|0)==q[g+4>>2]?q[g>>2]==(b|0):0)){a=a+1|0;if((e|0)!=(a|0)){continue}break c}break}u[(d+w(a,72)|0)+28>>2]=c}return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function wpa(){var a=0,b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;a=q[72890];q[b+12>>2]=a;qi(q[72891],255,q[72892]<<2);q[72896]=-1;q[72897]=0;c=q[72893];q[72894]=c;a:{if(!a){break a}while(1){if(q[72895]-c>>4==(d|0)){LH(291564,587,d+128|0);a=q[b+12>>2]}e=li(q[a+4>>2]);c=ii;a=q[72892];b:{c:{if(!a){break c}a=q[q[72891]+(lwa(e,c,a)<<2)>>2];if((a|0)==-1){break c}d=q[72893];while(1){a=d+(a<<4)|0;if(q[a>>2]==(e|0)&q[a+4>>2]==(c|0)){break b}a=q[a+12>>2];if((a|0)!=-1){continue}break}}MH(291564,e,c,b+12|0)}a=q[q[b+12>>2]+28>>2];q[b+12>>2]=a;if(!a){break a}c=q[72893];d=q[72897];continue}}fi=b+16|0}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;f=fi-16|0;fi=f;a:{if(o[960116]&1){break a}if(!ui(960116)){break a}if(r[852367]){e=Ri(202541)}else{e=-1}q[240028]=e;ti(960116)}b:{if(o[960124]&1){break b}if(!ui(960124)){break b}if(r[852367]){e=Yi(202552,3)}else{e=0}q[240030]=e;ti(960124)}g=q[240028];c:{if((g|0)!=-1){Qi(f,g,202552,q[240030]);break c}q[f>>2]=0}g=q[a+12>>2];h=q[a+4>>2];if(g>>>0<=h>>>0){e=d;d=h-g|0;c=c>>>0>>0?c:d;q[e>>2]=c;si(b,q[a+16>>2]+q[a+12>>2]|0,c);q[a+12>>2]=c+q[a+12>>2];if(q[f>>2]){Pi(f)}fi=f+16|0;return 0}J(202556,202494,220,202606);G()}function k9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;d=fi-32|0;fi=d;a:{b=Zi(a,1,d+28|0);c=q[b+412>>2];b:{if(c&262144){mi(3,187687,187691,0);break b}if(c&134217728){break b}c=sm(a,2);c:{if(c){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(d,j,q[d+28>>2],4);e=u[c>>2];f=u[d+12>>2];g=u[c+8>>2];h=u[c+4>>2];break c}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+64>>2]=e;u[b+76>>2]=f;u[b+72>>2]=g;u[b+68>>2]=h;q[b+412>>2]=q[b+412>>2]|2097152}fi=d+32|0;return 0}J(187343,187364,162,187386);G()}function sna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;c=q[a+4>>2];f=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[59312],d+12|0)){b=Ci(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=zK(q[a>>2],c,q[d+12>>2],b,q[a+16>>2]);a:{if(!f){c=q[a+32>>2];a=q[c+8>>2];e=q[a+4>>2];g=q[a>>2];q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[b>>2]=g;q[b+4>>2]=e;q[c+12>>2]=b;break a}c=q[a>>2];if(q[b+4>>2]){a=0;while(1){e=q[b>>2]+w(a,80)|0;Di(c,q[e+24>>2]);ro(q[e+72>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}Yo(c,b+8|0);mA(b);ki(b)}Ui(q[d+12>>2])}fi=d+16|0;return f|0}function YL(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;f=f<<2|f>>>4;i=c<<2|c>>>4;c=f-i|0;e=e<<3|e>>>2;j=b<<3|b>>>2;b=e-j|0;g=g<<3|g>>>2;k=d<<3|d>>>2;d=g-k|0;l=(w(c,(i+(f<<1)>>>0)/3|0)+w(b,(j+(e<<1)>>>0)/3|0)|0)+w(d,((g<<1)+k>>>0)/3|0)|0;m=(w(c,(f+(i<<1)>>>0)/3|0)+w(b,(e+(j<<1)>>>0)/3|0)|0)+w(d,(g+(k<<1)>>>0)/3|0)|0;n=l+m|0;g=((w(c,f)+w(b,e)|0)+w(d,g)|0)+l|0;i=((w(c,i)+w(b,j)|0)+w(d,k)|0)+m|0;f=0;while(1){e=(f<<2)+a|0;e=(w(c,r[e+1|0])+w(r[e|0],b)|0)+w(d,r[e+2|0])<<1;o[f+h|0]=r[((((e|0)<=(i|0))+((e|0)<(n|0))|0)+((e|0)<(g|0))|0)+96848|0];f=f+1|0;if((f|0)!=16){continue}break}}function Ula(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ci(32);q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;d=q[a+16>>2];e=q[q[a>>2]+4>>2];d=d>>>0>>0?d:e;vi(d,128,c,b,c+4|0);a:{e=q[b>>2];b=q[c>>2];if(d>>>0<=e-b>>7>>>0){e=d<<7;q[c+4>>2]=e+b;qi(b,0,e);b=q[c+20>>2];if(d>>>0>>0){break a}e=q[c+16>>2];f=xi(d<<2);q[c+16>>2]=f;f=si(f,e,b<<2);q[c+20>>2]=d;if(b>>>0>>0){while(1){q[f+(b<<2)>>2]=b;b=b+1|0;if((d|0)!=(b|0)){continue}break}}ki(e);q[q[a+12>>2]>>2]=c;return 0}J(35587,35485,474,35606);G()}J(35614,35637,112,35575);G()}function iia(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=fi+ -64|0;fi=a;f=q[q[f>>2]+2208>>2];o[a+60|0]=1;q[a+48>>2]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;q[a+28>>2]=0;p[a+58>>1]=c;p[a+56>>1]=b;p[a+54>>1]=c;p[a+52>>1]=b;q[a+36>>2]=0;q[a+40>>2]=0;q[a+16>>2]=1;q[a+20>>2]=e;q[a+8>>2]=2;q[a+12>>2]=1;q[a>>2]=3;q[a+4>>2]=2;p[a+32>>1]=c;p[a+30>>1]=b;e=a;if(d>>>0<=2){g=q[(d<<2)+156216>>2]}else{g=0}q[e+24>>2]=w(g,w(b,c));if(d>>>0>=3){J(41358,39661,1878,41364);G()}q[a>>2]=q[(d<<2)+42452>>2];b=ji[q[74961]](f,a+48|0)|0;ji[q[74963]](b,a);fi=a- -64|0;return b|0}function f2(a){a=a|0;var b=0,c=0,d=0;b=fk(a,1,q[210279]);c=fk(a,2,q[210279]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+16>>2]!=u[c+16>>2])){break a}if(u[b+32>>2]!=u[c+32>>2]|u[b+48>>2]!=u[c+48>>2]|(u[b+4>>2]!=u[c+4>>2]|u[b+20>>2]!=u[c+20>>2])){break a}if(u[b+36>>2]!=u[c+36>>2]|u[b+52>>2]!=u[c+52>>2]|(u[b+8>>2]!=u[c+8>>2]|u[b+24>>2]!=u[c+24>>2])){break a}if(u[b+40>>2]!=u[c+40>>2]|u[b+56>>2]!=u[c+56>>2]|(u[b+12>>2]!=u[c+12>>2]|u[b+28>>2]!=u[c+28>>2])){break a}if(u[b+44>>2]!=u[c+44>>2]){break a}d=u[b+60>>2]==u[c+60>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function Ym(a,b){var c=0,d=0,e=0;e=b+6|0;d=q[a+32>>2];a:{if(b+7>>>0<=268435455){c=dj(a,d,q[a+44>>2]<<4,e<<4);break a}c=Rj(a)}q[a+44>>2]=e;q[a+32>>2]=c;q[a+28>>2]=c+(b<<4);q[a+8>>2]=c+(q[a+8>>2]-d|0);b=q[a+104>>2];b:{if(!b){break b}q[b+8>>2]=c+(q[b+8>>2]-d|0);b=q[b>>2];if(!b){break b}while(1){q[b+8>>2]=q[a+32>>2]+(q[b+8>>2]-d|0);b=q[b>>2];if(b){continue}break}}c=q[a+32>>2];b=q[a+40>>2];e=q[a+20>>2];if(b>>>0<=e>>>0){while(1){q[b+8>>2]=c+(q[b+8>>2]-d|0);q[b>>2]=c+(q[b>>2]-d|0);q[b+4>>2]=c+(q[b+4>>2]-d|0);b=b+24|0;if(e>>>0>=b>>>0){continue}break}}q[a+12>>2]=c+(q[a+12>>2]-d|0)}function Wz(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=fi-32|0;fi=e;d=q[q[a>>2]>>2];if(d){b=d?q[d>>2]:0;g=Ti(e+8|0,b,0,74832,80);if(yq(d)){f=q[a+4>>2];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=f>>>0;q[b+8>>2]=q[b+8>>2]+16;ij(b,0,0);f=q[a+8>>2];c=q[a+4>>2];wi(b,75076);a:{if((c|0)==2){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=f|0;q[b+8>>2]=q[b+8>>2]+16;break a}c=q[b+8>>2];q[c+8>>2]=0;q[b+8>>2]=c+16}qj(b,-3);c=q[a+12>>2];a=q[a+4>>2];wi(b,75082);b:{if((a|0)==2){a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;break b}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16}qj(b,-3);Wl(b,3,0);hs(d)}Si(g)}fi=e+32|0}function Qqa(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=a+28|0;d=a+112|0;if(Dj(g,d)){d=_j(d,g);if(d){break a}d=gk(a+88|0,1);if(d){break a}d=gk(a+100|0,1);if(d){break a}return 0}e=a+88|0;if(!jj(e,1)){f=a+4|0;while(1){d=En(e,Cm(f),b,c);if(d){break a}while(1){if((Dj(e,f)|0)>=0){d=Nk(e,1);if(!d){continue}break a}break}if((h|0)==11){return-14}h=h+1|0;if((jj(e,1)|0)<1){continue}break}b=a+100|0;d=bo(b,e,f);if(d){break a}d=co(b,b,g,f,a+76|0);break a}d=Ak(e,e,e);if(d){break a}b=a+4|0;d=Lk(e,e,b);if(d){break a}a=a+100|0;d=Ak(a,a,a);if(d){break a}d=Lk(a,a,b);if(d){break a}return 0}return d}function NE(a,b,c,d){var e=0,f=0,g=0;e=fi-16448|0;fi=e;q[e+16432>>2]=0;q[e+16424>>2]=0;q[e+16428>>2]=0;q[e+16392>>2]=0;q[e+16396>>2]=0;a:{b:{f=_Y(e+16392|0);g=f+6|0;if(g>>>0<=8){if((g|0)!=6){break a}q[e+16392>>2]=a;q[e+16396>>2]=b;while(1){q[e+16408>>2]=16384;q[e+16404>>2]=e;a=$Y(e+16392|0);if((a|0)==-2){break b}if(!((a|0)!=2?(a|0)>=0:0)){Dx(e+16392|0);f=-3;break a}if(!(ji[d|0](c,e,16384-q[e+16408>>2]|0)|0)){Dx(e+16392|0);f=-1;break a}if(!q[e+16408>>2]){continue}break}f=(a|0)==1?0:-3;Dx(e+16392|0);break a}f=-1e3;break a}J(169726,169748,67,169769);G()}fi=e+16448|0;return f}function GC(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if((ri(a,3)|0)!=5){WA(a,q[65293])}wi(a,124113);Tj(a,3);if(!$j(a,-1)){Mj(a,3,124123)}if(!rE(10,_i(a,-1,0),d+8|0)){Mj(a,3,124157)}wi(a,124188);Tj(a,3);a:{if(!ri(a,-1)){break a}if(Gj(a,-1)){e=wj(a,-1);if(e<4294967296&e>=0){q[d+24>>2]=~~e>>>0;break a}q[d+24>>2]=0;break a}Mj(a,-1,124263)}b:{if((sl(q[b>>2],41,c,d+8|0,20)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=d+32|0;return a}function wy(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{if(!q[a+196>>2]|!(r[a+224|0]&8)){break d}d=q[a+76>>2];e=q[d+28>>2];if((e|0)<1){break d}f=q[a+180>>2];h=(q[a+184>>2]-f|0)/24|0;a=0;while(1){if((a|0)==(h|0)){break c}c=w(a,24)+f|0;b=q[c+16>>2];e:{if((b|0)==-1){break e}c=q[c+20>>2];if(b>>>0>=t[c+12>>2]){break b}b=q[q[c+8>>2]+(b<<2)>>2];if((b|0)==-1){break e}if(b>>>0>=t[d+12>>2]){break a}g=q[(q[d+8>>2]+w(b,92)|0)+28>>2]+g|0}a=a+1|0;if((e|0)!=(a|0)){continue}break}}return g}J(136820,136831,447,136801);G()}J(136761,136773,402,136801);G()}J(136761,136773,450,136801);G()}function ku(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;f=-3;a=MT(q[a>>2],b,c-1|0);a:{b:{if((a|0)<=-26753){if((a|0)==-28672){break a}if((a|0)!=-26880){break b}break a}if((a|0)==-26752|(a|0)==-26624){break a}}f=0;c:{if((a|0)<=0){f=-5;d:{e:{if((a|0)<=-81){if((a|0)==-30848){break a}if((a|0)==-26624){break e}if((a|0)==-26496){break a}break c}switch(a+80|0){case 0:break a;case 4:break d;default:break c}}f=-3;break a}f=-101;break a}o[a+b|0]=0;q[d>>2]=a;break a}q[e+4>>2]=a;q[e>>2]=Eq(a);q[e+8>>2]=(a|0)<0?45:32;b=a;a=a>>31;q[e+12>>2]=b+a^a;mi(3,166926,168387,e);f=-1e3}fi=e+16|0;return f}function Lo(a,b,c){var d=0,e=0,f=x(0);d=fi-16|0;fi=d;e=r[a+60|0]&4;a:{b:{c:{switch(b|0){case 0:f=x(B(u[c>>2],x(0)));if(!e){q[a+16>>2]=0;u[a+20>>2]=f}u[a+24>>2]=f;a=0;break b;case 1:f=x(x(x(B(x(A(u[c>>2],x(1))),x(-1)))+x(1))*x(.5));if(!e){q[a+28>>2]=0;u[a+32>>2]=f}u[a+36>>2]=f;a=0;break b;case 2:u[a+40>>2]=B(x(A(u[c>>2],x(5))),x(0));a=0;break b;default:break c}}e=q[239986];c=q[e+48>>2];a=s[a+58>>1];if(a>>>0>=(q[e+52>>2]-c|0)/24>>>0){break a}a=c+w(a,24)|0;q[d+4>>2]=Ei(q[a>>2],q[a+4>>2]);q[d>>2]=b;mi(4,201088,201564,d);a=-6}fi=d+16|0;return a}J(202193,201978,447,202204);G()}function yF(a){var b=0,c=0,d=0;b=fi-32|0;fi=b;a:{b:{if(a){c=q[a+120>>2];d=q[c+8>>2]-q[c+12>>2]>>4;if((d|0)<=-1){break b}Xi(c,-1e4,q[a+124>>2]);c:{if((ri(c,-1)|0)!=5){oi(c,-3);a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;break c}ak(c,-2);Tj(c,-2);Ok(c,-2)}a=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(d|0)){break a}fi=b+32|0;return}J(110865,110448,951,110926);G()}q[b+12>>2]=d;q[b+4>>2]=954;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=d;q[b+20>>2]=954;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function eC(a){var b=0,c=0,d=0;b=q[a+84>>2];if(b){vt(b)}b=q[a+64>>2];if(b){wt(b)}if(q[a+68>>2]){Tw(a)}d=q[a+84>>2];if(!d){d=Oj(1,212);q[a+84>>2]=d}c=q[a+64>>2];if(!c){c=Oj(1,128);q[a+64>>2]=c}a:{b:{c:{b=q[a+68>>2];if(b){break c}b=Oj(1,2280);q[a+68>>2]=b;if(b){break c}b=0;break b}if(!d){break b}if(c){break a}}ki(b);ki(q[a+84>>2]);ki(q[a+64>>2]);q[a+84>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;return-32512}_v(c);HT(q[a+84>>2]);LP(q[a+68>>2]);b=q[a>>2];if(r[b+184|0]&2){c=q[a+68>>2];q[c+512>>2]=q[a+76>>2];o[c+492|0]=r[b+184|0]<<1&2;b=q[a+92>>2];if(b){ji[b|0](q[a+88>>2],0,0)}}return 0}function c6(a,b,c){var d=0,e=0,f=0;q[a>>2]=0;q[a+4>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+32>>2]=1;q[a+28>>2]=c;q[a+16>>2]=0;q[a+20>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;q[a+44>>2]=0;o[a+24|0]=r[a+24|0]&254;vi(b,4,a,c,a+4|0);a:{d=q[c>>2];c=q[a>>2];if(d-c>>2>>>0>=b>>>0){q[a+4>>2]=c+(b<<2);if(b){qi(c,0,b<<2)}c=s[a+20>>1];d=b&65535;if(c>>>0>d>>>0){break a}f=q[a+16>>2];e=xi(d<<1);q[a+16>>2]=e;e=si(e,f,c<<1);p[a+20>>1]=b;if(c>>>0>>0){while(1){p[e+(c<<1)>>1]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}}ki(f);return a}J(135313,135222,474,135332);G()}J(135340,135363,112,135301);G()}function E2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=fi+ -64|0;fi=d;e=d+16|0;c=a;b=0;a:{if(!c){break a}b=q[c+120>>2]}g=b;h=Ti(e,b,0,112952,99);b=c?q[a+120>>2]:0;c=Ti(d+40|0,b,0,112952,87);wi(b,q[64483]);yF(a);e=Vi(b,-1);oi(b,-2);Si(c);b:{if(!e){break b}b=q[210336];if(!b){break b}c=0;while(1){c:{if(!q[b+28>>2]){break c}f=d+40|0;q[f>>2]=0;q[f+4>>2]=0;i=a?q[a>>2]:0;q[d+44>>2]=g;q[d+40>>2]=i;if(!(q[((c&-4)+e|0)+4>>2]>>>(c&3)&1)){break c}if(!(ji[q[b+28>>2]](f)|0)){break c}q[d>>2]=q[b>>2];mi(4,112981,113023,d)}c=c+1|0;b=q[b+36>>2];if(b){continue}break}}Si(h);fi=d- -64|0}function C2(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-192|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;q[b+188>>2]=0;a:{c=Ni(a,1,b+188|0);e=YG(c,q[b+188>>2],b+168|0);b:{if(!(e|q[b+172>>2]<1)){c=q[a+8>>2]-q[a+12>>2]>>4;if((hu(a,b+168|0,0,b+32|0,128)|0)<=-1){oi(a,c+(q[a+8>>2]-q[a+12>>2]>>4^-1)|0);Eu(b+168|0);q[b>>2]=b+32;c=ni(a,115006,b);break b}Eu(b+168|0);c=1;if((d+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(115009,115034,224,115057);G()}Eu(b+168|0);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){break a}q[b+20>>2]=e;q[b+16>>2]=c;c=ni(a,115090,b+16|0)}fi=b+192|0;return c|0}J(115069,115034,229,115057);G()}function y6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=(c|0)/240|0;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-240){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if((q[a+8>>2]-f|0)/240>>>0>>0){break a}q[a+4>>2]=w(b,240)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(43678,43572,447,43689);G()}J(43651,43572,474,43670);G()}function mla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=q[q[a+24>>2]>>2];d=q[a+16>>2];f=q[a+20>>2];if((d|0)==q[73418]&(f|0)==q[73419]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[e+16>>2];if(!a){a=q[q[e+4>>2]+80>>2]}return gm(d,a,b)|0}a:{if((d|0)==q[73414]&(f|0)==q[73415]){c=-12;if(!(o[a+40|0]&1)){break a}o[b+77|0]=r[b+77|0]|1;return gm(q[q[q[a+8>>2]+80>>2]>>2],Kba(q[e+8>>2],q[a+32>>2],q[a+36>>2]),b)|0}c=-1;if(q[73436]!=(d|0)|q[73437]!=(f|0)){break a}c=-12;if(!(o[a+40|0]&1)){break a}o[b+77|0]=r[b+77|0]|1;c=gm(q[q[q[a+8>>2]+80>>2]>>2],pba(q[e+8>>2],q[a+32>>2],q[a+36>>2]),b)}return c|0}function m6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=(c|0)/240|0;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-240){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if((q[a+8>>2]-f|0)/240>>>0>>0){break a}q[a+4>>2]=w(b,240)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(52519,51871,447,51574);G()}J(52492,51871,474,52511);G()}function eS(a,b){var c=0,d=0,e=0;c=q[a+52>>2];d=wx(c);q[b>>2]=d;e=q[a+48>>2];q[b+16>>2]=c;q[b+12>>2]=a;q[b+8>>2]=e;q[a+48>>2]=b;q[b+28>>2]=-1;q[b+32>>2]=-1;q[b+20>>2]=0;q[b+24>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;a=q[a+64>>2];o[d+75|0]=2;q[d+32>>2]=a;a=Ho(c,0,0);q[b+4>>2]=a;b=q[c+8>>2];q[b+8>>2]=5;q[b>>2]=a;b=q[c+8>>2];if((q[c+28>>2]-b|0)<=16){pk(c,1);b=q[c+8>>2]}q[c+8>>2]=b+16;q[b+24>>2]=9;q[b+16>>2]=d;b=c;a=q[b+8>>2];if((q[b+28>>2]-a|0)<=16){pk(c,1);a=q[c+8>>2]}q[b+8>>2]=a+16}function tI(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;l=fi-32|0;fi=l;j=l+16|0;q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[j+12>>2]=0;if(qba(b,e,c,d,f,g,h,i,j)){q[l>>2]=Ei(c,d);ni(a,191787,l)}ij(a,0,4);Bi(a,191926,5);k=+u[j>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,191932,6);k=+u[j+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,191939,10);k=+u[j+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);Bi(a,191950,11);k=+u[j+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);fi=l+32|0}function vqa(a){var b=0,c=0,d=0,e=0;e=q[a+28>>2];tj(e);a:{c=q[a+12>>2];b=q[a+8>>2];d=c-b|0;if(!d){break a}if((b|0)!=(c|0)){d=d>>6;c=0;while(1){b=(c<<6)+b|0;if(q[b+48>>2]==1){ps(q[b+40>>2]);rm(q[b+44>>2]);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+44>>2]=-1;q[b+48>>2]=0}c=c+1|0;if((d|0)==(c|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}}J(153026,152878,447,153037);G()}o[a+32|0]=r[a+32|0]|1;lj(e)}function Gja(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];d=q[b+56>>2];c=q[b+52>>2];if((d|0)!=(c|0)){a=0;while(1){e=q[(a<<2)+c>>2];if(e){ki(e);c=q[b+52>>2];d=q[b+56>>2]}a=a+1|0;if(a>>>0>2>>>0){continue}break}}ji[q[74913]](q[b+72>>2]);ji[q[74896]](q[b+76>>2]);ki(q[b+80>>2]);ji[q[74903]](q[b+88>>2]);ki(q[b+92>>2]);a:{if(o[b+64|0]&1){break a}a=q[b+52>>2];if(!a){break a}ki(a)}b:{if(o[b+48|0]&1){break b}a=q[b+36>>2];if(!a){break b}ki(a)}c:{if(o[b+28|0]&1){break c}a=q[b+16>>2];if(!a){break c}ki(a)}d:{if(o[b+12|0]&1){break d}a=q[b>>2];if(!a){break d}ki(a)}ki(b);return 0}function F3(a,b,c,d,e){var f=0,g=0;f=fi+ -64|0;fi=f;q[239975]=0;q[f+60>>2]=-1;g=K3(a,c,f+60|0);a:{if(g){q[f+48>>2]=g;mi(4,28184,28687,f+48|0);break a}q[f+56>>2]=0;G3(f+56|0,a);g=a;a=q[f+56>>2];g=z3(g,a,c,d,q[f+60>>2],e);if(g){if(a){ki(a)}q[f+32>>2]=g;mi(4,28184,28793,f+32|0);break a}c=sk(b,28832);if(!c){q[f>>2]=b;mi(4,28184,28835,f);g=-2;break a}d=q[a+16>>2];d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=(d<<6|48)+(d<<4)|0;if((Al(a,1,d,c)|0)!=(d|0)){Qj(c);q[f+20>>2]=b;q[f+16>>2]=d;mi(4,28184,28878,f+16|0);g=-2;break a}nn(c);Qj(c);q[239975]=a;g=0}fi=f- -64|0;return g}function oua(a){var b=0,c=0,d=0,e=0,f=0,g=0;xwa(+a);b=uwa(1)|0;f=uwa(0)|0;d=b;a:{b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){break a}return 0/(a-a)}b:{if(b>>>0<=1071644671){e=1.5707963267948966;if(b>>>0<1012924417){break b}return 6.123233995736766e-17-ft(a*a)*a-a+1.5707963267948966}if((d|0)<-1?1:(d|0)<=-1){a=(a+1)*.5;c=F(a);a=1.5707963267948966-(c+(c*ft(a)+ -6.123233995736766e-17));return a+a}a=(1-a)*.5;c=F(a);g=c*ft(a);e=a;xwa(+c);d=uwa(1)|0;uwa(0)|0;vwa(0,0);vwa(1,d|0);a=+wwa();a=g+(e-a*a)/(c+a)+a;e=a+a}return e}return(d|0)>-1?0:3.141592653589793}function u1(a){var b=0,c=0,d=0;b=fi-32|0;fi=b;a:{b:{c:{if(a){c=q[a+120>>2];d=q[c+8>>2]-q[c+12>>2]>>4;if((d|0)<=1){break c}Xi(c,-1e4,q[a+124>>2]);if((ri(c,-1)|0)!=5){break b}ak(c,-3);Wi(c,-3);oi(c,-2);a=d-2|0;c=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(c|0)){break a}fi=b+32|0;return}J(110865,110448,926,110880);G()}q[b+12>>2]=d;q[b+4>>2]=929;q[b+8>>2]=-2;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}J(110896,110448,936,110880);G()}q[b+28>>2]=c;q[b+24>>2]=a;q[b+20>>2]=929;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function o_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-32|0;fi=e;h=a+4|0;i=q[a+88>>2]+7>>>3|0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{b:{while(1){f=En(e+16|0,i,c,d);if(f){break b}while(1){if((Dj(e+16|0,h)|0)>=0){f=Nk(e+16|0,1);if(!f){continue}break b}break}if((g|0)==11){f=-19712;break a}g=g+1|0;if((jj(e+16|0,1)|0)<1){continue}break}c=b+24|0;f=Jj(a,c,c,e+16|0);if(f){break b}f=Jj(a,e,e+16|0,e+16|0);if(f){break b}f=Jj(a,b,b,e);if(f){break b}f=Jj(a,e,e,e+16|0);if(f){break b}c=a;a=b+12|0;f=Jj(c,a,a,e)}Ji(e+16|0);Ji(e)}fi=e+32|0;return f}function iV(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-176|0;fi=c;d=-20352;e=q[a>>2];a:{if(!e|(e|0)!=q[b>>2]){break a}e=b+136|0;if(Dj(a+136|0,e)){break a}f=b+148|0;if(Dj(a+148|0,f)){break a}g=a+160|0;a=b+160|0;if(Dj(g,a)){break a}q[c+144>>2]=0;q[c+136>>2]=1;q[c+140>>2]=0;q[c+156>>2]=0;q[c+148>>2]=1;q[c+152>>2]=0;q[c+168>>2]=0;q[c+160>>2]=1;q[c+164>>2]=0;Or(c+8|0);oD(c+8|0,b);d=Nr(c+8|0,c+136|0,b+124|0,b+40|0,0,0);b:{if(d){break b}c:{if(Dj(c+136|0,e)){break c}if(Dj(c+148|0,f)){break c}if(Dj(c+160|0,a)){break c}d=0;break b}d=-20352}Rl(c+136|0);Gn(c+8|0)}fi=c+176|0;return d}function Oq(a,b){var c=0,d=0,e=0;a:{c=s[b+556>>1];if((c|0)!=65535){e=q[a+32>>2];if(c>>>0>=(q[a+36>>2]-e|0)/576>>>0){break a}p[(e+w(c,576)|0)+558>>1]=s[b+558>>1]}e=s[b+558>>1];if((e|0)!=65535){d=q[a+32>>2];if(e>>>0>=(q[a+36>>2]-d|0)/576>>>0){break a}p[(d+w(e,576)|0)+556>>1]=c}c=s[b+560>>1];b:{if((c|0)!=65535){d=q[a+36>>2];a=q[a+32>>2];if(c>>>0>=(d-a|0)/576>>>0){break a}a=a+w(c,576)|0;c=a+564|0;a=a+562|0;break b}c=a+350|0;a=a+348|0}d=s[b+554>>1];if((d|0)==s[a>>1]){p[a>>1]=e;d=s[b+554>>1]}if((d|0)==s[c>>1]){p[c>>1]=s[b+556>>1]}return}J(186773,186599,447,186784);G()}function Iba(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a+36>>2];a=q[a+32>>2];e=(c-a|0)/576|0;c=b&65535;if(e>>>0>c>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}c=a+w(c,576)|0;if(s[c+554>>1]!=(b&65535)){break b}b=s[c+558>>1];if((b|0)!=65535){while(1){c=b&65535;if(c>>>0>=e>>>0){break a}d=a+w(c,576)|0;b=s[d+558>>1];d:{if(o[d+572|0]&1){break d}d=s[d+554>>1];if((d|0)==65535){break d}return d|s[(a+w(c,576)|0)+552>>1]<<16}if((b&65535)!=65535){continue}break}}return 0}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function Fm(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-48|0;fi=c;Ki(a);d=yi(a,-1,q[72645],18648);oi(a,-2);e=q[d+4>>2];a:{if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}if(!ri(a,b)){break a}q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;ok(a,b,c+16|0,0);d=q[q[q[d+4>>2]+80>>2]+8>>2];b:{if(!d){break b}d=q[d>>2];if(!d){break b}f=q[d+4224>>2];g=q[d+4228>>2]}if((f|0)!=q[c+16>>2]|(g|0)!=q[c+20>>2]){ni(a,14605,0)}e=un(q[q[e+80>>2]+8>>2],q[c+32>>2],q[c+36>>2]);if(e){break a}e=0;q[c>>2]=_i(a,b,0);ni(a,14675,c)}fi=c+48|0;return e}function l2(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0),h=0,i=0,j=0,k=0;d=fi-16|0;fi=d;h=Ai(a,1);i=Ai(a,2);j=Ai(a,3);k=Ai(a,4);e=x(j);if(e==x(0)){Ur(a,1);q[d>>2]=_i(a,-1,0);mi(3,122507,122514,d)}c=KB(x(x(x(h)*x(-.5))+x(1.5707963705062866)));b=bj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;u[b>>2]=c/x(i);q[b+24>>2]=0;q[b+28>>2]=0;u[b+20>>2]=c;q[b+60>>2]=0;c=x(k);f=x(x(1)/x(e-c));g=x(x(e*c)*f);u[b+56>>2]=g+g;q[b+52>>2]=0;q[b+44>>2]=-1082130432;q[b+48>>2]=0;u[b+40>>2]=x(e+c)*f;q[b+12>>2]=0;q[b+16>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;zi(a,-1e4,120704);aj(a,-2);fi=d+16|0;return 1}function cX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=fi+ -64|0;fi=e;a:{b:{c:{f=r[d|0];switch(f-61|0){case 1:case 2:break a;case 0:case 3:break b;default:break c}}if((f|0)!=27){break a}d=128266;break a}d=d+1|0}q[e+32>>2]=c;q[e+28>>2]=b;q[e+24>>2]=a;q[e+36>>2]=d;q[e+56>>2]=67174481;q[e+60>>2]=525316;q[e+52>>2]=1635077147;if(Gk(b,e+40|0,12)){q[e+16>>2]=d;q[e+20>>2]=128294;Oi(a,128309,e+16|0);oj(q[e+24>>2],3)}if(ej(e+52|0,e+40|0,12)){q[e>>2]=q[e+36>>2];q[e+4>>2]=128283;Oi(q[e+24>>2],128309,e);oj(q[e+24>>2],3)}a=GM(e+24|0,Bj(a,128280,2));fi=e- -64|0;return a|0}function ZY(a){var b=0,c=0,d=0;d=-2;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}c=q[b+52>>2];b:{if(!(q[b+36>>2]!=15?c:0)){q[b+36>>2]=15;q[b+8>>2]=3;break b}ji[q[a+36>>2]](q[a+40>>2],c);q[b+52>>2]=0;c=q[a+28>>2];q[b+36>>2]=15;q[b+8>>2]=3;b=c;if(!b){break a}}d=0;q[b+48>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+28>>2]=0;q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;c=q[b+8>>2];if(c){q[a+48>>2]=c&1}q[b+56>>2]=0;q[b+60>>2]=0;q[b+32>>2]=0;q[b+20>>2]=32768;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+7104>>2]=1;q[b+7108>>2]=-1;a=b+1328|0;q[b+108>>2]=a;q[b+80>>2]=a;q[b+76>>2]=a}return d}function BE(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-32|0;fi=d;a:{b:{f=(q[a+8>>2]-q[a+12>>2]>>4)-1|0;if(f){g=1;while(1){c:{if((ri(a,c)|0)==3){e=0;if(!g){break c}v[d+16>>3]=wj(a,c);e=(Eua(b,d+16|0)|0)>0;break c}h=Ni(a,c,d+28|0);e=0;if(!g){break c}e=(Al(h,1,q[d+28>>2],b)|0)==q[d+28>>2]}g=e;c=c+1|0;f=f-1|0;if(f){continue}break}if(!g){break b}}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=Uk(b);nj(a,131085,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}fi=d+32|0;return a}function hW(a){a=a|0;var b=0,c=0,d=0,e=0;b=jwa(q[240824],q[240825],1284865837,1481765933)+1|0;c=ii;c=b>>>0<1?c+1|0:c;q[240824]=b;q[240825]=c;d=+((c>>>1>>>0)%2147483647|0)/2147483647;a:{b:{switch(q[a+8>>2]-q[a+12>>2]>>4){case 0:b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;break a;case 1:b=gj(a,1);if((b|0)<=0){Mj(a,1,132417)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=C(d*+(b|0))+1;break a;case 2:b=gj(a,1);c=gj(a,2);if((b|0)>(c|0)){Mj(a,2,132417)}e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=C(d*+((c-b|0)+1|0))+ +(b|0);break a;default:break b}}return ni(a,132435,0)|0}q[a+8>>2]=q[a+8>>2]+16;return 1}function d7(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=fi;l=g;f=q[q[239951]+7412>>2];d=RG(f,a,b,0,0);if(d){e=d<<2;i=xi(e);q[c>>2]=xi(e);j=RG(f,a,b,i,d);b=g;g=q[q[f+8>>2]+8>>2];a=(q[(g<<2)+24480>>2]>>>3<<1)+1|0;k=a<<2;b=b-(k+15&-16)|0;fi=b;f=0;a:{if(!j){e=0;break a}e=0;while(1){qu(q[(f<<2)+i>>2],q[(g<<2)+24480>>2]>>>3|0,b,a);b:{if(e){h=q[c>>2];d=0;while(1){if(!ej(q[h+(d<<2)>>2],b,a)){break b}d=d+1|0;if((d|0)!=(e|0)){continue}break}}d=xi(k);h=e<<2;q[h+q[c>>2]>>2]=d;si(q[h+q[c>>2]>>2],b,a);e=e+1|0}f=f+1|0;if((j|0)!=(f|0)){continue}break}}ki(i)}fi=l;return e}function Gl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=10;a:{b:{if(q[b+4>>2]){c=q[a+20>>2];if(c>>>0<16){break b}e=q[a+16>>2];break a}J(95587,95479,445,95610);G()}f=q[a+4>>2];h=q[a+12>>2];while(1){e=0;if(f>>>0>>0){g=f+1|0;q[a+4>>2]=g;e=r[f|0];f=g}g=c+8|0;q[a+20>>2]=g;e=q[a+16>>2]|e<>2]=e;i=c>>>0<8;c=g;if(i){continue}break}}c=q[osa(b+12|0,e&1023)>>2];c:{if((c|0)<=-1){b=b+24|0;while(1){f=q[a+16>>2]>>>d|0;d=d+1|0;c=p[lsa(b,(f&1)+(c^-1)|0)>>1];if((c|0)<0){continue}break}break c}d=c>>>16|0;c=c&65535}q[a+16>>2]=q[a+16>>2]>>>d;q[a+20>>2]=q[a+20>>2]-d;return c}function ZT(a,b,c,d,e,f){var g=0,h=0;g=fi-16|0;fi=g;h=c;c=f-3|0;a:{if(c>>>0<=5){c=q[(c<<2)+267260>>2];break a}c=0}f=c;if(f){f=q[f+8>>2]}else{f=0}q[h>>2]=f&255;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;b:{c:{d:{f=jn(g,c,0);e:{if(f){break e}c=-20736;f:{if(!g){break f}f=q[g>>2];if(!f){break f}c=ji[q[f+16>>2]](q[g+4>>2])|0}f=c;if(f){break e}f=Fn(g,q[a+68>>2]+1128|0,64);if(f){break e}f=Fn(g,d,e);if(!f){break d}}$l(g);break c}c=-20736;g:{if(!g){break g}d=q[g>>2];if(!d){break g}c=ji[q[d+24>>2]](q[g+4>>2],b)|0}$l(g);f=c;if(f){break c}f=0;break b}Aj(a,2,80)}fi=g+16|0;return f}function oB(a,b,c,d,e,f,g){var h=0,i=0;a:{if(!b){g=0;f=0;break a}i=(f-g|0)+1|0;g=0;if(!e){f=0;while(1){b:{if(qB(a,b,0)){break b}e=q[b+288>>2];if(e>>>0>>0?(e|0)>=1:0){break b}e=!pB(a,b);c:{if(Nw(b+168|0)){break c}if(Ow(b+144|0)){break c}g=e;f=b;break a}g=f?g:e;f=f?f:b}b=q[b+340>>2];if(b){continue}break}break a}f=0;while(1){d:{if(qB(a,b,e)){break d}h=q[b+288>>2];if(h>>>0>>0?(h|0)>=1:0){break d}h=pB(a,b);if(h){break d}e:{if(Nw(b+168|0)){break e}if(Ow(b+144|0)){break e}g=1;f=b;break a}g=f?g:!h;f=f?f:b}b=q[b+340>>2];if(b){continue}break}}q[c>>2]=f;q[d>>2]=g}function mZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-288|0;fi=b;f=_i(a,-10003,b+12|0);g=_i(a,-10004,0);q[b+16>>2]=f;q[b+24>>2]=a;c=q[b+12>>2];q[b+20>>2]=c+f;e=c;c=am(a,-10005);a:{if((e|0)<(c|0)){break a}c=c+f|0;while(1){q[b+28>>2]=0;e=kn(b+16|0,c,g);if(e){d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=(e-f|0)+((c|0)==(e|0))|0;q[a+8>>2]=q[a+8>>2]+16;pq(a,-10005);a=q[b+28>>2];d=c?a?a:1:a;Fo(q[b+24>>2],d,131851);if((d|0)<1){break a}a=0;while(1){tr(b+16|0,a,c,e);a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}c=c+1|0;if(c>>>0<=t[b+20>>2]){continue}break}}fi=b+288|0;return d|0}function j6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(136820,136831,447,136801);G()}J(136997,136831,474,137016);G()}function CP(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;b=q[a>>2];c=q[a+120>>2]+(r[b+184|0]&2?12:4)|0;Sw(d+12|0,d+8|0,q[b+184>>2]>>>1&1,c);a:{b:{b=q[d+12>>2];c:{if((b|0)<3){break c}e=q[d+8>>2];if((e|0)<2){break c}f=q[a>>2];if((b|0)>r[f+180|0]){break c}if((e|0)<=r[f+181|0]){break b}}Aj(a,2,70);g=-28288;break a}b=r[c+2|0];f=c+3|0;if((b|0)>((q[a+120>>2]+q[a+132>>2]|0)-f|0)){Aj(a,2,50);g=-31104;break a}ki(q[q[a+68>>2]+480>>2]);e=Oj(1,b);c=q[a+68>>2];q[c+480>>2]=e;g=-32512;if(!e){break a}si(e,f,b);o[c+484|0]=b;q[a+4>>2]=1;KT(a);Rw(a);g=0}c=g;fi=d+16|0;return c}function mO(a){var b=0,c=0,d=0,e=0,f=0;d=208927;f=fi-32|0;b=f;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;c=r[208927];if(!c){return 0}b=r[208928];if(!b){b=a;while(1){d=b;b=b+1|0;if((c|0)==r[d|0]){continue}break}return d-a|0}e=(c>>>3&28)+f|0;q[e>>2]=q[e>>2]|1<>>3|0;b=r[d+2|0];e=(e&28)+f|0;q[e>>2]=q[e>>2]|1<>>3&28)+f>>2]>>>b&1)){c=d;break a}b=r[d+1|0];c=d+1|0;d=c;if(b){continue}break}}return c-a|0}function Yz(a,b){var c=0;c=q[b+12>>2];if(c){ji[q[74896]](c);q[b+12>>2]=0}c=q[b+16>>2];if(c){ji[q[74896]](c);q[b+124>>2]=0;q[b+16>>2]=0}c=q[b>>2];if(c){Ui(c)}q[b>>2]=0;c=q[b+4>>2];if(c){Di(a,c)}q[b+4>>2]=0;c=q[b+8>>2];if(c){Di(a,c)}q[b+8>>2]=0;c=q[b+20>>2];if(c){Di(a,c)}q[b+20>>2]=0;c=q[b+24>>2];if(c){Di(a,c)}q[b+24>>2]=0;c=q[b+28>>2];if(c){Di(a,c)}q[b+28>>2]=0;c=q[b+32>>2];if(c){Di(a,c)}q[b+32>>2]=0;c=q[b+36>>2];if(c){Di(a,c)}q[b+36>>2]=0;c=q[b+40>>2];if(c){Di(a,c)}q[b+40>>2]=0;c=q[b+44>>2];if(c){Di(a,c)}q[b+44>>2]=0;c=q[b+48>>2];if(c){Di(a,c)}q[b+48>>2]=0}function Sua(a){a=a|0;a:{if(o[852284]&1){break a}a=q[213068];if(!a){break a}ki(a)}b:{if(o[852268]&1){break b}a=q[213064];if(!a){break b}ki(a)}c:{if(o[852252]&1){break c}a=q[213060];if(!a){break c}ki(a)}d:{if(o[852228]&1){break d}a=q[213054];if(!a){break d}ki(a)}e:{if(o[852212]&1){break e}a=q[213050];if(!a){break e}ki(a)}f:{if(o[852196]&1){break f}a=q[213046];if(!a){break f}ki(a)}g:{if(o[852172]&1){break g}a=q[213040];if(!a){break g}ki(a)}h:{if(o[852156]&1){break h}a=q[213036];if(!a){break h}ki(a)}i:{if(o[852140]&1){break i}a=q[213032];if(!a){break i}ki(a)}}function mF(a,b){var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){b=Mp(b,Fi(b));Hi(a,-1);e=q[79153];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Wi(a,-3);oi(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}fi=c+32|0;return b}q[c+12>>2]=d;q[c+4>>2]=677;q[c+8>>2]=0;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=677;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function hP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+204>>2];q[c>>2]=0;e=q[q[a>>2]+144>>2];a:{if(!e){break a}d=d+16384|0;h=d>>>0>>0;i=d-b|0;d=q[e>>2];g=6;b:{if(!d){break b}while(1){f=((Fi(d)&255)+f|0)+1|0;d=q[e+4>>2];e=e+4|0;if(d){continue}break}g=f+6|0}if(h|i>>>0>>0){break a}o[b|0]=0;o[b+1|0]=16;e=b+6|0;d=q[q[a>>2]+144>>2];f=q[d>>2];if(f){while(1){a=Fi(f);o[e|0]=a;a=a&255;si(e+1|0,q[d>>2],a);e=(a+e|0)+1|0;f=q[d+4>>2];d=d+4|0;if(f){continue}break}}a=e-b|0;q[c>>2]=a;o[b+4|0]=a+65530>>>8;o[b+5|0]=r[c|0]-6;o[b+2|0]=q[c>>2]+65532>>>8;o[b+3|0]=r[c|0]-4}}function em(a,b){var c=0,d=0,e=0;c=fi-32|0;fi=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){Hi(a,b);b=0;b:{if((ri(a,-1)|0)!=7){break b}if(!Sl(a,-1)){break b}b=q[79153];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;gl(a,-2);b=am(a,-1);oi(a,-3)}oi(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}fi=c+32|0;return b}q[c+12>>2]=d;q[c+4>>2]=723;q[c+8>>2]=0;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=723;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function Zn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=fi-16|0;fi=f;xwa(+b);h=uwa(1)|0;e=uwa(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=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){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?z(e)+32|0:z(c);Zl(f,d,g,0,0,c+49|0);j=q[f>>2];i=q[f+4>>2];e=15372-c<<16;c=q[f+8>>2];d=e|q[f+12>>2]^65536}q[a>>2]=j;q[a+4>>2]=i;q[a+8>>2]=c;q[a+12>>2]=h&-2147483648|d;fi=f+16|0}function xF(a){var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){e=q[79152];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);b:{switch(ri(a,-1)-2|0){case 0:case 5:f=Vi(a,-1);break;default:break b}}oi(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}fi=b+32|0;return f}q[b+12>>2]=c;q[b+4>>2]=1019;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1019;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function Ffa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=q[a+28>>2];q[c+12>>2]=d;a:{if(!d){d=-13;if(rj(q[a+20>>2],q[a+24>>2],q[63396],c+12|0)){break a}d=q[c+12>>2]}f=q[a+4>>2];b=q[q[a+32>>2]+8>>2];q[c+8>>2]=b;e=Ci(264);qi(e+4|0,0,260);q[e>>2]=d;if(ji[q[74974]](b)&1){while(1){gn(250);if(ji[q[74974]](b)&1){continue}break}}d=UJ(q[a+16>>2],f,e,b,c+8|0);b=q[c+8>>2];if(ji[q[74974]](b)&1){while(1){gn(250);if(ji[q[74974]](b)&1){continue}break}}wJ(e);if(!q[a+28>>2]){Ui(q[c+12>>2])}if(d){break a}b=ji[q[74966]](b)|0;q[q[a+32>>2]+16>>2]=b}fi=c+16|0;return d|0}function p6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>4;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-16){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>4>>>0>>0){break a}q[a+4>>2]=(b<<4)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(50690,50340,447,50701);G()}J(50431,50340,474,50450);G()}function kea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;Hk(a,1,q[q[Kj(a)+80>>2]+8>>2],73798,b+28|0,0,0);bA(q[b+28>>2],b+24|0,b+20|0,b+16|0,b+12|0);d=q[b+24>>2]+1|0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+20>>2]+1|0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+4|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(74604,73926,442,74629);G()}fi=b+32|0;return 4}function TN(a,b,c){var d=0,e=0,f=0;a:{d=q[a+28>>2];e=q[d+52>>2];b:{if(!e){f=1;e=ji[q[a+32>>2]](q[a+40>>2],1<>2],1)|0;q[d+52>>2]=e;if(!e){break b}}a=q[d+40>>2];if(!a){q[d+44>>2]=0;q[d+48>>2]=0;a=1<>2];q[d+40>>2]=a}if(a>>>0<=c>>>0){si(e,b-a|0,a);q[d+48>>2]=0;break a}f=q[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;si(e+f|0,b-c|0,a);c=c-a|0;if(c){si(q[d+52>>2],b-c|0,c);q[d+48>>2]=c;break a}f=0;b=a+q[d+48>>2]|0;c=b;b=q[d+40>>2];q[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=q[d+44>>2];if(c>>>0<=b>>>0){break b}q[d+44>>2]=a+b}return f}q[d+44>>2]=q[d+40>>2];return 0}function v6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(45837,45268,447,45848);G()}J(45416,45268,474,45435);G()}function s6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+32>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+32>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+40>>2];a=q[a+36>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(47308,47134,447,47319);G()}J(47115,47134,474,47213);G()}function bqa(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fi-32|0;fi=e;if(d>>>0<17){qi((e+16|0)+d|0,0,16-d|0);si(e+16|0,c,d);c=b>>>3|0;if(c){k=b&-8;i=c;while(1){g=(f<<3)+a|0;d=q[g>>2];c=q[g+4>>2];q[g>>2]=aL(j,h,e+16|0)^d;q[g+4>>2]=ii^c;f=f+1|0;c=j+1|0;h=c>>>0<1?h+1|0:h;j=c;if((i|0)!=(c|0)|h){continue}break}a=a+k|0}c=aL(i,0,e+16|0);q[e+8>>2]=c;q[e+12>>2]=ii;d=b&7;a:{if(!d){break a}o[a|0]=c^r[a|0];f=1;if((d|0)==1){break a}while(1){b=a+f|0;o[b|0]=r[b|0]^r[(e+8|0)+f|0];f=f+1|0;if((d|0)!=(f|0)){continue}break}}fi=e+32|0;return}J(149995,150008,59,150030);G()}function DH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,136)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,136)+f|0)+128>>2];if((e|0)==-1){J(152536,152016,363,152506);G()}h=d;d=w(e,136)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,136)+f|0)+128>>2];b:{if(!h){q[g>>2]=b;break b}q[h+128>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,136)+f|0)+128>>2]=b;return}J(152485,152016,331,152506);G()}J(152512,152016,337,152506);G()}function Dj(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];while(1){d=c;if(c){c=d-1|0;if(!q[q[a+8>>2]+(c<<2)>>2]){continue}}break}e=q[b+4>>2];while(1){c=e;if(c){e=c-1|0;if(!q[q[b+8>>2]+(e<<2)>>2]){continue}}break}if(!(c|d)){return 0}if(c>>>0>>0){return q[a>>2]}if(c>>>0>d>>>0){return 0-q[b>>2]|0}c=1;f=q[b>>2];e=q[a>>2];a:{b:{if((e|0)>=1){if((f|0)>=0){break b}break a}if(!e){break b}c=-1;if((f|0)>0){break a}}while(1){if(!d){return 0}d=d-1|0;c=d<<2;f=q[c+q[a+8>>2]>>2];c=q[c+q[b+8>>2]>>2];if(f>>>0>c>>>0){return e}if(c>>>0<=f>>>0){continue}break}c=0-e|0}return c}function Wha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0);b=fi-80|0;fi=b;e=1;f=Ti(b+24|0,a,1,67527,931);c=Pj(a,2);g=ii;d=q[q[Kj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;h=b- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;Hk(a,1,d,67321,b+20|0,b+48|0,b+16|0);q[b+48>>2]=0;d=sJ(q[b+16>>2],q[b+20>>2],c,g);a:{if(d){q[b>>2]=Ei(c,g);q[b+8>>2]=d;q[b+4>>2]=q[(d<<2)+242016>>2];e=uj(f,69555,b);break a}i=u[b+48>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=i;q[a+8>>2]=q[a+8>>2]+16}Si(f);fi=b+80|0;return e|0}function K1(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=0,j=x(0);b=fi-96|0;fi=b;q[b+92>>2]=0;i=Ni(a,1,b+92|0);c=yi(a,2,q[210278],0);e=u[c>>2];f=u[c+4>>2];a:{b:{if(e!=e|f!=f){break b}d=u[c+8>>2];if(d!=d){break b}d=u[c+12>>2];if(d==d){break a}}d=u[c+8>>2];j=u[c+12>>2];v[b- -64>>3]=f;v[b+80>>3]=j;v[b+72>>3]=d;v[b+56>>3]=e;q[b+48>>2]=2;ni(a,120971,b+48|0)}g=q[b+92>>2]+95|0;h=Ci((g|0)>-1?g:-1);e=u[c>>2];f=u[c+4>>2];d=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=d;v[b+16>>3]=f;q[b>>2]=i;v[b+8>>3]=e;cj(h,g,121590,b);wi(a,h);ki(h);fi=b+96|0;return 1}function _0(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=Ti(b+48|0,a,0,116900,1088);q[b+40>>2]=gj(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!Nm(117866,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[65238];if(Zj(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Si(d);fi=b+80|0;return 0}J(117826,116900,961,117874);G()}J(117887,116900,962,117874);G()}J(117826,116900,1097,117978);G()}function N6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-80|0;fi=b;e=Ti(b+56|0,a,0,71745,84);f=e7();a:{if(!f){a=uj(e,71799,0);break a}q[b+52>>2]=0;c=Ni(a,2,b+52|0);q[b+48>>2]=0;d=Ni(a,3,b+48|0);Hi(a,2);g=ck(a,-1e4);Hi(a,3);h=ck(a,-1e4);q[b+40>>2]=c;q[b+32>>2]=c+16;c=q[b+52>>2];q[b+36>>2]=c-16;if(c>>>0<=15){q[b+16>>2]=d;q[b+40>>2]=0;mi(4,71838,71846,b+16|0)}c=Ci(16);a=Rn(a,4);q[c+12>>2]=d;q[c>>2]=a;q[c+8>>2]=h;q[c+4>>2]=g;a=K6(f,d,q[b+48>>2],b+32|0,c);if(a>>>0>=4294967293){q[b>>2]=d;mi(4,71838,q[(a<<2)+242164>>2],b)}a=0}Si(e);fi=b+80|0;return a|0}function $0(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=Ti(b+48|0,a,0,116900,1121);q[b+40>>2]=gj(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!Nm(117866,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[65254];if(Zj(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Si(d);fi=b+80|0;return 0}J(117826,116900,961,117874);G()}J(117887,116900,962,117874);G()}J(117826,116900,1130,117955);G()}function sn(a){var b=0,c=0,d=0,e=0;if((qs(a,0,0,1e6)|0)==-17){while(1){mi(3,29203,29268,0);if((qs(a,0,0,1e6)|0)==-17){continue}break}}a:{b=q[a+173524>>2];if((b|0)!=q[a+173528>>2]){q[a+173524>>2]=b+4;q[b>>2]=q[a+88172>>2];b=q[a+173520>>2];c=q[a+173524>>2];if((b|0)!=(c|0)){while(1){e=q[(d<<2)+b>>2];if(e){Di(q[a+155704>>2],e);c=q[a+173524>>2];b=q[a+173520>>2]}d=d+1|0;if(d>>>0>2>>>0){continue}break}}if(q[a+155696>>2]!=1023){break a}ro(q[a+155700>>2]);Mqa(q[a+173488>>2]);ki(R3(a));return}J(30694,29732,501,30718);G()}J(29303,29361,1044,29391);G()}function cG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=fi-16|0;fi=h;i=q[a+52>>2];g=q[a+48>>2];j=i-g|0;f=(j|0)/40|0;a:{b:{if((j|0)<1){break b}c:{if((g|0)!=(i|0)){i=(f|0)>1?f:1;f=0;while(1){g=q[w(f,40)+g>>2];if((b|0)==q[g+8>>2]&q[g+12>>2]==(c|0)){break c}f=f+1|0;if((i|0)==(f|0)){break b}g=q[a+48>>2];if((q[a+52>>2]-g|0)/40>>>0>f>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0<=f>>>0){break a}a=q[a+w(f,40)>>2];q[h+12>>2]=s[a+24>>1];b=q[a>>2];a=q[h+12>>2];si(b,d,(a>>>0>>0?a:e)<<4)}fi=h+16|0;return}J(103319,103123,447,103330);G()}function q1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=Ti(b+48|0,a,0,116900,989);q[b+40>>2]=gj(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!Nm(117866,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[65142];if(Zj(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Si(d);fi=b+80|0;return 0}J(117826,116900,961,117874);G()}J(117887,116900,962,117874);G()}J(117826,116900,998,117857);G()}function NO(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;a:{if(r[a+48|0]){q[a+116>>2]=2;break a}q[a+112>>2]=0;b=q[a+52>>2];b:{if(q[a+32>>2]){d=q[a+40>>2];c:{if((b|0)>=0){b=b+q[a+36>>2]|0;if(b>>>0>>0){break c}}q[a+112>>2]=1;q[a+32>>2]=d;break b}q[a+32>>2]=b;break b}d:{if((b|0)>=0){d=q[a+24>>2];b=d+b|0;if(b>>>0>=d>>>0){break d}}q[a+112>>2]=1;b=2147483647}if(!El(q[a+20>>2],b,0)){break b}q[a+112>>2]=1;El(q[a+20>>2],q[a+24>>2],2)}q[a+1396>>2]=-1;o[a+1393|0]=1;q[a+1008>>2]=0;if(!Sv(a,c+12|0,c+4|0,c+8|0)){break a}Rv(a,q[c+12>>2],q[c+4>>2],q[c+8>>2])}fi=c+16|0}function M5(){var a=0,b=0,c=0,d=0,e=0;if(r[852368]){return 281424}while(1){a=q[213093];q[213093]=a?a:1;if(a){continue}break}c=q[70349];a=q[c+4>>2];e=q[c+8>>2];if((a|0)==(e|0)){q[213093]=0;o[852365]=1;return 281424}a:{d=q[c>>2];b=((a-d|0)/24|0)+1|0;if(b>>>0<=(e-d|0)/24>>>0){q[c+4>>2]=d+w(b,24);q[213093]=0;if((a|0)!=281424){b=hR(q[213094]);if(!b){b=q[213095]+1|0;q[213095]=b;if(fR(q[213094],b)){J(169004,169013,118,169054);G()}}if((b|0)<=0){break a}p[a+20>>1]=b-1}else{a=281424}return a}J(158285,158259,474,158304);G()}J(157818,157738,508,157833);G()}function x0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=0,i=0,j=x(0);b=fi-96|0;fi=b;q[b+92>>2]=0;i=Ni(a,1,b+92|0);c=yi(a,2,q[210277],0);f=u[c>>2];g=u[c+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[c+8>>2];if(d!=d){break b}d=u[c+12>>2];if(d==d){break a}}d=u[c+8>>2];j=u[c+12>>2];v[b- -64>>3]=g;v[b+80>>3]=j;v[b+72>>3]=d;v[b+56>>3]=f;q[b+48>>2]=2;ni(a,120877,b+48|0)}e=q[b+92>>2];h=e+98|0;e=Ci(h+e|0);f=u[c>>2];g=u[c+4>>2];d=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=d;v[b+16>>3]=g;q[b>>2]=i;v[b+8>>3]=f;cj(e,h,121546,b);wi(a,e);ki(e);fi=b+96|0;return 1}function w4(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);a:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){vj(a,1,5);c=bj(a,4);q[c>>2]=qi(Ci(264),0,264);zi(a,-1e4,106221);aj(a,-2);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if(dk(a,1)){while(1){d=Pj(a,-1);if(I5(q[c>>2],d,ii)){q[b>>2]=32;mi(3,105772,106243,b)}oi(a,-2);if(dk(a,1)){continue}break}}if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}fi=b+16|0;return 1}J(104348,104245,265,107702);G()}J(104220,104245,2273,106305);G()}function uJ(a,b,c,d,e,f,g,h,i,j){Mm(a);q[a+148>>2]=q[f>>2];q[a+144>>2]=q[g>>2];q[a+156>>2]=q[c>>2];b=q[b>>2];q[a+252>>2]=h;q[a+248>>2]=0;q[a+192>>2]=b;awa(a+16|0,i);c=a;b=q[e>>2];if(!b){b=q[d>>2]}q[c+160>>2]=b;b=q[e+4>>2];if(!b){b=q[d+4>>2]}q[c+164>>2]=b;b=q[e+8>>2];if(!b){b=q[d+8>>2]}q[c+168>>2]=b;b=q[e+12>>2];if(!b){b=q[d+12>>2]}q[c+172>>2]=b;b=q[e+16>>2];if(!b){b=q[d+16>>2]}q[c+176>>2]=b;b=q[e+20>>2];if(!b){b=q[d+20>>2]}q[c+180>>2]=b;b=q[e+24>>2];if(!b){b=q[d+24>>2]}q[c+184>>2]=b;b=q[e+28>>2];if(!b){b=q[d+28>>2]}q[c+188>>2]=b;if(j){Tq(a,j)}}function kQ(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;a:{if(q[a>>2]==-1){f=-2;break a}while(1){f=ZA(q[a>>2],c,d);q[b>>2]=f;if((f|0)!=-1){f=0;break a}b:{f=q[240833];switch(f-6|0){case 21:continue;case 0:case 7:break b;default:break a}}f=q[a>>2];q[g+12>>2]=1;q[g+8>>2]=f;c:{if(v[e>>3]==0){break c}d:{while(1){h=g+8|0;i=kp(e)*1e3;e:{if(y(i)<2147483648){f=~~i;break e}f=-2147483648}f=rp(h,1,(f|0)>-1?f:-1);if((f|0)!=-1){h=0;if(f){break d}break c}if(q[240833]==27){continue}break}h=q[240833]}f=h;if(!f){continue}break a}break}f=-1}fi=g+16|0;return f}function WG(a){var b=0,c=0,d=0;a:{b:{d=r[959884];if(d){b=q[239954];c=q[239955];if((b|0)==(c|0)){if(o[959824]&1){break b}vi(((b-q[239953]|0)/40|0)+32|0,40,959812,959820,959816);c=q[239955];b=q[239954]}if((b|0)==(c|0)){break a}q[239954]=b+40;c=q[a+36>>2];q[b+32>>2]=q[a+32>>2];q[b+36>>2]=c;c=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=c;c=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c}return(d|0)!=0}J(195735,195652,461,195810);G()}J(195822,195652,501,195846);G()}function V7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,40)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,40)+f|0)+32>>2];if((e|0)==-1){J(186555,186252,363,186525);G()}h=d;d=w(e,40)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,40)+f|0)+32>>2];b:{if(!h){q[g>>2]=b;break b}q[h+32>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,40)+f|0)+32>>2]=b;return}J(186504,186252,331,186525);G()}J(186531,186252,337,186525);G()}function Um(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+4>>2]<<5;c=ul(a)+b|0;a:{if(d>>>0>>0){f=Vk(a,(c>>>5|0)+((c&31)!=0)|0);if(f){break a}}g=b&31;b=b>>>5|0;b:{if(!b){break b}c=q[a+4>>2];c:{if(c>>>0<=b>>>0){d=c;break c}h=b^-1;e=q[a+8>>2];while(1){d=c-1|0;q[e+(d<<2)>>2]=q[e+(c+h<<2)>>2];c=d;if(c>>>0>b>>>0){continue}break}}if(!d){break b}qi(q[a+8>>2],0,d<<2)}f=0;if(!g){break a}e=q[a+4>>2];if(e>>>0<=b>>>0){break a}h=32-g|0;c=q[a+8>>2];d=0;while(1){a=c+(b<<2)|0;i=q[a>>2];q[a>>2]=i<>>h|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}return f}function Mia(a){var b=0,c=0,d=0,e=0,f=0;b=fi-80|0;fi=b;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;ok(a,1,b+16|0,0);fm(a,b+48|0);d=q[q[Kj(a)+80>>2]+8>>2];c=un(d,q[b+32>>2],q[b+36>>2]);if(c){p[b+14>>1]=0;mK(c,q[b+40>>2],q[b+44>>2],b+14|0);q[b+8>>2]=0;q[b+4>>2]=0;Hk(a,1,d,64359,b+8|0,b+16|0,b+4|0);e=xia(q[b+4>>2],q[c+96>>2],q[c+100>>2],s[b+14>>1]);f=ii}fi=b+80|0;ii=f;return e}function PW(a,b){var c=0,d=0,e=0,f=0;c=q[a+12>>2];e=c>>>0>2]?c:126472;a:{if(q[e+8>>2]!=6){break a}c=q[e>>2];b:{if(r[c+6|0]){if((b|0)<1|r[c+7|0]<(b|0)){break a}f=126008;b=(c+(b<<4)|0)+8|0;break b}if((b|0)<1){break a}d=q[c+16>>2];if(q[d+36>>2]<(b|0)){break a}b=(b<<2)-4|0;f=q[b+q[d+28>>2]>>2]+16|0;b=q[q[(b+c|0)+20>>2]+8>>2]}c=q[a+8>>2]-16|0;q[a+8>>2]=c;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[c+8>>2];b=q[a+8>>2];if(q[b+8>>2]<4){break a}b=q[b>>2];if(!(r[b+5|0]&3)){break a}c=q[e>>2];if(!(r[c+5|0]&4)){break a}Mn(a,c,b)}return f}function Jea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-304|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;e=Pj(a,1);c=ii;g=c;d=uy(a,2);q[b+44>>2]=0;q[b+40>>2]=0;dp(q[d>>2],b+40|0,b+44|0);c=QF(q[74461],e,c,q[b+40>>2],q[b+44>>2]);d=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{if(c){if((d|0)!=(f|0)){break b}q[b+32>>2]=Ei(e,g);q[b+24>>2]=e;q[b+28>>2]=g;q[b+16>>2]=c;cj(b+48|0,256,(c|0)==-3?70984:(c|0)==-15?71026:71091,b+16|0);q[b>>2]=b+48;h=ni(a,70045,b);break c}if((d|0)!=(f|0)){break a}}fi=b+304|0;return h|0}J(70748,70769,259,70980);G()}J(70748,70769,262,70980);G()}function Gba(a,b){var c=0,d=0,e=x(0);a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break a}b=-1;c:{if(q[d+436>>2]!=2){break c}a=a+w(c,576)|0;if(!q[a+452>>2]){break c}c=q[a+440>>2];b=c&8191;c=(c>>>13&8191)-b|0;e=x(u[a+472>>2]*x(c|0));d:{if(x(y(e))>2];if((d|0)<1){break a}e=q[a>>2];q[c>>2]=r[e|0];e=d+e|0;d=Lj(a,e,c+4|0,6);if(d){b=d-9088|0;break a}q[c+8>>2]=q[a>>2];d=q[a>>2]+q[c+4>>2]|0;q[a>>2]=d;if((e-d|0)<1){break a}b=-9186;g=r[d|0];if(g>>>0>30|!(1<>2]=d+1;q[c+12>>2]=r[d|0];b=mq(a,e,c+16|0);if(b){b=b-9088|0;break a}q[c+20>>2]=q[a>>2];b=a;a=q[a>>2]+q[c+16>>2]|0;q[b>>2]=a;b=-9190;if((a|0)!=(e|0)){break a}b=0;q[c+24>>2]=0}fi=f+16|0;return b}function Wr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;e=q[a+8>>2];c=_i(e,-1,g+12|0);b=q[g+12>>2];d=a+12|0;f=q[a>>2];a:{if(b>>>0<=(d-f|0)+1024>>>0){si(f,c,b);q[a>>2]=q[a>>2]+q[g+12>>2];oi(e,-2);break a}b=f-d|0;if(b){Bi(q[a+8>>2],d,b);q[a>>2]=d;q[a+4>>2]=q[a+4>>2]+1;ak(e,-2)}b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)<1){break a}d=q[a+8>>2];i=wl(d,-1);c=1;while(1){b:{b=c+1|0;h=c;e=wl(d,c^-1);f=q[a+4>>2];c=e>>>0>>0|(f-c|0)>8;h=c?b:h;if(!c){break b}i=e+i|0;c=b;if((f|0)>(h|0)){continue}}break}Jl(d,h);q[a+4>>2]=(q[a+4>>2]-h|0)+1}fi=g+16|0}function Ica(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{d:{if(a){if(!b){break d}c=Ca(35632)|0;d=b+8|0;e=VI(c,q[b+4>>2],q[d>>2]);fa(c|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break c}}e:{if(!e){break e}na(a|0,1,b+4|0,d|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break b}}ra(a|0);if(!(r[q[74995]+104|0]&8)){break e}a=K()|0;if(a){break a}}return e|0}J(81610,79164,1775,81658);G()}J(81524,79164,1776,81658);G()}Mi(c,81658,1781);J(79249,79164,1781,81658);G()}Mi(b,81658,1786);J(79249,79164,1786,81658);G()}Mi(a,81658,1788);J(79249,79164,1788,81658);G()}function Gca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{d:{if(a){if(!b){break d}c=Ca(35633)|0;d=b+8|0;e=VI(c,q[b+4>>2],q[d>>2]);fa(c|0);if(r[q[74995]+104|0]&8){c=K()|0;if(c){break c}}e:{if(!e){break e}na(a|0,1,b+4|0,d|0);if(r[q[74995]+104|0]&8){b=K()|0;if(b){break b}}ra(a|0);if(!(r[q[74995]+104|0]&8)){break e}a=K()|0;if(a){break a}}return e|0}J(81610,79164,1754,81615);G()}J(81524,79164,1755,81615);G()}Mi(c,81615,1760);J(79249,79164,1760,81615);G()}Mi(b,81615,1765);J(79249,79164,1765,81615);G()}Mi(a,81615,1767);J(79249,79164,1767,81615);G()}function xs(a){var b=0,c=0;b=q[a+16>>2];if(b){while(1){c=q[b+92>>2];if(c){ji[c|0](b)}b=q[b+88>>2];if(b){continue}break}}ki(q[a+24>>2]);b=q[a+40>>2];if(b){while(1){c=q[b+4100>>2];ki(b);b=c;if(b){continue}break}}b=q[a+44>>2];if(b){while(1){c=q[b+4100>>2];ki(b);b=c;if(b){continue}break}}b=q[a+36>>2];if(b){ki(b)}a:{b=q[a+32>>2];if(b){ki(b);break a}J(184092,184053,124,184102);G()}Tn(q[a+28>>2]);q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function t0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=0,i=x(0);e=fi-48|0;fi=e;b=fk(a,1,q[210277]);a:{if(b){h=Ai(a,2);break a}h=Ai(a,1);b=yi(a,2,q[210277],0);c=u[b>>2];f=u[b+4>>2];b:{if(c!=c|f!=f){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];g=u[b+12>>2];v[e+16>>3]=f;v[e+32>>3]=g;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=2;ni(a,120877,e)}c=u[b+12>>2];f=u[b>>2];d=u[b+4>>2];g=u[b+8>>2];b=bj(a,16);i=c;c=x(h);u[b+12>>2]=i*c;u[b+8>>2]=g*c;u[b+4>>2]=d*c;u[b>>2]=f*c;zi(a,-1e4,120672);aj(a,-2);fi=e+48|0;return 1}function Y7(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[212927];if(c){f=q[212926]+(lwa(a,b,c)<<2)|0;d=q[f>>2];if((d|0)==-1){break a}e=q[212928];c=e+w(d,24)|0;if(q[c>>2]!=(a|0)|q[c+4>>2]!=(b|0)){while(1){d=q[(w(d,24)+e|0)+16>>2];if((d|0)==-1){J(150827,150567,363,150797);G()}g=c;c=w(d,24)+e|0;if((a|0)!=q[c>>2]|q[c+4>>2]!=(b|0)){continue}break}}q[212932]=q[212932]-1;a=q[(w(d,24)+e|0)+16>>2];b:{if(!g){q[f>>2]=a;break b}q[g+16>>2]=a}a=q[212931];q[212931]=d;q[(w(d,24)+e|0)+16>>2]=a;return}J(150776,150567,331,150797);G()}J(150803,150567,337,150797);G()}function E7(a,b){var c=0,d=0;c=fi-624|0;fi=c;qi(c+48|0,0,576);q[c+64>>2]=-1791696896;q[c+68>>2]=100;q[c+604>>2]=c+88;d=Uj();q[c+84>>2]=0;q[c+72>>2]=d;q[c+76>>2]=ii;q[c+56>>2]=a;q[c+16>>2]=0;q[c+20>>2]=0;q[c+36>>2]=1;q[c+40>>2]=0;q[c+12>>2]=1307;q[c+24>>2]=0;q[c+28>>2]=0;q[c+32>>2]=0;q[c+24>>2]=1303;q[c+20>>2]=1304;q[c+12>>2]=1305;q[c+8>>2]=c+48;b=ez(c+8|0,b+72|0,s[b+136>>1],0);a:{if(!b){a=-2;break a}q[c+48>>2]=b;a=z7(b);fz(b);b:{switch(a|0){case 1:a=q[c+616>>2]==404?-3:-1e3;break a;case 0:break a;default:break b}}a=-1}fi=c+624|0;return a}function mu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b&65535)==65535){break a}f=a+155708|0;while(1){e=(b<<16>>16<<6)+a|0;if(s[e+88150>>1]){c=g;break a}YF(a,e+88112|0,0,0);b:{b=q[a+155712>>2];c:{if(!b){break c}d=e+88136|0;c=q[d>>2];d=q[d+4>>2];b=q[q[f>>2]+(lwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}i=q[a+155716>>2];while(1){b=i+(b<<4)|0;if(q[b>>2]==(c|0)&(d|0)==q[b+4>>2]){break b}b=q[b+12>>2];if((b|0)!=-1){continue}break}}J(30222,29361,301,30268);G()}QH(f,c,d);c=1;h=g^1|h;g=1;b=s[e+88144>>1];if((b|0)!=65535){continue}break}}return c&h&1}function Ys(a,b,c,d){var e=0,f=0;e=fi-288|0;fi=e;a:{b:{c:{d:{e:{f:{f=q[a+8>>2];if(f>>>0>=t[a+4>>2]){if(2147418112/(d>>>0)>>>0<=b>>>0){break f}if(b>>>0<=f>>>0){break b}if(!c){break d}c=b;f=nwa(c);if(!ii&(f|0)==1){break d}c=wsa(c);if(!c|t[a+8>>2]>=c>>>0){break e}if(b>>>0<=c>>>0){break c}Al(85519,17,1,q[51432]);G();G()}J(85339,85360,12,85409);G()}J(85427,85360,17,85409);G()}J(85475,85360,27,85409);G()}c=b}b=w(c,d);d=Pl(q[a>>2],b);if(!d){q[e>>2]=b;Sm(e+32|0,85537,e);break a}q[a>>2]=d;q[a+8>>2]=c}fi=e+288|0;return}Kx(e+32|0,q[51432]);G();G()}function U7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+(e<<6)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[((e<<6)+f|0)+56>>2];if((e|0)==-1){J(157440,157078,363,157410);G()}h=d;d=(e<<6)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[((e<<6)+f|0)+56>>2];b:{if(!h){q[g>>2]=b;break b}q[h+56>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[((e<<6)+f|0)+56>>2]=b;return}J(157389,157078,331,157410);G()}J(157416,157078,337,157410);G()}function T7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+(e<<5)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[((e<<5)+f|0)+24>>2];if((e|0)==-1){J(100470,100127,363,100440);G()}h=d;d=(e<<5)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[((e<<5)+f|0)+24>>2];b:{if(!h){q[g>>2]=b;break b}q[h+24>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[((e<<5)+f|0)+24>>2]=b;return}J(100419,100127,331,100440);G()}J(100446,100127,337,100440);G()}function _J(a){a=a|0;var b=0;b=fi-32|0;fi=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;Ml(a,b);fi=b+32|0;return 1}function HM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=q[a+16>>2];b=q[d+48>>2];c=q[b>>2];a:{if((b|0)==(c|0)){q[d+48>>2]=0;break a}q[b>>2]=q[c>>2]}q[c>>2]=q[q[d+112>>2]>>2];q[q[d+112>>2]>>2]=c;o[c+5|0]=r[d+20|0]&3|r[c+5|0]&248;b=q[c+8>>2];b:{if(!b|r[b+6|0]&4){break b}b=Jn(b,2,q[q[a+16>>2]+196>>2]);if(!b){break b}f=q[d+64>>2];g=r[a+57|0];o[a+57|0]=0;q[d+64>>2]=q[d+68>>2]<<1;h=q[b+4>>2];e=q[a+8>>2];q[e>>2]=q[b>>2];q[e+4>>2]=h;q[e+8>>2]=q[b+8>>2];b=q[a+8>>2];q[b+16>>2]=c;q[b+24>>2]=7;c=q[a+8>>2];q[a+8>>2]=c+32;zl(a,c,0);o[a+57|0]=g;q[d+64>>2]=f}}function vma(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=fi-48|0;fi=f;a:{b:{g=q[q[a>>2]+100>>2];a=q[g+20>>2];c:{if(!a){break c}a=q[q[g+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}g=q[g+24>>2];while(1){h=g+w(a,12)|0;if(q[h>>2]==(d|0)){break b}a=q[h+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[293936]){break a}o[293936]=1;q[f>>2]=d;mi(4,38938,39766,f);break a}a=q[(g+w(a,12)|0)+4>>2]}q[f+28>>2]=c;q[f+24>>2]=b;b=q[a+4>>2];q[f+32>>2]=d;q[f+16>>2]=e;q[f+20>>2]=b;a=ji[q[a+16>>2]](f+40|0,f+16|0)|0;fi=f+48|0;return a|0}function cea(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=x(f);var g=0,h=0,i=0;g=fi-32|0;fi=g;a:{b:{h=q[q[a>>2]+100>>2];a=q[h+20>>2];c:{if(!a){break c}a=q[q[h+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}h=q[h+24>>2];while(1){i=h+w(a,12)|0;if(q[i>>2]==(d|0)){break b}a=q[i+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[293936]){break a}o[293936]=1;q[g>>2]=d;mi(4,38938,39766,g);break a}a=q[(h+w(a,12)|0)+4>>2]}h=q[a+20>>2];if(h){q[g+20>>2]=c;q[g+16>>2]=b;a=q[a+4>>2];q[g+24>>2]=d;q[g+8>>2]=e;q[g+12>>2]=a;ji[h|0](g+8|0,f)}fi=g+32|0}function nma(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=fi-16|0;fi=e;d=q[a+64>>2];b=q[d+4>>2];a:{b:{if((b|0)!=q[d+8>>2]){f=q[a>>2];c=q[q[a+60>>2]>>2];g=q[c>>2];h=q[c+4>>2];i=q[c+12>>2];j=q[c+8>>2];k=q[c+16>>2];c=s[a+76>>1];q[d+4>>2]=b+28;p[b+26>>1]=c;c=0;o[b+24|0]=(k|0)!=0;q[b+16>>2]=j;q[b+20>>2]=i;q[b+8>>2]=g;q[b+12>>2]=h;q[b+4>>2]=d;q[b>>2]=f;b=q[d>>2];d=q[d+4>>2]-b|0;if(!d){break a}q[q[a+72>>2]>>2]=(b+w((d|0)/28|0,28)|0)-28;break b}q[e>>2]=64;mi(4,32589,32597,e);c=-1e3}fi=e+16|0;return c|0}J(33037,32946,447,33048);G()}function dia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-80|0;fi=d;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);g=Pj(a,2);c=ii;b=d;q[b+72>>2]=Pj(a,3);q[b+76>>2]=ii;q[b+64>>2]=g;q[b+68>>2]=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[61162];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],f,c,b- -64|0,16);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(67050,66868,353,67110);G()}fi=d+80|0;return 0}function Vq(a,b){var c=0,d=0;c=q[b+84>>2];if((c|0)!=289768){Di(q[a>>2],c)}Ns(a,b);c=q[b+140>>2];a:{if(!(q[b+136>>2]&-65536^2147418112)){break a}hA(a,b);c=s[b+140>>1]}ki(b);b:{c:{d:{b=c&32767;d=q[a+2056>>2];if(b>>>0>2]-d>>2>>>0){q[d+(b<<2)>>2]=0;d=q[a+2072>>2];if(!d){break d}c=s[a+2078>>1];if(!c|c>>>0>s[a+2076>>1]){break c}c=c-1|0;p[a+2078>>1]=c;p[((c&65535)<<1)+d>>1]=b;if(t[a+4188>>2]>s[a+2078>>1]){break b}return}J(12475,10090,447,9406);G()}J(12515,12401,140,12510);G()}J(12546,12401,141,12510);G()}J(7759,7150,721,7833);G()}function S7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,48)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,48)+f|0)+40>>2];if((e|0)==-1){J(27989,27647,363,27959);G()}h=d;d=w(e,48)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,48)+f|0)+40>>2];b:{if(!h){q[g>>2]=b;break b}q[h+40>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,48)+f|0)+40>>2]=b;return}J(27938,27647,331,27959);G()}J(27965,27647,337,27959);G()}function Q7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,24)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,24)+f|0)+16>>2];if((e|0)==-1){J(49597,49312,363,49567);G()}h=d;d=w(e,24)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,24)+f|0)+16>>2];b:{if(!h){q[g>>2]=b;break b}q[h+16>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,24)+f|0)+16>>2]=b;return}J(49546,49312,331,49567);G()}J(49573,49312,337,49567);G()}function Yia(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=fi-48|0;fi=f;a:{b:{g=q[q[a>>2]+100>>2];a=q[g+20>>2];c:{if(!a){break c}a=q[q[g+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}g=q[g+24>>2];while(1){h=g+w(a,12)|0;if(q[h>>2]==(d|0)){break b}a=q[h+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[293936]){break a}o[293936]=1;q[f>>2]=d;mi(4,38938,39766,f);break a}a=q[(g+w(a,12)|0)+4>>2]}g=q[a+12>>2];if(g){q[f+28>>2]=c;q[f+24>>2]=b;a=q[a+4>>2];q[f+32>>2]=d;q[f+16>>2]=e;q[f+20>>2]=a;ji[g|0](f+40|0,f+16|0)}fi=f+48|0}function Wj(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+16>>2];if(t[e+68>>2]>=t[e+64>>2]){Ul(a)}e=a;f=c;d=q[a+20>>2];g=a+72|0;a:{if((d|0)==q[a+40>>2]){break a}g=q[q[d+4>>2]>>2]+12|0}e=wX(e,f,q[g>>2]);q[e+16>>2]=b;d=q[a+8>>2];b=d-(c<<4)|0;q[a+8>>2]=b;if(c){d=d-16|0;f=q[d+4>>2];c=c-1|0;b=e+(c<<4)|0;q[b+24>>2]=q[d>>2];q[b+28>>2]=f;q[b+32>>2]=q[d+8>>2];if(c){while(1){c=c-1|0;d=c<<4;b=d+e|0;d=d+q[a+8>>2]|0;f=q[d+4>>2];q[b+24>>2]=q[d>>2];q[b+28>>2]=f;q[b+32>>2]=q[d+8>>2];if(c){continue}break}}b=q[a+8>>2]}q[b+8>>2]=6;q[b>>2]=e;q[a+8>>2]=q[a+8>>2]+16}function $6(a,b){var c=0,d=0;c=fi-3200|0;fi=c;lk(a,q[72160],c+2176|0);lk(a,q[72159],c+1152|0);a:{b:{if(!Am(c+2176|0,c+1064|0)){d=cu(c+1152|0,c+2176|0);if(d){break b}q[c+4>>2]=c+1152;q[c>>2]=c+2176;mi(2,195338,195605,c);Zk(c+2176|0)}d=0;if(Am(c+1152|0,c+1064|0)){break a}lk(a,q[72161],c+32|0);q[c+28>>2]=0;a=VF(c+1152|0,c+32|0,b,c+28|0);c:{if(a){break c}d=q[c+28>>2];if(!d){break c}b=q[b>>2];if(!b){break c}q[b+32>>2]=d}d=a?-2:0;break a}q[c+24>>2]=d;q[c+20>>2]=c+1152;q[c+16>>2]=c+2176;mi(4,195338,195569,c+16|0);d=-2}fi=c+3200|0;return d}function wj(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;a:{b:{c:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break c;case 0:c=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}b=c;if(q[b+8>>2]==3){break b}b=Lt(b,d);if(b){break b}e=0;break a}e=v[b>>3]}fi=d+16|0;return e}function laa(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=0,i=0,j=0,k=0;h=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);i=yi(a,-1,q[213955],189399);oi(a,-2);b=a;a:{if($j(a,1)){f=li(Ni(a,1,0));g=ii;break a}f=Qk(a,1);g=ii}j=b;k=Ni(a,2,0);c=x(3.4028234663852886e+38);b:{if((ri(a,3)|0)<1){break b}c=x(Ai(a,3))}if((ri(a,4)|0)>=1){b=(Fj(a,4)|0)!=0}else{b=0}d=x(1);c:{if((ri(a,5)|0)<1){break c}d=x(Ai(a,5))}e=x(0);d:{if((ri(a,6)|0)<1){break d}e=x(Ai(a,6))}tI(j,i,f,g,k,c,b,d,e);if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2251,191908);G()}return 1}function k4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-32|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=c+8|0;g=b;e=Ai(a,1);a:{if(e<4294967296&e>=0){f=~~e>>>0;break a}f=0}q[g+4>>2]=f;q[b>>2]=13;b=q[d+4>>2];b:{if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+24>>2];a=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=a;a=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=a;a=0;break b}q[c>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c)}fi=c+32|0;return a|0}J(104348,104245,265,107702);G()}function d0(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;a:{b:{c:{if(Yx(a)){q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+28>>2]=16;a=ZA(a,d,d+28|0);q[b>>2]=1;q[b+16>>2]=q[d+4>>2];break c}if(!Xx(a)){break b}q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+28>>2]=28;a=ZA(a,d,d+28|0);q[b>>2]=2;e=q[d+12>>2];q[b+4>>2]=q[d+8>>2];q[b+8>>2]=e;e=q[d+20>>2];q[b+12>>2]=q[d+16>>2];q[b+16>>2]=e}q[c>>2]=a;b=0;if((a|0)>-1){break a}b=Ll(158710,411,q[240833]);break a}mi(4,158664,158776,0);b=-2}fi=d+32|0;return b}function ao(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=-4;f=q[e+4>>2];a:{if(f>>>0>2]+1>>>0){break a}h=q[e+8>>2];if(!h){break a}qi(h,0,f<<2);g=q[e+8>>2];f=q[c+4>>2];if(f){h=q[b+4>>2];j=f>>>0>h>>>0?h:f;k=f+1<<2;h=0;while(1){l=q[g>>2];i=q[b+8>>2];m=q[i>>2];n=i;i=q[q[a+8>>2]+(h<<2)>>2];Kw(j,n,g,i);Kw(f,q[c+8>>2],g,w(w(i,m)+l|0,d));q[g>>2]=i;g=g+4|0;q[k+g>>2]=0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}si(q[a+8>>2],g,(f<<2)+4|0);g=0;if((Gr(a,c)|0)>=0){Jw(f,q[c+8>>2],q[a+8>>2]);return 0}Jw(f,q[a+8>>2],q[e+8>>2])}return g}function NX(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;a:{b:{c=cm(a,2,10);if((c|0)==10){Tl(a,1);if(!Gj(a,1)){break b}f=wj(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=f;q[a+8>>2]=q[a+8>>2]+16;break a}b=Ni(a,1,0);if(c-2>>>0>=35){Mj(a,2,129592)}c=jt(b,e+12|0,c);d=q[e+12>>2];if((b|0)==(d|0)){break b}b=r[d|0];if((b|0)==32|b-9>>>0<5){while(1){b=r[d+1|0];d=d+1|0;if((b|0)==32|b-9>>>0<5){continue}break}}if(b){break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}fi=e+16|0;return 1}function N3(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-176|0;fi=e;a:{if(!b){break a}h=1;while(1){b:{g=w(f,40)+a|0;if(q[g+32>>2]!=1){break b}g=q[g+16>>2];if((Ay(d,g,c,0,0)|0)!=1){break b}b=0;o[e+32|0]=0;c:{if(!c){break c}d=e+174|0;while(1){q[e+16>>2]=r[b+g|0];cj(e+173|0,3,24500,e+16|0);if(b>>>0<=64){np(e+32|0,e+173|0,1);if((b|0)==64){break c}}np(e+32|0,d,1);b=b+1|0;if((c|0)!=(b|0)){continue}break}}q[e>>2]=q[w(f,40)+a>>2];q[e+4>>2]=e+32;mi(4,24355,25572,e);break a}f=f+1|0;h=f>>>0>>0;if((b|0)!=(f|0)){continue}break}}fi=e+176|0;return 0-h|0}function K4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-32|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=c+8|0;g=b;e=Ai(a,1);a:{if(e<4294967296&e>=0){f=~~e>>>0;break a}f=0}q[g+4>>2]=f;q[b>>2]=3;b=q[d+4>>2];b:{if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+20;q[b+16>>2]=q[c+24>>2];a=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=a;a=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=a;a=0;break b}q[c>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,c)}fi=c+32|0;return a|0}J(104348,104245,265,107702);G()}function Jda(a,b){a=a|0;b=b|0;var c=0;a:{b:{c:{if(a){if(!b){break a}if(s[b+160>>1]){a=0;while(1){kc(a|0);d:{if(!(r[q[74995]+104|0]&8)){break d}c=K()|0;if(!c){break d}Mi(c,81409,1581);J(79249,79164,1581,81409);G()}a=a+1|0;if(a>>>0>1]){continue}break}}O(34962,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break c}}O(34963,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}return}J(79156,79164,1575,81409);G()}Mi(a,81409,1585);J(79249,79164,1585,81409);G()}Mi(a,81409,1588);J(79249,79164,1588,81409);G()}J(81303,79164,1576,81409);G()}function $H(a,b,c,d,e,f,g,h){var i=0,j=0;o[b+1|0]=0;o[b+2|0]=255;if(d){i=r[d+1|0];o[b+1|0]=i}f=(f?32-z(f)|0:0)&65535;j=q[a+412>>2]&67108864;a:{if(!j){a=e+1<>2]<<6>>31&15;o[c|0]=0;o[c+2|0]=0;a=r[b|0];o[c+1|0]=a;if(!d){break a}o[c|0]=r[d|0];o[c+1|0]=a|r[d+1|0]}o[c+3|0]=r[c+3|0]|15;if((f+h|0)+(j?e+1|0:g)>>>0>=9){mi(3,184623,186683,0)}}function x_(a){a=a|0;var b=0,c=0,d=0;b=fi+ -64|0;fi=b;c=q[a+4>>2];a:{if(c>>>0<8){break a}q[b+48>>2]=1;c=c-7|0;q[b+52>>2]=c;d=-20352;if(c>>>0>9){break a}q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+56>>2]=b;c=si(b,q[a+8>>2]+28|0,c<<2);d=Nk(c+48|0,31);if(d){break a}q[c+52>>2]=q[c+52>>2]+1;d=zo(a,255,0);if(d){break a}d=q[a+4>>2];if(d>>>0>=9){qi(q[a+8>>2]+32|0,0,(d<<2)-32|0)}d=jq(c+48|0,c+48|0,19);if(d){break a}d=Hr(a,a,c+48|0)}fi=b- -64|0;return d|0}function pi(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}b=d;c=Bj(a,c,Fi(c));q[e+8>>2]=4;q[e>>2]=c;Mt(a,b,e,q[a+8>>2]-16|0);q[a+8>>2]=q[a+8>>2]-16;fi=e+16|0}function mv(a,b){var c=0,d=0,e=0;c=fi+ -64|0;fi=c;d=q[b+80>>2];e=q[d+4148>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[d+4152>>2]-e>>6>>>0){J(12475,10090,447,9406);G()}b=e+(b<<6)|0;u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];Ko(a,c);fi=c- -64|0}function lea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;e=Ti(b+56|0,a,1,61062,820);a:{if((ri(a,1)|0)==7){c=yi(a,1,q[74123],0);if(c){if(xm(q[c>>2])){break a}}ni(a,61165,0)}hk(a,1,60860);c=0}d=Ss(q[c>>2],q[c+8>>2],q[c+12>>2],b+52|0,b+48|0);c=Ei(q[c+8>>2],q[c+12>>2]);b:{if(!d){d=q[b+52>>2];c:{if(d>>>0<=8){d=q[(d<<2)+266932>>2];break c}d=138736}q[b+16>>2]=q[b+48>>2];q[b>>2]=60842;q[b+4>>2]=60860;q[b+8>>2]=c;q[b+12>>2]=d;nj(a,61361,b);break b}q[b+40>>2]=c;q[b+36>>2]=60860;q[b+32>>2]=60842;nj(a,61398,b+32|0)}Si(e);fi=b+80|0;return 1}function OJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=fi-16|0;fi=d;a:{b:{c:{d:{if(r[b+20|0]){break d}e=q[b>>2];f=q[e+8>>2];if(!f){break d}if(o[b+16|0]&1){break c}h=b;g=b;vi(f,4,b+4|0,b+12|0,b+8|0);b=0;while(1){if(t[e+8>>2]<=b>>>0){break b}c=q[(q[e+4>>2]+w(b,80)|0)+4>>2];if(c){c=Ij(a,c,d+12|0);if(c){break d}c=q[g+8>>2];if((c|0)==q[h+12>>2]){break a}i=q[d+12>>2];q[g+8>>2]=c+4;q[c>>2]=i}b=b+1|0;if((f|0)!=(b|0)){continue}break}c=0}fi=d+16|0;return c}J(55027,55102,461,55181);G()}J(54920,54932,241,55016);G()}J(55193,55102,501,55217);G()}function qE(a,b){var c=0,d=0,e=0,f=0;ij(a,0,0);f=q[a+8>>2]-q[a+12>>2]>>4;wi(a,123734);wi(a,q[b>>2]);Wi(a,f);wi(a,123739);wi(a,123742);c=q[b+4>>2];ij(a,0,0);if(!(!c|!q[c>>2])){d=1;while(1){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;wi(a,q[c>>2]);Wi(a,-3);d=d+1|0;e=q[c+4>>2];c=c+4|0;if(e){continue}break}}Wi(a,f);ij(a,0,0);c=q[b+16>>2];if(!(!c|!q[c>>2])){d=1;while(1){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;wi(a,Gx(q[q[c>>2]>>2]));Wi(a,-3);d=d+1|0;b=q[c+4>>2];c=c+4|0;if(b){continue}break}}Wi(a,f)}function Wq(a,b){var c=x(0),d=x(0),e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=q[b+80>>2];f=q[e+4148>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[e+4152>>2]-f>>6>>>0){J(12475,10090,447,9406);G()}b=f+(b<<6)|0;g=u[b+28>>2];h=u[b+24>>2];i=u[b+20>>2];j=u[b+16>>2];k=u[b+44>>2];l=u[b+40>>2];m=u[b+36>>2];n=u[b+32>>2];c=u[b>>2];d=x(c*c);c=u[b+4>>2];d=x(d+x(c*c));c=u[b+8>>2];d=x(d+x(c*c));c=u[b+12>>2];u[a>>2]=F(x(d+x(c*c)));u[a+8>>2]=F(x(x(x(x(n*n)+x(m*m))+x(l*l))+x(k*k)));u[a+4>>2]=F(x(x(x(x(j*j)+x(i*i))+x(h*h))+x(g*g)))}function D0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0);e=fi-32|0;fi=e;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){if((ri(a,-1)|0)==3){c=x(wj(a,-1));f=c;d=c;break a}b=yi(a,-1,q[210276],0);c=u[b>>2];f=u[b+4>>2];if(!(c!=c|f!=f)){d=u[b+8>>2];if(d==d){break a}}d=u[b+8>>2];v[e+16>>3]=f;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=-1;ni(a,120787,e);d=u[b+8>>2];f=u[b+4>>2];c=u[b>>2];break a}c=x(Ai(a,1));f=x(Ai(a,2));d=x(Ai(a,3))}b=bj(a,16);u[b+8>>2]=d;u[b+4>>2]=f;u[b>>2]=c;zi(a,-1e4,120656);aj(a,-2);fi=e+32|0;return 1}function u0(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;e=1;b=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-119|0){case 1:c=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:c=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 3:c=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 0:c=+u[b+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[d+4>>2]=120672;q[d>>2]=120720;e=ni(a,121512,d)}fi=d+16|0;return e|0}function I1(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;e=1;b=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-119|0){case 1:c=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:c=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 3:c=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 0:c=+u[b+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[d+4>>2]=120688;q[d>>2]=120720;e=ni(a,121512,d)}fi=d+16|0;return e|0}function zi(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}b=d;c=Bj(a,c,Fi(c));q[e+8>>2]=4;q[e>>2]=c;Tr(a,b,e,q[a+8>>2]);q[a+8>>2]=q[a+8>>2]+16;fi=e+16|0}function qka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{d=q[a+8>>2];c=q[d+8>>2];b=q[d+4>>2];a=c-b|0;if(!a){break a}if((b|0)!=(c|0)){c=b-c|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);e=a>>>0>1?a:1;a=0;while(1){b=q[(a<<2)+b>>2];b:{if((r[b+206|0]&3)!=3){break b}c=q[b+156>>2];if(!c){c=q[q[b+152>>2]+4>>2]}tv(q[c+4>>2],c+20|0);if(!(r[b+206|0]&4)){c=q[b+148>>2];if(!c|!r[c+52|0]){break b}}oJ(b)}a=a+1|0;if((e|0)==(a|0)){break a}b=q[d+4>>2];if(q[d+8>>2]-b>>2>>>0>a>>>0){continue}break}}J(45837,45268,447,45848);G()}return 0}function j5(a,b){var c=0,d=0,e=0;c=q[a+1852>>2];e=q[c+8>>2]-q[c+12>>2]|0;d=qi(bj(c,332),0,304);q[d+324>>2]=-2;q[d+328>>2]=-2;q[d+316>>2]=0;q[d+320>>2]=-2;q[d+308>>2]=b;b=q[a+1876>>2];q[d+304>>2]=a;q[d+312>>2]=b;vi(q[a+1856>>2],20,d,d+8|0,d+4|0);pz(d+16|0,16,8);Hi(c,-1);q[d+320>>2]=ck(c,-1e4);ij(c,0,0);q[d+324>>2]=ck(c,-1e4);ij(c,0,0);q[d+328>>2]=ck(c,-1e4);zi(c,-1e4,106464);aj(c,-2);bk(c);ky(q[d+312>>2]);a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;bk(c);if(e>>4!=q[c+8>>2]-q[c+12>>2]>>4){J(104348,104245,2720,107549);G()}return d}function dy(a,b,c){var d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;a:{b:{d=q[79159];c:{if(!d){break c}d=q[q[79158]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}f=q[79160];while(1){g=f+w(d,12)|0;if(q[g>>2]==(b|0)){break b}d=q[g+8>>2];if((d|0)!=-1){continue}break}}d=0;ij(a,0,0);if(!r[b+24|0]){break a}while(1){f=w(d,20);wi(a,q[f+q[b+20>>2]>>2]);EF(a,f+q[b+20>>2]|0,c,c);qj(a,-3);d=d+1|0;if(d>>>0>2]](a,b,c)|0;if(!c){break a}b=q[b+4>>2];q[e+4>>2]=c;q[e>>2]=b;ni(a,112412,e)}fi=e+16|0}function bia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;b=q[a+8>>2]-q[a+12>>2]>>4;e=Kj(a);a:{b:{if((b|0)!=1){f=ni(a,67004,0);break b}b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[61115];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],e,d,b+79|0,1);if(q[a+8>>2]-q[a+12>>2]>>4!=1){break a}}fi=c+80|0;return f|0}J(67050,66868,258,67071);G()}function Zm(a,b,c){var d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;q[e+12>>2]=c;a:{if(!r[a+16|0]){c=q[a+8>>2];break a}c=1;d=q[a+12>>2];f=q[a+8>>2];g=q[a+4>>2]+(f^-1)|0;d=(d|0)<(g|0)?d:g;if((d|0)>=1){o[q[a>>2]+f|0]=32;if((d|0)!=1){while(1){o[q[a>>2]+(q[a+8>>2]+c|0)|0]=32;c=c+1|0;if((d|0)!=(c|0)){continue}break}}f=q[a+8>>2]}o[a+16|0]=0;c=d+f|0;q[a+8>>2]=c}Yp(q[a>>2]+c|0,q[a+4>>2]-c|0,b,q[e+12>>2]);o[(q[a+4>>2]+q[a>>2]|0)-1|0]=0;q[a+8>>2]=Fi(q[a>>2]);if(Nj(b,10)){o[a+16|0]=1}if(q[a+8>>2]>q[a+4>>2]){J(157624,157593,64,157649);G()}fi=e+16|0}function Fj(a,b){var c=0;a:{b:{c:{d:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break d}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break d}e:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break d;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break d;case 0:c=a+72|0;break d;default:break e}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}b=c;a=q[b+8>>2];switch(a|0){case 0:break a;case 1:break c;default:break b}}return q[b>>2]!=0}a=1}return a}function iy(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2]-q[a+12>>2]>>4;c=q[79152];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);a:{b:{c:{d:{if(Sl(a,-1)){Bi(a,110368,10);gl(a,-2);Ok(a,-2);if(ri(a,-1)){break d}oi(a,-2)}oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(b|0)){break c}J(110844,110448,920,110828);G()}Hi(a,-2);zk(a,1,1);if((b+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){break b}c=Fj(a,-1);oi(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}e=(c|0)!=0}return e}J(110803,110448,913,110828);G()}J(110844,110448,916,110828);G()}function Mm(a){a=qi(a,0,272);q[a+20>>2]=0;q[a+24>>2]=0;q[a+16>>2]=1065353216;q[a+28>>2]=0;q[a+32>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+36>>2]=1065353216;q[a+48>>2]=0;q[a+52>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+56>>2]=1065353216;q[a+68>>2]=0;q[a+72>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+76>>2]=1065353216;q[a+80>>2]=1065353216;q[a+92>>2]=0;q[a+96>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+100>>2]=1065353216;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=1065353216;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=1065353216}function tC(a,b,c){var d=0,e=0;d=fi-80|0;fi=d;q[d+76>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=c;q[d+60>>2]=b;q[d+56>>2]=a;e=Q(1,d+56|0)|0;if(e>>>0>=4294963201){q[240833]=0-e;e=-1}a:{if(!(b&526336)|((e|0)>-1|(q[240833]!=66?q[240833]!=28:0))){break a}q[d+44>>2]=0;q[d+48>>2]=0;q[d+40>>2]=c;q[d+32>>2]=a;q[d+36>>2]=b&-526337;q[d+52>>2]=0;e=Q(1,d+32|0)|0;if(e>>>0>=4294963201){q[240833]=0-e;e=-1}if((e|0)<0){break a}if(b&524288){q[d+16>>2]=1;P(e|0,2,d+16|0)|0}if(!(b&2048)){break a}q[d>>2]=2048;P(e|0,4,d|0)|0}fi=d+80|0;return e}function qma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-16|0;fi=c;g=q[a+8>>2]-q[a+12>>2]>>4;f=Mia(a);d=ii;b=d;a:{b:{c:{if(!(b|f)){if(q[a+8>>2]-q[a+12>>2]>>4!=(g|0)){break b}e=ni(a,64480,0);break c}q[c+12>>2]=0;d=d7(f,b,c+12|0);ij(a,d,0);if(d){while(1){b=q[a+8>>2];q[b+8>>2]=3;f=b;b=e+1|0;v[f>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;wi(a,q[q[c+12>>2]+(e<<2)>>2]);Wi(a,-3);e=b;if((b|0)!=(d|0)){continue}break}}e=1;if((g+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}fi=c+16|0;return e|0}J(64376,64397,64,64447);G()}J(64523,64397,79,64447);G()}function Xi(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:126472;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?126472:(d+(0-b<<4)|0)-160024|0}b=sX(q[d>>2],c);d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}function Qha(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=Ti(b+56|0,a,0,67527,972);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;a:{if(!fm(a,b+24|0)){a=uj(d,69607,0);break a}ns(a,q[74460]);c=Vi(a,-1);oi(a,-2);e=q[q[q[Kj(a)+80>>2]+8>>2]>>2];c=q[c+8>>2];if(t[q[e+4>>2]>>2]>c>>>0){c=q[((c<<2)+e|0)+12>>2]}else{c=0}if(!c){a=uj(d,67815,0);break a}a=il(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];b:{if(o[c+137|0]&1){break b}}a=0}Si(d);fi=b+80|0;return a|0}function gta(a,b){o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;o[a|0]=3-r[b|0];o[a+1|0]=3-r[b+1|0];o[a+2|0]=3-r[b+2|0];o[a+3|0]=3-r[b+3|0];o[a+4|0]=3-r[b+4|0];o[a+5|0]=3-r[b+5|0];o[a+6|0]=3-r[b+6|0];o[a+7|0]=3-r[b+7|0];o[a+8|0]=3-r[b+8|0];o[a+9|0]=3-r[b+9|0];o[a+10|0]=3-r[b+10|0];o[a+11|0]=3-r[b+11|0];o[a+12|0]=3-r[b+12|0];o[a+13|0]=3-r[b+13|0];o[a+14|0]=3-r[b+14|0];o[a+15|0]=3-r[b+15|0]}function _6(a,b,c,d){var e=0;e=fi-2064|0;fi=e;a:{if(Cy(c,a)){mi(4,199540,199904,0);c=-1;break a}lk(b,q[72163],e+1040|0);c=0;qi(e+16|0,0,1024);a=sk(e+1040|0,199660);Yk(e+16|0,1,1024,a);Qj(a);o[e+1039|0]=0;if(Tx(e+16|0,e+12|0)){q[e>>2]=e+16;mi(4,199540,199737,e);c=-2;break a}a=Ci(44);q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;b=qi(Ci(1048),0,1048);q[a+8>>2]=b;kj(b,e+16|0,1024);q[a+32>>2]=q[e+12>>2];q[d>>2]=a}fi=e+2064|0;return c}function Lba(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=q[a+100>>2];a:{if(!d){break a}d=q[q[a+96>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}f=q[a+104>>2];while(1){e=f+(d<<4)|0;if(q[e>>2]!=(b|0)|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}b=q[a+68>>2];if(!b){break a}c=q[(f+(d<<4)|0)+8>>2];d=q[q[a+64>>2]+((c>>>0)%(b>>>0)<<2)>>2];if((d|0)==-1){break a}a=q[a+72>>2];while(1){b=a+w(d,24)|0;if((c|0)!=q[b>>2]){d=q[b+16>>2];if((d|0)!=-1){continue}break a}break}a=a+w(d,24)|0;g=q[a+8>>2];h=q[a+12>>2]}ii=h;return g}function m9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=fi-32|0;fi=c;a:{b=Zi(a,1,c+28|0);if(!(r[b+415|0]&8)){d=sm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(c,j,q[c+28>>2],6);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+96>>2]=e;u[b+108>>2]=f;u[b+104>>2]=g;u[b+100>>2]=h;q[b+412>>2]=q[b+412>>2]|2097152}fi=c+32|0;return 0}J(187343,187364,162,187386);G()} +function H5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;e=q[a+2384>>2];if(c){while(1){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:{d=w(h,40)+b|0;f=q[d>>2];switch(f|0){case 17:break h;case 16:break i;case 15:break j;case 14:break k;case 13:break l;case 12:break m;case 11:break n;case 10:break o;case 9:break p;case 8:break q;case 7:break r;case 6:break s;case 5:break t;case 3:break u;case 2:break v;case 4:break w;case 1:break x;case 0:break y;case 22:break c;case 21:break d;case 20:break e;case 19:break f;case 18:break g;default:break b}}xi[q[77479]](e,q[d+8>>2]);break a}xi[q[77480]](e,q[d+8>>2]);break a}xi[q[77496]](e,q[d+8>>2],q[d+12>>2],q[d+16>>2]);break a}i=q[d+20>>2];f=(q[d+8>>2]<<3)+a|0;q[f>>2]=q[d+16>>2];q[f+4>>2]=i;break a}d=(q[d+8>>2]<<3)+a|0;q[d>>2]=0;q[d+4>>2]=0;break a}f=q[d+16>>2];xi[q[77438]](e,q[d+8>>2],f&255,f>>>8&255,f>>>16&255,f>>>24|0,u[d+24>>2],q[d+32>>2]);o[a+2400|0]=r[d+8|0]>>>4&2|r[a+2400|0]&253;break a}xi[q[77478]](e,q[d+8>>2],q[d+16>>2],q[d+24>>2],q[d+32>>2]);break a}d=q[d+8>>2];jG(a,d);yi(d);break a}d=q[d+8>>2];kG(a,d);yi(d);break a}xi[q[77481]](e,q[d+8>>2],q[d+16>>2]);break a}xi[q[77482]](e,q[d+8>>2]!=0|q[d+12>>2]!=0,q[d+16>>2]!=0|q[d+20>>2]!=0,q[d+24>>2]!=0|q[d+28>>2]!=0,q[d+32>>2]!=0|q[d+36>>2]!=0);break a}xi[q[77483]](e,q[d+8>>2]!=0|q[d+12>>2]!=0);break a}xi[q[77484]](e,q[d+8>>2]);break a}xi[q[77486]](e,q[d+8>>2]);break a}xi[q[77487]](e,q[d+8>>2],q[d+16>>2],q[d+24>>2]);break a}xi[q[77489]](e,q[d+8>>2],q[d+16>>2],q[d+24>>2]);break a}xi[q[77491]](e,q[d+8>>2]);break a}xi[q[77493]](e,x(+t[d+8>>2]+ +t[d+12>>2]*4294967296),x(+t[d+16>>2]+ +t[d+20>>2]*4294967296));break a}i=q[d+8>>2];f=q[d+16>>2];d=q[d+24>>2];Uu(a,i,f,d);if(!d){break a}yi(d);break a}d=q[d+8>>2];f=d;if(q[a+1872>>2]){Uu(a,a+1344|0,0,f)}if(!d){break a}yi(d);break a}if(q[a+1872>>2]){Uu(a,a+1608|0,0,0)}break a}q[a+2388>>2]=q[d+8>>2];break a}q[a+2388>>2]=0;break a}q[g>>2]=f;Ai(4,110268,110275,g)}h=h+1|0;if((h|0)!=(c|0)){continue}break}}ti=g+16|0}function hka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-112|0;ti=f;b=q[a+4>>2];c=q[b+16>>2];e=q[q[a+12>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];d=q[b>>2];if(c>>>0<(q[b+4>>2]-d|0)/240>>>0){b=q[a+16>>2];e=q[b+64>>2];h=q[60261];i=q[b+68>>2];a:{if((e|0)==q[h+8>>2]&(i|0)==q[h+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]|4;break a}h=q[60262];if((e|0)==q[h+8>>2]&(i|0)==q[h+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65531;break a}if(!q[b+80>>2]){break a}h=d+w(c,240)|0;g=q[63650];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){if(!yv(h,q[b+96>>2],q[b+100>>2],u[b+104>>2],u[b+108>>2])){break a}b=d+w(c,240)|0;d=q[a+16>>2];e=q[d+4>>2];q[b+152>>2]=q[d>>2];q[b+156>>2]=e;c=q[d+28>>2];q[b+176>>2]=q[d+24>>2];q[b+180>>2]=c;c=q[d+20>>2];q[b+168>>2]=q[d+16>>2];q[b+172>>2]=c;c=q[d+12>>2];q[b+160>>2]=q[d+8>>2];q[b+164>>2]=c;q[b+148>>2]=q[q[a+16>>2]+76>>2];break a}g=q[63690];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65503|(q[b+96>>2]!=0)<<5;break a}g=q[63706];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]&65471|(q[b+96>>2]!=0)<<6;break a}g=q[61990];if((e|0)==q[g+8>>2]&(i|0)==q[g+12>>2]){c=d+w(c,240)|0;d=q[c+200>>2];if(!d){d=q[q[c+188>>2]+16>>2]}c=q[b+100>>2];e=q[b+96>>2];u[f+16>>2]=u[b+112>>2];u[f+20>>2]=u[b+116>>2];u[f+24>>2]=u[b+120>>2];u[f+28>>2]=u[b+124>>2];if((gp(d,e,c,lp(f+40|0,f+16|0),q[b+128>>2],211,h)|0)!=-1){break a}a=q[a+16>>2];d=bm(q[a+32>>2],q[a+36>>2]);c=Mi(q[a+48>>2],q[a+52>>2]);a=Mi(q[a+56>>2],q[a+60>>2]);q[f+12>>2]=Mi(q[b+96>>2],q[b+100>>2]);q[f+8>>2]=a;q[f+4>>2]=c;q[f>>2]=d;Ai(4,47991,47999,f);break a}a=q[62006];if((e|0)==q[a+8>>2]&(i|0)==q[a+12>>2]){a=q[(d+w(c,240)|0)+192>>2];if(!a){break a}if(!Av(a,q[b+96>>2],q[b+100>>2])){break a}a=d+w(c,240)|0;p[a+234>>1]=s[a+234>>1]|256;break a}a=q[62022];if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(i|0)){break a}a=d+w(c,240)|0;u[a+48>>2]=u[b+96>>2];u[a+52>>2]=u[b+100>>2];u[a+56>>2]=u[b+104>>2]}ti=f+112|0;return 0}}J(48683,48598,479,48308);G()}function _u(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=ti-16|0;ti=h;l=e^1;j=a+2208|0;e=0;a:{b:{c:{d:{e:{if((c|0)==-1){while(1){f=q[b+16>>2];g=q[b+20>>2]-f|0;xi[d|0](b,q[a+2132>>2],q[b+12>>2],(a+f|0)+2208|0,g);f=q[b+100>>2];if(!(!f|l)){rH(f,(q[b+16>>2]+a|0)+2208|0,g)}f=g+q[b+16>>2]|0;q[b+16>>2]=f;e=e+g|0;if((e|0)==-1){e=-1;break b}if(q[b+20>>2]!=(f|0)){break c}q[b+16>>2]=0;q[b+20>>2]=0;f:{g:{f=q[b+116>>2];h:{if(f){f=Ku(f,j,65536,h+12|0);break h}f=Du(q[b+112>>2],j,65536,h+12|0)}g=(f|0)==-3?-101:f;i=g+5|0;switch(i|0){case 0:break a;case 5:break f;case 1:case 2:case 3:case 4:break e;default:break g}}if((g|0)!=-101){break e}}f=q[a+2204>>2];if(q[f>>2]?f:0){break e}if(q[a+2160>>2]){f=pk();k=q[a+2168>>2];if(q[a+2160>>2]<=(f-k|0)){break e}}i:{switch(i|0){case 5:f=q[h+12>>2];if(!f){break a}q[b+20>>2]=f;continue;case 0:break a;case 1:case 2:case 3:case 4:break e;default:break i}}if((g|0)==-101){continue}break e}}while(1){f=c-e|0;g=q[b+16>>2];i=q[b+20>>2]-g|0;f=(f|0)<(i|0)?f:i;xi[d|0](b,q[a+2132>>2],q[b+12>>2],(a+g|0)+2208|0,f);g=q[b+100>>2];if(!(!g|l)){rH(g,(q[b+16>>2]+a|0)+2208|0,f)}e=e+f|0;if((e|0)>(c|0)){break d}f=f+q[b+16>>2]|0;q[b+16>>2]=f;if((c|0)==(e|0)){e=c;break b}if(q[b+20>>2]!=(f|0)){break c}q[b+16>>2]=0;q[b+20>>2]=0;j:{k:{f=q[b+116>>2];l:{if(f){f=Ku(f,j,65536,h+12|0);break l}f=Du(q[b+112>>2],j,65536,h+12|0)}g=(f|0)==-3?-101:f;i=g+5|0;switch(i|0){case 0:break a;case 5:break j;case 1:case 2:case 3:case 4:break e;default:break k}}if((g|0)!=-101){break e}}f=q[a+2204>>2];if(q[f>>2]?f:0){break e}if(q[a+2160>>2]){f=pk();k=q[a+2168>>2];if(q[a+2160>>2]<=(f-k|0)){break e}}m:{switch(i|0){case 5:f=q[h+12>>2];if(!f){break a}q[b+20>>2]=f;continue;case 0:break a;case 1:case 2:case 3:case 4:break e;default:break m}}if((g|0)==-101){continue}break}}ti=h+16|0;return-1}J(163802,163072,664,163856);G()}J(163867,163072,676,163856);G()}Sk(j,(a+f|0)+2208|0,q[b+20>>2]-f|0);a=q[b+16>>2];q[b+16>>2]=0;q[b+20>>2]=q[b+20>>2]-a}ti=h+16|0;return(c|0)!=-1?(c|0)!=(e|0)?-4:0:0}function XA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=ti-608|0;ti=g;ES(a,g+32|0);q[q[g+32>>2]+60>>2]=d;if(q[a+16>>2]!=40){e=q[a+52>>2];q[g+16>>2]=dl(a,40);Dj(a,_i(e,136607,g+16|0))}Gj(a);a:{if(!c){f=q[a+48>>2];i=q[f>>2];break a}Bm(a,no(a,136826,4),0);f=q[a+48>>2];c=r[f+50|0]+1|0;o[f+50|0]=c;i=q[f>>2];q[(q[i+24>>2]+w(s[(((c&255)<<1)+f|0)+170>>1],12)|0)+4>>2]=q[f+24>>2]}o[i+74|0]=0;c=0;h=q[a+16>>2];e=0;b:{if((h|0)==41){break b}while(1){c:{d:{switch(h-279|0){case 6:e=q[a+24>>2];Gj(a);Bm(a,e,c);c=c+1|0;break c;case 0:Gj(a);Bm(a,no(a,136872,3),c);o[i+74|0]=7;c=c+1|0;e=1;break b;default:break d}}Dj(a,136876)}e=r[i+74|0];if(!(e|q[a+16>>2]!=44)){Gj(a);h=q[a+16>>2];continue}break}e=e&1}h=q[a+48>>2];j=r[h+50|0]+c|0;o[h+50|0]=j;if(c){j=j&255;k=q[h+24>>2];l=q[q[h>>2]+24>>2];while(1){q[(w(s[(h+(j-c<<1)|0)+172>>1],12)+l|0)+4>>2]=k;c=c-1|0;if(c){continue}break}}c=r[f+50|0];o[i+73|0]=c-e;Lp(f,c);if(q[a+16>>2]!=41){c=q[a+52>>2];q[g>>2]=dl(a,41);Dj(a,_i(c,136607,g))}Gj(a);e=q[a+52>>2];c=s[e+52>>1]+1|0;p[e+52>>1]=c;if((c&65535)>>>0>=201){Pl(a,136621,0)}while(1){c=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){c=Gt(a);if(q[a+16>>2]==59){Gj(a)}e=q[a+48>>2];q[e+36>>2]=r[e+50|0];if(!c){continue}}break}c=q[a+52>>2];p[c+52>>1]=s[c+52>>1]-1;q[q[g+32>>2]+64>>2]=q[a+4>>2];Do(a,262,265,d);dM(a);e=q[a+48>>2];d=q[e>>2];c=q[d+52>>2];e:{if((c|0)>q[e+44>>2]){break e}i=Dq(q[a+52>>2],q[d+16>>2],d+52|0,4,262143,136901);q[d+16>>2]=i;f=q[d+52>>2];if((f|0)<=(c|0)){break e}q[i+(c<<2)>>2]=0;c=c+1|0;if((f|0)==(c|0)){break e}while(1){q[q[d+16>>2]+(c<<2)>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}f=q[d+16>>2];i=q[g+32>>2];h=q[e+44>>2];c=h+1|0;q[e+44>>2]=c;q[f+(h<<2)>>2]=i;f=q[g+32>>2];if(!(!(r[f+5|0]&3)|!(r[d+5|0]&4))){Qn(q[a+52>>2],d,f);c=q[e+44>>2]}a=0;c=lu(e,36,0,c-1|0);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=c;q[b>>2]=11;if(r[q[g+32>>2]+72|0]){while(1){b=(g+32|0)+(a<<1)|0;im(e,(r[b+51|0]!=6)<<2,0,r[b+52|0],0);a=a+1|0;if(a>>>0>2]+72|0]){continue}break}}ti=g+608|0}function jpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-176|0;ti=f;q[f+32>>2]=0;j=q[q[a+12>>2]>>2];q[f+28>>2]=0;d=1;a:{b:{c:{d:{e:{f:{g:{h:{c=q[a+16>>2];if(!q[c+80>>2]){break h}g=q[60296];if(q[c+64>>2]!=q[g+8>>2]|q[c+68>>2]!=q[g+12>>2]){break h}q[f+48>>2]=0;h=AL(q[c+96>>2],q[c+100>>2]);if(!h){q[f>>2]=Mi(q[c+96>>2],q[c+100>>2]);Ai(3,12753,12898,f);break c}if(tL(q[a+16>>2]+120|0,q[c+104>>2],h,f+28|0,f+48|0)){q[f+16>>2]=q[h+4>>2];Ai(3,12753,12951,f+16|0);break c}i=q[f+48>>2];b=Ji(i+96|0);g=q[a+16>>2];d=g;e=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=e;e=q[d+28>>2];q[b+24>>2]=q[d+24>>2];q[b+28>>2]=e;e=q[d+20>>2];q[b+16>>2]=q[d+16>>2];q[b+20>>2]=e;e=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=e;e=q[d+60>>2];q[b+56>>2]=q[d+56>>2];q[b+60>>2]=e;e=q[d+52>>2];q[b+48>>2]=q[d+48>>2];q[b+52>>2]=e;e=q[d+44>>2];q[b+40>>2]=q[d+40>>2];q[b+44>>2]=e;e=q[d+36>>2];q[b+32>>2]=q[d+32>>2];q[b+36>>2]=e;d=q[h+12>>2];q[b+64>>2]=q[h+8>>2];q[b+68>>2]=d;d=0;q[b+88>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+80>>2]=h;q[b+84>>2]=i;e=q[f+28>>2];Gi(b+96|0,e,i);h=q[c+108>>2];i:{if(h){d=r[c+112|0]!=0;c=h-2|0;break i}c=q[q[j>>2]+20>>2]}h=(h|0)!=0;if(!e){break g}g=b;break f}g=c}b=q[g+76>>2];if(b){c=b-2|0;h=1;break e}c=q[q[j>>2]+20>>2]}b=0;if((c|0)==-2){break d}}a=q[a+8>>2];b=0;j:{if(!a){break j}b=q[a+120>>2]}a=b;b=q[a+8>>2];i=q[a+12>>2];bj(a,-1e4,q[j+12>>2]);jk(a);k:{if(h){BF(a,c);if((Ei(a,-1)|0)!=6){Ci(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;jk(a);Ai(3,12753,13483,0);b=0;break d}if(!d){break k}vF(a,c);break k}bj(a,-1e4,c)}if((Ei(a,-1)|0)!=6){break b}b=b-i>>4;bj(a,-1e4,q[j+12>>2]);Zj(a,q[g+64>>2],q[g+68>>2]);c=q[g+80>>2];l:{if(c){yy(a,c,g+96|0);break l}c=q[g+84>>2];if(c){Lq(a,g+96|0,c);break l}gj(a,0,0)}Ul(a,g);c=ti-128|0;ti=c;ti=c+128|0;q[f+40>>2]=0;c=Vl(a,4,0);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;jk(a);if((b|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}b=c?-1e3:0}a=q[f+28>>2];if(!a){break c}cj(a);yi(g)}ti=f+176|0;return b|0}J(13555,12848,300,13577);G()}J(12827,12848,344,13577);G()}function hn(a,b){var c=0;c=a;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;a:{b:{if(!b){break b}c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}if(!r[862340]){break b}d:{if(o[862440]&1){break d}if(!Xj()){break d}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}b=q[215584];wj(b);e:{if(o[862440]&1){break e}if(!Xj()){break e}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=a;a=aN();q[c+24>>2]=a;f:{if(o[862440]&1){break f}if(!Xj()){break f}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215602];if(a>>>0>=q[215603]-c>>3>>>0){break a}a=c+(a<<3)|0;q[a>>2]=0;q[a+4>>2]=0;qj(b)}return}J(160603,160205,479,160614);G()}function mla(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=x(0),m=0,n=x(0),p=x(0),s=x(0),t=x(0),v=0;c=ti-80|0;ti=c;i=q[a+80>>2];d=i+4|0;a:{b=q[i+12>>2];b:{if((b|0)==q[i+8>>2]){jn(39964,39969,b-q[d>>2]>>2);a=-1e3;break b}m=S6(d);b=Fi(Oi(208),0,208);d=q[i+20>>2];if(q[i+24>>2]-d>>3>>>0<=m>>>0){break a}d=q[d+(m<<3)>>2];e=q[i+4>>2];if(d>>>0>=q[i+8>>2]-e>>2>>>0){break a}q[e+(d<<2)>>2]=b;e=q[a>>2];q[b>>2]=e;l=u[a+36>>2];g=u[a+44>>2];n=u[a+40>>2];j=u[a+24>>2];f=u[a+32>>2];d=q[a+20>>2];v=q[a+16>>2];q[b+28>>2]=0;q[b+44>>2]=0;q[b+60>>2]=0;q[b+64>>2]=v;q[b+68>>2]=d;q[b+76>>2]=1065353216;u[b+72>>2]=j;p=x(l+l);k=x(f*p);j=x(n+n);h=x(g*j);u[b+20>>2]=k+h;s=x(f*j);t=x(p*g);u[b+24>>2]=s-t;u[b+32>>2]=k-h;k=x(l*j);h=g;g=x(f+f);h=x(h*g);u[b+40>>2]=k+h;u[b+48>>2]=s+t;u[b+52>>2]=k-h;f=x(x(1)-x(f*g));g=x(n*j);u[b+36>>2]=f-g;h=f;f=x(l*p);u[b+56>>2]=h-f;u[b+16>>2]=x(x(1)-f)-g;q[b+152>>2]=q[a+76>>2];q[b+80>>2]=1065353216;q[b+84>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=1065353216;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=1065353216;q[b+124>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;q[b+140>>2]=1065353216;q[b+200>>2]=0;o[b+204|0]=r[b+204|0]|1;d=b+16|0;e=op(e);c:{if((q[q[b>>2]+136>>2]&512)>>>9|0){Kk(c,e,d);break c}Tn(c,e,d)}u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];u[b+96>>2]=u[c+16>>2];u[b+100>>2]=u[c+20>>2];u[b+104>>2]=u[c+24>>2];u[b+108>>2]=u[c+28>>2];u[b+112>>2]=u[c+32>>2];u[b+116>>2]=u[c+36>>2];u[b+120>>2]=u[c+40>>2];u[b+124>>2]=u[c+44>>2];u[b+128>>2]=u[c+48>>2];u[b+132>>2]=u[c+52>>2];u[b+136>>2]=u[c+56>>2];u[b+140>>2]=u[c+60>>2];d=q[b+192>>2];if(!d){d=q[q[b+152>>2]+8>>2]}if(q[d+104>>2]==1){d=q[b+156>>2];if(!d){d=q[q[b+152>>2]+4>>2]}q[c>>2]=0;q[c+4>>2]=0;q[c+16>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;$p(q[d+4>>2],c+76|0);Uj(c,d+4|0,4);Uj(c,c+76|0,4);e=Bn(c);q[b+200>>2]=e;$J(i,d,e)}PJ(b);q[q[a+88>>2]>>2]=m;a=0}ti=c+80|0;return a|0}J(41371,40669,479,41382);G()}function SE(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0;j=ti-128|0;ti=j;a:{b:{c:{if(!gq(f,g,h,i,0,0,0,0)){break c}l=lva(f,g,h,i);s=e>>>16|0;n=s&32767;if((n|0)==32767){break c}if(l){break b}}yk(j+16|0,b,c,d,e,f,g,h,i);e=q[j+16>>2];d=q[j+20>>2];c=q[j+24>>2];b=q[j+28>>2];_M(j,e,d,c,b,e,d,c,b);d=q[j+8>>2];e=q[j+12>>2];h=q[j>>2];i=q[j+4>>2];break a}l=n<<16;o=d;r=l|e&65535;m=r;p=h;r=i>>>16&32767;k=i&65535|r<<16;if((gq(b,c,o,m,f,g,h,k)|0)<=0){if(gq(b,c,o,m,f,g,p,k)){h=b;i=c;break a}yk(j+112|0,b,c,d,e,0,0,0,0);d=q[j+120>>2];e=q[j+124>>2];h=q[j+112>>2];i=q[j+116>>2];break a}if(n){i=c;h=b}else{yk(j+96|0,b,c,o,m,0,0,0,1081540608);h=q[j+108>>2];m=h;o=q[j+104>>2];n=(h>>>16|0)-120|0;i=q[j+100>>2];h=q[j+96>>2]}if(!r){yk(j+80|0,f,g,p,k,0,0,0,1081540608);f=q[j+92>>2];k=f;p=q[j+88>>2];r=(k>>>16|0)-120|0;g=q[j+84>>2];f=q[j+80>>2]}t=k&65535|65536;m=m&65535|65536;if((n|0)>(r|0)){while(1){k=o;l=p;u=k-l|0;l=m-((k>>>0>>0)+t|0)|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(k>>>0>u>>>0)|0;k=u-k|0;d:{if((l|0)>0?1:(l|0)>=0){m=h;h=h-f|0;i=i-((f>>>0>m>>>0)+g|0)|0;if(!(h|k|(i|l))){yk(j+32|0,b,c,d,e,0,0,0,0);d=q[j+40>>2];e=q[j+44>>2];h=q[j+32>>2];i=q[j+36>>2];break a}l=l<<1|k>>>31;o=k<<1|i>>>31;break d}l=m<<1|o>>>31;o=o<<1|i>>>31}m=l;l=i<<1|h>>>31;h=h<<1;i=l;n=n-1|0;if((r|0)<(n|0)){continue}break}n=r}l=o;r=l-p|0;k=m-((l>>>0

>>0)+t|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=k-(l>>>0>r>>>0)|0;p=r-l|0;e:{if((k|0)<0){p=o;k=m;break e}o=h;h=h-f|0;i=i-((f>>>0>o>>>0)+g|0)|0;if(h|p|(i|k)){break e}yk(j+48|0,b,c,d,e,0,0,0,0);d=q[j+56>>2];e=q[j+60>>2];h=q[j+48>>2];i=q[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;n=n-1|0;m=i<<1|h>>>31;h=h<<1;i=m;c=b;b=p;k=k<<1|b>>>31;p=c|b<<1;if(k>>>0<65536){continue}break}}b=s&32768;if((n|0)<=0){yk(j- -64|0,h,i,p,k&65535|(b|n+120)<<16,0,0,0,1065811968);d=q[j+72>>2];e=q[j+76>>2];h=q[j+64>>2];i=q[j+68>>2];break a}d=p;e=k&65535|(b|n)<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=d;q[a+12>>2]=e;ti=j+128|0}function gH(a,b,c,d,e){var f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0),L=x(0),M=x(0),N=x(0),O=x(0),P=x(0),Q=x(0),R=x(0),S=x(0),T=x(0),U=x(0),V=x(0);e=e?4:6;f=u[b+48>>2];i=u[d>>2];j=u[b>>2];l=x(i*j);o=u[d+4>>2];k=u[b+16>>2];m=x(o*k);g=x(l+m);p=u[d+8>>2];D=u[b+32>>2];h=x(p*D);M=x(f+x(g+h));n=g;q=u[c+8>>2];g=x(q*D);D=x(f+x(n+g));n=l;l=u[c+4>>2];E=x(l*k);k=x(n+E);N=x(f+x(k+h));O=x(f+x(k+g));k=u[c>>2];j=x(k*j);m=x(j+m);P=x(f+x(m+h));Q=x(f+x(m+g));j=x(j+E);E=x(f+x(j+h));R=x(f+x(j+g));f=u[b+60>>2];r=u[b+12>>2];n=x(i*r);t=u[b+28>>2];v=x(o*t);F=x(n+v);G=u[b+44>>2];j=x(p*G);S=x(f+x(F+j));h=u[b+56>>2];B=u[b+8>>2];C=x(i*B);w=u[b+24>>2];y=x(o*w);H=x(C+y);I=u[b+40>>2];m=x(p*I);T=x(h+x(H+m));g=u[b+52>>2];z=u[b+4>>2];A=x(i*z);J=u[b+20>>2];K=x(o*J);s=x(A+K);L=u[b+36>>2];i=x(p*L);U=x(g+x(s+i));o=x(q*G);F=x(f+x(F+o));p=x(q*I);G=x(h+x(H+p));q=x(q*L);H=x(g+x(s+q));s=n;n=x(l*t);t=x(s+n);I=x(f+x(t+j));s=C;C=x(l*w);w=x(s+C);s=x(h+x(w+m));l=x(l*J);A=x(A+l);J=x(g+x(A+i));t=x(f+x(t+o));w=x(h+x(w+p));A=x(g+x(A+q));r=x(k*r);v=x(r+v);L=x(f+x(v+j));B=x(k*B);y=x(B+y);V=x(h+x(y+m));k=x(k*z);z=x(k+K);K=x(g+x(z+i));v=x(f+x(v+o));y=x(h+x(y+p));z=x(g+x(z+q));r=x(r+n);j=x(f+x(r+j));n=x(B+C);m=x(h+x(n+m));l=x(k+l);k=x(g+x(l+i));o=x(f+x(r+o));p=x(h+x(n+p));q=x(g+x(l+q));b=0;d=1;while(1){a:{c=(b<<4)+a|0;f=u[c>>2];h=u[c+4>>2];g=u[c+8>>2];i=u[c+12>>2];b:{if(x(x(x(x(f*R)+x(h*q))+x(g*p))+x(i*o))>=x(0)|!(x(x(x(x(f*E)+x(h*k))+x(g*m))+x(i*j))>=x(0)^1)|(x(x(x(x(f*Q)+x(h*z))+x(g*y))+x(i*v))>=x(0)|x(x(x(x(f*P)+x(h*K))+x(g*V))+x(i*L))>=x(0))){break b}if(x(x(x(x(f*O)+x(h*A))+x(g*w))+x(i*t))>=x(0)|x(x(x(x(f*N)+x(h*J))+x(g*s))+x(i*I))>=x(0)|x(x(x(x(f*D)+x(h*H))+x(g*G))+x(i*F))>=x(0)){break b}if(x(x(x(x(f*M)+x(h*U))+x(g*T))+x(i*S))>=x(0)^1){break a}}b=b+1|0;d=e>>>0>b>>>0;if((b|0)!=(e|0)){continue}}break}return(d^-1)&1}function Nj(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;e=ti-1104|0;ti=e;a:{b:{c:{d:{e:{f:{g:{if(b){if(!c){break g}q[c>>2]=0;f=r[b|0];if((f|0)!=47){if(!f){Ai(4,24387,24396,0);d=-3;break b}q[e>>2]=b;Ai(4,24387,24416,e);d=-3;break b}l=q[a+5140>>2];wj(l);d=q[a+5144>>2];h:{if(d){g=q[a+5148>>2];f=q[a+5152>>2];break h}g=q[a+5148>>2];q[a+5152>>2]=g;f=g}k=a+5148|0;q[a+5144>>2]=d+1;j=a+5152|0;i:{d=f-g|0;if(!d){break i}i=d>>2;h=g-f|0;h=((d|0)<(h|0)?h:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(h,(d|0)<1?d:1);h=d>>>0>1?d:1;d=0;while(1){if(nj(q[(d<<2)+g>>2],b)){d=d+1|0;if((h|0)!=(d|0)){continue}break i}break}d=0;Ai(4,24387,25189,0);Ai(4,24387,25222,0);while(1){c=q[k>>2];if(q[j>>2]-c>>2>>>0<=d>>>0){break f}q[e+52>>2]=q[c+(d<<2)>>2];q[e+48>>2]=d;Ai(4,24387,25239,e+48|0);d=d+1|0;if((h|0)!=(d|0)){continue}break}q[e+36>>2]=b;q[e+32>>2]=i;Ai(4,24387,25239,e+32|0);d=-16;break c}h=a+5156|0;d=q[h>>2];if((f|0)==(d|0)){if(o[a+5160|0]&1){break a}Ii((f-q[k>>2]>>2)+16|0,4,k,h,j);d=q[h>>2];f=q[j>>2]}if((d|0)==(f|0)){break e}q[j>>2]=f+4;q[f>>2]=b;f=0;q[e+1096>>2]=0;q[e+16>>2]=24386;q[e+20>>2]=b;hj(e- -64|0,1024,24380,e+16|0);g=e- -64|0;i=g;while(1){d=r[i|0];j:{k:{if((d|0)!=47){if(d){break k}o[g|0]=0;g=vl(e- -64|0,Ui(e- -64|0));f=wi;i=f;d=_F(a,e- -64|0,g,f,c,e+60|0);l:{if(d){break l}d=0;if(q[c>>2]){break l}q[e+56>>2]=0;d=a+7376|0;n=a+7380|0;m=a+7384|0;f=q[a+7376>>2];if((q[m>>2]-f|0)!=1048576){if(o[a+7388|0]&1){break a}Ii(1048576,1,d,m,a+7380|0);f=q[a+7376>>2]}q[n>>2]=f;d=Ou(a,e- -64|0,b,e+56|0,d);if(d){break l}d=gG(a,q[e+60>>2],b,e- -64|0,g,i,q[a+7376>>2],q[e+56>>2],c)}b=q[k>>2];c=(q[j>>2]-b>>2)-1|0;if(c>>>0>q[h>>2]-b>>2>>>0){break d}q[j>>2]=b+(c<<2);break c}if((f&255)==47){break j}}o[g|0]=d;g=g+1|0}i=i+1|0;f=d;continue}}J(25156,24451,1232,25185);G()}J(25176,24451,1233,25185);G()}J(27197,26397,479,27208);G()}J(27219,26397,533,27243);G()}J(27030,26397,506,27049);G()}q[a+5144>>2]=q[a+5144>>2]-1;qj(l)}ti=e+1104|0;return d}J(26943,26397,493,27018);G()}function W7(a,b){var c=0,d=0,e=0,f=0;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}if(r[862340]){b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}e=q[215584];wj(e);c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215595];d:{if(!c){break d}c=q[q[215594]+(Qwa(a,b,c)<<2)>>2];if((c|0)==-1){break d}f=q[215596];while(1){d=w(c,24)+f|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+16>>2];if((c|0)!=-1){continue}break d}break}yi(q[(w(c,24)+f|0)+8>>2]);e:{if(o[862440]&1){break e}if(!Xj()){break e}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}V7(a,b)}qj(e)}}function At(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:while(1){j=b-8|0;b:while(1){e=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{d=b-e|0;a=d>>3;switch(a|0){case 4:break j;case 2:break k;case 0:case 1:break d;case 3:break g;case 5:break i;default:break h}}d=b-8|0;c=q[d>>2];b=q[d+4>>2];a=q[e+4>>2];if((b|0)==(a|0)&t[e>>2]<=c>>>0|a>>>0>>0){break d}Il(e,d);return}Dw(e,e+8|0,e+16|0,b-8|0);return}Aw(e,e+8|0,e+16|0,e+24|0,b-8|0);return}if((d|0)<=247){YN(e,b);return}g=((a|0)/2<<3)+e|0;l:{if((d|0)>=7993){a=(a|0)/4<<3;h=Aw(e,a+e|0,g,a+g|0,j);break l}h=jq(e,g,j)}a=j;f=q[e+4>>2];d=q[g+4>>2];if((f|0)==(d|0)&t[e>>2]>=t[g>>2]|d>>>0>>0){while(1){a=a-8|0;if((e|0)==(a|0)){f=e+8|0;d=q[e+4>>2];a=q[j+4>>2];if((d|0)==(a|0)&t[e>>2]>2]|a>>>0>d>>>0){break e}while(1){if((f|0)==(j|0)){break d}d=q[e+4>>2];a=q[f+4>>2];if((d|0)==(a|0)&t[e>>2]>2]|a>>>0>d>>>0){Il(f,j);f=f+8|0;break e}else{f=f+8|0;continue}}}f=q[a+4>>2];d=q[g+4>>2];if((f|0)==(d|0)&t[a>>2]>=t[g>>2]|d>>>0>>0){continue}break}Il(e,a);h=h+1|0}d=e+8|0;if(d>>>0>=a>>>0){break f}while(1){f=d;d=d+8|0;k=q[f+4>>2];i=q[g+4>>2];if((k|0)==(i|0)&t[f>>2]>2]|i>>>0>k>>>0){continue}while(1){a=a-8|0;k=q[a+4>>2];i=q[g+4>>2];if((k|0)==(i|0)&t[g>>2]<=t[a>>2]|i>>>0>>0){continue}break}if(a>>>0>>0){d=f;break f}else{Il(f,a);g=(f|0)==(g|0)?a:g;h=h+1|0;continue}}}jq(e,e+8|0,b-8|0);break d}m:{if((d|0)==(g|0)){break m}f=q[g+4>>2];a=q[d+4>>2];if((f|0)==(a|0)&t[g>>2]>=t[d>>2]|a>>>0>>0){break m}Il(d,g);h=h+1|0}if(!h){f=jM(e,d);a=d+8|0;if(jM(a,b)){b=d;a=e;if(!f){continue a}break d}if(f){continue b}}if((d-e|0)<(b-d|0)){At(e,d,c);a=d+8|0;continue b}At(d+8|0,b,c);b=d;a=e;continue a}a=j;if((f|0)==(a|0)){break d}while(1){d=f;f=d+8|0;i=q[e+4>>2];h=q[d+4>>2];if((i|0)==(h|0)&t[e>>2]>=t[d>>2]|h>>>0>>0){continue}while(1){a=a-8|0;k=q[a>>2];i=q[e+4>>2];h=q[a+4>>2];if((i|0)==(h|0)&k>>>0>t[e>>2]|h>>>0>i>>>0){continue}break}if(a>>>0<=d>>>0){e=d;continue c}else{Il(d,a);continue}}}break}break}break}}function xr(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-16|0;g=q[q[c+8>>2]+116>>2];f=q[q[b+8>>2]+116>>2];a:{b:{if(f>>>0>=t[q[a+8>>2]+116>>2]){h=0;if(f>>>0<=g>>>0){break a}q[e+8>>2]=q[b+8>>2];f=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=f;q[b+8>>2]=q[c+8>>2];f=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=f;q[c+8>>2]=q[e+8>>2];f=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=f;h=1;if(t[q[b+8>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){break a}q[e+8>>2]=q[a+8>>2];f=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=f;q[a+8>>2]=q[b+8>>2];f=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=f;q[b+8>>2]=q[e+8>>2];f=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=f;break b}if(f>>>0>g>>>0){q[e+8>>2]=q[a+8>>2];f=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=f;q[a+8>>2]=q[c+8>>2];f=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=f;q[c+8>>2]=q[e+8>>2];f=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=f;h=1;break a}q[e+8>>2]=q[a+8>>2];f=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=f;q[a+8>>2]=q[b+8>>2];f=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=f;q[b+8>>2]=q[e+8>>2];f=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=f;h=1;if(t[q[c+8>>2]+116>>2]>=t[q[b+8>>2]+116>>2]){break a}q[e+8>>2]=q[b+8>>2];f=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=f;q[b+8>>2]=q[c+8>>2];f=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=f;q[c+8>>2]=q[e+8>>2];f=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=f}h=2}f=h;if(t[q[d+8>>2]+116>>2]>2]+116>>2]){q[e+8>>2]=q[c+8>>2];g=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=g;q[c+8>>2]=q[d+8>>2];g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;q[d+8>>2]=q[e+8>>2];g=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=g;if(t[q[c+8>>2]+116>>2]>=t[q[b+8>>2]+116>>2]){return f+1|0}q[e+8>>2]=q[b+8>>2];d=q[b+4>>2];q[e>>2]=q[b>>2];q[e+4>>2]=d;q[b+8>>2]=q[c+8>>2];d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;q[c+8>>2]=q[e+8>>2];d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;if(t[q[b+8>>2]+116>>2]>=t[q[a+8>>2]+116>>2]){return f+2|0}q[e+8>>2]=q[a+8>>2];c=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=c;q[a+8>>2]=q[b+8>>2];c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;q[b+8>>2]=q[e+8>>2];a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;f=f+3|0}return f}function OK(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;d=ti-48|0;ti=d;c=q[a>>2];q[d+24>>2]=0;a:{b:{if(c){a=q[c+4>>2];if(!a){break b}i=q[a>>2];if(!i){h=1;break a}h=1;while(1){k=s[(a+(b<<1)|0)+28568>>1];f=a+w(k,112)|0;g=f;if(q[g+72>>2]){q[d+16>>2]=0;q[d+32>>2]=q[c+8>>2];q[d+36>>2]=q[((k<<2)+c|0)+12>>2];q[d+40>>2]=q[f+24>>2];h=!(xi[q[g+72>>2]](d+32|0)|0)&h}b=b+1|0;if((i|0)!=(b|0)){continue}break}break a}J(8977,7291,2708,9025);G()}J(12220,7291,2710,9025);G()}c:{a=s[c+3260>>1];d:{if((a|0)!=32767){i=0;k=0;while(1){q[c+3260>>2]=2147450879;m=k;k=k+1|0;b=a;e:{f:{g:{h:{i:{j:{while(1){j=q[c+1036>>2];l=q[c+1040>>2]-j>>2;b=b&65535;if(l>>>0<=b>>>0){break c}e=q[j+(b<<2)>>2];b=e;f=q[b+140>>2];b=q[b+136>>2];n=l;g=f;l=g&32767;if(n>>>0<=l>>>0){break c}f=j;j=l<<2;if((e|0)!=q[f+j>>2]){break j}if(!(g&32768)){break i}f=s[e+144>>1];if(b&256){p[e+144>>1]=f;q[e+136>>2]=b&-257;q[e+140>>2]=g;b=q[c+1036>>2];if(l>>>0>=q[c+1040>>2]-b>>2>>>0){break c}if((e|0)!=q[b+j>>2]){break h}h=AA(c,e)&h;b=s[e+144>>1]}else{b=f}if((b&65535)!=32767){continue}break}b=q[c+3220>>2];q[d+32>>2]=q[c+3216>>2];q[d+36>>2]=b;b=q[c+3228>>2];q[d+40>>2]=q[c+3224>>2];q[d+44>>2]=b;h=kr(c,d+32|0,2)&h;while(1){e=q[c+1036>>2];j=q[c+1040>>2]-e>>2;if(j>>>0<=a>>>0){break c}g=q[e+(a<<2)>>2];b=g;a=q[b+140>>2];f=a;a=a&32767;if(a>>>0>=j>>>0){break c}if((g|0)!=q[e+(a<<2)>>2]){break g}if(!(f&32768)){break f}a=s[g+144>>1];XK(c,g);i=i+1|0;if((a|0)!=32767){continue}break}break e}J(8292,7291,2750,9025);G()}J(12224,7291,2751,9025);G()}J(8292,7291,1830,12110);G()}J(8292,7291,2769,9025);G()}J(12224,7291,2770,9025);G()}if(m>>>0<=8){a=s[c+3260>>1];if((a|0)!=32767){continue}}break}if((k|0)!=10){break d}Ai(3,7418,12248,0);break d}a=q[c+3220>>2];q[d+32>>2]=q[c+3216>>2];q[d+36>>2]=a;a=q[c+3228>>2];q[d+40>>2]=q[c+3224>>2];q[d+44>>2]=a;h=kr(c,d+32|0,2)&h;i=0}q[74190]=q[74190]+i;q[d+32>>2]=i;q[d+36>>2]=0;q[d+8>>2]=i;q[d+12>>2]=0;ti=d+48|0;return h}J(12518,10061,479,9553);G()}function kP(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,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;z=ti-256|0;ti=z;f=z;while(1){a:{b:{e=s[c+32>>1];d=p[c+16>>1];if((e|d)&65535){break b}e=0;if(s[c+48>>1]|s[c+64>>1]|(s[c+80>>1]|s[c+96>>1])){break b}if(s[c+112>>1]){break b}d=p[c>>1]<<2;q[f+192>>2]=d;q[f+224>>2]=d;q[f+160>>2]=d;q[f+128>>2]=d;q[f+96>>2]=d;q[f+64>>2]=d;q[f+32>>2]=d;q[f>>2]=d;break a}j=p[c+96>>1];k=e<<16>>16;e=w(j+k|0,2217);i=p[c+80>>1];g=i+d|0;l=w(g,-1597);h=g;g=p[c+48>>1];u=p[c+112>>1];m=g+u|0;h=w(h+m|0,4816);k=e+w(k,3135)|0;n=p[c+64>>1];r=p[c>>1];x=n+r<<12;t=(k+x|0)+512|0;v=l+w(d,6149)|0;d=h+w(d+u|0,-3685)|0;v=v+d|0;q[f+224>>2]=t-v>>10;q[f>>2]=t+v>>10;e=e+w(j,-7567)|0;j=r-n<<12;n=(e+j|0)+512|0;m=w(m,-8034);r=m+w(g,12586)|0;g=h+w(g+i|0,-10497)|0;h=r+g|0;q[f+192>>2]=n-h>>10;q[f+32>>2]=h+n>>10;e=(j-e|0)+512|0;i=g+(l+w(i,8410)|0)|0;q[f+160>>2]=e-i>>10;q[f+64>>2]=e+i>>10;e=(x-k|0)+512|0;d=d+(m+w(u,1223)|0)|0;q[f+128>>2]=e-d>>10;q[f+96>>2]=d+e>>10}f=f+4|0;c=c+2|0;y=y+1|0;if((y|0)!=8){continue}break}f=0;c=z;while(1){j=q[c+24>>2];k=q[c+8>>2];d=w(j+k|0,2217);e=q[c+4>>2];i=q[c+20>>2];g=e+i|0;l=w(g,-1597);h=g;g=q[c+12>>2];u=q[c+28>>2];m=g+u|0;h=w(h+m|0,4816);k=d+w(k,3135)|0;n=q[c+16>>2];r=q[c>>2];x=n+r<<12;t=(k+x|0)+16842752|0;v=h+w(e+u|0,-3685)|0;y=v+(l+w(e,6149)|0)|0;A=t-y|0;e=A>>17;o[a+7|0]=e>>>0>255?A>>31^-1:e;t=t+y|0;e=t>>17;o[a|0]=e>>>0>255?t>>31^-1:e;e=d+w(j,-7567)|0;j=r-n<<12;n=(e+j|0)+16842752|0;m=w(m,-8034);d=m+w(g,12586)|0;g=h+w(g+i|0,-10497)|0;h=d+g|0;r=n-h|0;d=r>>17;o[a+6|0]=d>>>0>255?r>>31^-1:d;h=h+n|0;d=h>>17;o[a+1|0]=d>>>0>255?h>>31^-1:d;e=(j-e|0)+16842752|0;i=g+(l+w(i,8410)|0)|0;l=e-i|0;d=l>>17;o[a+5|0]=d>>>0>255?l>>31^-1:d;e=e+i|0;d=e>>17;o[a+2|0]=d>>>0>255?e>>31^-1:d;e=(x-k|0)+16842752|0;i=v+(m+w(u,1223)|0)|0;l=e-i|0;d=l>>17;o[a+4|0]=d>>>0>255?l>>31^-1:d;e=e+i|0;d=e>>17;o[a+3|0]=d>>>0>255?e>>31^-1:d;a=a+b|0;c=c+32|0;f=f+1|0;if((f|0)!=8){continue}break}ti=z+256|0}function $ha(a,b,c,d){var e=0,f=0,g=0,h=0;h=ti-16|0;ti=h;g=q[b+2384>>2];f=52591;e=rk(a,52591,0,0,223,0,222,221);a:{b:{if(e){break b}f=52347;e=rk(a,52347,d,0,226,0,225,224);if(e){break b}f=52658;e=rk(a,52658,d,0,229,0,228,227);if(e){break b}f=52671;e=rk(a,52671,0,233,232,0,231,230);if(e){break b}f=52404;e=rk(a,52404,g,238,237,236,235,234);if(e){break b}f=52683;e=rk(a,52683,g,242,241,0,240,239);if(e){break b}f=52687;e=rk(a,52687,g,246,245,0,244,243);if(e){break b}f=52373;e=rk(a,52373,b,250,249,0,248,247);if(e){break b}f=52389;e=rk(a,52389,g,254,253,0,252,251);if(e){break b}f=52691;e=rk(a,52691,g,258,257,0,256,255);if(e){break b}f=52397;e=rk(a,52397,g,262,261,0,260,259);if(e){break b}f=52379;e=rk(a,52379,b,266,265,0,264,263);if(e){break b}f=52697;e=rk(a,52697,0,0,269,0,268,267);if(e){break b}f=52702;e=rk(a,52702,0,0,269,0,268,267);if(e){break b}f=52707;e=rk(a,52707,0,273,272,0,271,270);if(e){break b}f=52714;e=rk(a,52714,0,0,276,0,275,274);if(e){break b}f=52722;e=rk(a,52722,c,0,279,0,278,277);if(e){break b}f=52737;e=rk(a,52737,0,0,282,0,281,280);if(e){break b}f=52364;e=rk(a,52364,0,286,285,0,284,283);if(e){break b}f=52328;e=rk(a,52328,0,290,289,0,288,287);if(e){break b}f=52747;e=rk(a,52747,0,294,293,0,292,291);if(e){break b}f=52754;e=rk(a,52754,0,0,297,0,296,295);if(e){break b}f=52761;e=rk(a,52761,b,0,300,0,299,298);if(e){break b}f=52776;e=rk(a,52776,b,0,303,0,302,301);if(e){break b}f=52784;e=rk(a,52784,0,307,306,0,305,304);if(e){break b}f=52413;e=rk(a,52413,d,311,310,0,309,308);if(e){break b}f=52425;e=rk(a,52425,d,315,314,0,313,312);if(e){break b}f=52792;e=rk(a,52792,0,319,318,0,317,316);if(e){break b}f=52801;e=rk(a,52801,0,323,322,0,321,320);if(e){break b}c=0;f=52811;e=rk(a,52811,0,327,326,0,325,324);if(e){break b}f=52821;e=rk(a,52821,b,0,330,0,329,328);if(!e){break a}}a=h;b=e+21|0;c:{if(b>>>0<=21){b=q[(b<<2)+242852>>2];break c}b=26156}q[a+4>>2]=b;q[h>>2]=f;Ai(5,52608,52616,h);c=e}ti=h+16|0;return c}function vta(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,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=ti-112|0;ti=e;a:{if(!c|!d){break a}if((Rwa(c<<2)|0)!=1){break a}if((Rwa(d<<2)|0)!=1){break a}l=e+92|0;m=e+88|0;n=e+84|0;p=e+80|0;r=e+76|0;s=e+72|0;t=e+68|0;u=e- -64|0;v=e+60|0;x=e+56|0;y=e+52|0;z=e+48|0;A=e+32|12;B=e+32|8;C=e+32|4;j=oM(e+96|0,w(c,d));b:{while(1){E=w(c,k);f=1;i=0;c:{d:{while(1){D=i+E|0;h=e+32|0;if(!cq((D<<4)+a|0,h)){break d}f=e+24|0;o[f+3|0]=255;o[f+2|0]=255;o[f+1|0]=255;o[f|0]=255;g=e+16|0;o[g+3|0]=0;o[g+2|0]=0;o[g+1|0]=0;o[g|0]=0;Ck(e+8|0,f,h);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,h);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,C);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,C);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,B);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,B);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,A);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,A);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,z);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,z);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,y);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,y);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,x);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,x);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,v);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,v);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,u);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,u);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,t);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,t);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,s);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,s);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,r);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,r);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,p);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,p);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,n);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,n);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,m);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,m);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,l);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,l);q[e+16>>2]=q[e+8>>2];h=e+8|0;q[h>>2]=0;q[h+4>>2]=0;Jta(h,f);Kta(h,g);f=q[e+12>>2];q[ol(j,D)>>2]=f;i=i+1|0;f=i>>>0>>0;if((c|0)!=(i|0)){continue}break}break c}if(f){break b}}k=k+1|0;if((k|0)!=(d|0)){continue}break}Uta(a,ol(j,0),b,c,d)}bq(j)}ti=e+112|0}function Uj(a,b,c){var d=0,e=0,f=0,g=0,h=0;q[a+12>>2]=q[a+12>>2]+c;a:{if(!c){break a}d=b;e=c;while(1){f=q[a+8>>2];if(!(f?0:(e|0)>=4)){g=r[d|0];h=f+1|0;q[a+8>>2]=h;f=q[a+4>>2]|g<<(f<<3);q[a+4>>2]=f;e=e-1|0;if((h|0)==4){q[a+4>>2]=0;q[a+8>>2]=0;f=w(f,1540483477);q[a>>2]=w(q[a>>2],1540483477)^w(f>>>24^f,1540483477)}d=d+1|0;if(e){continue}break a}break}g=q[a>>2];while(1){f=w(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24),1540483477);g=w(f>>>24^f,1540483477)^w(g,1540483477);q[a>>2]=g;d=d+4|0;h=(e|0)>7;f=e-4|0;e=f;if(h){continue}break}if(!f){break a}while(1){e=q[a+8>>2];if(e?0:(f|0)>=4){break a}g=r[d|0];h=e+1|0;q[a+8>>2]=h;e=q[a+4>>2]|g<<(e<<3);q[a+4>>2]=e;f=f-1|0;if((h|0)==4){q[a+4>>2]=0;q[a+8>>2]=0;e=w(e,1540483477);q[a>>2]=w(q[a>>2],1540483477)^w(e>>>24^e,1540483477)}d=d+1|0;if(f){continue}break}}b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;d=Hj();o[862340]=0;q[215584]=d;Wj()}c:{d:{if(!(!r[862340]|!q[a+16>>2]|t[a+12>>2]>1024)){e:{if(o[862440]&1){break e}if(!Xj()){break e}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;d=Hj();o[862340]=0;q[215584]=d;Wj()}a=q[a+16>>2];if(!a){break d}d=q[215602];if(a>>>0>=q[215603]-d>>3>>>0){break c}a=d+(a<<3)|0;d=s[a+4>>1]+c|0;e=nl(q[a>>2],d+32&-16);q[a>>2]=e;Gi(e+s[a+4>>1]|0,b,c);o[d+e|0]=0;p[a+4>>1]=d}return}J(160390,160102,150,160429);G()}J(160603,160205,479,160614);G()}function dla(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=x(0);b=ti-112|0;ti=b;q[b+24>>2]=0;h=q[q[a+8>>2]>>2];f=q[a+4>>2];q[b+104>>2]=0;a:{b:{c=q[f+8>>2];a=q[f+4>>2];d=c-a|0;if(!d){break b}if((a|0)!=(c|0)){c=a-c|0;c=((c|0)>(d|0)?c:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(c,(d|0)<1?d:1);c=d>>>0>1?d:1;while(1){a=q[(e<<2)+a>>2];c:{if((r[a+204|0]&3)!=3){break c}d=op(q[a>>2]);if((q[q[a>>2]+136>>2]&512)>>>9|0){Kk(b+32|0,d,a+16|0);u[a+80>>2]=u[b+32>>2];u[a+84>>2]=u[b+36>>2];u[a+88>>2]=u[b+40>>2];u[a+92>>2]=u[b+44>>2];u[a+96>>2]=u[b+48>>2];u[a+100>>2]=u[b+52>>2];u[a+104>>2]=u[b+56>>2];u[a+108>>2]=u[b+60>>2];u[a+112>>2]=u[b+64>>2];u[a+116>>2]=u[b+68>>2];u[a+120>>2]=u[b+72>>2];u[a+124>>2]=u[b+76>>2];u[a+128>>2]=u[b+80>>2];u[a+132>>2]=u[b+84>>2];u[a+136>>2]=u[b+88>>2];u[a+140>>2]=u[b+92>>2];break c}Tn(b+32|0,d,a+16|0);u[a+80>>2]=u[b+32>>2];u[a+84>>2]=u[b+36>>2];u[a+88>>2]=u[b+40>>2];u[a+92>>2]=u[b+44>>2];u[a+96>>2]=u[b+48>>2];u[a+100>>2]=u[b+52>>2];u[a+104>>2]=u[b+56>>2];u[a+108>>2]=u[b+60>>2];u[a+112>>2]=u[b+64>>2];u[a+116>>2]=u[b+68>>2];u[a+120>>2]=u[b+72>>2];u[a+124>>2]=u[b+76>>2];u[a+128>>2]=u[b+80>>2];u[a+132>>2]=u[b+84>>2];u[a+136>>2]=u[b+88>>2];u[a+140>>2]=u[b+92>>2]}e=e+1|0;if((c|0)==(e|0)){break b}a=q[f+4>>2];if(q[f+8>>2]-a>>2>>>0>e>>>0){continue}break}}break a}c=q[f+8>>2];g=q[f+4>>2];e=c-g|0;d=ap(h,e>>2);i=Ru(h,181,182,f);a=d;d:{if(e){a=g-c|0;c=((a|0)>(e|0)?a:e)>>>2|0;a=(e|0)>-1?e:-1;a=w(c,(a|0)<1?a:1);g=a>>>0>1?a:1;i=i<<6;e=0;a=d;while(1){c=q[f+4>>2];if(q[f+8>>2]-c>>2>>>0<=e>>>0){break d}c=q[c+(e<<2)>>2];if(o[c+204|0]&1){q[75304]=q[75304]+1;q[b+16>>2]=1;q[b+20>>2]=0;q[b+8>>2]=1;q[b+12>>2]=0;j=q[c+128>>2];k=q[c+132>>2];l=u[c+136>>2];q[a+16>>2]=c;q[a+20>>2]=0;u[a+8>>2]=l;q[a>>2]=j;q[a+4>>2]=k;q[a+28>>2]=q[c+144>>2];q[a+32>>2]=q[q[q[c+152>>2]+8>>2]+80>>2];q[a+36>>2]=i|q[a+36>>2]&-16384|16;a=a+48|0}e=e+1|0;if((g|0)!=(e|0)){continue}break}}$o(h,d,a);ti=b+112|0;return 0}}J(41371,40669,486,41382);G()}function EA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=ti-48|0;ti=e;q[e+8>>2]=q[a+4>>2];q[e+12>>2]=q[a+12>>2];b=q[a+20>>2];q[e+20>>2]=0;q[e+24>>2]=0;q[e+16>>2]=b;q[e+28>>2]=q[a+28>>2];q[e+32>>2]=q[a+36>>2];q[e+36>>2]=q[a+44>>2];q[e+40>>2]=q[a+52>>2];a:{b:{c:{d:{if(b){c=q[a+16>>2];d=q[a+72>>2];while(1){if((b|0)==(f|0)){break d}g=(Ui(q[(q[(c+(f<<5)|0)+16>>2]<<2)+d>>2])+g|0)+1|0;q[e+20>>2]=g;f=f+1|0;if((b|0)!=(f|0)){continue}break}}f=Rv(e+8|0);if(q[a+4>>2]){b=0;while(1){c=q[a>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}kp(f,q[c+8>>2],q[c+12>>2],0,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+28>>2]){b=0;while(1){c=q[a+24>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}kp(f,q[c+8>>2],q[c+12>>2],3,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+36>>2]){b=0;while(1){c=q[a+32>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}kp(f,q[c+8>>2],q[c+12>>2],4,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+44>>2]){b=0;while(1){c=q[a+40>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}kp(f,q[c+8>>2],q[c+12>>2],5,q[a+56>>2]+(d<<2)|0);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+52>>2]){b=0;while(1){c=q[a+48>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+60>>2]){break a}KK(f,q[c+8>>2],q[c+12>>2],u[q[a+56>>2]+(d<<2)>>2]!=x(0));b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+12>>2]){b=0;while(1){c=q[a+8>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+68>>2]){break c}g=q[c+8>>2];h=q[c+12>>2];c=q[a+64>>2]+(d<<3)|0;IK(f,g,h,q[c>>2],q[c+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}if(q[a+20>>2]){b=0;while(1){c=q[a+16>>2]+(b<<5)|0;d=q[c+16>>2];if(d>>>0>=t[a+76>>2]){break b}Eoa(f,q[c+8>>2],q[c+12>>2],q[q[a+72>>2]+(d<<2)>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}a=DA(f);ti=e+48|0;return a}J(14332,14344,69,14378);G()}J(14332,14344,117,14378);G()}J(14332,14344,125,14378);G()}J(14332,14344,109,14378);G()}function fu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=ti-48|0;ti=e;d=q[a+8>>2];f=Jj(a,136016,0);q[d+8>>2]=4;q[d>>2]=f;f=a;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;q[f+8>>2]=d;g=Oj(b,37);a:{if(!g){f=1;break a}f=1;while(1){b=Jj(a,b,g-b|0);q[d+8>>2]=4;q[d>>2]=b;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}q[a+8>>2]=d+16;h=a;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=o[g+1|0];switch(b-99|0){case 13:break f;case 3:break g;case 1:break h;case 0:break i;case 16:break j;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break d;default:break e}}b=q[c>>2];b=b?b:136017;b=Jj(a,b,Ui(b));q[d+24>>2]=4;q[d+16>>2]=b;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=q[c>>2];o[e+17|0]=0;o[e+16|0]=b;b=Jj(a,e+16|0,Ui(e+16|0));q[d+24>>2]=4;q[d+16>>2]=b;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=q[c>>2];q[d+24>>2]=3;v[d+16>>3]=b|0;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;break b}b=c+7&-8;i=v[b>>3];q[d+24>>2]=3;v[d+16>>3]=i;c=b+8|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;break b}q[e>>2]=q[c>>2];Zm(e+16|0,136024,e);b=q[a+8>>2];d=Jj(a,e+16|0,Ui(e+16|0));q[b+8>>2]=4;q[b>>2]=d;c=c+4|0;d=q[a+8>>2];if((q[a+28>>2]-d|0)<=16){vk(a,1);d=q[a+8>>2]}d=d+16|0;break b}if((b|0)==37){break c}}o[e+18|0]=0;o[e+17|0]=b;o[e+16|0]=37;b=Jj(a,e+16|0,Ui(e+16|0));q[d+24>>2]=4;q[d+16>>2]=b;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){vk(a,1);b=q[a+8>>2]}d=b+16|0;break b}b=Jj(a,136027,1);q[d+24>>2]=4;q[d+16>>2]=b;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){vk(a,1);b=q[a+8>>2]}d=b+16|0}q[h+8>>2]=d;f=f+2|0;b=g+2|0;g=Oj(b,37);if(g){continue}break}}b=Jj(a,b,Ui(b));q[d+8>>2]=4;q[d>>2]=b;c=a;b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){vk(a,1);b=q[a+8>>2]}b=b+16|0;q[c+8>>2]=b;Kx(a,f+1|0,(b-q[a+12>>2]>>4)-1|0);b=a;a=q[a+8>>2]-(f<<4)|0;q[b+8>>2]=a;ti=e+48|0;return q[a-16>>2]+16|0}function Qta(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=ti-16|0;ti=g;a:{b:{c:{d:{e:{f:{if(c>>>0<19){e=r[b+20|0];o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;f=q[(c<<2)+97808>>2];o[a|0]=f;o[a+1|0]=f>>>8;q[g+12>>2]=11;f=q[b>>2];if(!(1497965>>>f&1)|!(1797559>>>f&1)){break f}qt(a,g+12|0,q[b+4>>2]-1|0,2);d=w(f,12)+94688|0;g:{if(q[b+4>>2]==1){qt(a,g+12|0,q[b+12>>2],4);break g}qp(a,g+12|0,q[b+8>>2],10);qt(a,g+12|0,q[b+12>>2]<<2&60,6)}f=e?32:16;e=q[d>>2];if(r[b+20|0]){d=w(e,f);if(d-24>>>0>=73){break e}q[g+8>>2]=126-d;qt(a,g+8|0,q[b+16>>2],2)}d=w(q[b+4>>2],(q[b+12>>2]>>2)+1|0);if((d|0)>=10){break d}uua(a,b+21|0,q[g+12>>2],d<<1,r[c+94560|0]);c=0;h:{i:{switch(e-1|0){case 1:while(1){e=126-(c<<1)|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[r[(b+c|0)+39|0]+98065|0]<<(e&6);c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 2:while(1){if((c|0)==42){break c}d=w(c,-3)+125|0;e=(d>>>3|0)+a|0;h=r[r[(b+c|0)+39|0]+98069|0]<<(d&7);o[e|0]=h|r[e|0];if(d>>>0<=119){o[e+1|0]=r[e+1|0]|h>>>8}c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 3:while(1){if((c|0)==32){break b}e=124-(c<<2)|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[r[(b+c|0)+39|0]+98096|0]<<(e&4);c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;case 4:while(1){if((c|0)==25){break a}d=w(c,-5)+123|0;e=(d>>>3|0)+a|0;h=r[r[(b+c|0)+39|0]+98144|0]<<(d&7);o[e|0]=h|r[e|0];if(d>>>0<=119){o[e+1|0]=r[e+1|0]|h>>>8}c=c+1|0;if((f|0)!=(c|0)){continue}break}break h;default:J(92163,92069,12057,97787);G();case 0:break i}}while(1){e=127-c|0;d=(e>>>3|0)+a|0;o[d|0]=r[d|0]|r[(b+c|0)+39|0]<<(e&7);c=c+1|0;if((f|0)!=(c|0)){continue}break}}ti=g+16|0;return}J(97756,92069,11932,97787);G()}J(97884,92069,11947,97787);G()}J(97991,92069,11970,97787);G()}J(98046,92069,11977,97787);G()}J(98077,92069,12018,97787);G()}J(98112,92069,12032,97787);G()}J(98077,92069,12048,97787);G()}function uta(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,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=ti-112|0;ti=e;a:{if(!c|!d){break a}if((Rwa(c<<2)|0)!=1){break a}if((Rwa(d<<2)|0)!=1){break a}l=e+92|0;m=e+88|0;n=e+84|0;p=e+80|0;r=e+76|0;s=e+72|0;t=e+68|0;u=e- -64|0;v=e+60|0;x=e+56|0;y=e+52|0;z=e+48|0;A=e+32|12;B=e+32|8;C=e+32|4;j=oM(e+96|0,w(c,d));b:{while(1){E=w(c,k);f=1;i=0;c:{while(1){D=i+E|0;h=e+32|0;if(cq((D<<4)+a|0,h)){f=e+24|0;o[f+3|0]=255;o[f+2|0]=255;o[f+1|0]=255;o[f|0]=255;g=e+16|0;o[g+3|0]=0;o[g+2|0]=0;o[g+1|0]=0;o[g|0]=0;Ck(e+8|0,f,h);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,h);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,C);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,C);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,B);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,B);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,A);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,A);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,z);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,z);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,y);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,y);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,x);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,x);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,v);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,v);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,u);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,u);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,t);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,t);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,s);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,s);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,r);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,r);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,p);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,p);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,n);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,n);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,m);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,m);q[e+16>>2]=q[e+8>>2];Ck(e+8|0,f,l);q[e+24>>2]=q[e+8>>2];Dk(e+8|0,g,l);q[e+16>>2]=q[e+8>>2];h=e+8|0;q[h>>2]=0;q[h+4>>2]=0;Lta(h,f);Mta(h,g);f=q[e+12>>2];q[ol(j,D)>>2]=f;i=i+1|0;f=i>>>0>>0;if((c|0)!=(i|0)){continue}break c}break}if(f){break b}}k=k+1|0;if((k|0)!=(d|0)){continue}break}Tta(a,ol(j,0),b,c,d)}bq(j)}ti=e+112|0}function jqa(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=ti-80|0;ti=d;c=q[a+80>>2];a:{if(c){e=a+96|0;rL(c,e);if((c|0)==q[66798]){a=q[e>>2];q[b+144>>2]=-1;q[b+140>>2]=a;o[b+148|0]=0;break a}if((c|0)==q[66880]){q[b+12>>2]=Jk(4938);c=0;e=q[e>>2];if(e){g=Jk(e)}e=q[a+100>>2];if(e){c=Jk(e)}e=0;f=q[a+104>>2];if(f){h=Jk(f)}f=q[a+108>>2];if(f){e=Jk(f)}f=0;j=q[a+112>>2];if(j){i=Jk(j)}a=q[a+116>>2];if(a){f=Jk(a)}q[b+16>>2]=g;a=1;b:{if(!g|!r[g|0]){break b}q[b+20>>2]=c;a=2;if(!c|!r[c|0]){break b}q[b+24>>2]=h;a=3;if(!h|!r[h|0]){break b}q[b+28>>2]=e;a=4;if(!e|!r[e|0]){break b}q[b+32>>2]=i;a=5;if(!i|!r[i|0]){break b}q[b+36>>2]=f;a=6;if(!f){break b}a=r[f|0]?7:6}o[b+148|0]=0;q[b+8>>2]=a;q[b+144>>2]=1;break a}if((c|0)==q[66799]){break a}if((c|0)==q[66800]){if(!r[277316]){break a}o[b+240|0]=r[b+240|0]^1;break a}if((c|0)==q[66834]){q[b+500>>2]=q[a+100>>2];c=xi[q[77427]](q[b+216>>2])|0;e=xi[q[77428]](q[b+216>>2])|0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+76>>2]=30;q[d+60>>2]=e;q[d+56>>2]=c;q[d+72>>2]=q[a+96>>2];q[d+76>>2]=q[a+104>>2];q[d+16>>2]=-3;Ai(4,1076,4738,d+16|0);q[b+488>>2]=0;break a}if((c|0)==q[66835]){if(q[b+488>>2]){a=q[b+492>>2];if(a){yi(a)}q[b+488>>2]=0;q[b+492>>2]=0;break a}Ai(4,1076,4769,0);break a}if((c|0)==q[66914]){q[b+460>>2]=q[e>>2];break a}if((c|0)==q[59569]){xi[q[77424]](q[b+216>>2]);break a}if((c|0)==q[66898]){a=q[e>>2];xi[q[77437]](q[b+216>>2],(a|0)>0?a:0);break a}if((c|0)==q[59586]){a=q[b+288>>2];c=q[b+272>>2];if(c){Jv(a,c,e);break a}Jv(a,q[b+276>>2],e);Jv(a,q[b+284>>2],e);Jv(a,q[b+280>>2],e);break a}b=bm(q[a>>2],q[a+4>>2]);e=Mi(q[a+16>>2],q[a+20>>2]);a=Mi(q[a+24>>2],q[a+28>>2]);c=q[c+4>>2];q[d+48>>2]=a;q[d+44>>2]=e;q[d+40>>2]=b;q[d+36>>2]=2951;q[d+32>>2]=c;Ai(4,1076,4794,d+32|0);break a}b=bm(q[a>>2],q[a+4>>2]);c=Mi(q[a+16>>2],q[a+20>>2]);q[d+12>>2]=Mi(q[a+24>>2],q[a+28>>2]);q[d+8>>2]=c;q[d+4>>2]=b;q[d>>2]=2951;Ai(4,1076,4857,d)}ti=d+80|0}function cM(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,s=x(0),v=0,y=0;if(r[b+21|0]){l=q[f>>2];k=q[e>>2];v=1;a:{b:{if((h|0)>=1){m=q[b>>2];y=w(d,g);while(1){g=q[a+1408>>2];c:{if((g|0)>9){break c}if(!g){q[a+1404>>2]=0}while(1){g=r[a+1388|0];d:{e:{f:{g:{h:{if(q[a+1396>>2]){if(g&255){break h}break c}if(g&255){break h}i=q[a+1392>>2];if((i|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break c}if(!(o[a+1387|0]&1)){break g}i=q[a+1392>>2]}j=i+1|0;q[a+1392>>2]=j;g=r[(a+i|0)+1132|0];if((g|0)!=255){q[a+1400>>2]=i;q[a+1396>>2]=1}if((j|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break f}o[a+1388|0]=g;if(!g){break c}}o[a+1388|0]=g-1;q[a+1412>>2]=q[a+1412>>2]+1;g=q[a+44>>2];i:{if(g){if(g>>>0>=t[a+52>>2]){break e}q[a+44>>2]=g+1;g=r[g|0];break i}g=ej(q[a+32>>2]);if((g|0)==-1){break e}}g=g&255;break d}q[a+112>>2]=32;break c}J(205744,205607,1555,205765);G()}q[a+108>>2]=1;g=0}i=q[a+1408>>2];q[a+1408>>2]=i+8;q[a+1404>>2]=q[a+1404>>2]+(g<>2];g=p[(((i&1023)<<1)+b|0)+36>>1];j:{if((g|0)>=0){n=i;i=r[g+q[b+8>>2]|0];q[a+1404>>2]=n>>>i;j=q[a+1408>>2]-i|0;i=(j|0)<0;q[a+1408>>2]=i?0:j;g=i?-1:g;break j}g=aq(a,b)}if((g|0)>=q[b+2092>>2]?r[b+23|0]:0){break a}if((g|0)<=-1){if(!r[a+1388|0]){v=0;if(q[a+1396>>2]){break b}}q[a+112>>2]=21;return 0}i=w(d,l);m=((i+m|0)+k|0)>(y|0)?(y-i|0)+k|0:m;i=w(g,q[b>>2]);k:{if(r[b+22|0]){if((m|0)<1){break k}n=q[b+28>>2];g=0;s=x(0);while(1){s=x(s+u[n+(g+i<<2)>>2]);j=q[(k<<2)+c>>2];if(j){j=j+(l<<2)|0;u[j>>2]=s+u[j>>2]}k=k+1|0;j=(k|0)==(d|0);k=j?0:k;l=j+l|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break k}g=0;if((m|0)<=0){break k}while(1){j=q[(k<<2)+c>>2];if(j){j=j+(l<<2)|0;u[j>>2]=u[j>>2]+x(u[q[b+28>>2]+(g+i<<2)>>2]+x(0))}k=k+1|0;j=(k|0)==(d|0);k=j?0:k;l=j+l|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}h=h-m|0;if((h|0)>0){continue}break}}q[e>>2]=k;q[f>>2]=l}return v}J(205888,205607,1878,205924);G()}q[a+112>>2]=21;return 0}function Wy(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0;p=ti-32|0;ti=p;a:{b:{c:{d:{e:{f:{h=q[a+4>>2];g:{if(!h){break g}h=q[q[a>>2]+(Qwa(b,c,h)<<2)>>2];if((h|0)==-1){break g}i=q[a+8>>2];while(1){k=i+w(h,40)|0;if((b|0)==q[k>>2]&q[k+4>>2]==(c|0)){break f}h=q[k+32>>2];if((h|0)!=-1){continue}break}}h=q[a+24>>2];if((h|0)==((q[a+16>>2]-q[a+8>>2]|0)/40|0)){h=h+8|0;dv(a,h,h<<1)}k=a+32|0;j=e+f|0;l=a+40|0;h=q[l>>2];n=a+36|0;i=q[n>>2];m=h-i>>4;if(j>>>0>m>>>0){if(o[a+44|0]&1){break c}Ii((j-m|0)+(h-q[k>>2]>>4)|0,16,k,l,n);i=q[n>>2];h=q[l>>2]}r=i;i=q[k>>2];l=r-i>>4;k=l+j|0;if(k>>>0>h-i>>4>>>0){break b}q[a+36>>2]=i+(k<<4);q[p+20>>2]=j;h=p;q[h+8>>2]=b;q[h+12>>2]=c;q[h+24>>2]=g;q[h+16>>2]=l;Az(a,b,c,h+8|0);g=0;h=q[a+4>>2];h:{if(!h){break h}h=q[q[a>>2]+(Qwa(b,c,h)<<2)>>2];if((h|0)==-1){break h}i=q[a+8>>2];while(1){h=w(h,40);g=h+i|0;if((b|0)==q[g>>2]&(c|0)==q[g+4>>2]){break h}h=q[(h+i|0)+32>>2];if((h|0)!=-1){continue}break}g=0}n=g?g+8|0:0;break e}b=i+w(h,40)|0;r=b;k=q[b+20>>2];if(k){c=-5;if(q[b+24>>2]!=(g|0)){break d}}n=b+8|0;c=e+f|0;if(c>>>0<=k>>>0){break e}j=a+32|0;g=q[(i+w(h,40)|0)+16>>2];l=c-k|0;h=a+40|0;b=q[h>>2];i=a+36|0;m=q[i>>2];if(l>>>0>b-m>>4>>>0){if(o[a+44|0]&1){break c}Ii(l+(b-q[j>>2]>>4)|0,16,j,h,i);m=q[i>>2];b=q[h>>2]}j=q[j>>2];h=l+(m-j>>4)|0;if(h>>>0>b-j>>4>>>0){break b}q[i>>2]=j+(h<<4);if(g>>>0>=h>>>0){break a}i=0;b=j+(g<<4)|0;j=b+(c<<4)|0;b=b+(k<<4)|0;Sk(j,Fi(b,0,j-b|0),h-(c+g|0)<<4);q[r+20>>2]=c;c=q[a+4>>2];if(!c){break e}k=l&2147483647;j=q[a>>2];while(1){h=q[j+(i<<2)>>2];if((h|0)!=-1){l=q[a+8>>2];while(1){b=l+w(h,40)|0;h=b;m=q[h+16>>2];if(m>>>0>g>>>0){q[h+16>>2]=k+m}h=q[b+32>>2];if((h|0)!=-1){continue}break}}i=i+1|0;if((c|0)!=(i|0)){continue}break}}b=q[n+8>>2];c=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=c-a>>4>>>0){break a}Gi((a+(b<<4)|0)+(f<<4)|0,d,e<<4);c=0}ti=p+32|0;return c}J(106680,106507,493,106411);G()}J(106488,106507,506,106563);G()}J(106571,106507,479,106582);G()}function Zq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=ti-96|0;ti=e;a:{b:{c:{d:{if((b|0)==(c|0)){f=-8;break d}i=b&65535;g=q[a+32>>2];l=(q[a+36>>2]-g|0)/576|0;if(i>>>0>=l>>>0){break c}if(s[(w(i,576)+g|0)+552>>1]!=(b>>>16|0)){break b}k=65535;h=w(i,576)+g|0;m=s[h+554>>1];if((m|0)!=(b&65535)){break a}e:{if(!c){break e}b=c&65535;if(b>>>0>=l>>>0){break c}j=w(b,576)+g|0;if(s[j+552>>1]!=(c>>>16|0)){break b}k=s[j+554>>1];if((k|0)!=(c&65535)){break a}j=w(b,576)+g|0;b=s[j+560>>1];if((b|0)==65535){break e}while(1){b=b&65535;if((b|0)==(m|0)){f=-8;break d}if(b>>>0>=l>>>0){break c}b=s[(w(b,576)+g|0)+560>>1];if((b|0)!=65535){continue}break}}l=w(i,576)+g|0;if(s[l+560>>1]==(k|0)){break d}if(d){ar(a,h,0,e);b=q[e+52>>2];c=q[e+48>>2];u[e+72>>2]=u[e+56>>2];q[e+64>>2]=c;q[e+68>>2]=b;Pz(e+80|0,a,h,j,e- -64|0);c=q[e+88>>2];d=q[e+84>>2];u[h>>2]=u[e+80>>2];b=w(i,576)+g|0;q[b+12>>2]=1065353216;q[b+4>>2]=d;q[b+8>>2]=c;q[b+412>>2]=q[b+412>>2]|4194304}$q(a,h);c=65535;d=a+350|0;f=j+564|0;k=s[((k|0)==65535?d:f)>>1];b=0;f:{if((k|0)==65535){break f}b=q[a+32>>2];if(k>>>0>=(q[a+36>>2]-b|0)/576>>>0){break c}b=b+w(k,576)|0}if(j){c=s[j+554>>1];d=f;f=j+562|0}else{f=a+348|0}p[l+560>>1]=c;if(b){c=s[b+554>>1];g:{if((c|0)==s[d>>1]){p[d>>1]=s[h+554>>1];p[(w(i,576)+g|0)+558>>1]=65535;c=s[b+554>>1];break g}d=s[b+558>>1];if((d|0)==65535){break g}f=q[a+36>>2];a=q[a+32>>2];if(d>>>0>=(f-a|0)/576>>>0){break c}p[(a+w(d,576)|0)+556>>1]=s[h+554>>1];p[(w(i,576)+g|0)+558>>1]=d}p[b+558>>1]=s[h+554>>1];p[(w(i,576)+g|0)+556>>1]=c;f=0;break d}b=w(i,576)+g|0;p[b+556>>1]=65535;p[b+558>>1]=s[f>>1];b=s[f>>1];h:{if((b|0)==65535){b=s[h+554>>1];break h}c=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=(c-a|0)/576>>>0){break c}a=a+w(b,576)|0;b=s[h+554>>1];p[a+556>>1]=b}p[f>>1]=b;f=0;if(s[d>>1]!=65535){break d}p[d>>1]=s[h+554>>1]}ti=e+96|0;return f}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function jz(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,p=0,v=0;j=ti-32|0;ti=j;q[j+16>>2]=0;a:{b:{c:{c=q[a+4>>2];e=q[a>>2];d=c-e|0;if(!d){break c}d:{if((c|0)!=(e|0)){c=e-c|0;c=((c|0)>(d|0)?c:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(c,(d|0)<1?d:1);v=d>>>0>1?d:1;while(1){e:{f=q[(l<<2)+e>>2];if(!f){break e}h=q[f+4>>2];e=q[f>>2];m=h-e|0;if(!m){break e}d=1;g=(m|0)/304|0;n=g>>>0>1?g:1;f:{if(q[e+280>>2]){break f}while(1){c=d;if((c|0)!=(n|0)){d=c+1|0;if(!q[(w(c,304)+e|0)+280>>2]){continue}}break}if(c>>>0>>0){break f}if(!m){break e}if((e|0)!=(h|0)){c=g>>>0>1?g:1;d=0;while(1){e=w(d,304)+e|0;q[e+260>>2]=0;g=q[q[f+64>>2]+16>>2];if(t[g+4>>2]<=d>>>0){break a}JG(f,e,q[g>>2]+w(d,144)|0,b);d=d+1|0;if((c|0)==(d|0)){break e}e=q[f>>2];if((q[f+4>>2]-e|0)/304>>>0>d>>>0){continue}break}}break b}u[f+76>>2]=u[f+76>>2]+b;if((e|0)!=(h|0)){m=s[f+80>>1]<<16|l;g=q[f+64>>2];d=0;while(1){k=q[g>>2];if((q[g+4>>2]-k|0)/18568>>>0<=d>>>0){break b}h=q[g+16>>2];if(t[h+4>>2]<=d>>>0){break a}c=w(d,304)+e|0;h=q[h>>2]+w(d,144)|0;JG(f,c,h,b);e=k+w(d,18568)|0;kz(f,e,c,h,b);k=q[c+56>>2];i=q[c+60>>2];q[j+24>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;k=(i-k|0)/160|0;i=q[e+18552>>2];g:{if(!i){break g}if(xi[171](i,q[e+18544>>2],q[e+18548>>2],c)|0){i=r[c+296|0];if(i&2){break g}o[c+296|0]=i|2;e=e+18544|0;q[j>>2]=Mi(q[e>>2],q[e+4>>2]);Ai(3,145356,146183,j);break g}if(q[c+52>>2]!=56){break d}o[c+296|0]=r[c+296|0]&253}KG(m,d,f,c,h);if(r[c+296|0]&16){nz(c)}p=k+p|0;d=d+1|0;if((n|0)==(d|0)){break e}e=q[f>>2];if((q[f+4>>2]-e|0)/304>>>0>d>>>0){continue}break}}break b}l=l+1|0;if((v|0)==(l|0)){break c}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>l>>>0){continue}break}}break b}J(146221,145656,739,146168);G()}q[213262]=p;ti=j+32|0;return}J(146626,145751,479,145962);G()}J(145920,145932,261,145962);G()}function Cr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(q[a+18368>>2]>15){break a}while(1){c=0;b:{if(q[a+18376>>2]){break b}d=q[a>>2];e=q[d+172>>2];c:{if(e>>>0>2]){q[d+172>>2]=e+1;c=r[e|0];break c}if(!q[d+32>>2]){break b}e=d+40|0;c=xi[q[d+16>>2]](q[d+28>>2],e,q[d+36>>2])|0;q[d+168>>2]=q[d+168>>2]+(q[d+172>>2]-q[d+180>>2]|0);d:{if(!c){o[d+40|0]=0;q[d+32>>2]=0;e=d+41|0;c=0;break d}e=c+e|0;c=r[d+40|0]}q[d+176>>2]=e;q[d+172>>2]=d+41}if((c|0)!=255){break b}c=q[a>>2];d=q[c+172>>2];e:{if(d>>>0>2]){q[c+172>>2]=d+1;d=r[d|0];break e}if(!q[c+32>>2]){d=0;break e}e=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);f:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break f}e=d+e|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41}while(1){c=255;e=d&255;if((e|0)!=255){if(!e){break b}q[a+18376>>2]=1;o[a+18372|0]=d;break a}c=q[a>>2];d=q[c+172>>2];if(d>>>0>2]){q[c+172>>2]=d+1;d=r[d|0];continue}d=0;if(!q[c+32>>2]){continue}e=c+40|0;d=xi[q[c+16>>2]](q[c+28>>2],e,q[c+36>>2])|0;q[c+168>>2]=q[c+168>>2]+(q[c+172>>2]-q[c+180>>2]|0);g:{if(!d){o[c+40|0]=0;q[c+32>>2]=0;e=c+41|0;d=0;break g}e=d+e|0;d=r[c+40|0]}q[c+176>>2]=e;q[c+172>>2]=c+41;continue}}d=q[a+18368>>2];q[a+18368>>2]=d+8;q[a+18364>>2]=q[a+18364>>2]|c<<24-d;if((d|0)<17){continue}break}}h:{e=q[a+18364>>2];c=r[(e>>>23|0)+b|0];i:{if((c|0)!=255){f=q[a+18368>>2];c=b+c|0;b=r[c+1280|0];d=-1;if((f|0)<(b|0)){break i}q[a+18368>>2]=f-b;q[a+18364>>2]=e<>>16|0;d=10;while(1){c=d;d=c+1|0;if(f>>>0>=t[((c<<2)+b|0)+1540>>2]){continue}break}f=q[a+18368>>2];if((c|0)==17){q[a+18368>>2]=f-16;return-1}d=-1;if((c|0)>(f|0)){break i}d=c<<2;d=(q[d+164400>>2]&e>>>32-c)+q[(b+d|0)+1612>>2]|0;g=d+b|0;h=r[g+1280|0];if((e>>>32-h&q[(h<<2)+164400>>2])!=s[((d<<1)+b|0)+512>>1]){break h}q[a+18364>>2]=e<>2]=f-c;d=r[g+1024|0]}return d}J(164468,164058,2074,164550);G()}function u2(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0,m=x(0),n=x(0);c=ti-192|0;ti=c;b=ul(a,1);a:{if((b|0)==q[212904]){break a}e=1;if((b|0)==q[212905]){break a}e=2;if((b|0)==q[212906]){break a}e=3;if((b|0)==q[212907]){break a}e=(b|0)==q[212908]?4:5}b=ul(a,2);l=q[212904];b:{if((b|0)==(l|0)){break b}i=1;if((b|0)==q[212905]){break b}i=2;if((b|0)==q[212906]){break b}i=3;if((b|0)==q[212907]){break b}i=(b|0)==q[212908]?4:5}c:{if((e|0)!=(i|0)){q[c+180>>2]=130354;q[c+176>>2]=128752;a=Bi(a,130603,c+176|0);break c}d:{switch(e|0){case 0:b=Li(a,1,l,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c- -64>>3]=g;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;Bi(a,128819,c+48|0)}e=Li(a,2,q[212904],0);f=u[e>>2];g=u[e+4>>2];f:{if(!(f!=f|g!=g)){d=u[e+8>>2];if(d==d){break f}}d=u[e+8>>2];v[c+32>>3]=g;v[c+40>>3]=d;v[c+24>>3]=f;q[c+16>>2]=2;Bi(a,128819,c+16|0);d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}h=u[b+8>>2];j=u[b>>2];k=u[b+4>>2];b=jj(a,16);u[b+8>>2]=h*d;u[b+4>>2]=k*g;u[b>>2]=j*f;Ki(a,-1e4,128688);ij(a,-2);a=1;break c;case 1:b=Li(a,1,q[212905],0);f=u[b>>2];g=u[b+4>>2];g:{h:{if(f!=f|g!=g){break h}d=u[b+8>>2];if(d!=d){break h}d=u[b+12>>2];if(d==d){break g}}d=u[b+8>>2];h=u[b+12>>2];v[c+144>>3]=g;v[c+160>>3]=h;v[c+152>>3]=d;v[c+136>>3]=f;q[c+128>>2]=1;Bi(a,128909,c+128|0)}e=Li(a,2,q[212905],0);f=u[e>>2];g=u[e+4>>2];i:{j:{if(f!=f|g!=g){break j}d=u[e+8>>2];if(d!=d){break j}h=u[e+12>>2];if(h==h){break i}}d=u[e+8>>2];h=u[e+12>>2];v[c+96>>3]=g;v[c+112>>3]=h;v[c+104>>3]=d;v[c+88>>3]=f;q[c+80>>2]=2;Bi(a,128909,c+80|0);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=u[b+12>>2];k=u[b>>2];m=u[b+4>>2];n=u[b+8>>2];b=jj(a,16);u[b+12>>2]=j*h;u[b+8>>2]=n*d;u[b+4>>2]=m*g;u[b>>2]=k*f;Ki(a,-1e4,128704);ij(a,-2);a=1;break c;default:break d}}q[c+12>>2]=128704;q[c+8>>2]=128688;q[c+4>>2]=130354;q[c>>2]=128752;a=Bi(a,130567,c)}ti=c+192|0;return a|0}function kw(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0,t=0,u=0;k=pt(g);a:{b:{c:{d:{e:{f:{if(!r[a+585|0]){break f}if(!jw(b,c)){break f}j=r[b+65|0]|r[b+66|0]<<8|(r[b+67|0]<<16|r[b+68|0]<<24);l=r[b+21|0]|r[b+22|0]<<8;m=cB(b,d);if((m|0)<0){break f}d=b+j|0;p=l&4;g:{if(r[b+20|0]){break g}if(o[(d+w(m,23)|0)+4|0]&1){break f}if(!p){break g}j=m+1|0;if(j>>>0>=(r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16))>>>0){break f}l=d+w(j,23)|0;if(!(o[l+4|0]&1)){break f}n=d+w(m,23)|0;if((r[n+9|0]|r[n+10|0]<<8)!=(r[l+9|0]|r[l+10|0]<<8)){break f}l=d+w(m,23)|0;j=d+w(j,23)|0;if((r[l+11|0]|r[l+12|0]<<8)!=(r[j+11|0]|r[j+12|0]<<8)){break f}}j=d+w(m,23)|0;l=j;n=j+9|0;q=r[n|0]|r[n+1|0]<<8;s=r[j+11|0]|r[j+12|0]<<8;n=(g|0)==9?p?9:8:g;h:{if((n&-2)!=8){break h}g=w(q,s);if(g>>>0>=f>>>0){break h}Fi(w(g,k)+e|0,0,w(k,f-g|0))}if(r[b+20|0]==1){a=d+w(m,23)|0;return pua(n,e,f,b,c,r[l+9|0]|r[l+10|0]<<8,r[j+11|0]|r[j+12|0]<<8,r[a+5|0]|r[a+6|0]<<8,r[a+7|0]|r[a+8|0]<<8,r[a+13|0]|r[a+14|0]<<8|(r[a+15|0]<<16|r[a+16|0]<<24),r[a+17|0]|r[a+18|0]<<8|(r[a+19|0]<<16|r[a+20|0]<<24),(p|0)!=0,h,i)}g=d+w(m,23)|0;if(o[g+4|0]&1){break e}k=p?g+23|0:0;if(k){if(!(o[k+4|0]&1)){break d}if((r[l+9|0]|r[l+10|0]<<8)!=(r[k+9|0]|r[k+10|0]<<8)){break c}if((r[j+11|0]|r[j+12|0]<<8)!=(r[k+11|0]|r[k+12|0]<<8)){break b}if(r[(d+w(m,23)|0)+3|0]!=r[k+3|0]){break a}}l=r[l+9|0]|r[l+10|0]<<8;j=r[j+11|0]|r[j+12|0]<<8;d=d+w(m,23)|0;m=r[d+5|0]|r[d+6|0]<<8;q=r[d+7|0]|r[d+8|0]<<8;s=r[d+3|0];t=r[d+13|0]|r[d+14|0]<<8|(r[d+15|0]<<16|r[d+16|0]<<24);u=r[d+17|0]|r[d+18|0]<<8|(r[d+19|0]<<16|r[d+20|0]<<24);g=0;d=0;if(k){g=r[k+13|0]|r[k+14|0]<<8|(r[k+15|0]<<16|r[k+16|0]<<24);d=r[k+17|0]|r[k+18|0]<<8|(r[k+19|0]<<16|r[k+20|0]<<24)}q=qua(a,n,e,f,b,c,l,j,m,q,s,t,u,g,d,(p|0)!=0,r[b+23|0]==3,h,i)}return q}J(92326,92069,10803,92380);G()}J(92402,92069,10808,92380);G()}J(92462,92069,10809,92380);G()}J(92527,92069,10810,92380);G()}J(92592,92069,10811,92380);G()}function _L(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-112|0;ti=c;i=q[a+4>>2];e=q[a+48>>2];h=im(e,10,0,0,0);q[c+100>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;q[c+96>>2]=b;q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=h;q[b>>2]=11;q[c+88>>2]=-1;q[c+92>>2]=-1;q[c+80>>2]=0;q[c+72>>2]=0;sm(q[a+48>>2],b);if(q[a+16>>2]!=123){b=q[a+52>>2];q[c+64>>2]=dl(a,123);Dj(a,_i(b,136607,c- -64|0))}Gj(a);a:{if(q[a+16>>2]==125){break a}b=0;while(1){b:{if(!b){break b}sm(e,c+72|0);q[c+72>>2]=0;if(q[c+108>>2]!=50){break b}Px(e,q[q[c+96>>2]+8>>2],q[c+104>>2],50);q[c+108>>2]=0}c:{d:{b=q[a+16>>2];if((b|0)!=91){if((b|0)!=285){break d}q[a+32>>2]=uE(a,a+40|0);if(q[a+32>>2]!=61){$k(a,c+72|0,0);f=c;b=q[c+104>>2];if((b|0)>=2147483646){b=q[a+48>>2];d=q[b+16>>2];g=q[q[b>>2]+60>>2];e:{if(!g){q[c+32>>2]=2147483645;q[c+36>>2]=136729;d=_i(d,136752,c+32|0);break e}q[c+52>>2]=2147483645;q[c+48>>2]=g;q[c+56>>2]=136729;d=_i(d,136786,c+48|0)}Pl(q[b+12>>2],d,0);b=q[c+104>>2]}q[f+104>>2]=b+1;q[c+108>>2]=q[c+108>>2]+1;break c}OC(a,c+72|0);break c}OC(a,c+72|0);break c}$k(a,c+72|0,0);f=c;b=q[c+104>>2];if((b|0)>=2147483646){b=q[a+48>>2];d=q[b+16>>2];g=q[q[b>>2]+60>>2];f:{if(!g){q[c>>2]=2147483645;q[c+4>>2]=136729;d=_i(d,136752,c);break f}q[c+20>>2]=2147483645;q[c+16>>2]=g;q[c+24>>2]=136729;d=_i(d,136786,c+16|0)}Pl(q[b+12>>2],d,0);b=q[c+104>>2]}q[f+104>>2]=b+1;q[c+108>>2]=q[c+108>>2]+1}b=q[a+16>>2]-44|0;if(!(!b|(b|0)==15)){break a}Gj(a);if(q[a+16>>2]==125){break a}b=q[c+72>>2];continue}}Do(a,125,123,i);a=q[c+108>>2];g:{if(!a){break g}h:{switch(q[c+72>>2]){case 13:case 14:iu(e,c+72|0,-1);Px(e,q[q[c+96>>2]+8>>2],q[c+104>>2],-1);q[c+104>>2]=q[c+104>>2]-1;break g;default:sm(e,c+72|0);a=q[c+108>>2];break;case 0:break h}}Px(e,q[q[c+96>>2]+8>>2],q[c+104>>2],a)}a=h<<2;b=q[a+q[q[e>>2]+12>>2]>>2]&8388607|eE(q[c+104>>2])<<23;q[a+q[q[e>>2]+12>>2]>>2]=b;f=eE(q[c+100>>2]);q[a+q[q[e>>2]+12>>2]>>2]=f<<14&8372224|b&-8372225;ti=c+112|0}function VP(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=ti-96|0;ti=c;e=q[q[a+68>>2]+1120>>2];q[c+92>>2]=0;a:{b:{c:{switch(q[e+16>>2]-1|0){case 0:q[a+4>>2]=q[a+4>>2]+1;break a;case 8:case 9:d=nQ(a);if(d){Ij(a,2,40);break a}break b;default:break c}}d=Jn(a);if(d){break a}if(q[a+128>>2]!=22){Ij(a,2,10);d=-30464;break a}b=q[a+120>>2];d:{if(r[b|0]!=12){e:{switch(q[e+16>>2]-5|0){case 0:case 2:q[a+176>>2]=1;break d;default:break e}}Ij(a,2,10);d=-30464;break a}q[c+92>>2]=b+(r[q[a>>2]+184|0]&2?12:4);h=b+q[a+168>>2]|0;g=q[e+16>>2];if(g-5>>>0<=3){if(UP(c+92|0,h)){Ij(a,2,47);d=-31488;break a}g=q[e+16>>2]}d=-27648;if(g>>>0>8){break a}f:{b=1<>2]-2>>>0>=3){break d}g=0;q[c+12>>2]=0;q[c+8>>2]=0;k=q[a+120>>2];l=r[q[a>>2]+184|0]&2?12:4;i=q[c+92>>2];b=q[a+20>>2];g:{h:{if((b|0)==3){if(SP(a,c+92|0,h,c+12|0,c+8|0)){Ij(a,2,47);d=-31488;break g}b=q[e+16>>2]-1|0;i:{if(b>>>0<=9){b=q[(b<<2)+175932>>2];break i}b=0}e=q[c+8>>2];if((b|0)==(e|0)){break h}Ij(a,2,47);d=-31488;break g}if((b|0)>2){break g}b=c;e=q[e+16>>2]-1|0;j:{if(e>>>0<=9){e=q[(e<<2)+175932>>2];break j}e=0}q[b+8>>2]=e;if((e|0)!=4){break h}q[c+12>>2]=4;e=4}b=q[c+92>>2];if(b>>>0>h-2>>>0){Ij(a,2,50);d=-31488;break g}f=r[b|0];j=r[b+1|0];b=b+2|0;q[c+92>>2]=b;j=f<<8|j;if((b|0)!=(h-j|0)){Ij(a,2,50);d=-31488;break g}f=k+l|0;b=i-f|0;i=q[c+12>>2];k:{if(!i){q[c+88>>2]=36;d=kU(a,c+16|0,f,b);if(!d){break k}break g}d=jU(a,c+16|0,c+88|0,f,b,i);if(d){break g}}b=q[q[a+64>>2]+96>>2];if(!b){d=-27648;break g}d=0;f=b+204|0;l:{if(!f){break l}b=q[f>>2];if(!b){break l}d=xi[q[b+12>>2]](e)|0}if(!d){Ij(a,2,40);d=-27904;break g}d=jD(f,i,c+16|0,q[c+88>>2],q[c+92>>2],j);if(!d){g=1;break g}Ij(a,2,51)}if(!g){break a}}}q[a+4>>2]=q[a+4>>2]+1;d=0}ti=c+96|0;return d}function sea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=ti-192|0;ti=b;g=q[a+8>>2]-q[a+12>>2]>>4;c=q[q[Tj(a)+80>>2]+8>>2];q[b+176>>2]=0;q[b+180>>2]=0;q[b+168>>2]=0;q[b+172>>2]=0;q[b+160>>2]=0;q[b+164>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;d=1;wl(a,1,c,77094,b+188|0,b+152|0,0);f=q[b+188>>2];c=Mj(a,2);e=wi;h=e;i=oA(f,c,e);a:{if((i|0)==-1){q[b>>2]=Mi(c,h);Ai(4,77450,77458,b);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=0;q[a+8>>2]=q[a+8>>2]+16;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(77485,77222,238,77510);G()}h=Xi(a,3);j=Xi(a,4);b:{d=Xi(a,5);if((d|0)>=0){e=d;c=q[f+152>>2];if(!c){c=q[q[f+156>>2]>>2]}if(s[q[c+64>>2]+28>>1]>=(e|0)){break b}}q[b+16>>2]=d;d=Bi(a,77526,b+16|0);break a}mA(f,b+148|0,b+144|0,b+140|0,b+136|0);c=q[f+156>>2];q[b+132>>2]=(h-1|0)-q[c+36>>2];q[b+128>>2]=(j-1|0)-q[c+40>>2];c:{c=q[b+132>>2];d:{if((c|0)<0|(c|0)>=q[b+140>>2]){break d}c=q[b+128>>2];if((c|0)<0){break d}if((c|0)>2]){break c}}Ai(4,77450,77584,0);d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=0;q[a+8>>2]=q[a+8>>2]+16;d=1;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(77485,77222,274,77510);G()}e:{if(!(!Bj(a,6)|(g|0)!=6)){e=Xi(a,6);c=e>>31;c=c^c+e;if(!(c&248)){break e}q[b+48>>2]=d;d=Bi(a,77649,b+48|0);break a}c=(Ej(a,6)|0)!=0;c=Ej(a,7)?c|2:c}d=d-1|0;e=c&255;Yea(f,i,q[b+132>>2],q[b+128>>2],d,e);q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;if($l(a,b+96|0)){q[b+72>>2]=q[b+132>>2];q[b+64>>2]=i;q[b+76>>2]=d;q[b+68>>2]=q[b+128>>2];d=1;q[b+80>>2]=c&1;q[b+88>>2]=e>>>2&1;q[b+84>>2]=e>>>1&1;c=q[63458];e=q[c+8>>2];f=q[c+12>>2];q[b+176>>2]=0;q[b+180>>2]=0;c=fk(b+96|0,b+152|0,e,f,0,c,b- -64|0,28);if(c){q[b+32>>2]=q[q[63458]+4>>2];q[b+36>>2]=c;Ai(4,77450,77717,b+32|0)}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=1;q[a+8>>2]=q[a+8>>2]+16;if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(77485,77222,333,77510);G()}d=Bi(a,77762,0)}ti=b+192|0;return d|0}function Zea(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,r=0;b=ti-448|0;ti=b;j=q[a+8>>2]-q[a+12>>2]>>4;f=Mj(a,1);g=wi;mj(a,2,5);c=Vo(a,73141);e=Vo(a,73146);k=Vo(a,72434);l=Vo(a,72440);Hi(a,73923);Sj(a,2);m=Uo(a,73923,0);Ci(a,-2);Hi(a,73930);Sj(a,2);h=Uo(a,73930,-1);Ci(a,-2);Hi(a,73932);Sj(a,2);i=Uo(a,73932,-1);Ci(a,-2);a:{b:{c:{d:{if(!(xi[q[77500]](q[76922],e)|0)){d=b;if(e>>>0<=29){c=q[(e<<2)+257428>>2]}else{c=83425}q[d+64>>2]=c;d=Bi(a,73474,b- -64|0);break d}if(c&-3){d=b;if(c>>>0<=2){c=q[(c<<2)+257404>>2]}else{c=82477}q[d+48>>2]=c;d=Bi(a,73934,b+48|0);break d}Hi(a,73222);Sj(a,2);d=-1;n=Uo(a,73222,0);Ci(a,-2);r=Ds(a,3);q[b+188>>2]=0;q[b+184>>2]=0;Bo(q[r>>2],b+188|0,b+184|0);q[b+176>>2]=0;q[b+180>>2]=0;q[b+168>>2]=0;q[b+172>>2]=0;q[b+160>>2]=0;q[b+164>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+108>>2]=1;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=b+120;if(c>>>0>=3){break c}q[b+116>>2]=1;q[b+132>>2]=l;q[b+128>>2]=k;q[b+124>>2]=l;q[b+120>>2]=k;q[b+112>>2]=q[(c<<2)+74540>>2];d=e>>>0<=29?q[(e<<2)+74552>>2]:d;e=q[b+184>>2];q[b+160>>2]=e;q[b+180>>2]=1;q[b+152>>2]=1;q[b+144>>2]=1;q[b+168>>2]=0;q[b+172>>2]=0;q[b+164>>2]=n;q[b+136>>2]=d;q[b+156>>2]=q[b+188>>2];d=0;q[b+100>>2]=0;q[b+96>>2]=(e>>>0)/(((c|0)==2?6:1)>>>0);q[b+176>>2]=b+96;q[b+148>>2]=b+96;q[b+140>>2]=b+100;o[b+88|0]=m&31|((h&i)!=-1)<<6|32;p[b+86>>1]=(i|0)>0?i:0;p[b+84>>1]=(h|0)>0?h:0;q[b+80>>2]=b+104;c=j4(q[76921],f,g,b+80|0);e=q[a+8>>2]-q[a+12>>2]>>4;if(c){if((e|0)!=(j|0)){break b}q[b+32>>2]=Mi(f,g);q[b+24>>2]=f;q[b+28>>2]=g;q[b+16>>2]=c;hj(b+192|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+16|0);q[b>>2]=b+192;d=Bi(a,70520,b);break d}if((e|0)!=(j|0)){break a}}ti=b+448|0;return d|0}J(72975,71492,542,73667);G()}J(71471,71492,1107,73988);G()}J(71471,71492,1111,73988);G()}function hqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=x(0),g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),o=0,r=x(0),v=0,z=0,A=0,B=x(0);l=ti-960|0;ti=l;A=xi[q[77430]](q[d+216>>2])|0;e=SK(l);q[e>>2]=a;q[e+4>>2]=b;u[e+8>>2]=u[c>>2];m=q[c+940>>2];a=m<<1;a=s[e+952>>1]&-993|a&32|a&64|a&128|a&256|a&512;p[e+952>>1]=a;i=u[d+484>>2];b=q[d+472>>2];n=x(u[d+480>>2]*x(t[d+468>>2]));f=x(q[c+12>>2]);u[e+12>>2]=n*x(f+x(.5));r=x(b>>>0);i=x(i*r);b=q[c+16>>2];u[e+16>>2]=r-x(i*x(x(b|0)+x(.5)));B=x(q[c+20>>2]);u[e+20>>2]=n*B;g=q[c+24>>2];u[e+36>>2]=B;u[e+32>>2]=A-b|0;u[e+28>>2]=f;f=x(0-g|0);u[e+40>>2]=f;u[e+24>>2]=i*f;u[e+44>>2]=u[c+28>>2];u[e+48>>2]=u[c+32>>2];u[e+52>>2]=u[c+36>>2];v=q[c+524>>2];q[e+540>>2]=v;if((v|0)>0){while(1){b=w(z,44);a=b+e|0;g=b+c|0;q[a+96>>2]=q[g+80>>2];b=q[g+76>>2];q[a+88>>2]=q[g+72>>2];q[a+92>>2]=b;j=g- -64|0;b=j;h=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=h;b=q[g+60>>2];q[a+72>>2]=q[g+56>>2];q[a+76>>2]=b;o=q[g+52>>2];b=a- -64|0;q[b>>2]=q[g+48>>2];q[b+4>>2]=o;h=q[g+44>>2];q[a+56>>2]=q[g+40>>2];q[a+60>>2]=h;q[a+96>>2]=q[g+80>>2];o=q[g+48>>2];f=x(n*x(x(o|0)+x(.5)));a:{if(x(y(f))>2]=h;b=a;h=q[g+52>>2];f=x(r-x(i*x(x(h|0)+x(.5))));b:{if(x(y(f))>2]=k;b=a;j=q[j>>2];f=x(n*x(j|0));c:{if(x(y(f))>2]=k;b=q[g+68>>2];q[a+88>>2]=j;q[a+76>>2]=A-h;q[a+72>>2]=o;b=0-b|0;q[a+92>>2]=b;f=x(i*x(b|0));d:{if(x(y(f))>2]=b;z=z+1|0;if((v|0)!=(z|0)){continue}break}a=s[e+952>>1]}b=q[c+784>>2];q[e+800>>2]=b;a=s[c+788>>1]<<4&16|a&-17;p[e+952>>1]=a;if((b|0)>=1){Gi(e+544|0,c+528|0,b);a=s[e+952>>1]}q[e+804>>2]=q[c+792>>2];Gi(e+808|0,c+796|0,144);p[e+952>>1]=m&8|(m&6|(a&65520|m&1));a=q[d+164>>2];if((a|0)==q[d+168>>2]){J(4709,4653,533,4733);G()}q[d+164>>2]=a+960;Gi(a,l,954);ti=l+960|0}function jo(a,b,c){var d=0,e=0;d=ti-144|0;ti=d;a:{if((uj(c,1)|0)<1){e=-4;break a}q[d+120>>2]=0;q[d+112>>2]=1;q[d+116>>2]=0;q[d+104>>2]=0;q[d+96>>2]=1;q[d+100>>2]=0;q[d+88>>2]=0;q[d+80>>2]=1;q[d+84>>2]=0;e=d- -64|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;q[d+136>>2]=0;q[d+128>>2]=1;q[d+132>>2]=0;q[d+56>>2]=0;q[d+48>>2]=1;q[d+52>>2]=0;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;e=Vr(d+128|0,b,c);b:{if(e){break b}e=-14;if(uj(d+128|0,1)){break b}e=Tk(d+112|0,b,c);if(e){break b}e=gk(d+96|0,d+112|0);if(e){break b}e=gk(d+48|0,c);if(e){break b}e=gk(d+32|0,c);if(e){break b}e=lk(d+80|0,1);if(e){break b}e=lk(d- -64|0,0);if(e){break b}e=lk(d+16|0,0);if(e){break b}e=lk(d,1);if(e){break b}while(1){if(!(o[q[d+104>>2]]&1)){e=Wk(d+96|0,1);if(e){break b}if(!(o[q[d+72>>2]]&1?0:!(o[q[d+88>>2]]&1))){e=Bl(d+80|0,d+80|0,d+48|0);if(e){break b}e=hl(d- -64|0,d- -64|0,d+112|0);if(e){break b}}e=Wk(d+80|0,1);if(e){break b}e=Wk(d- -64|0,1);if(!e){continue}break b}while(1){if(!(o[q[d+40>>2]]&1)){e=Wk(d+32|0,1);if(e){break b}if(!(o[q[d+8>>2]]&1?0:!(o[q[d+24>>2]]&1))){e=Bl(d+16|0,d+16|0,d+48|0);if(e){break b}e=hl(d,d,d+112|0);if(e){break b}}e=Wk(d+16|0,1);if(e){break b}e=Wk(d,1);if(!e){continue}break b}break}c:{if((Lj(d+96|0,d+32|0)|0)>=0){e=hl(d+96|0,d+96|0,d+32|0);if(e){break b}e=hl(d+80|0,d+80|0,d+16|0);if(e){break b}e=hl(d- -64|0,d- -64|0,d);if(!e){break c}break b}e=hl(d+32|0,d+32|0,d+96|0);if(e){break b}e=hl(d+16|0,d+16|0,d+80|0);if(e){break b}e=hl(d,d,d- -64|0);if(e){break b}}if(uj(d+96|0,0)){continue}break}while(1){if((uj(d+16|0,0)|0)>-1){while(1){if((Lj(d+16|0,c)|0)>=0){e=hl(d+16|0,d+16|0,c);if(!e){continue}break b}break}e=gk(a,d+16|0);break b}e=Bl(d+16|0,d+16|0,c);if(!e){continue}break}}Si(d+112|0);Si(d+96|0);Si(d+80|0);Si(d- -64|0);Si(d+128|0);Si(d+48|0);Si(d+32|0);Si(d+16|0);Si(d)}ti=d+144|0;return e}function RK(a,b,c){var d=0,e=0,f=0;d=ti-32|0;ti=d;q[c+4>>2]=-2;q[c+8>>2]=-2;q[c+28>>2]=-2;q[c+20>>2]=-2;q[c+24>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2;f=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{d:{e:{f:{if(!Fu(a,b)){bj(a,-1e4,q[c+48>>2]);jk(a);e=Vl(a,0,0);if(e){break c}Ki(a,-10002,q[59620]);g:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238480;break b}q[c+4>>2]=kk(a,-1e4);break g}q[c+4>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59621]);if(!Ei(a,-1)){break e}if((Ei(a,-1)|0)==6){break f}c=238484;break b}q[d+16>>2]=dj(a,-1,0);Ai(4,14901,19356,d+16|0);Ci(a,-2);b=0;break a}q[c+8>>2]=kk(a,-1e4);break d}q[c+8>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59622]);h:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238488;break b}q[c+12>>2]=kk(a,-1e4);break h}q[c+12>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59623]);i:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238492;break b}q[c+16>>2]=kk(a,-1e4);break i}q[c+16>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59624]);j:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238496;break b}q[c+20>>2]=kk(a,-1e4);break j}q[c+20>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59625]);k:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238500;break b}q[c+24>>2]=kk(a,-1e4);break k}q[c+24>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[59626]);if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=238504;break b}q[c+28>>2]=kk(a,-1e4);break c}q[c+28>>2]=-2;Ci(a,-2)}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;jk(a);b=!e;break a}c=q[c>>2];q[d+4>>2]=q[b+8>>2];q[d>>2]=c;Ai(4,14901,19307,d);Ci(a,-2);b=0}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59620]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59621]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59622]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59623]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59624]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59625]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[59626]);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){ti=d+32|0;return b}J(16509,15841,2342,19381);G()}function ml(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=ti-16|0;ti=h;a:{b:{c:{if(b|c){g=q[a>>2];f=q[a+4>>2];if(!(g|f)){break b}if((b|0)==(g|0)&(c|0)==(f|0)){break c}e=q[a+12>>2];g=e;f=q[a+8>>2];if(!(e|f)){a=a+8|0;e=1;break b}e=1;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+20>>2];g=e;f=q[a+16>>2];if(!(e|f)){a=a+16|0;e=2;break b}e=2;if((b|0)==(f|0)&(c|0)==(g|0)){break c}g=q[a+24>>2];f=q[a+28>>2];if(!(g|f)){a=a+24|0;e=3;break b}e=3;if((b|0)==(g|0)&(c|0)==(f|0)){break c}e=q[a+36>>2];g=e;f=q[a+32>>2];if(!(e|f)){a=a+32|0;e=4;break b}e=4;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+44>>2];g=e;f=q[a+40>>2];if(!(e|f)){a=a+40|0;e=5;break b}e=5;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+52>>2];g=e;f=q[a+48>>2];if(!(e|f)){a=a+48|0;e=6;break b}e=6;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+60>>2];g=e;f=q[a+56>>2];if(!(e|f)){a=a+56|0;e=7;break b}e=7;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+68>>2];g=e;f=q[a+64>>2];if(!(e|f)){a=a- -64|0;e=8;break b}e=8;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+76>>2];g=e;f=q[a+72>>2];if(!(e|f)){a=a+72|0;e=9;break b}e=9;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+84>>2];g=e;f=q[a+80>>2];if(!(e|f)){a=a+80|0;e=10;break b}e=10;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+92>>2];g=e;f=q[a+88>>2];if(!(e|f)){a=a+88|0;e=11;break b}e=11;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+100>>2];g=e;f=q[a+96>>2];if(!(e|f)){a=a+96|0;e=12;break b}e=12;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+108>>2];g=e;f=q[a+104>>2];if(!(e|f)){a=a+104|0;e=13;break b}e=13;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+116>>2];g=e;f=q[a+112>>2];if(!(e|f)){a=a+112|0;e=14;break b}e=14;if((b|0)==(f|0)&(c|0)==(g|0)){break c}e=q[a+124>>2];g=e;f=q[a+120>>2];if(!(e|f)){a=a+120|0;e=15;break b}e=15;if((b|0)==(f|0)&(c|0)==(g|0)){break c}q[h>>2]=Mi(b,c);Ai(3,33031,34482,h)}break a}i=1<>2]=b;q[a+4>>2]=c;i=1<>2]=130271;q[c+176>>2]=128752;a=Bi(a,130603,c+176|0);break c}d:{switch(e|0){case 0:b=Li(a,1,k,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c- -64>>3]=g;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;Bi(a,128819,c+48|0)}e=Li(a,2,q[212904],0);f=u[e>>2];g=u[e+4>>2];f:{if(!(f!=f|g!=g)){d=u[e+8>>2];if(d==d){break f}}d=u[e+8>>2];v[c+32>>3]=g;v[c+40>>3]=d;v[c+24>>3]=f;q[c+16>>2]=2;Bi(a,128819,c+16|0);d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=+x(x(x(u[b>>2]*f)+x(u[b+4>>2]*g))+x(u[b+8>>2]*d));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=j;q[a+8>>2]=q[a+8>>2]+16;a=1;break c;case 1:b=Li(a,1,q[212905],0);f=u[b>>2];g=u[b+4>>2];g:{h:{if(f!=f|g!=g){break h}d=u[b+8>>2];if(d!=d){break h}d=u[b+12>>2];if(d==d){break g}}d=u[b+8>>2];h=u[b+12>>2];v[c+144>>3]=g;v[c+160>>3]=h;v[c+152>>3]=d;v[c+136>>3]=f;q[c+128>>2]=1;Bi(a,128909,c+128|0)}e=Li(a,2,q[212905],0);f=u[e>>2];g=u[e+4>>2];i:{j:{if(f!=f|g!=g){break j}d=u[e+8>>2];if(d!=d){break j}h=u[e+12>>2];if(h==h){break i}}d=u[e+8>>2];h=u[e+12>>2];v[c+96>>3]=g;v[c+112>>3]=h;v[c+104>>3]=d;v[c+88>>3]=f;q[c+80>>2]=2;Bi(a,128909,c+80|0);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}j=+x(x(x(x(u[b>>2]*f)+x(u[b+4>>2]*g))+x(u[b+8>>2]*d))+x(u[b+12>>2]*h));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=j;q[a+8>>2]=q[a+8>>2]+16;a=1;break c;default:break d}}q[c+12>>2]=128704;q[c+8>>2]=128688;q[c+4>>2]=130271;q[c>>2]=128752;a=Bi(a,130567,c)}ti=c+192|0;return a|0}function Ula(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=x(0),l=x(0),m=0,n=x(0);b=ti-128|0;ti=b;d=q[a+1040>>2];a:{if(q[d+8>>2]==2){break a}f=q[d+32>>2];g=q[d>>2];m=ep(q[f+8>>2],g);c=q[a+1052>>2];h=c;d=q[a+1048>>2];e=d+1|0;c=e>>>0<1?c+1|0:c;q[a+1048>>2]=e;q[a+1052>>2]=c;if(!h&d>>>0<=3){c=d;q[a>>2]=zi(q[(c<<2)+243696>>2]);q[a+4>>2]=wi;if(!h&c>>>0<=2){b:{switch(c-1|0){default:j=1;q[a+8>>2]=1;q[a+16>>2]=zi(q[(m<<2)+243712>>2]);q[a+20>>2]=wi;break a;case 0:j=1;q[a+8>>2]=1;q[b+64>>2]=0;d=fI(ov(q[f+8>>2],g),b- -64|0);q[a+16>>2]=zi(d?d:37343);q[a+20>>2]=wi;break a;case 1:break b}}j=1;q[a+8>>2]=1;q[a+16>>2]=Iba(q[f+8>>2],g);q[a+20>>2]=wi;break a}j=1;q[a+8>>2]=1;d=a;c=Wz(q[f+8>>2],g);e=37343;c:{if(c>>>0>8){break c}e=q[(c<<2)+243808>>2]}q[d+16>>2]=zi(e);q[a+20>>2]=wi;break a}c=d;e=h-(c>>>0<4)|0;c=c-4|0;d:{if(!e&c>>>0<=9){d=q[(c<<2)+38992>>2];Gl(b- -64|0,q[f+8>>2],g,d);q[a>>2]=zi(q[(d<<2)+243744>>2]);q[a+4>>2]=wi;u[a+16>>2]=u[b+64>>2];u[a+20>>2]=u[b+68>>2];u[a+24>>2]=u[b+72>>2];i=u[b+76>>2];q[a+8>>2]=4;u[a+28>>2]=i;break d}c=d;e=h-(c>>>0<14)|0;c=c-14|0;e=!e&c>>>0>3|(e|0)!=0;if(!e){zba(b- -64|0,q[f+8>>2],g);Wo(b+16|0,b- -64|0);if(e){break a}d=a;e:{f:{switch(c-1|0){default:i=u[b+40>>2];k=u[b+36>>2];l=u[b+32>>2];e=3;break e;case 0:n=u[b+28>>2];i=u[b+24>>2];k=u[b+20>>2];l=u[b+16>>2];e=4;break e;case 1:i=u[b+56>>2];k=u[b+52>>2];l=u[b+48>>2];e=3;break e;case 2:break f}}Gl(b,q[f+8>>2],g,4);n=x(u[b+12>>2]*x(0));i=x(u[b+56>>2]*u[b+8>>2]);k=x(u[b+52>>2]*u[b+4>>2]);l=x(u[b+48>>2]*u[b>>2]);e=3}q[d+8>>2]=e;d=zi(q[(c<<2)+243792>>2]);u[a+28>>2]=n;u[a+24>>2]=i;u[a+20>>2]=k;u[a+16>>2]=l;q[a>>2]=d;q[a+4>>2]=wi;break d}if(!h&(d|0)==18){q[a+8>>2]=6;o[a+16|0]=II(q[f+8>>2],g,0);q[a>>2]=zi(39085);q[a+4>>2]=wi;break d}if((d|0)!=19|h|(m|0)!=1){break a}q[a+8>>2]=7;q[a+16>>2]=Tz(q[f+8>>2],g);q[a>>2]=zi(39093);q[a+4>>2]=wi}j=1}ti=b+128|0;return j|0}function hK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=ti-112|0;ti=e;m=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-1,72256);a:{if(!Ei(a,-1)){break a}mj(a,-1,5);f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if(!rj(a,-2)){break a}while(1){mj(a,-1,5);f=Xi(a,-2);Ki(a,-1,72267);mj(a,-1,5);if(Mk(a,-1)&1){q[e+100>>2]=f;q[e+96>>2]=72267;Bi(a,72276,e+96|0)}g=q[a+8>>2];q[g+8>>2]=0;q[a+8>>2]=g+16;if(rj(a,-2)){while(1){Xi(a,-1);mj(a,-2,3);Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);Ki(a,-1,72331);mj(a,-1,5);if(Mk(a,-1)&1){q[e+84>>2]=f;q[e+80>>2]=72331;Bi(a,72276,e+80|0)}g=q[a+8>>2];q[g+8>>2]=0;q[a+8>>2]=g+16;if(rj(a,-2)){while(1){Xi(a,-1);mj(a,-2,3);Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);Ki(a,-1,72335);mj(a,-1,5);if((Mk(a,-1)>>>0)%3|0){q[e+68>>2]=f;q[e+64>>2]=72335;Bi(a,72276,e- -64|0)}f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if(rj(a,-2)){while(1){Xi(a,-1);mj(a,-2,3);Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);Ci(a,-2);h=h+1|0;if(rj(a,-2)){continue}break}}Ci(a,-2);Ki(a,-1,72343);b:{if(!Ei(a,-1)){f=h;break b}mj(a,-1,5);f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;f=h;if(!rj(a,-2)){break b}l=h+1|0;while(1){mj(a,-1,5);k=Xi(a,-2);Ki(a,-1,72354);if(!ek(a,-1)){q[e+48>>2]=i+1;Bi(a,72357,e+48|0)}Ci(a,-2);qu(a,72434);qu(a,72440);g=qu(a,72447);j=qu(a,72459);Ki(a,-1,72469);Uo(a,72469,0);Ci(a,-2);Ki(a,-1,72478);Uo(a,72478,0);Ci(a,-2);Ki(a,-1,72482);aw(a,72482,0);Ci(a,-2);Ki(a,-1,72496);aw(a,72496,0);Ci(a,-2);if(!(g>>>0<=l>>>0?(g|0)>=1:0)){q[e+40>>2]=h;q[e+36>>2]=g;q[e+32>>2]=k;Bi(a,72512,e+32|0)}if(!(j>>>0<=l>>>0?(j|0)>=1:0)){q[e+24>>2]=h;q[e+20>>2]=j;q[e+16>>2]=k;Bi(a,72596,e+16|0)}g=j-g|0;if((g|0)<=0){q[e+4>>2]=g;q[e>>2]=k;Bi(a,72678,e)}Ci(a,-2);f=f+g|0;i=i+1|0;if(rj(a,-2)){continue}break}}Ci(a,-2);q[c>>2]=i;q[b>>2]=h;q[d>>2]=f;if(!h){Bi(a,72737,0)}if(!i){Bi(a,72797,0)}if(q[a+8>>2]-q[a+12>>2]>>4!=(m|0)){J(72857,71492,1425,72878);G()}ti=e+112|0}function Ema(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=0,k=0,l=0,m=0;b=ti-112|0;ti=b;i=q[a+8>>2];c=q[i>>2];if((c|0)!=q[i+4>>2]){k=b+80|0;j=b- -64|0;while(1){c=(l<<7)+c|0;a:{if(!(r[c+58|0]&16)){break a}q[74892]=q[74892]+1;q[b+104>>2]=1;q[b+108>>2]=0;q[b+48>>2]=1;q[b+52>>2]=0;d=q[c+60>>2];b:{if(!d){break b}e=q[q[a+12>>2]>>2];q[b+60>>2]=c;q[b+56>>2]=e;d=Fs(d,132,b+56|0,1e4);if((d|0)==-17){break b}An(q[c+60>>2]);c:{if(d){break c}if(!wo(q[c+64>>2],q[c+68>>2])){break c}d=fk(c+96|0,c- -64|0,zi(31458),wi,0,0,0,0);if(!d){break c}q[b+32>>2]=d;Ai(3,31471,31479,b+32|0)}q[c+60>>2]=0}d:{if(!q[c+36>>2]){break d}q[74914]=q[74914]+1;q[b+96>>2]=1;q[b+100>>2]=0;q[b+24>>2]=1;q[b+28>>2]=0;d=q[c+56>>2];e=d>>>18&1;if((e|0)!=(d>>>17&1)){d=d&-131073|e<<17;q[c+56>>2]=d}if(d&131072){q[74936]=q[74936]+1;q[b+88>>2]=1;q[b+92>>2]=0;q[b+16>>2]=1;q[b+20>>2]=0;d=q[a+4>>2];e=q[d+12>>2];q[j>>2]=q[d+8>>2];q[j+4>>2]=e;e=q[d+4>>2];q[b+56>>2]=q[d>>2];q[b+60>>2]=e;g=u[c+48>>2];u[b+56>>2]=u[d>>2]*g;f=g;g=u[d+4>>2];f=x(f*g);e:{f:{switch(q[c+44>>2]){case 0:u[b+60>>2]=f;q[c+52>>2]=0;break e;case 1:break f;default:break e}}f=x(f+u[c+52>>2]);u[c+52>>2]=f;if(!(f>=g^1)){u[b+60>>2]=g;u[c+52>>2]=f-u[d+4>>2];break e}q[b+60>>2]=0}m=zK(q[c+36>>2],b+56|0)?m:-1e3;break d}q[c+52>>2]=0}d=q[c+56>>2];if(!(d&524288)){break a}q[c+56>>2]=d&-524289;if(!wo(q[c>>2],q[c+4>>2])){break a}q[k>>2]=0;q[k+4>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[j>>2]=0;q[j+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;d=0;e=0;h=q[q[q[c+40>>2]+80>>2]+8>>2];g:{if(!h){break g}h=q[h>>2];if(!h){break g}d=q[h+3216>>2];e=q[h+3220>>2]}q[b+56>>2]=d;q[b+60>>2]=e;d=q[c+40>>2];e=q[d+100>>2];q[b+72>>2]=q[d+96>>2];q[b+76>>2]=e;zo(q[c+40>>2],s[c+56>>1],k);c=fk(b+56|0,c,zi(31533),wi,0,0,0,0);if(!c){break a}q[b>>2]=c;Ai(3,31471,31548,b)}l=l+1|0;c=q[i>>2];if(l>>>0>2]-c>>7>>>0){continue}break}}ti=b+112|0;return m|0}function ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;tm(a,b);a:{b:{c:{d:{e:{f:{g:{switch(q[b>>2]-2|0){case 1:g=q[a+32>>2];q[a+32>>2]=-1;d=Qk(a,2147450902,q[q[a+12>>2]+8>>2]);if((g|0)==-1){break c}if((d|0)==-1){d=g;break b}i=q[q[a>>2]+12>>2];c=d;while(1){f=c;h=(c<<2)+i|0;e=q[h>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(f+c|0)+1|0;if((c|0)!=-1){continue}break}c=h;g=g+(f^-1)|0;f=g>>31;if((f^f+g)>=131072){Dj(q[a+12>>2],136537);e=q[h>>2]}q[c>>2]=(e&16383|g<<14)+2147467264;break c;case 8:c=q[b+8>>2];e=q[q[a>>2]+12>>2]+(c<<2)|0;h:{if((c|0)>=1){d=e-4|0;c=q[d>>2];if(o[(c&63)+136048|0]<0){break h}}c=q[e>>2];d=e}q[d>>2]=c&-16321|!(c&16320)<<6;d=q[b+8>>2];break c;case 9:c=q[a>>2];d=q[q[c+12>>2]+(q[b+8>>2]<<2)>>2];if((d&63)!=19){break f}q[a+24>>2]=q[a+24>>2]-1;d=ao(a,26,d>>>23|0,0,1);break c;case 0:case 2:case 3:break a;case 10:break e;default:break g}}c=q[a>>2]}f=q[a+36>>2];e=f+1|0;i:{if((f|0)=249){Dj(q[a+12>>2],136502);d=q[a+36>>2]+1|0;c=q[a>>2]}o[c+75|0]=e}q[a+36>>2]=d;Xv(a,b,d-1|0);if(q[b>>2]!=12){break d}}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}d=ao(a,27,255,q[b+8>>2],0)}if((d|0)==-1){break a}}c=q[b+20>>2];if((c|0)!=-1){g=q[q[a>>2]+12>>2];while(1){f=c;h=g+(c<<2)|0;e=q[h>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(f+c|0)+1|0;if((c|0)!=-1){continue}break}c=h;f=(f^-1)+d|0;d=f>>31;if((d^d+f)>=131072){Dj(q[a+12>>2],136537);e=q[h>>2]}q[c>>2]=(e&16383|f<<14)+2147467264;break a}q[b+20>>2]=d}g=q[b+16>>2];q[a+28>>2]=q[a+24>>2];j:{if((g|0)!=-1){c=q[a+32>>2];if((c|0)==-1){break j}h=q[q[a>>2]+12>>2];while(1){e=c;f=h+(c<<2)|0;d=q[f>>2];c=(d>>>14|0)-131071|0;c=(c|0)==-1?-1:(e+c|0)+1|0;if((c|0)!=-1){continue}break}c=f;h=g+(e^-1)|0;e=h>>31;if((e^e+h)>=131072){Dj(q[a+12>>2],136537);d=q[f>>2]}q[c>>2]=(d&16383|h<<14)+2147467264}q[b+16>>2]=-1;return}q[a+32>>2]=g;q[b+16>>2]=-1}function ska(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0,l=0;c=ti-16|0;ti=c;a:{e=q[a+4>>2];b=q[e+32>>2];b:{c:{d:{e:{f=q[q[a+24>>2]>>2];if(f>>>0>2]-b>>3>>>0){h=q[b+(f<<3)>>2];g=q[e+16>>2];if(h>>>0>=q[e+20>>2]-g>>4>>>0){break a}b=-4;if(q[a+32>>2]){break b}f:{g:{f=q[a+16>>2];d=q[a+20>>2];if((f|0)!=q[75708]|(d|0)!=q[75709]){if((f|0)==q[75710]&(d|0)==q[75711]){break g}b=-1;if((f|0)!=q[75712]|(d|0)!=q[75713]){break b}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+12>>2]=i;d=2;break f}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+8>>2]=i;d=0;break f}f=q[a+8>>2];i=x(v[a+40>>3]);u[(g+(h<<4)|0)+4>>2]=i;d=1}k=q[e+4>>2];a=q[e>>2];l=k-a|0;b=(l|0)/104|0;if(!l){break c}g=q[g+(h<<4)>>2];h:{switch(d|0){case 1:break h;case 0:break d;default:break e}}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){i:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break i}j=u[g+16>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i+j;if(!Yo(d,1,c)){break i}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}break a}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){j:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break j}j=u[g+20>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i*j;if(!Yo(d,2,c)){break j}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}if((a|0)==(k|0)){break a}h=b>>>0>1?b:1;b=0;while(1){k:{a=w(b,104)+a|0;d=q[a+8>>2];if(!d|(g|0)!=q[a+4>>2]|q[a+80>>2]!=(f|0)){break k}j=u[g+12>>2];q[c+12>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;u[c>>2]=i*j;if(!Yo(d,0,c)){break k}b=-8;break b}b=b+1|0;if((h|0)==(b|0)){break c}a=q[e>>2];if((q[e+4>>2]-a|0)/104>>>0>b>>>0){continue}break}break a}b=0}ti=c+16|0;return b|0}J(45161,44897,479,45172);G()}function aq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=q[a+1408>>2];a:{if((c|0)>24){break a}if(!c){q[a+1404>>2]=0}while(1){c=r[a+1388|0];b:{c:{d:{e:{f:{if(q[a+1396>>2]){if(c&255){break f}break a}if(c&255){break f}d=q[a+1392>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break a}if(!(o[a+1387|0]&1)){break e}d=q[a+1392>>2]}f=d+1|0;q[a+1392>>2]=f;c=r[(a+d|0)+1132|0];if((c|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if((f|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break d}o[a+1388|0]=c;if(!c){break a}}o[a+1388|0]=c-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];g:{if(c){if(c>>>0>=t[a+52>>2]){break c}q[a+44>>2]=c+1;c=r[c|0];break g}c=ej(q[a+32>>2]);if((c|0)==-1){break c}}c=c&255;break b}q[a+112>>2]=32;break a}J(205744,205607,1555,205765);G()}q[a+108>>2]=1;c=0}d=q[a+1408>>2];q[a+1408>>2]=d+8;q[a+1404>>2]=q[a+1404>>2]+(c<>2];k:{if(!f){g=q[b+2084>>2];if(g){break k}return-1}d=q[b+4>>2];if((d|0)<9){break j}g=q[b+2084>>2];if(!g){break j}}f=q[a+1404>>2];c=0;d=q[b+2092>>2];if((d|0)>=2){e=f>>>1&1431655765|f<<1&-1431655766;e=e>>>2&858993459|e<<2&-858993460;e=e>>>4&252645135|e<<4&-252645136;j=Twa(e>>>8&16711935|e<<8&-16711936,16);while(1){e=d>>>1|0;i=e+c|0;h=j>>>0>2];c=h?c:i;d=h?e:d-e|0;if((d|0)>1){continue}break}}d=q[a+1408>>2];c=r[b+23|0]?c:q[q[b+2088>>2]+(c<<2)>>2];b=r[c+q[b+8>>2]|0];if((d|0)<(b|0)){break i}q[a+1404>>2]=f>>>b;q[a+1408>>2]=d-b;return c}if(r[b+23|0]){break h}if((d|0)>=1){g=q[b+8>>2];c=0;while(1){l:{e=c+g|0;b=r[e|0];if((b|0)==255){break l}h=q[a+1404>>2];if(q[f+(c<<2)>>2]!=(h&(-1<>2];if((d|0)<(b|0)){break i}q[a+1404>>2]=h>>>b;q[a+1408>>2]=d-r[e|0];return c}c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[a+112>>2]=21}q[a+1408>>2]=0;return-1}J(205850,205607,1696,205861);G()}function WN(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;q[a+1516>>2]=0;q[a+1520>>2]=0;a:{if(q[a+108>>2]){break a}k=c;b:{c:{d:{e:{f:while(1){if(!rW(a)){return 0}if(oj(a,1)){if(r[a+60|0]){q[a+112>>2]=35;return 0}while(1){g:{h:{i:{j:{g=r[a+1388|0];if(!g){if(q[a+1396>>2]){break i}c=q[a+1392>>2];if((c|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break i}if(!(o[a+1387|0]&1)){break j}c=q[a+1392>>2]}h=c+1|0;q[a+1392>>2]=h;g=r[(a+c|0)+1132|0];if((g|0)!=255){q[a+1400>>2]=c;q[a+1396>>2]=1}if((h|0)>=q[a+1128>>2]){q[a+1392>>2]=-1}if(r[a+1388|0]){break e}o[a+1388|0]=g;if(!g){break i}}o[a+1388|0]=g-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];if(c){if(c>>>0>2]){break h}q[a+108>>2]=1;q[a+1408>>2]=0;continue}if((ej(q[a+32>>2])|0)!=-1){break g}q[a+108>>2]=1;q[a+1408>>2]=0;continue}q[a+112>>2]=32}g=0;q[a+1408>>2]=0;if(!q[a+108>>2]){continue f}break a}q[a+44>>2]=c+1}q[a+1408>>2]=0;continue}}break}if(q[a+96>>2]!=q[a+104>>2]?q[a+92>>2]:0){break d}c=a;j=q[a+420>>2];i=0;k:{if((j|0)<1){break k}h=j-1|0;if((j|0)<=16384){i=o[h+205792|0];if((j|0)<=16){break k}i=o[(h>>>5|0)+205792|0]+5|0;if((j|0)<=512){break k}i=o[(h>>>10|0)+205792|0]+10|0;break k}if((j|0)<=16777216){i=o[(h>>>15|0)+205792|0]+15|0;if((j|0)<=524288){break k}i=o[(h>>>20|0)+205792|0]+20|0;break k}i=o[(h>>>25|0)+205792|0]+25|0;if((j|0)<=536870912){break k}i=o[(h>>>30|0)+205792|0]+30|0}c=oj(c,i);if((c|0)==-1|(c|0)>=q[a+420>>2]){break a}q[f>>2]=c;h=w(c,6)+a|0;if(!r[h+424|0]){h=1;g=q[a+124>>2];c=g>>1;f=0;break c}g=q[a+128>>2];c=g>>1;j=oj(a,1);f=oj(a,1);i=r[h+424|0];h=!i;if(!i|j){break c}q[b>>2]=g-q[a+124>>2]>>2;b=q[a+124>>2]+g>>2;break b}J(205744,205607,1555,205765);G()}J(205638,205607,3143,205694);G()}q[b>>2]=0;b=c}q[k>>2]=b;l:{if(!(f|h)){b=w(g,3);q[d>>2]=b-q[a+124>>2]>>2;g=b+q[a+124>>2]>>2;break l}q[d>>2]=c}q[e>>2]=g;g=1}return g}function H7(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=ti-3392|0;ti=b;j=q[a+48>>2];wj(j);a:{if(!r[a+88|0]){break a}o[a+88|0]=0;Ai(2,160800,161029,0);c=q[a>>2];q[b+52>>2]=160928;q[b+48>>2]=c;hj(b- -64|0,1024,160922,b+48|0);g=il(b- -64|0,161057);b:{if(g){q[b+1152>>2]=120;q[b+1156>>2]=2232;q[b+1144>>2]=0;q[b+1148>>2]=0;q[b+1136>>2]=-894784852;q[b+1140>>2]=7;c:{d:{if((Rl(b+1136|0,1,24,g)|0)!=24){break d}o[b+1100|0]=0;q[b+1096>>2]=g;h=b+1104|0;hn(h,0);c=q[a+20>>2];if(c){k=b+1232|0;e=b+1168|0;while(1){f=q[q[a+16>>2]+(i<<2)>>2];if((f|0)!=-1){while(1){f=q[a+24>>2]+w(f,136)|0;e:{if(r[b+1100|0]){break e}c=f+8|0;if(o[f+121|0]&1){q[b+32>>2]=c;Ai(3,160800,161836,b+32|0);break e}Fi(b+1160|0,0,2232);c=f;d=q[c+4>>2];q[b+1160>>2]=q[c>>2];q[b+1164>>2]=d;d=q[c+68>>2];q[e+56>>2]=q[c+64>>2];q[e+60>>2]=d;d=q[c+60>>2];q[e+48>>2]=q[c+56>>2];q[e+52>>2]=d;d=q[c+52>>2];q[e+40>>2]=q[c+48>>2];q[e+44>>2]=d;d=q[c+44>>2];q[e+32>>2]=q[c+40>>2];q[e+36>>2]=d;d=q[c+36>>2];q[e+24>>2]=q[c+32>>2];q[e+28>>2]=d;d=q[c+28>>2];q[e+16>>2]=q[c+24>>2];q[e+20>>2]=d;d=q[c+20>>2];q[e+8>>2]=q[c+16>>2];q[e+12>>2]=d;d=q[c+12>>2];q[e>>2]=q[c+8>>2];q[e+4>>2]=d;zj(k,q[c+72>>2],2124);d=q[c+84>>2];q[b+3360>>2]=q[c+80>>2];q[b+3364>>2]=d;d=q[c+92>>2];q[b+3368>>2]=q[c+88>>2];q[b+3372>>2]=d;d=q[c+100>>2];q[b+3376>>2]=q[c+96>>2];q[b+3380>>2]=d;d=q[c+108>>2];q[b+3384>>2]=q[c+104>>2];q[b+3388>>2]=d;ll(h,b+1160|0,2232);if((Rl(b+1160|0,1,2232,q[b+1096>>2])|0)==2232){break e}o[b+1100|0]=1}f=q[f+128>>2];if((f|0)!=-1){continue}break}c=q[a+20>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}if(r[b+1100|0]){break d}Ik(g,0,0);q[b+1144>>2]=$n(h);q[b+1148>>2]=wi;a=Rl(b+1136|0,1,24,g);Ak(g);if((a|0)!=24){break c}break a}Ak(g)}q[b+16>>2]=b- -64;Ai(4,160800,161060,b+16|0);xn(b- -64|0);break b}q[b>>2]=b- -64;Ai(4,160800,161093,b)}}qj(j);ti=b+3392|0}function k5(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0,i=0,j=x(0),k=x(0),l=0,m=x(0),n=x(0);g=ti+ -64|0;ti=g;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);i=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){mj(a,1,5);e=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=0;c:{if(rj(a,1)){while(1){d:{e:{f:{g:{h:{h=Xi(a,-2);switch(h-16|0){case 16:break g;case 0:break e;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 f;default:break h}}if((h|0)!=1){break f}c=am(a,-1);j=u[c+12>>2];k=u[c+8>>2];m=u[c+4>>2];f=u[c>>2];break d}d=Xi(a,-1);break d}Ci(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){break b}q[g+16>>2]=110485;a=Bi(a,112032,g+16|0);break c}n=x(Xi(a,-1)|0)}b=b|h;Ci(a,-2);if(rj(a,1)){continue}break}h=b;b=d}if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){break a}j=x(j*x(255));i:{if(j=x(0)){e=~~j>>>0;break i}e=0}d=e>>>8|0;c=e<<24;k=x(k*x(255));j:{if(k=x(0)){e=~~k>>>0;break j}e=0}l=e>>>16|0;e=c|e<<16;d=d|l;f=x(f*x(255));k:{if(f=x(0)){c=~~f>>>0;break k}c=0}l=c|e;c=g;q[c+32>>2]=h;q[c+36>>2]=0;q[c+24>>2]=5;q[c+56>>2]=b;q[c+60>>2]=0;q[c+48>>2]=(bxa(n),Zwa(2));q[c+52>>2]=0;e=c;h=l;f=x(m*x(255));l:{if(f=x(0)){b=~~f>>>0;break l}b=0}l=b>>>24|0;q[e+40>>2]=h|b<<8;q[c+44>>2]=d|l;d=q[i+4>>2];if((d|0)!=q[i+8>>2]){q[i+4>>2]=d+40;a=g;b=q[a+60>>2];q[d+32>>2]=q[a+56>>2];q[d+36>>2]=b;b=q[a+52>>2];q[d+24>>2]=q[a+48>>2];q[d+28>>2]=b;b=q[a+44>>2];q[d+16>>2]=q[a+40>>2];q[d+20>>2]=b;b=q[a+36>>2];q[d+8>>2]=q[a+32>>2];q[d+12>>2]=b;b=q[a+28>>2];q[d>>2]=q[a+24>>2];q[d+4>>2]=b;a=0;break c}q[g>>2]=(q[i+8>>2]-q[i>>2]|0)/40;a=Bi(a,110538,g)}ti=g- -64|0;return a|0}J(110492,110389,475,114319);G()}J(110492,110389,1683,112013);G()}J(110492,110389,1688,112013);G()}function Rka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=x(0),i=0;f=ti-80|0;ti=f;a:{b:{c=q[a+4>>2];d=q[c+16>>2];c:{d:{e:{f:{e=q[q[a+24>>2]>>2];if(e>>>0>2]-d>>3>>>0){d=q[(e<<3)+d>>2];e=q[c+4>>2];c=q[c>>2];if(d>>>0>=e-c>>2>>>0){break b}e=q[c+(d<<2)>>2];c=q[a+16>>2];d=q[a+20>>2];if((c|0)==q[75830]&(d|0)==q[75831]){a=q[e+132>>2];c=q[a+172>>2];q[f+16>>2]=q[a+168>>2];q[f+20>>2]=c;q[f+8>>2]=1;Gi(b+32|0,f+8|0,72);a=0;break c}if((c|0)==q[75832]&(d|0)==q[75833]){a=q[e+132>>2];a=((o[a+186|0]&1)<<5)+a|0;c=q[a+12>>2];q[f+16>>2]=q[a+8>>2];q[f+20>>2]=c;q[f+8>>2]=1;Gi(b+32|0,f+8|0,72);a=0;break c}if((c|0)==q[75834]&(d|0)==q[75835]){h=V3(q[e+132>>2]);a=f+8|0;q[a>>2]=0;v[a+8>>3]=h;Gi(b+32|0,f+8|0,72);a=0;break c}if((c|0)==q[75836]&(d|0)==q[75837]){a=f+8|0;c=q[e+132>>2];c=((o[c+186|0]&1)<<5)+c|0;h=x(1);g:{if(!q[c>>2]){break g}h=u[c+20>>2]}q[a>>2]=0;v[a+8>>3]=h;Gi(b+32|0,f+8|0,72);a=0;break c}h:{if((c|0)!=q[75742]|(d|0)!=q[75743]){if(q[75744]!=(c|0)|q[75745]!=(d|0)){break h}break d}c=q[q[q[a+8>>2]+80>>2]>>2];a=q[e+216>>2];if(!a){d=q[e+128>>2];a=q[d+28>>2];if((a|0)==q[d+32>>2]){break a}a=q[a>>2]}a=km(c,a,b);break c}g=1;if(q[75746]==(c|0)&q[75747]==(d|0)){break d}g=2;if(q[75748]==(c|0)&q[75749]==(d|0)){break d}g=3;if(q[75750]==(c|0)&q[75751]==(d|0)){break d}g=4;if(q[75752]==(c|0)&q[75753]==(d|0)){break d}g=5;if(q[75754]==(c|0)&q[75755]==(d|0)){break d}g=6;if(q[75756]==(c|0)&q[75757]==(d|0)){break d}g=7;if(q[75758]==(c|0)&q[75759]==(d|0)){break d}g=q[e+216>>2];if(!g){break f}break e}break b}i=q[e+128>>2];g=q[i+28>>2];if((g|0)==q[i+32>>2]){break a}g=q[g>>2]}a=Ws(g,c,d,q[a+32>>2],b,1,207,e);break c}c=q[q[q[a+8>>2]+80>>2]>>2];d=g<<2;a=q[(d+e|0)+184>>2];if(!a){a=q[(d+q[e+128>>2]|0)+44>>2]}a=km(c,a,b)}ti=f+80|0;return a|0}J(46656,46296,479,46535);G()}J(46656,46296,486,46535);G()}function I7(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;d=ti-1200|0;ti=d;j=q[a+48>>2];wj(j);a:{b:{c:{d:{e:{f:{c=q[b+4>>2];if(!(!c|!q[b>>2])){k=q[b+40>>2];l=q[b+44>>2];Ak(c);q[b+4>>2]=0;g:{c=q[a+20>>2];h:{if(!c){break h}m=a+16|0;h=q[b+48>>2];i=q[b+52>>2];c=q[q[m>>2]+(Qwa(h,i,c)<<2)>>2];if((c|0)==-1){break h}f=q[a+24>>2];while(1){e=f+w(c,136)|0;if((h|0)==q[e>>2]&(i|0)==q[e+4>>2]){break g}c=q[e+128>>2];if((c|0)!=-1){continue}break}}J(161501,161432,565,161497);G()}if(o[b+58|0]&1){xn(q[b>>2]);break d}tz(q[a>>2],k,l,d+176|0);i:{if(to(d+176|0)){if(!xn(d+176|0)){break i}q[d+16>>2]=d+176;Ai(4,160800,161507,d+16|0);break d}e=Km(d+176|0,47);g=r[e|0];o[e|0]=0;j:{if(to(d+176|0)){break j}if(!ny(d+176|0)){break j}q[d+32>>2]=d+176;Ai(4,160800,161539,d+32|0);break d}o[e|0]=g}e=f+w(c,136)|0;g=s[e+120>>1];if(!(g&256)){break f}if((k|0)!=q[e+80>>2]|(l|0)!=q[e+84>>2]){break e}p[e+120>>1]=g&65279;c=f+w(c,136)|0;q[c+104>>2]=$n(b+8|0);q[c+108>>2]=wi;if(aF(d+176|0,q[b>>2])){Fi(d+48|0,0,128);I$(d+48|0,q[242957]);c=q[b>>2];q[d+12>>2]=q[242957];q[d>>2]=c;q[d+8>>2]=d+48;q[d+4>>2]=d+176;Ai(4,160800,161640,d);break d}c=q[b+4>>2];if(c){Ak(c)}c=q[b>>2];if(c){xn(c);yi(q[b>>2])}f=q[a+52>>2];if(!f){break b}c=s[a+58>>1];if(!c|c>>>0>s[a+56>>1]){break a}e=s[b+56>>1];c=c-1|0;p[a+58>>1]=c;p[f+((c&65535)<<1)>>1]=e;p[b+56>>1]=65535;q[b>>2]=0;q[b+4>>2]=0;o[a+88|0]=1;break c}J(161381,161432,557,161497);G()}J(161571,161432,609,161497);G()}J(161590,161432,610,161497);G()}c=q[b+4>>2];if(c){Ak(c)}c=q[b>>2];if(c){xn(c);yi(q[b>>2])}f=q[a+52>>2];if(!f){break b}c=s[a+58>>1];if(!c|c>>>0>s[a+56>>1]){break a}e=s[b+56>>1];g=a;a=c-1|0;p[g+58>>1]=a;p[f+((a&65535)<<1)>>1]=e;p[b+56>>1]=65535;q[b>>2]=0;q[b+4>>2]=0;JH(m,h,i)}qj(j);ti=d+1200|0;return}J(162345,162082,140,162376);G()}J(162381,162082,141,162376);G()}function wl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=ti-256|0;ti=h;q[h+248>>2]=0;q[h+252>>2]=0;q[h+240>>2]=0;q[h+244>>2]=0;q[h+232>>2]=0;q[h+236>>2]=0;q[h+224>>2]=0;q[h+228>>2]=0;a:{b:{if($l(a,h+224|0)){q[h+216>>2]=0;q[h+220>>2]=0;q[h+208>>2]=0;q[h+212>>2]=0;q[h+200>>2]=0;q[h+204>>2]=0;q[h+192>>2]=0;q[h+196>>2]=0;qk(a,b,h+192|0,h+224|0);c:{l=q[h+224>>2];m=q[h+228>>2];if((l|0)==q[h+192>>2]&(m|0)==q[h+196>>2]){d:{if(!c){break d}j=q[c>>2];if(!j){break d}n=q[j+3216>>2];i=q[j+3220>>2]}if((l|0)==(n|0)&(i|0)==(m|0)){break c}}Bi(a,14633,0);break a}k=Vm(c,q[h+208>>2],q[h+212>>2]);if(!k){q[h>>2]=dj(a,b,0);Bi(a,14703,h);break a}b=q[k+84>>2];m=q[b+4>>2];e:{if(m){o=q[b>>2];b=0;n=q[h+216>>2];i=q[h+220>>2];c=0;while(1){j=o+w(b,96)|0;l=q[q[j+16>>2]+100>>2];if(q[j>>2]==(n|0)&q[j+4>>2]==(i|0)){q[e>>2]=l&65536?q[(k+(c<<2)|0)+156>>2]:0;b=q[(o+w(b,96)|0)+20>>2];c=(d|0)!=0;break e}c=(l>>>16&1)+c|0;b=b+1|0;if((m|0)!=(b|0)){continue}break}}if(d|e){break b}c=0}i=q[q[q[k+80>>2]+8>>2]>>2];if(t[q[i+4>>2]>>2]>b>>>0){i=q[(i+(b<<2)|0)+12>>2]}else{i=0}if(g){q[g>>2]=i}f:{if(!c){break f}g=0;c=q[q[k+80>>2]+8>>2];g:{if(!c){break g}c=q[c>>2];if(!c){break g}g=q[c>>2]}if(Fl(g,d,h+60|0)){q[h+48>>2]=d;Bi(a,14764,h+48|0);break a}g=0;c=q[q[k+80>>2]+8>>2];h:{if(!c){break h}c=q[c>>2];if(!c){break h}g=q[c+4>>2]}b=w(b,112)+g|0;if(q[b+8>>2]!=q[h+60>>2]){q[h+36>>2]=q[b+12>>2];q[h+32>>2]=d;Bi(a,14794,h+32|0);break a}a=q[b+56>>2];if(!a){break f}q[h+68>>2]=e;q[h+64>>2]=i;q[e>>2]=xi[a|0](h- -64|0)}if(!f){break a}a=q[h+196>>2];q[f>>2]=q[h+192>>2];q[f+4>>2]=a;a=q[h+220>>2];q[f+24>>2]=q[h+216>>2];q[f+28>>2]=a;a=q[h+212>>2];q[f+16>>2]=q[h+208>>2];q[f+20>>2]=a;a=q[h+204>>2];q[f+8>>2]=q[h+200>>2];q[f+12>>2]=a;break a}Bi(a,14845,0);break a}q[h+16>>2]=vs(h+192|0,h- -64|0,128);Bi(a,14725,h+16|0)}ti=h+256|0}function Pca(a){a=a|0;Fi(a+128|0,0,316);q[a+384>>2]=614;q[a+380>>2]=615;q[a+376>>2]=616;q[a+372>>2]=617;q[a+364>>2]=618;q[a+360>>2]=619;q[a+356>>2]=620;q[a+352>>2]=621;q[a+348>>2]=622;q[a+344>>2]=623;q[a+340>>2]=624;q[a+336>>2]=625;q[a+332>>2]=626;q[a+328>>2]=627;q[a+324>>2]=628;q[a+320>>2]=629;q[a+316>>2]=630;q[a+312>>2]=631;q[a+308>>2]=632;q[a+304>>2]=633;q[a+300>>2]=634;q[a+296>>2]=635;q[a+292>>2]=636;q[a+288>>2]=637;q[a+284>>2]=638;q[a+280>>2]=639;q[a+276>>2]=640;q[a+272>>2]=641;q[a+268>>2]=642;q[a+264>>2]=643;q[a+260>>2]=644;q[a+256>>2]=645;q[a+252>>2]=646;q[a+248>>2]=647;q[a+244>>2]=648;q[a+240>>2]=649;q[a+236>>2]=650;q[a+232>>2]=651;q[a+228>>2]=652;q[a+224>>2]=653;q[a+220>>2]=654;q[a+216>>2]=655;q[a+212>>2]=656;q[a+208>>2]=657;q[a+204>>2]=658;q[a+200>>2]=659;q[a+196>>2]=660;q[a+192>>2]=661;q[a+188>>2]=662;q[a+184>>2]=663;q[a+180>>2]=664;q[a+176>>2]=665;q[a+172>>2]=666;q[a+168>>2]=667;q[a+164>>2]=668;q[a+160>>2]=669;q[a+156>>2]=670;q[a+152>>2]=671;q[a+148>>2]=672;q[a+144>>2]=673;q[a+140>>2]=674;q[a+136>>2]=675;q[a+132>>2]=676;q[a+124>>2]=677;q[a+120>>2]=678;q[a+116>>2]=679;q[a+112>>2]=680;q[a+108>>2]=681;q[a+104>>2]=682;q[a+100>>2]=683;q[a+96>>2]=684;q[a+92>>2]=685;q[a+88>>2]=686;q[a+84>>2]=687;q[a+80>>2]=688;q[a+76>>2]=689;q[a+72>>2]=690;q[a+68>>2]=691;q[a+64>>2]=692;q[a+60>>2]=693;q[a+56>>2]=694;q[a+52>>2]=695;q[a+48>>2]=696;q[a+44>>2]=697;q[a+40>>2]=698;q[a+36>>2]=699;q[a+32>>2]=700;q[a+28>>2]=701;q[a+24>>2]=702;q[a+20>>2]=703;q[a+16>>2]=704;q[a+12>>2]=705;q[a+8>>2]=706;q[a+4>>2]=707;q[a>>2]=708;q[a+412>>2]=709;q[a+408>>2]=710;q[a+404>>2]=711;q[a+400>>2]=712;q[a+396>>2]=713;q[a+392>>2]=714;q[a+388>>2]=715;q[a+368>>2]=716;q[a+128>>2]=717;q[a+416>>2]=718;q[a+420>>2]=719;q[a+424>>2]=720;q[a+428>>2]=721;q[a+432>>2]=722;q[a+436>>2]=723;q[a+440>>2]=724}function eK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=0;c=ti-160|0;ti=c;a:{e=q[a+8>>2];if(e){g=q[a+12>>2];b:{if(!r[277316]){break b}f=q[e+148>>2];b=q[e+144>>2];d=f-b|0;if(!d){break b}if((b|0)!=(f|0)){f=b-f|0;f=((d|0)<(f|0)?f:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);j=d>>>0>1?d:1;d=0;while(1){b=q[(d<<2)+b>>2];h=q[b>>2];f=q[h+136>>2];if(!(!f|q[f+32>>2]>-1)){k=q[h+164>>2];l=HG(c+56|0);FJ(e,b,q[b>>2],k,1,l);p[b+20>>1]=s[c+86>>1];h=q[h+136>>2];if(q[h+12>>2]==q[h+8>>2]){break a}q[b+8>>2]=0;AJ(e,b);q[f+32>>2]=q[f+32>>2]&2147483647}d=d+1|0;if((j|0)==(d|0)){break b}b=q[e+144>>2];if(q[e+148>>2]-b>>2>>>0>d>>>0){continue}break}}J(34686,34111,479,34089);G()}q[c+136>>2]=0;q[c+132>>2]=g;q[c+128>>2]=e;q[c+120>>2]=0;q[c+116>>2]=g;q[c+112>>2]=e;b=h6(c+56|0);q[b+48>>2]=e;q[b+44>>2]=136;q[b+40>>2]=e;q[b+36>>2]=137;q[b+20>>2]=138;q[b+12>>2]=139;q[b+32>>2]=e;q[b+28>>2]=140;q[b+24>>2]=c+112;q[b+16>>2]=c+128;o[b+4|0]=r[g+18|0];q[b+8>>2]=q[g+20>>2];i=u[q[a+4>>2]+4>>2];u[b>>2]=i;a=q[a>>2];q[75046]=0;u[e+132>>2]=i;q[c+156>>2]=e;o[c+148|0]=1;q[c+144>>2]=g;q[c+152>>2]=a;c:{if(r[g+17|0]){break c}}Up(0,0,141,c+144|0);if(!r[c+148|0]){Ai(3,33031,34214,0)}q[c+144>>2]=0;d=q[c+136>>2];b=q[g+4>>2];d:{if(d>>>0>=b>>>0){if(r[300208]){break d}q[c+32>>2]=b;q[c+36>>2]=q[60918];Ai(3,33031,34274,c+32|0)}o[300208]=b>>>0<=d>>>0}d=q[c+120>>2];b=q[g+12>>2];e:{if(d>>>0>=b>>>0){if(r[300209]){break e}q[c+16>>2]=b;q[c+20>>2]=q[60919];Ai(3,33031,34379,c+16|0)}o[300209]=b>>>0<=d>>>0}f:{if(!a){break f}b=q[a>>2];if(!b){break f}m=q[b+3216>>2];n=q[b+3220>>2]}q[c+144>>2]=m;q[c+148>>2]=n;kr(q[a>>2],c+144|0,1);if(q[75046]>=1){yo(q[a>>2])}a=q[e+148>>2]-q[e+144>>2]>>2;q[75016]=a+q[75016];q[c+48>>2]=a;q[c+52>>2]=0;q[c+8>>2]=a;q[c+12>>2]=0}ti=c+160|0;return}J(34100,34111,421,34167);G()}function Cv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=ti-16|0;ti=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(!b){c=s[a+138>>1];d=c>>>16|0;g=c<<16;if(!(d|g^2147418112)){break d}f=q[a+80>>2];if(q[f+1084>>2]-q[f+1080>>2]>>1>>>0>=t[f+1032>>2]){break g}c=a+136|0;break j}c=q[b+140>>2];if(!0&(q[b+136>>2]&255)>>>0>=127|d){q[i>>2]=127;Ai(4,7418,9115,i);e=-6;break d}f=q[a+80>>2];c=c&32767;if((c|0)!=32767){d=q[f+1036>>2];e=q[f+1040>>2]-d>>2;while(1){if(c>>>0>=e>>>0){break a}c=q[d+(c<<2)>>2];if((c|0)==(a|0)){break h}c=s[c+138>>1];if((c|0)!=32767){continue}break}}if(q[b+80>>2]!=(f|0)){break c}c=q[a+136>>2];d=((c&255)<<4)+f|0;if(t[f+1032>>2]<=q[d+1100>>2]-q[d+1096>>2]>>1>>>0){break i}g=c&-65536;d=0;c=a+136|0}if(d|g^2147418112){Bv(f,a)}ct(f,a);if(!b){break f}e=q[b+148>>2];d=e>>>16&32767;if((d|0)!=32767){e=q[f+1036>>2];if(d>>>0>=q[f+1040>>2]-e>>2>>>0){break a}d=q[e+(d<<2)>>2];e=q[d+136>>2];d=q[d+140>>2];if(r[b+136|0]!=((e&255)-1|0)){break b}q[a+148>>2]=q[a+148>>2]&-32768|d&32767;e=q[b+148>>2]}q[b+148>>2]=((q[c+4>>2]&65535)<<16|q[c>>2]>>>16)&2147418112|e&-2147418113;g=q[c+4>>2];e=q[c>>2];h=((q[b+140>>2]&65535)<<16|q[b+136>>2]>>>16)&2147418112|e&65535;q[c>>2]=h;d=g;q[c+4>>2]=d;g=h&2147483392;h=s[c+8>>1];c=e;b=s[b+136>>1]+1&255;break e}J(9309,7291,3094,9299);G()}Ai(4,7418,9173,0);e=-7;break d}J(9390,7291,3098,9299);G()}b=q[c>>2];g=b&65280;d=q[c+4>>2];h=s[c+8>>1];c=b;b=2147418112}q[a+136>>2]=b|g;q[a+140>>2]=d;p[a+144>>1]=h;Lv(f,a);e=0;b=c&255;d=r[a+136|0];c=b-d|0;if((c|0)>=0){if(!c){break d}b=a;a=0;while(1){Hv(f,q[b+148>>2]);a=a+1|0;if((c|0)!=(a|0)){continue}break}break d}b=d-b|0;c=(b|0)>1?b:1;b=a;a=0;while(1){PK(f,q[b+148>>2]);a=a+1|0;if((c|0)!=(a|0)){continue}break}}ti=i+16|0;return e}J(9255,7291,3093,9299);G()}J(9456,7291,3118,9299);G()}J(12518,10061,479,9553);G()}function Dpa(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:{e=_s(a);f:{if(o[e+108|0]&1){a=q[e+48>>2];if(!a){break f}c=q[q[e+44>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break f}a=q[e+52>>2];while(1){d=a+w(c,12)|0;if(q[d>>2]!=(b|0)){c=q[d+8>>2];if((c|0)!=-1){continue}break f}break}c=s[(a+w(c,12)|0)+4>>1];if((c|0)==65535){break f}while(1){b=c&65535;a=q[e+16>>2];if(b>>>0>=q[e+20>>2]-a>>1>>>0){break a}a=s[a+(b<<1)>>1];c=q[e>>2];if(a>>>0>=(q[e+4>>2]-c|0)/104>>>0){break a}a=c+w(a,104)|0;o[a+96|0]=r[a+96|0]&252;c=s[a+94>>1];if((c|0)!=65535){continue}break}break f}a=q[e+48>>2];if(!a){break f}i=e+44|0;c=q[q[i>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((c|0)==-1){break f}a=q[e+52>>2];while(1){d=a+w(c,12)|0;if(q[d>>2]!=(b|0)){c=q[d+8>>2];if((c|0)!=-1){continue}break f}break}a=s[(a+w(c,12)|0)+4>>1];if((a|0)!=65535){d=q[e+4>>2];c=q[e>>2];h=(d-c|0)/104|0;while(1){f=q[e+16>>2];if(q[e+20>>2]-f>>1>>>0<=a>>>0){break a}g=(d-c|0)/104|0;d=s[f+(a<<1)>>1];if(g>>>0<=d>>>0){break a}c=w(d,104)+c|0;o[c+96|0]=r[c+96|0]&252;d=q[c+76>>2];if(d){xi[d|0](q[c>>2],q[c+8>>2],q[c+12>>2],q[c+16>>2],q[c+20>>2],0,q[c+80>>2],q[c+84>>2]);HK(e,c)}d=q[c+36>>2];if(d){xi[d|0](c+28|0)}f=q[e+32>>2];if(!f){break e}d=s[e+38>>1];if(!d|d>>>0>s[e+36>>1]){break d}d=d-1|0;p[e+38>>1]=d;p[f+((d&65535)<<1)>>1]=a;d=q[e>>2];j=(c-d|0)/104|0;f=j&65535;g=q[e+4>>2];if(f>>>0>=(g-d|0)/104>>>0){break c}a=s[c+94>>1];k=w(f,104);Gi(d+k|0,g-104|0,97);d=q[e+4>>2]-104|0;q[e+4>>2]=d;c=q[e>>2];if(d>>>0>>0){break b}h=h-1|0;if(f>>>0>>0){g=s[(c+k|0)+92>>1];f=q[e+16>>2];if(g>>>0>=q[e+20>>2]-f>>1>>>0){break a}p[f+(g<<1)>>1]=j}if((a|0)!=65535){continue}break}}av(i,b)}return}J(6236,6243,140,6761);G()}J(6766,6243,141,6761);G()}J(6889,6485,513,6904);G()}J(6914,6485,516,6904);G()}J(6739,6485,479,6750);G()}function ffa(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;f=ti-48|0;ti=f;g=Zi(f+24|0,a,0,60730,942);j=Xn(a,1,1,0);k=Mj(a,2);l=wi;h=Xi(a,4);mj(a,3,5);e=Mk(a,3);a:{if(e){if(h>>>0>=9){q[f>>2]=h;i=sj(g,62746,f);break a}if((h&-5)==3){i=sj(g,62788,0);break a}Qi(a,3);b:{c:{d:{switch(h|0){case 8:d=Ji(w(Zp(8),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){u[(b<<2)+d>>2]=Ri(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 0:d=Ji(w(Zp(0),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){o[b+d|0]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 1:d=Ji(w(Zp(1),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){p[(b<<1)+d>>1]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 2:d=Ji(w(Zp(2),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){q[(b<<2)+d>>2]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 4:d=Ji(w(Zp(4),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){o[b+d|0]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 5:d=Ji(w(Zp(5),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){p[(b<<1)+d>>1]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}break c;case 6:break d;default:break b}}d=Ji(w(Zp(6),e));c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(!rj(a,-2)){break c}while(1){q[(b<<2)+d>>2]=Xi(a,-1);Xi(a,-2);Ci(a,-2);b=b+1|0;if(rj(a,-2)){continue}break}}Ci(a,-2)}b=RL(j,k,l,d,e,h);yi(d);if(!b){break a}a=f;if(b>>>0<=11){b=q[(b<<2)+273520>>2]}else{b=148526}q[a+16>>2]=b;i=sj(g,62831,f+16|0);break a}i=sj(g,62866,0)}Yi(g);ti=f+48|0;return i|0}function vM(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,p=0,s=0,t=0;g=ti-16|0;ti=g;h=q[a+104>>2];c=r[h+94560|0];a:{if(h-15>>>0<=2){c=(c<<9)+312416|0;d=r[c+(r[a+22|0]<<1)|0];e=r[c+(r[a+21|0]<<1)|0];c=g+8|0;o[c+3|0]=255;o[c+2|0]=e;o[c+1|0]=e;o[c|0]=e;c=gw(c);o[b|0]=c;o[b+1|0]=c>>>8;c=g+8|0;o[c+3|0]=255;o[c+2|0]=d;o[c+1|0]=d;o[c|0]=d;break a}c=(c<<9)+312416|0;e=r[c+(r[a+21|0]<<1)|0];f=r[c+(r[a+23|0]<<1)|0];i=r[c+(r[a+25|0]<<1)|0];d=g+8|0;o[d+3|0]=255;o[d+2|0]=i;o[d+1|0]=f;o[d|0]=e;d=gw(d);o[b|0]=d;o[b+1|0]=d>>>8;d=r[c+(r[a+22|0]<<1)|0];e=r[c+(r[a+24|0]<<1)|0];f=r[c+(r[a+26|0]<<1)|0];c=g+8|0;o[c+3|0]=255;o[c+2|0]=f;o[c+1|0]=e;o[c|0]=d}c=gw(c);o[b+2|0]=c;o[b+3|0]=c>>>8;f=r[b|0]|r[b+1|0]<<8;i=r[b+2|0]|r[b+3|0]<<8;b:{c:{if((r[b|0]|r[b+1|0]<<8)==(r[b+2|0]|r[b+3|0]<<8)){d:{if(!i){if(!f){a=0;f=1;c=85;break d}J(101520,92069,15550,101577);G()}a=i-1|0;if((a&65535)>>>0>=f>>>0){break b}c=0}o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=a;o[b+3|0]=a>>>8;a=w(c,16843009);o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;break c}if(f>>>0>>0){Mw(b,b+2|0);Mw(b+1|0,b+3|0)}c=q[(r[h+94496|0]<<2)+259648>>2];e=a+39|0;d=r[h+94624|0]-1|0;h=r[c+r[e+(1<>>0>>0;c=a^r[c+r[e+(9<>>6;c=(c<<4|(a^s)<<2|a^p)<<4|(a^n)<<2|a^m;o[b+6|0]=c>>>6;c=(c<<4|(a^l)<<2|a^k)<<4|(a^j)<<2|a^h;o[b+5|0]=c>>>6;o[b+4|0]=a^t|c<<2}ti=g+16|0;return}J(101557,92069,15557,101577);G()}function Kja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-448|0;ti=b;h=Zi(b+168|0,a,1,71492,2254);c=Wi(a,1,0);q[b+160>>2]=0;q[b+164>>2]=0;jA(a,c,73009,b+160|0);mj(a,2,5);Qi(a,2);Ki(a,-1,73018);d=Ds(a,-1);Ci(a,-2);Ki(a,-1,73025);e=aw(a,73025,1);Ci(a,-2);Ci(a,-2);g=q[q[Tj(a)+80>>2]+8>>2];q[b+156>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+136>>2]=0;q[b+140>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=1;q[b+96>>2]=1;q[b+88>>2]=0;q[b+92>>2]=0;q[b+92>>2]=4;q[b+108>>2]=b+156;q[b+84>>2]=1;q[b+80>>2]=b+88;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;a:{b:{if(!ft(b+80|0,q[61366],b- -64|0)){q[b+60>>2]=0;f=c;c=q[b+64>>2];c=Uy(q[76921],f,c,q[b+68>>2]-c|0,b+60|0);if(c){d=q[b+160>>2];e=q[b+164>>2];q[b+48>>2]=Mi(d,e);q[b+40>>2]=d;q[b+44>>2]=e;q[b+32>>2]=c;hj(b+192|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+32|0);q[b+16>>2]=b+192;a=Bi(a,70520,b+16|0);break a}c=q[(q[d+4>>2]==2?q[d>>2]+4|0:d)>>2];if(q[d+4>>2]==2){c=UL(c,b+56|0);if(c){break b}c=q[b+56>>2]}q[q[b+60>>2]>>2]=0;q[q[b+60>>2]+4>>2]=c;i=PA(c);f=q[b+60>>2];q[f+20>>2]=i;_p(c,f+16|0);$p(c,q[b+60>>2]+24|0);if(e){c:{d:{switch(q[d+4>>2]-1|0){case 0:Rp(q[76921],q[b+60>>2]);break c;case 1:break d;default:break c}}Pi(q[76921],q[d>>2]);Rp(q[76921],q[b+60>>2])}q[d+4>>2]=2;q[d>>2]=q[b+60>>2]}d=q[b+160>>2];c=q[b+164>>2];HA(g,d,c);Zj(a,d,c);a=1;break a}J(72001,71492,2292,73044);G()}Sp(q[76921],q[d>>2],b+192|0);e=Mi(q[b+160>>2],q[b+164>>2]);g=Mi(q[b+192>>2],q[b+196>>2]);if(c>>>0<=11){d=q[(c<<2)+273520>>2]}else{d=148526}q[b+12>>2]=c;q[b+8>>2]=d;q[b+4>>2]=g;q[b>>2]=e;a=Bi(a,73057,b)}e:{if(o[b+76|0]&1){break e}d=q[b+64>>2];if(!d){break e}yi(d)}Yi(h);ti=b+448|0;return a|0}function ssa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-224|0;ti=b;e=a;d=a;if((Ei(a,1)|0)==8){f=1;e=sn(a,1)}c=d;d=f|2;a:{if(Bj(c,d)){c=Ok(a,d);Ci(a,-2);break a}c=(a|0)==(e|0)}b:{c:{if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){Ni(a,142189,0);break c}if(!ek(a,f+1|0)){break b}Ni(a,141894,1)}Ni(a,142190,16);d:{if(!cl(e,c,b+120|0)){break d}g=b+156|0;d=0;while(1){h=c+1|0;e:{if(!(d&1)){d=c;while(1){c=d;d=h;if((c|0)>11){break e}Ni(a,142213,2);tn(e,142216,b+120|0);q[b+112>>2]=g;vj(a,142220,b+112|0);c=q[b+140>>2];if((c|0)>=1){q[b+96>>2]=c;vj(a,142224,b+96|0)}f:{if(r[q[b+128>>2]]){q[b+80>>2]=q[b+124>>2];vj(a,142228,b+80|0);break f}g:{h:{i:{j:{c=r[q[b+132>>2]];switch(c-109|0){case 1:case 2:case 3:case 4:case 5:case 6:break g;case 0:break h;case 7:break i;default:break j}}if((c|0)!=67){break g}}Ni(a,142261,2);break f}vj(a,142246,0);break f}q[b+64>>2]=g;q[b+68>>2]=q[b+148>>2];vj(a,142264,b- -64|0)}Ol(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0);h=d+1|0;if(cl(e,d,b+120|0)){continue}break}break d}while(1){d=h;Ni(a,142213,2);tn(e,142216,b+120|0);q[b+48>>2]=g;vj(a,142220,b+48|0);c=q[b+140>>2];if((c|0)>0){q[b+32>>2]=c;vj(a,142224,b+32|0)}k:{if(r[q[b+128>>2]]){q[b+16>>2]=q[b+124>>2];vj(a,142228,b+16|0);break k}l:{m:{n:{o:{c=r[q[b+132>>2]];switch(c-109|0){case 7:break l;case 1:case 2:case 3:case 4:case 5:case 6:break m;case 0:break o;default:break n}}vj(a,142246,0);break k}if((c|0)==67){break l}}q[b>>2]=g;q[b+4>>2]=q[b+148>>2];vj(a,142264,b);break k}Ni(a,142261,2)}Ol(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0);h=d+1|0;if(cl(e,d,b+120|0)){continue}break}break d}if(cl(e,c+11|0,b+120|0)){Ni(a,142207,5);while(1){c=d;d=c+1|0;if(cl(e,c+10|0,b+120|0)){continue}break}}d=1;if(cl(e,c,b+120|0)){continue}break}}Ol(a,(q[a+8>>2]-q[a+12>>2]>>4)-f|0)}ti=b+224|0;return 1}function Tt(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=ti-160|0;ti=f;g=-16512;if(!Gr(a,1)){q[f+152>>2]=0;q[f+144>>2]=1;q[f+148>>2]=0;q[f+136>>2]=0;q[f+128>>2]=1;q[f+132>>2]=0;q[f+120>>2]=0;q[f+112>>2]=1;q[f+116>>2]=0;q[f+104>>2]=0;q[f+96>>2]=1;q[f+100>>2]=0;if(b){q[f+56>>2]=0;q[f+48>>2]=1;q[f+52>>2]=0;q[f+40>>2]=0;q[f+32>>2]=1;q[f+36>>2]=0}q[f+88>>2]=0;q[f+80>>2]=1;q[f+84>>2]=0;g=f- -64|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;g=an(f+144|0,d,q[a+4>>2]);a:{if(g){break a}g=-4;d=a+8|0;if((Lj(f+144|0,d)|0)>-1){break a}g=gk(f+16|0,f+144|0);if(g){break a}h=a+80|0;i=a+68|0;if(b){g=uR(a,b,c);if(g){break a}g=Fk(f+144|0,f+144|0,a+140|0);if(g){break a}g=Tk(f+144|0,f+144|0,d);if(g){break a}g=zl(f+128|0,a+44|0,1);if(g){break a}g=zl(f+112|0,a+56|0,1);if(g){break a}g=Kn(f+96|0,28,b,c);if(g){break a}g=Fk(f+48|0,f+128|0,f+96|0);if(g){break a}g=Bl(f+48|0,f+48|0,i);if(g){break a}g=Kn(f+96|0,28,b,c);if(g){break a}g=Fk(f+32|0,f+112|0,f+96|0);if(g){break a}g=Bl(f+32|0,f+32|0,h);if(g){break a}i=f+48|0;h=f+32|0}c=a+44|0;g=ko(f+80|0,f+144|0,i,c,a+116|0);if(g){break a}g=h;h=a+56|0;g=ko(f- -64|0,f+144|0,g,h,a+128|0);if(g){break a}g=hl(f+144|0,f+80|0,f- -64|0);if(g){break a}g=Fk(f+80|0,f+144|0,a+92|0);if(g){break a}g=Tk(f+144|0,f+80|0,c);if(g){break a}g=Fk(f+80|0,f+144|0,h);if(g){break a}g=Bl(f+144|0,f- -64|0,f+80|0);if(g){break a}if(b){g=Fk(f+144|0,f+144|0,a+152|0);if(g){break a}g=Tk(f+144|0,f+144|0,d);if(g){break a}}g=ko(f,f+144|0,a+20|0,d,a+104|0);if(g){break a}g=-17280;if(Lj(f,f+16|0)){break a}g=pn(f+144|0,e,q[a+4>>2])}Si(f+128|0);Si(f+112|0);Si(f+96|0);if(b){Si(f+48|0);Si(f+32|0)}Si(f+144|0);Si(f+80|0);Si(f- -64|0);Si(f);Si(f+16|0);g=g?g-17152|0:0}ti=f+160|0;return g}function br(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,p=0,v=0,y=0,z=0,A=0,C=0,D=0,E=x(0);n=ti-32|0;ti=n;a:{b:{c:{p=b&65535;m=q[a+32>>2];if(p>>>0<(q[a+36>>2]-m|0)/576>>>0){if(s[(m+w(p,576)|0)+552>>1]!=(b>>>16|0)){break c}q[n+24>>2]=0;q[n+16>>2]=0;q[n+20>>2]=0;q[n+8>>2]=0;q[n+12>>2]=0;A=q[a+52>>2];p=q[a+48>>2];m=p;D=A-m|0;if(D){z=(D|0)/72|0;m=p;while(1){C=z>>>1|0;v=w(C,72)+m|0;y=t[v+4>>2]>>0;m=y?v+72|0:m;z=y?(C^-1)+z|0:C;if(z){continue}break}}d:{e:{f:{if(!((m|0)==(A|0)|q[m+4>>2]!=(c|0))){m=m-p|0;y=(m|0)/72|0;if((m|0)!=-72){break f}}v=(D|0)/72|0;m=q[a+56>>2];if((m|0)==(A|0)){q[n>>2]=v;Ai(3,193721,195935,n);a=0;break d}D=(m-p|0)/72|0;m=v+1|0;if(D>>>0>>0){break b}A=w(m,72)+p|0;q[a+52>>2]=A;break e}if(y>>>0>=(D|0)/72>>>0){break a}v=w(y,72)+p|0;m=q[v+56>>2];if(!m|r[v+68|0]&2){break e}p=w(y,72)+p|0;xi[m|0](a,q[p>>2],0,q[p+60>>2],q[p+64>>2]);A=q[a+52>>2];p=q[a+48>>2]}q[n+24>>2]=q[e+16>>2];m=q[e+12>>2];q[n+16>>2]=q[e+8>>2];q[n+20>>2]=m;m=q[e+4>>2];q[n+8>>2]=q[e>>2];q[n+12>>2]=m;C=A-72|0;e=C-p|0;g:{if(!e){m=p;break g}z=(e|0)/72|0;m=p;while(1){y=z>>>1|0;e=w(y,72)+m|0;v=t[e+4>>2]>>0;m=v?e+72|0:m;z=v?(y^-1)+z|0:y;if(z){continue}break}}E=x(B(g,x(0)));g=x(B(h,x(0)));if(!((m|0)==(C|0)|q[m+4>>2]==(c|0))){Sk(m+72|0,m,C-m|0)}u[m+28>>2]=i;u[m+24>>2]=E;q[m+20>>2]=0;u[m+16>>2]=g;u[m+12>>2]=d;q[m+4>>2]=c;q[m>>2]=b;y=q[n+16>>2];v=q[n+20>>2];e=q[n+24>>2];c=q[n+8>>2];b=q[n+12>>2];o[m+68|0]=1;q[m+64>>2]=l;q[m+60>>2]=k;q[m+56>>2]=j;q[m+52>>2]=f;q[m+48>>2]=e;q[m+40>>2]=y;q[m+44>>2]=v;q[m+32>>2]=c;q[m+36>>2]=b;b=q[a+48>>2];c=(q[a+52>>2]-b|0)/72|0;a=(m-p|0)/72|0;if(c>>>0<=a>>>0){break a}a=b+w(a,72)|0}ti=n+32|0;return a}break a}J(193606,193630,3463,195918);G()}J(196250,195579,506,196269);G()}J(195730,195579,479,195741);G()}function nua(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!jw(b,c)){break a}b:{if(!r[b+20|0]){if(q[a+8>>2]){DM(a)}c:{if((r[b+21|0]|r[b+22|0]<<8)&8){if(!q[a>>2]|!q[q[a>>2]+8>>2]|(q[q[a>>2]+8>>2]!=(r[b+39|0]|r[b+40|0]<<8)|q[q[a>>2]+20>>2]!=(r[b+48|0]|r[b+49|0]<<8))){break a}d=b+61|0;if(!(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break a}e=b+57|0;if((r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>c>>>0){break a}if(c-(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>=(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))>>>0){break c}break a}if(!(r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16))|!(r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))){break a}d=b+61|0;if(!(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break a}h=b+41|0;g=h;if((r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24))>>>0>c>>>0){break a}g=b+50|0;f=g;if((r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0>c>>>0){break a}e=b+57|0;if((r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0>c>>>0){break a}f=h;if(c-(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0<(r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16))>>>0){break a}f=g;if(c-(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))>>>0<(r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))>>>0|c-(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))>>>0<(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))>>>0){break a}if(!sua(a,r[b+39|0]|r[b+40|0]<<8,(r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24))+b|0,r[b+45|0]|(r[b+46|0]<<8|r[b+47|0]<<16),r[b+48|0]|r[b+49|0]<<8,(r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24))+b|0,r[b+54|0]|(r[b+55|0]<<8|r[b+56|0]<<16))){break a}}if(rua(a,(r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24))+b|0,r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break b}break a}if(!q[a+8>>2]){break b}DM(a)}o[a+585|0]=1}}function mK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=ti-48|0;ti=c;a:{b:{e=Nj(a,q[q[b>>2]>>2],b+8|0);if(e){break b}e=Nj(a,q[q[b>>2]+4>>2],b+4|0);if(e){Pi(a,q[q[b>>2]>>2]);break b}q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;c:{f=q[b>>2];d=q[f+12>>2];if(!d){break c}e=0;d:{while(1){if(d>>>0>g>>>0){h=g<<2;d=q[h+q[f+8>>2]>>2];if(r[d|0]){d=Nj(a,d,c+12|0);f=q[c+12>>2];q[h+(c+16|0)>>2]=f;if(d){e=e?e:d}else{d=Sp(a,f,((g<<3)+b|0)+48|0);e=d?d:e}f=q[b>>2]}if(g>>>0>6){break d}d=q[f+12>>2];g=g+1|0;if(d>>>0>g>>>0){continue}break d}break}J(57132,57144,44,57169);G()}if(!e){break c}Pi(a,q[f>>2]);Pi(a,q[q[b>>2]+4>>2]);b=q[c+16>>2];if(b){Pi(a,b)}b=q[c+20>>2];if(b){Pi(a,b)}b=q[c+24>>2];if(b){Pi(a,b)}b=q[c+28>>2];if(b){Pi(a,b)}b=q[c+32>>2];if(b){Pi(a,b)}b=q[c+36>>2];if(b){Pi(a,b)}b=q[c+40>>2];if(b){Pi(a,b)}b=q[c+44>>2];if(!b){break b}Pi(a,b);break b}a=q[c+20>>2];q[b+12>>2]=q[c+16>>2];q[b+16>>2]=a;a=q[c+28>>2];q[b+20>>2]=q[c+24>>2];q[b+24>>2]=a;a=q[c+44>>2];q[b+36>>2]=q[c+40>>2];q[b+40>>2]=a;a=q[c+36>>2];q[b+28>>2]=q[c+32>>2];q[b+32>>2]=a;a=b;if(q[q[b+4>>2]+4>>2]){iK(b);f=q[b>>2]}q[a+128>>2]=zi(q[f+20>>2]);q[a+132>>2]=wi;q[b+144>>2]=zi(q[q[b>>2]+24>>2]);q[b+148>>2]=wi;i=q[b+4>>2];f=q[i>>2];j=q[f+4>>2];if(!j){e=0;break b}e=b+136|0;h=b+152|0;g=0;e:{while(1){k=g<<6;a=zi(q[k+q[f>>2]>>2]);d=wi;f:{g:{if((a|0)==q[b+128>>2]&(d|0)==q[b+132>>2]){d=e;a=q[i>>2];if(t[a+4>>2]>g>>>0){break g}break a}if(q[b+144>>2]!=(a|0)|q[b+148>>2]!=(d|0)){break f}d=h;a=q[i>>2];if(t[a+4>>2]<=g>>>0){break e}}q[d>>2]=q[(q[a>>2]+k|0)+4>>2]}g=g+1|0;if((j|0)==(g|0)){e=0;break b}f=q[i>>2];if(t[f+4>>2]>g>>>0){continue}break}break a}break a}ti=c+48|0;return e}J(57132,57346,100,57169);G()}function Oja(a,b){a=a|0;b=b|0;var c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=x(0),j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=x(0),t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0;c=ti-144|0;ti=c;l=q[b+8>>2];t=q[q[b+4>>2]+12>>2];if(l>>>0>>0){q[b+8>>2]=l+1;v=q[a+64>>2];m=q[v+4>>2];f=m;w=q[f+96>>2];f=q[f+100>>2];y=q[a+68>>2];n=q[y+4>>2];g=n;z=q[g+96>>2];g=q[g+100>>2];h=u[a+84>>2];B=h<=x(0);i=u[a+80>>2];C=i<=x(0);A=q[b>>2];b=s[a+88>>1];if(b){if(!(b&1)){while(1){e=e+1|0;j=b&2;b=(b&65534)>>>1|0;if(!j){continue}break}}b=(e<<3)+A|0;j=q[b>>2];o=q[b+4>>2]}b=s[a+90>>1];if(b){e=0;if(!(b&1)){while(1){e=e+1|0;k=b&2;b=(b&65534)>>>1|0;if(!k){continue}break}}b=(e<<3)+A|0;k=q[b>>2];p=q[b+4>>2]}u[c+16>>2]=u[a>>2];u[c+20>>2]=u[a+4>>2];u[c+24>>2]=u[a+8>>2];d=u[a+36>>2];r=u[a+32>>2];u[c+40>>2]=-u[a+40>>2];u[c+36>>2]=-d;u[c+32>>2]=-r;d=u[a+52>>2];r=u[a+48>>2];u[c+56>>2]=-u[a+56>>2];u[c+52>>2]=-d;u[c+48>>2]=-r;u[c+64>>2]=u[a+72>>2];d=u[a+76>>2];q[c+88>>2]=z;q[c+92>>2]=g;h=B?x(0):h;u[c+80>>2]=h;i=C?x(0):i;u[c+76>>2]=i;u[c+68>>2]=d;np(c,n);b=q[c+8>>2];q[c+100>>2]=q[c+4>>2];q[c+104>>2]=b;u[c+96>>2]=u[c>>2];q[c+128>>2]=j;q[c+132>>2]=o;q[c+112>>2]=k;q[c+116>>2]=p;q[c+120>>2]=k;q[c+124>>2]=p;q[c+72>>2]=0;JB(c+16|0,m,w,f,s[v+22>>1]);u[c+16>>2]=u[a+16>>2];u[c+20>>2]=u[a+20>>2];u[c+24>>2]=u[a+24>>2];u[c+32>>2]=u[a+32>>2];u[c+36>>2]=u[a+36>>2];u[c+40>>2]=u[a+40>>2];u[c+48>>2]=u[a+48>>2];u[c+52>>2]=u[a+52>>2];u[c+56>>2]=u[a+56>>2];u[c+64>>2]=u[a+72>>2];d=u[a+76>>2];q[c+88>>2]=w;q[c+92>>2]=f;u[c+80>>2]=i;u[c+76>>2]=h;u[c+68>>2]=d;np(c,m);a=q[c+8>>2];q[c+100>>2]=q[c+4>>2];q[c+104>>2]=a;u[c+96>>2]=u[c>>2];q[c+128>>2]=k;q[c+132>>2]=p;q[c+112>>2]=j;q[c+116>>2]=o;q[c+120>>2]=j;q[c+124>>2]=o;q[c+72>>2]=0;JB(c+16|0,n,z,g,s[y+22>>1])}ti=c+144|0;return l>>>0>>0|0}function m7(){q[213096]=326;q[213094]=324;q[213095]=325;q[213092]=322;q[213093]=323;q[213090]=320;q[213091]=321;q[213088]=318;q[213089]=319;q[213086]=316;q[213087]=317;q[213084]=314;q[213085]=315;q[213082]=312;q[213083]=313;q[213080]=310;q[213081]=311;q[213078]=308;q[213079]=309;q[213076]=306;q[213077]=307;q[213074]=304;q[213075]=305;q[213072]=302;q[213073]=303;q[213070]=300;q[213071]=301;q[213068]=298;q[213069]=299;q[213066]=296;q[213067]=297;q[213064]=294;q[213065]=295;q[213062]=292;q[213063]=293;q[213060]=290;q[213061]=291;q[213058]=288;q[213059]=289;q[213056]=286;q[213057]=287;q[213054]=284;q[213055]=285;q[213052]=269;q[213053]=283;q[213050]=267;q[213051]=268;q[213048]=265;q[213049]=266;q[213046]=263;q[213047]=264;q[213044]=261;q[213045]=262;q[213042]=259;q[213043]=260;q[213040]=257;q[213041]=258;q[213038]=125;q[213039]=126;q[213036]=123;q[213037]=124;q[213034]=95;q[213035]=96;q[213032]=93;q[213033]=94;q[213030]=91;q[213031]=92;q[213028]=89;q[213029]=90;q[213026]=87;q[213027]=88;q[213024]=85;q[213025]=86;q[213022]=83;q[213023]=84;q[213020]=81;q[213021]=82;q[213018]=79;q[213019]=80;q[213016]=77;q[213017]=78;q[213014]=75;q[213015]=76;q[213012]=73;q[213013]=74;q[213010]=71;q[213011]=72;q[213008]=69;q[213009]=70;q[213006]=67;q[213007]=68;q[213004]=65;q[213005]=66;q[213002]=63;q[213003]=64;q[213e3]=61;q[213001]=62;q[212998]=59;q[212999]=60;q[212996]=57;q[212997]=58;q[212994]=55;q[212995]=56;q[212992]=53;q[212993]=54;q[212990]=51;q[212991]=52;q[212988]=49;q[212989]=50;q[212986]=47;q[212987]=48;q[212984]=45;q[212985]=46;q[212982]=43;q[212983]=44;q[212980]=41;q[212981]=42;q[212978]=39;q[212979]=40;q[212976]=36;q[212977]=38;q[212974]=34;q[212975]=35;q[212972]=32;q[212973]=33}function Jka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=0;f=ti-48|0;ti=f;b=q[a+4>>2];c=q[b+16>>2];a:{b:{c:{d:{e:{f:{g:{d=q[q[a+24>>2]>>2];if(d>>>0>2]-c>>3>>>0){c=q[(d<<3)+c>>2];d=q[b+4>>2];b=q[b>>2];if(c>>>0>=d-b>>2>>>0){break a}c=q[b+(c<<2)>>2];d=q[a+16>>2];e=q[a+20>>2];if((d|0)==q[75830]&(e|0)==q[75831]){b=-4;if(q[a+32>>2]!=1){break b}b=0;if((Q3(q[c+132>>2],q[a+40>>2],q[a+44>>2])|0)!=1){break b}q[f>>2]=Mi(q[a+40>>2],q[a+44>>2]);Ai(4,45688,46007,f);b=-8;break b}if((d|0)==q[75834]&(e|0)==q[75835]){b=-4;if(q[a+32>>2]){break b}b=0;if((R3(q[c+132>>2],x(v[a+40>>3]))|0)!=1){break b}v[f+16>>3]=v[a+40>>3];Ai(4,45688,46046,f+16|0);b=-8;break b}if((d|0)==q[75836]&(e|0)==q[75837]){b=-4;if(q[a+32>>2]){break b}b=0;c=q[c+132>>2];g=x(v[a+40>>3]);u[(((o[c+186|0]&1)<<5)+c|0)+20>>2]=g>x(0)?g:x(0);break b}if(q[75742]==(d|0)&q[75743]==(e|0)){break g}b=0;if(q[75744]==(d|0)&q[75745]==(e|0)){break c}b=1;if(q[75746]==(d|0)&q[75747]==(e|0)){break c}b=2;if(q[75748]==(d|0)&q[75749]==(e|0)){break c}b=3;if(q[75750]==(d|0)&q[75751]==(e|0)){break c}b=4;if(q[75752]==(d|0)&q[75753]==(e|0)){break c}b=5;if(q[75754]==(d|0)&q[75755]==(e|0)){break c}b=6;if(q[75756]==(d|0)&q[75757]==(e|0)){break c}b=7;if(q[75758]==(d|0)&q[75759]==(e|0)){break c}b=q[c+216>>2];if(!b){break f}break e}break a}b=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75724],q[75725],c+216|0);a=r[c+254|0];o[c+254|0]=(b?a&8:8)|a&247;break b}h=q[c+128>>2];b=q[h+28>>2];if((b|0)==q[h+32>>2]){break d}b=q[b>>2]}b=gp(b,d,e,a+32|0,q[a+104>>2],206,c);break b}J(46656,46296,486,46535);G()}b=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75730],q[75731],(c+(b<<2)|0)+184|0);a=r[c+254|0];o[c+254|0]=(b?a&8:8)|a&247}ti=f+48|0;return b|0}J(46656,46296,479,46535);G()}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;h=ti-48|0;ti=h;mj(a,b,5);k=bu(a,b);l=d+4|0;g=q[l>>2];i=q[d>>2];e=g-i|0;m=e>>2;a:{b:{c:{d:{e:{f:{if(!e){break f}if(q[i>>2]!=(k|0)){f=1;j=i-g|0;j=((e|0)<(j|0)?j:e)>>>2|0;e=(e|0)>-1?e:-1;e=w(j,(e|0)<1?e:1);j=e>>>0>1?e:1;while(1){e=f;if((e|0)!=(j|0)){f=e+1|0;if(q[i+(e<<2)>>2]!=(k|0)){continue}}break}if(e>>>0>=m>>>0){break f}}b=Bi(a,125572,0);break e}f=q[d+8>>2];if((f|0)==(g|0)){if(o[d+12|0]&1){break d}Ii(m+8|0,4,d,d+8|0,l);g=q[d+4>>2];f=q[d+8>>2]}if((f|0)==(g|0)){break c}q[l>>2]=g+4;q[g>>2]=k;Qi(a,b);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=4;if(rj(a,-2)){while(1){e=Ei(a,-2);g=Ei(a,-1);i=e-3|0;if(i>>>0>=2){q[h+32>>2]=(e|0)==-1?135271:q[(e<<2)+267792>>2];Bi(a,125597,h+32|0)}f=b+2|0;g:{h:{switch(i|0){case 1:f=(Mk(a,-2)+b|0)+6|0;break g;case 0:break h;default:break g}}f=b+6|0}i:{j:{switch(g-1|0){case 0:b=f+1|0;break i;case 2:b=c+f|0;b=((f-b|0)+(b+3&-4)|0)+8|0;break i;case 3:b=(Mk(a,-1)+f|0)+4|0;break i;case 6:b=f+1|0;f=b+c|0;b=((f+3&-4)-f|0)+b|0;if((ul(a,-1)|0)==q[212904]){b=b+12|0;break i}if((ul(a,-1)|0)==q[212905]){b=b+16|0;break i}if((ul(a,-1)|0)==q[212906]){b=b+16|0;break i}if(xs(a,-1)){b=b- -64|0;break i}if(zn(a,-1)){b=b+8|0;break i}if(Gu(a,-1)){b=b+32|0;break i}q[h+16>>2]=q[66955];Bi(a,125655,h+16|0);break i;case 4:b=NF(a,-1,c+f|0,d)+f|0;break i;default:break j}}q[h>>2]=(g|0)==-1?135271:q[(g<<2)+267792>>2];Bi(a,125655,h);b=f}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);a=q[d+4>>2];if((a|0)==q[d>>2]){break b}a=a-4|0;c=q[a>>2];q[l>>2]=a;if((c|0)!=(k|0)){break a}}ti=h+48|0;return b}J(126892,126836,493,126967);G()}J(126979,126836,533,127003);G()}J(127008,126836,435,127019);G()}J(125691,125707,440,125731);G()}function Bpa(a,b,c){var d=0,e=0,f=0,g=0,h=0;q[a+1036>>2]=0;q[a+1040>>2]=0;d=a+1052|0;q[d>>2]=0;q[d+4>>2]=0;d=a+1044|0;q[d>>2]=0;q[d+4>>2]=0;e=a+1060|0;o[e|0]=r[e|0]&254;Fi(a+1064|0,0,2112);q[a+3244>>2]=0;q[a+3164>>2]=-1;q[a+3176>>2]=0;q[a+3180>>2]=0;e=a+3184|0;q[e>>2]=0;q[e+4>>2]=0;e=a+3192|0;q[e>>2]=0;q[e+4>>2]=0;e=a+3200|0;q[e>>2]=0;q[e+4>>2]=0;e=a+3248|0;q[e>>2]=0;q[e+4>>2]=0;q[a+1032>>2]=b;q[a+4>>2]=0;q[a>>2]=0;e=a+3256|0;o[e|0]=r[e|0]&254;Ii(b,4,a+1036|0,d,a+1040|0);a:{b:{c:{e=q[d>>2];d=q[a+1036>>2];if(e-d>>2>>>0>=b>>>0){d:{q[a+1040>>2]=d+(b<<2);d=s[a+1056>>1];e=b&65535;if(d>>>0>e>>>0){break c}g=q[a+1052>>2];f=Ji(e<<1);q[a+1052>>2]=f;f=Gi(f,g,d<<1);p[a+1056>>1]=b;if(d>>>0>>0){while(1){p[f+(d<<1)>>1]=d;d=d+1|0;if((e|0)!=(d|0)){continue}break}}yi(g);if(o[a+3140|0]&1){break b}e=a+3128|0;d=a+3136|0;g=a+3132|0;Ii(b,64,e,d,g);f=q[d>>2];d=q[a+3128>>2];if(f-d>>6>>>0>>0){break d}q[a+3132>>2]=d+(b<<6);SH(a+3144|0,b>>>0<3?1:(b>>>0)/3|0,b);if(o[a+3188|0]&1){break b}Ii(c,4,a+3176|0,a+3184|0,a+3180|0);c=a+3224|0;q[c>>2]=0;q[c+4>>2]=0;c=a+3216|0;q[c>>2]=0;q[c+4>>2]=0;q[a+3208>>2]=0;q[a+3212>>2]=0;q[a+3240>>2]=0;q[a+3236>>2]=b;d=q[a+3248>>2];if(d>>>0>b>>>0){break c}c=q[a+3244>>2];f=b<<2;h=Ji(f);q[a+3244>>2]=h;h=Gi(h,c,d<<2);q[a+3248>>2]=b;if(b>>>0>d>>>0){while(1){q[h+(d<<2)>>2]=d;d=d+1|0;if((d|0)!=(b|0)){continue}break}}yi(c);q[a+3268>>2]=0;q[a+3260>>2]=2147450879;q[a+3264>>2]=2147450879;o[a+3272|0]=r[a+3272|0]&192|40;c=q[a+1036>>2];if((c|0)==q[a+1040>>2]){break a}Fi(c,0,f);c=q[e>>2];if((c|0)==q[g>>2]){break a}Fi(c,204,w(b,48));Fi(a+1080|0,0,2048);return a}}J(10042,10061,506,10117);G()}J(12444,12467,112,10200);G()}J(10125,10061,493,10200);G()}J(12518,10061,479,9553);G()}function KJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=x(0),n=0;h=ti-336|0;ti=h;a:{if(f){while(1){k=q[((l<<4)+b|0)+8>>2];Gl(h+320|0,a,k,3);Gl(h+304|0,a,k,5);Gl(h+288|0,a,k,6);if((ep(a,k)|0)!=1){break a}n=ez(h+16|0);j=l<<2;m=u[j+d>>2];u[h+92>>2]=m;u[h+88>>2]=u[h+328>>2];i=q[h+324>>2];q[h+80>>2]=q[h+320>>2];q[h+84>>2]=i;u[h+104>>2]=u[h+312>>2];i=q[h+308>>2];q[h+96>>2]=q[h+304>>2];q[h+100>>2]=i;i=q[h+292>>2];q[h+112>>2]=q[h+288>>2];q[h+116>>2]=i;u[h+120>>2]=u[h+296>>2];u[h+108>>2]=m*u[h+316>>2];u[h+124>>2]=m*u[h+300>>2];q[h+128>>2]=Tz(a,k);i=(l<<6)+c|0;u[h+16>>2]=u[i>>2];u[h+20>>2]=u[i+4>>2];u[h+24>>2]=u[i+8>>2];u[h+28>>2]=u[i+12>>2];u[h+32>>2]=u[i+16>>2];u[h+36>>2]=u[i+20>>2];u[h+40>>2]=u[i+24>>2];u[h+44>>2]=u[i+28>>2];u[h+48>>2]=u[i+32>>2];u[h+52>>2]=u[i+36>>2];u[h+56>>2]=u[i+40>>2];u[h+60>>2]=u[i+44>>2];u[h+64>>2]=u[i+48>>2];u[h+68>>2]=u[i+52>>2];u[h+72>>2]=u[i+56>>2];u[h+76>>2]=u[i+60>>2];p[h+204>>1]=s[a+354>>1];o[h+224|0]=PI(a,k);u[h+216>>2]=Vz(a,k);u[h+220>>2]=Uz(a,k);Gl(h,a,k,4);i=q[h+4>>2];q[h+208>>2]=q[h>>2];q[h+212>>2]=i;j=q[e+j>>2];o[h+272|0]=r[h+272|0]|1;i=h;b:{c:{if(j){q[h+244>>2]=2;q[h+248>>2]=2;q[h+236>>2]=5;q[h+240>>2]=0;o[h+268|0]=r[j|0];o[h+269|0]=r[j+1|0];o[h+270|0]=r[j+2|0];j=r[h+271|0]&-48|r[j+3|0]&15;o[h+271|0]=j;if(!r[g+16|0]){break b}o[g+16|0]=0;j=j|16;break c}o[h+270|0]=255;p[h+268>>1]=65280;q[h+244>>2]=0;q[h+248>>2]=0;q[h+236>>2]=7;q[h+240>>2]=0;j=r[h+271|0]&-48|15}o[i+271|0]=j}i=Wz(a,k);if(i>>>0<=8){i=i<<2;q[h+232>>2]=q[i+39548>>2];q[h+228>>2]=q[i+39512>>2]}dz(q[g>>2],Xz(a,k),0,0,n);l=l+1|0;if((l|0)!=(f|0)){continue}break}}c=q[g>>2];b=s[a+354>>1];a=q[g+12>>2];q[g+12>>2]=a+1;cz(c,2,a+(b<<16)|0);ti=h+336|0;return}J(37937,36771,929,37972);G()}function nL(a){var b=0,c=0,d=0,e=0,f=0;c=ti-96|0;ti=c;b=q[a+156>>2];if(b){Pi(q[a+288>>2],b)}NK(q[a+152>>2]);apa(q[a+152>>2]);t7();b=q[a+288>>2];if(b){x4(b,a+176|0)}q[c+80>>2]=0;q[c+84>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+84>>2]=-1;q[c+64>>2]=0;q[c+68>>2]=0;mL(a,c+48|0);Xoa(c+48|0);b=c+24|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=q[a+288>>2];q[b+8>>2]=q[a+152>>2];e=q[a+272>>2];a:{if(e){q[b>>2]=e?q[e+120>>2]:0;break a}e=b;d=q[a+276>>2];f=0;b:{if(!d){break b}f=q[d+120>>2]}q[e>>2]=f;XJ(b);e=b;d=q[a+284>>2];f=0;c:{if(!d){break c}f=q[d+120>>2]}q[e>>2]=f}XJ(b);v7();_oa(q[a+152>>2]);b=q[a+428>>2];if(b){Pi(q[a+288>>2],b)}b=q[a+408>>2];if(b){Pi(q[a+288>>2],b)}b=q[a+420>>2];if(b){Pi(q[a+288>>2],b)}b=q[a+424>>2];if(b){Pi(q[a+288>>2],b)}p0();p7(q[a+416>>2]);Z5(q[a+220>>2]);b=q[a+412>>2];if(b){q8(b);Xl(q[a+412>>2])}b=a+272|0;d=q[a+292>>2];if(d){yi(Yba(d))}d=q[a+272>>2];d:{if(!d){b=q[a+276>>2];if(b){Hy(b);Ky(q[a+276>>2])}b=q[a+280>>2];if(b){Hy(b);Ky(q[a+280>>2])}d=q[a+284>>2];if(!d){break d}b=a+284|0}Hy(d);Ky(q[b>>2])}b=q[a+288>>2];if(b){y4(b)}b=q[a+216>>2];if(b){xi[q[77423]](b);xi[q[77418]](q[a+216>>2])}b=q[a+300>>2];d=b;e=q[a+296>>2];if(b|e){Rm(e,d)}q[c+20>>2]=0;q[c+12>>2]=0;q[c+16>>2]=0;q[c+8>>2]=q[a+4>>2];q[c+12>>2]=0;q[c+16>>2]=q[a+152>>2];q[c+20>>2]=q[a+412>>2];Opa(c+8|0);Dra();b=q[a+4>>2];if(b){yra(b)}e:{if(o[a+404|0]&1){break e}b=q[a+392>>2];if(!b){break e}yi(b)}f:{if(o[a+204|0]&1){break f}b=q[a+184>>2];if(b){yi(b)}b=q[a+176>>2];if(!b){break f}yi(b)}g:{if(o[a+172|0]&1){break g}b=q[a+160>>2];if(!b){break g}yi(b)}yi(a);h:{if(o[c+92|0]&1){break h}a=q[c+72>>2];if(a){yi(a)}a=q[c+64>>2];if(!a){break h}yi(a)}ti=c+96|0}function gI(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=ti-368|0;ti=e;zb();a:{b=q[a+3480>>2];if(!(b&4)){b=a+2412|0;q[b>>2]=q[b>>2]|-2147483648;b=0;while(1){c=1<>>3&536870908)+a|0)+2368|0;q[d>>2]=c|q[d>>2];break b}d=((b>>>3&536870908)+a|0)+2368|0;q[d>>2]=q[d>>2]&(c^-1)}b=b+1|0;if((b|0)!=327){continue}break}b=q[a+3480>>2]}if(!(b&2)){b=a+2432|0;q[b>>2]=q[b>>2]|-2147483648;c=T(0)|0;b=a+2428|0;q[b>>2]=q[b>>2]&-2|(c|0)==1;c=T(1)|0;q[b>>2]=q[b>>2]&-3|((c|0)==1)<<1;c=T(2)|0;q[b>>2]=q[b>>2]&-5|((c|0)==1)<<2;c=T(3)|0;q[b>>2]=q[b>>2]&-9|((c|0)==1)<<3;c=T(4)|0;q[b>>2]=q[b>>2]&-17|((c|0)==1)<<4;c=T(5)|0;q[b>>2]=q[b>>2]&-33|((c|0)==1)<<5;c=T(6)|0;q[b>>2]=q[b>>2]&-65|((c|0)==1)<<6;c=T(7)|0;q[b>>2]=q[b>>2]&-129|((c|0)==1)<<7;b=Fb()|0;q[a+2424>>2]=q[a+3480>>2]&64?0-b|0:b;Gb(a+2416|0,a+2420|0);b=q[a+3480>>2]}if(!(b&8)){c=q[q[212969]+3476>>2];b=0;while(1){f=w(b,148)+a|0;d=r[f+144|0];if((d|0)!=255){g=q[c>>2];if(d>>>0>=q[c+4>>2]-g>>2>>>0){break a}d=q[(d<<2)+g>>2];xi[q[d+8>>2]](a,d,f)}b=b+1|0;if((b|0)!=16){continue}break}b=q[a+3480>>2]}if(!(b&16)){c:{if(!QZ(e+16|0,e+12|0)){break c}b=a+2924|0;q[b>>2]=q[b>>2]|-2147483648;f=q[e+12>>2];q[a+2920>>2]=f;if((f|0)<1){break c}d=0;while(1){b=w(d,44)+a|0;c=(e+16|0)+(d<<5)|0;q[b+2436>>2]=q[c>>2];q[b+2476>>2]=q[c+28>>2];q[b+2440>>2]=q[c+4>>2];q[b+2444>>2]=q[c+8>>2];q[b+2448>>2]=q[c+12>>2];q[b+2460>>2]=q[c+16>>2];q[b+2464>>2]=q[c+20>>2];d=d+1|0;if((f|0)!=(d|0)){continue}break}}b=q[a+3480>>2]}d:{if(b&32){break d}q[a+3480>>2]=b&-2;if(!(Ob(e+16|0,e+16|4,e+24|0)|0)){break d}q[a+3480>>2]=q[a+3480>>2]|1;b=q[e+20>>2];q[a+3452>>2]=q[e+16>>2];q[a+3456>>2]=b;q[a+3460>>2]=q[e+24>>2]}ti=e+368|0;return}J(143950,143853,479,143961);G()}function yO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=q[243155]<<1>>>0){break a}}return 0}b:{if(b>>>0<=d>>>0){c=d-b|0;if(c>>>0<16){break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|3;q[f+4>>2]=q[f+4>>2]|1;Wv(b,c);break b}c=0;if(q[243041]==(f|0)){d=d+q[243038]|0;if(d>>>0<=b>>>0){break a}q[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;q[c+4>>2]=b|1;q[243038]=b;q[243041]=c;break b}if(q[243040]==(f|0)){d=d+q[243037]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|1;d=a+d|0;q[d>>2]=c;q[d+4>>2]=q[d+4>>2]&-2;break c}q[a+4>>2]=d|g&1|2;b=a+d|0;q[b+4>>2]=q[b+4>>2]|1;c=0;b=0}q[243040]=b;q[243037]=c;break b}e=q[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}j=h-b|0;d:{if(e>>>0<=255){c=q[f+8>>2];e=e>>>3|0;d=q[f+12>>2];if((d|0)==(c|0)){q[243035]=q[243035]&Twa(-2,e);break d}q[c+12>>2]=d;q[d+8>>2]=c;break d}i=q[f+24>>2];d=q[f+12>>2];e:{if((f|0)!=(d|0)){c=q[f+8>>2];q[c+12>>2]=d;q[d+8>>2]=c;break e}f:{c=f+20|0;e=q[c>>2];if(e){break f}c=f+16|0;e=q[c>>2];if(e){break f}d=0;break e}while(1){k=c;d=e;c=d+20|0;e=q[c>>2];if(e){continue}c=d+16|0;e=q[d+16>>2];if(e){continue}break}q[k>>2]=0}if(!i){break d}c=q[f+28>>2];e=(c<<2)+972444|0;g:{if(q[e>>2]==(f|0)){q[e>>2]=d;if(d){break g}q[243036]=q[243036]&Twa(-2,c);break d}q[i+(q[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}q[d+24>>2]=i;c=q[f+16>>2];if(c){q[d+16>>2]=c;q[c+24>>2]=d}c=q[f+20>>2];if(!c){break d}q[d+20>>2]=c;q[c+24>>2]=d}if(j>>>0<=15){q[a+4>>2]=g&1|h|2;b=a+h|0;q[b+4>>2]=q[b+4>>2]|1;break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=j|3;c=a+h|0;q[c+4>>2]=q[c+4>>2]|1;Wv(b,j)}c=a}return c}function qv(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=x(0);k=ti-16|0;ti=k;f=s[a+24>>1];d=f;a:{b:{c:{d:{e:{f:{g=s[a+26>>1];g:{if((g|0)==(d|0)){break g}d=q[a+20>>2];if(!d){break f}if(f>>>0<=g>>>0){break e}p[a+26>>1]=g+1;d=s[d+(g<<1)>>1];g=q[a+32>>2];if(d>>>0<(q[a+36>>2]-g|0)/576>>>0){break g}if((q[a+40>>2]-g|0)/576>>>0<=d>>>0){break d}q[a+36>>2]=(g+w(d,576)|0)+576}h:{if((d|0)==(f|0)){q[k>>2]=f;Ai(4,193721,194456,k);d=-4;break h}f=s[a+352>>1];i=f?f:1;q[c>>2]=i<<16|d;g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=d>>>0){break c}e=Fi(g+w(d,576)|0,0,576);f=b&65535;j=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-j|0)/576>>>0){break c}l=b>>>16|0;h=w(f,576)+j|0;if((l|0)!=s[h+552>>1]){break b}m=s[h+554>>1];if((m|0)!=(b&65535)){break a}h=w(f,576)+j|0;$8(e,h);e=q[h+420>>2];if(e){q[(g+w(d,576)|0)+420>>2]=Jk(e)}e=g+w(d,576)|0;p[e+568>>1]=65535;p[e+554>>1]=d;p[e+552>>1]=i;q[e+556>>2]=-1;q[e+560>>2]=-1;p[e+564>>1]=65535;p[a+352>>1]=(i+1>>>0)%65535;e=q[h+416>>2];if(e){i=g+w(d,576)|0;q[i+512>>2]=xi[q[a+380>>2]](q[a+388>>2],a,q[c>>2],e,q[(w(f,576)+j|0)+512>>2]);q[i+416>>2]=q[h+416>>2]}e=w(f,576)+j|0;if(q[e+464>>2]|q[e+468>>2]){n=SI(a,b);b=q[a+32>>2];if(f>>>0>=(q[a+36>>2]-b|0)/576>>>0){break c}h=b+w(f,576)|0;if(s[h+552>>1]!=(l|0)){break b}if(s[h+554>>1]!=(m|0)){break a}iv(a,q[c>>2],q[e+464>>2],q[e+468>>2],u[(b+w(f,576)|0)+472>>2],n,0,0,0)}if(q[e+532>>2]){b=g+w(d,576)|0;q[b+532>>2]=0;d=w(f,576)+j|0;f=q[d+524>>2];q[b+520>>2]=q[d+520>>2];q[b+524>>2]=f}kv(a,q[c>>2],0);d=0}ti=k+16|0;return d}J(195800,195807,151,195858);G()}J(195862,195807,152,195858);G()}J(196250,195579,506,196269);G()}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function ola(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;b=ti-224|0;ti=b;e=q[a+8>>2];q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;o[b+80|0]=0;o[b+81|0]=0;o[b+82|0]=0;o[b+83|0]=0;o[b+84|0]=0;o[b+85|0]=0;o[b+86|0]=0;o[b+87|0]=0;o[b+104|0]=0;o[b+105|0]=0;o[b+106|0]=0;o[b+107|0]=0;o[b+108|0]=0;o[b+109|0]=0;o[b+110|0]=0;o[b+111|0]=0;o[b+96|0]=0;o[b+97|0]=0;o[b+98|0]=0;o[b+99|0]=0;o[b+100|0]=0;o[b+101|0]=0;o[b+102|0]=0;o[b+103|0]=0;o[b+88|0]=0;o[b+89|0]=0;o[b+90|0]=0;o[b+91|0]=0;o[b+92|0]=0;o[b+93|0]=0;o[b+94|0]=0;o[b+95|0]=0;a:{b:{if(gn(q[64918],b+80|0)){q[b+32>>2]=q[64918];Ai(4,47174,47182,b+32|0);break b}a=q[e>>2];d=q[e+4>>2];c=0;if((a|0)==(d|0)){break a}c=q[61718];g=q[c+8>>2];h=q[c+12>>2];i=b+208|0;c:{while(1){c=q[(f<<2)+a>>2];if(o[c+8|0]&1){a=q[c>>2];j=q[a+20>>2];k=q[a+16>>2];d=b- -64|0;u[d+8>>2]=u[a+24>>2];q[d>>2]=k;q[d+4>>2]=j;a=q[c>>2];u[b+48>>2]=u[a>>2];u[b+52>>2]=u[a+4>>2];u[b+56>>2]=u[a+8>>2];u[b+60>>2]=u[a+12>>2];a=q[q[c+4>>2]>>2];q[b+16>>2]=Ps(q[a>>2]);hj(i,9,47214,b+16|0);q[b+144>>2]=96;q[b+148>>2]=q[a+4>>2];u[b+152>>2]=u[a+8>>2];u[b+160>>2]=u[a+16>>2];u[b+164>>2]=u[a+20>>2];u[b+168>>2]=u[a+24>>2];u[b+176>>2]=u[a+32>>2];u[b+180>>2]=u[a+36>>2];u[b+184>>2]=u[a+40>>2];u[b+188>>2]=u[a+44>>2];u[b+192>>2]=u[a+48>>2];u[b+112>>2]=u[b+64>>2];u[b+116>>2]=u[b+68>>2];u[b+120>>2]=u[b+72>>2];u[b+128>>2]=u[b+48>>2];u[b+132>>2]=u[b+52>>2];u[b+136>>2]=u[b+56>>2];u[b+140>>2]=u[b+60>>2];if(fk(0,b+80|0,g,h,0,q[61718],b+112|0,105)){break c}d=q[e+4>>2];a=q[e>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}c=0;break a}q[b>>2]=q[64918];Ai(4,47174,47217,b)}c=-1e3}ti=b+224|0;return c|0}function KG(a,b,c,d,e){var f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=0,F=0,H=x(0),I=x(0),K=x(0),L=x(0),M=x(0),N=x(0);i=u[c+52>>2];j=u[c+60>>2];k=u[c+48>>2];l=u[c+56>>2];h=u[c+44>>2];m=x(u[e+20>>2]*h);g=x(u[e+16>>2]*h);f=u[e+24>>2];a:{if(o[c+82|0]&1){C=x(x(i*m)+x(k*g));f=x(f*h);t=x(x(x(l*g)+x(j*m))-x(k*f));v=x(x(x(j*f)+x(k*m))-x(i*g));D=x(l*f);m=x(x(x(j*g)+x(i*f))-x(l*m));break a}C=x(x(k*g)+x(i*m));v=x(x(x(f*j)+x(k*m))-x(i*g));t=x(x(x(l*g)+x(j*m))-x(f*k));D=x(f*l);m=x(x(x(f*i)+x(j*g))-x(l*m))}E=q[c+64>>2];F=q[E>>2];if((q[E+4>>2]-F|0)/18568>>>0<=b>>>0){J(146626,145751,479,145962);G()}g=u[e+36>>2];f=u[e+44>>2];r=u[e+32>>2];s=u[e+40>>2];L=u[c+36>>2];M=u[c+40>>2];N=u[c+32>>2];q[d+204>>2]=1065353216;z=x(h*x(0));u[d+188>>2]=z;p=x(x(x(s*i)+x(x(f*k)+x(r*j)))-x(g*l));H=x(p+p);n=x(x(x(r*l)+x(x(f*i)+x(g*j)))-x(s*k));A=x(n+n);I=x(x(1)-x(p*H));K=x(n*A);u[d+184>>2]=h*x(I-K);y=n;B=x(x(x(g*k)+x(x(f*l)+x(s*j)))-x(r*i));n=x(B+B);y=x(y*n);g=x(x(x(x(f*j)-x(r*k))-x(g*i))-x(s*l));f=x(H*g);u[d+180>>2]=h*x(y-f);r=x(p*n);s=x(A*g);u[d+176>>2]=h*x(r+s);u[d+172>>2]=z;u[d+168>>2]=h*x(y+f);f=x(B*n);u[d+164>>2]=h*x(I-f);p=x(p*A);g=x(g*n);u[d+160>>2]=h*x(p-g);u[d+156>>2]=z;u[d+152>>2]=h*x(r-s);u[d+148>>2]=h*x(p+g);u[d+144>>2]=h*x(x(x(1)-K)-f);h=x(D+C);u[d+200>>2]=M+x(x(k*t)+x(x(x(l*h)+x(j*v))-x(i*m)));u[d+196>>2]=L+x(x(l*m)+x(x(x(j*t)+x(i*h))-x(k*v)));u[d+192>>2]=N+x(x(i*v)+x(x(x(j*m)+x(k*h))-x(l*t)));c=F+w(b,18568)|0;q[d+208>>2]=q[c+18556>>2];q[d+212>>2]=q[c+18560>>2];q[d+216>>2]=q[d>>2];c=q[d+72>>2];q[d+220>>2]=c;q[d+232>>2]=b;q[d+228>>2]=a;q[d+224>>2]=(q[d+76>>2]-c|0)/96}function HP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;a:{b:{c:{b=q[a+68>>2];g=q[b+1120>>2];d=q[g+16>>2];if(d>>>0>10){break c}if(!(1<>2];q[f+12>>2]=b;o[q[a+204>>2]+4|0]=b>>>8;o[q[a+204>>2]+5|0]=b;d=6;c=q[a+68>>2];g=Cm(c+12|0);e=b;b=q[a>>2];c=ED(c+8|0,g,q[a+204>>2]+6|0,e,q[b+24>>2],q[b+28>>2]);if(c){break a}b=q[a+68>>2];e=b+8|0;c=b+1192|0;g=b+1124|0;b=q[a>>2];c=FD(e,c,1060,g,q[b+24>>2],q[b+28>>2]);if(!c){break b}break a}d=4;e=b+132|0;b=q[a>>2];c=CD(e,f+12|0,q[a+204>>2]+4|0,1e3,q[b+24>>2],q[b+28>>2]);if(c){break a}b=q[a+68>>2];e=b+132|0;c=b+1124|0;g=b+1192|0;b=q[a>>2];c=DD(e,c,g,1024,q[b+24>>2],q[b+28>>2]);if(!c){break b}break a}if(q[g+16>>2]-5>>>0<4){c=-27648;d=q[a>>2];if(!xC(d)){break a}d=q[d+140>>2];q[f+12>>2]=d;if(d+6>>>0>16384){c=-27136;break a}o[q[a+204>>2]+4|0]=d>>>8;o[q[a+204>>2]+5|0]=d;d=q[a>>2];Gi(q[a+204>>2]+6|0,q[d+136>>2],q[d+140>>2]);b=q[a>>2];e=q[b+140>>2];d=e+6|0;d:{e:{switch(q[g+16>>2]-5|0){case 0:q[f+12>>2]=0;break d;case 2:c=jC(a,d,f+12|0,2);if(!c){break d}break a;case 1:h=q[q[a+68>>2]+8>>2];q[f+12>>2]=h;c=-27136;b=e+8|0;if(b+h>>>0>16384){break a}o[q[a+204>>2]+d|0]=h>>>8;o[(q[a+204>>2]+e|0)+7|0]=q[f+12>>2];d=q[a+68>>2];c=Cm(d+12|0);e=d+8|0;d=b;b=q[a>>2];c=ED(e,c,d+q[a+204>>2]|0,q[f+12>>2],q[b+24>>2],q[b+28>>2]);if(!c){break d}break a;case 3:break e;default:break a}}c=CD(q[a+68>>2]+132|0,f+12|0,q[a+204>>2]+d|0,16378-e|0,q[b+24>>2],q[b+28>>2]);if(c){break a}}c=ZT(a,q[g+16>>2]);if(!c){break b}break a}c=-27648;if(q[g+16>>2]!=1){break a}d=4;c=jC(a,4,f+12|0,0);if(c){break a}}b=q[f+12>>2];q[a+208>>2]=22;q[a+212>>2]=b+d;o[q[a+204>>2]]=16;q[a+4>>2]=q[a+4>>2]+1;c=rq(a)}ti=f+16|0;return c}function FJ(a,b,c,d,e,f){q[f>>2]=b;q[f+4>>2]=q[d+4>>2];u[f+8>>2]=u[d+8>>2];u[f+12>>2]=u[d+12>>2];u[f+16>>2]=u[d+16>>2];b=ml(a,q[c+128>>2],q[c+132>>2],0);p[f+30>>1]=0;p[f+28>>1]=b;u[f+20>>2]=u[d+48>>2];u[f+24>>2]=u[d+52>>2];b=r[f+32|0]&-2;o[f+32|0]=b|r[d+56|0];b=b|r[d+56|0];o[f+32|0]=b;o[f+32|0]=b&249|(e?4:0)|r[d+57|0]<<1;b=q[c+4>>2];d=b;e=q[c>>2];a:{if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+12>>2];d=b;e=q[c+8>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+20>>2];d=b;e=q[c+16>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+28>>2];d=b;e=q[c+24>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+36>>2];d=b;e=q[c+32>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+44>>2];d=b;e=q[c+40>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+52>>2];d=b;e=q[c+48>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+60>>2];d=b;e=q[c+56>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+68>>2];d=b;e=q[c+64>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+76>>2];d=b;e=q[c+72>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+84>>2];d=b;e=q[c+80>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+92>>2];d=b;e=q[c+88>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+100>>2];d=b;e=q[c+96>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+108>>2];d=b;e=q[c+104>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+116>>2];d=b;e=q[c+112>>2];if(!(b|e)){break a}p[f+30>>1]=ml(a,e,d,0)|s[f+30>>1];b=q[c+124>>2];d=b;c=q[c+120>>2];if(!(b|c)){break a}p[f+30>>1]=ml(a,c,d,0)|s[f+30>>1]}}function Bla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=0;e=ti-48|0;ti=e;b=q[a+1040>>2];c=q[b+28>>2];d=q[c+16>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){g=q[d+(b<<3)>>2];h=q[c>>2];if(g>>>0>2]-h>>8>>>0){d=q[a+1052>>2];m=d;c=q[a+1048>>2];b=c+1|0;d=b>>>0<1?d+1|0:d;q[a+1048>>2]=b;q[a+1052>>2]=d;b=!m&c>>>0>3|(m|0)!=0;a:{if(!b){d=3;b:{if(b){break b}c:{d:{switch(c-1|0){default:b=h+(g<<8)|0;i=u[b+16>>2];l=u[b+24>>2];j=u[b+20>>2];k=x(1);break b;case 0:d=h+(g<<8)|0;i=u[d+32>>2];k=u[d+44>>2];l=u[d+40>>2];j=u[d+36>>2];d=4;break b;case 1:b=h+(g<<8)|0;i=u[b+64>>2];j=u[b+68>>2];l=u[b+72>>2];break c;case 2:break d}}b=h+(g<<8)|0;i=u[b+48>>2];j=u[b+52>>2];l=u[b+56>>2]}}c=zi(q[(c<<2)+243888>>2]);u[a+28>>2]=k;u[a+24>>2]=l;u[a+20>>2]=j;u[a+16>>2]=i;q[a+8>>2]=d;q[a>>2]=c;q[a+4>>2]=wi;f=1;break a}if(!m&(c|0)==4){c=zi(51792);q[a+8>>2]=7;q[a>>2]=c;q[a+4>>2]=wi;q[a+16>>2]=q[(h+(g<<8)|0)+240>>2];f=1;break a}b=m-(c>>>0<5)|0;d=c-5|0;b=!b&d>>>0>3|(b|0)!=0;if(!b){Wo(e,(h+(g<<8)|0)+128|0);f=0;if(b){break a}b=a;e:{f:{switch(d-1|0){default:j=u[e+20>>2];k=u[e+16>>2];i=u[e+24>>2];f=3;break e;case 0:l=u[e+12>>2];j=u[e+4>>2];k=u[e>>2];i=u[e+8>>2];f=4;break e;case 1:c=h+(g<<8)|0;k=x(u[e+32>>2]/x(u[c+48>>2]*u[c+64>>2]));j=x(u[e+36>>2]/x(u[c+52>>2]*u[c+68>>2]));i=u[e+40>>2];f=3;break e;case 2:break f}}j=u[e+36>>2];k=u[e+32>>2];i=u[e+40>>2];f=3}q[b+8>>2]=f;c=zi(q[(d<<2)+243920>>2]);u[a+28>>2]=l;u[a+24>>2]=i;u[a+20>>2]=j;u[a+16>>2]=k;q[a>>2]=c;q[a+4>>2]=wi;f=1;break a}f=0;if((c|0)!=9|m){break a}q[a+8>>2]=6;o[a+16|0]=o[(h+(g<<8)|0)+246|0]&1;q[a>>2]=zi(51850);q[a+4>>2]=wi;f=1}d=f;ti=e+48|0;return d|0}}J(52123,52040,479,52134);G()}function V8(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=x(0);d=ti-160|0;ti=d;a:{b:{c:{d:{k=b&65535;l=q[a+32>>2];if(k>>>0<(q[a+36>>2]-l|0)/576>>>0){if(s[(w(k,576)+l|0)+552>>1]!=(b>>>16|0)){break d}f=w(k,576)+l|0;if(s[f+554>>1]!=(b&65535)){break c}e=-10;e:{if((q[f+412>>2]&240)!=80){break e}g=w(k,576)+l|0;e=q[g+524>>2];j=q[g+520>>2];if(!(e|j)){Ai(4,193721,194595,0);e=-5;break e}g=q[a+232>>2];if((g|0)==q[a+236>>2]){q[d>>2]=(g-q[a+228>>2]|0)/12;Ai(4,193721,194644,d);e=-4;break e}g=q[a+204>>2];h=q[q[a+196>>2]+(Qwa(j,e,q[a+200>>2])<<2)>>2];i=g+(h<<4)|0;if(q[i>>2]!=(j|0)|q[i+4>>2]!=(e|0)){while(1){h=q[(g+(h<<4)|0)+12>>2];i=g+(h<<4)|0;if((j|0)!=q[i>>2]|(e|0)!=q[i+4>>2]){continue}break}}g=q[(g+(h<<4)|0)+8>>2];c=VG(q[a+192>>2],g,c);e=q[f+412>>2];f:{if((e&196608)!=131072){break f}q[f+412>>2]=e&-196609;if(r[865480]){break f}o[865480]=1;e=w(k,576)+l|0;q[d+16>>2]=Mi(q[e+544>>2],q[e+548>>2]);Ai(3,193721,194760,d+16|0)}ar(a,f,2,d+96|0);Wo(d+48|0,d+96|0);e=q[a+192>>2];u[d+40>>2]=u[d+72>>2];f=q[d+68>>2];q[d+32>>2]=q[d+64>>2];q[d+36>>2]=f;Yu(e,c,d+32|0);e=q[a+192>>2];f=q[d+52>>2];q[d+32>>2]=q[d+48>>2];q[d+36>>2]=f;f=q[d+60>>2];q[d+40>>2]=q[d+56>>2];q[d+44>>2]=f;Xu(e,c,d+32|0);m=u[d+80>>2];n=u[d+84>>2];Wu(q[a+192>>2],c,m>2];f=q[a+228>>2];j=e-f|0;h=(j|0)/12|0;i=h+1|0;if(i>>>0>(q[a+236>>2]-f|0)/12>>>0){break b}q[a+232>>2]=f+w(i,12);if((j+12|0)/12>>>0<=h>>>0){break a}q[e+8>>2]=b;q[e>>2]=c;q[e+4>>2]=g;b=w(k,576)+l|0;q[b+532>>2]=c;q[b+528>>2]=g;mz(q[a+192>>2],c);e=0}ti=d+160|0;return e}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(196250,195579,506,196269);G()}J(195730,195579,479,195741);G()}function gG(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;j=ti-80|0;ti=j;l=j- -64|0;q[l>>2]=0;q[l+4>>2]=0;q[j+56>>2]=0;q[j+60>>2]=0;q[j+76>>2]=1;q[j+48>>2]=e;q[j+52>>2]=f;q[j+72>>2]=b;q[j+44>>2]=0;l=q[b+16>>2];a:{if(l){q[j+16>>2]=a;k=q[b+12>>2];q[j+32>>2]=h;q[j+28>>2]=g;q[j+20>>2]=k;q[j+36>>2]=0;q[j+24>>2]=c;q[j+40>>2]=j+44;k=xi[l|0](j+16|0)|0;if(k){break a}k=q[j+44>>2]}q[j+64>>2]=0;q[j+68>>2]=h;q[j+16>>2]=a;l=q[b+12>>2];q[j+36>>2]=k;q[j+32>>2]=h;q[j+28>>2]=g;q[j+20>>2]=l;q[j+24>>2]=c;q[j+40>>2]=j+48;k=xi[q[b+20>>2]](j+16|0)|0;if(k){break a}g=q[b+24>>2];if(!g){k=0;break a}q[j+16>>2]=a;q[j+20>>2]=q[b+12>>2];q[j+24>>2]=q[j+44>>2];q[j+28>>2]=j+48;k=xi[g|0](j+16|0)|0;if((k|0)!=-17){break a}while(1){Io(1e3);k=xi[q[b+24>>2]](j+16|0)|0;if((k|0)==-17){continue}break}}g=a+7380|0;h=q[a+7376>>2];q[g>>2]=h;b:{l=a+7384|0;if((q[l>>2]-h|0)!=1048576){if(o[a+7388|0]&1){break b}Ii(1048576,1,a+7376|0,l,g)}h=25850;c:{d:{e:{switch(k+21|0){case 21:k=eG(a,c,e,f,j+48|0);if(!k){q[i>>2]=q[j+56>>2];k=0;break c}q[j+16>>2]=a;q[j+20>>2]=q[b+12>>2];q[j+24>>2]=j+48;xi[q[b+28>>2]](j+16|0)|0;break c;case 19:h=25863;break d;case 18:h=25873;break d;case 17:h=25892;break d;case 16:h=25915;break d;case 15:h=25934;break d;case 14:h=25940;break d;case 13:h=25962;break d;case 12:h=25976;break d;case 11:h=25985;break d;case 10:h=25996;break d;case 9:h=26013;break d;case 8:h=26036;break d;case 7:h=26049;break d;case 6:h=26064;break d;case 5:h=26078;break d;case 4:h=26098;break d;case 2:h=26106;break d;case 1:h=26123;break d;case 0:h=26142;break d;case 20:break d;default:break e}}h=26156}q[j+4>>2]=h;q[j>>2]=d;Ai(3,24387,26887,j)}ti=j+80|0;return k}J(26943,26397,493,27018);G()}function dma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-32|0;ti=f;a:{g=q[a+8>>2];b=q[g+4>>2];if((b|0)!=q[g+8>>2]){while(1){c=w(h,28)+b|0;b:{if((q[c+24>>2]&3)!=3){break b}b=0;e=q[a>>2];c:{if(!e){break c}e=q[e>>2];if(!e){break c}b=q[e>>2]}e=q[c+8>>2];d:{if(!e){d=0;break d}q[f+28>>2]=c;q[f+24>>2]=b;d=Fs(e,143,f+24|0,1e4);if((d|0)==-17){break b}}q[c+24>>2]=q[c+24>>2]&-2;e=q[q[a+12>>2]+4>>2];b=0;e:{if(!e){break e}b=q[e+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[c+12>>2]);bj(b,-1e4,q[c+16>>2]);Qi(b,-1);jk(b);if(!Dy(b)){Ci(b,-3);Ai(4,35133,35361,0);q[c+24>>2]=q[c+24>>2]&-2;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(35445,35466,428,35509);G()}if(q[c+12>>2]==-2){Ci(b,-3);Ai(4,35133,35522,0);q[c+24>>2]=q[c+24>>2]&-2;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((e|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(35445,35466,436,35509);G()}bj(b,-1e4,q[c+20>>2]);i=q[b+8>>2];q[i+8>>2]=1;q[i>>2]=!d;q[b+8>>2]=q[b+8>>2]+16;Vl(b,3,0);q[c+24>>2]=q[c+24>>2]&-2;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((e|0)!=q[b+8>>2]-q[b+12>>2]>>4){break a}}h=h+1|0;b=q[g+4>>2];if(h>>>0<(q[g+8>>2]-b|0)/28>>>0){continue}break}}a=q[g+28>>2];q[75108]=a+q[75108];q[f+16>>2]=a;q[f+20>>2]=0;q[f+8>>2]=a;q[f+12>>2]=0;ti=f+32|0;return 0}J(35445,35466,444,35509);G()}function Nfa(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;b=ti+ -64|0;ti=b;j=-13;a:{b:{c:{d:{if(Cj(q[a+20>>2],q[a+24>>2],q[64268],b+60|0)){break d}d=q[q[a+32>>2]+8>>2];q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;j=vK(q[a>>2],q[b+60>>2],b+16|0,1);e:{if(!j){i=d+12|0;f=q[i>>2];c=q[d+8>>2];e=q[b+28>>2];g=q[b+24>>2];uv(q[a>>2],d);q[d+4>>2]=q[b+20>>2];q[d+24>>2]=q[b+40>>2];q[d+28>>2]=q[b+44>>2];q[d+32>>2]=q[d+32>>2]&-2147483648|q[b+48>>2]&2147483647;q[d+36>>2]=q[b+52>>2];q[d+40>>2]=q[b+56>>2];k=d+8|0;e=e-g>>2;f=f-c>>2;f:{if(e>>>0>f>>>0){if(o[d+20|0]&1){break c}c=d+16|0;g=q[c>>2];h=q[d+8>>2];Ii(e,4,k,c,i);l=q[q[b+60>>2]+8>>2];m=q[c>>2];c=q[k>>2];if(l>>>0>m-c>>2>>>0){break b}q[i>>2]=c+(l<<2);c=g-h>>2;if(e>>>0<=c>>>0){e=f;break f}while(1){g=q[b+24>>2];if(q[b+28>>2]-g>>2>>>0<=c>>>0){break a}h=q[k>>2];if(q[i>>2]-h>>2>>>0<=c>>>0){break a}l=h;h=c<<2;q[l+h>>2]=q[g+h>>2];c=c+1|0;if(e>>>0>c>>>0){continue}break}e=f;break f}if(e>>>0>=f>>>0){break f}f=q[d+8>>2];if(q[d+16>>2]-f>>2>>>0>>0){break b}q[i>>2]=f+(e<<2)}if(e){c=0;while(1){f=q[b+24>>2];if(q[b+28>>2]-f>>2>>>0<=c>>>0){break a}g=q[k>>2];if(q[i>>2]-g>>2>>>0<=c>>>0){break a}h=g;g=c<<2;q[h+g>>2]=q[f+g>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[d+32>>2]=q[d+32>>2]|-2147483648;q[q[a+32>>2]+16>>2]=((q[a+24>>2]+q[d+16>>2]|0)-q[d+8>>2]|0)+44;break e}q[b>>2]=j;Ai(3,60060,60204,b);uv(q[a>>2],b+16|0)}if(o[b+36|0]&1){break d}a=q[b+24>>2];if(!a){break d}yi(a)}ti=b- -64|0;return j|0}J(60288,60363,493,60419);G()}J(60431,60363,506,60450);G()}J(60458,60363,479,60277);G()}function kH(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-288|0;ti=c;d=r[a+2196|0];e=q[a>>2];f=s[a+2198>>1];q[c+28>>2]=b;q[c+24>>2]=f;q[c+20>>2]=e;q[c+16>>2]=d?162946:162952;d=a+4|0;hj(d,2124,162932,c+16|0);q[a+2168>>2]=pk();q[a+2172>>2]=wi;a:{b:{c:{if(o[a+2200|0]&1){break c}e=q[a+2192>>2];if(!e){break c}f=q[e+48>>2];wj(f);e=q[e+80>>2];qj(f);if(G7(q[a+2192>>2],d,c+40|0)){break c}f=r[c+144|0];if(!(f&1)|(e|0)!=1?!(f&2):0){break c}q[c+272>>2]=0;q[c+276>>2]=0;q[c+280>>2]=0;q[c+284>>2]=0;o[c+196|0]=0;q[c+192>>2]=-1;q[c+180>>2]=0;q[c+172>>2]=0;q[c+176>>2]=0;q[c+264>>2]=0;q[c+268>>2]=0;o[c+260|0]=0;q[c+184>>2]=-1;q[c+188>>2]=0;q[c+168>>2]=a;e=a+2184|0;q[e>>2]=q[e>>2]+1;q[c+164>>2]=0;if(pH(q[a+2192>>2],d,c+40|0,c+164|0,c+152|0)){break c}b=a+2208|0;while(1){e=tl(b,1,65536,q[c+164>>2]);o[(e+a|0)+2208|0]=0;xi[q[a+2136>>2]](c+168|0,q[a+2132>>2],304,b,e);if(e){continue}break}nH(q[a+2192>>2],d,c+40|0,q[c+164>>2]);a=q[c+276>>2];if(!a){break a}if(q[q[c+168>>2]+2128>>2]?0:!(r[c+260|0]&2)){break b}ML(q[c+272>>2],a);break a}d:{if(q[a+2156>>2]<1){d=-8;break d}f=0;while(1){e=lH(a,b,162957);d=e;e:{switch(e+7|0){case 6:d=-1;g=q[a+2128>>2]+24|0;if(g>>>0>21|!(1<>2];if(!(!d|!q[d>>2])){d=e;break d}f:{if(!q[a+2160>>2]){break f}d=pk();g=q[a+2168>>2];if(q[a+2160>>2]>(d-g|0)){break f}d=e;break d}g=q[a+2156>>2];g:{if((g-1|0)<=(f|0)){f=f+1|0;break g}q[a+2188>>2]=q[a+2188>>2]+1;q[a+2168>>2]=pk();q[a+2172>>2]=wi;d=q[a+2156>>2];f=f+1|0;q[c>>2]=f;q[c+4>>2]=d-1;Ai(2,162927,162961,c);g=q[a+2156>>2]}d=e;if((f|0)<(g|0)){continue}break}}ti=c+288|0;return d}JL(q[c+272>>2],a)}ti=c+288|0;return 1}function Sy(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=ti-1072|0;ti=e;d=-1;a:{if(!b){break a}d=z4(b);if(d){break a}h=Ui(b);if(h>>>0>=1024){q[e>>2]=b;Ai(4,28089,28098,e);d=-1;break a}q[c+16>>2]=vl(b,h);q[c+20>>2]=wi;g=Km(b,46);b:{c:{if(!g){q[e+16>>2]=b;Ai(3,28089,28284,e+16|0);break c}d=v4(q[a+155704>>2],g+1|0);if(d){if(q[d+20>>2]){break b}J(28337,28238,227,28369);G()}q[e+36>>2]=g;q[e+32>>2]=b;Ai(4,28089,28385,e+32|0)}d=0}q[c+8>>2]=d;l=fG(b,e+48|0);q[c+24>>2]=vl(e+48|0,l);q[c+28>>2]=wi;while(1){d=q[a+88104>>2];q[a+88104>>2]=d?d:1;if(d){continue}break}g=a+16|0;i=q[c+16>>2];j=q[c+20>>2];d:{e:{f:{g:{h:{i:{f=q[a+20>>2];j:{if(!f){break j}d=q[q[g>>2]+(Qwa(i,j,f)<<2)>>2];if((d|0)==-1){break j}m=q[a+24>>2];while(1){k=(d<<4)+m|0;if((i|0)==q[k>>2]&(j|0)==q[k+4>>2]){break i}d=q[k+12>>2];if((d|0)!=-1){continue}break}}k:{if(q[a+40>>2]==q[a+32>>2]-q[a+24>>2]>>4){break k}f=q[a+88100>>2];d=h+1|0;if(f+d>>>0>61440){break k}h=(a+f|0)+26660|0;zj(h,b,d);Vq(g,i,j,a+88100|0);q[a+88100>>2]=d+q[a+88100>>2];f=q[a+20>>2];break h}q[c>>2]=0;break g}h=(q[((d<<4)+m|0)+8>>2]+a|0)+26660|0}q[c>>2]=h;i=q[c+24>>2];j=q[c+28>>2];l:{if(!f){break l}d=q[q[g>>2]+(Qwa(i,j,f)<<2)>>2];if((d|0)==-1){break l}b=q[a+24>>2];while(1){f=b+(d<<4)|0;if((i|0)==q[f>>2]&(j|0)==q[f+4>>2]){break f}d=q[f+12>>2];if((d|0)!=-1){continue}break}}m:{if(q[a+40>>2]==q[a+32>>2]-q[a+24>>2]>>4){break m}b=q[a+88100>>2];d=l+1|0;if(b+d>>>0>61440){break m}b=(a+b|0)+26660|0;zj(b,e+48|0,d);Vq(g,i,j,a+88100|0);q[a+88100>>2]=d+q[a+88100>>2];break e}q[c+4>>2]=0}q[a+88104>>2]=0;d=-8;break d}b=(q[(b+(d<<4)|0)+8>>2]+a|0)+26660|0}q[c+4>>2]=b;d=0}q[a+88104>>2]=0}ti=e+1072|0;return d}function PF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0);i=ti-32|0;ti=i;g=q[b+12>>2]+c|0;k=(q[b+4>>2]&-268435456)!=805306368;a:{b:{if(k){j=1;break b}j=q[g+4>>2];c=q[g>>2];gj(a,0,0);if(!j){break a}g=c+d|0}c=0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=q[b+4>>2]>>>22&63;switch(e-2|0){case 0:break h;case 6:break i;case 2:break j;case 11:break k;case 3:break l;case 9:break e;case 12:break f;case 7:break g;default:break d}}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}e=(c<<3)+g|0;Zj(a,q[e>>2],q[e+4>>2]);break c}e=r[c+g|0];f=q[a+8>>2];q[f+8>>2]=1;q[f>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;break c}m=u[(c<<2)+g>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=m;q[a+8>>2]=q[a+8>>2]+16;break c}Hi(a,q[(c<<2)+g>>2]+d|0);break c}e=q[(c<<2)+g>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;break c}f=q[b+8>>2];e=w(q[f+16>>2],c)+g|0;h=q[f+4>>2];if(!tk(h,119265,8)){jl(a,e);break c}if(!tk(h,119273,7)){u[i+16>>2]=u[e>>2];u[i+20>>2]=u[e+4>>2];u[i+24>>2]=u[e+8>>2];jl(a,i+16|0);break c}if(!tk(h,119280,8)){Un(a,e);break c}if(!tk(h,119288,5)){Mq(a,e);break c}if(!tk(h,119293,8)){Nq(a,e);break c}if(!tk(h,119301,8)){if(q[e>>2]){bj(a,-1e4,q[e+4>>2]);bj(a,-1,q[e>>2]);Xk(a,-2);break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;break c}gj(a,0,0);if(!r[f+24|0]){break c}h=0;while(1){l=w(h,24);Hi(a,q[l+q[f+20>>2]>>2]);PF(a,q[f+20>>2]+l|0,e,d);tj(a,-3);h=h+1|0;if(h>>>0>2]=q[b>>2];q[i>>2]=e;Bi(a,119309,i)}c=c+1|0;if(!k){bk(a,-2,c)}if((c|0)!=(j|0)){continue}break}}ti=i+32|0}function EJ(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=x(0);g=ti-288|0;ti=g;a:{b:{c:{d:{e:{f:{g:{d=q[c+8>>2];if(d>>>0>=33){q[g+4>>2]=a;d=32;q[g>>2]=32;Ai(4,56460,56550,g);break g}if(d){break g}d=0;break f}a=0;while(1){if(t[c+8>>2]<=a>>>0){break e}e=(g+16|0)+(a<<3)|0;q[e>>2]=zi(q[q[c+4>>2]+(a<<2)>>2]);q[e+4>>2]=wi;a=a+1|0;if((d|0)!=(a|0)){continue}break}}At(g+16|0,(g+16|0)+(d<<3)|0,g+280|0);Xy(b,d,g+16|0);q[b+104>>2]=q[c+20>>2];e=q[c+28>>2];j=q[c+24>>2];f=q[c+36>>2];if(f){k=q[c+32>>2];d=0;while(1){a=k+(d<<4)|0;h=zi(q[a>>2]);i=wi;Pu(b,h,i,q[a+4>>2]);mG(b,h,i,q[a+8>>2],q[a+12>>2]);d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(e){d=0;while(1){a=j+(d<<4)|0;f=zi(q[a>>2]);k=wi;Pu(b,f,k,q[a+4>>2]);mG(b,f,k,q[a+8>>2],q[a+12>>2]);d=d+1|0;if((e|0)!=(d|0)){continue}break}}d=q[c+44>>2];if(d){e=q[c+40>>2];a=0;while(1){Yy(b,zi(q[e+(a<<2)>>2]),wi,a,1,1,0,0,x(1));a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(q[c+52>>2]){k=q[c+48>>2];d=0;j=0;while(1){e=k+(j<<5)|0;a=zi(q[e>>2]);f=wi;h=q[e+4>>2];if((h|0)>=3){break a}i=q[e+8>>2];if((i|0)>=3){break a}l=q[e+12>>2];if((l|0)>=6){break d}m=q[e+16>>2];if((m|0)>=2){break c}h=q[(h<<2)+56784>>2];i=q[(i<<2)+56784>>2];l=q[(l<<2)+56896>>2];m=q[(m<<2)+56896>>2];n=u[e+20>>2];d=Yy(b,a,f,d,h,i,l,m,n)+d|0;f=q[e+28>>2];if(f){a=0;while(1){if(a>>>0>=f>>>0){break b}f=q[e+24>>2]+(a<<3)|0;d=Yy(b,q[f>>2],q[f+4>>2],d,h,i,l,m,n)+d|0;a=a+1|0;f=q[e+28>>2];if(a>>>0>>0){continue}break}}j=j+1|0;if(j>>>0>2]){continue}break}}ti=g+288|0;return}J(56627,56639,117,56694);G()}J(56796,56400,51,56874);G()}J(56920,56400,57,56984);G()}J(56627,56639,104,56694);G()}J(56705,56400,45,56769);G()}function TL(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,p=0,u=0;g=ti-32|0;ti=g;e=q[213374];a:{l=a+1|0;f=0;b:{if(l>>>0<2){break b}d=a&65535;if(d>>>0>=t[e+8>>2]){break a}c=q[q[e>>2]+(d<<2)>>2];f=0;if(!c){break b}f=s[q[e+4>>2]+(d<<1)>>1]==(a>>>16|0)?c:0}m=b+1|0;c:{if(m>>>0<2){break c}d=b&65535;if(d>>>0>=t[e+8>>2]){break a}c=q[q[e>>2]+(d<<2)>>2];if(!c){break c}i=s[q[e+4>>2]+(d<<1)>>1]==(b>>>16|0)?c:0}d=8;k=r[i+34|0];d:{if((k|0)!=r[f+34|0]){break d}e:{if(!k){break e}n=q[i+4>>2];j=q[f+4>>2];d=0;while(1){c=d<<4;h=c+n|0;p=q[h>>2];c=c+j|0;u=q[h+4>>2];if(!((p|0)!=q[c>>2]|(u|0)!=q[c+4>>2]|q[h+8>>2]!=q[c+8>>2]|(r[h+12|0]!=r[c+12|0]|r[h+13|0]!=r[c+13|0]))){d=d+1|0;if((k|0)!=(d|0)){continue}break e}break}f=Mi(p,u);e=d<<4;b=e+n|0;i=q[b+8>>2];h=o[b+12|0];a=148710;f:{if(h>>>0>8){break f}a=q[(h<<2)+273568>>2]}h=r[b+13|0];c=Mi(q[c>>2],q[c+4>>2]);e=e+j|0;k=q[e+8>>2];e=o[e+12|0];b=148710;g:{if(e>>>0>8){break g}b=q[(e<<2)+273568>>2]}q[g+28>>2]=r[(j+(d<<4)|0)+13|0];q[g+24>>2]=b;q[g+20>>2]=k;q[g+16>>2]=c;q[g+12>>2]=h;q[g+8>>2]=a;q[g+4>>2]=i;q[g>>2]=f;Ai(4,148811,148816,g);d=9;break d}f=t[i+28>>2]>t[f+28>>2];d=f?4:3;if(l>>>0<2|f){break d}i=q[e+8>>2];c=a&65535;if(i>>>0<=c>>>0){break a}d=3;j=q[e>>2];f=q[j+(c<<2)>>2];if(!f){break d}e=q[e+4>>2];if(s[e+(c<<1)>>1]!=(a>>>16|0)){break d}c=q[f>>2];a=pj(c+w(q[f+24>>2],q[f+28>>2])|0,148944,16);d=a?1:3;if(a|m>>>0<2){break d}f=b&65535;if(f>>>0>=i>>>0){break a}d=3;a=q[j+(f<<2)>>2];if(!a|s[e+(f<<1)>>1]!=(b>>>16|0)){break d}d=1;b=q[a>>2];a=w(q[a+24>>2],q[a+28>>2]);if(pj(b+a|0,148944,16)){break d}Gi(c,b,a);d=0}ti=g+32|0;return d}J(149021,149036,144,149074);G()}function $N(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-16|0;e=a+24|0;g=q[a+32>>2];d=q[g+116>>2];f=q[q[a+20>>2]+116>>2];h=q[a+8>>2];a:{if(f>>>0>=t[h+116>>2]){if(d>>>0>=f>>>0){break a}q[c+8>>2]=q[a+20>>2];d=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=d;q[a+20>>2]=q[e+8>>2];d=q[e+4>>2];q[a+12>>2]=q[e>>2];q[a+16>>2]=d;q[e+8>>2]=q[c+8>>2];d=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=d;if(t[q[a+20>>2]+116>>2]>=t[h+116>>2]){break a}q[c+8>>2]=q[a+8>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[a+8>>2]=q[a+20>>2];d=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=d;q[a+20>>2]=q[c+8>>2];d=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=d;break a}if(d>>>0>>0){q[c+8>>2]=q[a+8>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[a+8>>2]=q[e+8>>2];d=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=d;q[e+8>>2]=q[c+8>>2];d=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=d;break a}q[c+8>>2]=q[a+8>>2];d=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=d;q[a+8>>2]=q[a+20>>2];d=q[a+16>>2];q[a>>2]=q[a+12>>2];q[a+4>>2]=d;q[a+20>>2]=q[c+8>>2];d=q[c+4>>2];q[a+12>>2]=q[c>>2];q[a+16>>2]=d;if(t[g+116>>2]>=t[q[a+20>>2]+116>>2]){break a}q[c+8>>2]=q[a+20>>2];d=q[a+16>>2];q[c>>2]=q[a+12>>2];q[c+4>>2]=d;q[a+20>>2]=q[e+8>>2];d=q[e+4>>2];q[a+12>>2]=q[e>>2];q[a+16>>2]=d;q[e+8>>2]=q[c+8>>2];d=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=d}c=a+36|0;if((c|0)!=(b|0)){while(1){d=c;g=q[c+8>>2];if(t[g+116>>2]>2]+116>>2]){h=q[d>>2];i=q[d+4>>2];f=d;while(1){b:{c=e;e=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=e;q[f+8>>2]=q[c+8>>2];if((a|0)==(c|0)){c=a;break b}e=c-12|0;f=c;if(t[g+116>>2]>2]+116>>2]){continue}}break}q[c+8>>2]=g;q[c>>2]=h;q[c+4>>2]=i}e=d;c=e+12|0;if((c|0)!=(b|0)){continue}break}}}function rs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=q[a+44>>2];k=c-262|0;f=q[a+116>>2];b=c;while(1){h=q[a+108>>2];f=(q[a+60>>2]-f|0)-h|0;if(b+k>>>0<=h>>>0){b=q[a+56>>2];Gi(b,b+c|0,c);q[a+112>>2]=q[a+112>>2]-c;h=q[a+108>>2]-c|0;q[a+108>>2]=h;q[a+92>>2]=q[a+92>>2]-c;d=q[a+76>>2];b=q[a+68>>2]+(d<<1)|0;while(1){b=b-2|0;g=s[b>>1];e=g-c|0;p[b>>1]=e>>>0>g>>>0?0:e;d=d-1|0;if(d){continue}break}b=q[a+64>>2]+(c<<1)|0;d=c;while(1){b=b-2|0;g=s[b>>1];e=g-c|0;p[b>>1]=e>>>0>g>>>0?0:e;d=d-1|0;if(d){continue}break}f=c+f|0}a:{e=q[a>>2];g=q[e+4>>2];if(!g){break a}b=q[a+116>>2];d=a;f=f>>>0>>0?f:g;if(f){i=q[a+56>>2];q[e+4>>2]=g-f;b=Gi(b+(h+i|0)|0,q[e>>2],f);b:{c:{switch(q[q[e+28>>2]+24>>2]-1|0){case 0:q[e+48>>2]=fq(q[e+48>>2],b,f);break b;case 1:break c;default:break b}}q[e+48>>2]=el(q[e+48>>2],b,f)}q[e>>2]=f+q[e>>2];q[e+8>>2]=f+q[e+8>>2];b=q[a+116>>2]}f=b+f|0;q[d+116>>2]=f;d=q[a+5812>>2];d:{if(f+d>>>0<3){break d}b=q[a+108>>2]-d|0;e=q[a+56>>2];h=b+e|0;g=r[h|0];q[a+72>>2]=g;i=q[a+84>>2];j=g;g=q[a+88>>2];h=i&(r[h+1|0]^j<>2]=h;while(1){if(!d){break d}h=(r[(b+e|0)+2|0]^h<>2]=h;j=q[a+68>>2]+(h<<1)|0;p[q[a+64>>2]+((q[a+52>>2]&b)<<1)>>1]=s[j>>1];p[j>>1]=b;d=d-1|0;q[a+5812>>2]=d;b=b+1|0;if(f+d>>>0>2){continue}break}}if(!q[q[a>>2]+4>>2]|f>>>0>261){break a}b=q[a+44>>2];continue}break}d=q[a+60>>2];c=q[a+5824>>2];e:{if(d>>>0<=c>>>0){break e}b=q[a+116>>2]+q[a+108>>2]|0;if(b>>>0>c>>>0){c=d-b|0;c=c>>>0<258?c:258;Fi(b+q[a+56>>2]|0,0,c);q[a+5824>>2]=b+c;return}b=b+258|0;if(b>>>0<=c>>>0){break e}g=c+q[a+56>>2]|0;d=d-c|0;c=b-c|0;c=c>>>0>d>>>0?d:c;Fi(g,0,c);q[a+5824>>2]=c+q[a+5824>>2]}}function Jfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[a>>2];e=q[g+8>>2];b=q[g+4>>2];c=e-b|0;if(!c){break a}if((b|0)!=(e|0)){e=b-e|0;d=((c|0)<(e|0)?e:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);i=c>>>0>1?c:1;while(1){e=q[(h<<2)+b>>2];f=q[e+152>>2];b:{if(!f){break b}b=q[e+192>>2];if(!b){b=q[f+8>>2]}c=q[e+156>>2];if(!c){c=q[f+4>>2]}c:{d:{d=c;c=q[q[a+4>>2]+8>>2];if(!((d|0)==(c|0)|(c|0)==(f|0)|(b|0)==(c|0))){b=q[e+160>>2];if(b){break d}b=q[f+12>>2];if(b){break d}d=0;b=0;break c}o[e+204|0]=r[e+204|0]|4;break b}d=q[b>>2];b=q[b+4>>2]}e:{if(!b&(c|0)==(d|0)){break e}f:{g:{b=q[e+164>>2];if(b){break g}b=q[f+16>>2];if(b){break g}d=0;b=0;break f}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}h:{i:{b=q[e+168>>2];if(b){break i}b=q[f+20>>2];if(b){break i}d=0;b=0;break h}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}j:{k:{b=q[e+172>>2];if(b){break k}b=q[f+24>>2];if(b){break k}d=0;b=0;break j}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}l:{m:{b=q[e+176>>2];if(b){break m}b=q[f+28>>2];if(b){break m}d=0;b=0;break l}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}n:{o:{b=q[e+180>>2];if(b){break o}b=q[f+32>>2];if(b){break o}d=0;b=0;break n}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}p:{q:{b=q[e+184>>2];if(b){break q}b=q[f+36>>2];if(b){break q}d=0;b=0;break p}d=q[b>>2];b=q[b+4>>2]}if(!b&(c|0)==(d|0)){break e}r:{s:{b=q[e+188>>2];if(b){break s}b=q[f+40>>2];if(b){break s}f=0;b=0;break r}f=q[b>>2];b=q[b+4>>2]}if((c|0)!=(f|0)|b){break b}}o[e+204|0]=r[e+204|0]|4}h=h+1|0;if((i|0)==(h|0)){break a}b=q[g+4>>2];if(q[g+8>>2]-b>>2>>>0>h>>>0){continue}break}}J(41371,40669,486,41382);G()}}function wO(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;i=ti-1056|0;ti=i;d=i+1048|0;q[d>>2]=0;q[d+4>>2]=0;d=i+1040|0;q[d>>2]=0;q[d+4>>2]=0;q[i+1032>>2]=0;q[i+1036>>2]=0;q[i+1024>>2]=0;q[i+1028>>2]=0;a:{b:{c:{d:{c=r[b|0];e:{if(!c){j=-1;d=1;break e}while(1){if(!r[a+f|0]){break b}d=c&255;f=f+1|0;q[(d<<2)+i>>2]=f;c=(i+1024|0)+(d>>>3&28)|0;q[c>>2]=q[c>>2]|1<>>0>1){break d}}g=-1;e=1;break c}k=1;c=1;while(1){g=r[(c+j|0)+b|0];h=r[b+d|0];f:{if((g|0)==(h|0)){if((c|0)==(k|0)){e=e+k|0;c=1;break f}c=c+1|0;break f}if(g>>>0>h>>>0){k=d-j|0;e=d;c=1;break f}j=e;e=e+1|0;k=1;c=1}d=c+e|0;if(f>>>0>d>>>0){continue}break}e=1;g=-1;if(f>>>0<=1){d=k;break c}d=0;h=1;c=1;while(1){m=r[(c+g|0)+b|0];l=r[b+e|0];g:{if((m|0)==(l|0)){if((c|0)==(h|0)){d=d+h|0;c=1;break g}c=c+1|0;break g}if(l>>>0>m>>>0){h=e-g|0;d=e;c=1;break g}g=d;d=d+1|0;h=1;c=1}e=d+c|0;if(f>>>0>e>>>0){continue}break}d=k;e=h}c=d;d=g+1>>>0>j+1>>>0;h=d?e:c;l=d?g:j;m=l+1|0;h:{if(pj(b,h+b|0,m)){d=(l^-1)+f|0;h=(d>>>0>>0?l:d)+1|0;n=f-h|0;k=0;break h}n=f-h|0;k=n}p=f-1|0;o=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=qq(a,0,o);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+o|0}e=r[d+p|0];c=f;j:{k:{if(!(q[(i+1024|0)+(e>>>3&28)>>2]>>>e&1)){break k}c=f-q[(e<<2)+i>>2]|0;if(c){c=k?g?c>>>0>>0?n:c:c:c;break k}l:{c=m;e=c>>>0>g>>>0?c:g;j=r[e+b|0];if(j){while(1){if(r[d+e|0]!=(j&255)){break l}e=e+1|0;j=r[e+b|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c-1|0;if(r[c+b|0]==r[d+c|0]){continue}break}c=h;g=k;break j}c=e-l|0}g=0}d=d+c|0;continue}}d=0}ti=i+1056|0;return d}function wK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=x(0);f=ti-16|0;ti=f;d=q[b+92>>2];g=d;h=q[b+88>>2];a:{if(d|h){d=s4(a,h,g,f+12|0);break a}d=Nj(a,q[b>>2],f+12|0)}g=q[f+12>>2];q[c+48>>2]=g;b:{c:{d:{e:{f:{g:{if(!d){d=Sp(a,g,c+56|0);if(d){break g}q[c+64>>2]=b;a=q[f+12>>2];a=xi[q[77510]](q[a>>2],q[a+4>>2])|0;d=q[f+12>>2];g=xi[q[77511]](q[d>>2],q[d+4>>2])|0;d=-1;if(a>>>0>2]|g>>>0>2]){break g}if(o[c+12|0]&1){break f}a=q[b+16>>2];Ii(a,8,c,c+8|0,c+4|0);d=q[c>>2];if(a>>>0>q[c+8>>2]-d>>3>>>0){break e}q[c+4>>2]=d+(a<<3);g=Oi((a|0)!=(a&1073741823)?-1:a<<2);if(a){d=0;while(1){if(t[b+16>>2]<=d>>>0){break d}h=q[b+12>>2]+w(d,12)|0;e=zi(q[h+8>>2]);i=q[c>>2];if(q[c+4>>2]-i>>3>>>0<=d>>>0){break c}i=i+(d<<3)|0;q[i>>2]=e;q[i+4>>2]=wi;e=g+(d<<2)|0;p[e>>1]=q[h>>2];p[e+2>>1]=q[h+4>>2];d=d+1|0;if((a|0)!=(d|0)){continue}break}}e=q[b+24>>2];i=q[b+20>>2];h=q[b+32>>2];d=q[b+36>>2];a=d&-2;a=Oi((a|0)!=(d&1073741822)?-1:a<<2);j=d>>>1|0;if(j){k=x(x(1)/x(e-1>>>0));l=x(x(1)/x(i-1>>>0));d=0;while(1){e=d<<3;u[e+a>>2]=x(l*u[e+h>>2])+x(-.5);e=e|4;u[e+a>>2]=x(k*u[e+h>>2])+x(-.5);d=d+1|0;if((j|0)!=(d|0)){continue}break}}q[c+68>>2]=0;yi(g);yi(a);a=q[b+8>>2];Fi(q[c+16>>2],255,q[c+20>>2]<<2);q[c+36>>2]=-1;q[c+40>>2]=0;q[c+28>>2]=q[c+24>>2];c=c+16|0;cv(c,37,a);d=0;q[f+8>>2]=0;if(a){while(1){if(t[b+8>>2]<=d>>>0){break b}Vq(c,zi(q[q[b+4>>2]+w(d,40)>>2]),wi,f+8|0);d=q[f+8>>2]+1|0;q[f+8>>2]=d;if(a>>>0>d>>>0){continue}break}}d=0;break g}cj(b)}ti=f+16|0;return d}J(59879,59954,493,60010);G()}J(60022,59954,506,60041);G()}J(59824,59836,96,59868);G()}J(60049,59954,479,59868);G()}J(59824,59836,88,59868);G()}function PJ(a){var b=0,c=0,d=0,e=0,f=0;c=ti-48|0;ti=c;f=q[a+152>>2];q[c+24>>2]=0;q[c+28>>2]=0;q[c+40>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;b=c;d=q[a+192>>2];if(!d){d=q[f+8>>2]}q[b+20>>2]=d;Uj(c+24|0,f+120|0,4);Uj(c+24|0,c+20|0,4);d=c;a:{b:{b=q[a+160>>2];if(b){break b}b=q[f+12>>2];if(b){break b}b=0;break a}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);c:{d:{b=q[a+164>>2];if(b){break d}b=q[f+16>>2];if(b){break d}e=0;b=0;break c}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);e:{f:{b=q[a+168>>2];if(b){break f}b=q[f+20>>2];if(b){break f}e=0;b=0;break e}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);g:{h:{b=q[a+172>>2];if(b){break h}b=q[f+24>>2];if(b){break h}e=0;b=0;break g}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);i:{j:{b=q[a+176>>2];if(b){break j}b=q[f+28>>2];if(b){break j}e=0;b=0;break i}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);k:{l:{b=q[a+180>>2];if(b){break l}b=q[f+32>>2];if(b){break l}e=0;b=0;break k}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);m:{n:{b=q[a+184>>2];if(b){break n}b=q[f+36>>2];if(b){break n}e=0;b=0;break m}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);o:{p:{b=q[a+188>>2];if(b){break p}b=q[f+40>>2];if(b){break p}e=0;b=0;break o}e=q[b>>2];b=q[b+4>>2]}q[d+8>>2]=e;q[d+12>>2]=b;Uj(c+24|0,c+8|0,8);b=c+24|0;d=q[a+156>>2];if(!d){d=q[f+4>>2]}Uj(b,d+8|0,8);b=q[a+196>>2];q:{if(!b){b=q[q[a+152>>2]+112>>2];if(!b){break q}}xi[q[77457]](c+24|0,b)}d=q[a+148>>2];if(d){Us(d,c+24|0)}q[a+144>>2]=Bn(c+24|0);o[a+204|0]=r[a+204|0]&251;ti=c+48|0}function JP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ti+ -64|0;ti=f;b=q[q[a+68>>2]+1120>>2];q[f+60>>2]=0;d=dD(a);a:{if(d){break a}b=q[b+16>>2]-1|0;b:{if(b>>>0<=9){b=q[(b<<2)+176008>>2];break b}b=0}if(!b){q[a+4>>2]=q[a+4>>2]+1;d=0;break a}c:{if(q[a+232>>2]){d:{e:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break e}}c=q[q[a>>2]+84>>2];if(c){break e}b=0;break d}b=q[c>>2]}if(b){break c}}q[a+4>>2]=q[a+4>>2]+1;d=0;break a}f:{g:{b=q[a+68>>2];if(b){d=q[b+452>>2];if(d){break g}}d=q[q[a>>2]+84>>2];if(d){break g}b=0;break f}b=q[d+4>>2]}if(!b){d=-30208;break a}xi[q[q[a+68>>2]+1108>>2]](a,f);h:{if(q[a+20>>2]!=3){d=4;i:{j:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break j}}c=q[q[a>>2]+84>>2];if(c){break j}b=0;break i}b=q[c+4>>2]}k:{if(!b){break k}b=q[b>>2];if(!b){break k}e=xi[q[b+12>>2]](4)|0}if(!e){c=36;d=0;b=f;break h}c=20;b=f+16|0;break h}d=q[q[q[a+68>>2]+1120>>2]+12>>2]==7;o[q[a+204>>2]+4|0]=d?5:4;l:{m:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break m}}c=q[q[a>>2]+84>>2];if(c){break m}b=0;break l}b=q[c+4>>2]}n:{if(!b){break n}c=q[b>>2];if(!c){break n}e=xi[q[c+12>>2]](1)|0}o:{if(!e){c=0;p:{if(!b){break p}b=q[b>>2];if(!b){break p}c=xi[q[b+12>>2]](4)|0}b=c?3:0;break o}b=1}o[q[a+204>>2]+5|0]=b;d=d?7:6;c=0;g=2;b=f}q:{r:{e=q[a+68>>2];if(e){e=q[e+452>>2];if(e){break r}}e=q[q[a>>2]+84>>2];if(e){break r}h=0;break q}h=q[e+4>>2]}e=b;b=q[a>>2];d=UU(h,d,e,c,(q[a+204>>2]+g|0)+6|0,f+60|0,q[b+24>>2],q[b+28>>2]);if(d){break a}o[q[a+204>>2]+(g|4)|0]=q[f+60>>2]>>>8;o[q[a+204>>2]+(g|5)|0]=q[f+60>>2];b=q[f+60>>2];q[a+208>>2]=22;q[a+212>>2]=(b+g|0)+6;o[q[a+204>>2]]=15;q[a+4>>2]=q[a+4>>2]+1;d=rq(a)}ti=f- -64|0;return d}function Rma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=ti-32|0;ti=e;a:{g=q[a+8>>2];b=q[g>>2];if((b|0)!=q[g+4>>2]){while(1){c=w(h,28)+b|0;b=r[c+24|0];b:{if((b&3)!=3){break b}f=q[c+8>>2];c:{if(!f){d=0;break c}b=q[g+32>>2];q[e+28>>2]=c;q[e+24>>2]=b;d=Fs(f,131,e+24|0,1e4);if((d|0)==-17){break b}b=r[c+24|0]}o[c+24|0]=b&254;f=q[q[a+12>>2]+4>>2];b=0;d:{if(!f){break d}b=q[f+120>>2]}f=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[c+12>>2]);bj(b,-1e4,q[c+16>>2]);Qi(b,-1);jk(b);if(!Dy(b)){Ci(b,-3);Ai(4,30266,30693,0);o[c+24|0]=r[c+24|0]&254;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((f|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(30787,30808,372,30862);G()}if(q[c+12>>2]==-2){Ci(b,-3);Ai(4,30266,30875,0);o[c+24|0]=r[c+24|0]&254;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((f|0)==q[b+8>>2]-q[b+12>>2]>>4){break b}J(30787,30808,380,30862);G()}bj(b,-1e4,q[c+20>>2]);i=q[b+8>>2];q[i+8>>2]=1;q[i>>2]=!d;q[b+8>>2]=q[b+8>>2]+16;Vl(b,3,0);o[c+24|0]=r[c+24|0]&254;d=q[c+12>>2];if((d|0)!=-2){Aj(b,-1e4,d);Aj(b,-1e4,q[c+16>>2]);Aj(b,-1e4,q[c+20>>2]);q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+20>>2]=-2}d=q[c+8>>2];if(d){An(d);q[c+8>>2]=0}if((f|0)!=q[b+8>>2]-q[b+12>>2]>>4){break a}}h=h+1|0;b=q[g>>2];if(h>>>0<(q[g+4>>2]-b|0)/28>>>0){continue}break}}a=q[g+24>>2];q[74820]=a+q[74820];q[e+16>>2]=a;q[e+20>>2]=0;q[e+8>>2]=a;q[e+12>>2]=0;ti=e+32|0;return 0}J(30787,30808,388,30862);G()}function Kx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=ti-80|0;ti=h;while(1){d=q[a+12>>2]+(c<<4)|0;e=d-16|0;j=d+16|0;a:{b:{c:{d:{if(q[d-8>>2]-3>>>0>1){break d}g=j-16|0;switch(q[j-8>>2]-3|0){case 1:break b;case 0:break c;default:break d}}d=j-16|0;e:{f=Pk(a,e,15);if(!q[f+8>>2]){f=Pk(a,d,15);if(!q[f+8>>2]){break e}}j=q[a+32>>2];i=q[f+4>>2];g=q[a+8>>2];q[g>>2]=q[f>>2];q[g+4>>2]=i;q[g+8>>2]=q[f+8>>2];g=q[e+4>>2];f=q[a+8>>2];q[f+16>>2]=q[e>>2];q[f+20>>2]=g;q[f+24>>2]=q[e+8>>2];g=q[d+4>>2];f=q[a+8>>2];q[f+32>>2]=q[d>>2];q[f+36>>2]=g;q[f+40>>2]=q[d+8>>2];g=q[a+8>>2];if((q[a+28>>2]-g|0)<=48){vk(a,3);g=q[a+8>>2]}q[a+8>>2]=g+48;El(a,g,1);d=q[a+8>>2]-16|0;q[a+8>>2]=d;f=q[d+4>>2];e=q[a+32>>2]+(e-j|0)|0;q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+8>>2]=q[d+8>>2];d=2;break a}NX(a,e,d);d=2;break a}v[h+32>>3]=v[g>>3];ut(h+48|0,137649,h+32|0);d=Jj(a,h+48|0,Ui(h+48|0));q[g+8>>2]=4;q[g>>2]=d}f=q[q[g>>2]+12>>2];if(f){d=1;f:{if((b|0)<=1){break f}while(1){g:{h:{e=g-(d<<4)|0;switch(q[e+8>>2]-3|0){case 1:break g;case 0:break h;default:break f}}v[h+16>>3]=v[e>>3];ut(h+48|0,137649,h+16|0);i=Jj(a,h+48|0,Ui(h+48|0));q[e+8>>2]=4;q[e>>2]=i}e=q[q[e>>2]+12>>2];if(e>>>0>=-3-f>>>0){Hk(a,137695,0)}f=e+f|0;d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b}g=0;f=hs(a,q[a+16>>2]+52|0,f);e=d;while(1){k=q[j-(e<<4)>>2];i=q[k+12>>2];Gi(f+g|0,k+16|0,i);g=g+i|0;i=(e|0)>1;e=e-1|0;if(i){continue}break}e=Jj(a,f,g);f=j-(d<<4)|0;q[f+8>>2]=4;q[f>>2]=e;break a}d=2;if(q[e+8>>2]!=3){break a}v[h>>3]=v[e>>3];ut(h+48|0,137649,h);f=Jj(a,h+48|0,Ui(h+48|0));q[e+8>>2]=4;q[e>>2]=f}d=d-1|0;c=c-d|0;b=b-d|0;if((b|0)>1){continue}break}ti=h+80|0}function Rfa(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;b=ti-112|0;ti=b;f=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[63924],b+76|0)){break a}c=q[q[a+32>>2]+8>>2];q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=-1;q[b+64>>2]=0;q[b+68>>2]=0;q[b+48>>2]=0;q[b>>2]=0;q[b+4>>2]=0;f=wK(q[a>>2],q[b+76>>2],b);b:{if(!f){d=q[c+48>>2];if(d){Pi(q[a>>2],d)}d=q[c+64>>2];if(d){cj(d)}q[c+64>>2]=q[b+64>>2];q[c+48>>2]=q[b+48>>2];d=q[b>>2];q[b>>2]=q[c>>2];q[c>>2]=d;d=q[b+4>>2];q[b+4>>2]=q[c+4>>2];q[c+4>>2]=d;d=q[b+8>>2];q[b+8>>2]=q[c+8>>2];q[c+8>>2]=d;d=r[b+12|0];o[b+12|0]=o[c+12|0]&1|d&254;o[c+12|0]=r[c+12|0]&254|d&1;q[c+68>>2]=q[b+68>>2];d=q[b+44>>2];g=q[b+40>>2];q[b+104>>2]=g;q[b+108>>2]=d;h=q[b+36>>2];i=q[b+32>>2];q[b+96>>2]=i;q[b+100>>2]=h;j=q[b+28>>2];k=q[b+24>>2];q[b+88>>2]=k;q[b+92>>2]=j;l=q[b+20>>2];m=q[b+16>>2];q[b+80>>2]=m;q[b+84>>2]=l;e=q[c+44>>2];q[b+40>>2]=q[c+40>>2];q[b+44>>2]=e;e=q[c+36>>2];q[b+32>>2]=q[c+32>>2];q[b+36>>2]=e;e=q[c+28>>2];q[b+24>>2]=q[c+24>>2];q[b+28>>2]=e;e=q[c+20>>2];q[b+16>>2]=q[c+16>>2];q[b+20>>2]=e;q[c+40>>2]=g;q[c+44>>2]=d;q[c+32>>2]=i;q[c+36>>2]=h;q[c+24>>2]=k;q[c+28>>2]=j;q[c+16>>2]=m;q[c+20>>2]=l;q[q[a+32>>2]+16>>2]=(((q[a+24>>2]+q[c+8>>2]|0)-q[c>>2]|0)+w(q[c+32>>2]-q[c+24>>2]>>4,12)|0)+72;break b}c=q[b+48>>2];if(c){Pi(q[a>>2],c)}a=q[b+64>>2];if(a){cj(a)}if(!q[b+68>>2]){break b}}c:{if(o[b+44|0]&1){break c}a=q[b+24>>2];if(a){yi(a)}a=q[b+16>>2];if(!a){break c}yi(a)}if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}yi(a)}ti=b+112|0;return f|0}function CX(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=ti-32|0;ti=g;q[g+24>>2]=-1;q[g+28>>2]=-1;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=5;a:{b:{switch(b|0){case 0:if(!(q[c+20>>2]==-1?!(q[c>>2]!=5|q[c+16>>2]!=-1):0)){cn(a,c)}Co(a,18,c,g+8|0);break a;case 1:tm(a,c);c:{d:{e:{switch(q[c>>2]-1|0){case 0:case 2:q[c>>2]=2;break c;case 1:case 3:case 4:q[c>>2]=3;break c;case 9:b=q[c+8>>2];e=q[q[a>>2]+12>>2]+(b<<2)|0;f:{if((b|0)>=1){d=e-4|0;b=q[d>>2];if(o[(b&63)+136048|0]<0){break f}}b=q[e>>2];d=e}q[d>>2]=b&-16321|!(b&16320)<<6;break c;case 10:f=q[a+36>>2];d=f+1|0;e=q[a>>2];g:{if((f|0)=249){Dj(q[a+12>>2],136502);e=q[a>>2];b=q[a+36>>2]+1|0}o[e+75|0]=d}q[a+36>>2]=b;Xv(a,c,b-1|0);if(q[c>>2]!=12){break d}break;case 11:break e;default:break c}}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}b=Qk(a,q[c+8>>2]<<23|19,q[q[a+12>>2]+8>>2]);q[c>>2]=11;q[c+8>>2]=b}b=q[c+20>>2];f=q[c+16>>2];q[c+20>>2]=f;q[c+16>>2]=b;if((f|0)!=-1){h=q[q[a>>2]+12>>2];while(1){b=(f<<2)+h|0;h:{if((f|0)>=1){e=b-4|0;d=q[e>>2];if(o[(d&63)+136048|0]<0){break h}}d=q[b>>2];e=b}if((d&63)==27){q[e>>2]=d&8372224|d>>>17&32704|26}b=(q[b>>2]>>>14|0)-131071|0;f=(b|0)==-1?-1:(b+f|0)+1|0;if((f|0)!=-1){continue}break}b=q[c+16>>2]}if((b|0)==-1){break a}c=q[q[a>>2]+12>>2];while(1){a=c+(b<<2)|0;i:{if((b|0)>=1){e=a-4|0;d=q[e>>2];if(o[(d&63)+136048|0]<0){break i}}d=q[a>>2];e=a}if((d&63)==27){q[e>>2]=d&8372224|d>>>17&32704|26}a=(q[a>>2]>>>14|0)-131071|0;b=(a|0)==-1?-1:(a+b|0)+1|0;if((b|0)!=-1){continue}break}break a;case 2:break b;default:break a}}cn(a,c);Co(a,20,c,g+8|0)}ti=g+32|0}function tma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0);c=ti-96|0;ti=c;g=q[a+8>>2];h=q[q[a+12>>2]>>2];a:{b:{c:{d=q[a+16>>2];e=q[d+64>>2];b=q[60261];f=q[d+68>>2];b=(e|0)==q[b+8>>2]&(f|0)==q[b+12>>2];if(!b){i=q[60262];if(q[i+8>>2]!=(e|0)|q[i+12>>2]!=(f|0)){break c}}d=r[h+24|0];if(d&2){b=0;if(r[g+17|0]){break b}b=0;break b}o[h+24|0]=d&251|b<<2;b=0;break b}b=q[63112];if((e|0)==q[b+8>>2]&(f|0)==q[b+12>>2]){b=0;if(r[g+17|0]){break b}b=0;break b}b=q[63383];if((e|0)==q[b+8>>2]&(f|0)==q[b+12>>2]){u[c+64>>2]=u[c+48>>2];d=q[c+56>>2];q[c+68>>2]=q[c+52>>2];q[c+72>>2]=d;j=u[c+52>>2];k=u[c+48>>2];u[c+88>>2]=u[c+56>>2];u[c+84>>2]=j;u[c+80>>2]=k;a=q[a+16>>2];b=a+32|0;d=a;a=q[63404];a=fk(b,d,q[a+8>>2],q[a+12>>2],0,a,c- -64|0,32);b=0;if(!a){break b}q[c>>2]=q[q[63404]+4>>2];q[c+4>>2]=a;Ai(4,33031,33351,c);b=-1e3;break b}a=q[63458];if((e|0)==q[a+8>>2]&(f|0)==q[a+12>>2]){if(r[g+17|0]){Ai(4,33031,33395,0);b=-1e3;break b}a=q[h>>2];if(q[a+160>>2]>=0){Ai(4,33031,33444,0);b=-1e3;break b}a=q[a+136>>2];if(!(t[d+104>>2]>2]?t[d+100>>2]<(q[a+32>>2]&2147483647)>>>0:0)){Ai(4,33031,33514,0);b=-1e3;break b}d:{e=q[d+108>>2];if((e|0)==-1){break d}a=q[a>>2];if(e>>>0>2]-q[a>>2]>>3>>>0){break d}Ai(4,33031,33559,0);b=-1e3;break b}a=r[d+120|0]<<2&4|(r[d+116|0]<<1&2|o[d+112|0]&1);o[c+39|0]=a;o[c+40|0]=a;q[c+20>>2]=q[d+96>>2];q[c+16>>2]=e;Ai(4,33031,33615,c+16|0);b=-1e3;break b}d=0;a=q[63480];b=d;if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(f|0)){break b}if(r[g+17|0]){break a}if(q[q[h>>2]+160>>2]>=0){Ai(4,33031,33720,0);d=-1e3}b=d}d=b;ti=c+96|0;return d|0}J(33668,33206,1199,33691);G()}function kba(a){a=a|0;var b=0,c=0,d=x(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,r=0;b=ti-288|0;ti=b;r=Zi(b+264|0,a,0,196298,1066);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+260|0);a:{if(zn(a,2)){h=Zk(a,2);i=wi;break a}h=zi(Wi(a,2,0));i=wi}if(!LI(h,i)){q[b+48>>2]=zs(a,2,b+128|0);Bi(a,196469,b+48|0)}b:{if(Bj(a,3)){d=x(xj(a,3));u[b+140>>2]=d;u[b+136>>2]=d;u[b+132>>2]=d;u[b+128>>2]=d;break b}c=vm(a,3);if(c){Eba(b+112|0,e,q[b+260>>2],h,i);f=q[c+4>>2];g=q[c>>2];d=u[c+8>>2];u[b+140>>2]=u[b+124>>2];u[b+136>>2]=d;q[b+128>>2]=g;q[b+132>>2]=f;break b}c=am(a,3);u[b+128>>2]=u[c>>2];u[b+132>>2]=u[c+4>>2];u[b+136>>2]=u[c+8>>2];u[b+140>>2]=u[c+12>>2]}c:{d:{e:{if(Bj(a,4)){g=Xi(a,4);c=0;if((g|0)<42){break e}a=Bi(a,196493,0);break c}if(!EF(a,4)){break d}l=QF(a,4);bj(a,-1e4,q[e+8>>2]);Qi(a,4);j=kk(a,-2);Ci(a,-2);m=1402;g=41;c=e}n=Ri(a,5);f:{if(Bj(a,6)){d=x(xj(a,6));if((Ei(a,7)|0)!=6){k=-2;break f}o=Wn(a,7);bj(a,-1e4,q[e+8>>2]);Qi(a,1);k=un(a,-2);Ci(a,-2);break f}k=-2;d=x(0);if((Ei(a,6)|0)==-1){break f}wk(a,6,196575)}f=0;g:{if(!Bj(a,8)){break g}f=Xi(a,8)}p=q[b+260>>2];if(!o){q[b+96>>2]=m;q[b+104>>2]=j;q[b+16>>2]=j;q[b+100>>2]=c;a=q[b+100>>2];q[b+8>>2]=q[b+96>>2];q[b+12>>2]=a;q[b+92>>2]=l;q[b+88>>2]=g;a=q[b+92>>2];q[b>>2]=q[b+88>>2];q[b+4>>2]=a;eJ(e,p,h,i,b+128|0,b,f,x(n),d,0,0,0);a=0;break c}q[b+72>>2]=m;q[b+80>>2]=j;q[b+40>>2]=j;q[b+76>>2]=c;a=q[b+76>>2];q[b+32>>2]=q[b+72>>2];q[b+36>>2]=a;q[b+68>>2]=l;q[b+64>>2]=g;a=q[b+68>>2];q[b+24>>2]=q[b+64>>2];q[b+28>>2]=a;eJ(e,p,h,i,b+128|0,b+24|0,f,x(n),d,1403,o,k);a=0;break c}a=Bi(a,196517,0)}Yi(r);ti=b+288|0;return a|0}function Nja(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;b=ti-160|0;ti=b;h=Zi(b+136|0,a,0,60730,601);o=Xn(a,1,1,0);l=Xn(a,3,1,0);m=Xi(a,2);p=Xi(a,4);i=Xi(a,5);a:{if((i|0)<=0){q[b>>2]=i;c=sj(h,62254,b);break a}_p(o,b+132|0);_p(l,b+128|0);a=q[b+132>>2];if((a|0)<(i+m|0)){q[b+24>>2]=i;q[b+20>>2]=m;q[b+16>>2]=a;c=sj(h,62283,b+16|0);break a}if(q[b+128>>2]<(i+p|0)){q[b+40>>2]=i;q[b+36>>2]=m;q[b+32>>2]=a;c=sj(h,62380,b+32|0);break a}RA(l,b+124|0);a=q[b+124>>2];j=b-w(a,96)|0;ti=j;if(!a){break a}while(1){k=c<<1;d=w(k|1,48)+j|0;QA(l,c,d+8|0);g=q[d+12>>2];a=g;f=w(c,96)+j|0;n=f+36|0;e=q[d+8>>2];f=gt(o,e,a,f+16|0,f+28|0,n,f+32|0);if(f){if((f|0)==6){q[b+64>>2]=Mi(e,a);c=sj(h,62476,b- -64|0);break a}a=b;if(f>>>0<=11){g=q[(f<<2)+273520>>2]}else{g=148526}q[a+48>>2]=g;c=sj(h,62539,b+48|0);break a}f=d+36|0;gt(l,e,a,d+16|0,d+28|0,f,d+32|0);k=w(k,48)+j|0;g=k;nr(o,e,a,k+40|0,n);nr(l,e,a,d+40|0,f);if(q[k+40>>2]!=q[d+40>>2]){i=Mi(e,a);a=q[g+40>>2];b:{if(a>>>0<=8){a=q[(a<<2)+273568>>2];break b}a=148710}g=b;d=q[d+40>>2];c:{if(d>>>0<=8){e=q[(d<<2)+273568>>2];break c}e=148710}q[g+120>>2]=e;q[b+116>>2]=a;q[b+112>>2]=i;c=sj(h,62601,b+112|0);break a}if(q[n>>2]!=q[f>>2]){a=Mi(e,a);c=q[n>>2];q[b+104>>2]=q[f>>2];q[b+100>>2]=c;q[b+96>>2]=a;c=sj(h,62671,b+96|0);break a}c=c+1|0;a=q[b+124>>2];if(c>>>0>>0){continue}break}c=0;if(!a){break a}a=0;while(1){e=w(a,96)+j|0;d=q[e+36>>2];g=e;e=a<<1;if(dK(g,w(d,m),w(e|1,48)+j|0,w(d,p),w(d,i))){a=a+1|0;if(a>>>0>2]){continue}break a}break}q[b+80>>2]=q[(w(e,48)+j|0)+40>>2];c=sj(h,62224,b+80|0)}Yi(h);ti=b+160|0;return c|0}function aS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-1248|0;ti=d;f=Dl(a,1,140715,0);c=d;a:{if((Ei(a,2)|0)<=0){b=_(0)|0;break a}g=Ri(a,2);if(y(g)<2147483648){b=~~g;break a}b=-2147483648}q[c+1244>>2]=b;b:{c:{if(r[f|0]==33){f=f+1|0;c=ri(d+1244|0,972016)|0;break c}c=tE(d+1244|0)}if(!c){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;break b}if(!nj(f,140718)){gj(a,0,9);e=q[c>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140721);e=q[c+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140725);e=q[c+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140729);e=q[c+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140734);e=q[c+16>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140738);e=q[c+20>>2]+1900|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140744);e=q[c+24>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140749);e=q[c+28>>2]+1|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140754);b=q[c+32>>2];if((b|0)<0){break b}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,140759);break b}o[d+1243|0]=0;o[d+1241|0]=37;b=d+200|0;q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;e=d+1236|0;while(1){d:{a=r[f|0];e:{if((a|0)!=37){if(a){break e}gm(d+200|0);break b}b=r[f+1|0];if(b){break d}}b=q[d+200>>2];if(e>>>0<=b>>>0){Yk(d+200|0);b=q[d+200>>2];a=r[f|0]}q[d+200>>2]=b+1;o[b|0]=a;f=f+1|0;continue}o[d+1242|0]=b;bn(d+200|0,d,eb(d|0,200,d+1241|0,c|0)|0);f=f+2|0;continue}}ti=d+1248|0;return 1}function JB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=ti-96|0;ti=g;i=q[63242];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+3216>>2];k=q[f+3220>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=zo(b,e,h);if(b){q[g+16>>2]=q[q[63242]+4>>2];q[g+20>>2]=b;Ai(4,33031,34724,g+16|0)}a=fk(g- -64|0,g+32|0,l,m,0,i,a,128);if(a){q[g>>2]=q[q[63242]+4>>2];q[g+4>>2]=a;Ai(4,33031,34782,g)}ti=g+96|0}function KB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=ti-96|0;ti=g;i=q[63154];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+3216>>2];k=q[f+3220>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=zo(b,e,h);if(b){q[g+16>>2]=q[q[63154]+4>>2];q[g+20>>2]=b;Ai(4,33031,34724,g+16|0)}a=fk(g- -64|0,g+32|0,l,m,0,i,a,48);if(a){q[g>>2]=q[q[63154]+4>>2];q[g+4>>2]=a;Ai(4,33031,34782,g)}ti=g+96|0}function Bt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=ti-96|0;ti=g;i=q[63282];f=i;l=q[f+8>>2];m=q[f+12>>2];h=g+88|0;f=h;q[f>>2]=0;q[f+4>>2]=0;q[g+80>>2]=0;q[g+84>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;q[g+64>>2]=0;q[g+68>>2]=0;f=g- -64|0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;f=g;q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+56|0]=0;o[f+57|0]=0;o[f+58|0]=0;o[f+59|0]=0;o[f+60|0]=0;o[f+61|0]=0;o[f+62|0]=0;o[f+63|0]=0;o[f+48|0]=0;o[f+49|0]=0;o[f+50|0]=0;o[f+51|0]=0;o[f+52|0]=0;o[f+53|0]=0;o[f+54|0]=0;o[f+55|0]=0;o[f+40|0]=0;o[f+41|0]=0;o[f+42|0]=0;o[f+43|0]=0;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=0;o[f+47|0]=0;f=q[q[b+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}j=q[f+3216>>2];k=q[f+3220>>2]}q[g+48>>2]=c;q[g+52>>2]=d;q[g+80>>2]=c;q[g+84>>2]=d;c=q[g+44>>2];q[g+72>>2]=q[g+40>>2];q[g+76>>2]=c;c=q[g+60>>2];q[h>>2]=q[g+56>>2];q[h+4>>2]=c;q[g+32>>2]=j;q[g+36>>2]=k;q[g+64>>2]=j;q[g+68>>2]=k;b=zo(b,e,h);if(b){q[g+16>>2]=q[q[63282]+4>>2];q[g+20>>2]=b;Ai(4,33031,34724,g+16|0)}a=fk(g- -64|0,g+32|0,l,m,0,i,a,40);if(a){q[g>>2]=q[q[63282]+4>>2];q[g+4>>2]=a;Ai(4,33031,34782,g)}ti=g+96|0}function Pja(a,b){a=a|0;b=b|0;var c=0,d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=0,m=x(0),n=x(0),o=x(0),s=x(0),t=x(0),v=0;b=ti-144|0;ti=b;a:{g=q[a+8>>2];d=q[g+8>>2];a=q[g+4>>2];c=d-a|0;if(!c){break a}if((a|0)!=(d|0)){d=a-d|0;d=((c|0)<(d|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);v=c>>>0>1?c:1;c=0;while(1){a=q[(c<<2)+a>>2];b:{if((r[a+166|0]&3)!=3){break b}d=wJ(a);p[a+164>>1]=d;if(!(d&65535)){break b}i=u[a+28>>2];h=u[a+24>>2];e=u[a+20>>2];f=u[a+16>>2];q[b+124>>2]=0;q[b+108>>2]=0;q[b+92>>2]=0;j=x(f+f);n=x(x(1)-x(f*j));m=x(e+e);o=x(e*m);u[b+120>>2]=n-o;k=e;e=x(h+h);k=x(k*e);j=x(j*i);u[b+116>>2]=k-j;s=x(f*e);t=x(m*i);u[b+112>>2]=s+t;u[b+104>>2]=k+j;h=x(h*e);u[b+100>>2]=n-h;f=x(f*m);e=x(i*e);u[b+96>>2]=f-e;u[b+88>>2]=s-t;u[b+84>>2]=f+e;u[b+80>>2]=x(x(1)-o)-h;d=q[a+4>>2];l=q[a>>2];f=u[a+8>>2];q[b+140>>2]=1065353216;u[b+136>>2]=f;q[b+128>>2]=l;q[b+132>>2]=d;d=op(q[a+96>>2]);c:{if((q[q[a+96>>2]+136>>2]&512)>>>9|0){Kk(b+16|0,d,b+80|0);break c}Tn(b+16|0,d,b+80|0)}u[a+32>>2]=u[b+16>>2];u[a+36>>2]=u[b+20>>2];u[a+40>>2]=u[b+24>>2];u[a+44>>2]=u[b+28>>2];u[a+48>>2]=u[b+32>>2];u[a+52>>2]=u[b+36>>2];u[a+56>>2]=u[b+40>>2];u[a+60>>2]=u[b+44>>2];u[a- -64>>2]=u[b+48>>2];u[a+68>>2]=u[b+52>>2];u[a+72>>2]=u[b+56>>2];u[a+76>>2]=u[b+60>>2];f=u[b+72>>2];e=u[b+68>>2];i=u[b+64>>2];u[a+92>>2]=u[b+76>>2];u[a+88>>2]=f;u[a+84>>2]=e;u[a+80>>2]=i}a=q[g+4>>2];l=q[g+8>>2]-a>>2;c=c+1|0;if((v|0)==(c|0)){break a}if(c>>>0>>0){continue}break}}J(50672,50529,479,50661);G()}q[76080]=q[76080]+l;a=q[g+8>>2]-q[g+4>>2]>>2;q[b>>2]=a;q[b+4>>2]=0;q[b+8>>2]=a;q[b+12>>2]=0;ti=b+144|0;return 0}function Wca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=q[b>>2];d=1;a:{if((e|0)!=1){break a}e=1;d=1;if(r[a+156|0]&2){break a}e=0;d=s[b+8>>1]}c=d&65535;f=Ji(c<<2);lc(c|0,f|0);b:{c:{d:{if(r[q[77547]+156|0]&64){c=K()|0;if(c){break d}}c=Fi(Oi(76),0,76);q[c+56>>2]=0;q[c+60>>2]=0;q[c+52>>2]=1;q[c+44>>2]=2;q[c+48>>2]=1;q[c+36>>2]=3;q[c+40>>2]=5;g=c- -64|0;q[g>>2]=0;q[g+4>>2]=0;o[c+71|0]=0;o[c+72|0]=0;o[c+73|0]=0;o[c+74|0]=0;q[c+4>>2]=f;q[c>>2]=e;f=s[b+4>>1];p[c+14>>1]=f;e=s[b+6>>1];p[c+16>>1]=e;g=s[b+8>>1];p[c+12>>1]=d;p[c+18>>1]=g;d=s[b+10>>1];e:{if(!d){p[c+20>>1]=f;break e}p[c+20>>1]=d;e=s[b+12>>1]}b=0;p[c+26>>1]=0;p[c+24>>1]=0;p[c+22>>1]=e;q[c+8>>2]=0;d=q[a+32>>2];f:{g:{if(!d){e=q[a+24>>2];b=8;break g}e=q[a+24>>2];h:{while(1){if(q[(b<<2)+e>>2]){b=b+1|0;if((d|0)!=(b|0)){continue}break h}break}if((b|0)!=-1){break f}}b=d+8|0;if(b>>>0>65535){break c}}q[a+24>>2]=nl(e,b<<2);q[a+28>>2]=nl(q[a+28>>2],b<<1);b=q[a+24>>2]+(q[a+32>>2]<<2)|0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=q[a+28>>2]+(q[a+32>>2]<<1)|0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;p[b+8>>1]=0;p[b+10>>1]=0;p[b+12>>1]=0;p[b+14>>1]=0;d=q[a+32>>2]+8|0;q[a+32>>2]=d}i:{if(d){e=q[a+24>>2];b=0;while(1){f=e+(b<<2)|0;if(!q[f>>2]){break i}b=b+1|0;if((d|0)!=(b|0)){continue}break}}J(88992,86616,238,89023);G()}d=s[a+36>>1];d=d>>>0>65533?1:d+1|0;p[a+36>>1]=d;p[q[a+28>>2]+(b<<1)>>1]=d;q[f>>2]=c;a=s[a+36>>1]<<16|b;if((a|0)==-1){break b}wi=1;return a|0}Vi(c,89137,2670);J(84254,84160,2670,89137);G()}J(88960,86616,200,88983);G()}J(89027,86616,251,89023);G()}function bO(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=x(0),h=0,i=x(0),j=0,k=x(0),l=0,m=0,n=x(0),p=x(0),s=x(0),t=0,v=0,w=0,z=x(0),B=x(0),E=0,F=0,H=x(0),I=x(0),K=0;h=b;l=q[h+48>>2];v=q[h+52>>2];g=u[h+40>>2];w=q[h+4>>2];m=w+(q[h+44>>2]<<1)|0;o[m|0]=r[m-2|0];m=q[h+44>>2]<<1;o[(m|1)+w|0]=r[(m+w|0)-1|0];s=u[h+32>>2];k=u[h+28>>2];j=q[a+4>>2];t=q[a>>2];z=u[h+20>>2];i=u[h+16>>2];g=x(g*x(+(Pwa(c<<31,c>>>1|0,d)>>>0)+ +(wi>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;m=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;m=0}b:{if(!f){q[b+48>>2]=l;q[b+52>>2]=v;a=q[b+44>>2];d=0;break b}I=x(x(1)/x(f>>>0));n=k;B=x(s-k);k=x(j>>>0);s=x(B/k);p=x(t>>>0);g=x(n+x(s*p));s=x(x(s+g)-g);n=i;i=x(x(z-i)/k);k=x(n+x(i*p));z=x(x(i+k)-k);d=0;a=0;while(1){h=d;j=d<<1;d=j+w|0;t=r[d|0];K=r[d+2|0];i=x(I*x(a|0));p=x(+x(g+x(s*i))*1.5707963267948966);n=xl(p);j=r[(j|1)+w|0];d=r[d+3|0];E=a<<3;F=E+e|0;B=n;n=x(k+x(z*i));i=x(x(+(l>>>0)+ +(v>>>0)*4294967296)*x(4.656612873077393e-10));H=x(x(1)-i);u[F>>2]=u[F>>2]+x(B*x(n*x(x(H*x((-128-t&255)>>>0))+x(i*x((-128-K&255)>>>0)))));p=uk(p);t=(E|4)+e|0;u[t>>2]=u[t>>2]+x(p*x(n*x(x(H*x((-128-j&255)>>>0))+x(i*x((-128-d&255)>>>0)))));d=l;l=c;j=d+l|0;d=v+m|0;d=j>>>0>>0?d+1|0:d;l=j&2147483647;v=0;d=((d&2147483647)<<1|j>>>31)+h|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=l;q[b+52>>2]=v;a=q[b+44>>2];if(h>>>0<=a>>>0){break b}J(205018,204086,983,205105);G()}c=q[b+4>>2];Sk(c,c+(d<<1)|0,a-d<<1);q[b+44>>2]=q[b+44>>2]-d}function rF(a){var b=0,c=0;c=ti-16|0;ti=c;b=167999;a:{b:{c:{switch(a+103|0){case 102:b=168002;break a;case 101:b=168008;break a;case 100:b=168020;break a;case 99:b=168031;break a;case 98:b=168036;break a;case 97:b=168046;break a;case 96:b=168058;break a;case 95:b=168064;break a;case 94:b=168076;break a;case 93:b=168081;break a;case 92:b=168087;break a;case 91:b=168094;break a;case 90:b=168100;break a;case 89:b=168108;break a;case 88:b=168116;break a;case 86:b=168127;break a;case 83:b=168134;break a;case 81:b=168142;break a;case 80:b=168150;break a;case 79:b=168160;break a;case 78:b=168165;break a;case 77:b=168180;break a;case 76:b=168190;break a;case 75:b=168199;break a;case 74:b=168212;break a;case 73:b=168224;break a;case 72:b=168234;break a;case 71:b=168246;break a;case 3:b=168257;break a;case 2:b=168272;break a;case 1:b=168282;break a;case 0:b=168294;break a;default:if((a|0)==-1e3){break b}break;case 103:break a;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: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 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 82:case 84:case 85:case 87:break c}}q[c>>2]=a;Ai(4,168310,168315,c);b=168353;break a}b=168302}ti=c+16|0;return b}function Yka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=0,l=0;c=q[a+80>>2];d=q[c+8>>2];if((d|0)==q[c+4>>2]){jn(45785,45791,d-q[c>>2]>>2);return-1e3}f=P6(c);d=Fi(Oi(256),0,256);b=q[c+16>>2];if(q[c+20>>2]-b>>3>>>0>f>>>0){b=q[b+(f<<3)>>2];e=q[c>>2];if(b>>>0>2]-e>>2>>>0){q[e+(b<<2)>>2]=d;q[d>>2]=q[a>>2];g=q[a+40>>2];h=q[a+44>>2];i=u[a+24>>2];j=q[a+32>>2];k=q[a+36>>2];l=q[a+16>>2];e=q[a+20>>2];q[d+56>>2]=1065353216;b=d;q[b+48>>2]=1065353216;q[b+52>>2]=1065353216;u[b+40>>2]=i;q[b+32>>2]=l;q[b+36>>2]=e;q[b+24>>2]=g;q[b+28>>2]=h;q[b+16>>2]=j;q[b+20>>2]=k;e=q[a+76>>2];q[b+128>>2]=e;o[b+144|0]=0;o[b+145|0]=0;o[b+146|0]=0;o[b+147|0]=0;o[b+148|0]=0;o[b+149|0]=0;o[b+150|0]=0;o[b+151|0]=0;o[b+168|0]=0;o[b+169|0]=0;o[b+170|0]=0;o[b+171|0]=0;o[b+172|0]=0;o[b+173|0]=0;o[b+174|0]=0;o[b+175|0]=0;o[b+160|0]=0;o[b+161|0]=0;o[b+162|0]=0;o[b+163|0]=0;o[b+164|0]=0;o[b+165|0]=0;o[b+166|0]=0;o[b+167|0]=0;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;p[b+252>>1]=s[a+92>>1];q[b+68>>2]=0;q[b+72>>2]=0;q[b+64>>2]=1065353216;q[b+76>>2]=0;q[b+80>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+84>>2]=1065353216;q[b+96>>2]=0;q[b+100>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+104>>2]=1065353216;q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=1065353216;q[b+176>>2]=0;q[b+180>>2]=0;o[b+254|0]=r[b+254|0]&252|1;if(!bK(c,b)){Ai(4,45688,45807,0);Xs(c,f);return-1e3}q[d+132>>2]=0;b=BJ(q[c+96>>2],d,q[e+8>>2],zi(q[q[e>>2]+16>>2]),wi);if(b){Xs(c,f);return b|0}CJ(d,e);o[d+254|0]=r[d+254|0]|8;q[q[a+88>>2]>>2]=f;return 0}}J(46656,46296,479,46535);G()}function Fja(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;b=ti-112|0;c=b;ti=c;j=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{g=Xi(a,1);c:{if((g|0)<=0){q[c>>2]=g;b=Bi(a,61278,c);break c}if((Ei(a,2)|0)!=5){b=Bi(a,61333,0);break c}h=Mk(a,2);if((h|0)<=0){b=Bi(a,61380,0);break c}i=b-(w(h,24)+15&-16)|0;ti=i;Qi(a,2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(rj(a,-2)){while(1){e=Zi(c+88|0,a,0,60730,285);d:{if((Ei(a,-1)|0)!=5){b=c;f=Ei(a,-1);d=135271;e:{if((f|0)==-1){break e}d=q[(f<<2)+267792>>2]}q[b+80>>2]=d;sj(e,61518,c+80|0);break d}Qi(a,-1);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;f:{g:{h:{if(!rj(a,-2)){Ci(a,-2);b=9;break h}d=w(k,24)+i|0;l=d;b=9;while(1){if((Ei(a,-2)|0)!=4){Ci(a,-4);d=Ei(a,-2);b=135271;i:{if((d|0)==-1){break i}b=q[(d<<2)+267792>>2]}q[c+68>>2]=dj(a,-2,0);q[c+64>>2]=b;sj(e,61556,c- -64|0);break d}f=dj(a,-2,0);j:{if(!nj(f,61599)){q[d>>2]=Mj(a,-1);q[d+4>>2]=wi;break j}if(!nj(f,61604)){b=Xi(a,-1);break j}if(nj(f,61609)){break f}o[l+12|0]=Xi(a,-1)}Ci(a,-2);if(rj(a,-2)){continue}break}Ci(a,-2);if(b>>>0<9){break g}}q[c+36>>2]=0;q[c+40>>2]=8;q[c+32>>2]=b;sj(e,61653,c+32|0);break d}q[d+8>>2]=b;break d}Ci(a,-4);q[c+48>>2]=f;sj(e,61615,c+48|0)}Yi(e);Ci(a,-2);k=k+1|0;if(rj(a,-2)){continue}break}}Ci(a,-2);q[c+84>>2]=0;e=Vv(g,i,h&255,c+84|0);if(e){if(q[a+8>>2]-q[a+12>>2]>>4!=(j|0)){break b}b=c;if(e>>>0<=11){d=q[(e<<2)+273520>>2]}else{d=148526}q[b+16>>2]=d;b=Bi(a,61451,c+16|0);break c}q[c+88>>2]=q[c+84>>2];b=1;q[c+92>>2]=1;zy(a,c+88|0);if((j+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}ti=c+112|0;return b|0}J(60709,60730,416,61444);G()}J(61493,60730,423,61444);G()}function oia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),r=x(0);c=ti-128|0;ti=c;g=Zi(c+104|0,a,1,68051,406);q[c+96>>2]=0;q[c+100>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;a:{b:{if(!$l(a,c+72|0)){a=Bi(a,68282,0);break b}Bs(a,q[76920]);e=aj(a,-1);Ci(a,-2);b=q[q[q[Tj(a)+80>>2]+8>>2]>>2];e=q[e+8>>2];if(t[q[b+4>>2]>>2]>e>>>0){e=q[(b+(e<<2)|0)+12>>2]}else{e=0}if(!e){a=sj(g,68339,0);break b}b=kl(a,1);j=u[b+8>>2];k=u[b+4>>2];l=u[b>>2];b=kl(a,2);m=u[b+8>>2];n=u[b+4>>2];r=u[b>>2];mj(a,3,5);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=0;if(rj(a,3)){while(1){d=fK(e,Zk(a,-1),wi);Ci(a,-2);b=b|d;if(rj(a,3)){continue}break}}h=Ei(a,4);if((h|0)==5){Qi(a,4);Ki(a,-1,68433);f=0;c:{if(!Ei(a,-1)){break c}f=(Ej(a,-1)|0)!=0}Ci(a,-2);Ci(a,-2)}d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;Ii(32,64,c+56|0,d,c+56|4);d=GG(c);p[d+40>>1]=b;u[d+16>>2]=r;u[d+8>>2]=j;u[d+4>>2]=k;u[d>>2]=l;u[d+24>>2]=m;u[d+20>>2]=n;p[d+42>>1]=s[d+42>>1]&65534|f;d:{if(o[e+141|0]&1){break d}}d=q[c+56>>2];i=q[c+60>>2];e:{if((d|0)==(i|0)){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;break e}b=0;gj(a,0,0);f=f?i-d>>6:1;if(!f){break e}if((h|0)==5){while(1){gj(a,0,0);d=q[c+56>>2];if(q[c+60>>2]-d>>6>>>0<=b>>>0){break a}QJ(a,e,d+(b<<6)|0);b=b+1|0;bk(a,-2,b);if((b|0)!=(f|0)){continue}break e}}while(1){d=q[c+56>>2];if(q[c+60>>2]-d>>6>>>0<=b>>>0){break a}QJ(a,e,d+(b<<6)|0);b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=1;if(o[c+68|0]&1){break b}e=q[c+56>>2];if(!e){break b}yi(e)}Yi(g);ti=c+128|0;return a|0}J(70418,70362,479,70429);G()} -function fpa(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;a:{if(Ij(q[a+280>>2],3872,a+400|0)){q[c>>2]=3872;mi(5,1031,3906,c);break a}q[q[a+220>>2]+2008>>2]=q[a+400>>2];b:{if(r[a+432|0]){break b}if(!Hj(q[a+4>>2],3943,1)){break b}S3(q[a+280>>2])}d=wm(b,3968,0);if(d){if(Ij(q[a+280>>2],d,c+12|0)){break a}m7(q[a+408>>2],q[c+12>>2]);Di(q[a+280>>2],q[c+12>>2])}d=wm(b,3983,4002);if(Ij(q[a+280>>2],d,a+412|0)){break a}d=wm(b,4029,4046);if(Ij(q[a+280>>2],d,a+420|0)){break a}b=wm(b,4079,4104);e=!Ij(q[a+280>>2],b,a+416|0)}fi=c+16|0;return e}function Vl(a,b,c,d){var e=0,f=0,g=0;e=fi-32|0;fi=e;a:{f=q[a+8>>2]-q[a+12>>2]>>4;if((f|0)>-1){ek(a,b,c);c=q[a+8>>2]-q[a+12>>2]>>4;Vr(a,b);b=mF(a,b);g=q[a+8>>2]-q[a+12>>2]|0;ek(a,0,d);Bi(a,110791,11);Hi(a,c);Wi(a,g>>4);oi(a,-3);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(f|0)){break a}fi=e+32|0;return b}q[e+12>>2]=f;q[e+4>>2]=702;q[e+8>>2]=0;q[e>>2]=110448;mi(4,110525,111068,e);J(111140,110448,1449,111157);G()}q[e+28>>2]=a;q[e+24>>2]=f;q[e+20>>2]=702;q[e+16>>2]=110448;mi(4,110525,111171,e+16|0);J(111242,110448,1472,111261);G()}function rea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Kj(a);c=il(a,2);u[b+64>>2]=u[c>>2];u[b+68>>2]=u[c+4>>2];u[b+72>>2]=u[c+8>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);c=q[61222];Zj(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,16);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(73431,73452,384,73581);G()}fi=b+80|0;return 0}function dga(a){a=a|0;var b=0,c=0,d=0,e=0;c=q[a+4>>2];b=Ci(32);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=HJ(q[a>>2],q[a+12>>2],q[a+16>>2],c,b);if(!c){q[q[a+24>>2]+8>>2]=b;Ip(q[a>>2],471,b);return c|0}e=q[a>>2];a=q[b+28>>2];if(a){Di(e,a)}d=q[b>>2];if((d|0)!=q[b+4>>2]){a=0;while(1){Di(e,q[(a<<2)+d>>2]);a=a+1|0;d=q[b>>2];if(a>>>0>2]-d>>2>>>0){continue}break}}a=q[b+24>>2];if(a){pG(a)}a:{if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}ki(a)}ki(b);return c|0}function Vi(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}b=c;a=0;c:{switch(q[b+8>>2]-2|0){case 5:return q[b>>2]+32|0;case 0:a=q[b>>2];break;default:break c}}return a}function HS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-32|0;fi=b;d=ml(a,124717);e=Ni(a,2,0);f=Ej(e,125165);c=125167;a:{if(!f){break a}c=Ni(a,3,0)}g=d+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=2;q[b>>2]=0;q[b+4>>2]=0;h=q[d+32>>2];q[b+4>>2]=h;b:{c:{if(f){c=Ex(d,d+32|0,e,c,g,b);if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,c);a=2;break b}hp(a,124685,1);break c}aZ(d,h,g);hp(a,124700,1)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=b+32|0;return a|0}function m2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=0,i=0,j=0,k=0;f=Ai(a,1);g=Ai(a,2);h=Ai(a,3);i=Ai(a,4);j=Ai(a,5);k=Ai(a,6);b=bj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;d=x(g);e=x(f);c=x(x(1)/x(d-e));u[b>>2]=c+c;q[b+24>>2]=0;q[b+28>>2]=0;q[b+60>>2]=1065353216;u[b+48>>2]=c*x(-x(e+d));q[b+44>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;d=x(i);e=x(h);c=x(x(1)/x(d-e));u[b+20>>2]=c+c;q[b+32>>2]=0;q[b+36>>2]=0;u[b+52>>2]=c*x(-x(e+d));d=x(j);e=x(k);c=x(x(1)/x(d-e));u[b+56>>2]=x(d+e)*c;u[b+40>>2]=c+c;zi(a,-1e4,120704);aj(a,-2);return 1}function R7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(113563,113453,337,113557);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(113587,113453,363,113557);G()}J(113536,113453,331,113557);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function gl(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=Zr(q[c>>2],q[a+8>>2]-16|0);c=q[b+4>>2];a=q[a+8>>2]-16|0;q[a>>2]=q[b>>2];q[a+4>>2]=c;q[a+8>>2]=q[b+8>>2]}function Om(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-576|0;fi=d;q[d+572>>2]=c;b=Yp(d+48|0,512,b,c);a:{if((b|0)<=511){c=Ei(q[a+64>>2],q[a+68>>2]);e=_m(q[a>>2],q[a+4>>2]);f=Ei(q[a+16>>2],q[a+20>>2]);g=Ei(q[a+24>>2],q[a+28>>2]);h=_m(q[a+32>>2],q[a+36>>2]);i=Ei(q[a+48>>2],q[a+52>>2]);q[d+40>>2]=Ei(q[a+56>>2],q[a+60>>2]);q[d+36>>2]=i;q[d+32>>2]=h;q[d+28>>2]=g;q[d+24>>2]=f;q[d+20>>2]=e;q[d+16>>2]=c;if((cj(b+(d+48|0)|0,512-b|0,32225,d+16|0)+b|0)<511){break a}}mi(4,32271,32279,0)}q[d>>2]=d+48;mi(4,32271,32344,d);fi=d+576|0}function Jpa(a,b,c,d,e){var f=0,g=0,h=0;f=fi-16|0;fi=f;h=2;a:{b:{c:{d:{if((c|0)!=2){break d}if(!Qp(e,f+12|0)){break d}if(!UK(e,q[f+12>>2],f+8|0)){break d}c=q[d+4>>2];if((c&-268435456)==805306368){break c}if((c&264241152)!=50331648){break b}g=q[f+8>>2];e=q[f+12>>2];c=Rpa(b,e);h=0;if(r[a+12|0]){break d}g=si(c,g,e);a=q[a+4>>2]+q[d+12>>2]|0;if(q[a+4>>2]){break a}c=o[b+48|0]&1?g-q[b+32>>2]|0:c;q[a+4>>2]=e;q[a>>2]=c}fi=f+16|0;return h}J(23157,23114,134,23190);G()}J(23631,23114,349,23666);G()}J(23675,23114,359,23666);G()}function nna(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;q[d+12>>2]=0;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[59718],d+12|0)){a:{c=q[d+12>>2];e=q[c+32>>2];if(!e){break a}if(q[c+40>>2]){b=0;while(1){jk(q[a+20>>2],q[q[c+36>>2]+(b<<2)>>2]);c=q[d+12>>2];b=b+1|0;if((e|0)==(b|0)){break a}if(t[c+40>>2]>b>>>0){continue}break}}J(20899,20911,45,20946);G()}e=q[c+128>>2];if(e){c=q[c+124>>2];b=0;while(1){jk(q[a+20>>2],q[c+(b<<2)>>2]);b=b+1|0;if((e|0)!=(b|0)){continue}break}c=q[d+12>>2]}q[q[a+24>>2]>>2]=c;b=0}fi=d+16|0;return b|0}function Vba(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;qi(q[a+96>>2],255,q[a+100>>2]<<2);q[a+116>>2]=-1;q[a+120>>2]=0;q[a+108>>2]=q[a+104>>2];f=q[a+32>>2];e=q[a+36>>2]-f|0;c=(e|0)/576|0;if(e){g=c>>>0>1?c:1;e=a- -64|0;c=0;while(1){d=w(c,576)+f|0;h=d;b=q[a+68>>2];a:{if(!b){break a}d=q[d+488>>2];b=q[q[e>>2]+((d>>>0)%(b>>>0)<<2)>>2];if((b|0)==-1){break a}i=q[a+72>>2];while(1){b=w(b,24)+i|0;if((d|0)!=q[b>>2]){b=q[b+16>>2];if((b|0)!=-1){continue}break a}break}kH(e,d)}q[h+488>>2]=0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function UI(a,b,c,d,e,f){var g=0,h=0;g=fi-16|0;fi=g;q[g+4>>2]=d;h=-4;if(q[a+120>>2]!=q[a+112>>2]-q[a+104>>2]>>4){if(!q[a+340>>2]){q[a+340>>2]=d}q[g+8>>2]=e;q[g+12>>2]=f;e=a- -64|0;f=q[a+88>>2];if((f|0)==((q[a+80>>2]-q[a+72>>2]|0)/24|0)){f=f+8|0;jz(e,(f<<1)/3|0,f)}kz(e,d,g+8|0);um(a+96|0,b,c,g+4|0);e=q[a+32>>2];d=q[a+36>>2]-e|0;a=(d|0)/576|0;if(d){f=a>>>0>1?a:1;a=0;while(1){d=e+w(a,576)|0;if(q[d+480>>2]==(b|0)&q[d+484>>2]==(c|0)){q[d+488>>2]=q[g+4>>2]}a=a+1|0;if((f|0)!=(a|0)){continue}break}}h=0}fi=g+16|0;return h}function x9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=fi-32|0;fi=c;a:{b=Zi(a,1,c+28|0);if(!(r[b+415|0]&8)){d=sm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(c,j,q[c+28>>2],5);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+80>>2]=e;u[b+92>>2]=f;u[b+88>>2]=g;u[b+84>>2]=h;q[b+412>>2]=q[b+412>>2]|2097152}fi=c+32|0;return 0}J(187343,187364,162,187386);G()}function o9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=fi-32|0;fi=c;a:{b=Zi(a,1,c+28|0);if(!(r[b+415|0]&8)){d=sm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(c,j,q[c+28>>2],2);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+32>>2]=e;u[b+44>>2]=f;u[b+40>>2]=g;u[b+36>>2]=h;q[b+412>>2]=q[b+412>>2]|2097152}fi=c+32|0;return 0}J(187343,187364,162,187386);G()}function LG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){f=a;a:{b:{c:{d=r[a|0];if(d){while(1){h=e;c=f;d:{if((d&255)!=35){if((d&255)!=58){break d}f=g|h;e=0;g=c;if(!f){break d}return-5}e=c;if(!h){break d}return-5}f=c+1|0;d=r[c+1|0];if(d){continue}break}if(g){break c}}d=0;break b}d=g-a|0;c=-5;if(d>>>0>63){break a}i=a;a=g+1|0}q[b+8>>2]=a;q[b+4>>2]=d;q[b>>2]=i;c=e+1|0;q[b+16>>2]=e?c:0;q[b+12>>2]=(e?e:f)-a;q[b+20>>2]=e?f-c|0:0;c=0}return c}q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;return 0}function J9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=fi-32|0;fi=c;a:{b=Zi(a,1,c+28|0);if(!(r[b+415|0]&8)){d=sm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(c,j,q[c+28>>2],3);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+48>>2]=e;u[b+60>>2]=f;u[b+56>>2]=g;u[b+52>>2]=h;q[b+412>>2]=q[b+412>>2]|2097152}fi=c+32|0;return 0}J(187343,187364,162,187386);G()}function wG(a,b){var c=0,d=0,e=0,f=0,g=0;c=fi-1024|0;fi=c;e=r[a|0];a:{b:{if(!e){break b}while(1){f=d;d=e;c:{if(!((d|0)!=47?(d|0)!=92:0)){o[c+f|0]=47;while(1){e=r[a|0];if((e|0)==92|(e|0)==47){a=a+1|0;continue}else{d=47;break c}}}o[c+f|0]=d;e=r[a+1|0];a=a+1|0}g=d;d=f+1|0;if(e?f>>>0<=1022:0){continue}break}if(!f){d=1;break b}if((g&255)==47){o[c+f|0]=0}a=1023;if(f>>>0>1021){break a}}a=d}o[a+c|0]=0;d:{if(s[c>>1]==46){break d}a=Rm(c,47);if(a){if((a|0)==(c|0)){break d}o[a|0]=0;break d}o[c|0]=0}kj(b,c,1024);fi=c+1024|0}function uE(a,b,c){var d=0,e=0;d=fi-208|0;fi=d;q[d+76>>2]=128;a:{if((zZ(q[b>>2],d+80|0,d+76|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,Ql(q[240833]));a=2;break a}b=_(d+80|0,q[d+76>>2],d+16|0,46,d+10|0,6,3)|0;if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,ha(b|0)|0);a=2;break a}wi(a,d+16|0);b=mp(d+10|0,0);e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b:{c:{switch(c-2|0){case 0:Bi(a,123630,4);break b;case 8:Bi(a,123635,5);break b;default:break c}}Bi(a,123664,13)}a=3}fi=d+208|0;return a}function Hi(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=c;d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}function kH(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+((b>>>0)%(d>>>0)<<2)|0;c=q[g>>2];if((c|0)==-1){break a}d=0;e=q[a+8>>2];f=e+w(c,24)|0;if(q[f>>2]!=(b|0)){while(1){c=q[(w(c,24)+e|0)+16>>2];if((c|0)==-1){J(27989,27647,363,27959);G()}d=f;f=w(c,24)+e|0;if(q[f>>2]!=(b|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(c,24)+e|0)+16>>2];b:{if(!d){q[g>>2]=b;break b}q[d+16>>2]=b}b=q[a+20>>2];q[a+20>>2]=c;q[(w(c,24)+e|0)+16>>2]=b;return}J(27938,27647,331,27959);G()}J(27965,27647,337,27959);G()} +function Ena(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-160|0;ti=b;g=Zi(b+136|0,a,0,15841,1220);Ti(a);d=Li(a,-1,q[74377],18676);Ci(a,-2);e=q[d+4>>2];q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;$l(a,b+104|0);qk(a,1,b+72|0,b+104|0);d=q[q[e+80>>2]+8>>2];a:{if(!d){break a}d=q[d>>2];if(!d){break a}c=q[d+3216>>2];f=q[d+3220>>2]}b:{if((c|0)!=q[b+72>>2]|(f|0)!=q[b+76>>2]){a=sj(g,16407,0);break b}c=q[q[e+80>>2]+8>>2];d=Vm(c,q[b+88>>2],q[b+92>>2]);if(!d){q[b>>2]=Mi(q[b+88>>2],q[b+92>>2]);a=sj(g,15011,b);break b}c:{if(q[a+8>>2]-q[a+12>>2]>>4<2){break c}if(!Ei(a,2)){break c}qk(a,2,b+72|0,b+104|0);h=Vm(c,q[b+88>>2],q[b+92>>2]);if(!h){q[b+16>>2]=Mi(q[b+88>>2],q[b+92>>2]);a=sj(g,15011,b+16|0);break b}c=0;f=0;e=q[q[e+80>>2]+8>>2];d:{if(!e){break d}e=q[e>>2];if(!e){break d}c=q[e+3216>>2];f=q[e+3220>>2]}if((c|0)==q[b+72>>2]&(f|0)==q[b+76>>2]){break c}a=sj(g,16407,0);break b}q[b+64>>2]=Ej(a,3);a=b;c=b;if(h){f=q[h+100>>2];e=q[h+96>>2]}else{f=0;e=0}q[c+56>>2]=e;q[a+60>>2]=f;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;c=0;f=0;a=q[q[d+80>>2]+8>>2];e:{if(!a){break e}a=q[a>>2];if(!a){break e}c=q[a+3216>>2];f=q[a+3220>>2]}q[b+24>>2]=c;q[b+28>>2]=f;a=q[d+96>>2];c=q[d+100>>2];q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=a;q[b+44>>2]=c;c=q[60260];a=0;if(!fk(0,b+24|0,q[c+8>>2],q[c+12>>2],d,c,b+56|0,16)){break b}a=sj(g,16475,0)}Yi(g);ti=b+160|0;return a|0}function Ira(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=b+2|0;a:{b:{c:{d:{e:{g=b+3&-2;if(g>>>0<=8192){e=q[a+96>>2];if(e){break e}b=0;break d}e=Ji(i);p[e>>1]=8;break a}c=q[a+4>>2];if(c>>>0>=g>>>0){d=a+4|0;break b}f=8;b=1;c=q[a+8>>2];d=c+g|0;if(d>>>0>16384){break d}f=a+8|0;break c}e=q[a+100>>2];if(e){h=1;d=a+16|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}b=f;f=a+20|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}}e=q[a+104>>2];f:{if(e){h=2;d=a+28|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+32|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break f}b=(b|0)==8?2:b}e=q[a+108>>2];g:{if(e){h=3;d=a+40|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+44|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break g}b=(b|0)==8?3:b}e=q[a+112>>2];h:{if(e){h=4;d=a+52|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+56|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break h}b=(b|0)==8?4:b}e=q[a+116>>2];i:{if(e){h=5;d=a- -64|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+68|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break i}b=(b|0)==8?5:b}e=q[a+120>>2];j:{if(e){h=6;d=a+76|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+80|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}break j}b=(b|0)==8?6:b}k:{e=q[a+124>>2];l:{if(e){h=7;d=a+88|0;c=q[d>>2];if(c>>>0>=g>>>0){break b}f=a+92|0;c=q[f>>2];d=c+g|0;if(d>>>0<16385){break c}if((b|0)==8){break k}break l}b=(b|0)==8?7:b}e=Oi(16384);f=w(b,12)+a|0;q[f+8>>2]=g;q[f>>2]=1;q[f+4>>2]=0;p[e>>1]=b;q[((b<<2)+a|0)+96>>2]=e;break a}e=Ji(i);p[e>>1]=8;break a}a=w(h,12)+a|0;q[a>>2]=q[a>>2]+1;q[f>>2]=d;e=e+c|0;p[e>>1]=h;break a}b=c-g|0;q[d>>2]=b;a=w(h,12)+a|0;q[a>>2]=q[a>>2]+1;e=b+e|0;p[e>>1]=h}return e+2|0}function Gp(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=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);f=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);d=r[b|0];c=r[b+3|0]|(r[b+1|0]<<16|d<<24|r[b+2|0]<<8);e=(f>>>4^c)&252645135;b=(e<<4^f)&-269488145|c&269488144;b=(q[(b>>>7&60)+155776>>2]<<2|q[(b<<1&60)+155776>>2]<<3|q[(b>>>15&60)+155776>>2]<<1|q[(b>>>23&60)+155776>>2]|q[(b>>>2&60)+155776>>2]<<7|q[(b>>>10&60)+155776>>2]<<6|q[(b>>>18&60)+155776>>2]<<5|q[(b>>>26&60)+155776>>2]<<4)&268435455;c=c^e;e=(q[(c>>>6&60)+155712>>2]<<2|q[((c&15)<<2)+155712>>2]<<3|q[(c>>>14&60)+155712>>2]<<1|q[(c>>>22&60)+155712>>2]|q[(c>>>3&60)+155712>>2]<<7|q[(c>>>11&60)+155712>>2]<<6|q[(c>>>19&60)+155712>>2]<<5|q[(d>>>3&28)+155712>>2]<<4)&268435455;while(1){c=a;f=b;a:{if(!(!(1<>>0>15)){g=27;i=1;h=268435454;break a}g=26;i=2;h=268435452}d=e<>>g|0;e=j|l;n=e<<10;m=c;c=f<>>g|0;b=f|h;f=f>>>14|0;g=b>>>3|0;q[m>>2]=c&256|(d>>>10&65536|(j<<2&131072|(n&262144|(d>>>1&1048576|(d<<9&2097152|(d<<6&16777216|(e<<18&34078720|(d<<14&134217728|(j<<4&603979776|l<<28&268435456)))))))))|c>>>13&8192|c>>>4&4096|b<<6&2048|c>>>1&1024|f&512|c>>>5&32|c>>>10&16|g&8|c>>>18&4|c>>>26&2|c>>>24&1;m=c>>>21&2;i=c>>>7&32;l=c>>>9&1024;o=c>>>2&8192;p=c&512;c=e<<15;q[a+4>>2]=m|(h<<2&4|(g&17|(i|(b<<7&256|(l|(f&2056|(b<<8&4096|(o|(p|(d>>>4&65536|(d>>>6&262144|(j<<3&524288|(d<<11&1048576|(e<<16&2097152|(j<<1&16777216|(d>>>2&33554432|(e<<22&67108864|(n&134217728|(c&536870912|d<<17&268435456))))))))|c&131072)))))))))));a=a+8|0;k=k+1|0;if((k|0)!=16){continue}break}}function Yia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=0,k=0;b=ti-352|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);d=wi;q[b+92>>2]=0;j=Wi(a,2,b+92|0);k=hp(a,q[76921],c,d,74371);a:{if((e|0)<3){g=x(1e5);h=x(1);c=0;break a}mj(a,3,5);Hi(a,72434);Sj(a,3);g=x(1e5);b:{if(!Ei(a,-1)){break b}if(!Bj(a,-1)){e=b;d=Ei(a,-1);c=135271;c:{if((d|0)==-1){break c}c=q[(d<<2)+267792>>2]}q[e+88>>2]=c;q[b+84>>2]=70448;q[b+80>>2]=72434;hj(b+96|0,256,70463,b+80|0);q[b+64>>2]=b+96;g=x(Bi(a,70520,b- -64|0)|0);break b}g=x(xj(a,-1))}Ci(a,-2);Hi(a,74377);Sj(a,3);h=x(1);d:{if(!Ei(a,-1)){break d}if(!Bj(a,-1)){e=b;d=Ei(a,-1);c=135271;e:{if((d|0)==-1){break e}c=q[(d<<2)+267792>>2]}q[e+56>>2]=c;q[b+52>>2]=70448;q[b+48>>2]=74377;hj(b+96|0,256,70463,b+48|0);q[b+32>>2]=b+96;h=x(Bi(a,70520,b+32|0)|0);break d}h=x(xj(a,-1))}Ci(a,-2);Hi(a,74385);Sj(a,3);i=x(0);f:{if(!Ei(a,-1)){break f}if(!Bj(a,-1)){e=b;d=Ei(a,-1);c=135271;g:{if((d|0)==-1){break g}c=q[(d<<2)+267792>>2]}q[e+24>>2]=c;q[b+20>>2]=70448;q[b+16>>2]=74385;hj(b+96|0,256,70463,b+16|0);q[b>>2]=b+96;i=x(Bi(a,70520,b)|0);break f}i=x(xj(a,-1))}Ci(a,-2);Hi(a,74394);Sj(a,3);c=aw(a,74394,0);Ci(a,-2)}$y(k,j,g,c,h,i,b+96|0);gj(a,0,4);Ni(a,72434,5);f=+u[b+96>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,72440,6);f=+u[b+100>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,74405,10);f=+u[b+104>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,74416,11);f=+u[b+108>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);ti=b+352|0;return 1}function fI(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}if(!r[862340]){return 0}b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}e=q[215584];wj(e);c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215587];d:{if(!c){break d}c=q[q[215586]+((a>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break d}d=q[215588];while(1){f=(c<<4)+d|0;if(q[f>>2]!=(a|0)){c=q[f+12>>2];if((c|0)!=-1){continue}break d}break}if(b){q[b>>2]=s[((c<<4)+d|0)+8>>1]}g=q[((c<<4)+d|0)+4>>2]}qj(e);return g}function Ola(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;g=ti-48|0;ti=g;c=q[a+4>>2];h=q[a+8>>2];q[g+44>>2]=172;q[g+40>>2]=173;q[g+36>>2]=174;q[g+32>>2]=175;a=q[h+52>>2];q[g+20>>2]=0;q[g+16>>2]=c;q[g+8>>2]=a;b=q[c+32>>2];d=q[c+36>>2];a:{if((b|0)==(d|0)){b=d;break a}a=0;while(1){e=q[(a<<2)+b>>2];if((r[e+22|0]&3)==3){b=q[e+8>>2];f=(s[q[e+8>>2]+26>>1]+f|0)+((q[b+232>>2]-q[b+228>>2]|0)/12|0)|0;d=q[c+36>>2];b=q[c+32>>2]}a=a+1|0;if(a>>>0>2>>>0){continue}break}}b:{c:{a=(f<<1)+(f>>>3|0)|0;f=q[c>>2];e=(q[c+8>>2]-f|0)/320|0;if(a>>>0>e>>>0){if(o[c+12|0]&1){break b}Ii(a,320,c,c+8|0,c+4|0);if(o[c+28|0]&1){break b}Ii(a,4,c+16|0,c+24|0,c+20|0);b=q[c+16>>2];if(a>>>0>q[c+24>>2]-b>>2>>>0){break c}q[c+20>>2]=b+(a<<2);Fi(b+(e<<2)|0,0,a-e<<2);d=q[c+36>>2];f=q[c>>2];b=q[c+32>>2]}q[c+4>>2]=f;q[c+60>>2]=q[c+56>>2];if((b|0)!=(d|0)){a=0;while(1){e=q[(i<<2)+b>>2];if((r[e+22|0]&3)==3){f=g;b=q[e+16>>2];if(!b){b=q[q[e+4>>2]+80>>2]}q[f+12>>2]=b;T8(q[e+8>>2],g+32|0,g+8|0);f=ap(q[h+52>>2],((q[c+4>>2]-q[c>>2]|0)/320|0)-a|0);b=Su(q[h+52>>2],176,c);e=s[q[e+8>>2]+354>>1];d=q[c>>2];d:{if((q[c+4>>2]-d|0)/320>>>0<=a>>>0){b=f;break d}j=b<<6;e=e<<16;b=f;while(1){q[b+36>>2]=q[b+36>>2]&-64|32;d=w(a,320)+d|0;k=q[d+304>>2];q[b+28>>2]=a;q[b+16>>2]=d;q[b+20>>2]=0;q[b+24>>2]=e+k;q[b+32>>2]=q[q[d+156>>2]+80>>2];q[b+36>>2]=q[b+36>>2]&-16321|j;b=b+48|0;a=a+1|0;d=q[c>>2];if(a>>>0<(q[c+4>>2]-d|0)/320>>>0){continue}break}}$o(q[h+52>>2],f,b);d=q[c+36>>2];b=q[c+32>>2]}i=i+1|0;if(i>>>0>2>>>0){continue}break}}ti=g+48|0;return 0}J(36578,36330,506,36597);G()}J(36255,36330,493,36386);G()}function Tha(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;f=ti-80|0;ti=f;b=q[a+4>>2];a:{b:{c:{d:{e:{f:{switch(q[a+8>>2]){case 0:q[b+52>>2]=q[b+44>>2];q[b+24>>2]=q[b+20>>2];break e;case 2:a=q[b+44>>2];c=q[b+52>>2];xi[q[77441]](q[b+40>>2],0,0,2);c=c-a|0;xi[q[77441]](q[b+40>>2],c,q[b+44>>2],2);b=(c|0)/20|0;d=(b>>>0)/6|0;q[76102]=d+q[76102];a=f;q[a+64>>2]=d;q[a+68>>2]=0;q[a+24>>2]=d;q[a+28>>2]=0;q[76124]=b+q[76124];q[a+56>>2]=b;q[a+60>>2]=0;q[a+16>>2]=b;q[a+20>>2]=0;q[76146]=c+q[76146];q[a+48>>2]=c;q[a+52>>2]=0;q[a+8>>2]=c;q[a+12>>2]=0;break e;case 1:break f;default:break e}}k=q[a+20>>2];l=q[a>>2];c=q[a+12>>2];h=q[a+16>>2];q[f+72>>2]=0;d=s[(c+w(q[h>>2],48)|0)+16>>1];a=q[b+4>>2];if(d>>>0>=q[b+8>>2]-a>>2>>>0){break d}d=q[a+(d<<2)>>2];if(!(o[d+166|0]&1)){break c}i=q[d+156>>2];g=q[d+152>>2];if(!g){g=q[i>>2]}a=q[b+24>>2];e=q[b+20>>2];j=((a-e|0)/304|0)+1|0;if(j>>>0>(q[b+28>>2]-e|0)/304>>>0){break b}q[b+24>>2]=e+w(j,304);e=q[b+52>>2];q[b+52>>2]=Gja(b,e,g,c,h,k);Qm(a);q[a+148>>2]=q[b+36>>2];c=q[b+40>>2];q[a+224>>2]=1;q[a+144>>2]=c;q[a+280>>2]=(e-q[b+44>>2]|0)/20;q[a+284>>2]=(q[b+52>>2]-e|0)/20;b=a;c=q[d+148>>2];if(!c){c=q[q[d+156>>2]+24>>2]}q[b+156>>2]=c;c=q[g+48>>2];b=q[c+4>>2];q[a+160>>2]=q[c>>2];q[a+164>>2]=b;c=q[d+144>>2];if(c){er(a,c)}c=q[q[i+4>>2]+16>>2];if(c>>>0>=5){break a}o[a+288|0]=r[a+288|0]|1;c=c<<2;q[a+236>>2]=q[c+51036>>2];q[a+232>>2]=q[c+51016>>2];Yn(l,a)}ti=f+80|0;return}J(50672,50529,479,50661);G()}J(50703,49713,632,50720);G()}J(50597,50529,506,50616);G()}q[f+32>>2]=c;Ai(4,5e4,50732,f+32|0);J(50756,49713,683,50720);G()}function kka(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=0,k=x(0),l=x(0),m=0;e=ti-48|0;ti=e;b=q[a+1040>>2];d=q[b+28>>2];c=q[d+16>>2];b=q[b+32>>2];if(b>>>0>2]-c>>3>>>0){h=q[c+(b<<3)>>2];i=q[d>>2];if(h>>>0<(q[d+4>>2]-i|0)/240>>>0){c=q[a+1052>>2];m=c;d=q[a+1048>>2];b=d+1|0;c=b>>>0<1?c+1|0:c;q[a+1048>>2]=b;q[a+1052>>2]=c;b=!m&d>>>0>3|(m|0)!=0;a:{if(!b){c=3;b:{if(b){break b}c:{d:{switch(d-1|0){default:b=i+w(h,240)|0;f=u[b+16>>2];g=u[b+20>>2];k=u[b+24>>2];break c;case 0:c=i+w(h,240)|0;f=u[c+32>>2];l=u[c+44>>2];k=u[c+40>>2];g=u[c+36>>2];c=4;break b;case 1:b=i+w(h,240)|0;f=u[b+48>>2];g=u[b+52>>2];k=u[b+56>>2];break c;case 2:break d}}b=i+w(h,240)|0;f=u[b+64>>2];g=u[b+68>>2];k=u[b+72>>2]}}d=zi(q[(d<<2)+243856>>2]);u[a+28>>2]=l;u[a+24>>2]=k;u[a+20>>2]=g;u[a+16>>2]=f;q[a+8>>2]=c;q[a>>2]=d;q[a+4>>2]=wi;j=1;break a}c=d;b=m-(c>>>0<4)|0;c=c-4|0;if(!b&c>>>0<=3){Wo(e,(i+w(h,240)|0)+80|0);j=0;if(!b&c>>>0>3|b){break a}b=a;e:{f:{switch(c-1|0){default:g=u[e+20>>2];l=u[e+16>>2];f=u[e+24>>2];d=3;break e;case 0:k=u[e+12>>2];g=u[e+4>>2];l=u[e>>2];f=u[e+8>>2];d=4;break e;case 1:d=i+w(h,240)|0;l=x(u[e+32>>2]/x(u[d+64>>2]*u[d+48>>2]));g=x(u[e+36>>2]/x(u[d+68>>2]*u[d+52>>2]));f=u[e+40>>2];d=3;break e;case 2:break f}}g=u[e+36>>2];l=u[e+32>>2];f=u[e+40>>2];d=3}q[b+8>>2]=d;d=zi(q[(c<<2)+243872>>2]);u[a+28>>2]=k;u[a+24>>2]=f;u[a+20>>2]=g;u[a+16>>2]=l;q[a>>2]=d;q[a+4>>2]=wi;j=1;break a}j=0;if((d|0)!=8|m){break a}q[a+8>>2]=6;o[a+16|0]=r[(i+w(h,240)|0)+234|0]>>>2&1;q[a>>2]=zi(49086);q[a+4>>2]=wi;j=1}c=j;ti=e+48|0;return c|0}}J(48683,48598,479,48308);G()}function Vka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;d=ti-112|0;ti=d;q[d+72>>2]=0;q[d+76>>2]=0;e=d- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;e=q[c+172>>2];q[d+40>>2]=q[c+168>>2];q[d+44>>2]=e;e=q[c+164>>2];q[d+32>>2]=q[c+160>>2];q[d+36>>2]=e;e=q[c+156>>2];q[d+24>>2]=q[c+152>>2];q[d+28>>2]=e;e=q[c+148>>2];q[d+16>>2]=q[c+144>>2];q[d+20>>2]=e;a:{if(!a){q[d+104>>2]=0;q[d+108>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;a=q[q[q[c>>2]+80>>2]+8>>2];b:{if(!a){break b}a=q[a>>2];if(!a){break b}f=q[a+3216>>2];g=q[a+3220>>2]}q[d+80>>2]=f;q[d+84>>2]=g;c:{if(wo(f,g)){if(!zo(q[c>>2],s[c+252>>1],d+104|0)){break c}}Ai(4,45688,46667,0);break a}f=q[c>>2];g=q[f+100>>2];a=d- -64|0;q[a>>2]=q[f+96>>2];q[a+4>>2]=g;a=q[d+92>>2];q[d+56>>2]=q[d+88>>2];q[d+60>>2]=a;a=q[d+108>>2];q[d+72>>2]=q[d+104>>2];q[d+76>>2]=a;a=q[d+84>>2];q[d+48>>2]=q[d+80>>2];q[d+52>>2]=a;a=q[62920];g=q[a+8>>2];f=q[a+12>>2];e=q[b+4>>2];q[d+80>>2]=q[b>>2];q[d+84>>2]=e;q[d+88>>2]=q[b+8>>2];a=vo(d+48|0,d+16|0,g,f,0,q[c+176>>2],a,d+80|0,16,0);o[c+144|0]=0;o[c+145|0]=0;o[c+146|0]=0;o[c+147|0]=0;o[c+148|0]=0;o[c+149|0]=0;o[c+150|0]=0;o[c+151|0]=0;o[c+168|0]=0;o[c+169|0]=0;o[c+170|0]=0;o[c+171|0]=0;o[c+172|0]=0;o[c+173|0]=0;o[c+174|0]=0;o[c+175|0]=0;o[c+160|0]=0;o[c+161|0]=0;o[c+162|0]=0;o[c+163|0]=0;o[c+164|0]=0;o[c+165|0]=0;o[c+166|0]=0;o[c+167|0]=0;o[c+152|0]=0;o[c+153|0]=0;o[c+154|0]=0;o[c+155|0]=0;o[c+156|0]=0;o[c+157|0]=0;o[c+158|0]=0;o[c+159|0]=0;if(!a){break a}Ai(4,45688,46742,0);break a}q[d>>2]=a;Ai(4,45688,46785,d)}ti=d+112|0}function Z4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-256|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);g=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){i=Xi(a,1);a:{if(Bj(a,2)){f=xj(a,2);b:{if(f<0x10000000000000000&f>=0){d=y(f)>=1?f>0?~~A(C(f*2.3283064365386963e-10),4294967295)>>>0:~~D((f- +(~~f>>>0>>>0))*2.3283064365386963e-10)>>>0:0;c=~~f>>>0;break b}c=0}e=d;if(!sv(q[q[g+304>>2]+2384>>2],c,d)){e=b;if(d>>>0<=2){d=q[(d<<2)+257416>>2]}else{d=82720}q[e+116>>2]=d;q[b+112>>2]=c;hj(b+128|0,128,114570,b+112|0);q[b+96>>2]=b+128;a=Bi(a,111473,b+96|0);break a}c:{d:{e:{switch(d-1|0){case 1:d=c;h=1;f:{if(!Bj(a,3)){break f}h=Ok(a,3)}d=xi[q[77497]](d,e,h)|0;e=wi;if(d|e){break d}q[b+68>>2]=q[64356];q[b+64>>2]=c;hj(b+128|0,128,114570,b- -64|0);q[b+48>>2]=b+128;a=Bi(a,111507,b+48|0);break a;case 0:break e;default:break c}}if(!(c|e)){break c}d=c}q[b+136>>2]=i;q[b+140>>2]=0;q[b+128>>2]=2;q[b+144>>2]=d;q[b+148>>2]=e;c=q[g+4>>2];if((c|0)!=q[g+8>>2]){q[g+4>>2]=c+40;a=q[b+164>>2];q[c+32>>2]=q[b+160>>2];q[c+36>>2]=a;a=q[b+156>>2];q[c+24>>2]=q[b+152>>2];q[c+28>>2]=a;a=q[b+148>>2];q[c+16>>2]=q[b+144>>2];q[c+20>>2]=a;a=q[b+140>>2];q[c+8>>2]=q[b+136>>2];q[c+12>>2]=a;a=q[b+132>>2];q[c>>2]=q[b+128>>2];q[c+4>>2]=a;a=0;break a}q[b+80>>2]=(q[g+8>>2]-q[g>>2]|0)/40;a=Bi(a,110538,b+80|0);break a}e=b;if(d>>>0<=2){d=q[(d<<2)+257416>>2]}else{d=82720}q[e+36>>2]=d;q[b+32>>2]=c;hj(b+128|0,128,114570,b+32|0);q[b+16>>2]=b+128;a=Bi(a,111473,b+16|0);break a}q[b+4>>2]=i;q[b>>2]=110485;a=Bi(a,111581,b)}ti=b+256|0;return a|0}J(110492,110389,475,114319);G()}function Vna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-304|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);c=q[c+4>>2];q[b+296>>2]=0;q[b+300>>2]=0;q[b+288>>2]=0;q[b+292>>2]=0;q[b+280>>2]=0;q[b+284>>2]=0;q[b+272>>2]=0;q[b+276>>2]=0;$l(a,b+272|0);q[b+264>>2]=0;q[b+268>>2]=0;q[b+256>>2]=0;q[b+260>>2]=0;q[b+248>>2]=0;q[b+252>>2]=0;q[b+240>>2]=0;q[b+244>>2]=0;qk(a,1,b+240|0,b+272|0);c=q[q[c+80>>2]+8>>2];a:{if(!c){break a}f=q[c>>2];if(!f){break a}h=q[f+3216>>2];i=q[f+3220>>2]}if((h|0)!=q[b+240>>2]|(i|0)!=q[b+244>>2]){Bi(a,16546,0)}b:{if((e|0)<2){break b}if(!Ei(a,2)){break b}if(ek(a,2)){d=zi(dj(a,2,0));g=wi;break b}d=Zk(a,2);g=wi}f=Vm(c,q[b+256>>2],q[b+260>>2]);c:{if(!f){q[b>>2]=Mi(q[b+256>>2],q[b+260>>2]);d=Bi(a,15011,b);break c}d:{e:{f:{g:{h:{c=Cpa(c,f,q[b+264>>2],q[b+268>>2],d,g);switch(c+5|0){case 0:break g;case 1:case 2:break h;case 4:break d;case 5:break e;default:break f}}c=mp(b+112|0);q[b+108>>2]=q[b+236>>2];e=q[b+232>>2];q[b+100>>2]=q[b+228>>2];q[b+104>>2]=e;e=q[b+108>>2];q[b+72>>2]=q[b+104>>2];q[b+76>>2]=e;q[b+96>>2]=0;e=q[b+100>>2];q[b+64>>2]=q[b+96>>2];q[b+68>>2]=e;jr(f,q[b+264>>2],q[b+268>>2],d,g,b- -64|0,c);q[b+48>>2]=Mi(d,g);d=Bi(a,16980,b+48|0);break c}d=Mi(q[b+264>>2],q[b+268>>2]);q[b+84>>2]=dj(a,1,0);q[b+80>>2]=d;d=Bi(a,16088,b+80|0);break c}q[b+16>>2]=c;d=Bi(a,17026,b+16|0);break c}d=0;if(q[a+8>>2]-q[a+12>>2]>>4==(e|0)){break c}J(16944,15841,1841,17073);G()}Ni(a,16048,0);Ul(a,b+240|0);Ol(a,2);c=dj(a,-1,0);Ci(a,-2);q[b+36>>2]=Mi(d,g);q[b+32>>2]=c;d=Bi(a,15714,b+32|0)}ti=b+304|0;return d|0}function sq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=q[a+68>>2];if(r[b+492|0]!=1){c=q[b+496>>2];q[b+500>>2]=c;q[b+504>>2]=q[c>>2]+12;Qw(a);b=q[a+68>>2];o[b+492|0]=1}d=q[b+500>>2];a:{if(d){while(1){b:{if(r[d+8|0]!=22){h=r[a+180|0];e=0;break b}h=r[a+180|0];e=0;c=q[d>>2];if(r[c|0]!=20){break b}e=1;if(q[b+504>>2]!=(c+12|0)){break b}Qw(a)}b=tC(a);if((b|0)<0){break a}c:{d:{e:{f:{g:{if(r[d+8|0]==20){if(b){break g}break d}if(b>>>0>=12){f=q[d>>2];g=q[q[a+68>>2]+504>>2];i=q[d+4>>2]-12|0;if(!i|(b|0)!=12){break f}}if(!e){break d}Qw(a);break d}Gi(q[a+204>>2],q[d>>2],q[d+4>>2]);e=q[d+4>>2];q[a+212>>2]=e;q[a+208>>2]=r[d+8|0];b=q[a+68>>2];c=q[b+504>>2]+e|0;q[b+504>>2]=c;break e}e=q[a+204>>2];c=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[e|0]=c;o[e+1|0]=c>>>8;o[e+2|0]=c>>>16;o[e+3|0]=c>>>24;c=r[f+4|0]|r[f+5|0]<<8;o[e+4|0]=c;o[e+5|0]=c>>>8;c=(g-f|0)-12|0;o[q[a+204>>2]+6|0]=c>>>16;o[q[a+204>>2]+7|0]=c>>>8;o[q[a+204>>2]+8|0]=c;b=b-12|0;c=i-c|0;c=c>>>0>b>>>0?b:c;o[q[a+204>>2]+9|0]=c>>>16;o[q[a+204>>2]+10|0]=c>>>8;o[q[a+204>>2]+11|0]=c;Gi(q[a+204>>2]+12|0,g,c);q[a+212>>2]=c+12;q[a+208>>2]=r[d+8|0];b=q[a+68>>2];c=c+q[b+504>>2]|0;q[b+504>>2]=c;e=q[d+4>>2]}if(q[d>>2]+e>>>0<=c>>>0){c=b;g=q[d+12>>2];h:{if(g){q[b+500>>2]=g;b=q[g>>2]+12|0;break h}q[b+500>>2]=0;b=0}q[c+504>>2]=b}b=Ot(a,(h|0)==1);if(b){break a}break c}b=Bp(a);if(b){break a}}b=q[a+68>>2];d=q[b+500>>2];if(d){continue}break}}b=Bp(a);if(b){break a}c=q[a+68>>2];i:{if(q[a+4>>2]==16){o[c+492|0]=3;break i}o[c+492|0]=2;b=q[c+488>>2];c=q[a+92>>2];if(c){xi[c|0](q[a+88>>2],b>>>2|0,b)}}b=0}return b}function CE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=ti-16|0;ti=i;a:{b:{c:{d:{if((a|0)!=10){if((a|0)!=2){break c}while(1){e=0;a=0;e:{f:{while(1){d=a+b|0;if(o[d|0]-48>>>0<10){e=(o[d|0]+w(e,10)|0)-48|0;g=3;a=a+1|0;if((a|0)!=3){continue}break f}break}g=a;g:{switch(a|0){case 0:break a;case 1:break g;default:break f}}g=1;if((e|0)<=255){break e}break b}a=0;if(r[b|0]==48|(e|0)>255){break a}}o[c+f|0]=e;b=b+g|0;d=r[b|0];if(d?0:(f|0)==3){break d}a=0;if((d|0)!=46){break a}b=b+1|0;f=f+1|0;if((f|0)!=4){continue}break}break a}f=r[b|0];if((f|0)==58){a=0;if(r[b+1|0]!=58){break a}b=b+1|0}h=-1;while(1){h:{i:{if(!((f&255)==58?(h|0)<=-1:0)){a=0;e=0;g=0;f=HE(f<<24>>24);j:{if((f|0)>-1){while(1){g=(g<<4)+f|0;e=e+1|0;if((e|0)==4){e=4;break j}f=HE(o[b+e|0]);if((f|0)>-1){continue}break}}if(!e){break a}}p[((d&7)<<1|i)>>1]=g;e=b+e|0;g=r[e|0];if(!g){g=1;if((d|0)==7|(h|0)>-1){break i}break a}if((d|0)==7){break a}if((g|0)!=58){if((g|0)!=46|((h|0)<0?d>>>0<=5:0)){break a}d=d+1|0;g=0;break i}a=e+1|0;f=r[a|0];break h}g=1;p[((d&7)<<1|i)>>1]=0;a=b+1|0;f=r[b+1|0];if(!f){b=a;h=d;break i}h=d;if((d|0)==7){break b}break h}a=0;k:{if((h|0)<0){break k}e=(h<<1)+i|0;Sk((e-(d<<1)|0)+14|0,e,(d-h<<1)+2|0);if((d|0)>6){break k}d=7-d|0;d=(d|0)>1?d:1;e=0;while(1){p[(e+h<<1)+i>>1]=0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}while(1){d=c;c=s[(a<<1)+i>>1];c=(c<<24|c<<8&16711680)>>>16|0;o[d|0]=c;o[d+1|0]=c>>>8;c=d+2|0;a=a+1|0;if((a|0)!=8){continue}break}if(g){break d}if((CE(2,b,d-2|0)|0)<1){break b}break d}d=d+1|0;b=a;continue}}a=1;break a}q[242957]=5;a=-1;break a}a=0}ti=i+16|0;return a}function Qs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}if(!r[862340]){return 0}b:{if(o[862440]&1){break b}if(!Xj()){break b}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}e=q[215584];wj(e);c:{if(o[862440]&1){break c}if(!Xj()){break c}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;c=Hj();o[862340]=0;q[215584]=c;Wj()}c=q[215595];d:{if(!c){break d}c=q[q[215594]+(Qwa(a,b,c)<<2)>>2];if((c|0)==-1){break d}f=q[215596];while(1){d=w(c,24)+f|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+16>>2];if((c|0)!=-1){continue}break d}break}g=q[(w(c,24)+f|0)+8>>2]}qj(e);return g}function oca(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=ti-16|0;ti=g;a:{b:{c:{d:{e:{f:{if(b>>>0<2097152){e=q[77547];d=a;g:{if(d+1>>>0<2){break g}h=d&65535;if(h>>>0>=t[e+32>>2]){break f}i=q[q[e+24>>2]+(h<<2)>>2];if(!i){break g}f=s[q[e+28>>2]+(h<<1)>>1]==(d>>>16|0)?i:0}p[f+26>>1]=s[f+26>>1]|1<>2];wj(h);d=s[155078];if((d|0)==s[155079]){if(d>>>0>=65472){break e}e=q[77538];f=d- -64|0;i=f&65535;j=Ji(i<<1);q[77538]=j;j=Gi(j,e,d<<1);p[155078]=f;while(1){p[j+(d<<1)>>1]=d;d=d+1|0;if((i|0)!=(d|0)){continue}break}yi(e);if(o[310148]&1){break d}Ii(s[155078],56,310136,310144,310140);q[77535]=q[77536]}e=q[77538];if(!e){break c}d=s[155079];if(d>>>0>=s[155078]){break b}p[155079]=d+1;e=s[e+(d<<1)>>1];f=q[77534];if(e>>>0>=(q[77535]-f|0)/56>>>0){break a}d=f+w(e,56)|0;q[d>>2]=a;q[d+4>>2]=b;a=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=a;a=q[c+12>>2];q[d+16>>2]=q[c+8>>2];q[d+20>>2]=a;a=q[c+20>>2];q[d+24>>2]=q[c+16>>2];q[d+28>>2]=a;a=q[c+28>>2];q[d+32>>2]=q[c+24>>2];q[d+36>>2]=a;a=q[c+36>>2];q[d+40>>2]=q[c+32>>2];q[d+44>>2]=a;a=r[c+43|0]|r[c+44|0]<<8|(r[c+45|0]<<16|r[c+46|0]<<24);b=r[c+39|0]|r[c+40|0]<<8|(r[c+41|0]<<16|r[c+42|0]<<24);o[d+47|0]=b;o[d+48|0]=b>>>8;o[d+49|0]=b>>>16;o[d+50|0]=b>>>24;o[d+51|0]=a;o[d+52|0]=a>>>8;o[d+53|0]=a>>>16;o[d+54|0]=a>>>24;qj(h);q[g+8>>2]=0;q[g+4>>2]=725;q[g>>2]=e;bA(g);ti=g+16|0;return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}J(89499,89522,112,86143);G()}J(86012,86087,493,86143);G()}J(89573,89522,151,89580);G()}J(89584,89522,152,89580);G()}J(86853,86087,479,86864);G()}function LF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-144|0;ti=e;a:{b:{h=q[a+8>>2]-q[a+12>>2]>>4;if((h|0)>-1){g=bu(a,b);f=q[d+4>>2];c:{if(!f){break c}f=q[q[d>>2]+((g>>>0)%(f>>>0)<<2)>>2];if((f|0)==-1){break c}i=q[d+8>>2];while(1){f=w(f,12)+i|0;if(q[f>>2]==(g|0)){break b}f=q[f+8>>2];if((f|0)!=-1){continue}break}}f=(q[d+16>>2]-q[d+8>>2]|0)/12|0;if((f|0)==q[d+24>>2]){f=(f<<1)+20|0;vH(d,(f>>>0)/3|0,f)}o[e+143|0]=1;wH(d,g,e+143|0);Qi(a,b);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(!rj(a,-2)){q[e+32>>2]=g;fn(c,118526,e+32|0);Ci(a,-2);break a}q[e+112>>2]=g;fn(c,118539,e+112|0);b=q[c+12>>2]+2|0;q[c+12>>2]=(b|0)>0?b:0;f=117206;while(1){q[e+96>>2]=f;fn(c,118550,e+96|0);b=Ei(a,-1);Qi(a,-2);Ki(a,-10002,117639);hk(a,-2);zk(a,1,1);f=dj(a,-1,0);if(!f){Ci(a,-2);Bi(a,117648,0);break a}q[e+80>>2]=f;fn(c,118556,e+80|0);Ci(a,-2);d:{e:{switch(b-4|0){case 1:LF(a,-1,c,d);break d;case 0:q[e+64>>2]=dj(a,-1,0);fn(c,118562,e- -64|0);break d;default:break e}}Qi(a,-1);Ki(a,-10002,117639);hk(a,-2);zk(a,1,1);b=dj(a,-1,0);if(!b){Ci(a,-2);Bi(a,117648,0);break a}q[e+48>>2]=b;fn(c,117693,e+48|0);Ci(a,-2)}Ci(a,-2);f=118554;if(rj(a,-2)){continue}break}b=q[c+12>>2]-2|0;q[c+12>>2]=(b|0)>0?b:0;fn(c,117724,0);fn(c,118567,0);M7(d,g);Ci(a,-2);break a}q[e+12>>2]=h;q[e+4>>2]=419;q[e+8>>2]=0;q[e>>2]=117392;Ai(4,117469,118011,e);J(118083,117392,1468,118100);G()}q[e+128>>2]=g;fn(c,118509,e+128|0)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)==(h|0)){ti=e+144|0;return}q[e+28>>2]=a;q[e+24>>2]=h;q[e+20>>2]=419;q[e+16>>2]=117392;Ai(4,117469,118114,e+16|0);J(118185,117392,1491,118204);G()}function q_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;axa(+b);d=Zwa(1)|0;h=Zwa(0)|0;j=d;d=d<<1|h>>>31;f=d;a:{g=h<<1;b:{if(!(d|g)){break b}d=j&2147483647;if((d|0)==2146435072&(h|0)!=0|d>>>0>2146435072){break b}axa(+a);d=Zwa(1)|0;c=Zwa(0)|0;l=d;i=d>>>20&2047;if((i|0)!=2047){break a}}a=a*b;return a/a}k=c<<1;d=l<<1|c>>>31;e=d;if((d|0)==(f|0)&g>>>0>>0|d>>>0>f>>>0){k=j>>>20&2047;c:{if(!i){i=0;e=l<<12|c>>>20;f=c<<12;d=e;if((d|0)>0?1:(d|0)>=0){while(1){i=i-1|0;e=d<<1|f>>>31;f=f<<1;d=e;if((d|0)>-1){continue}break}}d=l;f=1-i|0;g=f&31;if((f&63)>>>0>=32){e=c<>>32-g|d<>>20;c=e;if((c|0)>0?1:(c|0)>=0){while(1){k=k-1|0;e=c<<1|g>>>31;g=g<<1;c=e;if((c|0)>-1){continue}break}}c=h;e=1-k|0;h=e&31;if((e&63)>>>0>=32){e=c<>>32-h|j<(k|0)){while(1){c=e;h=d-((c>>>0>f>>>0)+g|0)|0;j=f-c|0;e:{c=h;if((c|0)<0){break e}f=j;d=c;if(f|c){break e}return a*0}d=d<<1|f>>>31;f=f<<1;i=i-1|0;if((k|0)<(i|0)){continue}break}i=k}c=f;j=d-((e>>>0>c>>>0)+g|0)|0;c=c-e|0;f:{e=j;if((e|0)<0){break f}f=c;d=e;if(c|d){break f}return a*0}g:{if(d>>>0>1048575){g=f;c=d;break g}while(1){i=i-1|0;e=d>>>0<524288;d=d<<1|f>>>31;g=f<<1;c=d;f=g;if(e){continue}break}}j=0;l=l&-2147483648;if((i|0)>=1){e=c+ -1048576|i<<20}else{f=g;d=1-i|0;h=d&31;if((d&63)>>>0>=32){e=0;g=c>>>h|0}else{e=c>>>h|0;g=((1<>>h}}_wa(0,g|j);_wa(1,e|l);return+$wa()}return(g|0)==(k|0)&(e|0)==(f|0)?a*0:a}function npa(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,p=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=ti-128|0;ti=f;a:{b:{c:{c=q[a+1048>>2];e=c>>>16|0;if(e>>>0<=7){m=q[q[a+1040>>2]+32>>2];b=q[q[m>>2]+44>>2];s=b- -64|0;t=b+60|0;w=b+72|0;x=b+68|0;y=b+80|0;z=b+76|0;A=b+88|0;B=b+84|0;d=b+96|0;i=b+92|0;k=b+104|0;l=b+100|0;g=b+112|0;h=b+108|0;j=c&65535;while(1){b=t;c=s;n=0;d:{e:{f:{switch(e|0){case 1:b=x;c=w;break e;case 2:b=z;c=y;break e;case 3:b=B;c=A;break e;case 4:b=i;c=d;break e;case 5:b=l;c=k;break e;case 0:break e;case 6:break f;default:break d}}b=h;c=g}n=q[c>>2];p=q[b>>2]}if(!C&j>>>0>>0){break c}j=0;e=e+1|0;if((e|0)!=8){continue}break}a=0;break b}a=0;if((e|0)==8){break b}break a}if(!p){break a}c=(j<<5)+p|0;g=q[c>>2];b=q[c+20>>2];d=mp(f+16|0);i=EK(m,g,e,b,0,0,d);g:{if(i){break g}b=C;h=j+1|0;b=h>>>0<1?b+1|0:b;q[a+1048>>2]=h|e<<16;q[a+1052>>2]=b;q[a>>2]=zi(g);q[a+4>>2]=wi;h:{switch(e|0){case 1:q[a+8>>2]=1;c=q[d+44>>2];q[a+16>>2]=q[d+40>>2];q[a+20>>2]=c;break g;case 0:q[a+8>>2]=0;v[a+16>>3]=v[d+40>>3];break g;case 6:q[a+8>>2]=6;o[a+16|0]=r[d+40|0];break g;case 3:case 4:case 5:q[a+8>>2]=e;u[a+16>>2]=u[d+40>>2];u[a+20>>2]=u[d+44>>2];u[a+24>>2]=u[d+48>>2];u[a+28>>2]=u[d+52>>2];break g;case 2:break h;default:break g}}q[a+8>>2]=2;k=Mi(q[d+40>>2],q[d+44>>2]);l=Mi(q[d+56>>2],q[d+60>>2]);b=d- -64|0;c=q[b+4>>2];d=q[b>>2];b=c;g=!(d|b);h=g?13173:13679;c=f;if(g){b=13173}else{b=Mi(d,b)}q[c+12>>2]=b;q[f+8>>2]=h;q[f+4>>2]=l;q[f>>2]=k;hj(a+16|0,1024,13669,f)}a=!i}ti=f+128|0;return a|0}J(13624,12848,1063,13637);G()}function A6(a,b,c,d,e,f,g){var h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=0,z=0,A=x(0),B=x(0);l=u[213297];k=u[d>>2];p=u[213298];h=u[d+12>>2];n=u[213296];j=u[d+4>>2];i=u[d+8>>2];o=u[213293];s=u[213294];t=u[213292];m=x(f*x(64));a:{if(m=x(0)){d=~~m>>>0;break a}d=0}y=q[a>>2];z=q[a+4>>2]-y|0;a=(z|0)/160|0;if(z){m=x(x(x(i*n)+x(h*l))-x(k*p));r=x(x(i*p)+x(x(k*n)+x(j*l)));v=x(x(x(h*p)+x(k*l))-x(j*n));l=x(x(x(h*n)+x(j*p))-x(i*l));A=x(x(k*m)+x(x(x(i*r)+x(h*v))-x(j*l)));B=x(x(i*l)+x(x(x(h*m)+x(j*r))-x(k*v)));v=x(x(j*v)+x(x(x(h*l)+x(k*r))-x(i*m)));n=x(x(x(t*i)+x(h*o))-x(s*k));m=x(x(s*i)+x(x(j*o)+x(t*k)));r=x(x(x(h*s)+x(o*k))-x(t*j));o=x(x(x(h*t)+x(j*s))-x(i*o));l=x(x(k*n)+x(x(x(i*m)+x(h*r))-x(j*o)));p=x(x(i*o)+x(x(x(h*n)+x(j*m))-x(k*r)));k=x(x(j*r)+x(x(x(h*o)+x(k*m))-x(i*n)));d=w(d>>>0<63?d:63,12)+b|0;n=x(x(x(f-u[d>>2])*u[d+8>>2])+u[d+4>>2]);f=x(e*g);e=x(u[b+776>>2]*e);o=x(e*e);s=u[b+768>>2];d=a>>>0>1?a:1;t=u[c+8>>2];m=u[c+4>>2];r=u[c>>2];a=0;while(1){b=w(a,160)+y|0;h=x(u[b>>2]-r);j=x(u[b+4>>2]-m);g=x(u[b+8>>2]-t);e=x(x(x(k*h)+x(p*j))+x(l*g));g=x(g-x(l*e));h=x(h-x(k*e));e=x(j-x(p*e));j=x(o-x(x(g*g)+x(x(h*h)+x(e*e))))>=x(0)?x(n+x(s*u[b+76>>2])):x(0);i=x(x(k*e)-x(p*h));e=x(x(p*g)-x(l*e));g=x(x(l*h)-x(k*g));c=x(x(i*i)+x(x(e*e)+x(g*g)))<=x(0);h=c?A:i;i=c?v:e;g=c?B:g;e=x(x(1)/x(F(x(x(h*h)+x(x(i*i)+x(g*g))))));u[b+56>>2]=u[b+56>>2]+x(f*x(j*x(h*e)));u[b+52>>2]=u[b+52>>2]+x(f*x(j*x(g*e)));u[b+48>>2]=u[b+48>>2]+x(f*x(j*x(i*e)));a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function IZ(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=ti-288|0;ti=d;q[d+284>>2]=-1;j=Pn(a,3,-1);Fi(d+152|0,0,128);Fi(d+24|0,0,128);Ci(a,3);gj(a,0,0);g=q[a+8>>2]-q[a+12>>2]>>4;gj(a,0,0);h=q[a+8>>2]-q[a+12>>2]>>4;gj(a,0,0);c=1;i=q[a+8>>2]-q[a+12>>2]>>4;aM(a,1,g,d+152|0,d+284|0);aM(a,2,g,d+24|0,d+284|0);if(Ei(a,1)){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Sj(a,1);if(Ei(a,-1)){while(1){e=LE(a);a:{if((e|0)==-1){break a}Hi(a,131932);Sj(a,-2);if(!Ei(a,-1)){Ci(a,-2);break a}Qi(a,-2);zk(a,1,1);b=Ej(a,-1);Ci(a,-2);if(!b){break a}b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-2);$i(a,h);b=(d+152|0)+(e>>>3&536870908)|0;k=q[b>>2];q[b>>2]=Twa(-2,e)&k}Ci(a,-2);e=q[a+8>>2];q[e+8>>2]=3;c=c+1|0;v[e>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,1);if(Ei(a,-1)){continue}break}}Ci(a,-2)}v[d+8>>3]=-1;c=(f|0)>0;v[d>>3]=c?0:j;Hn(d);b=!c;e=q[d+284>>2];c=HQ(e+1|0,d+152|0,d+24|0,d);b:{if(!((c|0)<1?b:0)){c=0;if((e|0)>=0){while(1){if(q[(d+152|0)+(c>>>3&536870908)>>2]>>>c&1){b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,g);$i(a,h)}b=(c|0)!=(e|0);c=c+1|0;if(b){continue}break}c=0;f=0;while(1){if(q[(d+24|0)+(c>>>3&536870908)>>2]>>>c&1){b=q[a+8>>2];q[b+8>>2]=3;f=f+1|0;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,g);$i(a,i)}b=(c|0)!=(e|0);c=c+1|0;if(b){continue}break}}YD(a,h);YD(a,i);a=2;break b}c:{if(!c){Hi(a,131870);break c}Bi(a,131878,0)}a=3}ti=d+288|0;return a|0}function Fpa(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,p=0,s=x(0),t=0,w=0,y=0,z=x(0),A=0,B=0,C=0;n=ti-336|0;ti=n;a:{if(!b){o=-6;break a}p=mp(n+224|0);o=q[n+220>>2];q[n+88>>2]=q[n+216>>2];q[n+92>>2]=o;q[n+208>>2]=0;o=q[n+212>>2];q[n+80>>2]=q[n+208>>2];q[n+84>>2]=o;o=jr(b,c,d,e,f,n+80|0,p);if(o){break a}o=-9;if(r[p+108|0]){break a}w=q[h>>2];t=q[p+32>>2];if((w|0)!=(t|0)){o=-4;if(t-3>>>0>1|w){break a}s=x(v[h+8>>3]);b:{if((t|0)==3){u[n+120>>2]=s;u[n+116>>2]=s;u[n+112>>2]=s;q[n+136>>2]=3;u[n+144>>2]=u[n+112>>2];u[n+148>>2]=u[n+116>>2];u[n+152>>2]=u[n+120>>2];break b}u[n+108>>2]=s;u[n+104>>2]=s;u[n+100>>2]=s;u[n+96>>2]=s;lp(n+136|0,n+96|0)}Gi(h,n+136|0,72);w=q[p+32>>2]}o=-3;c:{d:{switch(w|0){case 4:case 5:w=4;case 3:a=_s(a);q[n+72>>2]=q[i+16>>2];t=q[i+12>>2];o=n- -64|0;q[o>>2]=q[i+8>>2];q[o+4>>2]=t;o=q[i+4>>2];q[n+56>>2]=q[i>>2];q[n+60>>2]=o;o=-7;if(!vA(a,b,c,d,e,f,g,0,x(0),x(0),n+56|0,j,k,l,m,1)){break a}q[i+8>>2]=0;l=h+8|0;m=p+40|0;h=0;while(1){e=h<<2;s=u[e+l>>2];z=u[e+m>>2];f=p+(h<<3)|0;t=q[f>>2];A=q[f+4>>2];f=q[p+104>>2];q[n+48>>2]=q[i+16>>2];y=q[i+12>>2];q[n+40>>2]=q[i+8>>2];q[n+44>>2]=y;y=q[i+4>>2];q[n+32>>2]=q[i>>2];q[n+36>>2]=y;if(!vA(a,b,c,d,t,A,g,f?e+f|0:0,z,s,n+32|0,j,k,0,0,0)){break a}h=h+1|0;if((w|0)!=(h|0)){continue}break}break c;case 0:break d;default:break a}}a=_s(a);B=v[p+40>>3];p=q[p+104>>2];C=v[h+8>>3];q[n+24>>2]=q[i+16>>2];h=q[i+12>>2];q[n+16>>2]=q[i+8>>2];q[n+20>>2]=h;h=q[i+4>>2];q[n+8>>2]=q[i>>2];q[n+12>>2]=h;o=-7;if(!vA(a,b,c,d,e,f,g,p,x(B),x(C),n+8|0,j,k,l,m,0)){break a}}o=0}ti=n+336|0;return o}function p0(){var a=0,b=0,c=0;b=q[242116];if(b){q[b+33904>>2]=0;a=q[b+12>>2];if(a){$E(a);Zn(q[b+16>>2])}Y$(q[b>>2]);a=q[b+20>>2];if((a|0)!=q[b+24>>2]){while(1){a=(c<<6)+a|0;q[a+56>>2]=-1;yi(q[a+4>>2]);q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;c=c+1|0;a=q[b+20>>2];if(c>>>0>2]-a>>6>>>0){continue}break}}yi(q[b+33928>>2]);yi(q[b+33932>>2]);yi(q[b+33936>>2]);yi(q[b+33940>>2]);yi(q[b+33944>>2]);yi(q[b+33948>>2]);a=q[b+132>>2];if(a){yi(a)}a=q[b+1188>>2];if(a){yi(a)}a=q[b+2244>>2];if(a){yi(a)}a=q[b+3300>>2];if(a){yi(a)}a=q[b+4356>>2];if(a){yi(a)}a=q[b+5412>>2];if(a){yi(a)}a=q[b+6468>>2];if(a){yi(a)}a=q[b+7524>>2];if(a){yi(a)}a=q[b+8580>>2];if(a){yi(a)}a=q[b+9636>>2];if(a){yi(a)}a=q[b+10692>>2];if(a){yi(a)}a=q[b+11748>>2];if(a){yi(a)}a=q[b+12804>>2];if(a){yi(a)}a=q[b+13860>>2];if(a){yi(a)}a=q[b+14916>>2];if(a){yi(a)}a=q[b+15972>>2];if(a){yi(a)}a=q[b+17028>>2];if(a){yi(a)}a=q[b+18084>>2];if(a){yi(a)}a=q[b+19140>>2];if(a){yi(a)}a=q[b+20196>>2];if(a){yi(a)}a=q[b+21252>>2];if(a){yi(a)}a=q[b+22308>>2];if(a){yi(a)}a=q[b+23364>>2];if(a){yi(a)}a=q[b+24420>>2];if(a){yi(a)}a=q[b+25476>>2];if(a){yi(a)}a=q[b+26532>>2];if(a){yi(a)}a=q[b+27588>>2];if(a){yi(a)}a=q[b+28644>>2];if(a){yi(a)}a=q[b+29700>>2];if(a){yi(a)}a=q[b+30756>>2];if(a){yi(a)}a=q[b+31812>>2];if(a){yi(a)}a=q[b+32868>>2];if(a){yi(a)}a=q[b+8>>2];if(a){xi[q[q[b+4>>2]+8>>2]](a)}yi($$(b));q[242116]=0}}function aG(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,t=0;while(1){b=q[a+88104>>2];q[a+88104>>2]=b?b:1;if(b){continue}break}q[a+8>>2]=0;q[a+88104>>2]=0;b=q[a+4>>2];j=q[a>>2];q[a>>2]=0;q[a+4>>2]=0;l=r[a+12|0];o[a+12|0]=l&254;e=b-j|0;b=(e|0)/40|0;a:{if(!e){break a}t=b>>>0>1?b:1;m=a+88112|0;while(1){b:{e=w(k,40)+j|0;f=p[e+32>>1];i=f<<6;g=(i+a|0)+88146|0;b=s[g>>1];c:{if((b|0)!=65535){c=q[e+16>>2];h=q[e+20>>2];while(1){b=(b<<16>>16<<6)+a|0;d=b+88128|0;if((c|0)==q[d>>2]&(h|0)==q[d+4>>2]){break c}b=s[b+88148>>1];if((b|0)!=65535){continue}break}}b=q[a+155696>>2];if(!b){break c}b=b-1|0;q[a+155696>>2]=b;h=p[((b<<1)+a|0)+153648>>1];c=(h<<6)+m|0;b=c;q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=e;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;d=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=d;q[c+56>>2]=-17;p[c+34>>1]=65535;b=s[g>>1];p[c+32>>1]=f;p[c+36>>1]=b;p[g>>1]=h;b=i+m|0;i=s[b+38>>1];g=i+1|0;p[b+38>>1]=g;d:{if((f|0)==-1){break d}h=q[e+24>>2];e=q[e+28>>2];while(1){f=(f<<16>>16<<6)+a|0;d=f+88136|0;if(q[d>>2]==(h|0)&q[d+4>>2]==(e|0)){q[c+56>>2]=-16;if(!(g&65535)){break b}p[b+38>>1]=i;break d}f=s[f+88144>>1];if((f|0)!=65535){continue}break}}n=n+1|0}k=k+1|0;if((t|0)!=(k|0)){continue}break a}break}J(28522,28238,359,28500);G()}if(!(!j|l&1)){yi(j)}return(n|0)!=0}function pwa(){var a=0;q[76026]=zi(49324);q[76027]=wi;q[76028]=zi(49343);q[76029]=wi;q[76030]=zi(49360);q[76031]=wi;q[76032]=zi(49369);q[76033]=wi;q[76034]=zi(49375);q[76035]=wi;q[76036]=zi(49385);q[76037]=wi;q[76038]=zi(49393);q[76039]=wi;q[76040]=zi(49400);q[76041]=wi;q[76042]=zi(49409);q[76043]=wi;q[76044]=zi(49421);q[76045]=wi;q[76046]=zi(49430);q[76047]=wi;q[76048]=zi(49435);q[76049]=wi;q[76050]=zi(49441);q[76051]=wi;q[76052]=zi(49447);q[76053]=wi;q[76056]=zi(49456);q[76057]=wi;q[76058]=zi(49465);q[76059]=wi;q[76060]=zi(49474);q[76061]=wi;q[76062]=zi(49483);q[76063]=wi;q[76064]=zi(49492);q[76065]=wi;q[76066]=zi(49501);q[76067]=wi;q[76068]=zi(49510);q[76069]=wi;q[76070]=zi(49519);q[76071]=wi;q[76072]=zi(49528);q[76073]=wi;a=zi(49537);q[76093]=0;q[76094]=0;q[76092]=305408;q[76090]=0;q[76088]=49562;q[76087]=49549;q[76086]=0;q[76084]=0;q[76082]=0;q[76080]=0;q[76078]=1;q[76076]=0;q[76077]=3;q[76074]=a;q[76075]=wi;q[76095]=0;q[76096]=0;q[76097]=0;q[76114]=304304;q[76112]=0;q[76110]=49597;q[76109]=49575;q[76108]=0;q[76106]=0;q[76104]=0;q[76102]=0;q[76100]=1;q[76098]=0;q[76099]=3;q[76119]=0;q[76117]=0;q[76118]=0;q[76115]=0;q[76116]=0;q[76136]=304304;q[76134]=0;q[76132]=49597;q[76131]=49608;q[76130]=0;q[76128]=0;q[76126]=0;q[76124]=0;q[76122]=1;q[76120]=0;q[76121]=3;q[76141]=0;q[76139]=0;q[76140]=0;q[76137]=0;q[76138]=0;q[76158]=304304;q[76156]=0;q[76154]=49655;q[76153]=49632;q[76152]=0;q[76150]=0;q[76148]=0;q[76146]=0;q[76144]=1;q[76142]=0;q[76143]=3;q[76163]=0;q[76161]=0;q[76162]=0;q[76159]=0;q[76160]=0}function ly(a,b,c){var d=0,e=0,f=0,g=0;d=ti+ -64|0;ti=d;q[d+56>>2]=0;q[d+48>>2]=1;q[d+52>>2]=0;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{if(!q[a+24>>2]){e=c+24|0;e=Pj(a,d+32|0,e,e);if(e){break a}e=Fp(a,d+16|0,c,d+32|0);if(e){break a}e=pm(a,d,c,d+32|0);if(e){break a}e=Pj(a,d+32|0,d+16|0,d);if(e){break a}e=wq(d+48|0,d+32|0,3);if(e){break a}f=a+4|0;while(1){if((Lj(d+48|0,f)|0)<0){break b}e=_m(d+48|0,d+48|0,f);if(!e){continue}break}break a}e=Pj(a,d+32|0,c,c);if(e){break a}e=wq(d+48|0,d+32|0,3);if(e){break a}f=a+16|0;g=a+4|0;while(1){if((Lj(d+48|0,g)|0)>=0){e=_m(d+48|0,d+48|0,g);if(!e){continue}break a}break}if(!uj(f,0)){break b}e=c+24|0;e=Pj(a,d+32|0,e,e);if(e){break a}e=Pj(a,d+16|0,d+32|0,d+32|0);if(e){break a}e=Pj(a,d+32|0,d+16|0,f);if(e){break a}e=Fp(a,d+48|0,d+48|0,d+32|0);if(e){break a}}f=c+12|0;e=Pj(a,d+16|0,f,f);if(e){break a}e=Tr(a,d+16|0);if(e){break a}e=Pj(a,d+32|0,c,d+16|0);if(e){break a}e=Tr(a,d+32|0);if(e){break a}e=Pj(a,d,d+16|0,d+16|0);if(e){break a}e=Tr(a,d);if(e){break a}e=Pj(a,d+16|0,d+48|0,d+48|0);if(e){break a}e=pm(a,d+16|0,d+16|0,d+32|0);if(e){break a}e=pm(a,d+16|0,d+16|0,d+32|0);if(e){break a}e=pm(a,d+32|0,d+32|0,d+16|0);if(e){break a}e=Pj(a,d+32|0,d+32|0,d+48|0);if(e){break a}e=pm(a,d+32|0,d+32|0,d);if(e){break a}e=Pj(a,d,f,c+24|0);if(e){break a}e=Tr(a,d);if(e){break a}e=gk(b,d+16|0);if(e){break a}e=gk(b+12|0,d+32|0);if(e){break a}e=gk(b+24|0,d)}Si(d+48|0);Si(d+32|0);Si(d+16|0);Si(d);ti=d- -64|0;return e}function s2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=x(0);e=ti-160|0;ti=e;b=ul(a,1);a:{b:{c:{d:{if((b|0)!=q[212904]){if((b|0)==q[212905]){break d}if((b|0)==q[212906]){break c}q[e+144>>2]=128720;q[e+140>>2]=128704;q[e+136>>2]=128688;q[e+132>>2]=130293;q[e+128>>2]=128752;a=Bi(a,130645,e+128|0);break a}b=Li(a,1,b,0);f=u[b>>2];g=u[b+4>>2];e:{if(!(f!=f|g!=g)){c=u[b+8>>2];if(c==c){break e}}c=u[b+8>>2];v[e+16>>3]=g;v[e+24>>3]=c;v[e+8>>3]=f;q[e>>2]=1;Bi(a,128819,e);c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=jj(a,16);d=c;c=x(x(1)/x(F(x(x(x(f*f)+x(g*g))+x(c*c)))));u[b+8>>2]=d*c;u[b+4>>2]=g*c;u[b>>2]=f*c;Ki(a,-1e4,128688);break b}b=Li(a,1,b,0);f=u[b>>2];g=u[b+4>>2];f:{g:{if(f!=f|g!=g){break g}c=u[b+8>>2];if(c!=c){break g}d=u[b+12>>2];if(d==d){break f}}c=u[b+8>>2];d=u[b+12>>2];v[e+48>>3]=g;v[e- -64>>3]=d;v[e+56>>3]=c;v[e+40>>3]=f;q[e+32>>2]=1;Bi(a,128909,e+32|0);d=u[b+12>>2];c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=jj(a,16);h=d;d=x(x(1)/x(F(x(x(x(x(f*f)+x(g*g))+x(c*c))+x(d*d)))));u[b+12>>2]=h*d;u[b+8>>2]=c*d;u[b+4>>2]=g*d;u[b>>2]=f*d;Ki(a,-1e4,128704);break b}b=Li(a,1,b,0);f=u[b>>2];g=u[b+4>>2];h:{i:{if(f!=f|g!=g){break i}c=u[b+8>>2];if(c!=c){break i}d=u[b+12>>2];if(d==d){break h}}c=u[b+8>>2];d=u[b+12>>2];v[e+96>>3]=g;v[e+112>>3]=d;v[e+104>>3]=c;v[e+88>>3]=f;q[e+80>>2]=1;Bi(a,129003,e+80|0);d=u[b+12>>2];c=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=jj(a,16);h=d;d=x(x(1)/x(F(x(x(x(x(f*f)+x(g*g))+x(c*c))+x(d*d)))));u[b+12>>2]=h*d;u[b+8>>2]=c*d;u[b+4>>2]=g*d;u[b>>2]=f*d;Ki(a,-1e4,128720)}ij(a,-2);a=1}ti=e+160|0;return a|0}function Oka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=ti-16|0;ti=f;g=q[a>>2];e=q[g>>2];c=Fi(Oi(112),0,112);q[c+52>>2]=0;q[c+56>>2]=0;q[c+48>>2]=-1;q[c+60>>2]=0;q[c+64>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;d=q[a+16>>2];b=q[g+8>>2];d=b>>>0>d>>>0?d:b;q[f+8>>2]=d;a:{b=T3(f+8|0,c+96|0);b:{if(b){q[f>>2]=b;Ai(5,45688,45696,f);b=-1e3;break b}N6(c,d);if(o[c+64|0]&1){break a}Ii(d,304,c+52|0,c+60|0,c+56|0);d=q[e+2384>>2];e=fp(d);Rk(e,45735,3,0);Rk(e,45744,3,0);Rk(e,45751,3,0);Rk(e,45759,4,0);Rk(e,45765,2,0);Rk(e,45775,2,0);q[c+68>>2]=xi[q[77450]](d,e);q[c+100>>2]=xi[q[77443]](d);q[c+72>>2]=Oi(64);b=Oi(260);q[b>>2]=16;q[c+76>>2]=Fi(b+4|0,0,256);b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+4>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+8>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+12>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+16>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+20>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+24>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+28>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+32>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+36>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+40>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+44>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+48>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+52>>2]=b;b=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+56>>2]=b;d=xi[q[77439]](d,0,0,1)|0;q[q[c+72>>2]+60>>2]=d;Xl(e);q[q[a+12>>2]>>2]=c;Qp(q[g+4>>2],201,c);b=0}ti=f+16|0;return b|0}J(46360,46296,493,46435);G()}function my(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-112|0;ti=e;g=c+24|0;a:{if(!uj(g,0)){f=lo(b,d);break a}b:{if(!q[d+32>>2]){break b}h=d+24|0;if(!uj(h,0)){f=lo(b,c);break a}if(!q[d+32>>2]){break b}f=-20352;if(uj(h,1)){break a}}q[e+104>>2]=0;q[e+96>>2]=1;q[e+100>>2]=0;q[e+88>>2]=0;q[e+80>>2]=1;q[e+84>>2]=0;f=e- -64|0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;q[e+56>>2]=0;q[e+48>>2]=1;q[e+52>>2]=0;q[e+40>>2]=0;q[e+32>>2]=1;q[e+36>>2]=0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;f=Pj(a,e+96|0,g,g);c:{if(f){break c}f=Pj(a,e+80|0,e+96|0,g);if(f){break c}f=Pj(a,e+96|0,e+96|0,d);if(f){break c}f=Pj(a,e+80|0,e+80|0,d+12|0);if(f){break c}f=pm(a,e+96|0,e+96|0,c);if(f){break c}d=c+12|0;f=pm(a,e+80|0,e+80|0,d);if(f){break c}if(!uj(e+96|0,0)){if(!uj(e+80|0,0)){f=ly(a,b,c);break c}f=tD(b);break c}f=Pj(a,e,g,e+96|0);if(f){break c}f=Pj(a,e- -64|0,e+96|0,e+96|0);if(f){break c}f=Pj(a,e+48|0,e- -64|0,e+96|0);if(f){break c}f=Pj(a,e- -64|0,e- -64|0,c);if(f){break c}f=gk(e+96|0,e- -64|0);if(f){break c}f=Tr(a,e+96|0);if(f){break c}f=Pj(a,e+32|0,e+80|0,e+80|0);if(f){break c}f=pm(a,e+32|0,e+32|0,e+96|0);if(f){break c}f=pm(a,e+32|0,e+32|0,e+48|0);if(f){break c}f=pm(a,e- -64|0,e- -64|0,e+32|0);if(f){break c}f=Pj(a,e- -64|0,e- -64|0,e+80|0);if(f){break c}f=Pj(a,e+48|0,e+48|0,d);if(f){break c}f=pm(a,e+16|0,e- -64|0,e+48|0);if(f){break c}f=gk(b,e+32|0);if(f){break c}f=gk(b+12|0,e+16|0);if(f){break c}f=gk(b+24|0,e)}Si(e+96|0);Si(e+80|0);Si(e- -64|0);Si(e+48|0);Si(e+32|0);Si(e+16|0);Si(e)}ti=e+112|0;return f}function Hz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/80|0)){d=q[a+4>>2];e:{if(!d){break e}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,80)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+72>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((g|0)!=(d|0)){q[a+12>>2]=d+80;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,80)+f|0;q[a+20>>2]=q[d+72>>2]}q[d>>2]=b;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;e=q[c+12>>2];q[d+16>>2]=q[c+8>>2];q[d+20>>2]=e;e=q[c+20>>2];q[d+24>>2]=q[c+16>>2];q[d+28>>2]=e;e=q[c+28>>2];q[d+32>>2]=q[c+24>>2];q[d+36>>2]=e;e=q[c+36>>2];q[d+40>>2]=q[c+32>>2];q[d+44>>2]=e;e=q[c+44>>2];q[d+48>>2]=q[c+40>>2];q[d+52>>2]=e;e=q[c+52>>2];q[d+56>>2]=q[c+48>>2];q[d+60>>2]=e;f=q[c+60>>2];e=d- -64|0;q[e>>2]=q[c+56>>2];q[e+4>>2]=f;q[d+72>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=c+w(e,80)|0;e=q[b+72>>2];if((e|0)!=-1){continue}break}q[b+72>>2]=(d-c|0)/80;break a}J(108530,108393,229,108538);G()}d=q[c+4>>2];a=w(e,80)+f|0;q[a+8>>2]=q[c>>2];q[a+12>>2]=d;d=q[c+60>>2];b=a- -64|0;q[b>>2]=q[c+56>>2];q[b+4>>2]=d;b=q[c+52>>2];q[a+56>>2]=q[c+48>>2];q[a+60>>2]=b;b=q[c+44>>2];q[a+48>>2]=q[c+40>>2];q[a+52>>2]=b;b=q[c+36>>2];q[a+40>>2]=q[c+32>>2];q[a+44>>2]=b;b=q[c+28>>2];q[a+32>>2]=q[c+24>>2];q[a+36>>2]=b;b=q[c+20>>2];q[a+24>>2]=q[c+16>>2];q[a+28>>2]=b;b=q[c+12>>2];q[a+16>>2]=q[c+8>>2];q[a+20>>2]=b;return}J(108542,108393,535,108604);G()}q[b>>2]=(d-c|0)/80}q[a+24>>2]=q[a+24>>2]+1}function I3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=ti-16|0;ti=l;a:{b:{c:{d:{e:{f:{g:{if(a){if(!(b>=x(0))){break g}n=q[a+4>>2]-q[a>>2]|0;m=(n|0)/28|0;h:{if((n|0)==182e4){q[l>>2]=65e3;Ai(4,128036,128043,l);d=-1;break h}g=s[a+36>>1];if((g|0)==s[a+38>>1]){h=(g>>>0<64984?g:64984)+16|0;k=h&65535;if(k>>>0>>0){break f}j=q[a+32>>2];f=Ji(h<<1);q[a+32>>2]=f;i=Gi(f,j,g<<1);p[a+36>>1]=h;if(g>>>0>>0){f=g;while(1){p[i+(f<<1)>>1]=f;f=f+1|0;if((h|0)!=(f|0)){continue}break}}yi(j);if(o[a+28|0]&1){break c}Ii(h,2,a+16|0,a+24|0,a+20|0);f=q[a+16>>2];if(q[a+24>>2]-f>>1>>>0>>0){break b}q[a+20>>2]=f+(h<<1);if(g>>>0>=h>>>0){break a}Fi(f+(g<<1)|0,0,h-g<<1)}f=q[a+32>>2];if(!f){break e}i=s[a+38>>1];if(i>>>0>=s[a+36>>1]){break d}k=a+4|0;g=s[a+44>>1];p[a+38>>1]=i+1;j=s[f+(i<<1)>>1];i=q[a+8>>2];f=q[a+4>>2];if((i|0)==(f|0)){if(o[a+12|0]&1){break c}f=((f-q[a>>2]|0)/28|0)+16|0;Ii(f>>>0<65e3?f:65e3,28,a,a+8|0,k);h=q[a+8>>2]}else{h=i}i=q[a>>2];f=m+1|0;if((h-i|0)/28>>>0>>0){break b}q[k>>2]=i+w(f,28);if((n+28|0)/28>>>0<=m>>>0){break a}f=i+w(m,28)|0;q[f+4>>2]=d;d=j|g<<16;q[f+12>>2]=d;g=q[a+20>>2];a=q[a+16>>2];if(j>>>0>=g-a>>1>>>0){break a}p[a+(j<<1)>>1]=m;u[f+16>>2]=b;u[f+20>>2]=b;q[f+8>>2]=e;q[f>>2]=862;o[f+24|0]=r[f+24|0]&252|c|2}ti=l+16|0;return d}J(127577,127536,286,127616);G()}J(127625,127536,287,127616);G()}J(128540,127846,112,128563);G()}J(127839,127846,151,128106);G()}J(128110,127846,152,128106);G()}J(128575,127953,493,128563);G()}J(128130,127953,506,128149);G()}J(128650,127953,479,128661);G()}function yv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=0,o=0,r=0,v=x(0);j=ti-16|0;ti=j;k=q[a+188>>2];f=q[a+196>>2];if(!f){f=q[k+8>>2]}g=q[f+20>>2];a:{if(!g){break a}g=q[q[f+16>>2]+(Qwa(b,c,g)<<2)>>2];if((g|0)==-1){break a}h=q[f+24>>2];while(1){g=g<<4;i=g+h|0;if((b|0)==q[i>>2]&q[i+4>>2]==(c|0)){break a}g=q[(g+h|0)+12>>2];if((g|0)!=-1){continue}break}i=0}b:{g=i?i+8|0:0;c:{if(g){i=q[g>>2];q[a+208>>2]=b;q[a+212>>2]=c;q[a+184>>2]=i;c=q[g>>2];b=q[f+64>>2];if(c>>>0>=t[b+8>>2]){break b}c=q[b+4>>2]+w(c,40)|0;b=q[c+20>>2];h=q[c+12>>2];l=q[c+16>>2];n=q[c+24>>2]-5|0;o=n>>>0<2;r=o|s[a+234>>1]&-2;p[a+234>>1]=r;m=x(b>>>0);b=l-h|0;h=(b<<1)-2|0;u[a+220>>2]=m/x((o?h?h:1:b)>>>0);h=q[c+24>>2];b=r&-3|((h|0)==2?2:((h|0)==4)<<1);p[a+234>>1]=b;l=b&-9|(q[c+24>>2]!=0)<<3;p[a+234>>1]=l;if(q[q[k+12>>2]+48>>2]==1){f=q[f+64>>2];if(i>>>0>=t[f+8>>2]){break b}k=q[f+4>>2];b=a;d:{if(q[f+60>>2]){f=q[f+56>>2]+(q[a+216>>2]+q[(k+w(i,40)|0)+12>>2]<<3)|0;m=u[f+4>>2];v=u[f>>2];break d}f=k+w(i,40)|0;m=x(t[f+8>>2]);v=x(t[f+4>>2])}u[b+64>>2]=v;q[a+72>>2]=1065353216;u[a+68>>2]=m}d=d>2]-2|0){case 0:case 2:d=x(x(1)-d);break;default:break e}}p[a+234>>1]=l|16;u[a+228>>2]=e>x(0)?e:x(0);d=d>>0<2?x(d*x(.5)):d;u[a+224>>2]=(h|0)==4^(h|0)==2?x(x(1)-d):d;xJ(a);break c}q[a+216>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0;p[a+234>>1]=s[a+234>>1]&65527;a=Mi(b,c);q[j+4>>2]=Mi(q[f+56>>2],q[f+60>>2]);q[j>>2]=a;Ai(4,47991,48187,j)}ti=j+16|0;return(g|0)!=0}J(48264,48276,88,48308);G()}function pia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),p=x(0),r=0;b=ti-144|0;ti=b;f=Zi(b+120|0,a,0,68051,292);i=q[a+8>>2]-q[a+12>>2]>>4;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;a:{if(!$l(a,b+88|0)){a=Bi(a,68093,0);break a}Bs(a,q[76920]);e=aj(a,-1);Ci(a,-2);g=Tj(a);d=q[q[q[g+80>>2]+8>>2]>>2];c=q[e+8>>2];if(t[q[d+4>>2]>>2]>c>>>0){d=q[(d+(c<<2)|0)+12>>2]}else{d=0}if(!d){a=sj(f,68156,0);break a}c=kl(a,1);j=u[c+8>>2];k=u[c+4>>2];l=u[c>>2];c=kl(a,2);m=u[c+8>>2];n=u[c+4>>2];p=u[c>>2];mj(a,3,5);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;c=0;if(rj(a,3)){while(1){r=fK(d,Zk(a,-1),wi);Ci(a,-2);c=c|r;if(rj(a,3)){continue}break}}b:{if((i|0)<4){break b}h=Xi(a,4);if(h>>>0<256){break b}a=Bi(a,68249,0);break a}u[b+56>>2]=m;u[b+52>>2]=n;q[b+68>>2]=h;q[b+64>>2]=c;u[b+48>>2]=p;u[b+40>>2]=j;u[b+36>>2]=k;u[b+32>>2]=l;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;a=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=a;d=q[63316];fk(b+88|0,b,q[d+8>>2],q[d+12>>2],g,d,b+32|0,48);a=0}Yi(f);ti=b+144|0;return a|0}function fba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=ti-16|0;ti=e;i=q[a+8>>2]-q[a+12>>2]>>4;gj(a,0,0);gj(a,0,1);ck(a,1404,0);Di(a,-2,198481);ij(a,-2);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);a:{b:{c:{d:{e:{f:{if(Ei(a,1)){f=fj(a,1,e+8|0);b=f;d=qv(c,s[b+554>>1]|s[b+552>>1]<<16,e+4|0);if(d){break f}Zj(a,q[f+544>>2],q[f+548>>2]);b=q[e+4>>2];d=jj(a,8);q[d+4>>2]=b;q[d>>2]=c;Ki(a,-1e4,196365);ij(a,-2);tj(a,-3);b=s[f+562>>1];g=s[96604];if((b|0)!=(g|0)){h=q[e+4>>2];while(1){b=b&65535;d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}b=d+w(b,576)|0;d=$I(a,c,b,e+12|0);if(d){break f}Zq(c,q[e+12>>2],h,0);b=s[b+558>>1];if((g|0)!=(b|0)){continue}break}}d=0;b=0;h=c;j=q[e+4>>2];f=s[f+560>>1];if((f|0)!=(g|0)){b=q[c+32>>2];if(f>>>0>=(q[c+36>>2]-b|0)/576>>>0){break a}b=b+w(f,576)|0;b=s[b+554>>1]|s[b+552>>1]<<16}Zq(h,j,b,0);break f}b=s[c+348>>1];f=s[96604];if((b|0)==(f|0)){break e}while(1){b=b&65535;d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}b=d+w(b,576)|0;d=qv(c,s[b+554>>1]|s[b+552>>1]<<16,e+12|0);if(d){break f}Zj(a,q[b+544>>2],q[b+548>>2]);d=q[e+12>>2];g=jj(a,8);q[g+4>>2]=d;q[g>>2]=c;Ki(a,-1e4,196365);ij(a,-2);tj(a,-3);d=aJ(a,c,s[b+562>>1],q[e+12>>2]);if(d){break f}Zq(c,q[e+12>>2],0,0);b=s[b+558>>1];if((f|0)!=(b|0)){continue}break}break e}c=201247;switch(d+4|0){case 0:break c;case 4:break e;default:break d}}c=1;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(196375,196298,3313,201291);G()}c=201170}Ci(a,-2);c=Bi(a,c,0)}ti=e+16|0;return c|0}J(202185,202196,479,202252);G()}function YT(a,b,c){var d=0,e=0,f=0;d=-28928;a:{b:{if(!a){break b}e=q[a>>2];if(!e){break b}c:{if(!(r[e+184|0]&2)){break c}d=Bp(a);if(d){break b}d=q[a+68>>2];if(!d|r[d+492|0]!=1){break c}d=sq(a);if(d){break b}}d=zC(a);if((d|0)!=-27392?d:0){break b}d:{if(q[a+4>>2]==16){break d}d=Nr(a);if(!d){break d}if((d|0)!=-27392){break b}}e=q[a+124>>2];if(!e){while(1){d=q[a+96>>2];e:{if(!d){break e}if((xi[d|0](q[a+88>>2])|0)!=-1){break e}d=q[q[a>>2]+148>>2];e=q[a+92>>2];if(e){xi[e|0](q[a+88>>2],d>>>2|0,d)}}f=0;d=Jn(a);if(d){if((d|0)!=-29312){break b}break a}f:{g:{if(q[a+132>>2]){break g}e=q[a+128>>2];if((e|0)!=23){break f}d=Jn(a);if(!d){break g}if((d|0)==-29312){break a}break b}e=q[a+128>>2]}h:{i:{if((e|0)==22){e=q[a>>2];d=q[e+184>>2];if(!(d&1|(q[a+168>>2]==((r[e+184|0]&2?12:4)|0)?!r[q[a+120>>2]]:0))){if(d&2){break i}return-30464}if(!(!(d&8192)|!(q[a+244>>2]|d&48))){if((d&3)==2){q[a+8>>2]=3}f=lC(a);if((f|0)==-27392){break i}if(f){break a}break i}if(q[a+20>>2]<1){return-27648}f=Ij(a,1,100);if(f){break a}break i}j:{if(q[a+8>>2]!=3){break j}d=q[q[a>>2]+160>>2];if((d|0)<0){break j}f=q[a+12>>2];q[a+12>>2]=f+1;if((d|0)>(f|0)){break j}return-30464}if((e|0)!=23){f=-26880;d=-30464;if((e|0)==21){break a}break b}e=q[a+120>>2];q[a+124>>2]=e;if(q[a+4>>2]!=16){break h}d=q[a+92>>2];if(d){xi[d|0](q[a+88>>2],0,0)}}e=q[a+124>>2]}if(!e){continue}break}}f=b;b=q[a+132>>2];d=b>>>0>c>>>0?c:b;Gi(f,e,d);b=q[a+132>>2]-d|0;q[a+132>>2]=b;if(!b){q[a+176>>2]=0;q[a+124>>2]=0;return d}q[a+124>>2]=q[a+124>>2]+d}return d}return f}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;g=q[b+12>>2];q[a+32>>2]=q[b+8>>2];q[a+36>>2]=g;a:{b:{c:{d:{e:{f:{e=q[b>>2];if(e){h=q[e+4>>2];if(h){break f}return}if(o[a+12|0]&1){break a}Ii(0,16,a,a+8|0,a+4|0);if(o[a+28|0]&1){break a}Ii(0,20,a+16|0,a+24|0,a+20|0);break e}d=q[e>>2];b=0;g:{while(1){g=c;if((c|0)==(h|0)){break g}b=q[(d+w(g,12)|0)+8>>2]+b|0;c=g+1|0;if(h>>>0>c>>>0){continue}break}if(!(o[a+12|0]&1)){Ii(c,16,a,a+8|0,a+4|0);d=q[a>>2];if(q[a+8>>2]-d>>4>>>0>g>>>0){q[a+4>>2]=d+(c<<4);if(!(o[a+28|0]&1)){Ii(b,20,a+16|0,a+24|0,a+20|0);c=q[a+16>>2];if((q[a+24>>2]-c|0)/20>>>0>=b>>>0){q[a+20>>2]=w(b,20)+c;if(b){while(1){h:{b=q[a>>2];if(q[a+4>>2]-b>>4>>>0>f>>>0){if(t[e+4>>2]<=f>>>0){break c}d=b+(f<<4)|0;l=w(f,12);q[d>>2]=zi(q[l+q[e>>2]>>2]);q[d+4>>2]=wi;b=t[e+4>>2]>f>>>0;if(!b){break c}m=q[(q[e>>2]+l|0)+8>>2];q[d+12>>2]=c;q[d+8>>2]=m;if(!m){break h}j=0;if(!b){break c}while(1){k=q[(q[e>>2]+l|0)+4>>2]+(j<<4)|0;u[c>>2]=t[k>>2];b=q[k+4>>2];q[c+8>>2]=0;u[c+4>>2]=b>>>0;i=q[k+12>>2];q[c+12>>2]=i;q[c+16>>2]=Oi((i&1073741823)!=(i|0)?-1:i<<2);if(i){b=0;while(1){h=b<<2;d=Jk(q[h+q[k+8>>2]>>2]);q[h+q[c+16>>2]>>2]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}}c=c+20|0;j=j+1|0;if((j|0)==(m|0)){break h}if(t[e+4>>2]>f>>>0){continue}break}break c}break d}b=(f|0)==(g|0);f=f+1|0;if(!b){continue}break}break e}break d}break b}break a}break b}break a}break c}return}J(107185,107196,479,107174);G()}J(107136,107148,148,107174);G()}J(107339,107196,506,107358);G()}J(107252,107196,493,107327);G()}function kua(a){var b=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=a+12|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+24|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+36|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+48|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+60|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+72|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+84|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+96|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+108|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+120|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+132|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+144|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+156|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+168|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+180|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+192|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+204|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+216|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+228|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+240|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+252|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+264|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+276|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+288|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+300|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+312|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+324|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+336|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+348|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+360|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+372|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+384|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;a=a+396|0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function g7(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0);g=u[a+20>>2];h=u[a+36>>2];i=u[a+52>>2];d=u[a+28>>2];j=u[a+24>>2];e=u[a+44>>2];k=u[a+40>>2];c=u[a+60>>2];l=u[a+56>>2];y=u[a+16>>2];z=u[a+32>>2];p=u[a+48>>2];m=u[a>>2];n=u[a+4>>2];f=u[a+12>>2];o=u[a+8>>2];q=x(f-o);u[b+80>>2]=q;o=x(o+f);u[b+64>>2]=o;r=x(f-n);u[b+48>>2]=r;n=x(n+f);u[b+32>>2]=n;s=x(f-m);u[b+16>>2]=s;f=x(m+f);u[b>>2]=f;A=x(c-l);u[b+92>>2]=A;m=x(e-k);u[b+88>>2]=m;t=x(d-j);u[b+84>>2]=t;B=x(l+c);u[b+76>>2]=B;k=x(k+e);u[b+72>>2]=k;j=x(j+d);u[b+68>>2]=j;C=x(c-i);u[b+60>>2]=C;l=x(e-h);u[b+56>>2]=l;v=x(d-g);u[b+52>>2]=v;D=x(i+c);u[b+44>>2]=D;h=x(h+e);u[b+40>>2]=h;g=x(g+d);u[b+36>>2]=g;E=x(c-p);u[b+28>>2]=E;i=x(e-z);u[b+24>>2]=i;w=x(d-y);u[b+20>>2]=w;p=x(p+c);u[b+12>>2]=p;e=x(z+e);u[b+8>>2]=e;d=x(y+d);u[b+4>>2]=d;c=x(F(x(x(x(q*q)+x(t*t))+x(m*m))));u[b+92>>2]=A/c;u[b+88>>2]=m/c;u[b+84>>2]=t/c;u[b+80>>2]=q/c;c=x(F(x(x(x(o*o)+x(j*j))+x(k*k))));u[b+76>>2]=B/c;u[b+72>>2]=k/c;u[b+68>>2]=j/c;u[b+64>>2]=o/c;c=x(F(x(x(x(r*r)+x(v*v))+x(l*l))));u[b+60>>2]=C/c;u[b+56>>2]=l/c;u[b+52>>2]=v/c;u[b+48>>2]=r/c;c=x(F(x(x(x(n*n)+x(g*g))+x(h*h))));u[b+44>>2]=D/c;u[b+40>>2]=h/c;u[b+36>>2]=g/c;u[b+32>>2]=n/c;c=x(F(x(x(x(s*s)+x(w*w))+x(i*i))));u[b+28>>2]=E/c;u[b+24>>2]=i/c;u[b+20>>2]=w/c;u[b+16>>2]=s/c;c=x(F(x(x(x(f*f)+x(d*d))+x(e*e))));u[b+12>>2]=p/c;u[b+8>>2]=e/c;u[b+4>>2]=d/c;u[b>>2]=f/c}function VG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=ti-16|0;ti=h;a:{b:{c:{d:{e:{f:{f=s[a+20>>1];e=s[a+22>>1];g:{if((f|0)==(e|0)){b=q[a>>2];a=q[a+8>>2];q[h+4>>2]=q[67554];q[h>>2]=a-b>>2;Ai(4,145356,145419,h);c=0;break g}i=q[b+16>>2];j=q[i+4>>2];d=Oi(96);q[d+52>>2]=0;q[d+56>>2]=0;q[d+44>>2]=1065353216;q[d+48>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+60>>2]=1065353216;q[d+64>>2]=0;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+79|0]=0;o[d+80|0]=0;o[d+81|0]=0;o[d+82|0]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;g=q[a+16>>2];if(!g){break f}if(f>>>0<=e>>>0){break e}p[a+22>>1]=e+1;f=s[g+(e<<1)>>1];e=s[a+32>>1];e=e?e:1;p[a+32>>1]=e+1;p[d+80>>1]=e;e=q[a>>2];if(f>>>0>=q[a+4>>2]-e>>2>>>0){break b}q[e+(f<<2)>>2]=d;q[d+64>>2]=b;if(!(!c|!q[c+4>>2])){b=q[c+4>>2];q[d+68>>2]=q[c>>2];q[d+72>>2]=b}if(o[d+12|0]&1){break d}Ii(j,304,d,d+8|0,d+4|0);b=q[d>>2];if((q[d+8>>2]-b|0)/304>>>0>>0){break c}c=w(j,304);q[d+4>>2]=c+b;g=s[d+80>>1];e=pk();b=0;Fi(q[d>>2],0,c);c=f|g<<16;if(!j){break g}while(1){f=q[d>>2];if((q[d+4>>2]-f|0)/304>>>0<=b>>>0){break b}g=s[a+34>>1];p[a+34>>1]=g+1;if(t[i+4>>2]<=b>>>0){break a}f=f+w(b,304)|0;k=w(b,144);g=g+(b+e|0)|0;oz(f,k+q[i>>2]|0,g);q[f+276>>2]=g;if(t[i+4>>2]<=b>>>0){break a}KG(c,b,d,f,q[i>>2]+k|0);nz(f);b=b+1|0;if((j|0)!=(b|0)){continue}break}}ti=h+16|0;return c}J(146637,145869,151,146644);G()}J(146648,145869,152,146644);G()}J(145676,145751,493,145807);G()}J(145819,145751,506,145838);G()}J(146626,145751,479,145962);G()}J(145920,145932,261,145962);G()}function GB(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];g=c+(d<<3)|0;f=q[g>>2];h=q[a>>2];c=c+(h<<3)|0;i=q[c>>2];g=q[g+4>>2];c=q[c+4>>2];if((g|0)==(c|0)&f>>>0>>0|c>>>0>g>>>0){q[e>>2]=d;q[e+4>>2]=q[a>>2];return}q[e>>2]=h;q[e+4>>2]=q[b>>2];return;default:if((d|0)<=8){if((a|0)==(b|0)){break a}d=q[a>>2];q[e>>2]=d;f=a+4|0;if((f|0)==(b|0)){break a}h=q[c>>2];a=e;while(1){g=a+4|0;c=q[f>>2];i=h+(c<<3)|0;l=q[i>>2];j=h+(d<<3)|0;k=q[j>>2];i=q[i+4>>2];j=q[j+4>>2];d:{if((i|0)==(j|0)&k>>>0>l>>>0|i>>>0>>0){q[a+4>>2]=d;m=e;e:{if((a|0)==(e|0)){break e}while(1){i=h+(q[f>>2]<<3)|0;l=q[i>>2];d=a-4|0;j=q[d>>2];k=h+(j<<3)|0;c=q[k>>2];i=q[i+4>>2];k=q[k+4>>2];m=a;if((i|0)==(k|0)&c>>>0<=l>>>0|i>>>0>k>>>0){break e}q[a>>2]=j;a=d;if((e|0)!=(a|0)){continue}break}m=e}q[m>>2]=q[f>>2];break d}q[g>>2]=c}f=f+4|0;if((f|0)==(b|0)){break a}d=q[g>>2];a=g;continue}}f=d>>>1|0;h=f<<2;g=h+a|0;sp(a,g,c,f,e,f);d=d-f|0;sp(g,b,c,d,e+h|0,d);c=q[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){q[e>>2]=q[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=q[d>>2];h=c+(f<<3)|0;i=q[h>>2];l=q[a>>2];j=c+(l<<3)|0;k=q[j>>2];h=q[h+4>>2];j=q[j+4>>2];f:{if((h|0)==(j|0)&i>>>0>>0|h>>>0>>0){q[e>>2]=f;d=d+4|0;break f}q[e>>2]=l;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break}break b;case 0:break a;case 1:break c}}q[e>>2]=q[a>>2];break a}if((b|0)==(d|0)){break a}while(1){q[e>>2]=q[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function el(a,b,c){if(!b){return 0}a=a^-1;a:{if(!c|!(b&3)){break a}while(1){a=q[((r[b|0]^a&255)<<2)+179040>>2]^a>>>8;b=b+1|0;c=c-1|0;if(!c){break a}if(b&3){continue}break}}if(c>>>0>31){while(1){a=q[b>>2]^a;a=q[b+4>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+8>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+12>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+16>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+20>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+24>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[b+28>>2]^(q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2]);a=q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=q[b>>2]^a;a=q[(a>>>6&1020)+181088>>2]^q[((a&255)<<2)+182112>>2]^q[(a>>>14&1020)+180064>>2]^q[(a>>>22&1020)+179040>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(c){while(1){a=q[((r[b|0]^a&255)<<2)+179040>>2]^a>>>8;b=b+1|0;c=c-1|0;if(c){continue}break}}return a^-1}function xia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-160|0;ti=b;e=Zi(b+136|0,a,0,68051,663);d=Xi(a,1);a:{if((d|0)>=5){q[b>>2]=d;c=sj(e,68964,b);break a}f=Mj(a,3);g=wi;c=kl(a,4);u[b+112>>2]=u[c>>2];u[b+116>>2]=u[c+4>>2];u[b+120>>2]=u[c+8>>2];c=kl(a,6);u[b+96>>2]=u[c>>2];u[b+100>>2]=u[c+4>>2];u[b+104>>2]=u[c+8>>2];c=q[q[Tj(a)+80>>2]+8>>2];q[b+92>>2]=0;q[b+88>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;wl(a,2,c,67845,b+92|0,b+24|0,b+88|0);q[b+84>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;wl(a,5,c,67845,b+84|0,b+24|0,b+80|0);if(q[b+88>>2]!=q[b+80>>2]){c=sj(e,68987,0);break a}c=0;o[b+24|0]=0;b:{c:{switch(d|0){case 0:q[b+36>>2]=0;q[b+28>>2]=1065353216;q[b+32>>2]=0;break b;case 1:q[b+28>>2]=0;break b;case 2:o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;o[b+53|0]=0;o[b+54|0]=0;o[b+55|0]=0;o[b+56|0]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+57|0]=0;break b;case 3:q[b+68>>2]=0;q[b+72>>2]=0;q[b+36>>2]=1065353216;q[b+40>>2]=0;q[b+44>>2]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;q[b+56>>2]=0;q[b+60>>2]=0;o[b- -64|0]=0;break b;case 4:break c;default:break b}}q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0}zJ(a,d,7,b+24|0);a=Ija(q[b+88>>2],q[b+92>>2],f,g,q[b+84>>2],d);if(!a){break a}q[b+20>>2]=a;q[b+16>>2]=q[(a<<2)+244592>>2];c=sj(e,69067,b+16|0)}Yi(e);ti=b+160|0;return c|0}function xE(a,b,c,d){var e=0,f=0,g=0;f=ti-16|0;ti=f;g=xj(a,d);a:{b:{c:{switch(q[b+1324>>2]){case 0:axa(+g);e=Zwa(1)|0;Zwa(0)|0;if((e&2146435072)!=2146435072){break b}if(!q[b+1332>>2]){om(c)}d=Ei(a,d);e=135271;d:{if((d|0)==-1){break d}e=q[(d<<2)+267792>>2]}q[f+4>>2]=133979;q[f>>2]=e;Bi(a,134210,f);break b;case 1:axa(+g);d=Zwa(1)|0;a=Zwa(0)|0;d=d&2147483647;e=d;if((d|0)==2146435072&a>>>0>=1|d>>>0>2146435072){a=c+8|0;b=q[a>>2];if((q[c+4>>2]+(b^-1)|0)<=2){Ek(c,b+3|0);b=q[c+8>>2]}b=q[c>>2]+b|0;c=r[134007]|r[134008]<<8;o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=r[134009];b=3;break a}if(a|(e|0)!=2146435072){break b}a=c+8|0;b=q[a>>2];d=q[c+4>>2]+(b^-1)|0;if(!(g<0^1)){if((d|0)<=8){Ek(c,b+9|0);b=q[c+8>>2]}b=q[c>>2]+b|0;c=r[134015]|r[134016]<<8|(r[134017]<<16|r[134018]<<24);d=r[134011]|r[134012]<<8|(r[134013]<<16|r[134014]<<24);o[b|0]=d;o[b+1|0]=d>>>8;o[b+2|0]=d>>>16;o[b+3|0]=d>>>24;o[b+4|0]=c;o[b+5|0]=c>>>8;o[b+6|0]=c>>>16;o[b+7|0]=c>>>24;o[b+8|0]=r[134019];b=9;break a}if((d|0)<=7){Ek(c,b+8|0);b=q[c+8>>2]}b=q[c>>2]+b|0;o[b|0]=73;o[b+1|0]=110;o[b+2|0]=102;o[b+3|0]=105;o[b+4|0]=110;o[b+5|0]=105;o[b+6|0]=116;o[b+7|0]=121;b=8;break a;default:break c}}axa(+g);a=Zwa(1)|0;Zwa(0)|0;if((a&2146435072)!=2146435072){break b}b=4;a=c+8|0;d=q[a>>2];if((q[c+4>>2]+(d^-1)|0)<=3){Ek(c,d+4|0);d=q[c+8>>2]}c=q[c>>2]+d|0;o[c|0]=110;o[c+1|0]=117;o[c+2|0]=108;o[c+3|0]=108;break a}a=c+8|0;d=q[a>>2];if((q[c+4>>2]+(d^-1)|0)<=31){Ek(c,d+32|0);d=q[c+8>>2]}b=j_(q[c>>2]+d|0,g,q[b+1328>>2])}q[a>>2]=q[a>>2]+b;ti=f+16|0}function Nla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;f=q[q[a+24>>2]>>2];a:{b:{c=q[a+16>>2];e=q[a+20>>2];c:{if((c|0)==q[75154]&(e|0)==q[75155]){b=Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[75136],q[75137],f+16|0);break c}d:{if((c|0)==q[75150]&(e|0)==q[75151]){b=-12;if(!(o[a+112|0]&1)){break c}c=q[q[q[a+8>>2]+80>>2]>>2];q[d+28>>2]=0;b=Gm(c,a+32|0,q[75134],q[75135],d+28|0);if(b){break c}if(!gJ(q[f+8>>2],q[a+104>>2],q[a+108>>2],q[d+28>>2],q[a+40>>2],q[a+44>>2])){c=f+28|0;a=q[c>>2];e=f+32|0;b=q[e>>2];if((a|0)==(b|0)){if(o[f+36|0]&1){break b}b=a;a=f+24|0;Ii((b-q[a>>2]>>2)+1|0,4,a,e,c);b=q[e>>2];a=q[c>>2]}if((a|0)==(b|0)){break a}b=q[d+28>>2];q[c>>2]=a+4;q[a>>2]=b;b=0;break c}a=Mi(q[a+104>>2],q[a+108>>2]);q[d+4>>2]=q[q[f+4>>2]+72>>2];q[d>>2]=a;Ai(4,36048,38567,d);Pi(c,q[d+28>>2]);break d}b=-1;if(q[75172]!=(c|0)|q[75173]!=(e|0)){break c}b=-12;if(!(o[a+112|0]&1)){break c}b=q[q[q[a+8>>2]+80>>2]>>2];q[d+28>>2]=0;b=Gm(b,a+32|0,q[75144],q[75145],d+28|0);if(b){break c}e=q[d+28>>2];c=q[e+48>>2];b=q[c+4>>2];c=q[c>>2];b=fJ(q[f+8>>2],q[a+104>>2],q[a+108>>2],e,2,xi[q[77510]](c,b)|0,xi[q[77511]](c,b)|0);if(!b){c=f+28|0;a=q[c>>2];e=f+32|0;b=q[e>>2];if((a|0)==(b|0)){if(o[f+36|0]&1){break b}b=a;a=f+24|0;Ii((b-q[a>>2]>>2)+1|0,4,a,e,c);b=q[e>>2];a=q[c>>2]}if((a|0)==(b|0)){break a}b=q[d+28>>2];q[c>>2]=a+4;q[a>>2]=b;b=0;break c}a=Mi(q[a+104>>2],q[a+108>>2]);q[d+20>>2]=b;q[d+16>>2]=a;Ai(4,36048,37551,d+16|0)}b=-7}ti=d+32|0;return b|0}J(36255,36330,493,36386);G()}J(36549,36330,533,36573);G()}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,m=0,n=0,s=0,u=0;d=q[a+156>>2];j=q[d+4>>2];e=q[j+8>>2];c=w(w(e,q[d+28>>2]),q[d+32>>2]&2147483647);b=q[a+100>>2];if(b){yi(b)}b=c+c|0;b=Oi(b>>>0>>0?-1:b);q[a+100>>2]=b;Fi(b,255,c<<1);b=q[a+104>>2];if(b){yi(b)}b=Oi(c);q[a+104>>2]=b;Fi(b,0,c);a:{b:{c:{d:{if(!(o[a+136|0]&1)){c=q[d+32>>2];l=q[d+28>>2];m=q[d+40>>2];n=q[d+36>>2];Ii(e,1,a+124|0,a+132|0,a+128|0);b=q[a+124>>2];if(q[a+132>>2]-b>>>0>=e>>>0){q[a+128>>2]=b+e;if(!e){break d}s=c&2147483647;c=0;while(1){e:{if(t[j+8>>2]>c>>>0){b=q[a+124>>2];if(q[a+128>>2]-b>>>0<=c>>>0){break c}b=b+c|0;i=q[j+4>>2]+(c<<5)|0;o[b|0]=r[b|0]&254|o[i+8|0]&1;k=q[i+28>>2];if(!k){break e}u=w(c,s)-m|0;g=0;while(1){f=q[i+24>>2]+w(g,24)|0;b=w(q[f+4>>2]+u|0,l)+(q[f>>2]-n|0)|0;p[q[a+100>>2]+(b<<1)>>1]=q[f+8>>2];h=b+q[a+104>>2]|0;b=r[h|0]&-8;o[h|0]=b;if(q[f+12>>2]){b=b|1;o[h|0]=b}if(q[f+16>>2]){b=b|2;o[h|0]=b}if(q[f+20>>2]){o[h|0]=b|4}g=g+1|0;if((k|0)==(g|0)){break e}if(t[i+28>>2]>g>>>0){continue}break}J(50624,50636,164,50661);G()}J(50624,50636,189,50661);G()}c=c+1|0;if((e|0)!=(c|0)){continue}break}break d}break b}break a}c=q[d+28>>2]+31>>>5|0;p[a+160>>1]=c;d=q[d+32>>2]+31>>>5|0;p[a+162>>1]=d;f:{if(!(o[a+120|0]&1)){d=w(d&65535,c&65535);Ii(d,1,a+108|0,a+116|0,a+112|0);c=q[a+108>>2];if(d>>>0>q[a+116>>2]-c>>>0){break b}q[a+112>>2]=c+d;if(!d){break f}Fi(c,255,d);p[a+164>>1]=wJ(a);return e}break a}}J(50672,50529,479,50661);G()}J(50597,50529,506,50616);G()}J(50454,50529,493,50585);G()}function dO(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=x(0),h=x(0),i=x(0),j=0,k=0,l=x(0),m=x(0),n=x(0),p=0,s=0,t=x(0),v=0,w=0,z=0,B=0,E=x(0),F=x(0);j=q[b+48>>2];p=q[b+52>>2];g=u[b+40>>2];w=q[b+4>>2];s=w+q[b+44>>2]|0;o[s|0]=r[s-1|0];n=u[b+32>>2];i=u[b+28>>2];k=q[a+4>>2];v=q[a>>2];h=u[b+20>>2];l=u[b+16>>2];g=x(g*x(+(Pwa(c<<31,c>>>1|0,d)>>>0)+ +(wi>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;s=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;s=0}b:{c:{d:{if(!f){q[b+48>>2]=j;q[b+52>>2]=p;a=q[b+44>>2];d=0;break d}E=x(x(1)/x(f>>>0));t=i;g=x(n-i);i=x(k>>>0);n=x(g/i);m=x(v>>>0);g=x(t+x(n*m));n=x(x(n+g)-g);t=l;l=x(x(h-l)/i);i=x(t+x(l*m));l=x(x(l+i)-i);d=0;a=0;while(1){z=d;d=d+w|0;k=r[d|0];d=r[d+1|0];h=x(E*x(a|0));m=x(+x(g+x(n*h))*1.5707963267948966);t=xl(m);v=a<<3;B=v+e|0;F=x(i+x(l*h));h=x(x(+(j>>>0)+ +(p>>>0)*4294967296)*x(4.656612873077393e-10));h=x(F*x(x(x(x(1)-h)*x((-128-k&255)>>>0))+x(h*x((-128-d&255)>>>0))));u[B>>2]=u[B>>2]+x(t*h);m=uk(m);d=(v|4)+e|0;u[d>>2]=u[d>>2]+x(m*h);d=j;j=c;k=d+j|0;d=p+s|0;d=k>>>0>>0?d+1|0:d;j=k&2147483647;p=0;d=((d&2147483647)<<1|k>>>31)+z|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=j;q[b+52>>2]=p;a=q[b+44>>2];if(z>>>0>a>>>0){break c}if(a>>>0>>0){break b}}c=q[b+4>>2];Sk(c,c+d|0,a-d|0);q[b+44>>2]=q[b+44>>2]-d;return}J(205018,204086,923,205055);G()}J(205073,204086,926,205055);G()}function L2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0);g=ti-96|0;ti=g;b=Li(a,1,q[212904],0);l=u[b>>2];m=u[b+4>>2];a:{if(!(l!=l|m!=m)){k=u[b+8>>2];if(k==k){break a}}k=u[b+8>>2];v[g+80>>3]=m;v[g+88>>3]=k;v[g+72>>3]=l;q[g+64>>2]=1;Bi(a,128819,g- -64|0);k=u[b+8>>2];m=u[b+4>>2];l=u[b>>2]}b=Li(a,2,q[212904],0);e=u[b>>2];i=u[b+4>>2];b:{if(!(e!=e|i!=i)){f=u[b+8>>2];if(f==f){break b}}c=u[b+8>>2];v[g+48>>3]=i;v[g+56>>3]=c;v[g+40>>3]=e;q[g+32>>2]=2;Bi(a,128819,g+32|0);f=u[b+8>>2];i=u[b+4>>2];e=u[b>>2]}b=Li(a,3,q[212904],0);c=u[b>>2];d=u[b+4>>2];c:{if(!(c!=c|d!=d)){h=u[b+8>>2];if(h==h){break c}}h=u[b+8>>2];v[g+16>>3]=d;v[g+24>>3]=h;v[g+8>>3]=c;q[g>>2]=3;Bi(a,128819,g);h=u[b+8>>2];d=u[b+4>>2];c=u[b>>2]}b=jj(a,64);q[b+60>>2]=1065353216;q[b+44>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;j=x(l-e);i=x(m-i);e=x(k-f);f=x(x(1)/x(F(x(x(x(j*j)+x(i*i))+x(e*e)))));e=x(e*f);u[b+40>>2]=e;i=x(i*f);u[b+24>>2]=i;f=x(j*f);u[b+8>>2]=f;u[b+56>>2]=-x(x(l*f)+x(x(m*i)+x(k*e)));n=c;c=x(x(1)/x(F(x(x(x(c*c)+x(d*d))+x(h*h)))));j=x(n*c);o=x(d*c);d=x(x(i*j)-x(f*o));n=d;p=x(d*d);c=x(h*c);h=x(x(e*o)-x(i*c));d=x(x(f*c)-x(e*j));j=x(x(1)/x(F(x(p+x(x(h*h)+x(d*d))))));c=x(n*j);u[b+32>>2]=c;d=x(d*j);u[b+16>>2]=d;h=x(h*j);u[b>>2]=h;j=x(x(f*d)-x(i*h));u[b+36>>2]=j;f=x(x(e*h)-x(f*c));u[b+20>>2]=f;e=x(x(i*c)-x(e*d));u[b+4>>2]=e;u[b+48>>2]=-x(x(l*h)+x(x(m*d)+x(k*c)));u[b+52>>2]=-x(x(l*e)+x(x(m*f)+x(k*j)));Ki(a,-1e4,128736);ij(a,-2);ti=g+96|0;return 1}function I6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a>>2];c=(q[a+4>>2]-d|0)/240|0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){h=c-1|0;e=q[a+32>>2];if(h>>>0>=q[a+36>>2]-e>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(c>>>0<=i>>>0){break d}c=q[(h<<2)+e>>2];Fi(d+w(i,240)|0,0,240);d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];d=q[a+4>>2];c=q[a>>2];if(e>>>0>=(d-c|0)/240>>>0){break c}c=c+w(e,240)|0;d=d-240|0;q[c>>2]=q[d>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+64>>2]=u[d+64>>2];u[c+68>>2]=u[d+68>>2];u[c+72>>2]=u[d+72>>2];u[c+80>>2]=u[d+80>>2];u[c+84>>2]=u[d+84>>2];u[c+88>>2]=u[d+88>>2];u[c+92>>2]=u[d+92>>2];u[c+96>>2]=u[d+96>>2];u[c+100>>2]=u[d+100>>2];u[c+104>>2]=u[d+104>>2];u[c+108>>2]=u[d+108>>2];u[c+112>>2]=u[d+112>>2];u[c+116>>2]=u[d+116>>2];u[c+120>>2]=u[d+120>>2];u[c+124>>2]=u[d+124>>2];u[c+128>>2]=u[d+128>>2];u[c+132>>2]=u[d+132>>2];u[c+136>>2]=u[d+136>>2];u[c+140>>2]=u[d+140>>2];Gi(c+144|0,d+144|0,92);c=q[a+4>>2]-240|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(49216,49127,152,49237);G()}J(49242,48598,513,49257);G()}J(49267,48598,516,49257);G()}J(48683,48598,479,48308);G()}function EZ(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;a:{f=863480;g=q[215876];b:{if(g){f=0;e=863480;if(q[215877]==(a|0)){break b}}c:{if(!q[215884]){e=863512;break c}e=0;if(q[215885]!=(a|0)){break c}e=863512;break b}d:{if(!q[215892]){h=863544;break d}if(q[215893]!=(a|0)){break d}e=863544;break b}e:{if(!q[215900]){i=863576;break e}if(q[215901]!=(a|0)){break e}e=863576;break b}f:{if(!q[215908]){j=863608;break f}if(q[215909]!=(a|0)){break f}e=863608;break b}g:{if(!q[215916]){k=863640;break g}if(q[215917]!=(a|0)){break g}e=863640;break b}h:{if(!q[215924]){l=863672;break h}if(q[215925]!=(a|0)){break h}e=863672;break b}i:{if(!q[215932]){m=863704;break i}if(q[215933]!=(a|0)){break i}e=863704;break b}j:{if(!q[215940]){n=863736;break j}if(q[215941]!=(a|0)){break j}e=863736;break b}k:{if(!q[215948]){o=863768;break k}if(q[215949]!=(a|0)){break k}e=863768;break b}l:{if(!q[215956]){p=863800;break l}if(q[215957]!=(a|0)){break l}e=863800;break b}e=g?e:f;e=e?e:h;e=e?e:i;e=e?e:j;e=e?e:k;e=e?e:l;e=e?e:m;e=e?e:n;e=e?e:o;e=e?e:p;if(!e){break a}q[e+24>>2]=e}f=q[e+4>>2];if(!d){if((f|0)!=6){break a}q[e+28>>2]=a;q[e+4>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+12>>2]=c;q[e+8>>2]=b;return}if((f|0)==6){q[e+24>>2]=0;return}if((f|0)==5){break a}a=(d|0)==4?3:d;g=(a|0)!=1;if((f|0)==3?!g:0){break a}h=q[e+12>>2];q[e+12>>2]=c;i=q[e+8>>2];q[e+8>>2]=b;q[e+16>>2]=b-i;q[e+20>>2]=c-h;if(f?0:!g){break a}if(!(f|(a|0)!=3)){q[e+4>>2]=5;return}q[e+4>>2]=d}}function eJ(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=x(0),t=0,v=0;m=ti-160|0;ti=m;a:{n=b&65535;o=q[a+32>>2];if(n>>>0<(q[a+36>>2]-o|0)/576>>>0){if(s[(o+w(n,576)|0)+552>>1]!=(b>>>16|0)){break a}t=lv(c,d);b:{if(t){o=(o+w(n,576)|0)+(q[t+8>>2]<<4)|0;c=r[t+12|0];if((c|0)==255){p=u[e>>2];c=q[f>>2];d=q[f+4>>2];n=q[f+12>>2];v=q[f+16>>2];t=v;q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;v=q[m+148>>2];q[m+96>>2]=q[m+144>>2];q[m+100>>2]=v;q[m+104>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+88>>2]=c;q[m+92>>2]=d;br(a,b,o,p,m+88|0,g,h,i,x(1),0,0,0);p=u[e+4>>2];q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;v=q[m+148>>2];q[m+72>>2]=q[m+144>>2];q[m+76>>2]=v;q[m+80>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+64>>2]=c;q[m+68>>2]=d;br(a,b,o+4|0,p,m- -64|0,g,h,i,x(1),0,0,0);p=u[e+8>>2];q[m+144>>2]=0;q[m+148>>2]=n;q[m+152>>2]=t;n=q[m+148>>2];q[m+48>>2]=q[m+144>>2];q[m+52>>2]=n;q[m+56>>2]=q[m+152>>2];q[m+136>>2]=c;q[m+140>>2]=d;q[m+40>>2]=c;q[m+44>>2]=d;br(a,b,o+8|0,p,m+40|0,g,h,i,x(1),0,0,0);p=u[e+12>>2];q[m+32>>2]=q[f+16>>2];c=q[f+12>>2];q[m+24>>2]=q[f+8>>2];q[m+28>>2]=c;c=q[f+4>>2];q[m+16>>2]=q[f>>2];q[m+20>>2]=c;br(a,b,o+12|0,p,m+16|0,g,h,i,x(1),j,k,l);break b}c=c<<2;p=u[c+e>>2];q[m+128>>2]=q[f+16>>2];d=q[f+12>>2];q[m+120>>2]=q[f+8>>2];q[m+124>>2]=d;d=q[f+4>>2];q[m+112>>2]=q[f>>2];q[m+116>>2]=d;br(a,b,c+o|0,p,m+112|0,g,h,i,x(1),j,k,l);break b}q[m>>2]=Mi(c,d);Ai(4,193721,194879,m)}ti=m+160|0;return}J(195730,195579,479,195741);G()}J(193606,193630,3526,194863);G()}function YU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-32|0;ti=g;a:{if(!a){d=-5248;break a}d=-4224;e=on(b,168968);if(!e){break a}f=on(b,168996);if(f>>>0<=e>>>0){break a}j=1;e=Ui(168968)+e|0;h=r[e|0]==32;i=h?e+1|0:e;e=r[e+h|0]==13?i+1|0:i;if(r[e|0]!=10){break a}d=Ui(168996)+f|0;h=r[d|0]==32;i=c;c=h?d+1|0:d;c=r[d+h|0]==13?c+1|0:c;q[i>>2]=(r[c|0]==10?c+1|0:c)-b;b=e+1|0;b:{if((f-b|0)<22){break b}if(pj(b,157888,22)){break b}d=-4352;b=r[e+23|0]==13;if(r[e+(b?24:23)|0]!=10){break a}c=1;e=b?e+24|0:e+23|0;b=e+1|0;d=f-b|0;c:{d:{e:{if((d|0)>=23){if(pj(b,157911,23)){break e}d=-4608;b=e+24|0;if((f-b|0)<16){break a}if(hx(b,g,8)){break a}b=e+40|0;break d}if((d|0)<18){break c}}if(pj(b,157935,18)){break c}d=-4608;b=e+19|0;if((f-b|0)<16){break a}if(hx(b,g,8)){break a}b=e+35|0}c=0}f:{g:{e=f-b|0;if((e|0)<14){break g}if(pj(b,157954,14)){break g}d=-4736;if((e|0)<22){break a}h:{if(!pj(b,157969,22)){break h}if(!pj(b,157992,22)){break h}if(pj(b,158015,22)){break a}}d=-4608;c=b+22|0;if((f-c|0)<32){break a}if(hx(c,g,16)){break a}b=b+54|0;break f}d=-4736;if(c){break a}}d=-4352;b=r[b|0]==13?b+1|0:b;if(r[b|0]!=10){break a}b=b+1|0;j=0}d=-4352;if(b>>>0>=f>>>0){break a}d=-4396;f=f-b|0;if((OD(0,0,g+28|0,b,f)|0)==-44){break a}d=q[g+28>>2];c=Vj(1,d);if(!c){d=-4480;break a}b=OD(c,d,g+28|0,b,f);if(b){xi[q[68401]](c,0,q[g+28>>2])|0;yi(c);d=b-4352|0;break a}i:{if(j){b=q[g+28>>2];break i}xi[q[68401]](c,0,q[g+28>>2])|0;yi(c);d=-4864;break a}q[a+4>>2]=b;q[a>>2]=c;d=0}ti=g+32|0;return d}function eua(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=ti-16|0;ti=h;g=h+8|0;a:{if((r[a+3|0]&2)>>>1|0){f=gua(a);if(c){Zta(g,f,dua(a));break a}_ta(g,f);break a}$ta(h,hua(a,c));q[g>>2]=q[h>>2]}i=(cua(a,c)<<4)+100928|0;d=q[i>>2];c=0;f=d+r[h+8|0]|0;b:{c:{if(f>>>0<256){c=f;break c}a=255;if((f|0)>=0){break b}}a=c}f=a;a=0;e=d+r[g+1|0]|0;d:{e:{if(e>>>0<256){a=e;break e}c=255;if((e|0)>=0){break d}}c=a}a=0;d=d+r[g+2|0]|0;f:{g:{if(d>>>0<256){a=d;break g}e=255;if((d|0)>=0){break f}}e=a}o[b+3|0]=255;o[b+2|0]=e;o[b+1|0]=c;o[b|0]=f;a=0;d=q[i+4>>2];f=d+r[h+8|0]|0;h:{i:{if(f>>>0<256){a=f;break i}c=255;if((f|0)>=0){break h}}c=a}f=c;a=0;e=d+r[g+1|0]|0;j:{k:{if(e>>>0<256){a=e;break k}c=255;if((e|0)>=0){break j}}c=a}a=0;d=d+r[g+2|0]|0;l:{m:{if(d>>>0<256){a=d;break m}e=255;if((d|0)>=0){break l}}e=a}o[b+7|0]=255;o[b+6|0]=e;o[b+5|0]=c;o[b+4|0]=f;a=0;d=q[i+8>>2];f=d+r[h+8|0]|0;n:{o:{if(f>>>0<256){a=f;break o}c=255;if((f|0)>=0){break n}}c=a}f=c;a=0;e=d+r[g+1|0]|0;p:{q:{if(e>>>0<256){a=e;break q}c=255;if((e|0)>=0){break p}}c=a}a=0;d=d+r[g+2|0]|0;r:{s:{if(d>>>0<256){a=d;break s}e=255;if((d|0)>=0){break r}}e=a}o[b+11|0]=255;o[b+10|0]=e;o[b+9|0]=c;o[b+8|0]=f;a=0;d=q[i+12>>2];f=d+r[h+8|0]|0;t:{u:{if(f>>>0<256){a=f;break u}c=255;if((f|0)>=0){break t}}c=a}f=c;a=0;e=d+r[g+1|0]|0;v:{w:{if(e>>>0<256){a=e;break w}c=255;if((e|0)>=0){break v}}c=a}a=0;d=d+r[g+2|0]|0;x:{y:{if(d>>>0<256){a=d;break y}e=255;if((d|0)>=0){break x}}e=a}o[b+15|0]=255;o[b+14|0]=e;o[b+13|0]=c;o[b+12|0]=f;ti=h+16|0}function fq(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,s=0,t=0,u=0,v=0;d=a&65535;e=a>>>16|0;if((c|0)==1){a=r[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+e|0;c=b<<16;return(b>>>0>65520?c+983040|0:c)|a}if(b){if(c>>>0>=16){a:{b:{c:{if(c>>>0>5551){while(1){c=c-5552|0;f=347;a=b;while(1){g=r[a|0]+d|0;h=g+r[a+1|0]|0;i=h+r[a+2|0]|0;j=i+r[a+3|0]|0;k=j+r[a+4|0]|0;l=k+r[a+5|0]|0;m=l+r[a+6|0]|0;n=m+r[a+7|0]|0;o=n+r[a+8|0]|0;p=o+r[a+9|0]|0;q=p+r[a+10|0]|0;s=q+r[a+11|0]|0;t=s+r[a+12|0]|0;u=t+r[a+13|0]|0;v=u+r[a+14|0]|0;d=v+r[a+15|0]|0;e=d+(v+(u+(t+(s+(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 a}if(c>>>0<16){break c}}while(1){a=r[b|0]+d|0;f=a+r[b+1|0]|0;g=f+r[b+2|0]|0;h=g+r[b+3|0]|0;i=h+r[b+4|0]|0;j=i+r[b+5|0]|0;k=j+r[b+6|0]|0;l=k+r[b+7|0]|0;m=l+r[b+8|0]|0;n=m+r[b+9|0]|0;o=n+r[b+10|0]|0;p=o+r[b+11|0]|0;q=p+r[b+12|0]|0;s=q+r[b+13|0]|0;t=s+r[b+14|0]|0;d=t+r[b+15|0]|0;e=d+(t+(s+(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 b}}while(1){d=r[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}e=(e>>>0)%65521|0;d=(d>>>0)%65521|0}return e<<16|d}if(c){while(1){d=r[b|0]+d|0;e=e+d|0;b=b+1|0;c=c-1|0;if(c){continue}break}}a=(e>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}return a}function uwa(){var a=0;q[75716]=zi(45323);q[75717]=wi;q[75718]=zi(45342);q[75719]=wi;q[75720]=zi(45359);q[75721]=wi;q[75722]=zi(45368);q[75723]=wi;q[75724]=zi(45374);q[75725]=wi;q[75726]=zi(45384);q[75727]=wi;q[75728]=zi(45392);q[75729]=wi;q[75730]=zi(45399);q[75731]=wi;q[75732]=zi(45408);q[75733]=wi;q[75734]=zi(45420);q[75735]=wi;q[75736]=zi(45429);q[75737]=wi;q[75738]=zi(45434);q[75739]=wi;q[75740]=zi(45440);q[75741]=wi;q[75742]=zi(45446);q[75743]=wi;q[75744]=zi(45455);q[75745]=wi;q[75746]=zi(45464);q[75747]=wi;q[75748]=zi(45473);q[75749]=wi;q[75750]=zi(45482);q[75751]=wi;q[75752]=zi(45491);q[75753]=wi;q[75754]=zi(45500);q[75755]=wi;q[75756]=zi(45509);q[75757]=wi;q[75758]=zi(45518);q[75759]=wi;q[75760]=zi(45527);q[75761]=wi;a=zi(45536);q[75781]=0;q[75782]=0;q[75780]=305408;q[75778]=0;q[75776]=45559;q[75775]=45548;q[75774]=0;q[75772]=0;q[75770]=0;q[75768]=0;q[75766]=1;q[75764]=0;q[75765]=3;q[75762]=a;q[75763]=wi;q[75783]=0;q[75784]=0;q[75785]=0;q[75802]=303056;q[75800]=0;q[75798]=45594;q[75797]=45572;q[75796]=0;q[75794]=0;q[75792]=0;q[75790]=0;q[75788]=1;q[75786]=0;q[75787]=3;q[75807]=0;q[75805]=0;q[75806]=0;q[75803]=0;q[75804]=0;q[75824]=303056;q[75822]=0;q[75820]=45626;q[75819]=45605;q[75818]=0;q[75816]=0;q[75814]=0;q[75812]=0;q[75810]=1;q[75808]=0;q[75809]=3;q[75829]=0;q[75827]=0;q[75828]=0;q[75825]=0;q[75826]=0;q[75830]=zi(45652);q[75831]=wi;q[75832]=zi(45657);q[75833]=wi;q[75834]=zi(45667);q[75835]=wi;q[75836]=zi(45674);q[75837]=wi}function WK(a,b,c,d,e){var f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),t=0,v=0,y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0);a:{if(!(!e|(c|0)==32767)){v=q[a>>2];while(1){c=c&65535;f=q[v+1036>>2];if(c>>>0>=q[v+1040>>2]-f>>2>>>0){break a}b:{f=q[f+(c<<2)>>2];if(!(q[f+136>>2]&1024)){break b}c=w(t,48)+d|0;g=u[c>>2];u[f>>2]=g;h=u[c+4>>2];u[f+4>>2]=h;i=u[c+8>>2];u[f+8>>2]=i;n=u[c+12>>2];u[f+12>>2]=n;y=u[c+16>>2];u[f+16>>2]=y;z=u[c+20>>2];u[f+20>>2]=z;A=u[c+24>>2];u[f+24>>2]=A;B=u[c+32>>2];u[f+32>>2]=B;C=u[c+36>>2];u[f+36>>2]=C;r=u[c+40>>2];u[f+40>>2]=r;c=t+1|0;if(!(t|!b)){D=u[b+16>>2];E=u[b+20>>2];F=u[b+24>>2];j=u[b+8>>2];k=u[b+4>>2];l=u[b+12>>2];m=u[b>>2];o=u[b+32>>2];p=u[b+36>>2];H=r;r=u[b+40>>2];u[f+40>>2]=H*r;u[f+36>>2]=C*p;u[f+32>>2]=B*o;u[f+12>>2]=x(x(x(n*l)-x(g*m))-x(h*k))-x(i*j);u[f+8>>2]=x(x(h*m)+x(x(n*j)+x(i*l)))-x(g*k);u[f+4>>2]=x(x(g*j)+x(x(n*k)+x(h*l)))-x(i*m);u[f>>2]=x(x(i*k)+x(x(n*m)+x(g*l)))-x(h*j);g=x(y*o);h=x(z*p);i=x(A*r);n=x(x(x(j*g)+x(l*h))-x(m*i));o=x(x(j*i)+x(x(m*g)+x(k*h)));p=x(x(x(m*h)+x(l*i))-x(k*g));g=x(x(x(l*g)+x(k*i))-x(j*h));u[f+24>>2]=F+x(x(m*n)+x(x(x(j*o)+x(l*p))-x(k*g)));u[f+20>>2]=E+x(x(j*g)+x(x(x(l*n)+x(k*o))-x(m*p)));u[f+16>>2]=D+x(x(k*p)+x(x(x(m*o)+x(l*g))-x(j*n)))}if(c>>>0>>0){c=WK(a,0,s[f+150>>1]&32767,w(c,48)+d|0,e-c|0)+c|0}t=c;if((c|0)!=(e|0)){break b}return e}c=q[f+148>>2]&32767;if((c|0)!=32767){continue}break}}return t}J(12518,10061,479,9553);G()}function C4(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=ti-48|0;ti=d;Fi(q[a+12>>2],255,q[a+16>>2]<<2);q[a+32>>2]=-1;q[a+36>>2]=0;q[a+24>>2]=q[a+20>>2];f=a+12|0;c=q[b+4>>2]-q[b>>2]>>6;Gz(f,w(c,3)>>>1|0,c);e=q[b>>2];if((e|0)!=q[b+4>>2]){c=0;while(1){e=(c<<6)+e|0;Hz(f,q[e>>2],e);c=c+1|0;e=q[b>>2];if(c>>>0>2]-e>>6>>>0){continue}break}}c=q[a+96>>2];if(c){yi(c);yi(q[a+100>>2]);yi(q[a+128>>2])}u[a+44>>2]=u[b+16>>2];u[a+48>>2]=u[b+20>>2];u[a+52>>2]=u[b+24>>2];u[a+56>>2]=u[b+28>>2];u[a+60>>2]=u[b+32>>2];u[a+64>>2]=u[b+36>>2];u[a+68>>2]=u[b+40>>2];u[a+72>>2]=u[b+44>>2];u[a+76>>2]=u[b+48>>2];u[a+80>>2]=u[b+52>>2];u[a+84>>2]=u[b+56>>2];o[a+145|0]=r[b+89|0];e=q[b+60>>2];q[a+88>>2]=e;f=q[b+64>>2];q[a+92>>2]=f;q[a+96>>2]=q[b+72>>2];c=q[b+76>>2];q[a+132>>2]=c;g=q[b+80>>2];q[a+136>>2]=g;q[a+140>>2]=q[b+84>>2];h=r[b+88|0];i=(f>>>0)/(g>>>0)|0;q[a+124>>2]=i;j=(e>>>0)/(c>>>0)|0;q[a+120>>2]=j;o[a+144|0]=h;q[a+128>>2]=Ji(w(c,g)<<2);c=0;a:{b:{c:{d:{e:{b=r[b+68|0];switch(b-1|0){case 0:break b;case 2:break c;case 3:break e;default:break d}}c=3;break b}Ai(4,107445,107452,0);yi(bz(a));break a}c=2}q[a+108>>2]=c;g=w(i,j)<<2;h=Ji(g);q[a+100>>2]=h;Fi(h,0,g);q[d+36>>2]=0;q[d+40>>2]=0;o[d+43|0]=0;o[d+44|0]=0;o[d+45|0]=0;o[d+46|0]=0;q[d+20>>2]=1;q[d+24>>2]=1;q[d+12>>2]=5;q[d+16>>2]=2;q[d+28>>2]=0;q[d+32>>2]=0;q[d+8>>2]=c;p[d+40>>1]=e;p[d+42>>1]=f;b=w(b,w(f&65535,e&65535));c=Ji(b);q[d+4>>2]=b;q[d>>2]=c;Fi(c,0,b);xi[q[77503]](q[a>>2],q[a+4>>2],d);yi(q[d>>2])}ti=d+48|0}function Awa(){var a=0;q[74840]=zi(31032);q[74841]=wi;q[74842]=zi(31051);q[74843]=wi;q[74844]=zi(31068);q[74845]=wi;q[74846]=zi(31077);q[74847]=wi;q[74848]=zi(31083);q[74849]=wi;q[74850]=zi(31093);q[74851]=wi;q[74852]=zi(31101);q[74853]=wi;q[74854]=zi(31108);q[74855]=wi;q[74856]=zi(31117);q[74857]=wi;q[74858]=zi(31129);q[74859]=wi;q[74860]=zi(31138);q[74861]=wi;q[74862]=zi(31143);q[74863]=wi;q[74864]=zi(31149);q[74865]=wi;q[74866]=zi(31155);q[74867]=wi;q[74868]=zi(31164);q[74869]=wi;q[74870]=zi(31173);q[74871]=wi;q[74872]=zi(31182);q[74873]=wi;q[74874]=zi(31191);q[74875]=wi;q[74876]=zi(31200);q[74877]=wi;q[74878]=zi(31209);q[74879]=wi;q[74880]=zi(31218);q[74881]=wi;q[74882]=zi(31227);q[74883]=wi;q[74884]=zi(31236);q[74885]=wi;a=zi(31245);q[74905]=0;q[74906]=0;q[74904]=305408;q[74902]=0;q[74900]=31278;q[74899]=31257;q[74898]=0;q[74896]=0;q[74894]=0;q[74892]=0;q[74890]=1;q[74888]=0;q[74889]=3;q[74886]=a;q[74887]=wi;q[74907]=0;q[74908]=0;q[74909]=0;q[74926]=299552;q[74924]=0;q[74922]=31318;q[74921]=31291;q[74920]=0;q[74918]=0;q[74916]=0;q[74914]=0;q[74912]=1;q[74910]=0;q[74911]=3;q[74931]=0;q[74929]=0;q[74930]=0;q[74927]=0;q[74928]=0;q[74948]=299552;q[74946]=0;q[74944]=31374;q[74943]=31346;q[74942]=0;q[74940]=0;q[74938]=0;q[74936]=0;q[74934]=1;q[74932]=0;q[74933]=3;q[74953]=0;q[74951]=0;q[74952]=0;q[74949]=0;q[74950]=0;q[74954]=zi(31430);q[74955]=wi;q[74956]=zi(31435);q[74957]=wi;q[74958]=zi(31446);q[74959]=wi;q[74960]=zi(31453);q[74961]=wi}function pka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=q[a+80>>2];c=q[b+8>>2];if((c|0)==q[b+4>>2]){jn(47967,47974,(c-q[b>>2]|0)/240|0);return-1e3}f=J6(b);c=q[b+16>>2];if(f>>>0>2]-c>>3>>>0){g=q[c+(f<<3)>>2];h=q[b>>2];if(g>>>0<(q[b+4>>2]-h|0)/240>>>0){b=Fi(w(g,240)+h|0,0,240);q[b>>2]=q[a>>2];d=q[a+20>>2];c=q[a+16>>2];u[b+24>>2]=u[a+24>>2];q[b+16>>2]=c;q[b+20>>2]=d;u[b+32>>2]=u[a+32>>2];u[b+36>>2]=u[a+36>>2];u[b+40>>2]=u[a+40>>2];u[b+44>>2]=u[a+44>>2];u[b+48>>2]=u[a+48>>2];u[b+52>>2]=u[a+52>>2];u[b+56>>2]=u[a+56>>2];i=q[a+76>>2];q[b+192>>2]=0;q[b+188>>2]=i;o[b+152|0]=0;o[b+153|0]=0;o[b+154|0]=0;o[b+155|0]=0;o[b+156|0]=0;o[b+157|0]=0;o[b+158|0]=0;o[b+159|0]=0;o[b+176|0]=0;o[b+177|0]=0;o[b+178|0]=0;o[b+179|0]=0;o[b+180|0]=0;o[b+181|0]=0;o[b+182|0]=0;o[b+183|0]=0;o[b+168|0]=0;o[b+169|0]=0;o[b+170|0]=0;o[b+171|0]=0;o[b+172|0]=0;o[b+173|0]=0;o[b+174|0]=0;o[b+175|0]=0;o[b+160|0]=0;o[b+161|0]=0;o[b+162|0]=0;o[b+163|0]=0;o[b+164|0]=0;o[b+165|0]=0;o[b+166|0]=0;o[b+167|0]=0;p[b+232>>1]=s[a+92>>1];q[b+148>>2]=0;c=s[b+234>>1]|260;p[b+234>>1]=c;j=b;d=q[b+188>>2];e=q[d+12>>2];if(x(x(x(u[e+16>>2]+u[e+20>>2])+u[e+24>>2])+u[e+28>>2])!=x(0)){e=!q[e+48>>2]<<9}else{e=0}p[j+234>>1]=e|c&65023;c=w(g,240)+h|0;q[c+184>>2]=0;q[c+72>>2]=0;q[c+64>>2]=0;q[c+68>>2]=0;d=q[d+12>>2];if(!q[d+48>>2]){c=c- -64|0;u[c>>2]=u[d+32>>2];u[c+4>>2]=u[d+36>>2]}yv(b,q[i>>2],q[i+4>>2],u[d+52>>2],u[d+56>>2]);q[q[a+88>>2]>>2]=f;return 0}}J(48683,48598,479,48308);G()}function cO(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=x(0),h=0,i=0,j=x(0),k=x(0),l=0,m=0,n=x(0),o=0,r=0,t=0,v=x(0),w=x(0),z=0,B=x(0),E=x(0),F=x(0),H=x(0),I=0,K=0,L=0;i=b;r=q[i+48>>2];t=q[i+52>>2];g=u[i+40>>2];m=q[i+4>>2];z=q[i+44>>2];l=z<<2;h=m+l|0;p[h>>1]=s[h-4>>1];p[(l|2)+m>>1]=s[h-2>>1];j=u[i+32>>2];k=u[i+28>>2];h=q[a+4>>2];l=q[a>>2];v=u[i+20>>2];w=u[i+16>>2];g=x(g*x(+(Pwa(c<<31,c>>>1|0,d)>>>0)+ +(wi>>>0)*4294967296));a:{if(g=x(0)){i=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;d=~~g>>>0;break a}i=0;d=0}b:{if(!f){c=0;break b}F=x(x(1)/x(f>>>0));n=k;g=x(j-k);k=x(h>>>0);g=x(g/k);j=x(l>>>0);n=x(n+x(g*j));H=x(x(g+n)-n);g=x(x(v-w)/k);B=x(w+x(g*j));w=x(x(g+B)-B);c=0;a=0;while(1){l=c;c=c<<2;h=c+m|0;I=p[h>>1];K=p[h+4>>1];j=x(F*x(a|0));v=x(+x(n+x(H*j))*1.5707963267948966);g=xl(v);L=p[(c|2)+m>>1];o=p[h+6>>1];h=a<<3;c=h+e|0;k=x(B+x(w*j));E=x(x(+(r>>>0)+ +(t>>>0)*4294967296)*x(4.656612873077393e-10));j=x(x(1)-E);u[c>>2]=u[c>>2]+x(g*x(k*x(x(j*x(I|0))+x(E*x(K|0)))));g=uk(v);c=(h|4)+e|0;u[c>>2]=u[c>>2]+x(g*x(k*x(x(j*x(L|0))+x(E*x(o|0)))));c=d;o=c+r|0;h=i+t|0;h=c>>>0>o>>>0?h+1|0:h;r=o&2147483647;t=0;c=h;h=o;c=((c&2147483647)<<1|h>>>31)+l|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=r;q[b+52>>2]=t;if(l>>>0<=z>>>0){break b}J(205018,204086,983,205105);G()}Sk(m,(c<<2)+m|0,z-c<<2);q[b+44>>2]=q[b+44>>2]-c}function Mm(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=-24832;f=q[a>>2];a:{if(!f){break a}q[e>>2]=0;h=f?q[f+24>>2]:0;b:{c:{d:{i=q[f+4>>2];switch(i-1|0){case 5:break c;case 0:break d;default:break b}}g=-25216;if((c|0)!=(h|0)){break a}q[e>>2]=c;return xi[q[q[f+28>>2]+4>>2]](q[a+60>>2],q[a+8>>2],b,d)|0}q[e>>2]=c;return qD(q[a+60>>2],c,b,d)}if(q[f>>2]==73){q[e>>2]=c;return JD(q[a+60>>2],c,b,d)}if(!h){return-25472}if(q[a+36>>2]|(c>>>0)%(h>>>0)?(b|0)==(d|0):0){break a}g=-24704;e:{f:{g:{h:{switch(i-2|0){case 0:i:{j:{k:{switch(q[a+8>>2]){case 0:f=q[a+36>>2];i=h-f|0;if(!q[a+12>>2]){break j}if(c>>>0<=i>>>0){break f}break i;case 1:break k;default:break i}}f=q[a+36>>2];if(h-f>>>0<=c>>>0){break i}break f}if(c>>>0>>0){break f}}f=q[a+36>>2];if(f){i=a+20|0;g=i+f|0;f=h-f|0;Gi(g,b,f);g=xi[q[q[q[a>>2]+28>>2]+8>>2]](q[a+60>>2],q[a+8>>2],h,a+40|0,i,d)|0;if(g){break a}q[e>>2]=q[e>>2]+h;q[a+36>>2]=0;c=c-f|0;d=d+h|0;b=b+f|0}g=0;if(!c){break a}f=(c>>>0)%(h>>>0)|0;l:{if(f){break l}f=0;if(q[a+8>>2]){break l}f=q[a+12>>2]?h:0}c=c-f|0;Gi(a+20|0,c+b|0,f);q[a+36>>2]=q[a+36>>2]+f;if(!c){break a}g=xi[q[q[q[a>>2]+28>>2]+8>>2]](q[a+60>>2],q[a+8>>2],c,a+40|0,b,d)|0;if(g){break a}q[e>>2]=c+q[e>>2];break e;case 1:g=xi[q[q[f+28>>2]+12>>2]](q[a+60>>2],q[a+8>>2],c,a+36|0,a+40|0,b,d)|0;if(!g){break g}break a;case 5:break h;default:break a}}g=xi[q[q[f+28>>2]+16>>2]](q[a+60>>2],c,b,d)|0;if(g){break a}}q[e>>2]=c;break e}Gi((a+f|0)+20|0,b,c);q[a+36>>2]=q[a+36>>2]+c}g=0}return g}function Hu(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-32|0;ti=d;a:{b=q[a+120>>2];f=q[b+8>>2]-q[b+12>>2]>>4;if((f|0)>-1){zX(b);Ki(b,-10002,117410);Ki(b,-1,117415);Di(b,-2,117420);Ci(b,-2);o3(b);i3(b);f3(b);h3(b);j3(b);l3(b);k3(b);e3(b);n3(b);YW(b);Ci(b,-2);c=q[b+8>>2]-q[b+12>>2]>>4;cX(b);Ci(b,c+(q[b+8>>2]-q[b+12>>2]>>4^-1)|0);ck(b,797,0);Di(b,-10002,117424);ck(b,798,0);Di(b,-10002,117430);Ki(b,-10002,117410);b:{if(Ei(b,-1)){c=Ji(4);q[c>>2]=0;e=q[b+8>>2];q[e+8>>2]=2;q[e>>2]=c;q[b+8>>2]=q[b+8>>2]+16;Di(b,-10002,117437);q[c>>2]=w(q[c>>2],214013)+2531011;ck(b,799,0);Di(b,-2,117451);ck(b,800,0);Di(b,-2,117458);break b}Ai(3,117469,117476,0)}Ci(b,-2);c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=a;q[b+8>>2]=q[b+8>>2]+16;c=Vp(117504,16);Ni(b,117504,16);Qi(b,-2);$i(b,-10002);e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;hk(b,-2);$i(b,-10002);q[81759]=c;c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=b;q[b+8>>2]=q[b+8>>2]+16;Di(b,-10002,117521);gj(b,0,0);q[81758]=q[81758]+1;q[a+124>>2]=un(b,-1e4);m3(a);g3(a);if(r[a+128|0]){p3(a)}c=q[a+104>>2];e=q[a+108>>2];if((c|0)!=(e|0)){while(1){g=q[q[c>>2]>>2];if(g){xi[g|0](a);e=q[a+108>>2]}c=c+4|0;if((e|0)!=(c|0)){continue}break}}a=q[b+8>>2]-q[b+12>>2]>>4;if((a|0)!=(f|0)){break a}ti=d+32|0;return}q[d+12>>2]=f;q[d+4>>2]=156;q[d+8>>2]=0;q[d>>2]=117392;Ai(4,117469,118011,d);J(118083,117392,1468,118100);G()}q[d+28>>2]=a;q[d+24>>2]=f;q[d+20>>2]=156;q[d+16>>2]=117392;Ai(4,117469,118114,d+16|0);J(118185,117392,1491,118204);G()}function aC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=ti-288|0;ti=e;h=Wi(a,1,e+284|0);d=Wi(a,2,e+280|0);f=hm(a,3,1);c=q[e+284>>2];g=f+(c+1&f>>31)|0;f=(g|0)>0;g=f?g-1|0:-1;f=f?c>>>0>>0?c:g:0;a:{b:{c:{d:{e:{if(b){if(Ej(a,4)){break e}c=YB(d,141069)+d|0;if(!(r[c|0]?c:0)){break e}c=q[e+284>>2]}g=r[d|0];q[e+16>>2]=a;q[e+8>>2]=h;q[e+12>>2]=c+h;i=d+1|0;c=d;d=(g|0)==94;g=d?i:c;c=f+h|0;if(d){break d}while(1){q[e+20>>2]=0;d=rn(e+8|0,c,g);if(d){break c}d=t[e+12>>2]>c>>>0;c=c+1|0;if(d){continue}break}break b}b=f+h|0;c=q[e+280>>2];f:{if(c){f=q[e+284>>2]-f|0;if(f>>>0>>0){break b}g=c-1|0;c=f-g|0;if(!c){break b}i=d+1|0;j=o[d|0];d=b;while(1){b=qq(d,j,c);if(!b){break b}f=b+1|0;if(!pj(f,i,g)){break f}b=c+d|0;d=f;c=b-d|0;if(c){continue}break}break b}if(!h){break b}}d=q[a+8>>2];q[d+8>>2]=3;b=b-h|0;v[d>>3]=b+1|0;q[a+8>>2]=q[a+8>>2]+16;b=b+q[e+280>>2]|0;d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b=2;break a}q[e+20>>2]=0;d=rn(e+8|0,c,g);if(!d){break b}}if(b){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(c-h|0)+1|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d-h|0;q[a+8>>2]=q[a+8>>2]+16;a=q[e+20>>2];Ro(q[e+16>>2],a,141115);if((a|0)>=1){c=0;while(1){Hr(e+8|0,c,0,0);c=c+1|0;if((a|0)!=(c|0)){continue}break}}b=a+2|0;break a}a=q[e+20>>2];b=c?a?a:1:a;Ro(q[e+16>>2],b,141115);if((b|0)<1){break a}a=0;while(1){Hr(e+8|0,a,c,d);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=1}ti=e+288|0;return b}function zQ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=q[a+68>>2];a:{b:{if(!e){break b}c:{switch(q[a+128>>2]-20|0){case 0:o[e+528|0]=1;break b;case 2:break c;default:break a}}b=-27648;d=q[a+120>>2];g=r[d+4|0]<<8|r[d+5|0];c=q[e+476>>2];if(g>>>0>>0){break a}h=g-c|0;if(h>>>0>3){break b}j=q[a+168>>2];i=j-12|0;d:{e:{f=e+w(h,12)|0;g=f;c=r[f+532|0];if(!(c&1)){f=c&253;c=((qC(a)|0)==1)<<1;o[g+532|0]=f|c;if(j>>>0>16384){break b}f=q[e+524>>2];if(f>>>0>32768){break a}d=i+12|0;d=c>>>1|0?((i>>>3|0)+d|0)+((i&7)!=0)|0:d;if(d>>>0>32768-f>>>0){if(h){break b}b=-27136;if(AQ(a,d)){break a}}c=w(h,12);k=c+e|0;b=Vj(1,d);q[k+536>>2]=b;if(b){break e}return-32512}b=q[f+536>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==(r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))){break d}break b}q[(c+e|0)+540>>2]=d;c=q[a+120>>2];f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=f>>>16;o[b+3|0]=f>>>24;c=r[c+4|0]|r[c+5|0]<<8;o[b+4|0]=c;o[b+5|0]=c>>>8;b=q[k+536>>2];o[b+6|0]=0;o[b+7|0]=0;o[b+8|0]=0;b=q[k+536>>2];c=r[b+1|0]|r[b+2|0]<<8;o[b+9|0]=c;o[b+10|0]=c>>>8;o[b+11|0]=r[b+3|0];c=r[g+532|0]|1;o[g+532|0]=c;q[e+524>>2]=q[e+524>>2]+d}if(c&4){break b}e=q[(e+w(h,12)|0)+536>>2];a=q[a+120>>2];d=r[a+8|0]|(r[a+7|0]<<8|r[a+6|0]<<16);b=r[a+11|0]|(r[a+10|0]<<8|r[a+9|0]<<16);Gi((e+d|0)+12|0,a+12|0,b);a=g;f=a;c=r[a+532|0];f:{if(c&2){e=e+j|0;CQ(e,d,b);a=r[g+532|0]&-5|!DQ(e,i)<<2;break f}a=c|4}o[f+532|0]=a}b=0}return b}function ds(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=ti-16|0;ti=d;h=q[a>>2];f=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);e=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);g=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);i=q[a+4>>2]^(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24));q[d>>2]=i;b=q[a+8>>2]^(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24));q[d+4>>2]=b;e=q[a+12>>2]^(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24));q[d+8>>2]=e;f=q[a+16>>2]^(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24));q[d+12>>2]=f;a=a+20|0;if(h){f=d|8;while(1){kn(i,b,q[a>>2],q[a+4>>2],f);kn(q[d+8>>2],q[d+12>>2],q[a+8>>2],q[a+12>>2],d);kn(q[d>>2],q[d+4>>2],q[a+16>>2],q[a+20>>2],f);kn(q[d+8>>2],q[d+12>>2],q[a+24>>2],q[a+28>>2],d);kn(q[d>>2],q[d+4>>2],q[a+32>>2],q[a+36>>2],f);kn(q[d+8>>2],q[d+12>>2],q[a+40>>2],q[a+44>>2],d);h=h-1|0;if(h){e=q[d>>2];b=q[d+4>>2]^Twa(e&q[a+48>>2],1);q[d+4>>2]=b;i=e^(q[a+52>>2]|b);q[d>>2]=i;e=q[d+12>>2];g=q[d+8>>2]^(e|q[a+60>>2]);q[d+8>>2]=g;q[d+12>>2]=Twa(g&q[a+56>>2],1)^e;a=a- -64|0;continue}break}b=q[d+4>>2];i=q[d>>2];f=q[d+12>>2];e=q[d+8>>2];a=a+48|0}g=q[a>>2];h=q[a+4>>2];j=q[a+8>>2];a=q[a+12>>2]^b;o[c+15|0]=a;b=i^j;o[c+11|0]=b;f=f^h;o[c+7|0]=f;e=e^g;o[c+3|0]=e;o[c+14|0]=a>>>8;o[c+13|0]=a>>>16;o[c+12|0]=a>>>24;o[c+10|0]=b>>>8;o[c+9|0]=b>>>16;o[c+8|0]=b>>>24;o[c+6|0]=f>>>8;o[c+5|0]=f>>>16;o[c+4|0]=f>>>24;o[c+2|0]=e>>>8;o[c+1|0]=e>>>16;o[c|0]=e>>>24;ti=d+16|0;return 0}function kv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!b|(b|0)==(c|0)){break b}c:{d:{e:{d=b&65535;e=q[a+32>>2];if(d>>>0<(q[a+36>>2]-e|0)/576>>>0){if(s[(w(d,576)+e|0)+552>>1]!=(b>>>16|0)){break e}g=w(d,576)+e|0;if(s[g+554>>1]!=(b&65535)){break d}$q(a,g);j=w(d,576)+e|0;f:{g:{h:{if(c){h=q[a+36>>2];f=q[a+32>>2];i=(h-f|0)/576|0;b=c&65535;if(i>>>0<=b>>>0){break a}b=w(b,576)+f|0;c=s[b+560>>1];if((c|0)==65535){c=a+350|0;a=65535;break g}if(c>>>0>>0){break h}break a}c=a+350|0;b=s[a+350>>1];if((b|0)==65535){p[(w(d,576)+e|0)+560>>1]=65535;break c}h=q[a+36>>2];f=q[a+32>>2];if(b>>>0>=(h-f|0)/576>>>0){break a}p[(w(d,576)+e|0)+560>>1]=65535;if(!f){break c}b=w(b,576)+f|0;break f}a=w(c,576)+f|0;c=a+564|0;a=s[a+554>>1]}p[j+560>>1]=a}a=s[b+554>>1];i:{if((a|0)==s[c>>1]){p[c>>1]=s[g+554>>1];p[(w(d,576)+e|0)+558>>1]=65535;a=s[b+554>>1];break i}c=s[b+558>>1];if((c|0)==65535){break i}if(c>>>0>=(h-f|0)/576>>>0){break a}p[(w(c,576)+f|0)+556>>1]=s[g+554>>1];p[(w(d,576)+e|0)+558>>1]=c}p[b+558>>1]=s[g+554>>1];p[(w(d,576)+e|0)+556>>1]=a;return}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}b=w(d,576)+e|0;p[b+556>>1]=65535;p[b+558>>1]=s[a+348>>1];b=s[a+348>>1];j:{if((b|0)==65535){b=s[g+554>>1];break j}c=q[a+32>>2];if(b>>>0>=(q[a+36>>2]-c|0)/576>>>0){break a}c=c+w(b,576)|0;b=s[g+554>>1];p[c+556>>1]=b}p[a+348>>1]=b;if(s[a+350>>1]!=65535){break b}p[a+350>>1]=s[g+554>>1]}return}J(195730,195579,479,195741);G()}function et(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0);c=ti-128|0;ti=c;q[c+120>>2]=0;a:{b:{c:{d:{e:{f:{k=q[b+84>>2];e=q[k+4>>2];if(e>>>0<=65535){if(e){break f}g=1;break e}q[c>>2]=e;Ai(3,7418,8048,c);break e}f=c+80|0;i=f;e=0;while(1){d=q[k>>2]+w(j,96)|0;h=q[d+16>>2];if(!h){break d}g=0;q[c+112>>2]=0;if(o[h+102|0]&1){g=((e<<2)+b|0)+156|0;q[g>>2]=0;e=e+1|0}if(t[b+152>>2]>>0){break c}q[f>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[c+16>>2]=b;u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+60>>2]=u[d+60>>2];u[c+64>>2]=u[d+64>>2];u[c+68>>2]=u[d+68>>2];m=u[d+72>>2];p[c+108>>1]=j;u[c+72>>2]=m;q[c+92>>2]=q[d+24>>2];q[c+96>>2]=q[((q[d+20>>2]<<2)+a|0)+12>>2];l=q[h+16>>2];q[c+104>>2]=g;q[c+100>>2]=l;q[i+8>>2]=q[d+88>>2];g=q[d+84>>2];q[f>>2]=q[d+80>>2];q[f+4>>2]=g;d=xi[q[h+28>>2]](c+16|0)|0;if(!d){g=1;j=j+1|0;if(j>>>0>2]){continue}break e}break}if(!j){g=0;break e}g=!d;f=0;e=0;while(1){i=q[k>>2]+w(f,96)|0;h=q[i+16>>2];if(!h){break b}l=q[h+100>>2]&65536;d=(l>>>16|0)+e|0;if(d>>>0>t[b+152>>2]){break a}q[c+16>>2]=q[a+8>>2];q[c+20>>2]=b;q[c+24>>2]=q[((q[i+20>>2]<<2)+a|0)+12>>2];i=q[h+16>>2];q[c+32>>2]=l?((e<<2)+b|0)+156|0:0;q[c+28>>2]=i;xi[q[h+32>>2]](c+16|0)|0;e=d;f=f+1|0;if((j|0)!=(f|0)){continue}break}}ti=c+128|0;return g}J(8102,7291,805,8031);G()}J(8117,7291,815,8031);G()}J(8102,7291,847,8031);G()}J(8117,7291,853,8031);G()}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;e=ti-32|0;ti=e;a:{if(q[a>>2]==(b|0)){b=0;break a}b=JT(a,b,c+236|0);if(b){break a}b=q[a>>2];g=q[c+244>>2]+q[c+240>>2]|0;if(b>>>0>>0){h=c+288|0;i=c+284|0;j=c+292|0;k=c+296|0;l=c+248|0;m=c+312|0;n=c+264|0;o=e+16|4;while(1){q[e+24>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=0;b=Rj(a,g,e+28|0,48);if(b){b=b-9472|0;break a}b=q[a>>2]+q[e+28>>2]|0;d=Rj(a,b,o,6);if(d){b=d-9472|0;break a}q[e+16>>2]=6;d=q[a>>2];q[e+24>>2]=d;q[a>>2]=d+q[e+20>>2];d=SD(a,b,e+12|0);if(!((d|0)==-98|!d)){b=d-9472|0;break a}d=Rj(a,b,e+28|0,4);if(d){b=d-9472|0;break a}if((b|0)!=(q[a>>2]+q[e+28>>2]|0)){b=-9574;break a}f=GS(e+16|0);d=-46;b:{if(!f){break b}q[e+8>>2]=q[f+16>>2];d=0}c:{if(d){q[a>>2]=b;if(!q[e+12>>2]){break c}b=-9570;break a}f=q[c+280>>2];d=q[e+8>>2];if(f&d){b=-9472;break a}q[c+280>>2]=d|f;d:{e:{f:{g:{h:{i:{if((d|0)<=255){switch(d-4|0){case 0:break d;case 4:break g;case 28:break i;default:break f}}if((d|0)==65536){break h}if((d|0)==2048){break e}if((d|0)!=256){break f}b=HN(a,b,i,h);if(!b){break c}break a}b=yN(a,b,l);if(!b){break c}break a}b=AN(a,b,m);if(!b){break c}break a}b=GN(a,b,n);if(!b){break c}if((b|0)!=-8320){break a}if(!q[e+12>>2]){break c}break a}if(q[e+12>>2]){b=-8320;break a}q[a>>2]=b;break c}b=DN(a,b,k);if(!b){break c}break a}b=BN(a,b,j);if(b){break a}}b=q[a>>2];if(g>>>0>b>>>0){continue}break}}b=(b|0)==(g|0)?0:-9574}ti=e+32|0;return b}function Ou(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=ti-3136|0;ti=f;q[f+3128>>2]=0;i=q[a+7408>>2];a:{if(i){if(!dG(i,c,d,e)){break a}}q[f+36>>2]=b;q[f+32>>2]=a+5316;hj(f+2096|0,1024,24380,f+32|0);i=0;b=f+2096|0;h=b;b:{c:{d:{e:{f:{while(1){g:{g=r[h|0];h:{i:{if((g|0)!=47){if(g){break i}o[b|0]=0;if(!q[a+7364>>2]){break f}q[d>>2]=0;q[a+7392>>2]=-1;q[a+7396>>2]=0;q[a+7372>>2]=e;q[a+7400>>2]=-1;q[a+7404>>2]=0;B$(f+2096|0,f+48|0);c=kH(q[a+7364>>2],f+48|0);if(!c){break g}g=-3;b=q[a+7400>>2];if((b|0)==404){break a}if((b|0)==304|(c|0)!=1){break g}q[f+16>>2]=b;Ai(3,24387,26609,f+16|0);break b}if((i&255)==47){break h}}o[b|0]=g;b=b+1|0}h=h+1|0;i=g;continue}break}g=q[a+7404>>2];if(g){break a}j:{if(q[a+7400>>2]==304){break j}b=q[a+7392>>2];if((b|0)==-1){break j}c=q[a+7396>>2];if((c|0)==(b|0)){break j}q[f+8>>2]=c;q[f+4>>2]=b;q[f>>2]=f+2096;Ai(4,24387,26641,f)}q[d>>2]=q[a+7396>>2];break e}a=q[a+7412>>2];if(a){g=dG(a,c,d,e);break a}g=-3;if(F$(f+48|0,f+2096|0)){break a}k:{switch(xu(f+48|0,f+44|0)+2|0){case 0:break a;case 2:break k;default:break b}}b=q[f+44>>2];h=q[e>>2];if(b>>>0>q[e+8>>2]-h>>>0){if(o[e+12|0]&1){break d}Ii(b,1,e,e+8|0,e+4|0);h=q[e>>2];b=q[f+44>>2]}q[e+4>>2]=h;l:{switch(yu(f+48|0,h,b,f+44|0)+2|0){case 0:break a;case 2:break l;default:break b}}a=q[f+44>>2];b=q[e>>2];if(a>>>0>q[e+8>>2]-b>>>0){break c}q[e+4>>2]=a+b;q[d>>2]=a}g=0;break a}J(26943,26397,493,27018);G()}J(27030,26397,506,27049);G()}g=-9}ti=f+3136|0;return g}function eO(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=x(0),h=0,i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),o=x(0),r=0,t=x(0),v=0,w=0,z=0,B=0,E=0,F=x(0),H=x(0);h=b;k=q[h+48>>2];v=q[h+52>>2];g=u[h+40>>2];w=q[h+4>>2];z=q[h+44>>2];r=w+(z<<1)|0;p[r>>1]=s[r-2>>1];o=u[h+32>>2];j=u[h+28>>2];l=q[a+4>>2];B=q[a>>2];i=u[h+20>>2];m=u[h+16>>2];g=x(g*x(+(Pwa(c<<31,c>>>1|0,d)>>>0)+ +(wi>>>0)*4294967296));a:{if(g=x(0)){c=~~g>>>0;r=x(y(g))>=x(1)?g>x(0)?~~x(A(x(C(x(g*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(g-x(~~g>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;break a}c=0;r=0}b:{c:{d:{if(!f){d=0;break d}F=x(x(1)/x(f>>>0));t=j;g=x(o-j);j=x(l>>>0);o=x(g/j);n=x(B>>>0);g=x(t+x(o*n));o=x(x(o+g)-g);t=m;m=x(x(i-m)/j);j=x(t+x(m*n));m=x(x(m+j)-j);d=0;a=0;while(1){h=d;d=(d<<1)+w|0;l=p[d>>1];d=p[d+2>>1];i=x(F*x(a|0));n=x(+x(g+x(o*i))*1.5707963267948966);t=xl(n);B=a<<3;E=B+e|0;H=x(j+x(m*i));i=x(x(+(k>>>0)+ +(v>>>0)*4294967296)*x(4.656612873077393e-10));i=x(H*x(x(x(x(1)-i)*x(l|0))+x(i*x(d|0))));u[E>>2]=u[E>>2]+x(t*i);n=uk(n);d=(B|4)+e|0;u[d>>2]=u[d>>2]+x(n*i);d=k;k=c;l=d+k|0;d=v+r|0;d=l>>>0>>0?d+1|0:d;k=l&2147483647;v=0;d=((d&2147483647)<<1|l>>>31)+h|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}q[b+48>>2]=k;q[b+52>>2]=v;if(h>>>0>z>>>0){break c}if(d>>>0>z>>>0){break b}}Sk(w,(d<<1)+w|0,z-d<<1);q[b+44>>2]=q[b+44>>2]-d;return}J(205018,204086,923,205055);G()}J(205073,204086,926,205055);G()}function T5(a){var b=0,c=0,d=0,e=0,f=0;if(q[a+1872>>2]){xi[q[77441]](q[a+1876>>2],0,0,0);b=q[a+348>>2];if(b){q[a+344>>2]=0;d=1}c=q[a+668>>2];if(c){q[a+664>>2]=b;d=d+1|0;b=b+c|0}c=q[a+988>>2];if(c){q[a+984>>2]=b;d=d+1|0;b=b+c|0}c=q[a+1308>>2];if(c){q[a+1304>>2]=b;d=d+1|0;b=b+c|0}xi[q[77441]](q[a+1876>>2],b<<5,0,0);c=ap(a,d);d=Su(a,736,a- -64|0);b=a+1888|0;q[b>>2]=q[b>>2]+1;e=d<<6;b=c;d=q[a+348>>2];if(d){xi[q[77442]](q[a+1876>>2],q[a+344>>2]<<5,d<<5,q[a+368>>2]);q[c+24>>2]=16777214;q[c+16>>2]=a- -64;q[c+20>>2]=0;q[c+36>>2]=q[c+36>>2]&-64|32;q[c+28>>2]=q[a+1888>>2];q[c+32>>2]=q[q[a+220>>2]+80>>2];q[c+36>>2]=e|q[c+36>>2]&-16321;b=c+48|0}d=q[a+668>>2];if(d){xi[q[77442]](q[a+1876>>2],q[a+664>>2]<<5,d<<5,q[a+688>>2]);q[b+24>>2]=16777214;q[b+16>>2]=a+384;q[b+20>>2]=0;q[b+36>>2]=q[b+36>>2]&-64|32;q[b+28>>2]=q[a+1888>>2];q[b+32>>2]=q[q[a+540>>2]+80>>2];q[b+36>>2]=e|q[b+36>>2]&-16321;b=b+48|0}d=q[a+988>>2];if(d){xi[q[77442]](q[a+1876>>2],q[a+984>>2]<<5,d<<5,q[a+1008>>2]);q[b+24>>2]=16777214;q[b+16>>2]=a+704;q[b+20>>2]=0;q[b+36>>2]=q[b+36>>2]&-64|32;q[b+28>>2]=q[a+1888>>2];q[b+32>>2]=q[q[a+860>>2]+80>>2];q[b+36>>2]=e|q[b+36>>2]&-16321;b=b+48|0}d=a;f=q[a+1308>>2];if(f){xi[q[77442]](q[a+1876>>2],q[a+1304>>2]<<5,f<<5,q[a+1328>>2]);q[b+24>>2]=16777214;q[b+16>>2]=a+1024;q[b+20>>2]=0;q[b+36>>2]=q[b+36>>2]&-64|32;q[b+28>>2]=q[a+1888>>2];q[b+32>>2]=q[q[a+1180>>2]+80>>2];q[b+36>>2]=e|q[b+36>>2]&-16321;b=b+48|0}$o(d,c,b)}}function sG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0;i=ti-16|0;ti=i;a:{if(!q[a+1872>>2]){break a}g=q[a+1884>>2];h=q[a+668>>2];if(g>>>0>h+2>>>0){j=q[b>>2];k=q[e>>2];l=q[e+4>>2];m=q[e+8>>2];n=q[e+12>>2];p=q[c+4>>2];s=q[c+8>>2];t=q[c>>2];c=d;g=q[c+8>>2];e=q[c+12>>2];d=q[c>>2];c=q[c+4>>2];f=q[a+688>>2]+(h<<5)|0;h=q[b+8>>2];b=q[b+4>>2];o[f+4|0]=b;o[f+5|0]=b>>>8;o[f+6|0]=b>>>16;o[f+7|0]=b>>>24;o[f+8|0]=h;o[f+9|0]=h>>>8;o[f+10|0]=h>>>16;o[f+11|0]=h>>>24;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=128;o[f+15|0]=63;o[f+16|0]=d;o[f+17|0]=d>>>8;o[f+18|0]=d>>>16;o[f+19|0]=d>>>24;o[f+20|0]=c;o[f+21|0]=c>>>8;o[f+22|0]=c>>>16;o[f+23|0]=c>>>24;o[f+24|0]=g;o[f+25|0]=g>>>8;o[f+26|0]=g>>>16;o[f+27|0]=g>>>24;o[f+28|0]=e;o[f+29|0]=e>>>8;o[f+30|0]=e>>>16;o[f+31|0]=e>>>24;o[f+32|0]=t;o[f+33|0]=t>>>8;o[f+34|0]=t>>>16;o[f+35|0]=t>>>24;o[f+36|0]=p;o[f+37|0]=p>>>8;o[f+38|0]=p>>>16;o[f+39|0]=p>>>24;o[f+40|0]=s;o[f+41|0]=s>>>8;o[f+42|0]=s>>>16;o[f+43|0]=s>>>24;o[f+44|0]=0;o[f+45|0]=0;o[f+46|0]=128;o[f+47|0]=63;o[f+56|0]=m;o[f+57|0]=m>>>8;o[f+58|0]=m>>>16;o[f+59|0]=m>>>24;o[f+60|0]=n;o[f+61|0]=n>>>8;o[f+62|0]=n>>>16;o[f+63|0]=n>>>24;o[f+48|0]=k;o[f+49|0]=k>>>8;o[f+50|0]=k>>>16;o[f+51|0]=k>>>24;o[f+52|0]=l;o[f+53|0]=l>>>8;o[f+54|0]=l>>>16;o[f+55|0]=l>>>24;o[f|0]=j;o[f+1|0]=j>>>8;o[f+2|0]=j>>>16;o[f+3|0]=j>>>24;q[a+668>>2]=q[a+668>>2]+2;break a}if(r[326240]){break a}q[i>>2]=g;Ai(3,106858,107024,i);o[326240]=1}ti=i+16|0}function NG(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,p=0,t=0,v=0,y=0,z=x(0);a:{b:{c:{d:{e:{i=b&65535;j=q[a+4>>2];a=q[a>>2];if(i>>>0>2>>>0){l=q[a+(i<<2)>>2];if(s[l+80>>1]!=(b>>>16|0)){break e}i=q[l+4>>2];a=q[l>>2];b=i-a|0;if(!b){break b}b=(b|0)/304|0;if((a|0)!=(i|0)){v=b>>>0>1?b:1;while(1){i=w(m,304)+a|0;if(q[i+128>>2]==(c|0)&q[i+132>>2]==(d|0)){n=i+76|0;t=q[n>>2];j=q[i+72>>2];p=t-j|0;k=(p|0)/96|0;f:{if(p){y=k>>>0>1?k:1;a=0;while(1){b=w(a,96)+j|0;if((e|0)==q[b>>2]&q[b+4>>2]==(f|0)){break f}a=a+1|0;if((y|0)!=(a|0)){continue}break}}b=i+80|0;a=q[b>>2];if((t|0)==(a|0)){if(o[i+84|0]&1){break d}Ii(k+4|0,96,i+72|0,b,n);j=q[i+72>>2];b=q[b>>2]}else{b=a}a=k+1|0;if((b-j|0)/96>>>0>>0){break c}q[n>>2]=w(a,96)+j;if(k>>>0>=(p+96|0)/96>>>0){break a}b=w(k,96)+j|0;q[b>>2]=e;q[b+4>>2]=f}u[b+16>>2]=u[g>>2];u[b+20>>2]=u[g+4>>2];u[b+24>>2]=u[g+8>>2];u[b+28>>2]=u[g+12>>2];u[b+32>>2]=u[g+16>>2];u[b+36>>2]=u[g+20>>2];u[b+40>>2]=u[g+24>>2];u[b+44>>2]=u[g+28>>2];u[b+48>>2]=u[g+32>>2];u[b+52>>2]=u[g+36>>2];u[b+56>>2]=u[g+40>>2];u[b+60>>2]=u[g+44>>2];u[b- -64>>2]=u[g+48>>2];u[b+68>>2]=u[g+52>>2];u[b+72>>2]=u[g+56>>2];z=u[g+60>>2];o[b+80|0]=h;u[b+76>>2]=z;o[i+296|0]=r[i+296|0]|16}m=m+1|0;if((v|0)==(m|0)){break b}a=q[l>>2];if((q[l+4>>2]-a|0)/304>>>0>m>>>0){continue}break}}break a}break a}Ai(4,145356,145973,0);G()}J(145676,145751,493,145807);G()}J(145819,145751,506,145838);G()}return}J(146626,145751,479,145962);G()}function Rla(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;g=ti-976|0;ti=g;b=q[q[a+12>>2]>>2];a:{if(o[b+22|0]&1){k=q[b+8>>2];c=SK(g+16|0);d=q[a+4>>2];b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;u[c+8>>2]=u[d+8>>2];b=s[c+952>>1]&-33|s[d+952>>1]&32;p[c+952>>1]=b;b=b&-65|s[d+952>>1]&64;p[c+952>>1]=b;b=b&-129|s[d+952>>1]&128;p[c+952>>1]=b;b=b&-257|s[d+952>>1]&256;p[c+952>>1]=b;u[c+12>>2]=u[d+12>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];q[c+804>>2]=q[d+804>>2];b=p[d+952>>1]&1|b&-2;p[c+952>>1]=b;b=b&-3|s[d+952>>1]&2;p[c+952>>1]=b;b=b&-5|s[d+952>>1]&4;p[c+952>>1]=b;Gi(c+808|0,d+808|0,144);b=s[d+952>>1]&8|b&-9;p[c+952>>1]=b;u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];p[c+952>>1]=s[d+952>>1]&512|b&65023;h=q[d+540>>2];q[c+540>>2]=h;if((h|0)>0){while(1){b=w(i,44);e=b+c|0;b=b+d|0;q[e+96>>2]=q[b+96>>2];f=q[b+92>>2];q[e+88>>2]=q[b+88>>2];q[e+92>>2]=f;f=q[b+84>>2];q[e+80>>2]=q[b+80>>2];q[e+84>>2]=f;f=q[b+76>>2];q[e+72>>2]=q[b+72>>2];q[e+76>>2]=f;j=b- -64|0;l=q[j+4>>2];f=e- -64|0;q[f>>2]=q[j>>2];q[f+4>>2]=l;f=q[b+60>>2];q[e+56>>2]=q[b+56>>2];q[e+60>>2]=f;i=i+1|0;if((h|0)!=(i|0)){continue}break}}q[c+800>>2]=zj(c+544|0,d+544|0,256);p[c+952>>1]=s[c+952>>1]&65519|s[q[a+4>>2]+952>>1]&16;b=Vba(k,c,g+15|0);a=b?-1e3:1;if(r[g+15|0]|b){break a}}a=0}ti=g+976|0;return a|0} -function iQ(a,b){a=a|0;b=b|0;if((b|0)<=0){a=b+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+259248>>2];break a}a=123969}return a|0}a=125193;b:{c:{switch(b-2|0){case 28:return 125216;case 0:return 125234;case 12:return 125252;case 11:return 125271;case 13:return 125271;default:if((b|0)==73){break b};case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10: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:a=Uk(b);break;case 1:break c}}return a|0}return 125278}function Xha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-80|0;fi=b;d=1;e=Ti(b+24|0,a,1,67527,895);f=Pj(a,2);g=ii;c=q[q[Kj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;h=b- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;Hk(a,1,c,67321,b+20|0,b+48|0,b+16|0);q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;c=sJ(q[b+16>>2],q[b+20>>2],f,g);a:{if(c){q[b>>2]=Ei(f,g);q[b+8>>2]=c;q[b+4>>2]=q[(c<<2)+242016>>2];d=uj(e,69504,b);break a}hl(a,b+48|0)}Si(e);fi=b+80|0;return d|0}function W7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+w(e,24)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(45187,44810,337,45181);G()}while(1){e=q[(w(e,24)+f|0)+20>>2];if((e|0)!=-1){h=d;d=w(e,24)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(45211,44810,363,45181);G()}J(45160,44810,331,45181);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(e,24)+f|0;q[(h?h+20|0:g)>>2]=q[b+20>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+20>>2]=c}function mka(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];c=q[d+16>>2];e=q[q[a+16>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];b=q[d>>2];if(c>>>0>2]-b>>2>>>0){a=q[q[q[a+4>>2]+80>>2]>>2];c=q[b+(c<<2)>>2];b=q[c+216>>2];if(b){Di(a,b)}b=q[c+184>>2];if(b){Di(a,b)}b=q[c+188>>2];if(b){Di(a,b)}b=q[c+192>>2];if(b){Di(a,b)}b=q[c+196>>2];if(b){Di(a,b)}b=q[c+200>>2];if(b){Di(a,b)}b=q[c+204>>2];if(b){Di(a,b)}b=q[c+208>>2];if(b){Di(a,b)}c=q[c+212>>2];if(c){Di(a,c)}cv(d,e);return 0}}J(47308,47134,447,47319);G()}function M4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi+ -64|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ti(b+40|0,a,0,104245,990);q[b+20>>2]=0;q[b+16>>2]=4;q[b+24>>2]=0;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+32>>2];a=q[b+28>>2];q[c+8>>2]=q[b+24>>2];q[c+12>>2]=a;a=q[b+20>>2];q[c>>2]=q[b+16>>2];q[c+4>>2]=a;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/20;f=ni(a,104394,b)}Si(e);fi=b- -64|0;return f|0}J(104348,104245,265,107702);G()}function uI(a,b,c){var d=0,e=0,f=0;a:{b:{c:{e=b&65535;d=q[a+32>>2];f=(q[a+36>>2]-d|0)/576|0;if(e>>>0>>0){if(s[(w(e,576)+d|0)+552>>1]!=(b>>>16|0)){break c}a=s[(w(e,576)+d|0)+554>>1];if((a|0)!=(b&65535)){break b}if(c){while(1){a=a&65535;if(a>>>0>=f>>>0){break a}a=w(a,576)+d|0;b=q[a+412>>2]&1048576;if(b){a=s[a+560>>1];if((a|0)!=65535){continue}}break}return(b|0)!=0}return(r[(w(e,576)+d|0)+414|0]&16)>>>4|0}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function r9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=fi-32|0;fi=c;a:{b=Zi(a,1,c+28|0);if(!(r[b+415|0]&8)){d=sm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ki(a);j=fk(a,-1,q[213955]);oi(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Bl(c,j,q[c+28>>2],0);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=tm(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+12>>2]=f;u[b+8>>2]=g;u[b+4>>2]=h;u[b>>2]=e;q[b+412>>2]=q[b+412>>2]|2097152}fi=c+32|0;return 0}J(187343,187364,162,187386);G()}function Ema(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-16|0;fi=d;e=Nl(c,Fi(c));f=ii;q[d+12>>2]=b;g=a+4164|0;a:{c=q[a+4168>>2];b:{if(!c){break b}c=q[q[g>>2]+(lwa(e,f,c)<<2)>>2];if((c|0)==-1){break b}h=q[a+4172>>2];while(1){c=(c<<4)+h|0;if(q[c>>2]==(e|0)&q[c+4>>2]==(f|0)){c=-3;break a}c=q[c+12>>2];if((c|0)!=-1){continue}break}}c=-4;if(q[b+96>>2]!=q[72440]|q[b+100>>2]!=q[72441]){break a}q[b+96>>2]=e;q[b+100>>2]=f;Iq(g,e,f,d+12|0);c=0;if(t[a+4188>>2]<=s[a+2078>>1]){break a}J(7759,7150,940,8050);G()}fi=d+16|0;return c}function CO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;i=Ni(a,1,f+12|0);c=cm(a,2,1);c=c+(q[f+12>>2]+1&c>>31)|0;e=(c|0)>0?c:0;b=cm(a,3,e);d=q[f+12>>2];b=b+(d+1&b>>31)|0;b=(b|0)>0?b:0;b=b>>>0>d>>>0?d:b;d=(e|0)>1?c:1;a:{if((b|0)<(d|0)){break a}e=b-d|0;g=e+1|0;if((b|0)==2147483647){ni(a,131739,0)}Fo(a,g,131739);c=0;if((e|0)<0){break a}b=d-1|0;d=e+1|0;while(1){e=r[(b+c|0)+i|0];h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;c=c+1|0;if((d|0)!=(c|0)){continue}break}}fi=f+16|0;return g|0}function vm(a,b){var c=0,d=0,e=0,f=0,g=0;g=fi-16|0;fi=g;c=q[a>>2];e=-1;a:{if((c|0)==255){break a}if(c){d=q[b>>2];while(1){e=-2;if((d|0)==q[(w(f,104)+a|0)+8>>2]){break a}f=f+1|0;if((c|0)!=(f|0)){continue}break}}if(!(q[b+44>>2]|!q[b+52>>2])){q[g>>2]=q[b+4>>2];mi(3,7277,7531,g);e=-7;break a}d=w(c,104);c=a+8|0;si(d+c|0,b,102);f=li(q[b+4>>2]);d=q[a>>2];c=c+w(d,104)|0;q[c+8>>2]=f;q[c+12>>2]=ii;p[((d<<1)+a|0)+26528>>1]=d;b=Ek(q[b+4>>2]);q[((q[a>>2]<<2)+a|0)+27040>>2]=b;q[a>>2]=q[a>>2]+1;e=0}d=e;fi=g+16|0;return d}function gN(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=fi-96|0;fi=h;q[e>>2]=0;q[h+4>>2]=0;iN(h+8|0);a:{b:{c:{if(!c){c=-10240;break c}if(d){hN(a,d,h+4|0)}d=0;j=a+204|0;i=j;d:{if(!i){break d}i=q[i>>2];if(!i){break d}d=q[i>>2]}i=q[c+4>>2]>>>d-1&1?0:-1;e:{if(d){break e}i=-1}if(i){q[h+4>>2]=q[h+4>>2]|32768}if(kB(c,j)){q[h+4>>2]=q[h+4>>2]|65536}c=jN(a,b,c,h+8|0);if(!c){q[h+12>>2]=q[h+12>>2]|q[h+4>>2];c=lN(e,h+8|0,f,g)}if((c|0)==-9984){c=-12288;break c}if(!c){break b}}q[e>>2]=-1;break a}c=q[e>>2]?-9984:0}fi=h+96|0;return c}function Zi(a,b,c){var d=0,e=0,f=0,g=0;b=yi(a,b,q[213956],0);d=q[b>>2];e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=fk(a,-1,q[213955]);oi(a,-2);if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){if((d|0)!=(f|0)){ni(a,189492,0)}f=q[b>>2];d=q[f+32>>2];a:{b:{e=q[b+4>>2];g=e&65535;if(g>>>0>=(q[f+36>>2]-d|0)/576>>>0|s[(w(g,576)+d|0)+552>>1]!=(e>>>16|0)){break b}d=w(g,576)+d|0;if(s[d+554>>1]!=(e&65535)|r[d+415|0]&16){break b}d=Hz(f,e);a=d;if(!c){break a}q[c>>2]=q[b+4>>2];return d}ni(a,189521,0);a=0}return a}J(187343,187364,162,187386);G()}function Yl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;q[f+12>>2]=0;a:{if((c|0)<1){break a}while(1){d=q[a+116>>2];b:{if(d){d=k3(d,b+g|0,c-g|0,f+12|0);break b}d=eu(q[a+112>>2],b+g|0,c-g|0,f+12|0)}e=(d|0)==-3?-101:d;if((e|0)!=-101?e:0){break a}h=q[a>>2];d=q[h+2204>>2];if(!(!d|!q[d>>2])){e=-3;break a}c:{if(!q[h+2160>>2]){break c}d=Uj();i=q[h+2160>>2];h=q[h+2168>>2];if((i|0)>(d-h|0)){break c}e=-3;break a}if((e|0)!=-101){if(e){break a}g=q[f+12>>2]+g|0}if((c|0)>(g|0)){continue}break}e=0}fi=f+16|0;return e}function QH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(30316,29563,337,30310);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(30340,29563,363,30310);G()}J(30289,29563,331,30310);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function PH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(27965,27647,337,27959);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(27989,27647,363,27959);G()}J(27938,27647,331,27959);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function Jq(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(lwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(12609,11135,337,12603);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(12633,11135,363,12603);G()}J(12582,11135,331,12603);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function zq(a,b,c){var d=0,e=0;d=fi-336|0;fi=d;q[d+328>>2]=0;q[d+332>>2]=0;if(c>>>0<=7){q[d+48>>2]=c;q[d+52>>2]=8;cj(d- -64|0,256,118918,d+48|0);q[d+32>>2]=d- -64;ni(a,118551,d+32|0)}e=b;a:{b:{if(q[b>>2]==1112818760){e=q[b+4>>2];q[d+328>>2]=q[b>>2];q[d+332>>2]=e;if(e>>>0>3){break b}e=b+8|0}qi(d- -64|0,0,129);q[d+204>>2]=0;q[d+208>>2]=0;c=c-8|0;q[d+200>>2]=c;q[d+196>>2]=e;zF(a,d- -64|0,d+328|0,b,e,c,0);break a}q[d+16>>2]=e;q[d+20>>2]=3;cj(d- -64|0,256,118991,d+16|0);q[d>>2]=d- -64;ni(a,118551,d)}fi=d+336|0}function gr(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}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<>>32-g|h<>>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}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function Yra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;f=uwa(0)|0;a:{if(f){break a}if(Gj(a,1)){break a}hk(a,1,123360)}b=8;b:{if((ri(a,2)|0)==-1){break b}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;b=uwa(0)|0;if(b){break b}b=0;if(Gj(a,2)){break b}hk(a,2,123360)}d=b>>31;c=d+b^d;d=(c|0)<8?c:8;if((c|0)>=1){g=(b|0)<0?123451:123434;b=d;while(1){c=b-1|0;o[c+(e+8|0)|0]=r[(f&15)+g|0];f=f>>>4|0;h=(b|0)>1;b=c;if(h){continue}break}}Bi(a,e+8|0,d);fi=e+16|0;return 1}function FG(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;c=q[a>>2];e=q[a+4>>2];a:{if((c|0)==(e|0)){break a}while(1){b=q[(f<<2)+c>>2];if(b){c=q[b+72>>2];if(c){ki(c);q[b+16>>2]=0;q[b+72>>2]=0}b:{if(o[b+12|0]&1){break b}c=q[b>>2];if(!c){break b}ki(c)}g=g+1|0;ki(b);e=q[a+4>>2];c=q[a>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}if(!g){break a}q[d>>2]=g;mi(3,134802,134811,d)}c:{if(o[a+24|0]&1){break c}b=q[a+16>>2];if(!b){break c}ki(b)}d:{if(o[a+12|0]&1){break d}b=q[a>>2];if(!b){break d}ki(b)}ki(a);fi=d+16|0}function uea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=Pj(a,2);q[c+76>>2]=ii;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[61206];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(73431,73452,363,73556);G()}fi=c+80|0;return 0}function lia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=Pj(a,2);q[c+76>>2]=ii;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[61206];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66071,66092,528,66460);G()}fi=c+80|0;return 0}function iea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=Pj(a,2);q[c+76>>2]=ii;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[63234];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(74091,73926,169,74132);G()}fi=c+80|0;return 0}function g5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=fi-272|0;fi=e;g=a+1976|0;h=b<<3;f=Mp(c,h);a:{d=q[a+1980>>2];b:{c:{if(!d){break c}d=q[q[g>>2]+((f>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}i=q[a+1984>>2];while(1){d=w(d,280)+i|0;if(q[d>>2]==(f|0)){break b}d=q[d+272>>2];if((d|0)!=-1){continue}break}}if(b>>>0>=33){break a}if(b){si(e+16|0,c,h)}q[e+8>>2]=b;b=(q[a+1992>>2]-q[a+1984>>2]|0)/280|0;a=q[a+2e3>>2];if((b|0)==(a|0)){a=a+8|0;RH(g,a<<1,a)}SH(g,f,e+8|0)}fi=e+272|0;return f}J(102750,102699,499,102796);G()}function Jt(a,b,c){var d=0,e=0;d=q[a+16>>2];e=-1;a:{b:{switch(b|0){case 0:q[d+64>>2]=-3;return 0;case 1:q[d+64>>2]=q[d+68>>2];return 0;case 2:HX(a);return 0;case 3:return q[d+68>>2]>>>10|0;case 4:return q[d+68>>2]&1023;case 5:e=0;b=q[d+68>>2];c=b-(c<<10)|0;c=b>>>0>>0?0:c;q[d+64>>2]=c;if(b>>>0>>0){break a}while(1){Ul(a);if(!r[d+21|0]){return 1}if(t[d+64>>2]<=t[d+68>>2]){continue}break}break a;case 6:a=q[d+80>>2];q[d+80>>2]=c;return a;case 7:break b;default:break a}}e=q[d+84>>2];q[d+84>>2]=c}return e}function jS(a){var b=0;a:{if(!a){break a}b:{switch(q[a+4>>2]-5|0){case 3:a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-2042067414|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=84020727){break a}b=267952;break a;case 0:if(ej(142513,q[a+8>>2],5)){break a}return 267972;case 4:break b;default:break a}}if(!ej(142533,q[a+8>>2],9)){return 267992}if(!ej(142561,q[a+8>>2],9)){return 268012}if(!ej(142589,q[a+8>>2],9)){return 268032}if(ej(142617,q[a+8>>2],9)){break a}return 268052}return b}function apa(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;d=q[a+4>>2];c=q[a>>2];q[b+28>>2]=q[c>>2];q[b+24>>2]=q[c+4>>2];q[b+20>>2]=0;q[b+16>>2]=0;ji[q[c+32>>2]](d,b+16|0,b+20|0,b+28|0,b+24|0);if(q[b+16>>2]){o[288520]=0;o[288624]=0;Ac();Eh();ji[q[c+24>>2]](d);a:{if(q[b+16>>2]!=1){break a}c=ji[q[c+20>>2]](q[b+28>>2],q[b+24>>2])|0;q[a+4>>2]=c;if(c){Fa(21,a|0,0,1);break a}mi(4,5180,5187,0);q[b+20>>2]=1}q[b>>2]=q[b+20>>2];mi(2,5180,5211,b)}if(!r[288520]){o[288520]=1;o[288624]=1}ji[q[q[a>>2]+28>>2]](d)|0;fi=b+32|0}function D7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(q[a+36>>2]){break a}e=q[a+28>>2];c=q[a+20>>2]+q[b+84>>2]|0;d=q[b+80>>2];f=d+q[a+16>>2]|0;c=f>>>0>>0?c+1|0:c;d=f;if((c|0)==(e|0)&d>>>0>2]|c>>>0>>0){break a}c=q[b+64>>2];q[a+32>>2]=((Fi(c)+Fi(b)|0)+q[a+32>>2]|0)+2;if(r[a+564|0]){break a}c=Fu(q[a+4>>2],c,Fi(c));if(c){q[a+36>>2]=c;return}c=Fu(q[a+4>>2],152587,1);if(c){q[a+36>>2]=c;return}b=Fu(q[a+4>>2],b,Fi(b));if(b){q[a+36>>2]=b;return}b=Fu(q[a+4>>2],152589,1);if(!b){break a}q[a+36>>2]=b}}function wN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=fi-16|0;fi=g;c=a+16|0;Zp(a,a+8|0,c);e=a+24|0;while(1){if((b|0)!=(e|0)){d=q[e+4>>2];f=q[c+4>>2];if((d|0)==(f|0)&t[e>>2]>2]|d>>>0>>0){d=q[e+4>>2];q[g+8>>2]=q[e>>2];q[g+12>>2]=d;f=e;while(1){a:{d=c;h=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=h;if((a|0)==(c|0)){d=a;break a}f=d;c=d-8|0;i=q[g+12>>2];h=q[c+4>>2];if((i|0)==(h|0)&t[c>>2]>t[g+8>>2]|h>>>0>i>>>0){continue}}break}c=g+8|0;f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f}c=e;e=c+8|0;continue}break}fi=g+16|0}function OA(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;f=(d<<1)+300256|0;c=(c<<1)+301280|0;b=(b<<1)+300256|0;d=r[f|0]|(r[c|0]<<5|r[b|0]<<11);q[e+12>>2]=d;b=r[f+1|0]|(r[c+1|0]<<5|r[b+1|0]<<11);q[e+8>>2]=b;c=170;a:{if((b|0)==(d|0)){if(!d){q[e+8>>2]=0;d=1;q[e+12>>2]=1;c=85;break a}b=d-1|0;q[e+8>>2]=b;c=0}if(b>>>0<=d>>>0){break a}c=c|85;ol(e+12|0,e+8|0);d=q[e+12>>2]}o[a|0]=d;o[a+1|0]=d>>>8;b=s[e+8>>1];o[a+2|0]=b;o[a+3|0]=b>>>8;b=w(c,16843009);o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;fi=e+16|0} +function Ot(a,b){var c=0,d=0,e=0,f=0,g=0;e=ti-32|0;ti=e;d=q[a+212>>2];Jr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,q[a+192>>2]+1|0);f=q[a+224>>2];c=q[a+188>>2];g=q[a+220>>2];o[c|0]=g;o[c+1|0]=g>>>8;o[c+2|0]=g>>>16;o[c+3|0]=g>>>24;o[c+4|0]=f;o[c+5|0]=f>>>8;o[c+6|0]=f>>>16;o[c+7|0]=f>>>24;o[q[a+196>>2]]=d>>>8;o[q[a+196>>2]+1|0]=d;a:{if(q[a+76>>2]){c=q[a+200>>2];q[e+12>>2]=c;q[e+16>>2]=(q[a+184>>2]-c|0)+16749;q[e+24>>2]=q[a+212>>2];q[e+20>>2]=q[a+204>>2]-c;c=q[a+188>>2];f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);q[e>>2]=f;q[e+4>>2]=c;Jr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,e+9|0);o[e+8|0]=q[a+208>>2];c=q[a>>2];c=mU(q[a+76>>2],e,q[c+24>>2],q[c+28>>2]);if(c){break a}c=-27648;if(q[e+20>>2]){break a}q[a+208>>2]=r[e+8|0];d=q[e+24>>2];q[a+212>>2]=d;o[q[a+196>>2]]=d>>>8;o[q[a+196>>2]+1|0]=q[e+24>>2]}c=d;d=q[a+192>>2];f=c+(q[a+200>>2]-d|0)|0;if(r[q[a>>2]+184|0]&2){c=sC(a);if((c|0)<0){break a}g=c>>>0>>0;c=-27648;if(g){break a}}o[d|0]=q[a+208>>2];q[a+216>>2]=f+q[a+216>>2];q[a+192>>2]=f+q[a+192>>2];Dr(a,q[a+76>>2]);c=8;b:{while(1){f=c;d=q[a>>2];if((q[d+184>>2]&2)>>>0>=c>>>0){break b}c=f-1|0;g=c+a|0;d=r[g+220|0]+1|0;o[g+220|0]=d;if((d|0)!=(d&255)){continue}break}d=q[a>>2]}c=-27520;if((f|0)==(q[d+184>>2]&2)){break a}if(!(!(q[d+184>>2]&2)|b)){c=tC(a);if((c|0)<0){break a}b=!c}if((b|0)==1){c=Bp(a);if(c){break a}}c=0}ti=e+32|0;return c}function rw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:while(1){i=b-4|0;b:while(1){d=a;c:while(1){d:{e:{f:{g:{h:{i:{j:{k:{a=b-d|0;e=a>>2;switch(e|0){case 4:break j;case 2:break k;case 0:case 1:break d;case 3:break g;case 5:break i;default:break h}}a=b-4|0;if(t[a>>2]>=t[d>>2]){break d}rl(d,a);return}Ew(d,d+4|0,d+8|0,b-4|0);return}Bw(d,d+4|0,d+8|0,d+12|0,b-4|0);return}if((a|0)<=123){ZN(d,b);return}g=((e|0)/2<<2)+d|0;l:{if((a|0)>=3997){a=(e|0)/4<<2;h=Bw(d,a+d|0,g,a+g|0,i);break l}h=kq(d,g,i)}a=i;if(t[d>>2]>=t[g>>2]){while(1){a=a-4|0;if((d|0)==(a|0)){f=d+4|0;if(t[d>>2]>2]){break e}while(1){if((f|0)==(i|0)){break d}if(t[d>>2]>2]){rl(f,i);f=f+4|0;break e}else{f=f+4|0;continue}}}if(t[a>>2]>=t[g>>2]){continue}break}rl(d,a);h=h+1|0}e=d+4|0;if(e>>>0>=a>>>0){break f}while(1){f=e;e=e+4|0;if(t[f>>2]>2]){continue}while(1){a=a-4|0;if(t[a>>2]>=t[g>>2]){continue}break}if(a>>>0>>0){e=f;break f}else{rl(f,a);g=(f|0)==(g|0)?a:g;h=h+1|0;continue}}}kq(d,d+4|0,b-4|0);break d}if(!((e|0)==(g|0)|t[g>>2]>=t[e>>2])){rl(e,g);h=h+1|0}if(!h){f=kM(d,e);a=e+4|0;if(kM(a,b)){b=e;a=d;if(!f){continue a}break d}if(f){continue b}}if((e-d|0)<(b-e|0)){rw(d,e,c);a=e+4|0;continue b}rw(e+4|0,b,c);b=e;a=d;continue a}a=i;if((f|0)==(a|0)){break d}while(1){e=f;f=e+4|0;if(t[d>>2]>=t[e>>2]){continue}while(1){a=a-4|0;if(t[d>>2]>2]){continue}break}if(a>>>0<=e>>>0){d=e;continue c}else{rl(e,a);continue}}}break}break}break}}function X6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a=ti+ -64|0;ti=a;e=q[215620];o[a+11|0]=1;if(r[a+11|0]){while(1){Io(3e4);while(1){b=q[215619];q[215619]=b?b:1;if(b){continue}break}a:{if(q[215618]<=0){q[215619]=0;break a}b=q[215620];d=q[b+8>>2];f=q[b+4>>2];c=q[b+16>>2];q[215619]=0;if((c|0)==-1){break a}b=pF(a+40|0);oF(b,0,c);b:{if(qF(b,0)){break b}if(!Ipa(b,c)){break b}b=a+16|0;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c:{d:{e:{f:{b=v0(c,b,a+12|0);switch(b+4|0){case 4:break f;case 1:case 2:case 3:break b;case 0:break c;default:break e}}if((d|0)==(f|0)){b=0;Ai(4,166222,166704,0);c=q[a+12>>2];q[a+60>>2]=0;while(1){g:{d=Cu(c,b+166736|0,34-b|0,a+60|0);if((d|0)!=-101){if(d){break g}b=q[a+60>>2]+b|0}if((b|0)<34){continue}}break}Zo(q[a+12>>2]);jm(q[a+12>>2]);break b}c=q[a+12>>2];b=0;q[a+60>>2]=0;while(1){h:{d=Cu(c,b+166771|0,5-b|0,a+60|0);if((d|0)!=-101){if(d){break h}b=q[a+60>>2]+b|0}if((b|0)<5){continue}}break}r0(q[a+12>>2]);d=q[a+12>>2];while(1){b=q[215619];q[215619]=b?b:1;if(b){continue}break}if(q[215618]>=1){c=q[215620];b=q[c+4>>2];if((b|0)==q[c+8>>2]){break d}q[c+4>>2]=b+4;q[b>>2]=d;q[215619]=0;break b}q[215619]=0;break b}if((b|0)==-31){break c}break b}J(166777,166678,533,166801);G()}b=ti-1184|0;ti=b;i:{if(!r[277316]){break i}}ti=b+1184|0}if(o[a+52|0]&1){break a}b=q[a+40>>2];if(!b){break a}yi(b)}Up(q[e+24>>2],q[e+28>>2],1372,a+11|0);if(r[a+11|0]){continue}break}}ti=a- -64|0}function pK(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=ti-112|0;ti=i;q[e>>2]=0;a:{b:{c:{f=Nj(a,q[c+8>>2],i+108|0);d:{if(f){cj(c);break d}f=R5(i+8|0);if(o[f+12|0]&1){break c}Ii(q[c+4>>2],64,f,f+8|0,f+4|0);j=q[c+4>>2];m=q[f>>2];if(j>>>0>q[f+8>>2]-m>>6>>>0){break b}q[f+4>>2]=(j<<6)+m;if(j){n=q[c>>2];while(1){if((j|0)==(k|0)){break a}g=(k<<6)+m|0;h=w(k,48)+n|0;q[g>>2]=q[h>>2];u[g+8>>2]=u[h+8>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=q[h+20>>2];u[g+12>>2]=u[h+12>>2];l=q[h+4>>2];o[g+32|0]=0;q[g+4>>2]=l;l=q[h+36>>2];q[g+40>>2]=q[h+32>>2];q[g+44>>2]=l;l=q[h+44>>2];q[g+48>>2]=q[h+40>>2];q[g+52>>2]=l;k=k+1|0;if((k|0)!=(j|0)){continue}break}}u[f+16>>2]=u[c+12>>2];u[f+20>>2]=u[c+16>>2];u[f+24>>2]=u[c+20>>2];u[f+28>>2]=u[c+24>>2];u[f+36>>2]=u[c+36>>2];u[f+32>>2]=u[c+32>>2];u[f+40>>2]=u[c+40>>2];u[f+44>>2]=u[c+44>>2];u[f+52>>2]=u[c+88>>2];u[f+56>>2]=u[c+92>>2];u[f+48>>2]=u[c+84>>2];q[f+60>>2]=q[c+48>>2];q[f+64>>2]=q[c+52>>2];o[f+68|0]=q[c+72>>2];q[f+76>>2]=q[c+64>>2];q[f+80>>2]=q[c+68>>2];q[f+84>>2]=q[c+96>>2];o[f+88|0]=q[c+56>>2];q[f+92>>2]=q[c+28>>2];o[f+89|0]=q[c+100>>2];g=q[c+80>>2];h=Ji(g);q[f+72>>2]=h;Gi(h,q[c+76>>2],g);e:{if(!d){d=L5(q[b+2384>>2],f);break e}C4(d,f);Pi(a,q[d+8>>2])}q[d+8>>2]=q[i+108>>2];cj(c);q[e>>2]=d;f:{if(o[f+12|0]&1){break f}a=q[f>>2];if(!a){break f}yi(a)}f=0}ti=i+112|0;return f}J(55348,55423,493,55479);G()}J(55491,55423,506,55510);G()}J(55274,55286,89,55337);G()}function Pda(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;a:{b:{c:{d:{e:{if(a){if(!c){break e}if(!b){break d}e=q[a+128>>2];if(!(q[b+196>>2]==q[d>>2]?(e|0)==q[b+200>>2]:0)){m=b;l=s[b+192>>1];if(l){while(1){i=q[d+4>>2];g=q[d+8>>2];f:{g:{if((i|0)==(g|0)){break g}h=g-i|0;e=(h|0)>-1?h:-1;k=(e|0)<1?e:1;e=i-g|0;e=w(k,((e|0)>(h|0)?e:h)>>>4|0);n=e>>>0>1?e:1;e=w(j,24)+b|0;k=q[e>>2];h=q[e+4>>2];f=0;while(1){g=(f<<4)+i|0;e=g;if((k|0)!=q[e>>2]|q[e+4>>2]!=(h|0)){f=f+1|0;if((n|0)!=(f|0)){continue}break g}break}f=q[g+8>>2];if((f|0)!=-1){break f}}f=65535;if(!(r[q[77547]+156|0]&64)){break f}if(!(K()|0)){break f}while(1){if(K()|0){continue}break}}p[(w(j,24)+b|0)+10>>1]=f;j=j+1|0;if((l|0)!=(j|0)){continue}break}e=q[a+128>>2]}q[m+200>>2]=e;q[b+196>>2]=d}Q(34962,c|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}if(s[b+192>>1]){c=0;while(1){d=w(c,24)+b|0;a=p[d+10>>1];h:{if((a|0)==-1){break h}Xa(a|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Ra(p[d+10>>1],s[d+12>>1],q[(q[d+16>>2]<<2)+87472>>2],r[d+20|0],s[b+194>>1],s[d+14>>1]);if(!(r[q[77547]+156|0]&64)){break h}a=K()|0;if(a){break a}}c=c+1|0;if(c>>>0>1]){continue}break}}return}J(84221,84160,1776,87520);G()}J(87425,84160,1777,87520);G()}J(87439,84160,1778,87520);G()}Vi(a,87520,1790);J(84254,84160,1790,87520);G()}Vi(a,87520,1797);J(84254,84160,1797,87520);G()}Vi(a,87520,1806);J(84254,84160,1806,87520);G()}function OR(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;q[d+12>>2]=b;a=a+b|0;b=Aq(d+12|0,a,d+4|0);a:{if(b){b=b-15616|0;break a}if(q[d+4>>2]-1>>>0>2){b=-15616;break a}b=Rj(d+12|0,a,d+8|0,48);if(b){break a}e=q[d+12>>2]+q[d+8>>2]|0;b=Rj(d+12|0,e,d+8|0,6);if(b){break a}b=-14720;if(q[d+8>>2]!=7){break a}f=q[d+12>>2];if(pj(f,159954,7)){break a}q[d+12>>2]=f+7;f=c+4|0;b=au(d+12|0,e,f);if(b){b=b-15616|0;break a}q[c+88>>2]=Al(f);b=-15718;if((e|0)!=q[d+12>>2]){break a}b=Rj(d+12|0,a,d+8|0,48);if(b){break a}b:{e=q[d+12>>2]+q[d+8>>2]|0;b=Rj(d+12|0,e,d+8|0,4);if(!b){b=an(c+16|0,q[d+12>>2],q[d+8>>2]);if(!b){break b}}b=b-15616|0;break a}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];c:{b=Rj(d+12|0,e,d+8|0,4);if(!b){b=an(c+28|0,q[d+12>>2],q[d+8>>2]);if(!b){break c}}b=b-15616|0;break a}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];d:{if(Rj(d+12|0,e,d+8|0,3)){g=q[d+12>>2];break d}g=q[d+12>>2]+q[d+8>>2]|0;q[d+12>>2]=g}b=-15718;if((e|0)!=(g|0)){break a}b=Rj(d+12|0,a,d+8|0,4);if(b){b=b-15616|0;break a}b=c+40|0;e=Ax(c,b,q[d+12>>2],q[d+8>>2]);if(e){if((e|0)!=-20096){b=-15616;break a}if((r[q[d+12>>2]]&254)!=2){b=-15616;break a}if(q[d+8>>2]!=(Cm(f)+1|0)){b=-15616;break a}if(an(b,q[d+12>>2]+1|0,q[d+8>>2]-1|0)){b=-15616;break a}if(lk(c+52|0,r[q[d+12>>2]]-2|0)){b=-15616;break a}b=-15616;if(lk(c- -64|0,1)){break a}}q[d+12>>2]=q[d+12>>2]+q[d+8>>2];b=a;a=c+76|0;b=au(d+12|0,b,a);if(b){b=b-15616|0;break a}q[c+92>>2]=Al(a);b=0}ti=d+16|0;return b}function vwa(){var a=0;q[75252]=zi(39624);q[75253]=wi;q[75254]=zi(39643);q[75255]=wi;q[75256]=zi(39660);q[75257]=wi;q[75258]=zi(39669);q[75259]=wi;q[75260]=zi(39675);q[75261]=wi;q[75262]=zi(39685);q[75263]=wi;q[75264]=zi(39693);q[75265]=wi;q[75266]=zi(39700);q[75267]=wi;q[75268]=zi(39709);q[75269]=wi;q[75270]=zi(39721);q[75271]=wi;q[75272]=zi(39730);q[75273]=wi;q[75274]=zi(39735);q[75275]=wi;q[75276]=zi(39741);q[75277]=wi;q[75278]=zi(39747);q[75279]=wi;q[75280]=zi(39756);q[75281]=wi;q[75282]=zi(39765);q[75283]=wi;q[75284]=zi(39774);q[75285]=wi;q[75286]=zi(39783);q[75287]=wi;q[75288]=zi(39792);q[75289]=wi;q[75290]=zi(39801);q[75291]=wi;q[75292]=zi(39810);q[75293]=wi;q[75294]=zi(39819);q[75295]=wi;q[75296]=zi(39828);q[75297]=wi;a=zi(39837);q[75317]=0;q[75318]=0;q[75316]=305408;q[75314]=0;q[75312]=39859;q[75311]=39849;q[75310]=0;q[75308]=0;q[75306]=0;q[75304]=0;q[75302]=1;q[75300]=0;q[75301]=3;q[75298]=a;q[75299]=wi;q[75319]=0;q[75320]=0;q[75321]=0;q[75338]=301200;q[75336]=0;q[75334]=39893;q[75333]=39872;q[75332]=0;q[75330]=0;q[75328]=0;q[75326]=0;q[75324]=1;q[75322]=0;q[75323]=3;q[75343]=0;q[75341]=0;q[75342]=0;q[75339]=0;q[75340]=0;q[75360]=301200;q[75358]=0;q[75356]=39924;q[75355]=39904;q[75354]=0;q[75352]=0;q[75350]=0;q[75348]=0;q[75346]=1;q[75344]=0;q[75345]=3;q[75365]=0;q[75363]=0;q[75364]=0;q[75361]=0;q[75362]=0;q[75366]=zi(39950);q[75367]=wi;q[75368]=zi(39959);q[75369]=wi}function a5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-448|0;ti=c;f=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{c:{if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){d:{if(Ei(a,1)){b=Mj(a,1);g=wi;e:{e=q[d+20>>2];f:{if(!e){break f}e=q[q[d+16>>2]+(Qwa(b,g,e)<<2)>>2];if((e|0)==-1){break f}i=q[d+24>>2];while(1){h=(e<<4)+i|0;if((b|0)==q[h>>2]&(g|0)==q[h+4>>2]){break e}e=q[h+12>>2];if((e|0)!=-1){continue}break}}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break c}d=zs(a,1,c+320|0);q[c+40>>2]=b;q[c+44>>2]=g;q[c+32>>2]=d;hj(c- -64|0,256,112767,c+32|0);q[c+16>>2]=c- -64;b=Bi(a,112801,c+16|0);break d}b=c- -64|0;q[b+8>>2]=q[((e<<4)+i|0)+8>>2];q[b+12>>2]=0;q[b>>2]=21;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+40;d=q[c+100>>2];q[b+32>>2]=q[c+96>>2];q[b+36>>2]=d;d=q[c+92>>2];q[b+24>>2]=q[c+88>>2];q[b+28>>2]=d;d=q[c+84>>2];q[b+16>>2]=q[c+80>>2];q[b+20>>2]=d;d=q[c+76>>2];q[b+8>>2]=q[c+72>>2];q[b+12>>2]=d;d=q[c+68>>2];q[b>>2]=q[c+64>>2];q[b+4>>2]=d;b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){break d}J(110492,110389,2777,112739);G()}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break b}q[c+48>>2]=(q[d+8>>2]-q[d>>2]|0)/40;b=Bi(a,110538,c+48|0);break d}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){break a}q[c>>2]=110485;b=Bi(a,112804,c)}ti=c+448|0;return b|0}J(110492,110389,475,114319);G()}J(110492,110389,2766,112739);G()}J(110492,110389,2782,112739);G()}J(110492,110389,2789,112739);G()}function b5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=ti-48|0;ti=c;d=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((d|0)==q[a+8>>2]-q[a+12>>2]>>4){if(!aE(a,1)){break b}g=q[Li(a,1,q[81658],114589)>>2];c:{d:{if((Ei(a,2)|0)==5){mj(a,2,5);Qi(a,2);Ki(a,-1,112105);d=0;if(Ei(a,-1)){d=Fm(a,-1)}Ci(a,-2);Ki(a,-1,112113);if(Ei(a,-1)){f=q[Li(a,-1,q[81657],114663)>>2]}Ci(a,-2);Ci(a,-2);if(d){break d}break c}if(!aE(a,2)){break c}if(!r[326616]){o[326616]=1;Ai(3,112123,112130,0)}f=q[Li(a,2,q[81657],114663)>>2];break c}b=Oi(64);u[b>>2]=u[d>>2];u[b+4>>2]=u[d+4>>2];u[b+8>>2]=u[d+8>>2];u[b+12>>2]=u[d+12>>2];u[b+16>>2]=u[d+16>>2];u[b+20>>2]=u[d+20>>2];u[b+24>>2]=u[d+24>>2];u[b+28>>2]=u[d+28>>2];u[b+32>>2]=u[d+32>>2];u[b+36>>2]=u[d+36>>2];u[b+40>>2]=u[d+40>>2];u[b+44>>2]=u[d+44>>2];u[b+48>>2]=u[d+48>>2];u[b+52>>2]=u[d+52>>2];u[b+56>>2]=u[d+56>>2];u[b+60>>2]=u[d+60>>2]}q[c+16>>2]=g;q[c+20>>2]=0;q[c+8>>2]=18;q[c+32>>2]=b;q[c+36>>2]=0;q[c+24>>2]=f;q[c+28>>2]=0;b=q[e+4>>2];if((b|0)!=q[e+8>>2]){q[e+4>>2]=b+40;a=q[c+44>>2];q[b+32>>2]=q[c+40>>2];q[b+36>>2]=a;a=q[c+36>>2];q[b+24>>2]=q[c+32>>2];q[b+28>>2]=a;a=q[c+28>>2];q[b+16>>2]=q[c+24>>2];q[b+20>>2]=a;a=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=a;a=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=a;a=0;break a}q[c>>2]=(q[e+8>>2]-q[e>>2]|0)/40;a=Bi(a,110538,c);break a}J(110492,110389,475,114319);G()}a=Bi(a,112074,0)}ti=c+48|0;return a|0}function Gv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=ti-32|0;ti=f;a:{b:{c:{d:{e:{d=s[a+1056>>1];f:{if((d|0)==s[a+1058>>1]){q[f>>2]=d;Ai(4,7418,7755,f);d=0;break f}g=q[b+4>>2];if(g){h=q[b>>2];d=0;while(1){i=q[(w(d,96)+h|0)+16>>2];if(!i){break e}e=(p[i+102>>1]&1)+e|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=Oi((e<<2)+160|0);q[d+88>>2]=-1;q[d+84>>2]=b;q[d+72>>2]=0;q[d+64>>2]=0;q[d+68>>2]=0;q[d+56>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=1065353216;q[d+32>>2]=1065353216;q[d+36>>2]=1065353216;q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=1065353216;q[d>>2]=0;q[d+4>>2]=0;q[d+80>>2]=0;b=q[74209];q[d+96>>2]=q[74208];q[d+100>>2]=b;hn(d+104|0,0);q[d+152>>2]=e;p[d+146>>1]=32767;q[d+80>>2]=a;q[d+148>>2]=q[d+148>>2]&-2147483648|2147450879;b=r[a+3272|0];p[d+144>>1]=32767;e=q[d+140>>2]&-2147483648|2147450879;g=e;h=q[d+136>>2]&61440|b<<7&512|2147418112;q[d+136>>2]=h;q[d+140>>2]=e;c=q[a+1052>>2];if(!c){break d}b=s[a+1058>>1];if(b>>>0>=s[a+1056>>1]){break c}p[a+1058>>1]=b+1;e=s[c+(b<<1)>>1];p[d+144>>1]=32767;q[d+136>>2]=h&2147480064;q[d+140>>2]=g&-65536|e&32767;b=q[a+1036>>2];if(e>>>0>=q[a+1040>>2]-b>>2>>>0){break b}b=b+(e<<2)|0;if(q[b>>2]){break a}q[b>>2]=d;Lv(a,d)}ti=f+32|0;return d}q[f+20>>2]=c;q[f+16>>2]=d;Ai(4,7418,10212,f+16|0);J(10267,7291,720,10273);G()}J(12558,12467,151,12565);G()}J(12569,12467,152,12565);G()}J(12518,10061,479,9553);G()}J(7884,7291,756,7929);G()}function NE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=ti-1072|0;ti=e;d=q[a+8>>2]-q[a+12>>2]>>4;q[b>>2]=q[b>>2]&-49;a:{b:{if((d|0)==1){g=c+1|0;f=Mt(a,b);break b}Ro(a,d+19|0,140375);d=d-2|0;g=c;while(1){i=d;c:{if((Ei(a,g)|0)==3){f=Ok(a,g);if(!f){d=ej(b);OB(d,b);Ni(a,0,0);d=(d|0)!=-1;break c}d=e+32|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;d=1024;while(1){d:{d=d>>>0>f>>>0?f:d;h=tl(Yk(e+32|0),1,d,b);q[e+32>>2]=h+q[e+32>>2];f=f-h|0;if((d|0)!=(h|0)){break d}if(f){continue}}break}gm(e+32|0);d=1;if(!f){break c}d=(Mk(a,-1)|0)!=0;break c}d=dj(a,g,0);if(!(r[d|0]==42?d:0)){Qj(a,g,140394)}e:{switch(o[d+1|0]-97|0){case 13:q[e+16>>2]=e+32;d=0;if((h_(b,e+16|0)|0)!=1){break c}j=v[e+32>>3];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=j;q[a+8>>2]=q[a+8>>2]+16;d=1;break c;case 0:d=e+32|0;q[d+4>>2]=0;q[d+8>>2]=a;q[d>>2]=d+12;f=-1;d=1024;while(1){f:{d=d>>>0>f>>>0?f:d;h=tl(Yk(e+32|0),1,d,b);q[e+32>>2]=h+q[e+32>>2];f=f-h|0;if((d|0)!=(h|0)){break f}if(f){continue}}break}gm(e+32|0);if(f){Mk(a,-1)}d=1;break c;default:a=Qj(a,g,140409);break a;case 11:break e}}d=Mt(a,b)}f=d;g=g+1|0;if(!f){break b}d=i-1|0;if(i){continue}break}}if(q[b+76>>2]<=-1){b=q[b>>2]}else{b=q[b>>2]}if(b>>>5&1){b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[e>>2]=al(b);vj(a,140349,e);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3;break a}if(!f){Ci(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}a=g-c|0}ti=e+1072|0;return a}function Ur(a){var b=0,c=0,d=0,e=0;d=q[a+4>>2];if(!d){return 0}e=q[a+8>>2];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:{while(1){a=q[(c<<2)+e>>2];if(a&1){return b}E:{if(a&2){a=b|1;break E}if(a&4){break D}if(a&8){break C}if(a&16){break B}if(a&32){break A}if(a&64){break z}if(a&128){break y}if(a&256){break x}if(a&512){break w}if(a&1024){break v}if(a&2048){break u}if(a&4096){break t}if(a&8192){break s}if(a&16384){break r}if(a&32768){break q}if(a&65536){break p}if(a&131072){break o}if(a&262144){break n}if(a&524288){break m}if(a&1048576){break l}if(a&2097152){break k}if(a&4194304){break j}if(a&8388608){break i}if(a&16777216){break h}if(a&33554432){break g}if(a&67108864){break f}if(a&134217728){break e}if(a&268435456){break d}if(a&536870912){break c}if(a&1073741824){break b}if((a|0)<0){break a}b=b+32|0;a=0;c=c+1|0;if(d>>>0>c>>>0){continue}}break}return a}return(b|1)+1|0}return b|3}return(b|3)+1|0}return(b|3)+2|0}return(b|3)+3|0}return b|7}return(b|7)+1|0}return(b|7)+2|0}return(b|7)+3|0}return(b|7)+4|0}return(b|7)+5|0}return(b|7)+6|0}return(b|7)+7|0}return b|15}return(b|15)+1|0}return(b|15)+2|0}return(b|15)+3|0}return(b|15)+4|0}return(b|15)+5|0}return(b|15)+6|0}return(b|15)+7|0}return(b|15)+8|0}return(b|15)+9|0}return(b|15)+10|0}return(b|15)+11|0}return(b|15)+12|0}return(b|15)+13|0}return(b|15)+14|0}return(b|15)+15|0}return b|31}function Qq(a){var b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((a|0)<=-8705){if((a|0)<=-9729){if((a|0)<=-10241){if((a|0)<=-10497){if((a|0)==-12288){break e}if((a|0)!=-10624){break c}return 177654}if((a|0)==-10496){break f}if((a|0)!=-10368){break c}return 177593}if((a|0)<=-9985){if((a|0)==-10240){break g}if((a|0)!=-10112){break c}return 177524}if((a|0)==-9984){break h}if((a|0)!=-9856){break c}return 177458}if((a|0)<=-9217){if((a|0)<=-9473){if((a|0)==-9728){break i}if((a|0)!=-9600){break c}return 177392}if((a|0)==-9472){break j}if((a|0)!=-9344){break c}return 177321}if((a|0)<=-8961){if((a|0)==-9216){break k}if((a|0)!=-9088){break c}return 177261}if((a|0)==-8960){break l}if((a|0)!=-8832){break c}return 177200}m:{n:{if((a|0)<=-8321){if((a|0)==-8704){break m}if((a|0)==-8576){break n}if((a|0)!=-8448){break c}return 177106}b=176684;o:{switch(a+82|0){case 14:return 176714;case 12:return 176745;case 10:return 176773;case 8:return 176803;case 6:return 176833;case 4:return 176861;case 2:return 176889;case 0:return 176916;case 15:return 176945;case 13:return 176978;case 11:return 177010;case 16:break b;case 9:break o;case 1:case 3:case 5:case 7:break c;default:break d}}return 177038}return 177135}return 177167}return 177232}return 177291}return 177356}return 177425}return 177488}return 177561}return 177623}return 177688}if((a|0)==-8320){break a}}b=177717}return b}return 177069}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;i=ti-16|0;ti=i;a:{b:{c:{d:{e:{if(d){d=Gs(a,q[b>>2],0);if(d){break e}}q[c+4>>2]=b;d=Nj(a,q[b>>2],c);if(d){break e}d=Nj(a,q[b+12>>2],c+24|0);if(d){break e}if(q[q[c+24>>2]+104>>2]){Ai(4,60060,60068,0);d=-15;break e}if(q[b+16>>2]==2){q[b+16>>2]=1}l=q[c>>2];j=-2147483648;k=-2147483648;a=2147483647;g=2147483647;d=q[b+8>>2];if(d){while(1){if(d>>>0<=e>>>0){break d}d=q[b+4>>2]+(e<<5)|0;q[d+16>>2]=zi(q[d>>2]);q[d+20>>2]=wi;m=q[d+28>>2];if(m){n=q[d+24>>2];d=0;while(1){h=w(d,24)+n|0;f=q[h+4>>2];a=(a|0)<(f|0)?a:f;h=q[h>>2];g=(g|0)<(h|0)?g:h;f=f+1|0;j=(f|0)<(j|0)?j:f;f=h+1|0;k=(f|0)<(k|0)?k:f;d=d+1|0;if((m|0)!=(d|0)){continue}break}}d=q[b+8>>2];e=e+1|0;if(d>>>0>e>>>0){continue}break}}q[c+40>>2]=a;q[c+36>>2]=g;q[c+28>>2]=k-g;q[c+32>>2]=q[c+32>>2]&-2147483648|j-a&2147483647;f:{if(!q[l+68>>2]){break f}d=q[l+64>>2];q[i+8>>2]=0;if(o[c+20|0]&1){break c}b=q[b+8>>2];Ii(b,4,c+8|0,c+16|0,c+12|0);e=q[c+8>>2];if(b>>>0>q[c+16>>2]-e>>2>>>0){break b}q[c+12>>2]=e+(b<<2);e=q[d+20>>2];u[i+4>>2]=x(x(t[d+24>>2])*x(.5))*x(a+j|0);u[i>>2]=x(x(e>>>0)*x(.5))*x(g+k|0);if(!b){break f}d=0;while(1){a=q[c+8>>2];if(q[c+12>>2]-a>>2>>>0<=d>>>0){break a}q[a+(d<<2)>>2]=0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}d=0}ti=i+16|0;return d}J(60240,60252,189,60277);G()}J(60288,60363,493,60419);G()}J(60431,60363,506,60450);G()}J(60458,60363,479,60277);G()}function Sla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-96|0;ti=b;f=q[a>>2];c=Fi(Oi(112),0,112);d=q[f+4>>2];a:{if((d|0)!=q[f+8>>2]){q[f+4>>2]=d+4;q[d>>2]=c;break a}q[b>>2]=d-q[f>>2]>>2;Ai(3,36048,36398,b)}q[c+104>>2]=f;b:{c:{if(!(o[c+44|0]&1)){d=q[a+16>>2];e=q[f+64>>2];Ii(d>>>0>>0?d:e,4,c+32|0,c+40|0,c+36|0);e=q[q[f+52>>2]+2384>>2];d=fp(e);Rk(d,36524,3,0);Rk(d,36533,2,0);Rk(d,36543,4,1);q[c+48>>2]=xi[q[77450]](e,d);Xl(d);if(o[c+68|0]&1){break b}Ii(512,36,c+56|0,c- -64|0,c+60|0);q[c+52>>2]=xi[q[77439]](e,0,0,0);q[b+88>>2]=-1;q[b+92>>2]=-1;q[b+80>>2]=-1;q[b+84>>2]=-1;o[b+78|0]=1;p[b+72>>1]=1;q[b+64>>2]=0;q[b+68>>2]=131074;o[b+59|0]=0;o[b+60|0]=0;o[b+61|0]=0;o[b+62|0]=0;q[b+52>>2]=0;q[b+56>>2]=0;p[b+74>>1]=2;p[b+76>>1]=2;q[b+36>>2]=1;q[b+40>>2]=1;q[b+44>>2]=0;q[b+48>>2]=0;q[b+20>>2]=16;q[b+24>>2]=3;q[b+28>>2]=1;q[b+32>>2]=1;p[b+58>>1]=2;p[b+56>>1]=2;q[b+16>>2]=b+80;d=xi[q[77501]](e,b- -64|0)|0;q[c+72>>2]=d;e=wi;q[c+76>>2]=e;xi[q[77503]](d,e,b+16|0);if(o[c+12|0]&1){break b}Ii(128,320,c,c+8|0,c+4|0);if(o[c+28|0]&1){break b}Ii(128,4,c+16|0,c+24|0,c+20|0);d=q[c+16>>2];e=q[c+24>>2]-d|0;if(e>>2>>>0<=127){break c}q[c+20>>2]=d+512;Fi(d,0,e);d=q[f+68>>2];q[c+84>>2]=d;e=q[f+72>>2];q[c+88>>2]=e;q[c+80>>2]=WG(d,e);q[c+100>>2]=By(q[f+60>>2]);if(r[277316]){Qp(q[f+48>>2],163,c)}q[q[a+12>>2]>>2]=c;ti=b+96|0;return 0}break b}J(36578,36330,506,36597);G()}J(36255,36330,493,36386);G()}function Br(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=ti-144|0;ti=f;e=Fi(f,0,68);g=Fi(a,0,1024);a:{b:{c:{if((c|0)>0){while(1){a=(r[b+d|0]<<2)+e|0;q[a>>2]=q[a>>2]+1;d=d+1|0;if((d|0)!=(c|0)){continue}break}q[e>>2]=0;d=q[e+4>>2];if((d|0)>2){break b}break c}q[e>>2]=0}if(q[e+12>>2]>8|q[e+8>>2]>=5|(q[e+16>>2]>16|q[e+20>>2]>32)){break b}if(q[e+24>>2]>64|q[e+28>>2]>128|(q[e+32>>2]>256|q[e+36>>2]>512)){break b}if(q[e+40>>2]>1024|q[e+44>>2]>2048|(q[e+48>>2]>4096|q[e+52>>2]>8192)){break b}if(q[e+56>>2]>16384|q[e+60>>2]>32768){break b}q[e+84>>2]=0;p[g+1126>>1]=0;p[g+1026>>1]=0;d:{if((d|0)<=2){f=1;a=d;while(1){i=f;q[((f<<2)+g|0)+1056>>2]=d<<16-f;f=f+1|0;if((f|0)==16){break d}h=f<<2;d=d<<1;q[h+(e+80|0)>>2]=d;h=q[e+h>>2];j=(f<<1)+g|0;k=a+k|0;p[j+1124>>1]=k;p[j+1024>>1]=d;a=h;d=a+d|0;if(!a|(d|0)<=2<>2]=65536;d=1;if((c|0)<1){break a}f=0;while(1){a=r[b+f|0];if(a){i=(e+80|0)+(a<<2)|0;h=q[i>>2];d=(a<<1)+g|0;d=(h-s[d+1024>>1]|0)+s[d+1124>>1]|0;o[(d+g|0)+1156|0]=a;p[((d<<1)+g|0)+1444>>1]=f;e:{if(a>>>0>9){break e}d=h>>>1&21845|h<<1&43690;d=d>>>2&13107|d<<2&52428;d=d>>>4&3855|d<<4&61680;d=(d<<8&65280|d>>>8)>>>16-a|0;if((d|0)>511){break e}j=a<<9|f;a=1<>1]=j;d=a+d|0;if((d|0)<512){continue}break}}q[i>>2]=h+1}d=1;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}q[215613]=164693;d=0}ti=e+144|0;return d}function IT(a,b,c,d){var e=0,f=0,g=0;e=ti-48|0;ti=e;q[b>>2]=4;q[c>>2]=4;q[d>>2]=20;f=-9058;a:{if(q[a>>2]!=48){break a}f=q[a+8>>2];q[e+44>>2]=f;a=q[a+4>>2];if(!a){f=0;break a}b:{c:{d:{g=a+f|0;a=Rj(e+44|0,g,e+40|0,160);if(a){if((a|0)!=-98){break d}a=q[e+44>>2];break b}a=q[e+44>>2]+q[e+40>>2]|0;f=nW(e+44|0,a,e+24|0);f=f?f-8960|0:0;if(f){break a}b=mD(e+24|0,b);if(!b){break c}f=b-8960|0;break a}f=a-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}if((a|0)==(g|0)){f=0;break a}e:{f:{a=Rj(e+44|0,g,e+40|0,161);g:{if(a){if((a|0)!=-98){break f}a=q[e+44>>2];break g}a=q[e+44>>2]+q[e+40>>2]|0;f=nx(e+44|0,a,e+24|0,e+8|0);if(f){break a}f=-8366;if(q[e+28>>2]!=9){break a}if(pj(168924,q[e+32>>2],9)){break a}f=CN(q[e+8>>2],q[e+12>>2],q[e+16>>2],c);if(f){break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}if((a|0)==(g|0)){f=0;break a}h:{i:{j:{a=Rj(e+44|0,g,e+40|0,162);if(a){if((a|0)!=-98){break j}a=q[e+44>>2];break h}a=q[e+44>>2]+q[e+40>>2]|0;b=Aq(e+44|0,a,d);if(!b){break i}f=b-8960|0;break a}f=a-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}}f=0;if((a|0)==(g|0)){break a}a=Rj(e+44|0,g,e+40|0,163);k:{if(a){if((a|0)!=-98){break e}a=q[e+44>>2];break k}a=q[e+44>>2]+q[e+40>>2]|0;b=Aq(e+44|0,a,e+4|0);if(b){f=b-8960|0;break a}f=-9062;if(q[e+44>>2]!=(a|0)){break a}f=-8960;if(q[e+4>>2]!=1){break a}}f=(a|0)==(g|0)?0:-9062;break a}f=a-8960|0;break a}f=a-8960|0}ti=e+48|0;return f}function sx(a,b){var c=0,d=0,e=0,f=0;if(!(q[a+40>>2]|q[a+44>>2])){return-28928}c=-28928;a:{e=q[a+108>>2];if((q[a+100>>2]-e|0)+16749>>>0>>0){break a}if(!(r[q[a>>2]+184|0]&2)){c=0;d=q[a+136>>2];if(d>>>0>=b>>>0){break a}while(1){c=q[a+96>>2];b:{if(c){c=(xi[c|0](q[a+88>>2])|0)==2?-1:0;break b}c=0}if(c){return-26624}d=b-d|0;c=q[a+44>>2];c:{if(c){c=xi[c|0](q[a+48>>2],q[a+108>>2]+q[a+136>>2]|0,d,q[q[a>>2]+148>>2])|0;break c}c=xi[q[a+40>>2]](q[a+48>>2],q[a+108>>2]+q[a+136>>2]|0,d)|0}if(!c){return-29312}if((c|0)<0){break a}if(c>>>0>d>>>0){return-27648}d=q[a+136>>2]+c|0;q[a+136>>2]=d;c=0;if(b>>>0>d>>>0){continue}break}break a}if(!q[a+92>>2]|!q[a+96>>2]){break a}f=q[a+144>>2];if(f){c=-27648;d=q[a+136>>2];if(f>>>0>d>>>0){break a}c=d-f|0;q[a+136>>2]=c;if(c){Sk(e,e+f|0,c)}q[a+144>>2]=0}c=0;d=b;b=q[a+136>>2];if(d>>>0<=b>>>0){break a}c=-27648;if(b){break a}d:{b=q[a+96>>2];e:{if(b){b=(xi[b|0](q[a+88>>2])|0)==2?-1:0;break e}b=0}if(!b){e=q[a+108>>2];c=q[a+100>>2]-e|0;if(q[a+4>>2]!=16){b=q[a+68>>2]+488|0}else{b=q[a>>2]+148|0}d=c+16749|0;c=q[a+44>>2];f:{if(c){b=xi[c|0](q[a+48>>2],e,d,q[b>>2])|0;break f}b=xi[q[a+40>>2]](q[a+48>>2],e,d)|0}if(!b){return-29312}if((b|0)!=-26624){break d}}b=q[a+92>>2];if(b){xi[b|0](q[a+88>>2],0,0)}c=-26624;if(q[a+4>>2]==16){break a}if(qQ(q[a>>2],q[a+68>>2])){break a}a=sq(a);return a?a:-26880}if((b|0)<0){return b}q[a+136>>2]=b;return 0}return c}function yt(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0);d=u[b+4>>2];g=u[b+32>>2];h=u[b>>2];k=u[b+36>>2];v=x(x(d*g)-x(h*k));l=u[b+8>>2];m=u[b+40>>2];w=x(x(l*g)-x(h*m));i=u[b+48>>2];n=u[b+28>>2];f=x(x(d*m)-x(l*k));o=u[b+24>>2];p=u[b+12>>2];q=u[b+44>>2];y=x(x(p*k)-x(d*q));e=u[b+20>>2];z=x(x(p*m)-x(l*q));F=x(x(x(n*f)+x(o*y))-x(e*z));r=u[b+56>>2];s=u[b+52>>2];A=x(x(e*r)-x(o*s));t=u[b+60>>2];B=x(x(n*s)-x(e*t));C=x(x(n*r)-x(o*t));G=x(x(x(p*A)+x(l*B))-x(d*C));j=u[b+16>>2];H=x(x(x(s*z)-x(f*t))-x(y*r));I=x(x(x(k*C)-x(q*A))-x(m*B));c=x(x(1)/x(x(i*F)+x(x(g*G)+x(x(j*H)+x(h*I)))));u[a+60>>2]=x(x(x(o*v)-x(e*w))-x(j*f))*c;D=x(x(e*i)-x(j*s));E=x(x(o*i)-x(j*r));u[a+56>>2]=x(x(x(l*D)-x(d*E))-x(h*A))*c;u[a+52>>2]=x(x(i*f)+x(x(w*s)-x(v*r)))*c;u[a+48>>2]=x(x(g*A)+x(x(k*E)-x(m*D)))*c;f=e;e=x(x(p*g)-x(h*q));u[a+44>>2]=x(x(x(f*e)-x(n*v))-x(j*y))*c;f=d;d=x(x(n*i)-x(j*t));u[a+40>>2]=x(x(x(f*d)-x(p*D))-x(h*B))*c;u[a+36>>2]=x(x(i*y)+x(x(v*t)-x(s*e)))*c;u[a+32>>2]=x(x(g*B)+x(x(q*D)-x(k*d)))*c;u[a+28>>2]=x(x(j*z)+x(x(n*w)-x(o*e)))*c;u[a+24>>2]=x(x(h*C)+x(x(p*E)-x(l*d)))*c;u[a+20>>2]=x(x(x(e*r)-x(w*t))-x(i*z))*c;u[a+16>>2]=x(x(x(m*d)-x(q*E))-x(g*C))*c;u[a+12>>2]=F*c;u[a+8>>2]=G*c;u[a+4>>2]=H*c;u[a>>2]=I*c}function Kk(a,b,c){var d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0),H=x(0),I=x(0),J=x(0),K=x(0);d=u[c+28>>2];e=u[c+20>>2];f=u[c+24>>2];g=u[c+44>>2];h=u[c+36>>2];i=u[c+40>>2];j=u[b+52>>2];k=u[b+20>>2];l=u[b+36>>2];m=u[b+56>>2];n=u[b+24>>2];o=u[b+40>>2];p=u[c+60>>2];q=u[b+60>>2];r=u[c+52>>2];s=u[b+28>>2];t=u[c+56>>2];v=u[b+44>>2];w=u[c+16>>2];y=u[c+32>>2];z=u[b+4>>2];A=u[b+8>>2];B=u[c+48>>2];C=u[b+12>>2];D=u[b>>2];E=u[c>>2];F=u[b+16>>2];G=u[c+4>>2];H=u[b+32>>2];I=u[c+8>>2];J=u[b+48>>2];K=u[c+12>>2];u[a>>2]=x(x(x(D*E)+x(F*G))+x(H*I))+x(J*K);u[a+60>>2]=x(x(x(C*B)+x(s*r))+x(v*t))+x(q*p);u[a+56>>2]=x(x(x(A*B)+x(n*r))+x(o*t))+x(m*p);u[a+52>>2]=x(x(x(z*B)+x(k*r))+x(l*t))+x(j*p);u[a+48>>2]=x(x(x(D*B)+x(F*r))+x(H*t))+x(J*p);u[a+44>>2]=x(x(x(C*y)+x(s*h))+x(v*i))+x(q*g);u[a+40>>2]=x(x(x(A*y)+x(n*h))+x(o*i))+x(m*g);u[a+36>>2]=x(x(x(z*y)+x(k*h))+x(l*i))+x(j*g);u[a+32>>2]=x(x(x(D*y)+x(F*h))+x(H*i))+x(J*g);u[a+28>>2]=x(x(x(C*w)+x(s*e))+x(v*f))+x(q*d);u[a+24>>2]=x(x(x(A*w)+x(n*e))+x(o*f))+x(m*d);u[a+20>>2]=x(x(x(z*w)+x(k*e))+x(l*f))+x(j*d);u[a+16>>2]=x(x(x(D*w)+x(F*e))+x(H*f))+x(J*d);u[a+12>>2]=x(x(x(E*C)+x(G*s))+x(I*v))+x(K*q);u[a+8>>2]=x(x(x(E*A)+x(G*n))+x(I*o))+x(K*m);u[a+4>>2]=x(x(x(E*z)+x(G*k))+x(I*l))+x(K*j)}function ss(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{axa(+a);f=Zwa(1)|0;Zwa(0)|0;d:{e:{b=f;f=b&2147483647;if(f>>>0>=1078159482){axa(+a);f=Zwa(1)|0;f=f&2147483647;if((f|0)==2146435072&(Zwa(0)|0)!=0|f>>>0>2146435072){break a}if((b|0)<0){return-1}if(a>709.782712893384^1){break e}return a*8.98846567431158e+307}if(f>>>0<1071001155){break c}if(f>>>0>1072734897){break e}if((b|0)>0?1:(b|0)>=0){b=1;c=1.9082149292705877e-10;d=a+ -.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;d=a+.6931471803691238;break d}axa(.5);b=Zwa(1)|0;h=Zwa(0)|0;axa(+a);f=Zwa(1)|0;Zwa(0)|0;_wa(0,h|0);_wa(1,b&2147483647|f&-2147483648);c=a*1.4426950408889634+ +$wa();f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}e=+(b|0);c=e*1.9082149292705877e-10;d=a+e*-.6931471803691238}a=d;a=a-c;c=d-a-c;break b}if(f>>>0<1016070144){break a}b=0}g=a*.5;e=a*g;d=e*(e*(e*(e*(e*-2.0109921818362437e-7+4008217827329362e-21)+ -793650757867488e-19)+.0015873015872548146)+ -.03333333333333313)+1;i=d;d=3-g*d;d=e*((i-d)/(6-a*d));if(!b){return a-(a*d-e)}c=a*(d-c)-c-e;g:{switch(b+1|0){case 0:return(a-c)*.5+ -.5;case 2:if(!(a<-.25^1)){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}_wa(0,0);_wa(1,b+1023<<20);e=+$wa();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*8.98846567431158e+307:a*e)+ -1}_wa(0,0);_wa(1,1023-b<<20);d=+$wa();b=(b|0)<20;a=((b?1-d:a-(c+d))+(b?a-c:1))*e}return a}function bx(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=ti-16|0;ti=j;l=q[b+16>>2];m=r[b+7|0];k=q[b+28>>2];if((k|0)<(c|0)){e=b;a:{if(c+1>>>0<=268435455){h=lj(a,q[b+12>>2],k<<4,c<<4);break a}h=Yj(a)}q[e+12>>2]=h;e=q[b+28>>2];if((e|0)<(c|0)){while(1){q[(h+(e<<4)|0)+8>>2]=0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}q[b+28>>2]=c}IC(a,b,d);if((c|0)<(k|0)){q[b+28>>2]=c;e=c;while(1){f=e+1|0;g=q[b+12>>2]+(e<<4)|0;if(q[g+8>>2]){b:{c:{d:{if(t[b+28>>2]>e>>>0){e=g;break d}i=+(f|0);if(f){e=q[b+16>>2];axa(+i);h=Zwa(1)|0;d=Zwa(0)|0;n=e;e=h;h=d+e|0;e=n+((h>>>0)%((-1<>>0)<<5)|0}else{e=q[b+16>>2]}while(1){if(v[e+16>>3]==i?q[e+24>>2]==3:0){break d}e=q[e+28>>2];if(e){continue}break}break c}if((e|0)!=135744){break b}i=+(f|0)}q[j+8>>2]=3;v[j>>3]=i;e=Ap(a,b,j)}d=q[g+4>>2];q[e>>2]=q[g>>2];q[e+4>>2]=d;q[e+8>>2]=q[g+8>>2]}e=f;if((k|0)!=(e|0)){continue}break}d=b;e:{if(c+1>>>0<=268435455){c=lj(a,q[b+12>>2],k<<4,c<<4);break e}c=Yj(a)}q[d+12>>2]=c}h=1<>2]){g=f+16|0;d=os(b,g);o[b+6|0]=0;if((d|0)==135744){f:{g:{switch(q[f+24>>2]){case 0:Hk(a,137241,0);break f;case 3:break g;default:break f}}i=v[g>>3];if(i==i){break f}Hk(a,137260,0)}d=Ap(a,b,g)}g=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=g;q[d+8>>2]=q[f+8>>2]}d=(c|0)>1;c=e;if(d){continue}break}}if((l|0)!=137304){lj(a,l,h<<5,0)}ti=j+16|0}function KX(a,b,c){var d=0,e=0,f=0,g=0;d=-1;a:{b:{c:{switch(q[c+8>>2]){case 3:f=v[c>>3];d:{if(y(f)<2147483648){d=~~f;break d}d=-2147483648}if(!((d|0)<1|+(d|0)!=f|(d|0)>q[b+28>>2])){d=d-1|0;break a}d=q[b+16>>2];if(f==0){break b}g=q[b+16>>2];axa(+f);e=Zwa(1)|0;d=Zwa(0)|0;e=d+e|0;d=g+((e>>>0)%((-1<>>0)<<5)|0;break b;case 4:d=q[b+16>>2]+((q[q[c>>2]+8>>2]&(-1<>2]+((q[c>>2]&(-1<>2]+(t[c>>2]%((-1<>>0)<<5)|0;break b;case 0:break a;default:break c}}d=q[b+16>>2]+(t[c>>2]%((-1<>>0)<<5)|0}while(1){e:{if(!Po(d+16|0,c)){if(q[d+24>>2]!=11|q[c+8>>2]<4|q[d+16>>2]!=q[c>>2]){break e}}d=q[b+28>>2]+(d-q[b+16>>2]>>5)|0;break a}d=q[d+28>>2];if(d){continue}break}d=0;Hk(a,137279,0)}g=d+1|0;e=q[b+28>>2];f:{g:{while(1){a=d;d=d+1|0;if((e|0)<=(d|0)){break g}if(!q[(q[b+12>>2]+(d<<4)|0)+8>>2]){continue}break}q[c+8>>2]=3;v[c>>3]=a+2|0;a=q[b+12>>2]+(d<<4)|0;b=q[a+4>>2];q[c+16>>2]=q[a>>2];q[c+20>>2]=b;break f}d=(e|0)>(g|0)?0:g-e|0;e=1<>2];while(1){if(q[(a+(d<<5)|0)+8>>2]){d=d<<5;a=d+a|0;e=q[a+20>>2];q[c>>2]=q[a+16>>2];q[c+4>>2]=e;q[c+8>>2]=q[a+24>>2];a=d+q[b+16>>2]|0;b=q[a+4>>2];q[c+16>>2]=q[a>>2];q[c+20>>2]=b;break f}d=d+1|0;if((e|0)>(d|0)){continue}break}}return 0}q[c+24>>2]=q[a+8>>2];return 1}function Tx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-112|0;ti=f;a:{if(!(r[a+56|0]&2)){d=q[a+20>>2];break a}g=q[a+32>>2];c=g;e=q[a+68>>2];b:{if(!e){break b}c=g;if(!r[a+57|0]){break b}c=q[a+20>>2];h=q[c+8>>2];d=q[a+8>>2];q[f+28>>2]=-1;q[f+8>>2]=1;q[f+104>>2]=(c-q[a+40>>2]|0)/24;if((q[a+28>>2]-d|0)<=320){c=q[a+44>>2];dn(a,(c|0)<20?c+20|0:c<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;xi[e|0](a,f+8|0);o[a+57|0]=1;c=q[a+32>>2];q[q[a+20>>2]+8>>2]=c+(h-g|0);q[a+8>>2]=(d-g|0)+c}d=q[a+20>>2];c:{if(r[q[q[d+4>>2]>>2]+6|0]){break c}e=r[a+56|0];if(!(e&2)){break c}while(1){h=q[d+20>>2];q[d+20>>2]=h-1;if(!h){break c}h=q[a+68>>2];if(!(!h|!r[a+57|0])){e=q[a+8>>2];i=q[d+8>>2];q[f+104>>2]=0;q[f+28>>2]=-1;q[f+8>>2]=4;if((q[a+28>>2]-e|0)<=320){d=q[a+44>>2];dn(a,(d|0)<20?d+20|0:d<<1)}e=e-c|0;q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;xi[h|0](a,f+8|0);o[a+57|0]=1;h=i-c|0;d=q[a+20>>2];c=q[a+32>>2];q[d+8>>2]=h+c;q[a+8>>2]=c+e;e=r[a+56|0]}if(e&2){continue}break}}b=(b-g|0)+c|0}c=d-24|0;q[a+20>>2]=c;g=q[d+16>>2];d=q[d+4>>2];q[a+12>>2]=q[c>>2];q[a+24>>2]=q[c+12>>2];d:{if(!g){break d}c=g;while(1){if(t[a+8>>2]>b>>>0){e=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=e;q[d+8>>2]=q[b+8>>2];d=d+16|0;b=b+16|0;c=c-1|0;if(c){continue}break d}break}if((c|0)<1){break d}while(1){q[d+8>>2]=0;d=d+16|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}q[a+8>>2]=d;ti=f+112|0;return g+1|0}function y4(a){var b=0,c=0,d=0,e=0,f=0;e=ti-16|0;ti=e;b=q[a+5172>>2];c=b;d=q[a+5168>>2];if(b|d){Rm(d,c)}b=q[a+7364>>2];if(b){rz(b)}b=q[a+7368>>2];if(b){J7(b)}b=q[a+5140>>2];if(b){Zn(b)}c=q[a+7412>>2];if(c){b=q[c>>2];a:{if(b){Z3(b);c=q[a+7412>>2];if(!c){break a}}b=q[c+4>>2];if(b){cj(b)}b=q[c+8>>2];if(b){cj(b)}yi(c)}q[a+7412>>2]=0}b=q[a+7408>>2];if(b){Py(b);b=q[a+7408>>2];if(b){c=q[b+4>>2];if(c){cj(c)}c=q[b+8>>2];if(c){cj(c)}yi(b)}q[a+7408>>2]=0}b=q[a>>2];b:{c:{if(!q[b+24>>2]){break c}Ai(4,24387,25124,0);b=q[a>>2];d=q[b+4>>2];if(!d){break c}while(1){c=q[q[b>>2]+(f<<2)>>2];if((c|0)!=-1){while(1){c=q[b+8>>2]+w(c,48)|0;d=Mi(q[c>>2],q[c+4>>2]);q[e+4>>2]=q[c+36>>2];q[e>>2]=d;Ai(4,24387,26463,e);c=q[c+40>>2];if((c|0)!=-1){continue}break}d=q[b+4>>2]}f=f+1|0;if(f>>>0>>0){continue}break}b=q[a>>2];if(!b){break b}}d:{if(o[b+28|0]&1){break d}c=q[b+8>>2];if(c){yi(c)}c=q[b>>2];if(!c){break d}yi(c)}yi(b)}b=q[a+4>>2];if(b){e:{if(o[b+28|0]&1){break e}c=q[b+8>>2];if(c){yi(c)}c=q[b>>2];if(!c){break e}yi(c)}yi(b)}b=q[a+8>>2];if(b){f:{if(o[b+28|0]&1){break f}c=q[b+8>>2];if(c){yi(c)}c=q[b>>2];if(!c){break f}yi(c)}yi(b)}b=q[a+12>>2];if(b){g:{if(o[b+12|0]&1){break g}c=q[b>>2];if(!c){break g}yi(c)}yi(b)}h:{if(o[a+7388|0]&1){break h}b=q[a+7376>>2];if(!b){break h}yi(b)}i:{if(o[a+5160|0]&1){break i}b=q[a+5148>>2];if(!b){break i}yi(b)}yi(a);ti=e+16|0}function X2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=ti-160|0;ti=c;b=ul(a,1);a:{b:{c:{d:{if((b|0)!=q[212904]){if((b|0)==q[212905]){break d}if((b|0)==q[212906]){break c}q[c+144>>2]=128720;q[c+140>>2]=128704;q[c+136>>2]=128688;q[c+132>>2]=130286;q[c+128>>2]=128752;a=Bi(a,130645,c+128|0);break a}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;Bi(a,128819,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(e*e)+x(f*f))+x(d*d))));break b}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];f:{g:{if(e!=e|f!=f){break g}d=u[b+8>>2];if(d!=d){break g}g=u[b+12>>2];if(g==g){break f}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;Bi(a,128909,c+32|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))));break b}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];h:{i:{if(e!=e|f!=f){break i}d=u[b+8>>2];if(d!=d){break i}g=u[b+12>>2];if(g==g){break h}}d=u[b+8>>2];g=u[b+12>>2];v[c+96>>3]=f;v[c+112>>3]=g;v[c+104>>3]=d;v[c+88>>3]=e;q[c+80>>2]=1;Bi(a,129003,c+80|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(F(x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))))}q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+160|0;return a|0}function tta(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=ti-1024|0;ti=h;while(1){a:{if(!vua(b)){break a}a=0;d=FM(b);if(!d){FB(h,(d<<2)+h|0);break a}while(1){q[(a<<2)+h>>2]=rta(a,b)<<8|a;a=a+1|0;if((d|0)!=(a|0)){continue}break}FB(h,(d<<2)+h|0);a=0;if(!d){break a}while(1){c=q[(a<<2)+h>>2];e=((b<<9)+312416|0)+((c&255)<<1)|0;o[e+1|0]=a;o[e|0]=c>>>8;a=a+1|0;if((d|0)!=(a|0)){continue}break}}b=b+1|0;if((b|0)!=21){continue}break}while(1){c=0;e=65535;while(1){j=w(c,86)+32|0;a=0;while(1){k=b;b=(j+w(a,42)>>>6|0)-f|0;i=w(b,b);g=i>>>0<(e&65535)>>>0;b=g?a:k;d=g?c:d;e=g?i:e;a=a+1|0;if((a|0)!=128){continue}break}c=c+1|0;if((c|0)!=128){continue}break}j=f<<3;a=j+323168|0;o[a+3|0]=b;o[a+2|0]=d;p[a>>1]=e;e=65535;c=0;while(1){i=w(c<<1|1,43)+32|0;a=0;while(1){k=b;b=(i+w(a<<1|1,21)>>>6|0)-f|0;l=w(b,b);g=l>>>0<(e&65535)>>>0;b=g?a:k;d=g?c:d;e=g?l:e;a=a+1|0;if((a|0)!=128){continue}break}c=c+1|0;if((c|0)!=128){continue}break}a=j+323168|0;p[a+4>>1]=e;o[a+7|0]=b;o[a+6|0]=d;f=f+1|0;if((f|0)!=256){continue}break}c=0;while(1){f=0;b=65535;while(1){j=w(f<<1|f>>>6,43)+32|0;a=0;while(1){d=(j+w(a<<1|a>>>6,21)>>>6|0)-c|0;i=w(d,d);d=i>>>0<(b&65535)>>>0;b=d?i:b;e=d?f:e;g=d?a:g;a=a+1|0;if((a|0)!=128){continue}break}f=f+1|0;if((f|0)!=128){continue}break}a=(c<<2)+325216|0;o[a+3|0]=g;o[a+2|0]=e;p[a>>1]=b;c=c+1|0;if((c|0)!=256){continue}break}ti=h+1024|0}function rr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=r[b+2|0];e=r[b+1|0];i=(c<<4)+100928|0;f=q[i>>2];b=r[b|0];j=(b<<3|b>>>2)&255;c=f+j|0;a:{b:{if(c>>>0<256){d=c;break b}b=255;if((c|0)>=0){break a}}b=d}c=b;b=0;k=(e<<3|e>>>2)&255;d=k+f|0;c:{d:{if(d>>>0<256){b=d;break d}e=255;if((d|0)>=0){break c}}e=b}d=e;o[a+3|0]=255;b=0;h=a;g=(g<<3|g>>>2)&255;e=g+f|0;e:{f:{if(e>>>0<256){b=e;break f}f=255;if((e|0)>=0){break e}}f=b}o[h+2|0]=f;o[a+1|0]=d;o[a|0]=c;b=0;f=q[i+4>>2];d=f+j|0;g:{h:{if(d>>>0<256){b=d;break h}c=255;if((d|0)>=0){break g}}c=b}b=0;d=f+k|0;i:{j:{if(d>>>0<256){b=d;break j}e=255;if((d|0)>=0){break i}}e=b}d=e;o[a+7|0]=255;b=0;h=a;e=f+g|0;k:{l:{if(e>>>0<256){b=e;break l}f=255;if((e|0)>=0){break k}}f=b}o[h+6|0]=f;o[a+5|0]=d;o[a+4|0]=c;b=0;f=q[i+8>>2];d=f+j|0;m:{n:{if(d>>>0<256){b=d;break n}c=255;if((d|0)>=0){break m}}c=b}b=0;d=f+k|0;o:{p:{if(d>>>0<256){b=d;break p}e=255;if((d|0)>=0){break o}}e=b}d=e;o[a+11|0]=255;b=0;h=a;e=f+g|0;q:{r:{if(e>>>0<256){b=e;break r}f=255;if((e|0)>=0){break q}}f=b}o[h+10|0]=f;o[a+9|0]=d;o[a+8|0]=c;b=0;f=q[i+12>>2];d=f+j|0;s:{t:{if(d>>>0<256){b=d;break t}c=255;if((d|0)>=0){break s}}c=b}b=0;d=f+k|0;u:{v:{if(d>>>0<256){b=d;break v}e=255;if((d|0)>=0){break u}}e=b}d=e;o[a+15|0]=255;b=0;h=a;e=f+g|0;w:{x:{if(e>>>0<256){b=e;break x}f=255;if((e|0)>=0){break w}}f=b}o[h+14|0]=f;o[a+13|0]=d;o[a+12|0]=c}function e9(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!b|(b|0)==(c|0)){break b}c:{d:{e:{f:{g=b&65535;h=q[a+32>>2];if(g>>>0<(q[a+36>>2]-h|0)/576>>>0){if(s[(w(g,576)+h|0)+552>>1]!=(b>>>16|0)){break f}f=w(g,576)+h|0;if(s[f+554>>1]!=(b&65535)){break e}$q(a,f);if(!c){b=0;break d}d=q[a+32>>2];e=(q[a+36>>2]-d|0)/576|0;c=c&65535;if(e>>>0<=c>>>0){break a}i=s[(d+w(c,576)|0)+556>>1];b=0;g:{if((i|0)==65535){break g}if(e>>>0<=i>>>0){break a}b=d+w(i,576)|0}c=s[(d+w(c,576)|0)+560>>1];if((c|0)==65535){break d}if(c>>>0>=e>>>0){break a}e=d+w(c,576)|0;c=e+564|0;d=e+562|0;e=s[e+554>>1];break c}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}c=a+350|0;d=a+348|0;e=65535}i=w(g,576)+h|0;p[i+560>>1]=e;if(b){d=s[b+554>>1];h:{if((d|0)==s[c>>1]){p[c>>1]=s[f+554>>1];p[(w(g,576)+h|0)+558>>1]=65535;d=s[b+554>>1];break h}c=s[b+558>>1];if((c|0)==65535){break h}e=q[a+36>>2];a=q[a+32>>2];if(c>>>0>=(e-a|0)/576>>>0){break a}p[(a+w(c,576)|0)+556>>1]=s[f+554>>1];p[(w(g,576)+h|0)+558>>1]=c}p[b+558>>1]=s[f+554>>1];p[(w(g,576)+h|0)+556>>1]=d;return}p[i+556>>1]=65535;p[i+558>>1]=s[d>>1];b=s[d>>1];i:{if((b|0)==65535){b=s[f+554>>1];break i}e=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=(e-a|0)/576>>>0){break a}a=a+w(b,576)|0;b=s[f+554>>1];p[a+556>>1]=b}p[d>>1]=b;if(s[c>>1]!=65535){break b}p[c>>1]=s[f+554>>1]}return}J(195730,195579,479,195741);G()}function dL(a,b,c){var d=0,e=0,f=0;d=ti-80|0;ti=d;a=a?q[a+120>>2]:0;f=Zi(d+56|0,a,0,14389,174);q[d+48>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;a:{if(!c){a=Rv(d+16|0);if(!a){break a}e=DA(a);break a}Lq(a,b,c);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(rj(a,-2)){while(1){b:{if(!ek(a,-2)){break b}q[d+12>>2]=0;c:{switch(yA(a,-1,d+12|0)|0){case 1:q[d+20>>2]=q[d+20>>2]+1;break b;case 2:q[d+32>>2]=q[d+32>>2]+1;break b;case 3:q[d+36>>2]=q[d+36>>2]+1;break b;case 4:q[d+40>>2]=q[d+40>>2]+1;break b;case 5:q[d+44>>2]=q[d+44>>2]+1;break b;case 6:q[d+48>>2]=q[d+48>>2]+1;break b;case 7:case 8:Ci(a,-4);break a;case 0:break c;default:break b}}q[d+16>>2]=q[d+16>>2]+1}Ci(a,-2);if(rj(a,-2)){continue}break}}b=Rv(d+16|0);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){d:{if(!ek(a,-2)){break d}q[d+12>>2]=0;c=zi(dj(a,-2,0));e=wi;e:{switch(yA(a,-1,d+12|0)|0){case 1:IK(b,c,e,Zk(a,-1),wi);break d;case 2:Doa(b,c,e,Ly(a,-1));break d;case 3:kp(b,c,e,3,kl(a,-1));break d;case 4:kp(b,c,e,4,am(a,-1));break d;case 5:kp(b,c,e,5,Pq(a,-1));break d;case 6:KK(b,c,e,(Ej(a,-1)|0)!=0);break d;case 7:case 8:J(14432,14389,261,14438);G();case 0:break e;default:break d}}u[d+8>>2]=xj(a,-1);kp(b,c,e,0,d+8|0)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);e=DA(b)}Yi(f);ti=d+80|0;return e}function twa(){var a=0;q[75418]=zi(41670);q[75419]=wi;q[75420]=zi(41689);q[75421]=wi;q[75422]=zi(41706);q[75423]=wi;q[75424]=zi(41715);q[75425]=wi;q[75426]=zi(41721);q[75427]=wi;q[75428]=zi(41731);q[75429]=wi;q[75430]=zi(41739);q[75431]=wi;q[75432]=zi(41746);q[75433]=wi;q[75434]=zi(41755);q[75435]=wi;q[75436]=zi(41767);q[75437]=wi;q[75438]=zi(41776);q[75439]=wi;q[75440]=zi(41781);q[75441]=wi;q[75442]=zi(41787);q[75443]=wi;q[75444]=zi(41793);q[75445]=wi;q[75448]=zi(41802);q[75449]=wi;q[75450]=zi(41811);q[75451]=wi;q[75452]=zi(41820);q[75453]=wi;q[75454]=zi(41829);q[75455]=wi;q[75456]=zi(41838);q[75457]=wi;q[75458]=zi(41847);q[75459]=wi;q[75460]=zi(41856);q[75461]=wi;q[75462]=zi(41865);q[75463]=wi;q[75464]=zi(41874);q[75465]=wi;a=zi(41883);q[75485]=0;q[75486]=0;q[75484]=305408;q[75482]=0;q[75480]=41911;q[75479]=41895;q[75478]=0;q[75476]=0;q[75474]=0;q[75472]=0;q[75470]=1;q[75468]=0;q[75469]=3;q[75466]=a;q[75467]=wi;q[75487]=0;q[75488]=0;q[75489]=0;q[75506]=301872;q[75504]=0;q[75502]=41949;q[75501]=41924;q[75500]=0;q[75498]=0;q[75496]=0;q[75494]=0;q[75492]=1;q[75490]=0;q[75491]=3;q[75511]=0;q[75509]=0;q[75510]=0;q[75507]=0;q[75508]=0;q[75528]=301872;q[75526]=0;q[75524]=41984;q[75523]=41960;q[75522]=0;q[75520]=0;q[75518]=0;q[75516]=0;q[75514]=1;q[75512]=0;q[75513]=3;q[75533]=0;q[75531]=0;q[75532]=0;q[75529]=0;q[75530]=0}function sp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];e=c+(d<<3)|0;f=q[e>>2];h=q[a>>2];c=c+(h<<3)|0;g=q[c>>2];e=q[e+4>>2];c=q[c+4>>2];if((e|0)==(c|0)&f>>>0>=g>>>0|c>>>0>>0){break a}q[a>>2]=d;q[b>>2]=h;return;case 0:case 1:break a;default:break b}}if((d|0)<=128){if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}f=q[c>>2];while(1){h=q[d>>2];e=a;c:{if((e|0)==(d|0)){break c}g=f+(h<<3)|0;e=d;while(1){c=e-4|0;j=q[c>>2];i=f+(j<<3)|0;k=q[i>>2];l=q[g+4>>2];i=q[i+4>>2];if((l|0)==(i|0)&k>>>0<=t[g>>2]|i>>>0>>0){break c}q[e>>2]=j;e=c;if((e|0)!=(a|0)){continue}break}e=a}q[e>>2]=h;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}h=d>>>1|0;j=h<<2;g=j+a|0;d:{if((d|0)<=(f|0)){GB(a,g,c,h,e);f=b;b=e+j|0;GB(g,f,c,d-h|0,b);f=(d<<2)+e|0;c=q[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){q[a>>2]=q[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}h=q[d>>2];g=c+(h<<3)|0;j=q[g>>2];i=q[e>>2];k=c+(i<<3)|0;l=q[k>>2];g=q[g+4>>2];k=q[k+4>>2];e:{if((g|0)==(k|0)&j>>>0>>0|g>>>0>>0){q[a>>2]=h;d=d+4|0;break e}q[a>>2]=i;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break d}sp(a,g,c,h,e,f);d=d-h|0;sp(g,b,c,d,e,f);xw(a,g,b,c,h,d,e,f);break a}if((d|0)==(f|0)){break a}while(1){q[a>>2]=q[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function Y2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=ti-160|0;ti=c;b=ul(a,1);a:{b:{c:{d:{if((b|0)!=q[212904]){if((b|0)==q[212905]){break d}if((b|0)==q[212906]){break c}q[c+144>>2]=128720;q[c+140>>2]=128704;q[c+136>>2]=128688;q[c+132>>2]=130683;q[c+128>>2]=128752;a=Bi(a,130645,c+128|0);break a}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break e}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;Bi(a,128819,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(e*e)+x(f*f))+x(d*d));break b}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];f:{g:{if(e!=e|f!=f){break g}d=u[b+8>>2];if(d!=d){break g}g=u[b+12>>2];if(g==g){break f}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;Bi(a,128909,c+32|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g));break b}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];h:{i:{if(e!=e|f!=f){break i}d=u[b+8>>2];if(d!=d){break i}g=u[b+12>>2];if(g==g){break h}}d=u[b+8>>2];g=u[b+12>>2];v[c+96>>3]=f;v[c+112>>3]=g;v[c+104>>3]=d;v[c+88>>3]=e;q[c+80>>2]=1;Bi(a,129003,c+80|0);g=u[b+12>>2];d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=x(x(x(x(e*e)+x(f*f))+x(d*d))+x(g*g))}q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+160|0;return a|0}function EG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=ti+ -64|0;ti=e;j=q[a+104>>2];o[e+59|0]=0;o[e+60|0]=0;o[e+61|0]=0;o[e+62|0]=0;q[e+52>>2]=0;q[e+56>>2]=0;q[e+44>>2]=0;q[e+48>>2]=0;q[e+36>>2]=1;q[e+40>>2]=1;q[e+16>>2]=0;q[e+20>>2]=0;o[e+62|0]=128;q[e+24>>2]=q[a+108>>2];q[e+28>>2]=q[a+112>>2];q[e+32>>2]=q[a+116>>2];g=q[a+120>>2];l=w(g,q[a+124>>2]);h=q[b+96>>2];m=q[a+100>>2];b=j;a:{b:{c:{while(1){d:{f=(b+1>>>0)%(l>>>0)|0;e:{k=(b<<2)+m|0;i=q[k>>2];f:{if(i){if((h|0)==q[i+56>>2]){break e}q[a+104>>2]=f;o[i+32|0]=0;break f}q[a+104>>2]=f}q[k>>2]=c;f=b;b=(b>>>0)/(g>>>0)|0;q[c+24>>2]=w(q[a+132>>2],f-w(b,g)|0);f=q[a+136>>2];q[c+56>>2]=h;o[c+32|0]=1;q[c+28>>2]=w(b,f);b=r[a+144|0]<<1;p[e+56>>1]=b+q[c+4>>2];p[e+58>>1]=q[c+20>>2]+(b+q[c+16>>2]|0);f=q[a+96>>2]+q[c+40>>2]|0;b=f+1|0;if(r[f|0]){g=q[c+48>>2];h=q[a+128>>2];f=0;q[e+8>>2]=0;q[e+12>>2]=h;if(ZE(b,g-1|0,e+8|0,737)){q[e>>2]=q[c>>2];Ai(4,107445,107864,e);break a}g=q[a+128>>2];h=q[e+8>>2];if((h|0)<=0){break d}b=0;while(1){i=b+g|0;f=r[i|0]+(f&255)|0;o[i|0]=f;b=b+1|0;if((h|0)!=(b|0)){continue}break}q[e+16>>2]=q[a+128>>2];break c}q[e+16>>2]=b;break c}b=f;if((j|0)!=(b|0)){continue}break b}break}q[e+16>>2]=g}q[e+44>>2]=q[c+24>>2];q[e+48>>2]=q[c+28>>2]+d;xi[q[77503]](q[a>>2],q[a+4>>2],e+16|0);if(q[a+104>>2]!=(j|0)){break a}}Ai(4,107445,107896,0)}ti=e- -64|0}function kE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{e=q[a+28>>2];if(!e){break b}b=q[a+12>>2];if(q[(b+(e<<4)|0)-8>>2]){break b}if(e>>>0<2){break a}while(1){g=e+d>>>1|0;a=q[(b+(g<<4)|0)-8>>2];e=a?e:g;d=a?g:d;if(e-d>>>0>1){continue}break}break a}g=q[a+16>>2];if((g|0)==137304){return e}b=e+1|0;d=e;while(1){f=b;b=b-1|0;c:{if(b>>>0>>0){c=q[a+12>>2]+(b<<4)|0;break c}i=+(f|0);b=g;if(f){axa(+i);c=Zwa(1)|0;b=Zwa(0)|0;c=b+c|0;b=((c>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break c}c=135744;b=q[b+28>>2];if(b){continue}break}}if(!q[c+8>>2]){if(f-d>>>0<=1){break a}while(1){h=f+d>>>1|0;b=h-1|0;d:{if(b>>>0>>0){c=q[a+12>>2]+(b<<4)|0;break d}i=+(h|0);b=g;if(h){axa(+i);c=Zwa(1)|0;b=Zwa(0)|0;c=b+c|0;b=((c>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break d}c=135744;b=q[b+28>>2];if(b){continue}break}}b=q[c+8>>2];f=b?f:h;d=b?h:d;if(f-d>>>0>1){continue}break}break a}h=1;d=f;b=d<<1;if(b>>>0<2147483646){continue}break}while(1){d=h-1|0;e:{if(e>>>0>d>>>0){c=q[a+12>>2]+(d<<4)|0;break e}i=+(h|0);b=g;if(h){axa(+i);f=Zwa(1)|0;b=Zwa(0)|0;f=b+f|0;b=((f>>>0)%((-1<>>0)<<5)+g|0}while(1){if(!(q[b+24>>2]!=3|i!=v[b+16>>3])){c=b;break e}c=135744;b=q[b+28>>2];if(b){continue}break}}h=h+1|0;if(q[c+8>>2]){continue}break}}return d}function Ww(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=ti-32|0;ti=h;a:{if(!a){q[c+16>>2]=-1;q[c+20>>2]=-1;q[c+8>>2]=255;f=8;q[c>>2]=8;break a}f=r[a+50|0];b:{while(1){e=f;if((e|0)<1){break b}f=e-1|0;if(q[q[q[a>>2]+24>>2]+w(s[((f<<1)+a|0)+172>>1],12)>>2]!=(b|0)){continue}break}q[c+16>>2]=-1;q[c+20>>2]=-1;q[c+8>>2]=f;f=6;q[c>>2]=6;if(d){break a}a=q[a+20>>2];if(!a){break a}while(1){if((e|0)<=r[a+8|0]){a=q[a>>2];if(a){continue}break a}break}o[a+9|0]=1;break a}f=8;d=0;if((Ww(q[a+8>>2],b,c,0)|0)==8){break a}g=q[a>>2];f=q[g+36>>2];e=f;i=r[g+72|0];c:{d:{if(!i){break d}d=q[c>>2];e=0;while(1){j=(e<<1)+a|0;if(q[c+8>>2]==r[j+52|0]?r[j+51|0]==(d|0):0){break c}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=f;d=i;if(d>>>0<60){break d}d=q[a+16>>2];e=q[g+60>>2];e:{if(!e){q[h>>2]=60;q[h+4>>2]=136943;d=_i(d,136752,h);break e}q[h+20>>2]=60;q[h+16>>2]=e;q[h+24>>2]=136943;d=_i(d,136786,h+16|0)}Pl(q[a+12>>2],d,0);e=q[g+36>>2];d=r[g+72|0]}if((d&255)>=(e|0)){q[g+28>>2]=Dq(q[a+16>>2],q[g+28>>2],g+36|0,4,2147483645,136952);e=q[g+36>>2]}if((e|0)>(f|0)){while(1){q[q[g+28>>2]+(f<<2)>>2]=0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}e=r[g+72|0];q[q[g+28>>2]+(e<<2)>>2]=b;if(!(!(r[b+5|0]&3)|!(r[g+5|0]&4))){Qn(q[a+16>>2],g,b);e=r[g+72|0]}a=(e<<1)+a|0;o[a+51|0]=q[c>>2];o[a+52|0]=q[c+8>>2];o[g+72|0]=e+1}f=7;q[c>>2]=7;q[c+8>>2]=e}ti=h+32|0;return f}function uX(a,b,c){var d=0,e=0,f=0,g=0;g=1;a:{b:{c:{d:{e:{switch(q[b+8>>2]){case 3:return v[b>>3]==v[c>>3];case 7:e=q[b>>2];d=q[c>>2];if((e|0)==(d|0)){break c}g=0;f=q[e+8>>2];if(!f|r[f+6|0]&16){break c}d=q[d+8>>2];e=On(f,4,q[q[a+16>>2]+204>>2]);if(!e){break c}if((d|0)==(f|0)){break d}if(!d|r[d+6|0]&16){break c}d=On(d,4,q[q[a+16>>2]+204>>2]);if(!d){break c}if(Po(e,d)){break d}break c;case 1:case 2:break a;case 0:break c;case 5:break e;default:break b}}e=q[b>>2];d=q[c>>2];if((e|0)==(d|0)){break c}g=0;f=q[e+8>>2];if(!f|r[f+6|0]&16){break c}d=q[d+8>>2];e=On(f,4,q[q[a+16>>2]+204>>2]);if(!e){break c}if((d|0)==(f|0)){break d}if(!d|r[d+6|0]&16){break c}d=On(d,4,q[q[a+16>>2]+204>>2]);if(!d){break c}if(!Po(e,d)){break c}}d=q[a+32>>2];g=q[e+4>>2];f=q[a+8>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;q[f+8>>2]=q[e+8>>2];g=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=g;q[e+24>>2]=q[b+8>>2];e=q[c+4>>2];b=q[a+8>>2];q[b+32>>2]=q[c>>2];q[b+36>>2]=e;q[b+40>>2]=q[c+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=48){vk(a,3);b=q[a+8>>2]}q[a+8>>2]=b+48;El(a,b,1);b=q[a+8>>2]-16|0;q[a+8>>2]=b;e=q[b+4>>2];c=q[a+32>>2]+(f-d|0)|0;q[c>>2]=q[b>>2];q[c+4>>2]=e;q[c+8>>2]=q[b+8>>2];g=0;f:{g:{a=q[a+8>>2];switch(q[a+8>>2]){case 1:break g;case 0:break c;default:break f}}return q[a>>2]!=0}g=1}return g}return q[b>>2]==q[c>>2]}return q[b>>2]==q[c>>2]}function hD(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;i=ti-1120|0;ti=i;h=-16512;j=q[a+4>>2];a:{if(j-16>>>0>1008){break a}h=Sr(a,g,i);if(h){break a}h=-16640;g=j-1|0;if(r[g+i|0]!=188){break a}if(b){b=b-3|0;b:{if(b>>>0<=5){b=q[(b<<2)+273896>>2];break b}b=0}if(!b){h=-16512;break a}c=(b?q[b+8>>2]:0)&255}h=-16512;b=e-3|0;c:{if(b>>>0<=5){b=q[(b<<2)+273896>>2];break c}b=0}if(!b){break a}e=b?q[b+8>>2]:0;q[i+1048>>2]=0;q[i+1052>>2]=0;a=Al(a+8|0)-1|0;if(r[i|0]>>>(a-(j<<3)|0)+8|0){break a}k=e&255;e=j;j=a&7;e=j?e:g;if(k+2>>>0>e>>>0){break a}g=i+1032|0;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;h=qn(i+1032|0,b,0);d:{if(h){break d}h=k^-1;b=j?i:i|1;g=h+(e+b|0)|0;h=pq(b,e+h|0,g,k,i+1032|0);if(h){break d}o[i|0]=r[i|0]&255>>>(e<<3)-a;e=g-1|0;e:{if(e>>>0>b>>>0){while(1){a=r[b|0];if(a){break e}b=b+1|0;if((e|0)!=(b|0)){continue}break}b=e}a=r[b|0]}h=-16640;if((a&255)!=1){break d}j=(f|0)!=-1;a=f;e=b+1|0;f=g-e|0;if((a|0)!=(f|0)?j:0){break d}a=-20736;b=i+1032|0;f:{if(!b){break f}h=q[b>>2];if(!h){break f}a=xi[q[h+16>>2]](q[b+4>>2])|0}h=a;if(h){break d}h=Ln(i+1032|0,i+1048|0,8);if(h){break d}h=Ln(i+1032|0,d,c);if(h){break d}h=Ln(i+1032|0,e,f);if(h){break d}c=i+1056|0;a=-20736;b=i+1032|0;g:{if(!b){break g}d=q[b>>2];if(!d){break g}a=xi[q[d+24>>2]](q[b+4>>2],c)|0}h=a;if(h){break d}h=pj(g,i+1056|0,k)?-17280:0}fm(i+1032|0)}ti=i+1120|0;return h}function IH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=h-g>>6){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+(f<<6)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+56>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e- -64;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+(e<<6)|0;q[a+20>>2]=q[e+56>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;f=q[d+28>>2];q[e+32>>2]=q[d+24>>2];q[e+36>>2]=f;f=q[d+36>>2];q[e+40>>2]=q[d+32>>2];q[e+44>>2]=f;f=q[d+44>>2];q[e+48>>2]=q[d+40>>2];q[e+52>>2]=f;q[e+56>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+(f<<6)|0;f=q[b+56>>2];if((f|0)!=-1){continue}break}q[b+56>>2]=e-d>>6;break a}J(167241,167022,229,167249);G()}c=q[d+4>>2];a=g+(f<<6)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+44>>2];q[a+48>>2]=q[d+40>>2];q[a+52>>2]=b;b=q[d+36>>2];q[a+40>>2]=q[d+32>>2];q[a+44>>2]=b;b=q[d+28>>2];q[a+32>>2]=q[d+24>>2];q[a+36>>2]=b;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(167253,167022,535,167315);G()}q[b>>2]=e-d>>6}q[a+24>>2]=q[a+24>>2]+1}function U2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-4112|0;ti=b;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){h=q[a+8>>2]-q[a+12>>2]>>4;d=b+104|0;o[d+16|0]=1;q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=3984;q[d>>2]=b+128;o[b+128|0]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+92>>2]=-1;b:{c:{if((h|0)<1){break c}e=1;while(1){d:{Fi(f,255,c<<2);q[b+92>>2]=-1;q[b+96>>2]=0;q[b+84>>2]=q[b+80>>2];e:{if((Ei(a,e)|0)==5){c=a;if((e|0)==1){fn(d,117724,0);f=1}else{f=e}LF(c,f,d,b+72|0);q[b+48>>2]=(e|0)<(h|0)?117726:117206;fn(d,117693,b+48|0);break e}Qi(a,e);Ki(a,-10002,117639);hk(a,-2);zk(a,1,1);c=dj(a,-1,0);if(!c){break d}q[b+64>>2]=c;q[b+68>>2]=(e|0)<(h|0)?117726:117206;fn(d,117729,b- -64|0);Ci(a,-2)}if((e|0)==(h|0)){break c}e=e+1|0;c=q[b+76>>2];f=q[b+72>>2];continue}break}Ci(a,-2);f=Bi(a,117648,0);break b}q[b+32>>2]=b+128;Ai(1,117469,117693,b+32|0);f=0}f:{if(o[b+100|0]&1){break f}c=q[b+80>>2];if(c){yi(c)}c=q[b+72>>2];if(!c){break f}yi(c)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}ti=b+4112|0;return f|0}q[b+12>>2]=g;q[b+4>>2]=558;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=g;q[b+20>>2]=558;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function pI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{f=b&65535;g=q[a+32>>2];if(f>>>0<(q[a+36>>2]-g|0)/576>>>0){if(s[(w(f,576)+g|0)+552>>1]!=(b>>>16|0)){break b}h=w(f,576)+g|0;if(s[h+554>>1]!=(b&65535)){break a}if(q[h+436>>2]==2){rv(a,b,0)}c:{d:{e:{b=q[a+132>>2];f:{if(!b){break f}b=q[q[a+128>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break f}e=q[a+136>>2];while(1){i=e+w(b,24)|0;if((c|0)==q[i>>2]&q[i+4>>2]==(d|0)){break e}b=q[i+20>>2];if((b|0)!=-1){continue}break}}b=q[a+164>>2];g:{if(!b){break g}b=q[q[a+160>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break g}a=q[a+168>>2];while(1){e=a+w(b,40)|0;if((c|0)==q[e>>2]&q[e+4>>2]==(d|0)){break d}b=q[e+32>>2];if((b|0)!=-1){continue}break}}q[(w(f,576)+g|0)+432>>2]=0;q[h+436>>2]=0;return-5}a=w(f,576)+g|0;q[a+424>>2]=c;q[a+428>>2]=d;c=e+w(b,24)|0;d=q[c+8>>2];q[a+432>>2]=d;q[h+436>>2]=q[c+12>>2];a=q[a+412>>2];if(!(a&262144)|!d|(a>>>4&15)-5>>>0<2){break c}a=w(f,576)+g|0;b=e+w(b,24)|0;u[a+64>>2]=s[b+16>>1];u[a+68>>2]=s[b+18>>1];return 0}e=w(f,576)+g|0;q[e+424>>2]=c;q[e+428>>2]=d;q[e+432>>2]=q[(a+w(b,40)|0)+8>>2];q[h+436>>2]=3;c=q[e+412>>2];if(!(c&262144)|(c>>>4&15)-5>>>0<2){break c}c=w(f,576)+g|0;a=a+w(b,40)|0;u[c+64>>2]=t[a+16>>2];u[c+68>>2]=t[a+20>>2]}return 0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function lV(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=ti-16|0;ti=i;q[i+12>>2]=0;a:{if(!d){b=-20;break a}q[a+352>>2]=0;q[a+356>>2]=0;q[a+384>>2]=b;q[a+320>>2]=0;q[a+324>>2]=0;q[a+376>>2]=0;q[a+380>>2]=0;j=a+368|0;b=j;q[b>>2]=0;q[b+4>>2]=0;q[a+360>>2]=0;q[a+364>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;g=a+352|0;b:{if((d|0)==12){d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);b=g;h=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=d;o[b+5|0]=d>>>8;o[b+6|0]=d>>>16;o[b+7|0]=d>>>24;c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[a+367|0]=1;break b}l=d<<3;m=d>>>5|0;n=d>>>13|0;p=d>>>21|0;while(1){h=d>>>0<16?d:16;s=h>>>0>1?h:1;b=0;while(1){k=a+b|0;o[k+352|0]=r[k+352|0]^r[b+c|0];b=b+1|0;if((s|0)!=(b|0)){continue}break}qs(a,g,g);c=c+h|0;d=d-h|0;if(d){continue}break}o[a+367|0]=r[a+367|0]^l;o[a+366|0]=r[a+366|0]^m;o[a+365|0]=r[a+365|0]^n;o[a+364|0]=r[a+364|0]^p;qs(a,g,g)}b=Mm(a,g,16,a+336|0,i+12|0);if(b){break a}q[a+328>>2]=f;q[a+332>>2]=0;if(f){while(1){c=f>>>0<16?f:16;d=c>>>0>1?c:1;b=0;while(1){g=a+b|0;o[g+368|0]=r[g+368|0]^r[b+e|0];b=b+1|0;if((d|0)!=(b|0)){continue}break}qs(a,j,j);e=c+e|0;f=f-c|0;if(f){continue}break}}b=0}ti=i+16|0;return b}function _ka(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;b=ti-32|0;ti=b;q[b>>2]=0;a:{e=q[a+8>>2];d=q[e+8>>2];a=q[e+4>>2];c=d-a|0;if(!c){break a}b:{if((a|0)!=(d|0)){d=a-d|0;d=((c|0)<(d|0)?d:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);j=c>>>0>1?c:1;while(1){c=q[(g<<2)+a>>2];c:{if((r[c+204|0]&3)!=3){break c}a=q[c+192>>2];if(!a){a=q[q[c+152>>2]+8>>2]}d:{if(q[a+104>>2]!=1){break d}d=q[c+156>>2];if(!d){d=q[q[c+152>>2]+4>>2]}q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;$p(q[d+4>>2],b+4|0);Uj(b+8|0,d+4|0,4);Uj(b+8|0,b+4|0,4);f=Bn(b+8|0);q[c+200>>2]=f;e:{a=q[e+76>>2];f:{if(!a){break f}h=q[d+8>>2];i=q[d+12>>2];a=q[q[e+72>>2]+(Qwa(h,i,a)<<2)>>2];if((a|0)==-1){break f}k=q[e+80>>2];while(1){a=k+w(a,24)|0;if(q[a>>2]==(h|0)&(i|0)==q[a+4>>2]){break e}a=q[a+20>>2];if((a|0)!=-1){continue}break}}J(39991,40001,464,40041);G()}if((f|0)==q[a+16>>2]){break d}q[a+16>>2]=f;a=q[a+8>>2];f=q[d+16>>2];h=q[d+20>>2];d=q[d+4>>2];q[b+8>>2]=0;q[b+4>>2]=0;if(Bo(d,b+8|0,b+4|0)){break b}xi[q[77441]](a,w(f,h),q[b+8>>2],1)}a=q[c+148>>2];if(!(!a|!r[a+52|0])){o[c+204|0]=r[c+204|0]|4}if(!(r[c+204|0]&4)){break c}PJ(c)}g=g+1|0;if((j|0)==(g|0)){break a}a=q[e+4>>2];if(q[e+8>>2]-a>>2>>>0>g>>>0){continue}break}}J(41371,40669,486,41382);G()}J(40730,40001,191,40755);G()}ti=b+32|0;return 0}function Dx(a,b,c){var d=0,e=0,f=0,g=0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=(d>>>4^b)&252645135;d=e<<4^d;e=b^e;b=d>>>16^e&65535;e=b^e;b=d^b<<16;d=(e>>>2^b)&858993459;e=d<<2^e;b=b^d;d=(e>>>8^b)&16711935;e=Twa(d<<8^e,1);f=e;d=b^d;e=(d^e)&-1431655766;b=f^e;d=Twa(d^e,1);while(1){f=b;e=q[a+4>>2]^Twa(b,28);b=q[a>>2]^b;d=q[((e&63)<<2)+156864>>2]^(q[((b&63)<<2)+155840>>2]^d^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2])^q[(e>>>6&252)+157120>>2]^q[(e>>>14&252)+157376>>2]^q[(e>>>22&252)+157632>>2];b=d^q[a+8>>2];e=f^q[((b&63)<<2)+155840>>2]^q[(b>>>6&252)+156096>>2]^q[(b>>>14&252)+156352>>2]^q[(b>>>22&252)+156608>>2];b=q[a+12>>2]^Twa(d,28);b=e^q[((b&63)<<2)+156864>>2]^q[(b>>>6&252)+157120>>2]^q[(b>>>14&252)+157376>>2]^q[(b>>>22&252)+157632>>2];a=a+16|0;g=g+1|0;if((g|0)!=8){continue}break}a=Twa(b,31);b=(a^d)&-1431655766;d=d<<31|(b^d)>>>1;a=a^b;b=(d>>>8^a)&16711935;d=b<<8^d;a=a^b;b=(d>>>2^a)&858993459;d=b<<2^d;a=a^b;b=d&65535^a>>>16;e=b<<16^a;a=b^d;b=(e>>>4^a)&252645135;a=a^b;o[c+7|0]=a;o[c+6|0]=a>>>8;o[c+5|0]=a>>>16;o[c+4|0]=a>>>24;a=e^b<<4;o[c+3|0]=a;o[c+2|0]=a>>>8;o[c+1|0]=a>>>16;o[c|0]=a>>>24;return 0}function rG(a,b,c){var d=0,e=0,f=0;d=ti-32|0;ti=d;q[c+8>>2]=-2;q[c+12>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;f=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{d:{e:{f:{if(!Fu(a,b)){bj(a,-1e4,q[c+24>>2]);jk(a);e=Vl(a,0,0);if(e){break c}Ki(a,-10002,q[64920]);g:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=259680;break b}q[c>>2]=kk(a,-1e4);break g}q[c>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[64921]);if(!Ei(a,-1)){break e}if((Ei(a,-1)|0)==6){break f}c=259684;break b}q[d+16>>2]=dj(a,-1,0);Ai(4,112123,116064,d+16|0);Ci(a,-2);b=0;break a}q[c+4>>2]=kk(a,-1e4);break d}q[c+4>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[64922]);h:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=259688;break b}q[c+8>>2]=kk(a,-1e4);break h}q[c+8>>2]=-2;Ci(a,-2)}Ki(a,-10002,q[64923]);i:{if(Ei(a,-1)){if((Ei(a,-1)|0)!=6){c=259692;break b}q[c+12>>2]=kk(a,-1e4);break i}q[c+12>>2]=-2;Ci(a,-2)}q[c+20>>2]=Jk(q[b+8>>2])}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;jk(a);b=!e;break a}c=q[c>>2];q[d+4>>2]=q[b+8>>2];q[d>>2]=c;Ai(4,112123,116015,d);Ci(a,-2);b=0}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[64920]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[64921]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[64922]);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Di(a,-10002,q[64923]);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){ti=d+32|0;return b}J(110492,110389,3093,116089);G()}function Vda(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti+ -64|0;ti=c;b=c;q[b+44>>2]=0;q[b+48>>2]=0;q[b+40>>2]=1;q[b+32>>2]=2;q[b+36>>2]=1;q[b+24>>2]=3;q[b+28>>2]=5;q[b+52>>2]=0;q[b+56>>2]=0;o[b+59|0]=0;o[b+60|0]=0;o[b+61|0]=0;o[b+62|0]=0;q[b+16>>2]=0;q[b+20>>2]=0;e=q[q[77547]>>2];wj(e);a:{b:{c:{d:{b=a&65535;d=q[77534];if(b>>>0<(q[77535]-d|0)/56>>>0){d=d+w(b,56)|0;b=q[d+52>>2];q[c+56>>2]=q[d+48>>2];q[c+60>>2]=b;b=q[d+44>>2];q[c+48>>2]=q[d+40>>2];q[c+52>>2]=b;b=q[d+36>>2];q[c+40>>2]=q[d+32>>2];q[c+44>>2]=b;b=q[d+28>>2];q[c+32>>2]=q[d+24>>2];q[c+36>>2]=b;b=q[d+20>>2];q[c+24>>2]=q[d+16>>2];q[c+28>>2]=b;b=q[d+12>>2];q[c+16>>2]=q[d+8>>2];q[c+20>>2]=b;b=q[d+4>>2];q[c+8>>2]=q[d>>2];q[c+12>>2]=b;f=q[77538];if(!f){break d}d=s[155079]-1|0;b=d&65535;if(b>>>0>=s[155078]){break c}p[155079]=d;p[f+(b<<1)>>1]=a;qj(e);xi[q[77503]](q[c+8>>2],q[c+12>>2],c+16|0);pc();b=q[c+8>>2];a=q[c+12>>2];if((a|0)==2097152|a>>>0>2097152){break b}a=0;e:{if(b+1>>>0<2){break e}f=b&65535;e=q[77547];if(f>>>0>=t[e+32>>2]){break a}d=q[q[e+24>>2]+(f<<2)>>2];if(!d){break e}a=s[q[e+28>>2]+(f<<1)>>1]==(b>>>16|0)?d:0}p[a+26>>1]=s[a+26>>1]&Twa(-2,r[c+62|0]);ti=c- -64|0;return}J(86853,86087,479,86864);G()}J(89573,89522,140,86179);G()}J(89604,89522,141,86179);G()}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function zla(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),G=x(0);i=x(u[d+4>>2]*u[e+4>>2]);j=x(u[d>>2]*u[e>>2]);l=u[c+12>>2];m=u[c+8>>2];n=u[c+4>>2];o=u[c>>2];E=u[b+8>>2];F=u[b+4>>2];G=u[b>>2];a:{b:{c:{d:{e:{f:{switch(f|0){case 0:case 1:case 5:g=x(j*x(-.5));break e;case 8:break c;case 7:break d;case 2:case 3:case 4:break f;default:break a}}g=x(-j)}h=g;switch(f|0){case 1:case 2:break c;case 0:case 3:break d;default:break a}}p=x(i*x(-.5));break b}p=x(-i)}h=g}q[a+12>>2]=0;q[a+60>>2]=1065353216;q[a+44>>2]=0;q[a+28>>2]=0;i=x(m*x(0));j=x(l*x(0));k=x(o*x(0));t=x(x(i+x(n+j))-k);v=x(n*x(0));y=x(x(k+x(m+j))-v);w=x(y+y);s=x(t*w);r=x(x(x(l-k)-v)-i);g=x(x(v+x(o+j))-i);A=x(g+g);B=x(r*A);u[a+36>>2]=s-B;C=x(g*w);z=x(t+t);D=x(r*z);u[a+32>>2]=C+D;u[a+24>>2]=s+B;s=x(g*z);r=x(r*w);u[a+16>>2]=s-r;u[a+8>>2]=C-D;u[a+4>>2]=s+r;k=x(x(x(m*h)+x(l*p))-k);i=x(i+x(x(o*h)+x(n*p)));j=x(x(j+x(o*p))-x(n*h));h=x(x(v+x(l*h))-x(m*p));u[a+56>>2]=E+x(x(o*k)+x(x(x(m*i)+x(l*j))-x(n*h)));u[a+52>>2]=F+x(x(m*h)+x(x(x(l*k)+x(n*i))-x(o*j)));u[a+48>>2]=G+x(x(n*j)+x(x(x(l*h)+x(o*i))-x(m*k)));g=x(x(1)-x(g*A));h=x(t*z);u[a+40>>2]=g-h;p=g;g=x(y*w);u[a+20>>2]=p-g;u[a>>2]=x(x(1)-h)-g}function rwa(){var a=0;q[75614]=zi(44161);q[75615]=wi;q[75616]=zi(44180);q[75617]=wi;q[75618]=zi(44197);q[75619]=wi;q[75620]=zi(44206);q[75621]=wi;q[75622]=zi(44212);q[75623]=wi;q[75624]=zi(44222);q[75625]=wi;q[75626]=zi(44230);q[75627]=wi;q[75628]=zi(44237);q[75629]=wi;q[75630]=zi(44246);q[75631]=wi;q[75632]=zi(44258);q[75633]=wi;q[75634]=zi(44267);q[75635]=wi;q[75636]=zi(44272);q[75637]=wi;q[75638]=zi(44278);q[75639]=wi;q[75640]=zi(44284);q[75641]=wi;q[75644]=zi(44293);q[75645]=wi;q[75646]=zi(44302);q[75647]=wi;q[75648]=zi(44311);q[75649]=wi;q[75650]=zi(44320);q[75651]=wi;q[75652]=zi(44329);q[75653]=wi;q[75654]=zi(44338);q[75655]=wi;q[75656]=zi(44347);q[75657]=wi;q[75658]=zi(44356);q[75659]=wi;q[75660]=zi(44365);q[75661]=wi;a=zi(44374);q[75681]=0;q[75682]=0;q[75680]=305408;q[75678]=0;q[75676]=44397;q[75675]=44386;q[75674]=0;q[75672]=0;q[75670]=0;q[75668]=0;q[75666]=1;q[75664]=0;q[75665]=3;q[75662]=a;q[75663]=wi;q[75683]=0;q[75684]=0;q[75685]=0;q[75702]=302656;q[75700]=0;q[75698]=44428;q[75697]=44410;q[75696]=0;q[75694]=0;q[75692]=0;q[75690]=0;q[75688]=1;q[75686]=0;q[75687]=3;q[75707]=0;q[75705]=0;q[75706]=0;q[75703]=0;q[75704]=0;q[75708]=zi(44445);q[75709]=wi;q[75710]=zi(44450);q[75711]=wi;q[75712]=zi(44454);q[75713]=wi;q[75714]=zi(44460);q[75715]=wi}function Y6(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=ti-16|0;ti=f;d=r[a+96|0];a:{if((d&3)==1){o[b|0]=0;break a}e=q[215620];g=d>>>2|0;d=a+112|0;i=Ui(d);while(1){b=q[215622];q[215622]=b?b:1;if(b){continue}break}b=q[215621];if((b|0)>=1){c=a+97|0;while(1){a=b-1|0;xi[q[(a<<2)+862496>>2]](g,c,d);h=(b|0)>1;b=a;if(h){continue}break}}q[f>>2]=d;q[215622]=0;while(1){a=q[215619];q[215619]=a?a:1;if(a){continue}break}if(q[215618]<=0){q[215619]=0;break a}a=q[e>>2];b=q[e+4>>2];q[215619]=0;a=b-a|0;if((a|0)<1){break a}g=a>>>2|0;a=0;b:{c:{while(1){b=q[215619];q[215619]=b?b:1;if(b){continue}d:{if(q[215618]>=1){b=q[e>>2];if(q[e+4>>2]-b>>2>>>0>a>>>0){break d}J(166851,166678,479,166862);G()}q[215619]=0;break a}h=a<<2;j=h+b|0;c=q[j>>2];b=0;q[215619]=0;e:{f:{while(1){g:{k=Cu(c,b+d|0,i-b|0,f+12|0);if((k|0)!=-101){if(k){break g}b=q[f+12>>2]+b|0}if((b|0)<(i|0)){continue}break f}break}Zo(c);jm(c);while(1){b=q[215619];q[215619]=b?b:1;if(b){continue}break}if(q[215618]<1){break b}q[j>>2]=-1;c=q[e+4>>2];b=q[e>>2];if(c-b>>2>>>0<=a>>>0){break e}c=c-4|0;q[b+h>>2]=q[c>>2];q[e+4>>2]=c;if(b>>>0>c>>>0){break c}q[215619]=0;a=a-1|0;g=g-1|0}a=a+1|0;if((g|0)>(a|0)){continue}break a}break}J(166806,166678,513,166821);G()}J(166831,166678,516,166821);G()}q[215619]=0}ti=f+16|0}function Ila(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=q[a+80>>2];c=q[b+8>>2];if((c|0)==q[b+4>>2]){jn(51518,51524,c-q[b>>2]>>8);return-1e3}e=q[a+76>>2];c=q[e>>2];h=V6(b);d=q[b+16>>2];if(h>>>0>2]-d>>3>>>0){d=q[d+(h<<3)>>2];f=q[b+4>>2];b=q[b>>2];if(d>>>0>8>>>0){b=Fi(b+(d<<8)|0,0,256);q[b>>2]=q[a>>2];d=q[c>>2];f=q[c+4>>2];u[b+56>>2]=u[c+8>>2];q[b+48>>2]=d;q[b+52>>2]=f;u[b+64>>2]=u[a+48>>2];u[b+68>>2]=u[a+52>>2];u[b+72>>2]=u[a+56>>2];u[b+16>>2]=u[a+16>>2];u[b+20>>2]=u[a+20>>2];u[b+24>>2]=u[a+24>>2];u[b+32>>2]=u[a+32>>2];u[b+36>>2]=u[a+36>>2];u[b+40>>2]=u[a+40>>2];u[b+44>>2]=u[a+44>>2];d=q[c+32>>2];f=q[c+36>>2];g=q[c+44>>2];q[b+88>>2]=q[c+40>>2];q[b+92>>2]=g;q[b+80>>2]=d;q[b+84>>2]=f;d=q[c+48>>2];f=q[c+52>>2];g=q[c+60>>2];q[b+104>>2]=q[c+56>>2];q[b+108>>2]=g;q[b+96>>2]=d;q[b+100>>2]=f;d=q[c+72>>2];f=q[c+76>>2];g=q[c+64>>2];i=q[c+68>>2];q[b+216>>2]=e;q[b+120>>2]=d;q[b+124>>2]=f;q[b+112>>2]=g;q[b+116>>2]=i;e=q[c+88>>2];q[b+200>>2]=0;q[b+208>>2]=255;q[b+212>>2]=0;q[b+220>>2]=0;q[b+192>>2]=e;p[b+244>>1]=s[a+92>>1];e=s[b+246>>1]|1;p[b+246>>1]=e;d=q[c+100>>2];e=e&-13|8;p[b+246>>1]=e;q[b+240>>2]=d;u[b+232>>2]=u[c+80>>2];u[b+236>>2]=u[c+84>>2];p[b+246>>1]=e&65515|r[c+96|0]<<4&240;q[q[a+88>>2]>>2]=h;return 0}}J(52123,52040,479,52134);G()}function Fs(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,p=0,s=0,t=0;j=ti-32|0;ti=j;q[j+8>>2]=0;h=d>>>0<1e3;l=pk();e=l;s=1e3-e|0;m=wi;t=0-(m+(e>>>0>1e3)|0)|0;a:{while(1){b:{g=q[a+88168>>2];c:{d:{i=q[a+173496>>2];e=q[a+173500>>2];n=i>>>0>=(q[a+173504>>2]-e|0)/56>>>0;if(n){break d}e=e+w(i,56)|0;i=e+16|0;q[e+12>>2]=i;k=q[e+40>>2];p=xi[q[k+24>>2]](e)|0;if((p|0)==-17){break d}q[a+173496>>2]=q[a+173496>>2]+1;e:{if(r[e+48|0]){q[j+16>>2]=q[a+155704>>2];f=q[k+12>>2];q[j+24>>2]=i;q[j+20>>2]=f;xi[q[k+28>>2]](j+16|0)|0;o[e+48|0]=0;break e}f=q[e+12>>2];f=Tp(q[a+155704>>2],q[f>>2],q[f+4>>2]);if(!f){break e}e=q[q[e+12>>2]+16>>2];if(!e){break e}q[f+16>>2]=e}e=q[a+173500>>2];if(q[a+173496>>2]==((q[a+173504>>2]-e|0)/56|0)){q[a+173496>>2]=0;q[a+173504>>2]=e}f=0;if(g){break c}q[a+88168>>2]=p;break c}f:{if((g|0)==-17){if(!$F(a,0)){break f}f=0;break c}g:{if(r[a+173493|0]){break g}o[a+173493|0]=1;if(g|!b){break g}f=0;if(xi[b|0](c)|0){break c}q[a+88168>>2]=-10;break c}if(n){break a}}if(aG(a)){f=0;break c}if(h){h=1;f=f+1|0;if(f>>>0<=3){break c}break b}e=d;g=s;i=pk()+g|0;h=t+wi|0;h=g>>>0>i>>>0?h+1|0:h;g=i;if(!h&e>>>0>>0|h){h=1;Io(1);break c}Io(1e3);h=0}g=pk();e=l;i=g-e|0;if((wi|0)==((e>>>0>g>>>0)+m|0)&d>>>0>=i>>>0){continue}}break}g=-17}ti=j+32|0;return g}function mz(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=0,i=0,j=0,k=0;a:{b:{c:{if(!b){break c}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>=d-a>>2>>>0){break a}a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}b=q[a+4>>2]-q[a>>2]|0;if(!b){break c}i=q[a+64>>2];b=(b|0)/304|0;k=b>>>0>1?b:1;b=0;while(1){e=q[i+16>>2];if(t[e+4>>2]<=b>>>0){break b}c=q[a>>2];d=(q[a+4>>2]-c|0)/304|0;e=q[e>>2]+w(b,144)|0;f=u[e+124>>2];d:{if(!(f>>0>=d>>>0){break a}c=c+w(b,304)|0;d=q[c+280>>2];q[c+280>>2]=1;e:{if((d|0)==1){break e}d=q[a+72>>2];if(!d){break e}e=q[a+16>>2]+1|0;q[a+16>>2]=e;xi[q[a+68>>2]](e,q[c+128>>2],q[c+132>>2],1,d)}o[c+296|0]=r[c+296|0]&247;break d}if(b>>>0>=d>>>0){break a}d=q[i>>2];if((q[i+4>>2]-d|0)/18568>>>0<=b>>>0){break a}c=c+w(b,304)|0;h=q[c+280>>2];d=d+w(b,18568)|0;g=u[d+18564>>2];q[c+280>>2]=1;f=x(B(f>2];if(!h){break f}j=q[a+16>>2]+1|0;q[a+16>>2]=j;xi[q[a+68>>2]](j,q[c+128>>2],q[c+132>>2],1,h)}o[c+296|0]=r[c+296|0]&247;g=x(0);if(f>x(0)^1){break d}while(1){kz(a,d,c,e,x(.01666666753590107));g=x(g+x(.01666666753590107));if(f>g){continue}break}}b=b+1|0;if((k|0)!=(b|0)){continue}break}}return}J(145920,145932,261,145962);G()}J(146626,145751,479,145962);G()}function dJ(a,b,c){var d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),o=x(0),p=x(0),r=x(0);k=b&2;g=k?u[a+68>>2]:x(1);h=k?u[a+64>>2]:x(1);if(b&4){a:{b:{c:{d:{e:{f:{g:{l=q[a+412>>2]>>>12&15;switch(l|0){case 8:break c;case 7:break d;case 2:case 3:case 4:break f;case 0:case 1:case 5:break g;default:break a}}f=x(h*x(-.5));break e}f=x(-h)}e=f;switch(l|0){case 1:case 2:break c;case 0:case 3:break d;default:break a}}d=x(g*x(-.5));break b}d=x(-g)}e=f}u[c+48>>2]=u[c+48>>2]+x(x(x(e*u[c>>2])+x(d*u[c+16>>2]))+x(u[c+32>>2]*x(0)));u[c+60>>2]=u[c+60>>2]+x(x(x(e*u[c+12>>2])+x(d*u[c+28>>2]))+x(u[c+44>>2]*x(0)));u[c+56>>2]=u[c+56>>2]+x(x(x(e*u[c+8>>2])+x(d*u[c+24>>2]))+x(u[c+40>>2]*x(0)));u[c+52>>2]=u[c+52>>2]+x(x(x(e*u[c+4>>2])+x(d*u[c+20>>2]))+x(u[c+36>>2]*x(0)))}if(!(!k|((q[a+412>>2]&240)==16?!(b&1):0))){f=u[c>>2];e=x(f*x(0));d=u[c+16>>2];i=x(d*x(0));j=u[c+32>>2];u[c+32>>2]=x(e+i)+j;d=x(e+x(g*d));e=x(j*x(0));u[c+16>>2]=d+e;u[c>>2]=x(x(h*f)+i)+e;f=u[c+8>>2];e=x(f*x(0));d=u[c+24>>2];i=x(d*x(0));j=u[c+40>>2];u[c+40>>2]=x(e+i)+j;m=u[c+4>>2];n=x(m*x(0));o=u[c+20>>2];p=x(o*x(0));r=u[c+36>>2];u[c+36>>2]=x(n+p)+r;d=x(e+x(g*d));e=x(j*x(0));u[c+24>>2]=d+e;d=x(r*x(0));u[c+20>>2]=x(n+x(g*o))+d;u[c+8>>2]=x(x(h*f)+i)+e;u[c+4>>2]=x(x(h*m)+p)+d}}function bna(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;i=ti-16|0;ti=i;e=q[q[a+12>>2]>>2];a:{b:{b=q[a+16>>2];c=q[b+80>>2];c:{if((c|0)==q[61468]){u[e+8>>2]=u[b+96>>2];u[e+12>>2]=u[b+100>>2];u[e+16>>2]=u[b+104>>2];u[e+20>>2]=u[b+108>>2];o[e+28|0]=r[b+112|0]<<2&4|r[e+28|0]&251;u[e+24>>2]=u[b+116>>2];break c}if((c|0)==q[61469]){d=q[e+4>>2];b=d+20|0;c=q[b>>2];f=q[d+16>>2];g=c-f|0;d:{if(!g){break d}h=g>>2;b=0;g=0;while(1){c=b;b=b+1|0;j=b;k=c>>>0>=h-1>>>0;c=(c<<2)+f|0;g=q[c>>2]==(e|0)|g;if(!(k|!(g&1))){if(b>>>0>=h>>>0){break b}q[c>>2]=q[(b<<2)+f>>2];d=q[e+4>>2]}c=q[d+20>>2];f=q[d+16>>2];h=c-f>>2;if(j>>>0>>0){continue}break}b=d+20|0;if(!(g&1)){break d}if((c|0)==(f|0)){break a}c=c-4|0;q[d+20>>2]=c}if(q[d+24>>2]!=(c|0)){q[b>>2]=c+4;q[c>>2]=e;break c}a=q[a+16>>2];q[i>>2]=c-f>>2;Tm(a,43892,i);break c}if((c|0)!=q[61470]){break c}d=q[e+4>>2];f=q[d+16>>2];a=q[d+20>>2]-f|0;if(!a){break c}h=a>>2;b=0;while(1){a=b;b=b+1|0;j=b;c=(a<<2)+f|0;g=q[c>>2]==(e|0)|g;if(!(!(g&1)|a>>>0>=h-1>>>0)){if(b>>>0>=h>>>0){break b}q[c>>2]=q[(b<<2)+f>>2];d=q[e+4>>2]}a=q[d+20>>2];f=q[d+16>>2];h=a-f>>2;if(j>>>0>>0){continue}break}if(!(g&1)){break c}if((a|0)==(f|0)){break a}q[d+20>>2]=a-4}ti=i+16|0;return 0}J(44097,44029,479,44108);G()}J(44119,44029,548,44130);G()}function Dia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=ti-160|0;ti=d;g=d+152|0;e=g;q[e>>2]=0;q[e+4>>2]=0;q[d+144>>2]=0;q[d+148>>2]=0;f=q[a+280>>2]-q[a+276>>2]>>>3&65535;Ii(f,8,d+144|0,e,d+144|4);a:{if(!f){break a}g=0;while(1){b:{e=WI(a,g&65535,d+16|0);if(!e){e=q[d+148>>2];if((e|0)!=q[d+152>>2]){break b}J(36549,36330,533,36573);G()}q[d>>2]=e;Ai(4,36048,37042,d);break a}q[d+148>>2]=e+8;h=q[d+20>>2];q[e>>2]=q[d+16>>2];q[e+4>>2]=h;g=g+1|0;if((g&65535)>>>0>>0){continue}break}}g=q[a+312>>2];e=q[a+316>>2];f=q[q[a+12>>2]+176>>2];b=uG(f,b,c,q[q[a+12>>2]+36>>2],d+144|0);c=wi;if((g|0)!=(b|0)|(c|0)!=(e|0)){zG(f,b,c,d+128|0);f=q[d+128>>2];q[a+364>>2]=q[d+132>>2];q[a+360>>2]=f;o[a+358|0]=r[a+358|0]|1;FI(a,b,c);q[d+104>>2]=0;q[d+108>>2]=0;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;f=d- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;f=zi(37085);q[d+96>>2]=q[62580];q[d+80>>2]=f;q[d+84>>2]=wi;q[d+120>>2]=g;q[d+124>>2]=e;q[d+112>>2]=b;q[d+116>>2]=c;q[d+100>>2]=16;YI(a,d+16|0)}c:{if(o[d+156|0]&1){break c}a=q[d+144>>2];if(!a){break c}yi(a)}ti=d+160|0}function JM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-80|0;ti=d;if(q[b+8>>2]-6>>>0>=4){Dj(a,137186)}i=b+8|0;a:{b:{c:{d:{e:{f:{e=q[a+16>>2]-44|0;if(e){if((e|0)==17){break e}break f}Gj(a);q[d+48>>2]=b;fx(a,d+56|0);if(q[d+56>>2]!=6){break c}f=q[a+48>>2];g=q[f+36>>2];while(1){g:{if(q[b+8>>2]==9){e=q[d+64>>2];if((e|0)==q[b+16>>2]){q[b+16>>2]=g;h=1;e=q[d+64>>2]}if(q[b+20>>2]==(e|0)){break g}}b=q[b>>2];if(b){continue}if(!h){break c}e=q[d+64>>2];break d}q[b+20>>2]=g;h=1;b=q[b>>2];if(b){continue}break}break d}b=q[a+52>>2];q[d>>2]=dl(a,61);Dj(a,_i(b,136607,d))}Gj(a);$k(a,d+48|0,0);b=1;if(q[a+16>>2]==44){while(1){Gj(a);sm(q[a+48>>2],d+48|0);$k(a,d+48|0,0);b=b+1|0;if(q[a+16>>2]==44){continue}break}}e=q[a+48>>2];if((b|0)!=(c|0)){hB(e,c,b,d+48|0);if((b|0)<=(c|0)){break b}e=q[a+48>>2];q[e+36>>2]=q[e+36>>2]+(c-b|0);break b}AX(e,d+48|0);a=q[a+48>>2];break a}im(f,0,q[f+36>>2],e,0);Lp(f,1)}b=200-s[q[a+52>>2]+52>>1]|0;if((b|0)<(c|0)){e=q[a+48>>2];f=q[e+16>>2];g=q[q[e>>2]+60>>2];h:{if(!g){q[d+16>>2]=b;q[d+20>>2]=137199;b=_i(f,136752,d+16|0);break h}q[d+36>>2]=b;q[d+32>>2]=g;q[d+40>>2]=137199;b=_i(f,136786,d+32|0)}Pl(q[e+12>>2],b,0)}JM(a,d+48|0,c+1|0)}a=q[a+48>>2];b=q[a+36>>2];q[d+64>>2]=-1;q[d+68>>2]=-1;q[d+48>>2]=12;q[d+56>>2]=b-1}Ox(a,i,d+48|0);ti=d+80|0}function Sha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-160|0;ti=b;q[b+152>>2]=0;c=q[a>>2];u[b+48>>2]=u[c>>2];u[b+52>>2]=u[c+4>>2];u[b+56>>2]=u[c+8>>2];u[b+60>>2]=u[c+12>>2];u[b+64>>2]=u[c+16>>2];u[b+68>>2]=u[c+20>>2];u[b+72>>2]=u[c+24>>2];u[b+76>>2]=u[c+28>>2];u[b+80>>2]=u[c+32>>2];u[b+84>>2]=u[c+36>>2];u[b+88>>2]=u[c+40>>2];u[b+92>>2]=u[c+44>>2];u[b+96>>2]=u[c+48>>2];u[b+100>>2]=u[c+52>>2];u[b+104>>2]=u[c+56>>2];u[b+108>>2]=u[c+60>>2];u[b+112>>2]=u[c+64>>2];u[b+116>>2]=u[c+68>>2];u[b+120>>2]=u[c+72>>2];u[b+124>>2]=u[c+76>>2];u[b+128>>2]=u[c+80>>2];u[b+132>>2]=u[c+84>>2];u[b+136>>2]=u[c+88>>2];u[b+140>>2]=u[c+92>>2];i=q[a+12>>2];if(i){while(1){d=q[a+8>>2]+w(e,48)|0;f=q[d+16>>2];c=q[f+156>>2];if(!c){c=q[q[f+152>>2]+4>>2]}c=SL(q[c+4>>2],q[75368],q[75369],b+44|0,b+40|0,b+36|0);a:{if((c|0)==11){q[d+36>>2]=q[d+36>>2]|16384;break a}if(!(q[b+40>>2]==6?q[b+36>>2]==8:0)){Ai(4,40063,41270,0);q[d+36>>2]=q[d+36>>2]|16384;break a}if(c){Ai(4,40063,41321,0);break a}c=q[b+44>>2];g=q[c+4>>2];h=q[c>>2];u[b+24>>2]=u[c+8>>2];q[b+16>>2]=h;q[b+20>>2]=g;g=q[c+16>>2];h=q[c+12>>2];u[b+8>>2]=u[c+20>>2];q[b>>2]=h;q[b+4>>2]=g;c=gH(b+48|0,f+80|0,b+16|0,b,0);q[d+36>>2]=q[d+36>>2]&-16385|(c?16384:0)}e=e+1|0;if((i|0)!=(e|0)){continue}break}}ti=b+160|0}function yca(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;g=ti-32|0;ti=g;a:{b:{c:{d:{e:{if(!(b|c)){break e}if((c|0)==2097152|c>>>0>2097152){break d}if(b+1>>>0<2){break e}e=b&65535;if(e>>>0>=t[a+32>>2]){break c}c=q[q[a+24>>2]+(e<<2)>>2];if(!c){break e}f=s[q[a+28>>2]+(e<<1)>>1]==(b>>>16|0)?c:0}c=q[77545];if(c){e=q[a+148>>2];if(e){b=0;e=e&48?r[a+156|0]&16?e&-49:e:e;if(e&1){q[g>>2]=s[a+156>>1]&8?36064:6144;b=1}if(e&16){q[(b<<2|g)>>2]=s[a+156>>1]&8?36096:6145;b=b+1|0}if(e&32){q[(b<<2|g)>>2]=s[a+156>>1]&8?36128:6146;b=b+1|0}xi[c|0](36160,b,g)}q[a+148>>2]=d;p[a+156>>1]=s[a+156>>1]&65527|((f|0)!=0)<<3}f:{if(!f){a=Qa()|0;break f}a=q[f+332>>2]}Fa(36160,a|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}g:{if(!f){break g}h=q[f+288>>2];i=q[f+292>>2];j=!(h|i);q[g>>2]=j?0:36064;e=!(q[f+296>>2]|q[f+300>>2]);q[g+4>>2]=e?0:36065;d=q[f+304>>2];c=q[f+308>>2];q[g+8>>2]=d|c?36066:0;b=q[f+312>>2];a=q[f+316>>2];q[g+12>>2]=b|a?36067:0;a=(((d|0)!=0|(c|0)!=0)+(e?(h|0)!=0|(i|0)!=0:j?1:2)|0)+((b|0)!=0|(a|0)!=0)|0;if(a>>>0<2){break g}sc(a|0,g|0)}a=Ea(36160)|0;if((a|0)!=36053){break a}ti=g+32|0;return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}Vi(a,89063,2566);J(84254,84160,2566,89063);G()}aA(a);J(88585,84160,2600,89063);G()}function kwa(){q[59749]=q[74622];q[74622]=238968;q[59801]=q[74622];q[74622]=239176;q[59847]=q[74622];q[74622]=239360;q[59873]=q[74622];q[74622]=239464;q[59901]=q[74622];q[74622]=239576;q[59923]=q[74622];q[74622]=239664;q[59983]=q[74622];q[74622]=239904;q[60043]=q[74622];q[74622]=240144;q[60063]=q[74622];q[74622]=240224;q[60117]=q[74622];q[74622]=240440;q[60169]=q[74622];q[74622]=240648;q[74568]=1;q[74566]=-837310683;q[74567]=-705779925;q[74565]=21467;q[74564]=1;q[74571]=0;o[298280]=0;q[74569]=q[74562];q[74571]=q[74622];q[74622]=298256;q[74578]=1;q[74576]=246251198;q[74577]=718133641;q[74575]=21487;q[74574]=1;q[74581]=0;o[298320]=0;q[74579]=q[74573];q[74581]=q[74622];q[74622]=298296;q[74588]=1;q[74586]=2127212355;q[74587]=1376186741;q[74585]=21507;q[74584]=1;q[74591]=0;o[298360]=0;q[74589]=q[74583];q[74591]=q[74622];q[74622]=298336;q[60235]=q[74622];q[74622]=240912;q[60259]=q[74622];q[74622]=241008;q[74602]=1;q[74600]=772958340;q[74601]=1445875888;q[74599]=21641;q[74598]=1;q[74605]=0;o[298416]=0;q[74603]=q[74596];q[74605]=q[74622];q[74622]=298392;q[74612]=1;q[74610]=-779701654;q[74611]=342456181;q[74609]=21648;q[74608]=1;q[74615]=0;o[298456]=0;q[74613]=q[74607];q[74615]=q[74622];q[74622]=298432;q[60295]=q[74622];q[74622]=241152}function Gw(a,b,c,d,e,f){var g=0,h=0,i=x(0),j=0,k=0,l=0,m=0,n=x(0),o=0,r=x(0),s=0;h=ti-16|0;ti=h;q[h+12>>2]=a;m=a;while(1){q[h+8>>2]=m;j=0;l=0;i=x(0);n=x(0);a:{if(f){while(1){g=so(h+12|0);b:{if(!g){break b}j=j+1|0;if((g|0)==10|(g|0)==8203){break b}if((g|0)!=32){continue}}c:{if((j|0)<1){break c}k=j-((g|0)!=0)|0;i=tG(e,m,k,1);if(!(i<=b^1)){q[h+8>>2]=q[h+12>>2];l=k;n=i;break c}if(!l){l=0;break c}q[h+12>>2]=q[h+8>>2];g=so(h+8|0)}if(b>=i^1){break a}switch(g|0){case 0:case 10:break a;default:continue}}}while(1){g=so(h+12|0);d:{if(!g){break d}j=j+1|0;if((g|0)==10|(g|0)==8203){break d}if((g|0)!=32){continue}}e:{if((j|0)<1){break e}f:{k=j-((g|0)!=0)|0;i=tG(e,m,k,0);if(!(i<=b^1)){q[h+8>>2]=q[h+12>>2];if((g|0)==10){l=k;g=10;n=i;break e}g=so(h+12|0);if(!g){break f}while(1){g:{j=j+1|0;if((g|0)!=32?(g|0)!=8203:0){break g}g=so(h+12|0);if(g){continue}break f}break}l=k;n=i;break e}if(!l){l=0;break e}q[h+12>>2]=q[h+8>>2];g=so(h+8|0);break e}l=k;g=0;n=i}if(b>=i^1){break a}switch(g|0){case 0:case 10:break a;default:continue}}}h:{if(o>>>0>=128){break h}k=(g|0)!=0;s=j-k|0;j=!l&b0|k)){break h}k=(o<<3)+c|0;p[k+6>>1]=l;p[k+4>>1]=m-a;i=j?i:n;u[k>>2]=i;r=i>2];continue}break}u[d>>2]=r;ti=h+16|0;return o}function oW(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-288|0;ti=d;es(d+8|0);q[a+4>>2]=a+8;g=Bq(d+8|0,b,c);if(!g){e=q[d+8>>2];q[a>>2]=e;h=q[d+12>>2];f=h+(e<<4)|0;q[a+8>>2]=q[f>>2];q[a+12>>2]=q[f+4>>2];q[a+16>>2]=q[f+8>>2];q[a+20>>2]=q[f+12>>2];b=a+24|0;c=f-16|0;if((e|0)<2){a=f+16|0}else{while(1){a=q[c>>2];q[b>>2]=q[(r[(a>>>8&255)+853632|0]<<2)+854912>>2]^q[(r[(a&255)+853632|0]<<2)+853888>>2]^q[(r[(a>>>16&255)+853632|0]<<2)+855936>>2]^q[(r[(a>>>24|0)+853632|0]<<2)+856960>>2];a=q[c+4>>2];q[b+4>>2]=q[(r[(a>>>8&255)+853632|0]<<2)+854912>>2]^q[(r[(a&255)+853632|0]<<2)+853888>>2]^q[(r[(a>>>16&255)+853632|0]<<2)+855936>>2]^q[(r[(a>>>24|0)+853632|0]<<2)+856960>>2];a=q[c+8>>2];q[b+8>>2]=q[(r[(a>>>8&255)+853632|0]<<2)+854912>>2]^q[(r[(a&255)+853632|0]<<2)+853888>>2]^q[(r[(a>>>16&255)+853632|0]<<2)+855936>>2]^q[(r[(a>>>24|0)+853632|0]<<2)+856960>>2];a=q[c+12>>2];q[b+12>>2]=q[(r[(a>>>8&255)+853632|0]<<2)+854912>>2]^q[(r[(a&255)+853632|0]<<2)+853888>>2]^q[(r[(a>>>16&255)+853632|0]<<2)+855936>>2]^q[(r[(a>>>24|0)+853632|0]<<2)+856960>>2];c=c-16|0;b=b+16|0;a=(e|0)>2;e=e-1|0;if(a){continue}break}c=h;a=c+32|0}q[b>>2]=q[c>>2];q[b+4>>2]=q[a-28>>2];q[b+8>>2]=q[a-24>>2];q[b+12>>2]=q[a-20>>2]}a=d+8|0;if(a){xi[q[68401]](a,0,280)|0}ti=d+288|0;return g}function HB(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{b:{c:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];g=q[a>>2];if(t[(c+w(d,48)|0)+32>>2]>2]){q[e>>2]=d;q[e+4>>2]=q[a>>2];return}q[e>>2]=g;q[e+4>>2]=q[b>>2];return;default:if((d|0)<=8){if((a|0)==(b|0)){break a}d=q[a>>2];q[e>>2]=d;f=a+4|0;if((f|0)==(b|0)){break a}h=q[c>>2];a=e;while(1){g=a+4|0;c=q[f>>2];d:{if(t[(h+w(c,48)|0)+32>>2]>2]){q[a+4>>2]=d;i=e;e:{if((a|0)==(e|0)){break e}while(1){d=a-4|0;c=q[d>>2];i=a;if(t[(h+w(q[f>>2],48)|0)+32>>2]>=t[(h+w(c,48)|0)+32>>2]){break e}q[a>>2]=c;a=d;if((e|0)!=(a|0)){continue}break}i=e}q[i>>2]=q[f>>2];break d}q[g>>2]=c}f=f+4|0;if((f|0)==(b|0)){break a}d=q[g>>2];a=g;continue}}f=d>>>1|0;h=f<<2;g=h+a|0;tp(a,g,c,f,e,f);d=d-f|0;tp(g,b,c,d,e+h|0,d);c=q[c>>2];d=g;while(1){if((b|0)==(d|0)){if((a|0)==(g|0)){break a}while(1){q[e>>2]=q[a>>2];e=e+4|0;a=a+4|0;if((g|0)!=(a|0)){continue}break}break a}f=q[d>>2];h=q[a>>2];f:{if(t[(c+w(f,48)|0)+32>>2]>2]){q[e>>2]=f;d=d+4|0;break f}q[e>>2]=h;a=a+4|0}e=e+4|0;if((a|0)!=(g|0)){continue}break}break b;case 0:break a;case 1:break c}}q[e>>2]=q[a>>2];break a}if((b|0)==(d|0)){break a}while(1){q[e>>2]=q[d>>2];e=e+4|0;d=d+4|0;if((d|0)!=(b|0)){continue}break}}}function P4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-80|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[81656],114346);Ci(a,-2);if((d|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{if((Ei(a,1)|0)!=1){break a}if((Ei(a,2)|0)!=1){break a}if((Ei(a,3)|0)!=1){break a}if((Ei(a,4)|0)!=1){break a}h=(Ej(a,1)|0)!=0;f=(Ej(a,2)|0)!=0;c=(Ej(a,3)|0)!=0;d=(Ej(a,4)|0)!=0;q[b+48>>2]=h;q[b+52>>2]=0;q[b+40>>2]=10;q[b+72>>2]=d;q[b+76>>2]=0;q[b+64>>2]=c;q[b+68>>2]=0;q[b+56>>2]=f;q[b+60>>2]=0;c=q[e+4>>2];b:{if((c|0)==q[e+8>>2]){q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/40;g=Bi(a,110538,b);break b}q[e+4>>2]=c+40;a=q[b+76>>2];q[c+32>>2]=q[b+72>>2];q[c+36>>2]=a;d=b- -64|0;a=q[d+4>>2];q[c+24>>2]=q[d>>2];q[c+28>>2]=a;a=q[b+60>>2];q[c+16>>2]=q[b+56>>2];q[c+20>>2]=a;a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a}ti=b+80|0;return g|0}d=Ei(a,2);f=135271;c:{if((d|0)==-1){break c}f=q[(d<<2)+267792>>2]}d=Ei(a,3);c=135271;d:{if((d|0)==-1){break d}c=q[(d<<2)+267792>>2]}d=Ei(a,4);g=135271;e:{if((d|0)==-1){break e}g=q[(d<<2)+267792>>2]}d=b;h=Ei(a,5);e=135271;f:{if((h|0)==-1){break f}e=q[(h<<2)+267792>>2]}q[d+28>>2]=e;q[b+24>>2]=g;q[b+20>>2]=c;q[b+16>>2]=f;a=Bi(a,112357,b+16|0);ti=b+80|0;return a|0}J(110492,110389,475,114319);G()}function ay(){q[215870]=0;q[215871]=0;q[215878]=0;q[215879]=0;q[215886]=0;q[215887]=0;q[215894]=0;q[215895]=0;q[215876]=0;q[215877]=0;q[215874]=0;q[215875]=0;q[215872]=0;q[215873]=0;q[215871]=6;q[215879]=6;q[215880]=0;q[215881]=0;q[215882]=0;q[215883]=0;q[215884]=0;q[215885]=1;q[215887]=6;q[215888]=0;q[215889]=0;q[215890]=0;q[215891]=0;q[215892]=0;q[215893]=2;q[215896]=0;q[215897]=0;q[215898]=0;q[215899]=0;q[215901]=3;q[215900]=0;q[215895]=6;q[215906]=0;q[215907]=0;q[215904]=0;q[215905]=0;q[215902]=0;q[215903]=0;q[215909]=4;q[215908]=0;q[215903]=6;q[215914]=0;q[215915]=0;q[215912]=0;q[215913]=0;q[215910]=0;q[215911]=0;q[215917]=5;q[215916]=0;q[215911]=6;q[215922]=0;q[215923]=0;q[215920]=0;q[215921]=0;q[215918]=0;q[215919]=0;q[215925]=6;q[215924]=0;q[215919]=6;q[215930]=0;q[215931]=0;q[215928]=0;q[215929]=0;q[215926]=0;q[215927]=0;q[215933]=7;q[215932]=0;q[215927]=6;q[215938]=0;q[215939]=0;q[215936]=0;q[215937]=0;q[215934]=0;q[215935]=0;q[215941]=8;q[215940]=0;q[215935]=6;q[215946]=0;q[215947]=0;q[215944]=0;q[215945]=0;q[215942]=0;q[215943]=0;q[215949]=9;q[215948]=0;q[215943]=6;q[215954]=0;q[215955]=0;q[215952]=0;q[215953]=0;q[215950]=0;q[215951]=0;q[215957]=10;q[215956]=0;q[215951]=6;Bb()|0;tb(1400)|0;return 1}function T_(a,b,c,d,e,f){var g=0,h=0,i=0;g=ti-144|0;ti=g;q[g+136>>2]=0;q[g+128>>2]=1;q[g+132>>2]=0;q[g+120>>2]=0;q[g+112>>2]=1;q[g+116>>2]=0;q[g+104>>2]=0;q[g+96>>2]=1;q[g+100>>2]=0;q[g+88>>2]=0;q[g+80>>2]=1;q[g+84>>2]=0;h=g- -64|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;i=d+24|0;h=Fp(a,g+128|0,d,i);a:{if(h){break a}h=Pj(a,g+112|0,g+128|0,g+128|0);if(h){break a}h=pm(a,g+96|0,d,i);if(h){break a}h=Pj(a,g+80|0,g+96|0,g+96|0);if(h){break a}h=pm(a,g- -64|0,g+112|0,g+80|0);if(h){break a}d=e+24|0;h=Fp(a,g+48|0,e,d);if(h){break a}h=pm(a,g+32|0,e,d);if(h){break a}h=Pj(a,g+16|0,g+32|0,g+128|0);if(h){break a}h=Pj(a,g,g+48|0,g+96|0);if(h){break a}h=Bl(c,g+16|0,g);if(h){break a}h=VE(c,a);if(h){break a}h=Pj(a,c,c,c);if(h){break a}c=c+24|0;h=pm(a,c,g+16|0,g);if(h){break a}h=Pj(a,c,c,c);if(h){break a}h=Pj(a,c,f,c);if(h){break a}h=Pj(a,b,g+112|0,g+80|0);if(h){break a}b=b+24|0;h=Pj(a,b,a+16|0,g- -64|0);if(h){break a}h=Fp(a,b,g+80|0,b);if(h){break a}h=Pj(a,b,g- -64|0,b)}Si(g+128|0);Si(g+112|0);Si(g+96|0);Si(g+80|0);Si(g- -64|0);Si(g+48|0);Si(g+32|0);Si(g+16|0);Si(g);ti=g+144|0;return h}function b1(a,b){var c=0,d=0,e=0,f=0,g=x(0),h=0,i=0,j=x(0);h=ti-32|0;ti=h;a:{b:{if(a){q[h+24>>2]=0;o[a+46|0]=r[a+46|0]|1;e=q[a+4>>2]-q[a>>2]|0;c=(e|0)/28|0;q[212870]=c+q[212870];q[h+8>>2]=c;q[h+12>>2]=0;q[h+16>>2]=c;q[h+20>>2]=0;if(!e){break b}e=c>>>0>1?c:1;while(1){c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0<=d>>>0){break a}f=w(d,28);c=f+c|0;i=r[c+24|0];c:{if(!(i&2)){break c}g=x(u[c+16>>2]-b);u[c+16>>2]=g;if(g>x(0)){break c}xi[q[c>>2]](a,i&1,q[c+12>>2],x(u[c+20>>2]-g),q[c+4>>2],q[c+8>>2]);c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0<=d>>>0){break a}c=c+f|0;f=r[c+24|0];if(!(f&2)){break c}if(!(f&1)){o[c+24|0]=f&253;break c}g=u[c+20>>2];if(g==x(0)){q[c+16>>2]=0;break c}j=u[c+16>>2];j=x(j+x(g*x(C(x(x(1)-x(j/g))))));u[c+16>>2]=j;if(j>2]=g}d=d+1|0;if((e|0)!=(d|0)){continue}break}break b}J(127577,127536,197,127596);G()}o[a+46|0]=r[a+46|0]&254;c=q[a+4>>2];e=q[a>>2];d=c-e|0;f=(d|0)/28|0;d:{if(!d){break d}e:{if((c|0)!=(e|0)){d=0;c=f;while(1){e=w(d,28)+e|0;i=r[e+24|0];f:{if(!(i&2)){Gy(a,q[e+12>>2],i);c=c-1|0;break f}d=d+1|0}if(c>>>0<=d>>>0){break e}e=q[a>>2];if((q[a+4>>2]-e|0)/28>>>0>d>>>0){continue}break}}break a}if((c|0)==(f|0)){break d}p[a+44>>1]=s[a+44>>1]+1}ti=h+32|0;return}J(128650,127953,479,128661);G()}function St(a,b){var c=0,d=0,e=0,f=0;f=a+40|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){Fi((a+c|0)+40|0,0,55-e|0);break a}Fi((a+c|0)+40|0,0,e^63);_r(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+103|0]=d<<3;o[a+102|0]=d>>>5;o[a+101|0]=d>>>13;o[a+100|0]=d>>>21;c=q[a+4>>2];o[a+98|0]=c>>>5;o[a+97|0]=c>>>13;o[a+96|0]=c>>>21;o[a+99|0]=c<<3|d>>>29;_r(a,f);o[b|0]=r[a+11|0];o[b+1|0]=s[a+10>>1];o[b+2|0]=q[a+8>>2]>>>8;o[b+3|0]=q[a+8>>2];o[b+4|0]=r[a+15|0];o[b+5|0]=s[a+14>>1];o[b+6|0]=q[a+12>>2]>>>8;o[b+7|0]=q[a+12>>2];o[b+8|0]=r[a+19|0];o[b+9|0]=s[a+18>>1];o[b+10|0]=q[a+16>>2]>>>8;o[b+11|0]=q[a+16>>2];o[b+12|0]=r[a+23|0];o[b+13|0]=s[a+22>>1];o[b+14|0]=q[a+20>>2]>>>8;o[b+15|0]=q[a+20>>2];o[b+16|0]=r[a+27|0];o[b+17|0]=s[a+26>>1];o[b+18|0]=q[a+24>>2]>>>8;o[b+19|0]=q[a+24>>2];o[b+20|0]=r[a+31|0];o[b+21|0]=s[a+30>>1];o[b+22|0]=q[a+28>>2]>>>8;o[b+23|0]=q[a+28>>2];o[b+24|0]=r[a+35|0];o[b+25|0]=s[a+34>>1];o[b+26|0]=q[a+32>>2]>>>8;o[b+27|0]=q[a+32>>2];if(!q[a+104>>2]){o[b+28|0]=r[a+39|0];o[b+29|0]=s[a+38>>1];o[b+30|0]=q[a+36>>2]>>>8;o[b+31|0]=q[a+36>>2]}return 0}function bM(a,b){var c=0,d=0,e=0;if(!r[b+21|0]){q[a+112>>2]=21;return-1}c=q[a+1408>>2];a:{if((c|0)>9){break a}if(!c){q[a+1404>>2]=0}while(1){c=r[a+1388|0];b:{c:{d:{e:{f:{if(q[a+1396>>2]){if(c&255){break f}break a}if(c&255){break f}d=q[a+1392>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break a}if(!(o[a+1387|0]&1)){break e}d=q[a+1392>>2]}e=d+1|0;q[a+1392>>2]=e;c=r[(a+d|0)+1132|0];if((c|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if(q[a+1128>>2]<=(e|0)){q[a+1392>>2]=-1}if(r[a+1388|0]){break d}o[a+1388|0]=c;if(!c){break a}}o[a+1388|0]=c-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];g:{if(c){if(c>>>0>=t[a+52>>2]){break c}q[a+44>>2]=c+1;c=r[c|0];break g}c=ej(q[a+32>>2]);if((c|0)==-1){break c}}c=c&255;break b}q[a+112>>2]=32;break a}J(205744,205607,1555,205765);G()}q[a+108>>2]=1;c=0}d=q[a+1408>>2];q[a+1408>>2]=d+8;q[a+1404>>2]=q[a+1404>>2]+(c<>2];c=p[(((d&1023)<<1)+b|0)+36>>1];h:{if((c|0)>=0){e=d;d=r[c+q[b+8>>2]|0];q[a+1404>>2]=e>>>d;e=q[a+1408>>2]-d|0;d=(e|0)<0;q[a+1408>>2]=d?0:e;c=d?-1:c;break h}c=aq(a,b)}if(!((c|0)>=q[b+2092>>2]?r[b+23|0]:0)){if(!((c|0)>-1|(q[a+1396>>2]?!r[a+1388|0]:0))){q[a+112>>2]=21}return c}J(205960,205607,1784,205982);G()}function jia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-112|0;ti=b;e=Zi(b+88|0,a,0,68051,845);d=Mj(a,2);f=wi;c=q[q[Tj(a)+80>>2]+8>>2];q[b+84>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;wl(a,1,c,67845,b+84|0,b+24|0,b+80|0);c=gja(q[b+80>>2],q[b+84>>2],d,f,b+76|0);a:{if(c){q[b+20>>2]=c;q[b+16>>2]=q[(c<<2)+244592>>2];a=sj(e,69926,b+16|0);break a}o[b+24|0]=0;b:{c:{d:{e:{f:{g:{c=q[b+76>>2];switch(c|0){case 4:break c;case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break b}}q[b+36>>2]=0;q[b+28>>2]=1065353216;q[b+32>>2]=0;break b}q[b+28>>2]=0;break b}o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;o[b+53|0]=0;o[b+54|0]=0;o[b+55|0]=0;o[b+56|0]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+57|0]=0;break b}q[b+68>>2]=0;q[b+72>>2]=0;q[b+36>>2]=1065353216;q[b+40>>2]=0;q[b+44>>2]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;o[b+51|0]=0;o[b+52|0]=0;q[b+56>>2]=0;q[b+60>>2]=0;o[b- -64|0]=0;break b}q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0}zJ(a,c,3,b+24|0);d=VJ(q[b+80>>2],q[b+84>>2],d,f);a=0;if(!d){break a}q[b+4>>2]=d;q[b>>2]=q[(d<<2)+244592>>2];a=sj(e,69992,b)}Yi(e);ti=b+112|0;return a|0}function Dka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{e=q[a>>2];if(e){b=Fi(Oi(124),0,124);q[b+80>>2]=e;c=q[a+16>>2];d=q[e+8>>2];q[b+84>>2]=WG(d,q[e+12>>2]);if(o[b+12|0]&1){break b}c=c>>>0>>0?c:d;Ii(c,40,b,b+8|0,b+4|0);if(o[b+60|0]&1){break b}Ii(c,48,b+48|0,b+56|0,b+52|0);d=q[b+48>>2];if(c>>>0>(q[b+56>>2]-d|0)/48>>>0){break a}q[b+52>>2]=d+w(c,48);d=q[b+68>>2];if(c>>>0>>0){break c}g=q[b+64>>2];f=Ji(c<<2);q[b+64>>2]=f;f=Gi(f,g,d<<2);q[b+68>>2]=c;if(c>>>0>d>>>0){while(1){q[f+(d<<2)>>2]=d;d=d+1|0;if((c|0)!=(d|0)){continue}break}}yi(g);if(o[b+28|0]&1){break b}c=s[e+16>>1];Ii(c,304,b+16|0,b+24|0,b+20|0);if(o[b+44|0]&1){break b}Ii(c,4,b+32|0,b+40|0,b+36|0);d=q[b+32>>2];if(c>>>0>q[b+40>>2]-d>>2>>>0){break a}c=c<<2;q[b+36>>2]=c+d;Fi(d,0,c);q[b+88>>2]=xi[q[77439]](q[q[e+4>>2]+2384>>2],w(q[e+12>>2],240),0,0);if(o[b+104|0]&1){break b}Ii(w(q[e+12>>2],6),40,b+92|0,b+100|0,b+96|0);q[b+112>>2]=0;o[b+120|0]=r[b+120|0]&254;c=fp(q[q[e+4>>2]+2384>>2]);Rk(c,42096,3,0);Rk(c,42105,4,1);Rk(c,42111,2,1);Rk(c,42121,1,0);q[b+108>>2]=xi[q[77450]](q[q[e+4>>2]+2384>>2],c);Xl(c);q[q[a+12>>2]>>2]=b;return 0}J(42010,42027,89,42073);G()}J(42721,42744,112,42709);G()}J(42634,42460,493,42709);G()}J(42441,42460,506,42516);G()}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,p=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;f=s[a+162>>1];if(!f){return 0}b=s[a+160>>1];a:{while(1){b=b&65535;b:{if(!b){b=0;break b}A=i<<5;f=0;c:{while(1){c=w(b,i)+f|0;d=q[a+108>>2];if(c>>>0>2]-d>>>0){j=d+c|0;d=r[j|0];d:{if(!(d&1)){b=d>>>1&1;break d}o[j|0]=d&254;g=q[a+156>>2];k=q[q[g+4>>2]+8>>2];l=q[g+36>>2];p=q[g+28>>2];m=q[g+40>>2];c=q[g+32>>2];t=d&252;o[j|0]=t;b=0;if(!k){break d}u=q[a+124>>2];n=q[a+128>>2]-u|0;e:{d=m+A|0;e=d+32|0;v=c&2147483647;c=m+v|0;x=(c|0)>(e|0)?e:c;if((x|0)>(d|0)){h=0;c=l+(f<<5)|0;b=c+32|0;e=l+p|0;y=(b|0)<(e|0)?b:e;if((y|0)<=(c|0)){b=0;if(k-1>>>0>=n>>>0){break a}break d}while(1){if((h|0)==(n|0)){break a}if(o[h+u|0]&1){B=w(h,v)-q[g+40>>2]|0;C=q[a+100>>2];l=q[g+36>>2];e=d;while(1){m=w(e+B|0,p)-l|0;b=c;while(1){if(s[(b+m<<1)+C>>1]!=65535){break e}b=b+1|0;if((y|0)>(b|0)){continue}break}e=e+1|0;if((x|0)>(e|0)){continue}break}}b=0;h=h+1|0;if((k|0)!=(h|0)){continue}break}break d}if(k-1>>>0>>0){break d}break a}o[j|0]=t|2;b=1}z=b+z|0;b=s[a+160>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break c}break}break a}f=s[a+162>>1]}i=i+1|0;if(i>>>0<(f&65535)>>>0){continue}break}return z}J(50672,50529,479,50661);G()}function Pi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-32|0;ti=g;q[g+24>>2]=0;a:{d=q[a+4>>2];c=q[d+4>>2];b:{if(!c){break b}c=q[q[d>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break b}d=q[d+8>>2];while(1){e=d+w(c,24)|0;if(q[e>>2]==(b|0)){break a}c=q[e+16>>2];if((c|0)!=-1){continue}break}}J(25816,24451,1700,25837);G()}c:{e=q[a>>2];f=q[e+4>>2];d:{if(!f){break d}d=d+w(c,24)|0;c=d;h=q[c+8>>2];i=q[c+12>>2];c=q[q[e>>2]+(Qwa(h,i,f)<<2)>>2];if((c|0)==-1){break d}e=q[e+8>>2];while(1){f=e+w(c,48)|0;if((h|0)==q[f>>2]&(i|0)==q[f+4>>2]){break c}c=q[f+40>>2];if((c|0)!=-1){continue}break}}J(25767,24451,1703,25837);G()}f=e+w(c,48)|0;h=f;i=q[f+36>>2];if(i){j=h;h=i-1|0;q[j+36>>2]=h;if(!h){c=q[(e+w(c,48)|0)+32>>2];q[g+16>>2]=0;q[g>>2]=a;e=q[c+12>>2];q[g+8>>2]=f+8;q[g+4>>2]=e;xi[q[c+28>>2]](g)|0;sH(q[a+4>>2],b);P7(q[a>>2],q[d+8>>2],q[d+12>>2]);a=q[a+8>>2];if(a){b=q[d+8>>2];d=q[d+12>>2];e:{c=q[a+4>>2];f:{if(!c){break f}c=q[q[a>>2]+(Qwa(b,d,c)<<2)>>2];if((c|0)==-1){break f}e=q[a+8>>2];while(1){f=e+(c<<4)|0;if((b|0)==q[f>>2]&(d|0)==q[f+4>>2]){break e}c=q[f+12>>2];if((c|0)!=-1){continue}break}}XH(a,b,d);J(25845,24451,1725,25837);G()}XH(a,b,d);yi(q[(e+(c<<4)|0)+8>>2])}}ti=g+32|0;return}J(25770,24451,1704,25837);G()}function Iv(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;q[d+12>>2]=0;f=yA(a,b,d+12|0);q[c>>2]=f;e=-3;a:{b:{c:{switch(f|0){case 0:v[c+8>>3]=xj(a,b);break b;case 1:q[c+8>>2]=Zk(a,b);q[c+12>>2]=wi;break b;case 2:a=Ly(a,b);b=q[a+4>>2];q[c+8>>2]=q[a>>2];q[c+12>>2]=b;b=q[a+28>>2];q[c+32>>2]=q[a+24>>2];q[c+36>>2]=b;b=q[a+20>>2];q[c+24>>2]=q[a+16>>2];q[c+28>>2]=b;b=q[a+12>>2];q[c+16>>2]=q[a+8>>2];q[c+20>>2]=b;break b;case 3:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];break b;case 4:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];u[c+20>>2]=u[a+12>>2];break b;case 5:a=q[d+12>>2];u[c+8>>2]=u[a>>2];u[c+12>>2]=u[a+4>>2];u[c+16>>2]=u[a+8>>2];u[c+20>>2]=u[a+12>>2];break b;case 6:e=0;o[c+8|0]=(Ej(a,b)|0)!=0;break a;case 7:break c;default:break a}}a=q[d+12>>2];b=q[a+4>>2];q[c+8>>2]=q[a>>2];q[c+12>>2]=b;e=q[a+60>>2];b=c- -64|0;q[b>>2]=q[a+56>>2];q[b+4>>2]=e;b=q[a+52>>2];q[c+56>>2]=q[a+48>>2];q[c+60>>2]=b;b=q[a+44>>2];q[c+48>>2]=q[a+40>>2];q[c+52>>2]=b;b=q[a+36>>2];q[c+40>>2]=q[a+32>>2];q[c+44>>2]=b;b=q[a+28>>2];q[c+32>>2]=q[a+24>>2];q[c+36>>2]=b;b=q[a+20>>2];q[c+24>>2]=q[a+16>>2];q[c+28>>2]=b;b=q[a+12>>2];q[c+16>>2]=q[a+8>>2];q[c+20>>2]=b}e=0}ti=d+16|0;return e}function zia(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=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0),A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),F=x(0),H=x(0);b=ti-160|0;ti=b;h=q[a+8>>2]-q[a+12>>2]>>4;i=Tj(a);j=Mj(a,2);k=wi;l=Mj(a,3);m=wi;d=xs(a,4);a:{if(d){c=vy(a,4);e=c+12|0;n=u[c+48>>2];p=u[c+32>>2];r=u[c+16>>2];s=u[c+60>>2];t=u[c+56>>2];v=u[c+52>>2];w=u[c+44>>2];y=u[c+40>>2];z=u[c+36>>2];A=u[c+28>>2];B=u[c+24>>2];C=u[c+20>>2];f=c+8|0;g=c+4|0;break a}c=am(a,4);e=c+12|0;f=c+8|0;g=c+4|0}D=u[c>>2];E=u[g>>2];F=u[f>>2];H=u[e>>2];u[b+140>>2]=s;u[b+136>>2]=t;u[b+132>>2]=v;u[b+128>>2]=n;u[b+124>>2]=w;u[b+120>>2]=y;u[b+116>>2]=z;u[b+112>>2]=p;u[b+108>>2]=A;u[b+104>>2]=B;u[b+100>>2]=C;u[b+96>>2]=r;u[b+92>>2]=H;u[b+88>>2]=F;u[b+84>>2]=E;o[b+144|0]=d;u[b+80>>2]=D;q[b+72>>2]=l;q[b+76>>2]=m;q[b+64>>2]=j;q[b+68>>2]=k;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[61936];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],i,c,b- -64|0,96);if(q[a+8>>2]-q[a+12>>2]>>4!=(h|0)){J(67590,67401,342,67611);G()}ti=b+160|0;return 0}function ama(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=ti-16|0;ti=f;d=q[a>>2];a=q[a+4>>2];if(r[277316]){Pp(q[d+48>>2],163,a)}a:{b=q[d>>2];c=q[d+4>>2];if((b|0)!=(c|0)){while(1){g=(e<<2)+b|0;if((a|0)==q[g>>2]){q[g>>2]=q[c-4>>2];c=q[d+4>>2]-4|0;q[d+4>>2]=c;b=q[d>>2];if(c>>>0>>0){break a}}e=e+1|0;if(e>>>0>2>>>0){continue}break}}b=q[a+36>>2]-q[a+32>>2]|0;b:{if(!b){break b}q[f>>2]=b>>2;Ai(3,36048,36627,f);b=q[a+32>>2];d=q[a+36>>2];if((b|0)==(d|0)){break b}e=0;while(1){c=q[(e<<2)+b>>2];if(c){c:{if(o[c+36|0]&1){break c}b=q[c+24>>2];if(!b){break c}yi(b)}yi(c);d=q[a+36>>2];b=q[a+32>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}TG(q[a+80>>2]);b=q[a+16>>2];c=q[a+20>>2];if((b|0)!=(c|0)){e=0;while(1){d=q[(e<<2)+b>>2];if(d){fr(d);c=q[a+20>>2];b=q[a+16>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}xi[q[77453]](q[a+48>>2]);xi[q[77440]](q[a+52>>2]);xi[q[77502]](q[a+72>>2],q[a+76>>2]);Jy(q[a+100>>2]);d:{if(o[a+68|0]&1){break d}b=q[a+56>>2];if(!b){break d}yi(b)}e:{if(o[a+44|0]&1){break e}b=q[a+32>>2];if(!b){break e}yi(b)}f:{if(o[a+28|0]&1){break f}b=q[a+16>>2];if(!b){break f}yi(b)}g:{if(o[a+12|0]&1){break g}b=q[a>>2];if(!b){break g}yi(b)}yi(a);ti=f+16|0;return 0}J(36719,36330,516,36709);G()}function Vy(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=ti-32|0;ti=k;a:{b:{c:{g=q[a+4>>2];d:{e:{if(!g){break e}h=q[q[a>>2]+(Qwa(b,c,g)<<2)>>2];if((h|0)==-1){break e}g=q[a+8>>2];while(1){j=g+w(h,40)|0;i=j;if(q[i>>2]!=(b|0)|q[i+4>>2]!=(c|0)){h=q[j+32>>2];if((h|0)!=-1){continue}break e}break}g=g+w(h,40)|0;if(q[g+20>>2]==(e|0)){b=g+8|0;break d}F5(a,b,c)}g=q[a+24>>2];if((g|0)==((q[a+16>>2]-q[a+8>>2]|0)/40|0)){g=g+8|0;dv(a,g,g<<1)}h=a+32|0;i=a+40|0;j=q[i>>2];l=a+36|0;g=q[l>>2];m=j-g>>4;if(m>>>0>>0){if(o[a+44|0]&1){break c}Ii((e-m|0)+(j-q[h>>2]>>4)|0,16,h,i,l);j=q[i>>2];i=q[l>>2]}else{i=g}g=q[h>>2];i=i-g>>4;h=i+e|0;if(h>>>0>j-g>>4>>>0){break b}q[a+36>>2]=g+(h<<4);q[k+20>>2]=e;g=k;q[g+8>>2]=b;q[g+12>>2]=c;q[g+24>>2]=f;q[g+16>>2]=i;Az(a,b,c,g+8|0);g=0;f=q[a+4>>2];f:{if(!f){break f}h=q[q[a>>2]+(Qwa(b,c,f)<<2)>>2];if((h|0)==-1){break f}f=q[a+8>>2];while(1){h=w(h,40);g=h+f|0;if((b|0)==q[g>>2]&(c|0)==q[g+4>>2]){break f}h=q[(f+h|0)+32>>2];if((h|0)!=-1){continue}break}g=0}b=g?g+8|0:0}b=q[b+8>>2];c=q[a+36>>2];a=q[a+32>>2];if(b>>>0>=c-a>>4>>>0){break a}Gi(a+(b<<4)|0,d,e<<4);ti=k+32|0;return}J(106680,106507,493,106411);G()}J(106488,106507,506,106563);G()}J(106571,106507,479,106582);G()}function lwa(){var a=0;q[74158]=0;q[74159]=0;q[74156]=0;q[74154]=6947;q[74153]=6931;q[74152]=0;q[74150]=0;q[74148]=0;q[74146]=0;q[74144]=0;q[74142]=0;q[74143]=0;q[74180]=296568;q[74178]=0;q[74176]=6976;q[74175]=6959;q[74174]=0;q[74172]=0;q[74170]=0;q[74168]=0;q[74166]=1;q[74164]=0;q[74165]=3;q[74160]=0;q[74161]=0;q[74162]=0;q[74163]=0;q[74185]=0;q[74183]=0;q[74184]=0;q[74181]=0;q[74182]=0;q[74202]=296568;q[74200]=0;q[74198]=7020;q[74197]=7005;q[74196]=0;q[74194]=0;q[74192]=0;q[74190]=0;q[74188]=1;q[74186]=0;q[74187]=3;q[74207]=0;q[74205]=0;q[74206]=0;q[74203]=0;q[74204]=0;a=vl(7108,11);q[74210]=0;q[74211]=0;q[74208]=a;q[74209]=wi;q[74212]=0;q[74213]=0;q[74214]=0;q[74215]=0;q[74216]=zi(7122);q[74217]=wi;q[74218]=zi(7131);q[74219]=wi;q[74220]=zi(7142);q[74221]=wi;q[74222]=zi(7153);q[74223]=wi;q[74224]=zi(7164);q[74225]=wi;q[74226]=zi(7173);q[74227]=wi;q[74228]=zi(7184);q[74229]=wi;q[74230]=zi(7195);q[74231]=wi;q[74232]=zi(7206);q[74233]=wi;q[74234]=zi(7217);q[74235]=wi;q[74236]=zi(7223);q[74237]=wi;q[74238]=zi(7231);q[74239]=wi;q[74240]=zi(7239);q[74241]=wi;q[74242]=zi(7247);q[74243]=wi;q[74244]=zi(7253);q[74245]=wi;q[74246]=zi(7261);q[74247]=wi;q[74248]=zi(7269);q[74249]=wi}function s7(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;e=ti-224|0;ti=e;q[e+212>>2]=a;q[e+200>>2]=0;q[e+64>>2]=0;q[e+48>>2]=0;b=a+b|0;q[e+216>>2]=b;q[e+204>>2]=a;q[e+208>>2]=b;a=jP(e+32|0,e+28|0,e+24|0,e+20|0);a:{b:{if(a){i=2;h=q[e+24>>2];g=q[e+28>>2];c:{d:{e:{f:{g:{h:{b=q[e+20>>2];switch(b-1|0){case 0:break c;case 3:break f;case 2:break g;case 1:break h;default:break e}}if((g|h)<0|((2147483647/(h|0)|0)<(g|0)?h:0)){break d}j=Ji(w(g,h));if(!j){break d}if(!((h|0)<1|(g|0)<1)){while(1){c=w(g,k);b=c+j|0;c=(c<<1)+a|0;f=g;while(1){o[b|0]=r[c|0];b=b+1|0;c=c+2|0;l=(f|0)>1;f=f-1|0;if(l){continue}break}k=k+1|0;if((k|0)!=(h|0)){continue}break}}yi(a);a=j;break c}i=0;break c}i=1;if(!c|(g|0)<1|(h|0)<1){break c}b=0;while(1){j=w(b,g);c=0;while(1){f=c+j<<2;i=(f|2)+a|0;k=r[i|0];l=(f|1)+a|0;n=r[l|0];m=a+f|0;f=r[(f|3)+a|0];o[m|0]=w(f,r[m|0])+255>>>8;o[l|0]=w(f,n)+255>>>8;o[i|0]=w(f,k)+255>>>8;c=c+1|0;if((g|0)!=(c|0)){continue}break}i=1;b=b+1|0;if((h|0)!=(b|0)){continue}break}break c}q[e+16>>2]=b;Ai(4,163926,163931,e+16|0);yi(a);break b}yi(a);q[215613]=164360;a=0}q[d+12>>2]=a;q[d+8>>2]=i;q[d+4>>2]=h;q[d>>2]=g;a=0;break a}q[e>>2]=q[215613];Ai(4,163926,163977,e)}a=-2}ti=e+224|0;return a}function Wia(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;e=ti-16|0;ti=e;i=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(Bj(a,1)){d=xj(a,1);c:{if(d<0x10000000000000000&d>=0){c=~~d>>>0;b=y(d)>=1?d>0?~~A(C(d*2.3283064365386963e-10),4294967295)>>>0:~~D((d- +(~~d>>>0>>>0))*2.3283064365386963e-10)>>>0:0;break c}b=0}if(sv(q[76922],c,b)){break b}b=Bi(a,73999,0);break a}f=Mj(a,1);b=wi;g=b;c=hp(a,q[76921],f,b,72181);b=q[c+4>>2];c=q[c>>2];if(sv(q[76922],c,b)){break b}q[e>>2]=Mi(f,g);b=Bi(a,74028,e);break a}f=xi[q[77507]](c,b)|0;g=xi[q[77508]](c,b)|0;j=xi[q[77512]](c,b)|0;k=xi[q[77513]](c,b)|0;l=xi[q[77509]](c,b)|0;gj(a,0,0);h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=+(c>>>0)+ +(b>>>0)*4294967296;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,74072);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72434);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=g|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,72440);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=j|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,74079);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,74085);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=l|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,73141);b=1;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(74093,71492,1236,74120);G()}ti=e+16|0;return b|0}function Xka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];xi[q[77453]](q[b+68>>2]);xi[q[77440]](q[q[b+72>>2]>>2]);xi[q[77440]](q[q[b+72>>2]+4>>2]);xi[q[77440]](q[q[b+72>>2]+8>>2]);xi[q[77440]](q[q[b+72>>2]+12>>2]);xi[q[77440]](q[q[b+72>>2]+16>>2]);xi[q[77440]](q[q[b+72>>2]+20>>2]);xi[q[77440]](q[q[b+72>>2]+24>>2]);xi[q[77440]](q[q[b+72>>2]+28>>2]);xi[q[77440]](q[q[b+72>>2]+32>>2]);xi[q[77440]](q[q[b+72>>2]+36>>2]);xi[q[77440]](q[q[b+72>>2]+40>>2]);xi[q[77440]](q[q[b+72>>2]+44>>2]);xi[q[77440]](q[q[b+72>>2]+48>>2]);xi[q[77440]](q[q[b+72>>2]+52>>2]);xi[q[77440]](q[q[b+72>>2]+56>>2]);xi[q[77440]](q[q[b+72>>2]+60>>2]);Pp(q[q[a>>2]+4>>2],201,b);a=q[b+96>>2];if(a){yi(S3(a))}c=q[b+76>>2];if(c){e=c-4|0;a=q[e>>2];if(a){a=(a<<4)+c|0;while(1){d=a;a=a-16|0;a:{if(o[d-4|0]&1){break a}d=q[a>>2];if(!d){break a}yi(d)}if((a|0)!=(c|0)){continue}break}}yi(e)}a=q[b+72>>2];if(a){yi(a)}b:{if(o[b+92|0]&1){break b}a=q[b+80>>2];if(!a){break b}yi(a)}c:{if(o[b+64|0]&1){break c}a=q[b+52>>2];if(!a){break c}yi(a)}d:{if(o[b+44|0]&1){break d}a=q[b+32>>2];if(!a){break d}yi(a)}e:{if(o[b+28|0]&1){break e}a=q[b+16>>2];if(!a){break e}yi(a)}f:{if(o[b+12|0]&1){break f}a=q[b>>2];if(!a){break f}yi(a)}yi(b);return 0}function _qa(a){a=a|0;var b=0,c=0;a:{if(r[865492]){a=q[a+4>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ik(a,202533,295136);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202539);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202563);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202584);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202606);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202628);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202649);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202673);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202691);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=8;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202716);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=9;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202735);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=10;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202770);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=32;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202783);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=255;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,202797);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(202468,202493,323,202517);G()}J(202812,202493,434,202517);G()}function Doa(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14062,13844,256,14125);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=2;c=b+q[e+8>>2]|0;b=q[a+20>>2];q[c>>2]=b;b=b+q[e+24>>2]|0;e=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);o[b|0]=f;o[b+1|0]=f>>>8;o[b+2|0]=f>>>16;o[b+3|0]=f>>>24;o[b+4|0]=e;o[b+5|0]=e>>>8;o[b+6|0]=e>>>16;o[b+7|0]=e>>>24;c=r[d+28|0]|r[d+29|0]<<8|(r[d+30|0]<<16|r[d+31|0]<<24);e=r[d+24|0]|r[d+25|0]<<8|(r[d+26|0]<<16|r[d+27|0]<<24);o[b+24|0]=e;o[b+25|0]=e>>>8;o[b+26|0]=e>>>16;o[b+27|0]=e>>>24;o[b+28|0]=c;o[b+29|0]=c>>>8;o[b+30|0]=c>>>16;o[b+31|0]=c>>>24;c=r[d+20|0]|r[d+21|0]<<8|(r[d+22|0]<<16|r[d+23|0]<<24);e=r[d+16|0]|r[d+17|0]<<8|(r[d+18|0]<<16|r[d+19|0]<<24);o[b+16|0]=e;o[b+17|0]=e>>>8;o[b+18|0]=e>>>16;o[b+19|0]=e>>>24;o[b+20|0]=c;o[b+21|0]=c>>>8;o[b+22|0]=c>>>16;o[b+23|0]=c>>>24;c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);o[b+8|0]=d;o[b+9|0]=d>>>8;o[b+10|0]=d>>>16;o[b+11|0]=d>>>24;o[b+12|0]=c;o[b+13|0]=c>>>8;o[b+14|0]=c>>>16;o[b+15|0]=c>>>24;q[a+20>>2]=q[a+20>>2]+32}function pua(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,p=0,q=0;p=j+k|0;o=j>>>0>p>>>0?1:o;a:{if(!o&e>>>0

>>0|o){break a}if((a&-2)==8){if((Rwa(f<<2)|0)!=1){break a}if((Rwa(g<<2)|0)!=1){break a}}e=(a|0)==9?l?9:8:a;a=pt(e);if(!EM(e,c,h,i,m,n,w(f,g))){break a}b:{switch(e|0){case 1:return nm(b,f,g,d+j|0,k,1,a,h,i,m,n,-1,-1);case 2:return nm(b,f,g,d+j|0,k,2,a,h,i,m,n,-1,-1);case 3:return nm(b,f,g,d+j|0,k,3,a,h,i,m,n,-1,-1);case 4:return nm(b,f,g,d+j|0,k,4,a,h,i,m,n,0,-1);case 5:return nm(b,f,g,d+j|0,k,5,a,h,i,m,n,0,3);case 6:case 7:return nm(b,f,g,d+j|0,k,8,a,h,i,m,n,-1,-1);case 8:return nm(b,f,g,d+j|0,k,6,a,h,i,m,n,-1,-1);case 9:return nm(b,f,g,d+j|0,k,7,a,h,i,m,n,-1,-1);case 10:return nm(b,f,g,d+j|0,k,12,a,h,i,m,n,-1,-1);case 20:return nm(b,f,g,d+j|0,k,18,a,h,i,m,n,0,-1);case 21:return nm(b,f,g,d+j|0,k,19,a,h,i,m,n,0,3);case 13:return nm(b,f,g,d+j|0,k,22,a,h,i,m,n,-1,-1);case 14:return nm(b,f,g,d+j|0,k,24,a,h,i,m,n,-1,-1);case 15:return nm(b,f,g,d+j|0,k,25,a,h,i,m,n,-1,-1);case 16:return nm(b,f,g,d+j|0,k,29,a,h,i,m,n,-1,-1);default:J(92163,92069,9820,92310);G();case 11:case 12:case 17:case 18:case 19:break a;case 0:break b}}q=nm(b,f,g,d+j|0,k,0,a,h,i,m,n,-1,-1)}return q}function lna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=ti-96|0;ti=b;i=q[a+8>>2]-q[a+12>>2]>>4;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;Vn(a,63033,b+92|0,b+88|0,b+56|0);a:{if(!((r[q[q[b+88>>2]>>2]+28|0]&2)>>>1|0)){c=bm(q[b+56>>2],q[b+60>>2]);d=Mi(q[b+72>>2],q[b+76>>2]);q[b+40>>2]=Mi(q[b+80>>2],q[b+84>>2]);q[b+36>>2]=d;q[b+32>>2]=c;c=Bi(a,64104,b+32|0);break a}if(o[q[b+88>>2]+24|0]&1){c=Bi(a,64201,0);break a}e=q[q[b+92>>2]+32>>2];f=q[q[b+88>>2]>>2];c=q[q[b+88>>2]+4>>2];q[b+52>>2]=0;b:{c:{d:{e:{f:{if(!Ei(a,2)){break f}d=Wi(a,2,0);g=zi(d);h=wi;if(nj(Ty(d),64247)){c=bm(q[b+56>>2],q[b+60>>2]);e=Mi(q[b+72>>2],q[b+76>>2]);q[b+28>>2]=Mi(q[b+80>>2],q[b+84>>2]);q[b+24>>2]=e;q[b+20>>2]=c;q[b+16>>2]=d;c=Bi(a,64260,b+16|0);break a}if(!d){break f}if(q[f>>2]!=(g|0)|q[f+4>>2]!=(h|0)){break e}}q[b+52>>2]=0;break d}if(!(!c|(q[c>>2]!=(g|0)|q[c+4>>2]!=(h|0)))){q[b+52>>2]=c;q[q[b+88>>2]+4>>2]=c;break c}if(Eha(e,d,b+52|0)){break b}j=q[b+52>>2]}q[q[b+88>>2]+4>>2]=j;if(!c){break c}IJ(e,c)}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(i|0)){break a}J(64011,63431,504,64394);G()}q[b>>2]=d;c=Bi(a,64347,b)}ti=b+96|0;return c|0}function It(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ti-112|0;ti=f;g=q[a>>2];d=q[a+60>>2];e=q[d+4>>2];c=e+1|0;b=q[d+8>>2];a:{if(c>>>0<=b>>>0){b=q[d>>2];break a}if(b>>>0>=2147483646){Gk(f+32|0,q[a+64>>2]+16|0,80);b=q[a+52>>2];c=q[a+4>>2];q[f+24>>2]=136278;q[f+20>>2]=c;q[f+16>>2]=f+32;_i(b,136255,f+16|0);yj(q[a+52>>2],3);b=q[d+8>>2]}c=q[a+52>>2];e=b<<1;b:{if((e|0)!=-2){b=lj(c,q[d>>2],b,e);break b}b=Yj(c)}q[d+8>>2]=e;q[d>>2]=b;e=q[d+4>>2];c=e+1|0}q[d+4>>2]=c;o[b+e|0]=g;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;c:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break c}b=sk(b)}q[d>>2]=b;if((b|0)==61){while(1){d=q[a+60>>2];e=q[d+4>>2];c=e+1|0;b=q[d+8>>2];d:{if(c>>>0<=b>>>0){b=q[d>>2];break d}if(b>>>0>=2147483646){Gk(f+32|0,q[a+64>>2]+16|0,80);b=q[a+52>>2];c=q[a+4>>2];q[f+8>>2]=136278;q[f+4>>2]=c;q[f>>2]=f+32;_i(b,136255,f);yj(q[a+52>>2],3);b=q[d+8>>2]}c=q[a+52>>2];e=b<<1;e:{if((e|0)!=-2){b=lj(c,q[d>>2],b,e);break e}b=Yj(c)}q[d+8>>2]=e;q[d>>2]=b;e=q[d+4>>2];c=e+1|0}q[d+4>>2]=c;o[b+e|0]=61;b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;f:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break f}b=sk(b)}q[d>>2]=b;h=h+1|0;if((b|0)==61){continue}break}}ti=f+112|0;return((b|0)!=(g|0)?-1:0)^h}function psa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-112|0;ti=c;e=a;f=a;if((Ei(a,1)|0)==8){b=1;e=sn(a,1)}d=b|2;f=Dl(f,d,141946,0);a:{b:{b=b+1|0;c:{if(Bj(a,b)){if(cl(e,Ok(a,b),c+8|0)){break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;b=1;break a}if((Ei(a,b)|0)!=6){break b}q[c>>2]=f;vj(a,141952,c);f=dj(a,-1,0);Qi(a,b);Nn(a,e,1)}if(!tn(e,f,c+8|0)){b=Qj(a,d,141983);break a}gj(a,0,2);if(Oj(f,83)){Hi(a,q[c+24>>2]);Di(a,-2,141998);Hi(a,c+44|0);Di(a,-2,142005);b=q[c+36>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,142015);b=q[c+40>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,142027);Hi(a,q[c+20>>2]);Di(a,-2,142043)}if(Oj(f,108)){b=q[c+28>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,142048)}if(Oj(f,117)){b=q[c+32>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,142060)}if(Oj(f,110)){Hi(a,q[c+12>>2]);Di(a,-2,142065);Hi(a,q[c+16>>2]);Di(a,-2,142070)}if(Oj(f,76)){d:{if((a|0)==(e|0)){Qi(a,-2);Xk(a,-3);break d}Nn(e,a,1)}Di(a,-2,142079)}b=1;if(!Oj(f,102)){break a}e:{if((a|0)==(e|0)){Qi(a,-2);Xk(a,-3);break e}Nn(e,a,1)}Di(a,-2,142091);break a}b=Qj(a,b,141956)}ti=c+112|0;return b|0}function iy(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-48|0;ti=e;a:{if(c>>>0<=1){d=jy(a,q[b>>2]);break a}h=Vj(c,12);if(!h){d=-19840;break a}while(1){g=w(f,12)+h|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;f=f+1|0;if((f|0)!=(c|0)){continue}break}q[e+40>>2]=0;q[e+32>>2]=1;q[e+36>>2]=0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;d=gk(h,q[b>>2]+24|0);b:{if(d){break b}f=1;if(c>>>0>1){while(1){g=w(f,12)+h|0;d=Pj(a,g,g-12|0,q[(f<<2)+b>>2]+24|0);if(d){break b}f=f+1|0;if((f|0)!=(c|0)){continue}break}}f=c-1|0;d=jo(e+32|0,w(f,12)+h|0,a+4|0);if(d){break b}while(1){g=f;c:{if(!f){d=gk(e+16|0,e+32|0);if(!d){break c}break b}d=Pj(a,e+16|0,e+32|0,(w(g,12)+h|0)-12|0);if(d){break b}d=Pj(a,e+32|0,e+32|0,q[(g<<2)+b>>2]+24|0);if(d){break b}}d=Pj(a,e,e+16|0,e+16|0);if(d){break b}f=(g<<2)+b|0;d=q[f>>2];d=Pj(a,d,d,e);if(d){break b}d=q[f>>2]+12|0;d=Pj(a,d,d,e);if(d){break b}d=q[f>>2]+12|0;d=Pj(a,d,d,e+16|0);if(d){break b}d=oD(q[f>>2],q[a+8>>2]);if(d){break b}d=oD(q[f>>2]+12|0,q[a+8>>2]);if(d){break b}Si(q[f>>2]+24|0);f=g-1|0;d=0;if(g){continue}break}}Si(e+32|0);Si(e+16|0);Si(e);f=0;while(1){Si(w(f,12)+h|0);f=f+1|0;if((f|0)!=(c|0)){continue}break}yi(h)}ti=e+48|0;return d}function DE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=ti-208|0;ti=e;a:{b:{c:{if((a|0)!=10){if((a|0)!=2){break c}a=r[b|0];f=r[b+1|0];h=r[b+2|0];q[e+12>>2]=r[b+3|0];q[e+8>>2]=h;q[e+4>>2]=f;q[e>>2]=a;if(Ko(c,d,211472,e)>>>0>>0){break a}break b}j=pj(b,211484,12);a=r[b+11|0]|r[b+10|0]<<8;f=r[b+9|0]|r[b+8|0]<<8;h=r[b+7|0]|r[b+6|0]<<8;g=r[b+5|0]|r[b+4|0]<<8;i=r[b+3|0]|r[b+2|0]<<8;l=r[b+1|0]|r[b|0]<<8;m=r[b+12|0];d:{if(j){j=r[b+15|0];k=r[b+14|0];b=r[b+13|0];q[e+84>>2]=a;q[e+80>>2]=f;q[e+88>>2]=b|m<<8;q[e+92>>2]=j|k<<8;q[e+76>>2]=h;q[e+72>>2]=g;q[e+68>>2]=i;q[e+64>>2]=l;Ko(e+96|0,100,211497,e- -64|0);break d}j=r[b+13|0];k=r[b+14|0];q[e+52>>2]=r[b+15|0];q[e+48>>2]=k;q[e+44>>2]=j;q[e+40>>2]=m;q[e+36>>2]=a;q[e+32>>2]=f;q[e+28>>2]=h;q[e+24>>2]=g;q[e+20>>2]=i;q[e+16>>2]=l;Ko(e+96|0,100,211521,e+16|0)}g=r[e+96|0];e:{if(!g){break e}f=2;h=0;i=e+96|0;a=0;while(1){b=a;if(!((g|0)!=58?b:0)){g=OO(i);a=(g|0)>(f|0);h=a?b:h;f=a?g:f}a=b+1|0;i=a+(e+96|0)|0;g=r[i|0];if(g){continue}break}if((f|0)<3){break e}a=(e+96|0)+h|0;o[a|0]=58;o[a+1|0]=58;Sk(a+2|0,a+f|0,((b-f|0)-h|0)+2|0)}if(Ui(e+96|0)>>>0>=d>>>0){break b}Et(c,e+96|0);break a}q[242957]=5;break a}q[242957]=51}ti=e+208|0}function Mja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=ti-96|0;ti=c;g=Zi(c+72|0,a,0,60730,526);a:{if((Ei(a,1)|0)==7){e=Li(a,1,q[76578],0);if(e){if(Ao(q[e>>2])){break a}}Bi(a,61079,0)}wk(a,1,60528);e=0}i=Xi(a,2);b:{if((ul(a,3)|0)==q[76578]){c:{if((Ei(a,3)|0)==7){b=Li(a,3,q[76578],0);if(b){if(Ao(q[b>>2])){break c}}Bi(a,61079,0)}wk(a,3,60528);b=0}j=Xi(a,4);a=Xi(a,5);if(!b){break b}d=q[e+40>>2];if((d|0)!=q[b+40>>2]){if(d>>>0<=8){a=q[(d<<2)+273568>>2]}else{a=148710}d=c;b=q[b+40>>2];d:{if(b>>>0<=8){b=q[(b<<2)+273568>>2];break d}b=148710}q[d+68>>2]=b;q[c+64>>2]=a;f=sj(g,61906,c- -64|0);break b}h=q[e+36>>2];if((h|0)!=q[b+36>>2]){if(d>>>0<=8){a=q[(d<<2)+273568>>2]}else{a=148710}f=q[b+36>>2];d=c;b=q[b+40>>2];e:{if(b>>>0<=8){b=q[(b<<2)+273568>>2];break e}b=148710}q[d+60>>2]=b;q[c+56>>2]=f;q[c+52>>2]=a;q[c+48>>2]=h;f=sj(g,61977,c+48|0);break b}d=q[e+28>>2];if(a+i>>>0>w(d,h)>>>0){q[c+8>>2]=a;q[c+4>>2]=i;q[c>>2]=d;f=sj(g,62059,c);break b}d=q[b+28>>2];if(a+j>>>0>w(d,h)>>>0){q[c+24>>2]=a;q[c+20>>2]=j;q[c+16>>2]=d;f=sj(g,62142,c+16|0);break b}if(dK(e,i,b,j,a)){break b}q[c+32>>2]=q[e+40>>2];f=sj(g,62224,c+32|0);break b}f=wk(a,3,60528)}Yi(g);ti=c+96|0;return f|0}function Jua(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=ti-2048|0;ti=d;c=1;while(1){q[(c<<2)+d>>2]=a;q[(d+1024|0)+(a<<2)>>2]=c;c=c<<24>>31&27^(c<<1&254^c);a=a+1|0;if((a|0)!=256){continue}break}q[213404]=27;q[213405]=54;q[213402]=64;q[213403]=128;q[213400]=16;q[213401]=32;q[213398]=4;q[213399]=8;q[213396]=1;q[213397]=2;o[853632]=99;o[862179]=0;c=1;while(1){a=q[((0-q[(c<<2)+d>>2]<<2)+d|0)+2044>>2];e=(a<<1|a>>>7)&255;b=e<<1&254;g=b|e>>>7;h=g<<1&254;b=b>>>7|h;a=(b<<1&254|h>>>7)^(b^(g^(a^e)))^99;o[c+853632|0]=a;o[a+862080|0]=c;c=c+1|0;if((c|0)!=256){continue}break}e=0;a=99;g=q[d+44>>2];h=q[d+52>>2];j=q[d+36>>2];k=q[d+56>>2];while(1){a=a&255;b=a<<24>>31&27^a<<1&254;c=e<<2;f=b|(a<<16|a<<8);b=a^b;i=f<<8|b;q[c+859008>>2]=i;q[c+857984>>2]=f|b<<24;b=a|i<<8;q[c+860032>>2]=b;q[c+861056>>2]=a|b<<8;a=0;b=0;f=r[e+862080|0];if(f){b=q[(f<<2)+d>>2];a=q[(d+1024|0)+((b+j|0)%255<<2)>>2]<<8^q[(d+1024|0)+((b+k|0)%255<<2)>>2]^q[(d+1024|0)+((b+h|0)%255<<2)>>2]<<16;b=q[(d+1024|0)+((b+g|0)%255<<2)>>2]}b=b<<24^a;q[c+853888>>2]=b;a=a<<8|b>>>24;q[c+854912>>2]=a;q[c+855936>>2]=Twa(a,8);q[c+856960>>2]=Twa(a,16);e=e+1|0;if((e|0)!=256){a=r[e+853632|0];continue}break}ti=d+2048|0}function e4(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{g=il(a,27714);if(g){f=Oi(44);d=f;q[d>>2]=0;q[d+4>>2]=0;q[d+40>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;i=Oi(48);d=i;q[d>>2]=0;q[d+4>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+24>>2]=805306368;q[d+20>>2]=805306368;q[f+4>>2]=d;h=Fi(Oi(1048),0,1048);q[f+8>>2]=h;zj(h,a,1024);if((tl(d,1,48,g)|0)!=48){break a}a=q[i>>2];if((a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))!=4){Ak(g);a=q[f+4>>2];if(a){yi(a)}yi(f);return-1}a=q[i+16>>2];h=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);d=q[i+20>>2];a=0;e=q[i+24>>2];Ik(g,e<<8&16711680|e<<24|(e>>>8&65280|e>>>24),0);e=h<<6;j=Oi(e);q[q[f+8>>2]+1024>>2]=j;if((tl(j,1,e,g)|0)!=(e|0)){break a}Ik(g,d<<8&16711680|d<<24|(d>>>8&65280|d>>>24),0);d=h<<4;e=Oi((h&268435455)!=(h|0)?-1:d);if(h){Fi(e,0,d);a=d}q[q[f+8>>2]+1028>>2]=e;if((tl(e,1,a,g)|0)!=(a|0)){break a}q[i+8>>2]=1337;q[i+12>>2]=0;a=il(b,27714);if(!a){break a}q[q[f+8>>2]+1032>>2]=a;q[c>>2]=f;Ak(g);a=0}else{a=-2}return a}Ak(g);a=q[f+4>>2];if(a){yi(a)}yi(f);return-2}function wy(a,b,c,d){var e=0,f=0;e=ti-96|0;ti=e;a:{b:{c:{d:{e:{switch(r[b|0]-35|0){case 11:if(r[b+1|0]){break d}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;break c;case 0:break e;default:break d}}if(r[b+1|0]){break d}a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;a=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=a;a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a;a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;break c}if(q[c+8>>2]|q[c+12>>2]){break a}q[e+88>>2]=0;q[e+92>>2]=0;q[e+80>>2]=0;q[e+84>>2]=0;q[e+72>>2]=0;q[e+76>>2]=0;b=YG(b,e+72|0);if(b){break b}f=q[e+76>>2];f:{if(f){b=-4;if(f>>>0>63){break b}zj(e,q[e+72>>2],f+1|0);g:{b=gn(e,c);switch(b+6|0){case 0:case 6:break g;default:break b}}q[c+16>>2]=vl(q[e+80>>2],q[e+84>>2]);q[c+20>>2]=wi;break f}b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;b=q[e+84>>2];if(b){AF(a,q[e+80>>2],b,c+16|0);break f}a=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=a}a=q[e+92>>2];if(a){q[c+24>>2]=vl(q[e+88>>2],a);q[c+28>>2]=wi;break c}if(!(q[e+76>>2]|q[e+84>>2])){a=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=a;break c}q[c+24>>2]=0;q[c+28>>2]=0}b=0}ti=e+96|0;return b}J(123490,123237,608,123514);G()}function RE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=ti-32|0;ti=j;f=q[a+48>>2];h=r[f+50|0]+3|0;o[f+50|0]=h;g=q[q[f>>2]+24>>2];k=((h&255)<<1)+f|0;h=q[f+24>>2];q[(g+w(s[k+166>>1],12)|0)+4>>2]=h;q[(g+w(s[k+168>>1],12)|0)+4>>2]=h;q[(g+w(s[k+170>>1],12)|0)+4>>2]=h;if(q[a+16>>2]!=259){h=q[a+52>>2];q[j>>2]=dl(a,259);Dj(a,_i(h,136607,j))}Gj(a);a:{if(e){h=lu(f,32,b,131070);break a}h=So(f)}o[j+26|0]=0;q[j+20>>2]=-1;g=r[f+50|0];o[j+25|0]=0;o[j+24|0]=g;q[j+16>>2]=q[f+20>>2];q[f+20>>2]=j+16;i=q[a+48>>2];g=r[i+50|0]+d|0;o[i+50|0]=g;if(d){l=g&255;m=q[i+24>>2];k=q[q[i>>2]+24>>2];g=d;while(1){q[(k+w(s[(i+(l-g<<1)|0)+172>>1],12)|0)+4>>2]=m;g=g-1|0;if(g){continue}break}}Lp(f,d);it(a);l=q[f+20>>2];q[f+20>>2]=q[l>>2];i=q[q[f+12>>2]+48>>2];g=r[i+50|0];m=r[l+8|0];if(g>>>0>m>>>0){k=q[i+24>>2];a=q[q[i>>2]+24>>2];while(1){g=g-1|0;q[(a+w(s[(i+(g<<1)|0)+172>>1],12)|0)+8>>2]=k;if(g>>>0>m>>>0){continue}break}o[i+50|0]=g}if(r[l+9|0]){im(f,35,m,0,0)}q[f+36>>2]=r[f+50|0];Nm(f,q[l+4>>2]);Nm(f,h);b:{if(e){g=lu(f,31,b,131070);q[(q[q[f>>2]+20>>2]+(q[f+24>>2]<<2)|0)-4>>2]=c;break b}im(f,33,b,0,d);q[(q[q[f>>2]+20>>2]+(q[f+24>>2]<<2)|0)-4>>2]=c;g=So(f)}ju(f,g,h+1|0);ti=j+32|0}function mJ(a,b){var c=0,d=0,e=0;d=Sm(q[a+336>>2]&16?16:32);a:{b:{c:{d:{e:{c=q[a+328>>2];f:{g:{if(c){ga(36161,c|0);d=w(d,48)+a|0;za(36161,34041,s[d+40>>1],s[d+42>>1]);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break e}}if(b){break g}Ba(36160,33306,36161,q[a+328>>2]);if(!(r[q[77547]+156|0]&64)){break g}a=K()|0;if(!a){break g}Vi(a,88591,2273);J(84254,84160,2273,88591);G()}c=q[a+320>>2];if(c){e=q[a+340>>2];ga(36161,c|0);c=w(d,48)+a|0;za(36161,((e|0)==16?33189:6402)|0,s[c+40>>1],s[c+42>>1]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break d}}h:{if(b){break h}Ba(36160,36096,36161,q[a+320>>2]);if(!(r[q[77547]+156|0]&64)){break h}c=K()|0;if(c){break c}}ga(36161,0)}c=q[a+324>>2];if(!c){break f}ga(36161,c|0);d=w(d,48)+a|0;za(36161,36168,s[d+40>>1],s[d+42>>1]);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break b}}if(b){break g}Ba(36160,36128,36161,q[a+324>>2]);if(!(r[q[77547]+156|0]&64)){break g}a=K()|0;if(a){break a}}ga(36161,0)}return}Vi(d,88591,2269);J(84254,84160,2269,88591);G()}Vi(c,88591,2297);J(84254,84160,2297,88591);G()}Vi(c,88591,2301);J(84254,84160,2301,88591);G()}Vi(d,88591,2310);J(84254,84160,2310,88591);G()}Vi(a,88591,2314);J(84254,84160,2314,88591);G()}function l2(a){a=a|0;var b=x(0),c=x(0),d=x(0),e=0,f=0,g=0,h=x(0),i=x(0),j=0,k=0,l=0,m=0,n=0,o=x(0),p=x(0);e=ti-96|0;ti=e;g=Li(a,1,q[212904],0);d=u[g>>2];c=u[g+4>>2];a:{if(!(d!=d|c!=c)){b=u[g+8>>2];if(b==b){break a}}b=u[g+8>>2];v[e+80>>3]=c;v[e+88>>3]=b;v[e+72>>3]=d;q[e+64>>2]=1;Bi(a,128819,e- -64|0)}j=Li(a,2,q[212904],0);d=u[j>>2];c=u[j+4>>2];b:{if(!(d!=d|c!=c)){b=u[j+8>>2];if(b==b){break b}}b=u[j+8>>2];v[e+48>>3]=c;v[e+56>>3]=b;v[e+40>>3]=d;q[e+32>>2]=2;Bi(a,128819,e+32|0)}f=Li(a,3,q[212904],0);i=u[f>>2];d=u[f+4>>2];c:{if(!(i!=i|d!=d)){c=u[f+8>>2];if(c==c){break c}}c=u[f+8>>2];v[e+16>>3]=d;v[e+24>>3]=c;v[e+8>>3]=i;q[e>>2]=3;Bi(a,128819,e);c=u[f+8>>2];d=u[f+4>>2];i=u[f>>2]}b=u[g>>2];h=u[j+4>>2];f=x(x(b+h)+c)h;k=c>b;l=f&(m&k^1);n=b>2];p=x(x(u[g+4>>2]-(l?x(-b):b))*c);b=u[g+8>>2];b=x(x(i-(f?x(-b):b))*c);c=x(x(u[j+8>>2]-(k?x(-d):d))*c);d:{if(!l){h=c;d=b;b=p;c=o;break d}h=o;d=p}e:{if(!k){i=h;h=d;d=b;b=c;break e}i=d;d=c}g=jj(a,16);u[g+12>>2]=b;u[g+8>>2]=d;u[g+4>>2]=h;u[g>>2]=i;Ki(a,-1e4,128720);ij(a,-2);ti=e+96|0;return 1}function LC(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d=q[a+4>>2];d:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break d}d=ok(a)}switch(d-43|0){case 0:case 2:break b;default:break c}}c=d-48|0;break a}f=(d|0)==45;b=!b;c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;d=r[c|0];break e}d=ok(a)}c=d-48|0;if(!(b|c>>>0<10|!q[a+104>>2])){q[a+4>>2]=q[a+4>>2]-1}}f:{if(c>>>0<10){c=0;while(1){c=w(c,10)+d|0;b=q[a+4>>2];g:{if(b>>>0>2]){q[a+4>>2]=b+1;d=r[b|0];break g}d=ok(a)}e=d-48|0;c=c-48|0;if((c|0)<214748364?e>>>0<=9:0){continue}break}b=c;c=c>>31;h:{if(e>>>0>=10){break h}while(1){c=Owa(b,c,10,0);d=c+d|0;b=wi;b=c>>>0>d>>>0?b+1|0:b;c=d;e=b;b=q[a+4>>2];i:{if(b>>>0>2]){q[a+4>>2]=b+1;d=r[b|0];break i}d=ok(a)}b=c-48|0;c=e-(c>>>0<48)|0;e=d-48|0;if(e>>>0>9){break h}if((c|0)<21474836?1:(c|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){d=q[a+4>>2];j:{if(d>>>0>2]){q[a+4>>2]=d+1;d=r[d|0];break j}d=ok(a)}if(d-48>>>0<10){continue}break}}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]-1}a=b;b=f?0-a|0:a;c=f?0-(((a|0)!=0)+c|0)|0:c;break f}b=0;c=-2147483648;if(!q[a+104>>2]){break f}q[a+4>>2]=q[a+4>>2]-1;wi=-2147483648;return 0}wi=c;return b}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,s=0,t=0,w=0;c=ti+ -64|0;ti=c;a:{b:{switch(q[b>>2]){case 0:g=v[b+8>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=g;q[a+8>>2]=q[a+8>>2]+16;break a;case 1:Zj(a,q[b+8>>2],q[b+12>>2]);break a;case 2:Ul(a,b+8|0);break a;case 3:d=q[b+12>>2];e=q[b+8>>2];u[c+8>>2]=u[b+16>>2];q[c>>2]=e;q[c+4>>2]=d;jl(a,c);break a;case 4:d=q[b+8>>2];e=q[b+12>>2];f=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=f;q[c>>2]=d;q[c+4>>2]=e;Un(a,c);break a;case 5:d=q[b+8>>2];e=q[b+12>>2];f=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=f;q[c>>2]=d;q[c+4>>2]=e;Mq(a,c);break a;case 6:b=r[b+8|0];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;break a;case 7:break b;default:break a}}d=q[b+16>>2];e=q[b+20>>2];f=q[b+24>>2];h=q[b+28>>2];i=q[b+40>>2];j=q[b+44>>2];k=q[b+56>>2];l=q[b+60>>2];m=q[b+32>>2];n=q[b+36>>2];o=q[b+48>>2];p=q[b+52>>2];s=q[b+8>>2];t=q[b+12>>2];b=b- -64|0;w=q[b+4>>2];q[c+56>>2]=q[b>>2];q[c+60>>2]=w;q[c+40>>2]=o;q[c+44>>2]=p;q[c+24>>2]=m;q[c+28>>2]=n;q[c+48>>2]=k;q[c+52>>2]=l;q[c+32>>2]=i;q[c+36>>2]=j;q[c+16>>2]=f;q[c+20>>2]=h;q[c+8>>2]=d;q[c+12>>2]=e;q[c>>2]=s;q[c+4>>2]=t;Nq(a,c)}ti=c- -64|0}function HS(a){var b=0,c=0;a:{if(!a){break a}b:{c:{switch(q[a+4>>2]-5|0){case 4:if(!pj(151838,q[a+8>>2],9)){c=273920;break a}if(!pj(151882,q[a+8>>2],9)){return 273944}if(!pj(151929,q[a+8>>2],9)){return 273968}if(!pj(151980,q[a+8>>2],9)){return 273992}if(!pj(152031,q[a+8>>2],9)){return 274016}if(pj(152082,q[a+8>>2],9)){break b}return 274040;case 0:if(pj(152133,q[a+8>>2],5)){break a}return 274064;case 2:if(pj(152139,q[a+8>>2],7)){break a}return 274088;case 3:break c;default:break a}}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==16974909){return 274112}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==33752125){return 274136}b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))==-834107862&(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))==50529341){return 274160}a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-834107862|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=67306557){break a}return 274184}if(pj(152359,q[a+8>>2],9)){break a}return 274208}return c}function B6(a,b,c,d,e,f){var g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),v=x(0),y=0,z=0,A=x(0),B=x(0),C=x(0),D=x(0),E=x(0),G=x(0);h=x(e*x(64));a:{if(h=x(0)){i=~~h>>>0;break a}i=0}y=q[a>>2];z=q[a+4>>2]-y|0;a=(z|0)/160|0;if(z){i=w(i>>>0<63?i:63,12)+b|0;A=x(x(x(e-u[i>>2])*u[i+8>>2])+u[i+4>>2]);n=x(d*f);d=x(u[b+776>>2]*d);B=x(d*d);C=u[b+768>>2];i=a>>>0>1?a:1;D=u[c+8>>2];E=u[c+4>>2];G=u[c>>2];c=0;while(1){a=w(c,160)+y|0;d=u[a+40>>2];j=u[213280];e=u[a+44>>2];g=u[213281];f=u[a+32>>2];l=u[213282];o=x(x(x(d*j)+x(e*g))-x(f*l));p=x(u[a>>2]-G);r=x(u[a+4>>2]-E);k=x(u[a+8>>2]-D);m=x(x(x(p*p)+x(r*r))+x(k*k));s=x(B-m)>=x(0)?x(A+x(C*u[a+76>>2])):x(0);h=u[a+36>>2];t=x(x(d*l)+x(x(f*j)+x(h*g)));v=x(x(x(e*l)+x(f*g))-x(h*j));j=x(x(x(e*j)+x(h*l))-x(d*g));b=m<=x(0);g=b?x(x(f*o)+x(x(x(d*t)+x(e*v))-x(h*j))):k;m=g;k=x(g*g);g=b?x(x(h*v)+x(x(x(e*j)+x(f*t))-x(d*o))):p;d=b?x(x(d*j)+x(x(x(e*o)+x(h*t))-x(f*v))):r;e=x(x(1)/x(F(x(k+x(x(g*g)+x(d*d))))));u[a+56>>2]=u[a+56>>2]+x(n*x(s*x(m*e)));u[a+52>>2]=u[a+52>>2]+x(n*x(s*x(d*e)));u[a+48>>2]=u[a+48>>2]+x(n*x(s*x(g*e)));c=c+1|0;if((i|0)!=(c|0)){continue}break}}}function cca(a,b,c,d){var e=0,f=0,g=0;e=ti-144|0;ti=e;a:{f=s[b+560>>1];if((f|0)!=65535){g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=f>>>0){break a}cJ(a,w(f,576)+g|0,e+80|0,e+76|0,q[a+12>>2]+180|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&64):0)){hv(a,b)}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];dJ(b,6,c);u[d>>2]=u[b+60>>2];b:{if(s[b+560>>1]==65535){break b}Kk(e,e+80|0,c);u[c>>2]=u[e>>2];u[c+4>>2]=u[e+4>>2];u[c+8>>2]=u[e+8>>2];u[c+12>>2]=u[e+12>>2];u[c+16>>2]=u[e+16>>2];u[c+20>>2]=u[e+20>>2];u[c+24>>2]=u[e+24>>2];u[c+28>>2]=u[e+28>>2];u[c+32>>2]=u[e+32>>2];u[c+36>>2]=u[e+36>>2];u[c+40>>2]=u[e+40>>2];u[c+44>>2]=u[e+44>>2];u[c+48>>2]=u[e+48>>2];u[c+52>>2]=u[e+52>>2];u[c+56>>2]=u[e+56>>2];u[c+60>>2]=u[e+60>>2];if(!(r[b+414|0]&128)){break b}u[d>>2]=u[e+76>>2]*u[d>>2]}ti=e+144|0;return}J(195730,195579,479,195741);G()}function Lla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=ti+ -64|0;ti=c;d=q[b+16>>2];a:{if(!d){break a}q[c+44>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+48>>2]=-1;q[c+28>>2]=0;q[c+32>>2]=0;q[c+8>>2]=q[a>>2];q[c+16>>2]=q[d+52>>2];q[c+12>>2]=q[d+48>>2];q[c+20>>2]=q[d+56>>2];q[c+24>>2]=q[d+60>>2];g=c+28|0;cp(g,7,q[a+32>>2]-q[a+24>>2]>>4);e=q[a+20>>2];if(e){while(1){b=q[q[a+16>>2]+(f<<2)>>2];if((b|0)!=-1){while(1){b=q[a+24>>2]+(b<<4)|0;wm(g,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+20>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}if(r[301e3]){b=q[75251];if(b){while(1){a=q[b+8>>2];b:{if(!a){break b}if(!(xi[a|0](c+8|0,q[b+12>>2])|0)){break b}q[c>>2]=q[b+16>>2];Ai(4,36048,39451,c)}a=q[b+12>>2];if(a){yi(a)}b=q[b>>2];if(b){continue}break}}Fi(q[d+16>>2],255,q[d+20>>2]<<2);q[d+36>>2]=-1;q[d+40>>2]=0;q[d+28>>2]=q[d+24>>2];o[301e3]=0}c:{if(o[d+44|0]&1){break c}a=q[d+24>>2];if(a){yi(a)}a=q[d+16>>2];if(!a){break c}yi(a)}d:{if(o[d+12|0]&1){break d}a=q[d>>2];if(!a){break d}yi(a)}yi(d);if(o[c+56|0]&1){break a}a=q[c+36>>2];if(a){yi(a)}a=q[c+28>>2];if(!a){break a}yi(a)}ti=c- -64|0;return 0}function zwa(){var a=0;q[74962]=zi(32562);q[74963]=wi;q[74964]=zi(32581);q[74965]=wi;q[74966]=zi(32598);q[74967]=wi;q[74968]=zi(32607);q[74969]=wi;q[74970]=zi(32613);q[74971]=wi;q[74972]=zi(32623);q[74973]=wi;q[74974]=zi(32631);q[74975]=wi;q[74976]=zi(32638);q[74977]=wi;q[74978]=zi(32647);q[74979]=wi;q[74980]=zi(32659);q[74981]=wi;q[74982]=zi(32668);q[74983]=wi;q[74984]=zi(32673);q[74985]=wi;q[74986]=zi(32679);q[74987]=wi;q[74988]=zi(32685);q[74989]=wi;q[74992]=zi(32694);q[74993]=wi;q[74994]=zi(32703);q[74995]=wi;q[74996]=zi(32712);q[74997]=wi;q[74998]=zi(32721);q[74999]=wi;q[75e3]=zi(32730);q[75001]=wi;q[75002]=zi(32739);q[75003]=wi;q[75004]=zi(32748);q[75005]=wi;q[75006]=zi(32757);q[75007]=wi;q[75008]=zi(32766);q[75009]=wi;a=zi(32775);q[75029]=0;q[75030]=0;q[75028]=305408;q[75026]=0;q[75024]=32808;q[75023]=32787;q[75022]=0;q[75020]=0;q[75018]=0;q[75016]=0;q[75014]=1;q[75012]=0;q[75013]=3;q[75010]=a;q[75011]=wi;q[75031]=0;q[75032]=0;q[75033]=0;q[75034]=zi(32955);q[75035]=wi;q[75036]=zi(32970);q[75037]=wi;q[75038]=zi(32986);q[75039]=wi;q[75040]=zi(33002);q[75041]=wi;q[75042]=zi(33019);q[75043]=wi;q[75044]=zi(33024);q[75045]=wi}function Rq(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,r=x(0),s=x(0);h=ti-48|0;ti=h;a:{n=q[b+28>>2];if(!n){break a}b:{if(f){while(1){l=q[b+24>>2]+(k<<4)|0;m=q[l+12>>2];if(m){o=l+8|0;f=0;while(1){i=VF(o,f);r=u[i>>2];s=x(e-r);if(!(s>=c^1|d>s^1)){j=q[l+4>>2];q[h+8>>2]=q[l>>2];q[h+12>>2]=j;j=q[b+4>>2];p=q[b>>2];u[h+28>>2]=g;q[h+16>>2]=p;q[h+20>>2]=j;u[h+24>>2]=r;q[h+32>>2]=q[i+4>>2];u[h+36>>2]=u[i+8>>2];j=q[i+20>>2];q[h+40>>2]=q[i+16>>2];q[h+44>>2]=j;xi[q[a+100>>2]](1,h+8|0,q[a+104>>2],q[a+108>>2])}f=f+1|0;if((m|0)!=(f|0)){continue}break}}k=k+1|0;if((n|0)==(k|0)){break a}if(t[b+28>>2]>k>>>0){continue}break b}}while(1){l=q[b+24>>2]+(k<<4)|0;m=q[l+12>>2];if(m){o=l+8|0;f=0;while(1){i=VF(o,f);e=u[i>>2];if(!(e>=c^1|d>e^1)){j=q[l+4>>2];q[h+8>>2]=q[l>>2];q[h+12>>2]=j;j=q[b+4>>2];p=q[b>>2];u[h+28>>2]=g;q[h+16>>2]=p;q[h+20>>2]=j;u[h+24>>2]=e;q[h+32>>2]=q[i+4>>2];u[h+36>>2]=u[i+8>>2];j=q[i+20>>2];q[h+40>>2]=q[i+16>>2];q[h+44>>2]=j;xi[q[a+100>>2]](1,h+8|0,q[a+104>>2],q[a+108>>2])}f=f+1|0;if((m|0)!=(f|0)){continue}break}}k=k+1|0;if((n|0)==(k|0)){break a}if(t[b+28>>2]>k>>>0){continue}break}}J(147195,147207,161,147227);G()}ti=h+48|0}function tp(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{switch(d|0){case 2:c=q[c>>2];b=b-4|0;d=q[b>>2];e=q[a>>2];if(t[(c+w(d,48)|0)+32>>2]>=t[(c+w(e,48)|0)+32>>2]){break a}q[a>>2]=d;q[b>>2]=e;return;case 0:case 1:break a;default:break b}}if((d|0)<=128){if((a|0)==(b|0)){break a}d=a+4|0;if((d|0)==(b|0)){break a}f=q[c>>2];while(1){g=q[d>>2];e=a;c:{if((e|0)==(d|0)){break c}h=f+w(g,48)|0;e=d;while(1){c=e-4|0;i=q[c>>2];if(t[h+32>>2]>=t[(f+w(i,48)|0)+32>>2]){break c}q[e>>2]=i;e=c;if((e|0)!=(a|0)){continue}break}e=a}q[e>>2]=g;d=d+4|0;if((d|0)!=(b|0)){continue}break}break a}g=d>>>1|0;i=g<<2;h=i+a|0;d:{if((d|0)<=(f|0)){HB(a,h,c,g,e);f=b;b=e+i|0;HB(h,f,c,d-g|0,b);f=(d<<2)+e|0;c=q[c>>2];d=b;while(1){if((d|0)==(f|0)){if((b|0)==(e|0)){break a}while(1){q[a>>2]=q[e>>2];a=a+4|0;e=e+4|0;if((b|0)!=(e|0)){continue}break}break a}g=q[d>>2];h=q[e>>2];e:{if(t[(c+w(g,48)|0)+32>>2]>2]){q[a>>2]=g;d=d+4|0;break e}q[a>>2]=h;e=e+4|0}a=a+4|0;if((b|0)!=(e|0)){continue}break}break d}tp(a,h,c,g,e,f);d=d-g|0;tp(h,b,c,d,e,f);yw(a,h,b,c,g,d,e,f);break a}if((d|0)==(f|0)){break a}while(1){q[a>>2]=q[d>>2];a=a+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}}function ZG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=ti-144|0;ti=j;a:{b:{if(q[215702]){break b}while(1){e=q[215701];q[215701]=e?e:1;if(e){continue}break}c:{f=q[215700];e=q[f+4>>2];d:{if(!e){break d}e=q[q[f>>2]+(Qwa(a,b,e)<<2)>>2];if((e|0)==-1){break d}i=q[f+8>>2];while(1){f=(e<<6)+i|0;if((a|0)==q[f>>2]&q[f+4>>2]==(b|0)){break c}e=q[f+56>>2];if((e|0)!=-1){continue}break}}q[215701]=0;break b}f=(e<<6)+i|0;a=q[f+8>>2];if(!a){break a}g=f+8|0;q[g>>2]=a+1;q[215701]=0;wj(q[f+36>>2]);if(q[f+24>>2]){q[j+8>>2]=0;a=q[f+24>>2];q[f+24>>2]=0;h=(e<<6)+i|0;q[h+28>>2]=0;b=q[h+52>>2];q[h+52>>2]=0;qj(q[f+36>>2]);if(a){while(1){xi[c|0](a,d);h=q[a+92>>2];if(h){xi[h|0](a)}k=k+1|0;a=q[a+88>>2];if(a){continue}break}}wj(q[f+36>>2]);if(b){c=(e<<6)+i|0;e=q[c+48>>2];while(1){a=b;b=q[a+4100>>2];q[a+4100>>2]=e;e=a;if(b){continue}break}q[c+48>>2]=e}qj(q[f+36>>2]);while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}a=q[g>>2]-1|0;q[g>>2]=a;q[215701]=0;if(!a){Ls(g)}break b}qj(q[f+36>>2]);while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}a=q[g>>2]-1|0;q[g>>2]=a;q[215701]=0;if(a){break b}Ls(g)}ti=j+144|0;return k}J(167129,167148,286,167172);G()}function ila(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+4>>2];d=q[c+20>>2];a:{b:{c:{d:{e=q[q[a+24>>2]>>2];if(e>>>0>2]-d>>3>>>0){d=q[(e<<3)+d>>2];e=q[c+8>>2];c=q[c+4>>2];if(d>>>0>=e-c>>2>>>0){break a}f=q[c+(d<<2)>>2];d=q[a+16>>2];e=q[a+20>>2];if((d|0)==q[75366]&(e|0)==q[75367]){c=q[q[q[a+8>>2]+80>>2]>>2];a=q[f+156>>2];if(!a){a=q[q[f+152>>2]+4>>2]}return km(c,a,b)|0}e:{if((d|0)!=q[75278]|(e|0)!=q[75279]){c=0;if(q[75280]!=(d|0)|q[75281]!=(e|0)){break e}break b}c=q[q[q[a+8>>2]+80>>2]>>2];a=q[f+192>>2];if(!a){a=q[q[f+152>>2]+8>>2]}return km(c,a,b)|0}c=1;if(q[75282]==(d|0)&q[75283]==(e|0)){break b}c=2;if(q[75284]==(d|0)&q[75285]==(e|0)){break b}c=3;if(q[75286]==(d|0)&q[75287]==(e|0)){break b}c=4;if(q[75288]==(d|0)&q[75289]==(e|0)){break b}c=5;if(q[75290]==(d|0)&q[75291]==(e|0)){break b}c=6;if(q[75292]==(d|0)&q[75293]==(e|0)){break b}c=7;if(q[75294]==(d|0)&q[75295]==(e|0)){break b}c=q[f+192>>2];if(!c){break d}break c}break a}c=q[q[f+152>>2]+8>>2]}return Ws(c,d,e,q[a+32>>2],b,1,184,f)|0}d=q[q[q[a+8>>2]+80>>2]>>2];c=c<<2;a=q[(c+f|0)+160>>2];if(!a){a=q[(c+q[f+152>>2]|0)+12>>2]}return km(d,a,b)|0}J(41371,40669,479,41382);G()}function Cha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=ti-16|0;ti=g;q[g+12>>2]=0;a:{b:{b=TJ(q[a>>2],q[a+20>>2],q[a+24>>2],g+12|0);if(b){c=q[g+12>>2];break b}c=q[g+12>>2];b=uK(q[a>>2],c);if(b){break b}b=q[q[a+32>>2]+8>>2];d=q[b+16>>2];f=q[b+12>>2];if((d|0)!=(f|0)){h=q[a>>2];d=f;while(1){Pi(h,q[(e<<2)+d>>2]);e=e+1|0;d=q[b+12>>2];if(e>>>0>2]-d>>2>>>0){continue}break}}q[b+16>>2]=d;e=d;f=q[b+8>>2];if(f){cj(f);q[b+8>>2]=0;e=q[b+12>>2];d=q[b+16>>2]}q[b+8>>2]=q[c+8>>2];f=q[c+12>>2];q[c+12>>2]=e;q[b+12>>2]=f;e=q[c+16>>2];q[c+16>>2]=d;q[b+16>>2]=e;d=q[c+20>>2];q[c+20>>2]=q[b+20>>2];q[b+20>>2]=d;d=r[c+24|0];o[c+24|0]=o[b+24|0]&1|d&254;o[b+24|0]=r[b+24|0]&254|d&1;o[b+28|0]=r[b+28|0]&254|o[c+28|0]&1;c:{if(o[c+24|0]&1){break c}d=q[c+12>>2];if(!d){break c}yi(d)}yi(c);q[q[a+32>>2]+16>>2]=(q[a+24>>2]+(q[b+16>>2]-q[b+12>>2]|0)|0)+32;b=0;break a}d=q[c+16>>2];f=q[c+12>>2];if((d|0)!=(f|0)){a=q[a>>2];d=f;while(1){Pi(a,q[(e<<2)+d>>2]);e=e+1|0;d=q[c+12>>2];if(e>>>0>2]-d>>2>>>0){continue}break}}q[c+16>>2]=d;a=q[c+8>>2];if(a){cj(a);q[c+8>>2]=0}d:{if(o[c+24|0]&1){break d}a=q[c+12>>2];if(!a){break d}yi(a)}yi(c)}ti=g+16|0;return b|0}function C6(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=0,r=x(0),s=0,t=x(0);k=u[213289];h=u[d>>2];m=u[213290];g=u[d+12>>2];n=u[213288];i=u[d+4>>2];j=u[d+8>>2];o=x(e*x(64));a:{if(o=x(0)){d=~~o>>>0;break a}d=0}p=q[a>>2];s=q[a+4>>2]-p|0;a=(s|0)/160|0;b:{if(!s){break b}d=w(d>>>0<63?d:63,12)+b|0;o=x(x(x(e-u[d>>2])*u[d+8>>2])+u[d+4>>2]);t=u[b+768>>2];d=a>>>0>1?a:1;a=0;if(!q[c+4>>2]){while(1){b=w(a,160)+p|0;e=u[b+56>>2];l=e;e=x(x(o+x(t*u[b+76>>2]))*f);e=e>2]=l-x(l*e);h=u[b+52>>2];u[b+52>>2]=h-x(h*e);h=u[b+48>>2];u[b+48>>2]=h-x(h*e);a=a+1|0;if((d|0)!=(a|0)){continue}break b}}e=x(x(x(n*j)+x(g*k))-x(m*h));r=x(x(m*j)+x(x(i*k)+x(n*h)));l=x(x(x(g*m)+x(k*h))-x(n*i));k=x(x(x(g*n)+x(i*m))-x(j*k));m=x(x(h*e)+x(x(x(j*r)+x(g*l))-x(i*k)));n=x(x(j*k)+x(x(x(g*e)+x(i*r))-x(h*l)));h=x(x(i*l)+x(x(x(g*k)+x(h*r))-x(j*e)));while(1){b=w(a,160)+p|0;i=u[b+48>>2];j=u[b+52>>2];g=u[b+56>>2];e=x(x(x(h*i)+x(n*j))+x(m*g));l=g;g=x(x(o+x(t*u[b+76>>2]))*f);g=g>2]=l-x(x(m*e)*g);u[b+52>>2]=j-x(x(n*e)*g);u[b+48>>2]=i-x(x(h*e)*g);a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function $J(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-16|0;ti=f;g=q[b+8>>2];h=q[b+12>>2];a:{b:{c:{d:{e:{e=q[a+76>>2];if(!e){break e}d=q[q[a+72>>2]+(Qwa(g,h,e)<<2)>>2];if((d|0)==-1){break e}i=q[a+80>>2];e=d;while(1){j=w(e,24)+i|0;if(q[j>>2]!=(g|0)|q[j+4>>2]!=(h|0)){e=q[j+20>>2];if((e|0)!=-1){continue}break e}break}if(!q[(w(e,24)+i|0)+8>>2]){break e}f:{while(1){a=w(d,24)+i|0;if((g|0)==q[a>>2]&q[a+4>>2]==(h|0)){break f}d=q[a+20>>2];if((d|0)!=-1){continue}break}J(39991,40001,169,40520);G()}a=w(d,24)+i|0;q[a+12>>2]=q[a+12>>2]+1;break d}d=q[a+108>>2];e=q[a+104>>2];g:{if((d|0)!=(e|0)){d=d-e|0;if(!d){break c}d=(d>>2)-1|0;if(d>>>0>q[a+112>>2]-e>>2>>>0){break b}d=e+(d<<2)|0;e=q[d>>2];q[a+108>>2]=d;break g}e=xi[q[77439]](q[a+136>>2],0,0,1)|0;g=q[b+8>>2];h=q[b+12>>2]}q[f+8>>2]=c;q[f>>2]=e;q[f+4>>2]=1;c=a+72|0;d=(q[a+88>>2]-q[a+80>>2]|0)/24|0;a=q[a+96>>2];if((d|0)==(a|0)){a=a+8|0;OH(c,(a>>>0)/3|0,a)}PH(c,g,h,f);a=q[b+16>>2];c=q[b+20>>2];b=q[b+4>>2];q[f>>2]=0;q[f+12>>2]=0;if(Bo(b,f,f+12|0)){break a}xi[q[77441]](e,w(a,c),q[f>>2],0)}ti=f+16|0;return}J(41371,40669,479,41382);G()}J(40822,40669,506,40841);G()}J(40730,40001,191,40755);G()}function Ny(a,b,c,d){var e=x(0),f=x(0),g=0,h=x(0),i=0,j=0,k=0,l=0;j=ti-16|0;ti=j;i=q[b>>2];a:{if(!i){break a}g=r[b+28|0];if(!(g&1)){break a}h=u[b+16>>2];e=h;k=q[b+24>>2];if(k){e=x(h+x(u[b+20>>2]*c));u[b+16>>2]=e}f=u[i+8>>2];f=(k|0)==3?x(f+f):f;if(f==x(0)){q[b+16>>2]=0;e=x(0)}b:{c:{d:{switch(k-1|0){case 5:if(f>x(0)^1|f<=e^1){break b}while(1){g=g^2;e=x(e-f);if(!(f<=e^1)){continue}break}o[b+28|0]=g;break c;case 0:case 1:case 2:if(f<=e^1){break b}u[b+16>>2]=f;e=f;l=1;break b;case 3:case 4:break d;default:break b}}if(f>x(0)^1|f<=e^1){break b}while(1){e=x(e-f);if(f<=e){continue}break}}u[b+16>>2]=e}e:{if(!q[a+100>>2]|e==h){break e}e=l?x(e+c):e;if(!(e>>1|0,d);Rq(a,i,x(0),e,f,(r[b+28|0]&2)>>>1|0,d);break e}f:{if((k|0)!=3){break f}c=x(f*x(.5));if(ch^1)){Rq(a,i,h,c,f,0,d);Rq(a,i,c,e,f,1,d);break e}Rq(a,i,h,e,f,1,d);break e}Rq(a,i,h,e,f,(g&2)>>>1|0,d)}if(!l){break a}o[b+28|0]=r[b+28|0]&254;if((((o[a+186|0]&1)<<5)+a|0)!=(b|0)){break a}l=q[a+100>>2];if(!l){break a}g=q[b+12>>2];q[j>>2]=q[b+8>>2];q[j+4>>2]=g;q[j+8>>2]=q[b+24>>2];xi[l|0](0,j,q[a+104>>2],q[a+108>>2])}ti=j+16|0}function rja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-96|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;Vn(a,64877,b+60|0,b+56|0,b- -64|0);a:{if(!((r[q[q[b+56>>2]>>2]+8|0]&2)>>>1|0)){c=bm(q[b+64>>2],q[b+68>>2]);d=Mi(q[b+80>>2],q[b+84>>2]);q[b+40>>2]=Mi(q[b+88>>2],q[b+92>>2]);q[b+36>>2]=d;q[b+32>>2]=c;c=Bi(a,65654,b+32|0);break a}if(q[q[b+56>>2]+24>>2]&1){c=Bi(a,65740,0);break a}f=q[q[b+60>>2]>>2];g=q[q[b+56>>2]>>2];c=q[q[b+56>>2]+4>>2];q[b+52>>2]=0;b:{c:{d:{e:{f:{if(!Ei(a,2)){break f}d=Wi(a,2,0);if(nj(Ty(d),65786)){c=bm(q[b+64>>2],q[b+68>>2]);e=Mi(q[b+80>>2],q[b+84>>2]);q[b+28>>2]=Mi(q[b+88>>2],q[b+92>>2]);q[b+24>>2]=e;q[b+20>>2]=c;q[b+16>>2]=d;c=Bi(a,65791,b+16|0);break a}if(!d){break f}if(nj(d,q[g+4>>2])){break e}}q[b+52>>2]=0;break d}g:{if(!c){break g}if(nj(d,q[c+4>>2])){break g}q[b+52>>2]=c;q[q[b+56>>2]+4>>2]=c;break c}if(kha(d,b+52|0)){break b}h=q[b+52>>2]}q[q[b+56>>2]+4>>2]=h;if(!c){break c}HJ(f,c)}c=0;if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(65582,65374,460,65917);G()}q[b>>2]=d;c=Bi(a,65870,b)}ti=b+96|0;return c|0}function BH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/48|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,48)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+40>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+48;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,48)|0;q[a+20>>2]=q[e+40>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;f=q[d+28>>2];q[e+32>>2]=q[d+24>>2];q[e+36>>2]=f;q[e+40>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,48)|0;f=q[b+40>>2];if((f|0)!=-1){continue}break}q[b+40>>2]=(e-d|0)/48;break a}J(27248,27072,229,27256);G()}c=q[d+4>>2];a=g+w(f,48)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+28>>2];q[a+32>>2]=q[d+24>>2];q[a+36>>2]=b;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(27260,27072,535,27322);G()}q[b>>2]=(e-d|0)/48}q[a+24>>2]=q[a+24>>2]+1}function rE(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,u=0,v=0;e=q[a+124>>2];c=e;d=e>>>2|0;e=q[a+120>>2];i=e>>>0>2]?c:d;c=q[a+108>>2];d=(c-q[a+44>>2]|0)+262|0;n=c>>>0>>0?0:d;h=q[a+116>>2];d=q[a+144>>2];o=d>>>0>h>>>0?h:d;k=q[a+56>>2];f=c+k|0;p=f+258|0;c=e+f|0;l=r[c|0];m=r[c-1|0];u=q[a+52>>2];v=q[a+64>>2];while(1){a:{d=b+k|0;c=e+d|0;b:{if(r[c|0]!=(l|0)|r[c-1|0]!=(m|0)|r[d|0]!=r[f|0]){break b}g=2;if(r[d+1|0]!=r[f+1|0]){break b}c:{d:{e:{f:{g:{h:{i:{while(1){c=f+g|0;if(r[c+1|0]!=r[d+3|0]){break d}if(r[c+2|0]!=r[d+4|0]){break e}if(r[c+3|0]!=r[d+5|0]){break f}if(r[c+4|0]!=r[d+6|0]){break g}if(r[c+5|0]!=r[d+7|0]){break h}if(r[c+6|0]!=r[d+8|0]){break i}if(r[c+7|0]==r[d+9|0]){j=g>>>0>249;g=g+8|0;c=g+f|0;if(j){break c}j=r[d+10|0];d=d+8|0;if((j|0)==r[c|0]){continue}break c}break}c=c+7|0;break c}c=c+6|0;break c}c=c+5|0;break c}c=c+4|0;break c}c=c+3|0;break c}c=c+2|0;break c}c=c+1|0}d=c-p|0;c=d+258|0;if((c|0)<=(e|0)){break b}q[a+112>>2]=b;if((c|0)>=(o|0)){e=c;break a}l=r[c+f|0];m=r[(d+f|0)+257|0];e=c}i=i-1|0;if(!i){break a}b=s[((b&u)<<1)+v>>1];if(n>>>0>>0){continue}}break}return e>>>0>h>>>0?h:e}function v2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-2288|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(!Ei(a,1)){d=Bi(a,123267,0);break b}c=b+2280|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2272|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2264|0;q[c>>2]=0;q[c+4>>2]=0;q[b+2256>>2]=0;q[b+2260>>2]=0;c=b+2248|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2240|0;q[c>>2]=0;q[c+4>>2]=0;c=b+2232|0;q[c>>2]=0;q[c+4>>2]=0;q[b+2224>>2]=0;q[b+2228>>2]=0;qk(a,1,b+2256|0,b+2224|0);c:{if(ek(a,2)){c=zi(dj(a,2,0));g=wi;break c}c=Zk(a,2);g=wi}e=AL(c,g);d:{if(e){f=q[e+16>>2];if(f>>>0>=2049){q[b+36>>2]=2048;q[b+32>>2]=f;d=Bi(a,123299,b+32|0);break b}e:{if((d|0)>=3){mj(a,3,5);Qi(a,3);break e}gj(a,0,0)}f=SF(a,e,b+176|0,2048);Ci(a,-2);break d}if((d|0)<3){break d}if(!Ei(a,3)){break d}f=Cs(a,b+176|0,2048,3)}if((d|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}f:{g:{d=fk(b+2224|0,b+2256|0,c,g,0,e,b+176|0,f);switch(d+2|0){case 0:break g;case 2:break b;default:break f}}d=vs(b+2256|0,b+112|0,64);e=vs(b+2224|0,b+48|0,64);c=Mi(c,g);q[b+24>>2]=d;q[b+20>>2]=e;q[b+16>>2]=c;d=Bi(a,123388,b+16|0);break b}q[b>>2]=bm(q[b+2256>>2],q[b+2260>>2]);d=Bi(a,123435,b)}ti=b+2288|0;return d|0}J(123358,123237,534,123379);G()}function wM(a){var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;b=(lm(a,0,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,1,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,2,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;e=3;b=(lm(a,3,0)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,0,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,1,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,2,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,3,1)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,0,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,1,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,2,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,3,2)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,0,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,1,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,2,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;b=(lm(a,3,3)<<2)+c|0;q[b>>2]=q[b>>2]+1;o[a+10|0]=0;o[a+8|0]=3;o[a+9|0]=0;f=a+10|0;b=a+8|0;a:{b:{c:{d:{e:{f:{if(!q[c>>2]){if(!q[c+4>>2]){break e}o[a+10|0]=1;o[b|0]=1;e=1;d=1;break f}o[a+10|0]=1;o[b|0]=0;if(!q[c+4>>2]){break d}o[a+10|0]=2;e=0;d=2}o[a+9|0]=1}if(!q[c+8>>2]){break a}d=d+1|0;o[a+10|0]=d;f=b;if(e>>>0<3){break b}break c}d=2;if(q[c+8>>2]){break c}d=1;break a}o[f|0]=2}o[a+9|0]=2}if(q[c+12>>2]){o[a+9|0]=3;o[a+10|0]=d+1}ti=c+16|0}function Go(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=ti-96|0;ti=g;qr(b);f=Hl(a,14);a:{if(!f){h=1;break a}if(f>>>0>16384){break a}c=g- -64|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;c=Hl(a,5);if(c-1>>>0>20){break a}while(1){o[r[h+101616|0]+(g- -64|0)|0]=Hl(a,3);h=h+1|0;if((c|0)!=(h|0)){continue}break}h=0;i=eo(g+24|0);if(!(!xM(i,21,g- -64|0)|!q[i+4>>2])){c=0;e=g+8|0;q[e+8>>2]=0;q[e>>2]=0;q[e+4>>2]=0;qM(e,f);b:{while(1){d=Xm(a,i);c:{if((d|0)<=16){o[kt(e,c)|0]=d;c=c+1|0;break c}d:{switch(d-17|0){case 0:c=(Hl(a,3)+c|0)+3|0;break c;case 1:c=(Hl(a,7)+c|0)+11|0;break c;default:break d}}if(!c){break b}d=(d|0)==19;k=Hl(a,d?2:7);j=r[kt(e,c-1|0)|0];if(!j){break b}l=c>>>0>>0?f:c;d=(d?3:7)+k|0;while(1){if((c|0)==(l|0)){break b}o[kt(e,c)|0]=j;c=c+1|0;d=d-1|0;if(d){continue}break}}if(c>>>0>>0){continue}break}if((c|0)!=(f|0)){break b}h=xM(b,f,kt(e,0))}bq(e)}pr(i)}ti=g+96|0;return h}function tJ(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-256|0;ti=e;d=zj(e,86184,8);zj(d+e|0,b,256-d|0);a:{b:{if(Oj(e,32)|!r[e|0]){break b}g=q[c+8>>2];h=q[c+4>>2];d=g-h|0;if(!d){break b}f=h-g|0;f=((d|0)<(f|0)?f:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);f=d>>>0>1?d:1;d=0;c:{while(1){if(!nj(e,q[h+(d<<2)>>2])){break c}d=d+1|0;if((f|0)!=(d|0)){continue}break}f=0;break b}d=zj(e,a,255);zj(d+e|0,86208,256-d|0);f=ya(e|0)|0;if(f){break a}}d=zj(e,86192,8);zj(d+e|0,b,256-d|0);d:{if(Oj(e,32)|!r[e|0]){break d}g=q[c+8>>2];h=q[c+4>>2];d=g-h|0;if(!d){break d}g=h-g|0;g=((d|0)<(g|0)?g:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(g,(d|0)<1?d:1);g=d>>>0>1?d:1;d=0;while(1){if(nj(e,q[h+(d<<2)>>2])){d=d+1|0;if((g|0)!=(d|0)){continue}break d}break}d=zj(e,a,255);zj(d+e|0,86212,256-d|0);f=ya(e|0)|0;if(f){break a}}d=zj(e,86200,8);zj(d+e|0,b,256-d|0);if(Oj(e,32)|!r[e|0]){break a}d=q[c+8>>2];c=q[c+4>>2];b=d-c|0;if(!b){break a}d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);b=b>>>0>1?b:1;d=0;while(1){if(nj(e,q[c+(d<<2)>>2])){d=d+1|0;if((b|0)!=(d|0)){continue}break a}break}a=zj(e,a,255);zj(a+e|0,86216,256-a|0);f=ya(e|0)|0}ti=e+256|0;return f}function zra(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=ti-16|0;ti=j;l=zi(b);m=wi;a:{b:{c:{d:{e:{f:{i=q[a+696>>2];k=a+700|0;e=q[k>>2];if((i|0)==(e|0)){break f}if(q[i>>2]!=(l|0)|q[i+4>>2]!=(m|0)){f=1;g=e-i|0;d=(g|0)>-1?g:-1;h=(d|0)<1?d:1;d=i-e|0;d=w(h,((d|0)>(g|0)?d:g)>>>4|0);h=d>>>0>1?d:1;g=g>>4;while(1){d=f;if((d|0)!=(h|0)){f=d+1|0;e=(d<<4)+i|0;if((l|0)!=q[e>>2]|q[e+4>>2]!=(m|0)){continue}}break}if(d>>>0>=g>>>0){break f}}q[j>>2]=b;Ai(3,149340,149595,j);break e}e=a+712|0;d=a+720|0;f=q[d>>2];g=a+716|0;b=q[g>>2];h=Ui(c)+1|0;if(f-b>>>0>>0){if(o[a+724|0]&1){break a}Ii(((h>>>0>1024?h:1024)+f|0)-q[e>>2]|0,1,e,d,g);f=q[d>>2];b=q[g>>2]}e=q[e>>2];d=b-e|0;b=d+h|0;if(b>>>0>f-e>>>0){break d}q[g>>2]=b+e;if(b>>>0<=d>>>0){break c}Gi(d+e|0,c,h);c=q[a+700>>2];b=a+704|0;f=q[b>>2];if((c|0)==(f|0)){if(o[a+708|0]&1){break a}a=a+696|0;Ii((f-q[a>>2]>>4)+32|0,16,a,b,k);f=q[b>>2];c=q[k>>2]}if((c|0)==(f|0)){break b}q[k>>2]=c+16;q[c+8>>2]=d;q[c>>2]=l;q[c+4>>2]=m}ti=j+16|0;return}J(149707,149557,506,149726);G()}J(149685,149557,479,149696);G()}J(149656,149557,533,149680);G()}J(149482,149557,493,149583);G()}function Cpa(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=ti-144|0;ti=h;a:{b:{if(!b){i=-6;break b}a=_s(a);g=q[a+48>>2];c:{if(!g){break c}g=q[q[a+44>>2]+((b>>>0)%(g>>>0)<<2)>>2];if((g|0)==-1){break c}i=q[a+52>>2];while(1){g=w(g,12);j=g+i|0;if(q[j>>2]==(b|0)){break c}g=q[(g+i|0)+8>>2];if((g|0)!=-1){continue}break}j=0}k=j?j+4|0:0;if(!(e|f)){i=0;if(!j){break b}g=s[k>>1];if((g|0)==65535){break b}d:{while(1){e=g&65535;b=q[a+16>>2];if(e>>>0>2]-b>>1>>>0){b=s[b+(e<<1)>>1];f=q[a>>2];if(b>>>0>=(q[a+4>>2]-f|0)/104>>>0){break d}b=f+w(b,104)|0;if(q[b+8>>2]==(c|0)&q[b+12>>2]==(d|0)){o[b+96|0]=r[b+96|0]&252}g=s[b+94>>1];if((g|0)!=65535){continue}break b}break}break a}break a}j=mp(h+32|0);g=q[h+28>>2];q[h+8>>2]=q[h+24>>2];q[h+12>>2]=g;q[h+16>>2]=0;g=q[h+20>>2];q[h>>2]=q[h+16>>2];q[h+4>>2]=g;i=jr(b,c,d,e,f,h,j);if(i){break b}i=-3;e:{f:{g:{b=q[j+32>>2];switch(b|0){case 3:break e;case 4:case 5:break f;case 0:break g;default:break b}}qA(a,k,c,d,e,f);i=0;break b}b=4}qA(a,k,c,d,e,f);i=0;g=0;while(1){e=j+(g<<3)|0;qA(a,k,c,d,q[e>>2],q[e+4>>2]);g=g+1|0;if((g|0)!=(b|0)){continue}break}}ti=h+144|0;return i}J(6739,6485,479,6750);G()}function rW(a){var b=0,c=0;a:{b:{c:{if(q[a+1392>>2]!=-1){break c}b=q[a+44>>2];d:{e:{if(b){if(b>>>0>=t[a+52>>2]){break e}q[a+44>>2]=b+1;b=r[b|0];break d}b=ej(q[a+32>>2]);if((b|0)!=-1){break d}}q[a+108>>2]=1;b=0}if(q[a+108>>2]){break b}if((b&255)!=79){break a}f:{g:{h:{i:{j:{k:{l:{m:{b=q[a+44>>2];n:{if(b){if(b>>>0>=t[a+52>>2]){break m}q[a+44>>2]=b+1;b=r[b|0];break n}b=ej(q[a+32>>2]);if((b|0)==-1){break m}}if((b&255)!=103){break a}b=q[a+44>>2];if(!b){break l}if(b>>>0>=t[a+52>>2]){break j}q[a+44>>2]=b+1;b=r[b|0];break k}q[a+108>>2]=1;break a}b=ej(q[a+32>>2]);if((b|0)==-1){break j}}if((b&255)!=103){break a}b=q[a+44>>2];if(!b){break i}if(b>>>0>=t[a+52>>2]){break g}q[a+44>>2]=b+1;b=r[b|0];break h}q[a+108>>2]=1;break a}b=ej(q[a+32>>2]);if((b|0)==-1){break g}}if((b&255)!=83){break f}if(!iC(a)){break b}if(!(o[a+1387|0]&1)){break c}o[a+1388|0]=0;q[a+1396>>2]=0;q[a+112>>2]=32;return 0}q[a+108>>2]=1}break a}o:{while(1){if(q[a+1392>>2]!=-1){break o}if(!Lk(a)){break b}if(!(o[a+1387|0]&1)){continue}break}q[a+112>>2]=32;return 0}q[a+1408>>2]=0;q[a+1412>>2]=0;q[a+1396>>2]=0;o[a+1388|0]=0;c=1}return c}q[a+112>>2]=30;return 0}function q7(a){var b=0,c=0,d=0,e=0;q[q[a>>2]+76>>2]=0;b=q[a+4>>2];if(b){a:{if(o[b+104|0]&1){break a}c=q[b+92>>2];if(!c){break a}yi(c)}yi(b)}b=q[a+8>>2];if(b){b:{if(o[b+48|0]&1){break b}c=q[b+36>>2];if(!c){break b}yi(c)}yi(b)}b=q[a+12>>2];d=q[a+16>>2];if((b|0)!=(d|0)){while(1){c=q[(e<<2)+b>>2];if(c){c:{if(o[c+336|0]&1){break c}b=q[c+316>>2];if(b){yi(b)}b=q[c+308>>2];if(!b){break c}yi(b)}d:{if(o[c+304|0]&1){break d}b=q[c+292>>2];if(!b){break d}yi(b)}yi(c);d=q[a+16>>2];b=q[a+12>>2]}e=e+1|0;if(e>>>0>2>>>0){continue}break}}b=q[a+28>>2];if(b){e:{if(o[b+992|0]&1){break e}c=q[b+980>>2];if(!c){break e}yi(c)}yi(b)}b=q[a+32>>2];if(b){yi(b)}b=q[a+36>>2];if(b){f:{if(o[b+536|0]&1){break f}c=q[b+524>>2];if(!c){break f}yi(c)}yi(b)}c=q[a+88>>2];g:{h:{if(!c){break h}d=q[a+92>>2];if(d){b=0;while(1){e=q[(c+(b<<3)|0)+4>>2];if(e){yi(e)}b=b+1|0;if((d|0)!=(b|0)){continue}break}yi(c);if(!a){break g}break h}yi(c)}i:{if(o[a+84|0]&1){break i}b=q[a+72>>2];if(!b){break i}yi(b)}j:{if(o[a+68|0]&1){break j}b=q[a+48>>2];if(b){yi(b)}b=q[a+40>>2];if(!b){break j}yi(b)}k:{if(o[a+24|0]&1){break k}b=q[a+12>>2];if(!b){break k}yi(b)}yi(a)}}function rX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-656|0;ti=e;q[e+644>>2]=c;sX(a,e+584|0,b,Jj(a,d,Ui(d)));c=q[e+636>>2];d=Rx(c);o[e+51|0]=0;o[e+52|0]=0;o[e+53|0]=0;o[e+54|0]=0;o[e+55|0]=0;o[e+56|0]=0;o[e+57|0]=0;o[e+58|0]=0;q[e+44>>2]=0;q[e+48>>2]=0;q[e+8>>2]=d;q[e+24>>2]=c;q[e+36>>2]=-1;q[e+40>>2]=-1;q[e+28>>2]=0;q[e+32>>2]=0;q[e+16>>2]=q[e+632>>2];q[e+20>>2]=e+584;q[e+632>>2]=e+8;a=q[e+648>>2];o[d+75|0]=2;q[d+32>>2]=a;b=To(c,0,0);q[e+12>>2]=b;a=q[c+8>>2];q[a+8>>2]=5;q[a>>2]=b;b=q[c+8>>2];if((q[c+28>>2]-b|0)<=16){vk(c,1);b=q[c+8>>2]}q[c+8>>2]=b+16;q[b+24>>2]=9;q[b+16>>2]=d;b=c;a=q[b+8>>2];if((q[b+28>>2]-a|0)<=16){vk(c,1);a=q[c+8>>2]}q[b+8>>2]=a+16;o[q[e+8>>2]+74|0]=2;Gj(e+584|0);a=q[e+636>>2];b=s[a+52>>1]+1|0;p[a+52>>1]=b;if((b&65535)>>>0>=201){Pl(e+584|0,136621,0)}a:{while(1){a=q[e+600>>2];b=a-260|0;if(1<>>0<=27:0){break a}b=Gt(e+584|0);if(q[e+600>>2]==59){Gj(e+584|0)}a=q[e+632>>2];q[a+36>>2]=r[a+50|0];if(!b){continue}break}a=q[e+600>>2]}b=q[e+636>>2];p[b+52>>1]=s[b+52>>1]-1;if((a|0)!=287){q[e>>2]=dl(e+584|0,287);Dj(e+584|0,_i(b,136607,e))}dM(e+584|0);ti=e+656|0;return q[e+8>>2]}function O_(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-160|0;ti=b;d=q[a+4>>2];a:{if(d>>>0<15){break a}q[b+144>>2]=1;e=d-14|0;q[b+148>>2]=e;c=-20352;if(e>>>0>14){break a}q[b+80>>2]=0;q[b+84>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+152>>2]=b- -64;c=q[a+8>>2]+56|0;Gi(b- -64|0,c,e<<2);Fi(c,0,(d<<2)-56|0);c=Bl(a,a,b+144|0);if(c){break a}c=q[b+84>>2];q[b+16>>2]=q[b+80>>2];q[b+20>>2]=c;c=q[b+92>>2];q[b+24>>2]=q[b+88>>2];q[b+28>>2]=c;c=q[b+100>>2];q[b+32>>2]=q[b+96>>2];q[b+36>>2]=c;c=q[b+108>>2];q[b+40>>2]=q[b+104>>2];q[b+44>>2]=c;c=q[b+116>>2];q[b+48>>2]=q[b+112>>2];q[b+52>>2]=c;c=q[b+148>>2];q[b+128>>2]=q[b+144>>2];q[b+132>>2]=c;c=q[b+68>>2];q[b>>2]=q[b+64>>2];q[b+4>>2]=c;c=q[b+76>>2];q[b+8>>2]=q[b+72>>2];q[b+12>>2]=c;q[b+136>>2]=b;c=Wk(b+128|0,224);if(c){break a}c=Bl(a,a,b+128|0);if(c){break a}c=q[b+148>>2];if(c>>>0>=8){Fi(b+92|0,0,(c<<2)-28|0)}c=Bl(b+144|0,b+144|0,b+128|0);if(c){break a}q[b+148>>2]=15;c=$m(b+144|0,224);if(c){break a}c=Bl(a,a,b+144|0)}ti=b+160|0;return c|0}function yma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+8>>2];g=q[a+12>>2];a:{b:{c:{d=q[q[a+16>>2]>>2];a=q[d+16>>2];if(a){while(1){b=q[a+8>>2];if(!q[b+12>>2]){break c}q[b+12>>2]=0;b=q[a>>2];yi(a);a=b;if(a){continue}break}}q[d+16>>2]=0;d:{e:{f:{b=q[d+12>>2];if(b){while(1){if(q[b+12>>2]){q[b+12>>2]=0;c=q[b+20>>2];if(!c){break b}e=q[c+4>>2];a=q[e+16>>2];if(!a){break f}g:{if((a|0)==(c|0)){q[e+16>>2]=q[c>>2];break g}while(1){e=a;a=q[a>>2];if(!a){break f}if((a|0)!=(c|0)){continue}break}q[e>>2]=q[c>>2]}yi(c)}a=q[b+16>>2];yi(b);b=a;if(a){continue}break}}q[d+12>>2]=0;a=q[d+8>>2];if(!r[g+17|0]){break e}if(!a){break d}q[d+8>>2]=0;break d}J(34664,33206,1554,34628);G()}if(!a){break d}q[d+8>>2]=0}b=q[f+148>>2];e=q[f+144>>2];a=b-e|0;h:{if(!a){break h}c=e-b|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){g=e+(a<<2)|0;if(q[g>>2]!=(d|0)){a=a+1|0;if((c|0)!=(a|0)){continue}break h}break}q[g>>2]=q[b-4>>2];a=q[f+148>>2]-4|0;q[f+148>>2]=a;if(a>>>0>2]){break a}}if(d){yi(d)}return 0}J(34672,33206,1560,34628);G()}J(34640,33206,1530,34628);G()}J(34707,34111,516,34697);G()}function iX(){var a=0,b=0,c=0;a=xi[1049](0,0,0,376)|0;if(a){o[a+140|0]=33;o[a+4|0]=8;q[a>>2]=0;q[a+32>>2]=0;q[a+68>>2]=0;q[a+104>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;p[a+56>>1]=256;q[a+40>>2]=0;q[a+44>>2]=0;o[a+5|0]=97;o[a+6|0]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+80>>2]=0;q[a+136>>2]=0;q[a+132>>2]=1049;q[a+48>>2]=0;q[a+52>>2]=0;q[a+16>>2]=a+120;b=a+240|0;q[a+260>>2]=b;q[a+256>>2]=b;q[a+232>>2]=a;q[a+128>>2]=0;q[a+184>>2]=0;q[a+188>>2]=376;q[a+120>>2]=0;q[a+124>>2]=0;q[a+224>>2]=0;q[a+172>>2]=0;q[a+180>>2]=0;q[a+208>>2]=0;o[a+141|0]=0;q[a+144>>2]=0;q[a+152>>2]=a+148;q[a+156>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+200>>2]=200;q[a+204>>2]=200;q[a+196>>2]=0;q[a+304>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+148>>2]=a;if(!ou(a,1045,0)){return a}b=q[a+16>>2];qo(a,q[a+32>>2]);qE(a);c=q[a+16>>2];lj(a,q[c>>2],q[c+8>>2]<<2,0);c=lj(a,q[b+52>>2],q[b+60>>2],0);q[b+60>>2]=0;q[b+52>>2]=c;lj(a,q[a+40>>2],w(q[a+48>>2],24),0);lj(a,q[a+32>>2],q[a+44>>2]<<4,0);xi[q[b+12>>2]](q[b+16>>2],a,376,0)|0}return 0}function PV(a,b,c,d,e,f){var g=0,h=0;h=-50;a:{if(c&7){break a}if((b|0)!=1){h=0;if(!c){break a}while(1){g=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);Ex(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}break a}h=0;if(!c){break a}b=r[d|0];while(1){o[f|0]=r[e|0]^b;o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];Ex(a,f,f);g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}return h}function KV(a,b,c,d,e,f){var g=0,h=0;h=-50;a:{if(c&7){break a}if((b|0)!=1){h=0;if(!c){break a}while(1){g=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);Dx(a,e,f);o[f|0]=r[d|0]^r[f|0];o[f+1|0]=r[d+1|0]^r[f+1|0];o[f+2|0]=r[d+2|0]^r[f+2|0];o[f+3|0]=r[d+3|0]^r[f+3|0];o[f+4|0]=r[d+4|0]^r[f+4|0];o[f+5|0]=r[d+5|0]^r[f+5|0];o[f+6|0]=r[d+6|0]^r[f+6|0];o[f+7|0]=r[d+7|0]^r[f+7|0];o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}break a}h=0;if(!c){break a}b=r[d|0];while(1){o[f|0]=r[e|0]^b;o[f+1|0]=r[d+1|0]^r[e+1|0];o[f+2|0]=r[d+2|0]^r[e+2|0];o[f+3|0]=r[d+3|0]^r[e+3|0];o[f+4|0]=r[d+4|0]^r[e+4|0];o[f+5|0]=r[d+5|0]^r[e+5|0];o[f+6|0]=r[d+6|0]^r[e+6|0];o[f+7|0]=r[d+7|0]^r[e+7|0];Dx(a,f,f);g=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);o[d|0]=b;o[d+1|0]=b>>>8;o[d+2|0]=b>>>16;o[d+3|0]=b>>>24;o[d+4|0]=g;o[d+5|0]=g>>>8;o[d+6|0]=g>>>16;o[d+7|0]=g>>>24;f=f+8|0;e=e+8|0;c=c-8|0;if(c){continue}break}}return h}function Wo(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=0,m=0,n=x(0),o=x(0),p=x(0),q=x(0),r=0,s=0,t=0;g=u[b+36>>2];i=u[b+32>>2];e=u[b+40>>2];d=u[b+20>>2];h=u[b+16>>2];j=u[b+24>>2];a:{b:{f=u[b>>2];n=u[b+4>>2];k=u[b+8>>2];c=u[b+12>>2];o=x(F(x(x(x(x(f*f)+x(n*n))+x(k*k))+x(c*c))));if(o==x(0)){break b}c=u[b+28>>2];p=x(F(x(x(x(x(h*h)+x(d*d))+x(j*j))+x(c*c))));if(p==x(0)){break b}c=u[b+44>>2];q=x(F(x(x(x(x(i*i)+x(g*g))+x(e*e))+x(c*c))));if(q==x(0)){break b}c=x(x(1)/q);e=x(e*c);g=x(g*c);i=x(i*c);c=x(x(1)/p);j=x(j*c);d=x(d*c);h=x(h*c);c=x(x(1)/o);k=x(k*c);n=x(n*c);f=x(f*c);break a}o=x(1);p=x(1);q=x(1)}l=x(x(f+d)+e)f;r=l&(s&m^1);t=d>f;m=l&(m|t);l=l&(t^-1|s);e=x(x((r?x(-e):e)+x((m?x(-f):f)+(l?x(-d):d)))+x(1));d=x(x(x(1)/x(F(e)))*x(.5));c=x(e*d);h=x(x(n-(r?x(-h):h))*d);e=x(x(i-(l?x(-k):k))*d);d=x(x(j-(m?x(-g):g))*d);c:{if(!r){f=d;g=e;e=h;d=c;break c}f=c;g=h}c=u[b+56>>2];h=u[b+52>>2];j=u[b+48>>2];d:{if(!m){i=f;f=g;g=e;e=d;break d}i=g;g=d}u[a+32>>2]=o;u[a+16>>2]=j;u[a+12>>2]=e;u[a+8>>2]=g;u[a+4>>2]=f;u[a>>2]=i;u[a+40>>2]=q;u[a+36>>2]=p;u[a+24>>2]=c;u[a+20>>2]=h}function PP(a){var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;a:{b:{if(!q[a+72>>2]){e=q[a>>2];break b}b=q[a+116>>2];q[c+12>>2]=b;q[c+16>>2]=(q[a+100>>2]-b|0)+16749;b=q[a+132>>2];q[c+20>>2]=0;q[c+24>>2]=b;b=q[a+104>>2];d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[c>>2]=d;q[c+4>>2]=b;Jr(q[a+16>>2],q[a+20>>2],q[q[a>>2]+184>>2]>>>1&1,c+9|0);o[c+8|0]=q[a+128>>2];b=pU(q[a+72>>2],c);if(b){break a}b=r[c+8|0];q[a+128>>2]=b;o[q[a+108>>2]]=b;q[a+120>>2]=q[c+12>>2]+q[c+20>>2];b=q[c+24>>2];q[a+132>>2]=b;o[q[a+112>>2]]=b>>>8;o[q[a+112>>2]+1|0]=q[c+24>>2];b=-29184;d=q[a+132>>2];if(d>>>0>16384){break a}c:{if(!d){if(q[a+128>>2]!=23?q[a+20>>2]==3:0){break a}d=q[a+172>>2];q[a+172>>2]=d+1;b=-29056;if((d|0)<=2){break c}break a}q[a+172>>2]=0}e=q[a>>2];if(r[e+184|0]&2){break b}b=8;d:{if((q[e+184>>2]&2)>>>0>7){d=8;break d}while(1){d=b-1|0;e=d+q[a+104>>2]|0;f=r[e|0]+1|0;o[e|0]=f;e=q[a>>2];if((f&255)==(f|0)){d=b;break d}b=d;if(b>>>0>(q[e+184>>2]&2)>>>0){continue}break}}b=-27520;if((q[e+184>>2]&2)==(d|0)){break a}}b=0;if(!(r[e+184|0]&2)){break a}nU(a)}ti=c+32|0;return b}function Gi(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Pc(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if(e>>>0<=c>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(f>>>0>>0){break c}while(1){q[c>>2]=q[b>>2];q[c+4>>2]=q[b+4>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=q[b+20>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=q[b+28>>2];q[c+32>>2]=q[b+32>>2];q[c+36>>2]=q[b+36>>2];q[c+40>>2]=q[b+40>>2];q[c+44>>2]=q[b+44>>2];q[c+48>>2]=q[b+48>>2];q[c+52>>2]=q[b+52>>2];q[c+56>>2]=q[b+56>>2];q[c+60>>2]=q[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){q[c>>2]=q[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){o[c|0]=r[b|0];o[c+1|0]=r[b+1|0];o[c+2|0]=r[b+2|0];o[c+3|0]=r[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function ela(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-112|0;ti=d;b=q[a+4>>2];c=q[b+20>>2];e=q[q[a+12>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];g=q[b+8>>2];b=q[b+4>>2];if(c>>>0>2>>>0){c=q[b+(c<<2)>>2];b=q[a+16>>2];e=q[b+64>>2];f=q[60261];g=q[b+68>>2];a:{if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+204|0]=r[c+204|0]|1;break a}f=q[60262];if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){o[c+204|0]=r[c+204|0]&254;break a}if(!q[b+80>>2]){break a}f=q[61990];if((e|0)==q[f+8>>2]&(g|0)==q[f+12>>2]){e=q[b+100>>2];g=q[b+96>>2];f=q[q[c+152>>2]+8>>2];u[d+16>>2]=u[b+112>>2];u[d+20>>2]=u[b+116>>2];u[d+24>>2]=u[b+120>>2];u[d+28>>2]=u[b+124>>2];if((gp(f,g,e,lp(d+40|0,d+16|0),q[b+128>>2],183,c)|0)!=-1){break a}a=q[a+16>>2];c=bm(q[a+32>>2],q[a+36>>2]);e=Mi(q[a+48>>2],q[a+52>>2]);a=Mi(q[a+56>>2],q[a+60>>2]);q[d+12>>2]=Mi(q[b+96>>2],q[b+100>>2]);q[d+8>>2]=a;q[d+4>>2]=e;q[d>>2]=c;Ai(4,40063,40071,d);break a}a=q[62006];if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(g|0)){break a}a=q[c+148>>2];if(!a){break a}if(!Av(a,q[b+96>>2],q[b+100>>2])){break a}o[c+204|0]=r[c+204|0]|4}ti=d+112|0;return 0}}J(41371,40669,479,41382);G()}function vma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-144|0;ti=c;d=q[a>>2];e=q[a+16>>2];a=q[a+20>>2];a:{b:{if((e|0)==q[75038]&(a|0)==q[75039]){if(r[d+17|0]){q[c+72>>2]=3;u[c+80>>2]=u[c+48>>2];u[c+84>>2]=u[c+52>>2];u[c+88>>2]=u[c+56>>2];break b}q[c+72>>2]=3;u[c+80>>2]=u[c+32>>2];u[c+84>>2]=u[c+36>>2];u[c+88>>2]=u[c+40>>2];break b}if((e|0)==q[75040]&(a|0)==q[75041]){if(r[d+17|0]){q[c+72>>2]=3;u[c+80>>2]=u[c+16>>2];u[c+84>>2]=u[c+20>>2];u[c+88>>2]=u[c+24>>2];break b}q[c+72>>2]=3;u[c+80>>2]=u[c>>2];u[c+84>>2]=u[c+4>>2];u[c+88>>2]=u[c+8>>2];break b}if((e|0)==q[75042]&(a|0)==q[75043]){if(r[d+17|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}if((e|0)==q[75044]&(a|0)==q[75045]){if(r[d+17|0]){Ai(3,33031,33831,0);f=-1;break a}o[c+80|0]=0;q[c+72>>2]=6;break b}if((e|0)==q[75034]&(a|0)==q[75035]){if(r[d+17|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}f=-1;if(q[75036]!=(e|0)|q[75037]!=(a|0)){break a}if(r[d+17|0]){a=c+72|0;q[a>>2]=0;v[a+8>>3]=0;break b}a=c+72|0;q[a>>2]=0;v[a+8>>3]=0}Gi(b+32|0,c+72|0,72);f=0}a=f;ti=c+144|0;return a|0}function X3(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=0,i=0,j=x(0),k=x(0),l=x(0),m=x(0),n=0,p=x(0),r=x(0),s=x(0),t=x(0),v=0,y=0,z=0;a:{b:{if(!(o[b+12|0]&1)){h=q[a+4>>2];Ii(h,80,b,b+8|0,b+4|0);n=q[b>>2];if((q[b+8>>2]-n|0)/80>>>0>>0){break b}q[b+4>>2]=w(h,80)+n;if(h){v=q[a>>2];y=q[a+4>>2];while(1){if((i|0)==(y|0)){break a}b=w(i,192)+v|0;c=u[b+128>>2];k=u[b+132>>2];p=u[b+140>>2];e=u[b+136>>2];l=u[b+168>>2];d=u[b+164>>2];m=u[b+160>>2];f=u[b+152>>2];z=q[b+148>>2];a=w(i,80)+n|0;q[a+48>>2]=q[b+144>>2];q[a+52>>2]=z;q[a+60>>2]=1065353216;u[a+56>>2]=f;u[a+12>>2]=m*x(0);u[a+28>>2]=d*x(0);u[a+44>>2]=l*x(0);r=x(k+k);j=x(c*r);f=x(e+e);g=x(p*f);u[a+4>>2]=m*x(j+g);s=x(c*f);t=x(r*p);u[a+8>>2]=m*x(s-t);u[a+16>>2]=d*x(j-g);g=c;c=x(c+c);j=x(x(1)-x(g*c));e=x(e*f);u[a+20>>2]=d*x(j-e);g=d;d=x(k*f);c=x(c*p);u[a+24>>2]=g*x(d+c);u[a+32>>2]=l*x(s+t);u[a+36>>2]=l*x(d-c);c=x(k*r);u[a+40>>2]=l*x(j-c);u[a>>2]=m*x(x(x(1)-c)-e);q[a+64>>2]=q[b>>2];u[a+68>>2]=u[b+176>>2];i=i+1|0;if((h|0)!=(i|0)){continue}break}}return}J(147316,147260,493,147391);G()}J(147403,147260,506,147422);G()}J(147195,147207,69,147227);G()}function NA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-144|0;ti=g;Fi(g+16|0,0,128);f=r[c+24|0];if(f){while(1){h=q[c+20>>2]+w(e,24)|0;if((q[h+4>>2]&-268435456)==805306368){Hqa(d,a,h,Mqa(a,vL(b),q[h+4>>2]&4194303));f=r[c+24|0]}e=e+1|0;if(f>>>0>e>>>0){continue}break}}a:{b:{if(Tv(b)){break b}while(1){if(!Yp(b,g+12|0)){e=2;break a}e=q[g+12>>2];i=e>>>3|0;if(!i){e=2;break a}h=e&7;c:{d:{e:{j=r[c+24|0];if(j){k=q[c+20>>2];e=0;while(1){f=w(e,24)+k|0;if((q[f+4>>2]&4194303)==(i|0)){break e}e=e+1|0;if((j|0)!=(e|0)){continue}break}}e=pL(b,h);if(!e){break d}break a}if(e>>>0>=128){break c}o[(g+16|0)+e|0]=1;e=Fqa(d,a,h,f,b);if(e){break a}e=r[f+20|0];if(!(e&127)){break d}o[f+20|0]=e|128}if(!Tv(b)){continue}break b}break}J(22561,22590,169,22614);G()}f=r[c+24|0];if(f){e=0;while(1){b=q[c+20>>2]+w(e,24)|0;f:{if(r[b+20|0]&127){break f}h=q[b+4>>2]&-268435456;if((h|0)!=268435456){if(r[(g+16|0)+e|0]|(h|0)!=536870912){break f}a=q[c+4>>2];q[g+4>>2]=q[b>>2];q[g>>2]=a;Ai(3,22628,22632,g);e=5;break a}if(r[(g+16|0)+e|0]){break f}DL(a,b,d);f=r[c+24|0]}e=e+1|0;if(f>>>0>e>>>0){continue}break}}e=0}ti=g+144|0;return e}function X8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=0;b=ti-176|0;ti=b;j=Zi(b+152|0,a,1,196298,336);d=Li(a,1,q[216372],0);c=q[d>>2];e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);f=mk(a,-1,q[216371]);Ci(a,-2);if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{if((c|0)==(f|0)){e=q[d>>2];c=q[e+32>>2];b:{c:{d:{e:{f:{g:{d=q[d+4>>2];f=d&65535;if(f>>>0>=(q[e+36>>2]-c|0)/576>>>0|s[(c+w(f,576)|0)+552>>1]!=(d>>>16|0)){break g}c=c+w(f,576)|0;if(s[c+554>>1]!=(d&65535)|r[c+415|0]&32){break g}c=Sz(e,d);g=u[c+8>>2];h=u[c+4>>2];i=u[c>>2];switch(q[c+412>>2]>>>4&15){case 5:break c;case 6:break d;case 1:break e;case 0:break f;default:break b}}Bi(a,198457,0);G()}v[b+48>>3]=g;v[b+40>>3]=h;v[b+32>>3]=i;vj(a,198572,b+32|0);break a}c=q[c+420>>2];v[b+88>>3]=g;v[b+80>>3]=h;v[b+72>>3]=i;q[b+64>>2]=c;vj(a,198589,b- -64|0);break a}c=q[c+416>>2];v[b+120>>3]=g;v[b+112>>3]=h;v[b+104>>3]=i;q[b+96>>2]=c;vj(a,198605,b+96|0);break a}v[b+144>>3]=g;v[b+136>>3]=h;v[b+128>>3]=i;vj(a,198628,b+128|0);break a}v[b+16>>3]=g;v[b+8>>3]=h;v[b>>3]=i;vj(a,198652,b);break a}Hi(a,198673)}Yi(j);ti=b+176|0;return 1}J(196277,196298,164,196320);G()}function Pz(a,b,c,d,e){var f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0);f=ti+ -64|0;ti=f;a:{b:{if(d){ar(b,d,0,f);h=u[d+384>>2];g=h;i=u[d+388>>2];j=i;c:{d:{d=q[c+412>>2];switch(d>>>16&3){case 1:break c;case 0:break d;default:break a}}g=hi?h:i;break b}d=q[b+12>>2];l=x(t[d+20>>2]);m=x(t[b+360>>2]);h=x(l/m);g=h;k=x(t[d+24>>2]);n=x(t[b+364>>2]);i=x(k/n);j=i;e:{f:{g:{h:{d=q[c+412>>2];switch(d>>>16&3){case 1:break g;case 0:break h;default:break e}}g=hi?h:i}j=g}q[f+24>>2]=0;q[f+28>>2]=0;u[f+20>>2]=j;q[f+32>>2]=0;q[f+36>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+40>>2]=1065353216;q[f+52>>2]=0;q[f+56>>2]=0;q[f+60>>2]=1065353216;q[f+4>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f+16>>2]=0;k=x(x(k-x(j*n))*x(.5));u[f>>2]=g;l=x(x(l-x(g*m))*x(.5));break a}j=g}m=u[e>>2];n=u[e+4>>2];o=u[f+52>>2];p=u[f+48>>2];u[a+8>>2]=u[e+8>>2]-u[f+56>>2];r=x(x(1)/j);b=(d>>>10&3)-1|0;j=x(x(n-o)-(b>>>0<2?x(0):k));u[a+4>>2]=r*j;k=x(x(1)/g);c=(d>>>8&3)-1|0;g=x(x(m-p)-(c>>>0<2?x(0):l));u[a>>2]=k*g;if(c>>>0<=1){u[a>>2]=g/h}if(b>>>0<=1){u[a+4>>2]=j/i}ti=f- -64|0}function I4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-96|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=0;f=Zi(b+72|0,a,0,110389,1202);if(q[a+8>>2]-q[a+12>>2]>>4<1){break b}if(Bj(a,1)){g=Sq(a,q[q[d+304>>2]+2384>>2]);h=wi;break b}if(!Ei(a,1)){break b}if(!Xi(a,1)){break b}q[b+16>>2]=110485;a=Bi(a,111266,b+16|0);break a}J(110492,110389,475,114319);G()}if(q[a+8>>2]-q[a+12>>2]>>4>=2){mj(a,2,5);Qi(a,2);Ki(a,-1,111322);c:{if(!Ei(a,-1)){break c}e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;if(!rj(a,-2)){break c}while(1){e=Xi(a,-1);Ci(a,-2);c=c|e;if(rj(a,-2)){continue}break}}Ci(a,-3)}q[b+40>>2]=g;q[b+44>>2]=h;q[b+32>>2]=4;q[b+48>>2]=c;q[b+52>>2]=0;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=b- -64|0;d=q[a+4>>2];q[c+32>>2]=q[a>>2];q[c+36>>2]=d;a=q[b+60>>2];q[c+24>>2]=q[b+56>>2];q[c+28>>2]=a;a=q[b+52>>2];q[c+16>>2]=q[b+48>>2];q[c+20>>2]=a;a=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=a;a=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b)}Yi(f);ti=b+96|0;return a|0}function wra(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-2256|0;ti=e;a:{b:{c:{d:{if(a){if(!d){break d}q[d>>2]=0;e:{f:{if(!_E(a,e+8|0)){g:{if(pj(e+8|0,149752,5)){if(pj(e+8|0,149757,6)){break g}}f=e+2248|0;q[f>>2]=0;q[f+4>>2]=0;q[e+2240>>2]=0;q[e+2244>>2]=0;f=e+2200|0;q[f+8>>2]=0;q[f+12>>2]=0;q[f+28>>2]=1;q[f+32>>2]=0;q[f+4>>2]=1358;q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[e+2208>>2]=1231;q[e+2204>>2]=1232;q[e+2200>>2]=e+2240;f=-1;g=qz(e+2200|0,e+80|0,s[e+144>>1],!pj(e+8|0,149757,6));h:{if(!g){break h}h=kH(g,e+148|0);rz(g);if(h){break h}g=q[e+2244>>2];f=q[e+2240>>2];if((g|0)==(f|0)){break c}f=PL(a,f,g-f|0,b,c,d)}if(o[e+2252|0]&1){break e}a=q[e+2240>>2];if(!a){break e}yi(a);break e}if(!pj(e+8|0,149763,5)){f=OL(e+148|0,b,c,d);break e}if(!pj(e+8|0,149768,5)){break f}if(!pj(e+8|0,149773,5)){break f}break b}if(!to(a)){break b}}f=OL(a,b,c,d)}if(f){break a}f=0;a=q[213375];if(!a){break a}b=q[d>>2];while(1){c=q[a+4>>2];if(c){xi[c|0](b)}a=q[a+24>>2];if(a){continue}break}break a}J(149734,149407,608,149738);G()}J(149745,149407,609,149738);G()}J(149778,149557,421,149789);G()}f=-5}ti=e+2256|0;return f}function Dua(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;axa(+b);c=Zwa(1)|0;c=c&2147483647;e=!(Zwa(0)|0)&(c|0)==2146435072|c>>>0<2146435072;axa(+a);c=Zwa(1)|0;d=Zwa(0)|0;c=c&2147483647;if(!((c|0)==2146435072&d>>>0<1|c>>>0<2146435072?e:0)){return a+b}axa(+b);d=Zwa(1)|0;e=Zwa(0)|0;c=d;h=c;if(!(e|c-1072693248)){return gB(a)}axa(+a);d=Zwa(1)|0;g=c>>>30&2;c=g|d>>>31;a:{b:{c:{d=d&2147483647;if(!(Zwa(0)|d)){d:{switch(c-2|0){case 0:break c;case 1:break d;default:break b}}return-3.141592653589793}i=e;e=h&2147483647;if(!(i|e)){break a}e:{if((e|0)==2146435072){if((d|0)!=2146435072){break e}return v[(c<<3)+208368>>3]}if(!(e+67108864>>>0>=d>>>0?(d|0)!=2146435072:0)){break a}f:{if(g){f=0;if(e>>>0>d+67108864>>>0){break f}}f=gB(y(a/b))}a=f;g:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+ -1.2246467991473532e-16);case 0:break b;default:break g}}return a+ -1.2246467991473532e-16+ -3.141592653589793}return v[(c<<3)+208400>>3]}a=3.141592653589793}return a}axa(1.5707963267948966);c=Zwa(1)|0;e=Zwa(0)|0;axa(+a);d=Zwa(1)|0;Zwa(0)|0;_wa(0,e|0);_wa(1,c&2147483647|d&-2147483648);return+$wa()}function xwa(){var a=0;q[75128]=zi(35801);q[75129]=wi;q[75130]=zi(35820);q[75131]=wi;q[75132]=zi(35837);q[75133]=wi;q[75134]=zi(35846);q[75135]=wi;q[75136]=zi(35852);q[75137]=wi;q[75138]=zi(35862);q[75139]=wi;q[75140]=zi(35870);q[75141]=wi;q[75142]=zi(35877);q[75143]=wi;q[75144]=zi(35886);q[75145]=wi;q[75146]=zi(35898);q[75147]=wi;q[75148]=zi(35907);q[75149]=wi;q[75150]=zi(35912);q[75151]=wi;q[75152]=zi(35918);q[75153]=wi;q[75154]=zi(35924);q[75155]=wi;q[75156]=zi(35933);q[75157]=wi;q[75158]=zi(35942);q[75159]=wi;q[75160]=zi(35951);q[75161]=wi;q[75162]=zi(35960);q[75163]=wi;q[75164]=zi(35969);q[75165]=wi;q[75166]=zi(35978);q[75167]=wi;q[75168]=zi(35987);q[75169]=wi;q[75170]=zi(35996);q[75171]=wi;q[75172]=zi(36005);q[75173]=wi;a=zi(36014);q[75193]=0;q[75194]=0;q[75192]=863832;q[75190]=0;q[75188]=36046;q[75187]=36026;q[75186]=0;q[75184]=0;q[75182]=0;q[75180]=0;q[75178]=1;q[75176]=0;q[75177]=3;q[75174]=a;q[75175]=wi;q[75195]=0;q[75196]=0;q[75197]=0;q[75204]=2;q[75202]=4;q[75203]=5;q[75200]=1;q[75201]=3;q[75198]=6;q[75199]=0;q[75205]=0;q[75208]=3;q[75209]=4;q[75206]=1;q[75207]=2}function Mea(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=0,k=0;b=ti-112|0;ti=b;k=Zi(b+88|0,a,1,75991,503);j=q[a+8>>2]-q[a+12>>2]>>4;g=Tj(a);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;qk(a,1,b+56|0,b+24|0);c=-1;a:{if((j|0)<2){f=x(1);h=x(1);d=0;break a}b:{if(!Ei(a,2)){h=x(1);f=x(1);break b}mj(a,2,5);Qi(a,2);Ki(a,-1,76481);i=x(0);c:{if(!Ei(a,-1)){break c}i=x(Ri(a,-1))}Ci(a,-2);Ki(a,-1,76487);e=x(1);d:{if(!Ei(a,-1)){break d}e=x(Ri(a,-1))}h=e;Ci(a,-2);Ki(a,-1,76492);e=x(0);e:{if(!Ei(a,-1)){break e}e=x(Ri(a,-1))}Ci(a,-2);Ki(a,-1,76496);f=x(1);f:{if(!Ei(a,-1)){break f}f=x(Ri(a,-1))}Ci(a,-2);Ci(a,-2)}d=0;if((j|0)<3){break a}d=0;if((Ei(a,3)|0)!=6){break a}Qi(a,3);c=o0();d=ws(a)+2|0}q[b+16>>2]=c;u[b+12>>2]=f;u[b+8>>2]=e;u[b+4>>2]=h;u[b>>2]=i;c=q[61794];vo(b+24|0,b+56|0,q[c+8>>2],q[c+12>>2],g,d,c,b,20,0);g=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=g>>>0;q[a+8>>2]=q[a+8>>2]+16;Yi(k);ti=b+112|0;return 1}function s3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=ti-1056|0;ti=e;if(q[66736]==(b|0)){g=q[c+24>>2];h=q[c+8>>2];gj(a,0,0);b=q[c>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,121703);b=q[c+36>>2];a:{if(b){b:{if(q[c>>2]!=200){break b}d=q[c+32>>2];zj(e+32|0,b,1024);Bk(e+32|0,121890,1024);f=il(e+32|0,121900);c:{if(!f){break c}g=Rl(g,1,d,f);ro(f);Ak(f);if((d|0)!=(g|0)){q[e+20>>2]=b;q[e+16>>2]=d;Ai(4,121903,121910,e+16|0);break c}if(!aF(b,e+32|0)){break b}q[e+4>>2]=b;q[e>>2]=e+32;Ai(4,121903,121945,e)}Hi(a,121710);Di(a,-2,121739)}Hi(a,q[c+36>>2]);Di(a,-2,121745);break a}Ni(a,g,q[c+32>>2]);Di(a,-2,121750)}Ni(a,121759,7);gj(a,0,0);b=q[c+16>>2];d:{if(!b){break d}o[(b+h|0)-1|0]=0;d=Xo(h,121767,e+32|0);if(!d){break d}while(1){c=Oj(d,58);o[c|0]=0;b=d;f=r[b|0];if(f){while(1){f=f<<24>>24;o[b|0]=f-65>>>0<26?f|32:f;f=r[b+1|0];b=b+1|0;if(f){continue}break}}Hi(a,d);o[c|0]=58;while(1){b=r[c+1|0];d=c+1|0;c=d;if((b|0)==32){continue}break}Hi(a,d);tj(a,-3);d=Xo(0,121767,e+32|0);if(d){continue}break}}tj(a,-3);ti=e+1056|0;return 0}J(121608,121657,51,121683);G()}function b8(a){var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;a:{b:{c:{d:{if(!a){break d}if(!ay()){Ai(5,142970,143355,0);break d}if(!(xb(1213)|0)){Ai(5,142970,143386,0)}if(!(ub(1214)|0)){Ai(5,142970,143420,0)}if(!(wb(1215)|0)){Ai(5,142970,143461,0)}if(q[a+3476>>2]){break c}b=Oi(16);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[a+3476>>2]=b;q[212969]=a;a=Fi(a,0,2368);o[a+2364|0]=255;o[a+2216|0]=255;o[a+2068|0]=255;o[a+1920|0]=255;o[a+1772|0]=255;o[a+1624|0]=255;o[a+1476|0]=255;o[a+1328|0]=255;o[a+1180|0]=255;o[a+1032|0]=255;o[a+884|0]=255;o[a+736|0]=255;o[a+588|0]=255;o[a+440|0]=255;o[a+292|0]=255;o[a+144|0]=255;b=s8(a);c=q[212969];a=q[c+3476>>2];e:{if(!(xi[q[b>>2]](c,b)|0)){q[d+16>>2]=143702;Ai(4,142970,143707,d+16|0);break e}f=a+4|0;c=q[a+4>>2];e=q[a+8>>2];if((c|0)==(e|0)){if(o[a+12|0]&1){break b}Ii((c-q[a>>2]>>2)+1|0,4,a,a+8|0,f);e=q[a+8>>2];c=q[a+4>>2]}if((c|0)==(e|0)){break a}q[f>>2]=c+4;q[c>>2]=b;q[d>>2]=143702;Ai(0,142970,143748,d);xi[q[b+12>>2]](q[212969],b)}}ti=d+32|0;return}J(143509,143159,203,143547);G()}J(143778,143853,493,143909);G()}J(143921,143853,533,143945);G()}function L4(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=0,g=0,h=0;b=ti-48|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=x(Ri(a,1));a:{if(d=x(0)){g=x(y(d))>=x(1)?d>x(0)?~~x(A(x(C(x(d*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(d-x(~~d>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;c=~~d>>>0;break a}c=0}d=x(Ri(a,2));b:{if(d=x(0)){h=x(y(d))>=x(1)?d>x(0)?~~x(A(x(C(x(d*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(d-x(~~d>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;f=~~d>>>0;break b}f=0}q[b+16>>2]=c;q[b+20>>2]=g;q[b+8>>2]=17;q[b+24>>2]=f;q[b+28>>2]=h;c=q[e+4>>2];c:{if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+40;a=q[b+44>>2];q[c+32>>2]=q[b+40>>2];q[c+36>>2]=a;a=q[b+36>>2];q[c+24>>2]=q[b+32>>2];q[c+28>>2]=a;a=q[b+28>>2];q[c+16>>2]=q[b+24>>2];q[c+20>>2]=a;a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break c}q[b>>2]=(q[e+8>>2]-q[e>>2]|0)/40;a=Bi(a,110538,b)}ti=b+48|0;return a|0}J(110492,110389,475,114319);G()}function Fm(a,b){var c=x(0),d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),w=x(0);e=ti-144|0;ti=e;d=Li(a,b,q[212907],0);f=u[d+16>>2];g=u[d>>2];a:{b:{if(g!=g|f!=f){break b}c=u[d+32>>2];if(c!=c){break b}c=u[d+48>>2];if(c!=c){break b}c=u[d+4>>2];if(c!=c){break b}c=u[d+20>>2];if(c!=c){break b}c=u[d+36>>2];if(c!=c){break b}c=u[d+52>>2];if(c!=c){break b}c=u[d+8>>2];if(c!=c){break b}c=u[d+24>>2];if(c!=c){break b}c=u[d+40>>2];if(c!=c){break b}c=u[d+56>>2];if(c!=c){break b}c=u[d+12>>2];if(c!=c){break b}c=u[d+28>>2];if(c!=c){break b}c=u[d+44>>2];if(c!=c){break b}c=u[d+60>>2];if(c==c){break a}}c=u[d+32>>2];h=u[d+48>>2];i=u[d+4>>2];j=u[d+20>>2];k=u[d+36>>2];l=u[d+52>>2];m=u[d+8>>2];n=u[d+24>>2];o=u[d+40>>2];p=u[d+56>>2];r=u[d+12>>2];s=u[d+28>>2];t=u[d+44>>2];w=u[d+60>>2];v[e+16>>3]=f;v[e+128>>3]=w;v[e+120>>3]=t;v[e+112>>3]=s;v[e+104>>3]=r;v[e+96>>3]=p;v[e+88>>3]=o;v[e+80>>3]=n;v[e+72>>3]=m;v[e- -64>>3]=l;v[e+56>>3]=k;v[e+48>>3]=j;v[e+40>>3]=i;v[e+32>>3]=h;v[e+24>>3]=c;v[e+8>>3]=g;q[e>>2]=b;Bi(a,129094,e)}ti=e+144|0;return d}function r8(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=ti-16|0;ti=g;f=q[a+3476>>2];a:{b:{if(r[a+144|0]==255){c=a+144|0;break b}c=a+292|0;if(r[c|0]==255){d=1;break b}c=a+440|0;if(r[c|0]==255){d=2;break b}c=a+588|0;if(r[c|0]==255){d=3;break b}c=a+736|0;if(r[c|0]==255){d=4;break b}c=a+884|0;if(r[c|0]==255){d=5;break b}c=a+1032|0;if(r[c|0]==255){d=6;break b}c=a+1180|0;if(r[c|0]==255){d=7;break b}c=a+1328|0;if(r[c|0]==255){d=8;break b}c=a+1476|0;if(r[c|0]==255){d=9;break b}c=a+1624|0;if(r[c|0]==255){d=10;break b}c=a+1772|0;if(r[c|0]==255){d=11;break b}c=a+1920|0;if(r[c|0]==255){d=12;break b}c=a+2068|0;if(r[c|0]==255){d=13;break b}c=a+2216|0;if(r[c|0]==255){d=14;break b}c=a+2364|0;if(r[c|0]==255){d=15;break b}q[g>>2]=16;Ai(4,142970,143202,g);break a}c:{d:{e=q[f+4>>2];f=q[f>>2];if((e|0)!=(f|0)){d=w(d,148)+a|0;a=e-f|0;h=(a|0)>-1?a:-1;e=f-e|0;a=w((h|0)<1?h:1,((a|0)<(e|0)?e:a)>>>2|0);e=a>>>0>1?a:1;a=0;while(1){if(q[f+(a<<2)>>2]==(b|0)){break d}a=a+1|0;if((e|0)!=(a|0)){continue}break}}o[c|0]=255;break c}o[c|0]=a;if((a&255)!=255){break a}}J(143105,143159,164,143188);G()}ti=g+16|0;return d}function c5(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-48|0;ti=d;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{if((Ei(a,1)|0)!=5){break a}mj(a,1,5);Qi(a,1);Ki(a,-1,112105);c=0;b:{if(!Ei(a,-1)){break b}c=Fm(a,-1)}Ci(a,-2);Ci(a,-2);if(!c){break a}b=Oi(64);u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+28>>2]=u[c+28>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2];u[b+44>>2]=u[c+44>>2];u[b+48>>2]=u[c+48>>2];u[b+52>>2]=u[c+52>>2];u[b+56>>2]=u[c+56>>2];u[b+60>>2]=u[c+60>>2]}q[d+16>>2]=b;q[d+20>>2]=0;q[d+8>>2]=19;b=q[e+4>>2];c:{if((b|0)!=q[e+8>>2]){q[e+4>>2]=b+40;a=q[d+44>>2];q[b+32>>2]=q[d+40>>2];q[b+36>>2]=a;a=q[d+36>>2];q[b+24>>2]=q[d+32>>2];q[b+28>>2]=a;a=q[d+28>>2];q[b+16>>2]=q[d+24>>2];q[b+20>>2]=a;a=q[d+20>>2];q[b+8>>2]=q[d+16>>2];q[b+12>>2]=a;a=q[d+12>>2];q[b>>2]=q[d+8>>2];q[b+4>>2]=a;a=0;break c}q[d>>2]=(q[e+8>>2]-q[e>>2]|0)/40;a=Bi(a,110538,d)}ti=d+48|0;return a|0}J(110492,110389,475,114319);G()}function K4(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,r=0,s=0,t=0,u=0;d=ti-48|0;ti=d;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);c=Li(a,-1,q[81656],114346);Ci(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=Fm(a,1);e=q[b>>2];f=q[b+4>>2];g=q[b+8>>2];h=q[b+12>>2];i=q[b+16>>2];j=q[b+20>>2];k=q[b+24>>2];l=q[b+28>>2];m=q[b+32>>2];n=q[b+36>>2];o=q[b+40>>2];p=q[b+44>>2];r=q[b+48>>2];s=q[b+52>>2];t=q[b+60>>2];u=q[b+56>>2];b=Oi(64);q[b+56>>2]=u;q[b+60>>2]=t;q[b+48>>2]=r;q[b+52>>2]=s;q[b+40>>2]=o;q[b+44>>2]=p;q[b+32>>2]=m;q[b+36>>2]=n;q[b+24>>2]=k;q[b+28>>2]=l;q[b+16>>2]=i;q[b+20>>2]=j;q[b+8>>2]=g;q[b+12>>2]=h;q[b>>2]=e;q[b+4>>2]=f;q[d+16>>2]=b;q[d+20>>2]=0;q[d+8>>2]=8;b=q[c+4>>2];a:{if((b|0)!=q[c+8>>2]){q[c+4>>2]=b+40;a=d;c=q[a+44>>2];q[b+32>>2]=q[a+40>>2];q[b+36>>2]=c;c=q[a+36>>2];q[b+24>>2]=q[a+32>>2];q[b+28>>2]=c;c=q[a+28>>2];q[b+16>>2]=q[a+24>>2];q[b+20>>2]=c;c=q[a+20>>2];q[b+8>>2]=q[a+16>>2];q[b+12>>2]=c;c=q[a+12>>2];q[b>>2]=q[a+8>>2];q[b+4>>2]=c;a=0;break a}q[d>>2]=(q[c+8>>2]-q[c>>2]|0)/40;a=Bi(a,110538,d)}ti=d+48|0;return a|0}J(110492,110389,475,114319);G()}function E4(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,r=0,s=0,t=0,u=0;d=ti-48|0;ti=d;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);c=Li(a,-1,q[81656],114346);Ci(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=Fm(a,1);e=q[b>>2];f=q[b+4>>2];g=q[b+8>>2];h=q[b+12>>2];i=q[b+16>>2];j=q[b+20>>2];k=q[b+24>>2];l=q[b+28>>2];m=q[b+32>>2];n=q[b+36>>2];o=q[b+40>>2];p=q[b+44>>2];r=q[b+48>>2];s=q[b+52>>2];t=q[b+60>>2];u=q[b+56>>2];b=Oi(64);q[b+56>>2]=u;q[b+60>>2]=t;q[b+48>>2]=r;q[b+52>>2]=s;q[b+40>>2]=o;q[b+44>>2]=p;q[b+32>>2]=m;q[b+36>>2]=n;q[b+24>>2]=k;q[b+28>>2]=l;q[b+16>>2]=i;q[b+20>>2]=j;q[b+8>>2]=g;q[b+12>>2]=h;q[b>>2]=e;q[b+4>>2]=f;q[d+16>>2]=b;q[d+20>>2]=0;q[d+8>>2]=7;b=q[c+4>>2];a:{if((b|0)!=q[c+8>>2]){q[c+4>>2]=b+40;a=d;c=q[a+44>>2];q[b+32>>2]=q[a+40>>2];q[b+36>>2]=c;c=q[a+36>>2];q[b+24>>2]=q[a+32>>2];q[b+28>>2]=c;c=q[a+28>>2];q[b+16>>2]=q[a+24>>2];q[b+20>>2]=c;c=q[a+20>>2];q[b+8>>2]=q[a+16>>2];q[b+12>>2]=c;c=q[a+12>>2];q[b>>2]=q[a+8>>2];q[b+4>>2]=c;a=0;break a}q[d>>2]=(q[c+8>>2]-q[c>>2]|0)/40;a=Bi(a,110538,d)}ti=d+48|0;return a|0}J(110492,110389,475,114319);G()}function Cwa(){var a=0;q[75536]=zi(43451);q[75537]=wi;q[75538]=zi(43470);q[75539]=wi;q[75540]=zi(43487);q[75541]=wi;q[75542]=zi(43496);q[75543]=wi;q[75544]=zi(43502);q[75545]=wi;q[75546]=zi(43512);q[75547]=wi;q[75548]=zi(43520);q[75549]=wi;q[75550]=zi(43527);q[75551]=wi;q[75552]=zi(43536);q[75553]=wi;q[75554]=zi(43548);q[75555]=wi;q[75556]=zi(43557);q[75557]=wi;q[75558]=zi(43562);q[75559]=wi;q[75560]=zi(43568);q[75561]=wi;q[75562]=zi(43574);q[75563]=wi;q[75564]=zi(43583);q[75565]=wi;q[75566]=zi(43592);q[75567]=wi;q[75568]=zi(43601);q[75569]=wi;q[75570]=zi(43610);q[75571]=wi;q[75572]=zi(43619);q[75573]=wi;q[75574]=zi(43628);q[75575]=wi;q[75576]=zi(43637);q[75577]=wi;q[75578]=zi(43646);q[75579]=wi;q[75580]=zi(43655);q[75581]=wi;a=zi(43664);q[75601]=0;q[75602]=0;q[75600]=305408;q[75598]=0;q[75596]=43688;q[75595]=43676;q[75594]=0;q[75592]=0;q[75590]=0;q[75588]=0;q[75586]=1;q[75584]=0;q[75585]=3;q[75582]=a;q[75583]=wi;q[75603]=0;q[75604]=0;q[75605]=0;q[75606]=zi(43701);q[75607]=wi;q[75608]=zi(43705);q[75609]=wi;q[75610]=zi(43712);q[75611]=wi;q[75612]=zi(43718);q[75613]=wi}function tK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-48|0;ti=e;a:{if(!Cj(b,c,q[62944],e+44|0)){f=1;b:{c:{d:{e:{f:{g:{c=q[e+44>>2];switch(q[c>>2]){case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break b}}if(q[c+8>>2]!=1){f=0;Ai(4,55098,55106,0);break b}break c}if(q[c+8>>2]!=3){f=0;Ai(4,55098,55127,0);break b}if(r[a+17|0]){a=q[c+4>>2];b=q[a+4>>2];c=q[a>>2];u[e+24>>2]=u[a+8>>2];q[e+16>>2]=c;q[e+20>>2]=b;q[d>>2]=0;break b}a=q[c+4>>2];b=q[a+4>>2];c=q[a>>2];u[e+24>>2]=u[a+8>>2];q[e+16>>2]=c;q[e+20>>2]=b;q[d>>2]=0;break b}if(q[c+8>>2]!=2){f=0;Ai(4,55098,55145,0);break b}if(r[a+17|0]){q[d>>2]=0;break b}q[e>>2]=55170;Ai(4,55098,55167,e);break b}b=q[c+8>>2];if(b>>>0<=8){f=0;Ai(4,55098,55204,0);break b}if(r[a+17|0]){q[d>>2]=0;break b}b=b<<1;a=(b>>>0)/3|0;g=Oi((a|0)!=(a&1073741823)?-1:a<<2);if(b>>>0>=3){a=a>>>0>1?a:1;i=q[c+8>>2];b=0;while(1){h=w(b>>>1|0,3)+(b&1)|0;if(h>>>0>=i>>>0){break a}u[(b<<2)+g>>2]=u[q[c+4>>2]+(h<<2)>>2];b=b+1|0;if((a|0)!=(b|0)){continue}break}}q[d>>2]=0;yi(g);break b}q[d>>2]=0}cj(q[e+44>>2])}ti=e+48|0;return f}J(55223,55235,53,55263);G()}function rq(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=-27648;a:{b:{e=q[a+208>>2];switch(e-20|0){case 0:case 2:break b;default:break a}}c=q[a+212>>2];f=q[a+204>>2];d=r[f|0];if(q[a+68>>2]?0:!(d?0:(e|0)==22)){break a}c:{d:{if(!(r[q[a>>2]+184|0]&2)){break d}g=q[a+68>>2];if(!g){break d}if(c>>>0>16384){break a}if(r[g+492|0]!=1){break c}break a}if(c>>>0>16384){break a}}e:{if((e|0)!=22){break e}c=c-4|0;o[f+1|0]=c>>>16;o[q[a+204>>2]+2|0]=c>>>8;o[q[a+204>>2]+3|0]=c;if(r[q[a>>2]+184|0]&2){b=-28928;if(16384-q[a+212>>2]>>>0<8){break a}b=q[a+204>>2];Sk(b+12|0,b+4|0,c);q[a+212>>2]=q[a+212>>2]+8;f:{if(d){o[q[a+204>>2]+4|0]=q[q[a+68>>2]+472>>2]>>>8;o[q[a+204>>2]+5|0]=q[q[a+68>>2]+472>>2];b=q[a+68>>2];q[b+472>>2]=q[b+472>>2]+1;break f}o[q[a+204>>2]+4|0]=0;o[q[a+204>>2]+5|0]=0}b=q[a+204>>2];o[b+6|0]=0;o[b+7|0]=0;o[b+8|0]=0;b=q[a+204>>2];c=r[b+1|0]|r[b+2|0]<<8;o[b+9|0]=c;o[b+10|0]=c>>>8;o[b+11|0]=r[b+3|0]}if(!d){break e}xi[q[q[a+68>>2]+1104>>2]](a,q[a+204>>2],q[a+212>>2])}g:{if(!(!(r[q[a>>2]+184|0]&2)|(q[a+208>>2]==22?!d:0))){b=pQ(a);if(!b){break g}break a}b=Ot(a,1);if(b){break a}}b=0}return b}function h0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=ti-32|0;ti=f;d=q[242116];a:{b:{c:{c=q[a+20>>2];switch(c|0){case 0:break a;case 1:break b;default:break c}}J(204084,204086,559,204103);G()}c=1}g=q[d+16>>2];if(g){wj(g)}d:{e:{f:{g:{e=s[d+40>>1];h:{if((e|0)==s[d+42>>1]){q[b>>2]=0;q[f>>2]=e;Ai(4,203857,204120,f);c=-3;break h}c=V$(q[d>>2],c,q[a+8>>2],q[a+12>>2],f+28|0);if(c){q[f+16>>2]=c;Ai(4,203857,204216,f+16|0);c=-8;break h}e=q[d+36>>2];if(!e){break g}c=s[d+42>>1];if(c>>>0>=s[d+40>>1]){break f}h=1;p[d+42>>1]=c+1;e=s[e+(c<<1)>>1];c=-8}if(g){qj(g)}if(h){p[a+24>>1]=s[a+24>>1]+1;c=q[d+20>>2];if(q[d+24>>2]-c>>6>>>0<=e>>>0){break e}d=c+(e<<6)|0;if(s[d+56>>1]!=65535){break d}c=c+(e<<6)|0;p[c+58>>1]=s[a+16>>1];p[d+56>>1]=e;q[c+32>>2]=1056964608;q[c+36>>2]=1056964608;q[c+24>>2]=1065353216;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=1065353216;o[c+60|0]=r[c+60|0]&248;q[d>>2]=q[f+28>>2];a=q[242115];q[c+8>>2]=q[242114];q[c+12>>2]=a;q[b>>2]=d;c=0}ti=f+32|0;return c}J(204946,204873,151,204953);G()}J(204957,204873,152,204953);G()}J(204924,204755,479,204935);G()}J(204244,204086,585,204103);G()}function Y5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0,k=0,l=x(0);c=ti-336|0;ti=c;e=q[b>>2];a:{b:{d=q[a+80>>2];if(!d){break b}if(!(q[65650]!=(d|0)?q[65620]!=(d|0):0)){if(!q[q[e+304>>2]+2176>>2]){Ai(3,112123,114234,0);q[b+4>>2]=-1;break a}b=ez(c- -64|0);j=q[65620];q[b+112>>2]=q[a+112>>2]+(a+96|0);h=u[a+104>>2];k=q[a+100>>2];q[b+48>>2]=q[a+96>>2];q[b+52>>2]=k;c:{if((d|0)==(j|0)){f=x(1);g=x(1);break c}i=u[a+132>>2];l=u[a+128>>2];f=u[a+136>>2];g=u[a+140>>2]}u[b+64>>2]=l;u[b+76>>2]=g;u[b+72>>2]=f;u[b+68>>2]=i;u[b+56>>2]=h;a=q[e+304>>2];dz(a,q[a+2176>>2],0,0,b);break a}if(q[65678]==(d|0)){b=q[e+304>>2];u[c+48>>2]=u[a+96>>2];u[c+52>>2]=u[a+100>>2];u[c+56>>2]=u[a+104>>2];u[c+32>>2]=u[a+112>>2];u[c+36>>2]=u[a+116>>2];u[c+40>>2]=u[a+120>>2];g=u[a+128>>2];u[c+16>>2]=g;f=u[a+132>>2];u[c+20>>2]=f;h=u[a+136>>2];u[c+24>>2]=h;i=u[a+140>>2];u[c+12>>2]=i;u[c+8>>2]=h;u[c+4>>2]=f;u[c>>2]=g;u[c+28>>2]=i;sG(b,c+48|0,c+32|0,c+16|0,c);break a}if(q[65724]!=(d|0)){break b}xi[q[77433]](q[q[e+304>>2]+2384>>2],q[a+96>>2],q[a+100>>2]);break a}q[b+4>>2]=Qu(e,2,a)}ti=c+336|0}function yU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=ti-80|0;ti=i;h=-16512;a:{if(!b|q[a+164>>2]!=1){break a}k=q[a+4>>2];if(d){d=d-3|0;b:{if(d>>>0<=5){d=q[(d<<2)+273896>>2];break b}d=0}if(!d){break a}e=(d?q[d+8>>2]:0)&255}d=q[a+168>>2]-3|0;c:{if(d>>>0<=5){d=q[(d<<2)+273896>>2];break c}d=0}if(!d){break a}l=(d?q[d+8>>2]:0)&255;j=l<<1;if(j>>>0>k>>>0){break a}g=Fi(g,0,k);n=k-l|0;h=n-2|0;j=j+2>>>0>k>>>0?h:l;m=xi[b|0](c,i+16|0,j)|0;if(m){h=m-17536|0;break a}m=a+8|0;p=Al(m);h=g+(h-j|0)|0;o[h|0]=1;s=Gi(h+1|0,i+16|0,j);q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;d:{h=qn(i,d,0);e:{if(h){break e}d=-20736;f:{if(!i){break f}h=q[i>>2];if(!h){break f}d=xi[q[h+16>>2]](q[i+4>>2])|0}h=d;if(d){break e}d=j+s|0;h=Ln(i,d,8);if(h){break e}h=Ln(i,f,e);if(h){break e}h=Ln(i,i+16|0,j);if(h){break e}e=-20736;g:{if(!i){break g}f=q[i>>2];if(!f){break g}e=xi[q[f+24>>2]](q[i+4>>2],d)|0}h=e;if(h){break e}e=!(p+7&7);h=pq(e+g|0,(e^-1)+n|0,d,l,i);if(!h){break d}}fm(i);break a}e=Al(m);o[g|0]=r[g|0]&255>>>(k<<3|1)-e;o[d+l|0]=188;xi[q[68401]](i+16|0,0,64)|0;fm(i);h=Tt(a,b,c,g,g)}ti=i+80|0;return h}function Xt(a,b){Mn(a);q[a>>2]=b;a:{b:{switch(b-1|0){case 0:wn(a,152896,24,0,0,152928,24,152960,24,152992,24,153024,24);break a;case 1:wn(a,153056,32,0,0,153088,28,153120,28,153152,28,153184,28);break a;case 2:wn(a,153216,32,0,0,153248,32,153280,32,153312,32,153344,32);break a;case 3:wn(a,153376,48,0,0,153424,48,153472,48,153520,48,153568,48);break a;case 4:wn(a,153616,68,0,0,153696,68,153776,68,153856,68,153936,68);break a;case 9:q[a+100>>2]=1270;wn(a,154016,24,154040,4,154044,4,154048,24,154080,24,154112,24);break a;case 10:q[a+100>>2]=1271;wn(a,154144,28,154172,4,154176,4,154192,28,154224,28,154256,32);break a;case 11:q[a+100>>2]=1272;wn(a,154288,32,154320,4,154324,4,154336,32,154368,32,154400,32);break a;case 5:wn(a,154432,32,154464,32,154496,32,154528,32,154560,32,154592,32);break a;case 6:wn(a,154624,48,154672,48,154720,48,154768,48,154816,48,154864,48);break a;case 7:wn(a,154912,64,154976,64,155040,64,155104,64,155168,64,155232,64);break a;case 8:q[a+100>>2]=1273;return F_(a);case 12:q[a+100>>2]=1274;return E_(a);default:break b}}Mn(a);return-20096}return 0}function $s(a,b){var c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0,k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=0,s=0;i=q[b+80>>2];j=q[i+3128>>2];b=q[b+140>>2]&32767;if(b>>>0>2]-j>>6>>>0){b=j+(b<<6)|0;l=u[b+32>>2];g=u[b+36>>2];e=u[b+40>>2];h=u[b+16>>2];d=u[b+20>>2];m=u[b+24>>2];f=u[b>>2];n=u[b+4>>2];k=u[b+8>>2];c=u[b+12>>2];o=x(F(x(x(x(x(f*f)+x(n*n))+x(k*k))+x(c*c))));a:{if(o==x(0)){break a}c=u[b+28>>2];p=x(F(x(x(x(x(h*h)+x(d*d))+x(m*m))+x(c*c))));if(p==x(0)){break a}c=u[b+44>>2];c=x(F(x(x(x(x(l*l)+x(g*g))+x(e*e))+x(c*c))));if(c==x(0)){break a}c=x(x(1)/c);e=x(e*c);g=x(g*c);l=x(l*c);c=x(x(1)/p);m=x(m*c);d=x(d*c);h=x(h*c);c=x(x(1)/o);k=x(k*c);n=x(n*c);f=x(f*c)}b=x(x(f+d)+e)f;j=b&(r&i^1);s=d>f;i=b&(i|s);b=b&(s^-1|r);e=x(x((j?x(-e):e)+x((i?x(-f):f)+(b?x(-d):d)))+x(1));d=x(x(x(1)/x(F(e)))*x(.5));c=x(e*d);h=x(x(n-(j?x(-h):h))*d);e=x(x(l-(b?x(-k):k))*d);d=x(x(m-(i?x(-g):g))*d);b:{if(!j){f=d;g=e;e=h;d=c;break b}f=c;g=h}c:{if(!i){h=f;f=g;g=e;e=d;break c}h=g;g=d}u[a+12>>2]=e;u[a+8>>2]=g;u[a+4>>2]=f;u[a>>2]=h;return}J(12518,10061,479,9553);G()}function dM(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+52>>2];d=q[a+48>>2];c=q[d>>2];e=r[d+50|0];if(e){b=q[c+24>>2];g=q[d+24>>2];while(1){e=e-1|0;q[(w(s[((e<<1)+d|0)+172>>1],12)+b|0)+8>>2]=g;if(e){continue}break}o[d+50|0]=0}hE(d,0,0);e=c;b=q[d+24>>2];a:{if(b+1>>>0<=1073741823){b=lj(f,q[c+12>>2],q[c+44>>2]<<2,b<<2);break a}b=Yj(f)}q[e+12>>2]=b;b=q[d+24>>2];q[c+44>>2]=b;e=c;b:{if(b+1>>>0<=1073741823){b=lj(f,q[c+20>>2],q[c+48>>2]<<2,b<<2);break b}b=Yj(f)}q[e+20>>2]=b;q[c+48>>2]=q[d+24>>2];e=c;b=q[d+40>>2];c:{if(b+1>>>0<=268435455){b=lj(f,q[c+8>>2],q[c+40>>2]<<4,b<<4);break c}b=Yj(f)}q[e+8>>2]=b;q[c+40>>2]=q[d+40>>2];e=c;b=q[d+44>>2];d:{if(b+1>>>0<=1073741823){b=lj(f,q[c+16>>2],q[c+52>>2]<<2,b<<2);break d}b=Yj(f)}q[e+16>>2]=b;q[c+52>>2]=q[d+44>>2];e=c;b=p[d+48>>1];e:{if(b+1>>>0<=357913941){b=lj(f,q[c+24>>2],w(q[c+56>>2],12),w(b,12));break e}b=Yj(f)}q[e+24>>2]=b;q[c+56>>2]=p[d+48>>1];q[c+28>>2]=lj(f,q[c+28>>2],q[c+36>>2]<<2,r[c+72|0]<<2);q[c+36>>2]=r[c+72|0];q[a+48>>2]=q[d+8>>2];q[f+8>>2]=q[f+8>>2]-32;if(q[a+16>>2]-285>>>0<=1){c=a;a=q[a+24>>2];no(c,a+16|0,q[a+12>>2])}}function f$(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=ti-96|0;ti=h;a:{if(!q[a+84>>2]){i=-20352;break a}i=-19584;if((uj(d,1)|0)<0){break a}j=a+76|0;if((Lj(d,j)|0)>-1){break a}q[h+56>>2]=0;q[h+48>>2]=1;q[h+52>>2]=0;q[h+68>>2]=0;q[h+60>>2]=1;q[h+64>>2]=0;q[h+80>>2]=0;q[h+72>>2]=1;q[h+76>>2]=0;q[h+40>>2]=0;q[h+32>>2]=1;q[h+36>>2]=0;q[h+24>>2]=0;q[h+16>>2]=1;q[h+20>>2]=0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[h+88>>2]=0;m=a+40|0;k=h+92|0;l=h+88|0;b:{c:while(1){q[k>>2]=0;l=l+4|0;while(1){i=Cx(a,h+32|0,1275,g);if(i){break b}i=bs(a,h+48|0,h+32|0,m,1275,g);if(i){break b}i=Tk(b,h+48|0,j);if(i){break b}k=k+4|0;d:{if(uj(b,0)){i=TA(a,h+16|0,e,f);if(i){break b}i=Cx(a,h,1275,g);if(i){break b}i=Fk(c,b,d);if(i){break b}i=Bl(h+16|0,h+16|0,c);if(i){break b}i=Fk(h+16|0,h+16|0,h);if(i){break b}i=Fk(h+32|0,h+32|0,h);if(i){break b}i=jo(c,h+32|0,j);if(i){break b}i=Fk(c,c,h+16|0);if(i){break b}i=Tk(c,c,j);if(i){break b}i=0;if(uj(c,0)){break b}if(q[l>>2]<=10){continue c}break d}if(q[k>>2]<=10){continue}}break}break}i=-19712}Zl(h+48|0);Si(h+32|0);Si(h+16|0);Si(h)}ti=h+96|0;return i}function Woa(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,t=0,u=0,v=0;h=ti-32|0;ti=h;q[h+24>>2]=0;a:{b:{if(c){while(1){c:{i=w(k,960)+b|0;d:{if(r[i+953|0]&3?0:!(q[i>>2]|q[i+4>>2])){break d}d=q[a+3180>>2];f=q[a+3176>>2];e=d-f|0;if(!e){break d}l=e>>2;g=l-1|0;if(g>>>0>=l>>>0){break b}d=f-d|0;d=((e|0)<(d|0)?d:e)>>>2|0;e=(e|0)>-1?e:-1;e=w(d,(e|0)<1?e:1);u=e>>>0>1?e:1;e=0;while(1){e:{m=q[(g<<2)+f>>2];o=q[m+84>>2];t=q[o+4>>2];if(t){g=0;n=0;f=0;while(1){j=q[(q[o>>2]+w(g,96)|0)+16>>2];if(!j){break a}d=q[j+72>>2];f:{if(!d){break f}v=q[j+100>>2];q[h+12>>2]=i;q[h+8>>2]=m;q[h+16>>2]=q[j+16>>2];q[h+20>>2]=((n<<2)+m|0)+156&v<<15>>31;d=xi[d|0](h+8|0)|0;if((d|0)==1){f=d;break f}if((d|0)==-1e3){break c}}n=(p[j+102>>1]&1)+n|0;g=g+1|0;if((t|0)!=(g|0)){continue}break}if((f|0)==1){break e}}f=e+1|0;if((f|0)==(u|0)){break d}d=l-e|0;e=f;g=d-2|0;f=q[a+3176>>2];if(g>>>0>2]-f>>2>>>0){continue}break b}break}f=Fi(i,0,960);p[f+952>>1]=s[f+952>>1]|1024}k=k+1|0;if((k|0)!=(c|0)){continue}}break}}ti=h+32|0;return}J(12518,10061,479,9553);G()}J(8102,7291,2845,9036);G()}function hI(a,b,c){var d=0,e=0,f=0;e=ti-144|0;ti=e;a:{b:{c:{if((a|0)==(b|0)){break c}if((a+148|0)==(b|0)){d=1;break c}if((a+296|0)==(b|0)){d=2;break c}if((a+444|0)==(b|0)){d=3;break c}if((a+592|0)==(b|0)){d=4;break c}if((a+740|0)==(b|0)){d=5;break c}if((a+888|0)==(b|0)){d=6;break c}if((a+1036|0)==(b|0)){d=7;break c}if((a+1184|0)==(b|0)){d=8;break c}if((a+1332|0)==(b|0)){d=9;break c}if((a+1480|0)==(b|0)){d=10;break c}if((a+1628|0)==(b|0)){d=11;break c}if((a+1776|0)==(b|0)){d=12;break c}if((a+1924|0)==(b|0)){d=13;break c}if((a+2072|0)==(b|0)){d=14;break c}d=15;if((a+2220|0)!=(b|0)){break b}}d:{if((r[b+147|0]>>>7|0)==(c|0)){break d}f=q[a+3464>>2];e:{if(f){if(xi[f|0](d,c,q[a+3468>>2])|0){break e}c=r[b+144|0];f:{if((c|0)==255){o[e+16|0]=0;break f}f=q[q[212969]+3476>>2];d=q[f>>2];if(c>>>0>=q[f+4>>2]-d>>2>>>0){break a}f=a;a=q[d+(c<<2)>>2];xi[q[a+16>>2]](f,a,b,e+16|0,128)}q[e>>2]=e+16;Ai(3,142970,142974,e);break d}Ai(3,142970,143036,0)}$7(a,d,c);o[b+147|0]=r[b+147|0]&127|(c?-128:0)}ti=e+144|0;return}J(143685,143159,87,143687);G()}J(143604,143159,356,143571);G()}function oj(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c=q[a+1408>>2];if((c|0)>=0){c:{if((b|0)>(c|0)){if((b|0)>=25){break a}if(!c){q[a+1404>>2]=0}while(1){d:{e:{f:{g:{c=r[a+1388|0];if(!c){e=0;f=-1;if(q[a+1396>>2]){break c}d=q[a+1392>>2];if((d|0)==-1){q[a+1400>>2]=q[a+1128>>2]-1;if(!Lk(a)){q[a+1396>>2]=1;break c}if(!(o[a+1387|0]&1)){break g}d=q[a+1392>>2]}g=d+1|0;q[a+1392>>2]=g;c=r[(a+d|0)+1132|0];if((c|0)!=255){q[a+1400>>2]=d;q[a+1396>>2]=1}if(q[a+1128>>2]<=(g|0)){q[a+1392>>2]=-1}if(r[a+1388|0]){break f}o[a+1388|0]=c;if(!c){break c}}o[a+1388|0]=c-1;q[a+1412>>2]=q[a+1412>>2]+1;c=q[a+44>>2];h:{if(c){if(c>>>0>=t[a+52>>2]){break e}q[a+44>>2]=c+1;c=r[c|0];break h}c=ej(q[a+32>>2]);if((c|0)==-1){break e}}d=c&255;break d}q[a+112>>2]=32;break c}J(205744,205607,1555,205765);G()}q[a+108>>2]=1;d=0}e=q[a+1408>>2];c=e+8|0;q[a+1408>>2]=c;q[a+1404>>2]=q[a+1404>>2]+(d<(c|0)){continue}break}}if((b|0)>(c|0)){break b}d=q[a+1404>>2];q[a+1404>>2]=d>>>b;f=c-b|0;e=d&(-1<>2]=f}return e}J(205716,205607,1623,205735);G()}return oj(a,24)+(oj(a,b-24|0)<<24)|0}function kJ(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=x(g);var h=0,i=0,j=x(0);a:{b:{c:{d:{e:{f:{if(b>>>0<2097152){i=a&65535;b=q[77547];if(i>>>0>=t[b+32>>2]){break f}a=q[(s[q[b+28>>2]+(i<<1)>>1]==(a>>>16|0)?q[q[b+24>>2]+(i<<2)>>2]:0)>>2];if(a>>>0<=2){h=q[(a<<2)+89860>>2]}ma(h|0,10241,q[(c<<2)+89664>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break e}}ma(h|0,10240,q[(d<<2)+89664>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break d}}ma(h|0,10242,q[(e<<2)+89696>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}ma(h|0,10243,q[(f<<2)+89696>>2]);c=q[77547];d=s[c+156>>1];if(d&64){a=K()|0;if(a){break b}c=q[77547];d=s[c+156>>1]}g:{if(!(d&1)|g>x(1)^1){break g}j=u[c+152>>2];Yb(h|0,34046,x(g>2];d=q[b+8>>2]-q[b+12>>2]>>4;a:{if(q[a+8>>2]==-2){a=0;Ai(3,117469,118311,0);if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(117787,117392,1668,118361);G()}c=q[81756];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;Sj(b,-10002);bj(b,-1e4,q[a+4>>2]);if((Ei(b,-1)|0)!=5){Ci(b,-3);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(117787,117392,1682,118361);G()}c=q[b+8>>2]-q[b+12>>2]>>4;bj(b,c,q[a+12>>2]);if((Ei(b,-1)|0)!=6){Ci(b,-4);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(117787,117392,1696,118361);G()}bj(b,c,q[a+16>>2]);if(!Ei(b,-1)){Ci(b,-5);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(117787,117392,1709,118361);G()}Qi(b,-1);a=q[81756];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;hk(b,-2);$i(b,-10002);if(!Dy(b)){Ci(b,-4);a=q[81756];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=a|0;q[b+8>>2]=q[b+8>>2]+16;hk(b,-2);$i(b,-10002);a=0;if((d|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(117787,117392,1732,118361);G()}a=1;if((d+4|0)==q[b+8>>2]-q[b+12>>2]>>4){break a}J(118375,117392,1736,118361);G()}return a}function EU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;i=ti-1104|0;ti=i;h=-16512;a:{if(q[a+164>>2]!=1){break a}l=q[a+4>>2];if(l-16>>>0>1008){break a}j=q[a+168>>2]-3|0;b:{if(j>>>0<=5){j=q[(j<<2)+273896>>2];break b}j=0}if(!j){break a}k=(j?q[j+8>>2]:0)&255;m=k<<1;if(m+2>>>0>l>>>0){break a}h=Tt(a,b,c,e,i+80|0);c:{if(h){break c}q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;h=qn(i,j,0);if(h){fm(i);break c}d:{a=i+80|1;b=(i+k|0)+81|0;c=(k^-1)+l|0;h=pq(a,k,b,c,i);if(!h){h=pq(b,c,a,k,i);if(!h){break d}}fm(i);break c}fm(i);if(j){h=xi[q[j+28>>2]](0,0,i+16|0)|0}else{h=-20736}if(h){break c}a=a+k|0;e=r[i+80|0];if(k){b=m|1;h=0;while(1){e=r[a|0]^r[(i+16|0)+h|0]|e;a=a+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}a=b+(i+80|0)|0}h=0;j=(l-m|0)-2|0;e:{if(!j){b=0;break e}b=0;c=0;while(1){h=r[a+c|0]|h;b=((h|0-h&128)>>>7^1)+b|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}h=-16640;a=a+b|0;if(e&255|r[a|0]^1){break c}h=-17408;b=a+1|0;a=((i+80|0)-b|0)+l|0;if(a>>>0>g>>>0){break c}q[d>>2]=a;h=0;if(!a){break c}Gi(f,b,a)}xi[q[68401]](i+80|0,0,1024)|0;xi[q[68401]](i+16|0,0,64)|0}ti=i+1104|0;return h}function tX(a){var b=0;b=Jj(a,136086,3);o[b+6|0]=1;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136090,5);o[b+6|0]=2;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136096,2);o[b+6|0]=3;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136099,4);o[b+6|0]=4;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136104,6);o[b+6|0]=5;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136111,3);o[b+6|0]=6;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136115,5);o[b+6|0]=7;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136121,3);o[b+6|0]=8;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136125,8);o[b+6|0]=9;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136134,2);o[b+6|0]=10;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136137,2);o[b+6|0]=11;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136140,5);o[b+6|0]=12;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136146,3);o[b+6|0]=13;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136150,3);o[b+6|0]=14;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136154,2);o[b+6|0]=15;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136157,6);o[b+6|0]=16;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136164,6);o[b+6|0]=17;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136171,4);o[b+6|0]=18;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136176,4);o[b+6|0]=19;o[b+5|0]=r[b+5|0]|32;b=Jj(a,136181,5);o[b+6|0]=20;o[b+5|0]=r[b+5|0]|32;a=Jj(a,136187,5);o[a+6|0]=21;o[a+5|0]=r[a+5|0]|32}function Wn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=ti-32|0;ti=c;mj(a,b,6);a:{b:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){d=q[81756];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);c:{if(!Kl(a,-1)){e=-2;break c}Ni(a,117296,32);e=-2;Vk(a,-2);Xk(a,-2);if(!Ei(a,-1)){Ci(a,-2);break c}Qi(a,-2);zk(a,1,1);if((Ei(a,-1)|0)!=3){break b}e=-3;h=xj(a,-1);Ci(a,-3);Qi(a,b);d=a;if(y(h)<2147483648){b=~~h}else{b=-2147483648}bj(d,-1e4,b);if((Ei(a,-1)|0)!=5){break c}e=-2;hk(a,-2);f=jj(a,20);Ki(a,-10002,117521);d=aj(a,-1);Ci(a,-2);q[f+4>>2]=b;q[f>>2]=d;q[81758]=q[81758]+1;q[f+8>>2]=un(a,-1e4);q[f+12>>2]=un(a,-2);b=q[81756];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);q[f+16>>2]=un(a,-2)}Ci(a,e);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}ti=c+32|0;return f}q[c+12>>2]=g;q[c+4>>2]=1537;q[c+8>>2]=0;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}J(118211,117392,1557,118242);G()}q[c+28>>2]=a;q[c+24>>2]=g;q[c+20>>2]=1537;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function cE(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{d=q[b+8>>2];if((d|0)!=q[c+8>>2]){break b}c:{switch(d-3|0){case 0:return v[b>>3]>3];case 1:d=q[b>>2];a=d+16|0;c=q[c>>2];e=c+16|0;b=Ft(a,e);d:{if(b){break d}d=q[d+12>>2];c=q[c+12>>2];while(1){b=Ui(a);if((b|0)==(c|0)){b=0;break d}if((b|0)==(d|0)){b=-1;break d}b=b+1|0;c=c-b|0;d=d-b|0;a=a+b|0;e=b+e|0;b=Ft(a,e);if(!b){continue}break}}return b>>>31|0;default:break c}}d=Pk(a,b,13);if(!q[d+8>>2]){break b}if(!Po(d,Pk(a,c,13))){break b}g=q[a+32>>2];h=q[d+4>>2];f=q[a+8>>2];e=f;q[e>>2]=q[d>>2];q[e+4>>2]=h;q[e+8>>2]=q[d+8>>2];e=q[b+4>>2];d=q[a+8>>2];q[d+16>>2]=q[b>>2];q[d+20>>2]=e;q[d+24>>2]=q[b+8>>2];d=q[c+4>>2];b=q[a+8>>2];q[b+32>>2]=q[c>>2];q[b+36>>2]=d;q[b+40>>2]=q[c+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=48){vk(a,3);b=q[a+8>>2]}q[a+8>>2]=b+48;El(a,b,1);b=q[a+8>>2]-16|0;q[a+8>>2]=b;d=q[b+4>>2];c=q[a+32>>2]+(f-g|0)|0;q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];e:{f:{a=q[a+8>>2];b=q[a+8>>2];switch(b|0){case 0:break a;case 1:break f;default:break e}}return q[a>>2]!=0}return 1}b=lE(a,b,c)}return b}function OD(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{if(e){while(1){d:{e:{if(e>>>0<=g>>>0){i=0;break e}h=e-g|0;i=0;while(1){if(r[d+g|0]!=32){break e}g=g+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}g=e;break d}if((e|0)==(g|0)){g=e;break d}h=d+g|0;f=o[h|0];f:{g:{if(!((f|0)!=13|e-g>>>0<2)){if(r[h+1|0]==10){break f}f=13;if(!i){break g}return-44}if((f|0)==10){break f}h=-44;if(i){break b}if((f|0)==61){f=61;k=k+1|0;if(k>>>0<=2){break g}break b}if((f|0)<0){break b}}h=-44;f=r[(f&255)+155584|0];if((f|0)==127|(f>>>0<64?k:0)){break b}j=j+1|0}g=g+1|0;if(g>>>0>>0){continue}}break}if(j){break c}}q[c>>2]=0;return 0}e=w(j>>>3|0,6)-k+(w(j&7,6)+7>>>3)|0;if(!a|e>>>0>b>>>0){break a}b=a;if(g){h=3;j=0;e=0;while(1){f=r[d|0];i=f-10|0;if(!(1<>>0<=22:0)){i=r[f+155584|0]&63|j<<6;f=h-((f|0)==61)|0;h:{i:{e=e+1|0;if((e|0)==4){e=0;if(!f){h=0;break h}o[b|0]=j>>>10;h=1;if((f|0)==1){break i}h=2;o[b+1|0]=j>>>2;if(f>>>0<3){break i}o[b+2|0]=i;b=b+3|0}h=f;break h}b=b+h|0}j=i}d=d+1|0;g=g-1|0;if(g){continue}break}}q[c>>2]=b-a;h=0}return h}q[c>>2]=e;return-42}function tI(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(w(e,576)+f|0)+552>>1]!=(b>>>16|0)){break b}d=w(e,576)+f|0;if(s[d+554>>1]!=(b&65535)){break a}b=q[d+412>>2];q[d+412>>2]=b&-262145|c<<18&262144;c:{if(!(c&1)|(b>>>4&15)-5>>>0<2){break c}b=w(e,576)+f|0;c=q[b+424>>2];d=q[b+428>>2];d:{e:{b=q[a+132>>2];f:{if(!b){break f}b=q[q[a+128>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break f}g=q[a+136>>2];while(1){h=g+w(b,24)|0;if((c|0)==q[h>>2]&(d|0)==q[h+4>>2]){break e}b=q[h+20>>2];if((b|0)!=-1){continue}break}}b=q[a+164>>2];if(!b){break c}b=q[q[a+160>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}a=q[a+168>>2];while(1){g=a+w(b,40)|0;if((c|0)==q[g>>2]&(d|0)==q[g+4>>2]){break d}b=q[g+32>>2];if((b|0)!=-1){continue}break}break c}a=g+w(b,24)|0;if(!q[a+8>>2]){break c}b=w(e,576)+f|0;u[b+64>>2]=s[a+16>>1];u[b+68>>2]=s[a+18>>1];return}c=w(e,576)+f|0;a=a+w(b,40)|0;u[c+64>>2]=t[a+16>>2];u[c+68>>2]=t[a+20>>2]}return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Ai(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=ti-4080|0;ti=e;a:{b:{if(q[71998]>(a|0)){break b}g=r[277316];if(q[215621]?0:!g){break b}q[e+4076>>2]=d;if(a>>>0>=6){break a}q[e+20>>2]=b;q[e+16>>2]=q[(a<<2)+287996>>2];f=e+80|0;d=hj(f,3984,166373,e+16|0);c:{d:{if(d>>>0>3983){break d}d=iq(d+f|0,3984-d|0,c,q[e+4076>>2])+d|0;if(d>>>0>3983){break d}d=hj(d+f|0,3984-d|0,166381,0)+d|0;if(d>>>0<3984){break c}}c=q[71997];Et((f-Ui(c)|0)+3983|0,c)}o[e+4063|0]=0;c=(d|0)<3983?d:3983;e:{if(!g){break e}f:{if((a&-2)==4){Rl(e+80|0,1,c,q[52088]);break f}Rl(f,1,c,q[52087])}d=q[215623];if(!d){break e}g=q[215617];if((g|0)>33554431){break e}q[215617]=c+g;Rl(f,1,c,d);ro(q[215623])}if(q[215618]<1){break b}while(1){c=q[215619];q[215619]=c?c:1;if(c){continue}break}if(q[215618]>=1){if(!q[q[215620]+32>>2]){while(1){c=q[215622];q[215622]=c?c:1;if(c){continue}break}d=q[215621];if((d|0)>=1){while(1){c=d-1|0;xi[q[(c<<2)+862496>>2]](a,b,f);g=(d|0)>1;d=c;if(g){continue}break}}q[e>>2]=f;q[215622]=0}}q[215619]=0}ti=e+4080|0;return}J(166339,166341,634,166361);G()}function yga(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;c=-13;a:{b:{c:{d:{if(!Cj(q[a+12>>2],q[a+16>>2],q[62558],e+12|0)){nk(q[a+20>>2],q[q[e+12>>2]+64>>2]);c=q[e+12>>2];b=q[c>>2];if(r[b|0]){nk(q[a+20>>2],b);c=q[e+12>>2]}d=q[c+8>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break d}nk(q[a+20>>2],q[(q[c+4>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+8>>2];if(b>>>0>>0){continue}break}}d=q[c+16>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break c}nk(q[a+20>>2],q[(q[c+12>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+16>>2];if(b>>>0>>0){continue}break}}d=q[c+96>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break b}nk(q[a+20>>2],q[(q[c+92>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+96>>2];if(b>>>0>>0){continue}break}}d=q[c+104>>2];if(d){b=0;while(1){if(b>>>0>=d>>>0){break a}nk(q[a+20>>2],q[(q[c+100>>2]+(b<<3)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+104>>2];if(b>>>0>>0){continue}break}}q[q[a+24>>2]>>2]=c;c=0}ti=e+16|0;return c|0}J(55673,55685,245,55709);G()}J(55673,55685,253,55709);G()}J(55673,55685,297,55709);G()}J(55673,55685,305,55709);G()}function x5(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=ti-48|0;ti=c;l=q[a+8>>2]-q[a+12>>2]>>4;a:{e=aj(a,1);f=q[e>>2];if(f){h=zi(Wi(a,2,0));i=wi;b:{c:{if((Ei(a,3)|0)==5){g=jj(a,24);Ki(a,-1e4,112924);ij(a,-2);Qi(a,-1);b=un(a,-1e4);Ci(a,-2);q[g+16>>2]=b;q[g+8>>2]=h;q[g+12>>2]=i;q[g>>2]=f;d=e+4|0;b=q[e+28>>2];if((b|0)==((q[e+20>>2]-q[e+12>>2]|0)/40|0)){DH(d,4,b+1|0)}EH(d,h,i,g);Qi(a,3);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(rj(a,-2)){while(1){if(!Bj(a,-2)){q[c>>2]=Mi(h,i);b=Bi(a,115009,c);break b}d=Ok(a,-2);if((d|0)<=0){f=Mi(h,i);q[c+20>>2]=d;q[c+16>>2]=f;b=Bi(a,115054,c+16|0);break b}b=d-1|0;j=f;m=h;n=i;d:{if(xs(a,-1)){b=b<<2;e=9;g=4;k=Fm(a,-1);break d}e=0;g=1;k=am(a,-1)}if(Wy(j,m,n,k,g,b,e)){f=Mi(h,i);q[c+36>>2]=d;q[c+32>>2]=f;b=Bi(a,115105,c+32|0);break b}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);break c}e:{if(xs(a,3)){b=9;d=4;j=Fm(a,3);break e}d=1;j=am(a,3)}Wy(f,h,i,j,d,0,b)}b=0;if(q[a+8>>2]-q[a+12>>2]>>4!=(l|0)){break a}}ti=c+48|0;return b|0}J(114916,110389,199,114973);G()}J(110492,110389,254,114973);G()}function _F(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=ti-48|0;ti=h;q[e>>2]=0;a:{b:{c:{d:{e:{i=q[a>>2];g=q[i+4>>2];f:{if(!g){break f}g=q[q[i>>2]+(Qwa(c,d,g)<<2)>>2];if((g|0)==-1){break f}j=q[i+8>>2];while(1){k=w(g,48)+j|0;if(q[k>>2]==(c|0)&(d|0)==q[k+4>>2]){break e}g=q[k+40>>2];if((g|0)!=-1){continue}break}}c=q[i+24>>2];if((c|0)!=((q[i+16>>2]-q[i+8>>2]|0)/48|0)){break d}q[h>>2]=c;q[h+4>>2]=q[60712];Ai(4,24387,25246,h);a=-11;break a}g:{a=q[a+4>>2];c=q[a+4>>2];h:{if(!c){break h}b=q[(w(g,48)+j|0)+16>>2];f=q[q[a>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((f|0)==-1){break h}a=q[a+8>>2];while(1){c=a+w(f,24)|0;if((b|0)==q[c>>2]){break g}f=q[c+16>>2];if((f|0)!=-1){continue}break}}J(26723,24451,1130,26782);G()}a=w(g,48)+j|0;q[a+36>>2]=q[a+36>>2]+1;q[e>>2]=b;break c}c=Km(b,46);if(!c){q[h+16>>2]=b;Ai(3,24387,26806,h+16|0);a=-4;break a}b=c+1|0;c=q[a+5136>>2];if(!c){break b}g=0;while(1){if(nj(b,q[(w(g,40)+a|0)+24>>2])){g=g+1|0;if((c|0)!=(g|0)){continue}break b}break}q[f>>2]=(w(g,40)+a|0)+16}a=0;break a}q[h+32>>2]=b;Ai(4,24387,26861,h+32|0);a=-7}ti=h+48|0;return a}function EH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/40|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,40)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+32>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+40;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,40)|0;q[a+20>>2]=q[e+32>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;q[e+32>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,40)|0;f=q[b+32>>2];if((f|0)!=-1){continue}break}q[b+32>>2]=(e-d|0)/40;break a}J(115316,115179,229,115324);G()}c=q[d+4>>2];a=g+w(f,40)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(115328,115179,535,115390);G()}q[b>>2]=(e-d|0)/40}q[a+24>>2]=q[a+24>>2]+1} -function Bea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-112|0;fi=b;d=Ti(b+88|0,a,0,72665,618);e=Kj(a);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;ok(a,1,b+56|0,b+24|0);c=b;a:{if((ri(a,2)|0)==1){a=Fj(a,2);break a}q[b>>2]=2;a=ni(a,73176,b)}o[c+16|0]=(a|0)!=0;a=q[61042];Zj(b+24|0,b+56|0,q[a+8>>2],q[a+12>>2],e,a,b+16|0,1);Si(d);fi=b+112|0;return 0}function wq(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(b){if(!c){break a}b:{if(a){break b}a=q[c>>2];if(a){break b}return 0}while(1){e=a+1|0;f=r[a|0];d=b;c:{while(1){g=r[d|0];if(!g){break c}d=d+1|0;if((f|0)!=(g|0)){continue}break}a=e;continue}break}if(!f){q[c>>2]=0;return 0}while(1){f=e+1|0;g=r[e|0];d=b;d:{while(1){h=r[d|0];if((g|0)==(h|0)){if(g){break d}q[c>>2]=0;return a}d=d+1|0;if(h){continue}break}e=f;continue}break}o[e|0]=0;q[c>>2]=f;return a}J(150071,150085,85,150110);G()}J(150119,150085,86,150110);G()}function my(a){var b=0,c=0,d=0;b=fi-32|0;fi=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){ms(a);b:{if((ri(a,-1)|0)!=5){oi(a,-3);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;break b}ak(a,-2);Tj(a,-2);ak(a,-2);oi(a,-2)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}fi=b+32|0;return}q[b+12>>2]=c;q[b+4>>2]=1200;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1200;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function Nca(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=qi(Ci(172),0,172);if(c>>>0<=8){if(c){while(1){a=w(g,20);d=a+b|0;e=q[d>>2];a=a+f|0;p[a+6>>1]=65535;p[a+4>>1]=g;q[a>>2]=e;i=q[d+8>>2];p[a+8>>1]=i;e=q[d+12>>2];q[a+12>>2]=e;d=r[d+16|0];p[a+10>>1]=h;o[a+16|0]=d;a=1;a:{if(e>>>0<2){break a}a=2;if((e&-2)==2){break a}a=4;if(e-4>>>0<3){break a}J(79249,79164,1434,81247);G()}h=w(a,i)+h|0;p[f+162>>1]=h;g=g+1|0;if((g|0)!=(c|0)){continue}break}}p[f+160>>1]=c;return f|0}J(81159,79164,1451,81220);G()}function rF(a,b){var c=0,d=0;c=fi-32|0;fi=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-2){ms(a);b:{if((ri(a,-1)|0)!=5){oi(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}Xi(a,-1,b);ak(a,-2);oi(a,-2)}b=d+1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)!=(a|0)){break a}fi=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=1289;q[c+8>>2]=1;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}q[c+28>>2]=a;q[c+24>>2]=b;q[c+20>>2]=1289;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function Ql(a){var b=0;if((a|0)<=0){a=a+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+259248>>2];break a}a=123969}return a}b=125193;b:{c:{switch(a-2|0){case 28:return 125216;case 0:return 125234;case 12:return 125252;case 11:return 125271;case 13:return 125271;default:if((a|0)==73){break b};case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10: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:b=Uk(a);break;case 1:break c}}return b}return 125278}function Hp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{f=q[a+12>>2];if(!f){break b}d=q[f+4>>2];e=q[f>>2];g=d-e|0;if(!g){break b}if((d|0)!=(e|0)){h=g>>3;g=0;while(1){e=(g<<3)+e|0;c:{if(!(q[e>>2]!=(b|0)|q[e+4>>2]!=(c|0))){d=d-8|0;i=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=i;d=q[f+4>>2]-8|0;q[f+4>>2]=d;if(d>>>0>2]){break a}h=h-1|0;break c}g=g+1|0}if(g>>>0>=h>>>0){break b}f=q[a+12>>2];d=q[f+4>>2];e=q[f>>2];if(d-e>>3>>>0>g>>>0){continue}break}}J(27799,26974,447,27810);G()}return}J(28032,26974,484,28022);G()}function xua(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!r[b|0]){break a}if(c>>>0<4){break c}while(1){d=q[b>>2];if((d^-1)&d-16843009&-2139062144){break c}q[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}qi(a,0,c)}function IJ(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;a:{if(!b){q[d>>2]=c;mi(3,58457,58465,d);e=-13;break a}h=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(h){while(1){g=Y5(b,f);e=Ij(a,g,d+44|0);if(e){q[d+36>>2]=c;q[d+32>>2]=g;mi(4,58457,58502,d+32|0);break a}zG(b,f,q[d+44>>2]);g=_5(b,f);e=Ij(a,g,d+40|0);if(e){q[d+20>>2]=c;q[d+16>>2]=g;mi(4,58457,58552,d+16|0);break a}BG(b,f,q[d+40>>2]);if(q[q[d+40>>2]+104>>2]){mi(4,58457,58603,0);e=-15;break a}f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=0}fi=d+48|0;return e}function dB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;f=(ywa(a),uwa(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;v[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(y(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){v[b>>3]=x(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;v[e+8>>3]=(vwa(2,h-(c<<23)|0),zwa());c=jM(e+8|0,e,c,1,0);d=v[e>>3];if((f|0)<=-1){v[b>>3]=-d;c=0-c|0;break a}v[b>>3]=d}fi=e+16|0;return c}function RZ(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=rM(128798);nn(b);a:{b:{if(!a){a=q[b+60>>2];q[c>>2]=d&-524481;a=P(a|0,4,c|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}if((a|0)>=0){break a}break b}a=sk(a,128798);if(!a){break b}c:{e=q[b+60>>2];f=q[a+60>>2];d:{if((e|0)==(f|0)){q[a+60>>2]=-1;break d}if((Nua(f,e,d&524288)|0)<0){break c}}q[b>>2]=q[a>>2]|q[b>>2]&1;q[b+32>>2]=q[a+32>>2];q[b+36>>2]=q[a+36>>2];q[b+40>>2]=q[a+40>>2];q[b+12>>2]=q[a+12>>2];Qj(a);break a}Qj(a)}Qj(b);b=0}fi=c+16|0;return b}function Lqa(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=b-2|0;b=s[e>>1];if((b|0)==8){ki(e);return}a:{b:{if(b>>>0<8){g=(b<<2)+a|0;f=q[g+96>>2];if(!f){break b}d=w(b,12)+a|0;h=q[d>>2];if(!h){break a}i=d;d=h-1|0;q[i>>2]=d;c:{if(!d){if(!b){break c}ki(f);q[g+96>>2]=0;return}c=c+3&-2;a=w(b,12)+a|0;b=q[a+4>>2];if((b+f|0)==(e|0)){q[a+4>>2]=b+(c&65535);return}b=q[a+8>>2]-(c&65535)|0;if((b+f|0)!=(e|0)){break c}q[a+8>>2]=b}return}J(29004,29034,111,29061);G()}J(29066,29034,114,29061);G()}J(29079,29034,116,29061);G()}function up(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!c){break a}g=q[a+4>>2];e=g;h=q[a>>2];d=c+h|0;e=d>>>0>>0?e+1|0:e;f=a;q[a>>2]=d;q[a+4>>2]=e;if((e|0)==(g|0)&d>>>0>>0|e>>>0>>0){d=q[a+12>>2];e=q[a+8>>2]+1|0;d=e>>>0<1?d+1|0:d;q[a+8>>2]=e;q[f+12>>2]=d}f=h&127;b:{if(!f){break b}d=128-f|0;if(d>>>0>c>>>0){i=f;break b}g=f;f=a+80|0;si(g+f|0,b,d);Jr(a,f);c=c-d|0;b=b+d|0}if(c>>>0>=128){while(1){Jr(a,b);b=b+128|0;c=c-128|0;if(c>>>0>127){continue}break}}if(!c){break a}si((a+i|0)+80|0,b,c)}return 0}function fma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;a:{b:{c:{b=q[a+64>>2];e=q[b+20>>2];c=q[b+24>>2];d:{if((e|0)!=(c|0)){f=q[b+16>>2];if(!f){break c}if(c>>>0>=e>>>0){break b}q[b+24>>2]=c+1;c=q[(c<<2)+f>>2];e=q[b+4>>2];b=q[b>>2];if(c>>>0>=(e-b|0)/24>>>0){break a}b=b+w(c,24)|0;q[b>>2]=q[a+60>>2];q[q[a+72>>2]>>2]=b;a=0;break d}q[d>>2]=(q[b+4>>2]-q[b>>2]|0)/24;mi(4,33354,33362,d);a=-1e3}fi=d+16|0;return a|0}J(34203,34129,151,34210);G()}J(34214,34129,152,34210);G()}J(33675,33686,447,33664);G()}function Dma(a,b,c,d){var e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;e=q[a>>2];q[f+12>>2]=b;g=e+4164|0;a:{a=q[e+4168>>2];b:{if(!a){break b}a=q[q[g>>2]+(lwa(c,d,a)<<2)>>2];if((a|0)==-1){break b}h=q[e+4172>>2];while(1){a=(a<<4)+h|0;if(q[a>>2]==(c|0)&q[a+4>>2]==(d|0)){a=-3;break a}a=q[a+12>>2];if((a|0)!=-1){continue}break}}a=-4;if(q[b+96>>2]!=q[72440]|q[b+100>>2]!=q[72441]){break a}q[b+96>>2]=c;q[b+100>>2]=d;Iq(g,c,d,f+12|0);a=0;if(t[e+4188>>2]<=s[e+2078>>1]){break a}J(7759,7150,940,8050);G()}fi=f+16|0;return a}function Ala(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;a:{b:{c:{b=q[a+64>>2];e=q[b+20>>2];c=q[b+24>>2];d:{if((e|0)!=(c|0)){f=q[b+16>>2];if(!f){break c}if(c>>>0>=e>>>0){break b}q[b+24>>2]=c+1;c=q[(c<<2)+f>>2];e=q[b+4>>2];b=q[b>>2];if(c>>>0>=(e-b|0)/24>>>0){break a}b=b+w(c,24)|0;q[b>>2]=q[a+60>>2];q[q[a+72>>2]>>2]=b;a=0;break d}q[d>>2]=(q[b+4>>2]-q[b>>2]|0)/24;mi(4,37929,37937,d);a=-1e3}fi=d+16|0;return a|0}J(38641,38545,151,38648);G()}J(38652,38545,152,38648);G()}J(38619,38404,447,38630);G()}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;a:{if(!e){break a}f=b;g=f+e|0;c=g>>>0>>0?c+1|0:c;h=g;f=g;g=q[a+72>>2];i=q[g+76>>2];f=!c&i>>>0>>0|(c|0)!=0;h=f?h:i;c=f?c:0;i=c;if(!c&h>>>0>2147483647|c){break a}c=q[g+80>>2];b:{if(!i&h>>>0<=c>>>0){c=q[g+72>>2];break b}c=c>>>0>64?c:64;while(1){f=c;c=c<<1;if(!i&f>>>0>>0|i){continue}break}c=ji[q[a+48>>2]](q[a+52>>2],q[g+72>>2],1,f)|0;if(!c){break a}q[g+80>>2]=f;q[g+72>>2]=c}si(b+c|0,d,e);q[g+76>>2]=h;j=e}return j|0}function yL(a,b,c,d,e){var f=0,g=0,h=0;if(ri(a,b)){vj(a,b,5);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Tj(a,b);if(ri(a,-1)){h=1;while(1){f=AE(a);if((f|0)!=-1){if((f|0)>=1024){Mj(a,b,123908)}g=(f>>>3&536870908)+d|0;q[g>>2]=q[g>>2]|1<>2];if(!((f|0)<=(g|0)?(g|0)!=-1:0)){q[e>>2]=f}g=q[a+8>>2];q[g+8>>2]=3;v[g>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-2);Wi(a,c)}oi(a,-2);f=q[a+8>>2];q[f+8>>2]=3;h=h+1|0;v[f>>3]=h|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,b);if(ri(a,-1)){continue}break}}oi(a,-2)}}function w0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=0,i=x(0);e=fi-48|0;fi=e;b=yi(a,1,q[210277],0);c=u[b>>2];f=u[b+4>>2];a:{b:{if(c!=c|f!=f){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];g=u[b+12>>2];v[e+16>>3]=f;v[e+32>>3]=g;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=1;ni(a,120877,e)}h=Ai(a,2);c=u[b+12>>2];f=u[b>>2];d=u[b+4>>2];g=u[b+8>>2];b=bj(a,16);i=c;c=x(h);u[b+12>>2]=i/c;u[b+8>>2]=g/c;u[b+4>>2]=d/c;u[b>>2]=f/c;zi(a,-1e4,120672);aj(a,-2);fi=e+48|0;return 1}function l_(a){var b=0,c=0,d=0;d=fi-16|0;fi=d;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{b=Ct(a+16|0,145096);if(b){break b}c=a+4|0;b=gk(c,1);if(b){break b}b=Um(c,224);if(b){break b}b=tl(c,c,1);if(b){break b}b=Um(c,224);if(b){break b}b=tl(c,c,1);if(b){break b}q[a+88>>2]=ul(c);b=gk(a+40|0,5);if(b){break b}b=gk(a- -64|0,1);if(b){break b}Ji(a+52|0);c=a+76|0;b=zo(c,446,1);if(b){break b}b=Ct(d,145101);if(b){break b}b=fl(c,c,d);if(b){break b}q[a+92>>2]=447;Ji(d);b=0;break a}Ji(d);Gn(a)}fi=d+16|0;return b}function j7(){var a=0,b=0,c=0;a:{a=q[239954];if((a|0)!=q[239953]){q[239972]=q[a-12>>2];c=q[a-4>>2];o[959908]=0;q[239973]=c;b:{c:{if(o[a-8|0]&1){a=J6(q[a-16>>2]);break c}if(!q[a-32>>2]){a=-1;break b}b=a-28|0;a=T6(q[b>>2],q[a-20>>2],q[a-24>>2],a-40|0);b=q[b>>2]}q[239976]=b}b=!a;o[959908]=b;c=q[239954];if((c|0)==q[239953]){break a}q[239954]=c-40;c=q[239976];if(!(a|!c)){Q3(q[239951],c);A3(q[q[239976]>>2],q[239975]);b=r[959908]}ji[q[239973]]((b|0)!=0,q[239972])}return}J(195641,195652,516,195731);G()}function Zl(a,b,c,d,e,f){var g=0,h=0,i=0,j=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){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=j|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function Qo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=a+1880|0;a:{g=a+1888|0;c=q[g>>2];e=a+1884|0;d=q[e>>2];h=(c-d|0)/48|0;if(h>>>0>>0){if(o[a+1892|0]&1){break a}d=(c-q[a+1880>>2]|0)/48|0;c=b-h|0;vi(d+(c>>>0>256?c:256)|0,48,f,g,e);if(o[a+1956|0]&1){break a}vi((q[a+1888>>2]-q[a+1880>>2]|0)/48|0,4,a+1944|0,a+1952|0,a+1948|0);d=q[a+1884>>2];c=q[a+1888>>2]}a=q[f>>2];b=((d-a|0)/48|0)+b|0;if((c-a|0)/48>>>0>=b>>>0){q[e>>2]=a+w(b,48);return d}J(104075,103940,474,104094);G()}J(103865,103940,461,104019);G()}function Lv(a,b){var c=0;a:{if((r[a|0]|r[a+1|0]<<8)!=17011|b>>>0<78|((r[a+2|0]|r[a+3|0]<<8)!=19|(r[a+4|0]|r[a+5|0]<<8)!=77)){break a}if(!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))|(!(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))|(r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24))+77>>>0>b>>>0)){break a}c=a+65|0;if((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=b>>>0){break a}return b-(r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=w(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16),23)>>>0}return 0}function K3(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[a+4>>2];d=q[f+16>>2];g=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=q[f+28>>2];h=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);e=w(g,h);a:{if(o[a+40|0]&1){a=q[f+24>>2];d=f+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0;break a}d=q[q[a+8>>2]+1024>>2]}k=e+d|0;e=d;if(g){a=g;while(1){i=a>>>1|0;f=(i<<6)+e|0;j=(ej(b,f,h)|0)>-1;e=j?f- -64|0:e;a=j?(i^-1)+a|0:i;if(a){continue}break}}if((e|0)!=(k|0)){if(!ej(e,b,h)){return-5}g=e-d>>>6|0}q[c>>2]=g;return 0}function FC(a,b,c){var d=0;d=fi-16|0;fi=d;if((ri(a,3)|0)!=5){WA(a,q[65293])}wi(a,124113);Tj(a,3);if(!$j(a,-1)){Mj(a,3,124123)}if(!dt(_i(a,-1,0),d+8|0)){Mj(a,3,124157)}wi(a,124188);Tj(a,3);if(!$j(a,-1)){Mj(a,3,124198)}q[d+12>>2]=0;a:{if(!Ej(_i(a,-1,0),124081)){break a}if(dt(_i(a,-1,0),d+8|4)){break a}Mj(a,3,124232)}b:{if((sl(q[b>>2],0,c,d+8|0,8)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=d+16|0;return a}function TV(a,b,c){var d=0,e=0,f=0,g=0;d=fi-288|0;fi=d;GD(d+8|0);f=FD(d+8|0,b,c);if(!f){b=q[d+8>>2];q[a>>2]=b;c=(b|0)==4;b=(d+8|0)+(c<<6)|0;q[a+4>>2]=q[b+196>>2];q[a+8>>2]=q[b+200>>2];q[a+12>>2]=q[b+204>>2];q[a+16>>2]=q[b+208>>2];g=a+20|0;e=c<<3|22;c=b+188|0;while(1){a=g;b=c;q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];c=b-8|0;g=a+8|0;e=e-1|0;if(e){continue}break}q[a+8>>2]=q[b-16>>2];q[a+12>>2]=q[b-12>>2];q[a+16>>2]=q[c>>2];q[a+20>>2]=q[b-4>>2]}a=d+8|0;if(a){ji[q[66742]](a,0,276)|0}fi=d+288|0;return f}function QQ(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;a:{if(a>>>0>6){break a}if((a|0)==6){if(b){a=q[52831];q[d+8>>2]=q[52830];q[d+12>>2]=a;a=q[52829];q[d>>2]=q[52828];q[d+4>>2]=a;a=0;while(1){c=cB(b,59);e=c-b|0;if((e|0)<=15){si(d,b,e);o[d+e|0]=0;b=r[c|0]?c+1|0:b}vC(a,d);a=a+1|0;if((a|0)!=6){continue}break}}b=963360;a=0;while(1){c=q[(a<<2)+963496>>2];e=c?c+8|0:211328;c=Fi(e);si(b,e,c);c=b+c|0;o[c|0]=59;b=c+1|0;a=a+1|0;if((a|0)!=6){continue}break}o[c|0]=0;c=963360;break a}c=vC(a,b)}fi=d+16|0;return c}function mG(a,b,c,d){var e=x(0),f=0,g=0,h=0;a:{f=q[a>>2];a=q[a+4>>2];if((f|0)==(a|0)){break a}h=a-f>>4;a=0;while(1){g=(a<<4)+f|0;if((b|0)==q[g>>2]&q[g+4>>2]==(c|0)){b=(a<<4)+f|0;if(!q[b+8>>2]){break a}a=d;b=q[b+12>>2];e=u[b>>2];b:{if(e=x(0)){c=~~e>>>0;break b}c=0}q[a>>2]=c;a=d;e=u[b+4>>2];c:{if(e=x(0)){c=~~e>>>0;break c}c=0}q[a+4>>2]=c;e=u[b+8>>2];d:{if(e=x(0)){a=~~e>>>0;break d}a=0}q[d+8>>2]=a;return}a=a+1|0;if(h>>>0>a>>>0){continue}break}}}function sea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=Fj(a,2);b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[62662];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,4);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(73431,73452,237,73493);G()}fi=c+80|0;return 0}function qea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=Fj(a,2);b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);d=q[62678];Zj(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,4);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(73431,73452,276,73513);G()}fi=c+80|0;return 0}function P7(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+4>>2];if(c){b:{g=q[a>>2]+((b>>>0)%(c>>>0)<<2)|0;d=q[g>>2];if((d|0)!=-1){c=0;e=q[a+8>>2];f=e+w(d,12)|0;if(q[f>>2]==(b|0)){break a}break b}J(111887,111608,337,111881);G()}while(1){d=q[(w(d,12)+e|0)+8>>2];if((d|0)!=-1){c=f;f=w(d,12)+e|0;if(q[f>>2]!=(b|0)){continue}break a}break}J(111911,111608,363,111881);G()}J(111860,111608,331,111881);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(d,12)+e|0;q[(c?c+8|0:g)>>2]=q[b+8>>2];c=q[a+20>>2];q[a+20>>2]=d;q[b+8>>2]=c}function Gj(a,b){var c=0,d=0;d=fi-16|0;fi=d;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}a=c;b=1;if(q[a+8>>2]!=3){b=(Lt(a,d)|0)!=0}fi=d+16|0;return b}function Bo(a,b){a:{b:{switch((b-65>>>0<26?b|32:b)-97|0){case 2:a=(a|0)==127|a>>>0<32;break a;case 3:a=a-48>>>0<10;break a;case 11:a=a-97>>>0<26;break a;case 15:a=a-33>>>0>=94?0:!((a|32)-97>>>0<26?1:a-48>>>0<10);break a;case 18:a=(a|0)==32|a-9>>>0<5;break a;case 20:a=a-65>>>0<26;break a;case 22:a=(a|32)-97>>>0<26?1:a-48>>>0<10;break a;case 23:a=a-48>>>0<10|(a|32)-97>>>0<6;break a;case 25:a=!a;break a;default:return(a|0)==(b|0);case 0:break b}}a=(a|32)-97>>>0<26}return b-97>>>0<26?a:!a} +function o7(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[a+44>>2];if(d){while(1){c=q[q[a+40>>2]+(e<<2)>>2];if((c|0)!=-1){while(1){c=q[a+48>>2]+w(c,960)|0;a:{b:{if(u[c+8>>2]!=x(0)){break b}d=q[c+948>>2];if(d&48|d&526|(q[c+796>>2]|q[c+532>>2]>0)){break b}if(q[c>>2]|q[c+4>>2]){break a}if(q[c+28>>2]){break b}if(!(q[c+32>>2]|d&256)){break a}}xi[12](q[c>>2],q[c+4>>2],c+8|0,b)}c=q[c+952>>2];if((c|0)!=-1){continue}break}d=q[a+44>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}c=q[a+12>>2];d=q[a+16>>2];if((c|0)!=(d|0)){while(1){f=q[(g<<2)+c>>2];c:{if(!f){break c}e=q[f+312>>2];if(!e){break c}d=0;while(1){c=q[q[f+308>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){c=q[f+316>>2]+w(c,960)|0;d:{e:{if(u[c+8>>2]!=x(0)){break e}e=q[c+948>>2];if(e&48|e&526|(q[c+796>>2]|q[c+532>>2]>0)){break e}if(q[c>>2]|q[c+4>>2]){break d}if(q[c+28>>2]){break e}if(!(q[c+32>>2]|e&256)){break d}}xi[12](q[c>>2],q[c+4>>2],c+8|0,b)}c=q[c+952>>2];if((c|0)!=-1){continue}break}e=q[f+312>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}c=q[a+12>>2];d=q[a+16>>2]}g=g+1|0;if(g>>>0>2>>>0){continue}break}}}function dx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=ti-208|0;ti=e;q[e+8>>2]=1;q[e+12>>2]=0;a:{i=w(b,c);if(!i){break a}q[e+16>>2]=c;q[e+20>>2]=c;j=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;q[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+j|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){Yw(a,c,d,b,e+16|0);Jt(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(t[(e+16|0)+(h<<2)>>2]>=f-a>>>0){Ct(a,c,d,e+8|0,b,0,e+16|0);break d}Yw(a,c,d,b,e+16|0)}if((b|0)==1){Kt(e+8|0,1);b=0;break c}Kt(e+8|0,h);b=1}g=q[e+8>>2]|1;q[e+8>>2]=g;a=a+c|0;if(f>>>0>a>>>0){continue}break}}Ct(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(q[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=Nwa(q[e+8>>2]-1|0);if(!f){f=Nwa(q[e+12>>2]);f=f?f+32|0:0}Jt(h,f);g=q[e+8>>2];b=b+f|0;break e}Kt(e+8|0,2);q[e+8>>2]=q[e+8>>2]^7;Jt(e+8|0,1);h=a+j|0;f=b-2|0;Ct(h-q[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);Kt(e+8|0,1);g=q[e+8>>2]|1;q[e+8>>2]=g;Ct(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+j|0;continue}}ti=e+208|0}function NH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/40|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,40)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+32>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+40;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,40)|0;q[a+20>>2]=q[e+32>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;q[e+32>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,40)|0;f=q[b+32>>2];if((f|0)!=-1){continue}break}q[b+32>>2]=(e-d|0)/40;break a}J(195393,195256,229,195401);G()}c=q[d+4>>2];a=g+w(f,40)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(195405,195256,535,195467);G()}q[b>>2]=(e-d|0)/40}q[a+24>>2]=q[a+24>>2]+1}function Az(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/40|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,40)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+32>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+40;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,40)|0;q[a+20>>2]=q[e+32>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;f=q[d+20>>2];q[e+24>>2]=q[d+16>>2];q[e+28>>2]=f;q[e+32>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,40)|0;f=q[b+32>>2];if((f|0)!=-1){continue}break}q[b+32>>2]=(e-d|0)/40;break a}J(106755,106351,229,106763);G()}c=q[d+4>>2];a=g+w(f,40)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;b=q[d+20>>2];q[a+24>>2]=q[d+16>>2];q[a+28>>2]=b;b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(106767,106351,535,106829);G()}q[b>>2]=(e-d|0)/40}q[a+24>>2]=q[a+24>>2]+1}function bma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=ti-80|0;ti=c;a:{b:{d=q[a+80>>2];b=q[d+36>>2];c:{if((b|0)==q[d+40>>2]){jn(36736,36113,b-q[d+32>>2]>>2);a=-1e3;break c}f=q[a+76>>2];e=q[f>>2];b=Oi(40);q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=f;q[b>>2]=d;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;g=q[a>>2];q[b+16>>2]=0;q[b+12>>2]=g;g=s[a+92>>1];o[b+22|0]=1;p[b+20>>1]=g;O8(c);e=q[e+80>>2];if(e>>>0>=8193){break b}q[c+32>>2]=b;q[c+4>>2]=1024;q[c>>2]=e;q[c+8>>2]=128;q[c+12>>2]=64;q[c+20>>2]=q[d+84>>2];e=q[d+80>>2];q[c+64>>2]=164;q[c+28>>2]=e;q[c+68>>2]=165;q[c+60>>2]=b;q[c+56>>2]=166;q[c+52>>2]=b;q[c+48>>2]=167;q[c+44>>2]=168;q[c+40>>2]=169;q[c+36>>2]=170;q[c+76>>2]=q[d+100>>2];e=b9(q[f+76>>2],c);q[b+8>>2]=e;if(!DJ(e,f)){ZI(q[b+8>>2]);d:{if(o[b+36|0]&1){break d}a=q[b+24>>2];if(!a){break d}yi(a)}yi(b);a=-1e3;break c}q[q[a+88>>2]>>2]=b;a=q[d+36>>2];if((a|0)==q[d+40>>2]){break a}q[d+36>>2]=a+4;q[a>>2]=b;a=0}ti=c+80|0;return a|0}J(36740,36771,707,36810);G()}J(36549,36330,533,36573);G()}function ar(a,b,c,d){var e=0,f=0,g=0;e=ti-128|0;ti=e;a:{f=s[b+560>>1];if((f|0)!=65535){g=q[a+32>>2];if((q[a+36>>2]-g|0)/576>>>0<=f>>>0){break a}bJ(a,w(f,576)+g|0,e- -64|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&64):0)){hv(a,b)}u[d>>2]=u[b+320>>2];u[d+4>>2]=u[b+324>>2];u[d+8>>2]=u[b+328>>2];u[d+12>>2]=u[b+332>>2];u[d+16>>2]=u[b+336>>2];u[d+20>>2]=u[b+340>>2];u[d+24>>2]=u[b+344>>2];u[d+28>>2]=u[b+348>>2];u[d+32>>2]=u[b+352>>2];u[d+36>>2]=u[b+356>>2];u[d+40>>2]=u[b+360>>2];u[d+44>>2]=u[b+364>>2];u[d+48>>2]=u[b+368>>2];u[d+52>>2]=u[b+372>>2];u[d+56>>2]=u[b+376>>2];u[d+60>>2]=u[b+380>>2];dJ(b,c,d);if(s[b+560>>1]!=65535){Kk(e,e- -64|0,d);u[d>>2]=u[e>>2];u[d+4>>2]=u[e+4>>2];u[d+8>>2]=u[e+8>>2];u[d+12>>2]=u[e+12>>2];u[d+16>>2]=u[e+16>>2];u[d+20>>2]=u[e+20>>2];u[d+24>>2]=u[e+24>>2];u[d+28>>2]=u[e+28>>2];u[d+32>>2]=u[e+32>>2];u[d+36>>2]=u[e+36>>2];u[d+40>>2]=u[e+40>>2];u[d+44>>2]=u[e+44>>2];u[d+48>>2]=u[e+48>>2];u[d+52>>2]=u[e+52>>2];u[d+56>>2]=u[e+56>>2];u[d+60>>2]=u[e+60>>2]}ti=e+128|0;return}J(195730,195579,479,195741);G()}function _z(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if((e|0)==65535){f=0}else{f=q[c>>2];if((q[c+4>>2]-f|0)/24>>>0<=e>>>0){break a}f=f+w(e,24)|0}b:{c:{if((b|0)!=65535){l=f?f+4|0:0;while(1){g=b&65535;f=q[a+32>>2];if(g>>>0>=(q[a+36>>2]-f|0)/576>>>0){break a}f=f+w(g,576)|0;g=q[f+412>>2];d:{if(!(g&1048576)){break d}e:{switch(g>>>24&3){case 2:g=q[c+4>>2];i=q[c>>2];k=g-i|0;h=(k|0)/24|0;j=h+1|0;if(j>>>0>(q[c+8>>2]-i|0)/24>>>0){break c}q[c+4>>2]=w(j,24)+i;if(!j){break b}p[g+18>>1]=65535;p[g+16>>1]=e;p[g+20>>1]=b;q[g+8>>2]=-1;q[g+12>>2]=-1;p[f+570>>1]=h;if(r[f+415|0]&8){kI(f,g,g+4|0,l,s[d+8>>1],0,0,s[d+4>>1]);p[d+8>>1]=s[d+8>>1]+1;_z(a,s[f+562>>1],c,d,h&65535);break d}if(s[d>>1]==65535){b=d}else{b=s[d+2>>1];if(b>>>0>=(k+24|0)/24>>>0){break a}b=(w(b,24)+i|0)+18|0}p[b>>1]=h;p[d+2>>1]=h;p[d+6>>1]=s[d+6>>1]+1;break d;case 0:break e;default:break d}}p[f+570>>1]=e;_z(a,s[f+562>>1],c,d,e)}b=s[f+558>>1];if((b|0)!=65535){continue}break}}return}J(196250,195579,506,196269);G()}J(195568,195579,435,195635);G()}J(195730,195579,479,195741);G()}function Nx(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-1088|0;ti=c;d=q[a+8>>2]-q[a+12>>2]>>4;q[c+56>>2]=0;f=d+1|0;a:{b:{c:{d:{if(!b){Ni(a,138044,6);d=q[52086];q[c+60>>2]=d;break d}q[c+48>>2]=b;vj(a,138051,c+48|0);d=il(b,138055);q[c+60>>2]=d;if(d){break d}b=al(q[242957]);d=dj(a,f,0);q[c+40>>2]=b;q[c+32>>2]=138057;q[c+36>>2]=d+1;vj(a,138077,c+32|0);break c}e:{e=ej(d);if((e|0)==35){q[c+56>>2]=1;f:{while(1){g:{switch(ej(d)+1|0){case 0:break g;case 11:break f;default:continue}}break}g=(b|0)!=0;e=-1;break e}e=ej(d)}g=(b|0)!=0;if(!b|(e|0)!=27){break e}d=i_(b,d);q[c+60>>2]=d;if(d){while(1){e=ej(d);if((e|0)!=-1?(e|0)!=27:0){continue}break}q[c+56>>2]=0;g=1;break e}b=al(q[242957]);d=dj(a,f,0);q[c+8>>2]=b;q[c>>2]=138065;q[c+4>>2]=d+1;vj(a,138077,c);break c}OB(e,d);d=Jx(a,1047,c+56|0,dj(a,-1,0));e=q[c+60>>2];b=e;h:{if(q[b+76>>2]<=-1){b=q[b>>2];break h}b=q[b>>2]}b=b>>>5&1;if(g){Ak(e)}if(!b){break b}Ci(a,f);b=al(q[242957]);d=dj(a,f,0);q[c+24>>2]=b;q[c+16>>2]=138072;q[c+20>>2]=d+1;vj(a,138077,c+16|0)}Xk(a,f);d=6;break a}Xk(a,f)}ti=c+1088|0;return d}function GE(a,b,c,d,e){var f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=0;if(!(a&3)){if((a|0)>=4){k=a>>>2|0;a=(c<<2)+b|0;d=a+(d<<2)|0;while(1){b=d-4|0;g=u[b>>2];i=u[a>>2];j=u[d>>2];u[a>>2]=i+j;c=a-4|0;f=u[c>>2];u[c>>2]=f+u[b>>2];i=x(i-j);f=x(f-g);u[d>>2]=x(i*u[e>>2])-x(f*u[e+4>>2]);u[b>>2]=x(f*u[e>>2])+x(i*u[e+4>>2]);b=d-12|0;i=u[b>>2];c=a-8|0;f=u[c>>2];h=c;c=d-8|0;j=u[c>>2];u[h>>2]=f+j;h=a-12|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+32>>2])-x(g*u[e+36>>2]);u[b>>2]=x(g*u[e+32>>2])+x(f*u[e+36>>2]);b=d-20|0;i=u[b>>2];c=a-16|0;f=u[c>>2];h=c;c=d-16|0;j=u[c>>2];u[h>>2]=f+j;h=a-20|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+64>>2])-x(g*u[e+68>>2]);u[b>>2]=x(g*u[e+64>>2])+x(f*u[e+68>>2]);b=d-28|0;i=u[b>>2];c=a-24|0;f=u[c>>2];h=c;c=d-24|0;j=u[c>>2];u[h>>2]=f+j;h=a-28|0;g=u[h>>2];u[h>>2]=g+u[b>>2];f=x(f-j);g=x(g-i);u[c>>2]=x(f*u[e+96>>2])-x(g*u[e+100>>2]);u[b>>2]=x(g*u[e+96>>2])+x(f*u[e+100>>2]);d=d-32|0;a=a-32|0;e=e+128|0;b=(k|0)>1;k=k-1|0;if(b){continue}break}}return}J(207040,205607,2414,207053);G()}function bu(a,b){var c=0,d=0;a:{b:{c:{d:{if((b|0)>=1){c=(q[a+12>>2]+(b<<4)|0)-16|0;c=c>>>0>2]?c:135744;break d}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break d}e:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break d;case 1:c=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=c;c=a+88|0;break d;case 0:c=a+72|0;break d;default:break e}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}switch(q[c+8>>2]-2|0){case 3:case 4:case 6:break c;case 0:case 5:break b;default:break a}}return q[c>>2]}f:{g:{h:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break h}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break h}i:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break h;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break h;case 0:c=a+72|0;break h;default:break i}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}a=c;switch(q[a+8>>2]-2|0){case 0:break f;case 5:break g;default:break a}}return q[a>>2]+32|0}d=q[a>>2]}return d}function gia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;a:{b:{c:{e=q[a+4>>2];b=q[e+4>>2];d:{e:{if(!b){d=1;c=q[e>>2];if(o[c+28|0]&1){break e}break d}d=1;c=b;if(!(o[b+28|0]&1)){break d}}h=q[a>>2];a=q[c+12>>2];d=q[c+16>>2];if((a|0)!=(d|0)){b=0;while(1){Pi(h,q[(b<<2)+a>>2]);b=b+1|0;a=q[c+12>>2];if(b>>>0>2]-a>>2>>>0){continue}break}d=a;b=q[e+4>>2]}q[c+16>>2]=d;d=1;b=b?b:q[e>>2];if(o[b+24|0]&1){break c}g=q[b+8>>2];Ii(q[g+8>>2],4,b+12|0,b+20|0,b+16|0);c=q[g+8>>2];if(!c){break d}i=b;a=b;b=0;while(1){if(b>>>0>=c>>>0){break b}d=q[(q[g+4>>2]+w(b,80)|0)+4>>2];if(d){if(Nj(h,d,f+12|0)){c=q[e+4>>2];if(!c){c=q[e>>2]}a=q[c+12>>2];if((a|0)!=q[c+16>>2]){b=0;while(1){Pi(h,q[(b<<2)+a>>2]);b=b+1|0;a=q[c+12>>2];if(b>>>0>2]-a>>2>>>0){continue}break}q[c+16>>2]=a}d=0;break d}c=q[a+16>>2];if((c|0)==q[i+20>>2]){break a}d=q[f+12>>2];q[a+16>>2]=c+4;q[c>>2]=d;c=q[g+8>>2]}d=1;b=b+1|0;if(c>>>0>b>>>0){continue}break}}ti=f+16|0;return d|0}J(30577,30494,493,30652);G()}J(30399,30411,244,30472);G()}J(30664,30494,533,30688);G()}function aka(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);c=q[a+80>>2];b=q[c+8>>2];if((b|0)==q[c+12>>2]){jn(49681,49689,b-q[c+4>>2]>>2);return-1e3}a:{b:{if(!q[c+36>>2]){if(o[c+32|0]&1){break b}Ii(4,304,c+20|0,c+28|0,c+24|0);d=q[q[c>>2]+2384>>2];b=fp(d);Rk(b,50435,3,0);Rk(b,50444,2,0);q[c+36>>2]=xi[q[77450]](d,b);Xl(b);q[c+40>>2]=xi[q[77439]](q[q[c>>2]+2384>>2],0,0,0);b=w(q[c+60>>2],120);d=Ji(b);q[c+44>>2]=d;q[c+48>>2]=b+d}d=q[a+76>>2];b=Oi(176);q[b+96>>2]=0;q[b+100>>2]=0;q[b+144>>2]=0;q[b+148>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+152>>2]=0;q[b+156>>2]=0;q[b+136>>2]=0;q[b+96>>2]=q[a>>2];q[b+156>>2]=d;d=q[a+20>>2];e=q[a+16>>2];u[b+8>>2]=u[a+24>>2];q[b>>2]=e;q[b+4>>2]=d;u[b+16>>2]=u[a+32>>2];u[b+20>>2]=u[a+36>>2];u[b+24>>2]=u[a+40>>2];f=u[a+44>>2];o[b+166|0]=255;u[b+28>>2]=f;if(!aK(b)){return-1e3}d=q[c+8>>2];if((d|0)==q[c+12>>2]){break a}q[c+8>>2]=d+4;q[d>>2]=b;q[q[a+88>>2]>>2]=b;xv(b);return 0}J(50454,50529,493,50585);G()}J(50943,50529,533,50967);G()}function nK(a,b,c,d,e){var f=0,g=0;f=ti-48|0;ti=f;g=-13;a:{b:{c:{if(!Cj(b,c,q[65596],f+44|0)){g=Nj(a,q[q[f+44>>2]>>2],e+28|0);d:{if(g){break d}b=q[e+24>>2];e:{if(!b){if(!Hs(a,q[q[f+44>>2]>>2],f+8|0)){b=q[f+12>>2];q[e+16>>2]=q[f+8>>2];q[e+20>>2]=b}q[e+24>>2]=J5(d,q[e+28>>2]);break e}q[b+308>>2]=q[e+28>>2];a6(q[e+24>>2])}if(o[e+12|0]&1){break c}Ii(q[q[f+44>>2]+8>>2],4,e,e+8|0,e+4|0);g=q[f+44>>2];d=q[g+8>>2];f:{if(!d){break f}b=0;while(1){if(b>>>0>=d>>>0){break a}if(Nj(a,q[(q[g+4>>2]+(b<<3)|0)+4>>2],f+8|0)){break f}c=q[e+4>>2];if((c|0)==q[e+8>>2]){break b}d=q[f+8>>2];q[e+4>>2]=c+4;q[c>>2]=d;b=b+1|0;g=q[f+44>>2];d=q[g+8>>2];if(b>>>0>>0){continue}break}}g=-11;a=q[e+4>>2];if((a|0)!=q[e+8>>2]){break d}g=0;c=q[e>>2];if((a|0)==(c|0)){break d}b=0;while(1){a=q[f+44>>2];if(t[a+8>>2]<=b>>>0){break a}e6(q[e+24>>2],q[q[a+4>>2]+(b<<3)>>2],q[(b<<2)+c>>2]);b=b+1|0;c=q[e>>2];if(b>>>0>2]-c>>2>>>0){continue}break}}cj(q[f+44>>2])}ti=f+48|0;return g}J(58474,58549,493,58605);G()}J(58617,58549,533,58641);G()}J(58398,58410,46,58463);G()}function dia(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;d=ti-128|0;ti=d;a:{if(o[a+54|0]&1){g=q[a+48>>2];u[d+48>>2]=u[a>>2];f=q[g+4>>2];g=q[f+100>>2];q[d+96>>2]=q[f+96>>2];q[d+100>>2]=g;g=d;e=s[a+52>>1];f=0;b:{if(!e){break b}if(!(e&1)){while(1){h=h+1|0;f=e&2;e=(e&65534)>>>1|0;if(!f){continue}break}}c=(h<<3)+c|0;i=q[c>>2];f=q[c+4>>2]}q[g+104>>2]=i;q[g+108>>2]=f;u[d+64>>2]=u[a+16>>2];u[d+68>>2]=u[a+20>>2];u[d+72>>2]=u[a+24>>2];u[d+80>>2]=u[a+32>>2];u[d+84>>2]=u[a+36>>2];u[d+88>>2]=u[a+40>>2];q[d+112>>2]=r[b+44|0];e=253456;h=d+48|0;a=80;break a}q[d+48>>2]=r[b+44|0];e=253528;h=d+48|0;a=4}j=q[e>>2];c=j;i=q[c+8>>2];f=q[c+12>>2];e=q[b+36>>2];g=d+40|0;c=g;q[c>>2]=0;q[c+4>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;c=q[q[e+80>>2]+8>>2];c:{if(!c){break c}c=q[c>>2];if(!c){break c}k=q[c+3216>>2];l=q[c+3220>>2]}q[d+16>>2]=k;q[d+20>>2]=l;c=q[e+100>>2];q[d+32>>2]=q[e+96>>2];q[d+36>>2]=c;e=zo(e,s[b+46>>1],g);d:{if(!e){e=fk(0,d+16|0,i,f,0,j,h,a);if(!e){break d}}q[d>>2]=e;Ai(4,33031,34173,d)}ti=d+128|0}function Aka(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=x(0),p=0,s=0;c=ti-32|0;ti=c;d=q[a+4>>2];f=q[d+4>>2]-q[d>>2]|0;b=(f|0)/40|0;a:{g=(q[d+24>>2]-q[d+16>>2]|0)/304|0;e=q[d+112>>2];b:{if(g>>>0>>0){q[c>>2]=g;Ai(3,42143,42151,c);a=-1e3;break b}j=q[d+84>>2];h=q[a+8>>2];if(r[h+20|0]){y6(j,q[h+4>>2])}g=ap(q[h+4>>2],e);e=Su(q[h+4>>2],200,d);a=g;if(f){l=b>>>0>1?b:1;m=e<<6;f=0;while(1){b=q[d>>2];if((q[d+4>>2]-b|0)/40>>>0<=f>>>0){break a}i=b+w(f,40)|0;c:{if(!(o[i+32|0]&1)){break c}q[75472]=q[75472]+1;q[c+24>>2]=1;q[c+28>>2]=0;q[c+8>>2]=1;q[c+12>>2]=0;b=q[i+20>>2];k=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(!k){break c}e=0;while(1){RG(j,q[i+16>>2],e,c+20|0);b=q[c+20>>2];n=u[b+56>>2];p=q[b+48>>2];s=q[b+52>>2];q[a+16>>2]=b;q[a+20>>2]=0;u[a+8>>2]=n;q[a>>2]=p;q[a+4>>2]=s;q[a+28>>2]=q[b+92>>2];q[a+32>>2]=q[q[b+64>>2]+80>>2];q[a+36>>2]=q[a+36>>2]&-16384|m|16;a=a+48|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}f=f+1|0;if((l|0)!=(f|0)){continue}break}}$o(q[h+4>>2],g,a);a=0}ti=c+32|0;return a|0}J(42544,42460,479,42555);G()}function os(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{switch(q[b+8>>2]){case 4:b=q[b>>2];a=q[a+16>>2]+((q[b+8>>2]&(-1<>2]!=4|(b|0)!=q[a+16>>2])){return a}a=q[a+28>>2];if(a){continue}break}break a;case 3:d=v[b>>3];d:{if(y(d)<2147483648){c=~~d;break d}c=-2147483648}f=+(c|0);if(f==d){b=c-1|0;if(b>>>0>2]){return q[a+12>>2]+(b<<4)|0}if(c){e=q[a+16>>2];axa(+f);c=Zwa(1)|0;b=Zwa(0)|0;c=b+c|0;a=((c>>>0)%((-1<>>0)<<5)+e|0}else{a=q[a+16>>2]}while(1){if(!(q[a+24>>2]!=3|v[a+16>>3]!=f)){return a}a=q[a+28>>2];if(a){continue}break}break a}c=q[a+16>>2];if(d==0){break b}g=q[a+16>>2];axa(+d);e=Zwa(1)|0;c=Zwa(0)|0;e=c+e|0;c=((e>>>0)%((-1<>>0)<<5)+g|0;break b;case 1:c=q[a+16>>2]+((q[b>>2]&(-1<>2]+(t[b>>2]%((-1<>>0)<<5)|0;break b;case 0:break a;default:break c}}c=q[a+16>>2]+(t[b>>2]%((-1<>>0)<<5)|0}a=c;while(1){if(Po(a+16|0,b)){return a}a=q[a+28>>2];if(a){continue}break}}return 135744}function bJ(a,b,c){var d=0,e=0,f=0;d=ti-128|0;ti=d;a:{e=s[b+560>>1];if((e|0)!=65535){f=q[a+32>>2];if((q[a+36>>2]-f|0)/576>>>0<=e>>>0){break a}bJ(a,w(e,576)+f|0,d- -64|0)}if(!(!(o[a+358|0]&1)|q[a+320>>2]==2?!(r[b+414|0]&64):0)){hv(a,b)}u[c>>2]=u[b+320>>2];u[c+4>>2]=u[b+324>>2];u[c+8>>2]=u[b+328>>2];u[c+12>>2]=u[b+332>>2];u[c+16>>2]=u[b+336>>2];u[c+20>>2]=u[b+340>>2];u[c+24>>2]=u[b+344>>2];u[c+28>>2]=u[b+348>>2];u[c+32>>2]=u[b+352>>2];u[c+36>>2]=u[b+356>>2];u[c+40>>2]=u[b+360>>2];u[c+44>>2]=u[b+364>>2];u[c+48>>2]=u[b+368>>2];u[c+52>>2]=u[b+372>>2];u[c+56>>2]=u[b+376>>2];u[c+60>>2]=u[b+380>>2];if(s[b+560>>1]!=65535){Kk(d,d- -64|0,c);u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+12>>2]=u[d+12>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+28>>2]=u[d+28>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];u[c+44>>2]=u[d+44>>2];u[c+48>>2]=u[d+48>>2];u[c+52>>2]=u[d+52>>2];u[c+56>>2]=u[d+56>>2];u[c+60>>2]=u[d+60>>2]}ti=d+128|0;return}J(195730,195579,479,195741);G()}function FK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=s[b+150>>1]&32767;if((d|0)!=32767){e=q[a+1040>>2];c=q[a+1036>>2];while(1){if(e-c>>2>>>0<=d>>>0){break a}f=d<<2;c=q[f+c>>2];e=q[c+136>>2];g=q[c+140>>2];h=q[b+136>>2];if((q[b+140>>2]&32767)!=(e>>>16|0)){break d}p[c+144>>1]=s[c+144>>1];q[c+136>>2]=h&-65536|e&65535;q[c+140>>2]=g;e=q[a+1040>>2];c=q[a+1036>>2];if(e-c>>2>>>0<=d>>>0){break a}d=q[q[c+f>>2]+148>>2]&32767;if((d|0)!=32767){continue}break}}d=s[b+138>>1];if((d|0)!=32767){c=q[a+1040>>2];a=q[a+1036>>2];e=c-a>>2;if(e>>>0<=d>>>0){break a}f=q[a+(d<<2)>>2];c=q[f+148>>2];d=c>>>16&32767;e:{if((d|0)!=32767){while(1){if(d>>>0>=e>>>0){break a}c=q[a+(d<<2)>>2];d=q[c+148>>2]&32767;if((d|0)!=32767){continue}break}a=q[c+148>>2];if((a&32767)!=32767){break c}d=c+148|0;c=a&-32768;a=s[b+150>>1]&32767;break e}if((c&2147418112)!=2147418112){break b}d=f+148|0;c=c&-2147418113;a=q[b+148>>2]&2147418112}q[d>>2]=a|c}return}J(8391,7291,1265,9896);G()}J(9915,7291,1285,9896);G()}J(9963,7291,1290,9896);G()}J(12518,10061,479,9553);G()}function kB(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=ti-32|0;ti=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<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;dm(g+16|0,a,b,c,e,h-15233|0);vr(g,a,b,c,e,15361-h|0);e=q[g+4>>2];h=e;a=q[g+8>>2];c=q[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=q[g>>2]|((q[g+16>>2]|q[g+24>>2])!=0|(q[g+20>>2]|q[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}ti=g+32|0;_wa(0,f|0);_wa(1,d&-2147483648|e);return+$wa()}function XG(a,b,c,d){var e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=u[d+20>>2];f=u[c+44>>2];g=u[d+16>>2];i=u[c+40>>2];j=u[c+32>>2];h=u[d+24>>2];l=x(x(x(e*f)+x(g*i))-x(j*h));k=u[c+36>>2];n=x(x(h*i)+x(x(e*k)+x(g*j)));m=x(x(x(h*f)+x(e*j))-x(g*k));e=x(x(x(g*f)+x(h*k))-x(e*i));h=x(u[c+24>>2]+x(x(j*l)+x(x(x(i*n)+x(f*m))-x(k*e))));g=x(u[c+20>>2]+x(x(i*e)+x(x(x(f*l)+x(k*n))-x(j*m))));f=x(u[c+16>>2]+x(x(k*m)+x(x(x(f*e)+x(j*n))-x(i*l))));if(!q[c+12>>2]){l=u[b+44>>2];e=x(g*l);g=x(f*l);f=u[b+60>>2];i=u[b+56>>2];j=u[b+52>>2];k=u[b+48>>2];a:{if(o[b+82|0]&1){m=x(x(j*e)+x(k*g));h=x(h*l);l=x(x(x(i*g)+x(f*e))-x(k*h));n=x(x(x(f*h)+x(k*e))-x(j*g));e=x(x(x(f*g)+x(j*h))-x(i*e));g=x(i*h);break a}m=x(x(k*g)+x(j*e));n=x(x(x(h*f)+x(k*e))-x(j*g));l=x(x(x(i*g)+x(f*e))-x(h*k));e=x(x(x(h*j)+x(f*g))-x(i*e));g=x(h*i)}m=x(g+m);h=x(u[b+40>>2]+x(x(k*l)+x(x(x(i*m)+x(f*n))-x(j*e))));g=x(u[b+36>>2]+x(x(i*e)+x(x(x(f*l)+x(j*m))-x(k*n))));f=x(u[b+32>>2]+x(x(j*n)+x(x(x(f*e)+x(k*m))-x(i*l))))}u[a+8>>2]=h;u[a+4>>2]=g;u[a>>2]=f}function Q2(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti+ -64|0;ti=c;q[c+48>>2]=106;q[c+40>>2]=a;q[c+44>>2]=117392;b=q[a+8>>2]-q[a+12>>2]>>4;q[c+56>>2]=1;q[c+52>>2]=b;a:{b:{if((b|0)>-2){Ki(a,-10002,117437);b=aj(a,-1);Ci(a,-2);d=b;b=w(q[b>>2],214013)+2531011|0;q[d>>2]=b;e=+((b>>>16&32767)>>>0)*30517578125e-15;c:{d:{e:{switch(q[a+8>>2]-q[a+12>>2]>>4){case 1:b=Xi(a,1);if((b|0)<=0){Qj(a,1,118465)}e=C(e*+(b|0))+1;break d;case 0:break d;case 2:break e;default:break c}}b=Xi(a,1);d=Xi(a,2);if((b|0)>(d|0)){Qj(a,2,118465)}e=C(e*+((d-b|0)+1|0))+ +(b|0)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16;a=1;b=1;break b}a=sj(c+40|0,118483,0);b=q[c+56>>2];if((b|0)!=-8388608){break b}break a}q[c+12>>2]=b;q[c+4>>2]=106;q[c+8>>2]=1;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}b=q[c+52>>2]+b|0;d=q[c+40>>2];d=q[d+8>>2]-q[d+12>>2]>>4;if((b|0)==(d|0)){break a}a=q[c+48>>2];q[c+16>>2]=q[c+44>>2];q[c+20>>2]=a;q[c+24>>2]=b;q[c+28>>2]=d;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}ti=c- -64|0;return a|0}function Psa(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;e=ti-16|0;ti=e;m=q[a+8>>2]-q[a+12>>2]>>4;q[e+8>>2]=0;j=Wi(a,2,e+8|0);k=Pn(a,3,1);l=Pn(a,4,-1);Hn(q[b+20>>2]);a:{b:{d=q[e+8>>2];i=d+1|0;f=i;if(y(k)<2147483648){c=~~k}else{c=-2147483648}c=(f&c>>31)+c|0;f=(c|0)>1?c:1;n=f;o=d;if(y(l)<2147483648){h=~~l}else{h=-2147483648}c=(i&h>>31)+h|0;d=(c|0)>(d|0)?o:c;if((n|0)>(d|0)){break b}c=d-f|0;d=c+1|0;if(c>>>0>d>>>0){break b}j=(f+j|0)-1|0;i=q[b+20>>2];h=q[b+16>>2];while(1){c:{q[e+12>>2]=0;c=d-g|0;c=xi[q[h+4>>2]](q[h>>2],g+j|0,c>>>0<8192?c:8192,e+12|0,i)|0;g=q[e+12>>2]+g|0;if(c){break c}if(d>>>0>g>>>0){continue}}break}q[b+8>>2]=q[b+8>>2]+g;if(!c){break b}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;b=q[b+16>>2];Hi(a,xi[q[b+12>>2]](q[b>>2],c)|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(g+f|0)-1>>>0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=(g+f|0)-1>>>0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}ti=e+16|0;return(q[a+8>>2]-q[a+12>>2]>>4)-m|0}function F2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=ti-96|0;ti=c;b=ul(a,1);a:{b:{c:{if((b|0)!=q[212904]){if((b|0)==q[212905]){break c}q[c+92>>2]=128704;q[c+88>>2]=128688;q[c+84>>2]=130251;q[c+80>>2]=128752;a=Bi(a,130567,c+80|0);break a}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];d:{if(!(e!=e|f!=f)){d=u[b+8>>2];if(d==d){break d}}d=u[b+8>>2];v[c+16>>3]=f;v[c+24>>3]=d;v[c+8>>3]=e;q[c>>2]=1;Bi(a,128819,c);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}break b}b=Li(a,1,b,0);e=u[b>>2];f=u[b+4>>2];e:{f:{if(e!=e|f!=f){break f}d=u[b+8>>2];if(d!=d){break f}g=u[b+12>>2];if(g==g){break e}}d=u[b+8>>2];g=u[b+12>>2];v[c+48>>3]=f;v[c- -64>>3]=g;v[c+56>>3]=d;v[c+40>>3]=e;q[c+32>>2]=1;Bi(a,128909,c+32|0);d=u[b+8>>2];f=u[b+4>>2];e=u[b>>2]}}b=jj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=1065353216;q[b+24>>2]=0;q[b+28>>2]=0;q[b+20>>2]=1065353216;q[b+60>>2]=1065353216;u[b+56>>2]=d;u[b+52>>2]=f;u[b+48>>2]=e;q[b+40>>2]=1065353216;q[b+44>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Ki(a,-1e4,128736);ij(a,-2);a=1}ti=c+96|0;return a|0}function WF(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;a:{h=q[a+84>>2];if(!h){break a}i=q[h+4>>2];if(!i){break a}j=q[h>>2];h=0;while(1){k=j+(h<<5)|0;if((b|0)!=q[k>>2]|q[k+4>>2]!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}b:{if(!(e>x(0)^1)){u[a+176>>2]=e;q[a+180>>2]=0;i=r[a+186|0];h=i&1;i=i|2;break b}i=r[a+186|0];h=i&1;j=(h<<5)+a|0;o[j+28|0]=r[j+28|0]&254}h=h^1;o[a+186|0]=h|i&254;h=(h<<5)+a|0;q[h>>2]=k;q[h+8>>2]=b;q[h+12>>2]=c;q[h+24>>2]=d;b=r[h+28|0];c=b|1;o[h+28|0]=c;c:{d:{switch(d-2|0){case 0:case 3:o[h+28|0]=b|3;f=f>2];if(d){e=u[d+8>>2];f=x(f*e);e:{if(q[c+24>>2]!=6){break e}d=(b<<5)+a|0;h=r[d+28|0];if(!(h&2)){break e}o[d+28|0]=h&253}f:{if(e>2]=r[a+28|0]&2?x(e-f):f}u[c+20>>2]=g>x(0)?g:x(0);return 0}a=((o[a+186|0]&1)<<5)+a|0;o[a+28|0]=r[a+28|0]&254;return 3}function Co(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{if(q[c>>2]!=5|q[c+16>>2]!=-1|(q[c+20>>2]!=-1|q[d>>2]!=5)){break c}if(q[d+16>>2]!=-1|q[d+20>>2]!=-1){break c}e=v[d+8>>3];g=v[c+8>>3];d:{e:{f:{switch(b-12|0){case 0:f=g+e;break e;case 1:f=g-e;break e;case 2:f=g*e;break e;case 3:if(e==0){break b}f=g/e;break e;case 4:if(e==0){break b}f=g-e*C(g/e);break e;case 5:f=yp(g,e);break e;case 8:break a;case 6:break f;default:break d}}f=-g}if(f!=f){break c}}v[c+8>>3]=f;return}switch(b-18|0){case 0:case 2:break a;default:break b}}h=sl(a,d)}i=sl(a,c);g:{if((i|0)>(h|0)){h:{if(q[c>>2]!=12){break h}j=q[c+8>>2];if(j&256|r[a+50|0]>(j|0)){break h}q[a+36>>2]=q[a+36>>2]-1}if(q[d>>2]!=12){break g}d=q[d+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1;break g}i:{if(q[d>>2]!=12){break i}d=q[d+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}if(q[c>>2]!=12){break g}d=q[c+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}a=Qk(a,h<<14|b|i<<23,q[q[a+12>>2]+8>>2]);q[c>>2]=11;q[c+8>>2]=a}function Tn(a,b,c){var d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),q=x(0),r=x(0),s=x(0),t=x(0),v=x(0),w=x(0),y=x(0),z=x(0);d=ti+ -64|0;ti=d;g=u[b+60>>2];l=u[b+56>>2];m=u[b+52>>2];h=u[b+28>>2];n=u[b+24>>2];o=u[b+20>>2];p=u[b+48>>2];q=u[b+16>>2];r=u[b+12>>2];s=u[b+8>>2];t=u[b+4>>2];v=u[b>>2];i=u[b+32>>2];j=u[b+36>>2];k=u[b+40>>2];f=u[b+44>>2];e=x(x(x(x(i*i)+x(j*j))+x(k*k))+x(f*f));if(!(e>x(0)^1)){e=x(x(1)/x(F(e)));f=x(f*e);k=x(k*e);j=x(j*e);i=x(i*e)}Kk(d,b,c);u[a>>2]=u[d>>2];u[a+4>>2]=u[d+4>>2];u[a+8>>2]=u[d+8>>2];u[a+12>>2]=u[d+12>>2];u[a+16>>2]=u[d+16>>2];u[a+20>>2]=u[d+20>>2];u[a+24>>2]=u[d+24>>2];u[a+28>>2]=u[d+28>>2];u[a+32>>2]=u[d+32>>2];u[a+36>>2]=u[d+36>>2];u[a+40>>2]=u[d+40>>2];u[a+44>>2]=u[d+44>>2];e=u[c+48>>2];w=h;h=u[c+52>>2];y=f;f=u[c+56>>2];z=g;g=u[c+60>>2];u[a+60>>2]=x(x(x(r*e)+x(w*h))+x(y*f))+x(z*g);u[a+56>>2]=x(x(x(s*e)+x(n*h))+x(k*f))+x(l*g);u[a+52>>2]=x(x(x(t*e)+x(o*h))+x(j*f))+x(m*g);u[a+48>>2]=x(x(x(v*e)+x(q*h))+x(i*f))+x(p*g);ti=d- -64|0}function EO(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,p=0,s=0;h=ti-48|0;ti=h;q[h>>2]=0;q[h+4>>2]=0;q[h+8>>2]=0;j=Ui(c);k=j+e|0;l=k+20|0;i=Vj(1,l);a:{if(!i){c=-32512;break a}m=Gi(i+20|0,c,j);Gi(j+m|0,d,e);c=-27648;d=q[68474];if(!d){break a}c=qn(h,d,1);if(c){break a}j=b+1>>>1|0;Mo(h,a,j);Uk(h,m,k);c=i+4|0;Nl(h,c);if(g){p=g&15;s=k+16|0;d=0;e=0;while(1){Lm(h);Uk(h,c,s);Nl(h,h+16|0);Lm(h);Uk(h,c,16);Nl(h,c);e=e+16|0;n=g>>>0>>0?p:16;if(n){Gi((d<<4)+f|0,h+16|0,n)}d=d+1|0;if(e>>>0>>0){continue}break}}fm(h);c=-27648;d=q[68475];if(!d){break a}c=qn(h,d,1);if(c){break a}Mo(h,(a+b|0)-j|0,j);Uk(h,m,k);Nl(h,i);if(!g){c=0;break a}d=(g>>>0)%20|0;a=0;while(1){Lm(h);Uk(h,i,l);Nl(h,h+16|0);Lm(h);Uk(h,i,20);Nl(h,i);c=0;b=a;a=a+20|0;e=g>>>0>>0?d:20;if(e){while(1){k=(b+c|0)+f|0;o[k|0]=r[(h+16|0)+c|0]^r[k|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0;if(a>>>0>>0){continue}break}}fm(h);xi[q[68401]](i,0,l)|0;xi[q[68401]](h+16|0,0,20)|0;yi(i);ti=h+48|0;return c|0}function lfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-80|0;ti=c;i=q[a+8>>2]-q[a+12>>2]>>4;f=Mj(a,1);g=wi;b=Ds(a,2);if(q[b+4>>2]==2){b=q[b>>2]+4|0}d=q[b>>2];b=hp(a,q[76921],f,g,74135);h=q[b+4>>2];q[c+76>>2]=0;a:{e=_p(h,c+76|0);if(e){f=Mi(f,g);if(e>>>0<=11){b=q[(e<<2)+273520>>2]}else{b=148526}q[c+56>>2]=e;q[c+52>>2]=b;q[c+48>>2]=f;b=Bi(a,74182,c+48|0);break a}q[c+72>>2]=0;e=_p(d,c+72|0);if(e){if(e>>>0<=11){b=q[(e<<2)+273520>>2]}else{b=148526}q[c+36>>2]=e;q[c+32>>2]=b;b=Bi(a,74225,c+32|0);break a}b:{c:{if(q[c+76>>2]!=q[c+72>>2]){d=UL(d,c+68|0);if(d){break c}Uv(q[b+4>>2]);q[b+4>>2]=q[c+68>>2];q[b+16>>2]=q[c+72>>2];break b}d=TL(h,d);if(!d){break b}if(d>>>0<=11){b=q[(d<<2)+273520>>2]}else{b=148526}q[c+4>>2]=d;q[c>>2]=b;b=Bi(a,74319,c);break a}if(d>>>0<=11){b=q[(d<<2)+273520>>2]}else{b=148526}q[c+20>>2]=d;q[c+16>>2]=b;b=Bi(a,74279,c+16|0);break a}OA(h);$p(q[b+4>>2],b+24|0);q[b+8>>2]=f;q[b+12>>2]=g;b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(i|0)){break a}J(71471,71492,2502,74361);G()}ti=c+80|0;return b|0}function $6(){var a=0,b=0,c=0,d=0,e=0;e=ti-48|0;ti=e;a:{if(q[215618]<=0){a=q[215623];if(!a){break a}Ak(a);q[215623]=0;break a}d=q[215620];o[e+32|0]=1;a=e;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;b=q[d+24>>2];c=q[d+28>>2];q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a>>2]=b;q[a+4>>2]=c;fk(0,a,0,0,0,0,a+32|0,16);q[215618]=0;a=q[d+32>>2];if(a){$E(a)}while(1){a=q[215619];q[215619]=a?a:1;if(a){continue}break}b:{c=q[d+4>>2];a=q[d>>2];b=c-a|0;if(!b){break b}if((a|0)!=(c|0)){c=a-c|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);c=b>>>0>1?b:1;b=0;while(1){a=(b<<2)+a|0;Zo(q[a>>2]);jm(q[a>>2]);q[a>>2]=-1;b=b+1|0;if((c|0)==(b|0)){break b}a=q[d>>2];if(q[d+4>>2]-a>>2>>>0>b>>>0){continue}break}}J(166851,166678,479,166862);G()}a=q[d+16>>2];if((a|0)!=-1){jm(a);q[d+16>>2]=-1}a=q[d+28>>2];b=a;c=q[d+24>>2];if(a|c){Rm(c,b)}c:{if(o[d+12|0]&1){break c}a=q[d>>2];if(!a){break c}yi(a)}yi(d);q[215620]=0;a=q[215623];if(a){Ak(a);q[215623]=0}q[215619]=0}ti=e+48|0}function RL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=3;a:{b:{c:{d:{e:{if(a+1>>>0<2){break e}h=a&65535;g=q[213374];if(h>>>0>=t[g+8>>2]){break d}j=q[q[g>>2]+(h<<2)>>2];if(!j|s[q[g+4>>2]+(h<<1)>>1]!=(a>>>16|0)){break e}m=10;if(!e){break e}h=q[j+8>>2];l=j+12|0;k=q[l>>2];f:{if((h|0)==(k|0)){g=0;break f}a=k-h|0;g=(a|0)>-1?a:-1;i=(g|0)<1?g:1;g=h-k|0;a=w(i,((a|0)<(g|0)?g:a)>>>2|0);i=a>>>0>1?a:1;a=0;while(1){g=q[(a<<2)+h>>2];if(q[g>>2]==(b|0)&q[g+4>>2]==(c|0)){break f}a=a+1|0;if((i|0)!=(a|0)){continue}break}g=0}if(f>>>0>=9){break c}i=w(q[(f<<2)+149304>>2],e);g:{if(g){if(r[g+9|0]!=(e|0)|r[g+8|0]!=(f|0)){break e}Gi(q[g+12>>2],d,i);break g}g=j+16|0;if((k|0)==q[g>>2]){if(o[j+20|0]&1){break b}Ii((k-h>>2)+2|0,4,j+8|0,g,l)}a=Ji(16);o[a+9|0]=e;q[a>>2]=b;q[a+4>>2]=c;o[a+8|0]=f;b=Ji(i);q[a+12>>2]=b;Gi(b,d,i);b=q[l>>2];if((b|0)==q[g>>2]){break a}q[l>>2]=b+4;q[b>>2]=a}m=0}return m}J(149021,149036,144,149074);G()}J(148202,148229,157,148252);G()}J(149188,148995,493,149263);G()}J(149275,148995,533,149299);G()}function Moa(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0,s=0;g=ti-32|0;ti=g;a:{b:{c:{if(d>>>0>=32768){q[g>>2]=32767;Ai(4,7418,7602,g);break c}j=Oi(3280);if(!c){break a}l=Bpa(j,d,q[c+29104>>2]);q[j+3232>>2]=Hj();f=q[c>>2];d:{if(!f){break d}m=j+12|0;if(!e){while(1){e=w(h,112)+c|0;i=q[e+28>>2];if(i){e=q[e+24>>2];q[g+24>>2]=-1;o[g+12|0]=h;q[g+8>>2]=e;q[g+20>>2]=(h<<2)+m;q[g+16>>2]=d;xi[i|0](g+8|0)|0;f=q[c>>2]}h=h+1|0;if(h>>>0>>0){continue}break d}}while(1){i=w(h,112)+c|0;n=q[i+28>>2];if(n){f=q[i+24>>2];o[g+12|0]=h;q[g+8>>2]=f;p=q[e+44>>2];f=-1;e:{if(!p){break e}r=q[i+16>>2];i=q[i+20>>2];s=q[e+40>>2];f=0;f:{while(1){k=s+(f<<4)|0;if(q[k>>2]==(r|0)&(i|0)==q[k+4>>2]){break f}f=f+1|0;if((p|0)!=(f|0)){continue}break}f=0;break e}f=q[k+8>>2]}q[g+16>>2]=d;q[g+24>>2]=f;q[g+20>>2]=(h<<2)+m;xi[n|0](g+8|0)|0;f=q[c>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}q[j+3208>>2]=zi(a);q[j+3212>>2]=wi;f=Oi(4);if(!GA(l,a,b,c,f)){break b}cL(l);yi(f)}f=0}ti=g+32|0;return f}J(7277,7291,262,9564);G()}function q3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;mj(a,1,4);q[b+44>>2]=0;c=dj(a,1,b+44|0);if((f|0)==2){d=(Ej(a,2)|0)!=0}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;c=s7(c,q[b+44>>2],d,b+24|0);a:{if(!c){c=q[b+32>>2];b:{if(c>>>0<=2){c=q[(c<<2)+166088>>2];break b}c=0}if(!c){jH(b+24|0);q[b>>2]=q[b+32>>2];Bi(a,122286,b)}gj(a,0,0);Ni(a,122308,5);d=q[b+24>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,122314,6);d=q[b+28>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,122321,4);c:{d:{switch(q[b+32>>2]){case 1:Ni(a,122330,4);break c;case 2:Ni(a,122335,1);break c;default:J(122337,122343,134,122367);G();case 0:break d}}Ni(a,122326,3)}tj(a,-3);Ni(a,122378,6);Ni(a,q[b+36>>2],w(q[b+28>>2],w(c,q[b+24>>2])));tj(a,-3);jH(b+24|0);break a}q[b+16>>2]=c;Ai(3,122385,122392,b+16|0);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(122418,122343,149,122367);G()}ti=b+48|0;return 1}function c9(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0;k=ti-32|0;ti=k;if(f>>>0<=2){j=q[(f<<2)+166088>>2]}else{j=0}j=w(j,w(d,e));a:{if((j|0)!=(i|0)){q[k+4>>2]=i;q[k>>2]=j;Ai(4,193721,193725,k);j=-7;break a}n=a+160|0;b:{c:{d:{e:{f:{g:{h:{j=q[a+164>>2];i:{if(!j){break i}l=q[q[n>>2]+(Qwa(b,c,j)<<2)>>2];if((l|0)==-1){break i}m=q[a+168>>2];while(1){j=m+w(l,40)|0;if(q[j>>2]==(b|0)&(c|0)==q[j+4>>2]){break h}l=q[j+32>>2];if((l|0)!=-1){continue}break}}j=-4;if(q[a+184>>2]==((q[a+176>>2]-q[a+168>>2]|0)/40|0)){break a}q[k+8>>2]=0;q[k+12>>2]=0;l=Ji(i);q[k+24>>2]=l;if(!g){break d}j=d;switch(f|0){case 0:break g;case 1:break f;default:break e}}a=m+w(l,40)|0;b=r[a+12|0];j=-6;if(!(b&2)){break a}o[a+12|0]=b&253;break b}j=w(d,3);break e}j=d<<2}if((w(e,j)|0)==(i|0)){if(!e){break c}g=0;m=0-j|0;a=h+i|0;while(1){a=a+m|0;l=Gi(l,a,j)+j|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}break c}Ai(4,193721,195195,0);yi(l);j=-9;break a}Gi(l,h,i)}q[k+28>>2]=f;q[k+20>>2]=e;q[k+16>>2]=d;NH(n,b,c,k+8|0)}j=0}ti=k+32|0;return j}function ps(a,b,c,d,e,f){var g=x(0),h=x(0),i=0,j=x(0),k=x(0),l=0;if((a|0)>=4){l=a>>>2|0;a=(c<<2)+b|0;d=a+(d<<2)|0;b=f<<2;while(1){c=d-4|0;h=u[c>>2];j=u[a>>2];k=u[d>>2];u[a>>2]=j+k;f=a-4|0;g=u[f>>2];u[f>>2]=g+u[c>>2];j=x(j-k);g=x(g-h);u[d>>2]=x(j*u[e>>2])-x(g*u[e+4>>2]);u[c>>2]=x(g*u[e>>2])+x(j*u[e+4>>2]);f=d-12|0;j=u[f>>2];c=a-8|0;g=u[c>>2];i=c;c=d-8|0;k=u[c>>2];u[i>>2]=g+k;i=a-12|0;h=u[i>>2];u[i>>2]=h+u[f>>2];i=c;g=x(g-k);c=b+e|0;h=x(h-j);u[i>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[f>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=d-20|0;j=u[e>>2];f=a-16|0;g=u[f>>2];i=f;f=d-16|0;k=u[f>>2];u[i>>2]=g+k;i=a-20|0;h=u[i>>2];u[i>>2]=h+u[e>>2];g=x(g-k);c=b+c|0;h=x(h-j);u[f>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[e>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=d-28|0;j=u[e>>2];f=a-24|0;g=u[f>>2];i=f;f=d-24|0;k=u[f>>2];u[i>>2]=g+k;i=a-28|0;h=u[i>>2];u[i>>2]=h+u[e>>2];g=x(g-k);c=b+c|0;h=x(h-j);u[f>>2]=x(g*u[c>>2])-x(h*u[c+4>>2]);u[e>>2]=x(h*u[c>>2])+x(g*u[c+4>>2]);e=b+c|0;d=d-32|0;a=a-32|0;c=(l|0)>1;l=l-1|0;if(c){continue}break}}}function z2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=0,i=0,j=0,k=0;b=ti-80|0;ti=b;h=aj(a,1);q[b+60>>2]=0;c=Wi(a,2,b+60|0);a:{b:{c:{switch(q[b+60>>2]-2|0){case 1:i=r[c+1|0];if((i&252)!=48){break b}c=r[c+2|0];if((c&252)!=48){break b}j=Ri(a,-1);a=((c<<4)+h|0)-768|0;c=q[a>>2];h=q[a+4>>2];k=q[a+12>>2];q[b+72>>2]=q[a+8>>2];q[b+76>>2]=k;q[b+64>>2]=c;q[b+68>>2]=h;u[((i<<2)+b|0)-128>>2]=j;u[a>>2]=u[b+64>>2];u[a+4>>2]=u[b+68>>2];u[a+8>>2]=u[b+72>>2];u[a+12>>2]=u[b+76>>2];a=0;break a;case 0:break c;default:break b}}c=r[c+1|0];if((c&252)!=48){break b}i=c-48|0;c=Li(a,-1,q[212905],0);f=u[c>>2];g=u[c+4>>2];d:{e:{if(f!=f|g!=g){break e}d=u[c+8>>2];if(d!=d){break e}e=u[c+12>>2];if(e==e){break d}}d=u[c+8>>2];e=u[c+12>>2];v[b+32>>3]=g;v[b+48>>3]=e;v[b+40>>3]=d;v[b+24>>3]=f;q[b+16>>2]=-1;Bi(a,128909,b+16|0);e=u[c+12>>2];d=u[c+8>>2];g=u[c+4>>2];f=u[c>>2]}a=(i<<4)+h|0;u[a+12>>2]=e;u[a+8>>2]=d;u[a+4>>2]=g;u[a>>2]=f;a=0;break a}q[b+4>>2]=128736;q[b>>2]=128752;a=Bi(a,129736,b)}ti=b+80|0;return a|0}function iwa(){q[61497]=q[74622];q[74622]=245960;q[61525]=q[74622];q[74622]=246072;q[61575]=q[74622];q[74622]=246272;q[61599]=q[74622];q[74622]=246368;q[61623]=q[74622];q[74622]=246464;q[61689]=q[74622];q[74622]=246728;q[61717]=q[74622];q[74622]=246840;q[61745]=q[74622];q[74622]=246952;q[61793]=q[74622];q[74622]=247144;q[77158]=1;q[77156]=1430610974;q[77157]=1205238996;q[77155]=79049;q[77154]=1;q[77161]=0;o[308640]=0;q[77159]=q[77152];q[77161]=q[74622];q[74622]=308616;q[61813]=q[74622];q[74622]=247224;q[61829]=q[74622];q[74622]=247288;q[61849]=q[74622];q[74622]=247368;q[61865]=q[74622];q[74622]=247432;q[61885]=q[74622];q[74622]=247512;q[77172]=1;q[77170]=-53895322;q[77171]=550923652;q[77169]=79116;q[77168]=1;q[77175]=0;o[308696]=0;q[77173]=q[77167];q[77175]=q[74622];q[74622]=308672;q[61901]=q[74622];q[74622]=247576;q[61935]=q[74622];q[74622]=247712;q[61959]=q[74622];q[74622]=247808;q[61989]=q[74622];q[74622]=247928;q[62005]=q[74622];q[74622]=247992;q[62021]=q[74622];q[74622]=248056}function R8(a){var b=0;a:{if(o[a+336|0]&1){break a}b=q[a+324>>2];if(!b){break a}yi(b)}b:{if(o[a+304|0]&1){break b}b=q[a+292>>2];if(!b){break b}yi(b)}c:{if(o[a+288|0]&1){break c}b=q[a+276>>2];if(!b){break c}yi(b)}d:{if(o[a+272|0]&1){break d}b=q[a+252>>2];if(b){yi(b)}b=q[a+244>>2];if(!b){break d}yi(b)}e:{if(o[a+240|0]&1){break e}b=q[a+228>>2];if(!b){break e}yi(b)}f:{if(o[a+224|0]&1){break f}b=q[a+204>>2];if(b){yi(b)}b=q[a+196>>2];if(!b){break f}yi(b)}g:{if(o[a+188|0]&1){break g}b=q[a+168>>2];if(b){yi(b)}b=q[a+160>>2];if(!b){break g}yi(b)}h:{if(o[a+156|0]&1){break h}b=q[a+136>>2];if(b){yi(b)}b=q[a+128>>2];if(!b){break h}yi(b)}i:{if(o[a+124|0]&1){break i}b=q[a+104>>2];if(b){yi(b)}b=q[a+96>>2];if(!b){break i}yi(b)}j:{if(o[a+92|0]&1){break j}b=q[a+72>>2];if(b){yi(b)}b=q[a+64>>2];if(!b){break j}yi(b)}k:{if(o[a+60|0]&1){break k}b=q[a+48>>2];if(!b){break k}yi(b)}l:{if(o[a+44|0]&1){break l}b=q[a+32>>2];if(!b){break l}yi(b)}m:{if(o[a+28|0]&1){break m}b=q[a+20>>2];if(!b){break m}yi(b)}return a}function d4(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=ti-16|0;ti=h;a:{b:{if(q[74728]>=1){while(1){q[h+12>>2]=0;c:{d:{i=w(l,20);j=i+298928|0;f=xi[q[j>>2]](a,b,c,g,h+12|0)|0;switch(f+1|0){case 0:case 2:break c;case 1:break d;default:break a}}f=q[h+12>>2];if(!f){q[h+12>>2]=g;f=g}q[h+8>>2]=0;e:{f:{g:{f=xi[q[(i+298928|0)+4>>2]](f,a,b,c,k,h+8|0)|0;switch(f+1|0){case 0:case 2:break g;case 1:break e;default:break f}}i=q[h+12>>2];if((i|0)==(g|0)){break c}Is(i);break c}a=q[h+12>>2];if((a|0)==(g|0)){break a}Is(a);break a}i=q[h+12>>2];f=q[h+8>>2];if(f){h:{if((g|0)==(i|0)){i=g;break h}if(!g){break h}Is(g);f=q[h+8>>2];i=q[h+12>>2]}g=q[j+4>>2];q[f+12>>2]=q[j>>2];q[f+16>>2]=g;q[f+28>>2]=q[j+16>>2];g=q[j+12>>2];q[f+20>>2]=q[j+8>>2];q[f+24>>2]=g;if((f|0)!=(k|0)){q[f>>2]=k;k=q[h+8>>2]}g=i;break c}if((g|0)==(i|0)){break c}Is(i)}l=l+1|0;if((l|0)>2]=g;q[e>>2]=k;f=0}ti=h+16|0;return f}function ev(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(161937,161952,156,161982);G();case 0:J(161994,161952,157,161982);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/136>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,136);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;ev(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,136)|0;Dz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+128>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(162016,161952,158,161982);G()}J(162036,161952,159,161982);G()}function VD(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,p=0,s=0;h=q[a+4>>2];a:{if(h>>>0<=b>>>0){break a}p=c+1|0;l=d-1|0;e=b;b:{c:{d:{i=o[c|0];switch(i-37|0){case 0:break c;case 9:break d;default:break b}}while(1){f=f+1|0;if(f+b>>>0>>0){continue}break}break a}c=r[p|0];while(1){if(!No(r[e|0],c)){break a}f=f+1|0;e=f+b|0;if(h>>>0>e>>>0){continue}break}break a}while(1){e:{if((i|0)==46){break e}g=r[e|0];if((i|0)==91){j=r[c+1|0];m=(j|0)==94;e=m?p:c;k=e+1|0;f:{if(k>>>0>=l>>>0){break f}j=(j|0)!=94;while(1){s=r[e+2|0];g:{n=r[e+1|0];h:{if((n|0)==37){if(No(g,s)){break h}e=e+2|0;break g}i:{if((s|0)!=45){break i}e=e+3|0;if(l>>>0<=e>>>0){break i}if(g>>>0>>0){break g}if(r[e|0]>=g>>>0){break h}break g}e=k;if((g|0)!=(n|0)){break g}}m=j;break f}k=e+1|0;if(k>>>0>>0){continue}break}}if(m){break e}break a}if((i&255)!=(g|0)){break a}}f=f+1|0;e=f+b|0;if(h>>>0>e>>>0){continue}break}}c=d+1|0;while(1){j:{e=0;if((f|0)<0){break j}d=b+f|0;f=f-1|0;e=rn(a,d,c);if(!e){continue}}break}return e}function Cz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(144752,144767,156,144707);G();case 0:J(144827,144767,157,144707);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/960>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,960);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Cz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,960)|0;_n(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+952>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(144849,144767,158,144707);G()}J(144869,144767,159,144707);G()}function ywa(){var a=0;q[75054]=zi(34846);q[75055]=wi;q[75056]=zi(34865);q[75057]=wi;q[75058]=zi(34882);q[75059]=wi;q[75060]=zi(34891);q[75061]=wi;q[75062]=zi(34897);q[75063]=wi;q[75064]=zi(34907);q[75065]=wi;q[75066]=zi(34915);q[75067]=wi;q[75068]=zi(34922);q[75069]=wi;q[75070]=zi(34931);q[75071]=wi;q[75072]=zi(34943);q[75073]=wi;q[75074]=zi(34952);q[75075]=wi;q[75076]=zi(34957);q[75077]=wi;q[75078]=zi(34963);q[75079]=wi;q[75080]=zi(34969);q[75081]=wi;q[75084]=zi(34978);q[75085]=wi;q[75086]=zi(34987);q[75087]=wi;q[75088]=zi(34996);q[75089]=wi;q[75090]=zi(35005);q[75091]=wi;q[75092]=zi(35014);q[75093]=wi;q[75094]=zi(35023);q[75095]=wi;q[75096]=zi(35032);q[75097]=wi;q[75098]=zi(35041);q[75099]=wi;q[75100]=zi(35050);q[75101]=wi;a=zi(35059);q[75121]=0;q[75122]=0;q[75120]=305408;q[75118]=0;q[75116]=35084;q[75115]=35071;q[75114]=0;q[75112]=0;q[75110]=0;q[75108]=0;q[75106]=1;q[75104]=0;q[75105]=3;q[75102]=a;q[75103]=wi;q[75123]=0;q[75124]=0;q[75125]=0;q[75126]=zi(35115);q[75127]=wi}function Bwa(){var a=0;q[74768]=zi(29948);q[74769]=wi;q[74770]=zi(29967);q[74771]=wi;q[74772]=zi(29984);q[74773]=wi;q[74774]=zi(29993);q[74775]=wi;q[74776]=zi(29999);q[74777]=wi;q[74778]=zi(30009);q[74779]=wi;q[74780]=zi(30017);q[74781]=wi;q[74782]=zi(30024);q[74783]=wi;q[74784]=zi(30033);q[74785]=wi;q[74786]=zi(30045);q[74787]=wi;q[74788]=zi(30054);q[74789]=wi;q[74790]=zi(30059);q[74791]=wi;q[74792]=zi(30065);q[74793]=wi;q[74794]=zi(30071);q[74795]=wi;q[74796]=zi(30080);q[74797]=wi;q[74798]=zi(30089);q[74799]=wi;q[74800]=zi(30098);q[74801]=wi;q[74802]=zi(30107);q[74803]=wi;q[74804]=zi(30116);q[74805]=wi;q[74806]=zi(30125);q[74807]=wi;q[74808]=zi(30134);q[74809]=wi;q[74810]=zi(30143);q[74811]=wi;q[74812]=zi(30152);q[74813]=wi;a=zi(30161);q[74833]=0;q[74834]=0;q[74832]=305408;q[74830]=0;q[74828]=30196;q[74827]=30173;q[74826]=0;q[74824]=0;q[74822]=0;q[74820]=0;q[74818]=1;q[74816]=0;q[74817]=3;q[74814]=a;q[74815]=wi;q[74835]=0;q[74836]=0;q[74837]=0;q[74838]=zi(30237);q[74839]=wi}function lz(a,b,c){var d=0,e=0;a:{b:{if(!b){break b}d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>2>>>0){a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);break b}d=q[a+4>>2];b=q[a>>2];e=d-b|0;if(!e){break b}e=(e|0)/304|0;e=e>>>0>1?e:1;c:{if(!c){if((b|0)==(d|0)){break c}c=0;while(1){b=w(c,304)+b|0;d=q[b+280>>2];d:{if(!d){break d}q[b+280>>2]=3;if((d|0)==3){break d}d=q[a+72>>2];if(!d){break d}xi[q[a+68>>2]](q[a+16>>2],q[b+128>>2],q[b+132>>2],3,d)}o[b+296|0]=r[b+296|0]&247;c=c+1|0;if((e|0)==(c|0)){break b}b=q[a>>2];if((q[a+4>>2]-b|0)/304>>>0>c>>>0){continue}break}break c}if((b|0)==(d|0)){break c}c=0;while(1){b=w(c,304)+b|0;d=q[b+280>>2];e:{if(!d){break e}q[b+280>>2]=3;if((d|0)==3){break e}d=q[a+72>>2];if(!d){break e}xi[q[a+68>>2]](q[a+16>>2],q[b+128>>2],q[b+132>>2],3,d)}q[b+60>>2]=q[b+56>>2];o[b+296|0]=r[b+296|0]&247;c=c+1|0;if((e|0)==(c|0)){break b}b=q[a>>2];if((q[a+4>>2]-b|0)/304>>>0>c>>>0){continue}break}}break a}break a}return}J(146626,145751,479,145962);G()}function fv(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(160493,160508,156,160231);G();case 0:J(160538,160508,157,160231);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;fv(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;Ez(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(160560,160508,158,160231);G()}J(160580,160508,159,160231);G()}function dv(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(106336,106351,156,106411);G();case 0:J(106423,106351,157,106411);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/40>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,40);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;dv(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,40)|0;Az(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+32>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(106445,106351,158,106411);G()}J(106465,106351,159,106411);G()}function MH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(195241,195256,156,195316);G();case 0:J(195328,195256,157,195316);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/40>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,40);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;MH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,40)|0;NH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+32>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(195350,195256,158,195316);G()}J(195370,195256,159,195316);G()}function KH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(195241,195256,156,195316);G();case 0:J(195328,195256,157,195316);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;KH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;LH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+20>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(195350,195256,158,195316);G()}J(195370,195256,159,195316);G()}function DH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(115164,115179,156,115239);G();case 0:J(115251,115179,157,115239);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/40>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,40);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;DH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,40)|0;EH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+32>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(115273,115179,158,115239);G()}J(115293,115179,159,115239);G()}function dG(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,p=0;e=ti-32|0;ti=e;k=zi(b);h=wi;b=0;j=-3;a:{b:{l=q[a+8>>2];g=q[l+40>>2]-1|0;c:{if((g|0)<0){break c}n=q[l+36>>2];while(1){i=((g-b|0)/2|0)+b|0;f=w(i,40)+n|0;m=q[f+8>>2];f=q[f+12>>2];if((m|0)!=(k|0)|(f|0)!=(h|0)){p=(f|0)==(h|0)&k>>>0>>0|f>>>0>h>>>0;g=p?i-1|0:g;b=p?b:(f|0)==(h|0)&k>>>0>m>>>0|f>>>0>>0?i+1|0:b;if((g|0)>=(b|0)){continue}break c}break}if((i|0)<0){break c}b=q[l+8>>2];q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;d:{e:{f=q[(w(i,40)+n|0)+16>>2];b=q[(b<<2)+24480>>2]>>>3|0;switch(f4(q[a>>2],f,b,e+12|0,e+16|0)|0){case 1:break c;case 0:break e;default:break d}}a=q[e+20>>2];g=q[d>>2];if(a>>>0>q[d+8>>2]-g>>>0){if(o[d+12|0]&1){break b}Ii(a,1,d,d+8|0,d+4|0);g=q[d>>2]}q[d+4>>2]=g;j=-9;h=q[e+12>>2];if(xi[q[h+28>>2]](h,f,b,e+16|0,g)|0){break c}b=q[d>>2];if(a>>>0>q[d+8>>2]-b>>>0){break a}q[d+4>>2]=a+b;q[c>>2]=a;j=0;break c}j=-9}ti=e+32|0;return j}J(26943,26397,493,27018);G()}J(27030,26397,506,27049);G()}function JR(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,p=0,r=0,s=0,t=0;n=q[a+28>>2];p=q[a+24>>2];r=q[a+20>>2];g=q[a+16>>2];h=q[a+48>>2];i=q[a+44>>2];k=q[a+40>>2];f=k;l=q[a+36>>2];d=l;m=q[a+32>>2];a=m+5|0;c=a>>>0<5?1:c;j=a;e=c;c=c+d|0;a=0;a=c>>>0>>0?a+1|0:a;e=c;c=0;d=a;a=a+f|0;c=a>>>0>>0?c+1|0:c;f=a;a=0;d=c+i|0;s=d;t=g;a=(c>>>0>d>>>0?a+1|0:a)+h>>>2|0;g=a-1|0;h=0-a|0;c=g&m|h&j;a=t+c|0;d=0;o[b|0]=a;d=a>>>0>>0?1:d;c=a;o[b+3|0]=(d&16777215)<<8|a>>>24;a=d;o[b+2|0]=(a&65535)<<16|c>>>16;o[b+1|0]=(a&255)<<24|c>>>8;e=g&l|e&h;d=e+r|0;c=0;c=d>>>0>>0?1:c;e=a;j=a+d|0;a=c;c=j;o[b+4|0]=c;a=e>>>0>c>>>0?a+1|0:a;o[b+7|0]=(a&16777215)<<8|c>>>24;d=a;o[b+6|0]=(a&65535)<<16|c>>>16;o[b+5|0]=(a&255)<<24|c>>>8;f=g&k|f&h;e=f+p|0;a=0;a=e>>>0>>0?1:a;f=d;e=d+e|0;c=e;o[b+8|0]=c;d=c>>>0>>0?a+1|0:a;o[b+11|0]=(d&16777215)<<8|c>>>24;a=d;o[b+10|0]=(a&65535)<<16|c>>>16;o[b+9|0]=(a&255)<<24|c>>>8;a=((g&i|h&s)+n|0)+a|0;o[b+12|0]=a;o[b+15|0]=a>>>24;o[b+14|0]=a>>>16;o[b+13|0]=a>>>8}function qua(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){var t=0,u=0,v=0,x=0;u=l+m|0;t=u>>>0>>0?1:t;v=u;a:{b:{if(!t&v>>>0>f>>>0|t){break b}c:{if(o){v=n;t=v+o|0;u=0;u=t>>>0>>0?1:u;if(!u&f>>>0>=t>>>0){break c}break b}if(p){break a}}if((b&-2)==8){if((Rwa(g<<2)|0)!=1){break b}if((Rwa(h<<2)|0)!=1){break b}}b=(b|0)==9?p?9:8:b;v=pt(b);if(!EM(b,d,i,j,r,s,w(g,h))){break b}t=p^1|1;d=t?m:o;f=e+l|0;e=e+n|0;l=t?f:e;d:{switch(b|0){case 13:l=22;if(p){l=21;if(!sr(a,c,g,h,e,o,23,4,q,1,k,i,j,r,s)){break b}}return sr(a,c,g,h,f,m,l,4,q,0,k,i,j,r,s);case 14:case 15:return sr(a,c,g,h,l,d,(b|0)==14?24:25,2,q,0,k,i,j,r,s);case 16:l=28;if(p){l=26;if(!sr(a,c,g,h,e,o,27,2,q,1,k,i,j,r,s)){break b}}return sr(a,c,g,h,f,m,l,2,q,0,k,i,j,r,s);default:J(92163,92069,9278,92310);G();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 17:case 18:case 19:case 20:case 21:break b;case 0:break d}}x=sr(a,c,g,h,l,d,0,v,q,0,k,i,j,r,s)}return x}J(92281,92069,8720,92310);G()}function dj(a,b,c){var d=0;a:{if((b|0)>=1){d=(q[a+12>>2]+(b<<4)|0)-16|0;d=d>>>0>2]?d:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:d=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=d;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}c:{d:{if(q[d+8>>2]==4){break d}if(!bE(a,d)){a=0;if(!c){break c}q[c>>2]=0;return 0}d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break d}if((b|0)>=-9999){d=q[a+8>>2]+(b<<4)|0;break d}e:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break d;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break d;case 0:d=a+72|0;break d;default:break e}}a=q[q[q[a+20>>2]+4>>2]>>2];d=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}if(c){q[c>>2]=q[q[d>>2]+12>>2]}a=q[d>>2]+16|0}return a}function Ns(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(109002,109017,156,109077);G();case 0:J(109089,109017,157,109077);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Ns(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Os(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(109111,109017,158,109077);G()}J(109131,109017,159,109077);G()} -function B2(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=q[a+4>>2];c=q[a>>2];e=d-c|0;if(!e){return}a:{if((d|0)!=(c|0)){e=(e|0)/28|0;d=0;while(1){b:{c:{c=w(d,28)+c|0;if(q[c+4>>2]!=(b|0)){break c}f=r[c+24|0];if(f&2){f=f&253;o[c+24|0]=f;g=g+1|0}if(o[a+46|0]&1){break c}ny(a,q[c+12>>2],f);e=e-1|0;break b}d=d+1|0}if(d>>>0>=e>>>0){break a}c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0>d>>>0){continue}break}}J(120616,120004,447,120627);G()}if(!g){return}p[a+44>>1]=s[a+44>>1]+1;return}J(119561,119520,340,119688);G()}function dk(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=rX(d,q[c>>2],q[a+8>>2]-16|0);q[a+8>>2]=q[a+8>>2]+(b?16:-16);return b}function Vha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-80|0;fi=b;e=1;f=Ti(b+24|0,a,1,67527,1256);d=q[q[Kj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;Hk(a,1,d,67321,b+20|0,b+48|0,b+16|0);d=Pj(a,2);c=ii;g=c;a:{if(!Lia(q[b+16>>2],d,c,b+48|0)){q[b>>2]=Ei(d,g);e=ni(a,69798,b);break a}d=r[b+48|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}Si(f);fi=b+80|0;return e|0}function Y6(a,b,c){var d=0;d=fi-2096|0;fi=d;lk(a,q[72157],d+1072|0);a:{if(!_k(d+1072|0)){lk(a,q[72159],d+48|0);a=1;if(!_k(d+48|0)){break a}a=0;q[c>>2]=0;break a}lk(a,q[72165],d+48|0);a=i7(b,d+48|0);if(a){q[d+36>>2]=a;q[d+32>>2]=d+48;mi(4,195338,195421,d+32|0);Zk(d+48|0);Zk(d+1072|0);a=0;break a}q[d+16>>2]=d+1072;mi(3,195338,195471,d+16|0);a=-1;if(zy(d+1072|0,c)){break a}b=Cu(q[c>>2]);if(!b){a=0;break a}q[d>>2]=b;mi(4,195338,195503,d);b=q[c>>2];if(b){ki(b)}q[c>>2]=0}fi=d+2096|0;return a}function Wka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];b=q[c+16>>2];g=q[q[a+16>>2]>>2];if(g>>>0>2]-b>>3>>>0){d=q[b+(g<<3)>>2];e=q[c>>2];if(d>>>0<(q[c+4>>2]-e|0)/240>>>0){b=w(d,240)+e|0;f=r[b+238|0];if(f&4){o[b+238|0]=f&251;ki(q[(w(d,240)+e|0)+232>>2])}b=0;a=q[a>>2];a:{if(!a){break a}a=q[a>>2];if(!a){break a}b=q[a>>2]}a=w(d,240)+e|0;f=q[a+224>>2];if(f){Di(b,f)}a=q[a+228>>2];if(a){Di(b,a)}a=q[(w(d,240)+e|0)+220>>2];if(a){Uq(a)}x6(c,g);return 0}}J(43678,43572,447,43689);G()}function C7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!Pn(b,153615)){q[a+24>>2]=mp(c,0);break a}b:{if(Pn(b,153630)){break b}if(Pn(c,153648)){break b}o[a+92|0]=r[a+92|0]|1;break a}c:{if(Pn(b,153656)){break c}if(Pn(c,153667)){break c}o[a+92|0]=r[a+92|0]|2;break a}if(!Pn(b,153673)){kj(a+28|0,c,64);break a}if(Pn(b,153678)){break a}d=Im(c,153692);if(!d){break a}d=Zta(d+8|0);d=(d|0)>0?d:0;q[a+96>>2]=d>>>0<2592e3?d:2592e3}d=q[a>>2];e=q[d+2140>>2];if(e){ji[e|0](a,q[d+2132>>2],q[a+12>>2],b,c)}}function tx(a,b,c){var d=0,e=0;e=a;a:{b:{c:{switch(q[b>>2]-6|0){case 0:d:{if(q[c>>2]!=12){break d}d=q[c+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}vq(a,c,q[b+8>>2]);return;case 1:d=8;b=Xm(a,c)<<6|q[b+8>>2]<<23;break b;case 2:d=7;b=Xm(a,c)<<6|q[b+8>>2]<<14;break b;case 3:break c;default:break a}}d=9;b=ql(a,c)<<14|q[b+8>>2]<<6|q[b+12>>2]<<23}Jk(e,b|d,q[q[a+12>>2]+8>>2])}e:{if(q[c>>2]!=12){break e}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}}function HR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;if((ri(a,3)|0)!=5){WA(a,q[65293])}wi(a,124010);Tj(a,3);if((ri(a,-1)|0)!=1){Mj(a,3,124013)}q[c+8>>2]=Fj(a,-1)&65535;wi(a,124041);Tj(a,3);if(!Gj(a,-1)){Mj(a,3,124049)}d=c;e=wj(a,-1);a:{if(e<4294967296&e>=0){f=~~e>>>0;break a}f=0}q[d+12>>2]=f;d=1;b:{if((sl(q[b>>2],1,13,c+8|0,8)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function GT(a){var b=0,c=0,d=0;b=q[a+68>>2];if(!(!b|q[a+4>>2]==16)){ji[q[b+1104>>2]](a,q[a+120>>2],q[a+168>>2])}a:{if(!(r[q[a>>2]+184|0]&2)){break a}a=q[a+68>>2];if(!a){break a}q[b+476>>2]=q[b+476>>2]+1;_n(a,0);q[b+540>>2]=q[b+552>>2];a=q[b+548>>2];q[b+532>>2]=q[b+544>>2];q[b+536>>2]=a;a=q[b+556>>2];c=q[b+560>>2];d=q[b+572>>2];q[b+556>>2]=q[b+568>>2];q[b+560>>2]=d;q[b+544>>2]=a;q[b+548>>2]=c;a=q[b+564>>2];q[b+564>>2]=q[b+576>>2];q[b+552>>2]=a;q[b+568>>2]=0;q[b+572>>2]=0;q[b+576>>2]=0}}function VA(a,b,c){var d=0,e=0;e=fi-112|0;fi=e;a:{if((a|0)==(b|0)){break a}b:{c:{d=r[b+6|0];switch(d|0){case 1:break a;case 0:break c;default:break b}}d=2;if((Wk(b,0,e+8|0)|0)>0){break a}d=q[b+8>>2]-q[b+12>>2]>>4?1:3;break a}d=3}if(!Kt(b,c)){ni(a,129777,0)}d:{e:{if((d|0)!=1){q[e>>2]=q[(d<<2)+261584>>2];nj(a,129806,e);break e}Hn(a,b,c);p[b+52>>1]=s[a+52>>1];if(SW(b,c)>>>0<=1){c=q[b+8>>2]-q[b+12>>2]>>4;if(!Kt(a,c+1|0)){ni(a,129833,0)}Hn(b,a,c);break d}Hn(b,a,1)}c=-1}fi=e+112|0;return c}function nga(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=-2;a:{if(!rj(q[a+12>>2],q[a+16>>2],247648,c+12|0)){jk(q[a+20>>2],q[q[c+12>>2]+4>>2]);d=q[c+12>>2];e=q[d+12>>2];b:{if(!e){break b}b=0;while(1){if(b>>>0>=e>>>0){break a}jk(q[a+20>>2],q[q[d+8>>2]+(b<<2)>>2]);d=q[c+12>>2];if(b>>>0>6){break b}b=b+1|0;e=q[d+12>>2];if(b>>>0>>0){continue}break}}jk(q[a+20>>2],q[d>>2]);jk(q[a+20>>2],q[q[c+12>>2]+4>>2]);q[q[a+24>>2]>>2]=q[c+12>>2];b=0}fi=c+16|0;return b|0}J(58330,58342,57,58376);G()}function is(a){var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>0){ms(a);f=a;b:{if((ri(a,-1)|0)!=5){d=-2;e=-3;break b}ak(a,-2);d=Kn(a,-2);e=-2}oi(f,e);c=c-1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)!=(a|0)){break a}fi=b+32|0;return d}q[b+12>>2]=c;q[b+4>>2]=1236;q[b+8>>2]=-1;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1236;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function cv(a,b){var c=0,d=0,e=0;e=fi-16|0;fi=e;a:{b:{c=q[a+16>>2];if(q[a+20>>2]-c>>3>>>0>b>>>0){c=q[c+(b<<3)>>2];d=q[a>>2];if(c>>>0>=q[a+4>>2]-d>>2>>>0){break a}c=q[d+(c<<2)>>2];vK(q[c>>2]);if(o[c+232|0]&1){break b}vi(0,4,c+220|0,c+228|0,c+224|0);q[e+8>>2]=q[a+96>>2];q[e+12>>2]=q[c+132>>2];LF(e+8|0);d=q[c+180>>2];if(d){Uq(d)}c:{if(o[c+232|0]&1){break c}d=q[c+220>>2];if(!d){break c}ki(d)}ki(c);r6(a,b);fi=e+16|0;return}break a}J(47221,47134,461,47296);G()}J(47308,47134,447,47319);G()}function bfa(a){var b=0,c=0,d=0;c=fi-32|0;fi=c;a=q[a>>2];d=Ti(c+8|0,a,0,73926,548);ek(a,73968,242352);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,73976);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,73983);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,73990);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74e3);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-7;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,74011);oi(a,-2);Si(d);fi=c+32|0}function Ct(a,b){var c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;c=-4;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;e=Fi(b);if(e>>>0<=1073741823){c=Vk(a,(e>>>3|0)+((e&7)!=0)|0);a:{if(c){break a}c=gk(a,0);if(c){break a}c=e;while(1){b:{c:{d:{switch(c|0){case 0:break a;case 1:break d;default:break c}}if(r[b|0]!=45){break c}q[a>>2]=-1;break b}e=c-1|0;c=mS(d+12|0,o[e+b|0]);if(c){break a}c=q[a+8>>2]+(f>>>1&2147483644)|0;q[c>>2]=q[c>>2]|q[d+12>>2]<<(f<<2&28);f=f+1|0;c=e;continue}break}c=0}Ji(d)}fi=d+16|0;return c}function vD(a,b,c,d,e,f){var g=0,h=0,i=0;h=fi-16|0;fi=h;g=-12416;a:{if(t[a>>2]>c>>>0){break a}c=a+52|0;i=a+4|0;g=xv(c,i);if(g){break a}q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;b:{c:{if(e){g=Qqa(a,e,f);if(g){break b}g=Ak(h,c,a+88|0);if(g){break b}g=Lk(h,h,i);if(!g){break c}break b}g=_j(h,c);if(g){break b}}c=a- -64|0;g=co(c,h,a+28|0,i,a+76|0);if(g){break b}if(e){g=Ak(c,c,a+100|0);if(g){break b}g=Lk(c,c,i);if(g){break b}}a=Cm(c);q[d>>2]=a;g=hn(c,b,a)}g=g?g-13056|0:0;Ji(h)}fi=h+16|0;return g}function Xm(a,b){var c=0,d=0,e=0,f=0;qm(a,b);a:{b:{if(q[b>>2]!=12){break b}d=b+8|0;if(q[b+16>>2]==q[b+20>>2]){break a}c=q[b+8>>2];if((c|0)>2]}qm(a,b);c:{if(q[b>>2]!=12){break c}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];c=e+1|0;f=q[a>>2];d:{if(r[f+75|0]>(e|0)){d=c;break d}d=c;if((e|0)>=249){xj(q[a+12>>2],127238);f=q[a>>2];d=q[a+36>>2]+1|0}o[f+75|0]=c}q[a+36>>2]=d;vq(a,b,d-1|0);d=b+8|0}return q[d>>2]}function Wja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+8>>2];g=(q[q[a+16>>2]>>2]-q[b+48>>2]|0)/48|0;c=q[b>>2];e=q[b+4>>2];if((c|0)!=(e|0)){while(1){d=w(f,40)+c|0;if(!(q[d>>2]!=q[a+4>>2]|q[d+28>>2]!=(g|0))){q[d>>2]=0;R5(q[b+84>>2],q[d+16>>2]);e=q[b+4>>2];c=q[b>>2]}f=f+1|0;if(f>>>0<(e-c|0)/40>>>0){continue}break}}a:{c=q[b+64>>2];if(c){a=q[b+72>>2];if(!a|a>>>0>t[b+68>>2]){break a}a=a-1|0;q[b+72>>2]=a;q[c+(a<<2)>>2]=g;return 0}J(49021,48947,140,49052);G()}J(49057,48947,141,49052);G()}function Qja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;b=q[a+64>>2];d=b+16|0;a:{c=q[b+24>>2];b:{if((c|0)==q[b+20>>2]){q[e>>2]=c-q[d>>2]>>4;mi(4,49876,49884,e);a=-1e3;break b}d=p6(d);c=q[b+32>>2];if(d>>>0>=q[b+36>>2]-c>>3>>>0){break a}c=q[c+(d<<3)>>2];f=q[b+20>>2];b=q[b+16>>2];if(c>>>0>=f-b>>4>>>0){break a}b=b+(c<<4)|0;c=q[a+60>>2];q[b>>2]=c;u[b+8>>2]=u[c+12>>2];u[b+4>>2]=u[c+16>>2];u[b+12>>2]=u[c+20>>2];q[q[a+72>>2]>>2]=d;a=0}fi=e+16|0;return a|0}J(50690,50340,447,50701);G()}function joa(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];c=q[q[a+16>>2]>>2];b=q[c+28>>2];q[b>>2]=q[a+4>>2];q[b+4>>2]=d;q[b+8>>2]=q[a+12>>2];a=q[q[c>>2]>>2];d=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=Vi(a,-1);oi(a,-2);Xi(a,-1e4,q[c+12>>2]);bk(a);Xi(a,-1e4,q[c+16>>2]);c=fK(q[c>>2],q[c+28>>2],a);oi(a,-2);a:{if(b){e=q[a+8>>2];q[e+8>>2]=2;q[e>>2]=b;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}bk(a);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(12758,12779,753,13239);G()}return c|0}function W2(a){a=a|0;var b=x(0),c=0,d=0,e=0;c=a?q[a+120>>2]:0;a=a?q[a>>2]:0;e=q[c+8>>2]-q[c+12>>2]>>4;D1(q[65098]);if(a){b=x(Gm(a,114484,x(0))*x(1e6));a:{if(b=x(0)){a=x(y(b))>=x(1)?b>x(0)?~~x(A(x(C(x(b*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(b-x(~~b>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;d=~~b>>>0;break a}a=0;d=0}q[79176]=d;q[79177]=a}ek(c,114505,257968);oi(c,-2);if(q[c+8>>2]-q[c+12>>2]>>4!=(e|0)){J(114235,114256,211,114510);G()}}function Wu(a,b,c,d,e){var f=0,g=0;g=r[e+32|0]?-9:0;a:{b:{if(q[e>>2]==(a|0)&q[e+4>>2]==(b|0)){f=-4;if(q[c>>2]!=3){break a}u[d>>2]=u[c+8>>2];u[d+4>>2]=u[c+12>>2];u[d+8>>2]=u[c+16>>2];break b}if(q[e+8>>2]==(a|0)&q[e+12>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d>>2]=v[c+8>>3];break b}if(q[e+16>>2]==(a|0)&q[e+20>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+4>>2]=v[c+8>>3];break b}f=-1;if((a|0)!=q[e+24>>2]|(b|0)!=q[e+28>>2]){break a}f=-4;if(q[c>>2]){break a}u[d+8>>2]=v[c+8>>3]}f=g}return f}function Vo(a,b,c,d){var e=0,f=0;a:{b:{c:{if((c|0)<10){e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0>=(f-a|0)/576>>>0){break c}if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=a+(c<<4)|0;u[b>>2]=u[d>>2];u[b+4>>2]=u[d+4>>2];u[b+8>>2]=u[d+8>>2];u[b+12>>2]=u[d+12>>2];q[a+412>>2]=q[a+412>>2]|2097152;return}J(185519,184532,2771,185585);G()}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Qt(a,b,c){var d=0,e=0,f=0;a:{switch(q[b>>2]-13|0){case 0:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&-8372225|(c<<14)+16384&8372224;return;case 1:e=q[a>>2];d=q[e+12>>2];f=d+(q[b+8>>2]<<2)|0;q[f>>2]=(q[f>>2]&8388607|c<<23)+8388608;b=d+(q[b+8>>2]<<2)|0;q[b>>2]=q[a+36>>2]<<6&16320|q[b>>2]&-16321;d=q[a+36>>2];b=d+1|0;b:{if((d|0)=249){xj(q[a+12>>2],127238);e=q[a>>2];c=q[a+36>>2]+1|0}o[e+75|0]=b}q[a+36>>2]=c;break;default:break a}}}function Fs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;a:{e=q[a+4>>2];d=q[a>>2];c=e-d|0;if(!c){break a}if((d|0)!=(e|0)){e=d-e|0;e=((c|0)<(e|0)?e:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(e,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){d=q[(c<<2)+d>>2];q[f+12>>2]=s[d+24>>1];g=q[d>>2];h=q[d+12>>2];q[f>>2]=q[d+8>>2];q[f+4>>2]=h;Sj(b,f,8);Sj(b,g,q[f+12>>2]<<4);c=c+1|0;if((e|0)==(c|0)){break a}d=q[a>>2];if(q[a+4>>2]-d>>2>>>0>c>>>0){continue}break}}J(49482,49228,447,49493);G()}o[a+52|0]=0;fi=f+16|0}function iX(a,b,c){var d=0,e=0,f=0,g=0;Xm(a,b);a:{if(q[b>>2]!=12){break a}d=q[b+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];d=e+2|0;f=q[a>>2];b:{if((d|0)<=r[f+75|0]){g=d;break b}g=d;if((e|0)>=248){xj(q[a+12>>2],127238);f=q[a>>2];g=q[a+36>>2]+2|0}o[f+75|0]=d}q[a+36>>2]=g;Jk(a,e<<6|q[b+8>>2]<<23|ql(a,c)<<14|11,q[q[a+12>>2]+8>>2]);c:{if(q[c>>2]!=12){break c}c=q[c+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}q[b>>2]=12;q[b+8>>2]=e}function sfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=q[a>>2];d=q[e+4>>2];c=q[e>>2];b=d-c|0;if(!b){break a}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){f=q[(b<<2)+c>>2];c=q[f+128>>2];b:{if(!c){break b}g=q[q[a+4>>2]+8>>2];if((c|0)!=(g|0)){c=q[c+4>>2];if(!c|q[c+28>>2]!=(g|0)){break b}}hia(e,f,b)}b=b+1|0;if((d|0)==(b|0)){break a}c=q[e>>2];if(q[e+4>>2]-c>>2>>>0>b>>>0){continue}break}}J(47308,47134,447,47319);G()}}function zma(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;q[d+12>>2]=0;e=Ij(a,q[b>>2],d+12|0);if(!e){a=Ci(32);q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+8>>2]=q[d+12>>2];o[a+25|0]=o[b+4|0]&1;o[a+24|0]=q[b+24>>2];q[a>>2]=li(q[b+8>>2]);q[a+4>>2]=ii;u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];f=_$(q[b+8>>2]);if(f){g=q[b+8>>2];q[d+4>>2]=f;q[d>>2]=g;mi(4,59142,59150,d)}q[c>>2]=a}Ui(b);fi=d+16|0;return e}function u7(a,b){var c=x(0),d=0,e=0;e=fi-16|0;fi=e;a:{b:{c:{d:{d=r[b+4|0];switch(d&3){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=u[(s[b>>1]<<2)+a>>2];c=d&4?x(-c):c;c=d&8?x(x(c+x(1))*x(.5)):c;if(!(d&16)){break a}c=c>1];a=q[(d+(a>>>3&536870908)|0)+128>>2]>>>a&1}else{a=0}c=a?x(1):x(0);break a}o[e+15|0]=0;d=s[b>>1];if(a){o[e+15|0]=r[(a+d|0)+136|0]}if(!a){break a}c=s[b+2>>1]&r[e+15|0]?x(1):x(0)}fi=e+16|0;return c}function ri(a,b){var c=0;a:{b:{if((b|0)>=1){c=-1;b=(q[a+12>>2]+(b<<4)|0)-16|0;if(b>>>0>2]){break b}break a}if((b|0)>=-9999){b=q[a+8>>2]+(b<<4)|0;break b}c:{switch(b+10002|0){case 2:b=q[a+16>>2]+96|0;break b;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break b;case 0:b=a+72|0;break b;default:break c}}c=-1;a=q[q[q[a+20>>2]+4>>2]>>2];if(r[a+7|0]<(-10002-b|0)){break a}b=(a+(0-b<<4)|0)-160024|0}if((b|0)==126472){return-1}c=q[b+8>>2]}return c}function lk(a,b,c){var d=0,e=0,f=0,g=0;d=fi-1024|0;fi=d;a:{if(r[a|0]){kj(d,a,1024);wk(d,157517,1024);break a}o[d|0]=0}wk(d,b,1024);b=r[d|0];b:{if(!b){break b}a=d;while(1){f=e;g=b&255;c:{if(!((g|0)!=47?(g|0)!=92:0)){o[c+f|0]=47;while(1){b=r[a|0];if((b|0)==92|(b|0)==47){a=a+1|0;continue}else{g=47;break c}}}o[c+f|0]=b;g=b;b=r[a+1|0];a=a+1|0}e=f+1|0;if(b&255?e>>>0<1024:0){continue}break}if(!f){e=1;break b}if((g&255)!=47){break b}o[c+f|0]=0}o[(e>>>0<1023?e:1023)+c|0]=0;fi=d+1024|0}function jo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+104>>2];if(!c){break a}f=q[a+16>>2];while(1){d=q[c+8>>2];if(d>>>0>>0){break a}q[a+104>>2]=q[c>>2];e=c+16|0;b:{if(r[c+5|0]&(r[f+20|0]^-1)&3){if((e|0)!=(d|0)){q[q[e+4>>2]+16>>2]=q[e>>2];q[q[e>>2]+20>>2]=q[e+4>>2]}dj(a,c,32,0);break b}q[q[c+20>>2]+16>>2]=q[c+16>>2];q[q[c+16>>2]+20>>2]=q[c+20>>2];d=q[c+8>>2];g=q[d+4>>2];q[c+16>>2]=q[d>>2];q[c+20>>2]=g;q[c+24>>2]=q[d+8>>2];q[c+8>>2]=e;GX(a,c)}c=q[a+104>>2];if(c){continue}break}}}function jia(a){var b=0;a:{if(o[a+132|0]&1){break a}b=q[a+120>>2];if(!b){break a}ki(b)}b:{if(o[a+116|0]&1){break b}b=q[a+104>>2];if(!b){break b}ki(b)}c:{if(o[a+100|0]&1){break c}b=q[a+80>>2];if(b){ki(b)}b=q[a+72>>2];if(!b){break c}ki(b)}d:{if(o[a+68|0]&1){break d}b=q[a+56>>2];if(!b){break d}ki(b)}e:{if(o[a+52|0]&1){break e}b=q[a+40>>2];if(!b){break e}ki(b)}f:{if(o[a+32|0]&1){break f}b=q[a+20>>2];if(!b){break f}ki(b)}g:{if(o[a+16|0]&1){break g}a=q[a+4>>2];if(!a){break g}ki(a)}}function xpa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=fi-16|0;fi=d;a:{if((b|0)<=-1){e=b;c=b>>31;b=0;while(1){g=b;o[(d+1|0)+b|0]=e|128;b=b+1|0;h=!c&e>>>0>16383|(c|0)!=0;f=c;c=c>>>7|0;f=(f&127)<<25|e>>>7;e=f;if(h){continue}break}o[(d+1|0)+b|0]=f;a=ji[q[a>>2]](q[a+4>>2],d+1|0,g+2|0)|0;break a}b:{if(b>>>0<128){e=b;break b}while(1){o[(d+11|0)+c|0]=b|128;c=c+1|0;f=b>>>0>16383;e=b>>>7|0;b=e;if(f){continue}break}}o[(d+11|0)+c|0]=e;a=ji[q[a>>2]](q[a+4>>2],d+11|0,c+1|0)|0}fi=d+16|0;return a}function uqa(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=q[a+28>>2];tj(e);a:{c=q[a+12>>2];b=q[a+8>>2];d=c-b|0;if(!d){break a}b:{if((b|0)!=(c|0)){g=d>>6;c=0;d=0;while(1){b=(c<<6)+b|0;c:{if(q[b+48>>2]!=2){break c}d=d+1|0;if(o[b+58|0]&1){break c}f=q[b+44>>2];if((f|0)==-1){break b}Mo(f);o[b+58|0]=r[b+58|0]|1}c=c+1|0;if((g|0)==(c|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}}J(153026,152878,447,153037);G()}J(152747,152639,492,152794);G()}o[a+32|0]=r[a+32|0]&254;lj(e)}function pia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Kj(a);q[c+72>>2]=0;q[c+76>>2]=0;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;ok(a,1,b+48|0,b+16|0);d=q[61991];Zj(b+16|0,b+48|0,q[d+8>>2],q[d+12>>2],f,d,b+15|0,1);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66071,66092,362,66208);G()}fi=c+80|0;return 0}function VM(a,b,c,d){var e=0,f=0;a:{b:{f=c+8|0;if(f>>>0>b>>>0){break b}e=Xp(a,c,d);if(e){break a}if((c|0)==2){c=q[d>>2];q[d>>2]=((c|0)<50?c+100|0:c)+1900}e=Xp(a,2,d+4|0);if(e){break a}e=Xp(a,2,d+8|0);if(e){break a}e=Xp(a,2,d+12|0);if(e){break a}e=Xp(a,2,d+16|0);if(e){break a}b=b-f|0;if(b>>>0<2){break b}e=Xp(a,2,d+20|0);if(e){break a}e=-9216;c:{switch(b-2|0){case 1:b=q[a>>2];if(r[b|0]!=90){break a}q[a>>2]=b+1;break;case 0:break c;default:break a}}return fN(d)}e=-9216}return e}function CK(a,b,c){var d=0,e=0,f=0,g=0;g=Koa(b);d=q[a+4>>2];b=d;e=q[a>>2];if((e|0)!=(d|0)){f=d-e>>3;b=0;while(1){if(q[e+(b<<3)>>2]==(c|0)){a=e+(b<<3)|0;p[a+4>>1]=s[a+4>>1]|g;return}b=b+1|0;if(f>>>0>b>>>0){continue}break}b=e}e=a+4|0;a:{b:{f=q[a+8>>2];if((f|0)==(d|0)){if(o[a+12|0]&1){break b}vi((d-b>>3)+4|0,8,a,a+8|0,e);f=q[a+8>>2];d=q[a+4>>2]}if((d|0)==(f|0)){break a}q[e>>2]=d+8;q[d>>2]=c;q[d+4>>2]=g&65535;return}J(158500,158575,461,158601);G()}J(158635,158575,501,158659);G()}function iK(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=b>>>16&32767;if((c|0)!=32767){d=q[a+2060>>2];b=q[a+2056>>2];while(1){if(d-b>>2>>>0<=c>>>0){break a}e=c<<2;b=q[e+b>>2];iK(a,q[b+148>>2]);if(r[b+136|0]>=127){break b}Ns(a,b);d=q[b+136>>2];f=q[b+140>>2];q[b+136>>2]=d&-256|d+1&255;q[b+140>>2]=f;lv(a,b);d=q[a+2060>>2];b=q[a+2056>>2];if(d-b>>2>>>0<=c>>>0){break a}c=q[q[b+e>>2]+148>>2]&32767;if((c|0)!=32767){continue}break}}return}J(12269,7150,1543,12316);G()}J(12475,10090,447,9406);G()}function Wi(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}b=q[a+8>>2];Mt(d,c,b-32|0,b-16|0);q[a+8>>2]=q[a+8>>2]-32}function Bua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;q[d+16>>2]=b;e=q[a+48>>2];q[d+20>>2]=c-((e|0)!=0);f=q[a+44>>2];q[d+28>>2]=e;q[d+24>>2]=f;e=-1;a:{b:{g=db(q[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}q[240833]=g;f=-1}if(!f){e=q[d+12>>2];if((e|0)>0){break b}}q[a>>2]=q[a>>2]|e&48^16;break a}g=q[d+20>>2];if(g>>>0>=e>>>0){break a}f=q[a+44>>2];q[a+4>>2]=f;q[a+8>>2]=f+(e-g|0);if(q[a+48>>2]){q[a+4>>2]=f+1;o[(b+c|0)-1|0]=r[f|0]}e=c}fi=d+32|0;return e|0}function $j(a,b){var c=0;a:{b:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;if(b>>>0>2]){break b}break a}if((b|0)>=-9999){b=q[a+8>>2]+(b<<4)|0;break b}c:{switch(b+10002|0){case 2:b=q[a+16>>2]+96|0;break b;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break b;case 0:b=a+72|0;break b;default:break c}}a=q[q[q[a+20>>2]+4>>2]>>2];if(r[a+7|0]<(-10002-b|0)){break a}b=(a+(0-b<<4)|0)-160024|0}if((b|0)==126472){return 0}c=q[b+8>>2]-3>>>0<2}return c}function O0(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;b=Vi(a,1);a:{b:{c:{c=Ni(a,2,0);if(!Ej(116412,c)){c=q[b+4>>2];e=c;b=q[b>>2];if(!(c|b)){break c}Yj(a,b,e);a=1;break a}if(!Ej(116419,c)){c=q[b+20>>2];e=c;b=q[b+16>>2];if(!(c|b)){break c}Yj(a,b,e);a=1;break a}if(Ej(116424,c)){break b}c=q[b+28>>2];e=c;b=q[b+24>>2];if(!(c|b)){break c}Yj(a,b,e);a=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a=1;break a}q[d+4>>2]=115799;q[d>>2]=115795;a=ni(a,116433,d)}fi=d+16|0;return a|0}function Xja(a){a=a|0;var b=0,c=0,d=0,e=0;a=q[a+4>>2];b=q[a>>2];if((b|0)!=q[a+4>>2]){while(1){b=w(c,40)+b|0;Di(q[q[a+80>>2]>>2],q[b+20>>2]);vs(q[a+84>>2],q[b+16>>2]);c=c+1|0;b=q[a>>2];if(c>>>0<(q[a+4>>2]-b|0)/40>>>0){continue}break}}b=q[a+32>>2];d=q[a+36>>2];if((b|0)!=(d|0)){c=0;while(1){e=q[(c<<2)+b>>2];if(e){xu(e);d=q[a+36>>2];b=q[a+32>>2]}c=c+1|0;if(c>>>0>2>>>0){continue}break}}FG(q[a+84>>2]);ji[q[74896]](q[a+88>>2]);ji[q[74913]](q[a+108>>2]);fia(a);ki(a);return 0}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(b){c=q[a+8>>2];i=q[a+4>>2];if(c>>>0>i>>>0){break a}b:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break b}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=jwa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=k}return a^1}J(22952,22890,69,22958);G()}J(22871,22890,70,22958);G()}function aQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=b&7;b:{if(!e){e=c;break b}d=b>>>3|0;g=8-e|0;c:{if(g>>>0>=c>>>0){if(!c){break a}e=a+d|0;f=r[e|0];d=c;while(1){f=1<>>0<=g>>>0){break a}}c=(b>>>3|0)+a|0;d=e&7;if(d){a=(b+e>>>3|0)+a|0;f=r[a|0];while(1){f=1<<8-d|f;d=d-1|0;if(d){continue}break}o[a|0]=f;e=e&-8}qi(c,255,e>>>3|0)}}function Oo(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if((b|0)!=(c|0)){f=(c-b|0)/48|0;g=q[a+1952>>2];d=q[a+1948>>2];if((f|0)>g-d>>2){break c}if(t[a+1884>>2]>>0){break b}h=q[a+1880>>2];e=d;while(1){q[e>>2]=(b-h|0)/48;e=e+4|0;b=b+48|0;if((c|0)!=(b|0)){continue}break}c=q[a+1944>>2];b=(d-c>>2)+f|0;if(b>>>0>g-c>>2>>>0){break a}q[a+1964>>2]=q[a+1960>>2];q[a+1948>>2]=c+(b<<2)}return}J(103485,103375,209,103562);G()}J(103579,103375,210,103562);G()}J(104075,103940,474,104094);G()}function Iu(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+4>>2];if(c){b:{g=q[a>>2]+((b>>>0)%(c>>>0)<<2)|0;d=q[g>>2];if((d|0)!=-1){c=0;e=q[a+8>>2];f=e+w(d,12)|0;if(q[f>>2]==(b|0)){break a}break b}J(6808,6255,337,6802);G()}while(1){d=q[(w(d,12)+e|0)+8>>2];if((d|0)!=-1){c=f;f=w(d,12)+e|0;if(q[f>>2]!=(b|0)){continue}break a}break}J(6832,6255,363,6802);G()}J(6781,6255,331,6802);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(d,12)+e|0;q[(c?c+8|0:g)>>2]=q[b+8>>2];c=q[a+20>>2];q[a+20>>2]=d;q[b+8>>2]=c}function GG(a){var b=0,c=0,d=0,e=0;d=q[a+4>>2];c=q[a>>2];e=d-c|0;b=(e|0)/18568|0;a:{b:{if(!e){break b}if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){c=w(b,18568)+c|0;if(o[c+18540|0]&1){break a}vi(0,1544,c+18528|0,c+18536|0,c+18532|0);b=b+1|0;if((d|0)==(b|0)){break b}c=q[a>>2];if((q[a+4>>2]-c|0)/18568>>>0>b>>>0){continue}break}}J(136114,135222,447,135487);G()}Ui(q[a+16>>2]);c:{if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}ki(b)}ki(a);return}J(135147,135222,461,135301);G()}function v2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-4016|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;zi(a,-10002,110695);o[b+16|0]=0;c=1;a:{b:{if((e|0)>=1){while(1){Hi(a,-1);Hi(a,c);zk(a,1,1);d=_i(a,-1,0);if(!d){break b}if(c>>>0>=2){wk(b+16|0,110747,3999)}wk(b+16|0,d,3999);oi(a,-2);d=(c|0)==(e|0);c=c+1|0;if(!d){continue}break}}q[b>>2]=b+16;mi(1,110525,110749,b);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(e|0)){break a}J(110752,110448,391,110771);G()}f=ni(a,110704,0)}fi=b+4016|0;return f|0}function oA(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=b>>>16&32767;if((c|0)!=32767){d=q[a+2060>>2];b=q[a+2056>>2];while(1){if(d-b>>2>>>0<=c>>>0){break a}e=c<<2;b=q[e+b>>2];oA(a,q[b+148>>2]);if(!r[b+136|0]){break b}Ns(a,b);d=q[b+136>>2];f=q[b+140>>2];q[b+136>>2]=d&-256|d-1&255;q[b+140>>2]=f;lv(a,b);d=q[a+2060>>2];b=q[a+2056>>2];if(d-b>>2>>>0<=c>>>0){break a}c=q[q[b+e>>2]+148>>2]&32767;if((c|0)!=32767){continue}break}}return}J(11754,7150,1511,12325);G()}J(12475,10090,447,9406);G()}function X3(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;if(!(!e|d)){a=q[b+7372>>2];q[a+4>>2]=q[a>>2];return}q[b+7400>>2]=c;a:{b:{c=q[b+7372>>2];g=q[c+8>>2];f=q[c+4>>2];a=g-f|0;if(a>>>0>>0){if(o[c+12|0]&1){break b}vi((((e+g|0)-a|0)-q[c>>2]|0)- -1048576|0,1,c,c+8|0,c+4|0);c=q[b+7372>>2];f=q[c+4>>2];a=q[c+8>>2]-f|0}if(a>>>0>>0){break a}si(f,d,e);q[c+4>>2]=q[c+4>>2]+e;q[b+7396>>2]=q[b+7396>>2]+e;return}J(27518,26974,461,27593);G()}J(26945,26974,508,27053);G()}function Ata(a,b,c){var d=0,e=0,f=0,g=0;e=a;b=r[b+1|0];f=b<<3|b>>>2;g=(c<<4)+94496|0;b=f+q[g>>2]|0;a:{b:{if(b>>>0<256){d=b;break b}c=255;if((b|0)>=0){break a}}c=d}q[e>>2]=c;b=0;e=a;c=q[g+4>>2]+f|0;c:{d:{if(c>>>0<256){b=c;break d}d=255;if((c|0)>=0){break c}}d=b}q[e+4>>2]=d;b=0;e=a;c=q[g+8>>2]+f|0;e:{f:{if(c>>>0<256){b=c;break f}d=255;if((c|0)>=0){break e}}d=b}q[e+8>>2]=d;d=a;a=0;b=q[g+12>>2]+f|0;g:{h:{if(b>>>0<256){a=b;break h}c=255;if((b|0)>=0){break g}}c=a}q[d+12>>2]=c}function yda(a){a=a|0;var b=0;a=fi-16|0;fi=a;a:{if(o[300004]&1){break a}if(!ui(300004)){break a}if(r[852367]){b=Ri(80821)}else{b=-1}q[75e3]=b;ti(300004)}b:{if(o[300012]&1){break b}if(!ui(300012)){break b}if(r[852367]){b=Yi(80827,4)}else{b=0}q[75002]=b;ti(300012)}b=q[75e3];c:{if((b|0)!=-1){Qi(a,b,80827,q[75002]);break c}q[a>>2]=0}WI(0);ob();d:{if(r[q[74995]+104|0]&8){b=K()|0;if(b){break d}}if(q[a>>2]){Pi(a)}fi=a+16|0;return}Mi(b,80832,1295);J(79249,79164,1295,80832);G()}function Wfa(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;d=-2;a:{if(rj(q[a+20>>2],q[a+24>>2],266864,e+12|0)){break a}d=q[a>>2];c=q[q[a+32>>2]+8>>2];b=q[c+16>>2];if(b){Ui(b)}b=q[c+32>>2];if(b){Di(d,b)}b=q[c+20>>2];if(b){Di(d,b)}b=q[c+28>>2];if(b){Di(d,b)}b=q[c+24>>2];if(b){Di(d,b)}q[c+16>>2]=q[e+12>>2];d=MJ(q[a>>2],c,1);if(d){break a}q[q[a+32>>2]+16>>2]=(q[c+60>>2]+(q[c+44>>2]+(q[a+24>>2]+q[c+8>>2]|0)|0)-(q[c+52>>2]+(q[c>>2]+q[c+36>>2]|0))|0)+68;d=0}fi=e+16|0;return d|0}function _K(a,b,c){var d=0;d=fi-96|0;fi=d;yp(d);q[d+8>>2]=1732584193;q[d+12>>2]=-271733879;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=-1009589776;q[d+16>>2]=-1732584194;q[d+20>>2]=271733878;xp(d,a,b);a=hq(d,c);if(d){ji[q[66742]](d,0,92)|0}if(a){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0}fi=d+96|0}function Fpa(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;g=2;a:{b:{if((c|0)!=2){break b}if(!Qp(e,f+12|0)){break b}if(!UK(e,q[f+12>>2],f+8|0)){break b}e=q[f+12>>2];h=q[f+8>>2];c=q[d+4>>2];if((c&-268435456)==805306368){Lpa(a,b,d,h,e);g=0;break b}if((c&264241152)!=37748736){break a}c=CA(b,e+1|0);g=0;if(r[a+12|0]){break b}a=q[a+4>>2];d=q[d+12>>2];i=e;e=si(c,h,e);o[i+e|0]=0;a=a+d|0;if(o[b+48|0]&1){c=e-q[b+32>>2]|0}q[a>>2]=c}fi=f+16|0;return g}J(23575,23114,288,23611);G()}function Dp(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}a=c;if(q[a+8>>2]==6){a=r[q[a>>2]+6|0]!=0}else{a=0}return a}function TM(a){var b=0,c=0;if(a){qS(a);rS(a);b=q[a+72>>2];a:{if(!b|!q[a+40>>2]){break a}c=q[a+44>>2];if(!c|q[a+20>>2]!=1){break a}q[a+72>>2]=0;ji[c|0](q[a+52>>2],q[b>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[b+16>>2]);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;ji[q[a+44>>2]](q[a+52>>2],q[b+32>>2]);q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;c=q[b+60>>2];if(c){Qj(c);q[b+60>>2]=0}ji[q[a+44>>2]](q[a+52>>2],b)}ki(a)}}function aoa(a){var b=0,c=0,d=0;Foa(q[q[q[a+4>>2]+80>>2]+8>>2],a);b=q[q[a>>2]>>2];d=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[a+12>>2]);bk(b);py(q[a+8>>2]);c=q[b+8>>2];q[c+8>>2]=0;q[b+8>>2]=c+16;bk(b);sj(b,-1e4,q[a+20>>2]);sj(b,-1e4,q[a+12>>2]);sj(b,-1e4,q[a+16>>2]);coa(q[a+28>>2]);q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=-2;q[a+20>>2]=-2;q[a+12>>2]=-2;if(q[b+8>>2]-q[b+12>>2]>>4!=(d|0)){J(16481,15813,2522,18520);G()}}function w9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=q[a+8>>2]-q[a+12>>2]>>4;e=Zi(a,1,c+12|0);a:{if(r[e+415|0]&8){break a}if(ri(a,2)){b=Zi(a,2,c+12|0);b=s[b+554>>1]|s[b+552>>1]<<16}b:{if((d|0)<3){break b}if((ri(a,3)|0)!=1){break b}f=(Fj(a,3)|0)!=0}Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);c:{d:{b=Mq(d,s[e+554>>1]|s[e+552>>1]<<16,b,f);switch(b+8|0){case 8:break a;case 0:break d;default:break c}}b=ni(a,192151,0);break a}b=ni(a,192210,0)}fi=c+16|0;return b|0}function tqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-80|0;fi=b;g=q[a+8>>2]-q[a+12>>2]>>4;e=gj(a,1);if(!((e|0)==1&r[906204]!=0)){ni(a,194044,0)}c=q[230888];c=(e|0)!=1?0:r[906204]?c>>>0<64?c:64:0;ij(a,0,0);if(c){while(1){q[b>>2]=jqa(e,d);Sm(b+16|0,194101,b);f=q[a+8>>2];q[f+8>>2]=3;d=d+1|0;v[f>>3]=d>>>0;q[a+8>>2]=q[a+8>>2]+16;wi(a,b+16|0);Wi(a,-3);if((c|0)!=(d|0)){continue}break}}if((g+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(194104,193507,285,194129);G()}fi=b+80|0;return 1}function eq(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==r[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(r[a|0]==(b&255)|c>>>0<4){break d}d=w(b&255,16843009);while(1){e=d^q[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)==r[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function oF(a){var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>1){ms(a);e=a;if((ri(a,-1)|0)==5){ak(a,-3);Wi(a,-3);d=-2}else{d=-4}oi(e,d);c=c-2|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)!=(a|0)){break a}fi=b+32|0;return}q[b+12>>2]=c;q[b+4>>2]=1169;q[b+8>>2]=-2;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1169;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function k0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){b=Ci(8);q[b>>2]=0;break b}vj(a,1,5);d=wl(a,1);b=Ci(8);if((d|0)>-1){q[b>>2]=d;if(!d){break b}q[b+4>>2]=xi(d<<2);while(1){c=q[a+8>>2];q[c+8>>2]=3;f=c;c=e+1|0;v[f>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,1);g=wj(a,-1);u[q[b+4>>2]+(e<<2)>>2]=g;oi(a,-2);e=c;if((c|0)!=(d|0)){continue}break}break a}J(122335,122349,37,122418);G()}q[b+4>>2]=0}q[bj(a,4)>>2]=b;zi(a,-1e4,120638);aj(a,-2);return 1}function Lq(a,b){var c=0,d=0,e=0,f=0;a:{if(b>>>0<4){d=b;break a}d=b;while(1){f=e;e=w(r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24),1540483477);e=w(f^w(e>>>24^e,1540483477),1540483477);a=a+4|0;d=d-4|0;if(d>>>0>3){continue}break}}b:{switch(d-1|0){case 2:c=r[a+2|0]<<16;case 1:c=r[a+1|0]<<8|c;case 0:c=w(r[a|0]^c,1540483477);break;default:break b}}a=w(b,1540483477);a=w(w(c>>>24^c,1540483477)^e,1540483477)^w(a>>>24^a,1540483477);a=w(a>>>13^a,1540483477);return a>>>15^a}function JV(a,b,c){var d=0;d=fi+ -64|0;fi=d;b=DD(a,b);a:{if(b){break a}b=d;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=Ht(a,64,b,b);if(b){break a}b=DU(a+132|0,d);if(b){break a}q[a+208>>2]=0;q[a+212>>2]=0;q[a+228>>2]=c;q[a+224>>2]=1;q[a+216>>2]=0;q[a+220>>2]=0;b=0}ji[q[66742]](d,0,64)|0;fi=d- -64|0;return b}function vra(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=a;if((ri(a,1)|0)==8){d=In(a,1)}e=r[d+56|0];b=q[d+68>>2];a:{if(!(!b|(b|0)==1137)){Bi(a,132632,13);break a}yE(a);b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;gl(a,-2);Ok(a,-2)}b=0;if(e&1){o[c+11|0]=99;b=1}if(e&2){o[(c+11|0)+b|0]=114;b=b+1|0}if(e&4){o[(c+11|0)+b|0]=108;b=b+1|0}o[(c+11|0)+b|0]=0;wi(a,c+11|0);d=q[d+60>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;fi=c+16|0;return 3}function Tja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+8>>2];q[b+112>>2]=0;o[b+120|0]=r[b+120|0]&254;e=q[b+4>>2];c=q[b>>2];g=e-c|0;d=(g|0)/40|0;a:{if(!g){break a}if((c|0)!=(e|0)){e=d>>>0>1?d:1;while(1){d=w(f,40)+c|0;c=q[d+20>>2];if((c|0)==q[a+4>>2]){U5(q[b+84>>2],q[d+16>>2]);c=q[d+20>>2]}q[b+112>>2]=q[b+112>>2]+((q[c+4>>2]-q[c>>2]|0)/18568|0);f=f+1|0;if((e|0)==(f|0)){break a}c=q[b>>2];if((q[b+4>>2]-c|0)/40>>>0>f>>>0){continue}break}}J(48739,48652,447,48750);G()}}function R5(a,b){var c=0,d=0;a:{b:{if(!b){break b}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);break b}d=q[a+4>>2];c=q[a>>2];b=d-c|0;if(!b){break b}b=(b|0)/288|0;if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){c=w(b,288)+c|0;o[c+280|0]=r[c+280|0]|8;b=b+1|0;if((d|0)==(b|0)){break b}c=q[a>>2];if((q[a+4>>2]-c|0)/288>>>0>b>>>0){continue}break}}break a}break a}return}J(136114,135222,447,135487);G()}function Hma(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=0;b=fi-16|0;fi=b;c=Fm(a,2);d=sm(a,1);a:{b:{if(d){c:{e=u[d>>2];d:{if(e<=x(0)){break d}f=u[d+4>>2];if(f<=x(0)){break d}g=u[d+8>>2];if(g<=x(0)^1){break c}}a=ni(a,16238,0);break a}u[b+8>>2]=g;u[b+4>>2]=f;u[b>>2]=e;a=q[b+4>>2];d=q[b>>2];u[c+40>>2]=u[b+8>>2];q[c+32>>2]=d;q[c+36>>2]=a;break b}h=Ai(a,1);if(!(h<=0^1)){a=ni(a,16320,0);break a}e=x(h);u[c+32>>2]=e;u[c+40>>2]=e;u[c+36>>2]=e}a=0}fi=b+16|0;return a|0}function Gw(a,b,c){var d=0,e=0,f=0;e=fi-16|0;fi=e;d=Lj(a,b,e+12|0,48);a:{if(d){d=d-15104|0;break a}d=-15206;if((q[a>>2]+q[e+12>>2]|0)!=(b|0)){break a}d=Lj(a,b,e+12|0,2);if(d){d=d-15104|0;break a}d=-15104;if(ZC(c,q[a>>2],q[e+12>>2],0,0)){break a}q[a>>2]=q[a>>2]+q[e+12>>2];f=Lj(a,b,e+12|0,2);if(f){d=f-15104|0;break a}if(ZC(c,0,0,q[a>>2],q[e+12>>2])){break a}q[a>>2]=q[a>>2]+q[e+12>>2];if(AU(c)){break a}if(Zw(c)){break a}d=q[a>>2]==(b|0)?0:-15206}fi=e+16|0;return d}function AX(a,b){var c=0,d=0,e=0,f=0;c=a+104|0;e=q[a+16>>2];d=q[a+104>>2];a:{if(!d){break a}f=q[d+8>>2];if(f>>>0>>0){break a}while(1){c=d;if((b|0)==(f|0)){a=r[c+5|0];if(!(a&(r[e+20|0]^-1)&3)){return c}o[c+5|0]=a^3;return c}d=q[c>>2];if(!d){break a}f=q[d+8>>2];if(f>>>0>=b>>>0){continue}break}}a=dj(a,0,0,32);o[a+4|0]=10;d=r[e+20|0];q[a+8>>2]=b;o[a+5|0]=d&3;q[a>>2]=q[c>>2];q[c>>2]=a;q[a+16>>2]=e+120;b=q[e+140>>2];q[a+20>>2]=b;q[b+16>>2]=a;q[e+140>>2]=a;return a}function D2(a){a=a|0;var b=0,c=0;b=fi+ -64|0;fi=b;ir(b,no(a,1));c=bj(a,64);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];zi(a,-1e4,120704);aj(a,-2);fi=b- -64|0;return 1}function sB(a,b){var c=0,d=0,e=0;e=1;c=q[a>>2];d=q[b>>2];a:{if((c|0)>(d|0)){break a}b:{if((c|0)!=(d|0)){break b}c=q[a+4>>2];d=q[b+4>>2];if((c|0)>(d|0)){break a}if((c|0)!=(d|0)){break b}if(q[a+8>>2]>q[b+8>>2]|(q[a+12>>2]>q[b+12>>2]?q[a+8>>2]==q[b+8>>2]:0)|(q[a+16>>2]>q[b+16>>2]?!(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]):0)){break a}if(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]|q[a+16>>2]!=q[b+16>>2]){break b}if(q[a+20>>2]>q[b+20>>2]){break a}}e=0}return e}function d3(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=fi-48|0;fi=c;b=yi(a,1,q[210278],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}e=u[b+12>>2];if(e==e){break a}}d=u[b+8>>2];e=u[b+12>>2];v[c+16>>3]=g;v[c+32>>3]=e;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=1;ni(a,120971,c);e=u[b+12>>2];d=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=bj(a,16);u[b+12>>2]=e;u[b+8>>2]=-d;u[b+4>>2]=-g;u[b>>2]=-f;zi(a,-1e4,120688);aj(a,-2);fi=c+48|0;return 1}function In(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}a=c;if(q[a+8>>2]==8){a=q[a>>2]}else{a=0}return a}function Dn(a){var b=0;a:{if(!q[a+176>>2]){b=jC(a);if(b){break a}while(1){b:{c:{if(q[a+132>>2]){break c}if(!(!(r[q[a>>2]+184|0]&2)|t[a+136>>2]>t[a+144>>2])){if(!KP(a)){break c}}b=MP(a);if((b|0)==-25984){break b}if(b){break a}}b=XT(a);if((b|0)<=-25729){if((b|0)==-26240|(b|0)==-25984){break b}break a}if((b|0)!=-25728){if(b){break a}b=0;if(q[a+128>>2]!=22){break a}GT(a);return 0}b=ZP(a);if(b){break a}}b=jC(a);if(!b){continue}break}break a}q[a+176>>2]=0}return b}function xma(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-48|0;fi=c;e=Ti(c+24|0,a,1,61062,777);a:{if((ri(a,1)|0)==7){b=yi(a,1,q[74122],0);b:{if(q[b+4>>2]==2){d=q[b>>2]+4|0;break b}d=b}if(xm(q[d>>2])){break a}ni(a,61165,0)}hk(a,1,60842);b=0}if(q[b+4>>2]==2){b=q[b>>2]+4|0}b=q[b>>2];q[c+20>>2]=0;c:{if(Zq(b,c+20|0)){q[c+4>>2]=60842;q[c>>2]=60842;a=uj(e,61308,c);break c}b=q[c+20>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;a=1}Si(e);fi=c+48|0;return a|0}function e_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=q[a+16>>2];b=dj(a,0,0,192);q[a+48>>2]=8;q[a+20>>2]=b;q[a+40>>2]=b;q[a+36>>2]=b+168;b=dj(a,0,0,720);q[a+44>>2]=45;q[a+32>>2]=b;q[a+28>>2]=b+624;c=q[a+20>>2];q[c+4>>2]=b;d=b+16|0;q[a+8>>2]=d;q[b+8>>2]=0;q[c>>2]=d;q[a+12>>2]=d;q[c+8>>2]=b+336;b=Ho(a,0,2);q[a+80>>2]=5;q[a+72>>2]=b;b=q[a+16>>2];c=Ho(a,0,2);q[b+104>>2]=5;q[b+96>>2]=c;qx(a,32);eX(a);aX(a);a=Bj(a,127959,17);o[a+5|0]=r[a+5|0]|32;q[e+64>>2]=q[e+68>>2]<<2}function YE(a,b,c,d){var e=0,f=0;f=fi-16|0;fi=f;a:{if(o[959920]&1){break a}if(!ui(959920)){break a}if(r[852367]){e=Ri(200718)}else{e=-1}q[239979]=e;ti(959920)}b:{if(o[959928]&1){break b}if(!ui(959928)){break b}if(r[852367]){e=Yi(200724,6)}else{e=0}q[239981]=e;ti(959928)}e=q[239979];c:{if((e|0)!=-1){Qi(f,e,200724,q[239981]);break c}q[f>>2]=0}if(a){a=ji[q[q[a+8>>2]+20>>2]](q[a+4>>2],b,c,d)|0;if(q[f>>2]){Pi(f)}fi=f+16|0;return a}J(200679,200687,102,200724);G()}function gqa(){var a=0,b=0;a=fi-272|0;fi=a;qi(956592,0,1024);qi(855828,0,50376);a:{if(du(193277,957616)){break a}wk(957616,193284,1024);wk(957616,193286,1024);kj(956592,957616,1024);qi(a+8|0,0,264);fs(a+8|0);kj(855988,a+8|0,32);kj(856020,a+40|0,32);kj(856052,a+72|0,32);kj(856084,a+104|0,32);kj(856116,a+168|0,8);kj(856124,a+176|0,16);kj(856140,a+192|0,8);kj(855828,4206,32);kj(855860,4212,128);o[288624]=r[288520];b=q[a+268>>2];if(!b){break a}ki(b)}fi=a+272|0}function Nha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-96|0;fi=b;f=Ti(b+40|0,a,0,67527,1221);c=q[q[Kj(a)+80>>2]+8>>2];q[b+36>>2]=0;q[b+32>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;Hk(a,1,c,67321,b+36|0,b- -64|0,b+32|0);c=Pj(a,2);d=ii;a:{if((ri(a,3)|0)==1){e=Fj(a,3);break a}q[b+16>>2]=3;e=ni(a,69834,b+16|0)}if(!al(q[b+32>>2],c,d,1)){q[b>>2]=Ei(c,d);g=ni(a,69798,b)}Si(f);fi=b+96|0;return g|0}function $ba(a,b){var c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;c=q[a+268>>2];a:{if((c|0)==q[a+260>>2]-q[a+252>>2]>>4){q[d>>2]=c;mi(4,184623,184717,d);a=-4;break a}b=li(b);c=ii;g=c;e=s[a+356>>1];p[a+356>>1]=e+1;p[d+14>>1]=e;lz(a+244|0,b,c,d+14|0);c=q[a+32>>2];e=q[a+36>>2]-c|0;a=(e|0)/576|0;if(e){e=a>>>0>1?a:1;a=0;while(1){f=c+w(a,576)|0;if((b|0)==q[f+496>>2]&q[f+500>>2]==(g|0)){p[f+504>>1]=s[d+14>>1]}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=0}fi=d+16|0;return a}function uC(a,b,c){var d=0,e=0,f=0;a:{if(!c){c=128040;q[b+16>>2]=128040;break a}c=rx(c-1|0);d=c+1|0;if((c|0)>=26){Ck(a,128072,0)}e=1<>>0<=26){c=dj(a,0,0,e<<5);q[b+16>>2]=c;a=b+16|0;break b}c=Rj(a);q[b+16>>2]=c;if((d|0)==31){break a}a=b+16|0}q[c+8>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;if(!(!d|(e|0)<2)){c=1;while(1){f=q[a>>2]+(c<<5)|0;q[f+8>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=q[a>>2]}o[b+7|0]=d;q[b+20>>2]=(e<<5)+c}function uX(a,b,c){var d=0,e=0,f=0,g=0;d=fi-48|0;fi=d;e=q[b+8>>2];q[d+44>>2]=0;c=e-3>>>0<2?c:b;e=q[(q[c+8>>2]<<2)+261152>>2];f=q[a+20>>2];g=q[f+8>>2];a:{b:{b=q[f>>2];if(g>>>0<=b>>>0){break b}while(1){if((b|0)!=(c|0)){b=b+16|0;if(g>>>0>b>>>0){continue}break b}break}b=_t(a,f,c-q[a+12>>2]>>4,d+44|0);if(!b){break b}q[d+20>>2]=b;q[d+24>>2]=q[d+44>>2];q[d+28>>2]=e;q[d+16>>2]=126069;Ck(a,126009,d+16|0);break a}q[d+4>>2]=e;q[d>>2]=126069;Ck(a,126044,d)}fi=d+48|0}function hY(a){a=a|0;var b=0,c=0,d=0;d=fi-112|0;fi=d;a:{b:{c=In(a,1);if(c){if((a|0)==(c|0)){break a}c:{b=r[c+6|0];switch(b|0){case 1:break a;case 0:break c;default:break b}}b=2;if((Wk(c,0,d+8|0)|0)>0){break a}b=q[c+8>>2]-q[c+12>>2]>>4?1:3;break a}Mj(a,1,129758);if(!a){break a}d:{b=r[6];switch(b|0){case 1:break a;case 0:break d;default:break b}}b=2;if((Wk(0,0,d+8|0)|0)>0){break a}b=q[2]-q[3]>>4?1:3;break a}b=3}wi(a,q[(b<<2)+261584>>2]);fi=d+112|0;return 1}function Cda(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{c:{if(a){if(!c){break c}ab(q[(b<<2)+252944>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}a=q[c>>2];sa((a?(a|0)==1?34067:0:3553)|0,q[c+4>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}ji[q[74965]](c,q[c+28>>2],q[c+32>>2],q[c+36>>2],q[c+40>>2]);return}J(79156,79164,2696,83600);G()}J(82976,79164,2697,83600);G()}Mi(a,83600,2705);J(79249,79164,2705,83600);G()}Mi(a,83600,2707);J(79249,79164,2707,83600);G()}function r2(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){zi(a,-10002,110493);q[Vi(a,-1)>>2]=w(gj(a,1),214013)+2531011;oi(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}fi=b+32|0;return 0}q[b+12>>2]=c;q[b+4>>2]=140;q[b+8>>2]=0;q[b>>2]=110448;mi(4,110525,111068,b);J(111140,110448,1449,111157);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=140;q[b+16>>2]=110448;mi(4,110525,111171,b+16|0);J(111242,110448,1472,111261);G()}function gs(a,b,c){var d=0,e=0,f=0,g=0;d=fi-80|0;fi=d;o[b|0]=0;a:{if(po(q[a>>2],q[a+4>>2])){e=_m(q[a>>2],q[a+4>>2]);if(e){break a}}q[d+32>>2]=Ei(q[a>>2],q[a+4>>2]);cj(d+48|0,32,115569,d+32|0);e=d+48|0}kj(b,e,c);wk(b,115572,c);e=q[a+20>>2];g=e;f=q[a+16>>2];if(e|f){q[d+16>>2]=Ei(f,g);cj(d+48|0,32,115569,d+16|0);wk(b,d+48|0,c)}if(q[a+24>>2]|q[a+28>>2]){wk(b,115574,c);q[d>>2]=Ei(q[a+24>>2],q[a+28>>2]);cj(d+48|0,32,115569,d);wk(b,d+48|0,c)}fi=d+80|0;return b}function Gp(a,b,c){var d=0,e=0,f=0,g=0;d=fi+ -64|0;fi=d;e=Lt(b,d+40|0);q[d+60>>2]=0;c=e?c:b;e=q[(q[c+8>>2]<<2)+261152>>2];a:{b:{f=q[a+20>>2];b=q[f>>2];g=q[f+8>>2];if(b>>>0>=g>>>0){break b}while(1){if((b|0)!=(c|0)){b=b+16|0;if(g>>>0>b>>>0){continue}break b}break}b=_t(a,f,c-q[a+12>>2]>>4,d+60|0);if(!b){break b}q[d+20>>2]=b;q[d+24>>2]=q[d+60>>2];q[d+28>>2]=e;q[d+16>>2]=126081;Ck(a,126009,d+16|0);break a}q[d+4>>2]=e;q[d>>2]=126081;Ck(a,126044,d)}fi=d- -64|0}function $aa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-16|0;fi=b;g=q[a+8>>2]-q[a+12>>2]>>4;e=1;Zi(a,1,b+12|0);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);c=192239;a:{b:{switch(Vu(d,q[b+12>>2],b+8|0)+4|0){case 4:Ru(d,q[b+8>>2],q[b+12>>2]);c=q[b+8>>2];f=bj(a,8);q[f+4>>2]=c;q[f>>2]=d;zi(a,-1e4,187431);aj(a,-2);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(187441,187364,3149,192278);G();default:c=192210;break;case 0:break b}}e=ni(a,c,0)}fi=b+16|0;return e|0}function y5(a){var b=0,c=0;b=fi-32|0;fi=b;a:{if(o[316316]&1){break a}if(!ui(316316)){break a}if(r[852367]){c=Ri(106442)}else{c=-1}q[79078]=c;ti(316316)}b:{if(o[316324]&1){break b}if(!ui(316324)){break b}if(r[852367]){c=Yi(107680,11)}else{c=0}q[79080]=c;ti(316324)}c=q[79078];c:{if((c|0)!=-1){Qi(b+16|0,c,107680,q[79080]);break c}q[b+16>>2]=0}q[b+12>>2]=1;q[b+8>>2]=a;a=q[a+304>>2];Kp(q[a+2216>>2],q[a+2220>>2],704,b+8|0);if(q[b+16>>2]){Pi(b+16|0)}fi=b+32|0}function lV(a,b,c,d,e){var f=0;f=fi-48|0;fi=f;q[f+44>>2]=d;q[f+32>>2]=0;q[f+24>>2]=1;q[f+28>>2]=0;q[f+16>>2]=0;q[f+8>>2]=1;q[f+12>>2]=0;e=d+e|0;d=Lj(f+44|0,e,f+40|0,48);a:{if(d){d=d-20352|0;break a}d=-20454;if((e|0)!=(q[f+44>>2]+q[f+40>>2]|0)){break a}b:{d=It(f+44|0,e,f+24|0);if(!d){d=It(f+44|0,e,f+8|0);if(!d){break b}}d=d-20352|0;break a}d=M_(a,b,c,a+136|0,f+24|0,f+8|0);if(d){break a}d=(e|0)==q[f+44>>2]?0:-19456}Ji(f+24|0);Ji(f+8|0);fi=f+48|0;return d}function FX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+16>>2];d=q[e+112>>2];b=q[d>>2];if(!b){return}while(1){f=r[b+5|0];a:{if(!(f&3|1?!(f&8):0)){d=b;break a}b:{g=b;c=q[b+8>>2];if(!(!c|r[c+6|0]&4)){if(Jn(c,2,q[q[a+16>>2]+196>>2])){break b}f=r[b+5|0]}o[g+5|0]=f|8;d=b;break a}o[b+5|0]=r[b+5|0]|8;c=q[b+16>>2];q[d>>2]=q[b>>2];h=(c+h|0)+32|0;c=q[e+48>>2];c:{if(!c){q[b>>2]=b;break c}q[b>>2]=q[c>>2];q[q[e+48>>2]>>2]=b}q[e+48>>2]=b}b=q[d>>2];if(b){continue}break}}function Caa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;f=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);a:{b:{if($j(a,1)){b=Ni(a,1,0);c=Uu(e,b);if(c){break a}q[d+16>>2]=b;ni(a,187395,d+16|0);break b}b=Qk(a,1);c=ii;g=c;c=Fba(e,b,c);if(c){break a}q[d>>2]=Ei(b,g);ni(a,187412,d)}c=0}b=bj(a,8);q[b+4>>2]=c;q[b>>2]=e;zi(a,-1e4,187431);aj(a,-2);if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,477,187466);G()}fi=d+32|0;return 1}function su(a,b,c,d){var e=0,f=0,g=0,h=0;g=q[a+52>>2];f=q[a+48>>2];h=g-f|0;e=(h|0)/40|0;a:{b:{if((h|0)<1){break b}c:{if((f|0)!=(g|0)){g=(e|0)>1?e:1;e=0;while(1){f=q[w(e,40)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break c}e=e+1|0;if((g|0)==(e|0)){break b}f=q[a+48>>2];if((q[a+52>>2]-f|0)/40>>>0>e>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0<=e>>>0){break a}q[q[a+w(e,40)>>2]+16>>2]=d}return}J(103319,103123,447,103330);G()}function X9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,0,187364,3934);Ki(a);f=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,c+4|0);g=e;a:{b:{c:{if(q[a+8>>2]-q[a+12>>2]>>4<2){break c}if(!ri(a,2)){break c}a=Rn(a,2);d=193008;if(!a){break b}b=xi(20);q[b+12>>2]=f;q[b+8>>2]=a;q[b+16>>2]=q[c+4>>2];q[b>>2]=1359;q[b+4>>2]=b}if((S8(f,q[c+4>>2],b)|0)!=-10){break a}d=193050;if(!b){break b}ki(b);d=193050}h=uj(g,d,0)}Si(e);fi=c+32|0;return h|0}function Lpa(a,b,c,d,e){var f=0,g=0;a:{if((q[c+4>>2]&-268435456)==805306368){if(q[c+8>>2]){break a}g=CA(b,e+1|0);if(!r[a+12|0]){f=q[a+4>>2]+q[c+12>>2]|0;a=q[f>>2];if(o[b+48|0]&1){if(!q[f+4>>2]){a=a-q[b+32>>2]|0;q[f>>2]=a}a=q[b+32>>2]+a|0}d=si(g,d,e);o[d+e|0]=0;c=(q[f+4>>2]<<2)+a|0;a=o[b+48|0]&1?d-q[b+32>>2]|0:g;o[c|0]=a;o[c+1|0]=a>>>8;o[c+2|0]=a>>>16;o[c+3|0]=a>>>24;q[f+4>>2]=q[f+4>>2]+1}return}J(23495,23114,312,23621);G()}J(23414,23114,313,23621);G()}function LP(a){var b=0;a=qi(a,0,2280);lq(a+596|0);yp(a+684|0);q[a+604>>2]=1732584193;q[a+608>>2]=-271733879;q[a+596>>2]=0;q[a+600>>2]=0;q[a+612>>2]=-1732584194;q[a+616>>2]=271733878;q[a+692>>2]=1732584193;q[a+696>>2]=-271733879;q[a+684>>2]=0;q[a+688>>2]=0;q[a+708>>2]=-1009589776;q[a+700>>2]=-1732584194;q[a+704>>2]=271733878;b=a+776|0;Br(b);Ar(b,0);b=a+888|0;wp(b);vp(b,1);q[a+1104>>2]=1343;q[a+4>>2]=0;q[a>>2]=0;qi(a+8|0,0,124);nV(a+132|0);q[a+456>>2]=3}function xU(a,b,c,d){var e=0,f=0;e=fi-32|0;fi=e;f=-4;a:{if(!d){break a}if(jj(d,0)){break a}if((jj(a,1)|0)<1){break a}if((jj(b,1)|0)<1){break a}if(!jj(c,0)){break a}q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;f=tl(e+16|0,a,1);b:{if(f){break b}f=tl(e,b,1);if(f){break b}f=Fr(d,e+16|0,e);if(f){break b}f=Ak(e+16|0,e+16|0,e);if(f){break b}f=bx(e+16|0,0,e+16|0,d);if(f){break b}f=bo(d,c,e+16|0)}Ji(e+16|0);Ji(e)}fi=e+32|0;return f}function NV(a,b,c,d,e,f,g,h){var i=0;i=fi-16|0;fi=i;a=DL(a,1,b,c,d,e,g,h,i);a:{if(a){break a}if(!(r[i|0]^r[f|0]|r[i+1|0]^r[f+1|0]|r[i+2|0]^r[f+2|0]|r[i+3|0]^r[f+3|0]|r[i+4|0]^r[f+4|0]|r[i+5|0]^r[f+5|0]|r[i+6|0]^r[f+6|0]|r[i+7|0]^r[f+7|0]|r[i+8|0]^r[f+8|0]|r[i+9|0]^r[f+9|0]|r[i+10|0]^r[f+10|0]|r[i+11|0]^r[f+11|0]|r[i+12|0]^r[f+12|0]|r[i+13|0]^r[f+13|0]|r[i+14|0]^r[f+14|0]|r[i+15|0]^r[f+15|0])){a=0;break a}ji[q[66742]](h,0,b)|0;a=-86}fi=i+16|0;return a}function I0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=0;b=fi-80|0;fi=b;q[b+76>>2]=0;i=Ni(a,1,b+76|0);c=yi(a,2,q[210276],0);d=u[c>>2];e=u[c+4>>2];a:{if(!(d!=d|e!=e)){f=u[c+8>>2];if(f==f){break a}}f=u[c+8>>2];v[b+48>>3]=e;v[b+56>>3]=f;v[b+40>>3]=d;q[b+32>>2]=2;ni(a,120787,b+32|0)}g=q[b+76>>2]+77|0;h=Ci((g|0)>-1?g:-1);d=u[c>>2];e=u[c+4>>2];v[b+24>>3]=u[c+8>>2];v[b+16>>3]=e;q[b>>2]=i;v[b+8>>3]=d;cj(h,g,121450,b);wi(a,h);ki(h);fi=b+80|0;return 1}function w3(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;a=q[q[a>>2]+8>>2];g=q[a+1032>>2];El(g,0,2);h=mn(g);a:{b:{if((Al(b,1,c,g)|0)==(c|0)){q[d>>2]=c;q[e>>2]=h;nn(g);if(!r[a+1044|0]){break b}q[f+12>>2]=q[a+1036>>2];if(q[a+1040>>2]!=q[e>>2]){break a}q[f+12>>2]=0;q[f+8>>2]=0;q[a+1036>>2]=q[f+12>>2];q[a+1040>>2]=q[d>>2]+q[e>>2];if(q[f+8>>2]==(q[d>>2]+q[e>>2]|0)){break b}J(28540,28134,853,28464);G()}i=-2}fi=f+16|0;return i}J(28434,28134,840,28464);G()}function tga(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=-2;a:{if(!rj(q[a+12>>2],q[a+16>>2],247352,c+12|0)){jk(q[a+20>>2],q[q[c+12>>2]>>2]);jk(q[a+20>>2],q[q[c+12>>2]+4>>2]);d=q[c+12>>2];e=q[d+12>>2];b:{if(!e){break b}b=0;while(1){if(b>>>0>=e>>>0){break a}jk(q[a+20>>2],q[q[d+8>>2]+(b<<2)>>2]);d=q[c+12>>2];if(b>>>0>6){break b}b=b+1|0;e=q[d+12>>2];if(b>>>0>>0){continue}break}}q[q[a+24>>2]>>2]=d;b=0}fi=c+16|0;return b|0}J(57911,57969,44,57958);G()}function Mx(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-32|0;fi=d;f=Eo(a,b,130365,130367);zi(a,-10001,c);b=_i(a,-1,0);if(!b){q[d+16>>2]=c;ni(a,130369,d+16|0)}Bi(a,130399,0);while(1){a:{c=r[b|0];if((c|0)!=59){e=0;b:{if(!c){break b}g=a;h=b;c=Nj(b,59);if(!c){c=Fi(b)+b|0}Bi(g,h,c-b|0);if(!c){break b}e=Eo(a,_i(a,-1,0),130400,f);Ok(a,-2);b=sk(e,130417);if(!b){break a}Qj(b)}fi=d+32|0;return e}b=b+1|0;continue}q[d>>2]=e;nj(a,130402,d);Ok(a,-2);Jl(a,2);b=c;continue}}function $T(a){var b=0,c=0,d=0,e=0,f=0;if(a){b=q[a+184>>2];if(b){ji[q[66742]](b,0,16749)|0;ki(q[a+184>>2])}b=q[a+100>>2];if(b){ji[q[66742]](b,0,16749)|0;ki(q[a+100>>2])}b=q[a+80>>2];if(b){vt(b);ki(q[a+80>>2])}if(q[a+68>>2]){Tw(a);vt(q[a+84>>2]);wt(q[a+64>>2]);ki(q[a+68>>2]);ki(q[a+84>>2]);ki(q[a+64>>2])}b=q[a+60>>2];if(b){wt(b);ki(q[a+60>>2])}b=q[a+236>>2];if(b){d=b,e=0,f=Fi(b),c=q[66742],ji[c](d|0,e|0,f|0)|0;ki(q[a+236>>2])}ji[q[66742]](a,0,280)|0}}function zy(a,b){var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;q[c+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=0;ds(a,c+24|0);Lp(c+20|0,16,q[c+24>>2]);d=q[c+20>>2];if(d){d=es(a,d,q[c+24>>2],c+16|0);a:{b:{if(d){q[c+4>>2]=d;q[c>>2]=a;mi(4,28184,28281,c);break b}e=q[c+24>>2];f=q[c+20>>2];d=Ci(12);q[d>>2]=0;q[d+4>>2]=0;a=0;q[d+8>>2]=0;q[c+28>>2]=d;e=Ey(f,e,c+28|0);d=q[c+28>>2];if(!e){q[b>>2]=d;break a}Jp(d)}a=-2}ki(q[c+20>>2]);fi=c+32|0;return a}J(28252,28134,203,28268);G()}function $m(a,b){var c=0,d=0,e=0,f=0,g=0;e=q[212988];while(1){c=q[e+32>>2];q[e+32>>2]=c?c:1;if(c){continue}break}a:{c=q[212988];d=q[c+4>>2];b:{if(!d){break b}d=q[q[c>>2]+(lwa(a,b,d)<<2)>>2];if((d|0)==-1){break b}g=q[c+8>>2];while(1){f=(d<<6)+g|0;if((a|0)==q[f>>2]&(b|0)==q[f+4>>2]){break a}d=q[f+56>>2];if((d|0)!=-1){continue}break}}q[e+32>>2]=0;return}a=(d<<6)+g|0;U7(c,q[a+16>>2],q[a+20>>2]);b=q[a+8>>2]-1|0;q[a+8>>2]=b;q[e+32>>2]=0;if(!b){xs(a+8|0)}}function tE(a,b,c){var d=0;d=fi-208|0;fi=d;q[d+76>>2]=128;a:{if((Ix(q[b>>2],d+80|0,d+76|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,Ql(q[240833]));a=2;break a}b=_(d+80|0,q[d+76>>2],d+16|0,46,d+10|0,6,3)|0;if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,ha(b|0)|0);a=2;break a}wi(a,d+16|0);wi(a,d+10|0);b:{c:{switch(c-2|0){case 0:Bi(a,123630,4);break b;case 8:Bi(a,123635,5);break b;default:break c}}Bi(a,123664,13)}a=3}fi=d+208|0;return a}function MO(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((e|0)>=1){while(1){k=r[d+i|0];h=r[c+i|0];g=r[b+i|0];o[a+3|0]=255;l=h-128|0;h=g<<20|524288;j=w(l,1858048)+h|0;g=j>>20;o[a+2|0]=g>>>0>255?(j|0)<0?0:255:g;k=k-128|0;j=h+w(k,1470208)|0;g=j>>20;o[a|0]=g>>>0>255?(j|0)<0?0:255:g;g=(h+w(k,-748800)|0)+(w(l,-360960)&-65536)|0;h=g>>20;o[a+1|0]=h>>>0>255?(g|0)<0?0:255:h;a=a+f|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function JK(a,b){var c=0,d=x(0),e=0,f=x(0),g=0,h=x(0);c=q[a>>2];a:{b:{if((c|0)==41){a=q[a+4>>2];c=q[a+4>>2];c:{a=q[a>>2];switch(a|0){case 0:break a;case 1:break c;default:break b}}return u[c>>2]}c=w(c,260)+270704|0;a=64}e=a-1|0;d=x(e|0);h=x(x(1)/d);b=b(g|0)?g:e)<<2)+c>>2]*b)+x(u[(a<<2)+c>>2]*x(x(1)-b)))}return d}function Bl(a,b,c,d){var e=0,f=0;a:{b:{c:{if((d|0)<10){e=c&65535;f=q[b+36>>2];b=q[b+32>>2];if(e>>>0>=(f-b|0)/576>>>0){break c}if(s[(b+w(e,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(e,576)|0;if(s[b+554>>1]!=(c&65535)){break a}b=b+(d<<4)|0;u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];return}J(185519,184532,2747,185545);G()}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function r3(a){var b=0,c=0;b=Ci(164);c=b+32|0;q[c>>2]=0;q[c+4>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+48>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+32>>2]=-1;qi(b+52|0,0,112);q[q[a>>2]>>2]=b;b=q[q[a>>2]>>2];if(!b){return 1}h6(b,q[a+4>>2]);if(!(o[b- -64|0]&1)){a:{vi(0,48,b+52|0,b+60|0,b+56|0);if(o[b+96|0]&1){break a}vi(0,64,b+84|0,b+92|0,b+88|0);return 0}}J(136910,136831,461,136985);G()}function qJ(a,b){var c=0,d=0,e=0;c=fi+ -64|0;fi=c;e=Ti(c+8|0,a,0,67527,1045);d=q[q[Kj(a)+80>>2]+8>>2];q[c+4>>2]=0;q[c>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;Hk(a,1,d,67321,c+4|0,c+32|0,c);a:{if(o[q[c>>2]+137|0]&1){a=uj(e,69729,0);break a}if(!q[c+4>>2]){a=uj(e,69767,0);break a}d=Fj(a,2);a=q[c+4>>2];if(b){Xea(a,(d|0)!=0);a=0;break a}Wea(a,(d|0)!=0);a=0}Si(e);fi=c- -64|0;return a}function j_(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=fi-144|0;fi=c;b=q[a+224>>2];a:{if(!b){b=-64;break a}b:{if((b|0)<1){b=-61;break b}while(1){d=w(e,20)+a|0;g=q[d+244>>2];q[c+12>>2]=0;b=ji[q[d+228>>2]](q[d+232>>2],c+16|0,128,c+12|0)|0;if(b){break b}b=q[c+12>>2];if(b){b=i_(a,e&255,c+16|0,b);if(b){break a}q[d+236>>2]=q[d+236>>2]+q[c+12>>2]}f=(g|0)==1?1:f;e=e+1|0;if((e|0)>2]){continue}break}b=f?0:-61}ji[q[66742]](c+16|0,0,128)|0}fi=c+144|0;return b}function Tw(a){var b=0,c=0,d=0;c=q[a+68>>2];if(c){b=c+596|0;if(b){ji[q[66742]](b,0,88)|0}b=c+684|0;if(b){ji[q[66742]](b,0,92)|0}b=c+776|0;if(b){ji[q[66742]](b,0,108)|0}b=c+888|0;if(b){ji[q[66742]](b,0,216)|0}rV(c+8|0);pV(c+132|0);ki(q[c+440>>2]);b=q[c+444>>2];if(b){ji[q[66742]](b,0,q[c+448>>2])|0;ki(q[c+444>>2])}b=q[c+460>>2];if(b){while(1){d=q[b+8>>2];ki(b);b=d;if(b){continue}break}}ki(q[c+480>>2]);iC(q[c+496>>2]);nC(a);ji[q[66742]](c,0,2280)|0}}function Tj(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?126472:(c+(0-b<<4)|0)-160024|0}a=q[a+8>>2]-16|0;Tr(d,c,a,a)}function wga(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=-2;a:{if(rj(q[a+20>>2],q[a+24>>2],q[64250],b+12|0)){break a}d=q[b+12>>2];if(!r[q[d>>2]]){Ui(d);c=-13;break a}q[b>>2]=0;q[b+4>>2]=0;e=q[a>>2];c=Ij(e,q[d+12>>2],b|4);b:{if(c){break b}c=Ij(e,q[d+16>>2],b);if(c){Di(e,q[b+4>>2]);q[b+4>>2]=0;break b}c=q[q[a+32>>2]+8>>2];Di(q[a>>2],q[c+12>>2]);Di(q[a>>2],q[c+8>>2]);q[c+80>>2]=0;gJ(q[a+16>>2],c,q[b+12>>2]);c=0}Ui(q[b+12>>2])}fi=b+16|0;return c|0}function _ha(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=Ti(b+56|0,a,1,67527,1019);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;a:{if(!fm(a,b+24|0)){a=uj(d,69668,0);break a}ns(a,q[74460]);c=Vi(a,-1);oi(a,-2);e=q[q[q[Kj(a)+80>>2]+8>>2]>>2];c=q[c+8>>2];if(t[q[e+4>>2]>>2]>c>>>0){c=q[((c<<2)+e|0)+12>>2]}else{c=0}if(!c){a=uj(d,67815,0);break a}Jia(b,c);hl(a,b);a=1}Si(d);fi=b+80|0;return a|0}function VD(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:126472;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?126472:(a+(0-b<<4)|0)-160024|0}a=q[c+8>>2];return(a|0)==7|(a|0)==2}function At(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((a|0)==(b|0)){return 0}d=Vk(a,q[b+4>>2]);a:{if(d){break a}d=Vk(b,q[a+4>>2]);if(d){break a}c=((0-c|c)&128)>>>7|0;f=c^1;d=q[a>>2];q[a>>2]=w(c,q[b>>2])+w(d,f);q[b>>2]=w(q[b>>2],f)+w(c,d);g=q[a+4>>2];if(!g){return 0}h=q[b+8>>2];i=q[a+8>>2];d=0;a=0;while(1){b=a<<2;e=b+i|0;j=e;b=b+h|0;e=q[e>>2];q[j>>2]=w(c,q[b>>2])+w(e,f);q[b>>2]=w(q[b>>2],f)+w(c,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}}return d}function s_(a,b,c,d,e,f,g,h){var i=0,j=0;i=fi-48|0;fi=i;q[i+16>>2]=0;q[i+8>>2]=1;q[i+12>>2]=0;q[i+28>>2]=0;q[i+20>>2]=1;q[i+24>>2]=0;q[i+40>>2]=0;q[i+32>>2]=1;q[i+36>>2]=0;j=HE(a,b,c,d,r[e+f|0]);a:{if(j){break a}j=gk(b+24|0,1);if(j){break a}if(g){j=o_(a,b,g,h);if(j){break a}}while(1){if(!f){j=0;break a}j=Rx(a,b,b);if(j){break a}f=f-1|0;j=HE(a,i+8|0,c,d,r[f+e|0]);if(j){break a}j=Sx(a,b,b,i+8|0);if(!j){continue}break}}Rl(i+8|0);fi=i+48|0;return j}function k3(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;f=-101;a=FT(q[a>>2],b,c);a:{if((a&-129)==-26880){break a}b:{if((a|0)<=-1){f=-5;c:{d:{if((a|0)<=-81){if((a|0)==-30848){break a}if((a|0)==-26624){break d}if((a|0)==-26496){break a}break b}switch(a+80|0){case 0:break a;case 4:break c;default:break b}}f=-3;break a}f=-101;break a}q[d>>2]=a;f=0;break a}q[e+12>>2]=0-a;q[e+8>>2]=45;q[e+4>>2]=a;q[e>>2]=Eq(a);mi(3,166926,168387,e);f=-1e3}fi=e+16|0;return f}function Nk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{c=q[a+4>>2];d=b>>>5|0;h=c>>>0>>0;if(!h){g=b&31;if(!g|(d|0)!=(c|0)){break a}}return gk(a,0)}b:{if(!d){break b}e=c-d|0;if(e){f=q[a+8>>2];b=0;while(1){q[(b<<2)+f>>2]=q[(b+d<<2)+f>>2];b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(h){break b}qi(q[a+8>>2]+(e<<2)|0,0,d<<2)}if(!(!c|!g)){d=32-g|0;e=q[a+8>>2];b=0;while(1){c=c-1|0;f=e+(c<<2)|0;a=q[f>>2];q[f>>2]=a>>>g|b;b=a<>2]+8>>2]);f=q[a+32>>2];q[a+32>>2]=-1;g=Jk(a,2147450902,q[q[a+12>>2]+8>>2]);if((f|0)!=-1){if((g|0)==-1){return f}i=q[q[a>>2]+12>>2];e=g;while(1){d=e;h=(e<<2)+i|0;c=q[h>>2];b=(c>>>14|0)-131071|0;e=(b|0)==-1?-1:(e+b|0)+1|0;if((e|0)!=-1){continue}break}b=h;e=(d^-1)+f|0;d=e>>31;if((d^d+e)>=131072){xj(q[a+12>>2],127273);c=q[h>>2]}q[b>>2]=(c&16383|e<<14)+2147467264}return g}function oM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function nha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+20>>2];d=OJ(q[a>>2],b);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=(q[a+16>>2]+(q[b+8>>2]-q[b+4>>2]|0)|0)+24;return d|0}c=q[b+8>>2];e=q[b+4>>2];if((c|0)!=(e|0)){f=q[a>>2];a=0;c=e;while(1){Di(f,q[(a<<2)+c>>2]);a=a+1|0;c=q[b+4>>2];if(a>>>0>2]-c>>2>>>0){continue}break}}q[b+8>>2]=c;a=q[b>>2];if(a){Ui(a);q[b>>2]=0}a:{if(o[b+16|0]&1){break a}a=q[b+4>>2];if(!a){break a}ki(a)}ki(b);return d|0}function Q9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0);b=fi-80|0;fi=b;g=Ti(b+56|0,a,1,187364,3693);Ki(a);h=yi(a,-1,q[213955],189399);oi(a,-2);d=Zi(a,1,0);c=pn(a,2);a:{if(c){e=c+8|0;f=c+4|0;break a}c=il(a,2);e=c+8|0;f=c+4|0}i=u[c>>2];j=u[f>>2];u[b+40>>2]=u[e>>2];u[b+36>>2]=j;u[b+32>>2]=i;N8(b+16|0,h,s[d+554>>1]|s[d+552>>1]<<16,b+32|0);u[b>>2]=u[b+16>>2];c=q[b+24>>2];q[b+4>>2]=q[b+20>>2];q[b+8>>2]=c;hl(a,b);Si(g);fi=b+80|0;return 1}function Q1(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0;d=fi-32|0;fi=d;b=yi(a,1,q[210276],0);c=u[b>>2];f=u[b+4>>2];a:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=1;ni(a,120787,d)}i=Ai(a,2);f=u[b>>2];e=u[b+4>>2];c=u[b+8>>2];h=x(x(i)*x(.5));g=rl(h);b=bj(a,16);u[b+12>>2]=g;g=c;c=nk(h);u[b+8>>2]=g*c;u[b+4>>2]=e*c;u[b>>2]=f*c;zi(a,-1e4,120688);aj(a,-2);fi=d+32|0;return 1}function N4(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){q[b+8>>2]=22;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+24>>2];a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,b)}fi=b+32|0;return a|0}J(104348,104245,265,107702);G()}function My(a,b,c,d){var e=0,f=0,g=0,h=0;g=q[a+52>>2];f=q[a+48>>2];h=g-f|0;e=(h|0)/40|0;if((h|0)<1){return 0}a:{b:{if((f|0)!=(g|0)){g=(e|0)>1?e:1;e=0;while(1){f=q[w(e,40)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break b}e=e+1|0;if((g|0)==(e|0)){return 0}f=q[a+48>>2];if((q[a+52>>2]-f|0)/40>>>0>e>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0>e>>>0){q[d>>2]=q[a+w(e,40)>>2];return 1}}J(103319,103123,447,103330);G()}function J7(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=q[a+48>>2];tj(e);d=li(b);g=ii;b=q[a+20>>2];if(!b){lj(e);return 2}h=2;b=q[q[a+16>>2]+(lwa(d,g,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){f=a+w(b,136)|0;if(q[f>>2]!=(d|0)|q[f+4>>2]!=(g|0)){b=q[f+128>>2];if((b|0)!=-1){continue}break a}break}a=si(c,(a+w(b,136)|0)+8|0,112);b=Uj();c=ii;d=q[a+92>>2];o[a+104|0]=r[a+104|0]&253|((c|0)==(d|0)&t[a+88>>2]>b>>>0|c>>>0>>0)<<1;h=0}lj(e);return h}function I4(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){q[b+8>>2]=19;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+20;q[c+16>>2]=q[b+24>>2];a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/20;a=ni(a,104394,b)}fi=b+32|0;return a|0}J(104348,104245,265,107702);G()}function lx(a,b,c,d){var e=0,f=0;f=fi-16|0;fi=f;e=Lj(a,b,f+12|0,48);a:{if(e){break a}e=b;b=q[a>>2];if((e-b|0)<1){e=-96;break a}q[c>>2]=r[b|0];b=b+q[f+12>>2]|0;e=Lj(a,b,c+4|0,6);if(e){break a}q[c+8>>2]=q[a>>2];c=q[a>>2]+q[c+4>>2]|0;q[a>>2]=c;if((b|0)==(c|0)){ji[q[66742]](d,0,12)|0;e=0;break a}q[d>>2]=r[c|0];q[a>>2]=c+1;e=mq(a,b,d+4|0);if(e){break a}q[d+8>>2]=q[a>>2];c=a;a=q[a>>2]+q[d+4>>2]|0;q[c>>2]=a;e=(a|0)==(b|0)?0:-102}fi=f+16|0;return e}function gfa(a){var b=0,c=0;a=q[a>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ek(a,67135,241808);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,67146);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,67169);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,67192);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,67215);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(67050,66868,385,67239);G()}}function PG(a){var b=0,c=0;a:{b=q[239951];if(b){c=-3;b:{if(!q[b+7412>>2]){break b}c=q[q[q[239951]+7412>>2]>>2];if(!c){break a}b=q[239951];c:{if(b){b=q[b+5140>>2];if(!KG(b)){while(1){gn(100);if(!KG(b)){continue}break}}c=Cy(c,a);lj(b);break c}c=Cy(c,a)}d:{switch(c+20|0){case 1:return-4;case 0:return-6;case 5:return-7;case 19:return-8;case 20:break b;default:break d}}c=-3}return c}J(194580,194616,243,194638);G()}J(194822,194616,211,194830);G()}function Opa(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;q[d+12>>2]=b;q[d+8>>2]=c;b=Lq(d+8|0,8);c=q[a+24>>2];if((c|0)==((q[a+16>>2]-q[a+8>>2]|0)/12|0)){Nu(a,2048,c+1024|0)}a:{b:{c=q[a+4>>2];c:{if(!c){break c}c=q[q[a>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break c}e=q[a+8>>2];while(1){f=w(c,12)+e|0;if((b|0)==q[f>>2]){break b}c=q[f+8>>2];if((c|0)!=-1){continue}break}}q[d+4>>2]=1;vz(a,b,d+4|0);break a}a=w(c,12)+e|0;q[a+4>>2]=q[a+4>>2]+1}fi=d+16|0}function F0(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;e=1;b=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-120|0){case 0:d=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;case 1:d=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:d=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[c+4>>2]=120656;q[c>>2]=120720;e=ni(a,121419,c)}fi=c+16|0;return e|0}function E0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0);d=fi-32|0;fi=d;b=fk(a,1,q[210276]);a:{if(b){g=Ai(a,2);break a}g=Ai(a,1);b=yi(a,2,q[210276],0);c=u[b>>2];f=u[b+4>>2];if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=2;ni(a,120787,d)}c=u[b+8>>2];f=u[b>>2];e=u[b+4>>2];b=bj(a,16);h=c;c=x(g);u[b+8>>2]=h*c;u[b+4>>2]=e*c;u[b>>2]=f*c;zi(a,-1e4,120656);aj(a,-2);fi=d+32|0;return 1}function qN(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!q[q[72353]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){o[a+1|0]=b&63|128;o[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){o[a+2|0]=b&63|128;o[a|0]=b>>>12|224;o[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){o[a+3|0]=b&63|128;o[a|0]=b>>>18|240;o[a+2|0]=b>>>6&63|128;o[a+1|0]=b>>>12&63|128;return 4}}q[240833]=25;a=-1}else{a=1}return a}o[a|0]=b;return 1}function eT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;e=2;c=ml(a,124351);d=Ni(a,2,0);g=Ni(a,3,0);q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=1;q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=q[c+8272>>2];f=c+8248|0;Bn(f);c=Ex(c,c+8272|0,d,g,f,b);hp(a,124327,1);a:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,c);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;e=1}fi=b+32|0;return e|0}function c0(a){var b=0,c=0;c=fi-48|0;fi=c;a:{b:{switch(q[a>>2]-1|0){case 0:b=c;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;sE(2,a+16|0,b,16);a=Sk(b);break a;case 1:b=c;p[b+38>>1]=0;p[b+40>>1]=0;p[b+42>>1]=0;p[b+44>>1]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;sE(10,a+4|0,b,46);a=Sk(b);break a;default:break b}}mi(4,158664,159091,0);a=0}fi=c+48|0;return a}function P_(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=fi-256|0;fi=h;i=q[a+92>>2];g=g-3|0;a:{if(g>>>0<=5){j=q[(g<<2)+267260>>2];break a}j=0}b:{if(!j){g=-20352;break b}q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;qi(h+152|0,0,100);i=i+7>>>3|0;g=hn(d,h+16|0,i);c:{if(g){break c}g=IA(a,h,e,f);if(g){break c}g=hn(h,i+(h+16|0)|0,i);if(g){break c}UU(h+152|0,j,h+16|0,i<<1);g=O_(a,b,c,d,e,f,h+152|0)}a=h+152|0;if(a){$l(a);ji[q[66742]](a,0,100)|0}Ji(h)}fi=h+256|0;return g}function pB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=fi+ -64|0;fi=e;c=q[a+328>>2]-3|0;a:{if(c>>>0<=5){c=q[(c<<2)+267260>>2];break a}c=0}g=(c?q[c+8>>2]:0)&255;f=-1;if(c){c=ji[q[c+28>>2]](q[a+24>>2],q[a+20>>2],e)|0}else{c=-20736}b:{if(c){break b}h=q[a+332>>2];c=0;b=b+204|0;d=b;c:{if(!d){break c}d=q[d>>2];if(!d){break c}c=ji[q[d+12>>2]](h)|0}if(!c){break b}f=GU(q[a+332>>2],q[a+336>>2],b,q[a+328>>2],e,g,q[a+324>>2],q[a+320>>2])}fi=e- -64|0;return f}function l3(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=fi-16|0;fi=e;g=q[a>>2];a:{if((g|0)<0){d=-69;break a}b:{if(d){break b}d=q[a+12>>2];f=d;h=q[a+8>>2];if(!(d|h)){d=0;break b}d=kwa(h,f,1e3)}q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;CK(e,0,g);d=BK(e,d?d:-1);f=-26624;c:{if(!d){break c}f=q[240833]==27?-26880:-76;if((d|0)<=-1){break c}f=NU(a,b,c)}d=f;if(o[e+12|0]&1){break a}a=q[e>>2];if(!a){break a}ki(a)}fi=e+16|0;return d|0}function h1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;c=1;d=q[a+8>>2]-q[a+12>>2]>>4;e=Ni(a,1,0);a:{f=Gy(q[ls(a)+4>>2],e,b+12|0,b+8|0);if(f){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[b+4>>2]=f;q[b>>2]=e;nj(a,116943,b);c=2;if((d+2|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(116976,116900,485,117001);G()}Bi(a,q[b+12>>2],q[b+8>>2]);ki(q[b+12>>2]);if((d+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(116875,116900,490,117001);G()}fi=b+16|0;return c|0}function aA(a){var b=0;a:{if(o[a+144|0]&1){break a}b=q[a+124>>2];if(b){ki(b)}b=q[a+116>>2];if(!b){break a}ki(b)}b:{if(o[a+112|0]&1){break b}b=q[a+92>>2];if(b){ki(b)}b=q[a+84>>2];if(!b){break b}ki(b)}c:{if(o[a+68|0]&1){break c}b=q[a+56>>2];if(!b){break c}ki(b)}d:{if(o[a+52|0]&1){break d}b=q[a+40>>2];if(!b){break d}ki(b)}e:{if(o[a+36|0]&1){break e}b=q[a+24>>2];if(!b){break e}ki(b)}f:{if(o[a+20|0]&1){break f}a=q[a+8>>2];if(!a){break f}ki(a)}}function YW(a){var b=0,c=0;a=q[q[a+16>>2]+112>>2];jo(a,q[a+32>>2]);FX(a);q[a+116>>2]=0;while(1){b=q[a+40>>2];q[a+20>>2]=b;b=q[b>>2];q[a+8>>2]=b;q[a+12>>2]=b;q[a+52>>2]=0;if(Wt(a,999,0)){continue}break}b=q[a+16>>2];jo(a,q[a+32>>2]);jE(a);c=q[a+16>>2];dj(a,q[c>>2],q[c+8>>2]<<2,0);c=dj(a,q[b+52>>2],q[b+60>>2],0);q[b+60>>2]=0;q[b+52>>2]=c;dj(a,q[a+40>>2],w(q[a+48>>2],24),0);dj(a,q[a+32>>2],q[a+44>>2]<<4,0);ji[q[b+12>>2]](q[b+16>>2],a,376,0)|0}function Nia(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-48|0;fi=c;e=Ti(c+24|0,a,1,61062,689);a:{if((ri(a,1)|0)==7){b=yi(a,1,q[74122],0);b:{if(q[b+4>>2]==2){d=q[b>>2]+4|0;break b}d=b}if(xm(q[d>>2])){break a}ni(a,61165,0)}hk(a,1,60842);b=0}if(q[b+4>>2]==2){b=q[b>>2]+4|0}b=dp(q[b>>2],c+20|0,c+16|0);c:{if(b){a=c;if(b>>>0<=8){d=q[(b<<2)+266896>>2]}else{d=138552}q[a>>2]=d;a=uj(e,62169,c);break c}Bi(a,q[c+20>>2],q[c+16>>2]);a=1}Si(e);fi=c+48|0;return a|0}function xna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[59568],c+12|0)){b=q[c+12>>2];d=q[b+8>>2];if(d){e=q[b+4>>2];b=0;while(1){f=q[(e+w(b,80)|0)+4>>2];if(f){jk(q[a+20>>2],f)}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=q[c+12>>2]}d=q[b+36>>2];if(d){e=q[b+32>>2];b=0;while(1){jk(q[a+20>>2],q[e+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}b=q[c+12>>2]}q[q[a+24>>2]>>2]=b;b=0}fi=c+16|0;return b|0}function sr(a,b){var c=0,d=0;d=-16512;c=a+8|0;a:{if(q[a+4>>2]!=(Cm(c)|0)|t[a+4>>2]>1024){break a}if((jj(c,0)|0)<1){break a}if(!Dm(c,0)){break a}b:{if(b){b=a+44|0;if((jj(b,0)|0)<1){break a}if(!Dm(b,0)){break a}b=a+56|0;if((jj(b,0)|0)<1){break a}if(!Dm(b,0)){break a}if((jj(a+20|0,0)|0)<1){break a}if((jj(a+68|0,0)|0)<1){break a}if((jj(a+80|0,0)|0)<1){break a}if((jj(a+92|0,0)|0)<1){break a}break b}if((jj(a+20|0,0)|0)<1){break a}}d=0}return d}function gw(a,b,c,d){var e=0,f=0,g=0;e=q[c+144>>2];g=q[b+144>>2];a:{b:{if(g>>>0>=t[a+144>>2]){f=0;if(e>>>0>=g>>>0){break a}Vj(b,c);f=1;if(t[b+144>>2]>=t[a+144>>2]){break a}Vj(a,b);break b}if(e>>>0>>0){Vj(a,c);f=1;break a}Vj(a,b);f=1;if(t[c+144>>2]>=t[b+144>>2]){break a}Vj(b,c)}f=2}e=f;if(t[d+144>>2]>2]){Vj(c,d);if(t[c+144>>2]>=t[b+144>>2]){return e+1|0}Vj(b,c);if(t[b+144>>2]>=t[a+144>>2]){return e+2|0}Vj(a,b);e=e+3|0}return e}function KP(a){var b=0,c=0,d=0;c=-1;b=q[a+68>>2];a:{if(!b){break a}b:{switch(q[a+4>>2]-10|0){case 0:case 2:if(!r[b+528|0]){break a}q[a+128>>2]=20;q[a+132>>2]=1;o[q[a+120>>2]]=1;q[a+144>>2]=0;q[a+136>>2]=0;o[b+528|0]=0;return 0;default:break b}}if((r[b+532|0]&5)!=5){break a}c=-27648;b=q[b+536>>2];d=r[b+2|0]<<8|r[b+1|0]<<16|r[b+3|0];if(d>>>0>16372){break a}c=d+12|0;q[a+168>>2]=c;q[a+128>>2]=22;q[a+132>>2]=c;si(q[a+120>>2],b,c);c=0}return c}function Il(a,b){var c=0,d=0,e=0,f=0,g=0;d=fi+ -64|0;fi=d;c=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}f=q[a+8>>2];if(!f){break a}g=q[e+12>>2];c=ji[q[e+24>>2]](q[a+4>>2],d)|0;if(c){break a}c=ji[q[q[a>>2]+16>>2]](q[a+4>>2])|0;if(c){break a}c=q[a>>2];c=ji[q[c+20>>2]](q[a+4>>2],f+g|0,q[c+12>>2])|0;if(c){break a}c=q[a>>2];c=ji[q[c+20>>2]](q[a+4>>2],d,q[c+8>>2])|0;if(c){break a}c=ji[q[q[a>>2]+24>>2]](q[a+4>>2],b)|0}fi=d- -64|0;return c}function qA(a,b,c){var d=0,e=0,f=0;f=fi-16|0;fi=f;a:{b:{c:{d:{e:{d=ri(a,b);switch(d-1|0){case 2:break a;case 6:break d;case 0:break e;default:break c}}e=6;break a}e=1;if(Qn(a,b)){break a}e=2;if(jy(a,b)){break a}d=sm(a,b);q[c>>2]=d;e=3;if(d){break a}d=pn(a,b);q[c>>2]=d;e=4;if(d){break a}a=$x(a,b);q[c>>2]=a;e=5;if(a){break a}mi(4,14454,14465,0);break b}q[f>>2]=(d|0)==-1?125997:q[(d<<2)+261152>>2];mi(4,14454,14504,f)}e=7}fi=f+16|0;return e}function cB(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=r[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=q[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=w(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=q[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=r[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Fi(a)+a|0}return a}function QY(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;b=1;a:{if((ri(a,1)|0)<=0){Xi(a,-10001,1);if(q[om(a,130969)>>2]){break a}ni(a,131041,0);break a}b=Ni(a,1,0);c=bj(a,4);q[c>>2]=0;zi(a,-1e4,130969);aj(a,-2);e=c;c=sk(b,131301);q[e>>2]=c;if(!c){q[d+4>>2]=Uk(q[240833]);q[d>>2]=b;nj(a,131078,d);Mj(a,1,_i(a,-1,0))}c=1;b=q[a+8>>2]-q[a+12>>2]>>4}Hi(a,b);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=c;q[a+8>>2]=q[a+8>>2]+16;Wj(a,1061,2);fi=d+16|0;return 1}function QT(a){var b=0,c=0;b=Dn(a);a:{if(b){break a}if(q[a+128>>2]!=20){Aj(a,2,10);return-30464}q[a+72>>2]=q[a+84>>2];q[a+52>>2]=q[a+64>>2];b:{if(r[q[a>>2]+184|0]&2){q[a+152>>2]=0;q[a+156>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;c=s[a+140>>1]+1|0;p[a+140>>1]=c;b=-27520;if((c&65535)==(c|0)){break b}break a}b=q[a+104>>2];o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0}mw(a);q[a+4>>2]=q[a+4>>2]+1;b=0}return b}function Ypa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];if(c>>>0<=i>>>0){a:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=jwa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){o[b|0]=(k|0)!=0}return a^1}J(22871,22890,70,22958);G()}function n3(){var a=0,b=0,c=0;b=fi-32|0;fi=b;o[854436]=0;qi(853904,0,188);yD(853584);hD(852952);a=wD(853584,852952,166908);a:{if(a){q[b+20>>2]=a;q[b+16>>2]=Eq(a);q[b+24>>2]=(a|0)<0?45:32;c=a;a=a>>31;q[b+28>>2]=c+a^a;mi(4,166926,166931,b+16|0);break a}a=fU();if(a){q[b+4>>2]=a;q[b>>2]=Eq(a);q[b+8>>2]=(a|0)<0?45:32;c=a;a=a>>31;q[b+12>>2]=c+a^a;mi(4,166926,166980,b);break a}q[213483]=853584;q[213482]=1301;q[213522]=q[213522]&-13}fi=b+32|0}function Wt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=fi-176|0;fi=e;d=xi(40);q[d>>2]=0;q[e+168>>2]=0;q[e+8>>2]=q[a+112>>2];q[a+112>>2]=e+8;h=zw(e+8|4,1,d,4);i=M()|0;d=0;a:{while(1){if(!d){q[240911]=0;ja(b|0,a|0,c|0);d=q[240911];q[240911]=0;f=-1;b:{if(!d){break b}g=q[240912];if(!g){break b}f=Xj(q[d>>2],h,i);if(!f){break a}L(g|0)}d=M()|0;if((f|0)==1){continue}}break}q[a+112>>2]=q[e+8>>2];a=q[e+168>>2];ki(h);fi=e+176|0;return a}R(d|0,g|0);G()}function QD(a){var b=0;b=q[a+152>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+156>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+160>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+164>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+168>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+172>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+176>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+180>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}b=q[a+184>>2];if(!(!b|!(r[b+5|0]&3))){rk(a,b)}}function Hha(a){var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;e=q[a+216>>2];d=q[e>>2];f=b;c=q[a+224>>2];if(!c){c=q[e+4>>2]}q[f+4>>2]=c;c=q[a+228>>2];if(!c){c=q[e+8>>2]}q[f>>2]=c;q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;Sj(b+8|0,b+4|0,4);Sj(b+8|0,b,4);Sj(b+8|0,d+92|0,4);Sj(b+8|0,d+32|0,16);Sj(b+8|0,d+48|0,16);Sj(b+8|0,d- -64|0,16);c=q[a+220>>2];if(c){Fs(c,b+8|0)}q[a+196>>2]=Uo(b+8|0);o[a+238|0]=r[a+238|0]&247;fi=b+32|0}function Gs(a,b,c,d){var e=0,f=0,g=0;e=q[a+4>>2];f=q[a>>2];g=e-f|0;if((g|0)<1){return 0}a:{b:{if((e|0)!=(f|0)){e=f-e|0;e=((e|0)>(g|0)?e:g)>>>2|0;g=e>>>0>1?e:1;e=0;while(1){f=q[(e<<2)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break b}e=e+1|0;if((g|0)==(e|0)){return 0}f=q[a>>2];if(q[a+4>>2]-f>>2>>>0>e>>>0){continue}break}}break a}b=q[a+4>>2];a=q[a>>2];if(b-a>>2>>>0>e>>>0){q[d>>2]=q[a+(e<<2)>>2];return 1}}J(49482,49228,447,49493);G()}function _N(a){var b=0,c=0,d=0;b=fi-128|0;fi=b;c=r[204991]|r[204992]<<8|(r[204993]<<16|r[204994]<<24);o[b+111|0]=c;o[b+112|0]=c>>>8;o[b+113|0]=c>>>16;o[b+114|0]=c>>>24;c=q[51247];q[b+104>>2]=q[51246];q[b+108>>2]=c;c=q[51245];q[b+96>>2]=q[51244];q[b+100>>2]=c;c=b+96|12;a:{b:{while(1){kM(c);qi(b+8|0,0,88);if((Zh(b+96|0,b+8|0)|0)==-44){break b}d=d+1|0;if((d|0)!=100){continue}break}a=0;break a}a=kt(a?a:961168,b+96|0)}fi=b+128|0;return a}function Zp(a,b,c){var d=0,e=0,f=0;d=q[c+4>>2];e=q[b+4>>2];e=(d|0)==(e|0)&t[c>>2]>2]|e>>>0>d>>>0;d=q[b+4>>2];f=q[a+4>>2];a:{b:{if((d|0)==(f|0)&t[b>>2]>=t[a>>2]|d>>>0>f>>>0){d=0;if(!e){break a}Cl(b,c);c=q[b+4>>2];e=q[a+4>>2];d=1;if((c|0)==(e|0)&t[b>>2]>=t[a>>2]|c>>>0>e>>>0){break a}Cl(a,b);break b}if(e){Cl(a,c);return 1}Cl(a,b);a=q[c+4>>2];e=q[b+4>>2];d=1;if((a|0)==(e|0)&t[c>>2]>=t[b>>2]|a>>>0>e>>>0){break a}Cl(b,c)}d=2}return d}function V5(a,b){var c=0,d=0;a:{b:{c:{c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){c=q[a+(c<<2)>>2];if(s[c+80>>1]!=(b>>>16|0)){break c}d=q[c+4>>2];b=q[c>>2];a=d-b|0;if(!a){break b}a=(a|0)/288|0;if((b|0)!=(d|0)){d=a>>>0>1?a:1;a=0;while(1){Zy(w(a,288)+b|0);a=a+1|0;if((d|0)==(a|0)){break b}b=q[c>>2];if((q[c+4>>2]-b|0)/288>>>0>a>>>0){continue}break}}break a}break a}mi(4,134802,135498,0);G()}return}J(136114,135222,447,135487);G()}function sF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=q[a+8>>2]-q[a+12>>2]>>4;e=ls(a);d=q[e+76>>2];a:{if(!d){break a}g=e+72|0;d=q[q[g>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}h=q[e+80>>2];while(1){f=(d<<4)+h|0;if((b|0)!=q[f>>2]|q[f+4>>2]!=(c|0)){d=q[f+12>>2];if((d|0)!=-1){continue}break a}break}Xi(a,-1e4,q[e+124>>2]);ho(a,-1,q[((d<<4)+h|0)+8>>2]);oi(a,-2);R7(g,b,c)}if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){J(113149,113117,202,113170);G()}}function qx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(r[q[a+16>>2]+21|0]!=2){a:{if(b+1>>>0<=1073741823){f=dj(a,0,0,b<<2);break a}f=Rj(a)}d=q[a+16>>2];if((b|0)>=1){qi(f,0,b<<2)}e=q[d+8>>2];if((e|0)>=1){i=b-1|0;while(1){c=q[q[d>>2]+(g<<2)>>2];if(c){while(1){e=q[c>>2];h=((q[c+8>>2]&i)<<2)+f|0;q[c>>2]=q[h>>2];q[h>>2]=c;c=e;if(c){continue}break}e=q[d+8>>2]}g=g+1|0;if((g|0)<(e|0)){continue}break}}dj(a,q[d>>2],e<<2,0);q[d>>2]=f;q[d+8>>2]=b}}function cL(a){var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=sk(a,193293);a:{if(!c){a=0;break a}q[b+24>>2]=0;q[b+28>>2]=0;b:{if((Yk(b+24|0,1,8,c)|0)==8){a=0;qi(906204,0,50376);d=q[b+24>>2];e=q[b+28>>2];if(!((d|0)!=2|(e|0)!=50376)){a=1;if((Yk(906204,1,50376,c)|0)==50376){break b}a=0;mi(4,193296,193322,0);break b}q[b+8>>2]=2;q[b+12>>2]=50376;q[b+4>>2]=e;q[b>>2]=d;mi(3,193296,193347,b);break b}a=0;mi(4,193296,193433,0)}Qj(c)}fi=b+32|0;return a}function Ut(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;a:{b:{c:{d=c-1|0;if(d>>>0>2]){d=q[b+12>>2]+(d<<4)|0;break c}f=+(c|0);if(c){h=q[b+16>>2];xwa(+f);g=uwa(1)|0;d=uwa(0)|0;g=d+g|0;d=((g>>>0)%((-1<>>0)<<5)+h|0}else{d=q[b+16>>2]}while(1){if(v[d+16>>3]==f?q[d+24>>2]==3:0){break c}d=q[d+28>>2];if(d){continue}break}break b}if((d|0)!=126472){break a}f=+(c|0)}q[e+8>>2]=3;v[e>>3]=f;d=sp(a,b,e)}fi=e+16|0;return d}function Eqa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{if((c|0)==200){if(!(d|e)){q[b+4>>2]=q[b>>2];return}a=b+4|0;c=b+8|0;f=q[b+8>>2];if(f-q[b+4>>2]>>>0>>0){if(o[b+12|0]&1){break c}vi(((e>>>0>4096?e:4096)+f|0)-q[b>>2]|0,1,b,c,a)}if(!d){break b}b=q[a>>2];if(q[c>>2]-b>>>0>>0){break a}si(b,d,e);q[a>>2]=q[a>>2]+e}return}J(139346,139421,461,139447);G()}J(139154,139167,380,139194);G()}J(139618,139421,508,139647);G()}function DG(a,b){var c=0,d=0,e=0;c=1;a:{b:{if(!b){break b}d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return 1}d=q[a>>2];b=q[a+4>>2]-d|0;if(!b){break b}c=0;if(q[d+264>>2]){break b}a=1;c=(b|0)/288|0;e=c>>>0>1?c:1;while(1){b=a;if((e|0)!=(b|0)){a=b+1|0;if(!q[(w(b,288)+d|0)+264>>2]){continue}}break}c=b>>>0>=c>>>0}return c}J(136114,135222,447,135487);G()}function iqa(a,b){var c=0;a:{if(!r[906204]|(a|0)!=1){break a}b:{switch(b|0){case 0:o[906235]=0;return 906204;case 1:o[906363]=0;return 906236;case 2:o[906395]=0;return 906364;case 3:o[906427]=0;return 906396;case 4:o[906459]=0;return 906428;case 5:o[906491]=0;return 906460;case 6:o[906499]=0;return 906492;case 7:o[906515]=0;return 906500;case 8:o[906523]=0;return 906516;case 9:break b;default:break a}}o[906651]=0;c=906524}return c}function f0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;c=b+24|0;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=1;e=b+16|4;vi(32768,1,b+16|0,c,e);a:{f=NE(Ni(a,1,0),wl(a,1),b+16|0,892);b:{if(!f){c=a;a=q[b+16>>2];Bi(c,a,q[b+20>>2]-a|0);break b}if(o[b+28|0]&1){break a}d=0;vi(0,1,b+16|0,c,e);q[b>>2]=f;ni(a,122907,b)}c:{if(o[b+28|0]&1){break c}a=q[b+16>>2];if(!a){break c}ki(a)}fi=b+32|0;return d|0}J(123165,123060,461,123240);G()}function boa(a){var b=0,c=0,d=0;a:{d=q[a+28068>>2];c=q[a+28064>>2];b=d-c|0;if(!b){break a}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){c=q[c>>2];tA(c);Ps(c);b=b+1|0;if((d|0)==(b|0)){break a}c=q[a+28064>>2];if((c|0)!=q[a+28068>>2]){continue}break}}J(12475,10090,447,9406);G()}Tn(q[a+28060>>2]);b:{if(o[a+28076|0]&1){break b}c=q[a+28064>>2];if(!c){break b}ki(c)}ki(a)}function HV(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;a:{b:{c:{m=q[a>>2];switch(q[m+4>>2]-6|0){case 2:break b;case 0:break c;default:break a}}q[i>>2]=g;a=$U(q[a+60>>2],g,b,c,d,e,j,k,f,h);return(a|0)==-18?-25344:a}q[i>>2]=g;a=SV(q[a+60>>2],g,b,c,d,e,f,h,j,k);return(a|0)==-15?-25344:a}l=-24704;d:{if(q[m>>2]!=73){break d}l=-24832;if((k|0)!=16|q[m+16>>2]!=(c|0)){break d}q[i>>2]=g;a=NV(q[a+60>>2],g,b,d,e,j,f,h);l=(a|0)==-86?-25344:a}return l}function Ex(a,b,c,d,e,f){var g=0,h=0;g=fi-16|0;fi=g;q[g+12>>2]=0;d=qr($(c|0,d|0,f|0,g+12|0)|0);c=q[g+12>>2];a:{b:{c:{if(!d){if(c){break c}d=0;break b}if(!c){break a}ki(c);break a}while(1){Bn(e);if(q[b>>2]!=q[c+4>>2]){rr(a);d=Ql(rw(a,q[c+4>>2],q[c+8>>2],q[c+12>>2]));if(d){ki(q[g+12>>2]);break a}q[b>>2]=q[c+4>>2];nt(a)}d=Ql(sw(a,q[c+20>>2],q[c+16>>2],e));if(d){c=q[c+28>>2];if(c){continue}}break}h=q[g+12>>2]}ki(h)}fi=g+16|0;return d}function Sga(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=-2;a:{if(rj(q[a+20>>2],q[a+24>>2],q[60766],c+12|0)){break a}q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2];b=q[c+12>>2];q[c>>2]=b;b:{if(!r[b+4|0]){b=Ij(d,q[b>>2],c|4);if(b){break b}}b=q[q[a+32>>2]+8>>2];d=q[b+4>>2];if(d){Di(q[a>>2],d)}a=q[b>>2];if(a){Ui(a)}a=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=a;b=0;break a}d=q[c+4>>2];if(d){Di(q[a>>2],d)}a=q[c>>2];if(!a){break a}Ui(a)}fi=c+16|0;return b|0}function Mla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+8>>2];if(!b){return-1e3}a:{b:{d=q[q[a+16>>2]>>2];if(!(r[d+24|0]&2)){o[d+24|0]=r[d+24|0]|2;e=b+144|0;a=q[e>>2];f=b+148|0;c=q[f>>2];if((a|0)==(c|0)){if(o[b+152|0]&1){break b}c=a;a=b+140|0;vi((c-q[a>>2]>>2)+32|0,4,a,f,e);c=q[f>>2];a=q[e>>2]}if((a|0)==(c|0)){break a}q[e>>2]=a+4;q[a>>2]=d;return 0}J(36139,36070,858,36167);G()}J(37343,37418,461,37497);G()}J(37640,37418,501,37664);G()}function DA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];if(c>>>0<=i>>>0){a:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=jwa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=k}return a^1}J(22871,22890,70,22958);G()}function Jua(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=fi-16|0;fi=d;f=(ywa(b),uwa(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=z(c);Zl(d,e,0,0,0,c+81|0);h=q[d>>2];i=q[d+4>>2];g=q[d+8>>2];c=q[d+12>>2]^65536|16265-c<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=g;q[a+12>>2]=f&-2147483648|c;fi=d+16|0}function Bt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Vk(a,q[b+4>>2]);a:{if(g){break a}d=((0-c|c)&128)>>>7|0;e=d^1;q[a>>2]=w(q[b>>2],d)+w(q[a>>2],e);c=q[b+4>>2];if(c){b=q[b+8>>2];j=q[a+8>>2];while(1){h=f<<2;i=h+j|0;q[i>>2]=w(q[b+h>>2],d)+w(q[i>>2],e);f=f+1|0;if((f|0)!=(c|0)){continue}break}}b=q[a+4>>2];if(b>>>0<=c>>>0){break a}a=q[a+8>>2];while(1){d=a+(c<<2)|0;q[d>>2]=w(q[d>>2],e);c=c+1|0;if(b>>>0>c>>>0){continue}break}}return g}function $ha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-80|0;fi=b;c=Ti(b+24|0,a,0,67527,721);e=Pj(a,2);f=ii;g=q[q[Kj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;d=b- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;Hk(a,1,g,67321,b+20|0,b+48|0,b+16|0);a=Xia(q[b+16>>2],q[b+20>>2],e,f);if(a){q[b+4>>2]=a;q[b>>2]=q[(a<<2)+242016>>2];h=uj(c,69273,b)}Si(c);fi=b+80|0;return h|0}function $M(a,b,c,d){var e=0,f=0;e=fi-32|0;fi=e;f=-9058;a:{if((a|0)!=48){break a}q[e+28>>2]=c;f=-9056;if((b|0)<1){break a}q[e+16>>2]=r[c|0];a=b+c|0;b=Lj(e+28|0,a,e+16|4,6);if(b){f=b-8960|0;break a}b=q[e+28>>2];q[e+24>>2]=b;q[e+28>>2]=b+q[e+20>>2];b=aD(e+16|0,d);if(b){f=b-8960|0;break a}f=0;if((a|0)==q[e+28>>2]){break a}b=Lj(e+28|0,a,e+12|0,5);f=b-8960|0;if(b|q[e+12>>2]){break a}f=(a|0)==q[e+28>>2]?0:-9062}a=f;fi=e+32|0;return a}function t8(a,b,c){var d=0,e=0,f=0,g=0;q[a+24>>2]=c;q[a+20>>2]=b;a:{f=q[a+44>>2];e=q[a+40>>2];d=f-e|0;if(!d){break a}if((e|0)!=(f|0)){f=e-f|0;f=((d|0)<(f|0)?f:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);f=d>>>0>1?d:1;d=0;while(1){e=q[(d<<2)+e>>2];o[e+358|0]=r[e+358|0]|1;g=q[e+404>>2];if(g){ji[g|0](e,b,c)}d=d+1|0;if((f|0)==(d|0)){break a}e=q[a+40>>2];if(q[a+44>>2]-e>>2>>>0>d>>>0){continue}break}}J(186773,186599,447,186784);G()}}function on(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0;o=a+4|0;n=o;q[n+8>>2]=b;q[n>>2]=1;q[n+4>>2]=c>>>2;if(d){q[a+24>>2]=d;q[a+16>>2]=1;q[a+20>>2]=e>>>2}q[a+36>>2]=f;q[a+28>>2]=1;q[a+32>>2]=g>>>2;c=a+76|0;b=c;q[b+8>>2]=l;q[b>>2]=1;q[b+4>>2]=m>>>2;q[a+48>>2]=h;q[a+40>>2]=1;q[a+44>>2]=i>>>2;q[a+60>>2]=j;q[a+52>>2]=1;q[a+56>>2]=k>>>2;b=a- -64|0;q[b>>2]=1;q[b+4>>2]=1;q[b+8>>2]=268284;q[a+88>>2]=ul(o);b=ul(c);q[a+96>>2]=1;q[a+92>>2]=b}function Ry(a,b){var c=0;ji[q[74923]](q[a+2208>>2],q[b+4>>2]);c=q[b+48>>2];if((c|0)!=q[b+52>>2]){a=0;while(1){c=q[w(a,40)+c>>2];ki(q[c>>2]);ki(c);a=a+1|0;c=q[b+48>>2];if(a>>>0<(q[b+52>>2]-c|0)/40>>>0){continue}break}}a:{if(o[b+76|0]&1){break a}a=q[b+64>>2];if(!a){break a}ki(a)}b:{if(o[b+60|0]&1){break b}a=q[b+48>>2];if(!a){break b}ki(a)}c:{if(o[b+44|0]&1){break c}a=q[b+24>>2];if(a){ki(a)}a=q[b+16>>2];if(!a){break c}ki(a)}ki(b)}function v8(a,b,c){var d=0,e=0,f=x(0);a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=q[c+4>>2];d=q[c>>2];f=u[c+8>>2];q[a+12>>2]=1065353216;u[a+8>>2]=f;q[a>>2]=d;q[a+4>>2]=b;q[a+412>>2]=q[a+412>>2]|2097152;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function lF(a,b){var c=0,d=0;c=fi-32|0;fi=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){ms(a);if((ri(a,-1)|0)==5){ho(a,-1,b)}oi(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}fi=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=1267;q[c+8>>2]=0;q[c>>2]=110448;mi(4,110525,111068,c);J(111140,110448,1449,111157);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=1267;q[c+16>>2]=110448;mi(4,110525,111171,c+16|0);J(111242,110448,1472,111261);G()}function iE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=fi-112|0;fi=d;e=q[a+68>>2];if(!(!e|!r[a+57|0])){f=q[a+20>>2];i=q[f+8>>2];g=q[a+32>>2];h=q[a+8>>2];q[d+28>>2]=c;q[d+8>>2]=b;q[d+104>>2]=(b|0)!=4?(f-q[a+40>>2]|0)/24|0:0;if((q[a+28>>2]-h|0)<=320){b=q[a+44>>2];Ym(a,(b|0)<20?b+20|0:b<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;ji[e|0](a,d+8|0);o[a+57|0]=1;b=q[a+32>>2];q[q[a+20>>2]+8>>2]=b+(i-g|0);q[a+8>>2]=b+(h-g|0)}fi=d+112|0}function i5(a,b){var c=0,d=0,e=0;d=q[a+1852>>2];c=d;e=q[c+8>>2]-q[c+12>>2]>>4;c=bj(c,28);q[c+16>>2]=0;q[c+20>>2]=0;q[c+24>>2]=-2;q[c+8>>2]=-2;q[c+12>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;q[c+16>>2]=a;zi(d,-1e4,106442);aj(d,-2);q[c+24>>2]=ck(d,-1e4);a:{if(gG(d,b,c)){if(q[d+8>>2]-q[d+12>>2]>>4==(e|0)){break a}J(104348,104245,2651,107533);G()}oG(c);c=0;if(q[d+8>>2]-q[d+12>>2]>>4==(e|0)){break a}J(104348,104245,2657,107533);G()}return c}function bja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=fi-16|0;fi=f;a:{e=q[q[a>>2]+100>>2];a=q[e+20>>2];b:{if(!a){break b}a=q[q[e+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break b}e=q[e+24>>2];while(1){g=e+w(a,12)|0;if(q[g>>2]==(d|0)){break a}a=q[g+8>>2];if((a|0)!=-1){continue}break}}o[293936]=1;q[f>>2]=d;mi(4,38938,39766,f);G()}a=q[(e+w(a,12)|0)+4>>2];a=ji[q[a+8>>2]](f+8|0,q[a+4>>2],b,c,d)|0;fi=f+16|0;return a|0}function VW(a,b){var c=0,d=0,e=0;c=q[a+12>>2];c=c>>>0>2]?c:126472;a:{if(q[c+8>>2]!=6){break a}c=q[c>>2];b:{if(r[c+6|0]){if((b|0)<1|r[c+7|0]<(b|0)){break a}e=126008;b=(c+(b<<4)|0)+8|0;break b}if((b|0)<1){break a}d=q[c+16>>2];if(q[d+36>>2]<(b|0)){break a}b=(b<<2)-4|0;e=q[b+q[d+28>>2]>>2]+16|0;b=q[q[(b+c|0)+20>>2]+8>>2]}d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}return e}function Nea(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;a=fi-48|0;fi=a;q[a+28>>2]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+12>>2]=1;q[a+16>>2]=1;q[a+20>>2]=f;q[a+4>>2]=2;q[a+8>>2]=2;p[a+30>>1]=c;p[a+32>>1]=d;f=a;if(e>>>0<=2){g=q[(e<<2)+156216>>2]}else{g=0}q[f+24>>2]=w(g,w(c,d));if(e>>>0>=3){J(41358,39661,1878,41364);G()}q[a>>2]=q[(e<<2)+42452>>2];ji[q[74963]](b,a);fi=a+48|0}function iT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;e=1;c=Qm(a,124339);b=Bn(c+8248|0);b=bZ(c,q[c+8272>>2],d+12|0,b);a:{if(!b){b=bj(a,8280);hp(a,124327,-1);a=qi(b,0,8280);nt(d+12|0);q[a>>2]=q[d+12>>2];f=a+4|0;b=f;q[b+12>>2]=920;q[b+8>>2]=921;q[b+4>>2]=922;q[b>>2]=a;b=a+8248|0;v[b+8>>3]=-1;v[b>>3]=-1;LA(a+24|0,f,b);q[a+8272>>2]=q[c+8272>>2];break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,b);e=2}fi=d+16|0;return e|0}function Zt(a){var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;a:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break a}b=mk(b)}q[d>>2]=b;b:{c:{switch(b-10|0){case 0:case 3:break c;default:break b}}if((b|0)==(e|0)){break b}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;d:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break d}b=mk(b)}q[d>>2]=b}b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)>=2147483644){Kl(a,127069,q[a+16>>2])}}function Xka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+4>>2];c=q[b+4>>2];d=q[b>>2];if((c|0)!=(d|0)){a=0;e=d;while(1){f=w(a,240)+d|0;if(r[f+238|0]&4){ki(q[f+232>>2]);c=q[b+4>>2];e=q[b>>2]}a=a+1|0;if(a>>>0<(c-e|0)/240>>>0){continue}break}}a:{if(o[b+48|0]&1){break a}a=q[b+36>>2];if(!a){break a}ki(a)}b:{if(o[b+28|0]&1){break b}a=q[b+16>>2];if(!a){break b}ki(a)}c:{if(o[b+12|0]&1){break c}a=q[b>>2];if(!a){break c}ki(a)}ki(b);return 0}function W6(a,b,c,d,e){var f=0,g=0,h=0;f=fi-176|0;fi=f;a=q[a+32>>2];qu(b,c,f+32|0,129);a=Du(a,f+32|0,f+28|0);a:{if(!a){d=1;break a}b=a+16|0;c=q[f+28>>2]-16|0;h=q[d+4>>2];b:{c:{g=r[a+4|0];if(!(g&1)){break c}d=q[60043];d=bL(b,c,d,Fi(d))?-1e3:0;if(!d){break c}q[f+16>>2]=f+32;mi(4,199540,199948,f+16|0);break b}d:{if(g&2){d=L3(b,e,h);if(!d){break d}q[f>>2]=f+32;mi(4,199540,199980,f);break b}si(e,b,c)}d=0}ki(a)}fi=f+176|0;return d}function oja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[q[a+24>>2]>>2];e=q[a+16>>2];f=q[a+20>>2];if((e|0)==q[73984]&(f|0)==q[73985]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[c+148>>2];if(!a){a=q[q[c+156>>2]+24>>2]}return gm(d,a,b)|0}if((e|0)==q[74006]&(f|0)==q[74007]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[c+152>>2];if(!a){a=q[q[c+156>>2]>>2]}return gm(d,a,b)|0}d=q[c+148>>2];if(!d){d=q[q[c+156>>2]+24>>2]}return Hs(d,e,f,q[a+32>>2],b,1,449,c)|0}function ik(a,b,c,d,e,f,g,h){var i=0,j=0;i=-11;j=q[a+5136>>2];a:{if((j|0)==128){break a}i=-6;if(!g|(Rm(b,46)|!e)){break a}b:{if(!j){break b}i=0;while(1){if(Ej(b,q[(w(i,40)+a|0)+24>>2])){i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}return-5}i=li(b);j=q[a+5136>>2];q[a+5136>>2]=j+1;a=w(j,40)+a|0;q[a+48>>2]=h;q[a+44>>2]=g;q[a+40>>2]=f;q[a+36>>2]=e;q[a+32>>2]=d;q[a+28>>2]=c;q[a+24>>2]=b;q[a+16>>2]=i;q[a+20>>2]=ii;i=0}return i}function d_(a,b){a=a|0;b=b|0;var c=0,d=0;c=ZW(q[b>>2]);d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}c=ji[((c|0)==27?997:996)|0](a,q[b>>2],b+4|0,q[b+16>>2])|0;d=gE(a,r[c+72|0],q[a+72>>2]);q[d+16>>2]=c;if(r[c+72|0]){b=0;while(1){q[(d+(b<<2)|0)+20>>2]=vX(a);b=b+1|0;if(b>>>0>2];q[b+8>>2]=6;q[b>>2]=d;if((q[a+28>>2]-q[a+8>>2]|0)<=16){b=q[a+44>>2];Ym(a,(b|0)<1?b+1|0:b<<1)}q[a+8>>2]=q[a+8>>2]+16}function Pda(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;a:{b:{if(a){c:{if(ji[q[74974]](a)&1){c=q[74991];d=q[74992];if((c|0)==(d|0)){if(o[299972]&1){break b}vi((c-q[74990]>>2)- -64|0,4,299960,299968,299964);d=q[74992];c=q[74991]}if((c|0)==(d|0)){break a}q[74991]=c+4;q[c>>2]=a;break c}q[b+8>>2]=0;q[b>>2]=a;q[b+4>>2]=690;Uz(b)}fi=b+16|0;return}J(82976,79164,2246,82984);G()}J(83004,80515,461,83079);G()}J(83091,80515,501,83115);G()}function Xo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=fi-32|0;fi=h;q[h+24>>2]=0;q[h+28>>2]=0;q[h+20>>2]=0;i=-1;q[h+16>>2]=-1;p[h+14>>1]=0;a:{if(!kG(a,b,c,h+24|0,h+20|0,h+16|0,h+14|0)){break a}if((q5(a,q[h+24>>2],q[h+28>>2])|0)<0){break a}a=q[d>>2];j=q[h+24>>2];k=q[h+28>>2];if((b|0)==(j|0)&(k|0)==(c|0)){i=-4;if((a&-2)!=4){break a}i=0;ji[f|0](g,b,c,e,0,d);break a}i=-4;if(a){break a}ji[f|0](g,j,k,e,h+16|0,d);i=0}fi=h+32|0;return i}function RD(a,b){var c=0,d=0,e=0,f=0;ij(a,0,0);e=1;f=q[a+8>>2]-q[a+12>>2]>>4;d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Tj(a,b);if(ri(a,-1)){d=1;while(1){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-2);Wi(a,f);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Wi(a,f);c=q[a+8>>2];q[c+8>>2]=3;d=d+1|0;e=+(d|0);v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Tj(a,b);if(ri(a,-1)){continue}break}}oi(a,-2)}function Fea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Pj(a,1);f=ii;d=Ai(a,2);q[b+12>>2]=0;q[b+8>>2]=0;c=U$(c,f,x(d),b+12|0,b+8|0);if(c){q[b>>2]=c;mi(3,72869,72938,b)}d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(72900,72665,255,72962);G()}fi=b+16|0;return 2}function Eea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Pj(a,1);f=ii;d=Ai(a,2);q[b+12>>2]=0;q[b+8>>2]=0;c=T$(c,f,x(d),b+12|0,b+8|0);if(c){q[b>>2]=c;mi(3,72869,72877,b)}d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(72900,72665,211,72925);G()}fi=b+16|0;return 2}function Ar(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;q[a>>2]=0;q[a+4>>2]=0;a:{if(!b){c=-1694144372;d=1359893119;e=-1521486534;f=1013904242;g=-1150833019;h=1779033703;i=1541459225;j=528734635;break a}c=1750603025;d=-4191439;e=-150054599;f=812702999;g=914150663;h=-1056596264;i=-1090891868;j=1694076839}q[a+104>>2]=b;q[a+8>>2]=h;q[a+36>>2]=i;q[a+32>>2]=j;q[a+28>>2]=c;q[a+24>>2]=d;q[a+20>>2]=e;q[a+16>>2]=f;q[a+12>>2]=g;return 0}function WV(a,b,c){var d=0,e=0,f=0;f=fi-16|0;fi=f;e=Lj(a,b,f+12|0,48);a:{if(e){break a}e=-102;d=q[a>>2];if((d+q[f+12>>2]|0)!=(b|0)){break a}if(b>>>0>d>>>0){while(1){q[c>>2]=r[d|0];e=Lj(a,b,c+4|0,6);if(e){break a}q[c+8>>2]=q[a>>2];d=q[a>>2]+q[c+4>>2]|0;q[a>>2]=d;if(b>>>0>d>>>0){d=c;c=Oj(1,16);q[d+12>>2]=c;if(!c){e=-106;break a}d=q[a>>2]}if(b>>>0>d>>>0){continue}break}}q[c+12>>2]=0;e=q[a>>2]==(b|0)?0:-102}fi=f+16|0;return e}function OC(a,b,c){var d=0,e=0,f=0;e=fi-16|0;fi=e;d=Lj(a,b,e+12|0,49);a:{if(!d){while(1){f=q[a>>2]+q[e+12>>2]|0;d=nB(a,f,c);if(d){break a}while(1){if(q[a>>2]!=(f|0)){o[c+28|0]=1;d=c;c=Oj(1,32);q[d+24>>2]=c;if(!c){d=-10368;break a}d=nB(a,f,c);if(!d){continue}break a}break}if((b|0)==(f|0)){d=0;break a}d=c;c=Oj(1,32);q[d+24>>2]=c;if(!c){d=-10368;break a}d=Lj(a,b,e+12|0,49);if(!d){continue}break}}d=d-9088|0}fi=e+16|0;return d}function FO(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;c=1;e=r[b|0];if((d|0)==1){o[a|0]=e;o[a+1|0]=e;return a|0}o[a|0]=e;o[a+1|0]=(r[b+1|0]+w(r[b|0],3)|0)+2>>>2;e=d-1|0;f=2;if((d|0)>=3){while(1){f=c<<1;g=b+c|0;h=w(r[g|0],3)+2|0;o[f+a|0]=h+r[g-1|0]>>>2;c=c+1|0;o[(f|1)+a|0]=r[c+b|0]+h>>>2;if((c|0)!=(e|0)){continue}break}f=e<<1}c=b+e|0;o[a+f|0]=(r[c|0]+w(r[(b+d|0)-2|0],3)|0)+2>>>2;o[(f|1)+a|0]=r[c|0];return a|0}function zea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-96|0;fi=b;d=Ti(b+72|0,a,0,72665,653);e=Kj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);u[b>>2]=Ai(a,2);a=q[61078];Zj(b+8|0,b+40|0,q[a+8>>2],q[a+12>>2],e,a,b,4);Si(d);fi=b+96|0;return 0}function xea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-96|0;fi=b;d=Ti(b+72|0,a,0,72665,691);e=Kj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);u[b>>2]=Ai(a,2);a=q[61094];Zj(b+8|0,b+40|0,q[a+8>>2],q[a+12>>2],e,a,b,4);Si(d);fi=b+96|0;return 0}function Vt(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-48|0;fi=d;q[d+44>>2]=0;g=q[(q[b+8>>2]<<2)+261152>>2];f=q[a+20>>2];h=q[f+8>>2];a:{b:{e=q[f>>2];if(h>>>0<=e>>>0){break b}while(1){if((b|0)!=(e|0)){e=e+16|0;if(h>>>0>e>>>0){continue}break b}break}b=_t(a,f,b-q[a+12>>2]>>4,d+44|0);if(!b){break b}q[d+16>>2]=c;q[d+20>>2]=b;q[d+24>>2]=q[d+44>>2];q[d+28>>2]=g;Ck(a,126009,d+16|0);break a}q[d+4>>2]=g;q[d>>2]=c;Ck(a,126044,d)}fi=d+48|0}function Aba(a,b){var c=0,d=0;a:{b:{c:{c=q[a+36>>2];a=q[a+32>>2];d=(c-a|0)/576|0;c=b&65535;if(d>>>0>c>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}c=a+w(c,576)|0;if(s[c+554>>1]!=(b&65535)){break b}b=s[c+560>>1];if((b|0)==65535){return 0}if(b>>>0>=d>>>0){break a}a=a+w(b,576)|0;return s[a+552>>1]<<16|s[a+554>>1]}break a}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}J(186773,186599,447,186784);G()}function tF(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-1040|0;fi=e;f=q[a+8>>2]-q[a+12>>2]>>4;a:{g=a;h=b;if(d){b=Fi(d);o[e+16|0]=61;kj(e+16|1,b>>>0>58?(b+d|0)-59|0:d,1023);b=e+16|0}else{b=0}b=Ot(g,h,c,b);if(!b){if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(115427,115337,123,115452);G()}q[e>>2]=_i(a,-1,0);mi(4,115466,115473,e);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){break a}J(115316,115337,130,115452);G()}fi=e+1040|0;return!b}function pU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(d>>>0>4294967284){break a}g=q[a+4>>2];if(g>>>0>>0){break a}o[f|0]=0;i=(g-d|0)-3|0;if(!b){break a}o[f+1|0]=2;g=f+2|0;b:{while(1){if(!i){break b}i=i-1|0;h=100;while(1){c:{j=ji[b|0](c,g,1)|0;if(r[g|0]){break c}h=h-1|0;if(!h){break c}if(!j){continue}}break}if(!j){g=g+1|0;if(h){continue}}break}return j-17536|0}o[g|0]=0;if(d){si(g+1|0,e,d)}return zp(a,f,f)}return-16512}function UT(a){var b=0,c=0,d=0,e=0;e=q[q[a+68>>2]+2252>>2];if(q[a+8>>2]==1){q[a+8>>2]=2;q[a+12>>2]=0}b=q[a+60>>2];if(b){q[q[a+64>>2]+124>>2]=q[b+124>>2];wt(b);ki(q[a+60>>2])}b=q[a+64>>2];q[a+64>>2]=0;q[a+60>>2]=b;c=q[a>>2];d=q[c+36>>2];if(!(!q[b+12>>2]|(e|!d))){ji[d|0](q[c+40>>2],b)|0;c=q[a>>2]}a:{if(!(!(r[c+184|0]&2)|!q[q[a+68>>2]+496>>2])){b=q[a+92>>2];if(b){ji[b|0](q[a+88>>2],0,0)}break a}dC(a)}q[a+4>>2]=q[a+4>>2]+1}function Pba(a){var b=0,c=0;c=q[q[a+24>>2]>>2];b=q[a>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+4>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+8>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+12>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+16>>2];if((b|0)!=-2){sj(c,-1e4,b)}b=q[a+20>>2];if((b|0)!=-2){sj(c,-1e4,b)}sj(c,-1e4,q[a+32>>2]);q[a+32>>2]=-2;q[a+16>>2]=-2;q[a+20>>2]=-2;q[a+8>>2]=-2;q[a+12>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2;q[a+24>>2]=0;q[a+28>>2]=0}function Tta(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=r[b+1|0];e=r[b|0];i=r[b+2|0];j=r[b+3|0];k=r[b+4|0];g=(((w(f>>>d|0,3)+(e>>>d|0)|0)+w(i>>>d|0,9)|0)+w(j>>>d|0,27)|0)+w(k>>>d|0,81)|0;if((g|0)>=243){J(96217,85651,5175,96229);G()}b=-1<>>2&3|(b&i)<<2|(e>>>4&1)<>>5&3)<>>7<>2];c=q[b+28>>2];d=q[c+20>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){d=q[(b<<3)+d>>2];b=q[c+8>>2];c=q[c+4>>2];if(d>>>0>2>>>0){c=q[c+(d<<2)>>2];b=q[a+1052>>2];e=q[a+1048>>2];f=e+1|0;d=f>>>0<1?b+1|0:b;q[a+1048>>2]=f;q[a+1052>>2]=d;if(!(b|e)){q[a+8>>2]=6;o[a+16|0]=o[c+206|0]&1;q[a>>2]=li(45829);q[a+4>>2]=ii}return!(b|e)|0}}J(45837,45268,447,45848);G()} +function ena(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{d=q[a+8>>2];e=q[d+20>>2];c=q[d+16>>2];b=e-c|0;c:{if(!b){break c}h=q[q[a+16>>2]>>2];f=b>>2;b=0;while(1){i=(b<<2)+c|0;g=q[i>>2]==(h|0)|g;if(!(!(g&1)|f-1>>>0<=b>>>0)){b=b+1|0;if(b>>>0>=f>>>0){break b}q[i>>2]=q[(b<<2)+c>>2];e=q[d+20>>2];c=q[d+16>>2]}j=j+1|0;b=j&255;f=e-c>>2;if(b>>>0>>0){continue}break}if(!(g&1)){break c}if((c|0)==(e|0)){break a}q[d+20>>2]=e-4}d:{e:{e=q[d+4>>2];f=q[d>>2];if((e|0)==(f|0)){break e}g=e-f>>5;h=q[a+4>>2];b=0;c=0;while(1){a=f+(b<<5)|0;if((h|0)!=q[a>>2]){c=c+1|0;b=c&255;if(g>>>0>b>>>0){continue}break e}break}c=e-32|0;b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;b=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=b;b=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;c=q[d+4>>2]-32|0;q[d+4>>2]=c;a=0;if(c>>>0>=t[d>>2]){break d}J(44144,44029,516,44134);G()}Ai(4,43743,43751,0);a=-1e3}return a|0}J(44097,44029,479,44108);G()}J(44119,44029,548,44130);G()}function aI(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(144752,144767,156,144707);G();case 0:J(144827,144767,157,144707);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/184>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,184);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;aI(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,184)|0;Iz(d,q[b>>2],b+4|0);b=q[b+180>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(144849,144767,158,144707);G()}J(144869,144767,159,144707);G()}function _H(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(109002,109017,156,109077);G();case 0:J(109089,109017,157,109077);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/280>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,280);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;_H(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,280)|0;$H(d,q[b>>2],b+8|0);b=q[b+272>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(109111,109017,158,109077);G()}J(109131,109017,159,109077);G()}function zz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(118569,118584,156,118644);G();case 0:J(118656,118584,157,118644);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;zz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;zH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(118678,118584,158,118644);G()}J(118698,118584,159,118644);G()}function yz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(118569,118584,156,118644);G();case 0:J(118656,118584,157,118644);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>5>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<5;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;yz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<5)|0;yH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+28>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(118678,118584,158,118644);G()}J(118698,118584,159,118644);G()}function xH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(195241,195256,156,195316);G();case 0:J(195328,195256,157,195316);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;xH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;xz(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(195350,195256,158,195316);G()}J(195370,195256,159,195316);G()}function HH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(167007,167022,156,167052);G();case 0:J(167064,167022,157,167052);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>6>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<6;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;HH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<6)|0;IH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+56>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(167086,167022,158,167052);G()}J(167106,167022,159,167052);G()}function FH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(195241,195256,156,195316);G();case 0:J(195328,195256,157,195316);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;FH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;GH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(195350,195256,158,195316);G()}J(195370,195256,159,195316);G()}function Bz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(115164,115179,156,115239);G();case 0:J(115251,115179,157,115239);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Bz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;CH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(115273,115179,158,115239);G()}J(115293,115179,159,115239);G()}function Ry(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{e=s[b+34>>1];if((e|0)!=65535){c=q[a+155696>>2];g=a+88112|0;while(1){if(c>>>0>=1024){break g}f=e<<16>>16;d=f<<6;c=d+a|0;if(s[c+88146>>1]!=65535){break f}if(s[c+88150>>1]){break e}h=d+g|0;i=(p[h+32>>1]<<6)+g|0;if(s[i+34>>1]!=(e|0)){break d}d=q[c+88172>>2];h:{if(!d){break h}if((f|0)>1]){f=q[a+173524>>2];if((f|0)==q[a+173528>>2]){break c}q[a+173524>>2]=f+4;q[f>>2]=d;break h}Pi(q[a+155704>>2],d)}p[i+34>>1]=s[c+88148>>1];i:{if(q[c+88168>>2]!=-17){break i}c=p[h+32>>1];if((c|0)==-1){break i}c=((c<<6)+a|0)+88150|0;d=s[c>>1];if(!d){break b}p[c>>1]=d-1}d=q[a+155696>>2];c=d+1|0;q[a+155696>>2]=c;p[((d<<1)+a|0)+153648>>1]=e;e=s[b+34>>1];if((e|0)!=65535){continue}break}}if(s[b+38>>1]){break a}return}J(29222,28238,406,29273);G()}J(29293,28238,409,29273);G()}J(29316,28238,410,29273);G()}J(29345,28238,412,29273);G()}J(29528,28586,533,29552);G()}J(28744,28238,315,28804);G()}J(28884,28238,442,29207);G()}function Gz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(108378,108393,156,108453);G();case 0:J(108465,108393,157,108453);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/80>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,80);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Gz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,80)|0;Hz(d,q[b>>2],b+8|0);b=q[b+72>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(108487,108393,158,108453);G()}J(108507,108393,159,108453);G()}function vH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(118569,118584,156,118644);G();case 0:J(118656,118584,157,118644);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;vH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;wH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(118678,118584,158,118644);G()}J(118698,118584,159,118644);G()}function tH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(119591,119606,156,119666);G();case 0:J(119678,119606,157,119666);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;tH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;uH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(119700,119606,158,119666);G()}J(119720,119606,159,119666);G()}function dI(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(144752,144767,156,144707);G();case 0:J(144827,144767,157,144707);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;dI(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;eI(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(144849,144767,158,144707);G()}J(144869,144767,159,144707);G()}function tt(a){var b=x(0),c=0,d=0,e=x(0);a:{d=(bxa(a),Zwa(2));c=d&2147483647;if(c>>>0>=1065353216){if((c|0)==1065353216){break a}return x(x(0)/x(a-a))}b:{if(c>>>0<=1056964607){b=x(1.570796251296997);if(c>>>0<847249409){break b}b=x(a*a);return x(x(x(x(7.549789415861596e-8)-x(x(x(x(x(x(x(b*x(-.008656363002955914))+x(-.04274342209100723))*b)+x(.16666586697101593))*b)/x(x(b*x(-.7066296339035034))+x(1)))*a))-a)+x(1.570796251296997))}if((d|0)<=-1){a=x(x(a+x(1))*x(.5));b=x(F(a));a=x(x(1.570796251296997)-x(b+x(x(b*x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1))))+x(-7.549789415861596e-8))));return x(a+a)}a=x(x(x(1)-a)*x(.5));e=x(F(a));b=(_wa(2,(bxa(e),Zwa(2))&-4096),cxa());a=x(x(x(e*x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1))))+x(x(a-x(b*b))/x(e+b)))+b);b=x(a+a)}return b}return(d|0)>-1?x(0):x(3.141592502593994)}function QH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(63604,63619,156,63679);G();case 0:J(63691,63619,157,63679);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;QH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;RH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(63713,63619,158,63679);G()}J(63733,63619,159,63679);G()}function OH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(40280,40295,156,40355);G();case 0:J(40367,40295,157,40355);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;OH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;PH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+20>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(40389,40295,158,40355);G()}J(40409,40295,159,40355);G()}function Ms(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(11269,11284,156,10200);G();case 0:J(11344,11284,157,10200);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Ms(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;bv(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(11366,11284,158,10200);G()}J(11386,11284,159,10200);G()}function AH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(27057,27072,156,27018);G();case 0:J(27132,27072,157,27018);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/48>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,48);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;AH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,48)|0;BH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+40>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(27154,27072,158,27018);G()}J(27174,27072,159,27018);G()}function hna(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,r=0,t=0,v=0;i=ti+ -64|0;ti=i;j=q[e+8>>2];p=q[q[e+4>>2]+4>>2];if(j>>>0

>>0){q[e+8>>2]=j+1;k=q[a+4>>2];f=k;r=q[f+96>>2];f=q[f+100>>2];l=q[c+4>>2];g=l;t=q[g+96>>2];g=q[g+100>>2];v=q[e>>2];if(b){e=0;if(!(b&1)){while(1){e=e+1|0;h=b&2;b=(b&65534)>>>1|0;if(!h){continue}break}}b=(e<<3)+v|0;h=q[b>>2];m=q[b+4>>2]}if(d){b=0;if(!(d&1)){while(1){b=b+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}b=(b<<3)+v|0;n=q[b>>2];o=q[b+4>>2]}b=i;q[b+48>>2]=n;q[b+52>>2]=o;q[b+56>>2]=h;q[b+60>>2]=m;q[b+24>>2]=n;q[b+28>>2]=o;q[b+16>>2]=t;q[b+20>>2]=g;np(b,l);d=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=d;u[b+32>>2]=u[b>>2];KB(b+16|0,k,r,f,s[a+22>>1]);q[b+48>>2]=h;q[b+52>>2]=m;q[b+56>>2]=n;q[b+60>>2]=o;q[b+24>>2]=h;q[b+28>>2]=m;q[b+16>>2]=r;q[b+20>>2]=f;np(b,k);a=q[b+8>>2];q[b+36>>2]=q[b+4>>2];q[b+40>>2]=a;u[b+32>>2]=u[b>>2];KB(b+16|0,l,t,g,s[c+22>>1])}ti=i- -64|0;return j>>>0

>>0|0}function d1(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-48|0;ti=d;c=aj(a,1);b=Wi(a,2,0);a:{if(!nj(123824,b)){if(zn(a,3)){a=aj(a,3);b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;b=0;break a}if(ek(a,3)){b=0;b:{c:{e=dj(a,3,0);c=gn(e,c);switch(c+6|0){case 0:case 6:break a;case 2:break c;default:break b}}q[d+16>>2]=e;b=Bi(a,122985,d+16|0);break a}q[d+4>>2]=c;q[d>>2]=e;b=Bi(a,123018,d);break a}if(!Ei(a,3)){q[c>>2]=0;q[c+4>>2]=0;b=0;break a}b=Bi(a,123891,0);break a}if(!nj(123831,b)){if(ek(a,3)){b=0;q[c+16>>2]=zi(dj(a,3,0));q[c+20>>2]=wi;break a}if(!Ei(a,3)){q[c+16>>2]=0;q[c+20>>2]=0;b=0;break a}if(zn(a,3)){q[c+16>>2]=Zk(a,3);q[c+20>>2]=wi;b=0;break a}b=Bi(a,123947,0);break a}if(!nj(123836,b)){if(ek(a,3)){b=0;q[c+24>>2]=zi(dj(a,3,0));q[c+28>>2]=wi;break a}if(!Ei(a,3)){q[c+24>>2]=0;q[c+28>>2]=0;b=0;break a}if(zn(a,3)){a=aj(a,3);b=q[a+4>>2];q[c+24>>2]=q[a>>2];q[c+28>>2]=b;b=0;break a}b=Bi(a,123999,0);break a}q[d+36>>2]=123208;q[d+32>>2]=123204;b=Bi(a,123845,d+32|0)}ti=d+48|0;return b|0}function gB(a){var b=0,c=0,d=0,e=0,f=0,g=0;axa(+a);b=Zwa(1)|0;Zwa(0)|0;f=b;b=b&2147483647;if(b>>>0<1141899264){a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=y(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+ -1)/(a+2);b=0;d=0;break b}b=1;a=(a+ -1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+ -1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+ -.058335701337905735)+ -.0769187620504483)+ -.11111110405462356)+ -.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=v[b+211344>>3]-(a*(e+c)-v[b+211376>>3]-a);a=(f|0)>-1?a:-a}return a}axa(1.5707963267948966);b=Zwa(1)|0;f=Zwa(0)|0;axa(+a);d=Zwa(1)|0;Zwa(0)|0;_wa(0,f|0);_wa(1,b&2147483647|d&-2147483648);e=+$wa();axa(+a);b=Zwa(1)|0;d=Zwa(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}function gv(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(160493,160508,156,160231);G();case 0:J(160538,160508,157,160231);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;gv(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Jz(d,q[b>>2],b+4|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(160560,160508,158,160231);G()}J(160580,160508,159,160231);G()}function cv(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(58646,58661,156,58721);G();case 0:J(58733,58661,157,58721);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;cv(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Vq(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(58755,58661,158,58721);G()}J(58775,58661,159,58721);G()}function VH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(27057,27072,156,27018);G();case 0:J(27132,27072,157,27018);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;VH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;WH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(27154,27072,158,27018);G()}J(27174,27072,159,27018);G()}function TH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(22333,22348,156,22282);G();case 0:J(22408,22348,157,22282);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;TH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;UH(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(22430,22348,158,22282);G()}J(22450,22348,159,22282);G()}function SH(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(11269,11284,156,10200);G();case 0:J(11344,11284,157,10200);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;SH(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;Wq(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(11366,11284,158,10200);G()}J(11386,11284,159,10200);G()}function vz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(27057,27072,156,27018);G();case 0:J(27132,27072,157,27018);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/24>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,24);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;vz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,24)|0;wz(d,q[b>>2],b+8|0);b=q[b+16>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(27154,27072,158,27018);G()}J(27174,27072,159,27018);G()}function F4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-80|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);g=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ri(a,1);c:{if(d<4294967296&d>=0){c=~~d>>>0;break c}c=0}e=c;d=Ri(a,2);d:{if(d<4294967296&d>=0){f=~~d>>>0;break d}f=0}h=e|f;d=Ri(a,3);e:{if(d<4294967296&d>=0){e=~~d>>>0;break e}e=0}if((h|e)>>>0>=8){q[b+28>>2]=e;q[b+24>>2]=f;q[b+20>>2]=c;q[b+16>>2]=110485;a=Bi(a,112528,b+16|0);break a}q[b+48>>2]=c;q[b+52>>2]=0;q[b+40>>2]=15;q[b+64>>2]=e;q[b+68>>2]=0;q[b+56>>2]=f;q[b+60>>2]=0;c=q[g+4>>2];if((c|0)==q[g+8>>2]){break b}q[g+4>>2]=c+40;a=q[b+76>>2];q[c+32>>2]=q[b+72>>2];q[c+36>>2]=a;a=b- -64|0;f=q[a+4>>2];q[c+24>>2]=q[a>>2];q[c+28>>2]=f;a=q[b+60>>2];q[c+16>>2]=q[b+56>>2];q[c+20>>2]=a;a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a;a=0;break a}J(110492,110389,475,114319);G()}q[b>>2]=(q[g+8>>2]-q[g>>2]|0)/40;a=Bi(a,110538,b)}ti=b+80|0;return a|0}function bI(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(39179,39194,156,36386);G();case 0:J(39254,39194,157,36386);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;bI(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;cI(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(39276,39194,158,36386);G()}J(39296,39194,159,36386);G()}function Fz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(23944,23959,156,24019);G();case 0:J(24031,23959,157,24019);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;Fz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;ZH(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(24053,23959,158,24019);G()}J(24073,23959,159,24019);G()}function pw(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=x(0);a:{j=q[a+1004>>2];b:{c:{d:{e:{if(!j){e=q[a+4>>2];break e}f=j<<1;e=a+1104|0;f:{if((f|0)==q[a+124>>2]){break f}if((f|0)!=q[a+128>>2]){break b}e=a+1108|0}g=q[e>>2];if(!g){break b}e=q[a+4>>2];if((e|0)<=0){q[a+1004>>2]=b-d;break a}if((j|0)<=0){g=b-d|0;q[a+1004>>2]=g;break d}k=(e|0)>1?e:1;while(1){f=(h<<2)+a|0;l=q[f+940>>2];m=q[f+812>>2];f=0;while(1){i=m+(c+f<<2)|0;n=i;o=u[i>>2];i=f<<2;u[n>>2]=x(o*u[i+g>>2])+x(u[l+i>>2]*u[g+((f^-1)+j<<2)>>2]);f=f+1|0;if((j|0)!=(f|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}}g=b-d|0;q[a+1004>>2]=g;if((e|0)<1){break c}}if((b|0)<=(d|0)){break c}k=(e|0)>1?e:1;h=0;while(1){e=(h<<2)+a|0;l=q[e+940>>2];m=q[e+812>>2];e=d;f=0;while(1){u[l+(f<<2)>>2]=u[m+(e<<2)>>2];f=f+1|0;e=f+d|0;if((f|0)!=(g|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}}if(j){break a}}return 0}e=a;i=q[a+1428>>2];a=((b|0)<(d|0)?b:d)-c|0;q[e+1428>>2]=i+a;return a}function W8(a,b,c,d){var e=0,f=x(0),g=x(0),h=0,i=0,j=x(0),k=x(0),l=0,m=0;e=ti-128|0;ti=e;a:{b:{i=b&65535;h=q[a+32>>2];if(i>>>0<(q[a+36>>2]-h|0)/576>>>0){if(s[(h+w(i,576)|0)+552>>1]!=(b>>>16|0)){break b}h=h+w(i,576)|0;if(s[h+554>>1]!=(b&65535)){break a}b=q[a+12>>2];i=q[b+20>>2];l=q[b+28>>2];m=q[b+24>>2];b=q[b+32>>2];ar(a,h,7,e- -64|0);q[e+104>>2]=1065353216;yt(e,e- -64|0);f=x(x(x(i>>>0)/x(l>>>0))*c);g=x(x(x(m>>>0)/x(b>>>0))*d);j=u[e+36>>2];c=x(x(x(x(f*u[e+4>>2])+x(g*u[e+20>>2]))+x(j*x(0)))+u[e+52>>2]);k=u[e+32>>2];d=x(x(x(x(f*u[e>>2])+x(g*u[e+16>>2]))+x(k*x(0)))+u[e+48>>2]);ti=e+128|0;g=x(x(f*u[e+8>>2])+x(g*u[e+24>>2]));f=u[e+40>>2];g=x(x(g+x(f*x(0)))+u[e+56>>2]);c:{if(!((g>=x(0)?g:x(-g))>x(9999999747378752e-20)^1)){a=0;if((f>=x(0)?f:x(-f))=x(0)&c>=x(0)&c<=x(1)}return a}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function cp(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(4947,4962,156,5022);G();case 0:J(5034,4962,157,5022);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if(q[a+16>>2]-e>>4>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=c<<4;b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;cp(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+(b<<4)|0;wm(d,q[b>>2],q[b+4>>2],b+8|0);b=q[b+12>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(5056,4962,158,5022);G()}J(5076,4962,159,5022);G()}function Lia(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=ti-48|0;ti=e;k=q[a+8>>2]-q[a+12>>2]>>4;d=q[q[Tj(a)+80>>2]+8>>2];b=e;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=0;h=1;wl(a,1,d,66495,b+44|0,b+8|0,b+4|0);a:{b:{g=Uka(q[b+4>>2],q[b+44>>2]);if(!g){c=66815;break b}h=2;b=q[g+128>>2];if(!b){c=66853;break b}if(!q[q[b+8>>2]+20>>2]){c=66853;break b}i=Mj(a,2);j=wi;d=q[q[b+8>>2]+20>>2];b=q[d+8>>2];if(!b){c=66853;break b}c=q[q[d+4>>2]+(Qwa(i,j,b)<<2)>>2];if((c|0)==-1){c=66853;break b}f=q[d+12>>2];c:{while(1){d=f+(c<<4)|0;b=d;if((i|0)==q[b>>2]&(j|0)==q[b+4>>2]){break c}c=q[d+12>>2];if((c|0)!=-1){continue}break}c=66853;break b}b=Ska(g,q[(f+(c<<4)|0)+8>>2]);if(!b){c=66886;break b}f=q[b+100>>2];d=f;b=q[b+96>>2];if(!(d|b)){c=66925;break b}Zj(a,b,d);b=1;if((k+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(66978,66701,436,67003);G()}q[e>>2]=dj(a,h,0);b=Bi(a,c,e)}ti=e+48|0;return b|0}function Ks(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(b){e=b&65535;c=q[a>>2];if(e>>>0>=q[a+4>>2]-c>>2>>>0){break b}c=q[c+(e<<2)>>2];if(s[c+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}d=q[c+72>>2];if(d){yi(d);q[c+16>>2]=0;q[c+72>>2]=0}f=q[a+16>>2];if(!f){break d}d=s[a+22>>1];if(!d|d>>>0>s[a+20>>1]){break c}d=d-1|0;p[a+22>>1]=d;p[f+((d&65535)<<1)>>1]=b;b=q[a+4>>2];a=q[a>>2];if(e>>>0>=b-a>>2>>>0){break b}b=0;q[a+(e<<2)>>2]=0;d=q[c+4>>2];a=q[c>>2];f=d-a|0;e=(f|0)/304|0;e:{if(!f){break e}if((a|0)!=(d|0)){e=e>>>0>1?e:1;while(1){a=w(b,304)+a|0;if(o[a+68|0]&1){break a}Ii(0,160,a+56|0,a- -64|0,a+60|0);if(o[a+84|0]&1){break a}Ii(0,96,a+72|0,a+80|0,a+76|0);b=b+1|0;if((e|0)==(b|0)){break e}a=q[c>>2];if((q[c+4>>2]-a|0)/304>>>0>b>>>0){continue}break}}break b}f:{if(o[c+12|0]&1){break f}a=q[c>>2];if(!a){break f}yi(a)}yi(c)}return}J(146637,145869,140,146668);G()}J(146673,145869,141,146668);G()}J(146626,145751,479,145962);G()}J(145676,145751,493,145807);G()}function jwa(){var a=0;q[76304]=zi(52328);q[76305]=wi;q[76306]=zi(52347);q[76307]=wi;q[76308]=zi(52364);q[76309]=wi;q[76310]=zi(52373);q[76311]=wi;q[76312]=zi(52379);q[76313]=wi;q[76314]=zi(52389);q[76315]=wi;q[76316]=zi(52397);q[76317]=wi;q[76318]=zi(52404);q[76319]=wi;q[76320]=zi(52413);q[76321]=wi;q[76322]=zi(52425);q[76323]=wi;q[76324]=zi(52434);q[76325]=wi;q[76326]=zi(52439);q[76327]=wi;q[76328]=zi(52445);q[76329]=wi;q[76330]=zi(52451);q[76331]=wi;q[76332]=zi(52460);q[76333]=wi;q[76334]=zi(52469);q[76335]=wi;q[76336]=zi(52478);q[76337]=wi;q[76338]=zi(52487);q[76339]=wi;q[76340]=zi(52496);q[76341]=wi;q[76342]=zi(52505);q[76343]=wi;q[76344]=zi(52514);q[76345]=wi;q[76346]=zi(52523);q[76347]=wi;q[76348]=zi(52532);q[76349]=wi;a=zi(52541);q[76368]=0;q[76369]=0;q[76366]=0;q[76364]=52569;q[76363]=52553;q[76362]=0;q[76360]=0;q[76358]=0;q[76356]=0;q[76354]=0;q[76352]=0;q[76353]=0;q[76350]=a;q[76351]=wi;q[76370]=0;q[76371]=0;q[76372]=0;q[76373]=0}function ZT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;c=q[a+68>>2];i=q[c+444>>2];f=q[a>>2];e=q[(i?c+448|0:f+132|0)>>2];j=q[f+128>>2];d=-27648;a:{b:{c:{switch(b-5|0){case 0:b=(e<<8&16711680|e<<24)>>>16|0;o[c+1192|0]=b;o[c+1193|0]=b>>>8;d=-28928;if(e>>>0>1058){break a}b=Fi(c+1194|0,0,e)+e|0;break b;case 1:h=c+1194|0;d=FD(c+8|0,h,1058,g+12|0,q[f+24>>2],q[f+28>>2]);if(d){break a}b=q[g+12>>2];d=(b<<24|b<<8&16711680)>>>16|0;o[c+1192|0]=d;o[c+1193|0]=d>>>8;b=b+h|0;break b;case 3:h=c+1194|0;d=DD(c+132|0,g+8|0,h,1058,q[f+24>>2],q[f+28>>2]);if(d){break a}b=q[g+8>>2];d=(b<<24|b<<8&16711680)>>>16|0;o[c+1192|0]=d;o[c+1193|0]=d>>>8;b=b+h|0;break b;case 2:break c;default:break a}}o[c+1192|0]=0;o[c+1193|0]=48;b=c+1242|0}d=-28928;c=c+2252|0;if((c-b|0)<2){break a}f=(e<<8&16711680|e<<24)>>>16|0;o[b|0]=f;o[b+1|0]=f>>>8;b=b+2|0;if(b>>>0>c>>>0|c-b>>>0>>0){break a}b=Gi(b,i?i:j,e);a=q[a+68>>2];q[a+1124>>2]=((b+e|0)-a|0)-1192;d=0}ti=g+16|0;return d}function uz(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{switch(b+1|0){case 1:J(6659,6326,156,6624);G();case 0:J(6674,6326,157,6624);G();default:break a}}b:{if((c|0)!=-1){e=q[a+8>>2];if((q[a+16>>2]-e|0)/12>>>0>c>>>0){break b}c:{if(!e){q[a+4>>2]=b;b=b<<2;e=Ji(b);q[a>>2]=e;Fi(e,255,b);c=w(c,12);b=Ji(c);q[a+12>>2]=b;q[a+8>>2]=b;q[a+16>>2]=b+c;break c}q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+20>>2]=-1;uz(d,b,c);e=q[a+4>>2];if(e){c=0;while(1){b=q[q[a>>2]+(c<<2)>>2];if((b|0)!=-1){while(1){b=q[a+8>>2]+w(b,12)|0;$u(d,q[b>>2],b+4|0);b=q[b+8>>2];if((b|0)!=-1){continue}break}e=q[a+4>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}yi(q[a>>2]);yi(q[a+8>>2]);b=q[d+28>>2];q[a+24>>2]=q[d+24>>2];q[a+28>>2]=b;b=q[d+20>>2];q[a+16>>2]=q[d+16>>2];q[a+20>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b}ti=d+32|0;return}J(6696,6326,158,6624);G()}J(6716,6326,159,6624);G()}function dt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=q[b+140>>2];g=e;h=q[b+136>>2];f=e;a:{b:{c:{d:{d=e&32767;e=q[a+1036>>2];i=q[a+1040>>2]-e|0;if(d>>>0>2>>>0){if(q[(d<<2)+e>>2]!=(b|0)){break d}if(q[b+80>>2]!=(a|0)){break c}if(!(r[a+3272|0]&2|(g&32768)!=0)){d=f;f=s[b+144>>1];d=d|0;e:{if(!c){break e}c=s[b+150>>1]&32767;if((c|0)==32767){break e}f:{if(i>>2>>>0>c>>>0){while(1){c=q[(c<<2)+e>>2];if(s[c+138>>1]!=(q[b+140>>2]&32767)){break b}d=q[c+148>>2];dt(a,c,1);c=d&32767;if((c|0)==32767){break f}e=q[a+1036>>2];if(q[a+1040>>2]-e>>2>>>0>c>>>0){continue}break}}break a}f=s[b+144>>1];c=q[b+140>>2];g=c;h=q[b+136>>2];d=c}p[b+144>>1]=f;q[b+136>>2]=h;q[b+140>>2]=g|32768;b=d&32767;c=s[a+3262>>1];g:{if((c|0)!=32767){d=q[a+1036>>2];if(c>>>0>=q[a+1040>>2]-d>>2>>>0){break a}p[q[d+(c<<2)>>2]+144>>1]=b;break g}p[a+3260>>1]=b}p[a+3262>>1]=b}return}break a}J(8292,7291,1864,8347);G()}J(8354,7291,1865,8347);G()}J(8391,7291,1883,8347);G()}J(12518,10061,479,9553);G()}function YJ(a,b,c,d,e,f,g,h,i,j){Qm(a);q[a+148>>2]=q[f>>2];q[a+144>>2]=q[g>>2];q[a+156>>2]=q[c>>2];b=q[b>>2];q[a+284>>2]=h;q[a+280>>2]=0;q[a+224>>2]=b;Fwa(a+16|0,i);i=q[e>>2];a:{if(!i){i=q[d>>2];if(!i){break a}}b=q[i+4>>2];q[a+160>>2]=q[i>>2];q[a+164>>2]=b}i=q[e+4>>2];b:{if(!i){i=q[d+4>>2];if(!i){break b}}b=q[i+4>>2];q[a+168>>2]=q[i>>2];q[a+172>>2]=b}i=q[e+8>>2];c:{if(!i){i=q[d+8>>2];if(!i){break c}}b=q[i+4>>2];q[a+176>>2]=q[i>>2];q[a+180>>2]=b}i=q[e+12>>2];d:{if(!i){i=q[d+12>>2];if(!i){break d}}b=q[i+4>>2];q[a+184>>2]=q[i>>2];q[a+188>>2]=b}i=q[e+16>>2];e:{if(!i){i=q[d+16>>2];if(!i){break e}}b=q[i+4>>2];q[a+192>>2]=q[i>>2];q[a+196>>2]=b}i=q[e+20>>2];f:{if(!i){i=q[d+20>>2];if(!i){break f}}b=q[i+4>>2];q[a+200>>2]=q[i>>2];q[a+204>>2]=b}i=q[e+24>>2];g:{if(!i){i=q[d+24>>2];if(!i){break g}}b=q[i+4>>2];q[a+208>>2]=q[i>>2];q[a+212>>2]=b}e=q[e+28>>2];h:{if(!e){e=q[d+28>>2];if(!e){break h}}b=q[e+4>>2];q[a+216>>2]=q[e>>2];q[a+220>>2]=b}if(j){er(a,j)}}function LU(a,b,c,d,e){var f=0,g=0,h=0;f=ti-32|0;ti=f;g=-4;a:{if(!d|!e|(q[d+8>>2]|q[e+8>>2])){break a}if((uj(a,0)|0)<1){break a}if((uj(c,1)|0)<1){break a}if((Lj(c,a)|0)>-1){break a}if((uj(b,1)|0)<1){break a}if((Lj(b,a)|0)>-1){break a}q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;g=Fk(f+16|0,c,b);b:{if(g){break b}g=zl(f+16|0,f+16|0,1);if(g){break b}h=Ur(f+16|0)&65535;c:{if(!h){break c}g=Wk(f+16|0,h);if(g){break b}c=(q[q[a+8>>2]>>2]&7)==1;while(1){lk(f,r[c+150576|0]);g=Vr(d,f,a);if(g){break b}if(!uj(d,1)){b=1;g=ko(f,f,f+16|0,a,e);if(g){break b}while(1){if(uj(f,1)){g=dV(f,f);if(g){break b}g=Vr(d,f,a);if(g){break b}d:{if((uj(d,1)|0)!=1){break d}if((Lj(d,a)|0)!=-1){break d}g=xx(e,0,a,d);break b}g=zl(f,f,1);if(g){break b}g=Fk(f,f,f);if(g){break b}g=Tk(f,f,a);if(g){break b}b=b+1|0;if((b&65535)>>>0<=h>>>0){continue}}break}if(uj(f,1)){break c}}c=c+1|0;if((c|0)!=54){continue}break}}g=-4}Si(f);Si(f+16|0)}ti=f+32|0;return g}function Mka(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;b=ti-16|0;ti=b;a:{b:{c=q[a+132>>2];f=q[(c+112|0)+4>>2];e=q[c+112>>2];c:{if((f|0)==(e|0)){break c}d=b+8|0;q[d>>2]=0;q[d+4>>2]=0;q[b>>2]=0;q[b+4>>2]=0;e=f-e|0;f=(e|0)/176|0;Ii(f,48,b,d,b|4);g=q[b>>2];if(f>>>0>(q[d>>2]-g|0)/48>>>0){break b}q[b+4>>2]=w(f,48)+g;if(e){i=f>>>0>1?f:1;h=q[c+112>>2];j=(q[c+116>>2]-h|0)/176|0;e=0;while(1){if((e|0)==(j|0)|(e|0)==(f|0)){break a}c=w(e,48)+g|0;d=w(e,176)+h|0;u[c>>2]=u[d>>2];u[c+4>>2]=u[d+4>>2];u[c+8>>2]=u[d+8>>2];u[c+12>>2]=u[d+12>>2];u[c+16>>2]=u[d+16>>2];u[c+20>>2]=u[d+20>>2];u[c+24>>2]=u[d+24>>2];u[c+32>>2]=u[d+32>>2];u[c+36>>2]=u[d+36>>2];u[c+40>>2]=u[d+40>>2];e=e+1|0;if((i|0)!=(e|0)){continue}break}}c=q[a+220>>2];if((c|0)==q[a+224>>2]){break a}c=q[c>>2];WK(q[q[c+80>>2]+8>>2],a+16|0,q[c+140>>2]&32767,g,f);if(o[b+12|0]&1){break c}a=q[b>>2];if(!a){break c}yi(a)}ti=b+16|0;return}J(46277,46296,506,46352);G()}J(46656,46296,479,46535);G()}function yH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=h-g>>5){e=q[a+4>>2];c:{if(!e){break c}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break c}while(1){e=g+(f<<5)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break b}f=q[e+28>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((h|0)!=(e|0)){q[a+12>>2]=e+32;break d}e=q[a+20>>2];if((e|0)==-1){break a}e=g+(e<<5)|0;q[a+20>>2]=q[e+28>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;f=q[d+12>>2];q[e+16>>2]=q[d+8>>2];q[e+20>>2]=f;q[e+24>>2]=q[d+16>>2];q[e+28>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)!=-1){while(1){b=d+(f<<5)|0;f=q[b+28>>2];if((f|0)!=-1){continue}break}b=b+28|0}q[b>>2]=e-d>>5;q[a+24>>2]=q[a+24>>2]+1;return}J(118721,118584,229,118729);G()}c=q[d+4>>2];a=g+(f<<5)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=c;q[a+24>>2]=q[d+16>>2];b=q[d+12>>2];q[a+16>>2]=q[d+8>>2];q[a+20>>2]=b;return}J(118733,118584,535,118795);G()}function m4(a,b){var c=0,d=0,e=0,f=0;d=ti-48|0;ti=d;c=q[74722];a:{if(!c){break a}while(1){e=q[b+24>>2];if((e|0)==q[b+16>>2]-q[b+8>>2]>>4){e=e+8|0;cp(b,e>>>1|0,e)}q[d+40>>2]=b;q[d+24>>2]=a;e=q[c>>2];q[d+28>>2]=e;q[d+32>>2]=zi(e);q[d+36>>2]=wi;e=xi[q[c+4>>2]](d+24|0)|0;f=q[c>>2];if(e){c=25863;b:{c:{switch(e+21|0){case 18:c=25873;break b;case 17:c=25892;break b;case 16:c=25915;break b;case 15:c=25934;break b;case 14:c=25940;break b;case 13:c=25962;break b;case 12:c=25976;break b;case 11:c=25985;break b;case 10:c=25996;break b;case 9:c=26013;break b;case 8:c=26036;break b;case 7:c=26049;break b;case 6:c=26064;break b;case 5:c=26078;break b;case 4:c=26098;break b;case 2:c=26106;break b;case 1:c=26123;break b;case 0:c=26142;break b;default:c=26156;break b;case 19:break b;case 20:break c}}c=25850}q[d+4>>2]=c;q[d>>2]=f;Ai(4,24387,26212,d);break a}q[d+16>>2]=f;e=0;Ai(0,24387,26245,d+16|0);c=q[c+12>>2];if(c){continue}break}}ti=d+48|0;return e}function eu(a,b,c,d){var e=0,f=0,g=0,h=0;f=q[b+8>>2];a:{b:{while(1){c:{if((f|0)==5){g=q[b>>2];f=Qx(a,g,c);d:{if(q[f+8>>2]){break d}e=q[g+8>>2];if(!e|r[e+6|0]&2){break d}e=On(e,1,q[q[a+16>>2]+192>>2]);if(e){break c}}b=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=b;q[f+8>>2]=q[d+8>>2];if(!(r[g+5|0]&4)|(!(r[q[d>>2]+5|0]&3)|q[d+8>>2]<4)){break a}a=q[a+16>>2];o[g+5|0]=r[g+5|0]&251;q[g+24>>2]=q[a+40>>2];q[a+40>>2]=g;return}e=Pk(a,b,1);if(q[e+8>>2]){break c}nu(a,b,137655)}f=q[e+8>>2];if((f|0)!=6){b=e;h=h+1|0;if((h|0)==100){break b}continue}break}f=q[e+4>>2];h=q[a+8>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;q[h+8>>2]=q[e+8>>2];f=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=f;q[e+24>>2]=q[b+8>>2];b=q[c+4>>2];f=q[a+8>>2];q[f+32>>2]=q[c>>2];q[f+36>>2]=b;q[f+40>>2]=q[c+8>>2];b=q[d+4>>2];c=q[a+8>>2];q[c+48>>2]=q[d>>2];q[c+52>>2]=b;q[c+56>>2]=q[d+8>>2];e=q[a+8>>2];if((q[a+28>>2]-e|0)<=64){vk(a,4);e=q[a+8>>2]}q[a+8>>2]=e- -64;El(a,e,0);return}Hk(a,137678,0)}}function Rr(a,b){var c=0,d=0,e=0,f=0;f=a+28|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){Fi((a+c|0)+28|0,0,55-e|0);break a}Fi((a+c|0)+28|0,0,e^63);$r(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+91|0]=d<<3;o[a+90|0]=d>>>5;o[a+89|0]=d>>>13;o[a+88|0]=d>>>21;c=q[a+4>>2];o[a+86|0]=c>>>5;o[a+85|0]=c>>>13;o[a+84|0]=c>>>21;o[a+87|0]=c<<3|d>>>29;$r(a,f);o[b|0]=r[a+11|0];o[b+1|0]=s[a+10>>1];o[b+2|0]=q[a+8>>2]>>>8;o[b+3|0]=q[a+8>>2];o[b+4|0]=r[a+15|0];o[b+5|0]=s[a+14>>1];o[b+6|0]=q[a+12>>2]>>>8;o[b+7|0]=q[a+12>>2];o[b+8|0]=r[a+19|0];o[b+9|0]=s[a+18>>1];o[b+10|0]=q[a+16>>2]>>>8;o[b+11|0]=q[a+16>>2];o[b+12|0]=r[a+23|0];o[b+13|0]=s[a+22>>1];o[b+14|0]=q[a+20>>2]>>>8;o[b+15|0]=q[a+20>>2];o[b+16|0]=r[a+27|0];o[b+17|0]=s[a+26>>1];o[b+18|0]=q[a+24>>2]>>>8;o[b+19|0]=q[a+24>>2];return 0}function t0(a,b,c,d){var e=0,f=0,g=0;g=ti-48|0;ti=g;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=g;q[e+24>>2]=0;q[e+28>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+24>>2]=1;q[e+16>>2]=0;q[e+20>>2]=0;f=c^d?2:0;q[e+20>>2]=d?c?f:10:f;f=-100;if(!(ea(a|0,0,e+16|0,e+12|0)|0)){a=q[g+12>>2];a:{if(!a){break a}if(c){while(1){b:{c=q[a+4>>2];if((c|0)!=2){if(!d|(c|0)!=10){break b}d=q[a+20>>2];q[b>>2]=2;c=us(b);b=c;a=q[d+20>>2];q[b+8>>2]=q[d+16>>2];q[b+12>>2]=a;a=q[d+12>>2];q[b>>2]=q[d+8>>2];q[b+4>>2]=a;f=0;break a}a=q[a+20>>2];q[b>>2]=1;a=q[a+4>>2];q[Eu(b)>>2]=a;f=0;break a}a=q[a+28>>2];if(a){continue}break a}}if(d){while(1){c=q[a+4>>2]!=10;if(!c){d=q[a+20>>2];q[b>>2]=2;c=us(b);b=c;a=q[d+20>>2];q[b+8>>2]=q[d+16>>2];q[b+12>>2]=a;a=q[d+12>>2];q[b>>2]=q[d+8>>2];q[b+4>>2]=a;f=0;break a}a=q[a+28>>2];if(!a){break a}if(c){continue}break a}}while(1){a=q[a+28>>2];if(a){continue}break}}yi(q[g+12>>2])}ti=g+48|0;return f}function Lja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-464|0;ti=b;g=Zi(b+184|0,a,1,71492,1780);d=Wi(a,1,0);q[b+176>>2]=0;q[b+180>>2]=0;jA(a,d,71980,b+176|0);Fi(b- -64|0,0,112);mj(a,2,5);Qi(a,2);Ki(a,-1,71993);e=Mj(a,-1);c=wi;f=c;c=hp(a,q[76921],e,c,72181);h=q[c>>2];c=q[c+4>>2];Ci(a,-2);q[b+208>>2]=0;q[b+40>>2]=0;q[b+60>>2]=0;hK(a,b+208|0,b+40|0,b+60|0);SJ(a,e,f,h,c,q[b+208>>2],r[b+40|0],q[b+60>>2],b- -64|0);Ci(a,-2);f=q[q[Tj(a)+80>>2]+8>>2];q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;if(!ft(b- -64|0,q[63924],b+40|0)){q[b+60>>2]=0;c=d;d=q[b+40>>2];d=Uy(q[76921],c,d,q[b+44>>2]-d|0,b+60|0);e=q[b+176>>2];c=q[b+180>>2];a:{if(d){q[b+32>>2]=Mi(e,c);q[b+24>>2]=e;q[b+28>>2]=c;q[b+16>>2]=d;hj(b+208|0,256,(d|0)==-3?71794:(d|0)==-15?71836:71901,b+16|0);q[b>>2]=b+208;a=Bi(a,70520,b);break a}HA(f,e,c);Zj(a,e,c);a=1}b:{if(o[b+52|0]&1){break b}d=q[b+40>>2];if(!d){break b}yi(d)}Yi(g);ti=b+464|0;return a|0}J(72001,71492,1818,72032);G()}function Mwa(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=b;if(d){e=c;if(!e){break i}break h}b=a;a=(a>>>0)/(c>>>0)|0;ui=b-w(a,c)|0;vi=0;wi=0;return a}if(!a){break g}break f}g=e-1|0;if(!(g&e)){break e}g=(z(e)+33|0)-z(d)|0;i=0-g|0;break c}ui=0;a=(d>>>0)/0|0;vi=d-w(a,0)|0;wi=0;return a}d=32-z(d)|0;if(d>>>0<31){break d}break b}ui=a&g;vi=0;if((e|0)==1){break a}d=Nwa(e);c=d&31;if((d&63)>>>0>=32){e=0;a=b>>>c|0}else{e=b>>>c|0;a=((1<>>c}wi=e;return a}g=d+1|0;i=63-d|0}d=b;e=g&63;f=e&31;if(e>>>0>=32){e=0;f=d>>>f|0}else{e=d>>>f|0;f=((1<>>f}i=i&63;d=i&31;if(i>>>0>=32){b=a<>>32-d|b<>>31;j=h;e=e<<1|f>>>31;h=i-(e+(d>>>0>>0)|0)>>31;k=c&h;f=j-k|0;e=e-(j>>>0>>0)|0;b=b<<1|a>>>31;a=l|a<<1;h=h&1;l=h;g=g-1|0;if(g){continue}break}}ui=f;vi=e;wi=b<<1|a>>>31;return h|a<<1}ui=a;vi=b;a=0;b=0}wi=b;return a}function Ll(a,b,c){var d=0;d=ti-144|0;ti=d;q[d+140>>2]=c+4;c=q[c>>2];c=(b|0)==4?c|32768:c;a:{b:{if(b>>>0>16){break b}if(!(1<>2]=c;a=R(a|0,14,d+16|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}break a}q[d+48>>2]=d+128;b=R(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){q[d+32>>2]=c;a=R(a|0,9,d+32|0)|0;break a}if(b>>>0>=4294963201){q[242957]=0-b;a=-1}else{a=b}break a}a=q[d+132>>2];a=q[d+128>>2]==2?0-a|0:a;break a}q[d+112>>2]=c;a=R(a|0,b|0,d+112|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}break a}if((b|0)!=1030){q[d>>2]=c;a=R(a|0,b|0,d|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}break a}q[d+96>>2]=c;b=R(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=b;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}break a}q[d+80>>2]=0;b=R(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){ia(b|0)|0}q[242957]=28;a=-1;break a}q[d+64>>2]=c;a=R(a|0,0,d- -64|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}}ti=d+144|0;return a}function Nu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=ti-1072|0;ti=f;q[f+1064>>2]=0;a:{b:{c:{d:{e:{if(b){if(!c){break e}if(!d){break d}q[c>>2]=0;q[d>>2]=0;e=r[b|0];if((e|0)!=47){if(!e){Ai(4,24387,24396,0);a=-3;break a}q[f>>2]=b;Ai(4,24387,24416,f);a=-3;break a}j=q[a+5140>>2];wj(j);q[f+16>>2]=24386;q[f+20>>2]=b;hj(f+32|0,1024,24380,f+16|0);h=f+32|0;g=h;while(1){e=r[g|0];f:{g:{if((e|0)!=47){if(e){break g}o[h|0]=0;i=a+7376|0;h=a+7380|0;g=a+7384|0;e=q[a+7376>>2];if((q[g>>2]-e|0)!=1048576){if(o[a+7388|0]&1){break c}Ii(1048576,1,i,g,a+7380|0);e=q[a+7376>>2]}q[h>>2]=e;a=Ou(a,f+32|0,b,f+28|0,i);if(!a){b=q[i>>2];g=c;c=q[f+28>>2];e=Ji(c);q[g>>2]=e;if((b|0)!=q[i>>2]){break b}Gi(e,b,c);q[d>>2]=c}qj(j);break a}if((i&255)==47){break f}}o[h|0]=e;h=h+1|0}g=g+1|0;i=e;continue}}J(25156,24451,1322,25399);G()}J(25176,24451,1323,25399);G()}J(25406,24451,1324,25399);G()}J(26943,26397,493,27018);G()}J(25420,24451,1344,25399);G()}ti=f+1072|0;return a}function tra(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=ti-16|0;ti=f;d=q[a+12>>2];b=q[a+8>>2];c=d-b|0;a:{if(!c){break a}b:{if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>6|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);g=c>>>0>1?c:1;c=0;d=0;while(1){c:{d:{e:{b=(c<<6)+b|0;switch(q[b+48>>2]-1|0){case 0:break d;case 1:break e;default:break c}}d=d+1|0;break c}e=q[b+40>>2];if(e){Es(e);q[b+40>>2]=0}e=q[b+44>>2];if((e|0)!=-1){Zo(e);jm(q[b+44>>2])}q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+44>>2]=-1;q[b+40>>2]=0;q[b+48>>2]=0}c=c+1|0;if((g|0)==(c|0)){break b}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}}J(162905,162757,479,162916);G()}if((d|0)<=0){break a}q[f>>2]=d;Ai(3,162822,162827,f)}Zn(q[a+28>>2]);f:{if(o[a+20|0]&1){break f}b=q[a+8>>2];if(!b){break f}yi(b)}ti=f+16|0;return a}function tG(a,b,c,d){var e=x(0),f=0,g=x(0),h=0,i=0,j=0,k=x(0),l=0,m=0,n=x(0),o=0;f=ti-16|0;ti=f;k=u[a+4>>2];i=q[a>>2];q[f+12>>2]=b;a:{if((c|0)<1){break a}b=0;while(1){j=so(f+12|0);g=e;n=k;b:{c:{d:{e:{h=q[i+16>>2];f:{if(!h){break f}l=q[i+12>>2];a=q[l+((j>>>0)%(h>>>0)<<2)>>2];if((a|0)!=-1){o=q[i+20>>2];while(1){a=w(a,80)+o|0;if(q[a>>2]==(j|0)){break e}a=q[a+72>>2];if((a|0)!=-1){continue}break}}a=q[(126%(h>>>0)<<2)+l>>2];if((a|0)==-1){break f}h=q[i+20>>2];while(1){a=h+w(a,80)|0;if(q[a>>2]==126){break d}a=q[a+72>>2];if((a|0)!=-1){continue}break}}q[f>>2]=j;Ai(3,107445,108311,f);break b}b=a+8|0;break c}b=a+8|0}e=x(n+u[b+8>>2]);g:{if(x(y(e))>2]!=32)){g=u[b+8>>2];if(x(y(g))>2];a=q[b+4>>2]}e=x(x(e-x(g-x(u[b+12>>2]+x(a>>>0))))-k)}ti=f+16|0;return e}function n1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ti-32|0;ti=f;h=Zi(f+8|0,a,1,127536,754);c=Xi(a,1);b=q[212888];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Ju(a);a:{b:{c:{if((Ei(a,-1)|0)!=2){Ci(a,-2);break c}b=aj(a,-1);Ci(a,-2);if(b){break b}}Ai(4,128036,128441,0);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break a}e=c&65535;d=q[b+16>>2];if(e>>>0>=q[b+20>>2]-d>>1>>>0){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break a}d=s[(e<<1)+d>>1];e=q[b+4>>2];b=q[b>>2];if(d>>>0>=(e-b|0)/28>>>0){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break a}if((c|0)!=q[(b+w(d,28)|0)+12>>2]){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break a}gj(a,0,0);b=b+w(d,28)|0;g=+u[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=g;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,128515);g=+u[b+20>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=g;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,128171);b=o[b+24|0]&1;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,128530)}Yi(h);ti=f+32|0;return 1}function d$(a,b,c,d,e,f){var g=0,h=0,i=0;g=ti-112|0;ti=g;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;q[g+104>>2]=0;q[g+96>>2]=1;q[g+100>>2]=0;q[g+88>>2]=0;q[g+80>>2]=1;q[g+84>>2]=0;h=g- -64|0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;a:{if(!q[a+84>>2]){h=-20352;break a}h=-19968;b:{if((uj(e,1)|0)<0){break b}i=a+76|0;if((Lj(e,i)|0)>-1){break b}if((uj(f,1)|0)<0){break b}if((Lj(f,i)|0)>-1){break b}h=TA(a,g+96|0,b,c);if(h){break b}h=jo(g+80|0,f,i);if(h){break b}h=Fk(g- -64|0,g+96|0,g+80|0);if(h){break b}h=Tk(g- -64|0,g- -64|0,i);if(h){break b}h=Fk(g+48|0,e,g+80|0);if(h){break b}h=Tk(g+48|0,g+48|0,i);if(h){break b}h=xV(a,g+8|0,g- -64|0,a+40|0,g+48|0,d);if(h){break b}h=-19968;if(wD(g+8|0)){break b}h=Tk(g+8|0,g+8|0,i);if(h){break b}h=Lj(g+8|0,e)?-19968:0}Zl(g+8|0);Si(g+96|0);Si(g+80|0);Si(g- -64|0);Si(g+48|0)}ti=g+112|0;return h}function YA(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{if(d>>>0<21){d:{if(!(898778>>>d&1)){if(b|c){break c}b=q[w(d,12)+94688>>2];d=8;c=0;while(1){e=(b|0)>(d|0)?d:b;g=a>>>((b|0)>(e|0)?b-e|0:0)|0;if(g>>>e|0){break b}d=d-e|0;c=g<0){continue}break}break d}if(1198383>>>d&1){break a}h=d<<3;g=q[h+259440>>2];f=r[g|0];if((f|0)!=48){e=a>>>f-97<<1&2}f=r[g+1|0];if((f|0)!=48){e=a>>>f-97&1|e}e=e<<1;f=r[g+2|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+3|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+4|0];if((f|0)!=48){e=e|a>>>f-97&1}e=e<<1;f=r[g+5|0];if((f|0)!=48){e=a>>>f-97&1|e}f=599186>>>d|0;d=e<<1;e=r[g+6|0];if((e|0)!=48){d=d|a>>>e-97&1}d=d<<1;e=r[g+7|0];if((e|0)!=48){d=a>>>e-97&1|d}e=q[(h+259440|0)+4>>2];d=d<<1;g=r[g+8|0];if((g|0)!=48){d=a>>>g-97&1|d}a=0-(a&1)&511;c=a&128|(a^w(e,f&1?b:c)+d)>>>2}return c}J(94994,92069,11411,95027);G()}J(95049,92069,11420,95027);G()}J(95081,92069,11431,95027);G()}J(95095,92069,11443,95027);G()}function Qy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=ti-80|0;ti=f;q[f+72>>2]=0;k=q[a+5140>>2];wj(k);a:{if(d){h=-3;i=q[a>>2];g=q[i+4>>2];b:{if(!g){break b}g=q[q[i>>2]+(Qwa(b,c,g)<<2)>>2];if((g|0)==-1){break b}i=q[i+8>>2];while(1){j=i+w(g,48)|0;if((b|0)!=q[j>>2]|q[j+4>>2]!=(c|0)){g=q[j+40>>2];if((g|0)!=-1){continue}break b}break}g=i+w(g,48)|0;h=q[g+32>>2];i=q[h+32>>2];if(!i){h=-15;break b}if(!e){break a}q[f+32>>2]=a;h=q[h+12>>2];q[f+60>>2]=0;q[f+36>>2]=h;j=g+8|0;q[f+64>>2]=j;q[f+56>>2]=e;q[f+52>>2]=d;q[f+48>>2]=0;q[f+40>>2]=b;q[f+44>>2]=c;h=xi[i|0](f+32|0)|0;if(h){break b}d=q[a+12>>2];if(!d){h=0;break b}h=0;e=q[d>>2];if((e|0)==q[d+4>>2]){break b}g=0;while(1){d=(g<<3)+e|0;e=q[d+4>>2];q[f+24>>2]=b;q[f+28>>2]=c;q[f+16>>2]=0;q[f+12>>2]=j;q[f+8>>2]=e;xi[q[d>>2]](f+8|0);d=q[a+12>>2];e=q[d>>2];g=g+1|0;if(g>>>0>2]-e>>3>>>0){continue}break}}qj(k);ti=f+80|0;return h}J(25728,24451,1469,25716);G()}J(25733,24451,1481,25716);G()}function Xv(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;tm(a,b);a:{b:{c:{d:{e:{f:{g:{h:{i:{d=q[b>>2];switch(d-1|0){case 11:break d;case 10:break e;case 4:break f;case 3:break g;case 1:case 2:break h;case 0:break i;default:break a}}d=q[a+24>>2];if((d|0)<=q[a+28>>2]){break c}if(!d){if(r[a+50|0]<=(c|0)){break b}break c}f=(q[q[a>>2]+12>>2]+(d<<2)|0)-4|0;d=q[f>>2];if((d&63)!=3|(d>>>6&255)>(c|0)){break c}g=d>>>23|0;if((g+1|0)<(c|0)){break c}if((c|0)<=(g|0)){break b}q[f>>2]=d&8388607|c<<23;break b}Qk(a,c<<6|((d|0)==2?8388608:2)|2,q[q[a+12>>2]+8>>2]);break b}Qk(a,c<<6|q[b+8>>2]<<14|1,q[q[a+12>>2]+8>>2]);break b}h=v[b+8>>3];q[e+8>>2]=3;v[e>>3]=h;Qk(a,c<<6|tr(a,e,e)<<14|1,q[q[a+12>>2]+8>>2]);break b}a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&-16321|c<<6&16320;break b}d=q[b+8>>2];if((d|0)==(c|0)){break b}Qk(a,d<<23|c<<6,q[q[a+12>>2]+8>>2]);break b}Qk(a,c<<23|c<<6|3,q[q[a+12>>2]+8>>2])}q[b>>2]=12;q[b+8>>2]=c}ti=e+16|0}function fma(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0,i=0,j=0,k=0,l=x(0),m=0,n=0;c=ti-32|0;ti=c;a:{if(q[q[a+16>>2]+80>>2]!=q[61576]){break a}h=q[q[q[a>>2]+80>>2]+8>>2];b=q[a+16>>2];f=q[b+84>>2];d=q[b+160>>2];i=q[q[a+12>>2]>>2];a=q[b+132>>2];k=a;j=q[b+128>>2];if(!(a|j)){b:{if((d|0)!=-1){break b}d=IA(h);if((d|0)!=-1){break b}Ai(4,35133,35141,0);break a}j=FA(d);k=wi}l=u[b+144>>2];e=u[b+148>>2];c:{if(!(l!=x(0)|e!=x(0)|u[b+152>>2]!=x(0))){e=u[b+136>>2];u[c+20>>2]=e;u[c+16>>2]=e;break c}u[c+20>>2]=e;u[c+16>>2]=l;e=u[b+152>>2]}u[c+24>>2]=e;a=0;d:{if(!h){break d}g=q[h>>2];if(!g){break d}a=q[g>>2]}g=a;n=b+176|0;m=f-80|0;a=q[i+4>>2];if(!a){a=q[i>>2]}f=q[a>>2];e:{if(f){break e}if(!Nj(g,q[a+4>>2],a)){f=q[a>>2];break e}q[c>>2]=q[a+4>>2];Ai(4,35133,35316,c);f=0}g=h;a=q[i+4>>2];if(!a){a=q[i>>2]}a=AK(g,f,q[a+4>>2],j,k,m?n:0,m,b+96|0,b+112|0,c+16|0);if((d|0)==-1){break a}if(a){if(a){q[a+88>>2]=d}break a}tA(d,h)}ti=c+32|0;return 0}function c4(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;j=ti-16|0;ti=j;f=q[d+12>>2]&1;g=q[a+8>>2];k=r[g+1044|0];i=q[d+4>>2];b=i;a:{b:{c:{d:{e:{c=q[d+8>>2];if((c|0)==-1){break e}if(k){b=c;if(!f){break e}}h=1;b=c;a=Ji(b);break d}a=Fi(e,0,i)}if(a){f:{g:{if(!k){if(!((a|0)==(e|0)|h)){break c}g=q[g+1032>>2];Ik(g,q[d>>2],0);if((tl(a,1,b,g)|0)==(b|0)){break g}d=-2;if(!h){break f}yi(a);break f}d=q[d>>2]+q[g+1036>>2]|0;if(!(f|(c|0)==-1)){a=d;break g}Gi(a,d,b)}d=-2;if(f){if(!((a|0)==(e|0)|h)){break b}f=xi[q[60736]](a,b)|0;d=f?f:-2;if(!(!f|h^1)){yi(a);d=f}if(f){break f}}h:{if((c|0)!=-1){if((a|0)==(e|0)){break a}b=f7(a,b,e,i,j+12|0);e=b?-4:d;c=h^1;if(!(c|!b)){yi(a);e=-4}if(!(c|(b|0)!=0)){break h}d=b?e:0;break f}if((a|0)!=(e|0)){Gi(e,a,i)}d=0;if(!h){break f}}yi(a);d=0}ti=j+16|0;return d|0}J(27742,27535,472,27757);G()}J(27778,27535,478,27757);G()}J(27778,27535,509,27757);G()}J(27717,27535,522,27757);G()}function Qk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=q[a+24>>2];f=q[a>>2];d=q[a+32>>2];if((d|0)!=-1){e=f;while(1){h=q[e+12>>2]+(d<<2)|0;j=q[h>>2];e=(j>>>14|0)-131071|0;k=(e|0)==-1;l=(d+e|0)+1|0;a:{if((d|0)>=1){e=h-4|0;i=q[e>>2];if(o[(i&63)+136048|0]<0){break a}}i=j;e=h}k=k?-1:l;b:{c:{d:{if((i&63)==27){q[e>>2]=i&8372224|i>>>17&32704|26;d=(d^-1)+g|0;e=d>>31;if((e^d+e)>131071){break d}break c}d=(d^-1)+g|0;e=d>>31;if((e^d+e)<131072){break b}}Dj(q[a+12>>2],136537)}j=q[h>>2]}q[h>>2]=(j&16383|d<<14)+2147467264;if((k|0)!=-1){e=q[a>>2];d=k;continue}break}g=q[a+24>>2]}q[a+32>>2]=-1;e:{if(q[f+44>>2]>(g|0)){d=q[f+12>>2];break e}d=Dq(q[a+16>>2],q[f+12>>2],f+44|0,4,2147483645,136588);q[f+12>>2]=d;g=q[a+24>>2]}q[(g<<2)+d>>2]=b;d=q[a+24>>2];f:{if((d|0)>2]){e=q[f+20>>2];break f}e=Dq(q[a+16>>2],q[f+20>>2],f+48|0,4,2147483645,136588);q[f+20>>2]=e;d=q[a+24>>2]}q[(d<<2)+e>>2]=c;b=a;a=q[a+24>>2];q[b+24>>2]=a+1;return a}function su(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{while(1){f=q[b+4>>2];if(q[f+8>>2]!=6){break a}e=q[f>>2];if(r[e+6|0]){break a}g=q[e+16>>2];d:{if(q[a+20>>2]!=(b|0)){h=q[b+12>>2];break d}h=q[a+24>>2];q[b+12>>2]=h;e=q[f>>2]}e=(h-q[q[e+16>>2]+12>>2]>>2)-1|0;f=Sx(g,c+1|0,e);q[d>>2]=f;if(f){return 135488}e:{e=WB(g,e,c);c=e&63;if(c){f:{switch(c-4|0){case 1:break f;case 7:break b;case 0:break c;case 2:break e;default:break a}}q[d>>2]=q[q[g+8>>2]+(e>>>10&4194288)>>2]+16;return 135494}c=e>>>23|0;if(c>>>0<(e>>>6&255)>>>0){continue}break a}break}a=135507;g:{if(!(e&4194304)){break g}b=q[g+8>>2]+((e>>>14&255)<<4)|0;a=135507;if(q[b+8>>2]!=4){break g}a=q[b>>2]+16|0}q[d>>2]=a;return 135501}b=q[g+28>>2];a=135507;h:{if(!b){break h}a=q[b+(e>>>21&2044)>>2]+16|0}q[d>>2]=a;return 135509}a=135507;i:{if(!(e&4194304)){break i}b=q[g+8>>2]+((e>>>14&255)<<4)|0;a=135507;if(q[b+8>>2]!=4){break i}a=q[b>>2]+16|0}q[d>>2]=a;i=135517}return i}function mfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-464|0;ti=b;g=Zi(b+184|0,a,0,71492,1964);e=Mj(a,1);d=wi;f=d;hp(a,q[76921],e,d,73756);Fi(b+72|0,0,112);q[b+68>>2]=0;q[b+64>>2]=0;q[b+60>>2]=0;mj(a,2,5);Qi(a,2);Ki(a,-1,71993);d=Mj(a,-1);c=wi;h=c;c=hp(a,q[76921],d,c,72181);i=q[c>>2];c=q[c+4>>2];Ci(a,-2);hK(a,b+68|0,b- -64|0,b+60|0);SJ(a,d,h,i,c,q[b+68>>2],r[b+64|0],q[b+60>>2],b+72|0);Ci(a,-2);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;if(!ft(b+72|0,q[63924],b+40|0)){d=q[b+40>>2];d=Qy(q[76921],e,f,d,q[b+44>>2]-d|0);c=q[b+76>>2];if(c){yi(c)}c=q[b+136>>2];if(c){yi(c)}c=q[b+148>>2];if(c){yi(c)}c=q[b+120>>2];if(c){yi(c)}if(d){q[b+32>>2]=Mi(e,f);q[b+24>>2]=e;q[b+28>>2]=f;q[b+16>>2]=d;hj(b+208|0,256,(d|0)==-3?71794:(d|0)==-15?71836:71901,b+16|0);q[b>>2]=b+208;a=Bi(a,70520,b)}else{a=0}a:{if(o[b+52|0]&1){break a}e=q[b+40>>2];if(!e){break a}yi(e)}Yi(g);ti=b+464|0;return a|0}J(72001,71492,1991,73768);G()}function Gy(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{if(a){if(c&2){break f}d=b&65535;e=q[a+16>>2];if(d>>>0>=q[a+20>>2]-e>>1>>>0){break a}f=q[a+32>>2];if(!f){break e}c=s[a+38>>1];if(!c|c>>>0>s[a+36>>1]){break d}e=s[(d<<1)+e>>1];c=c-1|0;p[a+38>>1]=c;p[((c&65535)<<1)+f>>1]=b;c=q[a+4>>2];b=q[a>>2];if(e>>>0>=(c-b|0)/28>>>0){break c}c=c-28|0;d=q[c+4>>2];b=b+w(e,28)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+24>>2]=q[c+24>>2];d=q[c+20>>2];q[b+16>>2]=q[c+16>>2];q[b+20>>2]=d;d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;b=q[a+4>>2]-28|0;q[a+4>>2]=b;c=q[a>>2];if(c>>>0>b>>>0){break b}if(e>>>0<(b-c|0)/28>>>0){b=s[(c+w(e,28)|0)+12>>1];c=q[a+20>>2];a=q[a+16>>2];if(b>>>0>=c-a>>1>>>0){break a}p[a+(b<<1)>>1]=e}return}J(127577,127536,166,127808);G()}J(127818,127536,167,127808);G()}J(127839,127846,140,127897);G()}J(127902,127846,141,127897);G()}J(127938,127953,513,128009);G()}J(128019,127953,516,128009);G()}J(128650,127953,479,128661);G()}function iqa(a,b){var c=0;Fi(a+4|0,0,144);q[a+196>>2]=0;q[a+200>>2]=0;q[a+156>>2]=0;q[a+160>>2]=0;o[a+148|0]=1;c=a+164|0;q[c>>2]=0;q[c+4>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+204>>2]=0;q[a+248>>2]=0;q[a+252>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=1065353216;q[a+256>>2]=0;q[a+260>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+288>>2]=0;q[a+196>>2]=-1;Fi(a+296|0,0,144);q[a+488>>2]=0;q[a+492>>2]=0;q[a+480>>2]=982026377;q[a+484>>2]=986500301;q[a+468>>2]=960;q[a+472>>2]=640;q[a+440>>2]=1;q[a+496>>2]=0;q[a+500>>2]=0;q[a+504>>2]=0;q[a>>2]=b;q[a+152>>2]=Koa();if(o[a+172|0]&1){J(5187,4653,493,5022);G()}Ii(64,960,a+160|0,a+168|0,c);cp(a+176|0,31,64);q[a+456>>2]=0;q[a+356>>2]=0;q[a+348>>2]=0;q[a+304>>2]=0;q[a+308>>2]=0;q[a+292>>2]=0;p[a+240>>1]=0;q[a+224>>2]=0;q[a+448>>2]=pk();q[a+452>>2]=wi;return a}function st(a,b){var c=0,d=0,e=0,f=x(0),g=0;if(!(((bxa(a),Zwa(2))&2147483647)>>>0<2139095041?((bxa(b),Zwa(2))&2147483647)>>>0<=2139095040:0)){return x(a+b)}c=(bxa(b),Zwa(2));if((c|0)==1065353216){return IM(a)}g=c>>>30&2;d=(bxa(a),Zwa(2));e=g|d>>>31;a:{b:{c:{d:{d=d&2147483647;if(!d){e:{switch(e-2|0){case 0:break d;case 1:break e;default:break c}}return x(-3.1415927410125732)}c=c&2147483647;if((c|0)!=2139095040){if(!c|!(d>>>0<=c+218103808>>>0?(d|0)!=2139095040:0)){break a}f:{if(c>>>0>d+218103808>>>0){f=x(0);if(g){break f}}f=IM(x(y(x(a/b))))}a=f;g:{switch(e|0){case 1:return x(-a);case 2:return x(x(3.1415927410125732)-x(a+x(8.742277657347586e-8)));case 0:break c;default:break g}}return x(x(a+x(8.742277657347586e-8))+x(-3.1415927410125732))}if((d|0)==2139095040){break b}return u[(e<<2)+211328>>2]}a=x(3.1415927410125732)}return a}return u[(e<<2)+211312>>2]}return _wa(2,(bxa(a),Zwa(2))&-2147483648|1070141403),cxa()}function Zua(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=ti-32|0;ti=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;j=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|j)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;dm(h+16|0,a,b,g,e,f-16129|0);vr(h,a,b,g,e,16257-f|0);b=q[h+8>>2];e=(q[h+12>>2]&33554431)<<7|b>>>25;g=q[h+4>>2];f=g;a=0;i=a;j=q[h>>2]|((q[h+16>>2]|q[h+24>>2])!=0|(q[h+20>>2]|q[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|j):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|j|(f|i)){break a}e=(e&1)+e|0}ti=h+32|0;return _wa(2,d&-2147483648|e),cxa()}function wga(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-160|0;ti=c;e=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[62558],c+156|0)){Fi(c+8|0,0,148);e=qK(q[a>>2],q[a+4>>2],q[c+156>>2],c+8|0);a:{if(!e){b=q[q[a+32>>2]+8>>2];vv(q[a>>2],b);q[b>>2]=q[c+8>>2];q[b+4>>2]=q[c+12>>2];d=q[c+16>>2];q[c+16>>2]=q[b+8>>2];q[b+8>>2]=d;d=q[c+20>>2];q[c+20>>2]=q[b+12>>2];q[b+12>>2]=d;d=q[c+24>>2];q[c+24>>2]=q[b+16>>2];q[b+16>>2]=d;d=r[c+28|0];o[c+28|0]=o[b+20|0]&1|d&254;o[b+20|0]=r[b+20|0]&254|d&1;d=q[c+48>>2];q[c+48>>2]=q[b+40>>2];q[b+40>>2]=d;d=q[c+52>>2];q[c+52>>2]=q[b+44>>2];q[b+44>>2]=d;d=q[c+56>>2];q[c+56>>2]=q[b+48>>2];q[b+48>>2]=d;d=r[c+60|0];o[c+60|0]=o[b+52|0]&1|d&254;o[b+52|0]=r[b+52|0]&254|d&1;q[b+72>>2]=q[c+80>>2];q[b+76>>2]=q[c+84>>2];q[b+80>>2]=q[c+88>>2];q[q[a+32>>2]+16>>2]=(q[b- -64>>2]+(q[b+48>>2]+(q[a+24>>2]+q[b+16>>2]|0)|0)-(q[b+56>>2]+(q[b+8>>2]+q[b+40>>2]|0))|0)+148;break a}vv(q[a>>2],c+8|0)}lA(c+8|0)}ti=c+160|0;return e|0}function $z(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=x(0),t=x(0);k=ti-48|0;ti=k;a:{b:{l=b&65535;i=q[a+32>>2];if(l>>>0<(q[a+36>>2]-i|0)/576>>>0){if(s[(w(l,576)+i|0)+552>>1]!=(b>>>16|0)){break b}h=w(l,576)+i|0;if(s[h+554>>1]!=(b&65535)){break a}j=q[h+440>>2];h=(j>>>13&8191)-(j&8191)|0;m=h;h=h>>31;c:{d:{j=j>>>26&15;n=j-2|0;switch(n|0){case 0:case 3:break d;default:break c}}h=h<<1|m>>>31;m=m<<1}i=w(l,576)+i|0;p=x(x(+(m>>>0)+ +(h>>>0)*4294967296)/x(r[i+448|0]));c=c>2]=0;h=k;q[h+32>>2]=0;q[h+36>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h+16>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h>>2]=0;q[h+4>>2]=0;a=br(a,b,i+472|0,x(1),h,j,p,x(0),d,e,f,g);if(a){q[a+8>>2]=0;u[a+20>>2]=p*t;o[a+68|0]=r[a+68|0]&254;u[i+472>>2]=c}ti=k+48|0;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Z1(a){a=a|0;var b=x(0),c=x(0),d=0,e=0,f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=ti-80|0;ti=e;d=Li(a,1,q[212906],0);c=u[d>>2];f=u[d+4>>2];a:{b:{if(c!=c|f!=f){break b}b=u[d+8>>2];if(b!=b){break b}b=u[d+12>>2];if(b==b){break a}}b=u[d+8>>2];g=u[d+12>>2];v[e+48>>3]=f;v[e- -64>>3]=g;v[e+56>>3]=b;v[e+40>>3]=c;q[e+32>>2]=1;Bi(a,129003,e+32|0)}h=Li(a,2,q[212904],0);c=u[h>>2];f=u[h+4>>2];c:{if(!(c!=c|f!=f)){b=u[h+8>>2];if(b==b){break c}}b=u[h+8>>2];v[e+16>>3]=f;v[e+24>>3]=b;v[e+8>>3]=c;q[e>>2]=2;Bi(a,128819,e);f=u[h+4>>2];b=u[h+8>>2];c=u[h>>2]}g=u[d>>2];i=u[d+12>>2];j=u[d+4>>2];k=u[d+8>>2];d=jj(a,16);l=x(x(x(c*k)+x(i*f))-x(b*g));m=x(x(b*k)+x(x(j*f)+x(c*g)));n=x(x(x(i*b)+x(f*g))-x(c*j));c=x(x(x(i*c)+x(j*b))-x(k*f));u[d+8>>2]=x(g*l)+x(x(x(k*m)+x(i*n))-x(j*c));u[d+4>>2]=x(k*c)+x(x(x(i*l)+x(j*m))-x(g*n));u[d>>2]=x(j*n)+x(x(x(i*c)+x(g*m))-x(k*l));Ki(a,-1e4,128688);ij(a,-2);ti=e+80|0;return 1}function Cq(a,b){var c=0,d=0,e=0;a:{b:{if((b|0)==-10001){if(q[a+20>>2]!=q[a+40>>2]){break b}Hk(a,135248,0);break b}c:{if((b|0)>=1){c=(q[a+12>>2]+(b<<4)|0)-16|0;c=c>>>0>2]?c:135744;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 0:c=a+72|0;break c;default:c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0;break c;case 1:break b;case 2:break d}}c=q[a+16>>2]+96|0}d=q[a+8>>2]-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+8>>2]=q[d+8>>2];if((b|0)>-10003){break a}b=q[a+8>>2];if(q[b-8>>2]<4){break a}c=q[b-16>>2];if(!(r[c+5|0]&3)){break a}b=q[q[q[a+20>>2]+4>>2]>>2];if(!(r[b+5|0]&4)){break a}Qn(a,b,c);break a}c=q[a+20>>2];b=q[q[q[c+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=q[q[c+4>>2]>>2];q[c+12>>2]=q[q[a+8>>2]-16>>2];b=q[a+8>>2];if(q[b-8>>2]<4){break a}b=q[b-16>>2];if(!(r[b+5|0]&3)|!(r[c+5|0]&4)){break a}Qn(a,c,b)}q[a+8>>2]=q[a+8>>2]-16}function qs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=r[b+15|0];e=((h&15)<<3)+a|0;d=e- -64|0;i=q[d>>2];f=q[d+4>>2];g=q[e+192>>2];d=q[e+196>>2];j=15;while(1){k=(h&240)>>>4|0;a:{if((j|0)==15){h=i;break a}l=((h&15)<<3)+a|0;e=l- -64|0;h=q[e>>2]^((f&15)<<28|i>>>4);f=q[e+4>>2]^(g<<28|f>>>4);g=q[l+192>>2]^((d&15)<<28|g>>>4);e=((i&15)<<3)+158048|0;d=q[l+196>>2]^(q[e>>2]<<16^d>>>4)}k=(k<<3)+a|0;e=k- -64|0;i=q[e>>2]^((f&15)<<28|h>>>4);f=q[e+4>>2]^(g<<28|f>>>4);g=q[k+192>>2]^((d&15)<<28|g>>>4);e=((h&15)<<3)+158048|0;d=q[k+196>>2]^(q[e>>2]<<16^d>>>4);if(j){j=j-1|0;h=r[j+b|0];continue}break}o[c+15|0]=i;o[c+7|0]=g;o[c+14|0]=(f&255)<<24|i>>>8;o[c+13|0]=(f&65535)<<16|i>>>16;o[c+12|0]=(f&16777215)<<8|i>>>24;o[c+11|0]=f;o[c+10|0]=f>>>8;o[c+9|0]=f>>>16;o[c+8|0]=f>>>24;o[c+6|0]=(d&255)<<24|g>>>8;o[c+5|0]=(d&65535)<<16|g>>>16;o[c+4|0]=(d&16777215)<<8|g>>>24;o[c+3|0]=d;o[c+2|0]=d>>>8;o[c+1|0]=d>>>16;o[c|0]=d>>>24}function H4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti+ -64|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ri(a,1);a:{if(d<4294967296&d>=0){c=~~d>>>0;break a}c=0}b:{if(c>>>0>=8){q[b+4>>2]=c;q[b>>2]=110485;a=Bi(a,112476,b);break b}g=c;d=Ri(a,2);c:{if(d<4294967296&d>=0){c=~~d>>>0;break c}c=0}d=Ri(a,3);d:{if(d<4294967296&d>=0){f=~~d>>>0;break d}f=0}q[b+32>>2]=g;q[b+36>>2]=0;q[b+24>>2]=14;q[b+48>>2]=f;q[b+52>>2]=0;q[b+40>>2]=c;q[b+44>>2]=0;c=q[e+4>>2];if((c|0)!=q[e+8>>2]){q[e+4>>2]=c+40;a=q[b+60>>2];q[c+32>>2]=q[b+56>>2];q[c+36>>2]=a;a=q[b+52>>2];q[c+24>>2]=q[b+48>>2];q[c+28>>2]=a;a=q[b+44>>2];q[c+16>>2]=q[b+40>>2];q[c+20>>2]=a;a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a;a=0;break b}q[b+16>>2]=(q[e+8>>2]-q[e>>2]|0)/40;a=Bi(a,110538,b+16|0)}ti=b- -64|0;return a|0}J(110492,110389,475,114319);G()}function d2(a){a=a|0;var b=x(0),c=0,d=0,e=x(0),f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0),l=x(0);d=ti-96|0;ti=d;c=Li(a,1,q[212906],0);e=u[c>>2];f=u[c+4>>2];a:{b:{if(e!=e|f!=f){break b}b=u[c+8>>2];if(b!=b){break b}b=u[c+12>>2];if(b==b){break a}}b=u[c+8>>2];g=u[c+12>>2];v[d- -64>>3]=f;v[d+80>>3]=g;v[d+72>>3]=b;v[d+56>>3]=e;q[d+48>>2]=1;Bi(a,129003,d+48|0)}h=Li(a,2,q[212906],0);e=u[h>>2];f=u[h+4>>2];c:{d:{if(e!=e|f!=f){break d}b=u[h+8>>2];if(b!=b){break d}g=u[h+12>>2];if(g==g){break c}}b=u[h+8>>2];g=u[h+12>>2];v[d+16>>3]=f;v[d+32>>3]=g;v[d+24>>3]=b;v[d+8>>3]=e;q[d>>2]=2;Bi(a,129003,d);f=u[h+4>>2];b=u[h+8>>2];g=u[h+12>>2];e=u[h>>2]}i=u[c>>2];j=u[c+12>>2];k=u[c+4>>2];l=u[c+8>>2];c=jj(a,16);u[c+12>>2]=x(x(x(j*g)-x(e*i))-x(k*f))-x(b*l);u[c+8>>2]=x(x(x(j*b)+x(g*l))+x(i*f))-x(e*k);u[c+4>>2]=x(x(e*l)+x(x(g*k)+x(j*f)))-x(i*b);u[c>>2]=x(x(x(j*e)+x(i*g))+x(k*b))-x(l*f);Ki(a,-1e4,128720);ij(a,-2);ti=d+96|0;return 1}function tga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-32|0;ti=b;d=q[a+4>>2];c=q[q[a+32>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=q[c+24>>2];g=nK(q[a>>2],q[a+20>>2],q[a+24>>2],d,b);e=q[a>>2];a:{if(!g){a=q[c+28>>2];if(a){Pi(e,a)}f=q[c+4>>2];d=f;h=q[c>>2];if((d|0)!=(h|0)){a=0;d=h;while(1){Pi(e,q[(a<<2)+d>>2]);a=a+1|0;f=q[c+4>>2];d=q[c>>2];if(a>>>0>2>>>0){continue}break}}q[c+28>>2]=q[b+28>>2];a=q[b>>2];q[b>>2]=d;q[c>>2]=a;a=q[b+4>>2];q[b+4>>2]=f;q[c+4>>2]=a;a=q[b+8>>2];q[b+8>>2]=q[c+8>>2];q[c+8>>2]=a;a=r[b+12|0];o[b+12|0]=o[c+12|0]&1|a&254;o[c+12|0]=r[c+12|0]&254|a&1;break a}a=q[b+28>>2];if(a){Pi(e,a)}d=q[b>>2];if((d|0)==q[b+4>>2]){break a}a=0;while(1){Pi(e,q[(a<<2)+d>>2]);a=a+1|0;d=q[b>>2];if(a>>>0>2]-d>>2>>>0){continue}break}}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}yi(a)}ti=b+32|0;return g|0}function wU(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=ti-32|0;ti=f;q[f+24>>2]=0;q[f+16>>2]=1;q[f+20>>2]=0;q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=0;a:{if(!b){break a}}b:{if(!c){break b}}c:{d:{i=(b|0)!=0&(c|0)!=0;if(!(!a|!i)){g=Fk(f+16|0,b,c);if(g){break d}h=-16896;if((uj(a,1)|0)<1){break c}if(Lj(f+16|0,a)){break c}}if(!(!e|(!a|!d))){h=-16896;if((uj(d,1)|0)<1){break c}if((uj(e,1)|0)<1){break c}if((Lj(d,a)|0)>-1){break c}if((Lj(e,a)|0)>-1){break c}}h=0;if(!e|(!d|i^1)){break c}h=-16896;if((uj(b,1)|0)<1){break c}if((uj(c,1)|0)<1){break c}g=Fk(f+16|0,d,e);if(g){break d}g=zl(f+16|0,f+16|0,1);if(g){break d}g=zl(f,b,1);if(g){break d}g=Tk(f+16|0,f+16|0,f);if(g){break d}if(uj(f+16|0,0)){break c}g=Fk(f+16|0,d,e);if(g){break d}g=zl(f+16|0,f+16|0,1);if(g){break d}g=zl(f,c,1);if(g){break d}g=Tk(f+16|0,f+16|0,f);if(g){break d}h=uj(f+16|0,0)?-16896:0;break c}h=(g|0)==-16896?-16896:g-16896|0}Si(f+16|0);Si(f);ti=f+32|0;return h}function IY(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;axa(+a);b=Zwa(1)|0;d=Zwa(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){e=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|d)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(e>>>0>2146435071){break a}b=1072693248;k=-1023;if((e|0)!=1072693248){b=e;break b}if(d){break b}return 0}axa(+(a*0x40000000000000));b=Zwa(1)|0;d=Zwa(0)|0;k=-1077}b=b+614242|0;l=+((b>>>20|0)+k|0);f=l*.30102999566361177;_wa(0,d|0);_wa(1,(b&1048575)+1072079006|0);c=+$wa()+ -1;g=c*(c*.5);h=c/(c+2);i=h*h;a=i*i;axa(+(c-g));b=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,b|0);j=+$wa();m=j*.4342944818781689;n=f+m;a=c-j-g+h*(g+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+i*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));a=n+(m+(f-n)+(a*.4342944818781689+(l*3.694239077158931e-13+(a+j)*2.5082946711645275e-11)))}return a}function HM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b|0)>=(c|0)){break a}while(1){bj(a,1,b);bj(a,1,c);b:{if(wp(a,-1,-2)){bk(a,1,b);bk(a,1,c);break b}Ci(a,-3)}d=c-b|0;if((d|0)==1){break a}e=(b+c|0)/2|0;bj(a,1,e);bj(a,1,b);c:{if(wp(a,-2,-1)){bk(a,1,e);bk(a,1,b);break c}Ci(a,-2);bj(a,1,c);if(wp(a,-1,-2)){bk(a,1,e);bk(a,1,c);break c}Ci(a,-3)}if((d|0)==2){break a}bj(a,1,e);Qi(a,-1);h=c-1|0;bj(a,1,h);f=h;d=b;while(1){bk(a,1,e);bk(a,1,f);e=d+1|0;bj(a,1,e);if(wp(a,-1,-2)){while(1){if((c|0)<=(d|0)){Bi(a,140169,0)}Ci(a,-2);g=e+1|0;bj(a,1,g);d=e;e=g;if(wp(a,-1,-2)){continue}break}}g=d;d=f-1|0;bj(a,1,d);if(wp(a,-3,-1)){while(1){if((b|0)>=(f|0)){Bi(a,140169,0)}f=d;Ci(a,-2);d=d-1|0;bj(a,1,d);if(wp(a,-3,-1)){continue}break}}i=(e|0)<(f|0);f=d;d=e;if(i){continue}break}Ci(a,-4);bj(a,1,h);bj(a,1,e);bk(a,1,h);bk(a,1,e);f=g+2|0;d=(e-b|0)<(c-e|0);HM(a,d?b:f,d?g:c);b=d?f:b;c=d?c:g;if((b|0)<(c|0)){continue}break}}}function zE(a){var b=0;while(1){p[((b<<2)+a|0)+148>>1]=0;b=b+1|0;if((b|0)!=286){continue}break}p[a+2684>>1]=0;p[a+2440>>1]=0;p[a+2756>>1]=0;p[a+2752>>1]=0;p[a+2748>>1]=0;p[a+2744>>1]=0;p[a+2740>>1]=0;p[a+2736>>1]=0;p[a+2732>>1]=0;p[a+2728>>1]=0;p[a+2724>>1]=0;p[a+2720>>1]=0;p[a+2716>>1]=0;p[a+2712>>1]=0;p[a+2708>>1]=0;p[a+2704>>1]=0;p[a+2700>>1]=0;p[a+2696>>1]=0;p[a+2692>>1]=0;p[a+2688>>1]=0;p[a+2556>>1]=0;p[a+2552>>1]=0;p[a+2548>>1]=0;p[a+2544>>1]=0;p[a+2540>>1]=0;p[a+2536>>1]=0;p[a+2532>>1]=0;p[a+2528>>1]=0;p[a+2524>>1]=0;p[a+2520>>1]=0;p[a+2516>>1]=0;p[a+2512>>1]=0;p[a+2508>>1]=0;p[a+2504>>1]=0;p[a+2500>>1]=0;p[a+2496>>1]=0;p[a+2492>>1]=0;p[a+2488>>1]=0;p[a+2484>>1]=0;p[a+2480>>1]=0;p[a+2476>>1]=0;p[a+2472>>1]=0;p[a+2468>>1]=0;p[a+2464>>1]=0;p[a+2460>>1]=0;p[a+2456>>1]=0;p[a+2452>>1]=0;p[a+2448>>1]=0;p[a+2444>>1]=0;q[a+5804>>2]=0;q[a+5808>>2]=0;p[a+1172>>1]=1;q[a+5800>>2]=0;q[a+5792>>2]=0}function vea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-32|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;wl(a,1,q[q[Tj(a)+80>>2]+8>>2],77094,b+28|0,0,0);d=q[b+28>>2];c=Mj(a,2);e=wi;g=e;a:{h=oA(d,c,e);b:{if((h|0)==-1){q[b>>2]=Mi(c,g);Ai(4,77450,77458,b);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(77485,77222,374,77819);G()}c=Xi(a,3);e=Xi(a,4);mA(d,b+24|0,b+20|0,b+16|0,b+12|0);g=c-1|0;c=q[d+156>>2];q[b+8>>2]=g-q[c+36>>2];q[b+4>>2]=(e-1|0)-q[c+40>>2];c:{c=q[b+8>>2];d:{if((c|0)<0|(c|0)>=q[b+16>>2]){break d}e=q[b+4>>2];if((e|0)<0){break d}if((e|0)>2]){break c}}Ai(4,77450,77835,0);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break b}J(77485,77222,391,77819);G()}d=Via(d,h,c,e);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}ti=b+32|0;return 1}J(77485,77222,398,77819);G()}function jM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-16|0;ti=g;d=1;a:{b:{switch(b-a>>3){case 2:e=b-8|0;b=e;f=q[b>>2];c=q[b+4>>2];b=q[a+4>>2];if((c|0)==(b|0)&t[a>>2]<=f>>>0|b>>>0>>0){break a}Il(a,e);break a;case 3:jq(a,a+8|0,b-8|0);break a;case 4:Dw(a,a+8|0,a+16|0,b-8|0);break a;case 5:Aw(a,a+8|0,a+16|0,a+24|0,b-8|0);break a;case 0:case 1:break a;default:break b}}c=a+16|0;jq(a,a+8|0,c);f=a+24|0;c:{while(1){i=(b|0)==(f|0);if(i){break c}d:{h=q[f+4>>2];e=q[c+4>>2];if((h|0)==(e|0)&t[f>>2]>2]|e>>>0>h>>>0){d=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=d;e=f;while(1){e:{d=c;c=q[c+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=c;if((a|0)==(d|0)){d=a;break e}e=d;c=d-8|0;j=q[g+12>>2];h=q[c+4>>2];if((j|0)==(h|0)&t[c>>2]>t[g+8>>2]|h>>>0>j>>>0){continue}}break}e=g+8|0;c=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=c;k=k+1|0;if((k|0)==8){break d}}c=f;f=c+8|0;continue}break}d=(f+8|0)==(b|0)}d=d|i}ti=g+16|0;return d&1}function Uq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=ti-48|0;ti=h;c=-3;a:{if(q[215702]){break a}c=-4;if(!a|!r[a|0]){break a}if(Oj(a,35)){break a}if(Oj(a,58)){break a}e=zi(a);f=wi;while(1){c=q[215701];q[215701]=c?c:1;if(c){continue}break}d=q[215700];if(!d){d=Oi(32);c=d;q[c+16>>2]=0;q[c+20>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+20>>2]=-1;HH(c,256,256);q[215700]=c}i=q[d+8>>2];g=-3;b:{if(q[d+24>>2]==q[d+16>>2]-i>>6){break b}c=q[d+4>>2];c:{if(!c){break c}c=q[q[d>>2]+(Qwa(e,f,c)<<2)>>2];if((c|0)==-1){break c}while(1){c=(c<<6)+i|0;g=-1;if((e|0)==q[c>>2]&q[c+4>>2]==(f|0)){break b}c=q[c+56>>2];if((c|0)!=-1){continue}break}}q[h+44>>2]=0;c=h;q[c+36>>2]=0;q[c+40>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c>>2]=1;q[c+8>>2]=e;q[c+12>>2]=f;q[c+24>>2]=Jk(a);q[c+28>>2]=Hj();q[c+32>>2]=Ara();IH(q[215700],e,f,c);q[b>>2]=e;q[b+4>>2]=f;g=0}c=g;q[215701]=0}ti=h+48|0;return c}function jua(a){var b=0;b=q[a+396>>2];if(b){yi(b)}b=q[a+384>>2];if(b){yi(b)}b=q[a+372>>2];if(b){yi(b)}b=q[a+360>>2];if(b){yi(b)}b=q[a+348>>2];if(b){yi(b)}b=q[a+336>>2];if(b){yi(b)}b=q[a+324>>2];if(b){yi(b)}b=q[a+312>>2];if(b){yi(b)}b=q[a+300>>2];if(b){yi(b)}b=q[a+288>>2];if(b){yi(b)}b=q[a+276>>2];if(b){yi(b)}b=q[a+264>>2];if(b){yi(b)}b=q[a+252>>2];if(b){yi(b)}b=q[a+240>>2];if(b){yi(b)}b=q[a+228>>2];if(b){yi(b)}b=q[a+216>>2];if(b){yi(b)}b=q[a+204>>2];if(b){yi(b)}b=q[a+192>>2];if(b){yi(b)}b=q[a+180>>2];if(b){yi(b)}b=q[a+168>>2];if(b){yi(b)}b=q[a+156>>2];if(b){yi(b)}b=q[a+144>>2];if(b){yi(b)}b=q[a+132>>2];if(b){yi(b)}b=q[a+120>>2];if(b){yi(b)}b=q[a+108>>2];if(b){yi(b)}b=q[a+96>>2];if(b){yi(b)}b=q[a+84>>2];if(b){yi(b)}b=q[a+72>>2];if(b){yi(b)}b=q[a+60>>2];if(b){yi(b)}b=q[a+48>>2];if(b){yi(b)}b=q[a+36>>2];if(b){yi(b)}b=q[a+24>>2];if(b){yi(b)}b=q[a+12>>2];if(b){yi(b)}a=q[a>>2];if(a){yi(a)}}function $T(a){var b=0,c=0,d=0;c=ti-16|0;ti=c;xi[q[q[a+68>>2]+1112>>2]](a,c+4|0,(q[q[a>>2]+184>>2]^-1)&1);b=Jn(a);a:{if(b){break a}if(q[a+128>>2]!=22){Ij(a,2,10);b=-30464;break a}b:{b=q[a+120>>2];if(r[b|0]==20){d=r[q[a>>2]+184|0]&2?12:4;if(q[a+168>>2]==(d+12|0)){break b}}Ij(a,2,50);b=-32384;break a}if(Mr(b+d|0,c+4|0,12)){Ij(a,2,50);b=-32384;break a}q[a+248>>2]=12;b=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);o[a+272|0]=b;o[a+273|0]=b>>>8;o[a+274|0]=b>>>16;o[a+275|0]=b>>>24;b=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);o[a+264|0]=d;o[a+265|0]=d>>>8;o[a+266|0]=d>>>16;o[a+267|0]=d>>>24;o[a+268|0]=b;o[a+269|0]=b>>>8;o[a+270|0]=b>>>16;o[a+271|0]=b>>>24;c:{if(q[q[a+68>>2]+2252>>2]){d=q[a>>2];if(o[d+184|0]&1){break c}q[a+4>>2]=10;break c}q[a+4>>2]=q[a+4>>2]+1;d=q[a>>2]}b=0;if(!(r[d+184|0]&2)){break a}px(a)}ti=c+16|0;return b}function qma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;e=q[a>>2];b=q[a+16>>2];f=q[a+20>>2];a:{b:{if((b|0)==q[75038]&(f|0)==q[75039]){d=-4;if(q[a+32>>2]!=3){break a}if(r[e+17|0]){b=q[a+44>>2];e=q[a+40>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=e;q[c+4>>2]=b;break b}b=q[a+44>>2];e=q[a+40>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=e;q[c+4>>2]=b;break b}if((b|0)==q[75040]&(f|0)==q[75041]){d=-4;if(q[a+32>>2]!=3){break a}if(r[e+17|0]){b=q[a+40>>2];e=q[a+44>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=b;q[c+4>>2]=e;break b}b=q[a+40>>2];e=q[a+44>>2];u[c+8>>2]=u[a+48>>2];q[c>>2]=b;q[c+4>>2]=e;break b}if((b|0)==q[75044]&(f|0)==q[75045]){d=-4;if(q[a+32>>2]!=6){break a}if(r[e+17|0]){Ai(3,33031,33831,0);d=-1;break a}break b}if((b|0)==q[75034]&(f|0)==q[75035]){d=-4;if(q[a+32>>2]){break a}break b}d=-1;if(q[75036]!=(b|0)|q[75037]!=(f|0)){break a}d=-4;if(q[a+32>>2]){break a}if(r[e+17|0]){break b}}d=0}b=d;ti=c+16|0;return b|0}function gma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a>>2];c=Oi(40);q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;g=c+8|0;d=g;q[d>>2]=0;q[d+4>>2]=0;q[c>>2]=q[b>>2];e=q[a+16>>2];b=q[b+8>>2];e=b>>>0>e>>>0?e:b;Ii(e,28,c+4|0,c+12|0,d);a:{b:{b=q[c+4>>2];if(e>>>0<=(q[c+12>>2]-b|0)/28>>>0){q[c+8>>2]=b+w(e,28);b=q[c+24>>2];if(e>>>0>>0){break b}d=q[c+20>>2];f=Ji(e<<2);q[c+20>>2]=f;f=Gi(f,d,b<<2);q[c+24>>2]=e;if(b>>>0>>0){while(1){q[f+(b<<2)>>2]=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}}yi(d);if(e){b=0;while(1){d=q[c+4>>2];if((q[g>>2]-d|0)/28>>>0<=b>>>0){break a}d=d+w(b,28)|0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=0;q[d+16>>2]=-2;q[d+20>>2]=-2;q[d+12>>2]=-2;b=b+1|0;if((e|0)!=(b|0)){continue}break}}q[q[a+12>>2]>>2]=c;return 0}J(35606,35538,506,35625);G()}J(35633,35656,112,35594);G()}J(35707,35538,479,35718);G()}function UL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=ti-16|0;h=e;ti=e;c=3;a:{b:{c:{if(a+1>>>0<2){break c}f=a&65535;g=q[213374];if(f>>>0>=t[g+8>>2]){break a}d=q[q[g>>2]+(f<<2)>>2];if(!d|s[q[g+4>>2]+(f<<1)>>1]!=(a>>>16|0)){break c}c=1;j=q[d+28>>2];if(pj(q[d>>2]+w(j,q[d+24>>2])|0,148944,16)){break c}c=e;e=r[d+34|0];i=c-(w(e,24)+15&16368)|0;ti=i;if(e){k=q[d+4>>2];c=0;while(1){f=(c<<4)+k|0;l=q[f+4>>2];g=i+w(c,24)|0;q[g>>2]=q[f>>2];q[g+4>>2]=l;q[g+8>>2]=r[f+12|0];o[g+12|0]=r[f+13|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=Vv(j,i,e,h+12|0);if(c){break c}TL(q[h+12>>2],a);c=q[d+8>>2];if((c|0)!=q[d+12>>2]){a=0;while(1){c=q[(a<<2)+c>>2];if(RL(q[h+12>>2],q[c>>2],q[c+4>>2],q[c+12>>2],r[c+9|0],r[c+8|0])){break b}a=a+1|0;c=q[d+8>>2];if(a>>>0>2]-c>>2>>>0){continue}break}}q[b>>2]=q[h+12>>2];c=0}ti=h+16|0;return c}J(148788,148229,406,148805);G()}J(149021,149036,144,149074);G()}function Bfa(a){var b=0,c=0;b=q[a>>2];q[76576]=q[a+4>>2];a=q[b+8>>2]-q[b+12>>2]>>4;q[76577]=Tl(b,60513,60520,243936);q[76578]=Tl(b,60528,60544,243968);ik(b,60513,244016);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60552);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60569);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60587);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60605);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60623);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=5;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60639);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=6;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60656);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=7;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60673);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=8;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,60690);Ci(b,-2);if((a|0)!=q[b+8>>2]-q[b+12>>2]>>4){J(60709,60730,1190,60771);G()}}function vra(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+12>>2];e=q[a+16>>2];a:{if((b|0)>=(e|0)){c=b;break a}c=b+1|0;q[a+12>>2]=c;d=o[b+q[a+8>>2]|0]}b:{c:{d:{while(1){e:{switch(d+1|0){case 14:d=0;if((c|0)>=(e|0)){continue}b=c+1|0;q[a+12>>2]=b;d=o[q[a+8>>2]+c|0];c=b;continue;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:break c;case 0:break e;default:break d}}break}mr(a,-4);G()}if((d|0)!=91){break c}NL(a,a+180|0,512);d=0;b=q[a+12>>2];e=q[a+16>>2];f:{if((b|0)>=(e|0)){c=b;break f}c=b+1|0;q[a+12>>2]=c;d=o[b+q[a+8>>2]|0]}g:{while(1){h:{switch(d+1|0){case 14:d=0;if((c|0)>=(e|0)){continue}b=c+1|0;q[a+12>>2]=b;d=o[q[a+8>>2]+c|0];c=b;continue;case 0:break h;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:break b;default:break g}}break}mr(a,-4);G()}if((d|0)!=93){break b}return}mr(a,-3);G()}mr(a,-3);G()}function uu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=(bxa(b),Zwa(2));d=f<<1;if(!(!d|(f&2147483647)>>>0>2139095040)){h=(bxa(a),Zwa(2));e=h>>>23&255;if((e|0)!=255){break a}}a=x(a*b);return x(a/a)}c=h<<1;if(c>>>0>d>>>0){g=f>>>23&255;b:{if(!e){e=0;c=h<<9;if((c|0)>=0){while(1){e=e-1|0;c=c<<1;if((c|0)>-1){continue}break}}c=h<<1-e;break b}c=h&8388607|8388608}c:{if(!g){g=0;d=f<<9;if((d|0)>=0){while(1){g=g-1|0;d=d<<1;if((d|0)>-1){continue}break}}d=f<<1-g;break c}d=f&8388607|8388608}f=d;if((e|0)>(g|0)){while(1){d:{d=c-f|0;if((d|0)<0){break d}c=d;if(c){break d}return x(a*x(0))}c=c<<1;e=e-1|0;if((g|0)<(e|0)){continue}break}e=g}e:{d=c-f|0;if((d|0)<0){break e}c=d;if(c){break e}return x(a*x(0))}f:{if(c>>>0>8388607){d=c;break f}while(1){e=e-1|0;f=c>>>0<4194304;d=c<<1;c=d;if(f){continue}break}}c=h&-2147483648;return _wa(2,c|((e|0)>=1?d-8388608|e<<23:d>>>1-e|0)),cxa()}return(c|0)==(d|0)?x(a*x(0)):a}function UR(a){a=a|0;var b=0,c=0,d=0;c=ti-96|0;ti=c;a:{if((Ei(a,1)|0)<=0){b=_(0)|0;break a}mj(a,1,5);Ci(a,1);Ki(a,-1,140721);if(Bj(a,-1)){b=Ok(a,-1)}Ci(a,-2);q[c+48>>2]=b;Ki(a,-1,140725);b=0;b:{if(!Bj(a,-1)){break b}b=Ok(a,-1)}Ci(a,-2);q[c+52>>2]=b;Ki(a,-1,140729);b=12;c:{if(!Bj(a,-1)){break c}b=Ok(a,-1)}Ci(a,-2);q[c+56>>2]=b;Ki(a,-1,140734);d:{if(Bj(a,-1)){b=Ok(a,-1);Ci(a,-2);break d}q[c+32>>2]=140734;b=Bi(a,140843,c+32|0)}q[c+60>>2]=b;Ki(a,-1,140738);e:{if(Bj(a,-1)){b=Ok(a,-1);Ci(a,-2);break e}q[c+16>>2]=140738;b=Bi(a,140843,c+16|0)}q[c+64>>2]=b-1;Ki(a,-1,140744);f:{if(Bj(a,-1)){b=Ok(a,-1);Ci(a,-2);break f}q[c>>2]=140744;b=Bi(a,140843,c)}q[c+68>>2]=b-1900;b=-1;Ki(a,-1,140759);if(Ei(a,-1)){b=Ej(a,-1)}Ci(a,-2);q[c+80>>2]=b;b=ib(c+48|0)|0}g:{if((b|0)==-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break g}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}ti=c+96|0;return 1}function Yca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=ti-16|0;ti=d;q[a+128>>2]=q[a+128>>2]+1;a=Oi(20);q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;e=Za()|0;a:{b:{c:{d:{if(r[q[77547]+156|0]&64){f=K()|0;if(f){break d}}c=q[c>>2];ua(e|0,q[b>>2]);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break c}}ua(e|0,c|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}Aa(e|0);ca(e|0,35714,d+12|0);e:{if(!q[d+12>>2]){ca(e|0,35716,d+8|0);b=q[d+8>>2];if((b|0)>=1){c=b;b=Ji(b);Va(e|0,c|0,d+8|0,b|0);q[d>>2]=b;Ai(3,84116,87658,d);yi(b)}f:{if(o[a+16|0]&1){break f}b=q[a+4>>2];if(!b){break f}yi(b)}yi(a);ra(e|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}a=0;break e}q[a>>2]=e;vJ(a)}ti=d+16|0;return a|0}Vi(f,87662,1967);J(84254,84160,1967,87662);G()}Vi(b,87662,1976);J(84254,84160,1976,87662);G()}Vi(b,87662,1978);J(84254,84160,1978,87662);G()}Vi(a,87662,2012);J(84254,84160,2012,87662);G()}function oua(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!jw(a,b)){break a}e=cB(a,0);if((e|0)<0|!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))){break a}f=1;g=(r[a+65|0]|r[a+66|0]<<8|(r[a+67|0]<<16|r[a+68|0]<<24))+a|0;b=e+1|0;if(b>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){while(1){h=w(b,23)+g|0;d=h;if(!(r[d|0]|(r[d+1|0]<<8|r[d+2|0]<<16))){d=r[h+3|0]+1|0;f=f>>>0>d>>>0?f:d;b=b+1|0;if(b>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){continue}}break}if(f>>>0>16){break a}}o[c+40|0]=0;q[c+4>>2]=f;q[c>>2]=0;b=c;if(r[a+20|0]){a=r[(w(e,23)+g|0)+4|0]}else{a=(r[a+21|0]|r[a+22|0]<<8)>>>2|0}o[b+40|0]=a&1;a=w(e,23)+g|0;o[c+41|0]=r[a+4|0]>>>1&1;q[c+16>>2]=(r[a+9|0]|r[a+10|0]<<8)<<2;q[c+20>>2]=(r[a+11|0]|r[a+12|0]<<8)<<2;q[c+8>>2]=r[a+5|0]|r[a+6|0]<<8;q[c+12>>2]=r[a+7|0]|r[a+8|0]<<8;q[c+24>>2]=r[a+9|0]|r[a+10|0]<<8;a=r[a+11|0]|r[a+12|0]<<8;q[c+28>>2]=a;q[c+36>>2]=e;q[c+32>>2]=w(a,q[c+24>>2])}}function kF(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;a:{b:{d=q[242116];f=q[d+16>>2];if(f){wj(f);b=q[q[242116]+16>>2];if(b){break b}}c=r[a+60|0];break a}wj(b);c=r[a+60|0];qj(b)}c:{d:{if(!(c&4)){break d}c=s[a+58>>1];b=q[d+48>>2];if(c>>>0>=q[d+52>>2]-b>>5>>>0){break c}b=b+(c<<5)|0;q[e>>2]=Mi(q[b>>2],q[b+4>>2]);Ai(4,203857,204266,e);b=q[q[242116]+16>>2];if(b){wj(b);o[a+60|0]=r[a+60|0]&251;Jq(q[a>>2]);qj(b);break d}o[a+60|0]=r[a+60|0]&251;Jq(q[a>>2])}e:{c=q[d+36>>2];if(c){b=s[d+42>>1];if(!b|b>>>0>s[d+40>>1]){break e}g=s[a+56>>1];b=b-1|0;p[d+42>>1]=b;p[c+((b&65535)<<1)>>1]=g;p[a+56>>1]=65535;c=s[a+58>>1];b=q[d+48>>2];if(c>>>0>=q[d+52>>2]-b>>5>>>0){break c}py(b+(c<<5)|0);p[a+58>>1]=65535;Z$(q[d>>2],q[a>>2]);q[a>>2]=0;q[a+40>>2]=1065353216;q[a+44>>2]=0;if(f){qj(f)}ti=e+16|0;return 0}J(204946,204873,140,204977);G()}J(204982,204873,141,204977);G()}J(204924,204755,479,204935);G()}function aA(a){var b=0;b=ti-144|0;ti=b;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((a|0)<=36181){switch(a-36054|0){case 0:break j;case 2:case 3:case 4:break c;case 7:break f;case 6:break g;case 5:break h;case 1:break i;default:break d}}if((a|0)==36182){break e}if((a|0)!=36264){break c}q[b+128>>2]=36264;q[b+132>>2]=88889;Ai(4,84116,88625,b+128|0);break a}q[b+32>>2]=36054;q[b+36>>2]=88666;Ai(4,84116,88625,b+32|0);break a}q[b+48>>2]=36055;q[b+52>>2]=88703;Ai(4,84116,88625,b+48|0);break a}q[b+64>>2]=36059;q[b+68>>2]=88748;Ai(4,84116,88625,b- -64|0);break a}q[b+80>>2]=36060;q[b+84>>2]=88786;Ai(4,84116,88625,b+80|0);break a}q[b+96>>2]=36061;q[b+100>>2]=88824;Ai(4,84116,88625,b+96|0);break a}q[b+112>>2]=36182;q[b+116>>2]=88851;Ai(4,84116,88625,b+112|0);break a}if((a|0)==33305){break b}}q[b>>2]=a;Ai(4,84116,88933,b);break a}q[b+16>>2]=33305;q[b+20>>2]=88641;Ai(4,84116,88625,b+16|0)}ti=b+144|0}function Tba(a,b){var c=0,d=0,e=0;a:{b:{c:{if(a){if(!b){b=q[a+32>>2];c=q[a+36>>2]-b|0;a=(c|0)/576|0;if(!c){return 0}d=a>>>0>1?a:1;a=0;while(1){d:{c=b+w(a,576)|0;if(o[c+572|0]&1){break d}e=s[c+554>>1];if((e|0)==65535|s[c+560>>1]!=65535){break d}return e|s[(b+w(a,576)|0)+552>>1]<<16}a=a+1|0;if((d|0)!=(a|0)){continue}break}return 0}c=q[a+32>>2];e=(q[a+36>>2]-c|0)/576|0;a=b&65535;if(e>>>0<=a>>>0){break a}if(s[(c+w(a,576)|0)+552>>1]!=(b>>>16|0)){break c}a=c+w(a,576)|0;if(s[a+554>>1]!=(b&65535)){break b}a=s[a+562>>1];if((a|0)!=65535){while(1){b=a&65535;if(b>>>0>=e>>>0){break a}d=c+w(b,576)|0;a=s[d+558>>1];e:{if(o[d+572|0]&1){break e}d=s[d+554>>1];if((d|0)==65535){break e}return d|s[(c+w(b,576)|0)+552>>1]<<16}if((a&65535)!=65535){continue}break}}return 0}J(194427,193630,2191,194438);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function ij(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}d=q[a+8>>2];b=0;c:{if(!q[d-8>>2]){break c}b=q[d-16>>2]}d:{e:{f:{g:{d=q[c+8>>2];switch(d-5|0){case 2:break f;case 0:break g;default:break e}}q[q[c>>2]+8>>2]=b;if(!b|!(r[b+5|0]&3)){break d}c=q[c>>2];if(!(r[c+5|0]&4)){break d}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;break d}q[q[c>>2]+8>>2]=b;if(!b|!(r[b+5|0]&3)){break d}c=q[c>>2];if(!(r[c+5|0]&4)){break d}Qn(a,c,b);break d}q[(q[a+16>>2]+(d<<2)|0)+152>>2]=b}q[a+8>>2]=q[a+8>>2]-16;return 1}function j4(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=ti-80|0;ti=f;q[f+72>>2]=0;j=q[a+5140>>2];wj(j);if(d){h=-3;g=q[a>>2];e=q[g+4>>2];a:{if(!e){break a}e=q[q[g>>2]+(Qwa(b,c,e)<<2)>>2];if((e|0)==-1){break a}g=q[g+8>>2];while(1){i=g+w(e,48)|0;if((b|0)!=q[i>>2]|q[i+4>>2]!=(c|0)){e=q[i+40>>2];if((e|0)!=-1){continue}break a}break}e=g+w(e,48)|0;h=q[e+32>>2];g=q[h+32>>2];if(!g){h=-15;break a}q[f+32>>2]=a;h=q[h+12>>2];q[f+60>>2]=d;q[f+36>>2]=h;i=e+8|0;q[f+64>>2]=i;q[f+56>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=b;q[f+44>>2]=c;h=xi[g|0](f+32|0)|0;if(h){break a}e=q[a+12>>2];if(!e){h=0;break a}h=0;d=q[e>>2];if((d|0)==q[e+4>>2]){break a}e=0;while(1){d=(e<<3)+d|0;g=q[d+4>>2];q[f+24>>2]=b;q[f+28>>2]=c;q[f+16>>2]=0;q[f+12>>2]=i;q[f+8>>2]=g;xi[q[d>>2]](f+8|0);g=q[a+12>>2];d=q[g>>2];e=e+1|0;if(e>>>0>2]-d>>3>>>0){continue}break}}qj(j);ti=f+80|0;return h}J(25746,24451,1524,25716);G()}function ju(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(q[a+24>>2]==(c|0)){q[a+28>>2]=c;if((b|0)==-1){break b}c=q[a+32>>2];if((c|0)==-1){break a}g=q[q[a>>2]+12>>2];while(1){d=c;f=g+(d<<2)|0;e=q[f>>2];c=(e>>>14|0)-131071|0;c=(c|0)==-1?-1:(d+c|0)+1|0;if((c|0)!=-1){continue}break}c=f;d=(d^-1)+b|0;b=d>>31;if((b^b+d)>=131072){Dj(q[a+12>>2],136537);e=q[f>>2]}q[c>>2]=(e&16383|d<<14)+2147467264;return}if((b|0)==-1){break b}while(1){h=q[q[a>>2]+12>>2]+(b<<2)|0;f=q[h>>2];e=(f>>>14|0)-131071|0;i=(e|0)==-1;e=(b+e|0)+1|0;c:{if((b|0)>=1){d=h-4|0;g=q[d>>2];if(o[(g&63)+136048|0]<0){break c}}g=f;d=h}e=i?-1:e;d:{e:{f:{if((g&63)==27){q[d>>2]=g&8372224|g>>>17&32704|26;b=(b^-1)+c|0;d=b>>31;if((d^b+d)>131071){break f}break e}b=(b^-1)+c|0;d=b>>31;if((d^b+d)<131072){break d}}Dj(q[a+12>>2],136537)}f=q[h>>2]}q[h>>2]=(f&16383|b<<14)+2147467264;b=e;if((b|0)!=-1){continue}break}}return}q[a+32>>2]=b}function vJ(a){var b=0,c=0,d=0,e=0;c=ti-288|0;ti=c;ca(q[a>>2],35721,c+284|0);a:{b:{c:{d:{e:{if(r[q[77547]+156|0]&64){b=K()|0;if(b){break e}}if(o[a+16|0]&1){break d}Ii(q[c+284>>2],16,a+4|0,a+12|0,a+8|0);b=q[c+284>>2];d=q[a+4>>2];if(b>>>0>q[a+12>>2]-d>>4>>>0){break c}q[a+8>>2]=(b<<4)+d;if((b|0)<1){break a}b=0;while(1){kc(q[a>>2],b|0,256,c+12|0,c+8|0,c+4|0,c+16|0);f:{if(!(r[q[77547]+156|0]&64)){break f}e=K()|0;if(!e){break f}Vi(e,87679,1945);J(84254,84160,1945,87679);G()}d=(b<<4)+d|0;q[d+8>>2]=ic(q[a>>2],c+16|0);q[d>>2]=zi(c+16|0);q[d+4>>2]=wi;if(r[q[77547]+156|0]&64){d=K()|0;if(d){break b}}b=b+1|0;if((b|0)>=q[c+284>>2]){break a}d=q[a+4>>2];if(q[a+8>>2]-d>>4>>>0>b>>>0){continue}break}J(86853,86087,479,86864);G()}Vi(b,87679,1927);J(84254,84160,1927,87679);G()}J(86012,86087,493,86143);G()}J(86917,86087,506,86936);G()}Vi(d,87679,1949);J(84254,84160,1949,87679);G()}ti=c+288|0}function L$(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,p=0,s=0,t=0;e=ti-32|0;ti=e;h=-2;a:{if(q[a>>2]!=1179011410|b>>>0<12|q[a+8>>2]!=1163280727){break a}d=a+12|0;g=a+b|0;while(1){b:{f=d+8|0;if(f>>>0>g>>>0){break b}i=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);j=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c:{if((j|0)!=1635017060){if((j|0)!=544501094){break c}if(d+24>>>0>g>>>0){q[e+4>>2]=b;q[e>>2]=d-a;Ai(3,205229,205235,e);break a}k=r[d+22|0]|r[d+23|0]<<8;f=r[d+8|0]|r[d+9|0]<<8;if((f|0)!=1){q[e+20>>2]=k;q[e+16>>2]=f;Ai(3,205229,205302,e+16|0);break a}n=r[d+10|0];p=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);l=1;break c}m=1;s=i;t=f}d=(d+i|0)+8|0;if(g>>>0<=d>>>0){break b}if(!(l&m)){continue}}break}if(!m|!l){break a}a=Oi(20);q[a+16>>2]=t;h=0;q[a+12>>2]=0;o[a+9|0]=k;o[a+8|0]=n;q[a+4>>2]=s;q[a>>2]=p;q[c>>2]=a}ti=e+32|0;return h|0}function yr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=q[e>>2];f=i+8|0;e=s[c>>1];k=s[(f+w(e,112)|0)+104>>1];h=s[b>>1];j=s[(f+w(h,112)|0)+104>>1];g=s[a>>1];f=f+w(g,112)|0;a:{if(j>>>0>=s[f+104>>1]){if(k>>>0>=j>>>0){f=0;break a}p[b>>1]=e;p[c>>1]=h;f=i+8|0;e=s[b>>1];g=s[a>>1];if(s[(f+w(e,112)|0)+104>>1]>=s[(f+w(g,112)|0)+104>>1]){f=1;e=h;break a}p[a>>1]=e;p[b>>1]=g;e=s[c>>1];f=2;break a}b:{if(k>>>0>>0){p[a>>1]=e;p[c>>1]=g;f=1;break b}p[a>>1]=h;p[b>>1]=g;e=s[c>>1];if(s[(w(e,112)+i|0)+112>>1]>=s[f+104>>1]){f=1;break a}p[b>>1]=e;p[c>>1]=g;f=2}e=g}g=i+8|0;h=s[d>>1];if(s[(g+w(h,112)|0)+104>>1]>1]){p[c>>1]=h;p[d>>1]=e;d=s[c>>1];e=s[b>>1];if(s[(g+w(d,112)|0)+104>>1]>=s[(g+w(e,112)|0)+104>>1]){return f+1|0}p[b>>1]=d;p[c>>1]=e;d=i+8|0;c=s[b>>1];e=s[a>>1];if(s[(d+w(c,112)|0)+104>>1]>=s[(d+w(e,112)|0)+104>>1]){return f+2|0}p[a>>1]=c;p[b>>1]=e;f=f+3|0}return f}function csa(a){var b=0,c=0,d=0;c=-6;a:{if(r[178856]!=49){break a}c=-2;if(!a){break a}q[a+24>>2]=0;b=q[a+32>>2];if(!b){q[a+40>>2]=0;q[a+32>>2]=1395;b=1395}if(!q[a+36>>2]){q[a+36>>2]=1396}b=xi[b|0](q[a+40>>2],1,5828)|0;c=-4;if(!b){break a}q[a+28>>2]=b;q[b+48>>2]=15;q[b+28>>2]=0;q[b+24>>2]=1;q[b>>2]=a;q[b+80>>2]=15;q[b+44>>2]=32768;q[b+52>>2]=32767;q[b+76>>2]=32768;q[b+88>>2]=5;q[b+84>>2]=32767;q[b+56>>2]=xi[q[a+32>>2]](q[a+40>>2],32768,2);q[b+64>>2]=xi[q[a+32>>2]](q[a+40>>2],q[b+44>>2],2);c=xi[q[a+32>>2]](q[a+40>>2],q[b+76>>2],2)|0;q[b+5824>>2]=0;q[b+68>>2]=c;q[b+5788>>2]=16384;c=xi[q[a+32>>2]](q[a+40>>2],16384,4)|0;q[b+8>>2]=c;d=q[b+5788>>2];q[b+12>>2]=d<<2;b:{if(!(!c|(!q[b+56>>2]|!q[b+64>>2]))){if(q[b+68>>2]){break b}}q[b+4>>2]=666;q[a+24>>2]=q[73506];UA(a);return-4}q[b+136>>2]=0;q[b+132>>2]=3;o[b+36|0]=8;q[b+5784>>2]=c+w(d,3);q[b+5796>>2]=c+(d&-2);c=bsa(a)}return c}function aja(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;b=ti-48|0;ti=b;a:{b:{c:{d:{g=q[a+4>>2];a=q[g+120>>2];e:{if(!a){break e}a=q[q[g+116>>2]+(Qwa(c,d,a)<<2)>>2];if((a|0)==-1){break e}i=q[g+124>>2];while(1){h=i+w(a,24)|0;if((c|0)==q[h>>2]&(d|0)==q[h+4>>2]){break d}a=q[h+16>>2];if((a|0)!=-1){continue}break}}a=Mi(c,d);q[b+4>>2]=Mi(e,f);q[b>>2]=a;Ai(4,36048,36900,b);break c}a=i+w(a,24)|0;if(q[a+8>>2]!=(e|0)|q[a+12>>2]!=(f|0)){c=Mi(c,d);a=Mi(q[a+8>>2],q[a+12>>2]);q[b+40>>2]=Mi(e,f);q[b+36>>2]=a;q[b+32>>2]=c;Ai(4,36048,36942,b+32|0);break c}a=q[g+88>>2];f:{if(!a){break f}a=q[q[g+84>>2]+(Qwa(c,d,a)<<2)>>2];if((a|0)==-1){break f}e=q[g+92>>2];while(1){f=e+(a<<4)|0;g=f;if((c|0)==q[g>>2]&(d|0)==q[g+4>>2]){break b}a=q[f+12>>2];if((a|0)!=-1){continue}break}}q[b+16>>2]=Mi(c,d);Ai(4,36048,37e3,b+16|0)}a=0;break a}a=q[(e+(a<<4)|0)+8>>2]}ti=b+48|0;return a|0}function Tma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=q[a>>2];c=Oi(36);q[c>>2]=0;q[c+4>>2]=0;q[c+32>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;e=q[a+16>>2];f=q[d+8>>2];e=e>>>0>>0?e:f;Ii(e,28,c,b,c+4|0);a:{b:{f=q[b>>2];b=q[c>>2];if(e>>>0<=(f-b|0)/28>>>0){q[c+4>>2]=b+w(e,28);b=q[c+20>>2];if(e>>>0>>0){break b}f=q[c+16>>2];g=Ji(e<<2);q[c+16>>2]=g;g=Gi(g,f,b<<2);q[c+20>>2]=e;if(b>>>0>>0){while(1){q[g+(b<<2)>>2]=b;b=b+1|0;if((e|0)!=(b|0)){continue}break}}yi(f);q[c+32>>2]=q[d>>2];if(e){b=0;while(1){d=q[c>>2];if((q[c+4>>2]-d|0)/28>>>0<=b>>>0){break a}d=d+w(b,28)|0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=0;q[d+16>>2]=-2;q[d+20>>2]=-2;q[d+12>>2]=-2;b=b+1|0;if((e|0)!=(b|0)){continue}break}}q[q[a+12>>2]>>2]=c;return 0}J(30550,30494,506,30569);G()}J(30891,30914,112,30652);G()}J(30483,30494,479,30472);G()}function Y7(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(b>>>0<8){d=b;break a}d=b;while(1){e=g;g=Owa(r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24),r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24),1540483477,-962287725);h=wi;i=Owa(Owa(g^h>>>15,h,1540483477,-962287725)^i,wi^e,1540483477,-962287725);g=wi;a=a+8|0;d=d-8|0;if(d>>>0>7){continue}break}}b:{switch(d-1|0){case 6:c=r[a+6|0]<<16;case 5:c=c|r[a+5|0]<<8;case 4:c=c^r[a+4|0];case 3:e=r[a+3|0];d=e>>>8|0;f=f^e<<24;c=c^d;case 2:d=r[a+2|0];e=d>>>16|0;f=f^d<<16;c=c^e;case 1:e=r[a+1|0];d=e>>>24|0;f=f^e<<8;c=c^d;case 0:f=Owa(r[a|0]^f,c,1540483477,-962287725);c=wi;break;default:break b}}a=c;c=Owa(Owa(f^a>>>15,a,1540483477,-962287725)^i,g^wi,1540483477,-962287725);e=wi;a=Owa(b,0,1540483477,-962287725);b=wi;a=Owa(a^b>>>15,b,1540483477,-962287725)^c;b=wi^e;a=Owa(a^b>>>15,b,1540483477,-962287725);b=wi;wi=b;return a^b>>>15}function oja(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;f=q[a+20>>2];if(!f){return-1}e=-1;a:{g=q[q[a+16>>2]+(Qwa(b,c,f)<<2)>>2];b:{if((g|0)==-1){break b}f=q[a+64>>2];i=q[a+24>>2];while(1){h=i+(g<<4)|0;if(q[h>>2]!=(b|0)|q[h+4>>2]!=(c|0)){g=q[h+12>>2];if((g|0)!=-1){continue}break b}break}if(!q[f+52>>2]){return-1e3}b=q[(i+(g<<4)|0)+8>>2];if(b>>>0>=t[f+8>>2]){break a}e=-3;b=q[f+4>>2]+w(b,40)|0;c=q[b+24>>2];if(c>>>0>6){break b}q[d+12>>2]=q[f+48>>2];e=q[d>>2]&-8192|q[b+12>>2]&8191;q[d>>2]=e;q[d>>2]=q[b+16>>2]<<13&67100672|e&-67100673;e=q[a+48>>2];p[d+4>>1]=xi[q[77510]](q[e>>2],q[e+4>>2]);a=q[a+48>>2];p[d+6>>1]=xi[q[77511]](q[a>>2],q[a+4>>2]);q[d>>2]=q[d>>2]&-1006632961|q[(c<<2)+300792>>2]<<26&1006632960;o[d+8|0]=q[b+20>>2];a=r[d+20|0]&-2|o[b+28|0]&1;o[d+20|0]=a;b=r[b+32|0];q[d+16>>2]=f;o[d+20|0]=b<<1&2|a&253;e=0}return e|0}J(36824,36836,88,36616);G()}function Q4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-80|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);f=Li(a,-1,q[81656],114346);Ci(a,-2);a:{b:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){d=Ri(a,1);c:{if(d<4294967296&d>=0){c=~~d>>>0;break c}c=0}g=c>>>0<=14;d=Ri(a,2);d:{if(d<4294967296&d>=0){e=~~d>>>0;break d}e=0}if(!(e>>>0<15?g:0)){q[b+24>>2]=e;q[b+20>>2]=c;q[b+16>>2]=110485;a=Bi(a,112304,b+16|0);break a}q[b+48>>2]=c;q[b+52>>2]=0;q[b+40>>2]=9;q[b+56>>2]=e;q[b+60>>2]=0;c=q[f+4>>2];if((c|0)==q[f+8>>2]){break b}q[f+4>>2]=c+40;a=q[b+76>>2];q[c+32>>2]=q[b+72>>2];q[c+36>>2]=a;a=b- -64|0;e=q[a+4>>2];q[c+24>>2]=q[a>>2];q[c+28>>2]=e;a=q[b+60>>2];q[c+16>>2]=q[b+56>>2];q[c+20>>2]=a;a=q[b+52>>2];q[c+8>>2]=q[b+48>>2];q[c+12>>2]=a;a=q[b+44>>2];q[c>>2]=q[b+40>>2];q[c+4>>2]=a;a=0;break a}J(110492,110389,475,114319);G()}q[b>>2]=(q[f+8>>2]-q[f>>2]|0)/40;a=Bi(a,110538,b)}ti=b+80|0;return a|0}function LH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];c:{if(!e){break c}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break c}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break b}f=q[e+20>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break d}e=q[a+20>>2];if((e|0)==-1){break a}e=g+w(e,24)|0;q[a+20>>2]=q[e+20>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;q[e+16>>2]=q[d+8>>2];q[e+20>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)!=-1){while(1){b=d+w(f,24)|0;f=q[b+20>>2];if((f|0)!=-1){continue}break}b=b+20|0}q[b>>2]=(e-d|0)/24;q[a+24>>2]=q[a+24>>2]+1;return}J(195393,195256,229,195401);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;q[a+16>>2]=q[d+8>>2];return}J(195405,195256,535,195467);G()}function yN(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-48|0;ti=e;f=Rj(a,b,e+44|0,48);a:{if(f){d=f-9472|0;break a}d=-9574;g=q[a>>2];if((g+q[e+44>>2]|0)!=(b|0)){break a}b:{if(b>>>0<=g>>>0){f=c;break b}f=c;while(1){q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;if((b-g|0)<1){d=-9568;break a}h=r[g|0];q[a>>2]=g+1;d=zq(a,b,e+40|0);if(d){d=d-9472|0;break a}if((h&192)!=128){d=-9570;break a}d=ET(f,e);if(!((d|0)==-8320|!d)){a=q[c+12>>2];if(a){while(1){b=q[a+12>>2];xi[q[68401]](a,0,16)|0;yi(a);a=b;if(a){continue}break}}q[c+12>>2]=0;break a}if(q[f+8>>2]){if(q[f+12>>2]){d=-9472;break a}d=f;f=Vj(1,16);q[d+12>>2]=f;if(!f){d=-9578;break a}}q[f>>2]=h;q[f+8>>2]=q[a>>2];d=q[e+40>>2];q[f+4>>2]=d;g=d+q[a>>2]|0;q[a>>2]=g;if(b>>>0>g>>>0){continue}break}}q[f+12>>2]=0;d=q[a>>2]==(b|0)?0:-9574}ti=e+48|0;return d}function x4(a,b){var c=0,d=0,e=0,f=0;d=ti-48|0;ti=d;c=q[74722];if(c){while(1){a:{if(q[c+8>>2]){q[d+40>>2]=b;q[d+24>>2]=a;e=q[c>>2];q[d+28>>2]=e;q[d+32>>2]=zi(e);q[d+36>>2]=wi;e=xi[q[c+8>>2]](d+24|0)|0;f=q[c>>2];if(e){c=25863;b:{c:{switch(e+21|0){case 18:c=25873;break b;case 17:c=25892;break b;case 16:c=25915;break b;case 15:c=25934;break b;case 14:c=25940;break b;case 13:c=25962;break b;case 12:c=25976;break b;case 11:c=25985;break b;case 10:c=25996;break b;case 9:c=26013;break b;case 8:c=26036;break b;case 7:c=26049;break b;case 6:c=26064;break b;case 5:c=26078;break b;case 4:c=26098;break b;case 2:c=26106;break b;case 1:c=26123;break b;case 0:c=26142;break b;default:c=26156;break b;case 19:break b;case 20:break c}}c=25850}q[d+4>>2]=c;q[d>>2]=f;Ai(4,24387,26266,d);break a}q[d+16>>2]=f;Ai(0,24387,26301,d+16|0)}c=q[c+12>>2];if(c){continue}}break}}ti=d+48|0}function _r(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,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=ti-256|0;ti=j;o=q[a+20>>2];f=o;p=q[a+16>>2];k=p;s=q[a+12>>2];h=s;t=q[a+8>>2];c=t;u=q[a+28>>2];e=u;v=q[a+32>>2];l=v;w=q[a+24>>2];d=w;x=q[a+36>>2];m=x;while(1){i=d;n=l;l=e;e=c;a:{if(g>>>0<=15){c=g<<2;c=r[(c|1)+b|0]<<16|r[b+c|0]<<24|r[(c|2)+b|0]<<8|r[(c|3)+b|0];break a}c=(g<<2)+j|0;d=q[c-8>>2];d=((Twa(d,15)^Twa(d,13)^d>>>10)+q[c-28>>2]|0)+q[c+ -64>>2]|0;c=q[c-60>>2];c=d+(Twa(c,25)^Twa(c,14)^c>>>3)|0}d=g<<2;q[d+j>>2]=c;y=f;f=(c+(q[d+150640>>2]+((Twa(i,26)^Twa(i,21)^Twa(i,7))+m|0)|0)|0)+((l^n)&i^n)|0;d=y+f|0;c=(f+(Twa(e,30)^Twa(e,19)^Twa(e,10))|0)+((e|h)&k|e&h)|0;f=k;k=h;h=e;e=i;m=n;g=g+1|0;if((g|0)!=64){continue}break}q[a+36>>2]=m+x;q[a+32>>2]=l+v;q[a+28>>2]=e+u;q[a+24>>2]=d+w;q[a+20>>2]=f+o;q[a+16>>2]=k+p;q[a+12>>2]=h+s;q[a+8>>2]=c+t;ti=j+256|0;return 0}function vE(a){var b=0;q[a+1316>>2]=10;q[a+1320>>2]=1e3;q[a+1308>>2]=0;q[a+1312>>2]=2;q[a+1344>>2]=1;q[a+1348>>2]=1e3;q[a+1324>>2]=0;q[a+1352>>2]=0;q[a+1328>>2]=14;q[a+1332>>2]=1;q[a+1336>>2]=1;q[a+1340>>2]=1;_B(a+1280|0);while(1){q[(b<<2)+a>>2]=12;b=b+1|0;if((b|0)!=256){continue}break}q[a+500>>2]=1;q[a+492>>2]=0;q[a+372>>2]=3;q[a+364>>2]=2;q[a+232>>2]=8;q[a+128>>2]=11;q[a>>2]=10;q[a+420>>2]=13;q[a+408>>2]=13;q[a+52>>2]=11;q[a+36>>2]=11;q[a+40>>2]=11;q[a+440>>2]=13;q[a+292>>2]=13;q[a+464>>2]=13;q[a+312>>2]=13;q[a+224>>2]=13;q[a+228>>2]=13;q[a+216>>2]=13;q[a+220>>2]=13;q[a+208>>2]=13;q[a+212>>2]=13;q[a+200>>2]=13;q[a+204>>2]=13;q[a+192>>2]=13;q[a+196>>2]=13;q[a+180>>2]=13;q[a+172>>2]=13;q[a+176>>2]=9;q[a+136>>2]=13;Fi(a+1024|0,0,256);o[a+1116|0]=92;o[a+1058|0]=34;o[a+1122|0]=8;o[a+1071|0]=47;o[a+1134|0]=10;p[a+1140>>1]=29961;o[a+1138|0]=13;o[a+1126|0]=12}function ky(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=ti-80|0;ti=h;e=q[a+4>>2];a:{if(e>>>0>>0){break a}d=h;q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+56>>2]=b;q[d+48>>2]=1;q[d+52>>2]=2;q[d+64>>2]=1;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;g=e-c|0;f=c>>>0>>0?c:g;q[d+68>>2]=f;q[d+72>>2]=d;d=q[a+8>>2]+(c<<2)|0;b=Gi(h,d,f<<2);q[b+68>>2]=f+2;if(c>>>0>>0){Fi(d,0,g<<2)}d=Fk(b- -64|0,b- -64|0,b+48|0);if(d){break a}d=Xr(a,a,b- -64|0);if(d){break a}g=q[a+4>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=g-c|0;d=c>>>0>>0?c:f;q[b+68>>2]=d;e=b;b=q[a+8>>2]+(c<<2)|0;e=Gi(e,b,d<<2);q[e+68>>2]=d+q[e+52>>2];if(c>>>0>>0){Fi(b,0,f<<2)}d=Fk(e- -64|0,e- -64|0,e+48|0);if(d){break a}d=Xr(a,a,e- -64|0)}ti=h+80|0;return d}function cz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=ti-16|0;ti=h;q[h+8>>2]=0;f=q[a+1984>>2]-q[a+1980>>2]|0;e=(f|0)/288|0;a:{b:{if(!f){break b}d=e;f=d;e=q[a+2e3>>2];g=q[a+1996>>2];c:{if((e|0)==q[a+2004>>2]){break c}q[a+2004>>2]=e;q[a+1996>>2]=0;q[a+1960>>2]=0;e=a+1948|0;q[e>>2]=0;q[e+4>>2]=0;g=0}i=f-g|0;if(!i){break b}e=ap(a,i);j=Ru(a,738,739,a)<<6;k=b<<4&48;f=0;d=e;while(1){g=q[a+1996>>2]+f|0;b=q[a+1980>>2];if(g>>>0>=(q[a+1984>>2]-b|0)/288>>>0){break a}b=w(g,288)+b|0;g=q[b+100>>2];l=q[b+96>>2];u[d+8>>2]=u[b+104>>2];q[d>>2]=l;q[d+4>>2]=g;q[d+36>>2]=q[d+36>>2]&-64|k;q[d+24>>2]=c;q[d+16>>2]=b;q[d+20>>2]=0;q[d+28>>2]=q[b+192>>2];q[d+32>>2]=q[q[b+180>>2]+80>>2];q[d+36>>2]=q[d+36>>2]&-16321|j;d=d+48|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}$o(a,e,d);d=(q[a+1984>>2]-q[a+1980>>2]|0)/288|0}q[a+1996>>2]=d;ti=h+16|0;return}J(108068,108079,479,108135);G()}function jX(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}c:{if((c|0)>=1){b=(q[a+12>>2]+(c<<4)|0)-16|0;b=b>>>0>2]?b:135744;break c}b=q[a+8>>2]+(c<<4)|0;if((c|0)>=-9999){break c}d:{switch(c+10002|0){case 2:b=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break c;case 0:b=a+72|0;break c;default:break d}}b=q[q[q[a+20>>2]+4>>2]>>2];b=r[b+7|0]<(-10002-c|0)?135744:(b+(0-c<<4)|0)-160024|0}c=0;if(!((d|0)==135744|(b|0)==135744)){c=cE(a,d,b)}return c}function ZI(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[q[a+12>>2]>>2];bj(c,-1e4,q[a>>2]);jk(c);Iy(q[a+368>>2]);b=q[c+8>>2];q[b+8>>2]=0;q[c+8>>2]=b+16;jk(c);f=q[a+32>>2];d=q[a+36>>2]-f|0;b=(d|0)/576|0;if(d){e=b>>>0>1?b:1;d=0;while(1){b=f+w(d,576)|0;g=q[b+416>>2];if(g){xi[q[a+376>>2]](q[a+388>>2],a,s[b+554>>1]|s[b+552>>1]<<16,g,q[b+512>>2])}b=q[b+420>>2];if(b){yi(b)}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Aj(c,-1e4,q[a>>2]);Aj(c,-1e4,q[a+4>>2]);Aj(c,-1e4,q[a+8>>2]);a:{c=q[a+12>>2];d=q[c+44>>2];f=q[c+40>>2];b=d-f|0;if(!b){break a}e=f-d|0;e=((b|0)<(e|0)?e:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(e,(b|0)<1?b:1);e=b>>>0>1?b:1;b=0;while(1){g=f+(b<<2)|0;if(q[g>>2]!=(a|0)){b=b+1|0;if((e|0)!=(b|0)){continue}break a}break}q[g>>2]=q[d-4>>2];b=q[c+44>>2]-4|0;q[c+44>>2]=b;if(b>>>0>=t[c+40>>2]){break a}J(196233,195579,516,196223);G()}Fi(R8(a),0,408);q[a+8>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2}function KS(a){var b=0,c=0;a:{if(!a){break a}b:{c:{d:{e:{switch(q[a+4>>2]-5|0){case 3:b=q[a+8>>2];if((r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))!=-834107862|(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))!=16843581){break d}c=274336;break a;case 4:break b;case 0:break e;default:break a}}if(pj(152495,q[a+8>>2],5)){break c}return 274356}a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-834107862|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=117506877){break a}return 274376}if(!pj(152530,q[a+8>>2],5)){return 274396}if(!pj(152546,q[a+8>>2],5)){return 274416}if(!pj(152562,q[a+8>>2],5)){return 274436}if(!pj(152578,q[a+8>>2],5)){return 274456}if(pj(152594,q[a+8>>2],5)){break a}return 274476}if(!pj(152610,q[a+8>>2],9)){return 274496}if(!pj(152651,q[a+8>>2],9)){return 274516}if(pj(152692,q[a+8>>2],9)){break a}return 274536}return c}function $t(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=q[a+128>>2];while(1){if(e>>>0<=63){o[d+i|0]=r[(a+e|0)- -64|0]^r[c+i|0];e=q[a+128>>2]+1|0;q[a+128>>2]=e;i=i+1|0;b=b-1|0;if(b){continue}break a}break}if(b>>>0>=64){h=a- -64|0;while(1){hM(a,h);q[a+48>>2]=q[a+48>>2]+1;e=0;while(1){g=e+i|0;o[g+d|0]=r[e+h|0]^r[c+g|0];f=g+1|0;o[f+d|0]=r[h+(e|1)|0]^r[c+f|0];f=g+2|0;o[f+d|0]=r[h+(e|2)|0]^r[c+f|0];f=g+3|0;o[f+d|0]=r[h+(e|3)|0]^r[c+f|0];f=g+4|0;o[f+d|0]=r[h+(e|4)|0]^r[c+f|0];f=g+5|0;o[f+d|0]=r[h+(e|5)|0]^r[c+f|0];f=g+6|0;o[f+d|0]=r[h+(e|6)|0]^r[c+f|0];g=g+7|0;o[g+d|0]=r[h+(e|7)|0]^r[c+g|0];g=e>>>0<56;e=e+8|0;if(g){continue}break}i=i- -64|0;b=b+ -64|0;if(b>>>0>63){continue}break}if(!b){break a}}hM(a,a- -64|0);q[a+48>>2]=q[a+48>>2]+1;e=0;while(1){h=e+i|0;o[h+d|0]=r[(a+e|0)- -64|0]^r[c+h|0];e=e+1|0;if((e|0)!=(b|0)){continue}break}q[a+128>>2]=b}return 0}function XI(a){var b=0,c=0,d=0,e=0,f=0;f=_q(a,1,-2,0);e=q[a+32>>2];c=q[a+36>>2]-e|0;if(c){d=(c|0)/576|0;while(1){c=e+w(b,576)|0;if(o[c+572|0]&1){Yz(a,s[c+554>>1]|s[c+552>>1]<<16,1);p[c+572>>1]=s[c+572>>1]&65534;d=(q[a+36>>2]-q[a+32>>2]|0)/576|0}b=b+1|0;if(d>>>0>b>>>0){continue}break}}d=q[a+232>>2];c=q[a+228>>2];e=d-c|0;b=(e|0)/12|0;a:{if(!e){break a}if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){Ks(q[a+192>>2],q[w(b,12)+c>>2]);b=b+1|0;if((d|0)==(b|0)){c=q[a+228>>2];break a}c=q[a+228>>2];if((q[a+232>>2]-c|0)/12>>>0>b>>>0){continue}break}}J(195730,195579,479,195741);G()}q[a+232>>2]=c;b=q[216159];c=b;d=q[216158];q[a+312>>2]=d;q[a+316>>2]=b;b=q[a+276>>2];q[a+280>>2]=b;b:{if((b|0)!=q[a+284>>2]){q[a+280>>2]=b+8;q[b>>2]=d;q[b+4>>2]=c;if(o[a+304|0]&1){break b}Ii(0,4,a+292|0,a+300|0,a+296|0);return f}J(195701,195579,533,195725);G()}J(196110,195579,493,195316);G()}function PH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];c:{if(!e){break c}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break c}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break b}f=q[e+20>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break d}e=q[a+20>>2];if((e|0)==-1){break a}e=g+w(e,24)|0;q[a+20>>2]=q[e+20>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];q[e+8>>2]=q[d>>2];q[e+12>>2]=f;q[e+16>>2]=q[d+8>>2];q[e+20>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)!=-1){while(1){b=d+w(f,24)|0;f=q[b+20>>2];if((f|0)!=-1){continue}break}b=b+20|0}q[b>>2]=(e-d|0)/24;q[a+24>>2]=q[a+24>>2]+1;return}J(40432,40295,229,40440);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;q[a+16>>2]=q[d+8>>2];return}J(40444,40295,535,40506);G()}function Kia(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;b=ti-112|0;ti=b;f=Zi(b+88|0,a,0,66701,291);e=q[a+8>>2]-q[a+12>>2]>>4;g=Tj(a);h=Mj(a,2);i=wi;j=Xi(a,3);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;qk(a,1,b+56|0,b+24|0);a:{if((e|0)<4){d=1;c=0;break a}mj(a,4,5);Qi(a,4);Ki(a,-1,66759);if(Ei(a,-1)){k=Ri(a,-1)}Ci(a,-2);Ki(a,-1,66774);if(Ei(a,-1)){l=Ri(a,-1)}Ci(a,-2);Ki(a,-1,66781);d=1;b:{if(!Ei(a,-1)){break b}d=Ri(a,-1)}Ci(a,-2);Ci(a,-2);c=0;if((e|0)<5){break a}c=0;if((Ei(a,5)|0)!=6){break a}Qi(a,5);c=ws(a)+2|0}q[b+8>>2]=j;q[b>>2]=h;q[b+4>>2]=i;u[b+20>>2]=d;u[b+16>>2]=l;u[b+12>>2]=k;a=q[62898];vo(b+24|0,b+56|0,q[a+8>>2],q[a+12>>2],g,c,a,b,24,0);Yi(f);ti=b+112|0;return 0}function wu(a){var b=0,c=0,d=0,e=0,f=0,g=0;axa(+a);e=Zwa(1)|0;Zwa(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){axa(+a);b=Zwa(1)|0;b=b&2147483647;if((b|0)==2146435072&(Zwa(0)|0)!=0|b>>>0>2146435072){return a}if(!(a>709.782712893384^1)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+v[(e<<3)+211456>>3];if(y(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=(e^1)-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=In(c,b)}return c}return a+1}function fs(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}c:{if((c|0)>=1){b=(q[a+12>>2]+(c<<4)|0)-16|0;b=b>>>0>2]?b:135744;break c}b=q[a+8>>2]+(c<<4)|0;if((c|0)>=-9999){break c}d:{switch(c+10002|0){case 2:b=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break c;case 0:b=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];b=r[a+7|0]<(-10002-c|0)?135744:(a+(0-c<<4)|0)-160024|0}a=0;if(!((d|0)==135744|(b|0)==135744)){a=Po(d,b)}return a}function _ia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-96|0;ti=b;i=Zi(b+32|0,a,1,60730,438);f=Xn(a,1,1,0);e=Mj(a,2);c=wi;d=c;g=Zi(b+72|0,a,1,60730,207);c=nr(f,e,c,b+68|0,b- -64|0);a:{if(c){a=b;if(c>>>0<=11){d=q[(c<<2)+273520>>2]}else{d=148526}q[a+16>>2]=d;sj(g,61764,b+16|0);break a}q[b+56>>2]=0;q[b+52>>2]=0;c=gt(f,e,d,b+60|0,b+56|0,b- -64|0,b+52|0);if(c){a=b;if(c>>>0<=11){d=q[(c<<2)+273520>>2]}else{d=148526}q[a>>2]=d;sj(g,61794,b);break a}h=q[b+68>>2];if(h>>>0>=9){Ai(3,60469,60477,0);if(t[b+68>>2]>=9){Ai(3,60469,60477,0)}sj(g,61825,0);break a}c=jj(a,48);q[c+8>>2]=e;q[c+12>>2]=d;q[c>>2]=f;q[c+16>>2]=q[b+60>>2];q[c+28>>2]=q[b+56>>2];q[c+32>>2]=q[b+52>>2];q[c+40>>2]=q[b+68>>2];f=q[b+64>>2];e=h<<2;q[c+24>>2]=q[e+244116>>2];q[c+20>>2]=q[e+244080>>2];q[c+36>>2]=f;Qi(a,1);q[c+44>>2]=kk(a,-1e4);Ki(a,-1e4,60528);ij(a,-2)}Yi(g);Yi(i);ti=b+96|0;return 1}function gz(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=q[a+4>>2];b=q[a>>2];c=d-b|0;b:{c:{if(!c){d:{if(o[a+28|0]&1){break d}b=q[a+16>>2];if(!b){break d}yi(b)}if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}yi(b);break c}e=q[a+16>>2];if((e|0)==q[a+20>>2]){break a}e:{if((b|0)!=(d|0)){d=b-d|0;d=((c|0)<(d|0)?d:c)>>>4|0;c=(c|0)>-1?c:-1;c=w(d,(c|0)<1?c:1);g=c>>>0>1?c:1;c=0;while(1){d=0;f=q[((c<<4)+b|0)+8>>2];if(f){while(1){if(q[e+12>>2]){b=0;while(1){yi(q[q[e+16>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}b=q[e+16>>2];if(b){yi(b)}e=e+20|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}c=c+1|0;if((g|0)==(c|0)){break e}b=q[a>>2];if(q[a+4>>2]-b>>4>>>0>c>>>0){continue}break}}break a}if(!a){break b}f:{if(o[a+28|0]&1){break f}b=q[a+16>>2];if(!b){break f}yi(b)}if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}yi(b)}yi(a)}return}J(107185,107196,479,107174);G()}function Pl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-240|0;ti=d;Gk(d+80|0,q[a+64>>2]+16|0,80);h=q[a+52>>2];g=q[a+4>>2];q[d+72>>2]=b;q[d+68>>2]=g;q[d+64>>2]=d+80;h=_i(h,136255,d- -64|0);if(c){g=q[a+52>>2];i=d;a:{if(c-284>>>0<=2){e=q[a+60>>2];c=q[e+4>>2];f=c+1|0;b=q[e+8>>2];b:{if(f>>>0<=b>>>0){b=q[e>>2];break b}if(b>>>0>=2147483646){Gk(d+160|0,q[a+64>>2]+16|0,80);c=q[a+52>>2];b=q[a+4>>2];q[d+24>>2]=136278;q[d+20>>2]=b;q[d+16>>2]=d+160;_i(c,136255,d+16|0);yj(q[a+52>>2],3);b=q[e+8>>2]}f=q[a+52>>2];c=b<<1;c:{if((c|0)!=-2){b=lj(f,q[e>>2],b,c);break c}b=Yj(f)}q[e+8>>2]=c;q[e>>2]=b;c=q[e+4>>2];f=c+1|0}q[e+4>>2]=f;o[b+c|0]=0;b=q[q[a+60>>2]>>2];break a}if((c|0)<=256){if((c|0)==127|c>>>0<32){q[d+48>>2]=c;b=_i(g,136243,d+48|0);break a}q[d+32>>2]=c;b=_i(g,136252,d+32|0);break a}b=q[(c<<2)+266636>>2]}q[i+4>>2]=b;q[d>>2]=h;_i(g,136265,d)}yj(q[a+52>>2],3);ti=d+240|0}function hQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(q[a+128>>2]!=22){Ij(a,2,10);return-30464}a:{b:{e=q[a+120>>2];if(r[e|0]==11){c=q[a+168>>2];d=r[q[a>>2]+184|0]&2?12:4;if(c>>>0>=d+6>>>0){break b}}break a}c:{e=d+e|0;if(!r[e|0]){d=d+3|0;if((d+(r[e+2|0]|r[e+1|0]<<8)|0)==(c|0)){break c}}break a}if(c>>>0>d>>>0){e=0;i=42;while(1){f=d+3|0;if(f>>>0>c>>>0){break a}g=q[a+120>>2];d=g+d|0;if(r[d|0]){break a}d:{h=r[d+2|0]|r[d+1|0]<<8;if(h>>>0>=128){d=f+h|0;if(d>>>0<=c>>>0){break d}}break a}if(!(o[q[a>>2]+184|0]&1|e|q[a+8>>2]!=1)){c=q[a+60>>2];if(rQ(q[c+96>>2],f+g|0,h)){Ij(a,2,49);return-31232}Tw(c);g=q[a+120>>2]}e:{c=ox(b,f+g|0,h);f:{if((c|0)<=-9601){if((c|0)==-9774){break e}if((c|0)!=-10368){break f}i=80;break f}if(!c){break e}if((c|0)!=-9600){break f}i=43}Ij(a,2,i);return c}e=e+1|0;c=q[a+168>>2];if(d>>>0>>0){continue}break}}return 0}Ij(a,2,50);return-31232}function bca(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,p=0;h=ti-16|0;ti=h;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(f+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}i=q[a+52>>2];g=q[a+48>>2];j=i-g|0;k=(j|0)/72|0;l=lv(c,d);if(l){c:{if(!j){break c}if((g|0)!=(i|0)){k=k>>>0>1?k:1;c=0;i=f+w(e,576)|0;while(1){e=r[l+12|0];d=(e|0)==255;f=d?0:e;e=d?4:e+1|0;if(f>>>0>>0){j=(q[l+8>>2]<<4)+i|0;n=d?4:1;m=w(c,72)+g|0;d=m;p=q[d>>2];g=0;while(1){if(!((b|0)!=(p|0)|q[m+4>>2]!=((f<<2)+j|0))){o[d+68|0]=r[d+68|0]|4;g=g+1|0;if((n|0)==(g|0)){break c}}f=f+1|0;if((e|0)!=(f|0)){continue}break}}c=c+1|0;if((k|0)==(c|0)){break c}g=q[a+48>>2];if((q[a+52>>2]-g|0)/72>>>0>c>>>0){continue}break}}break a}ti=h+16|0;return}q[h>>2]=Mi(c,d);Ai(4,193721,194879,h);ti=h+16|0;return}break a}J(193606,193630,3586,194903);G()}J(195730,195579,479,195741);G()}function Yr(a,b){var c=0,d=0,e=0,f=0;f=a+24|0;d=q[a>>2];e=d&63;o[f+e|0]=128;c=e+1|0;a:{if(e>>>0<=55){Fi((a+c|0)+24|0,0,55-e|0);break a}Fi((a+c|0)+24|0,0,e^63);as(a,f);c=f;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=q[a>>2]}o[a+83|0]=d>>>21;o[a+82|0]=d>>>13;o[a+81|0]=d>>>5;o[a+80|0]=d<<3;c=q[a+4>>2];o[a+87|0]=c>>>21;o[a+86|0]=c>>>13;o[a+85|0]=c>>>5;o[a+84|0]=c<<3|d>>>29;as(a,f);o[b|0]=q[a+8>>2];o[b+1|0]=q[a+8>>2]>>>8;o[b+2|0]=s[a+10>>1];o[b+3|0]=r[a+11|0];o[b+4|0]=q[a+12>>2];o[b+5|0]=q[a+12>>2]>>>8;o[b+6|0]=s[a+14>>1];o[b+7|0]=r[a+15|0];o[b+8|0]=q[a+16>>2];o[b+9|0]=q[a+16>>2]>>>8;o[b+10|0]=s[a+18>>1];o[b+11|0]=r[a+19|0];o[b+12|0]=q[a+20>>2];o[b+13|0]=q[a+20>>2]>>>8;o[b+14|0]=s[a+22>>1];o[b+15|0]=r[a+23|0];return 0}function is(a,b,c,d){var e=0,f=0,g=0,h=0;f=q[b+8>>2];a:{while(1){b:{if((f|0)==5){e=q[b>>2];f=os(e,c);c:{if(q[f+8>>2]){break c}e=q[e+8>>2];if(!e|o[e+6|0]&1){break c}e=On(e,0,q[q[a+16>>2]+188>>2]);if(e){break b}}a=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=a;q[d+8>>2]=q[f+8>>2];return}e=Pk(a,b,0);if(q[e+8>>2]){break b}nu(a,b,137655)}f=q[e+8>>2];if((f|0)!=6){b=e;g=g+1|0;if((g|0)==100){break a}continue}break}g=q[a+32>>2];f=q[e+4>>2];h=q[a+8>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;q[h+8>>2]=q[e+8>>2];f=q[b+4>>2];e=q[a+8>>2];q[e+16>>2]=q[b>>2];q[e+20>>2]=f;q[e+24>>2]=q[b+8>>2];b=q[c+4>>2];f=q[a+8>>2];q[f+32>>2]=q[c>>2];q[f+36>>2]=b;q[f+40>>2]=q[c+8>>2];e=q[a+8>>2];if((q[a+28>>2]-e|0)<=48){vk(a,3);e=q[a+8>>2]}q[a+8>>2]=e+48;El(a,e,1);c=q[a+8>>2]-16|0;q[a+8>>2]=c;b=q[a+32>>2]+(d-g|0)|0;a=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=a;q[b+8>>2]=q[c+8>>2];return}Hk(a,137661,0)}function D1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-272|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;Fi(b+8|0,0,264);zu(b+8|0);a:{if((d|0)<1){break a}mj(a,1,5);Qi(a,1);Ki(a,-1,125156);if(Ei(a,-1)){Ej(a,-1);Ci(a,-2);Ci(a,-2);break a}Ci(a,-2);Ci(a,-2)}gj(a,0,0);Ni(a,125170,12);Hi(a,b+8|0);tj(a,-3);Ni(a,125183,12);Hi(a,b+40|0);tj(a,-3);Ni(a,125196,11);Hi(a,b+72|0);tj(a,-3);Ni(a,125208,14);Hi(a,b+104|0);tj(a,-3);Ni(a,125223,11);Hi(a,b+136|0);tj(a,-3);Ni(a,125235,8);Hi(a,b+168|0);tj(a,-3);Ni(a,125244,15);Hi(a,b+176|0);tj(a,-3);Ni(a,125260,9);Hi(a,b+192|0);tj(a,-3);Ni(a,125270,10);c=q[b+200>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,125281,12);Hi(a,b+204|0);tj(a,-3);Ni(a,125294,10);c=q[b+268>>2];Hi(a,c?c:125305);tj(a,-3);if((d+1|0)==q[a+8>>2]-q[a+12>>2]>>4){a=q[b+268>>2];if(a){yi(a)}ti=b+272|0;return 1}J(124455,124351,703,125306);G()}function qV(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;d=ti+ -64|0;ti=d;e=-60;if(c>>>0<=64){g=a+228|0;a:{while(1){if((h|0)==257){e=-60;break a}e=C_(a);if(e){break a}f=1;i=q[a+224>>2];if((i|0)>=1){h=h+1|0;e=0;while(1){j=f;f=w(e,20)+g|0;f=t[f+8>>2]>2]?0:j;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(!f){continue}}break}q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;f=a+8|0;e=Or(f,d);if(e){break a}if(f){xi[q[68401]](f,0,216)|0}Ep(f);e=Dp(f,0);if(e){break a}e=Cp(f,d,64);if(e){break a}f=0;e=Qt(d,64,d,0);if(e){break a}a=q[a+224>>2];if((a|0)>=1){while(1){q[(w(f,20)+g|0)+8>>2]=0;f=f+1|0;if((a|0)!=(f|0)){continue}break}}Gi(b,d,c);e=0}xi[q[68401]](d,0,64)|0}ti=d- -64|0;return e|0}function RD(a,b,c){var d=0,e=0;if(c>>>0<=127){d=q[a>>2];if((d-b|0)<1){return-108}b=a;a=d-1|0;q[b>>2]=a;o[a|0]=c;return 1}a:{if(c>>>0<=255){d=q[a>>2];e=-108;if((d-b|0)<2){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=129;return 2}if(c>>>0<=65535){d=q[a>>2];e=-108;if((d-b|0)<3){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=130;return 3}d=q[a>>2];b=d-b|0;if(c>>>0<=16777215){e=-108;if((b|0)<4){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>16;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=131;return 4}e=-108;if((b|0)<5){break a}b=d-1|0;q[a>>2]=b;o[b|0]=c;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>8;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>16;b=q[a>>2]-1|0;q[a>>2]=b;o[b|0]=c>>>24;b=a;a=q[a>>2]-1|0;q[b>>2]=a;o[a|0]=132;e=5}return e}function EK(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=x(0);h=ti-80|0;ti=h;a:{if((c|0)==3){c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;c=q[d+12>>2];q[g+8>>2]=q[d+8>>2];q[g+12>>2]=c;c=q[d+20>>2];q[g+16>>2]=q[d+16>>2];q[g+20>>2]=c;break a}if((c&-2)!=4){break a}c=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=c;c=q[d+12>>2];q[g+8>>2]=q[d+8>>2];q[g+12>>2]=c;c=q[d+20>>2];q[g+16>>2]=q[d+16>>2];q[g+20>>2]=c;c=q[d+28>>2];q[g+24>>2]=q[d+24>>2];q[g+28>>2]=c}c=q[q[a>>2]>>2];j=q[c+8>>2]-q[c+12>>2]>>4;Ti(c);d=-1;i=Ei(c,-1);Ci(c,-2);if(!i){bj(c,-1e4,q[a+12>>2]);jk(c)}bj(c,-1e4,q[a+16>>2]);Hi(c,b);Vk(c,-2);b:{if(!Ei(c,-1)){break b}a=g+32|0;d=Iv(c,-1,a);if(d|!e){break b}k=u[((f<<2)+g|0)+40>>2];b=h+8|0;q[b>>2]=0;v[b+8>>3]=k;Gi(a,h+8|0,72);d=0}Ci(c,-3);if(!i){a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;jk(c)}if(q[c+8>>2]-q[c+12>>2]>>4!=(j|0)){J(13307,12848,939,13602);G()}ti=h+80|0;return d}function bv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=((j-g|0)/24|0)){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=w(f,24)+g|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=w(e,24)+g|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];d=q[d>>2];q[e+16>>2]=-1;q[e+8>>2]=d;q[e+12>>2]=f;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=w(f,24)+g|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-g|0)/24;break a}J(11409,11284,229,11417);G()}b=q[d+4>>2];a=w(f,24)+g|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;return}J(11421,11284,535,11483);G()}q[b>>2]=(e-g|0)/24;h=q[a+24>>2]}q[a+24>>2]=h+1}function aQ(a){var b=0,c=0,d=0,e=0,f=0;a:{c=Jn(a);b:{if(c){break b}if(q[a+128>>2]!=22){Ij(a,2,10);return-30464}c:{d=q[a+120>>2];if(r[d|0]==4){b=q[a+168>>2];e=r[q[a>>2]+184|0]&2?12:4;f=e+6|0;if(b>>>0>=f>>>0){break c}}break a}d=d+e|0;e=r[d+4|0]<<8|r[d+5|0];if((b|0)!=(e+f|0)){break a}f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=0;q[q[a+68>>2]+2268>>2]=0;q[a+4>>2]=12;if(!e){break b}b=q[a+60>>2];d:{if(!b){break d}c=q[b+104>>2];if(!c){break d}xi[q[68401]](c,0,q[b+108>>2])|0;yi(q[q[a+60>>2]+104>>2]);b=q[a+60>>2];q[b+104>>2]=0;q[b+108>>2]=0}b=q[a+64>>2];xi[q[68401]](q[b+104>>2],0,q[b+108>>2])|0;yi(q[q[a+64>>2]+104>>2]);b=q[a+64>>2];q[b+104>>2]=0;q[b+108>>2]=0;c=Vj(1,e);if(!c){Ij(a,2,80);return-32512}a=Gi(c,d+6|0,e);q[b+112>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);q[b+108>>2]=e;q[b+104>>2]=a;c=0;q[b+12>>2]=0}return c}Ij(a,2,50);return-28160}function RH(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,24)|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;f=q[d+4>>2];d=q[d>>2];q[e+16>>2]=-1;q[e+8>>2]=d;q[e+12>>2]=f;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,24)|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-d|0)/24;break a}J(63756,63619,229,63764);G()}b=q[d+4>>2];a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];q[a+12>>2]=b;return}J(63768,63619,535,63830);G()}q[b>>2]=(e-d|0)/24}q[a+24>>2]=q[a+24>>2]+1}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;d=ti-48|0;ti=d;e=q[65700];g=q[e+8>>2];h=q[e+12>>2];q[d+44>>2]=c;q[d+40>>2]=b;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;o[d+12|0]=0;o[d+13|0]=0;o[d+14|0]=0;o[d+15|0]=0;o[d+32|0]=0;o[d+33|0]=0;o[d+34|0]=0;o[d+35|0]=0;o[d+36|0]=0;o[d+37|0]=0;o[d+38|0]=0;o[d+39|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;o[d+29|0]=0;o[d+30|0]=0;o[d+31|0]=0;o[d+16|0]=0;o[d+17|0]=0;o[d+18|0]=0;o[d+19|0]=0;o[d+20|0]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;f=4515;a:{b:{if(gn(q[64918],d+8|0)){break b}if(!fk(0,d+8|0,g,h,0,e,d+40|0,8)){break a}f=4543}e=f;q[d>>2]=q[64918];Ai(4,1076,e,d)}u[a+484>>2]=x(1)/x(c>>>0);u[a+480>>2]=x(1)/x(b>>>0);a=q[a+292>>2];if(a){y8(a,b,c)}ofa(b,c);ti=d+48|0}function D6(a,b,c,d,e,f){var g=x(0),h=x(0),i=x(0),j=x(0),k=0,l=0,m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0);g=x(e*x(64));a:{if(g=x(0)){k=~~g>>>0;break a}k=0}l=w(k>>>0<63?k:63,12)+b|0;g=u[l>>2];h=u[l+8>>2];i=u[l+4>>2];l=q[a>>2];k=q[a+4>>2]-l|0;a=(k|0)/160|0;if(k){s=x(x(x(e-g)*h)+i);j=u[213284];e=u[c+8>>2];g=u[c+12>>2];m=u[213285];h=u[c>>2];n=u[213286];o=x(x(x(j*e)+x(g*m))-x(h*n));i=u[c+4>>2];p=x(x(n*e)+x(x(i*m)+x(j*h)));r=x(x(x(g*n)+x(m*h))-x(j*i));j=x(x(x(g*j)+x(i*n))-x(e*m));m=x(x(x(x(h*o)+x(x(x(e*p)+x(g*r))-x(i*j)))*f)*d);n=x(x(x(x(e*j)+x(x(x(g*o)+x(i*p))-x(h*r)))*f)*d);e=x(x(x(x(i*r)+x(x(x(g*j)+x(h*p))-x(e*o)))*f)*d);f=u[b+768>>2];c=a>>>0>1?a:1;a=0;while(1){b=l+w(a,160)|0;d=x(s+x(f*u[b+76>>2]));u[b+56>>2]=u[b+56>>2]+x(m*d);u[b+52>>2]=u[b+52>>2]+x(n*d);u[b+48>>2]=u[b+48>>2]+x(e*d);a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function uua(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=ti-48|0;ti=f;q[f+44>>2]=c;q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;c=q[w(e,12)+94688>>2];a:{if(1497965>>>e&1){if(1797559>>>e&1){if((d|0)<1){break a}e=0;while(1){qt(f+16|0,f+44|0,r[b+e|0],c);e=e+1|0;if((e|0)!=(d|0)){continue}break}break a}if((d|0)<1){break a}i=(d+2|0)/3|0;e=0;while(1){o[f+12|0]=0;q[f+8>>2]=0;h=w(e,3);g=d-h|0;g=(g|0)>3?3:g;if((g|0)>=1){Gi(f+8|0,b+h|0,g)}xua(f+16|0,f+8|0,f+44|0,c);e=e+1|0;if((i|0)!=(e|0)){continue}break}break a}if((d|0)<=0){break a}i=(d+4|0)/5|0;e=0;while(1){o[f+12|0]=0;q[f+8>>2]=0;h=w(e,5);g=d-h|0;g=(g|0)>5?5:g;if((g|0)>=1){Gi(f+8|0,b+h|0,g)}wua(f+16|0,f+8|0,f+44|0,c);e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[a>>2]=q[a>>2]|q[f+16>>2];q[a+4>>2]=q[a+4>>2]|q[f+20>>2];q[a+8>>2]=q[a+8>>2]|q[f+24>>2];q[a+12>>2]=q[a+12>>2]|q[f+28>>2];ti=f+48|0}function YL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=ti-48|0;ti=d;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;c=16;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;h=a+32|0;while(1){if(c){c=c-1|0;f=c+a|0;e=r[f|0]+1|0;o[f|0]=e;if((e|0)!=(e&255)){continue}}break}c=qm(h,1,a,d);a:{if(c){break a}c=16;f=d+16|0;while(1){if(c){c=c-1|0;g=c+a|0;e=r[g|0]+1|0;o[g|0]=e;if((e|0)!=(e&255)){continue}}break}c=qm(h,1,a,f);if(c){break a}f=d+32|0;c=16;while(1){if(c){c=c-1|0;g=c+a|0;e=r[g|0]+1|0;o[g|0]=e;if((e|0)!=(e&255)){continue}}break}c=qm(h,1,a,f);if(c){break a}c=0;while(1){e=d+c|0;o[e|0]=r[e|0]^r[b+c|0];c=c+1|0;if((c|0)!=48){continue}break}c=Bq(h,d,256);if(c){break a}b=q[d+36>>2];q[a>>2]=q[d+32>>2];q[a+4>>2]=b;b=q[d+44>>2];q[a+8>>2]=q[d+40>>2];q[a+12>>2]=b;c=0}xi[q[68401]](d,0,48)|0;ti=d+48|0;return c}function Ez(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/24|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,24)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+16>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+24;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,24)|0;q[a+20>>2]=q[e+16>>2]}q[e>>2]=b;q[e+4>>2]=c;q[e+8>>2]=q[d>>2];p[e+12>>1]=s[d+4>>1];q[e+16>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,24)|0;f=q[b+16>>2];if((f|0)!=-1){continue}break}q[b+16>>2]=(e-d|0)/24;break a}J(160625,160508,229,160633);G()}a=g+w(f,24)|0;q[a+8>>2]=q[d>>2];p[a+12>>1]=s[d+4>>1];return}J(160637,160508,535,160699);G()}q[b>>2]=(e-d|0)/24}q[a+24>>2]=q[a+24>>2]+1}function zZ(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-304|0;ti=b;c=Wi(a,1,0);q[b+300>>2]=0;q[b+272>>2]=0;q[b+276>>2]=0;q[b+288>>2]=0;q[b+292>>2]=0;q[b+280>>2]=0;q[b+284>>2]=0;q[b+272>>2]=1;q[b+264>>2]=0;q[b+268>>2]=0;q[b+268>>2]=0;c=ea(c|0,0,b+264|0,b+300|0)|0;a:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,Er(c));a=2;break a}gj(a,0,0);c=q[b+300>>2];if(c){d=1;while(1){b:{c:{d:{e=da(q[c+20>>2],q[c+16>>2],b|0,255,0,0,1)|0;if(!e){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;gj(a,0,0);e:{switch(q[c+4>>2]-2|0){case 0:break d;case 8:break e;default:break b}}Ni(a,131732,6);Ni(a,131621,5);break c}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,Er(e));a=2;break a}Ni(a,131732,6);Ni(a,131616,4)}$i(a,-3)}Ni(a,131739,4);Hi(a,b);$i(a,-3);$i(a,-3);d=d+1|0;c=q[c+28>>2];if(c){continue}break}a=q[b+300>>2]}else{a=0}yi(a);a=1}ti=b+304|0;return a|0}function zN(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;q[e+8>>2]=c;f=-10240;a:{if((a&223)!=128){break a}b=b+c|0;a=Rj(e+8|0,b,e+12|0,6);if(a){f=a-9472|0;break a}f=-8320;if(q[e+12>>2]!=8){break a}a=q[e+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=83953195|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=67634949){break a}a=a+8|0;b:{if(a>>>0>=b>>>0){break b}q[e+8>>2]=a;a=Rj(e+8|0,b,e+12|0,160);if(a){f=a-9472|0;break a}a=Rj(e+8|0,b,e+12|0,48);if(a){f=a-9472|0;break a}a=Rj(e+8|0,b,e+12|0,6);if(a){f=a-9472|0;break a}q[d+12>>2]=6;a=q[e+8>>2];q[d+20>>2]=a;c=q[e+12>>2];q[d+16>>2]=c;a=a+c|0;if(a>>>0>=b>>>0){break b}q[e+8>>2]=a;a=Rj(e+8|0,b,e+12|0,4);if(a){f=a-9472|0;break a}q[d+24>>2]=4;a=q[e+8>>2];q[d+32>>2]=a;c=q[e+12>>2];q[d+28>>2]=c;a=a+c|0;q[e+8>>2]=a;if((a|0)==(b|0)){f=0;break a}}xi[q[68401]](d,0,36)|0;f=-9574}ti=e+16|0;return f}function MN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;q[g+8>>2]=0;while(1){e=q[d+80>>2];f=(e<<3)+d|0;q[f+4>>2]=0;q[f>>2]=a;q[d+80>>2]=e+1;if(lx(a+168|0)){q[f+4>>2]=q[f+4>>2]|1}if(mx(a+144|0)){q[f+4>>2]=q[f+4>>2]|512}i=0;a:{if(h){break a}e=c;h=q[a+328>>2];b:{if(h){e=q[e>>2]>>>h-1&1?0:-1;break b}e=-1}if(e){q[f+4>>2]=q[f+4>>2]|16384}e=q[a+332>>2];c:{if(e){e=q[c+4>>2]>>>e-1&1?0:-1;break c}e=-1}if(e){q[f+4>>2]=q[f+4>>2]|32768}e=q[d+80>>2];if((e|0)==1){if(!QN(a,b)){break a}}PN(a,b,g+12|0,g+8|0,g+4|0,e-1|0,j);e=q[g+12>>2];if(!e){q[f+4>>2]=q[f+4>>2]|8;break a}i=q[d+80>>2];d:{if((i|0)!=1){j=!mw(a+80|0,a+112|0)+j|0;h=q[g+8>>2];if(h){break d}h=0;if(i>>>0<=8){break d}i=-12288;break a}h=q[g+8>>2]}if(!q[g+4>>2]){q[f+4>>2]=q[f+4>>2]|8}if(tB(c,e+204|0)){q[f+4>>2]=q[f+4>>2]|65536}q[g+4>>2]=0;q[g+12>>2]=0;a=e;continue}break}ti=g+16|0;return i}function z1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-4064|0;ti=b;d=Zi(b+4032|0,a,0,124351,1136);gj(a,0,0);if(ek(a,1)){Hi(a,Wi(a,1,0));Di(a,-2,125433)}if(ek(a,2)){Hi(a,Wi(a,2,0));Di(a,-2,125438)}if(ek(a,3)){Hi(a,Wi(a,3,0));Di(a,-2,125443)}if(ek(a,4)){Hi(a,Wi(a,4,0));Di(a,-2,125448)}if(ek(a,5)){Hi(a,Wi(a,5,0));Di(a,-2,125453)}if(ek(a,6)){Hi(a,Wi(a,6,0));Di(a,-2,125458)}f=SF(a,q[66880],b+32|0,4e3);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;a:{if(!gn(125405,b+4056|0)){c=q[b+4060>>2];g=c;e=q[b+4056>>2];if(!(c|e)){break a}q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b>>2]=e;q[b+4>>2]=g;c=q[66880];b:{if(fk(0,b,q[c+8>>2],q[c+12>>2],0,c,b+32|0,f)){h=sj(d,125463,0);break b}Ci(a,-2)}Yi(d);ti=b+4064|0;return h|0}J(125365,124351,1067,125413);G()}J(125426,124351,1068,125413);G()}function hX(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{switch(r[a+6|0]){default:c=q[a+20>>2];break c;case 1:break b;case 0:break d}}c=q[a+20>>2];if((c|0)==q[a+40>>2]){break b}}b=q[c>>2];q[a+8>>2]=b;c=Jj(a,135593,37);break a}c=s[a+52>>1];if(c>>>0>=200){b=q[q[a+20>>2]>>2];q[a+8>>2]=b;c=Jj(a,135576,16);break a}c=c+1|0;p[a+54>>1]=c;p[a+52>>1]=c;b=ou(a,1041,q[a+8>>2]-(b<<4)|0);e:{if(b){o[a+6|0]=b;c=q[a+8>>2];f=c;f:{g:{h:{switch(b-2|0){case 2:q[c>>2]=Jj(a,135534,17);d=4;break g;case 3:q[c>>2]=Jj(a,135552,23);d=4;break g;case 0:case 1:break h;default:break f}}e=c-16|0;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[e+8>>2]}q[f+8>>2]=d}c=c+16|0;q[a+8>>2]=c;q[q[a+20>>2]+8>>2]=c;break e}b=r[a+6|0]}p[a+52>>1]=s[a+52>>1]-1;return b}q[b+8>>2]=4;q[b>>2]=c;if((q[a+28>>2]-q[a+8>>2]|0)<=16){b=q[a+44>>2];dn(a,(b|0)<1?b+1|0:b<<1)}q[a+8>>2]=q[a+8>>2]+16;return 2}function pq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=ti-80|0;ti=f;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;q[f+60>>2]=0;g=f- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[f+72>>2]=0;q[f+76>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+12>>2]=0;g=q[e>>2];if(g){g=q[g+8>>2]}else{g=0}j=g&255;a:{if(!b){break a}while(1){h=-20736;g=e;b:{if(!g){break b}i=q[g>>2];if(!i){break b}h=xi[q[i+16>>2]](q[g+4>>2])|0}if(h){break a}h=Ln(g,c,d);if(h){break a}h=Ln(g,f+12|0,4);if(h){break a}i=f+16|0;h=-20736;c:{if(!g){break c}g=q[e>>2];if(!g){break c}h=xi[q[g+24>>2]](q[e+4>>2],i)|0}if(h){break a}h=0;g=b>>>0>>0?b:j;if(g){while(1){o[a|0]=r[a|0]^r[(f+16|0)+h|0];a=a+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}o[f+15|0]=r[f+15|0]+1;b=b-g|0;if(b){continue}break}h=0}xi[q[68401]](f+16|0,0,64)|0;ti=f+80|0;return h}function gl(a){var b=0,c=0,d=0;if(a){c=a;while(1){b=c+204|0;if(b){d=q[b>>2];if(d){xi[q[d+40>>2]](q[b+4>>2])}xi[q[68401]](b,0,8)|0}yi(q[c+336>>2]);b=q[c+104>>2];if(b){while(1){d=q[b+24>>2];xi[q[68401]](b,0,32)|0;yi(b);b=d;if(b){continue}break}}b=q[c+136>>2];if(b){while(1){d=q[b+24>>2];xi[q[68401]](b,0,32)|0;yi(b);b=d;if(b){continue}break}}b=q[c+308>>2];if(b){while(1){d=q[b+12>>2];xi[q[68401]](b,0,16)|0;yi(b);b=d;if(b){continue}break}}b=q[c+260>>2];if(b){while(1){d=q[b+12>>2];xi[q[68401]](b,0,16)|0;yi(b);b=d;if(b){continue}break}}b=q[c+276>>2];if(b){while(1){d=q[b+12>>2];xi[q[68401]](b,0,16)|0;yi(b);b=d;if(b){continue}break}}b=q[c+12>>2];if(!(!b|!q[c>>2])){xi[q[68401]](b,0,q[c+8>>2])|0;yi(q[c+12>>2])}c=q[c+340>>2];if(c){continue}break}b=a;while(1){c=q[b+340>>2];xi[q[68401]](b,0,344)|0;if((a|0)!=(b|0)){yi(b)}b=c;if(b){continue}break}}}function As(a){var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;a:{b:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-2){b=q[81756];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);c:{d:{if(Kl(a,-1)){Ni(a,117296,32);Vk(a,-2);Xk(a,-2);if(Ei(a,-1)){break d}Ci(a,-2)}Ci(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break c}hk(a,-2);zk(a,1,1);if((Ei(a,-1)|0)!=3){break b}f=xj(a,-1);Ci(a,-2);if(y(f)<2147483648){b=~~f}else{b=-2147483648}if((b|0)==-2){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break c}bj(a,-1e4,b)}b=d+1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)!=(a|0)){break a}ti=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=984;q[c+8>>2]=1;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}J(118211,117392,1004,118896);G()}q[c+28>>2]=a;q[c+24>>2]=b;q[c+20>>2]=984;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function mda(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;g=ti-16|0;ti=g;jc(q[a>>2],b|0,d|0,g+4|0,g+12|0,g+8|0,c|0);b=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{a=q[g+8>>2];switch(a-5120|0){case 0:break a;case 5:break j;case 4:break k;case 3:break l;case 2:break m;case 1:break n;case 6:break i;default:break o}}switch(a-35666|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 13:break c;case 14:break e;case 12:break f;case 10:break g;case 0:break h;default:break d}}b=1;break a}b=2;break a}b=3;break a}b=4;break a}b=5;break a}b=6;break a}b=7;break a}b=8;break a}b=9;break a}b=10;break a}if((a|0)==36289){break b}}b=-1;break a}b=11}q[e>>2]=b;q[f>>2]=q[g+12>>2];p:{if(!(r[q[77547]+156|0]&64)){break p}a=K()|0;if(!a){break p}Vi(a,87849,2216);J(84254,84160,2216,87849);G()}ti=g+16|0;return q[g+4>>2]}function ZK(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+4>>2];wj(q[c+29080>>2]);a:{b:{e=q[c+29084>>2];b=q[c+29088>>2];c:{if((e|0)==(b|0)){break c}b=b-e|0;f=b>>2;while(1){if(q[(d<<2)+e>>2]==(a|0)){f=b>>2;b=f-1|0;if(b>>>0>d>>>0){while(1){b=d+1|0;if(b>>>0>=f>>>0|d>>>0>=f>>>0){break a}q[(d<<2)+e>>2]=q[(b<<2)+e>>2];d=b;e=q[c+29084>>2];f=q[c+29088>>2]-e>>2;b=f-1|0;if(d>>>0>>0){continue}break}}if(q[c+29092>>2]-e>>2>>>0>>0){break b}q[c+29088>>2]=(b<<2)+e;break c}d=d+1|0;if(f>>>0>d>>>0){continue}break}}qj(q[c+29080>>2]);Pp(q[a>>2],26,a);d=q[a+3220>>2];b=d;c=q[a+3216>>2];if(b|c){_G(c,b);Rm(q[a+3216>>2],q[a+3220>>2]);q[a+3216>>2]=0;q[a+3220>>2]=0}d=q[a+3228>>2];b=d;c=q[a+3224>>2];if(b|c){_G(c,b);Rm(q[a+3224>>2],q[a+3228>>2]);q[a+3224>>2]=0;q[a+3228>>2]=0}q[q[a+8>>2]>>2]=0;q[a+8>>2]=0;return}J(10042,10061,506,10117);G()}J(12518,10061,479,9553);G()}function I_(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=ti-128|0;ti=h;f=lo(b,c);a:{if(f){break a}i=d-1|0;g=w(i,e);if(g){c=0;while(1){f=(c>>>0)/(e>>>0)|0;j=1<>>1|0,36)+b|0);if(f){break a}}f=ly(a,d,d);if(f){break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=1;b:{c:{g=1<>>0>1){d=0;while(1){q[(d<<2)+h>>2]=w(c,36)+b;d=d+1|0;c=c<<1&254;if(g>>>0>c>>>0){continue}break}f=iy(a,h,d);if(f){break a}i=0;e=h;if(g>>>0<2){break b}d=1;break c}i=0;f=iy(a,h,0);if(f){break a}e=h;break b}while(1){j=w(d,36)+b|0;c=d;while(1){if(c){c=c-1|0;f=my(a,w(d+c|0,36)+b|0,w(c,36)+b|0,j);if(!f){continue}break a}break}d=d<<1&254;if(g>>>0>d>>>0){continue}break}if(g>>>0<2){break b}d=b+36|0;c=0;b=1;while(1){q[(c<<2)+h>>2]=d+w(c,36);i=b;c=b;b=c+1|0;if((g|0)!=(b|0)){continue}break}}f=iy(a,e,i)}ti=h+128|0;return f}function Wl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=ti-160|0;ti=d;c=b&255;i=c>>>0<16?q[q[a>>2]+72>>2]+w(c,148)|0:0;Lz(q[q[a>>2]+72>>2],i,d+32|0);a:{if(!r[d+32|0]){break a}e=Ps(d+32|0);b:{c:{d:{f=q[a>>2];g=q[f+12>>2];e:{if(!g){break e}j=q[f+8>>2];c=q[j+((e>>>0)%(g>>>0)<<2)>>2];if((c|0)!=-1){k=q[f+16>>2];while(1){l=w(c,184)+k|0;if((e|0)==q[l>>2]){break d}c=q[l+180>>2];if((c|0)!=-1){continue}break}}e=q[212970];c=q[((e>>>0)%(g>>>0)<<2)+j>>2];if((c|0)==-1){break e}f=q[f+16>>2];while(1){g=f+w(c,184)|0;if(q[g>>2]==(e|0)){break c}c=q[g+180>>2];if((c|0)!=-1){continue}break}}q[d>>2]=b;q[d+4>>2]=d+32;Ai(3,143998,144505,d);break a}e=q[212970];c=(w(c,184)+k|0)+4|0;break b}c=(f+w(c,184)|0)+4|0}if(q[c>>2]==(e|0)){q[d+16>>2]=b;q[d+20>>2]=d+32;Ai(3,143998,144556,d+16|0)}h=Oi(348);Fi(h+4|0,0,344);q[h>>2]=i;pz(a,h,b)}ti=d+160|0;return h}function aea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(b>>>0<2097152){f=a+1|0;b:{if(f>>>0<2){break b}c=a&65535;b=q[77547];if(c>>>0>=t[b+32>>2]){break a}e=q[q[b+24>>2]+(c<<2)>>2];if(!e){break b}d=s[q[b+28>>2]+(c<<1)>>1]==(a>>>16|0)?e:0}zc(1,d+332|0);b=q[d+292>>2];c=b;e=q[d+288>>2];if(b|e){xi[q[77502]](e,c)}b=q[d+300>>2];c=b;e=q[d+296>>2];if(b|e){xi[q[77502]](e,c)}b=q[d+308>>2];c=b;e=q[d+304>>2];if(b|e){xi[q[77502]](e,c)}b=q[d+316>>2];c=b;e=q[d+312>>2];if(b|e){xi[q[77502]](e,c)}if(q[d+328>>2]){Ca(1,d+328|0)}if(q[d+320>>2]){Ca(1,d+320|0)}if(q[d+324>>2]){Ca(1,d+324|0)}c:{if(f>>>0<2){break c}c=a&65535;b=q[77547];if(c>>>0>=t[b+32>>2]){break a}f=q[b+24>>2]+(c<<2)|0;if(!q[f>>2]){break c}c=c<<1;if(s[c+q[b+28>>2]>>1]!=(a>>>16|0)){break c}q[f>>2]=0;p[c+q[b+28>>2]>>1]=0}yi(d);return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function F5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{d=q[a+4>>2];c:{if(!d){break c}d=q[q[a>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break c}f=q[a+8>>2];while(1){e=f+w(d,40)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+32>>2];if((d|0)!=-1){continue}break c}break}e=q[a+32>>2];g=q[a+36>>2]-e>>4;d=f+w(d,40)|0;f=q[d+16>>2];if(g>>>0<=f>>>0){break b}e=e+(f<<4)|0;d=q[d+20>>2];Sk(e,e+(d<<4)|0,g-(d+f|0)<<4);Q7(a,b,c);b=q[a+32>>2];c=(q[a+36>>2]-b>>4)-d|0;if(c>>>0>q[a+40>>2]-b>>4>>>0){break a}q[a+36>>2]=b+(c<<4);e=q[a+4>>2];if(!e){break c}g=d&2147483647;i=q[a>>2];b=0;while(1){d=q[(b<<2)+i>>2];if((d|0)!=-1){j=q[a+8>>2];while(1){c=w(d,40)+j|0;d=c;h=q[d+16>>2];if(f>>>0>>0){q[d+16>>2]=h-g}d=q[c+32>>2];if((d|0)!=-1){continue}break}}b=b+1|0;if((e|0)!=(b|0)){continue}break}}return}J(106571,106507,479,106582);G()}J(106488,106507,506,106563);G()}function E5(a){var b=0;a:{if(o[a+2172|0]&1){break a}b=q[a+2152>>2];if(b){yi(b)}b=q[a+2144>>2];if(!b){break a}yi(b)}b:{if(o[a+2132|0]&1){break b}b=q[a+2120>>2];if(!b){break b}yi(b)}c:{if(o[a+2116|0]&1){break c}b=q[a+2104>>2];if(!b){break c}yi(b)}d:{if(o[a+2100|0]&1){break d}b=q[a+2088>>2];if(!b){break d}yi(b)}e:{if(o[a+2084|0]&1){break e}b=q[a+2072>>2];if(!b){break e}yi(b)}f:{if(o[a+2068|0]&1){break f}b=q[a+2056>>2];if(!b){break f}yi(b)}g:{if(o[a+2052|0]&1){break g}b=q[a+2040>>2];if(!b){break g}yi(b)}h:{if(o[a+2032|0]&1){break h}b=q[a+2020>>2];if(!b){break h}yi(b)}i:{if(o[a+1992|0]&1){break i}b=q[a+1980>>2];if(!b){break i}yi(b)}j:{if(o[a+1976|0]&1){break j}b=q[a+1964>>2];if(!b){break j}yi(b)}k:{if(o[a+1932|0]&1){break k}b=q[a+1920>>2];if(!b){break k}yi(b)}l:{if(o[a+1916|0]&1){break l}b=q[a+1904>>2];if(!b){break l}yi(b)}return a}function KM(a,b,c,d){var e=0,f=0;f=d&65535;e=q[a+5820>>2];d=s[a+5816>>1]|f<>1]=d;a:{if((e|0)>=14){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=r[a+5817|0];e=q[a+5820>>2];d=f>>>16-e|0;p[a+5816>>1]=d;e=e-13|0;break a}e=e+3|0}b:{c:{if((e|0)>=9){e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;d=q[a+20>>2];q[a+20>>2]=d+1;e=d+q[a+8>>2]|0;d=r[a+5817|0];break c}if((e|0)<1){break b}e=q[a+20>>2];q[a+20>>2]=e+1;e=e+q[a+8>>2]|0}o[e|0]=d}q[a+5820>>2]=0;p[a+5816>>1]=0;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=c;d=q[a+20>>2];q[a+20>>2]=d+1;o[d+q[a+8>>2]|0]=c>>>8;d=q[a+20>>2];q[a+20>>2]=d+1;e=d+q[a+8>>2]|0;d=c^-1;o[e|0]=d;e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d>>>8;if(c){while(1){d=r[b|0];e=q[a+20>>2];q[a+20>>2]=e+1;o[e+q[a+8>>2]|0]=d;b=b+1|0;c=c-1|0;if(c){continue}break}}}function nV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=-20;if(c-4>>>0<=12){d=q[a+328>>2];f=q[a+332>>2];e=q[a+320>>2];g=q[a+324>>2];j=Gi(b,a+336|0,c);b=f<<3|d>>>29;h=d<<3;i=e<<3;if(!(h|i|(b|(g<<3|e>>>29)))){return 0}b=f;o[a+368|0]=r[a+368|0]^b>>>21;o[a+369|0]=r[a+369|0]^b>>>13;o[a+370|0]=r[a+370|0]^b>>>5;o[a+371|0]=r[a+371|0]^((b&536870911)<<3|d>>>29);o[a+372|0]=r[a+372|0]^d>>>21;o[a+373|0]=r[a+373|0]^d>>>13;o[a+374|0]=r[a+374|0]^d>>>5;o[a+375|0]=h^r[a+375|0];b=g;o[a+376|0]=r[a+376|0]^b>>>21;o[a+377|0]=r[a+377|0]^b>>>13;o[a+378|0]=r[a+378|0]^b>>>5;o[a+379|0]=r[a+379|0]^((b&536870911)<<3|e>>>29);o[a+380|0]=r[a+380|0]^e>>>21;o[a+381|0]=r[a+381|0]^e>>>13;o[a+382|0]=r[a+382|0]^e>>>5;o[a+383|0]=i^r[a+383|0];b=a+368|0;qs(a,b,b);f=0;b=0;while(1){g=b+j|0;o[g|0]=r[g|0]^r[(a+b|0)+368|0];b=b+1|0;if((c|0)!=(b|0)){continue}break}}return f}function $P(a){var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=q[a+108>>2];q[a+128>>2]=r[b|0];qx(c+12|0,c+8|0,q[q[a>>2]+184>>2]>>>1&1,b+1|0);a:{if((r[a+128|0]&252)==20?0:-29184){b=-29184;if(r[q[a>>2]+184|0]&2){break a}Ij(a,2,10);break a}if(q[c+12>>2]!=q[a+16>>2]){b=-29184;break a}if(q[c+8>>2]>r[q[a>>2]+181|0]){b=-29184;break a}b=sx(a,q[a+116>>2]-q[a+108>>2]|0);if(b){break a}b=q[a+112>>2];d=r[b|0]<<8|r[b+1|0];q[a+132>>2]=d;if((q[a+100>>2]-q[a+120>>2]|0)+16749>>>0>>0){b=-29184;break a}if(r[q[a>>2]+184|0]&2){b=s[a+140>>1];e=q[a+104>>2];e=r[e|0]<<8|r[e+1|0];if((b|0)!=(e|0)){b=(e|0)==(b+1|0)?-25728:-26368;break a}b=-26368;if(oU(a)){break a}}b=q[a+72>>2];b:{if(!b){b=-29184;if(d-1>>>0<=16383){break b}break a}b=q[b>>2];if(b>>>0>d>>>0){b=-29184;break a}if(b+16640>>>0>=d>>>0){break b}b=-29184;if(q[a+20>>2]>0){break a}}b=0}ti=c+16|0;return b}function wz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/24|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,24)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+16>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+24;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,24)+f|0;q[a+20>>2]=q[d+16>>2]}q[d>>2]=b;e=q[c+4>>2];c=q[c>>2];q[d+16>>2]=-1;q[d+8>>2]=c;q[d+12>>2]=e;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,24)+f|0;e=q[b+16>>2];if((e|0)!=-1){continue}break}q[b+16>>2]=(d-f|0)/24;break a}J(27248,27072,229,27256);G()}b=q[c+4>>2];a=w(e,24)+f|0;q[a+8>>2]=q[c>>2];q[a+12>>2]=b;return}J(27260,27072,535,27322);G()}q[b>>2]=(d-f|0)/24;g=q[a+24>>2]}q[a+24>>2]=g+1}function Ypa(a){var b=0;b=q[a+4>>2];if(b){yi(b)}b=q[a+8>>2];if(b){yi(b)}b=q[a+12>>2];if(b){yi(b)}b=q[a+16>>2];if(b){yi(b)}b=q[a+20>>2];if(b){yi(b)}b=q[a+24>>2];if(b){yi(b)}b=q[a+28>>2];if(b){yi(b)}b=q[a+32>>2];if(b){yi(b)}b=q[a+36>>2];if(b){yi(b)}b=q[a+40>>2];if(b){yi(b)}b=q[a+44>>2];if(b){yi(b)}b=q[a+48>>2];if(b){yi(b)}b=q[a+52>>2];if(b){yi(b)}b=q[a+56>>2];if(b){yi(b)}b=q[a+60>>2];if(b){yi(b)}b=q[a- -64>>2];if(b){yi(b)}b=q[a+68>>2];if(b){yi(b)}b=q[a+72>>2];if(b){yi(b)}b=q[a+76>>2];if(b){yi(b)}b=q[a+80>>2];if(b){yi(b)}b=q[a+84>>2];if(b){yi(b)}b=q[a+88>>2];if(b){yi(b)}b=q[a+92>>2];if(b){yi(b)}b=q[a+96>>2];if(b){yi(b)}b=q[a+100>>2];if(b){yi(b)}b=q[a+104>>2];if(b){yi(b)}b=q[a+108>>2];if(b){yi(b)}b=q[a+112>>2];if(b){yi(b)}b=q[a+116>>2];if(b){yi(b)}b=q[a+120>>2];if(b){yi(b)}b=q[a+124>>2];if(b){yi(b)}a=q[a+128>>2];if(a){yi(a)}}function soa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-16|0;ti=b;g=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[60170],b+12|0)){h=q[a+4>>2];c=q[q[a+32>>2]+8>>2];d=q[c>>2];i=(r[d+3272|0]&16)>>>4|0;if(i){bt(c)}ZK(d);q[b+8>>2]=0;a:{b:{g=gL(q[a>>2],h,q[b+12>>2],q[a+16>>2],b+8|0);if(!g){e=q[b+8>>2];f=q[e>>2];q[c>>2]=f;q[d+8>>2]=e;q[e>>2]=d;q[f+8>>2]=c;if(i){if(!Zs(c)){break b}d=q[e>>2]}lr(d);a=q[a+32>>2];q[a+12>>2]=0;d=a;a=q[c>>2];q[d+16>>2]=((((((s[a+1056>>1]<<1)+q[a+3136>>2]|0)+q[a+3184>>2]-(q[a+3128>>2]+q[a+3176>>2])|0)+w(q[a+3160>>2]-q[a+3152>>2]>>4,12)|0)+q[a+1044>>2]|0)-q[a+1036>>2]|0)+3284;break a}GA(d,q[q[b+12>>2]>>2],q[a>>2],h,c);break a}q[b>>2]=q[q[b+12>>2]>>2];Ai(3,19735,20321,b);bt(c);q[c>>2]=d;q[d+8>>2]=c;q[e>>2]=f;q[f+8>>2]=e;lr(f);GA(d,q[q[b+12>>2]>>2],q[a>>2],h,c);Zs(c);g=-21}cj(q[b+12>>2])}ti=b+16|0;return g|0}function fQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){return 0}h=q[a+68>>2];g=q[a+28>>2];a:{if(g){f=a+32|0;break a}d=q[a>>2];f=d+56|0;g=q[d+52>>2]}d=q[f>>2];f=q[h+464>>2];b:{if(f){e=q[a>>2];break b}e=q[a>>2];f=q[e+88>>2]}h=q[h+1120>>2];e=JN(c,f,q[e+80>>2],q[a+236>>2],q[a+64>>2]+100|0,g,d);g=0;d=c+204|0;c:{if(!d){break c}d=q[d>>2];if(!d){break c}g=xi[q[d+12>>2]](2)|0}d:{if(!g){break d}if(!eD(a,q[q[c+208>>2]>>2])){break d}d=q[a+64>>2];q[d+100>>2]=q[d+100>>2]|65536;e=e?e:-31232}c=(i=e,j=uU(c,h,(q[q[a>>2]+184>>2]^-1)&1,q[a+64>>2]+100|0)?-31232:e,k=e,k?i:j);if(!((b|0)!=1|((c|0)!=-31232?(c|0)!=-9984:0))){c=0}c=(b|0)==2?f?c:-30336:c;if(!c){return 0}b=a;a=q[q[a+64>>2]+100>>2];d=49;e:{if(a&256){break e}d=42;if(a&4){break e}d=43;if(a&112640){break e}d=45;if(a&1){break e}d=44;if(a&2){break e}d=a&8?48:46}Ij(b,2,d);return c}function Y1(a){a=a|0;var b=0,c=0,d=0;b=ti-144|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=b+112|0;if(pD(Wi(a,1,b+140|0),q[b+140>>2],c)){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0}q[b+16>>2]=r[b+116|0];q[b+20>>2]=r[b+117|0];q[b+24>>2]=r[b+118|0];q[b+28>>2]=r[b+119|0];q[b+32>>2]=r[b+120|0];q[b+36>>2]=r[b+121|0];q[b+40>>2]=r[b+122|0];q[b+44>>2]=r[b+123|0];q[b+48>>2]=r[b+124|0];q[b+52>>2]=r[b+125|0];q[b+56>>2]=r[b+126|0];q[b+60>>2]=r[b+127|0];q[b>>2]=r[b+112|0];q[b+4>>2]=r[b+113|0];q[b+8>>2]=r[b+114|0];q[b+12>>2]=r[b+115|0];hj(b- -64|0,33,120275,b);Hi(a,b- -64|0);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(119994,120019,133,120340);G()}ti=b+144|0;return 1}function JV(a,b){var c=0,d=0;Gp(a,b);b=q[a>>2];c=q[a+4>>2];d=q[a+124>>2];q[a>>2]=q[a+120>>2];q[a+4>>2]=d;q[a+120>>2]=b;q[a+124>>2]=c;b=q[a+8>>2];c=q[a+12>>2];d=q[a+116>>2];q[a+8>>2]=q[a+112>>2];q[a+12>>2]=d;q[a+112>>2]=b;q[a+116>>2]=c;b=q[a+104>>2];c=q[a+108>>2];d=q[a+20>>2];q[a+104>>2]=q[a+16>>2];q[a+108>>2]=d;q[a+16>>2]=b;q[a+20>>2]=c;b=q[a+24>>2];q[a+24>>2]=q[a+96>>2];q[a+96>>2]=b;b=q[a+100>>2];q[a+100>>2]=q[a+28>>2];q[a+28>>2]=b;b=q[a+88>>2];q[a+88>>2]=q[a+32>>2];q[a+32>>2]=b;b=q[a+92>>2];q[a+92>>2]=q[a+36>>2];q[a+36>>2]=b;b=q[a+80>>2];q[a+80>>2]=q[a+40>>2];q[a+40>>2]=b;b=q[a+84>>2];q[a+84>>2]=q[a+44>>2];q[a+44>>2]=b;b=q[a+72>>2];q[a+72>>2]=q[a+48>>2];q[a+48>>2]=b;b=q[a+76>>2];q[a+76>>2]=q[a+52>>2];q[a+52>>2]=b;b=q[a+64>>2];q[a+64>>2]=q[a+56>>2];q[a+56>>2]=b;b=q[a+68>>2];q[a+68>>2]=q[a+60>>2];q[a+60>>2]=b;return 0}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;g=ti-16|0;ti=g;a:{b:{b=q[b>>2];c:{if(q[b+160>>2]>-1){break c}c=q[b+136>>2];d=q[c+12>>2];e=q[c+8>>2];b=d-e|0;if(!b){break c}i=q[c+4>>2];h=q[c>>2];j=q[h+64>>2];c=e-d|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);m=b>>>0>1?b:1;d=0;while(1){if(t[i+8>>2]<=d>>>0){break b}d:{b=q[i+4>>2]+(d<<5)|0;k=q[b+28>>2];if(!k){break d}c=b;e=0;while(1){f=q[(q[b+24>>2]+w(e,24)|0)+8>>2];if(!(f>>>0>=t[j+16>>2]|!q[(q[j+12>>2]+w(f,12)|0)+4>>2])){o[g+7|0]=0;o[g+8|0]=0;l=q[h>>2];if(f>>>0>=q[h+4>>2]-l>>3>>>0){break a}f=l+(f<<3)|0;ml(a,q[f>>2],q[f+4>>2],0)}e=e+1|0;if((k|0)==(e|0)){break d}if(t[c+28>>2]>e>>>0){continue}break}J(34052,34064,164,34089);G()}d=d+1|0;if((m|0)!=(d|0)){continue}break}}ti=g+16|0;return}J(34052,34064,189,34089);G()}J(34686,34111,479,34089);G()}function qna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-224|0;ti=b;h=Zi(b+200|0,a,1,60730,734);d=Xn(a,1,1,0);RA(d,b+196|0);q[b+192>>2]=0;a:{if(_p(d,b+192|0)){q[b+32>>2]=60513;vj(a,60855,b+32|0);break a}f=q[b+196>>2]<<7|64;c=b-f|0;ti=c;o[c|0]=0;q[b+60>>2]=0;$p(d,b+60|0);q[b+16>>2]=60513;q[b+20>>2]=q[b+192>>2];q[b+24>>2]=q[b+60>>2];hj(b- -64|0,128,60874,b+16|0);Bk(c,b- -64|0,f);if(q[b+196>>2]){while(1){q[b+48>>2]=0;q[b+52>>2]=0;QA(d,g,b+48|0);q[b+40>>2]=0;nr(d,q[b+48>>2],q[b+52>>2],b+44|0,b+40|0);i=q[b+196>>2];e=q[b+44>>2];b:{if(e>>>0<=8){e=q[(e<<2)+273568>>2];break b}e=148710}q[b>>2]=Mi(q[b+48>>2],q[b+52>>2]);q[b+4>>2]=e;q[b+12>>2]=i-1>>>0>g>>>0?60911:60914;q[b+8>>2]=q[b+40>>2];hj(b- -64|0,128,60915,b);Bk(c,b- -64|0,f);g=g+1|0;if(g>>>0>2]){continue}break}}Bk(c,60947,f);Hi(a,c)}Yi(h);ti=b+224|0;return 1}function kG(a,b){var c=0;c=ti+ -64|0;ti=c;u[a+2256>>2]=u[b>>2];u[a+2260>>2]=u[b+4>>2];u[a+2264>>2]=u[b+8>>2];u[a+2268>>2]=u[b+12>>2];u[a+2272>>2]=u[b+16>>2];u[a+2276>>2]=u[b+20>>2];u[a+2280>>2]=u[b+24>>2];u[a+2284>>2]=u[b+28>>2];u[a+2288>>2]=u[b+32>>2];u[a+2292>>2]=u[b+36>>2];u[a+2296>>2]=u[b+40>>2];u[a+2300>>2]=u[b+44>>2];u[a+2304>>2]=u[b+48>>2];u[a+2308>>2]=u[b+52>>2];u[a+2312>>2]=u[b+56>>2];u[a+2316>>2]=u[b+60>>2];Kk(c,b,a+2192|0);u[a+2320>>2]=u[c>>2];u[a+2324>>2]=u[c+4>>2];u[a+2328>>2]=u[c+8>>2];u[a+2332>>2]=u[c+12>>2];u[a+2336>>2]=u[c+16>>2];u[a+2340>>2]=u[c+20>>2];u[a+2344>>2]=u[c+24>>2];u[a+2348>>2]=u[c+28>>2];u[a+2352>>2]=u[c+32>>2];u[a+2356>>2]=u[c+36>>2];u[a+2360>>2]=u[c+40>>2];u[a+2364>>2]=u[c+44>>2];u[a+2368>>2]=u[c+48>>2];u[a+2372>>2]=u[c+52>>2];u[a+2376>>2]=u[c+56>>2];u[a+2380>>2]=u[c+60>>2];ti=c- -64|0}function jG(a,b){var c=0;c=ti+ -64|0;ti=c;u[a+2192>>2]=u[b>>2];u[a+2196>>2]=u[b+4>>2];u[a+2200>>2]=u[b+8>>2];u[a+2204>>2]=u[b+12>>2];u[a+2208>>2]=u[b+16>>2];u[a+2212>>2]=u[b+20>>2];u[a+2216>>2]=u[b+24>>2];u[a+2220>>2]=u[b+28>>2];u[a+2224>>2]=u[b+32>>2];u[a+2228>>2]=u[b+36>>2];u[a+2232>>2]=u[b+40>>2];u[a+2236>>2]=u[b+44>>2];u[a+2240>>2]=u[b+48>>2];u[a+2244>>2]=u[b+52>>2];u[a+2248>>2]=u[b+56>>2];u[a+2252>>2]=u[b+60>>2];Kk(c,a+2256|0,b);u[a+2320>>2]=u[c>>2];u[a+2324>>2]=u[c+4>>2];u[a+2328>>2]=u[c+8>>2];u[a+2332>>2]=u[c+12>>2];u[a+2336>>2]=u[c+16>>2];u[a+2340>>2]=u[c+20>>2];u[a+2344>>2]=u[c+24>>2];u[a+2348>>2]=u[c+28>>2];u[a+2352>>2]=u[c+32>>2];u[a+2356>>2]=u[c+36>>2];u[a+2360>>2]=u[c+40>>2];u[a+2364>>2]=u[c+44>>2];u[a+2368>>2]=u[c+48>>2];u[a+2372>>2]=u[c+52>>2];u[a+2376>>2]=u[c+56>>2];u[a+2380>>2]=u[c+60>>2];ti=c- -64|0}function A2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0);c=ti-16|0;ti=c;a:{b:{c:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){d=x(1);e=x(1);f=x(1);g=x(1);break c}if(q[a+8>>2]-q[a+12>>2]>>4!=1){break b}b=Fm(a,-1);h=u[b+48>>2];i=u[b+32>>2];j=u[b+16>>2];k=u[b+12>>2];l=u[b+8>>2];f=u[b+60>>2];m=u[b+56>>2];n=u[b+52>>2];o=u[b+44>>2];e=u[b+40>>2];p=u[b+36>>2];r=u[b+28>>2];s=u[b+24>>2];d=u[b+20>>2];t=u[b+4>>2];g=u[b>>2]}b=jj(a,64);u[b+60>>2]=f;u[b+56>>2]=m;u[b+52>>2]=n;u[b+48>>2]=h;u[b+44>>2]=o;u[b+40>>2]=e;u[b+36>>2]=p;u[b+32>>2]=i;u[b+28>>2]=r;u[b+24>>2]=s;u[b+20>>2]=d;u[b+16>>2]=j;u[b+12>>2]=k;u[b+8>>2]=l;u[b+4>>2]=t;u[b>>2]=g;Ki(a,-1e4,128736);ij(a,-2);a=1;break a}q[c+8>>2]=128736;q[c+4>>2]=128736;q[c>>2]=128752;a=Bi(a,130439,c)}ti=c+16|0;return a|0}function WY(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=q[a+44>>2];c=q[a+1392>>2];a:{b:{if((c|0)==-1){h=1;c=-1;break b}e=q[a+1128>>2];c:{if((e|0)<=(c|0)){break c}while(1){d=r[(a+c|0)+1132|0];b=d+b|0;if((d|0)!=255){break c}c=c+1|0;if((e|0)>(c|0)){continue}break}}d=1;if(t[a+52>>2]>>0){break a}c=(c|0)==(e|0)?-1:c}while(1){if((c|0)!=-1){return 1}g=q[a+52>>2];if(g>>>0<=b+26>>>0){d=1;break a}d=21;if(r[b+4|0]|q[73831]!=(r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24))){break a}d:{if(h){if(!q[a+1004>>2]|!(o[b+5|0]&1)){break d}break a}if(!(o[b+5|0]&1)){break a}}d=b+27|0;e=r[b+26|0];b=d+e|0;if(g>>>0>>0){d=1;break a}h=0;c=0;f=0;e:{if(!e){break e}while(1){i=r[c+d|0];b=i+b|0;f=c;if((i|0)!=255){break e}c=c+1|0;if((e|0)!=(c|0)){continue}break}f=e}d=f;c=(d|0)==(e|0)?-1:d;d=1;if(b>>>0<=g>>>0){continue}break}}q[a+112>>2]=d;return 0}function PZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=ti+ -64|0;ti=b;h=Wi(a,1,0);i=Wi(a,2,0);g=Dl(a,3,0,0);j=Dl(a,4,132623,0);d=q[(Eq(a,5,132625,264560)<<2)+131632>>2];c=Fi(jj(a,8280),0,8280);f=c+4|0;e=f;q[e+12>>2]=967;q[e+8>>2]=968;q[e+4>>2]=969;q[e>>2]=c;e=c+8248|0;v[e+8>>3]=-1;v[e>>3]=-1;WA(c+24|0,f,e);q[c+8272>>2]=0;q[c>>2]=-1;q[b+60>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+40>>2]=1;q[b+36>>2]=d;q[b+32>>2]=1;f=c+8272|0;a:{if(g){d=_x(c,g,j,b+32|0);if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,d);a=2;break a}d=q[b+36>>2];q[f>>2]=d}q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=1;q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=d;d=Zx(c,f,h,i,e,b);if(d){Fr(c);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,d);a=2;break a}rp(a,132311,-1);a=1}ti=b- -64|0;return a|0}function Bu(a){var b=0,c=0;c=ti-16|0;ti=c;b=-1;a:{b:{switch(a-1|0){case 43:b=-2;break a;case 70:b=-3;break a;case 26:b=-4;break a;case 28:b=-5;break a;case 59:b=-6;break a;case 0:b=-7;break a;case 44:b=-8;break a;case 7:b=-9;break a;case 11:b=-10;break a;case 15:b=-11;break a;case 47:b=-12;break a;case 1:b=-13;break a;case 20:b=-14;break a;case 9:b=-15;break a;case 19:b=-16;break a;case 74:b=-17;break a;case 42:b=-18;break a;case 53:b=-19;break a;case 30:b=-20;break a;case 27:b=-21;break a;case 40:b=-22;break a;case 32:b=-23;break a;case 58:b=-24;break a;case 73:b=-25;break a;case 21:b=-26;break a;case 50:b=-27;break a;case 69:b=-28;break a;case 68:b=-29;break a;case 33:b=-30;break a;case 63:b=-31;break a;case 54:b=-32;break a;case 62:break a;default:break b}}q[c>>2]=a;Ai(4,177852,177857,c);b=-1e3}ti=c+16|0;return b}function r1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=q[a+8>>2]-q[a+12>>2]>>4;f=Xi(a,1);b=q[212888];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Ju(a);a:{b:{c:{if((Ei(a,-1)|0)!=2){Ci(a,-2);break c}d=aj(a,-1);Ci(a,-2);if(d){break b}}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;break a}e=f&65535;c=q[d+16>>2];d:{if(e>>>0>=q[d+20>>2]-c>>1>>>0){break d}c=s[c+(e<<1)>>1];b=q[d>>2];if(c>>>0>=(q[d+4>>2]-b|0)/28>>>0){break d}e=b+w(c,28)|0;if(q[e+12>>2]!=(f|0)){break d}b=b+w(c,28)|0;g=r[b+24|0];if(!(g&2)){break d}c=b;o[b+24|0]=g&253;xi[q[b>>2]](d,2,f,x(0),q[b+4>>2],q[b+8>>2]);i=1;if(o[d+46|0]&1){break d}Gy(d,q[e+12>>2],r[c+24|0]);p[d+44>>1]=s[d+44>>1]+1}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=i;q[a+8>>2]=q[a+8>>2]+16;if((h+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(128321,127536,655,128357);G()}return 1}function OT(a){var b=0,c=0;Dr(a,q[a+84>>2]);xi[q[q[a+68>>2]+1112>>2]](a,q[a+204>>2]+4|0,q[q[a>>2]+184>>2]&1);b=q[a+20>>2]?12:36;q[a+248>>2]=b;c=q[a+204>>2];Gi(a+252|0,c+4|0,b);q[a+208>>2]=22;q[a+212>>2]=b+4;o[c|0]=20;c=q[a+68>>2];a:{if(q[c+2252>>2]){b=q[a>>2];if(o[b+184|0]&1){break a}q[a+4>>2]=15;break a}q[a+4>>2]=q[a+4>>2]+1;b=q[a>>2]}b:{c:{if(r[b+184|0]&2){q[c+512>>2]=q[a+76>>2];b=q[a+224>>2];q[c+516>>2]=q[a+220>>2];q[c+520>>2]=b;o[a+226|0]=0;o[a+227|0]=0;o[a+222|0]=0;o[a+223|0]=0;o[a+224|0]=0;o[a+225|0]=0;b=r[a+221|0]+1|0;o[a+221|0]=b;if((b|0)!=(b&255)){c=r[a+220|0]+1|0;o[a+220|0]=c;b=-27520;if((c|0)!=(c&255)){break b}}b=q[a>>2];break c}q[a+220>>2]=0;q[a+224>>2]=0}q[a+76>>2]=q[a+84>>2];q[a+56>>2]=q[a+64>>2];if(r[b+184|0]&2){aD(a)}b=rq(a);if(b){break b}if(r[q[a>>2]+184|0]&2){b=sq(a);if(b){break b}}b=0}return b}function kva(a,b){var c=0,d=0,e=0;a:{if(r[b|0]){break a}b=vn(213831);if(r[b|0]?b:0){break a}b=vn(w(a,12)+213840|0);if(r[b|0]?b:0){break a}b=vn(213912);if(r[b|0]?b:0){break a}b=213917}b:{while(1){e=r[b+c|0];if(!(!e|(e|0)==47)){e=15;c=c+1|0;if((c|0)!=15){continue}break b}break}e=c}d=213917;c:{d:{c=r[b|0];e:{f:{if(!(r[b+e|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!r[d+1|0]){break e}}if(!nj(d,213917)){break e}if(nj(d,213925)){break d}}if(!a){c=213988;if(r[d+1|0]==46){break c}}return 0}c=q[242960];if(c){while(1){if(!nj(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}c=q[242960];if(c){while(1){if(!nj(d,c+8|0)){return c}c=q[c+24>>2];if(c){continue}break}}c=Ji(28);g:{if(!c){c=0;break g}b=q[53498];q[c>>2]=q[53497];q[c+4>>2]=b;b=c+8|0;Gi(b,d,e);o[b+e|0]=0;q[c+24>>2]=q[242960];q[242960]=c}c=a|c?c:213988}return c}function Zia(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-112|0;ti=b;e=Zi(b+88|0,a,1,66167,318);Tj(a);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;qk(a,1,b+56|0,b+24|0);q[b+20>>2]=0;UK(a,b+20|0);c=q[b+20>>2];if(!c){J(66360,66167,328,66375);G()}Cla(c,b);gj(a,0,4);Ni(a,66390,5);d=+u[b>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,66396,6);d=+u[b+4>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,66403,10);d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,66414,11);d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Yi(e);ti=b+112|0;return 1}function UA(a){var b=0,c=0;a:{if(!a){break a}c=q[a+28>>2];if(!c){break a}b:{c:{b=q[c+4>>2];switch(b-69|0){case 1:case 2:case 3: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 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:break a;case 0:case 4:case 22:case 34:case 44:break b;default:break c}}if((b|0)==666){break b}if((b|0)!=42){break a}}b=q[c+8>>2];if(b){xi[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+68>>2];if(b){xi[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+64>>2];if(b){xi[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}b=q[c+56>>2];if(b){xi[q[a+36>>2]](q[a+40>>2],b);c=q[a+28>>2]}xi[q[a+36>>2]](q[a+40>>2],c);q[a+28>>2]=0}}function N2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);f=ti-48|0;ti=f;b=Li(a,1,q[212906],0);c=u[b>>2];e=u[b+4>>2];a:{b:{if(c!=c|e!=e){break b}g=u[b+8>>2];if(g!=g){break b}d=u[b+12>>2];if(d==d){break a}}g=u[b+8>>2];d=u[b+12>>2];v[f+16>>3]=e;v[f+32>>3]=d;v[f+24>>3]=g;v[f+8>>3]=c;q[f>>2]=1;Bi(a,129003,f);d=u[b+12>>2];g=u[b+8>>2];e=u[b+4>>2];c=u[b>>2]}b=jj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+60>>2]=1065353216;q[b+52>>2]=0;q[b+56>>2]=0;i=x(g+g);h=x(e*i);k=x(c+c);l=x(k*d);u[b+36>>2]=h-l;m=x(c*i);j=x(e+e);n=x(j*d);u[b+32>>2]=m+n;u[b+24>>2]=h+l;h=x(c*j);d=x(d*i);u[b+16>>2]=h-d;u[b+8>>2]=m-n;u[b+4>>2]=h+d;c=x(x(1)-x(c*k));e=x(e*j);u[b+40>>2]=c-e;d=c;c=x(g*i);u[b+20>>2]=d-c;u[b>>2]=x(x(1)-e)-c;Ki(a,-1e4,128736);ij(a,-2);ti=f+48|0;return 1}function ypa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+12>>2];if(!c){return-1e3}b=Fi(Oi(112),0,112);q[b+92>>2]=0;q[b+96>>2]=0;q[b+76>>2]=0;q[b+80>>2]=0;q[b+64>>2]=-1;q[b+84>>2]=0;q[b+88>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+96>>2]=-1;q[c>>2]=b;a:{b:{c:{if(!(o[b+12|0]&1)){Ii(512,104,b,b+8|0,b+4|0);if(o[b+28|0]&1){break a}Ii(65e3,2,b+16|0,b+24|0,b+20|0);c=q[b+16>>2];if(q[b+24>>2]-c>>1>>>0<=64999){break c}q[b+20>>2]=c+13e4;c=s[b+36>>1];if(c>>>0>=65001){break b}f=b+76|0;g=b+44|0;e=q[b+32>>2];d=Ji(13e4);q[b+32>>2]=d;d=Gi(d,e,c<<1);p[b+36>>1]=65e3;if((c|0)!=65e3){while(1){p[d+(c<<1)>>1]=c;c=c+1|0;if((c|0)!=65e3){continue}break}}yi(e);a=q[a+8>>2];c=(a|0)/3|0;c=(c|0)>1?c:1;uz(g,c,a);uz(f,c,a);o[b+108|0]=r[b+108|0]&254;return 0}break a}J(6466,6485,506,6541);G()}J(6636,6243,112,6624);G()}J(6549,6485,493,6624);G()}function qD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=ti-32|0;ti=i;q[i+12>>2]=0;a:{if(c>>>0>>0){e=-20;if(d-c>>>0>>0){break a}}e=-20;j=q[a+324>>2];f=j;h=q[a+320>>2];g=b+h|0;f=b>>>0>g>>>0?f+1|0:f;k=g;if((f|0)==(j|0)&g>>>0>>0|f>>>0>>0|((f|0)==15&g>>>0>4294967264|f>>>0>15)){break a}q[a+320>>2]=k;q[a+324>>2]=f;if(b){k=a+368|0;j=a+352|0;while(1){e=16;while(1){if(e>>>0>=13){e=e-1|0;h=e+a|0;f=r[h+352|0]+1|0;o[h+352|0]=f;if((f|0)!=(f&255)){continue}}break}e=Mm(a,j,16,i+16|0,i+12|0);if(e){break a}f=b>>>0<16?b:16;h=f>>>0>1?f:1;e=0;while(1){if(!q[a+384>>2]){g=a+e|0;o[g+368|0]=r[g+368|0]^r[c+e|0]}g=r[c+e|0]^r[(i+16|0)+e|0];o[d+e|0]=g;if(q[a+384>>2]==1){l=a+e|0;o[l+368|0]=g^r[l+368|0]}e=e+1|0;if((h|0)!=(e|0)){continue}break}qs(a,k,k);d=d+f|0;c=c+f|0;b=b-f|0;if(b){continue}break}}e=0}ti=i+32|0;return e}function jJ(a){var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;q[d+8>>2]=0;c=q[77541];b=q[77542];a:{if(!a){if((b|0)==(c|0)){break a}b=0;while(1){b:{a=b<<3;c=a+c|0;e=q[c+4>>2];c=q[c>>2];c:{if(!(xi[q[77517]](c,e)&1)){q[d+24>>2]=0;q[d+16>>2]=c;q[d+20>>2]=726;bA(d+16|0);e=q[77542];c=q[77541];if(e-c>>3>>>0<=b>>>0){break b}f=a+c|0;a=e-8|0;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;q[77542]=a;if(a>>>0>=c>>>0){break c}J(86900,86087,516,86890);G()}b=b+1|0;c=q[77541];a=q[77542]}if(a-c>>3>>>0>b>>>0){continue}break a}break}J(86875,86087,513,86890);G()}a=b-c|0;if(!a){break a}if((b|0)!=(c|0)){b=c-b|0;b=((a|0)<(b|0)?b:a)>>>3|0;a=(a|0)>-1?a:-1;a=w(b,(a|0)<1?a:1);a=a>>>0>1?a:1;b=0;while(1){oJ(q[(b<<3)+c>>2]);b=b+1|0;if((a|0)==(b|0)){break a}c=q[77541];if(q[77542]-c>>3>>>0>b>>>0){continue}break}}J(86853,86087,479,86864);G()}ti=d+32|0}function _n(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/960|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,960)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+952>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+960;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,960)|0;q[a+20>>2]=q[e+952>>2]}q[e>>2]=b;q[e+4>>2]=c;Gi(e+8|0,d,944);q[e+952>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,960)|0;f=q[b+952>>2];if((f|0)!=-1){continue}break}q[b+952>>2]=(e-d|0)/960;break a}J(144892,144767,229,144900);G()}Gi((g+w(f,960)|0)+8|0,d,944);return}J(144904,144767,535,144966);G()}q[b>>2]=(e-d|0)/960}q[a+24>>2]=q[a+24>>2]+1}function Dz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{d:{h=q[a+16>>2];g=q[a+8>>2];if(q[a+24>>2]!=((h-g|0)/136|0)){e=q[a+4>>2];e:{if(!e){break e}f=q[q[a>>2]+(Qwa(b,c,e)<<2)>>2];if((f|0)==-1){break e}while(1){e=g+w(f,136)|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break d}f=q[e+128>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((h|0)!=(e|0)){q[a+12>>2]=e+136;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=g+w(e,136)|0;q[a+20>>2]=q[e+128>>2]}q[e>>2]=b;q[e+4>>2]=c;Gi(e+8|0,d,114);q[e+128>>2]=-1;d=q[a+8>>2];b=q[a>>2]+(Qwa(b,c,q[a+4>>2])<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=d+w(f,136)|0;f=q[b+128>>2];if((f|0)!=-1){continue}break}q[b+128>>2]=(e-d|0)/136;break a}J(162257,161952,229,162265);G()}Gi((g+w(f,136)|0)+8|0,d,114);return}J(162269,161952,535,162331);G()}q[b>>2]=(e-d|0)/136}q[a+24>>2]=q[a+24>>2]+1}function ufa(a){var b=0,c=0,d=0,e=0;d=ti-32|0;ti=d;b=q[a>>2];ik(b,68437,244432);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,68445);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,68463);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,68480);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,68497);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,68515);Ci(b,-2);c=Oi(16);q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;a:{b:{c:{if(gn(q[59587],c)){break c}e=Fl(q[a+4>>2],67845,d+28|0);if(e){q[d+20>>2]=e;q[d+16>>2]=67845;Ai(4,68531,68539,d+16|0);break c}if(Ov(q[a+8>>2],q[d+28>>2],c+8|0)){break b}q[d>>2]=67845;Ai(4,68531,68581,d)}yi(c);break a}a=q[b+8>>2];q[a+8>>2]=2;q[a>>2]=c;q[b+8>>2]=q[b+8>>2]+16;q[76920]=R1(b)}ti=d+32|0}function aO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[c>>2];d=j+8|0;e=s[a+4>>1];c=d+w(e,112)|0;h=c;i=s[c+104>>1];c=s[a>>1];g=d+w(c,112)|0;f=s[a+2>>1];d=s[(d+w(f,112)|0)+104>>1];a:{if(s[g+104>>1]<=d>>>0){if(d>>>0<=i>>>0){f=e;break a}p[a+4>>1]=f;p[a+2>>1]=e;if(s[h+104>>1]>=s[g+104>>1]){break a}p[a+2>>1]=c;p[a>>1]=e;break a}b:{if(d>>>0>i>>>0){p[a+4>>1]=c;p[a>>1]=e;break b}p[a+2>>1]=c;p[a>>1]=f;if(s[h+104>>1]>=s[g+104>>1]){f=e;break a}p[a+4>>1]=c;p[a+2>>1]=e}f=c}c:{c=a+6|0;if((c|0)==(b|0)){break c}d=a+4|0;i=j+8|0;while(1){e=c;g=s[c>>1];k=i+w(g,112)|0;if(s[k+104>>1]>1]){h=e;while(1){d:{p[h>>1]=f;c=d;if((c|0)==(a|0)){c=a;break d}h=c;d=c-2|0;f=s[d>>1];if(s[k+104>>1]>1]){continue}}break}p[c>>1]=g}c=e+2|0;if((c|0)==(b|0)){break c}f=s[e>>1];d=e;continue}}}function Uma(a,b,c,d,e){var f=0,g=0,h=0;f=ti-16|0;ti=f;q[b+20>>2]=e;q[b+16>>2]=d;q[b+12>>2]=c;d=1;e=r[b+24|0];a:{b:{c=q[b+4>>2];if(!c){c=q[b>>2]}c:{if(!(o[c+28|0]&1)){o[b+24|0]=e|1;break c}if(e&1){d=0;Ai(4,30266,30274,0);break c}if(q[c+16>>2]!=q[c+12>>2]){o[b+24|0]=e|1;break c}d=q[c+8>>2];if(!q[d+8>>2]){d=1;o[b+24|0]=e|1;break c}c=f+8|0;q[c>>2]=0;q[c+4>>2]=0;q[f>>2]=0;q[f+4>>2]=0;Ii(q[d+8>>2],4,f,c,f|4);e=q[d+8>>2];if(e){c=0;while(1){if((c|0)==(e|0)){break b}h=q[(q[d+4>>2]+w(c,80)|0)+4>>2];if(h){g=q[f+4>>2];if((g|0)==q[f+8>>2]){break a}q[f+4>>2]=g+4;q[g>>2]=h}c=c+1|0;if(e>>>0>c>>>0){continue}break}}a=bG(q[a+32>>2],f);q[b+8>>2]=a;if(a){o[b+24|0]=r[b+24|0]|1}d:{if(o[f+12|0]&1){break d}b=q[f>>2];if(!b){break d}yi(b)}d=(a|0)!=0}ti=f+16|0;return d}J(30399,30411,244,30472);G()}J(30664,30494,533,30688);G()}function Qha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=ti-112|0;ti=c;q[c+104>>2]=0;f=q[q[a+4>>2]+68>>2];b=q[a>>2];u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];u[c+64>>2]=u[b+64>>2];u[c+68>>2]=u[b+68>>2];u[c+72>>2]=u[b+72>>2];u[c+76>>2]=u[b+76>>2];u[c+80>>2]=u[b+80>>2];u[c+84>>2]=u[b+84>>2];u[c+88>>2]=u[b+88>>2];u[c+92>>2]=u[b+92>>2];e=q[a+12>>2];if(e){b=0;while(1){d=q[a+8>>2]+w(b,48)|0;g=fH(c,d,u[(q[d+16>>2]<<2)+f>>2]);q[d+36>>2]=q[d+36>>2]&-16385|(g?16384:0);b=b+1|0;if((e|0)!=(b|0)){continue}break}}ti=c+112|0}function Qu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0);e=ti-160|0;ti=e;q[e+152>>2]=0;f=1;a:{b:{g=q[a+308>>2]+(b<<2)|0;if(q[g>>2]!=-2){d=q[q[a+304>>2]+2012>>2];h=q[d+8>>2]-q[d+12>>2]>>4;bj(d,-1e4,q[a+320>>2]);jk(d);bj(d,-1e4,q[g>>2]);bj(d,-1e4,q[a+320>>2]);a=1;c:{d:{switch(b-1|0){case 1:Zj(d,q[c+64>>2],q[c+68>>2]);a=q[c+80>>2];e:{if(a){yy(d,a,c+96|0);break e}a=q[c+84>>2];if(a){Lq(d,c+96|0,a);break e}gj(d,0,0)}Ul(d,c);a=4;break c;case 0:break d;default:break c}}i=u[c>>2];a=q[d+8>>2];q[a+8>>2]=3;v[a>>3]=i;q[d+8>>2]=q[d+8>>2]+16;a=2}b=ti-128|0;ti=b;ti=b+128|0;q[e+8>>2]=0;if(Vl(d,a,0)){f=-1;if((h|0)!=q[d+8>>2]-q[d+12>>2]>>4){break b}}a=q[d+8>>2];q[a+8>>2]=0;q[d+8>>2]=a+16;jk(d);if((h|0)!=q[d+8>>2]-q[d+12>>2]>>4){break a}}ti=e+160|0;return f}J(110492,110389,3309,114224);G()}J(110492,110389,3317,114224);G()}function MM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;axa(+a);i=Zwa(1)|0;Zwa(0)|0;g=i&2147483640;g=(g|0)==1072010279|g>>>0<1072010279;if(!g){h=(i|0)>-1;a=.7853981633974483-(h?a:-a)+(3.061616997868383e-17-(h?b:-b));h=i>>>31|0;b=0}d=a*a;e=a*d;f=b;b=d*d;d=e*.3333333333333341+(f+d*(f+e*(b*(b*(b*(b*(b*-18558637485527546e-21+7817944429395571e-20)+.0005880412408202641)+.0035920791075913124)+.021869488294859542)+.13333333333320124+d*(b*(b*(b*(b*(b*2590730518636337e-20+7140724913826082e-20)+.0002464631348184699)+.0014562094543252903)+.0088632398235993)+.05396825397622605))));b=a+d;if(!g){e=b*b;f=b;b=+(1-(c<<1)|0);a=a+(d-e/(f+b));a=b-(a+a);return h?-a:a}if(c){axa(+b);c=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,c|0);e=+$wa();f=-1/b;axa(+f);c=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,c|0);b=+$wa();b=f*(e*b+1+(d-(e-a))*b)+b}return b}function P3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=ti-16|0;ti=g;q[g>>2]=0;q[g+8>>2]=0;a:{b:{f=q[a+4>>2];e=q[a>>2];c=f-e|0;if(!c){break b}if((e|0)!=(f|0)){f=e-f|0;f=((c|0)<(f|0)?f:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(f,(c|0)<1?c:1);c=c>>>0>1?c:1;while(1){YF(q[(d<<2)+e>>2],b);d=d+1|0;if((c|0)==(d|0)){break b}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>d>>>0){continue}break}}break a}f=q[a+4>>2];e=q[a>>2];d=f-e|0;c=0;c:{if(!d){break c}d:{if((e|0)!=(f|0)){c=e-f|0;c=((c|0)>(d|0)?c:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(c,(d|0)<1?d:1);f=d>>>0>1?d:1;d=0;c=0;while(1){e=q[(d<<2)+e>>2];e:{if(q[e+116>>2]==q[e+112>>2]){break e}h=q[e+88>>2];if(!h){break e}xi[h|0](q[e+92>>2],q[e+96>>2]);c=1}d=d+1|0;if((f|0)==(d|0)){break d}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>d>>>0){continue}break}}break a}c=c?4:0}ti=g+16|0;return c}J(147249,147260,486,147227);G()}function Jia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=ti-112|0;ti=b;if(!r[307280]){o[307280]=1;q[b>>2]=66659;q[b+4>>2]=66665;q[b+8>>2]=66659;q[b+12>>2]=66670;Ai(3,66651,67074,b)}d=q[a+8>>2]-q[a+12>>2]>>4;f=Tj(a);c=Mj(a,2);g=wi;h=Xi(a,3);i=Ri(a,4);q[b+104>>2]=0;q[b+108>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;e=b- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;qk(a,1,b+80|0,b+48|0);a:{if((d|0)<5){break a}if((Ei(a,5)|0)!=6){break a}Qi(a,5);j=ws(a)+2|0}q[b+40>>2]=0;q[b+44>>2]=1065353216;q[b+32>>2]=h;q[b+24>>2]=c;q[b+28>>2]=g;u[b+36>>2]=i;c=q[62898];vo(b+48|0,b+80|0,q[c+8>>2],q[c+12>>2],f,j,c,b+24|0,24,0);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(66680,66701,202,66741);G()}ti=b+112|0;return 0}function Av(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{d=q[a+4>>2];e=q[a>>2];f=d-e|0;c:{if((f|0)<1){break c}d:{if((d|0)!=(e|0)){d=e-d|0;d=((d|0)>(f|0)?d:f)>>>2|0;f=d>>>0>1?d:1;d=0;while(1){e=q[(d<<2)+e>>2];if(q[e+8>>2]==(b|0)&q[e+12>>2]==(c|0)){break d}d=d+1|0;if((f|0)==(d|0)){break c}e=q[a>>2];if(q[a+4>>2]-e>>2>>>0>d>>>0){continue}break}}J(43300,43092,479,43311);G()}e=q[a+4>>2];f=q[a>>2];if(e-f>>2>>>0<=d>>>0){break b}q[f+(d<<2)>>2]=q[e-4>>2];d=q[a+4>>2]-4|0;q[a+4>>2]=d;if(d>>>0>2]){break a}}e=0;d=q[a+20>>2];e:{if(!d){break e}f=a+16|0;d=q[q[f>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break e}g=q[a+24>>2];while(1){d=w(d,24)+g|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){d=q[d+16>>2];if((d|0)!=-1){continue}break e}break}N7(f,b,c);e=1;o[a+52|0]=1}return e}J(43322,43092,513,43337);G()}J(43347,43092,516,43337);G()}function IM(a){var b=0,c=x(0),d=0,e=x(0),f=0,g=x(0);f=(bxa(a),Zwa(2));b=f&2147483647;if(b>>>0<1283457024){a:{b:{if(b>>>0<=1054867455){if(b>>>0<964689920){break a}b=-1;d=1;break b}a=x(y(a));c:{if(b>>>0<=1066926079){if(b>>>0<=1060110335){a=x(x(x(a+a)+x(-1))/x(a+x(2)));b=0;d=0;break b}b=1;a=x(x(a+x(-1))/x(a+x(1)));break c}if(b>>>0<=1075576831){b=2;a=x(x(a+x(-1.5))/x(x(a*x(1.5))+x(1)));break c}b=3;a=x(x(-1)/a)}d=0}e=x(a*a);c=x(e*e);g=x(c*x(x(c*x(-.106480173766613))+x(-.19999158382415771)));c=x(e*x(x(c*x(x(c*x(.06168760731816292))+x(.14253635704517365)))+x(.333333283662796)));if(d){return x(a-x(a*x(g+c)))}b=b<<2;a=x(u[b+211280>>2]-x(x(x(a*x(g+c))-u[b+211296>>2])-a));a=(f|0)>-1?a:x(-a)}return a}return((bxa(a),Zwa(2))&2147483647)>>>0>2139095040?a:(_wa(2,(bxa(a),Zwa(2))&-2147483648|1070141402),cxa())}function Dp(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,r=0,s=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;a:{if(!b){c=528734635;d=725511199;e=-1694144372;f=-1377402159;g=1359893119;h=1595750129;i=-1521486534;j=-23791573;k=1013904242;l=-2067093701;m=-1150833019;n=-205731576;o=1779033703;p=327033209;r=1541459225;s=-79577749;break a}c=-619958771;d=1750603025;e=-1900787065;f=-4191439;g=1731405415;h=-150054599;i=355462360;j=812702999;k=-1856437926;l=914150663;m=1654270250;n=-1056596264;o=-876896931;p=-1090891868;r=1203062813;s=1694076839}q[a+208>>2]=b;q[a+16>>2]=n;q[a+20>>2]=o;q[a+72>>2]=p;q[a+76>>2]=r;b=a- -64|0;q[b>>2]=s;q[b+4>>2]=c;q[a+56>>2]=d;q[a+60>>2]=e;q[a+48>>2]=f;q[a+52>>2]=g;q[a+40>>2]=h;q[a+44>>2]=i;q[a+32>>2]=j;q[a+36>>2]=k;q[a+24>>2]=l;q[a+28>>2]=m;return 0}function ioa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;d=q[q[a+32>>2]+8>>2];q[b+28>>2]=0;c=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[60338],b+28|0)){break a}hr(q[b+28>>2]);if(!jp(q[a>>2],q[a+4>>2],q[b+28>>2])){cj(q[b+28>>2]);break a}g=q[d+44>>2];e=q[b+28>>2];q[d+44>>2]=e;if(RK(q[d>>2],e,d)){q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=q[b+28>>2];if(!Kv(q[a>>2],q[c+140>>2],q[c+144>>2],b+8|0)){ip(q[a>>2],d+52|0);c=q[b+8>>2];q[b+8>>2]=q[d+52>>2];q[d+52>>2]=c;c=q[b+12>>2];q[b+12>>2]=q[d+56>>2];q[d+56>>2]=c;c=q[b+16>>2];q[b+16>>2]=q[d+60>>2];q[d+60>>2]=c;c=d- -64|0;e=r[c|0];f=r[b+20|0];o[b+20|0]=e&1|f&254;o[c|0]=e&254|f&1}cj(g);q[q[a+32>>2]+16>>2]=q[a+24>>2]-q[q[d+44>>2]+4>>2];b:{if(o[b+20|0]&1){break b}a=q[b+8>>2];if(!a){break b}yi(a)}c=0;break a}cj(q[b+28>>2])}ti=b+32|0;return c|0}function g4(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;f=q[a+4>>2];e=q[f+16>>2];e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);a:{if(!(o[a+40|0]&1)){a=q[a+8>>2];h=q[a+1028>>2];i=q[a+1024>>2];break a}a=q[f+24>>2];i=f+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0;a=q[f+20>>2];h=f+(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))|0}j=1;b:{if((e|0)<1){break b}f=e-1|0;a=0;while(1){e=((f-a|0)/2|0)+a|0;g=pj(b,(e<<6)+i|0,c);if(!g){j=0;if(!d){break b}a=(e<<4)+h|0;b=q[a>>2];q[d>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);b=q[a+4>>2];q[d+4>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);b=q[a+8>>2];q[d+8>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=q[a+12>>2];q[d+12>>2]=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);return 0}g=(g|0)>0;f=g?f:e-1|0;a=g?e+1|0:a;if((f|0)>=(a|0)){continue}break}}return j|0}function mQ(a){var b=0,c=0,d=0;a:{b=jQ(a);b:{if(b){break b}Pw(a);b=sx(a,q[a+116>>2]-q[a+108>>2]|0);if(b){break b}b=$P(a);if(b){if(!(q[q[a>>2]+184>>2]&2)|(b|0)==-26496){break b}c:{if((b|0)!=-26368){if((b|0)!=-25728){break c}BQ(a)}q[a+144>>2]=q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0);return-25984}break a}b=sx(a,q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0)|0);if(b){break b}d:{if(r[q[a>>2]+184|0]&2){q[a+144>>2]=q[a+132>>2]+(q[a+116>>2]-q[a+108>>2]|0);break d}q[a+136>>2]=0}b=PP(a);if(!b){return 0}c=q[a>>2];e:{if(r[c+184|0]&2){if((b|0)!=-29056){break b}f:{switch(q[a+4>>2]-11|0){case 0:case 2:break e;default:break f}}c=q[c+172>>2];if(c){d=q[a+24>>2]+1|0;q[a+24>>2]=d;b=-29056;if(c>>>0<=d>>>0){break b}}break a}if((b|0)!=-29056){break b}}Ij(a,2,20);b=-29056}return b}q[a+136>>2]=0;q[a+144>>2]=0;return-25984}function d3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=ti+ -64|0;ti=d;b=d+16|0;c=a;e=0;a:{if(!c){break a}e=q[c+120>>2]}g=e;i=Zi(b,g,0,119854,133);c=c?q[a+120>>2]:0;e=Zi(d+40|0,c,0,119854,90);Hi(c,q[65807]);IF(a);b=aj(c,-1);Ci(c,-2);Yi(e);if(b){f=q[212966];if(f){while(1){b:{if(!q[f+24>>2]){break b}e=d+40|0;c=e;q[c>>2]=0;q[c+4>>2]=0;c=a?q[a>>2]:0;q[d+44>>2]=g;q[d+40>>2]=c;if(!(q[(b+(h&-4)|0)+4>>2]>>>(h&3)&1)){break b}if(!(xi[q[f+24>>2]](e)|0)){break b}q[d>>2]=q[f>>2];Ai(4,119883,119956,d)}h=h+1|0;f=q[f+36>>2];if(f){continue}break}}Aj(g,-1e4,q[b+68>>2]);q[b+4>>2]=0;q[b+8>>2]=0;q[b+68>>2]=-2;q[b+12>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+64>>2]=0}Yi(i);ti=d- -64|0}function _E(a,b){var c=0,d=0,e=0,f=0,g=0;o[b+140|0]=0;q[b+136>>2]=-1;o[b+72|0]=0;o[b+8|0]=0;o[b|0]=0;f=b+140|0;a:{d=Oj(a,58);b:{if(!d){break b}if(a>>>0>=d>>>0){break a}c=o[a|0];if(!((c|32)-97>>>0<26?1:c-48>>>0<10)){break b}c=a;while(1){c=c+1|0;if((d|0)!=(c|0)){e=o[c|0];if((e|32)-97>>>0<26?1:e-48>>>0<10){continue}}break}if(c>>>0>=d>>>0){break a}}zj(b,178720,8);zj(f,a,2048);return 0}c=(d-a|0)+1|0;zj(b,a,c>>>0<8?c:8);c=80;c:{d:{if(!nj(b,178725)){break d}if(!nj(b,178730)){break d}c=443;if(!nj(b,178733)){break d}if(nj(b,178739)){break c}}q[b+136>>2]=c}c=on(a,178743);e:{if(c){d=b+72|0;a=b+8|0;c=c+2|0;e=Oj(c,47);f:{if(e){g=c;c=(e-c|0)+1|0;zj(a,g,c>>>0<64?c:64);zj(f,e,2048);break f}zj(a,c,64)}zj(d,a,64);a=Oj(d,58);if(!a){break e}q[b+136>>2]=lq(a+1|0,0);o[a|0]=0;return 0}zj(f,d+1|0,2048)}return 0}function Hea(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;b=ti-112|0;ti=b;f=Zi(b+88|0,a,0,76748,468);d=q[a+8>>2]-q[a+12>>2]>>4;g=Tj(a);h=Mj(a,2);i=wi;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;e=b- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;qk(a,1,b+56|0,b+24|0);a:{b:{if((d|0)>=4){mj(a,4,5);Qi(a,4);Ki(a,-1,76897);c=0;c:{if(!Ei(a,-1)){break c}c=Ri(a,-1)}j=c;Ci(a,-2);Ki(a,-1,76904);c=1;d:{if(!Ei(a,-1)){break d}c=Ri(a,-1)}Ci(a,-2);Ci(a,-2);break b}c=1;if((d|0)!=3){break a}}if((Ei(a,3)|0)!=6){break a}Qi(a,3);k=ws(a)+2|0}q[b+8>>2]=h;q[b+12>>2]=i;u[b+20>>2]=c;u[b+16>>2]=j;a=q[63650];vo(b+24|0,b+56|0,q[a+8>>2],q[a+12>>2],g,k,a,b+8|0,16,0);Yi(f);ti=b+112|0;return 0}function pja(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=q[a+20>>2];if(!e){return-1}h=-1;a:{f=q[q[a+16>>2]+(Qwa(b,c,e)<<2)>>2];b:{if((f|0)==-1){break b}e=q[a+64>>2];i=q[a+24>>2];while(1){g=(f<<4)+i|0;if((b|0)!=q[g>>2]|q[g+4>>2]!=(c|0)){f=q[g+12>>2];if((f|0)!=-1){continue}break b}break}if(!q[e+52>>2]){return-1e3}f=(f<<4)+i|0;b=d;a=q[a+48>>2];c=0;c:{if(!a){break c}c=q[a>>2]}q[b>>2]=c;q[d+4>>2]=q[e+48>>2];q[d+8>>2]=q[e+56>>2];q[d+12>>2]=q[e+96>>2];q[d+16>>2]=q[e+76>>2];a=q[f+8>>2];if(a>>>0>=t[e+8>>2]){break a}a=q[e+4>>2]+w(a,40)|0;q[d+40>>2]=q[a+20>>2];q[d+24>>2]=q[a+4>>2];q[d+28>>2]=q[a+8>>2];q[d+32>>2]=q[a+12>>2];q[d+36>>2]=q[a+16>>2];q[d+44>>2]=q[a+28>>2];q[d+48>>2]=q[a+32>>2];a=q[a+24>>2];if(a>>>0<=6){q[d+20>>2]=a}q[d+52>>2]=56;h=0}return h|0}J(42590,42602,88,42555);G()}function cva(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=ti-32|0;ti=e;g=q[a+28>>2];q[e+16>>2]=g;d=q[a+20>>2];q[e+28>>2]=c;q[e+24>>2]=b;b=d-g|0;q[e+20>>2]=b;g=b+c|0;j=2;b=e+16|0;a:{b:{f=Ia(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[242957]=f;d=-1}d:{if(!d){while(1){d=q[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=q[b+4>>2];f=h>>>0>>0;i=(f<<3)+b|0;h=d-(f?h:0)|0;q[i>>2]=h+q[i>>2];i=(f?12:4)+b|0;q[i>>2]=q[i>>2]-h;g=g-d|0;b=f?b+8|0:b;j=j-f|0;f=Ia(q[a+60>>2],b|0,j|0,e+12|0)|0;d=0;e:{if(!f){break e}q[242957]=f;d=-1}if(!d){continue}break}}if((g|0)!=-1){break b}}b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];a=c;break a}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=q[a>>2]|32;a=0;if((j|0)==2){break a}a=c-q[b+4>>2]|0}ti=e+32|0;return a|0}function Lk(a){var b=0;a:{b:{b=q[a+44>>2];if(b){if(b>>>0>=t[a+52>>2]){q[a+108>>2]=1;break a}q[a+44>>2]=b+1;b=r[b|0];break b}b=ej(q[a+32>>2]);if((b|0)!=-1){break b}q[a+108>>2]=1;break a}if((b&255)!=79){break a}c:{b=q[a+44>>2];if(b){if(b>>>0>=t[a+52>>2]){q[a+108>>2]=1;break a}q[a+44>>2]=b+1;b=r[b|0];break c}b=ej(q[a+32>>2]);if((b|0)!=-1){break c}q[a+108>>2]=1;break a}if((b&255)!=103){break a}d:{b=q[a+44>>2];if(b){if(b>>>0>=t[a+52>>2]){q[a+108>>2]=1;break a}q[a+44>>2]=b+1;b=r[b|0];break d}b=ej(q[a+32>>2]);if((b|0)!=-1){break d}q[a+108>>2]=1;break a}if((b&255)!=103){break a}e:{b=q[a+44>>2];if(b){if(b>>>0>=t[a+52>>2]){q[a+108>>2]=1;break a}q[a+44>>2]=b+1;b=r[b|0];break e}b=ej(q[a+32>>2]);if((b|0)!=-1){break e}q[a+108>>2]=1;break a}if((b&255)!=83){break a}return iC(a)}q[a+112>>2]=30;return 0}function gA(a,b){var c=0,d=0,e=0;c=q[b+16>>2];e=q[b+12>>2];if((c|0)!=(e|0)){c=e;while(1){c=q[w(d,12)+c>>2];xi[q[77440]](q[c>>2]);xi[q[77445]](q[c+4>>2]);yi(c);d=d+1|0;c=q[b+12>>2];if(d>>>0<(q[b+16>>2]-c|0)/12>>>0){continue}break}}q[b+16>>2]=c;c=q[b>>2];if(c){cj(c)}d=0;q[b>>2]=0;c=q[b+8>>2];if(c){Pi(a,c)}q[b+8>>2]=0;c=q[b+32>>2];e=q[b+28>>2];if((c|0)!=(e|0)){c=e;while(1){Pi(a,q[(d<<2)+c>>2]);d=d+1|0;c=q[b+28>>2];if(d>>>0>2]-c>>2>>>0){continue}break}}q[b+32>>2]=c;c=q[b+44>>2];if(c){Pi(a,c)}q[b+44>>2]=0;c=q[b+48>>2];if(c){Pi(a,c)}q[b+48>>2]=0;c=q[b+52>>2];if(c){Pi(a,c)}q[b+52>>2]=0;c=q[b+56>>2];if(c){Pi(a,c)}q[b+56>>2]=0;c=q[b+60>>2];if(c){Pi(a,c)}q[b+60>>2]=0;c=q[b- -64>>2];if(c){Pi(a,c)}q[b+64>>2]=0;c=q[b+68>>2];if(c){Pi(a,c)}q[b+68>>2]=0;c=q[b+72>>2];if(c){Pi(a,c)}q[b+72>>2]=0}function L6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{g=q[a+16>>2];c=q[a+20>>2]-g>>3;if(c>>>0>b>>>0){f=q[a+4>>2]-q[a>>2]>>4;e=f-1|0;d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}h=f;f=(b<<3)+g|0;if(h>>>0<=t[f>>2]){break d}h=c;c=q[d+(e<<2)>>2];if(h>>>0<=c>>>0){break a}q[(c<<3)+g>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];d=q[a+4>>2];c=q[a>>2];if(e>>>0>=d-c>>4>>>0){break c}c=c+(e<<4)|0;d=d-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;c=q[a+4>>2]-16|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(45183,45099,152,45204);G()}J(45209,44897,513,45224);G()}J(45234,44897,516,45224);G()}J(45161,44897,479,45172);G()}function vv(a,b){var c=0,d=0,e=0;d=q[b+56>>2];if((d|0)!=q[b+60>>2]){while(1){Pi(a,q[(c<<2)+d>>2]);c=c+1|0;d=q[b+56>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}d=q[b+8>>2];if((d|0)!=q[b+12>>2]){c=0;while(1){Pi(a,q[(c<<2)+d>>2]);c=c+1|0;d=q[b+8>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}d=q[b+40>>2];if((d|0)!=q[b+44>>2]){c=0;while(1){d=(c<<3)+d|0;e=q[d>>2];a:{if(e){Pi(a,e);break a}Pi(a,q[d+4>>2])}c=c+1|0;d=q[b+40>>2];if(c>>>0>2]-d>>3>>>0){continue}break}}e=q[b+88>>2];if(e){d=0;while(1){c=q[q[b+84>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){c=q[b+92>>2]+(c<<4)|0;Pi(a,q[c+8>>2]);c=q[c+12>>2];if((c|0)!=-1){continue}break}e=q[b+88>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}c=q[b+4>>2];if(c){Pi(a,c)}c=q[b>>2];if(c){cj(c)}c=q[b+72>>2];if(c){yi(c)}b=q[b+80>>2];if(b){Pi(a,b)}}function xZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-336|0;ti=b;d=Dl(a,1,0,0);e=Dl(a,2,0,0);if(!(d|e)){Bi(a,131744,0)}q[b+24>>2]=0;q[b+28>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=1;q[b+16>>2]=0;q[b+20>>2]=0;q[b+20>>2]=0;c=ea(d|0,e|0,b+16|0,b+12|0)|0;a:{b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,Er(c));break b}gj(a,0,0);c=q[b+12>>2];c:{if(!c){break c}f=d?255:0;g=((e|0)!=0)<<5;if(d){d=1;while(1){da(q[c+20>>2],q[c+16>>2],b+80|0,f|0,b+48|0,g|0,0)|0;h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,b+80|0);$i(a,-3);d=d+1|0;c=q[c+28>>2];if(c){continue}break}break c}while(1){da(q[c+20>>2],q[c+16>>2],b+80|0,f|0,b+48|0,g|0,0)|0;c=q[c+28>>2];if(c){continue}break}}yi(q[b+12>>2]);c=1;if(!e){break a}Hi(a,b+48|0)}c=2}ti=b+336|0;return c|0}function Rha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-112|0;ti=c;q[c+104>>2]=0;b=q[a>>2];u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];u[c+64>>2]=u[b+64>>2];u[c+68>>2]=u[b+68>>2];u[c+72>>2]=u[b+72>>2];u[c+76>>2]=u[b+76>>2];u[c+80>>2]=u[b+80>>2];u[c+84>>2]=u[b+84>>2];u[c+88>>2]=u[b+88>>2];u[c+92>>2]=u[b+92>>2];f=q[a+12>>2];if(f){b=0;while(1){e=q[a+8>>2]+w(b,48)|0;d=q[e+16>>2];d=gH(c,d,d- -64|0,d+80|0,1);q[e+36>>2]=q[e+36>>2]&-16385|(d?16384:0);b=b+1|0;if((f|0)!=(b|0)){continue}break}}ti=c+112|0}function CJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=x(0),m=0,n=0;a:{if(!(o[a+248|0]&1)){Ii((q[b+16>>2]-q[b+12>>2]|0)/12|0,128,a+236|0,a+244|0,a+240|0);c=q[a+236>>2];q[a+240>>2]=c;d=q[b+12>>2];if((d|0)==q[b+16>>2]){break a}if(q[a+244>>2]!=(c|0)){e=q[d+8>>2];g=q[e+116>>2]&15;while(1){h=u[e+24>>2];d=w(f,12)+d|0;i=q[d>>2];d=q[d+4>>2];j=q[e>>2];k=q[e+4>>2];l=u[e+8>>2];m=q[e+16>>2];n=q[e+20>>2];q[a+240>>2]=c+128;o[c+112|0]=g|16;q[c+108>>2]=e;q[c+100>>2]=i;q[c+104>>2]=d;q[c+96>>2]=a;u[c+88>>2]=h;q[c+80>>2]=m;q[c+84>>2]=n;u[c+72>>2]=l;q[c+64>>2]=j;q[c+68>>2]=k;f=f+1|0;d=q[b+12>>2];if(f>>>0>=(q[b+16>>2]-d|0)/12>>>0){break a}e=q[(w(f,12)+d|0)+8>>2];g=g&-32|q[e+116>>2]&15;c=q[a+240>>2];if((c|0)!=q[a+244>>2]){continue}break}}J(46447,46296,533,46471);G()}J(46360,46296,493,46435);G()}}function X4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;e=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);a:{if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b:{if(!Bj(a,1)){q[c>>2]=110485;b=Bi(a,111840,c);break b}d=Sq(a,q[q[d+304>>2]+2384>>2]);f=wi;c:{d:{e:{b=Xi(a,2);switch(b-16|0){case 0:case 16:break c;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 d;default:break e}}if((b|0)==1){break c}}q[c+16>>2]=110485;b=Bi(a,111917,c+16|0);break b}xi[q[77498]](d,f,b,c+28|0,c+24|0);b=q[c+24>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;b=1;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}ti=c+32|0;return b|0}J(110492,110389,475,114319);G()}J(110364,110389,1590,111978);G()}function W4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;e=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);a:{if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b:{if(!Bj(a,1)){q[c>>2]=110485;b=Bi(a,111670,c);break b}d=Sq(a,q[q[d+304>>2]+2384>>2]);f=wi;c:{d:{e:{b=Xi(a,2);switch(b-16|0){case 0:case 16:break c;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 d;default:break e}}if((b|0)==1){break c}}q[c+16>>2]=110485;b=Bi(a,111746,c+16|0);break b}xi[q[77498]](d,f,b,c+28|0,c+24|0);b=q[c+28>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;b=1;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}}ti=c+32|0;return b|0}J(110492,110389,475,114319);G()}J(110364,110389,1542,111806);G()}function R0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0);c=ti-96|0;ti=c;b=Li(a,1,q[212905],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];h=u[b+12>>2];v[c- -64>>3]=g;v[c+80>>3]=h;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;Bi(a,128909,c+48|0)}e=Li(a,2,q[212905],0);f=u[e>>2];g=u[e+4>>2];c:{d:{if(f!=f|g!=g){break d}d=u[e+8>>2];if(d!=d){break d}h=u[e+12>>2];if(h==h){break c}}d=u[e+8>>2];h=u[e+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=2;Bi(a,128909,c);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}i=u[b+12>>2];j=u[b>>2];k=u[b+4>>2];l=u[b+8>>2];b=jj(a,16);u[b+12>>2]=i+h;u[b+8>>2]=l+d;u[b+4>>2]=k+g;u[b>>2]=j+f;Ki(a,-1e4,128704);ij(a,-2);ti=c+96|0;return 1}function Nw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+8>>2];a:{b:{if((e|0)>=16){f=q[a+12>>2];break b}g=-1;d=q[a>>2];h=q[a+4>>2];if(d>>>0>=h>>>0){break a}f=q[a+12>>2];c=e;while(1){if(f>>>c|0){q[a>>2]=h;e=c;break b}g=0;if(d>>>0>>0){e=d+1|0;q[a>>2]=e;g=r[d|0];d=e}e=c+8|0;q[a+8>>2]=e;f=g<>2]=f;g=(c|0)<17;c=e;if(g){continue}break}}c=s[((f&511)<<1)+b>>1];if(c){b=c>>>9|0;q[a+8>>2]=e-b;q[a+12>>2]=f>>>b;return c&511}c=f>>>1&21845|f<<1&43690;c=c>>>2&13107|c<<2&52428;c=c>>>4&3855|c<<4&61680;h=c<<8&65280|c>>>8;d=10;while(1){c=d;d=c+1|0;if((h|0)>=q[((c<<2)+b|0)+1056>>2]){continue}break}g=-1;if(c>>>0>15){break a}d=(c<<1)+b|0;d=((h>>>16-c|0)-s[d+1024>>1]|0)+s[d+1124>>1]|0;if(d>>>0>287|(c|0)!=r[(b+d|0)+1156|0]){break a}q[a+8>>2]=e-c;q[a+12>>2]=f>>>c;g=s[((d<<1)+b|0)+1444>>1]}return g}function J0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0);c=ti-96|0;ti=c;b=Li(a,1,q[212905],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];h=u[b+12>>2];v[c- -64>>3]=g;v[c+80>>3]=h;v[c+72>>3]=d;v[c+56>>3]=f;q[c+48>>2]=1;Bi(a,128909,c+48|0)}e=Li(a,2,q[212905],0);f=u[e>>2];g=u[e+4>>2];c:{d:{if(f!=f|g!=g){break d}d=u[e+8>>2];if(d!=d){break d}h=u[e+12>>2];if(h==h){break c}}d=u[e+8>>2];h=u[e+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=2;Bi(a,128909,c);h=u[e+12>>2];d=u[e+8>>2];g=u[e+4>>2];f=u[e>>2]}i=u[b+12>>2];j=u[b>>2];k=u[b+4>>2];l=u[b+8>>2];b=jj(a,16);u[b+12>>2]=i-h;u[b+8>>2]=l-d;u[b+4>>2]=k-g;u[b>>2]=j-f;Ki(a,-1e4,128704);ij(a,-2);ti=c+96|0;return 1}function C5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-112|0;ti=c;q[c+104>>2]=0;b=q[a>>2];u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];u[c+64>>2]=u[b+64>>2];u[c+68>>2]=u[b+68>>2];u[c+72>>2]=u[b+72>>2];u[c+76>>2]=u[b+76>>2];u[c+80>>2]=u[b+80>>2];u[c+84>>2]=u[b+84>>2];u[c+88>>2]=u[b+88>>2];u[c+92>>2]=u[b+92>>2];f=q[a+12>>2];if(f){b=0;while(1){e=q[a+8>>2]+w(b,48)|0;d=q[e+16>>2];d=fH(c,d+256|0,u[d+272>>2]);q[e+36>>2]=q[e+36>>2]&-16385|(d?16384:0);b=b+1|0;if((f|0)!=(b|0)){continue}break}}ti=c+112|0}function fx(a,b){var c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;e=q[a+48>>2];a:{b:{c=q[a+16>>2];if((c|0)!=285){if((c|0)!=40){break b}c=q[a+4>>2];Gj(a);$k(a,b,0);Do(a,41,40,c);tm(q[a+48>>2],b);break a}c=q[a+24>>2];Gj(a);f=q[a+48>>2];if((Ww(f,c,b,1)|0)!=8){break a}q[b+8>>2]=Kp(f,c);break a}Dj(a,136925)}while(1){c:{d:{e:{f:{c=q[a+16>>2];g:{if((c|0)<=90){switch(c-40|0){case 18:break d;case 6:break f;case 0:break g;default:break c}}if((c|0)==91){break e}if((c|0)==123){break g}if((c|0)!=286){break c}}sm(e,b);PE(a,b);continue}hy(a,b);continue}cn(e,b);sB(a,d+8|0);iE(e,b,d+8|0);continue}Gj(a);if(q[a+16>>2]!=285){c=q[a+52>>2];q[d>>2]=dl(a,285);Dj(a,_i(c,136607,d))}c=q[a+24>>2];Gj(a);c=Kp(q[a+48>>2],c);q[d+24>>2]=-1;q[d+28>>2]=-1;q[d+16>>2]=c;q[d+8>>2]=4;BX(e,b,d+8|0);PE(a,b);continue}break}ti=d+32|0}function BA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=ti-32|0;ti=d;c=1;a:{b:{c:{d:{if(!b){break d}q[b+148>>2]=q[b+148>>2]&-32769;e=q[b+140>>2];f=e;if(e&32768){break d}f=f&32767;e=q[a+1036>>2];if(f>>>0>=q[a+1040>>2]-e>>2>>>0){break c}if(q[e+(f<<2)>>2]!=(b|0)){break b}h=q[b+84>>2];g=q[h+4>>2];if(!g){break d}f=0;while(1){j=q[h>>2]+w(i,96)|0;c=q[j+16>>2];k=q[c+100>>2];e=((k&65536)>>>16|0)+f|0;if(e>>>0>t[b+152>>2]){break a}l=q[c+44>>2];if(l){g=q[a+8>>2];q[d+12>>2]=b;q[d+8>>2]=g;q[d+16>>2]=q[((q[j+20>>2]<<2)+a|0)+12>>2];c=q[c+16>>2];q[d+24>>2]=((f<<2)+b|0)+156&k<<15>>31;q[d+20>>2]=c;if(xi[l|0](d+8|0)|0){c=0;break d}g=q[h+4>>2]}c=1;f=e;i=i+1|0;if(i>>>0>>0){continue}break}}ti=d+32|0;return c}J(12518,10061,479,9553);G()}J(8292,7291,1043,11986);G()}J(8117,7291,1057,11986);G()}function zH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(118721,118584,229,118729);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(118733,118584,535,118795);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function xz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=s[d>>1];q[e+12>>2]=-1;p[e+8>>1]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(195393,195256,229,195401);G()}p[((f<<4)+g|0)+8>>1]=s[d>>1];return}J(195405,195256,535,195467);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Os(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(109314,109017,229,109322);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(109326,109017,535,109388);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function GH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(195393,195256,229,195401);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(195405,195256,535,195467);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function CH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(115316,115179,229,115324);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(115328,115179,535,115390);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function f5(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti+ -64|0;ti=c;e=q[a+8>>2]-q[a+12>>2]>>4;b=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((b|0)==q[a+8>>2]-q[a+12>>2]>>4){b=Xi(a,1);a:{if(!(b-2>>>0<5|!b)){q[c+4>>2]=b;q[c>>2]=110485;b=Bi(a,110567,c);break a}q[c+32>>2]=b;q[c+36>>2]=0;q[c+24>>2]=1;b=q[d+4>>2];if((b|0)!=q[d+8>>2]){q[d+4>>2]=b+40;d=q[c+60>>2];q[b+32>>2]=q[c+56>>2];q[b+36>>2]=d;d=q[c+52>>2];q[b+24>>2]=q[c+48>>2];q[b+28>>2]=d;d=q[c+44>>2];q[b+16>>2]=q[c+40>>2];q[b+20>>2]=d;d=q[c+36>>2];q[b+8>>2]=q[c+32>>2];q[b+12>>2]=d;d=q[c+28>>2];q[b>>2]=q[c+24>>2];q[b+4>>2]=d;b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(e|0)){break a}J(110492,110389,707,110604);G()}q[c+16>>2]=(q[d+8>>2]-q[d>>2]|0)/40;b=Bi(a,110538,c+16|0)}ti=c- -64|0;return b|0}J(110492,110389,475,114319);G()}function _4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti+ -64|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=Xi(a,1);a:{if(!(c-2>>>0<5|!c)){q[b+4>>2]=c;q[b>>2]=110485;e=Bi(a,110449,b);break a}q[b+32>>2]=c;q[b+36>>2]=0;q[b+24>>2]=0;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;d=q[b+60>>2];q[c+32>>2]=q[b+56>>2];q[c+36>>2]=d;d=q[b+52>>2];q[c+24>>2]=q[b+48>>2];q[c+28>>2]=d;d=q[b+44>>2];q[c+16>>2]=q[b+40>>2];q[c+20>>2]=d;d=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=d;d=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=d;if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){break a}J(110492,110389,661,110513);G()}q[b+16>>2]=(q[d+8>>2]-q[d>>2]|0)/40;e=Bi(a,110538,b+16|0)}ti=b- -64|0;return e|0}J(110492,110389,475,114319);G()}function Nia(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-336|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;e=Wi(a,1,0);q[b+76>>2]=0;q[b+72>>2]=0;a:{b:{c=Nu(q[76921],e,b+76|0,b+72|0);c:{if(c){if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){break b}d=zi(e);e=wi;q[b+32>>2]=Mi(d,e);q[b+24>>2]=d;q[b+28>>2]=e;q[b+16>>2]=c;hj(b+80|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+16|0);q[b>>2]=b+80;a=Bi(a,70520,b);break c}c=zi(71950);q[b+96>>2]=0;q[b+100>>2]=0;o[b+92|0]=1;q[b+88>>2]=0;q[b+80>>2]=c;q[b+84>>2]=wi;q[b+68>>2]=0;Vv(q[b+72>>2],b+80|0,1,b+68|0);q[b+64>>2]=0;q[b+60>>2]=0;Bo(q[b+68>>2],b- -64|0,b+60|0);Gi(q[b+64>>2],q[b+76>>2],q[b+72>>2]);q[b+52>>2]=1;q[b+48>>2]=q[b+68>>2];zy(a,b+48|0);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}a=1}ti=b+336|0;return a|0}J(71471,71492,365,71945);G()}J(71955,71492,384,71945);G()}function BJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=ti-80|0;ti=f;q[f+72>>2]=0;q[f+76>>2]=0;g=f- -64|0;h=g;q[h>>2]=0;q[h+4>>2]=0;q[f+56>>2]=0;q[f+60>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+72>>2]=0;q[h>>2]=202;q[f+56>>2]=b;q[f+32>>2]=c;q[f+16>>2]=0;q[f+20>>2]=0;q[f+68>>2]=b;q[f+60>>2]=0;q[f+52>>2]=203;h=q[c+20>>2];q[f+36>>2]=h+4;i=f;g=q[c+28>>2];if(g){g=q[g>>2]}else{g=0}q[i+48>>2]=g;q[f+40>>2]=h?q[h>>2]:0;c=q[q[c+24>>2]>>2];q[f+44>>2]=c;a:{if(!q[c+4>>2]){break a}c=q[c>>2];if(!c){break a}j=q[c+48>>2];k=q[c+52>>2]}q[f+24>>2]=d;q[f+28>>2]=e;q[f+16>>2]=j;q[f+20>>2]=k;a=U3(a,f+16|0,b+132|0);b:{if(!a){b=0;break b}q[f>>2]=a;Ai(4,45688,46546,f);b=-1e3;if((a|0)!=2){break b}Ai(4,45688,46599,0)}ti=f+80|0;return b}function $H(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/280|0)){d=q[a+4>>2];e:{if(!d){break e}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,280)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+272>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((g|0)!=(d|0)){q[a+12>>2]=d+280;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,280)+f|0;q[a+20>>2]=q[d+272>>2]}q[d>>2]=b;Gi(d+8|0,c,264);q[d+272>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=c+w(e,280)|0;e=q[b+272>>2];if((e|0)!=-1){continue}break}q[b+272>>2]=(d-c|0)/280;break a}J(109314,109017,229,109322);G()}Gi((w(e,280)+f|0)+8|0,c,264);return}J(109326,109017,535,109388);G()}q[b>>2]=(d-c|0)/280}q[a+24>>2]=q[a+24>>2]+1}function yI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f=b&65535;g=q[a+32>>2];if(f>>>0<(q[a+36>>2]-g|0)/576>>>0){if(s[(g+w(f,576)|0)+552>>1]!=(b>>>16|0)){break e}g=g+w(f,576)|0;if(s[g+554>>1]!=(b&65535)){break d}b=q[g+508>>2];f:{if(b){f=q[a+280>>2]-q[a+276>>2]>>3;break f}b=q[a+296>>2];j=q[a+300>>2];if((b|0)==(j|0)){return}f=q[a+280>>2]-q[a+276>>2]>>3;h=q[a+292>>2];k=b-h>>2;i=f+k|0;if(i>>>0>j-h>>2>>>0){break c}q[a+296>>2]=(i<<2)+h;if(i>>>0<=k>>>0){break a}q[g+508>>2]=b}if(e>>>0>=f>>>0){break b}if(d>>>0<=e>>>0){while(1){q[((d&65535)<<2)+b>>2]=c;d=d+1|0;if((d&65535)>>>0<=e>>>0){continue}break}}return}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(196250,195579,506,196269);G()}J(193958,193630,885,194001);G()}J(195730,195579,479,195741);G()}function rea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-128|0;ti=b;g=Zi(b+104|0,a,0,77222,462);c=q[q[Tj(a)+80>>2]+8>>2];q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;wl(a,1,c,77094,b+100|0,b- -64|0,0);c=q[b+100>>2];e=Mj(a,2);d=wi;f=d;d=oA(c,e,d);a:{if((d|0)==-1){q[b>>2]=Mi(e,f);a=sj(g,77458,b);break a}f=c;c=Ej(a,3);hfa(f,d,(c|0)!=0);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;if($l(a,b+32|0)){q[b+24>>2]=d;a=0;q[b+28>>2]=(c|0)!=0;c=q[63480];e=q[c+8>>2];d=q[c+12>>2];q[b+88>>2]=0;q[b+92>>2]=0;c=fk(b+32|0,b- -64|0,e,d,0,c,b+24|0,8);if(!c){break a}q[b+16>>2]=q[q[63480]+4>>2];q[b+20>>2]=c;Ai(4,77450,77717,b+16|0);break a}a=Bi(a,77762,0)}Yi(g);ti=b+128|0;return a|0}function i8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=ti-32|0;ti=f;g=c;d=q[b+28>>2];e=q[b+24>>2];a:{if((d|0)!=(e|0)){b=d-e|0;a=(b|0)>-1?b:-1;d=e-d|0;b=w((a|0)<1?a:1,((b|0)<(d|0)?d:b)>>>3|0);d=b>>>0>1?b:1;b=0;while(1){a=q[e+(b<<3)>>2];if(q[(e+(b<<3)|0)+4>>2]==(c|0)){break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}}a=-1}a=q[(a<<2)+142864>>2];b=la(a|0,327682)|0;o[g+145|0]=b;Jb(a|0,c|0,b&255)|0;b=la(a|0,327684)|0;b=b>>>0<4?b:4;o[c+147|0]=b|r[c+147|0]&128;Kb(a|0,c+136|0,b|0)|0;b=la(a|0,327683)|0;b=b>>>0<32?b:32;o[c+146|0]=b;Mb(a|0,f|0,b|0)|0;a=r[c+146|0];if(a){e=a>>>0>1?a:1;b=0;while(1){a=1<>>3&536870908)+c|0;q[d+128>>2]=a|q[d+128>>2];break b}d=(b>>>3&536870908)+c|0;q[d+128>>2]=q[d+128>>2]&(a^-1)}b=b+1|0;if((e|0)!=(b|0)){continue}break}}ti=f+32|0}function xl(a){var b=x(0),c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;e=(bxa(a),Zwa(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=x(1);if(d>>>0<964689920){break a}b=Gn(+a);break a}if(d>>>0<=1081824209){f=+a;if(d>>>0>=1075235812){b=x(-Gn(((e|0)>-1?-3.141592653589793:3.141592653589793)+f));break a}if((e|0)<=-1){b=En(f+1.5707963267948966);break a}b=En(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=Gn(((e|0)>-1?-6.283185307179586:6.283185307179586)+ +a);break a}if((e|0)<=-1){b=En(-4.71238898038469- +a);break a}b=En(+a+ -4.71238898038469);break a}b=x(a-a);if(d>>>0>=2139095040){break a}b:{switch(oB(a,c+8|0)&3){case 0:b=Gn(v[c+8>>3]);break a;case 1:b=En(-v[c+8>>3]);break a;case 2:b=x(-Gn(v[c+8>>3]));break a;default:break b}}b=En(v[c+8>>3])}a=b;ti=c+16|0;return a}function uH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(119743,119606,229,119751);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(119755,119606,535,119817);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function tF(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{b:{c:{d:{e:{if(ry(a)){if(q[b>>2]!=1){break d}q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;p[d>>1]=2;q[d+4>>2]=q[Eu(b)>>2];b=c&65535;p[d+2>>1]=(b<<24|b<<8)>>>16;b=_v(a,d,16);break e}if(!qy(a)){break b}if(q[b>>2]!=2){break c}q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;p[d>>1]=10;b=us(b);e=q[b+4>>2];q[d+8>>2]=q[b>>2];q[d+12>>2]=e;e=q[b+12>>2];q[d+16>>2]=q[b+8>>2];q[d+20>>2]=e;b=c&65535;p[d+2>>1]=(b<<24|b<<8)>>>16;b=_v(a,d,28)}a=0;if((b|0)!=-1){break a}if((Sl(168496,410,q[242957])|0)==-32){break a}if((Sl(168496,410,q[242957])|0)==-3){break a}a=Sl(168496,412,q[242957]);break a}J(168583,168496,384,168703);G()}J(168620,168496,395,168703);G()}Ai(4,168407,168711,0);a=-2}ti=d+32|0;return a}function Wq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(11409,11284,229,11417);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(11421,11284,535,11483);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function WH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(27248,27072,229,27256);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(27260,27072,535,27322);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Vq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(29440,28440,229,29448);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(29452,28440,535,29514);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function UH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(22473,22348,229,22481);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(22485,22348,535,22547);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Qo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=ti-1040|0;ti=e;l=Ui(c);q[e+4>>2]=0;i=e+12|0;q[e>>2]=i;q[e+8>>2]=a;h=on(b,c);if(h){k=e+1036|0;while(1){g=h-b|0;if(g){while(1){g=g-1|0;f=q[e>>2];if(k>>>0<=f>>>0){Yk(e);f=q[e>>2]}j=r[b|0];q[e>>2]=f+1;o[f|0]=j;b=b+1|0;if(g){continue}break}}b=d;g=Ui(b);if(g){while(1){g=g-1|0;f=q[e>>2];if(k>>>0<=f>>>0){Yk(e);f=q[e>>2]}j=r[b|0];q[e>>2]=f+1;o[f|0]=j;b=b+1|0;if(g){continue}break}}b=h+l|0;h=on(b,c);if(h){continue}break}}g=Ui(b);if(g){c=e+1036|0;while(1){g=g-1|0;f=q[e>>2];if(c>>>0<=f>>>0){Yk(e);f=q[e>>2]}d=r[b|0];q[e>>2]=f+1;o[f|0]=d;b=b+1|0;if(g){continue}break}}b=q[e>>2]-i|0;a:{if(!b){f=q[e+4>>2];break a}Ni(q[e+8>>2],i,b);q[e>>2]=i;f=q[e+4>>2]+1|0;q[e+4>>2]=f}Ol(q[e+8>>2],f);q[e+4>>2]=1;a=dj(a,-1,0);ti=e+1040|0;return a}function xG(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,r=0;l=ti-16|0;ti=l;j=q[a+52>>2];h=q[a+48>>2];q[f>>2]=-1;i=j-h|0;m=(i|0)/40|0;a:{if(!i){break a}b:{c:{if((h|0)!=(j|0)){n=1;o=m>>>0>1?m:1;while(1){h=w(k,40)+h|0;i=q[h>>2];j=q[i+8>>2];i=q[i+12>>2];q[l+12>>2]=s[q[h>>2]+24>>1];r=h+8|0;d:{if((b|0)!=(j|0)|(c|0)!=(i|0)){if((b|0)!=q[h+8>>2]|(c|0)!=q[h+12>>2]){break d}h=0;break c}q[e>>2]=r;j=b;i=c;break b}if(q[h+16>>2]==(b|0)&q[h+20>>2]==(c|0)){h=1;break c}if(q[h+24>>2]==(b|0)&q[h+28>>2]==(c|0)){h=2;break c}if(q[h+32>>2]==(b|0)&q[h+36>>2]==(c|0)){h=3;break c}k=k+1|0;n=m>>>0>k>>>0;if((k|0)==(o|0)){break a}h=q[a+48>>2];if((q[a+52>>2]-h|0)/40>>>0>k>>>0){continue}break}}J(109402,109229,479,109413);G()}q[f>>2]=h}q[d>>2]=j;q[d+4>>2]=i;p[g>>1]=q[l+12>>2]}ti=l+16|0;return n}function $la(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{e=q[a+8>>2];d=q[e+36>>2];b=q[e+32>>2];if((d|0)==(b|0)){break b}c=q[q[a+16>>2]>>2];f=d-b>>2;d=0;while(1){c:{if(q[b+(d<<2)>>2]==(c|0)){g=q[q[q[a+4>>2]+80>>2]>>2];a=q[c+16>>2];if(a){Pi(g,a)}a=q[c+28>>2];b=q[c+24>>2];if((a|0)==(b|0)){b=a;break c}f=0;while(1){h=q[(f<<2)+b>>2];if(h){Pi(g,h);b=q[c+24>>2];a=q[c+28>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}break c}d=d+1|0;if(f>>>0>d>>>0){continue}break b}break}q[c+28>>2]=b;ZI(q[c+8>>2]);if(c){d:{if(o[c+36|0]&1){break d}a=q[c+24>>2];if(!a){break d}yi(a)}yi(c)}a=q[e+36>>2];b=q[e+32>>2];if(a-b>>2>>>0<=d>>>0){break a}q[b+(d<<2)>>2]=q[a-4>>2];a=q[e+36>>2]-4|0;q[e+36>>2]=a;if(a>>>0>=t[e+32>>2]){break b}J(36719,36330,516,36709);G()}return 0}J(36694,36330,513,36709);G()}function ym(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-16|0;ti=g;i=zi(b);j=wi;e=q[a+4>>2];f=q[a>>2];a:{if((e|0)==(f|0)){break a}d=e-f|0;h=(d|0)>-1?d:-1;e=f-e|0;d=w((h|0)<1?h:1,((d|0)<(e|0)?e:d)>>>4|0);e=d>>>0>1?d:1;d=0;while(1){b:{h=f+(d<<4)|0;if((i|0)==q[h>>2]&q[h+4>>2]==(j|0)){d=q[(f+(d<<4)|0)+8>>2];e=q[a+16>>2];if(d>>>0>2]-e>>>0){break b}J(149685,149557,479,149696);G()}d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}if(!e){break a}d=d+e|0;f=Ui(d);q[g+12>>2]=0;k=Dt(d,g+12|0);e=d+f|0;f=q[g+12>>2];if(!((e|0)!=(f|0)|(d|0)==(f|0))){c=x(k);break a}q[g>>2]=d;Ai(3,149340,149828,g)}q[g+8>>2]=0;d=q[213375];c:{if(!d){break c}while(1){d:{f=q[d+20>>2];if(f){if(xi[f|0](a,b,c,g+8|0)|0){break d}}d=q[d+24>>2];if(d){continue}break c}break}c=u[g+8>>2]}ti=g+16|0;return c}function wH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=r[c|0];q[d+8>>2]=-1;o[d+4|0]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(118721,118584,229,118729);G()}o[(w(e,12)+f|0)+4|0]=r[c|0];return}J(118733,118584,535,118795);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function pH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=ti-1072|0;ti=f;k=q[a+48>>2];wj(k);hn(f+1040|0,0);ll(f+1040|0,b,Ui(b));ll(f+1040|0,c,Ui(c));l=$n(f+1040|0);m=wi;h=zi(b);i=wi;b=q[a+20>>2];a:{if(b){c=2;n=a+16|0;b=q[q[n>>2]+(Qwa(h,i,b)<<2)>>2];if((b|0)==-1){break a}j=q[a+24>>2];while(1){g=w(b,136)+j|0;if(q[g>>2]!=(h|0)|q[g+4>>2]!=(i|0)){b=q[g+128>>2];if((b|0)!=-1){continue}break a}break}g=w(b,136)+j|0;if((l|0)!=q[g+80>>2]|q[g+84>>2]!=(m|0)){break a}if(o[g+121|0]&1){c=3;Ai(3,160800,161705,0);break a}b=w(b,136)+j|0;q[b+88>>2]=pk();q[b+92>>2]=wi;tz(q[a>>2],l,m,f+16|0);a=il(f+16|0,160934);if(a){q[d>>2]=a;o[g+120|0]=r[g+120|0]+1;a=q[b+108>>2];q[e>>2]=q[b+104>>2];q[e+4>>2]=a;c=0;break a}q[f>>2]=f+16;Ai(4,160800,161725,f);JH(n,h,i)}c=2}qj(k);ti=f+1072|0;return c}function lea(a,b,c,d){var e=0;e=b;a:{b:{switch(b|0){case 3:case 5:case 11:case 15:case 16:case 18:case 21:e=21;if(xi[q[77500]](a,21)|0){break a}e=16;if(xi[q[77500]](a,16)|0){break a}e=15;if(xi[q[77500]](a,15)|0){break a}if((c|0)==(d|0)){e=11;if(xi[q[77500]](a,11)|0){break a}}return xi[q[77500]](a,b)|0?b:3;case 2:case 4:case 9:case 12:case 17:e=17;if(xi[q[77500]](a,17)|0){break a}e=12;if(xi[q[77500]](a,12)|0){break a}if((c|0)==(d|0)){e=9;if(xi[q[77500]](a,9)|0){break a}}return xi[q[77500]](a,b)|0?b:2;case 1:case 20:e=20;if(xi[q[77500]](a,20)|0){break a}e=14;if(xi[q[77500]](a,14)|0){break a}return xi[q[77500]](a,b)|0?b:1;case 0:case 19:break b;default:break a}}e=19;if(xi[q[77500]](a,19)|0){break a}e=13;if(xi[q[77500]](a,13)|0){break a}e=xi[q[77500]](a,b)|0?b:0}return e}function eI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=r[c|0];q[d+8>>2]=-1;o[d+4|0]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(144892,144767,229,144900);G()}o[(w(e,12)+f|0)+4|0]=r[c|0];return}J(144904,144767,535,144966);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function U7(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=r[d|0];q[e+12>>2]=-1;o[e+8|0]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(29440,28440,229,29448);G()}o[((f<<4)+g|0)+8|0]=r[d|0];return}J(29452,28440,535,29514);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function Oo(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;c=0;c:{d:{e:{switch(q[b+8>>2]-6|0){case 0:q[q[b>>2]+12>>2]=q[q[a+8>>2]-16>>2];break d;case 1:q[q[b>>2]+12>>2]=q[q[a+8>>2]-16>>2];break d;case 2:break e;default:break c}}c=q[q[a+8>>2]-16>>2];d=q[b>>2];q[d+80>>2]=5;q[d+72>>2]=c}c=1;d=q[q[a+8>>2]-16>>2];if(!(r[d+5|0]&3)){break c}b=q[b>>2];if(!(r[b+5|0]&4)){break c}Qn(a,b,d)}q[a+8>>2]=q[a+8>>2]-16;return c}function wm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{h=q[a+24>>2];j=q[a+16>>2];g=q[a+8>>2];if((h|0)!=j-g>>4){i=q[a+4>>2];e:{if(!i){break e}f=q[q[a>>2]+(Qwa(b,c,i)<<2)>>2];if((f|0)==-1){break e}while(1){e=(f<<4)+g|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){break d}f=q[e+12>>2];if((f|0)!=-1){continue}break}}e=q[a+12>>2];f:{if((j|0)!=(e|0)){q[a+12>>2]=e+16;break f}e=q[a+20>>2];if((e|0)==-1){break c}e=(e<<4)+g|0;q[a+20>>2]=q[e+12>>2]}q[e>>2]=b;q[e+4>>2]=c;d=q[d>>2];q[e+12>>2]=-1;q[e+8>>2]=d;b=q[a>>2]+(Qwa(b,c,i)<<2)|0;f=q[b>>2];if((f|0)==-1){break b}while(1){b=(f<<4)+g|0;f=q[b+12>>2];if((f|0)!=-1){continue}break}q[b+12>>2]=e-g>>4;break a}J(5099,4962,229,5107);G()}q[((f<<4)+g|0)+8>>2]=q[d>>2];return}J(5111,4962,535,5173);G()}q[b>>2]=e-g>>4;h=q[a+24>>2]}q[a+24>>2]=h+1}function cI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(39319,39194,229,39327);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(39331,39194,535,39393);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function ZH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=q[c>>2];q[d+8>>2]=-1;q[d+4>>2]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(24096,23959,229,24104);G()}q[(w(e,12)+f|0)+4>>2]=q[c>>2];return}J(24108,23959,535,24170);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function Jz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=g-f>>4){d=q[a+4>>2];c:{if(!d){break c}e=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((e|0)==-1){break c}while(1){d=(e<<4)+f|0;if(q[d>>2]==(b|0)){break b}e=q[d+12>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];d:{if((g|0)!=(d|0)){q[a+12>>2]=d+16;break d}d=q[a+20>>2];if((d|0)==-1){break a}d=(d<<4)+f|0;q[a+20>>2]=q[d+12>>2]}q[d>>2]=b;q[d+4>>2]=q[c>>2];p[d+8>>1]=s[c+4>>1];q[d+12>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;e=q[b>>2];if((e|0)!=-1){while(1){b=c+(e<<4)|0;e=q[b+12>>2];if((e|0)!=-1){continue}break}b=b+12|0}q[b>>2]=d-c>>4;q[a+24>>2]=q[a+24>>2]+1;return}J(160625,160508,229,160633);G()}a=(e<<4)+f|0;q[a+4>>2]=q[c>>2];p[a+8>>1]=s[c+4>>1];return}J(160637,160508,535,160699);G()}function GN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-16|0;ti=f;e=Rj(a,b,f+12|0,48);a:{if(e){e=e-9472|0;break a}e=-9574;d=q[f+12>>2];if(!d){break a}g=q[a>>2];if((d+g|0)!=(b|0)){break a}while(1){if(b>>>0>g>>>0){g=Rj(a,b,f+12|0,48);if(g){e=g-9472|0;break a}g=q[a>>2]+q[f+12>>2]|0;d=Rj(a,g,f+12|0,6);if(d){e=d-9472|0;break a}h=q[f+12>>2];d=q[a>>2];i=((r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24))==2104661?(h|0)==4:0)?i:-8320;if(q[c+8>>2]){if(q[c+12>>2]){e=-9472;break a}j=c;c=Vj(1,16);q[j+12>>2]=c;if(!c){e=-9578;break a}}q[c+8>>2]=d;q[c>>2]=6;q[c+4>>2]=h;d=q[a>>2]+h|0;q[a>>2]=d;if(d>>>0>>0){d=Rj(a,g,f+12|0,48);if(d){e=d-9472|0;break a}d=q[a>>2]+q[f+12>>2]|0;q[a>>2]=d}if((d|0)==(g|0)){continue}break a}break}q[c+12>>2]=0;e=q[a>>2]==(b|0)?i:-9574}ti=f+16|0;return e}function _ja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b:{d=q[a+8>>2];c=q[d+8>>2];e=q[d+4>>2];if((c|0)!=(e|0)){b=q[q[a+16>>2]>>2];f=c-e>>2;c=0;while(1){if(q[e+(c<<2)>>2]==(b|0)){if(q[b+148>>2]){Pi(q[q[q[a+4>>2]+80>>2]>>2],q[b+148>>2])}if(q[b+152>>2]){Pi(q[q[q[a+4>>2]+80>>2]>>2],q[b+152>>2])}a=q[b+100>>2];if(a){yi(a)}a=q[b+104>>2];if(a){yi(a)}a=q[b+144>>2];if(a){fr(a)}a=q[d+8>>2];e=q[d+4>>2];if(a-e>>2>>>0<=c>>>0){break b}q[e+(c<<2)>>2]=q[a-4>>2];a=q[d+8>>2]-4|0;q[d+8>>2]=a;if(a>>>0>2]){break a}if(b){c:{if(o[b+136|0]&1){break c}a=q[b+124>>2];if(!a){break c}yi(a)}d:{if(o[b+120|0]&1){break d}a=q[b+108>>2];if(!a){break d}yi(a)}yi(b)}return 0}c=c+1|0;if(f>>>0>c>>>0){continue}break}}J(49707,49713,463,49757);G()}J(50972,50529,513,50987);G()}J(50997,50529,516,50987);G()}function Oq(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-32|0;ti=c;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){d=q[81756];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);b:{if((gE(a,-1,117254)|0)!=1){Ci(a,-2);b=0;break b}f=aj(a,-1);c:{if(f){d=f;e=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=e;e=q[d+28>>2];q[b+24>>2]=q[d+24>>2];q[b+28>>2]=e;e=q[d+20>>2];q[b+16>>2]=q[d+16>>2];q[b+20>>2]=e;e=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=e;Ci(a,-3);break c}Ly(a,-1)}b=(f|0)!=0}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}ti=c+32|0;return b}q[c+12>>2]=g;q[c+4>>2]=812;q[c+8>>2]=0;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}q[c+28>>2]=a;q[c+24>>2]=g;q[c+20>>2]=812;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function Fj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;i=zi(b);j=wi;e=q[a+4>>2];f=q[a>>2];a:{b:{if((e|0)==(f|0)){break b}d=e-f|0;h=(d|0)>-1?d:-1;e=f-e|0;d=w((h|0)<1?h:1,((d|0)<(e|0)?e:d)>>>4|0);e=d>>>0>1?d:1;d=0;while(1){c:{h=f+(d<<4)|0;if((i|0)==q[h>>2]&q[h+4>>2]==(j|0)){f=q[(f+(d<<4)|0)+8>>2];e=q[a+16>>2];if(f>>>0>2]-e>>>0){break c}J(149685,149557,479,149696);G()}d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}if(!e){break b}d=e+f|0;e=Ui(d);q[g+12>>2]=0;f=lq(d,g+12|0);h=d+e|0;e=q[g+12>>2];if((d|0)!=(e|0)?(h|0)==(e|0):0){break a}q[g>>2]=d;Ai(3,149340,149798,g)}f=c}q[g+8>>2]=0;d=q[213375];d:{if(!d){break d}while(1){e:{c=q[d+16>>2];if(c){if(xi[c|0](a,b,f,g+8|0)|0){break e}}d=q[d+24>>2];if(d){continue}break d}break}f=q[g+8>>2]}ti=g+16|0;return f}function B$(a,b){var c=0,d=0,e=0,f=0,g=0;g=ti-16|0;ti=g;a:{b:{c:{if((a|0)!=(b|0)){d=b;c=r[a|0];d:{if(!c){break d}if(!b){f=-1;d=0;while(1){e:{f:{if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){break f}c=c<<24>>24;if(c-45>>>0<3|(c|0)==95|(c|0)==126){break f}if(f>>>0<=2){break c}e=-3;c=3;break e}if(!f){break b}e=-1;c=1}f=f+e|0;d=c+d|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}break d}f=2047;while(1){g:{h:{i:{if((c-48&255)>>>0<10|((c&-33)-65&255)>>>0<26){break i}e=c<<24>>24;if(e-45>>>0<3|(e|0)==126){break i}if((e|0)!=95){break h}}if(!f){break b}o[d|0]=c;e=-1;c=1;break g}if(f>>>0<3){break c}q[g>>2]=e;hj(d,4,178822,g);e=-3;c=3}f=f+e|0;d=c+d|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}}if(b){o[d|0]=0}break a}J(178746,178771,132,178791);G()}o[d|0]=0;break a}o[d|0]=0}ti=g+16|0}function uk(a){var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=(bxa(a),Zwa(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=En(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=x(-Gn(d+1.5707963267948966));break a}a=Gn(d+ -1.5707963267948966);break a}a=En(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=Gn(d+4.71238898038469);break a}a=x(-Gn(d+ -4.71238898038469));break a}a=En(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=x(a-a);break a}b:{switch(oB(a,b+8|0)&3){case 0:a=En(v[b+8>>3]);break a;case 1:a=Gn(v[b+8>>3]);break a;case 2:a=En(-v[b+8>>3]);break a;default:break b}}a=x(-Gn(v[b+8>>3]))}ti=b+16|0;return a}function ts(a,b,c,d,e){var f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0);a:{b:{c:{g=(d!=x(0))<<2|(c!=x(0))<<1;switch(g|b!=x(0)){case 1:case 2:case 4:break b;case 0:break c;default:break a}}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=st(x(x(b+c)+d),e);u[(g<<1)+a>>2]=x(b+b)*x(57.295780181884766);return}g=a;f=x(x(b*c)+x(d*e));d:{if(!(f>x(.4999000132083893)^1)){b=st(b,e);c=x(b+b);b=x(0);d=x(90);break d}if(!(f>2]=d;u[a>>2]=b;u[a+4>>2]=c*x(57.295780181884766)}function PE(a,b){var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;e=q[a+48>>2];f=q[a+4>>2];a:{b:{c:{d:{d=q[a+16>>2];if((d|0)!=286){if((d|0)==123){break c}if((d|0)!=40){break d}if(q[a+8>>2]!=(f|0)){Dj(a,136953)}Gj(a);e:{if(q[a+16>>2]==41){q[c+8>>2]=0;break e}$k(a,c+8|0,0);if(q[a+16>>2]==44){while(1){Gj(a);sm(q[a+48>>2],c+8|0);$k(a,c+8|0,0);if(q[a+16>>2]==44){continue}break}}iu(e,c+8|0,-1)}Do(a,41,40,f);break b}d=Kp(e,q[a+24>>2]);q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+16>>2]=d;q[c+8>>2]=4;Gj(a);break b}Dj(a,137002);break a}_L(a,c+8|0)}a=q[b+8>>2];d=0;f:{switch(q[c+8>>2]){default:sm(e,c+8|0);case 0:d=q[e+36>>2]-a|0;break;case 13:case 14:break f}}d=im(e,28,a,d,2);q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=d;q[b>>2]=13;q[(q[q[e>>2]+20>>2]+(q[e+24>>2]<<2)|0)-4>>2]=f;q[e+36>>2]=a+1}ti=c+32|0}function F6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+32>>2];if(h>>>0>=q[a+36>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(147430,147451,152,147513);G()}J(147518,147260,513,147533);G()}J(147543,147260,516,147533);G()}J(147249,147260,479,147227);G()}function $u(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+24>>2];i=q[a+16>>2];f=q[a+8>>2];if((g|0)!=((i-f|0)/12|0)){h=q[a+4>>2];e:{if(!h){break e}e=q[q[a>>2]+((b>>>0)%(h>>>0)<<2)>>2];if((e|0)==-1){break e}while(1){d=w(e,12)+f|0;if(q[d>>2]==(b|0)){break d}e=q[d+8>>2];if((e|0)!=-1){continue}break}}d=q[a+12>>2];f:{if((i|0)!=(d|0)){q[a+12>>2]=d+12;break f}d=q[a+20>>2];if((d|0)==-1){break c}d=w(d,12)+f|0;q[a+20>>2]=q[d+8>>2]}q[d>>2]=b;c=s[c>>1];q[d+8>>2]=-1;p[d+4>>1]=c;b=q[a>>2]+((b>>>0)%(h>>>0)<<2)|0;e=q[b>>2];if((e|0)==-1){break b}while(1){b=w(e,12)+f|0;e=q[b+8>>2];if((e|0)!=-1){continue}break}q[b+8>>2]=(d-f|0)/12;break a}J(6318,6326,229,6386);G()}p[(w(e,12)+f|0)+4>>1]=s[c>>1];return}J(6390,6326,535,6452);G()}q[b>>2]=(d-f|0)/12;g=q[a+24>>2]}q[a+24>>2]=g+1}function l8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=0;a:{b:{while(1){c:{if((la(a|0,327681)|0)==1){jI(b,a);break c}e=q[b+28>>2];d=q[b+24>>2];if((e|0)==(d|0)){break c}c=e-d|0;f=(c|0)>-1?c:-1;e=d-e|0;c=w((f|0)<1?f:1,((c|0)<(e|0)?e:c)>>>3|0);f=c>>>0>1?c:1;c=0;while(1){e=c<<3;g=e+d|0;if(q[g>>2]==(a|0)){hI(q[b+20>>2],q[g+4>>2],0);d=q[b+24>>2];if(q[b+28>>2]-d>>3>>>0<=c>>>0){break b}a8(q[b+20>>2],q[(e+d|0)+4>>2]);g=c;c=q[b+28>>2];d=q[b+24>>2];if(g>>>0>=c-d>>3>>>0){break a}d=e+d|0;c=c-8|0;e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;c=q[b+28>>2]-8|0;q[b+28>>2]=c;if(c>>>0>=t[b+24>>2]){break c}J(142953,142615,516,142943);G()}c=c+1|0;if((f|0)!=(c|0)){continue}break}}a=a+1|0;if((a|0)!=16){continue}break}return}J(142604,142615,479,142671);G()}J(142928,142615,513,142943);G()}function Pv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;q[f+8>>2]=0;g=1;a:{b:{c:{c=r[a+3272|0];if(!(c&1)){e=q[a+1040>>2];d=q[a+1036>>2];b=e-d|0;if(!b){break b}if((d|0)!=(e|0)){c=d-e|0;c=((b|0)<(c|0)?c:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(c,(b|0)<1?b:1);h=b>>>0>1?b:1;c=0;while(1){b=q[(c<<2)+d>>2];d:{if(!b){break d}d=q[b+140>>2];e=q[b+136>>2];if(!(e&256)){break d}p[b+144>>1]=s[b+144>>1];q[b+136>>2]=e&-257;q[b+140>>2]=d;d=d&32767;e=q[a+1036>>2];if(d>>>0>=q[a+1040>>2]-e>>2>>>0){break a}if((b|0)!=q[(d<<2)+e>>2]){break c}g=AA(a,b)&g}c=c+1|0;if((h|0)==(c|0)){c=r[a+3272|0];break b}d=q[a+1036>>2];if(q[a+1040>>2]-d>>2>>>0>c>>>0){continue}break}}break a}J(12006,7291,1840,12094);G()}J(8292,7291,1830,12110);G()}o[a+3272|0]=c&239;ti=f+16|0;return}J(12518,10061,479,9553);G()}function k7(a){var b=0,c=0,d=x(0);if(!r[852900]){m7();q[213112]=7;q[213110]=5;q[213111]=6;q[213108]=3;q[213109]=4;q[213106]=1;q[213107]=2;q[213104]=1;q[213105]=0;q[213102]=0;q[213103]=2;o[852900]=1}b=Fi(Oi(92),0,92);q[b+56>>2]=0;q[b+60>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+28>>2]=-1;q[b+48>>2]=0;q[b+52>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+60>>2]=-1;c=Ji(16);o[b+4|0]=16;q[b>>2]=c;o[c|0]=0;o[c+1|0]=1;o[q[b>>2]+2|0]=2;o[q[b>>2]+3|0]=3;o[q[b>>2]+4|0]=4;o[q[b>>2]+5|0]=5;o[q[b>>2]+6|0]=6;o[q[b>>2]+7|0]=7;o[q[b>>2]+8|0]=8;o[q[b>>2]+9|0]=9;o[q[b>>2]+10|0]=10;o[q[b>>2]+11|0]=11;o[q[b>>2]+12|0]=12;o[q[b>>2]+13|0]=13;o[q[b>>2]+14|0]=14;o[q[b>>2]+15|0]=15;dI(b+40|0,7,16);q[b+72>>2]=q[a>>2];u[b+80>>2]=u[a+4>>2];d=u[a+8>>2];q[b+88>>2]=1063675494;u[b+84>>2]=d;return b}function Sl(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;d=-1;a:{b:{switch(c-2|0){case 3:d=-2;break a;case 4:d=-3;break a;case 6:d=-4;break a;case 13:d=-5;break a;case 15:d=-6;break a;case 19:d=-7;break a;case 21:d=-8;break a;case 25:d=-9;break a;case 26:d=-10;break a;case 28:d=-11;break a;case 31:d=-12;break a;case 33:d=-13;break a;case 36:d=-14;break a;case 38:d=-15;break a;case 40:d=-17;break a;case 51:d=-20;break a;case 55:d=-22;break a;case 136:d=-23;break a;case 62:d=-24;break a;case 64:d=-25;break a;case 65:d=-26;break a;case 71:d=-27;break a;case 2:d=-28;break a;case 12:d=-29;break a;case 1:d=-30;break a;case 11:d=-31;break a;case 24:d=-32;break a;case 0:break a;default:break b}}q[e+8>>2]=c;q[e+4>>2]=b;q[e>>2]=a;Ai(4,168407,168412,e);d=-1e3}ti=e+16|0;return d}function $4(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Zi(b+72|0,a,0,110389,1271);a:{b:{if(Bj(a,1)){q[b+40>>2]=Sq(a,q[q[d+304>>2]+2384>>2]);q[b+44>>2]=wi;q[b+32>>2]=4;q[b+48>>2]=0;q[b+52>>2]=0;c=q[d+4>>2];if((c|0)==q[d+8>>2]){break b}q[d+4>>2]=c+40;a=b- -64|0;d=q[a+4>>2];q[c+32>>2]=q[a>>2];q[c+36>>2]=d;a=q[b+60>>2];q[c+24>>2]=q[b+56>>2];q[c+28>>2]=a;a=q[b+52>>2];q[c+16>>2]=q[b+48>>2];q[c+20>>2]=a;a=q[b+44>>2];q[c+8>>2]=q[b+40>>2];q[c+12>>2]=a;a=q[b+36>>2];q[c>>2]=q[b+32>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=110485;a=Bi(a,111332,b);break a}q[b+16>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b+16|0)}Yi(e);ti=b+96|0;return a|0}J(110492,110389,475,114319);G()}function nA(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0;f=ti-96|0;ti=f;g=r[e+40|0];q[a+104>>2]=0;o[a+108|0]=g;g=q[e+8>>2];i=q[e+12>>2];a:{if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){q[a>>2]=g;q[a+4>>2]=i;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;b=q[e+36>>2];q[a+24>>2]=q[e+32>>2];q[a+28>>2]=b;u[f>>2]=u[d>>2];u[f+4>>2]=u[d+4>>2];u[f+8>>2]=u[d+8>>2];u[f+12>>2]=u[d+12>>2];lp(f+24|0,f);Gi(a+32|0,f+24|0,72);break a}b:{if((b|0)==(g|0)&(c|0)==(i|0)){h=u[d>>2];break b}if(q[e+16>>2]==(b|0)&q[e+20>>2]==(c|0)){h=u[d+4>>2];break b}if(q[e+24>>2]==(b|0)&q[e+28>>2]==(c|0)){h=u[d+8>>2];break b}j=-1;if((b|0)!=q[e+32>>2]|(c|0)!=q[e+36>>2]){break a}h=u[d+12>>2]}b=f+24|0;q[b>>2]=0;v[b+8>>3]=h;Gi(a+32|0,f+24|0,72);j=0}ti=f+96|0;return j}function qea(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,p=0,r=0,t=0,u=0;c=ti-48|0;ti=c;k=q[a>>2];l=q[k+4>>2];e=l;m=q[e+96>>2];n=q[e+100>>2];p=q[a+4>>2];r=q[p+4>>2];e=r;t=q[e+96>>2];u=q[e+100>>2];o[c+16|0]=1;d=s[a+8>>1];if(d){if(!(d&1)){while(1){f=f+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}e=(f<<3)+b|0;g=q[e>>2];h=q[e+4>>2]}d=s[a+10>>1];if(d){f=0;if(!(d&1)){while(1){f=f+1|0;a=d&2;d=(d&65534)>>>1|0;if(!a){continue}break}}a=(f<<3)+b|0;i=q[a>>2];j=q[a+4>>2]}q[c+40>>2]=g;q[c+44>>2]=h;q[c+24>>2]=i;q[c+28>>2]=j;q[c+8>>2]=t;q[c+12>>2]=u;q[c+32>>2]=i;q[c+36>>2]=j;Bt(c+8|0,l,m,n,s[k+22>>1]);q[c+40>>2]=i;q[c+44>>2]=j;q[c+24>>2]=g;q[c+28>>2]=h;q[c+8>>2]=m;q[c+12>>2]=n;q[c+32>>2]=g;q[c+36>>2]=h;Bt(c+8|0,r,t,u,s[p+22>>1]);ti=c+48|0}function pea(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,p=0,r=0,t=0,u=0;c=ti-48|0;ti=c;k=q[a>>2];l=q[k+4>>2];e=l;m=q[e+96>>2];n=q[e+100>>2];p=q[a+4>>2];r=q[p+4>>2];e=r;t=q[e+96>>2];u=q[e+100>>2];o[c+16|0]=0;d=s[a+8>>1];if(d){if(!(d&1)){while(1){f=f+1|0;e=d&2;d=(d&65534)>>>1|0;if(!e){continue}break}}e=(f<<3)+b|0;g=q[e>>2];h=q[e+4>>2]}d=s[a+10>>1];if(d){f=0;if(!(d&1)){while(1){f=f+1|0;a=d&2;d=(d&65534)>>>1|0;if(!a){continue}break}}a=(f<<3)+b|0;i=q[a>>2];j=q[a+4>>2]}q[c+40>>2]=g;q[c+44>>2]=h;q[c+24>>2]=i;q[c+28>>2]=j;q[c+8>>2]=t;q[c+12>>2]=u;q[c+32>>2]=i;q[c+36>>2]=j;Bt(c+8|0,l,m,n,s[k+22>>1]);q[c+40>>2]=i;q[c+44>>2]=j;q[c+24>>2]=g;q[c+28>>2]=h;q[c+8>>2]=m;q[c+12>>2]=n;q[c+32>>2]=g;q[c+36>>2]=h;Bt(c+8|0,r,t,u,s[p+22>>1]);ti=c+48|0}function t9(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0),j=0;b=ti-48|0;ti=b;a:{d=fj(a,1,b+44|0);if(!(r[d+415|0]&16)){c=vm(a,2);b:{c:{if(c){e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if((e|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(b+16|0,j,q[b+44>>2],1);f=u[c+4>>2];g=u[c>>2];h=u[c+8>>2];break c}c=yn(a,2);if(c){h=u[c+8>>2];f=u[c+4>>2];g=u[c>>2];i=u[c+12>>2];break b}c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=mk(a,-1,q[216371]);Ci(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(b+16|0,e,q[b+44>>2],1);a=Pq(a,2);ts(b,u[a>>2],u[a+4>>2],u[a+8>>2],u[a+12>>2]);f=u[b+4>>2];g=u[b>>2];h=u[b+8>>2]}i=u[b+28>>2]}u[d+16>>2]=g;u[d+28>>2]=i;u[d+24>>2]=h;u[d+20>>2]=f;q[d+412>>2]=q[d+412>>2]|4194304}ti=b+48|0;return 0}J(196277,196298,164,196320);G()}function moa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;q[e+12>>2]=0;b=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[60338],e+12|0)){b=q[e+12>>2];c=q[b+24>>2];a:{if(c){wA(q[b+12>>2],q[b+16>>2],q[b+20>>2],c);break a}if(q[b+16>>2]){break a}c=q[b+32>>2];q[b+12>>2]=q[b+28>>2];q[b+16>>2]=c}b:{f=q[a+4>>2];d=q[f+4>>2];c=q[f>>2];b=d-c|0;if(!b){break b}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){g=q[(b<<2)+c>>2];c=q[a+32>>2];_1(g,q[e+12>>2],q[c>>2],q[c+4>>2]);b=b+1|0;if((d|0)==(b|0)){break b}c=q[f>>2];if(q[f+4>>2]-c>>2>>>0>b>>>0){continue}break}}J(20739,20750,479,20806);G()}c=q[a+32>>2];f=q[c+8>>2];b=q[f>>2];q[c+16>>2]=(q[a+24>>2]-q[b+4>>2]|0)+4;cj(b);q[f>>2]=q[e+12>>2];b=0}ti=e+16|0;return b|0}function XV(a,b,c){var d=0,e=0,f=0,g=0;e=q[a>>2];if(!e){return-24832}q[c>>2]=0;a:{b:{f=q[e+4>>2];g=f-3|0;if((q[e>>2]&-2)==72|(95>>>g&1?g>>>0<7:0)){break b}d=-24704;c:{switch(f-1|0){case 0:break a;case 1:break c;default:break b}}d:{e:{d=q[a+8>>2];if((d|0)==1){e=q[a+12>>2];if(e){break e}break a}f=q[a+36>>2];if((f|0)==((e?q[e+24>>2]:0)|0)){break d}return f|q[a+12>>2]?-25216:0}f=a+20|0;d=0;g=q[a>>2];if(g){d=q[a+56>>2];if(!d){d=q[g+16>>2]}}xi[e|0](f,d,q[a+36>>2]);d=q[a+8>>2];e=q[a>>2]}d=xi[q[q[e+28>>2]+8>>2]](q[a+60>>2],d,e?q[e+24>>2]:0,a+40|0,a+20|0,b)|0;if(d){break b}if(!q[a+8>>2]){e=q[a>>2];d=0;f:{if(!e){break f}d=q[e+24>>2]}return xi[q[a+16>>2]](b,d,c)|0}a=q[a>>2];b=0;g:{if(!a){break g}b=q[a+24>>2]}q[c>>2]=b;return 0}return d}return q[a+36>>2]?-25216:0}function Gk(a,b,c){var d=0,e=0,f=0;a:{switch(r[b|0]-61|0){case 0:o[(Kw(a,b+1|0,c)+c|0)-1|0]=0;return;case 3:b=b+1|0;e=Ui(b);o[a|0]=0;d=a;c=c-8|0;if(c>>>0>>0){a=Ui(a)+a|0;o[a|0]=46;o[a+1|0]=46;o[a+2|0]=46;o[a+3|0]=0;b=b+(e-c|0)|0}ZB(d,b);return;default:break a}}f=YB(b,136029);d=r[136040]|r[136041]<<8;o[a+8|0]=d;o[a+9|0]=d>>>8;d=r[136036]|r[136037]<<8|(r[136038]<<16|r[136039]<<24);e=r[136032]|r[136033]<<8|(r[136034]<<16|r[136035]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=d;o[a+5|0]=d>>>8;o[a+6|0]=d>>>16;o[a+7|0]=d>>>24;c=c-17|0;c=c>>>0>>0?c:f;b:{if(r[c+b|0]){b=Lw(a,b,c);b=Ui(b)+b|0;o[b|0]=46;o[b+1|0]=46;o[b+2|0]=46;o[b+3|0]=0;break b}ZB(a,b)}a=Ui(a)+a|0;b=r[136042]|r[136043]<<8;o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=r[136044]}function oy(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;e=zi(a);f=wi;d=q[242116];h=q[d+100>>2];c=q[d+84>>2];a=-1;a:{if((h|0)==q[d+92>>2]-c>>4){break a}i=d+76|0;b:{a=q[d+80>>2];c:{if(!a){break c}b=q[q[i>>2]+(Qwa(e,f,a)<<2)>>2];if((b|0)==-1){break c}a=b;while(1){a=(a<<4)+c|0;if((e|0)==q[a>>2]&(f|0)==q[a+4>>2]){break b}a=q[a+12>>2];if((a|0)!=-1){continue}break}}a=w(h,1056)+d|0;q[a+128>>2]=1065353216;q[a+120>>2]=0;q[a+124>>2]=1065353216;q[a+112>>2]=e;q[a+116>>2]=f;c=a;a=q[d+33920>>2]<<3;b=Ji(a);q[c+132>>2]=b;Fi(b,0,a);q[g+12>>2]=h;Os(i,e,f,g+12|0);a=h;break a}a=(b<<4)+c|0;if(q[a>>2]!=(e|0)|q[a+4>>2]!=(f|0)){while(1){b=q[((b<<4)+c|0)+12>>2];a=(b<<4)+c|0;if((e|0)!=q[a>>2]|q[a+4>>2]!=(f|0)){continue}break}}a=q[((b<<4)+c|0)+8>>2]}ti=g+16|0;return a}function Vfa(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;c=ti-16|0;ti=c;b=q[a+28>>2];q[c+12>>2]=0;a:{b:{if(b){d=q[b>>2];q[c+12>>2]=d;if(d){break b}}d=-13;if(Cj(q[a+20>>2],q[a+24>>2],q[64574],c+12|0)){break a}i=1;d=q[c+12>>2]}j=q[a+4>>2];h=q[q[a+32>>2]+8>>2];f=h;e=q[f+4>>2];f=q[f>>2];q[c>>2]=f;q[c+4>>2]=e;g=Oi(124);Fi(g+4|0,0,120);q[g>>2]=d;c:{if(!b){d=0;b=0;break c}k=r[b+8|0];d=s[b+6>>1];b=s[b+4>>1]}if(xi[q[77517]](f,e)&1){while(1){Io(250);if(xi[q[77517]](f,e)&1){continue}break}}d=yK(q[a+16>>2],j,g,b,d,k,f,e,c);b=q[c+4>>2];f=b;e=q[c>>2];q[h>>2]=e;q[h+4>>2]=b;if(xi[q[77517]](e,b)&1){while(1){Io(250);if(xi[q[77517]](e,f)&1){continue}break}}_J(g);if(i){cj(q[c+12>>2])}if(d){break a}e=xi[q[77506]](e,f)|0;q[q[a+32>>2]+16>>2]=e}ti=c+16|0;return d|0}function M4(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti+ -64|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){if((Ei(a,1)|0)==1){q[b+32>>2]=(Ej(a,1)|0)!=0;q[b+36>>2]=0;q[b+24>>2]=11;c=q[d+4>>2];a:{if((c|0)==q[d+8>>2]){q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;e=Bi(a,110538,b);break a}q[d+4>>2]=c+40;a=q[b+60>>2];q[c+32>>2]=q[b+56>>2];q[c+36>>2]=a;a=q[b+52>>2];q[c+24>>2]=q[b+48>>2];q[c+28>>2]=a;a=q[b+44>>2];q[c+16>>2]=q[b+40>>2];q[c+20>>2]=a;a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a}ti=b- -64|0;return e|0}e=b;c=Ei(a,2);d=135271;b:{if((c|0)==-1){break b}d=q[(c<<2)+267792>>2]}q[e+16>>2]=d;a=Bi(a,112399,b+16|0);ti=b- -64|0;return a|0}J(110492,110389,475,114319);G()}function w3(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-32|0;ti=d;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){e=q[81756];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);e=-2;b:{if((Ei(a,-1)|0)!=7){break b}if(!Kl(a,-1)){break b}e=q[81757];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-2);e=-4;if((Ok(a,-1)|0)!=(c|0)){break b}Ci(a,-2);Ni(a,117264,15);Vk(a,-2);if(!Ei(a,-1)){break b}Qi(a,-3);h=1;zk(a,1,1);q[b>>2]=aj(a,-1)}Ci(a,e);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}ti=d+32|0;return h}q[d+12>>2]=g;q[d+4>>2]=839;q[d+8>>2]=0;q[d>>2]=117392;Ai(4,117469,118011,d);J(118083,117392,1468,118100);G()}q[d+28>>2]=a;q[d+24>>2]=g;q[d+20>>2]=839;q[d+16>>2]=117392;Ai(4,117469,118114,d+16|0);J(118185,117392,1491,118204);G()}function hwa(){q[76374]=zi(52881);q[76375]=wi;q[76376]=zi(52900);q[76377]=wi;q[76378]=zi(52917);q[76379]=wi;q[76380]=zi(52926);q[76381]=wi;q[76382]=zi(52932);q[76383]=wi;q[76384]=zi(52942);q[76385]=wi;q[76386]=zi(52950);q[76387]=wi;q[76388]=zi(52957);q[76389]=wi;q[76390]=zi(52966);q[76391]=wi;q[76392]=zi(52978);q[76393]=wi;q[76394]=zi(52987);q[76395]=wi;q[76396]=zi(52992);q[76397]=wi;q[76398]=zi(52998);q[76399]=wi;q[76400]=zi(53004);q[76401]=wi;q[76404]=zi(53013);q[76405]=wi;q[76406]=zi(53022);q[76407]=wi;q[76408]=zi(53031);q[76409]=wi;q[76410]=zi(53040);q[76411]=wi;q[76412]=zi(53049);q[76413]=wi;q[76414]=zi(53058);q[76415]=wi;q[76416]=zi(53067);q[76417]=wi;q[76418]=zi(53076);q[76419]=wi;q[76420]=zi(53085);q[76421]=wi;q[76422]=zi(53094);q[76423]=wi}function gwa(){q[76424]=zi(53443);q[76425]=wi;q[76426]=zi(53462);q[76427]=wi;q[76428]=zi(53479);q[76429]=wi;q[76430]=zi(53488);q[76431]=wi;q[76432]=zi(53494);q[76433]=wi;q[76434]=zi(53504);q[76435]=wi;q[76436]=zi(53512);q[76437]=wi;q[76438]=zi(53519);q[76439]=wi;q[76440]=zi(53528);q[76441]=wi;q[76442]=zi(53540);q[76443]=wi;q[76444]=zi(53549);q[76445]=wi;q[76446]=zi(53554);q[76447]=wi;q[76448]=zi(53560);q[76449]=wi;q[76450]=zi(53566);q[76451]=wi;q[76452]=zi(53575);q[76453]=wi;q[76454]=zi(53584);q[76455]=wi;q[76456]=zi(53593);q[76457]=wi;q[76458]=zi(53602);q[76459]=wi;q[76460]=zi(53611);q[76461]=wi;q[76462]=zi(53620);q[76463]=wi;q[76464]=zi(53629);q[76465]=wi;q[76466]=zi(53638);q[76467]=wi;q[76468]=zi(53647);q[76469]=wi;q[76470]=zi(53656);q[76471]=wi}function Rva(){q[76580]=zi(63033);q[76581]=wi;q[76582]=zi(63052);q[76583]=wi;q[76584]=zi(63069);q[76585]=wi;q[76586]=zi(63078);q[76587]=wi;q[76588]=zi(63084);q[76589]=wi;q[76590]=zi(63094);q[76591]=wi;q[76592]=zi(63102);q[76593]=wi;q[76594]=zi(63109);q[76595]=wi;q[76596]=zi(63118);q[76597]=wi;q[76598]=zi(63130);q[76599]=wi;q[76600]=zi(63139);q[76601]=wi;q[76602]=zi(63144);q[76603]=wi;q[76604]=zi(63150);q[76605]=wi;q[76606]=zi(63156);q[76607]=wi;q[76608]=zi(63165);q[76609]=wi;q[76610]=zi(63174);q[76611]=wi;q[76612]=zi(63183);q[76613]=wi;q[76614]=zi(63192);q[76615]=wi;q[76616]=zi(63201);q[76617]=wi;q[76618]=zi(63210);q[76619]=wi;q[76620]=zi(63219);q[76621]=wi;q[76622]=zi(63228);q[76623]=wi;q[76624]=zi(63237);q[76625]=wi;q[76626]=zi(63246);q[76627]=wi}function Qva(){q[76628]=zi(64429);q[76629]=wi;q[76630]=zi(64448);q[76631]=wi;q[76632]=zi(64465);q[76633]=wi;q[76634]=zi(64474);q[76635]=wi;q[76636]=zi(64480);q[76637]=wi;q[76638]=zi(64490);q[76639]=wi;q[76640]=zi(64498);q[76641]=wi;q[76642]=zi(64505);q[76643]=wi;q[76644]=zi(64514);q[76645]=wi;q[76646]=zi(64526);q[76647]=wi;q[76648]=zi(64535);q[76649]=wi;q[76650]=zi(64540);q[76651]=wi;q[76652]=zi(64546);q[76653]=wi;q[76654]=zi(64552);q[76655]=wi;q[76656]=zi(64561);q[76657]=wi;q[76658]=zi(64570);q[76659]=wi;q[76660]=zi(64579);q[76661]=wi;q[76662]=zi(64588);q[76663]=wi;q[76664]=zi(64597);q[76665]=wi;q[76666]=zi(64606);q[76667]=wi;q[76668]=zi(64615);q[76669]=wi;q[76670]=zi(64624);q[76671]=wi;q[76672]=zi(64633);q[76673]=wi;q[76674]=zi(64642);q[76675]=wi}function Ova(){q[76724]=zi(65942);q[76725]=wi;q[76726]=zi(65961);q[76727]=wi;q[76728]=zi(65978);q[76729]=wi;q[76730]=zi(65987);q[76731]=wi;q[76732]=zi(65993);q[76733]=wi;q[76734]=zi(66003);q[76735]=wi;q[76736]=zi(66011);q[76737]=wi;q[76738]=zi(66018);q[76739]=wi;q[76740]=zi(66027);q[76741]=wi;q[76742]=zi(66039);q[76743]=wi;q[76744]=zi(66048);q[76745]=wi;q[76746]=zi(66053);q[76747]=wi;q[76748]=zi(66059);q[76749]=wi;q[76750]=zi(66065);q[76751]=wi;q[76752]=zi(66074);q[76753]=wi;q[76754]=zi(66083);q[76755]=wi;q[76756]=zi(66092);q[76757]=wi;q[76758]=zi(66101);q[76759]=wi;q[76760]=zi(66110);q[76761]=wi;q[76762]=zi(66119);q[76763]=wi;q[76764]=zi(66128);q[76765]=wi;q[76766]=zi(66137);q[76767]=wi;q[76768]=zi(66146);q[76769]=wi;q[76770]=zi(66155);q[76771]=wi}function Nva(){q[76772]=zi(66426);q[76773]=wi;q[76774]=zi(66445);q[76775]=wi;q[76776]=zi(66462);q[76777]=wi;q[76778]=zi(66471);q[76779]=wi;q[76780]=zi(66477);q[76781]=wi;q[76782]=zi(66487);q[76783]=wi;q[76784]=zi(66495);q[76785]=wi;q[76786]=zi(66502);q[76787]=wi;q[76788]=zi(66511);q[76789]=wi;q[76790]=zi(66523);q[76791]=wi;q[76792]=zi(66532);q[76793]=wi;q[76794]=zi(66537);q[76795]=wi;q[76796]=zi(66543);q[76797]=wi;q[76798]=zi(66549);q[76799]=wi;q[76800]=zi(66558);q[76801]=wi;q[76802]=zi(66567);q[76803]=wi;q[76804]=zi(66576);q[76805]=wi;q[76806]=zi(66585);q[76807]=wi;q[76808]=zi(66594);q[76809]=wi;q[76810]=zi(66603);q[76811]=wi;q[76812]=zi(66612);q[76813]=wi;q[76814]=zi(66621);q[76815]=wi;q[76816]=zi(66630);q[76817]=wi;q[76818]=zi(66639);q[76819]=wi}function Mva(){q[76822]=zi(67176);q[76823]=wi;q[76824]=zi(67195);q[76825]=wi;q[76826]=zi(67212);q[76827]=wi;q[76828]=zi(67221);q[76829]=wi;q[76830]=zi(67227);q[76831]=wi;q[76832]=zi(67237);q[76833]=wi;q[76834]=zi(67245);q[76835]=wi;q[76836]=zi(67252);q[76837]=wi;q[76838]=zi(67261);q[76839]=wi;q[76840]=zi(67273);q[76841]=wi;q[76842]=zi(67282);q[76843]=wi;q[76844]=zi(67287);q[76845]=wi;q[76846]=zi(67293);q[76847]=wi;q[76848]=zi(67299);q[76849]=wi;q[76852]=zi(67308);q[76853]=wi;q[76854]=zi(67317);q[76855]=wi;q[76856]=zi(67326);q[76857]=wi;q[76858]=zi(67335);q[76859]=wi;q[76860]=zi(67344);q[76861]=wi;q[76862]=zi(67353);q[76863]=wi;q[76864]=zi(67362);q[76865]=wi;q[76866]=zi(67371);q[76867]=wi;q[76868]=zi(67380);q[76869]=wi;q[76870]=zi(67389);q[76871]=wi}function Lva(){q[76872]=zi(67826);q[76873]=wi;q[76874]=zi(67845);q[76875]=wi;q[76876]=zi(67862);q[76877]=wi;q[76878]=zi(67871);q[76879]=wi;q[76880]=zi(67877);q[76881]=wi;q[76882]=zi(67887);q[76883]=wi;q[76884]=zi(67895);q[76885]=wi;q[76886]=zi(67902);q[76887]=wi;q[76888]=zi(67911);q[76889]=wi;q[76890]=zi(67923);q[76891]=wi;q[76892]=zi(67932);q[76893]=wi;q[76894]=zi(67937);q[76895]=wi;q[76896]=zi(67943);q[76897]=wi;q[76898]=zi(67949);q[76899]=wi;q[76900]=zi(67958);q[76901]=wi;q[76902]=zi(67967);q[76903]=wi;q[76904]=zi(67976);q[76905]=wi;q[76906]=zi(67985);q[76907]=wi;q[76908]=zi(67994);q[76909]=wi;q[76910]=zi(68003);q[76911]=wi;q[76912]=zi(68012);q[76913]=wi;q[76914]=zi(68021);q[76915]=wi;q[76916]=zi(68030);q[76917]=wi;q[76918]=zi(68039);q[76919]=wi}function Jva(){q[77008]=zi(76502);q[77009]=wi;q[77010]=zi(76521);q[77011]=wi;q[77012]=zi(76538);q[77013]=wi;q[77014]=zi(76547);q[77015]=wi;q[77016]=zi(76553);q[77017]=wi;q[77018]=zi(76563);q[77019]=wi;q[77020]=zi(76571);q[77021]=wi;q[77022]=zi(76578);q[77023]=wi;q[77024]=zi(76587);q[77025]=wi;q[77026]=zi(76599);q[77027]=wi;q[77028]=zi(76608);q[77029]=wi;q[77030]=zi(76613);q[77031]=wi;q[77032]=zi(76619);q[77033]=wi;q[77034]=zi(76625);q[77035]=wi;q[77036]=zi(76634);q[77037]=wi;q[77038]=zi(76643);q[77039]=wi;q[77040]=zi(76652);q[77041]=wi;q[77042]=zi(76661);q[77043]=wi;q[77044]=zi(76670);q[77045]=wi;q[77046]=zi(76679);q[77047]=wi;q[77048]=zi(76688);q[77049]=wi;q[77050]=zi(76697);q[77051]=wi;q[77052]=zi(76706);q[77053]=wi;q[77054]=zi(76715);q[77055]=wi}function Iva(){q[77056]=zi(76997);q[77057]=wi;q[77058]=zi(77016);q[77059]=wi;q[77060]=zi(77033);q[77061]=wi;q[77062]=zi(77042);q[77063]=wi;q[77064]=zi(77048);q[77065]=wi;q[77066]=zi(77058);q[77067]=wi;q[77068]=zi(77066);q[77069]=wi;q[77070]=zi(77073);q[77071]=wi;q[77072]=zi(77082);q[77073]=wi;q[77074]=zi(77094);q[77075]=wi;q[77076]=zi(77103);q[77077]=wi;q[77078]=zi(77108);q[77079]=wi;q[77080]=zi(77114);q[77081]=wi;q[77082]=zi(77120);q[77083]=wi;q[77084]=zi(77129);q[77085]=wi;q[77086]=zi(77138);q[77087]=wi;q[77088]=zi(77147);q[77089]=wi;q[77090]=zi(77156);q[77091]=wi;q[77092]=zi(77165);q[77093]=wi;q[77094]=zi(77174);q[77095]=wi;q[77096]=zi(77183);q[77097]=wi;q[77098]=zi(77192);q[77099]=wi;q[77100]=zi(77201);q[77101]=wi;q[77102]=zi(77210);q[77103]=wi}function GA(a,b,c,d,e){var f=0,g=0,h=0;f=ti-160|0;ti=f;q[a+4>>2]=d;q[a+8>>2]=e;q[e>>2]=a;q[a>>2]=c;zj(f+32|0,b,128);Bk(f+32|0,7411,128);e=-1e3;a:{b:{c:{d:{switch(Uq(b,a+3216|0)+4|0){case 3:break b;case 0:break c;case 4:break d;default:break a}}b=f+32|0;e:{switch(Uq(f+32|0,a+3224|0)+4|0){case 3:break b;case 0:break c;case 4:break e;default:break a}}Qp(c,26,a);h=q[d+29080>>2];wj(h);f:{g:{e=d+29088|0;b=q[e>>2];g=d+29092|0;c=q[g>>2];if((b|0)==(c|0)){if(o[d+29096|0]&1){break g}c=b;b=d+29084|0;Ii((c-q[b>>2]>>2)+4|0,4,b,g,e);c=q[g>>2];b=q[e>>2]}if((b|0)==(c|0)){break f}q[e>>2]=b+4;q[b>>2]=a;qj(h);e=0;break a}J(10125,10061,493,10200);G()}J(12529,10061,533,12553);G()}q[f+16>>2]=b;Ai(4,7418,7522,f+16|0);break a}q[f>>2]=b;Ai(4,7418,7429,f)}ti=f+160|0;return e}function t2(){var a=0,b=0,c=0,d=0;a=Oi(48);q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=a+24|0;q[b>>2]=0;q[b+4>>2]=0;d=a+16|0;c=d;q[c>>2]=0;q[c+4>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;Ii(8,28,a,c,a+4|0);a:{b:{if(!(o[a+28|0]&1)){Ii(8,2,d,b,a+20|0);b=q[a+16>>2];if(q[a+24>>2]-b>>1>>>0<=7){break b}q[a+20>>2]=b+16;p[b+8>>1]=0;p[b+10>>1]=0;p[b+12>>1]=0;p[b+14>>1]=0;p[b>>1]=0;p[b+2>>1]=0;p[b+4>>1]=0;p[b+6>>1]=0;b=s[a+36>>1];if(b>>>0>=9){break a}c=q[a+32>>2];d=Ji(16);q[a+32>>2]=d;d=Gi(d,c,b<<1);p[a+36>>1]=8;if((b|0)!=8){while(1){p[d+(b<<1)>>1]=b;b=b+1|0;if((b|0)!=8){continue}break}}yi(c);p[a+44>>1]=0;o[a+46|0]=r[a+46|0]&254;return a}J(128575,127953,493,128563);G()}J(128130,127953,506,128149);G()}J(128540,127846,112,128563);G()}function j1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=ti-32|0;ti=e;f=Zi(e+8|0,a,1,127536,679);d=Xi(a,1);b=q[212888];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Ju(a);a:{b:{c:{if((Ei(a,-1)|0)!=2){Ci(a,-2);break c}b=aj(a,-1);Ci(a,-2);if(b){break b}}Ai(4,128036,128369,0);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}d=d&65535;c=q[b+16>>2];if(d>>>0>=q[b+20>>2]-c>>1>>>0){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}d=s[c+(d<<1)>>1];c=q[b+4>>2];b=q[b>>2];if(d>>>0>=(c-b|0)/28>>>0){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}c=q[(b+w(d,28)|0)+8>>2];if(!en(c)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}b=b+w(d,28)|0;q[e>>2]=q[b+12>>2];u[e+4>>2]=u[b+20>>2]-u[b+16>>2];ys(c,863,e);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1}q[a+8>>2]=q[a+8>>2]+16;Yi(f);ti=e+32|0;return 1}function R6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+32>>2];if(h>>>0>=q[a+36>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(41602,41426,152,41623);G()}J(41628,40669,513,41643);G()}J(41653,40669,516,41643);G()}J(41371,40669,479,41382);G()}function Pva(){q[76676]=zi(64841);q[76677]=wi;q[76678]=zi(64860);q[76679]=wi;q[76680]=zi(64877);q[76681]=wi;q[76682]=zi(64886);q[76683]=wi;q[76684]=zi(64892);q[76685]=wi;q[76686]=zi(64902);q[76687]=wi;q[76688]=zi(64910);q[76689]=wi;q[76690]=zi(64917);q[76691]=wi;q[76692]=zi(64926);q[76693]=wi;q[76694]=zi(64938);q[76695]=wi;q[76696]=zi(64947);q[76697]=wi;q[76698]=zi(64952);q[76699]=wi;q[76700]=zi(64958);q[76701]=wi;q[76702]=zi(64964);q[76703]=wi;q[76704]=zi(64973);q[76705]=wi;q[76706]=zi(64982);q[76707]=wi;q[76708]=zi(64991);q[76709]=wi;q[76710]=zi(65e3);q[76711]=wi;q[76712]=zi(65009);q[76713]=wi;q[76714]=zi(65018);q[76715]=wi;q[76716]=zi(65027);q[76717]=wi;q[76718]=zi(65036);q[76719]=wi;q[76720]=zi(65045);q[76721]=wi;q[76722]=zi(65054);q[76723]=wi}function O6(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{g=q[a+16>>2];if(q[a+20>>2]-g>>3>>>0>b>>>0){d=q[a>>2];e=q[a+4>>2]-d>>2;h=e-1|0;c=q[a+32>>2];if(h>>>0>=q[a+36>>2]-c>>2>>>0){break a}f=(b<<3)+g|0;i=q[f>>2];if(e>>>0<=i>>>0){break d}c=q[c+(h<<2)>>2];q[d+(i<<2)>>2]=0;d=q[a+16>>2];if(c>>>0>=q[a+20>>2]-d>>3>>>0){break a}q[d+(c<<3)>>2]=q[f>>2];e=q[f>>2];d=q[a+32>>2];if(e>>>0>=q[a+36>>2]-d>>2>>>0){break a}q[d+(e<<2)>>2]=c;e=q[f>>2];c=q[a+4>>2];d=q[a>>2];if(e>>>0>=c-d>>2>>>0){break c}q[d+(e<<2)>>2]=q[c-4>>2];c=q[a+4>>2]-4|0;q[a+4>>2]=c;if(c>>>0>2]){break b}q[((b<<3)+g|0)+4>>2]=q[a+48>>2];q[a+48>>2]=f-q[a+16>>2]>>3;return}break a}J(46818,46839,152,46901);G()}J(46906,46296,513,46921);G()}J(46931,46296,516,46921);G()}J(46656,46296,479,46535);G()}function Kva(){q[76960]=zi(75739);q[76961]=wi;q[76962]=zi(75758);q[76963]=wi;q[76964]=zi(75775);q[76965]=wi;q[76966]=zi(75784);q[76967]=wi;q[76968]=zi(75790);q[76969]=wi;q[76970]=zi(75800);q[76971]=wi;q[76972]=zi(75808);q[76973]=wi;q[76974]=zi(75815);q[76975]=wi;q[76976]=zi(75824);q[76977]=wi;q[76978]=zi(75836);q[76979]=wi;q[76980]=zi(75845);q[76981]=wi;q[76982]=zi(75850);q[76983]=wi;q[76984]=zi(75856);q[76985]=wi;q[76986]=zi(75862);q[76987]=wi;q[76988]=zi(75871);q[76989]=wi;q[76990]=zi(75880);q[76991]=wi;q[76992]=zi(75889);q[76993]=wi;q[76994]=zi(75898);q[76995]=wi;q[76996]=zi(75907);q[76997]=wi;q[76998]=zi(75916);q[76999]=wi;q[77e3]=zi(75925);q[77001]=wi;q[77002]=zi(75934);q[77003]=wi;q[77004]=zi(75943);q[77005]=wi;q[77006]=zi(75952);q[77007]=wi}function gs(a,b){var c=0,d=0;a:{b:{c:{d:{e:{f:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break f}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break f}g:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break f;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break f;case 0:c=a+72|0;break f;default:break g}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;switch(q[b+8>>2]-6|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}c=q[a+8>>2];q[c>>2]=q[q[b>>2]+12>>2];b=5;break a}c=q[a+8>>2];q[c>>2]=q[q[b>>2]+12>>2];b=5;break a}b=q[b>>2];d=q[b+76>>2];c=q[a+8>>2];q[c>>2]=q[b+72>>2];q[c+4>>2]=d;b=q[b+80>>2];break a}c=q[a+8>>2];b=0}q[c+8>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function Iz(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{g=q[a+16>>2];f=q[a+8>>2];if(q[a+24>>2]!=((g-f|0)/184|0)){d=q[a+4>>2];c:{if(!d){break c}d=q[q[a>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}while(1){e=w(d,184)+f|0;if(q[e>>2]==(b|0)){break b}d=q[e+180>>2];if((d|0)!=-1){continue}break}}e=q[a+12>>2];d:{if((g|0)!=(e|0)){q[a+12>>2]=e+184;break d}d=q[a+20>>2];if((d|0)==-1){break a}e=w(d,184)+f|0;q[a+20>>2]=q[e+180>>2]}q[e>>2]=b;Gi(e+4|0,c,176);q[e+180>>2]=-1;c=q[a+8>>2];b=q[a>>2]+((b>>>0)%t[a+4>>2]<<2)|0;d=q[b>>2];if((d|0)!=-1){while(1){b=c+w(d,184)|0;d=q[b+180>>2];if((d|0)!=-1){continue}break}b=b+180|0}q[b>>2]=(e-c|0)/184;q[a+24>>2]=q[a+24>>2]+1;return}J(144892,144767,229,144900);G()}Gi((w(d,184)+f|0)+4|0,c,176);return}J(144904,144767,535,144966);G()}function O2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=0;g=ti-32|0;ti=g;b=Li(a,1,q[212904],0);d=u[b>>2];e=u[b+4>>2];a:{if(!(d!=d|e!=e)){c=u[b+8>>2];if(c==c){break a}}c=u[b+8>>2];v[g+16>>3]=e;v[g+24>>3]=c;v[g+8>>3]=d;q[g>>2]=1;Bi(a,128819,g)}n=Ri(a,2);e=u[b>>2];c=u[b+4>>2];f=u[b+8>>2];b=jj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+60>>2]=1065353216;q[b+52>>2]=0;q[b+56>>2]=0;h=x(n);i=xl(h);d=x(x(1)-i);u[b+40>>2]=i+x(d*x(f*f));j=x(d*x(c*f));h=uk(h);k=x(e*h);u[b+36>>2]=j-k;l=x(h*c);m=x(d*x(e*f));u[b+32>>2]=l+m;u[b+24>>2]=k+j;u[b+20>>2]=i+x(d*x(c*c));c=x(d*x(e*c));f=x(h*f);u[b+16>>2]=c-f;u[b+8>>2]=m-l;u[b+4>>2]=c+f;u[b>>2]=i+x(x(e*e)*d);Ki(a,-1e4,128736);ij(a,-2);ti=g+32|0;return 1}function K_(a,b,c,d,e,f){var g=0,h=0,i=0;g=ti+ -64|0;ti=g;q[g+32>>2]=0;q[g+24>>2]=1;q[g+28>>2]=0;q[g+44>>2]=0;q[g+36>>2]=1;q[g+40>>2]=0;q[g+56>>2]=0;q[g+48>>2]=1;q[g+52>>2]=0;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;h=gk(g+8|0,d);a:{if(h){break a}h=lo(g+24|0,d);if(h){break a}h=lk(b,1);if(h){break a}i=b+24|0;h=lk(i,0);if(h){break a}Si(b+12|0);d=a+4|0;while(1){if((Lj(g+24|0,d)|0)>=0){h=_m(g+24|0,g+24|0,d);if(!h){continue}break a}break}if(e){h=G_(a,g+24|0,e,f);if(h){break a}}f=g+48|0;e=Al(c);while(1){if(e){e=e-1|0;d=Dm(c,e)&255;h=Ut(b,g+24|0,d);if(h){break a}h=Ut(i,f,d);if(h){break a}h=T_(a,b,g+24|0,b,g+24|0,g+8|0);if(h){break a}h=Ut(b,g+24|0,d);if(h){break a}h=Ut(i,f,d);if(!h){continue}break a}break}h=J_(a,b)}Zl(g+24|0);Si(g+8|0);ti=g- -64|0;return h}function nfa(a){var b=0,c=0,d=0;b=q[a>>2];d=q[b+8>>2]-q[b+12>>2]>>4;ik(b,77943,245088);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,77950);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,77974);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78e3);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=3;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78021);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=4;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78043);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=0;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78068);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78084);c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=2;q[b+8>>2]=q[b+8>>2]+16;Di(b,-2,78095);Ci(b,-2);if(q[b+8>>2]-q[b+12>>2]>>4!=(d|0)){J(78107,78128,400,78169);G()}q[77104]=q[a+12>>2]}function d7(a){a=a|0;var b=0,c=0;a=q[a+4>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ik(a,75386,244784);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75397);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75411);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75439);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-5;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75467);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-6;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75502);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75532);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-8;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75559);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-9;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,75596);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(75620,74700,363,75641);G()}return 0}function sE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;axa(+a);b=Zwa(1)|0;e=Zwa(0)|0;a:{b:{c:{d:{if((b|0)>0?1:(b|0)>=0){f=b;if(b>>>0>1048575){break d}}if(!(b&2147483647|e)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(f>>>0>2146435071){break a}b=1072693248;g=-1023;if((f|0)!=1072693248){b=f;break b}if(e){break b}return 0}axa(+(a*0x40000000000000));b=Zwa(1)|0;e=Zwa(0)|0;g=-1077}b=b+614242|0;d=+((b>>>20|0)+g|0);_wa(0,e|0);_wa(1,(b&1048575)+1072079006|0);a=+$wa()+ -1;c=a/(a+2);h=d*.6931471803691238;i=a;j=d*1.9082149292705877e-10;k=c;d=a*(a*.5);c=c*c;a=c*c;a=h+(i+(j+k*(d+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-d))}return a}function jK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=ti-32|0;ti=c;a:{b:{c:{if(a){e=q[a+4>>2];if(RA(e,c+28|0)){break a}f=fp(q[76572]);if(q[c+28>>2]){a=0;while(1){if(QA(e,a,c+16|0)){break b}if(nr(e,q[c+16>>2],q[c+20>>2],c+12|0,c+8|0)){break b}h=q[c+16>>2];d=q[c+20>>2];g=q[c+12>>2];if((g&-5)==3){q[c>>2]=Mi(h,d);Ai(4,57078,57086,c);Xl(f);break b}nea(f,h,d,q[c+8>>2],g>>>0<=8?q[(g<<2)+57436>>2]:0);a=a+1|0;if(a>>>0>2]){continue}break}}a=PA(e);q[b>>2]=xi[q[77451]](q[76572],f,a);Xl(f);if(!q[c+28>>2]){d=1;break a}a=0;while(1){q[c+16>>2]=0;if(Cra(e,a,c+16|0)){break b}if(!(xi[q[77452]](q[b>>2],a,s[c+16>>1])|0)){break c}d=1;a=a+1|0;if(a>>>0>2]){continue}break}break a}J(57001,57017,88,57055);G()}J(57129,57017,132,57055);G()}d=0}ti=c+32|0;return d}function N_(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;if(!Lj(d+12|0,a+52|0)){l=!Lj(d,a+40|0)}h=q[a+92>>2];i=(h>>>0>383?5:4)+l|0;k=h>>>0>i>>>0?i:2;i=k-1|0;o=(h+i>>>0)/(k>>>0)|0;m=1<>2];if(h){break c}}n=m&255;h=Vj(n,36);if(!h){d=-19840;break a}if(i>>>0<=7){while(1){g=w(g,36)+h|0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;q[g+20>>2]=0;q[g+12>>2]=1;q[g+16>>2]=0;q[g+32>>2]=0;q[g+24>>2]=1;q[g+28>>2]=0;j=j+1|0;g=j&255;if(n>>>0>g>>>0){continue}break}}d=I_(a,h,d,k,o);if(d){break b}if(!l){break c}q[a+120>>2]=n;q[a+116>>2]=h}d=M_(a,b,c,h,m&255,k,o,e,f)}if(!(!h|q[a+116>>2]==(h|0))){if(i>>>0<=7){a=m&255;g=0;j=0;while(1){Zl(w(g,36)+h|0);j=j+1|0;g=j&255;if(a>>>0>g>>>0){continue}break}}yi(h)}if(d){break a}return 0}Zl(b);return d}function mua(a,b,c){a:{if((r[b|0]|r[b+1|0]<<8)!=17011|c>>>0<78|((r[b+2|0]|r[b+3|0]<<8)!=19|(r[b+4|0]|r[b+5|0]<<8)!=77)){break a}if(!(r[b+17|0]|(r[b+18|0]<<8|r[b+19|0]<<16))|(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24))+77>>>0>c>>>0|(!(r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16))|(r[b+17|0]|(r[b+18|0]<<8|r[b+19|0]<<16))>>>0>(r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16))>>>0)){break a}a=r[b+21|0]|r[b+22|0]<<8;b:{if(!r[b+20|0]){if((r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16))&1?a&4:0){break a}if((r[b+21|0]|r[b+22|0]<<8)&1){break b}break a}if(a&1){break a}}a=b+65|0;if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))>>>0>=c>>>0){break a}return c-(r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))>>>0>=w(r[b+14|0]|(r[b+15|0]<<8|r[b+16|0]<<16),23)>>>0}return 0}function k0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=x(0),m=x(0);h=-13;f=q[242116];k=q[f+16>>2];if(k){wj(k);f=q[242116]}g=q[f+80>>2];a:{if(!g){break a}g=q[q[f+76>>2]+(Qwa(a,b,g)<<2)>>2];if((g|0)==-1){break a}j=q[f+84>>2];while(1){i=j+(g<<4)|0;if(q[i>>2]!=(a|0)|q[i+4>>2]!=(b|0)){g=q[i+12>>2];if((g|0)!=-1){continue}break a}break}a=0;c=x(x(t[f+33916>>2])*c);b:{if(c=x(0)){h=~~c>>>0;break b}h=0}c:{if((h|0)<=0){f=q[f+33920>>2];c=x(0);break c}b=w(q[(j+(g<<4)|0)+8>>2],1056)+f|0;g=q[b+1160>>2];f=q[f+33920>>2];c=x(0);while(1){j=b+136|0;g=g-1&63;i=g<<3;c=x(c+u[j+i>>2]);l=x(l+u[(i|4)+j>>2]);a=a+1|0;h=h-f|0;if((h|0)>0){continue}break}}m=c;c=x(w(a,f)>>>0);u[d>>2]=x(F(x(m/c)))/x(32767);u[e>>2]=x(F(x(l/c)))/x(32767);h=0}if(k){qj(k)}return h}function OC(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-112|0;ti=c;e=q[a+48>>2];g=q[e+36>>2];a:{if(q[a+16>>2]==285){b:{if(q[b+28>>2]<2147483646){break b}d=q[e+16>>2];f=q[q[e>>2]+60>>2];c:{if(!f){q[c+32>>2]=2147483645;q[c+36>>2]=136729;d=_i(d,136752,c+32|0);break c}q[c+52>>2]=2147483645;q[c+48>>2]=f;q[c+56>>2]=136729;d=_i(d,136786,c+48|0)}Pl(q[e+12>>2],d,0);if(q[a+16>>2]==285){break b}d=q[a+52>>2];q[c+16>>2]=dl(a,285);Dj(a,_i(d,136607,c+16|0))}d=q[a+24>>2];Gj(a);d=Kp(q[a+48>>2],d);q[c+104>>2]=-1;q[c+108>>2]=-1;q[c+96>>2]=d;q[c+88>>2]=4;break a}sB(a,c+88|0)}q[b+28>>2]=q[b+28>>2]+1;if(q[a+16>>2]!=61){d=q[a+52>>2];q[c>>2]=dl(a,61);Dj(a,_i(d,136607,c))}Gj(a);d=sl(e,c+88|0);$k(a,c- -64|0,0);im(e,9,q[q[b+24>>2]+8>>2],d,sl(e,c- -64|0));q[e+36>>2]=g;ti=c+112|0}function N8(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;k=-5;j=q[a+164>>2];a:{if(!j){break a}j=q[q[a+160>>2]+(Qwa(b,c,j)<<2)>>2];if((j|0)==-1){break a}l=q[a+168>>2];while(1){a=w(j,40)+l|0;if(q[a>>2]!=(b|0)|q[a+4>>2]!=(c|0)){j=q[a+32>>2];if((j|0)!=-1){continue}break a}break}b=w(j,40)+l|0;if(r[b+12|0]&2){Ai(4,193721,193772,0);return-7}a=q[b+24>>2];if(a){yi(a);q[b+24>>2]=0}k=Ji(i);q[b+24>>2]=k;b:{if(g){a=d;c:{d:{switch(f|0){case 0:a=w(d,3);break c;case 1:break d;default:break c}}a=d<<2}if((w(a,e)|0)==(i|0)){if(!e){break b}g=0;b=0-a|0;i=h+i|0;while(1){i=b+i|0;k=Gi(k,i,a)+a|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}break b}Ai(4,193721,195195,0);yi(q[b+24>>2]);q[b+24>>2]=0;return-9}Gi(k,h,i)}a=w(j,40)+l|0;q[a+28>>2]=f;q[a+20>>2]=e;q[a+16>>2]=d;k=0}return k}function nk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=ti-32|0;ti=g;a:{b:{c:{if(!(!a|!b)){d=q[a>>2];if(!Sy(d,b,g)){while(1){b=q[d+88104>>2];q[d+88104>>2]=b?b:1;if(b){continue}break}e=d+4|0;b=q[d>>2];f=(q[d+8>>2]-b|0)/40|0;c=(q[d+4>>2]-b|0)/40|0;if((f|0)==(c|0)){if(o[d+12|0]&1){break c}Ii(c+32|0,40,d,d+8|0,e);b=q[d>>2];h=(q[d+8>>2]-b|0)/40|0}else{h=f}f=c+1|0;if(h>>>0>>0){break b}q[e>>2]=w(f,40)+b;if(!f){break a}c=w(c,40)+b|0;b=g;e=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=e;e=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=e;e=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=e;e=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=e;p[c+32>>1]=q[a+4>>2];q[d+88104>>2]=0}}ti=g+32|0;return}J(29557,28586,493,29632);G()}J(28653,28586,506,28672);G()}J(29037,28586,435,29048);G()}function NC(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;q[g+12>>2]=0;q[g+8>>2]=0;a:{b:{if(a){i=-16512;b=a-3|0;c:{if(b>>>0<=5){b=q[(b<<2)+273896>>2];break c}b=0}if(!b){break a}if(_U(a,g+8|0,g+12|0)){break a}b=(b?q[b+8>>2]:0)&255;h=q[g+12>>2];if((b+h|0)+8>>>0>127){break a}j=b+10|0;f=j+h|0;if(f>>>0>>0){break a}if(d>>>0>=f>>>0){break b}break a}i=-16512;f=b;if(f>>>0>d>>>0){break a}}f=d-f|0;if(f>>>0<11){break a}o[e|0]=0;o[e+1|0]=1;i=0;f=f-3|0;f=Fi(e+2|0,255,f)+f|0;o[f|0]=0;f=f+1|0;if(!a){Gi(f,c,b);break a}o[f|0]=48;o[f+5|0]=h;o[f+4|0]=6;o[f+3|0]=h+4;o[f+2|0]=48;o[f+1|0]=(b+h|0)+8;a=Gi(f+6|0,q[g+8>>2],h)+h|0;o[a+3|0]=b;o[a+2|0]=4;o[a|0]=5;o[a+1|0]=0;if((Gi(a+4|0,c,b)+b|0)==(d+e|0)){break a}xi[q[68401]](e,0,d)|0;i=-16512}ti=g+16|0;return i}function Joa(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;e=q[b>>2];h=q[e+8>>2]-q[e+12>>2]|0;f=jj(e,36);q[f+20>>2]=0;q[f+24>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[f+12>>2]=-2;q[f+16>>2]=-2;q[f>>2]=b;q[f+28>>2]=0;q[f+32>>2]=0;q[f+20>>2]=-2;Qi(e,-1);q[f+12>>2]=kk(e,-1e4);gj(e,0,0);q[f+16>>2]=kk(e,-1e4);gj(e,0,0);i=kk(e,-1e4);q[f+4>>2]=c;q[f+20>>2]=i;a=q[a+16>>2];p[f+24>>1]=d;q[f+8>>2]=a;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;q[g+8>>2]=58;q[g+4>>2]=e;q[g>>2]=59;a=Loa(g);q[f+28>>2]=a;c=q[b+36>>2];q[a+24>>2]=q[b+32>>2];q[a+28>>2]=c;q[a+32>>2]=q[b+40>>2];Ki(e,-1e4,14555);ij(e,-2);Ci(e,-2);bj(e,-1e4,q[f+12>>2]);jk(e);Ey(q[f+8>>2]);a=q[e+8>>2];q[a+8>>2]=0;q[e+8>>2]=a+16;jk(e);if(h>>4!=q[e+8>>2]-q[e+12>>2]>>4){J(16509,15841,2552,18530);G()}ti=g+16|0;return f}function G8(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{e=b&65535;d=q[a+32>>2];if(e>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(d+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}d=d+w(e,576)|0;if(s[d+554>>1]!=(b&65535)){break a}c=c>2]=c;c:{if(!(q[d+464>>2]|q[d+468>>2])){break c}e=q[a+48>>2];a=q[a+52>>2]-e|0;if(!a){break c}d=d+472|0;a=(a|0)/72|0;g=a>>>0>1?a:1;a=0;while(1){f=e+w(a,72)|0;if(!((d|0)==q[f+4>>2]?q[f>>2]==(b|0):0)){a=a+1|0;if((g|0)!=(a|0)){continue}break c}break}d:{e:{f:{a=e+w(a,72)|0;switch(q[a+52>>2]-1|0){case 0:case 3:break f;case 1:case 4:break e;default:break d}}c=x(x(1)-c);break d}c=x(c*x(.5))}u[a+20>>2]=c*u[a+24>>2]}return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function zx(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-80|0;ti=e;d=q[a>>2];if(d){d=q[d+8>>2]}else{d=0}f=d&255;o[e+79|0]=0;d=(b|0)!=0&(c|0)!=0;h=d?2:1;g=a+12|0;a:{b:{if(d){while(1){d=Lm(a);if(d){break a}d=Uk(a,g,f);if(d){break a}d=Uk(a,e+79|0,1);if(d){break a}d=Uk(a,b,c);if(d){break a}d=Nl(a,e);if(d){break a}d=Mo(a,e,f);if(d){break a}d=Uk(a,g,f);if(d){break a}d=Nl(a,g);if(d){break a}d=r[e+79|0]+1|0;o[e+79|0]=d;if((d&255)>>>0>>0){continue}break b}}while(1){d=Lm(a);if(d){break a}d=Uk(a,g,f);if(d){break a}d=Uk(a,e+79|0,1);if(d){break a}d=Nl(a,e);if(d){break a}d=Mo(a,e,f);if(d){break a}d=Uk(a,g,f);if(d){break a}d=Nl(a,g);if(d){break a}b=r[e+79|0]+1|0;o[e+79|0]=b;if((b&255)>>>0>>0){continue}break}}d=0}xi[q[68401]](e,0,64)|0;ti=e+80|0;return d}function o2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=x(0);b=ti-80|0;ti=b;f=Li(a,1,q[212904],0);c=u[f>>2];e=u[f+4>>2];a:{if(!(c!=c|e!=e)){d=u[f+8>>2];if(d==d){break a}}d=u[f+8>>2];v[b- -64>>3]=e;v[b+72>>3]=d;v[b+56>>3]=c;q[b+48>>2]=1;Bi(a,128819,b+48|0)}g=Li(a,2,q[212904],0);c=u[g>>2];e=u[g+4>>2];b:{if(!(c!=c|e!=e)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+32>>3]=e;v[b+40>>3]=d;v[b+24>>3]=c;q[b+16>>2]=2;Bi(a,128819,b+16|0);d=u[g+8>>2];e=u[g+4>>2];c=u[g>>2]}h=x(x(x(c*c)+x(e*e))+x(d*d));c:{if(h==x(0)){q[b+12>>2]=130332;q[b+8>>2]=128752;q[b+4>>2]=128688;q[b>>2]=128752;a=Bi(a,130856,b);break c}c=x(x(x(x(c*u[f>>2])+x(e*u[f+4>>2]))+x(d*u[f+8>>2]))/h);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=c;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=b+80|0;return a|0}function HY(a){var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=0,h=x(0);b=(bxa(a),Zwa(2));a:{b:{if(!((b|0)>-1?b>>>0>=8388608:0)){if(!(b&2147483647)){return x(x(-1)/x(a*a))}if((b|0)<=-1){return x(x(a-a)/x(0))}b=(bxa(x(a*x(33554432))),Zwa(2));g=-152;break b}if(b>>>0>2139095039){break a}g=-127;a=x(0);if((b|0)==1065353216){break a}}b=b+4913933|0;a=x((_wa(2,(b&8388607)+1060439283|0),cxa())+x(-1));c=x(a*x(a*x(.5)));d=x(a/x(a+x(2)));e=x(d*d);f=x(e*e);h=a;a=(_wa(2,(bxa(x(a-c)),Zwa(2))&-4096),cxa());c=x(x(x(h-a)-c)+x(d*x(c+x(x(e*x(x(f*x(.2849878668785095))+x(.6666666269302368)))+x(f*x(x(f*x(.24279078841209412))+x(.40000972151756287)))))));a=x(x(x(a*x(1.44287109375))+x(x(c*x(1.44287109375))+x(x(c+a)*x(-.00017605285393074155))))+x((b>>>23|0)+g|0))}return a}function k2(a){a=a|0;var b=x(0),c=0,d=0,e=x(0),f=x(0),g=x(0),h=0,i=x(0),j=x(0),k=x(0);c=ti+ -64|0;ti=c;d=Li(a,1,q[212904],0);e=u[d>>2];f=u[d+4>>2];a:{if(!(e!=e|f!=f)){b=u[d+8>>2];if(b==b){break a}}b=u[d+8>>2];v[c+48>>3]=f;v[c+56>>3]=b;v[c+40>>3]=e;q[c+32>>2]=1;Bi(a,128819,c+32|0)}h=Li(a,2,q[212904],0);e=u[h>>2];f=u[h+4>>2];b:{if(!(e!=e|f!=f)){b=u[h+8>>2];if(b==b){break b}}b=u[h+8>>2];v[c+16>>3]=f;v[c+24>>3]=b;v[c+8>>3]=e;q[c>>2]=2;Bi(a,128819,c);b=u[h+8>>2];f=u[h+4>>2];e=u[h>>2]}i=u[d+4>>2];j=u[d>>2];k=u[d+8>>2];d=jj(a,16);g=x(x(x(x(j*e)+x(i*f))+x(k*b))+x(1));g=x(F(x(g+g)));u[d+12>>2]=g*x(.5);g=x(x(1)/g);u[d+8>>2]=x(x(j*f)-x(e*i))*g;u[d+4>>2]=x(x(e*k)-x(j*b))*g;u[d>>2]=x(x(i*b)-x(f*k))*g;Ki(a,-1e4,128720);ij(a,-2);ti=c- -64|0;return 1}function h7(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!q[a- -64>>2]){break b}d=q[a+76>>2];if(!d){break b}c=q[a+44>>2];c:{if(!c){c=0;break c}while(1){b=q[q[a+40>>2]+(e<<2)>>2];if((b|0)!=-1){while(1){f=q[a+48>>2]+w(b,12)|0;d:{if(!r[f+4|0]){break d}c=q[f>>2];e:{g=q[d+12>>2];b=q[d+16>>2];if((g|0)==(b|0)){break e}i=b-g>>2;b=0;while(1){h=q[(b<<2)+g>>2];if((c|0)!=r[h+344|0]){b=b+1|0;if(i>>>0>b>>>0){continue}break e}break}pz(d,h,c);break d}c=Wl(d,c);if(!c){break d}b=q[d+16>>2];if((b|0)==q[d+20>>2]){break a}q[d+16>>2]=b+4;q[b>>2]=c}b=q[f+8>>2];if((b|0)!=-1){continue}break}c=q[a+44>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}Fi(q[a+40>>2],255,c<<2);q[a+60>>2]=-1;q[a+64>>2]=0;q[a+52>>2]=q[a+48>>2]}return}J(144719,144449,533,144743);G()} -function T0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;a:{b:{if(a){b=a?q[a>>2]:0;if(!b){break b}b=q[b+120>>2];if(!b){break a}f=Ti(d+8|0,b,0,119520,429);g=X1();c=q[210259];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=g;q[b+8>>2]=q[b+8>>2]+16;nF(a);Si(f);fi=d+32|0;return}J(119699,119520,424,119719);G()}J(119739,119520,426,119719);G()}J(119754,119520,428,119719);G()}function Gta(){var a=0,b=0;a=fi-96|0;fi=a;if(!r[300249]){zsa();q[a+88>>2]=-556347706;q[a+92>>2]=-528409;q[a+80>>2]=-1667986300;q[a+84>>2]=-1112167003;q[a+72>>2]=1515342402;q[a+76>>2]=2071161699;q[a+64>>2]=403703808;q[a+68>>2]=959523105;Dv(300256,a- -64|0,32,32,1);Dv(300768,a- -64|0,1,32,0);while(1){o[a+b|0]=b<<2|b>>>4;b=b+1|0;if((b|0)!=64){continue}break}Dv(301280,a,64,64,1);Dv(301792,a,1,64,0);o[300249]=1}fi=a+96|0}function $v(a,b,c,d,e){var f=0,g=0,h=0;f=dw(a,b,c,d);g=q[e+4>>2];h=q[d+4>>2];if((g|0)==(h|0)&t[e>>2]>2]|g>>>0>>0){Cl(d,e);e=q[d+4>>2];g=q[c+4>>2];if((e|0)==(g|0)&t[d>>2]>=t[c>>2]|e>>>0>g>>>0){return f+1|0}Cl(c,d);d=q[c+4>>2];e=q[b+4>>2];if((d|0)==(e|0)&t[c>>2]>=t[b>>2]|d>>>0>e>>>0){return f+2|0}Cl(b,c);c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return f+3|0}Cl(a,b);f=f+4|0}return f}function g9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+28|0);a:{if($j(a,2)){c=Ni(a,2,0);if(!Bz(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;ni(a,191378,b+16|0);break a}c=Qk(a,2);e=ii;g=e;if(!dI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Ei(c,g);ni(a,191378,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(187343,187364,1501,191417);G()}fi=b+32|0;return 0}function Or(a){q[a>>2]=0;q[a+12>>2]=0;q[a+4>>2]=1;q[a+8>>2]=0;q[a+24>>2]=0;q[a+16>>2]=1;q[a+20>>2]=0;q[a+36>>2]=0;q[a+28>>2]=1;q[a+32>>2]=0;q[a+48>>2]=0;q[a+40>>2]=1;q[a+44>>2]=0;q[a+60>>2]=0;q[a+52>>2]=1;q[a+56>>2]=0;q[a+72>>2]=0;q[a+64>>2]=1;q[a+68>>2]=0;q[a+84>>2]=0;q[a+76>>2]=1;q[a+80>>2]=0;q[a+120>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0}function F9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+28|0);a:{if($j(a,2)){c=Ni(a,2,0);if(!qI(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;ni(a,191787,b+16|0);break a}c=Qk(a,2);e=ii;g=e;if(!pI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Ei(c,g);ni(a,191787,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(187343,187364,1976,191823);G()}fi=b+32|0;return 0}function B9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+28|0);a:{if($j(a,2)){c=Ni(a,2,0);if(!Dz(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;ni(a,191846,b+16|0);break a}c=Qk(a,2);e=ii;g=e;if(!nI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Ei(c,g);ni(a,191846,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(187343,187364,2040,191883);G()}fi=b+32|0;return 0}function n4(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);if(d>>4==q[a+8>>2]-q[a+12>>2]>>4){a:{if((ri(a,1)|0)==2){e=Vi(a,1);b=Ai(a,2);b:{if(b<4294967296&b>=0){d=~~b>>>0;break b}d=0}b=Ai(a,3);c:{if(b<4294967296&b>=0){a=~~b>>>0;break c}a=0}ji[q[74959]](e,d,a);a=0;break a}q[c>>2]=104341;a=ni(a,105108,c)}fi=c+16|0;return a|0}J(104348,104245,265,107702);G()}function Lna(a,b){var c=0,d=0;c=bj(a,64);d=c+44|0;q[d>>2]=0;q[d+4>>2]=0;q[c+28>>2]=0;q[c+32>>2]=0;q[c+20>>2]=-2;q[c+24>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+4>>2]=-2;q[c+8>>2]=-2;q[c>>2]=a;q[c+60>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+44>>2]=-2;Hi(a,-1);d=ck(a,-1e4);q[c+36>>2]=c;q[c+44>>2]=d;q[c+40>>2]=b;q[c+28>>2]=56;zi(a,-1e4,17630);aj(a,-2);if(!kK(a,b,c)){vA(c);return 0}oi(a,-2);return c}function WU(a,b,c){var d=0,e=0,f=0;d=-3;e=q[a>>2];if(e){e=q[e+8>>2]}else{e=0}e=e&255;a:{if(c>>>0>1024){break a}if(!(!q[a+92>>2]|(q[a+76>>2]<=q[a+88>>2]?q[a+84>>2]!=1:0))){d=VU(a);if(d){break a}}if(c){f=a+12|0;while(1){d=Jm(a);if(d){break a}d=Mk(a,f,e);if(d){break a}d=Il(a,f);if(d){break a}d=c>>>0>e>>>0?e:c;b=si(b,f,d)+d|0;c=c-d|0;if(c){continue}break}}d=dx(a,0,0);if(d){break a}q[a+76>>2]=q[a+76>>2]+1;d=0}return d}function Qi(a,b,c,d){var e=0,f=0,g=0,h=0;e=a;f=+ua()*1e3;a:{if(f<0x10000000000000000&f>=0){h=~~f>>>0;g=y(f)>=1?f>0?~~A(C(f*2.3283064365386963e-10),4294967295)>>>0:~~D((f- +(~~f>>>0>>>0))*2.3283064365386963e-10)>>>0:0;break a}g=0}q[e+8>>2]=h;q[e+12>>2]=g;e=M5();q[e>>2]=c;c=q[213001];if(q[213002]-c>>4>>>0<=b>>>0){J(158341,158259,447,158352);G()}q[e+16>>2]=d;q[e+4>>2]=c+(b<<4);q[e+8>>2]=q[a+8>>2]-q[213087];q[a>>2]=e}function qsa(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+(q[a+4>>2]<<2)>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+(q[a+4>>2]<<2)>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}psa(a,d>>>2|0,b>>>2|0);return}J(95285,95300,709,95344);G()}J(95350,95300,710,95344);G()}J(95387,95300,711,95344);G()}J(85745,95300,716,95344);G()}J(85745,95300,723,95344);G()}function nsa(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+(q[a+4>>2]<<1)>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+(q[a+4>>2]<<1)>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}msa(a,d>>>1|0,b>>>1|0);return}J(95285,95300,709,95344);G()}J(95350,95300,710,95344);G()}J(95387,95300,711,95344);G()}J(85745,95300,716,95344);G()}J(85745,95300,723,95344);G()}function Hn(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if((a|0)==(b|0)){break a}f=q[a+8>>2];d=f-(c<<4)|0;q[a+8>>2]=d;g=1;if((c|0)<1){break a}e=q[b+8>>2];q[b+8>>2]=e+16;h=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=h;q[e+8>>2]=q[(f+(0-c<<4)|0)+8>>2];if((c|0)==1){break a}while(1){d=q[a+8>>2];e=q[b+8>>2];q[b+8>>2]=e+16;d=d+(g<<4)|0;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+8>>2]=q[d+8>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function gka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+1040>>2];c=q[b+28>>2];d=q[c+16>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){d=q[(b<<3)+d>>2];b=q[c+4>>2];c=q[c>>2];if(d>>>0>2>>>0){c=q[c+(d<<2)>>2];b=q[a+1052>>2];e=q[a+1048>>2];f=e+1|0;d=f>>>0<1?b+1|0:b;q[a+1048>>2]=f;q[a+1052>>2]=d;if(!(b|e)){q[a+8>>2]=6;o[a+16|0]=o[c+238|0]&1;q[a>>2]=li(47872);q[a+4>>2]=ii}return!(b|e)|0}}J(47308,47134,447,47319);G()}function IT(a){var b=0,c=0,d=0;q[a+184>>2]=0;q[a>>2]=853904;b=Oj(1,16749);q[a+100>>2]=b;c=-32512;a:{if(!b){b=0;break a}d=Oj(1,16749);q[a+184>>2]=d;if(!d){break a}mP(a);c=eC(a);if(!c){return 0}b=q[a+100>>2]}ki(b);ki(q[a+184>>2]);q[a>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;q[a+192>>2]=0;q[a+196>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;return c}function gsa(a){a=a|0;var b=0,c=0,d=0,e=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;d=uwa(0)|0;a:{if(d){break a}if(Gj(a,1)){break a}hk(a,1,123360)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;xwa(+(wj(a,c)+6755399441055744));uwa(1)|0;e=uwa(0)|0;b:{if(e){break b}if(Gj(a,c)){break b}hk(a,c,123360)}b=c-1|0;d=d&e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function esa(a){a=a|0;var b=0,c=0,d=0,e=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;d=uwa(0)|0;a:{if(d){break a}if(Gj(a,1)){break a}hk(a,1,123360)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;xwa(+(wj(a,c)+6755399441055744));uwa(1)|0;e=uwa(0)|0;b:{if(e){break b}if(Gj(a,c)){break b}hk(a,c,123360)}b=c-1|0;d=d|e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function csa(a){a=a|0;var b=0,c=0,d=0,e=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;d=uwa(0)|0;a:{if(d){break a}if(Gj(a,1)){break a}hk(a,1,123360)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;xwa(+(wj(a,c)+6755399441055744));uwa(1)|0;e=uwa(0)|0;b:{if(e){break b}if(Gj(a,c)){break b}hk(a,c,123360)}b=c-1|0;d=d^e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function uD(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=-12416;a:{if(!d|t[a>>2]>>0){break a}i=a+4|0;if(!jj(i,0)){break a}g=a+28|0;b:{while(1){h=En(g,b,e,f);if(h){break b}while(1){if((Dj(g,i)|0)>=0){h=Nk(g,1);if(!h){continue}break b}break}if((j|0)==11){g=-12928;break a}j=j+1|0;if(xv(g,i)){continue}break}b=a+40|0;h=co(b,a+16|0,g,i,a+76|0);if(h){break b}g=xv(b,i);if(g){break a}h=hn(b,c,d)}return h?h-12928|0:0}return g}function p5(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{f=q[a+4>>2];b:{if(!f){break b}f=q[q[a>>2]+(lwa(b,c,f)<<2)>>2];if((f|0)==-1){break b}h=q[a+8>>2];while(1){g=(f<<5)+h|0;if((b|0)!=q[g>>2]|q[g+4>>2]!=(c|0)){f=q[g+24>>2];if((f|0)!=-1){continue}break b}break}b=(f<<5)+h|0;c=q[b+16>>2];f=q[a+36>>2];a=q[a+32>>2];if(c>>>0>=f-a>>4>>>0){break a}q[d>>2]=a+(c<<4);q[e>>2]=q[b+20>>2];i=1}return i}J(100397,100310,447,100408);G()}function Yla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+12>>2];d=q[q[a+16>>2]>>2];b=q[d+60>>2];if(b){sn(b)}b=q[d+36>>2];if(b){Di(q[c>>2],b)}a=q[a+8>>2];c=q[a>>2];a:{b:{if((c|0)!=q[a+4>>2]){e=q[a+16>>2];if(!e){break b}b=q[a+24>>2];if(!b|b>>>0>t[a+20>>2]){break a}f=a;a=b-1|0;q[f+24>>2]=a;q[(a<<2)+e>>2]=d-c>>7;qi(d,0,128);return 0}J(35474,35485,447,35564);G()}J(35711,35637,140,35742);G()}J(35747,35637,141,35742);G()}function R3(a){var b=0;a:{if(o[a+173532|0]&1){break a}b=q[a+173520>>2];if(!b){break a}ki(b)}b:{if(o[a+173512|0]&1){break b}b=q[a+173500>>2];if(!b){break b}ki(b)}c:{if(o[a+155736|0]&1){break c}b=q[a+155716>>2];if(b){ki(b)}b=q[a+155708>>2];if(!b){break c}ki(b)}d:{if(o[a+44|0]&1){break d}b=q[a+24>>2];if(b){ki(b)}b=q[a+16>>2];if(!b){break d}ki(b)}e:{if(o[a+12|0]&1){break e}b=q[a>>2];if(!b){break e}ki(b)}return a}function JB(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;c=pE(d+12|0,b,1);a:{if(!c){c=qi(bj(a,8280),0,8280);hp(a,124315,-1);nt(d+12|0);if((b|0)==10){q[d+8>>2]=1;sl(q[d+12>>2],41,26,d+8|0,4)}q[c>>2]=q[d+12>>2];e=c+4|0;a=e;q[a+12>>2]=920;q[a+8>>2]=921;q[a+4>>2]=922;q[a>>2]=c;a=c+8248|0;v[a+8>>3]=-1;v[a>>3]=-1;LA(c+24|0,e,a);q[c+8272>>2]=b;a=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,c);a=2}fi=d+16|0;return a}function xR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;c=1;e=Ni(a,1,0);f=e;b=Ia(e|0)|0;if((b|0)==-31){b=Vh(f|0)|0}if(b>>>0>=4294963201){q[240833]=0-b;b=-1}a:{if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d+4>>2]=Uk(b);q[d>>2]=e;nj(a,131501,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;c=3}fi=d+16|0;return c|0}function UQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+152|0;a:{if(!q[a+160>>2]){g=a+8|0;f=a+140|0;while(1){if((h|0)==11){return-17536}d=En(e,q[a+4>>2]-1|0,b,c);if(d){break a}d=Fr(f,e,g);if(d){break a}h=h+1|0;if(jj(f,1)){continue}break}d=bo(f,e,g);if(d){break a}d=co(f,f,a+20|0,g,a+104|0);break a}b=a+140|0;d=Ak(b,b,b);if(d){break a}a=a+8|0;d=Lk(b,b,a);if(d){break a}d=Ak(e,e,e);if(d){break a}return Lk(e,e,a)}return d}function Sna(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;h=fi-48|0;fi=h;if(!(!qn(g)|!f)){f=q[q[a+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}i=q[f+4224>>2];j=q[f+4228>>2]}f=q[a+96>>2];k=q[a+100>>2];a=h;q[a+40>>2]=d;q[a+44>>2]=e;q[a+32>>2]=b;q[a+36>>2]=c;q[a+24>>2]=f;q[a+28>>2]=k;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=i;q[a+12>>2]=j;js(g,55,a+8|0)}rn(g);fi=h+48|0}function $N(){var a=0,b=0,c=0,d=0;a=fi-48|0;fi=a;q[a+32>>2]=q[51256];b=q[51255];q[a+24>>2]=q[51254];q[a+28>>2]=b;b=q[51253];q[a+16>>2]=q[51252];q[a+20>>2]=b;d=a+16|13;a:{b:{while(1){c:{kM(d);q[a>>2]=384;b=Ha(a+16|0,32962,a|0)|0;if(b>>>0>=4294963201){q[240833]=0-b;b=-1}if((b|0)>=0){break c}c=c+1|0;if((c|0)!=100){continue}break b}break}Ia(a+16|0)|0;c=tM(b,205028);if(c){break a}ia(b|0)|0}c=0}fi=a+48|0;return c}function lO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=fi-160|0;fi=d;qi(d+16|0,0,144);q[d+92>>2]=-1;q[d+60>>2]=b;q[d+24>>2]=-1;q[d+20>>2]=b;fn(d+16|0,0,0);sM(d,d+16|0,1,1);f=q[d+8>>2];g=q[d+12>>2];h=q[d>>2];i=q[d+4>>2];if(c){j=c;e=b;b=q[d+20>>2]-q[d+24>>2]|0;k=b;c=b+q[d+136>>2]|0;b=q[d+140>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;q[j>>2]=!(b|c)?e:e+c|0}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=f;q[a+12>>2]=g;fi=d+160|0}function Pi(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=fi-16|0;fi=c;f=+ua()*1e3;a:{if(f<0x10000000000000000&f>=0){b=~~f>>>0;break a}b=0}g=q[a>>2];a=b-q[a+8>>2]|0;i=a;q[g+12>>2]=a;d=q[70351];j=d;h=q[70350];e=h;d=d<<1|e>>>31;e=e<<1;b=0;if((d|0)==(b|0)&a>>>0>e>>>0|b>>>0>d>>>0){a=q[q[g+4>>2]>>2];b=q[g>>2];v[c+8>>3]=+(i>>>0)/(+(h>>>0)+ +(j>>>0)*4294967296);q[c+4>>2]=b;q[c>>2]=a;mi(3,157660,157873,c)}fi=c+16|0}function yv(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;xwa(+a);d=uwa(1)|0;uwa(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=et(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(eB(a,b)&3){case 0:c=et(v[b>>3],v[b+8>>3]);break a;case 1:c=-ct(v[b>>3],v[b+8>>3],1);break a;case 2:c=-et(v[b>>3],v[b+8>>3]);break a;default:break b}}c=ct(v[b>>3],v[b+8>>3],1)}a=c;fi=b+16|0;return a}function jT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!b){break a}h=b-c|0;f=b-1|0;if(!f){c=0;while(1){d=c-h>>>31|0;o[a|0]=r[a|0]&(0-d|d)>>31;c=c+1|0;if((c|0)!=(b|0)){continue}break}break a}i=a+f|0;while(1){d=g-h>>>31|0;c=0;while(1){e=a+c|0;j=e;k=r[e|0];e=(d|0-d)>>31;c=c+1|0;o[j|0]=k&e|r[c+a|0]&(e^-1);if((c|0)!=(f|0)){continue}break}o[i|0]=r[i|0]&(d|0-d)>>31;g=g+1|0;if((g|0)!=(b|0)){continue}break}}}function a9(a){var b=0;b=qi(Ci(200),0,200);q[b>>2]=vI(q[a>>2]);q[b+4>>2]=q[a+4>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=q[a+12>>2];q[b+16>>2]=q[a+16>>2];q[b+28>>2]=q[a+28>>2];q[b+32>>2]=q[a+32>>2];q[b+20>>2]=q[a+20>>2];q[b+24>>2]=q[a+24>>2];q[b+36>>2]=q[a+36>>2];if(!(o[b+52|0]&1)){a:{vi(32,4,b+40|0,b+48|0,b+44|0);if(o[b+164|0]&1){break a}vi(32,4,b+152|0,b+160|0,b+156|0);return b}}J(187176,186599,461,186335);G()}function C_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=qi(a,0,b+1|0);a:{if(!b){break a}if(c){while(1){f=e+h|0;a=0;while(1){g=Dm(d,w(a,b)+e|0);o[f|0]=r[f|0]|g<>>0<=b>>>0){continue}break}}}function tma(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi+ -64|0;fi=b;e=Ti(b+40|0,a,1,63275,107);c=q[q[Kj(a)+80>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;Hk(a,1,c,63050,b+36|0,b,0);c=q[b+36>>2];a:{if(!(o[c+20|0]&1)){c=q[c>>2];c=(q[c+8>>2]!=q[c+4>>2])<<1;break a}c=1}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=b- -64|0;return 1}function g1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-32|0;fi=d;b=1;e=Ni(a,1,0);c=sk(e,116683);a:{if(!c){ij(a,0,0);break a}g=Yk(316748,1,524288,c);if(q[c+76>>2]<=-1){b=q[c>>2]}else{b=q[c>>2]}b=b>>>4&1;if(q[c+76>>2]<=-1){f=q[c>>2]}else{f=q[c>>2]}Qj(c);if(!(!b|f>>>5&1)){zq(a,316748,g);b=1;break a}if(b){q[d>>2]=e;b=ni(a,116686,d);break a}q[d+20>>2]=e;q[d+16>>2]=512;b=ni(a,116719,d+16|0)}fi=d+32|0;return b|0}function Gr(a,b){var c=0,d=0,e=0;c=q[a+4>>2];while(1){d=c;if(c){c=d-1|0;if(!q[q[a+8>>2]+(c<<2)>>2]){continue}}break}c=q[b+4>>2];while(1){e=c;if(c){c=e-1|0;if(!q[q[b+8>>2]+(c<<2)>>2]){continue}}break}if(!(d|e)){return 0}if(d>>>0>e>>>0){return 1}if(d>>>0>=e>>>0){while(1){if(!d){return 0}d=d-1|0;c=d<<2;e=q[c+q[a+8>>2]>>2];c=q[c+q[b+8>>2]>>2];if(e>>>0>c>>>0){return 1}if(c>>>0<=e>>>0){continue}break}}return-1}function EO(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;g=1;e=r[b|0];if((d|0)==1){b=(r[c|0]+w(e,3)|0)+2>>>2|0;o[a|0]=b;o[a+1|0]=b;return a|0}e=r[c|0]+w(e,3)|0;f=e+2>>>2|0;o[a|0]=f;i=((d<<1)+a|0)-1|0;if((d|0)>=2){while(1){h=(g<<1)+a|0;f=r[c+g|0]+w(r[b+g|0],3)|0;o[h-1|0]=(f+w(e,3)|0)+8>>>4;o[h|0]=(w(f,3)+e|0)+8>>>4;e=f;g=g+1|0;if((g|0)!=(d|0)){continue}break}f=e+2>>>2|0}o[i|0]=f;return a|0}function Dha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=x(0),g=x(0),h=x(0),i=x(0);e=fi+ -64|0;fi=e;u[e+48>>2]=u[b>>2];u[e+52>>2]=u[b+4>>2];u[e+56>>2]=u[b+8>>2];u[e+32>>2]=u[c>>2];u[e+36>>2]=u[c+4>>2];u[e+40>>2]=u[c+8>>2];f=u[d>>2];u[e+16>>2]=f;g=u[d+4>>2];u[e+20>>2]=g;h=u[d+8>>2];u[e+24>>2]=h;i=u[d+12>>2];u[e+12>>2]=i;u[e+8>>2]=h;u[e+4>>2]=g;u[e>>2]=f;u[e+28>>2]=i;hG(a,e+48|0,e+32|0,e+16|0,e);fi=e- -64|0}function tp(a){var b=0,c=0,d=0;d=q[a+36>>2];if(!d){return-28928}c=q[a+216>>2];a:{if(!c){break a}b=ji[d|0](q[a+48>>2],q[a+192>>2]-c|0,c)|0;if((b|0)<1){break a}while(1){c=q[a+216>>2];if(c>>>0>>0){return-27648}b=c-b|0;q[a+216>>2]=b;if(b){b=ji[q[a+36>>2]](q[a+48>>2],q[a+192>>2]-b|0,b)|0;if((b|0)>=1){continue}break a}break}b=q[a+184>>2];q[a+192>>2]=q[q[a>>2]+184>>2]&2?b:b+8|0;pr(a,q[a+76>>2]);b=0}return b}function IP(a,b,c){var d=0,e=0,f=0;a:{b:{d=q[q[a>>2]+144>>2];if(!d){break b}if(c>>>0<=3){break a}f=r[b+1|0]|r[b|0]<<8;if((f|0)!=(c-2|0)){break a}e=r[b+2|0];if((e|0)==(f-1|0)){c=q[d>>2];if(c){b=b+3|0;while(1){c:{if((Fi(c)|0)!=(e|0)){break c}if(ej(b,c,e)){break c}q[a+240>>2]=c;return 0}c=q[d+4>>2];d=d+4|0;if(c){continue}break}}break b}Aj(a,2,50);return-31104}Aj(a,2,40);return-31104}Aj(a,2,50);return-31104}function Go(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+32>>2];q[a+32>>2]=-1;f=Jk(a,2147450902,q[q[a+12>>2]+8>>2]);if((e|0)!=-1){if((f|0)==-1){return e}c=q[q[a>>2]+12>>2];b=f;while(1){d=b;g=(b<<2)+c|0;h=q[g>>2];b=(h>>>14|0)-131071|0;b=(b|0)==-1?-1:(d+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;c=(d^-1)+e|0;d=c>>31;if((d^c+d)>=131072){xj(q[a+12>>2],127273);h=q[g>>2]}q[b>>2]=(h&16383|c<<14)+2147467264}return f}function zba(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}e=a+w(d,576)|0;if(s[e+554>>1]!=(b&65535)){break a}if((q[e+412>>2]&240)==80){a=a+w(d,576)|0;b=q[a+524>>2];q[c>>2]=q[a+520>>2];q[c+4>>2]=b;a=0}else{a=-10}return a}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function sq(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-32|0;fi=e;a:{if(c){f=yl(a,b,c,0);break a}f=_i(a,b,0);if(f){break a}g=q[65292];f=e;c=ri(a,b);h=125997;b:{if((c|0)==-1){break b}h=q[(c<<2)+261152>>2]}q[f+20>>2]=h;q[e+16>>2]=g;Mj(a,b,nj(a,128655,e+16|0));f=0}g=q[d>>2];c:{if(g){c=0;while(1){if(!Ej(g,f)){break c}c=c+1|0;g=q[(c<<2)+d>>2];if(g){continue}break}}q[e>>2]=f;c=Mj(a,b,nj(a,128687,e))}fi=e+32|0;return c}function pwa(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;d=f&31;if(f>>>0>=32){d=-1>>>d|0}else{e=-1>>>d|0;d=(1<>>d}f=d&a;d=b&e;e=g&31;if(g>>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-c|-1<>>0>=32){c=0;a=d>>>b|0}else{c=d>>>b|0;a=((1<>>b}a=a|g;ii=c|f;return a}function cy(a,b){var c=0;c=bj(a,64);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];zi(a,-1e4,120704);aj(a,-2)}function _m(a,b){var c=0,d=0,e=0,f=0;f=q[212988];while(1){c=q[f+32>>2];q[f+32>>2]=c?c:1;if(c){continue}break}e=q[212988];d=q[e+4>>2];c=0;a:{if(!d){break a}d=q[q[e>>2]+(lwa(a,b,d)<<2)>>2];c=0;if((d|0)==-1){break a}c=q[e+8>>2];b:{while(1){e=c+(d<<6)|0;if((a|0)==q[e>>2]&q[e+4>>2]==(b|0)){break b}d=q[e+56>>2];if((d|0)!=-1){continue}break}q[f+32>>2]=0;return 0}c=q[(c+(d<<6)|0)+32>>2]}q[f+32>>2]=0;return c}function x7(a,b,c,d,e){var f=0,g=0,h=0;f=fi-16|0;fi=f;g=q[212944];tj(g);a:{h=q[212943];if(!h){q[f+8>>2]=32;q[f+12>>2]=10;if(gL(f+8|0)){break a}h=q[212943]}lj(g);q[a+104>>2]=h;g=-1;if(!zqa(h,b,c,d,e,a+108|0,q[a>>2]+2128|0)){q[a+112>>2]=wqa(q[a+104>>2],q[a+108>>2]);q[a+116>>2]=xqa(q[a+104>>2],q[a+108>>2]);bF(q[a+112>>2],5e5,0);cF(q[a+112>>2],5e5,0);g=0}fi=f+16|0;return g}J(153160,153193,85,153221);G()}function Osa(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>>>0<=64){if(c){break a}ii=0;return 0}J(96722,85651,12251,96738);G()}e=q[b>>2];while(1){d=q[b>>2];f=r[(d>>>3|0)+a|0];h=d;d=c-i|0;g=e&7;e=8-g|0;j=(d|0)<(e|0)?d:e;e=h+j|0;q[b>>2]=e;g=(-1<>>g;d=i;f=d&31;if((d&63)>>>0>=32){d=g<>>32-f;h=g<>>0>>0){continue}break}ii=l;return k}function vna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a+20>>2];c=q[a+4>>2];b=Ci(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=zK(q[a>>2],c,d,b,q[a+8>>2]);if(!c){q[q[a+24>>2]+8>>2]=b;Ui(d);return c|0}e=q[a>>2];if(q[b+4>>2]){a=0;while(1){f=q[b>>2]+w(a,80)|0;Di(e,q[f+24>>2]);ro(q[f+72>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}Yo(e,b+8|0);mA(b);ki(b);Ui(d);return c|0}function hga(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;q[c+12>>2]=0;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[59718],c+12|0)){a:{d=q[c+12>>2];e=q[d+32>>2];if(!e){break a}if(q[d+40>>2]){b=0;while(1){jk(q[a+20>>2],q[q[d+36>>2]+(b<<2)>>2]);b=b+1|0;if((e|0)==(b|0)){d=q[c+12>>2];break a}d=q[c+12>>2];if(t[d+40>>2]>b>>>0){continue}break}}J(56856,56868,45,56945);G()}q[q[a+24>>2]>>2]=d;b=0}fi=c+16|0;return b|0}function Afa(a){a=a|0;var b=0,c=0,d=0;b=Ci(44);q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=PJ(q[a>>2],q[a+20>>2],b,0);if(!c){d=q[a+24>>2];q[d+8>>2]=b;q[d+16>>2]=((q[a+16>>2]+q[b+16>>2]|0)-q[b+8>>2]|0)+44;return c|0}Yu(q[a>>2],b);a:{if(o[b+20|0]&1){break a}a=q[b+8>>2];if(!a){break a}ki(a)}ki(b);return c|0}function TI(a,b,c,d,e,f,g){var h=0,i=0;h=fi-16|0;fi=h;i=-4;if(q[a+152>>2]!=((q[a+144>>2]-q[a+136>>2]|0)/24|0)){q[h+4>>2]=e;q[h>>2]=d;q[h+8>>2]=f&65535|g<<16;FH(a+128|0,b,c,h);g=q[a+32>>2];f=q[a+36>>2]-g|0;a=(f|0)/576|0;if(f){i=a>>>0>1?a:1;a=0;while(1){f=g+w(a,576)|0;if(q[f+424>>2]==(b|0)&q[f+428>>2]==(c|0)){q[f+436>>2]=e;q[f+432>>2]=d}a=a+1|0;if((i|0)!=(a|0)){continue}break}}i=0}fi=h+16|0;return i}function H0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0);d=fi-32|0;fi=d;b=yi(a,1,q[210276],0);c=u[b>>2];f=u[b+4>>2];a:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=1;ni(a,120787,d)}g=Ai(a,2);c=u[b+8>>2];f=u[b>>2];e=u[b+4>>2];b=bj(a,16);h=c;c=x(g);u[b+8>>2]=h/c;u[b+4>>2]=e/c;u[b>>2]=f/c;zi(a,-1e4,120656);aj(a,-2);fi=d+32|0;return 1}function eN(a,b,c,d){var e=0,f=0,g=0;g=fi-16|0;fi=g;q[c>>2]=0;q[d>>2]=0;e=Lj(a,b,g+12|0,48);a:{if(e){f=e-9472|0;break a}if(q[a>>2]==(b|0)){break a}e=LD(a,b,c);b:{if(!e){break b}if((e|0)==-98){e=nq(a,b,c)}if(e){f=e-9472|0;break a}if(!q[c>>2]){break b}q[c>>2]=1}if(q[a>>2]==(b|0)){break a}c=nq(a,b,d);if(c){f=c-9472|0;break a}f=-9574;if(q[a>>2]!=(b|0)){break a}q[d>>2]=q[d>>2]+1;f=0}fi=g+16|0;return f}function Xsa(a,b,c){var d=0,e=0;if(c>>>0>=2){J(99937,99946,158,99979);G()}b=q[(c<<2)+99856>>2]&b>>>(((c|0)!=0)<<4);a:{if(b&32768){d=b&31;c=c?d+99872|0:(d>>>1|0)+99904|0;d=(b>>>5&31)+99872|0;e=(b>>>10&31)+99872|0;b=255;break a}d=b&15;c=c?d+99904|0:(d>>>1|0)+99920|0;d=(b>>>4&15)+99904|0;e=(b>>>8&15)+99904|0;b=r[(b>>>12&7)+99928|0]}e=r[e|0];d=r[d|0];c=r[c|0];o[a+3|0]=b;o[a+2|0]=c;o[a+1|0]=d;o[a|0]=e}function VK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];l=q[a+4>>2];a:{while(1){d=c>>>0>=l>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;i=r[c|0];d=i&127;g=jwa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(i&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=j;q[b+4>>2]=k}return a^1}function OY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;e=1;d=Ni(a,1,0);b=yl(a,2,131301,0);f=bj(a,4);q[f>>2]=0;zi(a,-1e4,130969);aj(a,-2);b=sk(d,b);q[f>>2]=b;if(!b){e=q[240833];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=Uk(e);a:{if(d){q[c+20>>2]=b;q[c+16>>2]=d;nj(a,131078,c+16|0);break a}q[c>>2]=b;nj(a,131085,c)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;e=3}fi=c+32|0;return e|0}function ks(a,b,c){var d=0,e=0;d=fi-48|0;fi=d;a:{if((ri(a,b)|0)==4){q[d+44>>2]=0;e=_i(a,b,d+44|0);a=q[d+44>>2];b=a>>>0<128;o[si(c,e,b?a:128)+(b?a:127)|0]=0;break a}if(fk(a,b,q[79174])){a=Vi(a,b);b=To(q[a>>2],q[a+4>>2]);if(b){q[d+32>>2]=b;cj(c,128,113206,d+32|0);break a}b=q[a+4>>2];q[d+16>>2]=q[a>>2];q[d+20>>2]=b;cj(c,128,113209,d+16|0);break a}q[d>>2]=113214;cj(c,128,113206,d)}fi=d+48|0;return c}function cq(a){var b=0,c=0;b=fi-16|0;fi=b;xwa(+a);c=uwa(1)|0;uwa(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=ct(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(eB(a,b)&3){case 0:a=ct(v[b>>3],v[b+8>>3],1);break a;case 1:a=et(v[b>>3],v[b+8>>3]);break a;case 2:a=-ct(v[b>>3],v[b+8>>3],1);break a;default:break b}}a=-et(v[b>>3],v[b+8>>3])}fi=b+16|0;return a}function rY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-48|0;fi=b;d=Ni(a,1,0);c=Nj(d,46);a:{if(!c){break a}Bi(a,d,c-d|0);f=1;c=Mx(a,_i(a,-1,0),130064);if(!c){break a}e=Nj(d,45);q[b+32>>2]=Eo(a,e?e+1|0:d,130365,130465);nj(a,130467,b+32|0);Ok(a,-2);if((Ax(a,c)|0)!=2){e=_i(a,1,0);q[b+24>>2]=_i(a,-1,0);q[b+20>>2]=c;q[b+16>>2]=e;ni(a,130419,b+16|0)}q[b+4>>2]=c;q[b>>2]=d;nj(a,130478,b)}fi=b+48|0;return f|0}function yua(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=r[b|0];o[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=q[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){q[a>>2]=c;c=q[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=r[b|0];o[a|0]=c;if(!c){break a}while(1){c=r[b+1|0];o[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function gR(a){var b=0,c=0,d=0;if(!a){return 28}if(!q[240907]){q[240907]=4;q[240908]=xi(32)}c=q[240909];a:{if(!c){break a}d=q[240908];while(1){if(!q[(d+(b<<3)|0)+4>>2]){break a}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}d=b+1|0;if(q[240907]==(b|0)){q[240907]=b<<1;q[240908]=Pl(q[240908],b<<4);c=q[240909]}if((c|0)==(b|0)){q[240909]=d}c=q[240908]+(b<<3)|0;q[c>>2]=0;q[c+4>>2]=1;q[a>>2]=d;return 0}function zia(a){a=a|0;var b=0,c=0,d=0;b=fi-96|0;fi=b;d=Ti(b+72|0,a,1,65612,296);Kj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;ok(a,1,b+40|0,b+8|0);q[b+4>>2]=0;nK(a,b+4|0);wi(a,q[q[b+4>>2]+232>>2]);Si(d);fi=b+96|0;return 1}function io(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;if(b){if(q[c>>2]){e=c;while(1){f=f+1|0;g=q[e+8>>2];e=e+8|0;if(g){continue}break}}Pt(a,-1e4,128742,1);zi(a,-1,b);if((ri(a,-1)|0)!=5){oi(a,-2);if(Pt(a,-10002,b,f)){q[d>>2]=b;ni(a,128750,d)}Hi(a,-1);pi(a,-3,b)}Ok(a,-2);ak(a,-1)}if(q[c>>2]){while(1){Wj(a,q[c+4>>2],0);pi(a,-2,q[c>>2]);b=q[c+8>>2];c=c+8|0;if(b){continue}break}}oi(a,-1);fi=d+16|0}function Pha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-80|0;fi=b;e=Ti(b+24|0,a,0,67527,1160);d=q[q[Kj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;Hk(a,1,d,67321,b+20|0,b+48|0,b+16|0);d=Pj(a,2);c=ii;f=c;if(!al(q[b+16>>2],d,c,1)){q[b>>2]=Ei(d,f);g=ni(a,69798,b)}Si(e);fi=b+80|0;return g|0}function nO(a,b){var c=0,d=0,e=0,f=0;d=1893;if(!b){return 0}c=r[a|0];a:{if(!c){break a}while(1){b:{b=b-1|0;if(!b){break b}e=r[d|0];if(!e){break b}c:{if((c|0)==(e|0)){break c}e=c-65>>>0<26?c|32:c;c=r[d|0];if((e|0)==((c-65>>>0<26?c|32:c)|0)){break c}f=r[a|0];break a}d=d+1|0;c=r[a+1|0];a=a+1|0;if(c){continue}break a}break}f=c}a=f&255;b=a-65>>>0<26?a|32:a;a=r[d|0];return b-(a-65>>>0<26?a|32:a)|0}function Tia(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi+ -64|0;fi=b;e=Ti(b+40|0,a,1,64813,84);c=q[q[Kj(a)+80>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;Hk(a,1,c,64624,b+36|0,b,0);c=q[b+36>>2];a:{if(!(o[c+20|0]&1)){c=(q[q[c>>2]+4>>2]!=0)<<1;break a}c=1}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=b- -64|0;return 1}function ksa(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+q[a+4>>2]>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+q[a+4>>2]>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}jsa(a,d,b);return}J(95285,95300,709,95344);G()}J(95350,95300,710,95344);G()}J(95387,95300,711,95344);G()}J(85745,95300,716,95344);G()}J(85745,95300,723,95344);G()}function gm(a,b,c){var d=0,e=0;d=fi-48|0;fi=d;e=-10;if(!ts(a,b,d+40|0)){a=q[d+44>>2];q[d+8>>2]=q[d+40>>2];q[d+12>>2]=a;q[d>>2]=1;b=q[d+36>>2];a=c- -64|0;q[a>>2]=q[d+32>>2];q[a+4>>2]=b;a=q[d+28>>2];q[c+56>>2]=q[d+24>>2];q[c+60>>2]=a;a=q[d+20>>2];q[c+48>>2]=q[d+16>>2];q[c+52>>2]=a;a=q[d+12>>2];q[c+40>>2]=q[d+8>>2];q[c+44>>2]=a;a=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=a;e=0}fi=d+48|0;return e}function dqa(){var a=0,b=0,c=0;a=fi-32|0;fi=a;c=r[270692];o[270692]=1;q[a+16>>2]=420;b=fS(a+16|0);a:{if((b|0)!=-1){q[a+24>>2]=2;q[a+28>>2]=50376;if((Qv(b,a+24|0,8)|0)==8){if((Qv(b,855828,50376)|0)==50376){q[a>>2]=956592;mi(2,194269,194275,a);_q(b);break a}mi(4,194269,194316,0);_q(b);hw(956592);break a}mi(4,194269,194351,0);_q(b);hw(956592);break a}mi(4,194269,194385,0)}o[270692]=c;fi=a+32|0}function XR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[b>>2];q[c+12>>2]=8;b=1;a:{if((Nn(d,1,13,c,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);b=2;break a}ij(a,0,0);d=q[c>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,124010);d=q[c+4>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,124041)}fi=c+16|0;return b|0}function lja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Ci(64);q[b+4>>2]=0;q[b+8>>2]=0;q[b+52>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;d=b+12|0;q[d>>2]=0;q[d+4>>2]=0;e=q[a>>2];q[b>>2]=q[e>>2];c=q[a+16>>2];f=q[e+4>>2];c=c>>>0>>0?c:f;q[b+56>>2]=c;q[b+60>>2]=q[e+8>>2];vi(c,4,b+4|0,d,b+8|0);q[b+36>>2]=0;q[q[a+12>>2]>>2]=b;return 0}function gS(a){var b=0;a:{if(!a){break a}b:{c:{switch(q[a+4>>2]-3|0){case 0:if(!ej(141333,q[a+8>>2],3)){b=268096;break a}if(!ej(141378,q[a+8>>2],3)){return 268116}if(!ej(141407,q[a+8>>2],3)){return 268136}if(ej(141448,q[a+8>>2],3)){break b}return 268156;case 6:break c;default:break a}}if(ej(141490,q[a+8>>2],9)){break a}return 268176}if(ej(141547,q[a+8>>2],3)){break a}return 268196}return b}function Zla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){g=q[q[a>>2]>>2];a=0;while(1){f=(a<<7)+c|0;e=q[f+36>>2];if(e){if(o[f+58|0]&1){Ms(e)}Di(g,e);c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}a:{if(o[b+28|0]&1){break a}a=q[b+16>>2];if(!a){break a}ki(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}ki(a)}ki(b);return 0}function ZV(a,b,c,d,e,f,g){var h=0,i=0;h=q[d>>2];if(h>>>0<=15){a:{if(b){if(!c){break a}while(1){c=c-1|0;if(!h){nm(a,1,e,e)}b=e+h|0;i=r[f|0]^r[b|0];o[g|0]=i;o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}break a}if(!c){break a}while(1){c=c-1|0;if(!h){nm(a,1,e,e)}i=r[f|0];b=e+h|0;o[g|0]=i^r[b|0];o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}}q[d>>2]=h;a=0}else{a=-33}return a}function Mta(a){var b=0;Eta(a+180|0);b=q[a+164>>2];if(b){ki(b)}b=q[a+152>>2];if(b){ki(b)}b=q[a+140>>2];if(b){ki(b)}b=q[a+128>>2];if(b){ki(b)}b=q[a+116>>2];if(b){ki(b)}b=q[a+104>>2];if(b){ki(b)}b=q[a+92>>2];if(b){ki(b)}b=q[a+80>>2];if(b){ki(b)}b=q[a+68>>2];if(b){ki(b)}b=q[a+56>>2];if(b){ki(b)}b=q[a+44>>2];if(b){ki(b)}b=q[a+32>>2];if(b){ki(b)}b=q[a+16>>2];if(b){ki(b)}a=q[a+4>>2];if(a){ki(a)}}function Ika(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+64>>2];c=b+8|0;e=b+4|0;f=q[a+60>>2];a:{b:{d=q[b+4>>2];if((d|0)==q[b+8>>2]){if(o[b+12|0]&1){break b}vi((d-q[b>>2]>>2)+16|0,4,b,c,e)}b=Ci(16);d=q[a>>2];p[b+8>>1]=65535;q[b+4>>2]=f;q[b>>2]=d;d=q[c>>2];c=q[e>>2];if((d|0)==(c|0)){break a}q[e>>2]=c+4;q[c>>2]=b;q[q[a+72>>2]>>2]=b;return 0}J(44031,44106,461,44185);G()}J(44197,44106,501,44221);G()}function h6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,4,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(137380,137045,75,136985);G()}J(136997,136831,474,137016);G()}J(136910,136831,461,136985);G()}function fB(a,b,c){var d=0,e=0,f=0;f=q[c+16>>2];a:{if(f){d=f}else{if(gM(c)){break a}d=q[c+16>>2]}f=q[c+20>>2];if(d-f>>>0>>0){return ji[q[c+36>>2]](c,a,b)|0}b:{if(o[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(r[d+a|0]!=10){continue}break}d=ji[q[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=q[c+20>>2]}si(f,a,b);q[c+20>>2]=q[c+20>>2]+b;d=b+e|0}return d}function Yfa(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a+16>>2];if(b){Ui(b)}b=q[a+32>>2];if(b){Di(c,b)}b=q[a+20>>2];if(b){Di(c,b)}b=q[a+28>>2];if(b){Di(c,b)}b=q[a+24>>2];if(b){Di(c,b)}a:{if(o[a+64|0]&1){break a}c=q[a+52>>2];if(!c){break a}ki(c)}b:{if(o[a+48|0]&1){break b}c=q[a+36>>2];if(!c){break b}ki(c)}c:{if(o[a+12|0]&1){break c}c=q[a>>2];if(!c){break c}ki(c)}ki(a);return 0}function wea(a){a=a|0;var b=0,c=0,d=0;b=fi-96|0;fi=b;c=Ti(b+72|0,a,0,72665,580);d=Kj(a);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ok(a,1,b+32|0,b);a=q[61023];Zj(b,b+32|0,q[a+8>>2],q[a+12>>2],d,a,b+71|0,1);Si(c);fi=b+96|0;return 0}function Tpa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];a:{while(1){d=!g&(h|0)==10;e=c>>>0>=i>>>0;if(d|c>>>0>=i>>>0){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;f=jwa(h,g,7,0);c=f&31;if((f&63)>>>0>=32){f=d<>>32-c;c=d<>>0<1?g+1|0:g;h=c;c=e;if(j&128){continue}break}q[b>>2]=k;q[b+4>>2]=l;d=0;e=0}return(e|d)^1}function Dna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20336,20344,218,20381);G()}return ik(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],103,104,0,105,106)|0}function Ck(a,b,c){var d=0,e=0,f=0,g=0;d=fi-80|0;fi=d;q[d+12>>2]=c;g=Nt(a,b,c);b=q[a+20>>2];c=q[b+4>>2];if(!(q[c+8>>2]!=6|r[q[c>>2]+6|0])){e=b;b=q[a+24>>2];q[e+12>>2]=b;c=q[q[c>>2]+16>>2];b=b-q[c+12>>2]|0;e=-1;a:{if((b|0)<4){break a}f=q[c+20>>2];e=0;if(!f){break a}e=q[f+((b>>2)-1<<2)>>2]}b=e;Bk(d+16|0,q[c+32>>2]+16|0,60);q[d+8>>2]=g;q[d+4>>2]=b;q[d>>2]=d+16;Oi(a,126250,d)}fE(a);fi=d+80|0}function Bna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20831,20839,134,20872);G()}return ik(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],112,113,0,114,115)|0}function w6(a,b){var c=0;a:{b:{if((q[a+8>>2]-q[a>>2]|0)/240>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,240,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(43367,43400,75,43485);G()}J(43651,43572,474,43670);G()}J(43497,43572,461,43485);G()}function qba(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;j=i;q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[j+12>>2]=0;l=-5;j=q[a+100>>2];a:{if(!j){break a}j=q[q[a+96>>2]+(lwa(c,d,j)<<2)>>2];if((j|0)==-1){break a}m=q[a+104>>2];while(1){k=(j<<4)+m|0;if((c|0)!=q[k>>2]|q[k+4>>2]!=(d|0)){j=q[k+12>>2];if((j|0)!=-1){continue}break a}break}ji[q[q[a+12>>2]+16>>2]](q[((j<<4)+m|0)+8>>2],b,e,f,g,h,i);l=0}return l}function m0(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=fi-32|0;fi=b;e=q[Vi(a,1)>>2];c=gj(a,2);d=q[e>>2];a:{if(!((c|0)<1|(c|0)>(d|0))){f=u[(q[e+4>>2]+(c<<2)|0)-4>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}if((d|0)>=1){q[b+8>>2]=d;q[b+4>>2]=120638;q[b>>2]=120720;a=ni(a,121262,b);break a}q[b+20>>2]=120638;q[b+16>>2]=120720;a=ni(a,121309,b+16|0)}fi=b+32|0;return a|0}function koa(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;c=q[q[a+16>>2]>>2];a=q[a+12>>2];b=0;a:{if(!a){break a}b=q[a+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;Xi(b,-1e4,q[c+12>>2]);bk(b);Xi(b,-1e4,q[c+16>>2]);fK(q[c>>2],q[c+28>>2],b);oi(b,-2);a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;bk(b);q[d+8>>2]=0;gv(b,q[c>>2],5,c,d+8|0);if(q[b+8>>2]-q[b+12>>2]>>4!=(e|0)){J(12758,12779,722,13220);G()}fi=d+16|0}function k6(a,b){var c=0;a:{b:{if((q[a+8>>2]-q[a>>2]|0)/240>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,240,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(52374,52407,75,51950);G()}J(52492,51871,474,52511);G()}J(51796,51871,461,51950);G()}function aaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);c=fi-32|0;fi=c;b=pn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=il(a,1);d=b+8|0;e=b+4|0}f=u[b>>2];g=u[e>>2];h=u[d>>2];b=il(a,2);d=q[b+4>>2];e=q[b>>2];i=u[b+8>>2];Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);u[c+24>>2]=h;u[c+20>>2]=g;u[c+16>>2]=f;u[c+8>>2]=i;q[c>>2]=e;q[c+4>>2]=d;a=Gz(a,b,c+16|0,c,0,0,0);fi=c+32|0;return a|0}function C5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=a+1964|0;a:{b:{e=q[a+1964>>2];f=q[a+1968>>2];if((e|0)==(f|0)){if(o[a+1972|0]&1){break b}f=e;e=a+1960|0;a=a+1968|0;vi(((f-q[e>>2]|0)/12|0)+16|0,12,e,a,g);f=q[a>>2];e=q[g>>2]}if((e|0)==(f|0)){break a}q[g>>2]=e+12;q[e+8>>2]=d&2147483647;q[e+4>>2]=c;q[e>>2]=b;return}J(103865,103940,461,104019);G()}J(104031,103940,501,104055);G()}function xba(a,b,c){var d=0,e=0;a:{b:{d=c&65535;e=q[b+36>>2];b=q[b+32>>2];if(d>>>0<(e-b|0)/576>>>0){if(s[(b+w(d,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(d,576)|0;if(s[b+554>>1]!=(c&65535)){break a}u[a>>2]=u[b+112>>2];u[a+4>>2]=u[b+116>>2];u[a+8>>2]=u[b+120>>2];u[a+12>>2]=u[b+124>>2];return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function wva(){q[64269]=q[72890];q[72890]=257048;q[64289]=q[72890];q[72890]=257128;q[64309]=q[72890];q[72890]=257208;q[64335]=q[72890];q[72890]=257312;q[64363]=q[72890];q[72890]=257424;q[64385]=q[72890];q[72890]=257512;q[64405]=q[72890];q[72890]=257592;q[64421]=q[72890];q[72890]=257656;q[64447]=q[72890];q[72890]=257760;q[64465]=q[72890];q[72890]=257832;q[64481]=q[72890];q[72890]=257896}function po(a,b){var c=0,d=0,e=0,f=0;if(!(a|b)){return 0}f=q[212988];while(1){d=q[f+32>>2];q[f+32>>2]=d?d:1;if(d){continue}break}d=0;e=q[212988];c=q[e+4>>2];a:{if(!c){break a}c=q[q[e>>2]+(lwa(a,b,c)<<2)>>2];if((c|0)==-1){break a}e=q[e+8>>2];while(1){c=c<<6;d=c+e|0;if((a|0)==q[d>>2]&q[d+4>>2]==(b|0)){break a}c=q[(c+e|0)+56>>2];if((c|0)!=-1){continue}break}d=0}q[f+32>>2]=0;return(d|0)!=0}function fia(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+92>>2];if(!b){break a}ki(b)}b:{if(o[a+76|0]&1){break b}b=q[a+64>>2];if(!b){break b}ki(b)}c:{if(o[a+60|0]&1){break c}b=q[a+48>>2];if(!b){break c}ki(b)}d:{if(o[a+44|0]&1){break d}b=q[a+32>>2];if(!b){break d}ki(b)}e:{if(o[a+28|0]&1){break e}b=q[a+16>>2];if(!b){break e}ki(b)}f:{if(o[a+12|0]&1){break f}a=q[a>>2];if(!a){break f}ki(a)}}function fU(){var a=0;q[213522]=q[213522]&-2;q[213522]=q[213522]&-3;o[854070]=255;o[854071]=255;o[854072]=255;o[854073]=255;p[427034]=0;q[213516]=16;q[213514]=1e3;q[213515]=6e4;o[854074]=255;o[854075]=255;q[213522]=q[213522]&-40461|40456;q[213521]=16974595;a=TT();q[213478]=a;q[213479]=a;q[213477]=a;q[213496]=159592;q[213476]=a;q[213500]=287200;a=nD();q[213520]=1024;q[213501]=a;return 0}function _9(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);c=fi-32|0;fi=c;b=pn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=il(a,1);d=b+8|0;e=b+4|0}f=u[b>>2];g=u[e>>2];h=u[d>>2];b=il(a,2);d=q[b+4>>2];e=q[b>>2];i=u[b+8>>2];Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);u[c+24>>2]=h;u[c+20>>2]=g;u[c+16>>2]=f;u[c+8>>2]=i;q[c>>2]=e;q[c+4>>2]=d;a=Gz(a,b,c+16|0,c,2,0,0);fi=c+32|0;return a|0}function W$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=-13;e=q[239986];f=q[e+16>>2];if(f){tj(f);e=q[239986]}d=q[e+80>>2];a:{if(!d){break a}d=q[q[e+76>>2]+(lwa(a,b,d)<<2)>>2];if((d|0)==-1){break a}i=q[e+84>>2];while(1){g=(d<<4)+i|0;if((a|0)!=q[g>>2]|q[g+4>>2]!=(b|0)){d=q[g+12>>2];if((d|0)!=-1){continue}break a}break}u[c>>2]=u[(w(q[((d<<4)+i|0)+8>>2],1056)+e|0)+128>>2];h=0}if(f){lj(f)}return h}function UV(a,b,c,d,e,f,g){var h=0,i=0;h=q[d>>2];if(h>>>0<=15){a:{if(b){if(!c){break a}while(1){c=c-1|0;if(!h){Pr(a,e,e)}b=e+h|0;i=r[f|0]^r[b|0];o[g|0]=i;o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}break a}if(!c){break a}while(1){c=c-1|0;if(!h){Pr(a,e,e)}i=r[f|0];b=e+h|0;o[g|0]=i^r[b|0];o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}}q[d>>2]=h;a=0}else{a=-36}return a}function Mj(a,b,c){var d=0,e=0;d=fi-160|0;fi=d;a:{if(!Wk(a,0,d+56|0)){q[d+4>>2]=c;q[d>>2]=b;a=ni(a,128562,d);break a}ln(a,128584,d+56|0);b:{if(Ej(q[d+64>>2],128586)){break b}b=b-1|0;if(b){break b}q[d+16>>2]=q[d+60>>2];q[d+20>>2]=c;a=ni(a,128593,d+16|0);break a}e=q[d+60>>2];if(!e){q[d+60>>2]=128623;e=128623}q[d+40>>2]=c;q[d+36>>2]=e;q[d+32>>2]=b;a=ni(a,128625,d+32|0)}fi=d+160|0;return a}function Hl(a,b,c,d){var e=0,f=0,g=0;a:{b:{if(c>>>0>32){break b}e=b;g=c&31;if((c&63)>>>0>=32){e=0}else{e=e>>>g|0}if(e|f){break b}e=q[d>>2];if(c){while(1){f=q[d>>2];g=(f>>>3|0)+a|0;o[g|0]=r[g|0]|b<<(f&7);e=8-(e&7)|0;f=c>>>0>e>>>0?e:c;e=f+q[d>>2]|0;q[d>>2]=e;b=b>>>f|0;c=c-f|0;if(c){continue}break}}if(e>>>0>=129){break a}return}J(96099,85651,11667,96146);G()}J(96165,85651,11676,96146);G()}function Gva(){q[63305]=q[72890];q[72890]=253192;q[63371]=q[72890];q[72890]=253456;q[63395]=q[72890];q[72890]=253552;q[63423]=q[72890];q[72890]=253664;q[63441]=q[72890];q[72890]=253736;q[63477]=q[72890];q[72890]=253880;q[63497]=q[72890];q[72890]=253960;q[63517]=q[72890];q[72890]=254040;q[63553]=q[72890];q[72890]=254184;q[63583]=q[72890];q[72890]=254304;q[63597]=q[72890];q[72890]=254360}function Ena(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(19626,19634,360,19671);G()}return ik(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],98,99,0,100,101)|0}function $va(){q[60713]=q[72890];q[72890]=242824;q[60743]=q[72890];q[72890]=242944;q[74620]=1;q[74618]=-1472275375;q[74619]=1862278062;q[74617]=75236;q[74616]=1;q[74623]=0;o[298488]=0;q[74621]=q[74614];q[74623]=q[72890];q[72890]=298464;q[74630]=1;q[74628]=-278759638;q[74629]=-1695457758;q[74627]=75257;q[74626]=1;q[74633]=0;o[298528]=0;q[74631]=q[74625];q[74633]=q[72890];q[72890]=298504}function jla(a){a=a|0;var b=0,c=0,d=0;d=q[a+80>>2];if(!d){return 0}b=a+80|0;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+20>>2];q[a+16>>2]=q[b+16>>2];q[a+20>>2]=c;c=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=c;c=q[b+36>>2];q[a+32>>2]=q[b+32>>2];q[a+36>>2]=c;q[a+80>>2]=Iba(q[q[a+112>>2]+8>>2],d);q[a+84>>2]=0;return q[a>>2]!=0|q[a+4>>2]!=0}function gja(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+24>>2]>>2];c=q[a+16>>2];d=q[a+20>>2];if((c|0)==q[73984]&(d|0)==q[73985]){return Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73966],q[73967],b+148|0)|0}if((c|0)==q[74006]&(d|0)==q[74007]){return Em(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[73974],q[73975],b+152|0)|0}e=q[b+148>>2];if(!e){e=q[q[b+156>>2]+24>>2]}return Xo(e,c,d,a+32|0,q[a+72>>2],450,b)|0}function Cna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20660,20668,68,20698);G()}return ik(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],0,108,0,109,110)|0}function MX(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;Tl(a,1);a:{if($D(a,1,129610)){break a}b:{switch(ri(a,1)|0){case 3:wi(a,_i(a,1,0));break a;case 4:Hi(a,1);break a;case 1:wi(a,Fj(a,1)?129621:129626);break a;case 0:Bi(a,129632,3);break a;default:break b}}c=ri(a,1);d=125997;c:{if((c|0)==-1){break c}d=q[(c<<2)+261152>>2]}c=d;q[b+4>>2]=SD(a,1);q[b>>2]=c;nj(a,129636,b)}fi=b+16|0;return 1}function JE(a,b){var c=0;if(!q[b+100>>2]){return Lk(a,a,b+4|0)}a:{if(q[a>>2]<=-1){c=-20352;if(jj(a,0)){break a}}c=-20352;if(ul(a)>>>0>q[b+88>>2]<<1>>>0){break a}c=ji[q[b+100>>2]](a)|0;if(c){break a}b=b+4|0;while(1){b:{if(q[a>>2]>-1){break b}if(!jj(a,0)){break b}c=vl(a,a,b);if(!c){continue}break a}break}while(1){c=0;if((Dj(a,b)|0)<0){break a}c=Tm(a,a,b);if(!c){continue}break}}return c}function n_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=fi-16|0;fi=e;h=a+4|0;i=q[a+88>>2]+7>>>3|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{b:{while(1){f=En(e,i,c,d);if(f){break b}while(1){if((Dj(e,h)|0)>=0){f=Nk(e,1);if(!f){continue}break b}break}if((g|0)==11){f=-19712;break a}g=g+1|0;if((jj(e,1)|0)<1){continue}break}f=Jj(a,b,b,e);if(f){break b}c=a;a=b+24|0;f=Jj(c,a,a,e)}Ji(e)}fi=e+16|0;return f}function jL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=mL(a);if(!(((d|32)-97>>>0<26?1:d-48>>>0<10)?0:(d|0)!=95)){c=c-1|0;c=(c|0)>0?c:0;while(1){o[b+e|0]=d;if((c|0)==(e|0)){break a}e=e+1|0;d=mL(a);if((d|0)==95|((d|32)-97>>>0<26?1:d-48>>>0<10)){continue}break}}b:{if(!(d&255)){break b}c=q[a+12>>2];if((c|0)<1){break b}c=c-1|0;q[a+12>>2]=c;o[c+q[a+8>>2]|0]=d}o[b+e|0]=0;return}Yq(a,-2);G()}function ina(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;e=Vi(a,1);d=q[e+4>>2];q[b+8>>2]=0;q[b+12>>2]=0;c=q[q[d+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}f=q[c+4224>>2];g=q[c+4228>>2]}q[b>>2]=f;q[b+4>>2]=g;c=q[d+100>>2];q[b+16>>2]=q[d+96>>2];q[b+20>>2]=c;d=q[q[d+84>>2]>>2]+w(s[e+24>>1],80)|0;c=q[d+4>>2];q[b+24>>2]=q[d>>2];q[b+28>>2]=c;Ml(a,b);fi=b+32|0;return 1}function YP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fi-224|0;fi=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}lq(d+136|0);yp(d+40|0);cx(d+136|0,q[a+68>>2]+596|0);Yw(d+40|0,q[a+68>>2]+684|0);Ir(d+136|0,d);hq(d+40|0,d+16|0);ji[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?166793:166777,d,36,b,12)|0;a=d+136|0;if(a){ji[q[66742]](a,0,88)|0}a=d+40|0;if(a){ji[q[66742]](a,0,92)|0}ji[q[66742]](d,0,36)|0;fi=d+224|0}function Jsa(a,b,c,d){var e=0,f=0,g=0;f=fi-224|0;fi=f;e=f+72|0;g=wn(a,e,0,1);a:{if(!g){break a}a=b+8|0;if(q[e+104>>2]==8){e=e+112|0;c=r[e+c|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=c;o[b|0]=c;o[b+6|0]=0;o[b+7|0]=0;b=r[d+e|0];o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+1|0]=b;o[a|0]=b;o[a+6|0]=0;o[a+7|0]=0;break a}vo(e,f);Hv(b,c+f|0);Hv(a,d+f|0)}fi=f+224|0;return g}function Esa(a,b,c){var d=0,e=0;d=fi-224|0;fi=d;e=a;a=d+72|0;e=wn(e,a,0,1);a:{if(!e){break a}if(q[a+104>>2]==8){p[b>>1]=r[(a+c|0)+112|0]|3328;a=r[94708]|r[94709]<<8|(r[94710]<<16|r[94711]<<24);o[b+2|0]=a;o[b+3|0]=a>>>8;o[b+4|0]=a>>>16;o[b+5|0]=a>>>24;a=r[94712]|r[94713]<<8;o[b+6|0]=a;o[b+7|0]=a>>>8;break a}vo(a,d);if((c|0)==3){Bv(a,d,b);break a}ji[699](b,c+d|0,4)}fi=d+224|0;return e}function zna(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=q[a+20>>2];d=q[a+4>>2];q[b+12>>2]=0;d=AK(q[a>>2],d,c,q[a+8>>2],b+12|0);Ui(c);if(!d){a=q[a+24>>2];c=q[b+12>>2];q[a+8>>2]=c;e=a;a=q[c>>2];q[e+16>>2]=((((((s[a+2076>>1]<<1)+q[a+4156>>2]|0)+q[a+4204>>2]-(q[a+4148>>2]+q[a+4196>>2])|0)+w(q[a+4180>>2]-q[a+4172>>2]>>4,12)|0)+q[a+2064>>2]|0)-q[a+2056>>2]|0)+4284}fi=b+16|0;return d|0}function q7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(!b){break b}c:{d=q[c+12>>2];b=q[c+16>>2];if((d|0)==(b|0)){break c}f=b-d>>2;b=0;while(1){e=q[(b<<2)+d>>2];if(r[e+344|0]!=(a|0)){b=b+1|0;if(f>>>0>b>>>0){continue}break c}break}aH(c,e,a);return}b=Xl(c,a);if(!b){break b}a=q[c+16>>2];if((a|0)==q[c+20>>2]){break a}q[c+16>>2]=a+4;q[a>>2]=b}return}J(134089,133923,501,134113);G()}function a_(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;c=om(a,130969);b=q[c>>2];if(!b){ni(a,131041,0);b=q[c>>2]}c=3;a:{if(!OQ(b,q[(sq(a,2,0,261936)<<2)+131188>>2],cm(a,3,1024))){c=1;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;break a}b=q[240833];d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;q[e>>2]=Uk(b);nj(a,131085,e);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0}q[a+8>>2]=q[a+8>>2]+16;fi=e+16|0;return c|0}function Yu(a,b){var c=0,d=0;c=q[b>>2];if(c){Di(a,c)}c=q[b+24>>2];if(c){Di(a,c)}a=q[b+4>>2];if(a){Ui(a)}a:{d=q[b+12>>2];c=q[b+8>>2];a=d-c|0;if(!a){break a}if((c|0)!=(d|0)){c=c-d|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){a=a+1|0;if((c|0)==(a|0)){break a}if(q[b+12>>2]-q[b+8>>2]>>2>>>0>a>>>0){continue}break}}J(60787,60669,447,60583);G()}}function n6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>4>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,16,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(50572,50605,75,50419);G()}J(50431,50340,474,50450);G()}J(50265,50340,461,50419);G()}function e3(a){var b=0,c=0,d=0,e=0;b=q[a+12>>2];a:{if(!b){b=0;break a}e=q[a+4>>2];while(1){c=q[q[a+8>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){b=q[a+16>>2]+(c<<5)|0;c=q[b+20>>2];if(c){Di(e,c)}ki(q[b+8>>2]);ki(q[b+16>>2]);c=q[b+24>>2];if((c|0)!=-1){continue}break}b=q[a+12>>2]}d=d+1|0;if(d>>>0>>0){continue}break}}qi(q[a+8>>2],255,b<<2);q[a+28>>2]=-1;q[a+32>>2]=0;q[a+20>>2]=q[a+16>>2]}function Lsa(a,b){var c=0,d=0,e=0,f=0;c=fi-224|0;fi=c;d=a;a=c+72|0;e=wn(d,a,0,1);a:{if(!e){break a}d=b+8|0;if(q[a+104>>2]==8){f=r[a+115|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=f;o[b|0]=f;o[b+6|0]=0;o[b+7|0]=0;OA(d,r[a+112|0],r[a+113|0],r[a+114|0]);break a}vo(a,c);Hv(b,c|3);if(r[a+116|0]){UL(a,d);break a}if(r[a+117|0]){TL(a,c,d);break a}PA(d,c,0)}fi=c+224|0;return e}function t6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,4,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(45859,45892,75,44893);G()}J(45416,45268,474,45435);G()}J(45977,45268,461,44893);G()}function q6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}vi(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}vi(b,4,a,a+8|0,a+4|0);if(o[a+48|0]&1){break a}vi(b,4,a+36|0,a+44|0,a+40|0);c=q[a+36>>2];if(q[a+44>>2]-c>>2>>>0>>0){break b}q[a+40>>2]=(b<<2)+c;return}J(47880,47613,75,47296);G()}J(47115,47134,474,47213);G()}J(47221,47134,461,47296);G()}function mfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+16>>2];e=li(56345);f=ii;a:{b=q[c+4>>2];b:{if(!b){break b}b=q[q[c>>2]+(lwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}mi(4,56195,56405,0);return-6}return ik(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],458,459,0,460,461)|0}function kp(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;b=v[a+8>>3];d=v[a>>3];a:{if(!(d<0^1)){d=-1;if(b<0){break a}Y(c+8|0,0)|0;b=v[a+16>>3]+(b-(+q[c+12>>2]/1e6+ +q[c+8>>2]));d=b>0?b:0;break a}if(!(b<0^1)){Y(c+8|0,0)|0;b=v[a+16>>3]+(d-(+q[c+12>>2]/1e6+ +q[c+8>>2]));d=b>0?b:0;break a}Y(c+8|0,0)|0;d=v[a>>3];b=v[a+16>>3]+(b-(+q[c+12>>2]/1e6+ +q[c+8>>2]));b=b>0?b:0;d=b>d?d:b}fi=c+16|0;return d}function b7(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-160|0;fi=e;a=q[a+32>>2];qu(b,c,e+16|0,129);b=1;a:{if(OE(a,e+16|0)){break a}jr(a);if(!d){b=0;break a}f=Du(a,e+16|0,e+12|0);if(!f){break a}g=r[f+4|0];a=q[e+12>>2];b=0;q[d>>2]=0;a=a-16|0;c=-1;b:{if(!(g&2)){h=a;break b}c=q[f>>2];h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=a}q[d+8>>2]=c;q[d+4>>2]=h;q[d+12>>2]=g|4;ki(f)}fi=e+160|0;return b}function UM(a,b){var c=0,d=0,e=0;a:{c=q[b>>2];d=q[a>>2];if((c|0)!=(d|0)){break a}e=q[a+4>>2];if((e|0)!=q[b+4>>2]){break a}if(ej(q[a+8>>2],q[b+8>>2],e)){break a}return 0}b:{c:{switch(d-12|0){case 0:case 7:break c;default:break b}}d:{switch(c-12|0){case 0:case 7:break d;default:break b}}c=q[a+4>>2];if((c|0)!=q[b+4>>2]){break b}if(Pv(q[a+8>>2],q[b+8>>2],c)){break b}return 0}return-1}function LY(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ni(a,1,0);yl(a,2,131301,0);d=bj(a,4);q[d>>2]=0;zi(a,-1e4,130969);aj(a,-2);ni(a,131305,0);q[d>>2]=0;d=q[240833];e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;e=Uk(d);a:{if(c){q[b+20>>2]=e;q[b+16>>2]=c;nj(a,131078,b+16|0);break a}q[b>>2]=e;nj(a,131085,b)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;fi=b+32|0;return 3}function HK(a,b){var c=0,d=0;c=fi-16|0;fi=c;q[b>>2]=q[a+4>>2];q[b+12>>2]=q[a+268>>2];q[b+8>>2]=q[a+152>>2];q[b+4>>2]=q[a+280>>2];b=b+16|0;So(b,3,8);d=li(4190);q[c+12>>2]=q[a+216>>2];um(b,d,ii,c+12|0);d=li(4199);q[c+12>>2]=q[a+220>>2];um(b,d,ii,c+12|0);if(q[a+284>>2]){d=li(3563);q[c+12>>2]=q[a+276>>2];um(b,d,ii,c+12|0);d=li(3575);q[c+12>>2]=q[a+284>>2];um(b,d,ii,c+12|0)}fi=c+16|0}function Gk(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;a:{if(!c){break a}e=q[a>>2];while(1){b:{if(e){d=q[a+4>>2];break b}d=ji[q[a+8>>2]](q[a+16>>2],q[a+12>>2],f+12|0)|0;if(!d){g=c;break a}e=q[f+12>>2];if(!e){g=c;break a}q[a+4>>2]=d;q[a>>2]=e}h=d;d=c>>>0>e>>>0?e:c;b=si(b,h,d);e=q[a>>2]-d|0;q[a>>2]=e;q[a+4>>2]=d+q[a+4>>2];b=b+d|0;c=c-d|0;if(c){continue}break}}fi=f+16|0;return g}function Fga(a){a=a|0;var b=0,c=0,d=0;b=Ci(12);q[b+4>>2]=0;q[b+8>>2]=0;d=q[a+20>>2];q[b>>2]=d;a:{c=q[a>>2];d=Ij(c,q[d+108>>2],b+4|0);if(d){break a}if(q[q[b+4>>2]+104>>2]){mi(4,56956,56964,0);d=-15;break a}d=Ij(c,q[q[b>>2]+104>>2],b+8|0);if(d){break a}q[q[a+24>>2]+8>>2]=b;return 0}a=q[a>>2];c=q[b>>2];if(c){Ui(c)}c=q[b+4>>2];if(c){Di(a,c)}c=q[b+8>>2];if(c){Di(a,c)}ki(b);return d|0}function Eba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break a}if(q[d+436>>2]==2){b=a+w(c,576)|0;a=q[b+464>>2];b=q[b+468>>2]}else{a=0;b=0}ii=b;return a}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function hn(a,b,c){var d=0,e=0,f=0;e=q[a+4>>2]<<2;a:{if(e>>>0>=c>>>0){if(c>>>0>=e>>>0){e=c;break a}f=q[a+8>>2];d=c;b:{while(1){if(q[(d&-4)+f>>2]>>>(d<<3&24)&255){break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}e=c;break a}return-8}b=(qi(b,0,c-e|0)+c|0)-e|0}if(e){d=0;while(1){o[((d^-1)+e|0)+b|0]=q[q[a+8>>2]+(d&-4)>>2]>>>(d<<3&24);d=d+1|0;if((e|0)!=(d|0)){continue}break}}return 0}function hT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;c=2;d=Qm(a,124315);e=Ni(a,2,0);f=Ni(a,3,0);q[b+28>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+8>>2]=1;g=q[d+8272>>2];q[b>>2]=1;q[b+4>>2]=g;d=Fx(d,e,f,b);a:{if(d){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;wi(a,d);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;c=1}fi=b+32|0;return c|0}function fN(a){var b=0,c=0,d=0,e=0;a:{b:{c:{e=q[a>>2];if(e>>>0>9999|t[a+12>>2]>23|(t[a+16>>2]>59|t[a+20>>2]>59)){break c}b=q[a+4>>2];if(b>>>0>12){break c}d=1<>>0)%100|0;if(!(e&3)){c=29;if(d){break a}}c=(b>>>0)%400|0?28:29;break a}return-9216}c=30}a=q[a+8>>2];return(a|0)<1?-9216:(c|0)<(a|0)?-9216:0}function bD(a,b,c){var d=0,e=0,f=0;e=q[a+4>>2]<<2;f=e;a:{b:{if(c>>>0>e>>>0){break b}f=c;if(c>>>0>=e>>>0){break b}f=q[a+8>>2];d=c;while(1){if(q[f+(d&-4)>>2]>>>(d<<3&24)&255){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}f=c}if(f){d=0;while(1){o[b+d|0]=q[q[a+8>>2]+(d&-4)>>2]>>>(d<<3&24);d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(c>>>0>e>>>0){qi(b+e|0,0,c-e|0)}return 0}return-8}function K2(a){var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;Hi(a,-10002);ek(a,117421,258096);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,117425);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,117443);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,117470);oi(a,-3);if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(117380,116900,1246,117491);G()}}function Lm(a,b){var c=0,d=0,e=0,f=0,g=0;q[a+28>>2]=q[a+24>>2];a:{if((b|0)!=-1){c=q[a+32>>2];if((c|0)==-1){break a}g=q[q[a>>2]+12>>2];while(1){d=c;e=(c<<2)+g|0;f=q[e>>2];c=(f>>>14|0)-131071|0;c=(c|0)==-1?-1:(c+d|0)+1|0;if((c|0)!=-1){continue}break}c=e;d=(d^-1)+b|0;b=d>>31;if((b^b+d)>=131072){xj(q[a+12>>2],127273);f=q[e>>2]}q[c>>2]=(f&16383|d<<14)+2147467264}return}q[a+32>>2]=b}function maa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+28|0);e=DI(c,q[b+28>>2]);f=ii;g=Iz(c,q[b+28>>2]);Bl(b,c,q[b+28>>2],4);tI(a,c,e,f,g,u[b>>2],BI(c,q[b+28>>2]),Kz(c,q[b+28>>2]),Jz(c,q[b+28>>2]));if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2204,191962);G()}fi=b+32|0;return 1}function GS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-32|0;fi=b;c=2;d=Qm(a,124700);e=Ni(a,2,0);f=Ni(a,3,0);q[b+28>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+8>>2]=2;g=q[d+32>>2];q[b>>2]=1;q[b+4>>2]=g;d=Fx(d,e,f,b);a:{if(d){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;wi(a,d);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;c=1}fi=b+32|0;return c|0}function mQ(a){var b=0,c=0,d=0,e=0,f=0;xwa(.5);d=uwa(1)|0;f=uwa(0)|0;xwa(+a);c=uwa(1)|0;uwa(0)|0;vwa(0,f|0);vwa(1,d&2147483647|c&-2147483648);e=+wwa();xwa(+a);c=uwa(1)|0;vwa(0,uwa(0)|0);c=c&2147483647;vwa(1,c|0);b=+wwa();d=c;a:{if(c>>>0<=1082535489){b=bs(b);if(d>>>0<=1072693247){if(d>>>0<1045430272){break a}return e*(b+b-b*b/(b+1))}return e*(b+b/(b+1))}a=(e+e)*uM(b)}return a}function l1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-80|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;b=qi(b,0,74);TE(b);ij(a,0,0);Bi(a,117169,7);wi(a,b+16|0);qj(a,-3);Bi(a,117177,12);wi(a,b+32|0);qj(a,-3);Bi(a,117190,8);e=r[b+73|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(116875,116900,635,117199);G()}fi=b+80|0;return 1}function kY(a){a=a|0;var b=0,c=0,d=0;b=q[(sq(a,1,129171,261552)<<2)+129216>>2];c=Jt(a,b,cm(a,2,0));a:{b:{switch(b-3|0){case 0:d=+(Jt(a,4,0)|0)*.0009765625;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d+ +(c|0);break a;case 2:b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;break a;default:break b}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}q[a+8>>2]=q[a+8>>2]+16;return 1}function h7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=fi-32|0;fi=e;if(qn(q[b>>2])){f=e+8|0;d=q[b>>2];c=0;a:{if(!d){break a}c=q[d>>2]}f=Ti(f,c,0,71745,61);b:{if(!yq(q[b>>2])){mi(4,71838,72388,0);break b}wi(c,q[b+12>>2]);d=q[c+8>>2];q[d+8>>2]=1;q[d>>2]=(a|0)!=0;q[c+8>>2]=q[c+8>>2]+16;Wl(c,3,0);hs(q[b>>2]);rn(q[b>>2]);sj(c,-1e4,q[b+4>>2]);sj(c,-1e4,q[b+8>>2]);ki(b)}Si(f)}fi=e+32|0}function Pk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=a+12|0;b=q[a>>2]-e|0;a:{if(!b){break a}Bi(q[a+8>>2],e,b);q[a>>2]=e;b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)<1){break a}f=q[a+8>>2];g=wl(f,-1);c=1;while(1){b:{b=c+1|0;d=c;h=wl(f,c^-1);i=q[a+4>>2];c=h>>>0>>0|(i-c|0)>8;d=c?b:d;if(!c){break b}g=g+h|0;c=b;if((d|0)<(i|0)){continue}}break}Jl(f,d);q[a+4>>2]=(q[a+4>>2]-d|0)+1}return e}function Hoa(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+84>>2];if(b){ki(b)}b=q[a+76>>2];if(!b){break a}ki(b)}b:{if(o[a+72|0]&1){break b}b=q[a+52>>2];if(b){ki(b)}b=q[a+44>>2];if(!b){break b}ki(b)}c:{if(o[a+40|0]&1){break c}b=q[a+32>>2];if(!b){break c}ki(b)}d:{if(o[a+28|0]&1){break d}b=q[a+16>>2];if(!b){break d}ki(b)}e:{if(o[a+12|0]&1){break e}a=q[a>>2];if(!a){break e}ki(a)}}function ela(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=fi-16|0;fi=e;b=q[q[a+12>>2]>>2];c=q[a+16>>2];d=q[c+64>>2];f=q[59647];c=q[c+68>>2];a:{if((d|0)==q[f+8>>2]&(c|0)==q[f+12>>2]){o[b+22|0]=r[b+22|0]|1;break a}f=d;d=q[59648];if((f|0)!=q[d+8>>2]|q[d+12>>2]!=(c|0)){break a}o[b+22|0]=r[b+22|0]&254}b=KI(q[b+8>>2],q[a+16>>2]);if(b){a=q[a+16>>2];q[e>>2]=b;Om(a,41381,e)}fi=e+16|0;return 0}function a4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;d=q[a+80>>2];a:{if(d){if((d|0)==q[60210]){e=q[a+100>>2];if(!e){break a}f=q[a+96>>2]+(a+96|0)|0;d=0;while(1){rs(b,(r[(d<<3)+f|0]+a|0)+96|0,c+28|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}a=q[d+4>>2];q[c+20>>2]=25167;q[c+16>>2]=a;mi(4,24355,27091,c+16|0);break a}q[c>>2]=25167;mi(4,24355,27134,c)}fi=c+32|0}function vba(a,b){var c=0,d=0;a:{b:{c:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break b}if(q[d+436>>2]==2){break a}return 0}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}a=a+w(c,576)|0;return q[a+452>>2]?a+440|0:0}function p3(a,b){var c=0,d=x(0),e=0,f=0;f=o[a+224|0]&1;c=(f<<5)+a|0;e=q[c>>2];if(e){d=u[e+8>>2];b=x(d*b);a:{if(q[c+24>>2]!=6){break a}c=(f<<5)+a|0;e=r[c+28|0];if(!(e&2)){break a}o[c+28|0]=e&253}b:{if(x(y(b))>d^1){break b}b=$t(b,d);if(x(y(b))>2]=r[a+28|0]&2?x(d-b):b}return 0}function ora(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a;e=a;if((ri(a,1)|0)==8){c=1;f=In(a,1)}b=e;e=c+1|0;a:{if((ri(b,e)|0)<=0){oi(a,e);c=0;b=0;break a}b=Ni(a,c|2,0);vj(a,e,6);c=cm(a,c+3|0,0);d=(Nj(b,99)|0)!=0;d=Nj(b,114)?d|2:d;b=Nj(b,108)?d|4:d;d=(c|0)>0?b|8:b;b=1137}yE(a);g=q[a+8>>2];q[g+8>>2]=2;q[g>>2]=f;q[a+8>>2]=q[a+8>>2]+16;Hi(a,e);qj(a,-3);oi(a,-2);RW(f,b,d,c);return 0}function iH(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=q[a+48>>2];tj(d);f=li(b);g=ii;b=q[a+20>>2];if(!b){lj(d);return 2}h=2;b=q[q[a+16>>2]+(lwa(f,g,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){e=a+w(b,136)|0;if((f|0)!=q[e>>2]|q[e+4>>2]!=(g|0)){b=q[e+128>>2];if((b|0)!=-1){continue}break a}break}a=a+w(b,136)|0;if(!r[a+8|0]){lj(d);return-4}kj(c,a+8|0,64);h=0}lj(d);return h}function TY(a){a=a|0;var b=0,c=0,d=0;c=fi-32|0;fi=c;Xi(a,-10001,2);b=q[Vi(a,-1)>>2];if(!b){q[c+16>>2]=131254;ni(a,131274,c+16|0)}a:{if(!nn(b)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[240833];d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;q[c>>2]=Uk(b);nj(a,131085,c);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}fi=c+32|0;return a|0}function kva(){var a=0;a=li(201073);q[239999]=1514;q[239997]=2;q[239998]=16;q[239996]=1515;q[239994]=2;q[239995]=8;q[239993]=1516;q[239991]=1;q[239992]=16;q[239990]=1517;q[239988]=1;q[239989]=8;q[239984]=a;q[239985]=ii;q[240011]=1518;q[240009]=2;q[240010]=16;q[240008]=1519;q[240006]=2;q[240007]=8;q[240005]=1520;q[240003]=1;q[240004]=16;q[240002]=1521;q[24e4]=1;q[240001]=8}function eO(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=b;c=A(B(Ai(a,1),0),2147483647);a:{if(y(c)<2147483648){a=~~c;break a}a=-2147483648}q[d+8>>2]=a;d=b;c=(c- +(a|0))*1e9;b:{if(y(c)<2147483648){a=~~c;break b}a=-2147483648}q[d+12>>2]=(a|0)<999999999?a:999999999;if(Iw(b+8|0)){while(1){a=q[b+4>>2];q[b+8>>2]=q[b>>2];q[b+12>>2]=a;if(Iw(b+8|0)){continue}break}}fi=b+16|0;return 0}function L6(a){var b=0,c=0;b=fi-4128|0;fi=b;c=-10;a:{if(Gq(a,b+32|0)){break a}c=-3;if(Gq(a,b+1056|0)){break a}lk(b+1056|0,q[72157],b+3104|0);lk(b+1056|0,q[72158],b+2080|0);a=upa(q[a+4>>2],q[60192],b+2080|0);if(a){q[b+20>>2]=a;q[b+16>>2]=b+2080;mi(4,194663,194861,b+16|0);break a}if(cu(b+3104|0,b+2080|0)){break a}q[b>>2]=b+3104;mi(2,194663,194910,b);c=0}fi=b+4128|0;return c}function Gka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b=q[a+8>>2];c=q[b+4>>2];d=q[b>>2];if((c|0)==(d|0)){break a}e=q[q[a+16>>2]>>2];g=c-d>>2;a=0;while(1){f=(a<<2)+d|0;if(q[f>>2]!=(e|0)){a=a+1|0;if(g>>>0>a>>>0){continue}break a}break}q[f>>2]=q[c-4>>2];a=q[b+4>>2]-4|0;q[b+4>>2]=a;if(a>>>0>=t[b>>2]){if(e){ki(e)}return 0}J(44236,44106,484,44226);G()}J(43880,43886,92,43927);G()}function qy(a){var b=0,c=0,d=0,e=0;if(a){b=q[a>>2];c=q[b+104>>2];d=q[b+108>>2];if((c|0)!=(d|0)){while(1){e=q[q[c>>2]+16>>2];if(e){ji[e|0](a);d=q[b+108>>2]}c=c+4|0;if((d|0)!=(c|0)){continue}break}b=q[a>>2]}c=q[a+4>>2];if((c|0)!=-2){d=q[b+120>>2];b=q[79154];if((b|0)<=0){mi(4,110525,110995,0);b=q[79154]}q[79154]=b-1;ho(d,-1e4,c)}ki(a);return}J(110942,110448,1101,110977);G()}function jZ(a,b){a=a|0;b=b|0;var c=0;c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=132681;q[a+8>>2]=q[a+8>>2]+16;gl(a,-1e4);c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=a;q[a+8>>2]=q[a+8>>2]+16;gl(a,-2);if((ri(a,-1)|0)==6){wi(a,q[(q[b>>2]<<2)+262576>>2]);b=q[b+20>>2];a:{if((b|0)>=0){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}zk(a,2,0)}}function fQ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=fi-16|0;fi=f;while(1){h=f;g=kp(d);a:{if(y(g)<2147483648){e=~~g;break a}e=-2147483648}q[h+8>>2]=e;h=f;i=(g- +(e|0))*1e6;b:{if(y(i)<2147483648){e=~~i;break b}e=-2147483648}q[h+12>>2]=e;e=ai(a|0,b|0,c|0,0,(g>=0?f+8|0:0)|0)|0;if(e>>>0>=4294963201){q[240833]=0-e;e=-1}if(q[240833]==27?(e|0)<=-1:0){continue}break}fi=f+16|0;return e}function _fa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+4>>2];e=q[q[a+32>>2]+8>>2];q[b+12>>2]=0;c=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[59718],b+12|0)){a:{b:{if(!Zo(q[a>>2],q[d+1848>>2],q[b+12>>2])){break b}if(!gG(q[d+1852>>2],q[b+12>>2],e)){break b}c=q[a+32>>2];d=q[a+24>>2];a=q[b+12>>2];q[c+16>>2]=d-q[a+4>>2];c=0;break a}a=q[b+12>>2];c=-13}Ui(a)}fi=b+16|0;return c|0}function GV(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;a:{b:{c:{m=q[a>>2];switch(q[m+4>>2]-6|0){case 2:break b;case 0:break c;default:break a}}q[i>>2]=g;return gD(q[a+60>>2],1,g,b,c,d,e,f,h,k,j)}q[i>>2]=g;return RV(q[a+60>>2],g,b,c,d,e,f,h,j,k)}l=-24704;d:{if(q[m>>2]!=73){break d}l=-24832;if((k|0)!=16|q[m+16>>2]!=(c|0)){break d}q[i>>2]=g;l=DL(q[a+60>>2],0,g,b,d,e,f,h,j)}return l}function Cpa(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{f=q[c+8>>2];if(f){d=q[b>>2];e=r[d+24|0];if(!e){break a}g=q[d+20>>2];d=0;break b}J(23314,23114,184,23346);G()}while(1){if((w(d,20)+g|0)!=(c|0)){d=d+1|0;if(e>>>0>d>>>0){continue}break a}break}d=q[f+16>>2];e=q[b+4>>2];c=q[c+12>>2];o[a+12|0]=r[b+12|0];q[a>>2]=f;b=c+e|0;q[a+4>>2]=b;q[a+8>>2]=b+d;return}J(23357,23114,196,23346);G()}function eI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=q[a+420>>2];if(b){ki(b)}if(!c){q[a+420>>2]=0;return}q[a+420>>2]=Sk(c);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Zba(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;d=-4;if(q[a+220>>2]!=q[a+212>>2]-q[a+204>>2]>>4){b=li(b);d=ii;h=d;q[e+12>>2]=c;AH(a+196|0,b,d,e+12|0);d=q[a+32>>2];f=q[a+36>>2]-d|0;a=(f|0)/576|0;if(f){f=a>>>0>1?a:1;a=0;while(1){g=d+w(a,576)|0;if((b|0)==q[g+520>>2]&q[g+524>>2]==(h|0)){q[g+528>>2]=c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}d=0}fi=e+16|0;return d}function Ul(a){var b=0,c=0,d=0,e=0;b=q[a+16>>2];q[b+76>>2]=q[b+76>>2]+(q[b+68>>2]-q[b+64>>2]|0);c=w(q[b+84>>2],10);c=c?c:2147483646;while(1){a:{e=uw(a);d=r[b+21|0];if(!d){break a}c=c-e|0;if((c|0)>0){continue}}break}if(d){a=q[b+76>>2];if(a>>>0<=1023){q[b+64>>2]=q[b+68>>2]+1024;return}q[b+76>>2]=a-1024;q[b+64>>2]=q[b+68>>2];return}q[b+64>>2]=w(q[b+80>>2],t[b+72>>2]/100|0)}function QS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-8208|0;fi=b;d=ml(a,124717);e=Ln(a,2,8192);f=d+8|0;Bn(f);a:{b:{c:{g=b+16|0;if(e<4294967296&e>=0){c=~~e>>>0}else{c=0}d=pC(d,g,c>>>0<8192?c:8192,b+12|0,f);switch(d+2|0){case 0:case 2:break b;default:break c}}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,Ql(d));a=2;break a}Bi(a,b+16|0,q[b+12>>2]);a=1}fi=b+8208|0;return a|0}function ypa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=fi-16|0;fi=c;a:{if(!b){o[c+11|0]=0;h=ji[q[a>>2]](q[a+4>>2],c+11|0,1)|0;break a}d=Fi(b);g=d;if(d>>>0>=128){e=d;while(1){o[(c+11|0)+f|0]=e|128;f=f+1|0;i=e>>>0>16383;g=e>>>7|0;e=g;if(i){continue}break}}o[(c+11|0)+f|0]=g;if(!(ji[q[a>>2]](q[a+4>>2],c+11|0,f+1|0)|0)){break a}h=ji[q[a>>2]](q[a+4>>2],b,d)|0}fi=c+16|0;return h}function aL(a,b,c){var d=0,e=0,f=0;while(1){d=b;b=q[((e&3)<<2)+c>>2];b=d+((b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))+e^(a<<4^a>>>5)+a)|0;e=e-1640531527|0;d=q[(e>>>9&12)+c>>2];a=((b<<4^b>>>5)+b^(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+e)+a|0;f=f+1|0;if((f|0)!=32){continue}break}ii=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);return b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}function R2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Vr(a,113087);q[79174]=mF(a,113087);io(a,0,257936);wi(a,113224);Wj(a,767,0);Wi(a,-3);wi(a,113229);Wj(a,768,0);Wi(a,-3);wi(a,113240);Wj(a,769,0);Wi(a,-3);Wj(a,770,0);pi(a,-10002,113087);Wj(a,771,0);pi(a,-10002,113249);Wj(a,772,0);pi(a,-10002,113261);oi(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(113149,113117,381,113269);G()}}function Js(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;a:{if(!a){break a}d=q[a>>2];if(!d){break a}b=q[d>>2]}b:{if(!jl(b,5839,c+12|0)){b=0;c:{if(!a){break c}d=q[a>>2];if(!d){break c}b=q[d+4>>2]}if(!nv(b,q[c+12>>2],c+8|0)){break b}fi=c+16|0;b=q[c+8>>2];a=q[a>>2];if(b>>>0>2]>>2]){a=q[(a+(b<<2)|0)+12>>2]}else{a=0}return a}J(5845,5877,391,5909);G()}J(5918,5877,394,5909);G()}function dla(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-48|0;fi=b;c=q[a+4>>2];e=q[a+8>>2];a=q[q[a+16>>2]>>2];d=JI(q[a+8>>2]);if(d){q[b+32>>2]=d;mi(4,38938,40752,b+32|0)}Sba(q[a+8>>2]);Vba(q[a+8>>2]);Tba(q[a+8>>2]);Uba(q[a+8>>2]);a:{if(eJ(e,q[a+8>>2],c)){a=wI(q[a+8>>2]);if(!a){break a}q[b>>2]=a;mi(4,38938,40709,b);break a}q[b+16>>2]=q[c+72>>2];mi(4,38938,41430,b+16|0)}fi=b+48|0}function Xfa(a){a=a|0;var b=0,c=0,d=0;d=fi-16|0;fi=d;b=-2;if(!rj(q[a+12>>2],q[a+16>>2],266864,d+12|0)){b=q[d+12>>2];c=q[b+12>>2];if(r[c|0]){jk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b>>2];if(r[c|0]){jk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b+4>>2];if(r[c|0]){jk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b+8>>2];if(r[c|0]){jk(q[a+20>>2],c);b=q[d+12>>2]}q[q[a+24>>2]>>2]=b;b=0}fi=d+16|0;return b|0}function zva(){q[61891]=q[72890];q[72890]=247536;q[61919]=q[72890];q[72890]=247648;q[61933]=q[72890];q[72890]=247704;q[61953]=q[72890];q[72890]=247784;q[61989]=q[72890];q[72890]=247928;q[74768]=1;q[74766]=-166866304;q[74767]=916817987;q[74765]=77035;q[74764]=1;q[74771]=0;o[299080]=0;q[74769]=q[74762];q[74771]=q[72890];q[72890]=299056;q[62009]=q[72890];q[72890]=248008}function yI(a,b,c){var d=0,e=0;a:{b:{d=c&65535;e=q[b+36>>2];b=q[b+32>>2];if(d>>>0<(e-b|0)/576>>>0){if(s[(b+w(d,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(d,576)|0;if(s[b+554>>1]!=(c&65535)){break a}c=q[b+68>>2];d=q[b+64>>2];u[a+8>>2]=u[b+72>>2];q[a>>2]=d;q[a+4>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function sL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;Cp(a,c);Cp(b+128|0,c+8|0);c=0;while(1){d=c<<2;f=d+b|0;q[f>>2]=q[(30-c<<2)+a>>2];g=d|4;h=g+b|0;q[h>>2]=q[(31-c<<2)+a>>2];e=a+d|0;q[e+128>>2]=q[(62-c<<2)+b>>2];q[e+132>>2]=q[(63-c<<2)+b>>2];i=d+256|0;q[i+a>>2]=q[e>>2];d=d+260|0;q[d+a>>2]=q[a+g>>2];q[b+i>>2]=q[f>>2];q[b+d>>2]=q[h>>2];d=c>>>0<30;c=c+2|0;if(d){continue}break}}function W3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=fi-16|0;fi=a;q[b+7400>>2]=c;a:{b:{if(Pn(d,26901)){break b}c=mp(e,0);q[b+7392>>2]=c;if((c|0)<=-1){q[a>>2]=c;mi(4,24355,26916,a);break b}d=q[b+7372>>2];e=q[d>>2];if(c>>>0>q[d+8>>2]-e>>>0){if(o[d+12|0]&1){break a}vi(c,1,d,d+8|0,d+4|0);d=q[b+7372>>2];e=q[d>>2]}q[d+4>>2]=e}fi=a+16|0;return}J(27518,26974,461,27593);G()}function I6(a){var b=0,c=0,d=0,e=0,f=0;b=fi;c=q[q[a+8>>2]+12>>2];e=q[(c<<2)+24480>>2]>>>3|0;d=b-(e+15&-16)|0;fi=d;f=c;c=q[a+4>>2];g7(f,q[c>>2],q[c+4>>2],d);a:{b:{c:{d:{e:{f:{a=O3(a,d,e);switch(a+20|0){case 20:break a;case 19:break c;case 5:break d;case 0:break e;case 1:break f;default:break b}}fi=b;return-4}fi=b;return-6}fi=b;return-7}fi=b;return-8}a=-3}fi=b;return a}function mX(a,b,c){var d=0,e=0,f=0;a:{d=q[a+24>>2];if((d|0)<=q[a+28>>2]){break a}b:{if(!d){if(r[a+50|0]<=(b|0)){break b}break a}e=(q[q[a>>2]+12>>2]+(d<<2)|0)-4|0;d=q[e>>2];if((d&63)!=3|(d>>>6&255)>(b|0)){break a}f=d>>>23|0;if((f+1|0)<(b|0)){break a}a=(b+c|0)-1|0;if((a|0)<=(f|0)){break b}q[e>>2]=d&8388607|a<<23}return}Jk(a,(b+c<<23)-8388608|b<<6|3,q[q[a+12>>2]+8>>2])}function jx(a,b){var c=0,d=0;c=-24832;d=q[a>>2];a:{if(!d|q[d+4>>2]!=2){break a}c=-24704;b:{switch(b|0){case 0:q[a+16>>2]=1291;q[a+12>>2]=1292;return 0;case 1:q[a+16>>2]=1293;q[a+12>>2]=1294;return 0;case 2:q[a+16>>2]=1295;q[a+12>>2]=1296;return 0;case 3:q[a+16>>2]=1297;q[a+12>>2]=1298;return 0;case 4:break b;default:break a}}c=0;q[a+12>>2]=0;q[a+16>>2]=1299}return c}function ju(a){var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;a:{b:{if(a){b=a?q[a>>2]:0;if(!b){break b}b=q[b+120>>2];if(!b){break a}e=Ti(c+8|0,b,0,119520,413);f=q[210259];d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=f|0;q[b+8>>2]=q[b+8>>2]+16;Z2(a);a=Vi(b,-1);oi(b,-2);Si(e);fi=c+32|0;return a}J(119699,119520,408,120231);G()}J(119739,119520,410,120231);G()}J(119754,119520,412,120231);G()}function gV(a,b,c,d,e,f){var g=0,h=0,i=0;g=fi-48|0;fi=g;h=-20096;if(q[a+48>>2]){i=q[a+60>>2]?1:2}else{i=0}if((i|0)==1){q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;h=kD(a,g+8|0,c,d);a:{if(h){break a}h=kD(a,b,e,f);if(h){break a}h=Sx(a,b,g+8|0,b);if(h){break a}h=Px(a,b)}Rl(g+8|0)}fi=g+48|0;return h}function CD(a,b,c,d){var e=0,f=0;e=-84;f=q[a+224>>2];a:{if(f-1>>>0>1){break a}if((f|0)==1){q[a+224>>2]=2;e=CL(a);if(e){break a}}e=q[a+220>>2];f=q[a+216>>2]+b|0;q[a+216>>2]=f;q[a+220>>2]=b>>>0>f>>>0?e+1|0:e;b:{if(!q[a+228>>2]){e=Ht(a,b,c,d);if(e){break a}e=iq(a+132|0,d,b);if(!e){break b}break a}e=iq(a+132|0,c,b);if(e){break a}e=Ht(a,b,c,d);if(e){break a}}e=0}return e}function Ota(a,b,c){var d=0,e=0,f=0;e=fi-32|0;fi=e;d=e+8|0;q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;a:{if(!Kv(d,b,c)){break a}b=a+32|0;if(!en(d,b)|!q[b+4>>2]){break a}b=a+68|0;if(!en(d,b)|!q[b+4>>2]){break a}b=a+104|0;if(!en(d,b)|!q[b+4>>2]){break a}b=a+140|0;if(!en(d,b)|!q[b+4>>2]){break a}q[a+176>>2]=qk(d,13);f=1}fi=e+32|0;return f}function yt(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+40|0;si(g+d|0,b,f);Kr(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){Kr(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}si((a+e|0)+40|0,b,c)}return 0}function xp(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+28|0;si(g+d|0,b,f);Lr(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){Lr(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}si((a+e|0)+28|0,b,c)}return 0}function wk(a,b,c){var d=0,e=0,f=0,g=0;e=a;a:{if(!c|!r[e|0]){break a}d=c;f=a;while(1){e=f+1|0;d=d-1|0;if(!d){break a}g=r[f+1|0];f=e;if(g){continue}break}}b:{c:{g=e-a|0;d=c-g|0;if(d){c=r[b|0];if(c){break c}a=b;break b}return Fi(b)+g|0}f=b;while(1){if((d|0)==1){d=1}else{o[e|0]=c;e=e+1|0;d=d-1|0}c=r[f+1|0];a=f+1|0;f=a;if(c){continue}break}}o[e|0]=0;return g+(a-b|0)|0}function u8(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}si(a+160|0,a,160);q[a+400>>2]=q[a+412>>2];q[a+404>>2]=q[a+404>>2]|1;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function kq(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+24|0;si(g+d|0,b,f);Mr(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){Mr(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}si((a+e|0)+24|0,b,c)}return 0}function jV(a,b){var c=0,d=0;d=-20352;a:{b:{c:{d:{if(q[a+48>>2]){c=q[a+60>>2]?1:2}else{c=0}switch(c-1|0){case 0:break c;case 1:break d;default:break b}}d=-19584;if(Dm(b,0)){break b}if(Dm(b,1)){break b}c=ul(b)-1|0;if((c|0)!=q[a+92>>2]){break b}if((c|0)==254){if(Dm(b,2)){break b}}return 0}if((jj(b,1)|0)>=0){break a}d=-19584}return d}return(Dj(b,a+76|0)|0)<0?0:-19584}function RT(a){var b=0,c=0,d=0;d=q[q[a>>2]+184>>2];a:{b:{b=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;c:{if(b>>>0<=9){b=q[(b<<2)+166812>>2];break c}b=0}if(b){c=Dn(a);if(c){break a}pw(q[a+64>>2]);b=Oj(1,344);if(!b){Aj(a,2,80);return-32512}PC(b);c=HP(a,b);if(c){break b}c=FP(a,d>>>2&3,b);if(c){break b}q[q[a+64>>2]+96>>2]=b}q[a+4>>2]=q[a+4>>2]+1;return 0}pl(b);ki(b)}return c}function JY(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=q[Vi(a,-10003)>>2];a:{if(b){d=st(a,b);break a}ni(a,131088,0);d=st(a,0)}if(q[b+76>>2]<=-1){b=q[b>>2]}else{b=q[b>>2]}b:{if(b>>>5&1){q[c>>2]=Uk(q[240833]);b=ni(a,131085,c);break b}b=1;if(d){break b}b=0;if(!Fj(a,-10004)){break b}oi(a,0);Hi(a,-10003);Rr(a,1);zi(a,-1,131070);ji[mx(a)|0](a)|0;b=0}fi=c+16|0;return b|0}function jna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;Ki(a);Ki(a);d=yi(a,-1,q[72645],18648);oi(a,-2);oi(a,-2);a=q[d+4>>2];c=q[q[a+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+4224>>2];f=q[c+4228>>2]}q[b>>2]=e;q[b+4>>2]=f;c=q[a+100>>2];q[b+16>>2]=q[a+96>>2];q[b+20>>2]=c;a=q[q[a+84>>2]>>2]+w(s[d+24>>1],80)|0;d=q[a+4>>2];q[b+24>>2]=q[a>>2];q[b+28>>2]=d}function Fja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a+8>>2];b=q[d+16>>2];e=q[q[a+16>>2]>>2];if(e>>>0>2]-b>>3>>>0){b=q[b+(e<<3)>>2];c=q[d>>2];if(b>>>0<(q[d+4>>2]-c|0)/240>>>0){a=q[q[q[a+4>>2]+80>>2]>>2];f=q[(c+w(b,240)|0)+200>>2];if(f){Di(a,f)}b=c+w(b,240)|0;c=q[b+196>>2];if(c){Di(a,c)}a=q[b+192>>2];if(a){Uq(a)}l6(d,e);return 0}}J(52519,51871,447,51574);G()}function E6(a,b,c,d,e){var f=0,g=0,h=0;f=fi-32|0;fi=f;h=-2;a:{if(!a|!b|q[a+28>>2]!=(b|0)){break a}g=V3(q[a>>2],q[b+4>>2],q[b>>2],c,d);q[e+4>>2]=-17;q[e+8>>2]=0;q[e>>2]=g;h=0;if(g){break a}g=q[b+8>>2];if(!g){break a}q[f>>2]=q[a>>2];q[f+4>>2]=q[b+20>>2];q[f+12>>2]=q[c>>2];a=q[d>>2];q[f+24>>2]=e+8;q[f+20>>2]=b+12;q[f+16>>2]=a;q[e+4>>2]=ji[g|0](f)}fi=f+32|0;return h}function x3(a,b,c,d,e){var f=0;f=Ci(44);q[f>>2]=0;q[f+4>>2]=0;q[f+40>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[e>>2]=f;o[f+40|0]=1;e=q[a>>2];if((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))==4){e=qi(Ci(1048),0,1048);q[f+8>>2]=e;o[e+1044|0]=1;q[e+1040>>2]=d;q[e+1036>>2]=c;q[f+36>>2]=b;q[f+4>>2]=a}}function pJ(a,b,c){var d=0,e=0,f=x(0);d=fi-16|0;fi=d;f=u[c>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,68156);u[d>>2]=u[c+16>>2];u[d+4>>2]=u[c+20>>2];u[d+8>>2]=u[c+24>>2];hl(a,d);pi(a,-2,68165);hl(a,c+32|0);pi(a,-2,68174);Yj(a,Gia(b,s[c+52>>1]),ii);pi(a,-2,68181);b=q[q[c+48>>2]+4>>2];Yj(a,q[b+96>>2],q[b+100>>2]);pi(a,-2,68187);fi=d+16|0}function b_(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-16|0;fi=e;d=om(a,130969);b=q[d>>2];if(!b){ni(a,131041,0);b=q[d>>2]}c=sq(a,2,131180,261920);d=3;a:{if(El(b,cm(a,3,0),q[(c<<2)+131164>>2])){b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[e>>2]=Uk(b);nj(a,131085,e);break a}d=1;b=mn(b)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;fi=e+16|0;return d|0}function OI(a,b,c,d){var e=0,f=0,g=0,h=0;f=fi-16|0;fi=f;a:{g=s[92055];b:{if((g|0)==(c|0)){break b}while(1){c=c&65535;e=q[b+32>>2];if(c>>>0>=(q[b+36>>2]-e|0)/576>>>0){break a}h=e+w(c,576)|0;c=NI(a,b,h,f+12|0);if(c){e=c;break b}e=0;Mq(b,q[f+12>>2],d,0);if(c){break b}c=s[h+558>>1];if((g|0)!=(c|0)){continue}break}}fi=f+16|0;return e}J(193176,193187,447,193266);G()}function MV(a,b){var c=0,d=0;d=fi-16|0;fi=d;c=-84;a:{b:{c:{switch(q[a+224>>2]){case 1:c=CL(a);if(!c){break b}break a;case 0:break a;case 2:break c;default:break b}}c=Bra(a);if(c){break a}}q[a+224>>2]=3;c=q[a+212>>2];q[d>>2]=q[a+208>>2];q[d+4>>2]=c;c=q[a+220>>2];q[d+8>>2]=q[a+216>>2];q[d+12>>2]=c;a=a+132|0;c=iq(a,d,16);if(c){break a}c=EU(a,b)}fi=d+16|0;return c}function H$(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+84>>2];if(b){ki(b)}b=q[a+76>>2];if(!b){break a}ki(b)}b:{if(o[a+72|0]&1){break b}b=q[a+64>>2];if(!b){break b}ki(b)}c:{if(o[a+60|0]&1){break c}b=q[a+48>>2];if(!b){break c}ki(b)}d:{if(o[a+44|0]&1){break d}b=q[a+36>>2];if(!b){break d}ki(b)}e:{if(o[a+32|0]&1){break e}b=q[a+20>>2];if(!b){break e}ki(b)}return a}function tr(a,b,c,d){if(q[a+12>>2]<=(b|0)){a=q[a+8>>2];if(!b){Bi(a,c,d-c|0);return}ni(a,131979,0);return}c=(b<<3)+a|0;b=c;a:{b:{c:{c=q[c+20>>2];switch(c+2|0){case 1:break b;case 0:break c;default:break a}}b=(q[b+16>>2]-q[a>>2]|0)+1|0;a=q[a+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return}ni(q[a+8>>2],132001,0)}Bi(q[a+8>>2],q[b+16>>2],c)}function aja(a,b,c,d,e,f){if(o[a+137|0]&1){mi(4,35903,37235,0);return 1}a=q[b+12>>2];if(a){while(1){if((c|0)==q[a>>2]&q[a+4>>2]==(d|0)){return 2}a=q[a+16>>2];if(a){continue}break}}a=Ci(24);q[a+16>>2]=q[b+12>>2];q[a+12>>2]=1;q[a>>2]=c;q[a+4>>2]=d;q[b+12>>2]=a;q[a+8>>2]=f;b=Ci(12);c=q[e+16>>2];q[b+8>>2]=a;q[b>>2]=c;q[b+4>>2]=e;q[e+16>>2]=b;q[a+20>>2]=b;return 0}function Yk(a,b,c,d){var e=0,f=0,g=0,h=0;e=r[d+74|0];o[d+74|0]=e-1|e;g=w(b,c);e=q[d+4>>2];f=q[d+8>>2]-e|0;h=g;a:{if((f|0)<1){break a}h=e;e=f>>>0>>0?f:g;si(a,h,e);q[d+4>>2]=e+q[d+4>>2];a=a+e|0;h=g-e|0}e=h;if(e){while(1){b:{if(!aB(d)){f=ji[q[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function Px(a,b){var c=0,d=0,e=0;c=fi-32|0;fi=c;e=b+24|0;if(jj(e,0)){q[c+24>>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=bo(c+16|0,e,a+4|0);a:{if(d){break a}d=Jj(a,c,c+16|0,c+16|0);if(d){break a}d=Jj(a,b,b,c);if(d){break a}b=b+12|0;d=Jj(a,b,b,c);if(d){break a}d=Jj(a,b,b,c+16|0);if(d){break a}d=gk(e,1)}Ji(c+16|0);Ji(c)}fi=c+32|0;return d}function OB(a,b){var c=0,d=0,e=0;e=fi-32|0;fi=e;c=o[b|0];a:{if(!(r[b+1|0]?c:0)){c=cB(a,c);break a}qi(e,0,32);d=r[b|0];if(d){while(1){c=(d>>>3&28)+e|0;q[c>>2]=q[c>>2]|1<>>3&28)+e>>2]>>>d&1){c=b;break a}d=r[b+1|0];c=b+1|0;b=c;if(d){continue}break}}fi=e+32|0;return c-a|0}function uj(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;f=q[a+12>>2];e=q[a>>2];e=q[e+8>>2]-q[e+12>>2]>>4;if((f|0)!=(e|0)){b=q[a+8>>2];a=q[a+4>>2];q[d+12>>2]=e;q[d+8>>2]=f;q[d>>2]=a;q[d+4>>2]=b;mi(4,110525,111171,d);J(111242,110448,1472,111261);G()}q[d+28>>2]=c;Ur(q[a>>2],1);TD(q[a>>2],b,q[d+28>>2]);Jl(q[a>>2],2);q[a+16>>2]=-8388608;a=fo(q[a>>2]);fi=d+32|0;return a}function o7(a){var b=0;b=qi(Ci(96),0,80);q[b+88>>2]=0;q[b+92>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+60>>2]=-1;q[b+64>>2]=0;q[b+52>>2]=0;q[b>>2]=a;qz(b+40|0,64,256);if(o[b+24|0]&1){J(134002,133923,461,134077);G()}vi(16,4,b+12|0,b+20|0,b+16|0);q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[q[a+40>>2]+3660>>2]=b;return b}function awa(a,b){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];u[a+60>>2]=u[b+60>>2]}function Ssa(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=r[b+3|0];a:{if(d-239>>>0<=16){d=r[$i(b,0)+97552|0];e=r[$i(b,1)+97552|0];f=r[$i(b,2)+97552|0];b=c+8|0;o[b+3|0]=8;o[b+2|0]=f;o[b+1|0]=e;o[b|0]=d;Cv(a,1,b,1);break a}e=r[$i(b,0)+97808|0];f=r[$i(b,1)+97808|0];b=r[$i(b,2)+97808|0];o[c+3|0]=r[d+99344|0];o[c+2|0]=b;o[c+1|0]=f;o[c|0]=e;Cv(a,1,c,0)}fi=c+16|0} +function n6(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{h=b&65535;g=q[a+4>>2];a=q[a>>2];if(h>>>0>2>>>0){h=q[a+(h<<2)>>2];if(s[h+80>>1]!=(b>>>16|0)){break c}g=q[h+4>>2];a=q[h>>2];b=g-a|0;if(!b){break b}b=(b|0)/304|0;if((a|0)!=(g|0)){k=b>>>0>1?b:1;g=0;while(1){b=w(g,304)+a|0;d:{if((c|0)!=q[b+128>>2]|(d|0)!=q[b+132>>2]){break d}i=q[b+72>>2];a=q[b+76>>2]-i|0;if(!a){break d}l=b+72|0;a=(a|0)/96|0;m=a>>>0>1?a:1;a=0;while(1){j=w(a,96)+i|0;if(q[j>>2]==(e|0)&q[j+4>>2]==(f|0)){Jra(l,a);o[b+296|0]=r[b+296|0]|16;break d}a=a+1|0;if((m|0)!=(a|0)){continue}break}}g=g+1|0;if((k|0)==(g|0)){break b}a=q[h>>2];if((q[h+4>>2]-a|0)/304>>>0>g>>>0){continue}break}}break a}break a}Ai(4,145356,145973,0);G()}return}J(146626,145751,479,145962);G()}function EL(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=ti-32|0;ti=e;a:{if(c){k=vL(b);b:{if(!Tv(b)){while(1){if(!Yp(b,e+28|0)){f=2;break b}f=2;d=q[e+28>>2];i=d>>>3|0;if(!i){break b}l=d&7;c:{d:{j=r[c+24|0];e:{if(!j){break e}m=q[c+20>>2];g=0;while(1){h=w(g,24)+m|0;d=q[h+4>>2];if((d&4194303)!=(i|0)){g=g+1|0;if((j|0)!=(g|0)){continue}break e}break}if((d&-268435456)==805306368){Lqa(a,k,i);d=q[h+4>>2]}if((d&264241152)==46137344){break d}}f=pL(b,l);if(!f){break c}break b}if(!q[h+8>>2]){break a}if(!Yp(b,e+24|0)){break b}d=e+8|0;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;if(!wL(b,q[e+24>>2],d)){break b}f=EL(a,d,q[h+8>>2]);if(f){break b}}if(!Tv(b)){continue}break}}f=0}ti=e+32|0;return f}J(22054,22023,86,22106);G()}J(22124,22023,124,22106);G()}function Nca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=ti-16|0;ti=a;e=Za()|0;a:{b:{c:{d:{if(r[q[77547]+156|0]&64){f=K()|0;if(f){break d}}ua(e|0,q[c>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break c}}ua(e|0,q[d>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break b}}Aa(e|0);ca(e|0,35714,a+12|0);c=q[a+12>>2];e:{if(!c){ca(e|0,35716,a+8|0);b=q[a+8>>2];if((b|0)>=1){d=b;b=Ji(b);Va(e|0,d|0,a+8|0,b|0);q[a>>2]=b;Ai(4,84116,87658,a);yi(b)}ra(e|0);break e}ra(e|0);Aa(q[b>>2]);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break a}}vJ(b)}ti=a+16|0;return(c|0)!=0|0}Vi(f,87834,2154);J(84254,84160,2154,87834);G()}Vi(c,87834,2156);J(84254,84160,2156,87834);G()}Vi(c,87834,2158);J(84254,84160,2158,87834);G()}Vi(d,87814,2192);J(84254,84160,2192,87814);G()}function Bia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-112|0;ti=b;f=Tj(a);c=q[a+8>>2]-q[a+12>>2]>>4;a:{if((c|0)<=0){a=Bi(a,67446,0);break a}e=Zi(b+88|0,a,0,67401,173);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);b:{c:{if((c|0)==1){break c}if(!Ei(a,2)){break c}Ki(a,-10002,117521);c=aj(a,-1);Ci(a,-2);a=Wn(c,-1);if(!a){a=sj(e,67495,0);break b}q[b+80>>2]=0;q[b+76>>2]=a;q[b+64>>2]=531;c=q[b+56>>2];d=q[b+60>>2];a=!(c|d);d=a?q[b+52>>2]:d;q[b+68>>2]=a?q[b+48>>2]:c;q[b+72>>2]=d;d=20}c=q[61886];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],f,c,b- -64|0,d);a=0}Yi(e)}ti=b+112|0;return a|0}function it(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;c=q[a+48>>2];o[e+10|0]=0;q[e+4>>2]=-1;b=r[c+50|0];o[e+9|0]=0;o[e+8|0]=b;q[e>>2]=q[c+20>>2];q[c+20>>2]=e;d=q[a+52>>2];b=s[d+52>>1]+1|0;p[d+52>>1]=b;if((b&65535)>>>0>=201){Pl(a,136621,0)}while(1){b=q[a+16>>2]-260|0;if(!(1<>>0<=27:0)){b=Gt(a);if(q[a+16>>2]==59){Gj(a)}d=q[a+48>>2];q[d+36>>2]=r[d+50|0];if(!b){continue}}break}a=q[a+52>>2];p[a+52>>1]=s[a+52>>1]-1;d=q[c+20>>2];q[c+20>>2]=q[d>>2];b=q[q[c+12>>2]+48>>2];a=r[b+50|0];f=r[d+8|0];if(a>>>0>f>>>0){g=q[b+24>>2];h=q[q[b>>2]+24>>2];while(1){a=a-1|0;q[(w(s[(b+(a<<1)|0)+172>>1],12)+h|0)+8>>2]=g;if(a>>>0>f>>>0){continue}break}o[b+50|0]=a}if(r[d+9|0]){im(c,35,f,0,0)}q[c+36>>2]=r[c+50|0];Nm(c,q[d+4>>2]);ti=e+16|0}function d0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-13;f=q[242116];i=q[f+16>>2];if(i){wj(i);f=q[242116]}d=q[f+80>>2];a:{if(!d){break a}d=q[q[f+76>>2]+(Qwa(a,b,d)<<2)>>2];if((d|0)==-1){break a}h=q[f+84>>2];while(1){g=h+(d<<4)|0;if(q[g>>2]!=(a|0)|q[g+4>>2]!=(b|0)){d=q[g+12>>2];if((d|0)!=-1){continue}break a}break}h=h+(d<<4)|0;e=q[f+24>>2];g=q[f+20>>2];d=e-g|0;b:{if(d){e=g-e|0;e=((d|0)<(e|0)?e:d)>>>6|0;d=(d|0)>-1?d:-1;d=w(e,(d|0)<1?d:1);j=d>>>0>1?d:1;d=0;while(1){e=g+(d<<6)|0;if(!((a|0)!=q[e+8>>2]|q[e+12>>2]!=(b|0)|(q[e+44>>2]?0:!(r[e+60|0]&4))|u[e+16>>2]==x(0))){d=q[h+8>>2];break b}d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=q[h+8>>2];a=w(d,1056)+f|0;u[a+124>>2]=c;q[a+120>>2]=0}u[(w(d,1056)+f|0)+128>>2]=c;e=0}if(i){qj(i)}return e}function Hs(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-1040|0;ti=d;q[d+4>>2]=b;q[d>>2]=24386;hj(d+16|0,1024,24380,d);e=d+16|0;f=e;a:{while(1){b:{b=r[f|0];c:{d:{if((b|0)!=47){if(b){break d}o[e|0]=0;e=vl(d+16|0,Ui(d+16|0));f=wi;g=-10;a=q[a>>2];b=q[a+4>>2];if(!b){break a}b=q[q[a>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break a}a=q[a+8>>2];while(1){h=a+w(b,48)|0;if((e|0)==q[h>>2]&(f|0)==q[h+4>>2]){break b}b=q[h+40>>2];if((b|0)!=-1){continue}break}break a}if((g&255)==47){break c}}o[e|0]=b;e=e+1|0}f=f+1|0;g=b;continue}break}a=a+w(b,48)|0;b=q[a+12>>2];q[c>>2]=q[a+8>>2];q[c+4>>2]=b;b=q[a+36>>2];q[c+24>>2]=q[a+32>>2];q[c+28>>2]=b;b=q[a+28>>2];q[c+16>>2]=q[a+24>>2];q[c+20>>2]=b;b=q[a+20>>2];q[c+8>>2]=q[a+16>>2];q[c+12>>2]=b;g=0}ti=d+1040|0;return g}function D4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-48|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=Xi(a,1);e=Xi(a,2);f=Xi(a,3);g=Xi(a,4);q[b+16>>2]=c;q[b+20>>2]=c>>31;q[b+8>>2]=6;q[b+40>>2]=g;q[b+44>>2]=g>>31;q[b+32>>2]=f;q[b+36>>2]=f>>31;q[b+24>>2]=e;q[b+28>>2]=e>>31;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+44>>2];q[c+32>>2]=q[b+40>>2];q[c+36>>2]=a;a=q[b+36>>2];q[c+24>>2]=q[b+32>>2];q[c+28>>2]=a;a=q[b+28>>2];q[c+16>>2]=q[b+24>>2];q[c+20>>2]=a;a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b)}ti=b+48|0;return a|0}J(110492,110389,475,114319);G()}function yj(a,b){var c=0,d=0,e=0;c=q[a+112>>2];if(!c){o[a+6|0]=b;if(q[q[a+16>>2]+88>>2]){c=q[a+40>>2];q[a+20>>2]=c;c=q[c>>2];q[a+12>>2]=c;qo(a,c);c=q[a+12>>2];d=c;a:{b:{c:{switch(b-2|0){case 2:q[c>>2]=Jj(a,135534,17);b=4;break b;case 3:q[c>>2]=Jj(a,135552,23);b=4;break b;case 0:case 1:break c;default:break a}}b=q[a+8>>2]-16|0;e=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=e;b=q[b+8>>2]}q[d+8>>2]=b}o[a+57|0]=1;q[a+8>>2]=c+16;p[a+52>>1]=s[a+54>>1];b=q[a+48>>2];d:{if((b|0)<20001){break d}c=q[a+40>>2];if((q[a+20>>2]-c|0)>479975){break d}b=lj(a,c,w(b,24),48e4);q[a+48>>2]=2e4;q[a+40>>2]=b;q[a+36>>2]=b+479976;q[a+20>>2]=b+w((q[a+20>>2]-c|0)/24|0,24)}q[a+112>>2]=0;q[a+116>>2]=0;xi[q[q[a+16>>2]+88>>2]](a)|0}Ga(1);G()}q[c+160>>2]=b;O(c+4|0,1);G()}function _1(a,b,c,d){var e=0,f=0,g=0,h=0;e=a?q[a+120>>2]:0;h=q[e+8>>2]-q[e+12>>2]>>4;a:{f=q[a+44>>2];if(!f){break a}g=q[q[a+40>>2]+(Qwa(c,d,f)<<2)>>2];if((g|0)==-1){break a}f=q[a+48>>2];while(1){a=f+(g<<4)|0;if(q[a>>2]!=(c|0)|q[a+4>>2]!=(d|0)){g=q[a+12>>2];if((g|0)!=-1){continue}break a}break}a=q[b+16>>2];c=q[(a?12:0)+b>>2];d=q[(f+(g<<4)|0)+8>>2];b=q[(a?16:4)+b>>2];a=nl(q[d>>2],b);q[d+4>>2]=b;q[d>>2]=a;Gi(a,c,b);b:{if(DF(e,c,b,q[d+8>>2])){Hi(e,q[d+8>>2]);a=Vl(e,1,-1);b=q[e+8>>2]-q[e+12>>2]>>4;if(!a){break b}if((b|0)==(h|0)){break a}J(122725,122746,173,122771);G()}if((h|0)==q[e+8>>2]-q[e+12>>2]>>4){break a}J(122725,122746,181,122771);G()}Ci(e,h+(b^-1)|0);if((h|0)==q[e+8>>2]-q[e+12>>2]>>4){break a}J(122725,122746,184,122771);G()}}function xJ(a){var b=0,c=0,d=0,e=x(0),f=x(0),g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=q[a+188>>2];g=q[a+184>>2];d=g;b=q[a+196>>2];if(!b){b=q[j+8>>2]}c=d;d=q[b+64>>2];if(c>>>0>2]){e=u[a+224>>2];k=q[d+4>>2];b=k+w(g,40)|0;c=q[b+24>>2];f=(c|0)==2?x(1):(c|0)==4?x(1):x(0);l=q[b+12>>2];h=q[b+16>>2]-l|0;i=(h<<1)-2|0;c=c-5>>>0<2?i?i:1:h;e=x(x(e+x(f-x(f*x(e+e))))*x(c>>>0));a:{if(e=x(0)){b=~~e>>>0;break a}b=0}m=q[a+216>>2];c=c-1|0;b=b>>>0>c>>>0?c:b;c=b>>>0>>0?b:i-b|0;q[a+216>>2]=c;if(!((c|0)==(m|0)|q[q[j+12>>2]+48>>2]!=1)){b=a;b:{if(q[d+60>>2]){d=q[d+56>>2]+(c+l<<3)|0;e=u[d+4>>2];f=u[d>>2];break b}d=w(g,40)+k|0;e=x(t[d+8>>2]);f=x(t[d+4>>2])}u[b+64>>2]=f;q[a+72>>2]=1065353216;u[a+68>>2]=e}return}J(48264,48276,88,48308);G()}function ura(a,b){var c=0,d=0;q[a+8>>2]=0;q[a+12>>2]=0;c=a+16|0;q[c>>2]=0;q[c+4>>2]=0;d=q[b>>2];q[a>>2]=q[b+4>>2];q[a+4>>2]=0;q[a+28>>2]=Hj();a:{b:{if(!(o[a+20|0]&1)){Ii(d,64,a+8|0,c,a+12|0);b=q[a+8>>2];if(q[c>>2]-b>>6>>>0>>0){break b}q[a+12>>2]=(d<<6)+b;if(!d){break a}c=0;while(1){b=(c<<6)+b|0;q[b+48>>2]=0;q[b+52>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+40>>2]=0;q[b+44>>2]=-1;q[b+48>>2]=0;c=c+1|0;if((d|0)==(c|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}J(162905,162757,479,162916);G()}J(162682,162757,493,162783);G()}J(162795,162757,506,162814);G()}p[a+24>>1]=0;o[a+32|0]=r[a+32|0]|1}function Sk(a,b,c){var d=0;a:{if((a|0)==(b|0)){break a}if((b-a|0)-c>>>0<=0-(c<<1)>>>0){return Gi(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}o[d|0]=r[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(a+c&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;o[d|0]=r[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;q[c+a>>2]=q[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;o[c+a|0]=r[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){q[d>>2]=q[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){o[d|0]=r[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function c3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=ti-48|0;ti=d;e=a?q[a+120>>2]:0;h=Zi(d+24|0,e,0,119854,44);c=jj(e,72);b=c;q[b+4>>2]=0;q[b+8>>2]=0;q[b+68>>2]=-2;q[b>>2]=a;q[b+60>>2]=0;q[b+64>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;Qi(e,-1);q[b+68>>2]=kk(e,-1e4);Hi(e,q[65807]);hk(e,-2);S1(q[b>>2]);b=q[212966];if(b){i=c+4|0;while(1){a:{if(!q[b+20>>2]){break a}g=d+16|0;c=g;q[c>>2]=0;q[c+4>>2]=0;c=a?q[a>>2]:0;q[d+20>>2]=e;q[d+16>>2]=c;if(!(xi[q[b+20>>2]](g)|0)){c=i+(f&-4)|0;q[c>>2]=q[c>>2]|1<<(f&3);break a}q[d>>2]=q[b>>2];Ai(4,119883,119890,d)}f=f+1|0;b=q[b+36>>2];if(b){continue}break}}Yi(h);ti=d+48|0}function zca(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(b>>>0<2097152){b:{if(a+1>>>0<2){break b}b=a&65535;f=q[77547];if(b>>>0>=t[f+32>>2]){break a}g=q[q[f+24>>2]+(b<<2)>>2];if(!g){break b}e=s[q[f+28>>2]+(b<<1)>>1]==(a>>>16|0)?g:0}p[e+42>>1]=d;p[e+40>>1]=c;a=q[e+292>>2];b=a;f=q[e+288>>2];if(a|f){xi[q[77503]](f,b,e)}p[e+90>>1]=d;p[e+88>>1]=c;a=q[e+300>>2];b=a;f=q[e+296>>2];if(a|f){xi[q[77503]](f,b,e+48|0)}p[e+138>>1]=d;p[e+136>>1]=c;a=q[e+308>>2];b=a;f=q[e+304>>2];if(a|f){xi[q[77503]](f,b,e+96|0)}p[e+186>>1]=d;p[e+184>>1]=c;a=q[e+316>>2];b=a;f=q[e+312>>2];if(a|f){xi[q[77503]](f,b,e+144|0)}p[e+282>>1]=d;p[e+280>>1]=c;p[e+234>>1]=d;p[e+232>>1]=c;mJ(e,1);return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function N4(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti+ -64|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Ri(a,1);a:{if(e<4294967296&e>=0){c=~~e>>>0;break a}c=0}b:{if(c>>>0>=8){q[b+4>>2]=c;q[b>>2]=110485;a=Bi(a,112428,b);break b}q[b+32>>2]=c;q[b+36>>2]=0;q[b+24>>2]=12;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+60>>2];q[c+32>>2]=q[b+56>>2];q[c+36>>2]=a;a=q[b+52>>2];q[c+24>>2]=q[b+48>>2];q[c+28>>2]=a;a=q[b+44>>2];q[c+16>>2]=q[b+40>>2];q[c+20>>2]=a;a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a;a=0;break b}q[b+16>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b+16|0)}ti=b- -64|0;return a|0}J(110492,110389,475,114319);G()}function Tna(a){a=a|0;var b=0,c=0,d=0;d=ti-16|0;ti=d;b=q[a+8>>2]-q[a+12>>2]>>4;a:{if((b|0)>=3){c=Bi(a,17097,0);break a}b:{if(!b){break b}c:{d:{e:{if((Ei(a,1)|0)==1){if((b|0)<2){break e}c=Bi(a,17139,0);break a}c=0;if((b|0)<2){break d}b=1;if((Ei(a,2)|0)==1){c=Ej(a,2);Ci(a,-2);c=(c|0)!=0;break c}c=Bi(a,17204,0);break a}c=Ej(a,1);Ci(a,-2);b=b-1|0;c=(c|0)!=0}if(!b){break b}}if((Ei(a,1)|0)==5){c=$K(a,c);if(c){break a}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(b|0)){break a}J(17246,15841,1976,17268);G()}if(Ei(a,1)){break b}Ai(3,14901,17282,0)}b=Hm(a,1);if((q[b+136>>2]&1024)>>>10|0){q[d>>2]=Mi(q[b+96>>2],q[b+100>>2]);c=Bi(a,17336,d);break a}if(q[b+136>>2]&2048){CF(a,q[b+96>>2],q[b+100>>2])}Qv(q[q[b+80>>2]+8>>2],b,c);c=0}ti=d+16|0;return c|0}function aaa(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;d=ti-16|0;ti=d;c=1;e=q[a+8>>2]-q[a+12>>2]>>4;g=Mj(a,1);h=wi;i=Xi(a,2);j=Xi(a,3);b=Wi(a,4,0);mj(a,5,4);k=dj(a,5,d+12|0);Ti(a);l=Li(a,-1,q[216371],198335);Ci(a,-2);if((e|0)>=6){mj(a,6,1);c=!Ej(a,6)}a:{if(!nj(b,200523)){break a}if(!nj(b,200527)){f=1;break a}if(!nj(b,200532)){f=2;break a}q[d>>2]=b;Bi(a,200534,d)}b=c9(l,g,h,i,j,f,c,k,q[d+12>>2]);b:{if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=0;q[a+8>>2]=q[a+8>>2]+16;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(200484,196298,1762,200509);G()}ti=d+16|0;return 2}function Jj(a,b,c){var d=0,e=0,f=0,g=0;f=c;e=c>>>5|0;if(e>>>0>>0){g=e^-1;d=c;f=d;while(1){f=r[(b+d|0)-1|0]+((f<<5)+(f>>>2|0)|0)^f;d=d+g|0;if(e>>>0>>0){continue}break}}e=q[a+16>>2];d=q[q[e>>2]+((q[e+8>>2]-1&f)<<2)>>2];a:{if(d){while(1){b:{if(q[d+12>>2]!=(c|0)){break b}if(pj(b,d+16|0,c)){break b}a=r[d+5|0];if(!(a&(r[e+20|0]^-1)&3)){break a}o[d+5|0]=a^3;return d}d=q[d>>2];if(d){continue}break}}if(c+1>>>0>=4294967278){Yj(a)}d=lj(a,0,0,c+17|0);q[d+8>>2]=f;q[d+12>>2]=c;e=r[q[a+16>>2]+20|0];o[d+6|0]=0;o[d+4|0]=4;o[d+5|0]=e&3;o[Gi(d+16|0,b,c)+c|0]=0;b=q[a+16>>2];c=(q[b+8>>2]-1&f)<<2;q[d>>2]=q[c+q[b>>2]>>2];q[c+q[b>>2]>>2]=d;c=q[b+4>>2]+1|0;q[b+4>>2]=c;b=q[b+8>>2];if(b>>>0>=c>>>0|(b|0)>1073741822){break a}Lx(a,b<<1)}return d}function cfa(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f=q[a+4>>2];g=q[a>>2];h=f-g|0;if((h|0)<1){break e}f:{if((f|0)!=(g|0)){f=g-f|0;f=((f|0)>(h|0)?f:h)>>>2|0;h=f>>>0>1?f:1;f=0;while(1){g=q[(f<<2)+g>>2];if((b|0)==q[g+8>>2]&q[g+12>>2]==(c|0)){break f}f=f+1|0;if((h|0)==(f|0)){break e}g=q[a>>2];if(q[a+4>>2]-g>>2>>>0>f>>>0){continue}break}}break a}g=q[a>>2];if(q[a+4>>2]-g>>2>>>0<=f>>>0){break a}g=q[g+(f<<2)>>2];break d}h=a+4|0;g=_y(b,c);f=q[a+4>>2];i=q[a+8>>2];if((f|0)==(i|0)){if(o[a+12|0]&1){break c}Ii((f-q[a>>2]>>2)+4|0,4,a,a+8|0,h);i=q[a+8>>2];f=q[a+4>>2]}if((f|0)==(i|0)){break b}q[h>>2]=f+4;q[f>>2]=g}Js(g,d,e);yJ(a,b,c,d,e);return}J(43213,43092,493,43288);G()}J(43068,43092,533,43148);G()}J(43300,43092,479,43311);G()}function Qda(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:{if(e>>>0<2097152){g=d;e:{if(g+1>>>0<2){break e}h=g&65535;if(h>>>0>=t[a+32>>2]){break d}i=q[q[a+24>>2]+(h<<2)>>2];if(!i){break e}f=s[q[a+28>>2]+(h<<1)>>1]==(g>>>16|0)?i:0}if(s[f+12>>1]<=c>>>0){break c}a=0;g=q[f>>2];if(g>>>0<=2){a=q[(g<<2)+89860>>2]}ab(q[(b<<2)+257568>>2]);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}ta(a|0,q[q[f+4>>2]+(c<<2)>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}kJ(d,e,q[f+40>>2],q[f+44>>2],q[f+48>>2],q[f+52>>2],x(1));return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}J(89712,84160,3332,89744);G()}Vi(b,89744,3341);J(84254,84160,3341,89744);G()}Vi(a,89744,3343);J(84254,84160,3343,89744);G()}function CU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=ti-1024|0;ti=i;h=-16512;j=q[a+4>>2];if(!(q[a+164>>2]|j-16>>>0>1008)){h=Tt(a,b,c,e,i);if(!h){c=2;b=r[i|0]|r[i+1|0]^2;e=0;a=0;while(1){h=a;k=e;a=r[c+i|0];e=(((0-a|a)^-1)&128)>>>7|e;a=h+((((k|0-e)^-1)&128)>>>7|0)|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}c=e&255;c=b|((0-c|c)>>31^-1)&1|a-8>>>31;h=(0-c|c)>>31;b=j-11|0;b=b>>>0>>0?b:g;e=(c|0-c)>>31;k=b&e|(j-a|0)-3&(e^-1);e=b-k>>>31|0;a=e;h=h&16640|(0-a|a)>>31&17408&(h^-1);if(j>>>0>=12){a=c|e;c=(0-a|a)>>31^-1;a=11;while(1){l=a+i|0;o[l|0]=c&r[l|0];a=a+1|0;if((j|0)!=(a|0)){continue}break}}a=(i+j|0)-b|0;c=(e|0-e)>>31;c=c&b|(c^-1)&k;vT(a,b,b-c|0);if(g){Gi(f,a,b)}q[d>>2]=c;h=0-h|0}xi[q[68401]](i,0,1024)|0}ti=i+1024|0;return h}function mC(a){var b=0;q[a+4>>2]=0;b=q[a+92>>2];if(b){xi[b|0](q[a+88>>2],0,0)}q[a+244>>2]=0;q[a+248>>2]=0;q[a+124>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+260>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0;q[a+272>>2]=0;nC(a);q[a+144>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;p[a+140>>1]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+216>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0;q[a+176>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;if(r[a+230|0]){o[a+230|0]=0}q[a+72>>2]=0;q[a+76>>2]=0;q[a+220>>2]=0;q[a+224>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;Fi(q[a+184>>2],0,16749);q[a+136>>2]=0;Fi(q[a+100>>2],0,16749);b=q[a+80>>2];if(b){Kr(b);yi(q[a+80>>2]);q[a+80>>2]=0}b=q[a+60>>2];if(b){Lr(b);yi(q[a+60>>2]);q[a+60>>2]=0}q[a+240>>2]=0;Rw(a)}function Y9(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=x(0),n=x(0);b=ti-16|0;ti=b;j=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);k=-2;f=Li(a,-1,q[216371],198335);Ci(a,-2);l=fj(a,1,b+12|0);if((Ei(a,3)|0)==6){c=Wn(a,3);bj(a,-1e4,q[f+8>>2]);Qi(a,1);k=un(a,-2);Ci(a,-2)}a:{if((j|0)<4){d=1;break a}mj(a,4,5);Qi(a,4);Ki(a,-1,200391);g=0;b:{if(!Ei(a,-1)){break b}g=Ri(a,-1)}Ci(a,-2);Ki(a,-1,200398);d=1;c:{if(!Ei(a,-1)){break c}d=Ri(a,-1)}Ci(a,-2);Ci(a,-2)}m=x(d);n=x(g);h=Mj(a,2);i=wi;e=q[b+12>>2];d:{if(c){c=iv(f,e,h,i,n,m,1403,c,k);break d}c=iv(f,e,h,i,n,m,0,0,0)}if(c){e=Mi(h,i);q[b+4>>2]=Mi(q[l+544>>2],q[l+548>>2]);q[b>>2]=e;Bi(a,200412,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(j|0)){J(196277,196298,1638,200468);G()}ti=b+16|0;return 0}function Pm(a){var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;a:{c=q[a>>2];e=q[c+8>>2]-q[c+12>>2]>>4;if((e|0)>-1){d=q[a+4>>2];b:{if((d|0)!=-2){bj(c,-1e4,d);c:{if((Ei(c,-1)|0)!=5){break c}oo(c,-1,q[a+16>>2]);oo(c,-1,q[a+12>>2]);f=q[a+8>>2];if((f|0)==-2){break c}d=q[81758];if((d|0)<=0){Ai(4,117469,117938,0);d=q[81758]}q[81758]=d-1;oo(c,-1e4,f)}q[a+12>>2]=-2;q[a+16>>2]=-2;q[a+4>>2]=-2;q[a+8>>2]=-2;Ci(c,-2);break b}Ai(3,117469,118257,0)}a=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(e|0)){break a}ti=b+32|0;return}q[b+12>>2]=e;q[b+4>>2]=1631;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=e;q[b+20>>2]=1631;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function $K(a,b){var c=0,d=0,e=0,f=0,g=0;e=ti-48|0;ti=e;Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);f=q[q[q[c+4>>2]+80>>2]+8>>2];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;a:{if(rj(a,1)){while(1){c=e;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;qk(a,-1,c+16|0,0);d=0;g=0;b:{if(!f){break b}c=q[f>>2];if(!c){break b}d=q[c+3216>>2];g=q[c+3220>>2]}if((d|0)!=q[e+16>>2]|(g|0)!=q[e+20>>2]){Bi(a,18782,0)}d=Vm(f,q[e+32>>2],q[e+36>>2]);c:{if(d){if((q[d+136>>2]&1024)>>>10|0){q[e>>2]=Mi(q[d+96>>2],q[d+100>>2]);a=Bi(a,17336,e);break a}if(q[d+136>>2]&2048){CF(a,q[d+96>>2],q[d+100>>2])}Qv(f,d,b);break c}Ai(3,14901,18852,0)}Ci(a,-2);if(rj(a,1)){continue}break}}a=0}ti=e+48|0;return a}function tj(a,b){var c=0,d=0,e=0;e=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];c=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}b=q[a+8>>2];e=Qx(e,q[c>>2],b-32|0);d=b-16|0;b=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=b;q[e+8>>2]=q[d+8>>2];b=q[a+8>>2];c:{if(q[b-8>>2]<4|!(r[q[b-16>>2]+5|0]&3)){break c}c=q[c>>2];if(!(r[c+5|0]&4)){break c}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b-32}function oE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=q[a+116>>2];q[a+116>>2]=e;i=r[a+57|0];f=q[a+40>>2];g=q[a+20>>2];j=s[a+52>>1];e=ou(a,b,c);a:{if(!e){break a}b=q[a+32>>2]+d|0;qo(a,b);f=g-f|0;c=b;b:{c:{d:{switch(e-2|0){case 2:q[b>>2]=Jj(a,135534,17);d=4;break c;case 3:q[b>>2]=Jj(a,135552,23);d=4;break c;case 0:case 1:break d;default:break b}}d=q[a+8>>2]-16|0;g=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=g;d=q[d+8>>2]}q[c+8>>2]=d}p[a+52>>1]=j;q[a+8>>2]=b+16;c=q[a+40>>2];b=c+f|0;q[a+20>>2]=b;q[a+12>>2]=q[b>>2];q[a+24>>2]=q[b+12>>2];o[a+57|0]=i;b=q[a+48>>2];if((b|0)<20001|(f|0)>479975){break a}b=lj(a,c,w(b,24),48e4);q[a+48>>2]=2e4;q[a+40>>2]=b;q[a+36>>2]=b+479976;q[a+20>>2]=b+w((q[a+20>>2]-c|0)/24|0,24)}q[a+116>>2]=h;return e}function Cx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=q[a+92>>2]+7|0;h=g>>>3|0;f=-20352;if(q[a+48>>2]){e=q[a+60>>2]?1:2}else{e=0}a:{b:{if((e|0)!=2){break b}while(1){e=Kn(b,h,c,d);if(e){break a}if(!Al(b)){continue}break}f=Al(b)-1|0;e=q[a+92>>2];c:{if(f>>>0>e>>>0){e=Wk(b,f-e|0);if(!e){break c}break a}e=Lo(b,e,1);if(e){break a}}e=Lo(b,0,0);if(e){break a}e=Lo(b,1,0);if(e){break a}f=0;if(q[a+92>>2]!=254){break b}e=Lo(b,2,0);if(e){break a}}e=f;if(q[a+48>>2]){f=q[a+60>>2]?1:2}else{f=0}if((f|0)!=1){break a}e=Kn(b,h,c,d);if(e){break a}i=a+76|0;g=g&-8;f=0;while(1){e=Wk(b,g-q[a+92>>2]|0);if(e){break a}if((f|0)==30){return-19712}if((uj(b,1)|0)>=0){e=0;if((Lj(b,i)|0)<0){break a}}f=f+1|0;e=Kn(b,h,c,d);if(!e){continue}break}}return e}function wja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=x(0);d=ti-80|0;ti=d;a:{c=q[a+80>>2];b:{if(!c|(c|0)!=q[63316]){break b}e=q[a+72>>2];c=TK(e,q[a+24>>2],q[a+28>>2],d+78|0);if(c){q[d>>2]=q[q[63316]+4>>2];q[d+4>>2]=c;Ai(4,33031,33073,d);o[b+4|0]=0;break b}f=r[q[b+12>>2]+140|0];c=q[q[q[e+80>>2]+8>>2]>>2];if(f>>>0>2]>>2]){c=q[(c+(f<<2)|0)+12>>2]}else{c=0}if(r[c+140|0]!=r[q[b+12>>2]+140|0]){break a}b=GG(d+16|0);u[b>>2]=u[a+96>>2];u[b+4>>2]=u[a+100>>2];u[b+8>>2]=u[a+104>>2];u[b+16>>2]=u[a+112>>2];u[b+20>>2]=u[a+116>>2];g=u[a+120>>2];q[b+32>>2]=e;u[b+24>>2]=g;p[b+40>>1]=q[a+128>>2];a=r[a+132|0];f=s[d+78>>1];q[b+36>>2]=e;q[b+44>>2]=a|f<<16;if(o[c+141|0]&1){break b}}ti=d+80|0;return}J(33136,33206,839,33258);G()}function hU(a){var b=0,c=0;c=q[a+128>>2];a:{if((c|0)==22){b=_T(a);if(b){break a}c=q[a+128>>2]}b:{c:{switch(c-20|0){case 0:b=-29184;if(q[a+132>>2]!=1|r[q[a+120>>2]]!=1){break a}b=0;if(!(r[q[a>>2]+184|0]&2)){break a}d:{switch(q[a+4>>2]-10|0){case 0:case 2:break b;default:break d}}return q[a+68>>2]?-25728:-26368;case 1:b=-29184;if(q[a+132>>2]!=2){break a}b=-30592;e:{f:{a=q[a+120>>2];switch(r[a|0]-1|0){case 1:break a;case 0:break f;default:break e}}a=r[a+1|0];return a?(a|0)==100?0:-26240:-30848}return-26240;default:break c}}b=0;if(!(r[q[a>>2]+184|0]&2)){break a}if((c|0)!=23){break b}c=q[a+4>>2];if((c|0)==16){break b}b=-26240;if((c|0)!=2|q[a+8>>2]!=1){break a}}b=0;if(!q[a+68>>2]|q[a+4>>2]!=16){break a}rC(a)}return b}function E2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0),t=x(0),w=x(0),y=x(0);b=ti-144|0;ti=b;q[b+140>>2]=0;f=Wi(a,1,b+140|0);c=Fm(a,2);d=q[b+140>>2]+350|0;e=Oi((d|0)>-1?d:-1);g=u[c>>2];h=u[c+16>>2];i=u[c+32>>2];j=u[c+48>>2];k=u[c+4>>2];l=u[c+20>>2];m=u[c+36>>2];n=u[c+52>>2];o=u[c+8>>2];p=u[c+24>>2];r=u[c+40>>2];s=u[c+56>>2];t=u[c+12>>2];w=u[c+28>>2];y=u[c+44>>2];v[b+128>>3]=u[c+60>>2];v[b+120>>3]=y;v[b+112>>3]=w;v[b+104>>3]=t;v[b+96>>3]=s;v[b+88>>3]=r;v[b+80>>3]=p;v[b+72>>3]=o;v[b- -64>>3]=n;v[b+56>>3]=m;v[b+48>>3]=l;v[b+40>>3]=k;v[b+32>>3]=j;v[b+24>>3]=i;v[b+16>>3]=h;q[b>>2]=f;v[b+8>>3]=g;hj(e,d,129868,b);Hi(a,e);yi(e);ti=b+144|0;return 1}function Apa(a){var b=0,c=0,d=0;a:{if(o[a+3256|0]&1){break a}b=q[a+3244>>2];if(!b){break a}yi(b)}b:{if(o[a+3204|0]&1){break b}b=q[a+3192>>2];if(!b){break b}yi(b)}c:{if(o[a+3188|0]&1){break c}b=q[a+3176>>2];if(!b){break c}yi(b)}d:{if(o[a+3172|0]&1){break d}b=q[a+3152>>2];if(b){yi(b)}b=q[a+3144>>2];if(!b){break d}yi(b)}e:{if(o[a+3140|0]&1){break e}b=q[a+3128>>2];if(!b){break e}yi(b)}c=a+3128|0;d=a+1080|0;while(1){b=c;c=b-16|0;f:{if(o[b-4|0]&1){break f}b=q[c>>2];if(!b){break f}yi(b)}if((c|0)!=(d|0)){continue}break}g:{if(o[a+1076|0]&1){break g}b=q[a+1064>>2];if(!b){break g}yi(b)}h:{if(o[a+1060|0]&1){break h}b=q[a+1052>>2];if(!b){break h}yi(b)}i:{if(o[a+1048|0]&1){break i}b=q[a+1036>>2];if(!b){break i}yi(b)}return a}function lla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=q[a+4>>2];i=b+108|0;j=b+104|0;a:{b:{e=q[b+104>>2];d=q[b+112>>2]-e>>2;f=q[b+120>>2];g=q[b+124>>2]-f|0;c=g>>2;h=q[b+108>>2];e=h-e>>2;if(d>>>0>>0){if(o[b+116|0]&1){break b}Ii(c+d|0,4,j,b+112|0,i);h=q[b+108>>2];c=q[b+104>>2];e=h-c>>2;d=q[b+112>>2]-c>>2;f=q[b+120>>2];g=q[b+124>>2]-f|0;c=g>>2}if(d-e>>>0>>0){break a}Gi(h,f,g);q[b+124>>2]=q[b+120>>2];c=q[b+108>>2]+(c<<2)|0;q[b+108>>2]=c;d=q[b+104>>2];if((c|0)!=(d|0)){c=0;while(1){xi[q[77440]](q[(c<<2)+d>>2]);c=c+1|0;d=q[j>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}c=q[b+140>>2];if(c){yi(c)}Pp(q[q[a>>2]+4>>2],180,b);Gia(b);yi(b);return 0}J(41488,40669,493,40355);G()}J(41563,40669,540,41592);G()}function C2(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=0,h=0;c=ti-32|0;ti=c;d=aj(a,1);q[c+12>>2]=0;b=Wi(a,2,c+12|0);a:{b:{c:{switch(q[c+12>>2]-2|0){case 1:e=r[b+1|0];if((e&252)!=48){break b}b=r[b+2|0];if((b&252)!=48){break b}b=((b<<4)+d|0)-768|0;u[c+16>>2]=u[b>>2];u[c+20>>2]=u[b+4>>2];u[c+24>>2]=u[b+8>>2];u[c+28>>2]=u[b+12>>2];f=u[((e<<2)+c|0)-176>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=f;q[a+8>>2]=q[a+8>>2]+16;a=1;break a;case 0:break c;default:break b}}b=r[b+1|0];if((b&252)!=48){break b}b=((b<<4)+d|0)-768|0;d=q[b>>2];e=q[b+4>>2];g=q[b+12>>2];h=q[b+8>>2];b=jj(a,16);q[b+8>>2]=h;q[b+12>>2]=g;q[b>>2]=d;q[b+4>>2]=e;Ki(a,-1e4,128704);ij(a,-2);a=1;break a}q[c+4>>2]=128736;q[c>>2]=128752;a=Bi(a,129736,c)}ti=c+32|0;return a|0}function QT(a){var b=0,c=0,d=0;b=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;a:{if(b>>>0<=9){b=q[(b<<2)+176156>>2];break a}b=0}if(!(!b|(q[a+232>>2]?0:!(o[q[a>>2]+184|0]&1)))){b:{c:{b=q[a+68>>2];if(b){c=q[b+452>>2];if(c){break c}}c=q[q[a>>2]+84>>2];if(c){break c}b=0;break b}b=q[c>>2]}d:{if(!b){c=7;break d}c=7;while(1){d=q[b+8>>2];if(d>>>0>16381-c>>>0){return-29952}o[q[a+204>>2]+c|0]=d>>>16;o[(q[a+204>>2]+c|0)+1|0]=d>>>8;o[(q[a+204>>2]+c|0)+2|0]=d;c=c+3|0;Gi(c+q[a+204>>2]|0,q[b+12>>2],d);c=c+d|0;b=q[b+340>>2];if(b){continue}break}}b=c-7|0;o[q[a+204>>2]+4|0]=b>>>16;o[q[a+204>>2]+5|0]=b>>>8;o[q[a+204>>2]+6|0]=b;q[a+208>>2]=22;q[a+212>>2]=c;o[q[a+204>>2]]=11;q[a+4>>2]=q[a+4>>2]+1;return rq(a)}q[a+4>>2]=q[a+4>>2]+1;return 0}function U$(a){var b=0,c=0,d=0,e=0,f=0;c=Oi(28);q[c>>2]=0;q[c+4>>2]=0;o[c+24|0]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;Ii(q[a>>2],12,c,b,c+4|0);a:{e=q[a>>2];f=q[b>>2];b=q[c>>2];if(e>>>0<=(f-b|0)/12>>>0){q[c+4>>2]=w(e,12)+b;if(!e){b=0;break a}while(1){b=w(d,12)+b|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;b=q[a>>2];d=d+1|0;if(b>>>0<=d>>>0){break a}b=q[c>>2];if((q[c+4>>2]-b|0)/12>>>0>d>>>0){continue}break}J(203674,203579,479,203685);G()}J(203647,203579,506,203666);G()}d=s[c+20>>1];a=b&65535;if(d>>>0<=a>>>0){e=q[c+16>>2];f=Ji(a<<1);q[c+16>>2]=f;f=Gi(f,e,d<<1);p[c+20>>1]=b;if(a>>>0>d>>>0){while(1){p[f+(d<<1)>>1]=d;d=d+1|0;if((a|0)!=(d|0)){continue}break}}yi(e);return c}J(203696,203719,112,203635);G()}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;o[d-1|0]=b;o[a|0]=b;if(c>>>0<3){break a}o[d-2|0]=b;o[a+1|0]=b;o[d-3|0]=b;o[a+2|0]=b;if(c>>>0<7){break a}o[d-4|0]=b;o[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=w(b&255,16843009);q[e>>2]=b;c=c-d&-4;d=c+e|0;q[d-4>>2]=b;if(c>>>0<9){break a}q[e+8>>2]=b;q[e+4>>2]=b;q[d-8>>2]=b;q[d-12>>2]=b;if(c>>>0<25){break a}q[e+24>>2]=b;q[e+20>>2]=b;q[e+16>>2]=b;q[e+12>>2]=b;q[d-16>>2]=b;q[d-20>>2]=b;q[d-24>>2]=b;q[d-28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){q[b+24>>2]=f;q[b+28>>2]=d;q[b+16>>2]=f;q[b+20>>2]=d;q[b+8>>2]=f;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=d;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a|0}function fO(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=x(0),o=x(0),p=0,s=0;if(q[b+44>>2]==(f|0)){if(f){n=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));o=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=a<<1;p=r[d+c|0];h=x(n*x(a|0));l=x(+x(i+x(o*h))*1.5707963267948966);k=xl(l);d=d|1;s=r[d+c|0];m=(a<<3)+e|0;h=x(g+x(j*h));u[m>>2]=u[m>>2]+x(k*x(h*x(x(x(p>>>0)+x(-128))*x(255))));l=uk(l);d=(d<<2)+e|0;u[d>>2]=u[d>>2]+x(l*x(h*x(x(x(s>>>0)+x(-128))*x(255))));a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(205125,204086,1019,205192);G()}function gpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=ti-96|0;ti=c;d=q[q[a+24>>2]>>2];e=q[q[d>>2]+44>>2];q[c+92>>2]=0;q[c+88>>2]=0;q[c+84>>2]=0;o[c+83|0]=0;q[c+76>>2]=0;b=-1;a:{if(VK(e+60|0,q[a+16>>2],q[a+20>>2],c+88|0,c+92|0,c+84|0,c+83|0,c+76|0)){b=q[q[d>>2]>>2];g=q[b+8>>2]-q[b+12>>2]>>4;Ti(b);e=Ei(b,-1);Ci(b,-2);if(!e){bj(b,-1e4,q[d+12>>2]);jk(b)}bj(b,-1e4,q[d+16>>2]);d=Gi(c,a+32|0,72);f=q[d+88>>2];if(r[d+83|0]){Hi(b,f);Vk(b,-2);b:{if(!Ei(b,-1)){break b}if(Iv(b,-1,d)){break b}u[(d+(q[d+76>>2]<<2)|0)+8>>2]=v[a+40>>3]}Ci(b,-2)}Hi(b,f);QK(b,d);tj(b,-3);Ci(b,-2);if(!e){a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;jk(b)}if(q[b+8>>2]-q[b+12>>2]>>4!=(g|0)){break a}b=0}ti=c+96|0;return b|0}J(13307,12848,1021,13328);G()}function Efa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+16>>2];c=zi(55962);e=wi;a:{d=q[b+4>>2];b:{if(!d){break b}d=q[q[b>>2]+(Qwa(c,e,d)<<2)>>2];if((d|0)==-1){break b}f=q[b+8>>2];while(1){b=f+(d<<4)|0;if((c|0)==q[b>>2]&(e|0)==q[b+4>>2]){break a}d=q[b+12>>2];if((d|0)!=-1){continue}break}}Ai(4,55974,55982,0);return-6}b=q[a+16>>2];e=zi(56066);g=wi;c:{c=q[b+4>>2];d:{if(!c){break d}c=q[q[b>>2]+(Qwa(e,g,c)<<2)>>2];if((c|0)==-1){break d}f=f+(d<<4)|0;d=q[b+8>>2];while(1){b=d+(c<<4)|0;if((e|0)==q[b>>2]&(g|0)==q[b+4>>2]){break c}c=q[b+12>>2];if((c|0)!=-1){continue}break}}Ai(4,55974,56071,0);return-6}b=Ji(8);q[b>>2]=q[(d+(c<<4)|0)+8>>2];q[b+4>>2]=q[f+8>>2];q[76536]=b;return rk(q[a>>2],q[a+4>>2],b,467,468,0,469,470)|0}function x7(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=ti-32|0;ti=d;f=on(a,163017);e=on(a,163022);a:{if(!e){h=1;break a}g=r[e|0];o[e|0]=0;q[d>>2]=d+28;q[d+4>>2]=d+24;q[d+8>>2]=d+20;h=-1;if((BC(a,163025,d)|0)!=3){break a}b:{if(f){f=f+4|0}else{if(!c|q[d+20>>2]!=204){break b}c=e+1|0;f=Ui(c)+c|0}c=Oj(a,32);if(!c){break a}c=Oj(c+1|0,32);if(!c){break a}xi[1359](b,q[d+28>>2],q[d+24>>2],q[d+20>>2],c+1|0);j=r[f|0];h=0;o[f|0]=0;c=Xo(e+2|0,163022,d+16|0);if(c){while(1){e=Oj(c,58);g=e;if(!e){h=-1;break a}while(1){k=r[g+1|0];i=g+1|0;g=i;if((k|0)==32){continue}break}g=r[e|0];o[e|0]=0;xi[1360](b,c,i);o[e|0]=g;c=Xo(0,163022,d+16|0);if(c){continue}break}}o[f|0]=j;xi[1361](b,f-a|0);break a}o[e|0]=g;h=1}ti=d+32|0;return h}function kla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=q[a+8>>2];b=q[e+20>>2];f=q[q[a+16>>2]>>2];if(f>>>0>2]-b>>3>>>0){b=q[b+(f<<3)>>2];d=q[e+4>>2];if(b>>>0>2]-d>>2>>>0){c=q[q[q[a+4>>2]+80>>2]>>2];b=q[d+(b<<2)>>2];a=q[b+192>>2];if(a){Pi(c,a)}a=q[b+160>>2];if(a){Pi(c,a)}a=q[b+164>>2];if(a){Pi(c,a)}a=q[b+168>>2];if(a){Pi(c,a)}a=q[b+172>>2];if(a){Pi(c,a)}a=q[b+176>>2];if(a){Pi(c,a)}a=q[b+180>>2];if(a){Pi(c,a)}a=q[b+184>>2];if(a){Pi(c,a)}a=q[b+188>>2];if(a){Pi(c,a)}g=q[b+152>>2];d=q[b+156>>2];if(!d){d=q[g+4>>2]}a=q[b+192>>2];if(!a){a=q[g+8>>2]}if(q[a+104>>2]==1){pA(e,q[d+8>>2],q[d+12>>2])}a=q[b+156>>2];if(a){Pi(c,a)}a=q[b+148>>2];if(a){fr(a)}yi(b);R6(e+4|0,f);return 0}}J(41371,40669,479,41382);G()}function jP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=ti-2064|0;ti=g;e=iP(a,b,c,d,g);a:{if(!e){e=0;break a}b:{switch(q[g>>2]-8|0){default:J(164004,164058,1209,165165);G();case 8:f=w(q[d>>2],w(q[c>>2],q[b>>2]));i=Ji(f);c:{if(i){a=0;if((f|0)>0){while(1){o[a+i|0]=r[((a<<1)+e|0)+1|0];a=a+1|0;if((f|0)!=(a|0)){continue}break}}yi(e);break c}q[215613]=164360}e=i;break;case 0:break b}}if(!q[215614]){break a}f=q[c>>2];if((f|0)<2){break a}a=w(q[b>>2],q[d>>2]);if(!a){break a}b=f>>1;i=(b|0)>1?b:1;c=0;while(1){d=w(a,c)+e|0;j=w(a,f+(c^-1)|0)+e|0;b=a;while(1){h=b>>>0<2048?b:2048;Gi(g+16|0,d,h);d=Gi(d,j,h);j=Gi(j,g+16|0,h)+h|0;d=d+h|0;b=b-h|0;if(b){continue}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}ti=g+2064|0;return e}function bk(a,b,c){var d=0,e=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}b=q[a+8>>2];e=mu(a,q[d>>2],c);c=b-16|0;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;q[e+8>>2]=q[c+8>>2];b=q[a+8>>2];c:{if(q[b-8>>2]<4|!(r[q[b-16>>2]+5|0]&3)){break c}c=q[d>>2];if(!(r[c+5|0]&4)){break c}b=q[a+16>>2];o[c+5|0]=r[c+5|0]&251;q[c+24>>2]=q[b+40>>2];q[b+40>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b-16}function dw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{if(b>>>0<2){e=q[a+4>>2];f=kj(c,0);g=kj(c,1);h=f|g;i=e&1;e=kj(c,2);c=kj(c,3);f:{if(d){if(!b){if(h>>>0>31|e>>>0>=16){break e}d=f<<10|i|g<<5;e=e<<1;c=32768;break f}if((e|h)>>>0>=32){break d}d=f<<10|g<<5;c=32768;break f}if(!b){if(h>>>0>15|(c|e)>>>0>=8){break c}d=f<<8|i|g<<4;e=e<<1;c=c<<12;break f}if((e|h)>>>0>15|c>>>0>=8){break b}d=g<<4|f<<8;c=c<<12}c=c|(d|e);if(c>>>0>=65536){break a}d=q[a+4>>2];if(b){q[a+4>>2]=d&65535|c<<16;return}q[a+4>>2]=c|d&-65536;return}J(103138,92069,3179,105408);G()}J(105425,92069,3191,105408);G()}J(103696,92069,3198,105408);G()}J(105458,92069,3208,105408);G()}J(105501,92069,3215,105408);G()}J(103729,92069,3220,105408);G()}function MC(a,b,c,d,e,f){var g=0;g=ti-80|0;ti=g;a:{if((f|0)>=16384){yk(g+32|0,b,c,d,e,0,0,0,2147352576);d=q[g+40>>2];e=q[g+44>>2];b=q[g+32>>2];c=q[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}yk(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=q[g+24>>2];e=q[g+28>>2];b=q[g+16>>2];c=q[g+20>>2];break a}if((f|0)>-16383){break a}yk(g- -64|0,b,c,d,e,0,0,0,65536);d=q[g+72>>2];e=q[g+76>>2];b=q[g+64>>2];c=q[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}yk(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=q[g+56>>2];e=q[g+60>>2];b=q[g+48>>2];c=q[g+52>>2]}yk(g,b,c,d,e,0,0,0,f+16383<<16);b=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=b;b=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=b;ti=g+80|0}function eG(a,b,c,d,e){var f=0,g=0,h=0;f=ti-1072|0;ti=f;q[f+1064>>2]=c;q[f+1068>>2]=d;g=q[a>>2];h=q[g+24>>2];a:{if((h|0)==((q[g+16>>2]-q[g+8>>2]|0)/48|0)){q[f>>2]=h;q[f+4>>2]=q[60712];Ai(4,24387,25246,f);b=-11;break a}b:{if(q[e+8>>2]){if(q[e+28>>2]!=1){break b}BH(g,c,d,e);wz(q[a+4>>2],q[e+8>>2],f+1064|0);if(!q[a+8>>2]){b=0;break a}q[f+20>>2]=b;q[f+16>>2]=24386;hj(f+32|0,1024,24380,f+16|0);b=0;d=f+32|0;e=d;while(1){c=r[e|0];c:{d:{if((c|0)!=47){if(c){break d}b=0;o[d|0]=0;a=q[a+8>>2];c=q[f+1064>>2];d=q[f+1068>>2];q[f+28>>2]=Jk(f+32|0);WH(a,c,d,f+28|0);break a}if((b&255)==47){break c}}o[d|0]=c;d=d+1|0}e=e+1|0;b=c;continue}}J(25327,24451,1303,25350);G()}J(25365,24451,1304,25350);G()}ti=f+1072|0;return b}function DG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[a+2384>>2];a:{d=q[c+4>>2];if(d){while(1){a=q[q[c>>2]+(g<<2)>>2];if((a|0)!=-1){while(1){d=q[c+8>>2]+w(a,40)|0;a=q[b+20>>2];b:{if(!a){break b}e=q[d>>2];f=q[d+4>>2];a=q[q[b+16>>2]+(Qwa(e,f,a)<<2)>>2];if((a|0)==-1){break b}i=q[b+24>>2];while(1){a=i+(a<<4)|0;if((e|0)!=q[a>>2]|q[a+4>>2]!=(f|0)){a=q[a+12>>2];if((a|0)!=-1){continue}break b}break}f=q[d+16>>2];e=q[c+32>>2];if(f>>>0>=q[c+36>>2]-e>>4>>>0){break a}e=e+(f<<4)|0;f=q[d+20>>2];if(q[d+24>>2]==9){xi[q[77476]](h,e,f>>>2|0,q[a+8>>2]);break b}xi[q[77475]](h,e,f,q[a+8>>2])}a=q[d+32>>2];if((a|0)!=-1){continue}break}d=q[c+4>>2]}g=g+1|0;if(g>>>0>>0){continue}break}}return}J(106571,106507,479,106582);G()}function qA(a,b,c,d,e,f){var g=0;a:{b:{if(!b){break b}b=s[b>>1];if((b|0)==65535){break b}if(!(e|f)){while(1){b=b&65535;e=q[a+16>>2];if(b>>>0>=q[a+20>>2]-e>>1>>>0){break a}b=s[e+(b<<1)>>1];f=q[a>>2];if(b>>>0>=(q[a+4>>2]-f|0)/104>>>0){break a}b=f+w(b,104)|0;if(q[b+8>>2]==(c|0)&q[b+12>>2]==(d|0)){o[b+96|0]=r[b+96|0]&252}b=s[b+94>>1];if((b|0)!=65535){continue}break b}}while(1){b=b&65535;g=q[a+16>>2];if(b>>>0>=q[a+20>>2]-g>>1>>>0){break a}b=s[g+(b<<1)>>1];g=q[a>>2];if(b>>>0>=(q[a+4>>2]-g|0)/104>>>0){break a}b=g+w(b,104)|0;if(!((c|0)!=q[b+8>>2]|q[b+12>>2]!=(d|0)|((e|0)!=q[b+16>>2]|(f|0)!=q[b+20>>2]))){o[b+96|0]=r[b+96|0]&252}b=s[b+94>>1];if((b|0)!=65535){continue}break}}return}J(6739,6485,479,6750);G()}function wt(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-32|0;ti=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;a:{while(1){q[(c+16|0)+(d<<2)>>2]=Jw(a,c+12|0,0);e=q[c+12>>2];if((e|0)==(a|0)){break a}e=r[e|0];if(o[a|0]-48>>>0>=10|(e?(e|0)!=46:0)){break a}a=q[c+12>>2];if(r[a|0]){a=a+1|0;d=d+1|0;if((d|0)!=4){continue}break a}break}g=c;a=c;b:{c:{d:{e:{switch(d|0){case 2:a=q[c+24>>2];break c;case 1:d=q[c+20>>2];break d;case 4:break a;case 0:break e;default:break b}}d=q[c+16>>2];q[c+16>>2]=d>>>24;d=d&16777215}q[a+20>>2]=d>>>16;a=d&65535}e=a;q[g+24>>2]=e>>>8;q[c+28>>2]=e&255}a=0;while(1){e=q[(c+16|0)+(a<<2)>>2];if(e>>>0>255){f=0;break a}o[a+b|0]=e;f=1;a=a+1|0;if((a|0)!=4){continue}break}}ti=c+32|0;return f}function tL(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=ti-128|0;ti=f;q[f+120>>2]=0;a:{b:{c:{if(a){if(!c){break c}if(!d){break b}if(e){q[e>>2]=0}i=4;d:{if(s[c>>1]!=1){break d}g=Kqa(f- -64|0);uL(f+48|0,g,c);h=f+32|0;q[h+8>>2]=a;q[h>>2]=a;q[h+4>>2]=a+b;i=EL(g,h,c);if(!i){xL(h);NA(g,h,c,f+48|0);b=q[g+40>>2]-q[g+32>>2]|0;q[f+28>>2]=0;xo(f+28|0,16,b);a=q[f+28>>2];if(!a){break a}Jqa(g,a,b);uL(f+8|0,g,c);xL(h);i=NA(g,h,c,f+8|0);e:{if(!i){if(e){q[e>>2]=b}j=q[f+28>>2];break e}yi(q[f+28>>2])}q[d>>2]=j}if(o[g+28|0]&1){break d}a=q[g+8>>2];if(a){yi(a)}a=q[g>>2];if(!a){break d}yi(a)}ti=f+128|0;return i}J(22016,22023,163,22042);G()}J(22054,22023,164,22042);G()}J(22059,22023,165,22042);G()}J(22071,22023,190,22042);G()}function fea(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=x(g);h=h|0;var i=0;i=ti-16|0;ti=i;a:{b:{c:{d:{if(a){q[i+8>>2]=0;Gc(x(x(x(c>>>0)/x(255))),x(x(x(d>>>0)/x(255))),x(x(x(e>>>0)/x(255))),x(x(x(f>>>0)/x(255))));if(r[q[77547]+156|0]&64){a=K()|0;if(a){break d}}Fc(x(g));if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}Ec(h|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Hc(b<<5&1024|(b<<14&16384|b<<4&256));if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}ti=i+16|0;return}J(84152,84160,1478,87157);G()}Vi(a,87157,1486);J(84254,84160,1486,87157);G()}Vi(a,87157,1489);J(84254,84160,1489,87157);G()}Vi(a,87157,1492);J(84254,84160,1492,87157);G()}Vi(a,87157,1499);J(84254,84160,1499,87157);G()}function QC(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];return;case 1:b=q[c>>2];q[c>>2]=b+4;b=q[b>>2];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 2:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];q[a+4>>2]=0;return;case 3:b=q[c>>2]+7&-8;q[c>>2]=b+8;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;return;case 4:b=q[c>>2];q[c>>2]=b+4;b=p[b>>1];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 5:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=s[b>>1];q[a+4>>2]=0;return;case 6:b=q[c>>2];q[c>>2]=b+4;b=o[b|0];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 7:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=r[b|0];q[a+4>>2]=0;return;case 8:b=q[c>>2]+7&-8;q[c>>2]=b+8;v[a>>3]=v[b>>3];return;case 9:break b;default:break a}}xi[d|0](a,c)}}function l0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=x(0),k=0,l=0,m=x(0);h=-13;g=q[242116];k=q[g+16>>2];if(k){wj(k);g=q[242116]}f=q[g+80>>2];a:{if(!f){break a}f=q[q[g+76>>2]+(Qwa(a,b,f)<<2)>>2];if((f|0)==-1){break a}i=q[g+84>>2];while(1){l=i+(f<<4)|0;if(q[l>>2]!=(a|0)|q[l+4>>2]!=(b|0)){f=q[l+12>>2];if((f|0)!=-1){continue}break a}break}c=x(x(t[g+33916>>2])*c);b:{if(c=x(0)){h=~~c>>>0;break b}h=0}c:{if((h|0)<1){c=x(0);break c}a=w(q[(i+(f<<4)|0)+8>>2],1056)+g|0;f=q[a+1160>>2];b=q[g+33920>>2];c=x(0);while(1){f=f-1&63;g=f<<3;i=a+648|0;j=u[g+i>>2];c=c>j?c:j;j=u[i+(g|4)>>2];m=j0){continue}break}}u[d>>2]=x(F(c))/x(32767);u[e>>2]=x(F(m))/x(32767);h=0}if(k){qj(k)}return h}function PY(a){a=a|0;var b=0,c=0,d=0;d=ti-32|0;ti=d;c=Wi(a,1,0);Ci(a,1);Ki(a,-1e4,139430);Ki(a,2,c);a:{if(Ej(a,-1)){if((aj(a,-1)|0)!=139888){break a}q[d+16>>2]=c;Bi(a,139892,d+16|0);break a}Ki(a,-10001,139168);if((Ei(a,-1)|0)!=5){Bi(a,139935,0)}Ni(a,139663,0);b=1;while(1){bj(a,-2,b);if(!Ei(a,-1)){q[d+4>>2]=dj(a,-2,0);q[d>>2]=c;Bi(a,139969,d)}Hi(a,c);zk(a,1,1);if((Ei(a,-1)|0)!=6){if(ek(a,-1)){Ol(a,2);b=b+1|0;continue}Ci(a,-2);b=b+1|0;continue}break}b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=139888;q[a+8>>2]=q[a+8>>2]+16;Di(a,2,c);Hi(a,c);zk(a,1,1);if(Ei(a,-1)){Di(a,2,c)}Ki(a,2,c);if((aj(a,-1)|0)!=139888){break a}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-1);Di(a,2,c)}ti=d+32|0;return 1}function JG(a,b,c,d){var e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);f=u[a+56>>2];e=u[a+44>>2];g=x(u[c+16>>2]*e);j=u[a+60>>2];h=x(u[c+20>>2]*e);k=u[a+48>>2];i=x(u[c+24>>2]*e);l=x(x(x(f*g)+x(j*h))-x(k*i));e=u[a+52>>2];m=x(x(f*i)+x(x(e*h)+x(k*g)));n=x(x(x(j*i)+x(k*h))-x(e*g));g=x(x(x(j*g)+x(e*i))-x(f*h));h=x(u[a+40>>2]+x(x(k*l)+x(x(x(f*m)+x(j*n))-x(e*g))));i=x(u[a+36>>2]+x(x(f*g)+x(x(x(j*l)+x(e*m))-x(k*n))));f=x(u[a+32>>2]+x(x(e*n)+x(x(x(j*g)+x(k*m))-x(f*l))));a=r[b+296|0];a:{if(a&4){if(d>x(0)^1){break a}d=x(x(1)/d);u[b+96>>2]=d*x(f-u[b+112>>2]);u[b+104>>2]=d*x(h-u[b+120>>2]);u[b+100>>2]=d*x(i-u[b+116>>2]);break a}o[b+296|0]=a|4}u[b+112>>2]=f;u[b+120>>2]=h;u[b+116>>2]=i}function lr(a){var b=0,c=0,d=0,e=0,f=0;f=ti-16|0;ti=f;q[f+8>>2]=0;o[a+3272|0]=r[a+3272|0]|2;Pv(a);c=q[a+1036>>2];e=q[a+1040>>2];if((c|0)!=(e|0)){while(1){b=q[(d<<2)+c>>2];if(b){XK(a,b);e=q[a+1040>>2];c=q[a+1036>>2]}d=d+1|0;if(d>>>0>2>>>0){continue}break}}wj(q[a+3232>>2]);a:{b:{e=a+3196|0;c=q[e>>2];b=q[a+3192>>2];if((c|0)!=(b|0)){d=0;c=b;while(1){b=(d<<3)+c|0;b=Tp(q[a>>2],q[b>>2],q[b+4>>2]);if(!b){break b}Pi(q[a>>2],q[b+8>>2]);d=d+1|0;c=q[a+3192>>2];if(d>>>0>2]-c>>3>>>0){continue}break}}q[a+3196>>2]=c;if(o[a+3204|0]&1){break a}Ii(0,8,a+3192|0,a+3200|0,e);qj(q[a+3232>>2]);b=q[a+8>>2];ZK(a);cL(a);if(b){yi(b)}ti=f+16|0;return}J(10015,7291,298,10018);G()}J(10125,10061,493,10200);G()}function Eqa(a,b,c,d,e){var f=0,g=0,h=0;g=ti-48|0;ti=g;a:{b:{if(q[d+8>>2]){f=2;c:{if((c|0)!=2){break c}if(!Yp(e,g+44|0)){break c}d:{if((q[d+4>>2]&-268435456)==805306368){f=q[d+8>>2];if(!f){break b}c=0;if(r[a+12|0]){break d}f=q[f+16>>2];h=q[a+4>>2]+q[d+12>>2]|0;c=w(f,q[h+4>>2])+q[h>>2]|0;Fi(c,0,f);q[h+4>>2]=q[h+4>>2]+1;f=q[d+8>>2];break d}c=q[a+4>>2]+q[d+12>>2]|0;f=q[d+8>>2];if(t[a+8>>2]>2]>>>0){break a}}h=q[f+16>>2];o[g+36|0]=r[a+12|0];q[g+24>>2]=f;q[g+28>>2]=c;q[g+32>>2]=c+h;f=2;a=g+8|0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;if(!wL(e,q[g+44>>2],a)){break c}f=NA(b,a,q[d+8>>2],g+24|0)}ti=g+48|0;return f}J(23201,23110,149,23228);G()}J(23201,23110,259,23542);G()}J(23245,23110,170,23228);G()}function Oaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;i=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);a:{e=fj(a,1,g+12|0);b=s[e+560>>1];h=s[96604];f=c+348|0;b:{if((b|0)==(h|0)){break b}d=q[c+32>>2];if(b>>>0>=(q[c+36>>2]-d|0)/576>>>0){break a}f=(d+w(b,576)|0)+562|0}d=0;b=s[f>>1];c:{if((h|0)==(b|0)){break c}f=s[e+554>>1];while(1){if((b|0)==(f|0)){break c}e=q[c+32>>2];if((q[c+36>>2]-e|0)/576>>>0<=b>>>0){break a}d=d+1|0;b=s[(w(b,576)+e|0)+558>>1];if((h|0)!=(b|0)){continue}break}}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d>>>0;q[a+8>>2]=q[a+8>>2]+16;if((i+1|0)==q[a+8>>2]-q[a+12>>2]>>4){ti=g+16|0;return 1}J(196375,196298,625,196429);G()}J(202185,202196,479,202252);G()}function Bm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-32|0;ti=f;g=q[a+48>>2];h=g;if((r[g+50|0]+c|0)>=200){d=q[g+16>>2];e=q[q[g>>2]+60>>2];a:{if(!e){q[f>>2]=200;q[f+4>>2]=136831;d=_i(d,136752,f);break a}q[f+20>>2]=200;q[f+16>>2]=e;q[f+24>>2]=136831;d=_i(d,136786,f+16|0)}Pl(q[g+12>>2],d,0);h=q[a+48>>2]}e=q[h>>2];d=q[e+56>>2];b:{if((d|0)>p[h+48>>1]){i=q[e+24>>2];break b}i=Dq(q[a+52>>2],q[e+24>>2],e+56|0,12,32767,136847);q[e+24>>2]=i;j=q[e+56>>2];if((j|0)<=(d|0)){break b}while(1){q[w(d,12)+i>>2]=0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}d=p[h+48>>1];q[w(d,12)+i>>2]=b;if(!(!(r[b+5|0]&3)|!(r[e+5|0]&4))){Qn(q[a+52>>2],e,b);d=s[h+48>>1]}p[h+48>>1]=d+1;p[((r[g+50|0]+c<<1)+g|0)+172>>1]=d;ti=f+32|0}function a8(a,b){var c=0;a:{b:{c:{if((a|0)==(b|0)){break c}if((a+148|0)==(b|0)){c=1;break c}if((a+296|0)==(b|0)){c=2;break c}if((a+444|0)==(b|0)){c=3;break c}if((a+592|0)==(b|0)){c=4;break c}if((a+740|0)==(b|0)){c=5;break c}if((a+888|0)==(b|0)){c=6;break c}if((a+1036|0)==(b|0)){c=7;break c}if((a+1184|0)==(b|0)){c=8;break c}if((a+1332|0)==(b|0)){c=9;break c}if((a+1480|0)==(b|0)){c=10;break c}if((a+1628|0)==(b|0)){c=11;break c}if((a+1776|0)==(b|0)){c=12;break c}if((a+1924|0)==(b|0)){c=13;break c}if((a+2072|0)==(b|0)){c=14;break c}c=15;if((a+2220|0)!=(b|0)){break b}}a=w(c,148)+a|0;if(r[a+144|0]==255){break a}o[a+144|0]=255;return}J(143685,143159,87,143687);G()}J(143274,143159,177,143340);G()}function Mo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=ti+ -64|0;ti=f;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}g=q[a+8>>2];if(!g){break a}d=q[e+12>>2];b:{if(d>>>0>>0){d=xi[q[e+16>>2]](q[a+4>>2])|0;if(d){break b}d=xi[q[q[a>>2]+20>>2]](q[a+4>>2],b,c)|0;if(d){break b}d=xi[q[q[a>>2]+24>>2]](q[a+4>>2],f)|0;if(d){break b}g=q[a+8>>2];b=q[a>>2];d=q[b+12>>2];c=q[b+8>>2];b=f}e=Fi(g,54,d);g=Fi(e+d|0,92,q[q[a>>2]+12>>2]);if(c){d=0;while(1){h=d+e|0;i=b+d|0;o[h|0]=r[i|0]^r[h|0];h=d+g|0;o[h|0]=r[i|0]^r[h|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=xi[q[q[a>>2]+16>>2]](q[a+4>>2])|0;if(d){break b}b=q[a+4>>2];a=q[a>>2];d=xi[q[a+20>>2]](b,e,q[a+12>>2])|0}xi[q[68401]](f,0,64)|0}ti=f- -64|0;return d}function xja(a,b,c,d){var e=0;if(o[a+141|0]&1){Ai(4,33031,34578,0);return 1}a=3;a:{e=q[b+12>>2];b:{if(!e){break b}while(1){if(q[e>>2]!=(c|0)|q[e+4>>2]!=(d|0)){e=q[e+16>>2];if(e){continue}break b}break}if(!q[e+12>>2]){return 4}q[e+12>>2]=0;d=q[e+20>>2];if(!d){break a}c:{d:{e:{c=q[d+4>>2];a=q[c+16>>2];if(!a){break e}f:{if((a|0)==(d|0)){q[c+16>>2]=q[d>>2];break f}while(1){c=a;a=q[a>>2];if(!a){break e}if((a|0)!=(d|0)){continue}break}q[c>>2]=q[d>>2]}yi(d);a=q[b+12>>2];if((e|0)!=(a|0)){break d}q[b+12>>2]=q[e+16>>2];break c}J(34664,33206,1554,34628);G()}while(1){b=a;if(!a){break c}a=q[b+16>>2];if((e|0)!=(a|0)){continue}break}q[b+16>>2]=q[e+16>>2]}yi(e);a=0}return a}J(34640,33206,1530,34628);G()}function xU(a,b,c,d,e,f){var g=0,h=0;h=ti-32|0;ti=h;q[h+24>>2]=0;q[h+16>>2]=1;q[h+20>>2]=0;q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;a:{b:{if(d){if(!a){g=-16512;break a}g=zl(h+16|0,a,1);if(g){break b}g=hl(h,d,c);if(g){break b}g=Tk(h,h,h+16|0);if(g){break b}g=-16896;if(uj(h,0)){break a}}if(e){if(!b){g=-16512;break a}g=zl(h+16|0,b,1);if(g){break b}g=hl(h,e,c);if(g){break b}g=Tk(h,h,h+16|0);if(g){break b}g=-16896;if(uj(h,0)){break a}}if(!f){g=0;break a}g=-16512;if(!a|!b){break a}g=Fk(h+16|0,f,b);if(g){break b}g=zl(h+16|0,h+16|0,1);if(g){break b}g=Tk(h+16|0,h+16|0,a);if(g){break b}g=uj(h+16|0,0)?-16896:0;break a}if((g|0)==-16896|(g|0)==-16512){break a}g=g-16896|0}Si(h+16|0);Si(h);ti=h+32|0;return g}function zv(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0;f=ti-96|0;ti=f;g=r[e+32|0];q[a+104>>2]=0;o[a+108|0]=g;g=q[e+8>>2];i=q[e+12>>2];a:{if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){q[a>>2]=g;q[a+4>>2]=i;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;u[f>>2]=u[d>>2];u[f+4>>2]=u[d+4>>2];u[f+8>>2]=u[d+8>>2];q[f+24>>2]=3;u[f+32>>2]=u[f>>2];u[f+36>>2]=u[f+4>>2];u[f+40>>2]=u[f+8>>2];Gi(a+32|0,f+24|0,72);break a}b:{if((b|0)==(g|0)&(c|0)==(i|0)){h=u[d>>2];break b}if(q[e+16>>2]==(b|0)&q[e+20>>2]==(c|0)){h=u[d+4>>2];break b}j=-1;if((b|0)!=q[e+24>>2]|(c|0)!=q[e+28>>2]){break a}h=u[d+8>>2]}b=f+24|0;q[b>>2]=0;v[b+8>>3]=h;Gi(a+32|0,f+24|0,72);j=0}ti=f+96|0;return j}function Kv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;a:{if(q[d+4>>2]==q[d>>2]){if(o[d+12|0]&1){break a}j=d+8|0;h=d+4|0;Ii(c,4,d,j,h);b:{if(c){while(1){c:{d:{i=(e<<2)+b|0;f=Nj(a,q[i>>2],g+12|0);if(f){b=q[i>>2];q[g+4>>2]=f;q[g>>2]=b;Ai(4,13905,13916,g);b=q[d+4>>2];c=q[d>>2];if((b|0)!=(c|0)){e=0;b=c;while(1){Pi(a,q[(e<<2)+b>>2]);e=e+1|0;b=q[d>>2];if(e>>>0>2]-b>>2>>>0){continue}break}}q[d+4>>2]=b;if(!(o[d+12|0]&1)){break d}break a}f=q[h>>2];if((f|0)!=q[j>>2]){break c}J(14303,14235,533,14327);G()}Ii(0,4,d,j,h);break b}i=q[g+12>>2];q[h>>2]=f+4;q[f>>2]=i;e=e+1|0;if((e|0)!=(c|0)){continue}break}}f=0}ti=g+16|0;return f}J(13818,13844,105,13883);G()}J(14160,14235,493,14291);G()}function uM(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=q[a+104>>2];o[c|0]=1;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;e=a+39|0;f=r[d+94624|0]-1|0;d=q[(r[d+94496|0]<<2)+259648>>2];g=r[r[e+(1<>>6;d=(d<<4|n<<2|m)<<4|l<<2|k;o[c+6|0]=d>>>6;d=(d<<4|j<<2|i)<<4|h<<2|g;o[c+5|0]=d>>>6;o[c+4|0]=a|d<<2;_A(c,b,4)}function gt(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;k=3;a:{b:{c:{if(a+1>>>0<2){break c}j=a&65535;h=q[213374];if(j>>>0>=t[h+8>>2]){break b}i=q[q[h>>2]+(j<<2)>>2];if(!i|s[q[h+4>>2]+(j<<1)>>1]!=(a>>>16|0)){break c}k=6;j=r[i+34|0];if(!j){break c}h=q[i+4>>2];a=0;while(1){l=h+(a<<4)|0;if((b|0)!=q[l>>2]|q[l+4>>2]!=(c|0)){a=a+1|0;if((j|0)!=(a|0)){continue}break c}break}k=1;c=q[i>>2];b=q[i+28>>2];if(pj(c+w(b,q[i+24>>2])|0,148944,16)){break c}q[d>>2]=c+q[(h+(a<<4)|0)+8>>2];if(e){q[e>>2]=b}if(f){q[f>>2]=r[(h+(a<<4)|0)+13|0]}k=0;if(!g){break c}a=o[(h+(a<<4)|0)+12|0];if(a>>>0>=9){break a}q[g>>2]=t[i+24>>2]/t[(a<<2)+149304>>2]}return k}J(149021,149036,144,149074);G()}J(148202,148229,157,148252);G()}function fla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a>>2];b=Fi(Oi(148),0,148);q[b+88>>2]=0;q[b+92>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+52>>2]=-1;e=b- -64|0;c=e;q[c>>2]=0;q[c+4>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+80>>2]=0;q[b+84>>2]=0;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+128>>2]=0;q[b+132>>2]=0;q[b+92>>2]=-1;c=q[d+8>>2];f=q[a+16>>2];q[b>>2]=q[d+4>>2];c=c>>>0>f>>>0?f:c;Q6(b+4|0,c);if(!(o[b+68|0]&1)){a:{Ii(c,304,b+56|0,e,b+60|0);if(o[b+116|0]&1){break a}Ii(0,4,b+104|0,b+112|0,b+108|0);q[b+140>>2]=0;q[b+144>>2]=0;q[b+108>>2]=q[b+104>>2];q[q[a+12>>2]>>2]=b;Qp(q[d+4>>2],180,b);return 0}}J(41488,40669,493,40355);G()}function DU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=ti-16|0;ti=h;a:{if(!b){g=-16512;break a}g=-16512;i=q[a+168>>2]-3|0;b:{if(i>>>0<=5){i=q[(i<<2)+273896>>2];break b}i=0}if(!i){break a}j=(i?q[i+8>>2]:0)&255;l=(j<<1)+d|0;m=l+2|0;if(m>>>0>>0){break a}k=q[a+4>>2];if(m>>>0>k>>>0){break a}f=Fi(f,0,k);o[f|0]=0;g=c;c=f+1|0;b=xi[b|0](g,c,j)|0;if(b){g=b-17536|0;break a}b=c+j|0;g=-20736;c:{if(!i){break c}g=xi[q[i+28>>2]](0,0,b)|0}if(g){break a}b=(b+j+(k-l)|0)-2|0;o[b|0]=1;if(d){Gi(b+1|0,e,d)}q[h>>2]=0;q[h+4>>2]=0;q[h+8>>2]=0;d:{g=qn(h,i,0);if(!g){b=(f+j|0)+1|0;d=(j^-1)+k|0;g=pq(b,d,c,j,h);if(!g){break d}}fm(h);break a}g=pq(c,j,b,d,h);fm(h);if(g){break a}g=Sr(a,f,f)}ti=h+16|0;return g}function UX(a){var b=0,c=0,d=0,e=0;b=lj(a,0,0,120);Fq(a,b,8);c=q[a+16>>2];q[b+32>>2]=0;q[b+16>>2]=c;q[b+68>>2]=0;q[b+104>>2]=0;q[b+60>>2]=0;q[b+64>>2]=0;p[b+56>>1]=256;q[b+40>>2]=0;q[b+44>>2]=0;o[b+6|0]=0;q[b+112>>2]=0;q[b+116>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+80>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;c=lj(a,0,0,192);q[b+48>>2]=8;q[b+20>>2]=c;q[b+40>>2]=c;q[b+36>>2]=c+168;c=lj(a,0,0,720);q[b+44>>2]=45;q[b+32>>2]=c;q[b+28>>2]=c+624;d=q[b+20>>2];q[d+4>>2]=c;e=c+16|0;q[b+8>>2]=e;q[c+8>>2]=0;q[d>>2]=e;q[b+12>>2]=e;q[d+8>>2]=c+336;c=q[a+76>>2];q[b+72>>2]=q[a+72>>2];q[b+76>>2]=c;q[b+80>>2]=q[a+80>>2];o[b+56|0]=r[a+56|0];c=q[a+60>>2];q[b+60>>2]=c;a=q[a+68>>2];q[b+64>>2]=c;q[b+68>>2]=a;return b}function nH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=ti-32|0;ti=e;h=q[a+48>>2];wj(h);hn(e,0);ll(e,b,Ui(b));ll(e,c,Ui(c));j=$n(e);k=wi;f=zi(b);i=wi;a:{c=q[a+20>>2];b:{if(!c){break b}c=q[q[a+16>>2]+(Qwa(f,i,c)<<2)>>2];if((c|0)==-1){break b}a=q[a+24>>2];while(1){g=a+w(c,136)|0;if((f|0)==q[g>>2]&(i|0)==q[g+4>>2]){break a}c=q[g+128>>2];if((c|0)!=-1){continue}break}}J(161501,161432,742,161743);G()}c:{d:{f=a+w(c,136)|0;if(q[f+80>>2]==(j|0)&q[f+84>>2]==(k|0)){if(nj(b,q[f+72>>2])){break d}b=a+w(c,136)|0;a=s[b+120>>1];if(!(a&255)){break c}p[b+120>>1]=a&65280|a-1&255;Ak(d);qj(h);ti=e+32|0;return}J(161590,161432,743,161743);G()}J(161751,161432,744,161743);G()}J(161789,161432,745,161743);G()}function gQ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;a:{if(c>>>0<=9){b=q[(c<<2)+176008>>2];break a}b=0}if(!b){q[a+4>>2]=q[a+4>>2]+1;return 0}b=Jn(a);b:{if(b){break b}if(q[a+128>>2]!=22){Ij(a,2,10);return-30464}q[a+4>>2]=q[a+4>>2]+1;c=q[a+120>>2];b=r[c|0]==13;q[a+232>>2]=b;if(!b){q[a+176>>2]=1;return 0}d=q[a+168>>2];g=q[a>>2];b=r[g+184|0]&2?12:4;c:{if(d>>>0<=b>>>0){break c}e=r[b+c|0];b=b+e|0;h=b+2|0;if(h>>>0>=d>>>0){break c}d:{if(q[a+20>>2]==3){f=b;b=r[c+h|0]|r[(b+c|0)+1|0]<<8;if((f+b|0)+3>>>0>=d>>>0){break d}e=(b+e|0)+2|0}b=0;f=d;d=c;c=(r[g+184|0]&2?12:4)+e|0;d=d+c|0;if((f|0)==(((r[d+1|0]<<8|r[d+2|0])+c|0)+3|0)){break b}}}Ij(a,2,50);b=-31360}return b}function oZ(a,b){var c=0,d=0,e=0,f=0,g=0;c=16;d=a>>>0>16?a:16;a:{if(!(d-1&d)){a=d;break a}while(1){a=c;c=a<<1;if(a>>>0>>0){continue}break}}if(-64-a>>>0<=b>>>0){q[242957]=48;return 0}d=b>>>0<11?16:b+11&-8;c=Ji((d+a|0)+12|0);if(!c){return 0}b=c-8|0;b:{if(!(c&a-1)){a=b;break b}f=c-4|0;g=q[f>>2];c=((a+c|0)-1&0-a)-8|0;a=c-b>>>0>15?c:a+c|0;c=a-b|0;e=(g&-8)-c|0;if(!(g&3)){b=q[b>>2];q[a+4>>2]=e;q[a>>2]=b+c;break b}q[a+4>>2]=e|q[a+4>>2]&1|2;e=a+e|0;q[e+4>>2]=q[e+4>>2]|1;q[f>>2]=c|q[f>>2]&1|2;q[a+4>>2]=q[a+4>>2]|1;Wv(b,c)}b=q[a+4>>2];c:{if(!(b&3)){break c}c=b&-8;if(c>>>0<=d+16>>>0){break c}q[a+4>>2]=d|b&1|2;b=a+d|0;d=c-d|0;q[b+4>>2]=d|3;c=a+c|0;q[c+4>>2]=q[c+4>>2]|1;Wv(b,d)}return a+8|0}function _x(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;q[e+12>>2]=0;f=q[a>>2];q[e+8>>2]=f;b=Er(ea((nj(b,131662)?b:0)|0,(c?c:131664)|0,d|0,e+12|0)|0);c=q[e+12>>2];a:{b:{c:{d:{if(!b){if(!c){break c}while(1){e:{if((f|0)==-1){b=Yl(Uw(e+8|0,q[c+4>>2],q[c+8>>2],q[c+12>>2]));if(b){break e}}b=Yl(LQ(e+8|0,q[c+20>>2],q[c+16>>2]));if(!b){break d}if(q[e+8>>2]==q[a>>2]){break e}Fr(e+8|0)}c=q[c+28>>2];if(!c){break b}f=q[e+8>>2];continue}}if(!c){break a}yi(c);break a}b=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=b;b=q[c+28>>2];q[d+24>>2]=q[c+24>>2];q[d+28>>2]=b;b=q[c+20>>2];q[d+16>>2]=q[c+16>>2];q[d+20>>2]=b;b=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=b}b=0}yi(q[e+12>>2]);q[a>>2]=q[e+8>>2]}ti=e+16|0;return b}function Zj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-16|0;ti=f;j=q[a+8>>2]-q[a+12>>2]>>4;e=Op(a);g=e+72|0;a:{b:{d=q[e+76>>2];c:{if(!d){break c}d=q[q[g>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break c}i=q[e+80>>2];while(1){h=(d<<4)+i|0;if(q[h>>2]==(b|0)&q[h+4>>2]==(c|0)){break b}d=q[h+12>>2];if((d|0)!=-1){continue}break}}d=jj(a,8);q[d>>2]=b;q[d+4>>2]=c;Ki(a,-1e4,119989);ij(a,-2);bj(a,-1e4,q[e+124>>2]);Qi(a,-2);q[f+12>>2]=un(a,-2);Ci(a,-2);d=q[e+88>>2]-q[e+80>>2]>>4;e=q[e+96>>2];if((d|0)==(e|0)){Ns(g,e,e+256|0)}Os(g,b,c,f+12|0);break a}bj(a,-1e4,q[e+124>>2]);bj(a,-1,q[((d<<4)+i|0)+8>>2]);Xk(a,-2)}if((j+1|0)==q[a+8>>2]-q[a+12>>2]>>4){ti=f+16|0;return}J(119994,120019,184,120042);G()}function Vr(a,b,c){var d=0;d=ti-48|0;ti=d;q[d+40>>2]=0;q[d+32>>2]=1;q[d+36>>2]=0;q[d+24>>2]=0;q[d+16>>2]=1;q[d+20>>2]=0;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;b=gk(d+16|0,b);a:{if(b){break a}b=gk(d,c);if(b){break a}b=Ur(d+16|0);c=Ur(d);c=b>>>0>c>>>0?c:b;b=Wk(d+16|0,c);if(b){break a}b=Wk(d,c);if(b){break a}q[d+16>>2]=1;q[d>>2]=1;if(uj(d+16|0,0)){while(1){b=Wk(d+16|0,Ur(d+16|0));if(b){break a}b=Wk(d,Ur(d));if(b){break a}b:{if((Lj(d+16|0,d)|0)>=0){b=_m(d+16|0,d+16|0,d);if(b){break a}b=Wk(d+16|0,1);if(!b){break b}break a}b=_m(d,d,d+16|0);if(b){break a}b=Wk(d,1);if(b){break a}}if(uj(d+16|0,0)){continue}break}}b=$m(d,c);if(b){break a}b=gk(a,d)}Si(d+32|0);Si(d+16|0);Si(d);ti=d+48|0;return b}function Hp(a,b,c,d){var e=0,f=0,g=0;f=ti-16|0;ti=f;a:{if(!d){d=q[a+32>>2];e=0;break a}b:{if((d|0)>=1){d=(q[a+12>>2]+(d<<4)|0)-16|0;e=d>>>0>2]?d:135744;break b}e=q[a+8>>2]+(d<<4)|0;if((d|0)>=-9999){break b}c:{switch(d+10002|0){case 2:e=q[a+16>>2]+96|0;break b;case 1:d=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=d;e=a+88|0;break b;case 0:e=a+72|0;break b;default:break c}}e=q[q[q[a+20>>2]+4>>2]>>2];e=r[e+7|0]<(-10002-d|0)?135744:(e+(0-d<<4)|0)-160024|0}d=q[a+32>>2];e=e-d|0}g=q[a+8>>2];q[f+12>>2]=c;b=g+((b^-1)<<4)|0;q[f+8>>2]=b;b=oE(a,1040,f+8|0,b-d|0,e);d:{if((c|0)!=-1){break d}c=q[a+20>>2];a=q[a+8>>2];if(t[c+8>>2]>a>>>0){break d}q[c+8>>2]=a}ti=f+16|0;return b}function ez(a){var b=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=1065353216;q[a+212>>2]=0;q[a+216>>2]=0;o[a+208|0]=0;q[a+200>>2]=1065353216;q[a+204>>2]=0;q[a+192>>2]=2139095039;q[a+196>>2]=0;o[a+190|0]=0;p[a+188>>1]=0;q[a+180>>2]=1;q[a+184>>2]=7;q[a+12>>2]=0;q[a+16>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+20>>2]=1065353216;q[a+32>>2]=0;q[a+36>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+40>>2]=1065353216;q[a+52>>2]=0;q[a+56>>2]=0;q[a+108>>2]=1065353216;q[a+112>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+92>>2]=1065353216;q[a+96>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+76>>2]=1065353216;q[a+80>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=1065353216;q[a+64>>2]=0;b=iG(a+220|0);o[a+256|0]=r[a+256|0]&254;B4(b);return a}function Xea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=x(0),g=x(0),h=0;d=ti+ -64|0;ti=d;if(a){e=q[a+4>>2];a:{if(o[a+24|0]&1){u[d+48>>2]=u[b>>2];u[d+52>>2]=u[b+4>>2];u[d+56>>2]=u[b+8>>2];a=q[d+48>>2];b=q[d+52>>2];u[e+24>>2]=u[d+56>>2];break a}a=q[e+16>>2];h=q[e+20>>2];u[d+40>>2]=u[e+24>>2];q[d+32>>2]=a;q[d+36>>2]=h;f=u[b>>2];u[d+32>>2]=f;g=u[b+4>>2];u[d+20>>2]=g;u[d+16>>2]=f;u[d+36>>2]=g;u[d+24>>2]=u[d+40>>2];a=q[d+16>>2];b=q[d+20>>2];u[e+24>>2]=u[d+24>>2]}q[e+16>>2]=a;q[e+20>>2]=b;u[d>>2]=u[c>>2];u[d+4>>2]=u[c+4>>2];u[d+8>>2]=u[c+8>>2];u[d+12>>2]=u[c+12>>2];a=q[d>>2];b=q[d+4>>2];c=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=c;q[e>>2]=a;q[e+4>>2]=b;q[75046]=q[75046]+1}ti=d- -64|0}function O4(a){a=a|0;var b=0,c=0,d=0;b=ti+ -64|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=Xi(a,1);a:{if(c>>>0>=3){q[b+4>>2]=c;q[b>>2]=110485;a=Bi(a,112585,b);break a}q[b+32>>2]=c;q[b+36>>2]=0;q[b+24>>2]=16;c=q[d+4>>2];if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+60>>2];q[c+32>>2]=q[b+56>>2];q[c+36>>2]=a;a=q[b+52>>2];q[c+24>>2]=q[b+48>>2];q[c+28>>2]=a;a=q[b+44>>2];q[c+16>>2]=q[b+40>>2];q[c+20>>2]=a;a=q[b+36>>2];q[c+8>>2]=q[b+32>>2];q[c+12>>2]=a;a=q[b+28>>2];q[c>>2]=q[b+24>>2];q[c+4>>2]=a;a=0;break a}q[b+16>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b+16|0)}ti=b- -64|0;return a|0}J(110492,110389,475,114319);G()}function FI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;q[a+312>>2]=b;q[a+316>>2]=c;d=q[a+280>>2];h=q[a+276>>2];e=d-h|0;j=e>>3;a:{if(!e){e=0;break a}d=h-d|0;f=((d|0)>(e|0)?d:e)>>>3|0;d=(e|0)>-1?e:-1;d=w(f,(d|0)<1?d:1);d=d>>>0>1?d:1;e=0;while(1){f=h+(e<<3)|0;if(q[f>>2]==(b|0)&q[f+4>>2]==(c|0)){break a}e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}b:{if((e|0)==(j|0)){q[g>>2]=Mi(b,c);Ai(4,193721,193922,g);b=0;break b}b=e&65535}e=q[a+32>>2];c=q[a+36>>2]-e|0;d=(c|0)/576|0;if(c){d=d>>>0>1?d:1;c=b<<2;while(1){f=e+w(i,576)|0;b=q[f+508>>2];if(b){xi[179](a,s[f+554>>1]|s[f+552>>1]<<16,q[b+c>>2]);q[f+412>>2]=q[f+412>>2]|4194304}i=i+1|0;if((d|0)!=(i|0)){continue}break}}ti=g+16|0}function kea(a){var b=0,c=0,d=0,e=0;c=ti-464|0;ti=c;e=1;a:{if(q[77528]){break a}b:{c:{d:{if(!a){break d}b=0;e:{if(!Em(a,83894)){break e}b=1;if(!Em(a,83899)){break e}if(Em(a,83906)){break d}b=2}a=b;b=q[77416];if(!b){break b}while(1){if((a|0)==q[b+12>>2]){if(xi[q[b+8>>2]]()|0){break c}}b=q[b>>2];if(b){continue}break}}b=q[77416];if(!b){break b}a=b;while(1){if(o[a+16|0]>2]]()|0?a:b}a=q[a>>2];if(a){continue}break}}xi[q[b+4>>2]](c+16|0);Gi(309668,c+16|0,444);q[77528]=b;if(!(xi[q[77419]]()|0)){break b}b=c;a=q[q[77528]+12>>2];d=83971;f:{if(a>>>0>2){break f}d=q[(a<<2)+257548>>2]}q[b>>2]=d;Ai(2,83526,83741,c);break a}e=0;Ai(4,83526,83774,0)}ti=c+464|0;return e}function WU(a,b,c){var d=0,e=0,f=0;d=ti-32|0;ti=d;q[d+12>>2]=0;b=Rj(a,b,d+28|0,48);a:{if(b){b=b-15616|0;break a}e=q[a>>2]+q[d+28>>2]|0;b=QR(a,e,d+12|0,d+16|0);if(b){break a}b=TD(a,e,d+28|0);if(b){b=b-15104|0;break a}b=-15206;if((q[a>>2]+q[d+28>>2]|0)!=(e|0)){break a}b=q[d+12>>2]-1|0;b:{if(b>>>0<=3){b=q[(b<<2)+275372>>2];break b}b=0}if(!b){b=-15488;break a}b=VU(c,b);if(b){break a}c:{f=q[d+12>>2];d:{if((f|0)==1){b=PR(a,e,q[c+4>>2]);break d}b=-15488;if((f&-2)!=2){break c}b=LR(d+16|0,q[c+4>>2]);if(b){break c}b=RR(a,e,q[c+4>>2])}if(b){break c}b=-15206;if(q[a>>2]!=(e|0)){break c}b=0;break a}if(c){a=q[c>>2];if(a){xi[q[a+40>>2]](q[c+4>>2])}xi[q[68401]](c,0,8)|0}}ti=d+32|0;return b}function qP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=ti-16|0;ti=f;l=a+812|0;i=(d|0)/(b|0)|0;while(1){a:{if((g|0)>=(i|0)){break a}d=a;h=q[a+1516>>2];e=q[a+1520>>2]-h|0;e=(e+g|0)<(i|0)?e:i-g|0;if(e){vsa(b,c,q[a+4>>2],l,h,e);h=q[a+1516>>2]}q[d+1516>>2]=e+h;g=e+g|0;if((i|0)==(g|0)){g=i;break a}m=(w(b,e)<<1)+c|0;b:{if(r[a+60|0]){q[a+112>>2]=2;j=0;break b}if(!qw(a,f+12|0,f+4|0,f+8|0)){q[a+1516>>2]=0;q[a+1520>>2]=0;j=0;break b}k=q[f+4>>2];j=pw(a,q[f+12>>2],k,q[f+8>>2]);d=0;e=q[a+4>>2];if((e|0)>=1){while(1){h=(d<<2)+a|0;q[h+876>>2]=q[h+812>>2]+(k<<2);d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[a+1516>>2]=k;q[a+1520>>2]=j+k}c=c?m:0;if(j){continue}}break}ti=f+16|0;return g}function Oda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{d:{e:{if(a){if(!c){break e}if(!b){break d}Q(34962,c|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}if(s[b+192>>1]){a=0;while(1){c=w(a,24)+b|0;Xa(s[c+8>>1]);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break b}}Ra(s[c+8>>1],s[c+12>>1],q[(q[c+16>>2]<<2)+87472>>2],r[c+20|0],s[b+194>>1],s[c+14>>1]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}a=a+1|0;if(a>>>0>1]){continue}break}}return}J(84152,84160,1714,87395);G()}J(87425,84160,1715,87395);G()}J(87439,84160,1716,87395);G()}Vi(a,87395,1720);J(84254,84160,1720,87395);G()}Vi(d,87395,1725);J(84254,84160,1725,87395);G()}Vi(c,87395,1734);J(84254,84160,1734,87395);G()}function gU(a){var b=0;b=-28928;a:{if(!q[a+68>>2]|q[a+4>>2]==16){break a}b=Bp(a);if(b){break a}if(!(!(r[q[a>>2]+184|0]&2)|r[q[a+68>>2]+492|0]!=1)){b=sq(a);if(b){break a}}b=-28928;b:{c:{d:{e:{f:{g:{switch(q[a+4>>2]){case 12:if(!q[q[a+68>>2]+2268>>2]){break f}q[a+4>>2]=17;case 17:return aQ(a);case 0:q[a+4>>2]=1;break b;case 1:return IP(a);case 2:return XP(a);case 3:return bU(a);case 4:return VP(a);case 5:return gQ(a);case 6:return WP(a);case 7:return QT(a);case 8:return HP(a);case 9:return JP(a);case 10:return PT(a);case 15:break c;case 14:break d;case 13:break e;case 11:break g;default:break a}}return OT(a)}return aU(a)}return $T(a)}q[a+4>>2]=15;break b}eU(a)}b=0}return b}function V2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-32|0;ti=c;g=q[a+8>>2]-q[a+12>>2]>>4;b=Op(a);e=Wi(a,1,0);h=zi(e);i=wi;a:{b:{d=q[b+12>>2];c:{if(!d){break c}d=q[q[b+8>>2]+(Qwa(h,i,d)<<2)>>2];if((d|0)==-1){break c}b=q[b+16>>2];while(1){f=b+(d<<5)|0;if(q[f>>2]==(h|0)&(i|0)==q[f+4>>2]){break b}d=q[f+28>>2];if((d|0)!=-1){continue}break}}q[c>>2]=e;vj(a,122907,c);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(122836,122746,101,122922);G()}b=b+(d<<5)|0;if(!DF(a,q[b+8>>2],q[b+12>>2],q[b+24>>2])){b=dj(a,1,0);q[c+24>>2]=dj(a,-1,0);q[c+20>>2]=e;q[c+16>>2]=b;Bi(a,122933,c+16|0)}if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(122836,122746,110,122922);G()}ti=c+32|0;return 1}function gO(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),r=x(0),s=0;if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));r=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=p[(a<<2)+c>>1];h=x(o*x(a|0));l=x(+x(i+x(r*h))*1.5707963267948966);k=xl(l);m=a<<1|1;s=p[(m<<1)+c>>1];n=(a<<3)+e|0;h=x(g+x(j*h));u[n>>2]=u[n>>2]+x(k*x(h*x(d|0)));l=uk(l);d=(m<<2)+e|0;u[d>>2]=u[d>>2]+x(l*x(h*x(s|0)));a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(205125,204086,1019,205192);G()}function bsa(a){var b=0,c=0,d=0;b=-2;a:{if(!a){break a}c=q[a+28>>2];if(!q[a+36>>2]|(!c|!q[a+32>>2])){break a}q[a+44>>2]=2;q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=q[c+8>>2];b=q[c+24>>2];if((b|0)<=-1){b=0-b|0;q[c+24>>2]=b}q[c+4>>2]=b?42:113;d=a;b:{if((b|0)==2){b=el(0,0,0);break b}b=fq(0,0,0)}q[d+48>>2]=b;b=0;q[c+40>>2]=0;Uua(c);a=q[a+28>>2];q[a+60>>2]=q[a+44>>2]<<1;d=(q[a+76>>2]<<1)-2|0;c=q[a+68>>2];p[d+c>>1]=0;Fi(c,0,d);q[a+5812>>2]=0;q[a+116>>2]=0;q[a+120>>2]=2;q[a+104>>2]=0;q[a+108>>2]=0;q[a+92>>2]=0;q[a+96>>2]=2;q[a+72>>2]=0;d=w(q[a+132>>2],12)+293808|0;q[a+144>>2]=s[d+4>>1];q[a+140>>2]=s[d>>1];q[a+128>>2]=s[d+2>>1];q[a+124>>2]=s[d+6>>1]}return b}function QU(a,b){q[a>>2]=r[b+3|0]<<24&251658240|(r[b|0]|r[b+1|0]<<8|r[b+2|0]<<16);q[a+4>>2]=(r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24))&268435452;q[a+8>>2]=(r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24))&268435452;q[a+12>>2]=(r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24))&268435452;q[a+16>>2]=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);q[a+20>>2]=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);q[a+24>>2]=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);b=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);q[a+32>>2]=0;q[a+36>>2]=0;q[a+28>>2]=b;q[a+40>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;xi[q[68401]](a+52|0,0,16)|0;q[a+68>>2]=0;return 0}function Mu(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c){f=-10;e=q[a+4>>2];d=q[e+4>>2];b:{if(!d){break b}d=q[q[e>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break b}e=q[e+8>>2];while(1){g=e+w(d,24)|0;if(q[g>>2]!=(b|0)){d=q[g+16>>2];if((d|0)!=-1){continue}break b}break}c:{a=q[a>>2];b=q[a+4>>2];d:{if(!b){break d}d=e+w(d,24)|0;f=q[d+8>>2];e=q[d+12>>2];d=q[q[a>>2]+(Qwa(f,e,b)<<2)>>2];if((d|0)==-1){break d}a=q[a+8>>2];while(1){b=a+w(d,48)|0;if(q[b>>2]==(f|0)&(e|0)==q[b+4>>2]){break c}d=q[b+40>>2];if((d|0)!=-1){continue}break}}J(25767,24451,1581,25759);G()}a=a+w(d,48)|0;if(!q[a+36>>2]){break a}q[c>>2]=q[a+32>>2];f=0}return f}J(25754,24451,1572,25759);G()}J(25770,24451,1582,25759);G()}function vka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=x(0);g=ti-80|0;ti=g;c=q[a+4>>2];e=q[c+32>>2];f=q[q[a+24>>2]>>2];if(f>>>0>2]-e>>3>>>0){e=q[(f<<3)+e>>2];d=q[c+20>>2];c=q[c+16>>2];if(e>>>0>4>>>0){f=q[a+16>>2];h=q[a+20>>2];a:{if((f|0)==q[75714]&(h|0)==q[75715]){d=km(q[q[q[a+8>>2]+80>>2]>>2],q[q[c+(e<<4)>>2]+8>>2],b);break a}a=g+8|0;b:{c:{if(q[75708]!=(f|0)|q[75709]!=(h|0)){if((f|0)==q[75710]&(h|0)==q[75711]){break c}d=-1;if((f|0)!=q[75712]|(h|0)!=q[75713]){break a}d=(c+(e<<4)|0)+12|0;break b}d=(c+(e<<4)|0)+8|0;break b}d=(c+(e<<4)|0)+4|0}i=u[d>>2];q[a>>2]=0;v[a+8>>3]=i;Gi(b+32|0,g+8|0,72);d=0}a=d;ti=g+80|0;return a|0}}J(45161,44897,479,45172);G()}function zq(a,b,c){var d=0,e=0,f=0,g=0;d=-96;a:{e=q[a>>2];f=b-e|0;if((f|0)<1){break a}g=r[e|0];b:{if(!(g&128)){d=e+1|0;q[a>>2]=d;a=c;c=r[e|0];q[a>>2]=c;break b}d=-100;c:{d:{switch((g&127)-1|0){case 0:d=-96;if((f|0)<2){break a}d=c;c=r[e+1|0];q[d>>2]=c;d=e+2|0;break c;case 1:d=-96;if((f|0)<3){break a}d=c;c=r[e+2|0]|r[e+1|0]<<8;q[d>>2]=c;d=e+3|0;break c;case 2:d=-96;if((f|0)<4){break a}d=c;c=r[e+3|0]|(r[e+2|0]<<8|r[e+1|0]<<16);q[d>>2]=c;d=e+4|0;break c;case 3:break d;default:break a}}d=-96;if((f|0)<5){break a}d=c;c=r[e+1|0]|r[e+2|0]<<8|(r[e+3|0]<<16|r[e+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);q[d>>2]=c;d=e+5|0}q[a>>2]=d}return b-d>>>0>>0?-96:0}return d}function tz(a,b,c,d){var e=0;e=ti-48|0;ti=e;o[e+32|0]=0;q[e>>2]=a;q[e+12>>2]=e+16|2;o[e+31|0]=r[(b&15)+161920|0];o[e+24|0]=r[(b>>>28|0)+161920|0];a=o[(c>>>28|0)+161920|0];o[e+16|0]=a;q[e+4>>2]=a;o[e+30|0]=r[(b>>>4&15)+161920|0];o[e+29|0]=r[(b>>>8&15)+161920|0];o[e+28|0]=r[(b>>>12&15)+161920|0];o[e+27|0]=r[(b>>>16&15)+161920|0];o[e+26|0]=r[(b>>>20&15)+161920|0];o[e+25|0]=r[(b>>>24&15)+161920|0];o[e+23|0]=r[(c&15)+161920|0];o[e+22|0]=r[(c>>>4&15)+161920|0];o[e+21|0]=r[(c>>>8&15)+161920|0];o[e+20|0]=r[(c>>>12&15)+161920|0];o[e+19|0]=r[(c>>>16&15)+161920|0];o[e+18|0]=r[(c>>>20&15)+161920|0];a=o[(c>>>24&15)+161920|0];o[e+17|0]=a;q[e+8>>2]=a;hj(d,1024,161902,e);ti=e+48|0}function ika(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a>>2];f=q[c>>2];b=Fi(Oi(128),0,128);q[b+52>>2]=0;q[b+56>>2]=0;q[b+48>>2]=-1;q[b+60>>2]=0;q[b+64>>2]=0;d=b+68|0;q[d>>2]=0;q[d+4>>2]=0;g=b+76|0;e=g;q[e>>2]=0;q[e+4>>2]=0;e=q[a+16>>2];c=q[c+4>>2];c=c>>>0>e>>>0?e:c;H6(b,c);a:{if(!(o[b+80|0]&1)){Ii(c,4,d,g,b+72|0);d=q[b+68>>2];if(c>>>0>q[b+76>>2]-d>>2>>>0){break a}q[b+72>>2]=d+(c<<2);Fi(q[b>>2],0,w(c,240));q[b+84>>2]=0;c=fp(q[f+2384>>2]);Rk(c,47937,3,0);Rk(c,47946,2,0);Rk(c,47956,1,0);q[b+88>>2]=xi[q[77450]](q[f+2384>>2],c);Xl(c);q[b+116>>2]=0;q[b+104>>2]=0;q[b+92>>2]=0;q[b+96>>2]=0;q[q[a+12>>2]>>2]=b;return 0}J(48523,48598,493,48654);G()}J(49189,48598,506,49208);G()}function Tq(a,b,c){var d=x(0),e=x(0),f=x(0),g=0,h=0,i=0,j=0,k=x(0),l=x(0),m=x(0);a:{b:{if((b|0)!=1){h=b-1|0;if(h){break b}b=0;break a}return x(u[a+4>>2]+x(x(x(c-u[a>>2])*u[a+12>>2])/u[a+8>>2]))}g=b-2|0;b=0;while(1){i=b+1|0;j=(i<<4)+a|0;c:{e=u[(b<<4)+a>>2];d:{if(!(e<=c^1)){f=u[j>>2];if((b|0)==(g|0)|f>c){break d}break c}if((b|0)!=(g|0)){break c}f=u[j>>2];b=g}d=x(x(c-e)/x(f-e));break a}b=i;if((h|0)!=(b|0)){continue}break}b=0}c=x(d*d);e=x(d*c);m=x(e-c);a=(b<<4)+a|0;c=x(u[a+16>>2]-u[a>>2]);f=x(d*x(d*x(3)));k=x(d*x(d+d));l=x(d*k);return x(x(m*x(x(c*u[a+28>>2])/u[a+24>>2]))+x(x(x(f-l)*u[a+20>>2])+x(x(u[a+4>>2]*x(x(l-f)+x(1)))+x(x(d+x(e-k))*x(x(u[a+12>>2]*c)/u[a+8>>2])))))}function uka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a>>2];b=Fi(Oi(84),0,84);q[b+68>>2]=0;q[b+72>>2]=0;q[b+64>>2]=-1;o[b+73|0]=0;o[b+74|0]=0;o[b+75|0]=0;o[b+76|0]=0;o[b+77|0]=0;o[b+78|0]=0;o[b+79|0]=0;o[b+80|0]=0;f=q[c>>2];g=q[a+16>>2];c=q[c+4>>2];Ii(c,104,b,b+8|0,b+4|0);a:{d=q[b>>2];if(c>>>0<=(q[b+8>>2]-d|0)/104>>>0){q[b+4>>2]=d+w(c,104);d=q[b+72>>2];if(c>>>0>>0){break a}h=q[b+68>>2];e=Ji(c<<2);q[b+68>>2]=e;e=Gi(e,h,d<<2);q[b+72>>2]=c;if(c>>>0>d>>>0){while(1){q[e+(d<<2)>>2]=d;d=d+1|0;if((c|0)!=(d|0)){continue}break}}yi(h);Fi(q[b>>2],0,w(c,104));K6(b+16|0,f>>>0>g>>>0?g:f);q[q[a+12>>2]>>2]=b;return 0}J(44965,44897,506,44984);G()}J(44992,45015,112,44953);G()}function o4(a,b,c){var d=0;d=ti+ -64|0;ti=d;a=Cj(a,b,q[60898],q[c>>2]+4|0);a:{if(a){q[d+48>>2]=a;Ai(4,24387,24505,d+48|0);a=-2;break a}a=q[c>>2];b=q[a+4>>2];a=Cj(q[b>>2],q[b+4>>2],q[60870],a+8|0);if(a){q[d+32>>2]=a;Ai(4,24387,24535,d+32|0);cj(q[q[c>>2]+4>>2]);q[q[c>>2]+4>>2]=0;a=-2;break a}b=q[q[c>>2]+8>>2];a=q[b>>2];if((a|0)!=1137405190){q[d+20>>2]=a;q[d+16>>2]=1137405190;Ai(4,24387,24570,d+16|0);cj(q[q[c>>2]+8>>2]);cj(q[q[c>>2]+4>>2]);q[q[c>>2]+8>>2]=0;q[q[c>>2]+4>>2]=0;a=-13;break a}b=q[b+4>>2];a=0;if((b|0)==4){break a}q[d+4>>2]=b;q[d>>2]=4;Ai(4,24387,24624,d);cj(q[q[c>>2]+8>>2]);cj(q[q[c>>2]+4>>2]);q[q[c>>2]+8>>2]=0;q[q[c>>2]+4>>2]=0;a=-19}ti=d- -64|0;return a}function Fva(){q[66797]=q[74622];q[74622]=267160;q[212932]=1;q[212930]=-990112893;q[212931]=-1808347863;q[212929]=135068;q[212928]=1;q[212935]=0;o[851736]=0;q[212933]=q[212926];q[212935]=q[74622];q[74622]=851712;q[212942]=1;q[212940]=-646628091;q[212941]=-486267828;q[212939]=135083;q[212938]=1;q[212945]=0;o[851776]=0;q[212943]=q[212937];q[212945]=q[74622];q[74622]=851752;q[66833]=q[74622];q[74622]=267304;q[212954]=1;q[212952]=-588138364;q[212953]=-388737994;q[212951]=135144;q[212950]=1;q[212957]=0;o[851824]=0;q[212955]=q[212948];q[212957]=q[74622];q[74622]=851800;q[66879]=q[74622];q[74622]=267488;q[66897]=q[74622];q[74622]=267560;q[66913]=q[74622];q[74622]=267624}function G4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-48|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){c=b;g=b;e=Ri(a,1);a:{if(e<4294967296&e>=0){f=~~e>>>0;break a}f=0}q[g+16>>2]=f;q[c+20>>2]=0;q[b+8>>2]=13;c=q[d+4>>2];b:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+44>>2];q[c+32>>2]=q[b+40>>2];q[c+36>>2]=a;a=q[b+36>>2];q[c+24>>2]=q[b+32>>2];q[c+28>>2]=a;a=q[b+28>>2];q[c+16>>2]=q[b+24>>2];q[c+20>>2]=a;a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break b}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b)}ti=b+48|0;return a|0}J(110492,110389,475,114319);G()}function yia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-112|0;ti=b;d=Zi(b+88|0,a,0,67401,247);e=Tj(a);q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;qk(a,1,b+48|0,b+16|0);if((Ei(a,2)|0)!=-1){mj(a,2,5);Qi(a,2);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){c=dj(a,-2,0);a:{if(!nj(c,67537)){f=Ej(a,-1);break a}q[b>>2]=c;Ai(3,67543,67551,b)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2)}o[b+80|0]=(f|0)!=0;a=q[61902];fk(b+16|0,b+48|0,q[a+8>>2],q[a+12>>2],e,a,b+80|0,1);Yi(d);ti=b+112|0;return 0}function Yva(){q[213252]=0;q[213253]=0;q[213250]=0;q[213248]=145225;q[213247]=145210;q[213246]=0;q[213244]=0;q[213242]=0;q[213240]=0;q[213238]=0;q[213236]=0;q[213237]=0;q[213274]=852944;q[213272]=0;q[213270]=145255;q[213269]=145235;q[213268]=0;q[213266]=0;q[213264]=0;q[213262]=0;q[213260]=1;q[213258]=0;q[213259]=3;q[213254]=0;q[213255]=0;q[213256]=0;q[213257]=0;q[213279]=0;q[213277]=0;q[213278]=0;q[213275]=0;q[213276]=0;q[213282]=0;q[213280]=0;q[213281]=1065353216;q[213286]=0;q[213284]=0;q[213285]=1065353216;q[213290]=0;q[213288]=1065353216;q[213289]=0;q[213294]=1065353216;q[213292]=0;q[213293]=0;q[213298]=-2147483648;q[213296]=-1082130432;q[213297]=-2147483648}function kp(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{b:{c:{switch(d|0){case 0:f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){g=1;break b}break a;case 3:h=3;g=3;f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){break b}break a;case 4:h=4;g=4;f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){break b}break a;case 5:f=q[a+4>>2];d=q[a>>2];if(f>>>0>2]){g=4;h=5;break b}break a;default:break c}}J(13959,13844,286,13965);G()}q[a+4>>2]=f+1;i=q[d+4>>2]+(f<<3)|0;q[i>>2]=b;q[i+4>>2]=c;b=f<<2;q[b+q[d+12>>2]>>2]=h;c=b+q[d+8>>2]|0;b=q[a+8>>2];q[c>>2]=b;c=q[d+20>>2];d=0;while(1){u[c+(b+d<<2)>>2]=u[(d<<2)+e>>2];d=d+1|0;if((g|0)!=(d|0)){continue}break}q[a+8>>2]=q[a+8>>2]+g;return}J(14062,13844,256,14125);G()}function Kl(a,b){var c=0;a:{b:{c:{d:{e:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break e}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break e}f:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break e;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break e;case 0:c=a+72|0;break e;default:break f}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;c=q[b+8>>2];switch(c-5|0){case 2:break c;case 0:break d;default:break b}}b=q[b>>2]+8|0;break a}b=q[b>>2]+8|0;break a}b=(q[a+16>>2]+(c<<2)|0)+152|0}b=q[b>>2];if(!b){return 0}c=q[a+8>>2];q[c+8>>2]=5;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Lma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(q[b+8>>2]!=2){J(32120,32176,566,32228);G()}d=q[b+32>>2];c=q[b+36>>2];q[a+72>>2]=q[b+32>>2];q[a+76>>2]=c;e=q[b+28>>2];c=a- -64|0;q[c>>2]=q[b+24>>2];q[c+4>>2]=e;c=q[b+20>>2];q[a+56>>2]=q[b+16>>2];q[a+60>>2]=c;c=q[b+12>>2];q[a+48>>2]=q[b+8>>2];q[a+52>>2]=c;c=q[b+4>>2];q[a+40>>2]=q[b>>2];q[a+44>>2]=c;c=q[b+12>>2];q[a+88>>2]=q[b+8>>2];q[a+92>>2]=c;c=q[b+20>>2];q[a+96>>2]=q[b+16>>2];q[a+100>>2]=c;c=q[b+28>>2];q[a+104>>2]=q[b+24>>2];q[a+108>>2]=c;c=q[b+36>>2];q[a+112>>2]=q[b+32>>2];q[a+116>>2]=c;c=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=c;b=q[d+36>>2];q[a+120>>2]=133;q[a+88>>2]=0;q[a+92>>2]=b;q[a+80>>2]=b;q[a+84>>2]=0}function OF(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=ti-16|0;ti=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{h=q[b+4>>2]>>>22&63;switch(h-2|0){case 12:break c;case 7:break d;case 0:break e;case 6:break f;case 2:break g;case 11:break h;case 3:break i;default:break b}}q[q[b+12>>2]+c>>2]=q[f>>2];break a}q[q[b+12>>2]+c>>2]=q[f>>2];break a}a=q[b+12>>2]+c|0;b=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=b;break a}o[q[b+12>>2]+c|0]=r[f|0];break a}u[q[b+12>>2]+c>>2]=u[f>>2];break a}j=q[d>>2];h=Ui(f)+1|0;j:{if(j+h>>>0>t[e>>2]){Bi(a,119406,0);break j}Gi(j,f,h);q[q[b+12>>2]+c>>2]=q[d>>2]-g}q[d>>2]=h+q[d>>2];break a}q[q[b+12>>2]+c>>2]=q[f>>2];break a}q[i+4>>2]=q[b>>2];q[i>>2]=h;Bi(a,119431,i)}ti=i+16|0}function RV(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti+ -64|0;ti=d;e=-54;a:{if(c>>>0>1024){break a}q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;b:{if(q[a+20>>2]?0:q[a+16>>2]<=q[a+28>>2]){break b}e=GD(a,0,0);if(!e){break b}break a}c:{if(c){h=a+32|0;while(1){e=16;while(1){if(e){e=e-1|0;g=e+a|0;f=r[g|0]+1|0;o[g|0]=f;if((f|0)!=(f&255)){continue}}break}if(qm(h,1,a,d)){break c}e=c>>>0<16?c:16;b=Gi(b,d,e)+e|0;c=c-e|0;if(c){continue}break}}if(YL(a,d+16|0)){break c}q[a+16>>2]=q[a+16>>2]+1}xi[q[68401]](d+16|0,0,48)|0;xi[q[68401]](d,0,16)|0;e=0}ti=d- -64|0;return e}function Eba(a,b,c,d,e){var f=0,g=0,h=x(0),i=0;f=ti-16|0;ti=f;a:{b:{g=c&65535;i=q[b+36>>2];b=q[b+32>>2];if(g>>>0<(i-b|0)/576>>>0){if(s[(b+w(g,576)|0)+552>>1]!=(c>>>16|0)){break b}if(s[(b+w(g,576)|0)+554>>1]!=(c&65535)){break a}c=lv(d,e);c:{if(c){b=(b+w(g,576)|0)+(q[c+8>>2]<<4)|0;c=r[c+12|0];if((c|0)==255){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];break c}h=u[b+(c<<2)>>2];u[a+12>>2]=h;u[a+8>>2]=h;u[a+4>>2]=h;u[a>>2]=h;break c}q[f>>2]=Mi(d,e);Ai(4,193721,194555,f);q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}ti=f+16|0;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function ys(a,b,c){var d=0,e=0,f=0,g=0;d=ti-176|0;ti=d;a:{e=q[a>>2];f=q[e+8>>2]-q[e+12>>2]>>4;if((f|0)>-1){if(Np(a)){g=q[e+8>>2]-q[e+12>>2]>>4;if(b){xi[b|0](e,c)}b=((q[e+8>>2]-q[e+12>>2]>>4)-g|0)+1|0;c=ti-128|0;ti=c;ti=c+128|0;q[d+40>>2]=0;Ay(e,b,0,0);a=q[a>>2];Ci(a,-2);b=q[81756];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);$i(a,-10002)}a=q[e+8>>2]-q[e+12>>2]>>4;if((a|0)!=(f|0)){break a}ti=d+176|0;return}q[d+12>>2]=f;q[d+4>>2]=1753;q[d+8>>2]=0;q[d>>2]=117392;Ai(4,117469,118011,d);J(118083,117392,1468,118100);G()}q[d+28>>2]=a;q[d+24>>2]=f;q[d+20>>2]=1753;q[d+16>>2]=117392;Ai(4,117469,118114,d+16|0);J(118185,117392,1491,118204);G()}function x8(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-32|0;ti=d;a:{b:{c:{g=b&65535;e=q[a+32>>2];h=(q[a+36>>2]-e|0)/576|0;if(g>>>0>>0){if(s[(w(g,576)+e|0)+552>>1]!=(b>>>16|0)){break c}i=w(g,576)+e|0;if(s[i+554>>1]!=(b&65535)){break b}f=s[i+560>>1];b=0;d:{if((f|0)==65535){break d}if(f>>>0>=h>>>0){break a}b=w(f,576)+e|0}f=q[c+4>>2];h=q[c>>2];u[d+8>>2]=u[c+8>>2];q[d>>2]=h;q[d+4>>2]=f;Pz(d+16|0,a,i,b,d);b=q[d+24>>2];c=q[d+20>>2];u[i>>2]=u[d+16>>2];a=w(g,576)+e|0;q[a+12>>2]=1065353216;q[a+4>>2]=c;q[a+8>>2]=b;q[a+412>>2]=q[a+412>>2]|4194304;ti=d+32|0;return}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function sK(a,b,c){var d=0,e=0,f=0;e=b+32|0;d=q[b+16>>2];f=q[d+12>>2];a:{b:{if(r[f|0]){d=Nj(a,f,e);if(d){break a}d=q[b+16>>2];break b}q[e>>2]=0}c:{d:{e:{f:{g:{h:{i:{j:{e=q[d>>2];k:{if(r[e|0]){d=a;if(c){f=Gs(a,e,0);e=q[b+16>>2];if(!f){break j}e=q[e>>2]}d=Nj(d,e,b+20|0);if(d){break a}d=q[b+16>>2];break k}q[b+20>>2]=0}d=q[d+4>>2];if(!r[d|0]){break i}if(!c){break g}break h}d=q[e+4>>2];if(r[d|0]){break h}}q[b+28>>2]=0;break f}if(!Gs(a,d,0)){break e}d=q[q[b+16>>2]+4>>2]}d=Nj(a,d,b+28|0);if(d){break a}}if(!c){break d}}if(!Gs(a,q[q[b+16>>2]+8>>2],0)){break c}}d=Nj(a,q[q[b+16>>2]+8>>2],b+24|0);if(d){break a}}d=0;a=q[b+20>>2];if(!a){break a}X3(q[a>>2],b)}return d}function Rga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-48|0;ti=b;g=q[a+4>>2];e=q[a+20>>2];q[b+40>>2]=0;q[b+44>>2]=0;a:{b:{d=q[a>>2];c=Nj(d,q[e+12>>2],b+40|4);c:{d:{if(c){break d}c=Nj(d,q[e+16>>2],b+40|0);f=q[b+44>>2];if(c){Pi(d,f);q[b+44>>2]=0;break d}c=Zy(g,f,q[b+40>>2]);if(!c){Pi(q[a>>2],q[b+44>>2]);Pi(q[a>>2],q[b+40>>2]);c=-2;break c}if(Hs(q[a>>2],q[e+12>>2],b+8|0)){break b}d=q[b+12>>2];q[c+88>>2]=q[b+8>>2];q[c+92>>2]=d;if(Hs(q[a>>2],q[e+16>>2],b+8|0)){break a}d=q[b+12>>2];q[c+96>>2]=q[b+8>>2];q[c+100>>2]=d;Qp(q[a>>2],472,c);EJ(q[a+8>>2],c,e);q[q[a+24>>2]+8>>2]=c;c=0}cj(e)}ti=b+48|0;return c|0}J(56365,56400,224,56442);G()}J(56365,56400,228,56442);G()}function y5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=ti-16|0;ti=c;a:{b:{d=aj(a,1);h=q[d>>2];if(h){e=zi(Wi(a,2,0));f=wi;q[c+12>>2]=0;q[c+8>>2]=0;b=q[d+8>>2];c:{if(!b){break c}b=q[q[d+4>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break c}d=q[d+12>>2];while(1){g=d+w(b,40)|0;if(q[g>>2]==(e|0)&(f|0)==q[g+4>>2]){break b}b=q[g+32>>2];if((b|0)!=-1){continue}break}}if(vG(h,e,f,c+12|0,c+8|0,c+4|0)){b=0;if(!q[c+8>>2]){break a}e=q[c+12>>2];d:{switch(q[c+4>>2]){case 0:Un(a,e);b=1;break a;case 9:break d;default:break a}}Nq(a,e);b=1;break a}q[c>>2]=Mi(e,f);b=Bi(a,114952,c);break a}J(114916,110389,148,114919);G()}bj(a,-1e4,q[(d+w(b,40)|0)+24>>2]);b=1}ti=c+16|0;return b|0}function jF(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;l=ti-16|0;ti=l;g=q[242116];i=q[g+16>>2];if(i){wj(i)}a:{b:{c:{j=s[g+68>>1];h=s[g+70>>1];d:{if((j|0)==(h|0)){q[d>>2]=0;q[l>>2]=j;Ai(4,203857,204002,l);break d}k=q[g+64>>2];if(!k){break c}if(h>>>0>=j>>>0){break b}p[g+70>>1]=h+1;k=s[k+(h<<1)>>1]}if(i){qj(i)}i=-3;if((h|0)!=(j|0)){h=q[g+48>>2];j=q[g+52>>2]-h>>5;g=k;if(j>>>0<=g>>>0){break a}g=h+(g<<5)|0;q[g+20>>2]=c;q[g>>2]=e;q[g+4>>2]=f;p[g+16>>1]=k;p[g+24>>1]=1;q[g+8>>2]=0;q[g+12>>2]=0;c=Ji(b);q[g+12>>2]=b;q[g+8>>2]=c;Gi(c,a,b);q[d>>2]=g;i=0}ti=l+16|0;return i}J(204946,204873,151,204953);G()}J(204957,204873,152,204953);G()}J(204924,204755,479,204935);G()}function g5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-80|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){e=Zi(b+56|0,a,0,110389,1329);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=4;q[b+32>>2]=0;q[b+36>>2]=0;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+52>>2];q[c+32>>2]=q[b+48>>2];q[c+36>>2]=a;a=q[b+44>>2];q[c+24>>2]=q[b+40>>2];q[c+28>>2]=a;a=q[b+36>>2];q[c+16>>2]=q[b+32>>2];q[c+20>>2]=a;a=q[b+28>>2];q[c+8>>2]=q[b+24>>2];q[c+12>>2]=a;a=q[b+20>>2];q[c>>2]=q[b+16>>2];q[c+4>>2]=a;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;f=Bi(a,110538,b)}Yi(e);ti=b+80|0;return f|0}J(110492,110389,475,114319);G()}function xta(a,b,c,d){var e=0,f=0,g=0;e=ti-224|0;ti=e;f=a;a=e+72|0;g=Dn(f,a,0,1);a:{if(!g){break a}if(q[a+104>>2]==8){f=c;c=a+112|0;p[b>>1]=r[f+c|0]|3328;a=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[b+2|0]=a;o[b+3|0]=a>>>8;o[b+4|0]=a>>>16;o[b+5|0]=a>>>24;a=r[101144]|r[101145]<<8;o[b+6|0]=a;o[b+7|0]=a>>>8;p[b+8>>1]=r[c+d|0]|3328;a=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[b+10|0]=a;o[b+11|0]=a>>>8;o[b+12|0]=a>>>16;o[b+13|0]=a>>>24;a=r[101144]|r[101145]<<8;o[b+14|0]=a;o[b+15|0]=a>>>8;break a}Eo(a,e);b:{if((c|0)==3){cw(a,e,b);break b}xi[735](b,c+e|0,4)}if((d|0)==3){cw(a,e,b+8|0);break a}xi[735](b+8|0,d+e|0,4)}ti=e+224|0;return g}function Sq(a,b){var c=0,d=0,e=0,f=0;c=ti-192|0;ti=c;if(Bj(a,1)){d=b;e=xj(a,1);a:{if(e<0x10000000000000000&e>=0){f=~~e>>>0;b=y(e)>=1?e>0?~~A(C(e*2.3283064365386963e-10),4294967295)>>>0:~~D((e- +(~~e>>>0>>>0))*2.3283064365386963e-10)>>>0:0;break a}b=0}b:{c:{if(!sv(d,f,b)){d=c;if(b>>>0<=2){b=q[(b<<2)+257416>>2]}else{b=82720}q[d+52>>2]=b;q[c+48>>2]=f;hj(c- -64|0,128,114570,c+48|0);q[c+32>>2]=c- -64;Bi(a,114488,c+32|0);break c}d=b;if((b|0)==2){break b}b=c;if(d>>>0<=2){d=q[(d<<2)+257416>>2]}else{d=82720}q[b+20>>2]=d;q[c+16>>2]=f;hj(c- -64|0,128,114570,c+16|0);q[c>>2]=c- -64;Bi(a,114520,c)}f=-1;b=-1}ti=c+192|0;wi=b;return f}J(114448,110389,1110,114471);G()}function _I(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=ti-16|0;ti=g;p[g+8>>1]=d;p[g+4>>1]=c;q[g>>2]=-1;p[g+6>>1]=0;_z(a,b,e,g,f);a:{b=s[g>>1];if((b|0)!=65535){f=0;while(1){d=b&65535;h=q[e>>2];i=(q[e+4>>2]-h|0)/24|0;if(d>>>0>=i>>>0){break a}b=h+w(d,24)|0;j=s[b+16>>1];k=0;b:{if((j|0)==65535){break b}if(j>>>0>=i>>>0){break a}k=(h+w(j,24)|0)+4|0}i=k;j=s[b+20>>1];h=q[a+32>>2];if(j>>>0>=(q[a+36>>2]-h|0)/576>>>0){break a}h=h+w(j,576)|0;kI(h,b,b+4|0,i,f&65535,s[g+6>>1],s[g+8>>1],c);i=s[h+562>>1];h=s[g+6>>1];_I(a,i,s[g+4>>1]+(h?32-z(h)|0:0)&65535,s[g+8>>1],e,d);f=f+1|0;b=s[b+18>>1];if((b|0)!=65535){continue}break}}ti=g+16|0;return}J(195730,195579,479,195741);G()}function xla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+4>>2];e=q[b+16>>2];d=q[q[a+12>>2]>>2];if(d>>>0>2]-e>>3>>>0){e=q[e+(d<<3)>>2];f=q[b>>2];if(e>>>0>2]-f>>8>>>0){b=q[a+16>>2];d=q[b+80>>2];if(d){rL(d,b+96|0);b=q[a+16>>2]}c=q[b+68>>2];a=c;d=q[b+64>>2];c=q[60261];if((d|0)==q[c+8>>2]&q[c+12>>2]==(a|0)){a=f+(e<<8)|0;p[a+246>>1]=s[a+246>>1]|1;return 0}c=q[60262];if((d|0)==q[c+8>>2]&(a|0)==q[c+12>>2]){a=f+(e<<8)|0;p[a+246>>1]=s[a+246>>1]&65534;return 0}c=q[62686];if((d|0)==q[c+8>>2]&(a|0)==q[c+12>>2]){a=f+(e<<8)|0;f=a;if(r[a+246|0]&4){yi(q[a+240>>2])}q[a+240>>2]=Jk(q[b+96>>2]);p[f+246>>1]=s[f+246>>1]|4}return 0}}J(52123,52040,479,52134);G()}function kM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;c=1;a:{b:{switch(b-a>>2){case 2:b=b-4|0;if(t[b>>2]>=t[a>>2]){break a}rl(a,b);break a;case 3:kq(a,a+4|0,b-4|0);break a;case 4:Ew(a,a+4|0,a+8|0,b-4|0);break a;case 5:Bw(a,a+4|0,a+8|0,a+12|0,b-4|0);break a;case 0:case 1:break a;default:break b}}e=a+8|0;kq(a,a+4|0,e);d=a+12|0;c:{while(1){g=(b|0)==(d|0);if(g){break c}d:{if(t[d>>2]>2]){q[f+12>>2]=q[d>>2];h=d;while(1){e:{c=e;q[h>>2]=q[c>>2];if((a|0)==(c|0)){c=a;break e}h=c;e=c-4|0;if(t[f+12>>2]>2]){continue}}break}q[c>>2]=q[f+12>>2];i=i+1|0;if((i|0)==8){break d}}e=d;d=d+4|0;continue}break}c=(d+4|0)==(b|0)}c=c|g}ti=f+16|0;return c&1}function hO(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),p=x(0);if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));p=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=r[a+c|0];h=x(o*x(a|0));l=x(+x(i+x(p*h))*1.5707963267948966);k=xl(l);m=a<<3;n=m+e|0;h=x(x(g+x(j*h))*x(x(x(d>>>0)+x(-128))*x(255)));u[n>>2]=u[n>>2]+x(k*h);l=uk(l);d=(m|4)+e|0;u[d>>2]=u[d>>2]+x(l*h);a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(205125,204086,994,205168);G()}function YS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-48|0;ti=b;c=Ym(a,132684);q[b+40>>2]=0;e=2;f=Wi(a,2,b+44|0);d=Wi(a,3,0);g=Wi(a,4,0);q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;h=q[c+32>>2];q[b+16>>2]=2;q[b+12>>2]=h;q[b+8>>2]=1028;d=ea(d|0,g|0,b+8|0,b+4|0)|0;a:{if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,ha(d|0)|0);break a}d=c+8|0;Hn(d);g=c;c=q[b+4>>2];c=GQ(g,f,q[b+44>>2],b+40|0,q[c+20>>2],q[c+16>>2],d);yi(q[b+4>>2]);if(c){f=q[a+8>>2];q[f+8>>2]=0;q[a+8>>2]=f+16;if((c|0)==-2){Hi(a,132723);break a}Hi(a,Yl(c));break a}c=q[b+40>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;e=1}ti=b+48|0;return e|0}function QY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-112|0;ti=d;b=Wi(a,1,0);e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-1e4,139430);c=e+1|0;Ki(a,c,b);a:{if((Ei(a,-1)|0)!=5){Ci(a,-2);if(hu(a,-10002,b,1)){q[d>>2]=b;c=Bi(a,139796,d);break a}Qi(a,-1);Di(a,c,b)}Ki(a,-1,139826);c=Ei(a,-1);Ci(a,-2);if(!c){Qi(a,-1);Di(a,-2,139832);Hi(a,b);Di(a,-2,139826);c=Km(b,46);Ni(a,b,(c?c+1|0:b)-b|0);Di(a,-2,139835)}Qi(a,-1);b:{c:{if(!cl(a,1,d+8|0)){break c}if(!tn(a,139844,d+8|0)){break c}if(!Ip(a,-1)){break b}}Bi(a,139846,0)}Qi(a,-2);Oo(a,-2);Ci(a,-2);b=2;c=0;if((e|0)<2){break a}while(1){Qi(a,b);Qi(a,-2);zk(a,1,0);f=(b|0)!=(e|0);b=b+1|0;if(f){continue}break}}ti=d+112|0;return c|0}function KO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-1072|0;ti=b;g=Dl(a,2,140058,b+28|0);mj(a,1,5);d=hm(a,3,1);a:{if((Ei(a,4)|0)<=0){e=Mk(a,1);break a}e=Xi(a,4)}c=b+32|0;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;b:{c:{if((d|0)<(e|0)){while(1){bj(a,1,d);if(!ek(a,-1)){c=Ei(a,-1);f=135271;d:{if((c|0)==-1){break d}f=q[(c<<2)+267792>>2]}c=f;q[b+20>>2]=d;q[b+16>>2]=c;Bi(a,140059,b+16|0)}ls(b+32|0);bn(b+32|0,g,q[b+28>>2]);d=d+1|0;if((e|0)!=(d|0)){continue}break c}}if((d|0)!=(e|0)){break b}}bj(a,1,e);if(!ek(a,-1)){c=Ei(a,-1);d=135271;e:{if((c|0)==-1){break e}d=q[(c<<2)+267792>>2]}q[b+4>>2]=e;q[b>>2]=d;Bi(a,140059,b)}ls(b+32|0)}gm(b+32|0);ti=b+1072|0;return 1}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,p=0,r=0,s=0,t=0,u=0,v=0;c=ti-128|0;ti=c;cs(c);d=xD();a:{if(!q[d>>2]){break a}h=a+52|0;i=a- -64|0;j=a+40|0;k=a+76|0;l=a+28|0;m=a+16|0;n=a+4|0;o=c+52|0;p=c- -64|0;r=c+40|0;s=c+76|0;t=c+28|0;u=c+16|0;v=c|4;while(1){Mn(c);e=d;f=Xt(c,q[d>>2]);if(f){g=f;break a}b:{if(q[a+88>>2]!=q[c+88>>2]|q[a+92>>2]!=q[c+92>>2]){break b}if(Lj(n,v)){break b}if(Lj(m,u)){break b}if(Lj(l,t)){break b}if(Lj(k,s)){break b}if(Lj(j,r)){break b}if(Lj(i,p)){break b}if((Dm(h,0)|0)!=(Dm(o,0)|0)){break b}break a}d=e+4|0;if(q[e+4>>2]){continue}break}}Mn(c);q[b>>2]=q[d>>2];ti=c+128|0;return g?g:q[d>>2]?0:-20096}function ML(a,b){var c=0,d=0,e=0;e=q[a+28>>2];wj(e);a:{b:{c=b&65535;d=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}b=a+(c<<6)|0;if(q[b+48>>2]!=2){break a}d=q[b+40>>2];if(d){Es(d);q[b+40>>2]=0}a=a+(c<<6)|0;c=a;d=q[a+44>>2];if((d|0)!=-1){Zo(d);jm(q[c+44>>2])}q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[c+44>>2]=-1;q[b+40>>2]=0;q[b+48>>2]=0;qj(e);return}J(162905,162757,479,162916);G()}J(162871,162574,187,162891);G()}J(162606,162574,457,162639);G()}function Bv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=q[b+136>>2];c=d>>>16|0;if((c|0)!=32767){if(!(d&255)){break b}d=q[a+1036>>2];e=q[a+1040>>2]-d>>2;if(c>>>0>=e>>>0){break a}f=q[(c<<2)+d>>2];g=q[f+148>>2];a=g>>>16&32767;c:{if((a|0)==32767){break c}c=0;while(1){if(a>>>0>=e>>>0){break a}a=q[(a<<2)+d>>2];if((a|0)==(b|0)){a=q[b+148>>2];if(c){q[c+148>>2]=q[c+148>>2]&-32768|a&32767;break c}q[f+148>>2]=g&-2147418113|a<<16&2147418112;break c}c=a;a=q[a+148>>2]&32767;if((a|0)!=32767){continue}break}}q[b+148>>2]=q[b+148>>2]|32767;a=q[b+140>>2];q[b+136>>2]=q[b+136>>2]&65535|2147418112;q[b+140>>2]=a}return}J(10473,7291,1201,10495);G()}J(12518,10061,479,9553);G()}function ok(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=q[a+112>>2];d=q[a+116>>2];b:{if(c|d){b=c>>>0<=t[a+120>>2];c=q[a+124>>2];if((d|0)<(c|0)?1:(d|0)<=(c|0)?b:0){break b}}g=lw(a);if((g|0)>-1){break a}}q[a+104>>2]=0;return-1}h=a;b=q[a+116>>2];i=b;d=q[a+8>>2];c=d;f=q[a+112>>2];c:{if(!(b|f)){break c}c=d;e=q[a+120>>2]^-1;f=e+f|0;b=(q[a+124>>2]^-1)+i|0;b=f>>>0>>0?b+1|0:b;i=q[a+4>>2];e=d-i|0;j=f>>>0>=e>>>0;e=e>>31;if((b|0)>(e|0)?1:(e|0)<=(b|0)?j:0){break c}c=f+i|0}q[h+104>>2]=c;h=q[a+4>>2];if(d){c=a;b=(d-h|0)+1|0;d=b+q[a+120>>2]|0;a=q[a+124>>2]+(b>>31)|0;q[c+120>>2]=d;q[c+124>>2]=d>>>0>>0?a+1|0:a}a=h-1|0;if(r[a|0]!=(g|0)){o[a|0]=g}return g}function _6(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;a=ti-48|0;ti=a;q[215617]=0;a:{if(q[215618]){Rl(166124,38,1,q[52088]);break a}q[215619]=0;q[a+44>>2]=-1;p[a+42>>1]=0;b:{if(!r[277316]){break b}}q[a+16>>2]=0;q[a+20>>2]=0;if(Uq(166163,a+16|0)){Rl(166168,49,1,q[52088]);b=q[a+20>>2];d=b;c=q[a+16>>2];if(b|c){Rm(c,d)}b=q[a+44>>2];if((b|0)==-1){break a}jm(b);break a}b=Oi(40);d=q[a+44>>2];c=s[a+42>>1];f=q[a+16>>2];g=q[a+20>>2];e=b+8|0;q[e>>2]=0;q[e+4>>2]=0;q[b>>2]=0;q[b+4>>2]=0;Ii(16,4,b,e,b+4|0);q[b+24>>2]=f;q[b+28>>2]=g;p[b+20>>1]=c;q[b+16>>2]=d;q[215620]=b;q[b+32>>2]=0;q[215621]=0;q[215618]=1;q[215622]=0;q[a>>2]=s[a+42>>1];Ai(2,166222,166227,a)}ti=a+48|0}function V$(a,b,c,d,e){var f=0,g=0;a:{b:{c:{d:{e:{if(s[a+20>>1]!=s[a+22>>1]){g=X$(b);if(!g){return-4}f=q[a+16>>2];if(!f){break e}b=s[a+22>>1];if(b>>>0>=s[a+20>>1]){break d}p[a+22>>1]=b+1;b=s[f+(b<<1)>>1];f=q[a>>2];if(b>>>0>=(q[a+4>>2]-f|0)/12>>>0){break c}f=f+w(b,12)|0;q[f+8>>2]=g;q[f>>2]=b;d=xi[q[g+12>>2]](c,d,f+4|0)|0;if(d){e=q[a+16>>2];if(!e){break b}c=s[a+22>>1];if(!c|c>>>0>s[a+20>>1]){break a}f=a;a=c-1|0;p[f+22>>1]=a;p[e+((a&65535)<<1)>>1]=b;return d}q[e>>2]=f;a=0}else{a=-1}return a}J(203770,203719,151,203777);G()}J(203781,203719,152,203777);G()}J(203674,203579,479,203685);G()}J(203770,203719,140,203801);G()}J(203806,203719,141,203801);G()}function GF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=ti-112|0;ti=g;i=a;f=a;if((Ei(f,1)|0)==8){f=sn(a,1);h=1}e=h|2;a:{if(Bj(i,e)){e=Ok(a,e);Ci(a,-2);break a}e=(a|0)==(f|0)}b:{if(q[a+8>>2]-q[a+12>>2]>>4!=(h|0)){if(!ek(a,h+1|0)){break b}}if(!cl(f,e,g+8|0)){break b}h=0;while(1){i=e+1|0;if(h&1){while(1){if(tn(f,b,g+8|0)){xi[c|0](f,g+8|0,d)}a=cl(f,i,g+8|0);i=i+1|0;if(a){continue}break b}}while(1){c:{h=i;if((e|0)>11){break c}if(tn(f,b,g+8|0)){xi[c|0](f,g+8|0,d)}i=h+1|0;e=h;if(cl(f,e,g+8|0)){continue}break b}break}if(cl(f,e+11|0,g+8|0)){Ni(a,117542,5);while(1){e=h;h=e+1|0;if(cl(f,e+10|0,g+8|0)){continue}break}}h=1;if(cl(f,e,g+8|0)){continue}break}}ti=g+112|0}function xka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];e=q[b+4>>2];c=q[b>>2];d=e-c|0;a=(d|0)/104|0;a:{if(!d){break a}if((c|0)!=(e|0)){e=a>>>0>1?a:1;a=0;while(1){c=w(a,104)+c|0;d=q[c+8>>2];if(d){iF(d);kF(q[c+8>>2])}a=a+1|0;if((e|0)==(a|0)){break a}c=q[b>>2];if((q[b+4>>2]-c|0)/104>>>0>a>>>0){continue}break}}J(45161,44897,479,45172);G()}b:{if(o[b+80|0]&1){break b}a=q[b+68>>2];if(!a){break b}yi(a)}c:{if(o[b+60|0]&1){break c}a=q[b+48>>2];if(!a){break c}yi(a)}d:{if(o[b+44|0]&1){break d}a=q[b+32>>2];if(!a){break d}yi(a)}e:{if(o[b+28|0]&1){break e}a=q[b+16>>2];if(!a){break e}yi(a)}f:{if(o[b+12|0]&1){break f}a=q[b>>2];if(!a){break f}yi(a)}yi(b);return 0}function Vw(a,b,c,d){var e=0,f=0,g=0;f=ti-16|0;ti=f;e=q[a>>2];a:{if((e|0)==-1){e=-2;break a}if(!_v(e,b,c)){e=0;break a}while(1){e=q[242957];q[f+4>>2]=e;if((e|0)!=27){if((e|0)!=26?(e|0)!=6:0){break a}e=-1;if(v[d>>3]==0){break a}b=q[a>>2];q[f+12>>2]=5;q[f+8>>2]=b;b:{c:{while(1){c=f+8|0;g=up(d)*1e3;d:{if(y(g)<2147483648){b=~~g;break d}b=-2147483648}b=zp(c,1,(b|0)>-1?b:-1);if((b|0)!=-1){if(!b){break a}if(r[f+14|0]&9){break c}e=0;break a}if(q[242957]==27){continue}break}e=q[242957];q[f+4>>2]=e;if((e|0)!=-2){break a}break b}q[f+4>>2]=-2}e=0;if(!Lt(q[a>>2],f+4|0,0)){break a}e=q[242957];break a}if(_v(q[a>>2],b,c)){continue}break}e=0}ti=f+16|0;return e}function hk(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}e=c;f=c;b=q[a+8>>2];if(c>>>0>>0){while(1){d=b-16|0;g=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=g;q[b+8>>2]=q[d+8>>2];b=d;if(c>>>0>>0){continue}break}b=q[a+8>>2]}a=q[b+4>>2];q[f>>2]=q[b>>2];q[e+4>>2]=a;q[c+8>>2]=q[b+8>>2]}function kU(a,b,c,d){var e=0,f=0;e=ti-192|0;ti=e;yq(e+104|0);uq(e+8|0);q[e+112>>2]=1732584193;q[e+116>>2]=-271733879;q[e+104>>2]=0;q[e+108>>2]=0;q[e+120>>2]=-1732584194;q[e+124>>2]=271733878;f=xq(e+104|0,q[a+68>>2]+1128|0,64);a:{if(f){break a}f=xq(e+104|0,c,d);if(f){break a}f=Yr(e+104|0,b);if(f){break a}q[e+16>>2]=1732584193;q[e+20>>2]=-271733879;q[e+8>>2]=0;q[e+12>>2]=0;q[e+32>>2]=-1009589776;q[e+24>>2]=-1732584194;q[e+28>>2]=271733878;f=tq(e+8|0,q[a+68>>2]+1128|0,64);if(f){break a}f=tq(e+8|0,c,d);if(f){break a}f=Rr(e+8|0,b+16|0)}b=e+104|0;if(b){xi[q[68401]](b,0,88)|0}b=e+8|0;if(b){xi[q[68401]](b,0,92)|0}if(f){Ij(a,2,80)}ti=e+192|0;return f}function gq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function bpa(a){var b=0,c=0,d=0,e=0;b=ti-144|0;ti=b;c=q[74116];a:{if(c){while(1){e=Im(b+32|0);d=Fl(q[a+4>>2],q[c+12>>2],b+28|0);if(d){e=q[c+12>>2];a=b;c=d+21|0;b:{if(c>>>0<=21){c=q[(c<<2)+242852>>2];break b}c=26156}q[a+20>>2]=c;q[b+16>>2]=e;Ai(3,5741,5792,b+16|0);d=-1e3;break a}q[b+24>>2]=0;if(Ov(q[a+8>>2],q[b+28>>2],b+24|0)){q[b>>2]=q[c+12>>2];Ai(3,5741,5833,b)}p[b+132>>1]=q[q[a+8>>2]>>2];q[b+32>>2]=q[b+28>>2];d=q[c+12>>2];q[b+36>>2]=d;q[b+40>>2]=zi(d);q[b+44>>2]=wi;q[b+132>>2]=q[b+132>>2]|65536;d=xi[q[c+4>>2]](a,e)|0;if(d){break a}d=Um(q[a+8>>2],e);if(d){break a}p[c+16>>1]=q[b+132>>2];c=q[c>>2];if(c){continue}break}}d=0}ti=b+144|0;return d}function Xma(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];b=q[q[a+16>>2]>>2];a=q[q[a+12>>2]+4>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}o[b+24|0]=r[b+24|0]&254;a=q[b+12>>2];if((a|0)!=-2){Aj(c,-1e4,a);Aj(c,-1e4,q[b+16>>2]);Aj(c,-1e4,q[b+20>>2]);q[b+20>>2]=-2;q[b+12>>2]=-2;q[b+16>>2]=-2}a=q[b+8>>2];if(a){An(a);q[b+8>>2]=0}b:{c:{e=q[d>>2];if((e|0)!=q[d+4>>2]){q[b>>2]=0;a=q[b+4>>2];if(a){IJ(q[d+32>>2],a)}q[b+4>>2]=0;o[b+24|0]=r[b+24|0]&253;c=q[d+16>>2];if(!c){break c}a=q[d+24>>2];if(!a|a>>>0>t[d+20>>2]){break b}a=a-1|0;q[d+24>>2]=a;q[(a<<2)+c>>2]=(b-e|0)/28;return 0}J(30483,30494,479,30472);G()}J(30965,30914,140,30688);G()}J(30996,30914,141,30688);G()}function rK(a,b){var c=0,d=0,e=0,f=0;e=ti-16|0;ti=e;c=q[b+12>>2];if(q[c+12>>2]==2){q[c+12>>2]=1}c=Nj(a,q[c>>2],b+8|0);a:{if(c){break a}c=Nj(a,q[q[b+12>>2]+8>>2],b+16|0);if(c){break a}if(q[q[b+16>>2]+104>>2]){Ai(4,58915,58923,0);c=-15;break a}a=zi(q[q[b+12>>2]+4>>2]);c=wi;f=c;q[b>>2]=a;q[b+4>>2]=c;d=q[b+8>>2];c=q[d+20>>2];b:{if(!c){break b}c=q[q[d+16>>2]+(Qwa(a,f,c)<<2)>>2];if((c|0)==-1){break b}d=q[d+24>>2];while(1){c=d+(c<<4)|0;if(q[c>>2]==(a|0)&q[c+4>>2]==(f|0)){c=0;break a}c=q[c+12>>2];if((c|0)!=-1){continue}break}}a=q[q[b+12>>2]+4>>2];c:{if(!(r[a|0]?a:0)){Ai(4,58915,59056,0);break c}q[e>>2]=a;Ai(4,58915,59087,e)}c=-13}ti=e+16|0;return c}function AF(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-32|0;ti=e;a:{g=q[a+8>>2]-q[a+12>>2]>>4;if((g|0)>-1){f=q[81756];h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);b:{if(!Kl(a,-1)){f=-2;break b}Ni(a,117239,14);f=-2;Vk(a,-2);Xk(a,-2);if(!Ei(a,-1)){Ci(a,-2);break b}Qi(a,-2);Ni(a,b,c);zk(a,2,1);q[d>>2]=Zk(a,-1);q[d+4>>2]=wi;f=-3}Ci(a,f);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(g|0)){break a}ti=e+32|0;return}q[e+12>>2]=g;q[e+4>>2]=797;q[e+8>>2]=0;q[e>>2]=117392;Ai(4,117469,118011,e);J(118083,117392,1468,118100);G()}q[e+28>>2]=a;q[e+24>>2]=g;q[e+20>>2]=797;q[e+16>>2]=117392;Ai(4,117469,118114,e+16|0);J(118185,117392,1491,118204);G()}function jC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=-27136;g=q[a+20>>2];h=((g|0)!=0)<<1;i=h+b|0;a:{if(i>>>0>16384){break a}e=q[a>>2];d=(q[a+68>>2]+d|0)+1192|0;Jr(r[e+180|0],r[e+181|0],q[e+184>>2]>>>1&1,d);e=q[a>>2];e=xi[q[e+24>>2]](q[e+28>>2],d+2|0,46)|0;if(e){break a}q[q[a+68>>2]+1124>>2]=48;f=q[q[a+64>>2]+96>>2];if(!f){return-27648}e=0;f=f+204|0;b:{if(!f){break b}j=q[f>>2];if(!j){break b}e=xi[q[j+12>>2]](1)|0}if(!e){return-27904}e=d;d=q[a>>2];e=XU(f,e,q[q[a+68>>2]+1124>>2],(q[a+204>>2]+b|0)+h|0,c,16384-i|0,q[d+24>>2],q[d+28>>2]);if(e|!g){break a}o[q[a+204>>2]+b|0]=q[c>>2]>>>8;o[(q[a+204>>2]+b|0)+1|0]=q[c>>2];q[c>>2]=q[c>>2]+2;e=0}return e}function J3(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=ti-32|0;ti=g;h=zi(c);i=wi;q[g+16>>2]=Jk(c);c=q[b+16>>2];k=q[(c?12:0)+b>>2];c=q[(c?16:4)+b>>2];j=Ji(c);q[g+12>>2]=c;q[g+8>>2]=j;Gi(j,k,c);q[g+20>>2]=d;q[g+24>>2]=Jk(q[b+8>>2]);b=a+8|0;c=q[a+32>>2];if((c|0)==q[a+24>>2]-q[a+16>>2]>>5){yz(b,127,c+128|0);zz(a+40|0,127,(q[a+56>>2]-q[a+48>>2]>>4)+128|0)}yH(b,h,i,g+8|0);c=q[a+12>>2];a:{b:{if(!c){break b}b=q[q[b>>2]+(Qwa(h,i,c)<<2)>>2];if((b|0)==-1){break b}c=q[a+16>>2];while(1){d=b<<5;b=d+c|0;if(q[b>>2]==(h|0)&(i|0)==q[b+4>>2]){break a}b=q[(c+d|0)+28>>2];if((b|0)!=-1){continue}break}}b=0}q[g+4>>2]=b?b+8|0:0;zH(a+40|0,e,f,g+4|0);ti=g+32|0;return 0}function yJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=ti-48|0;ti=g;f=g;q[f+40>>2]=b;q[f+44>>2]=c;q[f+16>>2]=0;q[f+20>>2]=0;q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;Uj(f+16|0,f+40|0,8);Uj(f+16|0,d,e<<4);i=Bn(f+16|0);q[f+8>>2]=i;q[f+12>>2]=0;h=a+16|0;d=q[a+20>>2];a:{b:{if(!d){break b}d=q[q[h>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break b}e=q[a+24>>2];while(1){j=w(d,24)+e|0;f=j;if(q[f>>2]!=(b|0)|q[f+4>>2]!=(c|0)){d=q[j+16>>2];if((d|0)!=-1){continue}break b}break}f=w(d,24)+e|0;d=q[f+8>>2];if(!q[f+12>>2]&(d|0)==(i|0)){break a}}o[a+52|0]=1;e=q[a+24>>2]}d=(q[a+32>>2]-e|0)/24|0;a=q[a+40>>2];if((d|0)==(a|0)){a=a+8|0;Ms(h,a,a<<1)}bv(h,b,c,g+8|0);ti=g+48|0}function L0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0);d=ti-48|0;ti=d;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){if((Ei(a,-1)|0)==3){c=x(xj(a,-1));g=c;e=c;f=c;break a}b=Li(a,-1,q[212905],0);c=u[b>>2];g=u[b+4>>2];b:{if(c!=c|g!=g){break b}e=u[b+8>>2];if(e!=e){break b}f=u[b+12>>2];if(f==f){break a}}e=u[b+8>>2];f=u[b+12>>2];v[d+16>>3]=g;v[d+32>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=-1;Bi(a,128909,d);f=u[b+12>>2];e=u[b+8>>2];g=u[b+4>>2];c=u[b>>2];break a}c=x(Ri(a,1));g=x(Ri(a,2));e=x(Ri(a,3));f=x(Ri(a,4))}b=jj(a,16);u[b+12>>2]=f;u[b+8>>2]=e;u[b+4>>2]=g;u[b>>2]=c;Ki(a,-1e4,128704);ij(a,-2);ti=d+48|0;return 1}function M2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=0,m=0,n=0,o=0,p=0;f=ti-16|0;ti=f;l=Ri(a,1);m=Ri(a,2);n=Ri(a,3);o=Ri(a,4);d=x(Ri(a,5));if(d==x(0)){js(a,1);q[f>>2]=dj(a,-1,0);Ai(3,130516,130523,f)}p=Ri(a,6);b=jj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b+60>>2]=0;q[b+52>>2]=0;q[b+44>>2]=-1082130432;q[b+48>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;e=x(m);h=x(l);i=x(x(1)/x(e-h));g=x(d+d);u[b>>2]=i*g;j=x(o);k=x(n);c=x(x(1)/x(j-k));u[b+36>>2]=x(k+j)*c;u[b+32>>2]=x(h+e)*i;u[b+20>>2]=g*c;c=x(p);e=x(x(1)/x(d-c));u[b+40>>2]=x(d+c)*e;u[b+56>>2]=x(g*e)*c;Ki(a,-1e4,128736);ij(a,-2);ti=f+16|0;return 1}function pz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-944|0;ti=d;e=Fi(d,0,940);q[e+940>>2]=1;o[b+344|0]=c;a:{if(!(o[b+304|0]&1)){Ii(q[a+92>>2],16,b+292|0,b+300|0,b+296|0);q[b+296>>2]=q[b+292>>2];Fi(q[b+308>>2],255,q[b+312>>2]<<2);q[b+328>>2]=-1;q[b+332>>2]=0;q[b+320>>2]=q[b+316>>2];g=b+308|0;Cz(g,64,256);q[e+792>>2]=r[b+344|0];if(q[a+92>>2]){c=0;while(1){f=q[a+88>>2]+(c<<3)|0;h=zi(q[f+4>>2]);i=wi;d=q[b+296>>2];if((d|0)==q[b+300>>2]){break a}f=q[f>>2];q[b+296>>2]=d+16;q[d+8>>2]=h;q[d+12>>2]=i;q[d>>2]=f;_n(g,h,i,e);c=c+1|0;if(c>>>0>2]){continue}break}}ti=e+944|0;return}J(144632,144449,493,144707);G()}J(144719,144449,533,144743);G()}function Xva(){q[62943]=q[74622];q[74622]=251744;q[62985]=q[74622];q[74622]=251912;q[63007]=q[74622];q[74622]=252e3;q[63087]=q[74622];q[74622]=252320;q[63111]=q[74622];q[74622]=252416;q[63153]=q[74622];q[74622]=252584;q[63241]=q[74622];q[74622]=252936;q[63281]=q[74622];q[74622]=253096;q[63315]=q[74622];q[74622]=253232;q[63363]=q[74622];q[74622]=253424;q[63381]=q[74622];q[74622]=253496;q[77284]=1;q[77282]=-1505215520;q[77283]=-1547365408;q[77281]=81057;q[77280]=1;q[77287]=0;o[309144]=0;q[77285]=q[77279];q[77287]=q[74622];q[74622]=309120;q[63403]=q[74622];q[74622]=253584;q[63457]=q[74622];q[74622]=253800;q[63479]=q[74622];q[74622]=253888}function H$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-32|0;ti=g;a:{if(a){e=Ui(a);if(e){break a}}a=178047;q[g+16>>2]=178047;Ai(3,177852,178053,g+16|0);e=5}c=a;while(1){d=r[c|0];if(!(!d|(d|0)==45|(d|0)==95)){c=c+1|0;continue}break}d=c;e=a+e|0;f=1;b:{if((e|0)==(c|0)){break b}d=e;while(1){h=r[d|0];f=0;if((h|0)==45|(h|0)==95){break b}d=d-1|0;if((d|0)!=(c|0)){continue}break}d=c;f=1}i=b+160|0;h=c-a|0;c=h+1|0;zj(i,a,c>>>0<8?c:8);c=b+168|0;c:{if(!f){f=c;c=(d-a|0)+1|0;zj(f,a,c>>>0<16?c:16);o[(b+h|0)+168|0]=45;break c}zj(c,i,8)}b=b+184|0;d:{if((d|0)!=(e|0)){a=e-d|0;zj(b,d+1|0,a>>>0<8?a:8);break d}o[b|0]=0;q[g>>2]=a;Ai(3,177852,178115,g)}ti=g+32|0}function Eua(a){var b=0,c=0,d=x(0),e=0;a:{b:{e=(bxa(a),Zwa(2));c=e&2147483647;if(c>>>0>=1065353216){if((c|0)!=1065353216){break b}return x(+a*1.5707963267948966+7.52316384526264e-37)}if(c>>>0<=1056964607){if(c-8388608>>>0<956301312){break a}d=x(a*a);return x(x(x(x(x(x(x(x(d*x(-.008656363002955914))+x(-.04274342209100723))*d)+x(.16666586697101593))*d)/x(x(d*x(-.7066296339035034))+x(1)))*a)+a)}a=x(x(x(1)-x(y(a)))*x(.5));b=F(+a);b=b+b*+x(x(x(x(x(x(a*x(-.008656363002955914))+x(-.04274342209100723))*a)+x(.16666586697101593))*a)/x(x(a*x(-.7066296339035034))+x(1)));a=x(1.5707963267948966-(b+b));return(e|0)>-1?a:x(-a)}a=x(x(0)/x(a-a))}return a}function W6(a,b){var c=0,d=0,e=0;a:{b:{if(q[215702]|!(a|b)){break b}while(1){c=q[215701];q[215701]=c?c:1;if(c){continue}break}c:{d=q[215700];c=q[d+4>>2];d:{if(!c){break d}c=q[q[d>>2]+(Qwa(a,b,c)<<2)>>2];if((c|0)==-1){break d}d=q[d+8>>2];while(1){e=d+(c<<6)|0;if((a|0)==q[e>>2]&q[e+4>>2]==(b|0)){break c}c=q[e+56>>2];if((c|0)!=-1){continue}break}}q[215701]=0;return 0}a=d+(c<<6)|0;c=q[a+8>>2];if(!c){break a}b=a+8|0;q[b>>2]=c+1;q[215701]=0;c=q[a+36>>2];wj(c);d=q[a+24>>2];qj(c);while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}a=q[b>>2]-1|0;q[b>>2]=a;q[215701]=0;c=(d|0)!=0;if(a){break b}Ls(b)}return c}J(167129,167148,286,167172);G()}function jI(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{g=a+28|0;d=q[g>>2];e=q[a+24>>2];c:{d:{if((d|0)==(e|0)){break d}c=d-e|0;f=(c|0)>-1?c:-1;d=e-d|0;c=w((f|0)<1?f:1,((c|0)<(d|0)?d:c)>>>3|0);d=c>>>0>1?c:1;c=0;while(1){if(q[e+(c<<3)>>2]!=(b|0)){c=c+1|0;if((d|0)!=(c|0)){continue}break d}break}if(q[(e+(c<<3)|0)+4>>2]){break c}}e=r8(q[a+20>>2],a);if(!e){break c}c=q[a+28>>2];d=a+32|0;f=q[d>>2];if((c|0)==(f|0)){if(o[a+36|0]&1){break b}a=a+24|0;Ii((c-q[a>>2]>>3)+1|0,8,a,d,g);f=q[d>>2];c=q[g>>2]}if((c|0)==(f|0)){break a}q[g>>2]=c+8;q[c+4>>2]=e;q[c>>2]=b;hI(q[q[212968]+20>>2],e,1)}return}J(142682,142615,493,142757);G()}J(142769,142615,533,142793);G()}function CG(a){var b=0,c=0,d=0;b=q[q[a+304>>2]+2012>>2];c=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[a+320>>2]);jk(b);Iy(q[a+312>>2]);d=q[b+8>>2];q[d+8>>2]=0;q[b+8>>2]=d+16;jk(b);Aj(b,-1e4,q[a+320>>2]);Aj(b,-1e4,q[a+324>>2]);Aj(b,-1e4,q[a+328>>2]);if((c|0)==q[b+8>>2]-q[b+12>>2]>>4){c=q[a+316>>2];if(c){b=0;while(1){d=q[((b<<2)+a|0)+48>>2];if(d){yi(d);c=q[a+316>>2]}b=b+1|0;if(c>>>0>b>>>0){continue}break}}a:{if(o[a+44|0]&1){break a}b=q[a+24>>2];if(b){yi(b)}b=q[a+16>>2];if(!b){break a}yi(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}yi(b)}a=Fi(a,0,320);q[a+328>>2]=-2;q[a+320>>2]=-2;q[a+324>>2]=-2;return}J(110492,110389,3213,114197);G()}function RB(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=ti-80|0;ti=i;q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;a=a-3|0;a:{if(a>>>0<=5){k=q[(a<<2)+273896>>2];break a}k=0}b:{if(!k){e=-27648;break b}a=(k?q[k+8>>2]:0)&255;l=Ui(d);n=l+f|0;m=a+n|0;j=Vj(1,m);c:{if(!j){e=-32512;break c}d=Gi(a+j|0,d,l);Gi(d+l|0,e,f);e=qn(i,k,1);if(e){break c}Mo(i,b,c);Uk(i,d,n);Nl(i,j);e=0;if(!h){break c}b=0;f=0;while(1){Lm(i);Uk(i,j,m);Nl(i,i+16|0);Lm(i);Uk(i,j,a);Nl(i,j);f=a+f|0;d=h>>>0>>0?(h>>>0)%(a>>>0)|0:a;if(d){Gi(w(a,b)+g|0,i+16|0,d)}b=b+1|0;if(f>>>0>>0){continue}break}}fm(i);xi[q[68401]](j,0,m)|0;xi[q[68401]](i+16|0,0,64)|0;yi(j)}ti=i+80|0;return e}function HK(a,b){var c=0,d=0,e=0,f=0,g=0;f=ti-16|0;ti=f;d=s[b+88>>1];c=s[b+90>>1];p[f+14>>1]=c;a:{if((d|0)!=65535){e=q[a+16>>2];if(q[a+20>>2]-e>>1>>>0<=d>>>0){break a}e=s[e+(d<<1)>>1];g=q[a>>2];if(e>>>0>=(q[a+4>>2]-g|0)/104>>>0){break a}p[(w(e,104)+g|0)+90>>1]=c;c=s[f+14>>1]}if((c|0)!=65535){e=q[a+16>>2];if(q[a+20>>2]-e>>1>>>0<=c>>>0){break a}c=s[e+(c<<1)>>1];g=q[a>>2];if(c>>>0>=(q[a+4>>2]-g|0)/104>>>0){break a}p[(g+w(c,104)|0)+88>>1]=d}b:{if((d|0)!=65535){break b}a=a+76|0;d=q[b+80>>2];if(s[f+14>>1]==65535){av(a,d);break b}$u(a,d,f+14|0)}q[b+84>>2]=0;q[b+88>>2]=-1;q[b+76>>2]=0;q[b+80>>2]=0;ti=f+16|0;return}J(6739,6485,479,6750);G()}function ET(a,b){var c=0,d=0,e=0;e=ti-48|0;ti=e;d=-8320;a:{b:{c:{c=q[a>>2];switch((c&223)-128|0){case 2:break b;case 0:break c;default:break a}}d=zN(c,q[a+4>>2],q[a+8>>2],e+8|0);if(d){break a}d=0;q[b>>2]=0;a=e;c=q[a+12>>2];q[b+4>>2]=q[a+8>>2];q[b+8>>2]=c;c=q[a+20>>2];q[b+12>>2]=q[a+16>>2];q[b+16>>2]=c;c=q[a+28>>2];q[b+20>>2]=q[a+24>>2];q[b+24>>2]=c;c=q[a+36>>2];q[b+28>>2]=q[a+32>>2];q[b+32>>2]=c;q[b+36>>2]=q[a+40>>2];break a}q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=2;d=0;q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;c=q[a+4>>2];q[b+4>>2]=q[a>>2];q[b+8>>2]=c;q[b+12>>2]=q[a+8>>2]}ti=e+48|0;return d}function DL(a,b,c){var d=0,e=0,f=0;e=ti-32|0;ti=e;a:{b:{c:{d=q[b+4>>2];switch((d>>>28|0)-1|0){case 0:break b;case 1:break c;default:break a}}q[e>>2]=q[b>>2];Ai(3,22628,22661,e);break a}d:{f=d&264241152;if((f|0)!=50331648){if((f|0)!=37748736){break d}f=q[b+16>>2];if(!f){break d}Aqa(c,a,b,f,Ui(f));break a}if(!q[b+16>>2]){break d}Ai(3,22628,22727,0);break a}d=d>>>22&63;if((d|0)==11){zqa(e+16|0,c,b);c=q[b+8>>2];if(!r[c+24|0]){break a}b=0;while(1){d=q[c+20>>2]+w(b,24)|0;e:{if(r[d+20|0]&127){Ai(3,22628,22771,0);break e}DL(a,d,e+16|0)}b=b+1|0;if(b>>>0>2];if(!a){break a}Bqa(c,b,a,KA(d))}ti=e+32|0}function C3(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=ti+ -64|0;ti=b;d=Li(a,1,q[212904],0);e=u[d>>2];f=u[d+4>>2];a:{if(!(e!=e|f!=f)){c=u[d+8>>2];if(c==c){break a}}c=u[d+8>>2];v[b+48>>3]=f;v[b+56>>3]=c;v[b+40>>3]=e;q[b+32>>2]=1;Bi(a,128819,b+32|0)}g=Li(a,2,q[212904],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){c=u[g+8>>2];if(c==c){break b}}c=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=c;v[b+8>>3]=e;q[b>>2]=2;Bi(a,128819,b);e=u[g>>2];f=u[g+4>>2];c=u[g+8>>2]}h=u[d+4>>2];i=u[d>>2];j=u[d+8>>2];d=jj(a,16);u[d+8>>2]=x(f*i)-x(h*e);u[d+4>>2]=x(j*e)-x(c*i);u[d>>2]=x(h*c)-x(j*f);Ki(a,-1e4,128688);ij(a,-2);ti=b- -64|0;return 1}function w8(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{e:{e=b&65535;d=q[a+32>>2];if(e>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(d+w(e,576)|0)+552>>1]!=(b>>>16|0)){break e}e=d+w(e,576)|0;if(s[e+554>>1]!=(b&65535)){break d}d=-10;if((q[e+412>>2]&240)!=80){break b}f=q[a+232>>2];e=q[a+228>>2];d=f-e|0;if(!d){break c}d=(d|0)/12|0;if((e|0)!=(f|0)){f=d>>>0>1?d:1;d=0;while(1){e=w(d,12)+e|0;if(q[e+8>>2]==(b|0)){lz(q[a+192>>2],q[e>>2],c)}d=d+1|0;if((f|0)==(d|0)){break c}e=q[a+228>>2];if((q[a+232>>2]-e|0)/12>>>0>d>>>0){continue}break}}break a}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}d=0}return d}J(195730,195579,479,195741);G()}function lma(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];b=q[q[a+16>>2]>>2];a=q[q[a+12>>2]+4>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}q[b+24>>2]=q[b+24>>2]&-2;a=q[b+12>>2];if((a|0)!=-2){Aj(c,-1e4,a);Aj(c,-1e4,q[b+16>>2]);Aj(c,-1e4,q[b+20>>2]);q[b+20>>2]=-2;q[b+12>>2]=-2;q[b+16>>2]=-2}a=q[b+8>>2];if(a){An(a);q[b+8>>2]=0}b:{c:{e=q[d+4>>2];if((e|0)!=q[d+8>>2]){q[b>>2]=0;a=q[b+4>>2];if(a){HJ(q[d>>2],a)}q[b+24>>2]=q[b+24>>2]&-3;c=q[d+20>>2];if(!c){break c}a=q[d+28>>2];if(!a|a>>>0>t[d+24>>2]){break b}a=a-1|0;q[d+28>>2]=a;q[(a<<2)+c>>2]=(b-e|0)/28;return 0}J(35707,35538,479,35718);G()}J(35729,35656,140,35760);G()}J(35765,35656,141,35760);G()}function iO(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=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=0,n=0,o=x(0),r=x(0);if(q[b+44>>2]==(f|0)){if(f){o=x(x(1)/x(f>>>0));c=q[b+4>>2];i=u[b+28>>2];g=x(t[a+4>>2]);j=x(x(u[b+32>>2]-i)/g);k=j;j=x(t[a>>2]);i=x(i+x(k*j));r=x(x(k+i)-i);h=u[b+16>>2];g=x(x(u[b+20>>2]-h)/g);k=g;g=x(h+x(g*j));j=x(x(k+g)-g);a=0;while(1){d=p[(a<<1)+c>>1];h=x(o*x(a|0));l=x(+x(i+x(r*h))*1.5707963267948966);k=xl(l);m=a<<3;n=m+e|0;h=x(x(g+x(j*h))*x(d|0));u[n>>2]=u[n>>2]+x(k*h);l=uk(l);d=(m|4)+e|0;u[d>>2]=u[d>>2]+x(l*h);a=a+1|0;if((f|0)!=(a|0)){continue}break}}q[b+44>>2]=0;return}J(205125,204086,994,205168);G()}function Rp(a,b){var c=0,d=0,e=0;a:{d=q[a+4>>2];c=q[d+4>>2];b:{if(!c){break b}c=q[q[d>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break b}d=q[d+8>>2];while(1){e=d+w(c,24)|0;if(q[e>>2]==(b|0)){break a}c=q[e+16>>2];if((c|0)!=-1){continue}break}}J(25816,24451,1668,25830);G()}c:{a=q[a>>2];b=q[a+4>>2];d:{if(!b){break d}c=d+w(c,24)|0;d=q[c+8>>2];e=q[c+12>>2];c=q[q[a>>2]+(Qwa(d,e,b)<<2)>>2];if((c|0)==-1){break d}a=q[a+8>>2];while(1){b=a+w(c,48)|0;if(q[b>>2]==(d|0)&(e|0)==q[b+4>>2]){break c}c=q[b+40>>2];if((c|0)!=-1){continue}break}}J(25767,24451,1671,25830);G()}a=a+w(c,48)|0;b=q[a+36>>2];if(!b){J(25770,24451,1672,25830);G()}q[a+36>>2]=b+1}function yP(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[a+204>>2];q[c>>2]=0;d=6;f=q[q[a>>2]+100>>2];g=q[f>>2];a:{if(g){while(1){d=e;e=g-1|0;b:{if(e>>>0<=11){e=q[(e<<2)+275088>>2];break b}e=0}if(!e){break a}e=d+2|0;g=q[f+4>>2];f=f+4|0;if(g){continue}break}d=d+8|0}e=h+16384|0;if(e>>>0>>0|e-b>>>0>>0){break a}g=q[q[a>>2]+100>>2];f=q[g>>2];if(!f){break a}e=b+6|0;d=0;while(1){a=d;h=d+e|0;d=f-1|0;c:{if(d>>>0<=11){d=q[(d<<2)+275088>>2];break c}d=0}o[h|0]=r[d+5|0];o[e+(a|1)|0]=r[d+4|0];d=a+2|0;f=q[g+4>>2];g=g+4|0;if(f){continue}break}if(!d){break a}o[b+5|0]=d;o[b|0]=0;o[b+1|0]=10;o[b+4|0]=d>>>8;d=a+4|0;o[b+3|0]=d;o[b+2|0]=d>>>8;q[c>>2]=a+8}}function Xda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{c:{d:{if(a){if((d|0)==2097152|d>>>0>2097152){break d}e:{if(c+1>>>0<2){break e}d=c&65535;if(d>>>0>=t[a+32>>2]){break c}e=q[q[a+24>>2]+(d<<2)>>2];if(!e){break e}f=s[q[a+28>>2]+(d<<1)>>1]==(c>>>16|0)?e:0}ab(q[(b<<2)+257568>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}a=q[f>>2];if(a>>>0<=2){a=q[(a<<2)+89860>>2]}else{a=0}ta(a|0,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}return}J(84152,84160,3350,89764);G()}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}Vi(a,89764,3360);J(84254,84160,3360,89764);G()}Vi(a,89764,3362);J(84254,84160,3362,89764);G()}function Wla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=q[b+32>>2];c=q[b+36>>2];q[a+72>>2]=q[b+32>>2];q[a+76>>2]=c;e=q[b+28>>2];c=a- -64|0;q[c>>2]=q[b+24>>2];q[c+4>>2]=e;c=q[b+20>>2];q[a+56>>2]=q[b+16>>2];q[a+60>>2]=c;c=q[b+12>>2];q[a+48>>2]=q[b+8>>2];q[a+52>>2]=c;c=q[b+4>>2];q[a+40>>2]=q[b>>2];q[a+44>>2]=c;c=q[b+12>>2];q[a+88>>2]=q[b+8>>2];q[a+92>>2]=c;c=q[b+4>>2];q[a+80>>2]=q[b>>2];q[a+84>>2]=c;c=q[b+20>>2];q[a+96>>2]=q[b+16>>2];q[a+100>>2]=c;c=q[b+28>>2];q[a+104>>2]=q[b+24>>2];q[a+108>>2]=c;c=q[b+36>>2];q[a+112>>2]=q[b+32>>2];q[a+116>>2]=c;q[a+88>>2]=3;b=Tba(q[d+8>>2],q[b+8>>2]==3?q[b>>2]:0);q[a+120>>2]=177;q[a+80>>2]=b;q[a+84>>2]=0}function t4(a,b,c,d,e){var f=0,g=0,h=0,i=0;h=-10;f=q[a>>2];a=q[f+4>>2];a:{if(!a){break a}a=q[q[f>>2]+(Qwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}i=q[f+8>>2];while(1){g=i+w(a,48)|0;f=g;if(q[f>>2]!=(b|0)|q[f+4>>2]!=(c|0)){a=q[g+40>>2];if((a|0)!=-1){continue}break a}break}b=i+w(a,48)|0;a=q[b+32>>2];g=q[a>>2];f=q[a+4>>2];a=0;b:{while(1){c=(a<<3)+d|0;if(q[c>>2]==(g|0)&q[c+4>>2]==(f|0)){break b}a=a+1|0;if((a|0)!=1){continue}break}return-18}a=q[b+12>>2];q[e>>2]=q[b+8>>2];q[e+4>>2]=a;a=q[b+36>>2];q[e+24>>2]=q[b+32>>2];q[e+28>>2]=a;a=q[b+28>>2];q[e+16>>2]=q[b+24>>2];q[e+20>>2]=a;a=q[b+20>>2];q[e+8>>2]=q[b+16>>2];q[e+12>>2]=a;h=0}return h}function oka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+4>>2];d=q[b+56>>2];c=q[b+52>>2];if((d|0)!=(c|0)){a=0;while(1){e=q[(a<<2)+c>>2];if(e){yi(e);c=q[b+52>>2];d=q[b+56>>2]}a=a+1|0;if(a>>>0>2>>>0){continue}break}}xi[q[77453]](q[b+88>>2]);xi[q[77440]](q[b+92>>2]);yi(q[b+96>>2]);xi[q[77445]](q[b+104>>2]);yi(q[b+116>>2]);a:{if(o[b+80|0]&1){break a}a=q[b+68>>2];if(!a){break a}yi(a)}b:{if(o[b+64|0]&1){break b}a=q[b+52>>2];if(!a){break b}yi(a)}c:{if(o[b+44|0]&1){break c}a=q[b+32>>2];if(!a){break c}yi(a)}d:{if(o[b+28|0]&1){break d}a=q[b+16>>2];if(!a){break d}yi(a)}e:{if(o[b+12|0]&1){break e}a=q[b>>2];if(!a){break e}yi(a)}yi(b);return 0}function daa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=0;b=ti-208|0;ti=b;f=Zi(b+184|0,a,1,196298,3870);c=yn(a,1);a:{if(c){e=c+8|0;d=c+4|0;break a}c=kl(a,1);e=c+8|0;d=c+4|0}g=u[c>>2];h=u[d>>2];u[b+168>>2]=u[e>>2];u[b+164>>2]=h;u[b+160>>2]=g;d=Mj(a,2);i=wi;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);q[b+40>>2]=0;q[b+32>>2]=1065353216;q[b+36>>2]=1065353216;e=jv(c,b+160|0,b+32|0,5,0);b:{if(!e){q[b>>2]=(q[c+40>>2]-q[c+32>>2]|0)/576;a=sj(f,200316,b);break b}if((Nz(c,e,d,i)|0)==-5){q[b+16>>2]=zs(a,2,b+32|0);a=sj(f,201802,b+16|0);break b}d=jj(a,8);q[d+4>>2]=e;q[d>>2]=c;Ki(a,-1e4,196365);ij(a,-2);a=1}Yi(f);ti=b+208|0;return a|0}function uJ(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=b;a=Da(a|0)|0;a:{b:{c:{if(r[q[77547]+156|0]&64){b=K()|0;if(b){break c}}q[d+24>>2]=c;na(a|0,1,d+28|0,d+24|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}sa(a|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break a}}oa(a|0,35713,d+20|0);if(!q[d+20>>2]){oa(a|0,35716,d+16|0);b=q[d+16>>2];if((b|0)>=1){c=b;b=Ji(b);Ua(a|0,c|0,d+16|0,b|0);q[d>>2]=b;Ai(4,84116,87658,d);yi(b)}qa(a|0);a=0}d:{if(!a){c=0;break d}c=Oi(4);q[c>>2]=a}ti=d+32|0;return c}Vi(b,87643,1872);J(84254,84160,1872,87643);G()}Vi(b,87643,1875);J(84254,84160,1875,87643);G()}Vi(b,87643,1877);J(84254,84160,1877,87643);G()}function pP(a,b,c){var d=0,e=0,f=0;e=ti-1536|0;ti=e;a:{if(!a){a=0;if(!c){break a}q[c>>2]=10;break a}d=Fi(e,0,1524);q[d+1432>>2]=-1;q[d+136>>2]=0;q[d+108>>2]=0;q[d+112>>2]=0;q[d+40>>2]=0;q[d+44>>2]=a;q[d+32>>2]=0;o[d+60|0]=0;q[d+48>>2]=a;q[d+56>>2]=b;q[d+52>>2]=a+b;b:{if(!sP(d)){break b}q[d+8>>2]=q[d+8>>2]+1528;a=q[d+92>>2];c:{if(a){b=q[d+100>>2];f=b+1528|0;if((f|0)>q[d+104>>2]){break b}q[d+100>>2]=f;a=a+b|0;break c}a=Ji(1528)}if(!a){break b}b=Gi(a,d,1524);if(qw(b,d+1532|0,d+1524|0,d+1528|0)){pw(b,q[d+1532>>2],q[d+1524>>2],q[d+1528>>2])}if(!c){break a}q[c>>2]=0;break a}if(c){q[c>>2]=q[d+112>>2]}EB(d);a=0}ti=e+1536|0;return a}function hp(a,b,c,d,e){var f=0,g=0,h=0;f=ti-384|0;ti=f;h=Tp(b,c,d);a:{if(!h){q[f+4>>2]=Mi(c,d);q[f>>2]=e;Bi(a,72190,f);a=0;break a}g=Mu(b,q[h+8>>2],f+124|0);if(g){q[f+112>>2]=Mi(c,d);q[f+104>>2]=c;q[f+108>>2]=d;q[f+96>>2]=g;hj(f+128|0,256,(g|0)==-3?71794:(g|0)==-15?71836:71901,f+96|0);q[f+80>>2]=f+128;Bi(a,70520,f+80|0)}b=Fl(b,e,f+120|0);if(b){q[f- -64>>2]=Mi(c,d);q[f+56>>2]=c;q[f+60>>2]=d;q[f+48>>2]=b;hj(f+128|0,256,(b|0)==-3?71794:(b|0)==-15?71836:71901,f+48|0);q[f+32>>2]=f+128;Bi(a,70520,f+32|0)}if(q[f+124>>2]!=q[f+120>>2]){b=Mi(c,d);q[f+20>>2]=e;q[f+16>>2]=b;Bi(a,72225,f+16|0);a=0;break a}a=q[h+8>>2]}ti=f+384|0;return a}function ct(a,b){var c=0,d=0,e=0,f=0,g=0;g=q[b+140>>2];a:{b:{c:{d:{b=((q[b+136>>2]&255)<<4)+a|0;c=b+1084|0;d=q[c>>2];e=q[b+1080>>2];f=d-e|0;if(f){b=g>>>16&32767;if(b>>>0>=f>>1>>>0){break d}f=(b<<1)+e|0;b=d-2|0;d=s[b>>1];p[f>>1]=d;q[c>>2]=b;if(b>>>0>>0){break c}b=q[a+1040>>2];a=q[a+1036>>2];if(d>>>0>=b-a>>2>>>0){break b}c=q[a+(d<<2)>>2];b=c;a=q[b+140>>2];b=q[b+136>>2];e=a;if((d|0)!=(a&32767)){break a}p[c+144>>1]=s[c+144>>1];q[c+136>>2]=b;q[c+140>>2]=e&-2147418113|g&2147418112;return}J(10328,7291,670,10345);G()}J(10365,7291,671,10345);G()}J(10456,10061,516,10446);G()}J(12518,10061,479,9553);G()}J(10403,7291,676,10345);G()}function oz(a,b,c){var d=x(0);q[a+128>>2]=zi(q[b>>2]);q[a+132>>2]=wi;a:{if(!(o[a+68|0]&1)){Ii(q[b+72>>2],160,a+56|0,a- -64|0,a+60|0);q[a+272>>2]=c;c=w(c,214013)+2531011|0;d=x(x((c>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+284>>2]=B(x(u[b+8>>2]+x(x(x(d+d)+x(-1))*u[b+116>>2])),x(0));c=w(c,214013)+2531011|0;d=x(x((c>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+288>>2]=u[b+80>>2]+x(x(x(d+d)+x(-1))*u[b+112>>2]);if(!q[b+88>>2]){break a}d=x(x((w(c,214013)+2531011>>>16&32767)>>>0)*x(30518509447574615e-21));u[a+292>>2]=x(x(d+d)+x(-1))*u[q[b+84>>2]+12>>2];return}J(145676,145751,493,145807);G()}J(145920,145932,224,145962);G()}function Jra(a,b){var c=0,d=0,e=0;a:{d=q[a+4>>2];e=q[a>>2];if((d-e|0)/96>>>0>b>>>0){c=w(b,96)+e|0;b=d-96|0;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];u[c- -64>>2]=u[b- -64>>2];u[c+68>>2]=u[b+68>>2];u[c+72>>2]=u[b+72>>2];u[c+76>>2]=u[b+76>>2];o[c+80|0]=r[b+80|0];q[a+4>>2]=b;if(b>>>0>>0){break a}return}J(146011,145751,513,146026);G()}J(146036,145751,516,146026);G()}function CC(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;h=ti-16|0;ti=h;q[d>>2]=0;g=q[a>>2];a:{if((g|0)==-1){f=-2;break a}b:{c:{f=$w(g,b,c);if((f|0)<=-1){while(1){f=q[242957];d:{if((f|0)!=6){if((f|0)==27){break d}g=-2;if((f|0)!=64){break a}break b}g=q[a>>2];q[h+12>>2]=4;q[h+8>>2]=g;if(v[e>>3]==0){break c}while(1){g=h+8|0;i=up(e)*1e3;e:{if(y(i)<2147483648){f=~~i;break e}f=-2147483648}g=zp(g,1,(f|0)>-1?f:-1);if((g|0)!=-1){if(g){break d}break c}if(q[242957]==27){continue}break}g=q[242957];if(g){break b}}f=$w(q[a>>2],b,c);if((f|0)<=-1){continue}break}}q[d>>2]=f;f=0;break a}f=-1;break a}f=g}ti=h+16|0;return f|0}function tm(a,b){var c=0,d=0;a:{b:{switch(q[b>>2]-6|0){case 0:q[b>>2]=12;return;case 1:a=Qk(a,q[b+8>>2]<<23|4,q[q[a+12>>2]+8>>2]);break a;case 2:a=Qk(a,q[b+8>>2]<<14|5,q[q[a+12>>2]+8>>2]);break a;case 3:c=q[b+12>>2];if(!(c&256|(c|0)>2]=q[a+36>>2]-1}d=a;c=q[b+8>>2];if(!(c&256|r[a+50|0]>(c|0))){q[a+36>>2]=q[a+36>>2]-1;c=q[b+8>>2]}a=Qk(d,c<<23|q[b+12>>2]<<14|6,q[q[a+12>>2]+8>>2]);break a;case 7:q[b>>2]=12;q[b+8>>2]=q[q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)>>2]>>>6&255;return;case 8:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&8388607|16777216;q[b>>2]=11;break;default:break b}}return}q[b>>2]=11;q[b+8>>2]=a}function poa(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;b=-13;a:{if(!Cj(q[a+12>>2],q[a+16>>2],239464,e+12|0)){c=q[e+12>>2];d=q[c+4>>2];b:{if(!d){break b}b=0;while(1){if(b>>>0>=d>>>0){break a}nk(q[a+20>>2],q[(q[c>>2]+w(b,160)|0)+4>>2]);b=b+1|0;c=q[e+12>>2];d=q[c+4>>2];if(b>>>0>>0){continue}break}if(!d){break b}c=q[c>>2];b=0;while(1){nk(q[a+20>>2],q[(c+w(b,160)|0)+4>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}c=q[e+12>>2]}d=q[c+20>>2];if(d){c=q[c+16>>2];b=0;while(1){nk(q[a+20>>2],q[c+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}c=q[e+12>>2]}q[q[a+24>>2]>>2]=c;b=0}ti=e+16|0;return b|0}J(20437,20449,94,20490);G()}function hH(a,b,c){var d=x(0),e=x(0),f=0,g=x(0);e=u[c+4>>2];d=u[q[a+4>>2]+88>>2];if(!(e>2])<<4}g=u[c>>2];b=q[c+940>>2]&-113|f|(d<=e?(d>g)<<5:0);q[c+940>>2]=b;a:{if(g>x(0)^1){break a}if(f){b=b|64;q[c+940>>2]=b;u[c+8>>2]=u[q[a+4>>2]+80>>2];break a}d=x(u[c+8>>2]-u[a>>2]);u[c+8>>2]=d;if(d<=x(0)^1){break a}b=b|64;q[c+940>>2]=b;u[c+8>>2]=d+u[q[a+4>>2]+84>>2]}if(!(b&128)){q[c+12>>2]=q[a+8>>2];q[c+16>>2]=q[a+12>>2];q[c+20>>2]=q[a+16>>2];q[c+24>>2]=q[a+20>>2];b=b&-129|r[a+36|0]<<7&128;q[c+940>>2]=b}if(!(b&256)){u[c+28>>2]=u[a+24>>2];u[c+32>>2]=u[a+28>>2];u[c+36>>2]=u[a+32>>2];q[c+940>>2]=r[a+36|0]<<7&256|b&-257}}function Fk(a,b,c){var d=0,e=0,f=0,g=0;e=ti-32|0;ti=e;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{if((a|0)==(b|0)){d=gk(e+16|0,a);if(d){break a}b=e+16|0}if((a|0)==(c|0)){d=gk(e,a);if(d){break a}c=e}f=q[b+4>>2];while(1){g=f;if(f){f=g-1|0;if(!q[q[b+8>>2]+(f<<2)>>2]){continue}}break}d=q[c+4>>2];while(1){f=d;if(f){d=f-1|0;if(!q[q[c+8>>2]+(d<<2)>>2]){continue}}break}d=bl(a,f+g|0);if(d){break a}d=lk(a,0);if(d){break a}if(f){while(1){d=(q[a+8>>2]+(f<<2)|0)-4|0;f=f-1|0;kx(g,q[b+8>>2],d,q[q[c+8>>2]+(f<<2)>>2]);if(f){continue}break}}q[a>>2]=w(q[c>>2],q[b>>2]);d=0}Si(e);Si(e+16|0);ti=e+32|0;return d}function xm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=ti-16|0;ti=g;i=zi(b);j=wi;a:{e=q[a+4>>2];f=q[a>>2];b:{if((e|0)==(f|0)){break b}d=e-f|0;h=(d|0)>-1?d:-1;e=f-e|0;d=w((h|0)<1?h:1,((d|0)<(e|0)?e:d)>>>4|0);e=d>>>0>1?d:1;d=0;while(1){h=f+(d<<4)|0;if((i|0)==q[h>>2]&q[h+4>>2]==(j|0)){d=q[(f+(d<<4)|0)+8>>2];c=q[a+16>>2];if(d>>>0>=q[a+20>>2]-c>>>0){break a}c=c+d|0;break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[g+12>>2]=0;d=q[213375];c:{if(!d){break c}while(1){d:{f=q[d+12>>2];if(f){if(xi[f|0](a,b,c,g+12|0)|0){break d}}d=q[d+24>>2];if(d){continue}break c}break}c=q[g+12>>2]}ti=g+16|0;return c}J(149685,149557,479,149696);G()}function y2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0),o=x(0),p=x(0),r=x(0),s=x(0);b=ti-144|0;ti=b;c=aj(a,1);d=u[c>>2];e=u[c+16>>2];f=u[c+32>>2];g=u[c+48>>2];h=u[c+4>>2];i=u[c+20>>2];j=u[c+36>>2];k=u[c+52>>2];l=u[c+8>>2];m=u[c+24>>2];n=u[c+40>>2];o=u[c+56>>2];p=u[c+12>>2];r=u[c+28>>2];s=u[c+44>>2];v[b+128>>3]=u[c+60>>2];v[b+120>>3]=s;v[b+112>>3]=r;v[b+104>>3]=p;v[b+96>>3]=o;v[b+88>>3]=n;v[b+80>>3]=m;v[b+72>>3]=l;v[b- -64>>3]=k;v[b+56>>3]=j;v[b+48>>3]=i;v[b+40>>3]=h;v[b+32>>3]=g;v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=128736;v[b+8>>3]=d;vj(a,129663,b);ti=b+144|0;return 1}function iga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;b=-2;a:{if(!Cj(q[a+20>>2],q[a+24>>2],272e3,c+8|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}q[a>>2]=q[c+8>>2];Fi(q[a+4>>2],255,q[a+8>>2]<<2);q[a+24>>2]=-1;q[a+28>>2]=0;b=q[a+12>>2];q[a+16>>2]=b;e=a+4|0;f=q[a+20>>2]-b>>4;d=q[a>>2];b=q[d+4>>2];b:{c:{if(f>>>0>>0){a=(b<<1>>>0)/3|0;cv(e,a>>>0>1?a:1,b);q[c+12>>2]=0;break c}q[c+12>>2]=0;if(!b){break b}}a=0;while(1){if(t[d+4>>2]<=a>>>0){break a}a=q[d>>2]+w(a,192)|0;Vq(e,q[a+8>>2],q[a+12>>2],c+12|0);a=q[c+12>>2]+1|0;q[c+12>>2]=a;if(a>>>0>>0){continue}break}}b=0}ti=c+16|0;return b|0}J(58798,58810,69,58857);G()}function aX(a){a=a|0;var b=0;ks(a,140233);Qi(a,-1);Di(a,-2,140239);ik(a,0,268480);gj(a,0,1);ck(a,1105,0);Di(a,-2,140334);Cq(a,-10001);ik(a,140204,268384);gj(a,0,1);ck(a,1106,0);Di(a,-2,140334);b=jj(a,4);q[b>>2]=0;Ki(a,-1e4,140233);ij(a,-2);q[b>>2]=q[52086];Qi(a,-1);bk(a,-10001,1);Qi(a,-2);Oo(a,-2);Di(a,-3,140207);b=jj(a,4);q[b>>2]=0;Ki(a,-1e4,140233);ij(a,-2);q[b>>2]=q[52087];Qi(a,-1);bk(a,-10001,2);Qi(a,-2);Oo(a,-2);Di(a,-3,140213);b=jj(a,4);q[b>>2]=0;Ki(a,-1e4,140233);ij(a,-2);q[b>>2]=q[52088];Qi(a,-2);Oo(a,-2);Di(a,-3,140220);Ci(a,-2);Ki(a,-1,140227);gj(a,0,1);ck(a,1107,0);Di(a,-2,140334);Oo(a,-2);Ci(a,-2);return 1}function Ufa(a){a=a|0;var b=0,c=0,d=0;b=Oi(72);q[b+32>>2]=0;q[b+36>>2]=0;q[b+64>>2]=0;q[b+68>>2]=0;q[b+48>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=-1;d=wK(q[a>>2],q[a+20>>2],b);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=(((q[a+16>>2]+q[b+8>>2]|0)-q[b>>2]|0)+w(q[b+32>>2]-q[b+24>>2]>>4,12)|0)+72;return d|0}c=q[b+48>>2];if(c){Pi(q[a>>2],c)}a=q[b+64>>2];if(a){cj(a)}a:{if(o[b+44|0]&1){break a}a=q[b+24>>2];if(a){yi(a)}a=q[b+16>>2];if(!a){break a}yi(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}yi(a)}yi(b);return d|0}function l9(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;c=ti-32|0;ti=c;d=1;e=q[a+8>>2]-q[a+12>>2]>>4;g=Mj(a,1);h=wi;i=Xi(a,2);j=Xi(a,3);b=Wi(a,4,0);mj(a,5,4);k=dj(a,5,c+28|0);Ti(a);l=Li(a,-1,q[216371],198335);Ci(a,-2);if((e|0)>=6){mj(a,6,1);d=!Ej(a,6)}a:{if(!nj(b,200523)){break a}if(!nj(b,200527)){f=1;break a}if(!nj(b,200532)){f=2;break a}q[c+16>>2]=b;Bi(a,200534,c+16|0)}b=N8(l,g,h,i,j,f,d,k,q[c+28>>2]);if(b){q[c>>2]=b;Ai(3,196621,200627,c);b=0}else{b=1}d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,1884,200659);G()}ti=c+32|0;return 1}function YM(a,b){var c=0,d=0;d=ti-32|0;ti=d;a:{b:{c:{if(!Oj(208360,o[b|0])){q[242957]=28;break c}c=Ji(1176);if(c){break b}}c=0;break a}Fi(c,0,144);if(!Oj(b,43)){q[c>>2]=r[b|0]==114?8:4}d:{if(r[b|0]!=97){b=q[c>>2];break d}b=R(a|0,3,0)|0;if(!(b&1024)){q[d+16>>2]=b|1024;R(a|0,4,d+16|0)|0}b=q[c>>2]|128;q[c>>2]=b}o[c+75|0]=255;q[c+48>>2]=1024;q[c+60>>2]=a;q[c+44>>2]=c+152;e:{if(b&8){break e}q[d>>2]=d+24;if(gi(a|0,21523,d|0)|0){break e}o[c+75|0]=10}q[c+40>>2]=1582;q[c+36>>2]=1584;q[c+32>>2]=1581;q[c+12>>2]=1580;if(!q[242989]){q[c+76>>2]=-1}q[c+56>>2]=q[242946];a=q[242946];if(a){q[a+52>>2]=c}q[242946]=c}ti=d+32|0;return c}function Aea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=ti+ -64|0;ti=c;f=Zi(c+40|0,a,1,60730,848);a:{if((Ei(a,1)|0)==7){b=Li(a,1,q[76578],0);if(b){if(Ao(q[b>>2])){break a}}Bi(a,61079,0)}wk(a,1,60528);b=0}d=Xi(a,2);e=q[b+28>>2];b:{c:{if((d|0)>=1){g=q[b+36>>2];if((d|0)<=(w(e,g)|0)){break c}}if(e){a=q[b+36>>2];q[c+20>>2]=60528;q[c+16>>2]=60513;q[c+24>>2]=w(a,e);a=sj(f,61108,c+16|0);break b}q[c+4>>2]=60528;q[c>>2]=60513;a=sj(f,61155,c);break b}d=d-1|0;e=(d>>>0)/(g>>>0)|0;h=+xi[q[b+24>>2]](q[b+16>>2],w(e,q[b+32>>2])+(d-w(e,g)|0)|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=h;q[a+8>>2]=q[a+8>>2]+16;a=1}Yi(f);ti=c- -64|0;return a|0}function s5(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=aj(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;d=q[c+304>>2];c=q[d+2396>>2];q[b>>2]=q[d+2392>>2];q[b+4>>2]=c;Ul(a,b);ti=b+32|0;return 1}function pA(a,b,c){var d=0,e=0,f=0,g=0;a:{d=q[a+76>>2];b:{if(!d){break b}f=a+72|0;d=q[q[f>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break b}e=q[a+80>>2];while(1){g=e+w(d,24)|0;if(q[g>>2]==(b|0)&(c|0)==q[g+4>>2]){break a}d=q[g+20>>2];if((d|0)!=-1){continue}break}}J(39991,40001,157,40539);G()}d=e+w(d,24)|0;e=q[d+12>>2]-1|0;q[d+12>>2]=e;c:{d:{if(!e){T7(f,b,c);f=q[d+8>>2];b=a+108|0;d=q[b>>2];c=a+112|0;e=q[c>>2];if((d|0)==(e|0)){if(o[a+116|0]&1){break d}a=a+104|0;Ii((d-q[a>>2]>>2)+4|0,4,a,c,b);e=q[c>>2];d=q[b>>2]}if((d|0)==(e|0)){break c}q[b>>2]=d+4;q[d>>2]=f}return}J(41488,40669,493,40355);G()}J(40645,40669,533,40725);G()}function mna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;a:{b:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>=2){if((Ei(a,2)|0)==6){break b}}c=Bi(a,63844,0);break a}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;Vn(a,63033,b+44|0,b+40|0,b+8|0);c:{d:{if(o[q[b+40>>2]+24|0]&1){Ai(4,63895,63903,0);break d}Qi(a,2);c=kk(a,-1e4);Ti(a);e=kk(a,-1e4);Ul(a,b+8|0);f=kk(a,-1e4);if(Uma(q[b+44>>2],q[b+40>>2],c,e,f)){break c}Aj(a,-1e4,c);Aj(a,-1e4,e);Aj(a,-1e4,f)}c=Bi(a,63968,0);break a}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(d|0)){break a}J(64011,63431,212,64032);G()}ti=b+48|0;return c|0}function t5(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=aj(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;d=q[c+16>>2];c=q[d+2396>>2];q[b>>2]=q[d+2392>>2];q[b+4>>2]=c;Ul(a,b);ti=b+32|0;return 1}function sja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-48|0;ti=b;a:{b:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>=2){if((Ei(a,2)|0)==6){break b}}c=Bi(a,65435,0);break a}g=TF(a);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;Vn(a,64877,0,b+44|0,b+8|0);c:{d:{if(q[q[b+44>>2]+24>>2]&1){Ai(4,65274,65486,0);break d}Qi(a,2);c=kk(a,-1e4);Ti(a);e=kk(a,-1e4);Ul(a,b+8|0);f=kk(a,-1e4);if(hma(g,q[b+44>>2],c,e,f)){break c}Aj(a,-1e4,c);Aj(a,-1e4,e);Aj(a,-1e4,f)}c=Bi(a,65550,0);break a}c=0;if(q[a+8>>2]-q[a+12>>2]>>4==(d|0)){break a}J(65582,65374,192,65603);G()}ti=b+48|0;return c|0}function jB(a,b,c,d,e){var f=0,g=0,h=0;f=ti-208|0;ti=f;q[f+204>>2]=c;Fi(f+160|0,0,40);q[f+200>>2]=q[f+204>>2];a:{if((ex(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=q[a+76>>2]>=0;c=q[a>>2];if(o[a+74|0]<=0){q[a>>2]=c&-33}h=c&32;b:{if(q[a+48>>2]){b=ex(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}q[a+48>>2]=80;q[a+16>>2]=f+80;q[a+28>>2]=f;q[a+20>>2]=f;c=q[a+44>>2];q[a+44>>2]=f;d=ex(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}xi[q[a+36>>2]](a,0,0)|0;q[a+48>>2]=0;q[a+44>>2]=c;q[a+28>>2]=0;q[a+16>>2]=0;b=q[a+20>>2];q[a+20>>2]=0;b=b?d:-1}c=a;a=q[a>>2];q[c>>2]=a|h;b=a&32?-1:b;if(!g){break a}}ti=f+208|0;return b}function eL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-16|0;ti=g;d=q[a+12>>2];f=0;a:{if(!d){break a}f=q[d+120>>2]}j=q[f+8>>2]-q[f+12>>2]>>4;q[g+8>>2]=q[a+4>>2];b:{h=q[a+8>>2];a=q[h+4>>2];e=q[h>>2];d=a-e|0;if(!d){break b}if((a|0)!=(e|0)){a=e-a|0;k=((a|0)>(d|0)?a:d)>>>2|0;a=(d|0)>-1?d:-1;a=w(k,(a|0)<1?a:1);d=a>>>0>1?a:1;a=0;while(1){e=q[(a<<2)+e>>2];if(o[e+32|0]&1){i=(Ev(f,q[e>>2],b,e,g+8|0)|0)==-1?-1e3:i}a=a+1|0;if((d|0)==(a|0)){break b}e=q[h>>2];if(q[h+4>>2]-e>>2>>>0>a>>>0){continue}break}}J(13766,13705,479,13591);G()}o[c|0]=1;if(q[f+8>>2]-q[f+12>>2]>>4!=(j|0)){J(12827,12848,246,13458);G()}ti=g+16|0;return i}function tr(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=q[a+16>>2];d=Qx(g,q[a+4>>2],b);if(q[d+8>>2]==3){h=v[d>>3];if(y(h)<2147483648){return~~h}return-2147483648}e=q[a>>2];b=q[e+40>>2];f=q[a+40>>2];q[d+8>>2]=3;v[d>>3]=f|0;f=e+40|0;d=q[f>>2];if((d|0)<=q[a+40>>2]){q[e+8>>2]=Dq(g,q[e+8>>2],f,16,262143,136564);d=q[e+40>>2]}f=q[e+8>>2];if((b|0)<(d|0)){while(1){q[(f+(b<<4)|0)+8>>2]=0;b=b+1|0;if((d|0)>(b|0)){continue}break}}d=q[c+4>>2];b=f+(q[a+40>>2]<<4)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[c+8>>2];a:{if(q[c+8>>2]<4){break a}b=q[c>>2];if(!(r[b+5|0]&3)|!(r[e+5|0]&4)){break a}Qn(g,e,b)}b=a;a=q[a+40>>2];q[b+40>>2]=a+1;return a}function n7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;o[f+15|0]=b;a:{b:{e=q[c+76>>2];c:{if(!e){eI(c+40|0,a,f+15|0);break c}if(!b){break c}d:{d=q[e+16>>2];c=q[e+12>>2];if((d|0)==(c|0)){break d}b=d-c|0;g=(b|0)>-1?b:-1;d=c-d|0;d=w((g|0)<1?g:1,((b|0)<(d|0)?d:b)>>>2|0);g=d>>>0>1?d:1;b=0;while(1){if((b|0)==(d|0)){break b}h=q[c+(b<<2)>>2];if(r[h+344|0]!=(a|0)){b=b+1|0;if((g|0)==(b|0)){break d}continue}break}pz(e,h,a);break c}b=Wl(e,a);if(!b){break c}a=q[e+16>>2];if((a|0)==q[e+20>>2]){break a}q[e+16>>2]=a+4;q[a>>2]=b}ti=f+16|0;return 1}J(144980,144449,479,144438);G()}J(144719,144449,533,144743);G()}function W_(a,b){var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;d=-19584;a:{if((uj(b,0)|0)<0){break a}e=b+12|0;if((uj(e,0)|0)<0){break a}f=a+4|0;if((Lj(b,f)|0)>-1){break a}if((Lj(e,f)|0)>-1){break a}q[c+24>>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=Pj(a,c+16|0,e,e);b:{if(d){break b}d=Pj(a,c,b,b);if(d){break b}c:{if(!q[a+24>>2]){d=zl(c,c,3);if(d){break b}while(1){if(q[c>>2]>-1){break c}if(!uj(c,0)){break c}d=Bl(c,c,f);if(!d){continue}break}break b}d=Fp(a,c,c,a+16|0);if(d){break b}}d=Pj(a,c,c,b);if(d){break b}d=Fp(a,c,c,a+28|0);if(d){break b}d=Lj(c+16|0,c)?-19584:0}Si(c+16|0);Si(c)}ti=c+32|0;return d}function Mk(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;c=0;c:{d:{switch(q[b+8>>2]-3|0){case 1:return q[q[b>>2]+12>>2];case 4:return q[q[b>>2]+16>>2];case 2:return kE(q[b>>2]);case 0:break d;default:break c}}if(!bE(a,b)){break c}c=q[q[b>>2]+12>>2]}return c}function $ea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-4096|0;ti=b;d=Zi(b+4072|0,a,0,66167,279);g=Tj(a);q[b+4068>>2]=0;c=Wi(a,2,b+4068|0);a:{if(!c){a=sj(d,66248,0);break a}e=q[b+4068>>2];f=e+5|0;if(f>>>0>=4001){a=sj(d,66283,0);break a}q[b+64>>2]=4;Gi(b- -64|4,c,e+1|0);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;$l(a,b);qk(a,1,b+32|0,b);c=q[62686];a=0;if(!fk(b,b+32|0,q[c+8>>2],q[c+12>>2],g,c,b- -64|0,f)){break a}a=sj(d,66313,0)}Yi(d);ti=b+4096|0;return a|0}function Ay(a,b,c,d){var e=0,f=0;e=ti-32|0;ti=e;ck(a,801,0);f=(b^-1)+(q[a+8>>2]-q[a+12>>2]>>4)|0;hk(a,f);b=Hp(a,b,c,f);Xk(a,f);a:{b:{switch(b|0){case 4:Ci(a,-2);Ai(4,117469,118920,0);break a;case 0:break a;default:break b}}Ki(a,-1,118949);Ki(a,-2,118955);c=dj(a,-2,0);f=dj(a,-1,0);if(d){q[e+20>>2]=f;q[e+16>>2]=c;Ai(4,117469,118965,e+16|0);Ci(a,-4);break a}q[e+4>>2]=f;q[e>>2]=c;Ai(4,117469,118988,e);Ki(a,-10002,118994);c:{if((Ei(a,-1)|0)!=5){break c}Hi(a,119e3);Vk(a,-2);if((Ei(a,-1)|0)==6){Ni(a,119016,3);Qi(a,-5);Qi(a,-5);Ay(a,3,0,1);break c}if(Ei(a,-1)){Ai(4,117469,119020,0)}Ci(a,-2)}Ci(a,-5)}ti=e+32|0;return b}function iva(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=q[a>>2]+1794895138|0;e=vp(q[a+8>>2],f);g=vp(q[a+12>>2],f);d=vp(q[a+16>>2],f);a:{if(b>>>2>>>0<=e>>>0){break a}h=b-(e<<2)|0;if((d|g)&3|(h>>>0<=g>>>0|d>>>0>=h>>>0)){break a}l=d>>>2|0;m=g>>>2|0;g=0;while(1){h=e>>>1|0;i=h+g|0;j=i<<1;d=(j+m<<2)+a|0;k=vp(q[d>>2],f);d=vp(q[d+4>>2],f);if(d>>>0>=b>>>0|b-d>>>0<=k>>>0|r[(d+k|0)+a|0]){break a}d=nj(c,a+d|0);if(!d){c=(l+j<<2)+a|0;e=vp(q[c>>2],f);c=vp(q[c+4>>2],f);if(c>>>0>=b>>>0|e>>>0>=b-c>>>0){break a}n=r[(c+e|0)+a|0]?0:a+c|0;break a}if((e|0)==1){break a}d=(d|0)<0;e=d?h:e-h|0;g=d?g:i;continue}}return n}function baa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0);c=ti-48|0;ti=c;b=yn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=kl(a,1);d=b+8|0;e=b+4|0}i=u[b>>2];j=u[e>>2];k=u[d>>2];f=Wi(a,2,0);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);b:{c:{d=q[e+340>>2];if(d){break c}d=q[q[e+12>>2]+172>>2];if(d){break c}d=0;g=x(1);h=x(1);break b}b=c+32|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;xi[q[q[e+12>>2]+16>>2]](d,f,x(0),0,x(1),x(0),b);g=x(u[b+8>>2]+u[b+12>>2]);h=u[b>>2]}u[c+24>>2]=k;u[c+20>>2]=j;u[c+16>>2]=i;q[c+8>>2]=1065353216;u[c+4>>2]=g;u[c>>2]=h;a=Qz(a,e,c+16|0,c,1,f,d);ti=c+48|0;return a|0}function Kla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=x(0),i=0;b=ti-32|0;ti=b;q[b+24>>2]=0;e=q[a+8>>2];ty(q[e+100>>2],u[q[a+4>>2]+4>>2]);h=u[q[a+4>>2]+4>>2];u[e+96>>2]=h;jz(q[e+80>>2],h);f=q[e+36>>2];i=q[e+32>>2];d=f-i|0;c=d>>2;q[215962]=c+q[215962];q[b+16>>2]=c;q[b+20>>2]=0;q[b+8>>2]=c;q[b+12>>2]=0;a:{if(d){c=i-f|0;f=((c|0)>(d|0)?c:d)>>>2|0;c=(d|0)>-1?d:-1;c=w(f,(c|0)<1?c:1);c=c>>>0>1?c:1;while(1){d=q[e+32>>2];if(q[e+36>>2]-d>>2>>>0<=g>>>0){break a}d=q[d+(g<<2)>>2];if((r[d+22|0]&3)==3){u8(q[d+8>>2],u[q[a+4>>2]+4>>2])}g=g+1|0;if((c|0)!=(g|0)){continue}break}}ti=b+32|0;return 0}J(36605,36330,479,36616);G()}function qz(a,b,c,d){var e=0,f=0,g=0,h=0;f=ti-32|0;ti=f;e=f+8|0;q[e>>2]=0;q[e+4>>2]=0;q[e+16>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;h=e;e=q[a+32>>2];if(!sF(b,h,e,1,1)){g=Oi(67752);e=Fi(g,0,67752);b=Jk(b);q[e+2128>>2]=0;q[e>>2]=b;q[e+2132>>2]=q[a>>2];q[e+2136>>2]=q[a+4>>2];q[e+2140>>2]=q[a+8>>2];q[e+2144>>2]=q[a+12>>2];q[e+2148>>2]=q[a+16>>2];q[e+2152>>2]=q[a+20>>2];q[e+2156>>2]=q[a+28>>2];b=q[a+32>>2];q[e+2168>>2]=0;q[e+2172>>2]=0;q[e+2160>>2]=b;b=e+2176|0;q[b>>2]=0;q[b+4>>2]=0;b=e+2184|0;q[b>>2]=0;q[b+4>>2]=0;a=q[a+24>>2];q[e+2204>>2]=0;p[e+2198>>1]=c;o[e+2196|0]=d;q[e+2192>>2]=a;o[e+2200|0]=!a}ti=f+32|0;return g}function Hia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-112|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Tj(a);c=Mj(a,2);f=wi;g=c;c=am(a,3);q[b+64>>2]=g;q[b+68>>2]=f;u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];q[b+96>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[61990];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,48);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66680,66701,483,67022);G()}ti=b+112|0;return 0}function Fea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-112|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Tj(a);c=Mj(a,2);f=wi;g=c;c=am(a,3);q[b+64>>2]=g;q[b+68>>2]=f;u[b+80>>2]=u[c>>2];u[b+84>>2]=u[c+4>>2];u[b+88>>2]=u[c+8>>2];u[b+92>>2]=u[c+12>>2];q[b+96>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[61990];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,48);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(76727,76748,341,76829);G()}ti=b+112|0;return 0}function vu(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;a:{if((b|0)>=2){b=a;b:{while(1){c:{if(!e){break c}d=q[c+4>>2];g=qq(d,10,q[c+8>>2]-d|0);d:{if(g){d=q[c+4>>2];f=(g-d|0)+1|0;break d}d=q[c+4>>2];f=q[c+8>>2]-d|0}h=d;d=e>>>0>f>>>0?f:e;Gi(b,h,d);f=d+q[c+4>>2]|0;q[c+4>>2]=f;b=b+d|0;if(g){break c}e=e-d|0;if(!e){break c}e:{if(f>>>0>2]){q[c+4>>2]=f+1;d=r[f|0];break e}d=lw(c);if((d|0)>-1){break e}d=0;if(!(r[c|0]&16)|(a|0)==(b|0)){break b}break c}o[b|0]=d;b=b+1|0;e=e-1|0;if((d&255)!=10){continue}}break}d=0;if(!a){break b}o[b|0]=0;d=a}break a}b=r[c+74|0];o[c+74|0]=b-1|b;if(e){break a}o[a|0]=0;return a}return d}function Zs(a){var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;a=q[a>>2];q[c+24>>2]=0;d=1;a:{if(!(o[a+3272|0]&1)){yo(a);f=s[a+1058>>1];if(f){while(1){e=q[a+1036>>2];if(q[a+1040>>2]-e>>2>>>0<=b>>>0){break a}d=xA(a,q[e+(b<<2)>>2])&d;b=b+1|0;if((f|0)!=(b|0)){continue}break}b=0;while(1){e=q[a+1036>>2];if(q[a+1040>>2]-e>>2>>>0<=b>>>0){break a}d=BA(a,q[e+(b<<2)>>2])&d;b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=q[a+3220>>2];q[c>>2]=q[a+3216>>2];q[c+4>>2]=b;b=q[a+3228>>2];q[c+8>>2]=q[a+3224>>2];q[c+12>>2]=b;b=kr(a,c,2);o[a+3272|0]=r[a+3272|0]|16;ti=c+32|0;return b&d}J(11881,7291,1753,11971);G()}J(12518,10061,479,9553);G()}function Nz(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(w(e,576)+f|0)+552>>1]!=(b>>>16|0)){break b}g=w(e,576)+f|0;if(s[g+554>>1]!=(b&65535)){break a}h=-10;c:{if((q[g+412>>2]&240)!=80){break c}h=-5;b=q[a+200>>2];if(!b){break c}b=q[q[a+196>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}g=q[a+204>>2];while(1){a=g+(b<<4)|0;if((c|0)!=q[a>>2]|q[a+4>>2]!=(d|0)){b=q[a+12>>2];if((b|0)!=-1){continue}break c}break}a=w(e,576)+f|0;q[a+520>>2]=c;q[a+524>>2]=d;h=0}return h}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function $S(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-8400|0;ti=b;c=Ym(a,132684);f=Pn(a,2,8192);q[b+68>>2]=128;e=c+8|0;Hn(e);a:{b:{c:{g=b+208|0;if(f<4294967296&f>=0){d=~~f>>>0}else{d=0}c=IQ(c,g,d>>>0<8192?d:8192,b+204|0,b+72|0,b+68|0,e);switch(c+2|0){case 0:case 2:break b;default:break c}}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,Yl(c));c=2;break a}c=3;d=da(b+72|0,q[b+68>>2],b+16|0,46,b+10|0,6,3)|0;if(d){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,ha(d|0)|0);c=2;break a}Ni(a,b+208|0,q[b+204>>2]);Hi(a,b+16|0);d=lq(b+10|0,0);e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16}ti=b+8400|0;return c|0}function cA(a,b,c,d,e){var f=0,g=0;g=r[e+40|0]?-9:0;a:{b:{if(q[e>>2]==(a|0)&q[e+4>>2]==(b|0)){f=-4;if(q[c>>2]!=4){break a}e=q[c+8>>2];b=q[c+12>>2];a=q[c+20>>2];q[d+8>>2]=q[c+16>>2];q[d+12>>2]=a;q[d>>2]=e;q[d+4>>2]=b;break b}if(q[e+8>>2]==(a|0)&q[e+12>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d>>2]=v[c+8>>3];break b}if(q[e+16>>2]==(a|0)&q[e+20>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+4>>2]=v[c+8>>3];break b}if(q[e+24>>2]==(a|0)&q[e+28>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+8>>2]=v[c+8>>3];break b}f=-1;if((a|0)!=q[e+32>>2]|(b|0)!=q[e+36>>2]){break a}f=-4;if(q[c>>2]){break a}u[d+12>>2]=v[c+8>>3]}f=g}return f}function MT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-32|0;ti=d;e=-10240;a:{if(!a|!b){break a}b:{if(!(r[(b+c|0)-1|0]|!c)){if(on(b,168968)){break b}}e=ox(a,b,c);break a}if(c>>>0>1){e=0;while(1){c:{q[d+16>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;d:{e:{f:{f=YU(d+16|0,b,d+12|0);if(f){if((f|0)!=-5248){break f}e=f;break a}h=q[d+12>>2];f=ox(a,q[d+16>>2],q[d+20>>2]);lD(d+16|0);if(!f){i=1;break d}if((f|0)!=-10368){break e}e=f;break a}if((f|0)==-4224){break c}e=e+1|0;g=g?g:f;lD(d+16|0);h=q[d+12>>2];break d}e=e+1|0;g=g?g:f}b=b+h|0;c=c-h|0;if(c>>>0>1){continue}}break}if(i){break a}e=g;if(g){break a}}e=-10112}ti=d+32|0;return e}function Fia(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=ti+ -64|0;ti=a;f=q[q[f>>2]+2384>>2];o[a+62|0]=1;p[a+56>>1]=1;q[a+48>>2]=0;q[a+52>>2]=0;o[a+43|0]=0;o[a+44|0]=0;o[a+45|0]=0;o[a+46|0]=0;q[a+36>>2]=0;q[a+40>>2]=0;p[a+60>>1]=c;p[a+58>>1]=b;p[a+54>>1]=c;p[a+52>>1]=b;q[a+20>>2]=1;q[a+24>>2]=1;q[a+28>>2]=0;q[a+32>>2]=0;q[a+12>>2]=2;q[a+16>>2]=2;q[a>>2]=e;p[a+42>>1]=c;p[a+40>>1]=b;e=a;if(d>>>0<=2){g=q[(d<<2)+166088>>2]}else{g=0}q[e+4>>2]=w(g,w(b,c));if(d>>>0>=3){J(38432,36771,1897,38438);G()}q[a+8>>2]=q[(d<<2)+39500>>2];b=xi[q[77501]](f,a+48|0)|0;xi[q[77503]](b,wi,a);ti=a- -64|0;return b|0}function DT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;e=c?c:971824;c=q[e>>2];a:{b:{c:{if(!b){if(c){break c}break a}d=-2;h=a?a:g+12|0;d:{if(c){a=1;break d}a=r[b|0];c=a<<24>>24;if((c|0)>=0){q[h>>2]=a;d=(c|0)!=0;break a}a=o[b|0];if(!q[q[73997]>>2]){q[h>>2]=a&57343;d=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}c=q[(a<<2)+211664>>2];break b}f=r[b|0];i=f>>>3|0;if((i-16|(c>>26)+i)>>>0>7){break c}while(1){a=a-1|0;c=f-128|c<<6;if((c|0)>=0){q[e>>2]=0;q[h>>2]=c;d=1-a|0;break a}if(!a){break b}b=b+1|0;f=r[b|0];if((f&192)==128){continue}break}}q[e>>2]=0;q[242957]=25;d=-1;break a}q[e>>2]=c}ti=g+16|0;return d}function p2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0),g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);b=Fm(a,1);c=u[b+48>>2];d=u[b+52>>2];e=u[b+56>>2];f=u[b>>2];g=u[b+16>>2];h=u[b+32>>2];i=u[b+4>>2];j=u[b+20>>2];k=u[b+36>>2];l=u[b+8>>2];m=u[b+24>>2];n=u[b+40>>2];b=jj(a,64);q[b+60>>2]=1065353216;q[b+44>>2]=0;u[b+40>>2]=n;u[b+36>>2]=m;u[b+32>>2]=l;q[b+28>>2]=0;u[b+24>>2]=k;u[b+20>>2]=j;u[b+16>>2]=i;q[b+12>>2]=0;u[b+8>>2]=h;u[b+4>>2]=g;u[b>>2]=f;u[b+56>>2]=-x(x(h*c)+x(x(k*d)+x(n*e)));u[b+52>>2]=-x(x(g*c)+x(x(j*d)+x(m*e)));u[b+48>>2]=-x(x(f*c)+x(x(i*d)+x(l*e)));Ki(a,-1e4,128736);ij(a,-2);return 1}function ala(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Oi(12);c=f;q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+4>>2]=q[a+4>>2];g=zi(41364);c=q[a+24>>2];h=wi;d=q[q[a+16>>2]+(Qwa(g,h,q[a+20>>2])<<2)>>2];e=c+(d<<4)|0;if((g|0)!=q[e>>2]|q[e+4>>2]!=(h|0)){while(1){d=q[((d<<4)+c|0)+12>>2];e=(d<<4)+c|0;if((g|0)!=q[e>>2]|(h|0)!=q[e+4>>2]){continue}break}}q[f>>2]=q[((d<<4)+c|0)+8>>2];q[f+8>>2]=Fj(q[a>>2],39969,128);p[b+104>>1]=725;q[b+16>>2]=f;q[b+20>>2]=188;q[b+24>>2]=189;q[b+28>>2]=190;q[b+32>>2]=191;q[b+44>>2]=192;q[b+52>>2]=193;q[b+60>>2]=194;q[b+68>>2]=195;q[b+84>>2]=196;q[b+88>>2]=197;q[b+96>>2]=198;return 0}function a1(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=ti+ -64|0;ti=b;c=Li(a,1,q[212904],0);e=u[c>>2];f=u[c+4>>2];a:{if(!(e!=e|f!=f)){d=u[c+8>>2];if(d==d){break a}}d=u[c+8>>2];v[b+48>>3]=f;v[b+56>>3]=d;v[b+40>>3]=e;q[b+32>>2]=1;Bi(a,128819,b+32|0)}g=Li(a,2,q[212904],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=d;v[b+8>>3]=e;q[b>>2]=2;Bi(a,128819,b);d=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}h=u[c+8>>2];i=u[c>>2];j=u[c+4>>2];c=jj(a,16);u[c+8>>2]=h+d;u[c+4>>2]=j+f;u[c>>2]=i+e;Ki(a,-1e4,128688);ij(a,-2);ti=b- -64|0;return 1}function U0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=x(0),i=x(0),j=x(0);b=ti+ -64|0;ti=b;c=Li(a,1,q[212904],0);e=u[c>>2];f=u[c+4>>2];a:{if(!(e!=e|f!=f)){d=u[c+8>>2];if(d==d){break a}}d=u[c+8>>2];v[b+48>>3]=f;v[b+56>>3]=d;v[b+40>>3]=e;q[b+32>>2]=1;Bi(a,128819,b+32|0)}g=Li(a,2,q[212904],0);e=u[g>>2];f=u[g+4>>2];b:{if(!(e!=e|f!=f)){d=u[g+8>>2];if(d==d){break b}}d=u[g+8>>2];v[b+16>>3]=f;v[b+24>>3]=d;v[b+8>>3]=e;q[b>>2]=2;Bi(a,128819,b);d=u[g+8>>2];f=u[g+4>>2];e=u[g>>2]}h=u[c+8>>2];i=u[c>>2];j=u[c+4>>2];c=jj(a,16);u[c+8>>2]=h-d;u[c+4>>2]=j-f;u[c>>2]=i-e;Ki(a,-1e4,128688);ij(a,-2);ti=b- -64|0;return 1}function GQ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;j=ti-16|0;ti=j;q[d>>2]=0;i=q[a>>2];a:{if((i|0)==-1){h=-2;break a}b:{c:{h=_w(i,b,c,e,f);if((h|0)<=-1){while(1){h=q[242957];d:{if((h|0)!=6){if((h|0)==27){break d}i=-2;if((h|0)!=64){break a}break b}i=q[a>>2];q[j+12>>2]=4;q[j+8>>2]=i;if(v[g>>3]==0){break c}while(1){i=j+8|0;k=up(g)*1e3;e:{if(y(k)<2147483648){h=~~k;break e}h=-2147483648}i=zp(i,1,(h|0)>-1?h:-1);if((i|0)!=-1){if(i){break d}break c}if(q[242957]==27){continue}break}i=q[242957];if(i){break b}}h=_w(q[a>>2],b,c,e,f);if((h|0)<=-1){continue}break}}q[d>>2]=h;h=0;break a}h=-1;break a}h=i}ti=j+16|0;return h}function VB(a){var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;c=(bxa(a),Zwa(2));b=c&2147483647;a:{if(b>>>0<=1061752794){if(b>>>0<964689920){break a}a=ur(+a,0);break a}if(b>>>0<=1081824209){d=+a;if(b>>>0<=1075235811){a=ur(((c|0)>-1?-1.5707963267948966:1.5707963267948966)+d,1);break a}a=ur(((c|0)>-1?-3.141592653589793:3.141592653589793)+d,0);break a}if(b>>>0<=1088565717){d=+a;if(b>>>0<=1085271519){a=ur(((c|0)>-1?-4.71238898038469:4.71238898038469)+d,1);break a}a=ur(((c|0)>-1?-6.283185307179586:6.283185307179586)+d,0);break a}if(b>>>0>=2139095040){a=x(a-a);break a}b=oB(a,e+8|0);a=ur(v[e+8>>3],b&1)}ti=e+16|0;return a}function Cy(a,b){var c=0,d=0;c=Fi(Oi(132),0,132);q[c+56>>2]=0;q[c+60>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+28>>2]=-1;q[c+48>>2]=0;q[c+52>>2]=0;d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;d=c+112|0;q[d>>2]=0;q[d+4>>2]=0;q[c+60>>2]=-1;q[c+92>>2]=-1;yz(c+8|0,127,256);zz(c+40|0,127,256);Ns(c+72|0,443,256);if(o[c+116|0]&1){J(119089,119164,493,118644);G()}Ii(8,4,c+104|0,d,c+108|0);q[c+4>>2]=b;q[c>>2]=a;a=iX();if(a){q[q[a+16>>2]+88>>2]=1050}o[c+128|0]=1;q[c+124>>2]=-2;q[c+120>>2]=a;return c}function eW(a,b){q[a+8>>2]=2036477234;q[a+12>>2]=1797285236;q[a>>2]=1634760805;q[a+4>>2]=857760878;q[a+16>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+20>>2]=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[a+24>>2]=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);q[a+28>>2]=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);q[a+32>>2]=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);q[a+36>>2]=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);q[a+40>>2]=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);q[a+44>>2]=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);return 0}function Xr(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=(a|0)==(c|0);d=e?a:b;a:{if((d|0)!=(a|0)){d=gk(a,d);if(d){break a}}q[a>>2]=1;c=e?b:c;d=q[c+4>>2];while(1){b=d;if(d){d=b-1|0;if(!q[q[c+8>>2]+(d<<2)>>2]){continue}}break}d=bl(a,b);if(d){break a}b:{if(!b){break b}c=q[c+8>>2];d=q[a+8>>2];e=0;while(1){f=q[d>>2];e=f+e|0;g=e+q[c>>2]|0;q[d>>2]=g;e=(e>>>0>>0)+(e>>>0>g>>>0)|0;d=d+4|0;c=c+4|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}if(!e){break b}while(1){c=b+1|0;if(t[a+4>>2]<=b>>>0){d=bl(a,c);if(d){break a}d=q[a+8>>2]+(b<<2)|0}f=q[d>>2];g=f+e|0;q[d>>2]=g;d=d+4|0;e=1;b=c;if(f>>>0>g>>>0){continue}break}}d=0}return d}function Gna(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;c=q[a+8>>2]-q[a+12>>2]>>4;e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=mk(a,-1,q[74378]);Ci(a,-2);a:{if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){b:{if(!b){b=Bi(a,17468,0);break b}b=0;Wi(a,1,0);c:{if(Bj(a,2)){break c}if(Gu(a,2)){break c}if(zn(a,2)){break c}if(vm(a,2)){break c}if(yn(a,2)){break c}if(uy(a,2)){break c}if((Ei(a,2)|0)==1){break c}b=d;e=Ei(a,2);c=135271;d:{if((e|0)==-1){break d}c=q[(e<<2)+267792>>2]}q[b>>2]=c;b=Bi(a,17522,d);break b}if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}}ti=d+16|0;return b|0}J(16509,15841,186,18896);G()}J(16509,15841,2143,17642);G()}function Gka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+80>>2];c=q[b+68>>2];d=q[b+72>>2];if((c|0)==(d|0)){jn(42132,q[67554],c);return-1e3}a:{b:{e=q[b+64>>2];if(e){if(d>>>0>=c>>>0){break b}q[b+72>>2]=d+1;d=q[(d<<2)+e>>2];c=q[b+52>>2];b=q[b+48>>2];if(d>>>0>=(c-b|0)/48>>>0){break a}c=q[a+20>>2];e=q[a+16>>2];b=b+w(d,48)|0;u[b+8>>2]=u[a+24>>2];q[b>>2]=e;q[b+4>>2]=c;u[b+16>>2]=u[a+32>>2];u[b+20>>2]=u[a+36>>2];u[b+24>>2]=u[a+40>>2];u[b+28>>2]=u[a+44>>2];q[b+32>>2]=q[a+76>>2];p[b+36>>1]=s[b+36>>1]&65534;q[q[a+88>>2]>>2]=b;return 0}J(42795,42744,151,42802);G()}J(42806,42744,152,42802);G()}J(42544,42460,479,42555);G()}function zI(a,b,c,d){var e=0,f=0,g=0,h=0;f=-5;a:{b:{c:{e=q[a+248>>2];d:{if(!e){break d}e=q[q[a+244>>2]+(Qwa(c,d,e)<<2)>>2];if((e|0)==-1){break d}h=q[a+252>>2];while(1){g=(e<<4)+h|0;if((c|0)!=q[g>>2]|q[g+4>>2]!=(d|0)){e=q[g+12>>2];if((e|0)!=-1){continue}break d}break}f=b&65535;g=q[a+36>>2];a=q[a+32>>2];if(f>>>0>=(g-a|0)/576>>>0){break c}if(s[(a+w(f,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(f,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+496>>2]=c;q[a+500>>2]=d;p[a+504>>1]=s[((e<<4)+h|0)+8>>1];f=0}return f}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function xk(a,b){var c=0,d=0;c=r[b+5|0];a:{b:{c:{d:{e:{f:{while(1){g:{c=c&252;o[b+5|0]=c;d=r[b+4|0];if((d|0)!=7){switch(d-5|0){case 4:break c;case 3:break d;case 0:break e;case 1:break f;case 5:break g;default:break a}}o[b+5|0]=c|4;c=q[b+8>>2];if(!(!c|!(r[c+5|0]&3))){xk(a,c)}b=q[b+12>>2];c=r[b+5|0];if(c&3){continue}break a}break}c=q[b+8>>2];h:{if(q[c+8>>2]<4){break h}d=q[c>>2];if(!(r[d+5|0]&3)){break h}xk(a,d);c=q[b+8>>2]}if((b+16|0)!=(c|0)){break a}o[b+5|0]=r[b+5|0]|4;return}q[b+8>>2]=q[a+36>>2];break b}q[b+24>>2]=q[a+36>>2];break b}q[b+108>>2]=q[a+36>>2];break b}q[b+68>>2]=q[a+36>>2]}q[a+36>>2]=b}}function tea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=ti-96|0;ti=e;f=q[a+8>>2]-q[a+12>>2]|0;g=Tj(a);b=Mj(a,2);h=wi;c=b;d=am(a,3);b=e;q[b+64>>2]=c;q[b+68>>2]=h;u[b+80>>2]=u[d>>2];u[b+84>>2]=u[d+4>>2];u[b+88>>2]=u[d+8>>2];u[b+92>>2]=u[d+12>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[64332];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],g,c,b- -64|0,32);if(f>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(77387,77222,128,77408);G()}ti=e+96|0;return 0}function Rv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=ti-16|0;ti=g;c=q[a+32>>2];d=q[a+20>>2];i=q[a+16>>2];e=q[a+4>>2];f=q[a>>2];j=q[a+28>>2]+q[a+24>>2]|0;b=c+(d+(i+(q[a+8>>2]+(e+(f+j|0)|0)|0)|0)|0)|0;h=b<<2;l=c+q[a+12>>2]|0;a=h;h=(b<<3)+35&-8;c=a+h|0;k=(a+c|0)+7&-8;e=k+(e<<3)|0;d=(e+((f+w(d,3)|0)+(j<<2)<<2)|0)+7&-8;f=d+(i<<5)|0;a:{if(xo(g+12|0,8,l+f|0)){b=0;break a}a=q[g+12>>2];q[a>>2]=b;q[a+28>>2]=a+f;q[a+24>>2]=a+d;q[a+20>>2]=a+e;q[a+16>>2]=a+k;q[a+12>>2]=a+c;q[a+8>>2]=a+h;q[a+4>>2]=a+32;b=Oi(24);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=a;q[b+12>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0}ti=g+16|0;return b}function Epa(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=_s(a);a=q[d+80>>2];b:{if(!a){break b}f=d+76|0;a=q[q[f>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break b}c=q[d+84>>2];while(1){e=c+w(a,12)|0;if(q[e>>2]!=(b|0)){a=q[e+8>>2];if((a|0)!=-1){continue}break b}break}a=s[(c+w(a,12)|0)+4>>1];if((a|0)!=65535){e=q[d+16>>2];g=q[d+20>>2]-e>>1;while(1){if(a>>>0>=g>>>0){break a}a=s[e+(a<<1)>>1];c=q[d>>2];if(a>>>0>=(q[d+4>>2]-c|0)/104>>>0){break a}c=c+w(a,104)|0;p[c+88>>1]=65535;q[c+84>>2]=0;q[c+76>>2]=0;q[c+80>>2]=0;a=s[c+90>>1];p[c+90>>1]=65535;if((a|0)!=65535){continue}break}}av(f,b)}return}J(6739,6485,479,6750);G()}function Ama(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=0,g=0,h=0;d=ti-16|0;ti=d;f=-1e3;c=q[a+76>>2];a:{if(!c){break a}b=q[c+164>>2];if(!b){break a}b:{e=u[b+8>>2];c:{if(!(q[b+4>>2]|e!=x(0))){b=0;break c}if(e>x(0)^1){break b}b=q[b+4>>2];if(!b){break b}}q[d+8>>2]=b;v[d>>3]=e;Ai(4,33031,33039,d);break a}g=q[a+84>>2];b=Oi(28);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;h=r[g+17|0];q[b>>2]=c;c=q[a>>2];q[b+8>>2]=0;q[b+4>>2]=c;c=s[a+92>>1];o[b+24|0]=h|4;q[b+12>>2]=0;q[b+16>>2]=0;p[b+22>>1]=c;if(!cK(g,q[a+80>>2],b,0)){yi(b);break a}q[q[a+88>>2]>>2]=b;f=0}ti=d+16|0;return f|0}function DC(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;g=ti-16|0;ti=g;q[d>>2]=0;f=q[a>>2];a:{if((f|0)==-1){f=-2;break a}b:{f=Lt(f,b,c);if((f|0)<=0){while(1){if(!f){f=-2;break a}f=q[242957];c:{if((f|0)==27){break c}if((f|0)!=6){break a}f=q[a>>2];q[g+12>>2]=1;q[g+8>>2]=f;if(v[e>>3]==0){break b}while(1){i=g+8|0;h=up(e)*1e3;d:{if(y(h)<2147483648){f=~~h;break d}f=-2147483648}f=zp(i,1,(f|0)>-1?f:-1);if((f|0)!=-1){if(f){break c}break b}if(q[242957]==27){continue}break}f=q[242957];if(f){break a}}f=Lt(q[a>>2],b,c);if((f|0)<=0){continue}break}}q[d>>2]=f;f=0;break a}f=-1}ti=g+16|0;return f|0}function CL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=r[a+24|0];if(f){while(1){d=q[a+20>>2]+w(g,24)|0;c=q[d+12>>2]+b|0;a:{b:{c:{d:{e=q[d+4>>2];switch((e>>>22&63)-9|0){case 3:break b;case 0:break c;case 2:break d;default:break a}}CL(q[d+8>>2],c);f=r[a+24|0];break a}if((e&-268435456)==805306368){d=q[c>>2]+b|0;q[c>>2]=d;e=q[c+4>>2];if(!e){break a}i=q[a+16>>2];c=0;while(1){h=q[d>>2];q[d>>2]=i>>>0>h>>>0?0:h+b|0;d=d+4|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}break a}d=c;c=q[c>>2];q[d>>2]=c>>>0>2]?0:c+b|0;break a}d=c;c=q[c>>2];q[d>>2]=c>>>0>2]?0:c+b|0}g=g+1|0;if(g>>>0>>0){continue}break}}}function CI(a,b,c,d){var e=0,f=0,g=0,h=0;f=-5;a:{b:{c:{e=q[a+100>>2];d:{if(!e){break d}e=q[q[a+96>>2]+(Qwa(c,d,e)<<2)>>2];if((e|0)==-1){break d}h=q[a+104>>2];while(1){g=(e<<4)+h|0;if((c|0)!=q[g>>2]|q[g+4>>2]!=(d|0)){e=q[g+12>>2];if((e|0)!=-1){continue}break d}break}f=b&65535;g=q[a+36>>2];a=q[a+32>>2];if(f>>>0>=(g-a|0)/576>>>0){break c}if(s[(a+w(f,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(f,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+480>>2]=c;q[a+484>>2]=d;q[a+488>>2]=q[((e<<4)+h|0)+8>>2];f=0}return f}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function nU(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=pC(q[a+104>>2]+2|0);g=wi;a:{if(!(r[q[a>>2]+185|0]&8)){break a}b=q[a+156>>2];d=q[a+152>>2];if((g|0)==(b|0)&c>>>0>d>>>0|b>>>0>>0){f=1;e=0;b=g-((c>>>0>>0)+b|0)|0;d=c-d|0;if(!b&d>>>0<=63){e=q[a+164>>2];f=q[a+160>>2];b=d&31;if((d&63)>>>0>=32){e=f<>>32-b|e<>2]=c;q[a+156>>2]=g;q[a+160>>2]=f;q[a+164>>2]=e;return}e=b-((c>>>0>d>>>0)+g|0)|0;c=d-c|0;if(!e&c>>>0>63|e){break a}e=q[a+164>>2];d=a;b=a;f=q[a+160>>2];a=c&31;if((c&63)>>>0>=32){c=1<>>32-a;a=1<>2]=f|a;q[d+164>>2]=c|e}}function hJ(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;q[d+24>>2]=c;q[d+28>>2]=b;na(a|0,1,d+28|0,d+24|0);a:{b:{c:{if(r[q[77547]+156|0]&64){b=K()|0;if(b){break c}}sa(a|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}oa(a|0,35713,d+20|0);c=q[d+20>>2];d:{if(c){break d}oa(a|0,35716,d+16|0);b=q[d+16>>2];if((b|0)>=1){e=a;a=Ji(b);Ua(e|0,b|0,d+16|0,a|0);q[d>>2]=a;Ai(4,84116,87658,d);yi(a)}if(!(r[q[77547]+156|0]&64)){break d}a=K()|0;if(a){break a}}ti=d+32|0;return(c|0)!=0}Vi(b,87730,2038);J(84254,84160,2038,87730);G()}Vi(b,87730,2040);J(84254,84160,2040,87730);G()}Vi(a,87730,2055);J(84254,84160,2055,87730);G()}function Goa(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=ti-32|0;ti=g;h=g+24|0;q[h>>2]=0;q[h+4>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;Ii(c+24|0,1,g+16|0,h,g+16|4);i=q[h>>2];q[g+20>>2]=i;h=q[g+16>>2];q[h+8>>2]=c;j=q[a+12>>2];a=q[a+8>>2];o[h+16|0]=0;q[h+12>>2]=f;q[h>>2]=a;q[h+4>>2]=j;Gi(h+24|0,b,c);c=0;a=q[60296];if(vo(d,e,q[a+8>>2],q[a+12>>2],0,0,a,h,i-h|0,0)){a=Mi(q[a+8>>2],q[a+12>>2]);b=bm(q[e>>2],q[e+4>>2]);c=Mi(q[e+16>>2],q[e+20>>2]);q[g+12>>2]=Mi(q[e+24>>2],q[e+28>>2]);q[g+8>>2]=c;q[g+4>>2]=b;q[g>>2]=a;Ai(4,14901,14912,g);c=-1e3}a:{if(o[g+28|0]&1){break a}a=q[g+16>>2];if(!a){break a}yi(a)}ti=g+32|0;return c}function wA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!d){break a}if(b>>>0>=16777216){while(1){g=f+5|0;b=c+f|0;e=r[b+4|0];b:{if(!e){f=g;break b}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);f=g;while(1){o[a+b|0]=r[c+f|0];f=f+1|0;b=b+1|0;e=e-1|0;if(e){continue}break}}if(d>>>0>f>>>0){continue}break a}}h=b>>>0<65536;i=b>>>0<256;while(1){g=f+1|0;e=c+f|0;b=r[e|0];c:{d:{if(!h){g=r[c+g|0]<<8|b;b=r[e+2|0]<<16;e=f+3|0;break d}if(i){e=g;break c}g=r[c+g|0]<<8;e=f+2|0}b=b|g}f=e+1|0;e=r[c+e|0];if(e){while(1){o[a+b|0]=r[c+f|0];f=f+1|0;b=b+1|0;e=e-1|0;if(e){continue}break}}if(d>>>0>f>>>0){continue}break}}} -function foa(a,b){a=a|0;b=b|0;p[b+100>>1]=200;q[b+16>>2]=q[a+12>>2];q[b+96>>2]=q[b+96>>2]&-65537|65536;q[b+96>>2]=q[b+96>>2]&-131073|131072;q[b+20>>2]=38;q[b+24>>2]=39;q[b+28>>2]=40;q[b+32>>2]=41;q[b+36>>2]=42;q[b+40>>2]=43;q[b+44>>2]=44;q[b+52>>2]=45;q[b+64>>2]=46;q[b+68>>2]=47;q[b+72>>2]=48;q[b+76>>2]=49;q[b+80>>2]=50;q[b+84>>2]=51;q[b+92>>2]=52;return 0}function KT(a){var b=0;b=q[a+68>>2];q[b+604>>2]=1732584193;q[b+608>>2]=-271733879;q[b+596>>2]=0;q[b+600>>2]=0;q[b+612>>2]=-1732584194;q[b+616>>2]=271733878;b=q[a+68>>2];q[b+692>>2]=1732584193;q[b+696>>2]=-271733879;q[b+684>>2]=0;q[b+688>>2]=0;q[b+708>>2]=-1009589776;q[b+700>>2]=-1732584194;q[b+704>>2]=271733878;Ar(q[a+68>>2]+776|0,0);vp(q[a+68>>2]+888|0,1)}function h0(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=a+4|0;a:{b:{g=q[a+8>>2];e=q[a+4>>2];d=g-e|0;if(d>>>0>>0){if(o[a+12|0]&1){break b}d=c-d|0;vi((((d|0)>32768?d:32768)+g|0)-q[a>>2]|0,1,a,a+8|0,f);e=q[a+4>>2];d=q[a+8>>2]-e|0}if(c>>>0>d>>>0){break a}si(e,b,c);q[f>>2]=q[f>>2]+c;return 1}J(123165,123060,461,123240);G()}J(123031,123060,508,123139);G()}function D8(a,b,c){var d=0,e=0;a:{b:{e=b&65535;d=q[a+32>>2];if(e>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(w(e,576)+d|0)+552>>1]!=(b>>>16|0)){break b}d=w(e,576)+d|0;if(s[d+554>>1]!=(b&65535)){break a}q[d+412>>2]=q[d+412>>2]&-1048577|(c?1048576:0);if(c){sI(a,b)}return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function xD(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=fi-384|0;fi=g;d=-56;f=q[a+24>>2];a:{if(f>>>0>384|384-f>>>0>>0){break a}e=qi(g,0,384);d=-52;if(ji[q[a+312>>2]](q[a+316>>2],e,f)|0){break a}d=q[a+24>>2];f=e;h=e;if(!(!b|!c)){si(d+e|0,b,c);d=c+d|0}d=Xra(f,h,d);b:{if(d){break b}d=uL(a,e);if(d){break b}q[a+16>>2]=1;d=0}ji[q[66742]](e,0,384)|0}fi=g+384|0;return d}function fga(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+4>>2];e=q[q[a+32>>2]+8>>2];q[b+12>>2]=0;c=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[59718],b+12|0)){a:{b:{if(!Zo(q[a>>2],q[d+4>>2],q[b+12>>2])){break b}if(aI(e,q[b+12>>2])){break b}c=q[a+32>>2];d=q[a+24>>2];a=q[b+12>>2];q[c+16>>2]=d-q[a+4>>2];c=0;break a}a=q[b+12>>2];c=-13}Ui(a)}fi=b+16|0;return c|0}function cba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);a:{if(Qn(a,2)){c=Qk(a,2);d=ii;break a}c=li(Ni(a,2,0));d=ii}if(!xI(c,d)){q[b>>2]=Ei(c,d);ni(a,187535,b)}Wba(f,q[b+12>>2],c,d);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(187648,187364,1207,187668);G()}fi=b+16|0;return 0}function Yp(a,b,c,d){var e=0,f=0;e=fi-160|0;fi=e;si(e+8|0,205576,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}q[e+52>>2]=a;q[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;q[e+56>>2]=b;a=a+b|0;q[e+36>>2]=a;q[e+24>>2]=a;a=_A(e+8|0,c,d,1543,1544);if(!b){break a}b=q[e+28>>2];o[b-((b|0)==q[e+24>>2])|0]=0;break a}q[240833]=61;a=-1}fi=e+160|0;return a}function T_(a){Or(a);q[a+132>>2]=0;q[a+124>>2]=1;q[a+128>>2]=0;q[a+144>>2]=0;q[a+136>>2]=1;q[a+140>>2]=0;q[a+156>>2]=0;q[a+148>>2]=1;q[a+152>>2]=0;q[a+168>>2]=0;q[a+160>>2]=1;q[a+164>>2]=0;q[a+180>>2]=0;q[a+172>>2]=1;q[a+176>>2]=0;q[a+192>>2]=0;q[a+184>>2]=1;q[a+188>>2]=0;q[a+204>>2]=0;q[a+196>>2]=1;q[a+200>>2]=0;q[a+216>>2]=0;q[a+208>>2]=1;q[a+212>>2]=0}function Ss(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=3;a:{if(!a){break a}f=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!f|s[f+16>>1]!=(a>>>16|0)){break a}g=6;h=r[f+20|0];if(!h){break a}f=q[f+4>>2];a=0;while(1){i=f+(a<<4)|0;if((b|0)!=q[i>>2]|q[i+4>>2]!=(c|0)){a=a+1|0;if((h|0)!=(a|0)){continue}break a}break}a=f+(a<<4)|0;q[d>>2]=r[a+12|0];q[e>>2]=r[a+13|0];g=0}return g}function Pea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-336|0;fi=b;f=Ti(b+56|0,a,0,70769,600);d=Pj(a,1);c=ii;e=c;vj(a,2,4);g=_i(a,2,b+52|0);c=QF(q[74461],d,c,g,q[b+52>>2]);if(c){q[b+32>>2]=Ei(d,e);q[b+24>>2]=d;q[b+28>>2]=e;q[b+16>>2]=c;cj(b+80|0,256,(c|0)==-3?70984:(c|0)==-15?71026:71091,b+16|0);q[b>>2]=b+80;h=ni(a,70045,b)}Si(f);fi=b+336|0;return h|0}function L$(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=-13;d=q[239986];f=q[d+16>>2];if(f){tj(f);d=q[239986]}e=q[d+80>>2];a:{if(!e){break a}e=q[q[d+76>>2]+(lwa(b,c,e)<<2)>>2];if((e|0)==-1){break a}h=q[d+84>>2];while(1){d=h+(e<<4)|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){e=q[d+12>>2];if((e|0)!=-1){continue}break a}break}q[a+8>>2]=b;q[a+12>>2]=c;g=0}if(f){lj(f)}return g}function g_(a){a=a|0;var b=0,c=0,d=0;d=fi-16|0;fi=d;c=om(a,130969);b=q[c>>2];if(!b){ni(a,131041,0);b=q[c>>2]}a:{if(!nn(b)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=Uk(b);nj(a,131085,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}fi=d+16|0;return a|0}function Kna(a){var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[a>>2];e=q[d>>2];q[c+12>>2]=289768;b=hv(d,289768,0);a:{if(b){if(Qs(q[a>>2],b)){break a}a=q[b+96>>2];e=q[b+100>>2];if((a|0)!=q[72440]|(e|0)!=q[72441]){Jq(d+4164|0,a,e);a=q[72441];q[b+96>>2]=q[72440];q[b+100>>2]=a}Vq(d,b);b=0;break a}b=0;a=q[c+12>>2];if((a|0)==289768){break a}Di(e,a)}fi=c+16|0;return b}function GU(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=-16e3;a:{if(!q[c>>2]){break a}b:{if(!c){break b}j=q[c>>2];if(!j){break b}k=ji[q[j+12>>2]](a)|0}if(!k){return-16128}if((a|0)==6){if(!b){break a}i=-17280;if($C(c)>>>0>h>>>0){break a}i=XC(q[c+4>>2],d,f,e,q[b>>2],q[b+4>>2],g);if(i){break a}return $C(c)>>>0>>0?-14592:0}if(b){break a}i=_C(c,d,e,f,g,h)}return i}function sO(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-1040|0;fi=b;d=Ni(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;a=q[b+1036>>2];c=a-1|0;q[b+1036>>2]=c;if(a){e=b+1036|0;while(1){a=q[b>>2];if(e>>>0<=a>>>0){Pk(b);c=q[b+1036>>2];a=q[b>>2]}c=r[c+d|0];q[b>>2]=a+1;o[a|0]=c;a=q[b+1036>>2];c=a-1|0;q[b+1036>>2]=c;if(a){continue}break}}bm(b);fi=b+1040|0;return 1}function jga(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+12>>2],q[a+16>>2],264696,c+12|0)){b=q[c+12>>2];if(q[b+4>>2]){while(1){d=e<<7;jk(q[a+20>>2],q[(d+q[b>>2]|0)+48>>2]);b=q[c+12>>2];d=q[(d+q[b>>2]|0)+56>>2];if(r[d|0]){jk(q[a+20>>2],d);b=q[c+12>>2]}e=e+1|0;if(e>>>0>2]){continue}break}}q[q[a+24>>2]>>2]=b;b=0}fi=c+16|0;return b|0}function iva(){q[62883]=q[72890];q[72890]=251504;q[62907]=q[72890];q[72890]=251600;q[62959]=q[72890];q[72890]=251808;q[63041]=q[72890];q[72890]=252136;q[63081]=q[72890];q[72890]=252296;q[63121]=q[72890];q[72890]=252456;q[63159]=q[72890];q[72890]=252608;q[63197]=q[72890];q[72890]=252760;q[63217]=q[72890];q[72890]=252840;q[63233]=q[72890];q[72890]=252904}function Qba(a,b,c){var d=0,e=0,f=0;f=-5;d=q[a+164>>2];a:{if(!d){break a}d=q[q[a+160>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+168>>2];while(1){e=a+w(d,40)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+32>>2];if((d|0)!=-1){continue}break a}break}b=a+w(d,40)|0;a=b;o[a+12|0]=r[a+12|0]|2;a=q[a+24>>2];if(!a){return 0}ki(a);f=0;q[b+24>>2]=0}return f}function JD(a,b,c){var d=0,e=0,f=0;e=Cm(c);d=-108;f=q[a>>2];a:{if(f>>>0>>0|f-b>>>0>>0){break a}d=f-e|0;q[a>>2]=d;d=hn(c,d,e);if(d){break a}b:{if(q[c>>2]!=1){break b}c=q[a>>2];if(o[c|0]>-1){break b}d=-108;if((c-b|0)<1){break a}c=c-1|0;q[a>>2]=c;o[c|0]=0;e=e+1|0}d=KD(a,b,e);if((d|0)<0){break a}a=ID(a,b,2);if((a|0)<0){return a}d=a+(d+e|0)|0}return d}function Dva(){q[61467]=q[72890];q[72890]=245840;q[61485]=q[72890];q[72890]=245912;q[61505]=q[72890];q[72890]=245992;q[61521]=q[72890];q[72890]=246056;q[61541]=q[72890];q[72890]=246136;q[61561]=q[72890];q[72890]=246216;q[61581]=q[72890];q[72890]=246296;q[61601]=q[72890];q[72890]=246376;q[61689]=q[72890];q[72890]=246728;q[61709]=q[72890];q[72890]=246808}function Bva(){q[65681]=q[72890];q[72890]=262696;q[65717]=q[72890];q[72890]=262840;q[65747]=q[72890];q[72890]=262960;q[65761]=q[72890];q[72890]=263016;q[65781]=q[72890];q[72890]=263096;q[65801]=q[72890];q[72890]=263176;q[65821]=q[72890];q[72890]=263256;q[65841]=q[72890];q[72890]=263336;q[65861]=q[72890];q[72890]=263416;q[65897]=q[72890];q[72890]=263560}function rq(a,b,c,d,e,f){var g=0,h=0;g=q[c>>2];a:{if((g|0)>=((e|0)/2|0)){if((e|0)>(g|0)){break a}Ck(a,f,0);break a}e=g<<1;e=(e|0)>4?e:4}if(e+1>>>0<=4294967293/(d>>>0)>>>0){f=q[a+16>>2];h=b;g=w(q[c>>2],d);b=w(d,e);d=ji[q[f+12>>2]](q[f+16>>2],h,g,b)|0;if(!(d|!b)){oj(a,4)}q[f+68>>2]=q[f+68>>2]+(b-g|0);q[c>>2]=e;return d}Ck(a,126430,0);q[c>>2]=e;return 0}function lN(a,b,c,d){var e=0,f=0,g=0;g=fi-16|0;fi=g;a:{b:{e=q[b+80>>2];if(e){if(!c){break b}while(1){e=e-1|0;f=(e<<3)+b|0;q[g+12>>2]=q[f+4>>2];f=ji[c|0](d,q[f>>2],e,g+12|0)|0;if(f){break a}q[a>>2]=q[a>>2]|q[g+12>>2];if(e){continue}break}}f=0;break a}c=q[a>>2];while(1){e=e-1|0;c=q[((e<<3)+b|0)+4>>2]|c;q[a>>2]=c;if(e){continue}break}}fi=g+16|0;return f}function c3(a){var b=0;a:{if(o[a+116|0]&1){break a}b=q[a+104>>2];if(!b){break a}ki(b)}b:{if(o[a+100|0]&1){break b}b=q[a+80>>2];if(b){ki(b)}b=q[a+72>>2];if(!b){break b}ki(b)}c:{if(o[a+68|0]&1){break c}b=q[a+48>>2];if(b){ki(b)}b=q[a+40>>2];if(!b){break c}ki(b)}d:{if(o[a+36|0]&1){break d}b=q[a+16>>2];if(b){ki(b)}b=q[a+8>>2];if(!b){break d}ki(b)}return a}function Rsa(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=r[b+3|0];a:{if((d|0)==255){d=r[$i(b,0)+96960|0];e=r[$i(b,1)+96960|0];f=r[$i(b,2)+97216|0];b=c+8|0;o[b+3|0]=8;o[b+2|0]=f;o[b+1|0]=e;o[b|0]=d;Cv(a,0,b,1);break a}e=r[$i(b,0)+97216|0];f=r[$i(b,1)+97216|0];b=r[$i(b,2)+98928|0];o[c+3|0]=r[d+98672|0];o[c+2|0]=b;o[c+1|0]=f;o[c|0]=e;Cv(a,0,c,0)}fi=c+16|0}function F$(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(b){ji[q[q[b+8>>2]+16>>2]](q[b+4>>2]);d=q[a+16>>2];if(!d){break b}c=s[a+22>>1];if(!c|s[a+20>>1]>>0){break a}e=q[b>>2];f=a;a=c-1|0;p[f+22>>1]=a;p[((a&65535)<<1)+d>>1]=e;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;return}J(200679,200687,121,200750);G()}J(201001,200927,140,201032);G()}J(201037,200927,141,201032);G()}function n9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=x(0),i=x(0);b=fi-48|0;fi=b;f=Ti(b+24|0,a,0,187364,3674);Ki(a);g=yi(a,-1,q[213955],189399);oi(a,-2);d=Zi(a,1,0);c=pn(a,2);a:{if(c){a=c+8|0;e=c+4|0;break a}c=il(a,2);a=c+8|0;e=c+4|0}h=u[c>>2];i=u[e>>2];u[b+8>>2]=u[a>>2];u[b+4>>2]=i;u[b>>2]=h;s8(g,s[d+554>>1]|s[d+552>>1]<<16,b);Si(f);fi=b+48|0;return 0}function cU(a){var b=0,c=0,d=0,e=0,f=0;c=bC(q[a+104>>2]+2|0);b=ii;a:{if(!(r[q[a>>2]+185|0]&8)){break a}e=q[a+156>>2];d=q[a+152>>2];if((b|0)==(e|0)&c>>>0>d>>>0|b>>>0>e>>>0){break a}f=-1;b=e-(b+(c>>>0>d>>>0)|0)|0;c=d-c|0;if(!b&c>>>0>63|b){break a}b=q[a+160>>2];d=q[a+164>>2];a=c&31;return((c&63)>>>0>=32?d>>>a|0:((1<>>a)&1?-1:0}return f}function Ly(a,b,c){var d=0,e=0,f=0;e=fi-16|0;fi=e;a:{b:{d=q[a+1980>>2];c:{if(!d){break c}d=q[q[a+1976>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}a=q[a+1984>>2];while(1){f=a+w(d,280)|0;if(q[f>>2]==(b|0)){break b}d=q[f+272>>2];if((d|0)!=-1){continue}break}}q[e>>2]=b;mi(4,102630,102820,e);q[c>>2]=0;break a}si(c,(a+w(d,280)|0)+8|0,264)}fi=e+16|0}function toa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=q[q[a+16>>2]>>2];a:{b=q[a+8>>2];c=q[b+4>>2];d=q[b>>2];if((c|0)==(d|0)){break a}g=c-d>>2;a=0;while(1){f=(a<<2)+d|0;if(q[f>>2]!=(e|0)){a=a+1|0;if(g>>>0>a>>>0){continue}break a}break}q[f>>2]=q[c-4>>2];a=q[b+4>>2]-4|0;q[b+4>>2]=a;if(a>>>0>=t[b>>2]){break a}J(13741,13636,484,13731);G()}aoa(e);return 0}function fE(a){var b=0,c=0,d=0,e=0;b=q[a+116>>2];if(b){b=b+q[a+32>>2]|0;if(q[b+8>>2]!=6){oj(a,5)}c=q[a+8>>2];d=c-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+8>>2]=q[d+8>>2];d=q[b+4>>2];c=q[a+8>>2]-16|0;q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){pk(a,1);b=q[a+8>>2]}q[a+8>>2]=b+16;zl(a,b-16|0,1)}oj(a,2)}function Xr(a,b,c){var d=0,e=0,f=0,g=0;a:{if((c|0)!=-1){d=q[b>>2];if((d|0)==-1){break a}b=q[q[a>>2]+12>>2];while(1){e=d;f=(e<<2)+b|0;g=q[f>>2];d=(g>>>14|0)-131071|0;d=(d|0)==-1?-1:(d+e|0)+1|0;if((d|0)!=-1){continue}break}b=f;e=(e^-1)+c|0;c=e>>31;if((c^c+e)>=131072){xj(q[a+12>>2],127273);g=q[f>>2]}q[b>>2]=(g&16383|e<<14)+2147467264}return}q[b>>2]=c}function VG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=fi-32|0;fi=e;if(qn(q[b>>2])){f=e+8|0;d=q[b>>2];c=0;a:{if(!d){break a}c=q[d>>2]}f=Ti(f,c,0,71745,218);b:{if(!yq(q[b>>2])){mi(4,71838,72388,0);break b}wi(c,q[b+4>>2]);d=q[c+8>>2];q[d+8>>2]=1;q[d>>2]=(a|0)!=0;q[c+8>>2]=q[c+8>>2]+16;Wl(c,3,0);hs(q[b>>2]);rn(q[b>>2]);ki(q[b+4>>2]);ki(b)}Si(f)}fi=e+32|0}function G8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-67108865|(c?67108864:0);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function F8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-25165825|c<<23&25165824;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function E8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-33554433|(c?33554432:0);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function yT(a,b){var c=0,d=0,e=0,f=0;d=fi-32|0;fi=d;f=281456;c=159727;e=512;a:{while(1){if(q[f>>2]&b){q[d+20>>2]=c;q[d+16>>2]=167289;c=bq(a,e,159678,d+16|0);if((c|0)<0|c>>>0>=e>>>0){break a}e=e-c|0;b=q[f>>2]^b;a=a+c|0}c=f;f=c+8|0;c=q[c+12>>2];if(c){continue}break}if(b){q[d>>2]=167289;a=bq(a,e,159684,d);if((a|0)<0|a>>>0>=e>>>0){break a}}}fi=d+32|0}function k2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ai(a,1);b=bj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=1065353216;q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+60>>2]=1065353216;q[b+12>>2]=0;q[b+16>>2]=0;c=x(e);d=rl(c);u[b+40>>2]=d;c=nk(c);u[b+24>>2]=c;u[b+20>>2]=d;q[b+52>>2]=0;q[b+56>>2]=0;u[b+36>>2]=-c;zi(a,-1e4,120704);aj(a,-2);return 1}function j2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ai(a,1);b=bj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+28>>2]=0;q[b+20>>2]=1065353216;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+4>>2]=0;q[b+60>>2]=1065353216;c=x(e);d=rl(c);u[b+40>>2]=d;c=nk(c);u[b+32>>2]=c;u[b>>2]=d;q[b+52>>2]=0;q[b+56>>2]=0;u[b+8>>2]=-c;zi(a,-1e4,120704);aj(a,-2);return 1}function i2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ai(a,1);b=bj(a,64);q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+40>>2]=1065353216;q[b+60>>2]=1065353216;c=x(e);d=rl(c);u[b+20>>2]=d;c=nk(c);u[b+4>>2]=c;u[b>>2]=d;q[b+32>>2]=0;q[b+36>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;u[b+16>>2]=-c;zi(a,-1e4,120704);aj(a,-2);return 1}function aga(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;q[b+12>>2]=0;d=-13;a:{if(rj(q[a+12>>2],q[a+16>>2],q[59718],b+12|0)){break a}c=q[a+4>>2];if(!Zo(q[a>>2],q[c+1848>>2],q[b+12>>2])){Ui(q[b+12>>2]);break a}c=i5(c,q[b+12>>2]);e=q[b+12>>2];q[q[a+24>>2]+16>>2]=q[a+16>>2]-q[e+4>>2];Ui(e);if(!c){break a}q[q[a+24>>2]+8>>2]=c;d=0}fi=b+16|0;return d|0}function Tm(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;a:{if((Gr(b,c)|0)<0){d=-10;break a}q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;b:{if((a|0)==(c|0)){d=_j(e,c);if(d){break b}c=e}if((a|0)!=(b|0)){d=_j(a,b);if(d){break b}}q[a>>2]=1;d=q[c+8>>2];c=q[c+4>>2];while(1){b=c;if(c){c=b-1|0;if(!q[d+(c<<2)>>2]){continue}}break}Jw(b,d,q[a+8>>2]);d=0}Ji(e)}fi=e+16|0;return d}function NS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=1;b=Qm(a,124685);q[c+8>>2]=0;e=Ni(a,2,c+12|0);f=b+8|0;Bn(f);b=oC(b,e,q[c+12>>2],c+8|0,f);a:{if(b){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((b|0)==-2){b=124739}else{b=Ql(b)}wi(a,b);d=2;break a}b=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function Jw(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}while(1){d=c;f=q[d>>2];c=f-e|0;q[d>>2]=c;g=q[b>>2];q[d>>2]=c-g;e=(c>>>0>>0)+(e>>>0>f>>>0)|0;c=d+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(a|0)){continue}break}if(!e){break a}a=q[d+4>>2];q[d+4>>2]=a-e;if(a>>>0>=e>>>0){break a}a=d+8|0;while(1){b=q[a>>2];q[a>>2]=b-1;a=a+4|0;if(!b){continue}break}}}function y8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-4194305|(c?4194304:0);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Cn(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}vwa(0,0);vwa(1,b+1023<<20);return a*+wwa()}function voa(a){a=a|0;var b=0,c=0,d=0,e=0;c=q[a+64>>2];if(q[c+4>>2]==q[c+8>>2]){mi(4,12677,12688,0);return-1e3}d=Mna(c,q[a+60>>2],q[a>>2],s[a+76>>1]);b=q[d+28>>2];e=q[a+52>>2];q[b+12>>2]=q[a+48>>2];q[b+16>>2]=e;q[b+20>>2]=q[a+56>>2];b=q[c+4>>2];if((b|0)!=q[c+8>>2]){q[c+4>>2]=b+4;q[b>>2]=d;q[q[a+72>>2]>>2]=d;return 0}J(13612,13636,501,13715);G()}function uia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;a=q[a+344>>2];c=q[q[q[a+12>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+4224>>2];f=q[c+4228>>2]}q[b>>2]=e;q[b+4>>2]=f;c=q[a+12>>2];e=q[c+100>>2];q[b+16>>2]=q[c+96>>2];q[b+20>>2]=e;a=qo(q[a+12>>2],s[a+20>>1],b+24|0);if(a){q[d>>2]=a;mi(4,38938,38946,d)}fi=d+16|0}function oy(a){var b=0,c=0,d=0,e=0;c=q[a+120>>2];d=q[a+108>>2];b=q[a+104>>2];if((d|0)!=(b|0)){while(1){e=q[q[b>>2]+8>>2];if(e){ji[e|0](a);d=q[a+108>>2]}b=b+4|0;if((b|0)!=(d|0)){continue}break}}zi(c,-10002,110493);ki(Vi(c,-1));oi(c,-2);b=q[a+124>>2];if((b|0)!=-2){a=q[79154];if((a|0)<=0){mi(4,110525,110995,0);a=q[79154]}q[79154]=a-1;ho(c,-1e4,b)}}function Ti(a,b,c,d,e){var f=0;f=fi-16|0;fi=f;q[a+8>>2]=e;q[a+4>>2]=d;q[a>>2]=b;b=q[b+8>>2]-q[b+12>>2]>>4;q[a+16>>2]=c;q[a+12>>2]=b;d=0-b|0;if((d|0)>(c|0)){d=q[a+8>>2];e=q[a+4>>2];q[f+12>>2]=b;q[f+8>>2]=c;q[f>>2]=e;q[f+4>>2]=d;mi(4,110525,111068,f);d=0-q[a+12>>2]|0;c=q[a+16>>2]}if((c|0)<(d|0)){J(111140,110448,1449,111157);G()}fi=f+16|0;return a}function Sba(a){var b=0,c=0,d=0,e=0,f=0;qi(q[a+128>>2],255,q[a+132>>2]<<2);q[a+148>>2]=-1;q[a+152>>2]=0;q[a+140>>2]=q[a+136>>2];d=q[a+32>>2];c=q[a+36>>2]-d|0;b=(c|0)/576|0;if(c){e=b>>>0>1?b:1;c=0;while(1){b=w(c,576)+d|0;f=b;if(q[b+436>>2]==2){Rz(a,s[b+554>>1]|s[b+552>>1]<<16)}q[b+432>>2]=0;q[f+436>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function H6(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=fi-96|0;fi=b;qi(b+16|0,0,74);TE(b+16|0);g=q[6122]>>>3|0;c=b-(g+15&-16)|0;fi=c;d=b+32|0;cz(2,d,Fi(d),c);a=q[a+8>>2];h=q[a+32>>2];a:{if(h){a=q[a+28>>2];while(1){e=1;if(!ej(c,q[(f<<3)+a>>2],g)){break a}f=f+1|0;if(h>>>0>f>>>0){continue}break}}q[b>>2]=d;mi(4,194663,194761,b);e=0}a=e;fi=b+96|0;return a}function GI(a,b,c,d){var e=0,f=0;a:{b:{e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0<(f-a|0)/576>>>0){if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}o[c|0]=o[a+460|0]&1;o[d|0]=r[a+460|0]>>>1&1;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function w8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-524289|(c?524288:0);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Oka(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a>>2];b=Ci(52);c=b+32|0;q[c>>2]=0;q[c+4>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+48>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+32>>2]=-1;d=q[a+16>>2];c=q[e+4>>2];c=c>>>0>d>>>0?d:c;w6(b,c);qi(q[b>>2],0,w(c,240));q[q[a+12>>2]>>2]=b;return 0}function M6(a,b){var c=0;c=fi-144|0;fi=c;a:{if(Am(a,c+56|0)){q[c>>2]=a;mi(4,194663,194674,c);a=-3;break a}q[c+48>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;o[c+48|0]=1;q[c+40>>2]=a;q[c+16>>2]=0;q[c+20>>2]=0;q[c+52>>2]=557;q[c+44>>2]=b;q[c+28>>2]=q[q[239951]+7412>>2];a=WG(c+16|0)?0:-3}fi=c+144|0;return a}function J8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-196609|c<<16&196608;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function A8(a,b,c){var d=0,e=0,f=0;d=li(c);e=ii;a:{b:{c=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(f-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+544>>2]=d;q[a+548>>2]=e;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function x8(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-134217729|134217728;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function nl(a){var b=0,c=0;a:{c=a;b=q[a+5820>>2];b:{if((b|0)==16){b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];p[a+5816>>1]=0;a=0;break b}if((b|0)<8){break a}b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];p[a+5816>>1]=r[a+5817|0];a=q[a+5820>>2]-8|0}q[c+5820>>2]=a}}function iI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-61441|c<<12&61440;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function cD(a,b){var c=0,d=0,e=0,f=0;f=-16;a:{b:{if(b>>>0>1e4){break b}e=q[a+4>>2];if(e>>>0<=b>>>0){break a}c=e;while(1){d=c;c=c-1|0;if(q[q[a+8>>2]+(c<<2)>>2]?0:c){continue}break}b=b>>>0>d>>>0?b:d;c=Oj(b,4);if(!c){break b}d=q[a+8>>2];if(d){si(c,d,b<<2);ji[q[66742]](d,0,e<<2)|0;ki(q[a+8>>2])}q[a+8>>2]=c;q[a+4>>2]=b;f=0}return f}return Vk(a,b)}function _u(a,b,c){var d=0,e=0;d=q[c+160>>2];a:{if((d|0)>-1){break a}e=q[c+136>>2];if(!e){break a}Di(b,e);d=q[c+160>>2]}b=d&2147483647;if(b){d=q[c+156>>2];if(b>>>0>d>>>0){while(1){b:{if(r[a+13|0]){break b}}d=d+1|0;if((b|0)!=(d|0)){continue}break}}ki(q[(r[a+13|0]?c+140|0:c+144|0)>>2]);ki(q[c+148>>2]);ki(q[c+152>>2])}a=q[c+164>>2];if(a){Ui(a)}}function Z$(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[q[239986]+16>>2];if(c){tj(c)}b=q[a+8>>2];if(b){ki(b)}a:{b=q[239986];e=q[b+64>>2];if(e){d=s[b+70>>1];if(!d|s[b+68>>1]>>0){break a}f=s[a+16>>1];g=b;b=d-1|0;p[g+70>>1]=b;p[((b&65535)<<1)+e>>1]=f;p[a+16>>1]=65535;if(c){lj(c)}return 0}J(202215,202119,140,202246);G()}J(202251,202119,141,202246);G()}function vw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=fi-240|0;fi=h;q[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-q[(j<<2)+e>>2]|0;if((ji[c|0](a,g)|0)>=0){if((ji[c|0](a,f)|0)>-1){break a}}l=g;g=(ji[c|0](g,f)|0)>-1;f=g?l:f;q[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}tL(b,h,i);fi=h+240|0}function kB(a,b){var c=0,d=0,e=0;c=-1;a:{if(!b){break a}d=q[b>>2];if(!d){break a}e=q[d>>2]}b:{c:{switch(e-1|0){case 0:case 5:c=0;d:{if(!b){break d}d=q[b>>2];if(!d){break d}c=ji[q[d+8>>2]](q[b+4>>2])|0}return t[a+12>>2]>c>>>0?-1:0;case 1:case 2:case 3:break c;default:break b}}b=q[q[b+4>>2]>>2];if(!b){break b}c=q[a+8>>2]>>>b-1&1?0:-1}return c}function cga(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[q[a+8>>2]+8>>2];c=q[b+28>>2];if(c){Di(e,c)}d=q[b>>2];if((d|0)!=q[b+4>>2]){c=0;while(1){Di(e,q[(c<<2)+d>>2]);c=c+1|0;d=q[b>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}c=q[b+24>>2];if(c){pG(c)}Hp(q[a>>2],471,b);a:{if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}ki(a)}ki(b);return 0}function TC(a){var b=0,c=0;b=(q[q[a>>2]+184>>2]>>>6&7)-1|0;a:{if(b>>>0<=3){b=q[(b<<2)+166852>>2];break a}b=16384}c=q[a+56>>2];if(c){c=r[c+116|0]-1|0;b:{if(c>>>0<=3){c=q[(c<<2)+166852>>2];break b}c=16384}b=b>>>0>c>>>0?c:b}a=q[a+64>>2];if(a){a=r[a+116|0]-1|0;c:{if(a>>>0<=3){a=q[(a<<2)+166852>>2];break c}a=16384}return a>>>0>>0?a:b}return b}function Kda(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(a){ab(q[(b<<2)+252944>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break b}}a=q[c>>2];sa((a?(a|0)==1?34067:0:3553)|0,0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2714,83620);G()}Mi(a,83620,2722);J(79249,79164,2722,83620);G()}Mi(a,83620,2724);J(79249,79164,2724,83620);G()}function zn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=e;e=0;i=e;f=c;c=0;e=jwa(h,e,f,c);j=ii;g=b;k=jwa(d,0,b,0);b=ii;d=jwa(d,l,f,c);c=b+d|0;b=ii;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=j;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=jwa(g,m,h,i)+c|0;d=ii;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;q[a+8>>2]=d;q[a+12>>2]=d>>>0>>0?e+1|0:e;q[a>>2]=k;q[a+4>>2]=b}function v9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-176|0;fi=b;c=Ti(b+152|0,a,0,187364,4010);Zi(a,1,b+148|0);e=Pj(a,2);f=ii;Ki(a);g=yi(a,-1,q[213955],189399);oi(a,-2);a:{b:{switch(Cz(g,q[b+148>>2],e,f)+10|0){case 0:d=uj(c,192877,0);break a;case 5:break b;default:break a}}q[b>>2]=ks(a,2,b+16|0);d=uj(c,192927,b)}Si(c);fi=b+176|0;return d|0}function m_(a){var b=0,c=0;a:{b=Ct(a+16|0,145056);if(b){break a}c=a+4|0;b=gk(c,1);if(b){break a}b=Um(c,255);if(b){break a}b=tl(c,c,19);if(b){break a}q[a+88>>2]=ul(c);c=a+76|0;b=Ct(c,145063);if(b){break a}b=zo(c,252,1);if(b){break a}b=gk(a+40|0,9);if(b){break a}b=gk(a- -64|0,1);if(b){break a}Ji(a+52|0);q[a+92>>2]=254;return 0}Gn(a);return b}function bI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-3073|c<<10&3072;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function X8(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=fk(a,1,q[213956]);d=fk(a,2,q[213956]);a:{if(!(d?b:0)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}if(q[b>>2]!=q[d>>2]){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}Zi(a,1,c+12|0);Zi(a,2,c+8|0);b=q[c+12>>2]==q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=b}q[a+8>>2]=q[a+8>>2]+16;fi=c+16|0;return 1}function SZ(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=r[a+3|0];f=!c;e=c|(r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8);a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=r[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function SC(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+200>>2]-q[a+192>>2]|0;c=q[a+76>>2];if(!c){return b}e=-27648;f=b;a:{b:{c:{d:{b=q[c+80>>2];d=0;e:{if(!b){break e}d=q[b+4>>2]}switch(d-2|0){case 0:break c;case 4:case 5:case 6:case 8:break d;default:break a}}a=q[c>>2];break b}b=b?q[b+24>>2]:0;a=(b+q[c+12>>2]|0)+(q[a+20>>2]>1?b:0)|0}e=f+a|0}return e}function Ft(a,b){var c=0;if(!b){return-24832}c=a;q[c>>2]=0;q[c+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=ji[q[q[b+28>>2]+28>>2]]()|0;q[a+60>>2]=c;if(!c){return-24960}q[a>>2]=b;jx(a,0);return 0}function BO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fi-1040|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if((e|0)>=1){g=b+1036|0;d=1;while(1){f=gj(a,d);if(f>>>0>=256){Mj(a,d,131761)}c=q[b>>2];if(g>>>0<=c>>>0){Pk(b);c=q[b>>2]}q[b>>2]=c+1;o[c|0]=f;c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}bm(b);fi=b+1040|0;return 1}function g0(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=b+24|0;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=1;vi(32768,1,b+16|0,c,b+16|4);c=g$(Ni(a,1,0),wl(a,1),b+16|0);a:{if(!c){c=a;a=q[b+16>>2];Bi(c,a,q[b+20>>2]-a|0);break a}q[b>>2]=c;ni(a,122937,b);d=0}b:{if(o[b+28|0]&1){break b}a=q[b+16>>2];if(!a){break b}ki(a)}fi=b+32|0;return d|0}function Zha(a){a=a|0;var b=0,c=0,d=0;b=fi+ -64|0;fi=b;c=Ti(b+8|0,a,1,67527,1191);d=q[q[Kj(a)+80>>2]+8>>2];q[b+4>>2]=0;q[b>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Hk(a,1,d,67321,b+4|0,b+32|0,b);a:{if(o[q[b>>2]+137|0]&1){break a}}ii=0;Yj(a,0,0);Si(c);fi=b- -64|0;return 1}function $u(a){var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;e=q[a+156>>2];q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=b+8|0;c=q[a+148>>2];if(!c){c=q[q[a+156>>2]+24>>2]}Sj(d,c,4);d=b+8|0;c=q[a+152>>2];if(!c){c=q[q[a+156>>2]>>2]}Sj(d,c,72);Sj(b+8|0,q[e+4>>2]+16|0,4);c=q[a+144>>2];if(c){Fs(c,b+8|0)}q[a+140>>2]=Uo(b+8|0);fi=b+32|0}function qM(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=q[a+8>>2]-q[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(t[a+20>>2]>t[a+28>>2]){ji[q[a+36>>2]](a,0,0)|0;if(!q[a+20>>2]){break a}}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;ji[q[a+40>>2]](a,b,c,d)|0;if((ii|0)<0){break a}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=q[a>>2]&-17;return 0}return-1}function j0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;e=q[Vi(a,1)>>2];c=gj(a,2);d=q[e>>2];a:{if(!((c|0)<1|(d|0)<(c|0))){f=Ai(a,3);u[(q[e+4>>2]+(c<<2)|0)-4>>2]=f;a=0;break a}if((d|0)>=1){q[b+8>>2]=d;q[b+4>>2]=120638;q[b>>2]=120720;a=ni(a,121262,b);break a}q[b+20>>2]=120638;q[b+16>>2]=120720;a=ni(a,121309,b+16|0)}fi=b+32|0;return a|0}function f1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-32|0;fi=d;e=Ti(d+8|0,a,1,116900,414);c=q[a+8>>2]-q[a+12>>2]>>4;f=Ni(a,1,0);if((c|0)>=2){vj(a,2,5);Hi(a,2);zi(a,-1,116936);b=0;a:{if(!ri(a,-1)){break a}b=Ni(a,-1,0)}oi(a,-2);oi(a,-2)}b=!(Fh(f|0,b|0)|0?0:-1e3);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=d+32|0;return 1}function bn(a,b,c,d,e){b=b^d;d=r[(b>>>24|0)+148400|0];b=r[(b&255)+148144|0]|(r[(b>>>16&255)+148656|0]<<16|d<<24|r[(b>>>8&255)+148912|0]<<8);a=a^c;a=(d|b<<8)^(r[(a>>>16&255)+148400|0]<<16|r[(a>>>24|0)+148144|0]<<24|r[(a>>>8&255)+148656|0]<<8|r[(a&255)+148912|0]);b=owa(a,16)^b;a=owa(b,24)^a;q[e+4>>2]=a^q[e+4>>2];q[e>>2]=b^q[e>>2]^owa(a,24)}function UG(a,b){var c=0,d=0;c=fi-32|0;fi=c;a:{b:{if(!a){break b}q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;if(!MK(a,b,c+16|0)){q[c+12>>2]=0;a=q[c+16>>2];d=q[c+20>>2]-a|0;if(!d){break a}a=rj(a,d,b,c+12|0);d=a?0:q[c+12>>2]}if(o[c+28|0]&1){break b}a=q[c+16>>2];if(!a){break b}ki(a)}fi=c+32|0;return d}J(195056,195067,447,195146);G()}function RA(a,b){var c=0,d=0,e=0;if(!b){return 0}if(b>>>0<=25){d=q[a+20>>2];a:{while(1){if(b>>>0<=d>>>0){break a}e=0;c=q[a+4>>2];if(c>>>0>2]){q[a+4>>2]=c+1;e=r[c|0]}c=d+8|0;q[a+20>>2]=c;q[a+16>>2]=q[a+16>>2]|e<>>0<33){continue}break}J(95566,95479,332,95556);G()}return q[a+16>>2]&(-1<>2]-q[a+12>>2]>>4;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);e=1;f=Pj(a,1);b=ii;h=b;d=Lba(d,f,b);b=ii;i=b;a:{if(d|b){Yj(a,d,i);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(187441,187364,1933,191768);G()}q[c>>2]=Ei(f,h);e=ni(a,191728,c)}fi=c+16|0;return e|0}function Ho(a,b,c){var d=0,e=0,f=0;d=dj(a,0,0,32);tq(a,d,5);q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+16>>2]=128040;p[d+6>>1]=255;e=d;a:{if(b+1>>>0<=268435455){f=dj(a,0,0,b<<4);break a}f=Rj(a)}q[e+12>>2]=f;e=q[d+28>>2];if((e|0)<(b|0)){while(1){q[((e<<4)+f|0)+8>>2]=0;e=e+1|0;if((e|0)!=(b|0)){continue}break}}q[d+28>>2]=b;uC(a,d,c);return d}function wm(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=li(b);g=ii;a:{d=q[a>>2];b=q[a+4>>2];if((d|0)!=(b|0)){h=b-d>>4;b=0;while(1){e=(b<<4)+d|0;if((f|0)==q[e>>2]&q[e+4>>2]==(g|0)){b=q[((b<<4)+d|0)+8>>2];c=q[a+20>>2];a=q[a+16>>2];if(b>>>0>=c-a>>>0){break a}return a+b|0}b=b+1|0;if(h>>>0>b>>>0){continue}break}}return c}J(139549,139421,447,139560);G()}function qP(a,b,c,d,e){var f=0,g=0;q[d>>2]=0;q[e>>2]=0;a:{if(q[a+20>>2]!=3){break a}g=-31488;f=c;c=q[b>>2];if(f>>>0>>0){break a}f=d;c=r[c|0]-1&255;b:{if(c>>>0<=5){c=c+3|0;break b}c=0}q[f>>2]=c;if(!c){break a}c=r[q[b>>2]+1|0];c=(c|0)==1?1:((c|0)==3)<<2;q[e>>2]=c;if(!c){break a}if(hU(a,q[d>>2])){break a}q[b>>2]=q[b>>2]+2;g=0}return g}function cI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-769|c<<8&768;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Ky(a,b,c,d,e,f,g){var h=0,i=x(0),j=x(0);h=fi-1056|0;fi=h;i=u[a+48>>2];u[g+8>>2]=i;j=u[a+52>>2];u[g+12>>2]=j;q[h+16>>2]=a;i=x(i+j);u[h+20>>2]=i*f;a=q[h+20>>2];q[h+8>>2]=q[h+16>>2];q[h+12>>2]=a;a=CB(b,d?c:x(3.4028234663852886e+38),h+32|0,h+28|0,h+8|0,d^1);u[g>>2]=u[h+28>>2];u[g+4>>2]=x(x(i*e)*x(a>>>0))-x(x(e+x(-1))*i);fi=h+1056|0}function fG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!c){h=1;break a}while(1){if(a>>>0<=g>>>0){break a}e=(f<<3)+d|0;i=q[e>>2];j=q[e+4>>2];e=g;while(1){b:{g=e+1|0;e=(e<<3)+b|0;if((i|0)==q[e>>2]&q[e+4>>2]==(j|0)){break b}e=g;if((e|0)!=(a|0)){continue}break a}break}f=f+1|0;h=f>>>0>=c>>>0;if((c|0)!=(f|0)){continue}break}}return(c|0)!=0&h}function Xga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;d=q[q[a+32>>2]+8>>2];e=eG();f=q[a+16>>2];b=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[64482],c+28|0)){break a}b=c+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b>>2]=q[c+28>>2];q[b+8>>2]=li(f);q[b+12>>2]=ii;dG(e,b);Ui(q[c+28>>2]);if(d){Sy(d)}q[q[a+32>>2]+8>>2]=e;b=0}fi=c+32|0;return b|0}function UY(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;c=1;b=om(a,130969);e=Qj(q[b>>2]);q[b>>2]=0;a:{if(!e){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}c=q[240833];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;q[d>>2]=Uk(c);nj(a,131085,d);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;c=3}fi=d+16|0;return c|0}function H7(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;q[b+568>>2]=c;if((c|0)==200){c=q[b+556>>2];if((e|0)>=1){g=b+552|0;a=b+40|0;e=d+e|0;while(1){f=r[d|0];a:{if((f|0)==10){o[c|0]=0;eH(q[b+8>>2],a);c=a;break a}if(c>>>0>>0){o[c|0]=f;c=c+1|0;break a}mi(4,152591,152596,0)}d=d+1|0;if(e>>>0>d>>>0){continue}break}}q[b+556>>2]=c}}function wR(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=1;b=Ni(a,1,0);a:{if(!AC(b,Ni(a,2,0))){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}d=q[240833];e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;q[c+4>>2]=Uk(d);q[c>>2]=b;nj(a,131501,c);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=3}fi=c+16|0;return d|0}function _Y(a){var b=0,c=0,d=0;c=-6;a:{if(r[169720]!=49){break a}if(!a){return-2}q[a+24>>2]=0;b=q[a+32>>2];if(!b){q[a+40>>2]=0;q[a+32>>2]=1349;b=1349}if(!q[a+36>>2]){q[a+36>>2]=1350}d=ji[b|0](q[a+40>>2],1,7116)|0;if(!d){return-4}q[a+28>>2]=d;q[d+52>>2]=0;b=ZY(a);c=0;if(!b){break a}ji[q[a+36>>2]](q[a+40>>2],d);q[a+28>>2]=0;c=b}return c}function HX(a){var b=0,c=0;b=q[a+16>>2];c=r[b+21|0];a:{b:{if(c>>>0<=1){q[b+44>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+24>>2]=0;o[b+21|0]=2;q[b+32>>2]=b+28;break b}if((c|0)==4){break a}}while(1){uw(a);if(r[b+21|0]!=4){continue}break}}PD(a);if(r[b+21|0]){while(1){uw(a);if(r[b+21|0]){continue}break}}q[b+64>>2]=w(q[b+80>>2],t[b+72>>2]/100|0)}function Du(a,b,c){var d=0,e=0;d=fi-48|0;fi=d;q[d+44>>2]=0;a:{if(OE(a,b)){q[d+32>>2]=b;mi(4,199540,200491,d+32|0);break a}q[d+44>>2]=a?q[a+96>>2]:0;q[d+40>>2]=0;Lp(d+40|0,16,q[d+44>>2]);if(PE(a,q[d+40>>2],q[d+44>>2])){q[d>>2]=b;mi(4,199540,200556,d);jr(a);ki(q[d+40>>2]);break a}jr(a);q[c>>2]=q[d+44>>2];e=q[d+40>>2]}fi=d+48|0;return e}function pO(a,b){var c=0,d=0,e=0;c=r[a|0];a:{if(!c){break a}while(1){d=r[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=r[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=r[a|0];break a}b=b+1|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=r[b|0];return e-(a-65>>>0<26?a|32:a)|0}function mha(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+8>>2]+8>>2];c=q[b+8>>2];d=q[b+4>>2];if((c|0)!=(d|0)){e=q[a>>2];a=0;c=d;while(1){Di(e,q[(a<<2)+c>>2]);a=a+1|0;c=q[b+4>>2];if(a>>>0>2]-c>>2>>>0){continue}break}}q[b+8>>2]=c;a=q[b>>2];if(a){Ui(a);q[b>>2]=0}a:{if(o[b+16|0]&1){break a}a=q[b+4>>2];if(!a){break a}ki(a)}ki(b);return 0}function eH(a,b){var c=0,d=0,e=0,f=0;c=q[a+48>>2];tj(c);e=li(b);f=ii;b=q[a+20>>2];if(!b){lj(c);return}b=q[q[a+16>>2]+(lwa(e,f,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){d=a+w(b,136)|0;if((e|0)!=q[d>>2]|q[d+4>>2]!=(f|0)){b=q[d+128>>2];if((b|0)!=-1){continue}break a}break}a=a+w(b,136)|0;o[a+112|0]=r[a+112|0]&254|1}lj(c)}function xl(a,b){var c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;v[b>>3]=NB(a,d+12|0);c=q[d+12>>2];a:{if((c|0)==(a|0)){break a}e=r[c|0];if((e|32)==120){v[b>>3]=jt(a,d+12|0,16)>>>0;c=q[d+12>>2];e=r[c|0]}if(!e){f=1;break a}if(!((e|0)==32|e-9>>>0<5)){break a}while(1){a=r[c+1|0];c=c+1|0;if((a|0)==32|a-9>>>0<5){continue}break}f=!a}fi=d+16|0;return f}function vpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=a+4|0;a:{b:{g=q[a+8>>2];d=q[a+4>>2];f=g-d|0;if(f>>>0>>0){if(o[a+12|0]&1){break b}vi(((c+g|0)-q[a>>2]|0)+1024|0,1,a,a+8|0,e);d=q[a+4>>2];f=q[a+8>>2]-d|0}if(c>>>0>f>>>0){break a}si(d,b,c);q[e>>2]=q[e>>2]+c;return 1}J(22157,22232,461,22311);G()}J(22323,22232,508,22352);G()}function tL(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=fi-256|0;fi=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;q[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;si(d,q[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;si(q[g>>2],q[(d<<2)+b>>2],f);q[g>>2]=q[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=q[h>>2];continue}}fi=e+256|0}function LR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;d=Ni(a,3,0);q[c+8>>2]=0;a:{if(!Ej(d,124081)){break a}if(dt(d,c+8|0)){break a}Mj(a,3,124083)}b:{if((sl(q[b>>2],0,32,c+8|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function H8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-16|c&15;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function DE(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;if((ri(a,1)|0)>=1){e=_i(a,1,0);a:{if(e){f=bj(a,4);q[f>>2]=0;zi(a,-1e4,130969);aj(a,-2);c=sk(e,c);q[f>>2]=c;if(c){break a}q[d+4>>2]=Uk(q[240833]);q[d>>2]=e;nj(a,131078,d);Mj(a,1,_i(a,-1,0));break a}if(!q[om(a,130969)>>2]){ni(a,131041,0)}Hi(a,1)}vk(a,-10001,b)}Xi(a,-10001,b);fi=d+16|0}function bP(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+204>>2];q[c>>2]=0;d=q[a+236>>2];a:{if(!d){break a}d=Fi(d);e=e+16384|0;if(e>>>0>>0){break a}f=d+9|0;if(f>>>0>e-b>>>0){break a}o[b+8|0]=d;o[b+6|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+7|0]=d>>>8;e=d+3|0;o[b+5|0]=e;g=d+5|0;o[b+3|0]=g;o[b+4|0]=e>>>8;o[b+2|0]=g>>>8;si(b+9|0,q[a+236>>2],d);q[c>>2]=f}}function Fi(a){a=a|0;var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!r[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(r[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=q[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=r[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Ds(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[c>>2]=q[a+436>>2];return q[a+432>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function kI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+404>>2]=q[a+404>>2]&1|c<<1;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function bwa(){var a=0;wM(0);Tn(q[212916]);a:{if(o[851764]&1){break a}a=q[212938];if(!a){break a}ki(a)}b:{if(o[851748]&1){break b}a=q[212934];if(!a){break b}ki(a)}c:{if(o[851732]&1){break c}a=q[212928];if(a){ki(a)}a=q[212926];if(!a){break c}ki(a)}d:{if(o[851700]&1){break d}a=q[212920];if(a){ki(a)}a=q[212918];if(!a){break d}ki(a)}}function Voa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(b){f=b;b=q[a+144>>2];q[f>>2]=(b|0)==1?1:(b|0)==-1?-1:0}if(c){q[c>>2]=q[a+140>>2]}c=q[a+8>>2];if(d){q[d>>2]=c}a:{if(!e){break a}q[e>>2]=xi(c<<2);if((c|0)<1){break a}b=0;while(1){d=b<<2;f=Sk(q[(d+a|0)+12>>2]);q[d+q[e>>2]>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Vla(a){a=a|0;var b=0,c=0,d=0;c=q[a+84>>2];d=q[a+80>>2];q[a>>2]=d;q[a+4>>2]=c;q[a+80>>2]=0;q[a+84>>2]=0;b=q[a+116>>2];q[a+32>>2]=q[a+112>>2];q[a+36>>2]=b;b=q[a+108>>2];q[a+24>>2]=q[a+104>>2];q[a+28>>2]=b;b=q[a+100>>2];q[a+16>>2]=q[a+96>>2];q[a+20>>2]=b;b=q[a+92>>2];q[a+8>>2]=q[a+88>>2];q[a+12>>2]=b;return(d|0)!=0|(c|0)!=0}function z8(a,b,c,d){var e=0,f=0;a:{b:{e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0<(f-a|0)/576>>>0){if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+544>>2]=c;q[a+548>>2]=d;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function st(a,b){var c=0,d=0,e=0,f=0;c=fi-1040|0;fi=c;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;d=Pk(c);a:{if(au(d,1024,b)){while(1){b:{e=Fi(d);if(!e){break b}f=d;d=e-1|0;if(r[f+d|0]!=10){break b}q[c>>2]=q[c>>2]+d;bm(c);a=1;break a}q[c>>2]=q[c>>2]+e;d=Pk(c);if(au(d,1024,b)){continue}break}}bm(c);a=(wl(a,-1)|0)!=0}fi=c+1040|0;return a}function rL(a,b,c){var d=0,e=0;Cp(a,c);Cp(b+128|0,c+8|0);Cp(a+256|0,c+16|0);c=0;while(1){d=c<<2;e=d+b|0;q[e>>2]=q[(94-c<<2)+a>>2];q[(d|4)+b>>2]=q[(95-c<<2)+a>>2];d=a+d|0;q[d+128>>2]=q[(62-c<<2)+b>>2];q[d+132>>2]=q[(63-c<<2)+b>>2];q[e+256>>2]=q[(30-c<<2)+a>>2];q[e+260>>2]=q[(31-c<<2)+a>>2];d=c>>>0<30;c=c+2|0;if(d){continue}break}}function qR(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;a=lx(a,b,e,d);a:{if(a){a=a-14976|0;break a}a=-15488;b=iS(e);f=-46;b:{if(!b){break b}q[c>>2]=q[b+16>>2];f=0}if(f){break a}if(q[c>>2]==1){a=-14976;c:{switch(q[d>>2]){case 0:case 5:break c;default:break a}}if(q[d+4>>2]){break a}}a=0}fi=e+16|0;return a}function PR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;f=c;d=wj(a,3);a:{if(y(d)<2147483648){e=~~d;break a}e=-2147483648}q[f+12>>2]=e;b:{if((sl(q[b>>2],41,16,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function Jta(a,b,c,d,e,f){var g=0;a:{if(!Lv(a,b)){break a}b=TA(a,c);if((b|0)<0|!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))){break a}a=((r[a+65|0]|r[a+66|0]<<8|(r[a+67|0]<<16|r[a+68|0]<<24))+a|0)+w(b,23)|0;q[d>>2]=r[a+5|0]|r[a+6|0]<<8;q[e>>2]=r[a+7|0]|r[a+8|0]<<8;q[f>>2]=w(r[a+9|0]|r[a+10|0]<<8,r[a+11|0]|r[a+12|0]<<8);g=1}return g}function I2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;q[210280]=Vl(a,120638,120648,258304);q[210276]=Vl(a,120656,120664,258352);q[210277]=Vl(a,120672,120680,258448);q[210278]=Vl(a,120688,120696,258544);q[210279]=Vl(a,120704,120712,258608);ek(a,120720,258672);oi(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(120726,120747,2368,120771);G()}}function w5(a){var b=0,c=0;if(q[a+1712>>2]){b=q[a+188>>2];c=q[b+8>>2];if((c|0)!=-1){ji[q[74926]](c)}c=q[b+12>>2];if((c|0)!=-1){ji[q[74927]](c)}Ry(a,b);Ry(a,q[a+764>>2]);b=q[a+304>>2];if(b){ki(b)}b=q[a+592>>2];if(b){ki(b)}b=q[a+880>>2];if(b){ki(b)}b=q[a+1168>>2];if(b){ki(b)}ji[q[74896]](q[a+1716>>2]);ji[q[74913]](q[a+1720>>2])}}function roa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;d=q[q[a+24>>2]>>2];f=q[q[d>>2]+40>>2];q[c+28>>2]=0;q[c+24>>2]=0;q[c+20>>2]=0;o[c+19|0]=0;q[c+12>>2]=0;e=-1;if(oK(f+44|0,q[a+16>>2],q[a+20>>2],c+20|0,c+28|0,c+24|0,c+19|0,c+12|0)){e=$J(d,q[c+20>>2],q[c+28>>2],q[c+24>>2],r[c+19|0],q[c+12>>2],b)}fi=c+32|0;return e|0}function nV(a){T_(a);q[a+232>>2]=0;q[a+224>>2]=1;q[a+228>>2]=0;q[a+244>>2]=0;q[a+236>>2]=1;q[a+240>>2]=0;q[a+256>>2]=0;q[a+248>>2]=1;q[a+252>>2]=0;q[a+268>>2]=0;q[a+260>>2]=1;q[a+264>>2]=0;q[a+280>>2]=0;q[a+272>>2]=1;q[a+276>>2]=0;q[a+292>>2]=0;q[a+284>>2]=1;q[a+288>>2]=0;q[a+304>>2]=0;q[a+296>>2]=1;q[a+300>>2]=0;q[a+220>>2]=0}function Zta(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=o[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=o[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=o[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(w(d,10)-o[b|0]|0)+48|0;a=o[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function Pp(a,b,c,d){var e=0,f=0;f=fi-16|0;fi=f;e=q[a>>2];a:{if(e){e=ji[e|0](a,q[a+8>>2],b,c,d)|0;if((e|0)!=-1){break a}}e=q[a+12>>2];if(e){e=ji[e|0](a,q[a+20>>2],b,c,d)|0;if((e|0)!=-1){break a}}e=q[a+24>>2];if(e){e=ji[e|0](a,q[a+32>>2],b,c,d)|0;if((e|0)!=-1){break a}}q[f>>2]=Ei(b,c);mi(4,13859,13970,f);e=-1}fi=f+16|0;return e}function JR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;f=c;d=wj(a,3);a:{if(y(d)<2147483648){e=~~d;break a}e=-2147483648}q[f+12>>2]=e;b:{if((sl(q[b>>2],0,33,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function Ip(a,b,c){var d=0,e=0,f=0;a:{b:{d=q[a+12>>2];if(d){e=q[d+4>>2];f=q[d+8>>2];if((e|0)==(f|0)){if(o[d+12|0]&1){break b}vi((e-q[d>>2]>>3)+128|0,8,d,d+8|0,d+4|0);d=q[a+12>>2];e=q[d+4>>2];f=q[d+8>>2]}if((e|0)==(f|0)){break a}q[d+4>>2]=e+8;q[e+4>>2]=c;q[e>>2]=b}return}J(27518,26974,461,27593);G()}J(27821,26974,501,27845);G()}function B_(a,b,c,d,e,f){var g=0,h=0;g=fi-32|0;fi=g;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;h=-20352;a=a+76|0;if((Dm(a,0)|0)==1){o[f|0]=!Dm(b,0);h=_j(g+16|0,b);a:{if(h){break a}h=fl(g,a,b);if(h){break a}h=Bt(g+16|0,g,r[f|0]);if(h){break a}C_(c,d,e,g+16|0);h=0}Ji(g);Ji(g+16|0)}fi=g+32|0;return h}function Ax(a,b){var c=0,d=0;c=fi-32|0;fi=c;q[c+20>>2]=b;q[c+16>>2]=130221;nj(a,130216,c+16|0);Tj(a,-1e4);a:{if(ri(a,-1)){d=Vi(a,-1);break a}oi(a,-2);d=bj(a,4);q[d>>2]=0;zi(a,-1e4,129882);aj(a,-2);q[c+4>>2]=b;q[c>>2]=130221;nj(a,130216,c);Hi(a,-2);Wi(a,-1e4)}b=q[d>>2];Bi(a,130231,58);a=2;fi=c+32|0;if(!b){q[d>>2]=0;a=1}return a}function tS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[c>>2];if((ji[q[d+60>>2]](q[d+68>>2],q[c+8>>2],q[c+12>>2],a,b)|0)==(b|0)){a=b;e=q[c+8>>2];d=b+e|0;f=b>>31;b=f+q[c+12>>2]|0;q[c+8>>2]=d;q[c+12>>2]=d>>>0>>0?b+1|0:b;b=c;d=a+q[c+16>>2]|0;c=f+q[c+20>>2]|0;q[b+16>>2]=d;q[b+20>>2]=a>>>0>d>>>0?c+1|0:c;a=1}else{a=0}return a|0}function iq(a,b,c){var d=0,e=0;a:{if(!c){break a}d=q[a+68>>2];b:{if(!d){d=0;break b}e=(a+d|0)+52|0;d=16-d|0;if(d>>>0>c>>>0){si(e,b,c);q[a+68>>2]=q[a+68>>2]+c;return 0}si(e,b,d);q[a+68>>2]=0;Fw(a,1,a+52|0,1);c=c-d|0}if(c>>>0>=16){Fw(a,c>>>4|0,b+d|0,1);d=(c&-16)+d|0;c=c&15}if(!c){break a}q[a+68>>2]=c;si(a+52|0,b+d|0,c)}return 0}function dX(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+16>>2]=0;q[d+12>>2]=0;q[d+8>>2]=c;q[d+4>>2]=1092;q[d>>2]=a;o[d+24|0]=81;o[d+25|0]=0;o[d+26|0]=1;o[d+27|0]=4;o[d+28|0]=4;o[d+29|0]=4;o[d+30|0]=8;o[d+31|0]=0;o[d+20|0]=27;o[d+21|0]=76;o[d+22|0]=117;o[d+23|0]=97;q[d+16>>2]=ji[1092](a,d+20|0,12,c);JM(b,0,d);fi=d+32|0;return q[d+16>>2]}function _P(a,b){var c=0;c=q[a+68>>2];ow(c);a:{if(32768-q[c+524>>2]>>>0>=b>>>0){break a}_n(q[a+68>>2],3);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}_n(q[a+68>>2],2);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}_n(q[a+68>>2],1);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}_n(q[a+68>>2],0);return 32768-q[c+524>>2]>>>0>>0?-1:0}return 0}function SM(a){var b=0,c=0,d=0;c=-1;a:{if(!a){break a}b=q[a+88>>2];if((b|0)<0){break a}d=q[a+72>>2];if(!d){return 0}if(b>>>0>=t[a+16>>2]){return 0}if(q[a+20>>2]!=1){return 0}c=0;a=q[d>>2];if(!a){break a}a=a+q[q[d+16>>2]+(b<<2)>>2]|0;b=r[a+28|0]|r[a+29|0]<<8;if(b){c=1;if(r[(a+b|0)+45|0]==47){break a}}c=r[a+38|0]>>>4&1}return c}function wba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}ii=q[a+428>>2];return q[a+424>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function ts(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=-3;d=q[a+4>>2];a=q[d+4>>2];a:{if(!a){break a}a=q[q[d>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break a}d=q[d+8>>2];while(1){f=d+w(a,24)|0;if(q[f>>2]!=(b|0)){a=q[f+16>>2];if((a|0)!=-1){continue}break a}break}a=d+w(a,24)|0;g=q[a+8>>2];h=q[a+12>>2];e=0}q[c>>2]=g;q[c+4>>2]=h;return e}function bma(a,b){var c=0,d=0,e=0;if(r[q[b>>2]+20|0]){if(o[b+20|0]&1){mi(4,33354,33508,0);return 0}a:{if(!a){break a}a=q[a>>2];if(!a){break a}e=q[a>>2]}c=q[b>>2];a=q[c+8>>2];d=q[c+4>>2];if((a|0)!=(d|0)){b=0;a=d;while(1){Di(e,q[(b<<2)+a>>2]);b=b+1|0;a=q[c+4>>2];if(b>>>0>2]-a>>2>>>0){continue}break}}q[c+8>>2]=a}return 1}function KX(a){a=a|0;var b=0,c=0,d=0,e=0;vj(a,1,5);b=cm(a,2,1);e=b;a:{if((ri(a,3)|0)<=0){c=wl(a,1);break a}c=gj(a,3)}b:{if((e|0)>(c|0)){break b}c:{d=c-b|0;if((d|0)>=0){d=d+1|0;if(Kt(a,d)){break c}}return ni(a,129643,0)|0}Xi(a,1,b);if((b|0)>=(c|0)){break b}while(1){b=b+1|0;Xi(a,1,b);if((b|0)!=(c|0)){continue}break}}return d|0}function Cba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}ii=q[a+548>>2];return q[a+544>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Bba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}ii=q[a+500>>2];return q[a+496>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function DI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}ii=q[a+484>>2];return q[a+480>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function jY(a){a=a|0;var b=0,c=0;b=In(a,1);a:{if(b){b=VA(a,b,(q[a+8>>2]-q[a+12>>2]>>4)-1|0);break a}Mj(a,1,129758);b=VA(a,0,(q[a+8>>2]-q[a+12>>2]>>4)-1|0)}if((b|0)<=-1){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);return 2}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=1;q[a+8>>2]=q[a+8>>2]+16;ak(a,b^-1);return b+1|0}function dw(a,b,c,d){var e=0,f=0,g=0;e=Zp(a,b,c);f=q[d+4>>2];g=q[c+4>>2];if((f|0)==(g|0)&t[d>>2]>2]|f>>>0>>0){Cl(c,d);d=q[c+4>>2];f=q[b+4>>2];if((d|0)==(f|0)&t[c>>2]>=t[b>>2]|d>>>0>f>>>0){return e+1|0}Cl(b,c);c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return e+2|0}Cl(a,b);e=e+3|0}return e}function Via(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;g=fi-32|0;fi=g;h=q[e>>2];i=q[e+4>>2];f=q[e+8>>2];if(qn(f)){e=f?q[f>>2]:0;j=Ti(g+8|0,e,0,66868,92);a:{if(yq(f)){Yj(e,h,i);Yj(e,b,c);b=q[e+8>>2];q[b+8>>2]=3;v[b>>3]=d>>>0;q[e+8>>2]=q[e+8>>2]+16;Wl(e,4,0);hs(f);if(a|d){break a}}rn(f)}Si(j)}fi=g+32|0}function Ppa(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;q[d+12>>2]=b;q[d+8>>2]=c;b=Lq(d+8|0,8);c=q[a+4>>2];a:{if(!c){break a}c=q[q[a>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break a}a=q[a+8>>2];while(1){e=a+w(c,12)|0;if((b|0)!=q[e>>2]){c=q[e+8>>2];if((c|0)!=-1){continue}break a}break}f=q[(a+w(c,12)|0)+4>>2]}fi=d+16|0;return f}function yqa(a,b){var c=0,d=0,e=0;d=q[a+28>>2];tj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=s[a+56>>1];lj(d);return a}J(153026,152878,447,153037);G()}J(152992,152639,185,153012);G()}J(152671,152639,476,152733);G()}function xqa(a,b){var c=0,d=0,e=0;d=q[a+28>>2];tj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=q[a+40>>2];lj(d);return a}J(153026,152878,447,153037);G()}J(152992,152639,185,153012);G()}J(152671,152639,467,152720);G()}function xN(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;c=a+8|0;_p(a,a+4|0,c);d=a+12|0;while(1){if((b|0)!=(d|0)){if(t[d>>2]>2]){q[e+12>>2]=q[d>>2];g=d;while(1){a:{f=c;q[g>>2]=q[c>>2];if((a|0)==(c|0)){f=a;break a}g=f;c=f-4|0;if(t[e+12>>2]>2]){continue}}break}q[f>>2]=q[e+12>>2]}c=d;d=c+4|0;continue}break}fi=e+16|0}function wqa(a,b){var c=0,d=0,e=0;d=q[a+28>>2];tj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=q[a+44>>2];lj(d);return a}J(153026,152878,447,153037);G()}J(152992,152639,185,153012);G()}J(152671,152639,458,152710);G()}function tm(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0);c=fi-48|0;fi=c;d=yi(a,b,q[210277],0);f=u[d>>2];g=u[d+4>>2];a:{b:{if(f!=f|g!=g){break b}e=u[d+8>>2];if(e!=e){break b}e=u[d+12>>2];if(e==e){break a}}e=u[d+8>>2];h=u[d+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;ni(a,120877,c)}fi=c+48|0;return d}function sta(a,b,c){var d=0,e=0;d=fi-16|0;fi=d;qta(d+12|0,d+8|0,d+4|0,c);c=q[d+8>>2]+(b>>>5&31)|0;e=q[d+12>>2]+(b>>>10&31)|0;b=q[d+4>>2]+(b&31)|0;if((b|(c|e))>>>0>=32){e=(e|0)<0?0:(e|0)>31?31:e;c=(c|0)<0?0:(c|0)>31?31:c;b=(b|0)<0?0:(b|0)>31?31:b}o[a+3|0]=255;o[a+2|0]=b<<3|b>>2;o[a+1|0]=c<<3|c>>2;o[a|0]=e<<3|e>>2;fi=d+16|0}function a6(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>2>>>0){a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){break b}b=q[a+4>>2];a=q[a>>2];if((b-a|0)/288>>>0<=c>>>0){break a}a=a+w(c,288)|0;return w((q[a+52>>2]-q[a+48>>2]|0)/160|0,6)}break a}mi(4,134802,135498,0);G()}J(136114,135222,447,135487);G()}function Dq(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0);c=fi-48|0;fi=c;d=yi(a,b,q[210278],0);f=u[d>>2];g=u[d+4>>2];a:{b:{if(f!=f|g!=g){break b}e=u[d+8>>2];if(e!=e){break b}e=u[d+12>>2];if(e==e){break a}}e=u[d+8>>2];h=u[d+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;ni(a,120971,c)}fi=c+48|0;return d}function jO(a){var b=0,c=0,d=0;xwa(+a);c=uwa(1)|0;b=uwa(0)|0;d=c;vwa(0,b|0);c=c&2147483647;vwa(1,c|0);a=+wwa();b=c;a:{if(b>>>0>=1071748075){if(b>>>0>=1077149697){a=-0/a+1;break a}a=1-2/(bs(a+a)+2);break a}if(b>>>0>=1070618799){a=bs(a+a);a=a/(a+2);break a}if(b>>>0<1048576){break a}a=bs(a*-2);a=-a/(a+2)}return(d|0)>-1?a:-a}function eqa(){var a=0,b=0,c=0,d=0,e=0;b=873436;c=fi-16|0;fi=c;e=r[270692];o[270692]=1;mi(4,193296,193302,0);d=Fi(873436)+873436|0;while(1){if(b>>>0>>0){a=Nj(b,10);if(!a){a=Nj(b,13)}if(!(!a|a>>>0>=d>>>0)){o[a|0]=0}q[c>>2]=b;mi(4,193296,193316,c);b=a+1|0;if(a){continue}}break}mi(4,193296,193320,0);o[270692]=e;fi=c+16|0}function asa(a){a=a|0;var b=0,c=0,d=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;c=uwa(0)|0;b:{if(c){break b}if(Gj(a,2)){break b}hk(a,2,123360)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=owa(b,c)|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function V$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=q[239986];d=q[c+16>>2];if(d){tj(d);c=q[239986]}e=q[c+100>>2];if(e>>>0<=t[a>>2]){if(e){while(1){g=w(f,1056)+c|0;i=q[g+116>>2];h=(f<<3)+b|0;q[h>>2]=q[g+112>>2];q[h+4>>2]=i;f=f+1|0;if((f|0)!=(e|0)){continue}break}}q[a>>2]=e;if(d){lj(d)}return}J(201534,201413,691,201549);G()}function MW(a){var b=0,c=0;c=fi-16|0;fi=c;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1437217655;q[a+8>>2]=q[a+8>>2]+16;xwa(+(wj(a,-1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;if((b|0)!=1437217655){a:{if(b){break a}if(Gj(a,-1)){break a}hk(a,-1,123360)}q[c>>2]=(b|0)==1127743488?123289:123252;ni(a,123322,c)}ek(a,123356,258992);fi=c+16|0}function $ra(a){a=a|0;var b=0,c=0,d=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;c=uwa(0)|0;b:{if(c){break b}if(Gj(a,2)){break b}hk(a,2,123360)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=qwa(b,c)|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function oU(a,b,c,d,e,f,g){var h=0;h=-16512;a:{if(q[a+164>>2]){break a}h=zC(d,e,f,q[a+4>>2],g);if(h){break a}h=-16;e=q[a+4>>2];d=Oj(1,e);if(!d){break a}e=Oj(1,e);if(!e){ki(d);return-16}h=Cr(a,b,c,g,d);b:{if(h){break b}h=zp(a,d,e);if(h){break b}h=-17152;a=q[a+4>>2];if(WC(e,g,a)){break b}si(g,d,a);h=0}ki(d);ki(e)}return h}function vO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-1040|0;fi=b;e=Ni(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(q[b+1036>>2]){f=b+1036|0;while(1){a=q[b>>2];if(f>>>0<=a>>>0){Pk(b);a=q[b>>2]}d=r[c+e|0];q[b>>2]=a+1;o[a|0]=d-65>>>0<26?d|32:d;c=c+1|0;if(c>>>0>2]){continue}break}}bm(b);fi=b+1040|0;return 1}function qO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-1040|0;fi=b;e=Ni(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(q[b+1036>>2]){f=b+1036|0;while(1){a=q[b>>2];if(f>>>0<=a>>>0){Pk(b);a=q[b>>2]}d=r[c+e|0];q[b>>2]=a+1;o[a|0]=d-97>>>0<26?d&95:d;c=c+1|0;if(c>>>0>2]){continue}break}}bm(b);fi=b+1040|0;return 1}function hN(a,b,c){var d=0;d=Fi(b);a:{if(r[a+280|0]&32){a=a+248|0;while(1){if(!rB(a,b,d)){break a}a=q[a+12>>2];if(a){continue}break}q[c>>2]=q[c>>2]|4;return}a=a+112|0;while(1){b:{if(q[a+4>>2]!=3){break b}if(ej(160721,q[a+8>>2],3)){break b}if(!rB(a+12|0,b,d)){break a}}a=q[a+24>>2];if(a){continue}break}q[c>>2]=q[c>>2]|4}}function fL(a,b){var c=0,d=0,e=0;d=q[a+28>>2];tj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}q[a+48>>2]=1;lj(d);return}J(153026,152878,447,153037);G()}J(152992,152639,185,153012);G()}J(152671,152639,440,152697);G()}function N_(a,b,c,d){var e=0,f=0;e=fi-160|0;fi=e;q[e+12>>2]=e+155;b=JD(e+12|0,e+16|0,b);a:{if((b|0)<0){break a}a=JD(e+12|0,e+16|0,a);if((a|0)<0){b=a;break a}f=a+b|0;b=KD(e+12|0,e+16|0,f);if((b|0)<0){break a}a=ID(e+12|0,e+16|0,48);if((a|0)<0){b=a;break a}a=a+(b+f|0)|0;si(c,q[e+12>>2],a);q[d>>2]=a;b=0}fi=e+160|0;return b}function zT(a,b,c){var d=0,e=0,f=0;f=-10240;a:{if(!a|!b){break a}f=0;d=a;b:{if(!q[d+28>>2]){break b}while(1){e=d;d=q[d+340>>2];if(d){if(q[d+28>>2]){continue}break b}break}d=Oj(1,344);q[e+340>>2]=d;if(!d){return-10368}PC(d);d=q[e+340>>2]}b=kN(d,b,c);if(!b){break a}if(e){q[e+340>>2]=0}if((a|0)!=(d|0)){ki(d)}f=b}return f}function t9(a){a=a|0;var b=0,c=x(0),d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=x(Ai(a,2));if(!(c>x(360)^1?!(c>3]=c;ni(a,192375,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);jI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2605,192403);G()}fi=b+16|0;return 0}function eU(){var a=0,b=0;Ji(854008);Ji(854020);a=q[213508];if(a){ji[q[66742]](a,0,q[213509])|0;ki(q[213508]);q[213508]=0;q[213509]=0}a=q[213510];if(a){ji[q[66742]](a,0,q[213511])|0;ki(q[213510]);q[213510]=0;q[213511]=0}b=q[213497];if(b){while(1){a=q[b+8>>2];ki(b);b=a;if(a){continue}break}}ji[q[66742]](853904,0,188)|0}function _ra(a){a=a|0;var b=0,c=0,d=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;c=uwa(0)|0;b:{if(c){break b}if(Gj(a,2)){break b}hk(a,2,123360)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function _j(a,b){var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}e=q[b+8>>2];if(!e){Ji(a);return 0}c=q[b+4>>2];while(1){d=c;c=c-1|0;if(q[(c<<2)+e>>2]?0:c){continue}break}q[a>>2]=q[b>>2];c=q[a+4>>2];b:{if(c>>>0>>0){c=Vk(a,d);if(!c){break b}break a}qi(q[a+8>>2]+(d<<2)|0,0,c-d<<2)}si(q[a+8>>2],q[b+8>>2],d<<2);c=0}return c}function R8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[b>>2];a:{if(gba(q[c+12>>2],q[c+16>>2])){e=q[c+16>>2];c=q[c+12>>2];d=bj(a,8);q[d>>2]=c;q[d+4>>2]=e;zi(a,-1e4,187431);aj(a,-2);break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}Yj(a,q[b+8>>2],q[b+12>>2]);b=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}function tn(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return(r[a+415|0]&8)>>>3|0}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function sba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>10&3}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function sX(a,b){var c=0,d=0,e=0;c=b-1|0;if(c>>>0>2]){return q[a+12>>2]+(c<<4)|0}d=+(b|0);if(b){e=q[a+16>>2];xwa(+d);c=uwa(1)|0;b=uwa(0)|0;c=b+c|0;a=((c>>>0)%((-1<>>0)<<5)+e|0}else{a=q[a+16>>2]}while(1){if(!(q[a+24>>2]!=3|v[a+16>>3]!=d)){return a}a=q[a+28>>2];if(a){continue}break}return 126472}function TA(a,b){var c=0,d=0,e=0;if(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16)){e=a+65|0;while(1){c=e;c=((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))+a|0)+w(d,23)|0;if(!(r[c|0]|(r[c+1|0]<<8|r[c+2|0]<<16)|r[c+3|0]!=(b|0))){return d}d=d+1|0;if(d>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){continue}break}}return-1}function Lz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>12&15}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function F1(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-119|0){case 1:u[c>>2]=Ai(a,-1);break a;case 2:u[c+4>>2]=Ai(a,-1);break a;case 3:u[c+8>>2]=Ai(a,-1);break a;case 0:u[c+12>>2]=Ai(a,-1);break a;default:break b}}q[b+4>>2]=120688;q[b>>2]=120720;d=ni(a,121512,b)}fi=b+16|0;return d|0}function BI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return(r[a+414|0]&8)>>>3|0}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function yra(a){a=a|0;var b=0,c=0,d=0;b=fi-256|0;fi=b;c=q[51432];Al(132595,11,1,c);d=q[51430];a:{if(!au(b,250,d)){break a}while(1){if(!ej(b,132607,6)){break a}b:{if(!Ot(a,b,Fi(b),132613)){if(!qq(a,0,0,0)){break b}}Kx(_i(a,-1,0),c);Lx(10,c)}oi(a,0);Al(132595,11,1,c);if(au(b,250,d)){continue}break}}fi=b+256|0;return 0}function vi(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;g=q[c>>2];i=q[d>>2]-g|0;if(((i>>>0)/(b>>>0)|0)!=(a|0)){if(a){h=Ci(w(a,b))}else{h=0}f=(q[e>>2]-g>>>0)/(b>>>0)|0;f=a>>>0>f>>>0?f:a;a:{if(b>>>0>i>>>0){f=w(b,f);break a}f=w(b,f);si(h,g,f);if(!g){break a}ki(g)}q[c>>2]=h;q[e>>2]=f+h;q[d>>2]=w(a,b)+h}}function tba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>8&3}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Wo(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>4&15}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Qpa(a,b,c){var d=0,e=0,f=0;f=q[b+4>>2];d=q[a+40>>2]+15&-16;q[a+40>>2]=d;e=4;a:{b:{switch((q[b+4>>2]>>>22&63)-9|0){case 2:e=q[q[b+8>>2]+16>>2];break a;case 0:break a;default:break b}}e=BA(f>>>22&63);d=q[a+40>>2]}b=w(c,e)+d|0;q[a+40>>2]=b;if(!(r[a+44|0]|b>>>0<=t[a+36>>2])){J(23836,23867,68,23911);G()}return d}function Iea(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=Pj(a,1);q[b+12>>2]=0;c=W$(c,ii,b+12|0);if(c){q[b>>2]=c;mi(3,72869,73025,b)}e=u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(73055,72665,326,73080);G()}fi=b+16|0;return 1}function Gq(a,b){var c=0,d=0,e=0,f=0;c=fi-80|0;fi=c;e=q[q[a+8>>2]+20>>2];a=0;o[c+32|0]=0;f=c+78|0;while(1){q[c+16>>2]=r[a+e|0];cj(c+77|0,3,24500,c+16|0);d=np(np(c+32|0,c+77|0,1),f,1);a=a+1|0;if((a|0)!=20){continue}break}b=du(d,b);a=0;a:{if(!b){break a}q[c+4>>2]=b;q[c>>2]=d;mi(4,24355,25109,c);a=-9}fi=c+80|0;return a}function zp(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;e=-16512;if(!sr(a,0)){q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{e=Vm(d,b,q[a+4>>2]);c:{if(e){break c}e=-4;b=a+8|0;if((Dj(d,b)|0)>-1){break c}f=q[a+4>>2];e=co(d,d,a+20|0,b,a+104|0);if(!e){break b}}e=e-17024|0;break a}a=hn(d,c,f);e=a?a-17024|0:0}Ji(d)}fi=d+16|0;return e}function n1(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2]-q[a+12>>2]>>4;b=Ni(a,1,0);if($j(a,2)){e=_i(a,2,0)}a:{b:{c=ls(a);if(!c){break b}c=q[c>>2];if(!c){break b}b=wm(c,b,e);if(!b){break b}wi(a,b);break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(116875,116900,380,116922);G()}return 1}function hsa(a){a=a|0;var b=0,c=0,d=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;c=uwa(0)|0;b:{if(c){break b}if(Gj(a,2)){break b}hk(a,2,123360)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>c;q[a+8>>2]=q[a+8>>2]+16;return 1}function bsa(a){a=a|0;var b=0,c=0,d=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}xwa(+(wj(a,2)+6755399441055744));uwa(1)|0;c=uwa(0)|0;b:{if(c){break b}if(Gj(a,2)){break b}hk(a,2,123360)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b<>2]=q[a+8>>2]+16;return 1}function _H(a,b){var c=0;if(!(!a|!b|q[a+44>>2]>-1)){c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;q[b+40>>2]=q[a+40>>2];c=q[a+36>>2];q[b+32>>2]=q[a+32>>2];q[b+36>>2]=c;c=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=c;c=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=1}return c}function YO(a,b,c){var d=0,e=0;a:{if(!(!(q[q[a>>2]+184>>2]&4096)|c>>>0<2|q[a+20>>2]>1)){d=q[q[a+76>>2]+80>>2];e=0;b:{if(!d){break b}e=q[d+4>>2]}if((e|0)==2){break a}}return lw(a,b,c)}c:{if(!r[a+230|0]){d=lw(a,b,1);if((d|0)<1){break c}o[a+230|0]=1}d=lw(a,b+1|0,c-1|0);if((d|0)<1){break c}o[a+230|0]=0;d=d+1|0}return d}function Tu(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+404>>2]>>>1|0}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function PU(a,b,c){var d=0,e=0,f=0;d=(c>>>2|0)+((c&3)!=0)|0;a:{if((d|0)!=q[a+4>>2]){Ji(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;d=Vk(a,d);if(d){break a}}d=gk(a,0);if(d){break a}if(!c){return 0}f=q[a+8>>2];d=0;a=0;while(1){e=(a&-4)+f|0;q[e>>2]=q[e>>2]|r[a+b|0]<<(a<<3&24);a=a+1|0;if((c|0)!=(a|0)){continue}break}}return d}function Hw(a,b,c){var d=0,e=0,f=0,g=0;g=qi(b,0,c);e=c<<1;if(e){c=0;while(1){b=-48;a:{d=r[a|0];if((d-48&255)>>>0<10){break a}b=-55;if((d-65&255)>>>0<6){break a}b=-87;if((d-97&255)>>>0<=5){break a}return-4608}f=(c>>>1|0)+g|0;b=b+d|0;o[f|0]=r[f|0]|(c&1?b:b<<4);a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function pna(a){a=a|0;var b=0,c=0,d=0;b=q[a+20>>2];d=q[a+4>>2];c=0;a:{if(!d){break a}c=q[d+120>>2]}b:{if(!Zo(q[a>>2],d,b)){break b}c=Lna(c,b);if(!c){break b}b=kv(q[a>>2],q[b+124>>2],q[b+128>>2],c+48|0);if(b){vA(c);return b|0}b=q[a+24>>2];q[b+8>>2]=c;q[b+16>>2]=q[a+16>>2]-q[q[c+40>>2]+4>>2];return 0}Ui(b);return-13}function Zz(a,b){var c=0;c=q[b>>2];if(c){Ui(c)}c=q[b+8>>2];if(c){Di(a,c)}c=q[b+4>>2];if(c){Di(a,c)}c=q[b+12>>2];if(c){Di(a,c)}c=q[b+16>>2];if(c){Di(a,c)}c=q[b+20>>2];if(c){Di(a,c)}c=q[b+24>>2];if(c){Di(a,c)}c=q[b+28>>2];if(c){Di(a,c)}c=q[b+32>>2];if(c){Di(a,c)}c=q[b+36>>2];if(c){Di(a,c)}b=q[b+40>>2];if(b){Di(a,b)}}function JP(a){var b=0,c=0,d=0,e=0;b=q[a+68>>2];a:{if(!b|!(q[q[a>>2]+184>>2]&2)){break a}c=q[b+580>>2];if(!c|t[a+136>>2]>t[a+144>>2]|s[a+140>>1]!=q[b+588>>2]){break a}d=-27648;b=q[b+584>>2];e=q[a+108>>2];if(b>>>0>(q[a+100>>2]-e|0)+16749>>>0){break a}si(e,c,b);d=0;q[a+144>>2]=0;q[a+136>>2]=b;ow(q[a+68>>2])}return d}function r0(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-119|0){case 1:u[c>>2]=Ai(a,3);break a;case 2:u[c+4>>2]=Ai(a,3);break a;case 3:u[c+8>>2]=Ai(a,3);break a;case 0:u[c+12>>2]=Ai(a,3);break a;default:break b}}q[b+4>>2]=120672;q[b>>2]=120720;d=ni(a,121512,b)}fi=b+16|0;return d|0}function pm(a,b){var c=0,d=0,e=0,f=0;qm(a,b);a:{if(q[b>>2]!=12){break a}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];c=e+1|0;f=q[a>>2];b:{if(r[f+75|0]>(e|0)){d=c;break b}d=c;if((e|0)>=249){xj(q[a+12>>2],127238);f=q[a>>2];d=q[a+36>>2]+1|0}o[f+75|0]=c}q[a+36>>2]=d;vq(a,b,d-1|0)}function p1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ni(a,1,0);o[b+8|0]=0;o[b+8|0]=0;ij(a,0,0);Bi(a,117217,9);e=r[b+8|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(116875,116900,700,117227);G()}fi=b+16|0;return 1}function oN(a,b){var c=0,d=0,e=0,f=0,g=0;c=Fi(a);e=-1;f=q[b+4>>2];a:{if(f>>>0<3){break a}d=q[b+8>>2];if(!c|(r[d|0]!=42|r[d+1|0]!=46)){break a}b=0;while(1){g=a+b|0;if(r[g|0]!=46){b=b+1|0;if((c|0)!=(b|0)){continue}break a}break}if(!b){break a}a=c-b|0;if((a|0)!=(f-1|0)){break a}if(Pv(d+1|0,g,a)){break a}e=0}return e}function oI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+128>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function lI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+408>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function jI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+132>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function gI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+144>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function faa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;Zi(a,1,b+12|0);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);c=sba(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2337,192023);G()}fi=b+16|0;return 1}function fI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+148>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function ep(a,b,c,d,e){var f=0,g=0;f=(b<<2)+a|0;b=(c<<2)+a|0;c=q[f>>2]+q[b>>2]|0;q[f>>2]=c;g=c;c=(e<<2)+a|0;e=owa(g^q[c>>2],16);q[c>>2]=e;a=(d<<2)+a|0;d=e+q[a>>2]|0;q[a>>2]=d;d=owa(d^q[b>>2],12);q[b>>2]=d;d=d+q[f>>2]|0;q[f>>2]=d;e=c;c=owa(d^q[c>>2],8);q[e>>2]=c;d=a;a=c+q[a>>2]|0;q[d>>2]=a;q[b>>2]=owa(a^q[b>>2],7)}function vaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);c=Lz(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2406,192072);G()}fi=b+16|0;return 1}function dwa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;a:{if(!r[288624]){break a}q[218293]=57005;q[218294]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(k7(a,b)){break a}c=a;a=Fi(a);jw(873436,c,a>>>0<32767?a:32767);c=q[239692];if(c){a=Fi(873436);ji[c|0](q[239693],a+873436|0,32767-a|0)}dqa();Eu(b);eqa()}fi=b+16|0}function NW(a){a=a|0;Hi(a,-10002);pi(a,-10002,128892);ek(a,128892,261344);Bi(a,128895,7);pi(a,-10002,128903);Wj(a,1004,0);Wj(a,1005,1);pi(a,-2,128912);Wj(a,1006,0);Wj(a,1007,1);pi(a,-2,128919);ij(a,0,1);Hi(a,-1);aj(a,-2);Bi(a,128925,2);pi(a,-2,128928);Wj(a,1008,1);pi(a,-10002,128935);ek(a,128882,261280);return 2}function I8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+60>>2]=c;return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Es(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]&15}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function $W(a,b,c,d){q[b+52>>2]=a;o[b+68|0]=46;q[b+56>>2]=c;q[b+32>>2]=287;q[b+48>>2]=0;q[b+64>>2]=d;q[b+4>>2]=1;q[b+8>>2]=1;c=a;a=q[b+60>>2];a=dj(c,q[a>>2],q[a+8>>2],32);c=q[b+60>>2];q[c+8>>2]=32;q[c>>2]=a;a=q[b+56>>2];c=q[a>>2];q[a>>2]=c-1;if(c){c=a;a=q[a+4>>2];q[c+4>>2]=a+1;q[b>>2]=r[a|0];return}q[b>>2]=mk(a)}function yN(a,b){var c=0,d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;c=a+2|0;$p(a,a+1|0,c);d=a+3|0;while(1){if((b|0)!=(d|0)){if(r[d|0]>2];if(!r[q[c>>2]+4|0]){break a}if(d&1){mi(4,37929,38059,0);return 0}if(q[c+4>>2]){break a}d=b;c=0;b:{if(!a){break b}a=q[a>>2];if(!a){break b}c=q[a>>2]}a=UF(c,q[q[q[b>>2]>>2]>>2]);q[d+4>>2]=a;if(!a){return 0}o[b+20|0]=r[b+20|0]|1;return 1}o[b+20|0]=d|1;return 1}function waa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);e=zI(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2629,192422);G()}fi=b+16|0;return 1}function qk(a,b){var c=0,d=0;a:{if(b>>>0>=26){if(b>>>0>=33){break a}c=RA(a,25);q[a+16>>2]=q[a+16>>2]>>>25;q[a+20>>2]=q[a+20>>2]-25;b=b-25|0;d=RA(a,b);q[a+16>>2]=q[a+16>>2]>>>b;q[a+20>>2]=q[a+20>>2]-b;return c|d<<25}c=RA(a,b);q[a+16>>2]=q[a+16>>2]>>>b;q[a+20>>2]=q[a+20>>2]-b;return c}J(95464,95479,350,95532);G()}function kma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Ci(32);q[b>>2]=0;q[b+4>>2]=0;d=b+24|0;c=d;q[c>>2]=0;q[c+4>>2]=0;e=b+16|0;c=e;q[c>>2]=0;q[c+4>>2]=0;c=b+8|0;q[c>>2]=0;q[c+4>>2]=0;f=q[a+16>>2];vi(f>>>0<64?f:64,28,b,c,b+4|0);if(o[b+28|0]&1){J(32871,32946,461,33025);G()}vi(8,4,e,d,b+20|0);q[q[a+12>>2]>>2]=b;return 0}function iaa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);e=Jz(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2839,192705);G()}fi=b+16|0;return 1}function Haa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);e=CI(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2683,192573);G()}fi=b+16|0;return 1}function GX(a,b){var c=0,d=0;c=q[a+16>>2];q[b>>2]=q[c+28>>2];q[c+28>>2]=b;d=r[b+5|0];a:{if(d&7){break a}if(r[c+21|0]==1){o[b+5|0]=d|4;c=q[b+8>>2];if(q[c+8>>2]<4){break a}c=q[c>>2];if(!(r[c+5|0]&3)){break a}a=q[a+16>>2];if(r[a+21|0]==1){rk(a,c);return}o[b+5|0]=r[a+20|0]&3|d&248;return}o[b+5|0]=r[c+20|0]&3|d&248}}function Eaa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);e=Kz(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2790,192676);G()}fi=b+16|0;return 1}function xaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);c=Tu(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2577,192501);G()}fi=b+16|0;return 1}function qr(a){var b=0;a:{switch(a+12|0){case 9:return 125286;case 11:return 125323;case 8:return 125350;case 6:return 125393;case 2:return 125417;case 10:return 125443;case 0:return 125486;case 4:return 125511;case 5:return 125549;case 1:return Uk(q[240833]);default:b=ha(a|0)|0;break;case 12:break a}}return b}function PD(a){var b=0,c=0;b=q[a+16>>2];q[b+44>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;c=q[b+112>>2];if(r[c+5|0]&3){rk(b,c);c=q[b+112>>2]}a:{if(q[c+80>>2]<4){break a}c=q[c+72>>2];if(!(r[c+5|0]&3)){break a}rk(b,c)}a=q[a+16>>2];b:{if(q[a+104>>2]<4){break b}a=q[a+96>>2];if(!(r[a+5|0]&3)){break b}rk(b,a)}QD(b);o[b+21|0]=1}function O4(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){a:{b:{if((ri(a,1)|0)==2){c=Vi(a,1);if(c){break b}}q[b>>2]=104341;a=ni(a,104977,b);break a}ji[q[74955]](c);a=0}fi=b+16|0;return a|0}J(104348,104245,265,107702);G()}function Dba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+472>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Baa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);c=AI(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2741,192644);G()}fi=b+16|0;return 1}function zI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+132>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function yl(a,b,c,d){var e=0,f=0,g=0;e=fi-16|0;fi=e;a:{if((ri(a,b)|0)<=0){if(!d){break a}if(!c){q[d>>2]=0;break a}q[d>>2]=Fi(c);break a}c=_i(a,b,d);if(c){break a}c=q[65292];g=e;d=ri(a,b);f=125997;b:{if((d|0)==-1){break b}f=q[(d<<2)+261152>>2]}q[g+4>>2]=f;q[e>>2]=c;Mj(a,b,nj(a,128655,e));c=0}fi=e+16|0;return c}function hma(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+24>>2]>>2];c=q[a+16>>2];d=q[a+20>>2];a:{b:{if((c|0)==q[73224]&(d|0)==q[73225]){u[b+12>>2]=v[a+40>>3];break b}if(q[73226]==(c|0)&q[73227]==(d|0)){u[b+16>>2]=v[a+40>>3];break b}e=-1;if((c|0)!=q[73228]|(d|0)!=q[73229]){break a}u[b+20>>2]=v[a+40>>3]}e=0}return e|0}function gy(a){var b=0,c=0,d=0,e=0;c=xi(8);if(c){q[c>>2]=a;b=q[a+120>>2];ij(b,0,0);q[79154]=q[79154]+1;q[c+4>>2]=Kn(b,-1e4);b=q[a+104>>2];d=q[a+108>>2];if((b|0)!=(d|0)){while(1){e=q[q[b>>2]+12>>2];if(e){ji[e|0](c);d=q[a+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}return c}J(110942,110448,1084,110962);G()}function X_(a,b,c,d,e,f){var g=0,h=0;g=-20352;a:{if(!a|!q[a+88>>2]){break a}h=a+208|0;g=W_(a,h,a+172|0,a+124|0,e,f);if(g){break a}g=-20352;if(Cm(h)>>>0>d>>>0){break a}d=q[a+88>>2];q[b>>2]=(d>>>3|0)+((d&7)!=0);b=q[b>>2];if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)==2){return bD(h,c,b)}g=hn(h,c,b)}return g}function Tra(a,b){var c=0,d=0,e=0;e=b;c=Ln(a,2,+t[b+12>>2]);a:{if(y(c)<2147483648){d=~~c;break a}d=-2147483648}q[e+12>>2]=d;e=b;c=Ln(a,3,+t[b+8>>2]);b:{if(y(c)<2147483648){d=~~c;break b}d=-2147483648}q[e+8>>2]=d;if(Gj(a,4)){v[b>>3]=iw()-wj(a,4)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function Nz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+416>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Mz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+488>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Kz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+144>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Jz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+148>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Iz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+420>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Hba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+60>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function HI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+512>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function CI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+128>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function AI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+408>>2]}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function uba(a,b,c){var d=0,e=0;a:{b:{e=c&65535;d=q[b+32>>2];if(e>>>0<(q[b+36>>2]-d|0)/576>>>0){if(s[(w(e,576)+d|0)+552>>1]!=(c>>>16|0)){break b}d=w(e,576)+d|0;if(s[d+554>>1]!=(c&65535)){break a}Pq(b,d,0,a);return}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function Uu(a,b){var c=0,d=0,e=0,f=0,g=0;d=li(b);e=ii;c=q[a+32>>2];b=q[a+36>>2]-c|0;a=(b|0)/576|0;if(!b){return 0}f=a>>>0>1?a:1;a=0;while(1){a:{b=w(a,576)+c|0;if(q[b+544>>2]==(d|0)&q[b+548>>2]==(e|0)){g=s[b+554>>1]|s[b+552>>1]<<16;if(!(o[b+572|0]&1)){break a}}a=a+1|0;if((f|0)!=(a|0)){continue}}break}return g}function E9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);f=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);a:{if($j(a,2)){c=li(_i(a,2,0));d=ii;break a}c=Qk(a,2);d=ii}z8(f,q[b+12>>2],c,d);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(187343,187364,559,187486);G()}fi=b+16|0;return 0}function yja(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){if(r[(b+w(a,240)|0)+234|0]&8){a=b+w(a,240)|0;av(a,q[a+208>>2],q[a+212>>2],u[a+224>>2],u[a+228>>2])}return}}J(52519,51871,447,51574);G()}function Xta(a){a=a|0;var b=0;b=fi+ -64|0;fi=b;a:{b:{if(!Sl(a,1)){break b}wi(a,123468);Tj(a,-2);if((ri(a,-1)|0)!=5){break b}wi(a,123476);Tj(a,-2);if(!$j(a,-1)){break b}q[b+16>>2]=Vi(a,1);Sm(b+32|0,123482,b+16|0);q[b>>2]=_i(a,-1,0);q[b+4>>2]=b+32;nj(a,123485,b);break a}wi(a,123492);fo(a)}fi=b- -64|0;return 1}function Ro(a,b,c,d){var e=0,f=0;e=q[a+2208>>2];a=q[b+64>>2];a:{if(q[b+68>>2]-a>>5>>>0<=c>>>0){break a}b=q[(a+(c<<5)|0)+8>>2];f=b<<8;if((f|0)==-256){break a}ji[q[74937]](e,f>>8,b>>24);b=a+(c<<5)|0;e=q[b+12>>2];if(!e){break a}b=q[b+16>>2];if(!b){break a}a=a+(c<<5)|0;ji[q[74965]](d,e,b,q[a+20>>2],q[a+24>>2])}}function Lea(a,b,c,d,e,f){var g=0;g=b;b=q[a+156>>2];b=w(w(g,q[b+32>>2]&2147483647)+d|0,q[b+28>>2])+c|0;p[q[a+100>>2]+(b<<1)>>1]=e;b=b+q[a+104>>2]|0;o[b|0]=r[b|0]&248|f&7;b=q[a+108>>2];e=q[a+112>>2]-b|0;a=w(s[a+160>>1],d>>>5|0)+(c>>>5|0)|0;if(e>>>0<=a>>>0){J(53991,53817,447,53980);G()}a=a+b|0;o[a|0]=r[a|0]|1}function FB(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;d=2;e=pE(c+12|0,b,2);a:{if(!e){d=bj(a,40);hp(a,124700,-1);nt(c+12|0);if((b|0)==10){q[c+8>>2]=1;sl(q[c+12>>2],41,26,c+8|0,4)}q[d>>2]=q[c+12>>2];v[d+16>>3]=-1;v[d+8>>3]=-1;q[d+32>>2]=b;d=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,e)}fi=c+16|0;return d}function Au(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}b=q[c>>2];d=q[c+4>>2];e=q[c+12>>2];q[a+56>>2]=q[c+8>>2];q[a+60>>2]=e;q[a+48>>2]=b;q[a+52>>2]=d}return}J(136114,135222,447,135487);G()}function i7(a,b){var c=0,d=0,e=0;d=fi-96|0;fi=d;e=Am(b,d+8|0);c=q[a+4>>2];a=q[c+12>>2];c=q[c+8>>2];a:{if(!e){b=sk(b,195332);e=d-(a+15&-16)|0;fi=e;Yk(e,1,a,b);Qj(b);a=ej(e,c,a)?-4:0;break a}b=sk(b,195335);c=Al(c,1,a,b);if((c|0)!=(a|0)){q[d+4>>2]=a;q[d>>2]=c;mi(3,195338,195349,d)}Qj(b);a=0}fi=d+96|0;return a}function Uba(a){var b=0,c=0,d=0;b=q[213721];d=b;c=q[213720];q[a+312>>2]=c;q[a+316>>2]=b;b=q[a+276>>2];q[a+280>>2]=b;a:{if(q[a+284>>2]!=(b|0)){q[a+280>>2]=b+8;q[b>>2]=c;q[b+4>>2]=d;if(o[a+304|0]&1){break a}vi(0,4,a+292|0,a+300|0,a+296|0);return}J(186744,186599,501,186768);G()}J(187176,186599,461,186335);G()}function Si(a){var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;a:{c=q[a+16>>2];if((c|0)==-8388608){break a}c=c+q[a+12>>2]|0;d=q[a>>2];d=q[d+8>>2]-q[d+12>>2]>>4;if((c|0)==(d|0)){break a}e=q[a+8>>2];a=q[a+4>>2];q[b+12>>2]=d;q[b+8>>2]=c;q[b>>2]=a;q[b+4>>2]=e;mi(4,110525,111171,b);J(111242,110448,1472,111261);G()}fi=b+16|0}function $y(a,b,c,d){var e=0,f=0;if(!b){q[d>>2]=0;return}e=b&65535;f=q[a+4>>2];a=q[a>>2];if(e>>>0>2>>>0){a=q[a+(e<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);q[d>>2]=0;return}b=q[a>>2];q[d>>2]=d?(q[a+4>>2]-b|0)/288>>>0<=c>>>0?0:(b+w(c,288)|0)+128|0:0;return}J(136114,135222,447,135487);G()}function zaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-32|0;fi=b;f=Ti(b+8|0,a,1,187364,3060);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+28|0);d=Aba(c,q[b+28>>2]);a:{if(d){e=bj(a,8);q[e+4>>2]=d;q[e>>2]=c;zi(a,-1e4,187431);aj(a,-2);break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}Si(f);fi=b+32|0;return 1}function _M(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=ND(a,b,d);a:{if(a){e=a-9472|0;break a}a=q[d>>2];if(!a){e=-9572;break a}q[c>>2]=0;f=a-1>>>0<3?a:4;g=q[d+8>>2];b=0;a=0;while(1){b=r[a+g|0]<<(a<<3)|b;q[c>>2]=b;a=a+1|0;if((f|0)!=(a|0)){continue}break}}fi=d+16|0;return e}function Zga(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;d=eG();e=q[a+8>>2];a:{if(!rj(q[a+12>>2],q[a+16>>2],q[64482],c+28|0)){b=c+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b>>2]=q[c+28>>2];q[b+8>>2]=li(e);q[b+12>>2]=ii;dG(d,b);Ui(q[c+28>>2]);q[q[a+24>>2]+8>>2]=d;a=0;break a}Sy(d);a=-13}fi=c+32|0;return a|0}function Yaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-144|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Pj(a,1);d=ii;Ki(a);f=yi(a,-1,q[213955],189399);oi(a,-2);c=Qba(f,c,d);if(c){d=ks(a,1,b+16|0);q[b+4>>2]=c;q[b>>2]=d;ni(a,191606,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(187343,187364,1788,191650);G()}fi=b+144|0;return 0}function PP(a){var b=0,c=0,d=0;c=Oj(1,16);if(c){b=q[a+212>>2];d=Oj(1,b);q[c>>2]=d;if(!d){ki(c);return-32512}si(d,q[a+204>>2],b);q[c+4>>2]=b;o[c+8|0]=q[a+208>>2];b=q[a+68>>2];a=q[b+496>>2];a:{if(!a){q[b+496>>2]=c;break a}while(1){b=a;a=q[a+12>>2];if(a){continue}break}q[b+12>>2]=c}a=0}else{a=-32512}return a}function xia(a,b,c,d){var e=0,f=0,g=0,h=0;e=q[a>>2];if((e|0)!=q[a+4>>2]){while(1){g=(f<<7)+e|0;h=q[g+40>>2];if(!(q[h+96>>2]!=(b|0)|q[h+100>>2]!=(c|0)|s[g+56>>1]!=(d|0))){a=q[((f<<7)+e|0)+32>>2];b=q[a+8>>2];ii=q[a+12>>2];return b}f=f+1|0;e=q[a>>2];if(f>>>0>2]-e>>7>>>0){continue}break}}ii=0;return 0}function wK(a,b){var c=0;a:{if((b|0)!=32767){while(1){b=b&65535;c=q[a+2056>>2];if(b>>>0>=q[a+2060>>2]-c>>2>>>0){break a}b=q[(b<<2)+c>>2];if(!(q[b+136>>2]&1024^1024|q[b+140>>2]&32768)){wK(a,s[b+150>>1]&32767);Os(a,b,0)}b=q[b+148>>2]&32767;if((b|0)!=32767){continue}break}}return}J(12475,10090,447,9406);G()}function qu(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;a:{if(!c|!d){break a}o[c|0]=0;if(!b){break a}d=d+1>>>1|0;g=(d>>>0>1?d:1)-1|0;h=e+14|0;while(1){q[e>>2]=r[a+f|0];cj(e+13|0,3,24500,e);if(d>>>0>f>>>0){np(c,e+13|0,1)}if((f|0)==(g|0)){break a}np(c,h,1);f=f+1|0;if((f|0)!=(b|0)){continue}break}}fi=e+16|0}function j3(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!(q[a+24>>2]|q[a+28>>2])){c=-1;break a}c=2;d=Uj();b=q[a+8>>2];d=kwa(d-b|0,ii-(q[a+12>>2]+(d>>>0>>0)|0)|0,1e3);b=ii;e=q[a+28>>2];if((b|0)==(e|0)&t[a+24>>2]<=d>>>0|b>>>0>e>>>0){break a}c=q[a+20>>2];return(c|0)==(b|0)&t[a+16>>2]<=d>>>0|c>>>0>>0}return c|0}function WP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=fi-272|0;fi=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}wp(d+8|0);Vw(d+8|0,q[a+68>>2]+888|0);zr(d+8|0,d+224|0);f=d+8|0;if(f){ji[q[66742]](f,0,216)|0}ji[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?166793:166777,d+224|0,48,b,12)|0;ji[q[66742]](d+224|0,0,48)|0;fi=d+272|0}function Pt(a,b,c,d){var e=0,f=0,g=0;Hi(a,b);while(1){f=a;g=c;b=Nj(c,46);if(!b){b=Fi(c)+c|0}e=b-c|0;Bi(f,g,e);gl(a,-2);a:{if(!ri(a,-1)){oi(a,-2);ij(a,0,r[b|0]==46?1:d);Bi(a,c,e);Hi(a,-2);Wi(a,-4);break a}if((ri(a,-1)|0)==5){break a}oi(a,-3);return c}Ok(a,-2);c=b+1|0;if(r[b|0]==46){continue}break}return 0}function Jba(a,b,c){var d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;f=q[a+276>>2];d=q[a+280>>2]-f|0;g=d>>3;a=0;a:{if(!d){break a}while(1){d=(a<<3)+f|0;if(q[d>>2]==(b|0)&q[d+4>>2]==(c|0)){break a}a=a+1|0;if(g>>>0>a>>>0){continue}break}}if((a|0)==(g|0)){q[e>>2]=Ei(b,c);mi(4,184623,184824,e);a=0}fi=e+16|0;return a&65535}function Hm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=fi-16|0;fi=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=z(e);Zl(d,e,0,0,0,c+81|0);e=0+q[d+8>>2]|0;c=(q[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=q[d+4>>2];b=q[d>>2]}q[h>>2]=b;q[g+4>>2]=c;q[a+8>>2]=e;q[a+12>>2]=f;fi=d+16|0}function Gla(a){a=a|0;var b=0,c=0;b=fi-48|0;fi=b;a:{if(!q[a+16>>2]){break a}q[b+32>>2]=0;q[b+36>>2]=0;q[b+16>>2]=1148846080;q[b+20>>2]=1148846080;q[b+8>>2]=-998637568;q[b>>2]=-998637568;q[b+4>>2]=-998637568;q[b+24>>2]=1148846080;q[b+36>>2]=381;q[b+32>>2]=382;c=-1e3}q[q[a+12>>2]>>2]=0;fi=b+48|0;return c|0}function rma(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi+ -64|0;fi=b;c=Ti(b+40|0,a,0,63275,140);d=q[q[Kj(a)+80>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;Hk(a,1,d,63050,b+36|0,b,0);if(!bma(d,q[b+36>>2])){e=uj(c,63328,0)}Si(c);fi=b- -64|0;return e|0}function cca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fi-16|0;fi=d;if(a){a:{if(!(r[a+104|0]&4)){break a}q[a+40>>2]=c;q[a+36>>2]=b;Na(b|0,c|0);Oa(d+12|0,d+8|0);b=q[d+12>>2];q[a+44>>2]=b;c=q[d+8>>2];q[a+48>>2]=c;e=q[a+4>>2];if(!e){break a}ji[e|0](q[a+8>>2],b,c)}fi=d+16|0;return}J(79156,79164,1224,80782);G()}function Yt(a,b){var c=0,d=0,e=0,f=0;c=fi-288|0;fi=c;wi(a,b);Tj(a,2);a:{if(!Gj(a,-1)){f=c;e=ri(a,-1);d=125997;b:{if((e|0)==-1){break b}d=q[(e<<2)+261152>>2]}q[f+24>>2]=d;q[c+20>>2]=69980;q[c+16>>2]=b;cj(c+32|0,256,69988,c+16|0);q[c>>2]=c+32;b=ni(a,70045,c);break a}b=am(a,-1)}oi(a,-2);fi=c+288|0;return b}function Ria(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi+ -64|0;fi=b;d=Ti(b+40|0,a,0,64813,117);c=q[q[Kj(a)+80>>2]+8>>2];q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;Hk(a,1,c,64624,b+36|0,b,0);if(!ula(c,q[b+36>>2])){e=ni(a,64855,0)}Si(d);fi=b- -64|0;return e|0}function tT(a,b,c,d,e){var f=0;f=-10240;a:{if(q[e>>2]){break a}a=KU(a,c,d);if(a){return a-9728|0}b:{if(q[d>>2]==6){a=Oj(1,8);if(!a){return-10368}b=wT(b,c,a,a+4|0);if(b){ki(a);return b}q[e>>2]=a;break b}f=-8960;c:{switch(q[b>>2]){case 0:case 5:break c;default:break a}}if(q[b+4>>2]){break a}}f=0}return f}function rO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;f=Ni(a,1,d+12|0);c=gj(a,2);g=q[d+12>>2];b=cm(a,3,-1);e=q[d+12>>2];b=b+(e+1&b>>31)|0;b=(b|0)>0?b:0;b=(b|0)>(e|0)?e:b;c=c+(g+1&c>>31)|0;c=(c|0)>1?c:1;a:{if((b|0)>=(c|0)){Bi(a,(c+f|0)-1|0,(b-c|0)+1|0);break a}Bi(a,132249,0)}fi=d+16|0;return 1}function by(a,b){var c=0,d=0,e=0,f=0;a:{b:{d=a+108|0;c=q[d>>2];e=a+112|0;f=q[e>>2];if((c|0)==(f|0)){if(o[a+116|0]&1){break b}a=a+104|0;vi((c-q[a>>2]>>2)+8|0,4,a,e,d);f=q[e>>2];c=q[d>>2]}if((c|0)==(f|0)){break a}q[d>>2]=c+4;q[c>>2]=b;return}J(112137,112212,461,111691);G()}J(112291,112212,501,112315);G()}function TT(){var a=0,b=0,c=0,d=0;if(!r[852396]){b=852400;d=160736;c=52392;while(1){a=xt(c);a:{if(!a){break a}a=q[a+8>>2]-36|0;b:{if(a>>>0<=6){a=q[(a<<2)+166560>>2];break b}a=0}if(a){break a}q[b>>2]=c;b=b+4|0}if(b>>>0<852948){c=q[d+4>>2];d=d+4|0;if(c){continue}}break}q[b>>2]=0;o[852396]=1}return 852400}function Qaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=fi-32|0;fi=b;d=1;e=Ti(b+8|0,a,1,187364,3711);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);a:{if(tn(c,q[b+4>>2])){d=uj(e,192720,0);break a}f=Dba(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16}Si(e);fi=b+32|0;return d|0}function gX(a){Wj(a,1152,0);wi(a,133021);zk(a,1,0);Wj(a,1153,0);wi(a,133022);zk(a,1,0);Wj(a,1154,0);wi(a,133030);zk(a,1,0);Wj(a,1155,0);wi(a,133036);zk(a,1,0);Wj(a,1156,0);wi(a,133039);zk(a,1,0);Wj(a,1157,0);wi(a,133042);zk(a,1,0);Wj(a,1158,0);wi(a,133049);zk(a,1,0);Wj(a,1159,0);wi(a,133054);zk(a,1,0)}function _ba(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;a:{d=q[a+280>>2];b:{if((d|0)==q[a+284>>2]){q[c>>2]=d-q[a+276>>2]>>3;mi(4,184623,184763,c);a=-4;break b}d=li(b);e=ii;b=q[a+280>>2];if((b|0)==q[a+284>>2]){break a}q[a+280>>2]=b+8;q[b>>2]=d;q[b+4>>2]=e;a=0}fi=c+16|0;return a}J(186744,186599,501,186768);G()}function _O(a,b,c){var d=0,e=0;d=q[q[a+64>>2]+108>>2];e=q[a+204>>2];q[c>>2]=0;e=e+16384|0;a:{if(!(q[q[a>>2]+184>>2]&32768)|e>>>0>>0|d+4>>>0>e-b>>>0){break a}o[b+3|0]=d;o[b|0]=0;o[b+1|0]=35;o[b+2|0]=d>>>8;q[c>>2]=4;if(!d){break a}a=q[q[a+64>>2]+104>>2];if(!a){break a}si(b+4|0,a,d);q[c>>2]=q[c>>2]+d}}function Vpa(a,b){var c=0,d=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=8){o[b|0]=r[c|0];o[b+1|0]=r[q[a+8>>2]+1|0];o[b+2|0]=r[q[a+8>>2]+2|0];o[b+3|0]=r[q[a+8>>2]+3|0];o[b+4|0]=r[q[a+8>>2]+4|0];o[b+5|0]=r[q[a+8>>2]+5|0];o[b+6|0]=r[q[a+8>>2]+6|0];o[b+7|0]=r[q[a+8>>2]+7|0];q[a+8>>2]=q[a+8>>2]+8}return(d|0)>7}function Paa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=fi-32|0;fi=b;d=1;e=Ti(b+8|0,a,1,187364,3762);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);a:{if(tn(c,q[b+4>>2])){d=uj(e,192774,0);break a}f=EI(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16}Si(e);fi=b+32|0;return d|0}function C9(a){a=a|0;var b=0,c=x(0),d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=x(Ai(a,2));if(!(c>3]=c;ni(a,192525,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);oI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2658,192555);G()}fi=b+16|0;return 0}function $n(a){var b=x(0),c=x(0),d=0,e=0;d=(ywa(a),uwa(2));e=d>>>23&255;if(e>>>0<=149){if(e>>>0<=125){return x(a*x(0))}a=(d|0)>-1?a:x(-a);b=x(x(x(a+x(8388608))+x(-8388608))-a);a:{if(!(b>x(.5)^1)){c=x(x(a+b)+x(-1));break a}a=x(a+b);c=a;if(b<=x(-.5)^1){break a}c=x(a+x(1))}a=c;a=(d|0)>-1?a:x(-a)}return a}function nea(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,1,61062,834);a:{if((ri(a,1)|0)==7){b=yi(a,1,q[74123],0);if(b){if(xm(q[b>>2])){break a}}ni(a,61165,0)}hk(a,1,60860);G()}b=w(q[b+36>>2],q[b+28>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=c+32|0;return 1}function dO(a){a=a|0;var b=0,c=0,d=0;vj(a,1,5);c=wl(a,1);b=c+1|0;a:{switch((q[a+8>>2]-q[a+12>>2]>>4)-2|0){case 1:d=gj(a,2);if((c|0)>=(d|0)){b=(b|0)<(d|0)?d:b;while(1){c=b-1|0;Xi(a,1,c);vk(a,1,b);b=c;if((d|0)<(b|0)){continue}break}}b=d;case 0:vk(a,1,b);return 0;default:break a}}return ni(a,130848,0)|0}function Wk(a,b,c){var d=0,e=0,f=0;d=q[a+20>>2];a:{if((b|0)>=1){e=q[a+40>>2];while(1){if(d>>>0<=e>>>0){break a}b=b-1|0;b=r[q[q[d+4>>2]>>2]+6|0]?b:b-q[d+20>>2]|0;d=d-24|0;if((b|0)>0){continue}break}}b:{if(!b){a=q[a+40>>2];if(a>>>0>=d>>>0){break a}q[c+96>>2]=(d-a|0)/24;break b}q[c+96>>2]=0}f=1}return f}function Nfa(a){a=a|0;var b=0,c=0,d=0;b=Ci(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+12>>2]=q[a+20>>2];d=LJ(q[a>>2],b);if(!d){q[q[a+24>>2]+8>>2]=b;return d|0}a=q[a>>2];c=q[b+12>>2];if(c){Ui(c)}c=q[b+8>>2];if(c){Di(a,c)}c=q[b+16>>2];if(c){Di(a,c)}ki(b);return d|0}function $k(a,b){var c=0,d=0,e=0;a:{if(a){if(!b){break a}b:{if(Nj(a,32)|!r[a|0]){break b}c=Im(b,a);if(!c){break b}d=Fi(a);while(1){e=r[c-1|0]!=32?(b|0)!=(c|0):0;b=c+d|0;if(!(e|(r[b|0]|32)!=32)){return 1}c=Im(b,a);if(c){continue}break}}return 0}J(80187,79164,554,80197);G()}J(79315,79164,555,80197);G()}function pF(a,b,c,d,e,f){var g=0;g=fi-48|0;fi=g;q[g+40>>2]=f;q[g+24>>2]=d;q[g+8>>2]=b;b=xi(d);q[g+16>>2]=b;q[g+20>>2]=0;si(b,c,d);b=xi(f);q[g+32>>2]=b;q[g+36>>2]=0;si(b,e,f);if(oo(0,a,q[31432],q[31433],0,q[a+32>>2],q[65098],g+8|0,40,774)){ki(q[g+16>>2]);ki(q[g+32>>2]);mi(3,114361,114433,0)}fi=g+48|0}function cK(a,b,c,d,e){var f=0,g=0,h=0;g=q[a+4>>2];f=q[a>>2];if(g>>>0>=t[f>>2]){J(14016,13798,256,14079);G()}q[a+4>>2]=g+1;h=q[f+4>>2]+(g<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=g<<2;q[b+q[f+12>>2]>>2]=1;c=b+q[f+8>>2]|0;b=q[a+12>>2];q[c>>2]=b;b=q[f+16>>2]+(b<<3)|0;q[b>>2]=d;q[b+4>>2]=e;q[a+12>>2]=q[a+12>>2]+1}function Uta(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[b+1|0];f=r[b|0];g=r[b+2|0];b=(w(e>>>d|0,5)+(f>>>d|0)|0)+w(g>>>d|0,25)|0;if((b|0)>=125){J(96499,85651,11993,96512);G()}h=a;i=c;a=-1<>>3&3)<>>5&3)<>2]=b;Yp(c+16|0,128,118554,b);e=Fi(c+16|0);if(e){b=q[a+144>>2];while(1){f=r[(c+16|0)+d|0];q[a+144>>2]=b+1;o[a+b|0]=f;b=q[a+144>>2];if(b>>>0>t[a+140>>2]){q[a+140>>2]=b}b=b&127;q[a+144>>2]=b;d=d+1|0;if((e|0)!=(d|0)){continue}break}}fi=c+144|0}function Hz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return a}J(186773,186599,447,186784);G()}J(184508,184532,161,184547);G()}J(184555,184532,162,184547);G()}function u9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=gj(a,2);if(c-2>>>0>=99999){q[b>>2]=c;ni(a,192441,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);kI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2552,192477);G()}fi=b+16|0;return 0}function B3(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=fi-2064|0;fi=a;lk(c,b,a+1040|0);lk(c,b,a+16|0);wk(a+1040|0,28992,1024);wk(a+16|0,28998,1024);q[a+12>>2]=0;a:{if(VF(a+1040|0,a+16|0,f,a+12|0)){break a}b=q[a+12>>2];if(!b){break a}c=q[f>>2];if(!c){break a}q[c+32>>2]=b}fi=a+2064|0;return 0}function daa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;e=Ti(b+8|0,a,1,187364,2879);Zi(a,1,b+4|0);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4>=2){c=(Fj(a,2)|0)!=0}d=uI(d,q[b+4>>2],c);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=b+32|0;return 1}function V0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=fi-32|0;fi=d;e=d+8|0;c=a?q[a>>2]:0;b=0;a:{if(!c){break a}b=q[c+120>>2]}f=Ti(e,b,0,119520,462);e=q[210259];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;c=ju(a);a=q[b+8>>2];q[a+8>>2]=2;q[a>>2]=c;q[b+8>>2]=q[b+8>>2]+16;oF(b);Si(f);fi=d+32|0}function tt(a,b,c){var d=0,e=0,f=0,g=0;d=fi+ -64|0;fi=d;g=Ni(a,2,0);e=q[b>>2];a:{if(!e){f=b;break a}while(1){if(!Ej(g,e)){f=b;break a}e=q[b+8>>2];f=b+8|0;b=f;if(e){continue}break}}e=a;b=q[f+4>>2];if(!b){q[d>>2]=g;Sm(d+16|0,123983,d);Mj(a,2,d+16|0);b=q[f+4>>2]}a=ji[b|0](e,c)|0;fi=d- -64|0;return a}function nta(a,b){var c=0;if(b>>>0>=32768){J(95751,95189,50,95772);G()}o[a+12|0]=b&3;o[a+11|0]=b>>>14;o[a+3|0]=b>>>8&1;c=b&255;o[a+2|0]=c>>>7;o[a+10|0]=b>>>13&1;o[a+9|0]=b>>>12&1;o[a+8|0]=b>>>11&1;o[a+7|0]=b>>>10&1;o[a+1|0]=b>>>9&1;o[a+6|0]=c>>>2&1;o[a+5|0]=c>>>3&1;o[a+4|0]=c>>>6&1;o[a|0]=c>>>4&3}function es(a,b,c,d){var e=0,f=0,g=0;f=fi-96|0;fi=f;q[d>>2]=0;a:{if(!Am(a,f+8|0)){e=-2;if((q[f+20>>2]&61440)!=32768){break a}g=c;c=q[f+48>>2];e=-21;if(g>>>0>>0){break a}a=sk(a,183901);b=Yk(b,1,c,a);Qj(a);e=-5;if((b|0)!=(c|0)){break a}q[d>>2]=c;e=0;break a}e=Ux(q[240833])}a=e;fi=f+96|0;return a}function YR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=1;a:{if((Nn(d,1,9,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);b=2;break a}d=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return b|0}function VR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=1;a:{if((Nn(d,6,1,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);b=2;break a}d=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return b|0}function Joa(a,b){var c=0,d=0,e=0;a:{d=q[a>>2];c=q[a+4>>2];if((d|0)!=(c|0)){e=c-d>>3;c=0;while(1){if(q[(c<<3)+d>>2]==(b|0)){b=q[a+4>>2];a=q[a>>2];if(b-a>>3>>>0<=c>>>0){break a}return(p[(a+(c<<3)|0)+6>>1]&q[39622])!=0}c=c+1|0;if(e>>>0>c>>>0){continue}break}}return 0}J(158613,158575,447,158624);G()}function om(a,b){var c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;a:{b:{c=Vi(a,1);if(!c){break b}if(!Sl(a,1)){break b}zi(a,-1e4,b);if(!nx(a,-1,-2)){break b}oi(a,-3);break a}f=d;c=ri(a,1);e=125997;c:{if((c|0)==-1){break c}e=q[(c<<2)+261152>>2]}q[f+4>>2]=e;q[d>>2]=b;Mj(a,1,nj(a,128655,d));c=0}fi=d+16|0;return c}function mS(a,b){var c=0,d=0,e=0;d=b-65|0;c=255;a:{b:{e=b-48|0;if((e&255)>>>0<10){break b}switch(d|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=(b-97&255)>>>0<6?b-87|0:(d&255)>>>0<6?b-55|0:e}q[a>>2]=c;return c>>>0<16?0:-6}function Vsa(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;d=$i(b,0);e=$i(b,1);f=$i(b,2);b=$i(b,3);q[a+12>>2]=0;q[a+4>>2]=-1;q[a+8>>2]=0;o[a|0]=252;o[a+1|0]=253;o[a+2|0]=255;o[a+3|0]=255;q[c+12>>2]=64;gp(a,c+12|0,d<<8|d,16);gp(a,c+12|0,e<<8|e,16);gp(a,c+12|0,f<<8|f,16);gp(a,c+12|0,b|b<<8,16);fi=c+16|0}function zqa(a,b,c,d,e,f,g){var h=0,i=0;i=Uj();a:{b:{c:{h=hL(a,b,c,d,e,f,g,1,0);switch(h+4|0){case 0:case 3:case 4:break a;case 1:break c;default:break b}}h=-3;if(q[g>>2]!=-3){break a}}d:{if((e|0)<1){break d}h=e;e=Uj();e=h+(i-e|0)|0;if((e|0)>=1){break d}return-2}h=hL(a,b,c,d,e,f,g,0,1)}return h}function bS(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Nn(b,41,19,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function UX(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a+8>>2]-q[a+12>>2]>>4;zi(a,-10002,129109);b=1;d=q[51431];if((e|0)>=1){while(1){Hi(a,-1);Hi(a,b);zk(a,1,1);c=_i(a,-1,0);if(!c){return ni(a,129420,0)|0}if(b>>>0>=2){Lx(9,d)}Kx(c,d);oi(a,-2);c=(b|0)!=(e|0);b=b+1|0;if(c){continue}break}}Lx(10,d);return 0}function Fba(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+32>>2];d=q[a+36>>2]-e|0;a=(d|0)/576|0;if(!d){return 0}f=a>>>0>1?a:1;a=0;while(1){a:{d=w(a,576)+e|0;if(q[d+544>>2]==(b|0)&q[d+548>>2]==(c|0)){g=s[d+554>>1]|s[d+552>>1]<<16;if(!(o[d+572|0]&1)){break a}}a=a+1|0;if((f|0)!=(a|0)){continue}}break}return g}function $R(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Nn(b,41,26,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function wia(a,b){a=a|0;b=b|0;var c=0;c=fi-48|0;fi=c;if(a){mv(c,q[a+4>>2]);u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2]}fi=c+48|0}function vF(a,b,c){var d=0,e=0,f=0;d=fi-32|0;fi=d;a:{if(fk(a,b,q[79174])){b=Vi(a,b);a=q[b+4>>2];f=q[b>>2];b=a;e=To(f,b);o[c|0]=1;if(e){b=Fi(e)+3|0;a=xi(b);q[d+16>>2]=e;cj(a,b,113314,d+16|0);break a}a=xi(64);q[d>>2]=f;q[d+4>>2]=b;cj(a,64,113319,d);break a}o[c|0]=0;a=Ni(a,b,0)}fi=d+32|0;return a}function ZR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Nn(b,0,34,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function ZI(){var a=0,b=0,c=0;c=fi-416|0;fi=c;a:{if(!r[299912]){b=q[74873];if(!b){break a}a=b;while(1){if(o[a+12|0]>2]]()|0?a:b}a=q[a>>2];if(a){continue}break}ji[q[b+4>>2]](c);si(299496,c,416);o[299912]=1}a=ji[q[74876]]()|0;fi=c+416|0;return a}J(78967,78867,58,78976);G()}function M2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]>>4;zi(a,-10002,115375);a:{b:{if((ri(a,-1)|0)==5){if((ri(a,-1)|0)!=5){break b}ij(a,0,0);Wj(a,782,0);vk(a,-2,1);pi(a,-2,115419)}oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}return}J(115383,115337,269,115402);G()}J(115316,115337,284,115402);G()}function Hna(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14016,13798,256,14079);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=7;c=b+q[e+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;c=b+q[e+28>>2]|0;b=Fi(d)+1|0;si(c,d,b);q[a+16>>2]=b+q[a+16>>2]}function y9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=gj(a,2);if(c>>>0>=2){q[b>>2]=c;ni(a,192591,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);lI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2714,192626);G()}fi=b+16|0;return 0}function soa(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=q[q[a+16>>2]>>2];a=q[a+12>>2];b=0;a:{if(!a){break a}b=q[a+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;a=q[d>>2];q[c+8>>2]=0;a=gv(b,a,1,d,c+8|0);if(q[b+8>>2]-q[b+12>>2]>>4!=(e|0)){J(12758,12779,197,12813);G()}fi=c+16|0;return((a|0)==-1?-1e3:0)|0}function s9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=gj(a,2);if(c>>>0>=9){q[b>>2]=c;ni(a,192084,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);iI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2447,192102);G()}fi=b+16|0;return 0}function e9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=gj(a,2);if(c>>>0>=3){q[b>>2]=c;ni(a,191988,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);cI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2309,192009);G()}fi=b+16|0;return 0}function d9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=gj(a,2);if(c>>>0>=3){q[b>>2]=c;ni(a,192037,b)}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);bI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2371,192058);G()}fi=b+16|0;return 0}function a7(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=1;a:{b:{c:{switch(q[239952]+1|0){case 2:b=_6(a,d,e,f);break b;case 0:break a;default:break c}}b=$6(d,f)}if(!b){return 0}d:{e:{switch(q[239952]+1|0){case 2:az(d);break d;case 0:break d;default:break e}}bz(d)}q[239952]=-1}return b|0}function WR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=2;a:{if((Nn(d,1,2,c+8|0,c+12|0)|0)<=-1){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,124095);break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;b=1}fi=c+16|0;return b|0}function iha(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;a:{if(!rj(q[a+20>>2],q[a+24>>2],q[60850],c)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;a=0;break a}a=-13;b=q[c>>2];if(!b){break a}Ui(b)}fi=c+16|0;return a|0}function iN(a){q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=-1;q[a+64>>2]=0;q[a+68>>2]=-1;q[a+56>>2]=0;q[a+60>>2]=-1;q[a+48>>2]=0;q[a+52>>2]=-1;q[a+40>>2]=0;q[a+44>>2]=-1;q[a+32>>2]=0;q[a+36>>2]=-1;q[a+24>>2]=0;q[a+28>>2]=-1;q[a+16>>2]=0;q[a+20>>2]=-1;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=-1}function aq(a,b,c){var d=0,e=0;d=q[c+4>>2];e=q[c>>2];o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=d;o[a+5|0]=d>>>8;o[a+6|0]=d>>>16;o[a+7|0]=d>>>24;o[a+8|0]=r[c+8|0];d=r[c+9|0]|r[c+10|0]<<8;o[a+9|0]=d;o[a+10|0]=d>>>8;o[a+11|0]=q[c+24>>2]>>>8;o[a+12|0]=q[c+24>>2];q[b>>2]=13}function Gz(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=fi-32|0;fi=h;i=1;j=Ti(h+8|0,a,1,187364,1222);c=Fz(b,c,d,e,0);a:{if(!c){q[h>>2]=(q[b+40>>2]-q[b+32>>2]|0)/576;i=uj(j,191356,h);break a}q[Hz(b,c)+488>>2]=g;eI(b,c,f);d=bj(a,8);q[d+4>>2]=c;q[d>>2]=b;zi(a,-1e4,187431);aj(a,-2)}Si(j);fi=h+32|0;return i}function $z(a){var b=0,c=0,d=0;c=q[a>>2];d=q[c+8>>2]-q[c+12>>2]>>4;lfa(a);hfa(a);gfa(a);bfa(a);efa(a);ifa(a);kfa(a);b=q[a>>2];ek(b,73622,242288);oi(b,-2);cfa(a);dfa(a);b=q[a>>2];ek(b,66487,241744);oi(b,-2);Zea(a);jfa(a);if(q[c+8>>2]-q[c+12>>2]>>4!=(d|0)){J(31924,31945,130,31979);G()}return 1}function yaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-48|0;fi=b;c=1;d=Ti(b+24|0,a,1,187364,4039);Zi(a,1,b+20|0);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);q[b+8>>2]=0;q[b+12>>2]=0;a:{if((zba(e,q[b+20>>2],b+8|0)|0)==-10){c=uj(d,192958,0);break a}Yj(a,q[b+8>>2],q[b+12>>2])}Si(d);fi=b+48|0;return c|0}function un(a,b,c){var d=0,e=0,f=0;d=q[a>>2];a=q[d+4168>>2];a:{if(!a){break a}a=q[q[d+4164>>2]+(lwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}d=q[d+4172>>2];while(1){e=d+(a<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){a=q[e+12>>2];if((a|0)!=-1){continue}break a}break}f=q[(d+(a<<4)|0)+8>>2]}return f}function pM(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+40>>2];c=ji[b|0](a,0,0,r[a|0]&128?t[a+20>>2]>t[a+28>>2]?2:1:1)|0;b=ii;d=b;if((b|0)>0?1:(b|0)>=0){e=q[a+20>>2]-q[a+28>>2]|0;a=q[a+8>>2]-q[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}ii=d;return c}function Vca(a){a=a|0;var b=0;if(q[74995]){a=0}else{if(!Hx()){mi(4,79120,79129,0);return 0}b=qi(Ci(112),0,112);q[b+76>>2]=1;o[b+104|0]=r[a+12|0]<<3&24;q[b+60>>2]=q[a>>2];a=q[a+4>>2];q[b+88>>2]=63;q[b+92>>2]=0;q[b+64>>2]=a;q[b+80>>2]=1;q[74995]=b;a=zj();q[q[74995]>>2]=a;a=q[74995]}return a|0}function JT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b){d=Fi(b);c=-28928;if(d>>>0>255){break a}}c=q[a+236>>2];if(c){f=c,g=0,h=Fi(c),e=q[66742],ji[e](f|0,g|0,h|0)|0;ki(q[a+236>>2])}if(!b){q[a+236>>2]=0;return 0}c=a;a=Oj(1,d+1|0);q[c+236>>2]=a;if(!a){return-32512}o[si(a,b,d)+d|0]=0;c=0}return c}function Gn(a){var b=0;if(a){if(q[a+96>>2]!=1){Ji(a+4|0);Ji(a+16|0);Ji(a+28|0);Rl(a+40|0);Ji(a+76|0)}b=q[a+116>>2];if(b){if(q[a+120>>2]){Rl(b);if(t[a+120>>2]>=2){b=1;while(1){Rl(q[a+116>>2]+w(b,36)|0);b=b+1|0;if(b>>>0>2]){continue}break}}b=q[a+116>>2]}ki(b)}ji[q[66742]](a,0,124)|0}}function ko(a){var b=0,c=0,d=0,e=0;e=Fi(a);a:{if(!q[240902]|!r[a|0]){break a}if(Nj(a,61)){break a}b=q[q[240902]>>2];if(!b){break a}b:{while(1){d=uk(a,b,e);b=q[240902];if(!d){d=q[b+(c<<2)>>2]+e|0;if(r[d|0]==61){break b}}c=c+1|0;b=q[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function cl(a,b,c){var d=0,e=0;a:{if(c>>>0<10){if(!c){return 0}d=q[b>>2];if(d>>>0>=112){break a}e=(d>>>3|0)+a|0;d=d&7;a=r[e|0]>>>d|0;d=8-d|0;d=(c|0)<(d|0)?c:d;if((d|0)!=(c|0)){a=r[e+1|0]<>2]=q[b>>2]+c;return(-1<>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Nn(b,41,16,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124095);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function TG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=fi-16|0;fi=e;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;f=1;a:{if(PF(a,b,c,e)|!(r[e+12|0]&4)){break a}f=0;if(!d){break a}a=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=a;a=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=a}fi=e+16|0;return f|0}function Mha(a){a=a|0;var b=0,c=0,d=0;b=fi+ -64|0;fi=b;c=Ti(b+8|0,a,0,67527,1131);d=q[q[Kj(a)+80>>2]+8>>2];q[b+4>>2]=0;q[b>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Hk(a,1,d,67321,b+4|0,b+32|0,b);Si(c);fi=b- -64|0;return 0}function L8(a){q[a+20>>2]=0;q[a+24>>2]=0;q[a+76>>2]=0;q[a+16>>2]=128;q[a+8>>2]=32;q[a+12>>2]=4;q[a>>2]=512;q[a+4>>2]=128;q[a+60>>2]=0;q[a+64>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+24>>2]=16}function IY(a){a=a|0;var b=0,c=0,d=0;d=fi-16|0;fi=d;b=bj(a,4);q[b>>2]=0;zi(a,-1e4,130969);aj(a,-2);c=$N();q[b>>2]=c;b=1;if(!c){b=q[240833];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=Uk(b);nj(a,131085,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b=3}fi=d+16|0;return b|0}function yP(a,b,c){var d=0,e=0;a:{b:{if(q[a+8>>2]){e=c;c=q[a+248>>2];d=c<<1;if((e|0)!=(d|1)|r[b|0]!=(d|0)){break a}b=b+1|0;if(wr(b,a+252|0,c)){break a}c=b;b=q[a+248>>2];if(!wr(c+b|0,a+264|0,b)){break b}break a}if(!(r[b|0]?0:(c|0)==1)){break a}q[a+244>>2]=1}return 0}Aj(a,2,40);return-31104}function tra(a){a=a|0;var b=0,c=0,d=0,e=0;e=fi-112|0;fi=e;b=a;if((ri(a,1)|0)==8){d=1;b=In(a,1)}c=d+1|0;a:{if(!Wk(b,gj(a,c),e+8|0)){c=Mj(a,c,132832);break a}c=2;d=WW(b,e+8|0,gj(a,d|2));if(d){Hn(b,a,1);wi(a,d);Hi(a,-2);break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;c=1}fi=e+112|0;return c|0}function j9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;Zi(a,1,b+12|0);c=pn(a,2);a:{if(c){Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);Vo(e,q[b+12>>2],7,c);break a}ni(a,192114,0)}if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(187343,187364,2506,192138);G()}fi=b+16|0;return 0}function d1(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=Ni(a,1,0);vj(a,2,5);e=os(a,316748,524288,2);d=sk(b,116648);a:{if(d){if(!((Al(316748,1,e,d)|0)!=(e|0)|Qj(d))){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}Zk(b)}q[c>>2]=b;a=ni(a,116651,c)}fi=c+16|0;return a|0}function X0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=ju(a);if(d){f=q[210259];b=a?q[a>>2]:0;c=q[b+120>>2];e=q[c+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[c+8>>2]=q[c+8>>2]+16;b=q[b+120>>2];c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=0;q[b+8>>2]=q[b+8>>2]+16;nF(a);a3(d)}return}J(119699,119520,439,119763);G()} +function Xk(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;c=b+16|0;d=q[a+8>>2];if(c>>>0>>0){while(1){d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[b+24>>2];b=c;c=b+16|0;d=q[a+8>>2];if(c>>>0>>0){continue}break}}q[a+8>>2]=d-16}function rv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{d=b&65535;e=q[a+32>>2];if(d>>>0<(q[a+36>>2]-e|0)/576>>>0){if(s[(w(d,576)+e|0)+552>>1]!=(b>>>16|0)){break b}f=w(d,576)+e|0;if(s[f+554>>1]!=(b&65535)){break a}h=q[a+48>>2];g=q[a+52>>2]-h|0;a=(g|0)/72|0;c:{if(!g){break c}f=f+472|0;g=a>>>0>1?a:1;a=0;while(1){i=w(a,72)+h|0;if(!((f|0)==q[i+4>>2]?q[i>>2]==(b|0):0)){a=a+1|0;if((g|0)!=(a|0)){continue}break c}break}a=w(a,72)+h|0;o[a+68|0]=r[a+68|0]|4}if(!c){a=w(d,576)+e|0;q[a+464>>2]=0;q[a+468>>2]=0}return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Lv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=(r[b+136|0]<<4)+a|0;g=c+1080|0;a:{b:{c:{e=c+1084|0;d=q[e>>2];h=c+1088|0;f=q[h>>2];if((d|0)==(f|0)){if(o[c+1092|0]&1){break c}c=q[a+1032>>2];a=d-q[g>>2]>>1;d=c-a|0;c=a>>>1|0;c=c>>>0>10?c:10;Ii((d>>>0>>0?d:c)+a|0,2,g,h,e);f=q[h>>2];d=q[e>>2]}if((d|0)==(f|0)){break b}a=q[g>>2];c=d-a>>1;d=c&65535;if(d>>>0>=f-a>>1>>>0){break a}a=a+(d<<1)|0;q[e>>2]=a+2;p[a>>1]=s[b+140>>1]&32767;d=q[b+140>>2]&-2147418113;a=b;q[a+136>>2]=q[a+136>>2];q[a+140>>2]=(c&32767)<<16|d;return}J(10125,10061,493,10200);G()}J(10287,7291,702,10301);G()}J(10042,10061,506,10117);G()}function z$(a,b,c){var d=0,e=0,f=0;d=ti-16448|0;ti=d;q[d+16432>>2]=0;q[d+16424>>2]=0;q[d+16428>>2]=0;a:{b:{c:{d:{e=csa(d+16392|0);f=e+6|0;if(f>>>0<=8){if((f|0)!=6){break a}q[d+16392>>2]=a;q[d+16396>>2]=b;while(1){q[d+16408>>2]=16384;q[d+16404>>2]=d;a=dsa(d+16392|0);if((a|0)==-2){break d}if(!(xi[939](c,d,16384-q[d+16408>>2]|0)|0)){UA(d+16392|0);e=-1;break a}if(!q[d+16408>>2]){continue}break}if(q[d+16396>>2]){break c}if((a|0)!=1){break b}UA(d+16392|0);e=0;break a}e=-1e3;break a}J(178862,178884,106,178919);G()}J(178933,178884,115,178919);G()}J(178952,178884,116,178919);G()}ti=d+16448|0;return e}function sl(a,b){var c=0,d=0,e=0;c=ti-32|0;ti=c;a:{if(q[b+16>>2]!=q[b+20>>2]){cn(a,b);break a}tm(a,b)}b:{c:{d:{e:{d=q[b>>2];switch(d-1|0){case 3:break d;case 0:case 1:case 2:case 4:break e;default:break c}}if(q[a+40>>2]>255){break c}f:{g:{switch(d-1|0){case 0:q[c+8>>2]=0;d=q[a+4>>2];q[c+24>>2]=5;q[c+16>>2]=d;a=tr(a,c+16|0,c);break f;case 4:e=v[b+8>>3];q[c+24>>2]=3;v[c+16>>3]=e;a=tr(a,c+16|0,c+16|0);break f;default:break g}}q[c+24>>2]=1;q[c+16>>2]=(d|0)==2;a=tr(a,c+16|0,c+16|0)}q[b>>2]=4;q[b+8>>2]=a;a=a|256;break b}d=q[b+8>>2];if((d|0)>255){break c}a=d|256;break b}a=cn(a,b)}ti=c+32|0;return a}function e5(a){a=a|0;var b=0,c=0,d=0;b=ti-48|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){q[b+16>>2]=Xi(a,1);q[b+20>>2]=0;q[b+8>>2]=3;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+44>>2];q[c+32>>2]=q[b+40>>2];q[c+36>>2]=a;a=q[b+36>>2];q[c+24>>2]=q[b+32>>2];q[c+28>>2]=a;a=q[b+28>>2];q[c+16>>2]=q[b+24>>2];q[c+20>>2]=a;a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b)}ti=b+48|0;return a|0}J(110492,110389,475,114319);G()}function c2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=ti-48|0;ti=c;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){d=x(1);break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){b=Li(a,-1,q[212906],0);f=u[b>>2];g=u[b+4>>2];b:{if(f!=f|g!=g){break b}e=u[b+8>>2];if(e!=e){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];e=u[b+12>>2];v[c+16>>3]=g;v[c+32>>3]=e;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=-1;Bi(a,129003,c);d=u[b+12>>2];e=u[b+8>>2];g=u[b+4>>2];f=u[b>>2];break a}f=x(Ri(a,1));g=x(Ri(a,2));e=x(Ri(a,3));d=x(Ri(a,4))}b=jj(a,16);u[b+12>>2]=d;u[b+8>>2]=e;u[b+4>>2]=g;u[b>>2]=f;Ki(a,-1e4,128720);ij(a,-2);ti=c+48|0;return 1}function NU(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;c=a+8|0;l=uj(c,0);d=a+44|0;i=uj(d,0);g=a+56|0;j=uj(g,0);e=(i|0)!=0&(j|0)!=0;h=a+32|0;f=uj(h,0);k=a+20|0;b=(uj(k,0)|0)!=0;m=e&!f&b;f=(f|0)!=0;n=!l|(i|j)!=0;o=b&(f&(n^1));e=m|(o|b&(e&f));a:{if(!(b&((f|n)^1))){b=-16512;if(!e){break a}}if(!(!j|(!i|l))){b=Fk(c,d,g);if(b){return b-16512|0}q[a+4>>2]=Cm(c)}b:{c:{d:{if(o){c=LU(c,k,h,d,g);if(!c){break d}return c-16512|0}if(!m){break d}c=KU(d,g,k,h);if(!c){break c}return c-16512|0}if(!e){break b}}d=MU(d,g,h,a+68|0,a+80|0,a+92|0);if(!d){break b}return d-16512|0}b=Gr(a,e)}return b}function Ct(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=ti-240|0;ti=h;i=q[d>>2];q[h+232>>2]=i;d=q[d+4>>2];q[h>>2]=a;q[h+236>>2]=d;k=1;a:{b:{c:{if(!(d|(i|0)!=1)){d=a;break c}l=0-b|0;i=a;while(1){j=(e<<2)+g|0;d=i-q[j>>2]|0;if((xi[c|0](d,a)|0)<1){d=i;break c}d:{if(!((e|0)<2|f)){f=q[j-8>>2];j=i+l|0;if((xi[c|0](j,d)|0)>-1){break d}if((xi[c|0](j-f|0,d)|0)>-1){break d}}q[(k<<2)+h>>2]=d;i=h+232|0;f=Nwa(q[h+232>>2]-1|0);if(!f){f=Nwa(q[h+236>>2]);f=f?f+32|0:0}Jt(i,f);k=k+1|0;e=e+f|0;f=0;i=d;if(q[h+236>>2]|q[h+232>>2]!=1){continue}break b}break}d=i;break b}if(f){break a}}XL(b,h,k);Yw(d,b,c,e,g)}ti=h+240|0}function jp(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-48|0;ti=d;h=q[c+48>>2];a:{if(!h){e=1;break a}while(1){b:{c:{d:{if(t[c+56>>2]>f>>>0){if(t[c+48>>2]<=f>>>0){break d}g=f<<2;e=q[g+q[c+52>>2]>>2];g=q[g+q[c+44>>2]>>2];q[d+44>>2]=0;if(!Nj(a,e,d+44|0)){if(Hs(a,e,d+8|0)){break c}if(w2(b,q[d+8>>2],q[d+12>>2])){Pi(a,q[d+44>>2]);break b}if(jp(a,b,q[q[d+44>>2]>>2])){e=q[d+44>>2];if(!J3(b,q[e>>2],g,e,q[d+8>>2],q[d+12>>2])){break b}}Pi(a,q[d+44>>2])}e=0;break a}J(19591,19603,45,19630);G()}J(19591,19603,38,19630);G()}J(19449,19476,39,19521);G()}e=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}}ti=d+48|0;return e}function _fa(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[63618],b+20|0)){break a}d=rK(q[a>>2],b+8|0);if(!d){d=q[a>>2];a=q[q[a+32>>2]+8>>2];c=q[a+12>>2];if(c){cj(c)}c=q[a+8>>2];if(c){Pi(d,c)}c=q[a+16>>2];if(c){Pi(d,c)}d=q[b+12>>2];q[a>>2]=q[b+8>>2];q[a+4>>2]=d;d=q[b+28>>2];q[a+16>>2]=q[b+24>>2];q[a+20>>2]=d;d=q[b+20>>2];q[a+8>>2]=q[b+16>>2];q[a+12>>2]=d;d=0;break a}a=q[a>>2];c=q[b+20>>2];if(c){cj(c)}c=q[b+16>>2];if(c){Pi(a,c)}c=q[b+24>>2];if(!c){break a}Pi(a,c)}ti=b+32|0;return d|0}function Fua(a){var b=0,c=0,d=0,e=0,f=0,g=0;axa(+a);b=Zwa(1)|0;f=Zwa(0)|0;g=b;a:{b:{b=b&2147483647;if(b>>>0>=1072693248){if(b-1072693248|f){break b}return a*1.5707963267948966+7.52316384526264e-37}if(b>>>0<=1071644671){if(b+ -1048576>>>0<1044381696){break a}return zt(a*a)*a+a}c=(1-y(a))*.5;a=F(c);e=zt(c);c:{if(b>>>0>=1072640819){a=a+a*e;a=1.5707963267948966-(a+a+ -6.123233995736766e-17);break c}d=c;axa(+a);b=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,b|0);c=+$wa();d=(d-c*c)/(a+c);a=.7853981633974483-(c+c)-((a+a)*e-(6.123233995736766e-17-(d+d)))+.7853981633974483}return(g|0)>-1?a:-a}a=0/(a-a)}return a}function Uga(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;q[c+8>>2]=0;q[c>>2]=0;q[c+4>>2]=0;d=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[62670],c)){break a}b:{b=q[a>>2];d=Nj(b,q[q[c>>2]+108>>2],c|4);if(d){break b}if(q[q[c+4>>2]+104>>2]){Ai(4,56225,56233,0);d=-15;break b}d=Nj(b,q[q[c>>2]+104>>2],c+8|0);if(d){break b}d=q[a>>2];a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}b=q[a+4>>2];if(b){Pi(d,b)}b=q[a+8>>2];if(b){Pi(d,b)}d=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=d;q[a+8>>2]=q[c+8>>2];d=0;break a}a=q[a>>2];b=q[c>>2];if(b){cj(b)}b=q[c+4>>2];if(b){Pi(a,b)}b=q[c+8>>2];if(!b){break a}Pi(a,b)}ti=c+16|0;return d|0}function ZW(a){a=a|0;var b=0;ks(a,139146);ck(a,1087,0);Di(a,-2,139155);ik(a,139160,268240);Qi(a,-1);Cq(a,-10001);gj(a,0,4);ck(a,1088,0);bk(a,-2,1);ck(a,1089,0);bk(a,-2,2);ck(a,1090,0);bk(a,-2,3);ck(a,1091,0);bk(a,-2,4);Di(a,-2,139168);b=vn(139181);a:{if(!b){Hi(a,139190);break a}Qo(a,Qo(a,b,139772,139775),139779,139190);Xk(a,-2)}Di(a,-2,139176);b=vn(139334);b:{if(!b){Hi(a,139344);break b}Qo(a,Qo(a,b,139772,139775),139779,139344);Xk(a,-2)}Di(a,-2,139328);Ni(a,139413,9);Di(a,-2,139423);hu(a,-1e4,139430,2);Di(a,-2,139438);gj(a,0,0);Di(a,-2,139445);Qi(a,-10002);ik(a,0,268272);Ci(a,-2);return 1}function GI(a,b){var c=0,d=0;a:{b:{c:{d=b&65535;c=q[a+32>>2];if(d>>>0<(q[a+36>>2]-c|0)/576>>>0){if(s[(w(d,576)+c|0)+552>>1]!=(b>>>16|0)){break c}c=w(d,576)+c|0;if(s[c+554>>1]!=(b&65535)){break b}q[c+412>>2]=q[c+412>>2]|4194304;b=s[c+562>>1];if((b|0)!=65535){while(1){b=b&65535;c=q[a+32>>2];if(b>>>0>=(q[a+36>>2]-c|0)/576>>>0){break a}b=c+w(b,576)|0;q[b+412>>2]=q[b+412>>2]|4194304;if(s[b+562>>1]!=65535){GI(a,s[b+554>>1]|s[b+552>>1]<<16)}b=s[b+558>>1];if((b|0)!=65535){continue}break}}return}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function AG(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,r=0,s=0,u=0;if(c){while(1){m=(b<<2)+a|0;r=m+(c<<2)|0;h=c>>>1|0;i=(h<<2)+m|0;j=w(q[i>>2],48);n=j+d|0;o=q[e>>2];k=m;if(h){u=q[(j+o|0)+32>>2];while(1){l=h>>>1|0;s=(l<<2)+k|0;p=t[(w(q[s>>2],48)+o|0)+32>>2]>>0;k=p?s+4|0:k;h=p?(l^-1)+h|0:l;if(h){continue}break}}p=q[n+32>>2];h=r-i|0;if(h){h=h>>2;r=q[(j+o|0)+32>>2];while(1){j=h>>>1|0;n=(j<<2)+i|0;l=r>>>0>2],48)+o|0)+32>>2];i=l?i:n+4|0;h=l?j:(j^-1)+h|0;if(h){continue}break}}xi[g|0](f,p,k-a>>2,i-k>>2);AG(a,b,k-m>>2,d,e,f,g);b=i-a>>2;c=c-(i-m>>2)|0;if(c){continue}break}}}function zr(a,b,c){var d=0,e=0,f=0,g=0;d=q[b>>2];a:{if(!d){break a}f=q[a+16>>2];g=r[f+20|0]^3;while(1){if(!c){break a}if(r[d+4|0]==8){zr(a,d+104|0,-3)}e=r[d+5|0];b:{if((e^3)&g){o[d+5|0]=r[f+20|0]&3|e&248;b=d;break b}q[b>>2]=q[d>>2];if(q[f+28>>2]==(d|0)){q[f+28>>2]=q[d>>2]}c:{switch(r[d+4|0]-4|0){case 5:RX(a,d);break b;case 2:SX(a,d);break b;case 6:QX(a,d);break b;case 1:MX(a,d);break b;case 4:VX(a,d);break b;case 0:e=q[a+16>>2];q[e+4>>2]=q[e+4>>2]-1;lj(a,d,q[d+12>>2]+17|0,0);break b;case 3:break c;default:break b}}lj(a,d,q[d+16>>2]+32|0,0)}c=c-1|0;d=q[b>>2];if(d){continue}break}}return b}function _T(a){var b=0,c=0,d=0,e=0,f=0;d=-29184;e=q[a+132>>2];c=q[a>>2];b=r[c+184|0]&2?12:4;a:{if(e>>>0>>0){break a}f=q[a+120>>2];b=b+(r[f+3|0]|(r[f+2|0]<<8|r[f+1|0]<<16))|0;q[a+168>>2]=b;b:{c:{if(r[c+184|0]&2){c=r[f+4|0];b=r[f+5|0];if(sQ(a)){break a}e=q[a+68>>2];if(!e){break c}c=b|c<<8;d:{if(q[a+4>>2]!=16){b=q[e+476>>2];if((c|0)!=(b|0)){break d}break c}if(r[f|0]==1){break c}b=q[e+476>>2]}d=-25728;if(b>>>0>>0){break a}if(!(r[f|0]==3|(c|0)!=(q[e+508>>2]-1|0))){d=sq(a);if(d){break a}}return-25984}d=-28800;if(b>>>0>e>>>0){break a}break b}d=-25728;if((qC(a)|0)==1){break a}}d=0}return d}function uF(a,b,c){var d=0,e=0;d=ti+ -64|0;ti=d;a:{if(r[q[a+8>>2]]){e=q[a+20>>2];q[d+56>>2]=q[a+4>>2];q[d+52>>2]=e;q[d+48>>2]=a+36;a=hj(b,c,117548,d+48|0);break a}b:{c:{d:{e:{e=r[q[a+12>>2]];switch(e-109|0){case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;case 0:break e;default:break d}}q[d+20>>2]=q[a+20>>2];q[d+16>>2]=a+36;a=hj(b,c,117573,d+16|0);break a}if((e|0)==67){break b}}e=q[a+20>>2];q[d+12>>2]=q[a+28>>2];a=a+36|0;q[d+8>>2]=a;q[d+4>>2]=e;q[d>>2]=a;a=hj(b,c,117609,d);break a}q[d+36>>2]=q[a+20>>2];q[d+32>>2]=a+36;a=hj(b,c,117597,d+32|0)}ti=d- -64|0;return(a|0)>0?a:0}function kra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=ti-80|0;ti=c;h=q[a+8>>2]-q[a+12>>2]>>4;d=Xi(a,1);if(!((d|0)==1&r[915868]!=0)){Bi(a,203030,0)}gj(a,0,0);a:{e=IL(d,0);b=(e|0)!=0;f=HL(d,0);if((b|0)!=(!f|0)){while(1){if(!b){break a}b=q[a+8>>2];q[b+8>>2]=3;g=g+1|0;v[b>>3]=g>>>0;q[a+8>>2]=q[a+8>>2]+16;gj(a,0,0);Hi(a,203186);Hi(a,f);$i(a,-3);q[c>>2]=e;Zm(c+16|0,203087,c);Hi(a,203191);Hi(a,c+16|0);$i(a,-3);$i(a,-3);e=IL(d,g);b=(e|0)!=0;f=HL(d,g);if(b^!f){continue}break}}J(203134,202493,164,203169);G()}if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(203090,202493,186,203169);G()}ti=c+80|0;return 1}function wV(a,b,c,d,e,f){var g=0,h=0,i=0;h=Cm(a+4|0);g=-20096;if(q[a+48>>2]){i=q[a+60>>2]?1:2}else{i=0}a:{if((i|0)==2){q[d>>2]=h;g=-20224;if(f>>>0>>0){break a}g=nD(b,e,h);if(g){break a}g=0}if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)!=1){break a}if(!uj(b+24|0,0)){if(!f){return-20224}o[e|0]=0;q[d>>2]=1;return 0}b:{switch(c|0){case 0:a=h<<1|1;q[d>>2]=a;g=-20224;if(a>>>0>f>>>0){break a}o[e|0]=4;a=e+1|0;g=pn(b,a,h);if(g){break a}return pn(b+12|0,a+h|0,h);case 1:break b;default:break a}}a=h+1|0;q[d>>2]=a;g=-20224;if(a>>>0>f>>>0){break a}o[e|0]=Dm(b+12|0,0)+2;g=pn(b,e+1|0,h)}return g}function q1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=q[a+8>>2]-q[a+12>>2]>>4;mj(a,1,3);mj(a,2,1);mj(a,3,6);d=xj(a,1);if(!(d<0^1)){return Bi(a,128201,0)|0}c=Ej(a,2);b=q[212888];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Ju(a);a:{b:{c:{if((Ei(a,-1)|0)!=2){Ci(a,-2);break c}b=aj(a,-1);Ci(a,-2);if(b){break b}}Ai(4,128036,128251,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4294967295;q[a+8>>2]=q[a+8>>2]+16;break a}b=I3(b,x(d),(c|0)!=0,HF(a),Wn(a,3));c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(128321,127536,617,128346);G()}return 1}function Yba(a){var b=0;a:{if(o[a+192|0]&1){break a}b=q[a+180>>2];if(!b){break a}yi(b)}b:{if(o[a+164|0]&1){break b}b=q[a+152>>2];if(!b){break b}yi(b)}c:{if(o[a+148|0]&1){break c}b=q[a+136>>2];if(!b){break c}yi(b)}d:{if(o[a+132|0]&1){break d}b=q[a+120>>2];if(!b){break d}yi(b)}e:{if(o[a+116|0]&1){break e}b=q[a+104>>2];if(!b){break e}yi(b)}f:{if(o[a+100|0]&1){break f}b=q[a+88>>2];if(!b){break f}yi(b)}g:{if(o[a+84|0]&1){break g}b=q[a+72>>2];if(!b){break g}yi(b)}h:{if(o[a+68|0]&1){break h}b=q[a+56>>2];if(!b){break h}yi(b)}i:{if(o[a+52|0]&1){break i}b=q[a+40>>2];if(!b){break i}yi(b)}return a}function gX(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+40>>2];b=q[b+96>>2];e=f+w(b,24)|0;g=q[e+4>>2];if(q[g+8>>2]!=6){break c}d=q[g>>2];if(r[d+6|0]){break c}h=q[d+16>>2];if(!h){break c}d:{if((e|0)!=q[a+20>>2]){b=q[(f+w(b,24)|0)+12>>2];break d}d=f+w(b,24)|0;b=q[a+24>>2];q[d+12>>2]=b;d=q[g>>2]}d=Sx(h,c,(b-q[q[d+16>>2]+12>>2]>>2)-1|0);if(!d){break c}b=q[e>>2];break b}d=0;b=q[e>>2];if((c|0)<1|q[((e|0)==q[a+20>>2]?a+8|0:e+28|0)>>2]-b>>4<(c|0)){break a}d=135440}b=((c<<4)+b|0)-16|0;c=q[a+8>>2]-16|0;e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+8>>2]=q[c+8>>2]}q[a+8>>2]=q[a+8>>2]-16;return d}function Ku(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;f=-3;c=YT(q[a+12>>2],b,c-1|0);a:{b:{if((c|0)<=-26753){if((c|0)==-28672){break a}if((c|0)!=-26880){break b}break a}if((c|0)==-26752|(c|0)==-26624){break a}}f=0;c:{if((c|0)<=0){mC(q[a+12>>2]);f=-5;d:{e:{if((c|0)<=-81){if((c|0)==-30848){break a}if((c|0)==-26624){break e}if((c|0)==-26496){break a}break c}switch(c+80|0){case 0:break a;case 4:break d;default:break c}}f=-3;break a}f=-101;break a}o[b+c|0]=0;q[d>>2]=c;break a}q[e+4>>2]=c;q[e>>2]=Qq(c);q[e+8>>2]=(c|0)<0?45:32;a=c>>31;q[e+12>>2]=a+c^a;Ai(3,176252,177731,e);f=-1e3}ti=e+16|0;return f}function iL(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(b>>>0<3){d=b<<4;b=d&31;g=(d&63)>>>0>=32?2>>>b|0:((1<>>b;d=q[a+4>>2];b=d;e=q[a>>2];if((e|0)!=(b|0)){f=g;h=d-e>>3;b=0;while(1){if(q[e+(b<<3)>>2]==(c|0)){a=e+(b<<3)|0;p[a+4>>1]=f|s[a+4>>1];return}b=b+1|0;if(h>>>0>b>>>0){continue}break}b=e}e=a+4|0;f=q[a+8>>2];if((f|0)==(d|0)){if(o[a+12|0]&1){break b}Ii((d-b>>3)+4|0,8,a,a+8|0,e);f=q[a+8>>2];d=q[a+4>>2]}if((d|0)==(f|0)){break a}q[e>>2]=d+8;q[d>>2]=c;q[d+4>>2]=g&65535;return}J(167659,167665,32,167703);G()}J(167745,167820,493,167846);G()}J(167858,167820,533,167882);G()}function oJ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{d=a+1|0;b:{if(d>>>0<2){break b}c=a&65535;b=q[77547];if(c>>>0>=t[b+32>>2]){break a}f=q[q[b+24>>2]+(c<<2)>>2];if(!f){break b}e=s[q[b+28>>2]+(c<<1)>>1]==(a>>>16|0)?f:0}yc(s[e+12>>1],q[e+4>>2]);c:{if(r[q[77547]+156|0]&64){b=K()|0;if(b){break c}}yi(q[e+4>>2]);d:{if(d>>>0<2){break d}c=a&65535;b=q[77547];if(c>>>0>=t[b+32>>2]){break a}d=q[b+24>>2]+(c<<2)|0;if(!q[d>>2]){break d}c=c<<1;if(s[c+q[b+28>>2]>>1]!=(a>>>16|0)){break d}q[d>>2]=0;p[c+q[b+28>>2]>>1]=0}yi(e);return}Vi(b,86734,2701);J(84254,84160,2701,86734);G()}J(86601,86616,144,86680);G()}function nz(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-48|0;ti=b;a:{b:{e=a+208|0;if(q[e>>2]){d=a+216|0;if(q[d>>2]){break b}}o[a+296|0]=r[a+296|0]|16;break a}q[b+24>>2]=0;q[b+28>>2]=0;q[b+40>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Uj(b+24|0,d,4);Uj(b+24|0,a+212|0,4);d=q[a+224>>2];if(d){g=q[a+220>>2];while(1){f=w(c,96)+g|0;Uj(b+24|0,f,8);Uj(b+24|0,f+16|0,16);c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[b+16>>2]=q[b+40>>2];c=q[b+36>>2];q[b+8>>2]=q[b+32>>2];q[b+12>>2]=c;c=q[b+28>>2];q[b>>2]=q[b+24>>2];q[b+4>>2]=c;q[a+240>>2]=Bn(b);Uj(b+24|0,e,4);q[a+236>>2]=Bn(b+24|0);o[a+296|0]=r[a+296|0]&239}ti=b+48|0}function ew(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,q=0,s=0;p=(c|0)<1;q=(e|0)==1;while(1){if(!((d|0)<1|p)){l=(i<<1)+a|0;m=l;k=256;h=0;while(1){a:{if(!q){e=0;while(1){g=r[b+e|0]-i|0;f=g>>31;f=f^f+g;if((f|0)<(k|0)){o[l|0]=e;o[m+1|0]=h;k=f}e=e+1|0;if((e|0)!=(d|0)){continue}break}break a}s=b+h|0;e=0;while(1){j=r[s|0];g=r[b+e|0];n=((j+(g<<1)>>>0)/3|0)-i|0;f=n>>31;j=g-j|0;g=j>>31;f=((w(g^g+j,3)>>>0)/100|0)+(f+n^f)|0;if((f|0)<(k|0)){o[l|0]=e;o[m+1|0]=h;k=f}e=e+1|0;if((e|0)!=(d|0)){continue}break}}h=h+1|0;if((h|0)!=(c|0)){continue}break}}i=i+1|0;if((i|0)!=256){continue}break}}function SI(a,b){var c=0,d=0,e=0,f=0,g=x(0);a:{b:{d=b&65535;e=q[a+32>>2];if(d>>>0<(q[a+36>>2]-e|0)/576>>>0){if(s[(e+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}c=e+w(d,576)|0;if(s[c+554>>1]!=(b&65535)){break a}c:{if(!(q[c+464>>2]|q[c+468>>2])){break c}c=q[a+48>>2];a=q[a+52>>2]-c|0;if(!a){break c}e=(e+w(d,576)|0)+472|0;a=(a|0)/72|0;d=a>>>0>1?a:1;a=0;while(1){f=c+w(a,72)|0;if(!((e|0)==q[f+4>>2]?q[f>>2]==(b|0):0)){a=a+1|0;if((d|0)!=(a|0)){continue}break c}break}g=u[(c+w(a,72)|0)+28>>2]}return g}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Hpa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=ti-16|0;ti=g;a:{b:{c=q[a+3180>>2];e=q[a+3176>>2];d=c-e|0;c:{if(!d){break c}h=d>>2;d=0;while(1){f=d;d=d+1|0;j=d;k=h-1>>>0<=f>>>0;f=(f<<2)+e|0;i=q[f>>2]==(b|0)|i;if(!(k|!(i&1))){if(d>>>0>=h>>>0){break b}q[f>>2]=q[(d<<2)+e>>2];e=q[a+3176>>2];c=q[a+3180>>2]}h=c-e>>2;if(j>>>0>>0){continue}break}if(!(i&1)){break c}if((c|0)==(e|0)){break a}c=c-4|0;q[a+3180>>2]=c}d:{if(q[a+3184>>2]!=(c|0)){q[a+3180>>2]=c+4;q[c>>2]=b;break d}q[g>>2]=c-e>>2;Ai(3,7418,9050,g)}ti=g+16|0;return}J(12518,10061,479,9553);G()}J(12712,10061,548,12565);G()}function yea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti+ -64|0;ti=b;f=Zi(b+40|0,a,0,60730,869);a:{if((Ei(a,1)|0)==7){c=Li(a,1,q[76578],0);if(c){if(Ao(q[c>>2])){break a}}Bi(a,61079,0)}wk(a,1,60528);c=0}d=Xi(a,2);e=q[c+28>>2];b:{c:{if((d|0)>=1){g=q[c+36>>2];if((d|0)<=(w(e,g)|0)){break c}}if(e){a=q[c+36>>2];q[b+20>>2]=60528;q[b+16>>2]=60513;q[b+24>>2]=w(a,e);a=sj(f,61108,b+16|0);break b}q[b+4>>2]=60528;q[b>>2]=60513;a=sj(f,61155,b);break b}e=q[c+20>>2];d=d-1|0;h=(d>>>0)/(g>>>0)|0;xi[e|0](q[c+16>>2],w(h,q[c+32>>2])+(d-w(g,h)|0)|0,Ri(a,3));OA(q[c>>2]);a=0}Yi(f);ti=b- -64|0;return a|0}function lX(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+40>>2];b=q[b+96>>2];e=f+w(b,24)|0;g=q[e+4>>2];if(q[g+8>>2]!=6){break c}d=q[g>>2];if(r[d+6|0]){break c}h=q[d+16>>2];if(!h){break c}d:{if((e|0)!=q[a+20>>2]){b=q[(f+w(b,24)|0)+12>>2];break d}d=f+w(b,24)|0;b=q[a+24>>2];q[d+12>>2]=b;d=q[g>>2]}d=Sx(h,c,(b-q[q[d+16>>2]+12>>2]>>2)-1|0);if(!d){break c}b=q[e>>2];break b}d=0;b=q[e>>2];if((c|0)<1|q[((e|0)==q[a+20>>2]?a+8|0:e+28|0)>>2]-b>>4<(c|0)){break a}d=135440}b=((c<<4)+b|0)-16|0;c=q[b+4>>2];e=q[a+8>>2];q[e>>2]=q[b>>2];q[e+4>>2]=c;q[e+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}return d}function aN(){var a=0,b=0,c=0,d=0;a:{b:{c:{d:{a=q[215607];if((a|0)==q[215608]){if(a>>>0>=4294967040){break d}b=q[215606];d=a+256|0;c=Ji(d<<2);q[215606]=c;c=Gi(c,b,a<<2);q[215607]=d;while(1){q[c+(a<<2)>>2]=a;a=a+1|0;if((d|0)!=(a|0)){continue}break}yi(b);if(o[862420]&1){break c}Ii((q[215604]-q[215602]>>3)+256|0,8,862408,862416,862412);q[215603]=q[215604]}b=q[215606];if(!b){break b}a=q[215608];if(a>>>0>=t[215607]){break a}q[215608]=a+1;return q[b+(a<<2)>>2]}J(160270,160293,112,160231);G()}J(160130,160205,493,160231);G()}J(160318,160293,151,160325);G()}J(160329,160293,152,160325);G()}function Ax(a,b,c,d){var e=0,f=0,g=0;if(!d){return-20352}f=Cm(a+4|0);e=-20096;if(q[a+48>>2]){g=q[a+60>>2]?1:2}else{g=0}a:{if((g|0)==2){if((d|0)!=(f|0)){return-20352}e=cV(b,c,d);if(e){break a}Si(b+12|0);if(q[a>>2]==9){e=Lo(b,(d<<3)-1|0,0);if(e){break a}}e=lk(b+24|0,1);if(e){break a}e=0}if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)!=1){break a}e=-20096;b:{switch(r[c|0]){case 0:e=-20352;if((d|0)!=1){break a}return tD(b);case 4:break b;default:break a}}e=-20352;if((f<<1|1)!=(d|0)){break a}a=c+1|0;e=an(b,a,f);if(e){break a}e=an(b+12|0,a+f|0,f);if(e){break a}e=lk(b+24|0,1)}return e}function XF(a,b){var c=0,d=0;a:{b:{if(!(!a|!b)){d=q[b+64>>2];b=q[a+16>>2];if(d>>>0>=q[a+20>>2]-b>>3>>>0){break b}b=q[b+(d<<3)>>2];c=q[a>>2];if(b>>>0>=q[a+4>>2]-c>>2>>>0){break b}b=q[c+(b<<2)>>2];if(o[b+124|0]&1){break a}Ii(0,176,b+112|0,b+120|0,b+116|0);if(o[b+156|0]&1){break a}Ii(0,48,b+144|0,b+152|0,b+148|0);c:{if(o[b+156|0]&1){break c}c=q[b+144>>2];if(!c){break c}yi(c)}d:{if(o[b+140|0]&1){break d}c=q[b+128>>2];if(!c){break d}yi(c)}e:{if(o[b+124|0]&1){break e}c=q[b+112>>2];if(!c){break e}yi(c)}yi(b);F6(a,d)}return}J(147249,147260,479,147227);G()}J(147316,147260,493,147391);G()}function Q8(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-32|0;ti=e;a:{b:{c:{h=c&65535;g=q[b+32>>2];i=(q[b+36>>2]-g|0)/576|0;if(h>>>0>>0){if(s[(w(h,576)+g|0)+552>>1]!=(c>>>16|0)){break c}f=w(h,576)+g|0;if(s[f+554>>1]!=(c&65535)){break b}f=s[f+560>>1];c=0;d:{if((f|0)==65535){break d}if(f>>>0>=i>>>0){break a}c=w(f,576)+g|0}u[e>>2]=u[d>>2];u[e+4>>2]=u[d+4>>2];u[e+8>>2]=u[d+8>>2];Pz(e+16|0,b,w(h,576)+g|0,c,e);u[a>>2]=u[e+16>>2];u[a+4>>2]=u[e+20>>2];u[a+8>>2]=u[e+24>>2];ti=e+32|0;return}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function IQ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;i=ti-16|0;ti=i;q[d>>2]=0;h=q[a>>2];a:{if((h|0)==-1){h=-2;break a}b:{h=cx(h,b,c,e,f);if((h|0)<=0){while(1){if(!h){h=-2;break a}h=q[242957];c:{if((h|0)==27){break c}if((h|0)!=6){break a}h=q[a>>2];q[i+12>>2]=1;q[i+8>>2]=h;if(v[g>>3]==0){break b}while(1){k=i+8|0;j=up(g)*1e3;d:{if(y(j)<2147483648){h=~~j;break d}h=-2147483648}h=zp(k,1,(h|0)>-1?h:-1);if((h|0)!=-1){if(h){break c}break b}if(q[242957]==27){continue}break}h=q[242957];if(h){break a}}h=cx(q[a>>2],b,c,e,f);if((h|0)<=0){continue}break}}q[d>>2]=h;h=0;break a}h=-1}ti=i+16|0;return h}function TI(a,b){var c=0,d=0,e=0,f=x(0);a:{b:{d=b&65535;c=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(c-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}c=a+w(d,576)|0;if(s[c+554>>1]!=(b&65535)){break a}b=0;c:{if(q[c+436>>2]!=2){break c}a=a+w(d,576)|0;e=q[a+452>>2];if(!e){break c}c=q[a+440>>2];d=c&8191;c=(c>>>13&8191)-d|0;f=x(u[a+472>>2]*x(c|0));d:{if(x(y(f))=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break c;case 0:c=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}b=c;if(q[b+8>>2]==3){break b}b=du(b,d);if(b){break b}a=0;break a}e=v[b>>3];if(y(e)<2147483648){a=~~e;break a}a=-2147483648}ti=d+16|0;return a}function AA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=ti-32|0;ti=d;a:{b:{f=q[b+84>>2];e=q[f+4>>2];c:{if(!e){c=1;break c}while(1){h=q[f>>2]+w(g,96)|0;c=q[h+16>>2];if(!c){break b}i=q[c+100>>2];k=((i&65536)>>>16|0)+j|0;if(k>>>0>t[b+152>>2]){break a}l=q[c+40>>2];if(l){e=q[a+8>>2];q[d+12>>2]=b;q[d+8>>2]=e;q[d+16>>2]=q[((q[h+20>>2]<<2)+a|0)+12>>2];c=q[c+16>>2];q[d+24>>2]=((j<<2)+b|0)+156&i<<15>>31;q[d+20>>2]=c;if(xi[l|0](d+8|0)|0){c=0;break c}e=q[f+4>>2]}c=1;j=k;g=g+1|0;if(g>>>0>>0){continue}break}}ti=d+32|0;return c}J(8102,7291,1794,12124);G()}J(8117,7291,1801,12124);G()}function F8(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{e=b&65535;f=q[a+32>>2];if(e>>>0<(q[a+36>>2]-f|0)/576>>>0){if(s[(f+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}d=f+w(e,576)|0;if(s[d+554>>1]!=(b&65535)){break a}c:{if(!(q[d+464>>2]|q[d+468>>2])){break c}d=q[a+48>>2];a=q[a+52>>2]-d|0;if(!a){break c}f=(f+w(e,576)|0)+472|0;a=(a|0)/72|0;e=a>>>0>1?a:1;a=0;while(1){g=d+w(a,72)|0;if(!((f|0)==q[g+4>>2]?q[g>>2]==(b|0):0)){a=a+1|0;if((e|0)!=(a|0)){continue}break c}break}u[(d+w(a,72)|0)+28>>2]=c}return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function AP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;q[d>>2]=0;a:{if(r[a+181|0]!=3){break a}h=b+16384|0;b=6;i=c>>>0>h>>>0;g=q[a+96>>2];f=q[g>>2];if(f){a=g;while(1){b=e;e=b+4|0;j=q[a+4>>2];a=a+4|0;if(j){continue}break}b=b+10|0}if(i|b>>>0>h-c>>>0){break a}a=0;if(f){b=c+6|0;while(1){h=a+b|0;e=f-3|0;b:{if(e>>>0<=5){e=e+1&255;break b}e=0}o[h|0]=e;o[b+(a|1)|0]=3;f=b+(a|2)|0;e=q[g>>2]-3|0;c:{if(e>>>0<=5){e=e+1&255;break c}e=0}o[f|0]=e;o[b+(a|3)|0]=1;a=a+4|0;f=q[g+4>>2];g=g+4|0;if(f){continue}break}}o[c+5|0]=a;o[c|0]=0;o[c+1|0]=13;b=a>>>8|0;o[c+4|0]=b;o[c+3|0]=a|2;o[c+2|0]=b;q[d>>2]=a+6}}function tqa(){var a=0,b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;a=q[74622];q[b+12>>2]=a;Fi(q[74623],255,q[74624]<<2);q[74628]=-1;q[74629]=0;c=q[74625];q[74626]=c;a:{if(!a){break a}while(1){if(q[74627]-c>>4==(d|0)){TH(298492,587,d+128|0);a=q[b+12>>2]}e=zi(q[a+4>>2]);c=wi;a=q[74624];b:{c:{if(!a){break c}a=q[q[74623]+(Qwa(e,c,a)<<2)>>2];if((a|0)==-1){break c}d=q[74625];while(1){a=d+(a<<4)|0;if(q[a>>2]==(e|0)&q[a+4>>2]==(c|0)){break b}a=q[a+12>>2];if((a|0)!=-1){continue}break}}UH(298492,e,c,b+12|0)}a=q[q[b+12>>2]+28>>2];q[b+12>>2]=a;if(!a){break a}c=q[74625];d=q[74629];continue}}ti=b+16|0}function o9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;d=ti-32|0;ti=d;a:{b=fj(a,1,d+28|0);c=q[b+412>>2];b:{if(c&262144){Ai(3,196621,196625,0);break b}if(c&268435456){break b}c=vm(a,2);c:{if(c){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(d,j,q[d+28>>2],4);e=u[c>>2];f=u[d+12>>2];g=u[c+8>>2];h=u[c+4>>2];break c}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+64>>2]=e;u[b+76>>2]=f;u[b+72>>2]=g;u[b+68>>2]=h;q[b+412>>2]=q[b+412>>2]|4194304}ti=d+32|0;return 0}J(196277,196298,164,196320);G()}function iK(a){var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[a+4>>2];if(d){b=q[a+116>>2];if(b){xi[q[77440]](b);q[a+116>>2]=0}e=a+112|0;b=q[a+112>>2];if(b){xi[q[77453]](b);q[e>>2]=0}b=0;a:{b:{switch(q[q[a>>2]+16>>2]-1|0){case 4:b=2;break a;default:J(57288,57017,77,57322);G();case 0:break a;case 3:break b}}b=1}q[a+120>>2]=b;c:{if(!jK(d,e)){Ai(4,57078,57197,0);a=0;break c}q[c+12>>2]=0;q[c+8>>2]=0;b=Bo(q[d+4>>2],c+12|0,c+8|0);d:{if(b){Ai(4,57078,57255,0);break d}q[a+116>>2]=xi[q[77439]](q[76572],w(q[d+20>>2],q[d+16>>2]),q[c+12>>2],0)}a=!b}ti=c+16|0;return a}J(57194,57017,144,57180);G()}function AM(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;f=f<<2|f>>>4;i=c<<2|c>>>4;c=f-i|0;e=e<<3|e>>>2;j=b<<3|b>>>2;b=e-j|0;g=g<<3|g>>>2;k=d<<3|d>>>2;d=g-k|0;l=(w(c,(i+(f<<1)>>>0)/3|0)+w(b,(j+(e<<1)>>>0)/3|0)|0)+w(d,((g<<1)+k>>>0)/3|0)|0;m=(w(c,(f+(i<<1)>>>0)/3|0)+w(b,(e+(j<<1)>>>0)/3|0)|0)+w(d,(g+(k<<1)>>>0)/3|0)|0;n=l+m|0;g=((w(c,f)+w(b,e)|0)+w(d,g)|0)+l|0;i=((w(c,i)+w(b,j)|0)+w(d,k)|0)+m|0;f=0;while(1){e=(f<<2)+a|0;e=(w(c,r[e+1|0])+w(r[e|0],b)|0)+w(d,r[e+2|0])<<1;o[f+h|0]=r[((((e|0)<=(i|0))+((e|0)<(n|0))|0)+((e|0)<(g|0))|0)+103072|0];f=f+1|0;if((f|0)!=16){continue}break}}function ooa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;c=q[a+4>>2];f=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[59874],d+12|0)){b=Oi(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=fL(q[a>>2],c,q[d+12>>2],b,q[a+16>>2]);a:{if(!f){c=q[a+32>>2];a=q[c+8>>2];e=q[a+4>>2];g=q[a>>2];q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[b>>2]=g;q[b+4>>2]=e;q[c+12>>2]=b;break a}c=q[a>>2];if(q[b+4>>2]){a=0;while(1){e=q[b>>2]+w(a,96)|0;Pi(c,q[e+24>>2]);Xl(q[e+88>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}ip(c,b+8|0);uA(b);yi(b)}cj(q[d+12>>2])}ti=d+16|0;return f|0}function eA(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=ti-32|0;ti=e;d=q[q[a>>2]+4>>2];if(d){b=d?q[d>>2]:0;g=Zi(e+8|0,b,0,78128,82);if(Np(d)){f=q[a+4>>2];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=f>>>0;q[b+8>>2]=q[b+8>>2]+16;gj(b,0,0);f=q[a+8>>2];c=q[a+4>>2];Hi(b,78428);a:{if((c|0)==2){c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=f|0;q[b+8>>2]=q[b+8>>2]+16;break a}c=q[b+8>>2];q[c+8>>2]=0;q[b+8>>2]=c+16}tj(b,-3);c=q[a+12>>2];a=q[a+4>>2];Hi(b,78434);b:{if((a|0)==2){a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;break b}a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16}tj(b,-3);Vl(b,3,0);Kq(d)}Yi(g)}ti=e+32|0}function Jma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Oi(32);q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;b=c+8|0;q[b>>2]=0;q[b+4>>2]=0;d=q[a+16>>2];e=q[q[a>>2]+4>>2];d=d>>>0>>0?d:e;Ii(d,128,c,b,c+4|0);a:{e=q[b>>2];b=q[c>>2];if(d>>>0<=e-b>>7>>>0){e=d<<7;q[c+4>>2]=e+b;Fi(b,0,e);b=q[c+20>>2];if(d>>>0>>0){break a}e=q[c+16>>2];f=Ji(d<<2);q[c+16>>2]=f;f=Gi(f,e,b<<2);q[c+20>>2]=d;if(b>>>0>>0){while(1){q[f+(b<<2)>>2]=b;b=b+1|0;if((d|0)!=(b|0)){continue}break}}yi(e);q[q[a+12>>2]>>2]=c;return 0}J(32389,32310,506,32408);G()}J(32416,32439,112,32377);G()}function NS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;axa(+a);c=Zwa(1)|0;g=Zwa(0)|0;h=c;d=c>>>20&2047;c=d-1023|0;a:{b:{if(d>>>0>=1075){v[b>>3]=a;if((c|0)==1024?h&1048575|g:0){break b}break a}if(d>>>0<=1022){q[b>>2]=0;q[b+4>>2]=h&-2147483648;return a}d=h;f=g;e=c&31;if((c&63)>>>0>=32){d=f<>>32-e|d<>3]=a;break a}e=c&31;f=b;if((c&63)>>>0>=32){d=-1;c=-1048576>>e}else{d=-1048576>>e;c=((1<>2]=c;g=b;b=d&h;q[g+4>>2]=b;_wa(0,c|0);_wa(1,b|0);a=a- +$wa()}return a}_wa(0,0);_wa(1,h&-2147483648);return+$wa()}function D2(a){a=a|0;var b=0,c=0,d=0;b=mk(a,1,q[212907]);c=mk(a,2,q[212907]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+16>>2]!=u[c+16>>2])){break a}if(u[b+32>>2]!=u[c+32>>2]|u[b+48>>2]!=u[c+48>>2]|(u[b+4>>2]!=u[c+4>>2]|u[b+20>>2]!=u[c+20>>2])){break a}if(u[b+36>>2]!=u[c+36>>2]|u[b+52>>2]!=u[c+52>>2]|(u[b+8>>2]!=u[c+8>>2]|u[b+24>>2]!=u[c+24>>2])){break a}if(u[b+40>>2]!=u[c+40>>2]|u[b+56>>2]!=u[c+56>>2]|(u[b+12>>2]!=u[c+12>>2]|u[b+28>>2]!=u[c+28>>2])){break a}if(u[b+44>>2]!=u[c+44>>2]){break a}d=u[b+60>>2]==u[c+60>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function dn(a,b){var c=0,d=0,e=0;e=b+6|0;d=q[a+32>>2];a:{if(b+7>>>0<=268435455){c=lj(a,d,q[a+44>>2]<<4,e<<4);break a}c=Yj(a)}q[a+44>>2]=e;q[a+32>>2]=c;q[a+28>>2]=c+(b<<4);q[a+8>>2]=c+(q[a+8>>2]-d|0);b=q[a+104>>2];b:{if(!b){break b}q[b+8>>2]=c+(q[b+8>>2]-d|0);b=q[b>>2];if(!b){break b}while(1){q[b+8>>2]=q[a+32>>2]+(q[b+8>>2]-d|0);b=q[b>>2];if(b){continue}break}}c=q[a+32>>2];b=q[a+40>>2];e=q[a+20>>2];if(b>>>0<=e>>>0){while(1){q[b+8>>2]=c+(q[b+8>>2]-d|0);q[b>>2]=c+(q[b>>2]-d|0);q[b+4>>2]=c+(q[b+4>>2]-d|0);b=b+24|0;if(e>>>0>=b>>>0){continue}break}}q[a+12>>2]=c+(q[a+12>>2]-d|0)}function ZE(a,b,c,d){var e=0,f=0,g=0;e=ti-16448|0;ti=e;q[e+16432>>2]=0;q[e+16424>>2]=0;q[e+16428>>2]=0;q[e+16392>>2]=0;q[e+16396>>2]=0;a:{b:{f=rZ(e+16392|0);g=f+6|0;if(g>>>0<=8){if((g|0)!=6){break a}q[e+16392>>2]=a;q[e+16396>>2]=b;while(1){q[e+16408>>2]=16384;q[e+16404>>2]=e;a=sZ(e+16392|0);if((a|0)==-2){break b}if(!((a|0)!=2?(a|0)>=0:0)){Yx(e+16392|0);f=-3;break a}if(!(xi[d|0](c,e,16384-q[e+16408>>2]|0)|0)){Yx(e+16392|0);f=-1;break a}if(!q[e+16408>>2]){continue}break}f=(a|0)==1?0:-3;Yx(e+16392|0);break a}f=-1e3;break a}J(178862,178884,67,178905);G()}ti=e+16448|0;return f}function TC(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if((Ei(a,3)|0)!=5){fB(a,q[66953])}Hi(a,132097);Sj(a,3);if(!ek(a,-1)){Qj(a,3,132107)}if(!CE(10,dj(a,-1,0),d+8|0)){Qj(a,3,132141)}Hi(a,132172);Sj(a,3);a:{if(!Ei(a,-1)){break a}if(Bj(a,-1)){e=xj(a,-1);if(e<4294967296&e>=0){q[d+24>>2]=~~e>>>0;break a}q[d+24>>2]=0;break a}Qj(a,-1,132247)}b:{if((yl(q[b>>2],41,c,d+8|0,20)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=d+32|0;return a}function Lra(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=a+28|0;d=a+112|0;if(Lj(g,d)){d=gk(d,g);if(d){break a}d=lk(a+88|0,1);if(d){break a}d=lk(a+100|0,1);if(d){break a}return 0}e=a+88|0;if(!uj(e,1)){f=a+4|0;while(1){d=Kn(e,Cm(f),b,c);if(d){break a}while(1){if((Lj(e,f)|0)>=0){d=Wk(e,1);if(!d){continue}break a}break}if((h|0)==11){return-14}h=h+1|0;if((uj(e,1)|0)<1){continue}break}b=a+100|0;d=jo(b,e,f);if(d){break a}d=ko(b,b,g,f,a+76|0);break a}d=Fk(e,e,e);if(d){break a}b=a+4|0;d=Tk(e,e,b);if(d){break a}a=a+100|0;d=Fk(a,a,a);if(d){break a}d=Tk(a,a,b);if(d){break a}return 0}return d}function b3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=ti+ -64|0;ti=d;e=d+16|0;c=a;b=0;a:{if(!c){break a}b=q[c+120>>2]}g=b;h=Zi(e,b,0,119854,102);b=c?q[a+120>>2]:0;c=Zi(d+40|0,b,0,119854,90);Hi(b,q[65807]);IF(a);e=aj(b,-1);Ci(b,-2);Yi(c);b:{if(!e){break b}b=q[212966];if(!b){break b}c=0;while(1){c:{if(!q[b+28>>2]){break c}f=d+40|0;q[f>>2]=0;q[f+4>>2]=0;i=a?q[a>>2]:0;q[d+44>>2]=g;q[d+40>>2]=i;if(!(q[((c&-4)+e|0)+4>>2]>>>(c&3)&1)){break c}if(!(xi[q[b+28>>2]](f)|0)){break c}q[d>>2]=q[b>>2];Ai(4,119883,119925,d)}c=c+1|0;b=q[b+36>>2];if(b){continue}break}}Yi(h);ti=d- -64|0}function Yla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=q[q[a+24>>2]>>2];d=q[a+16>>2];f=q[a+20>>2];if((d|0)==q[75154]&(f|0)==q[75155]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[e+16>>2];if(!a){a=q[q[e+4>>2]+80>>2]}return km(d,a,b)|0}a:{if((d|0)==q[75150]&(f|0)==q[75151]){c=-12;if(!(o[a+40|0]&1)){break a}o[b+109|0]=r[b+109|0]|1;return km(q[q[q[a+8>>2]+80>>2]>>2],Rba(q[e+8>>2],q[a+32>>2],q[a+36>>2]),b)|0}c=-1;if(q[75172]!=(d|0)|q[75173]!=(f|0)){break a}c=-12;if(!(o[a+40|0]&1)){break a}o[b+109|0]=r[b+109|0]|1;c=km(q[q[q[a+8>>2]+80>>2]>>2],vba(q[e+8>>2],q[a+32>>2],q[a+36>>2]),b)}return c|0}function Uv(a){var b=0,c=0,d=0,e=0;a:{if(a){b:{c:{if(a+1>>>0<2){break c}d=a&65535;b=q[213374];if(d>>>0>=t[b+8>>2]){break a}e=q[b>>2]+(d<<2)|0;c=q[e>>2];if(!c|s[q[b+4>>2]+(d<<1)>>1]!=(a>>>16|0)){break c}if(!pj(q[c>>2]+w(q[c+24>>2],q[c+28>>2])|0,148944,16)){break b}}Ai(4,148811,148960,0);return}a=0;q[e>>2]=0;p[q[b+4>>2]+(d<<1)>>1]=0;b=q[c+12>>2];d=q[c+8>>2];if((b|0)!=(d|0)){b=d;while(1){b=q[(a<<2)+b>>2];yi(q[b+12>>2]);yi(b);a=a+1|0;b=q[c+8>>2];if(a>>>0>2]-b>>2>>>0){continue}break}}q[c+12>>2]=b;if(!(!b|o[c+20|0]&1)){yi(b)}yi(c)}return}J(149021,149036,144,149074);G()}function z6(a,b,c){var d=0,e=0,f=0;q[a>>2]=0;q[a+4>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+32>>2]=1;q[a+28>>2]=c;q[a+16>>2]=0;q[a+20>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;q[a+44>>2]=0;o[a+24|0]=r[a+24|0]&254;Ii(b,4,a,c,a+4|0);a:{d=q[c>>2];c=q[a>>2];if(d-c>>2>>>0>=b>>>0){q[a+4>>2]=c+(b<<2);if(b){Fi(c,0,b<<2)}c=s[a+20>>1];d=b&65535;if(c>>>0>d>>>0){break a}f=q[a+16>>2];e=Ji(d<<1);q[a+16>>2]=e;e=Gi(e,f,c<<1);p[a+20>>1]=b;if(c>>>0>>0){while(1){p[e+(c<<1)>>1]=c;c=c+1|0;if((d|0)!=(c|0)){continue}break}}yi(f);return a}J(145819,145751,506,145838);G()}J(145846,145869,112,145807);G()}function Rw(a){var b=0,c=0,d=0;b=q[a+84>>2];if(b){Kr(b)}b=q[a+64>>2];if(b){Lr(b)}if(q[a+68>>2]){rx(a)}d=q[a+84>>2];if(!d){d=Vj(1,212);q[a+84>>2]=d}c=q[a+64>>2];if(!c){c=Vj(1,128);q[a+64>>2]=c}a:{b:{c:{b=q[a+68>>2];if(b){break c}b=Vj(1,2280);q[a+68>>2]=b;if(b){break c}b=0;break b}if(!d){break b}if(c){break a}}yi(b);yi(q[a+84>>2]);yi(q[a+64>>2]);q[a+84>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;return-32512}zw(c);TT(q[a+84>>2]);lQ(q[a+68>>2]);b=q[a>>2];if(r[b+184|0]&2){c=q[a+68>>2];q[c+512>>2]=q[a+76>>2];o[c+492|0]=r[b+184|0]<<1&2;b=q[a+92>>2];if(b){xi[b|0](q[a+88>>2],0,0)}}return 0}function IF(a){var b=0,c=0,d=0;b=ti-32|0;ti=b;a:{b:{if(a){c=q[a+120>>2];d=q[c+8>>2]-q[c+12>>2]>>4;if((d|0)<=-1){break b}bj(c,-1e4,q[a+124>>2]);c:{if((Ei(c,-1)|0)!=5){Ci(c,-3);a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;break c}hk(c,-2);Sj(c,-2);Xk(c,-2)}a=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(d|0)){break a}ti=b+32|0;return}J(117808,117392,954,117869);G()}q[b+12>>2]=d;q[b+4>>2]=957;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=d;q[b+20>>2]=957;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function A5(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;c=ti-48|0;ti=c;i=q[a+8>>2]-q[a+12>>2]>>4;b=aj(a,1);d=q[b+8>>2];e=q[b+12>>2];b=q[b>>2];a:{if(!Bj(a,2)){q[c>>2]=Mi(d,e);b=Bi(a,115009,c);break a}f=Ok(a,2);if((f|0)<=0){b=Mi(d,e);q[c+20>>2]=f;q[c+16>>2]=b;b=Bi(a,115054,c+16|0);break a}g=f-1|0;j=b;k=d;l=e;b:{if(xs(a,3)){g=g<<2;m=9;b=4;h=Fm(a,3);break b}b=1;h=am(a,3)}if(Wy(j,k,l,h,b,g,m)){b=Mi(d,e);q[c+36>>2]=f;q[c+32>>2]=b;b=Bi(a,115105,c+32|0);break a}b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(i|0)){break a}J(110492,110389,303,115443);G()}ti=c+48|0;return b|0}function J6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=(c|0)/240|0;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-240){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if((q[a+8>>2]-f|0)/240>>>0>>0){break a}q[a+4>>2]=w(b,240)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(48683,48598,479,48308);G()}J(49189,48598,506,49208);G()}function ES(a,b){var c=0,d=0,e=0;c=q[a+52>>2];d=Rx(c);q[b>>2]=d;e=q[a+48>>2];q[b+16>>2]=c;q[b+12>>2]=a;q[b+8>>2]=e;q[a+48>>2]=b;q[b+28>>2]=-1;q[b+32>>2]=-1;q[b+20>>2]=0;q[b+24>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+43|0]=0;o[b+44|0]=0;o[b+45|0]=0;o[b+46|0]=0;o[b+47|0]=0;o[b+48|0]=0;o[b+49|0]=0;o[b+50|0]=0;a=q[a+64>>2];o[d+75|0]=2;q[d+32>>2]=a;a=To(c,0,0);q[b+4>>2]=a;b=q[c+8>>2];q[b+8>>2]=5;q[b>>2]=a;b=q[c+8>>2];if((q[c+28>>2]-b|0)<=16){vk(c,1);b=q[c+8>>2]}q[c+8>>2]=b+16;q[b+24>>2]=9;q[b+16>>2]=d;b=c;a=q[b+8>>2];if((q[b+28>>2]-a|0)<=16){vk(c,1);a=q[c+8>>2]}q[b+8>>2]=a+16}function Yo(a,b,c){var d=0,e=0,f=x(0);d=ti-16|0;ti=d;e=r[a+60|0]&4;a:{b:{c:{switch(b|0){case 0:f=x(B(u[c>>2],x(0)));if(!e){q[a+16>>2]=0;u[a+20>>2]=f}u[a+24>>2]=f;a=0;break b;case 1:f=x(x(x(B(x(A(u[c>>2],x(1))),x(-1)))+x(1))*x(.5));if(!e){q[a+28>>2]=0;u[a+32>>2]=f}u[a+36>>2]=f;a=0;break b;case 2:u[a+40>>2]=B(x(A(u[c>>2],x(5))),x(0));a=0;break b;default:break c}}e=q[242116];c=q[e+48>>2];a=s[a+58>>1];if(a>>>0>=q[e+52>>2]-c>>5>>>0){break a}a=c+(a<<5)|0;q[d+4>>2]=Mi(q[a>>2],q[a+4>>2]);q[d>>2]=b;Ai(4,203857,204333,d);a=-6}ti=d+16|0;return a}J(204924,204755,479,204935);G()}function HI(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;l=ti-32|0;ti=l;j=l+16|0;q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[j+12>>2]=0;if(wba(b,e,c,d,f,g,h,i,j)){q[l>>2]=Mi(c,d);Bi(a,200747,l)}gj(a,0,4);Ni(a,200886,5);k=+u[j>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,200892,6);k=+u[j+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,200899,10);k=+u[j+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ni(a,200910,11);k=+u[j+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=k;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);ti=l+32|0}function $o(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{f=(c-b|0)/48|0;g=q[a+2112>>2];e=q[a+2108>>2];if((f|0)<=g-e>>2){d=q[a+2044>>2];if(d>>>0>>0){break b}if(c>>>0>>0){d=q[a+2040>>2];if((q[a+2048>>2]-d|0)/48>>>0<(c-d|0)/48>>>0){break a}q[a+2044>>2]=c}if((b|0)!=(c|0)){h=q[a+2040>>2];d=e;while(1){q[d>>2]=(b-h|0)/48;d=d+4|0;b=b+48|0;if((c|0)!=(b|0)){continue}break}c=q[a+2104>>2];b=(e-c>>2)+f|0;if(b>>>0>g-c>>2>>>0){break a}q[a+2124>>2]=q[a+2120>>2];q[a+2108>>2]=c+(b<<2)}return}J(109601,109491,220,109678);G()}J(109695,109491,221,109678);G()}J(110219,110092,506,110238);G()}function ora(a){var b=0,c=0,d=0,e=0;e=q[a+28>>2];wj(e);a:{c=q[a+12>>2];b=q[a+8>>2];d=c-b|0;if(!d){break a}if((b|0)!=(c|0)){d=d>>6;c=0;while(1){b=(c<<6)+b|0;if(q[b+48>>2]==1){Es(q[b+40>>2]);jm(q[b+44>>2]);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+44>>2]=-1;q[b+48>>2]=0}c=c+1|0;if((d|0)==(c|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>c>>>0){continue}break}}J(162905,162757,479,162916);G()}o[a+32|0]=r[a+32|0]|1;qj(e)}function Xm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=10;a:{b:{if(q[b+4>>2]){c=q[a+20>>2];if(c>>>0<16){break b}e=q[a+16>>2];break a}J(101939,101831,447,101962);G()}f=q[a+4>>2];h=q[a+12>>2];while(1){e=0;if(f>>>0>>0){g=f+1|0;q[a+4>>2]=g;e=r[f|0];f=g}g=c+8|0;q[a+20>>2]=g;e=q[a+16>>2]|e<>2]=e;i=c>>>0<8;c=g;if(i){continue}break}}c=q[jta(b+12|0,e&1023)>>2];c:{if((c|0)<=-1){b=b+24|0;while(1){f=q[a+16>>2]>>>d|0;d=d+1|0;c=p[gta(b,(f&1)+(c^-1)|0)>>1];if((c|0)<0){continue}break}break c}d=c>>>16|0;c=c&65535}q[a+16>>2]=q[a+16>>2]>>>d;q[a+20>>2]=q[a+20>>2]-d;return c}function Tua(a){var b=0,c=0,d=0,e=0,f=0,g=0;axa(+a);b=Zwa(1)|0;f=Zwa(0)|0;d=b;a:{b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){break a}return 0/(a-a)}b:{if(b>>>0<=1071644671){e=1.5707963267948966;if(b>>>0<1012924417){break b}return 6.123233995736766e-17-zt(a*a)*a-a+1.5707963267948966}if((d|0)<-1?1:(d|0)<=-1){a=(a+1)*.5;c=F(a);a=1.5707963267948966-(c+(c*zt(a)+ -6.123233995736766e-17));return a+a}a=(1-a)*.5;c=F(a);g=c*zt(a);e=a;axa(+c);d=Zwa(1)|0;Zwa(0)|0;_wa(0,0);_wa(1,d|0);a=+$wa();a=g+(e-a*a)/(c+a)+a;e=a+a}return e}return(d|0)>-1?0:3.141592653589793}function zV(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-176|0;ti=c;d=-20352;e=q[a>>2];a:{if(!e|(e|0)!=q[b>>2]){break a}e=b+136|0;if(Lj(a+136|0,e)){break a}f=b+148|0;if(Lj(a+148|0,f)){break a}g=a+160|0;a=b+160|0;if(Lj(g,a)){break a}q[c+144>>2]=0;q[c+136>>2]=1;q[c+140>>2]=0;q[c+156>>2]=0;q[c+148>>2]=1;q[c+152>>2]=0;q[c+168>>2]=0;q[c+160>>2]=1;q[c+164>>2]=0;cs(c+8|0);yD(c+8|0,b);d=bs(c+8|0,c+136|0,b+124|0,b+40|0,0,0);b:{if(d){break b}c:{if(Lj(c+136|0,e)){break c}if(Lj(c+148|0,f)){break c}if(Lj(c+160|0,a)){break c}d=0;break b}d=-20352}Zl(c+136|0);Mn(c+8|0)}ti=c+176|0;return d}function S1(a){var b=0,c=0,d=0;b=ti-32|0;ti=b;a:{b:{c:{if(a){c=q[a+120>>2];d=q[c+8>>2]-q[c+12>>2]>>4;if((d|0)<=1){break c}bj(c,-1e4,q[a+124>>2]);if((Ei(c,-1)|0)!=5){break b}hk(c,-3);$i(c,-3);Ci(c,-2);a=d-2|0;c=q[c+8>>2]-q[c+12>>2]>>4;if((a|0)!=(c|0)){break a}ti=b+32|0;return}J(117808,117392,929,117823);G()}q[b+12>>2]=d;q[b+4>>2]=932;q[b+8>>2]=-2;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}J(117839,117392,939,117823);G()}q[b+28>>2]=c;q[b+24>>2]=a;q[b+20>>2]=932;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function Pba(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a+36>>2];a=q[a+32>>2];e=(c-a|0)/576|0;c=b&65535;if(e>>>0>c>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}c=a+w(c,576)|0;if(s[c+554>>1]!=(b&65535)){break b}b=s[c+558>>1];if((b|0)!=65535){while(1){c=b&65535;if(c>>>0>=e>>>0){break a}d=a+w(c,576)|0;b=s[d+558>>1];d:{if(o[d+572|0]&1){break d}d=s[d+554>>1];if((d|0)==65535){break d}return d|s[(a+w(c,576)|0)+552>>1]<<16}if((b&65535)!=65535){continue}break}}return 0}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function Hm(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-48|0;ti=c;Ti(a);d=Li(a,-1,q[74377],18676);Ci(a,-2);e=q[d+4>>2];a:{if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}if(!Ei(a,b)){break a}q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;qk(a,b,c+16|0,0);d=q[q[q[d+4>>2]+80>>2]+8>>2];b:{if(!d){break b}d=q[d>>2];if(!d){break b}f=q[d+3216>>2];g=q[d+3220>>2]}if((f|0)!=q[c+16>>2]|(g|0)!=q[c+20>>2]){Bi(a,14633,0)}e=Vm(q[q[e+80>>2]+8>>2],q[c+32>>2],q[c+36>>2]);if(e){break a}e=0;q[c>>2]=dj(a,b,0);Bi(a,14703,c)}ti=c+48|0;return e}function Hla(a){a=a|0;var b=0,c=0,d=0;a:{b=q[a+4>>2];c=q[b+4>>2];d=q[b>>2];a=c-d|0;if(!a){break a}if((c|0)!=(d|0)){c=d-c|0;c=((a|0)<(c|0)?c:a)>>>8|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){d=(a<<8)+d|0;if(r[d+246|0]&4){yi(q[d+240>>2])}a=a+1|0;if((c|0)==(a|0)){break a}d=q[b>>2];if(q[b+4>>2]-d>>8>>>0>a>>>0){continue}break}}J(52123,52040,479,52134);G()}b:{if(o[b+44|0]&1){break b}a=q[b+32>>2];if(!a){break b}yi(a)}c:{if(o[b+28|0]&1){break c}a=q[b+16>>2];if(!a){break c}yi(a)}d:{if(o[b+12|0]&1){break d}a=q[b>>2];if(!a){break d}yi(a)}yi(b);return 0}function H_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-32|0;ti=e;h=a+4|0;i=q[a+88>>2]+7>>>3|0;q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{b:{while(1){f=Kn(e+16|0,i,c,d);if(f){break b}while(1){if((Lj(e+16|0,h)|0)>=0){f=Wk(e+16|0,1);if(!f){continue}break b}break}if((g|0)==11){f=-19712;break a}g=g+1|0;if((uj(e+16|0,1)|0)<1){continue}break}c=b+24|0;f=Pj(a,c,c,e+16|0);if(f){break b}f=Pj(a,e,e+16|0,e+16|0);if(f){break b}f=Pj(a,b,b,e);if(f){break b}f=Pj(a,e,e,e+16|0);if(f){break b}c=a;a=b+12|0;f=Pj(c,a,a,e)}Si(e+16|0);Si(e)}ti=e+32|0;return f}function $q(a,b){var c=0,d=0,e=0;a:{c=s[b+556>>1];if((c|0)!=65535){e=q[a+32>>2];if(c>>>0>=(q[a+36>>2]-e|0)/576>>>0){break a}p[(e+w(c,576)|0)+558>>1]=s[b+558>>1]}e=s[b+558>>1];if((e|0)!=65535){d=q[a+32>>2];if(e>>>0>=(q[a+36>>2]-d|0)/576>>>0){break a}p[(d+w(e,576)|0)+556>>1]=c}c=s[b+560>>1];b:{if((c|0)!=65535){d=q[a+36>>2];a=q[a+32>>2];if(c>>>0>=(d-a|0)/576>>>0){break a}a=a+w(c,576)|0;c=a+564|0;a=a+562|0;break b}c=a+350|0;a=a+348|0}d=s[b+554>>1];if((d|0)==s[a>>1]){p[a>>1]=e;d=s[b+554>>1]}if((d|0)==s[c>>1]){p[c>>1]=s[b+556>>1]}return}J(195730,195579,479,195741);G()}function vX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=ti+ -64|0;ti=e;a:{b:{c:{f=r[d|0];switch(f-61|0){case 1:case 2:break a;case 0:case 3:break b;default:break c}}if((f|0)!=27){break a}d=137530;break a}d=d+1|0}q[e+32>>2]=c;q[e+28>>2]=b;q[e+24>>2]=a;q[e+36>>2]=d;q[e+56>>2]=67174481;q[e+60>>2]=525316;q[e+52>>2]=1635077147;if(Nk(b,e+40|0,12)){q[e+16>>2]=d;q[e+20>>2]=137558;_i(a,137573,e+16|0);yj(q[e+24>>2],3)}if(pj(e+52|0,e+40|0,12)){q[e>>2]=q[e+36>>2];q[e+4>>2]=137547;_i(q[e+24>>2],137573,e);yj(q[e+24>>2],3)}a=jN(e+24|0,Jj(a,137544,2));ti=e- -64|0;return a|0}function qZ(a){var b=0,c=0,d=0;d=-2;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}c=q[b+52>>2];b:{if(!(q[b+36>>2]!=15?c:0)){q[b+36>>2]=15;q[b+8>>2]=3;break b}xi[q[a+36>>2]](q[a+40>>2],c);q[b+52>>2]=0;c=q[a+28>>2];q[b+36>>2]=15;q[b+8>>2]=3;b=c;if(!b){break a}}d=0;q[b+48>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+28>>2]=0;q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;c=q[b+8>>2];if(c){q[a+48>>2]=c&1}q[b+56>>2]=0;q[b+60>>2]=0;q[b+32>>2]=0;q[b+20>>2]=32768;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+7104>>2]=1;q[b+7108>>2]=-1;a=b+1328|0;q[b+108>>2]=a;q[b+80>>2]=a;q[b+76>>2]=a}return d}function h5(a){a=a|0;var b=0,c=0,d=0;b=ti-48|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){q[b+8>>2]=22;c=q[d+4>>2];a:{if((c|0)!=q[d+8>>2]){q[d+4>>2]=c+40;a=q[b+44>>2];q[c+32>>2]=q[b+40>>2];q[c+36>>2]=a;a=q[b+36>>2];q[c+24>>2]=q[b+32>>2];q[c+28>>2]=a;a=q[b+28>>2];q[c+16>>2]=q[b+24>>2];q[c+20>>2]=a;a=q[b+20>>2];q[c+8>>2]=q[b+16>>2];q[c+12>>2]=a;a=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=a;a=0;break a}q[b>>2]=(q[d+8>>2]-q[d>>2]|0)/40;a=Bi(a,110538,b)}ti=b+48|0;return a|0}J(110492,110389,475,114319);G()}function ME(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-32|0;ti=d;a:{b:{f=(q[a+8>>2]-q[a+12>>2]>>4)-1|0;if(f){g=1;while(1){c:{if((Ei(a,c)|0)==3){e=0;if(!g){break c}v[d+16>>3]=xj(a,c);e=(hva(b,d+16|0)|0)>0;break c}h=Wi(a,c,d+28|0);e=0;if(!g){break c}e=(Rl(h,1,q[d+28>>2],b)|0)==q[d+28>>2]}g=e;c=c+1|0;f=f-1|0;if(f){continue}break}if(!g){break b}}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=al(b);vj(a,140349,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}ti=d+32|0;return a}function J2(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0),h=0,i=0,j=0,k=0;d=ti-16|0;ti=d;h=Ri(a,1);i=Ri(a,2);j=Ri(a,3);k=Ri(a,4);e=x(j);if(e==x(0)){js(a,1);q[d>>2]=dj(a,-1,0);Ai(3,130516,130523,d)}c=VB(x(x(x(h)*x(-.5))+x(1.5707963705062866)));b=jj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;u[b>>2]=c/x(i);q[b+24>>2]=0;q[b+28>>2]=0;u[b+20>>2]=c;q[b+60>>2]=0;c=x(k);f=x(x(1)/x(e-c));g=x(x(e*c)*f);u[b+56>>2]=g+g;q[b+52>>2]=0;q[b+44>>2]=-1082130432;q[b+48>>2]=0;u[b+40>>2]=x(e+c)*f;q[b+12>>2]=0;q[b+16>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;Ki(a,-1e4,128736);ij(a,-2);ti=d+16|0;return 1}function zW(a){a=a|0;var b=0,c=0,d=0,e=0;b=Owa(q[242948],q[242949],1284865837,1481765933)+1|0;c=wi;c=b>>>0<1?c+1|0:c;q[242948]=b;q[242949]=c;d=+((c>>>1>>>0)%2147483647|0)/2147483647;a:{b:{switch(q[a+8>>2]-q[a+12>>2]>>4){case 0:b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;break a;case 1:b=Xi(a,1);if((b|0)<=0){Qj(a,1,141681)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=C(d*+(b|0))+1;break a;case 2:b=Xi(a,1);c=Xi(a,2);if((b|0)>(c|0)){Qj(a,2,141681)}e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=C(d*+((c-b|0)+1|0))+ +(b|0);break a;default:break b}}return Bi(a,141699,0)|0}q[a+8>>2]=q[a+8>>2]+16;return 1}function jU(a,b,c,d,e,f){var g=0,h=0;g=ti-16|0;ti=g;h=c;c=f-3|0;a:{if(c>>>0<=5){c=q[(c<<2)+273896>>2];break a}c=0}f=c;if(f){f=q[f+8>>2]}else{f=0}q[h>>2]=f&255;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=0;b:{c:{d:{f=qn(g,c,0);e:{if(f){break e}c=-20736;f:{if(!g){break f}f=q[g>>2];if(!f){break f}c=xi[q[f+16>>2]](q[g+4>>2])|0}f=c;if(f){break e}f=Ln(g,q[a+68>>2]+1128|0,64);if(f){break e}f=Ln(g,d,e);if(!f){break d}}fm(g);break c}c=-20736;g:{if(!g){break g}d=q[g>>2];if(!d){break g}c=xi[q[d+24>>2]](q[g+4>>2],b)|0}fm(g);f=c;if(f){break c}f=0;break b}Ij(a,2,80)}ti=g+16|0;return f}function xB(a,b,c,d,e,f,g){var h=0,i=0;a:{if(!b){g=0;f=0;break a}i=(f-g|0)+1|0;g=0;if(!e){f=0;while(1){b:{if(zB(a,b,0)){break b}e=q[b+288>>2];if(e>>>0>>0?(e|0)>=1:0){break b}e=!yB(a,b);c:{if(lx(b+168|0)){break c}if(mx(b+144|0)){break c}g=e;f=b;break a}g=f?g:e;f=f?f:b}b=q[b+340>>2];if(b){continue}break}break a}f=0;while(1){d:{if(zB(a,b,e)){break d}h=q[b+288>>2];if(h>>>0>>0?(h|0)>=1:0){break d}h=yB(a,b);if(h){break d}e:{if(lx(b+168|0)){break e}if(mx(b+144|0)){break e}g=1;f=b;break a}g=f?g:!h;f=f?f:b}b=q[b+340>>2];if(b){continue}break}}q[c>>2]=f;q[d>>2]=g}function FZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-288|0;ti=b;f=dj(a,-10003,b+12|0);g=dj(a,-10004,0);q[b+16>>2]=f;q[b+24>>2]=a;c=q[b+12>>2];q[b+20>>2]=c+f;e=c;c=Ok(a,-10005);a:{if((e|0)<(c|0)){break a}c=c+f|0;while(1){q[b+28>>2]=0;e=rn(b+16|0,c,g);if(e){d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=(e-f|0)+((c|0)==(e|0))|0;q[a+8>>2]=q[a+8>>2]+16;Cq(a,-10005);a=q[b+28>>2];d=c?a?a:1:a;Ro(q[b+24>>2],d,141115);if((d|0)<1){break a}a=0;while(1){Hr(b+16|0,a,c,e);a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}c=c+1|0;if(c>>>0<=t[b+20>>2]){continue}break}}ti=b+288|0;return d|0}function cQ(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;b=q[a>>2];c=q[a+120>>2]+(r[b+184|0]&2?12:4)|0;qx(d+12|0,d+8|0,q[b+184>>2]>>>1&1,c);a:{b:{b=q[d+12>>2];c:{if((b|0)<3){break c}e=q[d+8>>2];if((e|0)<2){break c}f=q[a>>2];if((b|0)>r[f+180|0]){break c}if((e|0)<=r[f+181|0]){break b}}Ij(a,2,70);g=-28288;break a}b=r[c+2|0];f=c+3|0;if((b|0)>((q[a+120>>2]+q[a+132>>2]|0)-f|0)){Ij(a,2,50);g=-31104;break a}yi(q[q[a+68>>2]+480>>2]);e=Vj(1,b);c=q[a+68>>2];q[c+480>>2]=e;g=-32512;if(!e){break a}Gi(e,f,b);o[c+484|0]=b;q[a+4>>2]=1;WT(a);px(a);g=0}c=g;ti=d+16|0;return c}function G6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(147249,147260,479,147227);G()}J(147403,147260,506,147422);G()}function OO(a){var b=0,c=0,d=0,e=0,f=0;d=211551;f=ti-32|0;b=f;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;c=r[211551];if(!c){return 0}b=r[211552];if(!b){b=a;while(1){d=b;b=b+1|0;if((c|0)==r[d|0]){continue}break}return d-a|0}e=(c>>>3&28)+f|0;q[e>>2]=q[e>>2]|1<>>3|0;b=r[d+2|0];e=(e&28)+f|0;q[e>>2]=q[e>>2]|1<>>3&28)+f>>2]>>>b&1)){c=d;break a}b=r[d+1|0];c=d+1|0;d=c;if(b){continue}break}}return c-a|0}function wF(a,b){var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){b=Vp(b,Ui(b));Qi(a,-1);e=q[81757];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;$i(a,-3);Ci(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}ti=c+32|0;return b}q[c+12>>2]=d;q[c+4>>2]=680;q[c+8>>2]=0;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=680;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function ul(a,b){var c=0,d=0,e=0;c=ti-32|0;ti=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){Qi(a,b);b=0;b:{if((Ei(a,-1)|0)!=7){break b}if(!Kl(a,-1)){break b}b=q[81757];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-2);b=Ok(a,-1);Ci(a,-3)}Ci(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}ti=c+32|0;return b}q[c+12>>2]=d;q[c+4>>2]=726;q[c+8>>2]=0;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=726;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function fo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=ti-16|0;ti=f;axa(+b);h=Zwa(1)|0;e=Zwa(0)|0;g=h&2147483647;c=g;d=e;g=c+ -1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=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){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?z(e)+32|0:z(c);dm(f,d,g,0,0,c+49|0);j=q[f>>2];i=q[f+4>>2];e=15372-c<<16;c=q[f+8>>2];d=e|q[f+12>>2]^65536}q[a>>2]=j;q[a+4>>2]=i;q[a+8>>2]=c;q[a+12>>2]=h&-2147483648|d;ti=f+16|0}function eda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{if(!(b|c)){break c}d:{switch(c-1|0){case 0:if((c|0)==2097152|c>>>0>2097152){break b}if(b+1>>>0<2){break c}c=b&65535;if(c>>>0>=t[a+32>>2]){break a}if(!q[q[a+24>>2]+(c<<2)>>2]){break c}return s[q[a+28>>2]+(c<<1)>>1]==(b>>>16|0)|0;case 1:break d;default:break c}}if((c|0)==2097152|c>>>0>2097152){break b}if(b+1>>>0<2){break c}c=b&65535;if(c>>>0>=t[a+32>>2]){break a}if(!q[q[a+24>>2]+(c<<2)>>2]){break c}d=s[q[a+28>>2]+(c<<1)>>1]==(b>>>16|0)}return d|0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function KP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+204>>2];q[c>>2]=0;e=q[q[a>>2]+144>>2];a:{if(!e){break a}d=d+16384|0;h=d>>>0>>0;i=d-b|0;d=q[e>>2];g=6;b:{if(!d){break b}while(1){f=((Ui(d)&255)+f|0)+1|0;d=q[e+4>>2];e=e+4|0;if(d){continue}break}g=f+6|0}if(h|i>>>0>>0){break a}o[b|0]=0;o[b+1|0]=16;e=b+6|0;d=q[q[a>>2]+144>>2];f=q[d>>2];if(f){while(1){a=Ui(f);o[e|0]=a;a=a&255;Gi(e+1|0,q[d>>2],a);e=(a+e|0)+1|0;f=q[d+4>>2];d=d+4|0;if(f){continue}break}}a=e-b|0;q[c>>2]=a;o[b+4|0]=a+65530>>>8;o[b+5|0]=r[c|0]-6;o[b+2|0]=q[c>>2]+65532>>>8;o[b+3|0]=r[c|0]-4}}function V6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>8;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-256){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>8>>>0>>0){break a}q[a+4>>2]=(b<<8)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(52123,52040,479,52134);G()}J(52096,52040,506,52115);G()}function HF(a){var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){e=q[81756];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);b:{switch(Ei(a,-1)-2|0){case 0:case 5:f=aj(a,-1);break;default:break b}}Ci(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}ti=b+32|0;return f}q[b+12>>2]=c;q[b+4>>2]=1022;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1022;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function wea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;e=q[a+8>>2]-q[a+12>>2]|0;wl(a,1,q[q[Tj(a)+80>>2]+8>>2],77094,b+28|0,0,0);mA(q[b+28>>2],b+24|0,b+20|0,b+16|0,b+12|0);d=q[b+24>>2]+1|0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+20>>2]+1|0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;d=q[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+4|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(77900,77222,442,77925);G()}ti=b+32|0;return 4}function tO(a,b,c){var d=0,e=0,f=0;a:{d=q[a+28>>2];e=q[d+52>>2];b:{if(!e){f=1;e=xi[q[a+32>>2]](q[a+40>>2],1<>2],1)|0;q[d+52>>2]=e;if(!e){break b}}a=q[d+40>>2];if(!a){q[d+44>>2]=0;q[d+48>>2]=0;a=1<>2];q[d+40>>2]=a}if(a>>>0<=c>>>0){Gi(e,b-a|0,a);q[d+48>>2]=0;break a}f=q[d+48>>2];a=a-f|0;a=a>>>0>c>>>0?c:a;Gi(e+f|0,b-c|0,a);c=c-a|0;if(c){Gi(q[d+52>>2],b-c|0,c);q[d+48>>2]=c;break a}f=0;b=a+q[d+48>>2]|0;c=b;b=q[d+40>>2];q[d+48>>2]=(c|0)==(b|0)?0:c;c=b;b=q[d+44>>2];if(c>>>0<=b>>>0){break b}q[d+44>>2]=a+b}return f}q[d+44>>2]=q[d+40>>2];return 0}function M6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>4;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-16){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>4>>>0>>0){break a}q[a+4>>2]=(b<<4)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(45161,44897,479,45172);G()}J(44965,44897,506,44984);G()}function S6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(41371,40669,479,41382);G()}J(40822,40669,506,40841);G()}function P6(a){var b=0,c=0,d=0,e=0,f=0;f=q[a>>2];c=q[a+4>>2]-f|0;e=c>>2;a:{b:{b=q[a+48>>2];c:{if((b|0)!=-1){d=q[a+16>>2];if(b>>>0>=q[a+20>>2]-d>>3>>>0){break b}c=(b<<3)+d|0;q[a+48>>2]=q[c+4>>2];b=e+1|0;break c}b=e+1|0;d=q[a+16>>2];if(b>>>0>q[a+24>>2]-d>>3>>>0){break a}q[a+20>>2]=(b<<3)+d;if((c|0)==-4){break b}c=(e<<3)+d|0}q[c>>2]=e;q[c+4>>2]=-1;if(q[a+8>>2]-f>>2>>>0>>0){break a}q[a+4>>2]=(b<<2)+f;b=q[a+36>>2];a=q[a+32>>2];if(b-a>>2>>>0<=e>>>0){break b}b=a+(e<<2)|0;a=c-d>>3;q[b>>2]=a;return a}J(46656,46296,479,46535);G()}J(46277,46296,506,46352);G()}function Oca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{d:{if(a){if(!b){break d}c=Da(35632)|0;d=b+8|0;e=hJ(c,q[b+4>>2],q[d>>2]);qa(c|0);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break c}}e:{if(!e){break e}a=q[a>>2];na(a|0,1,b+4|0,d|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}sa(a|0);if(!(r[q[77547]+156|0]&64)){break e}a=K()|0;if(a){break a}}return e|0}J(87695,84160,2086,87747);G()}J(87726,84160,2087,87747);G()}Vi(c,87747,2092);J(84254,84160,2092,87747);G()}Vi(b,87747,2098);J(84254,84160,2098,87747);G()}Vi(a,87747,2100);J(84254,84160,2100,87747);G()}function Mca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{d:{if(a){if(!b){break d}c=Da(35633)|0;d=b+8|0;e=hJ(c,q[b+4>>2],q[d>>2]);qa(c|0);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break c}}e:{if(!e){break e}a=q[a>>2];na(a|0,1,b+4|0,d|0);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break b}}sa(a|0);if(!(r[q[77547]+156|0]&64)){break e}a=K()|0;if(a){break a}}return e|0}J(87695,84160,2064,87700);G()}J(87726,84160,2065,87700);G()}Vi(c,87700,2070);J(84254,84160,2070,87700);G()}Vi(b,87700,2076);J(84254,84160,2076,87700);G()}Vi(a,87700,2078);J(84254,84160,2078,87700);G()}function Xqa(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=ti-32|0;ti=e;if(d>>>0<17){Fi((e+16|0)+d|0,0,16-d|0);Gi(e+16|0,c,d);c=b>>>3|0;if(c){k=b&-8;i=c;while(1){g=(f<<3)+a|0;d=q[g>>2];c=q[g+4>>2];q[g>>2]=FL(j,h,e+16|0)^d;q[g+4>>2]=wi^c;f=f+1|0;c=j+1|0;h=c>>>0<1?h+1|0:h;j=c;if((i|0)!=(c|0)|h){continue}break}a=a+k|0}c=FL(i,0,e+16|0);q[e+8>>2]=c;q[e+12>>2]=wi;d=b&7;a:{if(!d){break a}o[a|0]=c^r[a|0];f=1;if((d|0)==1){break a}while(1){b=a+f|0;o[b|0]=r[b|0]^r[(e+8|0)+f|0];f=f+1|0;if((d|0)!=(f|0)){continue}break}}ti=e+32|0;return}J(159962,159975,59,159997);G()}function JH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,136)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,136)+f|0)+128>>2];if((e|0)==-1){J(162471,161952,366,162438);G()}h=d;d=w(e,136)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,136)+f|0)+128>>2];b:{if(!h){q[g>>2]=b;break b}q[h+128>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,136)+f|0)+128>>2]=b;return}J(162417,161952,334,162438);G()}J(162444,161952,340,162438);G()}function Lj(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];while(1){d=c;if(c){c=d-1|0;if(!q[q[a+8>>2]+(c<<2)>>2]){continue}}break}e=q[b+4>>2];while(1){c=e;if(c){e=c-1|0;if(!q[q[b+8>>2]+(e<<2)>>2]){continue}}break}if(!(c|d)){return 0}if(c>>>0>>0){return q[a>>2]}if(c>>>0>d>>>0){return 0-q[b>>2]|0}c=1;f=q[b>>2];e=q[a>>2];a:{b:{if((e|0)>=1){if((f|0)>=0){break b}break a}if(!e){break b}c=-1;if((f|0)>0){break a}}while(1){if(!d){return 0}d=d-1|0;c=d<<2;f=q[c+q[a+8>>2]>>2];c=q[c+q[b+8>>2]>>2];if(f>>>0>c>>>0){return e}if(c>>>0<=f>>>0){continue}break}c=0-e|0}return c}function t1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=Zi(b+48|0,a,0,124351,1227);q[b+40>>2]=Xi(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!gn(125405,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[66914];if(fk(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Yi(d);ti=b+80|0;return 0}J(125365,124351,1067,125413);G()}J(125426,124351,1068,125413);G()}J(125365,124351,1236,125494);G()}function s1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=Zi(b+48|0,a,0,124351,1194);q[b+40>>2]=Xi(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!gn(125405,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[66898];if(fk(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Yi(d);ti=b+80|0;return 0}J(125365,124351,1067,125413);G()}J(125426,124351,1068,125413);G()}J(125365,124351,1203,125517);G()}function SL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;j=3;a:{b:{if(a+1>>>0<2){break b}h=a&65535;g=q[213374];if(h>>>0>=t[g+8>>2]){break a}i=q[q[g>>2]+(h<<2)>>2];if(!i|s[q[g+4>>2]+(h<<1)>>1]!=(a>>>16|0)){break b}j=11;g=q[i+12>>2];h=q[i+8>>2];if((g|0)==(h|0)){break b}a=g-h|0;i=(a|0)>-1?a:-1;g=h-g|0;a=w((i|0)<1?i:1,((a|0)<(g|0)?g:a)>>>2|0);i=a>>>0>1?a:1;a=0;while(1){g=q[h+(a<<2)>>2];if(q[g>>2]!=(b|0)|q[g+4>>2]!=(c|0)){a=a+1|0;if((i|0)!=(a|0)){continue}break b}break}q[e>>2]=r[g+9|0];q[f>>2]=r[g+8|0];q[d>>2]=q[g+12>>2];j=0}return j}J(149021,149036,144,149074);G()}function N1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=Zi(b+48|0,a,0,124351,1095);q[b+40>>2]=Xi(a,1);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;a:{b:{if(!gn(125405,b+72|0)){a=q[b+76>>2];e=a;c=q[b+72>>2];if(!(a|c)){break b}q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=c;q[b+12>>2]=e;a=q[66798];if(fk(0,b+8|0,q[a+8>>2],q[a+12>>2],0,a,b+40|0,4)){break a}Yi(d);ti=b+80|0;return 0}J(125365,124351,1067,125413);G()}J(125426,124351,1068,125413);G()}J(125365,124351,1104,125396);G()}function ria(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0);b=ti-80|0;ti=b;e=1;f=Zi(b+24|0,a,1,68051,923);c=Mj(a,2);g=wi;d=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;h=b- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,d,67845,b+20|0,b+48|0,b+16|0);q[b+48>>2]=0;d=VJ(q[b+16>>2],q[b+20>>2],c,g);a:{if(d){q[b>>2]=Mi(c,g);q[b+8>>2]=d;q[b+4>>2]=q[(d<<2)+244592>>2];e=sj(f,70083,b);break a}i=u[b+48>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=i;q[a+8>>2]=q[a+8>>2]+16}Yi(f);ti=b+80|0;return e|0}function g2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=0,j=x(0);b=ti-96|0;ti=b;q[b+92>>2]=0;i=Wi(a,1,b+92|0);c=Li(a,2,q[212906],0);e=u[c>>2];f=u[c+4>>2];a:{b:{if(e!=e|f!=f){break b}d=u[c+8>>2];if(d!=d){break b}d=u[c+12>>2];if(d==d){break a}}d=u[c+8>>2];j=u[c+12>>2];v[b- -64>>3]=f;v[b+80>>3]=j;v[b+72>>3]=d;v[b+56>>3]=e;q[b+48>>2]=2;Bi(a,129003,b+48|0)}g=q[b+92>>2]+95|0;h=Oi((g|0)>-1?g:-1);e=u[c>>2];f=u[c+4>>2];d=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=d;v[b+16>>3]=f;q[b>>2]=i;v[b+8>>3]=e;hj(h,g,129622,b);Hi(a,h);yi(h);ti=b+96|0;return 1}function mG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=ti-16|0;ti=h;i=q[a+52>>2];g=q[a+48>>2];j=i-g|0;f=(j|0)/40|0;a:{b:{if((j|0)<1){break b}c:{if((g|0)!=(i|0)){i=(f|0)>1?f:1;f=0;while(1){g=q[w(f,40)+g>>2];if((b|0)==q[g+8>>2]&q[g+12>>2]==(c|0)){break c}f=f+1|0;if((i|0)==(f|0)){break b}g=q[a+48>>2];if((q[a+52>>2]-g|0)/40>>>0>f>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0<=f>>>0){break a}a=q[a+w(f,40)>>2];q[h+12>>2]=s[a+24>>1];b=q[a>>2];a=q[h+12>>2];Gi(b,d,(a>>>0>>0?a:e)<<4)}ti=h+16|0;return}J(109402,109229,479,109413);G()}function Ev(a,b,c,d,e){var f=0,g=0,h=x(0);f=ti-160|0;ti=f;q[f+152>>2]=0;g=1;a:{b=(c<<2)+b|0;if(q[b+4>>2]!=-2){g=q[a+8>>2]-q[a+12>>2]>>4;bj(a,-1e4,q[d+12>>2]);jk(a);bj(a,-1e4,q[b+4>>2]);bj(a,-1e4,q[d+12>>2]);b:{c:{if(!c){bj(a,-1e4,q[d+12>>2]);break c}b=1;if((c&-2)!=2){break b}h=u[q[e>>2]+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=h;q[a+8>>2]=q[a+8>>2]+16}b=2}c=ti-128|0;ti=c;ti=c+128|0;q[f+8>>2]=0;b=Vl(a,b,0);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;jk(a);if((g|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}g=b?-1:1}ti=f+160|0;return g}J(12827,12848,147,12817);G()}function An(a){var b=0,c=0,d=0,e=0;if((Fs(a,0,0,1e6)|0)==-17){while(1){Ai(3,28089,28145,0);if((Fs(a,0,0,1e6)|0)==-17){continue}break}}a:{b=q[a+173524>>2];if((b|0)!=q[a+173528>>2]){q[a+173524>>2]=b+4;q[b>>2]=q[a+88172>>2];b=q[a+173520>>2];c=q[a+173524>>2];if((b|0)!=(c|0)){while(1){e=q[(d<<2)+b>>2];if(e){Pi(q[a+155704>>2],e);c=q[a+173524>>2];b=q[a+173520>>2]}d=d+1|0;if(d>>>0>2>>>0){continue}break}}if(q[a+155696>>2]!=1023){break a}Xl(q[a+155700>>2]);Gra(q[a+173488>>2]);yi(k4(a));return}J(29528,28586,533,29552);G()}J(28180,28238,1041,28268);G()}function oP(a){var b=0,c=0,d=0;c=ti-16|0;ti=c;a:{if(r[a+60|0]){q[a+112>>2]=2;break a}q[a+108>>2]=0;b=q[a+64>>2];b:{if(q[a+44>>2]){d=q[a+52>>2];c:{if((b|0)>=0){b=b+q[a+48>>2]|0;if(b>>>0>>0){break c}}q[a+108>>2]=1;q[a+44>>2]=d;break b}q[a+44>>2]=b;break b}d:{if((b|0)>=0){d=q[a+36>>2];b=d+b|0;if(b>>>0>=d>>>0){break d}}q[a+108>>2]=1;b=2147483647}if(!Ik(q[a+32>>2],b,0)){break b}q[a+108>>2]=1;Ik(q[a+32>>2],q[a+36>>2],2)}q[a+1392>>2]=-1;o[a+1389|0]=1;q[a+1004>>2]=0;if(!qw(a,c+12|0,c+4|0,c+8|0)){break a}pw(a,q[c+12>>2],q[c+4>>2],q[c+8>>2])}ti=c+16|0}function lga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;b=Oi(36);d=b+24|0;q[d>>2]=0;q[d+4>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=-1;d=q[a+20>>2];q[b>>2]=d;q[q[a+24>>2]+8>>2]=b;a:{a=q[d+4>>2];b:{if(!a){q[c+12>>2]=0;break b}b=b+4|0;f=(a<<1>>>0)/3|0;cv(b,f>>>0>1?f:1,a);q[c+12>>2]=0;while(1){if(t[d+4>>2]<=e>>>0){break a}e=q[d>>2]+w(e,192)|0;Vq(b,q[e+8>>2],q[e+12>>2],c+12|0);e=q[c+12>>2]+1|0;q[c+12>>2]=e;if(a>>>0>e>>>0){continue}break}}ti=c+16|0;return 0}J(58798,58810,69,58857);G()}function S4(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);Li(a,-1,q[81656],114346);Ci(a,-2);a:{if((c|0)==q[a+8>>2]-q[a+12>>2]>>4){mj(a,1,5);c=jj(a,4);q[c>>2]=Fi(Oi(264),0,264);Ki(a,-1e4,112632);ij(a,-2);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if(rj(a,1)){while(1){d=Mj(a,-1);if(f6(q[c>>2],d,wi)){q[b>>2]=32;Ai(3,112123,112654,b)}Ci(a,-2);if(rj(a,1)){continue}break}}if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}ti=b+16|0;return 1}J(110492,110389,475,114319);G()}J(110364,110389,2731,112716);G()}function Q0(a){a=a|0;var b=0,c=0,d=x(0),e=0,f=x(0),g=x(0),h=0,i=0,j=x(0);b=ti-96|0;ti=b;q[b+92>>2]=0;i=Wi(a,1,b+92|0);c=Li(a,2,q[212905],0);f=u[c>>2];g=u[c+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[c+8>>2];if(d!=d){break b}d=u[c+12>>2];if(d==d){break a}}d=u[c+8>>2];j=u[c+12>>2];v[b- -64>>3]=g;v[b+80>>3]=j;v[b+72>>3]=d;v[b+56>>3]=f;q[b+48>>2]=2;Bi(a,128909,b+48|0)}e=q[b+92>>2];h=e+98|0;e=Oi(h+e|0);f=u[c>>2];g=u[c+4>>2];d=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=d;v[b+16>>3]=g;q[b>>2]=i;v[b+8>>3]=f;hj(e,h,129578,b);Hi(a,e);yi(e);ti=b+96|0;return 1}function MQ(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;a:{if(q[a>>2]==-1){f=-2;break a}while(1){f=iB(q[a>>2],c,d);q[b>>2]=f;if((f|0)!=-1){f=0;break a}b:{f=q[242957];switch(f-6|0){case 21:continue;case 0:case 7:break b;default:break a}}f=q[a>>2];q[g+12>>2]=1;q[g+8>>2]=f;c:{if(v[e>>3]==0){break c}d:{while(1){h=g+8|0;i=up(e)*1e3;e:{if(y(i)<2147483648){f=~~i;break e}f=-2147483648}f=zp(h,1,(f|0)>-1?f:-1);if((f|0)!=-1){h=0;if(f){break d}break c}if(q[242957]==27){continue}break}h=q[242957]}f=h;if(!f){continue}break a}break}f=-1}ti=g+16|0;return f}function S7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,40)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,40)+f|0)+32>>2];if((e|0)==-1){J(195535,195256,366,195502);G()}h=d;d=w(e,40)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,40)+f|0)+32>>2];b:{if(!h){q[g>>2]=b;break b}q[h+32>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,40)+f|0)+32>>2]=b;return}J(195481,195256,334,195502);G()}J(195508,195256,340,195502);G()}function Q7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,40)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,40)+f|0)+32>>2];if((e|0)==-1){J(106647,106351,366,106614);G()}h=d;d=w(e,40)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,40)+f|0)+32>>2];b:{if(!h){q[g>>2]=b;break b}q[h+32>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,40)+f|0)+32>>2]=b;return}J(106593,106351,334,106614);G()}J(106620,106351,340,106614);G()}function $m(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+4>>2]<<5;c=Al(a)+b|0;a:{if(d>>>0>>0){f=bl(a,(c>>>5|0)+((c&31)!=0)|0);if(f){break a}}g=b&31;b=b>>>5|0;b:{if(!b){break b}c=q[a+4>>2];c:{if(c>>>0<=b>>>0){d=c;break c}h=b^-1;e=q[a+8>>2];while(1){d=c-1|0;q[e+(d<<2)>>2]=q[e+(c+h<<2)>>2];c=d;if(c>>>0>b>>>0){continue}break}}if(!d){break b}Fi(q[a+8>>2],0,d<<2)}f=0;if(!g){break a}e=q[a+4>>2];if(e>>>0<=b>>>0){break a}h=32-g|0;c=q[a+8>>2];d=0;while(1){a=c+(b<<2)|0;i=q[a>>2];q[a>>2]=i<>>h|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}return f}function v0(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;a:{b:{c:{if(ry(a)){q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+28>>2]=16;a=iB(a,d,d+28|0);q[b>>2]=1;e=q[d+4>>2];q[Eu(b)>>2]=e;break c}if(!qy(a)){break b}q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+28>>2]=28;a=iB(a,d,d+28|0);q[b>>2]=2;b=us(b);e=q[d+20>>2];q[b+8>>2]=q[d+16>>2];q[b+12>>2]=e;e=q[d+12>>2];q[b>>2]=q[d+8>>2];q[b+4>>2]=e}q[c>>2]=a;b=0;if((a|0)>-1){break a}b=Sl(168496,342,q[242957]);break a}Ai(4,168407,168525,0);b=-2}ti=d+32|0;return b}function WJ(a){var b=0,c=0,d=0,e=0,f=0;b=ti-80|0;ti=b;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;qk(a,1,b+16|0,0);$l(a,b+48|0);d=q[q[Tj(a)+80>>2]+8>>2];c=Vm(d,q[b+32>>2],q[b+36>>2]);if(c){p[b+14>>1]=0;TK(c,q[b+40>>2],q[b+44>>2],b+14|0);q[b+8>>2]=0;q[b+4>>2]=0;wl(a,1,d,64824,b+8|0,b+16|0,b+4|0);e=Uia(q[b+4>>2],q[c+96>>2],q[c+100>>2],s[b+14>>1]);f=wi}ti=b+80|0;wi=f;return e}function fX(a,b){var c=0,d=0,e=0,f=0;c=q[a+12>>2];e=c>>>0>2]?c:135744;a:{if(q[e+8>>2]!=6){break a}c=q[e>>2];b:{if(r[c+6|0]){if((b|0)<1|r[c+7|0]<(b|0)){break a}f=135282;b=(c+(b<<4)|0)+8|0;break b}if((b|0)<1){break a}d=q[c+16>>2];if(q[d+36>>2]<(b|0)){break a}b=(b<<2)-4|0;f=q[b+q[d+28>>2]>>2]+16|0;b=q[q[(b+c|0)+20>>2]+8>>2]}c=q[a+8>>2]-16|0;q[a+8>>2]=c;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+8>>2]=q[c+8>>2];b=q[a+8>>2];if(q[b+8>>2]<4){break a}b=q[b>>2];if(!(r[b+5|0]&3)){break a}c=q[e>>2];if(!(r[c+5|0]&4)){break a}Qn(a,c,b)}return f}function Wea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-304|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;e=Mj(a,1);c=wi;g=c;d=Ds(a,2);q[b+44>>2]=0;q[b+40>>2]=0;Bo(q[d>>2],b+40|0,b+44|0);c=Qy(q[76921],e,c,q[b+40>>2],q[b+44>>2]);d=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{c:{if(c){if((d|0)!=(f|0)){break b}q[b+32>>2]=Mi(e,g);q[b+24>>2]=e;q[b+28>>2]=g;q[b+16>>2]=c;hj(b+48|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+16|0);q[b>>2]=b+48;h=Bi(a,70520,b);break c}if((d|0)!=(f|0)){break a}}ti=b+304|0;return h|0}J(71471,71492,322,71790);G()}J(71471,71492,325,71790);G()}function Mba(a,b){var c=0,d=0,e=x(0);a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break a}b=-1;c:{if(q[d+436>>2]!=2){break c}a=a+w(c,576)|0;if(!q[a+452>>2]){break c}c=q[a+440>>2];b=c&8191;c=(c>>>13&8191)-b|0;e=x(u[a+472>>2]*x(c|0));d:{if(x(y(e))>2];if((d|0)<1){break a}e=q[a>>2];q[c>>2]=r[e|0];e=d+e|0;d=Rj(a,e,c+4|0,6);if(d){b=d-9088|0;break a}q[c+8>>2]=q[a>>2];d=q[a>>2]+q[c+4>>2]|0;q[a>>2]=d;if((e-d|0)<1){break a}b=-9186;g=r[d|0];if(g>>>0>30|!(1<>2]=d+1;q[c+12>>2]=r[d|0];b=zq(a,e,c+16|0);if(b){b=b-9088|0;break a}q[c+20>>2]=q[a>>2];b=a;a=q[a>>2]+q[c+16>>2]|0;q[b>>2]=a;b=-9190;if((a|0)!=(e|0)){break a}b=0;q[c+24>>2]=0}ti=f+16|0;return b}function ls(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;e=q[a+8>>2];c=dj(e,-1,g+12|0);b=q[g+12>>2];d=a+12|0;f=q[a>>2];a:{if(b>>>0<=(d-f|0)+1024>>>0){Gi(f,c,b);q[a>>2]=q[a>>2]+q[g+12>>2];Ci(e,-2);break a}b=f-d|0;if(b){Ni(q[a+8>>2],d,b);q[a>>2]=d;q[a+4>>2]=q[a+4>>2]+1;hk(e,-2)}b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)<1){break a}d=q[a+8>>2];i=Mk(d,-1);c=1;while(1){b:{b=c+1|0;h=c;e=Mk(d,c^-1);f=q[a+4>>2];c=e>>>0>>0|(f-c|0)>8;h=c?b:h;if(!c){break b}i=e+i|0;c=b;if((f|0)>(h|0)){continue}}break}Ol(d,h);q[a+4>>2]=(q[a+4>>2]-h|0)+1}ti=g+16|0}function V7(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[215595];if(c){f=q[215594]+(Qwa(a,b,c)<<2)|0;d=q[f>>2];if((d|0)==-1){break a}e=q[215596];c=e+w(d,24)|0;if(q[c>>2]!=(a|0)|q[c+4>>2]!=(b|0)){while(1){d=q[(w(d,24)+e|0)+16>>2];if((d|0)==-1){J(160767,160508,366,160734);G()}g=c;c=w(d,24)+e|0;if((a|0)!=q[c>>2]|q[c+4>>2]!=(b|0)){continue}break}}q[215600]=q[215600]-1;a=q[(w(d,24)+e|0)+16>>2];b:{if(!g){q[f>>2]=a;break b}q[g+16>>2]=a}a=q[215599];q[215599]=d;q[(w(d,24)+e|0)+16>>2]=a;return}J(160713,160508,334,160734);G()}J(160740,160508,340,160734);G()}function M0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=0,i=x(0);e=ti-48|0;ti=e;b=mk(a,1,q[212905]);a:{if(b){h=Ri(a,2);break a}h=Ri(a,1);b=Li(a,2,q[212905],0);c=u[b>>2];f=u[b+4>>2];b:{if(c!=c|f!=f){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];g=u[b+12>>2];v[e+16>>3]=f;v[e+32>>3]=g;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=2;Bi(a,128909,e)}c=u[b+12>>2];f=u[b>>2];d=u[b+4>>2];g=u[b+8>>2];b=jj(a,16);i=c;c=x(h);u[b+12>>2]=i*c;u[b+8>>2]=g*c;u[b+4>>2]=d*c;u[b>>2]=f*c;Ki(a,-1e4,128704);ij(a,-2);ti=e+48|0;return 1}function Ls(a){var b=0,c=0;b=q[a+16>>2];if(b){while(1){c=q[b+92>>2];if(c){xi[c|0](b)}b=q[b+88>>2];if(b){continue}break}}yi(q[a+24>>2]);b=q[a+40>>2];if(b){while(1){c=q[b+4100>>2];yi(b);b=c;if(b){continue}break}}b=q[a+44>>2];if(b){while(1){c=q[b+4100>>2];yi(b);b=c;if(b){continue}break}}b=q[a+36>>2];if(b){yi(b)}a:{b=q[a+32>>2];if(b){yi(b);break a}J(166921,166882,124,166931);G()}Zn(q[a+28>>2]);q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function B7(a,b){var c=0,d=0;c=ti-624|0;ti=c;Fi(c+48|0,0,576);q[c+64>>2]=-1791696896;q[c+68>>2]=100;q[c+604>>2]=c+88;d=pk();q[c+84>>2]=0;q[c+72>>2]=d;q[c+76>>2]=wi;q[c+56>>2]=a;q[c+16>>2]=0;q[c+20>>2]=0;q[c+36>>2]=1;q[c+40>>2]=0;q[c+12>>2]=1358;q[c+24>>2]=0;q[c+28>>2]=0;q[c+32>>2]=0;q[c+24>>2]=1354;q[c+20>>2]=1355;q[c+12>>2]=1356;q[c+8>>2]=c+48;b=qz(c+8|0,b+72|0,s[b+136>>1],0);a:{if(!b){a=-2;break a}q[c+48>>2]=b;a=w7(b);rz(b);b:{switch(a|0){case 1:a=q[c+616>>2]==404?-3:-1e3;break a;case 0:break a;default:break b}}a=-1}ti=c+624|0;return a}function mt(a,b,c,d){var e=0,f=0;e=ti-288|0;ti=e;a:{b:{c:{d:{e:{f:{f=q[a+8>>2];if(f>>>0>=t[a+4>>2]){if(2147418112/(d>>>0)>>>0<=b>>>0){break f}if(b>>>0<=f>>>0){break b}if(!c){break d}c=b;f=Swa(c);if(!wi&(f|0)==1){break d}c=qta(c);if(!c|t[a+8>>2]>=c>>>0){break e}if(b>>>0<=c>>>0){break c}Rl(91937,17,1,q[52088]);G();G()}J(91757,91778,12,91827);G()}J(91845,91778,17,91827);G()}J(91893,91778,27,91827);G()}c=b}b=w(c,d);d=nl(q[a>>2],b);if(!d){q[e>>2]=b;Zm(e+32|0,91955,e);break a}q[a>>2]=d;q[a+8>>2]=c}ti=e+288|0;return}ey(e+32|0,q[52088]);G();G()}function Uy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=ti-1056|0;ti=f;a:{if(b){if(!e){break a}q[f+1048>>2]=0;k=q[a+5140>>2];wj(k);q[f>>2]=24386;q[f+4>>2]=b;hj(f+16|0,1024,24380,f);h=f+16|0;j=h;while(1){g=r[j|0];b:{c:{if((g|0)!=47){if(g){break c}o[h|0]=0;i=vl(f+16|0,Ui(f+16|0));g=wi;h=g;g=_F(a,f+16|0,i,g,e,f+12|0);d:{if(g){break d}g=0;if(q[e>>2]){break d}g=gG(a,q[f+12>>2],b,f+16|0,i,h,c,d,e)}qj(k);ti=f+1056|0;return g}if((i&255)==47){break b}}o[h|0]=g;h=h+1|0}j=j+1|0;i=g;continue}}J(25156,24451,1203,25161);G()}J(25176,24451,1204,25161);G()}function T3(a,b){var c=0,d=0,e=0;d=Oi(116);c=d;q[c>>2]=0;q[c+4>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+48>>2]=-1;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;e=c+60|0;c=e;q[c>>2]=0;q[c+4>>2]=0;c=d;q[c+68>>2]=0;q[c+72>>2]=0;q[c+76>>2]=0;q[c+80>>2]=0;q[c+84>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;q[c+104>>2]=0;q[c+108>>2]=0;q[c+112>>2]=0;E6(c,q[a>>2]);if(o[c+64|0]&1){J(147316,147260,493,147391);G()}Ii(0,64,d+52|0,e,d+56|0);q[b>>2]=d;return 0}function R7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+(e<<6)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[((e<<6)+f|0)+56>>2];if((e|0)==-1){J(167383,167022,366,167350);G()}h=d;d=(e<<6)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[((e<<6)+f|0)+56>>2];b:{if(!h){q[g>>2]=b;break b}q[h+56>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[((e<<6)+f|0)+56>>2]=b;return}J(167329,167022,334,167350);G()}J(167356,167022,340,167350);G()}function Lu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b&65535)==65535){break a}f=a+155708|0;while(1){e=(b<<16>>16<<6)+a|0;if(s[e+88150>>1]){c=g;break a}hG(a,e+88112|0,0,0);b:{b=q[a+155712>>2];c:{if(!b){break c}d=e+88136|0;c=q[d>>2];d=q[d+4>>2];b=q[q[f>>2]+(Qwa(c,d,b)<<2)>>2];if((b|0)==-1){break c}i=q[a+155716>>2];while(1){b=i+(b<<4)|0;if(q[b>>2]==(c|0)&(d|0)==q[b+4>>2]){break b}b=q[b+12>>2];if((b|0)!=-1){continue}break}}J(29053,28238,298,29099);G()}YH(f,c,d);c=1;h=g^1|h;g=1;b=s[e+88144>>1];if((b|0)!=65535){continue}break}}return c&h&1}function uK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=ti-16|0;ti=d;a:{b:{c:{d:{if(o[b+28|0]&1){break d}e=q[b+8>>2];f=q[e+8>>2];if(!f){break d}if(o[b+24|0]&1){break c}h=b;g=b;Ii(f,4,b+12|0,b+20|0,b+16|0);b=0;while(1){if(t[e+8>>2]<=b>>>0){break b}c=q[(q[e+4>>2]+w(b,80)|0)+4>>2];if(c){c=Nj(a,c,d+12|0);if(c){break d}c=q[g+16>>2];if((c|0)==q[h+20>>2]){break a}i=q[d+12>>2];q[g+16>>2]=c+4;q[c>>2]=i}b=b+1|0;if((f|0)!=(b|0)){continue}break}c=0}ti=d+16|0;return c}J(54523,54598,493,54654);G()}J(54439,54451,244,54512);G()}J(54666,54598,533,54690);G()}function lN(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=q[a+16>>2];b=q[d+48>>2];c=q[b>>2];a:{if((b|0)==(c|0)){q[d+48>>2]=0;break a}q[b>>2]=q[c>>2]}q[c>>2]=q[q[d+112>>2]>>2];q[q[d+112>>2]>>2]=c;o[c+5|0]=r[d+20|0]&3|r[c+5|0]&248;b=q[c+8>>2];b:{if(!b|r[b+6|0]&4){break b}b=On(b,2,q[q[a+16>>2]+196>>2]);if(!b){break b}f=q[d+64>>2];g=r[a+57|0];o[a+57|0]=0;q[d+64>>2]=q[d+68>>2]<<1;h=q[b+4>>2];e=q[a+8>>2];q[e>>2]=q[b>>2];q[e+4>>2]=h;q[e+8>>2]=q[b+8>>2];b=q[a+8>>2];q[b+16>>2]=c;q[b+24>>2]=7;c=q[a+8>>2];q[a+8>>2]=c+32;El(a,c,0);o[a+57|0]=g;q[d+64>>2]=f}}function DK(a){a=a|0;var b=0;b=ti-32|0;ti=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;Ul(a,b);ti=b+32|0;return 1}function pna(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=ti-48|0;ti=f;a:{b:{g=q[q[a>>2]+104>>2];a=q[g+20>>2];c:{if(!a){break c}a=q[q[g+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}g=q[g+24>>2];while(1){h=g+w(a,12)|0;if(q[h>>2]==(d|0)){break b}a=q[h+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[300976]){break a}o[300976]=1;q[f>>2]=d;Ai(4,36048,36868,f);break a}a=q[(g+w(a,12)|0)+4>>2]}q[f+28>>2]=c;q[f+24>>2]=b;b=q[a+4>>2];q[f+32>>2]=d;q[f+16>>2]=e;q[f+20>>2]=b;a=xi[q[a+16>>2]](f+40|0,f+16|0)|0;ti=f+48|0;return a|0}function oG(a,b,c,d,e,f,g){if((d^g)&255){xi[q[77481]](a,d&15,d>>>4&15)}d=d>>>11&1;if((d|0)!=(g>>>11&1)){xi[q[77492]](a,d)}g=c>>>5&255;if((g|0)!=(f>>>5&255)){xi[q[77486]](a,g)}f=c^f;d=b;g=e^d;if(g&15){xi[q[77482]](a,(d&8)>>>3|0,(d&4)>>>2|0,(d&2)>>>1|0,d&1)}if(g&29360128|f&536862720){xi[q[77488]](a,0,d>>>22&7,c>>>21&255,c>>>13&255)}if(f&536862748){xi[q[77488]](a,1,c>>>2&7,c>>>21&255,c>>>13&255)}if(g&4186112){xi[q[77490]](a,0,d>>>13&7,d>>>19&7,d>>>16&7)}if(g&-33554432|f&3){xi[q[77490]](a,1,d>>>25&7,((c&2147483647)<<1|b>>>31)&7,d>>>28&7)}}function oea(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=x(f);var g=0,h=0,i=0;g=ti-32|0;ti=g;a:{b:{h=q[q[a>>2]+104>>2];a=q[h+20>>2];c:{if(!a){break c}a=q[q[h+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}h=q[h+24>>2];while(1){i=h+w(a,12)|0;if(q[i>>2]==(d|0)){break b}a=q[i+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[300976]){break a}o[300976]=1;q[g>>2]=d;Ai(4,36048,36868,g);break a}a=q[(h+w(a,12)|0)+4>>2]}h=q[a+20>>2];if(h){q[g+20>>2]=c;q[g+16>>2]=b;a=q[a+4>>2];q[g+24>>2]=d;q[g+8>>2]=e;q[g+12>>2]=a;xi[h|0](g+8|0,f)}ti=g+32|0}function gr(a,b){var c=0,d=0;c=q[b+84>>2];if((c|0)!=296840){Pi(q[a>>2],c)}ct(a,b);c=q[b+140>>2];a:{if(!(q[b+136>>2]&-65536^2147418112)){break a}Bv(a,b);c=s[b+140>>1]}yi(b);b:{c:{d:{b=c&32767;d=q[a+1036>>2];if(b>>>0>2]-d>>2>>>0){q[d+(b<<2)>>2]=0;d=q[a+1052>>2];if(!d){break d}c=s[a+1058>>1];if(!c|c>>>0>s[a+1056>>1]){break c}c=c-1|0;p[a+1058>>1]=c;p[((c&65535)<<1)+d>>1]=b;if(t[a+3168>>2]>s[a+1058>>1]){break b}return}J(12518,10061,479,9553);G()}J(12558,12467,140,12553);G()}J(12589,12467,141,12553);G()}J(7941,7291,783,8015);G()}function ap(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=a+2040|0;a:{f=a+2048|0;c=q[f>>2];g=a+2044|0;d=q[g>>2];h=(c-d|0)/48|0;if(h>>>0>>0){if(o[a+2052|0]&1){break a}d=(c-q[a+2040>>2]|0)/48|0;c=b-h|0;Ii(d+(c>>>0>256?c:256)|0,48,e,f,g);if(o[a+2116|0]&1){break a}Ii((q[a+2048>>2]-q[a+2040>>2]|0)/48|0,4,a+2104|0,a+2112|0,a+2108|0);d=q[a+2044>>2];c=q[a+2048>>2]}f=b;b=q[e>>2];e=f+((d-b|0)/48|0)|0;if((c-b|0)/48>>>0>=e>>>0){q[a+2136>>2]=-1;q[a+2140>>2]=0;q[a+2044>>2]=b+w(e,48);return d}J(110219,110092,506,110238);G()}J(110017,110092,493,110148);G()}function Wda(a,b){a=a|0;b=b|0;var c=0;a:{b:{c:{if(a){if(!b){break a}if(s[b+192>>1]){a=0;while(1){uc(a|0);d:{if(!(r[q[77547]+156|0]&64)){break d}c=K()|0;if(!c){break d}Vi(c,87557,1821);J(84254,84160,1821,87557);G()}a=a+1|0;if(a>>>0>1]){continue}break}}Q(34962,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}Q(34963,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}return}J(84152,84160,1815,87557);G()}Vi(a,87557,1825);J(84254,84160,1825,87557);G()}Vi(a,87557,1828);J(84254,84160,1828,87557);G()}J(87439,84160,1816,87557);G()}function P7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,48)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,48)+f|0)+40>>2];if((e|0)==-1){J(27390,27072,366,27357);G()}h=d;d=w(e,48)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,48)+f|0)+40>>2];b:{if(!h){q[g>>2]=b;break b}q[h+40>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,48)+f|0)+40>>2]=b;return}J(27336,27072,334,27357);G()}J(27363,27072,340,27357);G()}function N7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)==-1){break a}f=q[a+8>>2];d=f+w(e,24)|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){while(1){e=q[(w(e,24)+f|0)+16>>2];if((e|0)==-1){J(43418,43153,366,43385);G()}h=d;d=w(e,24)+f|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(e,24)+f|0)+16>>2];b:{if(!h){q[g>>2]=b;break b}q[h+16>>2]=b}b=q[a+20>>2];q[a+20>>2]=e;q[(w(e,24)+f|0)+16>>2]=b;return}J(43364,43153,334,43385);G()}J(43391,43153,340,43385);G()}function Aia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-80|0;ti=d;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);g=Mj(a,2);c=wi;b=d;q[b+72>>2]=Mj(a,3);q[b+76>>2]=wi;q[b+64>>2]=g;q[b+68>>2]=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[61960];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],f,c,b- -64|0,16);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(67590,67401,387,67634);G()}ti=d+80|0;return 0}function yja(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=ti-48|0;ti=f;a:{b:{g=q[q[a>>2]+104>>2];a=q[g+20>>2];c:{if(!a){break c}a=q[q[g+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break c}g=q[g+24>>2];while(1){h=g+w(a,12)|0;if(q[h>>2]==(d|0)){break b}a=q[h+8>>2];if((a|0)!=-1){continue}break}}a=0;if(r[300976]){break a}o[300976]=1;q[f>>2]=d;Ai(4,36048,36868,f);break a}a=q[(g+w(a,12)|0)+4>>2]}g=q[a+12>>2];if(g){q[f+28>>2]=c;q[f+24>>2]=b;a=q[a+4>>2];q[f+32>>2]=d;q[f+16>>2]=e;q[f+20>>2]=a;xi[g|0](f+40|0,f+16|0)}ti=f+48|0}function ck(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+16>>2];if(t[e+68>>2]>=t[e+64>>2]){_l(a)}e=a;f=c;d=q[a+20>>2];g=a+72|0;a:{if((d|0)==q[a+40>>2]){break a}g=q[q[d+4>>2]>>2]+12|0}e=PX(e,f,q[g>>2]);q[e+16>>2]=b;d=q[a+8>>2];b=d-(c<<4)|0;q[a+8>>2]=b;if(c){d=d-16|0;f=q[d+4>>2];c=c-1|0;b=e+(c<<4)|0;q[b+24>>2]=q[d>>2];q[b+28>>2]=f;q[b+32>>2]=q[d+8>>2];if(c){while(1){c=c-1|0;d=c<<4;b=d+e|0;d=d+q[a+8>>2]|0;f=q[d+4>>2];q[b+24>>2]=q[d>>2];q[b+28>>2]=f;q[b+32>>2]=q[d+8>>2];if(c){continue}break}}b=q[a+8>>2]}q[b+8>>2]=6;q[b>>2]=e;q[a+8>>2]=q[a+8>>2]+16}function xj(a,b){var c=0,d=0,e=0;d=ti-16|0;ti=d;a:{b:{c:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break c}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break c}d:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break c;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break c;case 0:c=a+72|0;break c;default:break d}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}b=c;if(q[b+8>>2]==3){break b}b=du(b,d);if(b){break b}e=0;break a}e=v[b>>3]}ti=d+16|0;return e}function qaa(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=0,i=0,j=0,k=0;h=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);i=Li(a,-1,q[216371],198335);Ci(a,-2);b=a;a:{if(ek(a,1)){f=zi(Wi(a,1,0));g=wi;break a}f=Zk(a,1);g=wi}j=b;k=Wi(a,2,0);c=x(3.4028234663852886e+38);b:{if((Ei(a,3)|0)<1){break b}c=x(Ri(a,3))}if((Ei(a,4)|0)>=1){b=(Ej(a,4)|0)!=0}else{b=0}d=x(1);c:{if((Ei(a,5)|0)<1){break c}d=x(Ri(a,5))}e=x(0);d:{if((Ei(a,6)|0)<1){break d}e=x(Ri(a,6))}HI(j,i,f,g,k,c,b,d,e);if((h+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2264,200868);G()}return 1}function kI(a,b,c,d,e,f,g,h){var i=0,j=0;o[b+1|0]=0;o[b+2|0]=255;if(d){i=r[d+1|0];o[b+1|0]=i}f=(f?32-z(f)|0:0)&65535;j=q[a+412>>2]&134217728;a:{if(!j){a=e+1<>2]<<5>>31&15;o[c|0]=0;o[c+2|0]=0;a=r[b|0];o[c+1|0]=a;if(!d){break a}o[c|0]=r[d|0];o[c+1|0]=a|r[d+1|0]}o[c+3|0]=r[c+3|0]|15;if((f+h|0)+(j?e+1|0:g)>>>0>=9){Ai(3,193721,195640,0)}}function io(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=-4;f=q[e+4>>2];a:{if(f>>>0>2]+1>>>0){break a}h=q[e+8>>2];if(!h){break a}Fi(h,0,f<<2);g=q[e+8>>2];f=q[c+4>>2];if(f){h=q[b+4>>2];j=f>>>0>h>>>0?h:f;k=f+1<<2;h=0;while(1){l=q[g>>2];i=q[b+8>>2];m=q[i>>2];n=i;i=q[q[a+8>>2]+(h<<2)>>2];kx(j,n,g,i);kx(f,q[c+8>>2],g,w(w(i,m)+l|0,d));q[g>>2]=i;g=g+4|0;q[k+g>>2]=0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}Gi(q[a+8>>2],g,(f<<2)+4|0);g=0;if((Wr(a,c)|0)>=0){jx(f,q[c+8>>2],q[a+8>>2]);return 0}jx(f,q[a+8>>2],q[e+8>>2])}return g}function eY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=ti-16|0;ti=e;a:{b:{c=hm(a,2,10);if((c|0)==10){Ql(a,1);if(!Bj(a,1)){break b}f=xj(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=f;q[a+8>>2]=q[a+8>>2]+16;break a}b=Wi(a,1,0);if(c-2>>>0>=35){Qj(a,2,138856)}c=Jw(b,e+12|0,c);d=q[e+12>>2];if((b|0)==(d|0)){break b}b=r[d|0];if((b|0)==32|b-9>>>0<5){while(1){b=r[d+1|0];d=d+1|0;if((b|0)==32|b-9>>>0<5){continue}break}}if(b){break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}ti=e+16|0;return 1}function Dha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;q[d+12>>2]=0;b=TJ(q[a>>2],q[a+12>>2],q[a+16>>2],d+12|0);c=q[d+12>>2];a:{b:{if(b){b=-2;if(!c){break b}c:{if(o[c+24|0]&1){break c}a=q[c+12>>2];if(!a){break c}yi(a)}yi(c);break b}d:{if(!q[a+20>>2]|o[c+28|0]&1){break d}f=q[c+8>>2];e=q[f+8>>2];if(!e){break d}b=0;while(1){if(b>>>0>=e>>>0){break a}g=q[(q[f+4>>2]+w(b,80)|0)+4>>2];if(g){nk(q[a+20>>2],g);e=q[f+8>>2]}b=b+1|0;if(e>>>0>b>>>0){continue}break}}q[q[a+24>>2]>>2]=c;b=0}ti=d+16|0;return b|0}J(54439,54451,244,54512);G()}function Q_(a){a=a|0;var b=0,c=0,d=0;b=ti+ -64|0;ti=b;c=q[a+4>>2];a:{if(c>>>0<8){break a}q[b+48>>2]=1;c=c-7|0;q[b+52>>2]=c;d=-20352;if(c>>>0>9){break a}q[b+16>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+56>>2]=b;c=Gi(b,q[a+8>>2]+28|0,c<<2);d=Wk(c+48|0,31);if(d){break a}q[c+52>>2]=q[c+52>>2]+1;d=Lo(a,255,0);if(d){break a}d=q[a+4>>2];if(d>>>0>=9){Fi(q[a+8>>2]+32|0,0,(d<<2)-32|0)}d=wq(c+48|0,c+48|0,19);if(d){break a}d=Xr(a,a,c+48|0)}ti=b- -64|0;return d|0}function Di(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}b=d;c=Jj(a,c,Ui(c));q[e+8>>2]=4;q[e>>2]=c;eu(a,b,e,q[a+8>>2]-16|0);q[a+8>>2]=q[a+8>>2]-16;ti=e+16|0}function xea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;e=Zi(b+56|0,a,1,60730,826);a:{if((Ei(a,1)|0)==7){c=Li(a,1,q[76578],0);if(c){if(Ao(q[c>>2])){break a}}Bi(a,61079,0)}wk(a,1,60528);c=0}d=nr(q[c>>2],q[c+8>>2],q[c+12>>2],b+52|0,b+48|0);c=Mi(q[c+8>>2],q[c+12>>2]);b:{if(!d){d=q[b+52>>2];c:{if(d>>>0<=8){d=q[(d<<2)+273568>>2];break c}d=148710}q[b+16>>2]=q[b+48>>2];q[b>>2]=60513;q[b+4>>2]=60528;q[b+8>>2]=c;q[b+12>>2]=d;vj(a,61002,b);break b}q[b+40>>2]=c;q[b+36>>2]=60528;q[b+32>>2]=60513;vj(a,61039,b+32|0)}Yi(e);ti=b+80|0;return 1}function joa(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;q[d+12>>2]=0;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[60338],d+12|0)){hr(q[d+12>>2]);a:{c=q[d+12>>2];e=q[c+48>>2];if(!e){break a}if(q[c+56>>2]){b=0;while(1){nk(q[a+20>>2],q[q[c+52>>2]+(b<<2)>>2]);c=q[d+12>>2];b=b+1|0;if((e|0)==(b|0)){break a}if(t[c+56>>2]>b>>>0){continue}break}}J(20893,20905,45,20932);G()}e=q[c+144>>2];if(e){c=q[c+140>>2];b=0;while(1){nk(q[a+20>>2],q[c+(b<<2)>>2]);b=b+1|0;if((e|0)!=(b|0)){continue}break}c=q[d+12>>2]}q[q[a+24>>2]>>2]=c;b=0}ti=d+16|0;return b|0}function TJ(a,b,c,d){var e=0,f=0,g=0;e=ti-16|0;ti=e;f=-13;if(!Cj(b,c,q[61526],e+4|0)){c=Oi(32);b=c;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;f=b+8|0;b=f;q[b>>2]=0;q[b+4>>2]=0;b=q[e+4>>2];g=r[b+4|0];o[c+28|0]=g;o[c+28|0]=r[b+5|0]<<1|g;q[c>>2]=zi(q[b>>2]);q[c+4>>2]=wi;a:{b:{b=q[q[e+4>>2]>>2];c:{if(Nu(a,b,e+12|0,e+8|0)){f=-3;a=54356;break c}a=Cj(q[e+12>>2],q[e+8>>2],q[60170],f);yi(q[e+12>>2]);if(!a){break b}f=-2;a=54397}q[e>>2]=b;Ai(4,54348,a,e);break a}f=0}cj(q[e+4>>2]);q[d>>2]=c}ti=e+16|0;return f}function Mv(a,b){var c=0,d=0,e=0;c=ti+ -64|0;ti=c;d=q[b+80>>2];e=q[d+3128>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[d+3132>>2]-e>>6>>>0){J(12518,10061,479,9553);G()}b=e+(b<<6)|0;u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];Wo(a,c);ti=c- -64|0}function BE(a,b){var c=0,d=0,e=0,f=0;gj(a,0,0);f=q[a+8>>2]-q[a+12>>2]>>4;Hi(a,131718);Hi(a,q[b>>2]);$i(a,f);Hi(a,131723);Hi(a,131726);c=q[b+4>>2];gj(a,0,0);if(!(!c|!q[c>>2])){d=1;while(1){e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,q[c>>2]);$i(a,-3);d=d+1|0;e=q[c+4>>2];c=c+4|0;if(e){continue}break}}$i(a,f);gj(a,0,0);c=q[b+16>>2];if(!(!c|!q[c>>2])){d=1;while(1){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,$x(q[q[c>>2]>>2]));$i(a,-3);d=d+1|0;b=q[c+4>>2];c=c+4|0;if(b){continue}break}}$i(a,f)}function ir(a,b){var c=x(0),d=x(0),e=0,f=0,g=x(0),h=x(0),i=x(0),j=x(0),k=x(0),l=x(0),m=x(0),n=x(0);e=q[b+80>>2];f=q[e+3128>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[e+3132>>2]-f>>6>>>0){J(12518,10061,479,9553);G()}b=f+(b<<6)|0;g=u[b+28>>2];h=u[b+24>>2];i=u[b+20>>2];j=u[b+16>>2];k=u[b+44>>2];l=u[b+40>>2];m=u[b+36>>2];n=u[b+32>>2];c=u[b>>2];d=x(c*c);c=u[b+4>>2];d=x(d+x(c*c));c=u[b+8>>2];d=x(d+x(c*c));c=u[b+12>>2];u[a>>2]=F(x(d+x(c*c)));u[a+8>>2]=F(x(x(x(x(n*n)+x(m*m))+x(l*l))+x(k*k)));u[a+4>>2]=F(x(x(x(x(j*j)+x(i*i))+x(h*h))+x(g*g)))}function W0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0);e=ti-32|0;ti=e;a:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){break a}if(q[a+8>>2]-q[a+12>>2]>>4==1){if((Ei(a,-1)|0)==3){c=x(xj(a,-1));f=c;d=c;break a}b=Li(a,-1,q[212904],0);c=u[b>>2];f=u[b+4>>2];if(!(c!=c|f!=f)){d=u[b+8>>2];if(d==d){break a}}d=u[b+8>>2];v[e+16>>3]=f;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=-1;Bi(a,128819,e);d=u[b+8>>2];f=u[b+4>>2];c=u[b>>2];break a}c=x(Ri(a,1));f=x(Ri(a,2));d=x(Ri(a,3))}b=jj(a,16);u[b+8>>2]=d;u[b+4>>2]=f;u[b>>2]=c;Ki(a,-1e4,128688);ij(a,-2);ti=e+32|0;return 1}function e2(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;e=1;b=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-119|0){case 1:c=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:c=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 3:c=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 0:c=+u[b+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[d+4>>2]=128720;q[d>>2]=128752;e=Bi(a,129544,d)}ti=d+16|0;return e|0}function N0(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;e=1;b=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-119|0){case 1:c=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:c=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 3:c=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;case 0:c=+u[b+12>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[d+4>>2]=128704;q[d>>2]=128752;e=Bi(a,129544,d)}ti=d+16|0;return e|0}function QE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=ti-48|0;ti=e;a:{b:{g=r[265392];if((g|0)!=46){d=a;while(1){c:{c=r[d|0];d:{if((c-48&255)>>>0<10){break d}f=c-43|0;if((f|0)!=1?f>>>0<=3:0){break d}if(((c|32)-97&255)>>>0>24){break c}}d=d+1|0;continue}break}d=d-a|0;if(!d){q[b>>2]=a;break a}c=e+16|0;if((d|0)>=32){c=Ji(d+1|0);if(!c){break b}}c=Gi(c,a,d);o[c+d|0]=0;f=Oj(c,46);if(f){o[f|0]=g}h=Dt(c,e+12|0);q[b>>2]=(q[e+12>>2]-c|0)+a;if((d|0)<32){break a}yi(c);break a}h=Dt(a,b);break a}Rl(133559,13,1,q[52088]);G();G()}ti=e+48|0;return h}function Ki(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}b=d;c=Jj(a,c,Ui(c));q[e+8>>2]=4;q[e>>2]=c;is(a,b,e,q[a+8>>2]);q[a+8>>2]=q[a+8>>2]+16;ti=e+16|0}function yy(a,b,c){var d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;a:{b:{d=q[81761];c:{if(!d){break c}d=q[q[81760]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}f=q[81762];while(1){g=f+w(d,12)|0;if(q[g>>2]==(b|0)){break b}d=q[g+8>>2];if((d|0)!=-1){continue}break}}d=0;gj(a,0,0);if(!r[b+24|0]){break a}while(1){f=w(d,24);Hi(a,q[f+q[b+20>>2]>>2]);PF(a,f+q[b+20>>2]|0,c,c);tj(a,-3);d=d+1|0;if(d>>>0>2]](a,b,c)|0;if(!c){break a}b=q[b+4>>2];q[e+4>>2]=c;q[e>>2]=b;Bi(a,119341,e)}ti=e+16|0}function fn(a,b,c){var d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;q[e+12>>2]=c;a:{if(!r[a+16|0]){c=q[a+8>>2];break a}c=1;d=q[a+12>>2];f=q[a+8>>2];g=q[a+4>>2]+(f^-1)|0;d=(d|0)<(g|0)?d:g;if((d|0)>=1){o[q[a>>2]+f|0]=32;if((d|0)!=1){while(1){o[q[a>>2]+(q[a+8>>2]+c|0)|0]=32;c=c+1|0;if((d|0)!=(c|0)){continue}break}}f=q[a+8>>2]}o[a+16|0]=0;c=d+f|0;q[a+8>>2]=c}iq(q[a>>2]+c|0,q[a+4>>2]-c|0,b,q[e+12>>2]);o[(q[a+4>>2]+q[a>>2]|0)-1|0]=0;q[a+8>>2]=Ui(q[a>>2]);if(Oj(b,10)){o[a+16|0]=1}if(q[a+8>>2]>q[a+4>>2]){J(167627,167596,64,167652);G()}ti=e+16|0}function Uda(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;g=ti-32|0;ti=g;q[g+24>>2]=0;q[77398]=q[77398]+1;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;a:{b:{c:{if(a){if(!f){break c}Q(34963,f|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}rc(q[(b<<2)+87620>>2],d|0,q[(e<<2)+87472>>2],c|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}ti=g+32|0;return}J(84152,84160,1851,87588);G()}J(87607,84160,1852,87588);G()}Vi(a,87588,1854);J(84254,84160,1854,87588);G()}Vi(a,87588,1857);J(84254,84160,1857,87588);G()}function J5(a,b){var c=0,d=0,e=0;c=q[a+2012>>2];e=q[c+8>>2]-q[c+12>>2]|0;d=Fi(jj(c,332),0,304);q[d+324>>2]=-2;q[d+328>>2]=-2;q[d+316>>2]=0;q[d+320>>2]=-2;q[d+308>>2]=b;b=q[a+2036>>2];q[d+304>>2]=a;q[d+312>>2]=b;Ii(q[a+2016>>2],40,d,d+8|0,d+4|0);Bz(d+16|0,16,8);Qi(c,-1);q[d+320>>2]=kk(c,-1e4);gj(c,0,0);q[d+324>>2]=kk(c,-1e4);gj(c,0,0);q[d+328>>2]=kk(c,-1e4);Ki(c,-1e4,112876);ij(c,-2);jk(c);Ey(q[d+312>>2]);a=q[c+8>>2];q[a+8>>2]=0;q[c+8>>2]=a+16;jk(c);if(e>>4!=q[c+8>>2]-q[c+12>>2]>>4){J(110492,110389,3191,114173);G()}return d}function Ej(a,b){var c=0;a:{b:{c:{d:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break d}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break d}e:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break d;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break d;case 0:c=a+72|0;break d;default:break e}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}b=c;a=q[b+8>>2];switch(a|0){case 0:break a;case 1:break c;default:break b}}return q[b>>2]!=0}a=1}return a}function Qm(a){a=Fi(a,0,304);q[a+20>>2]=0;q[a+24>>2]=0;q[a+16>>2]=1065353216;q[a+28>>2]=0;q[a+32>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+36>>2]=1065353216;q[a+48>>2]=0;q[a+52>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+56>>2]=1065353216;q[a+68>>2]=0;q[a+72>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+76>>2]=1065353216;q[a+80>>2]=1065353216;q[a+92>>2]=0;q[a+96>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+100>>2]=1065353216;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=1065353216;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=1065353216}function Dy(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2]-q[a+12>>2]>>4;c=q[81756];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);a:{b:{c:{d:{if(Kl(a,-1)){Ni(a,117280,10);Vk(a,-2);Xk(a,-2);if(Ei(a,-1)){break d}Ci(a,-2)}Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(b|0)){break c}J(117787,117392,923,117771);G()}Qi(a,-2);zk(a,1,1);if((b+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){break b}c=Ej(a,-1);Ci(a,-3);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}e=(c|0)!=0}return e}J(117746,117392,916,117771);G()}J(117787,117392,919,117771);G()}function lia(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=Zi(b+56|0,a,0,68051,964);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;a:{if(!$l(a,b+24|0)){a=sj(d,70135,0);break a}Bs(a,q[76920]);c=aj(a,-1);Ci(a,-2);e=q[q[q[Tj(a)+80>>2]+8>>2]>>2];c=q[c+8>>2];if(t[q[e+4>>2]>>2]>c>>>0){c=q[((c<<2)+e|0)+12>>2]}else{c=0}if(!c){a=sj(d,68339,0);break a}a=kl(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];b:{if(o[c+141|0]&1){break b}}a=0}Yi(d);ti=b+80|0;return a|0}function bj(a,b,c){var d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;d=b>>>0>2]?b:135744;break a}d=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:d=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;d=a+88|0;break a;case 0:d=a+72|0;break a;default:break b}}d=q[q[q[a+20>>2]+4>>2]>>2];d=r[d+7|0]<(-10002-b|0)?135744:(d+(0-b<<4)|0)-160024|0}b=LX(q[d>>2],c);d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}function HC(a,b,c){var d=0,e=0;d=ti-80|0;ti=d;q[d+76>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=c;q[d+60>>2]=b;q[d+56>>2]=a;e=S(1,d+56|0)|0;if(e>>>0>=4294963201){q[242957]=0-e;e=-1}a:{if(!(b&526336)|((e|0)>-1|(q[242957]!=66?q[242957]!=28:0))){break a}q[d+44>>2]=0;q[d+48>>2]=0;q[d+40>>2]=c;q[d+32>>2]=a;q[d+36>>2]=b&-526337;q[d+52>>2]=0;e=S(1,d+32|0)|0;if(e>>>0>=4294963201){q[242957]=0-e;e=-1}if((e|0)<0){break a}if(b&524288){q[d+16>>2]=1;R(e|0,2,d+16|0)|0}if(!(b&2048)){break a}q[d>>2]=2048;R(e|0,4,d|0)|0}ti=d+80|0;return e}function iha(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=-2;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[61498],b+12|0)){break a}q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;e=q[a>>2];c=q[b+12>>2];d=r[c+4|0];o[b+8|0]=d;o[b+8|0]=d|r[c+5|0]<<1;c=Jk(q[c>>2]);q[b+4>>2]=c;b:{c:{if(d){cj(q[b+12>>2]);break c}c=Nj(e,c,b);cj(q[b+12>>2]);if(c){break b}}c=q[q[a+32>>2]+8>>2];d=q[c>>2];if(d){Pi(q[a>>2],d)}yi(q[c+4>>2]);q[c+8>>2]=q[b+8>>2];a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;c=0;break a}d=q[b>>2];if(d){Pi(q[a>>2],d)}yi(q[b+4>>2])}ti=b+16|0;return c|0}function Sba(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=q[a+100>>2];a:{if(!d){break a}d=q[q[a+96>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}f=q[a+104>>2];while(1){e=f+(d<<4)|0;if(q[e>>2]!=(b|0)|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}b=q[a+68>>2];if(!b){break a}c=q[(f+(d<<4)|0)+8>>2];d=q[q[a+64>>2]+((c>>>0)%(b>>>0)<<2)>>2];if((d|0)==-1){break a}a=q[a+72>>2];while(1){b=a+w(d,24)|0;if((c|0)!=q[b>>2]){d=q[b+16>>2];if((d|0)!=-1){continue}break a}break}a=a+w(d,24)|0;g=q[a+8>>2];h=q[a+12>>2]}wi=h;return g}function dqa(a,b){var c=0,d=0,e=0;c=ti-16|0;ti=c;a:{if(Nj(q[a+288>>2],3954,a+408|0)){q[c>>2]=3954;Ai(5,1076,3988,c);break a}q[q[a+220>>2]+2176>>2]=q[a+408>>2];b:{if(r[a+442|0]){break b}if(!Fj(q[a+4>>2],4025,1)){break b}l4(q[a+288>>2])}d=xm(b,4050,0);if(d){if(Nj(q[a+288>>2],d,c+12|0)){break a}j7(q[a+416>>2],q[c+12>>2]);Pi(q[a+288>>2],q[c+12>>2])}d=xm(b,4065,4084);if(Nj(q[a+288>>2],d,a+420|0)){break a}d=xm(b,4111,4128);if(Nj(q[a+288>>2],d,a+428|0)){break a}b=xm(b,4161,4186);e=!Nj(q[a+288>>2],b,a+424|0)}ti=c+16|0;return e}function Tl(a,b,c,d){var e=0,f=0,g=0;e=ti-32|0;ti=e;a:{f=q[a+8>>2]-q[a+12>>2]>>4;if((f|0)>-1){ik(a,b,c);c=q[a+8>>2]-q[a+12>>2]>>4;ks(a,b);b=wF(a,b);g=q[a+8>>2]-q[a+12>>2]|0;ik(a,0,d);Ni(a,117734,11);Qi(a,c);$i(a,g>>4);Ci(a,-3);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(f|0)){break a}ti=e+32|0;return b}q[e+12>>2]=f;q[e+4>>2]=705;q[e+8>>2]=0;q[e>>2]=117392;Ai(4,117469,118011,e);J(118083,117392,1468,118100);G()}q[e+28>>2]=a;q[e+24>>2]=f;q[e+20>>2]=705;q[e+16>>2]=117392;Ai(4,117469,118114,e+16|0);J(118185,117392,1491,118204);G()}function vga(a){a=a|0;var b=0,c=0,d=0,e=0;c=q[a+4>>2];b=Oi(32);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=nK(q[a>>2],q[a+12>>2],q[a+16>>2],c,b);if(!c){q[q[a+24>>2]+8>>2]=b;Qp(q[a>>2],474,b);return c|0}e=q[a>>2];a=q[b+28>>2];if(a){Pi(e,a)}d=q[b>>2];if((d|0)!=q[b+4>>2]){a=0;while(1){Pi(e,q[(a<<2)+d>>2]);a=a+1|0;d=q[b>>2];if(a>>>0>2]-d>>2>>>0){continue}break}}a=q[b+24>>2];if(a){CG(a)}a:{if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}yi(a)}yi(b);return c|0}function Dea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;e=Tj(a);c=kl(a,2);u[b+64>>2]=u[c>>2];u[b+68>>2]=u[c+4>>2];u[b+72>>2]=u[c+8>>2];q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);c=q[62022];fk(b,b+32|0,q[c+8>>2],q[c+12>>2],e,c,b- -64|0,16);if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(76727,76748,403,76877);G()}ti=b+80|0;return 0}function aj(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}b=c;a=0;c:{switch(q[b+8>>2]-2|0){case 5:return q[b>>2]+32|0;case 0:a=q[b>>2];break;default:break c}}return a}function TS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-32|0;ti=b;d=pl(a,132701);e=Wi(a,2,0);f=nj(e,133149);c=133151;a:{if(!f){break a}c=Wi(a,3,0)}g=d+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=2;q[b>>2]=0;q[b+4>>2]=0;h=q[d+32>>2];q[b+4>>2]=h;b:{c:{if(f){c=Zx(d,d+32|0,e,c,g,b);if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,c);a=2;break b}rp(a,132669,1);break c}tZ(d,h,g);rp(a,132684,1)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=b+32|0;return a|0}function CA(a){var b=0,c=0;c=q[a>>2];b=q[a+4>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+8>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+12>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+16>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+20>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+24>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+28>>2];if((b|0)!=-2){Aj(c,-1e4,b)}Aj(c,-1e4,q[a+48>>2]);a:{if(o[a- -64|0]&1){break a}c=q[a+52>>2];if(!c){break a}yi(c)}a=Fi(a,0,68);q[a+48>>2]=-2;q[a+28>>2]=-2;q[a+20>>2]=-2;q[a+24>>2]=-2;q[a+12>>2]=-2;q[a+16>>2]=-2;q[a+4>>2]=-2;q[a+8>>2]=-2}function q9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=ti-32|0;ti=c;a:{b=fj(a,1,c+28|0);if(!(r[b+415|0]&16)){d=vm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(c,j,q[c+28>>2],6);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+96>>2]=e;u[b+108>>2]=f;u[b+104>>2]=g;u[b+100>>2]=h;q[b+412>>2]=q[b+412>>2]|4194304}ti=c+32|0;return 0}J(196277,196298,164,196320);G()}function Sna(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;e=Zi(b+72|0,a,1,15841,2163);Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);d=q[c+4>>2];c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;$l(a,b+40|0);q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+8|0,b+40|0);d=(Vm(q[q[d+80>>2]+8>>2],q[b+24>>2],q[b+28>>2])|0)!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=b+96|0;return 1}function O7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(120442,120355,340,120436);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(120469,120355,366,120436);G()}J(120415,120355,334,120436);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function K2(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=0,g=0,h=0,i=0,j=0,k=0;f=Ri(a,1);g=Ri(a,2);h=Ri(a,3);i=Ri(a,4);j=Ri(a,5);k=Ri(a,6);b=jj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;d=x(g);e=x(f);c=x(x(1)/x(d-e));u[b>>2]=c+c;q[b+24>>2]=0;q[b+28>>2]=0;q[b+60>>2]=1065353216;u[b+48>>2]=c*x(-x(e+d));q[b+44>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;d=x(i);e=x(h);c=x(x(1)/x(d-e));u[b+20>>2]=c+c;q[b+32>>2]=0;q[b+36>>2]=0;u[b+52>>2]=c*x(-x(e+d));d=x(j);e=x(k);c=x(x(1)/x(d-e));u[b+56>>2]=x(d+e)*c;u[b+40>>2]=c+c;Ki(a,-1e4,128736);ij(a,-2);return 1}function G3(a){var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;c=Nv(a);a:{if(c){break a}c=Rz(a);if(!c){c=0;break a}c=q[q[c+344>>2]+12>>2]}b:{if(!Ei(a,1)){break b}c=q[q[c+80>>2]+8>>2];q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;qk(a,1,b+16|0,0);c:{if(!c){break c}d=q[c>>2];if(!d){break c}e=q[d+3216>>2];f=q[d+3220>>2]}if((e|0)!=q[b+16>>2]|(f|0)!=q[b+20>>2]){Bi(a,53729,0)}c=Vm(c,q[b+32>>2],q[b+36>>2]);if(c){break b}c=0;q[b>>2]=dj(a,1,0);Bi(a,53799,b)}ti=b+48|0;return c}function y1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;e=Wi(a,1,0);mj(a,2,5);a:{b:{d=RF(a,2);if(d>>>0<524289){c=327168;break b}q[b+44>>2]=0;xo(b+44|0,16,d);c=q[b+44>>2];if(c){break b}q[b>>2]=d;a=Bi(a,124060,b);break a}d=Cs(a,c,d,2);f=il(e,124113);if(!f){if((c|0)!=327168){yi(c)}q[b+16>>2]=e;a=Bi(a,124116,b+16|0);break a}d=(Rl(c,1,d,f)|0)==(d|0)&!Ak(f);if((c|0)!=327168){yi(c)}if(!d){xn(e);q[b+32>>2]=e;a=Bi(a,124116,b+32|0);break a}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=b+48|0;return a|0}function Vk(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=os(q[c>>2],q[a+8>>2]-16|0);c=q[b+4>>2];a=q[a+8>>2]-16|0;q[a>>2]=q[b>>2];q[a+4>>2]=c;q[a+8>>2]=q[b+8>>2]}function Tm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-576|0;ti=d;q[d+572>>2]=c;b=iq(d+48|0,512,b,c);a:{if((b|0)<=511){c=Mi(q[a+64>>2],q[a+68>>2]);e=bm(q[a>>2],q[a+4>>2]);f=Mi(q[a+16>>2],q[a+20>>2]);g=Mi(q[a+24>>2],q[a+28>>2]);h=bm(q[a+32>>2],q[a+36>>2]);i=Mi(q[a+48>>2],q[a+52>>2]);q[d+40>>2]=Mi(q[a+56>>2],q[a+60>>2]);q[d+36>>2]=i;q[d+32>>2]=h;q[d+28>>2]=g;q[d+24>>2]=f;q[d+20>>2]=e;q[d+16>>2]=c;if((hj(b+(d+48|0)|0,512-b|0,53106,d+16|0)+b|0)<511){break a}}Ai(4,53152,53160,0)}q[d>>2]=d+48;Ai(4,53152,53225,d);ti=d+576|0}function Gqa(a,b,c,d,e){var f=0,g=0,h=0;f=ti-16|0;ti=f;h=2;a:{b:{c:{d:{if((c|0)!=2){break d}if(!Yp(e,f+12|0)){break d}if(!yL(e,q[f+12>>2],f+8|0)){break d}c=q[d+4>>2];if((c&-268435456)==805306368){break c}if((c&264241152)!=50331648){break b}g=q[f+8>>2];e=q[f+12>>2];c=Oqa(b,e);h=0;if(r[a+12|0]){break d}g=Gi(c,g,e);a=q[a+4>>2]+q[d+12>>2]|0;if(q[a+4>>2]){break a}c=o[b+48|0]&1?g-q[b+32>>2]|0:c;q[a+4>>2]=e;q[a>>2]=c}ti=f+16|0;return h}J(23153,23110,134,23186);G()}J(23627,23110,349,23662);G()}J(23671,23110,359,23662);G()}function s9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=ti-32|0;ti=c;a:{b=fj(a,1,c+28|0);if(!(r[b+415|0]&16)){d=vm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(c,j,q[c+28>>2],2);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+32>>2]=e;u[b+44>>2]=f;u[b+40>>2]=g;u[b+36>>2]=h;q[b+412>>2]=q[b+412>>2]|4194304}ti=c+32|0;return 0}J(196277,196298,164,196320);G()}function gJ(a,b,c,d,e,f){var g=0,h=0;g=ti-16|0;ti=g;q[g+4>>2]=d;h=-4;if(q[a+120>>2]!=q[a+112>>2]-q[a+104>>2]>>4){if(!q[a+340>>2]){q[a+340>>2]=d}q[g+8>>2]=e;q[g+12>>2]=f;e=a- -64|0;f=q[a+88>>2];if((f|0)==((q[a+80>>2]-q[a+72>>2]|0)/24|0)){f=f+8|0;vz(e,(f<<1)/3|0,f)}wz(e,d,g+8|0);wm(a+96|0,b,c,g+4|0);e=q[a+32>>2];d=q[a+36>>2]-e|0;a=(d|0)/576|0;if(d){f=a>>>0>1?a:1;a=0;while(1){d=e+w(a,576)|0;if(q[d+480>>2]==(b|0)&q[d+484>>2]==(c|0)){q[d+488>>2]=q[g+4>>2]}a=a+1|0;if((f|0)!=(a|0)){continue}break}}h=0}ti=g+16|0;return h}function aca(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;Fi(q[a+96>>2],255,q[a+100>>2]<<2);q[a+116>>2]=-1;q[a+120>>2]=0;q[a+108>>2]=q[a+104>>2];f=q[a+32>>2];e=q[a+36>>2]-f|0;c=(e|0)/576|0;if(e){g=c>>>0>1?c:1;e=a- -64|0;c=0;while(1){d=w(c,576)+f|0;h=d;b=q[a+68>>2];a:{if(!b){break a}d=q[d+488>>2];b=q[q[e>>2]+((d>>>0)%(b>>>0)<<2)>>2];if((b|0)==-1){break a}i=q[a+72>>2];while(1){b=w(b,24)+i|0;if((d|0)!=q[b>>2]){b=q[b+16>>2];if((b|0)!=-1){continue}break a}break}sH(e,d)}q[h+488>>2]=0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function N9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=ti-32|0;ti=c;a:{b=fj(a,1,c+28|0);if(!(r[b+415|0]&16)){d=vm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(c,j,q[c+28>>2],3);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+48>>2]=e;u[b+60>>2]=f;u[b+56>>2]=g;u[b+52>>2]=h;q[b+412>>2]=q[b+412>>2]|4194304}ti=c+32|0;return 0}J(196277,196298,164,196320);G()}function B9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=ti-32|0;ti=c;a:{b=fj(a,1,c+28|0);if(!(r[b+415|0]&16)){d=vm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(c,j,q[c+28>>2],5);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+80>>2]=e;u[b+92>>2]=f;u[b+88>>2]=g;u[b+84>>2]=h;q[b+412>>2]=q[b+412>>2]|4194304}ti=c+32|0;return 0}J(196277,196298,164,196320);G()}function sca(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:{if(a){_b(q[(b<<2)+88328>>2],q[(c<<2)+88400>>2],q[(d<<2)+88400>>2],q[(e<<2)+88400>>2]);if(r[q[77547]+156|0]&64){f=K()|0;if(f){break a}}f=q[a+72>>2];g=q[a+76>>2];if((b|0)==1){h=c<<25&234881024;b=d&7;c=b>>>1|0;q[a+72>>2]=f&33554431|(e<<28&1879048192|(h|b<<31));q[a+76>>2]=c|g&-4;return}q[a+72>>2]=f&-4186113|(e<<16&458752|(d<<19&3670016|c<<13&57344));q[a+76>>2]=g;return}J(84221,84160,3579,88359);G()}Vi(f,88359,3592);J(84254,84160,3592,88359);G()}function YG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){f=a;a:{b:{c:{d=r[a|0];if(d){while(1){h=e;c=f;d:{if((d&255)!=35){if((d&255)!=58){break d}f=g|h;e=0;g=c;if(!f){break d}return-5}e=c;if(!h){break d}return-5}f=c+1|0;d=r[c+1|0];if(d){continue}break}if(g){break c}}d=0;break b}d=g-a|0;c=-5;if(d>>>0>63){break a}i=a;a=g+1|0}q[b+8>>2]=a;q[b+4>>2]=d;q[b>>2]=i;c=e+1|0;q[b+16>>2]=e?c:0;q[b+12>>2]=(e?e:f)-a;q[b+20>>2]=e?f-c|0:0;c=0}return c}q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;return 0}function Pma(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{b=q[a+80>>2];d=q[b+20>>2];c=q[b+24>>2];if((d|0)!=(c|0)){e=q[b+16>>2];if(!e){break c}if(c>>>0>=d>>>0){break b}q[b+24>>2]=c+1;c=q[(c<<2)+e>>2];d=q[b+4>>2];b=q[b>>2];if(c>>>0>=d-b>>7>>>0){break a}b=Fi(b+(c<<7)|0,0,128);q[b+48>>2]=1065353216;q[b+32>>2]=q[a+76>>2];q[b+40>>2]=q[a>>2];p[b+56>>1]=s[a+92>>1];q[q[a+88>>2]>>2]=b;return 0}jn(31516,q[60916],q[b+4>>2]-q[b>>2]>>7);return-1e3}J(32490,32439,151,32497);G()}J(32501,32439,152,32497);G()}J(32299,32310,479,32366);G()}function FE(a,b,c){var d=0,e=0;d=ti-208|0;ti=d;q[d+76>>2]=128;a:{if((SZ(q[b>>2],d+80|0,d+76|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,Yl(q[242957]));a=2;break a}b=da(d+80|0,q[d+76>>2],d+16|0,46,d+10|0,6,3)|0;if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,ha(b|0)|0);a=2;break a}Hi(a,d+16|0);b=lq(d+10|0,0);e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b:{c:{switch(c-2|0){case 0:Ni(a,131616,4);break b;case 8:Ni(a,131621,5);break b;default:break c}}Ni(a,131648,13)}a=3}ti=d+208|0;return a}function Qi(a,b){var c=0,d=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=c;d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}function IG(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-1024|0;ti=c;e=r[a|0];a:{b:{if(!e){break b}while(1){f=d;d=e;c:{if(!((d|0)!=47?(d|0)!=92:0)){o[c+f|0]=47;while(1){e=r[a|0];if((e|0)==92|(e|0)==47){a=a+1|0;continue}else{d=47;break c}}}o[c+f|0]=d;e=r[a+1|0];a=a+1|0}g=d;d=f+1|0;if(e?f>>>0<=1022:0){continue}break}if(!f){d=1;break b}if((g&255)==47){o[c+f|0]=0}a=1023;if(f>>>0>1021){break a}}a=d}o[a+c|0]=0;d:{if(s[c>>1]==46){break d}a=Km(c,47);if(a){if((a|0)==(c|0)){break d}o[a|0]=0;break d}o[c|0]=0}zj(b,c,1024);ti=c+1024|0}function sia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-80|0;ti=b;d=1;e=Zi(b+24|0,a,1,68051,887);f=Mj(a,2);g=wi;c=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;h=b- -64|0;q[h>>2]=0;q[h+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,c,67845,b+20|0,b+48|0,b+16|0);q[b+56>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;c=VJ(q[b+16>>2],q[b+20>>2],f,g);a:{if(c){q[b>>2]=Mi(f,g);q[b+8>>2]=c;q[b+4>>2]=q[(c<<2)+244592>>2];d=sj(e,70032,b);break a}jl(a,b+48|0)}Yi(e);ti=b+80|0;return d|0}function T7(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+w(e,24)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(40585,40295,340,40579);G()}while(1){e=q[(w(e,24)+f|0)+20>>2];if((e|0)!=-1){h=d;d=w(e,24)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(40612,40295,366,40579);G()}J(40558,40295,334,40579);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(e,24)+f|0;q[(h?h+20|0:g)>>2]=q[b+20>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+20>>2]=c}function KQ(a,b){a=a|0;b=b|0;if((b|0)<=0){a=b+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+264624>>2];break a}a=131953}return a|0}a=133177;b:{c:{switch(b-2|0){case 28:return 133200;case 0:return 133218;case 12:return 133236;case 11:return 133255;case 13:return 133255;default:if((b|0)==73){break b};case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10: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:a=al(b);break;case 1:break c}}return a|0}return 133262}function Wka(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];c=q[d+16>>2];e=q[q[a+16>>2]>>2];if(e>>>0>2]-c>>3>>>0){c=q[c+(e<<3)>>2];b=q[d>>2];if(c>>>0>2]-b>>2>>>0){a=q[q[q[a+4>>2]+80>>2]>>2];c=q[b+(c<<2)>>2];b=q[c+216>>2];if(b){Pi(a,b)}b=q[c+184>>2];if(b){Pi(a,b)}b=q[c+188>>2];if(b){Pi(a,b)}b=q[c+192>>2];if(b){Pi(a,b)}b=q[c+196>>2];if(b){Pi(a,b)}b=q[c+200>>2];if(b){Pi(a,b)}b=q[c+204>>2];if(b){Pi(a,b)}b=q[c+208>>2];if(b){Pi(a,b)}c=q[c+212>>2];if(c){Pi(a,c)}Xs(d,e);return 0}}J(46656,46296,479,46535);G()}function v9(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0,j=0;c=ti-32|0;ti=c;a:{b=fj(a,1,c+28|0);if(!(r[b+415|0]&16)){d=vm(a,2);b:{if(d){i=q[a+8>>2]-q[a+12>>2]|0;Ti(a);j=mk(a,-1,q[216371]);Ci(a,-2);if(i>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}Gl(c,j,q[c+28>>2],0);e=u[d>>2];f=u[c+12>>2];g=u[d+8>>2];h=u[d+4>>2];break b}a=am(a,2);f=u[a+12>>2];e=u[a>>2];g=u[a+8>>2];h=u[a+4>>2]}u[b+12>>2]=f;u[b+8>>2]=g;u[b+4>>2]=h;u[b>>2]=e;q[b+412>>2]=q[b+412>>2]|4194304}ti=c+32|0;return 0}J(196277,196298,164,196320);G()}function yna(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;e=vl(c,Ui(c));f=wi;q[d+12>>2]=b;g=a+3144|0;a:{c=q[a+3148>>2];b:{if(!c){break b}c=q[q[g>>2]+(Qwa(e,f,c)<<2)>>2];if((c|0)==-1){break b}h=q[a+3152>>2];while(1){c=(c<<4)+h|0;if(q[c>>2]==(e|0)&q[c+4>>2]==(f|0)){c=-3;break a}c=q[c+12>>2];if((c|0)!=-1){continue}break}}c=-4;if(q[b+96>>2]!=q[74208]|q[b+100>>2]!=q[74209]){break a}q[b+96>>2]=e;q[b+100>>2]=f;Wq(g,e,f,d+12|0);c=0;if(t[a+3168>>2]<=s[a+1058>>1]){break a}J(7941,7291,1e3,8205);G()}ti=d+16|0;return c}function cP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;i=Wi(a,1,f+12|0);c=hm(a,2,1);c=c+(q[f+12>>2]+1&c>>31)|0;e=(c|0)>0?c:0;b=hm(a,3,e);d=q[f+12>>2];b=b+(d+1&b>>31)|0;b=(b|0)>0?b:0;b=b>>>0>d>>>0?d:b;d=(e|0)>1?c:1;a:{if((b|0)<(d|0)){break a}e=b-d|0;g=e+1|0;if((b|0)==2147483647){Bi(a,141003,0)}Ro(a,g,141003);c=0;if((e|0)<0){break a}b=d-1|0;d=e+1|0;while(1){e=r[(b+c|0)+i|0];h=q[a+8>>2];q[h+8>>2]=3;v[h>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;c=c+1|0;if((d|0)!=(c|0)){continue}break}}ti=f+16|0;return g|0}function II(a,b,c){var d=0,e=0,f=0;a:{b:{c:{e=b&65535;d=q[a+32>>2];f=(q[a+36>>2]-d|0)/576|0;if(e>>>0>>0){if(s[(w(e,576)+d|0)+552>>1]!=(b>>>16|0)){break c}a=s[(w(e,576)+d|0)+554>>1];if((a|0)!=(b&65535)){break b}if(c){while(1){a=a&65535;if(a>>>0>=f>>>0){break a}a=w(a,576)+d|0;b=q[a+412>>2]&1048576;if(b){a=s[a+560>>1];if((a|0)!=65535){continue}}break}return(b|0)!=0}return(r[(w(e,576)+d|0)+414|0]&16)>>>4|0}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function sH(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=q[a+4>>2];if(d){g=q[a>>2]+((b>>>0)%(d>>>0)<<2)|0;c=q[g>>2];if((c|0)==-1){break a}d=0;e=q[a+8>>2];f=e+w(c,24)|0;if(q[f>>2]!=(b|0)){while(1){c=q[(w(c,24)+e|0)+16>>2];if((c|0)==-1){J(27390,27072,366,27357);G()}d=f;f=w(c,24)+e|0;if(q[f>>2]!=(b|0)){continue}break}}q[a+24>>2]=q[a+24>>2]-1;b=q[(w(c,24)+e|0)+16>>2];b:{if(!d){q[g>>2]=b;break b}q[d+16>>2]=b}b=q[a+20>>2];q[a+20>>2]=c;q[(w(c,24)+e|0)+16>>2]=b;return}J(27336,27072,334,27357);G()}J(27363,27072,340,27357);G()}function fj(a,b,c){var d=0,e=0,f=0,g=0;b=Li(a,b,q[216372],0);d=q[b>>2];e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);f=mk(a,-1,q[216371]);Ci(a,-2);if((e|0)==q[a+8>>2]-q[a+12>>2]>>4){if((d|0)!=(f|0)){Bi(a,198428,0)}f=q[b>>2];d=q[f+32>>2];a:{b:{e=q[b+4>>2];g=e&65535;if(g>>>0>=(q[f+36>>2]-d|0)/576>>>0|s[(w(g,576)+d|0)+552>>1]!=(e>>>16|0)){break b}d=w(g,576)+d|0;if(s[d+554>>1]!=(e&65535)|r[d+415|0]&32){break b}d=Sz(f,e);a=d;if(!c){break a}q[c>>2]=q[b+4>>2];return d}Bi(a,198457,0);a=0}return a}J(196277,196298,164,196320);G()}function cm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;q[f+12>>2]=0;a:{if((c|0)<1){break a}while(1){d=q[a+116>>2];b:{if(d){d=M3(d,b+g|0,c-g|0,f+12|0);break b}d=Cu(q[a+112>>2],b+g|0,c-g|0,f+12|0)}e=(d|0)==-3?-101:d;if((e|0)!=-101?e:0){break a}h=q[a>>2];d=q[h+2204>>2];if(!(!d|!q[d>>2])){e=-3;break a}c:{if(!q[h+2160>>2]){break c}d=pk();i=q[h+2160>>2];h=q[h+2168>>2];if((i|0)>(d-h|0)){break c}e=-3;break a}if((e|0)!=-101){if(e){break a}g=q[f+12>>2]+g|0}if((c|0)>(g|0)){continue}break}e=0}ti=f+16|0;return e}function YH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(29147,28440,340,29141);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(29174,28440,366,29141);G()}J(29120,28440,334,29141);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function Xq(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(12652,11284,340,12646);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(12679,11284,366,12646);G()}J(12625,11284,334,12646);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function XH(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=q[a+4>>2];if(d){b:{g=q[a>>2]+(Qwa(b,c,d)<<2)|0;e=q[g>>2];if((e|0)!=-1){f=q[a+8>>2];d=f+(e<<4)|0;if((b|0)==q[d>>2]&q[d+4>>2]==(c|0)){break a}break b}J(27363,27072,340,27357);G()}while(1){e=q[((e<<4)+f|0)+12>>2];if((e|0)!=-1){h=d;d=(e<<4)+f|0;if(q[d>>2]!=(b|0)|q[d+4>>2]!=(c|0)){continue}break a}break}J(27390,27072,366,27357);G()}J(27336,27072,334,27357);G()}q[a+24>>2]=q[a+24>>2]-1;b=(e<<4)+f|0;q[(h?h+12|0:g)>>2]=q[b+12>>2];c=q[a+20>>2];q[a+20>>2]=e;q[b+12>>2]=c}function JN(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=ti-96|0;ti=h;q[e>>2]=0;q[h+4>>2]=0;LN(h+8|0);a:{b:{c:{if(!c){c=-10240;break c}if(d){KN(a,d,h+4|0)}d=0;j=a+204|0;i=j;d:{if(!i){break d}i=q[i>>2];if(!i){break d}d=q[i>>2]}i=q[c+4>>2]>>>d-1&1?0:-1;e:{if(d){break e}i=-1}if(i){q[h+4>>2]=q[h+4>>2]|32768}if(tB(c,j)){q[h+4>>2]=q[h+4>>2]|65536}c=MN(a,b,c,h+8|0);if(!c){q[h+12>>2]=q[h+12>>2]|q[h+4>>2];c=ON(e,h+8|0,f,g)}if((c|0)==-9984){c=-12288;break c}if(!c){break b}}q[e>>2]=-1;break a}c=q[e>>2]?-9984:0}ti=h+96|0;return c}function vr(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}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<>>32-g|h<>>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}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function pga(a){a=a|0;var b=0,c=0,d=0;b=Oi(36);q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+16>>2]=q[a+20>>2];d=sK(q[a>>2],b,0);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=((q[a+16>>2]+q[b+8>>2]|0)-q[b>>2]|0)+36;return d|0}a=q[a>>2];c=q[b+16>>2];if(c){cj(c)}c=q[b+32>>2];if(c){Pi(a,c)}c=q[b+20>>2];if(c){Pi(a,c)}c=q[b+28>>2];if(c){Pi(a,c)}c=q[b+24>>2];if(c){Pi(a,c)}a:{if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}yi(a)}yi(b);return d|0}function Tsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;f=Zwa(0)|0;a:{if(f){break a}if(Bj(a,1)){break a}wk(a,1,131346)}b=8;b:{if((Ei(a,2)|0)==-1){break b}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;if(b){break b}b=0;if(Bj(a,2)){break b}wk(a,2,131346)}d=b>>31;c=d+b^d;d=(c|0)<8?c:8;if((c|0)>=1){g=(b|0)<0?131437:131420;b=d;while(1){c=b-1|0;o[c+(e+8|0)|0]=r[(f&15)+g|0];f=f>>>4|0;h=(b|0)>1;b=c;if(h){continue}break}}Ni(a,e+8|0,d);ti=e+16|0;return 1}function TG(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;c=q[a>>2];e=q[a+4>>2];a:{if((c|0)==(e|0)){break a}while(1){b=q[(f<<2)+c>>2];if(b){c=q[b+72>>2];if(c){yi(c);q[b+16>>2]=0;q[b+72>>2]=0}b:{if(o[b+12|0]&1){break b}c=q[b>>2];if(!c){break b}yi(c)}g=g+1|0;yi(b);e=q[a+4>>2];c=q[a>>2]}f=f+1|0;if(f>>>0>2>>>0){continue}break}if(!g){break a}q[d>>2]=g;Ai(3,145356,145365,d)}c:{if(o[a+24|0]&1){break c}b=q[a+16>>2];if(!b){break c}yi(b)}d:{if(o[a+12|0]&1){break d}b=q[a>>2];if(!b){break d}yi(b)}yi(a);ti=d+16|0}function Lq(a,b,c){var d=0,e=0;d=ti-336|0;ti=d;q[d+328>>2]=0;q[d+332>>2]=0;if(c>>>0<=7){q[d+48>>2]=c;q[d+52>>2]=8;hj(d- -64|0,256,126697,d+48|0);q[d+32>>2]=d- -64;Bi(a,126215,d+32|0)}e=b;a:{b:{if(q[b>>2]==1112818760){e=q[b+4>>2];q[d+328>>2]=q[b>>2];q[d+332>>2]=e;if(e>>>0>4){break b}e=b+8|0}Fi(d- -64|0,0,129);q[d+204>>2]=0;q[d+208>>2]=0;c=c-8|0;q[d+200>>2]=c;q[d+196>>2]=e;JF(a,d- -64|0,d+328|0,b,e,c,0);break a}q[d+16>>2]=e;q[d+20>>2]=4;hj(d- -64|0,256,126769,d+16|0);q[d>>2]=d- -64;Bi(a,126215,d)}ti=d+336|0}function G5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=ti-272|0;ti=e;g=a+2144|0;h=b<<3;f=Vp(c,h);a:{d=q[a+2148>>2];b:{c:{if(!d){break c}d=q[q[g>>2]+((f>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}i=q[a+2152>>2];while(1){d=w(d,280)+i|0;if(q[d>>2]==(f|0)){break b}d=q[d+272>>2];if((d|0)!=-1){continue}break}}if(b>>>0>=33){break a}if(b){Gi(e+16|0,c,h)}q[e+8>>2]=b;b=(q[a+2160>>2]-q[a+2152>>2]|0)/280|0;a=q[a+2168>>2];if((b|0)==(a|0)){a=a+8|0;_H(g,a<<1,a)}$H(g,f,e+8|0)}ti=e+272|0;return f}J(108883,108830,573,108929);G()}function uea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=Mj(a,2);q[c+76>>2]=wi;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);d=q[64350];fk(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(77387,77222,169,77428);G()}ti=c+80|0;return 0}function cu(a,b,c){var d=0,e=0;d=q[a+16>>2];e=-1;a:{b:{switch(b|0){case 0:q[d+64>>2]=-3;return 0;case 1:q[d+64>>2]=q[d+68>>2];return 0;case 2:_X(a);return 0;case 3:return q[d+68>>2]>>>10|0;case 4:return q[d+68>>2]&1023;case 5:e=0;b=q[d+68>>2];c=b-(c<<10)|0;c=b>>>0>>0?0:c;q[d+64>>2]=c;if(b>>>0>>0){break a}while(1){_l(a);if(!r[d+21|0]){return 1}if(t[d+64>>2]<=t[d+68>>2]){continue}break}break a;case 6:a=q[d+80>>2];q[d+80>>2]=c;return a;case 7:break b;default:break a}}e=q[d+84>>2];q[d+84>>2]=c}return e}function Iia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=Mj(a,2);q[c+76>>2]=wi;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);d=q[62006];fk(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66680,66701,524,67047);G()}ti=c+80|0;return 0}function Gea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=Mj(a,2);q[c+76>>2]=wi;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);d=q[62006];fk(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,8);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(76727,76748,382,76852);G()}ti=c+80|0;return 0}function fna(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=x(0);d=q[a+80>>2];b=q[d+4>>2];if((b|0)==q[d+8>>2]){Vea();return-1e3}c=q[q[a+76>>2]>>2];e=q[c+20>>2];f=q[c+16>>2];g=q[a>>2];h=q[c>>2];i=q[c+4>>2];j=q[c+12>>2];k=q[c+8>>2];l=u[c+24>>2];c=s[a+92>>1];q[d+4>>2]=b+32;p[b+30>>1]=c;u[b+24>>2]=l;q[b+16>>2]=k;q[b+20>>2]=j;q[b+8>>2]=h;q[b+12>>2]=i;q[b+4>>2]=d;q[b>>2]=g;o[b+28|0]=((e|0)!=0)<<2|(f|0)!=0;b=q[d>>2];c=q[d+4>>2]-b|0;if(c){q[q[a+88>>2]>>2]=(b+c|0)-32;return 0}J(44097,44029,479,44108);G()}function _pa(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;d=q[a+4>>2];c=q[a>>2];q[b+28>>2]=q[c>>2];q[b+24>>2]=q[c+4>>2];q[b+20>>2]=0;q[b+16>>2]=0;xi[q[c+32>>2]](d,b+16|0,b+20|0,b+28|0,b+24|0);if(q[b+16>>2]){o[295128]=0;o[295232]=0;Oc();Sh();xi[q[c+24>>2]](d);a:{if(q[b+16>>2]!=1){break a}c=xi[q[c+20>>2]](q[b+28>>2],q[b+24>>2])|0;q[a+4>>2]=c;if(c){Ha(21,a|0,0,1);break a}Ai(4,5262,5269,0);q[b+20>>2]=1}q[b>>2]=q[b+20>>2];Ai(2,5262,5293,b)}if(!r[295128]){o[295128]=1;o[295232]=1}xi[q[q[a>>2]+28>>2]](d)|0;ti=b+32|0}function JS(a){var b=0;a:{if(!a){break a}b:{switch(q[a+4>>2]-5|0){case 3:a=q[a+8>>2];if((r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24))!=-2042067414|(r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24))!=84020727){break a}b=274576;break a;case 0:if(pj(152753,q[a+8>>2],5)){break a}return 274596;case 4:break b;default:break a}}if(!pj(152773,q[a+8>>2],9)){return 274616}if(!pj(152801,q[a+8>>2],9)){return 274636}if(!pj(152829,q[a+8>>2],9)){return 274656}if(pj(152857,q[a+8>>2],9)){break a}return 274676}return b}function A7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(q[a+36>>2]){break a}e=q[a+28>>2];c=q[a+20>>2]+q[b+84>>2]|0;d=q[b+80>>2];f=d+q[a+16>>2]|0;c=f>>>0>>0?c+1|0:c;d=f;if((c|0)==(e|0)&d>>>0>2]|c>>>0>>0){break a}c=q[b+64>>2];q[a+32>>2]=((Ui(c)+Ui(b)|0)+q[a+32>>2]|0)+2;if(r[a+564|0]){break a}c=Zu(q[a+4>>2],c,Ui(c));if(c){q[a+36>>2]=c;return}c=Zu(q[a+4>>2],162522,1);if(c){q[a+36>>2]=c;return}b=Zu(q[a+4>>2],b,Ui(b));if(b){q[a+36>>2]=b;return}b=Zu(q[a+4>>2],162524,1);if(!b){break a}q[a+36>>2]=b}}function YN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=ti-16|0;ti=g;c=a+16|0;jq(a,a+8|0,c);e=a+24|0;while(1){if((b|0)!=(e|0)){d=q[e+4>>2];f=q[c+4>>2];if((d|0)==(f|0)&t[e>>2]>2]|d>>>0>>0){d=q[e+4>>2];q[g+8>>2]=q[e>>2];q[g+12>>2]=d;f=e;while(1){a:{d=c;h=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=h;if((a|0)==(c|0)){d=a;break a}f=d;c=d-8|0;i=q[g+12>>2];h=q[c+4>>2];if((i|0)==(h|0)&t[c>>2]>t[g+8>>2]|h>>>0>i>>>0){continue}}break}c=g+8|0;f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f}c=e;e=c+8|0;continue}break}ti=g+16|0}function Xo(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(b){if(!c){break a}b:{if(a){break b}a=q[c>>2];if(a){break b}return 0}while(1){e=a+1|0;f=r[a|0];d=b;c:{while(1){g=r[d|0];if(!g){break c}d=d+1|0;if((f|0)!=(g|0)){continue}break}a=e;continue}break}if(!f){q[c>>2]=0;return 0}while(1){f=e+1|0;g=r[e|0];d=b;d:{while(1){h=r[d|0];if((g|0)==(h|0)){if(g){break d}q[c>>2]=0;return a}d=d+1|0;if(h){continue}break}e=f;continue}break}o[e|0]=0;q[c>>2]=f;return a}J(160012,160026,86,160051);G()}J(160060,160026,87,160051);G()}function Ju(a){var b=0,c=0,d=0;b=ti-32|0;ti=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){As(a);b:{if((Ei(a,-1)|0)!=5){Ci(a,-3);d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;break b}hk(a,-2);Sj(a,-2);hk(a,-2);Ci(a,-2)}a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}ti=b+32|0;return}q[b+12>>2]=c;q[b+4>>2]=1219;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1219;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function Yl(a){var b=0;if((a|0)<=0){a=a+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+264624>>2];break a}a=131953}return a}b=133177;b:{c:{switch(a-2|0){case 28:return 133200;case 0:return 133218;case 12:return 133236;case 11:return 133255;case 13:return 133255;default:if((a|0)==73){break b};case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10: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:b=al(a);break;case 1:break c}}return b}return 133262}function Pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{f=q[a+12>>2];if(!f){break b}d=q[f+4>>2];e=q[f>>2];g=d-e|0;if(!g){break b}if((d|0)!=(e|0)){h=g>>3;g=0;while(1){e=(g<<3)+e|0;c:{if(!(q[e>>2]!=(b|0)|q[e+4>>2]!=(c|0))){d=d-8|0;i=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=i;d=q[f+4>>2]-8|0;q[f+4>>2]=d;if(d>>>0>2]){break a}h=h-1|0;break c}g=g+1|0}if(g>>>0>=h>>>0){break b}f=q[a+12>>2];d=q[f+4>>2];e=q[f>>2];if(d-e>>3>>>0>g>>>0){continue}break}}J(27197,26397,479,27208);G()}return}J(27433,26397,516,27423);G()}function BF(a,b){var c=0,d=0;c=ti-32|0;ti=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-2){As(a);b:{if((Ei(a,-1)|0)!=5){Ci(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}bj(a,-1,b);hk(a,-2);Ci(a,-2)}b=d+1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)!=(a|0)){break a}ti=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=1308;q[c+8>>2]=1;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}q[c+28>>2]=a;q[c+24>>2]=b;q[c+20>>2]=1308;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function rca(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:{if(a){$b(q[(b<<2)+88400>>2],q[(c<<2)+88400>>2],q[(d<<2)+88400>>2]);if(r[q[77547]+156|0]&64){f=K()|0;if(f){break a}}f=a;h=q[a+72>>2]&29368319;i=q[a+76>>2]&-4;b=b&7;a=b;e=a>>>7|0;g=a<<25;a=e;e=b>>>19|0;b=b<<13|g;g=a|e;j=b;a=c&7;e=a>>>13|0;b=a>>>1|0;a=j|a<<19|a<<31;b=b|(e|g);c=a;a=d&7;e=a>>>16|0;q[f+72>>2]=c|a<<16|a<<28|h;q[f+76>>2]=b|e|a>>>4|i;return}J(84221,84160,3553,88340);G()}Vi(f,88340,3566);J(84254,84160,3566,88340);G()}function Xs(a,b){var c=0,d=0;a:{b:{c=q[a+16>>2];if(q[a+20>>2]-c>>3>>>0>b>>>0){c=q[c+(b<<3)>>2];d=q[a>>2];if(c>>>0>=q[a+4>>2]-d>>2>>>0){break a}c=q[d+(c<<2)>>2];aL(q[c>>2]);if(o[c+232|0]&1){break b}Ii(0,4,c+220|0,c+228|0,c+224|0);d=q[c+132>>2];if(d){XF(q[a+96>>2],d)}d=q[c+180>>2];if(d){fr(d)}c:{if(o[c+248|0]&1){break c}d=q[c+236>>2];if(!d){break c}yi(d)}d:{if(o[c+232|0]&1){break d}d=q[c+220>>2];if(!d){break d}yi(d)}yi(c);O6(a,b);return}break a}J(46360,46296,493,46435);G()}J(46656,46296,479,46535);G()}function oK(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-48|0;ti=d;a:{if(!b){q[d>>2]=c;Ai(3,58007,58015,d);e=-13;break a}h=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(h){while(1){g=t6(b,f);e=Nj(a,g,d+44|0);if(e){q[d+36>>2]=c;q[d+32>>2]=g;Ai(4,58007,58052,d+32|0);break a}LG(b,f,q[d+44>>2]);g=v6(b,f);e=Nj(a,g,d+40|0);if(e){q[d+20>>2]=c;q[d+16>>2]=g;Ai(4,58007,58102,d+16|0);break a}OG(b,f,q[d+40>>2]);if(q[q[d+40>>2]+104>>2]){Ai(4,58007,58153,0);e=-15;break a}f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=0}ti=d+48|0;return e}function ava(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!r[b|0]){break a}if(c>>>0<4){break c}while(1){d=q[b>>2];if((d^-1)&d-16843009&-2139062144){break c}q[a>>2]=d;a=a+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Fi(a,0,c)}function ZA(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;f=(d<<1)+310368|0;c=(c<<1)+311392|0;b=(b<<1)+310368|0;d=r[f|0]|(r[c|0]<<5|r[b|0]<<11);q[e+12>>2]=d;b=r[f+1|0]|(r[c+1|0]<<5|r[b+1|0]<<11);q[e+8>>2]=b;c=170;a:{if((b|0)==(d|0)){if(!d){q[e+8>>2]=0;d=1;q[e+12>>2]=1;c=85;break a}b=d-1|0;q[e+8>>2]=b;c=0}if(b>>>0<=d>>>0){break a}c=c|85;rl(e+12|0,e+8|0);d=q[e+12>>2]}o[a|0]=d;o[a+1|0]=d>>>8;b=s[e+8>>1];o[a+2|0]=b;o[a+3|0]=b>>>8;b=w(c,16843009);o[a+4|0]=b;o[a+5|0]=b>>>8;o[a+6|0]=b>>>16;o[a+7|0]=b>>>24;ti=e+16|0}function Tca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Fi(Oi(208),0,208);a:{h=r[b+192|0];if(h){while(1){a=w(f,24);c=a+b|0;d=q[c+4>>2];g=q[c>>2];a=a+e|0;p[a+10>>1]=65535;p[a+8>>1]=f;q[a>>2]=g;q[a+4>>2]=d;g=q[c+12>>2];p[a+12>>1]=g;d=q[c+16>>2];q[a+16>>2]=d;c=r[c+20|0];p[a+14>>1]=i;o[a+20|0]=c;a=1;b:{if(d>>>0<2){break b}a=2;if((d&-2)==2){break b}a=4;if(d-4>>>0>=3){break a}}i=w(a,g)+i|0;p[e+194>>1]=i;f=f+1|0;if(h>>>0>f>>>0){continue}break}}p[e+192>>1]=h;return e|0}J(84254,84160,1663,87383);G()}function oB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;f=(bxa(a),Zwa(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+ -6755399441055744;v[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(y(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){v[b>>3]=x(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;v[e+8>>3]=(_wa(2,h-(c<<23)|0),cxa());c=OM(e+8|0,e,c,1,0);d=v[e>>3];if((f|0)<=-1){v[b>>3]=-d;c=0-c|0;break a}v[b>>3]=d}ti=e+16|0;return c}function i_(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=WM(138062);ro(b);a:{b:{if(!a){a=q[b+60>>2];q[c>>2]=d&-524481;a=R(a|0,4,c|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}if((a|0)>=0){break a}break b}a=il(a,138062);if(!a){break b}c:{e=q[a+60>>2];f=q[b+60>>2];d:{if((e|0)==(f|0)){q[a+60>>2]=-1;break d}if((qva(e,f,d&524288)|0)<0){break c}}q[b>>2]=q[a>>2]|q[b>>2]&1;q[b+32>>2]=q[a+32>>2];q[b+36>>2]=q[a+36>>2];q[b+40>>2]=q[a+40>>2];q[b+12>>2]=q[a+12>>2];Ak(a);break a}Ak(a)}Ak(b);b=0}ti=c+16|0;return b}function Fra(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=b-2|0;b=s[e>>1];if((b|0)==8){yi(e);return}a:{b:{if(b>>>0<8){g=(b<<2)+a|0;f=q[g+96>>2];if(!f){break b}d=w(b,12)+a|0;h=q[d>>2];if(!h){break a}i=d;d=h-1|0;q[i>>2]=d;c:{if(!d){if(!b){break c}yi(f);q[g+96>>2]=0;return}c=c+3&-2;a=w(b,12)+a|0;b=q[a+4>>2];if((b+f|0)==(e|0)){q[a+4>>2]=b+(c&65535);return}b=q[a+8>>2]-(c&65535)|0;if((b+f|0)!=(e|0)){break c}q[a+8>>2]=b}return}J(27890,27920,111,27947);G()}J(27952,27920,114,27947);G()}J(27965,27920,116,27947);G()}function B5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-32|0;ti=b;d=aj(a,1);e=q[d+12>>2];f=q[d+8>>2];c=q[d>>2];d=Xi(a,2);q[b+28>>2]=0;q[b+24>>2]=0;a:{if(vG(c,f,e,b+28|0,b+24|0,b+20|0)){b:{c=d-1|0;g=q[b+20>>2];c=(g|0)==9?c<<2:c;if(c>>>0>=t[b+24>>2]){break b}h=q[b+28>>2];c:{switch(g|0){case 0:Un(a,(c<<4)+h|0);a=1;break a;case 9:break c;default:break b}}Nq(a,(c<<4)+h|0);a=1;break a}e=Mi(f,e);q[b+4>>2]=d;q[b>>2]=e;a=Bi(a,115418,b);break a}q[b+16>>2]=Mi(f,e);a=Bi(a,114952,b+16|0)}ti=b+32|0;return a|0}function xna(a,b,c,d){var e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;e=q[a>>2];q[f+12>>2]=b;g=e+3144|0;a:{a=q[e+3148>>2];b:{if(!a){break b}a=q[q[g>>2]+(Qwa(c,d,a)<<2)>>2];if((a|0)==-1){break b}h=q[e+3152>>2];while(1){a=(a<<4)+h|0;if(q[a>>2]==(c|0)&q[a+4>>2]==(d|0)){a=-3;break a}a=q[a+12>>2];if((a|0)!=-1){continue}break}}a=-4;if(q[b+96>>2]!=q[74208]|q[b+100>>2]!=q[74209]){break a}q[b+96>>2]=c;q[b+100>>2]=d;Wq(g,c,d,f+12|0);a=0;if(t[e+3168>>2]<=s[e+1058>>1]){break a}J(7941,7291,1e3,8205);G()}ti=f+16|0;return a}function gn(a,b){var c=0,d=0,e=0,f=0;e=ti-16|0;ti=e;q[e+8>>2]=0;c=-4;a:{if(!a|!r[a|0]){break a}if(Oj(a,35)){break a}if(Oj(a,58)){break a}c=zi(a);f=wi;while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}q[b>>2]=c;q[b+4>>2]=f;b=0;d=q[215700];a=q[d+4>>2];b:{if(!a){break b}a=q[q[d>>2]+(Qwa(c,f,a)<<2)>>2];if((a|0)==-1){break b}d=q[d+8>>2];while(1){a=a<<6;b=a+d|0;if((c|0)==q[b>>2]&(f|0)==q[b+4>>2]){break b}a=q[(a+d|0)+56>>2];if((a|0)!=-1){continue}break}b=0}q[215701]=0;c=b?0:-6}ti=e+16|0;return c}function Cp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!c){break a}g=q[a+4>>2];e=g;h=q[a>>2];d=c+h|0;e=d>>>0>>0?e+1|0:e;f=a;q[a>>2]=d;q[a+4>>2]=e;if((e|0)==(g|0)&d>>>0>>0|e>>>0>>0){d=q[a+12>>2];e=q[a+8>>2]+1|0;d=e>>>0<1?d+1|0:d;q[a+8>>2]=e;q[f+12>>2]=d}f=h&127;b:{if(!f){break b}d=128-f|0;if(d>>>0>c>>>0){i=f;break b}g=f;f=a+80|0;Gi(g+f|0,b,d);Zr(a,f);c=c-d|0;b=b+d|0}if(c>>>0>=128){while(1){Zr(a,b);b=b+128|0;c=c-128|0;if(c>>>0>127){continue}break}}if(!c){break a}Gi((a+i|0)+80|0,b,c)}return 0}function aM(a,b,c,d,e){var f=0,g=0,h=0;if(Ei(a,b)){mj(a,b,5);f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Sj(a,b);if(Ei(a,-1)){h=1;while(1){f=LE(a);if((f|0)!=-1){if((f|0)>=1024){Qj(a,b,131892)}g=(f>>>3&536870908)+d|0;q[g>>2]=q[g>>2]|1<>2];if(!((f|0)<=(g|0)?(g|0)!=-1:0)){q[e>>2]=f}g=q[a+8>>2];q[g+8>>2]=3;v[g>>3]=f|0;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-2);$i(a,c)}Ci(a,-2);f=q[a+8>>2];q[f+8>>2]=3;h=h+1|0;v[f>>3]=h|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,b);if(Ei(a,-1)){continue}break}}Ci(a,-2)}}function P0(a){a=a|0;var b=0,c=x(0),d=x(0),e=0,f=x(0),g=x(0),h=0,i=x(0);e=ti-48|0;ti=e;b=Li(a,1,q[212905],0);c=u[b>>2];f=u[b+4>>2];a:{b:{if(c!=c|f!=f){break b}d=u[b+8>>2];if(d!=d){break b}d=u[b+12>>2];if(d==d){break a}}d=u[b+8>>2];g=u[b+12>>2];v[e+16>>3]=f;v[e+32>>3]=g;v[e+24>>3]=d;v[e+8>>3]=c;q[e>>2]=1;Bi(a,128909,e)}h=Ri(a,2);c=u[b+12>>2];f=u[b>>2];d=u[b+4>>2];g=u[b+8>>2];b=jj(a,16);i=c;c=x(h);u[b+12>>2]=i/c;u[b+8>>2]=g/c;u[b+4>>2]=d/c;u[b>>2]=f/c;Ki(a,-1e4,128704);ij(a,-2);ti=e+48|0;return 1}function E_(a){var b=0,c=0,d=0;d=ti-16|0;ti=d;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{b=Wt(a+16|0,155336);if(b){break b}c=a+4|0;b=lk(c,1);if(b){break b}b=$m(c,224);if(b){break b}b=zl(c,c,1);if(b){break b}b=$m(c,224);if(b){break b}b=zl(c,c,1);if(b){break b}q[a+88>>2]=Al(c);b=lk(a+40|0,5);if(b){break b}b=lk(a- -64|0,1);if(b){break b}Si(a+52|0);c=a+76|0;b=Lo(c,446,1);if(b){break b}b=Wt(d,155341);if(b){break b}b=hl(c,c,d);if(b){break b}q[a+92>>2]=447;Si(d);b=0;break a}Si(d);Mn(a)}ti=d+16|0;return b}function jw(a,b){var c=0;a:{if((r[a|0]|r[a+1|0]<<8)!=17011|b>>>0<78|((r[a+2|0]|r[a+3|0]<<8)!=19|(r[a+4|0]|r[a+5|0]<<8)!=77)){break a}if(!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))|(!(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))|(r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24))+77>>>0>b>>>0)){break a}c=a+65|0;if((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=b>>>0){break a}return b-(r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))>>>0>=w(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16),23)>>>0}return 0}function dm(a,b,c,d,e,f){var g=0,h=0,i=0,j=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){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=j|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function SC(a,b,c){var d=0;d=ti-16|0;ti=d;if((Ei(a,3)|0)!=5){fB(a,q[66953])}Hi(a,132097);Sj(a,3);if(!ek(a,-1)){Qj(a,3,132107)}if(!wt(dj(a,-1,0),d+8|0)){Qj(a,3,132141)}Hi(a,132172);Sj(a,3);if(!ek(a,-1)){Qj(a,3,132182)}q[d+12>>2]=0;a:{if(!nj(dj(a,-1,0),132065)){break a}if(wt(dj(a,-1,0),d+8|4)){break a}Qj(a,3,132216)}b:{if((yl(q[b>>2],0,c,d+8|0,8)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=d+16|0;return a}function qR(a,b){var c=0,d=0,e=0;d=ti-16|0;ti=d;a:{if(a>>>0>6){break a}if((a|0)==6){if(b){a=q[53487];q[d+8>>2]=q[53486];q[d+12>>2]=a;a=q[53485];q[d>>2]=q[53484];q[d+4>>2]=a;a=0;while(1){c=nB(b,59);e=c-b|0;if((e|0)<=15){Gi(d,b,e);o[d+e|0]=0;b=r[c|0]?c+1|0:b}JC(a,d);a=a+1|0;if((a|0)!=6){continue}break}}b=971856;a=0;while(1){c=q[(a<<2)+971992>>2];e=c?c+8|0:213952;c=Ui(e);Gi(b,e,c);c=b+c|0;o[c|0]=59;b=c+1|0;a=a+1|0;if((a|0)!=6){continue}break}o[c|0]=0;c=971856;break a}c=JC(a,b)}ti=d+16|0;return c}function jW(a,b,c){var d=0,e=0,f=0,g=0;d=ti-288|0;ti=d;ND(d+8|0);f=MD(d+8|0,b,c);if(!f){b=q[d+8>>2];q[a>>2]=b;c=(b|0)==4;b=(d+8|0)+(c<<6)|0;q[a+4>>2]=q[b+196>>2];q[a+8>>2]=q[b+200>>2];q[a+12>>2]=q[b+204>>2];q[a+16>>2]=q[b+208>>2];g=a+20|0;e=c<<3|22;c=b+188|0;while(1){a=g;b=c;q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];c=b-8|0;g=a+8|0;e=e-1|0;if(e){continue}break}q[a+8>>2]=q[b-16>>2];q[a+12>>2]=q[b-12>>2];q[a+16>>2]=q[c>>2];q[a+20>>2]=q[b-4>>2]}a=d+8|0;if(a){xi[q[68401]](a,0,276)|0}ti=d+288|0;return f}function zG(a,b,c,d){var e=x(0),f=0,g=0,h=0;a:{f=q[a>>2];a=q[a+4>>2];if((f|0)==(a|0)){break a}h=a-f>>4;a=0;while(1){g=(a<<4)+f|0;if((b|0)==q[g>>2]&q[g+4>>2]==(c|0)){b=(a<<4)+f|0;if(!q[b+8>>2]){break a}a=d;b=q[b+12>>2];e=u[b>>2];b:{if(e=x(0)){c=~~e>>>0;break b}c=0}q[a>>2]=c;a=d;e=u[b+4>>2];c:{if(e=x(0)){c=~~e>>>0;break c}c=0}q[a+4>>2]=c;e=u[b+8>>2];d:{if(e=x(0)){a=~~e>>>0;break d}a=0}q[d+8>>2]=a;return}a=a+1|0;if(h>>>0>a>>>0){continue}break}}}function Yy(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;k=q[a+64>>2];a:{if(!(b|c)|(q[a+68>>2]-k|0)/40>>>0<=d>>>0){break a}j=q[a+20>>2];if(!j){break a}j=q[q[a+16>>2]+(Qwa(b,c,j)<<2)>>2];if((j|0)==-1){break a}l=q[a+24>>2];while(1){a=(j<<4)+l|0;if((b|0)!=q[a>>2]|q[a+4>>2]!=(c|0)){j=q[a+12>>2];if((j|0)!=-1){continue}break a}break}a=w(d,40)+k|0;q[a>>2]=b;q[a+4>>2]=c;b=q[((j<<4)+l|0)+8>>2];q[a+24>>2]=f;q[a+20>>2]=e;u[a+28>>2]=i;q[a+16>>2]=h;q[a+12>>2]=g;q[a+32>>2]=b&16777215|r[a+35|0]<<24;m=1}return m}function Eea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=Ej(a,2);b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);d=q[63690];fk(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,4);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(76727,76748,256,76789);G()}ti=c+80|0;return 0}function Cea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=Ej(a,2);b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);d=q[63706];fk(b+8|0,b+40|0,q[d+8>>2],q[d+12>>2],f,d,b+72|0,4);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(76727,76748,295,76809);G()}ti=c+80|0;return 0}function Z2(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=q[a+4>>2];c=q[a>>2];e=d-c|0;if(!e){return}a:{if((d|0)!=(c|0)){e=(e|0)/28|0;d=0;while(1){b:{c:{c=w(d,28)+c|0;if(q[c+4>>2]!=(b|0)){break c}f=r[c+24|0];if(f&2){f=f&253;o[c+24|0]=f;g=g+1|0}if(o[a+46|0]&1){break c}Gy(a,q[c+12>>2],f);e=e-1|0;break b}d=d+1|0}if(d>>>0>=e>>>0){break a}c=q[a>>2];if((q[a+4>>2]-c|0)/28>>>0>d>>>0){continue}break}}J(128650,127953,479,128661);G()}if(!g){return}p[a+44>>1]=s[a+44>>1]+1;return}J(127577,127536,344,127660);G()}function M7(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+4>>2];if(c){b:{g=q[a>>2]+((b>>>0)%(c>>>0)<<2)|0;d=q[g>>2];if((d|0)!=-1){c=0;e=q[a+8>>2];f=e+w(d,12)|0;if(q[f>>2]==(b|0)){break a}break b}J(118836,118584,340,118830);G()}while(1){d=q[(w(d,12)+e|0)+8>>2];if((d|0)!=-1){c=f;f=w(d,12)+e|0;if(q[f>>2]!=(b|0)){continue}break a}break}J(118863,118584,366,118830);G()}J(118809,118584,334,118830);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(d,12)+e|0;q[(c?c+8|0:g)>>2]=q[b+8>>2];c=q[a+20>>2];q[a+20>>2]=d;q[b+8>>2]=c}function Bj(a,b){var c=0,d=0;d=ti-16|0;ti=d;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}a=c;b=1;if(q[a+8>>2]!=3){b=(du(a,d)|0)!=0}ti=d+16|0;return b}function rj(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=KX(d,q[c>>2],q[a+8>>2]-16|0);q[a+8>>2]=q[a+8>>2]+(b?16:-16);return b}function qia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-80|0;ti=b;e=1;f=Zi(b+24|0,a,1,68051,1248);d=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,d,67845,b+20|0,b+48|0,b+16|0);d=Mj(a,2);c=wi;g=c;a:{if(!kja(q[b+16>>2],d,c,b+48|0)){q[b>>2]=Mi(d,g);e=Bi(a,70326,b);break a}d=r[b+48|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}Yi(f);ti=b+80|0;return e|0}function z7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!Em(b,163494)){q[a+24>>2]=lq(c,0);break a}b:{if(Em(b,163509)){break b}if(Em(c,163527)){break b}o[a+92|0]=r[a+92|0]|1;break a}c:{if(Em(b,163535)){break c}if(Em(c,163546)){break c}o[a+92|0]=r[a+92|0]|2;break a}if(!Em(b,163552)){zj(a+28|0,c,64);break a}if(Em(b,163557)){break a}d=on(c,163571);if(!d){break a}d=Cua(d+8|0);d=(d|0)>0?d:0;q[a+96>>2]=d>>>0<2592e3?d:2592e3}d=q[a>>2];e=q[d+2140>>2];if(e){xi[e|0](a,q[d+2132>>2],q[a+12>>2],b,c)}}function fS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;if((Ei(a,3)|0)!=5){fB(a,q[66953])}Hi(a,131994);Sj(a,3);if((Ei(a,-1)|0)!=1){Qj(a,3,131997)}q[c+8>>2]=Ej(a,-1)&65535;Hi(a,132025);Sj(a,3);if(!Bj(a,-1)){Qj(a,3,132033)}d=c;e=xj(a,-1);a:{if(e<4294967296&e>=0){f=~~e>>>0;break a}f=0}q[d+12>>2]=f;d=1;b:{if((yl(q[b>>2],1,13,c+8|0,8)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function Tva(){q[67937]=q[74622];q[74622]=271720;q[67987]=q[74622];q[74622]=271920;q[68007]=q[74622];q[74622]=272e3;q[68039]=q[74622];q[74622]=272128;q[68071]=q[74622];q[74622]=272256;q[68091]=q[74622];q[74622]=272336;q[68129]=q[74622];q[74622]=272488;q[68151]=q[74622];q[74622]=272576;q[68165]=q[74622];q[74622]=272632;q[68187]=q[74622];q[74622]=272720;q[68285]=q[74622];q[74622]=273112;q[68313]=q[74622];q[74622]=273224;q[68347]=q[74622];q[74622]=273360;q[68379]=q[74622];q[74622]=273488}function ST(a){var b=0,c=0,d=0;b=q[a+68>>2];if(!(!b|q[a+4>>2]==16)){xi[q[b+1104>>2]](a,q[a+120>>2],q[a+168>>2])}a:{if(!(r[q[a>>2]+184|0]&2)){break a}a=q[a+68>>2];if(!a){break a}q[b+476>>2]=q[b+476>>2]+1;go(a,0);q[b+540>>2]=q[b+552>>2];a=q[b+548>>2];q[b+532>>2]=q[b+544>>2];q[b+536>>2]=a;a=q[b+556>>2];c=q[b+560>>2];d=q[b+572>>2];q[b+556>>2]=q[b+568>>2];q[b+560>>2]=d;q[b+544>>2]=a;q[b+548>>2]=c;a=q[b+564>>2];q[b+564>>2]=q[b+576>>2];q[b+552>>2]=a;q[b+568>>2]=0;q[b+572>>2]=0;q[b+576>>2]=0}}function Ox(a,b,c){var d=0,e=0;e=a;a:{b:{c:{switch(q[b>>2]-6|0){case 0:d:{if(q[c>>2]!=12){break d}d=q[c+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}Iq(a,c,q[b+8>>2]);return;case 1:d=8;b=cn(a,c)<<6|q[b+8>>2]<<23;break b;case 2:d=7;b=cn(a,c)<<6|q[b+8>>2]<<14;break b;case 3:break c;default:break a}}d=9;b=sl(a,c)<<14|q[b+8>>2]<<6|q[b+12>>2]<<23}Qk(e,b|d,q[q[a+12>>2]+8>>2])}e:{if(q[c>>2]!=12){break e}b=q[c+8>>2];if(b&256|(b|0)>2]=q[a+36>>2]-1}}function No(a,b){a:{b:{switch((b-65>>>0<26?b|32:b)-97|0){case 2:a=(a|0)==127|a>>>0<32;break a;case 3:a=a-48>>>0<10;break a;case 11:a=a-97>>>0<26;break a;case 15:a=a-33>>>0>=94?0:!((a|32)-97>>>0<26?1:a-48>>>0<10);break a;case 18:a=(a|0)==32|a-9>>>0<5;break a;case 20:a=a-65>>>0<26;break a;case 22:a=(a|32)-97>>>0<26?1:a-48>>>0<10;break a;case 23:a=a-48>>>0<10|(a|32)-97>>>0<6;break a;case 25:a=!a;break a;default:return(a|0)==(b|0);case 0:break b}}a=(a|32)-97>>>0<26}return b-97>>>0<26?a:!a}function rfa(a){var b=0,c=0,d=0;c=ti-32|0;ti=c;a=q[a>>2];d=Zi(c+8|0,a,0,77222,548);ik(a,77264,245024);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,77272);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,77279);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=4;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,77286);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,77296);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=-7;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,77307);Ci(a,-2);Yi(d);ti=c+32|0}function eB(a,b,c){var d=0,e=0;e=ti-112|0;ti=e;a:{if((a|0)==(b|0)){break a}b:{c:{d=r[b+6|0];switch(d|0){case 1:break a;case 0:break c;default:break b}}d=2;if((cl(b,0,e+8|0)|0)>0){break a}d=q[b+8>>2]-q[b+12>>2]>>4?1:3;break a}d=3}if(!Jp(b,c)){Bi(a,139041,0)}d:{e:{if((d|0)!=1){q[e>>2]=q[(d<<2)+268224>>2];vj(a,139070,e);break e}Nn(a,b,c);p[b+52>>1]=s[a+52>>1];if(hX(b,c)>>>0<=1){c=q[b+8>>2]-q[b+12>>2]>>4;if(!Jp(a,c+1|0)){Bi(a,139097,0)}Nn(b,a,c);break d}Nn(b,a,1)}c=-1}ti=e+112|0;return c}function B1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-32|0;ti=b;f=1;g=Wi(a,1,0);c=il(g,124148);a:{if(!c){gj(a,0,0);break a}Ik(c,0,2);e=um(c);Ik(c,0,0);b:{if(e>>>0<524289){d=327168;break b}q[b+28>>2]=0;xo(b+28|0,16,e);d=q[b+28>>2];if(d){break b}q[b>>2]=e;f=Bi(a,124151,b);break a}h=tl(d,1,e,c);if(q[c+76>>2]<=-1){e=q[c>>2]}else{e=q[c>>2]}Ak(c);if(e>>>5&1){if((d|0)!=327168){yi(d)}q[b+16>>2]=g;f=Bi(a,124206,b+16|0);break a}Lq(a,d,h);if((d|0)==327168){break a}yi(d)}ti=b+32|0;return f|0}function ws(a){var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>0){As(a);f=a;b:{if((Ei(a,-1)|0)!=5){d=-2;e=-3;break b}hk(a,-2);d=un(a,-2);e=-2}Ci(f,e);c=c-1|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)!=(a|0)){break a}ti=b+32|0;return d}q[b+12>>2]=c;q[b+4>>2]=1255;q[b+8>>2]=-1;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1255;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function Fga(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=-2;a:{if(!Cj(q[a+12>>2],q[a+16>>2],251248,c+12|0)){nk(q[a+20>>2],q[q[c+12>>2]+4>>2]);d=q[c+12>>2];e=q[d+12>>2];b:{if(!e){break b}b=0;while(1){if(b>>>0>=e>>>0){break a}nk(q[a+20>>2],q[q[d+8>>2]+(b<<2)>>2]);d=q[c+12>>2];if(b>>>0>6){break b}b=b+1|0;e=q[d+12>>2];if(b>>>0>>0){continue}break}}nk(q[a+20>>2],q[d>>2]);nk(q[a+20>>2],q[q[c+12>>2]+4>>2]);q[q[a+24>>2]>>2]=q[c+12>>2];b=0}ti=c+16|0;return b|0}J(57618,57981,57,57677);G()}function Wt(a,b){var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;c=-4;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;e=Ui(b);if(e>>>0<=1073741823){c=bl(a,(e>>>3|0)+((e&7)!=0)|0);a:{if(c){break a}c=lk(a,0);if(c){break a}c=e;while(1){b:{c:{d:{switch(c|0){case 0:break a;case 1:break d;default:break c}}if(r[b|0]!=45){break c}q[a>>2]=-1;break b}e=c-1|0;c=MS(d+12|0,o[e+b|0]);if(c){break a}c=q[a+8>>2]+(f>>>1&2147483644)|0;q[c>>2]=q[c>>2]|q[d+12>>2]<<(f<<2&28);f=f+1|0;c=e;continue}break}c=0}Si(d)}ti=d+16|0;return c}function cn(a,b){var c=0,d=0,e=0,f=0;tm(a,b);a:{b:{if(q[b>>2]!=12){break b}d=b+8|0;if(q[b+16>>2]==q[b+20>>2]){break a}c=q[b+8>>2];if((c|0)>2]}tm(a,b);c:{if(q[b>>2]!=12){break c}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];c=e+1|0;f=q[a>>2];d:{if(r[f+75|0]>(e|0)){d=c;break d}d=c;if((e|0)>=249){Dj(q[a+12>>2],136502);f=q[a>>2];d=q[a+36>>2]+1|0}o[f+75|0]=c}q[a+36>>2]=d;Iq(a,b,d-1|0);d=b+8|0}return q[d>>2]}function FD(a,b,c,d,e,f){var g=0,h=0,i=0;h=ti-16|0;ti=h;g=-12416;a:{if(t[a>>2]>c>>>0){break a}c=a+52|0;i=a+4|0;g=Yv(c,i);if(g){break a}q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;b:{c:{if(e){g=Lra(a,e,f);if(g){break b}g=Fk(h,c,a+88|0);if(g){break b}g=Tk(h,h,i);if(!g){break c}break b}g=gk(h,c);if(g){break b}}c=a- -64|0;g=ko(c,h,a+28|0,i,a+76|0);if(g){break b}if(e){g=Fk(c,c,a+100|0);if(g){break b}g=Tk(c,c,i);if(g){break b}}a=Cm(c);q[d>>2]=a;g=pn(c,b,a)}g=g?g-13056|0:0;Si(h)}ti=h+16|0;return g}function Eka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+8>>2];g=(q[q[a+16>>2]>>2]-q[b+48>>2]|0)/48|0;c=q[b>>2];e=q[b+4>>2];if((c|0)!=(e|0)){while(1){d=w(f,40)+c|0;if(!(q[d>>2]!=q[a+4>>2]|q[d+28>>2]!=(g|0))){q[d>>2]=0;m6(q[b+84>>2],q[d+16>>2]);e=q[b+4>>2];c=q[b>>2]}f=f+1|0;if(f>>>0<(e-c|0)/40>>>0){continue}break}}a:{c=q[b+64>>2];if(c){a=q[b+72>>2];if(!a|a>>>0>t[b+68>>2]){break a}a=a-1|0;q[b+72>>2]=a;q[c+(a<<2)>>2]=g;return 0}J(42795,42744,140,42826);G()}J(42831,42744,141,42826);G()}function t3(a){a=a|0;var b=x(0),c=0,d=0,e=0;c=a?q[a+120>>2]:0;a=a?q[a>>2]:0;e=q[c+8>>2]-q[c+12>>2]>>4;$1(q[66736]);if(a){b=x(ym(a,122026,x(0))*x(1e6));a:{if(b=x(0)){a=x(y(b))>=x(1)?b>x(0)?~~x(A(x(C(x(b*x(2.3283064365386963e-10)))),x(4294967296)))>>>0:~~x(D(x(x(b-x(~~b>>>0>>>0))*x(2.3283064365386963e-10))))>>>0:0;d=~~b>>>0;break a}a=0;d=0}q[81780]=d;q[81781]=a}ik(c,122047,263280);Ci(c,-2);if(q[c+8>>2]-q[c+12>>2]>>4!=(e|0)){J(121777,121798,211,122052);G()}}function hpa(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2];c=q[q[a+16>>2]>>2];b=q[c+28>>2];q[b>>2]=q[a+4>>2];q[b+4>>2]=d;q[b+8>>2]=q[a+12>>2];a=q[q[c>>2]>>2];d=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=aj(a,-1);Ci(a,-2);bj(a,-1e4,q[c+12>>2]);jk(a);bj(a,-1e4,q[c+16>>2]);c=MK(q[c>>2],q[c+28>>2],a);Ci(a,-2);a:{if(b){e=q[a+8>>2];q[e+8>>2]=2;q[e>>2]=b;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}jk(a);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(12827,12848,774,13283);G()}return c|0}function tv(a,b,c,d,e){var f=0,g=0;g=r[e+32|0]?-9:0;a:{b:{if(q[e>>2]==(a|0)&q[e+4>>2]==(b|0)){f=-4;if(q[c>>2]!=3){break a}u[d>>2]=u[c+8>>2];u[d+4>>2]=u[c+12>>2];u[d+8>>2]=u[c+16>>2];break b}if(q[e+8>>2]==(a|0)&q[e+12>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d>>2]=v[c+8>>3];break b}if(q[e+16>>2]==(a|0)&q[e+20>>2]==(b|0)){f=-4;if(q[c>>2]){break a}u[d+4>>2]=v[c+8>>3];break b}f=-1;if((a|0)!=q[e+24>>2]|(b|0)!=q[e+28>>2]){break a}f=-4;if(q[c>>2]){break a}u[d+8>>2]=v[c+8>>3]}f=g}return f}function iu(a,b,c){var d=0,e=0,f=0;a:{switch(q[b>>2]-13|0){case 0:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&-8372225|(c<<14)+16384&8372224;return;case 1:e=q[a>>2];d=q[e+12>>2];f=d+(q[b+8>>2]<<2)|0;q[f>>2]=(q[f>>2]&8388607|c<<23)+8388608;b=d+(q[b+8>>2]<<2)|0;q[b>>2]=q[a+36>>2]<<6&16320|q[b>>2]&-16321;d=q[a+36>>2];b=d+1|0;b:{if((d|0)=249){Dj(q[a+12>>2],136502);e=q[a>>2];c=q[a+36>>2]+1|0}o[e+75|0]=b}q[a+36>>2]=c;break;default:break a}}}function dp(a,b,c,d){var e=0,f=0;a:{b:{c:{if((c|0)<10){e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0>=(f-a|0)/576>>>0){break c}if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=a+(c<<4)|0;u[b>>2]=u[d>>2];u[b+4>>2]=u[d+4>>2];u[b+8>>2]=u[d+8>>2];u[b+12>>2]=u[d+12>>2];q[a+412>>2]=q[a+412>>2]|4194304;return}J(194513,193630,2829,194579);G()}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Us(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;a:{e=q[a+4>>2];d=q[a>>2];c=e-d|0;if(!c){break a}if((d|0)!=(e|0)){e=d-e|0;e=((c|0)<(e|0)?e:c)>>>2|0;c=(c|0)>-1?c:-1;c=w(e,(c|0)<1?c:1);e=c>>>0>1?c:1;c=0;while(1){d=q[(c<<2)+d>>2];q[f+12>>2]=s[d+24>>1];g=q[d>>2];h=q[d+12>>2];q[f>>2]=q[d+8>>2];q[f+4>>2]=h;Uj(b,f,8);Uj(b,g,q[f+12>>2]<<4);c=c+1|0;if((e|0)==(c|0)){break a}d=q[a>>2];if(q[a+4>>2]-d>>2>>>0>c>>>0){continue}break}}J(43300,43092,479,43311);G()}o[a+52|0]=0;ti=f+16|0}function Ek(a,b){var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;a:{if((b|0)>0){c=b+1|0;e=q[a+4>>2];b:{if((c|0)<(e|0)){break b}f=q[a+12>>2];if((f|0)<=-1){c=e;if((c|0)>(b|0)){break b}while(1){c=0-w(c,f)|0;if((c|0)<=(b|0)){continue}break}break b}c=e;if(!f){break b}b=(e+f|0)-1|0;c=b-((b|0)%(f|0)|0)|0}if(q[a+24>>2]>=2){q[d+8>>2]=c;q[d+4>>2]=e;q[d>>2]=a;fy(q[52088],134700,d)}q[a+4>>2]=c;b=nl(q[a>>2],c);q[a>>2]=b;if(!b){break a}q[a+20>>2]=q[a+20>>2]+1;ti=d+16|0;return}ht(134778);G()}ht(134686);G()}function _K(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=ti-48|0;ti=c;q[c+40>>2]=0;a:{e=q[b+84>>2];if(q[e+4>>2]){while(1){d=q[e>>2]+w(f,96)|0;g=q[d+16>>2];q[c+32>>2]=0;h=q[g+100>>2]&65536;j=(h>>>16|0)+i|0;if(j>>>0>t[b+152>>2]){break a}q[c+8>>2]=q[a+8>>2];q[c+12>>2]=b;q[c+16>>2]=q[((q[d+20>>2]<<2)+a|0)+12>>2];d=q[g+16>>2];q[c+24>>2]=h?((i<<2)+b|0)+156|0:0;q[c+20>>2]=d;xi[q[g+32>>2]](c+8|0)|0;i=j;f=f+1|0;if(f>>>0>2]){continue}break}}ti=c+48|0;return}J(8117,7291,889,9878);G()}function BX(a,b,c){var d=0,e=0,f=0,g=0;cn(a,b);a:{if(q[b>>2]!=12){break a}d=q[b+8>>2];if(d&256|(d|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];d=e+2|0;f=q[a>>2];b:{if((d|0)<=r[f+75|0]){g=d;break b}g=d;if((e|0)>=248){Dj(q[a+12>>2],136502);f=q[a>>2];g=q[a+36>>2]+2|0}o[f+75|0]=d}q[a+36>>2]=g;Qk(a,e<<6|q[b+8>>2]<<23|sl(a,c)<<14|11,q[q[a+12>>2]+8>>2]);c:{if(q[c>>2]!=12){break c}c=q[c+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}q[b>>2]=12;q[b+8>>2]=e}function mca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;a:{b:{c:{d:{if(!b){break d}Q(34962,a|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}$a(34962,b|0,c|0,q[(d<<2)+87244>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Q(34962,0);if(!(r[q[77547]+156|0]&64)){break d}a=K()|0;if(a){break a}}ti=e+16|0;return}Vi(a,87216,1565);J(84254,84160,1565,87216);G()}Vi(a,87216,1567);J(84254,84160,1567,87216);G()}Vi(a,87216,1569);J(84254,84160,1569,87216);G()}function Ifa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=q[a>>2];d=q[e+4>>2];c=q[e>>2];b=d-c|0;if(!b){break a}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){f=q[(b<<2)+c>>2];c=q[f+128>>2];b:{if(!c){break b}g=q[q[a+4>>2]+8>>2];if((c|0)!=(g|0)){c=q[c+8>>2];if(!c|q[c+28>>2]!=(g|0)){break b}}Eia(e,f,b)}b=b+1|0;if((d|0)==(b|0)){break a}c=q[e>>2];if(q[e+4>>2]-c>>2>>>0>b>>>0){continue}break}}J(46656,46296,486,46535);G()}}function Gla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];b=q[c+16>>2];g=q[q[a+16>>2]>>2];if(g>>>0>2]-b>>3>>>0){d=q[b+(g<<3)>>2];e=q[c>>2];if(d>>>0>2]-e>>8>>>0){b=(d<<8)+e|0;f=s[b+246>>1];if(f&4){p[b+246>>1]=f&65531;yi(q[((d<<8)+e|0)+240>>2])}b=0;a=q[a>>2];a:{if(!a){break a}a=q[a>>2];if(!a){break a}b=q[a>>2]}a=(d<<8)+e|0;f=q[a+224>>2];if(f){Pi(b,f)}a=q[a+228>>2];if(a){Pi(b,a)}a=q[((d<<8)+e|0)+220>>2];if(a){fr(a)}U6(c,g);return 0}}J(52123,52040,479,52134);G()}function uo(a,b,c){var d=0,e=0,f=0,g=0;d=ti-1024|0;ti=d;a:{if(r[a|0]){zj(d,a,1024);Bk(d,167520,1024);break a}o[d|0]=0}Bk(d,b,1024);b=r[d|0];b:{if(!b){break b}a=d;while(1){f=e;g=b&255;c:{if(!((g|0)!=47?(g|0)!=92:0)){o[c+f|0]=47;while(1){b=r[a|0];if((b|0)==92|(b|0)==47){a=a+1|0;continue}else{g=47;break c}}}o[c+f|0]=b;g=b;b=r[a+1|0];a=a+1|0}e=f+1|0;if(b&255?e>>>0<1024:0){continue}break}if(!f){e=1;break b}if((g&255)!=47){break b}o[c+f|0]=0}o[(e>>>0<1023?e:1023)+c|0]=0;ti=d+1024|0}function tna(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;q[d+12>>2]=0;e=Nj(a,q[b>>2],d+12|0);if(!e){a=Oi(32);q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+8>>2]=q[d+12>>2];o[a+25|0]=o[b+4|0]&1;o[a+24|0]=q[b+24>>2];q[a>>2]=zi(q[b+8>>2]);q[a+4>>2]=wi;u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];f=q0(q[b+8>>2]);if(f){g=q[b+8>>2];q[d+4>>2]=f;q[d>>2]=g;Ai(4,58868,58876,d)}q[c>>2]=a}cj(b);ti=d+16|0;return e}function r7(a,b){var c=x(0),d=0,e=0;e=ti-16|0;ti=e;a:{b:{c:{d:{d=r[b+4|0];switch(d&3){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=u[(s[b>>1]<<2)+a>>2];c=d&4?x(-c):c;c=d&8?x(x(c+x(1))*x(.5)):c;if(!(d&16)){break a}c=c>1];a=q[(d+(a>>>3&536870908)|0)+128>>2]>>>a&1}else{a=0}c=a?x(1):x(0);break a}o[e+15|0]=0;d=s[b>>1];if(a){o[e+15|0]=r[(a+d|0)+136|0]}if(!a){break a}c=s[b+2>>1]&r[e+15|0]?x(1):x(0)}ti=e+16|0;return c}function qo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+104>>2];if(!c){break a}f=q[a+16>>2];while(1){d=q[c+8>>2];if(d>>>0>>0){break a}q[a+104>>2]=q[c>>2];e=c+16|0;b:{if(r[c+5|0]&(r[f+20|0]^-1)&3){if((e|0)!=(d|0)){q[q[e+4>>2]+16>>2]=q[e>>2];q[q[e>>2]+20>>2]=q[e+4>>2]}lj(a,c,32,0);break b}q[q[c+20>>2]+16>>2]=q[c+16>>2];q[q[c+16>>2]+20>>2]=q[c+20>>2];d=q[c+8>>2];g=q[d+4>>2];q[c+16>>2]=q[d>>2];q[c+20>>2]=g;q[c+24>>2]=q[d+8>>2];q[c+8>>2]=e;ZX(a,c)}c=q[a+104>>2];if(c){continue}break}}}function lJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;a:{b:{c:{d:{if(!b){break d}Q(34963,a|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}$a(34963,b|0,c|0,q[(d<<2)+87244>>2]);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Q(34963,0);if(!(r[q[77547]+156|0]&64)){break d}a=K()|0;if(a){break a}}ti=e+16|0;return}Vi(a,87330,1596);J(84254,84160,1596,87330);G()}Vi(a,87330,1598);J(84254,84160,1598,87330);G()}Vi(a,87330,1600);J(84254,84160,1600,87330);G()}function Gia(a){var b=0;a:{if(o[a+132|0]&1){break a}b=q[a+120>>2];if(!b){break a}yi(b)}b:{if(o[a+116|0]&1){break b}b=q[a+104>>2];if(!b){break b}yi(b)}c:{if(o[a+100|0]&1){break c}b=q[a+80>>2];if(b){yi(b)}b=q[a+72>>2];if(!b){break c}yi(b)}d:{if(o[a+68|0]&1){break d}b=q[a+56>>2];if(!b){break d}yi(b)}e:{if(o[a+48|0]&1){break e}b=q[a+36>>2];if(!b){break e}yi(b)}f:{if(o[a+32|0]&1){break f}b=q[a+20>>2];if(!b){break f}yi(b)}g:{if(o[a+16|0]&1){break g}a=q[a+4>>2];if(!a){break g}yi(a)}}function Ei(a,b){var c=0;a:{b:{if((b|0)>=1){c=-1;b=(q[a+12>>2]+(b<<4)|0)-16|0;if(b>>>0>2]){break b}break a}if((b|0)>=-9999){b=q[a+8>>2]+(b<<4)|0;break b}c:{switch(b+10002|0){case 2:b=q[a+16>>2]+96|0;break b;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break b;case 0:b=a+72|0;break b;default:break c}}c=-1;a=q[q[q[a+20>>2]+4>>2]>>2];if(r[a+7|0]<(-10002-b|0)){break a}b=(a+(0-b<<4)|0)-160024|0}if((b|0)==135744){return-1}c=q[b+8>>2]}return c}function wN(a,b,c,d){var e=0,f=0;a:{b:{f=c+8|0;if(f>>>0>b>>>0){break b}e=hq(a,c,d);if(e){break a}if((c|0)==2){c=q[d>>2];q[d>>2]=((c|0)<50?c+100|0:c)+1900}e=hq(a,2,d+4|0);if(e){break a}e=hq(a,2,d+8|0);if(e){break a}e=hq(a,2,d+12|0);if(e){break a}e=hq(a,2,d+16|0);if(e){break a}b=b-f|0;if(b>>>0<2){break b}e=hq(a,2,d+20|0);if(e){break a}e=-9216;c:{switch(b-2|0){case 1:b=q[a>>2];if(r[b|0]!=90){break a}q[a>>2]=b+1;break;case 0:break c;default:break a}}return IN(d)}e=-9216}return e}function uqa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;a:{if((b|0)<=-1){e=b;c=b>>31;b=0;while(1){g=b;o[(d+1|0)+b|0]=e|128;b=b+1|0;h=!c&e>>>0>16383|(c|0)!=0;f=c;c=c>>>7|0;f=(f&127)<<25|e>>>7;e=f;if(h){continue}break}o[(d+1|0)+b|0]=f;a=xi[q[a>>2]](q[a+4>>2],d+1|0,g+2|0)|0;break a}b:{if(b>>>0<128){e=b;break b}while(1){o[(d+11|0)+c|0]=b|128;c=c+1|0;f=b>>>0>16383;e=b>>>7|0;b=e;if(f){continue}break}}o[(d+11|0)+c|0]=e;a=xi[q[a>>2]](q[a+4>>2],d+11|0,c+1|0)|0}ti=d+16|0;return a}function Mia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[a+8>>2]-q[a+12>>2]|0;f=Tj(a);q[c+72>>2]=0;q[c+76>>2]=0;b=c- -64|0;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;qk(a,1,b+48|0,b+16|0);d=q[62899];fk(b+16|0,b+48|0,q[d+8>>2],q[d+12>>2],f,d,b+15|0,1);if(e>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(66680,66701,365,66795);G()}ti=c+80|0;return 0}function yA(a,b,c){var d=0,e=0,f=0;f=ti-16|0;ti=f;a:{b:{c:{d:{e:{d=Ei(a,b);switch(d-1|0){case 2:break a;case 6:break d;case 0:break e;default:break c}}e=6;break a}e=1;if(zn(a,b)){break a}e=2;if(Gu(a,b)){break a}d=vm(a,b);q[c>>2]=d;e=3;if(d){break a}d=yn(a,b);q[c>>2]=d;e=4;if(d){break a}d=uy(a,b);q[c>>2]=d;e=5;if(d){break a}a=vy(a,b);q[c>>2]=a;e=7;if(a){break a}Ai(4,14469,14480,0);break b}q[f>>2]=(d|0)==-1?135271:q[(d<<2)+267792>>2];Ai(4,14469,14519,f)}e=8}ti=f+16|0;return e}function eva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=ti-32|0;ti=d;q[d+16>>2]=b;e=q[a+48>>2];q[d+20>>2]=c-((e|0)!=0);f=q[a+44>>2];q[d+28>>2]=e;q[d+24>>2]=f;e=-1;a:{b:{g=bb(q[a+60>>2],d+16|0,2,d+12|0)|0;f=0;c:{if(!g){break c}q[242957]=g;f=-1}if(!f){e=q[d+12>>2];if((e|0)>0){break b}}q[a>>2]=q[a>>2]|e&48^16;break a}g=q[d+20>>2];if(g>>>0>=e>>>0){break a}f=q[a+44>>2];q[a+4>>2]=f;q[a+8>>2]=f+(e-g|0);if(q[a+48>>2]){q[a+4>>2]=f+1;o[(b+c|0)-1|0]=r[f|0]}e=c}ti=d+32|0;return e|0}function ek(a,b){var c=0;a:{b:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;if(b>>>0>2]){break b}break a}if((b|0)>=-9999){b=q[a+8>>2]+(b<<4)|0;break b}c:{switch(b+10002|0){case 2:b=q[a+16>>2]+96|0;break b;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;b=a+88|0;break b;case 0:b=a+72|0;break b;default:break c}}a=q[q[q[a+20>>2]+4>>2]>>2];if(r[a+7|0]<(-10002-b|0)){break a}b=(a+(0-b<<4)|0)-160024|0}if((b|0)==135744){return 0}c=q[b+8>>2]-3>>>0<2}return c}function PK(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=b>>>16&32767;if((c|0)!=32767){d=q[a+1040>>2];b=q[a+1036>>2];while(1){if(d-b>>2>>>0<=c>>>0){break a}e=c<<2;b=q[e+b>>2];PK(a,q[b+148>>2]);if(r[b+136|0]>=127){break b}ct(a,b);d=q[b+136>>2];f=q[b+140>>2];q[b+136>>2]=d&-256|d+1&255;q[b+140>>2]=f;Lv(a,b);d=q[a+1040>>2];b=q[a+1036>>2];if(d-b>>2>>>0<=c>>>0){break a}c=q[q[b+e>>2]+148>>2]&32767;if((c|0)!=32767){continue}break}}return}J(12335,7291,1643,12382);G()}J(12518,10061,479,9553);G()}function $i(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}b=q[a+8>>2];eu(d,c,b-32|0,b-16|0);q[a+8>>2]=q[a+8>>2]-32}function f1(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;b=aj(a,1);a:{b:{c:{c=Wi(a,2,0);if(!nj(123824,c)){c=q[b+4>>2];e=c;b=q[b>>2];if(!(c|b)){break c}Zj(a,b,e);a=1;break a}if(!nj(123831,c)){c=q[b+20>>2];e=c;b=q[b+16>>2];if(!(c|b)){break c}Zj(a,b,e);a=1;break a}if(nj(123836,c)){break b}c=q[b+28>>2];e=c;b=q[b+24>>2];if(!(c|b)){break c}Zj(a,b,e);a=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a=1;break a}q[d+4>>2]=123208;q[d>>2]=123204;a=Bi(a,123845,d)}ti=d+16|0;return a|0}function Yp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(b){c=q[a+8>>2];i=q[a+4>>2];if(c>>>0>i>>>0){break a}b:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break b}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=Owa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=k}return a^1}J(22948,22886,69,22954);G()}J(22867,22886,70,22954);G()}function Fka(a){a=a|0;var b=0,c=0,d=0,e=0;a=q[a+4>>2];b=q[a>>2];if((b|0)!=q[a+4>>2]){while(1){b=w(c,40)+b|0;Pi(q[q[a+80>>2]>>2],q[b+20>>2]);Ks(q[a+84>>2],q[b+16>>2]);c=c+1|0;b=q[a>>2];if(c>>>0<(q[a+4>>2]-b|0)/40>>>0){continue}break}}b=q[a+32>>2];d=q[a+36>>2];if((b|0)!=(d|0)){c=0;while(1){e=q[(c<<2)+b>>2];if(e){Vu(e);d=q[a+36>>2];b=q[a+32>>2]}c=c+1|0;if(c>>>0>2>>>0){continue}break}}TG(q[a+84>>2]);xi[q[77440]](q[a+88>>2]);xi[q[77453]](q[a+108>>2]);Cia(a);yi(a);return 0}function fua(a,b,c){var d=0,e=0,f=0,g=0;e=a;b=r[b+1|0];f=b<<3|b>>>2;g=(c<<4)+100928|0;b=f+q[g>>2]|0;a:{b:{if(b>>>0<256){d=b;break b}c=255;if((b|0)>=0){break a}}c=d}q[e>>2]=c;b=0;e=a;c=q[g+4>>2]+f|0;c:{d:{if(c>>>0<256){b=c;break d}d=255;if((c|0)>=0){break c}}d=b}q[e+4>>2]=d;b=0;e=a;c=q[g+8>>2]+f|0;e:{f:{if(c>>>0<256){b=c;break f}d=255;if((c|0)>=0){break e}}d=b}q[e+8>>2]=d;d=a;a=0;b=q[g+12>>2]+f|0;g:{h:{if(b>>>0<256){a=b;break h}c=255;if((b|0)>=0){break g}}c=a}q[d+12>>2]=c}function av(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=q[a+4>>2];if(c){b:{g=q[a>>2]+((b>>>0)%(c>>>0)<<2)|0;d=q[g>>2];if((d|0)!=-1){c=0;e=q[a+8>>2];f=e+w(d,12)|0;if(q[f>>2]==(b|0)){break a}break b}J(6829,6326,340,6823);G()}while(1){d=q[(w(d,12)+e|0)+8>>2];if((d|0)!=-1){c=f;f=w(d,12)+e|0;if(q[f>>2]!=(b|0)){continue}break a}break}J(6856,6326,366,6823);G()}J(6802,6326,334,6823);G()}q[a+24>>2]=q[a+24>>2]-1;b=w(d,12)+e|0;q[(c?c+8|0:g)>>2]=q[b+8>>2];c=q[a+20>>2];q[a+20>>2]=d;q[b+8>>2]=c}function UG(a){var b=0,c=0,d=0,e=0;d=q[a+4>>2];c=q[a>>2];e=d-c|0;b=(e|0)/18568|0;a:{b:{if(!e){break b}if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){c=w(b,18568)+c|0;if(o[c+18540|0]&1){break a}Ii(0,1544,c+18528|0,c+18536|0,c+18532|0);b=b+1|0;if((d|0)==(b|0)){break b}c=q[a>>2];if((q[a+4>>2]-c|0)/18568>>>0>b>>>0){continue}break}}J(146626,145751,479,145962);G()}cj(q[a+16>>2]);c:{if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}yi(b)}yi(a);return}J(145676,145751,493,145807);G()}function CQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=b&7;b:{if(!e){e=c;break b}d=b>>>3|0;g=8-e|0;c:{if(g>>>0>=c>>>0){if(!c){break a}e=a+d|0;f=r[e|0];d=c;while(1){f=1<>>0<=g>>>0){break a}}c=(b>>>3|0)+a|0;d=e&7;if(d){a=(b+e>>>3|0)+a|0;f=r[a|0];while(1){f=1<<8-d|f;d=d-1|0;if(d){continue}break}o[a|0]=f;e=e&-8}Fi(c,255,e>>>3|0)}}function r4(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;if(!(!e|d)){a=q[b+7372>>2];q[a+4>>2]=q[a>>2];return}q[b+7400>>2]=c;a:{b:{c=q[b+7372>>2];g=q[c+8>>2];f=q[c+4>>2];a=g-f|0;if(a>>>0>>0){if(o[c+12|0]&1){break b}Ii((((e+g|0)-a|0)-q[c>>2]|0)- -1048576|0,1,c,c+8|0,c+4|0);c=q[b+7372>>2];f=q[c+4>>2];a=q[c+8>>2]-f|0}if(a>>>0>>0){break a}Gi(f,d,e);q[c+4>>2]=q[c+4>>2]+e;q[b+7396>>2]=q[b+7396>>2]+e;return}J(26943,26397,493,27018);G()}J(26368,26397,540,26453);G()}function Hv(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=b>>>16&32767;if((c|0)!=32767){d=q[a+1040>>2];b=q[a+1036>>2];while(1){if(d-b>>2>>>0<=c>>>0){break a}e=c<<2;b=q[e+b>>2];Hv(a,q[b+148>>2]);if(!r[b+136|0]){break b}ct(a,b);d=q[b+136>>2];f=q[b+140>>2];q[b+136>>2]=d&-256|d-1&255;q[b+140>>2]=f;Lv(a,b);d=q[a+1040>>2];b=q[a+1036>>2];if(d-b>>2>>>0<=c>>>0){break a}c=q[q[b+e>>2]+148>>2]&32767;if((c|0)!=32767){continue}break}}return}J(10473,7291,1232,12391);G()}J(12518,10061,479,9553);G()}function nma(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{b=q[a+80>>2];d=q[b+24>>2];c=q[b+28>>2];if((d|0)!=(c|0)){e=q[b+20>>2];if(!e){break c}if(c>>>0>=d>>>0){break b}q[b+28>>2]=c+1;c=q[(c<<2)+e>>2];d=q[b+8>>2];b=q[b+4>>2];if(c>>>0>=(d-b|0)/28>>>0){break a}d=q[a+76>>2];b=b+w(c,28)|0;q[b+4>>2]=0;q[b>>2]=d;q[q[a+88>>2]>>2]=b;return 0}jn(35125,q[60922],(q[b+8>>2]-q[b+4>>2]|0)/28|0);return-1e3}J(35729,35656,151,35736);G()}J(35740,35656,152,35736);G()}J(35707,35538,479,35718);G()}function T2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-4e3|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-10002,117639);o[b+16|0]=0;c=1;a:{b:{if((e|0)>=1){while(1){Qi(a,-1);Qi(a,c);zk(a,1,1);d=dj(a,-1,0);if(!d){break b}if(c>>>0>=2){Bk(b+16|0,117691,3984)}Bk(b+16|0,d,3984);Ci(a,-2);d=(c|0)==(e|0);c=c+1|0;if(!d){continue}break}}q[b>>2]=b+16;Ai(1,117469,117693,b);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(e|0)){break a}J(117696,117392,394,117715);G()}f=Bi(a,117648,0)}ti=b+4e3|0;return f|0}function Ip(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}a=c;if(q[a+8>>2]==6){a=r[q[a>>2]+6|0]!=0}else{a=0}return a}function Cqa(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;g=2;a:{b:{if((c|0)!=2){break b}if(!Yp(e,f+12|0)){break b}if(!yL(e,q[f+12>>2],f+8|0)){break b}e=q[f+12>>2];h=q[f+8>>2];c=q[d+4>>2];if((c&-268435456)==805306368){Iqa(a,b,d,h,e);g=0;break b}if((c&264241152)!=37748736){break a}c=LA(b,e+1|0);g=0;if(r[a+12|0]){break b}a=q[a+4>>2];d=q[d+12>>2];i=e;e=Gi(c,h,e);o[i+e|0]=0;a=a+d|0;if(o[b+48|0]&1){c=e-q[b+32>>2]|0}q[a>>2]=c}ti=f+16|0;return g}J(23571,23110,288,23607);G()}function Zoa(a){var b=0,c=0,d=0;Epa(q[q[q[a+4>>2]+80>>2]+8>>2],a);b=q[q[a>>2]>>2];d=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[a+12>>2]);jk(b);Iy(q[a+8>>2]);c=q[b+8>>2];q[c+8>>2]=0;q[b+8>>2]=c+16;jk(b);Aj(b,-1e4,q[a+20>>2]);Aj(b,-1e4,q[a+12>>2]);Aj(b,-1e4,q[a+16>>2]);$oa(q[a+28>>2]);q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=-2;q[a+20>>2]=-2;q[a+12>>2]=-2;if(q[b+8>>2]-q[b+12>>2]>>4!=(d|0)){J(16509,15841,2581,18548);G()}}function A9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=q[a+8>>2]-q[a+12>>2]>>4;e=fj(a,1,c+12|0);a:{if(r[e+415|0]&16){break a}if(Ei(a,2)){b=fj(a,2,c+12|0);b=s[b+554>>1]|s[b+552>>1]<<16}b:{if((d|0)<3){break b}if((Ei(a,3)|0)!=1){break b}f=(Ej(a,3)|0)!=0}Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);c:{d:{b=Zq(d,s[e+554>>1]|s[e+552>>1]<<16,b,f);switch(b+8|0){case 8:break a;case 0:break d;default:break c}}b=Bi(a,201111,0);break a}b=Bi(a,201170,0)}ti=c+16|0;return b|0}function qq(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!c|!(a&3)){break c}e=b&255;while(1){if((e|0)==r[a|0]){break b}a=a+1|0;c=c-1|0;d=(c|0)!=0;if(!c){break c}if(a&3){continue}break}}if(!d){break a}}d:{if(r[a|0]==(b&255)|c>>>0<4){break d}d=w(b&255,16843009);while(1){e=d^q[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)==r[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function mra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-80|0;ti=b;g=q[a+8>>2]-q[a+12>>2]>>4;e=Xi(a,1);if(!((e|0)==1&r[915868]!=0)){Bi(a,203030,0)}c=q[233304];c=(e|0)!=1?0:r[915868]?c>>>0<64?c:64:0;gj(a,0,0);if(c){while(1){q[b>>2]=cra(e,d);Zm(b+16|0,203087,b);f=q[a+8>>2];q[f+8>>2]=3;d=d+1|0;v[f>>3]=d>>>0;q[a+8>>2]=q[a+8>>2]+16;Hi(a,b+16|0);$i(a,-3);if((c|0)!=(d|0)){continue}break}}if((g+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(203090,202493,284,203115);G()}ti=b+80|0;return 1}function yF(a){var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>1){As(a);e=a;if((Ei(a,-1)|0)==5){hk(a,-3);$i(a,-3);d=-2}else{d=-4}Ci(e,d);c=c-2|0;a=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)!=(a|0)){break a}ti=b+32|0;return}q[b+12>>2]=c;q[b+4>>2]=1188;q[b+8>>2]=-2;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=1188;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function Yma(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{b=q[a+80>>2];d=q[b+20>>2];c=q[b+24>>2];if((d|0)!=(c|0)){e=q[b+16>>2];if(!e){break c}if(c>>>0>=d>>>0){break b}q[b+24>>2]=c+1;c=q[(c<<2)+e>>2];d=q[b+4>>2];b=q[b>>2];if(c>>>0>=(d-b|0)/28>>>0){break a}d=q[a+76>>2];b=b+w(c,28)|0;q[b+4>>2]=0;q[b>>2]=d;q[q[a+88>>2]>>2]=b;return 0}jn(30247,q[60915],(q[b+4>>2]-q[b>>2]|0)/28|0);return-1e3}J(30965,30914,151,30972);G()}J(30976,30914,152,30972);G()}J(30483,30494,479,30472);G()}function Kz(a,b){var c=0,d=0,e=0,f=0;a:{if(b>>>0<4){d=b;break a}d=b;while(1){f=e;e=w(r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24),1540483477);e=w(f^w(e>>>24^e,1540483477),1540483477);a=a+4|0;d=d-4|0;if(d>>>0>3){continue}break}}b:{switch(d-1|0){case 2:c=r[a+2|0]<<16;case 1:c=r[a+1|0]<<8|c;case 0:c=w(r[a|0]^c,1540483477);break;default:break b}}a=w(b,1540483477);a=w(w(c>>>24^c,1540483477)^e,1540483477)^w(a>>>24^a,1540483477);a=w(a>>>13^a,1540483477);return a>>>15^a}function D0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{if(!(q[a+8>>2]-q[a+12>>2]>>4)){b=Oi(8);q[b>>2]=0;break b}mj(a,1,5);d=Mk(a,1);b=Oi(8);if((d|0)>-1){q[b>>2]=d;if(!d){break b}q[b+4>>2]=Ji(d<<2);while(1){c=q[a+8>>2];q[c+8>>2]=3;f=c;c=e+1|0;v[f>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,1);g=xj(a,-1);u[q[b+4>>2]+(e<<2)>>2]=g;Ci(a,-2);e=c;if((c|0)!=(d|0)){continue}break}break a}J(130367,130381,37,130427);G()}q[b+4>>2]=0}q[jj(a,4)>>2]=b;Ki(a,-1e4,128672);ij(a,-2);return 1}function $V(a,b,c){var d=0;d=ti+ -64|0;ti=d;b=KD(a,b);a:{if(b){break a}b=d;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=$t(a,64,b,b);if(b){break a}b=QU(a+132|0,d);if(b){break a}q[a+208>>2]=0;q[a+212>>2]=0;q[a+228>>2]=c;q[a+224>>2]=1;q[a+216>>2]=0;q[a+220>>2]=0;b=0}xi[q[68401]](d,0,64)|0;ti=d- -64|0;return b}function qsa(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;d=a;if((Ei(a,1)|0)==8){d=sn(a,1)}e=r[d+56|0];b=q[d+68>>2];a:{if(!(!b|(b|0)==1184)){Ni(a,141896,13);break a}JE(a);b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-2);Xk(a,-2)}b=0;if(e&1){o[c+11|0]=99;b=1}if(e&2){o[(c+11|0)+b|0]=114;b=b+1|0}if(e&4){o[(c+11|0)+b|0]=108;b=b+1|0}o[(c+11|0)+b|0]=0;Hi(a,c+11|0);d=q[d+60>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;ti=c+16|0;return 3}function Bka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+8>>2];q[b+112>>2]=0;o[b+120|0]=r[b+120|0]&254;e=q[b+4>>2];c=q[b>>2];g=e-c|0;d=(g|0)/40|0;a:{if(!g){break a}if((c|0)!=(e|0)){e=d>>>0>1?d:1;while(1){d=w(f,40)+c|0;c=q[d+20>>2];if((c|0)==q[a+4>>2]){p6(q[b+84>>2],q[d+16>>2]);c=q[d+20>>2]}q[b+112>>2]=q[b+112>>2]+((q[c+4>>2]-q[c>>2]|0)/18568|0);f=f+1|0;if((e|0)==(f|0)){break a}c=q[b>>2];if((q[b+4>>2]-c|0)/40>>>0>f>>>0){continue}break}}J(42544,42460,479,42555);G()}}function m6(a,b){var c=0,d=0;a:{b:{if(!b){break b}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);break b}d=q[a+4>>2];c=q[a>>2];b=d-c|0;if(!b){break b}b=(b|0)/304|0;if((c|0)!=(d|0)){d=b>>>0>1?b:1;b=0;while(1){c=w(b,304)+c|0;o[c+296|0]=r[c+296|0]|8;b=b+1|0;if((d|0)==(b|0)){break b}c=q[a>>2];if((q[a+4>>2]-c|0)/304>>>0>b>>>0){continue}break}}break a}break a}return}J(146626,145751,479,145962);G()}function Bna(a){a=a|0;var b=0,c=0,d=0,e=x(0),f=x(0),g=x(0),h=0;b=ti-16|0;ti=b;c=Hm(a,2);d=vm(a,1);a:{b:{if(d){c:{e=u[d>>2];d:{if(e<=x(0)){break d}f=u[d+4>>2];if(f<=x(0)){break d}g=u[d+8>>2];if(g<=x(0)^1){break c}}a=Bi(a,16266,0);break a}u[b+8>>2]=g;u[b+4>>2]=f;u[b>>2]=e;a=q[b+4>>2];d=q[b>>2];u[c+40>>2]=u[b+8>>2];q[c+32>>2]=d;q[c+36>>2]=a;break b}h=Ri(a,1);if(!(h<=0^1)){a=Bi(a,16348,0);break a}e=x(h);u[c+32>>2]=e;u[c+40>>2]=e;u[c+36>>2]=e}a=0}ti=b+16|0;return a|0}function TX(a,b){var c=0,d=0,e=0,f=0;c=a+104|0;e=q[a+16>>2];d=q[a+104>>2];a:{if(!d){break a}f=q[d+8>>2];if(f>>>0>>0){break a}while(1){c=d;if((b|0)==(f|0)){a=r[c+5|0];if(!(a&(r[e+20|0]^-1)&3)){return c}o[c+5|0]=a^3;return c}d=q[c>>2];if(!d){break a}f=q[d+8>>2];if(f>>>0>=b>>>0){continue}break}}a=lj(a,0,0,32);o[a+4|0]=10;d=r[e+20|0];q[a+8>>2]=b;o[a+5|0]=d&3;q[a>>2]=q[c>>2];q[c>>2]=a;q[a+16>>2]=e+120;b=q[e+140>>2];q[a+20>>2]=b;q[b+16>>2]=a;q[e+140>>2]=a;return a}function PR(a,b,c){var d=0,e=0,f=0;e=ti-16|0;ti=e;d=Rj(a,b,e+12|0,48);a:{if(d){d=d-15104|0;break a}d=-15206;if((q[a>>2]+q[e+12>>2]|0)!=(b|0)){break a}d=Rj(a,b,e+12|0,2);if(d){d=d-15104|0;break a}d=-15104;if(iD(c,q[a>>2],q[e+12>>2],0,0)){break a}q[a>>2]=q[a>>2]+q[e+12>>2];f=Rj(a,b,e+12|0,2);if(f){d=f-15104|0;break a}if(iD(c,0,0,q[a>>2],q[e+12>>2])){break a}q[a>>2]=q[a>>2]+q[e+12>>2];if(NU(c)){break a}if(wx(c)){break a}d=q[a>>2]==(b|0)?0:-15206}ti=e+16|0;return d}function M3(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;f=-101;b=RT(q[a+12>>2],b,c);a:{if((b&-129)==-26880){break a}b:{if((b|0)<=-1){mC(q[a+12>>2]);f=-5;c:{d:{if((b|0)<=-81){if((b|0)==-30848){break a}if((b|0)==-26624){break d}if((b|0)==-26496){break a}break b}switch(b+80|0){case 0:break a;case 4:break c;default:break b}}f=-3;break a}f=-101;break a}q[d>>2]=b;f=0;break a}q[e+12>>2]=0-b;q[e+8>>2]=45;q[e+4>>2]=b;q[e>>2]=Qq(b);Ai(3,176252,177731,e);f=-1e3}ti=e+16|0;return f}function a3(a){a=a|0;var b=0,c=0;b=ti+ -64|0;ti=b;yt(b,Fm(a,1));c=jj(a,64);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];Ki(a,-1e4,128736);ij(a,-2);ti=b- -64|0;return 1}function _oa(a){var b=0,c=0,d=0,e=0;e=a;d=q[a+29088>>2];c=q[a+29084>>2];b=d-c|0;if(b){a:{if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){c=q[c>>2];Pv(c);lr(c);b=b+1|0;if((d|0)==(b|0)){break a}c=q[a+29084>>2];if((c|0)!=q[a+29088>>2]){continue}break}}J(12518,10061,479,9553);G()}c=q[a+29084>>2]}q[e+29088>>2]=c;Zn(q[a+29080>>2]);b:{if(o[a+29096|0]&1){break b}c=q[a+29084>>2];if(!c){break b}yi(c)}yi(a)}function BB(a,b){var c=0,d=0,e=0;e=1;c=q[a>>2];d=q[b>>2];a:{if((c|0)>(d|0)){break a}b:{if((c|0)!=(d|0)){break b}c=q[a+4>>2];d=q[b+4>>2];if((c|0)>(d|0)){break a}if((c|0)!=(d|0)){break b}if(q[a+8>>2]>q[b+8>>2]|(q[a+12>>2]>q[b+12>>2]?q[a+8>>2]==q[b+8>>2]:0)|(q[a+16>>2]>q[b+16>>2]?!(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]):0)){break a}if(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]|q[a+16>>2]!=q[b+16>>2]){break b}if(q[a+20>>2]>q[b+20>>2]){break a}}e=0}return e}function sn(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}a=c;if(q[a+8>>2]==8){a=q[a>>2]}else{a=0}return a}function Jn(a){var b=0;a:{if(!q[a+176>>2]){b=wC(a);if(b){break a}while(1){b:{c:{if(q[a+132>>2]){break c}if(!(!(r[q[a>>2]+184|0]&2)|t[a+136>>2]>t[a+144>>2])){if(!kQ(a)){break c}}b=mQ(a);if((b|0)==-25984){break b}if(b){break a}}b=hU(a);if((b|0)<=-25729){if((b|0)==-26240|(b|0)==-25984){break b}break a}if((b|0)!=-25728){if(b){break a}b=0;if(q[a+128>>2]!=22){break a}ST(a);return 0}b=zQ(a);if(b){break a}}b=wC(a);if(!b){continue}break}break a}q[a+176>>2]=0}return b}function E3(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=x(0);c=ti-48|0;ti=c;b=Li(a,1,q[212906],0);f=u[b>>2];g=u[b+4>>2];a:{b:{if(f!=f|g!=g){break b}d=u[b+8>>2];if(d!=d){break b}e=u[b+12>>2];if(e==e){break a}}d=u[b+8>>2];e=u[b+12>>2];v[c+16>>3]=g;v[c+32>>3]=e;v[c+24>>3]=d;v[c+8>>3]=f;q[c>>2]=1;Bi(a,129003,c);e=u[b+12>>2];d=u[b+8>>2];g=u[b+4>>2];f=u[b>>2]}b=jj(a,16);u[b+12>>2]=e;u[b+8>>2]=-d;u[b+4>>2]=-g;u[b>>2]=-f;Ki(a,-1e4,128720);ij(a,-2);ti=c+48|0;return 1}function x_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=q[a+16>>2];b=lj(a,0,0,192);q[a+48>>2]=8;q[a+20>>2]=b;q[a+40>>2]=b;q[a+36>>2]=b+168;b=lj(a,0,0,720);q[a+44>>2]=45;q[a+32>>2]=b;q[a+28>>2]=b+624;c=q[a+20>>2];q[c+4>>2]=b;d=b+16|0;q[a+8>>2]=d;q[b+8>>2]=0;q[c>>2]=d;q[a+12>>2]=d;q[c+8>>2]=b+336;b=To(a,0,2);q[a+80>>2]=5;q[a+72>>2]=b;b=q[a+16>>2];c=To(a,0,2);q[b+104>>2]=5;q[b+96>>2]=c;Lx(a,32);xX(a);tX(a);a=Jj(a,137223,17);o[a+5|0]=r[a+5|0]|32;q[e+64>>2]=q[e+68>>2]<<2}function vca(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:{if(a){bc(q[(b<<2)+88328>>2],q[(c<<2)+88208>>2],d|0,e|0);if(r[q[77547]+156|0]&64){f=K()|0;if(f){break a}}h=q[a+72>>2];i=q[a+76>>2];b:{if((b|0)==1){f=-1;g=-29;b=(c&7)<<2;c=0;break b}f=-29360129;g=-1;b=0;c=c<<22&29360128}c=c|f&h;f=(g&i|b)&-536862721;b=(e&255)<<13;q[a+72>>2]=c;q[a+76>>2]=(d&255)<<21|b|f;return}J(84221,84160,3534,88299);G()}Vi(f,88299,3536);J(84254,84160,3536,88299);G()}function _9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,0,196298,4043);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);if((Ei(a,2)|0)!=-1){mj(a,2,5);Qi(a,2);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){c=dj(a,-2,0);a:{if(!nj(c,202060)){f=Ej(a,-1);break a}q[b>>2]=c;Ai(3,196621,202066,b)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2)}if((w8(e,q[b+4>>2],(f|0)!=0)|0)==-10){g=sj(d,202109,0)}Yi(d);ti=b+32|0;return g|0}function gca(a,b){var c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;c=q[a+268>>2];a:{if((c|0)==q[a+260>>2]-q[a+252>>2]>>4){q[d>>2]=c;Ai(4,193721,193815,d);a=-4;break a}b=zi(b);c=wi;g=c;e=s[a+356>>1];p[a+356>>1]=e+1;p[d+14>>1]=e;xz(a+244|0,b,c,d+14|0);c=q[a+32>>2];e=q[a+36>>2]-c|0;a=(e|0)/576|0;if(e){e=a>>>0>1?a:1;a=0;while(1){f=c+w(a,576)|0;if((b|0)==q[f+496>>2]&q[f+500>>2]==(g|0)){p[f+504>>1]=s[d+14>>1]}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=0}ti=d+16|0;return a}function $qa(){var a=0,b=0;a=ti-272|0;ti=a;Fi(966256,0,1024);Fi(865492,0,50376);a:{if(Au(202263,967280)){break a}Bk(967280,202270,1024);Bk(967280,202272,1024);zj(966256,967280,1024);Fi(a+8|0,0,264);zu(a+8|0);zj(865652,a+8|0,32);zj(865684,a+40|0,32);zj(865716,a+72|0,32);zj(865748,a+104|0,32);zj(865780,a+168|0,8);zj(865788,a+176|0,16);zj(865804,a+192|0,8);zj(865492,4276,32);zj(865524,4282,128);o[295232]=r[295128];b=q[a+268>>2];if(!b){break a}yi(b)}ti=a+272|0}function j_(a,b,c){var d=0,e=0,f=0,g=0;d=ti+ -64|0;ti=d;if(c-1>>>0<16){o[d+26|0]=37;o[d+27|0]=46;if(c>>>0>=10){o[d+28|0]=49;e=3}else{e=2}e=e+(d+26|0)|0;o[e+1|0]=103;o[e+2|0]=0;o[e|0]=((c&255)>>>0)%10|48;a:{if(r[265392]==46){v[d>>3]=b;e=Ko(a,32,d+26|0,d);break a}v[d+16>>3]=b;e=Ko(d+32|0,32,d+26|0,d+16|0);c=d+32|0;g=r[265392];while(1){f=r[c|0];o[a|0]=(f|0)==(g|0)?46:f;c=c+1|0;a=a+1|0;if(f){continue}break}}ti=d- -64|0;return e}J(133573,133607,163,133632);G()}function S3(a){var b=0;a:{if(o[a+112|0]&1){break a}b=q[a+100>>2];if(!b){break a}yi(b)}b:{if(o[a+96|0]&1){break b}b=q[a+84>>2];if(!b){break b}yi(b)}c:{if(o[a+80|0]&1){break c}b=q[a+68>>2];if(!b){break c}yi(b)}d:{if(o[a- -64|0]&1){break d}b=q[a+52>>2];if(!b){break d}yi(b)}e:{if(o[a+44|0]&1){break e}b=q[a+32>>2];if(!b){break e}yi(b)}f:{if(o[a+28|0]&1){break f}b=q[a+16>>2];if(!b){break f}yi(b)}g:{if(o[a+12|0]&1){break g}b=q[a>>2];if(!b){break g}yi(b)}return a}function IC(a,b,c){var d=0,e=0,f=0;a:{if(!c){c=137304;q[b+16>>2]=137304;break a}c=Mx(c-1|0);d=c+1|0;if((c|0)>=26){Hk(a,137336,0)}e=1<>>0<=26){c=lj(a,0,0,e<<5);q[b+16>>2]=c;a=b+16|0;break b}c=Yj(a);q[b+16>>2]=c;if((d|0)==31){break a}a=b+16|0}q[c+8>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;if(!(!d|(e|0)<2)){c=1;while(1){f=q[a>>2]+(c<<5)|0;q[f+8>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=q[a>>2]}o[b+7|0]=d;q[b+20>>2]=(e<<5)+c}function NX(a,b,c){var d=0,e=0,f=0,g=0;d=ti-48|0;ti=d;e=q[b+8>>2];q[d+44>>2]=0;c=e-3>>>0<2?c:b;e=q[(q[c+8>>2]<<2)+267792>>2];f=q[a+20>>2];g=q[f+8>>2];a:{b:{b=q[f>>2];if(g>>>0<=b>>>0){break b}while(1){if((b|0)!=(c|0)){b=b+16|0;if(g>>>0>b>>>0){continue}break b}break}b=su(a,f,c-q[a+12>>2]>>4,d+44|0);if(!b){break b}q[d+20>>2]=b;q[d+24>>2]=q[d+44>>2];q[d+28>>2]=e;q[d+16>>2]=135343;Hk(a,135283,d+16|0);break a}q[d+4>>2]=e;q[d>>2]=135343;Hk(a,135318,d)}ti=d+48|0}function AY(a){a=a|0;var b=0,c=0,d=0;d=ti-112|0;ti=d;a:{b:{c=sn(a,1);if(c){if((a|0)==(c|0)){break a}c:{b=r[c+6|0];switch(b|0){case 1:break a;case 0:break c;default:break b}}b=2;if((cl(c,0,d+8|0)|0)>0){break a}b=q[c+8>>2]-q[c+12>>2]>>4?1:3;break a}Qj(a,1,139022);if(!a){break a}d:{b=r[6];switch(b|0){case 1:break a;case 0:break d;default:break b}}b=2;if((cl(0,0,d+8|0)|0)>0){break a}b=q[2]-q[3]>>4?1:3;break a}b=3}Hi(a,q[(b<<2)+268224>>2]);ti=d+112|0;return 1}function vs(a,b,c){var d=0,e=0,f=0,g=0;d=ti-80|0;ti=d;o[b|0]=0;a:{if(wo(q[a>>2],q[a+4>>2])){e=bm(q[a>>2],q[a+4>>2]);if(e){break a}}q[d+32>>2]=Mi(q[a>>2],q[a+4>>2]);hj(d+48|0,32,122978,d+32|0);e=d+48|0}zj(b,e,c);Bk(b,122981,c);e=q[a+20>>2];g=e;f=q[a+16>>2];if(e|f){q[d+16>>2]=Mi(f,g);hj(d+48|0,32,122978,d+16|0);Bk(b,d+48|0,c)}if(q[a+24>>2]|q[a+28>>2]){Bk(b,122983,c);q[d>>2]=Mi(q[a+24>>2],q[a+28>>2]);hj(d+48|0,32,122978,d);Bk(b,d+48|0,c)}ti=d+80|0;return b}function eba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-16|0;ti=b;g=q[a+8>>2]-q[a+12>>2]>>4;e=1;fj(a,1,b+12|0);Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);c=201199;a:{b:{switch(qv(d,q[b+12>>2],b+8|0)+4|0){case 4:kv(d,q[b+8>>2],q[b+12>>2]);c=q[b+8>>2];f=jj(a,8);q[f+4>>2]=c;q[f>>2]=d;Ki(a,-1e4,196365);ij(a,-2);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(196375,196298,3206,201238);G();default:c=201170;break;case 0:break b}}e=Bi(a,c,0)}ti=b+16|0;return e|0}function P2(a){a=a|0;var b=0,c=0;b=ti-32|0;ti=b;a:{c=q[a+8>>2]-q[a+12>>2]>>4;if((c|0)>-1){Ki(a,-10002,117437);q[aj(a,-1)>>2]=w(Xi(a,1),214013)+2531011;Ci(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(c|0)){break a}ti=b+32|0;return 0}q[b+12>>2]=c;q[b+4>>2]=143;q[b+8>>2]=0;q[b>>2]=117392;Ai(4,117469,118011,b);J(118083,117392,1468,118100);G()}q[b+28>>2]=a;q[b+24>>2]=c;q[b+20>>2]=143;q[b+16>>2]=117392;Ai(4,117469,118114,b+16|0);J(118185,117392,1491,118204);G()}function Mp(a,b,c){var d=0,e=0,f=0,g=0;d=ti+ -64|0;ti=d;e=du(b,d+40|0);q[d+60>>2]=0;c=e?c:b;e=q[(q[c+8>>2]<<2)+267792>>2];a:{b:{f=q[a+20>>2];b=q[f>>2];g=q[f+8>>2];if(b>>>0>=g>>>0){break b}while(1){if((b|0)!=(c|0)){b=b+16|0;if(g>>>0>b>>>0){continue}break b}break}b=su(a,f,c-q[a+12>>2]>>4,d+60|0);if(!b){break b}q[d+20>>2]=b;q[d+24>>2]=q[d+60>>2];q[d+28>>2]=e;q[d+16>>2]=135355;Hk(a,135283,d+16|0);break a}q[d+4>>2]=e;q[d>>2]=135355;Hk(a,135318,d)}ti=d- -64|0}function Gha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+20>>2];d=uK(q[a>>2],b);if(!d){c=q[a+24>>2];q[c+8>>2]=b;q[c+16>>2]=(q[a+16>>2]+(q[b+16>>2]-q[b+12>>2]|0)|0)+32;return d|0}c=q[b+16>>2];e=q[b+12>>2];if((c|0)!=(e|0)){f=q[a>>2];a=0;c=e;while(1){Pi(f,q[(a<<2)+c>>2]);a=a+1|0;c=q[b+12>>2];if(a>>>0>2]-c>>2>>>0){continue}break}}q[b+16>>2]=c;a=q[b+8>>2];if(a){cj(a);q[b+8>>2]=0}a:{if(o[b+24|0]&1){break a}a=q[b+12>>2];if(!a){break a}yi(a)}yi(b);return d|0}function YX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+16>>2];d=q[e+112>>2];b=q[d>>2];if(!b){return}while(1){f=r[b+5|0];a:{if(!(f&3|1?!(f&8):0)){d=b;break a}b:{g=b;c=q[b+8>>2];if(!(!c|r[c+6|0]&4)){if(On(c,2,q[q[a+16>>2]+196>>2])){break b}f=r[b+5|0]}o[g+5|0]=f|8;d=b;break a}o[b+5|0]=r[b+5|0]|8;c=q[b+16>>2];q[d>>2]=q[b>>2];h=(c+h|0)+32|0;c=q[e+48>>2];c:{if(!c){q[b>>2]=b;break c}q[b>>2]=q[c>>2];q[q[e+48>>2]>>2]=b}q[e+48>>2]=b}b=q[d>>2];if(b){continue}break}}function Haa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-32|0;ti=d;f=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);a:{b:{if(ek(a,1)){b=Wi(a,1,0);c=pv(e,b);if(c){break a}q[d+16>>2]=b;Bi(a,196329,d+16|0);break b}b=Zk(a,1);c=wi;g=c;c=Lba(e,b,c);if(c){break a}q[d>>2]=Mi(b,g);Bi(a,196346,d)}c=0}b=jj(a,8);q[b+4>>2]=c;q[b>>2]=e;Ki(a,-1e4,196365);ij(a,-2);if((f+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,490,196400);G()}ti=d+32|0;return 1}function CV(a,b,c,d,e){var f=0;f=ti-48|0;ti=f;q[f+44>>2]=d;q[f+32>>2]=0;q[f+24>>2]=1;q[f+28>>2]=0;q[f+16>>2]=0;q[f+8>>2]=1;q[f+12>>2]=0;e=d+e|0;d=Rj(f+44|0,e,f+40|0,48);a:{if(d){d=d-20352|0;break a}d=-20454;if((e|0)!=(q[f+44>>2]+q[f+40>>2]|0)){break a}b:{d=au(f+44|0,e,f+24|0);if(!d){d=au(f+44|0,e,f+8|0);if(!d){break b}}d=d-20352|0;break a}d=d$(a,b,c,a+136|0,f+24|0,f+8|0);if(d){break a}d=(e|0)==q[f+44>>2]?0:-19456}Si(f+24|0);Si(f+8|0);ti=f+48|0;return d}function lQ(a){var b=0;a=Fi(a,0,2280);yq(a+596|0);uq(a+684|0);q[a+604>>2]=1732584193;q[a+608>>2]=-271733879;q[a+596>>2]=0;q[a+600>>2]=0;q[a+612>>2]=-1732584194;q[a+616>>2]=271733878;q[a+692>>2]=1732584193;q[a+696>>2]=-271733879;q[a+684>>2]=0;q[a+688>>2]=0;q[a+708>>2]=-1009589776;q[a+700>>2]=-1732584194;q[a+704>>2]=271733878;b=a+776|0;Qr(b);Pr(b,0);b=a+888|0;Ep(b);Dp(b,1);q[a+1104>>2]=1387;q[a+4>>2]=0;q[a>>2]=0;Fi(a+8|0,0,124);EV(a+132|0);q[a+456>>2]=3}function Pu(a,b,c,d){var e=0,f=0,g=0,h=0;g=q[a+52>>2];f=q[a+48>>2];h=g-f|0;e=(h|0)/40|0;a:{b:{if((h|0)<1){break b}c:{if((f|0)!=(g|0)){g=(e|0)>1?e:1;e=0;while(1){f=q[w(e,40)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break c}e=e+1|0;if((g|0)==(e|0)){break b}f=q[a+48>>2];if((q[a+52>>2]-f|0)/40>>>0>e>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0<=e>>>0){break a}q[q[a+w(e,40)>>2]+16>>2]=d}return}J(109402,109229,479,109413);G()}function Iqa(a,b,c,d,e){var f=0,g=0;a:{if((q[c+4>>2]&-268435456)==805306368){if(q[c+8>>2]){break a}g=LA(b,e+1|0);if(!r[a+12|0]){f=q[a+4>>2]+q[c+12>>2]|0;a=q[f>>2];if(o[b+48|0]&1){if(!q[f+4>>2]){a=a-q[b+32>>2]|0;q[f>>2]=a}a=q[b+32>>2]+a|0}d=Gi(g,d,e);o[d+e|0]=0;c=(q[f+4>>2]<<2)+a|0;a=o[b+48|0]&1?d-q[b+32>>2]|0:g;o[c|0]=a;o[c+1|0]=a>>>8;o[c+2|0]=a>>>16;o[c+3|0]=a>>>24;q[f+4>>2]=q[f+4>>2]+1}return}J(23491,23110,312,23617);G()}J(23410,23110,313,23617);G()}function $9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,0,196298,3991);Ti(a);f=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,c+4|0);g=e;a:{b:{c:{if(q[a+8>>2]-q[a+12>>2]>>4<2){break c}if(!Ei(a,2)){break c}a=Wn(a,2);d=201968;if(!a){break b}b=Ji(20);q[b+12>>2]=f;q[b+8>>2]=a;q[b+16>>2]=q[c+4>>2];q[b>>2]=1405;q[b+4>>2]=b}if((V8(f,q[c+4>>2],b)|0)!=-10){break a}d=202010;if(!b){break b}yi(b);d=202010}h=sj(g,d,0)}Yi(e);ti=c+32|0;return h|0}function dW(a,b,c,d,e,f,g,h){var i=0;i=ti-16|0;ti=i;a=fM(a,1,b,c,d,e,g,h,i);a:{if(a){break a}if(!(r[i|0]^r[f|0]|r[i+1|0]^r[f+1|0]|r[i+2|0]^r[f+2|0]|r[i+3|0]^r[f+3|0]|r[i+4|0]^r[f+4|0]|r[i+5|0]^r[f+5|0]|r[i+6|0]^r[f+6|0]|r[i+7|0]^r[f+7|0]|r[i+8|0]^r[f+8|0]|r[i+9|0]^r[f+9|0]|r[i+10|0]^r[f+10|0]|r[i+11|0]^r[f+11|0]|r[i+12|0]^r[f+12|0]|r[i+13|0]^r[f+13|0]|r[i+14|0]^r[f+14|0]|r[i+15|0]^r[f+15|0])){a=0;break a}xi[q[68401]](h,0,b)|0;a=-86}ti=i+16|0;return a}function KU(a,b,c,d){var e=0,f=0;e=ti-32|0;ti=e;f=-4;a:{if(!d){break a}if(uj(d,0)){break a}if((uj(a,1)|0)<1){break a}if((uj(b,1)|0)<1){break a}if(!uj(c,0)){break a}q[e+24>>2]=0;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;f=zl(e+16|0,a,1);b:{if(f){break b}f=zl(e,b,1);if(f){break b}f=Vr(d,e+16|0,e);if(f){break b}f=Fk(e+16|0,e+16|0,e);if(f){break b}f=xx(e+16|0,0,e+16|0,d);if(f){break b}f=jo(d,c,e+16|0)}Si(e+16|0);Si(e)}ti=e+32|0;return f}function $0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0),g=0,h=0,i=0;b=ti-80|0;ti=b;q[b+76>>2]=0;i=Wi(a,1,b+76|0);c=Li(a,2,q[212904],0);d=u[c>>2];e=u[c+4>>2];a:{if(!(d!=d|e!=e)){f=u[c+8>>2];if(f==f){break a}}f=u[c+8>>2];v[b+48>>3]=e;v[b+56>>3]=f;v[b+40>>3]=d;q[b+32>>2]=2;Bi(a,128819,b+32|0)}g=q[b+76>>2]+77|0;h=Oi((g|0)>-1?g:-1);d=u[c>>2];e=u[c+4>>2];v[b+24>>3]=u[c+8>>2];v[b+16>>3]=e;q[b>>2]=i;v[b+8>>3]=d;hj(h,g,129482,b);Hi(a,h);yi(h);ti=b+80|0;return 1}function lU(a){var b=0,c=0,d=0,e=0,f=0;if(a){b=q[a+184>>2];if(b){xi[q[68401]](b,0,16749)|0;yi(q[a+184>>2])}b=q[a+100>>2];if(b){xi[q[68401]](b,0,16749)|0;yi(q[a+100>>2])}b=q[a+80>>2];if(b){Kr(b);yi(q[a+80>>2])}if(q[a+68>>2]){rx(a);Kr(q[a+84>>2]);Lr(q[a+64>>2]);yi(q[a+68>>2]);yi(q[a+84>>2]);yi(q[a+64>>2])}b=q[a+60>>2];if(b){Lr(b);yi(q[a+60>>2])}b=q[a+236>>2];if(b){d=b,e=0,f=Ui(b),c=q[68401],xi[c](d|0,e|0,f|0)|0;yi(q[a+236>>2])}xi[q[68401]](a,0,280)|0}}function gy(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-32|0;ti=d;f=Qo(a,b,139629,139631);Ki(a,-10001,c);b=dj(a,-1,0);if(!b){q[d+16>>2]=c;Bi(a,139633,d+16|0)}Ni(a,139663,0);while(1){a:{c=r[b|0];if((c|0)!=59){e=0;b:{if(!c){break b}g=a;h=b;c=Oj(b,59);if(!c){c=Ui(b)+b|0}Ni(g,h,c-b|0);if(!c){break b}e=Qo(a,dj(a,-1,0),139664,f);Xk(a,-2);b=il(e,139681);if(!b){break a}Ak(b)}ti=d+32|0;return e}b=b+1|0;continue}q[d>>2]=e;vj(a,139666,d);Xk(a,-2);Ol(a,2);b=c;continue}}function Lga(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=-2;a:{if(!Cj(q[a+12>>2],q[a+16>>2],250912,c+12|0)){nk(q[a+20>>2],q[q[c+12>>2]>>2]);nk(q[a+20>>2],q[q[c+12>>2]+4>>2]);d=q[c+12>>2];e=q[d+12>>2];b:{if(!e){break b}b=0;while(1){if(b>>>0>=e>>>0){break a}nk(q[a+20>>2],q[q[d+8>>2]+(b<<2)>>2]);d=q[c+12>>2];if(b>>>0>6){break b}b=b+1|0;e=q[d+12>>2];if(b>>>0>>0){continue}break}}q[q[a+24>>2]>>2]=d;b=0}ti=c+16|0;return b|0}J(57132,57144,44,57169);G()}function ZF(a,b){var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;q[c+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=0;xu(a,c+24|0);xo(c+20|0,16,q[c+24>>2]);d=q[c+20>>2];if(d){d=yu(a,d,q[c+24>>2],c+16|0);a:{b:{if(d){q[c+4>>2]=d;q[c>>2]=a;Ai(4,27585,27682,c);break b}e=q[c+24>>2];f=q[c+20>>2];d=Oi(12);q[d>>2]=0;q[d+4>>2]=0;a=0;q[d+8>>2]=0;q[c+28>>2]=d;e=o4(f,e,c+28|0);d=q[c+28>>2];if(!e){q[b>>2]=d;break a}Is(d)}a=-2}yi(q[c+20>>2]);ti=c+32|0;return a}J(27653,27535,204,27669);G()}function Um(a,b){var c=0,d=0,e=0,f=0,g=0;f=ti-16|0;ti=f;d=q[a>>2];e=-1;a:{if((d|0)==255){break a}if(d){g=q[b>>2];while(1){e=-2;if(q[(w(c,112)+a|0)+8>>2]==(g|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(!(q[b+44>>2]|!q[b+52>>2])){q[f>>2]=q[b+4>>2];Ai(3,7418,7661,f);e=-7;break a}c=a+8|0;Gi(c+w(d,112)|0,b,106);d=zi(q[b+4>>2]);b=q[a>>2];c=c+w(b,112)|0;q[c+8>>2]=d;q[c+12>>2]=wi;p[((b<<1)+a|0)+28568>>1]=b;q[a>>2]=b+1;e=0}c=e;ti=f+16|0;return c}function EE(a,b,c){var d=0;d=ti-208|0;ti=d;q[d+76>>2]=128;a:{if((by(q[b>>2],d+80|0,d+76|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,Yl(q[242957]));a=2;break a}b=da(d+80|0,q[d+76>>2],d+16|0,46,d+10|0,6,3)|0;if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,ha(b|0)|0);a=2;break a}Hi(a,d+16|0);Hi(a,d+10|0);b:{c:{switch(c-2|0){case 0:Ni(a,131616,4);break b;case 8:Ni(a,131621,5);break b;default:break c}}Ni(a,131648,13)}a=3}ti=d+208|0;return a}function sda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(b>>>0<2097152){d=0;b:{if(a+1>>>0<2){break b}e=a&65535;c=q[77547];if(e>>>0>=t[c+32>>2]){break a}b=q[q[c+24>>2]+(e<<2)>>2];d=0;if(!b){break b}d=s[q[c+28>>2]+(e<<1)>>1]==(a>>>16|0)?b:0}b=d;a=s[b+24>>1];if(a){e=a>>>0>1?a:1;a=q[b+8>>2];c=0;while(1){f=a+f|0;a=a>>>2|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}a=s[b+18>>1];return w(a?a:1,f)+76|0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function oL(a,b){var c=0,d=x(0),e=0,f=x(0),g=0,h=x(0);c=q[a>>2];a:{b:{if((c|0)==41){a=q[a+4>>2];c=q[a+4>>2];c:{a=q[a>>2];switch(a|0){case 0:break a;case 1:break c;default:break b}}return u[c>>2]}c=w(c,260)+277328|0;a=64}e=a-1|0;d=x(e|0);h=x(x(1)/d);b=b(g|0)?g:e)<<2)+c>>2]*b)+x(u[(a<<2)+c>>2]*x(x(1)-b)))}return d}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;var g=0,h=0,i=0,j=0,k=0,l=0;if((e|0)>=1){while(1){k=r[d+i|0];h=r[c+i|0];g=r[b+i|0];o[a+3|0]=255;l=h-128|0;h=g<<20|524288;j=w(l,1858048)+h|0;g=j>>20;o[a+2|0]=g>>>0>255?(j|0)<0?0:255:g;k=k-128|0;j=h+w(k,1470208)|0;g=j>>20;o[a|0]=g>>>0>255?(j|0)<0?0:255:g;g=(h+w(k,-748800)|0)+(w(l,-360960)&-65536)|0;h=g>>20;o[a+1|0]=h>>>0>255?(g|0)<0?0:255:h;a=a+f|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function Gl(a,b,c,d){var e=0,f=0;a:{b:{c:{if((d|0)<10){e=c&65535;f=q[b+36>>2];b=q[b+32>>2];if(e>>>0>=(f-b|0)/576>>>0){break c}if(s[(b+w(e,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(e,576)|0;if(s[b+554>>1]!=(c&65535)){break a}b=b+(d<<4)|0;u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];return}J(194513,193630,2805,194539);G()}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function $da(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=ti-16|0;ti=d;a:{b:{if(a|b){c:{if(xi[q[77517]](a,b)&1){c=q[77542];e=q[77543];if((c|0)==(e|0)){if(o[310176]&1){break b}Ii((c-q[77541]>>3)- -64|0,8,310164,310172,310168);e=q[77543];c=q[77542]}if((c|0)==(e|0)){break a}q[77542]=c+8;q[c>>2]=a;q[c+4>>2]=b;break c}q[d+8>>2]=0;q[d>>2]=a;q[d+4>>2]=726;bA(d)}ti=d+16|0;return}J(89154,84160,2749,89162);G()}J(86012,86087,493,86143);G()}J(86155,86087,533,86179);G()}function rx(a){var b=0,c=0,d=0;c=q[a+68>>2];if(c){b=c+596|0;if(b){xi[q[68401]](b,0,88)|0}b=c+684|0;if(b){xi[q[68401]](b,0,92)|0}b=c+776|0;if(b){xi[q[68401]](b,0,108)|0}b=c+888|0;if(b){xi[q[68401]](b,0,216)|0}IV(c+8|0);GV(c+132|0);yi(q[c+440>>2]);b=q[c+444>>2];if(b){xi[q[68401]](b,0,q[c+448>>2])|0;yi(q[c+444>>2])}b=q[c+460>>2];if(b){while(1){d=q[b+8>>2];yi(b);b=d;if(b){continue}break}}yi(q[c+480>>2]);vC(q[c+496>>2]);AC(a);xi[q[68401]](c,0,2280)|0}}function Sj(a,b){var c=0,d=0;d=a;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}c=q[q[q[a+20>>2]+4>>2]>>2];c=r[c+7|0]<(-10002-b|0)?135744:(c+(0-b<<4)|0)-160024|0}a=q[a+8>>2]-16|0;is(d,c,a,a)}function RJ(a,b){var c=0,d=0,e=0;c=ti+ -64|0;ti=c;e=Zi(c+8|0,a,0,68051,1037);d=q[q[Tj(a)+80>>2]+8>>2];q[c+4>>2]=0;q[c>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;wl(a,1,d,67845,c+4|0,c+32|0,c);a:{if(o[q[c>>2]+141|0]&1){a=sj(e,70257,0);break a}if(!q[c+4>>2]){a=sj(e,70295,0);break a}d=Ej(a,2);a=q[c+4>>2];if(b){kfa(a,(d|0)!=0);a=0;break a}jfa(a,(d|0)!=0);a=0}Yi(e);ti=c- -64|0;return a}function C_(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=ti-144|0;ti=c;b=q[a+224>>2];a:{if(!b){b=-64;break a}b:{if((b|0)<1){b=-61;break b}while(1){d=w(e,20)+a|0;g=q[d+244>>2];q[c+12>>2]=0;b=xi[q[d+228>>2]](q[d+232>>2],c+16|0,128,c+12|0)|0;if(b){break b}b=q[c+12>>2];if(b){b=B_(a,e&255,c+16|0,b);if(b){break a}q[d+236>>2]=q[d+236>>2]+q[c+12>>2]}f=(g|0)==1?1:f;e=e+1|0;if((e|0)>2]){continue}break}b=f?0:-61}xi[q[68401]](c+16|0,0,128)|0}ti=c+144|0;return b}function via(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=Zi(b+56|0,a,1,68051,1011);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;a:{if(!$l(a,b+24|0)){a=sj(d,70196,0);break a}Bs(a,q[76920]);c=aj(a,-1);Ci(a,-2);e=q[q[q[Tj(a)+80>>2]+8>>2]>>2];c=q[c+8>>2];if(t[q[e+4>>2]>>2]>c>>>0){c=q[((c<<2)+e|0)+12>>2]}else{c=0}if(!c){a=sj(d,68339,0);break a}ija(b,c);jl(a,b);a=1}Yi(d);ti=b+80|0;return a|0}function aE(a,b){var c=0;a:{if((b|0)>=1){b=(q[a+12>>2]+(b<<4)|0)-16|0;c=b>>>0>2]?b:135744;break a}c=q[a+8>>2]+(b<<4)|0;if((b|0)>=-9999){break a}b:{switch(b+10002|0){case 2:c=q[a+16>>2]+96|0;break a;case 1:b=q[q[q[q[a+20>>2]+4>>2]>>2]+12>>2];q[a+96>>2]=5;q[a+88>>2]=b;c=a+88|0;break a;case 0:c=a+72|0;break a;default:break b}}a=q[q[q[a+20>>2]+4>>2]>>2];c=r[a+7|0]<(-10002-b|0)?135744:(a+(0-b<<4)|0)-160024|0}a=q[c+8>>2];return(a|0)==7|(a|0)==2}function Ut(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if((a|0)==(b|0)){return 0}d=bl(a,q[b+4>>2]);a:{if(d){break a}d=bl(b,q[a+4>>2]);if(d){break a}c=((0-c|c)&128)>>>7|0;f=c^1;d=q[a>>2];q[a>>2]=w(c,q[b>>2])+w(d,f);q[b>>2]=w(q[b>>2],f)+w(c,d);g=q[a+4>>2];if(!g){return 0}h=q[b+8>>2];i=q[a+8>>2];d=0;a=0;while(1){b=a<<2;e=b+i|0;j=e;b=b+h|0;e=q[e>>2];q[j>>2]=w(c,q[b>>2])+w(e,f);q[b>>2]=w(q[b>>2],f)+w(c,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}}return d}function Oga(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=-2;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[65552],b+12|0)){break a}d=q[b+12>>2];if(!r[q[d>>2]]){cj(d);c=-13;break a}q[b>>2]=0;q[b+4>>2]=0;e=q[a>>2];c=Nj(e,q[d+12>>2],b|4);b:{if(c){break b}c=Nj(e,q[d+16>>2],b);if(c){Pi(e,q[b+4>>2]);q[b+4>>2]=0;break b}c=q[q[a+32>>2]+8>>2];Pi(q[a>>2],q[c+12>>2]);Pi(q[a>>2],q[c+8>>2]);q[c+80>>2]=0;EJ(q[a+16>>2],c,q[b+12>>2]);c=0}cj(q[b+12>>2])}ti=b+16|0;return c|0}function nra(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=q[a+28>>2];wj(f);a:{c=q[a+12>>2];b=q[a+8>>2];d=c-b|0;if(!d){break a}if((b|0)!=(c|0)){h=d>>6;while(1){b=(e<<6)+b|0;b:{if(q[b+48>>2]!=2){break b}i=i+1|0;c=r[b+58|0];if(c&1){break b}d=b;g=q[b+44>>2];if((g|0)!=-1){Zo(g);c=r[b+58|0]}o[d+58|0]=c|1}e=e+1|0;if((h|0)==(e|0)){break a}b=q[a+8>>2];if(q[a+12>>2]-b>>6>>>0>e>>>0){continue}break}}J(162905,162757,479,162916);G()}o[a+32|0]=r[a+32|0]&254;qj(f)}function L_(a,b,c,d,e,f,g,h){var i=0,j=0;i=ti-48|0;ti=i;q[i+16>>2]=0;q[i+8>>2]=1;q[i+12>>2]=0;q[i+28>>2]=0;q[i+20>>2]=1;q[i+24>>2]=0;q[i+40>>2]=0;q[i+32>>2]=1;q[i+36>>2]=0;j=TE(a,b,c,d,r[e+f|0]);a:{if(j){break a}j=lk(b+24|0,1);if(j){break a}if(g){j=H_(a,b,g,h);if(j){break a}}while(1){if(!f){j=0;break a}j=ly(a,b,b);if(j){break a}f=f-1|0;j=TE(a,i+8|0,c,d,r[f+e|0]);if(j){break a}j=my(a,b,b,i+8|0);if(!j){continue}break}}Zl(i+8|0);ti=i+48|0;return j}function _va(){q[215672]=0;q[215673]=0;q[215670]=0;q[215668]=166951;q[215667]=166938;q[215666]=0;q[215664]=0;q[215662]=0;q[215660]=0;q[215658]=0;q[215656]=0;q[215657]=0;q[215694]=862624;q[215692]=0;q[215690]=166975;q[215689]=166961;q[215688]=0;q[215686]=0;q[215684]=0;q[215682]=0;q[215680]=1;q[215678]=0;q[215679]=3;q[215674]=0;q[215675]=0;q[215676]=0;q[215677]=0;q[215699]=0;q[215697]=0;q[215698]=0;q[215695]=0;q[215696]=0;q[215702]=0;q[215701]=0}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{c=q[a+4>>2];d=b>>>5|0;h=c>>>0>>0;if(!h){g=b&31;if(!g|(d|0)!=(c|0)){break a}}return lk(a,0)}b:{if(!d){break b}e=c-d|0;if(e){f=q[a+8>>2];b=0;while(1){q[(b<<2)+f>>2]=q[(b+d<<2)+f>>2];b=b+1|0;if((e|0)!=(b|0)){continue}break}}if(h){break b}Fi(q[a+8>>2]+(e<<2)|0,0,d<<2)}if(!(!c|!g)){d=32-g|0;e=q[a+8>>2];b=0;while(1){c=c-1|0;f=e+(c<<2)|0;a=q[f>>2];q[f>>2]=a>>>g|b;b=a<>2]+8>>2]);f=q[a+32>>2];q[a+32>>2]=-1;g=Qk(a,2147450902,q[q[a+12>>2]+8>>2]);if((f|0)!=-1){if((g|0)==-1){return f}i=q[q[a>>2]+12>>2];e=g;while(1){d=e;h=(e<<2)+i|0;c=q[h>>2];b=(c>>>14|0)-131071|0;e=(b|0)==-1?-1:(e+b|0)+1|0;if((e|0)!=-1){continue}break}b=h;e=(d^-1)+f|0;d=e>>31;if((d^d+e)>=131072){Dj(q[a+12>>2],136537);c=q[h>>2]}q[b>>2]=(c&16383|e<<14)+2147467264}return g}function I5(a,b){var c=0,d=0,e=0;d=q[a+2012>>2];c=d;e=q[c+8>>2]-q[c+12>>2]>>4;c=jj(c,28);q[c+16>>2]=0;q[c+20>>2]=0;q[c+24>>2]=-2;q[c+8>>2]=-2;q[c+12>>2]=-2;q[c>>2]=-2;q[c+4>>2]=-2;q[c+16>>2]=a;Ki(d,-1e4,112853);ij(d,-2);a=kk(d,-1e4);q[c+20>>2]=0;q[c+24>>2]=a;a:{if(rG(d,b,c)){if(q[d+8>>2]-q[d+12>>2]>>4==(e|0)){break a}J(110492,110389,3121,114157);G()}BG(c);c=0;if(q[d+8>>2]-q[d+12>>2]>>4==(e|0)){break a}J(110492,110389,3127,114157);G()}return c}function nr(a,b,c,d,e){var f=0,g=0,h=0,i=0;i=3;a:{b:{if(a+1>>>0<2){break b}f=a&65535;g=q[213374];if(f>>>0>=t[g+8>>2]){break a}h=q[q[g>>2]+(f<<2)>>2];if(!h|s[q[g+4>>2]+(f<<1)>>1]!=(a>>>16|0)){break b}i=6;f=r[h+34|0];if(!f){break b}g=q[h+4>>2];a=0;while(1){h=g+(a<<4)|0;if((b|0)!=q[h>>2]|q[h+4>>2]!=(c|0)){a=a+1|0;if((f|0)!=(a|0)){continue}break b}break}a=g+(a<<4)|0;q[d>>2]=r[a+12|0];q[e>>2]=r[a+13|0];i=0}return i}J(149021,149036,144,149074);G()}function m2(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=x(0),h=x(0),i=0;d=ti-32|0;ti=d;b=Li(a,1,q[212904],0);c=u[b>>2];f=u[b+4>>2];a:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=1;Bi(a,128819,d)}i=Ri(a,2);f=u[b>>2];e=u[b+4>>2];c=u[b+8>>2];h=x(x(i)*x(.5));g=xl(h);b=jj(a,16);u[b+12>>2]=g;g=c;c=uk(h);u[b+8>>2]=g*c;u[b+4>>2]=e*c;u[b>>2]=f*c;Ki(a,-1e4,128720);ij(a,-2);ti=d+32|0;return 1}function az(a,b,c,d){var e=0,f=0,g=0,h=0;g=q[a+52>>2];f=q[a+48>>2];h=g-f|0;e=(h|0)/40|0;if((h|0)<1){return 0}a:{b:{if((f|0)!=(g|0)){g=(e|0)>1?e:1;e=0;while(1){f=q[w(e,40)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break b}e=e+1|0;if((g|0)==(e|0)){return 0}f=q[a+48>>2];if((q[a+52>>2]-f|0)/40>>>0>e>>>0){continue}break}}break a}b=q[a+52>>2];a=q[a+48>>2];if((b-a|0)/40>>>0>e>>>0){q[d>>2]=q[a+w(e,40)>>2];return 1}}J(109402,109229,479,109413);G()}function U9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=x(0),j=x(0);b=ti-80|0;ti=b;g=Zi(b+56|0,a,1,196298,3750);Ti(a);h=Li(a,-1,q[216371],198335);Ci(a,-2);d=fj(a,1,0);c=yn(a,2);a:{if(c){e=c+8|0;f=c+4|0;break a}c=kl(a,2);e=c+8|0;f=c+4|0}i=u[c>>2];j=u[f>>2];u[b+40>>2]=u[e>>2];u[b+36>>2]=j;u[b+32>>2]=i;Q8(b+16|0,h,s[d+554>>1]|s[d+552>>1]<<16,b+32|0);u[b>>2]=u[b+16>>2];c=q[b+24>>2];q[b+4>>2]=q[b+20>>2];q[b+8>>2]=c;jl(a,b);Yi(g);ti=b+80|0;return 1}function TM(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function G7(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=q[a+48>>2];wj(e);d=zi(b);g=wi;b=q[a+20>>2];if(!b){qj(e);return 2}h=2;b=q[q[a+16>>2]+(Qwa(d,g,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){f=a+w(b,136)|0;if(q[f>>2]!=(d|0)|q[f+4>>2]!=(g|0)){b=q[f+128>>2];if((b|0)!=-1){continue}break a}break}a=Gi(c,(a+w(b,136)|0)+8|0,112);b=pk();c=wi;d=q[a+92>>2];o[a+104|0]=r[a+104|0]&253|((c|0)==(d|0)&t[a+88>>2]>b>>>0|c>>>0>>0)<<1;h=0}qj(e);return h}function wfa(a){var b=0,c=0;a=q[a>>2];c=q[a+8>>2]-q[a+12>>2]>>4;ik(a,67659,244384);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,67670);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,67693);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,67716);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,67739);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){J(67590,67401,419,67763);G()}}function _ea(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;a=ti-48|0;ti=a;q[a+36>>2]=0;q[a+40>>2]=0;o[a+43|0]=0;o[a+44|0]=0;o[a+45|0]=0;o[a+46|0]=0;q[a+20>>2]=1;q[a+24>>2]=1;q[a+28>>2]=0;q[a+32>>2]=0;q[a+12>>2]=2;q[a+16>>2]=2;q[a>>2]=f;p[a+40>>1]=c;p[a+42>>1]=d;f=a;if(e>>>0<=2){g=q[(e<<2)+166088>>2]}else{g=0}q[f+4>>2]=w(g,w(c,d));if(e>>>0>=3){J(38432,36771,1897,38438);G()}q[a+8>>2]=q[(e<<2)+39500>>2];xi[q[77503]](b,0,a);ti=a+48|0}function Y0(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;e=1;b=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-120|0){case 0:d=+u[b>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;case 1:d=+u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;case 2:d=+u[b+8>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;break a;default:break b}}q[c+4>>2]=128688;q[c>>2]=128752;e=Bi(a,129451,c)}ti=c+16|0;return e|0}function X0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0);d=ti-32|0;ti=d;b=mk(a,1,q[212904]);a:{if(b){g=Ri(a,2);break a}g=Ri(a,1);b=Li(a,2,q[212904],0);c=u[b>>2];f=u[b+4>>2];if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=2;Bi(a,128819,d)}c=u[b+8>>2];f=u[b>>2];e=u[b+4>>2];b=jj(a,16);h=c;c=x(g);u[b+8>>2]=h*c;u[b+4>>2]=e*c;u[b>>2]=f*c;Ki(a,-1e4,128688);ij(a,-2);ti=d+32|0;return 1}function Lqa(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;q[d+12>>2]=b;q[d+8>>2]=c;b=Kz(d+8|0,8);c=q[a+24>>2];if((c|0)==((q[a+16>>2]-q[a+8>>2]|0)/12|0)){Fz(a,2048,c+1024|0)}a:{b:{c=q[a+4>>2];c:{if(!c){break c}c=q[q[a>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break c}e=q[a+8>>2];while(1){f=w(c,12)+e|0;if((b|0)==q[f>>2]){break b}c=q[f+8>>2];if((c|0)!=-1){continue}break}}q[d+4>>2]=1;ZH(a,b,d+4|0);break a}a=w(c,12)+e|0;q[a+4>>2]=q[a+4>>2]+1}ti=d+16|0}function Hx(a,b,c,d){var e=0,f=0;f=ti-16|0;ti=f;e=Rj(a,b,f+12|0,48);a:{if(e){break a}e=b;b=q[a>>2];if((e-b|0)<1){e=-96;break a}q[c>>2]=r[b|0];b=b+q[f+12>>2]|0;e=Rj(a,b,c+4|0,6);if(e){break a}q[c+8>>2]=q[a>>2];c=q[a>>2]+q[c+4>>2]|0;q[a>>2]=c;if((b|0)==(c|0)){xi[q[68401]](d,0,12)|0;e=0;break a}q[d>>2]=r[c|0];q[a>>2]=c+1;e=zq(a,b,d+4|0);if(e){break a}q[d+8>>2]=q[a>>2];c=a;a=q[a>>2]+q[d+4>>2]|0;q[c>>2]=a;e=(a|0)==(b|0)?0:-102}ti=f+16|0;return e}function qT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;e=2;c=pl(a,132335);d=Wi(a,2,0);g=Wi(a,3,0);q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=1;q[b>>2]=0;q[b+4>>2]=0;q[b+4>>2]=q[c+8272>>2];f=c+8248|0;Hn(f);c=Zx(c,c+8272|0,d,g,f,b);rp(a,132311,1);a:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,c);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;e=1}ti=b+32|0;return e|0}function nX(a){var b=0,c=0;a=q[q[a+16>>2]+112>>2];qo(a,q[a+32>>2]);YX(a);q[a+116>>2]=0;while(1){b=q[a+40>>2];q[a+20>>2]=b;b=q[b>>2];q[a+8>>2]=b;q[a+12>>2]=b;q[a+52>>2]=0;if(ou(a,1046,0)){continue}break}b=q[a+16>>2];qo(a,q[a+32>>2]);qE(a);c=q[a+16>>2];lj(a,q[c>>2],q[c+8>>2]<<2,0);c=lj(a,q[b+52>>2],q[b+60>>2],0);q[b+60>>2]=0;q[b+52>>2]=c;lj(a,q[a+40>>2],w(q[a+48>>2],24),0);lj(a,q[a+32>>2],q[a+44>>2]<<4,0);xi[q[b+12>>2]](q[b+16>>2],a,376,0)|0}function g$(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=ti-256|0;ti=h;i=q[a+92>>2];g=g-3|0;a:{if(g>>>0<=5){j=q[(g<<2)+273896>>2];break a}j=0}b:{if(!j){g=-20352;break b}q[h+8>>2]=0;q[h>>2]=1;q[h+4>>2]=0;Fi(h+152|0,0,100);i=i+7>>>3|0;g=pn(d,h+16|0,i);c:{if(g){break c}g=TA(a,h,e,f);if(g){break c}g=pn(h,i+(h+16|0)|0,i);if(g){break c}hV(h+152|0,j,h+16|0,i<<1);g=f$(a,b,c,d,e,f,h+152|0)}a=h+152|0;if(a){fm(a);xi[q[68401]](a,0,100)|0}Si(h)}ti=h+256|0;return g}function TN(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!q[q[73997]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){o[a+1|0]=b&63|128;o[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){o[a+2|0]=b&63|128;o[a|0]=b>>>12|224;o[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){o[a+3|0]=b&63|128;o[a|0]=b>>>18|240;o[a+2|0]=b>>>6&63|128;o[a+1|0]=b>>>12&63|128;return 4}}q[242957]=25;a=-1}else{a=1}return a}o[a|0]=b;return 1}function yB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=ti+ -64|0;ti=e;c=q[a+328>>2]-3|0;a:{if(c>>>0<=5){c=q[(c<<2)+273896>>2];break a}c=0}g=(c?q[c+8>>2]:0)&255;f=-1;if(c){c=xi[q[c+28>>2]](q[a+24>>2],q[a+20>>2],e)|0}else{c=-20736}b:{if(c){break b}h=q[a+332>>2];c=0;b=b+204|0;d=b;c:{if(!d){break c}d=q[d>>2];if(!d){break c}c=xi[q[d+12>>2]](h)|0}if(!c){break b}f=TU(q[a+332>>2],q[a+336>>2],b,q[a+328>>2],e,g,q[a+324>>2],q[a+320>>2])}ti=e- -64|0;return f}function u0(a){var b=0,c=0;c=ti-48|0;ti=c;a:{b:{switch(q[a>>2]-1|0){case 0:b=c;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;DE(2,Eu(a),b,16);a=Jk(b);break a;case 1:b=c;p[b+38>>1]=0;p[b+40>>1]=0;p[b+42>>1]=0;p[b+44>>1]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;DE(10,us(a),b,46);a=Jk(b);break a;default:break b}}Ai(4,168407,168840,0);a=0}ti=c+48|0;return a}function pX(a,b,c){var d=0;d=ti-1424|0;ti=d;vE(d- -64|0);q[d+60>>2]=0;q[d+44>>2]=b+c;q[d+40>>2]=b;q[d+48>>2]=b;q[d+56>>2]=d- -64;if(!(c>>>0<2|(r[b+1|0]?r[b|0]:0))){Bi(a,133670,0)}q[d+52>>2]=RO(c);Rn(d+40|0,d+16|0);Wx(a,d+40|0,d+16|0);Rn(d+40|0,d+16|0);if(q[d+16>>2]!=10){om(q[d+52>>2]);b=q[d+16>>2];b=q[((b|0)==12?d+24|0:(b<<2)+266432|0)>>2];q[d>>2]=133716;q[d+4>>2]=b;q[d+8>>2]=q[d+20>>2]+1;Bi(a,134513,d)}om(q[d+52>>2]);ti=d+1424|0;return 1}function lA(a){var b=0;a:{if(o[a+144|0]&1){break a}b=q[a+124>>2];if(b){yi(b)}b=q[a+116>>2];if(!b){break a}yi(b)}b:{if(o[a+112|0]&1){break b}b=q[a+92>>2];if(b){yi(b)}b=q[a+84>>2];if(!b){break b}yi(b)}c:{if(o[a+68|0]&1){break c}b=q[a+56>>2];if(!b){break c}yi(b)}d:{if(o[a+52|0]&1){break d}b=q[a+40>>2];if(!b){break d}yi(b)}e:{if(o[a+36|0]&1){break e}b=q[a+24>>2];if(!b){break e}yi(b)}f:{if(o[a+20|0]&1){break f}a=q[a+8>>2];if(!a){break f}yi(a)}}function iJ(a,b,c){var d=0,e=0;a:{switch(b|0){case 2:d=q[a+4>>2];b=a;e=q[a>>2]&-4097;c=c&1;a=c>>>20|0;q[b>>2]=e|c<<12;q[b+4>>2]=a|d;return;case 4:d=q[a+4>>2]&-536870913;q[a>>2]=q[a>>2];q[a+4>>2]=(c&1)<<29|d;return;case 5:p[a+8>>1]=s[a+8>>1]&65279|(c&1)<<8;return;case 6:p[a+8>>1]=s[a+8>>1]&61439|(c&1)<<12;return;default:J(83679,83473,515,83719);G();case 0:break a}}d=q[a+4>>2];b=a;e=q[a>>2]&-257;c=c&1;a=c>>>24|0;q[b>>2]=e|c<<8;q[b+4>>2]=a|d}function N3(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=ti-16|0;ti=e;g=q[a>>2];a:{if((g|0)<0){d=-69;break a}b:{if(d){break b}d=q[a+12>>2];f=d;h=q[a+8>>2];if(!(d|h)){d=0;break b}d=Pwa(h,f,1e3)}q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;iL(e,0,g);d=hL(e,d?d:-1);f=-26624;c:{if(!d){break c}f=q[242957]==27?-26880:-76;if((d|0)<=-1){break c}f=aV(a,b,c)}d=f;if(o[e+12|0]&1){break a}a=q[e>>2];if(!a){break a}yi(a)}ti=e+16|0;return d|0}function C1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;c=1;d=q[a+8>>2]-q[a+12>>2]>>4;e=Wi(a,1,0);a:{f=Nu(q[Op(a)+4>>2],e,b+12|0,b+8|0);if(f){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[b+4>>2]=f;q[b>>2]=e;vj(a,124380,b);c=2;if((d+2|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(124413,124351,581,124438);G()}Ni(a,q[b+12>>2],q[b+8>>2]);yi(q[b+12>>2]);if((d+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(124455,124351,586,124438);G()}ti=b+16|0;return c|0}function toa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[60170],c+12|0)){b=q[c+12>>2];d=q[b+8>>2];if(d){e=q[b+4>>2];b=0;while(1){f=q[(e+w(b,80)|0)+4>>2];if(f){nk(q[a+20>>2],f)}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=q[c+12>>2]}d=q[b+36>>2];if(d){e=q[b+32>>2];b=0;while(1){nk(q[a+20>>2],q[e+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}b=q[c+12>>2]}q[q[a+24>>2]>>2]=b;b=0}ti=c+16|0;return b|0}function kQ(a){var b=0,c=0,d=0;c=-1;b=q[a+68>>2];a:{if(!b){break a}b:{switch(q[a+4>>2]-10|0){case 0:case 2:if(!r[b+528|0]){break a}q[a+128>>2]=20;q[a+132>>2]=1;o[q[a+120>>2]]=1;q[a+144>>2]=0;q[a+136>>2]=0;o[b+528|0]=0;return 0;default:break b}}if((r[b+532|0]&5)!=5){break a}c=-27648;b=q[b+536>>2];d=r[b+2|0]<<8|r[b+1|0]<<16|r[b+3|0];if(d>>>0>16372){break a}c=d+12|0;q[a+168>>2]=c;q[a+128>>2]=22;q[a+132>>2]=c;Gi(q[a+120>>2],b,c);c=0}return c}function cia(a){var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;e=q[a+216>>2];d=q[e>>2];f=b;c=q[a+224>>2];if(!c){c=q[e+4>>2]}q[f+4>>2]=c;c=q[a+228>>2];if(!c){c=q[e+8>>2]}q[f>>2]=c;q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;Uj(b+8|0,b+4|0,4);Uj(b+8|0,b,4);Uj(b+8|0,d+92|0,4);Uj(b+8|0,d+32|0,16);Uj(b+8|0,d+48|0,16);Uj(b+8|0,d- -64|0,16);c=q[a+220>>2];if(c){Us(c,b+8|0)}q[a+196>>2]=Bn(b+8|0);p[a+246>>1]=s[a+246>>1]&65527;ti=b+32|0}function Nl(a,b){var c=0,d=0,e=0,f=0,g=0;d=ti+ -64|0;ti=d;c=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}f=q[a+8>>2];if(!f){break a}g=q[e+12>>2];c=xi[q[e+24>>2]](q[a+4>>2],d)|0;if(c){break a}c=xi[q[q[a>>2]+16>>2]](q[a+4>>2])|0;if(c){break a}c=q[a>>2];c=xi[q[c+20>>2]](q[a+4>>2],f+g|0,q[c+12>>2])|0;if(c){break a}c=q[a>>2];c=xi[q[c+20>>2]](q[a+4>>2],d,q[c+8>>2])|0;if(c){break a}c=xi[q[q[a>>2]+24>>2]](q[a+4>>2],b)|0}ti=d- -64|0;return c}function Gr(a,b){var c=0,d=0;d=-16512;c=a+8|0;a:{if(q[a+4>>2]!=(Cm(c)|0)|t[a+4>>2]>1024){break a}if((uj(c,0)|0)<1){break a}if(!Dm(c,0)){break a}b:{if(b){b=a+44|0;if((uj(b,0)|0)<1){break a}if(!Dm(b,0)){break a}b=a+56|0;if((uj(b,0)|0)<1){break a}if(!Dm(b,0)){break a}if((uj(a+20|0,0)|0)<1){break a}if((uj(a+68|0,0)|0)<1){break a}if((uj(a+80|0,0)|0)<1){break a}if((uj(a+92|0,0)|0)<1){break a}break b}if((uj(a+20|0,0)|0)<1){break a}}d=0}return d}function Fw(a,b,c,d){var e=0,f=0,g=0;e=q[c+144>>2];g=q[b+144>>2];a:{b:{if(g>>>0>=t[a+144>>2]){f=0;if(e>>>0>=g>>>0){break a}ak(b,c);f=1;if(t[b+144>>2]>=t[a+144>>2]){break a}ak(a,b);break b}if(e>>>0>>0){ak(a,c);f=1;break a}ak(a,b);f=1;if(t[c+144>>2]>=t[b+144>>2]){break a}ak(b,c)}f=2}e=f;if(t[d+144>>2]>2]){ak(c,d);if(t[c+144>>2]>=t[b+144>>2]){return e+1|0}ak(b,c);if(t[b+144>>2]>=t[a+144>>2]){return e+2|0}ak(a,b);e=e+3|0}return e}function nB(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=r[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=q[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=w(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=q[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=r[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Ui(a)+a|0}return a}function hZ(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;b=1;a:{if((Ei(a,1)|0)<=0){bj(a,-10001,1);if(q[rm(a,140233)>>2]){break a}Bi(a,140305,0);break a}b=Wi(a,1,0);c=jj(a,4);q[c>>2]=0;Ki(a,-1e4,140233);ij(a,-2);e=c;c=il(b,140565);q[e>>2]=c;if(!c){q[d+4>>2]=al(q[242957]);q[d>>2]=b;vj(a,140342,d);Qj(a,1,dj(a,-1,0))}c=1;b=q[a+8>>2]-q[a+12>>2]>>4}Qi(a,b);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=c;q[a+8>>2]=q[a+8>>2]+16;ck(a,1108,2);ti=d+16|0;return 1}function aU(a){var b=0,c=0;b=Jn(a);a:{if(b){break a}if(q[a+128>>2]!=20){Ij(a,2,10);return-30464}q[a+72>>2]=q[a+84>>2];q[a+52>>2]=q[a+64>>2];b:{if(r[q[a>>2]+184|0]&2){q[a+152>>2]=0;q[a+156>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;c=s[a+140>>1]+1|0;p[a+140>>1]=c;b=-27520;if((c&65535)==(c|0)){break b}break a}b=q[a+104>>2];o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0}Pw(a);q[a+4>>2]=q[a+4>>2]+1;b=0}return b}function Vqa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];if(c>>>0<=i>>>0){a:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=Owa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){o[b|0]=(k|0)!=0}return a^1}J(22867,22886,70,22954);G()}function ou(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=ti-176|0;ti=e;d=Ji(40);q[d>>2]=0;q[e+168>>2]=0;q[e+8>>2]=q[a+112>>2];q[a+112>>2]=e+8;h=ax(e+8|4,1,d,4);i=M()|0;d=0;a:{while(1){if(!d){q[243032]=0;ja(b|0,a|0,c|0);d=q[243032];q[243032]=0;f=-1;b:{if(!d){break b}g=q[243033];if(!g){break b}f=$j(q[d>>2],h,i);if(!f){break a}L(g|0)}d=M()|0;if((f|0)==1){continue}}break}q[a+112>>2]=q[e+8>>2];a=q[e+168>>2];yi(h);ti=e+176|0;return a}O(d|0,g|0);G()}function lca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;Q(34962,a|0);a:{b:{c:{if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}_a(34962,b|0,c|0,d|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Q(34962,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}ti=e+16|0;return}Vi(a,87256,1576);J(84254,84160,1576,87256);G()}Vi(a,87256,1578);J(84254,84160,1578,87256);G()}Vi(a,87256,1580);J(84254,84160,1580,87256);G()}function XD(a){var b=0;b=q[a+152>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+156>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+160>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+164>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+168>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+172>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+176>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+180>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}b=q[a+184>>2];if(!(!b|!(r[b+5|0]&3))){xk(a,b)}}function Wba(a){var b=0,c=0;c=q[q[a+24>>2]>>2];b=q[a>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+4>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+8>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+12>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+16>>2];if((b|0)!=-2){Aj(c,-1e4,b)}b=q[a+20>>2];if((b|0)!=-2){Aj(c,-1e4,b)}Aj(c,-1e4,q[a+32>>2]);yi(q[a+28>>2]);q[a+32>>2]=-2;q[a+16>>2]=-2;q[a+20>>2]=-2;q[a+8>>2]=-2;q[a+12>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2;q[a+24>>2]=0;q[a+28>>2]=0}function Vs(a,b,c,d){var e=0,f=0,g=0;e=q[a+4>>2];f=q[a>>2];g=e-f|0;if((g|0)<1){return 0}a:{b:{if((e|0)!=(f|0)){e=f-e|0;e=((e|0)>(g|0)?e:g)>>>2|0;g=e>>>0>1?e:1;e=0;while(1){f=q[(e<<2)+f>>2];if((b|0)==q[f+8>>2]&q[f+12>>2]==(c|0)){break b}e=e+1|0;if((g|0)==(e|0)){return 0}f=q[a>>2];if(q[a+4>>2]-f>>2>>>0>e>>>0){continue}break}}break a}b=q[a+4>>2];a=q[a>>2];if(b-a>>2>>>0>e>>>0){q[d>>2]=q[a+(e<<2)>>2];return 1}}J(43300,43092,479,43311);G()}function Bca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;Q(34963,a|0);a:{b:{c:{if(r[q[77547]+156|0]&64){a=K()|0;if(a){break c}}_a(34963,b|0,c|0,d|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break b}}Q(34963,0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}ti=e+16|0;return}Vi(a,87355,1625);J(84254,84160,1625,87355);G()}Vi(a,87355,1627);J(84254,84160,1627,87355);G()}Vi(a,87355,1629);J(84254,84160,1629,87355);G()}function q6(a,b){var c=0,d=0;a:{b:{c:{c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){c=q[a+(c<<2)>>2];if(s[c+80>>1]!=(b>>>16|0)){break c}d=q[c+4>>2];b=q[c>>2];a=d-b|0;if(!a){break b}a=(a|0)/304|0;if((b|0)!=(d|0)){d=a>>>0>1?a:1;a=0;while(1){nz(w(a,304)+b|0);a=a+1|0;if((d|0)==(a|0)){break b}b=q[c>>2];if((q[c+4>>2]-b|0)/304>>>0>a>>>0){continue}break}}break a}break a}Ai(4,145356,145973,0);G()}return}J(146626,145751,479,145962);G()}function jq(a,b,c){var d=0,e=0,f=0;d=q[c+4>>2];e=q[b+4>>2];e=(d|0)==(e|0)&t[c>>2]>2]|e>>>0>d>>>0;d=q[b+4>>2];f=q[a+4>>2];a:{b:{if((d|0)==(f|0)&t[b>>2]>=t[a>>2]|d>>>0>f>>>0){d=0;if(!e){break a}Il(b,c);c=q[b+4>>2];e=q[a+4>>2];d=1;if((c|0)==(e|0)&t[b>>2]>=t[a>>2]|c>>>0>e>>>0){break a}Il(a,b);break b}if(e){Il(a,c);return 1}Il(a,b);a=q[c+4>>2];e=q[b+4>>2];d=1;if((a|0)==(e|0)&t[c>>2]>=t[b>>2]|a>>>0>e>>>0){break a}Il(b,c)}d=2}return d}function gp(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=ti-32|0;ti=h;q[h+24>>2]=0;q[h+28>>2]=0;q[h+20>>2]=0;i=-1;q[h+16>>2]=-1;p[h+14>>1]=0;a:{if(!xG(a,b,c,h+24|0,h+20|0,h+16|0,h+14|0)){break a}if((P5(a,q[h+24>>2],q[h+28>>2])|0)<0){break a}a=q[d>>2];j=q[h+24>>2];k=q[h+28>>2];if((b|0)==(j|0)&(k|0)==(c|0)){i=-4;if(!(1<>>0>7){break a}i=0;xi[f|0](g,b,c,e,0,d);break a}i=-4;if(a){break a}xi[f|0](g,j,k,e,h+16|0,d);i=0}ti=h+32|0;return i}function AO(a){var b=0,c=0,d=0;b=ti-128|0;ti=b;c=r[207615]|r[207616]<<8|(r[207617]<<16|r[207618]<<24);o[b+111|0]=c;o[b+112|0]=c>>>8;o[b+113|0]=c>>>16;o[b+114|0]=c>>>24;c=q[51903];q[b+104>>2]=q[51902];q[b+108>>2]=c;c=q[51901];q[b+96>>2]=q[51900];q[b+100>>2]=c;c=b+96|12;a:{b:{while(1){PM(c);Fi(b+8|0,0,88);if((li(b+96|0,b+8|0)|0)==-44){break b}d=d+1|0;if((d|0)!=100){continue}break}a=0;break a}a=Et(a?a:969664,b+96|0)}ti=b+128|0;return a}function xra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{if((c|0)==200){if(!(d|e)){q[b+4>>2]=q[b>>2];return}a=b+4|0;c=b+8|0;f=q[b+8>>2];if(f-q[b+4>>2]>>>0>>0){if(o[b+12|0]&1){break c}Ii(((e>>>0>4096?e:4096)+f|0)-q[b>>2]|0,1,b,c,a)}if(!d){break b}b=q[a>>2];if(q[c>>2]-b>>>0>>0){break a}Gi(b,d,e);q[a>>2]=q[a>>2]+e}return}J(149482,149557,493,149583);G()}J(149394,149407,421,149434);G()}J(149860,149557,540,149889);G()}function vG(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{g=q[a+4>>2];b:{if(!g){break b}g=q[q[a>>2]+(Qwa(b,c,g)<<2)>>2];if((g|0)==-1){break b}i=q[a+8>>2];while(1){h=w(g,40)+i|0;if((b|0)!=q[h>>2]|q[h+4>>2]!=(c|0)){g=q[h+32>>2];if((g|0)!=-1){continue}break b}break}b=q[a+32>>2];h=q[a+36>>2]-b>>4;a=w(g,40)+i|0;c=q[a+16>>2];if(h>>>0<=c>>>0){break a}q[d>>2]=b+(c<<4);q[e>>2]=q[a+20>>2];q[f>>2]=q[a+24>>2];j=1}return j}J(106571,106507,479,106582);G()}function mu(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;a:{b:{c:{d=c-1|0;if(d>>>0>2]){d=q[b+12>>2]+(d<<4)|0;break c}f=+(c|0);if(c){h=q[b+16>>2];axa(+f);g=Zwa(1)|0;d=Zwa(0)|0;g=d+g|0;d=((g>>>0)%((-1<>>0)<<5)+h|0}else{d=q[b+16>>2]}while(1){if(v[d+16>>3]==f?q[d+24>>2]==3:0){break c}d=q[d+28>>2];if(d){continue}break}break b}if((d|0)!=135744){break a}f=+(c|0)}q[e+8>>2]=3;v[e>>3]=f;d=Ap(a,b,e)}ti=e+16|0;return d}function X7(a){var b=0;a:{if(o[862440]&1){break a}if(!Xj()){break a}q[215590]=0;q[215591]=0;q[215598]=0;q[215599]=0;q[215586]=0;q[215587]=0;q[215594]=0;q[215595]=0;q[215602]=0;q[215603]=0;q[215592]=0;q[215593]=0;q[215588]=0;q[215589]=0;q[215596]=0;q[215597]=0;q[215600]=0;q[215601]=0;q[215604]=0;q[215605]=0;q[215606]=0;q[215607]=0;q[215608]=0;q[215591]=-1;q[215599]=-1;o[862436]=r[862436]&254;b=Hj();o[862340]=0;q[215584]=b;Wj()}$M(a)}function QG(a,b){var c=0,d=0,e=0;c=1;a:{b:{if(!b){break b}d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return 1}d=q[a>>2];b=q[a+4>>2]-d|0;if(!b){break b}c=0;if(q[d+280>>2]){break b}a=1;c=(b|0)/304|0;e=c>>>0>1?c:1;while(1){b=a;if((e|0)!=(b|0)){a=b+1|0;if(!q[(w(b,304)+d|0)+280>>2]){continue}}break}c=b>>>0>=c>>>0}return c}J(146626,145751,479,145962);G()}function Lx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(r[q[a+16>>2]+21|0]!=2){a:{if(b+1>>>0<=1073741823){f=lj(a,0,0,b<<2);break a}f=Yj(a)}d=q[a+16>>2];if((b|0)>=1){Fi(f,0,b<<2)}e=q[d+8>>2];if((e|0)>=1){i=b-1|0;while(1){c=q[q[d>>2]+(g<<2)>>2];if(c){while(1){e=q[c>>2];h=((q[c+8>>2]&i)<<2)+f|0;q[c>>2]=q[h>>2];q[h>>2]=c;c=e;if(c){continue}break}e=q[d+8>>2]}g=g+1|0;if((g|0)<(e|0)){continue}break}}lj(a,q[d>>2],e<<2,0);q[d>>2]=f;q[d+8>>2]=b}}function GL(a){var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=il(a,202279);a:{if(!c){a=0;break a}q[b+24>>2]=0;q[b+28>>2]=0;b:{if((tl(b+24|0,1,8,c)|0)==8){a=0;Fi(915868,0,50376);d=q[b+24>>2];e=q[b+28>>2];if(!((d|0)!=2|(e|0)!=50376)){a=1;if((tl(915868,1,50376,c)|0)==50376){break b}a=0;Ai(4,202282,202308,0);break b}q[b+8>>2]=2;q[b+12>>2]=50376;q[b+4>>2]=e;q[b>>2]=d;Ai(3,202282,202333,b);break b}a=0;Ai(4,202282,202419,0)}Ak(c)}ti=b+32|0;return a}function CF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=q[a+8>>2]-q[a+12>>2]>>4;e=Op(a);d=q[e+76>>2];a:{if(!d){break a}g=e+72|0;d=q[q[g>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}h=q[e+80>>2];while(1){f=(d<<4)+h|0;if((b|0)!=q[f>>2]|q[f+4>>2]!=(c|0)){d=q[f+12>>2];if((d|0)!=-1){continue}break a}break}bj(a,-1e4,q[e+124>>2]);oo(a,-1,q[((d<<4)+h|0)+8>>2]);Ci(a,-2);O7(g,b,c)}if(q[a+8>>2]-q[a+12>>2]>>4!=(i|0)){J(120051,120019,202,120072);G()}}function y0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;c=b+24|0;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=1;e=b+16|4;Ii(32768,1,b+16|0,c,e);a:{f=ZE(Wi(a,1,0),Mk(a,1),b+16|0,939);b:{if(!f){c=a;a=q[b+16>>2];Ni(c,a,q[b+20>>2]-a|0);break b}if(o[b+28|0]&1){break a}d=0;Ii(0,1,b+16|0,c,e);q[b>>2]=f;Bi(a,130916,b)}c:{if(o[b+28|0]&1){break c}a=q[b+16>>2];if(!a){break c}yi(a)}ti=b+32|0;return d|0}J(131151,131069,493,131226);G()}function ega(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;f=q[a+32>>2];e=q[f+8>>2];c=q[e+4>>2];b=q[a+20>>2];g=q[a+24>>2];a:{if(g>>>0<3){break a}c=r[b|0]!=79|r[b+1|0]!=103?c:r[b+2|0]==103?1:c;if(r[b+8|0]!=87|g>>>0<11|r[b+9|0]!=65){break a}c=r[b+10|0]==86?0:c}h=-11;if(!jF(b,g,c,d+12|0,q[f>>2],q[f+4>>2])){py(q[e>>2]);q[e>>2]=q[d+12>>2];q[q[a+32>>2]+8>>2]=e;q[q[a+32>>2]+16>>2]=q[q[d+12>>2]+12>>2]+32;h=0}ti=d+16|0;return h|0}function dna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=x(0),g=0;c=ti-80|0;ti=c;d=q[q[a+24>>2]>>2];e=q[a+16>>2];a=q[a+20>>2];a:{b:{if((e|0)==q[75606]&(a|0)==q[75607]){f=u[d+12>>2];break b}if(q[75608]==(e|0)&q[75609]==(a|0)){f=u[d+16>>2];break b}if(q[75610]==(e|0)&q[75611]==(a|0)){f=u[d+20>>2];break b}g=-1;if((e|0)!=q[75612]|(a|0)!=q[75613]){break a}f=u[d+24>>2]}a=c+8|0;q[a>>2]=0;v[a+8>>3]=f;Gi(b+32|0,c+8|0,72);g=0}a=g;ti=c+80|0;return a|0}function bra(a,b){var c=0;a:{if(!r[915868]|(a|0)!=1){break a}b:{switch(b|0){case 0:o[915899]=0;return 915868;case 1:o[916027]=0;return 915900;case 2:o[916059]=0;return 916028;case 3:o[916091]=0;return 916060;case 4:o[916123]=0;return 916092;case 5:o[916155]=0;return 916124;case 6:o[916163]=0;return 916156;case 7:o[916179]=0;return 916164;case 8:o[916187]=0;return 916180;case 9:break b;default:break a}}o[916315]=0;c=916188}return c}function Zx(a,b,c,d,e,f){var g=0,h=0;g=ti-16|0;ti=g;q[g+12>>2]=0;d=Er(ea(c|0,d|0,f|0,g+12|0)|0);c=q[g+12>>2];a:{b:{c:{if(!d){if(c){break c}d=0;break b}if(!c){break a}yi(c);break a}while(1){Hn(e);if(q[b>>2]!=q[c+4>>2]){Fr(a);d=Yl(Uw(a,q[c+4>>2],q[c+8>>2],q[c+12>>2]));if(d){yi(q[g+12>>2]);break a}q[b>>2]=q[c+4>>2];Ht(a)}d=Yl(Vw(a,q[c+20>>2],q[c+16>>2],e));if(d){c=q[c+28>>2];if(c){continue}}break}h=q[g+12>>2]}yi(h)}ti=g+16|0;return d}function pE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=ti-112|0;ti=d;e=q[a+68>>2];if(!(!e|!r[a+57|0])){f=q[a+20>>2];i=q[f+8>>2];g=q[a+32>>2];h=q[a+8>>2];q[d+28>>2]=c;q[d+8>>2]=b;q[d+104>>2]=(b|0)!=4?(f-q[a+40>>2]|0)/24|0:0;if((q[a+28>>2]-h|0)<=320){b=q[a+44>>2];dn(a,(b|0)<20?b+20|0:b<<1)}q[q[a+20>>2]+8>>2]=q[a+8>>2]+320;o[a+57|0]=0;xi[e|0](a,d+8|0);o[a+57|0]=1;b=q[a+32>>2];q[q[a+20>>2]+8>>2]=b+(i-g|0);q[a+8>>2]=b+(h-g|0)}ti=d+112|0} -function P0(a){a=a|0;var b=0,c=0,d=0;b=fk(a,1,q[79186]);c=fk(a,2,q[79186]);if(!(!b|!c|(q[b>>2]!=q[c>>2]|q[b+4>>2]!=q[c+4>>2]|(q[b+16>>2]!=q[c+16>>2]|q[b+20>>2]!=q[c+20>>2])))){d=q[b+24>>2]==q[c+24>>2]&q[b+28>>2]==q[c+28>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function s5(a){q[a>>2]=0;q[a+4>>2]=0;q[a+92>>2]=0;p[a+88>>1]=256;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+68|0]=1;q[a+60>>2]=0;q[a+64>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=1065353216;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function W0(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-32|0;fi=d;e=d+8|0;c=a?q[a>>2]:0;b=0;a:{if(!c){break a}b=q[c+120>>2]}e=Ti(e,b,0,119520,474);c=xF(b);B2(ju(a),c);c=q[210259];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;oF(b);Si(e);fi=d+32|0}function AA(a){var b=0,c=0,d=0;a=q[a>>2];tj(q[a+4240>>2]);b=-1;a:{b:{c=q[a+4260>>2];d=q[a+4256>>2];if((c|0)!=(d|0)){b=q[a+4252>>2];if(!b){break b}if(c>>>0>=d>>>0){break a}q[a+4260>>2]=c+1;b=q[b+(c<<2)>>2]}lj(q[a+4240>>2]);return b}J(12515,12401,151,12522);G()}J(12526,12401,152,12522);G()}function hr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-16|0;fi=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=z(b);Zl(c,d,0,0,0,b+81|0);d=0+q[c+8>>2]|0;b=(q[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=q[c+4>>2];e=q[c>>2]}q[h>>2]=e;q[g+4>>2]=b;q[a+8>>2]=f;q[a+12>>2]=d;fi=c+16|0}function V3(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=a+7376|0;i=a+7380|0;a:{h=a+7384|0;g=q[a+7376>>2];if((q[h>>2]-g|0)!=1048576){if(o[a+7388|0]&1){break a}vi(1048576,1,f,h,a+7380|0);g=q[a+7376>>2]}q[i>>2]=g;b=pu(a,b,c,e,f);if(b){a=0}else{a=q[f>>2]}q[d>>2]=a;return b}J(27518,26974,461,27593);G()}function $oa(a){var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=q[a+12>>2];if(b){ji[b|0](q[a+8>>2])}d=q[a+4>>2];e=q[a>>2];b=0;while(1){a:{if(!b){b=ji[q[a+20>>2]](e,d)|0;if(!b){break a}}q[c+12>>2]=b;q[c+8>>2]=a;Fa(21,c+8|0,0,1);continue}break}b=q[a+16>>2];if(b){ji[b|0](q[a+8>>2])}fi=c+16|0;return 1}function oG(a){var b=0,c=0;c=q[q[a+16>>2]+1852>>2];b=q[a>>2];if(b){sj(c,-1e4,b)}b=q[a+4>>2];if(b){sj(c,-1e4,b)}b=q[a+8>>2];if(b){sj(c,-1e4,b)}b=q[a+12>>2];if(b){sj(c,-1e4,b)}sj(c,-1e4,q[a+24>>2]);q[a+24>>2]=-2;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=-2;q[a+12>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2}function Qj(a){var b=0,c=0,d=0,e=0,f=0;f=q[a+76>>2]>=0;d=q[a>>2]&1;if(!d){b=q[a+52>>2];if(b){q[b+56>>2]=q[a+56>>2]}c=q[a+56>>2];if(c){q[c+52>>2]=b}if(q[240822]==(a|0)){q[240822]=c}}b=nn(a);c=ji[q[a+12>>2]](a)|0;e=q[a+96>>2];if(e){ki(e)}a:{if(!d){ki(a);break a}if(!f){break a}}return b|c}function Np(){var a=0,b=0,c=0;a=Ci(56);q[a+32>>2]=0;q[a+36>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;c=a+16|0;b=c;q[b>>2]=0;q[b+4>>2]=0;b=a+8|0;q[b>>2]=0;q[b+4>>2]=0;q[a+36>>2]=-1;vi(4,4,a,b,a+4|0);ys(c,5,8);b=vu();o[a+52|0]=0;q[a+48>>2]=b;return a}function Gea(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-304|0;fi=b;e=Ti(b+280|0,a,1,72665,353);q[b+12>>2]=32;V$(b+12|0,b+16|0);ij(a,q[b+12>>2],0);if(q[b+12>>2]){while(1){d=(b+16|0)+(c<<3)|0;Yj(a,q[d>>2],q[d+4>>2]);c=c+1|0;vk(a,-2,c);if(t[b+12>>2]>c>>>0){continue}break}}Si(e);fi=b+304|0;return 1}function DV(a,b,c){var d=0,e=0;a:{b:{e=q[a>>2];if(e){d=-24704;if(c>>>0>16){break a}if(o[e+20|0]&1){break b}d=c;c=q[e+16>>2];if(d>>>0>=c>>>0){break b}}d=-24832;break a}if(q[e>>2]==72){d=-24832;if(DD(q[a+60>>2],b)){break a}}d=0;if(!c){break a}si(a+40|0,b,c);q[a+56>>2]=c;return 0}return d}function q5(a,b,c){var d=0,e=0,f=0;d=q[a+20>>2];if(!d){return-1}f=-1;d=q[q[a+16>>2]+(lwa(b,c,d)<<2)>>2];a:{if((d|0)==-1){break a}a=q[a+24>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f} +function ZV(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;a:{b:{c:{m=q[a>>2];switch(q[m+4>>2]-6|0){case 2:break b;case 0:break c;default:break a}}q[i>>2]=g;a=oV(q[a+60>>2],g,b,c,d,e,j,k,f,h);return(a|0)==-18?-25344:a}q[i>>2]=g;a=iW(q[a+60>>2],g,b,c,d,e,f,h,j,k);return(a|0)==-15?-25344:a}l=-24704;d:{if(q[m>>2]!=73){break d}l=-24832;if((k|0)!=16|q[m+16>>2]!=(c|0)){break d}q[i>>2]=g;a=dW(q[a+60>>2],g,b,d,e,j,f,h);l=(a|0)==-86?-25344:a}return l}function Ioa(a,b){var c=0,d=0;c=jj(a,68);d=c+48|0;q[d>>2]=0;q[d+4>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+28>>2]=-2;q[c+20>>2]=-2;q[c+24>>2]=-2;q[c+12>>2]=-2;q[c+16>>2]=-2;q[c+4>>2]=-2;q[c+8>>2]=-2;q[c>>2]=a;q[c- -64>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+48>>2]=-2;Qi(a,-1);d=kk(a,-1e4);q[c+40>>2]=c;q[c+48>>2]=d;q[c+44>>2]=b;q[c+32>>2]=57;Ki(a,-1e4,17658);ij(a,-2);if(!RK(a,b,c)){CA(c);return 0}Ci(a,-2);return c}function bH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;e=Zi(b+8|0,a,0,74700,240);c=q[a+8>>2]-q[a+12>>2]>>4;f=Wi(a,1,0);d=Oi(8);q[d>>2]=Wn(a,2);q[d+4>>2]=Jk(f);a:{if((c|0)<3){break a}if(!Ei(a,3)){break a}mj(a,3,5);Qi(a,3);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;if(rj(a,-2)){while(1){if(!nj(dj(a,-2,0),75315)){Ej(a,-1)}Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2)}q[b>>2]=-3;Ai(4,74793,75322,b);eH(0,d);Yi(e);ti=b+32|0;return 0}function Rm(a,b){var c=0,d=0,e=0,f=0;while(1){c=q[215701];q[215701]=c?c:1;if(c){continue}break}a:{c=q[215700];d=q[c+4>>2];b:{if(!d){break b}d=q[q[c>>2]+(Qwa(a,b,d)<<2)>>2];if((d|0)==-1){break b}f=q[c+8>>2];while(1){e=(d<<6)+f|0;if((a|0)==q[e>>2]&(b|0)==q[e+4>>2]){break a}d=q[e+56>>2];if((d|0)!=-1){continue}break}}q[215701]=0;return}a=(d<<6)+f|0;R7(c,q[a+16>>2],q[a+20>>2]);b=q[a+8>>2]-1|0;q[a+8>>2]=b;q[215701]=0;if(!b){Ls(a+8|0)}}function MA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];if(c>>>0<=i>>>0){a:{while(1){d=c>>>0>=i>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;g=Owa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(j&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=k}return a^1}J(22867,22886,70,22954);G()}function wia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-80|0;ti=b;c=Zi(b+24|0,a,0,68051,713);e=Mj(a,2);f=wi;g=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;d=b- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,g,67845,b+20|0,b+48|0,b+16|0);a=xja(q[b+16>>2],q[b+20>>2],e,f);if(a){q[b+4>>2]=a;q[b>>2]=q[(a<<2)+244592>>2];h=sj(c,69801,b)}Yi(c);ti=b+80|0;return h|0}function mva(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=ti-16|0;ti=d;f=(bxa(b),Zwa(2));c=f&2147483647;a:{if(c-8388608>>>0<=2130706431){e=c;c=c>>>7|0;g=e<<25;c=c+1065353216|0;break a}if(c>>>0>=2139095040){c=f;e=c>>>7|0;g=c<<25;c=e|2147418112;break a}if(!c){c=0;break a}e=c;c=z(c);dm(d,e,0,0,0,c+81|0);h=q[d>>2];i=q[d+4>>2];g=q[d+8>>2];c=q[d+12>>2]^65536|16265-c<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=g;q[a+12>>2]=f&-2147483648|c;ti=d+16|0}function Vt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=bl(a,q[b+4>>2]);a:{if(g){break a}d=((0-c|c)&128)>>>7|0;e=d^1;q[a>>2]=w(q[b>>2],d)+w(q[a>>2],e);c=q[b+4>>2];if(c){b=q[b+8>>2];j=q[a+8>>2];while(1){h=f<<2;i=h+j|0;q[i>>2]=w(q[b+h>>2],d)+w(q[i>>2],e);f=f+1|0;if((f|0)!=(c|0)){continue}break}}b=q[a+4>>2];if(b>>>0<=c>>>0){break a}a=q[a+8>>2];while(1){d=a+(c<<2)|0;q[d>>2]=w(q[d>>2],e);c=c+1|0;if(b>>>0>c>>>0){continue}break}}return g}function CN(a,b,c,d){var e=0,f=0;e=ti-32|0;ti=e;f=-9058;a:{if((a|0)!=48){break a}q[e+28>>2]=c;f=-9056;if((b|0)<1){break a}q[e+16>>2]=r[c|0];a=b+c|0;b=Rj(e+28|0,a,e+16|4,6);if(b){f=b-8960|0;break a}b=q[e+28>>2];q[e+24>>2]=b;q[e+28>>2]=b+q[e+20>>2];b=mD(e+16|0,d);if(b){f=b-8960|0;break a}f=0;if((a|0)==q[e+28>>2]){break a}b=Rj(e+28|0,a,e+12|0,5);f=b-8960|0;if(b|q[e+12>>2]){break a}f=(a|0)==q[e+28>>2]?0:-9062}a=f;ti=e+32|0;return a}function y8(a,b,c){var d=0,e=0,f=0,g=0;q[a+24>>2]=c;q[a+20>>2]=b;a:{f=q[a+44>>2];e=q[a+40>>2];d=f-e|0;if(!d){break a}if((e|0)!=(f|0)){f=e-f|0;f=((d|0)<(f|0)?f:d)>>>2|0;d=(d|0)>-1?d:-1;d=w(f,(d|0)<1?d:1);f=d>>>0>1?d:1;d=0;while(1){e=q[(d<<2)+e>>2];o[e+358|0]=r[e+358|0]|1;g=q[e+404>>2];if(g){xi[g|0](e,b,c)}d=d+1|0;if((f|0)==(d|0)){break a}e=q[a+40>>2];if(q[a+44>>2]-e>>2>>>0>d>>>0){continue}break}}J(195730,195579,479,195741);G()}}function wn(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0;o=a+4|0;n=o;q[n+8>>2]=b;q[n>>2]=1;q[n+4>>2]=c>>>2;if(d){q[a+24>>2]=d;q[a+16>>2]=1;q[a+20>>2]=e>>>2}q[a+36>>2]=f;q[a+28>>2]=1;q[a+32>>2]=g>>>2;c=a+76|0;b=c;q[b+8>>2]=l;q[b>>2]=1;q[b+4>>2]=m>>>2;q[a+48>>2]=h;q[a+40>>2]=1;q[a+44>>2]=i>>>2;q[a+60>>2]=j;q[a+52>>2]=1;q[a+56>>2]=k>>>2;b=a- -64|0;q[b>>2]=1;q[b+4>>2]=1;q[b+8>>2]=274908;q[a+88>>2]=Al(o);b=Al(c);q[a+96>>2]=1;q[a+92>>2]=b}function fz(a,b){var c=0;xi[q[77463]](q[a+2384>>2],q[b+4>>2]);c=q[b+48>>2];if((c|0)!=q[b+52>>2]){a=0;while(1){c=q[w(a,40)+c>>2];yi(q[c>>2]);yi(c);a=a+1|0;c=q[b+48>>2];if(a>>>0<(q[b+52>>2]-c|0)/40>>>0){continue}break}}a:{if(o[b+76|0]&1){break a}a=q[b+64>>2];if(!a){break a}yi(a)}b:{if(o[b+60|0]&1){break b}a=q[b+48>>2];if(!a){break b}yi(a)}c:{if(o[b+44|0]&1){break c}a=q[b+24>>2];if(a){yi(a)}a=q[b+16>>2];if(!a){break c}yi(a)}yi(b)}function w_(a,b){a=a|0;b=b|0;var c=0,d=0;c=qX(q[b>>2]);d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}c=xi[((c|0)==27?1044:1043)|0](a,q[b>>2],b+4|0,q[b+16>>2])|0;d=nE(a,r[c+72|0],q[a+72>>2]);q[d+16>>2]=c;if(r[c+72|0]){b=0;while(1){q[(d+(b<<2)|0)+20>>2]=OX(a);b=b+1|0;if(b>>>0>2];q[b+8>>2]=6;q[b>>2]=d;if((q[a+28>>2]-q[a+8>>2]|0)<=16){b=q[a+44>>2];dn(a,(b|0)<1?b+1|0:b<<1)}q[a+8>>2]=q[a+8>>2]+16}function vF(a,b){var c=0,d=0;c=ti-32|0;ti=c;a:{d=q[a+8>>2]-q[a+12>>2]>>4;if((d|0)>-1){As(a);if((Ei(a,-1)|0)==5){oo(a,-1,b)}Ci(a,-2);a=q[a+8>>2]-q[a+12>>2]>>4;if((a|0)!=(d|0)){break a}ti=c+32|0;return}q[c+12>>2]=d;q[c+4>>2]=1286;q[c+8>>2]=0;q[c>>2]=117392;Ai(4,117469,118011,c);J(118083,117392,1468,118100);G()}q[c+28>>2]=a;q[c+24>>2]=d;q[c+20>>2]=1286;q[c+16>>2]=117392;Ai(4,117469,118114,c+16|0);J(118185,117392,1491,118204);G()}function kX(a,b){var c=0,d=0,e=0;c=q[a+12>>2];c=c>>>0>2]?c:135744;a:{if(q[c+8>>2]!=6){break a}c=q[c>>2];b:{if(r[c+6|0]){if((b|0)<1|r[c+7|0]<(b|0)){break a}e=135282;b=(c+(b<<4)|0)+8|0;break b}if((b|0)<1){break a}d=q[c+16>>2];if(q[d+36>>2]<(b|0)){break a}b=(b<<2)-4|0;e=q[b+q[d+28>>2]>>2]+16|0;b=q[q[(b+c|0)+20>>2]+8>>2]}d=q[b+4>>2];c=q[a+8>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];q[a+8>>2]=q[a+8>>2]+16}return e}function Jja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=ti-16|0;ti=f;a:{e=q[q[a>>2]+104>>2];a=q[e+20>>2];b:{if(!a){break b}a=q[q[e+16>>2]+((d>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break b}e=q[e+24>>2];while(1){g=e+w(a,12)|0;if(q[g>>2]==(d|0)){break a}a=q[g+8>>2];if((a|0)!=-1){continue}break}}o[300976]=1;q[f>>2]=d;Ai(4,36048,36868,f);G()}a=q[(e+w(a,12)|0)+4>>2];a=xi[q[a+8>>2]](f+8|0,q[a+4>>2],b,c,d)|0;ti=f+16|0;return a|0}function A8(a,b,c){var d=0,e=0,f=x(0);a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=q[c+4>>2];d=q[c>>2];f=u[c+8>>2];q[a+12>>2]=1065353216;u[a+8>>2]=f;q[a>>2]=d;q[a+4>>2]=b;q[a+412>>2]=q[a+412>>2]|4194304;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function uT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;e=1;c=Ym(a,132323);b=Hn(c+8248|0);b=uZ(c,q[c+8272>>2],d+12|0,b);a:{if(!b){b=jj(a,8280);rp(a,132311,-1);a=Fi(b,0,8280);Ht(d+12|0);q[a>>2]=q[d+12>>2];f=a+4|0;b=f;q[b+12>>2]=967;q[b+8>>2]=968;q[b+4>>2]=969;q[b>>2]=a;b=a+8248|0;v[b+8>>3]=-1;v[b>>3]=-1;WA(a+24|0,f,b);q[a+8272>>2]=q[c+8272>>2];break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,b);e=2}ti=d+16|0;return e|0}function ru(a){var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;a:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break a}b=sk(b)}q[d>>2]=b;b:{c:{switch(b-10|0){case 0:case 3:break c;default:break b}}if((b|0)==(e|0)){break b}b=q[a+56>>2];c=q[b>>2];q[b>>2]=c-1;d=a;d:{if(c){c=b;b=q[b+4>>2];q[c+4>>2]=b+1;b=r[b|0];break d}b=sk(b)}q[d>>2]=b}b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)>=2147483644){Pl(a,136333,q[a+16>>2])}}function mwa(){q[81579]=0;q[81580]=0;q[81578]=326464;q[81576]=0;q[81574]=107390;q[81573]=107366;q[81572]=0;q[81570]=0;q[81568]=0;q[81566]=0;q[81564]=1;q[81562]=0;q[81563]=3;q[81600]=326464;q[81598]=0;q[81596]=107419;q[81595]=107399;q[81594]=0;q[81592]=0;q[81590]=0;q[81588]=0;q[81586]=1;q[81584]=0;q[81585]=3;q[81581]=0;q[81582]=0;q[81583]=0;q[81605]=0;q[81603]=0;q[81604]=0;q[81601]=0;q[81602]=0;q[81606]=zi(107624);q[81607]=wi}function lta(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+(q[a+4>>2]<<2)>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+(q[a+4>>2]<<2)>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}kta(a,d>>>2|0,b>>>2|0);return}J(101637,101652,782,101696);G()}J(101702,101652,783,101696);G()}J(101739,101652,784,101696);G()}J(92163,101652,789,101696);G()}J(92163,101652,796,101696);G()}function ita(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+(q[a+4>>2]<<1)>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+(q[a+4>>2]<<1)>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}hta(a,d>>>1|0,b>>>1|0);return}J(101637,101652,782,101696);G()}J(101702,101652,783,101696);G()}J(101739,101652,784,101696);G()}J(92163,101652,789,101696);G()}J(92163,101652,796,101696);G()}function rk(a,b,c,d,e,f,g,h){var i=0,j=0;i=-11;j=q[a+5136>>2];a:{if((j|0)==128){break a}i=-6;if(!g|(Km(b,46)|!e)){break a}b:{if(!j){break b}i=0;while(1){if(nj(b,q[(w(i,40)+a|0)+24>>2])){i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}return-5}i=zi(b);j=q[a+5136>>2];q[a+5136>>2]=j+1;a=w(j,40)+a|0;q[a+48>>2]=h;q[a+44>>2]=g;q[a+40>>2]=f;q[a+36>>2]=e;q[a+32>>2]=d;q[a+28>>2]=c;q[a+24>>2]=b;q[a+16>>2]=i;q[a+20>>2]=wi;i=0}return i}function Yja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[q[a+24>>2]>>2];e=q[a+16>>2];f=q[a+20>>2];if((e|0)==q[76052]&(f|0)==q[76053]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[c+148>>2];if(!a){a=q[q[c+156>>2]+24>>2]}return km(d,a,b)|0}if((e|0)==q[76074]&(f|0)==q[76075]){d=q[q[q[a+8>>2]+80>>2]>>2];a=q[c+152>>2];if(!a){a=q[q[c+156>>2]>>2]}return km(d,a,b)|0}d=q[c+148>>2];if(!d){d=q[q[c+156>>2]+24>>2]}return Ws(d,e,f,q[a+32>>2],b,1,215,c)|0}function Ada(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:{b:{if(b>>>0<2097152){c:{if(a+1>>>0<2){break c}b=a&65535;f=q[77547];if(b>>>0>=t[f+32>>2]){break b}g=q[q[f+24>>2]+(b<<2)>>2];if(!g){break c}h=s[q[f+28>>2]+(b<<1)>>1]==(a>>>16|0)?g:0}a=Sm(c);if(a>>>0>=6){break a}a=w(a,48)+h|0;q[d>>2]=s[a+40>>1];q[e>>2]=s[a+42>>1];return}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}J(89085,84160,2622,89111);G()}function YD(a,b){var c=0,d=0,e=0,f=0;gj(a,0,0);e=1;f=q[a+8>>2]-q[a+12>>2]>>4;d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Sj(a,b);if(Ei(a,-1)){d=1;while(1){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-2);$i(a,f);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;$i(a,f);c=q[a+8>>2];q[c+8>>2]=3;d=d+1|0;e=+(d|0);v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Sj(a,b);if(Ei(a,-1)){continue}break}}Ci(a,-2)}function Rea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);f=wi;d=Ri(a,2);q[b+12>>2]=0;q[b+8>>2]=0;c=l0(c,f,x(d),b+12|0,b+8|0);if(c){q[b>>2]=c;Ai(3,76195,76264,b)}d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(76226,75991,255,76288);G()}ti=b+16|0;return 2}function Qea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);f=wi;d=Ri(a,2);q[b+12>>2]=0;q[b+8>>2]=0;c=k0(c,f,x(d),b+12|0,b+8|0);if(c){q[b>>2]=c;Ai(3,76195,76203,b)}d=+u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;d=+u[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d;q[a+8>>2]=q[a+8>>2]+16;if((e+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(76226,75991,211,76251);G()}ti=b+16|0;return 2}function Pr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;q[a>>2]=0;q[a+4>>2]=0;a:{if(!b){c=-1694144372;d=1359893119;e=-1521486534;f=1013904242;g=-1150833019;h=1779033703;i=1541459225;j=528734635;break a}c=1750603025;d=-4191439;e=-150054599;f=812702999;g=914150663;h=-1056596264;i=-1090891868;j=1694076839}q[a+104>>2]=b;q[a+8>>2]=h;q[a+36>>2]=i;q[a+32>>2]=j;q[a+28>>2]=c;q[a+24>>2]=d;q[a+20>>2]=e;q[a+16>>2]=f;q[a+12>>2]=g;return 0}function mW(a,b,c){var d=0,e=0,f=0;f=ti-16|0;ti=f;e=Rj(a,b,f+12|0,48);a:{if(e){break a}e=-102;d=q[a>>2];if((d+q[f+12>>2]|0)!=(b|0)){break a}if(b>>>0>d>>>0){while(1){q[c>>2]=r[d|0];e=Rj(a,b,c+4|0,6);if(e){break a}q[c+8>>2]=q[a>>2];d=q[a>>2]+q[c+4>>2]|0;q[a>>2]=d;if(b>>>0>d>>>0){d=c;c=Vj(1,16);q[d+12>>2]=c;if(!c){e=-106;break a}d=q[a>>2]}if(b>>>0>d>>>0){continue}break}}q[c+12>>2]=0;e=q[a>>2]==(b|0)?0:-102}ti=f+16|0;return e}function l6(a,b,c,d,e,f,g){var h=0;h=ti+ -64|0;ti=h;u[h>>2]=u[g>>2];u[h+4>>2]=u[g+4>>2];u[h+8>>2]=u[g+8>>2];u[h+12>>2]=u[g+12>>2];u[h+16>>2]=u[g+16>>2];u[h+20>>2]=u[g+20>>2];u[h+24>>2]=u[g+24>>2];u[h+28>>2]=u[g+28>>2];u[h+32>>2]=u[g+32>>2];u[h+36>>2]=u[g+36>>2];u[h+40>>2]=u[g+40>>2];u[h+44>>2]=u[g+44>>2];u[h+48>>2]=u[g+48>>2];u[h+52>>2]=u[g+52>>2];u[h+56>>2]=u[g+56>>2];u[h+60>>2]=u[g+60>>2];NG(a,b,c,d,e,f,h,1);ti=h- -64|0}function fP(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;c=1;e=r[b|0];if((d|0)==1){o[a|0]=e;o[a+1|0]=e;return a|0}o[a|0]=e;o[a+1|0]=(r[b+1|0]+w(r[b|0],3)|0)+2>>>2;e=d-1|0;f=2;if((d|0)>=3){while(1){f=c<<1;g=b+c|0;h=w(r[g|0],3)+2|0;o[f+a|0]=h+r[g-1|0]>>>2;c=c+1|0;o[(f|1)+a|0]=r[c+b|0]+h>>>2;if((c|0)!=(e|0)){continue}break}f=e<<1}c=b+e|0;o[a+f|0]=(r[c|0]+w(r[(b+d|0)-2|0],3)|0)+2>>>2;o[(f|1)+a|0]=r[c|0];return a|0}function ZC(a,b,c){var d=0,e=0,f=0;e=ti-16|0;ti=e;d=Rj(a,b,e+12|0,49);a:{if(!d){while(1){f=q[a>>2]+q[e+12>>2]|0;d=wB(a,f,c);if(d){break a}while(1){if(q[a>>2]!=(f|0)){o[c+28|0]=1;d=c;c=Vj(1,32);q[d+24>>2]=c;if(!c){d=-10368;break a}d=wB(a,f,c);if(!d){continue}break a}break}if((b|0)==(f|0)){d=0;break a}d=c;c=Vj(1,32);q[d+24>>2]=c;if(!c){d=-10368;break a}d=Rj(a,b,e+12|0,49);if(!d){continue}break}}d=d-9088|0}ti=e+16|0;return d}function wua(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=r[b+1|0];e=r[b|0];i=r[b+2|0];j=r[b+3|0];k=r[b+4|0];g=(((w(f>>>d|0,3)+(e>>>d|0)|0)+w(i>>>d|0,9)|0)+w(j>>>d|0,27)|0)+w(k>>>d|0,81)|0;if((g|0)>=243){J(102439,92069,5158,102451);G()}b=-1<>>2&3|(b&i)<<2|(e>>>4&1)<>>5&3)<>>7<>2]=0;g=q[(q[b+8>>2]<<2)+267792>>2];f=q[a+20>>2];h=q[f+8>>2];a:{b:{e=q[f>>2];if(h>>>0<=e>>>0){break b}while(1){if((b|0)!=(e|0)){e=e+16|0;if(h>>>0>e>>>0){continue}break b}break}b=su(a,f,b-q[a+12>>2]>>4,d+44|0);if(!b){break b}q[d+16>>2]=c;q[d+20>>2]=b;q[d+24>>2]=q[d+44>>2];q[d+28>>2]=g;Hk(a,135283,d+16|0);break a}q[d+4>>2]=g;q[d>>2]=c;Hk(a,135318,d)}ti=d+48|0}function Lea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;d=Zi(b+72|0,a,0,75991,645);e=Tj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);u[b>>2]=Ri(a,2);a=q[61850];fk(b+8|0,b+40|0,q[a+8>>2],q[a+12>>2],e,a,b,4);Yi(d);ti=b+96|0;return 0}function Jea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;d=Zi(b+72|0,a,0,75991,683);e=Tj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);u[b>>2]=Ri(a,2);a=q[61866];fk(b+8|0,b+40|0,q[a+8>>2],q[a+12>>2],e,a,b,4);Yi(d);ti=b+96|0;return 0}function Gba(a,b){var c=0,d=0;a:{b:{c:{c=q[a+36>>2];a=q[a+32>>2];d=(c-a|0)/576|0;c=b&65535;if(d>>>0>c>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}c=a+w(c,576)|0;if(s[c+554>>1]!=(b&65535)){break b}b=s[c+560>>1];if((b|0)==65535){return 0}if(b>>>0>=d>>>0){break a}a=a+w(b,576)|0;return s[a+552>>1]<<16|s[a+554>>1]}break a}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}J(195730,195579,479,195741);G()}function Nea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;d=Zi(b+72|0,a,0,75991,610);e=Tj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);o[b|0]=My(a,2);a=q[61814];fk(b+8|0,b+40|0,q[a+8>>2],q[a+12>>2],e,a,b,1);Yi(d);ti=b+96|0;return 0}function rU(a){var b=0;q[a+184>>2]=q[a+184>>2]&-2;q[a+184>>2]=q[a+184>>2]&-3;o[a+166|0]=255;o[a+167|0]=255;o[a+168|0]=255;o[a+169|0]=255;p[a+164>>1]=0;q[a+160>>2]=16;q[a+152>>2]=1e3;q[a+156>>2]=6e4;o[a+170|0]=255;o[a+171|0]=255;q[a+184>>2]=q[a+184>>2]&-40461|40456;q[a+180>>2]=16974595;b=dU();q[a+8>>2]=b;q[a+12>>2]=b;q[a+4>>2]=b;q[a+80>>2]=168936;q[a>>2]=b;q[a+96>>2]=293776;b=xD();q[a+176>>2]=1024;q[a+100>>2]=b;return 0}function eU(a){var b=0,c=0,d=0,e=0;e=q[q[a+68>>2]+2252>>2];if(q[a+8>>2]==1){q[a+8>>2]=2;q[a+12>>2]=0}b=q[a+60>>2];if(b){q[q[a+64>>2]+124>>2]=q[b+124>>2];Lr(b);yi(q[a+60>>2])}b=q[a+64>>2];q[a+64>>2]=0;q[a+60>>2]=b;c=q[a>>2];d=q[c+36>>2];if(!(!q[b+12>>2]|(e|!d))){xi[d|0](q[c+40>>2],b)|0;c=q[a>>2]}a:{if(!(!(r[c+184|0]&2)|!q[q[a+68>>2]+496>>2])){b=q[a+92>>2];if(b){xi[b|0](q[a+88>>2],0,0)}break a}rC(a)}q[a+4>>2]=q[a+4>>2]+1}function BU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(d>>>0>4294967284){break a}g=q[a+4>>2];if(g>>>0>>0){break a}o[f|0]=0;i=(g-d|0)-3|0;if(!b){break a}o[f+1|0]=2;g=f+2|0;b:{while(1){if(!i){break b}i=i-1|0;h=100;while(1){c:{j=xi[b|0](c,g,1)|0;if(r[g|0]){break c}h=h-1|0;if(!h){break c}if(!j){continue}}break}if(!j){g=g+1|0;if(h){continue}}break}return j-17536|0}o[g|0]=0;if(d){Gi(g+1|0,e,d)}return Sr(a,f,f)}return-16512}function k1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-32|0;ti=d;a:{b:{if(a){b=a?q[a>>2]:0;if(!b){break b}b=q[b+120>>2];if(!b){break a}f=Zi(d+8|0,b,0,127536,433);g=t2();c=q[212888];e=q[b+8>>2];q[e+8>>2]=3;v[e>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=g;q[b+8>>2]=q[b+8>>2]+16;xF(a);Yi(f);ti=d+32|0;return}J(127671,127536,428,127691);G()}J(127711,127536,430,127691);G()}J(127726,127536,432,127691);G()}function mga(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;c=-2;a:{if(Cj(q[a+20>>2],q[a+24>>2],273488,e+12|0)){break a}c=q[a>>2];d=q[q[a+32>>2]+8>>2];b=q[d+16>>2];if(b){cj(b)}b=q[d+32>>2];if(b){Pi(c,b)}b=q[d+20>>2];if(b){Pi(c,b)}b=q[d+28>>2];if(b){Pi(c,b)}b=q[d+24>>2];if(b){Pi(c,b)}q[d+16>>2]=q[e+12>>2];c=sK(q[a>>2],d,1);if(c){break a}q[q[a+32>>2]+16>>2]=((q[a+24>>2]+q[d+8>>2]|0)-q[d>>2]|0)+36;c=0}ti=e+16|0;return c|0}function lua(){var a=0,b=0;a=ti-96|0;ti=a;if(!r[310361]){tta();q[a+88>>2]=-556347706;q[a+92>>2]=-528409;q[a+80>>2]=-1667986300;q[a+84>>2]=-1112167003;q[a+72>>2]=1515342402;q[a+76>>2]=2071161699;q[a+64>>2]=403703808;q[a+68>>2]=959523105;ew(310368,a- -64|0,32,32,1);ew(310880,a- -64|0,1,32,0);while(1){o[a+b|0]=b<<2|b>>>4;b=b+1|0;if((b|0)!=64){continue}break}ew(311392,a,64,64,1);ew(311904,a,1,64,0);o[310361]=1}ti=a+96|0}function LK(a,b){var c=0;q[a>>2]=7;c=q[b+4>>2];q[a+8>>2]=q[b>>2];q[a+12>>2]=c;c=q[b+12>>2];q[a+16>>2]=q[b+8>>2];q[a+20>>2]=c;c=q[b+20>>2];q[a+24>>2]=q[b+16>>2];q[a+28>>2]=c;c=q[b+28>>2];q[a+32>>2]=q[b+24>>2];q[a+36>>2]=c;c=q[b+36>>2];q[a+40>>2]=q[b+32>>2];q[a+44>>2]=c;c=q[b+44>>2];q[a+48>>2]=q[b+40>>2];q[a+52>>2]=c;c=q[b+52>>2];q[a+56>>2]=q[b+48>>2];q[a+60>>2]=c;c=q[b+60>>2];a=a- -64|0;q[a>>2]=q[b+56>>2];q[a+4>>2]=c}function Aw(a,b,c,d,e){var f=0,g=0,h=0;f=Dw(a,b,c,d);g=q[e+4>>2];h=q[d+4>>2];if((g|0)==(h|0)&t[e>>2]>2]|g>>>0>>0){Il(d,e);e=q[d+4>>2];g=q[c+4>>2];if((e|0)==(g|0)&t[d>>2]>=t[c>>2]|e>>>0>g>>>0){return f+1|0}Il(c,d);d=q[c+4>>2];e=q[b+4>>2];if((d|0)==(e|0)&t[c>>2]>=t[b>>2]|d>>>0>e>>>0){return f+2|0}Il(b,c);c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return f+3|0}Il(a,b);f=f+4|0}return f}function k9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+28|0);a:{if(ek(a,2)){c=Wi(a,2,0);if(!Mz(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;Bi(a,200338,b+16|0);break a}c=Zk(a,2);e=wi;g=e;if(!pI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Mi(c,g);Bi(a,200338,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(196277,196298,1514,200377);G()}ti=b+32|0;return 0}function cs(a){q[a>>2]=0;q[a+12>>2]=0;q[a+4>>2]=1;q[a+8>>2]=0;q[a+24>>2]=0;q[a+16>>2]=1;q[a+20>>2]=0;q[a+36>>2]=0;q[a+28>>2]=1;q[a+32>>2]=0;q[a+48>>2]=0;q[a+40>>2]=1;q[a+44>>2]=0;q[a+60>>2]=0;q[a+52>>2]=1;q[a+56>>2]=0;q[a+72>>2]=0;q[a+64>>2]=1;q[a+68>>2]=0;q[a+84>>2]=0;q[a+76>>2]=1;q[a+80>>2]=0;q[a+120>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0}function J9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+28|0);a:{if(ek(a,2)){c=Wi(a,2,0);if(!DI(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;Bi(a,200747,b+16|0);break a}c=Zk(a,2);e=wi;g=e;if(!CI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Mi(c,g);Bi(a,200747,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(196277,196298,1989,200783);G()}ti=b+32|0;return 0}function F9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;f=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+28|0);a:{if(ek(a,2)){c=Wi(a,2,0);if(!Oz(d,q[b+28>>2],c)){break a}q[b+16>>2]=c;Bi(a,200806,b+16|0);break a}c=Zk(a,2);e=wi;g=e;if(!zI(d,q[b+28>>2],c,e)){break a}q[b>>2]=Mi(c,g);Bi(a,200806,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(f|0)){J(196277,196298,2053,200843);G()}ti=b+32|0;return 0}function Nba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break a}b=-1;c:{if(q[d+436>>2]!=2){break c}a=a+w(c,576)|0;if(!q[a+452>>2]){break c}a=q[a+440>>2];b=(a>>>13&8191)-(a&8191)|0}return b}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function zga(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;q[b+12>>2]=0;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[60338],b+12|0)){hr(q[b+12>>2]);a:{d=q[b+12>>2];e=q[d+48>>2];if(!e){break a}if(q[d+56>>2]){c=0;while(1){nk(q[a+20>>2],q[q[d+52>>2]+(c<<2)>>2]);c=c+1|0;if((e|0)==(c|0)){d=q[b+12>>2];break a}d=q[b+12>>2];if(t[d+56>>2]>c>>>0){continue}break}}J(56148,56160,45,56214);G()}q[q[a+24>>2]>>2]=d;c=0}ti=b+16|0;return c|0}function jV(a,b,c){var d=0,e=0,f=0;d=-3;e=q[a>>2];if(e){e=q[e+8>>2]}else{e=0}e=e&255;a:{if(c>>>0>1024){break a}if(!(!q[a+92>>2]|(q[a+76>>2]<=q[a+88>>2]?q[a+84>>2]!=1:0))){d=iV(a);if(d){break a}}if(c){f=a+12|0;while(1){d=Lm(a);if(d){break a}d=Uk(a,f,e);if(d){break a}d=Nl(a,f);if(d){break a}d=c>>>0>e>>>0?e:c;b=Gi(b,f,d)+d|0;c=c-d|0;if(c){continue}break}}d=zx(a,0,0);if(d){break a}q[a+76>>2]=q[a+76>>2]+1;d=0}return d}function hla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+1040>>2];c=q[b+28>>2];d=q[c+20>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){d=q[(b<<3)+d>>2];b=q[c+8>>2];c=q[c+4>>2];if(d>>>0>2>>>0){c=q[c+(d<<2)>>2];b=q[a+1052>>2];e=q[a+1048>>2];f=e+1|0;d=f>>>0<1?b+1|0:b;q[a+1048>>2]=f;q[a+1052>>2]=d;if(!(b|e)){q[a+8>>2]=6;o[a+16|0]=o[c+204|0]&1;q[a>>2]=zi(41356);q[a+4>>2]=wi}return!(b|e)|0}}J(41371,40669,479,41382);G()}function wE(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;c=dj(a,c,d+12|0);e=w(q[d+12>>2],6)+2|0;a=q[b+8>>2];if((e|0)>(q[b+4>>2]+(a^-1)|0)){Ek(b,a+e|0);a=q[b+8>>2]}q[b+8>>2]=a+1;o[q[b>>2]+a|0]=34;if(q[d+12>>2]){a=0;while(1){e=r[a+c|0];f=q[(e<<2)+265408>>2];a:{if(f){$B(b,f);break a}f=q[b+8>>2];q[b+8>>2]=f+1;o[f+q[b>>2]|0]=e}a=a+1|0;if(a>>>0>2]){continue}break}}a=q[b+8>>2];q[b+8>>2]=a+1;o[a+q[b>>2]|0]=34;ti=d+16|0}function Nn(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if((a|0)==(b|0)){break a}f=q[a+8>>2];d=f-(c<<4)|0;q[a+8>>2]=d;g=1;if((c|0)<1){break a}e=q[b+8>>2];q[b+8>>2]=e+16;h=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=h;q[e+8>>2]=q[(f+(0-c<<4)|0)+8>>2];if((c|0)==1){break a}while(1){d=q[a+8>>2];e=q[b+8>>2];q[b+8>>2]=e+16;d=d+(g<<4)|0;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+8>>2]=q[d+8>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}}function Qka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+1040>>2];c=q[b+28>>2];d=q[c+16>>2];b=q[b+32>>2];if(b>>>0>2]-d>>3>>>0){d=q[(b<<3)+d>>2];b=q[c+4>>2];c=q[c>>2];if(d>>>0>2>>>0){c=q[c+(d<<2)>>2];b=q[a+1052>>2];e=q[a+1048>>2];f=e+1|0;d=f>>>0<1?b+1|0:b;q[a+1048>>2]=f;q[a+1052>>2]=d;if(!(b|e)){q[a+8>>2]=6;o[a+16|0]=o[c+254|0]&1;q[a>>2]=zi(47069);q[a+4>>2]=wi}return!(b|e)|0}}J(46656,46296,479,46535);G()}function bta(a){a=a|0;var b=0,c=0,d=0,e=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;d=Zwa(0)|0;a:{if(d){break a}if(Bj(a,1)){break a}wk(a,1,131346)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;axa(+(xj(a,c)+6755399441055744));Zwa(1)|0;e=Zwa(0)|0;b:{if(e){break b}if(Bj(a,c)){break b}wk(a,c,131346)}b=c-1|0;d=d&e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Zsa(a){a=a|0;var b=0,c=0,d=0,e=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;d=Zwa(0)|0;a:{if(d){break a}if(Bj(a,1)){break a}wk(a,1,131346)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;axa(+(xj(a,c)+6755399441055744));Zwa(1)|0;e=Zwa(0)|0;b:{if(e){break b}if(Bj(a,c)){break b}wk(a,c,131346)}b=c-1|0;d=d^e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function UT(a,b){var c=0,d=0,e=0,f=0;q[a+184>>2]=0;q[a>>2]=b;b=Vj(1,16749);q[a+100>>2]=b;d=a+100|0;e=a+184|0;c=-32512;a:{if(!b){b=0;break a}f=Vj(1,16749);q[e>>2]=f;if(!f){break a}nC(a);c=Rw(a);if(!c){return 0}b=q[d>>2]}yi(b);yi(q[a+184>>2]);q[a>>2]=0;a=d;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;a=e;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return c}function $sa(a){a=a|0;var b=0,c=0,d=0,e=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;d=Zwa(0)|0;a:{if(d){break a}if(Bj(a,1)){break a}wk(a,1,131346)}b=q[a+8>>2]-q[a+12>>2]>>4;if((b|0)>=2){while(1){c=b;axa(+(xj(a,c)+6755399441055744));Zwa(1)|0;e=Zwa(0)|0;b:{if(e){break b}if(Bj(a,c)){break b}wk(a,c,131346)}b=c-1|0;d=d|e;if((c|0)>2){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function aH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti+ -64|0;ti=b;e=Zi(b+16|0,a,0,74700,163);q[b+12>>2]=0;Wi(a,1,b+12|0);c=Wn(a,2);a=Oi(12);q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[b>>2]=-3;Ai(4,74793,75278,b);yi(a);if(en(c)){a=c?q[c>>2]:0;f=Zi(b+40|0,a,0,74700,146);a:{if(!Np(c)){Ai(4,74793,75361,0);break a}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=-3;q[a+8>>2]=q[a+8>>2]+16;Vl(a,2,0);Kq(c)}Yi(f)}Pm(c);Yi(e);ti=b- -64|0;return 0}function Rta(a,b,c){var d=0,e=0;if(c>>>0>=2){J(106161,106170,163,106203);G()}b=q[(c<<2)+106080>>2]&b>>>(((c|0)!=0)<<4);a:{if(b&32768){d=b&31;c=c?d+106096|0:(d>>>1|0)+106128|0;d=(b>>>5&31)+106096|0;e=(b>>>10&31)+106096|0;b=255;break a}d=b&15;c=c?d+106128|0:(d>>>1|0)+106144|0;d=(b>>>4&15)+106128|0;e=(b>>>8&15)+106128|0;b=r[(b>>>12&7)+106152|0]}e=r[e|0];d=r[d|0];c=r[c|0];o[a+3|0]=b;o[a+2|0]=c;o[a+1|0]=d;o[a|0]=e}function Nma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+12>>2];d=q[q[a+16>>2]>>2];b=q[d+60>>2];if(b){An(b)}b=q[d+36>>2];if(b){Pi(q[c>>2],b)}a=q[a+8>>2];c=q[a>>2];a:{b:{if((c|0)!=q[a+4>>2]){e=q[a+16>>2];if(!e){break b}b=q[a+24>>2];if(!b|b>>>0>t[a+20>>2]){break a}f=a;a=b-1|0;q[f+24>>2]=a;q[(a<<2)+e>>2]=d-c>>7;Fi(d,0,128);return 0}J(32299,32310,479,32366);G()}J(32490,32439,140,32521);G()}J(32526,32439,141,32521);G()}function GK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-32|0;ti=b;q[b+24>>2]=0;a:{d=q[a>>2];if(d){e=1;c=q[d+4>>2];g=q[c>>2];if(!g){break a}while(1){h=s[((f<<1)+c|0)+28568>>1];c=w(h,112)+c|0;i=c;if(q[c+68>>2]){q[b+16>>2]=0;q[b>>2]=a;q[b+4>>2]=q[((h<<2)+d|0)+12>>2];q[b+8>>2]=q[c+24>>2];e=!(xi[q[i+68>>2]](b)|0)&e}f=f+1|0;if((g|0)==(f|0)){break a}c=q[d+4>>2];continue}}J(8977,7291,2668,8970);G()}ti=b+32|0;return e}function ED(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=-12416;a:{if(!d|t[a>>2]>>0){break a}i=a+4|0;if(!uj(i,0)){break a}g=a+28|0;b:{while(1){h=Kn(g,b,e,f);if(h){break b}while(1){if((Lj(g,i)|0)>=0){h=Wk(g,1);if(!h){continue}break b}break}if((j|0)==11){g=-12928;break a}j=j+1|0;if(Yv(g,i)){continue}break}b=a+40|0;h=ko(b,a+16|0,g,i,a+76|0);if(h){break b}g=Yv(b,i);if(g){break a}h=pn(b,c,d)}return h?h-12928|0:0}return g}function yka(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+80>>2];d=b+16|0;c=q[b+24>>2];if((c|0)==q[b+20>>2]){jn(44466,44472,c-q[d>>2]>>4);return-1e3}d=M6(d);c=q[b+32>>2];if(d>>>0>2]-c>>3>>>0){c=q[c+(d<<3)>>2];e=q[b+20>>2];b=q[b+16>>2];if(c>>>0>4>>>0){b=b+(c<<4)|0;c=q[a+76>>2];q[b>>2]=c;u[b+8>>2]=u[c+12>>2];u[b+4>>2]=u[c+16>>2];u[b+12>>2]=u[c+20>>2];q[q[a+88>>2]>>2]=d;return 0}}J(45161,44897,479,45172);G()}function k4(a){var b=0;a:{if(o[a+173532|0]&1){break a}b=q[a+173520>>2];if(!b){break a}yi(b)}b:{if(o[a+173512|0]&1){break b}b=q[a+173500>>2];if(!b){break b}yi(b)}c:{if(o[a+155736|0]&1){break c}b=q[a+155716>>2];if(b){yi(b)}b=q[a+155708>>2];if(!b){break c}yi(b)}d:{if(o[a+44|0]&1){break d}b=q[a+24>>2];if(b){yi(b)}b=q[a+16>>2];if(!b){break d}yi(b)}e:{if(o[a+12|0]&1){break e}b=q[a>>2];if(!b){break e}yi(b)}return a}function UB(a,b){var c=0,d=0,e=0;d=ti-16|0;ti=d;c=AE(d+12|0,b,1);a:{if(!c){c=Fi(jj(a,8280),0,8280);rp(a,132299,-1);Ht(d+12|0);if((b|0)==10){q[d+8>>2]=1;yl(q[d+12>>2],41,26,d+8|0,4)}q[c>>2]=q[d+12>>2];e=c+4|0;a=e;q[a+12>>2]=967;q[a+8>>2]=968;q[a+4>>2]=969;q[a>>2]=c;a=c+8248|0;v[a+8>>3]=-1;v[a>>3]=-1;WA(c+24|0,e,a);q[c+8272>>2]=b;a=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,c);a=2}ti=d+16|0;return a}function uR(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=a+152|0;a:{if(!q[a+160>>2]){g=a+8|0;f=a+140|0;while(1){if((h|0)==11){return-17536}d=Kn(e,q[a+4>>2]-1|0,b,c);if(d){break a}d=Vr(f,e,g);if(d){break a}h=h+1|0;if(uj(f,1)){continue}break}d=jo(f,e,g);if(d){break a}d=ko(f,f,a+20|0,g,a+104|0);break a}b=a+140|0;d=Fk(b,b,b);if(d){break a}a=a+8|0;d=Tk(b,b,a);if(d){break a}d=Fk(e,e,e);if(d){break a}return Tk(e,e,a)}return d}function XR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;c=1;e=Wi(a,1,0);f=e;b=Ka(e|0)|0;if((b|0)==-31){b=hi(f|0)|0}if(b>>>0>=4294963201){q[242957]=0-b;b=-1}a:{if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d+4>>2]=al(b);q[d>>2]=e;vj(a,140765,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;c=3}ti=d+16|0;return c|0}function Poa(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;h=ti-48|0;ti=h;if(!(!en(g)|!f)){f=q[q[a+80>>2]+8>>2];a:{if(!f){break a}f=q[f>>2];if(!f){break a}i=q[f+3216>>2];j=q[f+3220>>2]}f=q[a+96>>2];k=q[a+100>>2];a=h;q[a+40>>2]=d;q[a+44>>2]=e;q[a+32>>2]=b;q[a+36>>2]=c;q[a+24>>2]=f;q[a+28>>2]=k;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=i;q[a+12>>2]=j;ys(g,56,a+8|0)}Pm(g);ti=h+48|0}function BO(){var a=0,b=0,c=0,d=0;a=ti-48|0;ti=a;q[a+32>>2]=q[51912];b=q[51911];q[a+24>>2]=q[51910];q[a+28>>2]=b;b=q[51909];q[a+16>>2]=q[51908];q[a+20>>2]=b;d=a+16|13;a:{b:{while(1){c:{PM(d);q[a>>2]=384;b=Ja(a+16|0,32962,a|0)|0;if(b>>>0>=4294963201){q[242957]=0-b;b=-1}if((b|0)>=0){break c}c=c+1|0;if((c|0)!=100){continue}break b}break}Ka(a+16|0)|0;c=YM(b,207652);if(c){break a}ia(b|0)|0}c=0}ti=a+48|0;return c}function NO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=ti-160|0;ti=d;Fi(d+16|0,0,144);q[d+92>>2]=-1;q[d+60>>2]=b;q[d+24>>2]=-1;q[d+20>>2]=b;nn(d+16|0,0,0);XM(d,d+16|0,1,1);f=q[d+8>>2];g=q[d+12>>2];h=q[d>>2];i=q[d+4>>2];if(c){j=c;e=b;b=q[d+20>>2]-q[d+24>>2]|0;k=b;c=b+q[d+136>>2]|0;b=q[d+140>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;q[j>>2]=!(b|c)?e:e+c|0}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=f;q[a+12>>2]=g;ti=d+160|0}function vT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!b){break a}h=b-c|0;f=b-1|0;if(!f){c=0;while(1){d=c-h>>>31|0;o[a|0]=r[a|0]&(0-d|d)>>31;c=c+1|0;if((c|0)!=(b|0)){continue}break}break a}i=a+f|0;while(1){d=g-h>>>31|0;c=0;while(1){e=a+c|0;j=e;k=r[e|0];e=(d|0-d)>>31;c=c+1|0;o[j|0]=k&e|r[c+a|0]&(e^-1);if((c|0)!=(f|0)){continue}break}o[i|0]=r[i|0]&(d|0-d)>>31;g=g+1|0;if((g|0)!=(b|0)){continue}break}}}function d9(a){var b=0;b=Fi(Oi(200),0,200);q[b>>2]=JI(q[a>>2]);q[b+4>>2]=q[a+4>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=q[a+12>>2];q[b+16>>2]=q[a+16>>2];q[b+28>>2]=q[a+28>>2];q[b+32>>2]=q[a+32>>2];q[b+20>>2]=q[a+20>>2];q[b+24>>2]=q[a+24>>2];q[b+36>>2]=q[a+36>>2];if(!(o[b+52|0]&1)){a:{Ii(32,4,b+40|0,b+48|0,b+44|0);if(o[b+164|0]&1){break a}Ii(32,4,b+152|0,b+160|0,b+156|0);return b}}J(196110,195579,493,195316);G()}function Zv(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;axa(+a);d=Zwa(1)|0;Zwa(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=xt(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(pB(a,b)&3){case 0:c=xt(v[b>>3],v[b+8>>3]);break a;case 1:c=-vt(v[b>>3],v[b+8>>3],1);break a;case 2:c=-xt(v[b>>3],v[b+8>>3]);break a;default:break b}}c=vt(v[b>>3],v[b+8>>3],1)}a=c;ti=b+16|0;return a}function V_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Fi(a,0,b+1|0);a:{if(!b){break a}if(c){while(1){f=e+h|0;a=0;while(1){g=Dm(d,w(a,b)+e|0);o[f|0]=r[f|0]|g<>>0<=b>>>0){continue}break}}}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,g=0,h=0,i=0;g=1;e=r[b|0];if((d|0)==1){b=(r[c|0]+w(e,3)|0)+2>>>2|0;o[a|0]=b;o[a+1|0]=b;return a|0}e=r[c|0]+w(e,3)|0;f=e+2>>>2|0;o[a|0]=f;i=((d<<1)+a|0)-1|0;if((d|0)>=2){while(1){h=(g<<1)+a|0;f=r[c+g|0]+w(r[b+g|0],3)|0;o[h-1|0]=(f+w(e,3)|0)+8>>>4;o[h|0]=(w(f,3)+e|0)+8>>>4;e=f;g=g+1|0;if((g|0)!=(d|0)){continue}break}f=e+2>>>2|0}o[i|0]=f;return a|0}function Zha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=x(0),g=x(0),h=x(0),i=x(0);e=ti+ -64|0;ti=e;u[e+48>>2]=u[b>>2];u[e+52>>2]=u[b+4>>2];u[e+56>>2]=u[b+8>>2];u[e+32>>2]=u[c>>2];u[e+36>>2]=u[c+4>>2];u[e+40>>2]=u[c+8>>2];f=u[d>>2];u[e+16>>2]=f;g=u[d+4>>2];u[e+20>>2]=g;h=u[d+8>>2];u[e+24>>2]=h;i=u[d+12>>2];u[e+12>>2]=i;u[e+8>>2]=h;u[e+4>>2]=g;u[e>>2]=f;u[e+28>>2]=i;sG(a,e+48|0,e+32|0,e+16|0,e);ti=e- -64|0}function Wr(a,b){var c=0,d=0,e=0;c=q[a+4>>2];while(1){d=c;if(c){c=d-1|0;if(!q[q[a+8>>2]+(c<<2)>>2]){continue}}break}c=q[b+4>>2];while(1){e=c;if(c){c=e-1|0;if(!q[q[b+8>>2]+(c<<2)>>2]){continue}}break}if(!(d|e)){return 0}if(d>>>0>e>>>0){return 1}if(d>>>0>=e>>>0){while(1){if(!d){return 0}d=d-1|0;c=d<<2;e=q[c+q[a+8>>2]>>2];c=q[c+q[b+8>>2]>>2];if(e>>>0>c>>>0){return 1}if(c>>>0<=e>>>0){continue}break}}return-1}function P1(a,b){a=a|0;b=b|0;var c=0,d=0;d=q[a+8>>2]-q[a+12>>2]>>4;tn(a,125542,b);bj(a,-1e4,q[212864]);Hi(a,q[b+16>>2]);b=q[b+32>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=8;q[b>>2]=a;q[a+8>>2]=q[a+8>>2]+16;if(q[q[a+16>>2]+112>>2]==(a|0)){Ci(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}zk(a,3,0);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(124673,124351,1321,125544);G()}}function iQ(a,b,c){var d=0,e=0,f=0;a:{b:{d=q[q[a>>2]+144>>2];if(!d){break b}if(c>>>0<=3){break a}f=r[b+1|0]|r[b|0]<<8;if((f|0)!=(c-2|0)){break a}e=r[b+2|0];if((e|0)==(f-1|0)){c=q[d>>2];if(c){b=b+3|0;while(1){c:{if((Ui(c)|0)!=(e|0)){break c}if(pj(b,c,e)){break c}q[a+240>>2]=c;return 0}c=q[d+4>>2];d=d+4|0;if(c){continue}break}}break b}Ij(a,2,50);return-31104}Ij(a,2,40);return-31104}Ij(a,2,50);return-31104}function hma(a,b,c,d,e){q[b+20>>2]=e;q[b+16>>2]=d;q[b+12>>2]=c;d=q[b+24>>2];c=q[b+4>>2];if(!c){c=q[b>>2]}a:{b:{if(!(o[c+8|0]&1)){break b}if(d&1){Ai(4,35133,35193,0);break a}if(q[c>>2]){break b}e=b;d=0;c:{if(!a){break c}a=q[a>>2];if(!a){break c}d=q[a>>2]}a=cG(d,q[c+4>>2]);q[e+8>>2]=a;if(!a){break a}q[b+24>>2]=q[b+24>>2]|1;return 1}q[b+24>>2]=d|1;return 1}q[b+20>>2]=-2;q[b+12>>2]=-2;q[b+16>>2]=-2;return 0}function fta(a,b,c){var d=0;a:{b:{c:{d:{if(b>>>0<=c>>>0){if(q[a>>2]+q[a+4>>2]>>>0>>0|t[a>>2]>b>>>0){break d}if(q[a>>2]+q[a+4>>2]>>>0>>0|t[a>>2]>c>>>0){break c}d=b-q[a>>2]|0;if((d|0)<=-1){break b}b=c-b|0;if((b|0)<=-1){break a}eta(a,d,b);return}J(101637,101652,782,101696);G()}J(101702,101652,783,101696);G()}J(101739,101652,784,101696);G()}J(92163,101652,789,101696);G()}J(92163,101652,796,101696);G()}function So(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=q[a+32>>2];q[a+32>>2]=-1;f=Qk(a,2147450902,q[q[a+12>>2]+8>>2]);if((e|0)!=-1){if((f|0)==-1){return e}c=q[q[a>>2]+12>>2];b=f;while(1){d=b;g=(b<<2)+c|0;h=q[g>>2];b=(h>>>14|0)-131071|0;b=(b|0)==-1?-1:(d+b|0)+1|0;if((b|0)!=-1){continue}break}b=g;c=(d^-1)+e|0;d=c>>31;if((d^c+d)>=131072){Dj(q[a+12>>2],136537);h=q[g>>2]}q[b>>2]=(h&16383|c<<14)+2147467264}return f}function Bp(a){var b=0,c=0,d=0;d=q[a+36>>2];if(!d){return-28928}c=q[a+216>>2];a:{if(!c){break a}b=xi[d|0](q[a+48>>2],q[a+192>>2]-c|0,c)|0;if((b|0)<1){break a}while(1){c=q[a+216>>2];if(c>>>0>>0){return-27648}b=c-b|0;q[a+216>>2]=b;if(b){b=xi[q[a+36>>2]](q[a+48>>2],q[a+192>>2]-b|0,b)|0;if((b|0)>=1){continue}break a}break}b=q[a+184>>2];q[a+192>>2]=q[q[a>>2]+184>>2]&2?b:b+8|0;Dr(a,q[a+76>>2]);b=0}return b}function Fba(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}e=a+w(d,576)|0;if(s[e+554>>1]!=(b&65535)){break a}if((q[e+412>>2]&240)==80){a=a+w(d,576)|0;b=q[a+524>>2];q[c>>2]=q[a+520>>2];q[c+4>>2]=b;a=0}else{a=-10}return a}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Eq(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-32|0;ti=e;a:{if(c){f=Dl(a,b,c,0);break a}f=dj(a,b,0);if(f){break a}g=q[66952];f=e;c=Ei(a,b);h=135271;b:{if((c|0)==-1){break b}h=q[(c<<2)+267792>>2]}q[f+20>>2]=h;q[e+16>>2]=g;Qj(a,b,vj(a,137919,e+16|0));f=0}g=q[d>>2];c:{if(g){c=0;while(1){if(!nj(g,f)){break c}c=c+1|0;g=q[(c<<2)+d>>2];if(g){continue}break}}q[e>>2]=f;c=Qj(a,b,vj(a,137951,e))}ti=e+32|0;return c}function zda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(!(!(1<>>0>8)){if((b|0)==2097152|b>>>0>2097152){break b}c:{if(a+1>>>0<2){break c}b=a&65535;d=q[77547];if(b>>>0>=t[d+32>>2]){break a}e=q[q[d+24>>2]+(b<<2)>>2];if(!e){break c}f=s[q[d+28>>2]+(b<<1)>>1]==(a>>>16|0)?e:0}a=(Sm(c)<<3)+f|0;d=q[a+288>>2];e=q[a+292>>2]}wi=e;return d|0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function Uwa(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;d=f&31;if(f>>>0>=32){d=-1>>>d|0}else{e=-1>>>d|0;d=(1<>>d}f=d&a;d=b&e;e=g&31;if(g>>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-c|-1<>>0>=32){c=0;a=d>>>b|0}else{c=d>>>b|0;a=((1<>>b}a=a|g;wi=c|f;return a}function Q3(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=q[a+80>>2];e=q[f+4>>2];if(e){while(1){if(d>>>0>=e>>>0){break a}g=q[f>>2];h=g+(d<<6)|0;if((b|0)==q[h+48>>2]&q[h+52>>2]==(c|0)){q[a+168>>2]=b;q[a+172>>2]=c;q[a+160>>2]=(d<<6)+g;o[a+186|0]=r[a+186|0]|8;return 0}d=d+1|0;if(e>>>0>d>>>0){continue}break}}q[a+168>>2]=0;q[a+172>>2]=0;q[a+160>>2]=0;o[a+186|0]=r[a+186|0]&247;return 1}J(147195,147207,325,147227);G()}function Nq(a,b){var c=0;c=jj(a,64);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];u[c+16>>2]=u[b+16>>2];u[c+20>>2]=u[b+20>>2];u[c+24>>2]=u[b+24>>2];u[c+28>>2]=u[b+28>>2];u[c+32>>2]=u[b+32>>2];u[c+36>>2]=u[b+36>>2];u[c+40>>2]=u[b+40>>2];u[c+44>>2]=u[b+44>>2];u[c+48>>2]=u[b+48>>2];u[c+52>>2]=u[b+52>>2];u[c+56>>2]=u[b+56>>2];u[c+60>>2]=u[b+60>>2];Ki(a,-1e4,128736);ij(a,-2)}function Ita(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>>>0<=64){if(c){break a}wi=0;return 0}J(102946,92069,12130,102962);G()}e=q[b>>2];while(1){d=q[b>>2];f=r[(d>>>3|0)+a|0];h=d;d=c-i|0;g=e&7;e=8-g|0;j=(d|0)<(e|0)?d:e;e=h+j|0;q[b>>2]=e;g=(-1<>>g;d=i;f=d&31;if((d&63)>>>0>=32){d=g<>>32-f;h=g<>>0>>0){continue}break}wi=l;return k}function iia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-80|0;ti=b;e=Zi(b+24|0,a,0,68051,1213);d=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,d,67845,b+20|0,b+48|0,b+16|0);d=Mj(a,2);c=wi;f=c;My(a,3);if(!ml(q[b+16>>2],d,c,1)){q[b>>2]=Mi(d,f);g=Bi(a,70326,b)}Yi(e);ti=b+80|0;return g|0}function u7(a,b,c,d,e){var f=0,g=0,h=0;f=ti-16|0;ti=f;g=q[215612];wj(g);a:{h=q[215611];if(!h){q[f+8>>2]=32;q[f+12>>2]=10;if(KL(f+8|0)){break a}h=q[215611]}qj(g);q[a+104>>2]=h;g=-1;if(!sra(h,b,c,d,e,a+108|0,q[a>>2]+2128|0)){q[a+112>>2]=pra(q[a+104>>2],q[a+108>>2]);q[a+116>>2]=qra(q[a+104>>2],q[a+108>>2]);lF(q[a+112>>2],5e5,0);mF(q[a+112>>2],5e5,0);g=0}ti=f+16|0;return g}J(163039,163072,83,163100);G()}function roa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a+20>>2];c=q[a+4>>2];b=Oi(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=fL(q[a>>2],c,d,b,q[a+8>>2]);if(!c){q[q[a+24>>2]+8>>2]=b;cj(d);return c|0}e=q[a>>2];if(q[b+4>>2]){a=0;while(1){f=q[b>>2]+w(a,96)|0;Pi(e,q[f+24>>2]);Xl(q[f+88>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}ip(e,b+8|0);uA(b);yi(b);cj(d);return c|0}function _J(a){var b=0;b=q[a+4>>2];if(b){yi(b)}b=q[a+8>>2];if(b){yi(b)}b=q[a+12>>2];if(b){yi(b)}b=q[a+16>>2];if(b){yi(b)}b=q[a+20>>2];if(b){yi(b)}b=q[a+24>>2];if(b){yi(b)}b=q[a+28>>2];if(b){yi(b)}b=q[a+32>>2];if(b){yi(b)}b=q[a+36>>2];if(b){yi(b)}b=q[a+40>>2];if(b){yi(b)}b=q[a+44>>2];if(b){yi(b)}b=q[a+48>>2];if(b){yi(b)}b=q[a+52>>2];if(b){yi(b)}b=q[a+56>>2];if(b){yi(b)}b=q[a+60>>2];if(b){yi(b)}yi(a)}function Qfa(a){a=a|0;var b=0,c=0,d=0;b=Oi(44);q[b>>2]=0;q[b+4>>2]=0;q[b+40>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=vK(q[a>>2],q[a+20>>2],b,0);if(!c){d=q[a+24>>2];q[d+8>>2]=b;q[d+16>>2]=((q[a+16>>2]+q[b+16>>2]|0)-q[b+8>>2]|0)+44;return c|0}uv(q[a>>2],b);a:{if(o[b+20|0]&1){break a}a=q[b+8>>2];if(!a){break a}yi(a)}yi(b);return c|0}function py(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[q[242116]+16>>2];if(c){wj(c)}b=s[a+24>>1]-1|0;p[a+24>>1]=b;a:{b:{if(!(b&65535)){b=q[a+8>>2];if(b){yi(b)}b=q[242116];e=q[b+64>>2];if(!e){break b}d=s[b+70>>1];if(!d|s[b+68>>1]>>0){break a}f=s[a+16>>1];g=b;b=d-1|0;p[g+70>>1]=b;p[((b&65535)<<1)+e>>1]=f;p[a+16>>1]=65535}if(c){qj(c)}return 0}J(204946,204873,140,204977);G()}J(204982,204873,141,204977);G()}function fJ(a,b,c,d,e,f,g){var h=0,i=0;h=ti-16|0;ti=h;i=-4;if(q[a+152>>2]!=((q[a+144>>2]-q[a+136>>2]|0)/24|0)){q[h+4>>2]=e;q[h>>2]=d;q[h+8>>2]=f&65535|g<<16;LH(a+128|0,b,c,h);g=q[a+32>>2];f=q[a+36>>2]-g|0;a=(f|0)/576|0;if(f){i=a>>>0>1?a:1;a=0;while(1){f=g+w(a,576)|0;if(q[f+424>>2]==(b|0)&q[f+428>>2]==(c|0)){q[f+436>>2]=e;q[f+432>>2]=d}a=a+1|0;if((i|0)!=(a|0)){continue}break}}i=0}ti=h+16|0;return i}function _0(a){a=a|0;var b=0,c=x(0),d=0,e=x(0),f=x(0),g=0,h=x(0);d=ti-32|0;ti=d;b=Li(a,1,q[212904],0);c=u[b>>2];f=u[b+4>>2];a:{if(!(c!=c|f!=f)){e=u[b+8>>2];if(e==e){break a}}e=u[b+8>>2];v[d+16>>3]=f;v[d+24>>3]=e;v[d+8>>3]=c;q[d>>2]=1;Bi(a,128819,d)}g=Ri(a,2);c=u[b+8>>2];f=u[b>>2];e=u[b+4>>2];b=jj(a,16);h=c;c=x(g);u[b+8>>2]=h/c;u[b+4>>2]=e/c;u[b>>2]=f/c;Ki(a,-1e4,128688);ij(a,-2);ti=d+32|0;return 1}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;c=q[a+8>>2];l=q[a+4>>2];a:{while(1){d=c>>>0>=l>>>0;e=!f&(h|0)==10;if(d|!f&(h|0)==10){break a}e=c+1|0;q[a+8>>2]=e;i=r[c|0];d=i&127;g=Owa(h,f,7,0);c=g&31;if((g&63)>>>0>=32){g=d<>>32-c;c=d<>>0<1?f+1|0:f;h=c;c=e;if(i&128){continue}break}d=0;e=0}a=e|d;if(!a){q[b>>2]=j;q[b+4>>2]=k}return a^1}function fZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;e=1;d=Wi(a,1,0);b=Dl(a,2,140565,0);f=jj(a,4);q[f>>2]=0;Ki(a,-1e4,140233);ij(a,-2);b=il(d,b);q[f>>2]=b;if(!b){e=q[242957];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=al(e);a:{if(d){q[c+20>>2]=b;q[c+16>>2]=d;vj(a,140342,c+16|0);break a}q[c>>2]=b;vj(a,140349,c)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;e=3}ti=c+32|0;return e|0}function HN(a,b,c,d){var e=0,f=0,g=0;g=ti-16|0;ti=g;q[c>>2]=0;q[d>>2]=0;e=Rj(a,b,g+12|0,48);a:{if(e){f=e-9472|0;break a}if(q[a>>2]==(b|0)){break a}e=SD(a,b,c);b:{if(!e){break b}if((e|0)==-98){e=Aq(a,b,c)}if(e){f=e-9472|0;break a}if(!q[c>>2]){break b}q[c>>2]=1}if(q[a>>2]==(b|0)){break a}c=Aq(a,b,d);if(c){f=c-9472|0;break a}f=-9574;if(q[a>>2]!=(b|0)){break a}q[d>>2]=q[d>>2]+1;f=0}ti=g+16|0;return f}function zs(a,b,c){var d=0,e=0;d=ti-48|0;ti=d;a:{if((Ei(a,b)|0)==4){q[d+44>>2]=0;e=dj(a,b,d+44|0);a=q[d+44>>2];b=a>>>0<128;o[Gi(c,e,b?a:128)+(b?a:127)|0]=0;break a}if(mk(a,b,q[81777])){a=aj(a,b);b=Qs(q[a>>2],q[a+4>>2]);if(b){q[d+32>>2]=b;hj(c,128,120108,d+32|0);break a}b=q[a+4>>2];q[d+16>>2]=q[a>>2];q[d+20>>2]=b;hj(c,128,120111,d+16|0);break a}q[d>>2]=120116;hj(c,128,120108,d)}ti=d+48|0;return c}function oq(a){var b=0,c=0;b=ti-16|0;ti=b;axa(+a);c=Zwa(1)|0;Zwa(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=vt(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(pB(a,b)&3){case 0:a=vt(v[b>>3],v[b+8>>3],1);break a;case 1:a=xt(v[b>>3],v[b+8>>3]);break a;case 2:a=-vt(v[b>>3],v[b+8>>3],1);break a;default:break b}}a=-xt(v[b>>3],v[b+8>>3])}ti=b+16|0;return a}function F3(a){var b=0,c=0,d=0,e=0;b=q[a+12>>2];a:{if(!b){b=0;break a}e=q[a+4>>2];while(1){c=q[q[a+8>>2]+(d<<2)>>2];if((c|0)!=-1){while(1){b=q[a+16>>2]+(c<<5)|0;c=q[b+20>>2];if(c){Pi(e,c)}yi(q[b+8>>2]);yi(q[b+16>>2]);yi(q[b+24>>2]);c=q[b+28>>2];if((c|0)!=-1){continue}break}b=q[a+12>>2]}d=d+1|0;if(d>>>0>>0){continue}break}}Fi(q[a+8>>2],255,b<<2);q[a+28>>2]=-1;q[a+32>>2]=0;q[a+20>>2]=q[a+16>>2]}function Eha(a,b,c){var d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;f=Oi(32);d=f;q[d+24>>2]=0;q[d+28>>2]=0;q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;d=d+8|0;q[d>>2]=0;q[d+4>>2]=0;o[f+28|0]=3;q[f>>2]=zi(b);q[f+4>>2]=wi;a:{b:{if(Nu(a,b,e+12|0,e+8|0)){g=-3;a=54356;break b}a=Cj(q[e+12>>2],q[e+8>>2],q[60170],d);yi(q[e+12>>2]);if(!a){break a}g=-2;a=54397}q[e>>2]=b;Ai(4,54348,a,e)}q[c>>2]=f;ti=e+16|0;return g}function LY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;d=Wi(a,1,0);c=Oj(d,46);a:{if(!c){break a}Ni(a,d,c-d|0);f=1;c=gy(a,dj(a,-1,0),139328);if(!c){break a}e=Oj(d,45);q[b+32>>2]=Qo(a,e?e+1|0:d,139629,139729);vj(a,139731,b+32|0);Xk(a,-2);if((Ux(a,c)|0)!=2){e=dj(a,1,0);q[b+24>>2]=dj(a,-1,0);q[b+20>>2]=c;q[b+16>>2]=e;Bi(a,139683,b+16|0)}q[b+4>>2]=c;q[b>>2]=d;vj(a,139742,b)}ti=b+48|0;return f|0}function bva(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=r[b|0];o[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=q[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){q[a>>2]=c;c=q[b+4>>2];a=a+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=r[b|0];o[a|0]=c;if(!c){break a}while(1){c=r[b+1|0];o[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function po(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;if(b){if(q[c>>2]){e=c;while(1){f=f+1|0;g=q[e+8>>2];e=e+8|0;if(g){continue}break}}hu(a,-1e4,138006,1);Ki(a,-1,b);if((Ei(a,-1)|0)!=5){Ci(a,-2);if(hu(a,-10002,b,f)){q[d>>2]=b;Bi(a,138014,d)}Qi(a,-1);Di(a,-3,b)}Xk(a,-2);hk(a,-1)}if(q[c>>2]){while(1){ck(a,q[c+4>>2],0);Di(a,-2,q[c>>2]);b=q[c+8>>2];c=c+8|0;if(b){continue}break}}Ci(a,-1);ti=d+16|0}function kia(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-80|0;ti=b;e=Zi(b+24|0,a,0,68051,1152);d=q[q[Tj(a)+80>>2]+8>>2];q[b+20>>2]=0;q[b+16>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;wl(a,1,d,67845,b+20|0,b+48|0,b+16|0);d=Mj(a,2);c=wi;f=c;if(!ml(q[b+16>>2],d,c,1)){q[b>>2]=Mi(d,f);g=Bi(a,70326,b)}Yi(e);ti=b+80|0;return g|0}function Xia(a){a=a|0;var b=0,c=0,d=0;b=ti-96|0;ti=b;d=Zi(b+72|0,a,1,66167,369);Tj(a);c=b- -64|0;q[c>>2]=0;q[c+4>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;qk(a,1,b+40|0,b+8|0);q[b+4>>2]=0;UK(a,b+4|0);Hi(a,q[q[b+4>>2]+240>>2]);Yi(d);ti=b+96|0;return 1}function noa(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;q[d+12>>2]=0;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[60338],d+12|0)){b=q[d+12>>2];c=q[b+24>>2];a:{if(c){wA(q[b+12>>2],q[b+16>>2],q[b+20>>2],c);b=q[d+12>>2];break a}if(q[b+16>>2]){break a}c=q[b+32>>2];q[b+12>>2]=q[b+28>>2];q[b+16>>2]=c}c=Oi(4);q[c>>2]=b;e=q[a+24>>2];q[e+8>>2]=c;q[e+16>>2]=(q[a+16>>2]-q[b+4>>2]|0)+4;b=0}ti=d+16|0;return b|0}function vS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[b>>2];q[c+12>>2]=8;b=1;a:{if((Sn(d,1,13,c,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);b=2;break a}gj(a,0,0);d=q[c>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,131994);d=q[c+4>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,132025)}ti=c+16|0;return b|0}function Yqa(){var a=0,b=0,c=0;a=ti-32|0;ti=a;c=r[277316];o[277316]=1;q[a+16>>2]=420;b=FS(a+16|0);a:{if((b|0)!=-1){q[a+24>>2]=2;q[a+28>>2]=50376;if((ow(b,a+24|0,8)|0)==8){if((ow(b,865492,50376)|0)==50376){q[a>>2]=966256;Ai(2,203255,203261,a);or(b);break a}Ai(4,203255,203302,0);or(b);Hw(966256);break a}Ai(4,203255,203337,0);or(b);Hw(966256);break a}Ai(4,203255,203371,0)}o[277316]=c;ti=a+32|0}function sla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+80>>2];c=b+8|0;e=b+4|0;f=q[a+76>>2];a:{b:{d=q[b+4>>2];if((d|0)==q[b+8>>2]){if(o[b+12|0]&1){break b}Ii((d-q[b>>2]>>2)+16|0,4,b,c,e)}b=Oi(16);d=q[a>>2];p[b+8>>1]=65535;q[b+4>>2]=f;q[b>>2]=d;d=q[c>>2];c=q[e>>2];if((d|0)==(c|0)){break a}q[e>>2]=c+4;q[c>>2]=b;q[q[a+88>>2]>>2]=b;return 0}J(47261,47336,493,47392);G()}J(47404,47336,533,47428);G()}function rua(a,b,c){var d=0,e=0,f=0;e=ti-32|0;ti=e;d=e+8|0;q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;a:{if(!iw(d,b,c)){break a}b=a+28|0;if(!Go(d,b)|!q[b+4>>2]){break a}b=a- -64|0;if(!Go(d,b)|!q[b+4>>2]){break a}b=a+100|0;if(!Go(d,b)|!q[b+4>>2]){break a}b=a+136|0;if(!Go(d,b)|!q[b+4>>2]){break a}b=a;a=Hl(d,13);q[b+172>>2]=a;if(!a){break a}f=1}ti=e+32|0;return f}function pW(a,b,c,d,e,f,g){var h=0,i=0;h=q[d>>2];if(h>>>0<=15){a:{if(b){if(!c){break a}while(1){c=c-1|0;if(!h){qm(a,1,e,e)}b=e+h|0;i=r[f|0]^r[b|0];o[g|0]=i;o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}break a}if(!c){break a}while(1){c=c-1|0;if(!h){qm(a,1,e,e)}i=r[f|0];b=e+h|0;o[g|0]=i^r[b|0];o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}}q[d>>2]=h;a=0}else{a=-33}return a}function Vja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Oi(64);q[b+4>>2]=0;q[b+8>>2]=0;q[b+52>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;d=b+12|0;q[d>>2]=0;q[d+4>>2]=0;e=q[a>>2];q[b>>2]=q[e>>2];c=q[a+16>>2];f=q[e+4>>2];c=c>>>0>>0?c:f;q[b+56>>2]=c;q[b+60>>2]=q[e+8>>2];Ii(c,4,b+4|0,d,b+8|0);q[b+36>>2]=0;q[q[a+12>>2]>>2]=b;return 0}function Oma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){g=q[q[a>>2]>>2];a=0;while(1){f=(a<<7)+c|0;e=q[f+36>>2];if(e){if(o[f+58|0]&1){bt(e)}Pi(g,e);c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}a:{if(o[b+28|0]&1){break a}a=q[b+16>>2];if(!a){break a}yi(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}yi(a)}yi(b);return 0}function NK(a){var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;if(a){a:{b=q[a+29088>>2];c=q[a+29084>>2];d=b-c|0;if(!d){break a}if((b|0)!=(c|0)){d=d>>2;b=0;while(1){c=q[(b<<2)+c>>2];b:{if(r[c+3272|0]&2){lr(c);d=d-1|0;break b}b=b+1|0}if(b>>>0>=d>>>0){break a}c=q[a+29084>>2];if(q[a+29088>>2]-c>>2>>>0>b>>>0){continue}break}}J(12518,10061,479,9553);G()}ti=e+16|0;return}J(9014,7291,2800,9025);G()}function Ml(a,b,c,d){var e=0,f=0,g=0;a:{b:{if(c>>>0>32){break b}e=b;g=c&31;if((c&63)>>>0>=32){e=0}else{e=e>>>g|0}if(e|f){break b}e=q[d>>2];if(c){while(1){f=q[d>>2];g=(f>>>3|0)+a|0;o[g|0]=r[g|0]|b<<(f&7);e=8-(e&7)|0;f=c>>>0>e>>>0?e:c;e=f+q[d>>2]|0;q[d>>2]=e;b=b>>>f|0;c=c-f|0;if(c){continue}break}}if(e>>>0>=129){break a}return}J(102321,92069,11546,102368);G()}J(102387,92069,11555,102368);G()}function GS(a){var b=0;a:{if(!a){break a}b:{c:{switch(q[a+4>>2]-3|0){case 0:if(!pj(151573,q[a+8>>2],3)){b=274720;break a}if(!pj(151618,q[a+8>>2],3)){return 274740}if(!pj(151647,q[a+8>>2],3)){return 274760}if(pj(151688,q[a+8>>2],3)){break b}return 274780;case 6:break c;default:break a}}if(pj(151730,q[a+8>>2],9)){break a}return 274800}if(pj(151787,q[a+8>>2],3)){break a}return 274820}return b}function yta(a,b,c){var d=0,e=0;d=ti-224|0;ti=d;e=a;a=d+72|0;e=Dn(e,a,0,1);a:{if(!e){break a}if(q[a+104>>2]==8){p[b>>1]=r[(a+c|0)+112|0]|3328;a=r[101140]|r[101141]<<8|(r[101142]<<16|r[101143]<<24);o[b+2|0]=a;o[b+3|0]=a>>>8;o[b+4|0]=a>>>16;o[b+5|0]=a>>>24;a=r[101144]|r[101145]<<8;o[b+6|0]=a;o[b+7|0]=a>>>8;break a}Eo(a,d);if((c|0)==3){cw(a,d,b);break a}xi[735](b,c+d|0,4)}ti=d+224|0;return e}function qB(a,b,c){var d=0,e=0,f=0;f=q[c+16>>2];a:{if(f){d=f}else{if(LM(c)){break a}d=q[c+16>>2]}f=q[c+20>>2];if(d-f>>>0>>0){return xi[q[c+36>>2]](c,a,b)|0}b:{if(o[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(r[d+a|0]!=10){continue}break}d=xi[q[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=q[c+20>>2]}Gi(f,a,b);q[c+20>>2]=q[c+20>>2]+b;d=b+e|0}return d}function E6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,4,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(147560,147451,76,147391);G()}J(147403,147260,506,147422);G()}J(147316,147260,493,147391);G()}function CM(a){var b=0;jua(a+176|0);b=q[a+160>>2];if(b){yi(b)}b=q[a+148>>2];if(b){yi(b)}b=q[a+136>>2];if(b){yi(b)}b=q[a+124>>2];if(b){yi(b)}b=q[a+112>>2];if(b){yi(b)}b=q[a+100>>2];if(b){yi(b)}b=q[a+88>>2];if(b){yi(b)}b=q[a+76>>2];if(b){yi(b)}b=q[a+64>>2];if(b){yi(b)}b=q[a+52>>2];if(b){yi(b)}b=q[a+40>>2];if(b){yi(b)}b=q[a+28>>2];if(b){yi(b)}b=q[a+16>>2];if(b){yi(b)}a=q[a+4>>2];if(a){yi(a)}}function yoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20825,20833,138,20866);G()}return rk(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],115,116,0,117,118)|0}function kr(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;q[e+8>>2]=0;d=1;o[e+4|0]=1;q[e>>2]=a;if(c){while(1){g=0;d=0;while(1){f=(d<<3)+b|0;a:{if(!W6(q[f>>2],q[f+4>>2])){break a}if(r[a+3272|0]&8){yo(a)}if(!Up(q[f>>2],q[f+4>>2],29,e)){break a}o[a+3272|0]=r[a+3272|0]|8;g=1}d=d+1|0;if((d|0)!=(c|0)){continue}break}if(g){d=h>>>0<9;h=h+1|0;if(d){continue}}break}d=r[e+4|0]!=0}ti=e+16|0;return d}function Qqa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=q[a+8>>2];i=q[a+4>>2];a:{while(1){d=!g&(h|0)==10;e=c>>>0>=i>>>0;if(d|c>>>0>=i>>>0){break a}e=c+1|0;q[a+8>>2]=e;j=r[c|0];d=j&127;f=Owa(h,g,7,0);c=f&31;if((f&63)>>>0>=32){f=d<>>32-c;c=d<>>0<1?g+1|0:g;h=c;c=e;if(j&128){continue}break}q[b>>2]=k;q[b+4>>2]=l;d=0;e=0}return(e|d)^1}function Iea(a){a=a|0;var b=0,c=0,d=0;b=ti-96|0;ti=b;c=Zi(b+72|0,a,0,75991,580);d=Tj(a);q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;qk(a,1,b+32|0,b);a=q[61795];fk(b,b+32|0,q[a+8>>2],q[a+12>>2],d,a,b+71|0,1);Yi(c);ti=b+96|0;return 0}function Hk(a,b,c){var d=0,e=0,f=0,g=0;d=ti-80|0;ti=d;q[d+12>>2]=c;g=fu(a,b,c);b=q[a+20>>2];c=q[b+4>>2];if(!(q[c+8>>2]!=6|r[q[c>>2]+6|0])){e=b;b=q[a+24>>2];q[e+12>>2]=b;c=q[q[c>>2]+16>>2];b=b-q[c+12>>2]|0;e=-1;a:{if((b|0)<4){break a}f=q[c+20>>2];e=0;if(!f){break a}e=q[f+((b>>2)-1<<2)>>2]}b=e;Gk(d+16|0,q[c+32>>2]+16|0,60);q[d+8>>2]=g;q[d+4>>2]=b;q[d>>2]=d+16;_i(a,135524,d)}mE(a);ti=d+80|0}function Boa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(19659,19667,360,19704);G()}return rk(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],101,102,0,103,104)|0}function Aoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20361,20369,219,20406);G()}return rk(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],106,107,0,108,109)|0}function wba(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;j=i;q[j>>2]=0;q[j+4>>2]=0;q[j+8>>2]=0;q[j+12>>2]=0;l=-5;j=q[a+100>>2];a:{if(!j){break a}j=q[q[a+96>>2]+(Qwa(c,d,j)<<2)>>2];if((j|0)==-1){break a}m=q[a+104>>2];while(1){k=(j<<4)+m|0;if((c|0)!=q[k>>2]|q[k+4>>2]!=(d|0)){j=q[k+12>>2];if((j|0)!=-1){continue}break a}break}xi[q[q[a+12>>2]+16>>2]](q[((j<<4)+m|0)+8>>2],b,e,f,g,h,i);l=0}return l}function ipa(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;c=q[q[a+16>>2]>>2];a=q[a+12>>2];b=0;a:{if(!a){break a}b=q[a+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;bj(b,-1e4,q[c+12>>2]);jk(b);bj(b,-1e4,q[c+16>>2]);MK(q[c>>2],q[c+28>>2],b);Ci(b,-2);a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;jk(b);q[d+8>>2]=0;Ev(b,q[c>>2],6,c,d+8|0);if(q[b+8>>2]-q[b+12>>2]>>4!=(e|0)){J(12827,12848,743,13264);G()}ti=d+16|0}function eaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);c=ti-32|0;ti=c;b=yn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=kl(a,1);d=b+8|0;e=b+4|0}f=u[b>>2];g=u[e>>2];h=u[d>>2];b=kl(a,2);d=q[b+4>>2];e=q[b>>2];i=u[b+8>>2];Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);u[c+24>>2]=h;u[c+20>>2]=g;u[c+16>>2]=f;u[c+8>>2]=i;q[c>>2]=e;q[c+4>>2]=d;a=Qz(a,b,c+16|0,c,0,0,0);ti=c+32|0;return a|0}function caa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);c=ti-32|0;ti=c;b=yn(a,1);a:{if(b){d=b+8|0;e=b+4|0;break a}b=kl(a,1);d=b+8|0;e=b+4|0}f=u[b>>2];g=u[e>>2];h=u[d>>2];b=kl(a,2);d=q[b+4>>2];e=q[b>>2];i=u[b+8>>2];Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);u[c+24>>2]=h;u[c+20>>2]=g;u[c+16>>2]=f;u[c+8>>2]=i;q[c>>2]=e;q[c+4>>2]=d;a=Qz(a,b,c+16|0,c,2,0,0);ti=c+32|0;return a|0}function H6(a,b){var c=0;a:{b:{if((q[a+8>>2]-q[a>>2]|0)/240>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,240,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(49094,49127,76,48654);G()}J(49189,48598,506,49208);G()}J(48523,48598,493,48654);G()}function F0(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=ti-32|0;ti=b;e=q[aj(a,1)>>2];c=Xi(a,2);d=q[e>>2];a:{if(!((c|0)<1|(c|0)>(d|0))){f=u[(q[e+4>>2]+(c<<2)|0)-4>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}if((d|0)>=1){q[b+8>>2]=d;q[b+4>>2]=128672;q[b>>2]=128752;a=Bi(a,129294,b);break a}q[b+20>>2]=128672;q[b+16>>2]=128752;a=Bi(a,129341,b+16|0)}ti=b+32|0;return a|0}function $5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=a+2124|0;a:{b:{e=q[a+2124>>2];f=q[a+2128>>2];if((e|0)==(f|0)){if(o[a+2132|0]&1){break b}f=e;e=a+2120|0;a=a+2128|0;Ii(((f-q[e>>2]|0)/12|0)+16|0,12,e,a,g);f=q[a>>2];e=q[g>>2]}if((e|0)==(f|0)){break a}q[g>>2]=e+12;q[e+8>>2]=d&2147483647;q[e+4>>2]=c;q[e>>2]=b;return}J(110017,110092,493,110148);G()}J(110160,110092,533,110184);G()}function zoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{c=q[a+16>>2];b=q[c+4>>2];b:{if(!b){break b}e=q[a+8>>2];f=q[a+12>>2];b=q[q[c>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}J(20677,20685,158,20715);G()}return rk(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],0,111,0,112,113)|0}function qga(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+4>>2];e=q[q[a+32>>2]+8>>2];q[b+12>>2]=0;c=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[60338],b+12|0)){hr(q[b+12>>2]);a:{b:{if(!jp(q[a>>2],q[d+2008>>2],q[b+12>>2])){break b}if(!rG(q[d+2012>>2],q[b+12>>2],e)){break b}c=q[a+32>>2];d=q[a+24>>2];a=q[b+12>>2];q[c+16>>2]=d-q[a+4>>2];c=0;break a}a=q[b+12>>2];c=-13}cj(a)}ti=b+16|0;return c|0}function owa(){q[74029]=0;q[74030]=0;q[74028]=326936;q[74026]=0;q[74024]=1036;q[74023]=1024;q[74022]=0;q[74020]=0;q[74018]=0;q[74016]=0;q[74014]=1;q[74012]=0;q[74013]=3;q[74050]=326936;q[74048]=0;q[74046]=1052;q[74045]=1039;q[74044]=0;q[74042]=0;q[74040]=0;q[74038]=0;q[74036]=1;q[74034]=0;q[74035]=3;q[74031]=0;q[74032]=0;q[74033]=0;q[74055]=0;q[74053]=0;q[74054]=0;q[74051]=0;q[74052]=0}function n0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=-13;e=q[242116];f=q[e+16>>2];if(f){wj(f);e=q[242116]}d=q[e+80>>2];a:{if(!d){break a}d=q[q[e+76>>2]+(Qwa(a,b,d)<<2)>>2];if((d|0)==-1){break a}i=q[e+84>>2];while(1){g=(d<<4)+i|0;if((a|0)!=q[g>>2]|q[g+4>>2]!=(b|0)){d=q[g+12>>2];if((d|0)!=-1){continue}break a}break}u[c>>2]=u[(w(q[((d<<4)+i|0)+8>>2],1056)+e|0)+128>>2];h=0}if(f){qj(f)}return h}function kW(a,b,c,d,e,f,g){var h=0,i=0;h=q[d>>2];if(h>>>0<=15){a:{if(b){if(!c){break a}while(1){c=c-1|0;if(!h){ds(a,e,e)}b=e+h|0;i=r[f|0]^r[b|0];o[g|0]=i;o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}break a}if(!c){break a}while(1){c=c-1|0;if(!h){ds(a,e,e)}i=r[f|0];b=e+h|0;o[g|0]=i^r[b|0];o[b|0]=i;g=g+1|0;f=f+1|0;h=h+1&15;if(c){continue}break}}q[d>>2]=h;a=0}else{a=-36}return a}function ewa(){q[64471]=q[74622];q[74622]=257856;q[64545]=q[74622];q[74622]=258152;q[64573]=q[74622];q[74622]=258264;q[64601]=q[74622];q[74622]=258376;q[64623]=q[74622];q[74622]=258464;q[64665]=q[74622];q[74622]=258632;q[64687]=q[74622];q[74622]=258720;q[64707]=q[74622];q[74622]=258800;q[64755]=q[74622];q[74622]=258992;q[64799]=q[74622];q[74622]=259168;q[64813]=q[74622];q[74622]=259224}function Vva(){q[65575]=q[74622];q[74622]=262272;q[65595]=q[74622];q[74622]=262352;q[65619]=q[74622];q[74622]=262448;q[65649]=q[74622];q[74622]=262568;q[65677]=q[74622];q[74622]=262680;q[65699]=q[74622];q[74622]=262768;q[65723]=q[74622];q[74622]=262864;q[65741]=q[74622];q[74622]=262936;q[65769]=q[74622];q[74622]=263048;q[65791]=q[74622];q[74622]=263136;q[65805]=q[74622];q[74622]=263192}function Qja(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+24>>2]>>2];c=q[a+16>>2];d=q[a+20>>2];if((c|0)==q[76052]&(d|0)==q[76053]){return Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[76034],q[76035],b+148|0)|0}if((c|0)==q[76074]&(d|0)==q[76075]){return Gm(q[q[q[a+8>>2]+80>>2]>>2],a+32|0,q[76042],q[76043],b+152|0)|0}e=q[b+148>>2];if(!e){e=q[q[b+156>>2]+24>>2]}return gp(e,c,d,a+32|0,q[a+104>>2],216,b)|0}function Qj(a,b,c){var d=0,e=0;d=ti-160|0;ti=d;a:{if(!cl(a,0,d+56|0)){q[d+4>>2]=c;q[d>>2]=b;a=Bi(a,137826,d);break a}tn(a,137848,d+56|0);b:{if(nj(q[d+64>>2],137850)){break b}b=b-1|0;if(b){break b}q[d+16>>2]=q[d+60>>2];q[d+20>>2]=c;a=Bi(a,137857,d+16|0);break a}e=q[d+60>>2];if(!e){q[d+60>>2]=137887;e=137887}q[d+40>>2]=c;q[d+36>>2]=e;q[d+32>>2]=b;a=Bi(a,137889,d+32|0)}ti=d+160|0;return a}function Ewa(){q[61421]=q[74622];q[74622]=245656;q[61467]=q[74622];q[74622]=245840;q[77120]=1;q[77118]=-1472275375;q[77119]=1862278062;q[77117]=78640;q[77116]=1;q[77123]=0;o[308488]=0;q[77121]=q[77115];q[77123]=q[74622];q[74622]=308464;q[77130]=1;q[77128]=-278759638;q[77129]=-1695457758;q[77127]=78661;q[77126]=1;q[77133]=0;o[308528]=0;q[77131]=q[77125];q[77133]=q[74622];q[74622]=308504}function Dba(a,b,c){var d=0,e=0;a:{b:{d=c&65535;e=q[b+36>>2];b=q[b+32>>2];if(d>>>0<(e-b|0)/576>>>0){if(s[(b+w(d,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(d,576)|0;if(s[b+554>>1]!=(c&65535)){break a}u[a>>2]=u[b+112>>2];u[a+4>>2]=u[b+116>>2];u[a+8>>2]=u[b+120>>2];u[a+12>>2]=u[b+124>>2];return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Cia(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+92>>2];if(!b){break a}yi(b)}b:{if(o[a+76|0]&1){break b}b=q[a+64>>2];if(!b){break b}yi(b)}c:{if(o[a+60|0]&1){break c}b=q[a+48>>2];if(!b){break c}yi(b)}d:{if(o[a+44|0]&1){break d}b=q[a+32>>2];if(!b){break d}yi(b)}e:{if(o[a+28|0]&1){break e}b=q[a+16>>2];if(!b){break e}yi(b)}f:{if(o[a+12|0]&1){break f}a=q[a>>2];if(!a){break f}yi(a)}}function fwa(){q[77388]=0;q[77389]=0;q[77386]=0;q[77384]=82382;q[77383]=82368;q[77382]=0;q[77380]=0;q[77378]=0;q[77376]=0;q[77374]=0;q[77372]=0;q[77373]=0;q[77410]=309488;q[77408]=0;q[77406]=82406;q[77405]=82391;q[77404]=0;q[77402]=0;q[77400]=0;q[77398]=0;q[77396]=1;q[77394]=0;q[77395]=3;q[77390]=0;q[77391]=0;q[77392]=0;q[77393]=0;q[77415]=0;q[77413]=0;q[77414]=0;q[77411]=0;q[77412]=0}function WR(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;c=1;e=Wi(a,1,0);b=ji(e|0,Wi(a,2,0)|0)|0;if(b>>>0>=4294963201){q[242957]=0-b;b=-1}a:{if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d+4>>2]=al(b);q[d>>2]=e;vj(a,140765,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;c=3}ti=d+16|0;return c|0}function Vla(a){a=a|0;var b=0,c=0,d=0;d=q[a+80>>2];if(!d){return 0}b=a+80|0;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[b+20>>2];q[a+16>>2]=q[b+16>>2];q[a+20>>2]=c;c=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=c;c=q[b+36>>2];q[a+32>>2]=q[b+32>>2];q[a+36>>2]=c;q[a+80>>2]=Pba(q[q[a+112>>2]+8>>2],d);q[a+84>>2]=0;return q[a>>2]!=0|q[a+4>>2]!=0}function G1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-80|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;b=Fi(b,0,74);Gi(b,863404,74);gj(a,0,0);Ni(a,124480,7);Hi(a,b+16|0);tj(a,-3);Ni(a,124488,12);Hi(a,b+32|0);tj(a,-3);Ni(a,124501,8);e=r[b+73|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(124455,124351,752,124510);G()}ti=b+80|0;return 1}function dY(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;Ql(a,1);a:{if(gE(a,1,138874)){break a}b:{switch(Ei(a,1)|0){case 3:Hi(a,dj(a,1,0));break a;case 4:Qi(a,1);break a;case 1:Hi(a,Ej(a,1)?138885:138890);break a;case 0:Ni(a,138896,3);break a;default:break b}}c=Ei(a,1);d=135271;c:{if((c|0)==-1){break c}d=q[(c<<2)+267792>>2]}c=d;q[b+4>>2]=bu(a,1);q[b>>2]=c;vj(a,138900,b)}ti=b+16|0;return 1}function VE(a,b){var c=0;if(!q[b+100>>2]){return Tk(a,a,b+4|0)}a:{if(q[a>>2]<=-1){c=-20352;if(uj(a,0)){break a}}c=-20352;if(Al(a)>>>0>q[b+88>>2]<<1>>>0){break a}c=xi[q[b+100>>2]](a)|0;if(c){break a}b=b+4|0;while(1){b:{if(q[a>>2]>-1){break b}if(!uj(a,0)){break b}c=Bl(a,a,b);if(!c){continue}break a}break}while(1){c=0;if((Lj(a,b)|0)<0){break a}c=_m(a,a,b);if(!c){continue}break}}return c}function yQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=ti-224|0;ti=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}yq(d+136|0);uq(d+40|0);yx(d+136|0,q[a+68>>2]+596|0);vx(d+40|0,q[a+68>>2]+684|0);Yr(d+136|0,d);Rr(d+40|0,d+16|0);xi[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?176137:176121,d,36,b,12)|0;a=d+136|0;if(a){xi[q[68401]](a,0,88)|0}a=d+40|0;if(a){xi[q[68401]](a,0,92)|0}xi[q[68401]](d,0,36)|0;ti=d+224|0}function doa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;e=aj(a,1);d=q[e+4>>2];q[b+8>>2]=0;q[b+12>>2]=0;c=q[q[d+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}f=q[c+3216>>2];g=q[c+3220>>2]}q[b>>2]=f;q[b+4>>2]=g;c=q[d+100>>2];q[b+16>>2]=q[d+96>>2];q[b+20>>2]=c;d=q[q[d+84>>2]>>2]+w(s[e+24>>1],96)|0;c=q[d+4>>2];q[b+24>>2]=q[d>>2];q[b+28>>2]=c;Ul(a,b);ti=b+32|0;return 1}function NL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=QL(a);if(!(((d|32)-97>>>0<26?1:d-48>>>0<10)?0:(d|0)!=95)){c=c-1|0;c=(c|0)>0?c:0;while(1){o[b+e|0]=d;if((c|0)==(e|0)){break a}e=e+1|0;d=QL(a);if((d|0)==95|((d|32)-97>>>0<26?1:d-48>>>0<10)){continue}break}}b:{if(!(d&255)){break b}c=q[a+12>>2];if((c|0)<1){break b}c=c-1|0;q[a+12>>2]=c;o[c+q[a+8>>2]|0]=d}o[b+e|0]=0;return}mr(a,-2);G()}function G_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=ti-16|0;ti=e;h=a+4|0;i=q[a+88>>2]+7>>>3|0;q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;a:{b:{while(1){f=Kn(e,i,c,d);if(f){break b}while(1){if((Lj(e,h)|0)>=0){f=Wk(e,1);if(!f){continue}break b}break}if((g|0)==11){f=-19712;break a}g=g+1|0;if((uj(e,1)|0)<1){continue}break}f=Pj(a,b,b,e);if(f){break b}c=a;a=b+24|0;f=Pj(c,a,a,e)}Si(e)}ti=e+16|0;return f}function Dta(a,b,c,d){var e=0,f=0,g=0;f=ti-224|0;ti=f;e=f+72|0;g=Dn(a,e,0,1);a:{if(!g){break a}a=b+8|0;if(q[e+104>>2]==8){e=e+112|0;c=r[e+c|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=c;o[b|0]=c;o[b+6|0]=0;o[b+7|0]=0;b=r[d+e|0];o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+1|0]=b;o[a|0]=b;o[a+6|0]=0;o[a+7|0]=0;break a}Eo(e,f);fw(b,c+f|0);fw(a,d+f|0)}ti=f+224|0;return g}function Ar(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=r[a|0];a:{if(!d){break a}while(1){b:{c=c-1|0;if(!c){break b}e=r[b|0];if(!e){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=r[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=r[a|0];break a}b=b+1|0;d=r[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=r[b|0];return c-(a-65>>>0<26?a|32:a)|0}function voa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=q[a+20>>2];d=q[a+4>>2];q[b+12>>2]=0;d=gL(q[a>>2],d,c,q[a+8>>2],b+12|0);cj(c);if(!d){a=q[a+24>>2];c=q[b+12>>2];q[a+8>>2]=c;e=a;a=q[c>>2];q[e+16>>2]=((((((s[a+1056>>1]<<1)+q[a+3136>>2]|0)+q[a+3184>>2]-(q[a+3128>>2]+q[a+3176>>2])|0)+w(q[a+3160>>2]-q[a+3152>>2]>>4,12)|0)+q[a+1044>>2]|0)-q[a+1036>>2]|0)+3284}ti=b+16|0;return d|0}function uv(a,b){var c=0,d=0;c=q[b>>2];if(c){Pi(a,c)}c=q[b+24>>2];if(c){Pi(a,c)}a=q[b+4>>2];if(a){cj(a)}a:{d=q[b+12>>2];c=q[b+8>>2];a=d-c|0;if(!a){break a}if((c|0)!=(d|0)){c=c-d|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){a=a+1|0;if((c|0)==(a|0)){break a}if(q[b+12>>2]-q[b+8>>2]>>2>>>0>a>>>0){continue}break}}J(60458,60363,479,60277);G()}}function t_(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;c=rm(a,140233);b=q[c>>2];if(!b){Bi(a,140305,0);b=q[c>>2]}c=3;a:{if(!oR(b,q[(Eq(a,2,0,268576)<<2)+140452>>2],hm(a,3,1024))){c=1;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;break a}b=q[242957];d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;q[e>>2]=al(b);vj(a,140349,e);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0}q[a+8>>2]=q[a+8>>2]+16;ti=e+16|0;return c|0}function T6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>8>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,256,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(51858,51891,76,51953);G()}J(52096,52040,506,52115);G()}J(51965,52040,493,51953);G()}function K6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>4>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,16,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(45066,45099,76,44953);G()}J(44965,44897,506,44984);G()}J(44822,44897,493,44953);G()}function Fta(a,b){var c=0,d=0,e=0,f=0;c=ti-224|0;ti=c;d=a;a=c+72|0;e=Dn(d,a,0,1);a:{if(!e){break a}d=b+8|0;if(q[a+104>>2]==8){f=r[a+115|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=f;o[b|0]=f;o[b+6|0]=0;o[b+7|0]=0;ZA(d,r[a+112|0],r[a+113|0],r[a+114|0]);break a}Eo(a,c);fw(b,c|3);if(r[a+116|0]){vM(a,d);break a}if(r[a+117|0]){uM(a,c,d);break a}_A(d,c,0)}ti=c+224|0;return e}function vN(a,b){var c=0,d=0,e=0;a:{c=q[b>>2];d=q[a>>2];if((c|0)!=(d|0)){break a}e=q[a+4>>2];if((e|0)!=q[b+4>>2]){break a}if(pj(q[a+8>>2],q[b+8>>2],e)){break a}return 0}b:{c:{switch(d-12|0){case 0:case 7:break c;default:break b}}d:{switch(c-12|0){case 0:case 7:break d;default:break b}}c=q[a+4>>2];if((c|0)!=q[b+4>>2]){break b}if(nw(q[a+8>>2],q[b+8>>2],c)){break b}return 0}return-1}function up(a){var b=0,c=0,d=0;c=ti-16|0;ti=c;b=v[a+8>>3];d=v[a>>3];a:{if(!(d<0^1)){d=-1;if(b<0){break a}Z(c+8|0,0)|0;b=v[a+16>>3]+(b-(+q[c+12>>2]/1e6+ +q[c+8>>2]));d=b>0?b:0;break a}if(!(b<0^1)){Z(c+8|0,0)|0;b=v[a+16>>3]+(d-(+q[c+12>>2]/1e6+ +q[c+8>>2]));d=b>0?b:0;break a}Z(c+8|0,0)|0;d=v[a>>3];b=v[a+16>>3]+(b-(+q[c+12>>2]/1e6+ +q[c+8>>2]));b=b>0?b:0;d=b>d?d:b}ti=c+16|0;return d}function dF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=ti-16|0;ti=e;q[e+8>>2]=0;f=1;a:{switch(r[a+8|0]-1|0){default:J(205566,205568,72,205550);G();case 1:f=2;break;case 0:break a}}c=qP(q[a+12>>2],f,b,c>>>1|0);b=-3;b:{if((c|0)<0){break b}b=1;c:{switch(r[a+8|0]-1|0){default:J(205566,205568,83,205550);G();case 1:b=2;break;case 0:break c}}q[d>>2]=c<>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,4,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(41393,41426,76,40355);G()}J(40822,40669,506,40841);G()}J(41488,40669,493,40355);G()}function N6(a,b){var c=0;a:{b:{if(q[a+8>>2]-q[a>>2]>>2>>>0<=b>>>0){if(o[a+28|0]&1){break a}Ii(b,8,a+16|0,a+24|0,a+20|0);if(o[a+12|0]&1){break a}Ii(b,4,a,a+8|0,a+4|0);if(o[a+44|0]&1){break a}Ii(b,4,a+32|0,a+40|0,a+36|0);c=q[a+32>>2];if(q[a+40>>2]-c>>2>>>0>>0){break b}q[a+36>>2]=(b<<2)+c;return}J(47077,46839,76,46435);G()}J(46277,46296,506,46352);G()}J(46360,46296,493,46435);G()}function Cfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+16>>2];e=zi(55668);f=wi;a:{b=q[c+4>>2];b:{if(!b){break b}b=q[q[c>>2]+(Qwa(e,f,b)<<2)>>2];if((b|0)==-1){break b}c=q[c+8>>2];while(1){d=c+(b<<4)|0;if(q[d>>2]==(e|0)&(f|0)==q[d+4>>2]){break a}b=q[d+12>>2];if((b|0)!=-1){continue}break}}Ai(4,55518,55720,0);return-6}return rk(q[a>>2],q[a+4>>2],q[(c+(b<<4)|0)+8>>2],461,462,0,463,464)|0}function cZ(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Wi(a,1,0);Dl(a,2,140565,0);d=jj(a,4);q[d>>2]=0;Ki(a,-1e4,140233);ij(a,-2);Bi(a,140569,0);q[d>>2]=0;d=q[242957];e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;e=al(d);a:{if(c){q[b+20>>2]=e;q[b+16>>2]=c;vj(a,140342,b+16|0);break a}q[b>>2]=e;vj(a,140349,b)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;ti=b+32|0;return 3}function Xga(a){a=a|0;var b=0,c=0,d=0;b=Oi(12);q[b+4>>2]=0;q[b+8>>2]=0;d=q[a+20>>2];q[b>>2]=d;a:{c=q[a>>2];d=Nj(c,q[d+108>>2],b+4|0);if(d){break a}if(q[q[b+4>>2]+104>>2]){Ai(4,56225,56233,0);d=-15;break a}d=Nj(c,q[q[b>>2]+104>>2],b+8|0);if(d){break a}q[q[a+24>>2]+8>>2]=b;return 0}a=q[a>>2];c=q[b>>2];if(c){cj(c)}c=q[b+4>>2];if(c){Pi(a,c)}c=q[b+8>>2];if(c){Pi(a,c)}yi(b);return d|0}function Nk(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;a:{if(!c){break a}e=q[a>>2];while(1){b:{if(e){d=q[a+4>>2];break b}d=xi[q[a+8>>2]](q[a+16>>2],q[a+12>>2],f+12|0)|0;if(!d){g=c;break a}e=q[f+12>>2];if(!e){g=c;break a}q[a+4>>2]=d;q[a>>2]=e}h=d;d=c>>>0>e>>>0?e:c;b=Gi(b,h,d);e=q[a>>2]-d|0;q[a>>2]=e;q[a+4>>2]=d+q[a+4>>2];b=b+d|0;c=c-d|0;if(c){continue}break}}ti=f+16|0;return g}function Kba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break a}if(q[d+436>>2]==2){b=a+w(c,576)|0;a=q[b+464>>2];b=q[b+468>>2]}else{a=0;b=0}wi=b;return a}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function tT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;c=2;d=Ym(a,132299);e=Wi(a,2,0);f=Wi(a,3,0);q[b+28>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+8>>2]=1;g=q[d+8272>>2];q[b>>2]=1;q[b+4>>2]=g;d=_x(d,e,f,b);a:{if(d){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;Hi(a,d);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;c=1}ti=b+32|0;return c|0}function pn(a,b,c){var d=0,e=0,f=0;e=q[a+4>>2]<<2;a:{if(e>>>0>=c>>>0){if(c>>>0>=e>>>0){e=c;break a}f=q[a+8>>2];d=c;b:{while(1){if(q[(d&-4)+f>>2]>>>(d<<3&24)&255){break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}e=c;break a}return-8}b=(Fi(b,0,c-e|0)+c|0)-e|0}if(e){d=0;while(1){o[((d^-1)+e|0)+b|0]=q[q[a+8>>2]+(d&-4)>>2]>>>(d<<3&24);d=d+1|0;if((e|0)!=(d|0)){continue}break}}return 0}function nD(a,b,c){var d=0,e=0,f=0;e=q[a+4>>2]<<2;f=e;a:{b:{if(c>>>0>e>>>0){break b}f=c;if(c>>>0>=e>>>0){break b}f=q[a+8>>2];d=c;while(1){if(q[f+(d&-4)>>2]>>>(d<<3&24)&255){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}f=c}if(f){d=0;while(1){o[b+d|0]=q[q[a+8>>2]+(d&-4)>>2]>>>(d<<3&24);d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(c>>>0>e>>>0){Fi(b+e|0,0,c-e|0)}return 0}return-8}function h3(a){var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;Qi(a,-10002);ik(a,124714,263424);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,124718);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,124736);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,124763);Ci(a,-3);if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(124673,124351,1410,124784);G()}}function cr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=xi[q[77468]](a)|0;a:{if(b){d=q[b+4>>2];if(!d){break a}b:{while(1){f=q[b>>2];g=w(e,40);c=f+g|0;c:{if(q[c>>2]!=(h|0)){break c}if(!r[(f+g|0)+36|0]){i=c;break c}if(!(xi[q[77526]](a,1)|0)){break b}d=q[b+4>>2]}e=e+1|0;if(d>>>0>e>>>0){continue}break}c=i;if(!c){break a}}return c}J(83461,83473,259,83493);G()}J(83510,83473,282,83493);G()}function IN(a){var b=0,c=0,d=0,e=0;a:{b:{c:{e=q[a>>2];if(e>>>0>9999|t[a+12>>2]>23|(t[a+16>>2]>59|t[a+20>>2]>59)){break c}b=q[a+4>>2];if(b>>>0>12){break c}d=1<>>0)%100|0;if(!(e&3)){c=29;if(d){break a}}c=(b>>>0)%400|0?28:29;break a}return-9216}c=30}a=q[a+8>>2];return(a|0)<1?-9216:(c|0)<(a|0)?-9216:0}function Nm(a,b){var c=0,d=0,e=0,f=0,g=0;q[a+28>>2]=q[a+24>>2];a:{if((b|0)!=-1){c=q[a+32>>2];if((c|0)==-1){break a}g=q[q[a>>2]+12>>2];while(1){d=c;e=(c<<2)+g|0;f=q[e>>2];c=(f>>>14|0)-131071|0;c=(c|0)==-1?-1:(c+d|0)+1|0;if((c|0)!=-1){continue}break}c=e;d=(d^-1)+b|0;b=d>>31;if((b^b+d)>=131072){Dj(q[a+12>>2],136537);f=q[e>>2]}q[c>>2]=(f&16383|d<<14)+2147467264}return}q[a+32>>2]=b}function uca(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;a:{if(a){cc(q[(b<<2)+88208>>2],c|0,d|0);if(r[q[77547]+156|0]&64){e=K()|0;if(e){break a}}e=a;f=q[a+72>>2]&-29360129;g=q[a+76>>2]&-536862749;b=b&7;a=b<<2;h=b<<22;b=b>>>10|a;a=(c&255)<<21;q[e+72>>2]=f|h;q[e+76>>2]=a|b|(d&255)<<13|g;return}J(84221,84160,3521,88278);G()}Vi(e,88278,3523);J(84254,84160,3523,88278);G()}function raa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+28|0);e=RI(c,q[b+28>>2]);f=wi;g=Tz(c,q[b+28>>2]);Gl(b,c,q[b+28>>2],4);HI(a,c,e,f,g,u[b>>2],PI(c,q[b+28>>2]),Vz(c,q[b+28>>2]),Uz(c,q[b+28>>2]));if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2217,200922);G()}ti=b+32|0;return 1}function k8(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=ti-16|0;ti=h;a=q[b+24>>2];f=q[b+28>>2];a:{if((a|0)!=(f|0)){b=f-a|0;g=(b|0)>-1?b:-1;f=a-f|0;b=w((g|0)<1?g:1,((b|0)<(f|0)?f:b)>>>3|0);f=b>>>0>1?b:1;b=0;while(1){g=q[(b<<3)+a>>2];if(q[((b<<3)+a|0)+4>>2]==(c|0)){break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}g=-1}Lb(g|0,h+12|0)|0;zj(d,q[h+12>>2],e);ti=h+16|0}function SS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;c=2;d=Ym(a,132684);e=Wi(a,2,0);f=Wi(a,3,0);q[b+28>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+8>>2]=2;g=q[d+32>>2];q[b>>2]=1;q[b+4>>2]=g;d=_x(d,e,f,b);a:{if(d){e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;Hi(a,d);break a}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=1;q[a+8>>2]=q[a+8>>2]+16;c=1}ti=b+32|0;return c|0}function e7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=ti-32|0;ti=e;if(en(q[b>>2])){f=e+8|0;d=q[b>>2];c=0;a:{if(!d){break a}c=q[d>>2]}f=Zi(f,c,0,74700,62);b:{if(!Np(q[b>>2])){Ai(4,74793,75361,0);break b}Hi(c,q[b+12>>2]);d=q[c+8>>2];q[d+8>>2]=1;q[d>>2]=(a|0)!=0;q[c+8>>2]=q[c+8>>2]+16;Vl(c,3,0);Kq(q[b>>2]);Pm(q[b>>2]);Aj(c,-1e4,q[b+4>>2]);Aj(c,-1e4,q[b+8>>2]);yi(b)}Yi(f)}ti=e+32|0}function Yk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=a+12|0;b=q[a>>2]-e|0;a:{if(!b){break a}Ni(q[a+8>>2],e,b);q[a>>2]=e;b=q[a+4>>2];q[a+4>>2]=b+1;if((b|0)<1){break a}f=q[a+8>>2];g=Mk(f,-1);c=1;while(1){b:{b=c+1|0;d=c;h=Mk(f,c^-1);i=q[a+4>>2];c=h>>>0>>0|(i-c|0)>8;d=c?b:d;if(!c){break b}g=g+h|0;c=b;if((d|0)<(i|0)){continue}}break}Ol(f,d);q[a+4>>2]=(q[a+4>>2]-d|0)+1}return e}function OQ(a){var b=0,c=0,d=0,e=0,f=0;axa(.5);d=Zwa(1)|0;f=Zwa(0)|0;axa(+a);c=Zwa(1)|0;Zwa(0)|0;_wa(0,f|0);_wa(1,d&2147483647|c&-2147483648);e=+$wa();axa(+a);c=Zwa(1)|0;_wa(0,Zwa(0)|0);c=c&2147483647;_wa(1,c|0);b=+$wa();d=c;a:{if(c>>>0<=1082535489){b=ss(b);if(d>>>0<=1072693247){if(d>>>0<1045430272){break a}return e*(b+b-b*b/(b+1))}return e*(b+b/(b+1))}a=(e+e)*ZM(b)}return a}function Gpa(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+84>>2];if(b){yi(b)}b=q[a+76>>2];if(!b){break a}yi(b)}b:{if(o[a+72|0]&1){break b}b=q[a+52>>2];if(b){yi(b)}b=q[a+44>>2];if(!b){break b}yi(b)}c:{if(o[a+40|0]&1){break c}b=q[a+32>>2];if(!b){break c}yi(b)}d:{if(o[a+28|0]&1){break d}b=q[a+16>>2];if(!b){break d}yi(b)}e:{if(o[a+12|0]&1){break e}a=q[a>>2];if(!a){break e}yi(a)}}function DY(a){a=a|0;var b=0,c=0,d=0;b=q[(Eq(a,1,138435,268192)<<2)+138480>>2];c=cu(a,b,hm(a,2,0));a:{b:{switch(b-3|0){case 0:d=+(cu(a,4,0)|0)*.0009765625;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d+ +(c|0);break a;case 2:b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;break a;default:break b}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}q[a+8>>2]=q[a+8>>2]+16;return 1}function w4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;d=q[a+80>>2];a:{if(d){if((d|0)==q[60914]){e=q[a+100>>2];if(!e){break a}f=q[a+96>>2]+(a+96|0)|0;d=0;while(1){Gs(b,(r[(d<<3)+f|0]+a|0)+96|0,c+28|0);d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}a=q[d+4>>2];q[c+20>>2]=24737;q[c+16>>2]=a;Ai(4,24387,26491,c+16|0);break a}q[c>>2]=24737;Ai(4,24387,26534,c)}ti=c+32|0}function dpa(a,b){a=a|0;b=b|0;p[b+104>>1]=200;q[b+16>>2]=q[a+12>>2];q[b+100>>2]=q[b+100>>2]&-65537|65536;q[b+100>>2]=q[b+100>>2]&-131073|131072;q[b+20>>2]=38;q[b+24>>2]=39;q[b+28>>2]=40;q[b+32>>2]=41;q[b+36>>2]=42;q[b+40>>2]=43;q[b+44>>2]=44;q[b+52>>2]=45;q[b+56>>2]=46;q[b+68>>2]=47;q[b+72>>2]=48;q[b+76>>2]=49;q[b+80>>2]=50;q[b+84>>2]=51;q[b+88>>2]=52;q[b+96>>2]=53;return 0}function Qla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=ti-16|0;ti=e;b=q[q[a+12>>2]>>2];c=q[a+16>>2];d=q[c+64>>2];f=q[60261];c=q[c+68>>2];a:{if((d|0)==q[f+8>>2]&(c|0)==q[f+12>>2]){o[b+22|0]=r[b+22|0]|1;break a}f=d;d=q[60262];if((f|0)!=q[d+8>>2]|q[d+12>>2]!=(c|0)){break a}o[b+22|0]=r[b+22|0]&254}b=YI(q[b+8>>2],q[a+16>>2]);if(b){a=q[a+16>>2];q[e>>2]=b;Tm(a,38455,e)}ti=e+16|0;return 0}function Gva(){var a=0;a=zi(203842);q[242131]=1546;q[242129]=2;q[242130]=16;q[242128]=1547;q[242126]=2;q[242127]=8;q[242125]=1548;q[242123]=1;q[242124]=16;q[242122]=1549;q[242120]=1;q[242121]=8;q[242114]=a;q[242115]=wi;q[242143]=1550;q[242141]=2;q[242142]=16;q[242140]=1551;q[242138]=2;q[242139]=8;q[242137]=1552;q[242135]=1;q[242136]=16;q[242134]=1553;q[242132]=1;q[242133]=8}function $ma(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+24>>2]>>2];c=q[a+16>>2];d=q[a+20>>2];a:{b:{if((c|0)==q[75606]&(d|0)==q[75607]){u[b+12>>2]=v[a+40>>3];break b}if(q[75608]==(c|0)&q[75609]==(d|0)){u[b+16>>2]=v[a+40>>3];break b}if(q[75610]==(c|0)&q[75611]==(d|0)){u[b+20>>2]=v[a+40>>3];break b}e=-1;if((c|0)!=q[75612]|(d|0)!=q[75613]){break a}u[b+24>>2]=v[a+40>>3]}e=0}return e|0}function qH(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=q[a+48>>2];wj(d);f=zi(b);g=wi;b=q[a+20>>2];if(!b){qj(d);return 2}h=2;b=q[q[a+16>>2]+(Qwa(f,g,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){e=a+w(b,136)|0;if((f|0)!=q[e>>2]|q[e+4>>2]!=(g|0)){b=q[e+128>>2];if((b|0)!=-1){continue}break a}break}a=a+w(b,136)|0;if(!r[a+8|0]){qj(d);return-4}zj(c,a+8|0,64);h=0}qj(d);return h}function kZ(a){a=a|0;var b=0,c=0,d=0;c=ti-32|0;ti=c;bj(a,-10001,2);b=q[aj(a,-1)>>2];if(!b){q[c+16>>2]=140518;Bi(a,140538,c+16|0)}a:{if(!ro(b)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[242957];d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;q[c>>2]=al(b);vj(a,140349,c);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}ti=c+32|0;return a|0}function jsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a;e=a;if((Ei(a,1)|0)==8){c=1;f=sn(a,1)}b=e;e=c+1|0;a:{if((Ei(b,e)|0)<=0){Ci(a,e);c=0;b=0;break a}b=Wi(a,c|2,0);mj(a,e,6);c=hm(a,c+3|0,0);d=(Oj(b,99)|0)!=0;d=Oj(b,114)?d|2:d;b=Oj(b,108)?d|4:d;d=(c|0)>0?b|8:b;b=1184}JE(a);g=q[a+8>>2];q[g+8>>2]=2;q[g>>2]=f;q[a+8>>2]=q[a+8>>2]+16;Qi(a,e);tj(a,-3);Ci(a,-2);ZD(f,b,d,c);return 0}function R3(a,b){var c=0,d=x(0),e=0,f=0;f=o[a+186|0]&1;c=(f<<5)+a|0;e=q[c>>2];if(e){d=u[e+8>>2];b=x(d*b);a:{if(q[c+24>>2]!=6){break a}c=(f<<5)+a|0;e=r[c+28|0];if(!(e&2)){break a}o[c+28|0]=e&253}b:{if(x(y(b))>d^1){break b}b=uu(b,d);if(x(y(b))>2]=r[a+28|0]&2?x(d-b):b}return 0}function J4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if(c>>4==q[a+8>>2]-q[a+12>>2]>>4){a:{if(!Bj(a,1)){q[b>>2]=110485;a=Bi(a,111397,b);break a}f=Sq(a,q[q[d+304>>2]+2384>>2]),g=wi,h=Xi(a,2),i=Xi(a,3),e=q[77499],xi[e](f|0,g|0,h|0,i|0);a=0}ti=b+16|0;return a|0}J(110492,110389,475,114319);G()}function Bba(a,b){var c=0,d=0;a:{b:{c:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break c}d=a+w(c,576)|0;if(s[d+554>>1]!=(b&65535)){break b}if(q[d+436>>2]==2){break a}return 0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}a=a+w(c,576)|0;return q[a+452>>2]?a+440|0:0}function qla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b=q[a+8>>2];c=q[b+4>>2];d=q[b>>2];if((c|0)==(d|0)){break a}e=q[q[a+16>>2]>>2];g=c-d>>2;a=0;while(1){f=(a<<2)+d|0;if(q[f>>2]!=(e|0)){a=a+1|0;if(g>>>0>a>>>0){continue}break a}break}q[f>>2]=q[c-4>>2];a=q[b+4>>2]-4|0;q[b+4>>2]=a;if(a>>>0>=t[b>>2]){if(e){yi(e)}return 0}J(47443,47336,516,47433);G()}J(47110,47116,92,47157);G()}function bm(a,b){var c=0,d=0,e=0;while(1){c=q[215701];q[215701]=c?c:1;if(c){continue}break}e=q[215700];d=q[e+4>>2];c=0;a:{if(!d){break a}d=q[q[e>>2]+(Qwa(a,b,d)<<2)>>2];c=0;if((d|0)==-1){break a}c=q[e+8>>2];b:{while(1){e=c+(d<<6)|0;if((a|0)==q[e>>2]&q[e+4>>2]==(b|0)){break b}d=q[e+56>>2];if((d|0)!=-1){continue}break}c=0;break a}c=q[(c+(d<<6)|0)+32>>2]}q[215701]=0;return c}function apa(a){var b=0,c=0,d=0;a:{d=q[a+29088>>2];c=q[a+29084>>2];b=d-c|0;if(!b){break a}if((c|0)!=(d|0)){d=c-d|0;d=((b|0)<(d|0)?d:b)>>>2|0;b=(b|0)>-1?b:-1;b=w(d,(b|0)<1?b:1);d=b>>>0>1?b:1;b=0;while(1){c=q[c>>2];Pv(c);lr(c);b=b+1|0;if((d|0)==(b|0)){c=q[a+29084>>2];break a}c=q[a+29084>>2];if((c|0)!=q[a+29088>>2]){continue}break}}J(12518,10061,479,9553);G()}q[a+29088>>2]=c}function GO(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=b;c=A(B(Ri(a,1),0),2147483647);a:{if(y(c)<2147483648){a=~~c;break a}a=-2147483648}q[d+8>>2]=a;d=b;c=(c- +(a|0))*1e9;b:{if(y(c)<2147483648){a=~~c;break b}a=-2147483648}q[d+12>>2]=(a|0)<999999999?a:999999999;if(ix(b+8|0)){while(1){a=q[b+4>>2];q[b+8>>2]=q[b>>2];q[b+12>>2]=a;if(ix(b+8|0)){continue}break}}ti=b+16|0;return 0}function zqa(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{f=q[c+8>>2];if(f){d=q[b>>2];e=r[d+24|0];if(!e){break a}g=q[d+20>>2];d=0;break b}J(23310,23110,184,23342);G()}while(1){if((w(d,24)+g|0)!=(c|0)){d=d+1|0;if(e>>>0>d>>>0){continue}break a}break}d=q[f+16>>2];e=q[b+4>>2];c=q[c+12>>2];o[a+12|0]=r[b+12|0];q[a>>2]=f;b=c+e|0;q[a+4>>2]=b;q[a+8>>2]=b+d;return}J(23353,23110,196,23342);G()}function YV(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;a:{b:{c:{m=q[a>>2];switch(q[m+4>>2]-6|0){case 2:break b;case 0:break c;default:break a}}q[i>>2]=g;return sD(q[a+60>>2],1,g,b,c,d,e,f,h,k,j)}q[i>>2]=g;return hW(q[a+60>>2],g,b,c,d,e,f,h,j,k)}l=-24704;d:{if(q[m>>2]!=73){break d}l=-24832;if((k|0)!=16|q[m+16>>2]!=(c|0)){break d}q[i>>2]=g;l=fM(q[a+60>>2],0,g,b,d,e,f,h,j)}return l}function Jy(a){var b=0,c=0,d=0,e=0;if(a){b=q[a>>2];c=q[b+104>>2];d=q[b+108>>2];if((c|0)!=(d|0)){while(1){e=q[q[c>>2]+16>>2];if(e){xi[e|0](a);d=q[b+108>>2]}c=c+4|0;if((d|0)!=(c|0)){continue}break}b=q[a>>2]}c=q[a+4>>2];if((c|0)!=-2){d=q[b+120>>2];b=q[81758];if((b|0)<=0){Ai(4,117469,117938,0);b=q[81758]}q[81758]=b-1;oo(d,-1e4,c)}yi(a);return}J(117885,117392,1104,117920);G()}function HQ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=ti-16|0;ti=f;while(1){h=f;g=up(d);a:{if(y(g)<2147483648){e=~~g;break a}e=-2147483648}q[h+8>>2]=e;h=f;i=(g- +(e|0))*1e6;b:{if(y(i)<2147483648){e=~~i;break b}e=-2147483648}q[h+12>>2]=e;e=oi(a|0,b|0,c|0,0,(g>=0?f+8|0:0)|0)|0;if(e>>>0>=4294963201){q[242957]=0-e;e=-1}if(q[242957]==27?(e|0)<=-1:0){continue}break}ti=f+16|0;return e}function CZ(a,b){a=a|0;b=b|0;var c=0;c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=141945;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-1e4);c=q[a+8>>2];q[c+8>>2]=2;q[c>>2]=a;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-2);if((Ei(a,-1)|0)==6){Hi(a,q[(q[b>>2]<<2)+269216>>2]);b=q[b+20>>2];a:{if((b|0)>=0){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}zk(a,2,0)}}function qI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}b=q[a+420>>2];if(b){yi(b)}if(!c){q[a+420>>2]=0;return}q[a+420>>2]=Jk(c);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function eca(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;d=-4;if(q[a+220>>2]!=q[a+212>>2]-q[a+204>>2]>>4){b=zi(b);d=wi;h=d;q[e+12>>2]=c;GH(a+196|0,b,d,e+12|0);d=q[a+32>>2];f=q[a+36>>2]-d|0;a=(f|0)/576|0;if(f){f=a>>>0>1?a:1;a=0;while(1){g=d+w(a,576)|0;if((b|0)==q[g+520>>2]&q[g+524>>2]==(h|0)){q[g+528>>2]=c}a=a+1|0;if((f|0)!=(a|0)){continue}break}}d=0}ti=e+16|0;return d}function aT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-8208|0;ti=b;d=pl(a,132701);e=Pn(a,2,8192);f=d+8|0;Hn(f);a:{b:{c:{g=b+16|0;if(e<4294967296&e>=0){c=~~e>>>0}else{c=0}d=DC(d,g,c>>>0<8192?c:8192,b+12|0,f);switch(d+2|0){case 0:case 2:break b;default:break c}}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,Yl(d));a=2;break a}Ni(a,b+16|0,q[b+12>>2]);a=1}ti=b+8208|0;return a|0}function _l(a){var b=0,c=0,d=0,e=0;b=q[a+16>>2];q[b+76>>2]=q[b+76>>2]+(q[b+68>>2]-q[b+64>>2]|0);c=w(q[b+84>>2],10);c=c?c:2147483646;while(1){a:{e=Xw(a);d=r[b+21|0];if(!d){break a}c=c-e|0;if((c|0)>0){continue}}break}if(d){a=q[b+76>>2];if(a>>>0<=1023){q[b+64>>2]=q[b+68>>2]+1024;return}q[b+76>>2]=a-1024;q[b+64>>2]=q[b+68>>2];return}q[b+64>>2]=w(q[b+80>>2],t[b+72>>2]/100|0)}function xga(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+4>>2];e=q[q[a+32>>2]+8>>2];q[b+12>>2]=0;c=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[60338],b+12|0)){hr(q[b+12>>2]);a:{b:{if(!jp(q[a>>2],q[d+4>>2],q[b+12>>2])){break b}if(lI(e,q[b+12>>2])){break b}c=q[a+32>>2];d=q[a+24>>2];a=q[b+12>>2];q[c+16>>2]=d-q[a+4>>2];c=0;break a}a=q[b+12>>2];c=-13}cj(a)}ti=b+16|0;return c|0}function vqa(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-16|0;ti=c;a:{if(!b){o[c+11|0]=0;h=xi[q[a>>2]](q[a+4>>2],c+11|0,1)|0;break a}d=Ui(b);g=d;if(d>>>0>=128){e=d;while(1){o[(c+11|0)+f|0]=e|128;f=f+1|0;i=e>>>0>16383;g=e>>>7|0;e=g;if(i){continue}break}}o[(c+11|0)+f|0]=g;if(!(xi[q[a>>2]](q[a+4>>2],c+11|0,f+1|0)|0)){break a}h=xi[q[a>>2]](q[a+4>>2],b,d)|0}ti=c+16|0;return h}function vda(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(b>>>0<2097152){d=a;e=0;b:{if(d+1>>>0<2){break b}f=d&65535;g=q[77547];if(f>>>0>=t[g+32>>2]){break a}h=q[q[g+24>>2]+(f<<2)>>2];e=0;if(!h){break b}e=s[q[g+28>>2]+(f<<1)>>1]==(d>>>16|0)?h:0}d=e;q[c>>2]=0;if(!(a|b)){return-2}q[c>>2]=q[d+4>>2];return 0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function o3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;ks(a,119989);q[81777]=wF(a,119989);po(a,0,263232);Hi(a,120126);ck(a,807,0);$i(a,-3);Hi(a,120131);ck(a,808,0);$i(a,-3);Hi(a,120142);ck(a,809,0);$i(a,-3);ck(a,810,0);Di(a,-10002,119989);ck(a,811,0);Di(a,-10002,120151);ck(a,812,0);Di(a,-10002,120163);Ci(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(120051,120019,381,120171);G()}}function _s(a){var b=0,c=0,d=0;c=ti-16|0;ti=c;a:{if(!a){break a}d=q[a>>2];if(!d){break a}b=q[d>>2]}b:{if(!Fl(b,5933,c+12|0)){b=0;c:{if(!a){break c}d=q[a>>2];if(!d){break c}b=q[d+4>>2]}if(!Ov(b,q[c+12>>2],c+8|0)){break b}ti=c+16|0;b=q[c+8>>2];a=q[a>>2];if(b>>>0>2]>>2]){a=q[(a+(b<<2)|0)+12>>2]}else{a=0}return a}J(5939,5971,395,6003);G()}J(6012,5971,398,6003);G()}function FL(a,b,c){var d=0,e=0,f=0;while(1){d=b;b=q[((e&3)<<2)+c>>2];b=d+((b<<8&16711680|b<<24|(b>>>8&65280|b>>>24))+e^(a<<4^a>>>5)+a)|0;e=e-1640531527|0;d=q[(e>>>9&12)+c>>2];a=((b<<4^b>>>5)+b^(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+e)+a|0;f=f+1|0;if((f|0)!=32){continue}break}wi=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);return b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}function nga(a){a=a|0;var b=0,c=0,d=0;d=ti-16|0;ti=d;b=-2;if(!Cj(q[a+12>>2],q[a+16>>2],273488,d+12|0)){b=q[d+12>>2];c=q[b+12>>2];if(r[c|0]){nk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b>>2];if(r[c|0]){nk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b+4>>2];if(r[c|0]){nk(q[a+20>>2],c);b=q[d+12>>2]}c=q[b+8>>2];if(r[c|0]){nk(q[a+20>>2],c);b=q[d+12>>2]}q[q[a+24>>2]>>2]=b;b=0}ti=d+16|0;return b|0}function wo(a,b){var c=0,d=0,e=0;if(!(a|b)){return 0}while(1){d=q[215701];q[215701]=d?d:1;if(d){continue}break}d=0;e=q[215700];c=q[e+4>>2];a:{if(!c){break a}c=q[q[e>>2]+(Qwa(a,b,c)<<2)>>2];if((c|0)==-1){break a}e=q[e+8>>2];while(1){c=c<<6;d=c+e|0;if((a|0)==q[d>>2]&q[d+4>>2]==(b|0)){break a}c=q[(c+e|0)+56>>2];if((c|0)!=-1){continue}break}d=0}q[215701]=0;return(d|0)!=0}function q4(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=ti-16|0;ti=a;q[b+7400>>2]=c;a:{b:{if(Em(d,26324)){break b}c=lq(e,0);q[b+7392>>2]=c;if((c|0)<=-1){q[a>>2]=c;Ai(4,24387,26339,a);break b}d=q[b+7372>>2];e=q[d>>2];if(c>>>0>q[d+8>>2]-e>>>0){if(o[d+12|0]&1){break a}Ii(c,1,d,d+8|0,d+4|0);d=q[b+7372>>2];e=q[d>>2]}q[d+4>>2]=e}ti=a+16|0;return}J(26943,26397,493,27018);G()}function Zva(){q[62785]=q[74622];q[74622]=251112;q[62819]=q[74622];q[74622]=251248;q[62833]=q[74622];q[74622]=251304;q[62855]=q[74622];q[74622]=251392;q[62897]=q[74622];q[74622]=251560;q[77262]=1;q[77260]=-166866304;q[77261]=916817987;q[77259]=80500;q[77258]=1;q[77265]=0;o[309056]=0;q[77263]=q[77256];q[77265]=q[74622];q[74622]=309032;q[62919]=q[74622];q[74622]=251648}function WL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;Gp(a,c);Gp(b+128|0,c+8|0);c=0;while(1){d=c<<2;f=d+b|0;q[f>>2]=q[(30-c<<2)+a>>2];g=d|4;h=g+b|0;q[h>>2]=q[(31-c<<2)+a>>2];e=a+d|0;q[e+128>>2]=q[(62-c<<2)+b>>2];q[e+132>>2]=q[(63-c<<2)+b>>2];i=d+256|0;q[i+a>>2]=q[e>>2];d=d+260|0;q[d+a>>2]=q[a+g>>2];q[b+i>>2]=q[f>>2];q[b+d>>2]=q[h>>2];d=c>>>0<30;c=c+2|0;if(d){continue}break}}function MI(a,b,c){var d=0,e=0;a:{b:{d=c&65535;e=q[b+36>>2];b=q[b+32>>2];if(d>>>0<(e-b|0)/576>>>0){if(s[(b+w(d,576)|0)+552>>1]!=(c>>>16|0)){break b}b=b+w(d,576)|0;if(s[b+554>>1]!=(c&65535)){break a}c=q[b+68>>2];d=q[b+64>>2];u[a+8>>2]=u[b+72>>2];q[a>>2]=d;q[a+4>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function xV(a,b,c,d,e,f){var g=0,h=0,i=0;g=ti-48|0;ti=g;h=-20096;if(q[a+48>>2]){i=q[a+60>>2]?1:2}else{i=0}if((i|0)==1){q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;h=uD(a,g+8|0,c,d);a:{if(h){break a}h=uD(a,b,e,f);if(h){break a}h=my(a,b,g+8|0,b);if(h){break a}h=jy(a,b)}Zl(g+8|0)}ti=g+48|0;return h}function JD(a,b,c,d){var e=0,f=0;e=-84;f=q[a+224>>2];a:{if(f-1>>>0>1){break a}if((f|0)==1){q[a+224>>2]=2;e=eM(a);if(e){break a}}e=q[a+220>>2];f=q[a+216>>2]+b|0;q[a+216>>2]=f;q[a+220>>2]=b>>>0>f>>>0?e+1|0:e;b:{if(!q[a+228>>2]){e=$t(a,b,c,d);if(e){break a}e=vq(a+132|0,d,b);if(!e){break b}break a}e=vq(a+132|0,c,b);if(e){break a}e=$t(a,b,c,d);if(e){break a}}e=0}return e}function Iu(a){var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;a:{b:{if(a){b=a?q[a>>2]:0;if(!b){break b}b=q[b+120>>2];if(!b){break a}e=Zi(c+8|0,b,0,127536,417);f=q[212888];d=q[b+8>>2];q[d+8>>2]=3;v[d>>3]=f|0;q[b+8>>2]=q[b+8>>2]+16;x3(a);a=aj(b,-1);Ci(b,-2);Yi(e);ti=c+32|0;return a}J(127671,127536,412,128157);G()}J(127711,127536,414,128157);G()}J(127726,127536,416,128157);G()}function Fx(a,b){var c=0,d=0;c=-24832;d=q[a>>2];a:{if(!d|q[d+4>>2]!=2){break a}c=-24704;b:{switch(b|0){case 0:q[a+16>>2]=1344;q[a+12>>2]=1345;return 0;case 1:q[a+16>>2]=1346;q[a+12>>2]=1347;return 0;case 2:q[a+16>>2]=1348;q[a+12>>2]=1349;return 0;case 3:q[a+16>>2]=1350;q[a+12>>2]=1351;return 0;case 4:break b;default:break a}}c=0;q[a+12>>2]=0;q[a+16>>2]=1352}return c}function FX(a,b,c){var d=0,e=0,f=0;a:{d=q[a+24>>2];if((d|0)<=q[a+28>>2]){break a}b:{if(!d){if(r[a+50|0]<=(b|0)){break b}break a}e=(q[q[a>>2]+12>>2]+(d<<2)|0)-4|0;d=q[e>>2];if((d&63)!=3|(d>>>6&255)>(b|0)){break a}f=d>>>23|0;if((f+1|0)<(b|0)){break a}a=(b+c|0)-1|0;if((a|0)<=(f|0)){break b}q[e>>2]=d&8388607|a<<23}return}Qk(a,(b+c<<23)-8388608|b<<6|3,q[q[a+12>>2]+8>>2])}function z8(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}Gi(a+160|0,a,160);q[a+400>>2]=q[a+412>>2];q[a+404>>2]=q[a+404>>2]|1;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function xq(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+24|0;Gi(g+d|0,b,f);as(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){as(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}Gi((a+e|0)+24|0,b,c)}return 0}function tq(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+28|0;Gi(g+d|0,b,f);$r(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){$r(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}Gi((a+e|0)+28|0,b,c)}return 0}function Rt(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=q[a>>2];e=d+c|0;q[a>>2]=e;if(d>>>0>e>>>0){q[a+4>>2]=q[a+4>>2]+1}e=0;d=d&63;b:{if(!d){break b}f=64-d|0;if(f>>>0>c>>>0){e=d;break b}g=d;d=a+40|0;Gi(g+d|0,b,f);_r(a,d);c=c-f|0;b=b+f|0}if(c>>>0>=64){while(1){_r(a,b);b=b- -64|0;c=c+ -64|0;if(c>>>0>63){continue}break}}if(!c){break a}Gi((a+e|0)+40|0,b,c)}return 0}function Bk(a,b,c){var d=0,e=0,f=0,g=0;e=a;a:{if(!c|!r[e|0]){break a}d=c;f=a;while(1){e=f+1|0;d=d-1|0;if(!d){break a}g=r[f+1|0];f=e;if(g){continue}break}}b:{c:{g=e-a|0;d=c-g|0;if(d){c=r[b|0];if(c){break c}a=b;break b}return Ui(b)+g|0}f=b;while(1){if((d|0)==1){d=1}else{o[e|0]=c;e=e+1|0;d=d-1|0}c=r[f+1|0];a=f+1|0;f=a;if(c){continue}break}}o[e|0]=0;return g+(a-b|0)|0}function AV(a,b){var c=0,d=0;d=-20352;a:{b:{c:{d:{if(q[a+48>>2]){c=q[a+60>>2]?1:2}else{c=0}switch(c-1|0){case 0:break c;case 1:break d;default:break b}}d=-19584;if(Dm(b,0)){break b}if(Dm(b,1)){break b}c=Al(b)-1|0;if((c|0)!=q[a+92>>2]){break b}if((c|0)==254){if(Dm(b,2)){break b}}return 0}if((uj(b,1)|0)>=0){break a}d=-19584}return d}return(Lj(b,a+76|0)|0)<0?0:-19584}function bU(a){var b=0,c=0,d=0;d=q[q[a>>2]+184>>2];a:{b:{b=q[q[q[a+68>>2]+1120>>2]+16>>2]-1|0;c:{if(b>>>0<=9){b=q[(b<<2)+176156>>2];break c}b=0}if(b){c=Jn(a);if(c){break a}Tw(q[a+64>>2]);b=Vj(1,344);if(!b){Ij(a,2,80);return-32512}_C(b);c=hQ(a,b);if(c){break b}c=fQ(a,d>>>2&3,b);if(c){break b}q[q[a+64>>2]+96>>2]=b}q[a+4>>2]=q[a+4>>2]+1;return 0}gl(b);yi(b)}return c}function aZ(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;b=q[aj(a,-10003)>>2];a:{if(b){d=Mt(a,b);break a}Bi(a,140352,0);d=Mt(a,0)}if(q[b+76>>2]<=-1){b=q[b>>2]}else{b=q[b>>2]}b:{if(b>>>5&1){q[c>>2]=al(q[242957]);b=Bi(a,140349,c);break b}b=1;if(d){break b}b=0;if(!Ej(a,-10004)){break b}Ci(a,0);Qi(a,-10003);gs(a,1);Ki(a,-1,140334);xi[Ix(a)|0](a)|0;b=0}ti=c+16|0;return b|0}function woa(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=q[a>>2];wj(q[d+3232>>2]);a:{a=q[d+3196>>2];f=q[d+3192>>2];if((a|0)!=(f|0)){while(1){e=(g<<3)+f|0;if(q[e>>2]==(b|0)&q[e+4>>2]==(c|0)){a=a-8|0;h=q[a+4>>2];q[e>>2]=q[a>>2];q[e+4>>2]=h;q[d+3196>>2]=a;if(a>>>0>>0){break a}}g=g+1|0;if(g>>>0>3>>>0){continue}break}}qj(q[d+3232>>2]);return}J(10456,10061,516,10446);G()}function nka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[a+8>>2];b=q[d+16>>2];e=q[q[a+16>>2]>>2];if(e>>>0>2]-b>>3>>>0){b=q[b+(e<<3)>>2];c=q[d>>2];if(b>>>0<(q[d+4>>2]-c|0)/240>>>0){a=q[q[q[a+4>>2]+80>>2]>>2];f=q[(c+w(b,240)|0)+200>>2];if(f){Pi(a,f)}b=c+w(b,240)|0;c=q[b+196>>2];if(c){Pi(a,c)}a=q[b+192>>2];if(a){fr(a)}I6(d,e);return 0}}J(48683,48598,479,48308);G()}function eoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;Ti(a);Ti(a);d=Li(a,-1,q[74377],18676);Ci(a,-2);Ci(a,-2);a=q[d+4>>2];c=q[q[a+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+3216>>2];f=q[c+3220>>2]}q[b>>2]=e;q[b+4>>2]=f;c=q[a+100>>2];q[b+16>>2]=q[a+96>>2];q[b+20>>2]=c;a=q[q[a+84>>2]>>2]+w(s[d+24>>1],96)|0;d=q[a+4>>2];q[b+24>>2]=q[a>>2];q[b+28>>2]=d}function a7(a,b,c,d,e){var f=0,g=0,h=0;f=ti-32|0;ti=f;h=-2;a:{if(!a|!b|q[a+28>>2]!=(b|0)){break a}g=p4(q[a>>2],q[b+4>>2],q[b>>2],c,d);q[e+4>>2]=-17;q[e+8>>2]=0;q[e>>2]=g;h=0;if(g){break a}g=q[b+8>>2];if(!g){break a}q[f>>2]=q[a>>2];q[f+4>>2]=q[b+20>>2];q[f+12>>2]=q[c>>2];a=q[d>>2];q[f+24>>2]=e+8;q[f+20>>2]=b+12;q[f+16>>2]=a;q[e+4>>2]=xi[g|0](f)}ti=f+32|0;return h}function HA(a,b,c){var d=0,e=0,f=0,g=0;a=q[a>>2];wj(q[a+3232>>2]);a:{b:{f=a+3196|0;d=q[f>>2];g=a+3200|0;e=q[g>>2];if((d|0)==(e|0)){if(o[a+3204|0]&1){break b}d=a+3192|0;Ii((e-q[d>>2]>>3)+1|0,8,d,g,f);e=q[g>>2];d=q[f>>2]}if((d|0)==(e|0)){break a}q[a+3196>>2]=d+8;q[d>>2]=b;q[d+4>>2]=c;qj(q[a+3232>>2]);return}J(10125,10061,493,10200);G()}J(12529,10061,533,12553);G()}function u_(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-16|0;ti=e;d=rm(a,140233);b=q[d>>2];if(!b){Bi(a,140305,0);b=q[d>>2]}c=Eq(a,2,140444,268560);d=3;a:{if(Ik(b,hm(a,3,0),q[(c<<2)+140428>>2])){b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[e>>2]=al(b);vj(a,140349,e);break a}d=1;b=um(b)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;ti=e+16|0;return d|0}function sga(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;q[b+12>>2]=0;d=-13;a:{if(Cj(q[a+12>>2],q[a+16>>2],q[60338],b+12|0)){break a}hr(q[b+12>>2]);c=q[a+4>>2];if(!jp(q[a>>2],q[c+2008>>2],q[b+12>>2])){cj(q[b+12>>2]);break a}c=I5(c,q[b+12>>2]);e=q[b+12>>2];q[q[a+24>>2]+16>>2]=q[a+16>>2]-q[e+4>>2];cj(e);if(!c){break a}q[q[a+24>>2]+8>>2]=c;d=0}ti=b+16|0;return d|0}function Y3(a,b,c,d,e){var f=0;f=Oi(44);q[f>>2]=0;q[f+4>>2]=0;q[f+40>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[e>>2]=f;o[f+40|0]=1;e=q[a>>2];if((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))==4){e=Fi(Oi(1048),0,1048);q[f+8>>2]=e;o[e+1044|0]=1;q[e+1040>>2]=d;q[e+1036>>2]=c;q[f+36>>2]=b;q[f+4>>2]=a}}function QJ(a,b,c){var d=0,e=0,f=x(0);d=ti-16|0;ti=d;f=u[c>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=f;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,68684);u[d>>2]=u[c+16>>2];u[d+4>>2]=u[c+20>>2];u[d+8>>2]=u[c+24>>2];jl(a,d);Di(a,-2,68693);jl(a,c+32|0);Di(a,-2,68702);Zj(a,fja(b,s[c+52>>1]),wi);Di(a,-2,68709);b=q[q[c+48>>2]+4>>2];Zj(a,q[b+96>>2],q[b+100>>2]);Di(a,-2,68715);ti=d+16|0}function cW(a,b){var c=0,d=0;d=ti-16|0;ti=d;c=-84;a:{b:{c:{switch(q[a+224>>2]){case 1:c=eM(a);if(!c){break b}break a;case 0:break a;case 2:break c;default:break b}}c=wsa(a);if(c){break a}}q[a+224>>2]=3;c=q[a+212>>2];q[d>>2]=q[a+208>>2];q[d+4>>2]=c;c=q[a+220>>2];q[d+8>>2]=q[a+216>>2];q[d+12>>2]=c;a=a+132|0;c=vq(a,d,16);if(c){break a}c=RU(a,b)}ti=d+16|0;return c}function aJ(a,b,c,d){var e=0,f=0,g=0,h=0;f=ti-16|0;ti=f;a:{g=s[96604];b:{if((g|0)==(c|0)){break b}while(1){c=c&65535;e=q[b+32>>2];if(c>>>0>=(q[b+36>>2]-e|0)/576>>>0){break a}h=e+w(c,576)|0;c=$I(a,b,h,f+12|0);if(c){e=c;break b}e=0;Zq(b,q[f+12>>2],d,0);if(c){break b}c=s[h+558>>1];if((g|0)!=(c|0)){continue}break}}ti=f+16|0;return e}J(202185,202196,479,202252);G()}function Mta(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=r[b+3|0];a:{if(d-239>>>0<=16){d=r[kj(b,0)+103776|0];e=r[kj(b,1)+103776|0];f=r[kj(b,2)+103776|0];b=c+8|0;o[b+3|0]=8;o[b+2|0]=f;o[b+1|0]=e;o[b|0]=d;dw(a,1,b,1);break a}e=r[kj(b,0)+104032|0];f=r[kj(b,1)+104032|0];b=r[kj(b,2)+104032|0];o[c+3|0]=r[d+105568|0];o[c+2|0]=b;o[c+1|0]=f;o[c|0]=e;dw(a,1,c,0)}ti=c+16|0}function Bma(a){a=a|0;var b=0,c=0;a:{b:{b=q[a+8>>2];if(b){c=q[b+148>>2];if((c|0)==q[b+152>>2]){jn(33275,q[60917],c-q[b+144>>2]>>2);return-1e3}a=q[q[a+16>>2]>>2];if(r[a+24|0]&2){break b}o[a+24|0]=r[a+24|0]|2;c=q[b+148>>2];if((c|0)==q[b+152>>2]){break a}q[b+148>>2]=c+4;q[c>>2]=a;a=0}else{a=-1e3}return a|0}J(33292,33206,874,33320);G()}J(34817,34111,533,34841);G()}function $$(a){var b=0;a:{if(o[a+104|0]&1){break a}b=q[a+84>>2];if(b){yi(b)}b=q[a+76>>2];if(!b){break a}yi(b)}b:{if(o[a+72|0]&1){break b}b=q[a+64>>2];if(!b){break b}yi(b)}c:{if(o[a+60|0]&1){break c}b=q[a+48>>2];if(!b){break c}yi(b)}d:{if(o[a+44|0]&1){break d}b=q[a+36>>2];if(!b){break d}yi(b)}e:{if(o[a+32|0]&1){break e}b=q[a+20>>2];if(!b){break e}yi(b)}return a}function tl(a,b,c,d){var e=0,f=0,g=0,h=0;e=r[d+74|0];o[d+74|0]=e-1|e;g=w(b,c);e=q[d+4>>2];f=q[d+8>>2]-e|0;h=g;a:{if((f|0)<1){break a}h=e;e=f>>>0>>0?f:g;Gi(a,h,e);q[d+4>>2]=e+q[d+4>>2];a=a+e|0;h=g-e|0}e=h;if(e){while(1){b:{if(!lB(d)){f=xi[q[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break b}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function jy(a,b){var c=0,d=0,e=0;c=ti-32|0;ti=c;e=b+24|0;if(uj(e,0)){q[c+24>>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=jo(c+16|0,e,a+4|0);a:{if(d){break a}d=Pj(a,c,c+16|0,c+16|0);if(d){break a}d=Pj(a,b,b,c);if(d){break a}b=b+12|0;d=Pj(a,b,b,c);if(d){break a}d=Pj(a,b,b,c+16|0);if(d){break a}d=lk(e,1)}Si(c+16|0);Si(c)}ti=c+32|0;return d}function YB(a,b){var c=0,d=0,e=0;e=ti-32|0;ti=e;c=o[b|0];a:{if(!(r[b+1|0]?c:0)){c=nB(a,c);break a}Fi(e,0,32);d=r[b|0];if(d){while(1){c=(d>>>3&28)+e|0;q[c>>2]=q[c>>2]|1<>>3&28)+e>>2]>>>d&1){c=b;break a}d=r[b+1|0];c=b+1|0;b=c;if(d){continue}break}}ti=e+32|0;return c-a|0}function Ija(a,b,c,d,e,f){if(o[a+141|0]&1){Ai(4,33031,34578,0);return 1}a=q[b+12>>2];if(a){while(1){if((c|0)==q[a>>2]&q[a+4>>2]==(d|0)){return 2}a=q[a+16>>2];if(a){continue}break}}a=Oi(24);q[a+16>>2]=q[b+12>>2];q[a+12>>2]=1;q[a>>2]=c;q[a+4>>2]=d;q[b+12>>2]=a;q[a+8>>2]=f;b=Oi(12);c=q[e+16>>2];q[b+8>>2]=a;q[b>>2]=c;q[b+4>>2]=e;q[e+16>>2]=b;q[a+20>>2]=b;return 0}function Hr(a,b,c,d){if(q[a+12>>2]<=(b|0)){a=q[a+8>>2];if(!b){Ni(a,c,d-c|0);return}Bi(a,141243,0);return}c=(b<<3)+a|0;b=c;a:{b:{c:{c=q[c+20>>2];switch(c+2|0){case 1:break b;case 0:break c;default:break a}}b=(q[b+16>>2]-q[a>>2]|0)+1|0;a=q[a+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return}Bi(q[a+8>>2],141265,0)}Ni(q[a+8>>2],q[b+16>>2],c)}function sj(a,b,c){var d=0,e=0,f=0;d=ti-32|0;ti=d;f=q[a+12>>2];e=q[a>>2];e=q[e+8>>2]-q[e+12>>2]>>4;if((f|0)!=(e|0)){b=q[a+8>>2];a=q[a+4>>2];q[d+12>>2]=e;q[d+8>>2]=f;q[d>>2]=a;q[d+4>>2]=b;Ai(4,117469,118114,d);J(118185,117392,1491,118204);G()}q[d+28>>2]=c;js(q[a>>2],1);_D(q[a>>2],b,q[d+28>>2]);Ol(q[a>>2],2);q[a+16>>2]=-8388608;a=mo(q[a>>2]);ti=d+32|0;return a}function Lta(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=r[b+3|0];a:{if((d|0)==255){d=r[kj(b,0)+103184|0];e=r[kj(b,1)+103184|0];f=r[kj(b,2)+103440|0];b=c+8|0;o[b+3|0]=8;o[b+2|0]=f;o[b+1|0]=e;o[b|0]=d;dw(a,0,b,1);break a}e=r[kj(b,0)+103440|0];f=r[kj(b,1)+103440|0];b=r[kj(b,2)+105152|0];o[c+3|0]=r[d+104896|0];o[c+2|0]=b;o[c+1|0]=f;o[c|0]=e;dw(a,0,c,0)}ti=c+16|0}function Fwa(a,b){u[a>>2]=u[b>>2];u[a+4>>2]=u[b+4>>2];u[a+8>>2]=u[b+8>>2];u[a+12>>2]=u[b+12>>2];u[a+16>>2]=u[b+16>>2];u[a+20>>2]=u[b+20>>2];u[a+24>>2]=u[b+24>>2];u[a+28>>2]=u[b+28>>2];u[a+32>>2]=u[b+32>>2];u[a+36>>2]=u[b+36>>2];u[a+40>>2]=u[b+40>>2];u[a+44>>2]=u[b+44>>2];u[a+48>>2]=u[b+48>>2];u[a+52>>2]=u[b+52>>2];u[a+56>>2]=u[b+56>>2];u[a+60>>2]=u[b+60>>2]}function uma(a){a=a|0;var b=0,c=0,d=0;b=ti-48|0;ti=b;d=q[a+16>>2];a:{if(!d){break a}c=q[q[a>>2]+8>>2];q[b+32>>2]=0;q[b+36>>2]=0;q[b+16>>2]=1148846080;q[b+20>>2]=1148846080;q[b+8>>2]=-998637568;q[b>>2]=-998637568;q[b+4>>2]=-998637568;q[b+24>>2]=1148846080;q[b+40>>2]=c>>>0>d>>>0?d:c;q[b+36>>2]=134;q[b+32>>2]=135;c=-1e3}q[q[a+12>>2]>>2]=0;ti=b+48|0;return c|0}function WT(a){var b=0;b=q[a+68>>2];q[b+604>>2]=1732584193;q[b+608>>2]=-271733879;q[b+596>>2]=0;q[b+600>>2]=0;q[b+612>>2]=-1732584194;q[b+616>>2]=271733878;b=q[a+68>>2];q[b+692>>2]=1732584193;q[b+696>>2]=-271733879;q[b+684>>2]=0;q[b+688>>2]=0;q[b+708>>2]=-1009589776;q[b+700>>2]=-1732584194;q[b+704>>2]=271733878;Pr(q[a+68>>2]+776|0,0);Dp(q[a+68>>2]+888|0,1)}function Bga(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=-2;if(!Cj(q[a+12>>2],q[a+16>>2],271504,c+12|0)){b=q[c+12>>2];if(q[b+4>>2]){while(1){d=w(e,144);nk(q[a+20>>2],q[(d+q[b>>2]|0)+48>>2]);b=q[c+12>>2];d=q[(d+q[b>>2]|0)+56>>2];if(r[d|0]){nk(q[a+20>>2],d);b=q[c+12>>2]}e=e+1|0;if(e>>>0>2]){continue}break}}q[q[a+24>>2]>>2]=b;b=0}ti=c+16|0;return b|0}function afa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ti-336|0;ti=b;f=Zi(b+56|0,a,0,71492,2160);d=Mj(a,1);c=wi;e=c;mj(a,2,4);g=dj(a,2,b+52|0);c=Qy(q[76921],d,c,g,q[b+52>>2]);if(c){q[b+32>>2]=Mi(d,e);q[b+24>>2]=d;q[b+28>>2]=e;q[b+16>>2]=c;hj(b+80|0,256,(c|0)==-3?71794:(c|0)==-15?71836:71901,b+16|0);q[b>>2]=b+80;h=Bi(a,70520,b)}Yi(f);ti=b+336|0;return h|0}function EI(a,b,c){var d=0,e=0;a:{b:{e=b&65535;d=q[a+32>>2];if(e>>>0<(q[a+36>>2]-d|0)/576>>>0){if(s[(w(e,576)+d|0)+552>>1]!=(b>>>16|0)){break b}d=w(e,576)+d|0;if(s[d+554>>1]!=(b&65535)){break a}q[d+412>>2]=q[d+412>>2]&-1048577|(c?1048576:0);if(c){GI(a,b)}return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function A0(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=a+4|0;a:{b:{g=q[a+8>>2];e=q[a+4>>2];d=g-e|0;if(d>>>0>>0){if(o[a+12|0]&1){break b}d=c-d|0;Ii((((d|0)>32768?d:32768)+g|0)-q[a>>2]|0,1,a,a+8|0,f);e=q[a+4>>2];d=q[a+8>>2]-e|0}if(c>>>0>d>>>0){break a}Gi(e,b,c);q[f>>2]=q[f>>2]+c;return 1}J(131151,131069,493,131226);G()}J(131040,131069,540,131125);G()}function upa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+80>>2];if(q[c+4>>2]==q[c+8>>2]){Ai(4,12753,12764,0);return-1e3}d=Joa(c,q[a+76>>2],q[a>>2],s[a+92>>1]);b=q[d+28>>2];e=a- -64|0;f=q[e+4>>2];q[b+12>>2]=q[e>>2];q[b+16>>2]=f;q[b+20>>2]=q[e+8>>2];b=q[c+4>>2];if((b|0)!=q[c+8>>2]){q[c+4>>2]=b+4;q[b>>2]=d;q[q[a+88>>2]>>2]=d;return 0}J(13681,13705,533,13761);G()}function k$(a){cs(a);q[a+132>>2]=0;q[a+124>>2]=1;q[a+128>>2]=0;q[a+144>>2]=0;q[a+136>>2]=1;q[a+140>>2]=0;q[a+156>>2]=0;q[a+148>>2]=1;q[a+152>>2]=0;q[a+168>>2]=0;q[a+160>>2]=1;q[a+164>>2]=0;q[a+180>>2]=0;q[a+172>>2]=1;q[a+176>>2]=0;q[a+192>>2]=0;q[a+184>>2]=1;q[a+188>>2]=0;q[a+204>>2]=0;q[a+196>>2]=1;q[a+200>>2]=0;q[a+216>>2]=0;q[a+208>>2]=1;q[a+212>>2]=0}function hba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);f=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);a:{if(zn(a,2)){c=Zk(a,2);d=wi;break a}c=zi(Wi(a,2,0));d=wi}if(!LI(c,d)){q[b>>2]=Mi(c,d);Bi(a,196469,b)}bca(f,q[b+12>>2],c,d);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(196582,196298,1220,196602);G()}ti=b+16|0;return 0}function c0(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=-13;d=q[242116];f=q[d+16>>2];if(f){wj(f);d=q[242116]}e=q[d+80>>2];a:{if(!e){break a}e=q[q[d+76>>2]+(Qwa(b,c,e)<<2)>>2];if((e|0)==-1){break a}h=q[d+84>>2];while(1){d=h+(e<<4)|0;if((b|0)!=q[d>>2]|q[d+4>>2]!=(c|0)){e=q[d+12>>2];if((e|0)!=-1){continue}break a}break}q[a+8>>2]=b;q[a+12>>2]=c;g=0}if(f){qj(f)}return g}function GD(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=ti-384|0;ti=g;d=-56;f=q[a+24>>2];a:{if(f>>>0>384|384-f>>>0>>0){break a}e=Fi(g,0,384);d=-52;if(xi[q[a+312>>2]](q[a+316>>2],e,f)|0){break a}d=q[a+24>>2];f=e;h=e;if(!(!b|!c)){Gi(d+e|0,b,c);d=c+d|0}d=Ssa(f,h,d);b:{if(d){break b}d=YL(a,e);if(d){break b}q[a+16>>2]=1;d=0}xi[q[68401]](e,0,384)|0}ti=g+384|0;return d}function Cs(a,b,c,d){var e=0;e=ti-32|0;ti=e;if(!(b&15)){a:{if(c>>>0>=9){q[b>>2]=1112818760;q[b+4>>2]=4;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;a=MF(a,b,b,b+8|0,c-8|0,d,e+16|0);b:{if(o[e+28|0]&1){break b}b=q[e+16>>2];if(!b){break b}yi(b)}a=a+8|0;break a}q[e+4>>2]=8;q[e>>2]=c;Bi(a,126021,e);a=0}ti=e+32|0;return a}J(125983,125707,717,126010);G()}function z_(a){a=a|0;var b=0,c=0,d=0;d=ti-16|0;ti=d;c=rm(a,140233);b=q[c>>2];if(!b){Bi(a,140305,0);b=q[c>>2]}a:{if(!ro(b)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;a=1;break a}b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=al(b);vj(a,140349,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=3}ti=d+16|0;return a|0}function Xn(a,b,c,d){var e=0,f=0,g=0;g=ti-16|0;ti=g;a:{if((Ei(a,b)|0)==7){b:{c:{e=Li(a,b,q[76577],0);if(q[e+4>>2]!=2){break c}if(Sp(q[76576],q[e>>2],g+8|0)){if(!c){break a}Bi(a,63005,0)}if(q[e+4>>2]!=2){break c}f=q[e>>2]+4|0;break b}f=e}f=q[f>>2];if(Ao(f)){if(!d){break a}q[d>>2]=e;break a}f=0;if(!c){break a}Bi(a,61079,0)}wk(a,b,60513)}ti=g+16|0;return f}function TU(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=-16e3;a:{if(!q[c>>2]){break a}b:{if(!c){break b}j=q[c>>2];if(!j){break b}k=xi[q[j+12>>2]](a)|0}if(!k){return-16128}if((a|0)==6){if(!b){break a}i=-17280;if(kD(c)>>>0>h>>>0){break a}i=hD(q[c+4>>2],d,f,e,q[b>>2],q[b+4>>2],g);if(i){break a}return kD(c)>>>0>>0?-14592:0}if(b){break a}i=jD(c,d,e,f,g,h)}return i}function Hoa(a){var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[a>>2];e=q[d>>2];q[c+12>>2]=296840;b=Gv(d,296840,0);a:{if(b){if(et(q[a>>2],b)){break a}a=q[b+96>>2];e=q[b+100>>2];if((a|0)!=q[74208]|(e|0)!=q[74209]){Xq(d+3144|0,a,e);a=q[74209];q[b+96>>2]=q[74208];q[b+100>>2]=a}gr(d,b);b=0;break a}b=0;a=q[c+12>>2];if((a|0)==296840){break a}Pi(e,a)}ti=c+16|0;return b}function $y(a,b,c,d,e,f,g){var h=0,i=x(0),j=x(0);h=ti-1056|0;ti=h;i=u[a+52>>2];u[g+8>>2]=i;j=u[a+56>>2];u[g+12>>2]=j;q[h+16>>2]=a;i=x(i+j);u[h+20>>2]=i*f;a=q[h+20>>2];q[h+8>>2]=q[h+16>>2];q[h+12>>2]=a;a=Gw(b,d?c:x(3.4028234663852886e+38),h+32|0,h+28|0,h+8|0,d^1);c=u[h+28>>2];q[g+16>>2]=a;u[g>>2]=c;u[g+4>>2]=x(x(i*e)*x(a>>>0))-x(x(e+x(-1))*i);ti=h+1056|0}function bwa(){q[62323]=q[74622];q[74622]=249264;q[62343]=q[74622];q[74622]=249344;q[62363]=q[74622];q[74622]=249424;q[62377]=q[74622];q[74622]=249480;q[62399]=q[74622];q[74622]=249568;q[62419]=q[74622];q[74622]=249648;q[62439]=q[74622];q[74622]=249728;q[62459]=q[74622];q[74622]=249808;q[62557]=q[74622];q[74622]=250200;q[62579]=q[74622];q[74622]=250288}function Xba(a,b,c){var d=0,e=0,f=0;f=-5;d=q[a+164>>2];a:{if(!d){break a}d=q[q[a+160>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+168>>2];while(1){e=a+w(d,40)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+32>>2];if((d|0)!=-1){continue}break a}break}b=a+w(d,40)|0;a=b;o[a+12|0]=r[a+12|0]|2;a=q[a+24>>2];if(!a){return 0}yi(a);f=0;q[b+24>>2]=0}return f}function UO(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-1040|0;ti=b;d=Wi(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;a=q[b+1036>>2];c=a-1|0;q[b+1036>>2]=c;if(a){e=b+1036|0;while(1){a=q[b>>2];if(e>>>0<=a>>>0){Yk(b);c=q[b+1036>>2];a=q[b>>2]}c=r[c+d|0];q[b>>2]=a+1;o[a|0]=c;a=q[b+1036>>2];c=a-1|0;q[b+1036>>2]=c;if(a){continue}break}}gm(b);ti=b+1040|0;return 1}function QD(a,b,c){var d=0,e=0,f=0;e=Cm(c);d=-108;f=q[a>>2];a:{if(f>>>0>>0|f-b>>>0>>0){break a}d=f-e|0;q[a>>2]=d;d=pn(c,d,e);if(d){break a}b:{if(q[c>>2]!=1){break b}c=q[a>>2];if(o[c|0]>-1){break b}d=-108;if((c-b|0)<1){break a}c=c-1|0;q[a>>2]=c;o[c|0]=0;e=e+1|0}d=RD(a,b,e);if((d|0)<0){break a}a=PD(a,b,2);if((a|0)<0){return a}d=a+(d+e|0)|0}return d}function Eva(){q[63953]=q[74622];q[74622]=255784;q[63981]=q[74622];q[74622]=255896;q[64043]=q[74622];q[74622]=256144;q[64139]=q[74622];q[74622]=256528;q[64183]=q[74622];q[74622]=256704;q[64225]=q[74622];q[74622]=256872;q[64267]=q[74622];q[74622]=257040;q[64309]=q[74622];q[74622]=257208;q[64331]=q[74622];q[74622]=257296;q[64349]=q[74622];q[74622]=257368}function $va(){q[67325]=q[74622];q[74622]=269272;q[67365]=q[74622];q[74622]=269432;q[67399]=q[74622];q[74622]=269568;q[67413]=q[74622];q[74622]=269624;q[67435]=q[74622];q[74622]=269712;q[67455]=q[74622];q[74622]=269792;q[67475]=q[74622];q[74622]=269872;q[67495]=q[74622];q[74622]=269952;q[67515]=q[74622];q[74622]=270032;q[67553]=q[74622];q[74622]=270184}function Z$(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(b){xi[q[q[b+8>>2]+16>>2]](q[b+4>>2]);d=q[a+16>>2];if(!d){break b}c=s[a+22>>1];if(!c|s[a+20>>1]>>0){break a}e=q[b>>2];f=a;a=c-1|0;p[f+22>>1]=a;p[((a&65535)<<1)+d>>1]=e;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;return}J(203500,203508,128,203565);G()}J(203770,203719,140,203801);G()}J(203806,203719,141,203801);G()}function Pla(a){a=a|0;var b=0,c=0,d=0;b=ti-48|0;ti=b;c=q[a+4>>2];a=q[q[a+16>>2]>>2];d=XI(q[a+8>>2]);if(d){q[b+32>>2]=d;Ai(4,36048,37846,b+32|0)}Zba(q[a+8>>2]);aca(q[a+8>>2]);_ba(q[a+8>>2]);$ba(q[a+8>>2]);a:{if(DJ(q[a+8>>2],c)){a=KI(q[a+8>>2]);if(!a){break a}q[b>>2]=a;Ai(4,36048,37803,b);break a}q[b+16>>2]=q[c+72>>2];Ai(4,36048,38504,b+16|0)}ti=b+48|0}function ON(a,b,c,d){var e=0,f=0,g=0;g=ti-16|0;ti=g;a:{b:{e=q[b+80>>2];if(e){if(!c){break b}while(1){e=e-1|0;f=(e<<3)+b|0;q[g+12>>2]=q[f+4>>2];f=xi[c|0](d,q[f>>2],e,g+12|0)|0;if(f){break a}q[a>>2]=q[a>>2]|q[g+12>>2];if(e){continue}break}}f=0;break a}c=q[a>>2];while(1){e=e-1|0;c=q[((e<<3)+b|0)+4>>2]|c;q[a>>2]=c;if(e){continue}break}}ti=g+16|0;return f}function Dq(a,b,c,d,e,f){var g=0,h=0;g=q[c>>2];a:{if((g|0)>=((e|0)/2|0)){if((e|0)>(g|0)){break a}Hk(a,f,0);break a}e=g<<1;e=(e|0)>4?e:4}if(e+1>>>0<=4294967293/(d>>>0)>>>0){f=q[a+16>>2];h=b;g=w(q[c>>2],d);b=w(d,e);d=xi[q[f+12>>2]](q[f+16>>2],h,g,b)|0;if(!(d|!b)){yj(a,4)}q[f+68>>2]=q[f+68>>2]+(b-g|0);q[c>>2]=e;return d}Hk(a,135704,0);q[c>>2]=e;return 0}function D3(a){var b=0;a:{if(o[a+116|0]&1){break a}b=q[a+104>>2];if(!b){break a}yi(b)}b:{if(o[a+100|0]&1){break b}b=q[a+80>>2];if(b){yi(b)}b=q[a+72>>2];if(!b){break b}yi(b)}c:{if(o[a+68|0]&1){break c}b=q[a+48>>2];if(b){yi(b)}b=q[a+40>>2];if(!b){break c}yi(b)}d:{if(o[a+36|0]&1){break d}b=q[a+16>>2];if(b){yi(b)}b=q[a+8>>2];if(!b){break d}yi(b)}return a}function wG(a,b,c){var d=0,e=0,f=0;e=ti-16|0;ti=e;a:{b:{d=q[a+2148>>2];c:{if(!d){break c}d=q[q[a+2144>>2]+((b>>>0)%(d>>>0)<<2)>>2];if((d|0)==-1){break c}a=q[a+2152>>2];while(1){f=a+w(d,280)|0;if(q[f>>2]==(b|0)){break b}d=q[f+272>>2];if((d|0)!=-1){continue}break}}q[e>>2]=b;Ai(4,108761,108953,e);q[c>>2]=0;break a}Gi(c,(a+w(d,280)|0)+8|0,264)}ti=e+16|0}function r9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=x(0),i=x(0);b=ti-48|0;ti=b;f=Zi(b+24|0,a,0,196298,3731);Ti(a);g=Li(a,-1,q[216371],198335);Ci(a,-2);d=fj(a,1,0);c=yn(a,2);a:{if(c){a=c+8|0;e=c+4|0;break a}c=kl(a,2);a=c+8|0;e=c+4|0}h=u[c>>2];i=u[e>>2];u[b+8>>2]=u[a>>2];u[b+4>>2]=i;u[b>>2]=h;x8(g,s[d+554>>1]|s[d+552>>1]<<16,b);Yi(f);ti=b+48|0;return 0}function oU(a){var b=0,c=0,d=0,e=0,f=0;c=pC(q[a+104>>2]+2|0);b=wi;a:{if(!(r[q[a>>2]+185|0]&8)){break a}e=q[a+156>>2];d=q[a+152>>2];if((b|0)==(e|0)&c>>>0>d>>>0|b>>>0>e>>>0){break a}f=-1;b=e-(b+(c>>>0>d>>>0)|0)|0;c=d-c|0;if(!b&c>>>0>63|b){break a}b=q[a+160>>2];d=q[a+164>>2];a=c&31;return((c&63)>>>0>=32?d>>>a|0:((1<>>a)&1?-1:0}return f}function mL(a,b){var c=0,d=0;c=ti-16|0;ti=c;q[b>>2]=q[a+4>>2];q[b+12>>2]=q[a+276>>2];q[b+8>>2]=q[a+152>>2];q[b+4>>2]=q[a+288>>2];b=b+16|0;cp(b,3,8);wm(b,zi(4260),wi,a+216|0);d=zi(4269);q[c+12>>2]=q[a+220>>2];wm(b,d,wi,c+12|0);if(q[a+292>>2]){d=zi(3717);q[c+8>>2]=q[a+284>>2];wm(b,d,wi,c+8|0);d=zi(3729);q[c+4>>2]=q[a+292>>2];wm(b,d,wi,c+4|0)}ti=c+16|0}function J8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-134217729|(c?134217728:0);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function i5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-16|0;ti=b;a:{b:{if(!Bj(a,1)){q[b>>2]=110485;a=Bi(a,111201,b);break b}c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);d=Li(a,-1,q[81656],114346);Ci(a,-2);if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){break a}f=Sq(a,q[q[d+304>>2]+2384>>2]),g=wi,e=q[77495],xi[e](f|0,g|0);a=0}ti=b+16|0;return a|0}J(110492,110389,475,114319);G()}function spa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=q[q[a+16>>2]>>2];a:{b=q[a+8>>2];c=q[b+4>>2];d=q[b>>2];if((c|0)==(d|0)){break a}g=c-d>>2;a=0;while(1){f=(a<<2)+d|0;if(q[f>>2]!=(e|0)){a=a+1|0;if(g>>>0>a>>>0){continue}break a}break}q[f>>2]=q[c-4>>2];a=q[b+4>>2]-4|0;q[b+4>>2]=a;if(a>>>0>=t[b>>2]){break a}J(13787,13705,516,13777);G()}Zoa(e);return 0}function ms(a,b,c){var d=0,e=0,f=0,g=0;a:{if((c|0)!=-1){d=q[b>>2];if((d|0)==-1){break a}b=q[q[a>>2]+12>>2];while(1){e=d;f=(e<<2)+b|0;g=q[f>>2];d=(g>>>14|0)-131071|0;d=(d|0)==-1?-1:(d+e|0)+1|0;if((d|0)!=-1){continue}break}b=f;e=(e^-1)+c|0;c=e>>31;if((c^c+e)>=131072){Dj(q[a+12>>2],136537);g=q[f>>2]}q[b>>2]=(g&16383|e<<14)+2147467264}return}q[b>>2]=c}function mE(a){var b=0,c=0,d=0,e=0;b=q[a+116>>2];if(b){b=b+q[a+32>>2]|0;if(q[b+8>>2]!=6){yj(a,5)}c=q[a+8>>2];d=c-16|0;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+8>>2]=q[d+8>>2];d=q[b+4>>2];c=q[a+8>>2]-16|0;q[c>>2]=q[b>>2];q[c+4>>2]=d;q[c+8>>2]=q[b+8>>2];b=q[a+8>>2];if((q[a+28>>2]-b|0)<=16){vk(a,1);b=q[a+8>>2]}q[a+8>>2]=b+16;El(a,b-16|0,1)}yj(a,2)}function l7(a){var b=0;b=Fi(Oi(96),0,96);q[b+80>>2]=0;q[b+84>>2]=0;q[b+72>>2]=0;q[b+76>>2]=0;q[b+60>>2]=-1;q[b+64>>2]=0;q[b+52>>2]=0;q[b>>2]=a;Cz(b+40|0,64,256);if(o[b+24|0]&1){J(144632,144449,493,144707);G()}Ii(16,4,b+12|0,b+20|0,b+16|0);q[b+36>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+88>>2]=0;q[b+92>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[a+76>>2]=b;return b}function eH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=ti-32|0;ti=e;if(en(q[b>>2])){f=e+8|0;d=q[b>>2];c=0;a:{if(!d){break a}c=q[d>>2]}f=Zi(f,c,0,74700,219);b:{if(!Np(q[b>>2])){Ai(4,74793,75361,0);break b}Hi(c,q[b+4>>2]);d=q[c+8>>2];q[d+8>>2]=1;q[d>>2]=(a|0)!=0;q[c+8>>2]=q[c+8>>2]+16;Vl(c,3,0);Kq(q[b>>2]);Pm(q[b>>2]);yi(q[b+4>>2]);yi(b)}Yi(f)}ti=e+32|0}function I8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-50331649|c<<24&50331648;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function H8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-67108865|(c?67108864:0);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function jx(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}while(1){d=c;f=q[d>>2];c=f-e|0;q[d>>2]=c;g=q[b>>2];q[d>>2]=c-g;e=(c>>>0>>0)+(e>>>0>f>>>0)|0;c=d+4|0;b=b+4|0;h=h+1|0;if((h|0)!=(a|0)){continue}break}if(!e){break a}a=q[d+4>>2];q[d+4>>2]=a-e;if(a>>>0>=e>>>0){break a}a=d+8|0;while(1){b=q[a>>2];q[a>>2]=b-1;a=a+4|0;if(!b){continue}break}}}function _m(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;a:{if((Wr(b,c)|0)<0){d=-10;break a}q[e+8>>2]=0;q[e>>2]=1;q[e+4>>2]=0;b:{if((a|0)==(c|0)){d=gk(e,c);if(d){break b}c=e}if((a|0)!=(b|0)){d=gk(a,b);if(d){break b}}q[a>>2]=1;d=q[c+8>>2];c=q[c+4>>2];while(1){b=c;if(c){c=b-1|0;if(!q[d+(c<<2)>>2]){continue}}break}jx(b,d,q[a+8>>2]);d=0}Si(e)}ti=e+16|0;return d}function Zba(a){var b=0,c=0,d=0,e=0,f=0;Fi(q[a+128>>2],255,q[a+132>>2]<<2);q[a+148>>2]=-1;q[a+152>>2]=0;q[a+140>>2]=q[a+136>>2];d=q[a+32>>2];c=q[a+36>>2]-d|0;b=(c|0)/576|0;if(c){e=b>>>0>1?b:1;c=0;while(1){b=w(c,576)+d|0;f=b;if(q[b+436>>2]==2){rv(a,s[b+554>>1]|s[b+552>>1]<<16,0)}q[b+432>>2]=0;q[f+436>>2]=0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function ZS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=1;b=Ym(a,132669);q[c+8>>2]=0;e=Wi(a,2,c+12|0);f=b+8|0;Hn(f);b=CC(b,e,q[c+12>>2],c+8|0,f);a:{if(b){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;if((b|0)==-2){b=132723}else{b=Yl(b)}Hi(a,b);d=2;break a}b=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function KT(a,b){var c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;f=288032;c=169071;e=512;a:{while(1){if(q[f>>2]&b){q[d+20>>2]=c;q[d+16>>2]=176633;c=Ko(a,e,169022,d+16|0);if((c|0)<0|c>>>0>=e>>>0){break a}e=e-c|0;b=q[f>>2]^b;a=a+c|0}c=f;f=c+8|0;c=q[c+12>>2];if(c){continue}break}if(b){q[d>>2]=176633;a=Ko(a,e,169028,d);if((a|0)<0|a>>>0>=e>>>0){break a}}}ti=d+32|0}function I2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ri(a,1);b=jj(a,64);q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=1065353216;q[b+44>>2]=0;q[b+48>>2]=0;q[b+28>>2]=0;q[b+32>>2]=0;q[b+60>>2]=1065353216;q[b+12>>2]=0;q[b+16>>2]=0;c=x(e);d=xl(c);u[b+40>>2]=d;c=uk(c);u[b+24>>2]=c;u[b+20>>2]=d;q[b+52>>2]=0;q[b+56>>2]=0;u[b+36>>2]=-c;Ki(a,-1e4,128736);ij(a,-2);return 1}function H2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ri(a,1);b=jj(a,64);q[b+44>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+28>>2]=0;q[b+20>>2]=1065353216;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+4>>2]=0;q[b+60>>2]=1065353216;c=x(e);d=xl(c);u[b+40>>2]=d;c=uk(c);u[b+32>>2]=c;u[b>>2]=d;q[b+52>>2]=0;q[b+56>>2]=0;u[b+8>>2]=-c;Ki(a,-1e4,128736);ij(a,-2);return 1}function G2(a){a=a|0;var b=0,c=x(0),d=x(0),e=0;e=Ri(a,1);b=jj(a,64);q[b+24>>2]=0;q[b+28>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+40>>2]=1065353216;q[b+60>>2]=1065353216;c=x(e);d=xl(c);u[b+20>>2]=d;c=uk(c);u[b+4>>2]=c;u[b>>2]=d;q[b+32>>2]=0;q[b+36>>2]=0;q[b+52>>2]=0;q[b+56>>2]=0;u[b+16>>2]=-c;Ki(a,-1e4,128736);ij(a,-2);return 1}function oI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-2097153|(c?2097152:0);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function J1(a){a=a|0;var b=0,c=x(0),d=0,e=0,f=0;e=ti-32|0;ti=e;f=Zi(e+8|0,a,1,124351,459);b=Wi(a,1,0);c=x(0);a:{if((Ei(a,2)|0)==-1){break a}c=x(Ri(a,2))}b:{c:{d=Op(a);if(!d){break c}d=q[d>>2];if(!d){break c}c=ym(d,b,c);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;break b}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}Yi(f);ti=e+32|0;return 1}function In(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e+307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}_wa(0,0);_wa(1,b+1023<<20);return a*+$wa()}function D8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-8388609|(c?8388608:0);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function iq(a,b,c,d){var e=0,f=0;e=ti-160|0;ti=e;Gi(e+8|0,208200,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}q[e+52>>2]=a;q[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;q[e+56>>2]=b;a=a+b|0;q[e+36>>2]=a;q[e+24>>2]=a;a=MB(e+8|0,c,d);if(!b){break a}b=q[e+28>>2];o[b-((b|0)==q[e+24>>2])|0]=0;break a}q[242957]=61;a=-1}ti=e+160|0;return a}function Zi(a,b,c,d,e){var f=0;f=ti-16|0;ti=f;q[a+8>>2]=e;q[a+4>>2]=d;q[a>>2]=b;b=q[b+8>>2]-q[b+12>>2]>>4;q[a+16>>2]=c;q[a+12>>2]=b;d=0-b|0;if((d|0)>(c|0)){d=q[a+8>>2];e=q[a+4>>2];q[f+12>>2]=b;q[f+8>>2]=c;q[f>>2]=e;q[f+4>>2]=d;Ai(4,117469,118011,f);d=0-q[a+12>>2]|0;c=q[a+16>>2]}if((c|0)<(d|0)){J(118083,117392,1468,118100);G()}ti=f+16|0;return a}function UI(a,b,c,d){var e=0,f=0;a:{b:{e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0<(f-a|0)/576>>>0){if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}o[c|0]=o[a+460|0]&1;o[d|0]=r[a+460|0]>>>1&1;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Ria(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;a=q[a+344>>2];c=q[q[q[a+12>>2]+80>>2]+8>>2];a:{if(!c){break a}c=q[c>>2];if(!c){break a}e=q[c+3216>>2];f=q[c+3220>>2]}q[b>>2]=e;q[b+4>>2]=f;c=q[a+12>>2];e=q[c+100>>2];q[b+16>>2]=q[c+96>>2];q[b+20>>2]=e;a=zo(q[a+12>>2],s[a+20>>1],b+24|0);if(a){q[d>>2]=a;Ai(4,36048,36056,d)}ti=d+16|0}function Hy(a){var b=0,c=0,d=0,e=0;c=q[a+120>>2];d=q[a+108>>2];b=q[a+104>>2];if((d|0)!=(b|0)){while(1){e=q[q[b>>2]+8>>2];if(e){xi[e|0](a);d=q[a+108>>2]}b=b+4|0;if((b|0)!=(d|0)){continue}break}}Ki(c,-10002,117437);yi(aj(c,-1));Ci(c,-2);b=q[a+124>>2];if((b|0)!=-2){a=q[81758];if((a|0)<=0){Ai(4,117469,117938,0);a=q[81758]}q[81758]=a-1;oo(c,-1e4,b)}}function aB(a,b){var c=0,d=0,e=0;if(!b){return 0}if(b>>>0<=25){d=q[a+20>>2];a:{while(1){if(b>>>0<=d>>>0){break a}e=0;c=q[a+4>>2];if(c>>>0>2]){q[a+4>>2]=c+1;e=r[c|0]}c=d+8|0;q[a+20>>2]=c;q[a+16>>2]=q[a+16>>2]|e<>>0<33){continue}break}J(101918,101831,334,101908);G()}return q[a+16>>2]&(-1<>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-196609|c<<16&196608;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function BI(a,b,c){var d=0,e=0,f=0;d=zi(c);e=wi;a:{b:{c=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(f-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+544>>2]=d;q[a+548>>2]=e;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function B8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-524289|(c?524288:0);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Fha(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[q[a+8>>2]+8>>2];c=q[b+16>>2];d=q[b+12>>2];if((c|0)!=(d|0)){e=q[a>>2];a=0;c=d;while(1){Pi(e,q[(a<<2)+c>>2]);a=a+1|0;c=q[b+12>>2];if(a>>>0>2]-c>>2>>>0){continue}break}}q[b+16>>2]=c;a=q[b+8>>2];if(a){cj(a);q[b+8>>2]=0}a:{if(o[b+24|0]&1){break a}a=q[b+12>>2];if(!a){break a}yi(a)}yi(b);return 0}function wv(a,b,c){var d=0,e=0;d=q[c+160>>2];a:{if((d|0)>-1){break a}e=q[c+136>>2];if(!e){break a}Pi(b,e);d=q[c+160>>2]}b=d&2147483647;if(b){d=q[c+156>>2];if(b>>>0>d>>>0){while(1){b:{if(r[a+17|0]){break b}}d=d+1|0;if((b|0)!=(d|0)){continue}break}}yi(q[(r[a+17|0]?c+140|0:c+144|0)>>2]);yi(q[c+148>>2]);yi(q[c+152>>2])}a=q[c+164>>2];if(a){cj(a)}}function uI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-61441|c<<12&61440;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function ql(a){var b=0,c=0;a:{c=a;b=q[a+5820>>2];b:{if((b|0)==16){b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5817|0];p[a+5816>>1]=0;a=0;break b}if((b|0)<8){break a}b=q[a+20>>2];q[a+20>>2]=b+1;o[b+q[a+8>>2]|0]=r[a+5816|0];p[a+5816>>1]=r[a+5817|0];a=q[a+5820>>2]-8|0}q[c+5820>>2]=a}}function oD(a,b){var c=0,d=0,e=0,f=0;f=-16;a:{b:{if(b>>>0>1e4){break b}e=q[a+4>>2];if(e>>>0<=b>>>0){break a}c=e;while(1){d=c;c=c-1|0;if(q[q[a+8>>2]+(c<<2)>>2]?0:c){continue}break}b=b>>>0>d>>>0?b:d;c=Vj(b,4);if(!c){break b}d=q[a+8>>2];if(d){Gi(c,d,b<<2);xi[q[68401]](d,0,e<<2)|0;yi(q[a+8>>2])}q[a+8>>2]=c;q[a+4>>2]=b;f=0}return f}return bl(a,b)}function C8(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-268435457|268435456;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function uga(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[q[a+8>>2]+8>>2];c=q[b+28>>2];if(c){Pi(e,c)}d=q[b>>2];if((d|0)!=q[b+4>>2]){c=0;while(1){Pi(e,q[(c<<2)+d>>2]);c=c+1|0;d=q[b>>2];if(c>>>0>2]-d>>2>>>0){continue}break}}c=q[b+24>>2];if(c){CG(c)}Pp(q[a>>2],474,b);a:{if(o[b+12|0]&1){break a}a=q[b>>2];if(!a){break a}yi(a)}yi(b);return 0}function tB(a,b){var c=0,d=0,e=0;c=-1;a:{if(!b){break a}d=q[b>>2];if(!d){break a}e=q[d>>2]}b:{c:{switch(e-1|0){case 0:case 5:c=0;d:{if(!b){break d}d=q[b>>2];if(!d){break d}c=xi[q[d+8>>2]](q[b+4>>2])|0}return t[a+12>>2]>c>>>0?-1:0;case 1:case 2:case 3:break c;default:break b}}b=q[q[b+4>>2]>>2];if(!b){break b}c=q[a+8>>2]>>>b-1&1?0:-1}return c}function cD(a){var b=0,c=0;b=(q[q[a>>2]+184>>2]>>>6&7)-1|0;a:{if(b>>>0<=3){b=q[(b<<2)+176196>>2];break a}b=16384}c=q[a+56>>2];if(c){c=r[c+116|0]-1|0;b:{if(c>>>0<=3){c=q[(c<<2)+176196>>2];break b}c=16384}b=b>>>0>c>>>0?c:b}a=q[a+64>>2];if(a){a=r[a+116|0]-1|0;c:{if(a>>>0<=3){a=q[(a<<2)+176196>>2];break c}a=16384}return a>>>0>>0?a:b}return b}function Yw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=ti-240|0;ti=h;q[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-q[(j<<2)+e>>2]|0;if((xi[c|0](a,g)|0)>=0){if((xi[c|0](a,f)|0)>-1){break a}}l=g;g=(xi[c|0](g,f)|0)>-1;f=g?l:f;q[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}XL(b,h,i);ti=h+240|0}function z9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-176|0;ti=b;c=Zi(b+152|0,a,0,196298,4090);fj(a,1,b+148|0);e=Mj(a,2);f=wi;Ti(a);g=Li(a,-1,q[216371],198335);Ci(a,-2);a:{b:{switch(Nz(g,q[b+148>>2],e,f)+10|0){case 0:d=sj(c,201837,0);break a;case 5:break b;default:break a}}q[b>>2]=zs(a,2,b+16|0);d=sj(c,201887,b)}Yi(c);ti=b+176|0;return d|0}function mI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-3073|c<<10&3072;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function k_(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=r[a+3|0];f=!c;e=c|(r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8);a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=r[d+1|0];f=!c;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?0:a-3|0}function j5(a){a=a|0;var b=0,c=0,d=0;c=q[a+8>>2]-q[a+12>>2]|0;d=Tu();b=jj(a,36);q[b+28>>2]=0;q[b+32>>2]=0;q[b+20>>2]=0;q[b+24>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b>>2]=d;q[b+28>>2]=0;q[b+24>>2]=-1;q[b+16>>2]=0;Ki(a,-1e4,110337);ij(a,-2);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(110364,110389,421,110421);G()}return 1}function bP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-1040|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if((e|0)>=1){g=b+1036|0;d=1;while(1){f=Xi(a,d);if(f>>>0>=256){Qj(a,d,141025)}c=q[b>>2];if(g>>>0<=c>>>0){Yk(b);c=q[b>>2]}q[b>>2]=c+1;o[c|0]=f;c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}gm(b);ti=b+1040|0;return 1}function bD(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+200>>2]-q[a+192>>2]|0;c=q[a+76>>2];if(!c){return b}e=-27648;f=b;a:{b:{c:{d:{b=q[c+80>>2];d=0;e:{if(!b){break e}d=q[b+4>>2]}switch(d-2|0){case 0:break c;case 4:case 5:case 6:case 8:break d;default:break a}}a=q[c>>2];break b}b=b?q[b+24>>2]:0;a=(b+q[c+12>>2]|0)+(q[a+20>>2]>1?b:0)|0}e=f+a|0}return e}function _8(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;b=mk(a,1,q[216372]);d=mk(a,2,q[216372]);a:{if(!(d?b:0)){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}if(q[b>>2]!=q[d>>2]){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;break a}fj(a,1,c+12|0);fj(a,2,c+8|0);b=q[c+12>>2]==q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=b}q[a+8>>2]=q[a+8>>2]+16;ti=c+16|0;return 1}function Zt(a,b){var c=0;if(!b){return-24832}c=a;q[c>>2]=0;q[c+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=xi[q[q[b+28>>2]+28>>2]]()|0;q[a+60>>2]=c;if(!c){return-24960}q[a>>2]=b;Fx(a,0);return 0}function Fn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=e;e=0;i=e;f=c;c=0;e=Owa(h,e,f,c);j=wi;g=b;k=Owa(d,0,b,0);b=wi;d=Owa(d,l,f,c);c=b+d|0;b=wi;b=c>>>0>>0?b+1|0:b;f=b;d=b+e|0;b=j;b=d>>>0>>0?b+1|0:b;f=d;e=b;b=Owa(g,m,h,i)+c|0;d=wi;d=b>>>0>>0?d+1|0:d;g=d;d=d+f|0;q[a+8>>2]=d;q[a+12>>2]=d>>>0>>0?e+1|0:e;q[a>>2]=k;q[a+4>>2]=b}function F_(a){var b=0,c=0;a:{b=Wt(a+16|0,155296);if(b){break a}c=a+4|0;b=lk(c,1);if(b){break a}b=$m(c,255);if(b){break a}b=zl(c,c,19);if(b){break a}q[a+88>>2]=Al(c);c=a+76|0;b=Wt(c,155303);if(b){break a}b=Lo(c,252,1);if(b){break a}b=lk(a+40|0,9);if(b){break a}b=lk(a- -64|0,1);if(b){break a}Si(a+52|0);q[a+92>>2]=254;return 0}Mn(a);return b}function z0(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=b+24|0;q[c>>2]=0;q[c+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=1;Ii(32768,1,b+16|0,c,b+16|4);c=z$(Wi(a,1,0),Mk(a,1),b+16|0);a:{if(!c){c=a;a=q[b+16>>2];Ni(c,a,q[b+20>>2]-a|0);break a}q[b>>2]=c;Bi(a,130946,b);d=0}b:{if(o[b+28|0]&1){break b}a=q[b+16>>2];if(!a){break b}yi(a)}ti=b+32|0;return d|0}function xv(a){var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;e=q[a+156>>2];q[b+8>>2]=0;q[b+12>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=b+8|0;c=q[a+148>>2];if(!c){c=q[q[a+156>>2]+24>>2]}Uj(d,c,4);d=b+8|0;c=q[a+152>>2];if(!c){c=q[q[a+156>>2]>>2]}Uj(d,c,72);Uj(b+8|0,q[e+4>>2]+16|0,4);c=q[a+144>>2];if(c){Us(c,b+8|0)}q[a+140>>2]=Bn(b+8|0);ti=b+32|0}function uia(a){a=a|0;var b=0,c=0,d=0;b=ti+ -64|0;ti=b;c=Zi(b+8|0,a,1,68051,1183);d=q[q[Tj(a)+80>>2]+8>>2];q[b+4>>2]=0;q[b>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;wl(a,1,d,67845,b+4|0,b+32|0,b);a:{if(o[q[b>>2]+141|0]&1){break a}}wi=0;Zj(a,0,0);Yi(c);ti=b- -64|0;return 1}function kn(a,b,c,d,e){b=b^d;d=r[(b>>>24|0)+158640|0];b=r[(b&255)+158384|0]|(r[(b>>>16&255)+158896|0]<<16|d<<24|r[(b>>>8&255)+159152|0]<<8);a=a^c;a=(d|b<<8)^(r[(a>>>16&255)+158640|0]<<16|r[(a>>>24|0)+158384|0]<<24|r[(a>>>8&255)+158896|0]<<8|r[(a&255)+159152|0]);b=Twa(a,16)^b;a=Twa(b,24)^a;q[e+4>>2]=a^q[e+4>>2];q[e>>2]=b^q[e>>2]^Twa(a,24)}function VM(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=q[a+8>>2]-q[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(t[a+20>>2]>t[a+28>>2]){xi[q[a+36>>2]](a,0,0)|0;if(!q[a+20>>2]){break a}}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;xi[q[a+40>>2]](a,b,c,d)|0;if((wi|0)<0){break a}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=q[a>>2]&-17;return 0}return-1}function To(a,b,c){var d=0,e=0,f=0;d=lj(a,0,0,32);Fq(a,d,5);q[d+28>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+16>>2]=137304;p[d+6>>1]=255;e=d;a:{if(b+1>>>0<=268435455){f=lj(a,0,0,b<<4);break a}f=Yj(a)}q[e+12>>2]=f;e=q[d+28>>2];if((e|0)<(b|0)){while(1){q[((e<<4)+f|0)+8>>2]=0;e=e+1|0;if((e|0)!=(b|0)){continue}break}}q[d+28>>2]=b;IC(a,d,c);return d}function Saa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ti-16|0;ti=c;g=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);e=1;f=Mj(a,1);b=wi;h=b;d=Sba(d,f,b);b=wi;i=b;a:{if(d|b){Zj(a,d,i);if((g+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(196375,196298,1946,200728);G()}q[c>>2]=Mi(f,h);e=Bi(a,200688,c)}ti=c+16|0;return e|0}function C0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;e=q[aj(a,1)>>2];c=Xi(a,2);d=q[e>>2];a:{if(!((c|0)<1|(d|0)<(c|0))){f=Ri(a,3);u[(q[e+4>>2]+(c<<2)|0)-4>>2]=f;a=0;break a}if((d|0)>=1){q[b+8>>2]=d;q[b+4>>2]=128672;q[b>>2]=128752;a=Bi(a,129294,b);break a}q[b+20>>2]=128672;q[b+16>>2]=128752;a=Bi(a,129341,b+16|0)}ti=b+32|0;return a|0}function A1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;e=Zi(d+8|0,a,1,124351,510);c=q[a+8>>2]-q[a+12>>2]>>4;f=Wi(a,1,0);if((c|0)>=2){mj(a,2,5);Qi(a,2);Ki(a,-1,124373);b=0;a:{if(!Ei(a,-1)){break a}b=Wi(a,-1,0)}Ci(a,-2);Ci(a,-2)}b=!(Th(f|0,b|0)|0?0:-1e3);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=d+32|0;return 1}function qU(a){var b=0,c=0;Si(a+104|0);Si(a+116|0);b=q[a+128>>2];if(b){xi[q[68401]](b,0,q[a+132>>2])|0;yi(q[a+128>>2]);q[a+128>>2]=0;q[a+132>>2]=0}b=q[a+136>>2];if(b){xi[q[68401]](b,0,q[a+140>>2])|0;yi(q[a+136>>2]);q[a+136>>2]=0;q[a+140>>2]=0}c=q[a+84>>2];if(c){while(1){b=q[c+8>>2];yi(c);c=b;if(b){continue}break}}xi[q[68401]](a,0,188)|0}function nI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-769|c<<8&768;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function mha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+20>>2];b=Oi(12);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;f=q[a>>2];d=r[c+4|0];o[b+8|0]=d;o[b+8|0]=d|r[c+5|0]<<1;e=Jk(q[c>>2]);q[b+4>>2]=e;a:{b:{if(d){cj(c);break b}d=Nj(f,e,b);cj(c);if(d){break a}}q[q[a+24>>2]+8>>2]=b;return 0}c=q[b>>2];if(c){Pi(q[a>>2],c)}yi(q[b+4>>2]);yi(b);yi(b);return d|0}function SP(a,b,c,d,e){var f=0,g=0;q[d>>2]=0;q[e>>2]=0;a:{if(q[a+20>>2]!=3){break a}g=-31488;f=c;c=q[b>>2];if(f>>>0>>0){break a}f=d;c=r[c|0]-1&255;b:{if(c>>>0<=5){c=c+3|0;break b}c=0}q[f>>2]=c;if(!c){break a}c=r[q[b>>2]+1|0];c=(c|0)==1?1:((c|0)==3)<<2;q[e>>2]=c;if(!c){break a}if(tU(a,q[d>>2])){break a}q[b>>2]=q[b>>2]+2;g=0}return g}function qG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!c){h=1;break a}while(1){if(a>>>0<=g>>>0){break a}e=(f<<3)+d|0;i=q[e>>2];j=q[e+4>>2];e=g;while(1){b:{g=e+1|0;e=(e<<3)+b|0;if((i|0)==q[e>>2]&q[e+4>>2]==(j|0)){break b}e=g;if((e|0)!=(a|0)){continue}break a}break}f=f+1|0;h=f>>>0>=c>>>0;if((c|0)!=(f|0)){continue}break}}return(c|0)!=0&h}function nha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;d=q[q[a+32>>2]+8>>2];e=pG();f=q[a+16>>2];b=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[65806],c+28|0)){break a}b=c+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b>>2]=q[c+28>>2];q[b+8>>2]=zi(f);q[b+12>>2]=wi;nG(e,b);cj(q[c+28>>2]);if(d){gz(d)}q[q[a+32>>2]+8>>2]=e;b=0}ti=c+32|0;return b|0}function lZ(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;c=1;b=rm(a,140233);e=Ak(q[b>>2]);q[b>>2]=0;a:{if(!e){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;break a}c=q[242957];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;q[d>>2]=al(c);vj(a,140349,d);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;c=3}ti=d+16|0;return c|0}function E7(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;q[b+568>>2]=c;if((c|0)==200){c=q[b+556>>2];if((e|0)>=1){g=b+552|0;a=b+40|0;e=d+e|0;while(1){f=r[d|0];a:{if((f|0)==10){o[c|0]=0;mH(q[b+8>>2],a);c=a;break a}if(c>>>0>>0){o[c|0]=f;c=c+1|0;break a}Ai(4,162526,162531,0)}d=d+1|0;if(e>>>0>d>>>0){continue}break}}q[b+556>>2]=c}}function rZ(a){var b=0,c=0,d=0;c=-6;a:{if(r[178856]!=49){break a}if(!a){return-2}q[a+24>>2]=0;b=q[a+32>>2];if(!b){q[a+40>>2]=0;q[a+32>>2]=1395;b=1395}if(!q[a+36>>2]){q[a+36>>2]=1396}d=xi[b|0](q[a+40>>2],1,7116)|0;if(!d){return-4}q[a+28>>2]=d;q[d+52>>2]=0;b=qZ(a);c=0;if(!b){break a}xi[q[a+36>>2]](q[a+40>>2],d);q[a+28>>2]=0;c=b}return c}function _X(a){var b=0,c=0;b=q[a+16>>2];c=r[b+21|0];a:{b:{if(c>>>0<=1){q[b+44>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;q[b+24>>2]=0;o[b+21|0]=2;q[b+32>>2]=b+28;break b}if((c|0)==4){break a}}while(1){Xw(a);if(r[b+21|0]!=4){continue}break}}WD(a);if(r[b+21|0]){while(1){Xw(a);if(r[b+21|0]){continue}break}}q[b+64>>2]=w(q[b+80>>2],t[b+72>>2]/100|0)}function mH(a,b){var c=0,d=0,e=0,f=0;c=q[a+48>>2];wj(c);e=zi(b);f=wi;b=q[a+20>>2];if(!b){qj(c);return}b=q[q[a+16>>2]+(Qwa(e,f,b)<<2)>>2];a:{if((b|0)==-1){break a}a=q[a+24>>2];while(1){d=a+w(b,136)|0;if((e|0)!=q[d>>2]|q[d+4>>2]!=(f|0)){b=q[d+128>>2];if((b|0)!=-1){continue}break a}break}a=a+w(b,136)|0;o[a+112|0]=r[a+112|0]&254|1}qj(c)}function Tda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-32|0;ti=e;q[e+24>>2]=0;q[77398]=q[77398]+1;q[e+16>>2]=1;q[e+20>>2]=0;q[e+8>>2]=1;q[e+12>>2]=0;a:{if(a){tc(q[(b<<2)+87620>>2],c|0,d|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}ti=e+32|0;return}J(84152,84160,1864,87632);G()}Vi(a,87632,1866);J(84254,84160,1866,87632);G()}function QO(a,b){var c=0,d=0,e=0;c=r[a|0];a:{if(!c){break a}while(1){d=r[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=r[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=r[a|0];break a}b=b+1|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=r[b|0];return e-(a-65>>>0<26?a|32:a)|0}function sqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=a+4|0;a:{b:{g=q[a+8>>2];d=q[a+4>>2];f=g-d|0;if(f>>>0>>0){if(o[a+12|0]&1){break b}Ii(((c+g|0)-q[a>>2]|0)+1024|0,1,a,a+8|0,e);d=q[a+4>>2];f=q[a+8>>2]-d|0}if(c>>>0>f>>>0){break a}Gi(d,b,c);q[e>>2]=q[e>>2]+c;return 1}J(22151,22226,493,22282);G()}J(22294,22226,540,22323);G()}function jS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;d=Wi(a,3,0);q[c+8>>2]=0;a:{if(!nj(d,132065)){break a}if(wt(d,c+8|0)){break a}Qj(a,3,132067)}b:{if((yl(q[b>>2],0,32,c+8|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function XL(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=ti-256|0;ti=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;q[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Gi(d,q[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Gi(q[g>>2],q[(d<<2)+b>>2],f);q[g>>2]=q[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=q[h>>2];continue}}ti=e+256|0}function QA(a,b,c){var d=0,e=0,f=0,g=0;d=3;a:{b:{if(a+1>>>0<2){break b}e=a&65535;f=q[213374];if(e>>>0>=t[f+8>>2]){break a}g=q[q[f>>2]+(e<<2)>>2];if(!g|s[q[f+4>>2]+(e<<1)>>1]!=(a>>>16|0)){break b}d=6;if(r[g+34|0]<=b>>>0){break b}a=q[g+4>>2]+(b<<4)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;d=0}return d}J(149021,149036,144,149074);G()}function OE(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;if((Ei(a,1)|0)>=1){e=dj(a,1,0);a:{if(e){f=jj(a,4);q[f>>2]=0;Ki(a,-1e4,140233);ij(a,-2);c=il(e,c);q[f>>2]=c;if(c){break a}q[d+4>>2]=al(q[242957]);q[d>>2]=e;vj(a,140342,d);Qj(a,1,dj(a,-1,0));break a}if(!q[rm(a,140233)>>2]){Bi(a,140305,0)}Qi(a,1)}bk(a,-10001,b)}bj(a,-10001,b);ti=d+16|0}function K8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+412>>2]=q[a+412>>2]&-16|c&15;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Cl(a,b){var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;v[b>>3]=Dt(a,d+12|0);c=q[d+12>>2];a:{if((c|0)==(a|0)){break a}e=r[c|0];if((e|32)==120){v[b>>3]=Jw(a,d+12|0,16)>>>0;c=q[d+12>>2];e=r[c|0]}if(!e){f=1;break a}if(!((e|0)==32|e-9>>>0<5)){break a}while(1){a=r[c+1|0];c=c+1|0;if((a|0)==32|a-9>>>0<5){continue}break}f=!a}ti=d+16|0;return f}function Ui(a){a=a|0;var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!r[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(r[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=q[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=r[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Ss(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[c>>2]=q[a+436>>2];return q[a+432>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function EP(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+204>>2];q[c>>2]=0;d=q[a+236>>2];a:{if(!d){break a}d=Ui(d);e=e+16384|0;if(e>>>0>>0){break a}f=d+9|0;if(f>>>0>e-b>>>0){break a}o[b+8|0]=d;o[b+6|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+7|0]=d>>>8;e=d+3|0;o[b+5|0]=e;g=d+5|0;o[b+3|0]=g;o[b+4|0]=e>>>8;o[b+2|0]=g>>>8;Gi(b+9|0,q[a+236>>2],d);q[c>>2]=f}}function Bo(a,b,c){var d=0,e=0,f=0,g=0;e=3;a:{b:{if(a+1>>>0<2){break b}f=a&65535;g=q[213374];if(f>>>0>=t[g+8>>2]){break a}d=q[q[g>>2]+(f<<2)>>2];if(!d|s[q[g+4>>2]+(f<<1)>>1]!=(a>>>16|0)){break b}e=1;a=q[d>>2];d=w(q[d+24>>2],q[d+28>>2]);if(pj(a+d|0,148944,16)){break b}q[c>>2]=d;q[b>>2]=a;e=0}return e}J(149021,149036,144,149074);G()}function wI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+404>>2]=q[a+404>>2]&1|c<<1;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Tpa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(b){f=b;b=q[a+144>>2];q[f>>2]=(b|0)==1?1:(b|0)==-1?-1:0}if(c){q[c>>2]=q[a+140>>2]}c=q[a+8>>2];if(d){q[d>>2]=c}a:{if(!e){break a}q[e>>2]=Ji(c<<2);if((c|0)<1){break a}b=0;while(1){d=b<<2;f=Jk(q[(d+a|0)+12>>2]);q[d+q[e>>2]>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Kma(a){a=a|0;var b=0,c=0,d=0;c=q[a+84>>2];d=q[a+80>>2];q[a>>2]=d;q[a+4>>2]=c;q[a+80>>2]=0;q[a+84>>2]=0;b=q[a+116>>2];q[a+32>>2]=q[a+112>>2];q[a+36>>2]=b;b=q[a+108>>2];q[a+24>>2]=q[a+104>>2];q[a+28>>2]=b;b=q[a+100>>2];q[a+16>>2]=q[a+96>>2];q[a+20>>2]=b;b=q[a+92>>2];q[a+8>>2]=q[a+88>>2];q[a+12>>2]=b;return(d|0)!=0|(c|0)!=0}function Gwa(){var a=0;$M(0);Zn(q[215584]);a:{if(o[862436]&1){break a}a=q[215606];if(!a){break a}yi(a)}b:{if(o[862420]&1){break b}a=q[215602];if(!a){break b}yi(a)}c:{if(o[862404]&1){break c}a=q[215596];if(a){yi(a)}a=q[215594];if(!a){break c}yi(a)}d:{if(o[862372]&1){break d}a=q[215588];if(a){yi(a)}a=q[215586];if(!a){break d}yi(a)}}function VL(a,b,c){var d=0,e=0;Gp(a,c);Gp(b+128|0,c+8|0);Gp(a+256|0,c+16|0);c=0;while(1){d=c<<2;e=d+b|0;q[e>>2]=q[(94-c<<2)+a>>2];q[(d|4)+b>>2]=q[(95-c<<2)+a>>2];d=a+d|0;q[d+128>>2]=q[(62-c<<2)+b>>2];q[d+132>>2]=q[(63-c<<2)+b>>2];q[e+256>>2]=q[(30-c<<2)+a>>2];q[e+260>>2]=q[(31-c<<2)+a>>2];d=c>>>0<30;c=c+2|0;if(d){continue}break}}function QR(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;a=Hx(a,b,e,d);a:{if(a){a=a-14976|0;break a}a=-15488;b=IS(e);f=-46;b:{if(!b){break b}q[c>>2]=q[b+16>>2];f=0}if(f){break a}if(q[c>>2]==1){a=-14976;c:{switch(q[d>>2]){case 0:case 5:break c;default:break a}}if(q[d+4>>2]){break a}}a=0}ti=e+16|0;return a}function Mt(a,b){var c=0,d=0,e=0,f=0;c=ti-1040|0;ti=c;q[c+4>>2]=0;q[c+8>>2]=a;q[c>>2]=c+12;d=Yk(c);a:{if(vu(d,1024,b)){while(1){b:{e=Ui(d);if(!e){break b}f=d;d=e-1|0;if(r[f+d|0]!=10){break b}q[c>>2]=q[c>>2]+d;gm(c);a=1;break a}q[c>>2]=q[c>>2]+e;d=Yk(c);if(vu(d,1024,b)){continue}break}}gm(c);a=(Mk(a,-1)|0)!=0}ti=c+1040|0;return a}function E8(a,b,c,d){var e=0,f=0;a:{b:{e=b&65535;f=q[a+36>>2];a=q[a+32>>2];if(e>>>0<(f-a|0)/576>>>0){if(s[(a+w(e,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(e,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+544>>2]=c;q[a+548>>2]=d;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function nS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;f=c;d=xj(a,3);a:{if(y(d)<2147483648){e=~~d;break a}e=-2147483648}q[f+12>>2]=e;b:{if((yl(q[b>>2],41,16,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function f3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;q[212908]=Tl(a,128672,128680,263680);q[212904]=Tl(a,128688,128696,263728);q[212905]=Tl(a,128704,128712,263824);q[212906]=Tl(a,128720,128728,263920);q[212907]=Tl(a,128736,128744,263984);ik(a,128752,264048);Ci(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(128758,128779,2368,128803);G()}}function V5(a){var b=0,c=0;if(q[a+1872>>2]){b=q[a+220>>2];c=q[b+8>>2];if((c|0)!=-1){xi[q[77466]](c)}c=q[b+12>>2];if((c|0)!=-1){xi[q[77467]](c)}fz(a,b);fz(a,q[a+860>>2]);b=q[a+368>>2];if(b){yi(b)}b=q[a+688>>2];if(b){yi(b)}b=q[a+1008>>2];if(b){yi(b)}b=q[a+1328>>2];if(b){yi(b)}xi[q[77440]](q[a+1876>>2]);xi[q[77453]](q[a+1880>>2])}}function ppa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;d=q[q[a+24>>2]>>2];f=q[q[d>>2]+44>>2];q[c+28>>2]=0;q[c+24>>2]=0;q[c+20>>2]=0;o[c+19|0]=0;q[c+12>>2]=0;e=-1;if(VK(f+60|0,q[a+16>>2],q[a+20>>2],c+20|0,c+28|0,c+24|0,c+19|0,c+12|0)){e=EK(d,q[c+20>>2],q[c+28>>2],q[c+24>>2],r[c+19|0],q[c+12>>2],b)}ti=c+32|0;return e|0}function hS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;f=c;d=xj(a,3);a:{if(y(d)<2147483648){e=~~d;break a}e=-2147483648}q[f+12>>2]=e;b:{if((yl(q[b>>2],0,33,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break b}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function Xp(a,b,c,d){var e=0,f=0;f=ti-16|0;ti=f;e=q[a>>2];a:{if(e){e=xi[e|0](a,q[a+8>>2],b,c,d)|0;if((e|0)!=-1){break a}}e=q[a+12>>2];if(e){e=xi[e|0](a,q[a+20>>2],b,c,d)|0;if((e|0)!=-1){break a}}e=q[a+24>>2];if(e){e=xi[e|0](a,q[a+32>>2],b,c,d)|0;if((e|0)!=-1){break a}}q[f>>2]=Mi(b,c);Ai(4,13905,14016,f);e=-1}ti=f+16|0;return e}function Ux(a,b){var c=0,d=0;c=ti-32|0;ti=c;q[c+20>>2]=b;q[c+16>>2]=139485;vj(a,139480,c+16|0);Sj(a,-1e4);a:{if(Ei(a,-1)){d=aj(a,-1);break a}Ci(a,-2);d=jj(a,4);q[d>>2]=0;Ki(a,-1e4,139146);ij(a,-2);q[c+4>>2]=b;q[c>>2]=139485;vj(a,139480,c);Qi(a,-2);$i(a,-1e4)}b=q[d>>2];Ni(a,139495,58);a=2;ti=c+32|0;if(!b){q[d>>2]=0;a=1}return a}function U_(a,b,c,d,e,f){var g=0,h=0;g=ti-32|0;ti=g;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;h=-20352;a=a+76|0;if((Dm(a,0)|0)==1){o[f|0]=!Dm(b,0);h=gk(g+16|0,b);a:{if(h){break a}h=hl(g,a,b);if(h){break a}h=Vt(g+16|0,g,r[f|0]);if(h){break a}V_(c,d,e,g+16|0);h=0}Si(g);Si(g+16|0)}ti=g+32|0;return h}function Qp(a,b,c){var d=0,e=0,f=0;a:{b:{d=q[a+12>>2];if(d){e=q[d+4>>2];f=q[d+8>>2];if((e|0)==(f|0)){if(o[d+12|0]&1){break b}Ii((e-q[d>>2]>>3)+128|0,8,d,d+8|0,d+4|0);d=q[a+12>>2];e=q[d+4>>2];f=q[d+8>>2]}if((e|0)==(f|0)){break a}q[d+4>>2]=e+8;q[e+4>>2]=c;q[e>>2]=b}return}J(26943,26397,493,27018);G()}J(27219,26397,533,27243);G()}function EV(a){k$(a);q[a+232>>2]=0;q[a+224>>2]=1;q[a+228>>2]=0;q[a+244>>2]=0;q[a+236>>2]=1;q[a+240>>2]=0;q[a+256>>2]=0;q[a+248>>2]=1;q[a+252>>2]=0;q[a+268>>2]=0;q[a+260>>2]=1;q[a+264>>2]=0;q[a+280>>2]=0;q[a+272>>2]=1;q[a+276>>2]=0;q[a+292>>2]=0;q[a+284>>2]=1;q[a+288>>2]=0;q[a+304>>2]=0;q[a+296>>2]=1;q[a+300>>2]=0;q[a+220>>2]=0}function Cua(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=o[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=o[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=o[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(w(d,10)-o[b|0]|0)+48|0;a=o[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function BM(a,b,c,d,e,f){var g=0;a:{if(!jw(a,b)){break a}b=cB(a,c);if((b|0)<0|!(r[a+17|0]|(r[a+18|0]<<8|r[a+19|0]<<16))){break a}a=((r[a+65|0]|r[a+66|0]<<8|(r[a+67|0]<<16|r[a+68|0]<<24))+a|0)+w(b,23)|0;q[d>>2]=r[a+5|0]|r[a+6|0]<<8;q[e>>2]=r[a+7|0]|r[a+8|0]<<8;q[f>>2]=w(r[a+9|0]|r[a+10|0]<<8,r[a+11|0]|r[a+12|0]<<8);g=1}return g}function wX(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+16>>2]=0;q[d+12>>2]=0;q[d+8>>2]=c;q[d+4>>2]=1139;q[d>>2]=a;o[d+24|0]=81;o[d+25|0]=0;o[d+26|0]=1;o[d+27|0]=4;o[d+28|0]=4;o[d+29|0]=4;o[d+30|0]=8;o[d+31|0]=0;o[d+20|0]=27;o[d+21|0]=76;o[d+22|0]=117;o[d+23|0]=97;q[d+16>>2]=xi[1139](a,d+20|0,12,c);nN(b,0,d);ti=d+32|0;return q[d+16>>2]}function vq(a,b,c){var d=0,e=0;a:{if(!c){break a}d=q[a+68>>2];b:{if(!d){d=0;break b}e=(a+d|0)+52|0;d=16-d|0;if(d>>>0>c>>>0){Gi(e,b,c);q[a+68>>2]=q[a+68>>2]+c;return 0}Gi(e,b,d);q[a+68>>2]=0;gx(a,1,a+52|0,1);c=c-d|0}if(c>>>0>=16){gx(a,c>>>4|0,b+d|0,1);d=(c&-16)+d|0;c=c&15}if(!c){break a}q[a+68>>2]=c;Gi(a+52|0,b+d|0,c)}return 0}function s4(a,b,c,d){var e=0,f=0,g=0,h=0;h=-3;f=q[a>>2];e=q[f+4>>2];a:{if(!e){break a}e=q[q[f>>2]+(Qwa(b,c,e)<<2)>>2];if((e|0)==-1){break a}f=q[f+8>>2];while(1){g=f+w(e,48)|0;if((b|0)!=q[g>>2]|q[g+4>>2]!=(c|0)){e=q[g+40>>2];if((e|0)!=-1){continue}break a}break}b=a;a=f+w(e,48)|0;Rp(b,q[a+16>>2]);q[d>>2]=q[a+16>>2];h=0}return h}function _2(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]>>4;if(!c){Bi(a,122678,0)}q[b+12>>2]=0;q[b+8>>2]=0;a:{if(oX(a,b+12|0,b+8|0)){Ni(a,q[b+12>>2],q[b+8>>2]);yi(q[b+12>>2]);break a}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16}if((c+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(122525,122550,162,122713);G()}ti=b+16|0;return 1}function AQ(a,b){var c=0;c=q[a+68>>2];Sw(c);a:{if(32768-q[c+524>>2]>>>0>=b>>>0){break a}go(q[a+68>>2],3);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}go(q[a+68>>2],2);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}go(q[a+68>>2],1);if(32768-q[c+524>>2]>>>0>=b>>>0){break a}go(q[a+68>>2],0);return 32768-q[c+524>>2]>>>0>>0?-1:0}return 0}function bY(a){a=a|0;var b=0,c=0,d=0,e=0;mj(a,1,5);b=hm(a,2,1);e=b;a:{if((Ei(a,3)|0)<=0){c=Mk(a,1);break a}c=Xi(a,3)}b:{if((e|0)>(c|0)){break b}c:{d=c-b|0;if((d|0)>=0){d=d+1|0;if(Jp(a,d)){break c}}return Bi(a,138907,0)|0}bj(a,1,b);if((b|0)>=(c|0)){break b}while(1){b=b+1|0;bj(a,1,b);if((b|0)!=(c|0)){continue}break}}return d|0}function Sp(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=-3;d=q[a+4>>2];a=q[d+4>>2];a:{if(!a){break a}a=q[q[d>>2]+((b>>>0)%(a>>>0)<<2)>>2];if((a|0)==-1){break a}d=q[d+8>>2];while(1){f=d+w(a,24)|0;if(q[f>>2]!=(b|0)){a=q[f+16>>2];if((a|0)!=-1){continue}break a}break}a=d+w(a,24)|0;g=q[a+8>>2];h=q[a+12>>2];e=0}q[c>>2]=g;q[c+4>>2]=h;return e}function Iba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}wi=q[a+548>>2];return q[a+544>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Hba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}wi=q[a+500>>2];return q[a+496>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Cba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}wi=q[a+428>>2];return q[a+424>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function RI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}wi=q[a+484>>2];return q[a+480>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function K1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=ti-32|0;ti=e;f=Zi(e+8|0,a,1,124351,420);b=Wi(a,1,0);if((Ei(a,2)|0)!=-1){d=Xi(a,2)}a:{b:{c=Op(a);if(!c){break b}c=q[c>>2];if(!c){break b}b=Fj(c,b,d);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}Yi(f);ti=e+32|0;return 1}function vja(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;g=ti-32|0;ti=g;h=q[e>>2];i=q[e+4>>2];f=q[e+8>>2];if(en(f)){e=f?q[f>>2]:0;j=Zi(g+8|0,e,0,67401,92);a:{if(Np(f)){Zj(e,h,i);Zj(e,b,c);b=q[e+8>>2];q[b+8>>2]=3;v[b>>3]=d>>>0;q[e+8>>2]=q[e+8>>2]+16;Vl(e,4,0);Kq(f);if(a|d){break a}}Pm(f)}Yi(j)}ti=g+32|0}function Sma(a,b){var c=0,d=0,e=0;c=q[b+4>>2];d=c;if(!c){d=q[b>>2]}if(o[d+28|0]&1){if(o[b+24|0]&1){Ai(4,30266,30339,0);return 0}c=c?c:q[b>>2];d=q[c+16>>2];e=q[c+12>>2];if((d|0)!=(e|0)){a=q[a+32>>2];b=0;d=e;while(1){Pi(a,q[(b<<2)+d>>2]);b=b+1|0;d=q[c+12>>2];if(b>>>0>2]-d>>2>>>0){continue}break}}q[c+16>>2]=d}return 1}function Mqa(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;q[d+12>>2]=b;q[d+8>>2]=c;b=Kz(d+8|0,8);c=q[a+4>>2];a:{if(!c){break a}c=q[q[a>>2]+((b>>>0)%(c>>>0)<<2)>>2];if((c|0)==-1){break a}a=q[a+8>>2];while(1){e=a+w(c,12)|0;if((b|0)!=q[e>>2]){c=q[e+8>>2];if((c|0)!=-1){continue}break a}break}f=q[(a+w(c,12)|0)+4>>2]}ti=d+16|0;return f}function Dw(a,b,c,d){var e=0,f=0,g=0;e=jq(a,b,c);f=q[d+4>>2];g=q[c+4>>2];if((f|0)==(g|0)&t[d>>2]>2]|f>>>0>>0){Il(c,d);d=q[c+4>>2];f=q[b+4>>2];if((d|0)==(f|0)&t[c>>2]>=t[b>>2]|d>>>0>f>>>0){return e+1|0}Il(b,c);c=q[b+4>>2];d=q[a+4>>2];if((c|0)==(d|0)&t[b>>2]>=t[a>>2]|c>>>0>d>>>0){return e+2|0}Il(a,b);e=e+3|0}return e}function CY(a){a=a|0;var b=0,c=0;b=sn(a,1);a:{if(b){b=eB(a,b,(q[a+8>>2]-q[a+12>>2]>>4)-1|0);break a}Qj(a,1,139022);b=eB(a,0,(q[a+8>>2]-q[a+12>>2]>>4)-1|0)}if((b|0)<=-1){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);return 2}c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=1;q[a+8>>2]=q[a+8>>2]+16;hk(a,b^-1);return b+1|0}function x6(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>2>>>0){a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){break b}b=q[a+4>>2];a=q[a>>2];if((b-a|0)/304>>>0<=c>>>0){break a}a=a+w(c,304)|0;return w((q[a+60>>2]-q[a+56>>2]|0)/160|0,6)}break a}Ai(4,145356,145973,0);G()}J(146626,145751,479,145962);G()}function rra(a,b){var c=0,d=0,e=0;d=q[a+28>>2];wj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=s[a+56>>1];qj(d);return a}J(162905,162757,479,162916);G()}J(162871,162574,187,162891);G()}J(162606,162574,484,162668);G()}function qra(a,b){var c=0,d=0,e=0;d=q[a+28>>2];wj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=q[a+40>>2];qj(d);return a}J(162905,162757,479,162916);G()}J(162871,162574,187,162891);G()}J(162606,162574,475,162655);G()}function pra(a,b){var c=0,d=0,e=0;d=q[a+28>>2];wj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}a=q[a+44>>2];qj(d);return a}J(162905,162757,479,162916);G()}J(162871,162574,187,162891);G()}J(162606,162574,466,162645);G()}function am(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0);c=ti-48|0;ti=c;d=Li(a,b,q[212905],0);f=u[d>>2];g=u[d+4>>2];a:{b:{if(f!=f|g!=g){break b}e=u[d+8>>2];if(e!=e){break b}e=u[d+12>>2];if(e==e){break a}}e=u[d+8>>2];h=u[d+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;Bi(a,128909,c)}ti=c+48|0;return d}function Zta(a,b,c){var d=0,e=0;d=ti-16|0;ti=d;Xta(d+12|0,d+8|0,d+4|0,c);c=q[d+8>>2]+(b>>>5&31)|0;e=q[d+12>>2]+(b>>>10&31)|0;b=q[d+4>>2]+(b&31)|0;if((b|(c|e))>>>0>=32){e=(e|0)<0?0:(e|0)>31?31:e;c=(c|0)<0?0:(c|0)>31?31:c;b=(b|0)<0?0:(b|0)>31?31:b}o[a+3|0]=255;o[a+2|0]=b<<3|b>>2;o[a+1|0]=c<<3|c>>2;o[a|0]=e<<3|e>>2;ti=d+16|0}function ZN(a,b){var c=0,d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;c=a+8|0;kq(a,a+4|0,c);d=a+12|0;while(1){if((b|0)!=(d|0)){if(t[d>>2]>2]){q[e+12>>2]=q[d>>2];g=d;while(1){a:{f=c;q[g>>2]=q[c>>2];if((a|0)==(c|0)){f=a;break a}g=f;c=f-4|0;if(t[e+12>>2]>2]){continue}}break}q[f>>2]=q[e+12>>2]}c=d;d=c+4|0;continue}break}ti=e+16|0}function UF(a,b){var c=0,d=0,e=0;c=ti-528|0;ti=c;d=q[215850];if(d){gl(d);yi(q[215850])}d=Vj(1,344);q[215850]=d;e=-1;a:{if(!d){break a}a=MT(d,a,b+1|0);e=0;if(!a){break a}Fi(c+16|0,0,512);o[c+16|0]=0;q[c>>2]=(a|0)<0?176305:176307;b=a;a=a>>31;q[c+4>>2]=b+a^a;q[c+8>>2]=c+16;Ai(4,176252,176257,c);e=-2e3}d=e;ti=c+528|0;return d}function Pq(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0),h=x(0);c=ti-48|0;ti=c;d=Li(a,b,q[212906],0);f=u[d>>2];g=u[d+4>>2];a:{b:{if(f!=f|g!=g){break b}e=u[d+8>>2];if(e!=e){break b}e=u[d+12>>2];if(e==e){break a}}e=u[d+8>>2];h=u[d+12>>2];v[c+16>>3]=g;v[c+32>>3]=h;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;Bi(a,129003,c)}ti=c+48|0;return d}function m0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=q[242116];d=q[c+16>>2];if(d){wj(d);c=q[242116]}e=q[c+100>>2];if(e>>>0<=t[a>>2]){if(e){while(1){g=w(f,1056)+c|0;i=q[g+116>>2];h=(f<<3)+b|0;q[h>>2]=q[g+112>>2];q[h+4>>2]=i;f=f+1|0;if((f|0)!=(e|0)){continue}break}}q[a>>2]=e;if(d){qj(d)}return}J(204303,204086,710,204318);G()}function cX(a){var b=0,c=0;c=ti-16|0;ti=c;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1437217655;q[a+8>>2]=q[a+8>>2]+16;axa(+(xj(a,-1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;if((b|0)!=1437217655){a:{if(b){break a}if(Bj(a,-1)){break a}wk(a,-1,131346)}q[c>>2]=(b|0)==1127743488?131275:131238;Bi(a,131308,c)}ik(a,131342,264368);ti=c+16|0}function Zqa(){var a=0,b=0,c=0,d=0,e=0;b=883100;c=ti-16|0;ti=c;e=r[277316];o[277316]=1;Ai(4,202282,202288,0);d=Ui(883100)+883100|0;while(1){if(b>>>0>>0){a=Oj(b,10);if(!a){a=Oj(b,13)}if(!(!a|a>>>0>=d>>>0)){o[a|0]=0}q[c>>2]=b;Ai(4,202282,202302,c);b=a+1|0;if(a){continue}}break}Ai(4,202282,202306,0);o[277316]=e;ti=c+16|0}function Xsa(a){a=a|0;var b=0,c=0,d=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;c=Zwa(0)|0;b:{if(c){break b}if(Bj(a,2)){break b}wk(a,2,131346)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=Twa(b,c)|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Wsa(a){a=a|0;var b=0,c=0,d=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;c=Zwa(0)|0;b:{if(c){break b}if(Bj(a,2)){break b}wk(a,2,131346)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=Vwa(b,c)|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function LO(a){var b=0,c=0,d=0;axa(+a);c=Zwa(1)|0;b=Zwa(0)|0;d=c;_wa(0,b|0);c=c&2147483647;_wa(1,c|0);a=+$wa();b=c;a:{if(b>>>0>=1071748075){if(b>>>0>=1077149697){a=-0/a+1;break a}a=1-2/(ss(a+a)+2);break a}if(b>>>0>=1070618799){a=ss(a+a);a=a/(a+2);break a}if(b>>>0<1048576){break a}a=ss(a*-2);a=-a/(a+2)}return(d|0)>-1?a:-a}function x1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;e=1;f=Zi(b+8|0,a,1,124351,1261);mj(a,1,5);a:{b:{d=RF(a,1);if(d>>>0<524289){c=327168;break b}q[b+28>>2]=0;xo(b+28|0,16,d);c=q[b+28>>2];if(c){break b}q[b>>2]=d;e=Bi(a,124060,b);break a}Ni(a,c,Cs(a,c,d,1));if((c|0)==327168){break a}yi(c)}Yi(f);ti=b+32|0;return e|0}function AU(a,b,c,d,e,f,g){var h=0;h=-16512;a:{if(q[a+164>>2]){break a}h=NC(d,e,f,q[a+4>>2],g);if(h){break a}h=-16;e=q[a+4>>2];d=Vj(1,e);if(!d){break a}e=Vj(1,e);if(!e){yi(d);return-16}h=Tt(a,b,c,g,d);b:{if(h){break b}h=Sr(a,d,e);if(h){break b}h=-17152;a=q[a+4>>2];if(gD(e,g,a)){break b}Gi(g,d,a);h=0}yi(d);yi(e)}return h}function e$(a,b,c,d){var e=0,f=0;e=ti-160|0;ti=e;q[e+12>>2]=e+155;b=QD(e+12|0,e+16|0,b);a:{if((b|0)<0){break a}a=QD(e+12|0,e+16|0,a);if((a|0)<0){b=a;break a}f=a+b|0;b=RD(e+12|0,e+16|0,f);if((b|0)<0){break a}a=PD(e+12|0,e+16|0,48);if((a|0)<0){b=a;break a}a=a+(b+f|0)|0;Gi(c,q[e+12>>2],a);q[d>>2]=a;b=0}ti=e+160|0;return b}function XO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-1040|0;ti=b;e=Wi(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(q[b+1036>>2]){f=b+1036|0;while(1){a=q[b>>2];if(f>>>0<=a>>>0){Yk(b);a=q[b>>2]}d=r[c+e|0];q[b>>2]=a+1;o[a|0]=d-65>>>0<26?d|32:d;c=c+1|0;if(c>>>0>2]){continue}break}}gm(b);ti=b+1040|0;return 1}function SO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-1040|0;ti=b;e=Wi(a,1,b+1036|0);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(q[b+1036>>2]){f=b+1036|0;while(1){a=q[b>>2];if(f>>>0<=a>>>0){Yk(b);a=q[b>>2]}d=r[c+e|0];q[b>>2]=a+1;o[a|0]=d-97>>>0<26?d&95:d;c=c+1|0;if(c>>>0>2]){continue}break}}gm(b);ti=b+1040|0;return 1}function KN(a,b,c){var d=0;d=Ui(b);a:{if(r[a+280|0]&32){a=a+248|0;while(1){if(!AB(a,b,d)){break a}a=q[a+12>>2];if(a){continue}break}q[c>>2]=q[c>>2]|4;return}a=a+112|0;while(1){b:{if(q[a+4>>2]!=3){break b}if(pj(170065,q[a+8>>2],3)){break b}if(!AB(a+12|0,b,d)){break a}}a=q[a+24>>2];if(a){continue}break}q[c>>2]=q[c>>2]|4}}function JL(a,b){var c=0,d=0,e=0;d=q[a+28>>2];wj(d);a:{b:{c=b&65535;e=q[a+12>>2];a=q[a+8>>2];if(c>>>0>6>>>0){if(s[(a+(c<<6)|0)+54>>1]!=(b>>>16|0)){break b}a=a+(c<<6)|0;if(q[a+48>>2]!=2){break a}q[a+48>>2]=1;qj(d);return}J(162905,162757,479,162916);G()}J(162871,162574,187,162891);G()}J(162606,162574,448,162632);G()}function Aba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return(r[a+414|0]&32)>>>5|0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function yla(a){a=a|0;var b=0,c=0,d=0;c=q[a>>2];b=Oi(52);q[b>>2]=0;q[b+4>>2]=0;q[b+48>>2]=-1;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=q[a+16>>2];c=q[c+4>>2];c=c>>>0>d>>>0?d:c;T6(b,c);Fi(q[b>>2],0,c<<8);q[q[a+12>>2]>>2]=b;return 0}function x9(a){a=a|0;var b=0,c=x(0),d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=x(Ri(a,2));if(!(c>x(360)^1?!(c>3]=c;Bi(a,201335,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);vI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2618,201363);G()}ti=b+16|0;return 0}function nv(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return(r[a+415|0]&16)>>>4|0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function gk(a,b){var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}e=q[b+8>>2];if(!e){Si(a);return 0}c=q[b+4>>2];while(1){d=c;c=c-1|0;if(q[(c<<2)+e>>2]?0:c){continue}break}q[a>>2]=q[b>>2];c=q[a+4>>2];b:{if(c>>>0>>0){c=bl(a,d);if(!c){break b}break a}Fi(q[a+8>>2]+(d<<2)|0,0,c-d<<2)}Gi(q[a+8>>2],q[b+8>>2],d<<2);c=0}return c}function cda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(Oj(b,32)|!r[b|0]){break a}c=q[a+8>>2];d=q[a+4>>2];a=c-d|0;if(!a){break a}c=d-c|0;c=((a|0)<(c|0)?c:a)>>>2|0;a=(a|0)>-1?a:-1;a=w(c,(a|0)<1?a:1);c=a>>>0>1?a:1;a=0;while(1){e=nj(b,q[(a<<2)+d>>2]);f=!e;if(!e){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}return f|0}function Vsa(a){a=a|0;var b=0,c=0,d=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;c=Zwa(0)|0;b:{if(c){break b}if(Bj(a,2)){break b}wk(a,2,131346)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function U8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[b>>2];a:{if(lba(q[c+12>>2],q[c+16>>2])){e=q[c+16>>2];c=q[c+12>>2];d=jj(a,8);q[d>>2]=c;q[d+4>>2]=e;Ki(a,-1e4,196365);ij(a,-2);break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}Zj(a,q[b+8>>2],q[b+12>>2]);b=q[b+16>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16}function LT(a,b,c){var d=0,e=0,f=0;f=-10240;a:{if(!a|!b){break a}f=0;d=a;b:{if(!q[d+28>>2]){break b}while(1){e=d;d=q[d+340>>2];if(d){if(q[d+28>>2]){continue}break b}break}d=Vj(1,344);q[e+340>>2]=d;if(!d){return-10368}_C(d);d=q[e+340>>2]}b=NN(d,b,c);if(!b){break a}if(e){q[e+340>>2]=0}if((a|0)!=(d|0)){yi(d)}f=b}return f}function Eda(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(b>>>0<2097152){if(a+1>>>0<2){break a}b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break b}d=q[q[c+24>>2]+(b<<2)>>2];if(!d|s[q[c+28>>2]+(b<<1)>>1]!=(a>>>16|0)){break a}return r[d+12|0]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}J(89827,84160,2824,89831);G()}function xba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>10&3}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function cB(a,b){var c=0,d=0,e=0;if(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16)){e=a+65|0;while(1){c=e;c=((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))+a|0)+w(d,23)|0;if(!(r[c|0]|(r[c+1|0]<<8|r[c+2|0]<<16)|r[c+3|0]!=(b|0))){return d}d=d+1|0;if(d>>>0<(r[a+14|0]|(r[a+15|0]<<8|r[a+16|0]<<16))>>>0){continue}break}}return-1}function b2(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-119|0){case 1:u[c>>2]=Ri(a,-1);break a;case 2:u[c+4>>2]=Ri(a,-1);break a;case 3:u[c+8>>2]=Ri(a,-1);break a;case 0:u[c+12>>2]=Ri(a,-1);break a;default:break b}}q[b+4>>2]=128720;q[b>>2]=128752;d=Bi(a,129544,b)}ti=b+16|0;return d|0}function Wz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>12&15}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function PI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return(r[a+414|0]&8)>>>3|0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function LX(a,b){var c=0,d=0,e=0;c=b-1|0;if(c>>>0>2]){return q[a+12>>2]+(c<<4)|0}d=+(b|0);if(b){e=q[a+16>>2];axa(+d);c=Zwa(1)|0;b=Zwa(0)|0;c=b+c|0;a=((c>>>0)%((-1<>>0)<<5)+e|0}else{a=q[a+16>>2]}while(1){if(!(q[a+24>>2]!=3|v[a+16>>3]!=d)){return a}a=q[a+28>>2];if(a){continue}break}return 135744}function yba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>8&3}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function u4(a,b){var c=0,d=0,e=0,f=0;c=ti-80|0;ti=c;e=q[q[a+8>>2]+20>>2];a=0;o[c+32|0]=0;f=c+78|0;while(1){q[c+16>>2]=r[a+e|0];hj(c+77|0,3,24500,c+16|0);d=Lw(Lw(c+32|0,c+77|0,1),f,1);a=a+1|0;if((a|0)!=20){continue}break}b=Au(d,b);a=0;a:{if(!b){break a}q[c+4>>2]=b;q[c>>2]=d;Ai(4,24387,24679,c);a=-9}ti=c+80|0;return a}function tsa(a){a=a|0;var b=0,c=0,d=0;b=ti-256|0;ti=b;c=q[52088];Rl(141859,11,1,c);d=q[52086];a:{if(!vu(b,250,d)){break a}while(1){if(!pj(b,141871,6)){break a}b:{if(!gu(a,b,Ui(b),141877)){if(!Hp(a,0,0,0)){break b}}ey(dj(a,-1,0),c);tu(10,c)}Ci(a,0);Rl(141859,11,1,c);if(vu(b,250,d)){continue}break}}ti=b+256|0;return 0}function mja(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);a:{c=hp(a,q[76921],c,wi,74135);b:{if(!Ao(q[c+4>>2])){a=Bi(a,74143,0);break b}Rp(q[76921],c);q[b+12>>2]=2;q[b+8>>2]=c;zy(a,b+8|0);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}a=1}ti=b+16|0;return a|0}J(71955,71492,2399,74172);G()}function ep(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]>>>4&15}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Uea(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);q[b+12>>2]=0;c=n0(c,wi,b+12|0);if(c){q[b>>2]=c;Ai(3,76195,76351,b)}e=u[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(76381,75991,326,76406);G()}ti=b+16|0;return 1}function Nqa(a,b,c){var d=0,e=0,f=0;f=q[b+4>>2];d=q[a+40>>2]+15&-16;q[a+40>>2]=d;e=4;a:{b:{switch((q[b+4>>2]>>>22&63)-9|0){case 2:e=q[q[b+8>>2]+16>>2];break a;case 0:break a;default:break b}}e=KA(f>>>22&63);d=q[a+40>>2]}b=w(c,e)+d|0;q[a+40>>2]=b;if(!(r[a+44|0]|b>>>0<=t[a+36>>2])){J(23832,23863,68,23907);G()}return d}function Ii(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;g=q[c>>2];i=q[d>>2]-g|0;if(((i>>>0)/(b>>>0)|0)!=(a|0)){if(a){h=Oi(w(a,b))}else{h=0}f=(q[e>>2]-g>>>0)/(b>>>0)|0;f=a>>>0>f>>>0?f:a;a:{if(b>>>0>i>>>0){f=w(b,f);break a}f=w(b,f);Gi(h,g,f);if(!g){break a}yi(g)}q[c>>2]=h;q[e>>2]=f+h;q[d>>2]=w(a,b)+h}}function zP(a,b,c){var d=0,e=0;a:{if(!(!(q[q[a>>2]+184>>2]&4096)|c>>>0<2|q[a+20>>2]>1)){d=q[q[a+76>>2]+80>>2];e=0;b:{if(!d){break b}e=q[d+4>>2]}if((e|0)==2){break a}}return Ow(a,b,c)}c:{if(!r[a+230|0]){d=Ow(a,b,1);if((d|0)<1){break c}o[a+230|0]=1}d=Ow(a,b+1|0,c-1|0);if((d|0)<1){break c}o[a+230|0]=0;d=d+1|0}return d}function mv(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+404>>2]>>>1|0}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function iI(a,b){var c=0;if(!(!a|!b|q[a+44>>2]>-1)){c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;q[b+40>>2]=q[a+40>>2];c=q[a+36>>2];q[b+32>>2]=q[a+32>>2];q[b+36>>2]=c;c=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=c;c=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=1}return c}function hx(a,b,c){var d=0,e=0,f=0,g=0;g=Fi(b,0,c);e=c<<1;if(e){c=0;while(1){b=-48;a:{d=r[a|0];if((d-48&255)>>>0<10){break a}b=-55;if((d-65&255)>>>0<6){break a}b=-87;if((d-97&255)>>>0<=5){break a}return-4608}f=(c>>>1|0)+g|0;b=b+d|0;o[f|0]=r[f|0]|(c&1?b:b<<4);a=a+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function cta(a){a=a|0;var b=0,c=0,d=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;c=Zwa(0)|0;b:{if(c){break b}if(Bj(a,2)){break b}wk(a,2,131346)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>c;q[a+8>>2]=q[a+8>>2]+16;return 1}function cV(a,b,c){var d=0,e=0,f=0;d=(c>>>2|0)+((c&3)!=0)|0;a:{if((d|0)!=q[a+4>>2]){Si(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;d=bl(a,d);if(d){break a}}d=lk(a,0);if(d){break a}if(!c){return 0}f=q[a+8>>2];d=0;a=0;while(1){e=(a&-4)+f|0;q[e>>2]=q[e>>2]|r[a+b|0]<<(a<<3&24);a=a+1|0;if((c|0)!=(a|0)){continue}break}}return d}function Ysa(a){a=a|0;var b=0,c=0,d=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}axa(+(xj(a,2)+6755399441055744));Zwa(1)|0;c=Zwa(0)|0;b:{if(c){break b}if(Bj(a,2)){break b}wk(a,2,131346)}d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b<>2]=q[a+8>>2]+16;return 1}function Sr(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;e=-16512;if(!Gr(a,0)){q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;a:{b:{e=an(d,b,q[a+4>>2]);c:{if(e){break c}e=-4;b=a+8|0;if((Lj(d,b)|0)>-1){break c}f=q[a+4>>2];e=ko(d,d,a+20|0,b,a+104|0);if(!e){break b}}e=e-17024|0;break a}a=pn(d,c,f);e=a?a-17024|0:0}Si(d)}ti=d+16|0;return e}function DF(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;f=q[a+8>>2]-q[a+12>>2]>>4;a:{b=gu(a,b,c,d);if(!b){if((f+1|0)==q[a+8>>2]-q[a+12>>2]>>4){break a}J(122836,122746,74,122861);G()}q[e>>2]=dj(a,-1,0);Ai(4,122875,122882,e);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4==(f|0)){break a}J(122725,122746,81,122861);G()}ti=e+16|0;return!b}function loa(a){a=a|0;var b=0,c=0,d=0;b=q[a+20>>2];d=q[a+4>>2];c=0;a:{if(!d){break a}c=q[d+120>>2]}b:{if(!jp(q[a>>2],d,b)){break b}c=Ioa(c,b);if(!c){break b}b=Kv(q[a>>2],q[b+140>>2],q[b+144>>2],c+52|0);if(b){CA(c);return b|0}b=q[a+24>>2];q[b+8>>2]=c;q[b+16>>2]=q[a+16>>2]-q[q[c+44>>2]+4>>2];return 0}cj(b);return-13}function jQ(a){var b=0,c=0,d=0,e=0;b=q[a+68>>2];a:{if(!b|!(q[q[a>>2]+184>>2]&2)){break a}c=q[b+580>>2];if(!c|t[a+136>>2]>t[a+144>>2]|s[a+140>>1]!=q[b+588>>2]){break a}d=-27648;b=q[b+584>>2];e=q[a+108>>2];if(b>>>0>(q[a+100>>2]-e|0)+16749>>>0){break a}Gi(e,c,b);d=0;q[a+144>>2]=0;q[a+136>>2]=b;Sw(q[a+68>>2])}return d}function hA(a,b){var c=0;c=q[b>>2];if(c){cj(c)}c=q[b+8>>2];if(c){Pi(a,c)}c=q[b+4>>2];if(c){Pi(a,c)}c=q[b+12>>2];if(c){Pi(a,c)}c=q[b+16>>2];if(c){Pi(a,c)}c=q[b+20>>2];if(c){Pi(a,c)}c=q[b+24>>2];if(c){Pi(a,c)}c=q[b+28>>2];if(c){Pi(a,c)}c=q[b+32>>2];if(c){Pi(a,c)}c=q[b+36>>2];if(c){Pi(a,c)}b=q[b+40>>2];if(b){Pi(a,b)}}function Hl(a,b){var c=0,d=0;a:{if(b>>>0>=26){if(b>>>0>=33){break a}c=aB(a,25);q[a+16>>2]=q[a+16>>2]>>>25;q[a+20>>2]=q[a+20>>2]-25;b=b-25|0;d=aB(a,b);q[a+16>>2]=q[a+16>>2]>>>b;q[a+20>>2]=q[a+20>>2]-b;return c|d<<25}c=aB(a,b);q[a+16>>2]=q[a+16>>2]>>>b;q[a+20>>2]=q[a+20>>2]-b;return c}J(101816,101831,352,101884);G()}function xI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}q[a+408>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function vI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+132>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function sm(a,b){var c=0,d=0,e=0,f=0;tm(a,b);a:{if(q[b>>2]!=12){break a}c=q[b+8>>2];if(c&256|(c|0)>2]=q[a+36>>2]-1}e=q[a+36>>2];c=e+1|0;f=q[a>>2];b:{if(r[f+75|0]>(e|0)){d=c;break b}d=c;if((e|0)>=249){Dj(q[a+12>>2],136502);f=q[a>>2];d=q[a+36>>2]+1|0}o[f+75|0]=c}q[a+36>>2]=d;Iq(a,b,d-1|0)}function sI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+144>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function rI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+148>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function pp(a,b,c,d,e){var f=0,g=0;f=(b<<2)+a|0;b=(c<<2)+a|0;c=q[f>>2]+q[b>>2]|0;q[f>>2]=c;g=c;c=(e<<2)+a|0;e=Twa(g^q[c>>2],16);q[c>>2]=e;a=(d<<2)+a|0;d=e+q[a>>2]|0;q[a>>2]=d;d=Twa(d^q[b>>2],12);q[b>>2]=d;d=d+q[f>>2]|0;q[f>>2]=d;e=c;c=Twa(d^q[c>>2],8);q[e>>2]=c;d=a;a=c+q[a>>2]|0;q[d>>2]=a;q[b>>2]=Twa(a^q[b>>2],7)}function jaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]|0;fj(a,1,b+12|0);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);c=xba(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2350,200983);G()}ti=b+16|0;return 1}function gga(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-16|0;ti=d;b=q[a+8>>2];c=Ui(b);if(c>>>0>=6){e=!nj((b+c|0)-5|0,58909)}b=-11;c=q[a+24>>2];if(!jF(q[a+12>>2],q[a+16>>2],e,d+12|0,q[c>>2],q[c+4>>2])){b=Oi(8);c=q[d+12>>2];q[b+4>>2]=e;q[b>>2]=c;q[q[a+24>>2]+8>>2]=b;q[q[a+24>>2]+16>>2]=q[c+12>>2]+32;b=0}ti=d+16|0;return b|0}function RN(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ui(a);e=-1;f=q[b+4>>2];a:{if(f>>>0<3){break a}d=q[b+8>>2];if(!c|(r[d|0]!=42|r[d+1|0]!=46)){break a}b=0;while(1){g=a+b|0;if(r[g|0]!=46){b=b+1|0;if((c|0)!=(b|0)){continue}break a}break}if(!b){break a}a=c-b|0;if((a|0)!=(f-1|0)){break a}if(nw(d+1|0,g,a)){break a}e=0}return e}function M1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Wi(a,1,0);o[b+8|0]=0;o[b+8|0]=0;gj(a,0,0);Ni(a,124528,9);e=r[b+8|0];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(e|0)!=0;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(124455,124351,817,124538);G()}ti=b+16|0;return 1}function K0(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-119|0){case 1:u[c>>2]=Ri(a,3);break a;case 2:u[c+4>>2]=Ri(a,3);break a;case 3:u[c+8>>2]=Ri(a,3);break a;case 0:u[c+12>>2]=Ri(a,3);break a;default:break b}}q[b+4>>2]=128704;q[b>>2]=128752;d=Bi(a,129544,b)}ti=b+16|0;return d|0}function IB(a,b,c,d){var e=0,f=0,g=0;Ki(a,-1,b);b=Mk(a,-1);f=Oi((b|0)!=(b&1073741823)?-1:b<<2);e=q[a+8>>2];q[e+8>>2]=0;q[a+8>>2]=e+16;if(rj(a,-2)){while(1){g=xj(a,-2);a:{if(y(g)<2147483648){e=~~g;break a}e=-2147483648}u[((e<<2)+f|0)-4>>2]=xj(a,-1);Ci(a,-2);if(rj(a,-2)){continue}break}}Ci(a,-2);q[c>>2]=f;q[d>>2]=b}function AI(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+128>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function sX(a,b,c,d){q[b+52>>2]=a;o[b+68|0]=46;q[b+56>>2]=c;q[b+32>>2]=287;q[b+48>>2]=0;q[b+64>>2]=d;q[b+4>>2]=1;q[b+8>>2]=1;c=a;a=q[b+60>>2];a=lj(c,q[a>>2],q[a+8>>2],32);c=q[b+60>>2];q[c+8>>2]=32;q[c>>2]=a;a=q[b+56>>2];c=q[a>>2];q[a>>2]=c-1;if(c){c=a;a=q[a+4>>2];q[c+4>>2]=a+1;q[b>>2]=r[a|0];return}q[b>>2]=sk(a)}function rda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0<2097152){c=0;b:{if(a+1>>>0<2){break b}b=a&65535;d=q[77547];if(b>>>0>=t[d+32>>2]){break a}e=q[q[d+24>>2]+(b<<2)>>2];c=0;if(!e){break b}c=s[q[d+28>>2]+(b<<1)>>1]==(a>>>16|0)?e:0}return s[c+26>>1]!=0|0}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function dX(a){a=a|0;Qi(a,-10002);Di(a,-10002,138156);ik(a,138156,267984);Ni(a,138159,7);Di(a,-10002,138167);ck(a,1051,0);ck(a,1052,1);Di(a,-2,138176);ck(a,1053,0);ck(a,1054,1);Di(a,-2,138183);gj(a,0,1);Qi(a,-1);ij(a,-2);Ni(a,138189,2);Di(a,-2,138192);ck(a,1055,1);Di(a,-10002,138199);ik(a,138146,267920);return 2}function d5(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);Li(a,-1,q[81656],114346);Ci(a,-2);if(c>>4==q[a+8>>2]-q[a+12>>2]>>4){if(!r[326620]){o[326620]=1;q[b>>2]=110485;q[b+4>>2]=112278;q[b+8>>2]=110485;q[b+12>>2]=112291;Ai(3,112123,114726,b)}ti=b+16|0;return 0}J(110492,110389,475,114319);G()}function Ts(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+412>>2]&15}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function L8(a,b,c){var d=0,e=0;a:{b:{d=b&65535;e=q[a+36>>2];a=q[a+32>>2];if(d>>>0<(e-a|0)/576>>>0){if(s[(a+w(d,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(d,576)|0;if(s[a+554>>1]!=(b&65535)){break a}u[a+60>>2]=c;return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Aaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);c=Wz(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2419,201032);G()}ti=b+16|0;return 1}function naa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);e=Uz(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2852,201665);G()}ti=b+16|0;return 1}function cna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Oi(32);q[b>>2]=0;q[b+4>>2]=0;d=b+24|0;c=d;q[c>>2]=0;q[c+4>>2]=0;e=b+16|0;c=e;q[c>>2]=0;q[c+4>>2]=0;c=b+8|0;q[c>>2]=0;q[c+4>>2]=0;f=q[a+16>>2];Ii(f>>>0<64?f:64,32,b,c,b+4|0);if(o[b+28|0]&1){J(43954,44029,493,44085);G()}Ii(8,4,e,d,b+20|0);q[q[a+12>>2]>>2]=b;return 0}function ZX(a,b){var c=0,d=0;c=q[a+16>>2];q[b>>2]=q[c+28>>2];q[c+28>>2]=b;d=r[b+5|0];a:{if(d&7){break a}if(r[c+21|0]==1){o[b+5|0]=d|4;c=q[b+8>>2];if(q[c+8>>2]<4){break a}c=q[c>>2];if(!(r[c+5|0]&3)){break a}a=q[a+16>>2];if(r[a+21|0]==1){xk(a,c);return}o[b+5|0]=r[a+20|0]&3|d&248;return}o[b+5|0]=r[c+20|0]&3|d&248}}function Maa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);e=QI(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2696,201533);G()}ti=b+16|0;return 1}function Jaa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);e=Vz(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2803,201636);G()}ti=b+16|0;return 1}function Baa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);e=NI(c,q[b+12>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2642,201382);G()}ti=b+16|0;return 1}function s8(a){var b=0;b=Oi(40);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=1207;q[b>>2]=1208;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=1209;q[b+12>>2]=1210;q[b+8>>2]=1211;if(q[212968]){J(142472,142497,229,142539);G()}q[212968]=b;q[b+20>>2]=a;return b}function WD(a){var b=0,c=0;b=q[a+16>>2];q[b+44>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;c=q[b+112>>2];if(r[c+5|0]&3){xk(b,c);c=q[b+112>>2]}a:{if(q[c+80>>2]<4){break a}c=q[c+72>>2];if(!(r[c+5|0]&3)){break a}xk(b,c)}a=q[a+16>>2];b:{if(q[a+104>>2]<4){break b}a=q[a+96>>2];if(!(r[a+5|0]&3)){break b}xk(b,a)}XD(b);o[b+21|0]=1}function Jba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+472>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Gaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);c=OI(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2754,201604);G()}ti=b+16|0;return 1}function Er(a){var b=0;a:{switch(a+12|0){case 9:return 133270;case 11:return 133307;case 8:return 133334;case 6:return 133377;case 2:return 133401;case 10:return 133427;case 0:return 133470;case 4:return 133495;case 5:return 133533;case 1:return al(q[242957]);default:b=ha(a|0)|0;break;case 12:break a}}return b}function Caa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);c=mv(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;if(((e>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2590,201461);G()}ti=b+16|0;return 1}function ov(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+416>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function oX(a,b,c){var d=0,e=0,f=0;d=ti-1392|0;ti=d;if(q[a+8>>2]-q[a+12>>2]>>4!=1){Qj(a,1,133650)}vE(d+32|0);f=a;e=d+32|0;a:{if(!q[d+1364>>2]){_B(d);a=d;break a}q[d+1320>>2]=0;a=d+1312|0}Gq(f,e,0,a);e=q[a+8>>2];f=b;b=q[a>>2];q[f>>2]=b;q[c>>2]=e;o[b+e|0]=0;q[a>>2]=0;if(!q[d+1364>>2]){om(a)}ti=d+1392|0;return 1}function o$(a,b,c,d,e,f){var g=0,h=0;g=-20352;a:{if(!a|!q[a+88>>2]){break a}h=a+208|0;g=n$(a,h,a+172|0,a+124|0,e,f);if(g){break a}g=-20352;if(Cm(h)>>>0>d>>>0){break a}d=q[a+88>>2];q[b>>2]=(d>>>3|0)+((d&7)!=0);b=q[b>>2];if(q[a+48>>2]){a=q[a+60>>2]?1:2}else{a=0}if((a|0)==2){return nD(h,c,b)}g=pn(h,c,b)}return g}function Xz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+488>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Vz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+144>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function VI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+512>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Uz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+148>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Tz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+420>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function QI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+128>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Osa(a,b){var c=0,d=0,e=0;e=b;c=Pn(a,2,+t[b+12>>2]);a:{if(y(c)<2147483648){d=~~c;break a}d=-2147483648}q[e+12>>2]=d;e=b;c=Pn(a,3,+t[b+8>>2]);b:{if(y(c)<2147483648){d=~~c;break b}d=-2147483648}q[e+8>>2]=d;if(Bj(a,4)){v[b>>3]=Iw()-xj(a,4)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function Oba(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+60>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function OI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return q[a+408>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function NI(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return u[a+132>>2]}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function Dl(a,b,c,d){var e=0,f=0,g=0;e=ti-16|0;ti=e;a:{if((Ei(a,b)|0)<=0){if(!d){break a}if(!c){q[d>>2]=0;break a}q[d>>2]=Ui(c);break a}c=dj(a,b,d);if(c){break a}c=q[66952];g=e;d=Ei(a,b);f=135271;b:{if((d|0)==-1){break b}f=q[(d<<2)+267792>>2]}q[g+4>>2]=f;q[e>>2]=c;Qj(a,b,vj(a,137919,e));c=0}ti=e+16|0;return c}function By(a){var b=0,c=0,d=0,e=0;c=Ji(8);if(c){q[c>>2]=a;b=q[a+120>>2];gj(b,0,0);q[81758]=q[81758]+1;q[c+4>>2]=un(b,-1e4);b=q[a+104>>2];d=q[a+108>>2];if((b|0)!=(d|0)){while(1){e=q[q[b>>2]+12>>2];if(e){xi[e|0](c);d=q[a+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}return c}J(117885,117392,1087,117905);G()}function $3(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=ti-2064|0;ti=a;uo(c,b,a+1040|0);uo(c,b,a+16|0);Bk(a+1040|0,27878,1024);Bk(a+16|0,27884,1024);q[a+12>>2]=0;q[a+12>>2]=0;a:{if(e4(a+1040|0,a+16|0,f)?-3:0){break a}b=q[a+12>>2];if(!b){break a}c=q[f>>2];if(!c){break a}q[c+32>>2]=b}ti=a+2064|0;return 0}function zba(a,b,c){var d=0,e=0;a:{b:{e=c&65535;d=q[b+32>>2];if(e>>>0<(q[b+36>>2]-d|0)/576>>>0){if(s[(w(e,576)+d|0)+552>>1]!=(c>>>16|0)){break b}d=w(e,576)+d|0;if(s[d+554>>1]!=(c&65535)){break a}ar(b,d,0,a);return}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function pv(a,b){var c=0,d=0,e=0,f=0,g=0;d=zi(b);e=wi;c=q[a+32>>2];b=q[a+36>>2]-c|0;a=(b|0)/576|0;if(!b){return 0}f=a>>>0>1?a:1;a=0;while(1){a:{b=w(a,576)+c|0;if(q[b+544>>2]==(d|0)&q[b+548>>2]==(e|0)){g=s[b+554>>1]|s[b+552>>1]<<16;if(!(o[b+572|0]&1)){break a}}a=a+1|0;if((f|0)!=(a|0)){continue}}break}return g}function I9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);f=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);a:{if(ek(a,2)){c=zi(dj(a,2,0));d=wi;break a}c=Zk(a,2);d=wi}E8(f,q[b+12>>2],c,d);if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(196277,196298,572,196420);G()}ti=b+16|0;return 0}function jca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=ti-16|0;ti=d;if(a){a:{if(!(r[a+156|0]&32)){break a}q[a+92>>2]=c;q[a+88>>2]=b;Oa(b|0,c|0);Pa(d+12|0,d+8|0);b=q[d+12>>2];q[a+96>>2]=b;c=q[d+8>>2];q[a+100>>2]=c;e=q[a+40>>2];if(!e){break a}xi[e|0](q[a+44>>2],b,c)}ti=d+16|0;return}J(84221,84160,1441,87107);G()}function gka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){if(r[(b+w(a,240)|0)+234|0]&8){a=b+w(a,240)|0;yv(a,q[a+208>>2],q[a+212>>2],u[a+224>>2],u[a+228>>2])}return}}J(48683,48598,479,48308);G()}function Yea(a,b,c,d,e,f){var g=0;g=b;b=q[a+156>>2];b=w(w(g,q[b+32>>2]&2147483647)+d|0,q[b+28>>2])+c|0;p[q[a+100>>2]+(b<<1)>>1]=e;b=b+q[a+104>>2]|0;o[b|0]=r[b|0]&248|f&7;b=q[a+108>>2];e=q[a+112>>2]-b|0;a=w(s[a+160>>1],d>>>5|0)+(c>>>5|0)|0;if(e>>>0<=a>>>0){J(50672,50529,479,50661);G()}a=a+b|0;o[a|0]=r[a|0]|1}function Xu(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}b=q[c>>2];d=q[c+4>>2];e=q[c+12>>2];q[a+56>>2]=q[c+8>>2];q[a+60>>2]=e;q[a+48>>2]=b;q[a+52>>2]=d}return}J(146626,145751,479,145962);G()}function QB(a,b){var c=0,d=0,e=0;c=ti-16|0;ti=c;d=2;e=AE(c+12|0,b,2);a:{if(!e){d=jj(a,40);rp(a,132684,-1);Ht(c+12|0);if((b|0)==10){q[c+8>>2]=1;yl(q[c+12>>2],41,26,c+8|0,4)}q[d>>2]=q[c+12>>2];v[d+16>>3]=-1;v[d+8>>3]=-1;q[d+32>>2]=b;d=1;break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,e)}ti=c+16|0;return d}function Aua(a){a=a|0;var b=0;b=ti+ -64|0;ti=b;a:{b:{if(!Kl(a,1)){break b}Hi(a,131454);Sj(a,-2);if((Ei(a,-1)|0)!=5){break b}Hi(a,131462);Sj(a,-2);if(!ek(a,-1)){break b}q[b+16>>2]=aj(a,1);Zm(b+32|0,131468,b+16|0);q[b>>2]=dj(a,-1,0);q[b+4>>2]=b+32;vj(a,131471,b);break a}Hi(a,131478);mo(a)}ti=b- -64|0;return 1}function aw(a,b,c){var d=0,e=0,f=0;d=ti-288|0;ti=d;if(Ei(a,-1)){a:{if((Ei(a,-1)|0)!=1){f=d;c=Ei(a,-1);e=135271;b:{if((c|0)==-1){break b}e=q[(c<<2)+267792>>2]}q[f+24>>2]=e;q[d+20>>2]=70440;q[d+16>>2]=b;hj(d+32|0,256,70463,d+16|0);q[d>>2]=d+32;a=Bi(a,70520,d);break a}a=Ej(a,-1)}c=(a|0)!=0}ti=d+288|0;return c}function Yi(a){var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;a:{c=q[a+16>>2];if((c|0)==-8388608){break a}c=c+q[a+12>>2]|0;d=q[a>>2];d=q[d+8>>2]-q[d+12>>2]>>4;if((c|0)==(d|0)){break a}e=q[a+8>>2];a=q[a+4>>2];q[b+12>>2]=d;q[b+8>>2]=c;q[b>>2]=a;q[b+4>>2]=e;Ai(4,117469,118114,b);J(118185,117392,1491,118204);G()}ti=b+16|0}function RG(a,b,c,d){var e=0,f=0;if(!b){q[d>>2]=0;return}e=b&65535;f=q[a+4>>2];a=q[a>>2];if(e>>>0>2>>>0){a=q[a+(e<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);q[d>>2]=0;return}b=q[a>>2];q[d>>2]=d?(q[a+4>>2]-b|0)/304>>>0<=c>>>0?0:(b+w(c,304)|0)+144|0:0;return}J(146626,145751,479,145962);G()}function $ba(a){var b=0,c=0,d=0;b=q[216159];d=b;c=q[216158];q[a+312>>2]=c;q[a+316>>2]=b;b=q[a+276>>2];q[a+280>>2]=b;a:{if(q[a+284>>2]!=(b|0)){q[a+280>>2]=b+8;q[b>>2]=c;q[b+4>>2]=d;if(o[a+304|0]&1){break a}Ii(0,4,a+292|0,a+300|0,a+296|0);return}J(195701,195579,533,195725);G()}J(196110,195579,493,195316);G()}function pha(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;d=pG();e=q[a+8>>2];a:{if(!Cj(q[a+12>>2],q[a+16>>2],q[65806],c+28|0)){b=c+8|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b>>2]=q[c+28>>2];q[b+8>>2]=zi(e);q[b+12>>2]=wi;nG(d,b);cj(q[c+28>>2]);q[q[a+24>>2]+8>>2]=d;a=0;break a}gz(d);a=-13}ti=c+32|0;return a|0}function pQ(a){var b=0,c=0,d=0;c=Vj(1,16);if(c){b=q[a+212>>2];d=Vj(1,b);q[c>>2]=d;if(!d){yi(c);return-32512}Gi(d,q[a+204>>2],b);q[c+4>>2]=b;o[c+8|0]=q[a+208>>2];b=q[a+68>>2];a=q[b+496>>2];a:{if(!a){q[b+496>>2]=c;break a}while(1){b=a;a=q[a+12>>2];if(a){continue}break}q[b+12>>2]=c}a=0}else{a=-32512}return a}function bba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-144|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;c=Mj(a,1);d=wi;Ti(a);f=Li(a,-1,q[216371],198335);Ci(a,-2);c=Xba(f,c,d);if(c){d=zs(a,1,b+16|0);q[b+4>>2]=c;q[b>>2]=d;Bi(a,200566,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(e|0)){J(196277,196298,1801,200610);G()}ti=b+144|0;return 0}function L3(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!(q[a+40>>2]|q[a+44>>2])){c=-1;break a}c=2;d=pk();b=q[a+24>>2];d=Pwa(d-b|0,wi-(q[a+28>>2]+(d>>>0>>0)|0)|0,1e3);b=wi;e=q[a+44>>2];if((b|0)==(e|0)&t[a+40>>2]<=d>>>0|b>>>0>e>>>0){break a}c=q[a+36>>2];return(c|0)==(b|0)&t[a+32>>2]<=d>>>0|c>>>0>>0}return c|0}function Eaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-32|0;ti=b;f=Zi(b+8|0,a,1,196298,3117);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+28|0);d=Gba(c,q[b+28>>2]);a:{if(d){e=jj(a,8);q[e+4>>2]=d;q[e>>2]=c;Ki(a,-1e4,196365);ij(a,-2);break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}Yi(f);ti=b+32|0;return 1}function BN(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=UD(a,b,d);a:{if(a){e=a-9472|0;break a}a=q[d>>2];if(!a){e=-9572;break a}q[c>>2]=0;f=a-1>>>0<3?a:4;g=q[d+8>>2];b=0;a=0;while(1){b=r[a+g|0]<<(a<<3)|b;q[c>>2]=b;a=a+1|0;if((f|0)!=(a|0)){continue}break}}ti=d+16|0;return e}function wQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=ti-272|0;ti=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}Ep(d+8|0);tx(d+8|0,q[a+68>>2]+888|0);Or(d+8|0,d+224|0);f=d+8|0;if(f){xi[q[68401]](f,0,216)|0}xi[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?176137:176121,d+224|0,48,b,12)|0;xi[q[68401]](d+224|0,0,48)|0;ti=d+272|0}function hu(a,b,c,d){var e=0,f=0,g=0;Qi(a,b);while(1){f=a;g=c;b=Oj(c,46);if(!b){b=Ui(c)+c|0}e=b-c|0;Ni(f,g,e);Vk(a,-2);a:{if(!Ei(a,-1)){Ci(a,-2);gj(a,0,r[b|0]==46?1:d);Ni(a,c,e);Qi(a,-2);$i(a,-4);break a}if((Ei(a,-1)|0)==5){break a}Ci(a,-3);return c}Xk(a,-2);c=b+1|0;if(r[b|0]==46){continue}break}return 0}function bL(a,b){var c=0;a:{if((b|0)!=32767){while(1){b=b&65535;c=q[a+1036>>2];if(b>>>0>=q[a+1040>>2]-c>>2>>>0){break a}b=q[(b<<2)+c>>2];if(!(q[b+136>>2]&1024^1024|q[b+140>>2]&32768)){bL(a,s[b+150>>1]&32767);dt(a,b,0)}b=q[b+148>>2]&32767;if((b|0)!=32767){continue}break}}return}J(12518,10061,479,9553);G()}function Uia(a,b,c,d){var e=0,f=0,g=0,h=0;e=q[a>>2];if((e|0)!=q[a+4>>2]){while(1){g=(f<<7)+e|0;h=q[g+40>>2];if(!(q[h+96>>2]!=(b|0)|q[h+100>>2]!=(c|0)|s[g+56>>1]!=(d|0))){a=q[((f<<7)+e|0)+32>>2];b=q[a+8>>2];wi=q[a+12>>2];return b}f=f+1|0;e=q[a>>2];if(f>>>0>2]-e>>7>>>0){continue}break}}wi=0;return 0}function Qba(a,b,c){var d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;f=q[a+276>>2];d=q[a+280>>2]-f|0;g=d>>3;a=0;a:{if(!d){break a}while(1){d=(a<<3)+f|0;if(q[d>>2]==(b|0)&q[d+4>>2]==(c|0)){break a}a=a+1|0;if(g>>>0>a>>>0){continue}break}}if((a|0)==(g|0)){q[e>>2]=Mi(b,c);Ai(4,193721,193922,e);a=0}ti=e+16|0;return a&65535}function Jm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=z(e);dm(d,e,0,0,0,c+81|0);e=0+q[d+8>>2]|0;c=(q[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=q[d+4>>2];b=q[d>>2]}q[h>>2]=b;q[g+4>>2]=c;q[a+8>>2]=e;q[a+12>>2]=f;ti=d+16|0}function Vo(a,b){var c=0,d=0,e=0,f=0;c=ti-288|0;ti=c;Hi(a,b);Sj(a,2);a:{if(!Bj(a,-1)){f=c;e=Ei(a,-1);d=135271;b:{if((e|0)==-1){break b}d=q[(e<<2)+267792>>2]}q[f+24>>2]=d;q[c+20>>2]=70455;q[c+16>>2]=b;hj(c+32|0,256,70463,c+16|0);q[c>>2]=c+32;b=Bi(a,70520,c);break a}b=Ok(a,-1)}Ci(a,-2);ti=c+288|0;return b}function xy(a,b){var c=0,d=0,e=0,f=0;a:{b:{d=a+108|0;c=q[d>>2];e=a+112|0;f=q[e>>2];if((c|0)==(f|0)){if(o[a+116|0]&1){break b}a=a+104|0;Ii((c-q[a>>2]>>2)+8|0,4,a,e,d);f=q[e>>2];c=q[d>>2]}if((c|0)==(f|0)){break a}q[d>>2]=c+4;q[c>>2]=b;return}J(119089,119164,493,118644);G()}J(119220,119164,533,119244);G()}function xua(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[b+1|0];f=r[b|0];g=r[b+2|0];b=(w(e>>>d|0,5)+(f>>>d|0)|0)+w(g>>>d|0,25)|0;if((b|0)>=125){J(102723,92069,11872,102736);G()}h=a;i=c;a=-1<>>3&3)<>>5&3)<>2]-36|0;b:{if(a>>>0<=6){a=q[(a<<2)+175904>>2];break b}a=0}if(a){break a}q[b>>2]=c;b=b+4|0}if(b>>>0<863396){c=q[d+4>>2];d=d+4|0;if(c){continue}}break}q[b>>2]=0;o[862832]=1}return 862848}function Vaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=ti-32|0;ti=b;d=1;e=Zi(b+8|0,a,1,196298,3768);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);a:{if(nv(c,q[b+4>>2])){d=sj(e,201680,0);break a}f=Jba(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16}Yi(e);ti=b+32|0;return d|0}function TO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;f=Wi(a,1,d+12|0);c=Xi(a,2);g=q[d+12>>2];b=hm(a,3,-1);e=q[d+12>>2];b=b+(e+1&b>>31)|0;b=(b|0)>0?b:0;b=(b|0)>(e|0)?e:b;c=c+(g+1&c>>31)|0;c=(c|0)>1?c:1;a:{if((b|0)>=(c|0)){Ni(a,(c+f|0)-1|0,(b-c|0)+1|0);break a}Ni(a,141513,0)}ti=d+16|0;return 1}function FT(a,b,c,d,e){var f=0;f=-10240;a:{if(q[e>>2]){break a}a=ZU(a,c,d);if(a){return a-9728|0}b:{if(q[d>>2]==6){a=Vj(1,8);if(!a){return-10368}b=IT(b,c,a,a+4|0);if(b){yi(a);return b}q[e>>2]=a;break b}f=-8960;c:{switch(q[b>>2]){case 0:case 5:break c;default:break a}}if(q[b+4>>2]){break a}}f=0}return f}function zX(a){ck(a,1199,0);Hi(a,142285);zk(a,1,0);ck(a,1200,0);Hi(a,142286);zk(a,1,0);ck(a,1201,0);Hi(a,142294);zk(a,1,0);ck(a,1202,0);Hi(a,142300);zk(a,1,0);ck(a,1203,0);Hi(a,142303);zk(a,1,0);ck(a,1204,0);Hi(a,142306);zk(a,1,0);ck(a,1205,0);Hi(a,142313);zk(a,1,0);ck(a,1206,0);Hi(a,142318);zk(a,1,0)}function ho(a){var b=x(0),c=x(0),d=0,e=0;d=(bxa(a),Zwa(2));e=d>>>23&255;if(e>>>0<=149){if(e>>>0<=125){return x(a*x(0))}a=(d|0)>-1?a:x(-a);b=x(x(x(a+x(8388608))+x(-8388608))-a);a:{if(!(b>x(.5)^1)){c=x(x(a+b)+x(-1));break a}a=x(a+b);c=a;if(b<=x(-.5)^1){break a}c=x(a+x(1))}a=c;a=(d|0)>-1?a:x(-a)}return a}function fca(a,b){var c=0,d=0,e=0;c=ti-16|0;ti=c;a:{d=q[a+280>>2];b:{if((d|0)==q[a+284>>2]){q[c>>2]=d-q[a+276>>2]>>3;Ai(4,193721,193861,c);a=-4;break b}d=zi(b);e=wi;b=q[a+280>>2];if((b|0)==q[a+284>>2]){break a}q[a+280>>2]=b+8;q[b>>2]=d;q[b+4>>2]=e;a=0}ti=c+16|0;return a}J(195701,195579,533,195725);G()}function Uaa(a){a=a|0;var b=0,c=0,d=0,e=0,f=x(0);b=ti-32|0;ti=b;d=1;e=Zi(b+8|0,a,1,196298,3819);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);a:{if(nv(c,q[b+4>>2])){d=sj(e,201734,0);break a}f=SI(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=f;q[a+8>>2]=q[a+8>>2]+16}Yi(e);ti=b+32|0;return d|0}function Sqa(a,b){var c=0,d=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=8){o[b|0]=r[c|0];o[b+1|0]=r[q[a+8>>2]+1|0];o[b+2|0]=r[q[a+8>>2]+2|0];o[b+3|0]=r[q[a+8>>2]+3|0];o[b+4|0]=r[q[a+8>>2]+4|0];o[b+5|0]=r[q[a+8>>2]+5|0];o[b+6|0]=r[q[a+8>>2]+6|0];o[b+7|0]=r[q[a+8>>2]+7|0];q[a+8>>2]=q[a+8>>2]+8}return(d|0)>7}function Ica(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(a){Dc(b|0,c|0,d|0,e|0);if(r[q[77547]+156|0]&64){f=K()|0;if(f){break a}}f=q[a+76>>2];q[a+72>>2]=q[a+72>>2]&-16|((c?2:0)|b|(d?4:0)|(e?8:0));q[a+76>>2]=f;return}J(84221,84160,3447,88140);G()}Vi(f,88140,3449);J(84254,84160,3449,88140);G()}function G9(a){a=a|0;var b=0,c=x(0),d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=x(Ri(a,2));if(!(c>3]=c;Bi(a,201485,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);AI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2671,201515);G()}ti=b+16|0;return 0}function BP(a,b,c){var d=0,e=0;d=q[q[a+64>>2]+108>>2];e=q[a+204>>2];q[c>>2]=0;e=e+16384|0;a:{if(!(q[q[a>>2]+184>>2]&32768)|e>>>0>>0|d+4>>>0>e-b>>>0){break a}o[b+3|0]=d;o[b|0]=0;o[b+1|0]=35;o[b+2|0]=d>>>8;q[c>>2]=4;if(!d){break a}a=q[q[a+64>>2]+104>>2];if(!a){break a}Gi(b+4|0,a,d);q[c>>2]=q[c>>2]+d}}function $2(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;if(!(q[a+8>>2]-q[a+12>>2]>>4)){Bi(a,122643,0)}c=Wi(a,1,b+12|0);d=q[a+8>>2]-q[a+12>>2]>>4;c=pX(a,c,q[b+12>>2]);if((c|0)!=1){Ci(a,(q[a+8>>2]-q[a+12>>2]>>4^-1)+d|0)}if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(122525,122550,56,122573);G()}ti=b+16|0;return c|0}function zea(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,60730,840);a:{if((Ei(a,1)|0)==7){b=Li(a,1,q[76578],0);if(b){if(Ao(q[b>>2])){break a}}Bi(a,61079,0)}wk(a,1,60528);G()}b=w(q[b+36>>2],q[b+28>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function cl(a,b,c){var d=0,e=0,f=0;d=q[a+20>>2];a:{if((b|0)>=1){e=q[a+40>>2];while(1){if(d>>>0<=e>>>0){break a}b=b-1|0;b=r[q[q[d+4>>2]>>2]+6|0]?b:b-q[d+20>>2]|0;d=d-24|0;if((b|0)>0){continue}break}}b:{if(!b){a=q[a+40>>2];if(a>>>0>=d>>>0){break a}q[c+96>>2]=(d-a|0)/24;break b}q[c+96>>2]=0}f=1}return f}function bga(a){a=a|0;var b=0,c=0,d=0;b=Oi(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+12>>2]=q[a+20>>2];d=rK(q[a>>2],b);if(!d){q[q[a+24>>2]+8>>2]=b;return d|0}a=q[a>>2];c=q[b+12>>2];if(c){cj(c)}c=q[b+8>>2];if(c){Pi(a,c)}c=q[b+16>>2];if(c){Pi(a,c)}yi(b);return d|0}function FO(a){a=a|0;var b=0,c=0,d=0;mj(a,1,5);c=Mk(a,1);b=c+1|0;a:{switch((q[a+8>>2]-q[a+12>>2]>>4)-2|0){case 1:d=Xi(a,2);if((c|0)>=(d|0)){b=(b|0)<(d|0)?d:b;while(1){c=b-1|0;bj(a,1,c);bk(a,1,b);b=c;if((d|0)<(b|0)){continue}break}}b=d;case 0:bk(a,1,b);return 0;default:break a}}return Bi(a,140112,0)|0}function BG(a){var b=0,c=0;c=q[q[a+16>>2]+2012>>2];b=q[a>>2];if(b){Aj(c,-1e4,b)}b=q[a+4>>2];if(b){Aj(c,-1e4,b)}b=q[a+8>>2];if(b){Aj(c,-1e4,b)}b=q[a+12>>2];if(b){Aj(c,-1e4,b)}Aj(c,-1e4,q[a+24>>2]);yi(q[a+20>>2]);q[a+24>>2]=-2;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=-2;q[a+12>>2]=-2;q[a>>2]=-2;q[a+4>>2]=-2}function zF(a,b,c,d,e,f){var g=0;g=ti-48|0;ti=g;q[g+40>>2]=f;q[g+24>>2]=d;q[g+8>>2]=b;b=Ji(d);q[g+16>>2]=b;q[g+20>>2]=0;Gi(b,c,d);b=Ji(f);q[g+32>>2]=b;q[g+36>>2]=0;Gi(b,e,f);if(vo(0,a,q[33746],q[33747],0,q[a+32>>2],q[66736],g+8|0,40,815)){yi(q[g+16>>2]);yi(q[g+32>>2]);Ai(3,121903,121975,0)}ti=g+48|0}function n2(a,b){var c=0,d=0,e=0,f=0;c=ti-144|0;ti=c;q[c+12>>2]=b;iq(c+16|0,128,126218,b);e=Ui(c+16|0);if(e){b=q[a+144>>2];while(1){f=r[(c+16|0)+d|0];q[a+144>>2]=b+1;o[a+b|0]=f;b=q[a+144>>2];if(b>>>0>t[a+140>>2]){q[a+140>>2]=b}b=b&127;q[a+144>>2]=b;d=d+1|0;if((e|0)!=(d|0)){continue}break}}ti=c+144|0}function Sz(a,b){var c=0,d=0;a:{b:{c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){if(s[(a+w(c,576)|0)+552>>1]!=(b>>>16|0)){break b}a=a+w(c,576)|0;if(s[a+554>>1]!=(b&65535)){break a}return a}J(195730,195579,479,195741);G()}J(193606,193630,170,193645);G()}J(193653,193630,171,193645);G()}function IK(a,b,c,d,e){var f=0,g=0,h=0;g=q[a+4>>2];f=q[a>>2];if(g>>>0>=t[f>>2]){J(14062,13844,256,14125);G()}q[a+4>>2]=g+1;h=q[f+4>>2]+(g<<3)|0;q[h>>2]=b;q[h+4>>2]=c;b=g<<2;q[b+q[f+12>>2]>>2]=1;c=b+q[f+8>>2]|0;b=q[a+12>>2];q[c>>2]=b;b=q[f+16>>2]+(b<<3)|0;q[b>>2]=d;q[b+4>>2]=e;q[a+12>>2]=q[a+12>>2]+1}function y9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=Xi(a,2);if(c-2>>>0>=99999){q[b>>2]=c;Bi(a,201401,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);wI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2565,201437);G()}ti=b+16|0;return 0}function qu(a,b){var c=0,d=0,e=0,f=0;c=ti-288|0;ti=c;Ki(a,-1,b);a:{if(!Bj(a,-1)){f=c;e=Ei(a,-1);d=135271;b:{if((e|0)==-1){break b}d=q[(e<<2)+267792>>2]}q[f+24>>2]=d;q[c+20>>2]=70455;q[c+16>>2]=b;hj(c+32|0,256,70463,c+16|0);q[c>>2]=c+32;b=Bi(a,70520,c);break a}b=Ok(a,-1)}Ci(a,-2);ti=c+288|0;return b}function Uo(a,b,c){var d=0,e=0,f=0;d=ti-288|0;ti=d;a:{if(!Ei(a,-1)){break a}if(!Bj(a,-1)){f=d;c=Ei(a,-1);e=135271;b:{if((c|0)==-1){break b}e=q[(c<<2)+267792>>2]}q[f+24>>2]=e;q[d+20>>2]=70455;q[d+16>>2]=b;hj(d+32|0,256,70463,d+16|0);q[d>>2]=d+32;c=Bi(a,70520,d);break a}c=Ok(a,-1)}ti=d+288|0;return c}function $ca(a){a=a|0;var b=0;if(q[77547]){a=0}else{if(!ay()){Ai(4,84116,84125,0);return 0}b=Fi(Oi(160),0,160);q[b+128>>2]=1;p[b+156>>1]=r[a+12|0]<<6&192;q[b+112>>2]=q[a>>2];a=q[a+4>>2];q[b+136>>2]=63;q[b+140>>2]=0;q[b+116>>2]=a;q[b+132>>2]=1;q[77547]=b;a=Hj();q[q[77547]>>2]=a;a=q[77547]}return a|0}function m1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;e=d+8|0;c=a?q[a>>2]:0;b=0;a:{if(!c){break a}b=q[c+120>>2]}f=Zi(e,b,0,127536,466);e=q[212888];c=q[b+8>>2];q[c+8>>2]=3;v[c>>3]=e|0;q[b+8>>2]=q[b+8>>2]+16;c=Iu(a);a=q[b+8>>2];q[a+8>>2]=2;q[a>>2]=c;q[b+8>>2]=q[b+8>>2]+16;yF(b);Yi(f);ti=d+32|0}function haa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;e=Zi(b+8|0,a,1,196298,2892);fj(a,1,b+4|0);Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4>=2){c=(Ej(a,2)|0)!=0}d=II(d,q[b+4>>2],c);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=b+32|0;return 1}function yu(a,b,c,d){var e=0,f=0,g=0;f=ti-96|0;ti=f;q[d>>2]=0;a:{if(!mq(a,f+8|0)){e=-2;if((q[f+20>>2]&61440)!=32768){break a}g=c;c=q[f+48>>2];e=-21;if(g>>>0>>0){break a}a=il(a,177777);b=tl(b,1,c,a);Ak(a);e=-5;if((b|0)!=(c|0)){break a}q[d>>2]=c;e=0;break a}e=Bu(q[242957])}a=e;ti=f+96|0;return a}function wS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=1;a:{if((Sn(d,1,9,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);b=2;break a}d=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return b|0}function tS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=1;a:{if((Sn(d,6,1,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);b=2;break a}d=q[c+8>>2];e=q[a+8>>2];q[e+8>>2]=1;q[e>>2]=(d|0)!=0;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return b|0}function o8(a){a=a|0;var b=0,c=0;a:{b=q[212969];a=q[b+3476>>2];c=q[a>>2];if((c|0)==q[a+4>>2]){break a}c=q[c>>2];xi[q[c+12>>2]](b,c);c=1;b=q[a>>2];if(q[a+4>>2]-b>>2>>>0<=1){break a}while(1){b=q[(c<<2)+b>>2];xi[q[b+12>>2]](q[212969],b);c=c+1|0;b=q[a>>2];if(c>>>0>2]-b>>2>>>0){continue}break}}}function Nt(a,b,c){var d=0,e=0,f=0,g=0;d=ti+ -64|0;ti=d;g=Wi(a,2,0);e=q[b>>2];a:{if(!e){f=b;break a}while(1){if(!nj(g,e)){f=b;break a}e=q[b+8>>2];f=b+8|0;b=f;if(e){continue}break}}e=a;b=q[f+4>>2];if(!b){q[d>>2]=g;Zm(d+16|0,131967,d);Qj(a,2,d+16|0);b=q[f+4>>2]}a=xi[b|0](e,c)|0;ti=d- -64|0;return a}function rm(a,b){var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;a:{b:{c=aj(a,1);if(!c){break b}if(!Kl(a,1)){break b}Ki(a,-1e4,b);if(!fs(a,-1,-2)){break b}Ci(a,-3);break a}f=d;c=Ei(a,1);e=135271;c:{if((c|0)==-1){break c}e=q[(c<<2)+267792>>2]}q[f+4>>2]=e;q[d>>2]=b;Qj(a,1,vj(a,137919,d));c=0}ti=d+16|0;return c}function Pta(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;d=kj(b,0);e=kj(b,1);f=kj(b,2);b=kj(b,3);q[a+12>>2]=0;q[a+4>>2]=-1;q[a+8>>2]=0;o[a|0]=252;o[a+1|0]=253;o[a+2|0]=255;o[a+3|0]=255;q[c+12>>2]=64;qp(a,c+12|0,d<<8|d,16);qp(a,c+12|0,e<<8|e,16);qp(a,c+12|0,f<<8|f,16);qp(a,c+12|0,b|b<<8,16);ti=c+16|0}function MS(a,b){var c=0,d=0,e=0;d=b-65|0;c=255;a:{b:{e=b-48|0;if((e&255)>>>0<10){break b}switch(d|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=(b-97&255)>>>0<6?b-87|0:(d&255)>>>0<6?b-55|0:e}q[a>>2]=c;return c>>>0<16?0:-6}function zS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Sn(b,41,26,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function sra(a,b,c,d,e,f,g){var h=0,i=0;i=pk();a:{b:{c:{h=LL(a,b,c,d,e,f,g,1,0);switch(h+4|0){case 0:case 3:case 4:break a;case 1:break c;default:break b}}h=-3;if(q[g>>2]!=-3){break a}}d:{if((e|0)<1){break d}h=e;e=pk();e=h+(i-e|0)|0;if((e|0)>=1){break d}return-2}h=LL(a,b,c,d,e,f,g,0,1)}return h}function lY(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-10002,138373);b=1;d=q[52087];if((e|0)>=1){while(1){Qi(a,-1);Qi(a,b);zk(a,1,1);c=dj(a,-1,0);if(!c){return Bi(a,138684,0)|0}if(b>>>0>=2){tu(9,d)}ey(c,d);Ci(a,-2);c=(b|0)!=(e|0);b=b+1|0;if(c){continue}break}}tu(10,d);return 0}function Lba(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+32>>2];d=q[a+36>>2]-e|0;a=(d|0)/576|0;if(!d){return 0}f=a>>>0>1?a:1;a=0;while(1){a:{d=w(a,576)+e|0;if(q[d+544>>2]==(b|0)&q[d+548>>2]==(c|0)){g=s[d+554>>1]|s[d+552>>1]<<16;if(!(o[d+572|0]&1)){break a}}a=a+1|0;if((f|0)!=(a|0)){continue}}break}return g}function BS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Sn(b,41,19,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function xS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Sn(b,0,34,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function j3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-10002,122784);a:{b:{if((Ei(a,-1)|0)==5){if((Ei(a,-1)|0)!=5){break b}gj(a,0,0);ck(a,824,0);bk(a,-2,1);Di(a,-2,122828)}Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}return}J(122792,122746,222,122811);G()}J(122725,122746,237,122811);G()}function fl(a,b,c){var d=0,e=0;a:{if(c>>>0<10){if(!c){return 0}d=q[b>>2];if(d>>>0>=112){break a}e=(d>>>3|0)+a|0;d=d&7;a=r[e|0]>>>d|0;d=8-d|0;d=(c|0)<(d|0)?c:d;if((d|0)!=(c|0)){a=r[e+1|0]<>2]=q[b>>2]+c;return(-1<>2]);u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];u[b+16>>2]=u[c+16>>2];u[b+20>>2]=u[c+20>>2];u[b+24>>2]=u[c+24>>2];u[b+32>>2]=u[c+32>>2];u[b+36>>2]=u[c+36>>2];u[b+40>>2]=u[c+40>>2]}ti=c+48|0}function FF(a,b,c){var d=0,e=0,f=0;d=ti-32|0;ti=d;a:{if(mk(a,b,q[81777])){b=aj(a,b);a=q[b+4>>2];f=q[b>>2];b=a;e=Qs(f,b);o[c|0]=1;if(e){b=Ui(e)+3|0;a=Ji(b);q[d+16>>2]=e;hj(a,b,120216,d+16|0);break a}a=Ji(64);q[d>>2]=f;q[d+4>>2]=b;hj(a,64,120221,d);break a}o[c|0]=0;a=Wi(a,b,0)}ti=d+32|0;return a}function Eoa(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14062,13844,256,14125);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=7;c=b+q[e+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;c=b+q[e+28>>2]|0;b=Ui(d)+1|0;Gi(c,d,b);q[a+16>>2]=b+q[a+16>>2]}function w9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=Xi(a,2);if(c>>>0>=9){q[b>>2]=c;Bi(a,201044,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);uI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2460,201062);G()}ti=b+16|0;return 0}function uS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;d=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;b=2;a:{if((Sn(d,1,2,c+8|0,c+12|0)|0)<=-1){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,132079);break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(b|0)!=0;q[a+8>>2]=q[a+8>>2]+16;b=1}ti=c+16|0;return b|0}function rpa(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;d=q[q[a+16>>2]>>2];a=q[a+12>>2];b=0;a:{if(!a){break a}b=q[a+120>>2]}e=q[b+8>>2]-q[b+12>>2]>>4;a=q[d>>2];q[c+8>>2]=0;a=Ev(b,a,1,d,c+8|0);if(q[b+8>>2]-q[b+12>>2]>>4!=(e|0)){J(12827,12848,201,12882);G()}ti=c+16|0;return((a|0)==-1?-1e3:0)|0}function rna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-48|0;ti=b;d=1;e=Zi(b+24|0,a,1,60730,784);c=Xn(a,1,1,0);q[b+20>>2]=0;a:{if(_p(c,b+20|0)){q[b+4>>2]=60513;q[b>>2]=60513;d=sj(e,60949,b);break a}c=q[b+20>>2];f=q[a+8>>2];q[f+8>>2]=3;v[f>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16}Yi(e);ti=b+48|0;return d|0}function h9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=Xi(a,2);if(c>>>0>=3){q[b>>2]=c;Bi(a,200948,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);nI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2322,200969);G()}ti=b+16|0;return 0}function g9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=Xi(a,2);if(c>>>0>=3){q[b>>2]=c;Bi(a,200997,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);mI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2384,201018);G()}ti=b+16|0;return 0}function cL(a){var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;q[b+24>>2]=0;e=q[a+4>>2];if(q[e>>2]){while(1){q[b+16>>2]=0;c=w(d,112)+e|0;q[b+8>>2]=q[c+24>>2];q[b+12>>2]=q[((d<<2)+a|0)+12>>2];c=q[c+32>>2];if(c){xi[c|0](b+8|0)|0}d=d+1|0;if(d>>>0>2]){continue}break}}Zn(q[a+3232>>2]);yi(Apa(a));ti=b+32|0}function Era(a,b){var c=0,d=0,e=0,f=0,g=0;d=1;a:{while(1){c=w(e,24)+a|0;f=r[c+12|0];if(!f){return}c=q[c+8>>2];if(c>>>0>8){break a}c=q[(c<<2)+149304>>2];d=c>>>0>d>>>0?c:d;g=w(c,f)+((c+g|0)-1&0-c)|0;e=e+1|0;if((e|0)!=3){continue}break}q[b>>2]=(d+g|0)-1&0-d;return}J(148202,148229,157,148252);G()}function C9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=Xi(a,2);if(c>>>0>=2){q[b>>2]=c;Bi(a,201551,b)}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);xI(e,q[b+12>>2],c);if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2727,201586);G()}ti=b+16|0;return 0}function nq(a,b,c){var d=0,e=0;d=q[c+4>>2];e=q[c>>2];o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=d;o[a+5|0]=d>>>8;o[a+6|0]=d>>>16;o[a+7|0]=d>>>24;o[a+8|0]=r[c+8|0];d=r[c+9|0]|r[c+10|0]<<8;o[a+9|0]=d;o[a+10|0]=d>>>8;o[a+11|0]=q[c+24>>2]>>>8;o[a+12|0]=q[c+24>>2];q[b>>2]=13}function kA(a){var b=0,c=0,d=0;c=q[a>>2];d=q[c+8>>2]-q[c+12>>2]>>4;Bfa(a);xfa(a);wfa(a);rfa(a);ufa(a);yfa(a);Afa(a);b=q[a>>2];ik(b,76918,244960);Ci(b,-2);sfa(a);tfa(a);b=q[a>>2];ik(b,66659,244320);Ci(b,-2);nfa(a);zfa(a);if(q[c+8>>2]-q[c+12>>2]>>4!=(d|0)){J(53867,53888,145,53922);G()}return 1}function Qz(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=ti-32|0;ti=h;i=1;j=Zi(h+8|0,a,1,196298,1235);c=jv(b,c,d,e,0);a:{if(!c){q[h>>2]=(q[b+40>>2]-q[b+32>>2]|0)/576;i=sj(j,200316,h);break a}q[Sz(b,c)+488>>2]=g;qI(b,c,f);d=jj(a,8);q[d+4>>2]=c;q[d>>2]=b;Ki(a,-1e4,196365);ij(a,-2)}Yi(j);ti=h+32|0;return i}function LN(a){q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=-1;q[a+64>>2]=0;q[a+68>>2]=-1;q[a+56>>2]=0;q[a+60>>2]=-1;q[a+48>>2]=0;q[a+52>>2]=-1;q[a+40>>2]=0;q[a+44>>2]=-1;q[a+32>>2]=0;q[a+36>>2]=-1;q[a+24>>2]=0;q[a+28>>2]=-1;q[a+16>>2]=0;q[a+20>>2]=-1;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=-1}function IJ(a,b){var c=0,d=0,e=0;c=q[b+16>>2];e=q[b+12>>2];if((c|0)!=(e|0)){c=e;while(1){Pi(a,q[(d<<2)+c>>2]);d=d+1|0;c=q[b+12>>2];if(d>>>0>2]-c>>2>>>0){continue}break}}q[b+16>>2]=c;a=q[b+8>>2];if(a){cj(a);q[b+8>>2]=0}a:{if(o[b+24|0]&1){break a}a=q[b+12>>2];if(!a){break a}yi(a)}yi(b)}function Aha(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;a:{if(!Cj(q[a+20>>2],q[a+24>>2],q[61600],c)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;a=0;break a}a=-13;b=q[c>>2];if(!b){break a}cj(b)}ti=c+16|0;return a|0}function Vm(a,b,c){var d=0,e=0,f=0;d=q[a>>2];a=q[d+3148>>2];a:{if(!a){break a}a=q[q[d+3144>>2]+(Qwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}d=q[d+3152>>2];while(1){e=d+(a<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){a=q[e+12>>2];if((a|0)!=-1){continue}break a}break}f=q[(d+(a<<4)|0)+8>>2]}return f}function VT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(b){d=Ui(b);c=-28928;if(d>>>0>255){break a}}c=q[a+236>>2];if(c){f=c,g=0,h=Ui(c),e=q[68401],xi[e](f|0,g|0,h|0)|0;yi(q[a+236>>2])}if(!b){q[a+236>>2]=0;return 0}c=a;a=Vj(1,d+1|0);q[c+236>>2]=a;if(!a){return-32512}o[Gi(a,b,d)+d|0]=0;c=0}return c}function UM(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+40>>2];c=xi[b|0](a,0,0,r[a|0]&128?t[a+20>>2]>t[a+28>>2]?2:1:1)|0;b=wi;d=b;if((b|0)>0?1:(b|0)>=0){e=q[a+20>>2]-q[a+28>>2]|0;a=q[a+8>>2]-q[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}wi=d;return c}function O8(a){q[a+20>>2]=0;q[a+24>>2]=0;q[a+76>>2]=0;q[a+16>>2]=128;q[a+8>>2]=32;q[a+12>>2]=4;q[a>>2]=512;q[a+4>>2]=128;q[a+60>>2]=0;q[a+64>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+24>>2]=256}function Mn(a){var b=0;if(a){if(q[a+96>>2]!=1){Si(a+4|0);Si(a+16|0);Si(a+28|0);Zl(a+40|0);Si(a+76|0)}b=q[a+116>>2];if(b){if(q[a+120>>2]){Zl(b);if(t[a+120>>2]>=2){b=1;while(1){Zl(q[a+116>>2]+w(b,36)|0);b=b+1|0;if(b>>>0>2]){continue}break}}b=q[a+116>>2]}yi(b)}xi[q[68401]](a,0,124)|0}}function Mha(a){a=a|0;var b=0,c=0,d=0;c=Oi(32);b=c;q[b>>2]=0;q[b+4>>2]=0;d=b+24|0;b=d;q[b>>2]=0;q[b+4>>2]=0;b=c;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=q[a+20>>2];q[q[a+24>>2]+8>>2]=b;q[b+8>>2]=zi(q[a+8>>2]);q[b+12>>2]=wi;if(kK(b)){$p(q[c+4>>2],d);a=0}else{a=-1}return a|0}function Jta(a,b){var c=0,d=0,e=0;c=q[a+4>>2];d=kj(b,0);e=kj(b,1);a:{b=r[kj(b,2)+103440|0]<<1;if(b>>>0<32){b=(b|(r[d+103184|0]<<10|r[e+103184|0]<<5)|32768)&262142|c&1;if(b>>>0>=65536){break a}q[a+4>>2]=b|q[a+4>>2]&-65536;return}J(103696,92069,3126,103157);G()}J(103729,92069,3136,103157);G()}function Daa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-48|0;ti=b;c=1;d=Zi(b+24|0,a,1,196298,4119);fj(a,1,b+20|0);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);q[b+8>>2]=0;q[b+12>>2]=0;a:{if((Fba(e,q[b+20>>2],b+8|0)|0)==-10){c=sj(d,201918,0);break a}Zj(a,q[b+8>>2],q[b+12>>2])}Yi(d);ti=b+48|0;return c|0}function vn(a){var b=0,c=0,d=0,e=0;e=Ui(a);a:{if(!q[243026]|!r[a|0]){break a}if(Oj(a,61)){break a}b=q[q[243026]>>2];if(!b){break a}b:{while(1){d=tk(a,b,e);b=q[243026];if(!d){d=q[b+(c<<2)>>2]+e|0;if(r[d|0]==61){break b}}c=c+1|0;b=q[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function hia(a){a=a|0;var b=0,c=0,d=0;b=ti+ -64|0;ti=b;c=Zi(b+8|0,a,0,68051,1123);d=q[q[Tj(a)+80>>2]+8>>2];q[b+4>>2]=0;q[b>>2]=0;q[b+56>>2]=0;q[b+60>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;wl(a,1,d,67845,b+4|0,b+32|0,b);Yi(c);ti=b- -64|0;return 0}function Hga(a){a=a|0;var b=0,c=0;b=Fi(Oi(144),0,144);q[b>>2]=q[a+20>>2];c=lK(q[a+4>>2],q[a>>2],b);if(!c){q[q[a+24>>2]+8>>2]=b;return c|0}gA(q[a>>2],b);a:{if(o[b+40|0]&1){break a}a=q[b+28>>2];if(!a){break a}yi(a)}b:{if(o[b+24|0]&1){break b}a=q[b+12>>2];if(!a){break b}yi(a)}yi(b);return c|0}function AS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;b=q[b>>2];q[c+8>>2]=0;q[c+12>>2]=4;a:{if((Sn(b,41,16,c+8|0,c+12|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132079);a=2;break a}b=q[c+8>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function $Y(a){a=a|0;var b=0,c=0,d=0;d=ti-16|0;ti=d;b=jj(a,4);q[b>>2]=0;Ki(a,-1e4,140233);ij(a,-2);c=BO();q[b>>2]=c;b=1;if(!c){b=q[242957];c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;q[d>>2]=al(b);vj(a,140349,d);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;b=3}ti=d+16|0;return b|0}function osa(a){a=a|0;var b=0,c=0,d=0,e=0;e=ti-112|0;ti=e;b=a;if((Ei(a,1)|0)==8){d=1;b=sn(a,1)}c=d+1|0;a:{if(!cl(b,Xi(a,c),e+8|0)){c=Qj(a,c,142096);break a}c=2;d=lX(b,e+8|0,Xi(a,d|2));if(d){Nn(b,a,1);Hi(a,d);Qi(a,-2);break a}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;c=1}ti=e+112|0;return c|0}function n9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;fj(a,1,b+12|0);c=yn(a,2);a:{if(c){Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);dp(e,q[b+12>>2],7,c);break a}Bi(a,201074,0)}if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(196277,196298,2519,201098);G()}ti=b+16|0;return 0}function g1(a){a=a|0;var b=0,c=0,d=0;b=mk(a,1,q[81791]);c=mk(a,2,q[81791]);if(!(!b|!c|(q[b>>2]!=q[c>>2]|q[b+4>>2]!=q[c+4>>2]|(q[b+16>>2]!=q[c+16>>2]|q[b+20>>2]!=q[c+20>>2])))){d=q[b+24>>2]==q[c+24>>2]&q[b+28>>2]==q[c+28>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function _P(a,b,c){var d=0,e=0;a:{b:{if(q[a+8>>2]){e=c;c=q[a+248>>2];d=c<<1;if((e|0)!=(d|1)|r[b|0]!=(d|0)){break a}b=b+1|0;if(Mr(b,a+252|0,c)){break a}c=b;b=q[a+248>>2];if(!Mr(c+b|0,a+264|0,b)){break b}break a}if(!(r[b|0]?0:(c|0)==1)){break a}q[a+244>>2]=1}return 0}Ij(a,2,40);return-31104}function o1(a){a=a|0;var b=0,c=0,d=0,e=0;d=ti-32|0;ti=d;e=d+8|0;c=a?q[a>>2]:0;b=0;a:{if(!c){break a}b=q[c+120>>2]}e=Zi(e,b,0,127536,478);c=HF(b);Z2(Iu(a),c);c=q[212888];a=q[b+8>>2];q[a+8>>2]=3;v[a>>3]=c|0;q[b+8>>2]=q[b+8>>2]+16;a=q[b+8>>2];q[a+8>>2]=0;q[b+8>>2]=a+16;yF(b);Yi(e);ti=d+32|0}function R5(a){q[a>>2]=0;q[a+4>>2]=0;q[a+92>>2]=0;p[a+88>>1]=256;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+68|0]=1;q[a+60>>2]=0;q[a+64>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=1065353216;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function Kka(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;h=q[a+180>>2];if(!h){h=Wp();q[a+180>>2]=h}a:{g=q[a+216>>2];if(!g){g=q[a+128>>2];i=q[g+28>>2];if((i|0)==q[g+32>>2]){break a}g=q[i>>2]}dr(h,g,b,c,d,e,f);o[a+254|0]=r[a+254|0]|8;return}J(46656,46296,486,46535);G()}function IA(a){var b=0,c=0,d=0;a=q[a>>2];wj(q[a+3232>>2]);b=-1;a:{b:{c=q[a+3252>>2];d=q[a+3248>>2];if((c|0)!=(d|0)){b=q[a+3244>>2];if(!b){break b}if(c>>>0>=d>>>0){break a}q[a+3252>>2]=c+1;b=q[b+(c<<2)>>2]}qj(q[a+3232>>2]);return b}J(12558,12467,151,12565);G()}J(12569,12467,152,12565);G()}function wr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=ti-16|0;ti=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=z(b);dm(c,d,0,0,0,b+81|0);d=0+q[c+8>>2]|0;b=(q[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=q[c+4>>2];e=q[c>>2]}q[h>>2]=e;q[g+4>>2]=b;q[a+8>>2]=f;q[a+12>>2]=d;ti=c+16|0}function p4(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=a+7376|0;i=a+7380|0;a:{h=a+7384|0;g=q[a+7376>>2];if((q[h>>2]-g|0)!=1048576){if(o[a+7388|0]&1){break a}Ii(1048576,1,f,h,a+7380|0);g=q[a+7376>>2]}q[i>>2]=g;b=Ou(a,b,c,e,f);if(b){a=0}else{a=q[f>>2]}q[d>>2]=a;return b}J(26943,26397,493,27018);G()}function Zpa(a){var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=q[a+12>>2];if(b){xi[b|0](q[a+8>>2])}d=q[a+4>>2];e=q[a>>2];b=0;while(1){a:{if(!b){b=xi[q[a+20>>2]](e,d)|0;if(!b){break a}}q[c+12>>2]=b;q[c+8>>2]=a;Ha(21,c+8|0,0,1);continue}break}b=q[a+16>>2];if(b){xi[b|0](q[a+8>>2])}ti=c+16|0;return 1}function Wp(){var a=0,b=0,c=0;a=Oi(56);q[a+32>>2]=0;q[a+36>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;c=a+16|0;b=c;q[b>>2]=0;q[b+4>>2]=0;b=a+8|0;q[b>>2]=0;q[b+4>>2]=0;q[a+36>>2]=-1;Ii(4,4,a,b,a+4|0);Ms(c,5,8);b=Tu();o[a+52|0]=0;q[a+48>>2]=b;return a}function VV(a,b,c){var d=0,e=0;a:{b:{e=q[a>>2];if(e){d=-24704;if(c>>>0>16){break a}if(o[e+20|0]&1){break b}d=c;c=q[e+16>>2];if(d>>>0>=c>>>0){break b}}d=-24832;break a}if(q[e>>2]==72){d=-24832;if(KD(q[a+60>>2],b)){break a}}d=0;if(!c){break a}Gi(a+40|0,b,c);q[a+56>>2]=c;return 0}return d}function Sea(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-304|0;ti=b;e=Zi(b+280|0,a,1,75991,353);q[b+12>>2]=32;m0(b+12|0,b+16|0);gj(a,q[b+12>>2],0);if(q[b+12>>2]){while(1){d=(b+16|0)+(c<<3)|0;Zj(a,q[d>>2],q[d+4>>2]);c=c+1|0;bk(a,-2,c);if(t[b+12>>2]>c>>>0){continue}break}}Yi(e);ti=b+304|0;return 1}function Ak(a){var b=0,c=0,d=0,e=0,f=0;f=q[a+76>>2]>=0;d=q[a>>2]&1;if(!d){b=q[a+52>>2];if(b){q[b+56>>2]=q[a+56>>2]}c=q[a+56>>2];if(c){q[c+52>>2]=b}if(q[242946]==(a|0)){q[242946]=c}}b=ro(a);c=xi[q[a+12>>2]](a)|0;e=q[a+96>>2];if(e){yi(e)}a:{if(!d){yi(a);break a}if(!f){break a}}return b|c}function tu(a,b){var c=0;if(q[b+76>>2]<0){a:{if(o[b+75|0]==(a&255)){break a}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break a}q[b+20>>2]=c+1;o[c|0]=a;return}QM(b,a);return}b:{c:{if(o[b+75|0]==(a&255)){break c}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break c}q[b+20>>2]=c+1;o[c|0]=a;break b}QM(b,a)}}function tZ(a,b,c){var d=0;d=ti-32|0;ti=d;a:{b:{switch(b-2|0){case 0:q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;Yl(Vw(a,d,16,c));break a;case 8:break b;default:break a}}q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;Yl(Vw(a,d,28,c))}ti=d+32|0}function p1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=Iu(a);if(d){f=q[212888];b=a?q[a>>2]:0;c=q[b+120>>2];e=q[c+8>>2];q[e+8>>2]=3;v[e>>3]=f|0;q[c+8>>2]=q[c+8>>2]+16;b=q[b+120>>2];c=q[b+8>>2];q[c+8>>2]=2;q[c>>2]=0;q[b+8>>2]=q[b+8>>2]+16;xF(a);B3(d)}return}J(127671,127536,443,127735);G()}function LR(a,b){var c=0,d=0,e=0;d=ti-16|0;ti=d;a:{b:{if(q[a>>2]==6){e=-14848;a=KS(a);c=-46;c:{if(!a){break c}q[d+12>>2]=q[a+16>>2];c=0}if(!c){break b}break a}e=MR(a,d+12|0);if(e){break a}}a=q[d+12>>2];c=q[b>>2];if(c){e=-15616;if((a|0)!=(c|0)){break a}}e=Xt(b,a)}ti=d+16|0;return e} -function aZ(a,b,c){var d=0;d=fi-32|0;fi=d;a:{b:{switch(b-2|0){case 0:q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;Ql(sw(a,d,16,c));break a;case 8:break b;default:break a}}q[d+24>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;Ql(sw(a,d,28,c))}fi=d+32|0}function Lx(a,b){var c=0;if(q[b+76>>2]<0){a:{if(o[b+75|0]==(a&255)){break a}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break a}q[b+20>>2]=c+1;o[c|0]=a;return}lM(b,a);return}b:{c:{if(o[b+75|0]==(a&255)){break c}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break c}q[b+20>>2]=c+1;o[c|0]=a;break b}lM(b,a)}}function Y3(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;a:{b:{if((b|0)==(d|0)){if(!d){break a}b=0;break b}q[e+4>>2]=b;q[e>>2]=d;mi(4,24355,24679,e);fi=e+16|0;return-13}while(1){if(r[b+c|0]==r[a+b|0]){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}mi(4,24355,24735,0);f=-13}fi=e+16|0;return f}function Sfa(a){a=a|0;var b=0,c=0,d=0,e=0;d=fi-16|0;fi=d;b=q[a+8>>2];c=Fi(b);if(c>>>0>=6){e=!Ej((b+c|0)-5|0,59183)}b=-11;c=q[a+24>>2];if(!R$(q[a+12>>2],q[a+16>>2],e,d+12|0,q[c>>2],q[c+4>>2])){b=q[d+12>>2];q[q[a+24>>2]+8>>2]=b;q[q[a+24>>2]+16>>2]=q[b+12>>2]+24;b=0}fi=d+16|0;return b|0}function Psa(a,b){var c=0,d=0,e=0;c=q[a+4>>2];d=$i(b,0);e=$i(b,1);a:{b=r[$i(b,2)+97216|0]<<1;if(b>>>0<32){b=(b|(r[d+96960|0]<<10|r[e+96960|0]<<5)|32768)&262142|c&1;if(b>>>0>=65536){break a}q[a+4>>2]=b|q[a+4>>2]&-65536;return}J(97472,85651,3143,96933);G()}J(97505,85651,3153,96933);G()}function OK(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;a:{if(!c&b>>>0<128){e=b;break a}while(1){o[(d+6|0)+f|0]=b|128;f=f+1|0;g=!c&b>>>0>16383|(c|0)!=0;e=c;c=c>>>7|0;e=(e&127)<<25|b>>>7;b=e;if(g){continue}break}}o[(d+6|0)+f|0]=e;a=ji[q[a>>2]](q[a+4>>2],d+6|0,f+1|0)|0;fi=d+16|0;return a}function v1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-96|0;fi=b;d=yi(a,1,q[79174],0);c=q[d+4>>2];e=q[d>>2];d=c;c=To(e,c);a:{if(c){q[b+20>>2]=c;q[b+16>>2]=113087;cj(b+32|0,64,113284,b+16|0);break a}q[b+8>>2]=e;q[b+12>>2]=d;q[b>>2]=113087;cj(b+32|0,64,113293,b)}wi(a,b+32|0);fi=b+96|0;return 1}function iR(a){a=a|0;var b=0;Hi(a,-10003);ak(a,1);if(qq(a,(q[a+8>>2]-q[a+12>>2]>>4)-1|0,-1,0)){if((ri(a,-1)|0)==5){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;ak(a,-2);return 2}fo(a);return 0}return q[a+8>>2]-q[a+12>>2]>>4}function aha(a){a=a|0;var b=0,c=0,d=0;b=qi(Ci(148),0,148);c=KJ(q[a>>2],q[a+4>>2],q[a+20>>2],b);if(!c){d=q[a+24>>2];q[d+8>>2]=b;q[d+16>>2]=(q[b+64>>2]+(q[b+48>>2]+(q[a+16>>2]+q[b+16>>2]|0)|0)-(q[b+56>>2]+(q[b+8>>2]+q[b+40>>2]|0))|0)+148;return c|0}Zu(q[a>>2],b);aA(b);ki(b);return c|0}function BT(a,b){var c=0,d=0;a:{if(!(r[a+281|0]&8)){break a}a=a+296|0;while(1){c=q[a+4>>2];if((c|0)==8){if(!ej(q[a+8>>2],b,8)){break a}}if((c|0)==4){c=q[a+8>>2];if((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))==2432341){break a}}a=q[a+12>>2];if(a){continue}break}d=-10240}return d}function zw(a,b,c,d){var e=0,f=0,g=0;f=q[240910]+1|0;q[240910]=f;q[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!q[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=zw(e,b,Pl(c,d<<4|8),a);L(a|0);return b}q[g>>2]=f;a=(e<<3)+c|0;q[a+4>>2]=b;q[a+8>>2]=0;L(d|0);return c}function Bu(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}b=q[c+4>>2];d=q[c>>2];u[a+40>>2]=u[c+8>>2];q[a+32>>2]=d;q[a+36>>2]=b}return}J(136114,135222,447,135487);G()}function rA(a,b,c){var d=0,e=0,f=0;d=q[a+4168>>2];a:{if(!d){break a}d=q[q[a+4164>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+4172>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f}function pba(a,b,c){var d=0,e=0,f=0;d=q[a+132>>2];a:{if(!d){break a}d=q[q[a+128>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+136>>2];while(1){e=a+w(d,24)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+20>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+w(d,24)|0)+8>>2]}return f}function nq(a,b,c){var d=0,e=0,f=0,g=0;e=fi-16|0;fi=e;d=Lj(a,b,e+12|0,2);a:{if(d){break a}d=-100;f=q[e+12>>2]-1|0;if(f>>>0>3){break a}b=q[a>>2];if(o[b|0]<0){break a}q[c>>2]=0;while(1){g=r[b|0]|g<<8;q[c>>2]=g;b=b+1|0;q[a>>2]=b;d=f;f=d-1|0;if(d){continue}break}d=0}fi=e+16|0;return d}function mR(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;a:{b:{if(q[a>>2]==6){e=-14848;a=kS(a);c=-46;c:{if(!a){break c}q[d+12>>2]=q[a+16>>2];c=0}if(!c){break b}break a}e=nR(a,d+12|0);if(e){break a}}a=q[d+12>>2];c=q[b>>2];if(c){e=-15616;if((a|0)!=(c|0)){break a}}e=Dt(b,a)}fi=d+16|0;return e}function XP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=fi-144|0;fi=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}Br(d);Xw(d,q[a+68>>2]+776|0);zt(d,d+112|0);if(d){ji[q[66742]](d,0,108)|0}ji[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?166793:166777,d+112|0,32,b,12)|0;ji[q[66742]](d+112|0,0,32)|0;fi=d+144|0}function Ov(a,b){var c=0,d=0;a:{if(a|b){while(1){c=-1;if(!a|!b|q[a>>2]!=q[b>>2]){break a}d=q[a+4>>2];if((d|0)!=q[b+4>>2]){break a}if(ej(q[a+8>>2],q[b+8>>2],d)){break a}if(UM(a+12|0,b+12|0)|r[a+28|0]!=r[b+28|0]){break a}a=q[a+24>>2];b=q[b+24>>2];if(a|b){continue}break}}c=0}return c}function N7(a){var b=0;ki(q[a>>2]);Tn(q[a+48>>2]);N5(q[a+84>>2]);a:{if(o[a+76|0]&1){break a}b=q[a+64>>2];if(!b){break a}ki(b)}b:{if(o[a+60|0]&1){break b}b=q[a+52>>2];if(!b){break b}ki(b)}c:{if(o[a+44|0]&1){break c}b=q[a+24>>2];if(b){ki(b)}b=q[a+16>>2];if(!b){break c}ki(b)}return a}function Gt(a,b,c,d){var e=0,f=0;f=-24832;e=q[a>>2];a:{if(!e|(q[e+8>>2]!=(c|0)?!(r[e+20|0]&2):0)){break a}q[a+8>>2]=d;q[a+4>>2]=c;if(!(q[e+4>>2]-3>>>0>2?(d|0)!=1:0)){return ji[q[q[e+28>>2]+20>>2]](q[a+60>>2],b,c)|0}if(d){break a}f=ji[q[q[e+28>>2]+24>>2]](q[a+60>>2],b,c)|0}return f}function zl(a,b,c){var d=0,e=0;d=s[a+52>>1]+1|0;p[a+52>>1]=d;a:{e=d&65535;b:{if(e>>>0<200){break b}if((e|0)==200){Ck(a,126302,0);break b}if((d&65535)>>>0>=225){break a}}if(!Xt(a,b,c)){YD(a,1)}p[a+52>>1]=s[a+52>>1]-1;b=q[a+16>>2];if(t[b+68>>2]>=t[b+64>>2]){Ul(a)}return}oj(a,5);G()}function zV(a,b,c){var d=0,e=0,f=0;e=fi-32|0;fi=e;d=e;q[d+24>>2]=0;q[d+28>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;f=a+32|0;Qr(f);q[a+316>>2]=b;q[a+312>>2]=1300;q[a+28>>2]=1e4;q[a+24>>2]=48;b=oq(f,d,256);if(!b){b=xD(a,c,17)}fi=e+32|0;return b}function Dia(a){a=a|0;var b=0,c=0,d=0;d=q[a+8>>2]-q[a+12>>2]|0;c=+q[74609];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=+q[74610];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(75043,74832,250,75068);G()}return 2}function C0(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Vi(a,1);a:{b:{switch(r[Ni(a,2,0)|0]-120|0){case 0:u[c>>2]=Ai(a,3);break a;case 1:u[c+4>>2]=Ai(a,3);break a;case 2:u[c+8>>2]=Ai(a,3);break a;default:break b}}q[b+4>>2]=120656;q[b>>2]=120720;d=ni(a,121419,b)}fi=b+16|0;return d|0}function cu(a,b){var c=0,d=0,e=0,f=0,g=0;f=-5;a:{c=sk(b,183901);b:{if(!c){break b}El(c,0,2);d=mn(c);El(c,0,0);e=xi(d);if((Yk(e,1,d,c)|0)!=(d|0)){break a}a=sk(a,183904);if(!a){break a}g=Al(e,1,d,a);Qj(c);Qj(a);ki(e);if((d|0)!=(g|0)){break b}Zk(b);f=0}return f}Qj(c);ki(e);return-5}function K6(a,b,c,d,e){var f=0,g=0;f=fi-48|0;fi=f;g=-2;if(!(!a|!q[d>>2])){q[f+40>>2]=0;q[f+28>>2]=b;q[f+24>>2]=c;q[f+20>>2]=a;q[f+32>>2]=0;q[f+36>>2]=0;q[f+16>>2]=q[d+8>>2];a=q[d+4>>2];q[f+8>>2]=q[d>>2];q[f+12>>2]=a;q[f+44>>2]=556;q[f+36>>2]=e;g=WG(f+8|0)?0:-3}fi=f+48|0;return g}function z4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(104348,104245,265,107702);G()}c=ji[q[74884]](q[q[b+304>>2]+2208>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function y4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(104348,104245,265,107702);G()}c=ji[q[74887]](q[q[b+304>>2]+2208>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function x4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(104348,104245,265,107702);G()}c=ji[q[74886]](q[q[b+304>>2]+2208>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function gO(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=r[a+2|0];e=!c;a=r[a+1|0]<<16|r[a|0]<<24|c<<8;f=r[b+1|0]<<16|r[b|0]<<24|r[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=r[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function cZ(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Ni(a,1,0);q[b+4>>2]=0;a:{if(dt(c,b+8|0)){c=sC(b+8|0,b+4|0);break a}c=rC(c,b+4|0)}b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,qC(c));break b}wi(a,Gx(q[q[q[q[b+4>>2]+16>>2]>>2]>>2]));qE(a,q[b+4>>2])}fi=b+16|0;return 2}function YX(a){a=a|0;var b=0;oi(a,1);bj(a,0);if(Fj(a,1)){a:{if((ri(a,1)|0)==1){ij(a,0,0);Hi(a,-1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;qj(a,-10003);break a}b:{if(Sl(a,1)){gl(a,-10003);b=Fj(a,-1);oi(a,-2);if(b){break b}}Mj(a,1,129670)}Sl(a,1)}aj(a,2)}return 1}function Kba(a,b,c){var d=0,e=0,f=0;d=q[a+100>>2];a:{if(!d){break a}d=q[q[a+96>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+104>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f}function C4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ki(a);b=yi(a,-1,q[79069],107729);oi(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(104348,104245,265,107702);G()}c=ji[q[74885]](q[q[b+304>>2]+2208>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function $P(a){var b=0,c=0,d=0;a:{b=q[a+68>>2];if(!b|q[a+128>>2]!=22|q[b+580>>2]){break a}c=q[a+132>>2]+13|0;if(c>>>0>32768-q[b+524>>2]>>>0){break a}d=s[a+140>>1];q[b+584>>2]=c;q[b+588>>2]=d+1;d=Oj(1,c);q[b+580>>2]=d;if(!d){break a}si(d,q[a+108>>2],c);q[b+524>>2]=q[b+524>>2]+c}}function xsa(a,b){var c=0,d=0;a:{if(b>>>0<21){if(aM(b)>>>0<=a>>>0){break a}if(!(898778>>>b&1)){return NA(a,0,0,b)}c=q[w(b,12)+88256>>2];d=a>>>c|0;a=(-1<>>b&1){return NA(a,d,0,b)}return NA(a,0,d,b)}J(88562,85651,11589,88665);G()}J(88691,85651,11590,88665);G()}function kfa(a){var b=0;a=q[a>>2];ek(a,63774,241600);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,63792);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,63808);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,63823);oi(a,-2)}function ifa(a){var b=0;a=q[a>>2];ek(a,65304,241664);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,65312);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,65328);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,65343);oi(a,-2)}function Qea(a,b,c,d){var e=0,f=0;e=fi-32|0;fi=e;f=-4;a:{if(q[b>>2]!=1){break a}f=-8;b=Z3(a,q[b+8>>2],q[b+12>>2],c,e)+18|0;if(!b){break a}if((b|0)==18){f=0;b=q[e+8>>2];if((b|0)==q[d>>2]){break a}ss(a,b);b=q[d>>2];if(b){Di(a,b)}q[d>>2]=q[e+8>>2];break a}f=-10}fi=e+32|0;return f}function ou(a,b,c){var d=0,e=0;d=q[a>>2];a=q[d+4>>2];a:{if(!a){break a}a=q[q[d>>2]+(lwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}d=q[d+8>>2];while(1){a=w(a,48);e=a+d|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break a}a=q[(a+d|0)+40>>2];if((a|0)!=-1){continue}break}e=0}return e?e+8|0:0}function jQ(a,b,c){var d=0,e=0,f=0;d=fi+ -64|0;fi=d;e=q[a>>2];q[d+48>>2]=0;e=Fl(e,3,d+48|0);f=q[a>>2];q[d+32>>2]=e&-2049;Fl(f,4,d+32|0);e=0;if((isa(q[a>>2],b,c)|0)<=-1){e=q[240833]}b=q[a>>2];q[d+16>>2]=0;b=Fl(b,3,d+16|0);a=q[a>>2];q[d>>2]=b|2048;Fl(a,4,d);fi=d- -64|0;return e}function gH(a,b){var c=0,d=0,e=0,f=0;f=q[a+48>>2];tj(f);c=q[a+20>>2];if(c){while(1){d=q[q[a+16>>2]+(e<<2)>>2];if((d|0)!=-1){while(1){c=q[a+24>>2]+w(d,136)|0;ji[1306](b,c+8|0);d=q[c+128>>2];if((d|0)!=-1){continue}break}c=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}lj(f)}function W_(a,b,c,d,e,f){var g=0;g=fi-48|0;fi=g;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;a=Nr(a,g+8|0,d,c,e,f);a:{if(a){break a}a=-20352;if(mD(g+8|0)){break a}a=_j(b,g+8|0)}Rl(g+8|0);fi=g+48|0;return a}function NC(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;f=q[a>>2];a:{if((b-f|0)<1){e=-9312;break a}g=2;e=-9314;b:{switch(r[f|0]-23|0){case 1:g=4;break;case 0:break b;default:break a}}q[a>>2]=f+1;b=mq(a,b,d+12|0);if(b){e=b-9216|0;break a}e=VM(a,q[d+12>>2],g,c)}fi=d+16|0;return e}function Im(a,b){var c=0,d=0;c=o[b|0];if(!c){return a}a=Nj(a,c);a:{if(!a){break a}if(!r[b+1|0]){return a}if(!r[a+1|0]){break a}if(!r[b+2|0]){return XN(a,b)}if(!r[a+2|0]){break a}if(!r[b+3|0]){return gO(a,b)}if(!r[a+3|0]){break a}if(!r[b+4|0]){return SZ(a,b)}d=WN(a,b)}return d}function B5(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(q[a+8>>2]!=1){break a}b=q[a+16>>2];c=q[a+20>>2];if((b|0)==(c|0)){break a}e=q[a+4>>2];while(1){d=q[a+12>>2]+w(q[b>>2],48)|0;if(q[d+20>>2]==q[e+1696>>2]){Sn(q[a>>2],q[d+32>>2]);c=q[a+20>>2]}b=b+4|0;if((c|0)!=(b|0)){continue}break}}}function Nr(a,b,c,d,e,f){var g=0,h=0;g=jV(a,c);a:{if(g){break a}g=pD(a,d);if(g){break a}g=-20352;if(q[a+48>>2]){h=q[a+60>>2]?1:2}else{h=0}if((h|0)==2){g=r_(a,b,c,d,e,f);if(g){break a}g=0}if(q[a+48>>2]){h=q[a+60>>2]?1:2}else{h=0}if((h|0)!=1){break a}g=u_(a,b,c,d,e,f)}return g}function xv(a,b){var c=0,d=0;c=fi-32|0;fi=c;q[c+24>>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=gk(c+16|0,2);a:{if(d){break a}d=tl(c,b,2);if(d){break a}d=0;if((Dj(a,c+16|0)|0)>=0){if((Dj(a,c)|0)<1){break a}}d=-12416}Ji(c+16|0);Ji(c);fi=c+32|0;return d}function uq(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=kwa(a,b,10);e=ii;f=e;e=jwa(d,e,10,0);c=c-1|0;o[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;o[c|0]=d-w(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function eK(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14016,13798,256,14079);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=6;c=b+q[e+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;o[b+q[e+28>>2]|0]=d;q[a+16>>2]=q[a+16>>2]+1}function QG(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;a:{b:{c:{d:{e:{f:{a=Ey(a,b,d+12|0);switch(a+20|0){case 20:break a;case 19:break c;case 5:break d;case 0:break e;case 1:break f;default:break b}}a=-4;break a}a=-6;break a}a=-7;break a}a=-8;break a}a=-3}fi=d+16|0;return a}function Poa(a){var b=0,c=0,d=0;d=fi-16|0;fi=d;b=q[210336];a:{if(!b){break a}b:{while(1){c=q[b+4>>2];if(c){q[210337]=b;c=ji[c|0](a)|0;if(c){break b}o[b+40|0]=1}b=q[b+36>>2];if(b){continue}break}c=0;break a}q[d>>2]=q[b>>2];mi(4,133060,133070,d)}q[210337]=0;fi=d+16|0;return c}function GW(a){var b=0;hb(13,1)|0;io(a,123793,259200);wi(a,123800);wi(a,123809);qj(a,-3);io(a,0,259104);io(a,0,259600);wi(a,123619);ij(a,0,0);io(a,0,259136);Wi(a,-3);hO(a);VN(a);wi(a,123870);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1024;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);io(a,0,259232)}function xga(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;a:{if(rj(q[a+12>>2],q[a+16>>2],q[64250],c+12|0)){break a}b=q[c+12>>2];if(!r[q[b>>2]]){Ui(b);b=-13;break a}jk(q[a+20>>2],q[b+12>>2]);jk(q[a+20>>2],q[q[c+12>>2]+16>>2]);q[q[a+24>>2]>>2]=q[c+12>>2];b=0}fi=c+16|0;return b|0}function mca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){Tb(q[(b<<2)+82280>>2],q[(c<<2)+82352>>2],q[(d<<2)+82352>>2],q[(e<<2)+82352>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2894,82311);G()}Mi(a,82311,2907);J(79249,79164,2907,82311);G()}function Yr(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;d=q[b+16>>2]+((q[c+8>>2]&(-1<>2]==(c|0)?q[d+24>>2]==4:0)){d=q[d+28>>2];if(d){continue}break b}break}if((d|0)!=126472){break a}}q[e+8>>2]=4;q[e>>2]=c;d=sp(a,b,e)}fi=e+16|0;return d}function ufa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[q[a+32>>2]+8>>2];a:{if(!d){c=-13;break a}c=-13;if(rj(q[a+20>>2],q[a+24>>2],q[63598],b+12|0)){break a}a=Rq(q[a+4>>2],q[b+12>>2]);c=-13;b:{if(!a){break b}c=ji[q[74924]](d,a)|0?0:-13}Ui(q[b+12>>2])}fi=b+16|0;return c|0}function sY(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ni(a,1,0);d=Mx(a,c,130064);if(d){e=Nj(c,45);q[b+16>>2]=Eo(a,e?e+1|0:c,130365,130465);nj(a,130467,b+16|0);Ok(a,-2);Ax(a,d);c=_i(a,1,0);q[b+8>>2]=_i(a,-1,0);q[b+4>>2]=d;q[b>>2]=c;ni(a,130419,b)}fi=b+32|0;return 1} +function sL(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;a:{if(!c&b>>>0<128){e=b;break a}while(1){o[(d+6|0)+f|0]=b|128;f=f+1|0;g=!c&b>>>0>16383|(c|0)!=0;e=c;c=c>>>7|0;e=(e&127)<<25|b>>>7;b=e;if(g){continue}break}}o[(d+6|0)+f|0]=e;a=xi[q[a>>2]](q[a+4>>2],d+6|0,f+1|0)|0;ti=d+16|0;return a}function sha(a){a=a|0;var b=0,c=0,d=0;b=Fi(Oi(148),0,148);c=qK(q[a>>2],q[a+4>>2],q[a+20>>2],b);if(!c){d=q[a+24>>2];q[d+8>>2]=b;q[d+16>>2]=(q[b+64>>2]+(q[b+48>>2]+(q[a+16>>2]+q[b+16>>2]|0)|0)-(q[b+56>>2]+(q[b+8>>2]+q[b+40>>2]|0))|0)+148;return c|0}vv(q[a>>2],b);lA(b);yi(b);return c|0}function T1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-96|0;ti=b;d=Li(a,1,q[81777],0);c=q[d+4>>2];e=q[d>>2];d=c;c=Qs(e,c);a:{if(c){q[b+20>>2]=c;q[b+16>>2]=119989;hj(b+32|0,64,120186,b+16|0);break a}q[b+8>>2]=e;q[b+12>>2]=d;q[b>>2]=119989;hj(b+32|0,64,120195,b)}Hi(a,b+32|0);ti=b+96|0;return 1}function QV(a,b){var c=0,d=0,e=0;d=ti-32|0;ti=d;c=d;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;e=a+32|0;es(e);q[a+316>>2]=b;q[a+312>>2]=1388;q[a+28>>2]=1e4;q[a+24>>2]=48;b=Bq(e,c,256);if(!b){b=GD(a,176308,17)}ti=d+32|0;return b}function NT(a,b){var c=0,d=0;a:{if(!(r[a+281|0]&8)){break a}a=a+296|0;while(1){c=q[a+4>>2];if((c|0)==8){if(!pj(q[a+8>>2],b,8)){break a}}if((c|0)==4){c=q[a+8>>2];if((r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24))==2432341){break a}}a=q[a+12>>2];if(a){continue}break}d=-10240}return d}function HR(a){a=a|0;var b=0;Qi(a,-10003);hk(a,1);if(Hp(a,(q[a+8>>2]-q[a+12>>2]>>4)-1|0,-1,0)){if((Ei(a,-1)|0)==5){b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-2);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;hk(a,-2);return 2}mo(a);return 0}return q[a+8>>2]-q[a+12>>2]>>4}function ax(a,b,c,d){var e=0,f=0,g=0;f=q[243031]+1|0;q[243031]=f;q[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!q[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=ax(e,b,nl(c,d<<4|8),a);L(a|0);return b}q[g>>2]=f;a=(e<<3)+c|0;q[a+4>>2]=b;q[a+8>>2]=0;L(d|0);return c}function Yu(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}b=q[c+4>>2];d=q[c>>2];u[a+40>>2]=u[c+8>>2];q[a+32>>2]=d;q[a+36>>2]=b}return}J(146626,145751,479,145962);G()}function zA(a,b,c){var d=0,e=0,f=0;d=q[a+3148>>2];a:{if(!d){break a}d=q[q[a+3144>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+3152>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f}function xQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=ti-144|0;ti=d;e=q[a+64>>2];if(!e){e=q[a+60>>2]}Qr(d);ux(d,q[a+68>>2]+776|0);St(d,d+112|0);if(d){xi[q[68401]](d,0,108)|0}xi[q[q[a+68>>2]+1116>>2]](e+48|0,48,c?176137:176121,d+112|0,32,b,12)|0;xi[q[68401]](d+112|0,0,32)|0;ti=d+144|0}function vba(a,b,c){var d=0,e=0,f=0;d=q[a+132>>2];a:{if(!d){break a}d=q[q[a+128>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+136>>2];while(1){e=a+w(d,24)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+20>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+w(d,24)|0)+8>>2]}return f}function mw(a,b){var c=0,d=0;a:{if(a|b){while(1){c=-1;if(!a|!b|q[a>>2]!=q[b>>2]){break a}d=q[a+4>>2];if((d|0)!=q[b+4>>2]){break a}if(pj(q[a+8>>2],q[b+8>>2],d)){break a}if(vN(a+12|0,b+12|0)|r[a+28|0]!=r[b+28|0]){break a}a=q[a+24>>2];b=q[b+24>>2];if(a|b){continue}break}}c=0}return c}function fH(a,b,c){var d=0,e=x(0),f=0,g=x(0),h=x(0),i=x(0);g=u[b+8>>2];h=u[b+4>>2];i=u[b>>2];b=0;f=1;while(1){d=(b<<4)+a|0;e=x(u[d+12>>2]+x(x(x(i*u[d>>2])+x(h*u[d+4>>2]))+x(g*u[d+8>>2])));if(!(x(e*e)>c^1?0:!(e>>0<4;if((b|0)!=4){continue}}break}return(f^-1)&1}function _t(a,b,c,d){var e=0,f=0;f=-24832;e=q[a>>2];a:{if(!e|(q[e+8>>2]!=(c|0)?!(r[e+20|0]&2):0)){break a}q[a+8>>2]=d;q[a+4>>2]=c;if(!(q[e+4>>2]-3>>>0>2?(d|0)!=1:0)){return xi[q[q[e+28>>2]+20>>2]](q[a+60>>2],b,c)|0}if(d){break a}f=xi[q[q[e+28>>2]+24>>2]](q[a+60>>2],b,c)|0}return f}function Wpa(a,b){a=a|0;b=b|0;var c=0,d=0;c=0;a:{if((a|0)<1){break a}b:{while(1){c=q[(d<<2)+b>>2];if(!tk(4241,c,3)){c=Oj(c,61);if(c){break b}}d=d+1|0;if((d|0)!=(a|0)){continue}break}c=0;break a}c=c+1|0}if(kea(c)){c=q[74056];c=iqa(Oi(512),c);if(fqa(c,a,b)){return c|0}nL(c)}return 0}function Ppa(){var a=0;q[73842]=q[242117];q[242117]=295336;q[73819]=q[242110];q[242110]=295236;oN();q[73830]=q[242110];q[242110]=295280;mN();a=q[77416];q[77531]=612;q[77529]=a;o[310132]=1;q[77530]=613;q[77416]=310116;kN();fN();gN();bN();cN();iN();hN();eN();dN();pN();sN();rN();qN()}function P5(a,b,c){var d=0,e=0,f=0;d=q[a+20>>2];if(!d){return-1}f=-1;d=q[q[a+16>>2]+(Qwa(b,c,d)<<2)>>2];a:{if((d|0)==-1){break a}a=q[a+24>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f}function K7(a){var b=0;yi(q[a>>2]);Zn(q[a+48>>2]);g6(q[a+84>>2]);a:{if(o[a+76|0]&1){break a}b=q[a+64>>2];if(!b){break a}yi(b)}b:{if(o[a+60|0]&1){break b}b=q[a+52>>2];if(!b){break b}yi(b)}c:{if(o[a+44|0]&1){break c}b=q[a+24>>2];if(b){yi(b)}b=q[a+16>>2];if(!b){break c}yi(b)}return a}function Aq(a,b,c){var d=0,e=0,f=0,g=0;e=ti-16|0;ti=e;d=Rj(a,b,e+12|0,2);a:{if(d){break a}d=-100;f=q[e+12>>2]-1|0;if(f>>>0>3){break a}b=q[a>>2];if(o[b|0]<0){break a}q[c>>2]=0;while(1){g=r[b|0]|g<<8;q[c>>2]=g;b=b+1|0;q[a>>2]=b;d=f;f=d-1|0;if(d){continue}break}d=0}ti=e+16|0;return d}function V0(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=aj(a,1);a:{b:{switch(r[Wi(a,2,0)|0]-120|0){case 0:u[c>>2]=Ri(a,3);break a;case 1:u[c+4>>2]=Ri(a,3);break a;case 2:u[c+8>>2]=Ri(a,3);break a;default:break b}}q[b+4>>2]=128688;q[b>>2]=128752;d=Bi(a,129451,b)}ti=b+16|0;return d|0}function El(a,b,c){var d=0,e=0;d=s[a+52>>1]+1|0;p[a+52>>1]=d;a:{e=d&65535;b:{if(e>>>0<200){break b}if((e|0)==200){Hk(a,135576,0);break b}if((d&65535)>>>0>=225){break a}}if(!pu(a,b,c)){dE(a,1)}p[a+52>>1]=s[a+52>>1]-1;b=q[a+16>>2];if(t[b+68>>2]>=t[b+64>>2]){_l(a)}return}yj(a,5);G()}function $ia(a){a=a|0;var b=0,c=0,d=0;d=q[a+8>>2]-q[a+12>>2]|0;c=+q[77106];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=+q[77107];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+2|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(78382,78128,281,78407);G()}return 2}function aF(a,b){var c=0,d=0,e=0,f=0,g=0;f=-5;a:{c=il(b,177777);b:{if(!c){break b}Ik(c,0,2);d=um(c);Ik(c,0,0);e=Ji(d);if((tl(e,1,d,c)|0)!=(d|0)){break a}a=il(a,177780);if(!a){break a}g=Rl(e,1,d,a);Ak(c);Ak(a);yi(e);if((d|0)!=(g|0)){break b}xn(b);f=0}return f}Ak(c);yi(e);return-5}function N$(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=ti-16|0;ti=e;q[e+8>>2]=0;f=q[a+4>>2];g=q[a+12>>2];if(f>>>0>>0){J(205467,205404,220,205451);G()}h=d;d=f-g|0;c=c>>>0>>0?c:d;q[h>>2]=c;Gi(b,q[a+16>>2]+q[a+12>>2]|0,c);q[a+12>>2]=c+q[a+12>>2];ti=e+16|0;return 0}function Ao(a){var b=0,c=0,d=0,e=0;a:{b:{if(a+1>>>0<2){break b}c=a&65535;d=q[213374];if(c>>>0>=t[d+8>>2]){break a}b=q[q[d>>2]+(c<<2)>>2];if(!b|s[q[d+4>>2]+(c<<1)>>1]!=(a>>>16|0)){break b}e=!pj(q[b>>2]+w(q[b+24>>2],q[b+28>>2])|0,148944,16)}return e}J(149021,149036,144,149074);G()}function vZ(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=Wi(a,1,0);q[b+4>>2]=0;a:{if(wt(c,b+8|0)){c=GC(b+8|0,b+4|0);break a}c=FC(c,b+4|0)}b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,EC(c));break b}Hi(a,$x(q[q[q[q[b+4>>2]+16>>2]>>2]>>2]));BE(a,q[b+4>>2])}ti=b+16|0;return 2}function pY(a){a=a|0;var b=0;Ci(a,1);jj(a,0);if(Ej(a,1)){a:{if((Ei(a,1)|0)==1){gj(a,0,0);Qi(a,-1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;tj(a,-10003);break a}b:{if(Kl(a,1)){Vk(a,-10003);b=Ej(a,-1);Ci(a,-2);if(b){break b}}Qj(a,1,138934)}Kl(a,1)}ij(a,2)}return 1}function Y4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(110492,110389,475,114319);G()}c=xi[q[77428]](q[q[b+304>>2]+2384>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function V4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(110492,110389,475,114319);G()}c=xi[q[77427]](q[q[b+304>>2]+2384>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function U4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(110492,110389,475,114319);G()}c=xi[q[77430]](q[q[b+304>>2]+2384>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function T4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;Ti(a);b=Li(a,-1,q[81656],114346);Ci(a,-2);if((c|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(110492,110389,475,114319);G()}c=xi[q[77429]](q[q[b+304>>2]+2384>>2])|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Rba(a,b,c){var d=0,e=0,f=0;d=q[a+100>>2];a:{if(!d){break a}d=q[q[a+96>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+104>>2];while(1){e=a+(d<<4)|0;if((b|0)!=q[e>>2]|q[e+4>>2]!=(c|0)){d=q[e+12>>2];if((d|0)!=-1){continue}break a}break}f=q[(a+(d<<4)|0)+8>>2]}return f}function Lz(a,b,c){var d=0,e=0,f=0;a:{if(c){e=r[b+144|0];if((e|0)==255){o[c|0]=0;return}d=q[q[212969]+3476>>2];f=q[d>>2];if(q[d+4>>2]-f>>2>>>0<=e>>>0){break a}d=a;a=q[f+(e<<2)>>2];xi[q[a+16>>2]](d,a,b,c,128);return}J(143592,143159,347,143571);G()}J(143604,143159,356,143571);G()}function IO(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=r[a+2|0];e=!c;a=r[a+1|0]<<16|r[a|0]<<24|c<<8;f=r[b+1|0]<<16|r[b|0]<<24|r[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=r[d+1|0];e=!c;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?0:b-2|0}function BQ(a){var b=0,c=0,d=0;a:{b=q[a+68>>2];if(!b|q[a+128>>2]!=22|q[b+580>>2]){break a}c=q[a+132>>2]+13|0;if(c>>>0>32768-q[b+524>>2]>>>0){break a}d=s[a+140>>1];q[b+584>>2]=c;q[b+588>>2]=d+1;d=Vj(1,c);q[b+580>>2]=d;if(!d){break a}Gi(d,q[a+108>>2],c);q[b+524>>2]=q[b+524>>2]+c}}function yfa(a){var b=0;a=q[a>>2];ik(a,65066,244240);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,65074);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,65090);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,65105);Ci(a,-2)}function rta(a,b){var c=0,d=0;a:{if(b>>>0<21){if(FM(b)>>>0<=a>>>0){break a}if(!(898778>>>b&1)){return YA(a,0,0,b)}c=q[w(b,12)+94688>>2];d=a>>>c|0;a=(-1<>>b&1){return YA(a,d,0,b)}return YA(a,0,d,b)}J(94994,92069,11468,95097);G()}J(95123,92069,11469,95097);G()}function bfa(a,b,c,d){var e=0,f=0;e=ti-32|0;ti=e;f=-4;a:{if(q[b>>2]!=1){break a}f=-8;b=t4(a,q[b+8>>2],q[b+12>>2],c,e)+18|0;if(!b){break a}if((b|0)==18){f=0;b=q[e+8>>2];if((b|0)==q[d>>2]){break a}Rp(a,b);b=q[d>>2];if(b){Pi(a,b)}q[d>>2]=q[e+8>>2];break a}f=-10}ti=e+32|0;return f}function Afa(a){var b=0;a=q[a>>2];ik(a,63258,244160);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,63276);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,63292);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=2;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,63307);Ci(a,-2)}function A4(a,b){var c=0,d=0,e=0,f=0,g=0;c=ti-16|0;ti=c;u[c+12>>2]=b;q[c+8>>2]=0;q[a+4>>2]=q[a>>2];ty(q[a+312>>2],b);Qu(a,1,c+12|0);e=q[a+4>>2];d=q[a>>2];f=e-d|0;g=(f|0)/40|0;a:{if(f){if((d|0)==(e|0)){break a}H5(q[a+304>>2],d,g)}ti=c+16|0;return}J(116162,116106,421,116173);G()}function q8(a){var b=0,c=0,d=0,e=0;b=q[212969];if(b){c=q[b+3476>>2];b=q[c+4>>2];e=q[c>>2];if((b|0)!=(e|0)){b=e;while(1){b=q[(d<<2)+b>>2];xi[q[b+4>>2]](a,b);d=d+1|0;b=q[c>>2];if(d>>>0>2]-b>>2>>>0){continue}break}}if(!(!b|o[c+12|0]&1)){yi(b)}yi(c);q[q[212969]+3476>>2]=0}}function on(a,b){var c=0,d=0;c=o[b|0];if(!c){return a}a=Oj(a,c);a:{if(!a){break a}if(!r[b+1|0]){return a}if(!r[a+1|0]){break a}if(!r[b+2|0]){return xO(a,b)}if(!r[a+2|0]){break a}if(!r[b+3|0]){return IO(a,b)}if(!r[a+3|0]){break a}if(!r[b+4|0]){return k_(a,b)}d=wO(a,b)}return d}function oH(a,b){var c=0,d=0,e=0,f=0;f=q[a+48>>2];wj(f);c=q[a+20>>2];if(c){while(1){d=q[q[a+16>>2]+(e<<2)>>2];if((d|0)!=-1){while(1){c=q[a+24>>2]+w(d,136)|0;xi[1357](b,c+8|0);d=q[c+128>>2];if((d|0)!=-1){continue}break}c=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}qj(f)}function n$(a,b,c,d,e,f){var g=0;g=ti-48|0;ti=g;q[g+16>>2]=0;q[g+8>>2]=1;q[g+12>>2]=0;q[g+28>>2]=0;q[g+20>>2]=1;q[g+24>>2]=0;q[g+40>>2]=0;q[g+32>>2]=1;q[g+36>>2]=0;a=bs(a,g+8|0,d,c,e,f);a:{if(a){break a}a=-20352;if(wD(g+8|0)){break a}a=gk(b,g+8|0)}Zl(g+8|0);ti=g+48|0;return a}function _5(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(q[a+8>>2]!=1){break a}b=q[a+16>>2];c=q[a+20>>2];if((b|0)==(c|0)){break a}e=q[a+4>>2];while(1){d=q[a+12>>2]+w(q[b>>2],48)|0;if(q[d+28>>2]==q[e+1824>>2]){Yn(q[a>>2],q[d+16>>2]);c=q[a+20>>2]}b=b+4|0;if((c|0)!=(b|0)){continue}break}}}function YC(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;f=q[a>>2];a:{if((b-f|0)<1){e=-9312;break a}g=2;e=-9314;b:{switch(r[f|0]-23|0){case 1:g=4;break;case 0:break b;default:break a}}q[a>>2]=f+1;b=zq(a,b,d+12|0);if(b){e=b-9216|0;break a}e=wN(a,q[d+12>>2],g,c)}ti=d+16|0;return e}function Tp(a,b,c){var d=0,e=0;d=q[a>>2];a=q[d+4>>2];a:{if(!a){break a}a=q[q[d>>2]+(Qwa(b,c,a)<<2)>>2];if((a|0)==-1){break a}d=q[d+8>>2];while(1){a=w(a,48);e=a+d|0;if((b|0)==q[e>>2]&q[e+4>>2]==(c|0)){break a}a=q[(a+d|0)+40>>2];if((a|0)!=-1){continue}break}e=0}return e?e+8|0:0}function LQ(a,b,c){var d=0,e=0,f=0;d=ti+ -64|0;ti=d;e=q[a>>2];q[d+48>>2]=0;e=Ll(e,3,d+48|0);f=q[a>>2];q[d+32>>2]=e&-2049;Ll(f,4,d+32|0);e=0;if((dta(q[a>>2],b,c)|0)<=-1){e=q[242957]}b=q[a>>2];q[d+16>>2]=0;b=Ll(b,3,d+16|0);a=q[a>>2];q[d>>2]=b|2048;Ll(a,4,d);ti=d- -64|0;return e}function $A(a,b,c){var d=0,e=0;a:{b:{d=b+5|0;if(d>>>0<65){e=b>>>3|0;if((e|0)!=(d-1>>>3|0)){break b}if(c>>>0>=32){break a}a=a-e|0;d=a;e=r[a+7|0];a=b&7;o[d+7|0]=e&(31<>2]){h=q[a+60>>2]?1:2}else{h=0}if((h|0)==2){g=K_(a,b,c,d,e,f);if(g){break a}g=0}if(q[a+48>>2]){h=q[a+60>>2]?1:2}else{h=0}if((h|0)!=1){break a}g=N_(a,b,c,d,e,f)}return g}function dk(a,b,c,d){var e=0,f=0,g=0;if((b|c|d)>>>0>=4){J(101989,101831,766,102007);G()}e=a+c|0;f=e;g=r[e|0];e=b<<1;o[f|0]=g&(3<>>3|0)|0;b=a;c=c&7;e=Twa(-2,c);g=b+7|0;f=e&r[b+7|0];b=r[d+101985|0];o[g|0]=f|(b&1)<>>1<>2]=0;q[c+16>>2]=1;q[c+20>>2]=0;q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=0;d=lk(c+16|0,2);a:{if(d){break a}d=zl(c,b,2);if(d){break a}d=0;if((Lj(a,c+16|0)|0)>=0){if((Lj(a,c)|0)<1){break a}}d=-12416}Si(c+16|0);Si(c);ti=c+32|0;return d}function YW(a){var b=0;fb(13,1)|0;po(a,131777,264576);Hi(a,131784);Hi(a,131793);tj(a,-3);po(a,0,264480);po(a,0,264976);Hi(a,131605);gj(a,0,0);po(a,0,264512);$i(a,-3);JO(a);vO(a);Hi(a,131854);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1024;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);po(a,0,264608)}function Npa(a){var b=0,c=0,d=0;d=ti-16|0;ti=d;b=q[212966];a:{if(!b){break a}b:{while(1){c=q[b+4>>2];if(c){q[212967]=b;c=xi[c|0](a)|0;if(c){break b}o[b+40|0]=1}b=q[b+36>>2];if(b){continue}break}c=0;break a}q[d>>2]=q[b>>2];Ai(4,142324,142334,d)}q[212967]=0;ti=d+16|0;return c}function KK(a,b,c,d){var e=0,f=0,g=0;f=q[a+4>>2];e=q[a>>2];if(f>>>0>=t[e>>2]){J(14062,13844,256,14125);G()}q[a+4>>2]=f+1;g=q[e+4>>2]+(f<<3)|0;q[g>>2]=b;q[g+4>>2]=c;b=f<<2;q[b+q[e+12>>2]>>2]=6;c=b+q[e+8>>2]|0;b=q[a+16>>2];q[c>>2]=b;o[b+q[e+28>>2]|0]=d;q[a+16>>2]=q[a+16>>2]+1}function Hq(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=Pwa(a,b,10);e=wi;f=e;e=Owa(d,e,10,0);c=c-1|0;o[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;o[c|0]=d-w(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function ns(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;d=q[b+16>>2]+((q[c+8>>2]&(-1<>2]==(c|0)?q[d+24>>2]==4:0)){d=q[d+28>>2];if(d){continue}break b}break}if((d|0)!=135744){break a}}q[e+8>>2]=4;q[e>>2]=c;d=Ap(a,b,e)}ti=e+16|0;return d}function Pga(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;a:{if(Cj(q[a+12>>2],q[a+16>>2],q[65552],c+12|0)){break a}b=q[c+12>>2];if(!r[q[b>>2]]){cj(b);b=-13;break a}nk(q[a+20>>2],q[b+12>>2]);nk(q[a+20>>2],q[q[c+12>>2]+16>>2]);q[q[a+24>>2]>>2]=q[c+12>>2];b=0}ti=c+16|0;return b|0}function hY(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{if((Ei(a,1)|0)!=4){break a}if(r[dj(a,1,0)|0]!=35){break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c-1|0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=Xi(a,1);b=(b|0)<0?b+c|0:(b|0)>(c|0)?c:b;if((b|0)<=0){Qj(a,1,138727)}return c-b|0}function cT(a){a=a|0;var b=0,c=0,d=0;c=Ym(a,132299);d=Pn(a,2,32);a:{if(y(d)<2147483648){b=~~d;break a}b=-2147483648}b=JQ(c,b);if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,Yl(b));return 2}rp(a,132323,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function bha(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[q[a+32>>2]+8>>2];a:{if(!d){c=-13;break a}c=-13;if(Cj(q[a+20>>2],q[a+24>>2],q[64814],b+12|0)){break a}a=cr(q[a+4>>2],q[b+12>>2]);c=-13;b:{if(!a){break b}c=xi[q[77465]](d,a)|0?0:-13}cj(q[b+12>>2])}ti=b+16|0;return c|0}function Kfa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[q[a+32>>2]+8>>2];a:{if(!d){c=-13;break a}c=-13;if(Cj(q[a+20>>2],q[a+24>>2],q[64814],b+12|0)){break a}a=cr(q[a+4>>2],q[b+12>>2]);c=-13;b:{if(!a){break b}c=xi[q[77464]](d,a)|0?0:-13}cj(q[b+12>>2])}ti=b+16|0;return c|0}function lja(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-48|0;ti=b;d=1;e=Zi(b+24|0,a,1,60730,698);c=Bo(Xn(a,1,1,0),b+20|0,b+16|0);a:{if(c){a=b;if(c>>>0<=11){c=q[(c<<2)+273520>>2]}else{c=148526}q[a>>2]=c;d=sj(e,61865,b);break a}Ni(a,q[b+20>>2],q[b+16>>2])}Yi(e);ti=b+48|0;return d|0}function iF(a){var b=0,c=0;b=q[242116];c=q[b+16>>2];a:{if(c){wj(c);b=q[242116];b=q[b+16>>2];if(b){wj(b);o[a+60|0]=r[a+60|0]&251;Jq(q[a>>2]);qj(b);qj(c);return 0}o[a+60|0]=r[a+60|0]&251;Jq(q[a>>2]);if(!c){break a}qj(c);return 0}o[a+60|0]=r[a+60|0]&251;Jq(q[a>>2])}return 0}function fW(a,b,c,d,e,f,g,h,i,j){var k=0;k=ti-16|0;ti=k;a=iM(a,1,b,c,d,e,f,g,h,k,j);a:{if(a){break a}a=0;if(!j){break a}c=0;d=0;while(1){c=r[a+k|0]^r[a+i|0]|c;d=d+1|0;a=d&255;if(j>>>0>a>>>0){continue}break}if(!c){a=0;break a}xi[q[68401]](h,0,b)|0;a=-15}ti=k+16|0;return a}function X$(a){var b=0,c=0,d=0,e=0,f=0;a:{b=q[242110];if(!b){break a}while(1){b:{if(q[b+4>>2]!=(a|0)){b=q[b+40>>2];if(b){continue}if(c){break b}break a}d=q[b+8>>2];f=!c|(d|0)>(e|0);c=f?b:c;e=f?d:e;b=q[b+40>>2];if(b){continue}}break}return c}J(203403,203413,74,203438);G()}function AL(a,b){var c=0,d=0,e=0,f=0;c=q[74624];a:{if(!c){break a}c=q[q[74623]+(Qwa(a,b,c)<<2)>>2];if((c|0)==-1){break a}e=q[74625];while(1){d=(c<<4)+e|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+12>>2];if((c|0)!=-1){continue}break a}break}f=q[((c<<4)+e|0)+8>>2]}return f}function rB(a){var b=0,c=0;a:{if(t[a+20>>2]<=t[a+28>>2]){break a}xi[q[a+36>>2]](a,0,0)|0;if(q[a+20>>2]){break a}return-1}b=q[a+4>>2];c=q[a+8>>2];if(b>>>0>>0){b=b-c|0;xi[q[a+40>>2]](a,b,b>>31,1)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return 0}function hra(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;b=Xi(a,1);if(!((b|0)==1&r[915868]!=0)){Bi(a,203030,0)}d=Xi(a,2);a:{if(d>>>0>=32){q[c>>2]=32;a=Bi(a,202976,c);break a}b=ara(b,d);b:{if(!b){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}Hi(a,b)}a=1}ti=c+16|0;return a|0}function X1(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-48|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;c=Li(a,1,q[81777],0);e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;hj(b+16|0,17,120250,b);Hi(a,b+16|0);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(119994,120019,114,120258);G()}ti=b+48|0;return 1}function Tfa(a){a=a|0;var b=0,c=0;b=q[q[a+8>>2]+8>>2];c=q[b+48>>2];if(c){Pi(q[a>>2],c)}a=q[b+64>>2];if(a){cj(a)}a:{if(o[b+44|0]&1){break a}a=q[b+24>>2];if(a){yi(a)}a=q[b+16>>2];if(!a){break a}yi(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}yi(a)}yi(b);return 0}function RP(a,b,c){var d=0;a:{b:{c:{if(!c){break c}d=c;c=r[b|0];if((d|0)!=(c+1|0)){break c}if(!c){break a}break b}Ij(a,2,50);return-31104}while(1){d=r[b+1|0];if(d>>>0>1){b=b+1|0;c=c-1|0;if(c){continue}break a}break}q[q[a+68>>2]+352>>2]=d;return 0}Ij(a,2,40);return-31104}function IS(a){var b=0;a:{if(!a){break a}b:{switch(q[a+4>>2]-5|0){case 4:if(pj(152380,q[a+8>>2],9)){break a}b=274256;break a;case 2:if(pj(152408,q[a+8>>2],7)){break a}return 274276;case 0:break b;default:break a}}if(pj(152446,q[a+8>>2],5)){break a}return 274296}return b}function B_(a,b,c,d){var e=0,f=0;e=ti-80|0;ti=e;a:{if(d>>>0>=65){f=Qt(c,d,e,0);if(f){break a}d=64;c=e}o[e+79|0]=d;o[e+78|0]=b;if(!q[a>>2]){f=Dp(a+8|0,0);if(f){break a}}q[a>>2]=1;a=a+8|0;f=Cp(a,e+78|0,2);if(f){break a}f=Cp(a,c,d)}xi[q[68401]](e,0,64)|0;ti=e+80|0;return f}function $ua(a,b){var c=0,d=0,e=0;a:{b:{while(1){if(r[c+211872|0]!=(a|0)){d=87;c=c+1|0;if((c|0)!=87){continue}break b}break}d=c;if(c){break b}a=211968;break a}c=211968;while(1){e=r[c|0];a=c+1|0;c=a;if(e){continue}c=a;d=d-1|0;if(d){continue}break}}return RM(a,q[b+20>>2])}function vt(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function oga(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a+16>>2];if(b){cj(b)}b=q[a+32>>2];if(b){Pi(c,b)}b=q[a+20>>2];if(b){Pi(c,b)}b=q[a+28>>2];if(b){Pi(c,b)}b=q[a+24>>2];if(b){Pi(c,b)}a:{if(o[a+12|0]&1){break a}c=q[a>>2];if(!c){break a}yi(c)}yi(a);return 0}function eha(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[q[a+32>>2]+8>>2];q[b+12>>2]=d;c=-13;a:{if(Cj(q[a+20>>2],q[a+24>>2],q[65402],b+8|0)){break a}c=pK(q[a>>2],q[a+4>>2],q[b+8>>2],d,b+12|0);if(c){break a}c=yG(q[b+12>>2]);q[q[a+32>>2]+16>>2]=c;c=0}ti=b+16|0;return c|0}function Rx(a){var b=0;b=a;a=lj(a,0,0,76);Fq(b,a,9);q[a- -64>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+72>>2]=0;return a}function Dma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+1040>>2];f=q[c+28>>2];b=q[a+1052>>2];d=q[a+1048>>2];e=d+1|0;c=a;q[a+1048>>2]=e;q[a+1052>>2]=e>>>0<1?b+1|0:b;if(!(b|d)){q[a+8>>2]=6;a:{if(o[f+141|0]&1){break a}}o[c+16|0]=0;q[a>>2]=zi(34678);q[a+4>>2]=wi}return!(b|d)|0}function $B(a,b){var c=0,d=0,e=0,f=0,g=0;d=r[b|0];if(d){c=q[a+8>>2];e=q[a+4>>2]+(c^-1)|0;f=b;while(1){if((e|0)<=0){Ek(a,c+1|0);d=r[f|0];c=q[a+8>>2];e=q[a+4>>2]+(c^-1)|0}o[q[a>>2]+c|0]=d;c=q[a+8>>2]+1|0;q[a+8>>2]=c;e=e-1|0;g=g+1|0;f=g+b|0;d=r[f|0];if(d){continue}break}}}function qta(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=0-(a>>>0<1)|0;b=e;b=b|b>>>16;f=b|b>>>8;c=f;c=c|c>>>4;d=c|c>>>2;g=d|d>>>1;a=a-1|e;a=(e&65535)<<16|a>>>16|a;a=(b&255)<<24|a>>>8|a;a=(f&15)<<28|a>>>4|a;a=(c&3)<<30|a>>>2|a;a=((d&1)<<31|a>>>1|a)+1|0;wi=a>>>0<1?g+1|0:g;return a}function oQ(a){var b=0,c=0;c=q[a+68>>2];if(!(q[c+480>>2]?r[q[a>>2]+184|0]&2:0)){b=_(0)|0;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o[c+1128|0]=b;o[c+1129|0]=b>>>8;o[c+1130|0]=b>>>16;o[c+1131|0]=b>>>24;a=q[a>>2];return xi[q[a+24>>2]](q[a+28>>2],c+1132|0,28)|0}return 0}function oA(a,b,c){var d=0,e=0,f=0;a:{a=q[q[a+156>>2]+4>>2];d=q[a+8>>2];if(d){f=q[a+4>>2];a=0;while(1){if((a|0)==(d|0)){break a}e=(a<<5)+f|0;if((b|0)==q[e+16>>2]&q[e+20>>2]==(c|0)){return a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return-1}J(50624,50636,189,50661);G()}function UD(a,b,c){var d=0,e=0,f=0,g=0;a:{d=Rj(a,b,c,3);if(d){break a}d=q[c>>2];if(!d){d=-96;break a}e=d-1|0;q[c>>2]=e;f=q[a>>2];g=r[f|0];o[c+4|0]=g;d=-100;if(g>>>0>7){break a}d=f+1|0;q[a>>2]=d;q[c+8>>2]=d;c=a;a=q[a>>2]+e|0;q[c>>2]=a;return(a|0)==(b|0)?0:-102}return d}function Rk(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;g=zi(b);h=wi;f=r[a+192|0];a:{if(f>>>0>=8){a=Mi(g,h);q[e+4>>2]=8;q[e>>2]=a;Ai(4,83526,83535,e);break a}b=w(f,24)+a|0;o[b+20|0]=d;q[b+16>>2]=6;q[b+12>>2]=c;q[b>>2]=g;q[b+4>>2]=h;q[b+8>>2]=f;o[a+192|0]=f+1}ti=e+16|0}function Naa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;e=q[fj(a,1,b+12|0)+412>>2]>>>23|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=e&1;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,4147,202147);G()}ti=b+16|0;return 1}function MY(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Wi(a,1,0);d=gy(a,c,139328);if(d){e=Oj(c,45);q[b+16>>2]=Qo(a,e?e+1|0:c,139629,139729);vj(a,139731,b+16|0);Xk(a,-2);Ux(a,d);c=dj(a,1,0);q[b+8>>2]=dj(a,-1,0);q[b+4>>2]=d;q[b>>2]=c;Bi(a,139683,b)}ti=b+32|0;return 1}function px(a){var b=0,c=0;vC(q[q[a+68>>2]+496>>2]);b=q[a+68>>2];q[b+496>>2]=0;q[b+500>>2]=0;o[b+528|0]=0;q[b+508>>2]=q[b+476>>2];AC(a);b=q[a+92>>2];if(b){xi[b|0](q[a+88>>2],0,0)}c=q[a+68>>2];a:{if(q[a+128>>2]==22){b=3;if(r[q[a+120>>2]]==20){break a}}b=0}o[c+492|0]=b}function dy(a,b){var c=0,d=0,e=0;axa(+a);c=Zwa(1)|0;d=Zwa(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=dy(a*0x10000000000000000,b);b=q[b>>2]+ -64|0}q[c>>2]=b;return a}q[b>>2]=c-1022;_wa(0,d|0);_wa(1,e&-2146435073|1071644672);a=+$wa()}return a}function Ol(a,b){var c=0;a:{b:{if((b|0)>=2){c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}Kx(a,b,(q[a+8>>2]-q[a+12>>2]>>4)-1|0);c=a+8|0;a=q[a+8>>2]+(1-b<<4)|0;break b}if(b){break a}b=q[a+8>>2];c=Jj(a,135282,0);q[b+8>>2]=4;q[b>>2]=c;c=a+8|0;a=q[a+8>>2]+16|0}q[c>>2]=a}}function Jha(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;a:{if(Cj(q[a+20>>2],q[a+24>>2],245432,c+12|0)){break a}a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}q[a>>2]=0;b=q[a+4>>2];if(b){Uv(b)}q[a>>2]=q[c+12>>2];b=-1;if(!kK(a)){break a}OA(q[a+4>>2]);b=0}ti=c+16|0;return b|0}function zj(a,b,c){var d=0,e=0,f=0;a:{b:{if(!c){d=b;break b}e=c-1|0;if(!e){d=b;break b}d=b;while(1){f=r[d|0];o[a|0]=f;d=d+1|0;if(!f){e=d;break a}a=a+1|0;e=e-1|0;if(e){continue}break}}if(c){o[a|0]=0}while(1){a=r[d|0];e=d+1|0;d=e;if(a){continue}break}}return(b^-1)+e|0}function w2(a,b,c){var d=0,e=0;d=q[a+44>>2];a:{if(!d){break a}d=q[q[a+40>>2]+(Qwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+48>>2];while(1){d=d<<4;e=d+a|0;if(q[e>>2]==(b|0)&(c|0)==q[e+4>>2]){break a}d=q[(a+d|0)+12>>2];if((d|0)!=-1){continue}break}e=0}return(e|0)!=0}function pL(a,b){var c=0,d=0;c=ti-16|0;ti=c;d=2;a:{b:{switch(b|0){case 0:d=Qqa(a,c+8|0)?0:2;break a;case 5:d=Tqa(a,c+8|0)?0:2;break a;case 1:d=Sqa(a,c+8|0)?0:2;break a;case 2:break b;default:break a}}if(!Yp(a,c+8|0)){break a}d=Pqa(a,q[c+8>>2])?0:2}ti=c+16|0;return d}function p5(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=Li(a,1,q[81656],114346);if(b){bj(a,-1e4,q[b+324>>2]);Qi(a,2);Qi(a,3);$i(a,-3);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(114833,110389,509,114862);G()}J(110492,110389,517,114862);G()}function ana(a){a=a|0;var b=0,c=0;b=q[q[a+16>>2]>>2];c=q[a+4>>2];a=q[c>>2];u[b+8>>2]=u[a>>2];u[b+12>>2]=u[a+4>>2];u[b+16>>2]=u[a+8>>2];u[b+20>>2]=u[a+12>>2];a=r[b+28|0]&-2|q[a+16>>2]!=0;o[b+28|0]=a;o[b+28|0]=a&251|(q[q[c>>2]+20>>2]!=0)<<2;u[b+24>>2]=u[q[c>>2]+24>>2]}function Hfa(a){a=a|0;var b=0,c=0;a:{b=q[a+4>>2];c=q[b>>2];a=q[a>>2];b=q[b+4>>2];if(q[a+96>>2]!=(c|0)|q[a+100>>2]!=(b|0)?(c|0)!=q[a+88>>2]|(b|0)!=q[a+92>>2]:0){break a}if(xi[q[77471]](q[q[a>>2]+2384>>2],q[a+4>>2],q[a+8>>2],q[a+12>>2])|0){break a}Ai(3,56460,56468,0)}}function E1(a){a=a|0;var b=0,c=0,d=0;b=ti-1040|0;ti=b;d=Wi(a,1,0);c=bF(d,b+16|0);a:{if(c){q[b+4>>2]=c;q[b>>2]=d;a=Bi(a,124239,b);break a}d=Wi(a,2,0);c=vn(124296);if(c){zj(b+16|0,c,1024)}Bk(b+16|0,124309,1024);Bk(b+16|0,d,1024);Hi(a,b+16|0);a=1}ti=b+1040|0;return a|0}function Do(a,b,c,d){var e=0,f=0,g=0;e=ti-32|0;ti=e;a:{if(q[a+16>>2]==(b|0)){Gj(a);break a}g=q[a+4>>2];f=q[a+52>>2];b=dl(a,b);if((d|0)==(g|0)){q[e>>2]=b;Dj(a,_i(f,136607,e));break a}c=dl(a,c);q[e+24>>2]=d;q[e+20>>2]=c;q[e+16>>2]=b;Dj(a,_i(f,137030,e+16|0))}ti=e+32|0}function B3(a){var b=0;if(!(o[a+46|0]&1)){a:{if(o[a+40|0]&1){break a}b=q[a+32>>2];if(!b){break a}yi(b)}b:{if(o[a+28|0]&1){break b}b=q[a+16>>2];if(!b){break b}yi(b)}c:{if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}yi(b)}yi(a);return}J(127507,127536,191,127560);G()}function Au(a,b){var c=0,d=0;d=Vh()|0;a:{b:{if(r[d|0]){c=-21;if(zj(b,d,1024)>>>0>=1024){break a}if(Bk(b,177786,1024)>>>0<1024){break b}break a}o[b|0]=0}c=-21;if(Bk(b,177788,1024)>>>0>=1024){break a}if(Bk(b,a,1024)>>>0>=1024){break a}a=ny(b);c=(a|0)==-16?0:a}return c}function Eca(a,b){a=a|0;b=b|0;var c=0;a:{if(a){xc(q[(b<<2)+88208>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}c=q[a+76>>2];q[a+72>>2]=b<<9&3584|q[a+72>>2]&-3585;q[a+76>>2]=c;return}J(84152,84160,3498,88178);G()}Vi(c,88178,3500);J(84254,84160,3500,88178);G()}function pD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=ti-96|0;ti=d;yq(d+8|0);q[d+16>>2]=1732584193;q[d+20>>2]=-271733879;q[d+8>>2]=0;q[d+12>>2]=0;q[d+24>>2]=-1732584194;q[d+28>>2]=271733878;xq(d+8|0,a,b);Yr(d+8|0,c);a=d+8|0;if(a){xi[q[68401]](a,0,88)|0}ti=d+96|0;return 0}function oV(a,b,c,d,e,f,g,h,i,j){var k=0,l=0;k=ti-16|0;ti=k;a=sD(a,0,b,c,d,e,f,i,j,h,k);a:{if(a){break a}if(!h){a=0;break a}a=0;while(1){l=r[a+k|0]^r[a+g|0]|l;a=a+1|0;if((h|0)!=(a|0)){continue}break}a=0;if(!l){break a}xi[q[68401]](j,0,b)|0;a=-18}ti=k+16|0;return a}function l_(a){a=a|0;var b=0,c=0,d=0;b=1;mj(a,1,5);d=Mk(a,1);mj(a,2,6);if((d|0)>=1){while(1){Qi(a,2);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;bj(a,1,b);zk(a,2,1);if(Ei(a,-1)){return 1}Ci(a,-2);c=(b|0)!=(d|0);b=b+1|0;if(c){continue}break}}return 0}function YZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=-24832;if(!(!a|!c)){q[c>>2]=0;if(!b){return-25088}f=128;d=0;while(1){e=d;b=b-1|0;g=b+a|0;d=e|r[g|0]!=0;e=(d|0)==(e|0);h=(e?0:b)|h;q[c>>2]=h;f=(e?0:r[g|0])^f;if(b){continue}break}d=f?-25088:0}return d|0}function XC(a,b){var c=0,d=0;a:{if(!b){break a}b=b-1|0;if((b|0)<0){break a}b=(b<<2)+a|0;while(1){c=q[a>>2];d=q[b>>2];q[a>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);q[b>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);a=a+4|0;b=b-4|0;if(a>>>0<=b>>>0){continue}break}}}function Wma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-80|0;ti=c;d=-1;if(q[a+16>>2]==q[74838]&q[a+20>>2]==q[74839]){d=c;e=q[q[a+24>>2]>>2];a=q[e+4>>2];if(!a){a=q[e>>2]}e=q[a+4>>2];q[d+16>>2]=q[a>>2];q[d+20>>2]=e;q[c+8>>2]=1;Gi(b+32|0,c+8|0,72);d=0}ti=c+80|0;return d|0}function Una(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(q[a+8>>2]-q[a+12>>2]>>4==1){if((Ei(a,1)|0)==5){break b}}Ai(3,14901,17399,0);break a}b=$K(a,0);if(b){break a}b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(16509,15841,2037,17451);G()}return b|0}function QL(a){var b=0,c=0,d=0,e=0;d=q[a+16>>2];b=q[a+12>>2];if((d|0)<=(b|0)){return 0}c=b+1|0;q[a+12>>2]=c;b=o[b+q[a+8>>2]|0];if((b|0)==13){while(1){if((c|0)>=(d|0)){return 0}b=c+1|0;q[a+12>>2]=b;e=q[a+8>>2]+c|0;c=b;b=o[e|0];if((b|0)==13){continue}break}}return b}function Pk(a,b,c){var d=0;a:{b:{c:{d:{d=q[b+8>>2];switch(d-5|0){case 2:break c;case 0:break d;default:break b}}b=q[b>>2]+8|0;break a}b=q[b>>2]+8|0;break a}b=(q[a+16>>2]+(d<<2)|0)+152|0}b=q[b>>2];if(b){a=jE(b,q[(q[a+16>>2]+(c<<2)|0)+188>>2])}else{a=135744}return a}function I1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ti-32|0;ti=d;e=Zi(d+8|0,a,1,124351,374);c=Wi(a,1,0);if(ek(a,2)){f=dj(a,2,0)}a:{b:{b=Op(a);if(!b){break b}b=q[b>>2];if(!b){break b}Hi(a,xm(b,c,f));break a}c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16}Yi(e);ti=d+32|0;return 1}function Eta(a,b,c){var d=0,e=0;d=ti-224|0;ti=d;e=a;a=d+72|0;e=Dn(e,a,0,1);a:{if(!e){break a}if(q[a+104>>2]==8){a=r[(a+c|0)+112|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=a;o[b|0]=a;o[b+6|0]=0;o[b+7|0]=0;break a}Eo(a,d);fw(b,c+d|0)}ti=d+224|0;return e}function Eia(a,b,c){var d=0;d=q[b+132>>2];if(d){XF(q[a+96>>2],d)}aL(q[b>>2]);if(!bK(a,b)){Ai(4,45688,45807,0);Xs(a,c);return}q[b+132>>2]=0;d=q[b+128>>2];if(BJ(q[a+96>>2],b,q[d+8>>2],zi(q[q[d>>2]+16>>2]),wi)){Xs(a,c);return}CJ(b,q[b+128>>2]);o[b+254|0]=r[b+254|0]|8}function E$(a){a:{b:{if(zj(863420,q[a+4>>2],16)>>>0<16){if(zj(863436,q[a+8>>2],41)>>>0>=41){break b}if(zj(863404,q[a>>2],16)>>>0>=16){break a}o[863477]=r[a+12|0];return}J(177881,177921,302,177948);G()}J(177962,177921,304,177948);G()}J(178006,177921,306,177948);G()}function zO(a){a=a|0;var b=0,c=0,d=0,e=0;mj(a,1,5);c=Mk(a,1);b=hm(a,2,c);if(!((b|0)<1|(b|0)>(c|0))){e=1;bj(a,1,b);if((b|0)<(c|0)){while(1){d=b+1|0;bj(a,1,d);bk(a,1,b);b=d;if((c|0)!=(b|0)){continue}break}}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;bk(a,1,c)}return e|0}function wC(a){var b=0,c=0,d=0;c=q[a+124>>2];d=q[a+168>>2];a:{if(d){b=-27648;if(c){break a}b=q[a+132>>2];b:{if(b>>>0>d>>>0){b=b-d|0;q[a+132>>2]=b;c=q[a+120>>2];Sk(c,c+d|0,b);break b}q[a+132>>2]=0}q[a+168>>2]=0;return 0}b=0;if(c){break a}q[a+132>>2]=0;b=0}return b}function vU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=ti-96|0;ti=d;uq(d);q[d+8>>2]=1732584193;q[d+12>>2]=-271733879;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=-1009589776;q[d+16>>2]=-1732584194;q[d+20>>2]=271733878;tq(d,a,b);Rr(d,c);if(d){xi[q[68401]](d,0,92)|0}ti=d+96|0;return 0}function qva(a,b,c){var d=0;d=-28;a:{if((a|0)==(b|0)){break a}if(c&524288){while(1){d=ki(a|0,b|0,c|0)|0;if((d|0)==-10){continue}break}if((d|0)!=-52){break a}}while(1){d=fi(a|0,b|0)|0;if((d|0)==-10){continue}break}}if(d>>>0>=4294963201){q[242957]=0-d;d=-1}return d}function p7(a){var b=0;if(a){a:{if(o[a+68|0]&1){break a}b=q[a+48>>2];if(b){yi(b)}b=q[a+40>>2];if(!b){break a}yi(b)}b:{if(o[a+36|0]&1){break b}b=q[a+16>>2];if(b){yi(b)}b=q[a+8>>2];if(!b){break b}yi(b)}c:{if(o[a+6|0]&1){break c}b=q[a>>2];if(!b){break c}yi(b)}yi(a)}}function dca(a,b,c){var d=0,e=0;if(!(o[a+288|0]&1)){a:{c=c+1|0;d=a+284|0;e=q[d>>2]-q[a+276>>2]>>3;Ii(c>>>0>e>>>0?c:e,8,a+276|0,d,a+280|0);if(o[a+304|0]&1){break a}Ii(w(b,c),4,a+292|0,a+300|0,a+296|0);q[a+296>>2]=q[a+292>>2];return}}J(196110,195579,493,195316);G()}function KD(a,b){q[a+48>>2]=0;q[a+52>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+56>>2]=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[a+60>>2]=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);xi[q[68401]](a- -64|0,0,64)|0;q[a+128>>2]=64;return 0}function JQ(a,b){var c=0,d=0,e=0;c=ti+ -64|0;ti=c;d=q[a>>2];q[c+48>>2]=0;d=Ll(d,3,c+48|0);e=q[a>>2];q[c+32>>2]=d&-2049;Ll(e,4,c+32|0);d=0;if(SY(q[a>>2],b)){d=q[242957]}b=q[a>>2];q[c+16>>2]=0;b=Ll(b,3,c+16|0);a=q[a>>2];q[c>>2]=b|2048;Ll(a,4,c);ti=c- -64|0;return d}function Cna(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=Hm(a,2);a=Pq(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];u[b+12>>2]=u[a+12>>2];d=q[b>>2];e=q[b+4>>2];a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;q[c>>2]=d;q[c+4>>2]=e;ti=b+16|0;return 0}function pva(){var a=0,b=0;a=ti-16|0;ti=a;a:{if(di(a+12|0,a+8|0)|0){break a}b=Ji((q[a+12>>2]<<2)+4|0);q[243026]=b;if(!b){break a}b=Ji(q[a+8>>2]);if(!b){q[243026]=0;break a}q[q[243026]+(q[a+12>>2]<<2)>>2]=0;if(!(ei(q[243026],b|0)|0)){break a}q[243026]=0}ti=a+16|0}function Vca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=ti-16|0;ti=a;q[a+12>>2]=0;Wa(1,a+12|0);a:{if(!(r[q[77547]+156|0]&64)){break a}e=K()|0;if(!e){break a}Vi(e,87169,1543);J(84254,84160,1543,87169);G()}xi[q[77441]](q[a+12>>2],b,c,d);ti=a+16|0;return q[a+12>>2]}function MU(a,b,c,d,e,f){var g=0,h=0;g=ti-16|0;ti=g;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a:{if(d){h=zl(g,a,1);if(h){break a}h=Tk(d,c,g);if(h){break a}}if(e){h=zl(g,b,1);if(h){break a}h=Tk(e,c,g);if(h){break a}}if(!f){h=0;break a}h=jo(f,b,a)}Si(g);ti=g+16|0;return h}function Kta(a,b){var c=0,d=0;c=kj(b,0);d=kj(b,1);a:{b=r[kj(b,2)+103776|0];if(b>>>0<32){b=b|(r[c+103776|0]<<10|32768|r[d+103776|0]<<5);if(b>>>0>=65536){break a}q[a+4>>2]=q[a+4>>2]&65535|b<<16;return}J(103696,92069,3157,103746);G()}J(103729,92069,3167,103746);G()}function Kr(a){var b=0,c=0;if(a){b=a+80|0;if(b){c=q[b+60>>2];if(c){xi[q[q[q[b>>2]+28>>2]+32>>2]](c)}xi[q[68401]](b,0,64)|0}b=a+144|0;if(b){c=q[b+60>>2];if(c){xi[q[q[q[b>>2]+28>>2]+32>>2]](c)}xi[q[68401]](b,0,64)|0}fm(a+52|0);fm(a- -64|0);xi[q[68401]](a,0,212)|0}}function rH(a,b,c){var d=0;d=ti-16|0;ti=d;if(!(!q[a+4>>2]|!q[a>>2])){ll(a+8|0,b,c);a:{if(o[a+58|0]&1){break a}if((Rl(b,1,c,q[a+4>>2])|0)==(c|0)){break a}q[d>>2]=q[a>>2];Ai(4,160800,161463,d);o[a+58|0]=r[a+58|0]|1}ti=d+16|0;return}J(161381,161432,529,161459);G()}function jba(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=ti-32|0;ti=b;f=q[q[a+12>>2]>>2];g=Zi(b+8|0,f,0,196298,701);a:{if(!c){break a}if(!en(d)){break a}q[b+4>>2]=e;q[b>>2]=a;ys(d,1401,b)}bj(f,-1e4,q[a+8>>2]);oo(f,-1,e);Ci(f,-2);Pm(d);Yi(g);ti=b+32|0}function hy(a,b){var c=0,d=0,e=0;c=ti-32|0;ti=c;e=q[a+48>>2];cn(e,b);Gj(a);if(q[a+16>>2]!=285){d=q[a+52>>2];q[c>>2]=dl(a,285);Dj(a,_i(d,136607,c))}d=q[a+24>>2];Gj(a);a=Kp(q[a+48>>2],d);q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+16>>2]=a;q[c+8>>2]=4;iE(e,b,c+8|0);ti=c+32|0}function f2(a){a=a|0;var b=0,c=0,d=0;b=mk(a,1,q[212906]);c=mk(a,2,q[212906]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2])){break a}if(u[b+8>>2]!=u[c+8>>2]){break a}d=u[b+12>>2]==u[c+12>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function Tea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;e=q[a+8>>2]-q[a+12>>2]>>4;d=Zk(a,1);c=wi;f=c;c=Qs(d,c);a:{if(c){Hi(a,c);break a}q[b>>2]=d;q[b+4>>2]=f;vj(a,76425,b)}if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(76381,75991,401,76438);G()}ti=b+16|0;return 1}function O0(a){a=a|0;var b=0,c=0,d=0;b=mk(a,1,q[212905]);c=mk(a,2,q[212905]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2])){break a}if(u[b+8>>2]!=u[c+8>>2]){break a}d=u[b+12>>2]==u[c+12>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function Bqa(a,b,c,d){a:{b:{if((q[b+4>>2]&-268435456)!=805306368){if(q[b+8>>2]){break b}b=q[b+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}if(!r[a+12|0]){Gi(b,c,d)}return}J(23359,23110,228,23400);G()}J(23410,23110,229,23400);G()}J(23442,23110,231,23400);G()}function iG(a){q[a+16>>2]=7;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=7;q[a+4>>2]=0;o[a+33|0]=255;o[a+34|0]=255;q[a+20>>2]=0;q[a+24>>2]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+35|0]=r[a+35|0]&192|15;return a}function cK(a,b,c,d){var e=0,f=0,g=0,h=0;f=ti-48|0;ti=f;e=0;a:{if(!b){break a}g=q[c>>2];e=b;h=q[g+164>>2];b=HG(f+8|0);FJ(e,c,g,h,d,b);p[c+20>>1]=s[b+30>>1];if(r[a+17|0]){if(q[g+160>>2]<=-1){Ai(4,33031,33993,0);e=0;break a}e=0;break a}e=0}c=e;ti=f+48|0;return c}function _ha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ti-32|0;ti=b;e=Zi(b+8|0,a,0,71492,872);d=Mj(a,1);c=wi;f=c;c=Tp(q[76921],d,c);a:{if(!c){q[b>>2]=Mi(d,f);g=sj(e,73729,b);break a}woa(q[q[Tj(a)+80>>2]+8>>2],d,f);Pi(q[76921],q[c+8>>2])}Yi(e);ti=b+32|0;return g|0}function Sx(a,b,c){var d=0,e=0,f=0;d=q[a+56>>2];if((d|0)<1){return 0}e=q[a+24>>2];a=0;while(1){f=w(a,12)+e|0;if(q[f+4>>2]<=(c|0)){a:{if(q[f+8>>2]<=(c|0)){break a}b=b-1|0;if(b){break a}return q[w(a,12)+e>>2]+16|0}a=a+1|0;if((d|0)>(a|0)){continue}}break}return 0}function Ow(a,b,c){var d=0,e=0;e=iU(a);if((e|0)<0){return e}a:{if(c>>>0>e>>>0){d=-28928;c=e;if(r[q[a>>2]+184|0]&2){break a}}b:{if(q[a+216>>2]){d=Bp(a);if(!d){break b}break a}q[a+208>>2]=23;q[a+212>>2]=c;Gi(q[a+204>>2],b,c);d=Ot(a,1);if(d){break a}}d=c}return d}function Bi(a,b,c){var d=0;d=ti-128|0;ti=d;q[d+20>>2]=c;a:{b:{if(!cl(a,1,d+24|0)){break b}tn(a,137939,d+24|0);c=q[d+44>>2];if((c|0)<1){break b}q[d+4>>2]=c;q[d>>2]=d+60;vj(a,137942,d);break a}Ni(a,137950,0)}_D(a,b,q[d+20>>2]);Ol(a,2);a=mo(a);ti=d+128|0;return a}function zt(a){return(((((a*3479331075960212e-20+.0007915349942898145)*a+ -.04005553450067941)*a+.20121253213486293)*a+ -.3255658186224009)*a+.16666666666666666)*a/((((a*.07703815055590194+ -.6882839716054533)*a+2.0209457602335057)*a+ -2.403394911734414)*a+1)}function zU(a,b,c,d,e){var f=0,g=0,h=0;f=q[a+4>>2];h=Vj(1,f);if(!h){return-16}g=Vj(1,f);a:{if(!g){b=-16;break a}b=NC(b,c,d,f,g);if(b){break a}b=Sr(a,e,h);if(b){break a}b=gD(h,g,f)?-17280:0}xi[q[68401]](h,0,f)|0;yi(h);if(g){xi[q[68401]](g,0,f)|0;yi(g)}return b}function zC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=q[a>>2];c=q[b+184>>2]&2;a:{if(!(r[b+185|0]&32)|(q[a+8>>2]==3|q[a+4>>2]!=16)){break a}b=(b+c|0)+164|0;d=8-c|0;if(f=(pj(q[a+104>>2]+c|0,b,d)|0)<=0,g=0,h=(pj((a+c|0)+220|0,b,d)|0)<1,h?f:g){break a}e=XT(a)}return e}function wZ(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=Wi(a,1,0);q[b+4>>2]=0;a:{if(wt(c,b+8|0)){c=GC(b+8|0,b+4|0);break a}c=FC(c,b+4|0)}b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;Hi(a,EC(c));break b}Hi(a,q[q[b+4>>2]>>2]);BE(a,q[b+4>>2])}ti=b+16|0;return 2}function uU(a,b,c,d){var e=0,f=0;f=a;e=128;a:{if((c|0)!=1){break a}b=q[b+16>>2]-1|0;e=0;if(b>>>0>9){break a}e=q[(b<<2)+176212>>2]}b=e;e=0;b:{if(!$C(f,b)){break b}q[d>>2]=q[d>>2]|2048;e=-1}b=e;if(NT(a,(c|0)==1?176099:176108)){q[d>>2]=q[d>>2]|4096;b=-1}return b}function q5(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=Li(a,1,q[81656],114346);if(b){bj(a,-1e4,q[b+324>>2]);Qi(a,2);Sj(a,-2);Xk(a,3);if((c+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}return 1}J(114833,110389,491,114835);G()}J(110364,110389,499,114835);G()}function kma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-80|0;ti=c;d=-1;if(q[75126]==q[a+16>>2]&q[a+20>>2]==q[75127]){d=c;e=q[q[a+24>>2]>>2];a=q[e+4>>2];if(!a){a=q[e>>2]}q[d+16>>2]=zi(q[a+4>>2]);q[d+20>>2]=wi;q[c+8>>2]=1;Gi(b+32|0,c+8|0,72);d=0}ti=c+80|0;return d|0}function il(a,b){var c=0,d=0,e=0;c=ti-16|0;ti=c;a:{b:{if(!Oj(208356,o[b|0])){q[242957]=28;break b}e=WM(b);q[c>>2]=438;a=Ja(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}if((a|0)<0){break a}d=YM(a,b);if(d){break a}ia(a|0)|0}d=0}ti=c+16|0;return d}function dS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=1;a:{if((yl(q[b>>2],1,15,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function SF(a,b,c,d){var e=0,f=0,g=0,h=0;e=ti-16|0;ti=e;h=q[a+8>>2]-q[a+12>>2]>>4;g=q[b+16>>2];if(g>>>0>d>>>0){f=q[b+4>>2];q[e+4>>2]=d;q[e>>2]=f;Bi(a,119249,e)}f=c+g|0;q[e+12>>2]=f;q[e+8>>2]=(d+f|0)-g;KF(a,b,c,e+12|0,e+8|0,h,c);ti=e+16|0;return q[e+12>>2]-c|0}function Jp(a,b){var c=0,d=0,e=0;a:{if((b|0)>8e3){break a}c=q[a+8>>2];if(((c-q[a+12>>2]>>4)+b|0)>8e3){break a}e=1;if((b|0)<1){break a}d=b<<4;if((d|0)>=(q[a+28>>2]-c|0)){vk(a,b);c=q[a+8>>2]}b=c+d|0;a=q[a+20>>2];if(b>>>0<=t[a+8>>2]){break a}q[a+8>>2]=b}return e}function DR(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!r[a+6|0]){if(!pu(a,b-16|0,-1)){break b}break a}o[a+6|0]=0;c=q[a+20>>2];if(r[q[q[c+4>>2]>>2]+6|0]){if(!Tx(a,b)){break b}q[a+8>>2]=q[q[a+20>>2]+8>>2];break b}q[a+12>>2]=q[c>>2]}dE(a,(q[a+20>>2]-q[a+40>>2]|0)/24|0)}}function vB(a){var b=0,c=0,d=0;c=ti+ -64|0;ti=c;q[c+12>>2]=_(0);b=lb(c+12|0,c+16|0)|0;a:{if(!b){d=-1;break a}q[a>>2]=q[b+20>>2]+1900;q[a+4>>2]=q[b+16>>2]+1;q[a+8>>2]=q[b+12>>2];q[a+12>>2]=q[b+8>>2];q[a+16>>2]=q[b+4>>2];q[a+20>>2]=q[b>>2]}ti=c- -64|0;return d}function sS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=1;a:{if((yl(q[b>>2],1,6,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function rS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=1;a:{if((yl(q[b>>2],1,5,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function ifa(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(Xi(a,1)-1>>>0>=2){if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break b}return Bi(a,78292,0)|0}if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}return 0}J(78107,78128,232,78281);G()}J(78107,78128,236,78281);G()}function gS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=1;a:{if((yl(q[b>>2],1,9,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function eS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=2;a:{if((yl(q[b>>2],1,2,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;d=1}ti=c+16|0;return d|0}function cS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);d=1;a:{if((yl(q[b>>2],6,1,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}ti=c+16|0;return d|0}function QM(a,b){var c=0,d=0,e=0;d=ti-16|0;ti=d;o[d+15|0]=b;c=q[a+16>>2];a:{if(!c){if(LM(a)){break a}c=q[a+16>>2]}e=c;c=q[a+20>>2];if(!(o[a+75|0]==(b&255)|e>>>0<=c>>>0)){q[a+20>>2]=c+1;o[c|0]=b;break a}if((xi[q[a+36>>2]](a,d+15|0,1)|0)!=1){break a}}ti=d+16|0}function Gta(a,b){var c=0,d=0;c=ti-224|0;ti=c;d=a;a=c+72|0;d=Dn(d,a,0,1);a:{if(!d){break a}if(q[a+104>>2]==8){ZA(b,r[a+112|0],r[a+113|0],r[a+114|0]);break a}if(r[a+116|0]){vM(a,b);break a}Eo(a,c);if(r[a+117|0]){uM(a,c,b);break a}_A(b,c,0)}ti=c+224|0;return d}function waa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-112|0;ti=b;d=Zi(b+88|0,a,1,196298,3711);c=fj(a,1,0);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);ar(e,c,0,b+16|0);u[b+8>>2]=u[b+72>>2];c=q[b+68>>2];q[b>>2]=q[b+64>>2];q[b+4>>2]=c;jl(a,b);Yi(d);ti=b+112|0;return 1}function ip(a,b){var c=0,d=0,e=0;c=q[b+4>>2];e=q[b>>2];if((c|0)!=(e|0)){c=e;while(1){Pi(a,q[(d<<2)+c>>2]);d=d+1|0;c=q[b>>2];if(d>>>0>2]-c>>2>>>0){continue}break}}q[b+4>>2]=c;if(!(o[b+12|0]&1)){Ii(0,4,b,b+8|0,b+4|0);return}J(14160,14235,493,14291);G()}function Gma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){a=0;while(1){e=(a<<7)+c|0;f=q[e+36>>2];if(!(!f|!(r[e+58|0]&2))){g=OK(f)?g:-1e3;c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}return g|0}function Fma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){a=0;while(1){e=(a<<7)+c|0;f=q[e+36>>2];if(!(!f|!(r[e+58|0]&2))){g=GK(f)?g:-1e3;c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}return g|0}function u1(a){a=a|0;var b=0,c=0;b=1;c=q[a+8>>2]-q[a+12>>2]>>4;mj(a,1,6);Ki(a,-10002,124651);a:{if((Ei(a,-1)|0)!=5){Ci(a,-2);break a}Qi(a,1);Di(a,-2,124657);Ci(a,-2);b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(124673,124351,1005,124694);G()}return b|0}function oS(a,b){a=a|0;b=b|0;var c=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);a:{if((yl(q[b>>2],41,19,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function mS(a,b){a=a|0;b=b|0;var c=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);a:{if((yl(q[b>>2],41,26,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function j9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;fj(a,1,b+12|0);d=Ri(a,2);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);rI(e,q[b+12>>2],x(d));if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(196277,196298,2828,201650);G()}ti=b+16|0;return 0}function _p(a,b){var c=0,d=0,e=0,f=0;e=3;a:{b:{if(a+1>>>0<2){break b}c=a&65535;d=q[213374];if(c>>>0>=t[d+8>>2]){break a}f=q[q[d>>2]+(c<<2)>>2];if(!f|s[q[d+4>>2]+(c<<1)>>1]!=(a>>>16|0)){break b}q[b>>2]=q[f+28>>2];e=0}return e}J(149021,149036,144,149074);G()}function WP(a){var b=0,c=0;b=Jn(a);a:{if(b){break a}b=-30464;if(q[a+128>>2]!=22){break a}c=q[a>>2];if(!(r[q[a+120>>2]]==14?q[a+168>>2]==((r[c+184|0]&2?12:4)|0):0)){Ij(a,2,50);return-31616}q[a+4>>2]=q[a+4>>2]+1;b=0;if(!(r[c+184|0]&2)){break a}px(a)}return b}function Py(a){var b=0,c=0;b=q[a>>2];c=q[b+8>>2];if(c){b=q[c+1028>>2];if(b){yi(b)}b=q[c+1024>>2];if(b){yi(b)}b=q[c+1032>>2];if(b){Ak(b)}yi(c);b=q[a>>2]}a:{b:{if(o[b+40|0]&1){break b}c=q[b+4>>2];if(!c){break b}yi(c);b=q[a>>2];if(!b){break a}}yi(b)}q[a>>2]=0}function Laa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);Zj(a,Hba(d,q[b+12>>2]),wi);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2012,200794);G()}ti=b+16|0;return 1}function KE(a,b){var c=0;c=ti-112|0;ti=c;a:{if((Ei(a,1)|0)==6){Qi(a,1);break a}b:{if(b){b=hm(a,1,1);break b}b=Xi(a,1)}if((b|0)<=-1){Qj(a,1,138508)}if(!cl(a,b,c+8|0)){Qj(a,1,138535)}tn(a,138549,c+8|0);if(Ei(a,-1)){break a}q[c>>2]=b;Bi(a,138551,c)}ti=c+112|0}function ID(a,b,c,d,e,f,g){var h=0;h=ti-16|0;ti=h;b=VV(a,b,c);a:{if(b){break a}if(q[a>>2]){q[a+36>>2]=0;b=0}else{b=-24832}if(b){break a}b=Mm(a,d,e,f,g);if(b){break a}b=XV(a,q[g>>2]+f|0,h+12|0);if(b){break a}q[g>>2]=q[g>>2]+q[h+12>>2];b=0}ti=h+16|0;return b}function E9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;fj(a,1,b+12|0);d=Ri(a,2);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);sI(e,q[b+12>>2],x(d));if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(196277,196298,2779,201622);G()}ti=b+16|0;return 0}function pO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<3)+a|0;if(y(c)<0x8000000000000000){q[a>>2]=~~c>>>0;q[a+4>>2]=y(c)>=1?c>0?~~A(C(c*2.3283064365386963e-10),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))*2.3283064365386963e-10)>>>0:0;return}q[a>>2]=0;q[a+4>>2]=-2147483648}function jma(a,b){var c=0,d=0;c=ti-16|0;ti=c;a:{if(!a){break a}a=q[a>>2];if(!a){break a}d=q[a>>2]}a=q[b+4>>2];if(!a){a=q[b>>2]}b=q[a>>2];b:{if(b){break b}if(!Nj(d,q[a+4>>2],a)){b=q[a>>2];break b}q[c>>2]=q[a+4>>2];Ai(4,35133,35316,c);b=0}ti=c+16|0;return b}function iS(a,b){a=a|0;b=b|0;var c=0;c=ti-16|0;ti=c;q[c+12>>2]=Ho(a);a:{if((yl(q[b>>2],0,34,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Hi(a,132281);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}ti=c+16|0;return a|0}function gva(a,b,c){var d=0,e=0;d=ti-160|0;ti=d;Gi(d+8|0,208200,144);q[d+52>>2]=a;q[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;q[d+56>>2]=e;a=a+e|0;q[d+36>>2]=a;q[d+24>>2]=a;NM(d+8|0,b,c);if(e){a=q[d+28>>2];o[a-((a|0)==q[d+24>>2])|0]=0}ti=d+160|0}function gja(a,b,c,d,e){var f=0;if(o[a+141|0]&1){Ai(4,33031,34578,0);return 1}f=3;a=q[b+12>>2];a:{if(!a){break a}while(1){if(q[a>>2]!=(c|0)|q[a+4>>2]!=(d|0)){a=q[a+16>>2];if(a){continue}break a}break}if(!q[a+12>>2]){return 4}q[e>>2]=q[a+8>>2];f=0}return f}function Raa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);Zj(a,RI(d,q[b+12>>2]),wi);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,1907,200677);G()}ti=b+16|0;return 1}function RA(a,b){var c=0,d=0,e=0,f=0;e=3;a:{b:{if(a+1>>>0<2){break b}c=a&65535;d=q[213374];if(c>>>0>=t[d+8>>2]){break a}f=q[q[d>>2]+(c<<2)>>2];if(!f|s[q[d+4>>2]+(c<<1)>>1]!=(a>>>16|0)){break b}q[b>>2]=r[f+34|0];e=0}return e}J(149021,149036,144,149074);G()}function xqa(a,b){var c=0,d=0,e=0;c=ti-16|0;ti=c;axa(+b);d=Zwa(1)|0;e=Zwa(0)|0;o[c+8|0]=e;o[c+9|0]=e>>>8;o[c+10|0]=e>>>16;o[c+11|0]=e>>>24;o[c+12|0]=d;o[c+13|0]=d>>>8;o[c+14|0]=d>>>16;o[c+15|0]=d>>>24;a=xi[q[a>>2]](q[a+4>>2],c+8|0,8)|0;ti=c+16|0;return a}function xha(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-176|0;ti=b;d=q[q[a+32>>2]+8>>2];Fi(b+8|0,0,168);c=q[a+4>>2];a:{if(xK(c,q[a>>2],q[a+20>>2],q[a+24>>2],b+8|0,q[a+16>>2])){wv(c,q[a>>2],d);Gi(d,b+8|0,168);break a}wv(c,q[a>>2],b+8|0);e=-13}ti=b+176|0;return e|0}function qka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){a=b+w(a,240)|0;p[a+234>>1]=s[a+234>>1]|128;return 0}}J(48683,48598,479,48308);G()}function nea(a,b,c,d,e){var f=0,g=0,h=0;g=ti-16|0;ti=g;h=r[a+192|0];a:{if(h>>>0>=8){a=Mi(b,c);q[g+4>>2]=8;q[g>>2]=a;Ai(4,83526,83535,g);break a}f=w(h,24)+a|0;o[f+20|0]=0;q[f+16>>2]=e;q[f+12>>2]=d;q[f>>2]=b;q[f+4>>2]=c;q[f+8>>2]=h;o[a+192|0]=h+1}ti=g+16|0}function nQ(a){var b=0,c=0,d=0;a:{b=q[q[a+64>>2]+96>>2];if(!b){b=-27648;break a}c=b+204|0;b:{if(!c){break b}c=q[c>>2];if(!c){break b}d=xi[q[c+12>>2]](2)|0}if(!d){return-27904}b=FV(q[a+68>>2]+132|0,q[b+208>>2]);if(b){break a}return yC(a)?-31232:0}return b}function VN(a,b,c){var d=0,e=0;d=ti-160|0;ti=d;Gi(d+8|0,208200,144);q[d+52>>2]=a;q[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;q[d+56>>2]=e;a=a+e|0;q[d+36>>2]=a;q[d+24>>2]=a;NB(d+8|0,b,c);if(e){a=q[d+28>>2];o[a-((a|0)==q[d+24>>2])|0]=0}ti=d+160|0}function Ri(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=ti-16|0;ti=c;e=xj(a,b);a:{if(e!=0){break a}if(Bj(a,b)){break a}g=q[66951];h=c;f=Ei(a,b);d=135271;b:{if((f|0)==-1){break b}d=q[(f<<2)+267792>>2]}q[h+4>>2]=d;q[c>>2]=g;Qj(a,b,vj(a,137919,c))}ti=c+16|0;return e}function Fo(a,b,c){var d=0,e=0;a:{b:{d=b+c|0;if(d>>>0<65){if(c-1>>>0>=8){break b}e=b>>>3|0;if((e|0)!=(d-1>>>3|0)){break a}return(-1<>>(b&7)}J(102074,92069,576,102978);G()}J(102992,92069,577,102978);G()}J(102126,92069,578,102978);G()}function w7(a){var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=r[a+2196|0];d=q[a>>2];e=s[a+2198>>1];q[b+12>>2]=162504;q[b+8>>2]=e;q[b+4>>2]=d;q[b>>2]=c?162946:162952;hj(a+4|0,2124,162932,b);q[a+2168>>2]=pk();q[a+2172>>2]=wi;a=lH(a,162504,163012);ti=b+16|0;return a}function jj(a,b){var c=0,d=0,e=0;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}c=a;e=b;b=q[a+20>>2];d=a+72|0;a:{if((b|0)==q[a+40>>2]){break a}d=q[q[b+4>>2]>>2]+12|0}b=yX(c,e,q[d>>2]);c=q[a+8>>2];q[c+8>>2]=7;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return b+32|0}function go(a,b){var c=0,d=0,e=0;a:{if(b>>>0>3){break a}c=w(b,12);b=c+a|0;if(!(o[b+532|0]&1)){break a}d=a;e=q[a+524>>2];a=c+(a+524|0)|0;c=q[a+16>>2];q[d+524>>2]=e-c;xi[q[68401]](q[a+12>>2],0,c)|0;yi(q[a+12>>2]);q[b+540>>2]=0;q[b+532>>2]=0;q[b+536>>2]=0}}function dra(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=Xi(a,1);d=Wi(a,2,0);a:{if(c>>>0>=32){q[b>>2]=32;a=Bi(a,202976,b);break a}if(Ui(d)>>>0>=256){q[b+16>>2]=255;Ai(3,203199,203205,b+16|0)}if(c>>>0<=31){zj((c<<8)+865940|0,d,256)}a=0}ti=b+32|0;return a|0}function Xoa(a){var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=q[74116];if(b){while(1){e=(q[a+8>>2]+w(s[b+16>>1],112)|0)+8|0;d=q[b+8>>2];a:{if(!d){break a}if(!(xi[d|0](a,e)|0)){break a}q[c>>2]=q[b+12>>2];Ai(4,5741,5868,c)}b=q[b>>2];if(b){continue}break}}ti=c+16|0}function Cn(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;c=b<<3|c;a:{if(c>>>0<128){b=c;break a}while(1){o[(d+11|0)+e|0]=c|128;e=e+1|0;f=c>>>0>16383;b=c>>>7|0;c=b;if(f){continue}break}}o[(d+11|0)+e|0]=b;a=xi[q[a>>2]](q[a+4>>2],d+11|0,e+1|0)|0;ti=d+16|0;return a}function usa(a){var b=0,c=0;axa(+a);b=Zwa(1)|0;_wa(0,Zwa(0)|0);b=b&2147483647;_wa(1,b|0);a=+$wa();a:{if(b>>>0<=1072049729){c=1;if(b>>>0<1045430272){break a}a=ss(a);c=a+1;return a*a/(c+c)+1}if(b>>>0<=1082535489){a=wu(a);return(a+1/a)*.5}c=ZM(a)}return c}function kl(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0);c=ti-32|0;ti=c;d=Li(a,b,q[212904],0);f=u[d>>2];g=u[d+4>>2];a:{if(!(f!=f|g!=g)){e=u[d+8>>2];if(e==e){break a}}e=u[d+8>>2];v[c+16>>3]=g;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;Bi(a,128819,c)}ti=c+32|0;return d}function fG(a,b){var c=0,d=0,e=0,f=0;d=ti-16|0;ti=d;q[d+4>>2]=a;q[d>>2]=24386;hj(b,1024,24380,d);c=b;e=c;while(1){a=r[e|0];a:{b:{if((a|0)!=47){if(a){break b}o[c|0]=0;ti=d+16|0;return c-b|0}if((f&255)==47){break a}}o[c|0]=a;c=c+1|0}e=e+1|0;f=a;continue}}function Zca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=ti-16|0;ti=a;q[a+12>>2]=0;Wa(1,a+12|0);a:{if(!(r[q[77547]+156|0]&64)){break a}e=K()|0;if(!e){break a}Vi(e,87285,1607);J(84254,84160,1607,87285);G()}lJ(q[a+12>>2],b,c,d);ti=a+16|0;return q[a+12>>2]}function R$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=ti-32|0;ti=d;b=pP(a,b,d+28|0);a:{if(!b){f=-2;break a}rP(d,b);a=Oi(20);e=q[d>>2];q[a+4>>2]=0;q[a>>2]=e;e=q[d+4>>2];q[a+12>>2]=b;o[a+9|0]=16;o[a+8|0]=e;q[a+16>>2]=nP(b);q[c>>2]=a}ti=d+32|0;return f|0}function DQ(a,b){var c=0,d=0;a:{d=b>>>3|0;if(d){while(1){if(r[a+c|0]!=255){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}b=b&7;if(!b){return 0}a=r[a+d|0];c=0;while(1){if(!(a>>>7-c&1)){break a}c=c+1|0;if((b|0)!=(c|0)){continue}break}return 0}return-1}function $ja(a){a=a|0;var b=0;a=q[a+4>>2];b=q[a+36>>2];if(b){xi[q[77453]](b);xi[q[77440]](q[a+40>>2]);yi(q[a+44>>2])}a:{if(o[a+32|0]&1){break a}b=q[a+20>>2];if(!b){break a}yi(b)}b:{if(o[a+16|0]&1){break b}b=q[a+4>>2];if(!b){break b}yi(b)}yi(a);return 0}function tca(a,b){a=a|0;b=b|0;var c=0;a:{if(a){ac(b|0);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}c=q[a+76>>2]&-8161;q[a+72>>2]=q[a+72>>2];q[a+76>>2]=(b&255)<<5|c;return}J(84152,84160,3513,88257);G()}Vi(c,88257,3515);J(84254,84160,3515,88257);G()}function jA(a,b,c,d){var e=0,f=0,g=0;e=ti-1056|0;ti=e;f=Ty(b);a:{if(f){if(!Em(f,c)){break a}}q[e+20>>2]=c;q[e+16>>2]=b;Bi(a,72044,e+16|0)}c=vl(e+32|0,fG(b,e+32|0));f=wi;g=f;if(Tp(q[76921],c,f)){q[e>>2]=b;Bi(a,72108,e)}q[d>>2]=c;q[d+4>>2]=g;ti=e+1056|0}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=ti-16|0;ti=c;e=Ok(a,b);a:{if(e){break a}if(Bj(a,b)){break a}g=q[66951];h=c;f=Ei(a,b);d=135271;b:{if((f|0)==-1){break b}d=q[(f<<2)+267792>>2]}q[h+4>>2]=d;q[c>>2]=g;Qj(a,b,vj(a,137919,c))}ti=c+16|0;return e}function Rsa(a,b){var c=0,d=0;c=+t[b+12>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=+t[b+8>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=Iw()-v[b>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 3}function Oia(a){a=a|0;var b=0,c=0,d=0;c=q[a>>2];b=q[c+32>>2];if((b|0)!=q[c+36>>2]){d=q[q[a+4>>2]+8>>2];a=0;while(1){b=q[(a<<2)+b>>2];if(q[q[b+8>>2]+16>>2]==(d|0)){_q(q[b+8>>2],5,-2,0)}a=a+1|0;b=q[c+32>>2];if(a>>>0>2]-b>>2>>>0){continue}break}}}function MO(a){var b=0,c=0;c=ti-16|0;ti=c;axa(+a);b=Zwa(1)|0;Zwa(0)|0;b=b&2147483647;a:{if(b>>>0<=1072243195){if(b>>>0<1044381696){break a}a=MM(a,0,0);break a}if(b>>>0>=2146435072){a=a-a;break a}b=pB(a,c);a=MM(v[c>>3],v[c+8>>3],b&1)}ti=c+16|0;return a}function B4(a){q[a+16>>2]=7;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=7;q[a+4>>2]=0;o[a+33|0]=255;o[a+34|0]=255;q[a+20>>2]=0;q[a+24>>2]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+35|0]=r[a+35|0]&192|15}function $W(a){a=a|0;var b=0;ik(a,141522,268848);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3.141592653589793;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,141527);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=I;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,141530);Ki(a,-1,141535);Di(a,-2,141540);return 1}function yra(a){var b=0,c=0;b=q[213375];if(b){while(1){c=q[b+8>>2];if(c){xi[c|0](a)}b=q[b+24>>2];if(b){continue}break}}if(a){a:{if(o[a+28|0]&1){break a}b=q[a+16>>2];if(!b){break a}yi(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}yi(b)}yi(a)}}function tk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c){return 0}d=r[a|0];a:{if(!d){break a}while(1){b:{e=r[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=r[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-r[b|0]|0}function tA(a,b){var c=0,d=0;b=q[b>>2];wj(q[b+3232>>2]);a:{d=q[b+3244>>2];if(d){c=q[b+3252>>2];if(!c|c>>>0>t[b+3248>>2]){break a}c=c-1|0;q[b+3252>>2]=c;q[(c<<2)+d>>2]=a;qj(q[b+3232>>2]);return}J(12558,12467,140,12553);G()}J(12589,12467,141,12553);G()}function sW(a){a=a|0;var b=0,c=0,d=0;mj(a,1,5);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(rj(a,1)){while(1){Ci(a,-2);if((Ei(a,-1)|0)==3){d=xj(a,-1);c=c>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function lB(a){var b=0,c=0;b=r[a+74|0];o[a+74|0]=b-1|b;if(t[a+20>>2]>t[a+28>>2]){xi[q[a+36>>2]](a,0,0)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=q[a>>2];if(b&4){q[a>>2]=b|32;return-1}c=q[a+44>>2]+q[a+48>>2]|0;q[a+8>>2]=c;q[a+4>>2]=c;return b<<27>>31}function S8(a){var b=0,c=0,d=0,e=0;d=q[a+32>>2];b=q[a+36>>2]-d|0;c=(b|0)/576|0;if(b){e=c>>>0>1?c:1;c=0;while(1){b=w(c,576)+d|0;if(o[b+404|0]&1){b=Gi(b,b+160|0,160);q[b+412>>2]=q[b+400>>2]}c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[a+52>>2]=q[a+48>>2]}function oba(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=aj(a,1);if(b){bj(a,-1e4,q[b+4>>2]);Qi(a,2);Qi(a,3);$i(a,-3);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(198514,196298,209,198540);G()}J(196277,196298,217,198540);G()}function nla(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+20>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+8>>2];b=q[b+4>>2];if(a>>>0>2>>>0){a=q[b+(a<<2)>>2];o[a+204|0]=r[a+204|0]|2;return 0}}J(41371,40669,479,41382);G()}function maa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;e=Zi(b+8|0,a,1,196298,2938);fj(a,1,b+4|0);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);c=Aba(c,q[b+4>>2]);d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=b+32|0;return 1}function Z9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;fj(a,1,b+12|0);e=Ri(a,2);f=Ri(a,3);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);c=W8(c,q[b+12>>2],x(e),x(f));d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function WZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=-24832;if(!(!a|!c)){f=c;c=b-1|0;d=r[c+a|0];e=b-d|0;q[f>>2]=e;b=!d|b>>>0>>0;if(c){d=0;while(1){b=(d>>>0>>0?0:r[a+d|0])|b;d=d+1|0;if((c|0)!=(d|0)){continue}break}}d=b&255?-25088:0}return d|0}function V1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;o[b+15|0]=0;d=FF(a,1,b+15|0);o[b+14|0]=0;e=FF(a,2,b+14|0);f=(Ui(d)+Ui(e)|0)+1|0;c=Ji(f);o[c|0]=0;zj(c,d,f);Bk(c,e,f);if(r[b+15|0]){yi(d)}if(r[b+14|0]){yi(e)}Hi(a,c);yi(c);ti=b+16|0;return 1}function FG(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];d=Ui(b)+1|0;if(c>>>0>=d>>>0){f=q[a>>2];e=q[f>>2];a:{if(c-e>>>0>=d>>>0){c=f;break a}c=Oi(c+8|0);q[c+4>>2]=f;e=0;q[c>>2]=0;q[a>>2]=c}q[c>>2]=d+e;return Gi((c+e|0)+8|0,b,d)}J(167522,167547,67,167577);G()}function CP(a,b,c){var d=0;d=q[a+204>>2];q[c>>2]=0;d=d+16384|0;if(!(q[a+8>>2]!=1|d>>>0>>0|q[a+248>>2]+5>>>0>d-b>>>0)){o[b+2|0]=0;o[b|0]=255;o[b+1|0]=1;o[b+3|0]=r[a+248|0]+1;o[b+4|0]=q[a+248>>2];Gi(b+5|0,a+252|0,q[a+248>>2]);q[c>>2]=q[a+248>>2]+5}}function zD(a,b){var c=0,d=0;c=-19584;a:{if(uj(b+24|0,1)){break a}c=-20352;b:{c:{if(q[a+48>>2]){d=q[a+60>>2]?1:2}else{d=0}switch(d-1|0){case 0:break b;case 1:break c;default:break a}}return Cm(b)>>>0>q[a+92>>2]+7>>>3>>>0?-19584:0}c=W_(a,b)}return c}function vQ(a,b){a=a|0;b=b|0;var c=0;c=ti-192|0;ti=c;yq(c+104|0);uq(c+8|0);yx(c+104|0,q[a+68>>2]+596|0);vx(c+8|0,q[a+68>>2]+684|0);Yr(c+104|0,b);Rr(c+8|0,b+16|0);a=c+104|0;if(a){xi[q[68401]](a,0,88)|0}a=c+8|0;if(a){xi[q[68401]](a,0,92)|0}ti=c+192|0}function kO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<3)+a|0;if(c<0x10000000000000000&c>=0){q[a>>2]=~~c>>>0;q[a+4>>2]=y(c)>=1?c>0?~~A(C(c*2.3283064365386963e-10),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))*2.3283064365386963e-10)>>>0:0;return}q[a>>2]=0;q[a+4>>2]=0}function gY(a){a=a|0;var b=0;mj(a,2,5);KE(a,0);Qi(a,2);a:{if(!Bj(a,1)){break a}if(xj(a,1)!=0){break a}b=q[a+8>>2];q[b+8>>2]=8;q[b>>2]=a;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);Oo(a,-2);return 0}b:{if(!Ip(a,-2)){if(Oo(a,-2)){break b}}Bi(a,138746,0)}return 1}function gP(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(!((d|0)<1|(e|0)<1)){c=0;while(1){g=w(c,e);h=b+c|0;f=0;while(1){o[(f+g|0)+a|0]=r[h|0];f=f+1|0;if((f|0)!=(e|0)){continue}break}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return a|0}function Ul(a,b){var c=0,d=0;c=jj(a,32);d=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;Ki(a,-1e4,123208);ij(a,-2)}function Jca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(a){Ic(q[(b<<2)+88080>>2],q[(c<<2)+88080>>2]);if(r[q[77547]+156|0]&64){d=K()|0;if(d){break a}}o[a+80|0]=b&15|c<<4;return}J(84221,84160,3410,88051);G()}Vi(d,88051,3437);J(84254,84160,3437,88051);G()}function Hqa(a,b,c,d){a:{if((q[c+4>>2]&-268435456)==805306368){b=Nqa(b,c,d);if((q[c+4>>2]&-268435456)!=805306368){break a}if(!r[a+12|0]){a=q[a+4>>2]+q[c+12>>2]|0;q[a+4>>2]=0;q[a>>2]=b}return}J(23491,23110,375,23705);G()}J(23491,23110,276,23553);G()}function hja(a,b,c,d,e){if(o[a+141|0]&1){Ai(4,33031,34578,0);return 1}a=3;b=q[b+12>>2];a:{if(!b){break a}while(1){if(q[b>>2]!=(c|0)|q[b+4>>2]!=(d|0)){b=q[b+16>>2];if(b){continue}break a}break}if(!q[b+12>>2]){return 4}q[e>>2]=q[b+8>>2];a=0}return a}function Zka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0>2>>>0){a=q[b+(a<<2)>>2];o[a+254|0]=r[a+254|0]|4;return 0}}J(46656,46296,479,46535);G()}function Dca(a,b){a=a|0;b=b|0;var c=0;a:{if(a){wc(b|0);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}c=q[a+76>>2];q[a+72>>2]=q[a+72>>2]&-17|(b?16:0);q[a+76>>2]=c;return}J(84152,84160,3462,88159);G()}Vi(c,88159,3464);J(84254,84160,3464,88159);G()}function Cw(a,b,c,d,e){var f=0;f=Fw(a,b,c,d);if(t[e+144>>2]>2]){ak(d,e);if(t[d+144>>2]>=t[c+144>>2]){return f+1|0}ak(c,d);if(t[c+144>>2]>=t[b+144>>2]){return f+2|0}ak(b,c);if(t[b+144>>2]>=t[a+144>>2]){return f+3|0}ak(a,b);f=f+4|0}return f}function wsa(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+216>>2]&15;c=0;a:{if(!d){break a}o[b+7|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;q[b>>2]=0;q[b+4>>2]=0;c=vq(a+132|0,b,16-d|0)}a=c;ti=b+16|0;return a}function wda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return s[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+18>>1]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function uda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return s[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+16>>1]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function pda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return s[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+14>>1]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function Sva(){q[81750]=0;q[81751]=0;q[81748]=0;q[81746]=117206;q[81745]=117194;q[81744]=0;q[81742]=0;q[81740]=0;q[81738]=0;q[81736]=0;q[81734]=0;q[81735]=0;q[81752]=0;q[81753]=0;q[81754]=0;q[81755]=0;q[81756]=Vp(117216,22);q[81757]=Kz(117376,15)}function Sv(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;a:{if(b>>>0<128){e=b;break a}while(1){o[(c+11|0)+d|0]=b|128;d=d+1|0;f=b>>>0>16383;e=b>>>7|0;b=e;if(f){continue}break}}o[(c+11|0)+d|0]=e;a=xi[q[a>>2]](q[a+4>>2],c+11|0,d+1|0)|0;ti=c+16|0;return a}function Dda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return s[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+22>>1]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function Cda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return s[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+20>>1]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function tda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return r[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)+24|0]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function qy(a){var b=0,c=0;b=ti-144|0;ti=b;Fi(b+16|0,0,128);q[b+12>>2]=128;a:{if(!by(a,b+16|0,b+12|0)){c=s[b+16>>1]==10;break a}a=Sl(168496,155,q[242957]);q[b+4>>2]=rF(Sl(168496,155,q[242957]));q[b>>2]=a;Ai(4,168407,168453,b)}ti=b+144|0;return c}function fpa(a,b){a=a|0;b=b|0;var c=0,d=0;d=ti-16|0;ti=d;c=q[a+8>>2];ty(q[c+16>>2],u[q[a+4>>2]+4>>2]);q[74286]=q[74286]+(q[c+4>>2]-q[c>>2]>>2);c=q[c+4>>2]-q[c>>2]>>2;q[d>>2]=c;q[d+4>>2]=0;q[d+8>>2]=c;q[d+12>>2]=0;a=eL(a,2,b);ti=d+16|0;return a|0}function eM(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+208>>2]&15;c=0;a:{if(!d){break a}o[b+7|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;q[b>>2]=0;q[b+4>>2]=0;c=vq(a+132|0,b,16-d|0)}a=c;ti=b+16|0;return a}function Yn(a,b){var c=0,d=0;c=ti-16|0;ti=c;a:{if(!a){break a}d=q[a+2024>>2];if((d|0)==q[a+2028>>2]){if(o[a+2400|0]&1){break a}q[c>>2]=d-q[a+2020>>2]>>2;Ai(3,109533,109737,c);o[a+2400|0]=r[a+2400|0]|1;break a}q[a+2024>>2]=d+4;q[d>>2]=b}ti=c+16|0}function XZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=-24832;if(!(!a|!c)){e=r[(a+b|0)-1|0];f=b-e|0;q[c>>2]=f;c=!e|b>>>0>>0;if(b){d=0;while(1){c=(d>>>0>>0?0:r[a+d|0]^e)|c;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=c&255?-25088:0}return d|0}function UZ(a){var b=0,c=0,d=0,e=0;c=ti-400|0;ti=c;d=-1;a:{if(PB(c+8|0)){break a}d=0;b:{c:{while(1){e=r[(b+c|0)+73|0];o[a+b|0]=e;if(!e){break c}b=b+1|0;if((b|0)!=65){continue}break}break b}if((b|0)!=65){break a}}o[a- -64|0]=0}ti=c+400|0;return d}function OA(a){var b=0,c=0,d=0;a:{b:{if(a+1>>>0<2){break b}b=a&65535;c=q[213374];if(b>>>0>=t[c+8>>2]){break a}d=q[q[c>>2]+(b<<2)>>2];if(!d|s[q[c+4>>2]+(b<<1)>>1]!=(a>>>16|0)){break b}p[d+32>>1]=s[d+32>>1]+1}return}J(149021,149036,144,149074);G()}function Jla(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0>8>>>0){a=b+(a<<8)|0;p[a+246>>1]=s[a+246>>1]|2;return 0}}J(52123,52040,479,52134);G()}function JT(a,b,c){var d=0;d=ti-16|0;ti=d;b=Rj(a,b,c+4|0,163);a:{if(b){a=b-9472|0;break a}q[c>>2]=163;q[c+8>>2]=q[a>>2];b=q[a>>2]+q[c+4>>2]|0;c=Rj(a,b,d+12|0,48);if(c){a=c-9472|0;break a}a=(b|0)==(q[a>>2]+q[d+12>>2]|0)?0:-9574}ti=d+16|0;return a}function J7(a){var b=0,c=0,d=0;a:{while(1){b=q[a+64>>2];if(q[a+68>>2]-b>>6>>>0<=c>>>0){break a}b=b+(c<<6)|0;d=q[b>>2];if(d){yi(d)}b=q[b+4>>2];if(b){Ak(b)}c=c+1|0;if((c|0)!=16){continue}break}H7(a);yi(K7(a));return}J(162235,162182,479,162246);G()}function Hva(){q[212883]=0;q[212884]=0;q[212882]=326936;q[212880]=0;q[212878]=127478;q[212877]=127462;q[212876]=0;q[212874]=0;q[212872]=0;q[212870]=0;q[212868]=1;q[212866]=0;q[212867]=3;q[212885]=0;q[212886]=0;q[212887]=0;q[212888]=Vp(127488,18)}function $aa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=ti-32|0;ti=b;d=Zi(b+8|0,a,1,196298,4177);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);e=Oba(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Yi(d);ti=b+32|0;return 1}function xt(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function ry(a){var b=0,c=0;b=ti-144|0;ti=b;Fi(b+16|0,0,128);q[b+12>>2]=128;a:{if(!by(a,b+16|0,b+12|0)){c=s[b+16>>1]==2;break a}a=Sl(168496,130,q[242957]);q[b+4>>2]=rF(Sl(168496,130,q[242957]));q[b>>2]=a;Ai(4,168407,168453,b)}ti=b+144|0;return c}function iV(a){var b=0,c=0,d=0,e=0;d=ti-384|0;ti=d;c=-5;b=q[a+80>>2];a:{if(b>>>0>384){break a}e=Fi(d,0,384);c=-9;if(xi[q[a+92>>2]](q[a+96>>2],e,b)|0){break a}b=q[a+80>>2];c=zx(a,e,b);if(!c){q[a+76>>2]=1}xi[q[68401]](e,0,b)|0}ti=d+384|0;return c}function awa(){q[212916]=1;q[212914]=1119817666;q[212915]=1850475176;q[212913]=134815;q[212912]=1;q[212919]=0;o[851672]=0;q[212917]=q[212911];q[212919]=q[74622];q[74622]=851648;q[66691]=q[74622];q[74622]=266736;q[66735]=q[74622];q[74622]=266912}function Zna(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=aj(a,1);if(b){bj(a,-1e4,q[b+16>>2]);Qi(a,2);Qi(a,3);$i(a,-3);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(18947,15841,263,18970);G()}J(16509,15841,271,18970);G()}function Qw(a){var b=0,c=0,d=0,e=0;c=q[a+76>>2];b=q[a+68>>2];d=q[b+512>>2];if((c|0)!=(d|0)){q[a+76>>2]=d;q[b+512>>2]=c;c=q[a+220>>2];d=q[a+224>>2];e=q[b+520>>2];q[a+220>>2]=q[b+516>>2];q[a+224>>2]=e;q[b+516>>2]=c;q[b+520>>2]=d;Dr(a,q[a+76>>2])}}function qda(a,b){a=a|0;b=b|0;var c=0;a:{if(b>>>0<2097152){b=a&65535;c=q[77547];if(b>>>0>=t[c+32>>2]){break a}return q[(s[q[c+28>>2]+(b<<1)>>1]==(a>>>16|0)?q[q[c+24>>2]+(b<<2)>>2]:0)>>2]}J(86756,86795,69,86831);G()}J(86601,86616,144,86680);G()}function isa(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-112|0;ti=c;d=a;if((Ei(a,1)|0)==8){e=1;d=sn(a,1)}b=e+1|0;a:{if(!cl(d,Xi(a,b),c+8|0)){b=Qj(a,b,142096);break a}b=e+3|0;Ql(a,b);Ci(a,b);Nn(a,d,1);Hi(a,gX(d,c+8|0,Xi(a,e|2)));b=1}ti=c+112|0;return b|0}function _sa(a){a=a|0;var b=0,c=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);q[a+8>>2]=q[a+8>>2]+16;return 1}function sna(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b+12>>2]=0;a:{if(!Xn(a,1,0,b+12|0)){break a}a=q[b+12>>2];if(!a){break a}b:{switch(q[a+4>>2]-1|0){case 0:Uv(q[a>>2]);break a;case 1:break b;default:break a}}Pi(q[76576],q[a>>2])}ti=b+16|0;return 0}function W1(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2]-q[a+12>>2]>>4;e=a;a:{if(mk(a,1,q[81777])){b=aj(a,1);c=q[b>>2];b=q[b+4>>2];break a}c=zi(Wi(a,1,0));b=wi}Zj(e,c,b);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(119994,120019,86,120238);G()}return 1}function TE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if(d){j=b+12|0;k=e>>>1&63;while(1){h=w(g,36)+c|0;i=(g|0)==(k|0);f=Vt(b,h,i);if(f){break a}f=Vt(j,h+12|0,i);if(f){break a}g=g+1|0;if((g|0)!=(d|0)){continue}break}}f=UE(a,b,e>>>7|0)}return f}function L9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,196298,3794);Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);a:{if(nv(d,q[b+4>>2])){e=sj(c,201707,0);break a}G8(d,q[b+4>>2],x(Ri(a,2)))}Yi(c);ti=b+32|0;return e|0}function K9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,196298,3844);Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+4|0);a:{if(nv(d,q[b+4>>2])){e=sj(c,201768,0);break a}F8(d,q[b+4>>2],x(Ri(a,2)))}Yi(c);ti=b+32|0;return e|0}function CS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ti-16|0;ti=c;q[c+12>>2]=0;q[c+8>>2]=4;d=1;e=a;a:{if((Sn(q[b>>2],1,4,c+12|0,c+8|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;d=2;a=132079;break a}a=Yl(q[c+12>>2])}Hi(e,a);ti=c+16|0;return d|0}function $p(a,b){var c=0,d=0,e=0;a:{b:{if(a+1>>>0<2){break b}c=a&65535;d=q[213374];if(c>>>0>=t[d+8>>2]){break a}e=q[q[d>>2]+(c<<2)>>2];if(!e|s[q[d+4>>2]+(c<<1)>>1]!=(a>>>16|0)){break b}q[b>>2]=s[e+32>>1]}return}J(149021,149036,144,149074);G()}function nl(a,b){var c=0,d=0;if(!a){return Ji(b)}if(b>>>0>=4294967232){q[242957]=48;return 0}c=yO(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Ji(b);if(!c){return 0}d=q[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;Gi(c,a,b>>>0>d>>>0?d:b);yi(a);return c}function jha(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[61498],c+12|0)){b=q[c+12>>2];a:{if(r[b+4|0]){break a}d=q[a+20>>2];if(!d){break a}nk(d,q[b>>2]);b=q[c+12>>2]}q[q[a+24>>2]>>2]=b;b=0}ti=c+16|0;return b|0}function ZY(a){a=a|0;var b=0;Ql(a,1);b=aj(a,1);Ki(a,-1e4,140233);a:{b:{if(!b){break b}if(!Kl(a,1)){break b}if(fs(a,-2,-1)){break a}}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}if(!q[b>>2]){Ni(a,140591,11);return 1}Ni(a,140603,4);return 1}function TK(a,b,c,d){var e=0,f=0,g=0;if(a){a=q[a+84>>2];e=q[a+4>>2];if(e){g=q[a>>2];a=0;while(1){f=w(a,96)+g|0;if((b|0)==q[f>>2]&q[f+4>>2]==(c|0)){p[d>>1]=a;return 0}a=a+1|0;if(e>>>0>a>>>0){continue}break}}return-5}J(8428,7291,2057,8444);G()}function GT(a,b,c){var d=0,e=0,f=0;e=ti-16|0;ti=e;d=q[a>>2];f=-9440;a:{if((b-d|0)<1){break a}d=r[d|0];b=TD(a,b,e+12|0);if(b){f=b-9344|0;break a}q[c>>2]=d;b=q[e+12>>2];q[c+4>>2]=b;q[c+8>>2]=q[a>>2];q[a>>2]=b+q[a>>2];f=0}d=f;ti=e+16|0;return d}function mj(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;if((Ei(a,b)|0)!=(c|0)){c=(c|0)==-1?135271:q[(c<<2)+267792>>2];g=d;f=Ei(a,b);e=135271;a:{if((f|0)==-1){break a}e=q[(f<<2)+267792>>2]}q[g+4>>2]=e;q[d>>2]=c;Qj(a,b,vj(a,137919,d))}ti=d+16|0}function PA(a){var b=0,c=0,d=0,e=0;a:{b:{if(a+1>>>0<2){break b}b=a&65535;c=q[213374];if(b>>>0>=t[c+8>>2]){break a}d=q[q[c>>2]+(b<<2)>>2];if(!d|s[q[c+4>>2]+(b<<1)>>1]!=(a>>>16|0)){break b}e=q[d+24>>2]}return e}J(149021,149036,144,149074);G()}function H9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;c=fj(a,1,b+12|0);e=Ej(a,2);q[c+412>>2]=q[c+412>>2]&-8388609|e<<23&8388608;if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(196277,196298,4166,202166);G()}ti=b+16|0;return 0}function mm(a,b,c){var d=0,e=0;if(c>>>0<10){if(!c){return 0}d=a;a=q[b>>2];e=d+(a>>>3|0)|0;d=a&7;a=r[e|0]>>>d|0;d=8-d|0;d=(c|0)<(d|0)?c:d;if((d|0)!=(c|0)){a=r[e+1|0]<>2]=q[b>>2]+c;return(-1<>2];if(!c){c=q[b>>2]}a:{if(!(o[c+8|0]&1)){break a}if(o[b+24|0]&1){Ai(4,35133,35257,0);return 0}if(!q[c>>2]){break a}b=0;b:{if(!a){break b}a=q[a>>2];if(!a){break b}b=q[a>>2]}Pi(b,q[c>>2]);q[c>>2]=0}return 1}function Xja(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[q[a+1040>>2]+32>>2];b=q[a+1052>>2];c=q[a+1048>>2];d=c+1|0;q[a+1048>>2]=d;q[a+1052>>2]=d>>>0<1?b+1|0:b;if(!(b|c)){q[a+8>>2]=6;o[a+16|0]=o[e+166|0]&1;q[a>>2]=zi(50935);q[a+4>>2]=wi}return!(b|c)|0}function MG(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}o[a+82|0]=r[a+82|0]&254|c}return}J(146626,145751,479,145962);G()}function Kn(a,b,c,d){var e=0,f=0;f=(b>>>2|0)+((b&3)!=0)|0;a:{if((f|0)!=q[a+4>>2]){Si(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;e=bl(a,f);if(e){break a}}e=lk(a,0);if(e){break a}xi[c|0](d,q[a+8>>2]+((f<<2)-b|0)|0,b)|0;XC(q[a+8>>2],f);e=0}return e}function Fca(a,b){a=a|0;b=b|0;var c=0;a:{if(a){Ac(q[(b<<2)+88328>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}p[a+80>>1]=s[a+80>>1]&63999|b<<9&1536;return}J(84152,84160,3611,88432);G()}Vi(c,88432,3613);J(84254,84160,3613,88432);G()}function $R(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ri(a,1);d=Pn(a,2,0);a:{if(y(d)<2147483648){b=~~d;break a}b=-2147483648}if(y(c)<2147483648){e=~~c}else{e=-2147483648}c=+bi(e|0,b|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function xO(a,b){var c=0,d=0,e=0,f=0;c=r[a+1|0];e=!c;d=c|r[a|0]<<8;f=r[b+1|0]|r[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=r[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function w6(a,b){var c=0,d=0;if(!b){return 0}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return 0}return(q[a+4>>2]-q[a>>2]|0)/304|0}J(146626,145751,479,145962);G()}function Opa(a){var b=0,c=0,d=0;c=ti-16|0;ti=c;b=q[212966];if(b){while(1){d=q[b+16>>2];a:{if(!d|!r[b+40|0]){break a}o[b+40|0]=0;if(!(xi[d|0](a)|0)){break a}q[c>>2]=q[b>>2];Ai(4,142324,142381,c)}b=q[b+36>>2];if(b){continue}break}}ti=c+16|0}function eea(a){a=a|0;if(a){if(r[a+156|0]&32){jJ(1);Rb();q[a+88>>2]=0;q[a+92>>2]=0;q[a+40>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+8>>2]=q[a+4>>2];p[a+156>>1]=s[a+156>>1]&65503;yi(q[a+20>>2]);q[a+20>>2]=0}return}J(84221,84160,1336,86691);G()}function SB(a,b){var c=0;c=Pn(a,2,-1);a:{b:{switch(o[Dl(a,3,132632,0)|0]-98|0){case 0:v[b>>3]=c;break a;case 16:case 18:v[b+8>>3]=c;break a;default:break b}}Qj(a,3,132634)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function EW(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=2;d=q[a+8>>2]-q[a+12>>2]>>4;c=Ri(a,1);if((d|0)>=2){while(1){e=Ri(a,b);c=c>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function DW(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=2;d=q[a+8>>2]-q[a+12>>2]>>4;c=Ri(a,1);if((d|0)>=2){while(1){e=Ri(a,b);c=c>e?e:c;f=(b|0)!=(d|0);b=b+1|0;if(f){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function om(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;if(q[a+24>>2]){c=q[a+8>>2];d=q[a+4>>2];q[b+4>>2]=q[a+20>>2];q[b>>2]=a;q[b+8>>2]=Uwa(d,c,32);q[b+12>>2]=wi;fy(q[52088],134730,b)}c=q[a>>2];if(c){yi(c);q[a>>2]=0}if(q[a+16>>2]){yi(a)}ti=b+16|0}function l3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;ik(a,122443,263296);Ni(a,122326,3);Di(a,-2,122449);Ni(a,122330,4);Di(a,-2,122458);Ni(a,122335,1);Di(a,-2,122468);Ci(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(122483,122343,178,122504);G()}}function kq(a,b,c){var d=0,e=0;e=t[c>>2]>2];a:{b:{if(t[b>>2]>=t[a>>2]){d=0;if(!e){break a}rl(b,c);d=1;if(t[b>>2]>=t[a>>2]){break a}rl(a,b);break b}if(e){rl(a,c);return 1}rl(a,b);d=1;if(t[c>>2]>=t[b>>2]){break a}rl(b,c)}d=2}return d}function eia(a){a=a|0;var b=0,c=0,d=0;d=ti-16|0;ti=d;b=q[a+4>>2];c=q[b+4>>2];if(!c){c=q[b>>2]}b=q[c>>2];a:{if(b){break a}if(!Nj(q[a>>2],q[c+4>>2],c)){b=q[c>>2];break a}q[d>>2]=q[c+4>>2];Ai(4,35133,35316,d);b=0}ti=d+16|0;return(b|0)!=0|0}function OB(a,b){var c=0,d=0;a:{if((a|0)==-1){break a}d=q[b+76>>2]>=0;b:{c=q[b+4>>2];c:{if(!c){lB(b);c=q[b+4>>2];if(!c){break c}}if(q[b+44>>2]-8>>>0>>0){break b}}if(!d){break a}return}c=c-1|0;q[b+4>>2]=c;o[c|0]=a;q[b>>2]=q[b>>2]&-17}}function Fl(a,b,c){var d=0,e=0,f=0;if(c){e=-7;f=q[a+5136>>2];a:{if(!f){break a}while(1){if(nj(b,q[(w(d,40)+a|0)+24>>2])){d=d+1|0;if((f|0)!=(d|0)){continue}break a}break}q[c>>2]=(w(d,40)+a|0)+16;e=0}return e}J(25754,24451,1590,25795);G()}function zM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(b){g=b+1|0;d=1<>>0<32){continue}break}J(92163,101831,437,102063);G()}return f}J(102052,101831,418,102063);G()}function sQ(a){var b=0,c=0,d=0;b=q[a+120>>2];c=r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16);d=r[b+11|0]|(r[b+10|0]<<8|r[b+9|0]<<16);b=r[b+8|0]|(r[b+7|0]<<8|r[b+6|0]<<16);if(!(b>>>0>c>>>0|c-b>>>0>>0)){return t[a+132>>2]>>0?-1:0}return-1}function U5(a){var b=0,c=0;b=q[a+1920>>2];if((b|0)!=q[a+1924>>2]){while(1){Vu(q[(c<<2)+b>>2]);c=c+1|0;b=q[a+1920>>2];if(c>>>0>2]-b>>2>>>0){continue}break}}yi(q[a+1940>>2]);xi[q[77440]](q[a+1936>>2]);xi[q[77453]](q[a+1944>>2])}function $U(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=q[a>>2];if((d|0)<0){b=-69;break a}b=ow(d,b,c);if((b|0)>-1){break a}b=-26752;if(VC(a)){break a}b=-80;if(q[242957]==64|q[242957]==15){break a}return(q[242957]==27?-26752:-78)|0}return b|0}function qn(a,b,c){var d=0,e=0;d=-20736;a:{if(!a|!b){break a}e=xi[q[b+32>>2]]()|0;q[a+4>>2]=e;d=-20864;if(!e){break a}b:{if(!c){break b}c=Vj(2,q[b+12>>2]);q[a+8>>2]=c;if(c){break b}xi[q[b+36>>2]](e);return-20864}q[a>>2]=b;d=0}return d}function bp(a,b,c,d,e){var f=0;a:{if(!b){break a}f=q[b+32>>2]<<8;if((f|0)==-256){break a}xi[q[77477]](q[a+2384>>2],f>>8,c);a=q[b+12>>2];if(!a){break a}c=q[b+16>>2];if(!c){break a}xi[q[77505]](d,e,a,c,q[b+20>>2],q[b+24>>2],u[b+28>>2])}}function Uba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=ti-32|0;ti=f;a:{if(!en(q[e+8>>2])){break a}q[f+16>>2]=b;q[f+20>>2]=c;q[f+24>>2]=d;q[f+8>>2]=e;ys(q[e+8>>2],1406,f+8|0);if(a|d){break a}Pm(q[e+8>>2]);q[e+8>>2]=0}ti=f+32|0}function FQ(a,b){var c=0,d=0,e=0;c=ti+ -64|0;ti=c;d=q[a>>2];q[c+48>>2]=0;d=Ll(d,3,c+48|0);e=q[a>>2];q[c+32>>2]=d&-2049;Ll(e,4,c+32|0);Zw(q[a>>2],b);b=q[a>>2];q[c+16>>2]=0;b=Ll(b,3,c+16|0);a=q[a>>2];q[c>>2]=b|2048;Ll(a,4,c);ti=c- -64|0}function yX(a,b,c){var d=0,e=0;if(b>>>0>=4294967262){Yj(a)}d=lj(a,0,0,b+32|0);e=r[q[a+16>>2]+20|0];q[d+16>>2]=b;o[d+4|0]=7;q[d+12>>2]=c;q[d+8>>2]=0;o[d+5|0]=e&3;q[d>>2]=q[q[q[a+16>>2]+112>>2]>>2];q[q[q[a+16>>2]+112>>2]>>2]=d;return d}function y3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+8>>2];d=q[c+4>>2];if(r[c|0]){a=hj(d,a,119067,0);o[c|0]=0;a=(a|0)>0?a:0;d=a+q[c+4>>2]|0;q[c+4>>2]=d;a=q[c+8>>2]-a|0;q[c+8>>2]=a}a=uF(b,d,a);q[c+4>>2]=a+q[c+4>>2];q[c+8>>2]=q[c+8>>2]-a}function rma(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+4>>2];c=0;a:{if(!d){break a}c=q[a>>2];a=q[a+8>>2];q[b+12>>2]=d;o[b+4|0]=1;q[b>>2]=a;q[b+8>>2]=c;b:{if(r[a+17|0]){break b}}Up(0,0,141,b);c=r[b+4|0]?0:-1e3}ti=b+16|0;return c|0}function k3(a){var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;Qi(a,-10002);ik(a,122583,263312);b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,122588);Ci(a,-3);if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(122593,122550,192,122614);G()}}function an(a,b,c){var d=0,e=0;e=(c>>>2|0)+((c&3)!=0)|0;a:{if((e|0)!=q[a+4>>2]){Si(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;d=bl(a,e);if(d){break a}}d=lk(a,0);if(d|!b){break a}Gi(q[a+8>>2]+((e<<2)-c|0)|0,b,c);XC(q[a+8>>2],e);d=0}return d}function tC(a){var b=0,c=0,d=0,e=0;b=cD(a);c=b>>>0<16384?b:16384;d=q[a+216>>2];a:{if(c>>>0<=d>>>0){break a}b=sC(a);if((b|0)<0){return b}a=bD(a);if((a|0)<0){return a}if(a>>>0>=b>>>0){break a}a=b-a|0;b=c-d|0;e=a>>>0>>0?a:b}return e}function rD(a,b,c,d){var e=0;e=-20;a:{b=HD(b,d);if(!b|q[b+24>>2]!=16){break a}if(a){e=q[a+60>>2];if(e){xi[q[q[q[a>>2]+28>>2]+32>>2]](e)}xi[q[68401]](a,0,64)|0}e=Zt(a,b);if(e){break a}e=_t(a,c,d,1);if(e){break a}return c_(a)}return e}function gqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+8>>2];d=q[c+4>>2];if(r[c|0]){a=hj(d,a,4327,0);o[c|0]=0;a=(a|0)>0?a:0;d=a+q[c+4>>2]|0;q[c+4>>2]=d;a=q[c+8>>2]-a|0;q[c+8>>2]=a}a=uF(b,d,a);q[c+4>>2]=a+q[c+4>>2];q[c+8>>2]=q[c+8>>2]-a}function Pna(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Hm(a,1);d=q[c+20>>2];e=q[c+16>>2];u[b+8>>2]=u[c+24>>2];q[b>>2]=e;q[b+4>>2]=d;u[b+16>>2]=u[b>>2];c=q[b+8>>2];q[b+20>>2]=q[b+4>>2];q[b+24>>2]=c;jl(a,b+16|0);ti=b+32|0;return 1}function AX(a,b){a:{switch(q[b>>2]-13|0){case 0:q[b>>2]=12;q[b+8>>2]=q[q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)>>2]>>>6&255;return;case 1:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&8388607|16777216;q[b>>2]=11;break;default:break a}}}function xN(a,b,c){var d=0;d=ti-16|0;ti=d;b=Rj(a,b,d+12|0,160);a:{if(b){if((b|0)==-98){q[c>>2]=0;a=0;break a}a=b-8576|0;break a}b=q[a>>2]+q[d+12>>2]|0;c=Aq(a,b,c);if(c){a=c-8704|0;break a}a=(b|0)==q[a>>2]?0:-8806}ti=d+16|0;return a}function qX(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;a:{b:{if(q[a>>2]){c=q[a+4>>2];break b}c:{c=xi[q[a+8>>2]](q[a+16>>2],q[a+12>>2],b+12|0)|0;if(c){d=q[b+12>>2];if(d){break c}}a=-1;break a}q[a+4>>2]=c;q[a>>2]=d}a=r[c|0]}ti=b+16|0;return a}function oqa(a,b){a=a|0;b=b|0;var c=0;a:{if(a){if(!b){break a}c=Oi(8);q[c>>2]=0;q[c+4>>2]=0;a=$h(q[a>>2])|0;if((a|0)<0){return-11}o[c+4|0]=0;q[c>>2]=a;q[b>>2]=c;return 0}J(207432,207439,45,207468);G()}J(207481,207439,46,207468);G()}function XB(a,b,c,d){var e=0;e=ti-144|0;ti=e;q[e+44>>2]=a;q[e+4>>2]=a;q[e>>2]=0;q[e+76>>2]=-1;q[e+8>>2]=(a|0)<0?-1:a+2147483647|0;nn(e,0,0);c=SM(e,c,1,d,0);if(b){q[b>>2]=((q[e+4>>2]+q[e+120>>2]|0)-q[e+8>>2]|0)+a}ti=e+144|0;return c}function Tk(a,b,c){if((uj(c,0)|0)<0){return-10}b=xx(0,a,b,c);a:{if(b){break a}while(1){if((uj(a,0)|0)<=-1){b=Bl(a,a,c);if(!b){continue}break a}break}while(1){b=0;if((Lj(a,c)|0)<0){break a}b=hl(a,a,c);if(!b){continue}break}}return b}function TB(a){var b=0,c=0,d=0;b=ti-32|0;ti=b;Gj(a);$k(a,b+8|0,0);if(q[b+8>>2]==1){q[b+8>>2]=3}ku(q[a+48>>2],b+8|0);c=q[b+28>>2];if(q[a+16>>2]!=274){d=q[a+52>>2];q[b>>2]=dl(a,274);Dj(a,_i(d,136607,b))}Gj(a);it(a);ti=b+32|0;return c}function SA(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=-12416;d=q[b>>2];a:{if((c-d|0)<2){break a}f=r[d+1|0];g=r[d|0];d=d+2|0;q[b>>2]=d;h=c-d|0;c=f|g<<8;if((h|0)<(c|0)){break a}a=an(a,d,c);if(a){return a-12544|0}q[b>>2]=c+q[b>>2];e=0}return e}function RO(a){var b=0;a:{b=Ji(28);if(b){q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=-2;a=(a|0)<1?1023:a+1|0;q[b+4>>2]=a;a=Ji(a);q[b>>2]=a;if(a){break a}ht(134686);G()}ht(134686);G()}o[a|0]=0;q[b+16>>2]=1;return b}function Po(a,b){var c=0,d=0;a:{c=q[a+8>>2];b:{if((c|0)!=q[b+8>>2]){break b}d=1;c:{switch(c|0){case 3:return v[a>>3]==v[b>>3];case 1:case 2:break a;case 0:break b;default:break c}}d=q[a>>2]==q[b>>2]}return d}return q[a>>2]==q[b>>2]}function Aqa(a,b,c,d,e){var f=0;if((q[c+4>>2]&264241152)==37748736){f=LA(b,e+1|0);if(!r[a+12|0]){a=q[a+4>>2];c=q[c+12>>2];d=Gi(f,d,e);o[d+e|0]=0;a=a+c|0;if(o[b+48|0]&1){f=d-q[b+32>>2]|0}q[a>>2]=f}return}J(23571,23110,288,23607);G()}function gaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=fj(a,1,b+12|0);if(Ei(a,2)){c=fj(a,2,b+12|0);c=s[c+554>>1]|s[c+552>>1]<<16}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);kv(e,s[d+554>>1]|s[d+552>>1]<<16,c);ti=b+16|0;return 0}function faa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=fj(a,1,b+12|0);if(Ei(a,2)){c=fj(a,2,b+12|0);c=s[c+554>>1]|s[c+552>>1]<<16}Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);e9(e,s[d+554>>1]|s[d+552>>1]<<16,c);ti=b+16|0;return 0}function dZ(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;q[rm(a,140233)>>2]=0;d=q[242957];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;q[c>>2]=al(d);vj(a,140349,c);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;ti=c+16|0;return 3}function Gra(a){a:{b:{if(a){if(q[a>>2]){break b}if(q[a+100>>2]|q[a+104>>2]|(q[a+108>>2]|q[a+112>>2])){break a}if(q[a+124>>2]|(q[a+116>>2]|q[a+120>>2])){break a}yi(a)}return}J(27999,27920,158,28047);G()}J(28061,27920,161,28047);G()}function uva(a){a=a|0;var b=0;q[215702]=1;while(1){a=q[215701];q[215701]=a?a:1;if(a){continue}break}a=q[215700];if(a){a:{if(o[a+28|0]&1){break a}b=q[a+8>>2];if(b){yi(b)}b=q[a>>2];if(!b){break a}yi(b)}yi(a);q[215700]=0}q[215701]=0}function so(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a>>2];b=r[c|0];if(b){while(1){a:{d=g;e=(e<<6)+b|0;f=c+1|0;b=r[c+1|0];if(!b){break a}g=d+1|0;c=f;if((b&192)==128){continue}}break}q[a>>2]=f;a=e-q[(d<<2)+178832>>2]|0}else{a=0}return a}function p9(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=fj(a,1,c+12|0);d=Ri(a,2);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);b=s[b+554>>1]|s[b+552>>1]<<16;if(y(d)<2147483648){a=~~d}else{a=-2147483648}tI(e,b,a);ti=c+16|0;return 0}function Y$(a){var b=0,c=0;c=ti-16|0;ti=c;b=s[a+22>>1];if(b){q[c>>2]=0-b;Ai(4,203454,203460,c)}a:{if(o[a+24|0]&1){break a}b=q[a+16>>2];if(!b){break a}yi(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}yi(b)}yi(a);ti=c+16|0}function VO(a){a=a|0;var b=0,c=0,d=0;b=ti-1040|0;ti=b;d=Wi(a,1,b+1036|0);c=Xi(a,2);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if((c|0)>=1){while(1){bn(b,d,q[b+1036>>2]);a=(c|0)>1;c=c-1|0;if(a){continue}break}}gm(b);ti=b+1040|0;return 1}function UU(a,b,c,d,e,f,g,h){var i=0;i=ti-16|0;ti=i;q[i+12>>2]=d;d=-16e3;a:{if(!q[a>>2]){break a}if(RC(b,i+12|0)){break a}d=q[q[a>>2]+20>>2];if(!d){d=-16128;break a}d=xi[d|0](q[a+4>>2],b,c,q[i+12>>2],e,f,g,h)|0}ti=i+16|0;return d}function RX(a,b){lj(a,q[b+12>>2],q[b+44>>2]<<2,0);lj(a,q[b+16>>2],q[b+52>>2]<<2,0);lj(a,q[b+8>>2],q[b+40>>2]<<4,0);lj(a,q[b+20>>2],q[b+48>>2]<<2,0);lj(a,q[b+24>>2],w(q[b+56>>2],12),0);lj(a,q[b+28>>2],q[b+36>>2]<<2,0);lj(a,b,76,0)}function V3(a){var b=x(0),c=x(0),d=0,e=0;d=o[a+186|0]&1;e=q[(d<<5)+a>>2];if(!e){return x(0)}c=u[e+8>>2];if(c!=x(0)){a=(d<<5)+a|0;b=u[a+16>>2];b=c>2]==3?x(x(c+c)-b):b:b;b=x((r[a+28|0]&2?x(c-b):b)/c)}else{b=x(0)}return b}function Uqa(a,b){var c=0,d=0,e=0,f=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=8){e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+8>>2]=c+8;q[b>>2]=f;q[b+4>>2]=e}return(d|0)>7}function yL(a,b,c){var d=0,e=0;a:{if(c){e=q[a+8>>2];d=q[a+4>>2];if(e>>>0>d>>>0){break a}d=d>>>0>=b+e>>>0;if(!d){q[c>>2]=0;return d}q[c>>2]=e;q[a+8>>2]=q[a+8>>2]+b;return d}J(22932,22886,52,22943);G()}J(22867,22886,53,22943);G()}function dba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;d=q[a+12>>2];b=q[q[d+12>>2]>>2];e=Zi(c+8|0,b,0,196298,667);f=q[a+16>>2];bj(b,-1e4,q[d+8>>2]);Aj(b,-1,f);Ci(b,-2);q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;Yi(e);ti=c+32|0}function Mj(a,b){var c=0;c=ti-16|0;ti=c;a:{if(mk(a,b,q[81777])){b=aj(a,b);a=q[b>>2];b=q[b+4>>2];break a}if((Ei(a,b)|0)==4){q[c+12>>2]=0;a=vl(dj(a,b,c+12|0),q[c+12>>2]);b=wi;break a}wk(a,b,120084);a=0;b=0}ti=c+16|0;wi=b;return a}function Ho(a){var b=0,c=0,d=0,e=0,f=0;b=ti-16|0;ti=b;if((Ei(a,3)|0)!=1){e=q[66949];f=b;d=Ei(a,3);c=135271;a:{if((d|0)==-1){break a}c=q[(d<<2)+267792>>2]}q[f+4>>2]=c;q[b>>2]=e;Qj(a,3,vj(a,131542,b))}a=Ej(a,3);ti=b+16|0;return a}function Bha(a){a=a|0;var b=0;b=Oi(16);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;if(!Cj(q[a+12>>2],q[a+16>>2],q[61600],b)){q[b+8>>2]=zi(q[a+8>>2]);q[b+12>>2]=wi;q[q[a+24>>2]+8>>2]=b;return 0}a=q[b>>2];if(a){cj(a)}return-13}function $Z(a,b,c){a=a|0;b=b|0;c=c|0;if(q[b>>2]){q[b>>2]=0;q[c>>2]=1;return 138094}a=q[b+4>>2];a:{if(q[a+76>>2]<=-1){a=q[a>>2];break a}a=q[a>>2]}if(a>>>4&1){a=0}else{a=b+8|0;b=tl(a,1,1024,q[b+4>>2]);q[c>>2]=b;a=b?a:0}return a|0}function du(a,b){var c=0,d=0;c=ti-16|0;ti=c;a:{b:{c:{switch(q[a+8>>2]-3|0){case 0:break a;case 1:break c;default:break b}}if(!Cl(q[a>>2]+16|0,c+8|0)){break b}d=v[c+8>>3];q[b+8>>2]=3;v[b>>3]=d;a=b;break a}a=0}ti=c+16|0;return a}function bz(a){var b=0;b=q[a+96>>2];if(b){yi(b)}b=q[a+100>>2];if(b){yi(b)}b=q[a+128>>2];if(b){yi(b)}xi[q[77502]](q[a>>2],q[a+4>>2]);a:{if(o[a+40|0]&1){break a}b=q[a+20>>2];if(b){yi(b)}b=q[a+12>>2];if(!b){break a}yi(b)}return a}function aD(a){var b=0,c=0;q[q[a+68>>2]+488>>2]=q[q[a>>2]+152>>2];b=q[q[a+68>>2]+488>>2];c=q[a+92>>2];if(c){xi[c|0](q[a+88>>2],b>>>2|0,b)}c=q[a+68>>2];a:{if(q[a+128>>2]==22){b=3;if(r[q[a+120>>2]]==20){break a}}b=2}o[c+492|0]=b}function Wu(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){Ai(4,145356,145973,0);return}u[a+44>>2]=c}return}J(146626,145751,479,145962);G()}function Vga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[62670],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]+108>>2]);nk(q[a+20>>2],q[q[b+12>>2]+104>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function VJ(a,b,c,d){if(o[a+141|0]&1){Ai(4,33031,34578,0);return 1}a=3;b=q[b+12>>2];a:{if(!b){break a}while(1){if(q[b>>2]!=(c|0)|q[b+4>>2]!=(d|0)){b=q[b+16>>2];if(b){continue}break a}break}if(!q[b+12>>2]){return 4}a=0}return a}function Nga(a){a=a|0;var b=0,c=0;q[76572]=q[a+4>>2];b=Fi(Oi(160),0,160);q[b>>2]=q[a+20>>2];c=mK(q[a>>2],b);a:{if(!c){q[q[a+24>>2]+8>>2]=b;break a}hA(q[a>>2],b);yi(b)}q[b+156>>2]=q[q[b+4>>2]+24>>2];Qp(q[a>>2],473,b);return c|0}function zy(a,b){var c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,60730,1209);d=jj(a,8);q[d>>2]=q[b>>2];q[d>>2]=q[b>>2];b=q[b+4>>2];q[d+4>>2]=b;if(b>>>0>=3){J(60792,60730,1214,60822);G()}Ki(a,-1e4,60513);ij(a,-2);Yi(e);ti=c+32|0}function un(a,b){var c=0;b=b+9999>>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;if(!Ei(a,-1)){Ci(a,-2);return-1}bj(a,b,0);c=Ok(a,-1);Ci(a,-2);if(c){bj(a,b,c);bk(a,b,0);bk(a,b,c);return c}c=a;a=Mk(a,b)+1|0;bk(c,b,a);return a}function lE(a,b,c){var d=0;d=ti-32|0;ti=d;b=q[(q[b+8>>2]<<2)+267792>>2];c=q[(q[c+8>>2]<<2)+267792>>2];a:{if(r[b+2|0]==r[c+2|0]){q[d>>2]=b;Hk(a,135377,d);break a}q[d+20>>2]=c;q[d+16>>2]=b;Hk(a,135410,d+16|0)}ti=d+32|0;return 0}function TA(a,b,c,d){var e=0;e=c;c=q[a+92>>2]+7>>>3|0;c=c>>>0>>0?c:d;d=an(b,e,c);a:{if(d){break a}c=c<<3;d=q[a+92>>2];if(c>>>0>d>>>0){d=Wk(b,c-d|0);if(d){break a}}d=0;a=a+76|0;if((Lj(b,a)|0)<0){break a}d=hl(b,b,a)}return d}function Kea(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=d0(Mj(a,1),wi,x(Ri(a,2)));if(c){q[b>>2]=c;Ai(3,76195,76302,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(75970,75991,291,76332);G()}ti=b+16|0;return 0}function z3(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=q[a>>2];c=q[d+104>>2];e=q[d+108>>2];if((c|0)==(e|0)){break a}while(1){f=q[q[c>>2]+24>>2];if(f){xi[f|0](a,b);e=q[d+108>>2]}c=c+4|0;if((e|0)!=(c|0)){continue}break}}} -function SS(a){a=a|0;var b=0,c=0,d=0;c=Qm(a,124315);d=Ln(a,2,32);a:{if(y(d)<2147483648){b=~~d;break a}b=-2147483648}b=hQ(c,b);if(b){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,Ql(b));return 2}hp(a,124339,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function QX(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{if((ri(a,1)|0)!=4){break a}if(r[_i(a,1,0)|0]!=35){break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c-1|0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=gj(a,1);b=(b|0)<0?b+c|0:(b|0)>(c|0)?c:b;if((b|0)<=0){Mj(a,1,129463)}return c-b|0}function Lga(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[q[a+32>>2]+8>>2];a:{if(!d){c=-13;break a}c=-13;if(rj(q[a+20>>2],q[a+24>>2],q[63598],b+12|0)){break a}a=Rq(q[a+4>>2],q[b+12>>2]);c=-13;b:{if(!a){break b}c=ji[q[74925]](d,a)|0?0:-13}Ui(q[b+12>>2])}fi=b+16|0;return c|0}function WK(a,b){var c=0,d=0,e=0,f=0;c=q[72892];a:{if(!c){break a}c=q[q[72891]+(lwa(a,b,c)<<2)>>2];if((c|0)==-1){break a}e=q[72893];while(1){d=(c<<4)+e|0;if((a|0)!=q[d>>2]|q[d+4>>2]!=(b|0)){c=q[d+12>>2];if((c|0)!=-1){continue}break a}break}f=q[((c<<4)+e|0)+8>>2]}return f}function Roa(){var a=0;q[72198]=q[239987];q[239987]=288760;q[72176]=q[239978];q[239978]=288668;KM();q[72186]=q[239978];q[239978]=288708;IM();a=q[74873];q[74981]=587;q[74979]=a;o[299928]=1;q[74980]=588;q[74873]=299916;CM();DM();yM();zM();FM();EM();BM();AM();LM();NM();MM()}function PV(a,b,c,d,e,f,g,h,i,j){var k=0;k=fi-16|0;fi=k;a=GL(a,1,b,c,d,e,f,g,h,k,j);a:{if(a){break a}a=0;if(!j){break a}c=0;d=0;while(1){c=r[a+k|0]^r[a+i|0]|c;d=d+1|0;a=d&255;if(j>>>0>a>>>0){continue}break}if(!c){a=0;break a}ji[q[66742]](h,0,b)|0;a=-15}fi=k+16|0;return a}function D$(a){var b=0,c=0,d=0,e=0,f=0;a:{b=q[239978];if(!b){break a}while(1){b:{if(q[b+4>>2]!=(a|0)){b=q[b+36>>2];if(b){continue}if(c){break b}break a}d=q[b+8>>2];f=!c|(d|0)>(e|0);c=f?b:c;e=f?d:e;b=q[b+36>>2];if(b){continue}}break}return c}J(200582,200592,74,200617);G()}function $E(a){var b=0,c=0;b=q[239986];c=q[b+16>>2];a:{if(c){tj(c);b=q[239986];b=q[b+16>>2];if(b){tj(b);o[a+60|0]=r[a+60|0]&251;xq(q[a>>2]);lj(b);lj(c);return 0}o[a+60|0]=r[a+60|0]&251;xq(q[a>>2]);if(!c){break a}lj(c);return 0}o[a+60|0]=r[a+60|0]&251;xq(q[a>>2])}return 0}function z1(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-48|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;c=yi(a,1,q[79174],0);e=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=e;cj(b+16|0,17,113348,b);wi(a,b+16|0);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(113092,113117,114,113356);G()}fi=b+48|0;return 1}function yla(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;a:{if(!a){break a}a=q[a>>2];if(!a){break a}d=q[a>>2]}e=q[b>>2];a=q[e+4>>2];b:{if(a){break b}d=Ij(d,q[q[e>>2]>>2],e+4|0);a=q[b>>2];if(!d){a=q[a+4>>2];break b}q[c>>2]=q[q[a>>2]>>2];mi(4,37929,38182,c);a=0}fi=c+16|0;return a}function wua(a,b){var c=0,d=0,e=0;a:{b:{while(1){if(r[c+209248|0]!=(a|0)){d=87;c=c+1|0;if((c|0)!=87){continue}break b}break}d=c;if(c){break b}a=209344;break a}c=209344;while(1){e=r[c|0];a=c+1|0;c=a;if(e){continue}c=a;d=d-1|0;if(d){continue}break}}return mM(a,q[b+20>>2])}function pP(a,b,c){var d=0;a:{b:{c:{if(!c){break c}d=c;c=r[b|0];if((d|0)!=(c+1|0)){break c}if(!c){break a}break b}Aj(a,2,50);return-31104}while(1){d=r[b+1|0];if(d>>>0>1){b=b+1|0;c=c-1|0;if(c){continue}break a}break}q[q[a+68>>2]+352>>2]=d;return 0}Aj(a,2,40);return-31104}function oqa(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=gj(a,1);if(!((b|0)==1&r[906204]!=0)){ni(a,194044,0)}d=gj(a,2);a:{if(d>>>0>=32){q[c>>2]=32;a=ni(a,193990,c);break a}b=hqa(b,d);b:{if(!b){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;break b}wi(a,b)}a=1}fi=c+16|0;return a|0}function i_(a,b,c,d){var e=0,f=0;e=fi-80|0;fi=e;a:{if(d>>>0>=65){f=yr(c,d,e,0);if(f){break a}d=64;c=e}o[e+79|0]=d;o[e+78|0]=b;if(!q[a>>2]){f=vp(a+8|0,0);if(f){break a}}q[a>>2]=1;a=a+8|0;f=up(a,e+78|0,2);if(f){break a}f=up(a,c,d)}ji[q[66742]](e,0,64)|0;fi=e+80|0;return f}function iS(a){var b=0;a:{if(!a){break a}b:{switch(q[a+4>>2]-5|0){case 4:if(ej(142140,q[a+8>>2],9)){break a}b=267632;break a;case 2:if(ej(142168,q[a+8>>2],7)){break a}return 267652;case 0:break b;default:break a}}if(ej(142206,q[a+8>>2],5)){break a}return 267672}return b}function gB(a){var b=0,c=0;a:{if(t[a+20>>2]<=t[a+28>>2]){break a}ji[q[a+36>>2]](a,0,0)|0;if(q[a+20>>2]){break a}return-1}b=q[a+4>>2];c=q[a+8>>2];if(b>>>0>>0){b=b-c|0;ji[q[a+40>>2]](a,b,b>>31,1)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return 0}function QA(a,b,c){var d=0,e=0;a:{b:{d=b+5|0;if(d>>>0<65){e=b>>>3|0;if((e|0)!=(d-1>>>3|0)){break b}if(c>>>0>=32){break a}a=a-e|0;d=a;e=r[a+7|0];a=b&7;o[d+7|0]=e&(31<>>0>=4){J(95786,95479,764,95804);G()}e=a+c|0;f=e;g=r[e|0];e=b<<1;o[f|0]=g&(3<>>3|0)|0;b=a;c=c&7;e=owa(-2,c);g=b+7|0;f=e&r[b+7|0];b=r[d+95782|0];o[g|0]=f|(b&1)<>>1<>2]+8>>2];c=q[b+48>>2];if(c){Di(q[a>>2],c)}a=q[b+64>>2];if(a){Ui(a)}a:{if(o[b+44|0]&1){break a}a=q[b+24>>2];if(a){ki(a)}a=q[b+16>>2];if(!a){break a}ki(a)}b:{if(o[b+12|0]&1){break b}a=q[b>>2];if(!a){break b}ki(a)}ki(b);return 0}function wx(a){var b=0;b=a;a=dj(a,0,0,76);tq(b,a,9);q[a- -64>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+72>>2]=0;return a}function ct(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+ -2.5050760253406863e-8)+(d*(d*27557313707070068e-22+ -.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+ -.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function Ola(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+1040>>2];f=q[c+28>>2];b=q[a+1052>>2];d=q[a+1048>>2];e=d+1|0;c=a;q[a+1048>>2]=e;q[a+1052>>2]=e>>>0<1?b+1|0:b;if(!(b|d)){q[a+8>>2]=6;a:{if(o[f+137|0]&1){break a}}o[c+16|0]=0;q[a>>2]=li(37335);q[a+4>>2]=ii}return!(b|d)|0}function Oga(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[q[a+32>>2]+8>>2];q[b+12>>2]=d;c=-13;a:{if(rj(q[a+20>>2],q[a+24>>2],q[64132],b+8|0)){break a}c=JJ(q[a>>2],q[a+4>>2],q[b+8>>2],d,b+12|0);if(c){break a}c=lG(q[b+12>>2]);q[q[a+32>>2]+16>>2]=c;c=0}fi=b+16|0;return c|0}function wsa(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=0-(a>>>0<1)|0;b=e;b=b|b>>>16;f=b|b>>>8;c=f;c=c|c>>>4;d=c|c>>>2;g=d|d>>>1;a=a-1|e;a=(e&65535)<<16|a>>>16|a;a=(b&255)<<24|a>>>8|a;a=(f&15)<<28|a>>>4|a;a=(c&3)<<30|a>>>2|a;a=((d&1)<<31|a>>>1|a)+1|0;ii=a>>>0<1?g+1|0:g;return a}function dA(a,b,c){var d=0,e=0,f=0;a:{a=q[q[a+156>>2]+4>>2];d=q[a+8>>2];if(d){f=q[a+4>>2];a=0;while(1){if((a|0)==(d|0)){break a}e=(a<<5)+f|0;if((b|0)==q[e+16>>2]&q[e+20>>2]==(c|0)){return a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}return-1}J(53935,53947,189,53980);G()}function OP(a){var b=0,c=0;c=q[a+68>>2];if(!(q[c+480>>2]?r[q[a>>2]+184|0]&2:0)){b=T(0)|0;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);o[c+1128|0]=b;o[c+1129|0]=b>>>8;o[c+1130|0]=b>>>16;o[c+1131|0]=b>>>24;a=q[a>>2];return ji[q[a+24>>2]](q[a+28>>2],c+1132|0,28)|0}return 0}function ND(a,b,c){var d=0,e=0,f=0,g=0;a:{d=Lj(a,b,c,3);if(d){break a}d=q[c>>2];if(!d){d=-96;break a}e=d-1|0;q[c>>2]=e;f=q[a>>2];g=r[f|0];o[c+4|0]=g;d=-100;if(g>>>0>7){break a}d=f+1|0;q[a>>2]=d;q[c+8>>2]=d;c=a;a=q[a>>2]+e|0;q[c>>2]=a;return(a|0)==(b|0)?0:-102}return d}function Iaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;e=q[Zi(a,1,b+12|0)+412>>2]>>>22|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=e&1;q[a+8>>2]=q[a+8>>2]+16;if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,4067,193138);G()}fi=b+16|0;return 1}function qha(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;a:{if(rj(q[a+20>>2],q[a+24>>2],242680,c+12|0)){break a}a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}q[a>>2]=0;b=q[a+4>>2];if(b){Ts(b)}q[a>>2]=q[c+12>>2];b=-1;if(!GJ(a)){break a}GA(q[a+4>>2]);b=0}fi=c+16|0;return b|0}function Rw(a){var b=0,c=0;iC(q[q[a+68>>2]+496>>2]);b=q[a+68>>2];q[b+496>>2]=0;q[b+500>>2]=0;o[b+528|0]=0;q[b+508>>2]=q[b+476>>2];nC(a);b=q[a+92>>2];if(b){ji[b|0](q[a+88>>2],0,0)}c=q[a+68>>2];a:{if(q[a+128>>2]==22){b=3;if(r[q[a+120>>2]]==20){break a}}b=0}o[c+492|0]=b}function Jx(a,b){var c=0,d=0,e=0;xwa(+a);c=uwa(1)|0;d=uwa(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=Jx(a*0x10000000000000000,b);b=q[b>>2]+ -64|0}q[c>>2]=b;return a}q[b>>2]=c-1022;vwa(0,d|0);vwa(1,e&-2146435073|1071644672);a=+wwa()}return a}function Jl(a,b){var c=0;a:{b:{if((b|0)>=2){c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}px(a,b,(q[a+8>>2]-q[a+12>>2]>>4)-1|0);c=a+8|0;a=q[a+8>>2]+(1-b<<4)|0;break b}if(b){break a}b=q[a+8>>2];c=Bj(a,126008,0);q[b+8>>2]=4;q[b>>2]=c;c=a+8|0;a=q[a+8>>2]+16|0}q[c>>2]=a}}function uo(a,b,c,d){var e=0,f=0,g=0;e=fi-32|0;fi=e;a:{if(q[a+16>>2]==(b|0)){yj(a);break a}g=q[a+4>>2];f=q[a+52>>2];b=Xk(a,b);if((d|0)==(g|0)){q[e>>2]=b;xj(a,Oi(f,127343,e));break a}c=Xk(a,c);q[e+24>>2]=d;q[e+20>>2]=c;q[e+16>>2]=b;xj(a,Oi(f,127766,e+16|0))}fi=e+32|0}function rfa(a){a=a|0;var b=0,c=0;a:{b=q[a+4>>2];c=q[b>>2];a=q[a>>2];b=q[b+4>>2];if(q[a+96>>2]!=(c|0)|q[a+100>>2]!=(b|0)?(c|0)!=q[a+88>>2]|(b|0)!=q[a+92>>2]:0){break a}if(ji[q[74931]](q[q[a>>2]+2208>>2],q[a+4>>2],q[a+8>>2],q[a+12>>2])|0){break a}mi(3,57096,57673,0)}}function kj(a,b,c){var d=0,e=0,f=0;a:{b:{if(!c){d=b;break b}e=c-1|0;if(!e){d=b;break b}d=b;while(1){f=r[d|0];o[a|0]=f;d=d+1|0;if(!f){e=d;break a}a=a+1|0;e=e-1|0;if(e){continue}break}}if(c){o[a|0]=0}while(1){a=r[d|0];e=d+1|0;d=e;if(a){continue}break}}return(b^-1)+e|0}function j1(a){a=a|0;var b=0,c=0,d=0;b=fi-1040|0;fi=b;d=Ni(a,1,0);c=UE(d,b+16|0);a:{if(c){q[b+4>>2]=c;q[b>>2]=d;a=ni(a,116763,b);break a}d=Ni(a,2,0);c=ko(116820);if(c){kj(b+16|0,c,1024)}wk(b+16|0,116833,1024);wk(b+16|0,d,1024);wi(a,b+16|0);a=1}fi=b+1040|0;return a|0}function du(a,b){var c=0,d=0;d=Hh()|0;a:{b:{if(r[d|0]){c=-21;if(kj(b,d,1024)>>>0>=1024){break a}if(wk(b,183910,1024)>>>0<1024){break b}break a}o[b|0]=0}c=-21;if(wk(b,183912,1024)>>>0>=1024){break a}if(wk(b,a,1024)>>>0>=1024){break a}a=Vx(b);c=(a|0)==-16?0:a}return c}function a3(a){var b=0;if(!(o[a+46|0]&1)){a:{if(o[a+40|0]&1){break a}b=q[a+32>>2];if(!b){break a}ki(b)}b:{if(o[a+28|0]&1){break b}b=q[a+16>>2];if(!b){break b}ki(b)}c:{if(o[a+12|0]&1){break c}b=q[a>>2];if(!b){break c}ki(b)}ki(a);return}J(119491,119520,188,119544);G()}function _1(a,b,c){var d=0,e=0;d=q[a+44>>2];a:{if(!d){break a}d=q[q[a+40>>2]+(lwa(b,c,d)<<2)>>2];if((d|0)==-1){break a}a=q[a+48>>2];while(1){d=d<<4;e=d+a|0;if(q[e>>2]==(b|0)&(c|0)==q[e+4>>2]){break a}d=q[(a+d|0)+12>>2];if((d|0)!=-1){continue}break}e=0}return(e|0)!=0}function V4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=yi(a,1,q[79069],107729);if(b){Xi(a,-1e4,q[b+324>>2]);Hi(a,2);Hi(a,3);Wi(a,-3);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(108105,104245,299,108134);G()}J(104348,104245,307,108134);G()}function KK(a,b){var c=0,d=0;c=fi-16|0;fi=c;d=2;a:{b:{switch(b|0){case 0:d=Tpa(a,c+8|0)?0:2;break a;case 5:d=Wpa(a,c+8|0)?0:2;break a;case 1:d=Vpa(a,c+8|0)?0:2;break a;case 2:break b;default:break a}}if(!Qp(a,c+8|0)){break a}d=Spa(a,q[c+8>>2])?0:2}fi=c+16|0;return d}function VJ(a,b,c){var d=0;d=fi-16|0;fi=d;a:{b:{c:{if(Gy(a,q[b>>2],d+12|0,d+8|0)){c=54837;a=-3;break c}o[c+20|0]=r[b+4|0];a=rj(q[d+12>>2],q[d+8>>2],q[59568],c);ki(q[d+12>>2]);if(!a){break b}c=54878;a=-2}q[d>>2]=q[b>>2];mi(4,54829,c,d);break a}a=0}fi=d+16|0;return a}function Fk(a,b){var c=0,d=0;a:{if(!(r[852368]|(a|0)==-1)){while(1){c=q[213093];q[213093]=c?c:1;if(c){continue}break}d=q[70349];c=q[d+16>>2];if(q[d+20>>2]-c>>3>>>0<=a>>>0){break a}a=c+(a<<3)|0;q[a+4>>2]=q[a+4>>2]+b;q[213093]=0}return}J(158341,158259,447,158352);G()}function yma(a){a=a|0;var b=0;a:{if((ri(a,1)|0)!=7){break a}a=fk(a,1,q[74122]);b:{if(q[a+4>>2]==2){b=q[a>>2]+4|0;break b}b=a}if(!xm(q[b>>2])){break a}c:{switch(q[a+4>>2]-1|0){case 0:Ts(q[a>>2]);return 0;case 1:break c;default:break a}}Di(q[74121],q[a>>2])}return 0}function mL(a){var b=0,c=0,d=0,e=0;d=q[a+16>>2];b=q[a+12>>2];if((d|0)<=(b|0)){return 0}c=b+1|0;q[a+12>>2]=c;b=o[b+q[a+8>>2]|0];if((b|0)==13){while(1){if((c|0)>=(d|0)){return 0}b=c+1|0;q[a+12>>2]=b;e=q[a+8>>2]+c|0;c=b;b=o[e|0];if((b|0)==13){continue}break}}return b}function l$(a){a:{b:{if(kj(854456,q[a+4>>2],16)>>>0<16){if(kj(854472,q[a+8>>2],41)>>>0>=41){break b}if(kj(854440,q[a>>2],16)>>>0>=16){break a}o[854513]=r[a+12|0];return}J(168723,168763,169,168790);G()}J(168804,168763,171,168790);G()}J(168848,168763,173,168790);G()}function dD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=fi-96|0;fi=d;lq(d+8|0);q[d+16>>2]=1732584193;q[d+20>>2]=-271733879;q[d+8>>2]=0;q[d+12>>2]=0;q[d+24>>2]=-1732584194;q[d+28>>2]=271733878;kq(d+8|0,a,b);Ir(d+8|0,c);a=d+8|0;if(a){ji[q[66742]](a,0,88)|0}fi=d+96|0;return 0}function aqa(a,b,c){if(Ww(a,b,c,0)){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0}}function Zma(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(q[a+8>>2]-q[a+12>>2]>>4==1){if((ri(a,1)|0)==5){break b}}mi(3,14873,17371,0);break a}b=uK(a,0);if(b){break a}b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(16481,15813,2008,17423);G()}return b|0}function TZ(a){a=a|0;var b=0,c=0,d=0;b=1;vj(a,1,5);d=wl(a,1);vj(a,2,6);if((d|0)>=1){while(1){Hi(a,2);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Xi(a,1,b);zk(a,2,1);if(ri(a,-1)){return 1}oi(a,-2);c=(b|0)!=(d|0);b=b+1|0;if(c){continue}break}}return 0}function Ksa(a,b,c){var d=0,e=0;d=fi-224|0;fi=d;e=a;a=d+72|0;e=wn(e,a,0,1);a:{if(!e){break a}if(q[a+104>>2]==8){a=r[(a+c|0)+112|0];o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+1|0]=a;o[b|0]=a;o[b+6|0]=0;o[b+7|0]=0;break a}vo(a,d);Hv(b,c+d|0)}fi=d+224|0;return e}function KC(a,b){var c=0,d=0;a:{if(!b){break a}b=b-1|0;if((b|0)<0){break a}b=(b<<2)+a|0;while(1){c=q[a>>2];d=q[b>>2];q[a>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);q[b>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);a=a+4|0;b=b-4|0;if(a>>>0<=b>>>0){continue}break}}}function Ik(a,b,c){var d=0;a:{b:{c:{d:{d=q[b+8>>2];switch(d-5|0){case 2:break c;case 0:break d;default:break b}}b=q[b>>2]+8|0;break a}b=q[b>>2]+8|0;break a}b=(q[a+16>>2]+(d<<2)|0)+152|0}b=q[b>>2];if(b){a=cE(b,q[(q[a+16>>2]+(c<<2)|0)+188>>2])}else{a=126472}return a}function GF(a,b){var c=0;c=fi-528|0;fi=c;a=AT(a,b+1|0);a:{if(a){qi(c+16|0,0,512);o[c+16|0]=0;q[c>>2]=(a|0)<0?167083:167085;b=a;a=a>>31;q[c+4>>2]=b+a^a;q[c+8>>2]=c+16;mi(4,166926,167035,c);a=-2e3;break a}o[854436]=1;q[213522]=q[213522]&-13|8;a=0}fi=c+528|0;return a}function FZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=-24832;if(!(!a|!c)){q[c>>2]=0;if(!b){return-25088}f=128;d=0;while(1){e=d;b=b-1|0;g=b+a|0;d=e|r[g|0]!=0;e=(d|0)==(e|0);h=(e?0:b)|h;q[c>>2]=h;f=(e?0:r[g|0])^f;if(b){continue}break}d=f?-25088:0}return d|0}function $pa(a,b,c){if(yr(a,b,c,0)){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0}}function $U(a,b,c,d,e,f,g,h,i,j){var k=0,l=0;k=fi-16|0;fi=k;a=gD(a,0,b,c,d,e,f,i,j,h,k);a:{if(a){break a}if(!h){a=0;break a}a=0;while(1){l=r[a+k|0]^r[a+g|0]|l;a=a+1|0;if((h|0)!=(a|0)){continue}break}a=0;if(!l){break a}ji[q[66742]](j,0,b)|0;a=-18}fi=k+16|0;return a}function jU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=fi-96|0;fi=d;yp(d);q[d+8>>2]=1732584193;q[d+12>>2]=-271733879;q[d>>2]=0;q[d+4>>2]=0;q[d+24>>2]=-1009589776;q[d+16>>2]=-1732584194;q[d+20>>2]=271733878;xp(d,a,b);hq(d,c);if(d){ji[q[66742]](d,0,92)|0}fi=d+96|0;return 0}function jC(a){var b=0,c=0,d=0;c=q[a+124>>2];d=q[a+168>>2];a:{if(d){b=-27648;if(c){break a}b=q[a+132>>2];b:{if(b>>>0>d>>>0){b=b-d|0;q[a+132>>2]=b;c=q[a+120>>2];Kk(c,c+d|0,b);break b}q[a+132>>2]=0}q[a+168>>2]=0;return 0}b=0;if(c){break a}q[a+132>>2]=0;b=0}return b}function hQ(a,b){var c=0,d=0,e=0;c=fi+ -64|0;fi=c;d=q[a>>2];q[c+48>>2]=0;d=Fl(d,3,c+48|0);e=q[a>>2];q[c+32>>2]=d&-2049;Fl(e,4,c+32|0);d=0;if(yY(q[a>>2],b)){d=q[240833]}b=q[a>>2];q[c+16>>2]=0;b=Fl(b,3,c+16|0);a=q[a>>2];q[c>>2]=b|2048;Fl(a,4,c);fi=c- -64|0;return d}function b5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;c=Vi(a,1);if(c){d=li(Ni(a,2,0));e=ii;f=e;q[b+8>>2]=0;a:{if(p5(q[c>>2],d,e,b+12|0,b+8|0)){mo(a,q[b+12>>2]);a=1;break a}q[b>>2]=Ei(d,f);a=ni(a,108224,b)}fi=b+16|0;return a|0}J(108188,104245,102,108191);G()}function ZN(a){a=a|0;var b=0,c=0,d=0,e=0;vj(a,1,5);c=wl(a,1);b=cm(a,2,c);if(!((b|0)<1|(b|0)>(c|0))){e=1;Xi(a,1,b);if((b|0)<(c|0)){while(1){d=b+1|0;Xi(a,1,d);vk(a,1,b);b=d;if((c|0)!=(b|0)){continue}break}}d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;vk(a,1,c)}return e|0}function Yba(a,b,c){var d=0,e=0;if(!(o[a+288|0]&1)){a:{c=c+1|0;d=a+284|0;e=q[d>>2]-q[a+276>>2]>>3;vi(c>>>0>e>>>0?c:e,8,a+276|0,d,a+280|0);if(o[a+304|0]&1){break a}vi(w(b,c),4,a+292|0,a+300|0,a+296|0);q[a+296>>2]=q[a+292>>2];return}}J(187176,186599,461,186335);G()}function Nua(a,b,c){var d=0;d=-28;a:{if((a|0)==(b|0)){break a}if(c&524288){while(1){d=Yh(a|0,b|0,c|0)|0;if((d|0)==-10){continue}break}if((d|0)!=-52){break a}}while(1){d=Th(a|0,b|0)|0;if((d|0)==-10){continue}break}}if(d>>>0>=4294963201){q[240833]=0-d;d=-1}return d}function Ima(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Fm(a,2);a=Dq(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];u[b+12>>2]=u[a+12>>2];d=q[b>>2];e=q[b+4>>2];a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;q[c>>2]=d;q[c+4>>2]=e;fi=b+16|0;return 0}function DD(a,b){q[a+48>>2]=0;q[a+52>>2]=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+56>>2]=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);q[a+60>>2]=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);ji[q[66742]](a- -64|0,0,64)|0;q[a+128>>2]=64;return 0}function zU(a,b,c,d,e,f){var g=0,h=0;g=fi-16|0;fi=g;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a:{if(d){h=tl(g,a,1);if(h){break a}h=Lk(d,c,g);if(h){break a}}if(e){h=tl(g,b,1);if(h){break a}h=Lk(e,c,g);if(h){break a}}if(!f){h=0;break a}h=bo(f,b,a)}Ji(g);fi=g+16|0;return h}function vt(a){var b=0,c=0;if(a){b=a+80|0;if(b){c=q[b+60>>2];if(c){ji[q[q[q[b>>2]+28>>2]+32>>2]](c)}ji[q[66742]](b,0,64)|0}b=a+144|0;if(b){c=q[b+60>>2];if(c){ji[q[q[q[b>>2]+28>>2]+32>>2]](c)}ji[q[66742]](b,0,64)|0}$l(a+52|0);$l(a- -64|0);ji[q[66742]](a,0,212)|0}}function Mua(){var a=0,b=0;a=fi-16|0;fi=a;a:{if(Rh(a+12|0,a+8|0)|0){break a}b=xi((q[a+12>>2]<<2)+4|0);q[240902]=b;if(!b){break a}b=xi(q[a+8>>2]);if(!b){q[240902]=0;break a}q[q[240902]+(q[a+12>>2]<<2)>>2]=0;if(!(Sh(q[240902],b|0)|0)){break a}q[240902]=0}fi=a+16|0}function v0(a){a=a|0;var b=0,c=0,d=0;b=fk(a,1,q[210277]);c=fk(a,2,q[210277]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2])){break a}if(u[b+8>>2]!=u[c+8>>2]){break a}d=u[b+12>>2]==u[c+12>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function jH(a,b,c){var d=0;d=fi-16|0;fi=d;if(!(!q[a+4>>2]|!q[a>>2])){kl(a+8|0,b,c);a:{if(o[a+58|0]&1){break a}if((Al(b,1,c,q[a+4>>2])|0)==(c|0)){break a}q[d>>2]=q[a>>2];mi(4,150860,151523,d);o[a+58|0]=r[a+58|0]|1}fi=d+16|0;return}J(151441,151492,533,151519);G()}function eba(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=fi-32|0;fi=b;f=q[q[a+12>>2]>>2];g=Ti(b+8|0,f,0,187364,688);a:{if(!c){break a}if(!qn(d)){break a}q[b+4>>2]=e;q[b>>2]=a;js(d,1355,b)}Xi(f,-1e4,q[a+8>>2]);ho(f,-1,e);oi(f,-2);rn(d);Si(g);fi=b+32|0}function Pca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=fi-16|0;fi=a;q[a+12>>2]=0;Va(1,a+12|0);a:{if(!(r[q[74995]+104|0]&8)){break a}e=K()|0;if(!e){break a}Mi(e,80861,1324);J(79249,79164,1324,80861);G()}ji[q[74897]](q[a+12>>2],b,c,d);fi=a+16|0;return q[a+12>>2]}function Nx(a,b){var c=0,d=0,e=0;c=fi-32|0;fi=c;e=q[a+48>>2];Xm(e,b);yj(a);if(q[a+16>>2]!=285){d=q[a+52>>2];q[c>>2]=Xk(a,285);xj(a,Oi(d,127343,c))}d=q[a+24>>2];yj(a);a=Ep(q[a+48>>2],d);q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+16>>2]=a;q[c+8>>2]=4;bE(e,b,c+8|0);fi=c+32|0}function J1(a){a=a|0;var b=0,c=0,d=0;b=fk(a,1,q[210278]);c=fk(a,2,q[210278]);a:{if(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2])){break a}if(u[b+8>>2]!=u[c+8>>2]){break a}d=u[b+12>>2]==u[c+12>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function Hea(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;e=q[a+8>>2]-q[a+12>>2]>>4;d=Qk(a,1);c=ii;f=c;c=To(d,c);a:{if(c){wi(a,c);break a}q[b>>2]=d;q[b+4>>2]=f;nj(a,73099,b)}if((e+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(73055,72665,401,73112);G()}fi=b+16|0;return 1}function Epa(a,b,c,d){a:{b:{if((q[b+4>>2]&-268435456)!=805306368){if(q[b+8>>2]){break b}b=q[b+12>>2]+q[a+4>>2]|0;if(t[a+8>>2]>>0){break a}if(!r[a+12|0]){si(b,c,d)}return}J(23363,23114,228,23404);G()}J(23414,23114,229,23404);G()}J(23446,23114,231,23404);G()}function $K(a,b,c){if(dD(a,b,c)){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0}}function xx(a,b,c){var d=0,e=0,f=0;d=q[a+56>>2];if((d|0)<1){return 0}e=q[a+24>>2];a=0;while(1){f=w(a,12)+e|0;if(q[f+4>>2]<=(c|0)){a:{if(q[f+8>>2]<=(c|0)){break a}b=b-1|0;if(b){break a}return q[w(a,12)+e>>2]+16|0}a=a+1|0;if((d|0)>(a|0)){continue}}break}return 0}function pda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(a){a:{b:{switch(b-1|0){case 3:e=2;break a;default:J(82907,79164,2139,82881);G();case 0:break a;case 1:break b}}e=1}a=w(e,44)+a|0;q[c>>2]=s[a+30>>1];q[d>>2]=s[a+32>>1];return}J(82867,79164,2137,82881);G()}function ni(a,b,c){var d=0;d=fi-128|0;fi=d;q[d+20>>2]=c;a:{b:{if(!Wk(a,1,d+24|0)){break b}ln(a,128675,d+24|0);c=q[d+44>>2];if((c|0)<1){break b}q[d+4>>2]=c;q[d>>2]=d+60;nj(a,128678,d);break a}Bi(a,128686,0)}TD(a,b,q[d+20>>2]);Jl(a,2);a=fo(a);fi=d+128|0;return a}function lw(a,b,c){var d=0,e=0;e=YT(a);if((e|0)<0){return e}a:{if(c>>>0>e>>>0){d=-28928;c=e;if(r[q[a>>2]+184|0]&2){break a}}b:{if(q[a+216>>2]){d=tp(a);if(!d){break b}break a}q[a+208>>2]=23;q[a+212>>2]=c;si(q[a+204>>2],b,c);d=ut(a,1);if(d){break a}}d=c}return d}function ZF(a){q[a+16>>2]=7;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=7;q[a+4>>2]=0;o[a+33|0]=255;o[a+34|0]=255;q[a+20>>2]=0;q[a+24>>2]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+35|0]=r[a+35|0]&192|15;return a}function AJ(a,b,c,d){var e=0,f=0,g=0,h=0;f=fi-48|0;fi=f;e=0;a:{if(!b){break a}g=q[c>>2];e=b;h=q[g+164>>2];b=vG(f+8|0);hJ(e,c,g,h,d,b);p[c+20>>1]=s[b+30>>1];if(r[a+13|0]){if(q[g+160>>2]<=-1){mi(4,35903,36983,0);e=0;break a}e=0;break a}e=0}c=e;fi=f+48|0;return c}function ty(a,b,c,d){var e=0,f=0,g=0,h=0;e=fi-16|0;fi=e;h=q[a+8>>2]-q[a+12>>2]>>4;g=q[b+16>>2];if(g>>>0>d>>>0){f=q[b+4>>2];q[e+4>>2]=d;q[e>>2]=f;ni(a,112320,e)}f=c+g|0;q[e+12>>2]=f;q[e+8>>2]=(d+f|0)-g;AF(a,b,c,e+12|0,e+8|0,h,c);fi=e+16|0;return q[e+12>>2]-c|0}function sk(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;a:{b:{if(!Nj(205732,o[b|0])){q[240833]=28;break b}e=rM(b);q[c>>2]=438;a=Ha(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}if((a|0)<0){break a}d=tM(a,b);if(d){break a}ia(a|0)|0}d=0}fi=c+16|0;return d}function nU(a,b,c,d,e){var f=0,g=0,h=0;f=q[a+4>>2];h=Oj(1,f);if(!h){return-16}g=Oj(1,f);a:{if(!g){b=-16;break a}b=zC(b,c,d,f,g);if(b){break a}b=zp(a,e,h);if(b){break a}b=WC(h,g,f)?-17280:0}ji[q[66742]](h,0,f)|0;ki(h);if(g){ji[q[66742]](g,0,f)|0;ki(g)}return b}function mC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=q[a>>2];c=q[b+184>>2]&2;a:{if(!(r[b+185|0]&32)|(q[a+8>>2]==3|q[a+4>>2]!=16)){break a}b=(b+c|0)+164|0;d=8-c|0;if(f=(ej(q[a+104>>2]+c|0,b,d)|0)<=0,g=0,h=(ej((a+c|0)+220|0,b,d)|0)<1,h?f:g){break a}e=LT(a)}return e}function iU(a,b,c,d){var e=0,f=0;f=a;e=128;a:{if((c|0)!=1){break a}b=q[b+16>>2]-1|0;e=0;if(b>>>0>9){break a}e=q[(b<<2)+166868>>2]}b=e;e=0;b:{if(!QC(f,b)){break b}q[d>>2]=q[d>>2]|2048;e=-1}b=e;if(BT(a,(c|0)==1?166755:166764)){q[d>>2]=q[d>>2]|4096;b=-1}return b}function ft(a){return(((((a*3479331075960212e-20+.0007915349942898145)*a+ -.04005553450067941)*a+.20121253213486293)*a+ -.3255658186224009)*a+.16666666666666666)*a/((((a*.07703815055590194+ -.6882839716054533)*a+2.0209457602335057)*a+ -2.403394911734414)*a+1)}function dZ(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Ni(a,1,0);q[b+4>>2]=0;a:{if(dt(c,b+8|0)){c=sC(b+8|0,b+4|0);break a}c=rC(c,b+4|0)}b:{if(c){d=q[a+8>>2];q[d+8>>2]=0;q[a+8>>2]=d+16;wi(a,qC(c));break b}wi(a,q[q[b+4>>2]>>2]);qE(a,q[b+4>>2])}fi=b+16|0;return 2}function bR(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!r[a+6|0]){if(!Xt(a,b-16|0,-1)){break b}break a}o[a+6|0]=0;c=q[a+20>>2];if(r[q[q[c+4>>2]>>2]+6|0]){if(!yx(a,b)){break b}q[a+8>>2]=q[q[a+20>>2]+8>>2];break b}q[a+12>>2]=q[c>>2]}YD(a,(q[a+20>>2]-q[a+40>>2]|0)/24|0)}}function W4(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=yi(a,1,q[79069],107729);if(b){Xi(a,-1e4,q[b+324>>2]);Hi(a,2);Tj(a,-2);Ok(a,3);if((c+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){break a}return 1}J(108105,104245,281,108107);G()}J(104220,104245,289,108107);G()}function Kt(a,b){var c=0,d=0,e=0;a:{if((b|0)>8e3){break a}c=q[a+8>>2];if(((c-q[a+12>>2]>>4)+b|0)>8e3){break a}e=1;if((b|0)<1){break a}d=b<<4;if((d|0)>=(q[a+28>>2]-c|0)){pk(a,b);c=q[a+8>>2]}b=c+d|0;a=q[a+20>>2];if(b>>>0<=t[a+8>>2]){break a}q[a+8>>2]=b}return e}function FR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=1;a:{if((sl(q[b>>2],1,15,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function mB(a){var b=0,c=0,d=0;c=fi+ -64|0;fi=c;q[c+12>>2]=T(0);b=mb(c+12|0,c+16|0)|0;a:{if(!b){d=-1;break a}q[a>>2]=q[b+20>>2]+1900;q[a+4>>2]=q[b+16>>2]+1;q[a+8>>2]=q[b+12>>2];q[a+12>>2]=q[b+8>>2];q[a+16>>2]=q[b+4>>2];q[a+20>>2]=q[b>>2]}fi=c- -64|0;return d}function lM(a,b){var c=0,d=0,e=0;d=fi-16|0;fi=d;o[d+15|0]=b;c=q[a+16>>2];a:{if(!c){if(gM(a)){break a}c=q[a+16>>2]}e=c;c=q[a+20>>2];if(!(o[a+75|0]==(b&255)|e>>>0<=c>>>0)){q[a+20>>2]=c+1;o[c|0]=b;break a}if((ji[q[a+36>>2]](a,d+15|0,1)|0)!=1){break a}}fi=d+16|0}function Vea(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]>>4;a:{b:{if(gj(a,1)-1>>>0>=2){if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break b}return ni(a,74966,0)|0}if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){break a}return 0}J(74811,74832,201,74955);G()}J(74811,74832,205,74955);G()}function UR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=1;a:{if((sl(q[b>>2],1,6,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function TR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=1;a:{if((sl(q[b>>2],1,5,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function Msa(a,b){var c=0,d=0;c=fi-224|0;fi=c;d=a;a=c+72|0;d=wn(d,a,0,1);a:{if(!d){break a}if(q[a+104>>2]==8){OA(b,r[a+112|0],r[a+113|0],r[a+114|0]);break a}if(r[a+116|0]){UL(a,b);break a}vo(a,c);if(r[a+117|0]){TL(a,c,b);break a}PA(b,c,0)}fi=c+224|0;return d}function IR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=1;a:{if((sl(q[b>>2],1,9,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function GR(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=2;a:{if((sl(q[b>>2],1,2,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;d=1}fi=c+16|0;return d|0}function ER(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);d=1;a:{if((sl(q[b>>2],6,1,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);d=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16}fi=c+16|0;return d|0}function raa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-112|0;fi=b;d=Ti(b+88|0,a,1,187364,3654);c=Zi(a,1,0);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);Pq(e,c,0,b+16|0);u[b+8>>2]=u[b+72>>2];c=q[b+68>>2];q[b>>2]=q[b+64>>2];q[b+4>>2]=c;hl(a,b);Si(d);fi=b+112|0;return 1}function cka(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b=q[a+132>>2]+132|0;d=q[b+4>>2];b=q[b>>2];if((d|0)!=(b|0)){c=q[a+220>>2];if((c|0)==q[a+224>>2]){break a}c=q[c>>2];pK(q[q[c+80>>2]+8>>2],a+16|0,q[c+140>>2]&32767,b,(d-b|0)/48|0)}return}J(47308,47134,447,47319);G()}function Yo(a,b){var c=0,d=0,e=0;c=q[b+4>>2];e=q[b>>2];if((c|0)!=(e|0)){c=e;while(1){Di(a,q[(d<<2)+c>>2]);d=d+1|0;c=q[b>>2];if(d>>>0>2]-c>>2>>>0){continue}break}}q[b+4>>2]=c;if(!(o[b+12|0]&1)){vi(0,4,b,b+8|0,b+4|0);return}J(14114,14189,461,14268);G()}function Rla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){a=0;while(1){e=(a<<7)+c|0;f=q[e+36>>2];if(!(!f|!(r[e+58|0]&2))){g=hK(f)?g:-1e3;c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}return g|0}function Qla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];d=q[b+4>>2];c=q[b>>2];if((d|0)!=(c|0)){a=0;while(1){e=(a<<7)+c|0;f=q[e+36>>2];if(!(!f|!(r[e+58|0]&2))){g=aK(f)?g:-1e3;c=q[b>>2];d=q[b+4>>2]}a=a+1|0;if(a>>>0>7>>>0){continue}break}}return g|0}function Oia(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;c=Pj(a,1);c=gA(a,q[74461],c,ii,71381);ss(q[74461],c);q[b+12>>2]=2;q[b+8>>2]=c;ey(a,b+8|0);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(71145,70769,685,71389);G()}fi=b+16|0;return 1}function zE(a,b){var c=0;c=fi-112|0;fi=c;a:{if((ri(a,1)|0)==6){Hi(a,1);break a}b:{if(b){b=cm(a,1,1);break b}b=gj(a,1)}if((b|0)<=-1){Mj(a,1,129244)}if(!Wk(a,b,c+8|0)){Mj(a,1,129271)}ln(a,129285,c+8|0);if(ri(a,-1)){break a}q[c>>2]=b;ni(a,129287,c)}fi=c+112|0}function uP(a){var b=0,c=0;b=Dn(a);a:{if(b){break a}b=-30464;if(q[a+128>>2]!=22){break a}c=q[a>>2];if(!(r[q[a+120>>2]]==14?q[a+168>>2]==((r[c+184|0]&2?12:4)|0):0)){Aj(a,2,50);return-31616}q[a+4>>2]=q[a+4>>2]+1;b=0;if(!(r[c+184|0]&2)){break a}Rw(a)}return b}function f9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=q[a+8>>2]-q[a+12>>2]|0;Zi(a,1,b+12|0);d=Ai(a,2);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);fI(e,q[b+12>>2],x(d));if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(187343,187364,2815,192690);G()}fi=b+16|0;return 0}function a5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=Vi(a,1);if(b){d=li(Ni(a,2,0));e=ii;f=tm(a,3);ru(q[b>>2],d,e,f,1);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(108188,104245,124,108245);G()}J(104348,104245,130,108245);G()}function QR(a,b){a=a|0;b=b|0;var c=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);a:{if((sl(q[b>>2],41,19,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function OR(a,b){a=a|0;b=b|0;var c=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);a:{if((sl(q[b>>2],41,26,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function Gaa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=q[a+8>>2]-q[a+12>>2]|0;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);Yj(a,Bba(d,q[b+12>>2]),ii);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,1999,191834);G()}fi=b+16|0;return 1}function By(a){var b=0,c=0;b=q[a>>2];c=q[b+8>>2];if(c){b=q[c+1028>>2];if(b){ki(b)}b=q[c+1024>>2];if(b){ki(b)}b=q[c+1032>>2];if(b){Qj(b)}ki(c);b=q[a>>2]}a:{b:{if(o[b+40|0]&1){break b}c=q[b+4>>2];if(!c){break b}ki(c);b=q[a>>2];if(!b){break a}}ki(b)}q[a>>2]=0}function BD(a,b,c,d,e,f,g){var h=0;h=fi-16|0;fi=h;b=DV(a,b,c);a:{if(b){break a}if(q[a>>2]){q[a+36>>2]=0;b=0}else{b=-24832}if(b){break a}b=Km(a,d,e,f,g);if(b){break a}b=FV(a,q[g>>2]+f|0,h+12|0);if(b){break a}q[g>>2]=q[g>>2]+q[h+12>>2];b=0}fi=h+16|0;return b}function A9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=q[a+8>>2]-q[a+12>>2]|0;Zi(a,1,b+12|0);d=Ai(a,2);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);gI(e,q[b+12>>2],x(d));if(c>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(187343,187364,2766,192662);G()}fi=b+16|0;return 0}function a1(a){a=a|0;var b=0,c=0;b=1;c=q[a+8>>2]-q[a+12>>2]>>4;vj(a,1,6);zi(a,-10002,117358);a:{if((ri(a,-1)|0)!=5){oi(a,-2);break a}Hi(a,1);pi(a,-2,117364);oi(a,-2);b=0;if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(117380,116900,899,117401);G()}return b|0}function Vga(a){a=a|0;var b=0,c=0,d=0;c=q[a+20>>2];b=Ci(8);q[b>>2]=0;q[b+4>>2]=0;d=q[a>>2];q[b>>2]=c;a:{if(!r[c+4|0]){c=Ij(d,q[c>>2],b+4|0);if(c){break a}}q[q[a+24>>2]+8>>2]=b;return 0}d=q[b+4>>2];if(d){Di(q[a>>2],d)}a=q[b>>2];if(a){Ui(a)}ki(b);return c|0}function Qsa(a,b){var c=0,d=0;c=$i(b,0);d=$i(b,1);a:{b=r[$i(b,2)+97552|0];if(b>>>0<32){b=b|(r[c+97552|0]<<10|32768|r[d+97552|0]<<5);if(b>>>0>=65536){break a}q[a+4>>2]=q[a+4>>2]&65535|b<<16;return}J(97472,85651,3174,97522);G()}J(97505,85651,3184,97522);G()}function PN(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<3)+a|0;if(y(c)<0x8000000000000000){q[a>>2]=~~c>>>0;q[a+4>>2]=y(c)>=1?c>0?~~A(C(c*2.3283064365386963e-10),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))*2.3283064365386963e-10)>>>0:0;return}q[a>>2]=0;q[a+4>>2]=-2147483648}function Maa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=q[a+8>>2]-q[a+12>>2]|0;Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);Yj(a,DI(d,q[b+12>>2]),ii);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,1894,191717);G()}fi=b+16|0;return 1}function KR(a,b){a=a|0;b=b|0;var c=0;c=fi-16|0;fi=c;q[c+12>>2]=xo(a);a:{if((sl(q[b>>2],0,34,c+12|0,4)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;wi(a,124297);a=2;break a}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;a=1}fi=c+16|0;return a|0}function Hia(a,b,c,d,e){var f=0;if(o[a+137|0]&1){mi(4,35903,37235,0);return 1}f=3;a=q[b+12>>2];a:{if(!a){break a}while(1){if(q[a>>2]!=(c|0)|q[a+4>>2]!=(d|0)){a=q[a+16>>2];if(a){continue}break a}break}if(!q[a+12>>2]){return 4}q[e>>2]=q[a+8>>2];f=0}return f}function Dua(a,b,c){var d=0,e=0;d=fi-160|0;fi=d;si(d+8|0,205576,144);q[d+52>>2]=a;q[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;q[d+56>>2]=e;a=a+e|0;q[d+36>>2]=a;q[d+24>>2]=a;iM(d+8|0,b,c);if(e){a=q[d+28>>2];o[a-((a|0)==q[d+24>>2])|0]=0}fi=d+160|0}function sN(a,b,c){var d=0,e=0;d=fi-160|0;fi=d;si(d+8|0,205576,144);q[d+52>>2]=a;q[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;q[d+56>>2]=e;a=a+e|0;q[d+36>>2]=a;q[d+24>>2]=a;BB(d+8|0,b,c);if(e){a=q[d+28>>2];o[a-((a|0)==q[d+24>>2])|0]=0}fi=d+160|0}function fha(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-176|0;fi=b;d=q[q[a+32>>2]+8>>2];qi(b+8|0,0,168);c=q[a+4>>2];a:{if(TJ(c,q[a>>2],q[a+20>>2],q[a+24>>2],b+8|0,q[a+16>>2])){_u(c,q[a>>2],d);si(d,b+8|0,168);break a}_u(c,q[a>>2],b+8|0);e=-13}fi=b+176|0;return e|0}function NP(a){var b=0,c=0,d=0;a:{b=q[q[a+64>>2]+96>>2];if(!b){b=-27648;break a}c=b+204|0;b:{if(!c){break b}c=q[c>>2];if(!c){break b}d=ji[q[c+12>>2]](2)|0}if(!d){return-27904}b=oV(q[a+68>>2]+132|0,q[b+208>>2]);if(b){break a}return lC(a)?-31232:0}return b}function Ija(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){a=b+w(a,240)|0;p[a+234>>1]=s[a+234>>1]|128;return 0}}J(52519,51871,447,51574);G()}function Apa(a,b){var c=0,d=0,e=0;c=fi-16|0;fi=c;xwa(+b);d=uwa(1)|0;e=uwa(0)|0;o[c+8|0]=e;o[c+9|0]=e>>>8;o[c+10|0]=e>>>16;o[c+11|0]=e>>>24;o[c+12|0]=d;o[c+13|0]=d>>>8;o[c+14|0]=d>>>16;o[c+15|0]=d>>>24;a=ji[q[a>>2]](q[a+4>>2],c+8|0,8)|0;fi=c+16|0;return a}function Ai(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-16|0;fi=c;e=wj(a,b);a:{if(e!=0){break a}if(Gj(a,b)){break a}g=q[65291];h=c;f=ri(a,b);d=125997;b:{if((f|0)==-1){break b}d=q[(f<<2)+261152>>2]}q[h+4>>2]=d;q[c>>2]=g;Mj(a,b,nj(a,128655,c))}fi=c+16|0;return e}function z7(a){var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=r[a+2196|0];d=q[a>>2];e=s[a+2198>>1];q[b+12>>2]=152569;q[b+8>>2]=e;q[b+4>>2]=d;q[b>>2]=c?153067:153073;cj(a+4|0,2124,153053,b);q[a+2168>>2]=Uj();q[a+2172>>2]=ii;a=dH(a,152569,153133);fi=b+16|0;return a}function vn(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;c=b<<3|c;a:{if(c>>>0<128){b=c;break a}while(1){o[(d+11|0)+e|0]=c|128;e=e+1|0;f=c>>>0>16383;b=c>>>7|0;c=b;if(f){continue}break}}o[(d+11|0)+e|0]=b;a=ji[q[a>>2]](q[a+4>>2],d+11|0,e+1|0)|0;fi=d+16|0;return a}function kqa(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=gj(a,1);d=Ni(a,2,0);a:{if(c>>>0>=32){q[b>>2]=32;a=ni(a,193990,b);break a}if(Fi(d)>>>0>=256){q[b+16>>2]=255;mi(3,194213,194219,b+16|0)}if(c>>>0<=31){kj((c<<8)+856276|0,d,256)}a=0}fi=b+32|0;return a|0}function bj(a,b){var c=0,d=0,e=0;c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}c=a;e=b;b=q[a+20>>2];d=a+72|0;a:{if((b|0)==q[a+40>>2]){break a}d=q[q[b+4>>2]>>2]+12|0}b=fX(c,e,q[d>>2]);c=q[a+8>>2];q[c+8>>2]=7;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return b+32|0}function _na(a){var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=q[72432];if(b){while(1){e=(q[a+8>>2]+w(s[b+16>>1],104)|0)+8|0;d=q[b+8>>2];a:{if(!d){break a}if(!(ji[d|0](a,e)|0)){break a}q[c>>2]=q[b+12>>2];mi(4,5659,5786,c)}b=q[b>>2];if(b){continue}break}}fi=c+16|0}function _n(a,b){var c=0,d=0,e=0;a:{if(b>>>0>3){break a}c=w(b,12);b=c+a|0;if(!(o[b+532|0]&1)){break a}d=a;e=q[a+524>>2];a=c+(a+524|0)|0;c=q[a+16>>2];q[d+524>>2]=e-c;ji[q[66742]](q[a+12>>2],0,c)|0;ki(q[a+12>>2]);q[b+540>>2]=0;q[b+532>>2]=0;q[b+536>>2]=0}}function OG(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=fi;h=g;f=-3;if(!(!a|!d)){i=g;f=q[q[a+8>>2]+8>>2];g=q[(f<<2)+24480>>2]>>>3|0;a=i-(g+15&-16)|0;fi=a;cz(f,d,e,a);d=g<<1;e=a-(d+16&-16)|0;fi=e;qu(a,q[(f<<2)+24480>>2]>>>3|0,e,d|1);f=Y3(e,d,b,c)?-3:0}fi=h;return f}function zra(a){var b=0,c=0;xwa(+a);b=uwa(1)|0;vwa(0,uwa(0)|0);b=b&2147483647;vwa(1,b|0);a=+wwa();a:{if(b>>>0<=1072049729){c=1;if(b>>>0<1045430272){break a}a=bs(a);c=a+1;return a*a/(c+c)+1}if(b>>>0<=1082535489){a=bu(a);return(a+1/a)*.5}c=uM(a)}return c}function rja(a){a=a|0;var b=0;a=q[a+4>>2];b=q[a+36>>2];if(b){ji[q[74913]](b);ji[q[74896]](q[a+40>>2]);ki(q[a+44>>2])}a:{if(o[a+32|0]&1){break a}b=q[a+20>>2];if(!b){break a}ki(b)}b:{if(o[a+16|0]&1){break b}b=q[a+4>>2];if(!b){break b}ki(b)}ki(a);return 0}function il(a,b){var c=0,d=0,e=x(0),f=x(0),g=x(0);c=fi-32|0;fi=c;d=yi(a,b,q[210276],0);f=u[d>>2];g=u[d+4>>2];a:{if(!(f!=f|g!=g)){e=u[d+8>>2];if(e==e){break a}}e=u[d+8>>2];v[c+16>>3]=g;v[c+24>>3]=e;v[c+8>>3]=f;q[c>>2]=b;ni(a,120787,c)}fi=c+32|0;return d}function bQ(a,b){var c=0,d=0;a:{d=b>>>3|0;if(d){while(1){if(r[a+c|0]!=255){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}b=b&7;if(!b){return 0}a=r[a+d|0];c=0;while(1){if(!(a>>>7-c&1)){break a}c=c+1|0;if((b|0)!=(c|0)){continue}break}return 0}return-1}function _3(a,b){var c=0,d=0,e=0,f=0;d=fi-16|0;fi=d;q[d+4>>2]=a;q[d>>2]=24354;cj(b,1024,24348,d);c=b;e=c;while(1){a=r[e|0];a:{b:{if((a|0)!=47){if(a){break b}o[c|0]=0;fi=d+16|0;return c-b|0}if((f&255)==47){break a}}o[c|0]=a;c=c+1|0}e=e+1|0;f=a;continue}}function ria(a){a=a|0;var b=0,c=0,d=0;c=q[a>>2];b=q[c+32>>2];if((b|0)!=q[c+36>>2]){d=q[q[a+4>>2]+8>>2];a=0;while(1){b=q[(a<<2)+b>>2];if(q[q[b+8>>2]+16>>2]==(d|0)){Nq(q[b+8>>2],5,-2,0)}a=a+1|0;b=q[c+32>>2];if(a>>>0>2]-b>>2>>>0){continue}break}}}function kO(a){var b=0,c=0;c=fi-16|0;fi=c;xwa(+a);b=uwa(1)|0;uwa(0)|0;b=b&2147483647;a:{if(b>>>0<=1072243195){if(b>>>0<1044381696){break a}a=hM(a,0,0);break a}if(b>>>0>=2146435072){a=a-a;break a}b=eB(a,c);a=hM(v[c>>3],v[c+8>>3],b&1)}fi=c+16|0;return a}function gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=fi-16|0;fi=c;e=am(a,b);a:{if(e){break a}if(Gj(a,b)){break a}g=q[65291];h=c;f=ri(a,b);d=125997;b:{if((f|0)==-1){break b}d=q[(f<<2)+261152>>2]}q[h+4>>2]=d;q[c>>2]=g;Mj(a,b,nj(a,128655,c))}fi=c+16|0;return e}function f4(a){q[a+16>>2]=7;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=7;q[a+4>>2]=0;o[a+33|0]=255;o[a+34|0]=255;q[a+20>>2]=0;q[a+24>>2]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+35|0]=r[a+35|0]&192|15}function Wra(a,b){var c=0,d=0;c=+t[b+12>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=+t[b+8>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c;q[a+8>>2]=q[a+8>>2]+16;c=iw()-v[b>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 3}function Tca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=fi-16|0;fi=a;q[a+12>>2]=0;Va(1,a+12|0);a:{if(!(r[q[74995]+104|0]&8)){break a}e=K()|0;if(!e){break a}Mi(e,81020,1384);J(79249,79164,1384,81020);G()}XI(q[a+12>>2],b,c,d);fi=a+16|0;return q[a+12>>2]}function Jha(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;e=q[a+4>>2];d=q[e>>2];b=q[d+4>>2];a:{if(b){break a}b=Ij(q[a>>2],q[q[d>>2]>>2],d+4|0);a=q[e>>2];if(!b){b=q[a+4>>2];break a}q[c>>2]=q[q[a>>2]>>2];mi(4,37929,38182,c);b=0}fi=c+16|0;return(b|0)!=0|0}function JW(a){a=a|0;var b=0;ek(a,132258,262208);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=3.141592653589793;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132263);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=I;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,132266);zi(a,-1,132271);pi(a,-2,132276);return 1}function uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!c){return 0}d=r[a|0];a:{if(!d){break a}while(1){b:{e=r[b|0];if((e|0)!=(d|0)){break b}c=c-1|0;if(!c|!e){break b}b=b+1|0;d=r[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-r[b|0]|0}function kA(a,b){var c=0,d=0;b=q[b>>2];tj(q[b+4240>>2]);a:{d=q[b+4252>>2];if(d){c=q[b+4260>>2];if(!c|c>>>0>t[b+4256>>2]){break a}c=c-1|0;q[b+4260>>2]=c;q[(c<<2)+d>>2]=a;lj(q[b+4240>>2]);return}J(12515,12401,140,12510);G()}J(12546,12401,141,12510);G()}function aW(a){a=a|0;var b=0,c=0,d=0;vj(a,1,5);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;if(dk(a,1)){while(1){oi(a,-2);if((ri(a,-1)|0)==3){d=wj(a,-1);c=c>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function aB(a){var b=0,c=0;b=r[a+74|0];o[a+74|0]=b-1|b;if(t[a+20>>2]>t[a+28>>2]){ji[q[a+36>>2]](a,0,0)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=q[a>>2];if(b&4){q[a>>2]=b|32;return-1}c=q[a+44>>2]+q[a+48>>2]|0;q[a+8>>2]=c;q[a+4>>2]=c;return b<<27>>31}function Zka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){a=b+w(a,240)|0;o[a+238|0]=r[a+238|0]|2;return 0}}J(43678,43572,447,43689);G()}function P8(a){var b=0,c=0,d=0,e=0;d=q[a+32>>2];b=q[a+36>>2]-d|0;c=(b|0)/576|0;if(b){e=c>>>0>1?c:1;c=0;while(1){b=w(c,576)+d|0;if(o[b+404|0]&1){b=si(b,b+160|0,160);q[b+412>>2]=q[b+400>>2]}c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[a+52>>2]=q[a+48>>2]}function x1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;o[b+15|0]=0;d=vF(a,1,b+15|0);o[b+14|0]=0;e=vF(a,2,b+14|0);f=(Fi(d)+Fi(e)|0)+1|0;c=xi(f);o[c|0]=0;kj(c,d,f);wk(c,e,f);if(r[b+15|0]){ki(d)}if(r[b+14|0]){ki(e)}wi(a,c);ki(c);fi=b+16|0;return 1}function tG(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];d=Fi(b)+1|0;if(c>>>0>=d>>>0){f=q[a>>2];e=q[f>>2];a:{if(c-e>>>0>=d>>>0){c=f;break a}c=Ci(c+8|0);q[c+4>>2]=f;e=0;q[c>>2]=0;q[a>>2]=c}q[c>>2]=d+e;return si((c+e|0)+8|0,b,d)}J(157519,157544,67,157574);G()}function jba(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=Vi(a,1);if(b){Xi(a,-1e4,q[b+4>>2]);Hi(a,2);Hi(a,3);Wi(a,-3);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(189578,187364,207,189604);G()}J(187343,187364,215,189604);G()}function V9(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;Zi(a,1,b+12|0);e=Ai(a,2);f=Ai(a,3);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);c=T8(c,q[b+12>>2],x(e),x(f));d=q[a+8>>2];q[d+8>>2]=1;q[d>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function Rq(a,b){var c=0,d=0,e=0;a=ji[q[74928]](a)|0;a:{if(b){c=q[b+4>>2];if(c){break a}return 0}J(78855,78867,119,78887);G()}e=q[b>>2];b=0;b:{while(1){d=w(b,28)+e|0;if((a|0)==q[d>>2]){break b}b=b+1|0;if(c>>>0>b>>>0){continue}break}return 0}return d}function Dka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+20>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+8>>2];b=q[b+4>>2];if(a>>>0>2>>>0){a=q[b+(a<<2)>>2];o[a+206|0]=r[a+206|0]|2;return 0}}J(45837,45268,447,45848);G()}function DZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=-24832;if(!(!a|!c)){f=c;c=b-1|0;d=r[c+a|0];e=b-d|0;q[f>>2]=e;b=!d|b>>>0>>0;if(c){d=0;while(1){b=(d>>>0>>0?0:r[a+d|0])|b;d=d+1|0;if((c|0)!=(d|0)){continue}break}}d=b&255?-25088:0}return d|0}function $O(a,b,c){var d=0;d=q[a+204>>2];q[c>>2]=0;d=d+16384|0;if(!(q[a+8>>2]!=1|d>>>0>>0|q[a+248>>2]+5>>>0>d-b>>>0)){o[b+2|0]=0;o[b|0]=255;o[b+1|0]=1;o[b+3|0]=r[a+248|0]+1;o[b+4|0]=q[a+248>>2];si(b+5|0,a+252|0,q[a+248>>2]);q[c>>2]=q[a+248>>2]+5}}function wo(a,b,c){var d=0,e=0;a:{b:{d=b+c|0;if(d>>>0<65){if(c-1>>>0>=8){break b}e=b>>>3|0;if((e|0)!=(d-1>>>3|0)){break a}return(-1<>>(b&7)}J(95852,85651,593,96754);G()}J(96768,85651,594,96754);G()}J(95904,85651,595,96754);G()}function pD(a,b){var c=0,d=0;c=-19584;a:{if(jj(b+24|0,1)){break a}c=-20352;b:{c:{if(q[a+48>>2]){d=q[a+60>>2]?1:2}else{d=0}switch(d-1|0){case 0:break b;case 1:break c;default:break a}}return Cm(b)>>>0>q[a+92>>2]+7>>>3>>>0?-19584:0}c=D_(a,b)}return c}function VP(a,b){a=a|0;b=b|0;var c=0;c=fi-192|0;fi=c;lq(c+104|0);yp(c+8|0);cx(c+104|0,q[a+68>>2]+596|0);Yw(c+8|0,q[a+68>>2]+684|0);Ir(c+104|0,b);hq(c+8|0,b+16|0);a=c+104|0;if(a){ji[q[66742]](a,0,88)|0}a=c+8|0;if(a){ji[q[66742]](a,0,92)|0}fi=c+192|0}function PX(a){a=a|0;var b=0;vj(a,2,5);zE(a,0);Hi(a,2);a:{if(!Gj(a,1)){break a}if(wj(a,1)!=0){break a}b=q[a+8>>2];q[b+8>>2]=8;q[b>>2]=a;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);Co(a,-2);return 0}b:{if(!Dp(a,-2)){if(Co(a,-2)){break b}}ni(a,129482,0)}return 1}function Ml(a,b){var c=0,d=0;c=bj(a,32);d=q[b+28>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;zi(a,-1e4,115799);aj(a,-2)}function Kpa(a,b,c,d){a:{if((q[c+4>>2]&-268435456)==805306368){b=Qpa(b,c,d);if((q[c+4>>2]&-268435456)!=805306368){break a}if(!r[a+12|0]){a=q[a+4>>2]+q[c+12>>2]|0;q[a+4>>2]=0;q[a>>2]=b}return}J(23495,23114,375,23709);G()}J(23495,23114,276,23557);G()}function KN(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<3)+a|0;if(c<0x10000000000000000&c>=0){q[a>>2]=~~c>>>0;q[a+4>>2]=y(c)>=1?c>0?~~A(C(c*2.3283064365386963e-10),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))*2.3283064365386963e-10)>>>0:0;return}q[a>>2]=0;q[a+4>>2]=0}function GO(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(!((d|0)<1|(e|0)<1)){c=0;while(1){g=w(c,e);h=b+c|0;f=0;while(1){o[(f+g|0)+a|0]=r[h|0];f=f+1|0;if((f|0)!=(e|0)){continue}break}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return a|0}function pka(a){a=a|0;var b=0,c=0;b=q[a+8>>2];c=q[b+16>>2];a=q[q[a+16>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0>2>>>0){a=q[b+(a<<2)>>2];o[a+238|0]=r[a+238|0]|4;return 0}}J(47308,47134,447,47319);G()}function cw(a,b,c,d,e){var f=0;f=gw(a,b,c,d);if(t[e+144>>2]>2]){Vj(d,e);if(t[d+144>>2]>=t[c+144>>2]){return f+1|0}Vj(c,d);if(t[c+144>>2]>=t[b+144>>2]){return f+2|0}Vj(b,c);if(t[b+144>>2]>=t[a+144>>2]){return f+3|0}Vj(a,b);f=f+4|0}return f}function Iia(a,b,c,d,e){if(o[a+137|0]&1){mi(4,35903,37235,0);return 1}a=3;b=q[b+12>>2];a:{if(!b){break a}while(1){if(q[b>>2]!=(c|0)|q[b+4>>2]!=(d|0)){b=q[b+16>>2];if(b){continue}break a}break}if(!q[b+12>>2]){return 4}q[e>>2]=q[b+8>>2];a=0}return a}function rv(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;a:{if(b>>>0<128){e=b;break a}while(1){o[(c+11|0)+d|0]=b|128;d=d+1|0;f=b>>>0>16383;e=b>>>7|0;b=e;if(f){continue}break}}o[(c+11|0)+d|0]=e;a=ji[q[a>>2]](q[a+4>>2],c+11|0,d+1|0)|0;fi=c+16|0;return a}function lca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(a){Ub(q[(b<<2)+82352>>2],q[(c<<2)+82352>>2],q[(d<<2)+82352>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2876,82292);G()}Mi(a,82292,2889);J(79249,79164,2889,82292);G()}function Bra(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+216>>2]&15;c=0;a:{if(!d){break a}o[b+7|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;q[b>>2]=0;q[b+4>>2]=0;c=iq(a+132|0,b,16-d|0)}a=c;fi=b+16|0;return a}function xT(a,b,c){var d=0;d=fi-16|0;fi=d;b=Lj(a,b,c+4|0,163);a:{if(b){a=b-9472|0;break a}q[c>>2]=163;q[c+8>>2]=q[a>>2];b=q[a>>2]+q[c+4>>2]|0;c=Lj(a,b,d+12|0,48);if(c){a=c-9472|0;break a}a=(b|0)==(q[a>>2]+q[d+12>>2]|0)?0:-9574}fi=d+16|0;return a}function tha(a){a=a|0;var b=0;b=Ci(24);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=q[a+20>>2];q[q[a+24>>2]+8>>2]=b;q[b+8>>2]=li(q[a+8>>2]);q[b+12>>2]=ii;if(GJ(b)){tv(q[b+4>>2],b+20|0);a=0}else{a=-1}return a|0}function Xx(a){var b=0,c=0;b=fi-144|0;fi=b;qi(b+16|0,0,128);q[b+12>>2]=128;a:{if(!Ix(a,b+16|0,b+12|0)){c=s[b+16>>1]==10;break a}a=Ll(158710,188,q[240833]);q[b+4>>2]=hF(Ll(158710,188,q[240833]));q[b>>2]=a;mi(4,158664,158733,b)}fi=b+144|0;return c}function Waa(a){a=a|0;var b=0,c=0,d=0,e=x(0);b=fi-32|0;fi=b;d=Ti(b+8|0,a,1,187364,4097);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);e=Hba(c,q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;Si(d);fi=b+32|0;return 1}function Sn(a,b){var c=0,d=0;c=fi-16|0;fi=c;a:{if(!a){break a}d=q[a+1864>>2];if((d|0)==q[a+1868>>2]){if(o[a+2224|0]&1){break a}q[c>>2]=d-q[a+1860>>2]>>2;mi(3,103417,103621,c);o[a+2224|0]=r[a+2224|0]|1;break a}q[a+1864>>2]=d+4;q[d>>2]=b}fi=c+16|0}function M7(a){var b=0,c=0,d=0;a:{while(1){b=q[a+64>>2];if(q[a+68>>2]-b>>6>>>0<=c>>>0){break a}b=b+(c<<6)|0;d=q[b>>2];if(d){ki(d)}b=q[b+4>>2];if(b){Qj(b)}c=c+1|0;if((c|0)!=16){continue}break}K7(a);ki(N7(a));return}J(152303,152250,447,152314);G()}function EZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=-24832;if(!(!a|!c)){e=r[(a+b|0)-1|0];f=b-e|0;q[c>>2]=f;c=!e|b>>>0>>0;if(b){d=0;while(1){c=(d>>>0>>0?0:r[a+d|0]^e)|c;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=c&255?-25088:0}return d|0}function CL(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+208>>2]&15;c=0;a:{if(!d){break a}o[b+7|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;q[b>>2]=0;q[b+4>>2]=0;c=iq(a+132|0,b,16-d|0)}a=c;fi=b+16|0;return a}function BZ(a){var b=0,c=0,d=0,e=0;c=fi-400|0;fi=c;d=-1;a:{if(EB(c+8|0)){break a}d=0;b:{c:{while(1){e=r[(b+c|0)+73|0];o[a+b|0]=e;if(!e){break c}b=b+1|0;if((b|0)!=65){continue}break}break b}if((b|0)!=65){break a}}o[a- -64|0]=0}fi=c+400|0;return d}function nw(a){var b=0,c=0,d=0,e=0;c=q[a+76>>2];b=q[a+68>>2];d=q[b+512>>2];if((c|0)!=(d|0)){q[a+76>>2]=d;q[b+512>>2]=c;c=q[a+220>>2];d=q[a+224>>2];e=q[b+520>>2];q[a+220>>2]=q[b+516>>2];q[a+224>>2]=e;q[b+516>>2]=c;q[b+520>>2]=d;pr(a,q[a+76>>2])}}function et(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+ -.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+ -2.7557314351390663e-7))-a*b))}function cna(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]>>4;a:{b=Vi(a,1);if(b){Xi(a,-1e4,q[b+16>>2]);Hi(a,2);Hi(a,3);Wi(a,-3);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(c|0)){break a}return 0}J(18905,15813,262,18928);G()}J(16481,15813,270,18928);G()}function Yx(a){var b=0,c=0;b=fi-144|0;fi=b;qi(b+16|0,0,128);q[b+12>>2]=128;a:{if(!Ix(a,b+16|0,b+12|0)){c=s[b+16>>1]==2;break a}a=Ll(158710,163,q[240833]);q[b+4>>2]=hF(Ll(158710,163,q[240833]));q[b>>2]=a;mi(4,158664,158733,b)}fi=b+144|0;return c}function VU(a){var b=0,c=0,d=0,e=0;d=fi-384|0;fi=d;c=-5;b=q[a+80>>2];a:{if(b>>>0>384){break a}e=qi(d,0,384);c=-9;if(ji[q[a+92>>2]](q[a+96>>2],e,b)|0){break a}b=q[a+80>>2];c=dx(a,e,b);if(!c){q[a+76>>2]=1}ji[q[66742]](e,0,b)|0}fi=d+384|0;return c}function Cva(){q[210286]=1;q[210284]=1119817666;q[210285]=1850475176;q[210283]=125575;q[210282]=1;q[210289]=0;o[841152]=0;q[210287]=q[210281];q[210289]=q[72890];q[72890]=841128;q[65057]=q[72890];q[72890]=260200;q[65097]=q[72890];q[72890]=260360}function pca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){Wb(q[(b<<2)+82280>>2],q[(c<<2)+82160>>2],d|0,e|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2869,82251);G()}Mi(a,82251,2871);J(79249,79164,2871,82251);G()}function nra(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-112|0;fi=c;d=a;if((ri(a,1)|0)==8){e=1;d=In(a,1)}b=e+1|0;a:{if(!Wk(d,gj(a,b),c+8|0)){b=Mj(a,b,132832);break a}b=e+3|0;Tl(a,b);oi(a,b);Hn(a,d,1);wi(a,QW(d,c+8|0,gj(a,e|2)));b=1}fi=c+112|0;return b|0}function dsa(a){a=a|0;var b=0,c=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);q[a+8>>2]=q[a+8>>2]+16;return 1}function S6(){var a=0,b=0;a=fi-48|0;fi=a;q[a+32>>2]=1499;q[a+40>>2]=1500;q[a+16>>2]=1500;q[a+36>>2]=1501;b=q[a+36>>2];q[a+8>>2]=q[a+32>>2];q[a+12>>2]=b;q[a+28>>2]=1502;q[a+24>>2]=1503;b=q[a+28>>2];q[a>>2]=q[a+24>>2];q[a+4>>2]=b;E3(a);fi=a+48|0}function y1(a){a=a|0;var b=0,c=0,d=0,e=0;d=q[a+8>>2]-q[a+12>>2]>>4;e=a;a:{if(fk(a,1,q[79174])){b=Vi(a,1);c=q[b>>2];b=q[b+4>>2];break a}c=li(Ni(a,1,0));b=ii}Yj(e,c,b);if((d+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(113092,113117,86,113336);G()}return 1}function cS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fi-16|0;fi=c;q[c+12>>2]=0;q[c+8>>2]=4;d=1;e=a;a:{if((Nn(q[b>>2],1,4,c+12|0,c+8|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;d=2;a=124095;break a}a=Ql(q[c+12>>2])}wi(e,a);fi=c+16|0;return d|0}function Q3(a,b){var c=0,d=0,e=0;d=q[a+7412>>2];if(d){e=q[b>>2];c=q[d>>2];if((e|0)!=(c|0)){q[e>>2]=c;q[d>>2]=0}if((b|0)!=(d|0)){c=q[d+4>>2];if(c){Ui(c)}c=q[d+8>>2];if(c){Ui(c)}ki(d)}q[a+7412>>2]=b;q[b>>2]=e;return}J(24419,24439,256,24459);G()}function HE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if(d){j=b+12|0;k=e>>>1&63;while(1){h=w(g,36)+c|0;i=(g|0)==(k|0);f=Bt(b,h,i);if(f){break a}f=Bt(j,h+12|0,i);if(f){break a}g=g+1|0;if((g|0)!=(d|0)){continue}break}}f=IE(a,b,e>>>7|0)}return f}function H9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,0,187364,3737);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);a:{if(tn(d,q[b+4>>2])){e=uj(c,192747,0);break a}C8(d,q[b+4>>2],x(Ai(a,2)))}Si(c);fi=b+32|0;return e|0}function G9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,0,187364,3787);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);a:{if(tn(d,q[b+4>>2])){e=uj(c,192808,0);break a}B8(d,q[b+4>>2],x(Ai(a,2)))}Si(c);fi=b+32|0;return e|0}function uT(a,b,c){var d=0,e=0,f=0;e=fi-16|0;fi=e;d=q[a>>2];f=-9440;a:{if((b-d|0)<1){break a}d=r[d|0];b=MD(a,b,e+12|0);if(b){f=b-9344|0;break a}q[c>>2]=d;b=q[e+12>>2];q[c+4>>2]=b;q[c+8>>2]=q[a>>2];q[a>>2]=b+q[a>>2];f=0}d=f;fi=e+16|0;return d}function rna(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;q[b+12>>2]=0;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[59718],b+12|0)){c=Ci(4);d=q[b+12>>2];q[c>>2]=d;e=q[a+24>>2];q[e+8>>2]=c;q[e+16>>2]=(q[a+16>>2]-q[d+4>>2]|0)+4;c=0}fi=b+16|0;return c|0}function mK(a,b,c,d){var e=0,f=0,g=0;if(a){a=q[a+84>>2];e=q[a+4>>2];if(e){g=q[a>>2];a=0;while(1){f=w(a,80)+g|0;if((b|0)==q[f>>2]&q[f+4>>2]==(c|0)){p[d>>1]=a;return 0}a=a+1|0;if(e>>>0>a>>>0){continue}break}}return-5}J(8273,7150,1990,8289);G()}function Tga(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[60766],c+12|0)){b=q[c+12>>2];a:{if(r[b+4|0]){break a}d=q[a+20>>2];if(!d){break a}jk(d,q[b>>2]);b=q[c+12>>2]}q[q[a+24>>2]>>2]=b;b=0}fi=c+16|0;return b|0}function Pl(a,b){var c=0,d=0;if(!a){return xi(b)}if(b>>>0>=4294967232){q[240833]=48;return 0}c=YN(a-8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=xi(b);if(!c){return 0}d=q[a-4>>2];d=(d&3?-4:-8)+(d&-8)|0;si(c,a,b>>>0>d>>>0?d:b);ki(a);return c}function GY(a){a=a|0;var b=0;Tl(a,1);b=Vi(a,1);zi(a,-1e4,130969);a:{b:{if(!b){break b}if(!Sl(a,1)){break b}if(nx(a,-2,-1)){break a}}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}if(!q[b>>2]){Bi(a,131327,11);return 1}Bi(a,131339,4);return 1}function vj(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;if((ri(a,b)|0)!=(c|0)){c=(c|0)==-1?125997:q[(c<<2)+261152>>2];g=d;f=ri(a,b);e=125997;a:{if((f|0)==-1){break a}e=q[(f<<2)+261152>>2]}q[g+4>>2]=e;q[d>>2]=c;Mj(a,b,nj(a,128655,d))}fi=d+16|0}function D9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;c=Zi(a,1,b+12|0);e=Fj(a,2);q[c+412>>2]=q[c+412>>2]&-4194305|e<<22&4194304;if(d>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(187343,187364,4086,193157);G()}fi=b+16|0;return 0}function nja(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[q[a+1040>>2]+32>>2];b=q[a+1052>>2];c=q[a+1048>>2];d=c+1|0;q[a+1048>>2]=d;q[a+1052>>2]=d>>>0<1?b+1|0:b;if(!(b|c)){q[a+8>>2]=6;o[a+16|0]=o[e+166|0]&1;q[a>>2]=li(54296);q[a+4>>2]=ii}return!(b|c)|0}function En(a,b,c,d){var e=0,f=0;f=(b>>>2|0)+((b&3)!=0)|0;a:{if((f|0)!=q[a+4>>2]){Ji(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;e=Vk(a,f);if(e){break a}}e=gk(a,0);if(e){break a}ji[c|0](d,q[a+8>>2]+((f<<2)-b|0)|0,b)|0;KC(q[a+8>>2],f);e=0}return e}function BR(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ai(a,1);d=Ln(a,2,0);a:{if(y(d)<2147483648){b=~~d;break a}b=-2147483648}if(y(c)<2147483648){e=~~c}else{e=-2147483648}c=+Ph(e|0,b|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function AG(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}o[a+82|0]=r[a+82|0]&254|c}return}J(136114,135222,447,135487);G()}function XN(a,b){var c=0,d=0,e=0,f=0;c=r[a+1|0];e=!c;d=c|r[a|0]<<8;f=r[b+1|0]|r[b|0]<<8;a:{if(!c|(d|0)==(f|0)){break a}b=a+1|0;while(1){a=b;c=r[a+1|0];e=!c;d=c|d<<8&65280;if((f|0)==(d|0)){break a}b=a+1|0;if(c){continue}break}}return e?0:a}function Qoa(a){var b=0,c=0,d=0;c=fi-16|0;fi=c;b=q[210336];if(b){while(1){d=q[b+16>>2];a:{if(!d|!r[b+40|0]){break a}o[b+40|0]=0;if(!(ji[d|0](a)|0)){break a}q[c>>2]=q[b>>2];mi(4,133060,133117,c)}b=q[b+36>>2];if(b){continue}break}}fi=c+16|0}function $5(a,b){var c=0,d=0;if(!b){return 0}c=b&65535;d=q[a+4>>2];a=q[a>>2];if(c>>>0>2>>>0){a=q[a+(c<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return 0}return(q[a+4>>2]-q[a>>2]|0)/288|0}J(136114,135222,447,135487);G()}function mW(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=2;d=q[a+8>>2]-q[a+12>>2]>>4;c=Ai(a,1);if((d|0)>=2){while(1){e=Ai(a,b);c=c>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function lW(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=2;d=q[a+8>>2]-q[a+12>>2]>>4;c=Ai(a,1);if((d|0)>=2){while(1){e=Ai(a,b);c=c>e?e:c;f=(b|0)!=(d|0);b=b+1|0;if(f){continue}break}}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function jm(a,b,c){var d=0,e=0;if(c>>>0<10){if(!c){return 0}d=a;a=q[b>>2];e=d+(a>>>3|0)|0;d=a&7;a=r[e|0]>>>d|0;d=8-d|0;d=(c|0)<(d|0)?c:d;if((d|0)!=(c|0)){a=r[e+1|0]<>2]=q[b>>2]+c;return(-1<>3]=c;break a;case 16:case 18:v[b+8>>3]=c;break a;default:break b}}Mj(a,3,124650)}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function jl(a,b,c){var d=0,e=0,f=0;if(c){e=-7;f=q[a+5136>>2];a:{if(!f){break a}while(1){if(Ej(b,q[(w(d,40)+a|0)+24>>2])){d=d+1|0;if((f|0)!=(d|0)){continue}break a}break}q[c>>2]=(w(d,40)+a|0)+16;e=0}return e}J(26315,24439,1532,26356);G()}function _p(a,b,c){var d=0,e=0;e=t[c>>2]>2];a:{b:{if(t[b>>2]>=t[a>>2]){d=0;if(!e){break a}ol(b,c);d=1;if(t[b>>2]>=t[a>>2]){break a}ol(a,b);break b}if(e){ol(a,c);return 1}ol(a,b);d=1;if(t[c>>2]>=t[b>>2]){break a}ol(b,c)}d=2}return d}function O2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;ek(a,114924,257984);Bi(a,114807,3);pi(a,-2,114930);Bi(a,114811,4);pi(a,-2,114939);Bi(a,114816,1);pi(a,-2,114949);oi(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(114964,114824,178,114985);G()}}function DB(a,b){var c=0,d=0;a:{if((a|0)==-1){break a}d=q[b+76>>2]>=0;b:{c=q[b+4>>2];c:{if(!c){aB(b);c=q[b+4>>2];if(!c){break c}}if(q[b+44>>2]-8>>>0>>0){break b}}if(!d){break a}return}c=c-1|0;q[b+4>>2]=c;o[c|0]=a;q[b>>2]=q[b>>2]&-17}}function y$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=fi-32|0;fi=d;b=OO(a,b,d+28|0);a:{if(!b){f=-2;break a}QO(d,b);a=Ci(16);e=q[d>>2];q[a+4>>2]=0;q[a>>2]=e;e=q[d+4>>2];q[a+12>>2]=b;o[a+9|0]=16;o[a+8|0]=e;q[c>>2]=a}fi=d+32|0;return f|0}function v5(a){var b=0,c=0;b=q[a+1760>>2];if((b|0)!=q[a+1764>>2]){while(1){xu(q[(c<<2)+b>>2]);c=c+1|0;b=q[a+1760>>2];if(c>>>0>2]-b>>2>>>0){continue}break}}ki(q[a+1780>>2]);ji[q[74896]](q[a+1776>>2]);ji[q[74913]](q[a+1784>>2])}function SP(a){var b=0,c=0,d=0;b=q[a+120>>2];c=r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16);d=r[b+11|0]|(r[b+10|0]<<8|r[b+9|0]<<16);b=r[b+8|0]|(r[b+7|0]<<8|r[b+6|0]<<16);if(!(b>>>0>c>>>0|c-b>>>0>>0)){return t[a+132>>2]>>0?-1:0}return-1}function MU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=q[a>>2];if((d|0)<0){b=-69;break a}b=Qv(d,b,c);if((b|0)>-1){break a}b=-26752;if(IC(a)){break a}b=-80;if(q[240833]==64|q[240833]==15){break a}return(q[240833]==27?-26752:-78)|0}return b|0}function jn(a,b,c){var d=0,e=0;d=-20736;a:{if(!a|!b){break a}e=ji[q[b+32>>2]]()|0;q[a+4>>2]=e;d=-20864;if(!e){break a}b:{if(!c){break b}c=Oj(2,q[b+12>>2]);q[a+8>>2]=c;if(c){break b}ji[q[b+36>>2]](e);return-20864}q[a>>2]=b;d=0}return d}function dp(a,b,c){var d=0,e=0;e=3;a:{if(!a){break a}d=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!d|s[d+16>>1]!=(a>>>16|0)){break a}e=1;a=q[d>>2];d=w(q[d+8>>2],q[d+12>>2]);if(ej(a+d|0,138944,16)){break a}q[c>>2]=d;q[b>>2]=a;e=0}return e}function dQ(a,b){var c=0,d=0,e=0;c=fi+ -64|0;fi=c;d=q[a>>2];q[c+48>>2]=0;d=Fl(d,3,c+48|0);e=q[a>>2];q[c+32>>2]=d&-2049;Fl(e,4,c+32|0);ww(q[a>>2],b);b=q[a>>2];q[c+16>>2]=0;b=Fl(b,3,c+16|0);a=q[a>>2];q[c>>2]=b|2048;Fl(a,4,c);fi=c- -64|0}function Nba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=fi-32|0;fi=f;a:{if(!qn(q[e+8>>2])){break a}q[f+16>>2]=b;q[f+20>>2]=c;q[f+24>>2]=d;q[f+8>>2]=e;js(q[e+8>>2],1360,f+8|0);if(a|d){break a}rn(q[e+8>>2]);q[e+8>>2]=0}fi=f+32|0}function fX(a,b,c){var d=0,e=0;if(b>>>0>=4294967262){Rj(a)}d=dj(a,0,0,b+32|0);e=r[q[a+16>>2]+20|0];q[d+16>>2]=b;o[d+4|0]=7;q[d+12>>2]=c;q[d+8>>2]=0;o[d+5|0]=e&3;q[d>>2]=q[q[q[a+16>>2]+112>>2]>>2];q[q[q[a+16>>2]+112>>2]>>2]=d;return d}function az(a){var b=0,c=0;b=fi-1056|0;fi=b;c=q[72164];lk(a,q[72163],b+32|0);if(_k(b+32|0)){q[b+16>>2]=b+32;mi(0,199540,200015,b+16|0);Zk(b+32|0)}lk(a,c,b+32|0);if(_k(b+32|0)){q[b>>2]=b+32;mi(0,199540,200015,b);Zk(b+32|0)}fi=b+1056|0}function _2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+8>>2];d=q[c+4>>2];if(r[c|0]){a=cj(d,a,112115,0);o[c|0]=0;a=(a|0)>0?a:0;d=a+q[c+4>>2]|0;q[c+4>>2]=d;a=q[c+8>>2]-a|0;q[c+8>>2]=a}a=kF(b,d,a);q[c+4>>2]=a+q[c+4>>2];q[c+8>>2]=q[c+8>>2]-a}function Vm(a,b,c){var d=0,e=0;e=(c>>>2|0)+((c&3)!=0)|0;a:{if((e|0)!=q[a+4>>2]){Ji(a);q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0;d=Vk(a,e);if(d){break a}}d=gk(a,0);if(d|!b){break a}si(q[a+8>>2]+((e<<2)-c|0)|0,b,c);KC(q[a+8>>2],e);d=0}return d}function Dla(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+4>>2];c=0;a:{if(!d){break a}c=q[a>>2];a=q[a+8>>2];q[b+12>>2]=d;o[b+4|0]=1;q[b>>2]=a;q[b+8>>2]=c;b:{if(r[a+13|0]){break b}}Kp(0,0,383,b);c=r[b+4|0]?0:-1e3}fi=b+16|0;return c|0}function ipa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+8>>2];d=q[c+4>>2];if(r[c|0]){a=cj(d,a,4257,0);o[c|0]=0;a=(a|0)>0?a:0;d=a+q[c+4>>2]|0;q[c+4>>2]=d;a=q[c+8>>2]-a|0;q[c+8>>2]=a}a=kF(b,d,a);q[c+4>>2]=a+q[c+4>>2];q[c+8>>2]=q[c+8>>2]-a}function hX(a,b){a:{switch(q[b>>2]-13|0){case 0:q[b>>2]=12;q[b+8>>2]=q[q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)>>2]>>>6&255;return;case 1:a=q[q[a>>2]+12>>2]+(q[b+8>>2]<<2)|0;q[a>>2]=q[a>>2]&8388607|16777216;q[b>>2]=11;break;default:break a}}}function gC(a){var b=0,c=0,d=0,e=0;b=TC(a);c=b>>>0<16384?b:16384;d=q[a+216>>2];a:{if(c>>>0<=d>>>0){break a}b=fC(a);if((b|0)<0){return b}a=SC(a);if((a|0)<0){return a}if(a>>>0>=b>>>0){break a}a=b-a|0;b=c-d|0;e=a>>>0>>0?a:b}return e}function fD(a,b,c,d){var e=0;e=-20;a:{b=AD(b,d);if(!b|q[b+24>>2]!=16){break a}if(a){e=q[a+60>>2];if(e){ji[q[q[q[a>>2]+28>>2]+32>>2]](e)}ji[q[66742]](a,0,64)|0}e=Ft(a,b);if(e){break a}e=Gt(a,c,d,1);if(e){break a}return LZ(a)}return e}function Vma(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Fm(a,1);d=q[c+20>>2];e=q[c+16>>2];u[b+8>>2]=u[c+24>>2];q[b>>2]=e;q[b+4>>2]=d;u[b+16>>2]=u[b>>2];c=q[b+8>>2];q[b+20>>2]=q[b+4>>2];q[b+24>>2]=c;hl(a,b+16|0);fi=b+32|0;return 1}function qpa(a,b){a=a|0;b=b|0;var c=0;a:{if(a){if(!b){break a}c=Ci(8);q[c>>2]=0;q[c+4>>2]=0;a=Nh(q[a>>2])|0;if((a|0)<0){return-11}o[c+4|0]=0;q[c>>2]=a;q[b>>2]=c;return 0}J(204808,204815,45,204844);G()}J(204857,204815,46,204844);G()}function ZW(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;a:{b:{if(q[a>>2]){c=q[a+4>>2];break b}c:{c=ji[q[a+8>>2]](q[a+16>>2],q[a+12>>2],b+12|0)|0;if(c){d=q[b+12>>2];if(d){break c}}a=-1;break a}q[a+4>>2]=c;q[a>>2]=d}a=r[c|0]}fi=b+16|0;return a}function WM(a,b,c){var d=0;d=fi-16|0;fi=d;b=Lj(a,b,d+12|0,160);a:{if(b){if((b|0)==-98){q[c>>2]=0;a=0;break a}a=b-8576|0;break a}b=q[a>>2]+q[d+12>>2]|0;c=nq(a,b,c);if(c){a=c-8704|0;break a}a=(b|0)==q[a>>2]?0:-8806}fi=d+16|0;return a}function MB(a,b,c,d){var e=0;e=fi-144|0;fi=e;q[e+44>>2]=a;q[e+4>>2]=a;q[e>>2]=0;q[e+76>>2]=-1;q[e+8>>2]=(a|0)<0?-1:a+2147483647|0;fn(e,0,0);c=nM(e,c,1,d,0);if(b){q[b>>2]=((q[e+4>>2]+q[e+120>>2]|0)-q[e+8>>2]|0)+a}fi=e+144|0;return c}function Lk(a,b,c){if((jj(c,0)|0)<0){return-10}b=bx(0,a,b,c);a:{if(b){break a}while(1){if((jj(a,0)|0)<=-1){b=vl(a,a,c);if(!b){continue}break a}break}while(1){b=0;if((Dj(a,c)|0)<0){break a}b=fl(a,a,c);if(!b){continue}break}}return b}function IB(a){var b=0,c=0,d=0;b=fi-32|0;fi=b;yj(a);Tk(a,b+8|0,0);if(q[b+8>>2]==1){q[b+8>>2]=3}St(q[a+48>>2],b+8|0);c=q[b+28>>2];if(q[a+16>>2]!=274){d=q[a+52>>2];q[b>>2]=Xk(a,274);xj(a,Oi(d,127343,b))}yj(a);Us(a);fi=b+32|0;return c}function HA(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=-12416;d=q[b>>2];a:{if((c-d|0)<2){break a}f=r[d+1|0];g=r[d|0];d=d+2|0;q[b>>2]=d;h=c-d|0;c=f|g<<8;if((h|0)<(c|0)){break a}a=Vm(a,d,c);if(a){return a-12544|0}q[b>>2]=c+q[b>>2];e=0}return e}function Dpa(a,b,c,d,e){var f=0;if((q[c+4>>2]&264241152)==37748736){f=CA(b,e+1|0);if(!r[a+12|0]){a=q[a+4>>2];c=q[c+12>>2];d=si(f,d,e);o[d+e|0]=0;a=a+c|0;if(o[b+48|0]&1){f=d-q[b+32>>2]|0}q[a>>2]=f}return}J(23575,23114,288,23611);G()}function Do(a,b){var c=0,d=0;a:{c=q[a+8>>2];b:{if((c|0)!=q[b+8>>2]){break b}d=1;c:{switch(c|0){case 3:return v[a>>3]==v[b>>3];case 1:case 2:break a;case 0:break b;default:break c}}d=q[a>>2]==q[b>>2]}return d}return q[a>>2]==q[b>>2]}function $ca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=s[b+160>>1];if(e){while(1){c=w(d,20)+b|0;f=q[c>>2];Sj(a,f,Fi(f));Sj(a,c+4|0,2);Sj(a,c+8|0,2);Sj(a,c+10|0,2);Sj(a,c+12|0,4);Sj(a,c+16|0,1);d=d+1|0;if((e|0)!=(d|0)){continue}break}}}function caa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=Zi(a,1,b+12|0);if(ri(a,2)){c=Zi(a,2,b+12|0);c=s[c+554>>1]|s[c+552>>1]<<16}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);Ru(e,s[d+554>>1]|s[d+552>>1]<<16,c);fi=b+16|0;return 0}function baa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=Zi(a,1,b+12|0);if(ri(a,2)){c=Zi(a,2,b+12|0);c=s[c+554>>1]|s[c+552>>1]<<16}Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);b9(e,s[d+554>>1]|s[d+552>>1]<<16,c);fi=b+16|0;return 0}function XL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(b){g=b+1|0;d=1<>>0<32){continue}break}J(85745,95479,435,95841);G()}return f}J(95830,95479,416,95841);G()}function Mqa(a){a:{b:{if(a){if(q[a>>2]){break b}if(q[a+100>>2]|q[a+104>>2]|(q[a+108>>2]|q[a+112>>2])){break a}if(q[a+124>>2]|(q[a+116>>2]|q[a+120>>2])){break a}ki(a)}return}J(29113,29034,158,29161);G()}J(29175,29034,161,29161);G()}function MY(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;q[om(a,130969)>>2]=0;d=q[240833];b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;q[c>>2]=Uk(d);nj(a,131085,c);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;fi=c+16|0;return 3}function Ava(){q[239953]=0;q[239954]=0;q[239955]=0;q[239956]=0;q[239959]=0;q[239960]=0;q[239957]=0;q[239958]=0;q[239969]=0;q[239970]=0;q[239967]=0;q[239968]=0;q[239965]=0;q[239966]=0;q[239963]=0;q[239964]=0;q[239961]=0;q[239962]=0}function yX(a,b){dj(a,q[b+12>>2],q[b+44>>2]<<2,0);dj(a,q[b+16>>2],q[b+52>>2]<<2,0);dj(a,q[b+8>>2],q[b+40>>2]<<4,0);dj(a,q[b+20>>2],q[b+48>>2]<<2,0);dj(a,q[b+24>>2],w(q[b+56>>2],12),0);dj(a,q[b+28>>2],q[b+36>>2]<<2,0);dj(a,b,76,0)}function ula(a,b){var c=0;c=q[b>>2];if(!r[q[c>>2]+4|0]){return 1}if(o[b+20|0]&1){mi(4,37929,38123,0);return 0}if(q[c+4>>2]){c=0;a:{if(!a){break a}a=q[a>>2];if(!a){break a}c=q[a>>2]}Di(c,q[q[b>>2]+4>>2]);q[q[b>>2]+4>>2]=0}return 1}function tO(a){a=a|0;var b=0,c=0,d=0;b=fi-1040|0;fi=b;d=Ni(a,1,b+1036|0);c=gj(a,2);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if((c|0)>=1){while(1){Wm(b,d,q[b+1036>>2]);a=(c|0)>1;c=c-1|0;if(a){continue}break}}bm(b);fi=b+1040|0;return 1}function lo(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a>>2];b=r[c|0];if(b){while(1){a:{d=g;e=(e<<6)+b|0;f=c+1|0;b=r[c+1|0];if(!b){break a}g=d+1|0;c=f;if((b&192)==128){continue}}break}q[a>>2]=f;a=e-q[(d<<2)+169696>>2]|0}else{a=0}return a}function l9(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=Zi(a,1,c+12|0);d=Ai(a,2);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);b=s[b+554>>1]|s[b+552>>1]<<16;if(y(d)<2147483648){a=~~d}else{a=-2147483648}hI(e,b,a);fi=c+16|0;return 0}function HU(a,b,c,d,e,f,g,h){var i=0;i=fi-16|0;fi=i;q[i+12>>2]=d;d=-16e3;a:{if(!q[a>>2]){break a}if(EC(b,i+12|0)){break a}d=q[q[a>>2]+20>>2];if(!d){d=-16128;break a}d=ji[d|0](q[a+4>>2],b,c,q[i+12>>2],e,f,g,h)|0}fi=i+16|0;return d}function E$(a){var b=0,c=0;c=fi-16|0;fi=c;b=s[a+22>>1];if(b){q[c>>2]=0-b;mi(4,200633,200639,c)}a:{if(o[a+24|0]&1){break a}b=q[a+16>>2];if(!b){break a}ki(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}ki(a);fi=c+16|0}function zS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=mn(q[q[a+72>>2]+60>>2]);if((c|0)<0){return 0}a:{if((b|0)!=(f|0)|f>>31!=(c|0)){c=0;if(El(q[q[a+72>>2]+60>>2],b,0)){break a}}c=Al(d,1,e,q[q[a+72>>2]+60>>2])}return c|0}function s3(a){var b=x(0),c=x(0),d=0,e=0;d=o[a+224|0]&1;e=q[(d<<5)+a>>2];if(!e){return x(0)}c=u[e+8>>2];if(c!=x(0)){a=(d<<5)+a|0;b=u[a+16>>2];b=c>2]==3?x(x(c+c)-b):b:b;b=x((r[a+28|0]&2?x(c-b):b)/c)}else{b=x(0)}return b}function Xpa(a,b){var c=0,d=0,e=0,f=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=8){e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+8>>2]=c+8;q[b>>2]=f;q[b+4>>2]=e}return(d|0)>7}function AS(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=mn(q[q[a+72>>2]+60>>2]);if((c|0)<0){return 0}a:{if((b|0)!=(f|0)|f>>31!=(c|0)){c=0;if(El(q[q[a+72>>2]+60>>2],b,0)){break a}}c=Yk(d,1,e,q[q[a+72>>2]+60>>2])}return c|0}function $p(a,b,c){var d=0,e=0;e=r[c|0]=r[a|0]){d=0;if(!e){break a}dl(b,c);d=1;if(r[b|0]>=r[a|0]){break a}dl(a,b);break b}if(e){dl(a,c);return 1}dl(a,b);d=1;if(r[c|0]>=r[b|0]){break a}dl(b,c)}d=2}return d}function xo(a){var b=0,c=0,d=0,e=0,f=0;b=fi-16|0;fi=b;if((ri(a,3)|0)!=1){e=q[65289];f=b;d=ri(a,3);c=125997;a:{if((d|0)==-1){break a}c=q[(d<<2)+261152>>2]}q[f+4>>2]=c;q[b>>2]=e;Mj(a,3,nj(a,123556,b))}a=Fj(a,3);fi=b+16|0;return a}function jha(a){a=a|0;var b=0;b=Ci(16);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;if(!rj(q[a+12>>2],q[a+16>>2],q[60850],b)){q[b+8>>2]=li(q[a+8>>2]);q[b+12>>2]=ii;q[q[a+24>>2]+8>>2]=b;return 0}a=q[b>>2];if(a){Ui(a)}return-13}function _aa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;d=q[a+12>>2];b=q[q[d+12>>2]>>2];e=Ti(c+8|0,b,0,187364,654);f=q[a+16>>2];Xi(b,-1e4,q[d+8>>2]);sj(b,-1,f);oi(b,-2);q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;Si(e);fi=c+32|0}function UK(a,b,c){var d=0,e=0;a:{if(c){e=q[a+8>>2];d=q[a+4>>2];if(e>>>0>d>>>0){break a}d=d>>>0>=b+e>>>0;if(!d){q[c>>2]=0;return d}q[c>>2]=e;q[a+8>>2]=q[a+8>>2]+b;return d}J(22936,22890,52,22947);G()}J(22871,22890,53,22947);G()}function Pj(a,b){var c=0;c=fi-16|0;fi=c;a:{if(fk(a,b,q[79174])){b=Vi(a,b);a=q[b>>2];b=q[b+4>>2];break a}if((ri(a,b)|0)==4){q[c+12>>2]=0;a=Nl(_i(a,b,c+12|0),q[c+12>>2]);b=ii;break a}hk(a,b,113182);a=0;b=0}fi=c+16|0;ii=b;return a}function IZ(a,b,c){a=a|0;b=b|0;c=c|0;if(q[b>>2]){q[b>>2]=0;q[c>>2]=1;return 128830}a=q[b+4>>2];a:{if(q[a+76>>2]<=-1){a=q[a>>2];break a}a=q[a>>2]}if(a>>>4&1){a=0}else{a=b+8|0;b=Yk(a,1,1024,q[b+4>>2]);q[c>>2]=b;a=b?a:0}return a|0}function zu(a,b,c){var d=0,e=0;a:{if(b){d=b&65535;e=q[a+4>>2];a=q[a>>2];if(d>>>0>=e-a>>2>>>0){break a}a=q[a+(d<<2)>>2];if(s[a+80>>1]!=(b>>>16|0)){mi(4,134802,135498,0);return}u[a+44>>2]=c}return}J(136114,135222,447,135487);G()}function vga(a){a=a|0;var b=0,c=0;q[74120]=q[a+4>>2];b=qi(Ci(168),0,168);q[b>>2]=q[a+20>>2];c=SJ(q[a>>2],b);a:{if(!c){q[q[a+24>>2]+8>>2]=b;break a}Zz(q[a>>2],b);ki(b)}q[b+164>>2]=q[q[b+4>>2]+20>>2];Ip(q[a>>2],470,b);return c|0}function sJ(a,b,c,d){if(o[a+137|0]&1){mi(4,35903,37235,0);return 1}a=3;b=q[b+12>>2];a:{if(!b){break a}while(1){if(q[b>>2]!=(c|0)|q[b+4>>2]!=(d|0)){b=q[b+16>>2];if(b){continue}break a}break}if(!q[b+12>>2]){return 4}a=0}return a}function RC(a){var b=0,c=0;q[q[a+68>>2]+488>>2]=q[q[a>>2]+152>>2];b=q[q[a+68>>2]+488>>2];c=q[a+92>>2];if(c){ji[c|0](q[a+88>>2],b>>>2|0,b)}c=q[a+68>>2];a:{if(q[a+128>>2]==22){b=3;if(r[q[a+120>>2]]==20){break a}}b=2}o[c+492|0]=b}function Lt(a,b){var c=0,d=0;c=fi-16|0;fi=c;a:{b:{c:{switch(q[a+8>>2]-3|0){case 0:break a;case 1:break c;default:break b}}if(!xl(q[a>>2]+16|0,c+8|0)){break b}d=v[c+8>>3];q[b+8>>2]=3;v[b>>3]=d;a=b;break a}a=0}fi=c+16|0;return a}function Dga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[61786],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]+108>>2]);jk(q[a+20>>2],q[q[b+12>>2]+104>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function yea(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]>>4;c=M$(Pj(a,1),ii,x(Ai(a,2)));if(c){q[b>>2]=c;mi(3,72869,72976,b)}if(q[a+8>>2]-q[a+12>>2]>>4!=(d|0)){J(72644,72665,291,73006);G()}fi=b+16|0;return 0}function eE(a,b,c){var d=0;d=fi-32|0;fi=d;b=q[(q[b+8>>2]<<2)+261152>>2];c=q[(q[c+8>>2]<<2)+261152>>2];a:{if(r[b+2|0]==r[c+2|0]){q[d>>2]=b;Ck(a,126103,d);break a}q[d+20>>2]=c;q[d+16>>2]=b;Ck(a,126136,d+16|0)}fi=d+32|0;return 0}function Kn(a,b){var c=0;b=b+9999>>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;if(!ri(a,-1)){oi(a,-2);return-1}Xi(a,b,0);c=am(a,-1);oi(a,-2);if(c){Xi(a,b,c);vk(a,b,0);vk(a,b,c);return c}c=a;a=wl(a,b)+1|0;vk(c,b,a);return a}function IA(a,b,c,d){var e=0;e=c;c=q[a+92>>2]+7>>>3|0;c=c>>>0>>0?c:d;d=Vm(b,e,c);a:{if(d){break a}c=c<<3;d=q[a+92>>2];if(c>>>0>d>>>0){d=Nk(b,c-d|0);if(d){break a}}d=0;a=a+76|0;if((Dj(b,a)|0)<0){break a}d=fl(b,b,a)}return d}function yk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=$i(b,0);e=$i(c,0);f=$i(b,1);g=$i(c,1);h=$i(b,2);i=$i(c,2);b=$i(b,3);c=$i(c,3);o[a+3|0]=b>>>0>c>>>0?b:c;o[a+2|0]=h>>>0>i>>>0?h:i;o[a+1|0]=f>>>0>g>>>0?f:g;o[a|0]=d>>>0>e>>>0?d:e}function xk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=$i(b,0);e=$i(c,0);f=$i(b,1);g=$i(c,1);h=$i(b,2);i=$i(c,2);b=$i(b,3);c=$i(c,3);o[a+3|0]=b>>>0>>0?b:c;o[a+2|0]=h>>>0>>0?h:i;o[a+1|0]=f>>>0>>0?f:g;o[a|0]=d>>>0>>0?d:e}function qW(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=Jx(Ai(a,1),b+12|0);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;c=q[b+12>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 2}function gwa(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=w(e,f);g=c&65535;h=a&65535;i=w(g,h);f=(i>>>16|0)+w(f,g)|0;e=(f&65535)+w(e,h)|0;a=(w(b,c)+j|0)+w(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;ii=a;return b}function _R(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[c+4>>2]=4;d=a;a:{if((Nn(q[b>>2],0,32,c+8|0,c+4|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=124095;a=2;break a}b=Gx(q[c+8>>2]);a=1}wi(d,b);fi=c+16|0;return a|0}function Z8(a){var b=0,c=0;c=q[a>>2];b=bj(c,36);q[b+16>>2]=-2;q[b+20>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2;q[b>>2]=-2;q[b+4>>2]=-2;q[b+28>>2]=0;q[b+32>>2]=-2;q[b+24>>2]=a;zi(c,-1e4,184964);aj(c,-2);q[b+32>>2]=ck(c,-1e4);return b}function UZ(a){a=a|0;var b=0;vj(a,1,5);vj(a,2,6);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a:{if(dk(a,1)){while(1){Hi(a,2);Hi(a,-3);Hi(a,-3);zk(a,2,1);b=1;if(ri(a,-1)){break a}oi(a,-3);if(dk(a,1)){continue}break}}b=0}return b|0}function zo(a,b,c){var d=0,e=0;d=-4;a:{if(c>>>0>1){break a}e=b>>>5|0;b:{if(q[a+4>>2]<<5>>>0<=b>>>0){if(!c){break b}d=Vk(a,e+1|0);if(d){break a}}a=q[a+8>>2]+(e<<2)|0;d=q[a>>2];e=a;a=b&31;q[e>>2]=owa(-2,a)&d|c<>2];b=q[q[a+8>>2]+8>>2];if(q[b+4>>2]){a=0;while(1){d=q[b>>2]+w(a,80)|0;Di(c,q[d+24>>2]);ro(q[d+72>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}Yo(c,b+8|0);mA(b);ki(b);return 0}function ey(a,b){var c=0,d=0,e=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,1,61062,970);d=bj(a,8);q[d>>2]=q[b>>2];q[d>>2]=q[b>>2];b=q[b+4>>2];q[d+4>>2]=b;if(b>>>0>=3){J(61124,61062,975,61154);G()}zi(a,-1e4,60842);aj(a,-2);Si(e);fi=c+32|0}function _Z(a){a=a|0;var b=0;if(!Fj(a,1)){Hi(a,-10003);qq(a,0,0,0);oi(a,2);ij(a,0,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-3);Wi(a,-3);ak(a,-2);oi(a,-2);fo(a);return 0}return q[a+8>>2]-q[a+12>>2]>>4}function YA(a,b,c,d){b=b-c|0;a:{b:{switch(q[d>>2]){case 13:case 14:b=(b|0)<0?0:b+1|0;Qt(a,d,b);if((b|0)<2){break a}Fp(a,b-1|0);return;default:pm(a,d);break;case 0:break b}}if((b|0)<1){break a}c=q[a+36>>2];Fp(a,b);mX(a,c,b)}}function Vk(a,b){var c=0,d=0,e=0;c=-16;a:{if(b>>>0>1e4){break a}d=q[a+4>>2];if(d>>>0>>0){e=Oj(b,4);if(!e){break a}c=q[a+8>>2];if(c){si(e,c,d<<2);ji[q[66742]](c,0,d<<2)|0;ki(q[a+8>>2])}q[a+8>>2]=e;q[a+4>>2]=b}c=0}return c}function II(a,b,c){var d=0;a:{d=q[a+280>>2];a=q[a+276>>2];d=d-a>>3;if((d&65535)>>>0>b>>>0){if(b>>>0>=d>>>0){break a}a=a+(b<<3)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;a=0}else{a=-5}return a}J(186773,186599,447,186784);G()}function fs(a){var b=0,c=0;b=fi-400|0;fi=b;a=qi(a,0,264);EB(b);kj(a- -64|0,183964,32);kj(a+96|0,b+130|0,32);o[a|0]=0;q[a+260>>2]=Ih();c=Gh(183970)|0;n$(c,a);T(b+396|0)|0;q[a+192>>2]=q[zx(b+396|0)+36>>2]/60;ki(c);fi=b+400|0}function yfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[63160],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]>>2]);jk(q[a+20>>2],q[q[b+12>>2]+12>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function p0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0);b=fi-48|0;fi=b;c=Vi(a,1);d=u[c>>2];e=u[c+4>>2];f=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=120672;v[b+8>>3]=d;nj(a,121487,b);fi=b+48|0;return 1}function iZ(a){var b=0,c=0;b=208944;c=a-1|0;a:{if(!c){break a}while(1){if(!r[b|0]){break a}while(1){a=b;b=b+1|0;if(r[a+1|0]){continue}break}b=a+2|0;c=c-1|0;if(c){continue}break}}return mM(r[b|0]?b:b+1|0,q[q[72353]+20>>2])}function _C(a,b,c,d,e,f){var g=0;g=fi-16|0;fi=g;q[g+12>>2]=d;d=-16e3;a:{if(!q[a>>2]){break a}if(EC(b,g+12|0)){break a}d=q[q[a>>2]+16>>2];if(!d){d=-16128;break a}d=ji[d|0](q[a+4>>2],b,c,q[g+12>>2],e,f)|0}fi=g+16|0;return d}function Ni(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=fi-16|0;fi=d;c=_i(a,b,c);if(!c){g=q[65292];h=d;f=ri(a,b);e=125997;a:{if((f|0)==-1){break a}e=q[(f<<2)+261152>>2]}q[h+4>>2]=e;q[d>>2]=g;Mj(a,b,nj(a,128655,d))}fi=d+16|0;return c}function E1(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0);b=fi-48|0;fi=b;c=Vi(a,1);d=u[c>>2];e=u[c+4>>2];f=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=120688;v[b+8>>3]=d;nj(a,121487,b);fi=b+48|0;return 1}function ux(a,b,c,d){var e=0,f=0;d=(d|0)==-1?0:d<<23;e=b<<6;f=((c-1|0)/50|0)+1|0;a:{if((c|0)<=25550){Jk(a,d|e|f<<14|34,q[q[a+12>>2]+8>>2]);break a}Jk(a,d|e|34,q[q[a+12>>2]+8>>2]);Jk(a,f,q[q[a+12>>2]+8>>2])}q[a+36>>2]=b+1}function sG(a){var b=0;a:{if(!(!a|!r[852367])){while(1){b=q[213093];q[213093]=b?b:1;if(b){continue}break}b=q[213075];if((b|0)==q[213076]){break a}q[213075]=b+4;q[b>>2]=a;q[213093]=0}return}J(158312,158259,501,158336);G()}function kW(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;d=nS(Ai(a,1),c+8|0);e=v[c+8>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;fi=c+16|0;return 2}function bha(a){a=a|0;var b=0,c=0,d=0;b=-13;c=q[a+4>>2];d=q[a+20>>2];a:{if(!Zo(q[a>>2],q[c+4>>2],d)){break a}c=Z8(q[c>>2]);if(aI(c,d)){break a}b=q[a+24>>2];q[b+8>>2]=c;q[b+16>>2]=q[a+16>>2]-q[d+4>>2];b=0}Ui(d);return b|0}function _x(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=q[a>>2];c=q[d+104>>2];e=q[d+108>>2];if((c|0)==(e|0)){break a}while(1){f=q[q[c>>2]+20>>2];if(f){ji[f|0](a,b);e=q[d+108>>2]}c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function Ysa(a,b,c,d){q[d>>2]=91744;if(a>>>0>=2){if((a|0)==3){q[d>>2]=(c<<4)+87216;return w(c,3)+87792|0}if((b|0)==7){q[d>>2]=(c<<4)+87392;return w(c,3)+87840|0}q[d>>2]=(c<<4)+86736;a=w(c,3)+87696|0}else{a=91744}return a}function Rga(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=JJ(q[a>>2],q[a+4>>2],q[a+20>>2],0,b+12|0);a:{if(!d){c=q[b+12>>2];q[q[a+24>>2]+8>>2]=c;c=lG(c);q[q[a+24>>2]+16>>2]=c;break a}q[q[a+24>>2]+8>>2]=0}fi=b+16|0;return d|0}function Lfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[62596],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]>>2]);jk(q[a+20>>2],q[q[b+12>>2]+8>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function dF(a,b){var c=0,d=0,e=0,f=0;c=fi-32|0;fi=c;q[c+16>>2]=0;e=Fl(a,3,c+16|0);d=789;a:{b:{if((e|0)<0){break b}q[c>>2]=e&-2049|(b?0:2048);if((Fl(a,4,c)|0)>-1){break a}d=803}f=Ll(158710,d,q[240833])}fi=c+32|0;return f}function bp(a,b){var c=0,d=0;c=q[b+80>>2];d=q[c+4148>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[c+4152>>2]-d>>6>>>0){J(12475,10090,447,9406);G()}b=d+(b<<6)|0;d=q[b+52>>2];c=q[b+48>>2];u[a+8>>2]=u[b+56>>2];q[a>>2]=c;q[a+4>>2]=d}function Xma(a){a=a|0;var b=0,c=0;Ki(a);b=yi(a,-1,q[72645],18648);oi(a,-2);c=a;a:{if(q[a+8>>2]-q[a+12>>2]>>4>=1){a=Ni(a,1,0);a=Ls(q[b+4>>2],a,Fi(a));b=ii;break a}b=q[b+4>>2];a=q[b+96>>2];b=q[b+100>>2]}Yj(c,a,b);return 1}function Vka(a){a=a|0;var b=0,c=0;b=q[a>>2];c=q[b+16>>2];a=q[q[a+4>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0<(c-b|0)/240>>>0){return b+w(a,240)|0}}J(43678,43572,447,43689);G()}function U0(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;a=q[a+120>>2];d=Ti(b+8|0,a,0,119520,685);ek(a,119809,258272);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4294967295;q[a+8>>2]=q[a+8>>2]+16;pi(a,-2,119815);oi(a,-2);Si(d);fi=b+32|0}function Jm(a){var b=0,c=0,d=0;b=-20736;a:{if(!a){break a}c=q[a>>2];if(!c){break a}d=q[a+8>>2];if(!d){break a}b=ji[q[c+16>>2]](q[a+4>>2])|0;if(b){break a}b=q[a+4>>2];a=q[a>>2];b=ji[q[a+20>>2]](b,d,q[a+12>>2])|0}return b}function Dca(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){vc(q[(b<<2)+82032>>2],q[(c<<2)+82032>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2768,82003);G()}Mi(a,82003,2795);J(79249,79164,2795,82003);G()}function CZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=-24832;if(!(!a|!c)){q[c>>2]=0;if(!b){return 0}while(1){e=0;g=b;h=d;b=b-1|0;d=r[b+a|0]!=0|d;f=((h|0)==(d|0)?0:g)|f;q[c>>2]=f;if(b){continue}break}}return e|0}function vx(a,b,c){var d=0,e=0;d=Zr(b,c);o[b+6|0]=0;if((d|0)==126472){a:{b:{switch(q[c+8>>2]){case 0:Ck(a,127977,0);break a;case 3:break b;default:break a}}e=v[c>>3];if(e==e){break a}Ck(a,127996,0)}d=sp(a,b,c)}return d}function vl(a,b,c){var d=0;d=q[b>>2];a:{b:{if((w(d,q[c>>2])|0)<=-1){if((Gr(b,c)|0)>=0){c=Tm(a,b,c);if(!c){break b}break a}c=Tm(a,c,b);if(c){break a}q[a>>2]=0-d;return 0}c=Hr(a,b,c);if(c){break a}}q[a>>2]=d;c=0}return c}function tu(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;a:{b:{if(s[a+24>>1]>=c>>>0){e=c<<4;f=q[a>>2];break b}q[d+12>>2]=0;e=c<<4;if(Lp(d+12|0,16,e)){break a}ki(q[a>>2]);f=q[d+12>>2];q[a>>2]=f}si(f,b,e);p[a+24>>1]=c}fi=d+16|0}function pqa(a){a=a|0;var b=0,c=0;b=gj(a,1);if(!((b|0)==1&r[906204]!=0)){ni(a,194044,0)}c=gj(a,2);if(c>>>0>=10){return ni(a,194071,0)|0}b=iqa(b,c);if(!b){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}wi(a,b);return 1}function Xp(a,b,c){var d=0,e=0,f=0;q[c>>2]=0;if(b){e=q[a>>2];while(1){if((r[e|0]-48&255)>>>0>9){return-9216}d=w(d,10);q[c>>2]=d;f=e+1|0;q[a>>2]=f;d=(d+r[e|0]|0)-48|0;q[c>>2]=d;e=f;b=b-1|0;if(b){continue}break}}return 0}function G0(a){a=a|0;var b=0,c=0,d=0;b=fk(a,1,q[210276]);c=fk(a,2,q[210276]);if(!(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2]))){d=u[b+8>>2]==u[c+8>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function E3(a){var b=0,c=0;b=q[72984];if(b>>>0>=4){J(28066,28134,63,28162);G()}q[72984]=b+1;b=w(b,20)+291952|0;q[b+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c}function C6(a){var b=0,c=0;b=fi-32|0;fi=b;c=q[212987];if(c){Qj(c);q[212987]=0}c=sk(a,156493);q[212987]=c;a:{if(c){q[b+16>>2]=a;mi(2,156383,156496,b+16|0);break a}q[b>>2]=a;mi(5,156383,156515,b)}fi=b+32|0;return(c|0)!=0}function yE(a){var b=0;b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=132681;q[a+8>>2]=q[a+8>>2]+16;gl(a,-1e4);if((ri(a,-1)|0)!=5){oi(a,-2);ij(a,0,1);b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=132681;q[a+8>>2]=q[a+8>>2]+16;Hi(a,-2);qj(a,-1e4)}}function kx(a){q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}function fl(a,b,c){var d=0;d=q[b>>2];a:{b:{if((w(d,q[c>>2])|0)>=1){if((Gr(b,c)|0)>=0){c=Tm(a,b,c);if(!c){break b}break a}c=Tm(a,c,b);if(c){break a}q[a>>2]=0-d;return 0}c=Hr(a,b,c);if(c){break a}}q[a>>2]=d;c=0}return c}function at(a,b,c){Vr(a,b);wi(a,123468);ij(a,0,0);wi(a,123476);wi(a,b);qj(a,-3);b=q[c>>2];if(b){while(1){wi(a,b);Wj(a,q[c+4>>2],0);qj(a,r[q[c>>2]]==95?-5:-3);b=q[c+8>>2];c=c+8|0;if(b){continue}break}}qj(a,-3);oi(a,-2)}function Npa(a){q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+32>>2]=0;q[a+48>>2]=0;o[a+44|0]=1;q[a+24>>2]=0;q[a+28>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+36>>2]=0;q[a+20>>2]=-1;Nu(a,2048,2048);return a}function Kaa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[a+8>>2]-q[a+12>>2]|0;c=Zi(a,1,b+12|0);Yj(a,q[c+544>>2],q[c+548>>2]);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,510,187477);G()}fi=b+16|0;return 1}function J4(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Ki(a);yi(a,-1,q[79069],107729);oi(a,-2);if(b>>4==q[a+8>>2]-q[a+12>>2]>>4){if(!r[316272]){o[316272]=1;mi(3,105772,105779,0)}return 0}J(104348,104245,265,107702);G()}function py(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=q[a>>2];b=q[c+104>>2];d=q[c+108>>2];if((b|0)==(d|0)){break a}while(1){e=q[q[b>>2]+28>>2];if(e){ji[e|0](a);d=q[c+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}}function oca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(a){Xb(q[(b<<2)+82160>>2],c|0,d|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2862,82230);G()}Mi(a,82230,2864);J(79249,79164,2864,82230);G()}function ky(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=q[a>>2];b=q[c+104>>2];d=q[c+108>>2];if((b|0)==(d|0)){break a}while(1){e=q[q[b>>2]+24>>2];if(e){ji[e|0](a);d=q[c+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}}function _z(a,b){var c=0,d=0,e=0;a:{if(!b){break a}e=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(!e){break a}while(1){d=Z5(b,c);if(d){Di(a,d);BG(b,c,0)}d=X5(b,c);if(d){Di(a,d);zG(b,c,0)}c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Jma(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Fm(a,2);a=il(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];a=q[b+4>>2];d=q[b>>2];u[c+24>>2]=u[b+8>>2];q[c+16>>2]=d;q[c+20>>2]=a;fi=b+16|0;return 0}function vu(){var a=0;a=Ci(48);q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+20>>2]=-1;oz(a,9,16);return a}function aw(a,b,c,d,e){var f=0;f=ew(a,b,c,d);if(t[e>>2]>2]){ol(d,e);if(t[d>>2]>=t[c>>2]){return f+1|0}ol(c,d);if(t[c>>2]>=t[b>>2]){return f+2|0}ol(b,c);if(t[b>>2]>=t[a>>2]){return f+3|0}ol(a,b);f=f+4|0}return f}function Faa(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);Yj(a,q[b+312>>2],q[b+316>>2]);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(187441,187364,2056,191895);G()}return 1}function vT(a,b,c){var d=0;d=q[a>>2];if((b-d|0)<1){return-8928}if((r[d|0]|128)!=130){return-8930}q[a>>2]=d+1;q[c>>2]=r[d|0];b=mq(a,b,c+4|0);if(b){return b-8832|0}q[c+8>>2]=q[a>>2];q[a>>2]=q[a>>2]+q[c+4>>2];return 0}function tca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(a){p[a+32>>1]=c;p[a+30>>1]=b;d=q[a+132>>2];if(d){ji[q[74963]](d,a)}p[a+120>>1]=c;p[a+118>>1]=b;p[a+76>>1]=c;p[a+74>>1]=b;YI(a,1);return}J(82867,79164,2146,82933);G()}function pea(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;d=Ti(b+8|0,a,0,61062,808);a:{if((ri(a,1)|0)!=7){break a}c=fk(a,1,q[74123]);if(!c){break a}if(!xm(q[c>>2])){break a}sj(a,-1e4,q[c+44>>2])}Si(d);fi=b+32|0;return 0}function o$(){var a=0,b=0;b=Ci(36);a=b;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+20>>2]=-1;a=Ci(4104);q[a+4096>>2]=0;q[a+4100>>2]=0;q[b+32>>2]=a;return b}function nqa(a){a=a|0;var b=0,c=0;if(cL(957616)){b=1}else{b=cL(956592)}if(b){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Zk(956592);Zk(957616);return 1}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}function hC(a){var b=0;a:{if(q[a+4>>2]-1>>>0<2?!(o[q[a>>2]+184|0]&1):0){break a}b:{b=q[a+68>>2];if(b){b=s[b+592>>1];if(b){break b}}b=s[a+228>>1];break a}a=s[a+228>>1];if(!a){break a}b=a>>>0>>0?a:b}return b&65535}function bN(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;b=Lj(a,b,e+12|0,48);a:{if(b){b=b-9216|0;break a}f=q[a>>2]+q[e+12>>2]|0;b=NC(a,f,c);if(b){break a}b=NC(a,f,d);if(b){break a}b=q[a>>2]==(f|0)?0:-9318}fi=e+16|0;return b}function QK(a,b,c){var d=0,e=0,f=0,g=0;d=q[b+40>>2]+15&-16;e=q[c+16>>2];f=d+e|0;q[b+40>>2]=f;g=r[b+44|0];if(!(g|t[b+36>>2]>=f>>>0)){J(23836,23867,42,23898);G()}o[a+12|0]=(g|0)!=0;q[a+4>>2]=d;q[a>>2]=c;q[a+8>>2]=d+e}function Ona(a){var b=0;b=Ci(48);q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=q[a>>2];q[b+40>>2]=q[a+4>>2];q[b+44>>2]=q[a+8>>2];return b}function Ny(a){var b=0;b=q[a+92>>2];if(b){ki(b)}b=q[a+96>>2];if(b){ki(b)}b=q[a+124>>2];if(b){ki(b)}ji[q[74962]](q[a>>2]);a:{if(o[a+36|0]&1){break a}b=q[a+16>>2];if(b){ki(b)}b=q[a+8>>2];if(!b){break a}ki(b)}return a}function qca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){Yb(b|0,c|0,d|0,e|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2848,82192);G()}Mi(a,82192,2850);J(79249,79164,2850,82192);G()}function kV(a,b,c,d,e,f){var g=0;g=fi-32|0;fi=g;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a=P_(a,g+16|0,g,a+124|0,c,d,b);if(!a){a=N_(g+16|0,g,e,f)}Ji(g+16|0);Ji(g);fi=g+32|0;return a}function fr(a,b){var c=0,d=0,e=0;c=a*a;d=c*a;e=d*(c*.13339200271297674+.3333313950307914)+a;a=c*c;a=e+d*a*(c*.024528318116654728+.05338123784456704+a*(c*.009465647849436732+.002974357433599673));return x(b?-1/a:a)}function dca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){Pb(b|0,c|0,d|0,e|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,1905,81903);G()}Mi(a,81903,1908);J(79249,79164,1908,81903);G()}function Xk(a,b){var c=0;c=fi-32|0;fi=c;a:{if((b|0)<=256){a=q[a+52>>2];if((b|0)==127|b>>>0<32){q[c+16>>2]=b;a=Oi(a,126979,c+16|0);break a}q[c>>2]=b;a=Oi(a,126988,c);break a}a=q[(b<<2)+259996>>2]}fi=c+32|0;return a}function W9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,0,187364,3983);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+4|0);if((r8(d,q[b+4>>2])|0)==-10){e=uj(c,193100,0)}Si(c);fi=b+32|0;return e|0}function Sda(a){a=a|0;var b=0;b=fi-16|0;fi=b;a:{b:{if(!a){break b}q[b+12>>2]=a;Ya(1,b+12|0);if(!(r[q[74995]+104|0]&8)){break b}a=K()|0;if(a){break a}}fi=b+16|0;return}Mi(a,81041,1395);J(79249,79164,1395,81041);G()}function P5(a){q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=1065353216;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=4;q[a+20>>2]=1065353216;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=-1054867456;o[a+48|0]=r[a+48|0]&254;return a}function Oda(a){a=a|0;var b=0;b=fi-16|0;fi=b;a:{b:{if(!a){break b}q[b+12>>2]=a;Ya(1,b+12|0);if(!(r[q[74995]+104|0]&8)){break b}a=K()|0;if(a){break a}}fi=b+16|0;return}Mi(a,80883,1335);J(79249,79164,1335,80883);G()}function DX(a,b){var c=0,d=0;d=q[a+40>>2];a:{if(b+1>>>0<=178956970){c=dj(a,d,w(q[a+48>>2],24),w(b,24));break a}c=Rj(a)}q[a+48>>2]=b;q[a+40>>2]=c;q[a+36>>2]=(w(b,24)+c|0)-24;q[a+20>>2]=w((q[a+20>>2]-d|0)/24|0,24)+c}function Cca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){qc(b|0,c|0,d|0,e|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2800,82092);G()}Mi(a,82092,2802);J(79249,79164,2802,82092);G()}function AE(a){var b=0,c=0,d=0;wi(a,123942);Tj(a,-2);b=-1;a:{if(!ri(a,-1)){break a}Hi(a,-2);zk(a,1,1);if(!Gj(a,-1)){break a}c=wj(a,-1);b=c>=0;if(y(c)<2147483648){d=~~c}else{d=-2147483648}b=b?d:-1}oi(a,-2);return b}function yj(a){var b=0,c=0;q[a+8>>2]=q[a+4>>2];if(q[a+32>>2]!=287){b=a+32|0;c=q[b+4>>2];q[a+16>>2]=q[b>>2];q[a+20>>2]=c;c=q[b+12>>2];q[a+24>>2]=q[b+8>>2];q[a+28>>2]=c;q[a+32>>2]=287;return}q[a+16>>2]=mE(a,a+24|0)}function nba(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;c=Vi(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;ji[q[q[c+12>>2]+4>>2]](c,b);Ml(a,b);fi=b+32|0;return 1}function _4(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,1,104245,337);b=Vi(a,1);d=-2;a:{if(!b){break a}d=+q[b+328>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=c+32|0;return 1}function P6(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;e=Ti(b+8|0,a,0,71745,239);d=Ni(a,1,0);c=Ci(8);q[c>>2]=Rn(a,2);q[c+4>>2]=Sk(d);a=M6(d,c);if(a){q[b>>2]=a;mi(4,71838,72360,b);VG(0,c)}Si(e);fi=b+32|0;return 0}function NU(a,b,c){var d=0;a:{d=q[a>>2];if((d|0)<0){b=-69;break a}b=eR(d,b,c);if((b|0)>-1){break a}b=-26880;if(IC(a)){break a}b=-80;if(q[240833]==64|q[240833]==15){break a}return q[240833]==27?-26880:-76}return b}function wi(a,b){var c=0,d=0;a:{if(!b){b=q[a+8>>2];q[b+8>>2]=0;a=a+8|0;break a}d=Fi(b);c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){Ul(a)}c=q[a+8>>2];b=Bj(a,b,d);q[c+8>>2]=4;q[c>>2]=b;b=q[a+8>>2];a=a+8|0}q[a>>2]=b+16}function oba(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,1,187364,246);b=Vi(a,1);d=-2;a:{if(!b){break a}d=+q[b+8>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=c+32|0;return 1}function o0(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0);b=Vi(a,1);c=u[b>>2];d=u[b+4>>2];e=u[b+8>>2];f=u[b+12>>2];b=bj(a,16);u[b+12>>2]=-f;u[b+8>>2]=-e;u[b+4>>2]=-d;u[b>>2]=-c;zi(a,-1e4,120672);aj(a,-2);return 1}function kna(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-32|0;fi=c;e=Ti(c+8|0,a,1,15813,342);b=Vi(a,1);d=-2;a:{if(!b){break a}d=+q[b+20>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Si(e);fi=c+32|0;return 1}function $L(a,b,c,d,e,f,g){a:{b:{if(a-13>>>0<4){a=0;if(w(f?f:d,e?e:c)>>>0<=b>>>0){break b}break a}if((a|0)==17){a=0;if(w(d+3>>>2|0,c+7>>>3|0)>>>0<=b>>>0){break b}break a}a=0;if(b>>>0>>0){break a}}a=1}return a}function gaa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;Zi(a,1,b+12|0);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);c=tba(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function Pqa(a,b,c){var d=0;a:{b:{if((b|0)==8){b=xi(c);break b}d=28;if(b&3){break a}if((mwa(b>>>2|0)|0)!=1){break a}d=48;if(-64-b>>>0>>0){break a}b=XY(b>>>0>16?b:16,c)}if(!b){return 48}q[a>>2]=b;d=0}return d}function ED(a,b,c,d){var e=0;e=-13;a:{b=AD(b,d);if(!b|q[b+24>>2]!=16){break a}if(a){e=q[a+60>>2];if(e){ji[q[q[q[a>>2]+28>>2]+32>>2]](e)}ji[q[66742]](a,0,64)|0}e=Ft(a,b);if(e){break a}return Gt(a,c,d,1)}return e}function t2(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=x(d);e=e|0;f=f|0;a=fi-16|0;fi=a;a:{if(!qn(f)){break a}if((b|0)!=2){u[a+12>>2]=d;q[a+8>>2]=c;js(f,817,a+8|0);if((b|0)==1){break a}}if(!qn(f)){break a}rn(f)}fi=a+16|0}function XV(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=lx(a,b,c,d);a:{if(a){break a}a=-104;b:{switch(q[d>>2]){case 0:case 5:break b;default:break a}}a=q[d+4>>2]?-104:0}fi=d+16|0;return a}function p$(a){var b=0,c=0;a:{c=q[a+32>>2];if(c){while(1){b=q[c+4100>>2];ki(c);c=b;if(b){continue}break}if(!a){break a}}b:{if(o[a+28|0]&1){break b}b=q[a+8>>2];if(b){ki(b)}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}}function nn(a){var b=0;if(a){if(q[a+76>>2]<=-1){return gB(a)}return gB(a)}if(q[72272]){b=nn(q[72272])}a=q[240822];if(a){while(1){if(t[a+20>>2]>t[a+28>>2]){b=gB(a)|b}a=q[a+56>>2];if(a){continue}break}}return b}function kda(a){a=a|0;var b=0,c=0,d=0,e=0;b=s[a+20>>1];a:{if(!b){b=0;break a}e=b>>>0>1?b:1;c=q[a+8>>2];b=0;while(1){b=b+c|0;c=c>>>2|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}return(q[a>>2]==1?w(b,6):b)+68|0}function hla(a,b){a=a|0;b=b|0;a:{if((q[b+8>>2]&-2)==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=425;return}J(41544,39661,2594,41662);G()}J(41684,39661,2595,41662);G()}function gu(a,b){var c=0,d=0,e=0,f=0;c=fi-1024|0;fi=c;d=a;e=q[b>>2];f=q[b+4>>2];a=q[b+8>>2];b=0;a:{if(!a){break a}b=Fi(a);o[c|0]=61;kj(c|1,b>>>0>58?(a+b|0)-59|0:a,1023);b=c}a=Ot(d,e,f,b);fi=c+1024|0;return a}function fsa(a){a=a|0;var b=0,c=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b^-1;q[a+8>>2]=q[a+8>>2]+16;return 1}function bw(a,b,c,d,e){var f=0;f=fw(a,b,c,d);if(r[e|0]=r[c|0]){return f+1|0}dl(c,d);if(r[c|0]>=r[b|0]){return f+2|0}dl(b,c);if(r[b|0]>=r[a|0]){return f+3|0}dl(a,b);f=f+4|0}return f}function M3(a){q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=805306368;q[a+20>>2]=805306368}function L9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);d=Ai(a,2);a=c;c=a;e=q[a+412>>2]&-25165825;if(y(d)<2147483648){a=~~d}else{a=-2147483648}q[c+412>>2]=e|a<<23&25165824;fi=b+16|0;return 0}function Dx(a){var b=0,c=0,d=0;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}c=q[a+36>>2];if(!c){break a}d=q[b+52>>2];if(d){ji[c|0](q[a+40>>2],d);c=q[a+36>>2];b=q[a+28>>2]}ji[c|0](q[a+40>>2],b);q[a+28>>2]=0}}function y7(){var a=0,b=0,c=0;a=fi-16|0;fi=a;c=q[212944];tj(c);a:{b=q[212943];if(!b){q[a+8>>2]=32;q[a+12>>2]=10;if(gL(a+8|0)){break a}b=q[212943]}lj(c);vqa(b);fi=a+16|0;return}J(153160,153193,85,153221);G()}function eV(a,b,c){var d=0;d=-20352;a:{if(c>>>0<3){break a}c=q[b>>2];q[b>>2]=c+1;if(r[c|0]!=3){break a}q[b>>2]=c+2;d=r[c+1|0];q[b>>2]=c+3;b=hV(r[c+2|0]|d<<8);if(!b){return-20096}q[a>>2]=q[b>>2];d=0}return d}function Zra(a){a=a|0;var b=0,c=0;xwa(+(wj(a,1)+6755399441055744));uwa(1)|0;b=uwa(0)|0;a:{if(b){break a}if(Gj(a,1)){break a}hk(a,1,123360)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Oba(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;o[d+12|0]=0;a:{while(1){q[d+8>>2]=w(e,816)+b;f=Nq(a,4,-2,d+8|0);if(f){break a}o[c+e|0]=r[d+12|0];e=e+1|0;if((e|0)!=1){continue}break}f=0}fi=d+16|0;return f}function Cha(a){a=a|0;var b=0;a:{if(q[a+8>>2]!=1){break a}b=q[a+16>>2];if((b|0)==q[a+20>>2]){break a}while(1){Sn(q[a>>2],q[(q[a+12>>2]+w(q[b>>2],48)|0)+32>>2]);b=b+4|0;if((b|0)!=q[a+20>>2]){continue}break}}}function wja(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=q[a+192>>2];if(!g){g=Np();q[a+192>>2]=g}h=q[a+200>>2];if(!h){h=q[q[a+188>>2]+16>>2]}Sq(g,h,b,c,d,e,f);p[a+234>>1]=s[a+234>>1]|256}function Ela(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=q[a+8>>2];e=q[a+12>>2];c=q[q[a+16>>2]>>2];q[c>>2]=q[a+4>>2];o[c+24|0]=r[c+24|0]&249|4;if(!AJ(e,d,c,1)){q[b>>2]=36760;mi(4,35903,36757,b)}fi=b+16|0}function $s(a,b,c,d){var e=0,f=0;if(d>>>0<10){if(d){e=q[b>>2];a=(e>>3)+a|0;f=c;c=e&7;e=f<>>0>>0){o[a+1|0]=r[a+1|0]|e>>>8}q[b>>2]=q[b>>2]+d}return}J(96182,85651,11854,96196);G()}function qY(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Mx(a,Ni(a,1,0),129912);a:{if(!c){break a}if(!sx(a,c)){break a}d=_i(a,1,0);q[b+8>>2]=_i(a,-1,0);q[b+4>>2]=c;q[b>>2]=d;ni(a,130419,b)}fi=b+16|0;return 1}function Qta(a){var b=0;q[a>>2]=0;b=a+4|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+16|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[a+28>>2]=0;Pm(a+32|0);Pm(a+68|0);Pm(a+104|0);Pm(a+140|0);q[a+176>>2]=0;Fta(a+180|0)}function Moa(a){a=a|0;var b=0;a=q[a+4>>2];b=q[a+8>>2]-q[a+12>>2]>>4;zi(a,-10002,5283);if(!ri(a,-1)){oi(a,-2);ek(a,5283,236208)}oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(5292,5313,53,5338);G()}return 0}function Lma(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;c=Ai(a,1);d=Ai(a,2);q[b+24>>2]=1065353216;u[b+20>>2]=d;u[b+16>>2]=c;q[b+8>>2]=-1082130432;q[b>>2]=0;q[b+4>>2]=0;hl(a,b+16|0);hl(a,b);fi=b+32|0;return 2}function Aua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fi-16|0;fi=e;a=lb(q[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}q[240833]=a;b=-1}a=b;fi=e+16|0;ii=a?-1:q[e+12>>2];return(a?-1:q[e+8>>2])|0}function fn(a,b,c){var d=0,e=0,f=0,g=0;q[a+112>>2]=b;q[a+116>>2]=c;d=q[a+8>>2];g=q[a+4>>2];e=d-g|0;f=e>>31;q[a+120>>2]=e;q[a+124>>2]=f;q[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function _l(a,b,c,d,e){var f=0;f=fi-256|0;fi=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;qi(f,b&255,d?c:256);if(!d){while(1){Dl(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Dl(a,f,c)}fi=f+256|0}function P9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);d=Ai(a,2);a=c;c=a;e=q[a+412>>2]&-196609;if(y(d)<2147483648){a=~~d}else{a=-2147483648}q[c+412>>2]=e|a<<16&196608;fi=b+16|0;return 0}function wka(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=434;return}J(44649,44705,1036,44745);G()}J(44768,44705,1037,44745);G()}function oi(a,b){var c=0;if((b|0)>=0){c=q[a+8>>2];b=q[a+12>>2]+(b<<4)|0;if(c>>>0>>0){while(1){q[c+8>>2]=0;c=c+16|0;if(b>>>0>c>>>0){continue}break}}q[a+8>>2]=b;return}q[a+8>>2]=(q[a+8>>2]+(b<<4)|0)+16}function mk(a){var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;d=-1;c=ji[q[a+8>>2]](q[a+16>>2],q[a+12>>2],b+12|0)|0;a:{if(!c){break a}e=q[b+12>>2];if(!e){break a}q[a+4>>2]=c+1;q[a>>2]=e-1;d=r[c|0]}fi=b+16|0;return d}function gp(a,b,c,d){var e=0,f=0,g=0;if(d){e=q[b>>2];while(1){f=q[b>>2];g=(f>>3)+a|0;o[g|0]=r[g|0]|c<<(f&7);e=8-(e&7)|0;f=(d|0)<(e|0)?d:e;e=f+q[b>>2]|0;q[b>>2]=e;c=c>>>f|0;d=d-f|0;if(d){continue}break}}}function fka(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=441;return}J(46967,47023,1102,47064);G()}J(47088,47023,1103,47064);G()}function ffa(a){var b=0,c=0;a:{a=q[a>>2];if(!a){break a}c=q[a+8>>2]-q[a+12>>2]>>4;ns(a,q[74460]);b=Vi(a,-1);oi(a,-2);if(b){ki(b)}if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(68113,67527,1372,68134);G()}}function aP(a,b,c){var d=0;d=q[a+204>>2];q[c>>2]=0;d=d+16384|0;if(!(!(q[q[a>>2]+184>>2]&448)|d>>>0>>0|d-b>>>0<5)){o[b|0]=0;o[b+1|0]=1;o[b+2|0]=0;o[b+3|0]=1;o[b+4|0]=q[q[a>>2]+184>>2]>>>6&7;q[c>>2]=5}}function Vua(a){a=a|0;a:{if(o[852112]&1){break a}a=q[213025];if(!a){break a}ki(a)}b:{if(o[852096]&1){break b}a=q[213021];if(!a){break b}ki(a)}c:{if(o[852080]&1){break c}a=q[213017];if(!a){break c}ki(a)}}function Nla(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=389;return}J(36872,36070,1730,36928);G()}J(36956,36070,1731,36928);G()}function Bja(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=447;return}J(51295,51351,1285,51393);G()}J(51418,51351,1286,51393);G()}function via(a,b,c,d,e,f,g){a=a|0;b=b|0;c=x(c);d=d|0;e=x(e);f=x(f);g=g|0;var h=0;h=fi-16|0;fi=h;Ky(a,b,c,d,e,f,h);u[g>>2]=u[h>>2];u[g+4>>2]=u[h+4>>2];u[g+8>>2]=u[h+8>>2];u[g+12>>2]=u[h+12>>2];fi=h+16|0}function pr(a,b){var c=0,d=0,e=0;c=q[a+192>>2];d=q[q[a>>2]+184>>2]&2;e=c+(d?13:5)|0;q[a+200>>2]=e;q[a+196>>2]=(d?11:3)+c;q[a+188>>2]=(d?3:-8)+c;q[a+204>>2]=!b|q[a+20>>2]<2?e:(q[b+4>>2]+e|0)-q[b+8>>2]|0}function ooa(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=31;return}J(13306,12779,1104,13362);G()}J(13387,12779,1105,13362);G()}function nD(){if(!r[842832]){q[210722]=10;q[210723]=0;q[210720]=11;q[210721]=1;q[210718]=6;q[210719]=2;q[210716]=3;q[210717]=12;q[210714]=4;q[210715]=7;q[210712]=5;q[210713]=8;o[842832]=1}return 842848}function mja(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=451;return}J(53613,53009,1e3,53669);G()}J(53696,53009,1001,53669);G()}function lB(a,b,c,d){var e=0;e=q[a>>2];a:{if((e|0)==(b|0)){break a}q[c>>2]=r[e|0];b=Lj(a,b,c+4|0,d|160);if((b|0)==-98){break a}if(b){return b-8576|0}q[c+8>>2]=q[a>>2];q[a>>2]=q[a>>2]+q[c+4>>2]}return 0}function hda(a){a=a|0;var b=0;b=fi-16|0;fi=b;da(a|0,35718,b+12|0);a:{if(!(r[q[74995]+104|0]&8)){break a}a=K()|0;if(!a){break a}Mi(a,81824,1876);J(79249,79164,1876,81824);G()}fi=b+16|0;return q[b+12>>2]}function J$(a,b,c){var d=0,e=0;d=q[q[239986]+16>>2];if(d){tj(d);ki(q[a+8>>2]);e=xi(c);q[a+12>>2]=c;q[a+8>>2]=e;si(e,b,c);lj(d);return 0}ki(q[a+8>>2]);d=xi(c);q[a+12>>2]=c;q[a+8>>2]=d;si(d,b,c);return 0}function Aca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(a){Rb(d|0,c|0,b|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,1913,81846);G()}Mi(a,81846,1916);J(79249,79164,1916,81846);G()}function AD(a,b){var c=0,d=0,e=0;d=269984;c=q[67497];a:{if(c){while(1){e=d;if(q[c+4>>2]==1?!(q[q[c+28>>2]>>2]!=(a|0)|q[c+8>>2]!=(b|0)):0){break a}d=e+8|0;c=q[e+12>>2];if(c){continue}break}}c=0}return c}function $l(a){var b=0,c=0;a:{if(!a){break a}b=q[a>>2];if(!b){break a}c=q[a+4>>2];if(c){ji[q[b+36>>2]](c)}b=q[a+8>>2];if(b){ji[q[66742]](b,0,q[q[a>>2]+12>>2]<<1)|0;ki(q[a+8>>2])}ji[q[66742]](a,0,12)|0}}function ska(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=q[a+148>>2];if(!g){g=Np();q[a+148>>2]=g}h=q[a+192>>2];if(!h){h=q[q[a+152>>2]+8>>2]}Sq(g,h,b,c,d,e,f);o[a+206|0]=r[a+206|0]|4}function nN(a,b){var c=0;if(!(Ov(a+80|0,a+112|0)|!b)){c=q[a+8>>2];while(1){a:{if(q[b+8>>2]!=(c|0)){break a}if(ej(q[a+12>>2],q[b+12>>2],c)){break a}return 0}b=q[b+340>>2];if(b){continue}break}}return-1}function nL(a,b,c){var d=0;a:{if(!a){break a}d=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!d|s[d+16>>1]!=(a>>>16|0)|r[d+20|0]<=b>>>0){break a}a=q[d+4>>2]+(b<<4)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b}}function j$(a){var b=0,c=0;b=fi+ -64|0;fi=b;fb(30)|0;c=Ci(12);q[c+8>>2]=a;q[c+4>>2]=201227;q[c>>2]=1513;if(!(jb(b+12|0,b+16|0,1348,c|0)|0)){fi=b- -64|0;return q[b+12>>2]}J(169004,169013,81,169036);G()}function dpa(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;d=c+8|0;q[d>>2]=0;q[d+4>>2]=0;a=q[a+4>>2];q[d+4>>2]=0;q[d>>2]=a;q[c>>2]=!b;FK(d,c);a=(b|0)!=0;afa(a);b=q[239986];if(b){o[b+33948|0]=a}fi=c+16|0}function cha(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;e=q[q[a+32>>2]+8>>2];c=q[a+4>>2];o[b+12|0]=r[c+13|0];d=-13;if(NJ(c,q[a+20>>2],q[a+24>>2],b+8|0)){a=q[b+8>>2];q[e>>2]=a;d=0}fi=b+16|0;return d|0}function aka(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=q[a+180>>2];if(!g){g=Np();q[a+180>>2]=g}h=q[a+216>>2];if(!h){h=q[q[a+128>>2]+8>>2]}Sq(g,h,b,c,d,e,f);o[a+238|0]=r[a+238|0]|8}function Xva(){q[73328]=li(35827);q[73329]=ii;q[73330]=li(35842);q[73331]=ii;q[73332]=li(35858);q[73333]=ii;q[73334]=li(35874);q[73335]=ii;q[73336]=li(35891);q[73337]=ii;q[73338]=li(35896);q[73339]=ii}function Qka(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=429;return}J(43058,43114,734,43155);G()}J(43179,43114,735,43155);G()}function Lka(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=q[a+220>>2];if(!g){g=Np();q[a+220>>2]=g}h=q[a+224>>2];if(!h){h=q[q[a+216>>2]+4>>2]}Sq(g,h,b,c,d,e,f);o[a+238|0]=r[a+238|0]|8}function mga(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+20>>2],q[a+24>>2],247648,c+12|0)){b=q[q[a+32>>2]+8>>2];Yz(q[a>>2],b);q[b>>2]=q[c+12>>2];b=RJ(q[a+4>>2],q[a>>2],b)}fi=c+16|0;return b|0}function mN(a,b,c,d,e,f,g){q[d>>2]=1;oB(a,b,c,e,1,f,g);a:{if(q[c>>2]){break a}while(1){b:{b=q[d>>2];q[d>>2]=0;if(!b){break b}oB(a,q[a+340>>2],c,e,0,f,g);if(!q[c>>2]){continue}break a}break}q[e>>2]=0}}function g7(a,b,c,d){var e=0;e=fi-16|0;fi=e;a:{b:{switch(a-2|0){case 0:_K(b,c,d);break a;case 1:aqa(b,c,d);break a;case 2:$pa(b,c,d);break a;default:break b}}q[e>>2]=a;mi(4,195851,195862,e)}fi=e+16|0}function f3(a){a=a|0;var b=0;b=fi-1040|0;fi=b;if($j(a,1)){ij(a,0,2);Hi(a,1);pi(a,-2,111997);q[b+8>>2]=1024;o[b|0]=1;q[b+4>>2]=b+16;wF(a,112111,762,b);wi(a,b+16|0);pi(a,-2,112003)}fi=b+1040|0;return 1}function Ur(a,b){var c=0;c=fi-112|0;fi=c;a:{b:{if(!Wk(a,b,c+8|0)){break b}ln(a,128675,c+8|0);b=q[c+28>>2];if((b|0)<1){break b}q[c+4>>2]=b;q[c>>2]=c+44;nj(a,128678,c);break a}Bi(a,128686,0)}fi=c+112|0}function Nva(){q[72394]=1;q[72392]=1958639865;q[72393]=-771645978;q[72391]=5238;q[72390]=1;q[72397]=0;o[289584]=0;q[72395]=q[72389];q[72397]=q[72890];q[72890]=289560;q[59049]=q[72890];q[72890]=236168}function $B(a){var b=0,c=0;b=eC(a);if(!b){c=q[q[a>>2]+184>>2];a:{if(!(c&2)|q[a+8>>2]!=3){break a}b=q[a+68>>2];if(c&1){q[b+472>>2]=1;break a}q[b+476>>2]=1}q[a+4>>2]=0;q[a+8>>2]=1;return xr(a)}return b}function xw(a,b,c,d,e){var f=0;f=fi-32|0;fi=f;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=0;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=Q(11,f+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=f+32|0;return a}function sl(a,b,c,d,e){var f=0;f=fi-32|0;fi=f;q[f+28>>2]=0;q[f+24>>2]=e;q[f+20>>2]=d;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=Q(14,f+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=f+32|0;return a}function r$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+4>>2];e=q[a+12>>2];if(d>>>0>>0){J(202556,202494,231,202622);G()}f=c;c=d-e|0;b=b>>>0>>0?b:c;q[f>>2]=b;q[a+12>>2]=b+q[a+12>>2];return 0}function o1(a){a=a|0;var b=0,c=0;b=fi-4128|0;fi=b;c=b+16|0;if(kj(c,Jh()|0,4098)>>>0>=4098){o[c|0]=0;c=-21}else{c=0}a:{if(c){q[b>>2]=c;a=ni(a,116835,b);break a}wi(a,b+16|0);a=1}fi=b+4128|0;return a|0}function mba(a){a=a|0;var b=0,c=0;b=Vi(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+12>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function hba(a){a=a|0;var b=0,c=0;b=Vi(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+24>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function cpa(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;q[a+440>>2]=Uj();q[a+444>>2]=ii;d=c+8|0;q[d>>2]=0;q[d+4>>2]=0;a=q[a+4>>2];q[d+4>>2]=0;q[d>>2]=a;q[c>>2]=b?2:3;FK(d,c);$ea((b|0)!=0);fi=c+16|0}function ana(a){a=a|0;var b=0,c=0;b=Vi(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+40>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function X4(a){a=a|0;var b=0,c=0;b=Vi(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+304>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Wpa(a,b){var c=0,d=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=4){o[b|0]=r[c|0];o[b+1|0]=r[q[a+8>>2]+1|0];o[b+2|0]=r[q[a+8>>2]+2|0];o[b+3|0]=r[q[a+8>>2]+3|0];q[a+8>>2]=q[a+8>>2]+4}return(d|0)>3}function Tba(a){var b=0,c=0;q[a+348>>2]=-1;q[a+36>>2]=q[a+32>>2];p[a+26>>1]=0;if(s[a+24>>1]){c=q[a+20>>2];while(1){p[(b<<1)+c>>1]=b;b=b+1|0;if(b>>>0>1]){continue}break}}q[a+52>>2]=q[a+48>>2]}function Rna(a){a=a|0;var b=0,c=0;b=q[a+12>>2];c=q[b+8>>2]-q[b+12>>2]>>4;sj(b,-1e4,q[a+16>>2]);q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;if(q[b+8>>2]-q[b+12>>2]>>4!=(c|0)){J(16481,15813,1508,16502);G()}}function Nn(a,b,c,d,e){var f=0;f=fi-32|0;fi=f;q[f+28>>2]=0;q[f+24>>2]=e;q[f+20>>2]=d;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=Q(15,f+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=f+32|0;return a}function Gfa(a){a=a|0;var b=0,c=0,d=0;c=fi-16|0;fi=c;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[63396],c+12|0)){d=q[c+12>>2];b=Ci(264);qi(b+4|0,0,260);q[b>>2]=d;q[q[a+24>>2]>>2]=b;b=0}fi=c+16|0;return b|0}function Bw(a,b,c,d,e){var f=0;f=fi-32|0;fi=f;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=0;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=Q(12,f+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=f+32|0;return a}function mra(a){a=a|0;var b=0,c=0;a:{switch(ri(a,2)|0){default:Mj(a,2,132903);break;case 0:case 5:break a}}oi(a,2);c=aj(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function m1(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(116875,116900,951,117806);G()}return 1}function gna(a){a=a|0;var b=0,c=0;b=Vi(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+4>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Zaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;d=Ti(b+8|0,a,0,187364,635);c=Zi(a,1,b+4|0);a:{if(r[c+415|0]&8){e=ni(a,187507,0);break a}p[c+572>>1]=s[c+572>>1]|1}Si(d);fi=b+32|0;return e|0}function t_(a,b,c,d,e,f,g,h,i){var j=0;j=fi-272|0;fi=j;c=B_(a,c,j,g,f,j+271|0);a:{if(c){break a}c=s_(a,b,d,e,j,g,h,i);if(c){break a}c=IE(a,b,r[j+271|0]);if(c){break a}c=Px(a,b)}fi=j+272|0;return c}function eX(a){var b=0,c=0,d=0;while(1){b=d<<2;c=q[b+261200>>2];c=Bj(a,c,Fi(c));q[(b+q[a+16>>2]|0)+188>>2]=c;b=q[(b+q[a+16>>2]|0)+188>>2];o[b+5|0]=r[b+5|0]|32;d=d+1|0;if((d|0)!=17){continue}break}}function Po(a,b,c){var d=0;d=q[a+1900>>2];a:{if((d|0)==q[a+1904>>2]){mi(4,103417,103424,0);a=255;break a}q[a+1900>>2]=d+8;q[d+4>>2]=c;q[d>>2]=b;a=(q[a+1900>>2]-q[a+1896>>2]>>>3|0)-1|0}return a&255}function O9(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,0,187364,4118);Zi(a,1,b+4|0);d=Ai(a,2);Ki(a);e=yi(a,-1,q[213955],189399);oi(a,-2);I8(e,q[b+4>>2],x(d));Si(c);fi=b+32|0;return 0}function Nna(){var a=0,b=0;a=Ci(28088);qi(a+8|0,0,26520);b=a+28072|0;q[b>>2]=0;q[b+4>>2]=0;q[a+28064>>2]=0;q[a+28068>>2]=0;q[a+28080>>2]=1024;q[a+28084>>2]=16;q[a>>2]=0;q[a+28060>>2]=zj();return a}function qoa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[q[a+16>>2]>>2];q[b+8>>2]=0;a=q[a+12>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}a=gv(c,q[d>>2],0,d,b+8|0);fi=b+16|0;return((a|0)==-1?-1e3:0)|0}function pj(a){var b=0;if(q[a+76>>2]<0){b=q[a+4>>2];if(b>>>0>2]){q[a+4>>2]=b+1;return r[b|0]}return Nv(a)}b=q[a+4>>2];a:{if(b>>>0>2]){q[a+4>>2]=b+1;a=r[b|0];break a}a=Nv(a)}return a}function SA(a,b){if(b>>>0<6){a:{b:{switch(b>>>1|0){case 0:a=a>>>0>1;break a;case 1:a=(a|0)!=0;break a;case 2:break b;default:break a}}a=(a&-3)!=0}return b&1?1-a|0:a}J(86690,85651,11328,86696);G()}function Kia(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(75007,74832,231,75032);G()}return 1}function KV(a){ji[q[66742]](a,0,64)|0;ji[q[66742]](a- -64|0,0,64)|0;q[a+128>>2]=64;ji[q[66742]](a+132|0,0,72)|0;q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0}function Cea(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(73055,72665,428,73131);G()}return 1}function kL(a,b,c,d){var e=0,f=0,g=0,h=0;e=sk(a,139615);if(!e){return-1}El(e,0,2);f=mn(e);El(e,0,0);g=Ci((f|0)>-1?f:-1);h=Yk(g,1,f,e);Qj(e);e=-4;if((f|0)==(h|0)){e=lL(a,g,f,b,c,d)}ki(g);return e}function isa(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=Q(2,d+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=d+32|0;return a}function bC(a){var b=0,c=0,d=0,e=0;c=r[a+1|0]|r[a|0]<<8;b=r[a+2|0];d=b>>>8|0;b=b<<24;d=c|d;e=b;c=r[a+3|0];b=c>>>16|0;c=e|c<<16;b=b|d;e=r[a+5|0];a=r[a+4|0];d=a>>>24|0;a=e|(a<<8|c);ii=b|d;return a}function Iv(a){var b=0,c=0;b=(w(r[a+2|0],31)+127>>>0)/255|0;c=b>>>0<31?b:31;b=(w(r[a+1|0],63)+127>>>0)/255|0;a=(w(r[a|0],31)+127>>>0)/255|0;return(c|(b>>>0<63?b:63)<<5|(a>>>0<31?a:31)<<11)&65535}function EX(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+20>>2]=0;q[d+24>>2]=c;q[d+8>>2]=b;q[d+12>>2]=0;b=hE(a,995,d+8|0,q[a+8>>2]-q[a+32>>2]|0,q[a+116>>2]);dj(a,q[d+12>>2],q[d+20>>2],0);fi=d+32|0;return b}function zv(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=Q(3,d+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=d+32|0;return a}function zZ(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=Q(7,d+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=d+32|0;return a}function uca(a,b,c){a=a|0;b=x(b);c=x(c);a:{if(a){_b(x(b),x(c));if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2931,82432);G()}Mi(a,82432,2933);J(79249,79164,2933,82432);G()}function k_(a,b){var c=0;c=fi-48|0;fi=c;q[c+40>>2]=15;q[c+36>>2]=16;q[c+32>>2]=17;q[c+28>>2]=18;q[c+16>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;q[c+24>>2]=19;q[c+20>>2]=20;a=$oa(c+8|0);fi=c+48|0;return a}function ZA(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=Q(5,d+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=d+32|0;return a}function Xna(a){var b=0,c=0;a:{b=s[a+138>>1];if((b|0)!=32767){c=q[a+80>>2];a=q[c+2056>>2];if(q[c+2060>>2]-a>>2>>>0<=b>>>0){break a}a=q[a+(b<<2)>>2]}else{a=0}return a}J(12475,10090,447,9406);G()}function Ix(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=Q(6,d+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=d+32|0;return a}function Iga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],263560,b+12|0)){c=o7(q[a+4>>2]);$G(c,q[b+12>>2]);q[q[a+24>>2]+8>>2]=c;Ui(q[b+12>>2]);c=0}fi=b+16|0;return c|0}function H3(a,b,c){var d=0,e=0,f=0;d=fi-16|0;fi=d;e=Ci(12);q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[d+12>>2]=e;b=Ey(a,b,d+12|0);a=q[d+12>>2];a:{if(!b){q[c>>2]=a;break a}Jp(a);f=-2}fi=d+16|0;return f}function Fp(a,b){var c=0,d=0,e=0;c=q[a+36>>2]+b|0;d=q[a>>2];if((c|0)<=r[d+75|0]){q[a+36>>2]=c;return}e=c;if((c|0)>=250){xj(q[a+12>>2],127238);d=q[a>>2];e=q[a+36>>2]+b|0}o[d+75|0]=c;q[a+36>>2]=e}function CU(a){var b=0,c=0,d=0;a:{if(Zw(a)){break a}if(sr(a,1)){break a}b=a+44|0;c=a+56|0;d=a+32|0;if(kU(a+8|0,b,c,d,a+20|0)){break a}return lU(b,c,d,a+68|0,a+80|0,a+92|0)?-16896:0}return-16896}function Bca(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){Qb(c|0,1,0,b|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,1921,81866);G()}Mi(a,81866,1923);J(79249,79164,1923,81866);G()}function zca(a,b){a=a|0;b=b|0;a:{if(a){pc(q[(b<<2)+82280>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2912,82384);G()}Mi(a,82384,2914);J(79249,79164,2914,82384);G()}function yca(a,b){a=a|0;b=b|0;a:{if(a){nc(q[(b<<2)+82160>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2841,82130);G()}Mi(a,82130,2843);J(79249,79164,2843,82130);G()}function ww(a,b){var c=0;c=fi-32|0;fi=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;a=Q(13,c+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=c+32|0;return a}function SQ(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=-17280;a:{h=q[a+4>>2];if(h>>>0>f>>>0){break a}g=tU(a,b,d,c,e);if(g){break a}return(f>>>0>h>>>0?-14592:0)|0}return g|0}function Pv(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c){while(1){f=r[a+d|0];g=f^r[b+d|0];if(g){e=-1;if((g|0)!=32|((f&223)-65&255)>>>0>25){break a}}d=d+1|0;if((d|0)!=(c|0)){continue}break}}e=0}return e}function Nqa(){var a=0;a=xi(16512);q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+96>>2]=a+128;q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;return a}function Lda(a,b){a=a|0;b=b|0;a:{if(a){lc(q[(b<<2)+81952>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2754,81984);G()}Mi(a,81984,2763);J(79249,79164,2763,81984);G()}function Dda(a,b){a=a|0;b=b|0;a:{if(a){hc(q[(b<<2)+81952>>2]);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2740,81921);G()}Mi(a,81921,2749);J(79249,79164,2749,81921);G()}function yY(a,b){var c=0;c=fi-32|0;fi=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;a=Q(4,c+8|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=c+32|0;return a}function bZ(a,b,c,d){var e=0;e=fi-144|0;fi=e;a:{b:{switch(b-2|0){case 0:q[e+140>>2]=16;break a;case 8:break b;default:break a}}q[e+140>>2]=28}a=Ql(kQ(a,c,e+8|0,e+140|0,d));fi=e+144|0;return a}function X2(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;q[b+16>>2]=Ni(a,1,0);c=cb(113620,113987,b+16|0)|0;a:{if(!r[316700]){q[b>>2]=c;ni(a,113989,b);break a}wi(a,c);d=1}ki(c);fi=b+32|0;return d|0}function Hqa(){var a=0;a=Ci(48);q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function qqa(a){a=a|0;var b=0,c=0;b=gj(a,1);if(!((b|0)==1&r[906204]!=0)){ni(a,194044,0)}b=(b|0)!=1?0:r[906204]?q[230887]:0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function $3(a,b){var c=0,d=0;d=q[a+5136>>2];if(d){a:{while(1){if(!Ej(b,q[(w(c,40)+a|0)+24>>2])){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}return 0}a=(w(c,40)+a|0)+16|0}else{a=0}return a}function sga(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+20>>2],q[a+24>>2],247352,c+12|0)){b=q[q[a+32>>2]+8>>2];Zz(q[a>>2],b);q[b>>2]=q[c+12>>2];b=SJ(q[a>>2],b)}fi=c+16|0;return b|0}function rca(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){Sb(b|0,c|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,1928,81886);G()}Mi(a,81886,1930);J(79249,79164,1930,81886);G()}function hk(a,b,c){var d=0,e=0,f=0,g=0;d=fi-16|0;fi=d;g=d;f=ri(a,b);e=125997;a:{if((f|0)==-1){break a}e=q[(f<<2)+261152>>2]}q[g+4>>2]=e;q[d>>2]=c;a=Mj(a,b,nj(a,128655,d));fi=d+16|0;return a}function ZM(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=ND(a,b,d);a:{if(a){a=a-9472|0;break a}a=-9572;if(q[d>>2]!=1){break a}o[c|0]=r[q[d+8>>2]];a=0}fi=d+16|0;return a}function G6(a,b,c,d){var e=0;if(!q[a+28>>2]){q[a+4>>2]=b;q[a+8>>2]=c;e=a+4|0;q[a+28>>2]=e;b=q[d+4>>2];q[a+12>>2]=q[d>>2];q[a+16>>2]=b;b=q[d+12>>2];q[a+20>>2]=q[d+8>>2];q[a+24>>2]=b}return e}function sP(a,b){var c=0,d=0,e=0,f=0,g=0;d=-31488;c=q[a>>2];a:{if((b-c|0)<2){break a}e=r[c+1|0];f=r[c|0];c=c+2|0;q[a>>2]=c;g=b-c|0;b=e|f<<8;if((g|0)<(b|0)){break a}q[a>>2]=b+c;d=0}return d}function qV(a,b,c){var d=0,e=0,f=0;e=a+4|0;d=HA(e,b,c);a:{if(d){break a}d=HA(a+16|0,b,c);if(d){break a}f=a+52|0;d=HA(f,b,c);if(d){break a}d=xv(f,e);if(d){break a}q[a>>2]=Cm(e);d=0}return d}function os(a,b,c,d){var e=0;e=fi-16|0;fi=e;a:{if(c>>>0>=9){q[b>>2]=1112818760;q[b+4>>2]=3;a=CF(a,b,b,b+8|0,c-8|0,d)+8|0;break a}q[e+4>>2]=8;q[e>>2]=c;ni(a,118356,e);a=0}fi=e+16|0;return a}function fx(a){Or(a);q[a+132>>2]=0;q[a+124>>2]=1;q[a+128>>2]=0;q[a+144>>2]=0;q[a+136>>2]=1;q[a+140>>2]=0;q[a+156>>2]=0;q[a+148>>2]=1;q[a+152>>2]=0;q[a+168>>2]=0;q[a+160>>2]=1;q[a+164>>2]=0}function ZX(a){a=a|0;var b=0,c=0,d=0,e=0;c=fi-16|0;fi=c;b=1;d=Ni(a,1,c+12|0);e=yl(a,2,d,0);if(Ot(a,d,q[c+12>>2],e)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;ak(a,-2);b=2}fi=c+16|0;return b|0}function RB(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:o[a|0]=c;return;case 1:p[a>>1]=c;return;case 2:case 3:q[a>>2]=c;return;case 5:break b;default:break a}}q[a>>2]=c;q[a+4>>2]=d}}function Pga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[64132],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]+8>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function A0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0);b=fi-32|0;fi=b;c=Vi(a,1);d=u[c>>2];e=u[c+4>>2];v[b+24>>3]=u[c+8>>2];v[b+16>>3]=e;q[b>>2]=120656;v[b+8>>3]=d;nj(a,121398,b);fi=b+32|0;return 1}function kM(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;ei(0,b+8|0)|0;c=(b+8>>>4|0)+a^w(q[b+12>>2],65537);while(1){o[a+d|0]=(c&15|c<<1&32)+65;c=c>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}fi=b+16|0}function fZ(a){a=a|0;var b=0,c=0;b=fi-272|0;fi=b;o[b+256|0]=0;a:{if((BZ(b)|0)<=-1){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;wi(a,Ql(q[240833]));a=2;break a}wi(a,b);a=1}fi=b+272|0;return a|0}function Uq(a){var b=0;xu(q[a+48>>2]);a:{if(o[a+44|0]&1){break a}b=q[a+24>>2];if(b){ki(b)}b=q[a+16>>2];if(!b){break a}ki(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}function ul(a){var b=0,c=0;b=q[a+4>>2];if(!b){return 0}c=q[a+8>>2];a:{while(1){b=b-1|0;if(!b){a=q[c>>2];b=32;break a}a=q[(b<<2)+c>>2];if(!a){continue}break}b=(b<<5)+32|0}return b-CV(a)|0}function ima(a){a=a|0;var b=0;b=q[q[a+16>>2]>>2];a=q[q[a+4>>2]>>2];u[b+8>>2]=u[a>>2];u[b+12>>2]=u[a+4>>2];u[b+16>>2]=u[a+8>>2];u[b+20>>2]=u[a+12>>2];o[b+24|0]=r[b+24|0]&254|q[a+16>>2]!=0}function ho(a,b,c){var d=0;if((c|0)>=0){b=b+9999>>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;Xi(a,b,0);vk(a,b,c);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;vk(a,b,0)}}function gM(a){var b=0;b=r[a+74|0];o[a+74|0]=b-1|b;b=q[a>>2];if(b&8){q[a>>2]=b|32;return-1}q[a+4>>2]=0;q[a+8>>2]=0;b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];return 0}function V6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{switch(q[239952]+1|0){case 0:J(195241,194616,594,195311);G();case 2:return W6(a,b,c,d,e)|0;default:break a}}return SG(a,b,c,d,e)|0}function Ofa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[62556],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function N$(a){q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+24>>2]=768;q[a+28>>2]=256;q[a+16>>2]=32;q[a+20>>2]=49152;q[a+8>>2]=128;q[a+12>>2]=16;q[a+4>>2]=1065353216;q[a>>2]=201080;o[a+32|0]=1}function Kha(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=q[a>>2];a=q[a+4>>2];c=Ij(c,q[q[q[a+32>>2]>>2]>>2],a+36|0);if(c){q[b>>2]=q[q[q[a+32>>2]>>2]>>2];mi(4,34535,35435,b)}fi=b+16|0;return!c|0}function Cfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[62854],b+12|0)){jk(q[a+20>>2],q[q[b+12>>2]>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function uha(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+20>>2],q[a+24>>2],265912,c+12|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}q[a>>2]=q[c+12>>2];b=0}fi=c+16|0;return b|0}function u2(a,b){a=a|0;b=b|0;var c=0,d=0,e=x(0);d=q[b>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;e=u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16}function qga(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+20>>2],q[a+24>>2],266744,c+12|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}q[a>>2]=q[c+12>>2];b=0}fi=c+16|0;return b|0}function pp(a){var b=0,c=0;b=q[72367];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>Bwa()<<16>>>0){if(!(zc(a|0)|0)){break a}}q[72367]=a;return b}q[240833]=48;return-1}function Ufa(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-2;if(!rj(q[a+20>>2],q[a+24>>2],265152,c+12|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}q[a>>2]=q[c+12>>2];b=0}fi=c+16|0;return b|0}function I5(a,b,c){var d=0,e=0,f=0;f=fi-16|0;fi=f;e=-2;d=q[a+256>>2];if((d|0)!=32){e=d+1|0;q[a+256>>2]=e;d=(d<<3)+a|0;q[d>>2]=b;q[d+4>>2]=c;gt(a,(e<<3)+a|0,f+8|0);e=0}fi=f+16|0;return e}function Ej(a,b){var c=0,d=0;c=r[a|0];d=r[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=r[b+1|0];c=r[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 Xj(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=q[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return q[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function Cl(a,b){var c=0,d=0;c=fi-16|0;fi=c;d=q[a+4>>2];q[c+8>>2]=q[a>>2];q[c+12>>2]=d;d=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=d;a=c+8|0;d=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=d;fi=c+16|0}function Ay(a,b,c,d,e){if(a){a:{while(1){if(!(ji[q[a+24>>2]](a,b,c,e)|0)){b=0;if(!d){break a}q[d>>2]=a;return 0}a=q[a>>2];if(a){continue}break}b=1}return b}J(28229,28134,158,28242);G()}function $D(a,b,c){var d=0;b=b+9999>>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;if(Sl(a,b)){wi(a,c);gl(a,-2);if(!ri(a,-1)){oi(a,-3);return 0}Ok(a,-2);Hi(a,b);zk(a,1,1);d=1}return d}function pY(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Ni(a,1,0);zi(a,-10001,130181);if((ri(a,-1)|0)!=5){ni(a,130298,0)}zi(a,-1,c);if(!ri(a,-1)){q[b>>2]=c;nj(a,130332,b)}fi=b+16|0;return 1}function nv(a,b,c){var d=0,e=0,f=0;f=q[a>>2];if(f){while(1){e=(w(d,104)+a|0)+8|0;if(q[e>>2]==(b|0)){if(!c){return e}q[c>>2]=d;return e}d=d+1|0;if(f>>>0>d>>>0){continue}break}}return 0}function hja(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=q[a+144>>2];if(!g){g=Np();q[a+144>>2]=g}h=q[a+148>>2];if(!h){h=q[q[a+156>>2]+24>>2]}Sq(g,h,b,c,d,e,f);$u(a)}function bB(a,b,c,d,e,f,g,h,i){var j=0;j=fi-16|0;fi=j;zm(j,b,c,d,e,f,g,h,i^-2147483648);b=q[j+4>>2];q[a>>2]=q[j>>2];q[a+4>>2]=b;b=q[j+12>>2];q[a+8>>2]=q[j+8>>2];q[a+12>>2]=b;fi=j+16|0}function _B(a,b,c,d){var e=0;e=1;a:{if(!a|q[a+24>>2]>(d|0)|(q[a+32>>2]<(c|0)|(r[a+36|0]&4?r[q[b>>2]+184|0]&2:0))){break a}if(q[a+16>>2]-5>>>0<4){if(!kC(q[b>>2])){break a}}e=0}return e}function QP(a,b){var c=0,d=0;c=q[b+488>>2];d=q[a+156>>2];if(c>>>0>>0){if(q[a+152>>2]!=(c|0)){p[b+592>>1]=508}a=c<<1;q[b+488>>2]=a>>>0>>0?d:a>>>0>d>>>0?d:a;a=0}else{a=-1}return a}function uy(a,b){var c=0,d=0;a:{if((ri(a,b)|0)==7){c=yi(a,b,q[74122],0);b:{if(q[c+4>>2]==2){d=q[c>>2]+4|0;break b}d=c}if(xm(q[d>>2])){break a}ni(a,61165,0)}hk(a,b,60842);c=0}return c}function ZC(a,b,c,d,e){var f=0;a:{if(b){f=a+8|0;b=Vm(f,b,c);if(b){break a}q[a+4>>2]=Cm(f)}b:{if(!d){break b}a=Vm(a+20|0,d,e);if(!a){break b}return a-16512|0}return 0}return b-16512|0}function Vda(a){a=a|0;if(a){if(r[a+104|0]&4){WI(1);Nb();q[a+36>>2]=0;q[a+40>>2]=0;q[a+4>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;o[a+104|0]=r[a+104|0]&251}return}J(79156,79164,1134,80436);G()}function VC(a,b){var c=0,d=0;d=-1;a=q[q[a>>2]+100>>2];a:{if(!a){break a}c=q[a>>2];if(!c){break a}while(1){if((b|0)!=(c|0)){a=a+4|0;c=q[a>>2];if(c){continue}break a}break}d=0}return d}function Q6(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-32|0;fi=b;d=Ti(b+8|0,a,1,71745,47);e=q[239952];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=(e|0)!=-1;q[a+8>>2]=q[a+8>>2]+16;Si(d);fi=b+32|0;return 1}function P4(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]|0;q[bj(a,4)>>2]=vu();zi(a,-1e4,104193);aj(a,-2);if(((b>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(104220,104245,211,104277);G()}return 1}function LV(a){var b=0;if(a){if(a){ji[q[66742]](a,0,132)|0}b=a+132|0;if(b){ji[q[66742]](b,0,72)|0}q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0}}function Ipa(a,b,c,d,e){a:{switch((q[d+4>>2]>>>22&63)-9|0){case 2:return Hpa(a,b,c,d,e);case 0:return Fpa(a,b,c,d,e);case 3:return Jpa(a,b,c,d,e);default:break a}}return Gpa(a,c,d,e)}function yi(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;a:{if((em(a,b)|0)==(c|0)){f=Vi(a,b);if(f){break a}}if(!d){f=0;hk(a,b,YH(c,0));break a}q[e>>2]=d;ni(a,110749,e);f=0}fi=e+16|0;return f}function xm(a){var b=0,c=0;a:{if(!a){break a}b=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!b|s[b+16>>1]!=(a>>>16|0)){break a}c=!ej(q[b>>2]+w(q[b+8>>2],q[b+12>>2])|0,138944,16)}return c}function lua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b-c|0;if(d>>>0>=2){f=c-1|0;c=1;e=1;while(1){o[(c+f|0)+a|0]=0;e=e+1|0;c=e&255;if(d>>>0>c>>>0){continue}break}}o[(a+b|0)-1|0]=d}function hU(a,b){var c=0,d=0;d=-1;a=q[q[a>>2]+96>>2];a:{if(!a){break a}c=q[a>>2];if(!c){break a}while(1){if((b|0)!=(c|0)){a=a+4|0;c=q[a>>2];if(c){continue}break a}break}d=0}return d}function Tma(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0);b=Fm(a,1);d=u[b+40>>2];c=u[b+32>>2];e=u[b+36>>2];c=c>2];q[b+8>>2]=3;v[b>>3]=c>d?d:c;q[a+8>>2]=q[a+8>>2]+16;return 1}function N9(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);d=Ai(a,2);a:{if(y(d)<2147483648){a=~~d;break a}a=-2147483648}q[c+412>>2]=q[c+412>>2]&-16|a&15;fi=b+16|0;return 0}function LD(a,b,c){var d=0,e=0;d=fi-16|0;fi=d;b=Lj(a,b,d+12|0,1);a:{if(b){break a}b=-100;if(q[d+12>>2]!=1){break a}b=0;e=c;c=q[a>>2];q[e>>2]=r[c|0]!=0;q[a>>2]=c+1}fi=d+16|0;return b}function kka(a,b){var c=0;c=q[a+16>>2];if(q[a+20>>2]-c>>3>>>0>b>>>0){b=q[(b<<3)+c>>2];c=q[a+4>>2];a=q[a>>2];if(b>>>0>2>>>0){return q[a+(b<<2)>>2]}}J(47308,47134,447,47319);G()}function fA(a){a=a|0;var b=0;a=q[a+4>>2];if(a){a:{if(o[a+28|0]&1){break a}b=q[a+16>>2];if(!b){break a}ki(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}return 0}function WL(a,b,c){var d=0,e=0;a:{if(b>>>0<2){if(c>>>0>=8){break a}d=a;e=r[a+3|0];a=b?2:5;o[d+3|0]=e&(7<>2]-q[a+12>>2]>>4)-1|0,-1,0);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=!c;q[a+8>>2]=q[a+8>>2]+16;ak(a,1);return q[a+8>>2]-q[a+12>>2]>>4}function Sr(a,b,c){var d=0;d=q[b+8>>2];if(d>>>0>=c>>>0){return q[b>>2]}c=c>>>0>32?c:32;a:{if(c+1>>>0<=4294967293){a=dj(a,q[b>>2],d,c);break a}a=Rj(a)}q[b+8>>2]=c;q[b>>2]=a;return a}function D1(a){var b=0,c=0;c=fi-16|0;fi=c;q[c+12>>2]=778;b=q[79164];if((b|0)==((q[79162]-q[79160]|0)/12|0)){b=b+128|0;lH(316632,(w(b,100)>>>0)/80|0,b)}mH(316632,a,c+12|0);fi=c+16|0}function zpa(a,b){var c=0,d=0;c=fi-16|0;fi=c;d=(ywa(b),uwa(2));o[c+12|0]=d;o[c+13|0]=d>>>8;o[c+14|0]=d>>>16;o[c+15|0]=d>>>24;a=ji[q[a>>2]](q[a+4>>2],c+12|0,4)|0;fi=c+16|0;return a}function hha(a){a=a|0;var b=0,c=0;b=qi(Ci(168),0,168);c=q[a+4>>2];if(TJ(c,q[a>>2],q[a+12>>2],q[a+16>>2],b,q[a+8>>2])){q[q[a+24>>2]+8>>2]=b;return 0}_u(c,q[a>>2],b);ki(b);return-13}function d4(a){var b=0,c=0,d=0;b=fi-16|0;fi=b;d=r[a|0];c=0;a:{if((d|0)==47){break a}b:{if(!d){mi(4,24355,24364,0);break b}q[b>>2]=a;mi(4,24355,24384,b)}c=-3}a=c;fi=b+16|0;return a}function Nga(a){a=a|0;var b=0,c=0,d=0,e=0;c=-13;b=q[a+4>>2];d=q[a+20>>2];e=Rq(b,d);a:{if(!e){break a}b=ji[q[74921]](b,e)|0;if(!b){break a}q[q[a+24>>2]+8>>2]=b;c=0}Ui(d);return c|0}function L2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;q[79186]=Vl(a,115799,116056,258016);ek(a,115795,258064);oi(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(115949,115828,569,116064);G()}}function xu(a){var b=0;if(a){a:{if(o[a+44|0]&1){break a}b=q[a+32>>2];if(!b){break a}ki(b)}b:{if(o[a+28|0]&1){break b}b=q[a+8>>2];if(b){ki(b)}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}}function t1(a){var b=0,c=0;b=Fi(68096);c=Mp(68096,b);Bi(a,68096,b);Hi(a,-2);Wi(a,-10002);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);Wi(a,-10002);return c}function Aga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+20>>2],q[a+24>>2],q[60926],b+12|0)){a=q[q[a+32>>2]+8>>2];Ui(q[a>>2]);q[a>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function z0(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0);b=Vi(a,1);c=u[b>>2];d=u[b+4>>2];e=u[b+8>>2];b=bj(a,16);u[b+8>>2]=-e;u[b+4>>2]=-d;u[b>>2]=-c;zi(a,-1e4,120656);aj(a,-2);return 1}function xca(a,b){a=a|0;b=b|0;a:{if(a){mc(b|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2807,82111);G()}Mi(a,82111,2809);J(79249,79164,2809,82111);G()}function s7(a){var b=0;if(a){a:{if(o[a+36|0]&1){break a}b=q[a+16>>2];if(b){ki(b)}b=q[a+8>>2];if(!b){break a}ki(b)}b:{if(o[a+6|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}}function nca(a,b){a=a|0;b=b|0;a:{if(a){Vb(b|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(79156,79164,2855,82209);G()}Mi(a,82209,2857);J(79249,79164,2857,82209);G()}function fO(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;Y(b+8|0,0)|0;d=+q[b+12>>2]/1e6;e=+q[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d+e;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function Tea(a){a=a|0;var b=0,c=0;Tl(a,1);c=ri(a,1);b=q[74608];if(!c){if(b){rn(b)}q[74608]=0;return 0}if(b){rn(b)}b=Rn(a,1);q[74608]=b;if(!qn(b)){return ni(a,74929,0)|0}return 0}function oha(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+20>>2],q[a+24>>2],242824,b+12|0)){a=q[q[a+32>>2]+8>>2];Ui(q[a>>2]);q[a>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function WA(a,b){var c=0,d=0,e=0,f=0;c=fi-16|0;fi=c;f=c;e=ri(a,3);d=125997;a:{if((e|0)==-1){break a}d=q[(e<<2)+261152>>2]}q[f+4>>2]=d;q[c>>2]=b;Mj(a,3,nj(a,123556,c));fi=c+16|0}function Uj(){var a=0,b=0,c=0;a=fi-16|0;fi=a;Y(a+8|0,0)|0;fi=a+16|0;b=q[a+12>>2];a=q[a+8>>2];a=jwa(a,a>>31,1e6,0);c=b+a|0;b=ii+(b>>31)|0;b=a>>>0>c>>>0?b+1|0:b;a=c;ii=b;return a}function QE(a,b){if(a>>>0<=127){o[b|0]=a;return 1}if(a>>>0<=2047){o[b+1|0]=a&63|128;o[b|0]=a>>>6|192;return 2}o[b+2|0]=a&63|128;o[b|0]=a>>>12|224;o[b+1|0]=a>>>6&63|128;return 3}function Iw(a){var b=0;a:{b:{if(!a){break b}b=q[a+4>>2];if(b>>>0>999999999){break b}a=q[a>>2];if((a|0)>-1){break a}}q[240833]=28;return-1}yc(+(+(b|0)/1e6+ +(a|0)*1e3));return 0}function FU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;q[d>>2]=0;a=-60;e=sk(145325,145338);a:{if(!e){break a}b=Yk(b,1,c,e);Qj(e);if((b|0)!=(c|0)){break a}q[d>>2]=c;a=0}return a|0}function psa(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+(b<<2)|0;Kk(b,b+(c<<2)|0,d-e<<2);q[a+4>>2]=q[a+4>>2]-c}return}J(95420,95300,656,95344);G()}function msa(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+(b<<1)|0;Kk(b,b+(c<<1)|0,d-e<<1);q[a+4>>2]=q[a+4>>2]-c}return}J(95420,95300,656,95344);G()}function ena(a){a=a|0;var b=0,c=0;b=Vi(a,1);c=a;a=Ni(a,2,0);a:{if(!(!a|!r[a|0])){a=Ls(q[b+4>>2],a,Fi(a));b=ii;break a}b=q[b+4>>2];a=q[b+96>>2];b=q[b+100>>2]}Yj(c,a,b);return 1}function Zx(a){var b=0,c=0,d=0;b=q[a+104>>2];c=q[a+108>>2];if((b|0)!=(c|0)){while(1){d=q[q[b>>2]+4>>2];if(d){ji[d|0](a);c=q[a+108>>2]}b=b+4|0;if((c|0)!=(b|0)){continue}break}}}function Zw(a){var b=0;a:{if(sr(a,0)){break a}b=a+8|0;if(ul(b)>>>0<128){break a}a=a+20|0;if(!Dm(a,0)){break a}if(ul(a)>>>0<2){break a}return(Dj(a,b)|0)<0?0:-16896}return-16896}function Qda(a){a=a|0;var b=0;oc(1,a+148|0);b=q[a+132>>2];if(b){ji[q[74962]](b)}if(q[a+144>>2]){Ba(1,a+144|0)}if(q[a+136>>2]){Ba(1,a+136|0)}if(q[a+140>>2]){Ba(1,a+140|0)}ki(a)}function D3(){var a=0;a=q[72984];if(a>>>0>=4){J(28066,28134,63,28162);G()}q[72984]=a+1;a=w(a,20)+291952|0;q[a+16>>2]=123;q[a+12>>2]=124;q[a+8>>2]=125;q[a+4>>2]=126;q[a>>2]=127}function Cma(a,b,c){var d=0,e=0;a:{e=q[a>>2];if(e){while(1){if(q[(w(d,104)+a|0)+8>>2]==(b|0)){break a}d=d+1|0;if(e>>>0>d>>>0){continue}break}}return}p[(w(d,104)+a|0)+108>>1]=c}function eha(a){a=a|0;var b=0,c=0;b=Ci(8);q[b>>2]=0;q[b+4>>2]=0;c=q[a+4>>2];o[b+4|0]=r[c+13|0];if(NJ(c,q[a+12>>2],q[a+16>>2],b)){q[q[a+24>>2]+8>>2]=b;return 0}ki(b);return-13}function c7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(q[239952]+1|0){case 0:J(195241,194616,585,195290);G();case 2:return b7(a,b,c,d)|0;default:break a}}return TG(a,b,c,d)|0}function ap(a){var b=0;b=a+32|0;q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;return qi(a,0,80)}function YT(a){var b=0,c=0;b=TC(a);b=b>>>0<16384?b:16384;c=hC(a);if(!c){return b}a=SC(a);if((a|0)<0){return a}if(a>>>0>>0){a=c-a|0;a=a>>>0>>0?a:b}else{a=-28800}return a}function Nsa(a,b){var c=0,d=0,e=0;d=fi-160|0;fi=d;c=a;a=d+8|0;c=wn(c,a,1,0);a:{if(!c){break a}e=q[a+104>>2];if((e|0)==8){Vsa(b,a+112|0);break a}Wsa(b,a,e)}fi=d+160|0;return c}function Kca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=ji[q[74884]](a)|0;a=ji[q[74885]](a)|0;if(d>>>0>>0){J(83641,79164,2731,83666);G()}Zb(0,0,c|0,a|0,32993,5121,b|0)}function Hfa(a){a=a|0;var b=0,c=0;b=q[q[a+12>>2]+8>>2];if(ji[q[74974]](b)&1){a=-17}else{c=q[a+8>>2];Ui(q[c>>2]);wJ(c);b=ji[q[74966]](b)|0;q[q[a+12>>2]+16>>2]=b;a=0}return a|0}function Bga(a){a=a|0;var b=0,c=0;c=fi-16|0;fi=c;b=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[60926],c+12|0)){b=Ci(4);q[b>>2]=q[c+12>>2];q[q[a+24>>2]+8>>2]=b;b=0}fi=c+16|0;return b|0}function dP(a,b,c,d){q[d>>2]=0;a:{if(!(r[a+185|0]&2)){break a}b=b+16384|0;if(!r[a+181|0]|b>>>0>>0|b-c>>>0<4){break a}o[c|0]=0;o[c+1|0]=22;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function cP(a,b,c,d){q[d>>2]=0;a:{if(!(r[a+185|0]&4)){break a}b=b+16384|0;if(!r[a+181|0]|b>>>0>>0|b-c>>>0<4){break a}o[c|0]=0;o[c+1|0]=23;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function Gga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+20>>2],q[a+24>>2],263560,b+12|0)){$G(q[q[a+32>>2]+8>>2],q[b+12>>2]);Ui(q[b+12>>2]);c=0}fi=b+16|0;return c|0}function G_(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;i=fi-176|0;fi=i;fx(i);a=qD(i,a);if(!a){a=ME(i,b,c,d,e,f,g,h)}Et(i);fi=i+176|0;return a|0}function EK(a,b,c,d,e,f){q[a+32>>2]=0;q[a+28>>2]=0;q[a+24>>2]=f;q[a+20>>2]=e;q[a+16>>2]=d;q[a+4>>2]=c;q[a>>2]=b;b=q[210336];q[a+8>>2]=0;q[a+12>>2]=0;q[a+36>>2]=b;q[210336]=a}function tU(a,b,c,d,e){var f=0;f=-16640;a:{switch(q[a+164>>2]){case 0:return nU(a,b,c,d,e);case 1:f=a;a=q[a+168>>2];f=XC(f,b,c,d,a?a:b,-1,e);break;default:break a}}return f}function rM(a){var b=0;b=2;if(!Nj(a,43)){b=r[a|0]!=114}b=Nj(a,120)?b|128:b;b=Nj(a,101)?b|524288:b;a=r[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function noa(a){a=a|0;var b=0,c=0,d=0;if(!q[a+12>>2]){return-1e3}c=q[a+8>>2];d=q[a+16>>2];b=Ci(20);goa(b,c>>>0>d>>>0?d:c);q[b+16>>2]=gy(q[a>>2]);q[q[a+12>>2]>>2]=b;return 0}function cz(a,b,c,d){var e=0;e=fi-16|0;fi=e;a:{b:{switch(a-1|0){case 0:$K(b,c,d);break a;case 1:_K(b,c,d);break a;default:break b}}q[e>>2]=a;mi(4,195851,195862,e)}fi=e+16|0}function Wm(a,b,c){var d=0,e=0,f=0;if(c){e=a+1036|0;while(1){c=c-1|0;d=q[a>>2];if(e>>>0<=d>>>0){Pk(a);d=q[a>>2]}f=r[b|0];q[a>>2]=d+1;o[d|0]=f;b=b+1|0;if(c){continue}break}}}function EV(a){var b=0,c=0;b=q[67497];if(!b){return 0}c=269984;if(q[67496]!=(a|0)){while(1){b=q[c+12>>2];if(!b){return 0}c=c+8|0;if(q[c>>2]!=(a|0)){continue}break}}return b}function DO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((d|0)>=1){e=0;while(1){o[a+e|0]=(r[c+e|0]+w(r[b+e|0],3)|0)+2>>>2;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return a|0}function yA(a){var b=0;b=fi-32|0;fi=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+4>>2]=a;q[b>>2]=q[59082];cj(b+16|0,16,8037,b);a=li(b+16|0);fi=b+32|0;return a}function qta(a,b,c,d){q[a>>2]=d>>>6&7;q[b>>2]=d>>>3&7;q[c>>2]=d&7;d=q[a>>2];if((d|0)>=4){q[a>>2]=d-8}a=q[b>>2];if((a|0)>=4){q[b>>2]=a-8}a=q[c>>2];if((a|0)>=4){q[c>>2]=a-8}}function mV(a,b,c){var d=0,e=0;e=fi-16|0;fi=e;d=eV(e+12|0,b,c-q[b>>2]|0);a:{if(d){break a}d=rD(a,q[e+12>>2]);if(d){break a}d=dV(a,a+172|0,b,c-q[b>>2]|0)}fi=e+16|0;return d}function kD(a,b,c,d){if(!jj(c,1)){return eo(b,d)}a:{if(!jj(c,-1)){c=eo(b,d);if(c){break a}c=0;b=b+12|0;if(!jj(b,0)){break a}return fl(b,a+4|0,b)}c=Nr(a,b,c,d,0,0)}return c}function cE(a,b){a=q[a+16>>2]+((q[b+8>>2]&(-1<>2]!=4|q[a+16>>2]!=(b|0))){return a}a=q[a+28>>2];if(a){continue}break}return 126472}function M8(a){q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=360;q[a+24>>2]=960;q[a+20>>2]=640}function LT(a){var b=0;b=-28928;a:{if(!a|!q[a>>2]){break a}b:{if(q[a+8>>2]!=1){if(q[a+4>>2]!=16){break a}b=$B(a);if(!b){break b}break a}b=xr(a);if(b){break a}}b=0}return b}function wfa(a){a=a|0;var b=0,c=0,d=0;a:{b=q[a+4>>2];c=q[a+20>>2];d=Rq(b,c);if(d){b=ji[q[74920]](b,d)|0;if(b){break a}}Ui(c);return-13}Ui(c);q[q[a+24>>2]+8>>2]=b;return 0}function vG(a){q[a+24>>2]=0;q[a+28>>2]=65537;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=1065353216;q[a+12>>2]=1056964608;q[a>>2]=0;q[a+4>>2]=0;o[a+32|0]=r[a+32|0]&248|4;return a}function pua(a){q[a+5820>>2]=0;p[a+5816>>1]=0;q[a+2872>>2]=287392;q[a+2864>>2]=a+2684;q[a+2860>>2]=287372;q[a+2852>>2]=a+2440;q[a+2848>>2]=287352;q[a+2840>>2]=a+148;oE(a)}function XQ(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;i=e;e=q[a+4>>2];q[i>>2]=e;if(e>>>0<=f>>>0){a=vU(a,g,h,c,b,d)}else{a=-17408}return a|0}function Oj(a,b){var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=jwa(a,0,b,0);e=ii;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=xi(b);if(!(!a|!(r[a-4|0]&3))){qi(a,0,b)}return a}function H5(a,b,c){var d=0,e=0;d=fi-16|0;fi=d;q[d+12>>2]=c;c=a+16|0;e=q[a+40>>2];a=q[a+32>>2]-q[a+24>>2]|0;if((e|0)==a>>4){pz(c,a>>2,a>>3)}yH(c,li(b),ii,d+12|0);fi=d+16|0}function Gia(a,b){var c=0,d=0;if(!b){ii=0;return 0}if(!(b&1)){while(1){c=c+1|0;d=b&2;b=(b&65534)>>>1|0;if(!d){continue}break}}a=(c<<3)+a|0;b=q[a>>2];ii=q[a+4>>2];return b}function Av(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){Ys(a,b,(c+1|0)==(b|0),2);c=q[a+4>>2]}qi(q[a>>2]+(c<<1)|0,0,b-c<<1)}q[a+4>>2]=b}}function gba(a,b){var c=0,d=0;c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){a=a+w(c,576)|0;a=s[a+552>>1]==(b>>>16|0)&s[a+554>>1]==(c|0)}else{a=0}return a}function f7(){var a=0,b=0;a=q[239951];a:{if(!a){break a}b=q[a+7412>>2];a=q[239950];if((b|0)==(a|0)){break a}Jp(a)}q[239950]=0;q[239951]=0;o[959884]=0;q[239954]=q[239953]}function ew(a,b,c,d){var e=0;e=_p(a,b,c);if(t[d>>2]>2]){ol(c,d);if(t[c>>2]>=t[b>>2]){return e+1|0}ol(b,c);if(t[b>>2]>=t[a>>2]){return e+2|0}ol(a,b);e=e+3|0}return e}function dV(a,b,c,d){var e=0,f=0,g=0;g=-20352;a:{if(d>>>0<2){break a}e=q[c>>2];f=e+1|0;q[c>>2]=f;e=r[e|0];if(!e|e>>>0>d-1>>>0){break a}q[c>>2]=e+f;g=ex(a,b,f,e)}return g}function Tda(a){a=a|0;a:{if(a){fa(a|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(81686,79164,1803,81720);G()}Mi(a,81720,1805);J(79249,79164,1805,81720);G()}function Nda(a){a=a|0;a:{if(a){fa(a|0);if(r[q[74995]+104|0]&8){a=K()|0;if(a){break a}}return}J(81686,79164,1796,81694);G()}Mi(a,81694,1798);J(79249,79164,1798,81694);G()}function wU(a){if(a){Ji(a+140|0);Ji(a+152|0);Ji(a+104|0);Ji(a+32|0);Ji(a+56|0);Ji(a+44|0);Ji(a+20|0);Ji(a+8|0);Ji(a+128|0);Ji(a+116|0);Ji(a+92|0);Ji(a+80|0);Ji(a+68|0)}}function usa(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){Ys(a,b,(c+1|0)==(b|0),8);c=q[a+4>>2]}SN(q[a>>2]+(c<<3)|0,b-c|0)}q[a+4>>2]=b}}function rr(a){var b=0,c=0,d=0;b=fi-32|0;fi=b;c=q[a>>2];if((c|0)!=-1){q[b+16>>2]=0;c=Fl(c,3,b+16|0);d=q[a>>2];q[b>>2]=c&-2049;Fl(d,4,b);_q(q[a>>2]);q[a>>2]=-1}fi=b+32|0}function pga(a){a=a|0;var b=0,c=0;b=qi(Ci(128),0,128);q[b>>2]=q[a+20>>2];c=RJ(q[a+4>>2],q[a>>2],b);if(!c){q[q[a+24>>2]+8>>2]=b;return c|0}Yz(q[a>>2],b);ki(b);return c|0}function Vs(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){OL(a,b,(c+1|0)==(b|0));c=q[a+4>>2]}qi(q[a>>2]+(c<<2)|0,0,b-c<<2)}q[a+4>>2]=b}}function JX(a){a=a|0;var b=0,c=0;Tl(a,2);oi(a,2);ak(a,1);c=qq(a,0,-1,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=!c;q[a+8>>2]=q[a+8>>2]+16;pq(a,1);return q[a+8>>2]-q[a+12>>2]>>4}function qo(a,b,c){if(a){a=q[a+84>>2];if(t[a+4>>2]>b>>>0){a=q[a>>2]+w(b,80)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;a=0}else{a=-5}return a}J(8273,7150,2005,8307);G()}function dL(a,b){var c=0;a:{if(b>>>0>127){break a}a=!r[906204]|(a|0)!=1;if(a){break a}b=(b<<6)+(a?0:906204)|0;a=b+8640|0;if(!r[a|0]){break a}o[b+8703|0]=0;c=a}return c}function cF(a,b,c){var d=0;d=fi-16|0;fi=d;c=kwa(b,c,1e6);q[d+8>>2]=c;c=jwa(c,ii,1e6,0);q[d+12>>2]=b-c;if((sl(a,1,20,d+8|0,8)|0)<=-1){Ll(158710,863,q[240833])}fi=d+16|0}function bF(a,b,c){var d=0;d=fi-16|0;fi=d;c=kwa(b,c,1e6);q[d+8>>2]=c;c=jwa(c,ii,1e6,0);q[d+12>>2]=b-c;if((sl(a,1,21,d+8|0,8)|0)<=-1){Ll(158710,863,q[240833])}fi=d+16|0}function WD(a,b){var c=0,d=0;c=fi-48|0;fi=c;if(q[b+8>>2]==3){v[c>>3]=v[b>>3];bt(c+16|0,128385,c);a=Bj(a,c+16|0,Fi(c+16|0));q[b+8>>2]=4;q[b>>2]=a;d=1}fi=c+48|0;return d}function QC(a,b){var c=0,d=0;a:{if(!(r[a+280|0]&4)){break a}d=-10240;c=b&-32770;a=q[a+292>>2];if((c|0)!=(a&c)){break a}return((a|b)&32769)==(b&32769)?0:-10240}return d}function NI(a,b,c,d){var e=0;e=Vu(b,s[c+554>>1]|s[c+552>>1]<<16,d);if(!e){Yj(a,q[c+544>>2],q[c+548>>2]);T9(a,b,q[d>>2]);qj(a,-3);e=OI(a,b,s[c+562>>1],q[d>>2])}return e}function N1(a){a=a|0;var b=0,c=x(0),d=0;d=Ai(a,1);b=bj(a,16);q[b+4>>2]=0;q[b+8>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=rl(c);u[b>>2]=nk(c);zi(a,-1e4,120688);aj(a,-2);return 1}function M1(a){a=a|0;var b=0,c=x(0),d=0;d=Ai(a,1);b=bj(a,16);q[b+8>>2]=0;q[b>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=rl(c);u[b+4>>2]=nk(c);zi(a,-1e4,120688);aj(a,-2);return 1}function L1(a){a=a|0;var b=0,c=x(0),d=0;d=Ai(a,1);b=bj(a,16);q[b>>2]=0;q[b+4>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=rl(c);u[b+8>>2]=nk(c);zi(a,-1e4,120688);aj(a,-2);return 1}function FW(a){a=a|0;ek(a,131649,262080);zi(a,-1,131656);pi(a,-2,131663);ij(a,0,1);Bi(a,132249,0);Hi(a,-2);aj(a,-2);oi(a,-2);Hi(a,-2);pi(a,-2,132250);oi(a,-2);return 1}function yu(a,b,c){var d=0,e=0;while(1){d=q[213093];q[213093]=d?d:1;if(d){continue}break}d=q[213086];e=157848;a:{if(!d){break a}e=q$(d,a,b,c)}d=e;q[213093]=0;return d}function vua(a,b,c){var d=0,e=0,f=0;e=q[a+84>>2];d=c+256|0;f=eq(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;si(b,e,c);b=e+d|0;q[a+84>>2]=b;q[a+8>>2]=b;q[a+4>>2]=c+e;return c}function q9(a){a=a|0;var b=0;Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);a=gj(a,1);if(a>>>0>=16){mi(3,187687,192344,0)}a=(a|0)<15?a:15;p[b+354>>1]=(a|0)>0?a:0;return 0}function nua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;o[a+c|0]=128;e=b-c|0;if(e>>>0>=2){b=1;d=1;while(1){o[(b+c|0)+a|0]=0;d=d+1|0;b=d&255;if(e>>>0>b>>>0){continue}break}}}function np(a,b,c){var d=0,e=0;d=Fi(a)+a|0;a:{if(!c){break a}while(1){e=r[b|0];if(!e){break a}o[d|0]=e;d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}o[d|0]=0;return a}function jqa(a,b){var c=0,d=0;a=!r[906204]|(a|0)!=1;a:{if(a){break a}c=q[230888];if((c>>>0<64?c:64)>>>0<=b>>>0){break a}d=q[((b<<2)+(a?0:906204)|0)+17352>>2]}return d}function ej(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=r[a|0];e=r[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}f=d-e|0}return f}function R6(a){a=a|0;var b=0,c=0,d=0;b=fi-32|0;fi=b;d=Ti(b+8|0,a,1,71745,40);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=180895692;q[a+8>>2]=q[a+8>>2]+16;Si(d);fi=b+32|0;return 1}function JZ(a,b,c){a=a|0;b=b|0;c=c|0;Fo(a,2,129357);Hi(a,1);zk(a,0,1);if(!ri(a,-1)){q[c>>2]=0;return 0}if($j(a,-1)){pq(a,3);return _i(a,3,c)|0}ni(a,129383,0);return 0}function jE(a){var b=0,c=0;b=q[a+16>>2];o[b+20|0]=67;mr(a,b+28|0,-3);if(q[b+8>>2]>=1){while(1){mr(a,q[b>>2]+(c<<2)|0,-3);c=c+1|0;if((c|0)>2]){continue}break}}}function iY(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=8;q[b>>2]=a;q[a+8>>2]=q[a+8>>2]+16;if(q[q[a+16>>2]+112>>2]==(a|0)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}return 1}function hqa(a,b){var c=0,d=0;a:{if(b>>>0>31){break a}a=(a|0)!=1;if(a){break a}c=r[906204];if(!c){break a}a=(b<<8)+(a?0:c?906204:0)|0;o[a+703|0]=0;d=a+448|0}return d}function OX(a){a=a|0;var b=0;b=ri(a,2);vj(a,1,5);a:{switch(b|0){default:Mj(a,2,129534);break;case 0:case 5:break a}}if(_D(a)){ni(a,129556,0)}oi(a,2);aj(a,1);return 1}function IV(a,b,c){var d=0,e=0;if(q[a+224>>2]==1){d=q[a+212>>2];e=q[a+208>>2]+c|0;q[a+208>>2]=e;q[a+212>>2]=c>>>0>e>>>0?d+1|0:d;a=iq(a+132|0,b,c)}else{a=-84}return a}function xE(a){var b=0,c=0,d=0;if(o[q[a>>2]]-48>>>0<10){while(1){b=q[a>>2];d=o[b|0];q[a>>2]=b+1;c=(w(c,10)+d|0)-48|0;if(o[b+1|0]-48>>>0<10){continue}break}}return c}function taa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,0);d=q[c+20>>2];e=q[c+16>>2];u[b+8>>2]=u[c+24>>2];q[b>>2]=e;q[b+4>>2]=d;hl(a,b);fi=b+16|0;return 1}function saa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,0);d=q[c+36>>2];e=q[c+32>>2];u[b+8>>2]=u[c+40>>2];q[b>>2]=e;q[b+4>>2]=d;hl(a,b);fi=b+16|0;return 1}function oaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,0);d=q[c+68>>2];e=q[c+64>>2];u[b+8>>2]=u[c+72>>2];q[b>>2]=e;q[b+4>>2]=d;hl(a,b);fi=b+16|0;return 1}function oV(a,b){var c=0,d=0,e=0;d=q[b>>2];e=q[a>>2];a:{b:{if(!e){c=rD(a,d);if(!c){break b}break a}c=-20352;if((d|0)!=(e|0)){break a}}c=eo(a+172|0,b+136|0)}return c}function nY(a){a=a|0;var b=0;b=fi-16|0;fi=b;Tl(a,1);a:{if(!Fj(a,1)){q[b>>2]=yl(a,2,129140,0);a=ni(a,129137,b);break a}a=q[a+8>>2]-q[a+12>>2]>>4}fi=b+16|0;return a|0}function lga(a){a=a|0;var b=0,c=0;b=q[a+20>>2];if(!b){return-2}b=W5(b);c=IJ(q[a>>2],b,q[a+8>>2]);if(!c){q[q[a+24>>2]+8>>2]=b;return 0}_z(q[a>>2],b);GG(b);return c|0}function jsa(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+b|0;Kk(b,b+c|0,d-e|0);q[a+4>>2]=q[a+4>>2]-c}return}J(95420,95300,656,95344);G()}function eG(){var a=0;a=Ci(40);q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function Uaa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[Zi(a,1,b+12|0)+412>>2]>>>26|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=d&1;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function Saa(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;d=q[Zi(a,1,b+12|0)+412>>2]>>>25|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=d&1;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function PL(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){Ys(a,b,(c+1|0)==(b|0),1);c=q[a+4>>2]}qi(q[a>>2]+c|0,0,b-c|0)}q[a+4>>2]=b}}function I9(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;Zi(a,1,b+12|0);c=Fj(a,2);Ki(a);d=yi(a,-1,q[213955],189399);oi(a,-2);D8(d,q[b+12>>2],(c|0)!=0);fi=b+16|0;return 0}function C3(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=fi-1024|0;fi=c;if(d){J(28932,28134,316,28946);G()}lk(b,a,c);wk(c,28981,1024);a=zy(c,e);fi=c+1024|0;return a|0}function wr(a,b,c){var d=0,e=0;d=fi-16|0;o[d+15|0]=0;if(c){while(1){o[d+15|0]=r[d+15|0]|r[a+e|0]^r[b+e|0];e=e+1|0;if((e|0)!=(c|0)){continue}break}}return r[d+15|0]}function rba(a){var b=0,c=0;b=q[a+8>>2]-q[a+12>>2]|0;Ki(a);c=fk(a,-1,q[213955]);oi(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(187343,187364,162,187386);G()}return c}function ola(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;a=JI(q[q[q[a+16>>2]>>2]+8>>2]);c=0;a:{if(!a){break a}q[b>>2]=a;mi(4,38938,40752,b);c=-1e3}a=c;fi=b+16|0;return a|0}function lla(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;a=wI(q[q[q[a+16>>2]>>2]+8>>2]);c=0;a:{if(!a){break a}q[b>>2]=a;mi(4,38938,40709,b);c=-1e3}a=c;fi=b+16|0;return a|0}function jv(a,b,c){var d=0;d=fi-16|0;fi=d;a:{if(!Zo(a,b,c)){q[d>>2]=q[c+8>>2];mi(4,19499,19510,d);break a}a=b?q[b+120>>2]:0;if(gu(a,c)){break a}Wl(a,0,0)}fi=d+16|0}function fw(a,b,c,d){var e=0;e=$p(a,b,c);if(r[d|0]=r[b|0]){return e+1|0}dl(b,c);if(r[b|0]>=r[a|0]){return e+2|0}dl(a,b);e=e+3|0}return e}function eR(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;q[d+8>>2]=b;a=db(a|0,d+8|0,1,d+4|0)|0;b=0;a:{if(!a){break a}q[240833]=a;b=-1}fi=d+16|0;return b?-1:q[d+4>>2]}function bm(a){var b=0,c=0;b=a+12|0;c=q[a>>2]-b|0;a:{if(!c){b=q[a+4>>2];break a}Bi(q[a+8>>2],b,c);q[a>>2]=b;b=q[a+4>>2]+1|0;q[a+4>>2]=b}Jl(q[a+8>>2],b);q[a+4>>2]=1}function YC(a,b,c,d,e,f,g,h){var i=0;i=-16640;a:{switch(q[a+164>>2]){case 0:return qU(a,b,c,d,e,f,g,h);case 1:i=sU(a,b,c,d,e,f,g,h);break;default:break a}}return i}function Uoa(){var a=0,b=0;a=fi-16|0;fi=a;o[270692]=0;$7(r[270692]);gqa();wpa();n3();J5();b=fi-48|0;fi=b;q[212949]=0;a:{if(!r[270692]){break a}}fi=b+48|0;fi=a+16|0}function Uma(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Fm(a,1);u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];Aq(a,b);fi=b+16|0;return 1}function Qv(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;q[d+8>>2]=b;a=Ga(a|0,d+8|0,1,d+4|0)|0;b=0;a:{if(!a){break a}q[240833]=a;b=-1}fi=d+16|0;return b?-1:q[d+4>>2]}function Xda(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[74995];if(c){q[c+48>>2]=b;q[c+44>>2]=a;d=q[c+4>>2];if(d){ji[d|0](q[c+8>>2],a,b)}return}J(80061,79164,522,80071);G()}function Upa(a,b){var c=0,d=0,e=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=4){e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+8>>2]=c+4;q[b>>2]=e}return(d|0)>3}function IQ(a){a=a|0;q[a+8>>2]=1732584193;q[a+12>>2]=-271733879;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=-1009589776;q[a+16>>2]=-1732584194;q[a+20>>2]=271733878;return 0}function haa(a){a=a|0;var b=0,c=0;Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);b=q[b+360>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function gda(a,b){a=a|0;b=b|0;a=$b(a|0,b|0)|0;a:{if((a|0)!=-1|!(r[q[74995]+104|0]&8)){break a}if(!(K()|0)){break a}while(1){if(K()|0){continue}break}}return a|0}function Laa(a){a=a|0;var b=0,c=0;Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);b=q[b+364>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function uaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fi-16|0;fi=b;c=Zi(a,1,0);d=q[c+4>>2];e=q[c>>2];u[b+8>>2]=u[c+8>>2];q[b>>2]=e;q[b+4>>2]=d;hl(a,b);fi=b+16|0;return 1}function tl(a,b,c){var d=0,e=0;d=fi-32|0;fi=d;q[d+20>>2]=1;q[d+16>>2]=(c|0)<0?-1:1;e=c>>31;q[d+12>>2]=e^c+e;q[d+24>>2]=d+12;a=fl(a,b,d+16|0);fi=d+32|0;return a}function Zq(a,b){var c=0,d=0;d=3;a:{if(!a){break a}c=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!c|s[c+16>>1]!=(a>>>16|0)){break a}q[b>>2]=q[c+12>>2];d=0}return d}function Sma(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;bp(b,Fm(a,1));u[b+16>>2]=u[b>>2];c=q[b+8>>2];q[b+20>>2]=q[b+4>>2];q[b+24>>2]=c;hl(a,b+16|0);fi=b+32|0;return 1}function IE(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;b=b+12|0;a=fl(d,a+4|0,b);if(!a){a=Bt(b,d,(jj(b,0)|0)!=0&c)}Ji(d);fi=d+16|0;return a}function rV(a){if(a){Ji(a+112|0);Ji(a+100|0);Ji(a+88|0);Ji(a+76|0);Ji(a- -64|0);Ji(a+52|0);Ji(a+40|0);Ji(a+28|0);Ji(a+16|0);Ji(a+4|0);ji[q[66742]](a,0,124)|0}}function mm(a,b,c,d){c=fl(b,c,d);a:{if(c){break a}a=a+4|0;while(1){c=0;if(q[b>>2]>-1){break a}if(!jj(b,0)){break a}c=vl(b,b,a);if(!c){continue}break}}return c}function mP(a){var b=0,c=0,d=0;b=q[a+184>>2];d=a;if(r[q[a>>2]+184|0]&2){c=q[a+100>>2]}else{b=b+8|0;c=q[a+100>>2]+8|0}q[d+108>>2]=c;q[a+192>>2]=b;pr(a,0);mw(a)}function jB(a,b){var c=0;c=fi-16|0;fi=c;yj(a);Tk(a,b,0);oX(q[a+48>>2],b);if(q[a+16>>2]!=93){b=q[a+52>>2];q[c>>2]=Xk(a,93);xj(a,Oi(b,127343,c))}yj(a);fi=c+16|0}function MD(a,b,c){a:{b=Lj(a,b,c,3);if(b){break a}b=c;c=q[c>>2];q[b>>2]=c-1;b=-104;if(c>>>0<2){break a}b=a;a=q[a>>2];q[b>>2]=a+1;return r[a|0]?-104:0}return b}function wO(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;Ni(a,1,b+12|0);d=q[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;fi=b+16|0;return 1}function uU(a,b,c,d,e,f,g){var h=0;h=-16640;a:{switch(q[a+164>>2]){case 0:return oU(a,b,c,d,e,f,g);case 1:h=mU(a,b,c,d,e,f,g);break;default:break a}}return h}function U6(a){a=a|0;a:{switch(q[239952]+1|0){case 0:J(195241,194616,576,195274);G();case 2:a=q[a+32>>2];if(a){cs(a)}return 0;default:break a}}return yy(a)|0}function Ida(a){a=a|0;var b=0;Xa(1,a+4|0);a:{if(r[q[74995]+104|0]&8){b=K()|0;if(b){break a}}if(a){ki(a)}return}Mi(b,80482,2201);J(79249,79164,2201,80482);G()}function Gx(a){var b=0;b=fi-16|0;fi=b;q[b+12>>2]=a>>>24;q[b>>2]=a&255;q[b+8>>2]=a>>>16&255;q[b+4>>2]=a>>>8&255;bq(963312,16,209028,b);fi=b+16|0;return 963312}function EU(a,b){var c=0,d=0,e=0;c=q[a+68>>2];if(c){d=c;c=a+52|0;o[d+c|0]=1;e=q[a+68>>2];d=e+1|0;q[a+68>>2]=d;qi(c+d|0,0,15-e|0);Fw(a,1,c,0)}kR(a,b);return 0}function yn(a){var b=0,c=0;b=a*a;c=b*a;return x(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function rx(a){var b=0,c=0,d=0;b=-1;a:{if(a>>>0<256){c=a;break a}while(1){b=b+8|0;d=a>>>0>65535;c=a>>>8|0;a=c;if(d){continue}break}}return r[c+126496|0]+b|0}function aca(a){q[a>>2]=0;q[a+4>>2]=0;o[a+50|0]=0;p[a+48>>1]=0;q[a+40>>2]=1;q[a+32>>2]=640;q[a+36>>2]=480;q[a+8>>2]=0;q[a+12>>2]=0;q[a+44>>2]=78844;return a}function Q2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Hi(a,-10002);ek(a,113992,257952);oi(a,-3);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(113998,114019,114,114046);G()}}function P$(a,b){var c=0;c=q[239986];if(c){c=q[c+16>>2];if(!c){o[a+60|0]=r[a+60|0]&251|(b?0:4);return 0}tj(c);o[a+60|0]=r[a+60|0]&251|(b?0:4);lj(c)}return 0}function Mfa(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a+12>>2];if(b){Ui(b)}b=q[a+8>>2];if(b){Di(c,b)}b=q[a+16>>2];if(b){Di(c,b)}ki(a);return 0}function Kga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-13;if(!rj(q[a+12>>2],q[a+16>>2],q[65762],b+12|0)){q[q[a+24>>2]+8>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function H2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Hi(a,-10002);ek(a,122967,258960);oi(a,-3);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(122972,122993,150,123016);G()}}function EY(a){a=a|0;var b=0,c=0;b=gj(a,2);vj(a,1,5);c=q[a+8>>2];q[c+8>>2]=3;b=b+1|0;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Xi(a,1,b);return((ri(a,-1)|0)!=0)<<1}function CV(a){var b=0,c=0,d=0;if((a|0)<0){return 0}b=-2147483648;while(1){a:{d=c+1|0;if(c>>>0>30){break a}c=d;b=b>>>1|0;if(!(b&a)){continue}}break}return d}function $X(a){a=a|0;var b=0;b=yl(a,2,129349,0);vj(a,1,6);oi(a,3);if(ox(a,1009,0,b)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;ak(a,-2);a=2}else{a=1}return a|0}function vha(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-2;if(!rj(q[a+12>>2],q[a+16>>2],265912,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0} +function yS(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[c+4>>2]=4;d=a;a:{if((Sn(q[b>>2],0,32,c+8|0,c+4|0)|0)<=-1){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;b=132079;a=2;break a}b=$x(q[c+8>>2]);a=1}Hi(d,b);ti=c+16|0;return a|0}function u3(a){a=a|0;var b=0,c=0;Ql(a,1);c=Ei(a,1);b=q[81779];if(!c){if(b){va(120973,1741,0)|0;Pm(q[81779])}q[81779]=0;return 0}if(b){Pm(b)}b=Wn(a,1);q[81779]=b;if(!en(b)){return Bi(a,121261,0)|0}va(121287,1741,0)|0;return 0}function m_(a){a=a|0;var b=0;mj(a,1,5);mj(a,2,6);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a:{if(rj(a,1)){while(1){Qi(a,2);Qi(a,-3);Qi(a,-3);zk(a,2,1);b=1;if(Ei(a,-1)){break a}Ci(a,-3);if(rj(a,1)){continue}break}}b=0}return b|0}function a9(a){var b=0,c=0;c=q[a>>2];b=jj(c,36);q[b+16>>2]=-2;q[b+20>>2]=-2;q[b+8>>2]=-2;q[b+12>>2]=-2;q[b>>2]=-2;q[b+4>>2]=-2;q[b+28>>2]=0;q[b+32>>2]=-2;q[b+24>>2]=a;Ki(c,-1e4,195120);ij(c,-2);q[b+32>>2]=kk(c,-1e4);return b}function Lwa(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=w(e,f);g=c&65535;h=a&65535;i=w(g,h);f=(i>>>16|0)+w(f,g)|0;e=(f&65535)+w(e,h)|0;a=(w(b,c)+j|0)+w(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;wi=a;return b}function IW(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=dy(Ri(a,1),b+12|0);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e;q[a+8>>2]=q[a+8>>2]+16;c=q[b+12>>2];d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 2}function Dk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=kj(b,0);e=kj(c,0);f=kj(b,1);g=kj(c,1);h=kj(b,2);i=kj(c,2);b=kj(b,3);c=kj(c,3);o[a+3|0]=b>>>0>c>>>0?b:c;o[a+2|0]=h>>>0>i>>>0?h:i;o[a+1|0]=f>>>0>g>>>0?f:g;o[a|0]=d>>>0>e>>>0?d:e}function Ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=kj(b,0);e=kj(c,0);f=kj(b,1);g=kj(c,1);h=kj(b,2);i=kj(c,2);b=kj(b,3);c=kj(c,3);o[a+3|0]=b>>>0>>0?b:c;o[a+2|0]=h>>>0>>0?h:i;o[a+1|0]=f>>>0>>0?f:g;o[a|0]=d>>>0>>0?d:e}function r_(a){a=a|0;var b=0;if(!Ej(a,1)){Qi(a,-10003);Hp(a,0,0,0);Ci(a,2);gj(a,0,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-3);$i(a,-3);hk(a,-2);Ci(a,-2);mo(a);return 0}return q[a+8>>2]-q[a+12>>2]>>4}function qoa(a){a=a|0;var b=0,c=0,d=0;c=q[a>>2];b=q[q[a+8>>2]+8>>2];if(q[b+4>>2]){a=0;while(1){d=q[b>>2]+w(a,96)|0;Pi(c,q[d+24>>2]);Xl(q[d+88>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}ip(c,b+8|0);uA(b);yi(b);return 0}function hB(a,b,c,d){b=b-c|0;a:{b:{switch(q[d>>2]){case 13:case 14:b=(b|0)<0?0:b+1|0;iu(a,d,b);if((b|0)<2){break a}Lp(a,b-1|0);return;default:sm(a,d);break;case 0:break b}}if((b|0)<1){break a}c=q[a+36>>2];Lp(a,b);FX(a,c,b)}}function bl(a,b){var c=0,d=0,e=0;c=-16;a:{if(b>>>0>1e4){break a}d=q[a+4>>2];if(d>>>0>>0){e=Vj(b,4);if(!e){break a}c=q[a+8>>2];if(c){Gi(e,c,d<<2);xi[q[68401]](c,0,d<<2)|0;yi(q[a+8>>2])}q[a+8>>2]=e;q[a+4>>2]=b}c=0}return c}function WI(a,b,c){var d=0;a:{d=q[a+280>>2];a=q[a+276>>2];d=d-a>>3;if((d&65535)>>>0>b>>>0){if(b>>>0>=d>>>0){break a}a=a+(b<<3)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;a=0}else{a=-5}return a}J(195730,195579,479,195741);G()}function Lo(a,b,c){var d=0,e=0;d=-4;a:{if(c>>>0>1){break a}e=b>>>5|0;b:{if(q[a+4>>2]<<5>>>0<=b>>>0){if(!c){break b}d=bl(a,e+1|0);if(d){break a}}a=q[a+8>>2]+(e<<2)|0;d=q[a>>2];e=a;a=b&31;q[e>>2]=Twa(-2,a)&d|c<>2]=Wh();c=Uh(177846)|0;H$(c,a);_(b+396|0)|0;q[a+192>>2]=q[tE(b+396|0)+36>>2]/60;yi(c);ti=b+400|0}function jD(a,b,c,d,e,f){var g=0;g=ti-16|0;ti=g;q[g+12>>2]=d;d=-16e3;a:{if(!q[a>>2]){break a}if(RC(b,g+12|0)){break a}d=q[q[a>>2]+16>>2];if(!d){d=-16128;break a}d=xi[d|0](q[a+4>>2],b,c,q[g+12>>2],e,f)|0}ti=g+16|0;return d}function a2(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0);b=ti-48|0;ti=b;c=aj(a,1);d=u[c>>2];e=u[c+4>>2];f=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=128720;v[b+8>>3]=d;vj(a,129519,b);ti=b+48|0;return 1}function Wi(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=ti-16|0;ti=d;c=dj(a,b,c);if(!c){g=q[66952];h=d;f=Ei(a,b);e=135271;a:{if((f|0)==-1){break a}e=q[(f<<2)+267792>>2]}q[h+4>>2]=e;q[d>>2]=g;Qj(a,b,vj(a,137919,d))}ti=d+16|0;return c}function Ofa(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[64268],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]>>2]);nk(q[a+20>>2],q[q[b+12>>2]+12>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function I0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0),f=x(0);b=ti-48|0;ti=b;c=aj(a,1);d=u[c>>2];e=u[c+4>>2];f=u[c+8>>2];v[b+32>>3]=u[c+12>>2];v[b+24>>3]=f;v[b+16>>3]=e;q[b>>2]=128704;v[b+8>>3]=d;vj(a,129519,b);ti=b+48|0;return 1}function BZ(a){var b=0,c=0;b=211568;c=a-1|0;a:{if(!c){break a}while(1){if(!r[b|0]){break a}while(1){a=b;b=b+1|0;if(r[a+1|0]){continue}break}b=a+2|0;c=c-1|0;if(c){continue}break}}return RM(r[b|0]?b:b+1|0,q[q[73997]+20>>2])}function ty(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}d=q[a>>2];c=q[d+104>>2];e=q[d+108>>2];if((c|0)==(e|0)){break a}while(1){f=q[q[c>>2]+20>>2];if(f){xi[f|0](a,b);e=q[d+108>>2]}c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function tha(a){a=a|0;var b=0,c=0,d=0;b=-13;c=q[a+4>>2];d=q[a+20>>2];a:{if(!jp(q[a>>2],q[c+4>>2],d)){break a}c=a9(q[c>>2]);if(lI(c,d)){break a}b=q[a+24>>2];q[b+8>>2]=c;q[b+16>>2]=q[a+16>>2]-q[d+4>>2];b=0}cj(d);return b|0}function hha(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=pK(q[a>>2],q[a+4>>2],q[a+20>>2],0,b+12|0);a:{if(!d){c=q[b+12>>2];q[q[a+24>>2]+8>>2]=c;c=yG(c);q[q[a+24>>2]+16>>2]=c;break a}q[q[a+24>>2]+8>>2]=0}ti=b+16|0;return d|0}function Sta(a,b,c,d){q[d>>2]=98176;if(a>>>0>=2){if((a|0)==3){q[d>>2]=(c<<4)+93648;return w(c,3)+94224|0}if((b|0)==7){q[d>>2]=(c<<4)+93824;return w(c,3)+94272|0}q[d>>2]=(c<<4)+93168;a=w(c,3)+94128|0}else{a=98176}return a}function Px(a,b,c,d){var e=0,f=0;d=(d|0)==-1?0:d<<23;e=b<<6;f=((c-1|0)/50|0)+1|0;a:{if((c|0)<=25550){Qk(a,d|e|f<<14|34,q[q[a+12>>2]+8>>2]);break a}Qk(a,d|e|34,q[q[a+12>>2]+8>>2]);Qk(a,f,q[q[a+12>>2]+8>>2])}q[a+36>>2]=b+1}function CW(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;d=NS(Ri(a,1),c+8|0);e=v[c+8>>3];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;ti=c+16|0;return 2}function $fa(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[63618],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]>>2]);nk(q[a+20>>2],q[q[b+12>>2]+8>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function np(a,b){var c=0,d=0;c=q[b+80>>2];d=q[c+3128>>2];b=q[b+140>>2]&32767;if(b>>>0>=q[c+3132>>2]-d>>6>>>0){J(12518,10061,479,9553);G()}b=d+(b<<6)|0;d=q[b+52>>2];c=q[b+48>>2];u[a+8>>2]=u[b+56>>2];q[a>>2]=c;q[a+4>>2]=d}function nF(a,b){var c=0,d=0,e=0,f=0;c=ti-32|0;ti=c;q[c+16>>2]=0;e=Ll(a,3,c+16|0);d=720;a:{b:{if((e|0)<0){break b}q[c>>2]=e&-2049|(b?0:2048);if((Ll(a,4,c)|0)>-1){break a}d=734}f=Sl(168496,d,q[242957])}ti=c+32|0;return f}function l1(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;a=q[a+120>>2];d=Zi(b+8|0,a,0,127536,809);ik(a,127781,263632);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=4294967295;q[a+8>>2]=q[a+8>>2]+16;Di(a,-2,127787);Ci(a,-2);Yi(d);ti=b+32|0}function VZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=-24832;if(!(!a|!c)){q[c>>2]=0;if(!b){return 0}while(1){e=0;g=b;h=d;b=b-1|0;d=r[b+a|0]!=0|d;f=((h|0)==(d|0)?0:g)|f;q[c>>2]=f;if(b){continue}break}}return e|0}function Rna(a){a=a|0;var b=0,c=0;Ti(a);b=Li(a,-1,q[74377],18676);Ci(a,-2);c=a;a:{if(q[a+8>>2]-q[a+12>>2]>>4>=1){a=Wi(a,1,0);a=at(q[b+4>>2],a,Ui(a));b=wi;break a}b=q[b+4>>2];a=q[b+96>>2];b=q[b+100>>2]}Zj(c,a,b);return 1}function Lm(a){var b=0,c=0,d=0;b=-20736;a:{if(!a){break a}c=q[a>>2];if(!c){break a}d=q[a+8>>2];if(!d){break a}b=xi[q[c+16>>2]](q[a+4>>2])|0;if(b){break a}b=q[a+4>>2];a=q[a>>2];b=xi[q[a+20>>2]](b,d,q[a+12>>2])|0}return b}function ira(a){a=a|0;var b=0,c=0;b=Xi(a,1);if(!((b|0)==1&r[915868]!=0)){Bi(a,203030,0)}c=Xi(a,2);if(c>>>0>=10){return Bi(a,203057,0)|0}b=bra(b,c);if(!b){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}Hi(a,b);return 1}function hq(a,b,c){var d=0,e=0,f=0;q[c>>2]=0;if(b){e=q[a>>2];while(1){if((r[e|0]-48&255)>>>0>9){return-9216}d=w(d,10);q[c>>2]=d;f=e+1|0;q[a>>2]=f;d=(d+r[e|0]|0)-48|0;q[c>>2]=d;e=f;b=b-1|0;if(b){continue}break}}return 0}function Z6(a){var b=0,c=0;b=ti-32|0;ti=b;c=q[215623];if(c){Ak(c);q[215623]=0}c=il(a,166257);q[215623]=c;a:{if(c){q[b+16>>2]=a;Ai(2,166222,166260,b+16|0);break a}q[b>>2]=a;Ai(5,166222,166279,b)}ti=b+32|0;return(c|0)!=0}function Z0(a){a=a|0;var b=0,c=0,d=0;b=mk(a,1,q[212904]);c=mk(a,2,q[212904]);if(!(!b|!c|(u[b>>2]!=u[c>>2]|u[b+4>>2]!=u[c+4>>2]))){d=u[b+8>>2]==u[c+8>>2]}b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d;q[a+8>>2]=q[a+8>>2]+16;return 1}function Qx(a,b,c){var d=0,e=0;d=os(b,c);o[b+6|0]=0;if((d|0)==135744){a:{b:{switch(q[c+8>>2]){case 0:Hk(a,137241,0);break a;case 3:break b;default:break a}}e=v[c>>3];if(e==e){break a}Hk(a,137260,0)}d=Ap(a,b,c)}return d}function Js(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;a:{b:{if(s[a+24>>1]>=c>>>0){e=c<<4;f=q[a>>2];break b}q[d+12>>2]=0;e=c<<4;if(xo(d+12|0,16,e)){break a}yi(q[a>>2]);f=q[d+12>>2];q[a>>2]=f}Gi(f,b,e);p[a+24>>1]=c}ti=d+16|0}function Bl(a,b,c){var d=0;d=q[b>>2];a:{b:{if((w(d,q[c>>2])|0)<=-1){if((Wr(b,c)|0)>=0){c=_m(a,b,c);if(!c){break b}break a}c=_m(a,c,b);if(c){break a}q[a>>2]=0-d;return 0}c=Xr(a,b,c);if(c){break a}}q[a>>2]=d;c=0}return c}function rt(a,b,c){ks(a,b);Hi(a,131454);gj(a,0,0);Hi(a,131462);Hi(a,b);tj(a,-3);b=q[c>>2];if(b){while(1){Hi(a,b);ck(a,q[c+4>>2],0);tj(a,r[q[c>>2]]==95?-5:-3);b=q[c+8>>2];c=c+8|0;if(b){continue}break}}tj(a,-3);Ci(a,-2)}function hl(a,b,c){var d=0;d=q[b>>2];a:{b:{if((w(d,q[c>>2])|0)>=1){if((Wr(b,c)|0)>=0){c=_m(a,b,c);if(!c){break b}break a}c=_m(a,c,b);if(c){break a}q[a>>2]=0-d;return 0}c=Xr(a,b,c);if(c){break a}}q[a>>2]=d;c=0}return c}function Paa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[a+8>>2]-q[a+12>>2]|0;c=fj(a,1,b+12|0);Zj(a,q[c+544>>2],q[c+548>>2]);if(((d>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,523,196411);G()}ti=b+16|0;return 1}function Kqa(a){q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+32>>2]=0;q[a+48>>2]=0;o[a+44|0]=1;q[a+24>>2]=0;q[a+28>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+36>>2]=0;q[a+20>>2]=-1;Fz(a,2048,2048);return a}function JE(a){var b=0;b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=141945;q[a+8>>2]=q[a+8>>2]+16;Vk(a,-1e4);if((Ei(a,-1)|0)!=5){Ci(a,-2);gj(a,0,1);b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=141945;q[a+8>>2]=q[a+8>>2]+16;Qi(a,-2);tj(a,-1e4)}}function Gx(a){q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}function iA(a,b){var c=0,d=0,e=0;a:{if(!b){break a}e=(q[b+4>>2]-q[b>>2]|0)/18568|0;if(!e){break a}while(1){d=u6(b,c);if(d){Pi(a,d);OG(b,c,0)}d=s6(b,c);if(d){Pi(a,d);LG(b,c,0)}c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Iy(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=q[a>>2];b=q[c+104>>2];d=q[c+108>>2];if((b|0)==(d|0)){break a}while(1){e=q[q[b>>2]+32>>2];if(e){xi[e|0](a);d=q[c+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}}function Ey(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=q[a>>2];b=q[c+104>>2];d=q[c+108>>2];if((b|0)==(d|0)){break a}while(1){e=q[q[b>>2]+28>>2];if(e){xi[e|0](a);d=q[c+108>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}}}function Dna(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=Hm(a,2);a=kl(a,1);u[b>>2]=u[a>>2];u[b+4>>2]=u[a+4>>2];u[b+8>>2]=u[a+8>>2];a=q[b+4>>2];d=q[b>>2];u[c+24>>2]=u[b+8>>2];q[c+16>>2]=d;q[c+20>>2]=a;ti=b+16|0;return 0}function Yda(a,b){a=a|0;b=b|0;var c=0;a:{if(a){vc(q[(b<<2)+88e3>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}iJ(a+72|0,b,0);return}J(84152,84160,3394,88032);G()}Vi(c,88032,3403);J(84254,84160,3403,88032);G()}function Tu(){var a=0;a=Oi(48);q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+20>>2]=-1;dv(a,9,16);return a}function Rda(a,b){a=a|0;b=b|0;var c=0;a:{if(a){qc(q[(b<<2)+88e3>>2]);if(r[q[77547]+156|0]&64){c=K()|0;if(c){break a}}iJ(a+72|0,b,1);return}J(84152,84160,3378,87967);G()}Vi(c,87967,3387);J(84254,84160,3387,87967);G()}function Kaa(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);Zj(a,q[b+312>>2],q[b+316>>2]);if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(196375,196298,2069,200855);G()}return 1}function Bw(a,b,c,d,e){var f=0;f=Ew(a,b,c,d);if(t[e>>2]>2]){rl(d,e);if(t[d>>2]>=t[c>>2]){return f+1|0}rl(c,d);if(t[c>>2]>=t[b>>2]){return f+2|0}rl(b,c);if(t[b>>2]>=t[a>>2]){return f+3|0}rl(a,b);f=f+4|0}return f}function wca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){dc(b|0,c|0,d|0,e|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}return}J(84152,84160,3506,88240);G()}Vi(a,88240,3508);J(84254,84160,3508,88240);G()}function uL(a,b,c){var d=0,e=0,f=0,g=0;d=q[b+40>>2]+15&-16;e=q[c+16>>2];f=d+e|0;q[b+40>>2]=f;g=r[b+44|0];if(!(g|t[b+36>>2]>=f>>>0)){J(23832,23863,42,23894);G()}o[a+12|0]=(g|0)!=0;q[a+4>>2]=d;q[a>>2]=c;q[a+8>>2]=d+e}function uC(a){var b=0;a:{if(q[a+4>>2]-1>>>0<2?!(o[q[a>>2]+184|0]&1):0){break a}b:{b=q[a+68>>2];if(b){b=s[b+592>>1];if(b){break b}}b=s[a+228>>1];break a}a=s[a+228>>1];if(!a){break a}b=a>>>0>>0?a:b}return b&65535}function kca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(a){Tb(b|0,c|0,d|0,e|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}return}J(84152,84160,2234,87949);G()}Vi(a,87949,2237);J(84254,84160,2237,87949);G()}function gra(a){a=a|0;var b=0,c=0;if(GL(967280)){b=1}else{b=GL(966256)}if(b){c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;xn(966256);xn(967280);return 1}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}function gda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=s[b+192>>1];if(e){while(1){c=w(d,24)+b|0;Uj(a,c,8);Uj(a,c+8|0,2);Uj(a,c+12|0,2);Uj(a,c+14|0,2);Uj(a,c+16|0,4);Uj(a,c+20|0,1);d=d+1|0;if((e|0)!=(d|0)){continue}break}}}function cea(a){a=a|0;var b=0;b=ti-16|0;ti=b;a:{b:{if(!a){break b}q[b+12>>2]=a;Ya(1,b+12|0);if(!(r[q[77547]+156|0]&64)){break b}a=K()|0;if(a){break a}}ti=b+16|0;return}Vi(a,87306,1618);J(84254,84160,1618,87306);G()}function _da(a){a=a|0;var b=0;b=ti-16|0;ti=b;a:{b:{if(!a){break b}q[b+12>>2]=a;Ya(1,b+12|0);if(!(r[q[77547]+156|0]&64)){break b}a=K()|0;if(a){break a}}ti=b+16|0;return}Vi(a,87191,1554);J(84254,84160,1554,87191);G()}function Ru(a,b,c,d){var e=0;e=q[a+2060>>2];a:{if((e|0)==q[a+2064>>2]){Ai(4,109533,109540,0);a=255;break a}q[a+2060>>2]=e+12;q[e+8>>2]=d;q[e+4>>2]=c;q[e>>2]=b;a=((q[a+2060>>2]-q[a+2056>>2]|0)/12|0)-1|0}return a&255}function Loa(a){var b=0;b=Oi(48);q[b>>2]=0;q[b+4>>2]=0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+36>>2]=q[a>>2];q[b+40>>2]=q[a+4>>2];q[b+44>>2]=q[a+8>>2];return b}function HT(a,b,c){var d=0;d=q[a>>2];if((b-d|0)<1){return-8928}if((r[d|0]|128)!=130){return-8930}q[a>>2]=d+1;q[c>>2]=r[d|0];b=zq(a,b,c+4|0);if(b){return b-8832|0}q[c+8>>2]=q[a>>2];q[a>>2]=q[a>>2]+q[c+4>>2];return 0}function EN(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;b=Rj(a,b,e+12|0,48);a:{if(b){b=b-9216|0;break a}f=q[a>>2]+q[e+12>>2]|0;b=YC(a,f,c);if(b){break a}b=YC(a,f,d);if(b){break a}b=q[a>>2]==(f|0)?0:-9318}ti=e+16|0;return b}function Bea(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,0,60730,814);a:{if((Ei(a,1)|0)!=7){break a}c=mk(a,1,q[76578]);if(!c){break a}if(!Ao(q[c>>2])){break a}Aj(a,-1e4,q[c+44>>2])}Yi(d);ti=b+32|0;return 0}function ur(a,b){var c=0,d=0,e=0;c=a*a;d=c*a;e=d*(c*.13339200271297674+.3333313950307914)+a;a=c*c;a=e+d*a*(c*.024528318116654728+.05338123784456704+a*(c*.009465647849436732+.002974357433599673));return x(b?-1/a:a)}function j6(a){q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=1065353216;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=4;q[a+20>>2]=1065353216;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=-1054867456;o[a+48|0]=r[a+48|0]&254;return a}function dl(a,b){var c=0;c=ti-32|0;ti=c;a:{if((b|0)<=256){a=q[a+52>>2];if((b|0)==127|b>>>0<32){q[c+16>>2]=b;a=_i(a,136243,c+16|0);break a}q[c>>2]=b;a=_i(a,136252,c);break a}a=q[(b<<2)+266636>>2]}ti=c+32|0;return a}function dja(a){a=a|0;var b=0,c=0,d=0;c=q[a+8>>2]-q[a+12>>2]|0;d=!(Hb()|0);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=d^1;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(78346,78128,299,78415);G()}return 1}function WX(a,b){var c=0,d=0;d=q[a+40>>2];a:{if(b+1>>>0<=178956970){c=lj(a,d,w(q[a+48>>2],24),w(b,24));break a}c=Yj(a)}q[a+48>>2]=b;q[a+40>>2]=c;q[a+36>>2]=(w(b,24)+c|0)-24;q[a+20>>2]=w((q[a+20>>2]-d|0)/24|0,24)+c}function LE(a){var b=0,c=0,d=0;Hi(a,131926);Sj(a,-2);b=-1;a:{if(!Ei(a,-1)){break a}Qi(a,-2);zk(a,1,1);if(!Bj(a,-1)){break a}c=xj(a,-1);b=c>=0;if(y(c)<2147483648){d=~~c}else{d=-2147483648}b=b?d:-1}Ci(a,-2);return b}function BV(a,b,c,d,e,f){var g=0;g=ti-32|0;ti=g;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=0;q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a=g$(a,g+16|0,g,a+124|0,c,d,b);if(!a){a=e$(g+16|0,g,e,f)}Si(g+16|0);Si(g);ti=g+32|0;return a}function v5(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,110389,547);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+328>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function u5(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,110389,559);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+324>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function sba(a){a=a|0;var b=0,c=0;b=ti-32|0;ti=b;c=aj(a,1);q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;xi[q[q[c+12>>2]+4>>2]](c,b);Ul(a,b);ti=b+32|0;return 1}function aV(a,b,c){var d=0;a:{d=q[a>>2];if((d|0)<0){b=-69;break a}b=GR(d,b,c);if((b|0)>-1){break a}b=-26880;if(VC(a)){break a}b=-80;if(q[242957]==64|q[242957]==15){break a}return q[242957]==27?-26880:-76}return b}function Su(a,b,c){var d=0;d=q[a+2060>>2];a:{if((d|0)==q[a+2064>>2]){Ai(4,109533,109540,0);a=255;break a}q[a+2060>>2]=d+12;q[d+8>>2]=c;q[d+4>>2]=0;q[d>>2]=b;a=((q[a+2060>>2]-q[a+2056>>2]|0)/12|0)-1|0}return a&255}function Gj(a){var b=0,c=0;q[a+8>>2]=q[a+4>>2];if(q[a+32>>2]!=287){b=a+32|0;c=q[b+4>>2];q[a+16>>2]=q[b>>2];q[a+20>>2]=c;c=q[b+12>>2];q[a+24>>2]=q[b+8>>2];q[a+28>>2]=c;q[a+32>>2]=287;return}q[a+16>>2]=uE(a,a+24|0)}function Fla(a){a=a|0;var b=0,c=0;b=q[a>>2];c=q[b+16>>2];a=q[q[a+4>>2]>>2];if(a>>>0>2]-c>>3>>>0){a=q[(a<<3)+c>>2];c=q[b+4>>2];b=q[b>>2];if(a>>>0>8>>>0){return b+(a<<8)|0}}J(52123,52040,479,52134);G()}function uba(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,196298,248);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+8>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function tba(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,196298,260);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+4>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function goa(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,15841,343);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+20>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function foa(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-32|0;ti=c;e=Zi(c+8|0,a,1,15841,355);b=aj(a,1);d=-2;a:{if(!b){break a}d=+q[b+16>>2]}b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=d;q[a+8>>2]=q[a+8>>2]+16;Yi(e);ti=c+32|0;return 1}function Hi(a,b){var c=0,d=0;a:{if(!b){b=q[a+8>>2];q[b+8>>2]=0;a=a+8|0;break a}d=Ui(b);c=q[a+16>>2];if(t[c+68>>2]>=t[c+64>>2]){_l(a)}c=q[a+8>>2];b=Jj(a,b,d);q[c+8>>2]=4;q[c>>2]=b;b=q[a+8>>2];a=a+8|0}q[a>>2]=b+16}function H0(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0),f=x(0);b=aj(a,1);c=u[b>>2];d=u[b+4>>2];e=u[b+8>>2];f=u[b+12>>2];b=jj(a,16);u[b+12>>2]=-f;u[b+8>>2]=-e;u[b+4>>2]=-d;u[b>>2]=-c;Ki(a,-1e4,128704);ij(a,-2);return 1}function EM(a,b,c,d,e,f,g){a:{b:{if(a-13>>>0<4){a=0;if(w(f?f:d,e?e:c)>>>0<=b>>>0){break b}break a}if((a|0)==17){a=0;if(w(d+3>>>2|0,c+7>>>3|0)>>>0<=b>>>0){break b}break a}a=0;if(b>>>0>>0){break a}}a=1}return a}function kaa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;fj(a,1,b+12|0);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);c=yba(c,q[b+12>>2]);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function LD(a,b,c,d){var e=0;e=-13;a:{b=HD(b,d);if(!b|q[b+24>>2]!=16){break a}if(a){e=q[a+60>>2];if(e){xi[q[q[q[a>>2]+28>>2]+32>>2]](e)}xi[q[68401]](a,0,64)|0}e=Zt(a,b);if(e){break a}return _t(a,c,d,1)}return e}function Kra(a,b,c){var d=0;a:{b:{if((b|0)==8){b=Ji(c);break b}d=28;if(b&3){break a}if((Rwa(b>>>2|0)|0)!=1){break a}d=48;if(-64-b>>>0>>0){break a}b=oZ(b>>>0>16?b:16,c)}if(!b){return 48}q[a>>2]=b;d=0}return d}function Gga(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];gA(b,a);if(a){a:{if(o[a+40|0]&1){break a}b=q[a+28>>2];if(!b){break a}yi(b)}b:{if(o[a+24|0]&1){break b}b=q[a+12>>2];if(!b){break b}yi(b)}yi(a)}return 0}function Cra(a,b,c){var d=0,e=0;d=a&65535;e=q[213374];if(d>>>0>=t[e+8>>2]){J(149021,149036,144,149074);G()}q[c>>2]=q[(q[(s[q[e+4>>2]+(d<<1)>>1]==(a>>>16|0)?q[q[e>>2]+(d<<2)>>2]:0)+4>>2]+(b<<4)|0)+8>>2];return 0}function nW(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=Hx(a,b,c,d);a:{if(a){break a}a=-104;b:{switch(q[d>>2]){case 0:case 5:break b;default:break a}}a=q[d+4>>2]?-104:0}ti=d+16|0;return a}function Zfa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=yK(q[a+8>>2],q[a+4>>2],q[a+20>>2],0,0,0,0,0,b+8|0);if(!d){c=Oi(8);e=q[b+12>>2];q[c>>2]=q[b+8>>2];q[c+4>>2]=e;q[q[a+24>>2]+8>>2]=c}ti=b+16|0;return d|0}function Sia(a,b,c,d,e,f,g){a=a|0;b=b|0;c=x(c);d=d|0;e=x(e);f=x(f);g=g|0;var h=0;h=ti-32|0;ti=h;$y(a,b,c,d,e,f,h+8|0);u[g>>2]=u[h+8>>2];u[g+4>>2]=u[h+12>>2];u[g+8>>2]=u[h+16>>2];u[g+12>>2]=u[h+20>>2];ti=h+32|0}function R2(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=x(d);e=e|0;f=f|0;a=ti-16|0;ti=a;a:{if(!en(f)){break a}if((b|0)!=2){u[a+12>>2]=d;q[a+8>>2]=c;ys(f,863,a+8|0);if((b|0)==1){break a}}if(!en(f)){break a}Pm(f)}ti=a+16|0}function ro(a){var b=0;if(a){if(q[a+76>>2]<=-1){return rB(a)}return rB(a)}if(q[73916]){b=ro(q[73916])}a=q[242946];if(a){while(1){if(t[a+20>>2]>t[a+28>>2]){b=rB(a)|b}a=q[a+56>>2];if(a){continue}break}}return b}function Wfa(a){a=a|0;var b=0,c=0,d=0;c=ti-16|0;ti=c;q[c+8>>2]=0;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[64574],c+4|0)){d=q[c+4>>2];b=Oi(124);Fi(b+4|0,0,120);q[b>>2]=d;q[q[a+24>>2]>>2]=b;b=0}ti=c+16|0;return b|0}function qt(a,b,c,d){var e=0,f=0;if(d>>>0<10){if(d){e=q[b>>2];a=(e>>3)+a|0;f=c;c=e&7;e=f<>>0>>0){o[a+1|0]=r[a+1|0]|e>>>8}q[b>>2]=q[b>>2]+d}return}J(102404,92069,11733,102418);G()}function ata(a){a=a|0;var b=0,c=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b^-1;q[a+8>>2]=q[a+8>>2]+16;return 1}function Yx(a){var b=0,c=0,d=0;a:{if(!a){break a}b=q[a+28>>2];if(!b){break a}c=q[a+36>>2];if(!c){break a}d=q[b+52>>2];if(d){xi[c|0](q[a+40>>2],d);c=q[a+36>>2];b=q[a+28>>2]}xi[c|0](q[a+40>>2],b);q[a+28>>2]=0}}function Tla(a,b){a=a|0;b=b|0;a:{if((q[b+8>>2]&-2)==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=178;return}J(38618,36771,2617,38736);G()}J(38758,36771,2618,38736);G()}function P9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);d=Ri(a,2);a=c;c=a;e=q[a+412>>2]&-50331649;if(y(d)<2147483648){a=~~d}else{a=-2147483648}q[c+412>>2]=e|a<<24&50331648;ti=b+16|0;return 0}function vV(a,b,c){var d=0;d=-20352;a:{if(c>>>0<3){break a}c=q[b>>2];q[b>>2]=c+1;if(r[c|0]!=3){break a}q[b>>2]=c+2;d=r[c+1|0];q[b>>2]=c+3;b=yV(r[c+2|0]|d<<8);if(!b){return-20096}q[a>>2]=q[b>>2];d=0}return d}function v7(){var a=0,b=0,c=0;a=ti-16|0;ti=a;c=q[215612];wj(c);a:{b=q[215611];if(!b){q[a+8>>2]=32;q[a+12>>2]=10;if(KL(a+8|0)){break a}b=q[215611]}qj(c);ora(b);ti=a+16|0;return}J(163039,163072,83,163100);G()}function oda(a){a=a|0;var b=0;b=ti-16|0;ti=b;ca(q[a>>2],35718,b+12|0);a:{if(!(r[q[77547]+156|0]&64)){break a}a=K()|0;if(!a){break a}Vi(a,87870,2203);J(84254,84160,2203,87870);G()}ti=b+16|0;return q[b+12>>2]}function Yha(a){a=a|0;var b=0;a:{if(q[a+8>>2]!=1){break a}b=q[a+16>>2];if((b|0)==q[a+20>>2]){break a}while(1){Yn(q[a>>2],q[(q[a+12>>2]+w(q[b>>2],48)|0)+16>>2]);b=b+4|0;if((b|0)!=q[a+20>>2]){continue}break}}}function Xfa(a){a=a|0;var b=0,c=0;b=q[q[a+12>>2]+8>>2];if(xi[q[77517]](q[b>>2],q[b+4>>2])&1){a=-17}else{c=q[a+8>>2];cj(q[c>>2]);_J(c);b=xi[q[77506]](q[b>>2],q[b+4>>2])|0;q[q[a+12>>2]+16>>2]=b;a=0}return a|0}function Vba(a,b,c){var d=0,e=0,f=0;d=ti-16|0;ti=d;o[d+12|0]=0;a:{while(1){q[d+8>>2]=w(e,960)+b;f=_q(a,4,-2,d+8|0);if(f){break a}o[c+e|0]=r[d+12|0];e=e+1|0;if((e|0)!=1){continue}break}f=0}ti=d+16|0;return f}function Usa(a){a=a|0;var b=0,c=0;axa(+(xj(a,1)+6755399441055744));Zwa(1)|0;b=Zwa(0)|0;a:{if(b){break a}if(Bj(a,1)){break a}wk(a,1,131346)}c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Ipa(a,b){var c=0,d=0;c=q[a>>2];a=q[a+4>>2];if((c|0)!=(a|0)){d=a-c>>3;a=0;while(1){if(q[(a<<3)+c>>2]==(b|0)){return(q[41972]&s[((a<<3)+c|0)+6>>1])!=0}a=a+1|0;if(d>>>0>a>>>0){continue}break}}return 0}function sma(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=q[a+8>>2];e=q[a+12>>2];c=q[q[a+16>>2]>>2];q[c>>2]=q[a+4>>2];o[c+24|0]=r[c+24|0]&249|4;if(!cK(e,d,c,1)){q[b>>2]=33770;Ai(4,33031,33767,b)}ti=b+16|0}function nna(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,1,63431,108);Vn(a,63033,0,b+4|0,0);e=Vma(q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Yi(d);ti=b+32|0;return 1}function eka(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=q[a+192>>2];if(!g){g=Wp();q[a+192>>2]=g}h=q[a+200>>2];if(!h){h=q[q[a+188>>2]+16>>2]}dr(g,h,b,c,d,e,f);p[a+234>>1]=s[a+234>>1]|256}function tja(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,1,65374,86);Vn(a,64877,0,b+4|0,0);e=ima(q[b+4>>2]);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=e|0;q[a+8>>2]=q[a+8>>2]+16;Yi(d);ti=b+32|0;return 1}function dva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=ti-16|0;ti=e;a=kb(q[a+60>>2],b|0,c|0,d&255,e+8|0)|0;b=0;a:{if(!a){break a}q[242957]=a;b=-1}a=b;ti=e+16|0;wi=a?-1:q[e+12>>2];return(a?-1:q[e+8>>2])|0}function Kpa(a){a=a|0;var b=0;a=q[a+4>>2];b=q[a+8>>2]-q[a+12>>2]>>4;Ki(a,-10002,5365);if(!Ei(a,-1)){Ci(a,-2);ik(a,5365,238352)}Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(5374,5395,53,5420);G()}return 0}function KY(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=gy(a,Wi(a,1,0),139176);a:{if(!c){break a}if(!Nx(a,c)){break a}d=dj(a,1,0);q[b+8>>2]=dj(a,-1,0);q[b+4>>2]=c;q[b>>2]=d;Bi(a,139683,b)}ti=b+16|0;return 1}function Fna(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=Ri(a,1);d=Ri(a,2);q[b+24>>2]=1065353216;u[b+20>>2]=d;u[b+16>>2]=c;q[b+8>>2]=-1082130432;q[b>>2]=0;q[b+4>>2]=0;jl(a,b+16|0);jl(a,b);ti=b+32|0;return 2}function swa(){q[74299]=0;q[74300]=0;q[74298]=296568;q[74296]=0;q[74294]=12740;q[74293]=12723;q[74292]=0;q[74290]=0;q[74288]=0;q[74286]=0;q[74284]=1;q[74282]=0;q[74283]=3;q[74301]=0;q[74302]=0;q[74303]=0}function nn(a,b,c){var d=0,e=0,f=0,g=0;q[a+112>>2]=b;q[a+116>>2]=c;d=q[a+8>>2];g=q[a+4>>2];e=d-g|0;f=e>>31;q[a+120>>2]=e;q[a+124>>2]=f;q[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0>>0:0)?b+g|0:d:d}function em(a,b,c,d,e){var f=0;f=ti-256|0;ti=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Fi(f,b&255,d?c:256);if(!d){while(1){Jl(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Jl(a,f,c)}ti=f+256|0}function T9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);d=Ri(a,2);a=c;c=a;e=q[a+412>>2]&-196609;if(y(d)<2147483648){a=~~d}else{a=-2147483648}q[c+412>>2]=e|a<<16&196608;ti=b+16|0;return 0}function vla(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=q[a+220>>2];if(!g){g=Wp();q[a+220>>2]=g}h=q[a+224>>2];if(!h){h=q[q[a+216>>2]+4>>2]}dr(g,h,b,c,d,e,f);p[a+246>>1]=s[a+246>>1]|8}function vfa(a){var b=0,c=0;a:{a=q[a>>2];if(!a){break a}c=q[a+8>>2]-q[a+12>>2]>>4;Bs(a,q[76920]);b=aj(a,-1);Ci(a,-2);if(b){yi(b)}if(q[a+8>>2]-q[a+12>>2]>>4==(c|0)){break a}J(68641,68051,1364,68662);G()}}function sk(a){var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;d=-1;c=xi[q[a+8>>2]](q[a+16>>2],q[a+12>>2],b+12|0)|0;a:{if(!c){break a}e=q[b+12>>2];if(!e){break a}q[a+4>>2]=c+1;q[a>>2]=e-1;d=r[c|0]}ti=b+16|0;return d}function qp(a,b,c,d){var e=0,f=0,g=0;if(d){e=q[b>>2];while(1){f=q[b>>2];g=(f>>3)+a|0;o[g|0]=r[g|0]|c<<(f&7);e=8-(e&7)|0;f=(d|0)<(e|0)?d:e;e=f+q[b>>2]|0;q[b>>2]=e;c=c>>>f|0;d=d-f|0;if(d){continue}break}}}function jka(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=213;return}J(48037,48093,1552,48135);G()}J(48160,48093,1553,48135);G()}function gla(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=185;return}J(40168,40001,1113,40224);G()}J(40247,40001,1114,40224);G()}function Wja(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=217;return}J(50325,49713,1012,50381);G()}J(50408,49713,1013,50381);G()}function Pka(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=208;return}J(46129,46185,1254,46226);G()}J(46250,46185,1255,46226);G()}function DP(a,b,c){var d=0;d=q[a+204>>2];q[c>>2]=0;d=d+16384|0;if(!(!(q[q[a>>2]+184>>2]&448)|d>>>0>>0|d-b>>>0<5)){o[b|0]=0;o[b+1|0]=1;o[b+2|0]=0;o[b+3|0]=1;o[b+4|0]=q[q[a>>2]+184>>2]>>>6&7;q[c>>2]=5}}function Cma(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=142;return}J(33882,33206,1792,33938);G()}J(33966,33206,1793,33938);G()}function Ci(a,b){var c=0;if((b|0)>=0){c=q[a+8>>2];b=q[a+12>>2]+(b<<4)|0;if(c>>>0>>0){while(1){q[c+8>>2]=0;c=c+16|0;if(b>>>0>c>>>0){continue}break}}q[a+8>>2]=b;return}q[a+8>>2]=(q[a+8>>2]+(b<<4)|0)+16}function xD(){if(!r[853504]){q[213390]=10;q[213391]=0;q[213388]=11;q[213389]=1;q[213386]=6;q[213387]=2;q[213384]=3;q[213385]=12;q[213382]=4;q[213383]=7;q[213380]=5;q[213381]=8;o[853504]=1}return 853520}function uB(a,b,c,d){var e=0;e=q[a>>2];a:{if((e|0)==(b|0)){break a}q[c>>2]=r[e|0];b=Rj(a,b,c+4|0,d|160);if((b|0)==-98){break a}if(b){return b-8576|0}q[c+8>>2]=q[a>>2];q[a>>2]=q[a>>2]+q[c+4>>2]}return 0}function mpa(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=31;return}J(13350,12848,1125,13406);G()}J(13431,12848,1126,13406);G()}function i4(a){var b=0;b=ti-32|0;ti=b;q[b+24>>2]=0;Up(q[a+5168>>2],q[a+5172>>2],124,a);q[74692]=q[74692]+q[q[a>>2]+24>>2];a=q[q[a>>2]+24>>2];q[b+8>>2]=a;q[b+12>>2]=0;q[b+16>>2]=a;q[b+20>>2]=0;ti=b+32|0}function fm(a){var b=0,c=0;a:{if(!a){break a}b=q[a>>2];if(!b){break a}c=q[a+4>>2];if(c){xi[q[b+36>>2]](c)}b=q[a+8>>2];if(b){xi[q[68401]](b,0,q[q[a>>2]+12>>2]<<1)|0;yi(q[a+8>>2])}xi[q[68401]](a,0,12)|0}}function HD(a,b){var c=0,d=0,e=0;d=276608;c=q[69153];a:{if(c){while(1){e=d;if(q[c+4>>2]==1?!(q[q[c+28>>2]>>2]!=(a|0)|q[c+8>>2]!=(b|0)):0){break a}d=e+8|0;c=q[e+12>>2];if(c){continue}break}}c=0}return c}function Dwa(){q[74135]=0;q[74136]=0;q[74134]=296568;q[74132]=0;q[74130]=5924;q[74129]=5904;q[74128]=0;q[74126]=0;q[74124]=0;q[74122]=0;q[74120]=1;q[74118]=0;q[74119]=3;q[74137]=0;q[74138]=0;q[74139]=0}function Dr(a,b){var c=0,d=0,e=0;c=q[a+192>>2];d=q[q[a>>2]+184>>2]&2;e=c+(d?13:5)|0;q[a+200>>2]=e;q[a+196>>2]=(d?11:3)+c;q[a+188>>2]=(d?3:-8)+c;q[a+204>>2]=!b|q[a+20>>2]<2?e:(q[b+4>>2]+e|0)-q[b+8>>2]|0}function uha(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;e=q[q[a+32>>2]+8>>2];c=q[a+4>>2];o[b+12|0]=r[c+17|0];d=-13;if(tK(c,q[a+20>>2],q[a+24>>2],b+8|0)){a=q[b+8>>2];q[e>>2]=a;d=0}ti=b+16|0;return d|0}function i9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,196298,2958);fj(a,1,b+4|0);d=Ej(a,2);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);oI(e,q[b+4>>2],(d|0)!=0);Yi(c);ti=b+32|0;return 0}function cla(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=q[a+148>>2];if(!g){g=Wp();q[a+148>>2]=g}h=q[a+192>>2];if(!h){h=q[q[a+152>>2]+8>>2]}dr(g,h,b,c,d,e,f);o[a+204|0]=r[a+204|0]|4}function bqa(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;d=c+8|0;q[d>>2]=0;q[d+4>>2]=0;a=q[a+4>>2];q[d+4>>2]=0;q[d>>2]=a;q[c>>2]=!b;kL(d,c);a=(b|0)!=0;qfa(a);b=q[242116];if(b){o[b+33956|0]=a}ti=c+16|0}function Wva(){q[81632]=0;q[81633]=0;q[81630]=0;q[81628]=109448;q[81627]=109436;q[81626]=0;q[81624]=0;q[81622]=0;q[81620]=0;q[81618]=0;q[81616]=0;q[81617]=0;q[81634]=0;q[81635]=0;q[81636]=0;q[81637]=0}function QN(a,b){var c=0;if(!(mw(a+80|0,a+112|0)|!b)){c=q[a+8>>2];while(1){a:{if(q[b+8>>2]!=(c|0)){break a}if(pj(q[a+12>>2],q[b+12>>2],c)){break a}return 0}b=q[b+340>>2];if(b){continue}break}}return-1}function Iwa(a){a=a|0;var b=0;if(r[295232]){q[220709]=57005;q[220710]=0;b=a;a=Ui(a);Kw(883100,b,a>>>0<32767?a:32767);b=q[242108];if(b){a=Ui(883100);xi[b|0](q[242109],a+883100|0,32767-a|0)}Yqa();Zqa()}}function D$(a){var b=0,c=0;b=ti+ -64|0;ti=b;db(30)|0;c=Oi(12);q[c+8>>2]=a;q[c+4>>2]=203996;q[c>>2]=1545;if(!(hb(b+12|0,b+16|0,1394,c|0)|0)){ti=b- -64|0;return q[b+12>>2]}J(178162,178171,85,178194);G()}function Ala(a,b){a=a|0;b=b|0;a:{if(q[b+8>>2]==2){if(!q[b+20>>2]){break a}q[a+1048>>2]=0;q[a+1052>>2]=0;q[a+1040>>2]=b;q[a+1056>>2]=220;return}J(51547,51603,794,51644);G()}J(51668,51603,795,51644);G()}function nwa(){q[74078]=1;q[74076]=1958639865;q[74077]=-771645978;q[74075]=5320;q[74074]=1;q[74081]=0;o[296320]=0;q[74079]=q[74072];q[74081]=q[74622];q[74622]=296296;q[59585]=q[74622];q[74622]=238312}function lC(a){var b=0,c=0;b=Rw(a);if(!b){c=q[q[a>>2]+184>>2];a:{if(!(c&2)|q[a+8>>2]!=3){break a}b=q[a+68>>2];if(c&1){q[b+472>>2]=1;break a}q[b+476>>2]=1}q[a+4>>2]=0;q[a+8>>2]=1;return Nr(a)}return b}function js(a,b){var c=0;c=ti-112|0;ti=c;a:{b:{if(!cl(a,b,c+8|0)){break b}tn(a,137939,c+8|0);b=q[c+28>>2];if((b|0)<1){break b}q[c+4>>2]=b;q[c>>2]=c+44;vj(a,137942,c);break a}Ni(a,137950,0)}ti=c+112|0}function PN(a,b,c,d,e,f,g){q[d>>2]=1;xB(a,b,c,e,1,f,g);a:{if(q[c>>2]){break a}while(1){b:{b=q[d>>2];q[d>>2]=0;if(!b){break b}xB(a,q[a+340>>2],c,e,0,f,g);if(!q[c>>2]){continue}break a}break}q[e>>2]=0}}function H3(a){a=a|0;var b=0;b=ti-1040|0;ti=b;if(ek(a,1)){gj(a,0,2);Qi(a,1);Di(a,-2,118949);q[b+8>>2]=1024;o[b|0]=1;q[b+4>>2]=b+16;GF(a,119063,802,b);Hi(a,b+16|0);Di(a,-2,118955)}ti=b+1040|0;return 1}function Ega(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;if(!Cj(q[a+20>>2],q[a+24>>2],251248,c+12|0)){b=q[q[a+32>>2]+8>>2];gA(q[a>>2],b);q[b>>2]=q[c+12>>2];b=lK(q[a+4>>2],q[a>>2],b)}ti=c+16|0;return b|0}function yl(a,b,c,d,e){var f=0;f=ti-32|0;ti=f;q[f+28>>2]=0;q[f+24>>2]=e;q[f+20>>2]=d;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=S(14,f+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=f+32|0;return a}function rba(a){a=a|0;var b=0,c=0;b=aj(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+12>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function r5(a){a=a|0;var b=0,c=0;b=aj(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+304>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function mba(a){a=a|0;var b=0,c=0;b=aj(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+24>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function cx(a,b,c,d,e){var f=0;f=ti-32|0;ti=f;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=0;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=S(12,f+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=f+32|0;return a}function cba(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,0,196298,648);c=fj(a,1,b+4|0);a:{if(r[c+415|0]&16){e=Bi(a,196441,0);break a}p[c+572>>1]=s[c+572>>1]|1}Yi(d);ti=b+32|0;return e|0}function aqa(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;q[a+448>>2]=pk();q[a+452>>2]=wi;d=c+8|0;q[d>>2]=0;q[d+4>>2]=0;a=q[a+4>>2];q[d+4>>2]=0;q[d>>2]=a;q[c>>2]=b?2:3;kL(d,c);pfa((b|0)!=0);ti=c+16|0}function _w(a,b,c,d,e){var f=0;f=ti-32|0;ti=f;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=0;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=S(11,f+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=f+32|0;return a}function _ba(a){var b=0,c=0;q[a+348>>2]=-1;q[a+36>>2]=q[a+32>>2];p[a+26>>1]=0;if(s[a+24>>1]){c=q[a+20>>2];while(1){p[(b<<1)+c>>1]=b;b=b+1|0;if(b>>>0>1]){continue}break}}q[a+52>>2]=q[a+48>>2]}function Xna(a){a=a|0;var b=0,c=0;b=aj(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+44>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Vi(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;g=d;f=a-1280|0;e=85912;a:{if(f>>>0>2){break a}e=q[(f<<2)+257696>>2]}q[g+12>>2]=e;q[d+8>>2]=a;q[d+4>>2]=c;q[d>>2]=b;Ai(4,84116,85985,d);ti=d+16|0}function Uva(){q[74704]=0;q[74705]=0;q[74702]=0;q[74700]=24345;q[74699]=24331;q[74698]=0;q[74696]=0;q[74694]=0;q[74692]=0;q[74690]=1;q[74688]=0;q[74689]=3;q[74706]=0;q[74707]=0;q[74708]=0;q[74709]=0}function Tqa(a,b){var c=0,d=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=4){o[b|0]=r[c|0];o[b+1|0]=r[q[a+8>>2]+1|0];o[b+2|0]=r[q[a+8>>2]+2|0];o[b+3|0]=r[q[a+8>>2]+3|0];q[a+8>>2]=q[a+8>>2]+4}return(d|0)>3}function Sn(a,b,c,d,e){var f=0;f=ti-32|0;ti=f;q[f+28>>2]=0;q[f+24>>2]=e;q[f+20>>2]=d;q[f+16>>2]=c;q[f+12>>2]=b;q[f+8>>2]=a;a=S(15,f+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=f+32|0;return a}function Ooa(a){a=a|0;var b=0,c=0;b=q[a+12>>2];c=q[b+8>>2]-q[b+12>>2]>>4;Aj(b,-1e4,q[a+16>>2]);q[a+16>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;if(q[b+8>>2]-q[b+12>>2]>>4!=(c|0)){J(16509,15841,1522,16530);G()}}function L1(a){a=a|0;var b=0,c=0;b=ti-4128|0;ti=b;c=b+16|0;if(zj(c,Xh()|0,4098)>>>0>=4098){o[c|0]=0;c=-21}else{c=0}a:{if(c){q[b>>2]=c;a=Bi(a,124311,b);break a}Hi(a,b+16|0);a=1}ti=b+4128|0;return a|0}function J$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+4>>2];e=q[a+12>>2];if(d>>>0>>0){J(205467,205404,231,205517);G()}f=c;c=d-e|0;b=b>>>0>>0?b:c;q[f>>2]=b;q[a+12>>2]=b+q[a+12>>2];return 0}function H1(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(124455,124351,1057,125345);G()}return 1}function mea(a){var b=0;b=82500;a:{switch(a-1|0){case 1:return 82523;case 3:return 82546;case 7:return 82569;case 15:return 82592;case 31:return 82614;default:b=82638;break;case 0:break a}}return b}function hsa(a){a=a|0;var b=0,c=0;a:{switch(Ei(a,2)|0){default:Qj(a,2,142167);break;case 0:case 5:break a}}Ci(a,2);c=ij(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function boa(a){a=a|0;var b=0,c=0;b=aj(a,1);if(!b){b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}b=q[b+4>>2]!=0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function xX(a){var b=0,c=0,d=0;while(1){b=d<<2;c=q[b+267840>>2];c=Jj(a,c,Ui(c));q[(b+q[a+16>>2]|0)+188>>2]=c;b=q[(b+q[a+16>>2]|0)+188>>2];o[b+5|0]=r[b+5|0]|32;d=d+1|0;if((d|0)!=17){continue}break}}function S9(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,196298,4198);fj(a,1,b+4|0);d=Ri(a,2);Ti(a);e=Li(a,-1,q[216371],198335);Ci(a,-2);L8(e,q[b+4>>2],x(d));Yi(c);ti=b+32|0;return 0}function M_(a,b,c,d,e,f,g,h,i){var j=0;j=ti-272|0;ti=j;c=U_(a,c,j,g,f,j+271|0);a:{if(c){break a}c=L_(a,b,d,e,j,g,h,i);if(c){break a}c=UE(a,b,r[j+271|0]);if(c){break a}c=jy(a,b)}ti=j+272|0;return c}function Koa(){var a=0,b=0;a=Oi(29112);Fi(a+8|0,0,28560);b=a+29092|0;q[b>>2]=0;q[b+4>>2]=0;q[a+29084>>2]=0;q[a+29088>>2]=0;q[a+29100>>2]=1024;q[a+29104>>2]=16;q[a>>2]=0;q[a+29080>>2]=Hj();return a}function opa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[q[a+16>>2]>>2];q[b+8>>2]=0;a=q[a+12>>2];c=0;a:{if(!a){break a}c=q[a+120>>2]}a=Ev(c,q[d>>2],0,d,b+8|0);ti=b+16|0;return((a|0)==-1?-1e3:0)|0}function jja(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(78346,78128,262,78371);G()}return 1}function ej(a){var b=0;if(q[a+76>>2]<0){b=q[a+4>>2];if(b>>>0>2]){q[a+4>>2]=b+1;return r[b|0]}return lw(a)}b=q[a+4>>2];a:{if(b>>>0>2]){q[a+4>>2]=b+1;a=r[b|0];break a}a=lw(a)}return a}function bB(a,b){if(b>>>0<6){a:{b:{switch(b>>>1|0){case 0:a=a>>>0>1;break a;case 1:a=(a|0)!=0;break a;case 2:break b;default:break a}}a=(a&-3)!=0}return b&1?1-a|0:a}J(93122,92069,11207,93128);G()}function aW(a){xi[q[68401]](a,0,64)|0;xi[q[68401]](a- -64|0,0,64)|0;q[a+128>>2]=64;xi[q[68401]](a+132|0,0,72)|0;q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0}function XX(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+20>>2]=0;q[d+24>>2]=c;q[d+8>>2]=b;q[d+12>>2]=0;b=oE(a,1042,d+8|0,q[a+8>>2]-q[a+32>>2]|0,q[a+116>>2]);lj(a,q[d+12>>2],q[d+20>>2],0);ti=d+32|0;return b}function Oea(a){a=a|0;var b=0,c=0;c=q[a+8>>2]-q[a+12>>2]|0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;if(((c>>4)+1|0)!=q[a+8>>2]-q[a+12>>2]>>4){J(76381,75991,428,76457);G()}return 1}function pC(a){var b=0,c=0,d=0,e=0;c=r[a+1|0]|r[a|0]<<8;b=r[a+2|0];d=b>>>8|0;b=b<<24;d=c|d;e=b;c=r[a+3|0];b=c>>>16|0;c=e|c<<16;b=b|d;e=r[a+5|0];a=r[a+4|0];d=a>>>24|0;a=e|(a<<8|c);wi=b|d;return a}function gw(a){var b=0,c=0;b=(w(r[a+2|0],31)+127>>>0)/255|0;c=b>>>0<31?b:31;b=(w(r[a+1|0],63)+127>>>0)/255|0;a=(w(r[a|0],31)+127>>>0)/255|0;return(c|(b>>>0<63?b:63)<<5|(a>>>0<31?a:31)<<11)&65535}function dta(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=S(2,d+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=d+32|0;return a}function OL(a,b,c,d){var e=0,f=0,g=0,h=0;e=il(a,149795);if(!e){return-1}Ik(e,0,2);f=um(e);Ik(e,0,0);g=Oi((f|0)>-1?f:-1);h=tl(g,1,f,e);Ak(e);e=-4;if((f|0)==(h|0)){e=PL(a,g,f,b,c,d)}yi(g);return e}function Aca(a,b,c){a=a|0;b=x(b);c=x(c);a:{if(a){fc(x(b),x(c));if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}return}J(84152,84160,3634,88480);G()}Vi(a,88480,3636);J(84254,84160,3636,88480);G()}function tua(a){var b=0;q[a>>2]=0;b=a+4|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+16|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;eo(a+28|0);eo(a- -64|0);eo(a+100|0);eo(a+136|0);q[a+172>>2]=0;kua(a+176|0)}function iB(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=S(5,d+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=d+32|0;return a}function by(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=S(6,d+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=d+32|0;return a}function _v(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=S(3,d+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=d+32|0;return a}function _ga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],270184,b+12|0)){c=l7(q[a+4>>2]);iH(c,q[b+12>>2]);q[q[a+24>>2]+8>>2]=c;cj(q[b+12>>2]);c=0}ti=b+16|0;return c|0}function Uoa(a){var b=0,c=0;a:{b=s[a+138>>1];if((b|0)!=32767){c=q[a+80>>2];a=q[c+1036>>2];if(q[c+1040>>2]-a>>2>>>0<=b>>>0){break a}a=q[a+(b<<2)>>2]}else{a=0}return a}J(12518,10061,479,9553);G()}function SZ(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+28>>2]=0;q[d+20>>2]=0;q[d+24>>2]=0;q[d+16>>2]=c;q[d+12>>2]=b;q[d+8>>2]=a;a=S(7,d+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=d+32|0;return a}function PU(a){var b=0,c=0,d=0;a:{if(wx(a)){break a}if(Gr(a,1)){break a}b=a+44|0;c=a+56|0;d=a+32|0;if(wU(a+8|0,b,c,d,a+20|0)){break a}return xU(b,c,d,a+68|0,a+80|0,a+92|0)?-16896:0}return-16896}function Lp(a,b){var c=0,d=0,e=0;c=q[a+36>>2]+b|0;d=q[a>>2];if((c|0)<=r[d+75|0]){q[a+36>>2]=c;return}e=c;if((c|0)>=250){Dj(q[a+12>>2],136502);d=q[a>>2];e=q[a+36>>2]+b|0}o[d+75|0]=c;q[a+36>>2]=e}function D_(a,b){var c=0;c=ti-48|0;ti=c;q[c+40>>2]=15;q[c+36>>2]=16;q[c+32>>2]=17;q[c+28>>2]=18;q[c+16>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;q[c+24>>2]=19;q[c+20>>2]=20;a=Zpa(c+8|0);ti=c+48|0;return a}function sR(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=-17280;a:{h=q[a+4>>2];if(h>>>0>f>>>0){break a}g=FU(a,b,d,c,e);if(g){break a}return(f>>>0>h>>>0?-14592:0)|0}return g|0}function nw(a,b,c){var d=0,e=0,f=0,g=0;a:{if(c){while(1){f=r[a+d|0];g=f^r[b+d|0];if(g){e=-1;if((g|0)!=32|((f&223)-65&255)>>>0>25){break a}}d=d+1|0;if((d|0)!=(c|0)){continue}break}}e=0}return e}function Zw(a,b){var c=0;c=ti-32|0;ti=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;a=S(13,c+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=c+32|0;return a}function Hra(){var a=0;a=Ji(16512);q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+96>>2]=a+128;q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;return a}function v3(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;q[b+16>>2]=Wi(a,1,0);c=va(120529,120896,b+16|0)|0;a:{if(!r[327112]){q[b>>2]=c;Bi(a,120898,b);break a}Hi(a,c);d=1}yi(c);ti=b+32|0;return d|0}function uZ(a,b,c,d){var e=0;e=ti-144|0;ti=e;a:{b:{switch(b-2|0){case 0:q[e+140>>2]=16;break a;case 8:break b;default:break a}}q[e+140>>2]=28}a=Yl(MQ(a,c,e+8|0,e+140|0,d));ti=e+144|0;return a}function SY(a,b){var c=0;c=ti-32|0;ti=c;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+12>>2]=b;q[c+8>>2]=a;a=S(4,c+8|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=c+32|0;return a}function Ara(){var a=0;a=Oi(48);q[a>>2]=0;q[a+4>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function xca(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){Wb(b|0,c|0);if(r[q[77547]+156|0]&64){a=K()|0;if(a){break a}}return}J(84152,84160,2254,87932);G()}Vi(a,87932,2256);J(84254,84160,2256,87932);G()}function v4(a,b){var c=0,d=0;d=q[a+5136>>2];if(d){a:{while(1){if(!nj(b,q[(w(c,40)+a|0)+24>>2])){break a}c=c+1|0;if(d>>>0>c>>>0){continue}break}return 0}a=(w(c,40)+a|0)+16|0}else{a=0}return a}function jra(a){a=a|0;var b=0,c=0;b=Xi(a,1);if(!((b|0)==1&r[915868]!=0)){Bi(a,203030,0)}b=(b|0)!=1?0:r[915868]?q[233303]:0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function wk(a,b,c){var d=0,e=0,f=0,g=0;d=ti-16|0;ti=d;g=d;f=Ei(a,b);e=135271;a:{if((f|0)==-1){break a}e=q[(f<<2)+267792>>2]}q[g+4>>2]=e;q[d>>2]=c;a=Qj(a,b,vj(a,137919,d));ti=d+16|0;return a}function c7(a,b,c,d){var e=0;if(!q[a+28>>2]){q[a+4>>2]=b;q[a+8>>2]=c;e=a+4|0;q[a+28>>2]=e;b=q[d+4>>2];q[a+12>>2]=q[d>>2];q[a+16>>2]=b;b=q[d+12>>2];q[a+20>>2]=q[d+8>>2];q[a+24>>2]=b}return e}function Kga(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;if(!Cj(q[a+20>>2],q[a+24>>2],250912,c+12|0)){b=q[q[a+32>>2]+8>>2];hA(q[a>>2],b);q[b>>2]=q[c+12>>2];b=mK(q[a>>2],b)}ti=c+16|0;return b|0}function AN(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;a=UD(a,b,d);a:{if(a){a=a-9472|0;break a}a=-9572;if(q[d>>2]!=1){break a}o[c|0]=r[q[d+8>>2]];a=0}ti=d+16|0;return a}function qY(a){a=a|0;var b=0,c=0,d=0,e=0;c=ti-16|0;ti=c;b=1;d=Wi(a,1,c+12|0);e=Dl(a,2,d,0);if(gu(a,d,q[c+12>>2],e)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;hk(a,-2);b=2}ti=c+16|0;return b|0}function fha(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[65402],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]+8>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function bC(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:o[a|0]=c;return;case 1:p[a>>1]=c;return;case 2:case 3:q[a>>2]=c;return;case 5:break b;default:break a}}q[a>>2]=c;q[a+4>>2]=d}}function UP(a,b){var c=0,d=0,e=0,f=0,g=0;d=-31488;c=q[a>>2];a:{if((b-c|0)<2){break a}e=r[c+1|0];f=r[c|0];c=c+2|0;q[a>>2]=c;g=b-c|0;b=e|f<<8;if((g|0)<(b|0)){break a}q[a>>2]=b+c;d=0}return d}function T0(a){a=a|0;var b=0,c=0,d=x(0),e=x(0);b=ti-32|0;ti=b;c=aj(a,1);d=u[c>>2];e=u[c+4>>2];v[b+24>>3]=u[c+8>>2];v[b+16>>3]=e;q[b>>2]=128688;v[b+8>>3]=d;vj(a,129430,b);ti=b+32|0;return 1}function HV(a,b,c){var d=0,e=0,f=0;e=a+4|0;d=SA(e,b,c);a:{if(d){break a}d=SA(a+16|0,b,c);if(d){break a}f=a+52|0;d=SA(f,b,c);if(d){break a}d=Yv(f,e);if(d){break a}q[a>>2]=Cm(e);d=0}return d}function Bx(a){cs(a);q[a+132>>2]=0;q[a+124>>2]=1;q[a+128>>2]=0;q[a+144>>2]=0;q[a+136>>2]=1;q[a+140>>2]=0;q[a+156>>2]=0;q[a+148>>2]=1;q[a+152>>2]=0;q[a+168>>2]=0;q[a+160>>2]=1;q[a+164>>2]=0}function yZ(a){a=a|0;var b=0,c=0;b=ti-272|0;ti=b;o[b+256|0]=0;a:{if((UZ(b)|0)<=-1){c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;Hi(a,Yl(q[242957]));a=2;break a}Hi(a,b);a=1}ti=b+272|0;return a|0}function h6(a){q[a>>2]=0;q[a+4>>2]=0;q[a+48>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function fr(a){var b=0;Vu(q[a+48>>2]);a:{if(o[a+44|0]&1){break a}b=q[a+24>>2];if(b){yi(b)}b=q[a+16>>2];if(!b){break a}yi(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}yi(b)}yi(a)}function PM(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;si(0,b+8|0)|0;c=(b+8>>>4|0)+a^w(q[b+12>>2],65537);while(1){o[a+d|0]=(c&15|c<<1&32)+65;c=c>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}ti=b+16|0}function oo(a,b,c){var d=0;if((c|0)>=0){b=b+9999>>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;bj(a,b,0);bk(a,b,c);d=q[a+8>>2];q[d+8>>2]=3;v[d>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;bk(a,b,0)}}function fia(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=q[a>>2];a=q[a+4>>2];c=Nj(c,q[q[q[a+32>>2]>>2]>>2],a+36|0);if(c){q[b>>2]=q[q[q[a+32>>2]>>2]>>2];Ai(4,31471,32260,b)}ti=b+16|0;return!c|0}function e0(a){q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+24>>2]=768;q[a+28>>2]=256;q[a+16>>2]=32;q[a+20>>2]=49152;q[a+8>>2]=128;q[a+12>>2]=16;q[a+4>>2]=1065353216;q[a>>2]=203849;o[a+32|0]=1}function cga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[63538],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function Sfa(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[63924],b+12|0)){nk(q[a+20>>2],q[q[b+12>>2]>>2]);q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function Mda(a){a=a|0;var b=0;a=ti-16|0;ti=a;q[a+8>>2]=0;jJ(0);nb();a:{if(!(r[q[77547]+156|0]&64)){break a}b=K()|0;if(!b){break a}Vi(b,87146,1514);J(84254,84160,1514,87146);G()}ti=a+16|0}function LM(a){var b=0;b=r[a+74|0];o[a+74|0]=b-1|b;b=q[a>>2];if(b&8){q[a>>2]=b|32;return-1}q[a+4>>2]=0;q[a+8>>2]=0;b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];return 0}function Al(a){var b=0,c=0;b=q[a+4>>2];if(!b){return 0}c=q[a+8>>2];a:{while(1){b=b-1|0;if(!b){a=q[c>>2];b=32;break a}a=q[(b<<2)+c>>2];if(!a){continue}break}b=(b<<5)+32|0}return b-UV(a)|0}function xp(a){var b=0,c=0;b=q[74011];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?(c|0)>=1:0){break a}if(a>>>0>exa()<<16>>>0){if(!(Nc(a|0)|0)){break a}}q[74011]=a;return b}q[242957]=48;return-1}function nj(a,b){var c=0,d=0;c=r[a|0];d=r[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=r[b+1|0];c=r[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 k6(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=ti+ -64|0;ti=h;i=q[g>>2];j=q[g+4>>2];k=q[g+12>>2];q[h+8>>2]=q[g+8>>2];q[h+12>>2]=k;q[h>>2]=i;q[h+4>>2]=j;NG(a,b,c,d,e,f,h,0);ti=h- -64|0}function f6(a,b,c){var d=0,e=0,f=0;f=ti-16|0;ti=f;e=-2;d=q[a+256>>2];if((d|0)!=32){e=d+1|0;q[a+256>>2]=e;d=(d<<3)+a|0;q[d>>2]=b;q[d+4>>2]=c;At(a,(e<<3)+a|0,f+8|0);e=0}ti=f+16|0;return e}function S2(a,b){a=a|0;b=b|0;var c=0,d=0,e=x(0);d=q[b>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;e=u[b+4>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=e;q[a+8>>2]=q[a+8>>2]+16}function Nha(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;if(!Cj(q[a+20>>2],q[a+24>>2],272576,c+12|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}q[a>>2]=q[c+12>>2];b=0}ti=c+16|0;return b|0}function Iga(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-2;if(!Cj(q[a+20>>2],q[a+24>>2],273360,c+12|0)){a=q[q[a+32>>2]+8>>2];b=q[a>>2];if(b){cj(b)}q[a>>2]=q[c+12>>2];b=0}ti=c+16|0;return b|0}function yM(a,b,c){var d=0,e=0;a:{if(b>>>0<2){if(c>>>0>=8){break a}d=a;e=r[a+3|0];a=b?2:5;o[d+3|0]=e&(7<>>0<=9999?((q[a+8>>2]-q[a+12>>2]>>4)+b|0)+1|0:b;if(Kl(a,b)){Hi(a,c);Vk(a,-2);if(!Ei(a,-1)){Ci(a,-3);return 0}Xk(a,-2);Qi(a,b);zk(a,1,1);d=1}return d}function f4(a,b,c,d,e){if(a){a:{while(1){if(!(xi[q[a+24>>2]](a,b,c,e)|0)){b=0;if(!d){break a}q[d>>2]=a;return 0}a=q[a>>2];if(a){continue}break}b=1}return b}J(27630,27535,159,27643);G()}function Il(a,b){var c=0,d=0;c=ti-16|0;ti=c;d=q[a+4>>2];q[c+8>>2]=q[a>>2];q[c+12>>2]=d;d=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=d;a=c+8|0;d=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=d;ti=c+16|0}function $j(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=q[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return q[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function zja(a){a=a|0;var b=0;b=ti-16|0;ti=b;if(!r[307700]){o[307700]=1;q[b>>2]=70523;q[b+4>>2]=71746;q[b+8>>2]=74428;q[b+12>>2]=71746;Ai(3,73239,74439,b)}a=$G(a);ti=b+16|0;return a|0}function qQ(a,b){var c=0,d=0;c=q[b+488>>2];d=q[a+156>>2];if(c>>>0>>0){if(q[a+152>>2]!=(c|0)){p[b+592>>1]=508}a=c<<1;q[b+488>>2]=a>>>0>>0?d:a>>>0>d>>>0?d:a;a=0}else{a=-1}return a}function mma(a){a=a|0;var b=0;a=q[a+4>>2];if(a){a:{if(o[a+32|0]&1){break a}b=q[a+20>>2];if(!b){break a}yi(b)}b:{if(o[a+16|0]&1){break b}b=q[a+4>>2];if(!b){break b}yi(b)}yi(a)}return 0}function mB(a,b,c,d,e,f,g,h,i){var j=0;j=ti-16|0;ti=j;Am(j,b,c,d,e,f,g,h,i^-2147483648);b=q[j+4>>2];q[a>>2]=q[j>>2];q[a+4>>2]=b;b=q[j+12>>2];q[a+8>>2]=q[j+8>>2];q[a+12>>2]=b;ti=j+16|0}function kC(a,b,c,d){var e=0;e=1;a:{if(!a|q[a+24>>2]>(d|0)|(q[a+32>>2]<(c|0)|(r[a+36|0]&4?r[q[b>>2]+184|0]&2:0))){break a}if(q[a+16>>2]-5>>>0<4){if(!xC(q[b>>2])){break a}}e=0}return e}function jna(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=1;d=Zi(b+8|0,a,1,64691,93);a:{if(!(WJ(a)|wi)){c=sj(d,64781,0);break a}gj(a,0,0);q[b+4>>2]=1;q[b>>2]=a}Yi(d);ti=b+32|0;return c|0}function ina(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=1;d=Zi(b+8|0,a,1,64691,71);a:{if(!(WJ(a)|wi)){c=sj(d,64781,0);break a}gj(a,0,0);q[b+4>>2]=1;q[b>>2]=a}Yi(d);ti=b+32|0;return c|0}function Rja(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=q[a+144>>2];if(!g){g=Wp();q[a+144>>2]=g}h=q[a+148>>2];if(!h){h=q[q[a+156>>2]+24>>2]}dr(g,h,b,c,d,e,f);xv(a)}function Ov(a,b,c){var d=0,e=0,f=0;f=q[a>>2];if(f){while(1){e=(w(d,112)+a|0)+8|0;if(q[e>>2]==(b|0)){if(!c){return e}q[c>>2]=d;return e}d=d+1|0;if(f>>>0>d>>>0){continue}break}}return 0}function JY(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=Wi(a,1,0);Ki(a,-10001,139445);if((Ei(a,-1)|0)!=5){Bi(a,139562,0)}Ki(a,-1,c);if(!Ei(a,-1)){q[b>>2]=c;vj(a,139596,b)}ti=b+16|0;return 1}function Dja(a){a=a|0;var b=0;b=ti-16|0;ti=b;if(!r[307692]){o[307692]=1;q[b>>2]=70523;q[b+4>>2]=71700;q[b+8>>2]=74428;q[b+12>>2]=71700;Ai(3,73239,74439,b)}a=dH(a);ti=b+16|0;return a|0}function Cja(a){a=a|0;var b=0;b=ti-16|0;ti=b;if(!r[307696]){o[307696]=1;q[b>>2]=70523;q[b+4>>2]=71721;q[b+8>>2]=74428;q[b+12>>2]=71721;Ai(3,73239,74439,b)}a=cH(a);ti=b+16|0;return a|0}function Bja(a){a=a|0;var b=0;b=ti-16|0;ti=b;if(!r[307708]){o[307708]=1;q[b>>2]=70523;q[b+4>>2]=71776;q[b+8>>2]=74428;q[b+12>>2]=71776;Ai(3,73239,74439,b)}a=bH(a);ti=b+16|0;return a|0}function Aja(a){a=a|0;var b=0;b=ti-16|0;ti=b;if(!r[307704]){o[307704]=1;q[b>>2]=70523;q[b+4>>2]=71761;q[b+8>>2]=74428;q[b+12>>2]=71761;Ai(3,73239,74439,b)}a=aH(a);ti=b+16|0;return a|0}function iD(a,b,c,d,e){var f=0;a:{if(b){f=a+8|0;b=an(f,b,c);if(b){break a}q[a+4>>2]=Cm(f)}b:{if(!d){break b}a=an(a+20|0,d,e);if(!a){break b}return a-16512|0}return 0}return b-16512|0}function eD(a,b){var c=0,d=0;d=-1;a=q[q[a>>2]+100>>2];a:{if(!a){break a}c=q[a>>2];if(!c){break a}while(1){if((b|0)!=(c|0)){a=a+4|0;c=q[a>>2];if(c){continue}break a}break}d=0}return d}function dea(a){a=a|0;var b=0;if(a){b=q[q[77547]>>2];if(b){Zn(b)}b=q[a+24>>2];if(b){yi(b);yi(q[a+28>>2])}a:{if(o[a+16|0]&1){break a}b=q[a+4>>2];if(!b){break a}yi(b)}yi(a);q[77547]=0}}function bW(a){var b=0;if(a){if(a){xi[q[68401]](a,0,132)|0}b=a+132|0;if(b){xi[q[68401]](b,0,72)|0}q[a+224>>2]=0;q[a+228>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;q[a+208>>2]=0;q[a+212>>2]=0}}function Fqa(a,b,c,d,e){a:{switch((q[d+4>>2]>>>22&63)-9|0){case 2:return Eqa(a,b,c,d,e);case 0:return Cqa(a,b,c,d,e);case 3:return Gqa(a,b,c,d,e);default:break a}}return Dqa(a,c,d,e)}function tU(a,b){var c=0,d=0;d=-1;a=q[q[a>>2]+96>>2];a:{if(!a){break a}c=q[a>>2];if(!c){break a}while(1){if((b|0)!=(c|0)){a=a+4|0;c=q[a>>2];if(c){continue}break a}break}d=0}return d}function SD(a,b,c){var d=0,e=0;d=ti-16|0;ti=d;b=Rj(a,b,d+12|0,1);a:{if(b){break a}b=-100;if(q[d+12>>2]!=1){break a}b=0;e=c;c=q[a>>2];q[e>>2]=r[c|0]!=0;q[a>>2]=c+1}ti=d+16|0;return b}function RF(a,b){var c=0;c=ti-16|0;ti=c;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;a=NF(a,b,0,c);a:{if(o[c+12|0]&1){break a}b=q[c>>2];if(!b){break a}yi(b)}ti=c+16|0;return a+8|0}function R9(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);d=Ri(a,2);a:{if(y(d)<2147483648){a=~~d;break a}a=-2147483648}q[c+412>>2]=q[c+412>>2]&-16|a&15;ti=b+16|0;return 0}function Qua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=b-c|0;if(d>>>0>=2){f=c-1|0;c=1;e=1;while(1){o[(c+f|0)+a|0]=0;e=e+1|0;c=e&255;if(d>>>0>c>>>0){continue}break}}o[(a+b|0)-1|0]=d}function Nna(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0);b=Hm(a,1);d=u[b+40>>2];c=u[b+32>>2];e=u[b+36>>2];c=c>2];q[b+8>>2]=3;v[b>>3]=c>d?d:c;q[a+8>>2]=q[a+8>>2]+16;return 1}function Li(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;a:{if((ul(a,b)|0)==(c|0)){f=aj(a,b);if(f){break a}}if(!d){f=0;wk(a,b,fI(c,0));break a}q[e>>2]=d;Bi(a,117693,e);f=0}ti=e+16|0;return f}function mY(a){a=a|0;var b=0,c=0;Ql(a,1);c=Hp(a,(q[a+8>>2]-q[a+12>>2]>>4)-1|0,-1,0);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=!c;q[a+8>>2]=q[a+8>>2]+16;hk(a,1);return q[a+8>>2]-q[a+12>>2]>>4}function hs(a,b,c){var d=0;d=q[b+8>>2];if(d>>>0>=c>>>0){return q[b>>2]}c=c>>>0>32?c:32;a:{if(c+1>>>0<=4294967293){a=lj(a,q[b>>2],d,c);break a}a=Yj(a)}q[b+8>>2]=c;q[b>>2]=a;return a}function gfa(a){a=a|0;var b=0,c=0;Ql(a,1);c=Ei(a,1);b=q[77105];if(!c){if(b){Pm(b)}q[77105]=0;return 0}if(b){Pm(b)}b=Wn(a,1);q[77105]=b;if(en(b)){a=0}else{a=Bi(a,78255,0)}return a|0}function gK(a){a=a|0;var b=0;a=q[a+4>>2];if(a){a:{if(o[a+28|0]&1){break a}b=q[a+16>>2];if(!b){break a}yi(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}yi(b)}yi(a)}return 0}function Uka(a,b){var c=0;c=q[a+16>>2];if(q[a+20>>2]-c>>3>>>0>b>>>0){b=q[(b<<3)+c>>2];c=q[a+4>>2];a=q[a>>2];if(b>>>0>2>>>0){return q[a+(b<<2)>>2]}}J(46656,46296,479,46535);G()}function $1(a){var b=0,c=0;c=ti-16|0;ti=c;q[c+12>>2]=819;b=q[81766];if((b|0)==((q[81764]-q[81762]|0)/12|0)){b=b+128|0;tH(327040,(w(b,100)>>>0)/80|0,b)}uH(327040,a,c+12|0);ti=c+16|0}function zha(a){a=a|0;var b=0,c=0;b=Fi(Oi(168),0,168);c=q[a+4>>2];if(xK(c,q[a>>2],q[a+12>>2],q[a+16>>2],b,q[a+8>>2])){q[q[a+24>>2]+8>>2]=b;return 0}wv(c,q[a>>2],b);yi(b);return-13}function z4(a){var b=0,c=0,d=0;b=ti-16|0;ti=b;d=r[a|0];c=0;a:{if((d|0)==47){break a}b:{if(!d){Ai(4,24387,24396,0);break b}q[b>>2]=a;Ai(4,24387,24416,b)}c=-3}a=c;ti=b+16|0;return a}function wqa(a,b){var c=0,d=0;c=ti-16|0;ti=c;d=(bxa(b),Zwa(2));o[c+12|0]=d;o[c+13|0]=d>>>8;o[c+14|0]=d>>>16;o[c+15|0]=d>>>24;a=xi[q[a>>2]](q[a+4>>2],c+12|0,4)|0;ti=c+16|0;return a}function i3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;q[81791]=Tl(a,123208,123468,263344);ik(a,123204,263392);Ci(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(123358,123237,569,123476);G()}}function dha(a){a=a|0;var b=0,c=0,d=0,e=0;c=-13;b=q[a+4>>2];d=q[a+20>>2];e=cr(b,d);a:{if(!e){break a}b=xi[q[77461]](b,e)|0;if(!b){break a}q[q[a+24>>2]+8>>2]=b;c=0}cj(d);return c|0}function v1(a){a=a|0;var b=0,c=0;b=1;c=a;if((Ei(a,1)|0)==8){b=2;c=sn(a,1)}mj(a,b,6);Qi(a,b);b=q[212864];if(b){Aj(a,-1e4,b);q[212864]=0}q[212864]=kk(a,-1e4);ZD(c,832,1,0);return 0}function kta(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+(b<<2)|0;Sk(b,b+(c<<2)|0,d-e<<2);q[a+4>>2]=q[a+4>>2]-c}return}J(101772,101652,729,101696);G()}function hta(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+(b<<1)|0;Sk(b,b+(c<<1)|0,d-e<<1);q[a+4>>2]=q[a+4>>2]-c}return}J(101772,101652,729,101696);G()}function Vu(a){var b=0;if(a){a:{if(o[a+44|0]&1){break a}b=q[a+32>>2];if(!b){break a}yi(b)}b:{if(o[a+28|0]&1){break b}b=q[a+8>>2];if(b){yi(b)}b=q[a>>2];if(!b){break b}yi(b)}yi(a)}}function Sga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+20>>2],q[a+24>>2],q[61690],b+12|0)){a=q[q[a+32>>2]+8>>2];cj(q[a>>2]);q[a>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function R1(a){var b=0,c=0;b=Ui(68624);c=Vp(68624,b);Ni(a,68624,b);Qi(a,-2);$i(a,-10002);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);$i(a,-10002);return c}function Qca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=xi[q[77427]](a)|0;a=xi[q[77428]](a)|0;if(d>>>0>>0){J(89785,84160,3369,89810);G()}ec(0,0,c|0,a|0,32993,5121,b|0)} -function mw(a){var b=0,c=0,d=0;b=q[a+108>>2];c=q[q[a>>2]+184>>2]&2;d=b+(c?13:5)|0;q[a+120>>2]=d;q[a+116>>2]=d;q[a+112>>2]=(c?11:3)+b;q[a+104>>2]=(c?3:-8)+b}function jj(a,b){var c=0,d=0;c=fi-32|0;fi=c;q[c+20>>2]=1;q[c+16>>2]=(b|0)<0?-1:1;d=b>>31;q[c+12>>2]=d^b+d;q[c+24>>2]=c+12;a=Dj(a,c+16|0);fi=c+32|0;return a}function ar(a){var b=0;ksa(a,q[a>>2],q[a>>2]+q[a+4>>2]|0);b=a+12|0;qsa(b,q[b>>2],q[b>>2]+(q[b+4>>2]<<2)|0);a=a+24|0;nsa(a,q[a>>2],q[a>>2]+(q[a+4>>2]<<1)|0)}function XE(a,b,c,d){a:{if(a){if(!b){break a}return ji[q[q[b+8>>2]+28>>2]](q[b+4>>2],c,d)|0}J(200731,200687,108,200739);G()}J(200679,200687,109,200739);G()}function SK(a,b,c){var d=0,e=0;d=q[a+4>>2];e=q[a+8>>2];b=e+b|0;if(d>>>0>=b>>>0){q[a+8>>2]=b;a=q[a>>2];q[c+8>>2]=e;q[c+4>>2]=b;q[c>>2]=a}return b>>>0<=d>>>0}function N2(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Hi(a,-10002);ek(a,115122,258e3);oi(a,-3);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(115069,115034,247,115127);G()}}function Fqa(a){var b=0;if(a){a:{if(o[a+28|0]&1){break a}b=q[a+16>>2];if(!b){break a}ki(b)}b:{if(o[a+12|0]&1){break b}b=q[a>>2];if(!b){break b}ki(b)}ki(a)}}function Ana(a,b){var c=0,d=0;c=q[b+96>>2];d=q[b+100>>2];if((c|0)!=q[72440]|(d|0)!=q[72441]){Jq(a+4164|0,c,d);a=q[72441];q[b+96>>2]=q[72440];q[b+100>>2]=a}}function zj(){var a=0,b=0;b=fi-16|0;fi=b;a=Ci(28);q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;fi=b+16|0;return a}function naa(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;Zi(a,1,b+28|0);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Bl(b,c,q[b+28>>2],7);mo(a,b);fi=b+32|0;return 1}function f_(a){a=a|0;var b=0;if(!q[om(a,130969)>>2]){ni(a,131041,0)}Hi(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;Wj(a,1061,2);return 1}function Ls(a,b,c){var d=0;d=fi-32|0;fi=d;a:{if(r[b|0]==r[q[59082]]){a=Nl(b,c);b=ii;break a}Cs(d,a+104|0,0);kl(d,b,c);a=Vn(d);b=ii}fi=d+32|0;ii=b;return a}function BP(a,b,c){var d=0;a:{b:{if((c|0)!=1){break b}c=q[q[a>>2]+184>>2]>>>6&7;if(!c){break b}d=0;if((c|0)==r[b|0]){break a}}Aj(a,2,40);d=-31104}return d}function AO(a){a=a|0;var b=0;b=fi-1040|0;fi=b;vj(a,1,6);oi(a,1);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(XW(a,b)){ni(a,131775,0)}bm(b);fi=b+1040|0;return 1}function uG(a){q[a+44>>2]=0;p[a+40>>1]=65535;q[a+32>>2]=-1;q[a+36>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;return a}function mpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=fi-16|0;fi=d;a=q[a+264>>2];if(a){q[d+8>>2]=c;q[d+4>>2]=b;o[d|0]=1;wF(a?q[a+120>>2]:0,4253,11,d)}fi=d+16|0}function fS(a){var b=0;b=fi-16|0;fi=b;q[b+12>>2]=a+4;q[b>>2]=q[a>>2];a=Ha(956592,33345,b|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}fi=b+16|0;return a}function cp(a){var b=0,c=0;b=q[a+80>>2];c=q[b+4148>>2];a=q[a+140>>2]&32767;if(a>>>0>=q[b+4152>>2]-c>>6>>>0){J(12475,10090,447,9406);G()}return c+(a<<6)|0}function Ska(a,b){var c=0,d=0,e=0;e=q[a+216>>2];c=q[e>>2];d=q[a+228>>2];if(!d){d=q[e+8>>2]}Ky(d,q[a+232>>2],u[a+48>>2],r[c+96|0],u[c+80>>2],u[c+84>>2],b)}function OQ(a,b,c){o[a+75|0]=255;a:{b:{switch(b-1|0){case 1:q[a+48>>2]=0;break a;case 0:break b;default:break a}}o[a+75|0]=10}q[a>>2]=q[a>>2]|64;return 0}function F_(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;g=fi-176|0;fi=g;fx(g);a=qD(g,a);if(!a){a=LE(g,b,c,d,e,f)}Et(g);fi=g+176|0;return a|0}function Al(a,b,c,d){var e=0,f=0;e=w(b,c);f=e;a:{if(q[d+76>>2]<=-1){a=fB(a,e,d);break a}a=fB(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function mn(a){var b=0;a:{if(q[a+76>>2]<=-1){a=pM(a);b=ii;break a}a=pM(a);b=ii}if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){q[240833]=61;return-1}return a}function jaa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);Yj(a,wba(c,q[b+12>>2]),ii);fi=b+16|0;return 1}function iJ(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-2;if(!rj(q[a+12>>2],q[a+16>>2],q[63598],b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function cfa(a){var b=0;a=q[a>>2];b=q[a+8>>2]-q[a+12>>2]>>4;ek(a,72638,242176);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(72644,72665,733,72705);G()}}function Oaa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Zi(a,1,b+12|0);Yj(a,Eba(c,q[b+12>>2]),ii);fi=b+16|0;return 1}function Jfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=UJ(q[a+8>>2],q[a+4>>2],q[a+20>>2],0,b+12|0);if(!c){q[q[a+24>>2]+8>>2]=q[b+12>>2]}fi=b+16|0;return c|0}function Ega(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}b=q[a+4>>2];if(b){Di(c,b)}b=q[a+8>>2];if(b){Di(c,b)}ki(a);return 0}function xoa(a,b){a=a|0;b=b|0;p[b+100>>1]=250;q[b+96>>2]=q[b+96>>2]&-131073|131072;q[b+20>>2]=33;q[b+24>>2]=34;q[b+44>>2]=35;q[b+52>>2]=36;return 0} +function qja(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,65374,114);d=TF(a);Vn(a,64877,0,b+4|0,0);if(!ema(d,q[b+4>>2])){e=sj(c,65620,0)}Yi(c);ti=b+32|0;return e|0}function S0(a){a=a|0;var b=0,c=x(0),d=x(0),e=x(0);b=aj(a,1);c=u[b>>2];d=u[b+4>>2];e=u[b+8>>2];b=jj(a,16);u[b+8>>2]=-e;u[b+4>>2]=-d;u[b>>2]=-c;Ki(a,-1e4,128688);ij(a,-2);return 1}function HO(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;Z(b+8|0,0)|0;d=+q[b+12>>2]/1e6;e=+q[b+8>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d+e;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function pk(){var a=0,b=0,c=0;a=ti-16|0;ti=a;Z(a+8|0,0)|0;ti=a+16|0;b=q[a+12>>2];a=q[a+8>>2];a=Owa(a,a>>31,1e6,0);c=b+a|0;b=wi+(b>>31)|0;b=a>>>0>c>>>0?b+1|0:b;a=c;wi=b;return a}function ix(a){var b=0;a:{b:{if(!a){break b}b=q[a+4>>2];if(b>>>0>999999999){break b}a=q[a>>2];if((a|0)>-1){break a}}q[242957]=28;return-1}Mc(+(+(b|0)/1e6+ +(a|0)*1e3));return 0}function fB(a,b){var c=0,d=0,e=0,f=0;c=ti-16|0;ti=c;f=c;e=Ei(a,3);d=135271;a:{if((e|0)==-1){break a}d=q[(e<<2)+267792>>2]}q[f+4>>2]=d;q[c>>2]=b;Qj(a,3,vj(a,131542,c));ti=c+16|0}function SU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;q[d>>2]=0;a=-60;e=il(155565,155578);a:{if(!e){break a}b=tl(b,1,c,e);Ak(e);if((b|0)!=(c|0)){break a}q[d>>2]=c;a=0}return a|0}function Hha(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+20>>2],q[a+24>>2],245656,b+12|0)){a=q[q[a+32>>2]+8>>2];cj(q[a>>2]);q[a>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function A$(a,b){if(a>>>0<=127){o[b|0]=a;return 1}if(a>>>0<=2047){o[b+1|0]=a&63|128;o[b|0]=a>>>6|192;return 2}o[b+2|0]=a&63|128;o[b|0]=a>>>12|224;o[b+1|0]=a>>>6&63|128;return 3}function wx(a){var b=0;a:{if(Gr(a,0)){break a}b=a+8|0;if(Al(b)>>>0<128){break a}a=a+20|0;if(!Dm(a,0)){break a}if(Al(a)>>>0<2){break a}return(Lj(a,b)|0)<0?0:-16896}return-16896}function wna(a,b,c){var d=0,e=0;a:{e=q[a>>2];if(e){while(1){if(q[(w(d,112)+a|0)+8>>2]==(b|0)){break a}d=d+1|0;if(e>>>0>d>>>0){continue}break}}return}p[(w(d,112)+a|0)+112>>1]=c}function sy(a){var b=0,c=0,d=0;b=q[a+104>>2];c=q[a+108>>2];if((b|0)!=(c|0)){while(1){d=q[q[b>>2]+4>>2];if(d){xi[d|0](a);c=q[a+108>>2]}b=b+4|0;if((c|0)!=(b|0)){continue}break}}}function b4(){var a=0;a=q[74728];if(a>>>0>=4){J(27467,27535,64,27563);G()}q[74728]=a+1;a=w(a,20)+298928|0;q[a+16>>2]=125;q[a+12>>2]=126;q[a+8>>2]=127;q[a+4>>2]=128;q[a>>2]=129}function $na(a){a=a|0;var b=0,c=0;b=aj(a,1);c=a;a=Wi(a,2,0);a:{if(!(!a|!r[a|0])){a=at(q[b+4>>2],a,Ui(a));b=wi;break a}b=q[b+4>>2];a=q[b+96>>2];b=q[b+100>>2]}Zj(c,a,b);return 1}function wha(a){a=a|0;var b=0,c=0;b=Oi(8);q[b>>2]=0;q[b+4>>2]=0;c=q[a+4>>2];o[b+4|0]=r[c+17|0];if(tK(c,q[a+12>>2],q[a+16>>2],b)){q[q[a+24>>2]+8>>2]=b;return 0}yi(b);return-13}function iU(a){var b=0,c=0;b=cD(a);b=b>>>0<16384?b:16384;c=uC(a);if(!c){return b}a=bD(a);if((a|0)<0){return a}if(a>>>0>>0){a=c-a|0;a=a>>>0>>0?a:b}else{a=-28800}return a}function Tga(a){a=a|0;var b=0,c=0;c=ti-16|0;ti=c;b=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[61690],c+12|0)){b=Oi(4);q[b>>2]=q[c+12>>2];q[q[a+24>>2]+8>>2]=b;b=0}ti=c+16|0;return b|0}function Hta(a,b){var c=0,d=0,e=0;d=ti-160|0;ti=d;c=a;a=d+8|0;c=Dn(c,a,1,0);a:{if(!c){break a}e=q[a+104>>2];if((e|0)==8){Pta(b,a+112|0);break a}Qta(b,a,e)}ti=d+160|0;return c}function m8(a,b){a=a|0;b=b|0;if(q[212968]==(b|0)){if(b){a:{if(o[b+36|0]&1){break a}a=q[b+24>>2];if(!a){break a}yi(a)}yi(b)}q[212968]=0;return}J(142798,142497,214,142833);G()}function efa(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]>>4;a:{if(My(a,1)){Qb(196609);break a}Pb(196609)}if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(78107,78128,198,78333);G()}return 0}function Z_(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;i=ti-176|0;ti=i;Bx(i);a=AD(i,a);if(!a){a=YE(i,b,c,d,e,f,g,h)}Yt(i);ti=i+176|0;return a|0}function Yga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+20>>2],q[a+24>>2],270184,b+12|0)){iH(q[q[a+32>>2]+8>>2],q[b+12>>2]);cj(q[b+12>>2]);c=0}ti=b+16|0;return c|0}function JA(a,b,c,d,e,f){q[a+32>>2]=0;q[a+28>>2]=0;q[a+24>>2]=f;q[a+20>>2]=e;q[a+16>>2]=d;q[a+4>>2]=c;q[a>>2]=b;b=q[212966];q[a+8>>2]=0;q[a+12>>2]=0;q[a+36>>2]=b;q[212966]=a}function Hca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub(d|0,c|0,0,b|0);a:{if(!(r[q[77547]+156|0]&64)){break a}a=K()|0;if(!a){break a}Vi(a,87912,2249);J(84254,84160,2249,87912);G()}}function GP(a,b,c,d){q[d>>2]=0;a:{if(!(r[a+185|0]&2)){break a}b=b+16384|0;if(!r[a+181|0]|b>>>0>>0|b-c>>>0<4){break a}o[c|0]=0;o[c+1|0]=22;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function FP(a,b,c,d){q[d>>2]=0;a:{if(!(r[a+185|0]&4)){break a}b=b+16384|0;if(!r[a+181|0]|b>>>0>>0|b-c>>>0<4){break a}o[c|0]=0;o[c+1|0]=23;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function lpa(a){a=a|0;var b=0,c=0,d=0;if(!q[a+12>>2]){return-1e3}c=q[a+8>>2];d=q[a+16>>2];b=Oi(20);epa(b,c>>>0>d>>>0?d:c);q[b+16>>2]=By(q[a>>2]);q[q[a+12>>2]>>2]=b;return 0}function dP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((d|0)>=1){e=0;while(1){o[a+e|0]=(r[c+e|0]+w(r[b+e|0],3)|0)+2>>>2;e=e+1|0;if((e|0)!=(d|0)){continue}break}}return a|0}function bn(a,b,c){var d=0,e=0,f=0;if(c){e=a+1036|0;while(1){c=c-1|0;d=q[a>>2];if(e>>>0<=d>>>0){Yk(a);d=q[a>>2]}f=r[b|0];q[a>>2]=d+1;o[d|0]=f;b=b+1|0;if(c){continue}break}}}function WV(a){var b=0,c=0;b=q[69153];if(!b){return 0}c=276608;if(q[69152]!=(a|0)){while(1){b=q[c+12>>2];if(!b){return 0}c=c+8|0;if(q[c>>2]!=(a|0)){continue}break}}return b}function WM(a){var b=0;b=2;if(!Oj(a,43)){b=r[a|0]!=114}b=Oj(a,120)?b|128:b;b=Oj(a,101)?b|524288:b;a=r[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function FU(a,b,c,d,e){var f=0;f=-16640;a:{switch(q[a+164>>2]){case 0:return zU(a,b,c,d,e);case 1:f=a;a=q[a+168>>2];f=hD(f,b,c,d,a?a:b,-1,e);break;default:break a}}return f}function uD(a,b,c,d){if(!uj(c,1)){return lo(b,d)}a:{if(!uj(c,-1)){c=lo(b,d);if(c){break a}c=0;b=b+12|0;if(!uj(b,0)){break a}return hl(b,a+4|0,b)}c=bs(a,b,c,d,0,0)}return c}function kna(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,0,63431,137);Vn(a,63033,b+4|0,b,0);if(!Sma(q[b+4>>2],q[b>>2])){d=sj(c,64059,0)}Yi(c);ti=b+32|0;return d|0}function kga(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){cj(b)}a:{if(o[a+32|0]&1){break a}b=q[a+12>>2];if(b){yi(b)}b=q[a+4>>2];if(!b){break a}yi(b)}yi(a);return 0}function jE(a,b){a=q[a+16>>2]+((q[b+8>>2]&(-1<>2]!=4|q[a+16>>2]!=(b|0))){return a}a=q[a+28>>2];if(a){continue}break}return 135744}function Xta(a,b,c,d){q[a>>2]=d>>>6&7;q[b>>2]=d>>>3&7;q[c>>2]=d&7;d=q[a>>2];if((d|0)>=4){q[a>>2]=d-8}a=q[b>>2];if((a|0)>=4){q[b>>2]=a-8}a=q[c>>2];if((a|0)>=4){q[c>>2]=a-8}}function XT(a){var b=0;b=-28928;a:{if(!a|!q[a>>2]){break a}b:{if(q[a+8>>2]!=1){if(q[a+4>>2]!=16){break a}b=lC(a);if(!b){break b}break a}b=Nr(a);if(b){break a}}b=0}return b}function P8(a){q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=360;q[a+24>>2]=960;q[a+20>>2]=640}function Gca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Vb(d|0,c|0,b|0);a:{if(!(r[q[77547]+156|0]&64)){break a}a=K()|0;if(!a){break a}Vi(a,87892,2243);J(84254,84160,2243,87892);G()}}function FA(a){var b=0;b=ti-32|0;ti=b;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+4>>2]=a;q[b>>2]=q[59618];hj(b+16|0,16,8192,b);a=zi(b+16|0);ti=b+32|0;return a}function DV(a,b,c){var d=0,e=0;e=ti-16|0;ti=e;d=vV(e+12|0,b,c-q[b>>2]|0);a:{if(d){break a}d=BD(a,q[e+12>>2]);if(d){break a}d=uV(a,a+172|0,b,c-q[b>>2]|0)}ti=e+16|0;return d}function xR(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;i=e;e=q[a+4>>2];q[i>>2]=e;if(e>>>0<=f>>>0){a=HU(a,g,h,c,b,d)}else{a=-17408}return a|0}function fja(a,b){var c=0,d=0;if(!b){wi=0;return 0}if(!(b&1)){while(1){c=c+1|0;d=b&2;b=(b&65534)>>>1|0;if(!d){continue}break}}a=(c<<3)+a|0;b=q[a>>2];wi=q[a+4>>2];return b}function e6(a,b,c){var d=0,e=0;d=ti-16|0;ti=d;q[d+12>>2]=c;c=a+16|0;e=q[a+40>>2];a=q[a+32>>2]-q[a+24>>2]|0;if((e|0)==a>>4){Bz(c,a>>2,a>>3)}CH(c,zi(b),wi,d+12|0);ti=d+16|0}function bw(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){mt(a,b,(c+1|0)==(b|0),2);c=q[a+4>>2]}Fi(q[a>>2]+(c<<1)|0,0,b-c<<1)}q[a+4>>2]=b}}function Vj(a,b){var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=Owa(a,0,b,0);e=wi;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Ji(b);if(!(!a|!(r[a-4|0]&3))){Fi(a,0,b)}return a}function Uua(a){q[a+5820>>2]=0;p[a+5816>>1]=0;q[a+2872>>2]=293968;q[a+2864>>2]=a+2684;q[a+2860>>2]=293948;q[a+2852>>2]=a+2440;q[a+2848>>2]=293928;q[a+2840>>2]=a+148;zE(a)}function Mfa(a){a=a|0;var b=0,c=0,d=0;a:{b=q[a+4>>2];c=q[a+20>>2];d=cr(b,c);if(d){b=xi[q[77460]](b,d)|0;if(b){break a}}cj(c);return-13}cj(c);q[q[a+24>>2]+8>>2]=b;return 0}function HG(a){q[a+24>>2]=0;q[a+28>>2]=65537;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=1065353216;q[a+12>>2]=1056964608;q[a>>2]=0;q[a+4>>2]=0;o[a+32|0]=r[a+32|0]&248|4;return a}function uV(a,b,c,d){var e=0,f=0,g=0;g=-20352;a:{if(d>>>0<2){break a}e=q[c>>2];f=e+1|0;q[c>>2]=f;e=r[e|0];if(!e|e>>>0>d-1>>>0){break a}q[c>>2]=e+f;g=Ax(a,b,f,e)}return g}function lba(a,b){var c=0,d=0;c=b&65535;d=q[a+36>>2];a=q[a+32>>2];if(c>>>0<(d-a|0)/576>>>0){a=a+w(c,576)|0;a=s[a+552>>1]==(b>>>16|0)&s[a+554>>1]==(c|0)}else{a=0}return a}function Ew(a,b,c,d){var e=0;e=kq(a,b,c);if(t[d>>2]>2]){rl(c,d);if(t[c>>2]>=t[b>>2]){return e+1|0}rl(b,c);if(t[b>>2]>=t[a>>2]){return e+2|0}rl(a,b);e=e+3|0}return e}function ota(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){mt(a,b,(c+1|0)==(b|0),8);c=q[a+4>>2]}sO(q[a>>2]+(c<<3)|0,b-c|0)}q[a+4>>2]=b}}function jt(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){pM(a,b,(c+1|0)==(b|0));c=q[a+4>>2]}Fi(q[a>>2]+(c<<2)|0,0,b-c<<2)}q[a+4>>2]=b}}function aY(a){a=a|0;var b=0,c=0;Ql(a,2);Ci(a,2);hk(a,1);c=Hp(a,0,-1,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=!c;q[a+8>>2]=q[a+8>>2]+16;Cq(a,1);return q[a+8>>2]-q[a+12>>2]>>4}function JU(a){if(a){Si(a+140|0);Si(a+152|0);Si(a+104|0);Si(a+32|0);Si(a+56|0);Si(a+44|0);Si(a+20|0);Si(a+8|0);Si(a+128|0);Si(a+116|0);Si(a+92|0);Si(a+80|0);Si(a+68|0)}}function Fr(a){var b=0,c=0,d=0;b=ti-32|0;ti=b;c=q[a>>2];if((c|0)!=-1){q[b+16>>2]=0;c=Ll(c,3,b+16|0);d=q[a>>2];q[b>>2]=c&-2049;Ll(d,4,b);or(q[a>>2]);q[a>>2]=-1}ti=b+32|0}function zo(a,b,c){if(a){a=q[a+84>>2];if(t[a+4>>2]>b>>>0){a=q[a>>2]+w(b,96)|0;b=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=b;a=0}else{a=-5}return a}J(8428,7291,2072,8462);G()}function mF(a,b,c){var d=0;d=ti-16|0;ti=d;c=Pwa(b,c,1e6);q[d+8>>2]=c;c=Owa(c,wi,1e6,0);q[d+12>>2]=b-c;if((yl(a,1,20,d+8|0,8)|0)<=-1){Sl(168496,794,q[242957])}ti=d+16|0}function lF(a,b,c){var d=0;d=ti-16|0;ti=d;c=Pwa(b,c,1e6);q[d+8>>2]=c;c=Owa(c,wi,1e6,0);q[d+12>>2]=b-c;if((yl(a,1,21,d+8|0,8)|0)<=-1){Sl(168496,794,q[242957])}ti=d+16|0}function km(a,b,c){var d=0,e=0;d=ti-80|0;ti=d;e=-10;if(!Sp(a,b,d+72|0)){a=q[d+76>>2];q[d+8>>2]=q[d+72>>2];q[d+12>>2]=a;q[d>>2]=1;Gi(c+32|0,d,72);e=0}ti=d+80|0;return e}function j2(a){a=a|0;var b=0,c=x(0),d=0;d=Ri(a,1);b=jj(a,16);q[b+4>>2]=0;q[b+8>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=xl(c);u[b>>2]=uk(c);Ki(a,-1e4,128720);ij(a,-2);return 1}function i2(a){a=a|0;var b=0,c=x(0),d=0;d=Ri(a,1);b=jj(a,16);q[b+8>>2]=0;q[b>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=xl(c);u[b+4>>2]=uk(c);Ki(a,-1e4,128720);ij(a,-2);return 1}function h2(a){a=a|0;var b=0,c=x(0),d=0;d=Ri(a,1);b=jj(a,16);q[b>>2]=0;q[b+4>>2]=0;c=x(x(d)*x(.5));u[b+12>>2]=xl(c);u[b+8>>2]=uk(c);Ki(a,-1e4,128720);ij(a,-2);return 1}function eta(a,b,c){var d=0,e=0;d=q[a+4>>2];e=b+c|0;if(d>>>0>=e>>>0){if(c){b=q[a>>2]+b|0;Sk(b,b+c|0,d-e|0);q[a+4>>2]=q[a+4>>2]-c}return}J(101772,101652,729,101696);G()}function bE(a,b){var c=0,d=0;c=ti-48|0;ti=c;if(q[b+8>>2]==3){v[c>>3]=v[b>>3];ut(c+16|0,137649,c);a=Jj(a,c+16|0,Ui(c+16|0));q[b+8>>2]=4;q[b>>2]=a;d=1}ti=c+48|0;return d}function XW(a){a=a|0;ik(a,140913,268720);Ki(a,-1,140920);Di(a,-2,140927);gj(a,0,1);Ni(a,141513,0);Qi(a,-2);ij(a,-2);Ci(a,-2);Qi(a,-2);Di(a,-2,141514);Ci(a,-2);return 1}function HL(a,b){var c=0;a:{if(b>>>0>127){break a}a=!r[915868]|(a|0)!=1;if(a){break a}b=(b<<6)+(a?0:915868)|0;a=b+8640|0;if(!r[a|0]){break a}o[b+8703|0]=0;c=a}return c}function $I(a,b,c,d){var e=0;e=qv(b,s[c+554>>1]|s[c+552>>1]<<16,d);if(!e){Zj(a,q[c+544>>2],q[c+548>>2]);X9(a,b,q[d>>2]);tj(a,-3);e=aJ(a,b,s[c+562>>1],q[d>>2])}return e}function $C(a,b){var c=0,d=0;a:{if(!(r[a+280|0]&4)){break a}d=-10240;c=b&-32770;a=q[a+292>>2];if((c|0)!=(a&c)){break a}return((a|b)&32769)==(b&32769)?0:-10240}return d}function u9(a){a=a|0;var b=0;Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);a=Xi(a,1);if(a>>>0>=16){Ai(3,196621,201304,0)}a=(a|0)<15?a:15;p[b+354>>1]=(a|0)>0?a:0;return 0}function pj(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=r[a|0];e=r[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}f=d-e|0}return f}function dH(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,1,74700,41);c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=180895692;q[a+8>>2]=q[a+8>>2]+16;Yi(d);ti=b+32|0;return 1}function cra(a,b){var c=0,d=0;a=!r[915868]|(a|0)!=1;a:{if(a){break a}c=q[233304];if((c>>>0<64?c:64)>>>0<=b>>>0){break a}d=q[((b<<2)+(a?0:915868)|0)+17352>>2]}return d}function a_(a,b,c){a=a|0;b=b|0;c=c|0;Ro(a,2,138621);Qi(a,1);zk(a,0,1);if(!Ei(a,-1)){q[c>>2]=0;return 0}if(ek(a,-1)){Cq(a,3);return dj(a,3,c)|0}Bi(a,138647,0);return 0}function _ua(a,b,c){var d=0,e=0,f=0;e=q[a+84>>2];d=c+256|0;f=qq(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Gi(b,e,c);b=e+d|0;q[a+84>>2]=b;q[a+8>>2]=b;q[a+4>>2]=c+e;return c}function Sua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;o[a+c|0]=128;e=b-c|0;if(e>>>0>=2){b=1;d=1;while(1){o[(b+c|0)+a|0]=0;d=d+1|0;b=d&255;if(e>>>0>b>>>0){continue}break}}}function Lw(a,b,c){var d=0,e=0;d=Ui(a)+a|0;a:{if(!c){break a}while(1){e=r[b|0];if(!e){break a}o[d|0]=e;d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}o[d|0]=0;return a}function qE(a){var b=0,c=0;b=q[a+16>>2];o[b+20|0]=67;zr(a,b+28|0,-3);if(q[b+8>>2]>=1){while(1){zr(a,q[b>>2]+(c<<2)|0,-3);c=c+1|0;if((c|0)>2]){continue}break}}}function nda(a,b){a=a|0;b=b|0;a=gc(q[a>>2],b|0)|0;a:{if((a|0)!=-1|!(r[q[77547]+156|0]&64)){break a}if(!(K()|0)){break a}while(1){if(K()|0){continue}break}}return a|0}function fY(a){a=a|0;var b=0;b=Ei(a,2);mj(a,1,5);a:{switch(b|0){default:Qj(a,2,138798);break;case 0:case 5:break a}}if(fE(a)){Bi(a,138820,0)}Ci(a,2);ij(a,1);return 1}function ara(a,b){var c=0,d=0;a:{if(b>>>0>31){break a}a=(a|0)!=1;if(a){break a}c=r[915868];if(!c){break a}a=(b<<8)+(a?0:c?915868:0)|0;o[a+703|0]=0;d=a+448|0}return d}function _V(a,b,c){var d=0,e=0;if(q[a+224>>2]==1){d=q[a+212>>2];e=q[a+208>>2]+c|0;q[a+208>>2]=e;q[a+212>>2]=c>>>0>e>>>0?d+1|0:d;a=vq(a+132|0,b,c)}else{a=-84}return a}function Sm(a){var b=0;a:{switch(a-1|0){case 1:return 1;case 3:return 2;case 7:return 3;case 15:return 4;case 31:return 5;default:b=-1;break;case 0:break a}}return b}function Es(a){var b=0;if(a){sU(q[a+12>>2]);b=q[a+16>>2];q[b>>2]=-1;bV(b);lU(q[a+12>>2]);qU(q[a+8>>2]);TV(q[a+4>>2]);rV(q[a>>2]);yi(q[a+16>>2]);yi(q[a+12>>2]);yi(a)}}function BY(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=8;q[b>>2]=a;q[a+8>>2]=q[a+8>>2]+16;if(q[q[a+16>>2]+112>>2]==(a|0)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}return 1}function yaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,0);d=q[c+20>>2];e=q[c+16>>2];u[b+8>>2]=u[c+24>>2];q[b>>2]=e;q[b+4>>2]=d;jl(a,b);ti=b+16|0;return 1}function xaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,0);d=q[c+36>>2];e=q[c+32>>2];u[b+8>>2]=u[c+40>>2];q[b>>2]=e;q[b+4>>2]=d;jl(a,b);ti=b+16|0;return 1}function taa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,0);d=q[c+68>>2];e=q[c+64>>2];u[b+8>>2]=u[c+72>>2];q[b>>2]=e;q[b+4>>2]=d;jl(a,b);ti=b+16|0;return 1}function qM(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){mt(a,b,(c+1|0)==(b|0),1);c=q[a+4>>2]}Fi(q[a>>2]+c|0,0,b-c|0)}q[a+4>>2]=b}}function pG(){var a=0;a=Oi(40);q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return a}function gea(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[77547];if(c){q[c+100>>2]=b;q[c+96>>2]=a;d=q[c+40>>2];if(d){xi[d|0](q[c+44>>2],a,b)}return}J(85843,84160,566,85853);G()}function a4(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=ti-1024|0;ti=c;if(d){J(27818,27535,317,27832);G()}uo(b,a,c);Bk(c,27867,1024);a=ZF(c,e);ti=c+1024|0;return a|0}function Zaa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[fj(a,1,b+12|0)+412>>2]>>>27|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=d&1;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function Xaa(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;d=q[fj(a,1,b+12|0)+412>>2]>>>26|0;c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=d&1;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function M9(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;fj(a,1,b+12|0);c=Ej(a,2);Ti(a);d=Li(a,-1,q[216371],198335);Ci(a,-2);EI(d,q[b+12>>2],(c|0)!=0);ti=b+16|0;return 0}function IE(a){var b=0,c=0,d=0;if(o[q[a>>2]]-48>>>0<10){while(1){b=q[a>>2];d=o[b|0];q[a>>2]=b+1;c=(w(c,10)+d|0)-48|0;if(o[b+1|0]-48>>>0<10){continue}break}}return c}function GY(a){a=a|0;var b=0;b=ti-16|0;ti=b;Ql(a,1);a:{if(!Ej(a,1)){q[b>>2]=Dl(a,2,138404,0);a=Bi(a,138401,b);break a}a=q[a+8>>2]-q[a+12>>2]>>4}ti=b+16|0;return a|0}function FV(a,b){var c=0,d=0,e=0;d=q[b>>2];e=q[a>>2];a:{b:{if(!e){c=BD(a,d);if(!c){break b}break a}c=-20352;if((d|0)!=(e|0)){break a}}c=lo(a+172|0,b+136|0)}return c}function Dga(a){a=a|0;var b=0,c=0;b=q[a+20>>2];if(!b){return-2}b=r6(b);c=oK(q[a>>2],b,q[a+8>>2]);if(!c){q[q[a+24>>2]+8>>2]=b;return 0}iA(q[a>>2],b);UG(b);return c|0}function ow(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;q[d+8>>2]=b;a=Ia(a|0,d+8|0,1,d+4|0)|0;b=0;a:{if(!a){break a}q[242957]=a;b=-1}ti=d+16|0;return b?-1:q[d+4>>2]}function gm(a){var b=0,c=0;b=a+12|0;c=q[a>>2]-b|0;a:{if(!c){b=q[a+4>>2];break a}Ni(q[a+8>>2],b,c);q[a>>2]=b;b=q[a+4>>2]+1|0;q[a+4>>2]=b}Ol(q[a+8>>2],b);q[a+4>>2]=1}function bja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=q[a+4>>2];q[a+4>>2]=d+1;a=q[a>>2];e=q[a+8>>2];q[e+8>>2]=3;v[e>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;Ni(a,b,c);$i(a,-3)}function _la(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;a=XI(q[q[q[a+16>>2]>>2]+8>>2]);c=0;a:{if(!a){break a}q[b>>2]=a;Ai(4,36048,37846,b);c=-1e3}a=c;ti=b+16|0;return a|0}function Xla(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;a=KI(q[q[q[a+16>>2]>>2]+8>>2]);c=0;a:{if(!a){break a}q[b>>2]=a;Ai(4,36048,37803,b);c=-1e3}a=c;ti=b+16|0;return a|0}function Ona(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=Hm(a,1);u[b>>2]=u[c>>2];u[b+4>>2]=u[c+4>>2];u[b+8>>2]=u[c+8>>2];u[b+12>>2]=u[c+12>>2];Mq(a,b);ti=b+16|0;return 1}function Mr(a,b,c){var d=0,e=0;d=ti-16|0;o[d+15|0]=0;if(c){while(1){o[d+15|0]=r[d+15|0]|r[a+e|0]^r[b+e|0];e=e+1|0;if((e|0)!=(c|0)){continue}break}}return r[d+15|0]}function Jv(a,b,c){var d=0;d=ti-16|0;ti=d;a:{if(!jp(a,b,c)){q[d>>2]=q[c+8>>2];Ai(4,19540,19551,d);break a}a=b?q[b+120>>2]:0;if(Fu(a,c)){break a}Vl(a,0,0)}ti=d+16|0}function GR(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;q[d+8>>2]=b;a=bb(a|0,d+8|0,1,d+4|0)|0;b=0;a:{if(!a){break a}q[242957]=a;b=-1}ti=d+16|0;return b?-1:q[d+4>>2]}function Rz(a){var b=0,c=0;b=q[a+8>>2]-q[a+12>>2]|0;Ti(a);c=mk(a,-1,q[216371]);Ci(a,-2);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(196277,196298,164,196320);G()}return c}function lG(a,b,c){var d=0,e=0;if(c){while(1){d=q[(e<<2)+b>>2];Vy(a,q[d+8>>2],q[d+12>>2],q[d>>2],s[d+24>>1],q[d+16>>2]);e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function iR(a){a=a|0;q[a+8>>2]=1732584193;q[a+12>>2]=-271733879;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=-1009589776;q[a+16>>2]=-1732584194;q[a+20>>2]=271733878;return 0}function Rqa(a,b){var c=0,d=0,e=0;c=q[a+8>>2];d=q[a+4>>2]-c|0;if((d|0)>=4){e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[a+8>>2]=c+4;q[b>>2]=e}return(d|0)>3}function laa(a){a=a|0;var b=0,c=0;Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);b=q[b+360>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Qaa(a){a=a|0;var b=0,c=0;Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);b=q[b+364>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function zl(a,b,c){var d=0,e=0;d=ti-32|0;ti=d;q[d+20>>2]=1;q[d+16>>2]=(c|0)<0?-1:1;e=c>>31;q[d+12>>2]=e^c+e;q[d+24>>2]=d+12;a=hl(a,b,d+16|0);ti=d+32|0;return a}function zaa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ti-16|0;ti=b;c=fj(a,1,0);d=q[c+4>>2];e=q[c>>2];u[b+8>>2]=u[c+8>>2];q[b>>2]=e;q[b+4>>2]=d;jl(a,b);ti=b+16|0;return 1}function dwa(){q[77534]=0;q[77535]=0;q[77532]=1;q[77536]=0;q[77537]=0;q[77538]=0;q[77539]=0;o[310160]=r[310160]&254;q[77543]=0;q[77544]=0;q[77541]=0;q[77542]=0}function UE(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+8>>2]=0;q[d>>2]=1;q[d+4>>2]=0;b=b+12|0;a=hl(d,a+4|0,b);if(!a){a=Vt(b,d,(uj(b,0)|0)!=0&c)}Si(d);ti=d+16|0;return a}function Mna(a){a=a|0;var b=0,c=0;b=ti-32|0;ti=b;np(b,Hm(a,1));u[b+16>>2]=u[b>>2];c=q[b+8>>2];q[b+20>>2]=q[b+4>>2];q[b+24>>2]=c;jl(a,b+16|0);ti=b+32|0;return 1}function sB(a,b){var c=0;c=ti-16|0;ti=c;Gj(a);$k(a,b,0);HX(q[a+48>>2],b);if(q[a+16>>2]!=93){b=q[a+52>>2];q[c>>2]=dl(a,93);Dj(a,_i(b,136607,c))}Gj(a);ti=c+16|0}function pm(a,b,c,d){c=hl(b,c,d);a:{if(c){break a}a=a+4|0;while(1){c=0;if(q[b>>2]>-1){break a}if(!uj(b,0)){break a}c=Bl(b,b,a);if(!c){continue}break}}return c}function nC(a){var b=0,c=0,d=0;b=q[a+184>>2];d=a;if(r[q[a>>2]+184|0]&2){c=q[a+100>>2]}else{b=b+8|0;c=q[a+100>>2]+8|0}q[d+108>>2]=c;q[a+192>>2]=b;Dr(a,0);Pw(a)}function cH(a){a=a|0;var b=0,c=0,d=0;b=ti-32|0;ti=b;d=Zi(b+8|0,a,1,74700,48);c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=0;q[a+8>>2]=q[a+8>>2]+16;Yi(d);ti=b+32|0;return 1}function _B(a){var b=0;q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=-2;q[a+4>>2]=1023;b=a;a=Ji(1023);q[b>>2]=a;if(!a){ht(134686);G()}o[a|0]=0}function TD(a,b,c){a:{b=Rj(a,b,c,3);if(b){break a}b=c;c=q[c>>2];q[b>>2]=c-1;b=-104;if(c>>>0<2){break a}b=a;a=q[a>>2];q[b>>2]=a+1;return r[a|0]?-104:0}return b}function IV(a){if(a){Si(a+112|0);Si(a+100|0);Si(a+88|0);Si(a+76|0);Si(a- -64|0);Si(a+52|0);Si(a+40|0);Si(a+28|0);Si(a+16|0);Si(a+4|0);xi[q[68401]](a,0,124)|0}}function pJ(a){a=a|0;var b=0;a:{if(a){qa(q[a>>2]);if(r[q[77547]+156|0]&64){b=K()|0;if(b){break a}}yi(a)}return}Vi(b,87775,2111);J(84254,84160,2111,87775);G()}function fF(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e+8>>2]=0;if(!a){J(203500,203508,102,203539);G()}a=xi[q[q[a+8>>2]+20>>2]](q[a+4>>2],b,c,d)|0;ti=e+16|0;return a}function _$(a){a=a|0;var b=0,c=0;if(q[a+33904>>2]){while(1){c=a;if(q[a+33908>>2]){b=0}else{b=hF(a)}q[c+33912>>2]=b;Io(8e3);if(q[a+33904>>2]){continue}break}}}function YO(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;Wi(a,1,b+12|0);d=q[b+12>>2];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=d|0;q[a+8>>2]=q[a+8>>2]+16;ti=b+16|0;return 1}function RU(a,b){var c=0,d=0,e=0;c=q[a+68>>2];if(c){d=c;c=a+52|0;o[d+c|0]=1;e=q[a+68>>2];d=e+1|0;q[a+68>>2]=d;Fi(c+d|0,0,15-e|0);gx(a,1,c,0)}JR(a,b);return 0}function IU(a,b,c,d,e,f,g){var h=0;h=-16640;a:{switch(q[a+164>>2]){case 0:return CU(a,b,c,d,e,f,g);case 1:h=EU(a,b,c,d,e,f,g);break;default:break a}}return h}function GU(a,b,c,d,e,f,g){var h=0;h=-16640;a:{switch(q[a+164>>2]){case 0:return AU(a,b,c,d,e,f,g);case 1:h=yU(a,b,c,d,e,f,g);break;default:break a}}return h}function $x(a){var b=0;b=ti-16|0;ti=b;q[b+12>>2]=a>>>24;q[b>>2]=a&255;q[b+8>>2]=a>>>16&255;q[b+4>>2]=a>>>8&255;Ko(971808,16,211652,b);ti=b+16|0;return 971808}function sY(a){a=a|0;var b=0;b=Dl(a,2,138613,0);mj(a,1,6);Ci(a,3);if(Jx(a,1056,0,b)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;hk(a,-2);a=2}else{a=1}return a|0}function n3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Qi(a,-10002);ik(a,120901,263248);Ci(a,-3);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(120907,120502,210,120928);G()}}function hca(a){q[a>>2]=0;q[a+4>>2]=0;o[a+50|0]=0;p[a+48>>1]=0;q[a+40>>2]=1;q[a+32>>2]=640;q[a+36>>2]=480;q[a+8>>2]=0;q[a+12>>2]=0;q[a+44>>2]=83450;return a}function g0(a,b){var c=0;c=q[242116];if(c){c=q[c+16>>2];if(!c){o[a+60|0]=r[a+60|0]&251|(b?0:4);return 0}wj(c);o[a+60|0]=r[a+60|0]&251|(b?0:4);qj(c)}return 0}function e3(a){var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Qi(a,-10002);ik(a,130976,264336);Ci(a,-3);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(130981,131002,150,131025);G()}}function aha(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-13;if(!Cj(q[a+12>>2],q[a+16>>2],q[67414],b+12|0)){q[q[a+24>>2]+8>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function aga(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a+12>>2];if(b){cj(b)}b=q[a+8>>2];if(b){Pi(c,b)}b=q[a+16>>2];if(b){Pi(c,b)}yi(a);return 0}function XY(a){a=a|0;var b=0,c=0;b=Xi(a,2);mj(a,1,5);c=q[a+8>>2];q[c+8>>2]=3;b=b+1|0;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;bj(a,1,b);return((Ei(a,-1)|0)!=0)<<1}function UV(a){var b=0,c=0,d=0;if((a|0)<0){return 0}b=-2147483648;while(1){a:{d=c+1|0;if(c>>>0>30){break a}c=d;b=b>>>1|0;if(!(b&a)){continue}}break}return d}function Mx(a){var b=0,c=0,d=0;b=-1;a:{if(a>>>0<256){c=a;break a}while(1){b=b+8|0;d=a>>>0>65535;c=a>>>8|0;a=c;if(d){continue}break}}return r[c+135760|0]+b|0}function En(a){var b=0,c=0;b=a*a;c=b*a;return x(c*(b*b)*(b*2718311493989822e-21+ -.00019839334836096632)+(c*(b*.008333329385889463+ -.16666666641626524)+a))}function xoa(a,b){var c=0,d=0;c=q[b+96>>2];d=q[b+100>>2];if((c|0)!=q[74208]|(d|0)!=q[74209]){Xq(a+3144|0,c,d);a=q[74209];q[b+96>>2]=q[74208];q[b+100>>2]=a}}function wL(a,b,c){var d=0,e=0;d=q[a+4>>2];e=q[a+8>>2];b=e+b|0;if(d>>>0>=b>>>0){q[a+8>>2]=b;a=q[a>>2];q[c+8>>2]=e;q[c+4>>2]=b;q[c>>2]=a}return b>>>0<=d>>>0}function uj(a,b){var c=0,d=0;c=ti-32|0;ti=c;q[c+20>>2]=1;q[c+16>>2]=(b|0)<0?-1:1;d=b>>31;q[c+12>>2]=d^b+d;q[c+24>>2]=c+12;a=Lj(a,c+16|0);ti=c+32|0;return a}function qr(a){var b=0;fta(a,q[a>>2],q[a>>2]+q[a+4>>2]|0);b=a+12|0;lta(b,q[b>>2],q[b>>2]+(q[b+4>>2]<<2)|0);a=a+24|0;ita(a,q[a>>2],q[a>>2]+(q[a+4>>2]<<1)|0)}function eF(a,b,c,d){a:{if(a){if(!b){break a}return xi[q[q[b+8>>2]+28>>2]](q[b+4>>2],c,d)|0}J(203546,203508,108,203554);G()}J(203500,203508,109,203554);G()}function Pw(a){var b=0,c=0,d=0;b=q[a+108>>2];c=q[q[a>>2]+184>>2]&2;d=b+(c?13:5)|0;q[a+120>>2]=d;q[a+116>>2]=d;q[a+112>>2]=(c?11:3)+b;q[a+104>>2]=(c?3:-8)+b}function z5(a){a=a|0;var b=0;a=aj(a,1);Vu(q[a>>2]);a:{if(o[a+32|0]&1){break a}b=q[a+12>>2];if(b){yi(b)}b=q[a+4>>2];if(!b){break a}yi(b)}q[a>>2]=0;return 0}function y_(a){a=a|0;var b=0;if(!q[rm(a,140233)>>2]){Bi(a,140305,0)}Qi(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;ck(a,1108,2);return 1}function saa(a){a=a|0;var b=0,c=0;b=ti-32|0;ti=b;fj(a,1,b+28|0);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);Gl(b,c,q[b+28>>2],7);Un(a,b);ti=b+32|0;return 1}function bQ(a,b,c){var d=0;a:{b:{if((c|0)!=1){break b}c=q[q[a>>2]+184>>2]>>>6&7;if(!c){break b}d=0;if((c|0)==r[b|0]){break a}}Ij(a,2,40);d=-31104}return d}function at(a,b,c){var d=0;d=ti-32|0;ti=d;a:{if(r[b|0]==r[q[59618]]){a=vl(b,c);b=wi;break a}Rs(d,a+104|0,0);ll(d,b,c);a=$n(d);b=wi}ti=d+32|0;wi=b;return a}function aP(a){a=a|0;var b=0;b=ti-1040|0;ti=b;mj(a,1,6);Ci(a,1);q[b+4>>2]=0;q[b+8>>2]=a;q[b>>2]=b+12;if(mX(a,b)){Bi(a,141039,0)}gm(b);ti=b+1040|0;return 1}function Hj(){var a=0,b=0;b=ti-16|0;ti=b;a=Oi(28);q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;ti=b+16|0;return a}function op(a){var b=0,c=0;b=q[a+80>>2];c=q[b+3128>>2];a=q[a+140>>2]&32767;if(a>>>0>=q[b+3132>>2]-c>>6>>>0){J(12518,10061,479,9553);G()}return c+(a<<6)|0}function oR(a,b,c){o[a+75|0]=255;a:{b:{switch(b-1|0){case 1:q[a+48>>2]=0;break a;case 0:break b;default:break a}}o[a+75|0]=10}q[a>>2]=q[a>>2]|64;return 0}function kqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=ti-16|0;ti=d;a=q[a+272>>2];if(a){q[d+8>>2]=c;q[d+4>>2]=b;o[d|0]=1;GF(a?q[a+120>>2]:0,4323,11,d)}ti=d+16|0}function Y_(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;g=ti-176|0;ti=g;Bx(g);a=AD(g,a);if(!a){a=XE(g,b,c,d,e,f)}Yt(g);ti=g+176|0;return a|0}function Rl(a,b,c,d){var e=0,f=0;e=w(b,c);f=e;a:{if(q[d+76>>2]<=-1){a=qB(a,e,d);break a}a=qB(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function GG(a){q[a+44>>2]=0;p[a+40>>1]=65535;q[a+32>>2]=-1;q[a+36>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0;return a}function FS(a){var b=0;b=ti-16|0;ti=b;q[b+12>>2]=a+4;q[b>>2]=q[a>>2];a=Ja(966256,33345,b|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}ti=b+16|0;return a}function zfa(a){var b=0;a=q[a>>2];b=q[a+8>>2]-q[a+12>>2]>>4;ik(a,64654,244208);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(64670,64691,125,64741);G()}}function um(a){var b=0;a:{if(q[a+76>>2]<=-1){a=UM(a);b=wi;break a}a=UM(a);b=wi}if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){q[242957]=61;return-1}return a}function sfa(a){var b=0;a=q[a>>2];b=q[a+8>>2]-q[a+12>>2]>>4;ik(a,75964,244848);Ci(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(75970,75991,725,76031);G()}}function oaa(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);Zj(a,Cba(c,q[b+12>>2]),wi);ti=b+16|0;return 1}function hr(a){var b=0;b=q[a+24>>2];if(b){wA(q[a+12>>2],q[a+16>>2],q[a+20>>2],b);return}if(!q[a+16>>2]){b=q[a+32>>2];q[a+12>>2]=q[a+28>>2];q[a+16>>2]=b}}function Wga(a){a=a|0;var b=0,c=0;c=q[a>>2];a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){cj(b)}b=q[a+4>>2];if(b){Pi(c,b)}b=q[a+8>>2];if(b){Pi(c,b)}yi(a);return 0}function Taa(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);fj(a,1,b+12|0);Zj(a,Kba(c,q[b+12>>2]),wi);ti=b+16|0;return 1}function GJ(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-2;if(!Cj(q[a+12>>2],q[a+16>>2],q[64814],b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function eo(a){var b=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=a+12|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+24|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;return a}function Sda(a,b){a=a|0;b=b|0;Sa(q[b>>2]);a:{if(!(r[q[77547]+156|0]&64)){break a}a=K()|0;if(!a){break a}Vi(a,87794,2143);J(84254,84160,2143,87794);G()}}function Oha(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-2;if(!Cj(q[a+12>>2],q[a+16>>2],272576,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function Kha(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-2;if(!Cj(q[a+12>>2],q[a+16>>2],245432,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function Jx(a,b,c,d){var e=0;e=ti-32|0;ti=e;q[e+20>>2]=c;q[e+16>>2]=b;q[e+24>>2]=a;q[e+8>>2]=0;q[e+12>>2]=0;a=XX(a,e+8|0,d?d:135280);ti=e+32|0;return a}function Jga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-2;if(!Cj(q[a+12>>2],q[a+16>>2],273360,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function HU(a,b,c,d,e,f){var g=0;g=-16640;a:{switch(q[a+164>>2]){case 0:return BU(a,b,c,d,e,f);case 1:g=DU(a,b,c,d,e,f);break;default:break a}}return g}function $oa(a){var b=0;if(a){b=q[a+4>>2];if(b){xi[b|0](q[a+8>>2])}b=q[a+16>>2];if(b){xi[b|0](q[a+20>>2])}b=q[a+28>>2];if(b){xi[b|0](q[a+32>>2])}yi(a)}}function tQ(a,b){a=a|0;b=b|0;var c=0;c=ti-224|0;ti=c;Ep(c+8|0);tx(c+8|0,q[a+68>>2]+888|0);Or(c+8|0,b);a=c+8|0;if(a){xi[q[68401]](a,0,216)|0}ti=c+224|0}function qba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=aj(a,1);c=Wi(a,2,0);Zj(a,(e=b,f=c,g=Ui(c),d=q[q[b+12>>2]+12>>2],xi[d](e|0,f|0,g|0)|0),wi);return 1}function jga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=-2;if(!Cj(q[a+12>>2],q[a+16>>2],272e3,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}ti=b+16|0;return c|0}function e8(a,b){var c=0;if(!(!a|!b|q[a+16>>2]>-1)){c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=1}return c}function RY(a){a=a|0;var b=0,c=0;b=Wi(a,1,0);Wi(a,2,0);b=Ux(a,b);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;hk(a,-2);Hi(a,(b|0)==1?139468:139475);return 3}function Qt(a,b,c,d){var e=0;e=ti-224|0;ti=e;Ep(e+8|0);Dp(e+8|0,d);Cp(e+8|0,a,b);Or(e+8|0,c);a=e+8|0;if(a){xi[q[68401]](a,0,216)|0}ti=e+224|0;return 0}function wta(a,b){var c=0,d=0;c=ti-224|0;ti=c;d=a;a=c+72|0;d=Dn(d,a,0,1);if(d){if(q[a+104>>2]!=8){Eo(a,c)}cw(a,c,b);tM(a,c,b+8|0)}ti=c+224|0;return d}function wpa(a,b){a=a|0;b=b|0;p[b+104>>1]=250;q[b+100>>2]=q[b+100>>2]&-131073|131072;q[b+20>>2]=33;q[b+24>>2]=34;q[b+44>>2]=35;q[b+52>>2]=36;return 0}function vO(a){rt(a,132669,265008);rt(a,132684,265008);eq(a,132669,132701);eq(a,132684,132701);eq(a,132669,132710);eq(a,132684,132710);po(a,0,265168)}function cG(a,b){var c=0;c=ti-32|0;ti=c;q[c+28>>2]=b;o[c+20|0]=255;b=c+32|0;q[c+16>>2]=b;q[c+12>>2]=b;q[c+8>>2]=c+28;a=bG(a,c+8|0);ti=c+32|0;return a}function bZ(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;bj(a,-10001,1);c=q[aj(a,-1)>>2];if(!c){q[b>>2]=140507;Bi(a,140538,b)}a=NE(a,c,1);ti=b+16|0;return a|0}function b7(a){var b=0;b=Oi(32);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=a;return b}function YY(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;bj(a,-10001,2);c=q[aj(a,-1)>>2];if(!c){q[b>>2]=140518;Bi(a,140538,b)}a=ME(a,c,1);ti=b+16|0;return a|0}function JO(a){rt(a,132299,264640);rt(a,132311,264640);rt(a,132323,264640);eq(a,132299,132335);eq(a,132311,132335);eq(a,132323,132335);po(a,0,264832)}function D5(a){q[a+2136>>2]=-1;q[a+2140>>2]=0;q[a+2044>>2]=q[a+2040>>2];q[a+2108>>2]=q[a+2104>>2];q[a+2060>>2]=q[a+2056>>2];q[a+2124>>2]=q[a+2120>>2]}function zB(a,b,c){var d=0;d=-1;a:{if(mw(a+80|0,b+112|0)){break a}if(!(q[b+28>>2]<3?c:0)){if(!q[b+284>>2]){break a}if($C(b,4)){break a}}d=0}return d}function b0(a,b,c){var d=0;d=q[q[242116]+16>>2];if(d){wj(d);o[a+61|0]=c;o[a+60|0]=r[a+60|0]&254|b;qj(d);return}o[a+61|0]=c;o[a+60|0]=r[a+60|0]&254|b}function _o(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e>>2]=b;Ai(0,24387,26173,e);q[a+8>>2]=d;q[a+4>>2]=c;q[a>>2]=b;q[a+12>>2]=q[74722];q[74722]=a;ti=e+16|0}function TF(a){var b=0;a:{b=Nv(a);if(b){break a}b=Rz(a);if(b){b=q[q[b+344>>2]+12>>2];if(b){break a}}Bi(a,53821,0);return 0}return q[q[b+80>>2]+8>>2]}function Pfa(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];uv(b,a);if(a){a:{if(o[a+20|0]&1){break a}b=q[a+8>>2];if(!b){break a}yi(b)}yi(a)}return 0}function yC(a){var b=0,c=0;c=q[q[a+68>>2]+132>>2];b=c-1|0;a:{if(b>>>0<=11){b=q[(b<<2)+275088>>2];break a}b=0}if(b){return eD(a,c)?-1:0}return-27648}function w0(){var a=0,b=0,c=0,d=0;b=ti-32|0;ti=b;a=q[81779];if(a){c=a?q[a>>2]:0;d=Zi(b+8|0,c,0,120502,60);if(Np(a)){Vl(c,1,0);Kq(a)}Yi(d)}ti=b+32|0}function tpa(a){a=a|0;var b=0;a=q[a+4>>2];if(!a){return-1e3}Jy(q[a+16>>2]);a:{if(o[a+12|0]&1){break a}b=q[a>>2];if(!b){break a}yi(b)}yi(a);return 0}function Swa(a){var b=0,c=0,d=0,e=0,f=0;while(1){f=b;d=c;if(a|e){d=a;a=a-1&a;e=e-(d>>>0<1)&e;b=b+1|0;c=b>>>0<1?c+1|0:c;continue}break}wi=d;return f}function AD(a,b){var c=0;a:{c=yD(a,b);if(c){break a}c=gk(a+124|0,b+124|0);if(c){break a}c=lo(a+136|0,b+136|0);if(c){break a}return 0}Yt(a);return c}function qx(a,b,c,d){var e=0;e=r[d|0];if((c|0)==1){q[a>>2]=(e^255)+2;a=r[d+1|0];q[b>>2]=(a|0)==255?2:(a^255)+1|0;return}q[a>>2]=e;q[b>>2]=r[d+1|0]}function h1(a){a=a|0;var b=0,c=0;b=ti-80|0;ti=b;c=Wi(a,1,0);q[b+4>>2]=vs(Li(a,2,q[81791],0),b+16|0,64);q[b>>2]=c;vj(a,123817,b);ti=b+80|0;return 1}function _Y(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=q[rm(a,140233)>>2];a:{if(!c){Ni(a,140483,13);break a}q[b>>2]=c;vj(a,140497,b)}ti=b+16|0;return 1}function RT(a,b,c){var d=0;d=-28928;a:{if(!a|!q[a>>2]){break a}d=zC(a);if(d){break a}if(q[a+4>>2]!=16){d=Nr(a);if(d){break a}}d=zP(a,b,c)}return d}function Fv(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e>>2]=b;Ai(0,5741,5752,e);q[a+8>>2]=d;q[a+4>>2]=c;q[a+12>>2]=b;q[a>>2]=q[74116];q[74116]=a;ti=e+16|0}function Cla(a,b){var c=0;c=q[a+228>>2];if(!c){c=q[q[a+216>>2]+8>>2]}$y(c,q[a+240>>2],u[a+48>>2],(s[a+246>>1]&16)>>>4|0,u[a+232>>2],u[a+236>>2],b)}function $D(a){var b=0,c=0;b=q[a+16>>2];if(t[b+68>>2]>=t[b+64>>2]){_l(a)}b=UX(a);c=q[a+8>>2];q[c+8>>2]=8;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return b}function xP(a,b,c){q[c>>2]=0;a=a+16384|0;if(!(a>>>0>>0|a-b>>>0<6)){o[b+4|0]=1;o[b+5|0]=0;o[b|0]=0;o[b+1|0]=11;o[b+2|0]=0;o[b+3|0]=2;q[c>>2]=6}}function wP(a,b,c,d){q[d>>2]=0;b=b+16384|0;if(!(!(q[a+184>>2]&16384)|b>>>0>>0|b-c>>>0<4)){o[c|0]=0;o[c+1|0]=4;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function sV(a){var b=0,c=0;c=q[a+224>>2];if((c|0)<=19){b=w(c,20)+a|0;q[b+244>>2]=1;q[b+240>>2]=32;q[b+232>>2]=0;q[b+228>>2]=1300;q[a+224>>2]=c+1}}function eE(a){var b=0,c=0;if(a>>>0<16){b=8}else{b=1;while(1){b=b+1|0;c=a+1|0;a=c>>>1|0;if(c>>>0>31){continue}break}b=b<<3}return a>>>0<8?a:b|a-8}function Qga(a){a=a|0;var b=0,c=0;c=q[a+4>>2];b=q[q[a+8>>2]+8>>2];Pp(q[a>>2],472,b);Pi(q[a>>2],q[b+12>>2]);Pi(q[a>>2],q[b+8>>2]);fz(c,b);return 0}function Pqa(a,b){var c=0,d=0,e=0;c=q[a+8>>2];d=q[a+4>>2];if(c>>>0>d>>>0){J(22867,22886,45,22927);G()}e=a;a=b+c|0;q[e+8>>2]=a;return a>>>0<=d>>>0}function CK(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=Hm(a,1);u[b>>2]=u[c+32>>2];u[b+4>>2]=u[c+36>>2];u[b+8>>2]=u[c+40>>2];jl(a,b);ti=b+16|0;return 1}function ot(a,b,c){o[a+7|0]=b;o[a+6|0]=(c&255)<<24|b>>>8;o[a+5|0]=(c&65535)<<16|b>>>16;o[a+4|0]=(c&16777215)<<8|b>>>24;o[a+3|0]=c;o[a+2|0]=c>>>8}function lw(a){var b=0,c=0;b=ti-16|0;ti=b;c=-1;a:{if(lB(a)){break a}if((xi[q[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=r[b+15|0]}ti=b+16|0;return c}function l4(a){var b=0,c=0;b=q[a+7408>>2];if(b){Py(b);b=q[a+7408>>2];if(b){c=q[b+4>>2];if(c){cj(c)}c=q[b+8>>2];if(c){cj(c)}yi(b)}q[a+7408>>2]=0}}function gba(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;fj(a,1,b+12|0);Ti(a);c=Li(a,-1,q[216371],198335);Ci(a,-2);rv(c,q[b+12>>2],0);ti=b+16|0;return 0}function UN(a,b,c){var d=0;d=ti-144|0;ti=d;d=Fi(d,0,144);q[d+76>>2]=-1;q[d+44>>2]=a;q[d+32>>2]=1586;q[d+84>>2]=a;a=LB(d,b,c);ti=d+144|0;return a}function Q9(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);a=Ej(a,2);q[c+412>>2]=q[c+412>>2]&-134217729|a<<27&134217728;ti=b+16|0;return 0}function Bra(){var a=0,b=0,c=0;a=Oi(16);p[a+12>>1]=0;b=Ji(512);q[a>>2]=b;c=Ji(256);q[a+4>>2]=c;Fi(b,0,512);Fi(c,0,256);q[a+8>>2]=128;q[213374]=a}function Aga(a){a=a|0;var b=0;b=q[q[a+32>>2]+8>>2];iA(q[a>>2],b);if(o6(b,q[a+20>>2],q[a+24>>2])){a=oK(q[a>>2],b,q[a+16>>2])}else{a=-1}return a|0}function u6(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if((c-a|0)/18568>>>0<=b>>>0){J(146626,145751,479,145962);G()}return q[(a+w(b,18568)|0)+18556>>2]}function s6(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if((c-a|0)/18568>>>0<=b>>>0){J(146626,145751,479,145962);G()}return q[(a+w(b,18568)|0)+18552>>2]}function m9(a){a=a|0;var b=0,c=0,d=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);a=Wi(a,2,0);d=q[c+420>>2];if(d){yi(d)}q[c+420>>2]=Jk(a);ti=b+16|0;return 0}function Ima(a){a=a|0;var b=0;b=q[q[a+12>>2]>>2];a:{if(r[b+58|0]&2){a=q[a+4>>2];YK(q[b+36>>2],a,1);b=1;if(r[a+953|0]&4){break a}}b=0}return b|0}function yR(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;if(q[a+4>>2]==(c|0)){a=IU(a,g,h,e,b,d,f)}else{a=-16512}return a|0}function rP(a,b){q[a+4>>2]=q[b+4>>2];q[a>>2]=q[b>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+16>>2];q[a+16>>2]=q[b+12>>2];q[a+20>>2]=q[b+128>>2]>>1}function qqa(a,b){a=a|0;b=b|0;a:{if(a){if(!b){break a}q[b>>2]=Zh(q[a>>2]);return}J(207481,207439,86,207540);G()}J(207559,207439,87,207540);G()}function mZ(a){a=a|0;if((Ei(a,1)|0)==-1){bj(a,-10001,2)}if(!q[rm(a,140233)>>2]){Bi(a,140305,0)}gs(a,1);Ki(a,-1,140334);return xi[Ix(a)|0](a)|0}function cU(a,b){if(q[a+20>>2]<=2){q[q[a+68>>2]+1104>>2]=1384;return}a=q[a+68>>2];if(q[b+12>>2]==7){q[a+1104>>2]=1385;return}q[a+1104>>2]=1386}function Tr(a,b){var c=0;c=$m(b,1);a:{if(c){break a}a=a+4|0;while(1){c=0;if((Lj(b,a)|0)<0){break a}c=_m(b,b,a);if(!c){continue}break}}return c}function Oqa(a,b){var c=0;c=b;b=q[a+40>>2]+15&-16;c=c+b|0;q[a+40>>2]=c;if(!(r[a+44|0]|t[a+36>>2]>=c>>>0)){J(23832,23863,86,23933);G()}return b}function O9(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);a=Ej(a,2);q[c+412>>2]=q[c+412>>2]&-67108865|a<<26&67108864;ti=b+16|0;return 0}function FY(a){a=a|0;var b=0;b=eB(a,sn(a,-10003),q[a+8>>2]-q[a+12>>2]>>4);if((b|0)<=-1){if(ek(a,-1)){js(a,1);hk(a,-2);Ol(a,2)}mo(a)}return b|0}function zk(a,b,c){El(a,q[a+8>>2]+((b^-1)<<4)|0,c);a:{if((c|0)!=-1){break a}b=q[a+20>>2];a=q[a+8>>2];if(t[b+8>>2]>a>>>0){break a}q[b+8>>2]=a}}function vpa(a){a=a|0;var b=0,c=0;b=1;a=q[q[a+16>>2]>>2];c=q[a>>2];if(q[c+12>>2]==-2){b=q[c+16>>2]!=-2}p[a+32>>1]=s[a+32>>1]&65534|b;return 0}function lva(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function hV(a,b,c,d){var e=0;a:{if(qn(a,b,1)){break a}e=a+12|0;if(Mo(a,e,(b?q[b+8>>2]:0)&255)){break a}Fi(e,1,(b?q[b+8>>2]:0)&255);zx(a,c,d)}}function gsa(a){a=a|0;var b=0,c=0;Ql(a,3);b=Xi(a,2);mj(a,1,6);a:{if(Ip(a,1)){break a}b=fX(a,b);if(!b){break a}Hi(a,b);hk(a,-1);c=1}return c|0}function gj(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}d=q[a+8>>2];b=To(a,b,c);q[d+8>>2]=5;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function aoa(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!r[b|0])){a=at(q[a+4>>2],b,Ui(b));return a|0}a=q[a+4>>2];b=q[a+96>>2];wi=q[a+100>>2];return b|0}function Qpa(a){a=a|0;a:{if(r[a+148|0]){Xpa(a);a=q[a+144>>2];break a}a=q[a+144>>2];if(a){break a}return-1}return((a|0)==1?1:(a|0)==-1?-1:0)|0}function Ni(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}d=q[a+8>>2];b=Jj(a,b,c);q[d+8>>2]=4;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function NQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=q[a+20>>2];d=q[a+16>>2]-e|0;d=c>>>0>>0?c:d;Gi(e,b,d);q[a+20>>2]=d+q[a+20>>2];return c|0}function mr(a,b){a=a|0;b=b|0;var c=0,d=0;c=ti-16|0;ti=c;d=q[a+20>>2];q[c+4>>2]=q[a+692>>2];q[c>>2]=d;Ai(3,149340,149345,c);O(a+24|0,b|0);G()}function f8(a,b){var c=0;if(!(!b|q[a+2412>>2]>-1)){Gi(b,a+3188|0,264);q[a+3444>>2]=0;o[a+3188|0]=0;a=a+3448|0;o[a|0]=r[a|0]&254;c=1}return c}function XU(a,b,c,d,e,f,g,h){var i=0;i=q[a>>2];if(!i){return-16e3}i=q[i+28>>2];if(!i){return-16128}return xi[i|0](q[a+4>>2],b,c,d,e,f,g,h)|0}function Un(a,b){var c=0;c=jj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];Ki(a,-1e4,128704);ij(a,-2)}function RC(a,b){if(!q[b>>2]){a=a-3|0;a:{if(a>>>0<=5){a=q[(a<<2)+273896>>2];break a}a=0}if(!a){return-1}q[b>>2]=(a?q[a+8>>2]:0)&255}return 0}function OG(a,b,c){var d=0;d=q[a+4>>2];a=q[a>>2];if((d-a|0)/18568>>>0<=b>>>0){J(146626,145751,479,145962);G()}q[(a+w(b,18568)|0)+18556>>2]=c}function Mq(a,b){var c=0;c=jj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];Ki(a,-1e4,128720);ij(a,-2)}function LG(a,b,c){var d=0;d=q[a+4>>2];a=q[a>>2];if((d-a|0)/18568>>>0<=b>>>0){J(146626,145751,479,145962);G()}q[(a+w(b,18568)|0)+18552>>2]=c}function Fp(a,b,c,d){c=Bl(b,c,d);a:{if(c){break a}a=a+4|0;while(1){c=0;if((Lj(b,a)|0)<0){break a}c=_m(b,b,a);if(!c){continue}break}}return c}function D9(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=fj(a,1,b+12|0);a=Ej(a,2);q[c+412>>2]=q[c+412>>2]&-524289|((a|0)!=0)<<19;ti=b+16|0;return 0}function w1(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Wi(a,1,0);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(124673,124351,1025,125321);G()}return 0}function hga(a){a=a|0;var b=0,c=0;b=ti-16|0;ti=b;c=tna(q[a>>2],q[a+20>>2],b+12|0);if(!c){q[q[a+24>>2]+8>>2]=q[b+12>>2]}ti=b+16|0;return c|0}function au(a,b,c){var d=0;d=ti-16|0;ti=d;b=Rj(a,b,d+12|0,2);if(!b){b=c;c=q[d+12>>2];b=an(b,q[a>>2],c);q[a>>2]=c+q[a>>2]}ti=d+16|0;return b}function EC(a){if((a|0)<=0){a=a+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+264624>>2];break a}a=131953}return a}if((a|0)==1){return 133162}return BZ(a)}function B0(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b+8>>2]=q[q[aj(a,1)>>2]>>2];q[b+4>>2]=128672;q[b>>2]=128752;vj(a,129277,b);ti=b+16|0;return 1}function xT(a){a=a|0;q[a+8>>2]=1732584193;q[a+12>>2]=-271733879;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=-1732584194;q[a+20>>2]=271733878;return 0}function qC(a){a:{if(t[a+132>>2]>2]){break a}a=q[a+120>>2];if(pj(a+6|0,176117,3)){break a}return(pj(a+9|0,a+1|0,3)|0)!=0}return 1}function kL(a,b){var c=0,d=0;c=q[212966];if(c){while(1){d=q[c+32>>2];if(!(!d|!r[c+40|0])){xi[d|0](a,b)}c=q[c+36>>2];if(c){continue}break}}}function bo(a){pp(a,0,4,8,12);pp(a,1,5,9,13);pp(a,2,6,10,14);pp(a,3,7,11,15);pp(a,0,5,10,15);pp(a,1,6,11,12);pp(a,2,7,8,13);pp(a,3,4,9,14)}function Rua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=b-c|0;if(b){while(1){o[(c+d|0)+a|0]=b;e=e+1|0;d=e&255;if(b>>>0>d>>>0){continue}break}}}function Op(a){var b=0,c=0;b=q[81759];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002);b=aj(a,-1);Ci(a,-2);return b}function Gn(a){var b=0;a=a*a;b=a*a;return x(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function zma(a){a=a|0;var b=0;b=q[a+4>>2];if(!b){return-1e3}a:{if(o[b+156|0]&1){break a}a=q[b+144>>2];if(!a){break a}yi(a)}yi(b);return 0}function yY(a){a=a|0;var b=0,c=0;b=Dl(a,1,0,0);c=q[a+8>>2]-q[a+12>>2]>>4;if(Nx(a,b)){mo(a)}zk(a,0,-1);return(q[a+8>>2]-q[a+12>>2]>>4)-c|0}function pT(a){a=a|0;var b=0,c=0;b=pl(a,132335);b=t[b+48>>2]>2];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function lj(a,b,c,d){var e=0;e=q[a+16>>2];b=xi[q[e+12>>2]](q[e+16>>2],b,c,d)|0;if(!(b|!d)){yj(a,4)}q[e+68>>2]=q[e+68>>2]+(d-c|0);return b}function Mpa(a){var b=0,c=0;b=q[212966];if(b){while(1){c=q[b+12>>2];if(!(!c|!r[b+40|0])){xi[c|0](a)|0}b=q[b+36>>2];if(b){continue}break}}}function Kq(a){var b=0,c=0;a=q[a>>2];Ci(a,-2);c=q[81756];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);$i(a,-10002)}function qF(a,b){var c=0;c=(b|0)>0?(b|0)/1e3|0:b;b=(c|0)>0;a=hL(a,b?c:0);if((a|0)<=-1){return Sl(168400,274,q[242957])}return b?a?0:-3:0}function mX(a,b){var c=0,d=0;d=1;c=q[a+8>>2];a:{if(q[c-8>>2]!=6){break a}c=q[c-16>>2];if(r[c+6|0]){break a}d=wX(a,q[c+16>>2],b)}return d}function Uk(a,b,c){var d=0,e=0;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e|!q[a+8>>2]){break a}d=xi[q[e+20>>2]](q[a+4>>2],b,c)|0}return d}function Soa(a){var b=0,c=x(0),d=x(0),e=x(0);b=ti-16|0;ti=b;ir(b,a);ti=b+16|0;d=u[b>>2];c=u[b+4>>2];e=u[b+8>>2];c=c>e?c:e;return c>2],q[b+100>>2]);return 1}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}function Pt(a){var b=0,c=0;b=288208;c=52392;a:{while(1){if((a|0)==(c|0)){break a}c=q[b+40>>2];b=b+40|0;if(c){continue}break}b=0}return b}function Lpa(a){var b=0,c=0;b=q[212966];if(b){while(1){c=q[b+8>>2];if(!(!c|!r[b+40|0])){xi[c|0](a)|0}b=q[b+36>>2];if(b){continue}break}}}function LP(a,b,c){a=a|0;b=b|0;c=c|0;xq(q[a+68>>2]+596|0,b,c);tq(q[a+68>>2]+684|0,b,c);Rt(q[a+68>>2]+776|0,b,c);Cp(q[a+68>>2]+888|0,b,c)}function zta(a,b){var c=0,d=0;c=ti-224|0;ti=c;d=a;a=c+72|0;d=Dn(d,a,0,1);if(d){if(q[a+104>>2]!=8){Eo(a,c)}tM(a,c,b)}ti=c+224|0;return d}function xu(a,b){var c=0,d=0;c=ti-96|0;ti=c;d=-2;if(!(mq(a,c+8|0)|(q[c+20>>2]&61440)!=32768)){q[b>>2]=q[c+48>>2];d=0}ti=c+96|0;return d}function vj(a,b,c){var d=0,e=0;d=ti-16|0;ti=d;e=q[a+16>>2];if(t[e+68>>2]>=t[e+64>>2]){_l(a)}q[d+12>>2]=c;a=fu(a,b,c);ti=d+16|0;return a}function rC(a){var b=0;rx(a);yi(q[a+68>>2]);q[a+68>>2]=0;b=q[a+80>>2];if(b){Kr(b);yi(q[a+80>>2])}b=q[a+84>>2];q[a+84>>2]=0;q[a+80>>2]=b}function n_(a,b,c,d){if(a|b){while(1){c=c-1|0;o[c|0]=r[(a&15)+208144|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function nE(a,b,c){var d=0,e=0;e=a;d=b<<2;a=lj(a,0,0,d+20|0);Fq(e,a,6);q[a+12>>2]=c;o[a+6|0]=0;o[a+7|0]=b;if(b){Fi(a+20|0,0,d)}return a}function hj(a,b,c,d){var e=0,f=0;e=ti-16|0;ti=e;f=-1;if(!(!c|(!a|!b))){q[e+12>>2]=d;a=iq(a,b,c,d);f=(a|0)<(b|0)?a:-1}ti=e+16|0;return f}function TT(a){a=Fi(a,0,212);Gx(a+80|0);Gx(a+144|0);q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;a=a- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}function GZ(a){a=a|0;var b=0;Wi(a,1,0);Wi(a,2,0);Ci(a,2);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;ck(a,1140,3);return 1}function zY(a){a=a|0;var b=0;b=$D(a);a:{if((Ei(a,1)|0)==6){if(!Ip(a,1)){break a}}Qj(a,1,139e3)}Qi(a,1);Nn(a,b,1);ck(a,1057,1);return 1}function xda(a,b){a=a|0;b=b|0;var c=0;c=q[a+8>>2];a=q[a+4>>2];if(c-a>>2>>>0<=b>>>0){J(86853,86087,479,86864);G()}return q[a+(b<<2)>>2]}function mV(a){var b=0;if(a){if(a){b=q[a+60>>2];if(b){xi[q[q[q[a>>2]+28>>2]+32>>2]](b)}xi[q[68401]](a,0,64)|0}xi[q[68401]](a,0,392)|0}}function lk(a,b){var c=0,d=0;c=bl(a,1);if(!c){Fi(q[a+8>>2],0,q[a+4>>2]<<2);d=b>>31;q[q[a+8>>2]>>2]=d^b+d;q[a>>2]=(b|0)<0?-1:1}return c}function PO(a){var b=0,c=0;b=Ui(1925);if(r[a|0]){while(1){if(!Ar(a,1925,b)){return a}c=r[a+1|0];a=a+1|0;if(c){continue}break}}return 0}function LA(a,b){var c=0;c=b;b=q[a+40>>2];c=c+b|0;q[a+40>>2]=c;if(!(r[a+44|0]|t[a+36>>2]>=c>>>0)){J(23832,23863,76,23921);G()}return b}function Jt(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=q[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=q[c>>2];q[a+4>>2]=d>>>b;q[a>>2]=d<<32-b|c>>>b}function y7(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[a+12>>2]=d;q[a+8>>2]=c;q[a+4>>2]=b;if((b<<16|c)<=65536){o[a+92|0]=r[a+92|0]|2}}function lsa(a){a=a|0;var b=0,c=0;b=Xi(a,2);mj(a,1,6);a:{if(Ip(a,1)){break a}b=kX(a,b);if(!b){break a}Hi(a,b);hk(a,-2);c=2}return c|0}function kY(a){a=a|0;var b=0,c=0;Ql(a,1);Ql(a,2);c=fs(a,1,2);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function gW(a){var b=0;if(a){if(a){b=q[a+60>>2];if(b){xi[q[q[q[a>>2]+28>>2]+32>>2]](b)}xi[q[68401]](a,0,64)|0}xi[q[68401]](a,0,64)|0}}function dda(a,b){a=a|0;b=b|0;var c=0,d=0;c=4;a:{switch(b|0){case 1:c=2;case 0:d=(s[a+156>>1]&c)!=0;break;default:break a}}return d|0}function U1(a){a=a|0;var b=0,c=0,d=0;c=aj(a,1);d=aj(a,2);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)==(d|0);q[a+8>>2]=q[a+8>>2]+16;return 1}function OS(a){a=a|0;var b=0;FQ(Ym(a,132311),Eq(a,2,132609,264960));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function IX(a){var b=0,c=0;b=q[a+36>>2]+3|0;c=q[a>>2];if((b|0)>r[c+75|0]){if((b|0)>=250){Dj(q[a+12>>2],136502);c=q[a>>2]}o[c+75|0]=b}}function GC(a,b){a=Kc(a|0,4,2)|0;q[b>>2]=a;if(a){a=0}else{if(q[242950]){return q[242950]}if(!q[242957]){return-3}a=q[242957]}return a}function wq(a,b,c){var d=0;d=ti-32|0;ti=d;q[d+16>>2]=1;q[d+20>>2]=1;q[d+12>>2]=c;q[d+24>>2]=d+12;a=Fk(a,b,d+16|0);ti=d+32|0;return a}function uaa(a){a=a|0;var b=0,c=0;c=q[fj(a,1,0)+412>>2]>>>18&1;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function p3(a){q[81771]=0;q[81772]=0;q[81770]=804;q[81769]=805;q[81768]=806;q[81773]=0;q[81774]=0;q[81775]=0;q[81776]=0;xy(a,327072)}function fM(a,b,c,d,e,f,g,h,i){d=$V(a,d,b);a:{if(d){break a}d=_V(a,e,f);if(d){break a}d=JD(a,c,g,h);if(d){break a}d=cW(a,i)}return d}function Oi(a){a=a|0;var b=0;a=a?a:1;a:{while(1){b=Ji(a);if(b){break a}b=q[243034];if(b){xi[b|0]();continue}break}G();G()}return b|0}function Ij(a,b,c){if(!(!a|!q[a>>2])){q[a+208>>2]=21;q[a+212>>2]=2;o[q[a+204>>2]]=b;o[q[a+204>>2]+1|0]=c;return Ot(a,1)}return-28928}function Iha(a){a=a|0;var b=0;b=Oi(4);q[b>>2]=0;if(Cj(q[a+12>>2],q[a+16>>2],245656,b)){yi(b);return-13}q[q[a+24>>2]+8>>2]=b;return 0}function mta(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){mt(a,b,(c+1|0)==(b|0),11)}}q[a+4>>2]=b}}function hfa(a,b,c){var d=0;d=q[a+128>>2];a=q[a+124>>2];if(d-a>>>0<=b>>>0){J(50672,50529,479,50661);G()}a=a+b|0;o[a|0]=r[a|0]&254|c}function Y8(a){a=a|0;var b=0;b=ti-16|0;ti=b;fj(a,1,b+12|0);q[b+4>>2]=Wi(a,2,0);q[b>>2]=196720;a=Bi(a,198735,b);ti=b+16|0;return a|0}function X5(a){var b=0;b=ti-16|0;ti=b;q[b+8>>2]=0;q[b+4>>2]=1;q[b>>2]=a;a=q[a+304>>2];Up(q[a+2392>>2],q[a+2396>>2],741,b);ti=b+16|0}function My(a,b){var c=0;c=ti-16|0;ti=c;a:{if((Ei(a,b)|0)==1){a=Ej(a,b);break a}q[c>>2]=b;a=Bi(a,118435,c)}ti=c+16|0;return(a|0)!=0}function Kt(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=q[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=q[c>>2];q[a>>2]=d<>2]=c<>>32-b}function uQ(a,b){a=a|0;b=b|0;var c=0;c=ti-112|0;ti=c;Qr(c);ux(c,q[a+68>>2]+776|0);St(c,b);if(c){xi[q[68401]](c,0,108)|0}ti=c+112|0}function ofa(a,b){var c=0;c=ti-16|0;ti=c;q[77107]=b;q[77106]=a;q[c+12>>2]=b;q[c+8>>2]=a;q[c+4>>2]=2;q[c>>2]=308416;eA(c);ti=c+16|0}function jea(){var a=0,b=0;a=q[77547];if(a){b=q[a+48>>2];if(!b){return 1}return xi[b|0](q[a+52>>2])|0}J(85843,84160,575,85868);G()}function dV(a,b){var c=0;c=ti-32|0;ti=c;q[c+20>>2]=1;q[c+16>>2]=1;q[c+12>>2]=1;q[c+24>>2]=c+12;a=Bl(a,b,c+16|0);ti=c+32|0;return a}function Yta(a,b){var c=0;o[a+3|0]=255;c=b&31;o[a+2|0]=c<<3|c>>>2;c=b>>>5&31;o[a+1|0]=c<<3|c>>>2;c=a;a=b>>>10&31;o[c|0]=a<<3|a>>>2}function Xj(){var a=0,b=0;a=ti-16|0;ti=a;q[a+12>>2]=0;q[a+4>>2]=862440;q[a>>2]=862440;q[a+8>>2]=862441;b=tva(a);ti=a+16|0;return b}function OU(a,b){a:{if(wx(a)){break a}if(PU(b)){break a}if(Lj(a+8|0,b+8|0)){break a}return Lj(a+20|0,b+20|0)?-16896:0}return-16896}function O1(a){a=a|0;var b=0,c=0;b=ti-32|0;ti=b;c=Zi(b+8|0,a,1,124351,1295);Lq(a,Wi(a,1,b+4|0),q[b+4>>2]);Yi(c);ti=b+32|0;return 1}function Iaa(a){a=a|0;var b=0,c=0;c=q[fj(a,1,0)+412>>2]>>>19|0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=c&1;q[a+8>>2]=q[a+8>>2]+16;return 1}function I$(a,b){var c=0,d=0;if(a){c=q[242957];b=al(b);d=Ui(b);q[242957]=c;c=a;a=d+1|0;a=a>>>0>128?128:a;o[(Gi(c,b,a)+a|0)-1|0]=0}}function Gfa(a){a=a|0;a=q[a>>2];if(q[a+156>>2]!=q[q[a+4>>2]+24>>2]){if(!iK(a)){Ai(3,57078,57373,0)}q[a+156>>2]=q[q[a+4>>2]+24>>2]}}function pl(a,b){var c=0,d=0;c=ti+ -64|0;ti=c;d=Bua(a,b);if(!d){q[c>>2]=b;Zm(c+16|0,131527,c);Qj(a,1,c+16|0)}ti=c- -64|0;return d}function j$(a,b,c,d,e,f,g){var h=0;if(!q[a+88>>2]){return-20352}h=a+136|0;f=l$(a,a+124|0,h,f,g);if(!f){f=tV(a,h,c,b,d,e)}return f}function fU(a){var b=0,c=0;b=-28928;a:{if(!a){break a}c=q[a>>2];if(!c){break a}b=-28800;if(o[c+184|0]&1){break a}b=gU(a)}return b}function en(a){a:{if(!a|!q[a>>2]|(q[a+4>>2]==-2|q[a+8>>2]==-2)){break a}if(q[a+12>>2]==-2){break a}return q[a+16>>2]!=-2}return 0}function FC(a,b){a=Jc(a|0)|0;q[b>>2]=a;if(a){a=0}else{if(q[242950]){return q[242950]}if(!q[242957]){return-3}a=q[242957]}return a}function m3(a){q[81783]=0;q[81784]=0;q[81782]=818;q[81785]=0;q[81786]=0;q[81787]=0;q[81788]=0;q[81789]=0;q[81790]=0;xy(a,327128)}function lra(a){a=a|0;var b=0;b=Xi(a,1);if(!((b|0)==1&r[915868]!=0)){Bi(a,203030,0)}Hi(a,(b|0)!=1?0:r[915868]?933476:0);return 1}function _aa(a){a=a|0;var b=0,c=0;c=q[fj(a,1,0)+412>>2]&15;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Ym(a,b){var c=0,d=0;c=ti+ -64|0;ti=c;d=rm(a,b);if(!d){q[c>>2]=b;Zm(c+16|0,131527,c);Qj(a,1,c+16|0)}ti=c- -64|0;return d}function WC(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e+12>>2]=1;q[e>>2]=1;q[e+4>>2]=1;q[e+8>>2]=e+12;a=io(a,e,b,c,d);ti=e+16|0;return a}function Si(a){var b=0;if(a){b=q[a+8>>2];if(b){xi[q[68401]](b,0,q[a+4>>2]<<2)|0;yi(q[a+8>>2])}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0}}function MW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c/.017453292519943295;q[a+8>>2]=q[a+8>>2]+16;return 1}function Cca(a,b){a=a|0;b=b|0;if(!a){J(84152,84160,3620,88450);G()}nc(q[(b<<2)+88472>>2]);p[a+80>>1]=s[a+80>>1]&63487|b<<11&2048}function Bda(a,b){a=a|0;b=b|0;var c=0;c=q[b+76>>2];q[a>>2]=q[b+72>>2];q[a+4>>2]=c;c=q[b+84>>2];q[a+8>>2]=q[b+80>>2];q[a+12>>2]=c}function AW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c*.017453292519943295;q[a+8>>2]=q[a+8>>2]+16;return 1}function t8(a,b){var c=0;c=ti-16|0;ti=c;if(a){o[A$(b&65535,c+11|0)+(c+11|0)|0]=0;q[a+3184>>2]=Bk(a+2928|0,c+11|0,256)}ti=c+16|0}function sM(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){pM(a,b,(c+1|0)==(b|0))}}q[a+4>>2]=b}}function nqa(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(!r[a+4|0]){return-15}_h(q[a>>2],b|0,c|0);return 0}J(207481,207439,67,207502);G()}function iea(a){a=a|0;var b=0,c=0;b=q[77547];if(b){c=q[b+56>>2];if(c){xi[c|0](q[b+60>>2],a)}return}J(85843,84160,584,85882);G()}function hea(a){a=a|0;var b=0,c=0;b=q[77547];if(b){c=q[b+64>>2];if(c){xi[c|0](q[b+68>>2],a)}return}J(85843,84160,591,85896);G()}function cY(a){a=a|0;var b=0,c=0;Ql(a,1);c=a;a=Ei(a,1);b=135271;a:{if((a|0)==-1){break a}b=q[(a<<2)+267792>>2]}Hi(c,b);return 1}function bA(a){var b=0;b=q[a+4>>2];if(b){xi[b|0](q[a>>2]);b=q[a+8>>2];if(b){xi[b|0](q[a>>2])}return}J(89872,89883,24,89922);G()}function aba(a){a=a|0;var b=0,c=0;c=s[fj(a,1,0)+414>>1]&3;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function XS(a){a=a|0;var b=0,c=0;c=pl(a,132335);b=Ri(a,2);a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}q[c>>2]=a;return 0}function WS(a){a=a|0;var b=0,c=0;c=pl(a,132701);b=Ri(a,2);a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}q[c>>2]=a;return 0}function no(a,b,c){var d=0;d=q[a+52>>2];b=Jj(d,b,c);a=ns(d,q[q[a+48>>2]+4>>2],b);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}return b}function fD(a,b,c,d){var e=0;e=ti-112|0;ti=e;Qr(e);Pr(e,d);Rt(e,a,b);St(e,c);if(e){xi[q[68401]](e,0,108)|0}ti=e+112|0;return 0}function b6(a){q[a+2024>>2]=q[a+2020>>2];c6(a);q[a+1968>>2]=q[a+1964>>2];q[a+1984>>2]=q[a+1980>>2];a=a+2e3|0;q[a>>2]=q[a>>2]+1}function Z8(a){a=a|0;var b=0;b=ti-16|0;ti=b;fj(a,1,0);q[b+4>>2]=Wi(a,2,0);q[b>>2]=196720;a=Bi(a,198694,b);ti=b+16|0;return a|0}function Yaa(a){a=a|0;var b=0,c=0;c=r[fj(a,1,0)+415|0]&3;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function VU(a,b){var c=0;c=-16e3;if(!(q[a>>2]|!b)){c=xi[q[b+36>>2]]()|0;q[a+4>>2]=c;if(!c){return-16256}q[a>>2]=b;c=0}return c}function Tj(a){var b=0;b=Nv(a);a:{if(b){break a}b=Rz(a);if(b){b=q[q[b+344>>2]+12>>2];if(b){break a}}b=0;Bi(a,53668,0)}return b}function Sw(a){var b=0;a:{if(!a){break a}b=q[a+580>>2];if(!b){break a}q[a+524>>2]=q[a+524>>2]-q[a+584>>2];yi(b);q[a+580>>2]=0}}function Ska(a,b){var c=0;c=q[a+224>>2];a=q[a+220>>2];if(c-a>>2>>>0<=b>>>0){J(46656,46296,479,46535);G()}return q[a+(b<<2)>>2]}function Nr(a){var b=0;b=-28928;if(!(!a|!q[a>>2])){while(1){if(q[a+4>>2]==16){return 0}b=fU(a);if(!b){continue}break}}return b}function Ht(a){var b=0,c=0;b=ti-32|0;ti=b;c=q[a>>2];q[b+16>>2]=0;c=Ll(c,3,b+16|0);a=q[a>>2];q[b>>2]=c|2048;Ll(a,4,b);ti=b+32|0}function uoa(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];ip(b,q[a>>2]+1064|0);a=q[a>>2];o[a+3272|0]=r[a+3272|0]|2;return 0}function tY(a){a=a|0;var b=0;mj(a,1,5);Qi(a,-10003);Qi(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;return 3}function pba(a){a=a|0;var b=0;b=aj(a,1);if(!b){J(198514,196298,195,198516);G()}bj(a,-1e4,q[b+4>>2]);Qi(a,2);Sj(a,-2);return 1}function iw(a,b,c){if(!(c?!b:0)){q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=b;q[a+4>>2]=b;q[a>>2]=c;q[a+12>>2]=b+c}return!c|(b|0)!=0}function Ln(a,b,c){var d=0,e=0;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}d=xi[q[e+20>>2]](q[a+4>>2],b,c)|0}return d}function Ix(a){var b=0;b=q[a+8>>2]-16|0;a=0;a:{if(q[b+8>>2]!=6){break a}b=q[b>>2];if(!r[b+6|0]){break a}a=q[b+16>>2]}return a}function fra(a){a=a|0;var b=0;b=Xi(a,1);if(!((b|0)==1&r[915868]!=0)){Bi(a,203030,0)}if((b|0)==1){Fi(915868,0,50376)}return 0}function f0(a){var b=0;b=q[q[242116]+16>>2];if(!b){o[a+60|0]=r[a+60|0]|4;return 0}wj(b);o[a+60|0]=r[a+60|0]|4;qj(b);return 0}function c1(a){a=a|0;var b=0;b=ti-80|0;ti=b;q[b+4>>2]=vs(aj(a,1),b+16|0,64);q[b>>2]=123208;vj(a,123808,b);ti=b+80|0;return 1}function _U(a,b,c){a=a-3|0;if(a>>>0<=5){a=a<<2;q[b>>2]=q[a+274860>>2];q[c>>2]=q[q[a+274884>>2]+4>>2];a=0}else{a=-46}return a}function Rj(a,b,c,d){var e=0;e=q[a>>2];if((b-e|0)<1){return-96}if(r[e|0]==(d|0)){q[a>>2]=e+1;a=zq(a,b,c)}else{a=-98}return a}function MX(a,b){var c=0;c=q[b+16>>2];if((c|0)!=137304){lj(a,c,32<>2],q[b+28>>2]<<4,0);lj(a,b,32,0)}function JC(a,b){var c=0;a:{if(b){c=(a<<2)+971992|0;a=kva(a,b);q[c>>2]=a;break a}a=q[(a<<2)+971992>>2]}return a?a+8|0:213952}function FM(a){if((a|0)>=21){J(94940,92069,11364,94978);G()}a=w(a,12)+94688|0;return(q[a+4>>2]<<1|1)+(q[a+8>>2]<<2)<>2]}function Du(a,b,c,d){q[d>>2]=0;a=Lt(a,b,c);if((a|0)<=-1){a=Sl(168496,104,q[242957]);return(a|0)==-27?-3:a}q[d>>2]=a;return 0}function Cu(a,b,c,d){q[d>>2]=0;a=$w(a,b,c);if((a|0)<=-1){a=Sl(168496,104,q[242957]);return(a|0)==-27?-3:a}q[d>>2]=a;return 0}function yG(a){var b=0,c=0;b=q[a+20>>2];c=q[a+28>>2];return((xi[q[77506]](q[a>>2],q[a+4>>2])|0)+w((c-b|0)/80|0,68)|0)+152|0}function tV(a,b,c,d,e,f){if(!f){return-20352}a=wV(a,b,c,d,e+1|0,f-1|0);if(!a){o[e|0]=q[d>>2];q[d>>2]=q[d>>2]+1;a=0}return a}function sD(a,b,c,d,e,f,g,h,i,j,k){a:{b=lV(a,b,d,e,f,g);if(b){break a}b=qD(a,c,h,i);if(b){break a}return nV(a,k,j)}return b}function o6(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=0;b=Cj(b,c,q[67884],d+12|0);if(!b){PG(a,q[d+12>>2])}ti=d+16|0;return!b}function mA(a,b,c,d,e){a=q[a+156>>2];q[b>>2]=q[a+36>>2];q[c>>2]=q[a+40>>2];q[d>>2]=q[a+28>>2];q[e>>2]=q[a+32>>2]&2147483647}function g3(a){q[212900]=856;q[212899]=857;q[212898]=0;q[212897]=858;q[212896]=859;q[212895]=860;q[212892]=861;xy(a,851568)}function f9(a){a=a|0;var b=0;Ti(a);Li(a,-1,q[216371],198335);Ci(a,-2);b=Xi(a,1);mj(a,2,1);a=Ej(a,2);Z7(b,(a|0)!=0);return 0}function _na(a){a=a|0;var b=0;b=aj(a,1);if(!b){J(18947,15841,248,18949);G()}bj(a,-1e4,q[b+16>>2]);Qi(a,2);Sj(a,-2);return 1}function G0(a){a=a|0;var b=0;a=q[aj(a,1)>>2];if(a){a:{if(q[a>>2]<1){break a}b=q[a+4>>2];if(!b){break a}yi(b)}yi(a)}return 0}function xfa(a){var b=0,c=0;b=ti-32|0;ti=b;a=q[a>>2];c=Zi(b+8|0,a,0,66167,396);ik(a,66207,244288);Ci(a,-2);Yi(c);ti=b+32|0}function rY(a){a=a|0;var b=0;if(Nx(a,Dl(a,1,0,0))){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;hk(a,-2);a=2}else{a=1}return a|0}function _R(a){a=a|0;var b=0,c=0;c=cb(Dl(a,1,0,0)|0)|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Pia(a,b,c){a=a|0;b=b|0;c=c|0;a=q[q[a+344>>2]+12>>2];if(c){a=at(a,b,c);return a|0}wi=q[a+100>>2];return q[a+96>>2]}function E0(a){a=a|0;var b=0,c=0;c=q[q[aj(a,1)>>2]>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function zua(a,b){var c=0;c=q[a+12>>2];q[a+12>>2]=c+1;q[ol(a,c)>>2]=b;if(q[a+4>>2]==q[a+12>>2]){q[a+12>>2]=q[a+4>>2]>>>1}}function xC(a){var b=0;a:{if(!q[a+136>>2]|!q[a+140>>2]){break a}if(q[a+128>>2]){b=1;if(q[a+132>>2]){break a}}b=0}return b}function tR(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;q[f>>2]=q[a+4>>2];return GU(a,g,h,b,d,c,e)|0}function qca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=s[a+192>>1];if(d>>>0>b>>>0){p[(w(b,24)+a|0)+14>>1]=c}return b>>>0>>0|0}function oY(a){a=a|0;var b=0;mj(a,1,5);Ci(a,2);if(rj(a,1)){a=2}else{b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a=1}return a|0}function mn(a){var b=0;if(!(a&32768)){J(104800,92069,3348,104816);G()}b=a&30;return(b+(a>>>5&31)|0)+(a>>>10&31)+(b>>>4)|0}function lT(a){a=a|0;var b=0,c=0;c=q[pl(a,132335)>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function kT(a){a=a|0;var b=0,c=0;c=q[pl(a,132701)>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Via(a,b,c,d){var e=0;e=q[a+100>>2];a=q[a+156>>2];return s[e+(w(w(q[a+32>>2],b)+d|0,q[a+28>>2])+c<<1)>>1]+1&65535}function QW(a){a=a|0;var b=0,c=0;c=Dua(Ri(a,1),Ri(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function IR(a,b){a=a|0;b=b|0;var c=0;c=b;b=q[b>>2]+15&-16;q[c>>2]=b+16;v[a>>3]=kB(q[b>>2],q[b+4>>2],q[b+8>>2],q[b+12>>2])}function G$(a){var b=0;b=ti-96|0;ti=b;a:{if(mq(a,b+8|0)){a=Bu(q[242957]);break a}a=r[b+21|0]&64?0:-1e3}ti=b+96|0;return a}function EY(a){a=a|0;var b=0;b=$D(a);a:{if((Ei(a,1)|0)==6){if(!Ip(a,1)){break a}}Qj(a,1,139e3)}Qi(a,1);Nn(a,b,1);return 1}function Aj(a,b,c){var d=0;if((c|0)!=-2){d=q[81758];if((d|0)<=0){Ai(4,117469,117938,0);d=q[81758]}q[81758]=d-1;oo(a,b,c)}}function rla(a){a=a|0;var b=0;a=q[a+4>>2];if(a){a:{if(o[a+12|0]&1){break a}b=q[a>>2];if(!b){break a}yi(b)}yi(a)}return 0}function g6(a){var b=0,c=0;a:{b=q[a>>2];if(b){while(1){c=q[b+4>>2];yi(b);b=c;if(b){continue}break}if(!a){break a}}yi(a)}}function dQ(a,b){if(!(q[a+20>>2]?!(b|!(r[q[a>>2]+185|0]&4)):0)){Ij(a,2,40);return-31104}q[q[a+68>>2]+2272>>2]=1;return 0}function cja(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if(c-a>>2>>>0<=b>>>0){J(43300,43092,479,43311);G()}return q[a+(b<<2)>>2]}function TZ(a){a=a|0;var b=0,c=0;mj(a,1,5);c=Mk(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Lha(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){cj(b)}q[a>>2]=0;b=q[a+4>>2];if(b){Uv(b)}yi(a);return 0}function JW(a){a=a|0;var b=0,c=0;c=q_(Ri(a,1),Ri(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function Io(a){var b=0,c=0;b=ti-16|0;ti=b;c=(a>>>0)/1e6|0;q[b+8>>2]=c;q[b+12>>2]=w(a-w(c,1e6)|0,1e3);ix(b+8|0);ti=b+16|0}function HW(a){a=a|0;var b=0,c=0;c=Vx(Ri(a,1),Xi(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function EQ(a){a=a|0;var b=0;mj(a,1,5);b=Mk(a,1);Ro(a,40,140058);if((Ei(a,2)|0)>=1){mj(a,2,6)}Ci(a,2);HM(a,1,b);return 0}function Bua(a,b){var c=0;a:{if(!Kl(a,1)){break a}Hi(a,b);Vk(a,-2);b=Ei(a,-1);Ci(a,-3);if(!b){break a}c=aj(a,1)}return c}function BW(a){a=a|0;var b=0,c=0;c=yp(Ri(a,1),Ri(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function v6(a,b){a=q[a+16>>2];if(t[a+4>>2]<=b>>>0){J(145920,145932,261,145962);G()}return q[(q[a>>2]+w(b,144)|0)+56>>2]}function t6(a,b){a=q[a+16>>2];if(t[a+4>>2]<=b>>>0){J(145920,145932,261,145962);G()}return q[(q[a>>2]+w(b,144)|0)+48>>2]}function eQ(a,b){if(!(q[a+20>>2]?!(b|!(r[q[a>>2]+185|0]&2)):0)){Ij(a,2,40);return-31104}q[q[a+64>>2]+124>>2]=1;return 0}function _k(a,b){var c=0;c=ti-16|0;ti=c;Rta(c+8|0,a,b);ti=c+16|0;return r[c+11|0]+(r[c+10|0]+(r[c+8|0]+r[c+9|0]|0)|0)|0}function ZP(a,b,c){b=HV(q[a+68>>2]+8|0,b,c);if(!b){return t[q[a>>2]+176>>2]>q[q[a+68>>2]+8>>2]<<3>>>0?-31488:0}return b}function Bsa(){var a=0;a=Vj(1,132);if(a){xi[q[68401]](a,0,64)|0;xi[q[68401]](a- -64|0,0,64)|0;q[a+128>>2]=64}return a|0}function wp(a,b,c){if(Ei(a,2)){Qi(a,2);Qi(a,b-1|0);Qi(a,c-2|0);zk(a,2,1);b=Ej(a,-1);Ci(a,-2);return b}return jX(a,b,c)}function q0(a){var b=0;b=q[q[242116]+16>>2];if(!b){return(oy(a)|0)==-1?-12:0}wj(b);a=oy(a);qj(b);return(a|0)==-1?-12:0}function o_(a,b,c){if(a|b){while(1){c=c-1|0;o[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function kha(a,b){var c=0;c=Oi(12);q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;a=Jk(a);o[c+8|0]=3;q[c+4>>2]=a;q[b>>2]=c;return 0}function jva(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=r[d|0]){continue}break}return d}function jl(a,b){var c=0;c=jj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];Ki(a,-1e4,128688);ij(a,-2)}function jk(a){var b=0,c=0;c=q[81756];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;hk(a,-2);$i(a,-10002)}function K3(a,b,c){a=a|0;b=b|0;c=c|0;q[a+24>>2]=pk();q[a+28>>2]=wi;q[a+40>>2]=c;q[a+44>>2]=0;q[a+32>>2]=b;q[a+36>>2]=0}function lp(a,b){q[a>>2]=4;u[a+8>>2]=u[b>>2];u[a+12>>2]=u[b+4>>2];u[a+16>>2]=u[b+8>>2];u[a+20>>2]=u[b+12>>2];return a}function lD(a){var b=0;b=q[a>>2];if(b){xi[q[68401]](b,0,q[a+4>>2])|0;yi(q[a>>2])}yi(q[a+8>>2]);xi[q[68401]](a,0,12)|0}function gD(a,b,c){var d=0,e=0;if(c){while(1){e=r[b+d|0]^r[a+d|0]|e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}return e}function coa(a){a=a|0;var b=0,c=0;c=q[aj(a,1)+4>>2];b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function _y(a,b){var c=0;c=Oi(32);p[c+24>>1]=0;q[c+16>>2]=0;q[c+20>>2]=-1;q[c+8>>2]=a;q[c+12>>2]=b;q[c>>2]=0;return c}function Mma(a){a=a|0;var b=0;a=q[q[a+16>>2]>>2];b=q[a+56>>2];if(b&65536){q[a+56>>2]=b&-65537;bt(q[a+36>>2])}return 0}function MR(a,b){var c=0;c=ti-128|0;ti=c;cs(c);a=OR(q[a+4>>2],q[a+8>>2],c);if(!a){a=NR(c,b)}Mn(c);ti=c+128|0;return a}function Kna(a){a=a|0;var b=0,c=x(0);c=Soa(Hm(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function J_(a,b){var c=0,d=0;d=b+24|0;c=jo(d,d,a+4|0);a:{if(c){break a}c=Pj(a,b,b,d);if(c){break a}c=lk(d,1)}return c}function Ffa(a){a=a|0;var b=0;b=q[a>>2];a=q[a+4>>2];if(q[b+16>>2]==q[a>>2]&q[a+4>>2]==q[b+20>>2]){Qu(q[b+24>>2],3,0)}}function Dt(a,b){var c=0,d=0;c=ti-16|0;ti=c;NO(c,a,b);d=kB(q[c>>2],q[c+4>>2],q[c+8>>2],q[c+12>>2]);ti=c+16|0;return d}function $ta(a,b){var c=0;o[a+3|0]=255;c=b&15;o[a+2|0]=c<<4|c;c=b>>>4&15;o[a+1|0]=c<<4|c;c=a;a=b>>>8&15;o[c|0]=a<<4|a}function zR(a,b){a=a|0;b=b|0;q[b+12>>2]=1;q[b>>2]=1;q[b+20>>2]=a+20;q[b+16>>2]=155551;q[b+8>>2]=a+8;q[b+4>>2]=155545}function v_(a){a=a|0;var b=0,c=0,d=0;d=a;c=rm(a,140233);b=q[c>>2];if(!b){Bi(a,140305,0);b=q[c>>2]}return NE(d,b,2)|0}function s_(a){a=a|0;var b=0,c=0,d=0;d=a;c=rm(a,140233);b=q[c>>2];if(!b){Bi(a,140305,0);b=q[c>>2]}return ME(d,b,2)|0}function r0(a){var b=0;b=ti-16|0;ti=b;q[b+12>>2]=1;if((yl(a,6,1,b+12|0,4)|0)<=-1){Sl(168496,220,q[242957])}ti=b+16|0}function Vma(a){var b=0;if(o[a+24|0]&1){a=1}else{b=q[a+4>>2];if(!b){b=q[a>>2]}a=(q[b+16>>2]!=q[b+12>>2])<<1}return a}function VX(a,b){qo(b,q[b+32>>2]);lj(a,q[b+40>>2],w(q[b+48>>2],24),0);lj(a,q[b+32>>2],q[b+44>>2]<<4,0);lj(a,b,120,0)}function AC(a){var b=0;b=q[a+68>>2];if(b){Sw(b);go(q[a+68>>2],0);go(q[a+68>>2],1);go(q[a+68>>2],2);go(q[a+68>>2],3)}}function $G(a){a=a|0;var b=0,c=0;b=ti-80|0;ti=b;a=Zi(b+56|0,a,0,74700,85);c=sj(a,74754,0);Yi(a);ti=b+80|0;return c|0}function s0(a,b){a=HC(q[(a<<2)+168908>>2],1,6);q[b>>2]=a;if((a|0)<=-1){a=Sl(168496,213,q[242957])}else{a=0}return a}function n5(a){a=a|0;var b=0,c=0;c=aj(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function kD(a){var b=0,c=0;a:{if(!a){break a}b=q[a>>2];if(!b){break a}c=xi[q[b+8>>2]](q[a+4>>2])|0}return c+7>>>3|0}function ida(a,b){a=a|0;b=b|0;if(a){if(r[a+156|0]&32){a=Eb(b|0)|0}else{a=0}return a|0}J(84152,84160,1382,86964);G()}function i0(a){var b=0;b=q[q[242116]+16>>2];a:{if(!b){a=r[a+60|0];break a}wj(b);a=r[a+60|0];qj(b)}return(a&4)>>>2|0}function ZL(a,b,c,d,e,f,g,h,i){q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Wj(){var a=0;a=ti-16|0;ti=a;q[a+12>>2]=0;q[a+4>>2]=862440;q[a>>2]=862440;q[a+8>>2]=862441;sva(a);ti=a+16|0}function TR(a){a=a|0;var b=0;b=ti-32|0;ti=b;a:{if(!AO(b)){a=Bi(a,140876,0);break a}Hi(a,b);a=1}ti=b+32|0;return a|0}function QX(a,b){if(q[b+8>>2]!=(b+16|0)){q[q[b+20>>2]+16>>2]=q[b+16>>2];q[q[b+16>>2]+20>>2]=q[b+20>>2]}lj(a,b,32,0)}function yua(a,b){var c=0,d=0,e=0;if(b){c=b>>>1|0;d=q[ol(a,c)>>2];e=q[ol(a,b)>>2];q[ol(a,c)>>2]=e;q[ol(a,b)>>2]=d}}function sJ(a){var b=x(0);b=x(C(HY(x(a>>>0))));a:{if(b=x(0)){a=~~b>>>0;break a}a=0}return a+1&255}function rV(a){var b=0;b=a+8|0;if(b){xi[q[68401]](b,0,216)|0}q[a+224>>2]=0;xi[q[68401]](a+228|0,0,400)|0;q[a>>2]=0}function o0(){var a=0,b=0;b=q[242116];a=q[b+33924>>2];if((a|0)==-1){q[b+33924>>2]=0;a=0}q[b+33924>>2]=a+1;return a}function lo(a,b){var c=0;c=gk(a,b);a:{if(c){break a}c=gk(a+12|0,b+12|0);if(c){break a}c=gk(a+24|0,b+24|0)}return c}function eq(a,b,c){Ki(a,-1e4,b);Hi(a,c);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;tj(a,-3);Ci(a,-2)}function bea(a,b){a=a|0;b=b|0;ra(q[b>>2]);if(b){a:{if(o[b+16|0]&1){break a}a=q[b+4>>2];if(!a){break a}yi(a)}yi(b)}}function bS(a){a=a|0;var b=0,c=0;c=+(ci()|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c/1e6;q[a+8>>2]=q[a+8>>2]+16;return 1}function S$(a){a=a|0;var b=0;a=q[a+12>>2];b=-1;a:{if(!q[a+1076>>2]){break a}b=q[a+1072>>2]}a=b;wi=a>>31;return a|0}function Cga(a){a=a|0;var b=0;b=q[q[a+8>>2]+8>>2];if(!b){J(58290,58333,130,58377);G()}iA(q[a>>2],b);UG(b);return 0}function sU(a){a:{if(!a|!q[a>>2]){break a}if(q[a+216>>2]){Bp(a);return}if(q[a+4>>2]==16){if(Ij(a,1,0)){break a}}}}function pla(a){a=a|0;var b=0;b=Oi(16);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[q[a+12>>2]>>2]=b;return 0}function hz(a){Fi(q[a>>2],255,q[a+4>>2]<<2);q[a+20>>2]=-1;q[a+24>>2]=0;q[a+12>>2]=q[a+8>>2];q[a+36>>2]=q[a+32>>2]}function TW(a){a=a|0;var b=0,c=0;c=Tua(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function SW(a){a=a|0;var b=0,c=0;c=Fua(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function NW(a){a=a|0;var b=0,c=0;c=usa(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function Kca(a,b,c){a=a|0;b=b|0;c=c|0;if(xi[c|0](a)|0){while(1){Ha(b|0,a|0,0,1);if(xi[c|0](a)|0){continue}break}}}function xW(a){a=a|0;var b=0,c=0;c=oq(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function wY(a){a=a|0;var b=0,c=0;c=cu(a,3,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function wW(a){a=a|0;var b=0,c=0;c=OQ(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function uY(a){a=a|0;var b=0;Ql(a,1);if(!Kl(a,1)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}fE(a);return 1}function uW(a){a=a|0;var b=0,c=0;c=MO(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function tW(a){a=a|0;var b=0,c=0;c=LO(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function lha(a){a=a|0;var b=0,c=0;b=q[q[a+8>>2]+8>>2];c=q[b>>2];if(c){Pi(q[a>>2],c)}yi(q[b+4>>2]);yi(b);return 0}function Z7(a,b){var c=0;c=ti-16|0;ti=c;if(a>>>0>=4){q[c>>2]=a;Ai(3,142970,143659,c);a=0}Na(1,a|0,b|0);ti=c+16|0}function Z5(a){if(!a){return}q[a+2012>>2]=0;Jy(q[a+2036>>2]);V5(a);U5(a);Rm(q[a+2392>>2],q[a+2396>>2]);yi(E5(a))}function UK(a,b){var c=0;Ti(a);c=Li(a,-1,q[74377],18676);Ci(a,-2);wl(a,1,q[q[q[c+4>>2]+80>>2]+8>>2],66353,b,0,0)}function RW(a){a=a|0;var b=0,c=0;c=gB(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function OW(a){a=a|0;var b=0,c=0;c=Zv(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function LW(a){a=a|0;var b=0,c=0;c=wu(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function GW(a){a=a|0;var b=0,c=0;c=sE(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function FW(a){a=a|0;var b=0,c=0;c=IY(Ri(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function xY(a){a=a|0;var b=0;b=hm(a,2,1);Ci(a,1);if(!(!ek(a,1)|(b|0)<1)){js(a,b);Qi(a,1);Ol(a,2)}return mo(a)|0}function vW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=F(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function sT(a){a=a|0;var b=0;Fr(pl(a,132335));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function rva(a){var b=0;a:{a=q[a+8>>2];b=r[a|0];if((b|0)!=1){if(b&2){break a}o[a|0]=2;a=1}else{a=0}return a}G()}function rT(a){a=a|0;var b=0;Fr(pl(a,132701));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function fE(a){if(Kl(a,1)){Hi(a,138601);Vk(a,-2);if(!Ei(a,-1)){Ci(a,-3);return 0}Xk(a,-2);a=1}else{a=0}return a}function d8(a,b){var c=0;if(!(!b|q[a+2412>>2]>-1)){Gi(b,a+2928|0,260);o[a+2928|0]=0;q[a+3184>>2]=0;c=1}return c}function UW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=y(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function PW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=D(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function KW(a){a=a|0;var b=0,c=0;c=Ri(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=C(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function sv(a,b,c){if((c|0)==2097152|c>>>0>2097152){J(83836,83473,1043,83875);G()}return xi[q[77527]](a,b,c)|0}function pfa(a){var b=0;b=ti-16|0;ti=b;q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=a?3:4;q[b>>2]=308416;eA(b);ti=b+16|0}function Lca(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(r[a+156|0]&32){Oa(b|0,c|0)}return}J(84152,84160,1462,87127);G()}function vna(a){var b=0,c=0;b=ti-16|0;ti=b;c=q[a>>2];q[b+8>>2]=a;a=a+28568|0;ww(a,a+(c<<1)|0,b+8|0);ti=b+16|0}function ija(a,b){if(o[b+141|0]&1){q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function XE(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=CV(a,c,d,e,f);return((a|0)==-19456?-14592:a)|0}function Tv(a){var b=0;b=q[a+8>>2];a=q[a+4>>2];if(b>>>0>a>>>0){J(22867,22886,86,22967);G()}return(a|0)==(b|0)}function Ti(a){var b=0,c=0;c=q[81756];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002)}function TP(a,b){if(!(q[q[a>>2]+184>>2]&32768?!b:0)){Ij(a,2,40);return-31104}q[q[a+68>>2]+2268>>2]=1;return 0}function Nsa(a,b){a=a|0;b=b|0;if(q[q[a+16>>2]+48>>2]){while(1){lN(a);if(q[q[a+16>>2]+48>>2]){continue}break}}}function KA(a){a=a-1|0;if(!(a>>>0>=18|!(258303>>>a&1))){return q[(a<<2)+23036>>2]}J(22971,22997,52,23021);G()}function tva(a){var b=0,c=0;b=ti-16|0;ti=b;q[b+8>>2]=q[a+4>>2];if(!r[q[b+8>>2]]){c=rva(a)}ti=b+16|0;return c}function r6(a){var b=0;b=Oi(20);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;PG(b,a);return b}function oC(a,b){var c=0;if(b){while(1){c=r[a|0]^c;a=a+1|0;b=b-1|0;if(b){continue}break}}o[(ti-16|0)+15|0]=c}function ny(a){a=ii(a|0,493)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}if(!a){return 0}return Bu(q[242957])}function gu(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e+12>>2]=c;q[e+8>>2]=b;a=Jx(a,1048,e+8|0,d);ti=e+16|0;return a}function epa(a,b){var c=0;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;Ii(b,4,a,c,a+4|0)}function Z3(a){var b=0,c=0;while(1){if(!a){return}b=q[a>>2];c=xi[q[a+20>>2]](a)|0;a=b;if(!c){continue}break}}function WA(a,b,c){q[a+24>>2]=0;q[a+28>>2]=0;q[a+20>>2]=c;q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=0;v[a>>3]=Iw()}function QP(a,b){if(!(q[q[a>>2]+184>>2]&16384?!b:0)){Ij(a,2,40);return-31104}q[q[a+64>>2]+120>>2]=1;return 0}function PX(a,b,c){var d=0;d=a;a=lj(a,0,0,(b<<4)+24|0);Fq(d,a,6);q[a+12>>2]=c;o[a+6|0]=1;o[a+7|0]=b;return a}function OY(a){a=a|0;mj(a,1,5);if(!Kl(a,1)){gj(a,0,1);Qi(a,-1);ij(a,1)}Qi(a,-10002);Di(a,-2,139554);return 0}function Hn(a){var b=0;b=ti-16|0;ti=b;Z(b+8|0,0)|0;v[a+16>>3]=+q[b+12>>2]/1e6+ +q[b+8>>2];ti=b+16|0;return a}function Gm(a,b,c,d,e){var f=0;f=ti-16|0;ti=f;q[f+8>>2]=c;q[f+12>>2]=d;a=bfa(a,b,f+8|0,e);ti=f+16|0;return a}function Cta(a,b){var c=0,d=0,e=0;c=ti-160|0;ti=c;d=a;a=c+8|0;if(Dn(d,a,0,0)){e=Ata(a,b)}ti=c+160|0;return e}function yqa(a,b){var c=0;c=ti-16|0;ti=c;o[c+11|0]=b;a=xi[q[a>>2]](q[a+4>>2],c+11|0,1)|0;ti=c+16|0;return a}function rJ(a,b){var c=0;if(b){while(1){a=(a&65534)>>>1|0;c=c+1|0;if((c|0)!=(b|0)){continue}break}}return a}function qO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<2)+a|0;if(y(c)<2147483648){q[a>>2]=~~c;return}q[a>>2]=-2147483648}function oT(a){a=a|0;var b=0;pl(a,132701);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function nY(a){a=a|0;var b=0;mj(a,1,5);Qi(a,-10003);Qi(a,1);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 3}function ln(a){if((a|0)>=0){J(104800,92069,3363,104839);G()}return((a>>>26&31)+(a>>>21&31)|0)+(a>>>16&31)|0}function LS(a,b){var c=0;c=a;a=((b<<1)+4&8)+b|0;a=w(2-w(a,b)|0,a);a=w(2-w(a,b)|0,a);q[c>>2]=w(w(a,b)-2|0,a)}function F$(a,b){var c=0;c=ti-96|0;ti=c;q[c>>2]=b;hj(a,1024,177783,c);a=mq(a,c+8|0);ti=c+96|0;return a?-2:0}function yha(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[a>>2];a=q[q[a+8>>2]+8>>2];wv(b,c,a);if(a){yi(a)}return 0}function qfa(a){var b=0;b=ti-16|0;ti=b;q[b+4>>2]=a;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=308416;eA(b);ti=b+16|0}function Zu(a,b,c){var d=0;d=q[a>>2];if(!q[d+2128>>2]){a=cm(a,b,c);if(!a){return 0}q[d+2128>>2]=a}return-1}function Gua(a,b){var c=0;c=ti-16|0;q[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;q[c+8>>2]=a+4;return q[a>>2]}function zna(a,b){if(a){if(b>>>0<=32765){q[a+29100>>2]=b;a=0}else{a=-7}return a}J(7277,7291,241,7324);G()}function jn(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+8>>2]=b;q[d+4>>2]=c;q[d>>2]=a;Ai(4,53152,53312,d);ti=d+16|0}function f7(a,b,c,d,e){if(d>>>0<=1073741824){a=Hwa(a,c,b,d);q[e>>2]=a;return a>>>30&2}q[e>>2]=-1;return 4}function eX(a,b){if(s[a+52>>1]>s[a+54>>1]){Hk(a,135631,0)}o[a+6|0]=1;q[a+12>>2]=q[a+8>>2]-(b<<4);return-1}function Ik(a,b,c){var d=0;d=b;b=b>>31;a:{if(q[a+76>>2]<=-1){a=VM(a,d,b,c);break a}a=VM(a,d,b,c)}return a}function yva(a){a=a|0;a:{if(o[327068]&1){break a}a=q[81762];if(a){yi(a)}a=q[81760];if(!a){break a}yi(a)}}function jda(a){a=a|0;if(a){if(r[a+156|0]&32){a=Db()|0}else{a=0}return a|0}J(84152,84160,1391,84194);G()}function cq(a,b){var c=0,d=0;d=ti-160|0;ti=d;c=a;a=d+8|0;c=Dn(c,a,0,0);if(c){Eo(a,b)}ti=d+160|0;return c}function c6(a){if(q[a+1872>>2]){q[a+1888>>2]=0;q[a+1308>>2]=0;q[a+988>>2]=0;q[a+668>>2]=0;q[a+348>>2]=0}}function RR(a,b,c){var d=0,e=0;e=c+136|0;d=q[a>>2];d=Ax(c,e,d,b-d|0);if(!d){d=zD(c,e)}q[a>>2]=b;return d}function Cva(a){a=a|0;a:{if(o[298520]&1){break a}a=q[74625];if(a){yi(a)}a=q[74623];if(!a){break a}yi(a)}}function rl(a,b){var c=0;c=ti-16|0;ti=c;q[c+12>>2]=q[a>>2];q[a>>2]=q[b>>2];q[b>>2]=q[c+12>>2];ti=c+16|0}function lO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<2)+a|0;if(c<4294967296&c>=0){q[a>>2]=~~c>>>0;return}q[a>>2]=0}function jO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<1)+a|0;if(c<4294967296&c>=0){p[a>>1]=~~c>>>0;return}p[a>>1]=0}function gF(){var a=0,b=0;a=ti-16|0;ti=a;q[a+8>>2]=0;b=q[242116];if(b){if(!q[b+12>>2]){hF(b)}}ti=a+16|0}function VR(a){a=a|0;var b=0;b=Dl(a,1,0,0);Hi(a,qR(q[(Eq(a,2,140808,268688)<<2)+140784>>2],b));return 1}function SR(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=dj(a,-1,0);fy(q[52088],138096,b);ti=b+16|0;return 0}function Ds(a,b){var c=0;c=ti-16|0;ti=c;q[c+12>>2]=0;a=Xn(a,b,1,c+12|0);ti=c+16|0;return a?q[c+12>>2]:0}function C7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+4>>2]=a;o[d+564|0]=0;oH(q[d+8>>2],d);return q[d+36>>2]}function AB(a,b,c){a:{if(q[a+4>>2]==(c|0)){if(!nw(b,q[a+8>>2],c)){break a}}return RN(b,a)?-1:0}return 0}function tD(a){var b=0;b=lk(a,1);a:{if(b){break a}b=lk(a+12|0,1);if(b){break a}b=lk(a+24|0,0)}return b}function koa(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];ip(b,a+52|0);cj(q[a+44>>2]);CA(a);return 0}function jL(a){var b=0,c=0;b=q[a+4>>2];c=q[a>>2];if((b|0)!=(c|0)){q[a+4>>2]=(((b-c|0)-8>>>3^-1)<<3)+b}}function ima(a){var b=0;if(!(o[a+24|0]&1)){b=q[a+4>>2];if(!b){b=q[a>>2]}return(q[b>>2]!=0)<<1}return 1}function VC(a){var b=0;b=q[242957];a=Ll(q[a>>2],3,0);q[242957]=b;if(!(a&2048)){return 0}return(b|0)==6}function Spa(){var a=0;a=ti-16|0;ti=a;o[277316]=0;X7(r[277316]);$qa();tqa();q[215850]=0;_6();ti=a+16|0}function Mga(a){a=a|0;var b=0;b=q[q[a+8>>2]+8>>2];Pp(q[a>>2],473,b);hA(q[a>>2],b);if(b){yi(b)}return 0}function xo(a,b,c){var d=0;d=-1;if(!(!b|b&1)){a=Kra(a,b,c);d=(a|0)==28?-1:(a|0)==48?-2:0}return d} -function vU(a,b,c,d,e,f){var g=0;g=-16640;a:{switch(q[a+164>>2]){case 0:return pU(a,b,c,d,e,f);case 1:g=rU(a,b,c,d,e,f);break;default:break a}}return g}function rha(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-2;if(!rj(q[a+12>>2],q[a+16>>2],242680,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function rga(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-2;if(!rj(q[a+12>>2],q[a+16>>2],266744,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function ox(a,b,c,d){var e=0;e=fi-32|0;fi=e;q[e+20>>2]=c;q[e+16>>2]=b;q[e+24>>2]=a;q[e+8>>2]=0;q[e+12>>2]=0;a=EX(a,e+8|0,d?d:126006);fi=e+32|0;return a}function jfa(a){var b=0;a=q[a>>2];b=q[a+8>>2]-q[a+12>>2]>>4;ek(a,64546,241648);oi(a,-2);if(q[a+8>>2]-q[a+12>>2]>>4!=(b|0)){J(64376,64397,95,64562);G()}}function coa(a){var b=0;if(a){b=q[a+4>>2];if(b){ji[b|0](q[a+8>>2])}b=q[a+16>>2];if(b){ji[b|0](q[a+20>>2])}b=q[a+28>>2];if(b){ji[b|0](q[a+32>>2])}ki(a)}}function Vfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=-2;if(!rj(q[a+12>>2],q[a+16>>2],265152,b+12|0)){q[q[a+24>>2]>>2]=q[b+12>>2];c=0}fi=b+16|0;return c|0}function Pm(a){var b=0;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;b=a+12|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=a+24|0;q[b+8>>2]=0;q[b>>2]=0;q[b+4>>2]=0;return a}function Iqa(){var a=0,b=0;if(q[210707]){J(138209,138265,77,138288);G()}a=xi(524);q[210707]=a;q[a+4>>2]=128;b=xi(512);p[a+8>>1]=0;q[a>>2]=b;qi(b,0,512)}function yr(a,b,c,d){var e=0;e=fi-224|0;fi=e;wp(e+8|0);vp(e+8|0,d);up(e+8|0,a,b);zr(e+8|0,c);a=e+8|0;if(a){ji[q[66742]](a,0,216)|0}fi=e+224|0;return 0}function xY(a){a=a|0;var b=0,c=0;b=Ni(a,1,0);Ni(a,2,0);b=Ax(a,b);c=q[a+8>>2];q[c+8>>2]=0;q[a+8>>2]=c+16;ak(a,-2);wi(a,(b|0)==1?130204:130211);return 3}function lba(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Vi(a,1);c=Ni(a,2,0);Yj(a,(e=b,f=c,g=Fi(c),d=q[q[b+12>>2]+12>>2],ji[d](e|0,f|0,g|0)|0),ii);return 1}function j8(a,b){var c=0;if(!(!a|!b|q[a+16>>2]>-1)){c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=1}return c}function aG(a,b,c){var d=0,e=0;if(c){while(1){d=q[(e<<2)+b>>2];ru(a,q[d+8>>2],q[d+12>>2],q[d>>2],s[d+24>>1]);e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function Ts(a){var b=0,c=0;if(a){b=q[q[210707]>>2]+((a&65535)<<2)|0;c=q[b>>2];if(s[c+16>>1]!=(a>>>16|0)){mi(4,138814,139021,0);return}q[b>>2]=0;ki(c)}}function TP(a,b){a=a|0;b=b|0;var c=0;c=fi-224|0;fi=c;wp(c+8|0);Vw(c+8|0,q[a+68>>2]+888|0);zr(c+8|0,b);a=c+8|0;if(a){ji[q[66742]](a,0,216)|0}fi=c+224|0}function hO(a){at(a,124315,259264);at(a,124327,259264);at(a,124339,259264);Up(a,124315,124351);Up(a,124327,124351);Up(a,124339,124351);io(a,0,259456)}function VN(a){at(a,124685,259632);at(a,124700,259632);Up(a,124685,124717);Up(a,124700,124717);Up(a,124685,124726);Up(a,124700,124726);io(a,0,259792)}function UF(a,b){var c=0;c=fi-32|0;fi=c;q[c+28>>2]=b;o[c+20|0]=255;b=c+32|0;q[c+16>>2]=b;q[c+12>>2]=b;q[c+8>>2]=c+28;a=TF(a,c+8|0);fi=c+32|0;return a}function KY(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;Xi(a,-10001,1);c=q[Vi(a,-1)>>2];if(!c){q[b>>2]=131243;ni(a,131274,b)}a=CE(a,c,1);fi=b+16|0;return a|0}function FY(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;Xi(a,-10001,2);c=q[Vi(a,-1)>>2];if(!c){q[b>>2]=131254;ni(a,131274,b)}a=BE(a,c,1);fi=b+16|0;return a|0}function F6(a){var b=0;b=Ci(32);q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=a;return b}function Csa(a,b){var c=0,d=0;c=fi-224|0;fi=c;d=a;a=c+72|0;d=wn(d,a,0,1);if(d){if(q[a+104>>2]!=8){vo(a,c)}Bv(a,c,b);SL(a,c,b+8|0)}fi=c+224|0;return d}function zfa(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Yu(b,a);if(a){a:{if(o[a+20|0]&1){break a}b=q[a+8>>2];if(!b){break a}ki(b)}ki(a)}return 0}function qB(a,b,c){var d=0;d=-1;a:{if(Ov(a+80|0,b+112|0)){break a}if(!(q[b+28>>2]<3?c:0)){if(!q[b+284>>2]){break a}if(QC(b,4)){break a}}d=0}return d}function Tua(a){a=a|0;var b=0;a=q[212988];if(a){a:{if(o[a+28|0]&1){break a}b=q[a+8>>2];if(b){ki(b)}b=q[a>>2];if(!b){break a}ki(b)}ki(a);q[212988]=0}}function No(a,b,c,d){var e=0;e=fi-16|0;fi=e;q[e>>2]=b;mi(0,24355,26750,e);q[a+8>>2]=d;q[a+4>>2]=c;q[a>>2]=b;q[a+12>>2]=q[72975];q[72975]=a;fi=e+16|0}function K$(a,b,c){var d=0;d=q[q[239986]+16>>2];if(d){tj(d);o[a+61|0]=c;o[a+60|0]=r[a+60|0]&254|b;lj(d);return}o[a+61|0]=c;o[a+60|0]=r[a+60|0]&254|b}function Fva(){q[74983]=0;q[74984]=0;q[74985]=0;q[74986]=0;q[74987]=0;q[74988]=0;o[299956]=r[299956]&254;q[74992]=0;q[74993]=0;q[74990]=0;q[74991]=0}function uoa(a){a=a|0;var b=0;a=q[a+4>>2];if(!a){return-1e3}qy(q[a+16>>2]);a:{if(o[a+12|0]&1){break a}b=q[a>>2];if(!b){break a}ki(b)}ki(a);return 0}function qD(a,b){var c=0;a:{c=oD(a,b);if(c){break a}c=_j(a+124|0,b+124|0);if(c){break a}c=eo(a+136|0,b+136|0);if(c){break a}return 0}Et(a);return c}function nwa(a){var b=0,c=0,d=0,e=0,f=0;while(1){f=b;d=c;if(a|e){d=a;a=a-1&a;e=e-(d>>>0<1)&e;b=b+1|0;c=b>>>0<1?c+1|0:c;continue}break}ii=d;return f}function lC(a){var b=0,c=0;c=q[q[a+68>>2]+132>>2];b=c-1|0;a:{if(b>>>0<=11){b=q[(b<<2)+268464>>2];break a}b=0}if(b){return VC(a,c)?-1:0}return-27648}function RM(a,b,c){var d=0,e=0;d=-1;a:{if(!a|q[a+20>>2]!=1){break a}e=q[a+88>>2];if((e|0)<0){break a}if(!xS(a,e,b,c)){break a}d=q[a+96>>2]}return d}function lA(a,b,c,d){var e=0;e=fi-16|0;fi=e;q[e>>2]=b;mi(0,5659,5670,e);q[a+8>>2]=d;q[a+4>>2]=c;q[a+12>>2]=b;q[a>>2]=q[72432];q[72432]=a;fi=e+16|0}function UD(a){var b=0,c=0;b=q[a+16>>2];if(t[b+68>>2]>=t[b+64>>2]){Ul(a)}b=BX(a);c=q[a+8>>2];q[c+8>>2]=8;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return b}function Sw(a,b,c,d){var e=0;e=r[d|0];if((c|0)==1){q[a>>2]=(e^255)+2;a=r[d+1|0];q[b>>2]=(a|0)==255?2:(a^255)+1|0;return}q[a>>2]=e;q[b>>2]=r[d+1|0]}function Q0(a){a=a|0;var b=0,c=0;b=fi-80|0;fi=b;c=Ni(a,1,0);q[b+4>>2]=gs(yi(a,2,q[79186],0),b+16|0,64);q[b>>2]=c;nj(a,116405,b);fi=b+80|0;return 1}function HY(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=q[om(a,130969)>>2];a:{if(!c){Bi(a,131219,13);break a}q[b>>2]=c;nj(a,131233,b)}fi=b+16|0;return 1}function FT(a,b,c){var d=0;d=-28928;a:{if(!a|!q[a>>2]){break a}d=mC(a);if(d){break a}if(q[a+4>>2]!=16){d=xr(a);if(d){break a}}d=YO(a,b,c)}return d}function Eda(a,b){a=a|0;b=b|0;Ra(b|0);a:{if(!(r[q[74995]+104|0]&8)){break a}a=K()|0;if(!a){break a}Mi(a,81748,1820);J(79249,79164,1820,81748);G()}}function yga(a){a=a|0;var b=0,c=0;c=q[a+4>>2];b=q[q[a+8>>2]+8>>2];Hp(q[a>>2],469,b);Di(q[a>>2],q[b+12>>2]);Di(q[a>>2],q[b+8>>2]);Ry(c,b);return 0}function c1(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,1,116900,1155);vj(a,1,5);Bi(a,316748,os(a,316748,524288,1));Si(c);fi=b+32|0;return 1}function bV(a){var b=0,c=0;c=q[a+224>>2];if((c|0)<=19){b=w(c,20)+a|0;q[b+244>>2]=1;q[b+240>>2]=32;q[b+232>>2]=0;q[b+228>>2]=1247;q[a+224>>2]=c+1}}function ZJ(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Fm(a,1);u[b>>2]=u[c+32>>2];u[b+4>>2]=u[c+36>>2];u[b+8>>2]=u[c+40>>2];hl(a,b);fi=b+16|0;return 1}function ZD(a){var b=0,c=0;if(a>>>0<16){b=8}else{b=1;while(1){b=b+1|0;c=a+1|0;a=c>>>1|0;if(c>>>0>31){continue}break}b=b<<3}return a>>>0<8?a:b|a-8}function WO(a,b,c){q[c>>2]=0;a=a+16384|0;if(!(a>>>0>>0|a-b>>>0<6)){o[b+4|0]=1;o[b+5|0]=0;o[b|0]=0;o[b+1|0]=11;o[b+2|0]=0;o[b+3|0]=2;q[c>>2]=6}}function VO(a,b,c,d){q[d>>2]=0;b=b+16384|0;if(!(!(q[a+184>>2]&16384)|b>>>0>>0|b-c>>>0<4)){o[c|0]=0;o[c+1|0]=4;o[c+2|0]=0;o[c+3|0]=0;q[d>>2]=4}}function Spa(a,b){var c=0,d=0,e=0;c=q[a+8>>2];d=q[a+4>>2];if(c>>>0>d>>>0){J(22871,22890,45,22931);G()}e=a;a=b+c|0;q[e+8>>2]=a;return a>>>0<=d>>>0}function rN(a,b,c){var d=0;d=fi-144|0;fi=d;d=qi(d,0,144);q[d+76>>2]=-1;q[d+44>>2]=a;q[d+32>>2]=1552;q[d+84>>2]=a;a=AB(d,b,c);fi=d+144|0;return a}function iga(a){a=a|0;var b=0;b=q[q[a+32>>2]+8>>2];_z(q[a>>2],b);if(T5(b,q[a+20>>2],q[a+24>>2])){a=IJ(q[a>>2],b,q[a+16>>2])}else{a=-1}return a|0}function _s(a,b,c){o[a+7|0]=b;o[a+6|0]=(c&255)<<24|b>>>8;o[a+5|0]=(c&65535)<<16|b>>>16;o[a+4|0]=(c&16777215)<<8|b>>>24;o[a+3|0]=c;o[a+2|0]=c>>>8}function YQ(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;if(q[a+4>>2]==(c|0)){a=YC(a,g,h,1,e,b,d,f)}else{a=-16512}return a|0}function S3(a){var b=0,c=0;b=q[a+7408>>2];if(b){By(b);b=q[a+7408>>2];if(b){c=q[b+4>>2];if(c){Ui(c)}c=q[b+8>>2];if(c){Ui(c)}ki(b)}q[a+7408>>2]=0}}function Nv(a){var b=0,c=0;b=fi-16|0;fi=b;c=-1;a:{if(aB(a)){break a}if((ji[q[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=r[b+15|0]}fi=b+16|0;return c}function i9(a){a=a|0;var b=0,c=0,d=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);a=Ni(a,2,0);d=q[c+420>>2];if(d){ki(d)}q[c+420>>2]=Sk(a);fi=b+16|0;return 0}function Z5(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if((c-a|0)/18568>>>0<=b>>>0){J(136114,135222,447,135487);G()}return q[(a+w(b,18568)|0)+18556>>2]}function X5(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if((c-a|0)/18568>>>0<=b>>>0){J(136114,135222,447,135487);G()}return q[(a+w(b,18568)|0)+18552>>2]}function Tla(a){a=a|0;var b=0;b=q[q[a+12>>2]>>2];a:{if(r[b+58|0]&2){a=q[a+4>>2];rK(q[b+36>>2],a,1);b=1;if(r[a+953|0]&4){break a}}b=0}return b|0}function Kqa(a,b,c){var d=0;d=c;c=q[q[q[210707]>>2]+((a&65535)<<2)>>2];q[d>>2]=q[(q[(s[c+16>>1]==(a>>>16|0)?c:0)+4>>2]+(b<<4)|0)+8>>2];return 0}function Jqa(a){var b=0,c=0;a:{if(!a){break a}b=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!b|s[b+16>>1]!=(a>>>16|0)){break a}c=q[b+8>>2]}return c}function spa(a,b){a=a|0;b=b|0;a:{if(a){if(!b){break a}q[b>>2]=Lh(q[a>>2]);return}J(204857,204815,86,204916);G()}J(204935,204815,87,204916);G()}function mY(a){a=a|0;var b=0;b=VA(a,In(a,-10003),q[a+8>>2]-q[a+12>>2]>>4);if((b|0)<=-1){if($j(a,-1)){Ur(a,1);ak(a,-2);Jl(a,2)}fo(a)}return b|0}function bba(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;Zi(a,1,b+12|0);Ki(a);c=yi(a,-1,q[213955],189399);oi(a,-2);Rz(c,q[b+12>>2]);fi=b+16|0;return 0}function VY(a){a=a|0;if((ri(a,1)|0)==-1){Xi(a,-10001,2)}if(!q[om(a,130969)>>2]){ni(a,131041,0)}Rr(a,1);zi(a,-1,131070);return ji[mx(a)|0](a)|0}function ST(a,b){if(q[a+20>>2]<=2){q[q[a+68>>2]+1104>>2]=1340;return}a=q[a+68>>2];if(q[b+12>>2]==7){q[a+1104>>2]=1341;return}q[a+1104>>2]=1342}function Rpa(a,b){var c=0;c=b;b=q[a+40>>2]+15&-16;c=c+b|0;q[a+40>>2]=c;if(!(r[a+44|0]|t[a+36>>2]>=c>>>0)){J(23836,23867,86,23937);G()}return b}function QO(a,b){q[a+4>>2]=q[b+4>>2];q[a>>2]=q[b>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+16>>2];q[a+16>>2]=q[b+12>>2];q[a+20>>2]=q[b+132>>2]>>1}function M9(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);a=Fj(a,2);q[c+412>>2]=q[c+412>>2]&-67108865|a<<26&67108864;fi=b+16|0;return 0}function K9(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);a=Fj(a,2);q[c+412>>2]=q[c+412>>2]&-33554433|a<<25&33554432;fi=b+16|0;return 0}function GA(a){var b=0;a:{if(!a){break a}b=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!b|s[b+16>>1]!=(a>>>16|0)){break a}p[b+18>>1]=s[b+18>>1]+1}}function G$(a){a=a|0;if(r[a+33949|0]){while(1){q[a+33904>>2]=0;if(!r[a+33950|0]){q[a+33904>>2]=_E(a)}gn(8e3);if(r[a+33949|0]){continue}break}}}function Dr(a,b){var c=0;c=Um(b,1);a:{if(c){break a}a=a+4|0;while(1){c=0;if((Dj(b,a)|0)<0){break a}c=Tm(b,b,a);if(!c){continue}break}}return c}function zk(a,b,c){zl(a,q[a+8>>2]+((b^-1)<<4)|0,c);a:{if((c|0)!=-1){break a}b=q[a+20>>2];a=q[a+8>>2];if(t[b+8>>2]>a>>>0){break a}q[b+8>>2]=a}}function lra(a){a=a|0;var b=0,c=0;Tl(a,3);b=gj(a,2);vj(a,1,6);a:{if(Dp(a,1)){break a}b=PW(a,b);if(!b){break a}wi(a,b);ak(a,-1);c=1}return c|0}function lQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=q[a+20>>2];d=q[a+16>>2]-e|0;d=c>>>0>>0?c:d;si(e,b,d);q[a+20>>2]=d+q[a+20>>2];return c|0}function ij(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}d=q[a+8>>2];b=Ho(a,b,c);q[d+8>>2]=5;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function fna(a,b,c){a=a|0;b=b|0;c=c|0;if(!(!b|!r[b|0])){a=Ls(q[a+4>>2],b,Fi(b));return a|0}a=q[a+4>>2];b=q[a+96>>2];ii=q[a+100>>2];return b|0}function UU(a,b,c,d){var e=0;a:{if(jn(a,b,1)){break a}e=a+12|0;if(Ao(a,e,(b?q[b+8>>2]:0)&255)){break a}qi(e,1,(b?q[b+8>>2]:0)&255);dx(a,c,d)}}function Soa(a){a=a|0;a:{if(r[a+148|0]){Zoa(a);a=q[a+144>>2];break a}a=q[a+144>>2];if(a){break a}return-1}return((a|0)==1?1:(a|0)==-1?-1:0)|0}function Qfa(a){a=a|0;var b=0;b=q[q[a+32>>2]+8>>2];if(J$(b,q[a+20>>2],q[a+24>>2])){a=-6}else{q[q[a+32>>2]+16>>2]=q[b+12>>2]+24;a=0}return a|0}function Iua(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function Bi(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}d=q[a+8>>2];b=Bj(a,b,c);q[d+8>>2]=4;q[d>>2]=b;q[a+8>>2]=q[a+8>>2]+16}function zG(a,b,c){var d=0;d=q[a+4>>2];a=q[a>>2];if((d-a|0)/18568>>>0<=b>>>0){J(136114,135222,447,135487);G()}q[(a+w(b,18568)|0)+18552>>2]=c}function z9(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=Zi(a,1,b+12|0);a=Fj(a,2);q[c+412>>2]=q[c+412>>2]&-524289|((a|0)!=0)<<19;fi=b+16|0;return 0}function mo(a,b){var c=0;c=bj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];zi(a,-1e4,120672);aj(a,-2)}function k8(a,b){var c=0;if(!(!b|q[a+2604>>2]>-1)){si(b,a+3380|0,264);q[a+3636>>2]=0;o[a+3380|0]=0;a=a+3640|0;o[a|0]=r[a|0]&254;c=1}return c}function Yq(a,b){a=a|0;b=b|0;var c=0,d=0;c=fi-16|0;fi=c;d=q[a+20>>2];q[c+4>>2]=q[a+692>>2];q[c>>2]=d;mi(3,139100,139105,c);R(a+24|0,b|0);G()}function JU(a,b,c,d,e,f,g,h){var i=0;i=q[a>>2];if(!i){return-16e3}i=q[i+28>>2];if(!i){return-16128}return ji[i|0](q[a+4>>2],b,c,d,e,f,g,h)|0}function EC(a,b){if(!q[b>>2]){a=a-3|0;a:{if(a>>>0<=5){a=q[(a<<2)+267260>>2];break a}a=0}if(!a){return-1}q[b>>2]=(a?q[a+8>>2]:0)&255}return 0}function Bp(a,b,c,d){c=vl(b,c,d);a:{if(c){break a}a=a+4|0;while(1){c=0;if((Dj(b,a)|0)<0){break a}c=Tm(b,b,a);if(!c){continue}break}}return c}function BG(a,b,c){var d=0;d=q[a+4>>2];a=q[a>>2];if((d-a|0)/18568>>>0<=b>>>0){J(136114,135222,447,135487);G()}q[(a+w(b,18568)|0)+18556>>2]=c}function Aq(a,b){var c=0;c=bj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];u[c+12>>2]=u[b+12>>2];zi(a,-1e4,120688);aj(a,-2)}function tv(a,b){var c=0;a:{if(!a){break a}c=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!c|s[c+16>>1]!=(a>>>16|0)){break a}q[b>>2]=s[c+18>>1]}}function qC(a){if((a|0)<=0){a=a+2|0;a:{if(a>>>0<=2){a=q[(a<<2)+259248>>2];break a}a=123969}return a}if((a|0)==1){return 125178}return iZ(a)}function i0(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b+8>>2]=q[q[Vi(a,1)>>2]>>2];q[b+4>>2]=120638;q[b>>2]=120720;nj(a,121245,b);fi=b+16|0;return 1}function Yoa(a,b){a=a|0;b=b|0;var c=0;if(!ZI()){mi(4,1031,4159,0);return 0}c=q[72368];c=kpa(Ci(512),c);if(!hpa(c,a,b)){IK(c);c=0}return c|0}function Tfa(a){a=a|0;var b=0,c=0;b=fi-16|0;fi=b;c=zma(q[a>>2],q[a+20>>2],b+12|0);if(!c){q[q[a+24>>2]+8>>2]=q[b+12>>2]}fi=b+16|0;return c|0}function It(a,b,c){var d=0;d=fi-16|0;fi=d;b=Lj(a,b,d+12|0,2);if(!b){b=c;c=q[d+12>>2];b=Vm(b,q[a>>2],c);q[a>>2]=c+q[a>>2]}fi=d+16|0;return b}function oL(a,b){var c=0;a:{if(!a){break a}c=q[q[q[210707]>>2]+((a&65535)<<2)>>2];if(!c|s[c+16>>1]!=(a>>>16|0)){break a}q[b>>2]=r[c+20|0]}}function mua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=b-c|0;if(b){while(1){o[(c+d|0)+a|0]=b;e=e+1|0;d=e&255;if(b>>>0>d>>>0){continue}break}}}function ls(a){var b=0,c=0;b=q[79155];c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002);b=Vi(a,-1);oi(a,-2);return b}function lT(a){a=a|0;q[a+8>>2]=1732584193;q[a+12>>2]=-271733879;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=-1732584194;q[a+20>>2]=271733878;return 0}function cC(a){a:{if(t[a+132>>2]>2]){break a}a=q[a+120>>2];if(ej(a+6|0,166773,3)){break a}return(ej(a+9|0,a+1|0,3)|0)!=0}return 1}function b1(a){a=a|0;var b=0;b=q[a+8>>2]-q[a+12>>2]|0;Ni(a,1,0);if(b>>4!=q[a+8>>2]-q[a+12>>2]>>4){J(117380,116900,919,117782);G()}return 0}function Xn(a){ep(a,0,4,8,12);ep(a,1,5,9,13);ep(a,2,6,10,14);ep(a,3,7,11,15);ep(a,0,5,10,15);ep(a,1,6,11,12);ep(a,2,7,8,13);ep(a,3,4,9,14)}function FK(a,b){var c=0,d=0;c=q[210336];if(c){while(1){d=q[c+32>>2];if(!(!d|!r[c+40|0])){ji[d|0](a,b)}c=q[c+36>>2];if(c){continue}break}}}function An(a){var b=0;a=a*a;b=a*a;return x(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+ -.001388676377460993))}function hs(a){var b=0,c=0;a=q[a>>2];oi(a,-2);c=q[79152];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);Wi(a,-10002)}function gF(a,b){var c=0;c=(b|0)>0?(b|0)/1e3|0:b;b=(c|0)>0;a=BK(a,b?c:0);if((a|0)<=-1){return Ll(159554,1153,q[240833])}return b?a?0:-3:0}function fY(a){a=a|0;var b=0,c=0;b=yl(a,1,0,0);c=q[a+8>>2]-q[a+12>>2]>>4;if(sx(a,b)){fo(a)}zk(a,0,-1);return(q[a+8>>2]-q[a+12>>2]>>4)-c|0}function dj(a,b,c,d){var e=0;e=q[a+16>>2];b=ji[q[e+12>>2]](q[e+16>>2],b,c,d)|0;if(!(b|!d)){oj(a,4)}q[e+68>>2]=q[e+68>>2]+(d-c|0);return b}function dT(a){a=a|0;var b=0,c=0;b=ml(a,124351);b=t[b+48>>2]>2];c=q[a+8>>2];q[c+8>>2]=1;q[c>>2]=b;q[a+8>>2]=q[a+8>>2]+16;return 1}function Ooa(a){var b=0,c=0;b=q[210336];if(b){while(1){c=q[b+12>>2];if(!(!c|!r[b+40|0])){ji[c|0](a)|0}b=q[b+36>>2];if(b){continue}break}}}function Kla(a){a=a|0;var b=0;b=q[a+4>>2];if(!b){return-1e3}a:{if(o[b+152|0]&1){break a}a=q[b+140>>2];if(!a){break a}ki(a)}ki(b);return 0}function xt(a){var b=0,c=0;b=281632;c=52392;a:{while(1){if((a|0)==(c|0)){break a}c=q[b+40>>2];b=b+40|0;if(c){continue}break}b=0}return b}function iP(a,b,c){a=a|0;b=b|0;c=c|0;kq(q[a+68>>2]+596|0,b,c);xp(q[a+68>>2]+684|0,b,c);yt(q[a+68>>2]+776|0,b,c);up(q[a+68>>2]+888|0,b,c)}function fR(a,b){var c=0;c=28;a=a-1|0;a:{if(a>>>0>=t[240909]){break a}a=q[240908]+(a<<3)|0;if(!q[a+4>>2]){break a}q[a>>2]=b;c=0}return c}function XW(a,b){var c=0,d=0;d=1;c=q[a+8>>2];a:{if(q[c-8>>2]!=6){break a}c=q[c-16>>2];if(r[c+6|0]){break a}d=dX(a,q[c+16>>2],b)}return d}function Wma(a){a=a|0;var b=0;b=Xna(Fm(a,1));if(b){Yj(a,q[b+96>>2],q[b+100>>2]);return 1}b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}function Vna(a){var b=0,c=x(0),d=x(0),e=x(0);b=fi-16|0;fi=b;Wq(b,a);fi=b+16|0;d=u[b>>2];c=u[b+4>>2];e=u[b+8>>2];c=c>e?c:e;return c>2];if(!(!c|!r[b+40|0])){ji[c|0](a)|0}b=q[b+36>>2];if(b){continue}break}}}function Mk(a,b,c){var d=0,e=0;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e|!q[a+8>>2]){break a}d=ji[q[e+20>>2]](q[a+4>>2],b,c)|0}return d}function nj(a,b,c){var d=0,e=0;d=fi-16|0;fi=d;e=q[a+16>>2];if(t[e+68>>2]>=t[e+64>>2]){Ul(a)}q[d+12>>2]=c;a=Nt(a,b,c);fi=d+16|0;return a}function nZ(a){a=a|0;var b=0;Ni(a,1,0);Ni(a,2,0);oi(a,2);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;Wj(a,1093,3);return 1}function m8(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[210338];d=q[c+3656>>2];if(d){ji[d|0](a,(b|0)!=0,q[c+3660>>2]);c=q[210338]}d8(c,a,(b|0)!=0)}function gY(a){a=a|0;var b=0;b=UD(a);a:{if((ri(a,1)|0)==6){if(!Dp(a,1)){break a}}Mj(a,1,129736)}Hi(a,1);Hn(a,b,1);Wj(a,1010,1);return 1}function gE(a,b,c){var d=0,e=0;e=a;d=b<<2;a=dj(a,0,0,d+20|0);tq(e,a,6);q[a+12>>2]=c;o[a+6|0]=0;o[a+7|0]=b;if(b){qi(a+20|0,0,d)}return a}function ds(a,b){var c=0,d=0;c=fi-96|0;fi=c;d=-2;if(!(Am(a,c+8|0)|(q[c+20>>2]&61440)!=32768)){q[b>>2]=q[c+48>>2];d=0}fi=c+96|0;return d}function dC(a){var b=0;Tw(a);ki(q[a+68>>2]);q[a+68>>2]=0;b=q[a+80>>2];if(b){vt(b);ki(q[a+80>>2])}b=q[a+84>>2];q[a+84>>2]=0;q[a+80>>2]=b}function cj(a,b,c,d){var e=0,f=0;e=fi-16|0;fi=e;f=-1;if(!(!c|(!a|!b))){q[e+12>>2]=d;a=Yp(a,b,c,d);f=(a|0)<(b|0)?a:-1}fi=e+16|0;return f}function VZ(a,b,c,d){if(a|b){while(1){c=c-1|0;o[c|0]=r[(a&15)+205520|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function HT(a){a=qi(a,0,212);kx(a+80|0);kx(a+144|0);q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;a=a- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}function Fsa(a,b){var c=0,d=0;c=fi-224|0;fi=c;d=a;a=c+72|0;d=wn(d,a,0,1);if(d){if(q[a+104>>2]!=8){vo(a,c)}SL(a,c,b)}fi=c+224|0;return d}function pt(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=q[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=q[c>>2];q[a+4>>2]=d>>>b;q[a>>2]=d<<32-b|c>>>b}function gk(a,b){var c=0,d=0;c=Vk(a,1);if(!c){qi(q[a+8>>2],0,q[a+4>>2]<<2);d=b>>31;q[q[a+8>>2]>>2]=d^b+d;q[a>>2]=(b|0)<0?-1:1}return c}function ZU(a){var b=0;if(a){if(a){b=q[a+60>>2];if(b){ji[q[q[q[a>>2]+28>>2]+32>>2]](b)}ji[q[66742]](a,0,64)|0}ji[q[66742]](a,0,392)|0}}function CA(a,b){var c=0;c=b;b=q[a+40>>2];c=c+b|0;q[a+40>>2]=c;if(!(r[a+44|0]|t[a+36>>2]>=c>>>0)){J(23836,23867,76,23925);G()}return b}function A3(a,b){var c=0,d=0;c=r[a+40|0];a:{if(c&1){break a}d=q[a+4>>2];if(!d){break a}ki(d);c=r[a+40|0]}q[a+4>>2]=b;o[a+40|0]=c&254|1}function w1(a){a=a|0;var b=0,c=0,d=0;c=Vi(a,1);d=Vi(a,2);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)==(d|0);q[a+8>>2]=q[a+8>>2]+16;return 1}function sC(a,b){a=xc(a|0,4,2)|0;q[b>>2]=a;if(a){a=0}else{if(q[240826]){return q[240826]}if(!q[240833]){return-3}a=q[240833]}return a}function qra(a){a=a|0;var b=0,c=0;b=gj(a,2);vj(a,1,6);a:{if(Dp(a,1)){break a}b=VW(a,b);if(!b){break a}wi(a,b);ak(a,-2);c=2}return c|0}function pX(a){var b=0,c=0;b=q[a+36>>2]+3|0;c=q[a>>2];if((b|0)>r[c+75|0]){if((b|0)>=250){xj(q[a+12>>2],127238);c=q[a>>2]}o[c+75|0]=b}}function hR(a){var b=0;a=a-1|0;b=0;a:{if(a>>>0>=t[240909]){break a}a=q[240908]+(a<<3)|0;b=0;if(!q[a+4>>2]){break a}b=q[a>>2]}return b}function TX(a){a=a|0;var b=0,c=0;Tl(a,1);Tl(a,2);c=nx(a,1,2);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function QV(a){var b=0;if(a){if(a){b=q[a+60>>2];if(b){ji[q[q[q[a>>2]+28>>2]+32>>2]](b)}ji[q[66742]](a,0,64)|0}ji[q[66742]](a,0,64)|0}}function CS(a){a=a|0;var b=0;dQ(Qm(a,124327),sq(a,2,124625,259584));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function B7(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[a+12>>2]=d;q[a+8>>2]=c;q[a+4>>2]=b;if((b<<16|c)<=65536){o[a+92|0]=r[a+92|0]|2}}function pha(a){a=a|0;var b=0;b=Ci(4);q[b>>2]=0;if(rj(q[a+12>>2],q[a+16>>2],242824,b)){ki(b);return-13}q[q[a+24>>2]+8>>2]=b;return 0}function paa(a){a=a|0;var b=0,c=0;c=q[Zi(a,1,0)+412>>2]>>>18&1;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function jq(a,b,c){var d=0;d=fi-32|0;fi=d;q[d+16>>2]=1;q[d+20>>2]=1;q[d+12>>2]=c;q[d+24>>2]=d+12;a=Ak(a,b,d+16|0);fi=d+32|0;return a}function Taa(a){a=a|0;var b=0,c=0;c=q[Zi(a,1,0)+412>>2]>>>23&3;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function DL(a,b,c,d,e,f,g,h,i){d=JV(a,d,b);a:{if(d){break a}d=IV(a,e,f);if(d){break a}d=CD(a,c,g,h);if(d){break a}d=MV(a,i)}return d}function Ci(a){a=a|0;var b=0;a=a?a:1;a:{while(1){b=xi(a);if(b){break a}b=q[240913];if(b){ji[b|0]();continue}break}G();G()}return b|0}function Aj(a,b,c){if(!(!a|!q[a>>2])){q[a+208>>2]=21;q[a+212>>2]=2;o[q[a+204>>2]]=b;o[q[a+204>>2]+1|0]=c;return ut(a,1)}return-28928}function rsa(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){Ys(a,b,(c+1|0)==(b|0),11)}}q[a+4>>2]=b}}function qt(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=q[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=q[c>>2];q[a>>2]=d<>2]=c<>>32-b}function V8(a){a=a|0;var b=0;b=fi-16|0;fi=b;Zi(a,1,b+12|0);q[b+4>>2]=Ni(a,2,0);q[b>>2]=187784;a=ni(a,189799,b);fi=b+16|0;return a|0}function Uea(a,b,c){var d=0;d=q[a+128>>2];a=q[a+124>>2];if(d-a>>>0<=b>>>0){J(53991,53817,447,53980);G()}a=a+b|0;o[a|0]=r[a|0]&254|c}function rta(a,b){var c=0;o[a+3|0]=255;c=b&31;o[a+2|0]=c<<3|c>>>2;c=b>>>5&31;o[a+1|0]=c<<3|c>>>2;c=a;a=b>>>10&31;o[c|0]=a<<3|a>>>2}function r1(a){a=a|0;var b=0,c=0;b=fi-32|0;fi=b;c=Ti(b+8|0,a,1,116900,1180);zq(a,Ni(a,1,b+4|0),q[b+4>>2]);Si(c);fi=b+32|0;return 1}function qfa(a){a=a|0;a=q[a>>2];if(q[a+164>>2]!=q[q[a+4>>2]+20>>2]){if(!EJ(a)){mi(3,57832,58153,0)}q[a+164>>2]=q[q[a+4>>2]+20>>2]}}function _ea(a,b){var c=0;c=fi-16|0;fi=c;q[74610]=b;q[74609]=a;q[c+12>>2]=b;q[c+8>>2]=a;q[c+4>>2]=2;q[c>>2]=298432;Wz(c);fi=c+16|0}function _da(){var a=0,b=0;a=q[74995];if(a){b=q[a+12>>2];if(!b){return 1}return ji[b|0](q[a+16>>2])|0}J(80061,79164,531,80086);G()}function UP(a,b){a=a|0;b=b|0;var c=0;c=fi-112|0;fi=c;Br(c);Xw(c,q[a+68>>2]+776|0);zt(c,b);if(c){ji[q[66742]](c,0,108)|0}fi=c+112|0}function QU(a,b){var c=0;c=fi-32|0;fi=c;q[c+20>>2]=1;q[c+16>>2]=1;q[c+12>>2]=1;q[c+24>>2]=c+12;a=vl(a,b,c+16|0);fi=c+32|0;return a}function Daa(a){a=a|0;var b=0,c=0;c=q[Zi(a,1,0)+412>>2]>>>19|0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=c&1;q[a+8>>2]=q[a+8>>2]+16;return 1}function BU(a,b){a:{if(Zw(a)){break a}if(CU(b)){break a}if(Dj(a+8|0,b+8|0)){break a}return Dj(a+20|0,b+20|0)?-16896:0}return-16896}function rC(a,b){a=wc(a|0)|0;q[b>>2]=a;if(a){a=0}else{if(q[240826]){return q[240826]}if(!q[240833]){return-3}a=q[240833]}return a}function qn(a){a:{if(!a|!q[a>>2]|(q[a+4>>2]==-2|q[a+8>>2]==-2)){break a}if(q[a+12>>2]==-2){break a}return q[a+16>>2]!=-2}return 0}function oO(a){var b=0,c=0;b=Fi(1893);if(r[a|0]){while(1){if(!nO(a,b)){return a}c=r[a+1|0];a=a+1|0;if(c){continue}break}}return 0}function ml(a,b){var c=0,d=0;c=fi+ -64|0;fi=c;d=Yta(a,b);if(!d){q[c>>2]=b;Sm(c+16|0,123541,c);Mj(a,1,c+16|0)}fi=c- -64|0;return d}function VT(a){var b=0,c=0;b=-28928;a:{if(!a){break a}c=q[a>>2];if(!c){break a}b=-28800;if(o[c+184|0]&1){break a}b=WT(a)}return b}function S_(a,b,c,d,e,f,g){var h=0;if(!q[a+88>>2]){return-20352}h=a+136|0;f=U_(a,a+124|0,h,f,g);if(!f){f=cV(a,h,c,b,d,e)}return f}function Ev(a,b){if(b>>>0>=4){J(95174,95189,145,95246);G()}b=b<<2;return r[(b|1)+a|0]<<2|r[a+b|0]|r[(b|2)+a|0]<<4|r[(b|3)+a|0]<<6}function uW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c/.017453292519943295;q[a+8>>2]=q[a+8>>2]+16;return 1}function sqa(a){a=a|0;var b=0;b=gj(a,1);if(!((b|0)==1&r[906204]!=0)){ni(a,194044,0)}wi(a,(b|0)!=1?0:r[906204]?923812:0);return 1}function iW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c*.017453292519943295;q[a+8>>2]=q[a+8>>2]+16;return 1}function Vaa(a){a=a|0;var b=0,c=0;c=q[Zi(a,1,0)+412>>2]&15;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Qm(a,b){var c=0,d=0;c=fi+ -64|0;fi=c;d=om(a,b);if(!d){q[c>>2]=b;Sm(c+16|0,123541,c);Mj(a,1,c+16|0)}fi=c- -64|0;return d}function Ji(a){var b=0;if(a){b=q[a+8>>2];if(b){ji[q[66742]](b,0,q[a+4>>2]<<2)|0;ki(q[a+8>>2])}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=0}}function JC(a,b,c,d){var e=0;e=fi-16|0;fi=e;q[e+12>>2]=1;q[e>>2]=1;q[e+4>>2]=1;q[e+8>>2]=e+12;a=ao(a,e,b,c,d);fi=e+16|0;return a}function ppa(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(!r[a+4|0]){return-15}Mh(q[a>>2],b|0,c|0);return 0}J(204857,204815,67,204878);G()}function o8(a,b){var c=0;c=fi-16|0;fi=c;if(a){o[QE(b&65535,c+11|0)+(c+11|0)|0]=0;q[a+3376>>2]=wk(a+3120|0,c+11|0,256)}fi=c+16|0}function Zda(a){a=a|0;var b=0,c=0;b=q[74995];if(b){c=q[b+20>>2];if(c){ji[c|0](q[b+24>>2],a)}return}J(80061,79164,540,80100);G()}function Yda(a){a=a|0;var b=0,c=0;b=q[74995];if(b){c=q[b+28>>2];if(c){ji[c|0](q[b+32>>2],a)}return}J(80061,79164,547,80114);G()}function Xaa(a){a=a|0;var b=0,c=0;c=s[Zi(a,1,0)+414>>1]&3;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c>>>0;q[a+8>>2]=q[a+8>>2]+16;return 1}function Uz(a){var b=0;b=q[a+4>>2];if(b){ji[b|0](q[a>>2]);b=q[a+8>>2];if(b){ji[b|0](q[a>>2])}return}J(83683,83694,24,83733);G()}function RL(a,b){var c=0;c=q[a+4>>2];if((c|0)!=(b|0)){if(b>>>0>=c>>>0){if(t[a+8>>2]>>0){OL(a,b,(c+1|0)==(b|0))}}q[a+4>>2]=b}}function LX(a){a=a|0;var b=0,c=0;Tl(a,1);c=a;a=ri(a,1);b=125997;a:{if((a|0)==-1){break a}b=q[(a<<2)+261152>>2]}wi(c,b);return 1}function LS(a){a=a|0;var b=0,c=0;c=ml(a,124351);b=Ai(a,2);a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}q[c>>2]=a;return 0}function Kj(a){var b=0;b=lK(a);a:{if(b){break a}b=rba(a);if(b){b=q[q[b+344>>2]+12>>2];if(b){break a}}b=0;ni(a,31863,0)}return b}function KS(a){a=a|0;var b=0,c=0;c=ml(a,124717);b=Ai(a,2);a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}q[c>>2]=a;return 0}function E5(a){q[a+1864>>2]=q[a+1860>>2];F5(a);q[a+1808>>2]=q[a+1804>>2];q[a+1824>>2]=q[a+1820>>2];a=a+1840|0;q[a>>2]=q[a>>2]+1}function xr(a){var b=0;b=-28928;if(!(!a|!q[a>>2])){while(1){if(q[a+4>>2]==16){return 0}b=VT(a);if(!b){continue}break}}return b}function ow(a){var b=0;a:{if(!a){break a}b=q[a+580>>2];if(!b){break a}q[a+524>>2]=q[a+524>>2]-q[a+584>>2];ki(b);q[a+580>>2]=0}}function nt(a){var b=0,c=0;b=fi-32|0;fi=b;c=q[a>>2];q[b+16>>2]=0;c=Fl(c,3,b+16|0);a=q[a>>2];q[b>>2]=c|2048;Fl(a,4,b);fi=b+32|0}function ika(a,b){var c=0;c=q[a+224>>2];a=q[a+220>>2];if(c-a>>2>>>0<=b>>>0){J(47308,47134,447,47319);G()}return q[a+(b<<2)>>2]}function go(a,b,c){var d=0;d=q[a+52>>2];b=Bj(d,b,c);a=Yr(d,q[q[a+48>>2]+4>>2],b);if(!q[a+8>>2]){q[a+8>>2]=1;q[a>>2]=1}return b}function _w(a,b){var c=0;c=-16e3;if(!(q[a>>2]|!b)){c=ji[q[b+36>>2]]()|0;q[a+4>>2]=c;if(!c){return-16256}q[a>>2]=b;c=0}return c}function Ww(a,b,c,d){var e=0;e=fi-112|0;fi=e;Br(e);Ar(e,d);yt(e,a,b);zt(e,c);if(e){ji[q[66742]](e,0,108)|0}fi=e+112|0;return 0}function W8(a){a=a|0;var b=0;b=fi-16|0;fi=b;Zi(a,1,0);q[b+4>>2]=Ni(a,2,0);q[b>>2]=187784;a=ni(a,189758,b);fi=b+16|0;return a|0}function yna(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Yo(b,q[a>>2]+2084|0);a=q[a>>2];o[a+4276|0]=r[a+4276|0]|2;return 0}function mx(a){var b=0;b=q[a+8>>2]-16|0;a=0;a:{if(q[b+8>>2]!=6){break a}b=q[b>>2];if(!r[b+6|0]){break a}a=q[b+16>>2]}return a}function kba(a){a=a|0;var b=0;b=Vi(a,1);if(!b){J(189578,187364,193,189580);G()}Xi(a,-1e4,q[b+4>>2]);Hi(a,2);Tj(a,-2);return 1}function aY(a){a=a|0;var b=0;vj(a,1,5);Hi(a,-10003);Hi(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=0;q[a+8>>2]=q[a+8>>2]+16;return 3}function Kv(a,b,c){if(!(c?!b:0)){q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=b;q[a+4>>2]=b;q[a>>2]=c;q[a+12>>2]=b+c}return!c|(b|0)!=0}function Fn(a,b,c){var d=0,e=0;d=-20736;a:{if(!a){break a}e=q[a>>2];if(!e){break a}d=ji[q[e+20>>2]](q[a+4>>2],b,c)|0}return d}function vC(a,b){var c=0;a:{if(b){c=(a<<2)+963496|0;a=Hua(a,b);q[c>>2]=a;break a}a=q[(a<<2)+963496>>2]}return a?a+8|0:211328}function tX(a,b){var c=0;c=q[b+16>>2];if((c|0)!=128040){dj(a,c,32<>2],q[b+28>>2]<<4,0);dj(a,b,32,0)}function mqa(a){a=a|0;var b=0;b=gj(a,1);if(!((b|0)==1&r[906204]!=0)){ni(a,194044,0)}if((b|0)==1){qi(906204,0,50376)}return 0}function fu(a,b,c,d){q[d>>2]=0;a=rt(a,b,c);if((a|0)<=-1){a=Ll(158710,114,q[240833]);return(a|0)==-27?-3:a}q[d>>2]=a;return 0}function eu(a,b,c,d){q[d>>2]=0;a=yw(a,b,c);if((a|0)<=-1){a=Ll(158710,114,q[240833]);return(a|0)==-27?-3:a}q[d>>2]=a;return 0}function aM(a){if((a|0)>=21){J(88508,85651,11485,88546);G()}a=w(a,12)+88256|0;return(q[a+4>>2]<<1|1)+(q[a+8>>2]<<2)<>2]}function O$(a){var b=0;b=q[q[239986]+16>>2];if(!b){o[a+60|0]=r[a+60|0]|4;return 0}tj(b);o[a+60|0]=r[a+60|0]|4;lj(b);return 0}function Lj(a,b,c,d){var e=0;e=q[a>>2];if((b-e|0)<1){return-96}if(r[e|0]==(d|0)){q[a>>2]=e+1;a=mq(a,b,c)}else{a=-98}return a}function LU(a,b,c){a=a-3|0;if(a>>>0<=5){a=a<<2;q[b>>2]=q[a+268236>>2];q[c>>2]=q[q[a+268260>>2]+4>>2];a=0}else{a=-46}return a}function L0(a){a=a|0;var b=0;b=fi-80|0;fi=b;q[b+4>>2]=gs(Vi(a,1),b+16|0,64);q[b>>2]=115799;nj(a,116396,b);fi=b+80|0;return 1}function n0(a){a=a|0;var b=0;a=q[Vi(a,1)>>2];if(a){a:{if(q[a>>2]<1){break a}b=q[a+4>>2];if(!b){break a}ki(b)}ki(a)}return 0}function gD(a,b,c,d,e,f,g,h,i,j,k){a:{b=YU(a,b,d,e,f,g);if(b){break a}b=eD(a,c,h,i);if(b){break a}return _U(a,k,j)}return b}function dna(a){a=a|0;var b=0;b=Vi(a,1);if(!b){J(18905,15813,247,18907);G()}Xi(a,-1e4,q[b+16>>2]);Hi(a,2);Tj(a,-2);return 1}function cV(a,b,c,d,e,f){if(!f){return-20352}a=fV(a,b,c,d,e+1|0,f-1|0);if(!a){o[e|0]=q[d>>2];q[d>>2]=q[d>>2]+1;a=0}return a}function c9(a){a=a|0;var b=0;Ki(a);yi(a,-1,q[213955],189399);oi(a,-2);b=gj(a,1);vj(a,2,1);a=Fj(a,2);b8(b,(a|0)!=0);return 0}function bA(a,b,c,d,e){a=q[a+156>>2];q[b>>2]=q[a+36>>2];q[c>>2]=q[a+40>>2];q[d>>2]=q[a+28>>2];q[e>>2]=q[a+32>>2]&2147483647}function T5(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=0;b=rj(b,c,q[66182],d+12|0);if(!b){CG(a,q[d+12>>2])}fi=d+16|0;return!b}function sia(a,b,c){a=a|0;b=b|0;c=c|0;a=q[q[a+344>>2]+12>>2];if(c){a=Ls(a,b,c);return a|0}ii=q[a+100>>2];return q[a+96>>2]}function lY(a){a=a|0;var b=0;b=UD(a);a:{if((ri(a,1)|0)==6){if(!Dp(a,1)){break a}}Mj(a,1,129736)}Hi(a,1);Hn(a,b,1);return 1}function l0(a){a=a|0;var b=0,c=0;c=q[q[Vi(a,1)>>2]>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function hfa(a){var b=0,c=0;b=fi-32|0;fi=b;a=q[a>>2];c=Ti(b+8|0,a,0,65612,323);ek(a,65652,241712);oi(a,-2);Si(c);fi=b+32|0}function _X(a){a=a|0;var b=0;if(sx(a,yl(a,1,0,0))){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;ak(a,-2);a=2}else{a=1}return a|0}function Wga(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=q[a+8>>2];mi(3,55840,55848,b);q[q[a+24>>2]+8>>2]=1;fi=b+16|0;return 0}function Uga(a){a=a|0;var b=0,c=0;b=q[q[a+8>>2]+8>>2];c=q[b+4>>2];if(c){Di(q[a>>2],c)}a=q[b>>2];if(a){Ui(a)}ki(b);return 0}function AR(a){a=a|0;var b=0,c=0;c=eb(yl(a,1,0,0)|0)|0;b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function yia(a,b,c,d){var e=0;e=q[a+100>>2];a=q[a+156>>2];return s[e+(w(w(q[a+32>>2],b)+d|0,q[a+28>>2])+c<<1)>>1]+1&65535}function yW(a){a=a|0;var b=0,c=0;c=_ta(Ai(a,1),Ai(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function sj(a,b,c){var d=0;if((c|0)!=-2){d=q[79154];if((d|0)<=0){mi(4,110525,110995,0);d=q[79154]}q[79154]=d-1;ho(a,b,c)}}function kca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=s[a+160>>1];if(d>>>0>b>>>0){p[(w(b,20)+a|0)+10>>1]=c}return b>>>0>>0|0}function kC(a){var b=0;a:{if(!q[a+136>>2]|!q[a+140>>2]){break a}if(q[a+128>>2]){b=1;if(q[a+132>>2]){break a}}b=0}return b}function jR(a,b){a=a|0;b=b|0;var c=0;c=b;b=q[b>>2]+15&-16;q[c>>2]=b+16;v[a>>3]=$A(q[b>>2],q[b+4>>2],q[b+8>>2],q[b+12>>2])}function _S(a){a=a|0;var b=0,c=0;c=q[ml(a,124717)>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function XX(a){a=a|0;var b=0;vj(a,1,5);oi(a,2);if(dk(a,1)){a=2}else{b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;a=1}return a|0}function Wta(a,b){var c=0;c=q[a+12>>2];q[a+12>>2]=c+1;q[ll(a,c)>>2]=b;if(q[a+4>>2]==q[a+12>>2]){q[a+12>>2]=q[a+4>>2]>>>1}}function TQ(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;q[f>>2]=q[a+4>>2];return uU(a,g,h,b,d,c,e)|0}function S2(a){q[79169]=0;q[79170]=0;q[79168]=764;q[79167]=765;q[79166]=766;q[79171]=0;q[79172]=0;q[79173]=0;by(a,316664)}function OM(a){var b=0;a:{if(!a|!r[a|0]){break a}b=Oj(1,319504);if(b){q[b+80>>2]=9;if(wS(b,a)){break a}ki(b)}b=0}return b}function $S(a){a=a|0;var b=0,c=0;c=q[ml(a,124351)>>2];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function sha(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}q[a>>2]=0;b=q[a+4>>2];if(b){Ts(b)}ki(a);return 0}function rW(a){a=a|0;var b=0,c=0;c=YZ(Ai(a,1),Ai(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function pW(a){a=a|0;var b=0,c=0;c=Bx(Ai(a,1),gj(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function jW(a){a=a|0;var b=0,c=0;c=qp(Ai(a,1),Ai(a,2));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function gn(a){var b=0,c=0;b=fi-16|0;fi=b;c=(a>>>0)/1e6|0;q[b+8>>2]=c;q[b+12>>2]=w(a-w(c,1e6)|0,1e3);Iw(b+8|0);fi=b+16|0}function fp(a){var b=0;b=a;a=q[a>>2];a=a?a:1;a=w(a&65535,36969)+(a>>>16|0)|0;q[b>>2]=a;return w(a&65535^a>>>16,6)>>>16|0}function cQ(a){a=a|0;var b=0;vj(a,1,5);b=wl(a,1);Fo(a,40,130794);if((ri(a,2)|0)>=1){vj(a,2,6)}oi(a,2);cM(a,1,b);return 0}function Yta(a,b){var c=0;a:{if(!Sl(a,1)){break a}wi(a,b);gl(a,-2);b=ri(a,-1);oi(a,-3);if(!b){break a}c=Vi(a,1)}return c}function N5(a){var b=0,c=0;a:{b=q[a>>2];if(b){while(1){c=q[b+4>>2];ki(b);b=c;if(b){continue}break}if(!a){break a}}ki(a)}}function Hka(a){a=a|0;var b=0;a=q[a+4>>2];if(a){a:{if(o[a+12|0]&1){break a}b=q[a>>2];if(!b){break a}ki(b)}ki(a)}return 0}function Fia(a,b){var c=0;c=q[a+4>>2];a=q[a>>2];if(c-a>>2>>>0<=b>>>0){J(49482,49228,447,49493);G()}return q[a+(b<<2)>>2]}function DP(a,b){if(!(q[a+20>>2]?!(b|!(r[q[a>>2]+185|0]&4)):0)){Aj(a,2,40);return-31104}q[q[a+68>>2]+2272>>2]=1;return 0}function AZ(a){a=a|0;var b=0,c=0;vj(a,1,5);c=wl(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function xP(a,b,c){b=qV(q[a+68>>2]+8|0,b,c);if(!b){return t[q[a>>2]+176>>2]>q[q[a+68>>2]+8>>2]<<3>>>0?-31488:0}return b}function dn(a){var b=0;if(!(a&32768)){J(98576,85651,3365,98592);G()}b=a&30;return(b+(a>>>5&31)|0)+(a>>>10&31)+(b>>>4)|0}function Rk(a,b){var c=0;c=fi-16|0;fi=c;Xsa(c+8|0,a,b);fi=c+16|0;return r[c+11|0]+(r[c+10|0]+(r[c+8|0]+r[c+9|0]|0)|0)|0}function Gra(){var a=0;a=Oj(1,132);if(a){ji[q[66742]](a,0,64)|0;ji[q[66742]](a- -64|0,0,64)|0;q[a+128>>2]=64}return a|0}function EP(a,b){if(!(q[a+20>>2]?!(b|!(r[q[a>>2]+185|0]&2)):0)){Aj(a,2,40);return-31104}q[q[a+64>>2]+124>>2]=1;return 0}function op(a,b,c){if(ri(a,2)){Hi(a,2);Hi(a,b-1|0);Hi(a,c-2|0);zk(a,2,1);b=Fj(a,-1);oi(a,-2);return b}return UW(a,b,c)}function hl(a,b){var c=0;c=bj(a,16);u[c>>2]=u[b>>2];u[c+4>>2]=u[b+4>>2];u[c+8>>2]=u[b+8>>2];zi(a,-1e4,120656);aj(a,-2)}function d5(a){q[a+1884>>2]=q[a+1880>>2];q[a+1948>>2]=q[a+1944>>2];q[a+1900>>2]=q[a+1896>>2];q[a+1964>>2]=q[a+1960>>2]}function bk(a){var b=0,c=0;c=q[79152];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;ak(a,-2);Wi(a,-10002)}function _$(a){var b=0;b=q[q[239986]+16>>2];if(!b){return(Wx(a)|0)==-1?-12:0}tj(b);a=Wx(a);lj(b);return(a|0)==-1?-12:0}function WZ(a,b,c){if(a|b){while(1){c=c-1|0;o[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function Gua(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c-1|0;d=c+a|0;if((b|0)!=r[d|0]){continue}break}return d}function uta(a,b){var c=0;o[a+3|0]=255;c=b&15;o[a+2|0]=c<<4|c;c=b>>>4&15;o[a+1|0]=c<<4|c;c=a;a=b>>>8&15;o[c|0]=a<<4|a}function q_(a,b){var c=0,d=0;d=b+24|0;c=bo(d,d,a+4|0);a:{if(c){break a}c=Jj(a,b,b,d);if(c){break a}c=gk(d,1)}return c}function pfa(a){a=a|0;var b=0;b=q[a>>2];a=q[a+4>>2];if(q[b+16>>2]==q[a>>2]&q[a+4>>2]==q[b+20>>2]){uu(q[b+24>>2],3,0)}}function nR(a,b){var c=0;c=fi-128|0;fi=c;Or(c);a=pR(q[a+4>>2],q[a+8>>2],c);if(!a){a=oR(c,b)}Gn(c);fi=c+128|0;return a}function i3(a,b,c){a=a|0;b=b|0;c=c|0;q[a+8>>2]=Uj();q[a+12>>2]=ii;q[a+24>>2]=c;q[a+28>>2]=0;q[a+16>>2]=b;q[a+20>>2]=0}function hna(a){a=a|0;var b=0,c=0;c=q[Vi(a,1)+4>>2];b=q[a+8>>2];q[b+8>>2]=2;q[b>>2]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function _5(a,b){a=q[a+16>>2];if(t[a+4>>2]<=b>>>0){J(135437,135449,260,135487);G()}return q[(q[a>>2]+(b<<7)|0)+56>>2]}function Y5(a,b){a=q[a+16>>2];if(t[a+4>>2]<=b>>>0){J(135437,135449,260,135487);G()}return q[(q[a>>2]+(b<<7)|0)+48>>2]}function Xla(a){a=a|0;var b=0;a=q[q[a+16>>2]>>2];b=q[a+56>>2];if(b&65536){q[a+56>>2]=b&-65537;Ms(q[a+36>>2])}return 0}function WC(a,b,c){var d=0,e=0;if(c){while(1){e=r[b+d|0]^r[a+d|0]|e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}return e}function Qma(a){a=a|0;var b=0,c=x(0);c=Vna(Fm(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function P2(a){q[79179]=0;q[79180]=0;q[79178]=777;q[79181]=0;q[79182]=0;q[79183]=0;q[79184]=0;q[79185]=0;by(a,316712)}function NB(a,b){var c=0,d=0;c=fi-16|0;fi=c;lO(c,a,b);d=$A(q[c>>2],q[c+4>>2],q[c+8>>2],q[c+12>>2]);fi=c+16|0;return d}function Jy(a,b){var c=0;c=Ci(32);p[c+24>>1]=0;q[c+16>>2]=0;q[c+20>>2]=-1;q[c+8>>2]=a;q[c+12>>2]=b;q[c>>2]=0;return c}function Ap(a){var b=0;b=q[a>>2];if(b){ji[q[66742]](b,0,q[a+4>>2])|0;ki(q[a>>2])}ki(q[a+8>>2]);ji[q[66742]](a,0,12)|0}function $o(a,b){q[a>>2]=4;u[a+8>>2]=u[b>>2];u[a+12>>2]=u[b+4>>2];u[a+16>>2]=u[b+8>>2];u[a+20>>2]=u[b+12>>2];return a}function nC(a){var b=0;b=q[a+68>>2];if(b){ow(b);_n(q[a+68>>2],0);_n(q[a+68>>2],1);_n(q[a+68>>2],2);_n(q[a+68>>2],3)}}function c_(a){a=a|0;var b=0,c=0,d=0;d=a;c=om(a,130969);b=q[c>>2];if(!b){ni(a,131041,0);b=q[c>>2]}return CE(d,b,2)|0}function ZQ(a,b){a=a|0;b=b|0;q[b+12>>2]=1;q[b>>2]=1;q[b+20>>2]=a+20;q[b+16>>2]=145311;q[b+8>>2]=a+8;q[b+4>>2]=145305}function CX(a,b){jo(b,q[b+32>>2]);dj(a,q[b+40>>2],w(q[b+48>>2],24),0);dj(a,q[b+32>>2],q[b+44>>2]<<4,0);dj(a,b,120,0)}function $Z(a){a=a|0;var b=0,c=0,d=0;d=a;c=om(a,130969);b=q[c>>2];if(!b){ni(a,131041,0);b=q[c>>2]}return BE(d,b,2)|0}function $$(a){var b=0;b=fi-16|0;fi=b;q[b+12>>2]=1;if((sl(a,6,1,b+12|0,4)|0)<=-1){Ll(158710,289,q[240833])}fi=b+16|0}function xX(a,b){if(q[b+8>>2]!=(b+16|0)){q[q[b+20>>2]+16>>2]=q[b+16>>2];q[q[b+16>>2]+20>>2]=q[b+20>>2]}dj(a,b,32,0)}function vL(a,b,c,d,e,f,g,h,i){q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function tR(a){a=a|0;var b=0;b=fi-32|0;fi=b;a:{if(!_N(b)){a=ni(a,131612,0);break a}wi(a,b);a=1}fi=b+32|0;return a|0}function a0(a,b){a=tC(q[(a<<2)+159564>>2],1,6);q[b>>2]=a;if((a|0)<=-1){a=Ll(158710,282,q[240833])}else{a=0}return a}function T4(a){a=a|0;var b=0,c=0;c=Vi(a,1);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=(c|0)!=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function $C(a){var b=0,c=0;a:{if(!a){break a}b=q[a>>2];if(!b){break a}c=ji[q[b+8>>2]](q[a+4>>2])|0}return c+7>>>3|0}function ui(a){var b=0;b=fi-16|0;fi=b;q[b+12>>2]=0;q[b+4>>2]=a;q[b>>2]=a;q[b+8>>2]=a+1;a=Qua(b);fi=b+16|0;return a}function ps(a){var b=0;if(a){gU(q[a>>2]);b=q[a+4>>2];q[b>>2]=-1;OU(b);$T(q[a>>2]);ki(q[a+4>>2]);ki(q[a>>2]);ki(a)}}function kga(a){a=a|0;var b=0;b=q[q[a+8>>2]+8>>2];if(!b){J(58740,58783,130,58827);G()}_z(q[a>>2],b);GG(b);return 0}function iD(a){var b=0;b=a+8|0;if(b){ji[q[66742]](b,0,216)|0}q[a+224>>2]=0;ji[q[66742]](a+228|0,0,400)|0;q[a>>2]=0}function eo(a,b){var c=0;c=_j(a,b);a:{if(c){break a}c=_j(a+12|0,b+12|0);if(c){break a}c=_j(a+24|0,b+24|0)}return c}function bda(a,b){a=a|0;b=b|0;if(a){if(r[a+104|0]&4){a=Eb(b|0)|0}else{a=0}return a|0}J(79156,79164,1176,80667);G()}function X$(){var a=0,b=0;b=q[239986];a=q[b+33916>>2];if((a|0)==-1){q[b+33916>>2]=0;a=0}q[b+33916>>2]=a+1;return a}function Vta(a,b){var c=0,d=0,e=0;if(b){c=b>>>1|0;d=q[ll(a,c)>>2];e=q[ll(a,b)>>2];q[ll(a,c)>>2]=e;q[ll(a,b)>>2]=d}}function Up(a,b,c){zi(a,-1e4,b);wi(a,c);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=1;q[a+8>>2]=q[a+8>>2]+16;qj(a,-3);oi(a,-2)}function DR(a){a=a|0;var b=0,c=0;c=+(Qh()|0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c/1e6;q[a+8>>2]=q[a+8>>2]+16;return 1}function vW(a){a=a|0;var b=0,c=0;c=zra(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function lG(a){var b=0,c=0;b=q[a+16>>2];c=q[a+24>>2];return((ji[q[74966]](q[a>>2])|0)+w((c-b|0)/80|0,68)|0)+144|0}function gU(a){a:{if(!a|!q[a>>2]){break a}if(q[a+216>>2]){tp(a);return}if(q[a+4>>2]==16){if(Aj(a,1,0)){break a}}}}function Ty(a){qi(q[a>>2],255,q[a+4>>2]<<2);q[a+20>>2]=-1;q[a+24>>2]=0;q[a+12>>2]=q[a+8>>2];q[a+36>>2]=q[a+32>>2]}function Fka(a){a=a|0;var b=0;b=Ci(16);q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[q[a+12>>2]>>2]=b;return 0}function Eca(a,b,c){a=a|0;b=b|0;c=c|0;if(ji[c|0](a)|0){while(1){Fa(b|0,a|0,0,1);if(ji[c|0](a)|0){continue}break}}}function BW(a){a=a|0;var b=0,c=0;c=oua(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function AW(a){a=a|0;var b=0,c=0;c=aua(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function zW(a){a=a|0;var b=0,c=0;c=XA(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function wW(a){a=a|0;var b=0,c=0;c=yv(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function tW(a){a=a|0;var b=0,c=0;c=bu(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function oW(a){a=a|0;var b=0,c=0;c=lE(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function nW(a){a=a|0;var b=0,c=0;c=oY(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function nK(a,b){var c=0;Ki(a);c=yi(a,-1,q[72645],18648);oi(a,-2);Hk(a,1,q[q[q[c+4>>2]+80>>2]+8>>2],65773,b,0,0)}function fW(a){a=a|0;var b=0,c=0;c=cq(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function eW(a){a=a|0;var b=0,c=0;c=mQ(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function dY(a){a=a|0;var b=0,c=0;c=Jt(a,3,0);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;return 1}function cW(a){a=a|0;var b=0,c=0;c=kO(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function bY(a){a=a|0;var b=0;Tl(a,1);if(!Sl(a,1)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 1}_D(a);return 1}function bW(a){a=a|0;var b=0,c=0;c=jO(Ai(a,1));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c;q[a+8>>2]=q[a+8>>2]+16;return 1}function b8(a,b){var c=0;c=fi-16|0;fi=c;if(a>>>0>=4){q[c>>2]=a;mi(3,133208,133402,c);a=0}Ma(1,a|0,b|0);fi=c+16|0}function A5(a){if(!a){return}q[a+1852>>2]=0;qy(q[a+1876>>2]);w5(a);v5(a);$m(q[a+2216>>2],q[a+2220>>2]);ki(e5(a))}function xW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=D(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function sW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=C(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function k$(){var a=0;a=fi-16|0;fi=a;if(gR(a+12|0)){J(169004,169013,105,169045);G()}fi=a+16|0;return q[a+12>>2]}function i8(a,b){var c=0;if(!(!b|q[a+2604>>2]>-1)){si(b,a+3120|0,260);o[a+3120|0]=0;q[a+3376>>2]=0;c=1}return c}function gT(a){a=a|0;var b=0;rr(ml(a,124351));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function fT(a){a=a|0;var b=0;rr(ml(a,124717));b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=1;q[a+8>>2]=q[a+8>>2]+16;return 1}function eY(a){a=a|0;var b=0;b=cm(a,2,1);oi(a,1);if(!(!$j(a,1)|(b|0)<1)){Ur(a,b);Hi(a,1);Jl(a,2)}return fo(a)|0}function dW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=F(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function _D(a){if(Sl(a,1)){wi(a,129337);gl(a,-2);if(!ri(a,-1)){oi(a,-3);return 0}Ok(a,-2);a=1}else{a=0}return a}function Oua(a){var b=0;a:{a=q[a+8>>2];b=r[a|0];if((b|0)!=1){if(b&2){break a}o[a|0]=2;a=1}else{a=0}return a}G()}function J2(a){q[210273]=810;q[210272]=811;q[210271]=812;q[210270]=813;q[210269]=814;q[210266]=815;by(a,841064)}function CW(a){a=a|0;var b=0,c=0;c=Ai(a,1);b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=y(c);q[a+8>>2]=q[a+8>>2]+16;return 1}function $ea(a){var b=0;b=fi-16|0;fi=b;q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=a?3:4;q[b>>2]=298432;Wz(b);fi=b+16|0}function sv(a){var b=0;b=q[a+8>>2];a=q[a+4>>2];if(b>>>0>a>>>0){J(22871,22890,86,22971);G()}return(a|0)==(b|0)}function rP(a,b){if(!(q[q[a>>2]+184>>2]&32768?!b:0)){Aj(a,2,40);return-31104}q[q[a+68>>2]+2268>>2]=1;return 0}function Sra(a,b){a=a|0;b=b|0;if(q[q[a+16>>2]+48>>2]){while(1){HM(a);if(q[q[a+16>>2]+48>>2]){continue}break}}}function LE(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=lV(a,c,d,e,f);return((a|0)==-19456?-14592:a)|0}function Ki(a){var b=0,c=0;c=q[79152];b=q[a+8>>2];q[b+8>>2]=3;v[b>>3]=c|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002)}function Jia(a,b){if(o[b+137|0]&1){q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function Fca(a,b,c){a=a|0;b=b|0;c=c|0;if(a){if(r[a+104|0]&4){Na(b|0,c|0)}return}J(79156,79164,1244,80802);G()}function Bma(a){var b=0,c=0;b=fi-16|0;fi=b;c=q[a>>2];q[b+8>>2]=a;a=a+26528|0;Xv(a,a+(c<<1)|0,b+8|0);fi=b+16|0}function BA(a){a=a-1|0;if(!(a>>>0>=18|!(258303>>>a&1))){return q[(a<<2)+23040>>2]}J(22975,23001,52,23025);G()}function y3(a){var b=0,c=0;while(1){if(!a){return}b=q[a>>2];c=ji[q[a+20>>2]](a)|0;a=b;if(!c){continue}break}}function wX(a,b,c){var d=0;d=a;a=dj(a,0,0,(b<<4)+24|0);tq(d,a,6);q[a+12>>2]=c;o[a+6|0]=1;o[a+7|0]=b;return a}function uY(a){a=a|0;vj(a,1,5);if(!Sl(a,1)){ij(a,0,1);Hi(a,-1);aj(a,1)}Hi(a,-10002);pi(a,-2,130290);return 0}function oP(a,b){if(!(q[q[a>>2]+184>>2]&16384?!b:0)){Aj(a,2,40);return-31104}q[q[a+64>>2]+120>>2]=1;return 0}function goa(a,b){var c=0;q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;c=a+8|0;q[c>>2]=0;q[c+4>>2]=0;vi(b,4,a,c,a+4|0)}function aC(a,b){var c=0;if(b){while(1){c=r[a|0]^c;a=a+1|0;b=b-1|0;if(b){continue}break}}o[(fi-16|0)+15|0]=c}function W5(a){var b=0;b=Ci(20);q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;CG(b,a);return b}function Vx(a){a=Wh(a|0,493)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}if(!a){return 0}return Ux(q[240833])}function Qua(a){var b=0,c=0;b=fi-16|0;fi=b;q[b+8>>2]=q[a+4>>2];if(!r[q[b+8>>2]]){c=Oua(a)}fi=b+16|0;return c}function Ot(a,b,c,d){var e=0;e=fi-16|0;fi=e;q[e+12>>2]=c;q[e+8>>2]=b;a=ox(a,1001,e+8|0,d);fi=e+16|0;return a}function LA(a,b,c){q[a+24>>2]=0;q[a+28>>2]=0;q[a+20>>2]=c;q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=0;v[a>>3]=iw()}function Isa(a,b){var c=0,d=0,e=0;c=fi-160|0;fi=c;d=a;a=c+8|0;if(wn(d,a,0,0)){e=Gsa(a,b)}fi=c+160|0;return e}function Em(a,b,c,d,e){var f=0;f=fi-16|0;fi=f;q[f+8>>2]=c;q[f+12>>2]=d;a=Qea(a,b,f+8|0,e);fi=f+16|0;return a}function Bn(a){var b=0;b=fi-16|0;fi=b;Y(b+8|0,0)|0;v[a+16>>3]=+q[b+12>>2]/1e6+ +q[b+8>>2];fi=b+16|0;return a}function m$(a,b){var c=0;c=fi-96|0;fi=c;q[c>>2]=b;cj(a,1024,183907,c);a=Am(a,c+8|0);fi=c+96|0;return a?-2:0}function lS(a,b){var c=0;c=a;a=((b<<1)+4&8)+b|0;a=w(2-w(a,b)|0,a);a=w(2-w(a,b)|0,a);q[c>>2]=w(w(a,b)-2|0,a)}function cT(a){a=a|0;var b=0;ml(a,124717);b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function WX(a){a=a|0;var b=0;vj(a,1,5);Hi(a,-10003);Hi(a,1);b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;return 3}function QN(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<2)+a|0;if(y(c)<2147483648){q[a>>2]=~~c;return}q[a>>2]=-2147483648}function Bpa(a,b){var c=0;c=fi-16|0;fi=c;o[c+11|0]=b;a=ji[q[a>>2]](q[a+4>>2],c+11|0,1)|0;fi=c+16|0;return a}function gha(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[a>>2];a=q[q[a+8>>2]+8>>2];_u(b,c,a);if(a){ki(a)}return 0}function dva(a){a=a|0;a:{if(o[852340]&1){break a}a=q[213080];if(a){ki(a)}a=q[213078];if(!a){break a}ki(a)}}function bua(a,b){var c=0;c=fi-16|0;q[c+12>>2]=a;a=b>>>0>1?((b<<2)+a|0)-4|0:a;q[c+8>>2]=a+4;return q[a>>2]}function ava(a){a=a|0;a:{if(o[852048]&1){break a}a=q[213007];if(a){ki(a)}a=q[213005];if(!a){break a}ki(a)}}function afa(a){var b=0;b=fi-16|0;fi=b;q[b+4>>2]=a;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=298432;Wz(b);fi=b+16|0}function Fu(a,b,c){var d=0;d=q[a>>2];if(!q[d+2128>>2]){a=Yl(a,b,c);if(!a){return 0}q[d+2128>>2]=a}return-1}function cn(a){if((a|0)>=0){J(98576,85651,3380,98615);G()}return((a>>>26&31)+(a>>>21&31)|0)+(a>>>16&31)|0}function Uca(a,b){a=a|0;b=b|0;if(!b){J(81524,79164,1673,81568);G()}return _I(35632,q[b+4>>2],q[b+8>>2])|0}function OW(a,b){if(s[a+52>>1]>s[a+54>>1]){Ck(a,126357,0)}o[a+6|0]=1;q[a+12>>2]=q[a+8>>2]-(b<<4);return-1}function Mi(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+8>>2]=a;q[d+4>>2]=c;q[d>>2]=b;mi(4,79120,80130,d);fi=d+16|0}function Mca(a,b){a=a|0;b=b|0;if(!b){J(81524,79164,1667,81528);G()}return _I(35633,q[b+4>>2],q[b+8>>2])|0}function Fma(a,b){if(a){if(b>>>0<=32765){q[a+28080>>2]=b;a=0}else{a=-7}return a}J(7136,7150,226,7183);G()}function El(a,b,c){var d=0;d=b;b=b>>31;a:{if(q[a+76>>2]<=-1){a=qM(a,d,b,c);break a}a=qM(a,d,b,c)}return a}function rR(a,b,c){var d=0,e=0;e=c+136|0;d=q[a>>2];d=ex(c,e,d,b-d|0);if(!d){d=pD(c,e)}q[a>>2]=b;return d}function gva(a){a=a|0;a:{if(o[291592]&1){break a}a=q[72893];if(a){ki(a)}a=q[72891];if(!a){break a}ki(a)}}function Xua(a){a=a|0;a:{if(o[316660]&1){break a}a=q[79160];if(a){ki(a)}a=q[79158];if(!a){break a}ki(a)}}function Sp(a,b){var c=0,d=0;d=fi-160|0;fi=d;c=a;a=d+8|0;c=wn(c,a,0,0);if(c){vo(a,b)}fi=d+160|0;return c}function F5(a){if(q[a+1712>>2]){q[a+1728>>2]=0;q[a+1148>>2]=0;q[a+860>>2]=0;q[a+572>>2]=0;q[a+284>>2]=0}}function vR(a){a=a|0;var b=0;b=yl(a,1,0,0);wi(a,QQ(q[(sq(a,2,131544,262048)<<2)+131520>>2],b));return 1}function ti(a){var b=0;b=fi-16|0;fi=b;q[b+12>>2]=0;q[b+4>>2]=a;q[b>>2]=a;q[b+8>>2]=a+1;Pua(b);fi=b+16|0}function rB(a,b,c){a:{if(q[a+4>>2]==(c|0)){if(!Pv(b,q[a+8>>2],c)){break a}}return oN(b,a)?-1:0}return 0}function ol(a,b){var c=0;c=fi-16|0;fi=c;q[c+12>>2]=q[a>>2];q[a>>2]=q[b>>2];q[b>>2]=q[c+12>>2];fi=c+16|0}function e8(a){var b=0;b=qi(Ci(3672),0,3668);q[b+3668>>2]=r[a|0]<<1&126;q[b+3656>>2]=q[a+4>>2];return b}function cda(a){a=a|0;if(a){if(r[a+104|0]&4){a=Db()|0}else{a=0}return a|0}J(79156,79164,1185,79198);G()}function LN(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<2)+a|0;if(c<4294967296&c>=0){q[a>>2]=~~c>>>0;return}q[a>>2]=0}function JN(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<1)+a|0;if(c<4294967296&c>=0){p[a>>1]=~~c>>>0;return}p[a>>1]=0}function F7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+4>>2]=a;o[d+564|0]=0;gH(q[d+8>>2],d);return q[d+36>>2]}function uga(a){a=a|0;var b=0;b=q[q[a+8>>2]+8>>2];Hp(q[a>>2],470,b);Zz(q[a>>2],b);if(b){ki(b)}return 0}function ona(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Yo(b,a+48|0);Ui(q[a+40>>2]);vA(a);return 0}function jD(a){var b=0;b=gk(a,1);a:{if(b){break a}b=gk(a+12|0,1);if(b){break a}b=gk(a+24|0,0)}return b}function IC(a){var b=0;b=q[240833];a=Fl(q[a>>2],3,0);q[240833]=b;if(!(a&2048)){return 0}return(b|0)==6}function DK(a){var b=0,c=0;b=q[a+4>>2];c=q[a>>2];if((b|0)!=(c|0)){q[a+4>>2]=(((b-c|0)-8>>>3^-1)<<3)+b}}function RK(a){var b=0;b=q[a+8>>2];if(b>>>0>t[a+4>>2]){J(22871,22890,33,22921);G()}return b-q[a>>2]|0}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;return kV(a,b,c,d,e,f)|0}function ID(a,b,c){var d=0;d=q[a>>2];if((d-b|0)<1){return-108}b=a;a=d-1|0;q[b>>2]=a;o[a|0]=c;return 1}function HZ(a,b,c){a=a|0;b=b|0;c=c|0;a=q[b+4>>2];if(!a){return 0}q[c>>2]=a;q[b+4>>2]=0;return q[b>>2]}function z$(a){a=a|0;var b=0;b=q[a+12>>2];a:{if(!b){break a}uB(b);if(q[b+96>>2]){break a}ki(b)}ki(a)}function k7(a,b){if(!a){q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;return 0}return YG(a,Fi(a),b)}function fC(a){var b=0;b=hC(a);b=b-1>>>0<16748?b:16749;a=q[a+216>>2];return a>>>0>b>>>0?-27648:b-a|0}function d8(a,b,c){if(!a){J(133162,133170,201,133185);G()}a=w(b,160)+a|0;o[a+141|0]=c;o[a+140|0]=c^1}function Qga(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Di(b,q[a+4>>2]);if(a){ki(Ny(a))}return 0}function tq(a,b,c){a=q[a+16>>2];q[b>>2]=q[a+28>>2];q[a+28>>2]=b;a=r[a+20|0];o[b+4|0]=c;o[b+5|0]=a&3}function Z2(a){var b=0;b=q[q[a>>2]+120>>2];Xi(b,-1e4,q[a+4>>2]);ak(b,-2);Tj(b,-2);ak(b,-2);oi(b,-2)}function Wea(a,b){var c=0,d=0;d=a;c=r[a+24|0];if(!(!(c&16)^b)){c=r[a+24|0]}o[d+24|0]=c&239|(b?16:0)}function Uua(a){a=a|0;tj(q[212944]);a=q[212943];if(a){if(a){ki(Aqa(a))}}lj(q[212944]);Tn(q[212944])}function sra(a){a=a|0;var b=0;Tl(a,1);if(!Sl(a,1)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}return 1}function _q(a){var b=0;a=ia(a|0)|0;a=(a|0)==27?0:a;b=0;a:{if(!a){break a}q[240833]=a;b=-1}return b}function Pua(a){var b=0;b=fi-16|0;fi=b;q[b+8>>2]=q[a+4>>2];o[q[b+8>>2]]=1;o[q[a+8>>2]]=1;fi=b+16|0}function vr(a,b,c,d){if((c|0)==1){o[d|0]=1-a;o[d+1|0]=0-((b|0)==2?1:b);return}o[d|0]=a;o[d+1|0]=b}function dl(a,b){var c=0;c=fi-16|0;fi=c;o[c+15|0]=r[a|0];o[a|0]=r[b|0];o[b|0]=r[c+15|0];fi=c+16|0}function bO(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;return GB(6,a,b,c,d,e,f,g)|0}function aO(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;return GB(7,a,b,c,d,e,f,g)|0}function Xea(a,b){var c=0,d=0;d=a;c=r[a+24|0];if(!(!(c&8)^b)){c=r[a+24|0]}o[d+24|0]=c&247|(b?8:0)}function ON(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<1)+a|0;if(y(c)<2147483648){p[a>>1]=~~c;return}p[a>>1]=0}function Mn(a,b,c){a=q[a+16>>2];if(r[a+21|0]==1){rk(a,c);return}o[b+5|0]=r[a+20|0]&3|r[b+5|0]&248}function Lp(a,b,c){var d=0;d=-1;if(!(!b|b&1)){a=Pqa(a,b,c);d=(a|0)==28?-1:(a|0)==48?-2:0}return d}function Cta(a,b){var c=0;c=wo(a,b?56:60,4);return(wo(a,b?48:52,4)<<4|c<<8|wo(a,b?40:44,4))&65535}function zka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+148>>2];if(!a){return 0}return Gs(a,b,c,d)|0}function sR(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=_i(a,-1,0);ZZ(q[51432],b);fi=b+16|0;return 0}function pja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+144>>2];if(!a){return 0}return Gs(a,b,c,d)|0}function ns(a,b){var c=0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Tj(a,-10002)}function jka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+180>>2];if(!a){return 0}return Gs(a,b,c,d)|0}function iua(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;return ZV(a,b,c,d,e,f,g)|0}function aR(){var a=0,b=0;a=Oj(1,172);if(a){b=qi(a,0,172);q[b+168>>2]=0;q[b+164>>2]=0}return a|0}function VE(a,b){a=a|0;b=b|0;var c=0;c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;q[b+8>>2]=q[a+8>>2]}function Uka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+220>>2];if(!a){return 0}return Gs(a,b,c,d)|0}function Tq(a,b){var c=0;c=q[b+48>>2];q[a>>2]=c;Ty(c);c=q[a>>2];a=q[b>>2];aG(c,a,q[b+4>>2]-a>>2)}function R0(a,b){a=a|0;b=x(b);if(a){a=ju(a);if(a){K0(a,b)}return}J(119699,119520,450,119786);G()}function Qra(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;return UV(a,b,c,d,e,f,g)|0}function MN(a,b,c){a=a|0;b=b|0;c=+c;a=a+b|0;if(c<4294967296&c>=0){o[a|0]=~~c>>>0;return}o[a|0]=0}function Eja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+192>>2];if(!a){return 0}return Gs(a,b,c,d)|0}function D5(a){qi(q[a+16>>2],255,q[a+20>>2]<<2);q[a+36>>2]=-1;q[a+40>>2]=0;q[a+28>>2]=q[a+24>>2]}function Cy(a,b){b=q[b+8>>2];return N3(q[b+36>>2],q[b+40>>2],q[(q[b+8>>2]<<2)+24480>>2]>>>3|0,a)}function rJ(a){a=a|0;a:{if($j(a,-1)){Yj(a,li(_i(a,-1,0)),ii);break a}Hi(a,-1)}gl(a,-3);return 1}function iC(a){var b=0;if(a){while(1){b=q[a+12>>2];ki(q[a>>2]);ki(a);a=b;if(a){continue}break}}}function _L(a){QL(a+4|0);QL(a+16|0);ar(a+32|0);ar(a+68|0);ar(a+104|0);ar(a+140|0);q[a+176>>2]=0}function Dea(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function DT(a){q[a+208>>2]=20;q[a+212>>2]=1;o[q[a+204>>2]]=1;q[a+4>>2]=q[a+4>>2]+1;return fq(a)}function xV(a,b){var c=0;c=fi-384|0;fi=c;sL(c,a,b);ji[q[66742]](c,0,384)|0;fi=c+384|0;return 0}function wV(a,b){var c=0;c=fi-384|0;fi=c;sL(a,c,b);ji[q[66742]](c,0,384)|0;fi=c+384|0;return 0}function vV(a,b){var c=0;c=fi-384|0;fi=c;rL(c,a,b);ji[q[66742]](c,0,384)|0;fi=c+384|0;return 0}function uV(a,b){var c=0;c=fi-384|0;fi=c;rL(a,c,b);ji[q[66742]](c,0,384)|0;fi=c+384|0;return 0}function uM(a){return bu(a+ -1416.0996898839683)*2.247116418577895e+307*2.247116418577895e+307}function qwa(a,b){var c=0,d=0;c=b&31;d=(-1<>>c|0;c=a;a=0-b&31;return d|(c&-1>>>a)<>2];if(b>>>0>t[a+4>>2]){J(22867,22886,33,22917);G()}return b-q[a>>2]|0}function _Z(a,b,c){a=a|0;b=b|0;c=c|0;a=q[b+4>>2];if(!a){return 0}q[c>>2]=a;q[b+4>>2]=0;return q[b>>2]}function YE(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;return BV(a,b,c,d,e,f)|0}function PD(a,b,c){var d=0;d=q[a>>2];if((d-b|0)<1){return-108}b=a;a=d-1|0;q[b>>2]=a;o[a|0]=c;return 1}function sC(a){var b=0;b=uC(a);b=b-1>>>0<16748?b:16749;a=q[a+216>>2];return a>>>0>b>>>0?-27648:b-a|0}function gha(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Pi(b,q[a+8>>2]);if(a){yi(bz(a))}return 0}function T$(a){a=a|0;var b=0;b=q[a+12>>2];a:{if(!b){break a}EB(b);if(q[b+92>>2]){break a}yi(b)}yi(a)}function $7(a,b,c){if(!a){J(142426,142434,200,142449);G()}a=w(b,148)+a|0;o[a+141|0]=c;o[a+140|0]=c^1}function x3(a){var b=0;b=q[q[a>>2]+120>>2];bj(b,-1e4,q[a+4>>2]);hk(b,-2);Sj(b,-2);hk(b,-2);Ci(b,-2)}function vva(a){a=a|0;wj(q[215612]);a=q[215611];if(a){if(a){yi(tra(a))}}qj(q[215612]);Zn(q[215612])}function jfa(a,b){var c=0,d=0;d=a;c=r[a+24|0];if(!(!(c&16)^b)){c=r[a+24|0]}o[d+24|0]=c&239|(b?16:0)}function Fq(a,b,c){a=q[a+16>>2];q[b>>2]=q[a+28>>2];q[a+28>>2]=b;a=r[a+20|0];o[b+4|0]=c;o[b+5|0]=a&3}function sva(a){var b=0;b=ti-16|0;ti=b;q[b+8>>2]=q[a+4>>2];o[q[b+8>>2]]=1;o[q[a+8>>2]]=1;ti=b+16|0}function or(a){var b=0;a=ia(a|0)|0;a=(a|0)==27?0:a;b=0;a:{if(!a){break a}q[242957]=a;b=-1}return b}function nsa(a){a=a|0;var b=0;Ql(a,1);if(!Kl(a,1)){b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16}return 1}function Fu(a,b){var c=0;c=a;a=q[b+16>>2];return gu(c,q[(a?12:0)+b>>2],q[(a?16:4)+b>>2],q[b+8>>2])}function Dra(){var a=0,b=0;a=q[213374];if(a){b=q[a>>2];if(b){yi(b);yi(q[a+4>>2])}yi(a)}q[213374]=0}function oO(a,b,c){a=a|0;b=b|0;c=+c;a=(b<<1)+a|0;if(y(c)<2147483648){p[a>>1]=~~c;return}p[a>>1]=0}function kfa(a,b){var c=0,d=0;d=a;c=r[a+24|0];if(!(!(c&8)^b)){c=r[a+24|0]}o[d+24|0]=c&247|(b?8:0)}function hua(a,b){var c=0;c=Fo(a,b?56:60,4);return(Fo(a,b?48:52,4)<<4|c<<8|Fo(a,b?40:44,4))&65535}function Qn(a,b,c){a=q[a+16>>2];if(r[a+21|0]==1){xk(a,c);return}o[b+5|0]=r[a+20|0]&3|r[b+5|0]&248}function Mw(a,b){var c=0;c=ti-16|0;ti=c;o[c+15|0]=r[a|0];o[a|0]=r[b|0];o[b|0]=r[c+15|0];ti=c+16|0}function Jr(a,b,c,d){if((c|0)==1){o[d|0]=1-a;o[d+1|0]=0-((b|0)==2?1:b);return}o[d|0]=a;o[d+1|0]=b}function DO(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;return RB(6,a,b,c,d,e,f,g)|0}function DM(a){rM(a+4|0);rM(a+16|0);qr(a+28|0);qr(a- -64|0);qr(a+100|0);qr(a+136|0);q[a+172>>2]=0}function CO(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;return RB(7,a,b,c,d,e,f,g)|0}function mka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+192>>2];if(!a){return 0}return Vs(a,b,c,d)|0}function mO(a,b,c){a=a|0;b=b|0;c=+c;a=a+b|0;if(c<4294967296&c>=0){o[a|0]=~~c>>>0;return}o[a|0]=0}function jla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+148>>2];if(!a){return 0}return Vs(a,b,c,d)|0}function i1(a,b){a=a|0;b=x(b);if(a){a=Iu(a);if(a){b1(a,b)}return}J(127671,127536,454,127758);G()}function er(a,b){var c=0;c=q[b+48>>2];q[a>>2]=c;hz(c);c=q[a>>2];a=q[b>>2];lG(c,a,q[b+4>>2]-a>>2)}function cF(a,b){a=a|0;b=b|0;var c=0;c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;q[b+8>>2]=q[a+8>>2]}function a6(a){Fi(q[a+16>>2],255,q[a+20>>2]<<2);q[a+36>>2]=-1;q[a+40>>2]=0;q[a+28>>2]=q[a+24>>2]}function Zja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+144>>2];if(!a){return 0}return Vs(a,b,c,d)|0}function Tka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+180>>2];if(!a){return 0}return Vs(a,b,c,d)|0}function Nua(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;return pW(a,b,c,d,e,f,g)|0}function Lsa(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;return kW(a,b,c,d,e,f,g)|0}function Ela(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+220>>2];if(!a){return 0}return Vs(a,b,c,d)|0}function CR(){var a=0,b=0;a=Vj(1,172);if(a){b=Fi(a,0,172);q[b+168>>2]=0;q[b+164>>2]=0}return a|0}function Bs(a,b){var c=0;c=q[a+8>>2];q[c+8>>2]=3;v[c>>3]=b|0;q[a+8>>2]=q[a+8>>2]+16;Sj(a,-10002)}function vC(a){var b=0;if(a){while(1){b=q[a+12>>2];yi(q[a>>2]);yi(a);a=b;if(a){continue}break}}}function nta(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,365,101805);G()}return q[a>>2]+w(b,11)|0}function UJ(a){a=a|0;a:{if(ek(a,-1)){Zj(a,zi(dj(a,-1,0)),wi);break a}Qi(a,-1)}Vk(a,-3);return 1}function Pea(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=1;q[b>>2]=0;q[a+8>>2]=q[a+8>>2]+16;return 1}function PT(a){q[a+208>>2]=20;q[a+212>>2]=1;o[q[a+204>>2]]=1;q[a+4>>2]=q[a+4>>2]+1;return rq(a)}function qha(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];vv(b,a);if(a){lA(a);yi(a)}return 0}function pta(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,365,101805);G()}return q[a>>2]+(b<<3)|0}function nba(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=aj(a,1);vj(a,198500,b);ti=b+16|0;return 1}function lm(a,b,c){if((b|c)>>>0>=4){J(102020,101831,758,102039);G()}return r[a+c|0]>>>(b<<1)&3}function kja(a,b,c,d){b=ml(a,b,c,1);if(b){a:{if(o[a+141|0]&1){break a}}o[d|0]=0}return(b|0)!=0}function jta(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,365,101805);G()}return q[a>>2]+(b<<2)|0}function gta(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,365,101805);G()}return q[a>>2]+(b<<1)|0}function _j(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,366,101805);G()}return q[a>>2]+w(b,11)|0}function ZM(a){return wu(a+ -1416.0996898839683)*2.247116418577895e+307*2.247116418577895e+307}function Vwa(a,b){var c=0,d=0;c=b&31;d=(-1<>>c|0;c=a;a=0-b&31;return d|(c&-1>>>a)<>2]=Vi(a,1);nj(a,189564,b);fi=b+16|0;return 1}function hva(a){a=a|0;ki(q[72442]);a:{if(o[289788]&1){break a}a=q[72444];if(!a){break a}ki(a)}}function eL(a,b){var c=0;if(!(!r[906204]|((a|0)!=1|b>>>0>127))){c=q[(b<<2)+923036>>2]}return c}function _ga(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Zu(b,a);if(a){aA(a);ki(a)}return 0}function Oca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=ji[q[74910]](a,b,c)|0;p[a+162>>1]=d;return a|0}function Lia(a,b,c,d){b=al(a,b,c,1);if(b){a:{if(o[a+137|0]&1){break a}}o[d|0]=0}return(b|0)!=0}function HF(a,b){if(t[a+4>>2]<=b>>>0){J(136761,136773,192,136801);G()}return q[a>>2]+w(b,24)|0}function lK(a){var b=0;b=fi-16|0;fi=b;a=Y2(a,b+12|0,q[72645]);fi=b+16|0;return a?q[b+12>>2]:0}function iw(){var a=0;a=fi-16|0;fi=a;Y(a+8|0,0)|0;fi=a+16|0;return+q[a+12>>2]/1e6+ +q[a+8>>2]}function dba(a,b){a=a|0;b=b|0;Xi(a,-1e4,q[q[b>>2]+8>>2]);Xi(a,-1,q[b+4>>2]);ak(a,-2);oi(a,-2)}function bna(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=Vi(a,1);nj(a,18894,b);fi=b+16|0;return 1}function U4(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=Vi(a,1);nj(a,108088,b);fi=b+16|0;return 1}function TK(a){var b=0;b=q[a>>2];q[a+8>>2]=b;if(t[a+4>>2]>>0){J(22871,22890,40,22926);G()}}function SY(a){a=a|0;if(q[om(a,130969)>>2]){Rr(a,1);zi(a,-1,131070);ji[mx(a)|0](a)|0}return 0}function R4(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=Vi(a,1);nj(a,108281,b);fi=b+16|0;return 1}function Ow(a){var b=0,c=0;b=fi-32|0;fi=b;c=1;if(!mB(b+8|0)){c=sB(a,b+8|0)}fi=b+32|0;return c}function Nw(a){var b=0,c=0;b=fi-32|0;fi=b;c=1;if(!mB(b+8|0)){c=sB(b+8|0,a)}fi=b+32|0;return c}function $4(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b>>2]=Vi(a,1);nj(a,108169,b);fi=b+16|0;return 1}function zD(a){var b=0;if(a){b=a+32|0;if(b){ji[q[66742]](b,0,280)|0}ji[q[66742]](a,0,320)|0}}function ssa(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,352,95453);G()}return q[a>>2]+w(b,11)|0}function PY(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Bi(a,131344,26);return 2}function Ep(a,b){var c=0;c=fi-16|0;fi=c;q[c+8>>2]=4;q[c>>2]=b;a=dr(a,c,c);fi=c+16|0;return a}function vsa(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,352,95453);G()}return q[a>>2]+(b<<3)|0}function tsa(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,352,95453);G()}return q[a>>2]+(b<<4)|0}function t5(a,b,c){a=a|0;b=b|0;c=c|0;si(q[a+4>>2]+q[a>>2]|0,b,c);q[a>>2]=q[a>>2]+c;return 1}function osa(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,352,95453);G()}return q[a>>2]+(b<<2)|0}function lsa(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,352,95453);G()}return q[a>>2]+(b<<1)|0}function im(a,b,c){if((b|c)>>>0>=4){J(95633,95479,756,95817);G()}return r[a+c|0]>>>(b<<1)&3}function hj(a,b,c){if((b|c)>>>0>=4){J(95633,95189,153,95652);G()}return r[((c<<2)+b|0)+a|0]}function Woa(){ji[q[74877]]();D6();K5();if(r[854436]){pl(854092)}eU();zD(853584);iD(852952)}function RW(a,b,c,d){q[a+64>>2]=d;q[a+60>>2]=d;d=b;b=!b|!c;q[a+68>>2]=b?0:d;o[a+56|0]=b?0:c}function Ii(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,353,95453);G()}return q[a>>2]+w(b,11)|0}function GZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-24832;if(!(!a|!c)){q[c>>2]=b;d=0}return d|0}function EL(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==256){return(OV(a,b)?-24832:0)|0}return-24832}function nF(a){var b=0;b=q[q[a>>2]+120>>2];Xi(b,-1e4,q[a+4>>2]);ak(b,-3);Wi(b,-3);oi(b,-2)}function ll(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,353,95453);G()}return q[a>>2]+(b<<2)|0}function lX(a){var b=0;b=fi-16|0;fi=b;q[b+8>>2]=3;v[b>>3]=1;a=dr(a,b,b);fi=b+16|0;return a}function c8(a,b){var c=0;if(a){c=a+3640|0;o[c|0]=r[c|0]|1;q[a+3636>>2]=kj(a+3380|0,b,256)}}function Yn(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,353,95453);G()}return q[a>>2]+(b<<3)|0}function Xs(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,353,95453);G()}return q[a>>2]+(b<<1)|0}function Pfa(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Di(b,q[a+8>>2]);ki(a);return 0}function NN(a,b,c){a=a|0;b=b|0;c=+c;a=a+b|0;if(y(c)<2147483648){o[a|0]=~~c;return}o[a|0]=0}function KU(a,b,c){a=hS(a);if(!a){return-46}q[b>>2]=q[a+16>>2];q[c>>2]=q[a+20>>2];return 0}function C$(a,b){if(!a){J(200679,200687,95,200710);G()}ji[q[q[a+8>>2]+32>>2]](q[a+4>>2],b)}function xq(a){if(!a){J(200679,200687,115,200744);G()}ji[q[q[a+8>>2]+24>>2]](q[a+4>>2])|0}function wca(a,b){a=a|0;b=b|0;if(!a){J(79156,79164,2919,82402);G()}ec(q[(b<<2)+82424>>2])}function wE(a){var b=0;b=a-48|0;if(b>>>0>=10){a=a|32;return a-97>>>0<6?a-87|0:-1}return b}function vX(a){var b=0;b=a;a=dj(a,0,0,32);tq(b,a,10);q[a+24>>2]=0;q[a+8>>2]=a+16;return a}function hV(a){a=a-18|0;if((a&65535)>>>0<=10){return q[(a<<16>>16<<2)+268512>>2]}return 0}function bq(a,b,c,d){var e=0;e=fi-16|0;fi=e;q[e+12>>2]=d;a=Yp(a,b,c,d);fi=e+16|0;return a}function Fo(a,b,c){var d=0;d=fi-16|0;fi=d;if(!Kt(a,b)){q[d>>2]=c;ni(a,128707,d)}fi=d+16|0}function Eua(a,b){var c=0;c=fi-16|0;fi=c;q[c+12>>2]=b;a=iM(a,131213,b);fi=c+16|0;return a}function Era(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ht(a,b,c,d);return((a|0)==-81?-24832:a)|0}function wta(a,b,c){return((b>>>0<31?b:31)<<5|(a>>>0<31?a:31)<<10|(c>>>0<31?c:31))&65535}function rp(a,b,c){a=$h(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}return a}function owa(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function oga(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Yz(b,a);if(a){ki(a)}return 0}function Zs(a,b){var c=0;c=a;a=q[b>>2];c=r[c+(a>>>3|0)|0];q[b>>2]=a+1;return c>>>(a&7)&1}function RP(a,b,c){var d=0;d=-1;if(!(!a|q[a+8>>2]!=(c|0))){d=ej(q[a+12>>2],b,c)}return d}function QZ(a,b){var c=0;c=fi-16|0;fi=c;q[c+12>>2]=b;a=AB(a,131160,b);fi=c+16|0;return a}function Dm(a,b){return q[a+4>>2]<<5>>>0>b>>>0?q[q[a+8>>2]+(b>>>3&536870908)>>2]>>>b&1:0}function xta(a,b){if(b>>>0>=2){J(95960,85651,644,96814);G()}return r[a+3|0]>>>(b?2:5)&7}function mA(a){ki(q[a>>2]);a:{if(o[a+20|0]&1){break a}a=q[a+8>>2];if(!a){break a}ki(a)}}function TU(a,b,c){if(a>>>0>>0){a=kwa(b,a,c);a=!ii&(a|0)!=-1?a:-1}else{a=-1}return a}function Gi(a,b,c){if((b|c)>>>0>=4){J(95633,95189,154,95652);G()}return((c<<2)+b|0)+a|0}function G7(a,b){a=a|0;b=b|0;q[b+4>>2]=a;o[b+564|0]=1;gH(q[b+8>>2],b);return q[b+32>>2]}function Eu(a){ki(q[a>>2]);ki(q[a+8>>2]);q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function yy(a){a=a|0;var b=0;b=fi-16|0;fi=b;q[b+12>>2]=a;By(b+12|0);fi=b+16|0;return 0}function mwa(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function lP(a,b,c){a=a|0;b=b|0;c=c|0;kq(q[a+68>>2]+596|0,b,c);xp(q[a+68>>2]+684|0,b,c)}function jua(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return _V(a,b,c,d,e,f)|0}function cra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return yV(a,b,c,d,e,f)|0}function _ca(a){a=a|0;if(a){if(r[a+104|0]&4){Cb()}return}J(79156,79164,1151,80647);G()}function Wqa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return tV(a,b,c,d,e,f)|0}function SN(a,b){if(b){b=(b<<3)+a|0;while(1){a=a+8|0;if((b|0)!=(a|0)){continue}break}}}function Rra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return VV(a,b,c,d,e,f)|0}function R9(a){a=a|0;var b=0;Ki(a);b=yi(a,-1,q[213955],189399);oi(a,-2);P8(b);return 0}function L3(a,b,c){if((a|0)==(b|0)){J(28316,28134,415,28341);G()}return XG(a,b,c)?-4:0}function Koa(a){if(a>>>0>=3){J(158390,158396,31,158434);G()}return q[(a<<2)+158476>>2]}function qw(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;a=rN(a,b,c);fi=d+16|0;return a}function oZ(a){a=a|0;a=(gj(a,1)^-1)+(q[a+8>>2]-q[a+12>>2]>>4)|0;return((a|0)>0?a:0)|0}function lR(a,b){a=a|0;b=b|0;a=s[a>>1];b=s[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Xz(a){a=a|0;var b=0;b=Ci(4);q[b>>2]=q[a+20>>2];q[q[a+24>>2]+8>>2]=b;return 0}function Xu(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){Ui(b)}ki(a);return 0}function Ws(a,b){if(t[a+4>>2]<=b>>>0){J(95442,95300,353,95453);G()}return q[a>>2]+b|0}function Vr(a,b){zi(a,-1e4,b);if(!ri(a,-1)){oi(a,-2);ij(a,0,0);Hi(a,-1);pi(a,-1e4,b)}}function UN(a,b){a=a|0;b=b|0;a=q[a>>2];b=q[b>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function U1(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;pF(a,b,e,Fi(e),c,d);if(a){ki(a)}}function T9(a,b,c){var d=0;d=bj(a,8);q[d+4>>2]=c;q[d>>2]=b;zi(a,-1e4,187431);aj(a,-2)}function Rma(a){a=a|0;var b=0;b=fi-16|0;fi=b;Ks(b,Fm(a,1));Aq(a,b);fi=b+16|0;return 1}function Pma(a){a=a|0;var b=0;b=fi-16|0;fi=b;Wq(b,Fm(a,1));hl(a,b);fi=b+16|0;return 1}function Oi(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;a=Nt(a,b,c);fi=d+16|0;return a}function Mv(a){if(a>>>0>=22){J(85745,85651,10989,86237);G()}return q[(a<<2)+99996>>2]}function Hsa(a,b){var c=0;c=fi-96|0;fi=c;a=Isa(a,c);if(a){pta(b,c)}fi=c+96|0;return a}function wP(a,b,c){b=mV(q[a+68>>2]+132|0,b,c);if(!b){return lC(a)?-31488:0}return b}function U_(a,b,c,d,e){var f=0;f=gx(a,b,d,e);if(!f){f=Nr(a,c,b,a+40|0,d,e)}return f}function Jp(a){var b=0;if(a){b=q[a+4>>2];if(b){Ui(b)}b=q[a+8>>2];if(b){Ui(b)}ki(a)}}function AY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d){ki(b);return 0}return Pl(b,d)|0}function $da(a){if(a>>>0>=30){J(78904,78867,167,78938);G()}return q[(a<<2)+79e3>>2]}function w7(){var a=0,b=0;a=q[212944];tj(a);b=q[212943];lj(a);if(!b){return}uqa(b)}function rw(a,b,c,d){var e=0;e=a;a=tC(b,c,d);q[e>>2]=a;return(a|0)==-1?q[240833]:0}function qX(a,b,c){if(q[b+16>>2]==128040){Aw(a,b,c,0);return}Aw(a,b,c,1<>2]+ +q[a+4>>2]*4294967296)}function Z_(a,b){a=a|0;b=b|0;a=(b<<3)+a|0;return+(+t[a>>2]+ +t[a+4>>2]*4294967296)}function Yua(a){a=a|0;a:{if(o[852064]&1){break a}a=q[213013];if(!a){break a}ki(a)}}function Wca(a,b){a=a|0;b=b|0;b=1<>2])!=0|(q[a+92>>2]&b>>31)!=0}function Uda(a){a=a|0;var b=0;if(a){b=q[q[74995]>>2];if(b){Tn(b)}ki(a);q[74995]=0}}function TD(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){Ul(a)}Nt(a,b,c)}function Rua(a){a=a|0;a:{if(o[852016]&1){break a}a=q[213001];if(!a){break a}ki(a)}}function RV(a,b,c,d,e,f,g,h,i,j){if(!j){return-13}return GL(a,0,b,c,d,e,f,g,h,i,j)}function Mpa(a,b,c){q[a+40>>2]=b;q[a+32>>2]=b;o[a+44|0]=0;q[a+36>>2]=b+c;qi(b,0,c)}function Am(a,b){a=_h(a|0,b|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}return a}function AC(a,b){a=Xh(a|0,b|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}return a}function $ua(a){a=a|0;a:{if(o[959840]&1){break a}a=q[239957];if(!a){break a}ki(a)}}function zX(a,b){var c=0;c=a;a=r[b+6|0];dj(c,b,(r[b+7|0]<<(a?4:2))+(a?24:20)|0,0)}function tta(a,b){var c=0;c=fi-16|0;fi=c;rta(c+8|0,b);q[a>>2]=q[c+8>>2];fi=c+16|0}function eaa(a){a=a|0;Ki(a);yi(a,-1,q[213955],189399);oi(a,-2);Ma(0,0,0);return 0}function cY(a){a=a|0;zE(a,1);if(Dp(a,-1)){Hi(a,-10002);return 1}Rr(a,-1);return 1}function bva(a){a=a|0;a:{if(o[299956]&1){break a}a=q[74987];if(!a){break a}ki(a)}}function _ua(a){a=a|0;a:{if(o[299944]&1){break a}a=q[74983];if(!a){break a}ki(a)}}function Zua(a){a=a|0;a:{if(o[299972]&1){break a}a=q[74990];if(!a){break a}ki(a)}}function Bta(a){var b=0;b=wo(a,59,5);return(wo(a,51,5)<<5|b<<10|wo(a,43,5))&65535}function yta(a){var b=0;b=wo(a,56,3);return(wo(a,48,3)<<3|b<<6|wo(a,40,3))&65535}function upa(a,b,c){c=sk(c,22089);if(!c){return 3}a=EA(a,b,c,116);Qj(c);return a}function rpa(a){a=a|0;if(!a){J(204857,204815,79,204892);G()}return Oh(q[a>>2])|0}function SV(a,b,c,d,e,f,g,h,i,j){if(!j){return-13}return PV(a,b,c,d,e,f,g,h,i,j)}function bT(a){a=a|0;Bi(a,q[ml(a,124351)+8272>>2]==10?124556:124562,5);return 1}function Sk(a){var b=0,c=0;b=Fi(a)+1|0;c=xi(b);if(!c){return 0}return si(c,a,b)}function Jn(a,b,c){c=cE(a,c);if(!q[c+8>>2]){o[a+6|0]=r[a+6|0]|1<>2]>>2];q[a+56>>2]=q[a+56>>2]|1048576;return 0}function rm(a){if((a|0)==-1){return}if(!_q(a)){return}Ll(158710,375,q[240833])}function XG(a,b,c){if(c>>>0<=1073741824){a=cwa(a,b,c)>>>30&2}else{a=4}return a}function OU(a){var b=0;b=q[a>>2];if((b|0)!=-1){ww(b,2);_q(q[a>>2]);q[a>>2]=-1}}function h8(a,b){var c=0;if(!(!a|!b|q[a+488>>2]>-1)){si(b,a,488);c=1}return c}function gpa(a,b){a=a|0;b=b|0;return(s[a+952>>1]>>>4&1)-(s[b+952>>1]>>>4&1)|0}function aT(a){a=a|0;Bi(a,q[ml(a,124717)+32>>2]==10?124908:124914,5);return 1}function aN(a,b,c){a=WV(a,b,c);if(a){return a-9472|0}return q[c+8>>2]?0:-9572}function ZZ(a,b){var c=0;c=fi-16|0;fi=c;q[c+12>>2]=b;BB(a,128832,b);fi=c+16|0}function XS(a){a=a|0;var b=0;b=a;a=ml(a,124351);return uE(b,a,q[a+8272>>2])|0}function VS(a){a=a|0;var b=0;b=a;a=ml(a,124351);return tE(b,a,q[a+8272>>2])|0}function wda(a){a=a|0;if(!a){J(79156,79164,1194,80688);G()}return q[a+52>>2]}function vda(a){a=a|0;if(!a){J(79156,79164,1206,80723);G()}return q[a+40>>2]}function pw(a){var b=0;b=q[a+96>>2];if(b){pl(b);ki(q[a+96>>2]);q[a+96>>2]=0}}function pra(a){a=a|0;vj(a,2,5);oi(a,2);if(!Co(a,1)){ni(a,132851,0)}return 1}function mda(a,b){a=a|0;b=b|0;q[b>>2]=0;if(!a){return-2}q[b>>2]=a+4;return 0}function hw(a){a=Ia(a|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}return a}function fF(a){q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;DK(a);return a}function eda(a){a=a|0;if(!a){J(79156,79164,1200,80708);G()}return q[a+36>>2]}function dda(a){a=a|0;if(!a){J(79156,79164,1218,80760);G()}return q[a+48>>2]}function bH(a){ki(q[a+12>>2]);q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function ada(a){a=a|0;if(!a){J(79156,79164,1212,80739);G()}return q[a+44>>2]}function EB(a){a=bi(a|0)|0;if(a>>>0>=4294963201){q[240833]=0-a;a=-1}return a}function xda(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+60>>2];q[c>>2]=q[a+64>>2]}function mj(a,b){if(b>>>0>=16){J(95744,95189,122,95453);G()}return r[a+b|0]}function bt(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;Dua(a,b,c);fi=d+16|0}function WS(a){a=a|0;var b=0;b=a;a=Qm(a,124685);return uE(b,a,q[a+32>>2])|0}function US(a){a=a|0;var b=0;b=a;a=ml(a,124717);return tE(b,a,q[a+32>>2])|0}function SG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return OF(a,b,c,d,e)|0}function S9(a){a=a|0;Ki(a);yi(a,-1,q[213955],189399);oi(a,-2);yb();return 0}function Ila(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+24|0]=r[a+24|0]&249|4;return 0}function rZ(a){a=a|0;oi(a,1);if(!ri(a,1)){Wj(a,907,0)}Wj(a,908,1);return 1}function eF(a,b,c){if(b>>>0>=3){J(159524,158710,1117,159530);G()}CK(a,b,c)}function Sm(a,b,c){var d=0;d=fi-16|0;fi=d;q[d+12>>2]=c;sN(a,b,c);fi=d+16|0}function $i(a,b){if(b>>>0>=4){J(95625,95479,684,95453);G()}return r[a+b|0]}function woa(a){a=a|0;a=q[q[a+16>>2]>>2];p[a+32>>1]=s[a+32>>1]|1;return 0}function tja(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+166|0]=r[a+166|0]|2;return 0}function dm(a,b,c,d,e){return Jk(a,c<<6|b|d<<23|e<<14,q[q[a+12>>2]+8>>2])}function Zja(a){a=a|0;a=q[q[a+16>>2]>>2];p[a+36>>1]=s[a+36>>1]|1;return 0}function QL(a){if(q[a>>2]){ki(q[a>>2]);q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}}function Aoa(a){a=a|0;a=q[a+4>>2];if(!a){return-1e3}Hoa(a);ki(a);return 0}function zY(a,b,c){a=a|0;b=b|0;c=c|0;a=ji[a|0](b,c)|0;L(ii|0);return a|0}function kua(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0>c>>>0){qi(a+c|0,0,b-c|0)}}function km(a,b){if(b>>>0>=16){J(95744,95189,123,95453);G()}return a+b|0}function Fha(a){a=a|0;return ik(q[a>>2],q[a+4>>2],0,453,454,0,455,456)|0}function sla(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+22|0]=r[a+22|0]|2;return 0}function oma(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+24|0]=r[a+24|0]|2;return 0}function npa(a){a=a|0;if(!a){J(204857,204815,101,204954);G()}o[a+4|0]=0}function nm(a,b,c,d){if((b|0)==1){RU(a,c,d);return 0}SU(a,c,d);return 0}function mM(a,b){if(b){b=Fua(q[b>>2],q[b+4>>2],a)}else{b=0}return b?b:a}function RX(a){a=a|0;vj(a,1,5);Tl(a,2);Tl(a,3);oi(a,3);qj(a,1);return 1}function Jka(a){a=a|0;a=q[q[a+16>>2]>>2];p[a+8>>1]=s[a+8>>1]|1;return 0}function J_(a,b){a=a|0;b=b|0;q[b>>2]=2;q[b+8>>2]=a+136;q[b+4>>2]=145317}function Cj(a,b){if(b>>>0>=4){J(95625,95479,685,95453);G()}return a+b|0}function pk(a,b){var c=0;c=a;a=q[a+44>>2];Ym(c,(a|0)<(b|0)?a+b|0:a<<1)}function opa(a){a=a|0;if(!a){J(204857,204815,94,204940);G()}o[a+4|0]=1}function _k(a){var b=0;b=fi-96|0;fi=b;a=Am(a,b+8|0);fi=b+96|0;return!a}function ZE(){var a=0;a=q[239986];if(!a){return}if(!q[a+12>>2]){_E(a)}}function DJ(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+20|0]=r[a+20|0]|2;return 0}function fk(a,b,c){if((em(a,b)|0)==(c|0)){a=Vi(a,b)}else{a=0}return a}function aD(a,b){a=jS(a);if(!a){return-46}q[b>>2]=q[a+16>>2];return 0}function Qk(a,b){a=yi(a,b,q[79174],0);b=q[a>>2];ii=q[a+4>>2];return b}function vta(a,b){QA(a,59,b>>>10&31);QA(a,51,b>>>5&31);QA(a,43,b&31)}function lp(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function jja(a){a=a|0;if(!yJ(q[q[a+16>>2]>>2])){mi(4,52865,53559,0)}}function hZ(a){a=a|0;return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function Zpa(a,b,c){a=a|0;b=b|0;c=c|0;return(Al(b,1,c,a)|0)==(c|0)|0}function V_(a){Gn(a);Ji(a+124|0);Rl(a+136|0);Rl(a+172|0);Ji(a+208|0)}function Sta(a){return(1797559>>>a&1?1497965>>>a&1:0)?1:898768>>>a&1}function RQ(a,b){a=a|0;b=b|0;if(!q[240911]){q[240912]=b;q[240911]=a}}function Nj(a,b){a=a|0;b=b|0;a=cB(a,b);return(r[a|0]==(b&255)?a:0)|0}function wt(a){if(a){pw(a);ki(q[a+104>>2]);ji[q[66742]](a,0,128)|0}}function pN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wm(d,b,c);return 0} +function Vea(){var a=0;a=ti-16|0;ti=a;q[a+4>>2]=64;q[a>>2]=43736;Ai(4,53152,53228,a);ti=a+16|0}function VF(a,b){if(t[a+4>>2]<=b>>>0){J(147195,147207,135,147227);G()}return q[a>>2]+w(b,24)|0}function OV(a,b){var c=0;c=ti-384|0;ti=c;WL(c,a,b);xi[q[68401]](c,0,384)|0;ti=c+384|0;return 0}function NV(a,b){var c=0;c=ti-384|0;ti=c;WL(a,c,b);xi[q[68401]](c,0,384)|0;ti=c+384|0;return 0}function MV(a,b){var c=0;c=ti-384|0;ti=c;VL(c,a,b);xi[q[68401]](c,0,384)|0;ti=c+384|0;return 0}function LV(a,b){var c=0;c=ti-384|0;ti=c;VL(a,c,b);xi[q[68401]](c,0,384)|0;ti=c+384|0;return 0}function IL(a,b){var c=0;if(!(!r[915868]|((a|0)!=1|b>>>0>127))){c=q[(b<<2)+932700>>2]}return c}function Dva(a){a=a|0;yi(q[74210]);a:{if(o[296860]&1){break a}a=q[74212];if(!a){break a}yi(a)}}function xL(a){var b=0;b=q[a>>2];q[a+8>>2]=b;if(t[a+4>>2]>>0){J(22867,22886,40,22922);G()}}function w5(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=aj(a,1);vj(a,114897,b);ti=b+16|0;return 1}function ol(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,366,101805);G()}return q[a>>2]+(b<<2)|0}function o5(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=aj(a,1);vj(a,114816,b);ti=b+16|0;return 1}function mx(a){var b=0,c=0;b=ti-32|0;ti=b;c=1;if(!vB(b+8|0)){c=BB(a,b+8|0)}ti=b+32|0;return c}function lx(a){var b=0,c=0;b=ti-32|0;ti=b;c=1;if(!vB(b+8|0)){c=BB(b+8|0,a)}ti=b+32|0;return c}function lt(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,366,101805);G()}return q[a>>2]+(b<<1)|0}function l5(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=aj(a,1);vj(a,115404,b);ti=b+16|0;return 1}function jZ(a){a=a|0;if(q[rm(a,140233)>>2]){gs(a,1);Ki(a,-1,140334);xi[Ix(a)|0](a)|0}return 0}function iba(a,b){a=a|0;b=b|0;bj(a,-1e4,q[q[b>>2]+8>>2]);bj(a,-1,q[b+4>>2]);hk(a,-2);Ci(a,-2)}function co(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,366,101805);G()}return q[a>>2]+(b<<3)|0}function Yna(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b>>2]=aj(a,1);vj(a,18936,b);ti=b+16|0;return 1}function Nv(a){var b=0;b=ti-16|0;ti=b;a=w3(a,b+12|0,q[74377]);ti=b+16|0;return a?q[b+12>>2]:0}function Iw(){var a=0;a=ti-16|0;ti=a;Z(a+8|0,0)|0;ti=a+16|0;return+q[a+12>>2]/1e6+ +q[a+8>>2]}function gZ(a){a=a|0;var b=0;b=q[a+8>>2];q[b+8>>2]=0;q[a+8>>2]=b+16;Ni(a,140608,26);return 2}function Upa(){var a=0;xi[q[77420]]();$6();a=q[215850];if(a){gl(a);yi(q[215850])}q[215850]=0}function TV(a){var b=0;if(a){b=a+32|0;if(b){xi[q[68401]](b,0,280)|0}xi[q[68401]](a,0,320)|0}}function Kp(a,b){var c=0;c=ti-16|0;ti=c;q[c+8>>2]=4;q[c>>2]=b;a=tr(a,c,c);ti=c+16|0;return a}function ht(a){var b=0;b=ti-16|0;ti=b;q[b+12>>2]=0;b=q[52088];MB(b,a,0);tu(10,b);Ga(-1);G()}function gM(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==256){return(eW(a,b)?-24832:0)|0}return-24832}function ZZ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-24832;if(!(!a|!c)){q[c>>2]=b;d=0}return d|0}function ZD(a,b,c,d){q[a+64>>2]=d;q[a+60>>2]=d;d=b;b=!b|!c;q[a+68>>2]=b?0:d;o[a+56|0]=b?0:c}function S5(a,b,c){a=a|0;b=b|0;c=c|0;Gi(q[a+4>>2]+q[a>>2]|0,b,c);q[a>>2]=q[a>>2]+c;return 1}function xF(a){var b=0;b=q[q[a>>2]+120>>2];bj(b,-1e4,q[a+4>>2]);hk(b,-3);$i(b,-3);Ci(b,-2)}function nO(a,b,c){a=a|0;b=b|0;c=+c;a=a+b|0;if(y(c)<2147483648){o[a|0]=~~c;return}o[a|0]=0}function dga(a){a=a|0;var b=0;b=q[a>>2];a=q[q[a+8>>2]+8>>2];Pi(b,q[a+8>>2]);yi(a);return 0}function _7(a,b){var c=0;if(a){c=a+3448|0;o[c|0]=r[c|0]|1;q[a+3444>>2]=zj(a+3188|0,b,256)}}function ZU(a,b,c){a=HS(a);if(!a){return-46}q[b>>2]=q[a+16>>2];q[c>>2]=q[a+20>>2];return 0}function W$(a,b){if(!a){J(203500,203508,95,203531);G()}xi[q[q[a+8>>2]+32>>2]](q[a+4>>2],b)}function EX(a){var b=0;b=ti-16|0;ti=b;q[b+8>>2]=3;v[b>>3]=1;a=tr(a,b,b);ti=b+16|0;return a}function zsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=$t(a,b,c,d);return((a|0)==-81?-24832:a)|0}function yV(a){a=a-18|0;if((a&65535)>>>0<=10){return q[(a<<16>>16<<2)+275136>>2]}return 0}function qpa(a,b){a=a|0;b=b|0;z3(q[q[a+8>>2]+16>>2],u[q[a+4>>2]+4>>2]);return eL(a,3,b)|0}function hva(a,b){var c=0;c=ti-16|0;ti=c;q[c+12>>2]=b;a=NM(a,140477,b);ti=c+16|0;return a}function cua(a,b){if(b>>>0>=2){J(102182,92069,627,103038);G()}return r[a+3|0]>>>(b?2:5)&7}function Ro(a,b,c){var d=0;d=ti-16|0;ti=d;if(!Jp(a,b)){q[d>>2]=c;Bi(a,137971,d)}ti=d+16|0}function OX(a){var b=0;b=a;a=lj(a,0,0,32);Fq(b,a,10);q[a+24>>2]=0;q[a+8>>2]=a+16;return a}function Ko(a,b,c,d){var e=0;e=ti-16|0;ti=e;q[e+12>>2]=d;a=iq(a,b,c,d);ti=e+16|0;return a}function Jq(a){if(!a){J(203500,203508,115,203559);G()}xi[q[q[a+8>>2]+24>>2]](q[a+4>>2])|0}function HE(a){var b=0;b=a-48|0;if(b>>>0>=10){a=a|32;return a-97>>>0<6?a-87|0:-1}return b}function zp(a,b,c){a=ni(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}return a}function rQ(a,b,c){var d=0;d=-1;if(!(!a|q[a+8>>2]!=(c|0))){d=pj(q[a+12>>2],b,c)}return d}function nt(a,b){var c=0;c=a;a=q[b>>2];c=r[c+(a>>>3|0)|0];q[b>>2]=a+1;return c>>>(a&7)&1}function kt(a,b){if(t[a+4>>2]<=b>>>0){J(101794,101652,366,101805);G()}return q[a>>2]+b|0}function h_(a,b){var c=0;c=ti-16|0;ti=c;q[c+12>>2]=b;a=LB(a,140424,b);ti=c+16|0;return a}function bua(a,b,c){return((b>>>0<31?b:31)<<5|(a>>>0<31?a:31)<<10|(c>>>0<31?c:31))&65535}function Yfa(a){a=a|0;a=q[q[a+8>>2]+8>>2];xi[q[77502]](q[a>>2],q[a+4>>2]);yi(a);return 0}function Twa(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Dm(a,b){return q[a+4>>2]<<5>>>0>b>>>0?q[q[a+8>>2]+(b>>>3&536870908)>>2]>>>b&1:0}function uA(a){yi(q[a>>2]);a:{if(o[a+20|0]&1){break a}a=q[a+8>>2];if(!a){break a}yi(a)}}function j8(a,b){a=a|0;b=b|0;a=vb(1212)|0;if(!a){Ai(5,142563,142567,0)}return(a|0)!=0|0}function gV(a,b,c){if(a>>>0>>0){a=Pwa(b,a,c);a=!wi&(a|0)!=-1?a:-1}else{a=-1}return a}function fda(a){a=a|0;if(a){if(r[a+156|0]&32){Cb()}return}J(84152,84160,1357,86944);G()}function D7(a,b){a=a|0;b=b|0;q[b+4>>2]=a;o[b+564|0]=1;oH(q[b+8>>2],b);return q[b+32>>2]}function sO(a,b){if(b){b=(b<<3)+a|0;while(1){a=a+8|0;if((b|0)!=(a|0)){continue}break}}}function pt(a){if(a>>>0>=22){J(92163,92069,10867,92655);G()}return q[(a<<2)+106220>>2]}function fga(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=py(q[a>>2]);yi(a);return(b?-6:0)|0}function _3(a){a=a|0;var b=0;b=ti-16|0;ti=b;q[b+12>>2]=a;Py(b+12|0);ti=b+16|0;return 0}function Zra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return PV(a,b,c,d,e,f)|0}function Zp(a){if(a>>>0>=9){J(148202,148229,157,148252);G()}return q[(a<<2)+149304>>2]}function V9(a){a=a|0;var b=0;Ti(a);b=Li(a,-1,q[216371],198335);Ci(a,-2);S8(b);return 0}function Rwa(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function Rra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return KV(a,b,c,d,e,f)|0}function Oua(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return qW(a,b,c,d,e,f)|0}function OP(a,b,c){a=a|0;b=b|0;c=c|0;xq(q[a+68>>2]+596|0,b,c);tq(q[a+68>>2]+684|0,b,c)}function Msa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return lW(a,b,c,d,e,f)|0}function uO(a,b){a=a|0;b=b|0;a=q[a>>2];b=q[b>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function q2(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zF(a,b,e,Ui(e),c,d);if(a){yi(a)}}function ks(a,b){Ki(a,-1e4,b);if(!Ei(a,-1)){Ci(a,-2);gj(a,0,0);Qi(a,-1);Di(a,-1e4,b)}}function fA(a){a=a|0;var b=0;a=q[q[a+8>>2]+8>>2];b=q[a>>2];if(b){cj(b)}yi(a);return 0}function _i(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;a=fu(a,b,c);ti=d+16|0;return a}function X9(a,b,c){var d=0;d=jj(a,8);q[d+4>>2]=c;q[d>>2]=b;Ki(a,-1e4,196365);ij(a,-2)}function Lna(a){a=a|0;var b=0;b=ti-16|0;ti=b;$s(b,Hm(a,1));Mq(a,b);ti=b+16|0;return 1}function KR(a,b){a=a|0;b=b|0;a=s[a>>1];b=s[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Jna(a){a=a|0;var b=0;b=ti-16|0;ti=b;ir(b,Hm(a,1));jl(a,b);ti=b+16|0;return 1}function JJ(a){a=a|0;var b=0;b=Oi(4);q[b>>2]=q[a+20>>2];q[q[a+24>>2]+8>>2]=b;return 0}function HZ(a){a=a|0;a=(Xi(a,1)^-1)+(q[a+8>>2]-q[a+12>>2]>>4)|0;return((a|0)>0?a:0)|0}function Bta(a,b){var c=0;c=ti-96|0;ti=c;a=Cta(a,c);if(a){Wta(b,c)}ti=c+96|0;return a}function BC(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;a=UN(a,b,c);ti=d+16|0;return a}function ada(a,b){a=a|0;b=b|0;b=1<>2])!=0|(q[a+140>>2]&b>>31)!=0}function Uca(a,b,c){a=a|0;b=b|0;c=c|0;a=xi[q[77450]](a,b)|0;p[a+194>>1]=c;return a|0}function qJ(a){if(a>>>0>=30){J(83616,83473,372,83650);G()}return q[(a<<2)+83996>>2]}function l$(a,b,c,d,e){var f=0;f=Cx(a,b,d,e);if(!f){f=bs(a,c,b,a+40|0,d,e)}return f}function YP(a,b,c){b=DV(q[a+68>>2]+132|0,b,c);if(!b){return yC(a)?-31488:0}return b}function UY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!d){yi(b);return 0}return nl(b,d)|0}function Is(a){var b=0;if(a){b=q[a+4>>2];if(b){cj(b)}b=q[a+8>>2];if(b){cj(b)}yi(a)}}function v$(a,b){a=a|0;b=b|0;a=(b<<3)+a|0;return+(+t[a>>2]+ +q[a+4>>2]*4294967296)}function t7(){var a=0,b=0;a=q[215612];wj(a);b=q[215611];qj(a);if(!b){return}nra(b)}function q$(a,b){a=a|0;b=b|0;a=(b<<3)+a|0;return+(+t[a>>2]+ +t[a+4>>2]*4294967296)}function mq(a,b){a=mi(a|0,b|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}return a}function hW(a,b,c,d,e,f,g,h,i,j){if(!j){return-13}return iM(a,0,b,c,d,e,f,g,h,i,j)}function _D(a,b,c){var d=0;d=q[a+16>>2];if(t[d+68>>2]>=t[d+64>>2]){_l(a)}fu(a,b,c)}function Uw(a,b,c,d){var e=0;e=a;a=HC(b,c,d);q[e>>2]=a;return(a|0)==-1?q[242957]:0}function Jqa(a,b,c){q[a+40>>2]=b;q[a+32>>2]=b;o[a+44|0]=0;q[a+36>>2]=b+c;Fi(b,0,c)}function JX(a,b,c){if(q[b+16>>2]==137304){bx(a,b,c,0);return}bx(a,b,c,1<>1]>>>4&1)-(s[b+952>>1]>>>4&1)|0} -function iA(a){a=a|0;a=q[q[a+8>>2]+8>>2];Ui(q[a>>2]);ki(a);return 0}function aE(a,b,c){Jk(a,(c<<23)+8388608|b<<6|30,q[q[a+12>>2]+8>>2])}function UA(a,b,c){return(w(b<<8|b,c)+w(64-c|0,a<<8|a)|0)+32>>>14|0}function NL(a,b){q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;Vs(a,b);return a}function oX(a,b){if(q[b+16>>2]!=q[b+20>>2]){Xm(a,b);return}qm(a,b)}function hua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return nm(a,b,c,d)|0}function Oja(a){a=a|0;o6(q[a+8>>2]+16|0,q[q[a+16>>2]>>2]);return 0}function Fna(a){a=a|0;return ik(q[a>>2],q[a+4>>2],0,0,95,0,96,0)|0}function BS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Pl(b,w(c,d))|0}function v$(a){a=a|0;if(!a){J(202487,202494,202,202526);G()}ki(a)}function tpa(a){a=a|0;if(!a){J(204857,204815,61,204864);G()}ki(a)}function l8(a,b){if((a|0)!=0&(b|0)!=0){si(b,a,144);p[a+140>>1]=0}}function Tt(a,b,c,d){return Jk(a,c<<6|b|d<<14,q[q[a+12>>2]+8>>2])}function Tna(a,b){a=a|0;b=b|0;Ml(a,b);Yj(a,q[b+32>>2],q[b+36>>2])}function $sa(a){return Ev(a,0)|Ev(a,1)<<8|Ev(a,2)<<16|Ev(a,3)<<24}function bra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ix(a,c,d)|0}function _pa(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=q[a>>2]+c;return 1}function Vqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return hx(a,c,d)|0}function Tn(a){if(a){ki(a);return}J(184011,183985,48,184017);G()}function Pra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Pr(a,c,d)|0}function BK(a,b){var c=0;c=q[a>>2];return rp(c,q[a+4>>2]-c>>3,b)}function vN(a,b){var c=0;c=fi-16|0;fi=c;Uv(a,b,c+8|0);fi=c+16|0}function uN(a,b){var c=0;c=fi-16|0;fi=c;Tv(a,b,c+8|0);fi=c+16|0}function pV(a){if(a){Rl(a+224|0);Rl(a+260|0);Ji(a+296|0);V_(a)}}function cR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return b|0}function ara(){var a=0;a=Oj(1,384);if(a){qi(a,0,384)}return a|0}function SX(a){a=a|0;vj(a,1,5);Tl(a,2);oi(a,2);gl(a,1);return 1}function vfa(a){a=a|0;ji[q[74926]](q[q[a+8>>2]+8>>2]);return 0}function oda(a,b){a=a|0;b=b|0;return((b|0)==1?q[a+132>>2]:0)|0}function gz(a,b){var c=0;c=q[a+48>>2];tj(c);q[a+80>>2]=b;lj(c)}function SE(a){if(ib(a|0,0)|0){J(169004,169013,92,169040);G()}}function PQ(a){a=a|0;vj(a,1,5);ni(a,130886,0);Hi(a,1);return 1}function NZ(){var a=0;a=Oj(1,392);if(a){qi(a,0,392)}return a|0}function Mga(a){a=a|0;ji[q[74927]](q[q[a+8>>2]+8>>2]);return 0}function Ifa(a){a=a|0;ji[q[74962]](q[q[a+8>>2]+8>>2]);return 0}function kP(a,b,c){a=a|0;b=b|0;c=c|0;yt(q[a+68>>2]+776|0,b,c)}function jP(a,b,c){a=a|0;b=b|0;c=c|0;up(q[a+68>>2]+888|0,b,c)}function gW(a){a=a|0;q[240824]=gj(a,1)-1;q[240825]=0;return 0}function gL(a){var b=0;b=Ci(40);Bqa(b,a);q[212943]=b;return 0}function c5(a){a=a|0;a=Vi(a,1);xu(q[a>>2]);q[a>>2]=0;return 0}function S4(a){a=a|0;a=Vi(a,1);ro(q[a>>2]);q[a>>2]=0;return 0}function KG(a){if(!a){J(184011,183985,63,184029);G()}return 1}function nda(a){a=a|0;a=r[a+104|0];return(a&64?a&32?4:3:2)|0}function Mo(a){if((ww(a,2)|0)<=-1){Ll(158710,514,q[240833])}}function sD(a,b,c,d,e,f){return S_(a,b,q[a+220>>2],c,d,e,f)}function Zj(a,b,c,d,e,f,g,h){return oo(a,b,c,d,e,0,f,g,h,0)}function Lua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ii=0;return 0}function IX(a){a=a|0;return OW(a,q[a+8>>2]-q[a+12>>2]>>4)|0}function tj(a){if(a){return}J(184011,183985,56,184024);G()}function lj(a){if(a){return}J(184011,183985,69,184037);G()}function hD(a){q[a>>2]=0;qi(a+224|0,0,404);wp(a+8|0);bV(a)}function Rfa(a){a=a|0;return(Z$(q[q[a+8>>2]+8>>2])?-6:0)|0}function Kra(a,b,c){a=a|0;b=b|0;c=c|0;return ED(a,2,b,c)|0}function Jra(a,b,c){a=a|0;b=b|0;c=c|0;return ED(a,5,b,c)|0}function Jj(a,b,c,d){c=Ak(b,c,d);if(!c){c=JE(b,a)}return c}function zQ(a,b,c){a=a|0;b=b|0;c=c|0;return Ww(a,b,c,1)|0}function xQ(a,b,c){a=a|0;b=b|0;c=c|0;return Ww(a,b,c,0)|0}function w$(a,b,c){a=a|0;b=b|0;c=c|0;return WE(a,0,b,c)|0}function vo(a,b){ysa(q[a+104>>2],q[a+108>>2],a+112|0,a,b)}function pQ(a,b,c){a=a|0;b=b|0;c=c|0;return yr(a,b,c,1)|0}function nQ(a,b,c){a=a|0;b=b|0;c=c|0;return yr(a,b,c,0)|0}function gua(){var a=0;a=Oj(1,280);if(a){Qr(a)}return a|0}function fua(a){a=a|0;if(a){ji[q[66742]](a,0,280)|0}ki(a)}function Uqa(){var a=0;a=Oj(1,128);if(a){_v(a)}return a|0}function Tqa(a){a=a|0;if(a){ji[q[66742]](a,0,128)|0}ki(a)}function PZ(a,b,c){a=a|0;b=b|0;c=c|0;return fD(a,2,b,c)|0}function Ora(){var a=0;a=Oj(1,276);if(a){GD(a)}return a|0}function OZ(a,b,c){a=a|0;b=b|0;c=c|0;return fD(a,5,b,c)|0}function Nra(a){a=a|0;if(a){ji[q[66742]](a,0,276)|0}ki(a)}function MK(a,b,c){q[c+4>>2]=q[c>>2];return EA(a,b,c,117)}function Fra(a){a=a|0;if(a){ji[q[66742]](a,0,132)|0}ki(a)}function Dra(){var a=0;a=Oj(1,232);if(a){KV(a)}return a|0}function $qa(a){a=a|0;if(a){ji[q[66742]](a,0,384)|0}ki(a)}function vQ(){var a=0;a=Oj(1,216);if(a){wp(a)}return a|0}function uQ(a){a=a|0;if(a){ji[q[66742]](a,0,216)|0}ki(a)}function lqa(a){a=a|0;kj(956592,Ni(a,1,0),1024);return 0}function kaa(a){a=a|0;wi(a,q[Zi(a,1,0)+420>>2]);return 1}function iB(a,b,c){a=a|0;b=b|0;c=c|0;return xi(w(b,c))|0}function f$(a,b,c){a=a|0;b=b|0;c=c|0;return vua(a,b,c)|0}function dua(a,b,c){a=a|0;b=b|0;c=c|0;return YV(a,b,c)|0}function dha(a){a=a|0;a=q[q[a+8>>2]+8>>2];ki(a);return 0}function cva(a){a=a|0;a=q[74084];if(a){ki(a);q[74084]=0}}function cua(a,b,c){a=a|0;b=b|0;c=c|0;return oq(a,b,c)|0}function cm(a,b,c){if((ri(a,b)|0)>=1){c=gj(a,b)}return c}function Ui(a){if(!a){J(22092,22038,351,22100);G()}ki(a)}function Mra(a,b,c){a=a|0;b=b|0;c=c|0;return TV(a,b,c)|0}function Lra(a,b,c){a=a|0;b=b|0;c=c|0;return FD(a,b,c)|0}function Ln(a,b,c){if((ri(a,b)|0)>=1){c=Ai(a,b)}return c}function KE(){var a=0;a=Oj(1,172);if(a){fx(a)}return a|0}function Ira(){var a=0;a=Oj(1,64);if(a){kx(a)}return a|0}function FQ(){var a=0;a=Oj(1,108);if(a){Br(a)}return a|0}function EQ(a){a=a|0;if(a){ji[q[66742]](a,0,108)|0}ki(a)}function tJ(a){ffa(a);a=q[74608];if(a){rn(a)}q[74608]=0}function qQ(a,b,c){a=a|0;b=b|0;c=c|0;return up(a,b,c)|0}function pT(){var a=0;a=Oj(1,88);if(a){lq(a)}return a|0}function oT(a){a=a|0;if(a){ji[q[66742]](a,0,88)|0}ki(a)}function kT(a,b,c){a=a|0;b=b|0;c=c|0;return kq(a,b,c)|0}function Zk(a){if(!hw(a)){return 0}return Ux(q[240833])}function ZS(a){a=a|0;return tt(a,259488,ml(a,124351))|0}function YS(a){a=a|0;return tt(a,259952,ml(a,124717))|0}function XU(a,b,c){a=a|0;b=b|0;c=c|0;return WU(a,b,c)|0}function MQ(){var a=0;a=Oj(1,92);if(a){yp(a)}return a|0}function LQ(a){a=a|0;if(a){ji[q[66742]](a,0,92)|0}ki(a)}function JS(a){a=a|0;return tt(a,259536,ml(a,124351))|0}function IS(a){a=a|0;return tt(a,259824,ml(a,124717))|0}function HQ(a,b,c){a=a|0;b=b|0;c=c|0;return xp(a,b,c)|0}function ES(a){a=a|0;return HB(a,ml(a,124351)+8248|0)|0}function BV(a,b,c){a=a|0;b=b|0;c=c|0;return AV(a,b,c)|0}function AQ(a,b,c){a=a|0;b=b|0;c=c|0;return yt(a,b,c)|0}function nfa(a){a=a|0;ki(q[74084]);q[74084]=0;return 0}function _qa(a,b,c){a=a|0;b=b|0;c=c|0;return xV(a,b)|0}function Zqa(a,b,c){a=a|0;b=b|0;c=c|0;return wV(a,b)|0}function Yqa(a,b,c){a=a|0;b=b|0;c=c|0;return vV(a,b)|0}function Xqa(a,b,c){a=a|0;b=b|0;c=c|0;return uV(a,b)|0}function TS(a){a=a|0;return Wra(a,Qm(a,124327)+24|0)|0}function Sqa(a,b,c){a=a|0;b=b|0;c=c|0;return sV(a,b)|0}function Rqa(a,b,c){a=a|0;b=b|0;c=c|0;Cp(a,b);return 0}function RS(a){a=a|0;return Vra(a,Qm(a,124327)+24|0)|0}function Pw(a,b,c,d){a=lx(a,b,c,d);return a?a-8960|0:0}function OS(a){a=a|0;return Ura(a,Qm(a,124327)+24|0)|0}function FS(a){a=a|0;return Tra(a,Qm(a,124327)+24|0)|0}function Zia(a,b,c){a=a|0;b=b|0;c=c|0;ji[q[74962]](b)}function Yca(a,b){a=a|0;b=b|0;return q[a+80>>2]>>>b&1}function $ga(a){a=a|0;Pba(q[q[a+8>>2]+8>>2]);return 0}function iwa(a){if(a){return 31-z(a-1^a)|0}return 32}function h_(a,b){a=a|0;b=b|0;zl(a,q[b>>2],q[b+4>>2])}function fv(a){a=a|0;Yj(a,li(Ni(a,2,0)),ii);return 1}function Yga(a){a=a|0;Sy(q[q[a+8>>2]+8>>2]);return 0}function VF(a,b,c,d){q[d>>2]=0;return J3(a,b,c)?-3:0}function Uy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0}function Tl(a,b){if((ri(a,b)|0)==-1){Mj(a,b,128727)}}function RN(a,b,c){a=a|0;b=b|0;c=+c;u[(b<<2)+a>>2]=c}function Jga(a){a=a|0;Ui(q[q[a+8>>2]+8>>2]);return 0}function Hga(a){a=a|0;t7(q[q[a+8>>2]+8>>2]);return 0}function DS(a){a=a|0;return HB(a,ml(a,124717)+8|0)|0}function $fa(a){a=a|0;oG(q[q[a+8>>2]+8>>2]);return 0}function $1(a){a=a|0;ki(q[a+104>>2]);ki(q[a+120>>2])}function qaa(a){a=a|0;mo(a,Zi(a,1,0)+96|0);return 1}function lD(a){if(a){Gn(a);Ji(a+124|0);Rl(a+136|0)}}function ck(a,b){q[79154]=q[79154]+1;return Kn(a,b)}function bE(a,b,c){a=ql(a,c);q[b>>2]=9;q[b+12>>2]=a}function Raa(a){a=a|0;mo(a,Zi(a,1,0)+48|0);return 1}function Cu(a){if(H6(a)){a=I6(a)}else{a=-5}return a}function Aaa(a){a=a|0;mo(a,Zi(a,1,0)+80|0);return 1}function e$(a,b){a=a|0;b=b|0;return+u[(b<<2)+a>>2]}function d$(a,b){a=a|0;b=b|0;return+q[(b<<2)+a>>2]}function b$(a,b){a=a|0;b=b|0;return+p[(b<<1)+a>>1]}function __(a,b){a=a|0;b=b|0;return+t[(b<<2)+a>>2]}function Y_(a,b){a=a|0;b=b|0;return+s[(b<<1)+a>>1]}function KZ(a){a=a|0;q[om(a,129882)>>2]=0;return 0}function yR(a){a=a|0;wi(a,ko(Ni(a,1,0)));return 1}function tia(a){a=a|0;return q[q[a+344>>2]+12>>2]}function i$(a){a=a|0;ji[q[a>>2]](q[a+8>>2]);ki(a)}function hp(a,b,c){zi(a,-1e4,b);aj(a,(c>>31)+c|0)}function Rl(a){if(a){Ji(a);Ji(a+12|0);Ji(a+24|0)}}function LW(a){a=a|0;ek(a,132461,262448);return 1}function IW(a){a=a|0;ek(a,131371,261952);return 1}function FF(a,b){return q[yi(a,b,q[210280],0)>>2]}function EW(a){a=a|0;ek(a,130730,261664);return 1}function Az(a,b){Kb(q[a+144>>2]&2147483647,b|0)|0}function SR(a,b){a=a|0;b=b|0;return GC(a,b,20)|0}function RR(a,b){a=a|0;b=b|0;return GC(a,b,21)|0}function Oma(a){a=a|0;cy(a,cp(Fm(a,1)));return 1}function NR(a,b){a=a|0;b=b|0;return FC(a,b,35)|0}function MR(a,b){a=a|0;b=b|0;return FC(a,b,36)|0}function KI(a,b){return Nq(a,3,q[b+76>>2]-2|0,b)}function wA(a){var b=0;b=q[a>>2];ki(a);return b}function vK(a){wK(q[a+80>>2],s[a+150>>1]&32767)}function tD(a,b,c,d,e,f){return X_(a,b,c,d,e,f)}function tB(a,b){if(!a){return 0}return qN(a,b)}function UO(a){a=a|0;a=fi-a&-16;fi=a;return a|0}function Sea(a,b,c){a=a|0;b=b|0;c=c|0;fJ(a,b,c)}function ry(a){e3(a);YW(q[a+120>>2]);ki(c3(a))}function mp(a,b){return MB(a,b,10,-2147483648)}function lwa(a,b,c){hwa(a,b,c);ii=hi;return gi}function jy(a,b){return(fk(a,b,q[79186])|0)!=0}function Qn(a,b){return(fk(a,b,q[79174])|0)!=0}function HC(a){a=a|0;return(a<<24|a<<8)>>>16|0}function Dl(a,b,c){if(!(r[a|0]&32)){fB(b,c,a)}}function CY(a){a=a|0;return(a|0)==32|a-9>>>0<5}function uF(a,b){return(em(a,b)|0)==q[210280]}function tQ(a,b){a=a|0;b=b|0;return zr(a,b)|0}function sQ(a,b){a=a|0;b=b|0;return Jr(a,b)|0}function nT(a,b){a=a|0;b=b|0;return Ir(a,b)|0}function mT(a,b){a=a|0;b=b|0;return Mr(a,b)|0}function jwa(a,b,c,d){a=gwa(a,b,c,d);return a}function _Q(a,b){a=a|0;b=b|0;return BU(a,b)|0}function L_(a){a=a|0;return(a|0)==4|(a&-2)==2}function K_(a,b){a=a|0;b=b|0;return iV(a,b)|0}function KQ(a,b){a=a|0;b=b|0;return hq(a,b)|0}function KM(){EK(958640,193476,0,0,1483,1484)}function JQ(a,b){a=a|0;b=b|0;return Lr(a,b)|0}function Hy(a,b,c){q[a+80>>2]=g5(q[a>>2],b,c)}function DW(a,b){a=a|0;b=b|0;return k_(a,b)|0}function DQ(a,b){a=a|0;b=b|0;return zt(a,b)|0}function Cua(a){a=a|0;return ia(q[a+60>>2])|0}function CQ(a,b){a=a|0;b=b|0;return Kr(a,b)|0}function z_(a){a=a|0;return Qx(a,268288,6)|0}function y_(a){a=a|0;return Qx(a,268296,7)|0}function yZ(a){a=a|0;return ni(a,132139,0)|0}function x$(a){a=a|0;NO(q[a+12>>2]);return 0}function w_(a){a=a|0;return Qx(a,268304,8)|0}function nla(a){a=a|0;return q[q[a+4>>2]>>2]}function n8(a,b){a=a|0;b=b|0;o8(q[210338],a)}function jda(a){a=a|0;return s[a+22>>1]!=0|0}function a$(a,b){a=a|0;b=b|0;return+o[a+b|0]}function V1(a,b){a=a|0;b=b|0;pF(a,b,0,0,0,0)}function RY(a){a=a|0;DE(a,1,131301);return 1}function NY(a){a=a|0;DE(a,2,131303);return 1}function Ei(a,b){a=To(a,b);return a?a:150133}function $_(a,b){a=a|0;b=b|0;return+r[a+b|0]}function $Q(a){a=a|0;return(a|0)==1|(a|0)==6}function epa(a){a=a|0;o[a+148|0]=0;return 0}function Tx(a,b){a=OM(a);q[b>>2]=a;return!a}function Loa(a){a=a|0;return ni(a,5561,0)|0}function xn(a){Rp(a+24|0);Rp(a+12|0);Rp(a)}function sy(a,b){return yi(a,b,q[79186],0)}function s$(a){a=a|0;q[a+12>>2]=0;return 0}function qI(a,b,c){return pI(a,b,li(c),ii)}function iM(a,b,c){return _A(a,b,c,1543,0)}function eoa(a,b){a=a|0;b=b|0;q[a+16>>2]=b}function bL(a,b,c,d){bqa(a,b,c,d);return 0}function Rm(a,b){return Gua(a,b,Fi(a)+1|0)}function PE(a,b,c){return RM(a,b,c)>>>30&2}function Dz(a,b,c){return nI(a,b,li(c),ii)}function Bz(a,b,c){return dI(a,b,li(c),ii)}function sm(a,b){return fk(a,b,q[210276])}function rra(a){a=a|0;Hi(a,-1e4);return 1}function rj(a,b,c,d){return PK(a,b,c,d,0)}function qZ(a){a=a|0;Wj(a,909,1);return 1}function pn(a,b){return fk(a,b,q[210277])}function pE(a,b,c){return Ql(rw(a,b,c,0))}function iF(a,b,c,d,e){return b0(a,b,d,e)}function $x(a,b){return fk(a,b,q[210278])}function zR(a){a=a|0;bb(cm(a,1,0)|0);G()}function rD(a,b){return Dt(a,b)?-20096:0}function VQ(a){a=a|0;return q[a+4>>2]<<3}function IM(){EK(289600,5274,22,23,24,0)}function yw(a,b,c){return xw(a,b,c,0,0)}function uda(a){a=a|0;return q[a+72>>2]}function tda(a){a=a|0;return q[a+68>>2]}function sda(a){a=a|0;return q[a+56>>2]}function rt(a,b,c){return Bw(a,b,c,0,0)}function rda(a){a=a|0;return s[a+18>>1]}function qda(a){a=a|0;return s[a+16>>1]}function lda(a){a=a|0;return s[a+14>>1]}function ida(a){a=a|0;return s[a+12>>1]}function e0(a){a=a|0;o[316700]=(a|0)!=0}function Rp(a){if(q[a>>2]){ki(q[a>>2])}}function LK(a,b,c,d){return EA(a,b,c,d)}function Kp(a,b,c,d){return MG(a,b,c,d)}function zx(a){return ci(a|0,963564)|0}function wra(a){a=a|0;Rr(a,1);return 1}function tZ(a){a=a|0;return JB(a,10)|0}function sZ(a){a=a|0;return FB(a,10)|0}function jw(a,b,c){xua(a,b,c);return a}function jt(a,b,c){return MB(a,b,c,-1)}function Xoa(a){a=a|0;_oa(a+8|0);IK(a)}function Sha(a){a=a|0;return qJ(a,1)|0}function Rj(a){Ck(a,126430,0);return 0}function Rha(a){a=a|0;return qJ(a,0)|0}function MM(){lA(293808,38979,391,392)}function IG(a,b){return c6(Ci(48),a,b)}function H_(a){a=a|0;return q[a+88>>2]}function Fv(a,b,c,d){eta(a,tsa(b,c),d)}function E_(a){a=a|0;return(a&-2)==2|0}function AM(){No(296352,56670,462,463)}function zO(a){a=a|0;return QB(a,1)|0}function yQ(a){a=a|0;return Ar(a,0)|0}function xI(a,b){return(Su(a,b)|0)!=0}function vZ(a){a=a|0;return JB(a,2)|0}function uZ(a){a=a|0;return FB(a,2)|0}function uO(a){a=a|0;return QB(a,0)|0}function rQ(a){a=a|0;return vp(a,1)|0}function oQ(a){a=a|0;return vp(a,0)|0}function oD(a,b){return Dt(a,q[b>>2])}function li(a){a=Nl(a,Fi(a));return a}function kwa(a,b,c){return hwa(a,b,c)}function jca(a,b){a=a|0;b=b|0;La(b|0)}function Wl(a,b,c){return fy(a,b,c,0)}function Uk(a){return wua(a,q[72353])}function Rda(a,b){a=a|0;b=b|0;qa(b|0)}function R_(a){a=a|0;return(a|0)==4|0}function OE(a,b){return(QM(a,b)|0)!=0}function O5(a,b){a=a|0;b=b|0;return 0}function CJ(a,b,c){return al(a,b,c,0)}function BQ(a){a=a|0;return Ar(a,1)|0}function zM(){No(290976,20655,107,0)}function yM(){No(291104,20823,111,0)}function wQ(a,b){a=a|0;b=b|0;Vw(a,b)}function qT(a,b){a=a|0;b=b|0;cx(a,b)}function f8(a){a=a|0;c8(q[210338],a)}function NQ(a,b){a=a|0;b=b|0;Yw(a,b)}function GQ(a,b){a=a|0;b=b|0;Xw(a,b)}function EM(){No(296080,54416,452,0)}function CM(){No(290848,20332,102,0)}function BM(){No(296208,56345,457,0)}function xj(a,b){Kl(a,b,q[a+16>>2])}function wD(a,b,c){return zV(a,b,c)}function rK(a,b,c){Zna(q[a>>2],b,c)}function dS(a){a=a|0;return Ci(a)|0}function Qw(a,b,c){return zT(a,b,c)}function NM(){lA(290320,13758,32,0)}function LM(){lA(290448,13764,37,0)}function FM(){No(290592,19608,94,0)}function DM(){No(290720,19614,97,0)}function Cm(a){return ul(a)+7>>>3|0}function wI(a){return Nq(a,0,-2,0)}function pv(a,b,c){Os(q[a>>2],b,c)}function mD(a){return!jj(a+24|0,0)}function kt(a,b){yua(a,b);return a}function hB(a,b){a=a|0;b=b|0;ki(b)}function Zca(){return(Hx()|0)==1|0}function Gv(a,b){nta(a,b);return a}function ro(a){a=a|0;if(a){ki(a)}}function hm(a){return qi(a,0,104)}function Hra(a){a=a|0;QV(a);ki(a)}function Cra(a){a=a|0;LV(a);ki(a)}function Bs(a){return Mp(a,Fi(a))}function fz(a){ki(q[a>>2]);ki(a)}function WQ(a){a=a|0;wU(a);ki(a)}function Q_(a){a=a|0;Et(a);ki(a)}function PB(a,b){kt(Fi(a)+a|0,b)}function MZ(a){a=a|0;ZU(a);ki(a)}function Kx(a,b){Al(a,1,Fi(a),b)}function I_(a){a=a|0;lD(a);ki(a)}function BB(a,b,c){_A(a,b,c,0,0)}function ly(a){return Jt(a,3,0)}function lt(a,b){return Ej(a,b)}function fm(a,b){return Bq(a,b)}function Yi(a,b){return Lq(a,b)}function UE(a,b){return du(a,b)}function Pn(a,b){return pO(a,b)}function NG(a,b){MG(a,b,1322,0)}function Bx(a,b){return Cn(a,b)}function jA(a){a=a|0;return-15}function TE(a){si(a,854440,74)}function OL(a,b,c){Ys(a,b,c,4)}function fo(a){fE(a);return 0}function Toa(a,b){a=a|0;b=b|0}function Ol(a){a=a|0;return 0}function sua(){return 963620}function rua(){return 963624}function qua(){return 963612}function ek(a,b,c){io(a,b,c)}function Xw(a,b){si(a,b,108)}function Xca(){return ZI()|0}function Vw(a,b){si(a,b,216)}function Kua(){return 963332}function fwa(a){a=a|0;Uoa()}function ewa(a){a=a|0;Woa()}function cx(a,b){si(a,b,88)}function cs(a){if(a){TM(a)}}function Yw(a,b){si(a,b,92)}function Wua(a){a=a|0;bwa()}function Mda(a){a=a|0;Ra(0)}function Et(a){if(a){lD(a)}}function $na(a){a=a|0;ki(a)}function yD(a){qi(a,0,320)}function wp(a){qi(a,0,216)}function _v(a){qi(a,0,128)}function Qr(a){qi(a,0,280)}function PC(a){qi(a,0,344)}function Ms(a){tA(q[a>>2])}function GD(a){qi(a,0,276)}function Br(a){qi(a,0,108)}function yp(a){qi(a,0,92)}function lq(a){qi(a,0,88)}function TO(a){a=a|0;fi=a}function SO(){return fi|0}function vB(a,b){uN(a,b)}function NK(a,b){XK(a,b)}function GK(a){a=a|0}function zda(){nb()} +function _ta(a,b){var c=0;c=ti-16|0;ti=c;Yta(c+8|0,b);q[a>>2]=q[c+8>>2];ti=c+16|0}function SX(a,b){var c=0;c=a;a=r[b+6|0];lj(c,b,(r[b+7|0]<<(a?4:2))+(a?24:20)|0,0)}function Ava(a){a=a|0;a:{if(o[310148]&1){break a}a=q[77534];if(!a){break a}yi(a)}}function pqa(a){a=a|0;if(!a){J(207481,207439,79,207516);G()}return ai(q[a>>2])|0}function iW(a,b,c,d,e,f,g,h,i,j){if(!j){return-13}return fW(a,b,c,d,e,f,g,h,i,j)}function dua(a){var b=0;b=Fo(a,56,3);return(Fo(a,48,3)<<3|b<<6|Fo(a,40,3))&65535}function nT(a){a=a|0;Ni(a,q[pl(a,132335)+8272>>2]==10?132540:132546,5);return 1}function Qma(a){a=a|0;a=q[q[a+16>>2]>>2];q[a+56>>2]=q[a+56>>2]|1048576;return 0}function On(a,b,c){c=jE(a,c);if(!q[c+8>>2]){o[a+6|0]=r[a+6|0]|1<>2];if((b|0)!=-1){Zw(b,2);or(q[a>>2]);q[a>>2]=-1}}function mT(a){a=a|0;Ni(a,q[pl(a,132701)+32>>2]==10?132892:132898,5);return 1}function kj(a,b){if(b>>>0>=4){J(101977,101831,686,101805);G()}return r[a+b|0]}function kda(a){a=a|0;if(!a){J(84152,84160,1435,87057);G()}return q[a+100>>2]}function hT(a){a=a|0;var b=0;b=a;a=pl(a,132335);return FE(b,a,q[a+8272>>2])|0}function h4(a,b){a=a|0;b=b|0;var c=0;c=a;a=q[60735];Xqa(c,b,a,Ui(a));return 0}function fT(a){a=a|0;var b=0;b=a;a=pl(a,132335);return EE(b,a,q[a+8272>>2])|0}function c8(a,b){var c=0;if(!(!a|!b|q[a+488>>2]>-1)){Gi(b,a,488);c=1}return c}function Lda(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+112>>2];q[c>>2]=q[a+116>>2]}function Kda(a){a=a|0;if(!a){J(84152,84160,1405,86985);G()}return q[a+104>>2]}function DN(a,b,c){a=mW(a,b,c);if(a){return a-9472|0}return q[c+8>>2]?0:-9572}function pF(a){q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;jL(a);return a}function lda(a){a=a|0;if(!a){J(84152,84160,1411,87005);G()}return q[a+88>>2]}function ksa(a){a=a|0;mj(a,2,5);Ci(a,2);if(!Oo(a,1)){Bi(a,142115,0)}return 1}function jH(a){yi(q[a+12>>2]);q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function hda(a){a=a|0;if(!a){J(84152,84160,1423,87036);G()}return q[a+96>>2]}function Tw(a){var b=0;b=q[a+96>>2];if(b){gl(b);yi(q[a+96>>2]);q[a+96>>2]=0}}function PB(a){a=pi(a|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}return a}function Jda(a){a=a|0;if(!a){J(84152,84160,1429,87079);G()}return x(x(Nb()))}function Ida(a){a=a|0;if(!a){J(84152,84160,1417,87020);G()}return q[a+92>>2]}function Hw(a){a=Ka(a|0)|0;if(a>>>0>=4294963201){q[242957]=0-a;a=-1}return a}function xma(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+24|0]=r[a+24|0]&249|4;return 0}function ut(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;gva(a,b,c);ti=d+16|0}function gT(a){a=a|0;var b=0;b=a;a=Ym(a,132669);return FE(b,a,q[a+32>>2])|0}function eT(a){a=a|0;var b=0;b=a;a=pl(a,132701);return EE(b,a,q[a+32>>2])|0}function W9(a){a=a|0;Ti(a);Li(a,-1,q[216371],198335);Ci(a,-2);yb();return 0}function yda(a){a=a|0;a=s[a+156>>1];if(a&512){return(a&256?4:3)|0}return 2}function fy(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;NB(a,b,c);ti=d+16|0}function Zm(a,b,c){var d=0;d=ti-16|0;ti=d;q[d+12>>2]=c;VN(a,b,c);ti=d+16|0}function Kj(a,b){if(b>>>0>=4){J(101977,101831,687,101805);G()}return a+b|0}function KZ(a){a=a|0;Ci(a,1);if(!Ei(a,1)){ck(a,954,0)}ck(a,955,1);return 1}function Eu(a){if(q[a>>2]!=1){J(167900,167933,46,167956);G()}return a+16|0}function zpa(a){a=a|0;a=q[a+4>>2];if(!a){return-1e3}Gpa(a);yi(a);return 0}function us(a){if(q[a>>2]!=2){J(167961,167933,52,167994);G()}return a+4|0}function rM(a){if(q[a>>2]){yi(q[a>>2]);q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0}}function oma(a){a=a|0;a=q[q[a+16>>2]>>2];q[a+24>>2]=q[a+24>>2]|2;return 0}function oF(a,b,c){if(b>>>0>=3){J(168370,167933,237,168376);G()}iL(a,b,c)}function im(a,b,c,d,e){return Qk(a,c<<6|b|d<<23|e<<14,q[q[a+12>>2]+8>>2])}function bka(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+166|0]=r[a+166|0]|2;return 0}function Hka(a){a=a|0;a=q[q[a+16>>2]>>2];p[a+36>>1]=s[a+36>>1]|1;return 0}function aia(a){a=a|0;return rk(q[a>>2],q[a+4>>2],0,456,457,0,458,459)|0}function TY(a,b,c){a=a|0;b=b|0;c=c|0;a=xi[a|0](b,c)|0;L(wi|0);return a|0}function Pua(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0>c>>>0){Fi(a+c|0,0,b-c|0)}}function tla(a){a=a|0;a=q[q[a+16>>2]>>2];p[a+8>>1]=s[a+8>>1]|1;return 0}function qm(a,b,c,d){if((b|0)==1){eV(a,c,d);return 0}fV(a,c,d);return 0}function lqa(a){a=a|0;if(!a){J(207481,207439,101,207578);G()}o[a+4|0]=0}function iY(a){a=a|0;mj(a,1,5);Ql(a,2);Ql(a,3);Ci(a,3);tj(a,1);return 1}function gna(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+28|0]=r[a+28|0]|2;return 0}function cma(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+22|0]=r[a+22|0]|2;return 0}function a$(a,b){a=a|0;b=b|0;q[b>>2]=2;q[b+8>>2]=a+136;q[b+4>>2]=155557}function Zma(a){a=a|0;a=q[q[a+16>>2]>>2];o[a+24|0]=r[a+24|0]|2;return 0}function RM(a,b){if(b){b=iva(q[b>>2],q[b+4>>2],a)}else{b=0}return b?b:a}function vk(a,b){var c=0;c=a;a=q[a+44>>2];dn(c,(a|0)<(b|0)?a+b|0:a<<1)}function to(a){var b=0;b=ti-96|0;ti=b;a=mq(a,b+8|0);ti=b+96|0;return!a}function mqa(a){a=a|0;if(!a){J(207481,207439,94,207564);G()}o[a+4|0]=1}function mk(a,b,c){if((ul(a,b)|0)==(c|0)){a=aj(a,b)}else{a=0}return a}function mD(a,b){a=JS(a);if(!a){return-46}q[b>>2]=q[a+16>>2];return 0}function Zk(a,b){a=Li(a,b,q[81777],0);b=q[a>>2];wi=q[a+4>>2];return b}function vua(a){return(1797559>>>a&1?1497965>>>a&1:0)?1:898768>>>a&1}function vp(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function rR(a,b){a=a|0;b=b|0;if(!q[243032]){q[243033]=b;q[243032]=a}}function pma(a,b){a=a|0;b=b|0;if(!r[q[a+12>>2]+18|0]){eK(a)}return 0}function m$(a){Mn(a);Si(a+124|0);Zl(a+136|0);Zl(a+172|0);Si(a+208|0)}function aua(a,b){$A(a,59,b>>>10&31);$A(a,51,b>>>5&31);$A(a,43,b&31)}function _ca(a,b){a=a|0;b=b|0;return uJ(35632,q[b+4>>2],q[b+8>>2])|0}function Sca(a,b){a=a|0;b=b|0;return uJ(35633,q[b+4>>2],q[b+8>>2])|0}function Oj(a,b){a=a|0;b=b|0;a=nB(a,b);return(r[a|0]==(b&255)?a:0)|0}function HJ(a,b){var c=0;c=q[b>>2];if(c){Pi(a,c)}yi(q[b+4>>2]);yi(b)}function AZ(a){a=a|0;return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}function wma(a,b){a=a|0;b=b|0;if(r[q[a+12>>2]+18|0]){eK(a)}return 0}function rA(a){a=a|0;a=q[q[a+8>>2]+8>>2];cj(q[a>>2]);yi(a);return 0}function oM(a,b){q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;jt(a,b);return a}function hE(a,b,c){Qk(a,(c<<23)+8388608|b<<6|30,q[q[a+12>>2]+8>>2])}function dB(a,b,c){return(w(b<<8|b,c)+w(64-c|0,a<<8|a)|0)+32>>>14|0}function Lr(a){if(a){Tw(a);yi(q[a+104>>2]);xi[q[68401]](a,0,128)|0}}function wka(a){a=a|0;L6(q[a+8>>2]+16|0,q[q[a+16>>2]>>2]);return 0}function XJ(a){vfa(a);a=q[77105];if(a){Pm(a)}q[77104]=0;q[77105]=0}function Tja(a){a=a|0;if(!aK(q[q[a+16>>2]>>2])){Ai(4,5e4,50271,0)}}function Mua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qm(a,b,c,d)|0}function HX(a,b){if(q[b+16>>2]!=q[b+20>>2]){cn(a,b);return}tm(a,b)}function Coa(a){a=a|0;return rk(q[a>>2],q[a+4>>2],0,0,98,0,99,0)|0}function rqa(a){a=a|0;if(!a){J(207481,207439,61,207488);G()}yi(a)}function lu(a,b,c,d){return Qk(a,c<<6|b|d<<14,q[q[a+12>>2]+8>>2])}function g8(a,b){if((a|0)!=0&(b|0)!=0){Gi(b,a,144);p[a+140>>1]=0}}function Qoa(a,b){a=a|0;b=b|0;Ul(a,b);Zj(a,q[b+32>>2],q[b+36>>2])}function O$(a){a=a|0;if(!a){J(205397,205404,202,205436);G()}yi(a)}function hL(a,b){var c=0;c=q[a>>2];return zp(c,q[a+4>>2]-c>>3,b)}function Zn(a){if(a){yi(a);return}J(167451,167425,50,167457);G()}function Yra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ex(a,c,d)|0}function Wqa(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=q[a>>2]+c;return 1}function Qra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Dx(a,c,d)|0}function Ksa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ds(a,c,d)|0}function jY(a){a=a|0;mj(a,1,5);Ql(a,2);Ci(a,2);Vk(a,1);return 1}function Xra(){var a=0;a=Vj(1,384);if(a){Fi(a,0,384)}return a|0}function XN(a,b){var c=0;c=ti-16|0;ti=c;rw(a,b,c+8|0);ti=c+16|0}function SN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bn(d,b,c);return 0}function GV(a){if(a){Zl(a+224|0);Zl(a+260|0);Si(a+296|0);m$(a)}}function ER(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return b|0}function $ka(a,b){a=a|0;b=b|0;a=q[b+16>>2];if(a){yi(a)}return 0}function sz(a,b){var c=0;c=q[a+48>>2];wj(c);q[a+80>>2]=b;qj(c)}function pR(a){a=a|0;mj(a,1,5);Bi(a,140150,0);Qi(a,1);return 1}function e_(){var a=0;a=Vj(1,392);if(a){Fi(a,0,392)}return a|0}function cha(a){a=a|0;xi[q[77467]](q[q[a+8>>2]+8>>2]);return 0}function Lfa(a){a=a|0;xi[q[77466]](q[q[a+8>>2]+8>>2]);return 0}function $E(a){if(gb(a|0,0)|0){J(178162,178171,95,178198);G()}}function yW(a){a=a|0;q[242948]=Xi(a,1)-1;q[242949]=0;return 0}function m5(a){a=a|0;a=aj(a,1);Xl(q[a>>2]);q[a>>2]=0;return 0}function Vn(a,b,c,d,e){wl(a,1,q[q[G3(a)+80>>2]+8>>2],b,d,e,c)}function NP(a,b,c){a=a|0;b=b|0;c=c|0;Rt(q[a+68>>2]+776|0,b,c)}function MP(a,b,c){a=a|0;b=b|0;c=c|0;Cp(q[a+68>>2]+888|0,b,c)}function KL(a){var b=0;b=Oi(40);ura(b,a);q[215611]=b;return 0}function Zo(a){if((Zw(a,2)|0)<=-1){Sl(168496,445,q[242957])}}function ova(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wi=0;return 0}function fk(a,b,c,d,e,f,g,h){return vo(a,b,c,d,e,0,f,g,h,0)}function CD(a,b,c,d,e,f){return j$(a,b,q[a+220>>2],c,d,e,f)}function $X(a){a=a|0;return eX(a,q[a+8>>2]-q[a+12>>2]>>4)|0}function wj(a){if(a){return}J(167451,167425,58,167464);G()}function qj(a){if(a){return}J(167451,167425,71,167469);G()}function pV(a){q[a>>2]=0;Fi(a+224|0,0,404);Ep(a+8|0);sV(a)}function Pj(a,b,c,d){c=Fk(b,c,d);if(!c){c=VE(b,a)}return c}function Fsa(a,b,c){a=a|0;b=b|0;c=c|0;return LD(a,2,b,c)|0}function Esa(a,b,c){a=a|0;b=b|0;c=c|0;return LD(a,5,b,c)|0}function ysa(){var a=0;a=Vj(1,232);if(a){aW(a)}return a|0}function g_(a,b,c){a=a|0;b=b|0;c=c|0;return rD(a,2,b,c)|0}function ft(a,b,c){q[c+4>>2]=q[c>>2];return BL(a,b,c,119)}function f_(a,b,c){a=a|0;b=b|0;c=c|0;return rD(a,5,b,c)|0}function ZQ(a,b,c){a=a|0;b=b|0;c=c|0;return fD(a,b,c,0)|0}function Wra(a){a=a|0;if(a){xi[q[68401]](a,0,384)|0}yi(a)}function RQ(a,b,c){a=a|0;b=b|0;c=c|0;return Qt(a,b,c,1)|0}function Pra(){var a=0;a=Vj(1,128);if(a){zw(a)}return a|0}function PQ(a,b,c){a=a|0;b=b|0;c=c|0;return Qt(a,b,c,0)|0}function P$(a,b,c){a=a|0;b=b|0;c=c|0;return dF(a,0,b,c)|0}function Ora(a){a=a|0;if(a){xi[q[68401]](a,0,128)|0}yi(a)}function Lua(){var a=0;a=Vj(1,280);if(a){es(a)}return a|0}function Kua(a){a=a|0;if(a){xi[q[68401]](a,0,280)|0}yi(a)}function Jsa(){var a=0;a=Vj(1,276);if(a){ND(a)}return a|0}function Isa(a){a=a|0;if(a){xi[q[68401]](a,0,276)|0}yi(a)}function Eo(a,b){sta(q[a+104>>2],q[a+108>>2],a+112|0,a,b)}function Asa(a){a=a|0;if(a){xi[q[68401]](a,0,132)|0}yi(a)}function $Q(a,b,c){a=a|0;b=b|0;c=c|0;return fD(a,b,c,1)|0}function y$(a,b,c){a=a|0;b=b|0;c=c|0;return _ua(a,b,c)|0}function vha(a){a=a|0;a=q[q[a+8>>2]+8>>2];yi(a);return 0}function uN(a,b,c){a=a|0;b=b|0;c=c|0;return Ji(w(b,c))|0}function paa(a){a=a|0;Hi(a,q[fj(a,1,0)+420>>2]);return 1}function hm(a,b,c){if((Ei(a,b)|0)>=1){c=Xi(a,b)}return c}function fR(){var a=0;a=Vj(1,108);if(a){Qr(a)}return a|0}function era(a){a=a|0;zj(966256,Wi(a,1,0),1024);return 0}function eR(a){a=a|0;if(a){xi[q[68401]](a,0,108)|0}yi(a)}function cj(a){if(!a){J(22086,22023,351,22094);G()}yi(a)}function XQ(){var a=0;a=Vj(1,216);if(a){Ep(a)}return a|0}function WQ(a){a=a|0;if(a){xi[q[68401]](a,0,216)|0}yi(a)}function WE(){var a=0;a=Vj(1,172);if(a){Bx(a)}return a|0}function Pn(a,b,c){if((Ei(a,b)|0)>=1){c=Ri(a,b)}return c}function Iua(a,b,c){a=a|0;b=b|0;c=c|0;return oW(a,b,c)|0}function Hua(a,b,c){a=a|0;b=b|0;c=c|0;return Bq(a,b,c)|0}function Hsa(a,b,c){a=a|0;b=b|0;c=c|0;return jW(a,b,c)|0}function Gsa(a,b,c){a=a|0;b=b|0;c=c|0;return MD(a,b,c)|0}function Dsa(){var a=0;a=Vj(1,64);if(a){Gx(a)}return a|0}function Bva(a){a=a|0;a=q[76536];if(a){yi(a);q[76536]=0}}function xn(a){if(!Hw(a)){return 0}return Bu(q[242957])}function wT(a,b,c){a=a|0;b=b|0;c=c|0;return xq(a,b,c)|0}function mR(){var a=0;a=Vj(1,92);if(a){uq(a)}return a|0}function lR(a){a=a|0;if(a){xi[q[68401]](a,0,92)|0}yi(a)}function kV(a,b,c){a=a|0;b=b|0;c=c|0;return jV(a,b,c)|0}function jT(a){a=a|0;return Nt(a,264864,pl(a,132335))|0}function iT(a){a=a|0;return Nt(a,265328,pl(a,132701))|0}function hR(a,b,c){a=a|0;b=b|0;c=c|0;return tq(a,b,c)|0}function aR(a,b,c){a=a|0;b=b|0;c=c|0;return Rt(a,b,c)|0}function VS(a){a=a|0;return Nt(a,264912,pl(a,132335))|0}function US(a){a=a|0;return Nt(a,265200,pl(a,132701))|0}function SV(a,b,c){a=a|0;b=b|0;c=c|0;return RV(a,b,c)|0}function SQ(a,b,c){a=a|0;b=b|0;c=c|0;return Cp(a,b,c)|0}function QS(a){a=a|0;return SB(a,pl(a,132335)+8248|0)|0}function Eja(a,b,c){a=a|0;b=b|0;c=c|0;xi[q[77502]](b,0)}function BT(){var a=0;a=Vj(1,88);if(a){yq(a)}return a|0}function AT(a){a=a|0;if(a){xi[q[68401]](a,0,88)|0}yi(a)}function nx(a,b,c,d){a=Hx(a,b,c,d);return a?a-8960|0:0}function dT(a){a=a|0;return Rsa(a,Ym(a,132311)+24|0)|0}function bda(a,b){a=a|0;b=b|0;return q[a+132>>2]>>>b&1}function bT(a){a=a|0;return Qsa(a,Ym(a,132311)+24|0)|0}function _S(a){a=a|0;return Psa(a,Ym(a,132311)+24|0)|0}function Vra(a,b,c){a=a|0;b=b|0;c=c|0;return OV(a,b)|0}function Ura(a,b,c){a=a|0;b=b|0;c=c|0;return NV(a,b)|0}function Tra(a,b,c){a=a|0;b=b|0;c=c|0;return MV(a,b)|0}function Sra(a,b,c){a=a|0;b=b|0;c=c|0;return LV(a,b)|0}function RS(a){a=a|0;return Osa(a,Ym(a,132311)+24|0)|0}function Nra(a,b,c){a=a|0;b=b|0;c=c|0;return JV(a,b)|0}function Mra(a,b,c){a=a|0;b=b|0;c=c|0;Gp(a,b);return 0}function Dfa(a){a=a|0;yi(q[76536]);q[76536]=0;return 0}function rha(a){a=a|0;Wba(q[q[a+8>>2]+8>>2]);return 0}function x2(a){a=a|0;yi(q[a+104>>2]);yi(q[a+120>>2])}function rga(a){a=a|0;BG(q[q[a+8>>2]+8>>2]);return 0}function rO(a,b,c){a=a|0;b=b|0;c=+c;u[(b<<2)+a>>2]=c}function oha(a){a=a|0;gz(q[q[a+8>>2]+8>>2]);return 0}function iz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0}function Zga(a){a=a|0;q7(q[q[a+8>>2]+8>>2]);return 0}function Ql(a,b){if((Ei(a,b)|0)==-1){Qj(a,b,137991)}}function PS(a){a=a|0;return SB(a,pl(a,132701)+8|0)|0}function Nwa(a){if(a){return 31-z(a-1^a)|0}return 32}function Dv(a){a=a|0;Zj(a,zi(Wi(a,2,0)),wi);return 1}function A_(a,b){a=a|0;b=b|0;El(a,q[b>>2],q[b+4>>2])}function $ga(a){a=a|0;cj(q[q[a+8>>2]+8>>2]);return 0}function vaa(a){a=a|0;Un(a,fj(a,1,0)+96|0);return 1}function vD(a){if(a){Mn(a);Si(a+124|0);Zl(a+136|0)}}function kk(a,b){q[81758]=q[81758]+1;return un(a,b)}function iE(a,b,c){a=sl(a,c);q[b>>2]=9;q[b+12>>2]=a}function Waa(a){a=a|0;Un(a,fj(a,1,0)+48|0);return 1}function Fda(a){a=a|0;return q[a+8>>2]-q[a+4>>2]>>2}function Faa(a){a=a|0;Un(a,fj(a,1,0)+80|0);return 1}function x$(a,b){a=a|0;b=b|0;return+u[(b<<2)+a>>2]}function w$(a,b){a=a|0;b=b|0;return+q[(b<<2)+a>>2]}function u$(a,b){a=a|0;b=b|0;return+p[(b<<1)+a>>1]}function r$(a,b){a=a|0;b=b|0;return+t[(b<<2)+a>>2]}function p$(a,b){a=a|0;b=b|0;return+s[(b<<1)+a>>1]}function b_(a){a=a|0;q[rm(a,139146)>>2]=0;return 0}function rp(a,b,c){Ki(a,-1e4,b);ij(a,(c>>31)+c|0)}function bX(a){a=a|0;ik(a,141725,269088);return 1}function _W(a){a=a|0;ik(a,140635,268592);return 1}function Zl(a){if(a){Si(a);Si(a+12|0);Si(a+24|0)}}function YR(a){a=a|0;Hi(a,vn(Wi(a,1,0)));return 1}function WW(a){a=a|0;ik(a,139994,268304);return 1}function Qia(a){a=a|0;return q[q[a+344>>2]+12>>2]}function QF(a,b){return q[Li(a,b,q[212908],0)>>2]}function C$(a){a=a|0;xi[q[a>>2]](q[a+8>>2]);yi(a)}function qS(a,b){a=a|0;b=b|0;return TC(a,b,20)|0}function pS(a,b){a=a|0;b=b|0;return TC(a,b,21)|0}function lS(a,b){a=a|0;b=b|0;return SC(a,b,35)|0}function kS(a,b){a=a|0;b=b|0;return SC(a,b,36)|0}function YI(a,b){return _q(a,3,q[b+76>>2]-2|0,b)}function Ina(a){a=a|0;Nq(a,op(Hm(a,1)));return 1}function vP(a){a=a|0;a=ti-a&-16;ti=a;return a|0}function dfa(a,b,c){a=a|0;b=b|0;c=c|0;dA(a,b,c)}function aL(a){bL(q[a+80>>2],s[a+150>>1]&32767)}function DD(a,b,c,d,e,f){return o$(a,b,c,d,e,f)}function DA(a){var b=0;b=q[a>>2];yi(a);return b}function CB(a,b){if(!a){return 0}return TN(a,b)}function zn(a,b){return(mk(a,b,q[81777])|0)!=0}function lq(a,b){return XB(a,b,10,-2147483648)}function VY(a){a=a|0;return(a|0)==32|a-9>>>0<5}function UC(a){a=a|0;return(a<<24|a<<8)>>>16|0}function Qwa(a,b,c){Mwa(a,b,c);wi=vi;return ui}function Ky(a){F3(a);nX(q[a+120>>2]);yi(D3(a))}function Jl(a,b,c){if(!(r[a|0]&32)){qB(b,c,a)}}function Gu(a,b){return(mk(a,b,q[81791])|0)!=0}function zT(a,b){a=a|0;b=b|0;return Yr(a,b)|0}function yT(a,b){a=a|0;b=b|0;return as(a,b)|0}function xs(a,b){return(ul(a,b)|0)==q[212907]}function oN(){JA(968304,202462,0,0,1532,1533)}function kR(a,b){a=a|0;b=b|0;return Rr(a,b)|0}function jR(a,b){a=a|0;b=b|0;return $r(a,b)|0}function fva(a){a=a|0;return ia(q[a+60>>2])|0}function dR(a,b){a=a|0;b=b|0;return St(a,b)|0}function cR(a,b){a=a|0;b=b|0;return _r(a,b)|0}function c$(a){a=a|0;return(a|0)==4|(a&-2)==2}function b$(a,b){a=a|0;b=b|0;return zV(a,b)|0}function Xy(a,b,c){q[a+80>>2]=G5(q[a>>2],b,c)}function VW(a,b){a=a|0;b=b|0;return D_(a,b)|0}function VQ(a,b){a=a|0;b=b|0;return Or(a,b)|0}function UQ(a,b){a=a|0;b=b|0;return Zr(a,b)|0}function Owa(a,b,c,d){a=Lwa(a,b,c,d);return a}function MB(a,b,c){return jB(a,b,c,1577,1578)}function EF(a,b){return(ul(a,b)|0)==q[212908]}function AR(a,b){a=a|0;b=b|0;return OU(a,b)|0}function t$(a,b){a=a|0;b=b|0;return+o[a+b|0]}function s$(a,b){a=a|0;b=b|0;return+r[a+b|0]}function r2(a,b){a=a|0;b=b|0;zF(a,b,0,0,0,0)}function p8(a,b){a=a|0;b=b|0;t8(q[212969],a)}function n8(a,b){a=a|0;b=b|0;jI(q[212968],a)}function mp(a){Ys(a+32|0);return Fi(a,0,112)}function iZ(a){a=a|0;OE(a,1,140565);return 1}function eZ(a){a=a|0;OE(a,2,140567);return 1}function Zla(a){a=a|0;return q[q[a+4>>2]>>2]}function S_(a){a=a|0;return ky(a,274912,6)|0}function R_(a){a=a|0;return ky(a,274920,7)|0}function RZ(a){a=a|0;return Bi(a,141403,0)|0}function Q$(a){a=a|0;oP(q[a+12>>2]);return 0}function P_(a){a=a|0;return ky(a,274928,8)|0}function Mi(a,b){a=Qs(a,b);return a?a:160074}function BR(a){a=a|0;return(a|0)==1|(a|0)==6}function cqa(a){a=a|0;o[a+148|0]=0;return 0}function M$(a){a=a|0;wi=0;return q[a+12>>2]}function Jpa(a){a=a|0;return Bi(a,5643,0)|0}function pr(a){bq(a+24|0);bq(a+12|0);bq(a)}function kN(){JA(307712,75350,0,0,574,575)}function cpa(a,b){a=a|0;b=b|0;q[a+16>>2]=b}function Oz(a,b,c){return zI(a,b,zi(c),wi)}function NM(a,b,c){return jB(a,b,c,1577,0)}function Mz(a,b,c){return pI(a,b,zi(c),wi)}function Ly(a,b){return Li(a,b,q[81791],0)}function Km(a,b){return jva(a,b,Ui(a)+1|0)}function K$(a){a=a|0;q[a+12>>2]=0;return 0}function DI(a,b,c){return CI(a,b,zi(c),wi)}function yn(a,b){return mk(a,b,q[212905])}function vy(a,b){return mk(a,b,q[212907])}function vm(a,b){return mk(a,b,q[212904])}function uy(a,b){return mk(a,b,q[212906])}function sF(a,b,c,d,e){return t0(a,b,d,e)}function msa(a){a=a|0;Qi(a,-1e4);return 1}function JZ(a){a=a|0;ck(a,956,1);return 1}function Cj(a,b,c,d){return tL(a,b,c,d,0)}function AE(a,b,c){return Yl(Uw(a,b,c,0))}function vR(a){a=a|0;return q[a+4>>2]<<3}function mN(){JA(296336,5356,22,23,24,0)}function ZR(a){a=a|0;Ga(hm(a,1,0)|0);G()}function Hda(a){a=a|0;return q[a+120>>2]}function Gda(a){a=a|0;return q[a+108>>2]}function BD(a,b){return Xt(a,b)?-20096:0}function x0(a){a=a|0;o[327112]=(a|0)!=0}function qL(a,b,c,d){return BL(a,b,c,d)}function fp(a){return Fi(Oi(200),0,200)}function bq(a){if(q[a>>2]){yi(q[a>>2])}}function Up(a,b,c,d){return ZG(a,b,c,d)}function Lt(a,b,c){return cx(a,b,c,0,0)}function $w(a,b,c){return _w(a,b,c,0,0)}function tE(a){return qi(a|0,972060)|0}function rsa(a){a=a|0;gs(a,1);return 1}function rN(){Fv(300848,36089,144,145)}function qN(){Fv(301504,40274,186,187)}function nia(a){a=a|0;return RJ(a,1)|0}function mia(a){a=a|0;return RJ(a,0)|0}function dN(){_o(306160,55962,465,466)}function __(a){a=a|0;return q[a+88>>2]}function Yj(a){Hk(a,135704,0);return 0}function X_(a){a=a|0;return(a&-2)==2|0}function WG(a,b){return z6(Oi(48),a,b)}function Vpa(a){a=a|0;Ypa(a+8|0);nL(a)}function MZ(a){a=a|0;return UB(a,10)|0}function LZ(a){a=a|0;return QB(a,10)|0}function Kw(a,b,c){ava(a,b,c);return a}function Jw(a,b,c){return XB(a,b,c,-1)}function zi(a){a=vl(a,Ui(a));return a}function yD(a,b){return Xt(a,q[b>>2])}function pca(a,b){a=a|0;b=b|0;Ma(b|0)}function i6(a,b){a=a|0;b=b|0;return 0}function i$(a){a=a|0;return(a|0)==4|0}function fK(a,b,c){return ml(a,b,c,0)}function bR(a){a=a|0;return Pr(a,1)|0}function al(a){return $ua(a,q[73997])}function _Q(a){a=a|0;return Pr(a,0)|0}function WO(a){a=a|0;return aC(a,0)|0}function Vl(a,b,c){return Ay(a,b,c,0)}function TQ(a){a=a|0;return Dp(a,1)|0}function QQ(a){a=a|0;return Dp(a,0)|0}function Pwa(a,b,c){return Mwa(a,b,c)}function OZ(a){a=a|0;return UB(a,2)|0}function NZ(a){a=a|0;return QB(a,2)|0}function LI(a,b){return(lv(a,b)|0)!=0}function $O(a){a=a|0;return aC(a,1)|0}function nR(a,b){a=a|0;b=b|0;vx(a,b)}function hN(){_o(305888,53943,455,0)}function h8(a){a=a|0;_7(q[212969],a)}function gR(a,b){a=a|0;b=b|0;ux(a,b)}function gN(){_o(297648,19647,100,0)}function fN(){_o(297776,20357,105,0)}function eN(){_o(306016,55668,460,0)}function cN(){_o(297904,20672,110,0)}function bN(){_o(298032,20817,114,0)}function YQ(a,b){a=a|0;b=b|0;tx(a,b)}function CT(a,b){a=a|0;b=b|0;yx(a,b)}function sN(){Fv(297248,13804,32,0)}function pN(){Fv(297376,13810,37,0)}function ox(a,b,c){return LT(a,b,c)}function iN(){_o(297520,19641,97,0)}function YK(a,b,c){Woa(q[a>>2],b,c)}function Dj(a,b){Pl(a,b,q[a+16>>2])}function DS(a){a=a|0;return Oi(a)|0}function Cm(a){return Al(a)+7>>>3|0}function wD(a){return!uj(a+24|0,0)}function tN(a,b){a=a|0;b=b|0;yi(b)}function Qv(a,b,c){dt(q[a>>2],b,c)}function KI(a){return _q(a,0,-2,0)}function Et(a,b){bva(a,b);return a}function xsa(a){a=a|0;bW(a);yi(a)}function nJ(){return(ay()|0)==1|0}function Xl(a){a=a|0;if(a){yi(a)}}function SK(a){return Fi(a,0,960)}function Ps(a){return Vp(a,Ui(a))}function Im(a){return Fi(a,0,112)}function Csa(a){a=a|0;gW(a);yi(a)}function wR(a){a=a|0;JU(a);yi(a)}function rz(a){yi(q[a>>2]);yi(a)}function h$(a){a=a|0;Yt(a);yi(a)}function ey(a,b){Rl(a,1,Ui(a),b)}function d_(a){a=a|0;mV(a);yi(a)}function ZB(a,b){Et(Ui(a)+a|0,b)}function Ys(a){return Fi(a,0,72)}function NB(a,b,c){jB(a,b,c,0,0)}function $_(a){a=a|0;vD(a);yi(a)}function bF(a,b){return Au(a,b)}function _G(a,b){ZG(a,b,1373,0)}function Vx(a,b){return In(a,b)}function Fy(a){return cu(a,3,0)}function Ft(a,b){return nj(a,b)}function Em(a,b){return QO(a,b)}function $l(a,b){return Oq(a,b)}function sA(a){a=a|0;return-15}function pM(a,b,c){mt(a,b,c,4)}function Ty(a){return Km(a,46)}function mo(a){mE(a);return 0}function Wm(a){a=a|0;return 0}function Rpa(a,b){a=a|0;b=b|0}function ux(a,b){Gi(a,b,108)}function tx(a,b){Gi(a,b,216)}function nva(){return 971828}function ik(a,b,c){po(a,b,c)}function Xua(){return 972116}function Wua(){return 972120}function Vua(){return 972108}function yx(a,b){Gi(a,b,88)}function wva(a){a=a|0;Gwa()}function vx(a,b){Gi(a,b,92)}function Zda(a){a=a|0;Sa(0)}function Yt(a){if(a){vD(a)}}function Yoa(a){a=a|0;yi(a)}function Kwa(a){a=a|0;Spa()}function Jwa(a){a=a|0;Upa()}function zw(a){Fi(a,0,128)}function es(a){Fi(a,0,280)}function bt(a){Pv(q[a>>2])}function _C(a){Fi(a,0,344)}function Qr(a){Fi(a,0,108)}function ND(a){Fi(a,0,276)}function Ep(a){Fi(a,0,216)}function yq(a){Fi(a,0,88)}function uq(a){Fi(a,0,92)}function uP(a){a=a|0;ti=a}function tP(){return ti|0}function rL(a,b){CL(a,b)}function FB(a,b){XN(a,b)}function lL(a){a=a|0}function Nda(){mb()} // EMSCRIPTEN_END_FUNCS -a=r;twa(Lwa);var ji=rwa([null,mpa,q7,cpa,dpa,epa,bpa,via,sia,tia,uia,ipa,jpa,gpa,lpa,Voa,Soa,Xoa,Yoa,ewa,fwa,apa,Ol,Ol,Moa,Loa,lna,ro,Ina,Yna,hva,poa,xoa,zoa,Aoa,Ol,yoa,foa,noa,uoa,voa,toa,qoa,soa,woa,hoa,loa,moa,koa,joa,roa,ioa,ooa,Rna,Sna,Tna,Wna,jna,fna,_J,fv,ana,bna,dna,cna,ina,hna,ena,gna,kna,Nma,Gma,Vma,Uma,ZJ,ZJ,Tma,Wma,Jma,Ima,Hma,Kma,Sma,Rma,Pma,Qma,Oma,Xma,$ma,_ma,Yma,Zma,Lma,Mma,Fna,jA,jA,Ena,xna,zna,yna,wna,Dna,tna,vna,una,sna,Cna,rna,iA,qna,Bna,nna,pna,ona,mna,Zpa,vpa,gva,_pa,X3,W3,a4,OF,PF,yy,B3,C3,iha,Xu,jha,fha,gha,hha,cha,dha,eha,Ol,Ol,Wga,iga,kga,lga,jga,Ffa,Ifa,Hfa,Jfa,Gfa,ufa,vfa,wfa,iJ,Lga,Mga,Nga,iJ,Oga,Qga,Rga,Pga,qha,sha,tha,rha,sga,uga,vga,tga,mga,oga,pga,nga,wga,yga,zga,xga,Qfa,Rfa,Sfa,Ol,Pfa,Tfa,Ofa,oha,iA,pha,Gga,Hga,Iga,jA,Jga,Kga,Sga,Uga,Vga,Tga,kha,mha,nha,lha,Cga,Ega,Fga,Dga,Aga,iA,Bga,_fa,$fa,aga,bga,cga,dga,Kfa,Mfa,Nfa,Lfa,Bfa,Dfa,Efa,Cfa,xfa,zfa,Afa,yfa,qga,Xu,Xz,rga,Ufa,Xu,Xz,Vfa,Wfa,Yfa,Zfa,Xfa,Xga,Yga,Zga,Qla,$la,Xla,Yla,_la,Zla,Ula,Wla,Tla,Sla,Rla,Pla,Mla,Ila,Jla,Lla,Kla,Gla,Nla,Cla,Hla,Ela,Fla,Dla,Bla,oma,mma,nma,fA,kma,hma,lma,ima,jma,gma,Ol,Oja,Qja,Pja,Mja,Kja,Nja,Lja,Jja,bka,pka,mka,oka,nka,eka,fka,$ja,hka,dka,_ja,tka,Dka,Aka,Cka,Bka,vka,wka,rka,yka,uka,qka,Ol,Ol,Ol,Ol,Ol,Sja,Zja,Wja,Yja,Xja,Vja,Tja,Uja,Rja,DJ,zla,Ala,fA,wla,vla,tla,DJ,ema,fma,fA,cma,ama,Jka,Gka,Ika,Hka,Fka,Ol,Eka,xja,Ija,Fja,Hja,Gja,Aja,Bja,vja,Dja,yja,zja,uja,ija,tja,qja,sja,rja,lja,mja,gja,oja,jja,kja,fja,Mka,Vka,Zka,Wka,Yka,Xka,Oka,Qka,Kka,Tka,GK,Nka,O5,Lha,Kha,Vla,Kea,wia,Wia,dea,eea,eja,pma,Iha,Ola,Jha,ala,$ka,gla,qla,rla,pla,lla,ola,sla,_ka,cla,ela,fla,dla,mla,bla,kla,hla,nla,ria,Pia,gia,Eia,cea,vma,Yia,bja,Qia,Nea,Zia,iia,wha,Cha,jla,ila,Sea,Uka,Lka,Rka,tfa,Bha,ska,zka,xka,sfa,lka,cka,Aha,aka,jka,gka,Dha,zha,yha,wja,Eja,Cja,xha,pja,hja,nja,Fha,vha,Xz,Xu,uha,mfa,gga,aha,_ga,ega,ofa,nfa,hga,bha,$ga,fga,cva,rfa,qfa,pfa,yma,wma,xma,pea,lea,nea,oea,mea,_ia,Cia,Nia,cja,dja,MN,JN,LN,KN,NN,ON,QN,PN,RN,$_,Y_,__,Z_,a$,b$,d$,c$,e$,rJ,uma,sma,rma,tma,qma,Uia,Sia,Ria,Tia,Oea,zia,Bia,mia,nia,pia,oia,kia,lia,Via,eia,bia,cia,dia,Uha,Tha,aia,$ha,Yha,Oha,Xha,Wha,Qha,_ha,Sha,Rha,Mha,Zha,Pha,Vha,Nha,Jea,qia,Mea,Pea,Oia,Yea,Aia,R6,Q6,N6,O6,P6,h7,VG,Dea,Eea,Fea,yea,Iea,Gea,Hea,Cea,Aea,wea,Bea,zea,xea,sea,qea,tea,uea,rea,vea,hea,iea,gea,jea,kea,fea,Tea,Vea,Kia,Dia,Xca,Jca,mda,Eca,Kca,jda,sda,Kda,Cda,rda,qda,lda,ida,kda,hca,ica,gca,Pda,Qca,Wca,tca,pda,oda,sca,Qda,Rca,uca,wca,zca,mca,lca,pca,oca,nca,qca,yca,xca,Cca,Dca,Lda,Dda,dca,rca,Bca,Aca,gda,hda,fda,Hca,Mda,Eda,nda,Tda,Nda,Ica,Gca,Rda,Sca,Uca,Mca,Fda,Gda,$ca,Jda,Bda,Ada,ro,kca,Oca,Nca,Yca,vca,XI,Sda,Tca,tda,eca,fca,Oda,Pca,Wda,jca,yda,GK,xda,Fca,cca,dda,ada,vda,eda,wda,bda,_ca,Vda,Lca,cda,zda,Zca,Uda,Vca,uda,Hda,Ida,Xda,_da,Zda,Yda,_ua,bva,Zua,Tsa,Usa,B5,t5,r5,C5,z5,Z4,fv,T4,U4,W4,V4,Y4,fv,X4,_4,c5,$4,b5,a5,S4,R4,E4,L4,v4,O4,m4,F4,M4,n4,D4,K4,A4,B4,Q4,h4,i4,o4,u4,t4,q4,r4,k4,l4,j4,s4,p4,H4,I4,J4,z4,C4,x4,y4,w4,P4,G4,N4,v2,w2,s2,r2,f3,_2,Xua,G2,E2,F2,w1,v1,x1,y1,z1,A1,X2,$1,U1,V1,W2,V2,U2,T2,C2,x2,L0,Q0,O0,M0,P0,N0,Z1,d1,g1,j1,n1,f1,h1,i1,l1,p1,o1,k1,a1,b1,m1,q1,e1,$0,_0,c1,r1,W0,V0,R0,X0,T0,U0,t2,u2,Y0,Z0,S0,n0,i0,l0,m0,j0,A0,F0,C0,J0,B0,E0,H0,z0,I0,G0,p0,u0,r0,y0,q0,t0,w0,o0,x0,v0,E1,I1,F1,H1,K1,J1,a2,e2,b2,d2,g2,f2,k0,D0,s0,G1,c2,O1,Q1,P1,N1,M1,L1,o2,n2,m2,l2,p2,q2,k2,j2,i2,h2,$2,A2,z2,W1,b3,y2,s1,d3,B1,S1,D2,T1,Y1,h0,f0,g0,Zra,fsa,gsa,esa,csa,bsa,_ra,hsa,asa,$ra,dsa,Yra,Ol,_Z,iR,rZ,qZ,cZ,gZ,dZ,eZ,fZ,oZ,Ol,pZ,iQ,pC,oC,gT,Xta,iT,hT,eT,dT,bT,$S,ZS,XS,VS,TS,FS,SS,RS,OS,LS,JS,ES,CS,vZ,tZ,wZ,YR,WR,VR,XR,cS,IR,GR,ER,OR,HR,fO,eO,fT,cT,aT,_S,WS,US,QS,PS,NS,MS,KS,IS,YS,HS,GS,DS,uZ,sZ,TR,UR,FR,LR,JR,KR,NR,MR,PR,QR,SR,RR,_R,ZR,aS,bS,$R,h_,bR,d_,_W,cX,e_,Sra,IZ,HZ,AY,sR,EY,aY,XX,WX,YX,JZ,mY,lY,jY,iY,hY,gY,IX,nY,kY,fY,eY,dY,cY,bY,_X,$X,ZX,VX,UX,TX,SX,RX,QX,PX,OX,NX,MX,LX,KX,JX,KZ,pY,qY,sY,rY,xY,uY,wY,vY,iO,UZ,TZ,AZ,aW,dO,ZN,PQ,cQ,UY,PY,MY,JY,VY,TY,RY,QY,OY,NY,LY,KY,IY,GY,FY,g_,f_,c_,b_,a_,$Z,SY,HY,DR,CR,BR,AR,zR,yR,xR,wR,vR,uR,tR,pN,mZ,CO,BO,AO,zO,yO,yZ,nZ,xO,wO,vO,uO,tO,sO,rO,qO,CW,BW,AW,yW,zW,xW,vW,wW,uW,tW,sW,rW,qW,pW,nW,oW,mW,lW,kW,jW,iW,hW,gW,eW,fW,dW,bW,cW,jZ,yra,wra,vra,ura,tra,rra,sra,qra,pra,ora,nra,mra,lra,xra,NW,HW,EW,KW,IW,FW,JW,LW,n8,f8,m8,dS,vi,J,$na,CY,uk,Nj,mi,Nl,Fi,Ci,Cqa,jL,Yq,Gqa,Uy,Eqa,qi,lT,kT,nT,dD,pT,oT,qT,mT,IQ,HQ,KQ,jU,MQ,LQ,NQ,JQ,BQ,AQ,DQ,zQ,FQ,EQ,GQ,CQ,yQ,xQ,rQ,qQ,tQ,pQ,vQ,uQ,wQ,sQ,oQ,nQ,z_,y_,w_,x_,v_,XU,VQ,$Q,SQ,TQ,YQ,XQ,_Q,aR,WQ,ZQ,H_,L_,F_,G_,K_,KE,I_,J_,E_,R_,LE,ME,KE,Q_,FU,hua,jua,iua,cua,dua,gua,fua,PZ,NZ,MZ,Kra,Ira,Hra,Pra,Rra,Qra,Lra,Mra,Ora,Nra,OZ,Jra,Vqa,Wqa,Rqa,Sqa,Uqa,Tqa,bra,cra,Zqa,_qa,ara,$qa,Xqa,Yqa,Era,EL,Gra,Fra,EL,Dra,Cra,EZ,mua,FZ,nua,DZ,lua,CZ,kua,GZ,aV,BV,Wua,F7,G7,H7,D7,Uy,B7,C7,eoa,Uy,Uua,EO,MO,KO,cR,DO,GO,FO,A6,B6,Toa,Tua,Rua,ava,Yua,Vua,Sua,fva,dva,cO,YP,VP,aO,WP,TP,bO,XP,UP,lP,jP,kP,iP,MU,l3,i3,j3,i$,iB,hB,dra,fra,era,lZ,dba,_aa,eba,rJ,Nba,R8,_J,fv,hba,iba,kba,jba,nba,lba,mba,oba,U8,W8,V8,X8,Caa,Kaa,E9,Jaa,Zaa,fba,cba,aaa,Z9,_9,kaa,i9,z9,Daa,Vaa,N9,Taa,L9,Saa,K9,Uaa,M9,jaa,g9,Oaa,U9,bba,Y9,Yaa,h9,Maa,Naa,F9,Gaa,B9,Faa,laa,maa,gaa,e9,faa,d9,vaa,s9,haa,Laa,naa,j9,V9,daa,I9,Xaa,P9,paa,l9,caa,baa,zaa,w9,$aa,aba,c9,eaa,S9,raa,n9,Q9,R9,q9,t9,waa,u9,xaa,C9,Haa,y9,Baa,A9,Eaa,f9,iaa,k9,oaa,Qaa,H9,Paa,G9,$9,v9,yaa,X9,W9,Iaa,D9,Waa,O9,uaa,r9,taa,p9,saa,o9,Raa,J9,Aaa,x9,qaa,m9,fqa,Ol,lqa,nqa,oqa,pqa,tqa,rqa,sqa,qqa,mqa,kqa,Ol,SG,TG,yy,U6,V6,c7,a7,Z6,eva,$ua,iB,hB,BS,AS,yS,zS,tS,G$,CN,BN,EN,DN,GN,FN,IN,HN,t$,v$,u$,s$,r$,VE,y$,z$,WE,x$,w$,VE,UN,lR,qpa,tpa,ppa,rpa,spa,opa,npa,XZ,jR,lQ,Cua,Bua,Aua,Ol,zua,Lua,f$,Of,Gg,ye,Ah,_f,ie,df,jf,ff,kf,hf,oh,yg,If,qe,jg,pg,gg,Nc,Dh,Ch,yh,xh,uh,th,rh,nh,mh,lh,kh,jh,hh,gh,fh,eh,$g,_g,Zg,Xg,Wg,Vg,Tg,Qg,Pg,Ng,Mg,Lg,Kg,Jg,Ig,Fg,Dg,Bg,xg,wg,vg,ug,tg,sg,rg,ig,bg,ag,Xf,Wf,Vf,Uf,Sf,Rf,Hf,Qf,Nf,Lf,Gf,Ff,Bf,Af,zf,xf,wf,vf,tf,pf,lf,mf,cf,Ye,$e,_e,Ze,Xe,Ue,Te,Oe,Ne,Pe,Ie,He,Je,Ge,De,Ce,Be,Ae,xe,ve,te,pe,oe,me,le,ge,fe,ee,be,Yd,Xd,Wd,Vd,Ud,Td,Sd,Rd,Qd,Pd,Nd,Md,Ld,Kd,Hd,Ed,Dd,Cd,Bd,yd,xd,wd,vd,sd,rd,qd,pd,md,ld,kd,jd,fd,cd,$c,Yc,Xc,Wc,Vc,Uc,Tc,Sc,Rc,Qc,Pc,Ec,Dc,Lc,ng,dg,kg,he,cg,Od,Gd,Og,Ug,Sg,Pf,Hg,ze,Bh,$f,ef,gf,lg,ed,bd,dd,_c,ad,Zc,ih,de,Tf,ph,zg,Jf,re,qf,zh,Zf,vh,wh,Fd,Se,Fc,Le,Ke,Jc,Hc,Ic,Gc,Me,uf,Ad,ud,od,id,zd,td,nd,hd,bh,ah,ch,dh,We,Rg,Qe,Cf,Re,Df,Ef,gd,qg,hg,Yf,ue,Cg,Yg,Cc,rf,Ve,sf,yf,Mf,Eg,we,sh,_d,Zd,ae,$d,af,bf,Oc,qh,Ag,Kf,se,ne,ce,nf,ke,je,Fe,Ee,Jd,Id,of,Kc,Mc,mg,og,eg,fg]);function Bwa(){return n.byteLength/65536|0}return{"Ah":ji,"Bh":tua,"Ch":Roa,"Dh":DW,"Eh":xi,"Fh":ki,"Gh":hZ,"Hh":e0,"Ih":Kua,"Jh":HC,"Kh":HC,"Lh":dwa,"Mh":qua,"Nh":sua,"Oh":rua,"Ph":SO,"Qh":TO,"Rh":UO,"Sh":RQ,"Th":zY}}return Awa(Cwa)} +a=r;Ywa(oxa);var xi=Wwa([null,kqa,aqa,bqa,cqa,$pa,n7,Sia,Pia,Qia,Ria,gqa,hqa,eqa,jqa,Tpa,Qpa,Vpa,Wpa,Jwa,Kwa,_pa,Wm,Wm,Kpa,Jpa,hoa,Xl,Foa,Voa,Dva,npa,wpa,ypa,zpa,Wm,xpa,dpa,lpa,tpa,upa,spa,opa,rpa,vpa,fpa,qpa,jpa,kpa,ipa,hpa,ppa,gpa,mpa,Ooa,Poa,Qoa,Toa,eoa,aoa,DK,Dv,Xna,Yna,_na,Zna,doa,coa,$na,boa,goa,foa,Hna,Ana,Pna,Ona,CK,CK,Nna,Qna,Dna,Cna,Bna,Ena,Mna,Lna,Jna,Kna,Ina,Rna,Wna,Vna,Tna,Una,Fna,Gna,Sna,Coa,sA,sA,Boa,toa,voa,uoa,soa,Aoa,poa,roa,qoa,ooa,zoa,noa,rA,moa,yoa,joa,loa,koa,ioa,sqa,Cva,Wqa,r4,q4,w4,c4,g4,_3,$3,a4,h4,gia,fia,Kma,Xea,Tia,pea,qea,Oja,hna,dia,wja,Dma,eia,Mla,Lla,Sla,ama,bma,$la,Xla,_la,cma,Kla,Ola,Qla,Rla,Pla,Yla,Nla,Wla,Tla,Zla,Oia,oja,Dia,aja,oea,pna,yja,Jja,pja,_ea,Eja,Fia,Pha,Yha,Vla,Ula,dfa,Jfa,Xha,Sha,cla,jla,hla,ala,$ka,fla,lla,mla,kla,nla,_ka,dla,ela,ila,bla,gla,Zha,Wha,Ifa,Vka,Mka,Vha,Rha,Kka,Tka,Qka,Uha,Qha,eka,mka,kka,Tha,Zja,Rja,Xja,Ela,vla,Bla,Aha,fA,Bha,xha,yha,zha,uha,vha,wha,Aga,Cga,Dga,Bga,Vfa,Yfa,Xfa,Zfa,Wfa,Kfa,Lfa,Mfa,GJ,bha,cha,dha,GJ,eha,gha,hha,fha,Jha,Lha,Mha,Kha,Kga,Mga,Nga,Lga,Ega,Gga,Hga,Fga,Oga,Qga,Rga,Pga,ega,fga,gga,Wm,dga,hga,cga,Hha,rA,Iha,Yga,Zga,_ga,sA,$ga,aha,iha,lha,mha,jha,Cha,Fha,Gha,Dha,Uga,Wga,Xga,Vga,Sga,rA,Tga,qga,rga,sga,tga,uga,vga,_fa,aga,bga,$fa,Rfa,Tfa,Ufa,Sfa,Nfa,Pfa,Qfa,Ofa,Iga,fA,JJ,Jga,iga,kga,lga,jga,mga,oga,pga,nga,nha,oha,pha,Fma,Qma,Mma,Nma,Pma,Oma,Jma,Lma,Ima,Hma,Gma,Ema,Bma,xma,yma,Ama,zma,uma,Cma,qma,vma,sma,tma,rma,wma,pma,gna,ena,fna,gK,cna,$ma,dna,ana,bna,_ma,Wm,wka,yka,xka,uka,ska,vka,tka,rka,Lka,Zka,Wka,Yka,Xka,Oka,Pka,Jka,Rka,Nka,Ika,Aka,Hka,Eka,Gka,Fka,Dka,Bka,Cka,zka,oma,lma,nma,mma,gma,kma,fma,dma,Zma,Xma,Yma,gK,Tma,Rma,Wma,tla,qla,sla,rla,pla,Wm,ola,fka,qka,nka,pka,oka,ika,jka,dka,lka,gka,hka,cka,Sja,bka,_ja,aka,$ja,Vja,Wja,Qja,Yja,Tja,Uja,Pja,wla,Fla,Jla,Gla,Ila,Hla,yla,Ala,ula,Dla,lL,xla,i6,aia,Oha,JJ,fA,Nha,Cfa,yga,sha,qha,wga,Efa,Dfa,zga,tha,rha,xga,Bva,Hfa,Gfa,Ffa,sna,qna,rna,Bea,xea,zea,Aea,yea,Fja,_ia,lja,Mja,Nja,ffa,eja,mO,jO,lO,kO,nO,oO,qO,pO,rO,s$,p$,r$,q$,t$,u$,w$,v$,x$,UJ,ona,mna,kna,nna,lna,bja,ina,jna,uja,sja,qja,tja,rja,$ea,Xia,Zia,Jia,Kia,Mia,Lia,Hia,Iia,vja,Bia,yia,zia,Aia,pia,oia,xia,wia,tia,jia,sia,ria,lia,via,nia,mia,hia,uia,kia,qia,iia,Wea,Nia,Lja,Kja,Hja,_ha,mfa,nja,Zea,Wia,afa,mja,lfa,Yia,Dja,Cja,zja,Aja,Bja,e7,eH,d7,Wm,dH,cH,$G,aH,bH,Pea,Qea,Rea,Kea,Uea,Sea,Tea,Oea,Mea,Iea,Nea,Lea,Jea,Eea,Cea,Fea,Gea,Dea,Hea,tea,uea,sea,vea,wea,rea,gfa,ifa,efa,jja,$ia,dja,nJ,Pca,tda,wda,Dda,Cda,uda,pda,sda,kJ,oca,nca,$da,Wca,ada,zca,Ada,zda,yca,aea,Xca,Aca,Cca,Fca,sca,rca,vca,uca,tca,wca,Eca,Dca,Ica,Jca,Yda,Rda,kca,xca,Hca,Gca,nda,oda,mda,Nca,Zda,Sda,yda,pJ,pJ,Oca,Mca,bea,Yca,_ca,Sca,Tda,Uda,gda,Wda,Pda,Oda,Xl,qca,Uca,Tca,bda,Bca,lJ,cea,Zca,Hda,lca,mca,_da,Vca,fea,pca,Mda,lL,Lda,Lca,jca,Jda,kda,hda,Ida,lda,Kda,ida,fda,eea,Rca,jda,Nda,nJ,dea,$ca,vda,Kca,Qca,rda,Gda,Xda,Qda,qda,Wm,cda,Fda,xda,Eda,Bda,dda,eda,Vda,oJ,gea,jea,iea,hea,Ava,zva,xva,Nta,Ota,_5,S5,Q5,C5,$5,Y5,t5,Dv,n5,o5,q5,p5,s5,Dv,r5,v5,u5,z5,w5,y5,x5,m5,l5,B5,A5,_4,f5,R4,i5,I4,$4,g5,J4,Z4,e5,W4,X4,k5,D4,E4,K4,Q4,P4,M4,N4,G4,H4,F4,O4,L4,b5,c5,d5,V4,Y4,T4,U4,S4,j5,a5,h5,T2,U2,Q2,P2,H3,y3,yva,d3,b3,c3,U1,T1,V1,W1,X1,Y1,v3,u3,x2,q2,r2,t3,s3,r3,q3,$2,_2,V2,c1,h1,f1,d1,g1,e1,v2,P1,y1,B1,E1,I1,K1,J1,A1,C1,D1,G1,M1,L1,F1,u1,w1,H1,N1,z1,t1,s1,x1,O1,v1,o1,m1,i1,p1,k1,l1,R2,S2,q1,r1,j1,n1,G0,B0,E0,F0,C0,T0,Y0,V0,a1,U0,X0,_0,S0,$0,Z0,I0,N0,K0,R0,J0,M0,P0,H0,Q0,O0,a2,e2,b2,d2,g2,f2,y2,C2,z2,B2,E2,D2,D0,W0,L0,c2,A2,k2,m2,l2,j2,i2,h2,M2,L2,K2,J2,N2,O2,I2,H2,G2,F2,A3,Y2,X2,s2,C3,W2,Q1,E3,Z1,o2,a3,p2,u2,A0,y0,z0,Usa,ata,bta,$sa,Zsa,Ysa,Vsa,cta,Xsa,Wsa,_sa,Tsa,Wm,r_,HR,KZ,JZ,vZ,zZ,wZ,xZ,yZ,HZ,Wm,IZ,KQ,DC,CC,sT,Aua,uT,tT,qT,pT,nT,lT,jT,hT,fT,dT,RS,cT,bT,_S,XS,VS,QS,OS,OZ,MZ,PZ,wS,uS,tS,vS,CS,gS,eS,cS,mS,fS,HO,GO,rT,oT,mT,kT,gT,eT,aT,$S,ZS,YS,WS,US,iT,TS,SS,PS,NZ,LZ,rS,sS,dS,jS,hS,iS,lS,kS,nS,oS,qS,pS,yS,xS,AS,BS,zS,A_,DR,w_,rX,vX,x_,Nsa,$Z,_Z,UY,SR,XY,tY,oY,nY,pY,a_,FY,EY,CY,BY,AY,zY,$X,GY,DY,yY,xY,wY,vY,uY,rY,sY,qY,mY,lY,kY,jY,iY,hY,gY,fY,eY,dY,cY,bY,aY,b_,JY,KY,MY,LY,RY,OY,QY,PY,KO,m_,l_,TZ,sW,FO,zO,pR,EQ,lZ,gZ,dZ,aZ,mZ,kZ,iZ,hZ,fZ,eZ,cZ,bZ,$Y,ZY,YY,z_,y_,v_,u_,t_,s_,jZ,_Y,bS,aS,$R,_R,ZR,YR,XR,WR,VR,UR,TR,SN,FZ,cP,bP,aP,$O,_O,RZ,GZ,ZO,YO,XO,WO,VO,UO,TO,SO,UW,TW,SW,QW,RW,PW,NW,OW,MW,LW,KW,JW,IW,HW,FW,GW,EW,DW,CW,BW,AW,zW,yW,wW,xW,vW,tW,uW,CZ,tsa,rsa,qsa,psa,osa,msa,nsa,lsa,ksa,jsa,isa,hsa,gsa,ssa,dX,ZW,WW,aX,_W,XW,$W,bX,m8,j8,k8,l8,i8,n8,p8,h8,o8,DS,Ii,J,Yoa,VY,vra,Ui,tk,Oj,Ai,vl,Oi,NL,mr,zra,iz,xra,Fi,xT,wT,zT,pD,BT,AT,CT,yT,iR,hR,kR,vU,mR,lR,nR,jR,bR,aR,dR,$Q,fR,eR,gR,cR,_Q,ZQ,TQ,SQ,VQ,RQ,XQ,WQ,YQ,UQ,QQ,PQ,S_,R_,P_,Q_,O_,kV,vR,BR,sR,tR,yR,xR,AR,CR,wR,zR,__,c$,Y_,Z_,b$,WE,$_,a$,X_,i$,XE,YE,WE,h$,SU,Mua,Oua,Nua,Hua,Iua,Lua,Kua,g_,e_,d_,Fsa,Dsa,Csa,Ksa,Msa,Lsa,Gsa,Hsa,Jsa,Isa,f_,Esa,Qra,Rra,Mra,Nra,Pra,Ora,Yra,Zra,Ura,Vra,Xra,Wra,Sra,Tra,zsa,gM,Bsa,Asa,gM,ysa,xsa,XZ,Rua,YZ,Sua,WZ,Qua,VZ,Pua,ZZ,wva,C7,D7,E7,A7,iz,y7,z7,cpa,iz,vva,eP,mP,kP,ER,dP,gP,fP,X6,Y6,Rpa,uva,EO,yQ,vQ,CO,wQ,tQ,DO,xQ,uQ,OP,MP,NP,LP,qV,SV,$U,N3,K3,L3,C$,uN,tN,_ra,asa,$ra,EZ,iba,dba,jba,UJ,Uba,U8,DK,Dv,mba,nba,pba,oba,sba,qba,rba,uba,tba,X8,Z8,Y8,_8,Haa,Paa,I9,Oaa,cba,kba,hba,eaa,baa,caa,paa,m9,D9,Iaa,_aa,R9,Yaa,P9,Xaa,O9,Zaa,Q9,oaa,k9,Taa,Y9,gba,aaa,bba,l9,Raa,Saa,J9,Laa,F9,Kaa,qaa,raa,kaa,h9,jaa,g9,Aaa,w9,laa,Qaa,saa,n9,Z9,haa,M9,maa,i9,aba,T9,uaa,p9,gaa,faa,Eaa,A9,eba,fba,f9,iaa,W9,waa,r9,U9,V9,u9,x9,Baa,y9,Caa,G9,Maa,C9,Gaa,E9,Jaa,j9,naa,o9,taa,Vaa,L9,Uaa,K9,daa,z9,Daa,$9,_9,Naa,H9,$aa,S9,zaa,v9,yaa,t9,xaa,s9,Waa,N9,Faa,B9,vaa,q9,_qa,Wm,era,gra,hra,ira,mra,kra,lra,jra,fra,dra,Wm,_$,cO,bO,eO,dO,gO,fO,iO,hO,L$,O$,N$,K$,J$,cF,M$,R$,T$,dF,Q$,P$,cF,S$,uO,KR,oqa,rqa,nqa,pqa,qqa,mqa,lqa,p_,IR,NQ,fva,eva,dva,Wm,cva,ova,y$,ag,Ug,Me,Oh,mg,we,sf,xf,uf,yf,wf,Ch,Mg,Wf,Ee,xg,Dg,ug,$c,Rh,Qh,Mh,Lh,Ih,Hh,Fh,Bh,Ah,zh,yh,xh,vh,uh,th,sh,nh,mh,lh,jh,ih,hh,fh,ch,bh,$g,_g,Zg,Yg,Xg,Wg,Tg,Rg,Pg,Lg,Kg,Jg,Ig,Hg,Gg,Fg,wg,pg,og,jg,ig,hg,gg,eg,dg,Vf,cg,$f,Zf,Uf,Tf,Pf,Of,Nf,Lf,Kf,Jf,Hf,Df,zf,Af,rf,lf,of,nf,mf,kf,gf,ff,af,$e,bf,We,Ve,Xe,Ue,Re,Qe,Pe,Oe,Le,Je,He,De,Ce,Ae,ze,ue,te,se,pe,ke,je,ie,he,ge,fe,ee,de,ce,be,$d,_d,Zd,Yd,Vd,Sd,Rd,Qd,Pd,Md,Ld,Kd,Jd,Gd,Fd,Ed,Dd,Ad,zd,yd,xd,td,qd,nd,kd,jd,id,hd,gd,fd,ed,dd,cd,bd,Sc,Rc,Zc,Bg,rg,yg,ve,qg,ae,Ud,ah,gh,eh,bg,Vg,Ne,Ph,ng,tf,vf,zg,sd,pd,rd,md,od,ld,wh,re,fg,Dh,Ng,Xf,Fe,Ef,Nh,lg,Jh,Kh,Td,ef,Tc,Ze,Ye,Xc,Vc,Wc,Uc,_e,If,Od,Id,Cd,wd,Nd,Hd,Bd,vd,ph,oh,qh,rh,jf,dh,cf,Qf,df,Rf,Sf,ud,Eg,vg,kg,Ie,Qg,kh,Qc,Ff,hf,Gf,Mf,_f,Sg,Ke,Gh,me,le,oe,ne,pf,qf,ad,Eh,Og,Yf,Ge,Be,qe,Bf,ye,xe,Te,Se,Xd,Wd,Cf,Yc,_c,Ag,Cg,sg,tg]);function exa(){return n.byteLength/65536|0}return{"Oh":xi,"Ph":Yua,"Qh":Ppa,"Rh":VW,"Sh":Ji,"Th":yi,"Uh":AZ,"Vh":x0,"Wh":w0,"Xh":nva,"Yh":UC,"Zh":UC,"_h":Iwa,"$h":Vua,"ai":Xua,"bi":Wua,"ci":tP,"di":uP,"ei":vP,"fi":rR,"gi":TY}}return dxa(fxa)} // EMSCRIPTEN_END_ASM @@ -84,4 +84,4 @@ a=r;twa(Lwa);var ji=rwa([null,mpa,q7,cpa,dpa,epa,bpa,via,sia,tia,uia,ipa,jpa,gpa -)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}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 allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeStringToMemory(string,buffer,dontAddNull){warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}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"]||33554432;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":INITIAL_MEMORY/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();SOCKFS.root=FS.mount(SOCKFS,{},null);callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}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 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};if(!Math.trunc)Math.trunc=function(x){return x<0?Math.ceil(x):Math.floor(x)};var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}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+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="dmengine.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){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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"]["Ah"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}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{}}var tempDouble;var tempI64;var ASM_CONSTS={1269:function(){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){console.log("%c %c Made with Defold %c %c https://www.defold.com","background: #fd6623; padding:5px 0; border: 5px;","background: #272c31; color: #fafafa; padding:5px 0;","background: #39a3e4; padding:5px 0;","background: #ffffff; color: #000000; padding:5px 0;")}else{console.log("Made with Defold -=[ https://www.defold.com ]=-")}},113620:function($0){var jsResult;var isSuccess=1;try{jsResult=eval(UTF8ToString($0))}catch(err){isSuccess=0;jsResult=err}_dmScript_Html5ReportOperationSuccess(isSuccess);jsResult+="";var lengthBytes=lengthBytesUTF8(jsResult)+1;var stringOnWasmHeap=_malloc(lengthBytes);stringToUTF8(jsResult,stringOnWasmHeap,lengthBytes);return stringOnWasmHeap}};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){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function demangle(func){return func}function demangleAll(text){var regex=/\b_Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var error=new Error;if(!error.stack){try{throw new Error}catch(e){error=e}if(!error.stack){return"(no stack trace available)"}}return error.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof performance!=="undefined"&&performance.now){_emscripten_get_now=function(){return performance.now()}}else{_emscripten_get_now=Date.now}var _emscripten_get_now_is_monotonic=typeof performance==="object"&&performance&&typeof performance["now"]==="function"||ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined";function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function ___localtime_r(a0,a1){return _localtime_r(a0,a1)}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){var alignedSize=alignMemory(size,16384);var ptr=_malloc(alignedSize);while(size=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){FS.forceLoadFile(node);var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys__newselect(nfds,readfds,writefds,exceptfds,timeout){try{var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);var check=function(fd,low,high,val){return fd<32?low&val:high&val};for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup2(oldfd,suggestFD){try{var old=SYSCALLS.getStreamFromFD(oldfd);if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup3(fd,suggestFD,flags){try{var old=SYSCALLS.getStreamFromFD(fd);if(old.fd===suggestFD)return-28;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=varargs?SYSCALLS.get():0;var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_poll(fds,nfds,timeout){try{var nonzero=0;for(var i=0;i>2];var events=HEAP16[pollfd+4>>1];var mask=32;var stream=FS.getStream(fd);if(stream){mask=SYSCALLS.DEFAULT_POLLMASK;if(stream.stream_ops.poll){mask=stream.stream_ops.poll(stream)}}mask&=events|8|16;if(mask)nonzero++;HEAP16[pollfd+6>>1]=mask}return nonzero}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var SOCKFS={mount:function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this};Module["websocket"].emit=function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}};return FS.createNode(null,"/",16384|511,0)},createSocket:function(family,type,protocol){type&=~526336;var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:2,seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock},getSocket:function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock},stream_ops:{poll:function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)},ioctl:function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)},read:function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length},write:function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)},close:function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)}},nextname:function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}var opts=undefined;if(subProtocols!=="null"){subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols}if(runtimeConfig&&null===Module["websocket"]["subprotocol"]){subProtocols="null";opts=undefined}var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer},getPeer:function(sock,addr,port){return sock.peers[addr+":"+port]},addPeer:function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer},removePeer:function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]},handlePeerEvents:function(sock,peer){var first=true;var handleOpen=function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}};function handleMessage(data){if(typeof data==="string"){var encoder=new TextEncoder;data=encoder.encode(data)}else{assert(data.byteLength!==undefined);if(data.byteLength==0){return}else{data=new Uint8Array(data)}}var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",function(data,flags){if(!flags.binary){return}handleMessage(new Uint8Array(data).buffer)});peer.socket.on("close",function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.on("error",function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}else{peer.socket.onopen=handleOpen;peer.socket.onclose=function(){Module["websocket"].emit("close",sock.stream.fd)};peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}}},poll:function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask},ioctl:function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}},close:function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}function jstoi_q(str){return parseInt(str)}function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAPU16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:28}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:28}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:5}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port,addrlen){switch(family){case 2:addr=__inet_pton4_raw(addr);if(addrlen){HEAP32[addrlen>>2]=16}HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);if(addrlen){HEAP32[addrlen>>2]=28}HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return 5}return 0}function ___sys_socketcall(call,socketvararg){try{SYSCALLS.varargs=socketvararg;var getSocketFromFD=function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(8);return socket};var getSocketAddress=function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info};switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);return sock.stream.fd}case 2:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0}case 3:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0}case 4:{var sock=getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0}case 5:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var errno=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport,addrlen)}return newsock.stream.fd}case 6:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport,addrlen);return 0}case 7:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-53}var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport,addrlen);return 0}case 11:{var sock=getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}}case 12:{var sock=getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port,addrlen)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength}case 14:{return-50}case 15:{var sock=getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-50}case 16:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)}case 17:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var errno=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead}default:{return-52}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_uname(buf){try{if(!buf)return-21;var layout={"__size__":390,"domainname":325,"machine":260,"nodename":65,"release":130,"sysname":0,"version":195};var copyString=function(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)};copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _difftime(time1,time0){return time1-time0}var DefoldSoundDevice={TryResumeAudio:function(){var audioCtx=window._dmJSDeviceShared.audioCtx;if(audioCtx!==undefined&&audioCtx.state!="running"){audioCtx.resume()}}};function _dmDeviceJSFreeBufferSlots(id){return window._dmJSDeviceShared.devices[id]._freeBufferSlots()}function _dmDeviceJSOpen(bufferCount){var shared=window._dmJSDeviceShared;if(shared===undefined){shared={count:0,devices:{}};window._dmJSDeviceShared=shared}var id=shared.count++;var device;if(window.AudioContext||window.webkitAudioContext){if(shared.audioCtx===undefined){shared.audioCtx=new(window.AudioContext||window.webkitAudioContext)}device={sampleRate:shared.audioCtx.sampleRate,bufferedTo:0,bufferDuration:0,_queue:function(samples,sample_count){var buf=shared.audioCtx.createBuffer(2,sample_count,this.sampleRate);var c0=buf.getChannelData(0);var c1=buf.getChannelData(1);for(var i=0;i0){xhr.timeout=timeout/1e3}var headersArray=UTF8ToString(headers).split("\n");for(var i=0;i0){xhr.send(HEAPU8.subarray(send_data,send_data+send_data_length))}else{xhr.send()}}var DMSYS={_folder:"/data",_cstr:null,GetUserPersistentDataRoot:function(){if(typeof window!=="undefined")return DMSYS._folder;else return""},PumpMessageQueue:function(){if(typeof window==="undefined"){var uvrun=require("uvrun");uvrun.runOnce()}}};function _dmSysGetApplicationPath(){var path=location.href.substring(0,location.href.lastIndexOf("/"));var lengthBytes=lengthBytesUTF8(path)+1;var buffer=_malloc(lengthBytes);Module.stringToUTF8(path,buffer,lengthBytes);return buffer}function _dmSysGetUserAgent(){var useragent=navigator.userAgent;var buffer=_malloc(useragent.length+1);Module.stringToUTF8(useragent,buffer,useragent.length+1);return buffer}function _dmSysGetUserPersistentDataRoot(){if(null==DMSYS._cstr){var str=DMSYS.GetUserPersistentDataRoot();DMSYS._cstr=_malloc(str.length+1);Module.stringToUTF8(str,DMSYS._cstr,str.length+1)}return DMSYS._cstr}function _dmSysGetUserPreferredLanguage(defaultlang){var jsdefault=UTF8ToString(defaultlang);var preferred=navigator==undefined?jsdefault:navigator.languages?navigator.languages[0]||jsdefault:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||jsdefault;var buffer=_malloc(preferred.length+1);Module.stringToUTF8(preferred,buffer,preferred.length+1);return buffer}var JSEvents={inEventHandler:0,removeAllEventListeners:function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}JSEvents.eventHandlers=[];JSEvents.deferredCalls=[]},registerRemoveEventListeners:function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push(JSEvents.removeAllEventListeners);JSEvents.removeEventListenersRegistered=true}},deferredCalls:[],deferCall:function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort(function(x,y){return x.precedence0},removeAllHandlersOnTarget:function(target,eventTypeString){for(var i=0;i0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;setMainLoop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:typeof WebGL2RenderingContext!=="undefined"?2:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;if(typeof window!=="undefined"){RAF=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||RAF}RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]:-1;source+=UTF8ToString(HEAP32[string+i*4>>2],len<0?undefined:len)}return source},createContext:function(canvas,webGLContextAttributes){function getChromeVersion(){var chromeVersion=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(chromeVersion)return chromeVersion[2]|0}var ctx=webGLContextAttributes.majorVersion>1?!(getChromeVersion()<=57)&&canvas.getContext("webgl2",webGLContextAttributes):canvas.getContext("webgl",webGLContextAttributes)||canvas.getContext("experimental-webgl",webGLContextAttributes);if(!ctx)return 0;var handle=GL.registerContext(ctx,webGLContextAttributes);return handle},registerContext:function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes.majorVersion,GLctx:ctx};context.cannotHandleOffsetsInUniformArrayViews=function(g){function b(c,t){var s=g.createShader(t);g.shaderSource(s,c);g.compileShader(s);return s}try{var p=g.createProgram();g.attachShader(p,b("attribute vec4 p;void main(){gl_Position=p;}",35633));g.attachShader(p,b("precision lowp float;uniform vec4 u;void main(){gl_FragColor=u;}",35632));g.linkProgram(p);var h=new Float32Array(8);h[4]=1;g.useProgram(p);var l=g.getUniformLocation(p,"u");g.uniform4fv(l,h.subarray(4,8));return!g.getUniform(p,l)[0]}catch(e){return false}}();if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes.enableExtensionsByDefault==="undefined"||webGLContextAttributes.enableExtensionsByDefault){GL.initExtensions(context)}return handle},makeContextCurrent:function(contextHandle){GL.currentContext=GL.contexts[contextHandle];Module.ctx=GLctx=GL.currentContext&&GL.currentContext.GLctx;return!(contextHandle&&!GLctx)},getContext:function(contextHandle){return GL.contexts[contextHandle]},deleteContext:function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null},initExtensions:function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;__webgl_enable_ANGLE_instanced_arrays(GLctx);__webgl_enable_OES_vertex_array_object(GLctx);__webgl_enable_WEBGL_draw_buffers(GLctx);__webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(GLctx);__webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(GLctx);GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");__webgl_enable_WEBGL_multi_draw(GLctx);var exts=GLctx.getSupportedExtensions()||[];exts.forEach(function(ext){if(ext.indexOf("lose_context")<0&&ext.indexOf("debug")<0){GLctx.getExtension(ext)}})},populateUniformTable:function(program){var p=GL.programs[program];var ptable=GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1,maxUniformBlockNameLength:-1};var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,35718);for(var i=0;i=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _emscripten_glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearBufferfi(x0,x1,x2,x3){GLctx["clearBufferfi"](x0,x1,x2,x3)}function _emscripten_glClearBufferfv(buffer,drawbuffer,value){GLctx["clearBufferfv"](buffer,drawbuffer,HEAPF32,value>>2)}function _emscripten_glClearBufferiv(buffer,drawbuffer,value){GLctx["clearBufferiv"](buffer,drawbuffer,HEAP32,value>>2)}function _emscripten_glClearBufferuiv(buffer,drawbuffer,value){GLctx["clearBufferuiv"](buffer,drawbuffer,HEAPU32,value>>2)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function convertI32PairToI53(lo,hi){return(lo>>>0)+hi*4294967296}function _emscripten_glClientWaitSync(sync,flags,timeoutLo,timeoutHi){return GLctx.clientWaitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _emscripten_glCopyBufferSubData(x0,x1,x2,x3,x4){GLctx["copyBufferSubData"](x0,x1,x2,x3,x4)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage3D(x0,x1,x2,x3,x4,x5,x6,x7,x8){GLctx["copyTexSubImage3D"](x0,x1,x2,x3,x4,x5,x6,x7,x8)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDeleteQueries(n,ids){for(var i=0;i>2];var query=GL.queries[id];if(!query)continue;GLctx["deleteQuery"](query);GL.queries[id]=null}}function _emscripten_glDeleteQueriesEXT(n,ids){for(var i=0;i>2];var query=GL.timerQueriesEXT[id];if(!query)continue;GLctx.disjointTimerQueryExt["deleteQueryEXT"](query);GL.timerQueriesEXT[id]=null}}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _emscripten_glDeleteSamplers(n,samplers){for(var i=0;i>2];var sampler=GL.samplers[id];if(!sampler)continue;GLctx["deleteSampler"](sampler);sampler.name=0;GL.samplers[id]=null}}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _emscripten_glDeleteSync(id){if(!id)return;var sync=GL.syncs[id];if(!sync){GL.recordError(1281);return}GLctx.deleteSync(sync);sync.name=0;GL.syncs[id]=null}function _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteTransformFeedbacks(n,ids){for(var i=0;i>2];var transformFeedback=GL.transformFeedbacks[id];if(!transformFeedback)continue;GLctx["deleteTransformFeedback"](transformFeedback);transformFeedback.name=0;GL.transformFeedbacks[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDeleteVertexArraysOES(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedANGLE(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedARB(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedEXT(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedNV(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}var tempFixedLengthArray=[];function _emscripten_glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersEXT(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersWEBGL(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedANGLE(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedARB(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedEXT(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedNV(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawRangeElements(mode,start,end,count,type,indices){_glDrawElements(mode,count,type,indices)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glEndQuery(x0){GLctx["endQuery"](x0)}function _emscripten_glEndQueryEXT(target){GLctx.disjointTimerQueryExt["endQueryEXT"](target)}function _emscripten_glEndTransformFeedback(){GLctx["endTransformFeedback"]()}function _emscripten_glFenceSync(condition,flags){var sync=GLctx.fenceSync(condition,flags);if(sync){var id=GL.getNewId(GL.syncs);sync.name=id;GL.syncs[id]=sync;return id}else{return 0}}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFramebufferTextureLayer(target,attachment,texture,level,layer){GLctx.framebufferTextureLayer(target,attachment,GL.textures[texture],level,layer)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function __glGenObject(n,buffers,createFunction,objectTable){for(var i=0;i>2]=id}}function _emscripten_glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _emscripten_glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _emscripten_glGenQueries(n,ids){__glGenObject(n,ids,"createQuery",GL.queries)}function _emscripten_glGenQueriesEXT(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.timerQueriesEXT);query.name=id;GL.timerQueriesEXT[id]=query;HEAP32[ids+i*4>>2]=id}}function _emscripten_glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _emscripten_glGenSamplers(n,samplers){__glGenObject(n,samplers,"createSampler",GL.samplers)}function _emscripten_glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _emscripten_glGenTransformFeedbacks(n,ids){__glGenObject(n,ids,"createTransformFeedback",GL.transformFeedbacks)}function _emscripten_glGenVertexArrays(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenVertexArraysOES(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function __glGetActiveAttribOrUniform(funcName,program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx[funcName](program,index);if(info){var numBytesWrittenExclNull=name&&stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull;if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniformBlockName(program,uniformBlockIndex,bufSize,length,uniformBlockName){program=GL.programs[program];var result=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);if(!result)return;if(uniformBlockName&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(result,uniformBlockName,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetActiveUniformBlockiv(program,uniformBlockIndex,pname,params){if(!params){GL.recordError(1281);return}program=GL.programs[program];switch(pname){case 35393:var name=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);HEAP32[params>>2]=name.length+1;return;default:var result=GLctx["getActiveUniformBlockParameter"](program,uniformBlockIndex,pname);if(!result)return;if(typeof result=="number"){HEAP32[params>>2]=result}else{for(var i=0;i>2]=result[i]}}}}function _emscripten_glGetActiveUniformsiv(program,uniformCount,uniformIndices,pname,params){if(!params){GL.recordError(1281);return}if(uniformCount>0&&uniformIndices==0){GL.recordError(1281);return}program=GL.programs[program];var ids=[];for(var i=0;i>2])}var result=GLctx["getActiveUniforms"](program,ids,pname);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _emscripten_glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function writeI53ToI64(ptr,num){HEAPU32[ptr>>2]=num;HEAPU32[ptr+4>>2]=(num-HEAPU32[ptr>>2])/4294967296}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=0&&type!=1){GL.recordError(1280)}return;case 34814:case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats?formats.length:0;break;case 33309:if(GL.currentContext.version<2){GL.recordError(1282);return}var exts=GLctx.getSupportedExtensions()||[];ret=2*exts.length;break;case 33307:case 33308:if(GL.currentContext.version<2){GL.recordError(1280);return}ret=name_==33307?3:0;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:{ret=0;break}default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case 2:HEAPF32[p+i*4>>2]=result[i];break;case 4:HEAP8[p+i>>0]=result[i]?1:0;break}}return}else{try{ret=result.name|0}catch(e){GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Unknown object returned from WebGL getParameter("+name_+")! (error: "+e+")");return}}break;default:GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Native code calling glGet"+type+"v("+name_+") and it returns "+result+" of type "+typeof result+"!");return}}switch(type){case 1:writeI53ToI64(p,ret);break;case 0:HEAP32[p>>2]=ret;break;case 2:HEAPF32[p>>2]=ret;break;case 4:HEAP8[p>>0]=ret?1:0;break}}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,4)}function _emscripten_glGetBufferParameteri64v(target,value,data){if(!data){GL.recordError(1281);return}writeI53ToI64(data,GLctx.getBufferParameter(target,value))}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _emscripten_glGetFragDataLocation(program,name){return GLctx["getFragDataLocation"](GL.programs[program],UTF8ToString(name))}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);if(result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){result=result.name|0}HEAP32[params>>2]=result}function emscriptenWebGLGetIndexed(target,index,data,type){if(!data){GL.recordError(1281);return}var result=GLctx["getIndexedParameter"](target,index);var ret;switch(typeof result){case"boolean":ret=result?1:0;break;case"number":ret=result;break;case"object":if(result===null){switch(target){case 35983:case 35368:ret=0;break;default:{GL.recordError(1280);return}}}else if(result instanceof WebGLBuffer){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}switch(type){case 1:writeI53ToI64(data,ret);break;case 0:HEAP32[data>>2]=ret;break;case 2:HEAPF32[data>>2]=ret;break;case 4:HEAP8[data>>0]=ret?1:0;break;default:throw"internal emscriptenWebGLGetIndexed() error, bad type: "+type}}function _emscripten_glGetInteger64i_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,1)}function _emscripten_glGetInteger64v(name_,p){emscriptenWebGLGet(name_,p,1)}function _emscripten_glGetIntegeri_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,0)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _emscripten_glGetInternalformativ(target,internalformat,pname,bufSize,params){if(bufSize<0){GL.recordError(1281);return}if(!params){GL.recordError(1281);return}var ret=GLctx["getInternalformatParameter"](target,internalformat,pname);if(ret===null)return;for(var i=0;i>2]=ret[i]}}function _emscripten_glGetProgramBinary(program,bufSize,length,binaryFormat,binary){GL.recordError(1282)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetQueryObjecti64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectui64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectuiv(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.queries[id];var param=GLctx["getQueryParameter"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectuivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryiv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx["getQuery"](target,pname)}function _emscripten_glGetQueryivEXT(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.disjointTimerQueryExt["getQueryEXT"](target,pname)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetSamplerParameterfv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAPF32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetSamplerParameteriv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAP32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;var numBytesWrittenExclNull=bufSize>0&&source?stringToUTF8(result,source,bufSize):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function stringToNewUTF8(jsString){var length=lengthBytesUTF8(jsString)+1;var cString=_malloc(length);stringToUTF8(jsString,cString,length);return cString}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _emscripten_glGetStringi(name,index){if(GL.currentContext.version<2){GL.recordError(1282);return 0}var stringiCache=GL.stringiCache[name];if(stringiCache){if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index]}switch(name){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));exts=exts.map(function(e){return stringToNewUTF8(e)});stringiCache=GL.stringiCache[name]=exts;if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index];default:GL.recordError(1280);return 0}}function _emscripten_glGetSynciv(sync,pname,bufSize,length,values){if(bufSize<0){GL.recordError(1281);return}if(!values){GL.recordError(1281);return}var ret=GLctx.getSyncParameter(GL.syncs[sync],pname);HEAP32[length>>2]=ret;if(ret!==null&&length)HEAP32[length>>2]=1}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTransformFeedbackVarying(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx["getTransformFeedbackVarying"](program,index);if(!info)return;if(name&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetUniformBlockIndex(program,uniformBlockName){return GLctx["getUniformBlockIndex"](GL.programs[program],UTF8ToString(uniformBlockName))}function _emscripten_glGetUniformIndices(program,uniformCount,uniformNames,uniformIndices){if(!uniformIndices){GL.recordError(1281);return}if(uniformCount>0&&(uniformNames==0||uniformIndices==0)){GL.recordError(1281);return}program=GL.programs[program];var names=[];for(var i=0;i>2]));var result=GLctx["getUniformIndices"](program,names);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex>2]=data;break;case 2:HEAPF32[params>>2]=data;break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,2)}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function _emscripten_glGetUniformuiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data&&data["name"]}else if(typeof data=="number"||typeof data=="boolean"){switch(type){case 0:HEAP32[params>>2]=data;break;case 2:HEAPF32[params>>2]=data;break;case 5:HEAP32[params>>2]=Math.fround(data);break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break;case 5:HEAP32[params+i*4>>2]=Math.fround(data[i]);break}}}}function _emscripten_glGetVertexAttribIiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribIuiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,2)}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,5)}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glInvalidateFramebuffer(target,numAttachments,attachments){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateFramebuffer"](target,list)}function _emscripten_glInvalidateSubFramebuffer(target,numAttachments,attachments,x,y,width,height){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateSubFramebuffer"](target,list,x,y,width,height)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsQuery(id){var query=GL.queries[id];if(!query)return 0;return GLctx["isQuery"](query)}function _emscripten_glIsQueryEXT(id){var query=GL.timerQueriesEXT[id];if(!query)return 0;return GLctx.disjointTimerQueryExt["isQueryEXT"](query)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsSampler(id){var sampler=GL.samplers[id];if(!sampler)return 0;return GLctx["isSampler"](sampler)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsSync(sync){return GLctx.isSync(GL.syncs[sync])}function _emscripten_glIsTexture(id){var texture=GL.textures[id];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsTransformFeedback(id){return GLctx["isTransformFeedback"](GL.transformFeedbacks[id])}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glIsVertexArrayOES(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.populateUniformTable(program)}function _emscripten_glPauseTransformFeedback(){GLctx["pauseTransformFeedback"]()}function _emscripten_glPixelStorei(pname,param){if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}function _emscripten_glProgramBinary(program,binaryFormat,binary,length){GL.recordError(1280)}function _emscripten_glProgramParameteri(program,pname,value){GL.recordError(1280)}function _emscripten_glQueryCounterEXT(id,target){GLctx.disjointTimerQueryExt["queryCounterEXT"](GL.timerQueriesEXT[id],target)}function _emscripten_glReadBuffer(x0){GLctx["readBuffer"](x0)}function computeUnpackAlignedImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return x+y-1&-y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height*alignedRowSize}function __colorChannelsInGlTextureFormat(format){var colorChannels={5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4};return colorChannels[format-6402]||1}function heapObjectForWebGLType(type){type-=5120;if(type==0)return HEAP8;if(type==1)return HEAPU8;if(type==2)return HEAP16;if(type==4)return HEAP32;if(type==6)return HEAPF32;if(type==5||type==28922||type==28520||type==30779||type==30782)return HEAPU32;return HEAPU16}function heapAccessShiftForWebGLHeap(heap){return 31-Math.clz32(heap.BYTES_PER_ELEMENT)}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var heap=heapObjectForWebGLType(type);var shift=heapAccessShiftForWebGLHeap(heap);var byteSize=1<>shift,pixels+bytes>>shift)}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRenderbufferStorageMultisample(x0,x1,x2,x3,x4){GLctx["renderbufferStorageMultisample"](x0,x1,x2,x3,x4)}function _emscripten_glResumeTransformFeedback(){GLctx["resumeTransformFeedback"]()}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glSamplerParameterf(sampler,pname,param){GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameterfv(sampler,pname,params){var param=HEAPF32[params>>2];GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteri(sampler,pname,param){GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteriv(sampler,pname,params){var param=HEAP32[params>>2];GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _emscripten_glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexStorage2D(x0,x1,x2,x3,x4){GLctx["texStorage2D"](x0,x1,x2,x3,x4)}function _emscripten_glTexStorage3D(x0,x1,x2,x3,x4,x5){GLctx["texStorage3D"](x0,x1,x2,x3,x4,x5)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _emscripten_glTransformFeedbackVaryings(program,count,varyings,bufferMode){program=GL.programs[program];var vars=[];for(var i=0;i>2]));GLctx["transformFeedbackVaryings"](program,vars,bufferMode)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}var miniTempWebGLFloatBuffers=[];function _emscripten_glUniform1fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1fv(GL.uniforms[location],HEAPF32,value>>2,count);return}if(count<=288){var view=miniTempWebGLFloatBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*4>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}var __miniTempWebGLIntBuffers=[];function _emscripten_glUniform1iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1iv(GL.uniforms[location],HEAP32,value>>2,count);return}if(count<=288){var view=__miniTempWebGLIntBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAP32.subarray(value>>2,value+count*4>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform1iv(GL.uniforms[location],view)}function _emscripten_glUniform1ui(location,v0){GLctx.uniform1ui(GL.uniforms[location],v0)}function _emscripten_glUniform1uiv(location,count,value){GLctx.uniform1uiv(GL.uniforms[location],HEAPU32,value>>2,count)}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2fv(GL.uniforms[location],HEAPF32,value>>2,count*2);return}if(count<=144){var view=miniTempWebGLFloatBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*8>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2iv(GL.uniforms[location],HEAP32,value>>2,count*2);return}if(count<=144){var view=__miniTempWebGLIntBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*8>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform2iv(GL.uniforms[location],view)}function _emscripten_glUniform2ui(location,v0,v1){GLctx.uniform2ui(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2uiv(location,count,value){GLctx.uniform2uiv(GL.uniforms[location],HEAPU32,value>>2,count*2)}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3fv(GL.uniforms[location],HEAPF32,value>>2,count*3);return}if(count<=96){var view=miniTempWebGLFloatBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*12>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3iv(GL.uniforms[location],HEAP32,value>>2,count*3);return}if(count<=96){var view=__miniTempWebGLIntBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*12>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform3iv(GL.uniforms[location],view)}function _emscripten_glUniform3ui(location,v0,v1,v2){GLctx.uniform3ui(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3uiv(location,count,value){GLctx.uniform3uiv(GL.uniforms[location],HEAPU32,value>>2,count*3)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4iv(GL.uniforms[location],HEAP32,value>>2,count*4);return}if(count<=72){var view=__miniTempWebGLIntBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2];view[i+3]=HEAP32[value+(4*i+12)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform4iv(GL.uniforms[location],view)}function _emscripten_glUniform4ui(location,v0,v1,v2,v3){GLctx.uniform4ui(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4uiv(location,count,value){GLctx.uniform4uiv(GL.uniforms[location],HEAPU32,value>>2,count*4)}function _emscripten_glUniformBlockBinding(program,uniformBlockIndex,uniformBlockBinding){program=GL.programs[program];GLctx["uniformBlockBinding"](program,uniformBlockIndex,uniformBlockBinding)}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix2x3fv(location,count,transpose,value){GLctx.uniformMatrix2x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix2x4fv(location,count,transpose,value){GLctx.uniformMatrix2x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*9);return}if(count<=32){var view=miniTempWebGLFloatBuffers[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*36>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3x2fv(location,count,transpose,value){GLctx.uniformMatrix3x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix3x4fv(location,count,transpose,value){GLctx.uniformMatrix3x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4x2fv(location,count,transpose,value){GLctx.uniformMatrix4x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix4x3fv(location,count,transpose,value){GLctx.uniformMatrix4x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorANGLE(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorARB(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorEXT(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorNV(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribI4i(x0,x1,x2,x3,x4){GLctx["vertexAttribI4i"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4iv(index,v){GLctx.vertexAttribI4i(index,HEAP32[v>>2],HEAP32[v+4>>2],HEAP32[v+8>>2],HEAP32[v+12>>2])}function _emscripten_glVertexAttribI4ui(x0,x1,x2,x3,x4){GLctx["vertexAttribI4ui"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4uiv(index,v){GLctx.vertexAttribI4ui(index,HEAPU32[v>>2],HEAPU32[v+4>>2],HEAPU32[v+8>>2],HEAPU32[v+12>>2])}function _emscripten_glVertexAttribIPointer(index,size,type,stride,ptr){GLctx["vertexAttribIPointer"](index,size,type,stride,ptr)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}function _emscripten_glWaitSync(sync,flags,timeoutLo,timeoutHi){GLctx.waitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}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_pause_main_loop(){Browser.mainLoop.pause()}function abortOnCannotGrowMemory(requestedSize){abort("OOM")}function _emscripten_resize_heap(requestedSize){requestedSize=requestedSize>>>0;abortOnCannotGrowMemory(requestedSize)}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){var browserIterationFunc=function(){wasmTable.get(func)(arg)};setMainLoop(browserIterationFunc,fps,simulateInfiniteLoop,arg)}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}var GAI_ERRNO_MESSAGES={};function _gai_strerror(val){var buflen=256;if(!_gai_strerror.buffer){_gai_strerror.buffer=_malloc(buflen);GAI_ERRNO_MESSAGES["0"]="Success";GAI_ERRNO_MESSAGES[""+-1]="Invalid value for 'ai_flags' field";GAI_ERRNO_MESSAGES[""+-2]="NAME or SERVICE is unknown";GAI_ERRNO_MESSAGES[""+-3]="Temporary failure in name resolution";GAI_ERRNO_MESSAGES[""+-4]="Non-recoverable failure in name res";GAI_ERRNO_MESSAGES[""+-6]="'ai_family' not supported";GAI_ERRNO_MESSAGES[""+-7]="'ai_socktype' not supported";GAI_ERRNO_MESSAGES[""+-8]="SERVICE not supported for 'ai_socktype'";GAI_ERRNO_MESSAGES[""+-10]="Memory allocation failure";GAI_ERRNO_MESSAGES[""+-11]="System error returned in 'errno'";GAI_ERRNO_MESSAGES[""+-12]="Argument buffer overflow"}var msg="Unknown error";if(val in GAI_ERRNO_MESSAGES){if(GAI_ERRNO_MESSAGES[val].length>buflen-1){msg="Message too long"}else{msg=GAI_ERRNO_MESSAGES[val]}}writeAsciiToMemory(msg,_gai_strerror.buffer);return _gai_strerror.buffer}function _getaddrinfo(node,service,hint,out){var addr=0;var port=0;var flags=0;var family=0;var type=0;var proto=0;var ai;function allocaddrinfo(family,type,proto,canon,addr,port){var sa,salen,ai;var errno;salen=family===10?28:16;addr=family===10?__inet_ntop6_raw(addr):__inet_ntop4_raw(addr);sa=_malloc(salen);errno=__write_sockaddr(sa,family,addr,port);assert(!errno);ai=_malloc(32);HEAP32[ai+4>>2]=family;HEAP32[ai+8>>2]=type;HEAP32[ai+12>>2]=proto;HEAP32[ai+24>>2]=canon;HEAP32[ai+20>>2]=sa;if(family===10){HEAP32[ai+16>>2]=28}else{HEAP32[ai+16>>2]=16}HEAP32[ai+28>>2]=0;return ai}if(hint){flags=HEAP32[hint>>2];family=HEAP32[hint+4>>2];type=HEAP32[hint+8>>2];proto=HEAP32[hint+12>>2]}if(type&&!proto){proto=type===2?17:6}if(!type&&proto){type=proto===17?2:1}if(proto===0){proto=6}if(type===0){type=1}if(!node&&!service){return-2}if(flags&~(1|2|4|1024|8|16|32)){return-1}if(hint!==0&&HEAP32[hint>>2]&2&&!node){return-1}if(flags&32){return-2}if(type!==0&&type!==1&&type!==2){return-7}if(family!==0&&family!==2&&family!==10){return-6}if(service){service=UTF8ToString(service);port=parseInt(service,10);if(isNaN(port)){if(flags&1024){return-2}return-8}}if(!node){if(family===0){family=2}if((flags&1)===0){if(family===2){addr=_htonl(2130706433)}else{addr=[0,0,0,1]}}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}node=UTF8ToString(node);addr=__inet_pton4_raw(node);if(addr!==null){if(family===0||family===2){family=2}else if(family===10&&flags&8){addr=[0,0,_htonl(65535),addr];family=10}else{return-2}}else{addr=__inet_pton6_raw(node);if(addr!==null){if(family===0||family===10){family=10}else{return-2}}}if(addr!=null){ai=allocaddrinfo(family,type,proto,node,addr,port);HEAP32[out>>2]=ai;return 0}if(flags&4){return-2}node=DNS.lookup_name(node);addr=__inet_pton4_raw(node);if(family===0){family=2}else if(family===10){addr=[0,0,_htonl(65535),addr]}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}function getHostByName(name){var ret=_malloc(20);var nameBuf=_malloc(name.length+1);stringToUTF8(name,nameBuf,name.length+1);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){setErrNo(5);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}return getHostByName(host)}function _gethostbyname(name){return getHostByName(UTF8ToString(name))}function _getnameinfo(sa,salen,node,nodelen,serv,servlen,flags){var info=__read_sockaddr(sa,salen);if(info.errno){return-6}var port=info.port;var addr=info.addr;var overflowed=false;if(node&&nodelen){var lookup;if(flags&1||!(lookup=DNS.lookup_addr(addr))){if(flags&8){return-2}}else{addr=lookup}var numBytesWrittenExclNull=stringToUTF8(addr,node,nodelen);if(numBytesWrittenExclNull+1>=nodelen){overflowed=true}}if(serv&&servlen){port=""+port;var numBytesWrittenExclNull=stringToUTF8(port,serv,servlen);if(numBytesWrittenExclNull+1>=servlen){overflowed=true}}if(overflowed){return-12}return 0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glActiveTexture(x0){GLctx["activeTexture"](x0)}function _glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _glBindBuffer(target,buffer){if(target==35051){GLctx.currentPixelPackBufferBinding=buffer}else if(target==35052){GLctx.currentPixelUnpackBufferBinding=buffer}GLctx.bindBuffer(target,GL.buffers[buffer])}function _glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,GL.framebuffers[framebuffer])}function _glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,GL.renderbuffers[renderbuffer])}function _glBindTexture(target,texture){GLctx.bindTexture(target,GL.textures[texture])}function _glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _glBufferData(target,size,data,usage){if(GL.currentContext.version>=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _glClear(x0){GLctx["clear"](x0)}function _glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _glClearDepthf(x0){GLctx["clearDepth"](x0)}function _glClearStencil(x0){GLctx["clearStencil"](x0)}function _glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _glCullFace(x0){GLctx["cullFace"](x0)}function _glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _glDepthFunc(x0){GLctx["depthFunc"](x0)}function _glDepthMask(flag){GLctx.depthMask(!!flag)}function _glDisable(x0){GLctx["disable"](x0)}function _glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _glEnable(x0){GLctx["enable"](x0)}function _glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _glFlush(){GLctx["flush"]()}function _glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _glFrontFace(x0){GLctx["frontFace"](x0)}function _glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function _glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _glStencilMask(x0){GLctx["stencilMask"](x0)}function _glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform4fv(GL.uniforms[location],view)}function _glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}var GLFW={keyFunc:null,charFunc:null,markedTextFunc:null,gamepadFunc:null,mouseButtonFunc:null,mousePosFunc:null,mouseWheelFunc:null,resizeFunc:null,closeFunc:null,refreshFunc:null,focusFunc:null,iconifyFunc:null,touchFunc:null,params:null,initTime:null,wheelPos:0,buttons:0,keys:0,initWindowWidth:640,initWindowHeight:480,windowX:0,windowY:0,windowWidth:0,windowHeight:0,prevWidth:0,prevHeight:0,prevNonFSWidth:0,prevNonFSHeight:0,isFullscreen:false,dpi:1,mouseTouchId:null,DOMToGLFWKeyCode:function(keycode){switch(keycode){case 8:return 295;case 9:return 293;case 13:return 294;case 27:return 257;case 106:return 313;case 107:return 315;case 109:return 314;case 110:return 316;case 111:return 312;case 112:return 258;case 113:return 259;case 114:return 260;case 115:return 261;case 116:return 262;case 117:return 263;case 118:return 264;case 119:return 265;case 120:return 266;case 121:return 267;case 122:return 268;case 123:return 269;case 37:return 285;case 38:return 283;case 39:return 286;case 40:return 284;case 33:return 298;case 34:return 299;case 36:return 300;case 35:return 301;case 45:return 296;case 16:return 287;case 5:return 287;case 6:return 288;case 17:return 289;case 3:return 289;case 4:return 290;case 18:return 291;case 2:return 291;case 1:return 292;case 96:return 302;case 97:return 303;case 98:return 304;case 99:return 305;case 100:return 306;case 101:return 307;case 102:return 308;case 103:return 309;case 104:return 310;case 105:return 311;default:return keycode}},DOMtoGLFWButton:function(button){if(button==1){button=2}else if(button==2){button=1}return button},getUnicodeChar:function(value){var output="";if(value>65535){value-=65536;output+=String.fromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=String.fromCharCode(value);return output},addEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.addEventListener(type,listener,useCapture)}},removeEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.removeEventListener(type,listener,useCapture)}},addEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].addEventListener(type,listener,useCapture)}},removeEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].removeEventListener(type,listener,useCapture)}},isCanvasActive:function(event){var res=typeof document.activeElement=="undefined"||document.activeElement==Module["canvas"];if(!res){res=event.target==Module["canvas"]}if(event.target.focus)event.target.focus();return res},onKeyPress:function(event){if(!GLFW.isCanvasActive(event)){return}if(event.charCode){var char=GLFW.getUnicodeChar(event.charCode);if(char!==null&&GLFW.charFunc){wasmTable.get(GLFW.charFunc)(event.charCode,1)}}},onKeyChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}var key=GLFW.DOMToGLFWKeyCode(event.keyCode);if(key){GLFW.keys[key]=status;if(GLFW.keyFunc){wasmTable.get(GLFW.keyFunc)(key,status)}}},onKeydown:function(event){if(!GLFW.isCanvasActive(event)){return}switch(event.keyCode){case 37:case 38:case 39:case 40:case 32:event.preventDefault();event.stopPropagation();default:break}GLFW.onKeyChanged(event,1);if(event.keyCode===32){if(GLFW.charFunc){wasmTable.get(GLFW.charFunc)(32,1);event.preventDefault()}}else if(event.keyCode===8||event.keyCode===9||event.keyCode===13){event.preventDefault()}},onKeyup:function(event){if(!GLFW.isCanvasActive(event)){return}GLFW.onKeyChanged(event,0)},onMousemove:function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(event.target==Module["canvas"]&&GLFW.mousePosFunc){event.preventDefault();wasmTable.get(GLFW.mousePosFunc)(lastX,lastY)}},onMouseButtonChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}if(GLFW.mouseButtonFunc==null){return}Browser.calculateMouseEvent(event);if(event.target!=Module["canvas"]){return}if(status==1){try{event.target.setCapture()}catch(e){}}event.preventDefault();var eventButton=GLFW.DOMtoGLFWButton(event["button"]);wasmTable.get(GLFW.mouseButtonFunc)(eventButton,status)},fillTouch:function(id,x,y,phase){if(GLFW.touchFunc){wasmTable.get(GLFW.touchFunc)(id,x,y,phase)}},touchWasFinished:function(event,phase){if(!GLFW.isCanvasActive(event)){return}for(var i=0;i0}function _glfwGetMousePos(xpos,ypos){setValue(xpos,Browser.mouseX,"i32");setValue(ypos,Browser.mouseY,"i32")}function _glfwGetMouseWheel(){return GLFW.wheelPos}function _glfwGetProcAddress(procname){return _getProcAddress(procname)}function _glfwGetWindowParam(param){return GLFW.params[param]}function _glfwGetWindowRefreshRate(){return 0}function _glfwGetWindowSize(width,height){setValue(width,Module["canvas"].width,"i32");setValue(height,Module["canvas"].height,"i32")}function _glfwIconifyWindow(){}function _glfwInitJS(){GLFW.initTime=Date.now()/1e3;GLFW.addEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.addEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.addEventListener("keydown",GLFW.onKeydown,true);GLFW.addEventListener("keypress",GLFW.onKeyPress,true);GLFW.addEventListener("keyup",GLFW.onKeyup,true);GLFW.addEventListener("mousemove",GLFW.onMousemove,true);GLFW.addEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.addEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.addEventListener("DOMMouseScroll",GLFW.onMouseWheel,true);GLFW.addEventListener("mousewheel",GLFW.onMouseWheel,true);GLFW.addEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.addEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.addEventListenerCanvas("touchcancel",GLFW.onTouchCancel,true);GLFW.addEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.addEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.addEventListenerCanvas("blur",GLFW.onBlur,true);__ATEXIT__.push({func:function(){GLFW.removeEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.removeEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.removeEventListener("keydown",GLFW.onKeydown,true);GLFW.removeEventListener("keypress",GLFW.onKeyPress,true);GLFW.removeEventListener("keyup",GLFW.onKeyup,true);GLFW.removeEventListener("mousemove",GLFW.onMousemove,true);GLFW.removeEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.removeEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.removeEventListener("DOMMouseScroll",GLFW.onMouseWheel,true);GLFW.removeEventListener("mousewheel",GLFW.onMouseWheel,true);GLFW.removeEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.removeEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchcancel",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.removeEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.removeEventListenerCanvas("blur",GLFW.onBlur,true);var canvas=Module["canvas"];if(typeof canvas!=="undefined"){Module["canvas"].width=Module["canvas"].height=1}}});GLFW.params=new Array;GLFW.params[196609]=true;GLFW.params[196610]=false;GLFW.params[196611]=true;GLFW.params[196612]=false;GLFW.params[196613]=false;GLFW.params[196614]=true;GLFW.params[131073]=true;GLFW.params[131074]=true;GLFW.params[131075]=false;GLFW.params[131076]=true;GLFW.params[131077]=0;GLFW.params[131078]=0;GLFW.params[131079]=0;GLFW.params[131080]=0;GLFW.params[131081]=0;GLFW.params[131082]=0;GLFW.params[131083]=0;GLFW.params[131084]=0;GLFW.params[131085]=0;GLFW.params[131086]=0;GLFW.params[131087]=0;GLFW.params[131088]=0;GLFW.params[131089]=0;GLFW.params[131090]=0;GLFW.params[131091]=0;GLFW.params[131092]=0;GLFW.params[131093]=0;GLFW.params[131094]=0;GLFW.params[131095]=0;GLFW.params[131096]=0;GLFW.params[327681]=0;GLFW.params[327682]=1;GLFW.params[327683]=2;GLFW.params[131097]=0;GLFW.keys=new Array;GLFW.GLFW_PHASE_BEGAN=0;GLFW.GLFW_PHASE_MOVED=1;GLFW.GLFW_PHASE_ENDED=3;GLFW.GLFW_PHASE_CANCELLED=4;return 1}function _glfwOpenWindow(width,height,redbits,greenbits,bluebits,alphabits,depthbits,stencilbits,mode){if(width==0&&height>0){width=4*height/3}if(width>0&&height==0){height=3*width/4}GLFW.params[131077]=redbits;GLFW.params[131078]=greenbits;GLFW.params[131079]=bluebits;GLFW.params[131080]=alphabits;GLFW.params[131081]=depthbits;GLFW.params[131082]=stencilbits;if(mode==65537){GLFW.initWindowWidth=width;GLFW.initWindowHeight=height;GLFW.params[196611]=true}else if(mode==65538){GLFW.requestFullScreen();GLFW.params[196611]=false}else{throw"Invalid glfwOpenWindow mode."}var contextAttributes={antialias:GLFW.params[131091]>1,depth:GLFW.params[131081]>0,stencil:GLFW.params[131082]>0};var iOSVersion=false;try{iOSVersion=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||false}catch(e){}if(iOSVersion&&iOSVersion<15.2){contextAttributes.majorVersion=1}Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);if(Module.ctx==null){contextAttributes.majorVersion=1;Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes)}return 1}function _glfwOpenWindowHint(target,hint){GLFW.params[target]=hint;if(target==131097){if(hint!=0){GLFW.dpi=window.devicePixelRatio||1}}}function _glfwPollEvents(){}function _glfwResetKeyboard(){}function _glfwSetCharCallback(cbfun){GLFW.charFunc=cbfun;return 1}function _glfwSetGamepadCallback(cbfun){GLFW.gamepadFunc=cbfun;GLFW.refreshJoysticks();return 1}function _glfwSetMarkedTextCallback(cbfun){GLFW.markedTextFunc=cbfun;return 1}function _glfwSetTouchCallback(cbfun){GLFW.touchFunc=cbfun;return 1}function _glfwSetWindowBackgroundColor(){}function _glfwSetWindowCloseCallback(cbfun){GLFW.closeFunc=cbfun}function _glfwSetWindowFocusCallback(cbfun){GLFW.focusFunc=cbfun}function _glfwSetWindowIconifyCallback(cbfun){GLFW.iconifyFunc=cbfun}function _glfwSetWindowSize(width,height){Browser.setCanvasSize(width,height);if(GLFW.resizeFunc){wasmTable.get(GLFW.resizeFunc)(width,height)}}function _glfwSetWindowSizeCallback(cbfun){GLFW.resizeFunc=cbfun}function _glfwShowKeyboard(show_keyboard){Module["canvas"].contentEditable=show_keyboard?true:false;if(show_keyboard){Module["canvas"].focus()}}function _glfwSwapBuffers(){var width=Module["canvas"].width;var height=Module["canvas"].height;if(GLFW.prevWidth!=width||GLFW.prevHeight!=height){if(GLFW.isFullscreen){width=Math.floor(window.innerWidth*GLFW.dpi);height=Math.floor(window.innerHeight*GLFW.dpi)}else{width=Math.floor(width*GLFW.dpi);height=Math.floor(height*GLFW.dpi)}GLFW.prevWidth=width;GLFW.prevHeight=height;_glfwSetWindowSize(width,height)}}function _glfwSwapInterval(interval){}function _glfwTerminate(){}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _pthread_create(){return 6}function _pthread_join(){return 28}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}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 janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=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"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=HEAPU8.length;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _system(command){if(ENVIRONMENT_IS_NODE){if(!command)return 1;var cmdstr=UTF8ToString(command);if(!cmdstr.length)return 0;var cp=require("child_process");var ret=cp.spawnSync(cmdstr,[],{shell:true,stdio:"inherit"});var _W_EXITCODE=function(ret,sig){return ret<<8|sig};if(ret.status===null){var signalToNumber=function(sig){switch(sig){case"SIGHUP":return 1;case"SIGINT":return 2;case"SIGQUIT":return 3;case"SIGFPE":return 8;case"SIGKILL":return 9;case"SIGALRM":return 14;case"SIGTERM":return 15}return 2};return _W_EXITCODE(0,signalToNumber(ret.signal))}return _W_EXITCODE(ret.status,0)}if(!command)return 0;setErrNo(6);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){var double=ch<105;if(double&&buf&1)buf++;readAsmConstArgsArray.push(double?HEAPF64[buf++>>1]:HEAP32[buf]);++buf}return readAsmConstArgsArray}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var GLctx;for(var i=0;i<32;++i)tempFixedLengthArray.push(new Array(i));var miniTempWebGLFloatBuffersStorage=new Float32Array(288);for(var i=0;i<288;++i){miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i+1)}var __miniTempWebGLIntBuffersStorage=new Int32Array(288);for(var i=0;i<288;++i){__miniTempWebGLIntBuffers[i]=__miniTempWebGLIntBuffersStorage.subarray(0,i+1)}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(i>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(shouldRunNow)callMain(args);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){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run(); +)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}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 allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeStringToMemory(string,buffer,dontAddNull){warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}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"]||33554432;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":INITIAL_MEMORY/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();SOCKFS.root=FS.mount(SOCKFS,{},null);callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}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 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};if(!Math.trunc)Math.trunc=function(x){return x<0?Math.ceil(x):Math.floor(x)};var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}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+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="dmengine.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){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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"]["Oh"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}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{}}var tempDouble;var tempI64;var ASM_CONSTS={1313:function(){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){console.log("%c %c Made with Defold %c %c https://www.defold.com","background: #fd6623; padding:5px 0; border: 5px;","background: #272c31; color: #fafafa; padding:5px 0;","background: #39a3e4; padding:5px 0;","background: #ffffff; color: #000000; padding:5px 0;")}else{console.log("Made with Defold -=[ https://www.defold.com ]=-")}},120529:function($0){var jsResult;var isSuccess=1;try{jsResult=eval(UTF8ToString($0))}catch(err){isSuccess=0;jsResult=err}_dmScript_Html5ReportOperationSuccess(isSuccess);jsResult+="";var lengthBytes=lengthBytesUTF8(jsResult)+1;var stringOnWasmHeap=_malloc(lengthBytes);stringToUTF8(jsResult,stringOnWasmHeap,lengthBytes);return stringOnWasmHeap},120973:function(){document.removeEventListener("click",Module.__defold_interaction_listener);document.removeEventListener("keyup",Module.__defold_interaction_listener);document.removeEventListener("touchend",Module.__defold_interaction_listener);Module.__defold_interaction_listener=undefined},121287:function(){Module.__defold_interaction_listener=function(){_dmScript_RunInteractionCallback()};document.addEventListener("click",Module.__defold_interaction_listener);document.addEventListener("keyup",Module.__defold_interaction_listener);document.addEventListener("touchend",Module.__defold_interaction_listener)}};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){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function demangle(func){return func}function demangleAll(text){var regex=/\b_Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var error=new Error;if(!error.stack){try{throw new Error}catch(e){error=e}if(!error.stack){return"(no stack trace available)"}}return error.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof performance!=="undefined"&&performance.now){_emscripten_get_now=function(){return performance.now()}}else{_emscripten_get_now=Date.now}var _emscripten_get_now_is_monotonic=typeof performance==="object"&&performance&&typeof performance["now"]==="function"||ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined";function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function ___localtime_r(a0,a1){return _localtime_r(a0,a1)}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){var alignedSize=alignMemory(size,16384);var ptr=_malloc(alignedSize);while(size=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){FS.forceLoadFile(node);var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys__newselect(nfds,readfds,writefds,exceptfds,timeout){try{var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);var check=function(fd,low,high,val){return fd<32?low&val:high&val};for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup2(oldfd,suggestFD){try{var old=SYSCALLS.getStreamFromFD(oldfd);if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup3(fd,suggestFD,flags){try{var old=SYSCALLS.getStreamFromFD(fd);if(old.fd===suggestFD)return-28;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=varargs?SYSCALLS.get():0;var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_poll(fds,nfds,timeout){try{var nonzero=0;for(var i=0;i>2];var events=HEAP16[pollfd+4>>1];var mask=32;var stream=FS.getStream(fd);if(stream){mask=SYSCALLS.DEFAULT_POLLMASK;if(stream.stream_ops.poll){mask=stream.stream_ops.poll(stream)}}mask&=events|8|16;if(mask)nonzero++;HEAP16[pollfd+6>>1]=mask}return nonzero}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var SOCKFS={mount:function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this};Module["websocket"].emit=function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}};return FS.createNode(null,"/",16384|511,0)},createSocket:function(family,type,protocol){type&=~526336;var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:2,seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock},getSocket:function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock},stream_ops:{poll:function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)},ioctl:function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)},read:function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length},write:function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)},close:function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)}},nextname:function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}var opts=undefined;if(subProtocols!=="null"){subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols}if(runtimeConfig&&null===Module["websocket"]["subprotocol"]){subProtocols="null";opts=undefined}var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer},getPeer:function(sock,addr,port){return sock.peers[addr+":"+port]},addPeer:function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer},removePeer:function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]},handlePeerEvents:function(sock,peer){var first=true;var handleOpen=function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}};function handleMessage(data){if(typeof data==="string"){var encoder=new TextEncoder;data=encoder.encode(data)}else{assert(data.byteLength!==undefined);if(data.byteLength==0){return}else{data=new Uint8Array(data)}}var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",function(data,flags){if(!flags.binary){return}handleMessage(new Uint8Array(data).buffer)});peer.socket.on("close",function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.on("error",function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}else{peer.socket.onopen=handleOpen;peer.socket.onclose=function(){Module["websocket"].emit("close",sock.stream.fd)};peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}}},poll:function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask},ioctl:function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}},close:function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}function jstoi_q(str){return parseInt(str)}function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAPU16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:28}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:28}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:5}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port,addrlen){switch(family){case 2:addr=__inet_pton4_raw(addr);if(addrlen){HEAP32[addrlen>>2]=16}HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);if(addrlen){HEAP32[addrlen>>2]=28}HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return 5}return 0}function ___sys_socketcall(call,socketvararg){try{SYSCALLS.varargs=socketvararg;var getSocketFromFD=function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(8);return socket};var getSocketAddress=function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info};switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);return sock.stream.fd}case 2:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0}case 3:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0}case 4:{var sock=getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0}case 5:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var errno=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport,addrlen)}return newsock.stream.fd}case 6:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport,addrlen);return 0}case 7:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-53}var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport,addrlen);return 0}case 11:{var sock=getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}}case 12:{var sock=getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port,addrlen)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength}case 14:{return-50}case 15:{var sock=getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-50}case 16:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)}case 17:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var errno=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead}default:{return-52}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_uname(buf){try{if(!buf)return-21;var layout={"__size__":390,"domainname":325,"machine":260,"nodename":65,"release":130,"sysname":0,"version":195};var copyString=function(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)};copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _difftime(time1,time0){return time1-time0}var DefoldSoundDevice={TryResumeAudio:function(){var audioCtx=window._dmJSDeviceShared.audioCtx;if(audioCtx!==undefined&&audioCtx.state!="running"){audioCtx.resume()}}};function _dmDeviceJSFreeBufferSlots(id){return window._dmJSDeviceShared.devices[id]._freeBufferSlots()}function _dmDeviceJSOpen(bufferCount){var shared=window._dmJSDeviceShared;if(shared===undefined){shared={count:0,devices:{}};window._dmJSDeviceShared=shared}var id=shared.count++;var device;if(window.AudioContext||window.webkitAudioContext){if(shared.audioCtx===undefined){shared.audioCtx=new(window.AudioContext||window.webkitAudioContext)}device={sampleRate:shared.audioCtx.sampleRate,bufferedTo:0,bufferDuration:0,_queue:function(samples,sample_count){var buf=shared.audioCtx.createBuffer(2,sample_count,this.sampleRate);var c0=buf.getChannelData(0);var c1=buf.getChannelData(1);for(var i=0;i0){xhr.timeout=timeout/1e3}var headersArray=UTF8ToString(headers).split("\n");for(var i=0;i0){xhr.send(HEAPU8.subarray(send_data,send_data+send_data_length))}else{xhr.send()}}var DMSYS={_folder:"/data",_cstr:null,GetUserPersistentDataRoot:function(){if(typeof window!=="undefined")return DMSYS._folder;else return""},PumpMessageQueue:function(){if(typeof window==="undefined"){var uvrun=require("uvrun");uvrun.runOnce()}}};function _dmSysGetApplicationPath(){var path=location.href.substring(0,location.href.lastIndexOf("/"));var lengthBytes=lengthBytesUTF8(path)+1;var buffer=_malloc(lengthBytes);Module.stringToUTF8(path,buffer,lengthBytes);return buffer}function _dmSysGetUserAgent(){var useragent=navigator.userAgent;var buffer=_malloc(useragent.length+1);Module.stringToUTF8(useragent,buffer,useragent.length+1);return buffer}function _dmSysGetUserPersistentDataRoot(){if(null==DMSYS._cstr){var str=DMSYS.GetUserPersistentDataRoot();DMSYS._cstr=_malloc(str.length+1);Module.stringToUTF8(str,DMSYS._cstr,str.length+1)}return DMSYS._cstr}function _dmSysGetUserPreferredLanguage(defaultlang){var jsdefault=UTF8ToString(defaultlang);var preferred=navigator==undefined?jsdefault:navigator.languages?navigator.languages[0]||jsdefault:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||jsdefault;var buffer=_malloc(preferred.length+1);Module.stringToUTF8(preferred,buffer,preferred.length+1);return buffer}var JSEvents={inEventHandler:0,removeAllEventListeners:function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}JSEvents.eventHandlers=[];JSEvents.deferredCalls=[]},registerRemoveEventListeners:function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push(JSEvents.removeAllEventListeners);JSEvents.removeEventListenersRegistered=true}},deferredCalls:[],deferCall:function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort(function(x,y){return x.precedence0},removeAllHandlersOnTarget:function(target,eventTypeString){for(var i=0;i0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;setMainLoop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:typeof WebGL2RenderingContext!=="undefined"?2:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;if(typeof window!=="undefined"){RAF=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||RAF}RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]:-1;source+=UTF8ToString(HEAP32[string+i*4>>2],len<0?undefined:len)}return source},createContext:function(canvas,webGLContextAttributes){function getChromeVersion(){var chromeVersion=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(chromeVersion)return chromeVersion[2]|0}var ctx=webGLContextAttributes.majorVersion>1?!(getChromeVersion()<=57)&&canvas.getContext("webgl2",webGLContextAttributes):canvas.getContext("webgl",webGLContextAttributes)||canvas.getContext("experimental-webgl",webGLContextAttributes);if(!ctx)return 0;var handle=GL.registerContext(ctx,webGLContextAttributes);return handle},registerContext:function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes.majorVersion,GLctx:ctx};context.cannotHandleOffsetsInUniformArrayViews=function(g){function b(c,t){var s=g.createShader(t);g.shaderSource(s,c);g.compileShader(s);return s}try{var p=g.createProgram();g.attachShader(p,b("attribute vec4 p;void main(){gl_Position=p;}",35633));g.attachShader(p,b("precision lowp float;uniform vec4 u;void main(){gl_FragColor=u;}",35632));g.linkProgram(p);var h=new Float32Array(8);h[4]=1;g.useProgram(p);var l=g.getUniformLocation(p,"u");g.uniform4fv(l,h.subarray(4,8));return!g.getUniform(p,l)[0]}catch(e){return false}}();if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes.enableExtensionsByDefault==="undefined"||webGLContextAttributes.enableExtensionsByDefault){GL.initExtensions(context)}return handle},makeContextCurrent:function(contextHandle){GL.currentContext=GL.contexts[contextHandle];Module.ctx=GLctx=GL.currentContext&&GL.currentContext.GLctx;return!(contextHandle&&!GLctx)},getContext:function(contextHandle){return GL.contexts[contextHandle]},deleteContext:function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null},initExtensions:function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;__webgl_enable_ANGLE_instanced_arrays(GLctx);__webgl_enable_OES_vertex_array_object(GLctx);__webgl_enable_WEBGL_draw_buffers(GLctx);__webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(GLctx);__webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(GLctx);GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");__webgl_enable_WEBGL_multi_draw(GLctx);var exts=GLctx.getSupportedExtensions()||[];exts.forEach(function(ext){if(ext.indexOf("lose_context")<0&&ext.indexOf("debug")<0){GLctx.getExtension(ext)}})},populateUniformTable:function(program){var p=GL.programs[program];var ptable=GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1,maxUniformBlockNameLength:-1};var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,35718);for(var i=0;i=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _emscripten_glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearBufferfi(x0,x1,x2,x3){GLctx["clearBufferfi"](x0,x1,x2,x3)}function _emscripten_glClearBufferfv(buffer,drawbuffer,value){GLctx["clearBufferfv"](buffer,drawbuffer,HEAPF32,value>>2)}function _emscripten_glClearBufferiv(buffer,drawbuffer,value){GLctx["clearBufferiv"](buffer,drawbuffer,HEAP32,value>>2)}function _emscripten_glClearBufferuiv(buffer,drawbuffer,value){GLctx["clearBufferuiv"](buffer,drawbuffer,HEAPU32,value>>2)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function convertI32PairToI53(lo,hi){return(lo>>>0)+hi*4294967296}function _emscripten_glClientWaitSync(sync,flags,timeoutLo,timeoutHi){return GLctx.clientWaitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _emscripten_glCopyBufferSubData(x0,x1,x2,x3,x4){GLctx["copyBufferSubData"](x0,x1,x2,x3,x4)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage3D(x0,x1,x2,x3,x4,x5,x6,x7,x8){GLctx["copyTexSubImage3D"](x0,x1,x2,x3,x4,x5,x6,x7,x8)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDeleteQueries(n,ids){for(var i=0;i>2];var query=GL.queries[id];if(!query)continue;GLctx["deleteQuery"](query);GL.queries[id]=null}}function _emscripten_glDeleteQueriesEXT(n,ids){for(var i=0;i>2];var query=GL.timerQueriesEXT[id];if(!query)continue;GLctx.disjointTimerQueryExt["deleteQueryEXT"](query);GL.timerQueriesEXT[id]=null}}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _emscripten_glDeleteSamplers(n,samplers){for(var i=0;i>2];var sampler=GL.samplers[id];if(!sampler)continue;GLctx["deleteSampler"](sampler);sampler.name=0;GL.samplers[id]=null}}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _emscripten_glDeleteSync(id){if(!id)return;var sync=GL.syncs[id];if(!sync){GL.recordError(1281);return}GLctx.deleteSync(sync);sync.name=0;GL.syncs[id]=null}function _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteTransformFeedbacks(n,ids){for(var i=0;i>2];var transformFeedback=GL.transformFeedbacks[id];if(!transformFeedback)continue;GLctx["deleteTransformFeedback"](transformFeedback);transformFeedback.name=0;GL.transformFeedbacks[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDeleteVertexArraysOES(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedANGLE(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedARB(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedEXT(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedNV(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}var tempFixedLengthArray=[];function _emscripten_glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersEXT(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersWEBGL(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedANGLE(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedARB(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedEXT(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedNV(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawRangeElements(mode,start,end,count,type,indices){_glDrawElements(mode,count,type,indices)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glEndQuery(x0){GLctx["endQuery"](x0)}function _emscripten_glEndQueryEXT(target){GLctx.disjointTimerQueryExt["endQueryEXT"](target)}function _emscripten_glEndTransformFeedback(){GLctx["endTransformFeedback"]()}function _emscripten_glFenceSync(condition,flags){var sync=GLctx.fenceSync(condition,flags);if(sync){var id=GL.getNewId(GL.syncs);sync.name=id;GL.syncs[id]=sync;return id}else{return 0}}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFramebufferTextureLayer(target,attachment,texture,level,layer){GLctx.framebufferTextureLayer(target,attachment,GL.textures[texture],level,layer)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function __glGenObject(n,buffers,createFunction,objectTable){for(var i=0;i>2]=id}}function _emscripten_glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _emscripten_glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _emscripten_glGenQueries(n,ids){__glGenObject(n,ids,"createQuery",GL.queries)}function _emscripten_glGenQueriesEXT(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.timerQueriesEXT);query.name=id;GL.timerQueriesEXT[id]=query;HEAP32[ids+i*4>>2]=id}}function _emscripten_glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _emscripten_glGenSamplers(n,samplers){__glGenObject(n,samplers,"createSampler",GL.samplers)}function _emscripten_glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _emscripten_glGenTransformFeedbacks(n,ids){__glGenObject(n,ids,"createTransformFeedback",GL.transformFeedbacks)}function _emscripten_glGenVertexArrays(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenVertexArraysOES(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function __glGetActiveAttribOrUniform(funcName,program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx[funcName](program,index);if(info){var numBytesWrittenExclNull=name&&stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull;if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniformBlockName(program,uniformBlockIndex,bufSize,length,uniformBlockName){program=GL.programs[program];var result=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);if(!result)return;if(uniformBlockName&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(result,uniformBlockName,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetActiveUniformBlockiv(program,uniformBlockIndex,pname,params){if(!params){GL.recordError(1281);return}program=GL.programs[program];switch(pname){case 35393:var name=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);HEAP32[params>>2]=name.length+1;return;default:var result=GLctx["getActiveUniformBlockParameter"](program,uniformBlockIndex,pname);if(!result)return;if(typeof result=="number"){HEAP32[params>>2]=result}else{for(var i=0;i>2]=result[i]}}}}function _emscripten_glGetActiveUniformsiv(program,uniformCount,uniformIndices,pname,params){if(!params){GL.recordError(1281);return}if(uniformCount>0&&uniformIndices==0){GL.recordError(1281);return}program=GL.programs[program];var ids=[];for(var i=0;i>2])}var result=GLctx["getActiveUniforms"](program,ids,pname);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _emscripten_glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function writeI53ToI64(ptr,num){HEAPU32[ptr>>2]=num;HEAPU32[ptr+4>>2]=(num-HEAPU32[ptr>>2])/4294967296}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=0&&type!=1){GL.recordError(1280)}return;case 34814:case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats?formats.length:0;break;case 33309:if(GL.currentContext.version<2){GL.recordError(1282);return}var exts=GLctx.getSupportedExtensions()||[];ret=2*exts.length;break;case 33307:case 33308:if(GL.currentContext.version<2){GL.recordError(1280);return}ret=name_==33307?3:0;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:{ret=0;break}default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case 2:HEAPF32[p+i*4>>2]=result[i];break;case 4:HEAP8[p+i>>0]=result[i]?1:0;break}}return}else{try{ret=result.name|0}catch(e){GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Unknown object returned from WebGL getParameter("+name_+")! (error: "+e+")");return}}break;default:GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Native code calling glGet"+type+"v("+name_+") and it returns "+result+" of type "+typeof result+"!");return}}switch(type){case 1:writeI53ToI64(p,ret);break;case 0:HEAP32[p>>2]=ret;break;case 2:HEAPF32[p>>2]=ret;break;case 4:HEAP8[p>>0]=ret?1:0;break}}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,4)}function _emscripten_glGetBufferParameteri64v(target,value,data){if(!data){GL.recordError(1281);return}writeI53ToI64(data,GLctx.getBufferParameter(target,value))}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _emscripten_glGetFragDataLocation(program,name){return GLctx["getFragDataLocation"](GL.programs[program],UTF8ToString(name))}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);if(result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){result=result.name|0}HEAP32[params>>2]=result}function emscriptenWebGLGetIndexed(target,index,data,type){if(!data){GL.recordError(1281);return}var result=GLctx["getIndexedParameter"](target,index);var ret;switch(typeof result){case"boolean":ret=result?1:0;break;case"number":ret=result;break;case"object":if(result===null){switch(target){case 35983:case 35368:ret=0;break;default:{GL.recordError(1280);return}}}else if(result instanceof WebGLBuffer){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}switch(type){case 1:writeI53ToI64(data,ret);break;case 0:HEAP32[data>>2]=ret;break;case 2:HEAPF32[data>>2]=ret;break;case 4:HEAP8[data>>0]=ret?1:0;break;default:throw"internal emscriptenWebGLGetIndexed() error, bad type: "+type}}function _emscripten_glGetInteger64i_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,1)}function _emscripten_glGetInteger64v(name_,p){emscriptenWebGLGet(name_,p,1)}function _emscripten_glGetIntegeri_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,0)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _emscripten_glGetInternalformativ(target,internalformat,pname,bufSize,params){if(bufSize<0){GL.recordError(1281);return}if(!params){GL.recordError(1281);return}var ret=GLctx["getInternalformatParameter"](target,internalformat,pname);if(ret===null)return;for(var i=0;i>2]=ret[i]}}function _emscripten_glGetProgramBinary(program,bufSize,length,binaryFormat,binary){GL.recordError(1282)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetQueryObjecti64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectui64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectuiv(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.queries[id];var param=GLctx["getQueryParameter"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectuivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryiv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx["getQuery"](target,pname)}function _emscripten_glGetQueryivEXT(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.disjointTimerQueryExt["getQueryEXT"](target,pname)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetSamplerParameterfv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAPF32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetSamplerParameteriv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAP32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;var numBytesWrittenExclNull=bufSize>0&&source?stringToUTF8(result,source,bufSize):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function stringToNewUTF8(jsString){var length=lengthBytesUTF8(jsString)+1;var cString=_malloc(length);stringToUTF8(jsString,cString,length);return cString}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _emscripten_glGetStringi(name,index){if(GL.currentContext.version<2){GL.recordError(1282);return 0}var stringiCache=GL.stringiCache[name];if(stringiCache){if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index]}switch(name){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));exts=exts.map(function(e){return stringToNewUTF8(e)});stringiCache=GL.stringiCache[name]=exts;if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index];default:GL.recordError(1280);return 0}}function _emscripten_glGetSynciv(sync,pname,bufSize,length,values){if(bufSize<0){GL.recordError(1281);return}if(!values){GL.recordError(1281);return}var ret=GLctx.getSyncParameter(GL.syncs[sync],pname);HEAP32[length>>2]=ret;if(ret!==null&&length)HEAP32[length>>2]=1}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTransformFeedbackVarying(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx["getTransformFeedbackVarying"](program,index);if(!info)return;if(name&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetUniformBlockIndex(program,uniformBlockName){return GLctx["getUniformBlockIndex"](GL.programs[program],UTF8ToString(uniformBlockName))}function _emscripten_glGetUniformIndices(program,uniformCount,uniformNames,uniformIndices){if(!uniformIndices){GL.recordError(1281);return}if(uniformCount>0&&(uniformNames==0||uniformIndices==0)){GL.recordError(1281);return}program=GL.programs[program];var names=[];for(var i=0;i>2]));var result=GLctx["getUniformIndices"](program,names);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex>2]=data;break;case 2:HEAPF32[params>>2]=data;break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,2)}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function _emscripten_glGetUniformuiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data&&data["name"]}else if(typeof data=="number"||typeof data=="boolean"){switch(type){case 0:HEAP32[params>>2]=data;break;case 2:HEAPF32[params>>2]=data;break;case 5:HEAP32[params>>2]=Math.fround(data);break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break;case 5:HEAP32[params+i*4>>2]=Math.fround(data[i]);break}}}}function _emscripten_glGetVertexAttribIiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribIuiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,2)}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,5)}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glInvalidateFramebuffer(target,numAttachments,attachments){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateFramebuffer"](target,list)}function _emscripten_glInvalidateSubFramebuffer(target,numAttachments,attachments,x,y,width,height){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateSubFramebuffer"](target,list,x,y,width,height)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsQuery(id){var query=GL.queries[id];if(!query)return 0;return GLctx["isQuery"](query)}function _emscripten_glIsQueryEXT(id){var query=GL.timerQueriesEXT[id];if(!query)return 0;return GLctx.disjointTimerQueryExt["isQueryEXT"](query)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsSampler(id){var sampler=GL.samplers[id];if(!sampler)return 0;return GLctx["isSampler"](sampler)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsSync(sync){return GLctx.isSync(GL.syncs[sync])}function _emscripten_glIsTexture(id){var texture=GL.textures[id];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsTransformFeedback(id){return GLctx["isTransformFeedback"](GL.transformFeedbacks[id])}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glIsVertexArrayOES(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.populateUniformTable(program)}function _emscripten_glPauseTransformFeedback(){GLctx["pauseTransformFeedback"]()}function _emscripten_glPixelStorei(pname,param){if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}function _emscripten_glProgramBinary(program,binaryFormat,binary,length){GL.recordError(1280)}function _emscripten_glProgramParameteri(program,pname,value){GL.recordError(1280)}function _emscripten_glQueryCounterEXT(id,target){GLctx.disjointTimerQueryExt["queryCounterEXT"](GL.timerQueriesEXT[id],target)}function _emscripten_glReadBuffer(x0){GLctx["readBuffer"](x0)}function computeUnpackAlignedImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return x+y-1&-y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height*alignedRowSize}function __colorChannelsInGlTextureFormat(format){var colorChannels={5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4};return colorChannels[format-6402]||1}function heapObjectForWebGLType(type){type-=5120;if(type==0)return HEAP8;if(type==1)return HEAPU8;if(type==2)return HEAP16;if(type==4)return HEAP32;if(type==6)return HEAPF32;if(type==5||type==28922||type==28520||type==30779||type==30782)return HEAPU32;return HEAPU16}function heapAccessShiftForWebGLHeap(heap){return 31-Math.clz32(heap.BYTES_PER_ELEMENT)}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var heap=heapObjectForWebGLType(type);var shift=heapAccessShiftForWebGLHeap(heap);var byteSize=1<>shift,pixels+bytes>>shift)}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRenderbufferStorageMultisample(x0,x1,x2,x3,x4){GLctx["renderbufferStorageMultisample"](x0,x1,x2,x3,x4)}function _emscripten_glResumeTransformFeedback(){GLctx["resumeTransformFeedback"]()}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glSamplerParameterf(sampler,pname,param){GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameterfv(sampler,pname,params){var param=HEAPF32[params>>2];GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteri(sampler,pname,param){GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteriv(sampler,pname,params){var param=HEAP32[params>>2];GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _emscripten_glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexStorage2D(x0,x1,x2,x3,x4){GLctx["texStorage2D"](x0,x1,x2,x3,x4)}function _emscripten_glTexStorage3D(x0,x1,x2,x3,x4,x5){GLctx["texStorage3D"](x0,x1,x2,x3,x4,x5)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _emscripten_glTransformFeedbackVaryings(program,count,varyings,bufferMode){program=GL.programs[program];var vars=[];for(var i=0;i>2]));GLctx["transformFeedbackVaryings"](program,vars,bufferMode)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}var miniTempWebGLFloatBuffers=[];function _emscripten_glUniform1fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1fv(GL.uniforms[location],HEAPF32,value>>2,count);return}if(count<=288){var view=miniTempWebGLFloatBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*4>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}var __miniTempWebGLIntBuffers=[];function _emscripten_glUniform1iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1iv(GL.uniforms[location],HEAP32,value>>2,count);return}if(count<=288){var view=__miniTempWebGLIntBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAP32.subarray(value>>2,value+count*4>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform1iv(GL.uniforms[location],view)}function _emscripten_glUniform1ui(location,v0){GLctx.uniform1ui(GL.uniforms[location],v0)}function _emscripten_glUniform1uiv(location,count,value){GLctx.uniform1uiv(GL.uniforms[location],HEAPU32,value>>2,count)}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2fv(GL.uniforms[location],HEAPF32,value>>2,count*2);return}if(count<=144){var view=miniTempWebGLFloatBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*8>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2iv(GL.uniforms[location],HEAP32,value>>2,count*2);return}if(count<=144){var view=__miniTempWebGLIntBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*8>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform2iv(GL.uniforms[location],view)}function _emscripten_glUniform2ui(location,v0,v1){GLctx.uniform2ui(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2uiv(location,count,value){GLctx.uniform2uiv(GL.uniforms[location],HEAPU32,value>>2,count*2)}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3fv(GL.uniforms[location],HEAPF32,value>>2,count*3);return}if(count<=96){var view=miniTempWebGLFloatBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*12>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3iv(GL.uniforms[location],HEAP32,value>>2,count*3);return}if(count<=96){var view=__miniTempWebGLIntBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*12>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform3iv(GL.uniforms[location],view)}function _emscripten_glUniform3ui(location,v0,v1,v2){GLctx.uniform3ui(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3uiv(location,count,value){GLctx.uniform3uiv(GL.uniforms[location],HEAPU32,value>>2,count*3)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4iv(GL.uniforms[location],HEAP32,value>>2,count*4);return}if(count<=72){var view=__miniTempWebGLIntBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2];view[i+3]=HEAP32[value+(4*i+12)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Int32Array(view)}GLctx.uniform4iv(GL.uniforms[location],view)}function _emscripten_glUniform4ui(location,v0,v1,v2,v3){GLctx.uniform4ui(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4uiv(location,count,value){GLctx.uniform4uiv(GL.uniforms[location],HEAPU32,value>>2,count*4)}function _emscripten_glUniformBlockBinding(program,uniformBlockIndex,uniformBlockBinding){program=GL.programs[program];GLctx["uniformBlockBinding"](program,uniformBlockIndex,uniformBlockBinding)}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix2x3fv(location,count,transpose,value){GLctx.uniformMatrix2x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix2x4fv(location,count,transpose,value){GLctx.uniformMatrix2x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*9);return}if(count<=32){var view=miniTempWebGLFloatBuffers[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*36>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3x2fv(location,count,transpose,value){GLctx.uniformMatrix3x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix3x4fv(location,count,transpose,value){GLctx.uniformMatrix3x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4x2fv(location,count,transpose,value){GLctx.uniformMatrix4x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix4x3fv(location,count,transpose,value){GLctx.uniformMatrix4x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorANGLE(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorARB(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorEXT(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorNV(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribI4i(x0,x1,x2,x3,x4){GLctx["vertexAttribI4i"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4iv(index,v){GLctx.vertexAttribI4i(index,HEAP32[v>>2],HEAP32[v+4>>2],HEAP32[v+8>>2],HEAP32[v+12>>2])}function _emscripten_glVertexAttribI4ui(x0,x1,x2,x3,x4){GLctx["vertexAttribI4ui"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4uiv(index,v){GLctx.vertexAttribI4ui(index,HEAPU32[v>>2],HEAPU32[v+4>>2],HEAPU32[v+8>>2],HEAPU32[v+12>>2])}function _emscripten_glVertexAttribIPointer(index,size,type,stride,ptr){GLctx["vertexAttribIPointer"](index,size,type,stride,ptr)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}function _emscripten_glWaitSync(sync,flags,timeoutLo,timeoutHi){GLctx.waitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}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_pause_main_loop(){Browser.mainLoop.pause()}function abortOnCannotGrowMemory(requestedSize){abort("OOM")}function _emscripten_resize_heap(requestedSize){requestedSize=requestedSize>>>0;abortOnCannotGrowMemory(requestedSize)}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){var browserIterationFunc=function(){wasmTable.get(func)(arg)};setMainLoop(browserIterationFunc,fps,simulateInfiniteLoop,arg)}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}var GAI_ERRNO_MESSAGES={};function _gai_strerror(val){var buflen=256;if(!_gai_strerror.buffer){_gai_strerror.buffer=_malloc(buflen);GAI_ERRNO_MESSAGES["0"]="Success";GAI_ERRNO_MESSAGES[""+-1]="Invalid value for 'ai_flags' field";GAI_ERRNO_MESSAGES[""+-2]="NAME or SERVICE is unknown";GAI_ERRNO_MESSAGES[""+-3]="Temporary failure in name resolution";GAI_ERRNO_MESSAGES[""+-4]="Non-recoverable failure in name res";GAI_ERRNO_MESSAGES[""+-6]="'ai_family' not supported";GAI_ERRNO_MESSAGES[""+-7]="'ai_socktype' not supported";GAI_ERRNO_MESSAGES[""+-8]="SERVICE not supported for 'ai_socktype'";GAI_ERRNO_MESSAGES[""+-10]="Memory allocation failure";GAI_ERRNO_MESSAGES[""+-11]="System error returned in 'errno'";GAI_ERRNO_MESSAGES[""+-12]="Argument buffer overflow"}var msg="Unknown error";if(val in GAI_ERRNO_MESSAGES){if(GAI_ERRNO_MESSAGES[val].length>buflen-1){msg="Message too long"}else{msg=GAI_ERRNO_MESSAGES[val]}}writeAsciiToMemory(msg,_gai_strerror.buffer);return _gai_strerror.buffer}function _getaddrinfo(node,service,hint,out){var addr=0;var port=0;var flags=0;var family=0;var type=0;var proto=0;var ai;function allocaddrinfo(family,type,proto,canon,addr,port){var sa,salen,ai;var errno;salen=family===10?28:16;addr=family===10?__inet_ntop6_raw(addr):__inet_ntop4_raw(addr);sa=_malloc(salen);errno=__write_sockaddr(sa,family,addr,port);assert(!errno);ai=_malloc(32);HEAP32[ai+4>>2]=family;HEAP32[ai+8>>2]=type;HEAP32[ai+12>>2]=proto;HEAP32[ai+24>>2]=canon;HEAP32[ai+20>>2]=sa;if(family===10){HEAP32[ai+16>>2]=28}else{HEAP32[ai+16>>2]=16}HEAP32[ai+28>>2]=0;return ai}if(hint){flags=HEAP32[hint>>2];family=HEAP32[hint+4>>2];type=HEAP32[hint+8>>2];proto=HEAP32[hint+12>>2]}if(type&&!proto){proto=type===2?17:6}if(!type&&proto){type=proto===17?2:1}if(proto===0){proto=6}if(type===0){type=1}if(!node&&!service){return-2}if(flags&~(1|2|4|1024|8|16|32)){return-1}if(hint!==0&&HEAP32[hint>>2]&2&&!node){return-1}if(flags&32){return-2}if(type!==0&&type!==1&&type!==2){return-7}if(family!==0&&family!==2&&family!==10){return-6}if(service){service=UTF8ToString(service);port=parseInt(service,10);if(isNaN(port)){if(flags&1024){return-2}return-8}}if(!node){if(family===0){family=2}if((flags&1)===0){if(family===2){addr=_htonl(2130706433)}else{addr=[0,0,0,1]}}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}node=UTF8ToString(node);addr=__inet_pton4_raw(node);if(addr!==null){if(family===0||family===2){family=2}else if(family===10&&flags&8){addr=[0,0,_htonl(65535),addr];family=10}else{return-2}}else{addr=__inet_pton6_raw(node);if(addr!==null){if(family===0||family===10){family=10}else{return-2}}}if(addr!=null){ai=allocaddrinfo(family,type,proto,node,addr,port);HEAP32[out>>2]=ai;return 0}if(flags&4){return-2}node=DNS.lookup_name(node);addr=__inet_pton4_raw(node);if(family===0){family=2}else if(family===10){addr=[0,0,_htonl(65535),addr]}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}function getHostByName(name){var ret=_malloc(20);var nameBuf=_malloc(name.length+1);stringToUTF8(name,nameBuf,name.length+1);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){setErrNo(5);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}return getHostByName(host)}function _gethostbyname(name){return getHostByName(UTF8ToString(name))}function _getnameinfo(sa,salen,node,nodelen,serv,servlen,flags){var info=__read_sockaddr(sa,salen);if(info.errno){return-6}var port=info.port;var addr=info.addr;var overflowed=false;if(node&&nodelen){var lookup;if(flags&1||!(lookup=DNS.lookup_addr(addr))){if(flags&8){return-2}}else{addr=lookup}var numBytesWrittenExclNull=stringToUTF8(addr,node,nodelen);if(numBytesWrittenExclNull+1>=nodelen){overflowed=true}}if(serv&&servlen){port=""+port;var numBytesWrittenExclNull=stringToUTF8(port,serv,servlen);if(numBytesWrittenExclNull+1>=servlen){overflowed=true}}if(overflowed){return-12}return 0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glActiveTexture(x0){GLctx["activeTexture"](x0)}function _glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _glBindBuffer(target,buffer){if(target==35051){GLctx.currentPixelPackBufferBinding=buffer}else if(target==35052){GLctx.currentPixelUnpackBufferBinding=buffer}GLctx.bindBuffer(target,GL.buffers[buffer])}function _glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,GL.framebuffers[framebuffer])}function _glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,GL.renderbuffers[renderbuffer])}function _glBindTexture(target,texture){GLctx.bindTexture(target,GL.textures[texture])}function _glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _glBufferData(target,size,data,usage){if(GL.currentContext.version>=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _glClear(x0){GLctx["clear"](x0)}function _glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _glClearDepthf(x0){GLctx["clearDepth"](x0)}function _glClearStencil(x0){GLctx["clearStencil"](x0)}function _glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _glCullFace(x0){GLctx["cullFace"](x0)}function _glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _glDepthFunc(x0){GLctx["depthFunc"](x0)}function _glDepthMask(flag){GLctx.depthMask(!!flag)}function _glDisable(x0){GLctx["disable"](x0)}function _glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _glEnable(x0){GLctx["enable"](x0)}function _glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _glFlush(){GLctx["flush"]()}function _glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _glFrontFace(x0){GLctx["frontFace"](x0)}function _glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function _glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _glStencilMask(x0){GLctx["stencilMask"](x0)}function _glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniform4fv(GL.uniforms[location],view)}function _glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2);if(GL.currentContext.cannotHandleOffsetsInUniformArrayViews)view=new Float32Array(view)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}var GLFW={keyFunc:null,charFunc:null,markedTextFunc:null,gamepadFunc:null,mouseButtonFunc:null,mousePosFunc:null,mouseWheelFunc:null,resizeFunc:null,closeFunc:null,refreshFunc:null,focusFunc:null,iconifyFunc:null,touchFunc:null,params:null,initTime:null,wheelPos:0,buttons:0,keys:0,initWindowWidth:640,initWindowHeight:480,windowX:0,windowY:0,windowWidth:0,windowHeight:0,prevWidth:0,prevHeight:0,prevNonFSWidth:0,prevNonFSHeight:0,isFullscreen:false,isPointerLocked:false,dpi:1,mouseTouchId:null,DOMToGLFWKeyCode:function(keycode,code){switch(keycode){case 8:return 295;case 9:return 293;case 13:return 294;case 27:return 257;case 106:return 313;case 107:return 315;case 109:return 314;case 110:return 316;case 111:return 312;case 112:return 258;case 113:return 259;case 114:return 260;case 115:return 261;case 116:return 262;case 117:return 263;case 118:return 264;case 119:return 265;case 120:return 266;case 121:return 267;case 122:return 268;case 123:return 269;case 37:return 285;case 38:return 283;case 39:return 286;case 40:return 284;case 33:return 298;case 34:return 299;case 36:return 300;case 35:return 301;case 45:return 296;case 16:return 287;case 5:return 287;case 6:return 288;case 17:return 289;case 3:return 289;case 4:return 290;case 18:return 291;case 2:return 291;case 1:return 292;case 96:return 302;case 97:return 303;case 98:return 304;case 99:return 305;case 100:return 306;case 101:return 307;case 102:return 308;case 103:return 309;case 104:return 310;case 105:return 311}switch(code){case"Minus":return 45;case"Period":return 46;case"Comma":return 44;case"Slash":return 47;case"Backslash":return 92;case"IntlRo":return 92;case"IntlYen":return 92;case"IntlBackslash":return 92;case"Backquote":return 96;case"BracketLeft":return 91;case"BracketRight":return 93;case"Equal":return 61;case"Quote":return 39;case"Semicolon":return 59;case"NumpadComma":return 316}return keycode},DOMtoGLFWButton:function(button){if(button==1){button=2}else if(button==2){button=1}return button},getUnicodeChar:function(value){var output="";if(value>65535){value-=65536;output+=String.fromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=String.fromCharCode(value);return output},addEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.addEventListener(type,listener,useCapture)}},removeEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.removeEventListener(type,listener,useCapture)}},addEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].addEventListener(type,listener,useCapture)}},removeEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].removeEventListener(type,listener,useCapture)}},isCanvasActive:function(event){var res=typeof document.activeElement=="undefined"||document.activeElement==Module["canvas"];if(!res){res=event.target==Module["canvas"]}if(event.target.focus)event.target.focus();return res},onKeyPress:function(event){if(!GLFW.isCanvasActive(event)){return}if(event.charCode){var char=GLFW.getUnicodeChar(event.charCode);if(char!==null&&GLFW.charFunc){wasmTable.get(GLFW.charFunc)(event.charCode,1)}}},onKeyChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}var key=GLFW.DOMToGLFWKeyCode(event.keyCode,event.code);if(key){GLFW.keys[key]=status;if(GLFW.keyFunc){wasmTable.get(GLFW.keyFunc)(key,status)}}},onKeydown:function(event){if(!GLFW.isCanvasActive(event)){return}switch(event.keyCode){case 37:case 38:case 39:case 40:case 32:event.preventDefault();event.stopPropagation();default:break}GLFW.onKeyChanged(event,1);if(event.keyCode===32){if(GLFW.charFunc){wasmTable.get(GLFW.charFunc)(32,1);event.preventDefault()}}else if(event.keyCode===8||event.keyCode===9||event.keyCode===13){event.preventDefault()}},onKeyup:function(event){if(!GLFW.isCanvasActive(event)){return}GLFW.onKeyChanged(event,0)},onMousemove:function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(event.target==Module["canvas"]&&GLFW.mousePosFunc){event.preventDefault();wasmTable.get(GLFW.mousePosFunc)(lastX,lastY)}},onMouseButtonChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}if(GLFW.mouseButtonFunc==null){return}Browser.calculateMouseEvent(event);if(event.target!=Module["canvas"]){return}if(status==1){try{event.target.setCapture()}catch(e){}}event.preventDefault();var eventButton=GLFW.DOMtoGLFWButton(event["button"]);wasmTable.get(GLFW.mouseButtonFunc)(eventButton,status)},fillTouch:function(id,x,y,phase){if(GLFW.touchFunc){wasmTable.get(GLFW.touchFunc)(id,x,y,phase)}},touchWasFinished:function(event,phase){if(!GLFW.isCanvasActive(event)){return}for(var i=0;i0}function _glfwGetMouseLocked(){return GLFW.isPointerLocked?1:0}function _glfwGetMousePos(xpos,ypos){setValue(xpos,Browser.mouseX,"i32");setValue(ypos,Browser.mouseY,"i32")}function _glfwGetMouseWheel(){return GLFW.wheelPos}function _glfwGetProcAddress(procname){return _getProcAddress(procname)}function _glfwGetWindowParam(param){return GLFW.params[param]}function _glfwGetWindowRefreshRate(){return 0}function _glfwGetWindowSize(width,height){setValue(width,Module["canvas"].width,"i32");setValue(height,Module["canvas"].height,"i32")}function _glfwIconifyWindow(){}function _glfwInitJS(){GLFW.initTime=Date.now()/1e3;GLFW.addEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.addEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.addEventListener("keydown",GLFW.onKeydown,true);GLFW.addEventListener("keypress",GLFW.onKeyPress,true);GLFW.addEventListener("keyup",GLFW.onKeyup,true);GLFW.addEventListener("mousemove",GLFW.onMousemove,true);GLFW.addEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.addEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.addEventListener("DOMMouseScroll",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.addEventListener("mousewheel",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.addEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.addEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.addEventListenerCanvas("touchcancel",GLFW.onTouchCancel,true);GLFW.addEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.addEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.addEventListenerCanvas("blur",GLFW.onBlur,true);__ATEXIT__.push({func:function(){GLFW.removeEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.removeEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.removeEventListener("keydown",GLFW.onKeydown,true);GLFW.removeEventListener("keypress",GLFW.onKeyPress,true);GLFW.removeEventListener("keyup",GLFW.onKeyup,true);GLFW.removeEventListener("mousemove",GLFW.onMousemove,true);GLFW.removeEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.removeEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.removeEventListener("DOMMouseScroll",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.removeEventListener("mousewheel",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.removeEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.removeEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchcancel",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.removeEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.removeEventListenerCanvas("blur",GLFW.onBlur,true);var canvas=Module["canvas"];if(typeof canvas!=="undefined"){Module["canvas"].width=Module["canvas"].height=1}}});GLFW.params=new Array;GLFW.params[196609]=true;GLFW.params[196610]=false;GLFW.params[196611]=true;GLFW.params[196612]=false;GLFW.params[196613]=false;GLFW.params[196614]=true;GLFW.params[131073]=true;GLFW.params[131074]=true;GLFW.params[131075]=false;GLFW.params[131076]=true;GLFW.params[131077]=0;GLFW.params[131078]=0;GLFW.params[131079]=0;GLFW.params[131080]=0;GLFW.params[131081]=0;GLFW.params[131082]=0;GLFW.params[131083]=0;GLFW.params[131084]=0;GLFW.params[131085]=0;GLFW.params[131086]=0;GLFW.params[131087]=0;GLFW.params[131088]=0;GLFW.params[131089]=0;GLFW.params[131090]=0;GLFW.params[131091]=0;GLFW.params[131092]=0;GLFW.params[131093]=0;GLFW.params[131094]=0;GLFW.params[131095]=0;GLFW.params[131096]=0;GLFW.params[327681]=0;GLFW.params[327682]=1;GLFW.params[327683]=2;GLFW.params[131097]=0;GLFW.keys=new Array;GLFW.GLFW_PHASE_BEGAN=0;GLFW.GLFW_PHASE_MOVED=1;GLFW.GLFW_PHASE_ENDED=3;GLFW.GLFW_PHASE_CANCELLED=4;return 1}function _glfwOpenWindow(width,height,redbits,greenbits,bluebits,alphabits,depthbits,stencilbits,mode){if(width==0&&height>0){width=4*height/3}if(width>0&&height==0){height=3*width/4}GLFW.params[131077]=redbits;GLFW.params[131078]=greenbits;GLFW.params[131079]=bluebits;GLFW.params[131080]=alphabits;GLFW.params[131081]=depthbits;GLFW.params[131082]=stencilbits;if(mode==65537){GLFW.initWindowWidth=width;GLFW.initWindowHeight=height;GLFW.params[196611]=true}else if(mode==65538){GLFW.requestFullScreen();GLFW.params[196611]=false}else{throw"Invalid glfwOpenWindow mode."}var contextAttributes={antialias:GLFW.params[131091]>1,depth:GLFW.params[131081]>0,stencil:GLFW.params[131082]>0};var iOSVersion=false;try{iOSVersion=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||false}catch(e){}if(iOSVersion&&iOSVersion<15.2){contextAttributes.majorVersion=1}Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);if(Module.ctx==null){contextAttributes.majorVersion=1;Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes)}return 1}function _glfwOpenWindowHint(target,hint){GLFW.params[target]=hint;if(target==131097){if(hint!=0){GLFW.dpi=window.devicePixelRatio||1}}}function _glfwPollEvents(){}function _glfwResetKeyboard(){}function _glfwSetCharCallback(cbfun){GLFW.charFunc=cbfun;return 1}function _glfwSetDeviceChangedCallback(cbfun){return 1}function _glfwSetGamepadCallback(cbfun){GLFW.gamepadFunc=cbfun;GLFW.refreshJoysticks();return 1}function _glfwSetMarkedTextCallback(cbfun){GLFW.markedTextFunc=cbfun;return 1}function _glfwSetTouchCallback(cbfun){GLFW.touchFunc=cbfun;return 1}function _glfwSetWindowBackgroundColor(){}function _glfwSetWindowCloseCallback(cbfun){GLFW.closeFunc=cbfun}function _glfwSetWindowFocusCallback(cbfun){GLFW.focusFunc=cbfun}function _glfwSetWindowIconifyCallback(cbfun){GLFW.iconifyFunc=cbfun}function _glfwSetWindowSize(width,height){Browser.setCanvasSize(width,height);if(GLFW.resizeFunc){wasmTable.get(GLFW.resizeFunc)(width,height)}}function _glfwSetWindowSizeCallback(cbfun){GLFW.resizeFunc=cbfun}function _glfwShowKeyboard(show_keyboard){Module["canvas"].contentEditable=show_keyboard?true:false;if(show_keyboard){Module["canvas"].focus()}}function _glfwSwapBuffers(){var width=Module["canvas"].width;var height=Module["canvas"].height;if(GLFW.prevWidth!=width||GLFW.prevHeight!=height){if(GLFW.isFullscreen){width=Math.floor(window.innerWidth*GLFW.dpi);height=Math.floor(window.innerHeight*GLFW.dpi)}else{width=Math.floor(width*GLFW.dpi);height=Math.floor(height*GLFW.dpi)}GLFW.prevWidth=width;GLFW.prevHeight=height;_glfwSetWindowSize(width,height)}}function _glfwSwapInterval(interval){}function _glfwTerminate(){}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _pthread_create(){return 6}function _pthread_join(){return 28}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}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 janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=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"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=HEAPU8.length;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _system(command){if(ENVIRONMENT_IS_NODE){if(!command)return 1;var cmdstr=UTF8ToString(command);if(!cmdstr.length)return 0;var cp=require("child_process");var ret=cp.spawnSync(cmdstr,[],{shell:true,stdio:"inherit"});var _W_EXITCODE=function(ret,sig){return ret<<8|sig};if(ret.status===null){var signalToNumber=function(sig){switch(sig){case"SIGHUP":return 1;case"SIGINT":return 2;case"SIGQUIT":return 3;case"SIGFPE":return 8;case"SIGKILL":return 9;case"SIGALRM":return 14;case"SIGTERM":return 15}return 2};return _W_EXITCODE(0,signalToNumber(ret.signal))}return _W_EXITCODE(ret.status,0)}if(!command)return 0;setErrNo(6);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){var double=ch<105;if(double&&buf&1)buf++;readAsmConstArgsArray.push(double?HEAPF64[buf++>>1]:HEAP32[buf]);++buf}return readAsmConstArgsArray}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var GLctx;for(var i=0;i<32;++i)tempFixedLengthArray.push(new Array(i));var miniTempWebGLFloatBuffersStorage=new Float32Array(288);for(var i=0;i<288;++i){miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i+1)}var __miniTempWebGLIntBuffersStorage=new Int32Array(288);for(var i=0;i<288;++i){__miniTempWebGLIntBuffers[i]=__miniTempWebGLIntBuffersStorage.subarray(0,i+1)}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(i>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(shouldRunNow)callMain(args);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){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run(); diff --git a/docs/druid/druid_wasm.js b/docs/druid/druid_wasm.js index 38ede9af..63b4fda7 100644 --- a/docs/druid/druid_wasm.js +++ b/docs/druid/druid_wasm.js @@ -1 +1 @@ -var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else 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.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;return Math.ceil(size/factor)*factor}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}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 allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeStringToMemory(string,buffer,dontAddNull){warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}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}function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}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"]||33554432;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 __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();SOCKFS.root=FS.mount(SOCKFS,{},null);callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}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 addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}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+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="dmengine.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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"]["Ah"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}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{}}var tempDouble;var tempI64;var ASM_CONSTS={1269:function(){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){console.log("%c %c Made with Defold %c %c https://www.defold.com","background: #fd6623; padding:5px 0; border: 5px;","background: #272c31; color: #fafafa; padding:5px 0;","background: #39a3e4; padding:5px 0;","background: #ffffff; color: #000000; padding:5px 0;")}else{console.log("Made with Defold -=[ https://www.defold.com ]=-")}},113620:function($0){var jsResult;var isSuccess=1;try{jsResult=eval(UTF8ToString($0))}catch(err){isSuccess=0;jsResult=err}_dmScript_Html5ReportOperationSuccess(isSuccess);jsResult+="";var lengthBytes=lengthBytesUTF8(jsResult)+1;var stringOnWasmHeap=_malloc(lengthBytes);stringToUTF8(jsResult,stringOnWasmHeap,lengthBytes);return stringOnWasmHeap}};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){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function demangle(func){return func}function demangleAll(text){var regex=/\b_Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var error=new Error;if(!error.stack){try{throw new Error}catch(e){error=e}if(!error.stack){return"(no stack trace available)"}}return error.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else _emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function ___localtime_r(a0,a1){return _localtime_r(a0,a1)}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){var alignedSize=alignMemory(size,16384);var ptr=_malloc(alignedSize);while(size=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){FS.forceLoadFile(node);var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys__newselect(nfds,readfds,writefds,exceptfds,timeout){try{var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);var check=function(fd,low,high,val){return fd<32?low&val:high&val};for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup2(oldfd,suggestFD){try{var old=SYSCALLS.getStreamFromFD(oldfd);if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup3(fd,suggestFD,flags){try{var old=SYSCALLS.getStreamFromFD(fd);if(old.fd===suggestFD)return-28;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=varargs?SYSCALLS.get():0;var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_poll(fds,nfds,timeout){try{var nonzero=0;for(var i=0;i>2];var events=HEAP16[pollfd+4>>1];var mask=32;var stream=FS.getStream(fd);if(stream){mask=SYSCALLS.DEFAULT_POLLMASK;if(stream.stream_ops.poll){mask=stream.stream_ops.poll(stream)}}mask&=events|8|16;if(mask)nonzero++;HEAP16[pollfd+6>>1]=mask}return nonzero}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var SOCKFS={mount:function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this};Module["websocket"].emit=function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}};return FS.createNode(null,"/",16384|511,0)},createSocket:function(family,type,protocol){type&=~526336;var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:2,seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock},getSocket:function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock},stream_ops:{poll:function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)},ioctl:function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)},read:function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length},write:function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)},close:function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)}},nextname:function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}var opts=undefined;if(subProtocols!=="null"){subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols}if(runtimeConfig&&null===Module["websocket"]["subprotocol"]){subProtocols="null";opts=undefined}var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer},getPeer:function(sock,addr,port){return sock.peers[addr+":"+port]},addPeer:function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer},removePeer:function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]},handlePeerEvents:function(sock,peer){var first=true;var handleOpen=function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}};function handleMessage(data){if(typeof data==="string"){var encoder=new TextEncoder;data=encoder.encode(data)}else{assert(data.byteLength!==undefined);if(data.byteLength==0){return}else{data=new Uint8Array(data)}}var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",function(data,flags){if(!flags.binary){return}handleMessage(new Uint8Array(data).buffer)});peer.socket.on("close",function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.on("error",function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}else{peer.socket.onopen=handleOpen;peer.socket.onclose=function(){Module["websocket"].emit("close",sock.stream.fd)};peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}}},poll:function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask},ioctl:function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}},close:function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}function jstoi_q(str){return parseInt(str)}function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAPU16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:28}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:28}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:5}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port,addrlen){switch(family){case 2:addr=__inet_pton4_raw(addr);if(addrlen){HEAP32[addrlen>>2]=16}HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);if(addrlen){HEAP32[addrlen>>2]=28}HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return 5}return 0}function ___sys_socketcall(call,socketvararg){try{SYSCALLS.varargs=socketvararg;var getSocketFromFD=function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(8);return socket};var getSocketAddress=function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info};switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);return sock.stream.fd}case 2:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0}case 3:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0}case 4:{var sock=getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0}case 5:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var errno=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport,addrlen)}return newsock.stream.fd}case 6:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport,addrlen);return 0}case 7:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-53}var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport,addrlen);return 0}case 11:{var sock=getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}}case 12:{var sock=getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port,addrlen)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength}case 14:{return-50}case 15:{var sock=getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-50}case 16:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)}case 17:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var errno=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead}default:{return-52}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_uname(buf){try{if(!buf)return-21;var layout={"__size__":390,"domainname":325,"machine":260,"nodename":65,"release":130,"sysname":0,"version":195};var copyString=function(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)};copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _difftime(time1,time0){return time1-time0}var DefoldSoundDevice={TryResumeAudio:function(){var audioCtx=window._dmJSDeviceShared.audioCtx;if(audioCtx!==undefined&&audioCtx.state!="running"){audioCtx.resume()}}};function _dmDeviceJSFreeBufferSlots(id){return window._dmJSDeviceShared.devices[id]._freeBufferSlots()}function _dmDeviceJSOpen(bufferCount){var shared=window._dmJSDeviceShared;if(shared===undefined){shared={count:0,devices:{}};window._dmJSDeviceShared=shared}var id=shared.count++;var device;if(window.AudioContext||window.webkitAudioContext){if(shared.audioCtx===undefined){shared.audioCtx=new(window.AudioContext||window.webkitAudioContext)}device={sampleRate:shared.audioCtx.sampleRate,bufferedTo:0,bufferDuration:0,_queue:function(samples,sample_count){var buf=shared.audioCtx.createBuffer(2,sample_count,this.sampleRate);var c0=buf.getChannelData(0);var c1=buf.getChannelData(1);for(var i=0;i0){xhr.timeout=timeout/1e3}var headersArray=UTF8ToString(headers).split("\n");for(var i=0;i0){xhr.send(HEAPU8.subarray(send_data,send_data+send_data_length))}else{xhr.send()}}var DMSYS={_folder:"/data",_cstr:null,GetUserPersistentDataRoot:function(){if(typeof window!=="undefined")return DMSYS._folder;else return""},PumpMessageQueue:function(){if(typeof window==="undefined"){var uvrun=require("uvrun");uvrun.runOnce()}}};function _dmSysGetApplicationPath(){var path=location.href.substring(0,location.href.lastIndexOf("/"));var lengthBytes=lengthBytesUTF8(path)+1;var buffer=_malloc(lengthBytes);Module.stringToUTF8(path,buffer,lengthBytes);return buffer}function _dmSysGetUserAgent(){var useragent=navigator.userAgent;var buffer=_malloc(useragent.length+1);Module.stringToUTF8(useragent,buffer,useragent.length+1);return buffer}function _dmSysGetUserPersistentDataRoot(){if(null==DMSYS._cstr){var str=DMSYS.GetUserPersistentDataRoot();DMSYS._cstr=_malloc(str.length+1);Module.stringToUTF8(str,DMSYS._cstr,str.length+1)}return DMSYS._cstr}function _dmSysGetUserPreferredLanguage(defaultlang){var jsdefault=UTF8ToString(defaultlang);var preferred=navigator==undefined?jsdefault:navigator.languages?navigator.languages[0]||jsdefault:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||jsdefault;var buffer=_malloc(preferred.length+1);Module.stringToUTF8(preferred,buffer,preferred.length+1);return buffer}var JSEvents={inEventHandler:0,removeAllEventListeners:function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}JSEvents.eventHandlers=[];JSEvents.deferredCalls=[]},registerRemoveEventListeners:function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push(JSEvents.removeAllEventListeners);JSEvents.removeEventListenersRegistered=true}},deferredCalls:[],deferCall:function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort(function(x,y){return x.precedence0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;setMainLoop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:typeof WebGL2RenderingContext!=="undefined"?2:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]:-1;source+=UTF8ToString(HEAP32[string+i*4>>2],len<0?undefined:len)}return source},createContext:function(canvas,webGLContextAttributes){var ctx=webGLContextAttributes.majorVersion>1?canvas.getContext("webgl2",webGLContextAttributes):canvas.getContext("webgl",webGLContextAttributes);if(!ctx)return 0;var handle=GL.registerContext(ctx,webGLContextAttributes);return handle},registerContext:function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes.majorVersion,GLctx:ctx};if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes.enableExtensionsByDefault==="undefined"||webGLContextAttributes.enableExtensionsByDefault){GL.initExtensions(context)}return handle},makeContextCurrent:function(contextHandle){GL.currentContext=GL.contexts[contextHandle];Module.ctx=GLctx=GL.currentContext&&GL.currentContext.GLctx;return!(contextHandle&&!GLctx)},getContext:function(contextHandle){return GL.contexts[contextHandle]},deleteContext:function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null},initExtensions:function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;__webgl_enable_ANGLE_instanced_arrays(GLctx);__webgl_enable_OES_vertex_array_object(GLctx);__webgl_enable_WEBGL_draw_buffers(GLctx);__webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(GLctx);__webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(GLctx);GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");__webgl_enable_WEBGL_multi_draw(GLctx);var exts=GLctx.getSupportedExtensions()||[];exts.forEach(function(ext){if(ext.indexOf("lose_context")<0&&ext.indexOf("debug")<0){GLctx.getExtension(ext)}})},populateUniformTable:function(program){var p=GL.programs[program];var ptable=GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1,maxUniformBlockNameLength:-1};var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,35718);for(var i=0;i=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _emscripten_glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearBufferfi(x0,x1,x2,x3){GLctx["clearBufferfi"](x0,x1,x2,x3)}function _emscripten_glClearBufferfv(buffer,drawbuffer,value){GLctx["clearBufferfv"](buffer,drawbuffer,HEAPF32,value>>2)}function _emscripten_glClearBufferiv(buffer,drawbuffer,value){GLctx["clearBufferiv"](buffer,drawbuffer,HEAP32,value>>2)}function _emscripten_glClearBufferuiv(buffer,drawbuffer,value){GLctx["clearBufferuiv"](buffer,drawbuffer,HEAPU32,value>>2)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function convertI32PairToI53(lo,hi){return(lo>>>0)+hi*4294967296}function _emscripten_glClientWaitSync(sync,flags,timeoutLo,timeoutHi){return GLctx.clientWaitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _emscripten_glCopyBufferSubData(x0,x1,x2,x3,x4){GLctx["copyBufferSubData"](x0,x1,x2,x3,x4)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage3D(x0,x1,x2,x3,x4,x5,x6,x7,x8){GLctx["copyTexSubImage3D"](x0,x1,x2,x3,x4,x5,x6,x7,x8)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDeleteQueries(n,ids){for(var i=0;i>2];var query=GL.queries[id];if(!query)continue;GLctx["deleteQuery"](query);GL.queries[id]=null}}function _emscripten_glDeleteQueriesEXT(n,ids){for(var i=0;i>2];var query=GL.timerQueriesEXT[id];if(!query)continue;GLctx.disjointTimerQueryExt["deleteQueryEXT"](query);GL.timerQueriesEXT[id]=null}}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _emscripten_glDeleteSamplers(n,samplers){for(var i=0;i>2];var sampler=GL.samplers[id];if(!sampler)continue;GLctx["deleteSampler"](sampler);sampler.name=0;GL.samplers[id]=null}}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _emscripten_glDeleteSync(id){if(!id)return;var sync=GL.syncs[id];if(!sync){GL.recordError(1281);return}GLctx.deleteSync(sync);sync.name=0;GL.syncs[id]=null}function _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteTransformFeedbacks(n,ids){for(var i=0;i>2];var transformFeedback=GL.transformFeedbacks[id];if(!transformFeedback)continue;GLctx["deleteTransformFeedback"](transformFeedback);transformFeedback.name=0;GL.transformFeedbacks[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDeleteVertexArraysOES(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedANGLE(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedARB(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedEXT(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedNV(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}var tempFixedLengthArray=[];function _emscripten_glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersEXT(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersWEBGL(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedANGLE(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedARB(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedEXT(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedNV(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawRangeElements(mode,start,end,count,type,indices){_glDrawElements(mode,count,type,indices)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glEndQuery(x0){GLctx["endQuery"](x0)}function _emscripten_glEndQueryEXT(target){GLctx.disjointTimerQueryExt["endQueryEXT"](target)}function _emscripten_glEndTransformFeedback(){GLctx["endTransformFeedback"]()}function _emscripten_glFenceSync(condition,flags){var sync=GLctx.fenceSync(condition,flags);if(sync){var id=GL.getNewId(GL.syncs);sync.name=id;GL.syncs[id]=sync;return id}else{return 0}}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFramebufferTextureLayer(target,attachment,texture,level,layer){GLctx.framebufferTextureLayer(target,attachment,GL.textures[texture],level,layer)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function __glGenObject(n,buffers,createFunction,objectTable){for(var i=0;i>2]=id}}function _emscripten_glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _emscripten_glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _emscripten_glGenQueries(n,ids){__glGenObject(n,ids,"createQuery",GL.queries)}function _emscripten_glGenQueriesEXT(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.timerQueriesEXT);query.name=id;GL.timerQueriesEXT[id]=query;HEAP32[ids+i*4>>2]=id}}function _emscripten_glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _emscripten_glGenSamplers(n,samplers){__glGenObject(n,samplers,"createSampler",GL.samplers)}function _emscripten_glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _emscripten_glGenTransformFeedbacks(n,ids){__glGenObject(n,ids,"createTransformFeedback",GL.transformFeedbacks)}function _emscripten_glGenVertexArrays(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenVertexArraysOES(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function __glGetActiveAttribOrUniform(funcName,program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx[funcName](program,index);if(info){var numBytesWrittenExclNull=name&&stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull;if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniformBlockName(program,uniformBlockIndex,bufSize,length,uniformBlockName){program=GL.programs[program];var result=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);if(!result)return;if(uniformBlockName&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(result,uniformBlockName,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetActiveUniformBlockiv(program,uniformBlockIndex,pname,params){if(!params){GL.recordError(1281);return}program=GL.programs[program];switch(pname){case 35393:var name=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);HEAP32[params>>2]=name.length+1;return;default:var result=GLctx["getActiveUniformBlockParameter"](program,uniformBlockIndex,pname);if(!result)return;if(typeof result=="number"){HEAP32[params>>2]=result}else{for(var i=0;i>2]=result[i]}}}}function _emscripten_glGetActiveUniformsiv(program,uniformCount,uniformIndices,pname,params){if(!params){GL.recordError(1281);return}if(uniformCount>0&&uniformIndices==0){GL.recordError(1281);return}program=GL.programs[program];var ids=[];for(var i=0;i>2])}var result=GLctx["getActiveUniforms"](program,ids,pname);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _emscripten_glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function writeI53ToI64(ptr,num){HEAPU32[ptr>>2]=num;HEAPU32[ptr+4>>2]=(num-HEAPU32[ptr>>2])/4294967296}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=0&&type!=1){GL.recordError(1280)}return;case 34814:case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats?formats.length:0;break;case 33309:if(GL.currentContext.version<2){GL.recordError(1282);return}var exts=GLctx.getSupportedExtensions()||[];ret=2*exts.length;break;case 33307:case 33308:if(GL.currentContext.version<2){GL.recordError(1280);return}ret=name_==33307?3:0;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:{ret=0;break}default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case 2:HEAPF32[p+i*4>>2]=result[i];break;case 4:HEAP8[p+i>>0]=result[i]?1:0;break}}return}else{try{ret=result.name|0}catch(e){GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Unknown object returned from WebGL getParameter("+name_+")! (error: "+e+")");return}}break;default:GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Native code calling glGet"+type+"v("+name_+") and it returns "+result+" of type "+typeof result+"!");return}}switch(type){case 1:writeI53ToI64(p,ret);break;case 0:HEAP32[p>>2]=ret;break;case 2:HEAPF32[p>>2]=ret;break;case 4:HEAP8[p>>0]=ret?1:0;break}}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,4)}function _emscripten_glGetBufferParameteri64v(target,value,data){if(!data){GL.recordError(1281);return}writeI53ToI64(data,GLctx.getBufferParameter(target,value))}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _emscripten_glGetFragDataLocation(program,name){return GLctx["getFragDataLocation"](GL.programs[program],UTF8ToString(name))}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);if(result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){result=result.name|0}HEAP32[params>>2]=result}function emscriptenWebGLGetIndexed(target,index,data,type){if(!data){GL.recordError(1281);return}var result=GLctx["getIndexedParameter"](target,index);var ret;switch(typeof result){case"boolean":ret=result?1:0;break;case"number":ret=result;break;case"object":if(result===null){switch(target){case 35983:case 35368:ret=0;break;default:{GL.recordError(1280);return}}}else if(result instanceof WebGLBuffer){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}switch(type){case 1:writeI53ToI64(data,ret);break;case 0:HEAP32[data>>2]=ret;break;case 2:HEAPF32[data>>2]=ret;break;case 4:HEAP8[data>>0]=ret?1:0;break;default:throw"internal emscriptenWebGLGetIndexed() error, bad type: "+type}}function _emscripten_glGetInteger64i_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,1)}function _emscripten_glGetInteger64v(name_,p){emscriptenWebGLGet(name_,p,1)}function _emscripten_glGetIntegeri_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,0)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _emscripten_glGetInternalformativ(target,internalformat,pname,bufSize,params){if(bufSize<0){GL.recordError(1281);return}if(!params){GL.recordError(1281);return}var ret=GLctx["getInternalformatParameter"](target,internalformat,pname);if(ret===null)return;for(var i=0;i>2]=ret[i]}}function _emscripten_glGetProgramBinary(program,bufSize,length,binaryFormat,binary){GL.recordError(1282)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetQueryObjecti64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectui64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectuiv(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.queries[id];var param=GLctx["getQueryParameter"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectuivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryiv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx["getQuery"](target,pname)}function _emscripten_glGetQueryivEXT(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.disjointTimerQueryExt["getQueryEXT"](target,pname)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetSamplerParameterfv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAPF32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetSamplerParameteriv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAP32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;var numBytesWrittenExclNull=bufSize>0&&source?stringToUTF8(result,source,bufSize):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function stringToNewUTF8(jsString){var length=lengthBytesUTF8(jsString)+1;var cString=_malloc(length);stringToUTF8(jsString,cString,length);return cString}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _emscripten_glGetStringi(name,index){if(GL.currentContext.version<2){GL.recordError(1282);return 0}var stringiCache=GL.stringiCache[name];if(stringiCache){if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index]}switch(name){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));exts=exts.map(function(e){return stringToNewUTF8(e)});stringiCache=GL.stringiCache[name]=exts;if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index];default:GL.recordError(1280);return 0}}function _emscripten_glGetSynciv(sync,pname,bufSize,length,values){if(bufSize<0){GL.recordError(1281);return}if(!values){GL.recordError(1281);return}var ret=GLctx.getSyncParameter(GL.syncs[sync],pname);HEAP32[length>>2]=ret;if(ret!==null&&length)HEAP32[length>>2]=1}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTransformFeedbackVarying(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx["getTransformFeedbackVarying"](program,index);if(!info)return;if(name&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetUniformBlockIndex(program,uniformBlockName){return GLctx["getUniformBlockIndex"](GL.programs[program],UTF8ToString(uniformBlockName))}function _emscripten_glGetUniformIndices(program,uniformCount,uniformNames,uniformIndices){if(!uniformIndices){GL.recordError(1281);return}if(uniformCount>0&&(uniformNames==0||uniformIndices==0)){GL.recordError(1281);return}program=GL.programs[program];var names=[];for(var i=0;i>2]));var result=GLctx["getUniformIndices"](program,names);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex>2]=data;break;case 2:HEAPF32[params>>2]=data;break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,2)}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function _emscripten_glGetUniformuiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data&&data["name"]}else if(typeof data=="number"||typeof data=="boolean"){switch(type){case 0:HEAP32[params>>2]=data;break;case 2:HEAPF32[params>>2]=data;break;case 5:HEAP32[params>>2]=Math.fround(data);break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break;case 5:HEAP32[params+i*4>>2]=Math.fround(data[i]);break}}}}function _emscripten_glGetVertexAttribIiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribIuiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,2)}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,5)}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glInvalidateFramebuffer(target,numAttachments,attachments){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateFramebuffer"](target,list)}function _emscripten_glInvalidateSubFramebuffer(target,numAttachments,attachments,x,y,width,height){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateSubFramebuffer"](target,list,x,y,width,height)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsQuery(id){var query=GL.queries[id];if(!query)return 0;return GLctx["isQuery"](query)}function _emscripten_glIsQueryEXT(id){var query=GL.timerQueriesEXT[id];if(!query)return 0;return GLctx.disjointTimerQueryExt["isQueryEXT"](query)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsSampler(id){var sampler=GL.samplers[id];if(!sampler)return 0;return GLctx["isSampler"](sampler)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsSync(sync){return GLctx.isSync(GL.syncs[sync])}function _emscripten_glIsTexture(id){var texture=GL.textures[id];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsTransformFeedback(id){return GLctx["isTransformFeedback"](GL.transformFeedbacks[id])}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glIsVertexArrayOES(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.populateUniformTable(program)}function _emscripten_glPauseTransformFeedback(){GLctx["pauseTransformFeedback"]()}function _emscripten_glPixelStorei(pname,param){if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}function _emscripten_glProgramBinary(program,binaryFormat,binary,length){GL.recordError(1280)}function _emscripten_glProgramParameteri(program,pname,value){GL.recordError(1280)}function _emscripten_glQueryCounterEXT(id,target){GLctx.disjointTimerQueryExt["queryCounterEXT"](GL.timerQueriesEXT[id],target)}function _emscripten_glReadBuffer(x0){GLctx["readBuffer"](x0)}function computeUnpackAlignedImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return x+y-1&-y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height*alignedRowSize}function __colorChannelsInGlTextureFormat(format){var colorChannels={5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4};return colorChannels[format-6402]||1}function heapObjectForWebGLType(type){type-=5120;if(type==0)return HEAP8;if(type==1)return HEAPU8;if(type==2)return HEAP16;if(type==4)return HEAP32;if(type==6)return HEAPF32;if(type==5||type==28922||type==28520||type==30779||type==30782)return HEAPU32;return HEAPU16}function heapAccessShiftForWebGLHeap(heap){return 31-Math.clz32(heap.BYTES_PER_ELEMENT)}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var heap=heapObjectForWebGLType(type);var shift=heapAccessShiftForWebGLHeap(heap);var byteSize=1<>shift,pixels+bytes>>shift)}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRenderbufferStorageMultisample(x0,x1,x2,x3,x4){GLctx["renderbufferStorageMultisample"](x0,x1,x2,x3,x4)}function _emscripten_glResumeTransformFeedback(){GLctx["resumeTransformFeedback"]()}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glSamplerParameterf(sampler,pname,param){GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameterfv(sampler,pname,params){var param=HEAPF32[params>>2];GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteri(sampler,pname,param){GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteriv(sampler,pname,params){var param=HEAP32[params>>2];GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _emscripten_glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexStorage2D(x0,x1,x2,x3,x4){GLctx["texStorage2D"](x0,x1,x2,x3,x4)}function _emscripten_glTexStorage3D(x0,x1,x2,x3,x4,x5){GLctx["texStorage3D"](x0,x1,x2,x3,x4,x5)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _emscripten_glTransformFeedbackVaryings(program,count,varyings,bufferMode){program=GL.programs[program];var vars=[];for(var i=0;i>2]));GLctx["transformFeedbackVaryings"](program,vars,bufferMode)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}var miniTempWebGLFloatBuffers=[];function _emscripten_glUniform1fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1fv(GL.uniforms[location],HEAPF32,value>>2,count);return}if(count<=288){var view=miniTempWebGLFloatBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}var __miniTempWebGLIntBuffers=[];function _emscripten_glUniform1iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1iv(GL.uniforms[location],HEAP32,value>>2,count);return}if(count<=288){var view=__miniTempWebGLIntBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAP32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1iv(GL.uniforms[location],view)}function _emscripten_glUniform1ui(location,v0){GLctx.uniform1ui(GL.uniforms[location],v0)}function _emscripten_glUniform1uiv(location,count,value){GLctx.uniform1uiv(GL.uniforms[location],HEAPU32,value>>2,count)}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2fv(GL.uniforms[location],HEAPF32,value>>2,count*2);return}if(count<=144){var view=miniTempWebGLFloatBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2iv(GL.uniforms[location],HEAP32,value>>2,count*2);return}if(count<=144){var view=__miniTempWebGLIntBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2iv(GL.uniforms[location],view)}function _emscripten_glUniform2ui(location,v0,v1){GLctx.uniform2ui(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2uiv(location,count,value){GLctx.uniform2uiv(GL.uniforms[location],HEAPU32,value>>2,count*2)}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3fv(GL.uniforms[location],HEAPF32,value>>2,count*3);return}if(count<=96){var view=miniTempWebGLFloatBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3iv(GL.uniforms[location],HEAP32,value>>2,count*3);return}if(count<=96){var view=__miniTempWebGLIntBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3iv(GL.uniforms[location],view)}function _emscripten_glUniform3ui(location,v0,v1,v2){GLctx.uniform3ui(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3uiv(location,count,value){GLctx.uniform3uiv(GL.uniforms[location],HEAPU32,value>>2,count*3)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4iv(GL.uniforms[location],HEAP32,value>>2,count*4);return}if(count<=72){var view=__miniTempWebGLIntBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2];view[i+3]=HEAP32[value+(4*i+12)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4iv(GL.uniforms[location],view)}function _emscripten_glUniform4ui(location,v0,v1,v2,v3){GLctx.uniform4ui(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4uiv(location,count,value){GLctx.uniform4uiv(GL.uniforms[location],HEAPU32,value>>2,count*4)}function _emscripten_glUniformBlockBinding(program,uniformBlockIndex,uniformBlockBinding){program=GL.programs[program];GLctx["uniformBlockBinding"](program,uniformBlockIndex,uniformBlockBinding)}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix2x3fv(location,count,transpose,value){GLctx.uniformMatrix2x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix2x4fv(location,count,transpose,value){GLctx.uniformMatrix2x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*9);return}if(count<=32){var view=miniTempWebGLFloatBuffers[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3x2fv(location,count,transpose,value){GLctx.uniformMatrix3x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix3x4fv(location,count,transpose,value){GLctx.uniformMatrix3x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4x2fv(location,count,transpose,value){GLctx.uniformMatrix4x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix4x3fv(location,count,transpose,value){GLctx.uniformMatrix4x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorANGLE(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorARB(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorEXT(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorNV(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribI4i(x0,x1,x2,x3,x4){GLctx["vertexAttribI4i"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4iv(index,v){GLctx.vertexAttribI4i(index,HEAP32[v>>2],HEAP32[v+4>>2],HEAP32[v+8>>2],HEAP32[v+12>>2])}function _emscripten_glVertexAttribI4ui(x0,x1,x2,x3,x4){GLctx["vertexAttribI4ui"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4uiv(index,v){GLctx.vertexAttribI4ui(index,HEAPU32[v>>2],HEAPU32[v+4>>2],HEAPU32[v+8>>2],HEAPU32[v+12>>2])}function _emscripten_glVertexAttribIPointer(index,size,type,stride,ptr){GLctx["vertexAttribIPointer"](index,size,type,stride,ptr)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}function _emscripten_glWaitSync(sync,flags,timeoutLo,timeoutHi){GLctx.waitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_pause_main_loop(){Browser.mainLoop.pause()}function _emscripten_get_heap_size(){return HEAPU8.length}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){requestedSize=requestedSize>>>0;var oldSize=_emscripten_get_heap_size();var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}var minHeapSize=16777216;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(minHeapSize,requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){var browserIterationFunc=function(){wasmTable.get(func)(arg)};setMainLoop(browserIterationFunc,fps,simulateInfiniteLoop,arg)}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}var GAI_ERRNO_MESSAGES={};function _gai_strerror(val){var buflen=256;if(!_gai_strerror.buffer){_gai_strerror.buffer=_malloc(buflen);GAI_ERRNO_MESSAGES["0"]="Success";GAI_ERRNO_MESSAGES[""+-1]="Invalid value for 'ai_flags' field";GAI_ERRNO_MESSAGES[""+-2]="NAME or SERVICE is unknown";GAI_ERRNO_MESSAGES[""+-3]="Temporary failure in name resolution";GAI_ERRNO_MESSAGES[""+-4]="Non-recoverable failure in name res";GAI_ERRNO_MESSAGES[""+-6]="'ai_family' not supported";GAI_ERRNO_MESSAGES[""+-7]="'ai_socktype' not supported";GAI_ERRNO_MESSAGES[""+-8]="SERVICE not supported for 'ai_socktype'";GAI_ERRNO_MESSAGES[""+-10]="Memory allocation failure";GAI_ERRNO_MESSAGES[""+-11]="System error returned in 'errno'";GAI_ERRNO_MESSAGES[""+-12]="Argument buffer overflow"}var msg="Unknown error";if(val in GAI_ERRNO_MESSAGES){if(GAI_ERRNO_MESSAGES[val].length>buflen-1){msg="Message too long"}else{msg=GAI_ERRNO_MESSAGES[val]}}writeAsciiToMemory(msg,_gai_strerror.buffer);return _gai_strerror.buffer}function _getTempRet0(){return getTempRet0()|0}function _getaddrinfo(node,service,hint,out){var addr=0;var port=0;var flags=0;var family=0;var type=0;var proto=0;var ai;function allocaddrinfo(family,type,proto,canon,addr,port){var sa,salen,ai;var errno;salen=family===10?28:16;addr=family===10?__inet_ntop6_raw(addr):__inet_ntop4_raw(addr);sa=_malloc(salen);errno=__write_sockaddr(sa,family,addr,port);assert(!errno);ai=_malloc(32);HEAP32[ai+4>>2]=family;HEAP32[ai+8>>2]=type;HEAP32[ai+12>>2]=proto;HEAP32[ai+24>>2]=canon;HEAP32[ai+20>>2]=sa;if(family===10){HEAP32[ai+16>>2]=28}else{HEAP32[ai+16>>2]=16}HEAP32[ai+28>>2]=0;return ai}if(hint){flags=HEAP32[hint>>2];family=HEAP32[hint+4>>2];type=HEAP32[hint+8>>2];proto=HEAP32[hint+12>>2]}if(type&&!proto){proto=type===2?17:6}if(!type&&proto){type=proto===17?2:1}if(proto===0){proto=6}if(type===0){type=1}if(!node&&!service){return-2}if(flags&~(1|2|4|1024|8|16|32)){return-1}if(hint!==0&&HEAP32[hint>>2]&2&&!node){return-1}if(flags&32){return-2}if(type!==0&&type!==1&&type!==2){return-7}if(family!==0&&family!==2&&family!==10){return-6}if(service){service=UTF8ToString(service);port=parseInt(service,10);if(isNaN(port)){if(flags&1024){return-2}return-8}}if(!node){if(family===0){family=2}if((flags&1)===0){if(family===2){addr=_htonl(2130706433)}else{addr=[0,0,0,1]}}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}node=UTF8ToString(node);addr=__inet_pton4_raw(node);if(addr!==null){if(family===0||family===2){family=2}else if(family===10&&flags&8){addr=[0,0,_htonl(65535),addr];family=10}else{return-2}}else{addr=__inet_pton6_raw(node);if(addr!==null){if(family===0||family===10){family=10}else{return-2}}}if(addr!=null){ai=allocaddrinfo(family,type,proto,node,addr,port);HEAP32[out>>2]=ai;return 0}if(flags&4){return-2}node=DNS.lookup_name(node);addr=__inet_pton4_raw(node);if(family===0){family=2}else if(family===10){addr=[0,0,_htonl(65535),addr]}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}function getHostByName(name){var ret=_malloc(20);var nameBuf=_malloc(name.length+1);stringToUTF8(name,nameBuf,name.length+1);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){setErrNo(5);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}return getHostByName(host)}function _gethostbyname(name){return getHostByName(UTF8ToString(name))}function _getnameinfo(sa,salen,node,nodelen,serv,servlen,flags){var info=__read_sockaddr(sa,salen);if(info.errno){return-6}var port=info.port;var addr=info.addr;var overflowed=false;if(node&&nodelen){var lookup;if(flags&1||!(lookup=DNS.lookup_addr(addr))){if(flags&8){return-2}}else{addr=lookup}var numBytesWrittenExclNull=stringToUTF8(addr,node,nodelen);if(numBytesWrittenExclNull+1>=nodelen){overflowed=true}}if(serv&&servlen){port=""+port;var numBytesWrittenExclNull=stringToUTF8(port,serv,servlen);if(numBytesWrittenExclNull+1>=servlen){overflowed=true}}if(overflowed){return-12}return 0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glActiveTexture(x0){GLctx["activeTexture"](x0)}function _glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _glBindBuffer(target,buffer){if(target==35051){GLctx.currentPixelPackBufferBinding=buffer}else if(target==35052){GLctx.currentPixelUnpackBufferBinding=buffer}GLctx.bindBuffer(target,GL.buffers[buffer])}function _glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,GL.framebuffers[framebuffer])}function _glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,GL.renderbuffers[renderbuffer])}function _glBindTexture(target,texture){GLctx.bindTexture(target,GL.textures[texture])}function _glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _glBufferData(target,size,data,usage){if(GL.currentContext.version>=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _glClear(x0){GLctx["clear"](x0)}function _glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _glClearDepthf(x0){GLctx["clearDepth"](x0)}function _glClearStencil(x0){GLctx["clearStencil"](x0)}function _glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _glCullFace(x0){GLctx["cullFace"](x0)}function _glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _glDepthFunc(x0){GLctx["depthFunc"](x0)}function _glDepthMask(flag){GLctx.depthMask(!!flag)}function _glDisable(x0){GLctx["disable"](x0)}function _glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _glEnable(x0){GLctx["enable"](x0)}function _glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _glFlush(){GLctx["flush"]()}function _glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _glFrontFace(x0){GLctx["frontFace"](x0)}function _glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function _glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _glStencilMask(x0){GLctx["stencilMask"](x0)}function _glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}var GLFW={keyFunc:null,charFunc:null,markedTextFunc:null,gamepadFunc:null,mouseButtonFunc:null,mousePosFunc:null,mouseWheelFunc:null,resizeFunc:null,closeFunc:null,refreshFunc:null,focusFunc:null,iconifyFunc:null,touchFunc:null,params:null,initTime:null,wheelPos:0,buttons:0,keys:0,initWindowWidth:640,initWindowHeight:480,windowX:0,windowY:0,windowWidth:0,windowHeight:0,prevWidth:0,prevHeight:0,prevNonFSWidth:0,prevNonFSHeight:0,isFullscreen:false,dpi:1,mouseTouchId:null,DOMToGLFWKeyCode:function(keycode){switch(keycode){case 8:return 295;case 9:return 293;case 13:return 294;case 27:return 257;case 106:return 313;case 107:return 315;case 109:return 314;case 110:return 316;case 111:return 312;case 112:return 258;case 113:return 259;case 114:return 260;case 115:return 261;case 116:return 262;case 117:return 263;case 118:return 264;case 119:return 265;case 120:return 266;case 121:return 267;case 122:return 268;case 123:return 269;case 37:return 285;case 38:return 283;case 39:return 286;case 40:return 284;case 33:return 298;case 34:return 299;case 36:return 300;case 35:return 301;case 45:return 296;case 16:return 287;case 5:return 287;case 6:return 288;case 17:return 289;case 3:return 289;case 4:return 290;case 18:return 291;case 2:return 291;case 1:return 292;case 96:return 302;case 97:return 303;case 98:return 304;case 99:return 305;case 100:return 306;case 101:return 307;case 102:return 308;case 103:return 309;case 104:return 310;case 105:return 311;default:return keycode}},DOMtoGLFWButton:function(button){if(button==1){button=2}else if(button==2){button=1}return button},getUnicodeChar:function(value){var output="";if(value>65535){value-=65536;output+=String.fromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=String.fromCharCode(value);return output},addEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.addEventListener(type,listener,useCapture)}},removeEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.removeEventListener(type,listener,useCapture)}},addEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].addEventListener(type,listener,useCapture)}},removeEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].removeEventListener(type,listener,useCapture)}},isCanvasActive:function(event){var res=typeof document.activeElement=="undefined"||document.activeElement==Module["canvas"];if(!res){res=event.target==Module["canvas"]}if(event.target.focus)event.target.focus();return res},onKeyPress:function(event){if(!GLFW.isCanvasActive(event)){return}if(event.charCode){var char=GLFW.getUnicodeChar(event.charCode);if(char!==null&&GLFW.charFunc){wasmTable.get(GLFW.charFunc)(event.charCode,1)}}},onKeyChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}var key=GLFW.DOMToGLFWKeyCode(event.keyCode);if(key){GLFW.keys[key]=status;if(GLFW.keyFunc){wasmTable.get(GLFW.keyFunc)(key,status)}}},onKeydown:function(event){if(!GLFW.isCanvasActive(event)){return}switch(event.keyCode){case 37:case 38:case 39:case 40:case 32:event.preventDefault();event.stopPropagation();default:break}GLFW.onKeyChanged(event,1);if(event.keyCode===32){if(GLFW.charFunc){wasmTable.get(GLFW.charFunc)(32,1);event.preventDefault()}}else if(event.keyCode===8||event.keyCode===9||event.keyCode===13){event.preventDefault()}},onKeyup:function(event){if(!GLFW.isCanvasActive(event)){return}GLFW.onKeyChanged(event,0)},onMousemove:function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(event.target==Module["canvas"]&&GLFW.mousePosFunc){event.preventDefault();wasmTable.get(GLFW.mousePosFunc)(lastX,lastY)}},onMouseButtonChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}if(GLFW.mouseButtonFunc==null){return}Browser.calculateMouseEvent(event);if(event.target!=Module["canvas"]){return}if(status==1){try{event.target.setCapture()}catch(e){}}event.preventDefault();var eventButton=GLFW.DOMtoGLFWButton(event["button"]);wasmTable.get(GLFW.mouseButtonFunc)(eventButton,status)},fillTouch:function(id,x,y,phase){if(GLFW.touchFunc){wasmTable.get(GLFW.touchFunc)(id,x,y,phase)}},touchWasFinished:function(event,phase){if(!GLFW.isCanvasActive(event)){return}for(var i=0;i0}function _glfwGetMousePos(xpos,ypos){setValue(xpos,Browser.mouseX,"i32");setValue(ypos,Browser.mouseY,"i32")}function _glfwGetMouseWheel(){return GLFW.wheelPos}function _glfwGetProcAddress(procname){return _getProcAddress(procname)}function _glfwGetWindowParam(param){return GLFW.params[param]}function _glfwGetWindowRefreshRate(){return 0}function _glfwGetWindowSize(width,height){setValue(width,Module["canvas"].width,"i32");setValue(height,Module["canvas"].height,"i32")}function _glfwIconifyWindow(){}function _glfwInitJS(){GLFW.initTime=Date.now()/1e3;GLFW.addEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.addEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.addEventListener("keydown",GLFW.onKeydown,true);GLFW.addEventListener("keypress",GLFW.onKeyPress,true);GLFW.addEventListener("keyup",GLFW.onKeyup,true);GLFW.addEventListener("mousemove",GLFW.onMousemove,true);GLFW.addEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.addEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.addEventListener("DOMMouseScroll",GLFW.onMouseWheel,true);GLFW.addEventListener("mousewheel",GLFW.onMouseWheel,true);GLFW.addEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.addEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.addEventListenerCanvas("touchcancel",GLFW.onTouchCancel,true);GLFW.addEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.addEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.addEventListenerCanvas("blur",GLFW.onBlur,true);__ATEXIT__.push({func:function(){GLFW.removeEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.removeEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.removeEventListener("keydown",GLFW.onKeydown,true);GLFW.removeEventListener("keypress",GLFW.onKeyPress,true);GLFW.removeEventListener("keyup",GLFW.onKeyup,true);GLFW.removeEventListener("mousemove",GLFW.onMousemove,true);GLFW.removeEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.removeEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.removeEventListener("DOMMouseScroll",GLFW.onMouseWheel,true);GLFW.removeEventListener("mousewheel",GLFW.onMouseWheel,true);GLFW.removeEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.removeEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchcancel",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.removeEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.removeEventListenerCanvas("blur",GLFW.onBlur,true);var canvas=Module["canvas"];if(typeof canvas!=="undefined"){Module["canvas"].width=Module["canvas"].height=1}}});GLFW.params=new Array;GLFW.params[196609]=true;GLFW.params[196610]=false;GLFW.params[196611]=true;GLFW.params[196612]=false;GLFW.params[196613]=false;GLFW.params[196614]=true;GLFW.params[131073]=true;GLFW.params[131074]=true;GLFW.params[131075]=false;GLFW.params[131076]=true;GLFW.params[131077]=0;GLFW.params[131078]=0;GLFW.params[131079]=0;GLFW.params[131080]=0;GLFW.params[131081]=0;GLFW.params[131082]=0;GLFW.params[131083]=0;GLFW.params[131084]=0;GLFW.params[131085]=0;GLFW.params[131086]=0;GLFW.params[131087]=0;GLFW.params[131088]=0;GLFW.params[131089]=0;GLFW.params[131090]=0;GLFW.params[131091]=0;GLFW.params[131092]=0;GLFW.params[131093]=0;GLFW.params[131094]=0;GLFW.params[131095]=0;GLFW.params[131096]=0;GLFW.params[327681]=0;GLFW.params[327682]=1;GLFW.params[327683]=2;GLFW.params[131097]=0;GLFW.keys=new Array;GLFW.GLFW_PHASE_BEGAN=0;GLFW.GLFW_PHASE_MOVED=1;GLFW.GLFW_PHASE_ENDED=3;GLFW.GLFW_PHASE_CANCELLED=4;return 1}function _glfwOpenWindow(width,height,redbits,greenbits,bluebits,alphabits,depthbits,stencilbits,mode){if(width==0&&height>0){width=4*height/3}if(width>0&&height==0){height=3*width/4}GLFW.params[131077]=redbits;GLFW.params[131078]=greenbits;GLFW.params[131079]=bluebits;GLFW.params[131080]=alphabits;GLFW.params[131081]=depthbits;GLFW.params[131082]=stencilbits;if(mode==65537){GLFW.initWindowWidth=width;GLFW.initWindowHeight=height;GLFW.params[196611]=true}else if(mode==65538){GLFW.requestFullScreen();GLFW.params[196611]=false}else{throw"Invalid glfwOpenWindow mode."}var contextAttributes={antialias:GLFW.params[131091]>1,depth:GLFW.params[131081]>0,stencil:GLFW.params[131082]>0};var iOSVersion=false;try{iOSVersion=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||false}catch(e){}if(iOSVersion&&iOSVersion<15.2){contextAttributes.majorVersion=1}Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);if(Module.ctx==null){contextAttributes.majorVersion=1;Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes)}return 1}function _glfwOpenWindowHint(target,hint){GLFW.params[target]=hint;if(target==131097){if(hint!=0){GLFW.dpi=window.devicePixelRatio||1}}}function _glfwPollEvents(){}function _glfwResetKeyboard(){}function _glfwSetCharCallback(cbfun){GLFW.charFunc=cbfun;return 1}function _glfwSetGamepadCallback(cbfun){GLFW.gamepadFunc=cbfun;GLFW.refreshJoysticks();return 1}function _glfwSetMarkedTextCallback(cbfun){GLFW.markedTextFunc=cbfun;return 1}function _glfwSetTouchCallback(cbfun){GLFW.touchFunc=cbfun;return 1}function _glfwSetWindowBackgroundColor(){}function _glfwSetWindowCloseCallback(cbfun){GLFW.closeFunc=cbfun}function _glfwSetWindowFocusCallback(cbfun){GLFW.focusFunc=cbfun}function _glfwSetWindowIconifyCallback(cbfun){GLFW.iconifyFunc=cbfun}function _glfwSetWindowSize(width,height){Browser.setCanvasSize(width,height);if(GLFW.resizeFunc){wasmTable.get(GLFW.resizeFunc)(width,height)}}function _glfwSetWindowSizeCallback(cbfun){GLFW.resizeFunc=cbfun}function _glfwShowKeyboard(show_keyboard){Module["canvas"].contentEditable=show_keyboard?true:false;if(show_keyboard){Module["canvas"].focus()}}function _glfwSwapBuffers(){var width=Module["canvas"].width;var height=Module["canvas"].height;if(GLFW.prevWidth!=width||GLFW.prevHeight!=height){if(GLFW.isFullscreen){width=Math.floor(window.innerWidth*GLFW.dpi);height=Math.floor(window.innerHeight*GLFW.dpi)}else{width=Math.floor(width*GLFW.dpi);height=Math.floor(height*GLFW.dpi)}GLFW.prevWidth=width;GLFW.prevHeight=height;_glfwSetWindowSize(width,height)}}function _glfwSwapInterval(interval){}function _glfwTerminate(){}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _pthread_create(){return 6}function _pthread_join(){return 28}function _setTempRet0($i){setTempRet0($i|0)}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}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 janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=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"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2147483648;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _system(command){if(ENVIRONMENT_IS_NODE){if(!command)return 1;var cmdstr=UTF8ToString(command);if(!cmdstr.length)return 0;var cp=require("child_process");var ret=cp.spawnSync(cmdstr,[],{shell:true,stdio:"inherit"});var _W_EXITCODE=function(ret,sig){return ret<<8|sig};if(ret.status===null){var signalToNumber=function(sig){switch(sig){case"SIGHUP":return 1;case"SIGINT":return 2;case"SIGQUIT":return 3;case"SIGFPE":return 8;case"SIGKILL":return 9;case"SIGALRM":return 14;case"SIGTERM":return 15}return 2};return _W_EXITCODE(0,signalToNumber(ret.signal))}return _W_EXITCODE(ret.status,0)}if(!command)return 0;setErrNo(6);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){var double=ch<105;if(double&&buf&1)buf++;readAsmConstArgsArray.push(double?HEAPF64[buf++>>1]:HEAP32[buf]);++buf}return readAsmConstArgsArray}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var GLctx;for(var i=0;i<32;++i)tempFixedLengthArray.push(new Array(i));var miniTempWebGLFloatBuffersStorage=new Float32Array(288);for(var i=0;i<288;++i){miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i+1)}var __miniTempWebGLIntBuffersStorage=new Int32Array(288);for(var i=0;i<288;++i){__miniTempWebGLIntBuffers[i]=__miniTempWebGLIntBuffersStorage.subarray(0,i+1)}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}__ATINIT__.push({func:function(){___wasm_call_ctors()}});var asmLibraryArg={"b":___assert_fail,"zh":___clock_gettime,"yh":___gmtime_r,"xh":___localtime_r,"vh":___sys__newselect,"mh":___sys_dup2,"rh":___sys_dup3,"h":___sys_fcntl64,"nh":___sys_ioctl,"sh":___sys_lstat64,"ph":___sys_mkdir,"aa":___sys_open,"uh":___sys_poll,"qh":___sys_rename,"oh":___sys_rmdir,"i":___sys_socketcall,"th":___sys_stat64,"wh":___sys_uname,"ba":___sys_unlink,"_":_abort,"jh":_clock,"ih":_difftime,"hh":_dmDeviceJSFreeBufferSlots,"gh":_dmDeviceJSOpen,"fh":_dmDeviceJSQueue,"eh":_dmGetDeviceSampleRate,"dh":_dmScriptHttpRequestAsync,"ch":_dmSysGetApplicationPath,"bh":_dmSysGetUserAgent,"ah":_dmSysGetUserPersistentDataRoot,"$g":_dmSysGetUserPreferredLanguage,"_g":_dmSysOpenURL,"xa":_emscripten_asm_const_int,"Zg":_emscripten_cancel_main_loop,"O":_emscripten_get_now,"Yg":_emscripten_glActiveTexture,"Xg":_emscripten_glAttachShader,"Wg":_emscripten_glBeginQuery,"Vg":_emscripten_glBeginQueryEXT,"Ug":_emscripten_glBeginTransformFeedback,"Tg":_emscripten_glBindAttribLocation,"Sg":_emscripten_glBindBuffer,"Rg":_emscripten_glBindBufferBase,"Qg":_emscripten_glBindBufferRange,"Pg":_emscripten_glBindFramebuffer,"Og":_emscripten_glBindRenderbuffer,"Ng":_emscripten_glBindSampler,"Mg":_emscripten_glBindTexture,"Lg":_emscripten_glBindTransformFeedback,"Kg":_emscripten_glBindVertexArray,"Jg":_emscripten_glBindVertexArrayOES,"Ig":_emscripten_glBlendColor,"Hg":_emscripten_glBlendEquation,"Gg":_emscripten_glBlendEquationSeparate,"Fg":_emscripten_glBlendFunc,"Eg":_emscripten_glBlendFuncSeparate,"Dg":_emscripten_glBlitFramebuffer,"Cg":_emscripten_glBufferData,"Bg":_emscripten_glBufferSubData,"Ag":_emscripten_glCheckFramebufferStatus,"zg":_emscripten_glClear,"yg":_emscripten_glClearBufferfi,"xg":_emscripten_glClearBufferfv,"wg":_emscripten_glClearBufferiv,"vg":_emscripten_glClearBufferuiv,"ug":_emscripten_glClearColor,"tg":_emscripten_glClearDepthf,"sg":_emscripten_glClearStencil,"rg":_emscripten_glClientWaitSync,"qg":_emscripten_glColorMask,"pg":_emscripten_glCompileShader,"og":_emscripten_glCompressedTexImage2D,"ng":_emscripten_glCompressedTexImage3D,"mg":_emscripten_glCompressedTexSubImage2D,"lg":_emscripten_glCompressedTexSubImage3D,"kg":_emscripten_glCopyBufferSubData,"jg":_emscripten_glCopyTexImage2D,"ig":_emscripten_glCopyTexSubImage2D,"hg":_emscripten_glCopyTexSubImage3D,"gg":_emscripten_glCreateProgram,"fg":_emscripten_glCreateShader,"eg":_emscripten_glCullFace,"dg":_emscripten_glDeleteBuffers,"cg":_emscripten_glDeleteFramebuffers,"bg":_emscripten_glDeleteProgram,"ag":_emscripten_glDeleteQueries,"$f":_emscripten_glDeleteQueriesEXT,"_f":_emscripten_glDeleteRenderbuffers,"Zf":_emscripten_glDeleteSamplers,"Yf":_emscripten_glDeleteShader,"Xf":_emscripten_glDeleteSync,"Wf":_emscripten_glDeleteTextures,"Vf":_emscripten_glDeleteTransformFeedbacks,"Uf":_emscripten_glDeleteVertexArrays,"Tf":_emscripten_glDeleteVertexArraysOES,"Sf":_emscripten_glDepthFunc,"Rf":_emscripten_glDepthMask,"Qf":_emscripten_glDepthRangef,"Pf":_emscripten_glDetachShader,"Of":_emscripten_glDisable,"Nf":_emscripten_glDisableVertexAttribArray,"Mf":_emscripten_glDrawArrays,"Lf":_emscripten_glDrawArraysInstanced,"Kf":_emscripten_glDrawArraysInstancedANGLE,"Jf":_emscripten_glDrawArraysInstancedARB,"If":_emscripten_glDrawArraysInstancedEXT,"Hf":_emscripten_glDrawArraysInstancedNV,"Gf":_emscripten_glDrawBuffers,"Ff":_emscripten_glDrawBuffersEXT,"Ef":_emscripten_glDrawBuffersWEBGL,"Df":_emscripten_glDrawElements,"Cf":_emscripten_glDrawElementsInstanced,"Bf":_emscripten_glDrawElementsInstancedANGLE,"Af":_emscripten_glDrawElementsInstancedARB,"zf":_emscripten_glDrawElementsInstancedEXT,"yf":_emscripten_glDrawElementsInstancedNV,"xf":_emscripten_glDrawRangeElements,"wf":_emscripten_glEnable,"vf":_emscripten_glEnableVertexAttribArray,"uf":_emscripten_glEndQuery,"tf":_emscripten_glEndQueryEXT,"sf":_emscripten_glEndTransformFeedback,"rf":_emscripten_glFenceSync,"qf":_emscripten_glFinish,"pf":_emscripten_glFlush,"of":_emscripten_glFramebufferRenderbuffer,"nf":_emscripten_glFramebufferTexture2D,"mf":_emscripten_glFramebufferTextureLayer,"lf":_emscripten_glFrontFace,"kf":_emscripten_glGenBuffers,"jf":_emscripten_glGenFramebuffers,"hf":_emscripten_glGenQueries,"gf":_emscripten_glGenQueriesEXT,"ff":_emscripten_glGenRenderbuffers,"ef":_emscripten_glGenSamplers,"df":_emscripten_glGenTextures,"cf":_emscripten_glGenTransformFeedbacks,"bf":_emscripten_glGenVertexArrays,"af":_emscripten_glGenVertexArraysOES,"$e":_emscripten_glGenerateMipmap,"_e":_emscripten_glGetActiveAttrib,"Ze":_emscripten_glGetActiveUniform,"Ye":_emscripten_glGetActiveUniformBlockName,"Xe":_emscripten_glGetActiveUniformBlockiv,"We":_emscripten_glGetActiveUniformsiv,"Ve":_emscripten_glGetAttachedShaders,"Ue":_emscripten_glGetAttribLocation,"Te":_emscripten_glGetBooleanv,"Se":_emscripten_glGetBufferParameteri64v,"Re":_emscripten_glGetBufferParameteriv,"Qe":_emscripten_glGetError,"Pe":_emscripten_glGetFloatv,"Oe":_emscripten_glGetFragDataLocation,"Ne":_emscripten_glGetFramebufferAttachmentParameteriv,"Me":_emscripten_glGetInteger64i_v,"Le":_emscripten_glGetInteger64v,"Ke":_emscripten_glGetIntegeri_v,"Je":_emscripten_glGetIntegerv,"Ie":_emscripten_glGetInternalformativ,"He":_emscripten_glGetProgramBinary,"Ge":_emscripten_glGetProgramInfoLog,"Fe":_emscripten_glGetProgramiv,"Ee":_emscripten_glGetQueryObjecti64vEXT,"De":_emscripten_glGetQueryObjectivEXT,"Ce":_emscripten_glGetQueryObjectui64vEXT,"Be":_emscripten_glGetQueryObjectuiv,"Ae":_emscripten_glGetQueryObjectuivEXT,"ze":_emscripten_glGetQueryiv,"ye":_emscripten_glGetQueryivEXT,"xe":_emscripten_glGetRenderbufferParameteriv,"we":_emscripten_glGetSamplerParameterfv,"ve":_emscripten_glGetSamplerParameteriv,"ue":_emscripten_glGetShaderInfoLog,"te":_emscripten_glGetShaderPrecisionFormat,"se":_emscripten_glGetShaderSource,"re":_emscripten_glGetShaderiv,"qe":_emscripten_glGetString,"pe":_emscripten_glGetStringi,"oe":_emscripten_glGetSynciv,"ne":_emscripten_glGetTexParameterfv,"me":_emscripten_glGetTexParameteriv,"le":_emscripten_glGetTransformFeedbackVarying,"ke":_emscripten_glGetUniformBlockIndex,"je":_emscripten_glGetUniformIndices,"ie":_emscripten_glGetUniformLocation,"he":_emscripten_glGetUniformfv,"ge":_emscripten_glGetUniformiv,"fe":_emscripten_glGetUniformuiv,"ee":_emscripten_glGetVertexAttribIiv,"de":_emscripten_glGetVertexAttribIuiv,"ce":_emscripten_glGetVertexAttribPointerv,"be":_emscripten_glGetVertexAttribfv,"ae":_emscripten_glGetVertexAttribiv,"$d":_emscripten_glHint,"_d":_emscripten_glInvalidateFramebuffer,"Zd":_emscripten_glInvalidateSubFramebuffer,"Yd":_emscripten_glIsBuffer,"Xd":_emscripten_glIsEnabled,"Wd":_emscripten_glIsFramebuffer,"Vd":_emscripten_glIsProgram,"Ud":_emscripten_glIsQuery,"Td":_emscripten_glIsQueryEXT,"Sd":_emscripten_glIsRenderbuffer,"Rd":_emscripten_glIsSampler,"Qd":_emscripten_glIsShader,"Pd":_emscripten_glIsSync,"Od":_emscripten_glIsTexture,"Nd":_emscripten_glIsTransformFeedback,"Md":_emscripten_glIsVertexArray,"Ld":_emscripten_glIsVertexArrayOES,"Kd":_emscripten_glLineWidth,"Jd":_emscripten_glLinkProgram,"Id":_emscripten_glPauseTransformFeedback,"Hd":_emscripten_glPixelStorei,"Gd":_emscripten_glPolygonOffset,"Fd":_emscripten_glProgramBinary,"Ed":_emscripten_glProgramParameteri,"Dd":_emscripten_glQueryCounterEXT,"Cd":_emscripten_glReadBuffer,"Bd":_emscripten_glReadPixels,"Ad":_emscripten_glReleaseShaderCompiler,"zd":_emscripten_glRenderbufferStorage,"yd":_emscripten_glRenderbufferStorageMultisample,"xd":_emscripten_glResumeTransformFeedback,"wd":_emscripten_glSampleCoverage,"vd":_emscripten_glSamplerParameterf,"ud":_emscripten_glSamplerParameterfv,"td":_emscripten_glSamplerParameteri,"sd":_emscripten_glSamplerParameteriv,"rd":_emscripten_glScissor,"qd":_emscripten_glShaderBinary,"pd":_emscripten_glShaderSource,"od":_emscripten_glStencilFunc,"nd":_emscripten_glStencilFuncSeparate,"md":_emscripten_glStencilMask,"ld":_emscripten_glStencilMaskSeparate,"kd":_emscripten_glStencilOp,"jd":_emscripten_glStencilOpSeparate,"id":_emscripten_glTexImage2D,"hd":_emscripten_glTexImage3D,"gd":_emscripten_glTexParameterf,"fd":_emscripten_glTexParameterfv,"ed":_emscripten_glTexParameteri,"dd":_emscripten_glTexParameteriv,"cd":_emscripten_glTexStorage2D,"bd":_emscripten_glTexStorage3D,"ad":_emscripten_glTexSubImage2D,"$c":_emscripten_glTexSubImage3D,"_c":_emscripten_glTransformFeedbackVaryings,"Zc":_emscripten_glUniform1f,"Yc":_emscripten_glUniform1fv,"Xc":_emscripten_glUniform1i,"Wc":_emscripten_glUniform1iv,"Vc":_emscripten_glUniform1ui,"Uc":_emscripten_glUniform1uiv,"Tc":_emscripten_glUniform2f,"Sc":_emscripten_glUniform2fv,"Rc":_emscripten_glUniform2i,"Qc":_emscripten_glUniform2iv,"Pc":_emscripten_glUniform2ui,"Oc":_emscripten_glUniform2uiv,"Nc":_emscripten_glUniform3f,"Mc":_emscripten_glUniform3fv,"Lc":_emscripten_glUniform3i,"Kc":_emscripten_glUniform3iv,"Jc":_emscripten_glUniform3ui,"Ic":_emscripten_glUniform3uiv,"Hc":_emscripten_glUniform4f,"Gc":_emscripten_glUniform4fv,"Fc":_emscripten_glUniform4i,"Ec":_emscripten_glUniform4iv,"Dc":_emscripten_glUniform4ui,"Cc":_emscripten_glUniform4uiv,"Bc":_emscripten_glUniformBlockBinding,"Ac":_emscripten_glUniformMatrix2fv,"zc":_emscripten_glUniformMatrix2x3fv,"yc":_emscripten_glUniformMatrix2x4fv,"xc":_emscripten_glUniformMatrix3fv,"wc":_emscripten_glUniformMatrix3x2fv,"vc":_emscripten_glUniformMatrix3x4fv,"uc":_emscripten_glUniformMatrix4fv,"tc":_emscripten_glUniformMatrix4x2fv,"sc":_emscripten_glUniformMatrix4x3fv,"rc":_emscripten_glUseProgram,"qc":_emscripten_glValidateProgram,"pc":_emscripten_glVertexAttrib1f,"oc":_emscripten_glVertexAttrib1fv,"nc":_emscripten_glVertexAttrib2f,"mc":_emscripten_glVertexAttrib2fv,"lc":_emscripten_glVertexAttrib3f,"kc":_emscripten_glVertexAttrib3fv,"jc":_emscripten_glVertexAttrib4f,"ic":_emscripten_glVertexAttrib4fv,"hc":_emscripten_glVertexAttribDivisor,"gc":_emscripten_glVertexAttribDivisorANGLE,"fc":_emscripten_glVertexAttribDivisorARB,"ec":_emscripten_glVertexAttribDivisorEXT,"dc":_emscripten_glVertexAttribDivisorNV,"cc":_emscripten_glVertexAttribI4i,"bc":_emscripten_glVertexAttribI4iv,"ac":_emscripten_glVertexAttribI4ui,"$b":_emscripten_glVertexAttribI4uiv,"_b":_emscripten_glVertexAttribIPointer,"Zb":_emscripten_glVertexAttribPointer,"Yb":_emscripten_glViewport,"Xb":_emscripten_glWaitSync,"j":_emscripten_longjmp,"Wb":_emscripten_memcpy_big,"Vb":_emscripten_pause_main_loop,"Ub":_emscripten_resize_heap,"Z":_emscripten_set_main_loop_arg,"Tb":_emscripten_thread_sleep,"lh":_environ_get,"kh":_environ_sizes_get,"wa":_exit,"C":_fd_close,"ya":_fd_read,"Ga":_fd_seek,"$":_fd_write,"B":_gai_strerror,"e":_getTempRet0,"t":_getaddrinfo,"Sb":_gethostbyaddr,"Rb":_gethostbyname,"s":_getnameinfo,"q":_gettimeofday,"va":_glActiveTexture,"N":_glAttachShader,"g":_glBindBuffer,"Y":_glBindFramebuffer,"A":_glBindRenderbuffer,"M":_glBindTexture,"Qb":_glBlendFunc,"ua":_glBufferData,"ta":_glBufferSubData,"X":_glCheckFramebufferStatus,"Pb":_glClear,"Ob":_glClearColor,"Nb":_glClearDepthf,"Mb":_glClearStencil,"Lb":_glColorMask,"L":_glCompileShader,"p":_glCompressedTexImage2D,"o":_glCompressedTexSubImage2D,"sa":_glCreateProgram,"W":_glCreateShader,"Kb":_glCullFace,"ra":_glDeleteBuffers,"Jb":_glDeleteFramebuffers,"K":_glDeleteProgram,"V":_glDeleteRenderbuffers,"z":_glDeleteShader,"qa":_glDeleteTextures,"Ib":_glDepthFunc,"Hb":_glDepthMask,"Gb":_glDisable,"Fb":_glDisableVertexAttribArray,"Eb":_glDrawArrays,"Db":_glDrawElements,"Cb":_glEnable,"pa":_glEnableVertexAttribArray,"Bb":_glFlush,"U":_glFramebufferRenderbuffer,"Ab":_glFramebufferTexture2D,"zb":_glFrontFace,"oa":_glGenBuffers,"yb":_glGenFramebuffers,"J":_glGenRenderbuffers,"xb":_glGenTextures,"wb":_glGetActiveUniform,"vb":_glGetAttribLocation,"c":_glGetError,"y":_glGetIntegerv,"na":_glGetProgramInfoLog,"x":_glGetProgramiv,"ma":_glGetShaderInfoLog,"I":_glGetShaderiv,"w":_glGetString,"ub":_glGetUniformLocation,"T":_glLinkProgram,"la":_glPixelStorei,"tb":_glPolygonOffset,"sb":_glReadPixels,"S":_glRenderbufferStorage,"rb":_glScissor,"H":_glShaderSource,"qb":_glStencilFunc,"pb":_glStencilFuncSeparate,"ob":_glStencilMask,"nb":_glStencilOp,"mb":_glStencilOpSeparate,"n":_glTexImage2D,"G":_glTexParameteri,"m":_glTexSubImage2D,"lb":_glUniform1i,"kb":_glUniform4fv,"jb":_glUniformMatrix4fv,"ka":_glUseProgram,"ja":_glVertexAttribPointer,"ib":_glViewport,"hb":_glfwAccelerometerEnable,"gb":_glfwCloseWindow,"fb":_glfwGetAcceleration,"ia":_glfwGetDefaultFramebuffer,"eb":_glfwGetJoystickButtons,"db":_glfwGetJoystickDeviceId,"cb":_glfwGetJoystickHats,"F":_glfwGetJoystickParam,"bb":_glfwGetJoystickPos,"ab":_glfwGetKey,"k":_glfwGetMouseButton,"$a":_glfwGetMousePos,"_a":_glfwGetMouseWheel,"R":_glfwGetProcAddress,"Za":_glfwGetWindowParam,"Ya":_glfwGetWindowRefreshRate,"ha":_glfwGetWindowSize,"Xa":_glfwIconifyWindow,"Wa":_glfwInitJS,"Va":_glfwOpenWindow,"Q":_glfwOpenWindowHint,"Ua":_glfwPollEvents,"Ta":_glfwResetKeyboard,"Sa":_glfwSetCharCallback,"Ra":_glfwSetGamepadCallback,"Qa":_glfwSetMarkedTextCallback,"Pa":_glfwSetTouchCallback,"Oa":_glfwSetWindowBackgroundColor,"Na":_glfwSetWindowCloseCallback,"Ma":_glfwSetWindowFocusCallback,"La":_glfwSetWindowIconifyCallback,"ga":_glfwSetWindowSize,"Ka":_glfwSetWindowSizeCallback,"fa":_glfwShowKeyboard,"Ja":_glfwSwapBuffers,"ea":_glfwSwapInterval,"Ia":_glfwTerminate,"Ha":_gmtime_r,"v":invoke_ii,"E":invoke_iii,"P":invoke_iiii,"Fa":invoke_jii,"u":invoke_vi,"D":invoke_vii,"da":invoke_viii,"f":invoke_viiii,"r":invoke_viiiii,"a":wasmMemory,"ca":_mktime,"Ea":_pthread_create,"Da":_pthread_join,"d":_setTempRet0,"Ca":_signal,"Ba":_strftime,"Aa":_sysconf,"za":_system,"l":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["Bh"]).apply(null,arguments)};var _dmExportedSymbols=Module["_dmExportedSymbols"]=function(){return(_dmExportedSymbols=Module["_dmExportedSymbols"]=Module["asm"]["Ch"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["Dh"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Eh"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Fh"]).apply(null,arguments)};var _htonl=Module["_htonl"]=function(){return(_htonl=Module["_htonl"]=Module["asm"]["Gh"]).apply(null,arguments)};var _dmScript_Html5ReportOperationSuccess=Module["_dmScript_Html5ReportOperationSuccess"]=function(){return(_dmScript_Html5ReportOperationSuccess=Module["_dmScript_Html5ReportOperationSuccess"]=Module["asm"]["Hh"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["Ih"]).apply(null,arguments)};var _htons=Module["_htons"]=function(){return(_htons=Module["_htons"]=Module["asm"]["Jh"]).apply(null,arguments)};var _ntohs=Module["_ntohs"]=function(){return(_ntohs=Module["_ntohs"]=Module["asm"]["Kh"]).apply(null,arguments)};var _JSWriteDump=Module["_JSWriteDump"]=function(){return(_JSWriteDump=Module["_JSWriteDump"]=Module["asm"]["Lh"]).apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return(__get_tzname=Module["__get_tzname"]=Module["asm"]["Mh"]).apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return(__get_daylight=Module["__get_daylight"]=Module["asm"]["Nh"]).apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return(__get_timezone=Module["__get_timezone"]=Module["asm"]["Oh"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["Ph"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["Qh"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["Rh"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["Sh"]).apply(null,arguments)};var dynCall_jii=Module["dynCall_jii"]=function(){return(dynCall_jii=Module["dynCall_jii"]=Module["asm"]["Th"]).apply(null,arguments)};function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jii(index,a1,a2){var sp=stackSave();try{return dynCall_jii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}Module["ccall"]=ccall;Module["UTF8ToString"]=UTF8ToString;Module["stringToUTF8"]=stringToUTF8;Module["stackTrace"]=stackTrace;Module["writeStringToMemory"]=writeStringToMemory;Module["writeArrayToMemory"]=writeArrayToMemory;Module["callMain"]=callMain;Module["stackTrace"]=stackTrace;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(shouldRunNow)callMain(args);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){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run(); +var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else 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.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;return Math.ceil(size/factor)*factor}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}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 allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeStringToMemory(string,buffer,dontAddNull){warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}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}function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}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"]||33554432;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 __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();SOCKFS.root=FS.mount(SOCKFS,{},null);callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}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 addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}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+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="dmengine.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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"]["Oh"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}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{}}var tempDouble;var tempI64;var ASM_CONSTS={1313:function(){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){console.log("%c %c Made with Defold %c %c https://www.defold.com","background: #fd6623; padding:5px 0; border: 5px;","background: #272c31; color: #fafafa; padding:5px 0;","background: #39a3e4; padding:5px 0;","background: #ffffff; color: #000000; padding:5px 0;")}else{console.log("Made with Defold -=[ https://www.defold.com ]=-")}},120529:function($0){var jsResult;var isSuccess=1;try{jsResult=eval(UTF8ToString($0))}catch(err){isSuccess=0;jsResult=err}_dmScript_Html5ReportOperationSuccess(isSuccess);jsResult+="";var lengthBytes=lengthBytesUTF8(jsResult)+1;var stringOnWasmHeap=_malloc(lengthBytes);stringToUTF8(jsResult,stringOnWasmHeap,lengthBytes);return stringOnWasmHeap},120973:function(){document.removeEventListener("click",Module.__defold_interaction_listener);document.removeEventListener("keyup",Module.__defold_interaction_listener);document.removeEventListener("touchend",Module.__defold_interaction_listener);Module.__defold_interaction_listener=undefined},121287:function(){Module.__defold_interaction_listener=function(){_dmScript_RunInteractionCallback()};document.addEventListener("click",Module.__defold_interaction_listener);document.addEventListener("keyup",Module.__defold_interaction_listener);document.addEventListener("touchend",Module.__defold_interaction_listener)}};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){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function demangle(func){return func}function demangleAll(text){var regex=/\b_Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var error=new Error;if(!error.stack){try{throw new Error}catch(e){error=e}if(!error.stack){return"(no stack trace available)"}}return error.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else _emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function ___localtime_r(a0,a1){return _localtime_r(a0,a1)}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){var alignedSize=alignMemory(size,16384);var ptr=_malloc(alignedSize);while(size=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){FS.forceLoadFile(node);var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys__newselect(nfds,readfds,writefds,exceptfds,timeout){try{var total=0;var srcReadLow=readfds?HEAP32[readfds>>2]:0,srcReadHigh=readfds?HEAP32[readfds+4>>2]:0;var srcWriteLow=writefds?HEAP32[writefds>>2]:0,srcWriteHigh=writefds?HEAP32[writefds+4>>2]:0;var srcExceptLow=exceptfds?HEAP32[exceptfds>>2]:0,srcExceptHigh=exceptfds?HEAP32[exceptfds+4>>2]:0;var dstReadLow=0,dstReadHigh=0;var dstWriteLow=0,dstWriteHigh=0;var dstExceptLow=0,dstExceptHigh=0;var allLow=(readfds?HEAP32[readfds>>2]:0)|(writefds?HEAP32[writefds>>2]:0)|(exceptfds?HEAP32[exceptfds>>2]:0);var allHigh=(readfds?HEAP32[readfds+4>>2]:0)|(writefds?HEAP32[writefds+4>>2]:0)|(exceptfds?HEAP32[exceptfds+4>>2]:0);var check=function(fd,low,high,val){return fd<32?low&val:high&val};for(var fd=0;fd>2]=dstReadLow;HEAP32[readfds+4>>2]=dstReadHigh}if(writefds){HEAP32[writefds>>2]=dstWriteLow;HEAP32[writefds+4>>2]=dstWriteHigh}if(exceptfds){HEAP32[exceptfds>>2]=dstExceptLow;HEAP32[exceptfds+4>>2]=dstExceptHigh}return total}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup2(oldfd,suggestFD){try{var old=SYSCALLS.getStreamFromFD(oldfd);if(old.fd===suggestFD)return suggestFD;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_dup3(fd,suggestFD,flags){try{var old=SYSCALLS.getStreamFromFD(fd);if(old.fd===suggestFD)return-28;return SYSCALLS.doDup(old.path,old.flags,suggestFD)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=varargs?SYSCALLS.get():0;var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_poll(fds,nfds,timeout){try{var nonzero=0;for(var i=0;i>2];var events=HEAP16[pollfd+4>>1];var mask=32;var stream=FS.getStream(fd);if(stream){mask=SYSCALLS.DEFAULT_POLLMASK;if(stream.stream_ops.poll){mask=stream.stream_ops.poll(stream)}}mask&=events|8|16;if(mask)nonzero++;HEAP16[pollfd+6>>1]=mask}return nonzero}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var ERRNO_CODES={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135};var SOCKFS={mount:function(mount){Module["websocket"]=Module["websocket"]&&"object"===typeof Module["websocket"]?Module["websocket"]:{};Module["websocket"]._callbacks={};Module["websocket"]["on"]=function(event,callback){if("function"===typeof callback){this._callbacks[event]=callback}return this};Module["websocket"].emit=function(event,param){if("function"===typeof this._callbacks[event]){this._callbacks[event].call(this,param)}};return FS.createNode(null,"/",16384|511,0)},createSocket:function(family,type,protocol){type&=~526336;var streaming=type==1;if(protocol){assert(streaming==(protocol==6))}var sock={family:family,type:type,protocol:protocol,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops};var name=SOCKFS.nextname();var node=FS.createNode(SOCKFS.root,name,49152,0);node.sock=sock;var stream=FS.createStream({path:name,node:node,flags:2,seekable:false,stream_ops:SOCKFS.stream_ops});sock.stream=stream;return sock},getSocket:function(fd){var stream=FS.getStream(fd);if(!stream||!FS.isSocket(stream.node.mode)){return null}return stream.node.sock},stream_ops:{poll:function(stream){var sock=stream.node.sock;return sock.sock_ops.poll(sock)},ioctl:function(stream,request,varargs){var sock=stream.node.sock;return sock.sock_ops.ioctl(sock,request,varargs)},read:function(stream,buffer,offset,length,position){var sock=stream.node.sock;var msg=sock.sock_ops.recvmsg(sock,length);if(!msg){return 0}buffer.set(msg.buffer,offset);return msg.buffer.length},write:function(stream,buffer,offset,length,position){var sock=stream.node.sock;return sock.sock_ops.sendmsg(sock,buffer,offset,length)},close:function(stream){var sock=stream.node.sock;sock.sock_ops.close(sock)}},nextname:function(){if(!SOCKFS.nextname.current){SOCKFS.nextname.current=0}return"socket["+SOCKFS.nextname.current+++"]"},websocket_sock_ops:{createPeer:function(sock,addr,port){var ws;if(typeof addr==="object"){ws=addr;addr=null;port=null}if(ws){if(ws._socket){addr=ws._socket.remoteAddress;port=ws._socket.remotePort}else{var result=/ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);if(!result){throw new Error("WebSocket URL must be in the format ws(s)://address:port")}addr=result[1];port=parseInt(result[2],10)}}else{try{var runtimeConfig=Module["websocket"]&&"object"===typeof Module["websocket"];var url="ws:#".replace("#","//");if(runtimeConfig){if("string"===typeof Module["websocket"]["url"]){url=Module["websocket"]["url"]}}if(url==="ws://"||url==="wss://"){var parts=addr.split("/");url=url+parts[0]+":"+port+"/"+parts.slice(1).join("/")}var subProtocols="binary";if(runtimeConfig){if("string"===typeof Module["websocket"]["subprotocol"]){subProtocols=Module["websocket"]["subprotocol"]}}var opts=undefined;if(subProtocols!=="null"){subProtocols=subProtocols.replace(/^ +| +$/g,"").split(/ *, */);opts=ENVIRONMENT_IS_NODE?{"protocol":subProtocols.toString()}:subProtocols}if(runtimeConfig&&null===Module["websocket"]["subprotocol"]){subProtocols="null";opts=undefined}var WebSocketConstructor;if(ENVIRONMENT_IS_NODE){WebSocketConstructor=require("ws")}else{WebSocketConstructor=WebSocket}ws=new WebSocketConstructor(url,opts);ws.binaryType="arraybuffer"}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}}var peer={addr:addr,port:port,socket:ws,dgram_send_queue:[]};SOCKFS.websocket_sock_ops.addPeer(sock,peer);SOCKFS.websocket_sock_ops.handlePeerEvents(sock,peer);if(sock.type===2&&typeof sock.sport!=="undefined"){peer.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(sock.sport&65280)>>8,sock.sport&255]))}return peer},getPeer:function(sock,addr,port){return sock.peers[addr+":"+port]},addPeer:function(sock,peer){sock.peers[peer.addr+":"+peer.port]=peer},removePeer:function(sock,peer){delete sock.peers[peer.addr+":"+peer.port]},handlePeerEvents:function(sock,peer){var first=true;var handleOpen=function(){Module["websocket"].emit("open",sock.stream.fd);try{var queued=peer.dgram_send_queue.shift();while(queued){peer.socket.send(queued);queued=peer.dgram_send_queue.shift()}}catch(e){peer.socket.close()}};function handleMessage(data){if(typeof data==="string"){var encoder=new TextEncoder;data=encoder.encode(data)}else{assert(data.byteLength!==undefined);if(data.byteLength==0){return}else{data=new Uint8Array(data)}}var wasfirst=first;first=false;if(wasfirst&&data.length===10&&data[0]===255&&data[1]===255&&data[2]===255&&data[3]===255&&data[4]==="p".charCodeAt(0)&&data[5]==="o".charCodeAt(0)&&data[6]==="r".charCodeAt(0)&&data[7]==="t".charCodeAt(0)){var newport=data[8]<<8|data[9];SOCKFS.websocket_sock_ops.removePeer(sock,peer);peer.port=newport;SOCKFS.websocket_sock_ops.addPeer(sock,peer);return}sock.recv_queue.push({addr:peer.addr,port:peer.port,data:data});Module["websocket"].emit("message",sock.stream.fd)}if(ENVIRONMENT_IS_NODE){peer.socket.on("open",handleOpen);peer.socket.on("message",function(data,flags){if(!flags.binary){return}handleMessage(new Uint8Array(data).buffer)});peer.socket.on("close",function(){Module["websocket"].emit("close",sock.stream.fd)});peer.socket.on("error",function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])})}else{peer.socket.onopen=handleOpen;peer.socket.onclose=function(){Module["websocket"].emit("close",sock.stream.fd)};peer.socket.onmessage=function peer_socket_onmessage(event){handleMessage(event.data)};peer.socket.onerror=function(error){sock.error=ERRNO_CODES.ECONNREFUSED;Module["websocket"].emit("error",[sock.stream.fd,sock.error,"ECONNREFUSED: Connection refused"])}}},poll:function(sock){if(sock.type===1&&sock.server){return sock.pending.length?64|1:0}var mask=0;var dest=sock.type===1?SOCKFS.websocket_sock_ops.getPeer(sock,sock.daddr,sock.dport):null;if(sock.recv_queue.length||!dest||dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=64|1}if(!dest||dest&&dest.socket.readyState===dest.socket.OPEN){mask|=4}if(dest&&dest.socket.readyState===dest.socket.CLOSING||dest&&dest.socket.readyState===dest.socket.CLOSED){mask|=16}return mask},ioctl:function(sock,request,arg){switch(request){case 21531:var bytes=0;if(sock.recv_queue.length){bytes=sock.recv_queue[0].data.length}HEAP32[arg>>2]=bytes;return 0;default:return ERRNO_CODES.EINVAL}},close:function(sock){if(sock.server){try{sock.server.close()}catch(e){}sock.server=null}var peers=Object.keys(sock.peers);for(var i=0;i>>0}function jstoi_q(str){return parseInt(str)}function __inet_pton6_raw(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.indexOf("::")===0){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>8&255)+"."+(addr>>16&255)+"."+(addr>>24&255)}function __inet_ntop6_raw(ints){var str="";var word=0;var longest=0;var lastzero=0;var zstart=0;var len=0;var i=0;var parts=[ints[0]&65535,ints[0]>>16,ints[1]&65535,ints[1]>>16,ints[2]&65535,ints[2]>>16,ints[3]&65535,ints[3]>>16];var hasipv4=true;var v4part="";for(i=0;i<5;i++){if(parts[i]!==0){hasipv4=false;break}}if(hasipv4){v4part=__inet_ntop4_raw(parts[6]|parts[7]<<16);if(parts[5]===-1){str="::ffff:";str+=v4part;return str}if(parts[5]===0){str="::";if(v4part==="0.0.0.0")v4part="";if(v4part==="0.0.0.1")v4part="1";str+=v4part;return str}}for(word=0;word<8;word++){if(parts[word]===0){if(word-lastzero>1){len=0}lastzero=word;len++}if(len>longest){longest=len;zstart=word-longest+1}}for(word=0;word<8;word++){if(longest>1){if(parts[word]===0&&word>=zstart&&word>1];var port=_ntohs(HEAPU16[sa+2>>1]);var addr;switch(family){case 2:if(salen!==16){return{errno:28}}addr=HEAP32[sa+4>>2];addr=__inet_ntop4_raw(addr);break;case 10:if(salen!==28){return{errno:28}}addr=[HEAP32[sa+8>>2],HEAP32[sa+12>>2],HEAP32[sa+16>>2],HEAP32[sa+20>>2]];addr=__inet_ntop6_raw(addr);break;default:return{errno:5}}return{family:family,addr:addr,port:port}}function __write_sockaddr(sa,family,addr,port,addrlen){switch(family){case 2:addr=__inet_pton4_raw(addr);if(addrlen){HEAP32[addrlen>>2]=16}HEAP16[sa>>1]=family;HEAP32[sa+4>>2]=addr;HEAP16[sa+2>>1]=_htons(port);break;case 10:addr=__inet_pton6_raw(addr);if(addrlen){HEAP32[addrlen>>2]=28}HEAP32[sa>>2]=family;HEAP32[sa+8>>2]=addr[0];HEAP32[sa+12>>2]=addr[1];HEAP32[sa+16>>2]=addr[2];HEAP32[sa+20>>2]=addr[3];HEAP16[sa+2>>1]=_htons(port);HEAP32[sa+4>>2]=0;HEAP32[sa+24>>2]=0;break;default:return 5}return 0}function ___sys_socketcall(call,socketvararg){try{SYSCALLS.varargs=socketvararg;var getSocketFromFD=function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(8);return socket};var getSocketAddress=function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info};switch(call){case 1:{var domain=SYSCALLS.get(),type=SYSCALLS.get(),protocol=SYSCALLS.get();var sock=SOCKFS.createSocket(domain,type,protocol);return sock.stream.fd}case 2:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.bind(sock,info.addr,info.port);return 0}case 3:{var sock=getSocketFromFD(),info=getSocketAddress();sock.sock_ops.connect(sock,info.addr,info.port);return 0}case 4:{var sock=getSocketFromFD(),backlog=SYSCALLS.get();sock.sock_ops.listen(sock,backlog);return 0}case 5:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var newsock=sock.sock_ops.accept(sock);if(addr){var errno=__write_sockaddr(addr,newsock.family,DNS.lookup_name(newsock.daddr),newsock.dport,addrlen)}return newsock.stream.fd}case 6:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.saddr||"0.0.0.0"),sock.sport,addrlen);return 0}case 7:{var sock=getSocketFromFD(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();if(!sock.daddr){return-53}var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(sock.daddr),sock.dport,addrlen);return 0}case 11:{var sock=getSocketFromFD(),message=SYSCALLS.get(),length=SYSCALLS.get(),flags=SYSCALLS.get(),dest=getSocketAddress(true);if(!dest){return FS.write(sock.stream,HEAP8,message,length)}else{return sock.sock_ops.sendmsg(sock,HEAP8,message,length,dest.addr,dest.port)}}case 12:{var sock=getSocketFromFD(),buf=SYSCALLS.get(),len=SYSCALLS.get(),flags=SYSCALLS.get(),addr=SYSCALLS.get(),addrlen=SYSCALLS.get();var msg=sock.sock_ops.recvmsg(sock,len);if(!msg)return 0;if(addr){var errno=__write_sockaddr(addr,sock.family,DNS.lookup_name(msg.addr),msg.port,addrlen)}HEAPU8.set(msg.buffer,buf);return msg.buffer.byteLength}case 14:{return-50}case 15:{var sock=getSocketFromFD(),level=SYSCALLS.get(),optname=SYSCALLS.get(),optval=SYSCALLS.get(),optlen=SYSCALLS.get();if(level===1){if(optname===4){HEAP32[optval>>2]=sock.error;HEAP32[optlen>>2]=4;sock.error=null;return 0}}return-50}case 16:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var addr,port;var name=HEAP32[message>>2];var namelen=HEAP32[message+4>>2];if(name){var info=__read_sockaddr(name,namelen);if(info.errno)return-info.errno;port=info.port;addr=DNS.lookup_addr(info.addr)||info.addr}var total=0;for(var i=0;i>2]}var view=new Uint8Array(total);var offset=0;for(var i=0;i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];for(var j=0;j>0]}}return sock.sock_ops.sendmsg(sock,view,0,total,addr,port)}case 17:{var sock=getSocketFromFD(),message=SYSCALLS.get(),flags=SYSCALLS.get();var iov=HEAP32[message+8>>2];var num=HEAP32[message+12>>2];var total=0;for(var i=0;i>2]}var msg=sock.sock_ops.recvmsg(sock,total);if(!msg)return 0;var name=HEAP32[message>>2];if(name){var errno=__write_sockaddr(name,sock.family,DNS.lookup_name(msg.addr),msg.port)}var bytesRead=0;var bytesRemaining=msg.buffer.byteLength;for(var i=0;bytesRemaining>0&&i>2];var iovlen=HEAP32[iov+(8*i+4)>>2];if(!iovlen){continue}var length=Math.min(iovlen,bytesRemaining);var buf=msg.buffer.subarray(bytesRead,bytesRead+length);HEAPU8.set(buf,iovbase+bytesRead);bytesRead+=length;bytesRemaining-=length}return bytesRead}default:{return-52}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_uname(buf){try{if(!buf)return-21;var layout={"__size__":390,"domainname":325,"machine":260,"nodename":65,"release":130,"sysname":0,"version":195};var copyString=function(element,value){var offset=layout[element];writeAsciiToMemory(value,buf+offset)};copyString("sysname","Emscripten");copyString("nodename","emscripten");copyString("release","1.0");copyString("version","#1");copyString("machine","x86-JS");return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}function _difftime(time1,time0){return time1-time0}var DefoldSoundDevice={TryResumeAudio:function(){var audioCtx=window._dmJSDeviceShared.audioCtx;if(audioCtx!==undefined&&audioCtx.state!="running"){audioCtx.resume()}}};function _dmDeviceJSFreeBufferSlots(id){return window._dmJSDeviceShared.devices[id]._freeBufferSlots()}function _dmDeviceJSOpen(bufferCount){var shared=window._dmJSDeviceShared;if(shared===undefined){shared={count:0,devices:{}};window._dmJSDeviceShared=shared}var id=shared.count++;var device;if(window.AudioContext||window.webkitAudioContext){if(shared.audioCtx===undefined){shared.audioCtx=new(window.AudioContext||window.webkitAudioContext)}device={sampleRate:shared.audioCtx.sampleRate,bufferedTo:0,bufferDuration:0,_queue:function(samples,sample_count){var buf=shared.audioCtx.createBuffer(2,sample_count,this.sampleRate);var c0=buf.getChannelData(0);var c1=buf.getChannelData(1);for(var i=0;i0){xhr.timeout=timeout/1e3}var headersArray=UTF8ToString(headers).split("\n");for(var i=0;i0){xhr.send(HEAPU8.subarray(send_data,send_data+send_data_length))}else{xhr.send()}}var DMSYS={_folder:"/data",_cstr:null,GetUserPersistentDataRoot:function(){if(typeof window!=="undefined")return DMSYS._folder;else return""},PumpMessageQueue:function(){if(typeof window==="undefined"){var uvrun=require("uvrun");uvrun.runOnce()}}};function _dmSysGetApplicationPath(){var path=location.href.substring(0,location.href.lastIndexOf("/"));var lengthBytes=lengthBytesUTF8(path)+1;var buffer=_malloc(lengthBytes);Module.stringToUTF8(path,buffer,lengthBytes);return buffer}function _dmSysGetUserAgent(){var useragent=navigator.userAgent;var buffer=_malloc(useragent.length+1);Module.stringToUTF8(useragent,buffer,useragent.length+1);return buffer}function _dmSysGetUserPersistentDataRoot(){if(null==DMSYS._cstr){var str=DMSYS.GetUserPersistentDataRoot();DMSYS._cstr=_malloc(str.length+1);Module.stringToUTF8(str,DMSYS._cstr,str.length+1)}return DMSYS._cstr}function _dmSysGetUserPreferredLanguage(defaultlang){var jsdefault=UTF8ToString(defaultlang);var preferred=navigator==undefined?jsdefault:navigator.languages?navigator.languages[0]||jsdefault:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||jsdefault;var buffer=_malloc(preferred.length+1);Module.stringToUTF8(preferred,buffer,preferred.length+1);return buffer}var JSEvents={inEventHandler:0,removeAllEventListeners:function(){for(var i=JSEvents.eventHandlers.length-1;i>=0;--i){JSEvents._removeHandler(i)}JSEvents.eventHandlers=[];JSEvents.deferredCalls=[]},registerRemoveEventListeners:function(){if(!JSEvents.removeEventListenersRegistered){__ATEXIT__.push(JSEvents.removeAllEventListeners);JSEvents.removeEventListenersRegistered=true}},deferredCalls:[],deferCall:function(targetFunction,precedence,argsList){function arraysHaveEqualContent(arrA,arrB){if(arrA.length!=arrB.length)return false;for(var i in arrA){if(arrA[i]!=arrB[i])return false}return true}for(var i in JSEvents.deferredCalls){var call=JSEvents.deferredCalls[i];if(call.targetFunction==targetFunction&&arraysHaveEqualContent(call.argsList,argsList)){return}}JSEvents.deferredCalls.push({targetFunction:targetFunction,precedence:precedence,argsList:argsList});JSEvents.deferredCalls.sort(function(x,y){return x.precedence0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;setMainLoop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:typeof WebGL2RenderingContext!=="undefined"?2:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]:-1;source+=UTF8ToString(HEAP32[string+i*4>>2],len<0?undefined:len)}return source},createContext:function(canvas,webGLContextAttributes){var ctx=webGLContextAttributes.majorVersion>1?canvas.getContext("webgl2",webGLContextAttributes):canvas.getContext("webgl",webGLContextAttributes);if(!ctx)return 0;var handle=GL.registerContext(ctx,webGLContextAttributes);return handle},registerContext:function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes.majorVersion,GLctx:ctx};if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes.enableExtensionsByDefault==="undefined"||webGLContextAttributes.enableExtensionsByDefault){GL.initExtensions(context)}return handle},makeContextCurrent:function(contextHandle){GL.currentContext=GL.contexts[contextHandle];Module.ctx=GLctx=GL.currentContext&&GL.currentContext.GLctx;return!(contextHandle&&!GLctx)},getContext:function(contextHandle){return GL.contexts[contextHandle]},deleteContext:function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents==="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null},initExtensions:function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;__webgl_enable_ANGLE_instanced_arrays(GLctx);__webgl_enable_OES_vertex_array_object(GLctx);__webgl_enable_WEBGL_draw_buffers(GLctx);__webgl_enable_WEBGL_draw_instanced_base_vertex_base_instance(GLctx);__webgl_enable_WEBGL_multi_draw_instanced_base_vertex_base_instance(GLctx);GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query");__webgl_enable_WEBGL_multi_draw(GLctx);var exts=GLctx.getSupportedExtensions()||[];exts.forEach(function(ext){if(ext.indexOf("lose_context")<0&&ext.indexOf("debug")<0){GLctx.getExtension(ext)}})},populateUniformTable:function(program){var p=GL.programs[program];var ptable=GL.programInfos[program]={uniforms:{},maxUniformLength:0,maxAttributeLength:-1,maxUniformBlockNameLength:-1};var utable=ptable.uniforms;var numUniforms=GLctx.getProgramParameter(p,35718);for(var i=0;i=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _emscripten_glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _emscripten_glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _emscripten_glClear(x0){GLctx["clear"](x0)}function _emscripten_glClearBufferfi(x0,x1,x2,x3){GLctx["clearBufferfi"](x0,x1,x2,x3)}function _emscripten_glClearBufferfv(buffer,drawbuffer,value){GLctx["clearBufferfv"](buffer,drawbuffer,HEAPF32,value>>2)}function _emscripten_glClearBufferiv(buffer,drawbuffer,value){GLctx["clearBufferiv"](buffer,drawbuffer,HEAP32,value>>2)}function _emscripten_glClearBufferuiv(buffer,drawbuffer,value){GLctx["clearBufferuiv"](buffer,drawbuffer,HEAPU32,value>>2)}function _emscripten_glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _emscripten_glClearDepthf(x0){GLctx["clearDepth"](x0)}function _emscripten_glClearStencil(x0){GLctx["clearStencil"](x0)}function convertI32PairToI53(lo,hi){return(lo>>>0)+hi*4294967296}function _emscripten_glClientWaitSync(sync,flags,timeoutLo,timeoutHi){return GLctx.clientWaitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _emscripten_glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _emscripten_glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _emscripten_glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _emscripten_glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _emscripten_glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _emscripten_glCopyBufferSubData(x0,x1,x2,x3,x4){GLctx["copyBufferSubData"](x0,x1,x2,x3,x4)}function _emscripten_glCopyTexImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage2D(x0,x1,x2,x3,x4,x5,x6,x7){GLctx["copyTexSubImage2D"](x0,x1,x2,x3,x4,x5,x6,x7)}function _emscripten_glCopyTexSubImage3D(x0,x1,x2,x3,x4,x5,x6,x7,x8){GLctx["copyTexSubImage3D"](x0,x1,x2,x3,x4,x5,x6,x7,x8)}function _emscripten_glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _emscripten_glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _emscripten_glCullFace(x0){GLctx["cullFace"](x0)}function _emscripten_glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _emscripten_glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _emscripten_glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _emscripten_glDeleteQueries(n,ids){for(var i=0;i>2];var query=GL.queries[id];if(!query)continue;GLctx["deleteQuery"](query);GL.queries[id]=null}}function _emscripten_glDeleteQueriesEXT(n,ids){for(var i=0;i>2];var query=GL.timerQueriesEXT[id];if(!query)continue;GLctx.disjointTimerQueryExt["deleteQueryEXT"](query);GL.timerQueriesEXT[id]=null}}function _emscripten_glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _emscripten_glDeleteSamplers(n,samplers){for(var i=0;i>2];var sampler=GL.samplers[id];if(!sampler)continue;GLctx["deleteSampler"](sampler);sampler.name=0;GL.samplers[id]=null}}function _emscripten_glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _emscripten_glDeleteSync(id){if(!id)return;var sync=GL.syncs[id];if(!sync){GL.recordError(1281);return}GLctx.deleteSync(sync);sync.name=0;GL.syncs[id]=null}function _emscripten_glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _emscripten_glDeleteTransformFeedbacks(n,ids){for(var i=0;i>2];var transformFeedback=GL.transformFeedbacks[id];if(!transformFeedback)continue;GLctx["deleteTransformFeedback"](transformFeedback);transformFeedback.name=0;GL.transformFeedbacks[id]=null}}function _emscripten_glDeleteVertexArrays(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDeleteVertexArraysOES(n,vaos){for(var i=0;i>2];GLctx["deleteVertexArray"](GL.vaos[id]);GL.vaos[id]=null}}function _emscripten_glDepthFunc(x0){GLctx["depthFunc"](x0)}function _emscripten_glDepthMask(flag){GLctx.depthMask(!!flag)}function _emscripten_glDepthRangef(x0,x1){GLctx["depthRange"](x0,x1)}function _emscripten_glDetachShader(program,shader){GLctx.detachShader(GL.programs[program],GL.shaders[shader])}function _emscripten_glDisable(x0){GLctx["disable"](x0)}function _emscripten_glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _emscripten_glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _emscripten_glDrawArraysInstanced(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedANGLE(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedARB(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedEXT(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}function _emscripten_glDrawArraysInstancedNV(mode,first,count,primcount){GLctx["drawArraysInstanced"](mode,first,count,primcount)}var tempFixedLengthArray=[];function _emscripten_glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersEXT(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawBuffersWEBGL(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _emscripten_glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawElementsInstanced(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedANGLE(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedARB(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedEXT(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _emscripten_glDrawElementsInstancedNV(mode,count,type,indices,primcount){GLctx["drawElementsInstanced"](mode,count,type,indices,primcount)}function _glDrawElements(mode,count,type,indices){GLctx.drawElements(mode,count,type,indices)}function _emscripten_glDrawRangeElements(mode,start,end,count,type,indices){_glDrawElements(mode,count,type,indices)}function _emscripten_glEnable(x0){GLctx["enable"](x0)}function _emscripten_glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _emscripten_glEndQuery(x0){GLctx["endQuery"](x0)}function _emscripten_glEndQueryEXT(target){GLctx.disjointTimerQueryExt["endQueryEXT"](target)}function _emscripten_glEndTransformFeedback(){GLctx["endTransformFeedback"]()}function _emscripten_glFenceSync(condition,flags){var sync=GLctx.fenceSync(condition,flags);if(sync){var id=GL.getNewId(GL.syncs);sync.name=id;GL.syncs[id]=sync;return id}else{return 0}}function _emscripten_glFinish(){GLctx["finish"]()}function _emscripten_glFlush(){GLctx["flush"]()}function _emscripten_glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _emscripten_glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _emscripten_glFramebufferTextureLayer(target,attachment,texture,level,layer){GLctx.framebufferTextureLayer(target,attachment,GL.textures[texture],level,layer)}function _emscripten_glFrontFace(x0){GLctx["frontFace"](x0)}function __glGenObject(n,buffers,createFunction,objectTable){for(var i=0;i>2]=id}}function _emscripten_glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _emscripten_glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _emscripten_glGenQueries(n,ids){__glGenObject(n,ids,"createQuery",GL.queries)}function _emscripten_glGenQueriesEXT(n,ids){for(var i=0;i>2]=0;return}var id=GL.getNewId(GL.timerQueriesEXT);query.name=id;GL.timerQueriesEXT[id]=query;HEAP32[ids+i*4>>2]=id}}function _emscripten_glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _emscripten_glGenSamplers(n,samplers){__glGenObject(n,samplers,"createSampler",GL.samplers)}function _emscripten_glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _emscripten_glGenTransformFeedbacks(n,ids){__glGenObject(n,ids,"createTransformFeedback",GL.transformFeedbacks)}function _emscripten_glGenVertexArrays(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenVertexArraysOES(n,arrays){__glGenObject(n,arrays,"createVertexArray",GL.vaos)}function _emscripten_glGenerateMipmap(x0){GLctx["generateMipmap"](x0)}function __glGetActiveAttribOrUniform(funcName,program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx[funcName](program,index);if(info){var numBytesWrittenExclNull=name&&stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull;if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}}function _emscripten_glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _emscripten_glGetActiveUniformBlockName(program,uniformBlockIndex,bufSize,length,uniformBlockName){program=GL.programs[program];var result=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);if(!result)return;if(uniformBlockName&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(result,uniformBlockName,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}}function _emscripten_glGetActiveUniformBlockiv(program,uniformBlockIndex,pname,params){if(!params){GL.recordError(1281);return}program=GL.programs[program];switch(pname){case 35393:var name=GLctx["getActiveUniformBlockName"](program,uniformBlockIndex);HEAP32[params>>2]=name.length+1;return;default:var result=GLctx["getActiveUniformBlockParameter"](program,uniformBlockIndex,pname);if(!result)return;if(typeof result=="number"){HEAP32[params>>2]=result}else{for(var i=0;i>2]=result[i]}}}}function _emscripten_glGetActiveUniformsiv(program,uniformCount,uniformIndices,pname,params){if(!params){GL.recordError(1281);return}if(uniformCount>0&&uniformIndices==0){GL.recordError(1281);return}program=GL.programs[program];var ids=[];for(var i=0;i>2])}var result=GLctx["getActiveUniforms"](program,ids,pname);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetAttachedShaders(program,maxCount,count,shaders){var result=GLctx.getAttachedShaders(GL.programs[program]);var len=result.length;if(len>maxCount){len=maxCount}HEAP32[count>>2]=len;for(var i=0;i>2]=id}}function _emscripten_glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function writeI53ToI64(ptr,num){HEAPU32[ptr>>2]=num;HEAPU32[ptr+4>>2]=(num-HEAPU32[ptr>>2])/4294967296}function emscriptenWebGLGet(name_,p,type){if(!p){GL.recordError(1281);return}var ret=undefined;switch(name_){case 36346:ret=1;break;case 36344:if(type!=0&&type!=1){GL.recordError(1280)}return;case 34814:case 36345:ret=0;break;case 34466:var formats=GLctx.getParameter(34467);ret=formats?formats.length:0;break;case 33309:if(GL.currentContext.version<2){GL.recordError(1282);return}var exts=GLctx.getSupportedExtensions()||[];ret=2*exts.length;break;case 33307:case 33308:if(GL.currentContext.version<2){GL.recordError(1280);return}ret=name_==33307?3:0;break}if(ret===undefined){var result=GLctx.getParameter(name_);switch(typeof result){case"number":ret=result;break;case"boolean":ret=result?1:0;break;case"string":GL.recordError(1280);return;case"object":if(result===null){switch(name_){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:{ret=0;break}default:{GL.recordError(1280);return}}}else if(result instanceof Float32Array||result instanceof Uint32Array||result instanceof Int32Array||result instanceof Array){for(var i=0;i>2]=result[i];break;case 2:HEAPF32[p+i*4>>2]=result[i];break;case 4:HEAP8[p+i>>0]=result[i]?1:0;break}}return}else{try{ret=result.name|0}catch(e){GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Unknown object returned from WebGL getParameter("+name_+")! (error: "+e+")");return}}break;default:GL.recordError(1280);err("GL_INVALID_ENUM in glGet"+type+"v: Native code calling glGet"+type+"v("+name_+") and it returns "+result+" of type "+typeof result+"!");return}}switch(type){case 1:writeI53ToI64(p,ret);break;case 0:HEAP32[p>>2]=ret;break;case 2:HEAPF32[p>>2]=ret;break;case 4:HEAP8[p>>0]=ret?1:0;break}}function _emscripten_glGetBooleanv(name_,p){emscriptenWebGLGet(name_,p,4)}function _emscripten_glGetBufferParameteri64v(target,value,data){if(!data){GL.recordError(1281);return}writeI53ToI64(data,GLctx.getBufferParameter(target,value))}function _emscripten_glGetBufferParameteriv(target,value,data){if(!data){GL.recordError(1281);return}HEAP32[data>>2]=GLctx.getBufferParameter(target,value)}function _emscripten_glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _emscripten_glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _emscripten_glGetFragDataLocation(program,name){return GLctx["getFragDataLocation"](GL.programs[program],UTF8ToString(name))}function _emscripten_glGetFramebufferAttachmentParameteriv(target,attachment,pname,params){var result=GLctx.getFramebufferAttachmentParameter(target,attachment,pname);if(result instanceof WebGLRenderbuffer||result instanceof WebGLTexture){result=result.name|0}HEAP32[params>>2]=result}function emscriptenWebGLGetIndexed(target,index,data,type){if(!data){GL.recordError(1281);return}var result=GLctx["getIndexedParameter"](target,index);var ret;switch(typeof result){case"boolean":ret=result?1:0;break;case"number":ret=result;break;case"object":if(result===null){switch(target){case 35983:case 35368:ret=0;break;default:{GL.recordError(1280);return}}}else if(result instanceof WebGLBuffer){ret=result.name|0}else{GL.recordError(1280);return}break;default:GL.recordError(1280);return}switch(type){case 1:writeI53ToI64(data,ret);break;case 0:HEAP32[data>>2]=ret;break;case 2:HEAPF32[data>>2]=ret;break;case 4:HEAP8[data>>0]=ret?1:0;break;default:throw"internal emscriptenWebGLGetIndexed() error, bad type: "+type}}function _emscripten_glGetInteger64i_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,1)}function _emscripten_glGetInteger64v(name_,p){emscriptenWebGLGet(name_,p,1)}function _emscripten_glGetIntegeri_v(target,index,data){emscriptenWebGLGetIndexed(target,index,data,0)}function _emscripten_glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _emscripten_glGetInternalformativ(target,internalformat,pname,bufSize,params){if(bufSize<0){GL.recordError(1281);return}if(!params){GL.recordError(1281);return}var ret=GLctx["getInternalformatParameter"](target,internalformat,pname);if(ret===null)return;for(var i=0;i>2]=ret[i]}}function _emscripten_glGetProgramBinary(program,bufSize,length,binaryFormat,binary){GL.recordError(1282)}function _emscripten_glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _emscripten_glGetQueryObjecti64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectui64vEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}writeI53ToI64(params,ret)}function _emscripten_glGetQueryObjectuiv(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.queries[id];var param=GLctx["getQueryParameter"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryObjectuivEXT(id,pname,params){if(!params){GL.recordError(1281);return}var query=GL.timerQueriesEXT[id];var param=GLctx.disjointTimerQueryExt["getQueryObjectEXT"](query,pname);var ret;if(typeof param=="boolean"){ret=param?1:0}else{ret=param}HEAP32[params>>2]=ret}function _emscripten_glGetQueryiv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx["getQuery"](target,pname)}function _emscripten_glGetQueryivEXT(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.disjointTimerQueryExt["getQueryEXT"](target,pname)}function _emscripten_glGetRenderbufferParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getRenderbufferParameter(target,pname)}function _emscripten_glGetSamplerParameterfv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAPF32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetSamplerParameteriv(sampler,pname,params){if(!params){GL.recordError(1281);return}sampler=GL.samplers[sampler];HEAP32[params>>2]=GLctx["getSamplerParameter"](sampler,pname)}function _emscripten_glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderPrecisionFormat(shaderType,precisionType,range,precision){var result=GLctx.getShaderPrecisionFormat(shaderType,precisionType);HEAP32[range>>2]=result.rangeMin;HEAP32[range+4>>2]=result.rangeMax;HEAP32[precision>>2]=result.precision}function _emscripten_glGetShaderSource(shader,bufSize,length,source){var result=GLctx.getShaderSource(GL.shaders[shader]);if(!result)return;var numBytesWrittenExclNull=bufSize>0&&source?stringToUTF8(result,source,bufSize):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _emscripten_glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function stringToNewUTF8(jsString){var length=lengthBytesUTF8(jsString)+1;var cString=_malloc(length);stringToUTF8(jsString,cString,length);return cString}function _emscripten_glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _emscripten_glGetStringi(name,index){if(GL.currentContext.version<2){GL.recordError(1282);return 0}var stringiCache=GL.stringiCache[name];if(stringiCache){if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index]}switch(name){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));exts=exts.map(function(e){return stringToNewUTF8(e)});stringiCache=GL.stringiCache[name]=exts;if(index<0||index>=stringiCache.length){GL.recordError(1281);return 0}return stringiCache[index];default:GL.recordError(1280);return 0}}function _emscripten_glGetSynciv(sync,pname,bufSize,length,values){if(bufSize<0){GL.recordError(1281);return}if(!values){GL.recordError(1281);return}var ret=GLctx.getSyncParameter(GL.syncs[sync],pname);HEAP32[length>>2]=ret;if(ret!==null&&length)HEAP32[length>>2]=1}function _emscripten_glGetTexParameterfv(target,pname,params){if(!params){GL.recordError(1281);return}HEAPF32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTexParameteriv(target,pname,params){if(!params){GL.recordError(1281);return}HEAP32[params>>2]=GLctx.getTexParameter(target,pname)}function _emscripten_glGetTransformFeedbackVarying(program,index,bufSize,length,size,type,name){program=GL.programs[program];var info=GLctx["getTransformFeedbackVarying"](program,index);if(!info)return;if(name&&bufSize>0){var numBytesWrittenExclNull=stringToUTF8(info.name,name,bufSize);if(length)HEAP32[length>>2]=numBytesWrittenExclNull}else{if(length)HEAP32[length>>2]=0}if(size)HEAP32[size>>2]=info.size;if(type)HEAP32[type>>2]=info.type}function _emscripten_glGetUniformBlockIndex(program,uniformBlockName){return GLctx["getUniformBlockIndex"](GL.programs[program],UTF8ToString(uniformBlockName))}function _emscripten_glGetUniformIndices(program,uniformCount,uniformNames,uniformIndices){if(!uniformIndices){GL.recordError(1281);return}if(uniformCount>0&&(uniformNames==0||uniformIndices==0)){GL.recordError(1281);return}program=GL.programs[program];var names=[];for(var i=0;i>2]));var result=GLctx["getUniformIndices"](program,names);if(!result)return;var len=result.length;for(var i=0;i>2]=result[i]}}function _emscripten_glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex>2]=data;break;case 2:HEAPF32[params>>2]=data;break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break}}}}function _emscripten_glGetUniformfv(program,location,params){emscriptenWebGLGetUniform(program,location,params,2)}function _emscripten_glGetUniformiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function _emscripten_glGetUniformuiv(program,location,params){emscriptenWebGLGetUniform(program,location,params,0)}function emscriptenWebGLGetVertexAttrib(index,pname,params,type){if(!params){GL.recordError(1281);return}var data=GLctx.getVertexAttrib(index,pname);if(pname==34975){HEAP32[params>>2]=data&&data["name"]}else if(typeof data=="number"||typeof data=="boolean"){switch(type){case 0:HEAP32[params>>2]=data;break;case 2:HEAPF32[params>>2]=data;break;case 5:HEAP32[params>>2]=Math.fround(data);break}}else{for(var i=0;i>2]=data[i];break;case 2:HEAPF32[params+i*4>>2]=data[i];break;case 5:HEAP32[params+i*4>>2]=Math.fround(data[i]);break}}}}function _emscripten_glGetVertexAttribIiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribIuiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,0)}function _emscripten_glGetVertexAttribPointerv(index,pname,pointer){if(!pointer){GL.recordError(1281);return}HEAP32[pointer>>2]=GLctx.getVertexAttribOffset(index,pname)}function _emscripten_glGetVertexAttribfv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,2)}function _emscripten_glGetVertexAttribiv(index,pname,params){emscriptenWebGLGetVertexAttrib(index,pname,params,5)}function _emscripten_glHint(x0,x1){GLctx["hint"](x0,x1)}function _emscripten_glInvalidateFramebuffer(target,numAttachments,attachments){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateFramebuffer"](target,list)}function _emscripten_glInvalidateSubFramebuffer(target,numAttachments,attachments,x,y,width,height){var list=tempFixedLengthArray[numAttachments];for(var i=0;i>2]}GLctx["invalidateSubFramebuffer"](target,list,x,y,width,height)}function _emscripten_glIsBuffer(buffer){var b=GL.buffers[buffer];if(!b)return 0;return GLctx.isBuffer(b)}function _emscripten_glIsEnabled(x0){return GLctx["isEnabled"](x0)}function _emscripten_glIsFramebuffer(framebuffer){var fb=GL.framebuffers[framebuffer];if(!fb)return 0;return GLctx.isFramebuffer(fb)}function _emscripten_glIsProgram(program){program=GL.programs[program];if(!program)return 0;return GLctx.isProgram(program)}function _emscripten_glIsQuery(id){var query=GL.queries[id];if(!query)return 0;return GLctx["isQuery"](query)}function _emscripten_glIsQueryEXT(id){var query=GL.timerQueriesEXT[id];if(!query)return 0;return GLctx.disjointTimerQueryExt["isQueryEXT"](query)}function _emscripten_glIsRenderbuffer(renderbuffer){var rb=GL.renderbuffers[renderbuffer];if(!rb)return 0;return GLctx.isRenderbuffer(rb)}function _emscripten_glIsSampler(id){var sampler=GL.samplers[id];if(!sampler)return 0;return GLctx["isSampler"](sampler)}function _emscripten_glIsShader(shader){var s=GL.shaders[shader];if(!s)return 0;return GLctx.isShader(s)}function _emscripten_glIsSync(sync){return GLctx.isSync(GL.syncs[sync])}function _emscripten_glIsTexture(id){var texture=GL.textures[id];if(!texture)return 0;return GLctx.isTexture(texture)}function _emscripten_glIsTransformFeedback(id){return GLctx["isTransformFeedback"](GL.transformFeedbacks[id])}function _emscripten_glIsVertexArray(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glIsVertexArrayOES(array){var vao=GL.vaos[array];if(!vao)return 0;return GLctx["isVertexArray"](vao)}function _emscripten_glLineWidth(x0){GLctx["lineWidth"](x0)}function _emscripten_glLinkProgram(program){GLctx.linkProgram(GL.programs[program]);GL.populateUniformTable(program)}function _emscripten_glPauseTransformFeedback(){GLctx["pauseTransformFeedback"]()}function _emscripten_glPixelStorei(pname,param){if(pname==3317){GL.unpackAlignment=param}GLctx.pixelStorei(pname,param)}function _emscripten_glPolygonOffset(x0,x1){GLctx["polygonOffset"](x0,x1)}function _emscripten_glProgramBinary(program,binaryFormat,binary,length){GL.recordError(1280)}function _emscripten_glProgramParameteri(program,pname,value){GL.recordError(1280)}function _emscripten_glQueryCounterEXT(id,target){GLctx.disjointTimerQueryExt["queryCounterEXT"](GL.timerQueriesEXT[id],target)}function _emscripten_glReadBuffer(x0){GLctx["readBuffer"](x0)}function computeUnpackAlignedImageSize(width,height,sizePerPixel,alignment){function roundedToNextMultipleOf(x,y){return x+y-1&-y}var plainRowSize=width*sizePerPixel;var alignedRowSize=roundedToNextMultipleOf(plainRowSize,alignment);return height*alignedRowSize}function __colorChannelsInGlTextureFormat(format){var colorChannels={5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4};return colorChannels[format-6402]||1}function heapObjectForWebGLType(type){type-=5120;if(type==0)return HEAP8;if(type==1)return HEAPU8;if(type==2)return HEAP16;if(type==4)return HEAP32;if(type==6)return HEAPF32;if(type==5||type==28922||type==28520||type==30779||type==30782)return HEAPU32;return HEAPU16}function heapAccessShiftForWebGLHeap(heap){return 31-Math.clz32(heap.BYTES_PER_ELEMENT)}function emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat){var heap=heapObjectForWebGLType(type);var shift=heapAccessShiftForWebGLHeap(heap);var byteSize=1<>shift,pixels+bytes>>shift)}function _emscripten_glReadPixels(x,y,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _emscripten_glReleaseShaderCompiler(){}function _emscripten_glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _emscripten_glRenderbufferStorageMultisample(x0,x1,x2,x3,x4){GLctx["renderbufferStorageMultisample"](x0,x1,x2,x3,x4)}function _emscripten_glResumeTransformFeedback(){GLctx["resumeTransformFeedback"]()}function _emscripten_glSampleCoverage(value,invert){GLctx.sampleCoverage(value,!!invert)}function _emscripten_glSamplerParameterf(sampler,pname,param){GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameterfv(sampler,pname,params){var param=HEAPF32[params>>2];GLctx["samplerParameterf"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteri(sampler,pname,param){GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glSamplerParameteriv(sampler,pname,params){var param=HEAP32[params>>2];GLctx["samplerParameteri"](GL.samplers[sampler],pname,param)}function _emscripten_glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _emscripten_glShaderBinary(){GL.recordError(1280)}function _emscripten_glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _emscripten_glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _emscripten_glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _emscripten_glStencilMask(x0){GLctx["stencilMask"](x0)}function _emscripten_glStencilMaskSeparate(x0,x1){GLctx["stencilMaskSeparate"](x0,x1)}function _emscripten_glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _emscripten_glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _emscripten_glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _emscripten_glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _emscripten_glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _emscripten_glTexParameterfv(target,pname,params){var param=HEAPF32[params>>2];GLctx.texParameterf(target,pname,param)}function _emscripten_glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _emscripten_glTexParameteriv(target,pname,params){var param=HEAP32[params>>2];GLctx.texParameteri(target,pname,param)}function _emscripten_glTexStorage2D(x0,x1,x2,x3,x4){GLctx["texStorage2D"](x0,x1,x2,x3,x4)}function _emscripten_glTexStorage3D(x0,x1,x2,x3,x4,x5){GLctx["texStorage3D"](x0,x1,x2,x3,x4,x5)}function _emscripten_glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _emscripten_glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _emscripten_glTransformFeedbackVaryings(program,count,varyings,bufferMode){program=GL.programs[program];var vars=[];for(var i=0;i>2]));GLctx["transformFeedbackVaryings"](program,vars,bufferMode)}function _emscripten_glUniform1f(location,v0){GLctx.uniform1f(GL.uniforms[location],v0)}var miniTempWebGLFloatBuffers=[];function _emscripten_glUniform1fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1fv(GL.uniforms[location],HEAPF32,value>>2,count);return}if(count<=288){var view=miniTempWebGLFloatBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1fv(GL.uniforms[location],view)}function _emscripten_glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}var __miniTempWebGLIntBuffers=[];function _emscripten_glUniform1iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform1iv(GL.uniforms[location],HEAP32,value>>2,count);return}if(count<=288){var view=__miniTempWebGLIntBuffers[count-1];for(var i=0;i>2]}}else{var view=HEAP32.subarray(value>>2,value+count*4>>2)}GLctx.uniform1iv(GL.uniforms[location],view)}function _emscripten_glUniform1ui(location,v0){GLctx.uniform1ui(GL.uniforms[location],v0)}function _emscripten_glUniform1uiv(location,count,value){GLctx.uniform1uiv(GL.uniforms[location],HEAPU32,value>>2,count)}function _emscripten_glUniform2f(location,v0,v1){GLctx.uniform2f(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2fv(GL.uniforms[location],HEAPF32,value>>2,count*2);return}if(count<=144){var view=miniTempWebGLFloatBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(GL.uniforms[location],view)}function _emscripten_glUniform2i(location,v0,v1){GLctx.uniform2i(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform2iv(GL.uniforms[location],HEAP32,value>>2,count*2);return}if(count<=144){var view=__miniTempWebGLIntBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2iv(GL.uniforms[location],view)}function _emscripten_glUniform2ui(location,v0,v1){GLctx.uniform2ui(GL.uniforms[location],v0,v1)}function _emscripten_glUniform2uiv(location,count,value){GLctx.uniform2uiv(GL.uniforms[location],HEAPU32,value>>2,count*2)}function _emscripten_glUniform3f(location,v0,v1,v2){GLctx.uniform3f(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3fv(GL.uniforms[location],HEAPF32,value>>2,count*3);return}if(count<=96){var view=miniTempWebGLFloatBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(GL.uniforms[location],view)}function _emscripten_glUniform3i(location,v0,v1,v2){GLctx.uniform3i(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform3iv(GL.uniforms[location],HEAP32,value>>2,count*3);return}if(count<=96){var view=__miniTempWebGLIntBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3iv(GL.uniforms[location],view)}function _emscripten_glUniform3ui(location,v0,v1,v2){GLctx.uniform3ui(GL.uniforms[location],v0,v1,v2)}function _emscripten_glUniform3uiv(location,count,value){GLctx.uniform3uiv(GL.uniforms[location],HEAPU32,value>>2,count*3)}function _emscripten_glUniform4f(location,v0,v1,v2,v3){GLctx.uniform4f(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _emscripten_glUniform4i(location,v0,v1,v2,v3){GLctx.uniform4i(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4iv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4iv(GL.uniforms[location],HEAP32,value>>2,count*4);return}if(count<=72){var view=__miniTempWebGLIntBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2];view[i+3]=HEAP32[value+(4*i+12)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4iv(GL.uniforms[location],view)}function _emscripten_glUniform4ui(location,v0,v1,v2,v3){GLctx.uniform4ui(GL.uniforms[location],v0,v1,v2,v3)}function _emscripten_glUniform4uiv(location,count,value){GLctx.uniform4uiv(GL.uniforms[location],HEAPU32,value>>2,count*4)}function _emscripten_glUniformBlockBinding(program,uniformBlockIndex,uniformBlockBinding){program=GL.programs[program];GLctx["uniformBlockBinding"](program,uniformBlockIndex,uniformBlockBinding)}function _emscripten_glUniformMatrix2fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniformMatrix2fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix2x3fv(location,count,transpose,value){GLctx.uniformMatrix2x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix2x4fv(location,count,transpose,value){GLctx.uniformMatrix2x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix3fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*9);return}if(count<=32){var view=miniTempWebGLFloatBuffers[9*count-1];for(var i=0;i<9*count;i+=9){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2];view[i+3]=HEAPF32[value+(4*i+12)>>2];view[i+4]=HEAPF32[value+(4*i+16)>>2];view[i+5]=HEAPF32[value+(4*i+20)>>2];view[i+6]=HEAPF32[value+(4*i+24)>>2];view[i+7]=HEAPF32[value+(4*i+28)>>2];view[i+8]=HEAPF32[value+(4*i+32)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*36>>2)}GLctx.uniformMatrix3fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix3x2fv(location,count,transpose,value){GLctx.uniformMatrix3x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*6)}function _emscripten_glUniformMatrix3x4fv(location,count,transpose,value){GLctx.uniformMatrix3x4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _emscripten_glUniformMatrix4x2fv(location,count,transpose,value){GLctx.uniformMatrix4x2fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*8)}function _emscripten_glUniformMatrix4x3fv(location,count,transpose,value){GLctx.uniformMatrix4x3fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*12)}function _emscripten_glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _emscripten_glValidateProgram(program){GLctx.validateProgram(GL.programs[program])}function _emscripten_glVertexAttrib1f(x0,x1){GLctx["vertexAttrib1f"](x0,x1)}function _emscripten_glVertexAttrib1fv(index,v){GLctx.vertexAttrib1f(index,HEAPF32[v>>2])}function _emscripten_glVertexAttrib2f(x0,x1,x2){GLctx["vertexAttrib2f"](x0,x1,x2)}function _emscripten_glVertexAttrib2fv(index,v){GLctx.vertexAttrib2f(index,HEAPF32[v>>2],HEAPF32[v+4>>2])}function _emscripten_glVertexAttrib3f(x0,x1,x2,x3){GLctx["vertexAttrib3f"](x0,x1,x2,x3)}function _emscripten_glVertexAttrib3fv(index,v){GLctx.vertexAttrib3f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2])}function _emscripten_glVertexAttrib4f(x0,x1,x2,x3,x4){GLctx["vertexAttrib4f"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttrib4fv(index,v){GLctx.vertexAttrib4f(index,HEAPF32[v>>2],HEAPF32[v+4>>2],HEAPF32[v+8>>2],HEAPF32[v+12>>2])}function _emscripten_glVertexAttribDivisor(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorANGLE(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorARB(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorEXT(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribDivisorNV(index,divisor){GLctx["vertexAttribDivisor"](index,divisor)}function _emscripten_glVertexAttribI4i(x0,x1,x2,x3,x4){GLctx["vertexAttribI4i"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4iv(index,v){GLctx.vertexAttribI4i(index,HEAP32[v>>2],HEAP32[v+4>>2],HEAP32[v+8>>2],HEAP32[v+12>>2])}function _emscripten_glVertexAttribI4ui(x0,x1,x2,x3,x4){GLctx["vertexAttribI4ui"](x0,x1,x2,x3,x4)}function _emscripten_glVertexAttribI4uiv(index,v){GLctx.vertexAttribI4ui(index,HEAPU32[v>>2],HEAPU32[v+4>>2],HEAPU32[v+8>>2],HEAPU32[v+12>>2])}function _emscripten_glVertexAttribIPointer(index,size,type,stride,ptr){GLctx["vertexAttribIPointer"](index,size,type,stride,ptr)}function _emscripten_glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _emscripten_glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}function _emscripten_glWaitSync(sync,flags,timeoutLo,timeoutHi){GLctx.waitSync(GL.syncs[sync],flags,convertI32PairToI53(timeoutLo,timeoutHi))}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_pause_main_loop(){Browser.mainLoop.pause()}function _emscripten_get_heap_size(){return HEAPU8.length}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){requestedSize=requestedSize>>>0;var oldSize=_emscripten_get_heap_size();var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}var minHeapSize=16777216;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(minHeapSize,requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_set_main_loop_arg(func,arg,fps,simulateInfiniteLoop){var browserIterationFunc=function(){wasmTable.get(func)(arg)};setMainLoop(browserIterationFunc,fps,simulateInfiniteLoop,arg)}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}var GAI_ERRNO_MESSAGES={};function _gai_strerror(val){var buflen=256;if(!_gai_strerror.buffer){_gai_strerror.buffer=_malloc(buflen);GAI_ERRNO_MESSAGES["0"]="Success";GAI_ERRNO_MESSAGES[""+-1]="Invalid value for 'ai_flags' field";GAI_ERRNO_MESSAGES[""+-2]="NAME or SERVICE is unknown";GAI_ERRNO_MESSAGES[""+-3]="Temporary failure in name resolution";GAI_ERRNO_MESSAGES[""+-4]="Non-recoverable failure in name res";GAI_ERRNO_MESSAGES[""+-6]="'ai_family' not supported";GAI_ERRNO_MESSAGES[""+-7]="'ai_socktype' not supported";GAI_ERRNO_MESSAGES[""+-8]="SERVICE not supported for 'ai_socktype'";GAI_ERRNO_MESSAGES[""+-10]="Memory allocation failure";GAI_ERRNO_MESSAGES[""+-11]="System error returned in 'errno'";GAI_ERRNO_MESSAGES[""+-12]="Argument buffer overflow"}var msg="Unknown error";if(val in GAI_ERRNO_MESSAGES){if(GAI_ERRNO_MESSAGES[val].length>buflen-1){msg="Message too long"}else{msg=GAI_ERRNO_MESSAGES[val]}}writeAsciiToMemory(msg,_gai_strerror.buffer);return _gai_strerror.buffer}function _getTempRet0(){return getTempRet0()|0}function _getaddrinfo(node,service,hint,out){var addr=0;var port=0;var flags=0;var family=0;var type=0;var proto=0;var ai;function allocaddrinfo(family,type,proto,canon,addr,port){var sa,salen,ai;var errno;salen=family===10?28:16;addr=family===10?__inet_ntop6_raw(addr):__inet_ntop4_raw(addr);sa=_malloc(salen);errno=__write_sockaddr(sa,family,addr,port);assert(!errno);ai=_malloc(32);HEAP32[ai+4>>2]=family;HEAP32[ai+8>>2]=type;HEAP32[ai+12>>2]=proto;HEAP32[ai+24>>2]=canon;HEAP32[ai+20>>2]=sa;if(family===10){HEAP32[ai+16>>2]=28}else{HEAP32[ai+16>>2]=16}HEAP32[ai+28>>2]=0;return ai}if(hint){flags=HEAP32[hint>>2];family=HEAP32[hint+4>>2];type=HEAP32[hint+8>>2];proto=HEAP32[hint+12>>2]}if(type&&!proto){proto=type===2?17:6}if(!type&&proto){type=proto===17?2:1}if(proto===0){proto=6}if(type===0){type=1}if(!node&&!service){return-2}if(flags&~(1|2|4|1024|8|16|32)){return-1}if(hint!==0&&HEAP32[hint>>2]&2&&!node){return-1}if(flags&32){return-2}if(type!==0&&type!==1&&type!==2){return-7}if(family!==0&&family!==2&&family!==10){return-6}if(service){service=UTF8ToString(service);port=parseInt(service,10);if(isNaN(port)){if(flags&1024){return-2}return-8}}if(!node){if(family===0){family=2}if((flags&1)===0){if(family===2){addr=_htonl(2130706433)}else{addr=[0,0,0,1]}}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}node=UTF8ToString(node);addr=__inet_pton4_raw(node);if(addr!==null){if(family===0||family===2){family=2}else if(family===10&&flags&8){addr=[0,0,_htonl(65535),addr];family=10}else{return-2}}else{addr=__inet_pton6_raw(node);if(addr!==null){if(family===0||family===10){family=10}else{return-2}}}if(addr!=null){ai=allocaddrinfo(family,type,proto,node,addr,port);HEAP32[out>>2]=ai;return 0}if(flags&4){return-2}node=DNS.lookup_name(node);addr=__inet_pton4_raw(node);if(family===0){family=2}else if(family===10){addr=[0,0,_htonl(65535),addr]}ai=allocaddrinfo(family,type,proto,null,addr,port);HEAP32[out>>2]=ai;return 0}function getHostByName(name){var ret=_malloc(20);var nameBuf=_malloc(name.length+1);stringToUTF8(name,nameBuf,name.length+1);HEAP32[ret>>2]=nameBuf;var aliasesBuf=_malloc(4);HEAP32[aliasesBuf>>2]=0;HEAP32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAP32[addrListBuf>>2]=addrListBuf+8;HEAP32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=__inet_pton4_raw(DNS.lookup_name(name));HEAP32[ret+16>>2]=addrListBuf;return ret}function _gethostbyaddr(addr,addrlen,type){if(type!==2){setErrNo(5);return null}addr=HEAP32[addr>>2];var host=__inet_ntop4_raw(addr);var lookup=DNS.lookup_addr(host);if(lookup){host=lookup}return getHostByName(host)}function _gethostbyname(name){return getHostByName(UTF8ToString(name))}function _getnameinfo(sa,salen,node,nodelen,serv,servlen,flags){var info=__read_sockaddr(sa,salen);if(info.errno){return-6}var port=info.port;var addr=info.addr;var overflowed=false;if(node&&nodelen){var lookup;if(flags&1||!(lookup=DNS.lookup_addr(addr))){if(flags&8){return-2}}else{addr=lookup}var numBytesWrittenExclNull=stringToUTF8(addr,node,nodelen);if(numBytesWrittenExclNull+1>=nodelen){overflowed=true}}if(serv&&servlen){port=""+port;var numBytesWrittenExclNull=stringToUTF8(port,serv,servlen);if(numBytesWrittenExclNull+1>=servlen){overflowed=true}}if(overflowed){return-12}return 0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _glActiveTexture(x0){GLctx["activeTexture"](x0)}function _glAttachShader(program,shader){GLctx.attachShader(GL.programs[program],GL.shaders[shader])}function _glBindBuffer(target,buffer){if(target==35051){GLctx.currentPixelPackBufferBinding=buffer}else if(target==35052){GLctx.currentPixelUnpackBufferBinding=buffer}GLctx.bindBuffer(target,GL.buffers[buffer])}function _glBindFramebuffer(target,framebuffer){GLctx.bindFramebuffer(target,GL.framebuffers[framebuffer])}function _glBindRenderbuffer(target,renderbuffer){GLctx.bindRenderbuffer(target,GL.renderbuffers[renderbuffer])}function _glBindTexture(target,texture){GLctx.bindTexture(target,GL.textures[texture])}function _glBlendFunc(x0,x1){GLctx["blendFunc"](x0,x1)}function _glBufferData(target,size,data,usage){if(GL.currentContext.version>=2){if(data){GLctx.bufferData(target,HEAPU8,usage,data,size)}else{GLctx.bufferData(target,size,usage)}}else{GLctx.bufferData(target,data?HEAPU8.subarray(data,data+size):size,usage)}}function _glBufferSubData(target,offset,size,data){if(GL.currentContext.version>=2){GLctx.bufferSubData(target,offset,HEAPU8,data,size);return}GLctx.bufferSubData(target,offset,HEAPU8.subarray(data,data+size))}function _glCheckFramebufferStatus(x0){return GLctx["checkFramebufferStatus"](x0)}function _glClear(x0){GLctx["clear"](x0)}function _glClearColor(x0,x1,x2,x3){GLctx["clearColor"](x0,x1,x2,x3)}function _glClearDepthf(x0){GLctx["clearDepth"](x0)}function _glClearStencil(x0){GLctx["clearStencil"](x0)}function _glColorMask(red,green,blue,alpha){GLctx.colorMask(!!red,!!green,!!blue,!!alpha)}function _glCompileShader(shader){GLctx.compileShader(GL.shaders[shader])}function _glCompressedTexImage2D(target,level,internalFormat,width,height,border,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,imageSize,data)}else{GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,HEAPU8,data,imageSize)}return}GLctx["compressedTexImage2D"](target,level,internalFormat,width,height,border,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexImage3D(target,level,internalFormat,width,height,depth,border,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,imageSize,data)}else{GLctx["compressedTexImage3D"](target,level,internalFormat,width,height,depth,border,HEAPU8,data,imageSize)}}function _glCompressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,imageSize,data){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,imageSize,data)}else{GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,HEAPU8,data,imageSize)}return}GLctx["compressedTexSubImage2D"](target,level,xoffset,yoffset,width,height,format,data?HEAPU8.subarray(data,data+imageSize):null)}function _glCompressedTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data){if(GLctx.currentPixelUnpackBufferBinding){GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)}else{GLctx["compressedTexSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,HEAPU8,data,imageSize)}}function _glCreateProgram(){var id=GL.getNewId(GL.programs);var program=GLctx.createProgram();program.name=id;GL.programs[id]=program;return id}function _glCreateShader(shaderType){var id=GL.getNewId(GL.shaders);GL.shaders[id]=GLctx.createShader(shaderType);return id}function _glCullFace(x0){GLctx["cullFace"](x0)}function _glDeleteBuffers(n,buffers){for(var i=0;i>2];var buffer=GL.buffers[id];if(!buffer)continue;GLctx.deleteBuffer(buffer);buffer.name=0;GL.buffers[id]=null;if(id==GLctx.currentPixelPackBufferBinding)GLctx.currentPixelPackBufferBinding=0;if(id==GLctx.currentPixelUnpackBufferBinding)GLctx.currentPixelUnpackBufferBinding=0}}function _glDeleteFramebuffers(n,framebuffers){for(var i=0;i>2];var framebuffer=GL.framebuffers[id];if(!framebuffer)continue;GLctx.deleteFramebuffer(framebuffer);framebuffer.name=0;GL.framebuffers[id]=null}}function _glDeleteProgram(id){if(!id)return;var program=GL.programs[id];if(!program){GL.recordError(1281);return}GLctx.deleteProgram(program);program.name=0;GL.programs[id]=null;GL.programInfos[id]=null}function _glDeleteRenderbuffers(n,renderbuffers){for(var i=0;i>2];var renderbuffer=GL.renderbuffers[id];if(!renderbuffer)continue;GLctx.deleteRenderbuffer(renderbuffer);renderbuffer.name=0;GL.renderbuffers[id]=null}}function _glDeleteShader(id){if(!id)return;var shader=GL.shaders[id];if(!shader){GL.recordError(1281);return}GLctx.deleteShader(shader);GL.shaders[id]=null}function _glDeleteTextures(n,textures){for(var i=0;i>2];var texture=GL.textures[id];if(!texture)continue;GLctx.deleteTexture(texture);texture.name=0;GL.textures[id]=null}}function _glDepthFunc(x0){GLctx["depthFunc"](x0)}function _glDepthMask(flag){GLctx.depthMask(!!flag)}function _glDisable(x0){GLctx["disable"](x0)}function _glDisableVertexAttribArray(index){GLctx.disableVertexAttribArray(index)}function _glDrawArrays(mode,first,count){GLctx.drawArrays(mode,first,count)}function _glDrawBuffers(n,bufs){var bufArray=tempFixedLengthArray[n];for(var i=0;i>2]}GLctx["drawBuffers"](bufArray)}function _glEnable(x0){GLctx["enable"](x0)}function _glEnableVertexAttribArray(index){GLctx.enableVertexAttribArray(index)}function _glFlush(){GLctx["flush"]()}function _glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer){GLctx.framebufferRenderbuffer(target,attachment,renderbuffertarget,GL.renderbuffers[renderbuffer])}function _glFramebufferTexture2D(target,attachment,textarget,texture,level){GLctx.framebufferTexture2D(target,attachment,textarget,GL.textures[texture],level)}function _glFrontFace(x0){GLctx["frontFace"](x0)}function _glGenBuffers(n,buffers){__glGenObject(n,buffers,"createBuffer",GL.buffers)}function _glGenFramebuffers(n,ids){__glGenObject(n,ids,"createFramebuffer",GL.framebuffers)}function _glGenRenderbuffers(n,renderbuffers){__glGenObject(n,renderbuffers,"createRenderbuffer",GL.renderbuffers)}function _glGenTextures(n,textures){__glGenObject(n,textures,"createTexture",GL.textures)}function _glGetActiveAttrib(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveAttrib",program,index,bufSize,length,size,type,name)}function _glGetActiveUniform(program,index,bufSize,length,size,type,name){__glGetActiveAttribOrUniform("getActiveUniform",program,index,bufSize,length,size,type,name)}function _glGetAttribLocation(program,name){return GLctx.getAttribLocation(GL.programs[program],UTF8ToString(name))}function _glGetError(){var error=GLctx.getError()||GL.lastError;GL.lastError=0;return error}function _glGetFloatv(name_,p){emscriptenWebGLGet(name_,p,2)}function _glGetIntegerv(name_,p){emscriptenWebGLGet(name_,p,0)}function _glGetProgramInfoLog(program,maxLength,length,infoLog){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetProgramiv(program,pname,p){if(!p){GL.recordError(1281);return}if(program>=GL.counter){GL.recordError(1281);return}var ptable=GL.programInfos[program];if(!ptable){GL.recordError(1282);return}if(pname==35716){var log=GLctx.getProgramInfoLog(GL.programs[program]);if(log===null)log="(unknown error)";HEAP32[p>>2]=log.length+1}else if(pname==35719){HEAP32[p>>2]=ptable.maxUniformLength}else if(pname==35722){if(ptable.maxAttributeLength==-1){program=GL.programs[program];var numAttribs=GLctx.getProgramParameter(program,35721);ptable.maxAttributeLength=0;for(var i=0;i>2]=ptable.maxAttributeLength}else if(pname==35381){if(ptable.maxUniformBlockNameLength==-1){program=GL.programs[program];var numBlocks=GLctx.getProgramParameter(program,35382);ptable.maxUniformBlockNameLength=0;for(var i=0;i>2]=ptable.maxUniformBlockNameLength}else{HEAP32[p>>2]=GLctx.getProgramParameter(GL.programs[program],pname)}}function _glGetShaderInfoLog(shader,maxLength,length,infoLog){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var numBytesWrittenExclNull=maxLength>0&&infoLog?stringToUTF8(log,infoLog,maxLength):0;if(length)HEAP32[length>>2]=numBytesWrittenExclNull}function _glGetShaderiv(shader,pname,p){if(!p){GL.recordError(1281);return}if(pname==35716){var log=GLctx.getShaderInfoLog(GL.shaders[shader]);if(log===null)log="(unknown error)";var logLength=log?log.length+1:0;HEAP32[p>>2]=logLength}else if(pname==35720){var source=GLctx.getShaderSource(GL.shaders[shader]);var sourceLength=source?source.length+1:0;HEAP32[p>>2]=sourceLength}else{HEAP32[p>>2]=GLctx.getShaderParameter(GL.shaders[shader],pname)}}function _glGetString(name_){if(GL.stringCache[name_])return GL.stringCache[name_];var ret;switch(name_){case 7939:var exts=GLctx.getSupportedExtensions()||[];exts=exts.concat(exts.map(function(e){return"GL_"+e}));ret=stringToNewUTF8(exts.join(" "));break;case 7936:case 7937:case 37445:case 37446:var s=GLctx.getParameter(name_);if(!s){GL.recordError(1280)}ret=stringToNewUTF8(s);break;case 7938:var glVersion=GLctx.getParameter(7938);if(GL.currentContext.version>=2)glVersion="OpenGL ES 3.0 ("+glVersion+")";else{glVersion="OpenGL ES 2.0 ("+glVersion+")"}ret=stringToNewUTF8(glVersion);break;case 35724:var glslVersion=GLctx.getParameter(35724);var ver_re=/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/;var ver_num=glslVersion.match(ver_re);if(ver_num!==null){if(ver_num[1].length==3)ver_num[1]=ver_num[1]+"0";glslVersion="OpenGL ES GLSL ES "+ver_num[1]+" ("+glslVersion+")"}ret=stringToNewUTF8(glslVersion);break;default:GL.recordError(1280);return 0}GL.stringCache[name_]=ret;return ret}function _glGetUniformLocation(program,name){name=UTF8ToString(name);var arrayIndex=0;if(name[name.length-1]=="]"){var leftBrace=name.lastIndexOf("[");arrayIndex=name[leftBrace+1]!="]"?jstoi_q(name.slice(leftBrace+1)):0;name=name.slice(0,leftBrace)}var uniformInfo=GL.programInfos[program]&&GL.programInfos[program].uniforms[name];if(uniformInfo&&arrayIndex>=0&&arrayIndex=2){if(GLctx.currentPixelPackBufferBinding){GLctx.readPixels(x,y,width,height,format,type,pixels)}else{var heap=heapObjectForWebGLType(type);GLctx.readPixels(x,y,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}return}var pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,format);if(!pixelData){GL.recordError(1280);return}GLctx.readPixels(x,y,width,height,format,type,pixelData)}function _glRenderbufferStorage(x0,x1,x2,x3){GLctx["renderbufferStorage"](x0,x1,x2,x3)}function _glScissor(x0,x1,x2,x3){GLctx["scissor"](x0,x1,x2,x3)}function _glShaderSource(shader,count,string,length){var source=GL.getSource(shader,count,string,length);GLctx.shaderSource(GL.shaders[shader],source)}function _glStencilFunc(x0,x1,x2){GLctx["stencilFunc"](x0,x1,x2)}function _glStencilFuncSeparate(x0,x1,x2,x3){GLctx["stencilFuncSeparate"](x0,x1,x2,x3)}function _glStencilMask(x0){GLctx["stencilMask"](x0)}function _glStencilOp(x0,x1,x2){GLctx["stencilOp"](x0,x1,x2)}function _glStencilOpSeparate(x0,x1,x2,x3){GLctx["stencilOpSeparate"](x0,x1,x2,x3)}function _glTexImage2D(target,level,internalFormat,width,height,border,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,null)}return}GLctx.texImage2D(target,level,internalFormat,width,height,border,format,type,pixels?emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,internalFormat):null)}function _glTexImage3D(target,level,internalFormat,width,height,depth,border,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texImage3D"](target,level,internalFormat,width,height,depth,border,format,type,null)}}function _glTexParameterf(x0,x1,x2){GLctx["texParameterf"](x0,x1,x2)}function _glTexParameteri(x0,x1,x2){GLctx["texParameteri"](x0,x1,x2)}function _glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels){if(GL.currentContext.version>=2){if(GLctx.currentPixelUnpackBufferBinding){GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,null)}return}var pixelData=null;if(pixels)pixelData=emscriptenWebGLGetTexPixelData(type,format,width,height,pixels,0);GLctx.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixelData)}function _glTexSubImage3D(target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels){if(GLctx.currentPixelUnpackBufferBinding){GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)}else if(pixels){var heap=heapObjectForWebGLType(type);GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,heap,pixels>>heapAccessShiftForWebGLHeap(heap))}else{GLctx["texSubImage3D"](target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,null)}}function _glUniform1i(location,v0){GLctx.uniform1i(GL.uniforms[location],v0)}function _glUniform4fv(location,count,value){if(GL.currentContext.version>=2){GLctx.uniform4fv(GL.uniforms[location],HEAPF32,value>>2,count*4);return}if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(GL.uniforms[location],view)}function _glUniformMatrix4fv(location,count,transpose,value){if(GL.currentContext.version>=2){GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,HEAPF32,value>>2,count*16);return}if(count<=18){var view=miniTempWebGLFloatBuffers[16*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<16*count;i+=16){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3];view[i+4]=heap[dst+4];view[i+5]=heap[dst+5];view[i+6]=heap[dst+6];view[i+7]=heap[dst+7];view[i+8]=heap[dst+8];view[i+9]=heap[dst+9];view[i+10]=heap[dst+10];view[i+11]=heap[dst+11];view[i+12]=heap[dst+12];view[i+13]=heap[dst+13];view[i+14]=heap[dst+14];view[i+15]=heap[dst+15]}}else{var view=HEAPF32.subarray(value>>2,value+count*64>>2)}GLctx.uniformMatrix4fv(GL.uniforms[location],!!transpose,view)}function _glUseProgram(program){GLctx.useProgram(GL.programs[program])}function _glVertexAttribPointer(index,size,type,normalized,stride,ptr){GLctx.vertexAttribPointer(index,size,type,!!normalized,stride,ptr)}function _glViewport(x0,x1,x2,x3){GLctx["viewport"](x0,x1,x2,x3)}var GLFW={keyFunc:null,charFunc:null,markedTextFunc:null,gamepadFunc:null,mouseButtonFunc:null,mousePosFunc:null,mouseWheelFunc:null,resizeFunc:null,closeFunc:null,refreshFunc:null,focusFunc:null,iconifyFunc:null,touchFunc:null,params:null,initTime:null,wheelPos:0,buttons:0,keys:0,initWindowWidth:640,initWindowHeight:480,windowX:0,windowY:0,windowWidth:0,windowHeight:0,prevWidth:0,prevHeight:0,prevNonFSWidth:0,prevNonFSHeight:0,isFullscreen:false,isPointerLocked:false,dpi:1,mouseTouchId:null,DOMToGLFWKeyCode:function(keycode,code){switch(keycode){case 8:return 295;case 9:return 293;case 13:return 294;case 27:return 257;case 106:return 313;case 107:return 315;case 109:return 314;case 110:return 316;case 111:return 312;case 112:return 258;case 113:return 259;case 114:return 260;case 115:return 261;case 116:return 262;case 117:return 263;case 118:return 264;case 119:return 265;case 120:return 266;case 121:return 267;case 122:return 268;case 123:return 269;case 37:return 285;case 38:return 283;case 39:return 286;case 40:return 284;case 33:return 298;case 34:return 299;case 36:return 300;case 35:return 301;case 45:return 296;case 16:return 287;case 5:return 287;case 6:return 288;case 17:return 289;case 3:return 289;case 4:return 290;case 18:return 291;case 2:return 291;case 1:return 292;case 96:return 302;case 97:return 303;case 98:return 304;case 99:return 305;case 100:return 306;case 101:return 307;case 102:return 308;case 103:return 309;case 104:return 310;case 105:return 311}switch(code){case"Minus":return 45;case"Period":return 46;case"Comma":return 44;case"Slash":return 47;case"Backslash":return 92;case"IntlRo":return 92;case"IntlYen":return 92;case"IntlBackslash":return 92;case"Backquote":return 96;case"BracketLeft":return 91;case"BracketRight":return 93;case"Equal":return 61;case"Quote":return 39;case"Semicolon":return 59;case"NumpadComma":return 316}return keycode},DOMtoGLFWButton:function(button){if(button==1){button=2}else if(button==2){button=1}return button},getUnicodeChar:function(value){var output="";if(value>65535){value-=65536;output+=String.fromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=String.fromCharCode(value);return output},addEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.addEventListener(type,listener,useCapture)}},removeEventListener:function(type,listener,useCapture){if(typeof window!=="undefined"){window.removeEventListener(type,listener,useCapture)}},addEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].addEventListener(type,listener,useCapture)}},removeEventListenerCanvas:function(type,listener,useCapture){if(typeof Module["canvas"]!=="undefined"){Module["canvas"].removeEventListener(type,listener,useCapture)}},isCanvasActive:function(event){var res=typeof document.activeElement=="undefined"||document.activeElement==Module["canvas"];if(!res){res=event.target==Module["canvas"]}if(event.target.focus)event.target.focus();return res},onKeyPress:function(event){if(!GLFW.isCanvasActive(event)){return}if(event.charCode){var char=GLFW.getUnicodeChar(event.charCode);if(char!==null&&GLFW.charFunc){wasmTable.get(GLFW.charFunc)(event.charCode,1)}}},onKeyChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}var key=GLFW.DOMToGLFWKeyCode(event.keyCode,event.code);if(key){GLFW.keys[key]=status;if(GLFW.keyFunc){wasmTable.get(GLFW.keyFunc)(key,status)}}},onKeydown:function(event){if(!GLFW.isCanvasActive(event)){return}switch(event.keyCode){case 37:case 38:case 39:case 40:case 32:event.preventDefault();event.stopPropagation();default:break}GLFW.onKeyChanged(event,1);if(event.keyCode===32){if(GLFW.charFunc){wasmTable.get(GLFW.charFunc)(32,1);event.preventDefault()}}else if(event.keyCode===8||event.keyCode===9||event.keyCode===13){event.preventDefault()}},onKeyup:function(event){if(!GLFW.isCanvasActive(event)){return}GLFW.onKeyChanged(event,0)},onMousemove:function(event){var lastX=Browser.mouseX;var lastY=Browser.mouseY;Browser.calculateMouseEvent(event);var newX=Browser.mouseX;var newY=Browser.mouseY;if(event.target==Module["canvas"]&&GLFW.mousePosFunc){event.preventDefault();wasmTable.get(GLFW.mousePosFunc)(lastX,lastY)}},onMouseButtonChanged:function(event,status){if(!GLFW.isCanvasActive(event)){return}if(GLFW.mouseButtonFunc==null){return}Browser.calculateMouseEvent(event);if(event.target!=Module["canvas"]){return}if(status==1){try{event.target.setCapture()}catch(e){}}event.preventDefault();var eventButton=GLFW.DOMtoGLFWButton(event["button"]);wasmTable.get(GLFW.mouseButtonFunc)(eventButton,status)},fillTouch:function(id,x,y,phase){if(GLFW.touchFunc){wasmTable.get(GLFW.touchFunc)(id,x,y,phase)}},touchWasFinished:function(event,phase){if(!GLFW.isCanvasActive(event)){return}for(var i=0;i0}function _glfwGetMouseLocked(){return GLFW.isPointerLocked?1:0}function _glfwGetMousePos(xpos,ypos){setValue(xpos,Browser.mouseX,"i32");setValue(ypos,Browser.mouseY,"i32")}function _glfwGetMouseWheel(){return GLFW.wheelPos}function _glfwGetProcAddress(procname){return _getProcAddress(procname)}function _glfwGetWindowParam(param){return GLFW.params[param]}function _glfwGetWindowRefreshRate(){return 0}function _glfwGetWindowSize(width,height){setValue(width,Module["canvas"].width,"i32");setValue(height,Module["canvas"].height,"i32")}function _glfwIconifyWindow(){}function _glfwInitJS(){GLFW.initTime=Date.now()/1e3;GLFW.addEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.addEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.addEventListener("keydown",GLFW.onKeydown,true);GLFW.addEventListener("keypress",GLFW.onKeyPress,true);GLFW.addEventListener("keyup",GLFW.onKeyup,true);GLFW.addEventListener("mousemove",GLFW.onMousemove,true);GLFW.addEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.addEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.addEventListener("DOMMouseScroll",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.addEventListener("mousewheel",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.addEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.addEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.addEventListenerCanvas("touchcancel",GLFW.onTouchCancel,true);GLFW.addEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.addEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.addEventListenerCanvas("blur",GLFW.onBlur,true);__ATEXIT__.push({func:function(){GLFW.removeEventListener("gamepadconnected",GLFW.onJoystickConnected,true);GLFW.removeEventListener("gamepaddisconnected",GLFW.onJoystickDisconnected,true);GLFW.removeEventListener("keydown",GLFW.onKeydown,true);GLFW.removeEventListener("keypress",GLFW.onKeyPress,true);GLFW.removeEventListener("keyup",GLFW.onKeyup,true);GLFW.removeEventListener("mousemove",GLFW.onMousemove,true);GLFW.removeEventListener("mousedown",GLFW.onMouseButtonDown,true);GLFW.removeEventListener("mouseup",GLFW.onMouseButtonUp,true);GLFW.removeEventListener("DOMMouseScroll",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.removeEventListener("mousewheel",GLFW.onMouseWheel,{capture:true,passive:false});GLFW.removeEventListenerCanvas("touchstart",GLFW.onTouchStart,true);GLFW.removeEventListenerCanvas("touchend",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchcancel",GLFW.onTouchEnd,true);GLFW.removeEventListenerCanvas("touchmove",GLFW.onTouchMove,true);GLFW.removeEventListenerCanvas("focus",GLFW.onFocus,true);GLFW.removeEventListenerCanvas("blur",GLFW.onBlur,true);var canvas=Module["canvas"];if(typeof canvas!=="undefined"){Module["canvas"].width=Module["canvas"].height=1}}});GLFW.params=new Array;GLFW.params[196609]=true;GLFW.params[196610]=false;GLFW.params[196611]=true;GLFW.params[196612]=false;GLFW.params[196613]=false;GLFW.params[196614]=true;GLFW.params[131073]=true;GLFW.params[131074]=true;GLFW.params[131075]=false;GLFW.params[131076]=true;GLFW.params[131077]=0;GLFW.params[131078]=0;GLFW.params[131079]=0;GLFW.params[131080]=0;GLFW.params[131081]=0;GLFW.params[131082]=0;GLFW.params[131083]=0;GLFW.params[131084]=0;GLFW.params[131085]=0;GLFW.params[131086]=0;GLFW.params[131087]=0;GLFW.params[131088]=0;GLFW.params[131089]=0;GLFW.params[131090]=0;GLFW.params[131091]=0;GLFW.params[131092]=0;GLFW.params[131093]=0;GLFW.params[131094]=0;GLFW.params[131095]=0;GLFW.params[131096]=0;GLFW.params[327681]=0;GLFW.params[327682]=1;GLFW.params[327683]=2;GLFW.params[131097]=0;GLFW.keys=new Array;GLFW.GLFW_PHASE_BEGAN=0;GLFW.GLFW_PHASE_MOVED=1;GLFW.GLFW_PHASE_ENDED=3;GLFW.GLFW_PHASE_CANCELLED=4;return 1}function _glfwOpenWindow(width,height,redbits,greenbits,bluebits,alphabits,depthbits,stencilbits,mode){if(width==0&&height>0){width=4*height/3}if(width>0&&height==0){height=3*width/4}GLFW.params[131077]=redbits;GLFW.params[131078]=greenbits;GLFW.params[131079]=bluebits;GLFW.params[131080]=alphabits;GLFW.params[131081]=depthbits;GLFW.params[131082]=stencilbits;if(mode==65537){GLFW.initWindowWidth=width;GLFW.initWindowHeight=height;GLFW.params[196611]=true}else if(mode==65538){GLFW.requestFullScreen();GLFW.params[196611]=false}else{throw"Invalid glfwOpenWindow mode."}var contextAttributes={antialias:GLFW.params[131091]>1,depth:GLFW.params[131081]>0,stencil:GLFW.params[131082]>0};var iOSVersion=false;try{iOSVersion=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||false}catch(e){}if(iOSVersion&&iOSVersion<15.2){contextAttributes.majorVersion=1}Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes);if(Module.ctx==null){contextAttributes.majorVersion=1;Module.ctx=Browser.createContext(Module["canvas"],true,true,contextAttributes)}return 1}function _glfwOpenWindowHint(target,hint){GLFW.params[target]=hint;if(target==131097){if(hint!=0){GLFW.dpi=window.devicePixelRatio||1}}}function _glfwPollEvents(){}function _glfwResetKeyboard(){}function _glfwSetCharCallback(cbfun){GLFW.charFunc=cbfun;return 1}function _glfwSetDeviceChangedCallback(cbfun){return 1}function _glfwSetGamepadCallback(cbfun){GLFW.gamepadFunc=cbfun;GLFW.refreshJoysticks();return 1}function _glfwSetMarkedTextCallback(cbfun){GLFW.markedTextFunc=cbfun;return 1}function _glfwSetTouchCallback(cbfun){GLFW.touchFunc=cbfun;return 1}function _glfwSetWindowBackgroundColor(){}function _glfwSetWindowCloseCallback(cbfun){GLFW.closeFunc=cbfun}function _glfwSetWindowFocusCallback(cbfun){GLFW.focusFunc=cbfun}function _glfwSetWindowIconifyCallback(cbfun){GLFW.iconifyFunc=cbfun}function _glfwSetWindowSize(width,height){Browser.setCanvasSize(width,height);if(GLFW.resizeFunc){wasmTable.get(GLFW.resizeFunc)(width,height)}}function _glfwSetWindowSizeCallback(cbfun){GLFW.resizeFunc=cbfun}function _glfwShowKeyboard(show_keyboard){Module["canvas"].contentEditable=show_keyboard?true:false;if(show_keyboard){Module["canvas"].focus()}}function _glfwSwapBuffers(){var width=Module["canvas"].width;var height=Module["canvas"].height;if(GLFW.prevWidth!=width||GLFW.prevHeight!=height){if(GLFW.isFullscreen){width=Math.floor(window.innerWidth*GLFW.dpi);height=Math.floor(window.innerHeight*GLFW.dpi)}else{width=Math.floor(width*GLFW.dpi);height=Math.floor(height*GLFW.dpi)}GLFW.prevWidth=width;GLFW.prevHeight=height;_glfwSetWindowSize(width,height)}}function _glfwSwapInterval(interval){}function _glfwTerminate(){}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _pthread_create(){return 6}function _pthread_join(){return 28}function _setTempRet0($i){setTempRet0($i|0)}var __sigalrm_handler=0;function _signal(sig,func){if(sig==14){__sigalrm_handler=func}else{}return 0}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 janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=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"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2147483648;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _system(command){if(ENVIRONMENT_IS_NODE){if(!command)return 1;var cmdstr=UTF8ToString(command);if(!cmdstr.length)return 0;var cp=require("child_process");var ret=cp.spawnSync(cmdstr,[],{shell:true,stdio:"inherit"});var _W_EXITCODE=function(ret,sig){return ret<<8|sig};if(ret.status===null){var signalToNumber=function(sig){switch(sig){case"SIGHUP":return 1;case"SIGINT":return 2;case"SIGQUIT":return 3;case"SIGFPE":return 8;case"SIGKILL":return 9;case"SIGALRM":return 14;case"SIGTERM":return 15}return 2};return _W_EXITCODE(0,signalToNumber(ret.signal))}return _W_EXITCODE(ret.status,0)}if(!command)return 0;setErrNo(6);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){var double=ch<105;if(double&&buf&1)buf++;readAsmConstArgsArray.push(double?HEAPF64[buf++>>1]:HEAP32[buf]);++buf}return readAsmConstArgsArray}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var GLctx;for(var i=0;i<32;++i)tempFixedLengthArray.push(new Array(i));var miniTempWebGLFloatBuffersStorage=new Float32Array(288);for(var i=0;i<288;++i){miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i+1)}var __miniTempWebGLIntBuffersStorage=new Int32Array(288);for(var i=0;i<288;++i){__miniTempWebGLIntBuffers[i]=__miniTempWebGLIntBuffersStorage.subarray(0,i+1)}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}__ATINIT__.push({func:function(){___wasm_call_ctors()}});var asmLibraryArg={"b":___assert_fail,"Nh":___clock_gettime,"Mh":___gmtime_r,"Lh":___localtime_r,"Jh":___sys__newselect,"Ah":___sys_dup2,"Fh":___sys_dup3,"j":___sys_fcntl64,"Bh":___sys_ioctl,"Gh":___sys_lstat64,"Dh":___sys_mkdir,"ca":___sys_open,"Ih":___sys_poll,"Eh":___sys_rename,"Ch":___sys_rmdir,"k":___sys_socketcall,"Hh":___sys_stat64,"Kh":___sys_uname,"da":___sys_unlink,"Q":_abort,"xh":_clock,"wh":_difftime,"vh":_dmDeviceJSFreeBufferSlots,"uh":_dmDeviceJSOpen,"th":_dmDeviceJSQueue,"sh":_dmGetDeviceSampleRate,"rh":_dmScriptHttpRequestAsync,"qh":_dmSysGetApplicationPath,"ph":_dmSysGetUserAgent,"oh":_dmSysGetUserPersistentDataRoot,"nh":_dmSysGetUserPreferredLanguage,"mh":_dmSysOpenURL,"P":_emscripten_asm_const_int,"lh":_emscripten_cancel_main_loop,"kh":_emscripten_glActiveTexture,"jh":_emscripten_glAttachShader,"ih":_emscripten_glBeginQuery,"hh":_emscripten_glBeginQueryEXT,"gh":_emscripten_glBeginTransformFeedback,"fh":_emscripten_glBindAttribLocation,"eh":_emscripten_glBindBuffer,"dh":_emscripten_glBindBufferBase,"ch":_emscripten_glBindBufferRange,"bh":_emscripten_glBindFramebuffer,"ah":_emscripten_glBindRenderbuffer,"$g":_emscripten_glBindSampler,"_g":_emscripten_glBindTexture,"Zg":_emscripten_glBindTransformFeedback,"Yg":_emscripten_glBindVertexArray,"Xg":_emscripten_glBindVertexArrayOES,"Wg":_emscripten_glBlendColor,"Vg":_emscripten_glBlendEquation,"Ug":_emscripten_glBlendEquationSeparate,"Tg":_emscripten_glBlendFunc,"Sg":_emscripten_glBlendFuncSeparate,"Rg":_emscripten_glBlitFramebuffer,"Qg":_emscripten_glBufferData,"Pg":_emscripten_glBufferSubData,"Og":_emscripten_glCheckFramebufferStatus,"Ng":_emscripten_glClear,"Mg":_emscripten_glClearBufferfi,"Lg":_emscripten_glClearBufferfv,"Kg":_emscripten_glClearBufferiv,"Jg":_emscripten_glClearBufferuiv,"Ig":_emscripten_glClearColor,"Hg":_emscripten_glClearDepthf,"Gg":_emscripten_glClearStencil,"Fg":_emscripten_glClientWaitSync,"Eg":_emscripten_glColorMask,"Dg":_emscripten_glCompileShader,"Cg":_emscripten_glCompressedTexImage2D,"Bg":_emscripten_glCompressedTexImage3D,"Ag":_emscripten_glCompressedTexSubImage2D,"zg":_emscripten_glCompressedTexSubImage3D,"yg":_emscripten_glCopyBufferSubData,"xg":_emscripten_glCopyTexImage2D,"wg":_emscripten_glCopyTexSubImage2D,"vg":_emscripten_glCopyTexSubImage3D,"ug":_emscripten_glCreateProgram,"tg":_emscripten_glCreateShader,"sg":_emscripten_glCullFace,"rg":_emscripten_glDeleteBuffers,"qg":_emscripten_glDeleteFramebuffers,"pg":_emscripten_glDeleteProgram,"og":_emscripten_glDeleteQueries,"ng":_emscripten_glDeleteQueriesEXT,"mg":_emscripten_glDeleteRenderbuffers,"lg":_emscripten_glDeleteSamplers,"kg":_emscripten_glDeleteShader,"jg":_emscripten_glDeleteSync,"ig":_emscripten_glDeleteTextures,"hg":_emscripten_glDeleteTransformFeedbacks,"gg":_emscripten_glDeleteVertexArrays,"fg":_emscripten_glDeleteVertexArraysOES,"eg":_emscripten_glDepthFunc,"dg":_emscripten_glDepthMask,"cg":_emscripten_glDepthRangef,"bg":_emscripten_glDetachShader,"ag":_emscripten_glDisable,"$f":_emscripten_glDisableVertexAttribArray,"_f":_emscripten_glDrawArrays,"Zf":_emscripten_glDrawArraysInstanced,"Yf":_emscripten_glDrawArraysInstancedANGLE,"Xf":_emscripten_glDrawArraysInstancedARB,"Wf":_emscripten_glDrawArraysInstancedEXT,"Vf":_emscripten_glDrawArraysInstancedNV,"Uf":_emscripten_glDrawBuffers,"Tf":_emscripten_glDrawBuffersEXT,"Sf":_emscripten_glDrawBuffersWEBGL,"Rf":_emscripten_glDrawElements,"Qf":_emscripten_glDrawElementsInstanced,"Pf":_emscripten_glDrawElementsInstancedANGLE,"Of":_emscripten_glDrawElementsInstancedARB,"Nf":_emscripten_glDrawElementsInstancedEXT,"Mf":_emscripten_glDrawElementsInstancedNV,"Lf":_emscripten_glDrawRangeElements,"Kf":_emscripten_glEnable,"Jf":_emscripten_glEnableVertexAttribArray,"If":_emscripten_glEndQuery,"Hf":_emscripten_glEndQueryEXT,"Gf":_emscripten_glEndTransformFeedback,"Ff":_emscripten_glFenceSync,"Ef":_emscripten_glFinish,"Df":_emscripten_glFlush,"Cf":_emscripten_glFramebufferRenderbuffer,"Bf":_emscripten_glFramebufferTexture2D,"Af":_emscripten_glFramebufferTextureLayer,"zf":_emscripten_glFrontFace,"yf":_emscripten_glGenBuffers,"xf":_emscripten_glGenFramebuffers,"wf":_emscripten_glGenQueries,"vf":_emscripten_glGenQueriesEXT,"uf":_emscripten_glGenRenderbuffers,"tf":_emscripten_glGenSamplers,"sf":_emscripten_glGenTextures,"rf":_emscripten_glGenTransformFeedbacks,"qf":_emscripten_glGenVertexArrays,"pf":_emscripten_glGenVertexArraysOES,"of":_emscripten_glGenerateMipmap,"nf":_emscripten_glGetActiveAttrib,"mf":_emscripten_glGetActiveUniform,"lf":_emscripten_glGetActiveUniformBlockName,"kf":_emscripten_glGetActiveUniformBlockiv,"jf":_emscripten_glGetActiveUniformsiv,"hf":_emscripten_glGetAttachedShaders,"gf":_emscripten_glGetAttribLocation,"ff":_emscripten_glGetBooleanv,"ef":_emscripten_glGetBufferParameteri64v,"df":_emscripten_glGetBufferParameteriv,"cf":_emscripten_glGetError,"bf":_emscripten_glGetFloatv,"af":_emscripten_glGetFragDataLocation,"$e":_emscripten_glGetFramebufferAttachmentParameteriv,"_e":_emscripten_glGetInteger64i_v,"Ze":_emscripten_glGetInteger64v,"Ye":_emscripten_glGetIntegeri_v,"Xe":_emscripten_glGetIntegerv,"We":_emscripten_glGetInternalformativ,"Ve":_emscripten_glGetProgramBinary,"Ue":_emscripten_glGetProgramInfoLog,"Te":_emscripten_glGetProgramiv,"Se":_emscripten_glGetQueryObjecti64vEXT,"Re":_emscripten_glGetQueryObjectivEXT,"Qe":_emscripten_glGetQueryObjectui64vEXT,"Pe":_emscripten_glGetQueryObjectuiv,"Oe":_emscripten_glGetQueryObjectuivEXT,"Ne":_emscripten_glGetQueryiv,"Me":_emscripten_glGetQueryivEXT,"Le":_emscripten_glGetRenderbufferParameteriv,"Ke":_emscripten_glGetSamplerParameterfv,"Je":_emscripten_glGetSamplerParameteriv,"Ie":_emscripten_glGetShaderInfoLog,"He":_emscripten_glGetShaderPrecisionFormat,"Ge":_emscripten_glGetShaderSource,"Fe":_emscripten_glGetShaderiv,"Ee":_emscripten_glGetString,"De":_emscripten_glGetStringi,"Ce":_emscripten_glGetSynciv,"Be":_emscripten_glGetTexParameterfv,"Ae":_emscripten_glGetTexParameteriv,"ze":_emscripten_glGetTransformFeedbackVarying,"ye":_emscripten_glGetUniformBlockIndex,"xe":_emscripten_glGetUniformIndices,"we":_emscripten_glGetUniformLocation,"ve":_emscripten_glGetUniformfv,"ue":_emscripten_glGetUniformiv,"te":_emscripten_glGetUniformuiv,"se":_emscripten_glGetVertexAttribIiv,"re":_emscripten_glGetVertexAttribIuiv,"qe":_emscripten_glGetVertexAttribPointerv,"pe":_emscripten_glGetVertexAttribfv,"oe":_emscripten_glGetVertexAttribiv,"ne":_emscripten_glHint,"me":_emscripten_glInvalidateFramebuffer,"le":_emscripten_glInvalidateSubFramebuffer,"ke":_emscripten_glIsBuffer,"je":_emscripten_glIsEnabled,"ie":_emscripten_glIsFramebuffer,"he":_emscripten_glIsProgram,"ge":_emscripten_glIsQuery,"fe":_emscripten_glIsQueryEXT,"ee":_emscripten_glIsRenderbuffer,"de":_emscripten_glIsSampler,"ce":_emscripten_glIsShader,"be":_emscripten_glIsSync,"ae":_emscripten_glIsTexture,"$d":_emscripten_glIsTransformFeedback,"_d":_emscripten_glIsVertexArray,"Zd":_emscripten_glIsVertexArrayOES,"Yd":_emscripten_glLineWidth,"Xd":_emscripten_glLinkProgram,"Wd":_emscripten_glPauseTransformFeedback,"Vd":_emscripten_glPixelStorei,"Ud":_emscripten_glPolygonOffset,"Td":_emscripten_glProgramBinary,"Sd":_emscripten_glProgramParameteri,"Rd":_emscripten_glQueryCounterEXT,"Qd":_emscripten_glReadBuffer,"Pd":_emscripten_glReadPixels,"Od":_emscripten_glReleaseShaderCompiler,"Nd":_emscripten_glRenderbufferStorage,"Md":_emscripten_glRenderbufferStorageMultisample,"Ld":_emscripten_glResumeTransformFeedback,"Kd":_emscripten_glSampleCoverage,"Jd":_emscripten_glSamplerParameterf,"Id":_emscripten_glSamplerParameterfv,"Hd":_emscripten_glSamplerParameteri,"Gd":_emscripten_glSamplerParameteriv,"Fd":_emscripten_glScissor,"Ed":_emscripten_glShaderBinary,"Dd":_emscripten_glShaderSource,"Cd":_emscripten_glStencilFunc,"Bd":_emscripten_glStencilFuncSeparate,"Ad":_emscripten_glStencilMask,"zd":_emscripten_glStencilMaskSeparate,"yd":_emscripten_glStencilOp,"xd":_emscripten_glStencilOpSeparate,"wd":_emscripten_glTexImage2D,"vd":_emscripten_glTexImage3D,"ud":_emscripten_glTexParameterf,"td":_emscripten_glTexParameterfv,"sd":_emscripten_glTexParameteri,"rd":_emscripten_glTexParameteriv,"qd":_emscripten_glTexStorage2D,"pd":_emscripten_glTexStorage3D,"od":_emscripten_glTexSubImage2D,"nd":_emscripten_glTexSubImage3D,"md":_emscripten_glTransformFeedbackVaryings,"ld":_emscripten_glUniform1f,"kd":_emscripten_glUniform1fv,"jd":_emscripten_glUniform1i,"id":_emscripten_glUniform1iv,"hd":_emscripten_glUniform1ui,"gd":_emscripten_glUniform1uiv,"fd":_emscripten_glUniform2f,"ed":_emscripten_glUniform2fv,"dd":_emscripten_glUniform2i,"cd":_emscripten_glUniform2iv,"bd":_emscripten_glUniform2ui,"ad":_emscripten_glUniform2uiv,"$c":_emscripten_glUniform3f,"_c":_emscripten_glUniform3fv,"Zc":_emscripten_glUniform3i,"Yc":_emscripten_glUniform3iv,"Xc":_emscripten_glUniform3ui,"Wc":_emscripten_glUniform3uiv,"Vc":_emscripten_glUniform4f,"Uc":_emscripten_glUniform4fv,"Tc":_emscripten_glUniform4i,"Sc":_emscripten_glUniform4iv,"Rc":_emscripten_glUniform4ui,"Qc":_emscripten_glUniform4uiv,"Pc":_emscripten_glUniformBlockBinding,"Oc":_emscripten_glUniformMatrix2fv,"Nc":_emscripten_glUniformMatrix2x3fv,"Mc":_emscripten_glUniformMatrix2x4fv,"Lc":_emscripten_glUniformMatrix3fv,"Kc":_emscripten_glUniformMatrix3x2fv,"Jc":_emscripten_glUniformMatrix3x4fv,"Ic":_emscripten_glUniformMatrix4fv,"Hc":_emscripten_glUniformMatrix4x2fv,"Gc":_emscripten_glUniformMatrix4x3fv,"Fc":_emscripten_glUseProgram,"Ec":_emscripten_glValidateProgram,"Dc":_emscripten_glVertexAttrib1f,"Cc":_emscripten_glVertexAttrib1fv,"Bc":_emscripten_glVertexAttrib2f,"Ac":_emscripten_glVertexAttrib2fv,"zc":_emscripten_glVertexAttrib3f,"yc":_emscripten_glVertexAttrib3fv,"xc":_emscripten_glVertexAttrib4f,"wc":_emscripten_glVertexAttrib4fv,"vc":_emscripten_glVertexAttribDivisor,"uc":_emscripten_glVertexAttribDivisorANGLE,"tc":_emscripten_glVertexAttribDivisorARB,"sc":_emscripten_glVertexAttribDivisorEXT,"rc":_emscripten_glVertexAttribDivisorNV,"qc":_emscripten_glVertexAttribI4i,"pc":_emscripten_glVertexAttribI4iv,"oc":_emscripten_glVertexAttribI4ui,"nc":_emscripten_glVertexAttribI4uiv,"mc":_emscripten_glVertexAttribIPointer,"lc":_emscripten_glVertexAttribPointer,"kc":_emscripten_glViewport,"jc":_emscripten_glWaitSync,"g":_emscripten_longjmp,"ic":_emscripten_memcpy_big,"hc":_emscripten_pause_main_loop,"gc":_emscripten_resize_heap,"aa":_emscripten_set_main_loop_arg,"fc":_emscripten_thread_sleep,"f":_emscripten_webgl_enable_extension,"ec":_emscripten_webgl_get_current_context,"zh":_environ_get,"yh":_environ_sizes_get,"$":_exit,"C":_fd_close,"wa":_fd_read,"Fa":_fd_seek,"ba":_fd_write,"B":_gai_strerror,"e":_getTempRet0,"y":_getaddrinfo,"dc":_gethostbyaddr,"cc":_gethostbyname,"x":_getnameinfo,"r":_gettimeofday,"va":_glActiveTexture,"O":_glAttachShader,"i":_glBindBuffer,"_":_glBindFramebuffer,"A":_glBindRenderbuffer,"N":_glBindTexture,"bc":_glBlendFunc,"ua":_glBufferData,"ta":_glBufferSubData,"Z":_glCheckFramebufferStatus,"ac":_glClear,"$b":_glClearColor,"_b":_glClearDepthf,"Zb":_glClearStencil,"Yb":_glColorMask,"M":_glCompileShader,"q":_glCompressedTexImage2D,"Xb":_glCompressedTexImage3D,"p":_glCompressedTexSubImage2D,"Wb":_glCompressedTexSubImage3D,"sa":_glCreateProgram,"Y":_glCreateShader,"Vb":_glCullFace,"ra":_glDeleteBuffers,"Ub":_glDeleteFramebuffers,"L":_glDeleteProgram,"X":_glDeleteRenderbuffers,"K":_glDeleteShader,"Tb":_glDeleteTextures,"Sb":_glDepthFunc,"Rb":_glDepthMask,"Qb":_glDisable,"Pb":_glDisableVertexAttribArray,"Ob":_glDrawArrays,"Nb":_glDrawBuffers,"Mb":_glDrawElements,"Lb":_glEnable,"qa":_glEnableVertexAttribArray,"Kb":_glFlush,"W":_glFramebufferRenderbuffer,"Jb":_glFramebufferTexture2D,"Ib":_glFrontFace,"pa":_glGenBuffers,"Hb":_glGenFramebuffers,"J":_glGenRenderbuffers,"Gb":_glGenTextures,"Fb":_glGetActiveAttrib,"Eb":_glGetActiveUniform,"Db":_glGetAttribLocation,"c":_glGetError,"Cb":_glGetFloatv,"z":_glGetIntegerv,"oa":_glGetProgramInfoLog,"w":_glGetProgramiv,"na":_glGetShaderInfoLog,"I":_glGetShaderiv,"m":_glGetString,"Bb":_glGetUniformLocation,"V":_glLinkProgram,"ma":_glPixelStorei,"Ab":_glPolygonOffset,"zb":_glReadPixels,"U":_glRenderbufferStorage,"yb":_glScissor,"H":_glShaderSource,"xb":_glStencilFunc,"wb":_glStencilFuncSeparate,"vb":_glStencilMask,"ub":_glStencilOp,"tb":_glStencilOpSeparate,"o":_glTexImage2D,"sb":_glTexImage3D,"rb":_glTexParameterf,"G":_glTexParameteri,"n":_glTexSubImage2D,"qb":_glTexSubImage3D,"pb":_glUniform1i,"ob":_glUniform4fv,"nb":_glUniformMatrix4fv,"la":_glUseProgram,"ka":_glVertexAttribPointer,"mb":_glViewport,"lb":_glfwAccelerometerEnable,"kb":_glfwCloseWindow,"jb":_glfwDisable,"ib":_glfwEnable,"hb":_glfwGetAcceleration,"ja":_glfwGetDefaultFramebuffer,"gb":_glfwGetDisplayScaleFactor,"fb":_glfwGetJoystickButtons,"eb":_glfwGetJoystickDeviceId,"db":_glfwGetJoystickHats,"F":_glfwGetJoystickParam,"cb":_glfwGetJoystickPos,"bb":_glfwGetKey,"l":_glfwGetMouseButton,"ab":_glfwGetMouseLocked,"$a":_glfwGetMousePos,"_a":_glfwGetMouseWheel,"T":_glfwGetProcAddress,"Za":_glfwGetWindowParam,"Ya":_glfwGetWindowRefreshRate,"ia":_glfwGetWindowSize,"Xa":_glfwIconifyWindow,"Wa":_glfwInitJS,"Va":_glfwOpenWindow,"S":_glfwOpenWindowHint,"Ua":_glfwPollEvents,"Ta":_glfwResetKeyboard,"Sa":_glfwSetCharCallback,"Ra":_glfwSetDeviceChangedCallback,"Qa":_glfwSetGamepadCallback,"Pa":_glfwSetMarkedTextCallback,"Oa":_glfwSetTouchCallback,"Na":_glfwSetWindowBackgroundColor,"Ma":_glfwSetWindowCloseCallback,"La":_glfwSetWindowFocusCallback,"Ka":_glfwSetWindowIconifyCallback,"ha":_glfwSetWindowSize,"Ja":_glfwSetWindowSizeCallback,"ga":_glfwShowKeyboard,"Ia":_glfwSwapBuffers,"fa":_glfwSwapInterval,"Ha":_glfwTerminate,"Ga":_gmtime_r,"v":invoke_ii,"E":invoke_iii,"R":invoke_iiii,"Ea":invoke_jii,"u":invoke_vi,"D":invoke_vii,"ea":invoke_viii,"h":invoke_viiii,"t":invoke_viiiii,"a":wasmMemory,"Da":_mktime,"Ca":_pthread_create,"Ba":_pthread_join,"d":_setTempRet0,"Aa":_signal,"za":_strftime,"ya":_sysconf,"xa":_system,"s":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["Ph"]).apply(null,arguments)};var _dmExportedSymbols=Module["_dmExportedSymbols"]=function(){return(_dmExportedSymbols=Module["_dmExportedSymbols"]=Module["asm"]["Qh"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["Rh"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Sh"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Th"]).apply(null,arguments)};var _htonl=Module["_htonl"]=function(){return(_htonl=Module["_htonl"]=Module["asm"]["Uh"]).apply(null,arguments)};var _dmScript_Html5ReportOperationSuccess=Module["_dmScript_Html5ReportOperationSuccess"]=function(){return(_dmScript_Html5ReportOperationSuccess=Module["_dmScript_Html5ReportOperationSuccess"]=Module["asm"]["Vh"]).apply(null,arguments)};var _dmScript_RunInteractionCallback=Module["_dmScript_RunInteractionCallback"]=function(){return(_dmScript_RunInteractionCallback=Module["_dmScript_RunInteractionCallback"]=Module["asm"]["Wh"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["Xh"]).apply(null,arguments)};var _htons=Module["_htons"]=function(){return(_htons=Module["_htons"]=Module["asm"]["Yh"]).apply(null,arguments)};var _ntohs=Module["_ntohs"]=function(){return(_ntohs=Module["_ntohs"]=Module["asm"]["Zh"]).apply(null,arguments)};var _JSWriteDump=Module["_JSWriteDump"]=function(){return(_JSWriteDump=Module["_JSWriteDump"]=Module["asm"]["_h"]).apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return(__get_tzname=Module["__get_tzname"]=Module["asm"]["$h"]).apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return(__get_daylight=Module["__get_daylight"]=Module["asm"]["ai"]).apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return(__get_timezone=Module["__get_timezone"]=Module["asm"]["bi"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ci"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["di"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["ei"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["fi"]).apply(null,arguments)};var dynCall_jii=Module["dynCall_jii"]=function(){return(dynCall_jii=Module["dynCall_jii"]=Module["asm"]["gi"]).apply(null,arguments)};function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jii(index,a1,a2){var sp=stackSave();try{return dynCall_jii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}Module["ccall"]=ccall;Module["UTF8ToString"]=UTF8ToString;Module["stringToUTF8"]=stringToUTF8;Module["stackTrace"]=stackTrace;Module["writeStringToMemory"]=writeStringToMemory;Module["writeArrayToMemory"]=writeArrayToMemory;Module["callMain"]=callMain;Module["stackTrace"]=stackTrace;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(shouldRunNow)callMain(args);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){if(implicit&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run(); diff --git a/docs/druid/index.html b/docs/druid/index.html index b2ac38d0..2313ffd5 100644 --- a/docs/druid/index.html +++ b/docs/druid/index.html @@ -7,7 +7,7 @@ - druid 0.10.603 + druid 0.11.694

>>0|j>>>0>>0;d=h+A|0;j=e;j=d>>>0>>0?j+1|0:j;e=(r|0)!=0|(u|0)!=0;d=e+d|0;k=d>>>0>>0?j+1|0:j;h=d;s=0-d|0;A=0;t=jwa(s,A,i,C);d=ii;w=d;e=t;p=d;A=jwa(x,l,s,A);d=ii;v=d;B=0-(((h|0)!=0)+k|0)|0;s=0;k=jwa(i,C,B,s);h=k+A|0;j=ii+d|0;j=h>>>0>>0?j+1|0:j;d=j;k=h+p|0;e=0+e|0;p=e;j=e;k=j>>>0>>0?k+1|0:k;e=k;k=(w|0)==(k|0)&j>>>0>>0|k>>>0>>0;j=(d|0)==(v|0)&h>>>0>>0|d>>>0>>0;h=d;d=jwa(x,l,B,s)+d|0;j=j+ii|0;j=d>>>0>>0?j+1|0:j;h=d;d=k+d|0;v=d;h=d>>>0>>0?j+1|0:j;d=0-r|0;B=0-(((r|0)!=0)+u|0)|0;r=0;A=jwa(B,r,i,C);w=ii;u=d;k=jwa(d,0,x,l);d=k+A|0;j=ii+w|0;j=d>>>0>>0?j+1|0:j;k=d;d=j;C=jwa(i,C,u,K);u=0+C|0;j=k+ii|0;j=u>>>0>>0?j+1|0:j;u=(k|0)==(j|0)&u>>>0>>0|k>>>0>j>>>0;i=(d|0)==(w|0)&k>>>0>>0|d>>>0>>0;k=d;d=jwa(x,l,B,r)+k|0;j=i+ii|0;j=d>>>0>>0?j+1|0:j;i=d;d=d+u|0;k=d>>>0>>0?j+1|0:j;i=d;d=d+p|0;j=k+e|0;j=d>>>0>>0?j+1|0:j;i=d;k=d;d=j;k=(e|0)==(j|0)&k>>>0